vue-data-ui 3.22.8 → 3.22.10

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 (209) hide show
  1. package/dist/{Arrow-DdymhUfY.js → Arrow-Ku6rQ87g.js} +1 -1
  2. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-CdkCqtag.js} +2 -2
  3. package/dist/BaseIcon-CDTIUIKV.js +483 -0
  4. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-BrQ2OlzI.js} +1 -1
  5. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-CkEX0292.js} +2 -2
  6. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-C959ZIW9.js} +2 -2
  7. package/dist/{DataTable-D9NvewTT.js → DataTable-ByZy5gt1.js} +2 -2
  8. package/dist/DefGrad-DVBqDjhO.js +48 -0
  9. package/dist/{Legend-ROt6ugzW.js → Legend-5VQGLnmx.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-Bd8OzTqw.js} +3 -3
  11. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-BoTvk0i5.js} +1 -1
  12. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-CLaZJl6K.js} +3 -3
  13. package/dist/{Shape-UpH0a4Ur.js → Shape-B5ksaGa1.js} +3 -3
  14. package/dist/{Slicer-BZ5VnOOS.js → Slicer-WsWTQPKt.js} +368 -363
  15. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-3n516NyE.js} +460 -455
  16. package/dist/{SparkTooltip-BTLN-Kex.js → SparkTooltip-CbYYc-xb.js} +1 -1
  17. package/dist/{Title-CcNiYzEo.js → Title-Cr3jP7Qd.js} +1 -1
  18. package/dist/{Tooltip-CxOrWlFy.js → Tooltip-CDbLl3TD.js} +1 -1
  19. package/dist/{UserOptions-16uF1ayB.js → UserOptions-BUQOnoPR.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/{dom-to-png-BbwhsRIr.js → dom-to-png-COPbGrdd.js} +1 -1
  90. package/dist/exposedLib-CZbtc2a6.js +25 -0
  91. package/dist/{img-DnP3eXuv.js → img-CNdXiUfZ.js} +1 -1
  92. package/dist/{labelUtils-DBEh078l.js → labelUtils-JaoYKi2N.js} +1 -1
  93. package/dist/{lib-JqW18y5I.js → lib-CnHx5WfV.js} +118 -107
  94. package/dist/{package-gp9pYCfN.js → package-BRBLwZUc.js} +1 -1
  95. package/dist/{pdf-hj3gzrE7.js → pdf-CEMzBeuV.js} +1 -1
  96. package/dist/{render-common-CLn1VXJ9.js → render-common-DJXFRGhU.js} +10 -10
  97. package/dist/ssr/vue-ui-donut.js +1 -1
  98. package/dist/ssr/vue-ui-xy.js +1 -1
  99. package/dist/ssr.js +2 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/utils.d.ts +40 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-BGnDfZdg.js → useAutoSizeLabelsInsideViewbox-BUPt2iaP.js} +1 -1
  103. package/dist/{useNestedProp-DIuuzG1r.js → useNestedProp-D8NuRneO.js} +2 -2
  104. package/dist/{usePrinter-CqqHmnBI.js → usePrinter-B-X_Pub0.js} +2 -2
  105. package/dist/utils.js +26 -24
  106. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-Bx_8d3b_.js} +68 -68
  107. package/dist/vue-data-ui.js +77 -77
  108. package/dist/vue-ui-3d-bar-CfUfbpSE.js +1825 -0
  109. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-Oo3IsX3-.js} +3 -3
  110. package/dist/vue-ui-age-pyramid-DD-4y5Jd.js +1247 -0
  111. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BvGE3lzE.js} +8 -8
  112. package/dist/vue-ui-bullet-DYOdbaO2.js +710 -0
  113. package/dist/vue-ui-bump-B8fJoxHF.js +1249 -0
  114. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-BUP1JoNs.js} +555 -544
  115. package/dist/vue-ui-carousel-table-D-Bwhydt.js +455 -0
  116. package/dist/vue-ui-chestnut-C2VK2NEx.js +2042 -0
  117. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-AA-QjUQI.js} +42 -42
  118. package/dist/vue-ui-circle-pack-CdBFGYOK.js +1614 -0
  119. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-Cm_J_5Gk.js} +5 -5
  120. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CgRph4-n.js} +32 -32
  121. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BuPw5QjB.js} +69 -69
  122. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-ClrukmcB.js} +3 -3
  123. package/dist/vue-ui-donut-Bc-EPZvu.js +2419 -0
  124. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-DtQCrMKL.js} +207 -207
  125. package/dist/vue-ui-donut-evolution-DHkiY-BD.js +1522 -0
  126. package/dist/vue-ui-dumbbell-BlHEH4Mw.js +1564 -0
  127. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-PjwAW2tY.js} +71 -71
  128. package/dist/vue-ui-funnel-DojI09FV.js +782 -0
  129. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-txYIK_LG.js} +276 -276
  130. package/dist/vue-ui-gauge-CoL0OzSd.js +926 -0
  131. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-yuL-_sqF.js} +20 -20
  132. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-CbC5zV3K.js} +66 -61
  133. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-CwqsZIsR.js} +331 -331
  134. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-CuWssH-D.js} +561 -550
  135. package/dist/vue-ui-horizontal-bar-Dyje3GND.js +1689 -0
  136. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BdYenScF.js} +3 -3
  137. package/dist/{vue-ui-mini-loader-D5we7V_W.js → vue-ui-mini-loader-BbwE3vBT.js} +2 -2
  138. package/dist/vue-ui-molecule-BBh31vmd.js +931 -0
  139. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-B_6GFlaR.js} +336 -331
  140. package/dist/vue-ui-nested-donuts-BWq-At5Y.js +1493 -0
  141. package/dist/vue-ui-onion-BwGbSE-6.js +1200 -0
  142. package/dist/vue-ui-parallel-coordinate-plot-Bh9hNoqf.js +1416 -0
  143. package/dist/vue-ui-quadrant-B72Y4Zuw.js +1984 -0
  144. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-B3LF2ViM.js} +108 -108
  145. package/dist/vue-ui-radar-4v_E8oGX.js +1287 -0
  146. package/dist/vue-ui-rating-CzLGCFWK.js +352 -0
  147. package/dist/vue-ui-relation-circle-B_8dyIv2.js +924 -0
  148. package/dist/{vue-ui-ridgeline-Cp3YP0xe.js → vue-ui-ridgeline-BArLhskj.js} +543 -537
  149. package/dist/vue-ui-rings-Csn5BgLk.js +1252 -0
  150. package/dist/vue-ui-scatter-BBaOx94M.js +2422 -0
  151. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-KeIPGp9U.js} +426 -423
  152. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-C1mYDh4R.js} +120 -107
  153. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-EqCqmHmU.js} +145 -140
  154. package/dist/vue-ui-sparkbar-BPh45vBP.js +398 -0
  155. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-CtouPcyW.js} +81 -76
  156. package/dist/{vue-ui-sparkhistogram-D02ff7ZI.js → vue-ui-sparkhistogram-D4sI0DHN.js} +166 -150
  157. package/dist/vue-ui-sparkline-BDFZ78Fz.js +1560 -0
  158. package/dist/vue-ui-sparkstackbar-CbTXIfxm.js +674 -0
  159. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-nMXIY9x8.js} +603 -596
  160. package/dist/vue-ui-stackline-CzfXl5ah.js +2425 -0
  161. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-BCf5nthl.js} +415 -408
  162. package/dist/vue-ui-table-BAKkFXki.js +1338 -0
  163. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CUMxqHKK.js} +15 -15
  164. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-BVTm16fd.js} +20 -20
  165. package/dist/vue-ui-thermometer-CGeEW1KV.js +770 -0
  166. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-Bz7EnsM1.js} +94 -89
  167. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-IOqtk_Rr.js} +17 -17
  168. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-JxNNtb7v.js} +509 -504
  169. package/dist/vue-ui-waffle-D34mcJWi.js +1368 -0
  170. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-B_qEhyvk.js} +44 -44
  171. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-TtObhd91.js} +32 -32
  172. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-R9o00A6c.js} +359 -348
  173. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-CUt6sU1s.js} +1678 -1652
  174. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Do34-UbE.js} +134 -134
  175. package/dist/vue-ui-xy-canvas-C6eRRH--.js +1790 -0
  176. package/package.json +1 -1
  177. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  178. package/dist/exposedLib-VXFp3Z2c.js +0 -19
  179. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  180. package/dist/vue-ui-age-pyramid-DTAOc7fn.js +0 -1238
  181. package/dist/vue-ui-bullet-CCLnrOLm.js +0 -710
  182. package/dist/vue-ui-bump-Rq7efdoe.js +0 -1249
  183. package/dist/vue-ui-carousel-table-Lx5Zk4dG.js +0 -455
  184. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  185. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  186. package/dist/vue-ui-donut-C3Rt6j-I.js +0 -2410
  187. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  188. package/dist/vue-ui-dumbbell-wK7vUB0x.js +0 -1530
  189. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  190. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  191. package/dist/vue-ui-horizontal-bar-D1rCsgqt.js +0 -1683
  192. package/dist/vue-ui-molecule-CExCqZ08.js +0 -925
  193. package/dist/vue-ui-nested-donuts-3TRV8pN-.js +0 -1487
  194. package/dist/vue-ui-onion-DwKK9DXn.js +0 -1200
  195. package/dist/vue-ui-parallel-coordinate-plot-DSp_cwU-.js +0 -1416
  196. package/dist/vue-ui-quadrant-ByVg-NBs.js +0 -1978
  197. package/dist/vue-ui-radar-DE-me6OC.js +0 -1281
  198. package/dist/vue-ui-rating-CzD3EQ3G.js +0 -343
  199. package/dist/vue-ui-relation-circle-L7-dTqet.js +0 -924
  200. package/dist/vue-ui-rings-WzWiEo9W.js +0 -1246
  201. package/dist/vue-ui-scatter-DwrAydha.js +0 -2413
  202. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  203. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  204. package/dist/vue-ui-sparkstackbar-DrmiWFlw.js +0 -662
  205. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  206. package/dist/vue-ui-table-Q3brrivC.js +0 -1338
  207. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
  208. package/dist/vue-ui-waffle-Pi9e7Ae7.js +0 -1362
  209. package/dist/vue-ui-xy-canvas-BfgeE3TW.js +0 -1790
@@ -1,41 +1,42 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Bt as n, G as r, J as i, Kt as a, M as ee, Mt as o, S as s, T as te, U as ne, Wt as re, X as ie, Z as ae, b as oe, dt as se, i as ce, j as le, kt as ue, pt as de, r as fe, t as pe, z as me } from "./lib-JqW18y5I.js";
3
- import { t as he } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as ge } from "./useConfig-DYM3f6EI.js";
5
- import { t as _e } from "./usePrinter-CqqHmnBI.js";
6
- import { n as ve, t as ye } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as be } from "./useSvgExport-SVIsDot8.js";
8
- import { t as xe } from "./useNestedProp-DIuuzG1r.js";
9
- import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as we } from "./img-DnP3eXuv.js";
12
- import { n as Te } from "./Title-CcNiYzEo.js";
13
- import { t as Ee } from "./Shape-UpH0a4Ur.js";
14
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
- import { c as Oe } from "./canvas-lib-BOP_HS11.js";
16
- import { t as ke } from "./useResponsive-BfnK0KxU.js";
17
- import { t as Ae } from "./BaseLegendToggle-DtQ8vyfr.js";
18
- import { t as je } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Pe } from "./Legend-ROt6ugzW.js";
22
- import { t as Fe } from "./vue_ui_ridgeline-VM8_mx4J.js";
23
- import { Fragment as c, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ie, createTextVNode as Le, createVNode as Re, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as ze, nextTick as Be, normalizeClass as Ve, normalizeProps as g, normalizeStyle as _, onBeforeUnmount as He, openBlock as v, ref as y, renderList as b, renderSlot as x, resolveDynamicComponent as Ue, shallowRef as We, toDisplayString as S, toRefs as Ge, unref as C, watch as w, watchEffect as Ke, withCtx as T } from "vue";
2
+ import { At as t, B as n, C as r, E as i, Gt as a, K as o, M as s, N as ee, Nt as c, Q as l, Vt as te, W as ne, Y as re, Z as ie, et as ae, ft as oe, i as se, mt as ce, qt as le, r as ue, t as de, x as fe } from "./lib-CnHx5WfV.js";
3
+ import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as me } from "./useConfig-DYM3f6EI.js";
5
+ import { t as he } from "./usePrinter-B-X_Pub0.js";
6
+ import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ve } from "./useSvgExport-SVIsDot8.js";
8
+ import { t as ye } from "./useNestedProp-D8NuRneO.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
+ import { t as Se } from "./img-CNdXiUfZ.js";
12
+ import { n as Ce } from "./Title-Cr3jP7Qd.js";
13
+ import { t as we } from "./Shape-B5ksaGa1.js";
14
+ import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
+ import { c as Ee } from "./canvas-lib-BOP_HS11.js";
16
+ import { t as De } from "./useResponsive-BfnK0KxU.js";
17
+ import { t as Oe } from "./DefGrad-DVBqDjhO.js";
18
+ import { t as ke } from "./BaseLegendToggle-BrQ2OlzI.js";
19
+ import { t as Ae } from "./A11yDataTable-DdRsVULz.js";
20
+ import { t as je } from "./useUserOptionState-DK-_1ddE.js";
21
+ import { t as Me } from "./useChartAccessibility-DYqac8yF.js";
22
+ import { t as Ne } from "./Legend-5VQGLnmx.js";
23
+ import { t as Pe } from "./vue_ui_ridgeline-VM8_mx4J.js";
24
+ import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Re, nextTick as ze, normalizeClass as Be, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Ve, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as w, toRefs as We, unref as T, watch as Ge, watchEffect as Ke, withCtx as E } from "vue";
24
25
  //#region src/components/vue-ui-ridgeline.vue
25
- var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
26
+ var qe = /* @__PURE__ */ e({ default: () => _t }), Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
26
27
  "xmlns",
27
28
  "aria-describedby",
28
29
  "viewBox"
29
- ], Qe = ["id"], $e = ["stop-color"], et = ["stop-color"], tt = ["stop-color"], nt = ["stop-color"], rt = ["id"], it = ["stop-color"], at = ["stop-color"], ot = ["stop-color"], st = ["stop-color"], ct = { key: 0 }, lt = ["fill", "d"], ut = [
30
+ ], Qe = { key: 0 }, $e = ["fill", "d"], et = [
30
31
  "stroke",
31
32
  "stroke-width",
32
33
  "d"
33
- ], dt = ["fill", "d"], ft = [
34
+ ], tt = ["fill", "d"], nt = [
34
35
  "stroke",
35
36
  "stroke-dasharray",
36
37
  "stroke-width",
37
38
  "d"
38
- ], pt = [
39
+ ], rt = [
39
40
  "x1",
40
41
  "y1",
41
42
  "x2",
@@ -43,14 +44,14 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
43
44
  "stroke",
44
45
  "stroke-width",
45
46
  "stroke-dasharray"
46
- ], mt = [
47
+ ], it = [
47
48
  "cx",
48
49
  "cy",
49
50
  "stroke",
50
51
  "stroke-width",
51
52
  "r",
52
53
  "fill"
53
- ], ht = [
54
+ ], at = [
54
55
  "x",
55
56
  "y",
56
57
  "font-size",
@@ -59,20 +60,20 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
59
60
  "text-decoration",
60
61
  "onMouseenter",
61
62
  "onClick"
62
- ], gt = { key: 0 }, _t = [
63
+ ], ot = { key: 0 }, st = [
63
64
  "font-size",
64
65
  "fill",
65
66
  "font-weight",
66
67
  "transform",
67
68
  "text-anchor"
68
- ], vt = [
69
+ ], ct = [
69
70
  "font-size",
70
71
  "fill",
71
72
  "font-weight",
72
73
  "transform",
73
74
  "text-anchor",
74
75
  "innerHTML"
75
- ], yt = [
76
+ ], lt = [
76
77
  "x",
77
78
  "y",
78
79
  "width",
@@ -80,7 +81,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
80
81
  "onMouseenter",
81
82
  "onMouseleave",
82
83
  "onClick"
83
- ], bt = [
84
+ ], ut = [
84
85
  "x1",
85
86
  "x2",
86
87
  "y1",
@@ -88,20 +89,20 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
88
89
  "stroke",
89
90
  "stroke-width",
90
91
  "stroke-dasharray"
91
- ], xt = [
92
+ ], dt = [
92
93
  "cx",
93
94
  "cy",
94
95
  "stroke",
95
96
  "stroke-width",
96
97
  "r",
97
98
  "fill"
98
- ], St = [
99
+ ], ft = [
99
100
  "x",
100
101
  "y",
101
102
  "text-anchor",
102
103
  "font-size",
103
104
  "fill"
104
- ], Ct = {
105
+ ], pt = {
105
106
  key: 0,
106
107
  style: {
107
108
  position: "absolute",
@@ -111,10 +112,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
111
112
  },
112
113
  "data-dom-to-png-ignore": "",
113
114
  "aria-hidden": "true"
114
- }, wt = {
115
+ }, mt = {
115
116
  key: 5,
116
117
  class: "vue-data-ui-watermark"
117
- }, Tt = ["onClick"], Et = ["innerHTML"], Dt = /*#__PURE__*/ De({
118
+ }, ht = ["onClick"], gt = ["innerHTML"], _t = /*#__PURE__*/ Te({
118
119
  __name: "vue-ui-ridgeline",
119
120
  props: {
120
121
  config: {
@@ -136,35 +137,35 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
136
137
  "selectX",
137
138
  "copyAlt"
138
139
  ],
139
- setup(e, { expose: De, emit: qe }) {
140
- let Dt = m(() => import("./vue-ui-xy-Bvgy2do1.js").then((e) => e.n)), Ot = m(() => import("./BaseIcon-C2qlyHc7.js").then((e) => e.n)), kt = m(() => import("./vue-ui-accordion-YyosvEPo.js").then((e) => e.n)), At = m(() => import("./DataTable-D9NvewTT.js")), jt = m(() => import("./PenAndPaper-pcgwlYr2.js").then((e) => e.t)), Mt = m(() => import("./UserOptions-16uF1ayB.js").then((e) => e.n)), Nt = m(() => import("./PackageVersion-DW7zwRcm.js").then((e) => e.t)), Pt = m(() => import("./BaseDraggableDialog-DcfGlH8A.js").then((e) => e.n)), { vue_ui_ridgeline: Ft } = ge(), { isThemeValid: It, warnInvalidTheme: Lt } = Se(), E = e, D = l({
140
+ setup(e, { expose: Te, emit: qe }) {
141
+ let _t = g(() => import("./vue-ui-xy-CUt6sU1s.js").then((e) => e.n)), vt = g(() => import("./BaseIcon-CDTIUIKV.js").then((e) => e.n)), yt = g(() => import("./vue-ui-accordion-Oo3IsX3-.js").then((e) => e.n)), bt = g(() => import("./DataTable-ByZy5gt1.js")), xt = g(() => import("./PenAndPaper-CLaZJl6K.js").then((e) => e.t)), St = g(() => import("./UserOptions-BUQOnoPR.js").then((e) => e.n)), Ct = g(() => import("./PackageVersion-BoTvk0i5.js").then((e) => e.t)), wt = g(() => import("./BaseDraggableDialog-CdkCqtag.js").then((e) => e.n)), { vue_ui_ridgeline: Tt } = me(), { isThemeValid: Et, warnInvalidTheme: Dt } = be(), D = e, Ot = d({
141
142
  get() {
142
143
  return Array.isArray(z.value) && z.value.length > 0;
143
144
  },
144
145
  set(e) {
145
146
  return e;
146
147
  }
147
- }), O = qe, k = y(null), Rt = y(null), zt = y(null), A = We(null), j = We(null), Bt = y(null), Vt = y(null), Ht = y(0), Ut = y(0), Wt = y(0), M = y(r()), Gt = y(0), Kt = y(0), qt = y(512), N = y(null), P = y(null), Jt = y(null), Yt = y(0), Xt = y(null), Zt = y(null), Qt = y(null), $t = y(!1), en = y(!1), F = y(null), tn = y(!1);
148
- function nn() {
149
- let e = xe({
150
- userConfig: E.config,
151
- defaultConfig: Ft
148
+ }), kt = qe, O = x(null), At = x(null), jt = x(null), k = Ue(null), A = Ue(null), Mt = x(null), Nt = x(null), Pt = x(0), Ft = x(0), It = x(0), j = x(o()), Lt = x(0), Rt = x(0), zt = x(512), M = x(null), N = x(null), Bt = x(null), Vt = x(0), Ht = x(null), P = x(null), Ut = x(null), Wt = x(!1), Gt = x(!1), F = x(null), Kt = x(!1);
149
+ function qt() {
150
+ let e = ye({
151
+ userConfig: D.config,
152
+ defaultConfig: Tt
152
153
  }), t = e.theme;
153
154
  if (!t) return e;
154
- if (!It.value(e)) return Lt(e), e;
155
- let n = xe({
156
- userConfig: Fe[t] || E.config,
155
+ if (!Et.value(e)) return Dt(e), e;
156
+ let n = ye({
157
+ userConfig: Pe[t] || D.config,
157
158
  defaultConfig: e
158
- }), r = xe({
159
- userConfig: E.config,
159
+ }), r = ye({
160
+ userConfig: D.config,
160
161
  defaultConfig: n
161
162
  });
162
163
  return {
163
164
  ...r,
164
- customPalette: r.customPalette.length ? r.customPalette : re[t] || o
165
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || c
165
166
  };
166
167
  }
167
- let I = y(nn()), L = l(() => I.value.userOptions.useCursorPointer), rn = l(() => a({
168
+ let I = x(qt()), L = d(() => I.value.userOptions.useCursorPointer), Jt = d(() => le({
168
169
  defaultConfig: {
169
170
  userOptions: { show: !1 },
170
171
  table: { show: !1 },
@@ -186,11 +187,11 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
186
187
  } }
187
188
  },
188
189
  userConfig: I.value.skeletonConfig ?? {}
189
- })), { loading: R, FINAL_DATASET: z, manualLoading: an } = ve({
190
- ...Ge(E),
190
+ })), { loading: R, FINAL_DATASET: z, manualLoading: Yt } = ge({
191
+ ...We(D),
191
192
  FINAL_CONFIG: I,
192
- prepareConfig: nn,
193
- skeletonDataset: E.config?.skeletonDataset ?? [
193
+ prepareConfig: qt,
194
+ skeletonDataset: D.config?.skeletonDataset ?? [
194
195
  {
195
196
  name: "_",
196
197
  datapoints: [{
@@ -420,226 +421,226 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
420
421
  }]
421
422
  }
422
423
  ],
423
- skeletonConfig: a({
424
+ skeletonConfig: le({
424
425
  defaultConfig: I.value,
425
- userConfig: rn.value
426
+ userConfig: Jt.value
426
427
  })
427
- }), B = y(Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight)), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = Me({ config: I.value }), { svgRef: V } = Ne({ config: I.value.style.chart.title }), ln = l(() => !!I.value.debug);
428
- function un() {
428
+ }), B = x(Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight)), { userOptionsVisible: Xt, setUserOptionsVisibility: Zt, keepUserOptionState: Qt } = je({ config: I.value }), { svgRef: V } = Me({ config: I.value.style.chart.title }), $t = d(() => !!I.value.debug);
429
+ function en() {
429
430
  let e = z.value || [];
430
431
  if (!Array.isArray(e) || e.length === 0) {
431
- t({
432
+ ae({
432
433
  componentName: "VueUiRidgeline",
433
434
  type: "dataset",
434
- debug: ln.value
435
- }), an.value = !0;
435
+ debug: $t.value
436
+ }), Yt.value = !0;
436
437
  return;
437
438
  }
438
- if (e.forEach((e, n) => {
439
- se({
439
+ if (e.forEach((e, t) => {
440
+ oe({
440
441
  datasetObject: e,
441
442
  requiredAttributes: ["name", "datapoints"]
442
443
  }).forEach((e) => {
443
- D.value = !1, t({
444
+ Ot.value = !1, ae({
444
445
  componentName: "VueUiRidgeline",
445
446
  type: "datasetSerieAttribute",
446
447
  property: e,
447
- index: n,
448
- debug: ln.value
448
+ index: t,
449
+ debug: $t.value
449
450
  });
450
- }), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, r) => {
451
- se({
451
+ }), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
452
+ oe({
452
453
  datasetObject: e,
453
454
  requiredAttributes: ["name", "values"]
454
455
  }).forEach((e) => {
455
- D.value = !1, t({
456
+ Ot.value = !1, ae({
456
457
  componentName: "VueUiRidgeline",
457
458
  type: "datasetSerieAttribute",
458
459
  property: `datapoint.${e}`,
459
- index: `${n}-${r}`,
460
- debug: ln.value
460
+ index: `${t}-${n}`,
461
+ debug: $t.value
461
462
  });
462
463
  });
463
464
  });
464
- }), Kt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), ue(E.dataset) || (an.value = I.value.loading), I.value.responsive) {
465
- let t = Oe(() => {
466
- let { width: t, height: n } = ke({
467
- chart: k.value,
468
- title: I.value.style.chart.title.text ? Rt.value : null,
469
- legend: I.value.style.chart.legend.show ? zt.value : null,
470
- source: Bt.value,
471
- noTitle: Vt.value,
465
+ }), Rt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), t(D.dataset) || (Yt.value = I.value.loading), I.value.responsive) {
466
+ let t = Ee(() => {
467
+ let { width: t, height: n } = De({
468
+ chart: O.value,
469
+ title: I.value.style.chart.title.text ? At.value : null,
470
+ legend: I.value.style.chart.legend.show ? jt.value : null,
471
+ source: Mt.value,
472
+ noTitle: Nt.value,
472
473
  padding: I.value.style.chart.padding
473
474
  });
474
475
  requestAnimationFrame(() => {
475
- qt.value = t, B.value = e.length ? n / e.length : 0, Yt.value = n - 12;
476
+ zt.value = t, B.value = e.length ? n / e.length : 0, Vt.value = n - 12;
476
477
  });
477
478
  });
478
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect()), A.value = new ResizeObserver(t), j.value = k.value?.parentNode || null, j.value && A.value.observe(j.value);
479
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect()), k.value = new ResizeObserver(t), A.value = O.value?.parentNode || null, A.value && k.value.observe(A.value);
479
480
  }
480
481
  }
481
- He(() => {
482
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
482
+ Ve(() => {
483
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
483
484
  });
484
- let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = _e({
485
- elementId: `vue-ui-ridgeline_${M.value}`,
485
+ let { isPrinting: tn, isImaging: nn, generatePdf: rn, generateImage: an } = he({
486
+ elementId: `vue-ui-ridgeline_${j.value}`,
486
487
  fileName: I.value.style.chart.title.text || "vue-ui-ridgeline",
487
488
  options: I.value.userOptions.print
488
- }), hn = l(() => I.value.userOptions.show && !I.value.style.chart.title.text), gn = l(() => s(I.value.customPalette)), H = y({ showTable: I.value.table.show });
489
- w(() => z.value, async (e) => {
490
- Array.isArray(e) && e.length && (on.value = !I.value.userOptions.showOnChartHover, await Be(), un(), Ht.value += 1, Wt.value += 1, H.value.showTable = I.value.table.show);
489
+ }), on = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), sn = d(() => r(I.value.customPalette)), H = x({ showTable: I.value.table.show });
490
+ Ge(() => z.value, async (e) => {
491
+ Array.isArray(e) && e.length && (Xt.value = !I.value.userOptions.showOnChartHover, await ze(), en(), Pt.value += 1, It.value += 1, H.value.showTable = I.value.table.show);
491
492
  }, {
492
493
  deep: !0,
493
494
  immediate: !0
494
- }), w(() => E.dataset, (e) => {
495
- Array.isArray(e) && e.length > 0 && (an.value = !1);
496
- }, { deep: !0 }), w(() => R.value, async (e) => {
497
- e || (await Be(), un());
498
- }, { immediate: !0 }), w(() => E.config, () => {
499
- I.value = nn(z.value || null), on.value = !I.value.userOptions.showOnChartHover, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show, Ht.value += 1, Wt.value += 1;
495
+ }), Ge(() => D.dataset, (e) => {
496
+ Array.isArray(e) && e.length > 0 && (Yt.value = !1);
497
+ }, { deep: !0 }), Ge(() => R.value, async (e) => {
498
+ e || (await ze(), en());
499
+ }, { immediate: !0 }), Ge(() => D.config, () => {
500
+ I.value = qt(z.value || null), Xt.value = !I.value.userOptions.showOnChartHover, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), H.value.showTable = I.value.table.show, Pt.value += 1, It.value += 1;
500
501
  }, { deep: !0 });
501
- let _n = l(() => I.value.style.chart.areas.height / I.value.style.chart.areas.rowHeight);
502
- function vn() {
503
- X.value.length ? X.value = [] : Z.value.forEach((e) => {
504
- X.value.push(e.id);
505
- }), O("selectLegend", Y.value);
502
+ let cn = d(() => I.value.style.chart.areas.height / I.value.style.chart.areas.rowHeight);
503
+ function ln() {
504
+ Y.value.length ? Y.value = [] : X.value.forEach((e) => {
505
+ Y.value.push(e.id);
506
+ }), kt("selectLegend", J.value);
506
507
  }
507
- function yn(e) {
508
- X.value.includes(e) ? X.value = X.value.filter((t) => t !== e) : X.value.push(e), O("selectLegend", Y.value);
508
+ function un(e) {
509
+ Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), kt("selectLegend", J.value);
509
510
  }
510
- function bn(e) {
511
- return Z.value.length ? Z.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null);
511
+ function dn(e) {
512
+ return X.value.length ? X.value.find((t) => t.name === e) || (I.value.debug && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (I.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null);
512
513
  }
513
- function xn(e) {
514
- let t = bn(e);
515
- t !== null && X.value.includes(t.id) && yn(t.id);
514
+ function fn(e) {
515
+ let t = dn(e);
516
+ t !== null && Y.value.includes(t.id) && un(t.id);
516
517
  }
517
- function Sn(e) {
518
- let t = bn(e);
519
- t !== null && (X.value.includes(t.id) || yn(t.id));
518
+ function pn(e) {
519
+ let t = dn(e);
520
+ t !== null && (Y.value.includes(t.id) || un(t.id));
520
521
  }
521
- let U = l(() => D.value ? (z.value || []).map((e) => ({
522
+ let U = d(() => Ot.value ? (z.value || []).map((e) => ({
522
523
  ...e,
523
- labelLen: Fn(e.name, I.value.style.chart.yAxis.labels.fontSize),
524
- uid: r(),
524
+ labelLen: Dn(e.name, I.value.style.chart.yAxis.labels.fontSize),
525
+ uid: o(),
525
526
  datapoints: e.datapoints.map((e, t) => {
526
- let r = e.color ? oe(e.color) : gn.value[t] || o[t] || o[t % o.length], i = n(e.name);
527
+ let n = e.color ? fe(e.color) : sn.value[t] || c[t] || c[t % c.length], r = te(e.name);
527
528
  return {
528
529
  ...e,
529
- color: r,
530
- id: i
530
+ color: n,
531
+ id: r
531
532
  };
532
533
  })
533
- })) : []), Cn = l(() => I.value.style.chart.padding.top + B.value * (z.value || []).length + B.value * _n.value + I.value.style.chart.padding.bottom), W = l(() => {
534
+ })) : []), mn = d(() => I.value.style.chart.padding.top + B.value * (z.value || []).length + B.value * cn.value + I.value.style.chart.padding.bottom), W = d(() => {
534
535
  let e = I.value.style.chart.padding;
535
536
  return {
536
- width: qt.value,
537
- height: Cn.value,
537
+ width: zt.value,
538
+ height: mn.value,
538
539
  padding: e
539
540
  };
540
- }), wn = l(() => W.value.width), Tn = l(() => W.value.height), En = y(0), Dn = Oe((e) => {
541
- En.value = e;
541
+ }), hn = d(() => W.value.width), gn = d(() => W.value.height), _n = x(0), vn = Ee((e) => {
542
+ _n.value = e;
542
543
  }, 100);
543
544
  Ke((e) => {
544
- let t = Xt.value;
545
+ let t = Ht.value;
545
546
  if (!t) return;
546
547
  let n = new ResizeObserver((e) => {
547
- Dn(e[0].contentRect.height);
548
+ vn(e[0].contentRect.height);
548
549
  });
549
550
  n.observe(t), e(() => n.disconnect());
550
- }), He(() => {
551
- En.value = 0;
551
+ }), Ve(() => {
552
+ _n.value = 0;
552
553
  });
553
- let G = l(() => ({
554
- fullHeight: W.value.height + En.value,
554
+ let G = d(() => ({
555
+ fullHeight: W.value.height + _n.value,
555
556
  top: W.value.padding.top,
556
557
  left: W.value.padding.left,
557
558
  right: W.value.width - W.value.padding.right,
558
559
  bottom: W.value.height - I.value.style.chart.padding.bottom,
559
560
  width: W.value.width - (W.value.padding.left + W.value.padding.right)
560
- })), K = l(() => Math.max(...U.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), q = y([]), On = 0;
561
+ })), yn = d(() => Math.max(...U.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), K = x([]), bn = 0;
561
562
  Ke(() => {
562
- let e = ++On;
563
+ let e = ++bn;
563
564
  (async () => {
564
- let t = await he({
565
+ let t = await pe({
565
566
  values: I.value.style.chart.xAxis.labels.values,
566
- maxDatapoints: K.value,
567
+ maxDatapoints: yn.value,
567
568
  formatter: I.value.style.chart.xAxis.labels.datetimeFormatter,
568
569
  start: 0,
569
570
  end: I.value.style.chart.xAxis.labels.values.length
570
571
  });
571
- e === On && (q.value = t);
572
+ e === bn && (K.value = t);
572
573
  })();
573
574
  });
574
- let J = l(() => {
575
- let e = Math.max(...U.value.map((e) => e.labelLen)), t = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, n = (G.value.width - t) / K.value, r = [];
576
- for (let e = 0; e < K.value; e += 1) r.push({
575
+ let q = d(() => {
576
+ let e = Math.max(...U.value.map((e) => e.labelLen)), t = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, n = (G.value.width - t) / yn.value, r = [];
577
+ for (let e = 0; e < yn.value; e += 1) r.push({
577
578
  selectorX: t + n * e,
578
579
  x: t + n * e - n / 2,
579
580
  y: G.value.top,
580
- label: I.value.style.chart.xAxis.labels.values[e] ? q.value[e]?.text ?? "" : "",
581
+ label: I.value.style.chart.xAxis.labels.values[e] ? K.value[e]?.text ?? "" : "",
581
582
  index: e,
582
583
  width: n,
583
- height: Cn.value
584
+ height: mn.value
584
585
  });
585
586
  return r;
586
587
  });
587
- function kn(e) {
588
+ function xn(e) {
588
589
  return U.value.map((t) => t.datapoints.map((t) => ({
589
590
  dp: t,
590
591
  selected: t.values[e.index]
591
592
  })));
592
593
  }
593
- function An(e) {
594
- N.value = e;
595
- let t = kn(e);
594
+ function Sn(e) {
595
+ M.value = e;
596
+ let t = xn(e);
596
597
  I.value.events.datapointEnter && I.value.events.datapointEnter({
597
598
  datapoint: t,
598
599
  seriesIndex: e.index
599
600
  });
600
601
  }
601
- function jn(e) {
602
- N.value = null;
603
- let t = kn(e);
602
+ function Cn(e) {
603
+ M.value = null;
604
+ let t = xn(e);
604
605
  I.value.events.datapointLeave && I.value.events.datapointLeave({
605
606
  datapoint: t,
606
607
  seriesIndex: e.index
607
608
  });
608
609
  }
609
- function Mn(e) {
610
- let t = kn(e);
610
+ function wn(e) {
611
+ let t = xn(e);
611
612
  I.value.events.datapointClick && I.value.events.datapointClick({
612
613
  datapoint: t,
613
614
  seriesIndex: e.index
614
- }), O("selectX", t);
615
+ }), kt("selectX", t);
615
616
  }
616
- function Nn(e, t) {
617
+ function Tn(e, t) {
617
618
  return e.length * t / 2 + t;
618
619
  }
619
- function Pn(e, t, n) {
620
- return e + Nn(t, n) > G.value.right;
620
+ function En(e, t, n) {
621
+ return e + Tn(t, n) > G.value.right;
621
622
  }
622
- function Fn(e, t, n = "sans-serif") {
623
+ function Dn(e, t, n = "sans-serif") {
623
624
  let r = document.createElement("canvas").getContext("2d");
624
625
  return r.font = `${typeof t == "number" ? `${t}px` : t} ${n}`, r.measureText(e).width;
625
626
  }
626
- let Y = l(() => {
627
+ let J = d(() => {
627
628
  B.value;
628
- let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), n = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), i = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, a = (G.value.width - i) / K.value, o = Math.abs(Math.min(n, 0)), s = t + o;
629
+ let e = Math.max(...U.value.map((e) => e.labelLen)), t = Math.max(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = Math.min(...U.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), i = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, a = (G.value.width - i) / yn.value, c = Math.abs(Math.min(r, 0)), l = t + c;
629
630
  function te(e) {
630
- return isNaN(e / s) ? 0 : e / s;
631
+ return isNaN(e / l) ? 0 : e / l;
631
632
  }
632
633
  return U.value.map((e, t) => {
633
- let n = G.value.top + B.value * t, s = G.value.top + n + B.value * _n.value * (1 - te(o));
634
+ let r = G.value.top + B.value * t, l = G.value.top + r + B.value * cn.value * (1 - te(c));
634
635
  return {
635
636
  ...e,
636
637
  label: {
637
638
  x: i - I.value.style.chart.yAxis.labels.fontSize,
638
- y: s
639
+ y: l
639
640
  },
640
641
  datapoints: e.datapoints.map((e) => {
641
- let t = e.values.map((t, r) => {
642
- let ee = isNaN(t) || [
642
+ let t = e.values.map((t, n) => {
643
+ let o = isNaN(t) || [
643
644
  void 0,
644
645
  null,
645
646
  "NaN",
@@ -648,16 +649,16 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
648
649
  -Infinity
649
650
  ].includes(t) ? 0 : t || 0;
650
651
  return {
651
- x: i + a * r,
652
- y: G.value.top + n + B.value * _n.value * (1 - te(ee + o)),
652
+ x: i + a * n,
653
+ y: G.value.top + r + B.value * cn.value * (1 - te(o + c)),
653
654
  value: t,
654
655
  isMaxPoint: t === Math.max(...e.values),
655
- zero: s
656
+ zero: l
656
657
  };
657
- }), ne = `${le(t, s, !1, !1)}`, re = `M ${i},${s} ${me(t)} ${t.at(-1).x},${s}`, ie = `M ${i},${s} ${t.at(-1).x},${s}`, ae = `M ${ee(t)}`, oe = `M ${me(t)}`, se = de(I.value.style.chart.areas.smooth ? ae : oe);
658
+ }), ne = `${s(t, l, !1, !1)}`, re = `M ${i},${l} ${n(t)} ${t.at(-1).x},${l}`, ie = `M ${i},${l} ${t.at(-1).x},${l}`, ae = `M ${ee(t)}`, oe = `M ${n(t)}`, se = ce(I.value.style.chart.areas.smooth ? ae : oe);
658
659
  return {
659
660
  ...e,
660
- uid: r(),
661
+ uid: o(),
661
662
  plots: t,
662
663
  smoothPath: ne,
663
664
  straightPath: re,
@@ -666,48 +667,48 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
666
667
  smoothPathRidge: ae,
667
668
  straightPathRidge: oe
668
669
  };
669
- }).filter((e) => !X.value.includes(e.id))
670
+ }).filter((e) => !Y.value.includes(e.id))
670
671
  };
671
672
  });
672
- }), X = y([]);
673
- function In(e) {
673
+ }), Y = x([]);
674
+ function On(e) {
674
675
  let t = /* @__PURE__ */ new Map();
675
676
  return e.forEach((e) => {
676
- e.datapoints.forEach((e, r) => {
677
- let i = n(e.name);
678
- t.has(i) || t.set(i, {
679
- id: i,
677
+ e.datapoints.forEach((e, n) => {
678
+ let r = te(e.name);
679
+ t.has(r) || t.set(r, {
680
+ id: r,
680
681
  name: e.name,
681
682
  color: e.color,
682
683
  shape: "circle",
683
- segregate: () => yn(i),
684
- isSegregated: X.value.includes(i),
685
- opacity: X.value.includes(i) ? .5 : 1
684
+ segregate: () => un(r),
685
+ isSegregated: Y.value.includes(r),
686
+ opacity: Y.value.includes(r) ? .5 : 1
686
687
  });
687
688
  });
688
689
  }), Array.from(t.values());
689
690
  }
690
- let Z = l(() => In(U.value)), Ln = l(() => ({
691
+ let X = d(() => On(U.value)), kn = d(() => ({
691
692
  cy: "donut-div-legend",
692
693
  backgroundColor: I.value.style.chart.legend.backgroundColor,
693
694
  color: I.value.style.chart.legend.color,
694
695
  fontSize: I.value.style.chart.legend.fontSize,
695
696
  paddingBottom: 12,
696
697
  fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
697
- })), Q = y(!1);
698
- function Rn(e) {
699
- Q.value = e, Gt.value += 1;
698
+ })), Z = x(!1);
699
+ function An(e) {
700
+ Z.value = e, Lt.value += 1;
700
701
  }
701
- let zn = y({}), Bn = y([]);
702
- function Vn(e) {
703
- O("selectDatapoint", e), I.value.style.chart.dialog.show && (Bn.value = e.datapoints.map((e) => ({
702
+ let jn = x({}), Mn = x([]);
703
+ function Nn(e) {
704
+ kt("selectDatapoint", e), I.value.style.chart.dialog.show && (Mn.value = e.datapoints.map((e) => ({
704
705
  name: e.name,
705
706
  color: e.color,
706
707
  type: "line",
707
708
  useArea: !0,
708
709
  smooth: I.value.style.chart.areas.smooth,
709
710
  series: e.values
710
- })), P.value = e, zn.value = ie({
711
+ })), N.value = e, jn.value = ie({
711
712
  ...I.value.style.chart.dialog.xyChart,
712
713
  responsive: !0,
713
714
  chart: {
@@ -744,30 +745,30 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
744
745
  useCursorPointer: I.value.userOptions.useCursorPointer
745
746
  }
746
747
  }
747
- }), Jt.value && Jt.value.open());
748
+ }), Bt.value && Bt.value.open());
748
749
  }
749
- let Hn = y(null);
750
- function Un(e) {
751
- Hn.value = e;
750
+ let Pn = x(null);
751
+ function Fn(e) {
752
+ Pn.value = e;
752
753
  }
753
- function Wn() {
754
- Hn.value = null;
754
+ function In() {
755
+ Pn.value = null;
755
756
  }
756
- let Gn = y(!1);
757
- function Kn() {
758
- Gn.value = !Gn.value;
757
+ let Ln = x(!1);
758
+ function Rn() {
759
+ Ln.value = !Ln.value;
759
760
  }
760
- function qn() {
761
+ function zn() {
761
762
  H.value.showTable = !H.value.showTable;
762
763
  }
763
- let Jn = l(() => ({ body: Y.value.flatMap((e) => e.datapoints.flatMap((t) => ({
764
+ let Bn = d(() => ({ body: J.value.flatMap((e) => e.datapoints.flatMap((t) => ({
764
765
  ...t,
765
766
  rowName: `${e.name}: ${t.name}`
766
767
  }))).map((e) => [{
767
768
  name: e.rowName,
768
769
  color: e.color
769
- }, ...e.values]) })), $ = l(() => {
770
- let e = [I.value.table.columnNames.series, ...q.value.map((e) => e.text)], t = {
770
+ }, ...e.values]) })), Q = d(() => {
771
+ let e = [I.value.table.columnNames.series, ...K.value.map((e) => e.text)], t = {
771
772
  th: {
772
773
  backgroundColor: I.value.table.th.backgroundColor,
773
774
  color: I.value.table.th.color,
@@ -781,28 +782,28 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
781
782
  breakpoint: I.value.table.responsiveBreakpoint
782
783
  };
783
784
  return {
784
- colNames: [I.value.table.columnNames.series, ...q.value.map((e) => e.text)],
785
+ colNames: [I.value.table.columnNames.series, ...K.value.map((e) => e.text)],
785
786
  head: e,
786
- body: Jn.value.body,
787
+ body: Bn.value.body,
787
788
  config: t
788
789
  };
789
790
  });
790
- function Yn(e = null) {
791
- Be(() => {
792
- let t = [[I.value.table.columnNames.series, ...q.map((e) => [e.text])], ...Jn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = te([[I.value.style.chart.title.text], [I.value.style.chart.title.subtitle.text]].concat(t));
793
- e ? e(n) : ae({
791
+ function Vn(e = null) {
792
+ ze(() => {
793
+ let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...Bn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = i([[I.value.style.chart.title.text], [I.value.style.chart.title.subtitle.text]].concat(t));
794
+ e ? e(n) : l({
794
795
  csvContent: n,
795
796
  title: I.value.style.chart.title.text || "vue-ui-ridgeline"
796
797
  });
797
798
  });
798
799
  }
799
- function Xn() {
800
- return Y.value;
800
+ function Hn() {
801
+ return J.value;
801
802
  }
802
- async function Zn({ scale: e = 2 } = {}) {
803
- if (!k.value) return;
804
- let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
805
- domElement: k.value,
803
+ async function Un({ scale: e = 2 } = {}) {
804
+ if (!O.value) return;
805
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
806
+ domElement: O.value,
806
807
  base64: !0,
807
808
  img: !0,
808
809
  scale: e
@@ -816,12 +817,12 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
816
817
  aspectRatio: r
817
818
  };
818
819
  }
819
- Ce({
820
- timeLabelsEls: Xt,
821
- timeLabels: q,
822
- slicer: l(() => ({
820
+ xe({
821
+ timeLabelsEls: Ht,
822
+ timeLabels: K,
823
+ slicer: d(() => ({
823
824
  min: 0,
824
- max: K.value
825
+ max: yn.value
825
826
  })),
826
827
  configRef: I,
827
828
  rotationPath: [
@@ -840,23 +841,23 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
840
841
  "enable"
841
842
  ],
842
843
  isAutoSize: !1,
843
- width: wn,
844
- height: Tn,
844
+ width: hn,
845
+ height: gn,
845
846
  targetClass: ".vue-ui-ridgeline-x-axis-label",
846
847
  angle: I.value.style.chart.xAxis.labels.autoRotate.angle
847
848
  });
848
- let Qn = l(() => {
849
+ let Wn = d(() => {
849
850
  let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
850
851
  return {
851
- component: e ? Pt : kt,
852
+ component: e ? wt : yt,
852
853
  title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
853
854
  props: e ? {
854
855
  backgroundColor: I.value.table.th.backgroundColor,
855
856
  color: I.value.table.th.color,
856
857
  headerColor: I.value.table.th.color,
857
858
  headerBg: I.value.table.th.backgroundColor,
858
- isFullscreen: Q.value,
859
- fullscreenParent: k.value,
859
+ isFullscreen: Z.value,
860
+ fullscreenParent: O.value,
860
861
  forcedWidth: Math.min(800, window.innerWidth * .8),
861
862
  isCursorPointer: L.value
862
863
  } : {
@@ -876,179 +877,179 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
876
877
  }
877
878
  };
878
879
  });
879
- w(() => H.value.showTable, (e) => {
880
- I.value.table.show || (e && I.value.table.useDialog && Zt.value ? Zt.value.open() : "close" in Zt.value && Zt.value.close());
880
+ Ge(() => H.value.showTable, (e) => {
881
+ I.value.table.show || (e && I.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
881
882
  });
882
- function $n() {
883
- H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
883
+ function Gn() {
884
+ H.value.showTable = !1, Ut.value && Ut.value.setTableIconState(!1);
884
885
  }
885
- let er = l(() => I.value.style.chart.backgroundColor), tr = l(() => ({
886
+ let Kn = d(() => I.value.style.chart.backgroundColor), qn = d(() => ({
886
887
  ...I.value.style.chart.legend,
887
888
  position: "bottom"
888
- })), { exportSvg: nr, getSvg: rr } = be({
889
+ })), { exportSvg: Jn, getSvg: Yn } = ve({
889
890
  svg: V,
890
- title: l(() => I.value.style.chart.title),
891
- legend: tr,
892
- legendItems: Z,
893
- backgroundColor: er
891
+ title: d(() => I.value.style.chart.title),
892
+ legend: qn,
893
+ legendItems: X,
894
+ backgroundColor: Kn
894
895
  });
895
- async function ir({ isCb: e }) {
896
- en.value = !0, await Be();
896
+ async function Xn({ isCb: e }) {
897
+ Gt.value = !0, await ze();
897
898
  try {
898
899
  if (e) {
899
- let { blob: e, url: t, text: n, dataUrl: r } = await rr();
900
+ let { blob: e, url: t, text: n, dataUrl: r } = await Yn();
900
901
  await Promise.resolve(I.value.userOptions.callbacks.svg({
901
902
  blob: e,
902
903
  url: t,
903
904
  text: n,
904
905
  dataUrl: r
905
906
  }));
906
- } else await Promise.resolve(nr());
907
+ } else await Promise.resolve(Jn());
907
908
  } finally {
908
- en.value = !1;
909
+ Gt.value = !1;
909
910
  }
910
911
  }
911
- function ar(e) {
912
+ function Zn(e) {
912
913
  if (e?.stage === "start") {
913
- $t.value = !0;
914
+ Wt.value = !0;
914
915
  return;
915
916
  }
916
917
  if (e?.stage === "end") {
917
- $t.value = !1;
918
+ Wt.value = !1;
918
919
  return;
919
920
  }
920
- mn();
921
+ an();
921
922
  }
922
- function or(e) {
923
- sr("xy-zoom", e.dataset, e.config);
923
+ function Qn(e) {
924
+ $n("xy-zoom", e.dataset, e.config);
924
925
  }
925
- async function sr(e = "main-chart", t = null, n = null) {
926
- if (O("copyAlt", {
926
+ async function $n(e = "main-chart", t = null, n = null) {
927
+ if (kt("copyAlt", {
927
928
  source: e,
928
- config: e === "main-chart" ? I.value : zn.value,
929
- dataset: e === "main-chart" ? Y.value : Bn.value
929
+ config: e === "main-chart" ? I.value : jn.value,
930
+ dataset: e === "main-chart" ? J.value : Mn.value
930
931
  }), !I.value.userOptions.callbacks.altCopy) {
931
932
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
932
933
  return;
933
934
  }
934
935
  await Promise.resolve(I.value.userOptions.callbacks.altCopy({
935
936
  source: e,
936
- config: e === "main-chart" ? I.value : zn.value,
937
- dataset: e === "main-chart" ? Y.value : Bn.value
937
+ config: e === "main-chart" ? I.value : jn.value,
938
+ dataset: e === "main-chart" ? J.value : Mn.value
938
939
  }));
939
940
  }
940
- function cr() {
941
- F.value = null, tn.value = !0;
941
+ function er() {
942
+ F.value = null, Kt.value = !0;
942
943
  }
943
- function lr() {
944
- pr(), tn.value = !1;
944
+ function tr() {
945
+ ar(), Kt.value = !1;
945
946
  }
946
- function ur(e) {
947
- if (!V.value || Gn.value || document.activeElement !== V.value || !Y.value.length) return;
948
- let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", ee = e.key === "Escape";
949
- if (!t && !n && !r && !i && !a && !ee) return;
950
- if (e.preventDefault(), e.stopPropagation(), ee) {
951
- pr();
947
+ function nr(e) {
948
+ if (!V.value || Ln.value || document.activeElement !== V.value || !J.value.length) return;
949
+ let t = e.key === "ArrowUp", n = e.key === "ArrowDown", r = e.key === "ArrowLeft", i = e.key === "ArrowRight", a = e.key === "Enter" || e.key === " ", o = e.key === "Escape";
950
+ if (!t && !n && !r && !i && !a && !o) return;
951
+ if (e.preventDefault(), e.stopPropagation(), o) {
952
+ ar();
952
953
  return;
953
954
  }
954
955
  if (a) {
955
956
  if (F.value !== null) {
956
- let e = Y.value[F.value];
957
- e && Vn(e);
957
+ let e = J.value[F.value];
958
+ e && Nn(e);
958
959
  return;
959
960
  }
960
- N.value && Mn(N.value);
961
+ M.value && wn(M.value);
961
962
  return;
962
963
  }
963
964
  if (t || n) {
964
965
  let e = F.value;
965
- e = e === null ? n ? 0 : Y.value.length - 1 : dr(e + (n ? 1 : -1)), F.value = e, Hn.value = e;
966
+ e = e === null ? n ? 0 : J.value.length - 1 : rr(e + (n ? 1 : -1)), F.value = e, Pn.value = e;
966
967
  return;
967
968
  }
968
- if (!J.value.length) return;
969
- let o = N.value?.index ?? null;
970
- o = o === null ? i ? 0 : J.value.length - 1 : fr(o + (i ? 1 : -1));
971
- let s = J.value[o];
972
- s && An(s);
969
+ if (!q.value.length) return;
970
+ let s = M.value?.index ?? null;
971
+ s = s === null ? i ? 0 : q.value.length - 1 : ir(s + (i ? 1 : -1));
972
+ let ee = q.value[s];
973
+ ee && Sn(ee);
973
974
  }
974
- function dr(e) {
975
- let t = Y.value.length;
975
+ function rr(e) {
976
+ let t = J.value.length;
976
977
  return t ? (e % t + t) % t : null;
977
978
  }
978
- function fr(e) {
979
- let t = J.value.length;
979
+ function ir(e) {
980
+ let t = q.value.length;
980
981
  return t ? (e % t + t) % t : null;
981
982
  }
982
- function pr() {
983
- F.value = null, Hn.value = null, N.value ? jn(N.value) : N.value = null;
983
+ function ar() {
984
+ F.value = null, Pn.value = null, M.value ? Cn(M.value) : M.value = null;
984
985
  }
985
- let mr = l(() => ({
986
- head: $.value.head,
987
- body: $.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
986
+ let $ = d(() => ({
987
+ head: Q.value.head,
988
+ body: Q.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
988
989
  caption: I.value.a11y.translations.tableCaption,
989
990
  notice: I.value.a11y.translations.tableAvailable
990
991
  }));
991
- return De({
992
- getData: Xn,
993
- getImage: Zn,
994
- generateImage: mn,
995
- generateSvg: ir,
996
- generatePdf: pn,
997
- generateCsv: Yn,
998
- hideSeries: Sn,
999
- showSeries: xn,
1000
- toggleAnnotator: Kn,
1001
- toggleTable: qn,
1002
- toggleFullscreen: Rn,
1003
- copyAlt: sr
1004
- }), (e, t) => (v(), f("div", {
992
+ return Te({
993
+ getData: Hn,
994
+ getImage: Un,
995
+ generateImage: an,
996
+ generateSvg: Xn,
997
+ generatePdf: rn,
998
+ generateCsv: Vn,
999
+ hideSeries: pn,
1000
+ showSeries: fn,
1001
+ toggleAnnotator: Rn,
1002
+ toggleTable: zn,
1003
+ toggleFullscreen: An,
1004
+ copyAlt: $n
1005
+ }), (e, t) => (b(), m("div", {
1005
1006
  ref_key: "ridgelineChart",
1006
- ref: k,
1007
- class: Ve(`vue-data-ui-component vue-ui-ridgeline ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1008
- id: `vue-ui-ridgeline_${M.value}`,
1009
- style: _({
1007
+ ref: O,
1008
+ class: Be(`vue-data-ui-component vue-ui-ridgeline ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1009
+ id: `vue-ui-ridgeline_${j.value}`,
1010
+ style: y({
1010
1011
  fontFamily: I.value.style.fontFamily,
1011
1012
  width: "100%",
1012
1013
  textAlign: "center",
1013
1014
  background: I.value.style.chart.backgroundColor,
1014
1015
  height: I.value.responsive ? "100%" : void 0
1015
1016
  }),
1016
- onMouseenter: t[3] ||= () => C(sn)(!0),
1017
- onMouseleave: t[4] ||= () => C(sn)(!1)
1017
+ onMouseenter: t[3] ||= () => T(Zt)(!0),
1018
+ onMouseleave: t[4] ||= () => T(Zt)(!1)
1018
1019
  }, [
1019
- p("div", {
1020
- id: `chart-instructions-${M.value}`,
1020
+ h("div", {
1021
+ id: `chart-instructions-${j.value}`,
1021
1022
  class: "sr-only"
1022
- }, [p("p", null, S(I.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
1023
- mr.value.body.length ? (v(), u(je, {
1023
+ }, [h("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, Ye),
1024
+ $.value.body.length ? (b(), f(Ae, {
1024
1025
  key: 0,
1025
- uid: M.value,
1026
- head: mr.value.head,
1027
- body: mr.value.body,
1028
- caption: mr.value.caption,
1029
- notice: mr.value.notice
1026
+ uid: j.value,
1027
+ head: $.value.head,
1028
+ body: $.value.body,
1029
+ caption: $.value.caption,
1030
+ notice: $.value.notice
1030
1031
  }, null, 8, [
1031
1032
  "uid",
1032
1033
  "head",
1033
1034
  "body",
1034
1035
  "caption",
1035
1036
  "notice"
1036
- ])) : d("", !0),
1037
- I.value.userOptions.buttons.annotator && C(V) ? (v(), u(C(jt), {
1037
+ ])) : p("", !0),
1038
+ I.value.userOptions.buttons.annotator && T(V) ? (b(), f(T(xt), {
1038
1039
  key: 1,
1039
1040
  color: I.value.style.chart.color,
1040
1041
  backgroundColor: I.value.style.chart.backgroundColor,
1041
- active: Gn.value,
1042
- svgRef: C(V),
1042
+ active: Ln.value,
1043
+ svgRef: T(V),
1043
1044
  isCursorPointer: L.value,
1044
- onClose: Kn
1045
+ onClose: Rn
1045
1046
  }, {
1046
- "annotator-action-close": T(() => [x(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1047
- "annotator-action-color": T(({ color: t }) => [x(e.$slots, "annotator-action-color", g(h({ color: t })), void 0, !0)]),
1048
- "annotator-action-draw": T(({ mode: t }) => [x(e.$slots, "annotator-action-draw", g(h({ mode: t })), void 0, !0)]),
1049
- "annotator-action-undo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-undo", g(h({ disabled: t })), void 0, !0)]),
1050
- "annotator-action-redo": T(({ disabled: t }) => [x(e.$slots, "annotator-action-redo", g(h({ disabled: t })), void 0, !0)]),
1051
- "annotator-action-delete": T(({ disabled: t }) => [x(e.$slots, "annotator-action-delete", g(h({ disabled: t })), void 0, !0)]),
1047
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1048
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(_({ color: t })), void 0, !0)]),
1049
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(_({ mode: t })), void 0, !0)]),
1050
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(_({ disabled: t })), void 0, !0)]),
1051
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(_({ disabled: t })), void 0, !0)]),
1052
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(_({ disabled: t })), void 0, !0)]),
1052
1053
  _: 3
1053
1054
  }, 8, [
1054
1055
  "color",
@@ -1056,22 +1057,22 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1056
1057
  "active",
1057
1058
  "svgRef",
1058
1059
  "isCursorPointer"
1059
- ])) : d("", !0),
1060
- x(e.$slots, "userConfig", {}, void 0, !0),
1061
- hn.value ? (v(), f("div", {
1060
+ ])) : p("", !0),
1061
+ C(e.$slots, "userConfig", {}, void 0, !0),
1062
+ on.value ? (b(), m("div", {
1062
1063
  key: 2,
1063
1064
  ref_key: "noTitle",
1064
- ref: Vt,
1065
+ ref: Nt,
1065
1066
  class: "vue-data-ui-no-title-space",
1066
1067
  style: "height:36px; width: 100%;background:transparent"
1067
- }, null, 512)) : d("", !0),
1068
- I.value.style.chart.title.text ? (v(), f("div", {
1068
+ }, null, 512)) : p("", !0),
1069
+ I.value.style.chart.title.text ? (b(), m("div", {
1069
1070
  key: 3,
1070
1071
  ref_key: "chartTitle",
1071
- ref: Rt,
1072
+ ref: At,
1072
1073
  style: "width:100%;background:transparent;padding-bottom:24px"
1073
- }, [(v(), u(Te, {
1074
- key: `title_${Ht.value}`,
1074
+ }, [(b(), f(Ce, {
1075
+ key: `title_${Pt.value}`,
1075
1076
  config: {
1076
1077
  title: {
1077
1078
  cy: "ridgeline-div-title",
@@ -1082,16 +1083,16 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1082
1083
  ...I.value.style.chart.title.subtitle
1083
1084
  }
1084
1085
  }
1085
- }, null, 8, ["config"]))], 512)) : d("", !0),
1086
- I.value.userOptions.show && D.value && (C(cn) || C(on)) ? (v(), u(C(Mt), {
1086
+ }, null, 8, ["config"]))], 512)) : p("", !0),
1087
+ I.value.userOptions.show && Ot.value && (T(Qt) || T(Xt)) ? (b(), f(T(St), {
1087
1088
  ref_key: "userOptionsRef",
1088
- ref: Qt,
1089
- key: `user_option_${Gt.value}`,
1089
+ ref: Ut,
1090
+ key: `user_option_${Lt.value}`,
1090
1091
  backgroundColor: I.value.style.chart.backgroundColor,
1091
1092
  color: I.value.style.chart.color,
1092
- isPrinting: C(dn),
1093
- isImaging: C(fn),
1094
- uid: M.value,
1093
+ isPrinting: T(tn),
1094
+ isImaging: T(nn),
1095
+ uid: j.value,
1095
1096
  hasTooltip: !1,
1096
1097
  callbacks: I.value.userOptions.callbacks,
1097
1098
  hasPdf: I.value.userOptions.buttons.pdf,
@@ -1102,29 +1103,29 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1102
1103
  hasLabel: !1,
1103
1104
  hasFullscreen: I.value.userOptions.buttons.fullscreen,
1104
1105
  hasAltCopy: I.value.userOptions.buttons.altCopy,
1105
- isFullscreen: Q.value,
1106
+ isFullscreen: Z.value,
1106
1107
  printScale: I.value.userOptions.print.scale,
1107
- chartElement: k.value,
1108
+ chartElement: O.value,
1108
1109
  position: I.value.userOptions.position,
1109
1110
  isTooltip: !1,
1110
1111
  titles: { ...I.value.userOptions.buttonTitles },
1111
1112
  hasAnnotator: I.value.userOptions.buttons.annotator,
1112
- isAnnotation: Gn.value,
1113
+ isAnnotation: Ln.value,
1113
1114
  tableDialog: I.value.table.useDialog,
1114
- style: _({ visibility: C(cn) ? C(on) ? "visible" : "hidden" : "visible" }),
1115
+ style: y({ visibility: T(Qt) ? T(Xt) ? "visible" : "hidden" : "visible" }),
1115
1116
  isCursorPointer: L.value,
1116
- onToggleFullscreen: Rn,
1117
- onGeneratePdf: C(pn),
1118
- onGenerateCsv: Yn,
1119
- onGenerateImage: ar,
1120
- onGenerateSvg: ir,
1121
- onToggleTable: qn,
1122
- onToggleAnnotator: Kn,
1123
- onCopyAlt: sr
1124
- }, Ie({ _: 2 }, [
1117
+ onToggleFullscreen: An,
1118
+ onGeneratePdf: T(rn),
1119
+ onGenerateCsv: Vn,
1120
+ onGenerateImage: Zn,
1121
+ onGenerateSvg: Xn,
1122
+ onToggleTable: zn,
1123
+ onToggleAnnotator: Rn,
1124
+ onCopyAlt: $n
1125
+ }, Fe({ _: 2 }, [
1125
1126
  e.$slots.menuIcon ? {
1126
1127
  name: "menuIcon",
1127
- fn: T(({ isOpen: t, color: n }) => [x(e.$slots, "menuIcon", g(h({
1128
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(_({
1128
1129
  isOpen: t,
1129
1130
  color: n
1130
1131
  })), void 0, !0)]),
@@ -1132,37 +1133,37 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1132
1133
  } : void 0,
1133
1134
  e.$slots.optionTooltip ? {
1134
1135
  name: "optionTooltip",
1135
- fn: T(() => [x(e.$slots, "optionTooltip", {}, void 0, !0)]),
1136
+ fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1136
1137
  key: "1"
1137
1138
  } : void 0,
1138
1139
  e.$slots.optionPdf ? {
1139
1140
  name: "optionPdf",
1140
- fn: T(() => [x(e.$slots, "optionPdf", {}, void 0, !0)]),
1141
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1141
1142
  key: "2"
1142
1143
  } : void 0,
1143
1144
  e.$slots.optionCsv ? {
1144
1145
  name: "optionCsv",
1145
- fn: T(() => [x(e.$slots, "optionCsv", {}, void 0, !0)]),
1146
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
1146
1147
  key: "3"
1147
1148
  } : void 0,
1148
1149
  e.$slots.optionImg ? {
1149
1150
  name: "optionImg",
1150
- fn: T(() => [x(e.$slots, "optionImg", {}, void 0, !0)]),
1151
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1151
1152
  key: "4"
1152
1153
  } : void 0,
1153
1154
  e.$slots.optionSvg ? {
1154
1155
  name: "optionSvg",
1155
- fn: T(() => [x(e.$slots, "optionSvg", {}, void 0, !0)]),
1156
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1156
1157
  key: "5"
1157
1158
  } : void 0,
1158
1159
  e.$slots.optionTable ? {
1159
1160
  name: "optionTable",
1160
- fn: T(() => [x(e.$slots, "optionTable", {}, void 0, !0)]),
1161
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
1161
1162
  key: "6"
1162
1163
  } : void 0,
1163
1164
  e.$slots.optionFullscreen ? {
1164
1165
  name: "optionFullscreen",
1165
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [x(e.$slots, "optionFullscreen", g(h({
1166
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(_({
1166
1167
  toggleFullscreen: t,
1167
1168
  isFullscreen: n
1168
1169
  })), void 0, !0)]),
@@ -1170,7 +1171,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1170
1171
  } : void 0,
1171
1172
  e.$slots.optionAnnotator ? {
1172
1173
  name: "optionAnnotator",
1173
- fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [x(e.$slots, "optionAnnotator", g(h({
1174
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(_({
1174
1175
  toggleAnnotator: t,
1175
1176
  isAnnotator: n
1176
1177
  })), void 0, !0)]),
@@ -1178,17 +1179,17 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1178
1179
  } : void 0,
1179
1180
  e.$slots.optionAltCopy ? {
1180
1181
  name: "optionAltCopy",
1181
- fn: T(({ altCopy: t }) => [x(e.$slots, "optionAltCopy", g(h({ altCopy: t })), void 0, !0)]),
1182
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(_({ altCopy: t })), void 0, !0)]),
1182
1183
  key: "9"
1183
1184
  } : void 0,
1184
1185
  e.$slots["custom-menu-before"] ? {
1185
1186
  name: "custom-menu-before",
1186
- fn: T(() => [x(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1187
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1187
1188
  key: "10"
1188
1189
  } : void 0,
1189
1190
  e.$slots["custom-menu-after"] ? {
1190
1191
  name: "custom-menu-after",
1191
- fn: T(() => [x(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1192
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1192
1193
  key: "11"
1193
1194
  } : void 0
1194
1195
  ]), 1032, [
@@ -1216,138 +1217,143 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1216
1217
  "style",
1217
1218
  "isCursorPointer",
1218
1219
  "onGeneratePdf"
1219
- ])) : d("", !0),
1220
- p("div", Xe, [(v(), f("svg", {
1220
+ ])) : p("", !0),
1221
+ h("div", Xe, [(b(), m("svg", {
1221
1222
  ref_key: "svgRef",
1222
1223
  ref: V,
1223
- xmlns: C(pe),
1224
- "aria-describedby": `chart-instructions-${M.value}`,
1225
- class: Ve({
1226
- "vue-data-ui-fullscreen--on": Q.value,
1227
- "vue-data-ui-fulscreen--off": !Q.value
1224
+ xmlns: T(de),
1225
+ "aria-describedby": `chart-instructions-${j.value}`,
1226
+ class: Be({
1227
+ "vue-data-ui-fullscreen--on": Z.value,
1228
+ "vue-data-ui-fulscreen--off": !Z.value
1228
1229
  }),
1229
1230
  viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${G.value.fullHeight <= 0 ? 10 : G.value.fullHeight}`,
1230
- style: _(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${Yt.value}px; width: 100%;` : ""}`),
1231
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${Vt.value}px; width: 100%;` : ""}`),
1231
1232
  tabindex: "0",
1232
- onFocus: cr,
1233
- onBlur: lr,
1234
- onKeydown: ur
1233
+ onFocus: er,
1234
+ onBlur: tr,
1235
+ onKeydown: nr
1235
1236
  }, [
1236
- Re(C(Nt)),
1237
- p("defs", null, [(v(!0), f(c, null, b(Z.value, (e, t) => (v(), f("linearGradient", {
1238
- id: `gradient-${e.id}-${M.value}`,
1237
+ Le(T(Ct)),
1238
+ h("defs", null, [(b(!0), m(u, null, S(X.value, (e, t) => (b(), f(Oe, {
1239
+ t: "linear",
1240
+ id: `gradient-${e.id}-${j.value}`,
1241
+ key: `gradient-${e.id}-${j.value}`,
1239
1242
  x1: "50%",
1240
1243
  y1: "0%",
1241
1244
  x2: "50%",
1242
- y2: "100%"
1243
- }, [
1244
- p("stop", {
1245
- offset: "0%",
1246
- "stop-color": e.color,
1247
- "stop-opacity": "1"
1248
- }, null, 8, $e),
1249
- p("stop", {
1250
- offset: "30%",
1251
- "stop-color": e.color,
1252
- "stop-opacity": "0.7"
1253
- }, null, 8, et),
1254
- p("stop", {
1255
- offset: "70%",
1256
- "stop-color": e.color,
1257
- "stop-opacity": "0.3"
1258
- }, null, 8, tt),
1259
- p("stop", {
1260
- offset: "100%",
1261
- "stop-color": e.color,
1262
- "stop-opacity": "0.1"
1263
- }, null, 8, nt)
1264
- ], 8, Qe))), 256)), (v(!0), f(c, null, b(Y.value, (e, t) => (v(), f(c, null, [(v(!0), f(c, null, b(e.datapoints, (e, t) => (v(), f("linearGradient", {
1245
+ y2: "100%",
1246
+ stops: [
1247
+ [
1248
+ "0%",
1249
+ e.color,
1250
+ 1
1251
+ ],
1252
+ [
1253
+ "30%",
1254
+ e.color,
1255
+ .7
1256
+ ],
1257
+ [
1258
+ "70%",
1259
+ e.color,
1260
+ .3
1261
+ ],
1262
+ [
1263
+ "100%",
1264
+ e.color,
1265
+ .1
1266
+ ]
1267
+ ]
1268
+ }, null, 8, ["id", "stops"]))), 128)), (b(!0), m(u, null, S(J.value, (e, t) => (b(), m(u, null, [(b(!0), m(u, null, S(e.datapoints, (e, t) => (b(), f(Oe, {
1269
+ t: "linear",
1265
1270
  key: `grad${e.id}`,
1266
- id: `gradient-single-${M.value}-${e.uid}`,
1271
+ id: `gradient-single-${j.value}-${e.uid}`,
1267
1272
  x1: "50%",
1268
1273
  y1: "0%",
1269
1274
  x2: "50%",
1270
- y2: "100%"
1271
- }, [
1272
- p("stop", {
1273
- offset: "0%",
1274
- "stop-color": e.color,
1275
- "stop-opacity": "1"
1276
- }, null, 8, it),
1277
- p("stop", {
1278
- offset: "30%",
1279
- "stop-color": e.color,
1280
- "stop-opacity": "0.7"
1281
- }, null, 8, at),
1282
- p("stop", {
1283
- offset: "70%",
1284
- "stop-color": e.color,
1285
- "stop-opacity": "0.3"
1286
- }, null, 8, ot),
1287
- p("stop", {
1288
- offset: "100%",
1289
- "stop-color": e.color,
1290
- "stop-opacity": "0.1"
1291
- }, null, 8, st)
1292
- ], 8, rt))), 128))], 64))), 256))]),
1293
- (v(!0), f(c, null, b(Y.value, (t, n) => (v(), f("g", { key: `ds-${n}` }, [(v(!0), f(c, null, b(t.datapoints, (t, r) => (v(), f("g", { key: t.id }, [
1294
- e.$slots.pattern ? (v(), f("g", ct, [p("defs", null, [x(e.$slots, "pattern", ze({ ref_for: !0 }, {
1275
+ y2: "100%",
1276
+ stops: [
1277
+ [
1278
+ "0%",
1279
+ e.color,
1280
+ 1
1281
+ ],
1282
+ [
1283
+ "30%",
1284
+ e.color,
1285
+ .7
1286
+ ],
1287
+ [
1288
+ "70%",
1289
+ e.color,
1290
+ .3
1291
+ ],
1292
+ [
1293
+ "100%",
1294
+ e.color,
1295
+ .1
1296
+ ]
1297
+ ]
1298
+ }, null, 8, ["id", "stops"]))), 128))], 64))), 256))]),
1299
+ (b(!0), m(u, null, S(J.value, (t, n) => (b(), m("g", { key: `ds-${n}` }, [(b(!0), m(u, null, S(t.datapoints, (t, r) => (b(), m("g", { key: t.id }, [
1300
+ e.$slots.pattern ? (b(), m("g", Qe, [h("defs", null, [C(e.$slots, "pattern", Re({ ref_for: !0 }, {
1295
1301
  datapointIndex: n,
1296
1302
  seriesIndex: r,
1297
- patternId: `pattern_${M.value}_${t.uid}`
1298
- }), void 0, !0)])])) : d("", !0),
1299
- p("path", {
1300
- fill: e.$slots.pattern ? `url(#pattern_${M.value}_${t.uid})` : I.value.style.chart.backgroundColor,
1303
+ patternId: `pattern_${j.value}_${t.uid}`
1304
+ }), void 0, !0)])])) : p("", !0),
1305
+ h("path", {
1306
+ fill: e.$slots.pattern ? `url(#pattern_${j.value}_${t.uid})` : I.value.style.chart.backgroundColor,
1301
1307
  stroke: "none",
1302
1308
  "stroke-linecap": "round",
1303
1309
  d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1304
- style: _({ opacity: I.value.style.chart.areas.opacity })
1305
- }, null, 12, lt),
1306
- p("path", {
1310
+ style: y({ opacity: I.value.style.chart.areas.opacity })
1311
+ }, null, 12, $e),
1312
+ h("path", {
1307
1313
  fill: "none",
1308
1314
  stroke: I.value.style.chart.areas.stroke.useSerieColor ? t.color : I.value.style.chart.areas.stroke.color,
1309
1315
  "stroke-width": I.value.style.chart.areas.strokeWidth,
1310
1316
  d: I.value.style.chart.areas.smooth ? t.smoothPathRidge : t.straightPathRidge,
1311
1317
  "stroke-linecap": "round",
1312
1318
  "stroke-linejoin": "round",
1313
- class: Ve({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !C(R) }),
1314
- style: _({
1319
+ class: Be({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
1320
+ style: y({
1315
1321
  strokeDasharray: t.pathLength,
1316
1322
  strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
1317
1323
  })
1318
- }, null, 14, ut),
1319
- p("path", {
1320
- fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${M.value})` : `url(#gradient-single-${M.value}-${t.uid})` : t.color,
1324
+ }, null, 14, et),
1325
+ h("path", {
1326
+ fill: I.value.style.chart.areas.useGradient ? I.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${j.value})` : `url(#gradient-single-${j.value}-${t.uid})` : t.color,
1321
1327
  stroke: "none",
1322
1328
  d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1323
1329
  "stroke-linecap": "round",
1324
1330
  "stroke-linejoin": "round",
1325
- class: Ve({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !C(R) }),
1326
- style: _({
1331
+ class: Be({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
1332
+ style: y({
1327
1333
  strokeDasharray: t.pathLength,
1328
1334
  strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
1329
1335
  })
1330
- }, null, 14, dt),
1331
- I.value.style.chart.zeroLine.show ? (v(), f("path", {
1336
+ }, null, 14, tt),
1337
+ I.value.style.chart.zeroLine.show ? (b(), m("path", {
1332
1338
  key: 1,
1333
1339
  stroke: I.value.style.chart.zeroLine.useSerieColor ? t.color : I.value.style.chart.zeroLine.stroke,
1334
1340
  "stroke-dasharray": I.value.style.chart.zeroLine.strokeDasharray,
1335
1341
  "stroke-width": I.value.style.chart.zeroLine.strokeWidth,
1336
1342
  d: t.zeroPath,
1337
1343
  "stroke-linecap": "round"
1338
- }, null, 8, ft)) : d("", !0),
1339
- I.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (v(!0), f(c, { key: 2 }, b(t.plots, (e) => (v(), f(c, null, [e.isMaxPoint ? (v(), f("line", {
1344
+ }, null, 8, nt)) : p("", !0),
1345
+ I.value.style.chart.areas.maxPoint.show && t.plots.length > 1 ? (b(!0), m(u, { key: 2 }, S(t.plots, (e) => (b(), m(u, null, [e.isMaxPoint ? (b(), m("line", {
1340
1346
  key: 0,
1341
1347
  x1: e.x,
1342
1348
  y1: e.y,
1343
1349
  x2: e.x,
1344
1350
  y2: e.zero,
1345
- stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? C(fe)(t.color) : I.value.style.chart.areas.maxPoint.stroke,
1351
+ stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(ue)(t.color) : I.value.style.chart.areas.maxPoint.stroke,
1346
1352
  "stroke-width": I.value.style.chart.areas.maxPoint.strokeWidth,
1347
1353
  "stroke-linecap": "round",
1348
1354
  "stroke-dasharray": I.value.style.chart.areas.maxPoint.strokeDasharray
1349
- }, null, 8, pt)) : d("", !0)], 64))), 256)) : d("", !0),
1350
- t.plots.length === 1 ? (v(), f("circle", {
1355
+ }, null, 8, rt)) : p("", !0)], 64))), 256)) : p("", !0),
1356
+ t.plots.length === 1 ? (b(), m("circle", {
1351
1357
  key: 3,
1352
1358
  cx: t.plots[0].x,
1353
1359
  cy: t.plots[0].y,
@@ -1356,26 +1362,26 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1356
1362
  r: I.value.style.chart.selector.dot.radius,
1357
1363
  fill: I.value.style.chart.selector.dot.useDatapointColor ? t.color : I.value.style.chart.selector.dot.fill,
1358
1364
  style: { pointerEvents: "none" }
1359
- }, null, 8, mt)) : d("", !0)
1360
- ]))), 128)), p("text", {
1365
+ }, null, 8, it)) : p("", !0)
1366
+ ]))), 128)), h("text", {
1361
1367
  x: t.label.x,
1362
1368
  y: t.label.y,
1363
1369
  "text-anchor": "end",
1364
1370
  "font-size": I.value.style.chart.yAxis.labels.fontSize,
1365
1371
  "font-weight": I.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
1366
1372
  fill: I.value.style.chart.yAxis.labels.color,
1367
- style: _({ cursor: I.value.style.chart.dialog.show && L.value ? "pointer" : "default" }),
1368
- "text-decoration": I.value.style.chart.dialog.show && (Hn.value === n || P.value && t.uid === P.value.uid || F.value === n) ? "underline" : "",
1369
- onMouseenter: (e) => Un(n),
1370
- onMouseleave: Wn,
1371
- onClick: (e) => Vn(t)
1372
- }, S(t.name), 45, ht)]))), 128)),
1373
- I.value.style.chart.xAxis.labels.values.length ? (v(), f("g", {
1373
+ style: y({ cursor: I.value.style.chart.dialog.show && L.value ? "pointer" : "default" }),
1374
+ "text-decoration": I.value.style.chart.dialog.show && (Pn.value === n || N.value && t.uid === N.value.uid || F.value === n) ? "underline" : "",
1375
+ onMouseenter: (e) => Fn(n),
1376
+ onMouseleave: In,
1377
+ onClick: (e) => Nn(t)
1378
+ }, w(t.name), 45, at)]))), 128)),
1379
+ I.value.style.chart.xAxis.labels.values.length ? (b(), m("g", {
1374
1380
  key: 0,
1375
1381
  ref_key: "timeLabelsEls",
1376
- ref: Xt
1377
- }, [(v(!0), f(c, null, b(J.value, (t, n) => x(e.$slots, "time-label", ze({ ref_for: !0 }, {
1378
- show: t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && N.value && N.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / I.value.style.chart.xAxis.labels.modulo) === 0,
1382
+ ref: Ht
1383
+ }, [(b(!0), m(u, null, S(q.value, (t, n) => C(e.$slots, "time-label", Re({ ref_for: !0 }, {
1384
+ show: t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === q.value.length - 1) || t && M.value && M.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0,
1379
1385
  fontSize: I.value.style.chart.xAxis.labels.fontSize,
1380
1386
  content: t.label,
1381
1387
  textAnchor: I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -1383,7 +1389,7 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1383
1389
  transform: `translate(${t.selectorX}, ${G.value.top + t.height + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1384
1390
  x: t.selectorX,
1385
1391
  y: G.value.bottom + I.value.style.chart.xAxis.labels.offsetY
1386
- }), () => [t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === J.value.length - 1) || t && N.value && N.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(J.value.length / I.value.style.chart.xAxis.labels.modulo) === 0 ? (v(), f("g", gt, [String(t.label).includes("\n") ? (v(), f("text", {
1392
+ }), () => [t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || t && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === q.value.length - 1) || t && M.value && M.value.index === n || t && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0 ? (b(), m("g", ot, [String(t.label).includes("\n") ? (b(), m("text", {
1387
1393
  key: 1,
1388
1394
  class: "vue-ui-ridgeline-x-axis-label",
1389
1395
  "font-size": I.value.style.chart.xAxis.labels.fontSize,
@@ -1391,15 +1397,15 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1391
1397
  "font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1392
1398
  transform: `translate(${t.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1393
1399
  "text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1394
- style: _({ opacity: N.value ? N.value.index === n ? 1 : .2 : 1 }),
1395
- innerHTML: C(ne)({
1400
+ style: y({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 }),
1401
+ innerHTML: T(ne)({
1396
1402
  content: String(t.label),
1397
1403
  fontSize: I.value.style.chart.xAxis.labels.fontSize,
1398
1404
  fill: I.value.style.chart.xAxis.labels.color,
1399
1405
  x: 0,
1400
1406
  y: 0
1401
1407
  })
1402
- }, null, 12, vt)) : (v(), f("text", {
1408
+ }, null, 12, ct)) : (b(), m("text", {
1403
1409
  key: 0,
1404
1410
  class: "vue-ui-ridgeline-x-axis-label",
1405
1411
  "font-size": I.value.style.chart.xAxis.labels.fontSize,
@@ -1407,32 +1413,32 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1407
1413
  "font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1408
1414
  transform: `translate(${t.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1409
1415
  "text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1410
- style: _({ opacity: N.value ? N.value.index === n ? 1 : .2 : 1 })
1411
- }, S(t.label), 13, _t))])) : d("", !0)], !0)), 256))], 512)) : d("", !0),
1412
- p("g", null, [
1413
- (v(!0), f(c, null, b(J.value, (e, t) => (v(), f("rect", {
1416
+ style: y({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 })
1417
+ }, w(t.label), 13, st))])) : p("", !0)], !0)), 256))], 512)) : p("", !0),
1418
+ h("g", null, [
1419
+ (b(!0), m(u, null, S(q.value, (e, t) => (b(), m("rect", {
1414
1420
  x: e.x,
1415
1421
  y: e.y,
1416
1422
  width: e.width < 0 ? .1 : e.width,
1417
1423
  height: e.height < 0 ? .1 : e.height,
1418
1424
  fill: "transparent",
1419
- onMouseenter: (t) => An(e),
1420
- onMouseleave: (t) => jn(e),
1421
- onClick: () => Mn(e)
1422
- }, null, 40, yt))), 256)),
1423
- I.value.style.chart.selector.show && N.value ? (v(), f("line", {
1425
+ onMouseenter: (t) => Sn(e),
1426
+ onMouseleave: (t) => Cn(e),
1427
+ onClick: () => wn(e)
1428
+ }, null, 40, lt))), 256)),
1429
+ I.value.style.chart.selector.show && M.value ? (b(), m("line", {
1424
1430
  key: 0,
1425
- x1: N.value.selectorX,
1426
- x2: N.value.selectorX,
1427
- y1: N.value.y,
1428
- y2: N.value.y + N.value.height - B.value / 2,
1431
+ x1: M.value.selectorX,
1432
+ x2: M.value.selectorX,
1433
+ y1: M.value.y,
1434
+ y2: M.value.y + M.value.height - B.value / 2,
1429
1435
  stroke: I.value.style.chart.selector.stroke,
1430
1436
  "stroke-width": I.value.style.chart.selector.strokeWidth,
1431
1437
  "stroke-dasharray": I.value.style.chart.selector.strokeDasharray,
1432
1438
  "stroke-linecap": "round",
1433
1439
  style: { pointerEvents: "none" }
1434
- }, null, 8, bt)) : d("", !0),
1435
- N.value ? (v(!0), f(c, { key: 1 }, b(Y.value, (e) => (v(), f(c, null, [(v(!0), f(c, null, b(e.datapoints, (e) => (v(), f(c, null, [(v(!0), f(c, null, b(e.plots, (t, n) => (v(), f(c, null, [N.value && N.value.index === n ? (v(), f("circle", {
1440
+ }, null, 8, ut)) : p("", !0),
1441
+ M.value ? (b(!0), m(u, { key: 1 }, S(J.value, (e) => (b(), m(u, null, [(b(!0), m(u, null, S(e.datapoints, (e) => (b(), m(u, null, [(b(!0), m(u, null, S(e.plots, (t, n) => (b(), m(u, null, [M.value && M.value.index === n ? (b(), m("circle", {
1436
1442
  key: 0,
1437
1443
  cx: t.x,
1438
1444
  cy: t.y,
@@ -1441,16 +1447,16 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1441
1447
  r: I.value.style.chart.selector.dot.radius,
1442
1448
  fill: I.value.style.chart.selector.dot.useDatapointColor ? e.color : I.value.style.chart.selector.dot.fill,
1443
1449
  style: { pointerEvents: "none" }
1444
- }, null, 8, xt)) : d("", !0), N.value && N.value.index === n ? (v(), f("text", {
1450
+ }, null, 8, dt)) : p("", !0), M.value && M.value.index === n ? (b(), m("text", {
1445
1451
  key: 1,
1446
- x: Pn(t.x, C(ce)(I.value.style.chart.selector.labels.formatter, t.value, C(i)({
1452
+ x: En(t.x, T(se)(I.value.style.chart.selector.labels.formatter, t.value, T(re)({
1447
1453
  p: I.value.style.chart.xAxis.labels.prefix,
1448
1454
  v: t.value,
1449
1455
  s: I.value.style.chart.xAxis.labels.suffix,
1450
1456
  r: I.value.style.chart.selector.labels.rounding
1451
1457
  })), I.value.style.chart.selector.labels.fontSize) ? t.x - I.value.style.chart.selector.labels.fontSize / 2 : t.x + I.value.style.chart.selector.labels.fontSize / 2,
1452
1458
  y: t.y + I.value.style.chart.selector.labels.fontSize / 3,
1453
- "text-anchor": Pn(t.x, C(ce)(I.value.style.chart.selector.labels.formatter, t.value, C(i)({
1459
+ "text-anchor": En(t.x, T(se)(I.value.style.chart.selector.labels.formatter, t.value, T(re)({
1454
1460
  p: I.value.style.chart.xAxis.labels.prefix,
1455
1461
  v: t.value,
1456
1462
  s: I.value.style.chart.xAxis.labels.suffix,
@@ -1459,58 +1465,58 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1459
1465
  "font-size": I.value.style.chart.selector.labels.fontSize,
1460
1466
  fill: I.value.style.chart.selector.labels.color,
1461
1467
  style: { pointerEvents: "none" }
1462
- }, S(C(ce)(I.value.style.chart.selector.labels.formatter, t.value, C(i)({
1468
+ }, w(T(se)(I.value.style.chart.selector.labels.formatter, t.value, T(re)({
1463
1469
  p: I.value.style.chart.xAxis.labels.prefix,
1464
1470
  v: t.value,
1465
1471
  s: I.value.style.chart.xAxis.labels.suffix,
1466
1472
  r: I.value.style.chart.selector.labels.rounding
1467
- }))), 9, St)) : d("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : d("", !0)
1473
+ }))), 9, ft)) : p("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : p("", !0)
1468
1474
  ]),
1469
- x(e.$slots, "svg", { svg: {
1475
+ C(e.$slots, "svg", { svg: {
1470
1476
  ...W.value,
1471
1477
  drawingArea: G.value,
1472
- isPrintingImg: C(dn) || C(fn) || $t.value,
1473
- isPrintingSvg: en.value
1478
+ isPrintingImg: T(tn) || T(nn) || Wt.value,
1479
+ isPrintingSvg: Gt.value
1474
1480
  } }, void 0, !0)
1475
- ], 46, Ze)), e.$slots.hint ? (v(), f("div", Ct, [x(e.$slots, "hint", g(h({
1481
+ ], 46, Ze)), e.$slots.hint ? (b(), m("div", pt, [C(e.$slots, "hint", v(_({
1476
1482
  hint: I.value.a11y.translations.keyboardNavigation,
1477
- isVisible: tn.value
1478
- })), void 0, !0)])) : d("", !0)]),
1479
- e.$slots.watermark ? (v(), f("div", wt, [x(e.$slots, "watermark", g(h({ isPrinting: C(dn) || C(fn) || $t.value || en.value })), void 0, !0)])) : d("", !0),
1480
- p("div", {
1483
+ isVisible: Kt.value
1484
+ })), void 0, !0)])) : p("", !0)]),
1485
+ e.$slots.watermark ? (b(), m("div", mt, [C(e.$slots, "watermark", v(_({ isPrinting: T(tn) || T(nn) || Wt.value || Gt.value })), void 0, !0)])) : p("", !0),
1486
+ h("div", {
1481
1487
  ref_key: "chartLegend",
1482
- ref: zt
1483
- }, [x(e.$slots, "legend", { legend: Z.value }, () => [I.value.style.chart.legend.show ? (v(), u(Pe, {
1484
- key: `legend_${Wt.value}`,
1485
- legendSet: Z.value,
1486
- config: Ln.value,
1488
+ ref: jt
1489
+ }, [C(e.$slots, "legend", { legend: X.value }, () => [I.value.style.chart.legend.show ? (b(), f(Ne, {
1490
+ key: `legend_${It.value}`,
1491
+ legendSet: X.value,
1492
+ config: kn.value,
1487
1493
  isCursorPointer: L.value,
1488
- onClickMarker: t[0] ||= ({ legend: e }) => yn(e.id)
1489
- }, Ie({
1490
- item: T(({ legend: e }) => [C(R) ? d("", !0) : (v(), f("div", {
1494
+ onClickMarker: t[0] ||= ({ legend: e }) => un(e.id)
1495
+ }, Fe({
1496
+ item: E(({ legend: e }) => [T(R) ? p("", !0) : (b(), m("div", {
1491
1497
  key: 0,
1492
- style: _(`opacity:${X.value.includes(e.id) ? .5 : 1}`),
1498
+ style: y(`opacity:${Y.value.includes(e.id) ? .5 : 1}`),
1493
1499
  onClick: (t) => e.segregate()
1494
- }, S(e.name), 13, Tt))]),
1495
- legendToggle: T(() => [Z.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !C(R) ? (v(), u(Ae, {
1500
+ }, w(e.name), 13, ht))]),
1501
+ legendToggle: E(() => [X.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !T(R) ? (b(), f(ke, {
1496
1502
  key: 0,
1497
1503
  backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
1498
1504
  color: I.value.style.chart.legend.selectAllToggle.color,
1499
1505
  fontSize: I.value.style.chart.legend.fontSize,
1500
- checked: X.value.length > 0,
1506
+ checked: Y.value.length > 0,
1501
1507
  isCursorPointer: L.value,
1502
- onToggle: vn
1508
+ onToggle: ln
1503
1509
  }, null, 8, [
1504
1510
  "backgroundColor",
1505
1511
  "color",
1506
1512
  "fontSize",
1507
1513
  "checked",
1508
1514
  "isCursorPointer"
1509
- ])) : d("", !0)]),
1515
+ ])) : p("", !0)]),
1510
1516
  _: 2
1511
1517
  }, [e.$slots.pattern ? {
1512
1518
  name: "legend-pattern",
1513
- fn: T(({ legend: e, index: t }) => [Re(Ee, {
1519
+ fn: E(({ legend: e, index: t }) => [Le(we, {
1514
1520
  shape: e.shape,
1515
1521
  radius: 30,
1516
1522
  stroke: "none",
@@ -1518,38 +1524,38 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1518
1524
  x: 30,
1519
1525
  y: 30
1520
1526
  },
1521
- fill: `url(#pattern_${M.value}_${t})`
1527
+ fill: `url(#pattern_${j.value}_${t})`
1522
1528
  }, null, 8, ["shape", "fill"])]),
1523
1529
  key: "0"
1524
1530
  } : void 0]), 1032, [
1525
1531
  "legendSet",
1526
1532
  "config",
1527
1533
  "isCursorPointer"
1528
- ])) : d("", !0)], !0)], 512),
1529
- e.$slots.source ? (v(), f("div", {
1534
+ ])) : p("", !0)], !0)], 512),
1535
+ e.$slots.source ? (b(), m("div", {
1530
1536
  key: 6,
1531
1537
  ref_key: "source",
1532
- ref: Bt,
1538
+ ref: Mt,
1533
1539
  dir: "auto"
1534
- }, [x(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1535
- D.value && I.value.userOptions.buttons.table ? (v(), u(Ue(Qn.value.component), ze({ key: 7 }, Qn.value.props, {
1540
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1541
+ Ot.value && I.value.userOptions.buttons.table ? (b(), f(He(Wn.value.component), Re({ key: 7 }, Wn.value.props, {
1536
1542
  ref_key: "tableUnit",
1537
- ref: Zt,
1538
- onClose: $n
1539
- }), Ie({
1540
- content: T(() => [(v(), u(C(At), {
1541
- key: `table_${Ut.value}`,
1542
- colNames: $.value.colNames,
1543
- head: $.value.head,
1544
- body: $.value.body,
1545
- config: $.value.config,
1546
- title: I.value.table.useDialog ? "" : Qn.value.title,
1543
+ ref: P,
1544
+ onClose: Gn
1545
+ }), Fe({
1546
+ content: E(() => [(b(), f(T(bt), {
1547
+ key: `table_${Ft.value}`,
1548
+ colNames: Q.value.colNames,
1549
+ head: Q.value.head,
1550
+ body: Q.value.body,
1551
+ config: Q.value.config,
1552
+ title: I.value.table.useDialog ? "" : Wn.value.title,
1547
1553
  withCloseButton: !I.value.table.useDialog,
1548
1554
  isCursorPointer: L.value,
1549
- onClose: $n
1555
+ onClose: Gn
1550
1556
  }, {
1551
- th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, Et)]),
1552
- td: T(({ td: e }) => [Le(S(e.name ? e.name : C(ce)(I.value.style.chart.selector.labels.formatter, e, C(i)({
1557
+ th: E(({ th: e }) => [h("div", { innerHTML: e }, null, 8, gt)]),
1558
+ td: E(({ td: e }) => [Ie(w(e.name ? e.name : T(se)(I.value.style.chart.selector.labels.formatter, e, T(re)({
1553
1559
  p: I.value.style.chart.xAxis.labels.prefix,
1554
1560
  v: e,
1555
1561
  s: I.value.style.chart.xAxis.labels.suffix,
@@ -1568,42 +1574,42 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1568
1574
  _: 2
1569
1575
  }, [I.value.table.useDialog ? {
1570
1576
  name: "title",
1571
- fn: T(() => [Le(S(Qn.value.title), 1)]),
1577
+ fn: E(() => [Ie(w(Wn.value.title), 1)]),
1572
1578
  key: "0"
1573
1579
  } : void 0, I.value.table.useDialog ? {
1574
1580
  name: "actions",
1575
- fn: T(() => [p("button", {
1581
+ fn: E(() => [h("button", {
1576
1582
  tabindex: "0",
1577
1583
  class: "vue-ui-user-options-button",
1578
- onClick: t[1] ||= (e) => Yn(I.value.userOptions.callbacks.csv),
1579
- style: _({ cursor: L.value ? "pointer" : "default" })
1580
- }, [Re(C(Ot), {
1584
+ onClick: t[1] ||= (e) => Vn(I.value.userOptions.callbacks.csv),
1585
+ style: y({ cursor: L.value ? "pointer" : "default" })
1586
+ }, [Le(T(vt), {
1581
1587
  name: "fileCsv",
1582
- stroke: Qn.value.props.color
1588
+ stroke: Wn.value.props.color
1583
1589
  }, null, 8, ["stroke"])], 4)]),
1584
1590
  key: "1"
1585
- } : void 0]), 1040)) : d("", !0),
1586
- I.value.style.chart.dialog.show ? (v(), u(C(Pt), {
1591
+ } : void 0]), 1040)) : p("", !0),
1592
+ I.value.style.chart.dialog.show ? (b(), f(T(wt), {
1587
1593
  key: 8,
1588
1594
  ref_key: "dialog",
1589
- ref: Jt,
1590
- onClose: t[2] ||= (e) => P.value = null,
1595
+ ref: Bt,
1596
+ onClose: t[2] ||= (e) => N.value = null,
1591
1597
  backgroundColor: I.value.style.chart.dialog.backgroundColor,
1592
1598
  color: I.value.style.chart.dialog.color,
1593
1599
  headerBg: I.value.style.chart.dialog.header.backgroundColor,
1594
1600
  headerColor: I.value.style.chart.dialog.header.color,
1595
- isFullscreen: Q.value,
1596
- fullscreenParent: k.value,
1601
+ isFullscreen: Z.value,
1602
+ fullscreenParent: O.value,
1597
1603
  isCursorPointer: L.value,
1598
1604
  withPadding: ""
1599
1605
  }, {
1600
- title: T(() => [Le(S(P.value.name), 1)]),
1601
- content: T(() => [P.value ? (v(), u(C(Dt), {
1606
+ title: E(() => [Ie(w(N.value.name), 1)]),
1607
+ content: E(() => [N.value ? (b(), f(T(_t), {
1602
1608
  key: 0,
1603
- config: zn.value,
1604
- dataset: Bn.value,
1605
- onCopyAlt: or
1606
- }, null, 8, ["config", "dataset"])) : d("", !0)]),
1609
+ config: jn.value,
1610
+ dataset: Mn.value,
1611
+ onCopyAlt: Qn
1612
+ }, null, 8, ["config", "dataset"])) : p("", !0)]),
1607
1613
  _: 1
1608
1614
  }, 8, [
1609
1615
  "backgroundColor",
@@ -1613,10 +1619,10 @@ var qe = /* @__PURE__ */ e({ default: () => Dt }), Je = ["id"], Ye = ["id"], Xe
1613
1619
  "isFullscreen",
1614
1620
  "fullscreenParent",
1615
1621
  "isCursorPointer"
1616
- ])) : d("", !0),
1617
- x(e.$slots, "skeleton", {}, () => [C(R) ? (v(), u(ye, { key: 0 })) : d("", !0)], !0)
1622
+ ])) : p("", !0),
1623
+ C(e.$slots, "skeleton", {}, () => [T(R) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
1618
1624
  ], 46, Je));
1619
1625
  }
1620
- }, [["__scopeId", "data-v-ca7f8c0d"]]);
1626
+ }, [["__scopeId", "data-v-8d046cf7"]]);
1621
1627
  //#endregion
1622
- export { qe as n, Dt as t };
1628
+ export { qe as n, _t as t };