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,32 +1,32 @@
1
- import { defineAsyncComponent as X, ref as h, computed as i, onMounted as Je, toRefs as Ke, watch as me, onBeforeUnmount as Qe, openBlock as o, createElementBlock as u, unref as n, normalizeStyle as Y, normalizeClass as ye, createBlock as L, withCtx as f, renderSlot as c, normalizeProps as b, guardReactiveProps as k, createCommentVNode as d, createElementVNode as S, createSlots as Ze, createVNode as et, Fragment as J, renderList as K, toDisplayString as R, Teleport as tt, nextTick as at } from "vue";
2
- import { u as lt } from "./useConfig-CIgyKZ6R.js";
3
- import { j as st, t as pe, x as ot, D as nt, s as rt, k as z, l as U, X as ut, o as be, q as ke, r as it } from "./lib-GwPnJSrY.js";
4
- import { t as ct, u as vt } from "./useResponsive-DfdjqQps.js";
5
- import { u as ht } from "./usePrinter-DiK5R6k-.js";
1
+ import { defineAsyncComponent as X, ref as h, computed as i, onMounted as Je, toRefs as Ke, watch as me, onBeforeUnmount as Qe, openBlock as o, createElementBlock as u, unref as n, normalizeStyle as Y, normalizeClass as ye, createBlock as S, withCtx as f, renderSlot as v, normalizeProps as k, guardReactiveProps as w, createCommentVNode as d, createElementVNode as C, createSlots as Ze, createVNode as et, toDisplayString as A, Fragment as J, renderList as K, Teleport as tt, nextTick as at } from "vue";
2
+ import { u as lt } from "./useConfig-DO94Aj5s.js";
3
+ import { j as st, t as pe, x as ot, D as nt, s as rt, k as z, l as U, X as ut, o as be, q as ke, r as it } from "./lib-DBptbyyI.js";
4
+ import { t as vt, u as ct } from "./useResponsive-DfdjqQps.js";
5
+ import { u as ht } from "./usePrinter-CEpYU3r5.js";
6
6
  import { u as dt, B as gt } from "./BaseScanner-BhhkKVoj.js";
7
7
  import { u as ft } from "./useSvgExport-ByUukOZt.js";
8
- import { u as Q } from "./useNestedProp-BBT0mbHh.js";
8
+ import { u as Q } from "./useNestedProp-Bf5XFbs8.js";
9
9
  import { u as mt } from "./useThemeCheck-D1ZYXUwG.js";
10
10
  import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
11
11
  import { u as pt } from "./useChartAccessibility-9icAAmYg.js";
12
12
  import bt from "./vue_ui_bullet-Ckqieba5.js";
13
- import kt from "./Legend-1LMMsPxL.js";
14
- import wt from "./Title-BfyrP-jp.js";
15
- import Ct from "./img-BYYzY_QU.js";
13
+ import kt from "./Legend-CS7Xo5LK.js";
14
+ import wt from "./Title-BeMKE1cj.js";
15
+ import Ct from "./img-LXxMLmCg.js";
16
16
  import { _ as xt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const At = ["id"], $t = {
18
18
  key: 1,
19
19
  ref: "noTitle",
20
20
  class: "vue-data-ui-no-title-space",
21
21
  style: "height:36px; width: 100%;background:transparent"
22
- }, Ot = ["id"], Lt = ["xmlns", "viewBox"], St = ["width", "height"], _t = { key: 1 }, Pt = ["x", "y", "height", "width", "fill", "stroke"], Bt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], It = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "font-weight", "fill"], Ft = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ht = { key: 3 }, Mt = ["x", "y", "fill", "font-size", "font-weight"], Rt = { key: 4 }, zt = ["x1", "x2", "y1", "y2", "stroke"], Ut = {
22
+ }, Ot = ["id"], Lt = ["xmlns", "viewBox", "aria-labelledby", "aria-describedby"], _t = ["id"], St = ["id"], Pt = ["width", "height"], Bt = { key: 1 }, It = ["x", "y", "height", "width", "fill", "stroke"], Tt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Ft = ["x", "y", "height", "width", "fill", "stroke", "stroke-width"], Ht = ["x", "y", "font-size", "font-weight", "fill"], Mt = ["x", "y", "height", "width", "rx", "fill", "stroke", "stroke-width"], Rt = { key: 3 }, zt = ["x", "y", "fill", "font-size", "font-weight"], Ut = { key: 4 }, Nt = ["x1", "x2", "y1", "y2", "stroke"], Et = {
23
23
  key: 4,
24
24
  class: "vue-data-ui-watermark"
25
- }, Nt = ["id"], Et = {
25
+ }, Dt = ["id"], Vt = {
26
26
  key: 0,
27
27
  class: "vue-ui-bullet-legend-item",
28
28
  dir: "auto"
29
- }, Dt = { style: { "margin-right": "2px" } }, Wt = {
29
+ }, Wt = { style: { "margin-right": "2px" } }, Gt = {
30
30
  __name: "vue-ui-bullet",
31
31
  props: {
32
32
  config: {
@@ -44,10 +44,10 @@ const At = ["id"], $t = {
44
44
  },
45
45
  emits: ["copyAlt"],
46
46
  setup(we, { expose: Ce, emit: xe }) {
47
- const Ae = X(() => import("./PackageVersion-DN9d0ME5.js")), $e = X(() => import("./PenAndPaper-DWV1FMIi.js")), Oe = X(() => import("./UserOptions-CrLqEimB.js")), { vue_ui_bullet: Le } = lt(), { isThemeValid: Se, warnInvalidTheme: _e } = mt(), x = we, Pe = xe, w = h(null), Z = h(null), ee = h(0), te = h(null), ae = h(null), Be = h(0), _ = h(null), I = h(null), le = h(!1), T = h(!1), F = h(!1), A = i({
48
- get: () => v.value.hasOwnProperty("value"),
47
+ const Ae = X(() => import("./PackageVersion-DPO-OOVI.js")), $e = X(() => import("./PenAndPaper-Ct3qJ4lA.js")), Oe = X(() => import("./UserOptions-rW2fRf3V.js")), { vue_ui_bullet: Le } = lt(), { isThemeValid: _e, warnInvalidTheme: Se } = mt(), $ = we, Pe = xe, x = h(null), Z = h(null), ee = h(0), te = h(null), ae = h(null), Be = h(0), P = h(null), T = h(null), le = h(!1), F = h(!1), H = h(!1), O = i({
48
+ get: () => c.value.hasOwnProperty("value"),
49
49
  set: (t) => t
50
- }), P = i(() => v.value.segments ? Array.isArray(v.value.segments) ? v.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
50
+ }), B = i(() => c.value.segments ? Array.isArray(c.value.segments) ? c.value.segments.length ? !0 : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
51
51
 
52
52
  segments: [
53
53
  {
@@ -58,7 +58,7 @@ segments: [
58
58
  },
59
59
  {...}
60
60
  ]
61
- `), A.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
61
+ `), O.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments must be an array of objects with this datastructure:
62
62
 
63
63
  segments: [
64
64
  {
@@ -69,7 +69,7 @@ segments: [
69
69
  },
70
70
  {...}
71
71
  ]
72
- `), A.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
72
+ `), O.value = !1, !1) : (console.warn(`VueUiBullet: dataset segments is empty. Provide segments with this datastructure:
73
73
 
74
74
  segments: [
75
75
  {
@@ -80,7 +80,7 @@ segments: [
80
80
  },
81
81
  {...}
82
82
  ]
83
- `), A.value = !1, !1)), se = i(() => !!e.value.debug), Ie = i(() => {
83
+ `), O.value = !1, !1)), se = i(() => !!e.value.debug), Ie = i(() => {
84
84
  const { top: t, right: l, bottom: a, left: r } = e.value.style.chart.padding;
85
85
  return {
86
86
  top: t,
@@ -90,16 +90,16 @@ segments: [
90
90
  };
91
91
  });
92
92
  function oe() {
93
- if (be(v.value) ? (ke({
93
+ if (be(c.value) ? (ke({
94
94
  componentName: "VueUiBullet",
95
95
  type: "dataset",
96
96
  debug: se.value
97
- }), H.value = !0) : P.value ? v.value.segments.forEach((t, l) => {
97
+ }), M.value = !0) : B.value ? c.value.segments.forEach((t, l) => {
98
98
  it({
99
99
  datasetObject: t,
100
100
  requiredAttributes: ["name", "from", "to"]
101
101
  }).forEach((a) => {
102
- A.value = !1, ke({
102
+ O.value = !1, ke({
103
103
  componentName: "VueUiBullet segment",
104
104
  type: "datasetSerieAttribute",
105
105
  property: a,
@@ -107,41 +107,41 @@ segments: [
107
107
  debug: se.value
108
108
  });
109
109
  });
110
- }) : (A.value = !1, H.value = !0), be(v.value) || (H.value = e.value.loading), e.value.responsive) {
111
- const t = ct(() => {
112
- const { width: l, height: a } = vt({
113
- chart: w.value,
110
+ }) : (O.value = !1, M.value = !0), be(c.value) || (M.value = e.value.loading), e.value.responsive) {
111
+ const t = vt(() => {
112
+ const { width: l, height: a } = ct({
113
+ chart: x.value,
114
114
  title: e.value.style.chart.title.text ? Z.value : null,
115
115
  legend: e.value.style.chart.legend.show ? te.value : null,
116
116
  source: ae.value,
117
117
  padding: Ie.value
118
- }), p = (e.value.style.chart.legend.show ? 24 : 0) || 12;
118
+ }), b = (e.value.style.chart.legend.show ? 24 : 0) || 12;
119
119
  requestAnimationFrame(() => {
120
- O.value.width = l, O.value.height = a - p;
120
+ _.value.width = l, _.value.height = a - b;
121
121
  });
122
122
  });
123
- _.value && (I.value && _.value.unobserve(I.value), _.value.disconnect()), _.value = new ResizeObserver(t), I.value = w.value.parentNode, _.value.observe(I.value);
123
+ P.value && (T.value && P.value.unobserve(T.value), P.value.disconnect()), P.value = new ResizeObserver(t), T.value = x.value.parentNode, P.value.observe(T.value);
124
124
  }
125
- e.value.style.chart.animation.show && !$.value && ce(v.value.value || 0);
125
+ e.value.style.chart.animation.show && !L.value && ve(c.value.value || 0);
126
126
  }
127
127
  Je(() => {
128
128
  le.value = !0, oe();
129
129
  });
130
- const C = h(st());
130
+ const p = h(st());
131
131
  function N() {
132
132
  const t = Q({
133
- userConfig: x.config,
133
+ userConfig: $.config,
134
134
  defaultConfig: Le
135
135
  }), l = t.theme;
136
136
  if (!l) return t;
137
- if (!Se.value(t))
138
- return _e(t), t;
137
+ if (!_e.value(t))
138
+ return Se(t), t;
139
139
  const a = Q({
140
- userConfig: bt[l] || x.config,
140
+ userConfig: bt[l] || $.config,
141
141
  defaultConfig: t
142
142
  });
143
143
  return Q({
144
- userConfig: x.config,
144
+ userConfig: $.config,
145
145
  defaultConfig: a
146
146
  });
147
147
  }
@@ -164,11 +164,11 @@ segments: [
164
164
  }
165
165
  },
166
166
  userConfig: e.value.skeletonConfig ?? {}
167
- })), { loading: $, FINAL_DATASET: v, manualLoading: H } = dt({
168
- ...Ke(x),
167
+ })), { loading: L, FINAL_DATASET: c, manualLoading: M } = dt({
168
+ ...Ke($),
169
169
  FINAL_CONFIG: e,
170
170
  prepareConfig: N,
171
- skeletonDataset: x.config?.skeletonDataset ?? {
171
+ skeletonDataset: $.config?.skeletonDataset ?? {
172
172
  value: 100,
173
173
  target: 100,
174
174
  segments: [
@@ -196,43 +196,43 @@ segments: [
196
196
  defaultConfig: e.value,
197
197
  userConfig: Te.value
198
198
  })
199
- }), { userOptionsVisible: E, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: D } = pt({ config: e.value.style.chart.title }), O = h({
199
+ }), { userOptionsVisible: E, setUserOptionsVisibility: re, keepUserOptionState: ue } = yt({ config: e.value }), { svgRef: D } = pt({ config: e.value.style.chart.title }), _ = h({
200
200
  width: e.value.style.chart.width,
201
201
  height: e.value.style.chart.height
202
- }), Fe = i(() => O.value.width), He = i(() => O.value.height);
203
- me(() => x.config, (t) => {
204
- $.value || (e.value = N()), E.value = !e.value.userOptions.showOnChartHover, O.value.width = e.value.style.chart.width, O.value.height = e.value.style.chart.height, oe(), ee.value += 1;
202
+ }), Fe = i(() => _.value.width), He = i(() => _.value.height);
203
+ me(() => $.config, (t) => {
204
+ L.value || (e.value = N()), E.value = !e.value.userOptions.showOnChartHover, _.value.width = e.value.style.chart.width, _.value.height = e.value.style.chart.height, oe(), ee.value += 1;
205
205
  }, { deep: !0 });
206
206
  const s = i(() => {
207
- const t = He.value, l = Fe.value, a = e.value.style.chart.padding.left, r = l - e.value.style.chart.padding.right, p = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
207
+ const t = He.value, l = Fe.value, a = e.value.style.chart.padding.left, r = l - e.value.style.chart.padding.right, b = e.value.style.chart.padding.top, g = t - e.value.style.chart.padding.bottom;
208
208
  return {
209
209
  height: Math.max(1e-3, t),
210
210
  width: Math.max(1e-3, l),
211
211
  left: a,
212
212
  right: r,
213
- top: p,
213
+ top: b,
214
214
  bottom: g,
215
215
  chartWidth: Math.max(1e-3, r - a),
216
- chartHeight: Math.max(1e-3, g - p)
216
+ chartHeight: Math.max(1e-3, g - b)
217
217
  };
218
218
  }), Me = i(() => {
219
- if (!P.value) return [];
219
+ if (!B.value) return [];
220
220
  const t = [];
221
- for (let l = 0; l < v.value.segments.length; l += 1)
222
- t.push(ot(e.value.style.chart.segments.baseColor, l / v.value.segments.length));
221
+ for (let l = 0; l < c.value.segments.length; l += 1)
222
+ t.push(ot(e.value.style.chart.segments.baseColor, l / c.value.segments.length));
223
223
  return t;
224
- }), W = i(() => P.value ? {
225
- min: Math.min(...v.value.segments.map((t) => t.from)),
226
- max: Math.max(...v.value.segments.map((t) => t.to))
224
+ }), V = i(() => B.value ? {
225
+ min: Math.min(...c.value.segments.map((t) => t.from)),
226
+ max: Math.max(...c.value.segments.map((t) => t.to))
227
227
  } : { min: 0, max: 1 }), m = h(Re());
228
- me(() => v.value, (t) => {
229
- t.hasOwnProperty("value") && (H.value = !1), e.value.style.chart.animation.show && !$.value ? ce(t.value || 0) : m.value = t.value || 0;
228
+ me(() => c.value, (t) => {
229
+ t.hasOwnProperty("value") && (M.value = !1), e.value.style.chart.animation.show && !L.value ? ve(t.value || 0) : m.value = t.value || 0;
230
230
  }, { deep: !0 });
231
231
  function Re() {
232
- return e.value.style.chart.animation.show && !$.value ? W.value.min : v.value.value || 0;
232
+ return e.value.style.chart.animation.show && !L.value ? V.value.min : c.value.value || 0;
233
233
  }
234
234
  const ie = h(null);
235
- function ce(t) {
235
+ function ve(t) {
236
236
  const l = Math.abs(t - m.value) / e.value.style.chart.animation.animationFrames;
237
237
  function a() {
238
238
  m.value < t ? m.value = Math.min(m.value + l, t) : m.value > t && (m.value = Math.max(m.value - l, t)), m.value !== t && (ie.value = requestAnimationFrame(a));
@@ -243,13 +243,13 @@ segments: [
243
243
  cancelAnimationFrame(ie.value);
244
244
  });
245
245
  const y = i(() => {
246
- if (!P.value)
246
+ if (!B.value)
247
247
  return [];
248
- const t = nt(W.value.min, W.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
249
- x: s.value.left + (v.value.target + l) / (t.max + l) * s.value.chartWidth - e.value.style.chart.target.width / 2
248
+ const t = nt(V.value.min, V.value.max, e.value.style.chart.segments.ticks.divisions), l = t.min >= 0 ? 0 : Math.abs(t.min), a = {
249
+ x: s.value.left + (c.value.target + l) / (t.max + l) * s.value.chartWidth - e.value.style.chart.target.width / 2
250
250
  }, r = {
251
251
  width: (m.value + l) / (t.max + l) * s.value.chartWidth
252
- }, p = t.ticks.map((g) => ({
252
+ }, b = t.ticks.map((g) => ({
253
253
  value: g,
254
254
  y: s.value.bottom + e.value.style.chart.segments.dataLabels.fontSize + 3 + e.value.style.chart.segments.dataLabels.offsetY,
255
255
  x: s.value.left + (g + l) / (t.max + l) * s.value.chartWidth
@@ -258,8 +258,8 @@ segments: [
258
258
  scale: t,
259
259
  target: a,
260
260
  value: r,
261
- ticks: p,
262
- chunks: v.value.segments.map((g, Ye) => ({
261
+ ticks: b,
262
+ chunks: c.value.segments.map((g, Ye) => ({
263
263
  ...g,
264
264
  color: g.color ? rt(g.color) : Me.value[Ye],
265
265
  x: s.value.left + s.value.chartWidth * ((g.from + l) / (t.max + l)),
@@ -268,7 +268,7 @@ segments: [
268
268
  width: s.value.chartWidth * (Math.abs(g.to - g.from) / (t.max + l))
269
269
  }))
270
270
  };
271
- }), V = i(() => !y.value || !y.value.chunks || !y.value.chunks.length ? [] : y.value.chunks.map((t) => {
271
+ }), W = i(() => !y.value || !y.value.chunks || !y.value.chunks.length ? [] : y.value.chunks.map((t) => {
272
272
  const l = z(
273
273
  e.value.style.chart.segments.dataLabels.formatter,
274
274
  t.from,
@@ -301,26 +301,26 @@ segments: [
301
301
  fontSize: e.value.style.chart.legend.fontSize,
302
302
  paddingBottom: 6,
303
303
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
304
- })), { isPrinting: G, isImaging: j, generatePdf: ve, generateImage: he } = ht({
305
- elementId: `bullet_${C.value}`,
304
+ })), { isPrinting: G, isImaging: j, generatePdf: ce, generateImage: he } = ht({
305
+ elementId: `bullet_${p.value}`,
306
306
  fileName: e.value.style.chart.title.text || "vue-ui-bullet",
307
307
  options: e.value.userOptions.print
308
- }), Ue = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), B = h(!1);
308
+ }), Ue = i(() => e.value.userOptions.show && !e.value.style.chart.title.text), I = h(!1);
309
309
  function de(t) {
310
- B.value = t, Be.value += 1;
310
+ I.value = t, Be.value += 1;
311
311
  }
312
312
  function Ne() {
313
313
  return y.value;
314
314
  }
315
- const M = h(!1);
315
+ const R = h(!1);
316
316
  function q() {
317
- M.value = !M.value;
317
+ R.value = !R.value;
318
318
  }
319
319
  async function Ee({ scale: t = 2 } = {}) {
320
- if (!w.value) return;
321
- const { width: l, height: a } = w.value.getBoundingClientRect(), r = l / a, { imageUri: p, base64: g } = await Ct({ domElement: w.value, base64: !0, img: !0, scale: t });
320
+ if (!x.value) return;
321
+ const { width: l, height: a } = x.value.getBoundingClientRect(), r = l / a, { imageUri: b, base64: g } = await Ct({ domElement: x.value, base64: !0, img: !0, scale: t });
322
322
  return {
323
- imageUri: p,
323
+ imageUri: b,
324
324
  base64: g,
325
325
  title: e.value.style.chart.title.text,
326
326
  width: l,
@@ -328,35 +328,35 @@ segments: [
328
328
  aspectRatio: r
329
329
  };
330
330
  }
331
- const De = i(() => V.value.map((t) => ({
331
+ const De = i(() => W.value.map((t) => ({
332
332
  ...t,
333
333
  name: t.display
334
- }))), We = i(() => e.value.style.chart.backgroundColor), Ve = i(() => e.value.style.chart.legend), Ge = i(() => e.value.style.chart.title), { exportSvg: je, getSvg: qe } = ft({
334
+ }))), Ve = i(() => e.value.style.chart.backgroundColor), We = i(() => e.value.style.chart.legend), Ge = i(() => e.value.style.chart.title), { exportSvg: je, getSvg: qe } = ft({
335
335
  svg: D,
336
336
  title: Ge,
337
- legend: Ve,
337
+ legend: We,
338
338
  legendItems: De,
339
- backgroundColor: We
339
+ backgroundColor: Ve
340
340
  });
341
341
  async function ge({ isCb: t }) {
342
- F.value = !0, await at();
342
+ H.value = !0, await at();
343
343
  try {
344
344
  if (t) {
345
- const { blob: l, url: a, text: r, dataUrl: p } = await qe();
346
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: r, dataUrl: p }));
345
+ const { blob: l, url: a, text: r, dataUrl: b } = await qe();
346
+ await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: l, url: a, text: r, dataUrl: b }));
347
347
  } else
348
348
  await Promise.resolve(je());
349
349
  } finally {
350
- F.value = !1;
350
+ H.value = !1;
351
351
  }
352
352
  }
353
353
  function Xe(t) {
354
354
  if (t?.stage === "start") {
355
- T.value = !0;
355
+ F.value = !0;
356
356
  return;
357
357
  }
358
358
  if (t?.stage === "end") {
359
- T.value = !1;
359
+ F.value = !1;
360
360
  return;
361
361
  }
362
362
  he();
@@ -364,20 +364,20 @@ segments: [
364
364
  async function fe() {
365
365
  if (Pe("copyAlt", {
366
366
  config: e.value,
367
- dataset: v.value
367
+ dataset: c.value
368
368
  }), !e.value.userOptions.callbacks.altCopy) {
369
369
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
370
370
  return;
371
371
  }
372
372
  await Promise.resolve(e.value.userOptions.callbacks.altCopy({
373
373
  config: e.value,
374
- dataset: v.value
374
+ dataset: c.value
375
375
  }));
376
376
  }
377
377
  return Ce({
378
378
  getData: Ne,
379
379
  getImage: Ee,
380
- generatePdf: ve,
380
+ generatePdf: ce,
381
381
  generateImage: he,
382
382
  generateSvg: ge,
383
383
  toggleAnnotator: q,
@@ -385,39 +385,39 @@ segments: [
385
385
  copyAlt: fe
386
386
  }), (t, l) => (o(), u("div", {
387
387
  ref_key: "bulletChart",
388
- ref: w,
389
- class: ye(`vue-data-ui-component vue-ui-bullet ${B.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
388
+ ref: x,
389
+ class: ye(`vue-data-ui-component vue-ui-bullet ${I.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
390
390
  style: Y(`font-family:${e.value.style.fontFamily};width:100%;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
391
- id: `bullet_${C.value}`,
391
+ id: `bullet_${p.value}`,
392
392
  onMouseenter: l[0] || (l[0] = () => n(re)(!0)),
393
393
  onMouseleave: l[1] || (l[1] = () => n(re)(!1))
394
394
  }, [
395
- e.value.userOptions.buttons.annotator ? (o(), L(n($e), {
395
+ e.value.userOptions.buttons.annotator ? (o(), S(n($e), {
396
396
  key: 0,
397
397
  svgRef: n(D),
398
398
  backgroundColor: e.value.style.chart.backgroundColor,
399
399
  color: e.value.style.chart.color,
400
- active: M.value,
400
+ active: R.value,
401
401
  isCursorPointer: ne.value,
402
402
  onClose: q
403
403
  }, {
404
404
  "annotator-action-close": f(() => [
405
- c(t.$slots, "annotator-action-close", {}, void 0, !0)
405
+ v(t.$slots, "annotator-action-close", {}, void 0, !0)
406
406
  ]),
407
407
  "annotator-action-color": f(({ color: a }) => [
408
- c(t.$slots, "annotator-action-color", b(k({ color: a })), void 0, !0)
408
+ v(t.$slots, "annotator-action-color", k(w({ color: a })), void 0, !0)
409
409
  ]),
410
410
  "annotator-action-draw": f(({ mode: a }) => [
411
- c(t.$slots, "annotator-action-draw", b(k({ mode: a })), void 0, !0)
411
+ v(t.$slots, "annotator-action-draw", k(w({ mode: a })), void 0, !0)
412
412
  ]),
413
413
  "annotator-action-undo": f(({ disabled: a }) => [
414
- c(t.$slots, "annotator-action-undo", b(k({ disabled: a })), void 0, !0)
414
+ v(t.$slots, "annotator-action-undo", k(w({ disabled: a })), void 0, !0)
415
415
  ]),
416
416
  "annotator-action-redo": f(({ disabled: a }) => [
417
- c(t.$slots, "annotator-action-redo", b(k({ disabled: a })), void 0, !0)
417
+ v(t.$slots, "annotator-action-redo", k(w({ disabled: a })), void 0, !0)
418
418
  ]),
419
419
  "annotator-action-delete": f(({ disabled: a }) => [
420
- c(t.$slots, "annotator-action-delete", b(k({ disabled: a })), void 0, !0)
420
+ v(t.$slots, "annotator-action-delete", k(w({ disabled: a })), void 0, !0)
421
421
  ]),
422
422
  _: 3
423
423
  }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : d("", !0),
@@ -428,7 +428,7 @@ segments: [
428
428
  ref: Z,
429
429
  style: "width:100%;background:transparent;"
430
430
  }, [
431
- (o(), L(wt, {
431
+ (o(), S(wt, {
432
432
  lineHeight: "1.3rem",
433
433
  key: `title_${ee.value}`,
434
434
  config: {
@@ -443,17 +443,17 @@ segments: [
443
443
  }
444
444
  }, null, 8, ["config"]))
445
445
  ], 512)) : d("", !0),
446
- S("div", {
447
- id: `legend-top-${C.value}`
446
+ C("div", {
447
+ id: `legend-top-${p.value}`
448
448
  }, null, 8, Ot),
449
- e.value.userOptions.show && A.value && (n(ue) || n(E)) ? (o(), L(n(Oe), {
449
+ e.value.userOptions.show && O.value && (n(ue) || n(E)) ? (o(), S(n(Oe), {
450
450
  key: 3,
451
451
  ref: "details",
452
452
  backgroundColor: e.value.style.chart.backgroundColor,
453
453
  color: e.value.style.chart.color,
454
454
  isPrinting: n(G),
455
455
  isImaging: n(j),
456
- uid: C.value,
456
+ uid: p.value,
457
457
  hasTooltip: !1,
458
458
  hasPdf: e.value.userOptions.buttons.pdf,
459
459
  hasImg: e.value.userOptions.buttons.img,
@@ -463,17 +463,17 @@ segments: [
463
463
  hasLabel: !1,
464
464
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
465
465
  hasAltCopy: e.value.userOptions.buttons.altCopy,
466
- isFullscreen: B.value,
467
- chartElement: w.value,
466
+ isFullscreen: I.value,
467
+ chartElement: x.value,
468
468
  position: e.value.userOptions.position,
469
469
  titles: { ...e.value.userOptions.buttonTitles },
470
470
  hasAnnotator: e.value.userOptions.buttons.annotator,
471
- isAnnotation: M.value,
471
+ isAnnotation: R.value,
472
472
  callbacks: e.value.userOptions.callbacks,
473
473
  printScale: e.value.userOptions.print.scale,
474
474
  isCursorPointer: ne.value,
475
475
  onToggleFullscreen: de,
476
- onGeneratePdf: n(ve),
476
+ onGeneratePdf: n(ce),
477
477
  onGenerateImage: Xe,
478
478
  onGenerateSvg: ge,
479
479
  onToggleAnnotator: q,
@@ -485,49 +485,49 @@ segments: [
485
485
  t.$slots.menuIcon ? {
486
486
  name: "menuIcon",
487
487
  fn: f(({ isOpen: a, color: r }) => [
488
- c(t.$slots, "menuIcon", b(k({ isOpen: a, color: r })), void 0, !0)
488
+ v(t.$slots, "menuIcon", k(w({ isOpen: a, color: r })), void 0, !0)
489
489
  ]),
490
490
  key: "0"
491
491
  } : void 0,
492
492
  t.$slots.optionPdf ? {
493
493
  name: "optionPdf",
494
494
  fn: f(() => [
495
- c(t.$slots, "optionPdf", {}, void 0, !0)
495
+ v(t.$slots, "optionPdf", {}, void 0, !0)
496
496
  ]),
497
497
  key: "1"
498
498
  } : void 0,
499
499
  t.$slots.optionImg ? {
500
500
  name: "optionImg",
501
501
  fn: f(() => [
502
- c(t.$slots, "optionImg", {}, void 0, !0)
502
+ v(t.$slots, "optionImg", {}, void 0, !0)
503
503
  ]),
504
504
  key: "2"
505
505
  } : void 0,
506
506
  t.$slots.optionSvg ? {
507
507
  name: "optionSvg",
508
508
  fn: f(() => [
509
- c(t.$slots, "optionSvg", {}, void 0, !0)
509
+ v(t.$slots, "optionSvg", {}, void 0, !0)
510
510
  ]),
511
511
  key: "3"
512
512
  } : void 0,
513
513
  t.$slots.optionFullscreen ? {
514
514
  name: "optionFullscreen",
515
515
  fn: f(({ toggleFullscreen: a, isFullscreen: r }) => [
516
- c(t.$slots, "optionFullscreen", b(k({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
516
+ v(t.$slots, "optionFullscreen", k(w({ toggleFullscreen: a, isFullscreen: r })), void 0, !0)
517
517
  ]),
518
518
  key: "4"
519
519
  } : void 0,
520
520
  t.$slots.optionAnnotator ? {
521
521
  name: "optionAnnotator",
522
522
  fn: f(({ toggleAnnotator: a, isAnnotator: r }) => [
523
- c(t.$slots, "optionAnnotator", b(k({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
523
+ v(t.$slots, "optionAnnotator", k(w({ toggleAnnotator: a, isAnnotator: r })), void 0, !0)
524
524
  ]),
525
525
  key: "5"
526
526
  } : void 0,
527
527
  t.$slots.optionAltCopy ? {
528
528
  name: "optionAltCopy",
529
529
  fn: f(({ altCopy: a }) => [
530
- c(t.$slots, "optionAltCopy", b(k({ altCopy: a })), void 0, !0)
530
+ v(t.$slots, "optionAltCopy", k(w({ altCopy: a })), void 0, !0)
531
531
  ]),
532
532
  key: "6"
533
533
  } : void 0
@@ -536,11 +536,19 @@ segments: [
536
536
  ref_key: "svgRef",
537
537
  ref: D,
538
538
  xmlns: n(ut),
539
- class: ye({ "vue-data-ui-fullscreen--on": B.value, "vue-data-ui-fulscreen--off": !B.value, "vue-ui-bullet-svg": !0 }),
539
+ class: ye({ "vue-data-ui-fullscreen--on": I.value, "vue-data-ui-fulscreen--off": !I.value, "vue-ui-bullet-svg": !0 }),
540
540
  viewBox: `0 0 ${s.value.width} ${s.value.height}`,
541
- style: Y(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
541
+ style: Y(`width: 100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
542
+ "aria-labelledby": `bullet-svg-title-${p.value}`,
543
+ "aria-describedby": `bullet-svg-desc-${p.value}`
542
544
  }, [
543
545
  et(n(Ae)),
546
+ C("title", {
547
+ id: `bullet-svg-title-${p.value}`
548
+ }, A(e.value.style.chart.title.text || "Bullet chart"), 9, _t),
549
+ C("desc", {
550
+ id: `bullet-svg-desc-${p.value}`
551
+ }, " Value: " + A(m.value) + ", Target: " + A(y.value.target?.value), 9, St),
544
552
  t.$slots["chart-background"] ? (o(), u("foreignObject", {
545
553
  key: 0,
546
554
  x: 0,
@@ -551,9 +559,9 @@ segments: [
551
559
  pointerEvents: "none"
552
560
  }
553
561
  }, [
554
- c(t.$slots, "chart-background", {}, void 0, !0)
555
- ], 8, St)) : d("", !0),
556
- P.value ? (o(), u("g", _t, [
562
+ v(t.$slots, "chart-background", {}, void 0, !0)
563
+ ], 8, Pt)) : d("", !0),
564
+ B.value ? (o(), u("g", Bt, [
557
565
  (o(!0), u(J, null, K(y.value.chunks, (a) => (o(), u("rect", {
558
566
  x: a.x,
559
567
  y: a.y,
@@ -563,7 +571,7 @@ segments: [
563
571
  "stroke-width": 1,
564
572
  stroke: e.value.style.chart.backgroundColor,
565
573
  style: { transition: "x 0.3s ease-in-out, width 0.3s ease-in-out" }
566
- }, null, 8, Pt))), 256)),
574
+ }, null, 8, It))), 256)),
567
575
  !e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), u("rect", {
568
576
  key: 0,
569
577
  x: y.value.target.x,
@@ -574,8 +582,8 @@ segments: [
574
582
  fill: e.value.style.chart.target.color,
575
583
  stroke: e.value.style.chart.target.stroke,
576
584
  "stroke-width": e.value.style.chart.target.strokeWidth
577
- }, null, 8, Bt)) : d("", !0),
578
- S("rect", {
585
+ }, null, 8, Tt)) : d("", !0),
586
+ C("rect", {
579
587
  x: s.value.left,
580
588
  y: s.value.top + (s.value.chartHeight - s.value.chartHeight * e.value.style.chart.valueBar.heightRatio) / 2,
581
589
  height: s.value.chartHeight * e.value.style.chart.valueBar.heightRatio,
@@ -583,7 +591,7 @@ segments: [
583
591
  fill: e.value.style.chart.valueBar.color,
584
592
  stroke: e.value.style.chart.valueBar.stroke,
585
593
  "stroke-width": e.value.style.chart.valueBar.strokeWidth
586
- }, null, 8, It),
594
+ }, null, 8, Ft),
587
595
  e.value.style.chart.valueBar.label.show ? (o(), u("text", {
588
596
  key: 1,
589
597
  x: s.value.left + y.value.value.width,
@@ -592,7 +600,7 @@ segments: [
592
600
  "font-weight": e.value.style.chart.valueBar.label.bold ? "bold" : "normal",
593
601
  fill: e.value.style.chart.valueBar.label.color,
594
602
  "text-anchor": "middle"
595
- }, R(n(z)(
603
+ }, A(n(z)(
596
604
  e.value.style.chart.segments.dataLabels.formatter,
597
605
  m.value,
598
606
  n(U)({
@@ -601,7 +609,7 @@ segments: [
601
609
  s: e.value.style.chart.segments.dataLabels.suffix,
602
610
  r: e.value.style.chart.segments.dataLabels.rounding
603
611
  })
604
- )), 9, Tt)) : d("", !0),
612
+ )), 9, Ht)) : d("", !0),
605
613
  e.value.style.chart.target.onTop && e.value.style.chart.target.show ? (o(), u("rect", {
606
614
  key: 2,
607
615
  x: y.value.target.x,
@@ -613,8 +621,8 @@ segments: [
613
621
  stroke: e.value.style.chart.target.stroke,
614
622
  "stroke-width": e.value.style.chart.target.strokeWidth,
615
623
  style: { transition: "x 0.3s ease-in-out" }
616
- }, null, 8, Ft)) : d("", !0),
617
- e.value.style.chart.segments.dataLabels.show ? (o(), u("g", Ht, [
624
+ }, null, 8, Mt)) : d("", !0),
625
+ e.value.style.chart.segments.dataLabels.show ? (o(), u("g", Rt, [
618
626
  (o(!0), u(J, null, K(y.value.ticks, (a) => (o(), u("text", {
619
627
  x: a.x,
620
628
  y: a.y,
@@ -622,7 +630,7 @@ segments: [
622
630
  fill: e.value.style.chart.segments.dataLabels.color,
623
631
  "font-size": e.value.style.chart.segments.dataLabels.fontSize + "px",
624
632
  "font-weight": e.value.style.chart.segments.dataLabels.bold ? "bold" : "normal"
625
- }, R(n(z)(
633
+ }, A(n(z)(
626
634
  e.value.style.chart.segments.dataLabels.formatter,
627
635
  a.value,
628
636
  n(U)({
@@ -631,9 +639,9 @@ segments: [
631
639
  s: e.value.style.chart.segments.dataLabels.suffix,
632
640
  r: e.value.style.chart.segments.dataLabels.rounding
633
641
  })
634
- )), 9, Mt))), 256))
642
+ )), 9, zt))), 256))
635
643
  ])) : d("", !0),
636
- e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (o(), u("g", Rt, [
644
+ e.value.style.chart.segments.dataLabels.show && e.value.style.chart.segments.ticks.show ? (o(), u("g", Ut, [
637
645
  (o(!0), u(J, null, K(y.value.ticks, (a) => (o(), u("line", {
638
646
  x1: a.x,
639
647
  x2: a.x,
@@ -642,46 +650,46 @@ segments: [
642
650
  stroke: e.value.style.chart.segments.ticks.stroke,
643
651
  "stroke-width": 1,
644
652
  "stroke-linecap": "round"
645
- }, null, 8, zt))), 256))
653
+ }, null, 8, Nt))), 256))
646
654
  ])) : d("", !0)
647
655
  ])) : d("", !0),
648
- c(t.$slots, "svg", {
656
+ v(t.$slots, "svg", {
649
657
  svg: {
650
658
  ...s.value,
651
- isPrintingImg: n(G) | n(j) | T.value,
652
- isPrintingSvg: F.value
659
+ isPrintingImg: n(G) | n(j) | F.value,
660
+ isPrintingSvg: H.value
653
661
  }
654
662
  }, void 0, !0)
655
663
  ], 14, Lt)),
656
- t.$slots.watermark ? (o(), u("div", Ut, [
657
- c(t.$slots, "watermark", b(k({ isPrinting: n(G) || n(j) || T.value || F.value })), void 0, !0)
664
+ t.$slots.watermark ? (o(), u("div", Et, [
665
+ v(t.$slots, "watermark", k(w({ isPrinting: n(G) || n(j) || F.value || H.value })), void 0, !0)
658
666
  ])) : d("", !0),
659
- S("div", {
660
- id: `legend-bottom-${C.value}`
661
- }, null, 8, Nt),
662
- le.value ? (o(), L(tt, {
667
+ C("div", {
668
+ id: `legend-bottom-${p.value}`
669
+ }, null, 8, Dt),
670
+ le.value ? (o(), S(tt, {
663
671
  key: 5,
664
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${C.value}` : `#legend-bottom-${C.value}`
672
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${p.value}` : `#legend-bottom-${p.value}`
665
673
  }, [
666
- S("div", {
674
+ C("div", {
667
675
  ref_key: "chartLegend",
668
676
  ref: te
669
677
  }, [
670
- e.value.style.chart.legend.show ? (o(), L(kt, {
678
+ e.value.style.chart.legend.show ? (o(), S(kt, {
671
679
  key: 0,
672
680
  clickable: !1,
673
- legendSet: V.value,
681
+ legendSet: W.value,
674
682
  config: ze.value
675
683
  }, {
676
684
  item: f(({ legend: a }) => [
677
- n($) ? d("", !0) : (o(), u("div", Et, [
678
- S("span", Dt, R(a.name) + ":", 1),
679
- S("span", null, R(a.value), 1)
685
+ n(L) ? d("", !0) : (o(), u("div", Vt, [
686
+ C("span", Wt, A(a.name) + ":", 1),
687
+ C("span", null, A(a.value), 1)
680
688
  ]))
681
689
  ]),
682
690
  _: 1
683
691
  }, 8, ["legendSet", "config"])) : d("", !0),
684
- c(t.$slots, "legend", { legend: V.value }, void 0, !0)
692
+ v(t.$slots, "legend", { legend: W.value }, void 0, !0)
685
693
  ], 512)
686
694
  ], 8, ["to"])) : d("", !0),
687
695
  t.$slots.source ? (o(), u("div", {
@@ -690,14 +698,14 @@ segments: [
690
698
  ref: ae,
691
699
  dir: "auto"
692
700
  }, [
693
- c(t.$slots, "source", {}, void 0, !0)
701
+ v(t.$slots, "source", {}, void 0, !0)
694
702
  ], 512)) : d("", !0),
695
- c(t.$slots, "skeleton", {}, () => [
696
- n($) ? (o(), L(gt, { key: 0 })) : d("", !0)
703
+ v(t.$slots, "skeleton", {}, () => [
704
+ n(L) ? (o(), S(gt, { key: 0 })) : d("", !0)
697
705
  ], !0)
698
706
  ], 46, At));
699
707
  }
700
- }, na = /* @__PURE__ */ xt(Wt, [["__scopeId", "data-v-e2e0cf53"]]);
708
+ }, ua = /* @__PURE__ */ xt(Gt, [["__scopeId", "data-v-aa1d3de1"]]);
701
709
  export {
702
- na as default
710
+ ua as default
703
711
  };