vue-data-ui 3.15.12 → 3.16.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 (218) hide show
  1. package/README.md +132 -59
  2. package/dist/A11yDataTable-KcVAX2cP.js +54 -0
  3. package/dist/{Arrow-DlPyR6HQ.js → Arrow-Bn-9n3bm.js} +1 -1
  4. package/dist/{BaseDraggableDialog-DSpKTn3R.js → BaseDraggableDialog-CIb-iD9g.js} +2 -2
  5. package/dist/{BaseIcon-CNx8Tzl5.js → BaseIcon-Cb3zzG6s.js} +1 -1
  6. package/dist/{BaseLegendToggle-Y61xahI4.js → BaseLegendToggle-BQVIawmA.js} +1 -1
  7. package/dist/{BaseZoomControls-CoFievy9.js → BaseZoomControls-DievbOeJ.js} +2 -2
  8. package/dist/ColorPicker-B0mV4xzu.js +255 -0
  9. package/dist/{DataTable-Bo1pmAqG.js → DataTable-DT2kIdQ6.js} +2 -2
  10. package/dist/Legend-CS7Xo5LK.js +101 -0
  11. package/dist/{NonSvgPenAndPaper-CGk_xThe.js → NonSvgPenAndPaper-VyJFyJ6X.js} +3 -3
  12. package/dist/{PackageVersion-DN9d0ME5.js → PackageVersion-DPO-OOVI.js} +1 -1
  13. package/dist/{PenAndPaper-DWV1FMIi.js → PenAndPaper-Ct3qJ4lA.js} +109 -101
  14. package/dist/{Shape-CSyWYgXc.js → Shape-BKRUOeKk.js} +1 -1
  15. package/dist/{Slicer-DZJA9IG-.js → Slicer-DUycDH_N.js} +2 -2
  16. package/dist/{SlicerPreview-I2J0UUF_.js → SlicerPreview-DTjwV0iY.js} +2 -2
  17. package/dist/{SparkTooltip-BiseJed3.js → SparkTooltip-BorBpltj.js} +1 -1
  18. package/dist/{Title-BfyrP-jp.js → Title-BeMKE1cj.js} +1 -1
  19. package/dist/{Tooltip-DL3QgjZf.js → Tooltip-Bf-kM3_A.js} +86 -68
  20. package/dist/{UserOptions-CrLqEimB.js → UserOptions-rW2fRf3V.js} +228 -222
  21. package/dist/components/arrow.js +1 -1
  22. package/dist/components/vue-ui-3d-bar.js +1 -1
  23. package/dist/components/vue-ui-accordion.js +1 -1
  24. package/dist/components/vue-ui-age-pyramid.js +1 -1
  25. package/dist/components/vue-ui-annotator.js +1 -1
  26. package/dist/components/vue-ui-bullet.js +1 -1
  27. package/dist/components/vue-ui-bump.js +1 -1
  28. package/dist/components/vue-ui-candlestick.js +1 -1
  29. package/dist/components/vue-ui-carousel-table.js +1 -1
  30. package/dist/components/vue-ui-chestnut.js +1 -1
  31. package/dist/components/vue-ui-chord.js +1 -1
  32. package/dist/components/vue-ui-circle-pack.js +1 -1
  33. package/dist/components/vue-ui-cursor.js +1 -1
  34. package/dist/components/vue-ui-dag.js +1 -1
  35. package/dist/components/vue-ui-dashboard.js +1 -1
  36. package/dist/components/vue-ui-digits.js +1 -1
  37. package/dist/components/vue-ui-donut-evolution.js +1 -1
  38. package/dist/components/vue-ui-donut.js +1 -1
  39. package/dist/components/vue-ui-dumbbell.js +1 -1
  40. package/dist/components/vue-ui-flow.js +1 -1
  41. package/dist/components/vue-ui-funnel.js +1 -1
  42. package/dist/components/vue-ui-galaxy.js +1 -1
  43. package/dist/components/vue-ui-gauge.js +1 -1
  44. package/dist/components/vue-ui-geo.js +1 -1
  45. package/dist/components/vue-ui-gizmo.js +1 -1
  46. package/dist/components/vue-ui-heatmap.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BAqzNjb1.js → dom-to-png-CtxhhdWb.js} +1 -1
  91. package/dist/{exposedLib-H4lmBl1t.js → exposedLib-DlqmhBx3.js} +1 -1
  92. package/dist/{img-BYYzY_QU.js → img-LXxMLmCg.js} +1 -1
  93. package/dist/{labelUtils-CTXUc3V9.js → labelUtils-CqTHa20R.js} +1 -1
  94. package/dist/{lib-GwPnJSrY.js → lib-DBptbyyI.js} +106 -84
  95. package/dist/{pdf-z-YiJeJQ.js → pdf-B4tTdfvl.js} +1 -1
  96. package/dist/style.css +1 -1
  97. package/dist/types/vue-data-ui.d.ts +59 -0
  98. package/dist/{useAutoSizeLabelsInsideViewbox-80fzdfxt.js → useAutoSizeLabelsInsideViewbox-DX7LdvFX.js} +1 -1
  99. package/dist/{useConfig-CIgyKZ6R.js → useConfig-DO94Aj5s.js} +953 -700
  100. package/dist/{useNestedProp-BBT0mbHh.js → useNestedProp-Bf5XFbs8.js} +1 -1
  101. package/dist/{useObjectBindings-BlXBVtRa.js → useObjectBindings-DQ8g8Jwi.js} +1 -1
  102. package/dist/usePrefersMotion-CUKm8_t8.js +15 -0
  103. package/dist/{usePrinter-DiK5R6k-.js → usePrinter-CEpYU3r5.js} +2 -2
  104. package/dist/utils.js +3 -3
  105. package/dist/{vue-data-ui-C2kPofmi.js → vue-data-ui-DXGkXRnC.js} +68 -68
  106. package/dist/vue-data-ui.js +72 -72
  107. package/dist/vue-ui-3d-bar-BaFpQnd5.js +1597 -0
  108. package/dist/{vue-ui-accordion-BGHTqIBt.js → vue-ui-accordion-nvggWcGN.js} +4 -4
  109. package/dist/vue-ui-age-pyramid-CRM498Pc.js +1069 -0
  110. package/dist/{vue-ui-annotator-B1GWVtPp.js → vue-ui-annotator-CkPi9moo.js} +7 -7
  111. package/dist/{vue-ui-bullet-DPoGGtaG.js → vue-ui-bullet-BBiwof3c.js} +158 -150
  112. package/dist/vue-ui-bump-Brxpu4xV.js +1147 -0
  113. package/dist/vue-ui-candlestick-DAnZv77-.js +1587 -0
  114. package/dist/{vue-ui-carousel-table-CmiHTJ8E.js → vue-ui-carousel-table-BHRZBYY0.js} +168 -160
  115. package/dist/vue-ui-chestnut-CbrYnRgm.js +1812 -0
  116. package/dist/vue-ui-chord-CaX_IUVs.js +1326 -0
  117. package/dist/vue-ui-circle-pack-CR3h53sc.js +988 -0
  118. package/dist/{vue-ui-cursor-B4mHR7QC.js → vue-ui-cursor-Cjfazw7Z.js} +4 -4
  119. package/dist/vue-ui-dag-B9vH3c66.js +3047 -0
  120. package/dist/{vue-ui-dashboard-Bo5FX73U.js → vue-ui-dashboard-DWll05qs.js} +70 -70
  121. package/dist/{vue-ui-digits-mpo2IcM5.js → vue-ui-digits-DcM67rMx.js} +76 -66
  122. package/dist/vue-ui-donut-Be5G38P5.js +2229 -0
  123. package/dist/vue-ui-donut-evolution-BLSesj3c.js +1358 -0
  124. package/dist/vue-ui-dumbbell-DIMiCY4r.js +1380 -0
  125. package/dist/vue-ui-flow-zvZylhgr.js +1202 -0
  126. package/dist/{vue-ui-funnel-BRkaEkBb.js → vue-ui-funnel-CSri-oWm.js} +7 -7
  127. package/dist/vue-ui-galaxy-CGykxsAI.js +1012 -0
  128. package/dist/{vue-ui-gauge-J2VYHsQe.js → vue-ui-gauge-D1MNB9Jq.js} +8 -8
  129. package/dist/vue-ui-geo-DdJDGhG2.js +1437 -0
  130. package/dist/{vue-ui-gizmo-DEec3-v9.js → vue-ui-gizmo-BZYRHGFm.js} +77 -68
  131. package/dist/vue-ui-heatmap-CryOx6XK.js +1500 -0
  132. package/dist/vue-ui-history-plot-C85iw9Kl.js +1449 -0
  133. package/dist/vue-ui-horizontal-bar-BoBZOybC.js +1637 -0
  134. package/dist/vue-ui-kpi-DHrolXw6.js +109 -0
  135. package/dist/{vue-ui-mini-loader-CoOHvZUk.js → vue-ui-mini-loader-Bc3fEQ9j.js} +3 -3
  136. package/dist/{vue-ui-molecule-Chq1qWDK.js → vue-ui-molecule-DJ_BQ4DK.js} +6 -6
  137. package/dist/vue-ui-mood-radar-CBE02TpQ.js +1086 -0
  138. package/dist/vue-ui-nested-donuts-YTFtb4CL.js +1595 -0
  139. package/dist/vue-ui-onion-B9l81-PS.js +1124 -0
  140. package/dist/vue-ui-parallel-coordinate-plot-C1e_rs8J.js +1252 -0
  141. package/dist/vue-ui-quadrant-C1qsLCRn.js +1759 -0
  142. package/dist/vue-ui-quick-chart-DFoz3WiA.js +2216 -0
  143. package/dist/vue-ui-radar-Cmo3p-UA.js +1139 -0
  144. package/dist/{vue-ui-rating-zV58MDQh.js → vue-ui-rating-BAHhYt_A.js} +3 -3
  145. package/dist/vue-ui-relation-circle-BqwznVwf.js +782 -0
  146. package/dist/vue-ui-ridgeline-CDk9eXJq.js +1473 -0
  147. package/dist/vue-ui-rings-BRkGoQdL.js +1156 -0
  148. package/dist/vue-ui-scatter-BxDtWASQ.js +1831 -0
  149. package/dist/{vue-ui-skeleton-CbqNz9IE.js → vue-ui-skeleton-D6kTb9aO.js} +4 -4
  150. package/dist/{vue-ui-smiley-BK5EKp9u.js → vue-ui-smiley-CzVaLlpB.js} +3 -3
  151. package/dist/vue-ui-spark-trend-D8Mf2A1w.js +378 -0
  152. package/dist/{vue-ui-sparkbar-DUDWvTo-.js → vue-ui-sparkbar-BbYj56c3.js} +86 -84
  153. package/dist/vue-ui-sparkgauge-DXzOSLRb.js +256 -0
  154. package/dist/vue-ui-sparkhistogram-DMfSx1iH.js +474 -0
  155. package/dist/vue-ui-sparkline-D-rQ9PsC.js +1327 -0
  156. package/dist/vue-ui-sparkstackbar-DK5n8IKP.js +621 -0
  157. package/dist/vue-ui-stackbar-BHthy6jf.js +2070 -0
  158. package/dist/vue-ui-stackline-C6-WNpKD.js +2164 -0
  159. package/dist/vue-ui-strip-plot-CHu-1ilI.js +1183 -0
  160. package/dist/{vue-ui-table-BHuXI4Eq.js → vue-ui-table-DW9JGsLq.js} +6 -6
  161. package/dist/{vue-ui-table-heatmap-y88sBfu3.js → vue-ui-table-heatmap-LYqoBit9.js} +6 -6
  162. package/dist/{vue-ui-table-sparkline-ClpLLKi2.js → vue-ui-table-sparkline-CXK1dFr-.js} +5 -5
  163. package/dist/{vue-ui-thermometer-sjruUGQx.js → vue-ui-thermometer-BN8tflOz.js} +272 -256
  164. package/dist/{vue-ui-timer-CgdgMKIc.js → vue-ui-timer-DGT0UBOF.js} +6 -6
  165. package/dist/{vue-ui-tiremarks-UBDpAIVr.js → vue-ui-tiremarks-BZ-osQqY.js} +204 -191
  166. package/dist/vue-ui-treemap-98KaVRyd.js +1723 -0
  167. package/dist/vue-ui-waffle-Cb7oJnIc.js +1321 -0
  168. package/dist/vue-ui-wheel-sfew1fjw.js +738 -0
  169. package/dist/vue-ui-word-cloud-vq1t9JHr.js +1548 -0
  170. package/dist/{vue-ui-world-D-3wgoTn.js → vue-ui-world-CN0f6elD.js} +8 -8
  171. package/dist/vue-ui-xy-BdzEiImZ.js +3877 -0
  172. package/dist/vue-ui-xy-canvas-CWQzUQzY.js +1810 -0
  173. package/package.json +2 -2
  174. package/dist/ColorPicker-j0ySewhI.js +0 -244
  175. package/dist/Legend-1LMMsPxL.js +0 -90
  176. package/dist/vue-ui-3d-bar-BhNgFaJA.js +0 -1484
  177. package/dist/vue-ui-age-pyramid-CuYRf5v-.js +0 -997
  178. package/dist/vue-ui-bump-C_fKharc.js +0 -1059
  179. package/dist/vue-ui-candlestick-BY-_E7eZ.js +0 -1487
  180. package/dist/vue-ui-chestnut-C-bQYaNI.js +0 -1557
  181. package/dist/vue-ui-chord-uQYQgyGM.js +0 -1220
  182. package/dist/vue-ui-circle-pack-CdbDcuDw.js +0 -907
  183. package/dist/vue-ui-dag-DsHUvjvm.js +0 -2885
  184. package/dist/vue-ui-donut-CzCgCVsx.js +0 -2139
  185. package/dist/vue-ui-donut-evolution-C_ck_TOR.js +0 -1297
  186. package/dist/vue-ui-dumbbell-CVSA90b2.js +0 -1293
  187. package/dist/vue-ui-flow-CsbSaFnu.js +0 -1075
  188. package/dist/vue-ui-galaxy-DWKHDciu.js +0 -914
  189. package/dist/vue-ui-geo-DykhEWVq.js +0 -1331
  190. package/dist/vue-ui-heatmap-BEDirv8T.js +0 -1334
  191. package/dist/vue-ui-history-plot-Bs96PebH.js +0 -1292
  192. package/dist/vue-ui-horizontal-bar-ClQcB9nL.js +0 -1522
  193. package/dist/vue-ui-kpi-DlUEHKuw.js +0 -101
  194. package/dist/vue-ui-mood-radar-A2LBLgUi.js +0 -967
  195. package/dist/vue-ui-nested-donuts-DFX251aT.js +0 -1513
  196. package/dist/vue-ui-onion-CW0YO9Ro.js +0 -1045
  197. package/dist/vue-ui-parallel-coordinate-plot-UFg10bHP.js +0 -1134
  198. package/dist/vue-ui-quadrant-C1pLW2zA.js +0 -1647
  199. package/dist/vue-ui-quick-chart-FaxttnJY.js +0 -2030
  200. package/dist/vue-ui-radar-DE70LPBZ.js +0 -1067
  201. package/dist/vue-ui-relation-circle-iuRXIyRU.js +0 -704
  202. package/dist/vue-ui-ridgeline-CwvDh5pG.js +0 -1385
  203. package/dist/vue-ui-rings-80ZUki42.js +0 -1083
  204. package/dist/vue-ui-scatter-FdAAYJOK.js +0 -1670
  205. package/dist/vue-ui-spark-trend-C68p8-Xp.js +0 -349
  206. package/dist/vue-ui-sparkgauge-DdRtHQDe.js +0 -245
  207. package/dist/vue-ui-sparkhistogram-C9DvzQae.js +0 -396
  208. package/dist/vue-ui-sparkline-B2RDrdiR.js +0 -1273
  209. package/dist/vue-ui-sparkstackbar-BsIOHUE5.js +0 -475
  210. package/dist/vue-ui-stackbar-BZl0kEkb.js +0 -2001
  211. package/dist/vue-ui-stackline-2VKxwFei.js +0 -2099
  212. package/dist/vue-ui-strip-plot-B9nBSRyY.js +0 -1080
  213. package/dist/vue-ui-treemap-BS5EilZf.js +0 -1645
  214. package/dist/vue-ui-waffle-CbX5K9Q2.js +0 -1211
  215. package/dist/vue-ui-wheel-BIJ09H5D.js +0 -723
  216. package/dist/vue-ui-word-cloud-DJmJ-oYT.js +0 -1466
  217. package/dist/vue-ui-xy-canvas-4auyhlTr.js +0 -1717
  218. package/dist/vue-ui-xy-f67V1xjd.js +0 -3713
@@ -1,28 +1,29 @@
1
- import { useCssVars as Ke, defineAsyncComponent as Q, ref as d, computed as h, onMounted as Je, toRefs as Qe, watch as Ze, openBlock as r, createElementBlock as n, unref as u, normalizeStyle as pe, normalizeClass as V, createBlock as Y, withCtx as f, renderSlot as v, normalizeProps as y, guardReactiveProps as g, createCommentVNode as c, createSlots as et, createVNode as tt, createElementVNode as p, Fragment as E, renderList as ke, toDisplayString as ot, nextTick as st } from "vue";
2
- import { j as at, t as be, o as lt, q as we, r as rt, m as nt, p as S, n as ut, K as b, s as H, X as it, u as ct, k as ht, l as vt } from "./lib-GwPnJSrY.js";
3
- import { t as dt, u as ft } from "./useResponsive-DfdjqQps.js";
4
- import { u as mt } from "./useConfig-CIgyKZ6R.js";
5
- import { u as yt, B as gt } from "./BaseScanner-BhhkKVoj.js";
6
- import { u as pt } from "./usePrinter-DiK5R6k-.js";
7
- import { u as kt } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Z } from "./useNestedProp-BBT0mbHh.js";
9
- import { u as bt } from "./useThemeCheck-D1ZYXUwG.js";
10
- import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
11
- import { u as Ct } from "./useChartAccessibility-9icAAmYg.js";
12
- import { u as xt } from "./useAutoSizeLabelsInsideViewbox-80fzdfxt.js";
13
- import _t from "./vue_ui_thermometer-BTmjRBH8.js";
14
- import $t from "./Title-BfyrP-jp.js";
15
- import At from "./img-BYYzY_QU.js";
16
- import { _ as Pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Ot = ["id"], St = {
1
+ import { useCssVars as st, defineAsyncComponent as Z, ref as d, computed as i, onMounted as at, toRefs as lt, watch as rt, openBlock as r, createElementBlock as u, unref as c, normalizeStyle as we, normalizeClass as V, createBlock as N, withCtx as f, renderSlot as h, normalizeProps as p, guardReactiveProps as k, createCommentVNode as v, createSlots as nt, createElementVNode as m, toDisplayString as ee, createVNode as ut, Fragment as Y, renderList as xe, nextTick as it } from "vue";
2
+ import { j as ct, t as Ce, o as vt, q as _e, r as ht, m as dt, p as I, n as ft, K as y, s as E, k as mt, l as yt, X as gt, u as pt } from "./lib-DBptbyyI.js";
3
+ import { t as kt, u as bt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as wt } from "./useConfig-DO94Aj5s.js";
5
+ import { u as xt, B as Ct } from "./BaseScanner-BhhkKVoj.js";
6
+ import { u as _t } from "./usePrinter-CEpYU3r5.js";
7
+ import { u as $t } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as te } from "./useNestedProp-Bf5XFbs8.js";
9
+ import { u as At } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Pt } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Ot } from "./useChartAccessibility-9icAAmYg.js";
12
+ import { u as It } from "./usePrefersMotion-CUKm8_t8.js";
13
+ import { u as St } from "./useAutoSizeLabelsInsideViewbox-DX7LdvFX.js";
14
+ import Ft from "./vue_ui_thermometer-BTmjRBH8.js";
15
+ import Tt from "./Title-BeMKE1cj.js";
16
+ import Mt from "./img-LXxMLmCg.js";
17
+ import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
18
+ const zt = ["id"], Wt = {
18
19
  key: 1,
19
20
  ref: "noTitle",
20
21
  class: "vue-data-ui-no-title-space",
21
22
  style: "height:36px; width: 100%;background:transparent"
22
- }, It = ["xmlns", "viewBox"], Ft = ["width", "height"], Tt = ["id"], Mt = ["x", "y", "width", "height", "rx", "ry"], Ut = ["id"], zt = ["stop-color"], Wt = ["stop-color"], Lt = ["stop-color"], Nt = ["clip-path"], Vt = ["x", "y", "height", "width"], Yt = ["x", "y", "height", "width", "fill"], Et = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], qt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Rt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Gt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Bt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], jt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Xt = ["x", "y", "height", "width"], Kt = { key: 1 }, Jt = ["x", "y", "height"], Qt = ["y", "x", "fill", "font-size", "font-weight"], Zt = {
23
+ }, Lt = ["xmlns", "viewBox", "aria-labelledby", "aria-describedby"], Rt = ["id"], Vt = ["id"], Nt = ["width", "height"], Yt = ["id"], Et = ["x", "y", "width", "height", "rx", "ry"], Ht = ["id"], qt = ["stop-color"], Dt = ["stop-color"], Gt = ["stop-color"], Bt = ["clip-path"], jt = ["x", "y", "height", "width"], Xt = ["x", "y", "height", "width", "fill"], Kt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Jt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Qt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Zt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], eo = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], to = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], oo = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], so = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ao = ["x", "y", "height", "width"], lo = ["aria-label"], ro = ["x", "y", "height"], no = ["y", "x", "fill", "font-size", "font-weight"], uo = {
23
24
  key: 4,
24
25
  class: "vue-data-ui-watermark"
25
- }, eo = {
26
+ }, io = {
26
27
  __name: "vue-ui-thermometer",
27
28
  props: {
28
29
  dataset: {
@@ -39,17 +40,17 @@ const Ot = ["id"], St = {
39
40
  }
40
41
  },
41
42
  emits: ["copyAlt"],
42
- setup(I, { expose: Ce, emit: xe }) {
43
- Ke((o) => ({
44
- v1ecd0f6c: Ne.value,
45
- b11332bc: Le.value,
46
- v4b513c0f: We.value
43
+ setup($e, { expose: Ae, emit: Pe }) {
44
+ st((o) => ({
45
+ v2c2fe85d: He.value,
46
+ v466eabd1: Ee.value,
47
+ v2eb1fe04: Ye.value
47
48
  }));
48
- const _e = Q(() => import("./PackageVersion-DN9d0ME5.js")), $e = Q(() => import("./PenAndPaper-DWV1FMIi.js")), Ae = Q(() => import("./UserOptions-CrLqEimB.js")), { vue_ui_thermometer: Pe } = mt(), { isThemeValid: Oe, warnInvalidTheme: Se } = bt(), m = I, Ie = xe, w = d(at()), C = d(null), ee = d(0), te = d(0), oe = d(null), se = d(null), _ = d(null), F = d(null), T = d(!1), M = d(!1), Fe = h(() => !!m.dataset && Object.keys(m.dataset).length);
49
- Je(() => {
50
- ne();
49
+ const Oe = Z(() => import("./PackageVersion-DPO-OOVI.js")), Ie = Z(() => import("./PenAndPaper-Ct3qJ4lA.js")), Se = Z(() => import("./UserOptions-rW2fRf3V.js")), { vue_ui_thermometer: Fe } = wt(), { isThemeValid: Te, warnInvalidTheme: Me } = At(), Ue = It(), g = $e, ze = Pe, b = d(ct()), x = d(null), oe = d(0), se = d(0), ae = d(null), le = d(null), _ = d(null), S = d(null), F = d(!1), T = d(!1), We = i(() => !!g.dataset && Object.keys(g.dataset).length);
50
+ at(() => {
51
+ ue();
51
52
  });
52
- const e = d(D()), Te = d(e.value.style.chart.thermometer.width), q = d(e.value.style.chart.height), R = d(e.value.style.chart.width), ae = h(() => e.value.userOptions.useCursorPointer), Me = h(() => be({
53
+ const e = d(G()), Le = d(e.value.style.chart.thermometer.width), H = d(e.value.style.chart.height), q = d(e.value.style.chart.width), re = i(() => e.value.userOptions.useCursorPointer), Re = i(() => Ce({
53
54
  defaultConfig: {
54
55
  userOptions: { show: !1 },
55
56
  style: {
@@ -63,84 +64,84 @@ const Ot = ["id"], St = {
63
64
  }
64
65
  },
65
66
  userConfig: e.value.skeletonConfig ?? {}
66
- })), { loading: le, FINAL_DATASET: i } = yt({
67
- ...Qe(m),
67
+ })), { loading: M, FINAL_DATASET: n } = xt({
68
+ ...lt(g),
68
69
  FINAL_CONFIG: e,
69
- prepareConfig: D,
70
- skeletonDataset: m.config?.skeletonDataset ?? { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
71
- skeletonConfig: be({
70
+ prepareConfig: G,
71
+ skeletonDataset: g.config?.skeletonDataset ?? { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
72
+ skeletonConfig: Ce({
72
73
  defaultConfig: e.value,
73
- userConfig: Me.value
74
+ userConfig: Re.value
74
75
  })
75
- }), re = h(() => !!e.value.debug);
76
- function ne() {
77
- if (lt(m.dataset) ? we({
76
+ }), ne = i(() => !!e.value.debug);
77
+ function ue() {
78
+ if (vt(g.dataset) ? _e({
78
79
  componentName: "VueUiThermometer",
79
80
  type: "dataset",
80
- debug: re.value
81
- }) : rt({
82
- datasetObject: m.dataset,
81
+ debug: ne.value
82
+ }) : ht({
83
+ datasetObject: g.dataset,
83
84
  requiredAttributes: ["value", "from", "to"]
84
85
  }).forEach((o) => {
85
- we({
86
+ _e({
86
87
  componentName: "VueUiThermometer",
87
88
  type: "datasetAttribute",
88
89
  property: o,
89
- debug: re.value
90
+ debug: ne.value
90
91
  });
91
92
  }), e.value.responsive) {
92
- const o = dt(() => {
93
- const { width: a, height: t } = ft({
94
- chart: C.value,
95
- title: e.value.style.title.text ? oe.value : null,
96
- source: se.value
93
+ const o = kt(() => {
94
+ const { width: a, height: t } = bt({
95
+ chart: x.value,
96
+ title: e.value.style.title.text ? ae.value : null,
97
+ source: le.value
97
98
  });
98
99
  requestAnimationFrame(() => {
99
- q.value = Math.max(0.1, t - 12), R.value = a, me();
100
+ H.value = Math.max(0.1, t - 12), q.value = a, ye();
100
101
  });
101
102
  });
102
- _.value && (F.value && _.value.unobserve(F.value), _.value.disconnect()), _.value = new ResizeObserver(o), F.value = C.value, _.value.observe(F.value);
103
+ _.value && (S.value && _.value.unobserve(S.value), _.value.disconnect()), _.value = new ResizeObserver(o), S.value = x.value, _.value.observe(S.value);
103
104
  }
104
- me();
105
+ ye();
105
106
  }
106
- const { userOptionsVisible: G, setUserOptionsVisibility: ue, keepUserOptionState: ie } = wt({ config: e.value }), { svgRef: U } = Ct({ config: e.value.style.title });
107
- function D() {
108
- const o = Z({
109
- userConfig: m.config,
110
- defaultConfig: Pe
107
+ const { userOptionsVisible: D, setUserOptionsVisibility: ie, keepUserOptionState: ce } = Pt({ config: e.value }), { svgRef: U } = Ot({ config: e.value.style.title });
108
+ function G() {
109
+ const o = te({
110
+ userConfig: g.config,
111
+ defaultConfig: Fe
111
112
  }), a = o.theme;
112
113
  if (!a) return o;
113
- if (!Oe.value(o))
114
- return Se(o), o;
115
- const t = Z({
116
- userConfig: _t[a] || m.config,
114
+ if (!Te.value(o))
115
+ return Me(o), o;
116
+ const t = te({
117
+ userConfig: Ft[a] || g.config,
117
118
  defaultConfig: o
118
- }), l = Z({
119
- userConfig: m.config,
119
+ }), l = te({
120
+ userConfig: g.config,
120
121
  defaultConfig: t
121
122
  });
122
123
  return {
123
124
  ...l,
124
- customPalette: l.customPalette.length ? l.customPalette : nt[a] || S
125
+ customPalette: l.customPalette.length ? l.customPalette : dt[a] || I
125
126
  };
126
127
  }
127
- Ze(() => m.config, (o) => {
128
- e.value = D(), G.value = !e.value.userOptions.showOnChartHover, Te.value = e.value.style.chart.thermometer.width, q.value = e.value.style.chart.height, R.value = e.value.style.chart.width, ne(), te.value += 1;
128
+ rt(() => g.config, (o) => {
129
+ e.value = G(), D.value = !e.value.userOptions.showOnChartHover, Le.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, ue(), se.value += 1;
129
130
  }, { deep: !0 });
130
- const { isPrinting: B, isImaging: j, generatePdf: ce, generateImage: he } = pt({
131
- elementId: `thermometer__${w.value}`,
131
+ const { isPrinting: B, isImaging: j, generatePdf: ve, generateImage: he } = _t({
132
+ elementId: `thermometer__${b.value}`,
132
133
  fileName: e.value.style.title.text || "vue-ui-thermometer",
133
134
  options: e.value.userOptions.print
134
- }), Ue = h(() => e.value.userOptions.show && !e.value.style.title.text), z = h(() => ut(e.value.customPalette)), k = h(() => i.value.steps || 10);
135
+ }), Ve = i(() => e.value.userOptions.show && !e.value.style.title.text), z = i(() => ft(e.value.customPalette)), w = i(() => n.value.steps || 10);
135
136
  function W(o, a, t) {
136
- const l = [], x = ve(o), P = ve(a);
137
+ const l = [], C = de(o), P = de(a);
137
138
  for (let O = 0; O < t; O += 1) {
138
- const De = X(x.red, P.red, O, t), Be = X(x.green, P.green, O, t), je = X(x.blue, P.blue, O, t), Xe = `#${K(De)}${K(Be)}${K(je)}`;
139
- l.push(Xe);
139
+ const Ze = X(C.red, P.red, O, t), et = X(C.green, P.green, O, t), tt = X(C.blue, P.blue, O, t), ot = `#${K(Ze)}${K(et)}${K(tt)}`;
140
+ l.push(ot);
140
141
  }
141
142
  return l;
142
143
  }
143
- function ve(o) {
144
+ function de(o) {
144
145
  const a = o.slice(1);
145
146
  return {
146
147
  red: parseInt(a.slice(0, 2), 16),
@@ -154,8 +155,8 @@ const Ot = ["id"], St = {
154
155
  function K(o) {
155
156
  return o.toString(16).padStart(2, "0");
156
157
  }
157
- const s = h(() => {
158
- const o = Math.max(0.1, R.value), a = Math.max(0.1, q.value), t = e.value.style.chart.padding;
158
+ const s = i(() => {
159
+ const o = Math.max(0.1, q.value), a = Math.max(0.1, H.value), t = e.value.style.chart.padding;
159
160
  return {
160
161
  width: o,
161
162
  left: o / 2 - e.value.style.chart.thermometer.width / 2,
@@ -166,47 +167,47 @@ const Ot = ["id"], St = {
166
167
  thermoHeight: a - t.top - t.bottom,
167
168
  thermoWidth: e.value.style.chart.thermometer.width
168
169
  };
169
- }), ze = h(() => s.value), L = h(() => {
170
- const o = b(i.value.from) < 0 ? Math.abs(b(i.value.from)) : b(i.value.from), a = b(i.value.to) < 0 ? Math.abs(b(i.value.to)) : b(i.value.to);
170
+ }), Ne = i(() => s.value), L = i(() => {
171
+ const o = y(n.value.from) < 0 ? Math.abs(y(n.value.from)) : y(n.value.from), a = y(n.value.to) < 0 ? Math.abs(y(n.value.to)) : y(n.value.to);
171
172
  let t = 0;
172
- return b(i.value.to) > 0 ? t = o + a : o > a ? t = o - a : t = a - o, (1 - (Math.abs(b(i.value.from)) + b(i.value.value)) / t) * s.value.thermoHeight;
173
- }), We = h(() => `${L.value}px`), Le = h(() => `${s.value.thermoHeight}px`), Ne = h(() => `${e.value.style.chart.animation.speedMs}ms`), Ve = h(() => {
174
- if (i.value.colors) {
175
- if (!i.value.colors.from)
176
- return W(z.value[0] || S[0], H(i.value.colors.to), k.value || 10);
177
- if (!i.value.colors.to)
178
- return W(H(i.value.colors.from), z.value[1] || S[1], k.value || 10);
173
+ return y(n.value.to) > 0 ? t = o + a : o > a ? t = o - a : t = a - o, (1 - (Math.abs(y(n.value.from)) + y(n.value.value)) / t) * s.value.thermoHeight;
174
+ }), Ye = i(() => `${L.value}px`), Ee = i(() => `${s.value.thermoHeight}px`), He = i(() => Ue.value ? "0ms" : `${e.value.style.chart.animation.speedMs}ms`), qe = i(() => {
175
+ if (n.value.colors) {
176
+ if (!n.value.colors.from)
177
+ return W(z.value[0] || I[0], E(n.value.colors.to), w.value || 10);
178
+ if (!n.value.colors.to)
179
+ return W(E(n.value.colors.from), z.value[1] || I[1], w.value || 10);
179
180
  } else
180
- return W(z.value[1] || S[1], z.value[0] || S[0], k.value || 10);
181
- return W(H(i.value.colors.from), H(i.value.colors.to), k.value || 10);
182
- }), de = h(() => {
181
+ return W(z.value[1] || I[1], z.value[0] || I[0], w.value || 10);
182
+ return W(E(n.value.colors.from), E(n.value.colors.to), w.value || 10);
183
+ }), fe = i(() => {
183
184
  const o = [];
184
185
  let a = 0;
185
186
  const t = s.value.thermoHeight;
186
- for (let l = 0; l < t - 1; l += t / k.value)
187
+ for (let l = 0; l < t - 1; l += t / w.value)
187
188
  o.push({
188
189
  x: s.value.left,
189
190
  y: s.value.top + l,
190
- qYLess: s.value.top + l + t / k.value / 4,
191
- halfY: s.value.top + l + t / k.value / 2,
192
- qYMore: s.value.top + l + t / k.value / 4 * 3,
193
- color: Ve.value[a],
194
- height: Math.max(0.1, t / k.value)
191
+ qYLess: s.value.top + l + t / w.value / 4,
192
+ halfY: s.value.top + l + t / w.value / 2,
193
+ qYMore: s.value.top + l + t / w.value / 4 * 3,
194
+ color: qe.value[a],
195
+ height: Math.max(0.1, t / w.value)
195
196
  }), a += 1;
196
197
  return o;
197
198
  }), $ = d(!1);
198
- function fe(o) {
199
- $.value = o, ee.value += 1;
199
+ function me(o) {
200
+ $.value = o, oe.value += 1;
200
201
  }
201
- const N = d(!1);
202
+ const R = d(!1);
202
203
  function J() {
203
- N.value = !N.value;
204
+ R.value = !R.value;
204
205
  }
205
- async function Ye({ scale: o = 2 } = {}) {
206
- if (!C.value) return;
207
- const { width: a, height: t } = C.value.getBoundingClientRect(), l = a / t, { imageUri: x, base64: P } = await At({ domElement: C.value, base64: !0, img: !0, scale: o });
206
+ async function De({ scale: o = 2 } = {}) {
207
+ if (!x.value) return;
208
+ const { width: a, height: t } = x.value.getBoundingClientRect(), l = a / t, { imageUri: C, base64: P } = await Mt({ domElement: x.value, base64: !0, img: !0, scale: o });
208
209
  return {
209
- imageUri: x,
210
+ imageUri: C,
210
211
  base64: P,
211
212
  title: e.value.style.title.text,
212
213
  width: a,
@@ -214,111 +215,126 @@ const Ot = ["id"], St = {
214
215
  aspectRatio: l
215
216
  };
216
217
  }
217
- const A = h({
218
+ const A = i({
218
219
  get: () => e.value.style.chart.label.fontSize,
219
220
  set: (o) => o
220
- }), { autoSizeLabels: me } = xt({
221
+ }), { autoSizeLabels: ye } = St({
221
222
  svgRef: U,
222
223
  fontSize: e.value.style.chart.label.fontSize,
223
224
  minFontSize: e.value.style.chart.label.minFontSize,
224
225
  sizeRef: A,
225
226
  labelClass: ".vue-ui-thermometer-label"
226
- }), Ee = h(() => e.value.style.chart.backgroundColor), He = h(() => e.value.style.title), { exportSvg: qe, getSvg: Re } = kt({
227
+ }), Ge = i(() => e.value.style.chart.backgroundColor), Be = i(() => e.value.style.title), { exportSvg: je, getSvg: Xe } = $t({
227
228
  svg: U,
228
- title: He,
229
- backgroundColor: Ee
229
+ title: Be,
230
+ backgroundColor: Ge
230
231
  });
231
- async function ye({ isCb: o }) {
232
- M.value = !0, await st();
232
+ async function ge({ isCb: o }) {
233
+ T.value = !0, await it();
233
234
  try {
234
235
  if (o) {
235
- const { blob: a, url: t, text: l, dataUrl: x } = await Re();
236
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: a, url: t, text: l, dataUrl: x }));
236
+ const { blob: a, url: t, text: l, dataUrl: C } = await Xe();
237
+ await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: a, url: t, text: l, dataUrl: C }));
237
238
  } else
238
- await Promise.resolve(qe());
239
+ await Promise.resolve(je());
239
240
  } finally {
240
- M.value = !1;
241
+ T.value = !1;
241
242
  }
242
243
  }
243
- function Ge(o) {
244
+ function Ke(o) {
244
245
  if (o?.stage === "start") {
245
- T.value = !0;
246
+ F.value = !0;
246
247
  return;
247
248
  }
248
249
  if (o?.stage === "end") {
249
- T.value = !1;
250
+ F.value = !1;
250
251
  return;
251
252
  }
252
253
  he();
253
254
  }
254
- async function ge() {
255
- if (Ie("copyAlt", {
255
+ async function pe() {
256
+ if (ze("copyAlt", {
256
257
  config: e.value,
257
- dataset: i.value
258
+ dataset: n.value
258
259
  }), !e.value.userOptions.callbacks.altCopy) {
259
260
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
260
261
  return;
261
262
  }
262
263
  await Promise.resolve(e.value.userOptions.callbacks.altCopy({
263
264
  config: e.value,
264
- dataset: i.value
265
+ dataset: n.value
265
266
  }));
266
267
  }
267
- return Ce({
268
- getImage: Ye,
269
- generatePdf: ce,
268
+ const ke = i(() => `${b.value}-title`), be = i(() => `${b.value}-desc`), Q = i(() => mt(
269
+ e.value.style.chart.label.formatter,
270
+ n.value.value,
271
+ yt({
272
+ p: e.value.style.chart.label.prefix,
273
+ v: n.value.value,
274
+ s: e.value.style.chart.label.suffix,
275
+ r: e.value.style.chart.label.rounding
276
+ }),
277
+ { datapoint: n.value }
278
+ )), Je = i(() => e.value.style.title.text || ""), Qe = i(() => {
279
+ if (M.value) return "...";
280
+ const o = y(n.value.from), a = y(n.value.to);
281
+ return `Thermometer value: ${Q.value}. Range: ${o} to ${a}.`;
282
+ });
283
+ return Ae({
284
+ getImage: De,
285
+ generatePdf: ve,
270
286
  generateImage: he,
271
- generateSvg: ye,
287
+ generateSvg: ge,
272
288
  toggleAnnotator: J,
273
- toggleFullscreen: fe,
274
- copyAlt: ge
275
- }), (o, a) => (r(), n("div", {
289
+ toggleFullscreen: me,
290
+ copyAlt: pe
291
+ }), (o, a) => (r(), u("div", {
276
292
  ref_key: "thermoChart",
277
- ref: C,
293
+ ref: x,
278
294
  class: V(`vue-data-ui-component vue-ui-thermometer ${$.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
279
- style: pe(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
280
- id: `thermometer__${w.value}`,
281
- onMouseenter: a[0] || (a[0] = () => u(ue)(!0)),
282
- onMouseleave: a[1] || (a[1] = () => u(ue)(!1))
295
+ style: we(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
296
+ id: `thermometer__${b.value}`,
297
+ onMouseenter: a[0] || (a[0] = () => c(ie)(!0)),
298
+ onMouseleave: a[1] || (a[1] = () => c(ie)(!1))
283
299
  }, [
284
- e.value.userOptions.buttons.annotator ? (r(), Y(u($e), {
300
+ e.value.userOptions.buttons.annotator ? (r(), N(c(Ie), {
285
301
  key: 0,
286
- svgRef: u(U),
302
+ svgRef: c(U),
287
303
  backgroundColor: e.value.style.chart.backgroundColor,
288
304
  color: e.value.style.chart.color,
289
- active: N.value,
290
- isCursorPointer: ae.value,
305
+ active: R.value,
306
+ isCursorPointer: re.value,
291
307
  onClose: J
292
308
  }, {
293
309
  "annotator-action-close": f(() => [
294
- v(o.$slots, "annotator-action-close", {}, void 0, !0)
310
+ h(o.$slots, "annotator-action-close", {}, void 0, !0)
295
311
  ]),
296
312
  "annotator-action-color": f(({ color: t }) => [
297
- v(o.$slots, "annotator-action-color", y(g({ color: t })), void 0, !0)
313
+ h(o.$slots, "annotator-action-color", p(k({ color: t })), void 0, !0)
298
314
  ]),
299
315
  "annotator-action-draw": f(({ mode: t }) => [
300
- v(o.$slots, "annotator-action-draw", y(g({ mode: t })), void 0, !0)
316
+ h(o.$slots, "annotator-action-draw", p(k({ mode: t })), void 0, !0)
301
317
  ]),
302
318
  "annotator-action-undo": f(({ disabled: t }) => [
303
- v(o.$slots, "annotator-action-undo", y(g({ disabled: t })), void 0, !0)
319
+ h(o.$slots, "annotator-action-undo", p(k({ disabled: t })), void 0, !0)
304
320
  ]),
305
321
  "annotator-action-redo": f(({ disabled: t }) => [
306
- v(o.$slots, "annotator-action-redo", y(g({ disabled: t })), void 0, !0)
322
+ h(o.$slots, "annotator-action-redo", p(k({ disabled: t })), void 0, !0)
307
323
  ]),
308
324
  "annotator-action-delete": f(({ disabled: t }) => [
309
- v(o.$slots, "annotator-action-delete", y(g({ disabled: t })), void 0, !0)
325
+ h(o.$slots, "annotator-action-delete", p(k({ disabled: t })), void 0, !0)
310
326
  ]),
311
327
  _: 3
312
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : c("", !0),
313
- Ue.value ? (r(), n("div", St, null, 512)) : c("", !0),
314
- e.value.style.title.text ? (r(), n("div", {
328
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : v("", !0),
329
+ Ve.value ? (r(), u("div", Wt, null, 512)) : v("", !0),
330
+ e.value.style.title.text ? (r(), u("div", {
315
331
  key: 2,
316
332
  ref_key: "chartTitle",
317
- ref: oe,
333
+ ref: ae,
318
334
  style: "width:100%"
319
335
  }, [
320
- (r(), Y($t, {
321
- key: `title_${te.value}`,
336
+ (r(), N(Tt, {
337
+ key: `title_${se.value}`,
322
338
  config: {
323
339
  title: {
324
340
  cy: "thermometer-div-title",
@@ -330,15 +346,15 @@ const Ot = ["id"], St = {
330
346
  }
331
347
  }
332
348
  }, null, 8, ["config"]))
333
- ], 512)) : c("", !0),
334
- e.value.userOptions.show && Fe.value && (u(ie) || u(G)) ? (r(), Y(u(Ae), {
349
+ ], 512)) : v("", !0),
350
+ e.value.userOptions.show && We.value && (c(ce) || c(D)) ? (r(), N(c(Se), {
335
351
  ref: "details",
336
- key: `user_options_${ee.value}`,
352
+ key: `user_options_${oe.value}`,
337
353
  backgroundColor: e.value.style.chart.backgroundColor,
338
354
  color: e.value.style.chart.color,
339
- isImaging: u(j),
340
- isPrinting: u(B),
341
- uid: w.value,
355
+ isImaging: c(j),
356
+ isPrinting: c(B),
357
+ uid: b.value,
342
358
  hasPdf: e.value.userOptions.buttons.pdf,
343
359
  hasImg: e.value.userOptions.buttons.img,
344
360
  hasSvg: e.value.userOptions.buttons.svg,
@@ -347,84 +363,88 @@ const Ot = ["id"], St = {
347
363
  hasXls: !1,
348
364
  isFullscreen: $.value,
349
365
  titles: { ...e.value.userOptions.buttonTitles },
350
- chartElement: C.value,
366
+ chartElement: x.value,
351
367
  position: e.value.userOptions.position,
352
368
  hasAnnotator: e.value.userOptions.buttons.annotator,
353
- isAnnotation: N.value,
369
+ isAnnotation: R.value,
354
370
  callbacks: e.value.userOptions.callbacks,
355
371
  printScale: e.value.userOptions.print.scale,
356
- isCursorPointer: ae.value,
357
- onToggleFullscreen: fe,
358
- onGeneratePdf: u(ce),
359
- onGenerateImage: Ge,
360
- onGenerateSvg: ye,
372
+ isCursorPointer: re.value,
373
+ onToggleFullscreen: me,
374
+ onGeneratePdf: c(ve),
375
+ onGenerateImage: Ke,
376
+ onGenerateSvg: ge,
361
377
  onToggleAnnotator: J,
362
- onCopyAlt: ge,
363
- style: pe({
364
- visibility: u(ie) ? u(G) ? "visible" : "hidden" : "visible"
378
+ onCopyAlt: pe,
379
+ style: we({
380
+ visibility: c(ce) ? c(D) ? "visible" : "hidden" : "visible"
365
381
  })
366
- }, et({ _: 2 }, [
382
+ }, nt({ _: 2 }, [
367
383
  o.$slots.menuIcon ? {
368
384
  name: "menuIcon",
369
385
  fn: f(({ isOpen: t, color: l }) => [
370
- v(o.$slots, "menuIcon", y(g({ isOpen: t, color: l })), void 0, !0)
386
+ h(o.$slots, "menuIcon", p(k({ isOpen: t, color: l })), void 0, !0)
371
387
  ]),
372
388
  key: "0"
373
389
  } : void 0,
374
390
  o.$slots.optionPdf ? {
375
391
  name: "optionPdf",
376
392
  fn: f(() => [
377
- v(o.$slots, "optionPdf", {}, void 0, !0)
393
+ h(o.$slots, "optionPdf", {}, void 0, !0)
378
394
  ]),
379
395
  key: "1"
380
396
  } : void 0,
381
397
  o.$slots.optionImg ? {
382
398
  name: "optionImg",
383
399
  fn: f(() => [
384
- v(o.$slots, "optionImg", {}, void 0, !0)
400
+ h(o.$slots, "optionImg", {}, void 0, !0)
385
401
  ]),
386
402
  key: "2"
387
403
  } : void 0,
388
404
  o.$slots.optionSvg ? {
389
405
  name: "optionSvg",
390
406
  fn: f(() => [
391
- v(o.$slots, "optionSvg", {}, void 0, !0)
407
+ h(o.$slots, "optionSvg", {}, void 0, !0)
392
408
  ]),
393
409
  key: "3"
394
410
  } : void 0,
395
411
  o.$slots.optionFullscreen ? {
396
412
  name: "optionFullscreen",
397
413
  fn: f(({ toggleFullscreen: t, isFullscreen: l }) => [
398
- v(o.$slots, "optionFullscreen", y(g({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
414
+ h(o.$slots, "optionFullscreen", p(k({ toggleFullscreen: t, isFullscreen: l })), void 0, !0)
399
415
  ]),
400
416
  key: "4"
401
417
  } : void 0,
402
418
  o.$slots.optionAnnotator ? {
403
419
  name: "optionAnnotator",
404
420
  fn: f(({ toggleAnnotator: t, isAnnotator: l }) => [
405
- v(o.$slots, "optionAnnotator", y(g({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
421
+ h(o.$slots, "optionAnnotator", p(k({ toggleAnnotator: t, isAnnotator: l })), void 0, !0)
406
422
  ]),
407
423
  key: "5"
408
424
  } : void 0,
409
425
  o.$slots.optionAltCopy ? {
410
426
  name: "optionAltCopy",
411
427
  fn: f(({ altCopy: t }) => [
412
- v(o.$slots, "optionAltCopy", y(g({ altCopy: t })), void 0, !0)
428
+ h(o.$slots, "optionAltCopy", p(k({ altCopy: t })), void 0, !0)
413
429
  ]),
414
430
  key: "6"
415
431
  } : void 0
416
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : c("", !0),
417
- (r(), n("svg", {
432
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasSvg", "hasFullscreen", "hasAltCopy", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "isCursorPointer", "onGeneratePdf", "style"])) : v("", !0),
433
+ (r(), u("svg", {
418
434
  ref_key: "svgRef",
419
435
  ref: U,
420
- xmlns: u(it),
436
+ xmlns: c(gt),
421
437
  class: V({ "vue-data-ui-fullscreen--on": $.value, "vue-data-ui-fulscreen--off": !$.value }),
422
438
  width: "100%",
423
439
  viewBox: `0 0 ${s.value.width} ${s.value.height}`,
424
- style: "background:transparent"
440
+ style: "background:transparent",
441
+ "aria-labelledby": ke.value,
442
+ "aria-describedby": be.value
425
443
  }, [
426
- tt(u(_e)),
427
- o.$slots["chart-background"] ? (r(), n("foreignObject", {
444
+ m("title", { id: ke.value }, ee(Je.value), 9, Rt),
445
+ m("desc", { id: be.value }, ee(Qe.value), 9, Vt),
446
+ ut(c(Oe)),
447
+ o.$slots["chart-background"] ? (r(), u("foreignObject", {
428
448
  key: 0,
429
449
  x: 0,
430
450
  y: 0,
@@ -434,65 +454,65 @@ const Ot = ["id"], St = {
434
454
  pointerEvents: "none"
435
455
  }
436
456
  }, [
437
- v(o.$slots, "chart-background", {}, void 0, !0)
438
- ], 8, Ft)) : c("", !0),
439
- p("defs", null, [
440
- p("clipPath", {
441
- id: `vueUiPill-${w.value}`,
457
+ h(o.$slots, "chart-background", {}, void 0, !0)
458
+ ], 8, Nt)) : v("", !0),
459
+ m("defs", null, [
460
+ m("clipPath", {
461
+ id: `vueUiPill-${b.value}`,
442
462
  clipPathUnits: "userSpaceOnUse"
443
463
  }, [
444
- p("rect", {
464
+ m("rect", {
445
465
  x: s.value.left,
446
466
  y: s.value.top,
447
467
  width: s.value.thermoWidth,
448
468
  height: s.value.thermoHeight,
449
469
  rx: s.value.thermoWidth / 2,
450
470
  ry: s.value.thermoWidth / 2
451
- }, null, 8, Mt)
452
- ], 8, Tt),
453
- (r(!0), n(E, null, ke(de.value, (t, l) => (r(), n("linearGradient", {
454
- id: `vueUiThermometerGradient_${l}_${w.value}`,
471
+ }, null, 8, Et)
472
+ ], 8, Yt),
473
+ (r(!0), u(Y, null, xe(fe.value, (t, l) => (r(), u("linearGradient", {
474
+ id: `vueUiThermometerGradient_${l}_${b.value}`,
455
475
  x1: "0%",
456
476
  y1: "0%",
457
477
  x2: "100%",
458
478
  y2: "0%"
459
479
  }, [
460
- p("stop", {
480
+ m("stop", {
461
481
  offset: "0%",
462
482
  "stop-color": t.color
463
- }, null, 8, zt),
464
- p("stop", {
483
+ }, null, 8, qt),
484
+ m("stop", {
465
485
  offset: "50%",
466
- "stop-color": u(ct)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
467
- }, null, 8, Wt),
468
- p("stop", {
486
+ "stop-color": c(pt)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
487
+ }, null, 8, Dt),
488
+ m("stop", {
469
489
  offset: "100%",
470
490
  "stop-color": t.color
471
- }, null, 8, Lt)
472
- ], 8, Ut))), 256))
491
+ }, null, 8, Gt)
492
+ ], 8, Ht))), 256))
473
493
  ]),
474
- p("g", {
475
- "clip-path": `url(#vueUiPill-${w.value})`
494
+ m("g", {
495
+ "clip-path": `url(#vueUiPill-${b.value})`
476
496
  }, [
477
- p("rect", {
497
+ m("rect", {
478
498
  x: s.value.left,
479
499
  y: s.value.top,
480
500
  height: s.value.thermoHeight,
481
501
  width: s.value.thermoWidth,
482
502
  fill: "#FFFFFF"
483
- }, null, 8, Vt),
484
- (r(!0), n(E, null, ke(de.value, (t, l) => (r(), n("g", {
503
+ }, null, 8, jt),
504
+ (r(!0), u(Y, null, xe(fe.value, (t, l) => (r(), u("g", {
485
505
  key: `graduation_${l}`
486
506
  }, [
487
- p("rect", {
507
+ m("rect", {
488
508
  x: t.x,
489
509
  y: t.y,
490
510
  height: t.height,
491
511
  width: s.value.thermoWidth,
492
- fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${l}_${w.value})` : t.color,
512
+ fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${l}_${b.value})` : t.color,
493
513
  "shape-rendering": "crispEdges"
494
- }, null, 8, Yt),
495
- e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
514
+ }, null, 8, Xt),
515
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
496
516
  key: 0,
497
517
  x1: t.x,
498
518
  x2: t.x + 10,
@@ -501,9 +521,9 @@ const Ot = ["id"], St = {
501
521
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
502
522
  stroke: e.value.style.chart.graduations.stroke,
503
523
  "stroke-linecap": "round"
504
- }, null, 8, Et)) : c("", !0),
505
- e.value.style.chart.graduations.showIntermediate ? (r(), n(E, { key: 1 }, [
506
- e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
524
+ }, null, 8, Kt)) : v("", !0),
525
+ e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 1 }, [
526
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
507
527
  key: 0,
508
528
  x1: t.x,
509
529
  x2: t.x + 5,
@@ -512,8 +532,8 @@ const Ot = ["id"], St = {
512
532
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
513
533
  stroke: e.value.style.chart.graduations.stroke,
514
534
  "stroke-linecap": "round"
515
- }, null, 8, Ht)) : c("", !0),
516
- e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
535
+ }, null, 8, Jt)) : v("", !0),
536
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
517
537
  key: 1,
518
538
  x1: t.x,
519
539
  x2: t.x + 2.5,
@@ -522,8 +542,8 @@ const Ot = ["id"], St = {
522
542
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
523
543
  stroke: e.value.style.chart.graduations.stroke,
524
544
  "stroke-linecap": "round"
525
- }, null, 8, qt)) : c("", !0),
526
- e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
545
+ }, null, 8, Qt)) : v("", !0),
546
+ e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
527
547
  key: 2,
528
548
  x1: t.x,
529
549
  x2: t.x + 2.5,
@@ -532,9 +552,9 @@ const Ot = ["id"], St = {
532
552
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
533
553
  stroke: e.value.style.chart.graduations.stroke,
534
554
  "stroke-linecap": "round"
535
- }, null, 8, Rt)) : c("", !0)
536
- ], 64)) : c("", !0),
537
- e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
555
+ }, null, 8, Zt)) : v("", !0)
556
+ ], 64)) : v("", !0),
557
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
538
558
  key: 2,
539
559
  x1: s.value.right,
540
560
  x2: s.value.right - 10,
@@ -543,9 +563,9 @@ const Ot = ["id"], St = {
543
563
  "stroke-width": e.value.style.chart.graduations.strokeWidth,
544
564
  stroke: e.value.style.chart.graduations.stroke,
545
565
  "stroke-linecap": "round"
546
- }, null, 8, Gt)) : c("", !0),
547
- e.value.style.chart.graduations.showIntermediate ? (r(), n(E, { key: 3 }, [
548
- e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
566
+ }, null, 8, eo)) : v("", !0),
567
+ e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 3 }, [
568
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
549
569
  key: 0,
550
570
  x1: s.value.right,
551
571
  x2: s.value.right - 5,
@@ -554,8 +574,8 @@ const Ot = ["id"], St = {
554
574
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
555
575
  stroke: e.value.style.chart.graduations.stroke,
556
576
  "stroke-linecap": "round"
557
- }, null, 8, Dt)) : c("", !0),
558
- e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
577
+ }, null, 8, to)) : v("", !0),
578
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
559
579
  key: 1,
560
580
  x1: s.value.right,
561
581
  x2: s.value.right - 2.5,
@@ -564,8 +584,8 @@ const Ot = ["id"], St = {
564
584
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
565
585
  stroke: e.value.style.chart.graduations.stroke,
566
586
  "stroke-linecap": "round"
567
- }, null, 8, Bt)) : c("", !0),
568
- e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), n("line", {
587
+ }, null, 8, oo)) : v("", !0),
588
+ e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (r(), u("line", {
569
589
  key: 2,
570
590
  x1: s.value.right,
571
591
  x2: s.value.right - 2.5,
@@ -574,20 +594,25 @@ const Ot = ["id"], St = {
574
594
  "stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
575
595
  stroke: e.value.style.chart.graduations.stroke,
576
596
  "stroke-linecap": "round"
577
- }, null, 8, jt)) : c("", !0)
578
- ], 64)) : c("", !0)
597
+ }, null, 8, so)) : v("", !0)
598
+ ], 64)) : v("", !0)
579
599
  ]))), 128)),
580
- p("rect", {
600
+ m("rect", {
581
601
  class: V({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
582
602
  x: s.value.left,
583
603
  y: s.value.top,
584
604
  height: L.value,
585
605
  width: s.value.thermoWidth,
586
606
  fill: "#FFFFFF66"
587
- }, null, 10, Xt)
588
- ], 8, Nt),
589
- e.value.style.chart.label.show ? (r(), n("g", Kt, [
590
- u(le) ? (r(), n("rect", {
607
+ }, null, 10, ao)
608
+ ], 8, Bt),
609
+ e.value.style.chart.label.show ? (r(), u("g", {
610
+ key: 1,
611
+ role: "status",
612
+ "aria-live": "polite",
613
+ "aria-label": c(M) ? "Loading data" : Q.value
614
+ }, [
615
+ c(M) ? (r(), u("rect", {
591
616
  key: 0,
592
617
  x: s.value.left - 60,
593
618
  y: L.value + s.value.top - A.value / 2,
@@ -595,8 +620,9 @@ const Ot = ["id"], St = {
595
620
  height: A.value,
596
621
  fill: "#6A6A6A40",
597
622
  rx: "3"
598
- }, null, 8, Jt)) : (r(), n("text", {
623
+ }, null, 8, ro)) : (r(), u("text", {
599
624
  key: 1,
625
+ "aria-hidden": "true",
600
626
  class: V({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
601
627
  y: L.value + s.value.top + A.value / 3,
602
628
  x: s.value.left - 10,
@@ -604,43 +630,33 @@ const Ot = ["id"], St = {
604
630
  fill: e.value.style.chart.label.color,
605
631
  "font-size": A.value,
606
632
  "font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
607
- }, ot(u(ht)(
608
- e.value.style.chart.label.formatter,
609
- I.dataset.value,
610
- u(vt)({
611
- p: e.value.style.chart.label.prefix,
612
- v: I.dataset.value,
613
- s: e.value.style.chart.label.suffix,
614
- r: e.value.style.chart.label.rounding
615
- }),
616
- { datapoint: I.dataset }
617
- )), 11, Qt))
618
- ])) : c("", !0),
619
- v(o.$slots, "svg", {
633
+ }, ee(Q.value), 11, no))
634
+ ], 8, lo)) : v("", !0),
635
+ h(o.$slots, "svg", {
620
636
  svg: {
621
- ...ze.value,
622
- isPrintingImg: u(B) | u(j) | T.value,
623
- isPrintingSvg: M.value
637
+ ...Ne.value,
638
+ isPrintingImg: c(B) | c(j) | F.value,
639
+ isPrintingSvg: T.value
624
640
  }
625
641
  }, void 0, !0)
626
- ], 10, It)),
627
- o.$slots.watermark ? (r(), n("div", Zt, [
628
- v(o.$slots, "watermark", y(g({ isPrinting: u(B) || u(j) || T.value || M.value })), void 0, !0)
629
- ])) : c("", !0),
630
- o.$slots.source ? (r(), n("div", {
642
+ ], 10, Lt)),
643
+ o.$slots.watermark ? (r(), u("div", uo, [
644
+ h(o.$slots, "watermark", p(k({ isPrinting: c(B) || c(j) || F.value || T.value })), void 0, !0)
645
+ ])) : v("", !0),
646
+ o.$slots.source ? (r(), u("div", {
631
647
  key: 5,
632
648
  ref_key: "source",
633
- ref: se,
649
+ ref: le,
634
650
  dir: "auto"
635
651
  }, [
636
- v(o.$slots, "source", {}, void 0, !0)
637
- ], 512)) : c("", !0),
638
- v(o.$slots, "skeleton", {}, () => [
639
- u(le) ? (r(), Y(gt, { key: 0 })) : c("", !0)
652
+ h(o.$slots, "source", {}, void 0, !0)
653
+ ], 512)) : v("", !0),
654
+ h(o.$slots, "skeleton", {}, () => [
655
+ c(M) ? (r(), N(Ct, { key: 0 })) : v("", !0)
640
656
  ], !0)
641
- ], 46, Ot));
657
+ ], 46, zt));
642
658
  }
643
- }, po = /* @__PURE__ */ Pt(eo, [["__scopeId", "data-v-10ce3bce"]]);
659
+ }, Oo = /* @__PURE__ */ Ut(io, [["__scopeId", "data-v-e2a33fa2"]]);
644
660
  export {
645
- po as default
661
+ Oo as default
646
662
  };