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
@@ -0,0 +1,1183 @@
1
+ import { defineAsyncComponent as D, computed as h, ref as u, toRefs as rl, watch as ie, shallowRef as pt, onMounted as ul, onBeforeUnmount as ft, watchEffect as il, openBlock as r, createElementBlock as i, unref as c, normalizeStyle as Q, normalizeClass as ee, createElementVNode as m, toDisplayString as P, createBlock as z, createCommentVNode as f, withCtx as d, renderSlot as v, normalizeProps as g, guardReactiveProps as k, createSlots as yt, createVNode as ze, Fragment as A, renderList as N, mergeProps as bt, resolveDynamicComponent as cl, createTextVNode as mt, nextTick as gt } from "vue";
2
+ import { j as Ne, t as kt, m as vl, p as B, o as xt, q as Me, r as Ct, n as dl, s as wt, K as hl, D as pl, l as ce, X as fl, k as Ie, Z as yl, au as bl, x as ml, w as gl, T as At, a2 as kl, a0 as xl, a1 as Cl, U as wl } from "./lib-DBptbyyI.js";
3
+ import { t as Lt, u as Al } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ll } from "./useConfig-DO94Aj5s.js";
5
+ import { u as $l, B as Tl } from "./BaseScanner-BhhkKVoj.js";
6
+ import { u as Sl } from "./usePrinter-CEpYU3r5.js";
7
+ import { u as _l } from "./useSvgExport-ByUukOZt.js";
8
+ import { u as Fe } from "./useNestedProp-Bf5XFbs8.js";
9
+ import { u as Pl } from "./useThemeCheck-D1ZYXUwG.js";
10
+ import { u as Ol } from "./useUserOptionState-BIvW1Kz7.js";
11
+ import { u as Dl } from "./useChartAccessibility-9icAAmYg.js";
12
+ import { u as zl } from "./useTimeLabelCollider-CIsgDrl9.js";
13
+ import Nl from "./img-LXxMLmCg.js";
14
+ import { _ as Ml } from "./Shape-BKRUOeKk.js";
15
+ import Il from "./Title-BeMKE1cj.js";
16
+ import Fl from "./vue_ui_strip_plot-B9ypi_F3.js";
17
+ import { A as Rl } from "./A11yDataTable-KcVAX2cP.js";
18
+ import { _ as Bl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
19
+ const El = ["id"], Wl = ["id"], Gl = { style: { position: "relative" } }, Ul = ["xmlns", "viewBox", "aria-describedby"], Hl = ["x", "y", "width", "height"], Vl = { key: 1 }, Kl = { key: 0 }, Xl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], jl = { key: 1 }, Yl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], ql = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zl = ["x", "y", "fill", "font-size"], Ql = ["transform", "font-size", "fill", "text-anchor"], ea = ["transform", "font-size", "fill", "text-anchor", "innerHTML"], ta = ["fill", "font-size", "transform"], la = ["fill", "font-size", "x", "y"], aa = ["x1", "x2", "y1", "y2", "stroke"], oa = ["cx", "cy", "fill"], sa = ["cx", "cy", "fill"], na = ["id"], ra = ["stop-color"], ua = ["stop-color"], ia = ["stop-color"], ca = { key: 0 }, va = ["x", "y", "font-size", "fill"], da = {
20
+ key: 0,
21
+ style: { position: "absolute", top: "100%", left: "0", width: "100%" },
22
+ "data-dom-to-png-ignore": "",
23
+ "aria-hidden": "true"
24
+ }, ha = {
25
+ key: 5,
26
+ class: "vue-data-ui-watermark"
27
+ }, pa = ["innerHTML"], fa = {
28
+ __name: "vue-ui-strip-plot",
29
+ props: {
30
+ config: {
31
+ type: Object,
32
+ default() {
33
+ return {};
34
+ }
35
+ },
36
+ dataset: {
37
+ type: Array,
38
+ default() {
39
+ return [];
40
+ }
41
+ }
42
+ },
43
+ emits: ["selectDatapoint", "copyAlt"],
44
+ setup($t, { expose: Tt, emit: St }) {
45
+ const _t = D(() => import("./Tooltip-Bf-kM3_A.js")), Pt = D(() => import("./BaseIcon-Cb3zzG6s.js")), Ot = D(() => import("./vue-ui-accordion-nvggWcGN.js")), Dt = D(() => import("./DataTable-DT2kIdQ6.js")), zt = D(() => import("./UserOptions-rW2fRf3V.js")), Nt = D(() => import("./PenAndPaper-Ct3qJ4lA.js")), Mt = D(() => import("./PackageVersion-DPO-OOVI.js")), It = D(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_strip_plot: Ft } = Ll(), { isThemeValid: Rt, warnInvalidTheme: Bt } = Pl(), x = $t, Re = St, te = h({
46
+ get() {
47
+ return !!x.dataset && x.dataset.length;
48
+ },
49
+ set(t) {
50
+ return t;
51
+ }
52
+ }), E = u(Ne()), Be = u(0), le = u(!1), ve = u(""), T = u(null), Ee = u(null), We = u(null), Ge = u(null), Ue = u(!1), He = u(0), Ve = u(0), H = u(null), de = u(null), ae = u(!1), oe = u(!1), he = u(null), pe = u(null), se = u(null), fe = u(null), W = u(null), V = u(null), K = u("pointer"), Ke = u({ x: 0, y: 0 }), ye = u(!1), e = u(xe()), X = h(() => e.value.userOptions.useCursorPointer), Et = h(() => kt({
53
+ defaultConfig: {
54
+ userOptions: { show: !1 },
55
+ table: { show: !1 },
56
+ style: {
57
+ chart: {
58
+ backgroundColor: "#99999930",
59
+ padding: {
60
+ top: 24,
61
+ left: 24,
62
+ right: 24,
63
+ bottom: 24
64
+ },
65
+ grid: {
66
+ stroke: "#6A6A6A",
67
+ horizontalGrid: {
68
+ stroke: "#6A6A6A"
69
+ },
70
+ verticalGrid: {
71
+ stroke: "#6A6A6A"
72
+ }
73
+ },
74
+ plots: {
75
+ stroke: "#6A6A6A"
76
+ },
77
+ labels: {
78
+ bestPlotLabel: { show: !1 },
79
+ axis: {
80
+ xLabel: "",
81
+ yLabel: ""
82
+ },
83
+ xAxisLabels: { show: !1 },
84
+ yAxisLabels: { show: !1 }
85
+ }
86
+ }
87
+ }
88
+ },
89
+ userConfig: e.value.skeletonConfig ?? {}
90
+ })), { loading: be, FINAL_DATASET: me, manualLoading: ge } = $l({
91
+ ...rl(x),
92
+ FINAL_CONFIG: e,
93
+ prepareConfig: xe,
94
+ skeletonDataset: x.config?.skeletonDataset ?? [
95
+ {
96
+ name: "_",
97
+ color: "#DBDBDB",
98
+ plots: [
99
+ { name: "_", value: 1 },
100
+ { name: "_", value: 2 },
101
+ { name: "_", value: 3 }
102
+ ]
103
+ },
104
+ {
105
+ name: "_",
106
+ color: "#C4C4C4",
107
+ plots: [
108
+ { name: "_", value: 3 },
109
+ { name: "_", value: 5 },
110
+ { name: "_", value: 8 }
111
+ ]
112
+ },
113
+ {
114
+ name: "_",
115
+ color: "#ADADAD",
116
+ plots: [
117
+ { name: "_", value: 8 },
118
+ { name: "_", value: 13 },
119
+ { name: "_", value: 21 }
120
+ ]
121
+ },
122
+ {
123
+ name: "_",
124
+ color: "#969696",
125
+ plots: [
126
+ { name: "_", value: 21 },
127
+ { name: "_", value: 34 },
128
+ { name: "_", value: 55 }
129
+ ]
130
+ },
131
+ {
132
+ name: "_",
133
+ color: "#808080",
134
+ plots: [
135
+ { name: "_", value: 55 },
136
+ { name: "_", value: 89 },
137
+ { name: "_", value: 144 }
138
+ ]
139
+ }
140
+ ],
141
+ skeletonConfig: kt({
142
+ defaultConfig: e.value,
143
+ userConfig: Et.value
144
+ })
145
+ }), { userOptionsVisible: ke, setUserOptionsVisibility: Xe, keepUserOptionState: je } = Ol({ config: e.value }), { svgRef: M } = Dl({ config: e.value.style.chart.title });
146
+ function xe() {
147
+ const t = Fe({
148
+ userConfig: x.config,
149
+ defaultConfig: Ft
150
+ }), a = t.theme;
151
+ if (!a) return t;
152
+ if (!Rt.value(t))
153
+ return Bt(t), t;
154
+ const l = Fe({
155
+ userConfig: Fl[a] || x.config,
156
+ defaultConfig: t
157
+ }), o = Fe({
158
+ userConfig: x.config,
159
+ defaultConfig: l
160
+ });
161
+ return {
162
+ ...o,
163
+ customPalette: o.customPalette.length ? o.customPalette : vl[a] || B
164
+ };
165
+ }
166
+ ie(() => x.config, async (t) => {
167
+ be.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, Ye(), He.value += 1, Ve.value += 1, b.value.dataLabels.show = e.value.style.chart.labels.bestPlotLabel.show, b.value.showTable = e.value.table.show, b.value.showTooltip = e.value.style.chart.tooltip.show, I.value = e.value.style.chart.width, S.value = e.value.style.chart.height, Y.value = e.value.style.chart.plots.radius;
168
+ }, { deep: !0 }), ie(() => x.dataset, (t) => {
169
+ Array.isArray(t) && t.length > 0 && (ge.value = !1);
170
+ }, { deep: !0 });
171
+ const O = pt(null), G = pt(null);
172
+ ul(() => {
173
+ Ye();
174
+ });
175
+ const Ce = h(() => !!e.value.debug);
176
+ function Ye() {
177
+ if (xt(x.dataset) ? (Me({
178
+ componentName: "VueUiStripPlot",
179
+ type: "dataset",
180
+ debug: Ce.value
181
+ }), ge.value = !0) : x.dataset.forEach((t, a) => {
182
+ Ct({
183
+ datasetObject: t,
184
+ requiredAttributes: ["name", "plots"]
185
+ }).forEach((l) => {
186
+ te.value = !1, Me({
187
+ componentName: "VueUiStripPlot",
188
+ type: "datasetSerieAttribute",
189
+ property: l,
190
+ index: a,
191
+ debug: Ce.value
192
+ });
193
+ }), t.plots && t.plots.forEach((l, o) => {
194
+ Ct({
195
+ datasetObject: l,
196
+ requiredAttributes: ["name", "value"]
197
+ }).forEach((s) => {
198
+ te.value = !1, Me({
199
+ componentName: "VueUiStripPlot",
200
+ type: "datasetSerieAttribute",
201
+ property: s,
202
+ index: `${a},${o}`,
203
+ debug: Ce.value
204
+ });
205
+ });
206
+ });
207
+ }), xt(x.dataset) || (ge.value = e.value.loading), e.value.responsive) {
208
+ const t = Lt(() => {
209
+ const { width: a, height: l } = Al({
210
+ chart: T.value,
211
+ title: e.value.style.chart.title.text ? Ee.value : null,
212
+ source: We.value,
213
+ noTitle: Ge.value
214
+ });
215
+ requestAnimationFrame(() => {
216
+ Gt.value = l, I.value = Math.max(0.1, a), S.value = Math.max(0.1, l - 12), e.value.responsiveProportionalSizing ? Y.value = kl({
217
+ relator: Math.min(l, a),
218
+ adjuster: 600,
219
+ source: e.value.style.chart.plots.radius,
220
+ threshold: 6,
221
+ fallback: 6
222
+ }) : Y.value = e.value.style.chart.plots.radius;
223
+ });
224
+ });
225
+ O.value && (G.value && O.value.unobserve(G.value), O.value.disconnect()), O.value = new ResizeObserver(t), G.value = T.value.parentNode, O.value.observe(G.value);
226
+ }
227
+ Ue.value = !0, setTimeout(() => {
228
+ j.value = !1;
229
+ }, Kt.value * 50);
230
+ }
231
+ ft(() => {
232
+ O.value && (G.value && O.value.unobserve(G.value), O.value.disconnect());
233
+ });
234
+ const { isPrinting: we, isImaging: Ae, generatePdf: qe, generateImage: Je } = Sl({
235
+ elementId: `strip-plot_${E.value}`,
236
+ fileName: e.value.style.chart.title.text || "vue-ui-strip-plot",
237
+ options: e.value.userOptions.print
238
+ }), Wt = h(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ze = h(() => dl(e.value.customPalette)), j = u(e.value.useCssAnimation), ne = u({
239
+ top: e.value.style.chart.padding.top,
240
+ bottom: e.value.style.chart.padding.bottom,
241
+ left: e.value.style.chart.padding.left,
242
+ right: e.value.style.chart.padding.right
243
+ }), I = u(e.value.style.chart.width), S = u(e.value.style.chart.height), Gt = u(e.value.style.chart.height), Y = u(e.value.style.chart.plots.radius), b = u({
244
+ showTable: e.value.table.show,
245
+ dataLabels: {
246
+ show: e.value.style.chart.labels.bestPlotLabel.show
247
+ },
248
+ showTooltip: e.value.style.chart.tooltip.show
249
+ });
250
+ ie(e, () => {
251
+ b.value = {
252
+ showTable: e.value.table.show,
253
+ dataLabels: {
254
+ show: e.value.style.chart.labels.bestPlotLabel.show
255
+ },
256
+ showTooltip: e.value.style.chart.tooltip.show
257
+ }, I.value = e.value.style.chart.width, S.value = e.value.style.chart.height, Y.value = e.value.style.chart.plots.radius;
258
+ }, { immediate: !0 });
259
+ const Le = h(() => Math.min(Y.value, n.value.stripWidth / 2 * 0.9));
260
+ function Ut() {
261
+ let t = 0;
262
+ fe.value && (t = Array.from(fe.value.querySelectorAll("text")).reduce((o, s) => {
263
+ const p = s.getComputedTextLength();
264
+ return p > o ? p : o;
265
+ }, 0));
266
+ const a = pe.value ? pe.value.getBoundingClientRect().width : 0;
267
+ return t + a + (a ? 24 : 0);
268
+ }
269
+ const $e = u(0), Ht = Lt((t) => {
270
+ $e.value = t;
271
+ }, 100);
272
+ il((t) => {
273
+ const a = se.value;
274
+ if (!a) return;
275
+ const l = new ResizeObserver((o) => {
276
+ Ht(o[0].contentRect.height);
277
+ });
278
+ l.observe(a), t(() => l.disconnect());
279
+ }), ft(() => {
280
+ $e.value = 0;
281
+ });
282
+ const Vt = h(() => {
283
+ let t = 0;
284
+ he.value && (t = he.value.getBBox().height + e.value.style.chart.labels.axis.fontSize / 3 + 12 + e.value.style.chart.labels.axis.xLabelOffsetY);
285
+ let a = 0;
286
+ return se.value && (a = $e.value + 12), t + a;
287
+ }), n = h(() => {
288
+ const t = Ut(), a = ne.value.left + t + e.value.style.chart.labels.axis.yLabelOffsetX + 5, l = I.value - ne.value.right, o = Math.max(0, l - a), s = ne.value.top + e.value.style.chart.plots.radius + e.value.style.chart.labels.bestPlotLabel.fontSize, p = S.value - ne.value.bottom - Vt.value, _ = Math.max(0, p - s), C = Array.isArray(me.value) ? me.value.length : 0, $ = C > 0 ? o / C : 0;
289
+ return {
290
+ left: a,
291
+ right: l,
292
+ top: s,
293
+ bottom: p,
294
+ width: o,
295
+ height: _,
296
+ stripWidth: $,
297
+ absoluteHeight: S.value
298
+ };
299
+ }), re = h(() => me.value.map((t, a) => {
300
+ const l = Ne();
301
+ return {
302
+ ...t,
303
+ id: l,
304
+ color: t.color ? wt(t.color) : Ze.value[a] || B[a] || B[a % B.length],
305
+ plots: t.plots.map((o, s) => ({
306
+ ...o,
307
+ value: hl(o.value),
308
+ parentId: l,
309
+ parentName: t.name,
310
+ parentIndex: a,
311
+ plotIndex: s,
312
+ color: t.color ? wt(t.color) : Ze.value[a] || B[a] || B[a % B.length],
313
+ id: Ne()
314
+ })).sort((o, s) => o.value - s.value)
315
+ };
316
+ })), L = h(() => (re.value || []).map((t, a) => ({
317
+ ...t,
318
+ plots: t.plots.map((l) => ({
319
+ ...l,
320
+ x: n.value.left + (a + 1) * n.value.stripWidth - n.value.stripWidth / 2
321
+ }))
322
+ }))), Kt = h(() => Math.max(...L.value.map((t) => t.plots.length))), Te = h(() => {
323
+ const t = L.value.flatMap((a) => a.plots.map((l) => l.value));
324
+ return {
325
+ max: Math.max(...t),
326
+ min: Math.min(...t)
327
+ };
328
+ }), F = h(() => pl(Te.value.min < 0 ? Te.value.min : 0, Te.value.max, e.value.style.chart.grid.scaleSteps)), q = h(() => (L.value || []).map((t, a) => ({
329
+ ...t,
330
+ plots: t.plots.map((l) => ({
331
+ ...l,
332
+ y: n.value.bottom - (l.value + Math.abs(F.value.min)) / (F.value.max + Math.abs(F.value.min)) * n.value.height
333
+ }))
334
+ }))), Qe = h(() => F.value.ticks.map((t) => ({
335
+ y: n.value.bottom - n.value.height * ((t + Math.abs(F.value.min)) / (F.value.max + Math.abs(F.value.min))),
336
+ x1: n.value.left,
337
+ x2: n.value.right,
338
+ value: t
339
+ }))), Se = u(null), y = u(null);
340
+ function Xt({ datapoint: t, seriesIndex: a }) {
341
+ K.value !== "keyboard" && (le.value = !1, y.value = null, e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: t, seriesIndex: a }));
342
+ }
343
+ function et({ datapoint: t, seriesIndex: a }) {
344
+ Re("selectDatapoint", t), e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: t, seriesIndex: a });
345
+ }
346
+ function tt({ datapoint: t, seriesIndex: a, triggerMode: l = "pointer" }) {
347
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: t, seriesIndex: a }), K.value = l, Se.value = { datapoint: t, seriesIndex: a, config: e.value, series: re.value }, le.value = !0, y.value = t;
348
+ const o = e.value.style.chart.tooltip.customFormat;
349
+ if (At(o) && wl(() => o({
350
+ seriesIndex: a,
351
+ datapoint: t,
352
+ series: re.value,
353
+ config: e.value
354
+ })))
355
+ ve.value = o({
356
+ seriesIndex: a,
357
+ datapoint: t,
358
+ series: re.value,
359
+ config: e.value
360
+ });
361
+ else {
362
+ let s = "";
363
+ s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${e.value.style.chart.plots.gradient.show ? `url(#${t.parentId})` : t.color}"/></svg>${t.name}</div>`, s += `<div>${Ie(
364
+ e.value.style.chart.labels.formatter,
365
+ t.value,
366
+ ce({
367
+ p: e.value.style.chart.labels.prefix,
368
+ v: t.value,
369
+ s: e.value.style.chart.labels.suffix,
370
+ r: e.value.style.chart.tooltip.roundingValue
371
+ }),
372
+ { datapoint: t, seriesIndex: a }
373
+ )}</div>`, ve.value = `<div>${s}</div>`;
374
+ }
375
+ }
376
+ const ue = h(() => {
377
+ const t = L.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, s) => s.value - o.value).map((o) => ({
378
+ name: `${l.name} - ${o.name}`,
379
+ color: o.color
380
+ }))), a = L.value.flatMap((l) => JSON.parse(JSON.stringify(l.plots)).sort((o, s) => s.value - o.value).map((o) => o.value));
381
+ return { head: t, body: a };
382
+ });
383
+ function _e(t = null) {
384
+ gt(() => {
385
+ const a = ue.value.head.map((s, p) => [[
386
+ s.name
387
+ ], [ue.value.body[p]]]), l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [[e.value.table.columnNames.series], [e.value.table.columnNames.value]]].concat(a), o = xl(l);
388
+ t ? t(o) : Cl({ csvContent: o, title: e.value.style.chart.title.text || "vue-ui-strip-plot" });
389
+ });
390
+ }
391
+ const U = h(() => {
392
+ const t = [
393
+ e.value.table.columnNames.series,
394
+ e.value.table.columnNames.value
395
+ ], a = ue.value.head.map((s, p) => {
396
+ const _ = ce({
397
+ p: e.value.style.chart.labels.prefix,
398
+ v: ue.value.body[p],
399
+ s: e.value.style.chart.labels.suffix,
400
+ r: e.value.table.td.roundingValue
401
+ });
402
+ return [
403
+ {
404
+ color: s.color,
405
+ name: s.name
406
+ },
407
+ _
408
+ ];
409
+ }), l = {
410
+ th: {
411
+ backgroundColor: e.value.table.th.backgroundColor,
412
+ color: e.value.table.th.color,
413
+ outline: e.value.table.th.outline
414
+ },
415
+ td: {
416
+ backgroundColor: e.value.table.td.backgroundColor,
417
+ color: e.value.table.td.color,
418
+ outline: e.value.table.td.outline
419
+ },
420
+ breakpoint: e.value.table.responsiveBreakpoint
421
+ };
422
+ return {
423
+ colNames: [
424
+ e.value.table.columnNames.series,
425
+ e.value.table.columnNames.value
426
+ ],
427
+ head: t,
428
+ body: a,
429
+ config: l
430
+ };
431
+ }), R = u(!1);
432
+ function lt(t) {
433
+ R.value = t, Be.value += 1;
434
+ }
435
+ function jt() {
436
+ return L.value;
437
+ }
438
+ function at() {
439
+ b.value.showTable = !b.value.showTable;
440
+ }
441
+ function ot() {
442
+ b.value.dataLabels.show = !b.value.dataLabels.show;
443
+ }
444
+ function st() {
445
+ b.value.showTooltip = !b.value.showTooltip;
446
+ }
447
+ const J = u(!1);
448
+ function Pe() {
449
+ J.value = !J.value;
450
+ }
451
+ async function Yt({ scale: t = 2 } = {}) {
452
+ if (!T.value) return;
453
+ const { width: a, height: l } = T.value.getBoundingClientRect(), o = a / l, { imageUri: s, base64: p } = await Nl({ domElement: T.value, base64: !0, img: !0, scale: t });
454
+ return {
455
+ imageUri: s,
456
+ base64: p,
457
+ title: e.value.style.chart.title.text,
458
+ width: a,
459
+ height: l,
460
+ aspectRatio: o
461
+ };
462
+ }
463
+ const nt = h(() => L.value.map((t) => t.name)), qt = u({ start: 0, end: L.value.length });
464
+ zl({
465
+ timeLabelsEls: se,
466
+ timeLabels: nt,
467
+ slicer: qt,
468
+ configRef: e,
469
+ rotationPath: ["style", "chart", "labels", "xAxisLabels", "rotation"],
470
+ autoRotatePath: ["style", "chart", "labels", "xAxisLabels", "autoRotate", "enable"],
471
+ isAutoSize: !1,
472
+ width: I,
473
+ height: S,
474
+ targetClass: ".vue-ui-strip-plot-category-name",
475
+ rotation: e.value.style.chart.labels.xAxisLabels.autoRotate.angle
476
+ });
477
+ const Z = h(() => {
478
+ const t = e.value.table.useDialog && !e.value.table.show, a = b.value.showTable;
479
+ return {
480
+ component: t ? It : Ot,
481
+ title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
482
+ props: t ? {
483
+ backgroundColor: e.value.table.th.backgroundColor,
484
+ color: e.value.table.th.color,
485
+ headerColor: e.value.table.th.color,
486
+ headerBg: e.value.table.th.backgroundColor,
487
+ isFullscreen: R.value,
488
+ fullscreenParent: T.value,
489
+ forcedWidth: Math.min(800, window.innerWidth * 0.8),
490
+ isCursorPointer: X.value
491
+ } : {
492
+ hideDetails: !0,
493
+ config: {
494
+ open: a,
495
+ maxHeight: 1e4,
496
+ body: {
497
+ backgroundColor: e.value.style.chart.backgroundColor,
498
+ color: e.value.style.chart.color
499
+ },
500
+ head: {
501
+ backgroundColor: e.value.style.chart.backgroundColor,
502
+ color: e.value.style.chart.color
503
+ }
504
+ }
505
+ }
506
+ };
507
+ });
508
+ ie(() => b.value.showTable, (t) => {
509
+ e.value.table.show || (t && e.value.table.useDialog && H.value ? H.value.open() : "close" in H.value && H.value.close());
510
+ });
511
+ function rt() {
512
+ b.value.showTable = !1, de.value && de.value.setTableIconState(!1);
513
+ }
514
+ const Jt = h(() => e.value.style.chart.backgroundColor), Zt = h(() => e.value.style.chart.title), { exportSvg: Qt, getSvg: el } = _l({
515
+ svg: M,
516
+ title: Zt,
517
+ backgroundColor: Jt
518
+ });
519
+ async function ut({ isCb: t }) {
520
+ oe.value = !0, await gt();
521
+ try {
522
+ if (t) {
523
+ const { blob: a, url: l, text: o, dataUrl: s } = await el();
524
+ await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: a, url: l, text: o, dataUrl: s }));
525
+ } else
526
+ await Promise.resolve(Qt());
527
+ } finally {
528
+ oe.value = !1;
529
+ }
530
+ }
531
+ function tl(t) {
532
+ if (t?.stage === "start") {
533
+ ae.value = !0;
534
+ return;
535
+ }
536
+ if (t?.stage === "end") {
537
+ ae.value = !1;
538
+ return;
539
+ }
540
+ Je();
541
+ }
542
+ async function it() {
543
+ if (Re("copyAlt", {
544
+ config: e.value,
545
+ dataset: q.value
546
+ }), !e.value.userOptions.callbacks.altCopy) {
547
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
548
+ return;
549
+ }
550
+ await Promise.resolve(e.value.userOptions.callbacks.altCopy({
551
+ config: e.value,
552
+ dataset: q.value
553
+ }));
554
+ }
555
+ function ct() {
556
+ return q.value.length;
557
+ }
558
+ function Oe(t) {
559
+ return q.value[t]?.plots ?? [];
560
+ }
561
+ function vt(t = W.value, a = V.value) {
562
+ return !Number.isInteger(t) || !Number.isInteger(a) ? null : Oe(t)[a] ?? null;
563
+ }
564
+ function dt() {
565
+ W.value = null, V.value = null, K.value = "pointer", le.value = !1, y.value = null;
566
+ }
567
+ function ll(t) {
568
+ if (!t || !M.value) return;
569
+ const a = M.value.getBoundingClientRect();
570
+ Ke.value = {
571
+ x: a.left + t.x / I.value * a.width,
572
+ y: a.top + t.y / S.value * a.height
573
+ };
574
+ }
575
+ function al(t, a) {
576
+ const l = vt(t, a);
577
+ l && (W.value = t, V.value = a, K.value = "keyboard", ll(l), tt({
578
+ datapoint: l,
579
+ seriesIndex: t,
580
+ triggerMode: "keyboard"
581
+ }));
582
+ }
583
+ function ol() {
584
+ ye.value = !0, W.value = null, V.value = null;
585
+ }
586
+ function sl() {
587
+ ye.value = !1, dt();
588
+ }
589
+ function nl(t) {
590
+ if (!M.value || J.value || document.activeElement !== M.value || !ct()) return;
591
+ const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", o = t.key === "ArrowUp", s = t.key === "ArrowDown", p = t.key === "Enter" || t.key === " ", _ = t.key === "Escape";
592
+ if (!a && !l && !o && !s && !p && !_) return;
593
+ if (t.preventDefault(), t.stopPropagation(), _) {
594
+ dt();
595
+ return;
596
+ }
597
+ let C = W.value, $ = V.value;
598
+ if (C === null || $ === null)
599
+ C = 0, $ = 0;
600
+ else if (a || l) {
601
+ const w = ct();
602
+ C = l ? (C + 1) % w : (C - 1 + w) % w;
603
+ const ht = Oe(C);
604
+ if (!ht.length) return;
605
+ $ = Math.min($, ht.length - 1);
606
+ } else if (o || s) {
607
+ const w = Oe(C);
608
+ if (!w.length) return;
609
+ $ = o ? ($ + 1) % w.length : ($ - 1 + w.length) % w.length;
610
+ }
611
+ if (p) {
612
+ const w = vt();
613
+ if (!w) return;
614
+ et({
615
+ datapoint: w,
616
+ seriesIndex: W.value
617
+ });
618
+ return;
619
+ }
620
+ al(C, $);
621
+ }
622
+ const De = h(() => {
623
+ const t = U.value?.colNames ?? [], a = U.value?.body?.map((l) => l.map((o) => o && typeof o == "object" && "name" in o ? o.name : o)) ?? [];
624
+ return { headers: t, rows: a };
625
+ });
626
+ return Tt({
627
+ getData: jt,
628
+ getImage: Yt,
629
+ generatePdf: qe,
630
+ generateCsv: _e,
631
+ generateImage: Je,
632
+ generateSvg: ut,
633
+ toggleTable: at,
634
+ toggleLabels: ot,
635
+ toggleTooltip: st,
636
+ toggleAnnotator: Pe,
637
+ toggleFullscreen: lt,
638
+ copyAlt: it
639
+ }), (t, a) => (r(), i("div", {
640
+ ref_key: "stripPlotChart",
641
+ ref: T,
642
+ class: ee(`vue-data-ui-component vue-ui-strip-plot ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
643
+ style: Q(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
644
+ id: `strip-plot_${E.value}`,
645
+ onMouseenter: a[1] || (a[1] = () => c(Xe)(!0)),
646
+ onMouseleave: a[2] || (a[2] = () => c(Xe)(!1))
647
+ }, [
648
+ m("div", {
649
+ id: `chart-instructions-${E.value}`,
650
+ class: "sr-only"
651
+ }, [
652
+ m("p", null, P(e.value.a11y.translations.keyboardNavigation), 1)
653
+ ], 8, Wl),
654
+ De.value?.rows?.length ? (r(), z(Rl, {
655
+ key: 0,
656
+ uid: E.value,
657
+ head: De.value.headers,
658
+ body: De.value.rows,
659
+ notice: e.value.a11y.translations.tableAvailable,
660
+ caption: e.value.a11y.translations.tableCaption
661
+ }, null, 8, ["uid", "head", "body", "notice", "caption"])) : f("", !0),
662
+ e.value.userOptions.buttons.annotator ? (r(), z(c(Nt), {
663
+ key: 1,
664
+ svgRef: c(M),
665
+ backgroundColor: e.value.style.chart.backgroundColor,
666
+ color: e.value.style.chart.color,
667
+ active: J.value,
668
+ isCursorPointer: X.value,
669
+ onClose: Pe
670
+ }, {
671
+ "annotator-action-close": d(() => [
672
+ v(t.$slots, "annotator-action-close", {}, void 0, !0)
673
+ ]),
674
+ "annotator-action-color": d(({ color: l }) => [
675
+ v(t.$slots, "annotator-action-color", g(k({ color: l })), void 0, !0)
676
+ ]),
677
+ "annotator-action-draw": d(({ mode: l }) => [
678
+ v(t.$slots, "annotator-action-draw", g(k({ mode: l })), void 0, !0)
679
+ ]),
680
+ "annotator-action-undo": d(({ disabled: l }) => [
681
+ v(t.$slots, "annotator-action-undo", g(k({ disabled: l })), void 0, !0)
682
+ ]),
683
+ "annotator-action-redo": d(({ disabled: l }) => [
684
+ v(t.$slots, "annotator-action-redo", g(k({ disabled: l })), void 0, !0)
685
+ ]),
686
+ "annotator-action-delete": d(({ disabled: l }) => [
687
+ v(t.$slots, "annotator-action-delete", g(k({ disabled: l })), void 0, !0)
688
+ ]),
689
+ _: 3
690
+ }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : f("", !0),
691
+ Wt.value ? (r(), i("div", {
692
+ key: 2,
693
+ ref_key: "noTitle",
694
+ ref: Ge,
695
+ class: "vue-data-ui-no-title-space",
696
+ style: "height:36px; width: 100%;background:transparent"
697
+ }, null, 512)) : f("", !0),
698
+ e.value.style.chart.title.text ? (r(), i("div", {
699
+ key: 3,
700
+ ref_key: "chartTitle",
701
+ ref: Ee,
702
+ style: "width:100%;background:transparent;padding-bottom:24px"
703
+ }, [
704
+ (r(), z(Il, {
705
+ key: `title_${He.value}`,
706
+ config: {
707
+ title: {
708
+ cy: "donut-div-title",
709
+ ...e.value.style.chart.title
710
+ },
711
+ subtitle: {
712
+ cy: "donut-div-subtitle",
713
+ ...e.value.style.chart.title.subtitle
714
+ }
715
+ }
716
+ }, null, 8, ["config"]))
717
+ ], 512)) : f("", !0),
718
+ e.value.userOptions.show && te.value && (c(je) || c(ke)) ? (r(), z(c(zt), {
719
+ ref_key: "userOptionsRef",
720
+ ref: de,
721
+ key: `user_option_${Be.value}`,
722
+ backgroundColor: e.value.style.chart.backgroundColor,
723
+ color: e.value.style.chart.color,
724
+ isPrinting: c(we),
725
+ isImaging: c(Ae),
726
+ uid: E.value,
727
+ hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
728
+ hasPdf: e.value.userOptions.buttons.pdf,
729
+ hasXls: e.value.userOptions.buttons.csv,
730
+ hasImg: e.value.userOptions.buttons.img,
731
+ hasSvg: e.value.userOptions.buttons.svg,
732
+ hasTable: e.value.userOptions.buttons.table,
733
+ hasLabel: e.value.userOptions.buttons.labels,
734
+ hasFullscreen: e.value.userOptions.buttons.fullscreen,
735
+ hasAltCopy: e.value.userOptions.buttons.altCopy,
736
+ isTooltip: b.value.showTooltip,
737
+ isFullscreen: R.value,
738
+ titles: { ...e.value.userOptions.buttonTitles },
739
+ chartElement: T.value,
740
+ position: e.value.userOptions.position,
741
+ hasAnnotator: e.value.userOptions.buttons.annotator,
742
+ isAnnotation: J.value,
743
+ callbacks: e.value.userOptions.callbacks,
744
+ printScale: e.value.userOptions.print.scale,
745
+ tableDialog: e.value.table.useDialog,
746
+ isCursorPointer: X.value,
747
+ onToggleFullscreen: lt,
748
+ onGeneratePdf: c(qe),
749
+ onGenerateCsv: _e,
750
+ onGenerateImage: tl,
751
+ onGenerateSvg: ut,
752
+ onToggleTable: at,
753
+ onToggleLabels: ot,
754
+ onToggleTooltip: st,
755
+ onToggleAnnotator: Pe,
756
+ onCopyAlt: it,
757
+ style: Q({
758
+ visibility: c(je) ? c(ke) ? "visible" : "hidden" : "visible"
759
+ })
760
+ }, yt({ _: 2 }, [
761
+ t.$slots.menuIcon ? {
762
+ name: "menuIcon",
763
+ fn: d(({ isOpen: l, color: o }) => [
764
+ v(t.$slots, "menuIcon", g(k({ isOpen: l, color: o })), void 0, !0)
765
+ ]),
766
+ key: "0"
767
+ } : void 0,
768
+ t.$slots.optionTooltip ? {
769
+ name: "optionTooltip",
770
+ fn: d(() => [
771
+ v(t.$slots, "optionTooltip", {}, void 0, !0)
772
+ ]),
773
+ key: "1"
774
+ } : void 0,
775
+ t.$slots.optionPdf ? {
776
+ name: "optionPdf",
777
+ fn: d(() => [
778
+ v(t.$slots, "optionPdf", {}, void 0, !0)
779
+ ]),
780
+ key: "2"
781
+ } : void 0,
782
+ t.$slots.optionCsv ? {
783
+ name: "optionCsv",
784
+ fn: d(() => [
785
+ v(t.$slots, "optionCsv", {}, void 0, !0)
786
+ ]),
787
+ key: "3"
788
+ } : void 0,
789
+ t.$slots.optionImg ? {
790
+ name: "optionImg",
791
+ fn: d(() => [
792
+ v(t.$slots, "optionImg", {}, void 0, !0)
793
+ ]),
794
+ key: "4"
795
+ } : void 0,
796
+ t.$slots.optionSvg ? {
797
+ name: "optionSvg",
798
+ fn: d(() => [
799
+ v(t.$slots, "optionSvg", {}, void 0, !0)
800
+ ]),
801
+ key: "5"
802
+ } : void 0,
803
+ t.$slots.optionTable ? {
804
+ name: "optionTable",
805
+ fn: d(() => [
806
+ v(t.$slots, "optionTable", {}, void 0, !0)
807
+ ]),
808
+ key: "6"
809
+ } : void 0,
810
+ t.$slots.optionLabels ? {
811
+ name: "optionLabels",
812
+ fn: d(() => [
813
+ v(t.$slots, "optionLabels", {}, void 0, !0)
814
+ ]),
815
+ key: "7"
816
+ } : void 0,
817
+ t.$slots.optionFullscreen ? {
818
+ name: "optionFullscreen",
819
+ fn: d(({ toggleFullscreen: l, isFullscreen: o }) => [
820
+ v(t.$slots, "optionFullscreen", g(k({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
821
+ ]),
822
+ key: "8"
823
+ } : void 0,
824
+ t.$slots.optionAnnotator ? {
825
+ name: "optionAnnotator",
826
+ fn: d(({ toggleAnnotator: l, isAnnotator: o }) => [
827
+ v(t.$slots, "optionAnnotator", g(k({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
828
+ ]),
829
+ key: "9"
830
+ } : void 0,
831
+ t.$slots.optionAltCopy ? {
832
+ name: "optionAltCopy",
833
+ fn: d(({ altCopy: l }) => [
834
+ v(t.$slots, "optionAltCopy", g(k({ altCopy: l })), void 0, !0)
835
+ ]),
836
+ key: "10"
837
+ } : void 0
838
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasSvg", "hasTable", "hasLabel", "hasFullscreen", "hasAltCopy", "isTooltip", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "isCursorPointer", "onGeneratePdf", "style"])) : f("", !0),
839
+ m("div", Gl, [
840
+ (r(), i("svg", {
841
+ ref_key: "svgRef",
842
+ ref: M,
843
+ xmlns: c(fl),
844
+ class: ee({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
845
+ viewBox: `0 0 ${I.value} ${S.value}`,
846
+ style: Q(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color};`),
847
+ "aria-describedby": `chart-instructions-${E.value}`,
848
+ tabindex: "0",
849
+ onFocus: ol,
850
+ onBlur: sl,
851
+ onKeydown: nl
852
+ }, [
853
+ ze(c(Mt)),
854
+ t.$slots["chart-background"] ? (r(), i("foreignObject", {
855
+ key: 0,
856
+ x: n.value.left,
857
+ y: n.value.top,
858
+ width: Math.max(0.1, n.value.width),
859
+ height: Math.max(0.1, n.value.height),
860
+ style: {
861
+ pointerEvents: "none"
862
+ }
863
+ }, [
864
+ v(t.$slots, "chart-background", {}, void 0, !0)
865
+ ], 8, Hl)) : f("", !0),
866
+ e.value.style.chart.grid.show ? (r(), i("g", Vl, [
867
+ e.value.style.chart.grid.horizontalGrid.show ? (r(), i("g", Kl, [
868
+ (r(!0), i(A, null, N(Qe.value, (l) => (r(), i("line", {
869
+ x1: l.x1,
870
+ x2: l.x2,
871
+ y1: l.y,
872
+ y2: l.y,
873
+ stroke: e.value.style.chart.grid.horizontalGrid.stroke,
874
+ "stroke-width": e.value.style.chart.grid.horizontalGrid.strokeWidth,
875
+ "stroke-dasharray": e.value.style.chart.grid.horizontalGrid.strokeDasharray,
876
+ "stroke-linecap": "round"
877
+ }, null, 8, Xl))), 256))
878
+ ])) : f("", !0),
879
+ e.value.style.chart.grid.verticalGrid.show ? (r(), i("g", jl, [
880
+ (r(!0), i(A, null, N(L.value, (l, o) => (r(), i("line", {
881
+ x1: n.value.left + (o + 1) * n.value.stripWidth,
882
+ x2: n.value.left + (o + 1) * n.value.stripWidth,
883
+ y1: n.value.top,
884
+ y2: n.value.bottom,
885
+ stroke: e.value.style.chart.grid.verticalGrid.stroke,
886
+ "stroke-width": e.value.style.chart.grid.verticalGrid.strokeWidth,
887
+ "stroke-dasharray": e.value.style.chart.grid.verticalGrid.strokeDasharray,
888
+ "stroke-linecap": "round"
889
+ }, null, 8, Yl))), 256))
890
+ ])) : f("", !0),
891
+ m("line", {
892
+ x1: n.value.left,
893
+ x2: n.value.left,
894
+ y1: n.value.top,
895
+ y2: n.value.bottom,
896
+ stroke: e.value.style.chart.grid.stroke,
897
+ "stroke-width": e.value.style.chart.grid.strokeWidth,
898
+ "stroke-linecap": "round"
899
+ }, null, 8, ql),
900
+ m("line", {
901
+ x1: n.value.left,
902
+ x2: n.value.right,
903
+ y1: n.value.bottom,
904
+ y2: n.value.bottom,
905
+ stroke: e.value.style.chart.grid.stroke,
906
+ "stroke-width": e.value.style.chart.grid.strokeWidth,
907
+ "stroke-linecap": "round"
908
+ }, null, 8, Jl)
909
+ ])) : f("", !0),
910
+ e.value.style.chart.labels.yAxisLabels.show ? (r(), i("g", {
911
+ key: 2,
912
+ ref_key: "scaleLabels",
913
+ ref: fe
914
+ }, [
915
+ (r(!0), i(A, null, N(Qe.value, (l, o) => (r(), i("text", {
916
+ x: l.x1 + e.value.style.chart.labels.yAxisLabels.offsetX - 5,
917
+ y: l.y + e.value.style.chart.labels.yAxisLabels.fontSize / 3,
918
+ fill: e.value.style.chart.labels.yAxisLabels.color,
919
+ "font-size": e.value.style.chart.labels.yAxisLabels.fontSize,
920
+ "text-anchor": "end"
921
+ }, P(c(Ie)(
922
+ e.value.style.chart.labels.formatter,
923
+ l.value,
924
+ c(ce)({
925
+ p: e.value.style.chart.labels.prefix,
926
+ v: l.value,
927
+ s: e.value.style.chart.labels.suffix,
928
+ r: e.value.style.chart.labels.yAxisLabels.rounding
929
+ }),
930
+ { datapoint: l, seriesIndex: o }
931
+ )), 9, Zl))), 256))
932
+ ], 512)) : f("", !0),
933
+ e.value.style.chart.labels.xAxisLabels.show ? (r(), i("g", {
934
+ key: 3,
935
+ ref_key: "timeLabelsEls",
936
+ ref: se
937
+ }, [
938
+ (r(!0), i(A, null, N(nt.value, (l, o) => (r(), i("g", null, [
939
+ String(l).includes(`
940
+ `) ? (r(), i("text", {
941
+ key: 1,
942
+ class: "vue-ui-strip-plot-category-name",
943
+ transform: `translate(${n.value.left + (o + 1) * n.value.stripWidth - n.value.stripWidth / 2}, ${n.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
944
+ "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
945
+ fill: e.value.style.chart.labels.xAxisLabels.color,
946
+ "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle",
947
+ innerHTML: c(yl)({
948
+ content: c(bl)(String(l)),
949
+ fontSize: e.value.style.chart.labels.xAxisLabels.fontSize,
950
+ fill: e.value.style.chart.labels.xAxisLabels.color,
951
+ x: 0,
952
+ y: 0
953
+ })
954
+ }, null, 8, ea)) : (r(), i("text", {
955
+ key: 0,
956
+ class: "vue-ui-strip-plot-category-name",
957
+ transform: `translate(${n.value.left + (o + 1) * n.value.stripWidth - n.value.stripWidth / 2}, ${n.value.bottom + e.value.style.chart.labels.xAxisLabels.fontSize * 2 + e.value.style.chart.labels.xAxisLabels.offsetY}), rotate(${e.value.style.chart.labels.xAxisLabels.rotation})`,
958
+ "font-size": e.value.style.chart.labels.xAxisLabels.fontSize,
959
+ fill: e.value.style.chart.labels.xAxisLabels.color,
960
+ "text-anchor": e.value.style.chart.labels.xAxisLabels.rotation > 0 ? "start" : e.value.style.chart.labels.xAxisLabels.rotation < 0 ? "end" : "middle"
961
+ }, P(String(l)), 9, Ql))
962
+ ]))), 256))
963
+ ], 512)) : f("", !0),
964
+ e.value.style.chart.labels.axis.yLabel ? (r(), i("text", {
965
+ key: 4,
966
+ ref_key: "yAxisLabel",
967
+ ref: pe,
968
+ fill: e.value.style.chart.labels.axis.color,
969
+ "font-size": e.value.style.chart.labels.axis.fontSize,
970
+ transform: `translate(${e.value.style.chart.labels.axis.fontSize}, ${n.value.top + n.value.height / 2}) rotate(-90)`,
971
+ "text-anchor": "middle"
972
+ }, P(e.value.style.chart.labels.axis.yLabel), 9, ta)) : f("", !0),
973
+ e.value.style.chart.labels.axis.xLabel ? (r(), i("text", {
974
+ key: 5,
975
+ ref_key: "xAxisLabel",
976
+ ref: he,
977
+ fill: e.value.style.chart.labels.axis.color,
978
+ "font-size": e.value.style.chart.labels.axis.fontSize,
979
+ x: n.value.left + n.value.width / 2,
980
+ y: S.value - e.value.style.chart.labels.axis.fontSize / 3,
981
+ "text-anchor": "middle"
982
+ }, P(e.value.style.chart.labels.axis.xLabel), 9, la)) : f("", !0),
983
+ y.value ? (r(), i(A, { key: 6 }, [
984
+ m("line", {
985
+ x1: n.value.left,
986
+ x2: n.value.right,
987
+ y1: y.value.y,
988
+ y2: y.value.y,
989
+ stroke: y.value.color,
990
+ "stroke-width": 1,
991
+ class: ee({ "select-circle": e.value.useCssAnimation })
992
+ }, null, 10, aa),
993
+ m("circle", {
994
+ cx: n.value.left,
995
+ cy: y.value.y,
996
+ r: 3,
997
+ fill: y.value.color,
998
+ class: ee({ "select-circle": e.value.useCssAnimation })
999
+ }, null, 10, oa),
1000
+ m("circle", {
1001
+ cx: n.value.right,
1002
+ cy: y.value.y,
1003
+ r: 3,
1004
+ fill: y.value.color,
1005
+ class: ee({ "select-circle": e.value.useCssAnimation })
1006
+ }, null, 10, sa)
1007
+ ], 64)) : f("", !0),
1008
+ m("defs", null, [
1009
+ (r(!0), i(A, null, N(L.value, (l) => (r(), i("radialGradient", {
1010
+ id: l.id,
1011
+ fy: "30%"
1012
+ }, [
1013
+ m("stop", {
1014
+ offset: "10%",
1015
+ "stop-color": c(ml)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
1016
+ }, null, 8, ra),
1017
+ m("stop", {
1018
+ offset: "90%",
1019
+ "stop-color": c(gl)(l.color, 0.1)
1020
+ }, null, 8, ua),
1021
+ m("stop", {
1022
+ offset: "100%",
1023
+ "stop-color": l.color
1024
+ }, null, 8, ia)
1025
+ ], 8, na))), 256))
1026
+ ]),
1027
+ (r(!0), i(A, null, N(q.value, (l, o) => (r(), i(A, null, [
1028
+ (r(!0), i(A, null, N(l.plots, (s, p) => (r(), z(Ml, bt({ ref_for: !0 }, t.$attrs, {
1029
+ plot: { x: s.x, y: Ue.value ? s.y : n.value.top },
1030
+ radius: y.value && y.value.id === s.id ? Le.value * 1.5 : Le.value,
1031
+ shape: e.value.style.chart.plots.shape,
1032
+ stroke: e.value.style.chart.plots.stroke,
1033
+ strokeWidth: e.value.style.chart.plots.strokeWidth,
1034
+ color: e.value.style.chart.plots.gradient.show ? `url(#${l.id})` : l.color,
1035
+ style: `transition: all 0.2s ease-in-out; opacity:${y.value ? y.value.id === s.id ? 1 : 0.2 : e.value.style.chart.plots.opacity};${j.value ? `transition-delay:${p * 50}ms` : ""}`,
1036
+ class: { "vue-ui-strip-plot-animated": e.value.useCssAnimation && j.value && !c(be), "vue-ui-strip-plot-select-circle": e.value.useCssAnimation && !j.value },
1037
+ onMouseenter: (_) => tt({ datapoint: s, seriesIndex: p, triggerMode: "pointer" }),
1038
+ onMouseleave: (_) => Xt({ datapoint: s, seriesIndex: p }),
1039
+ onClick: (_) => et({ datapoint: s, seriesIndex: p })
1040
+ }), null, 16, ["plot", "radius", "shape", "stroke", "strokeWidth", "color", "style", "class", "onMouseenter", "onMouseleave", "onClick"]))), 256)),
1041
+ b.value.dataLabels.show ? (r(), i("g", ca, [
1042
+ (r(!0), i(A, null, N(l.plots, (s, p) => (r(), i(A, null, [
1043
+ p === l.plots.length - 1 || y.value && y.value.id === s.id && !b.value.showTooltip ? (r(), i("text", {
1044
+ key: 0,
1045
+ x: s.x,
1046
+ y: s.y + e.value.style.chart.labels.bestPlotLabel.offsetY - Le.value * (y.value && y.value.id === s.id && !b.value.showTooltip ? 2 : 1.5),
1047
+ "font-size": e.value.style.chart.labels.bestPlotLabel.fontSize,
1048
+ fill: e.value.style.chart.labels.bestPlotLabel.color,
1049
+ "text-anchor": "middle",
1050
+ style: Q(`opacity:${e.value.useCssAnimation && j.value ? 0 : 1};transition:opacity 0.2s ease-in;`)
1051
+ }, P(s.name) + " " + P(e.value.style.chart.labels.bestPlotLabel.showValue ? c(Ie)(
1052
+ e.value.style.chart.labels.formatter,
1053
+ s.value,
1054
+ c(ce)({
1055
+ p: `(${e.value.style.chart.labels.prefix}`,
1056
+ v: s.value,
1057
+ s: `${e.value.style.chart.labels.suffix})`,
1058
+ r: e.value.style.chart.labels.bestPlotLabel.rounding
1059
+ }),
1060
+ { datapoint: s, seriesIndex: p }
1061
+ ) : ""), 13, va)) : f("", !0)
1062
+ ], 64))), 256))
1063
+ ])) : f("", !0)
1064
+ ], 64))), 256)),
1065
+ v(t.$slots, "svg", {
1066
+ svg: {
1067
+ ...n.value,
1068
+ isPrintingImg: c(we) | c(Ae) | ae.value,
1069
+ isPrintingSvg: oe.value
1070
+ }
1071
+ }, void 0, !0)
1072
+ ], 46, Ul)),
1073
+ t.$slots.hint ? (r(), i("div", da, [
1074
+ v(t.$slots, "hint", g(k({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: ye.value })), void 0, !0)
1075
+ ])) : f("", !0)
1076
+ ]),
1077
+ t.$slots.watermark ? (r(), i("div", ha, [
1078
+ v(t.$slots, "watermark", g(k({ isPrinting: c(we) || c(Ae) || ae.value || oe.value })), void 0, !0)
1079
+ ])) : f("", !0),
1080
+ t.$slots.source ? (r(), i("div", {
1081
+ key: 6,
1082
+ ref_key: "source",
1083
+ ref: We,
1084
+ dir: "auto"
1085
+ }, [
1086
+ v(t.$slots, "source", {}, void 0, !0)
1087
+ ], 512)) : f("", !0),
1088
+ ze(c(_t), {
1089
+ teleportTo: e.value.style.chart.tooltip.teleportTo,
1090
+ show: b.value.showTooltip && le.value,
1091
+ backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1092
+ color: e.value.style.chart.tooltip.color,
1093
+ borderRadius: e.value.style.chart.tooltip.borderRadius,
1094
+ borderColor: e.value.style.chart.tooltip.borderColor,
1095
+ borderWidth: e.value.style.chart.tooltip.borderWidth,
1096
+ fontSize: e.value.style.chart.tooltip.fontSize,
1097
+ backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1098
+ position: e.value.style.chart.tooltip.position,
1099
+ offsetY: e.value.style.chart.tooltip.offsetY,
1100
+ parent: T.value,
1101
+ content: ve.value,
1102
+ isFullscreen: R.value,
1103
+ isCustom: c(At)(e.value.style.chart.tooltip.customFormat),
1104
+ smooth: e.value.style.chart.tooltip.smooth,
1105
+ backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1106
+ smoothForce: e.value.style.chart.tooltip.smoothForce,
1107
+ smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
1108
+ isA11yMode: K.value === "keyboard",
1109
+ a11yPosition: Ke.value
1110
+ }, {
1111
+ "tooltip-before": d(() => [
1112
+ v(t.$slots, "tooltip-before", g(k({ ...Se.value })), void 0, !0)
1113
+ ]),
1114
+ "tooltip-after": d(() => [
1115
+ v(t.$slots, "tooltip-after", g(k({ ...Se.value })), void 0, !0)
1116
+ ]),
1117
+ _: 3
1118
+ }, 8, ["teleportTo", "show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1119
+ te.value && e.value.userOptions.buttons.table ? (r(), z(cl(Z.value.component), bt({ key: 7 }, Z.value.props, {
1120
+ ref_key: "tableUnit",
1121
+ ref: H,
1122
+ onClose: rt
1123
+ }), yt({
1124
+ content: d(() => [
1125
+ (r(), z(c(Dt), {
1126
+ key: `table_${Ve.value}`,
1127
+ colNames: U.value.colNames,
1128
+ head: U.value.head,
1129
+ body: U.value.body,
1130
+ config: U.value.config,
1131
+ title: e.value.table.useDialog ? "" : Z.value.title,
1132
+ withCloseButton: !e.value.table.useDialog,
1133
+ isCursorPointer: X.value,
1134
+ onClose: rt
1135
+ }, {
1136
+ th: d(({ th: l }) => [
1137
+ m("div", {
1138
+ innerHTML: l,
1139
+ style: { display: "flex", "align-items": "center" }
1140
+ }, null, 8, pa)
1141
+ ]),
1142
+ td: d(({ td: l }) => [
1143
+ mt(P(l.name || l), 1)
1144
+ ]),
1145
+ _: 1
1146
+ }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
1147
+ ]),
1148
+ _: 2
1149
+ }, [
1150
+ e.value.table.useDialog ? {
1151
+ name: "title",
1152
+ fn: d(() => [
1153
+ mt(P(Z.value.title), 1)
1154
+ ]),
1155
+ key: "0"
1156
+ } : void 0,
1157
+ e.value.table.useDialog ? {
1158
+ name: "actions",
1159
+ fn: d(() => [
1160
+ m("button", {
1161
+ tabindex: "0",
1162
+ class: "vue-ui-user-options-button",
1163
+ onClick: a[0] || (a[0] = (l) => _e(e.value.userOptions.callbacks.csv)),
1164
+ style: Q({ cursor: X.value ? "pointer" : "default" })
1165
+ }, [
1166
+ ze(c(Pt), {
1167
+ name: "fileCsv",
1168
+ stroke: Z.value.props.color
1169
+ }, null, 8, ["stroke"])
1170
+ ], 4)
1171
+ ]),
1172
+ key: "1"
1173
+ } : void 0
1174
+ ]), 1040)) : f("", !0),
1175
+ v(t.$slots, "skeleton", {}, () => [
1176
+ c(be) ? (r(), z(Tl, { key: 0 })) : f("", !0)
1177
+ ], !0)
1178
+ ], 46, El));
1179
+ }
1180
+ }, Na = /* @__PURE__ */ Bl(fa, [["__scopeId", "data-v-10340614"]]);
1181
+ export {
1182
+ Na as default
1183
+ };