vue-data-ui 3.22.2 → 3.22.4

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 (203) hide show
  1. package/dist/{Arrow-BGhJI-qh.js → Arrow-CgzmXCW_.js} +1 -1
  2. package/dist/{BaseDraggableDialog-a9xCKjW-.js → BaseDraggableDialog-DjzNWkiE.js} +2 -2
  3. package/dist/{BaseIcon-DEtwcvEH.js → BaseIcon-xBuW2jjI.js} +1 -1
  4. package/dist/{BaseLegendToggle-B-lM0iV1.js → BaseLegendToggle-C4Usj0LI.js} +1 -1
  5. package/dist/{BaseZoomControls-BjjT6vtB.js → BaseZoomControls-Cg9o2J-q.js} +2 -2
  6. package/dist/{ColorPicker-DMLahA2S.js → ColorPicker-Usv7badH.js} +2 -2
  7. package/dist/{DataTable-DJZgdnIn.js → DataTable-PidUPOit.js} +2 -2
  8. package/dist/Legend-DXOzbXb-.js +156 -0
  9. package/dist/{NonSvgPenAndPaper-Dwq_M6Bz.js → NonSvgPenAndPaper-OIs8I25K.js} +19 -19
  10. package/dist/{PackageVersion-Dx81ZIAL.js → PackageVersion-Cm-3hwIF.js} +1 -1
  11. package/dist/{PenAndPaper-DJIIG6dv.js → PenAndPaper-ISUbDKXq.js} +11 -11
  12. package/dist/{Shape-C5OvuwII.js → Shape-BnF9aMPX.js} +3 -3
  13. package/dist/Slicer-hEvKOLw3.js +1145 -0
  14. package/dist/{SlicerPreview-CAhqG_ZQ.js → SlicerPreview-BDI-aCXE.js} +36 -35
  15. package/dist/{SparkTooltip-DTzo8Sah.js → SparkTooltip-DaWSTzfA.js} +1 -1
  16. package/dist/{Title-CVYf1f8m.js → Title-DDEEO-Nr.js} +1 -1
  17. package/dist/{Tooltip-BmGCBJuU.js → Tooltip-BhKov422.js} +1 -1
  18. package/dist/{UserOptions-xqbNpHi2.js → UserOptions-BxT1XHzN.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-rjAIVHxa.js → dom-to-png-ZOysoMwu.js} +1 -1
  89. package/dist/exposedLib-C2U48XK7.js +19 -0
  90. package/dist/img-B29J8tV5.js +129 -0
  91. package/dist/{labelUtils-C0D1tjig.js → labelUtils-BFcL_t-A.js} +1 -1
  92. package/dist/{lib-CXicicWN.js → lib-CuwHGt1j.js} +143 -124
  93. package/dist/{package-CILLITOI.js → package-CRlwXCDr.js} +1 -1
  94. package/dist/{pdf-ChYv2jb6.js → pdf-ymYt9Lee.js} +1 -1
  95. package/dist/{render-common-bMAFQ_qf.js → render-common-D6ny-Fwu.js} +22 -22
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/types/vue-data-ui.d.ts +69 -2
  101. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  102. package/dist/{useAutoSizeLabelsInsideViewbox-B4-0yo3K.js → useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js} +1 -1
  103. package/dist/{useConfig-Bf_EBbe3.js → useConfig-pVLia3dt.js} +30 -2
  104. package/dist/{useNestedProp-APyFoLCQ.js → useNestedProp-BjkuFaz1.js} +1 -1
  105. package/dist/{useObjectBindings-Byts-nf-.js → useObjectBindings-C1XuDxFr.js} +2 -2
  106. package/dist/{usePrinter-Dng0UK-G.js → usePrinter-C0wAS8yc.js} +3 -3
  107. package/dist/utils.js +14 -14
  108. package/dist/{vue-data-ui-DD-txoS1.js → vue-data-ui-DTWqd0R2.js} +68 -68
  109. package/dist/vue-data-ui.js +73 -73
  110. package/dist/vue-ui-3d-bar-DBpSRV-C.js +1757 -0
  111. package/dist/{vue-ui-accordion-Di_givzQ.js → vue-ui-accordion-B64IJyPU.js} +4 -4
  112. package/dist/{vue-ui-age-pyramid-CTwMfsqS.js → vue-ui-age-pyramid-e09oK-Fp.js} +289 -289
  113. package/dist/{vue-ui-annotator-tRkLFMQ9.js → vue-ui-annotator-CU4CdKMm.js} +69 -69
  114. package/dist/vue-ui-bullet-tlj5_z_z.js +710 -0
  115. package/dist/{vue-ui-bump-BJ5O8Mps.js → vue-ui-bump-BD0Uq3As.js} +259 -259
  116. package/dist/vue-ui-candlestick-CZxsNGKS.js +1826 -0
  117. package/dist/{vue-ui-carousel-table-8s8BSy-K.js → vue-ui-carousel-table-ycbcmBKt.js} +122 -122
  118. package/dist/vue-ui-chestnut-CnEsjvh4.js +2010 -0
  119. package/dist/{vue-ui-chord-1BitQtEw.js → vue-ui-chord-BZhXsZXp.js} +53 -53
  120. package/dist/{vue-ui-circle-pack-DVMhDFKU.js → vue-ui-circle-pack-BPC6zUis.js} +46 -46
  121. package/dist/{vue-ui-cursor-D7yh10hX.js → vue-ui-cursor-DF_e5k1s.js} +4 -4
  122. package/dist/{vue-ui-dag--LFEAAf_.js → vue-ui-dag-BIo4-Oa8.js} +49 -49
  123. package/dist/{vue-ui-dashboard-COeO878g.js → vue-ui-dashboard-BEtF6UX2.js} +70 -70
  124. package/dist/{vue-ui-digits-C50FVr7C.js → vue-ui-digits-07IxTlNO.js} +4 -4
  125. package/dist/vue-ui-donut-C4FcvXm3.js +2410 -0
  126. package/dist/{vue-ui-donut-BzKXqQA2.js → vue-ui-donut-C5oRCxAO.js} +193 -193
  127. package/dist/{vue-ui-donut-evolution-lPkwit2C.js → vue-ui-donut-evolution-BSeyPC9k.js} +419 -419
  128. package/dist/{vue-ui-dumbbell-hlEfvbbf.js → vue-ui-dumbbell-Cykw4WYn.js} +341 -341
  129. package/dist/{vue-ui-flow-Bg_OSszc.js → vue-ui-flow-R_dLE1WS.js} +72 -72
  130. package/dist/vue-ui-funnel-Ct5xQdak.js +777 -0
  131. package/dist/vue-ui-galaxy-B5BkdIt5.js +1077 -0
  132. package/dist/vue-ui-gauge-AbzY-7Gg.js +920 -0
  133. package/dist/{vue-ui-geo-DtzXRvmx.js → vue-ui-geo-DVT9XEC3.js} +18 -18
  134. package/dist/{vue-ui-gizmo-hIFd7qck.js → vue-ui-gizmo-DJTRXao8.js} +62 -62
  135. package/dist/{vue-ui-heatmap-yPlwc3l_.js → vue-ui-heatmap-BCFId15K.js} +293 -293
  136. package/dist/vue-ui-history-plot-DCeroetw.js +1700 -0
  137. package/dist/{vue-ui-horizontal-bar-CJciNHpT.js → vue-ui-horizontal-bar-j3jszojt.js} +75 -75
  138. package/dist/{vue-ui-kpi-DmSe1QGb.js → vue-ui-kpi-DJjF6tcf.js} +12 -12
  139. package/dist/{vue-ui-mini-loader-CqxI6DwN.js → vue-ui-mini-loader-nOsOsA2V.js} +3 -3
  140. package/dist/{vue-ui-molecule-w-94Uktn.js → vue-ui-molecule-2pfoR63d.js} +213 -213
  141. package/dist/{vue-ui-mood-radar-B3OGWGHR.js → vue-ui-mood-radar-DP_4LHfZ.js} +40 -40
  142. package/dist/{vue-ui-nested-donuts-Dv_yE5EV.js → vue-ui-nested-donuts-DFsLZEqx.js} +255 -255
  143. package/dist/{vue-ui-onion-BQbI0Vxd.js → vue-ui-onion-CzXx3Rme.js} +293 -293
  144. package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +1416 -0
  145. package/dist/{vue-ui-quadrant-BB7qdXK0.js → vue-ui-quadrant-Br_iZmcw.js} +57 -57
  146. package/dist/{vue-ui-quick-chart-CGDeo3Fx.js → vue-ui-quick-chart-CnIFPFPv.js} +654 -654
  147. package/dist/vue-ui-radar-CNwKFbHc.js +1281 -0
  148. package/dist/{vue-ui-rating-ChDwpol2.js → vue-ui-rating-CRziryE2.js} +22 -22
  149. package/dist/vue-ui-relation-circle-BVDIikGi.js +924 -0
  150. package/dist/{vue-ui-ridgeline-Cq8z57xB.js → vue-ui-ridgeline-Kw50zROq.js} +468 -468
  151. package/dist/vue-ui-rings-BDJyoWvT.js +1246 -0
  152. package/dist/vue-ui-scatter-DoL5Kh1Y.js +2413 -0
  153. package/dist/{vue-ui-skeleton-DJ5KAbfV.js → vue-ui-skeleton-BOHwJSdz.js} +22 -22
  154. package/dist/{vue-ui-smiley-fFrNX-Gl.js → vue-ui-smiley-BTvDy8Fm.js} +5 -5
  155. package/dist/{vue-ui-spark-trend-D6OBWxmg.js → vue-ui-spark-trend-OgSFIFh0.js} +24 -24
  156. package/dist/{vue-ui-sparkbar-CtCP8O44.js → vue-ui-sparkbar-D8FdqMB_.js} +35 -35
  157. package/dist/{vue-ui-sparkgauge-CZDkyViI.js → vue-ui-sparkgauge-CBpPbVkw.js} +56 -56
  158. package/dist/vue-ui-sparkhistogram-BQjbLa2k.js +560 -0
  159. package/dist/{vue-ui-sparkline-CJKE7Xcl.js → vue-ui-sparkline-BJfh5Lje.js} +200 -200
  160. package/dist/{vue-ui-sparkstackbar-BSV0M-2u.js → vue-ui-sparkstackbar-1WUQrqd7.js} +126 -126
  161. package/dist/vue-ui-stackbar-Dqs7_g8D.js +2329 -0
  162. package/dist/{vue-ui-stackline-DS_MPmc1.js → vue-ui-stackline-IRjugedp.js} +406 -388
  163. package/dist/vue-ui-strip-plot-B7D6Hk8R.js +1729 -0
  164. package/dist/{vue-ui-table-c1FPEwLM.js → vue-ui-table-Bqi9XNvY.js} +64 -64
  165. package/dist/{vue-ui-table-heatmap-CMQJXnP8.js → vue-ui-table-heatmap-D38YSxhJ.js} +16 -16
  166. package/dist/{vue-ui-table-sparkline-CAS9Pk60.js → vue-ui-table-sparkline-0Ffb2jdf.js} +19 -19
  167. package/dist/vue-ui-thermometer-Di5PXtEO.js +763 -0
  168. package/dist/{vue-ui-timer-CSP48eS-.js → vue-ui-timer-9CDcd-gP.js} +6 -6
  169. package/dist/{vue-ui-tiremarks-DJvXj1P3.js → vue-ui-tiremarks-BAQ-cCSq.js} +10 -10
  170. package/dist/vue-ui-treemap-CLOlWiDE.js +1587 -0
  171. package/dist/vue-ui-waffle-DG2IfACo.js +1362 -0
  172. package/dist/{vue-ui-wheel-CbL52G-w.js → vue-ui-wheel-BfXJFCjv.js} +29 -29
  173. package/dist/{vue-ui-word-cloud-BqOCyp7c.js → vue-ui-word-cloud-3NJy1z6d.js} +28 -28
  174. package/dist/{vue-ui-world-BkjzCcVh.js → vue-ui-world-vrGT5g1H.js} +127 -127
  175. package/dist/{vue-ui-xy-CVDNhnDY.js → vue-ui-xy-Cb7u46JN.js} +410 -410
  176. package/dist/{vue-ui-xy-DuwLRfr4.js → vue-ui-xy-Dg0wxSeC.js} +760 -760
  177. package/dist/{vue-ui-xy-canvas-CXqGVMeQ.js → vue-ui-xy-canvas-CjbjJ70r.js} +60 -60
  178. package/dist/{vue_ui_strip_plot-CtJe8_gq.js → vue_ui_strip_plot-BaHbnnwN.js} +7 -0
  179. package/package.json +1 -1
  180. package/dist/Legend-BVDhEEsC.js +0 -115
  181. package/dist/Slicer-ClR833cP.js +0 -1144
  182. package/dist/exposedLib-CffbQxjN.js +0 -19
  183. package/dist/img-BCAOkqfM.js +0 -74
  184. package/dist/vue-ui-3d-bar-DxfNdF2e.js +0 -1757
  185. package/dist/vue-ui-bullet-9gtGJaGb.js +0 -710
  186. package/dist/vue-ui-candlestick-CJ_VVYbJ.js +0 -1826
  187. package/dist/vue-ui-chestnut-D3-ck2h2.js +0 -2010
  188. package/dist/vue-ui-donut-NHjQzFO5.js +0 -2410
  189. package/dist/vue-ui-funnel-B_bK0jJB.js +0 -777
  190. package/dist/vue-ui-galaxy-WVCUzcYc.js +0 -1077
  191. package/dist/vue-ui-gauge-Cqeko0wA.js +0 -920
  192. package/dist/vue-ui-history-plot-BGmcDg2w.js +0 -1554
  193. package/dist/vue-ui-parallel-coordinate-plot-ColST3Jj.js +0 -1416
  194. package/dist/vue-ui-radar-DqDn14DL.js +0 -1281
  195. package/dist/vue-ui-relation-circle-BvfZqcK0.js +0 -924
  196. package/dist/vue-ui-rings-Ds-sgNPK.js +0 -1246
  197. package/dist/vue-ui-scatter-BgOVUzQ3.js +0 -2413
  198. package/dist/vue-ui-sparkhistogram-DgruLf33.js +0 -560
  199. package/dist/vue-ui-stackbar-pnlYCnTj.js +0 -2270
  200. package/dist/vue-ui-strip-plot-DSKOrJZX.js +0 -1340
  201. package/dist/vue-ui-thermometer-w3eeJv9s.js +0 -763
  202. package/dist/vue-ui-treemap-BaOMXTR1.js +0 -1587
  203. package/dist/vue-ui-waffle-Bo22Ph8n.js +0 -1362
@@ -1,24 +1,24 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, Et as n, G as r, H as i, I as a, J as ee, Lt as o, O as te, S as s, Ut as ne, Vt as re, X as ie, ct as ae, i as c, k as oe, kt as l, q as se, r as ce, t as le, ut as ue, x as de, y as fe } from "./lib-CXicicWN.js";
2
+ import { A as t, Gt as n, H as r, Ot as i, Q as a, R as ee, S as o, Ut as s, W as te, X as ne, Y as re, b as ie, ft as ae, i as oe, j as se, jt as c, q as l, r as ce, t as le, ut as ue, w as de, zt as fe } from "./lib-CuwHGt1j.js";
3
3
  import { t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as me } from "./useConfig-Bf_EBbe3.js";
5
- import { t as he } from "./usePrinter-Dng0UK-G.js";
4
+ import { t as me } from "./useConfig-pVLia3dt.js";
5
+ import { t as he } from "./usePrinter-C0wAS8yc.js";
6
6
  import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as ve } from "./useSvgExport-SVIsDot8.js";
8
- import { t as ye } from "./useNestedProp-APyFoLCQ.js";
8
+ import { t as ye } from "./useNestedProp-BjkuFaz1.js";
9
9
  import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
10
  import { t as xe } from "./useTimeLabelCollider-AEcY4Ioe.js";
11
- import { t as Se } from "./img-BCAOkqfM.js";
12
- import { n as Ce } from "./Title-CVYf1f8m.js";
13
- import { t as we } from "./Shape-C5OvuwII.js";
11
+ import { t as Se } from "./img-B29J8tV5.js";
12
+ import { n as Ce } from "./Title-DDEEO-Nr.js";
13
+ import { t as we } from "./Shape-BnF9aMPX.js";
14
14
  import { t as Te } from "./_plugin-vue_export-helper-B3ysoDQm.js";
15
15
  import { c as Ee } from "./canvas-lib-BOP_HS11.js";
16
16
  import { t as De } from "./useResponsive-BfnK0KxU.js";
17
- import { t as Oe } from "./BaseLegendToggle-B-lM0iV1.js";
17
+ import { t as Oe } from "./BaseLegendToggle-C4Usj0LI.js";
18
18
  import { t as ke } from "./A11yDataTable-DdRsVULz.js";
19
19
  import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
20
20
  import { t as je } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Me } from "./Legend-BVDhEEsC.js";
21
+ import { t as Me } from "./Legend-DXOzbXb-.js";
22
22
  import { t as Ne } from "./vue_ui_ridgeline-VM8_mx4J.js";
23
23
  import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Pe, createTextVNode as Fe, createVNode as Ie, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Le, nextTick as Re, normalizeClass as ze, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Be, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Ve, shallowRef as He, toDisplayString as w, toRefs as Ue, unref as T, watch as We, watchEffect as Ge, withCtx as E } from "vue";
24
24
  //#region src/components/vue-ui-ridgeline.vue
@@ -137,15 +137,15 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
137
137
  "copyAlt"
138
138
  ],
139
139
  setup(e, { expose: Te, emit: Ke }) {
140
- let Et = g(() => import("./vue-ui-xy-DuwLRfr4.js").then((e) => e.n)), Dt = g(() => import("./BaseIcon-DEtwcvEH.js").then((e) => e.n)), Ot = g(() => import("./vue-ui-accordion-Di_givzQ.js").then((e) => e.n)), kt = g(() => import("./DataTable-DJZgdnIn.js")), At = g(() => import("./PenAndPaper-DJIIG6dv.js").then((e) => e.t)), jt = g(() => import("./UserOptions-xqbNpHi2.js").then((e) => e.n)), Mt = g(() => import("./PackageVersion-Dx81ZIAL.js").then((e) => e.t)), Nt = g(() => import("./BaseDraggableDialog-a9xCKjW-.js").then((e) => e.n)), { vue_ui_ridgeline: Pt } = me(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), D = e, O = d({
140
+ let Et = g(() => import("./vue-ui-xy-Dg0wxSeC.js").then((e) => e.n)), Dt = g(() => import("./BaseIcon-xBuW2jjI.js").then((e) => e.n)), Ot = g(() => import("./vue-ui-accordion-B64IJyPU.js").then((e) => e.n)), kt = g(() => import("./DataTable-PidUPOit.js")), At = g(() => import("./PenAndPaper-ISUbDKXq.js").then((e) => e.t)), jt = g(() => import("./UserOptions-BxT1XHzN.js").then((e) => e.n)), Mt = g(() => import("./PackageVersion-Cm-3hwIF.js").then((e) => e.t)), Nt = g(() => import("./BaseDraggableDialog-DjzNWkiE.js").then((e) => e.n)), { vue_ui_ridgeline: Pt } = me(), { isThemeValid: Ft, warnInvalidTheme: It } = be(), D = e, Lt = d({
141
141
  get() {
142
- return Array.isArray(z.value) && z.value.length > 0;
142
+ return Array.isArray(R.value) && R.value.length > 0;
143
143
  },
144
144
  set(e) {
145
145
  return e;
146
146
  }
147
- }), Lt = Ke, k = x(null), Rt = x(null), zt = x(null), A = He(null), j = He(null), Bt = x(null), Vt = x(null), Ht = x(0), Ut = x(0), Wt = x(0), M = x(i()), Gt = x(0), Kt = x(0), qt = x(512), N = x(null), P = x(null), Jt = x(null), Yt = x(0), Xt = x(null), Zt = x(null), Qt = x(null), $t = x(!1), en = x(!1), F = x(null), tn = x(!1);
148
- function nn() {
147
+ }), Rt = Ke, O = x(null), zt = x(null), Bt = x(null), k = He(null), A = He(null), Vt = x(null), Ht = x(null), Ut = x(0), Wt = x(0), Gt = x(0), j = x(te()), Kt = x(0), qt = x(0), Jt = x(512), M = x(null), N = x(null), Yt = x(null), Xt = x(0), Zt = x(null), Qt = x(null), $t = x(null), en = x(!1), tn = x(!1), P = x(null), nn = x(!1);
148
+ function rn() {
149
149
  let e = ye({
150
150
  userConfig: D.config,
151
151
  defaultConfig: Pt
@@ -161,10 +161,10 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
161
161
  });
162
162
  return {
163
163
  ...r,
164
- customPalette: r.customPalette.length ? r.customPalette : re[t] || l
164
+ customPalette: r.customPalette.length ? r.customPalette : s[t] || c
165
165
  };
166
166
  }
167
- let I = x(nn()), L = d(() => I.value.userOptions.useCursorPointer), rn = d(() => ne({
167
+ let F = x(rn()), I = d(() => F.value.userOptions.useCursorPointer), an = d(() => n({
168
168
  defaultConfig: {
169
169
  userOptions: { show: !1 },
170
170
  table: { show: !1 },
@@ -185,11 +185,11 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
185
185
  zeroLine: { show: !1 }
186
186
  } }
187
187
  },
188
- userConfig: I.value.skeletonConfig ?? {}
189
- })), { loading: R, FINAL_DATASET: z, manualLoading: an } = ge({
188
+ userConfig: F.value.skeletonConfig ?? {}
189
+ })), { loading: L, FINAL_DATASET: R, manualLoading: on } = ge({
190
190
  ...Ue(D),
191
- FINAL_CONFIG: I,
192
- prepareConfig: nn,
191
+ FINAL_CONFIG: F,
192
+ prepareConfig: rn,
193
193
  skeletonDataset: D.config?.skeletonDataset ?? [
194
194
  {
195
195
  name: "_",
@@ -420,226 +420,226 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
420
420
  }]
421
421
  }
422
422
  ],
423
- skeletonConfig: ne({
424
- defaultConfig: I.value,
425
- userConfig: rn.value
423
+ skeletonConfig: n({
424
+ defaultConfig: F.value,
425
+ userConfig: an.value
426
426
  })
427
- }), B = x(Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight)), { userOptionsVisible: on, setUserOptionsVisibility: sn, keepUserOptionState: cn } = Ae({ config: I.value }), { svgRef: V } = je({ config: I.value.style.chart.title }), ln = d(() => !!I.value.debug);
428
- function un() {
429
- let e = z.value || [];
427
+ }), z = x(Math.min(F.value.style.chart.areas.height, F.value.style.chart.areas.rowHeight)), { userOptionsVisible: sn, setUserOptionsVisibility: cn, keepUserOptionState: ln } = Ae({ config: F.value }), { svgRef: B } = je({ config: F.value.style.chart.title }), un = d(() => !!F.value.debug);
428
+ function dn() {
429
+ let e = R.value || [];
430
430
  if (!Array.isArray(e) || e.length === 0) {
431
- ie({
431
+ a({
432
432
  componentName: "VueUiRidgeline",
433
433
  type: "dataset",
434
- debug: ln.value
435
- }), an.value = !0;
434
+ debug: un.value
435
+ }), on.value = !0;
436
436
  return;
437
437
  }
438
438
  if (e.forEach((e, t) => {
439
- ae({
439
+ ue({
440
440
  datasetObject: e,
441
441
  requiredAttributes: ["name", "datapoints"]
442
442
  }).forEach((e) => {
443
- O.value = !1, ie({
443
+ Lt.value = !1, a({
444
444
  componentName: "VueUiRidgeline",
445
445
  type: "datasetSerieAttribute",
446
446
  property: e,
447
447
  index: t,
448
- debug: ln.value
448
+ debug: un.value
449
449
  });
450
450
  }), Array.isArray(e.datapoints) && e.datapoints.length && e.datapoints.forEach((e, n) => {
451
- ae({
451
+ ue({
452
452
  datasetObject: e,
453
453
  requiredAttributes: ["name", "values"]
454
454
  }).forEach((e) => {
455
- O.value = !1, ie({
455
+ Lt.value = !1, a({
456
456
  componentName: "VueUiRidgeline",
457
457
  type: "datasetSerieAttribute",
458
458
  property: `datapoint.${e}`,
459
459
  index: `${t}-${n}`,
460
- debug: ln.value
460
+ debug: un.value
461
461
  });
462
462
  });
463
463
  });
464
- }), Kt.value = e.length, B.value = Math.min(I.value.style.chart.areas.height, I.value.style.chart.areas.rowHeight), n(D.dataset) || (an.value = I.value.loading), I.value.responsive) {
464
+ }), qt.value = e.length, z.value = Math.min(F.value.style.chart.areas.height, F.value.style.chart.areas.rowHeight), i(D.dataset) || (on.value = F.value.loading), F.value.responsive) {
465
465
  let t = Ee(() => {
466
466
  let { width: t, height: n } = De({
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,
472
- padding: I.value.style.chart.padding
467
+ chart: O.value,
468
+ title: F.value.style.chart.title.text ? zt.value : null,
469
+ legend: F.value.style.chart.legend.show ? Bt.value : null,
470
+ source: Vt.value,
471
+ noTitle: Ht.value,
472
+ padding: F.value.style.chart.padding
473
473
  });
474
474
  requestAnimationFrame(() => {
475
- qt.value = t, B.value = e.length ? n / e.length : 0, Yt.value = n - 12;
475
+ Jt.value = t, z.value = e.length ? n / e.length : 0, Xt.value = n - 12;
476
476
  });
477
477
  });
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);
478
+ 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
479
  }
480
480
  }
481
481
  Be(() => {
482
- A.value && (j.value && A.value.unobserve(j.value), A.value.disconnect());
482
+ k.value && (A.value && k.value.unobserve(A.value), k.value.disconnect());
483
483
  });
484
- let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = he({
485
- elementId: `vue-ui-ridgeline_${M.value}`,
486
- fileName: I.value.style.chart.title.text || "vue-ui-ridgeline",
487
- options: I.value.userOptions.print
488
- }), hn = d(() => I.value.userOptions.show && !I.value.style.chart.title.text), gn = d(() => de(I.value.customPalette)), H = x({ showTable: I.value.table.show });
489
- We(() => z.value, async (e) => {
490
- Array.isArray(e) && e.length && (on.value = !I.value.userOptions.showOnChartHover, await Re(), un(), Ht.value += 1, Wt.value += 1, H.value.showTable = I.value.table.show);
484
+ let { isPrinting: fn, isImaging: pn, generatePdf: mn, generateImage: hn } = he({
485
+ elementId: `vue-ui-ridgeline_${j.value}`,
486
+ fileName: F.value.style.chart.title.text || "vue-ui-ridgeline",
487
+ options: F.value.userOptions.print
488
+ }), gn = d(() => F.value.userOptions.show && !F.value.style.chart.title.text), _n = d(() => o(F.value.customPalette)), V = x({ showTable: F.value.table.show });
489
+ We(() => R.value, async (e) => {
490
+ Array.isArray(e) && e.length && (sn.value = !F.value.userOptions.showOnChartHover, await Re(), dn(), Ut.value += 1, Gt.value += 1, V.value.showTable = F.value.table.show);
491
491
  }, {
492
492
  deep: !0,
493
493
  immediate: !0
494
494
  }), We(() => D.dataset, (e) => {
495
- Array.isArray(e) && e.length > 0 && (an.value = !1);
496
- }, { deep: !0 }), We(() => R.value, async (e) => {
497
- e || (await Re(), un());
495
+ Array.isArray(e) && e.length > 0 && (on.value = !1);
496
+ }, { deep: !0 }), We(() => L.value, async (e) => {
497
+ e || (await Re(), dn());
498
498
  }, { immediate: !0 }), We(() => D.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;
499
+ F.value = rn(R.value || null), sn.value = !F.value.userOptions.showOnChartHover, z.value = Math.min(F.value.style.chart.areas.height, F.value.style.chart.areas.rowHeight), V.value.showTable = F.value.table.show, Ut.value += 1, Gt.value += 1;
500
500
  }, { deep: !0 });
501
- let _n = d(() => I.value.style.chart.areas.height / I.value.style.chart.areas.rowHeight);
502
- function vn() {
503
- Y.value.length ? Y.value = [] : X.value.forEach((e) => {
504
- Y.value.push(e.id);
505
- }), Lt("selectLegend", J.value);
506
- }
507
- function yn(e) {
508
- Y.value.includes(e) ? Y.value = Y.value.filter((t) => t !== e) : Y.value.push(e), Lt("selectLegend", J.value);
501
+ let vn = d(() => F.value.style.chart.areas.height / F.value.style.chart.areas.rowHeight);
502
+ function yn() {
503
+ J.value.length ? J.value = [] : Y.value.forEach((e) => {
504
+ J.value.push(e.id);
505
+ }), Rt("selectLegend", q.value);
509
506
  }
510
507
  function bn(e) {
511
- 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);
508
+ J.value.includes(e) ? J.value = J.value.filter((t) => t !== e) : J.value.push(e), Rt("selectLegend", q.value);
512
509
  }
513
510
  function xn(e) {
514
- let t = bn(e);
515
- t !== null && Y.value.includes(t.id) && yn(t.id);
511
+ return Y.value.length ? Y.value.find((t) => t.name === e) || (F.value.debug && console.warn(`VueUiRidgeline - Series name not found "${e}"`), null) : (F.value.debug && console.warn("VueUiRidgeline - There are no series to show."), null);
516
512
  }
517
513
  function Sn(e) {
518
- let t = bn(e);
519
- t !== null && (Y.value.includes(t.id) || yn(t.id));
514
+ let t = xn(e);
515
+ t !== null && J.value.includes(t.id) && bn(t.id);
516
+ }
517
+ function Cn(e) {
518
+ let t = xn(e);
519
+ t !== null && (J.value.includes(t.id) || bn(t.id));
520
520
  }
521
- let U = d(() => O.value ? (z.value || []).map((e) => ({
521
+ let H = d(() => Lt.value ? (R.value || []).map((e) => ({
522
522
  ...e,
523
- labelLen: In(e.name, I.value.style.chart.yAxis.labels.fontSize),
524
- uid: i(),
523
+ labelLen: Ln(e.name, F.value.style.chart.yAxis.labels.fontSize),
524
+ uid: te(),
525
525
  datapoints: e.datapoints.map((e, t) => {
526
- let n = e.color ? fe(e.color) : gn.value[t] || l[t] || l[t % l.length], r = o(e.name);
526
+ let n = e.color ? ie(e.color) : _n.value[t] || c[t] || c[t % c.length], r = fe(e.name);
527
527
  return {
528
528
  ...e,
529
529
  color: n,
530
530
  id: r
531
531
  };
532
532
  })
533
- })) : []), Cn = d(() => I.value.style.chart.padding.top + B.value * (z.value || []).length + B.value * _n.value + I.value.style.chart.padding.bottom), W = d(() => {
534
- let e = I.value.style.chart.padding;
533
+ })) : []), wn = d(() => F.value.style.chart.padding.top + z.value * (R.value || []).length + z.value * vn.value + F.value.style.chart.padding.bottom), U = d(() => {
534
+ let e = F.value.style.chart.padding;
535
535
  return {
536
- width: qt.value,
537
- height: Cn.value,
536
+ width: Jt.value,
537
+ height: wn.value,
538
538
  padding: e
539
539
  };
540
- }), wn = d(() => W.value.width), Tn = d(() => W.value.height), En = x(0), Dn = Ee((e) => {
541
- En.value = e;
540
+ }), Tn = d(() => U.value.width), En = d(() => U.value.height), Dn = x(0), On = Ee((e) => {
541
+ Dn.value = e;
542
542
  }, 100);
543
543
  Ge((e) => {
544
- let t = Xt.value;
544
+ let t = Zt.value;
545
545
  if (!t) return;
546
546
  let n = new ResizeObserver((e) => {
547
- Dn(e[0].contentRect.height);
547
+ On(e[0].contentRect.height);
548
548
  });
549
549
  n.observe(t), e(() => n.disconnect());
550
550
  }), Be(() => {
551
- En.value = 0;
551
+ Dn.value = 0;
552
552
  });
553
- let G = d(() => ({
554
- fullHeight: W.value.height + En.value,
555
- top: W.value.padding.top,
556
- left: W.value.padding.left,
557
- right: W.value.width - W.value.padding.right,
558
- bottom: W.value.height - I.value.style.chart.padding.bottom,
559
- width: W.value.width - (W.value.padding.left + W.value.padding.right)
560
- })), On = d(() => Math.max(...U.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), K = x([]), kn = 0;
553
+ let W = d(() => ({
554
+ fullHeight: U.value.height + Dn.value,
555
+ top: U.value.padding.top,
556
+ left: U.value.padding.left,
557
+ right: U.value.width - U.value.padding.right,
558
+ bottom: U.value.height - F.value.style.chart.padding.bottom,
559
+ width: U.value.width - (U.value.padding.left + U.value.padding.right)
560
+ })), kn = d(() => Math.max(...H.value.flatMap((e) => e.datapoints.map((e) => e.values.length)))), G = x([]), An = 0;
561
561
  Ge(() => {
562
- let e = ++kn;
562
+ let e = ++An;
563
563
  (async () => {
564
564
  let t = await pe({
565
- values: I.value.style.chart.xAxis.labels.values,
566
- maxDatapoints: On.value,
567
- formatter: I.value.style.chart.xAxis.labels.datetimeFormatter,
565
+ values: F.value.style.chart.xAxis.labels.values,
566
+ maxDatapoints: kn.value,
567
+ formatter: F.value.style.chart.xAxis.labels.datetimeFormatter,
568
568
  start: 0,
569
- end: I.value.style.chart.xAxis.labels.values.length
569
+ end: F.value.style.chart.xAxis.labels.values.length
570
570
  });
571
- e === kn && (K.value = t);
571
+ e === An && (G.value = t);
572
572
  })();
573
573
  });
574
- let q = d(() => {
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) / On.value, r = [];
576
- for (let e = 0; e < On.value; e += 1) r.push({
574
+ let K = d(() => {
575
+ let e = Math.max(...H.value.map((e) => e.labelLen)), t = U.value.padding.left + e + 16 + F.value.style.chart.yAxis.labels.offsetX, n = (W.value.width - t) / kn.value, r = [];
576
+ for (let e = 0; e < kn.value; e += 1) r.push({
577
577
  selectorX: t + n * e,
578
578
  x: t + n * e - n / 2,
579
- y: G.value.top,
580
- label: I.value.style.chart.xAxis.labels.values[e] ? K.value[e]?.text ?? "" : "",
579
+ y: W.value.top,
580
+ label: F.value.style.chart.xAxis.labels.values[e] ? G.value[e]?.text ?? "" : "",
581
581
  index: e,
582
582
  width: n,
583
- height: Cn.value
583
+ height: wn.value
584
584
  });
585
585
  return r;
586
586
  });
587
- function An(e) {
588
- return U.value.map((t) => t.datapoints.map((t) => ({
587
+ function jn(e) {
588
+ return H.value.map((t) => t.datapoints.map((t) => ({
589
589
  dp: t,
590
590
  selected: t.values[e.index]
591
591
  })));
592
592
  }
593
- function jn(e) {
594
- N.value = e;
595
- let t = An(e);
596
- I.value.events.datapointEnter && I.value.events.datapointEnter({
593
+ function Mn(e) {
594
+ M.value = e;
595
+ let t = jn(e);
596
+ F.value.events.datapointEnter && F.value.events.datapointEnter({
597
597
  datapoint: t,
598
598
  seriesIndex: e.index
599
599
  });
600
600
  }
601
- function Mn(e) {
602
- N.value = null;
603
- let t = An(e);
604
- I.value.events.datapointLeave && I.value.events.datapointLeave({
601
+ function Nn(e) {
602
+ M.value = null;
603
+ let t = jn(e);
604
+ F.value.events.datapointLeave && F.value.events.datapointLeave({
605
605
  datapoint: t,
606
606
  seriesIndex: e.index
607
607
  });
608
608
  }
609
- function Nn(e) {
610
- let t = An(e);
611
- I.value.events.datapointClick && I.value.events.datapointClick({
609
+ function Pn(e) {
610
+ let t = jn(e);
611
+ F.value.events.datapointClick && F.value.events.datapointClick({
612
612
  datapoint: t,
613
613
  seriesIndex: e.index
614
- }), Lt("selectX", t);
614
+ }), Rt("selectX", t);
615
615
  }
616
- function Pn(e, t) {
616
+ function Fn(e, t) {
617
617
  return e.length * t / 2 + t;
618
618
  }
619
- function Fn(e, t, n) {
620
- return e + Pn(t, n) > G.value.right;
619
+ function In(e, t, n) {
620
+ return e + Fn(t, n) > W.value.right;
621
621
  }
622
- function In(e, t, n = "sans-serif") {
622
+ function Ln(e, t, n = "sans-serif") {
623
623
  let r = document.createElement("canvas").getContext("2d");
624
624
  return r.font = `${typeof t == "number" ? `${t}px` : t} ${n}`, r.measureText(e).width;
625
625
  }
626
- let J = d(() => {
627
- 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))), r = W.value.padding.left + e + 16 + I.value.style.chart.yAxis.labels.offsetX, ee = (G.value.width - r) / On.value, o = Math.abs(Math.min(n, 0)), s = t + o;
626
+ let q = d(() => {
627
+ z.value;
628
+ let e = Math.max(...H.value.map((e) => e.labelLen)), n = Math.max(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), r = Math.min(...H.value.flatMap((e) => e.datapoints.flatMap((e) => e.values))), i = U.value.padding.left + e + 16 + F.value.style.chart.yAxis.labels.offsetX, a = (W.value.width - i) / kn.value, o = Math.abs(Math.min(r, 0)), s = n + o;
629
629
  function ne(e) {
630
630
  return isNaN(e / s) ? 0 : e / s;
631
631
  }
632
- 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 - ne(o));
632
+ return H.value.map((e, n) => {
633
+ let r = W.value.top + z.value * n, s = W.value.top + r + z.value * vn.value * (1 - ne(o));
634
634
  return {
635
635
  ...e,
636
636
  label: {
637
- x: r - I.value.style.chart.yAxis.labels.fontSize,
637
+ x: i - F.value.style.chart.yAxis.labels.fontSize,
638
638
  y: s
639
639
  },
640
640
  datapoints: e.datapoints.map((e) => {
641
- let t = e.values.map((t, i) => {
642
- let a = isNaN(t) || [
641
+ let n = e.values.map((t, n) => {
642
+ let ee = isNaN(t) || [
643
643
  void 0,
644
644
  null,
645
645
  "NaN",
@@ -648,140 +648,140 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
648
648
  -Infinity
649
649
  ].includes(t) ? 0 : t || 0;
650
650
  return {
651
- x: r + ee * i,
652
- y: G.value.top + n + B.value * _n.value * (1 - ne(a + o)),
651
+ x: i + a * n,
652
+ y: W.value.top + r + z.value * vn.value * (1 - ne(ee + o)),
653
653
  value: t,
654
654
  isMaxPoint: t === Math.max(...e.values),
655
655
  zero: s
656
656
  };
657
- }), re = `${te(t, s, !1, !1)}`, ie = `M ${r},${s} ${a(t)} ${t.at(-1).x},${s}`, ae = `M ${r},${s} ${t.at(-1).x},${s}`, c = `M ${oe(t)}`, l = `M ${a(t)}`, se = ue(I.value.style.chart.areas.smooth ? c : l);
657
+ }), re = `${t(n, s, !1, !1)}`, ie = `M ${i},${s} ${ee(n)} ${n.at(-1).x},${s}`, oe = `M ${i},${s} ${n.at(-1).x},${s}`, c = `M ${se(n)}`, l = `M ${ee(n)}`, ce = ae(F.value.style.chart.areas.smooth ? c : l);
658
658
  return {
659
659
  ...e,
660
- uid: i(),
661
- plots: t,
660
+ uid: te(),
661
+ plots: n,
662
662
  smoothPath: re,
663
663
  straightPath: ie,
664
- zeroPath: ae,
665
- pathLength: se,
664
+ zeroPath: oe,
665
+ pathLength: ce,
666
666
  smoothPathRidge: c,
667
667
  straightPathRidge: l
668
668
  };
669
- }).filter((e) => !Y.value.includes(e.id))
669
+ }).filter((e) => !J.value.includes(e.id))
670
670
  };
671
671
  });
672
- }), Y = x([]);
673
- function Ln(e) {
672
+ }), J = x([]);
673
+ function Rn(e) {
674
674
  let t = /* @__PURE__ */ new Map();
675
675
  return e.forEach((e) => {
676
676
  e.datapoints.forEach((e, n) => {
677
- let r = o(e.name);
677
+ let r = fe(e.name);
678
678
  t.has(r) || t.set(r, {
679
679
  id: r,
680
680
  name: e.name,
681
681
  color: e.color,
682
682
  shape: "circle",
683
- segregate: () => yn(r),
684
- isSegregated: Y.value.includes(r),
685
- opacity: Y.value.includes(r) ? .5 : 1
683
+ segregate: () => bn(r),
684
+ isSegregated: J.value.includes(r),
685
+ opacity: J.value.includes(r) ? .5 : 1
686
686
  });
687
687
  });
688
688
  }), Array.from(t.values());
689
689
  }
690
- let X = d(() => Ln(U.value)), Rn = d(() => ({
690
+ let Y = d(() => Rn(H.value)), zn = d(() => ({
691
691
  cy: "donut-div-legend",
692
- backgroundColor: I.value.style.chart.legend.backgroundColor,
693
- color: I.value.style.chart.legend.color,
694
- fontSize: I.value.style.chart.legend.fontSize,
692
+ backgroundColor: F.value.style.chart.legend.backgroundColor,
693
+ color: F.value.style.chart.legend.color,
694
+ fontSize: F.value.style.chart.legend.fontSize,
695
695
  paddingBottom: 12,
696
- fontWeight: I.value.style.chart.legend.bold ? "bold" : ""
697
- })), Z = x(!1);
698
- function zn(e) {
699
- Z.value = e, Gt.value += 1;
696
+ fontWeight: F.value.style.chart.legend.bold ? "bold" : ""
697
+ })), X = x(!1);
698
+ function Bn(e) {
699
+ X.value = e, Kt.value += 1;
700
700
  }
701
- let Bn = x({}), Vn = x([]);
702
- function Hn(e) {
703
- Lt("selectDatapoint", e), I.value.style.chart.dialog.show && (Vn.value = e.datapoints.map((e) => ({
701
+ let Vn = x({}), Hn = x([]);
702
+ function Un(e) {
703
+ Rt("selectDatapoint", e), F.value.style.chart.dialog.show && (Hn.value = e.datapoints.map((e) => ({
704
704
  name: e.name,
705
705
  color: e.color,
706
706
  type: "line",
707
707
  useArea: !0,
708
- smooth: I.value.style.chart.areas.smooth,
708
+ smooth: F.value.style.chart.areas.smooth,
709
709
  series: e.values
710
- })), P.value = e, Bn.value = se({
711
- ...I.value.style.chart.dialog.xyChart,
710
+ })), N.value = e, Vn.value = re({
711
+ ...F.value.style.chart.dialog.xyChart,
712
712
  responsive: !0,
713
713
  chart: {
714
- ...I.value.style.chart.dialog.xyChart.chart,
714
+ ...F.value.style.chart.dialog.xyChart.chart,
715
715
  grid: {
716
- ...I.value.style.chart.dialog.xyChart.chart.grid,
716
+ ...F.value.style.chart.dialog.xyChart.chart.grid,
717
717
  labels: {
718
- ...I.value.style.chart.dialog.xyChart.chart.grid.labels,
718
+ ...F.value.style.chart.dialog.xyChart.chart.grid.labels,
719
719
  xAxisLabels: {
720
- ...I.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
721
- values: I.value.style.chart.xAxis.labels.values,
720
+ ...F.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
721
+ values: F.value.style.chart.xAxis.labels.values,
722
722
  autoRotate: {
723
723
  enable: !0,
724
- angle: I.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels.autoRotate.angle
724
+ angle: F.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels.autoRotate.angle
725
725
  },
726
- datetimeFormatter: I.value.style.chart.xAxis.labels.datetimeFormatter
726
+ datetimeFormatter: F.value.style.chart.xAxis.labels.datetimeFormatter
727
727
  }
728
728
  }
729
729
  },
730
730
  tooltip: {
731
- ...I.value.style.chart.dialog.xyChart.chart.tooltip,
732
- showTimeLabel: I.value.style.chart.xAxis.labels.values.length > 0
731
+ ...F.value.style.chart.dialog.xyChart.chart.tooltip,
732
+ showTimeLabel: F.value.style.chart.xAxis.labels.values.length > 0
733
733
  },
734
734
  userOptions: {
735
- ...I.value.style.chart.dialog.xyChart.chart.userOptions,
735
+ ...F.value.style.chart.dialog.xyChart.chart.userOptions,
736
736
  buttons: {
737
- ...I.value.style.chart.dialog.xyChart.chart.userOptions.buttons,
738
- altCopy: I.value.userOptions.buttons.altCopy
737
+ ...F.value.style.chart.dialog.xyChart.chart.userOptions.buttons,
738
+ altCopy: F.value.userOptions.buttons.altCopy
739
739
  },
740
740
  callbacks: {
741
- ...I.value.style.chart.dialog.xyChart.chart.userOptions.callbacks,
741
+ ...F.value.style.chart.dialog.xyChart.chart.userOptions.callbacks,
742
742
  altCopy: () => {}
743
743
  },
744
- useCursorPointer: I.value.userOptions.useCursorPointer
744
+ useCursorPointer: F.value.userOptions.useCursorPointer
745
745
  }
746
746
  }
747
- }), Jt.value && Jt.value.open());
747
+ }), Yt.value && Yt.value.open());
748
748
  }
749
- let Un = x(null);
749
+ let Z = x(null);
750
750
  function Wn(e) {
751
- Un.value = e;
751
+ Z.value = e;
752
752
  }
753
753
  function Gn() {
754
- Un.value = null;
754
+ Z.value = null;
755
755
  }
756
756
  let Kn = x(!1);
757
757
  function qn() {
758
758
  Kn.value = !Kn.value;
759
759
  }
760
760
  function Jn() {
761
- H.value.showTable = !H.value.showTable;
761
+ V.value.showTable = !V.value.showTable;
762
762
  }
763
- let Yn = d(() => ({ body: J.value.flatMap((e) => e.datapoints.flatMap((t) => ({
763
+ let Yn = d(() => ({ body: q.value.flatMap((e) => e.datapoints.flatMap((t) => ({
764
764
  ...t,
765
765
  rowName: `${e.name}: ${t.name}`
766
766
  }))).map((e) => [{
767
767
  name: e.rowName,
768
768
  color: e.color
769
769
  }, ...e.values]) })), Q = d(() => {
770
- let e = [I.value.table.columnNames.series, ...K.value.map((e) => e.text)], t = {
770
+ let e = [F.value.table.columnNames.series, ...G.value.map((e) => e.text)], t = {
771
771
  th: {
772
- backgroundColor: I.value.table.th.backgroundColor,
773
- color: I.value.table.th.color,
774
- outline: I.value.table.th.outline
772
+ backgroundColor: F.value.table.th.backgroundColor,
773
+ color: F.value.table.th.color,
774
+ outline: F.value.table.th.outline
775
775
  },
776
776
  td: {
777
- backgroundColor: I.value.table.td.backgroundColor,
778
- color: I.value.table.td.color,
779
- outline: I.value.table.td.outline
777
+ backgroundColor: F.value.table.td.backgroundColor,
778
+ color: F.value.table.td.color,
779
+ outline: F.value.table.td.outline
780
780
  },
781
- breakpoint: I.value.table.responsiveBreakpoint
781
+ breakpoint: F.value.table.responsiveBreakpoint
782
782
  };
783
783
  return {
784
- colNames: [I.value.table.columnNames.series, ...K.value.map((e) => e.text)],
784
+ colNames: [F.value.table.columnNames.series, ...G.value.map((e) => e.text)],
785
785
  head: e,
786
786
  body: Yn.value.body,
787
787
  config: t
@@ -789,20 +789,20 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
789
789
  });
790
790
  function Xn(e = null) {
791
791
  Re(() => {
792
- let t = [[I.value.table.columnNames.series, ...K.map((e) => [e.text])], ...Yn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = s([[I.value.style.chart.title.text], [I.value.style.chart.title.subtitle.text]].concat(t));
793
- e ? e(n) : ee({
792
+ let t = [[F.value.table.columnNames.series, ...G.map((e) => [e.text])], ...Yn.value.body.map((e, t) => [e[0].name, ...e.slice(1)])], n = de([[F.value.style.chart.title.text], [F.value.style.chart.title.subtitle.text]].concat(t));
793
+ e ? e(n) : ne({
794
794
  csvContent: n,
795
- title: I.value.style.chart.title.text || "vue-ui-ridgeline"
795
+ title: F.value.style.chart.title.text || "vue-ui-ridgeline"
796
796
  });
797
797
  });
798
798
  }
799
799
  function Zn() {
800
- return J.value;
800
+ return q.value;
801
801
  }
802
802
  async function Qn({ 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 Se({
805
- domElement: k.value,
803
+ if (!O.value) return;
804
+ let { width: t, height: n } = O.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Se({
805
+ domElement: O.value,
806
806
  base64: !0,
807
807
  img: !0,
808
808
  scale: e
@@ -810,20 +810,20 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
810
810
  return {
811
811
  imageUri: i,
812
812
  base64: a,
813
- title: I.value.style.chart.title.text,
813
+ title: F.value.style.chart.title.text,
814
814
  width: t,
815
815
  height: n,
816
816
  aspectRatio: r
817
817
  };
818
818
  }
819
819
  xe({
820
- timeLabelsEls: Xt,
821
- timeLabels: K,
820
+ timeLabelsEls: Zt,
821
+ timeLabels: G,
822
822
  slicer: d(() => ({
823
823
  min: 0,
824
- max: On.value
824
+ max: kn.value
825
825
  })),
826
- configRef: I,
826
+ configRef: F,
827
827
  rotationPath: [
828
828
  "style",
829
829
  "chart",
@@ -840,64 +840,64 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
840
840
  "enable"
841
841
  ],
842
842
  isAutoSize: !1,
843
- width: wn,
844
- height: Tn,
843
+ width: Tn,
844
+ height: En,
845
845
  targetClass: ".vue-ui-ridgeline-x-axis-label",
846
- angle: I.value.style.chart.xAxis.labels.autoRotate.angle
846
+ angle: F.value.style.chart.xAxis.labels.autoRotate.angle
847
847
  });
848
848
  let $n = d(() => {
849
- let e = I.value.table.useDialog && !I.value.table.show, t = H.value.showTable;
849
+ let e = F.value.table.useDialog && !F.value.table.show, t = V.value.showTable;
850
850
  return {
851
851
  component: e ? Nt : Ot,
852
- title: `${I.value.style.chart.title.text}${I.value.style.chart.title.subtitle.text ? `: ${I.value.style.chart.title.subtitle.text}` : ""}`,
852
+ title: `${F.value.style.chart.title.text}${F.value.style.chart.title.subtitle.text ? `: ${F.value.style.chart.title.subtitle.text}` : ""}`,
853
853
  props: e ? {
854
- backgroundColor: I.value.table.th.backgroundColor,
855
- color: I.value.table.th.color,
856
- headerColor: I.value.table.th.color,
857
- headerBg: I.value.table.th.backgroundColor,
858
- isFullscreen: Z.value,
859
- fullscreenParent: k.value,
854
+ backgroundColor: F.value.table.th.backgroundColor,
855
+ color: F.value.table.th.color,
856
+ headerColor: F.value.table.th.color,
857
+ headerBg: F.value.table.th.backgroundColor,
858
+ isFullscreen: X.value,
859
+ fullscreenParent: O.value,
860
860
  forcedWidth: Math.min(800, window.innerWidth * .8),
861
- isCursorPointer: L.value
861
+ isCursorPointer: I.value
862
862
  } : {
863
863
  hideDetails: !0,
864
864
  config: {
865
865
  open: t,
866
866
  maxHeight: 1e4,
867
867
  body: {
868
- backgroundColor: I.value.style.chart.backgroundColor,
869
- color: I.value.style.chart.color
868
+ backgroundColor: F.value.style.chart.backgroundColor,
869
+ color: F.value.style.chart.color
870
870
  },
871
871
  head: {
872
- backgroundColor: I.value.style.chart.backgroundColor,
873
- color: I.value.style.chart.color
872
+ backgroundColor: F.value.style.chart.backgroundColor,
873
+ color: F.value.style.chart.color
874
874
  }
875
875
  }
876
876
  }
877
877
  };
878
878
  });
879
- We(() => 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());
879
+ We(() => V.value.showTable, (e) => {
880
+ F.value.table.show || (e && F.value.table.useDialog && Qt.value ? Qt.value.open() : "close" in Qt.value && Qt.value.close());
881
881
  });
882
882
  function er() {
883
- H.value.showTable = !1, Qt.value && Qt.value.setTableIconState(!1);
883
+ V.value.showTable = !1, $t.value && $t.value.setTableIconState(!1);
884
884
  }
885
- let tr = d(() => I.value.style.chart.backgroundColor), nr = d(() => ({
886
- ...I.value.style.chart.legend,
885
+ let tr = d(() => F.value.style.chart.backgroundColor), nr = d(() => ({
886
+ ...F.value.style.chart.legend,
887
887
  position: "bottom"
888
888
  })), { exportSvg: rr, getSvg: ir } = ve({
889
- svg: V,
890
- title: d(() => I.value.style.chart.title),
889
+ svg: B,
890
+ title: d(() => F.value.style.chart.title),
891
891
  legend: nr,
892
- legendItems: X,
892
+ legendItems: Y,
893
893
  backgroundColor: tr
894
894
  });
895
895
  async function ar({ isCb: e }) {
896
- en.value = !0, await Re();
896
+ tn.value = !0, await Re();
897
897
  try {
898
898
  if (e) {
899
899
  let { blob: e, url: t, text: n, dataUrl: r } = await ir();
900
- await Promise.resolve(I.value.userOptions.callbacks.svg({
900
+ await Promise.resolve(F.value.userOptions.callbacks.svg({
901
901
  blob: e,
902
902
  url: t,
903
903
  text: n,
@@ -905,46 +905,46 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
905
905
  }));
906
906
  } else await Promise.resolve(rr());
907
907
  } finally {
908
- en.value = !1;
908
+ tn.value = !1;
909
909
  }
910
910
  }
911
911
  function or(e) {
912
912
  if (e?.stage === "start") {
913
- $t.value = !0;
913
+ en.value = !0;
914
914
  return;
915
915
  }
916
916
  if (e?.stage === "end") {
917
- $t.value = !1;
917
+ en.value = !1;
918
918
  return;
919
919
  }
920
- mn();
920
+ hn();
921
921
  }
922
922
  function sr(e) {
923
923
  cr("xy-zoom", e.dataset, e.config);
924
924
  }
925
925
  async function cr(e = "main-chart", t = null, n = null) {
926
- if (Lt("copyAlt", {
926
+ if (Rt("copyAlt", {
927
927
  source: e,
928
- config: e === "main-chart" ? I.value : Bn.value,
929
- dataset: e === "main-chart" ? J.value : Vn.value
930
- }), !I.value.userOptions.callbacks.altCopy) {
928
+ config: e === "main-chart" ? F.value : Vn.value,
929
+ dataset: e === "main-chart" ? q.value : Hn.value
930
+ }), !F.value.userOptions.callbacks.altCopy) {
931
931
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
932
932
  return;
933
933
  }
934
- await Promise.resolve(I.value.userOptions.callbacks.altCopy({
934
+ await Promise.resolve(F.value.userOptions.callbacks.altCopy({
935
935
  source: e,
936
- config: e === "main-chart" ? I.value : Bn.value,
937
- dataset: e === "main-chart" ? J.value : Vn.value
936
+ config: e === "main-chart" ? F.value : Vn.value,
937
+ dataset: e === "main-chart" ? q.value : Hn.value
938
938
  }));
939
939
  }
940
940
  function lr() {
941
- F.value = null, tn.value = !0;
941
+ P.value = null, nn.value = !0;
942
942
  }
943
943
  function ur() {
944
- mr(), tn.value = !1;
944
+ mr(), nn.value = !1;
945
945
  }
946
946
  function dr(e) {
947
- if (!V.value || Kn.value || document.activeElement !== V.value || !J.value.length) return;
947
+ if (!B.value || Kn.value || document.activeElement !== B.value || !q.value.length) return;
948
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
949
  if (!t && !n && !r && !i && !a && !ee) return;
950
950
  if (e.preventDefault(), e.stopPropagation(), ee) {
@@ -952,77 +952,77 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
952
952
  return;
953
953
  }
954
954
  if (a) {
955
- if (F.value !== null) {
956
- let e = J.value[F.value];
957
- e && Hn(e);
955
+ if (P.value !== null) {
956
+ let e = q.value[P.value];
957
+ e && Un(e);
958
958
  return;
959
959
  }
960
- N.value && Nn(N.value);
960
+ M.value && Pn(M.value);
961
961
  return;
962
962
  }
963
963
  if (t || n) {
964
- let e = F.value;
965
- e = e === null ? n ? 0 : J.value.length - 1 : fr(e + (n ? 1 : -1)), F.value = e, Un.value = e;
964
+ let e = P.value;
965
+ e = e === null ? n ? 0 : q.value.length - 1 : fr(e + (n ? 1 : -1)), P.value = e, Z.value = e;
966
966
  return;
967
967
  }
968
- if (!q.value.length) return;
969
- let o = N.value?.index ?? null;
970
- o = o === null ? i ? 0 : q.value.length - 1 : pr(o + (i ? 1 : -1));
971
- let te = q.value[o];
972
- te && jn(te);
968
+ if (!K.value.length) return;
969
+ let o = M.value?.index ?? null;
970
+ o = o === null ? i ? 0 : K.value.length - 1 : pr(o + (i ? 1 : -1));
971
+ let s = K.value[o];
972
+ s && Mn(s);
973
973
  }
974
974
  function fr(e) {
975
- let t = J.value.length;
975
+ let t = q.value.length;
976
976
  return t ? (e % t + t) % t : null;
977
977
  }
978
978
  function pr(e) {
979
- let t = q.value.length;
979
+ let t = K.value.length;
980
980
  return t ? (e % t + t) % t : null;
981
981
  }
982
982
  function mr() {
983
- F.value = null, Un.value = null, N.value ? Mn(N.value) : N.value = null;
983
+ P.value = null, Z.value = null, M.value ? Nn(M.value) : M.value = null;
984
984
  }
985
985
  let $ = d(() => ({
986
986
  head: Q.value.head,
987
987
  body: Q.value.body.map((e) => [e[0]?.name ?? "", ...e.slice(1)]),
988
- caption: I.value.a11y.translations.tableCaption,
989
- notice: I.value.a11y.translations.tableAvailable
988
+ caption: F.value.a11y.translations.tableCaption,
989
+ notice: F.value.a11y.translations.tableAvailable
990
990
  }));
991
991
  return Te({
992
992
  getData: Zn,
993
993
  getImage: Qn,
994
- generateImage: mn,
994
+ generateImage: hn,
995
995
  generateSvg: ar,
996
- generatePdf: pn,
996
+ generatePdf: mn,
997
997
  generateCsv: Xn,
998
- hideSeries: Sn,
999
- showSeries: xn,
998
+ hideSeries: Cn,
999
+ showSeries: Sn,
1000
1000
  toggleAnnotator: qn,
1001
1001
  toggleTable: Jn,
1002
- toggleFullscreen: zn,
1002
+ toggleFullscreen: Bn,
1003
1003
  copyAlt: cr
1004
- }), (e, n) => (b(), m("div", {
1004
+ }), (e, t) => (b(), m("div", {
1005
1005
  ref_key: "ridgelineChart",
1006
- ref: k,
1007
- class: ze(`vue-data-ui-component vue-ui-ridgeline ${Z.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1008
- id: `vue-ui-ridgeline_${M.value}`,
1006
+ ref: O,
1007
+ class: ze(`vue-data-ui-component vue-ui-ridgeline ${X.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1008
+ id: `vue-ui-ridgeline_${j.value}`,
1009
1009
  style: y({
1010
- fontFamily: I.value.style.fontFamily,
1010
+ fontFamily: F.value.style.fontFamily,
1011
1011
  width: "100%",
1012
1012
  textAlign: "center",
1013
- background: I.value.style.chart.backgroundColor,
1014
- height: I.value.responsive ? "100%" : void 0
1013
+ background: F.value.style.chart.backgroundColor,
1014
+ height: F.value.responsive ? "100%" : void 0
1015
1015
  }),
1016
- onMouseenter: n[3] ||= () => T(sn)(!0),
1017
- onMouseleave: n[4] ||= () => T(sn)(!1)
1016
+ onMouseenter: t[3] ||= () => T(cn)(!0),
1017
+ onMouseleave: t[4] ||= () => T(cn)(!1)
1018
1018
  }, [
1019
1019
  h("div", {
1020
- id: `chart-instructions-${M.value}`,
1020
+ id: `chart-instructions-${j.value}`,
1021
1021
  class: "sr-only"
1022
- }, [h("p", null, w(I.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1022
+ }, [h("p", null, w(F.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1023
1023
  $.value.body.length ? (b(), f(ke, {
1024
1024
  key: 0,
1025
- uid: M.value,
1025
+ uid: j.value,
1026
1026
  head: $.value.head,
1027
1027
  body: $.value.body,
1028
1028
  caption: $.value.caption,
@@ -1034,13 +1034,13 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1034
1034
  "caption",
1035
1035
  "notice"
1036
1036
  ])) : p("", !0),
1037
- I.value.userOptions.buttons.annotator && T(V) ? (b(), f(T(At), {
1037
+ F.value.userOptions.buttons.annotator && T(B) ? (b(), f(T(At), {
1038
1038
  key: 1,
1039
- color: I.value.style.chart.color,
1040
- backgroundColor: I.value.style.chart.backgroundColor,
1039
+ color: F.value.style.chart.color,
1040
+ backgroundColor: F.value.style.chart.backgroundColor,
1041
1041
  active: Kn.value,
1042
- svgRef: T(V),
1043
- isCursorPointer: L.value,
1042
+ svgRef: T(B),
1043
+ isCursorPointer: I.value,
1044
1044
  onClose: qn
1045
1045
  }, {
1046
1046
  "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
@@ -1058,63 +1058,63 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1058
1058
  "isCursorPointer"
1059
1059
  ])) : p("", !0),
1060
1060
  C(e.$slots, "userConfig", {}, void 0, !0),
1061
- hn.value ? (b(), m("div", {
1061
+ gn.value ? (b(), m("div", {
1062
1062
  key: 2,
1063
1063
  ref_key: "noTitle",
1064
- ref: Vt,
1064
+ ref: Ht,
1065
1065
  class: "vue-data-ui-no-title-space",
1066
1066
  style: "height:36px; width: 100%;background:transparent"
1067
1067
  }, null, 512)) : p("", !0),
1068
- I.value.style.chart.title.text ? (b(), m("div", {
1068
+ F.value.style.chart.title.text ? (b(), m("div", {
1069
1069
  key: 3,
1070
1070
  ref_key: "chartTitle",
1071
- ref: Rt,
1071
+ ref: zt,
1072
1072
  style: "width:100%;background:transparent;padding-bottom:24px"
1073
1073
  }, [(b(), f(Ce, {
1074
- key: `title_${Ht.value}`,
1074
+ key: `title_${Ut.value}`,
1075
1075
  config: {
1076
1076
  title: {
1077
1077
  cy: "ridgeline-div-title",
1078
- ...I.value.style.chart.title
1078
+ ...F.value.style.chart.title
1079
1079
  },
1080
1080
  subtitle: {
1081
1081
  cy: "ridgeline-div-subtitle",
1082
- ...I.value.style.chart.title.subtitle
1082
+ ...F.value.style.chart.title.subtitle
1083
1083
  }
1084
1084
  }
1085
1085
  }, null, 8, ["config"]))], 512)) : p("", !0),
1086
- I.value.userOptions.show && O.value && (T(cn) || T(on)) ? (b(), f(T(jt), {
1086
+ F.value.userOptions.show && Lt.value && (T(ln) || T(sn)) ? (b(), f(T(jt), {
1087
1087
  ref_key: "userOptionsRef",
1088
- ref: Qt,
1089
- key: `user_option_${Gt.value}`,
1090
- backgroundColor: I.value.style.chart.backgroundColor,
1091
- color: I.value.style.chart.color,
1092
- isPrinting: T(dn),
1093
- isImaging: T(fn),
1094
- uid: M.value,
1088
+ ref: $t,
1089
+ key: `user_option_${Kt.value}`,
1090
+ backgroundColor: F.value.style.chart.backgroundColor,
1091
+ color: F.value.style.chart.color,
1092
+ isPrinting: T(fn),
1093
+ isImaging: T(pn),
1094
+ uid: j.value,
1095
1095
  hasTooltip: !1,
1096
- callbacks: I.value.userOptions.callbacks,
1097
- hasPdf: I.value.userOptions.buttons.pdf,
1098
- hasImg: I.value.userOptions.buttons.img,
1099
- hasSvg: I.value.userOptions.buttons.svg,
1100
- hasXls: I.value.userOptions.buttons.csv,
1101
- hasTable: I.value.userOptions.buttons.table,
1096
+ callbacks: F.value.userOptions.callbacks,
1097
+ hasPdf: F.value.userOptions.buttons.pdf,
1098
+ hasImg: F.value.userOptions.buttons.img,
1099
+ hasSvg: F.value.userOptions.buttons.svg,
1100
+ hasXls: F.value.userOptions.buttons.csv,
1101
+ hasTable: F.value.userOptions.buttons.table,
1102
1102
  hasLabel: !1,
1103
- hasFullscreen: I.value.userOptions.buttons.fullscreen,
1104
- hasAltCopy: I.value.userOptions.buttons.altCopy,
1105
- isFullscreen: Z.value,
1106
- printScale: I.value.userOptions.print.scale,
1107
- chartElement: k.value,
1108
- position: I.value.userOptions.position,
1103
+ hasFullscreen: F.value.userOptions.buttons.fullscreen,
1104
+ hasAltCopy: F.value.userOptions.buttons.altCopy,
1105
+ isFullscreen: X.value,
1106
+ printScale: F.value.userOptions.print.scale,
1107
+ chartElement: O.value,
1108
+ position: F.value.userOptions.position,
1109
1109
  isTooltip: !1,
1110
- titles: { ...I.value.userOptions.buttonTitles },
1111
- hasAnnotator: I.value.userOptions.buttons.annotator,
1110
+ titles: { ...F.value.userOptions.buttonTitles },
1111
+ hasAnnotator: F.value.userOptions.buttons.annotator,
1112
1112
  isAnnotation: Kn.value,
1113
- tableDialog: I.value.table.useDialog,
1114
- style: y({ visibility: T(cn) ? T(on) ? "visible" : "hidden" : "visible" }),
1115
- isCursorPointer: L.value,
1116
- onToggleFullscreen: zn,
1117
- onGeneratePdf: T(pn),
1113
+ tableDialog: F.value.table.useDialog,
1114
+ style: y({ visibility: T(ln) ? T(sn) ? "visible" : "hidden" : "visible" }),
1115
+ isCursorPointer: I.value,
1116
+ onToggleFullscreen: Bn,
1117
+ onGeneratePdf: T(mn),
1118
1118
  onGenerateCsv: Xn,
1119
1119
  onGenerateImage: or,
1120
1120
  onGenerateSvg: ar,
@@ -1219,23 +1219,23 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1219
1219
  ])) : p("", !0),
1220
1220
  h("div", Ye, [(b(), m("svg", {
1221
1221
  ref_key: "svgRef",
1222
- ref: V,
1222
+ ref: B,
1223
1223
  xmlns: T(le),
1224
- "aria-describedby": `chart-instructions-${M.value}`,
1224
+ "aria-describedby": `chart-instructions-${j.value}`,
1225
1225
  class: ze({
1226
- "vue-data-ui-fullscreen--on": Z.value,
1227
- "vue-data-ui-fulscreen--off": !Z.value
1226
+ "vue-data-ui-fullscreen--on": X.value,
1227
+ "vue-data-ui-fulscreen--off": !X.value
1228
1228
  }),
1229
- viewBox: `0 0 ${W.value.width <= 0 ? 10 : W.value.width} ${G.value.fullHeight <= 0 ? 10 : G.value.fullHeight}`,
1230
- style: y(`max-width:100%;overflow:visible;background:transparent;color:${I.value.style.chart.color};${I.value.responsive ? `height: ${Yt.value}px; width: 100%;` : ""}`),
1229
+ viewBox: `0 0 ${U.value.width <= 0 ? 10 : U.value.width} ${W.value.fullHeight <= 0 ? 10 : W.value.fullHeight}`,
1230
+ style: y(`max-width:100%;overflow:visible;background:transparent;color:${F.value.style.chart.color};${F.value.responsive ? `height: ${Xt.value}px; width: 100%;` : ""}`),
1231
1231
  tabindex: "0",
1232
1232
  onFocus: lr,
1233
1233
  onBlur: ur,
1234
1234
  onKeydown: dr
1235
1235
  }, [
1236
1236
  Ie(T(Mt)),
1237
- h("defs", null, [(b(!0), m(u, null, S(X.value, (e, t) => (b(), m("linearGradient", {
1238
- id: `gradient-${e.id}-${M.value}`,
1237
+ h("defs", null, [(b(!0), m(u, null, S(Y.value, (e, t) => (b(), m("linearGradient", {
1238
+ id: `gradient-${e.id}-${j.value}`,
1239
1239
  x1: "50%",
1240
1240
  y1: "0%",
1241
1241
  x2: "50%",
@@ -1261,9 +1261,9 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1261
1261
  "stop-color": e.color,
1262
1262
  "stop-opacity": "0.1"
1263
1263
  }, null, 8, tt)
1264
- ], 8, Ze))), 256)), (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(), m("linearGradient", {
1264
+ ], 8, Ze))), 256)), (b(!0), m(u, null, S(q.value, (e, t) => (b(), m(u, null, [(b(!0), m(u, null, S(e.datapoints, (e, t) => (b(), m("linearGradient", {
1265
1265
  key: `grad${e.id}`,
1266
- id: `gradient-single-${M.value}-${e.uid}`,
1266
+ id: `gradient-single-${j.value}-${e.uid}`,
1267
1267
  x1: "50%",
1268
1268
  y1: "0%",
1269
1269
  x2: "50%",
@@ -1290,216 +1290,216 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1290
1290
  "stop-opacity": "0.1"
1291
1291
  }, null, 8, ot)
1292
1292
  ], 8, nt))), 128))], 64))), 256))]),
1293
- (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 }, [
1293
+ (b(!0), m(u, null, S(q.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 }, [
1294
1294
  e.$slots.pattern ? (b(), m("g", st, [h("defs", null, [C(e.$slots, "pattern", Le({ ref_for: !0 }, {
1295
1295
  datapointIndex: n,
1296
1296
  seriesIndex: r,
1297
- patternId: `pattern_${M.value}_${t.uid}`
1297
+ patternId: `pattern_${j.value}_${t.uid}`
1298
1298
  }), void 0, !0)])])) : p("", !0),
1299
1299
  h("path", {
1300
- fill: e.$slots.pattern ? `url(#pattern_${M.value}_${t.uid})` : I.value.style.chart.backgroundColor,
1300
+ fill: e.$slots.pattern ? `url(#pattern_${j.value}_${t.uid})` : F.value.style.chart.backgroundColor,
1301
1301
  stroke: "none",
1302
1302
  "stroke-linecap": "round",
1303
- d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1304
- style: y({ opacity: I.value.style.chart.areas.opacity })
1303
+ d: F.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1304
+ style: y({ opacity: F.value.style.chart.areas.opacity })
1305
1305
  }, null, 12, ct),
1306
1306
  h("path", {
1307
1307
  fill: "none",
1308
- stroke: I.value.style.chart.areas.stroke.useSerieColor ? t.color : I.value.style.chart.areas.stroke.color,
1309
- "stroke-width": I.value.style.chart.areas.strokeWidth,
1310
- d: I.value.style.chart.areas.smooth ? t.smoothPathRidge : t.straightPathRidge,
1308
+ stroke: F.value.style.chart.areas.stroke.useSerieColor ? t.color : F.value.style.chart.areas.stroke.color,
1309
+ "stroke-width": F.value.style.chart.areas.strokeWidth,
1310
+ d: F.value.style.chart.areas.smooth ? t.smoothPathRidge : t.straightPathRidge,
1311
1311
  "stroke-linecap": "round",
1312
1312
  "stroke-linejoin": "round",
1313
- class: ze({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
1313
+ class: ze({ "vue-ui-ridgeline-animate": F.value.useCssAnimation && !T(L) }),
1314
1314
  style: y({
1315
1315
  strokeDasharray: t.pathLength,
1316
- strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
1316
+ strokeDashoffset: F.value.useCssAnimation ? t.pathLength : 0
1317
1317
  })
1318
1318
  }, null, 14, lt),
1319
1319
  h("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,
1320
+ fill: F.value.style.chart.areas.useGradient ? F.value.style.chart.areas.useCommonColor ? `url(#gradient-${t.id}-${j.value})` : `url(#gradient-single-${j.value}-${t.uid})` : t.color,
1321
1321
  stroke: "none",
1322
- d: I.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1322
+ d: F.value.style.chart.areas.smooth ? t.smoothPath : t.straightPath,
1323
1323
  "stroke-linecap": "round",
1324
1324
  "stroke-linejoin": "round",
1325
- class: ze({ "vue-ui-ridgeline-animate": I.value.useCssAnimation && !T(R) }),
1325
+ class: ze({ "vue-ui-ridgeline-animate": F.value.useCssAnimation && !T(L) }),
1326
1326
  style: y({
1327
1327
  strokeDasharray: t.pathLength,
1328
- strokeDashoffset: I.value.useCssAnimation ? t.pathLength : 0
1328
+ strokeDashoffset: F.value.useCssAnimation ? t.pathLength : 0
1329
1329
  })
1330
1330
  }, null, 14, ut),
1331
- I.value.style.chart.zeroLine.show ? (b(), m("path", {
1331
+ F.value.style.chart.zeroLine.show ? (b(), m("path", {
1332
1332
  key: 1,
1333
- stroke: I.value.style.chart.zeroLine.useSerieColor ? t.color : I.value.style.chart.zeroLine.stroke,
1334
- "stroke-dasharray": I.value.style.chart.zeroLine.strokeDasharray,
1335
- "stroke-width": I.value.style.chart.zeroLine.strokeWidth,
1333
+ stroke: F.value.style.chart.zeroLine.useSerieColor ? t.color : F.value.style.chart.zeroLine.stroke,
1334
+ "stroke-dasharray": F.value.style.chart.zeroLine.strokeDasharray,
1335
+ "stroke-width": F.value.style.chart.zeroLine.strokeWidth,
1336
1336
  d: t.zeroPath,
1337
1337
  "stroke-linecap": "round"
1338
1338
  }, null, 8, dt)) : p("", !0),
1339
- 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", {
1339
+ F.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
1340
  key: 0,
1341
1341
  x1: e.x,
1342
1342
  y1: e.y,
1343
1343
  x2: e.x,
1344
1344
  y2: e.zero,
1345
- stroke: I.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(ce)(t.color) : I.value.style.chart.areas.maxPoint.stroke,
1346
- "stroke-width": I.value.style.chart.areas.maxPoint.strokeWidth,
1345
+ stroke: F.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? T(ce)(t.color) : F.value.style.chart.areas.maxPoint.stroke,
1346
+ "stroke-width": F.value.style.chart.areas.maxPoint.strokeWidth,
1347
1347
  "stroke-linecap": "round",
1348
- "stroke-dasharray": I.value.style.chart.areas.maxPoint.strokeDasharray
1348
+ "stroke-dasharray": F.value.style.chart.areas.maxPoint.strokeDasharray
1349
1349
  }, null, 8, ft)) : p("", !0)], 64))), 256)) : p("", !0),
1350
1350
  t.plots.length === 1 ? (b(), m("circle", {
1351
1351
  key: 3,
1352
1352
  cx: t.plots[0].x,
1353
1353
  cy: t.plots[0].y,
1354
- stroke: I.value.style.chart.selector.dot.stroke,
1355
- "stroke-width": I.value.style.chart.selector.dot.strokeWidth,
1356
- r: I.value.style.chart.selector.dot.radius,
1357
- fill: I.value.style.chart.selector.dot.useDatapointColor ? t.color : I.value.style.chart.selector.dot.fill,
1354
+ stroke: F.value.style.chart.selector.dot.stroke,
1355
+ "stroke-width": F.value.style.chart.selector.dot.strokeWidth,
1356
+ r: F.value.style.chart.selector.dot.radius,
1357
+ fill: F.value.style.chart.selector.dot.useDatapointColor ? t.color : F.value.style.chart.selector.dot.fill,
1358
1358
  style: { pointerEvents: "none" }
1359
1359
  }, null, 8, pt)) : p("", !0)
1360
1360
  ]))), 128)), h("text", {
1361
1361
  x: t.label.x,
1362
1362
  y: t.label.y,
1363
1363
  "text-anchor": "end",
1364
- "font-size": I.value.style.chart.yAxis.labels.fontSize,
1365
- "font-weight": I.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
1366
- fill: I.value.style.chart.yAxis.labels.color,
1367
- style: y({ cursor: I.value.style.chart.dialog.show && L.value ? "pointer" : "default" }),
1368
- "text-decoration": I.value.style.chart.dialog.show && (Un.value === n || P.value && t.uid === P.value.uid || F.value === n) ? "underline" : "",
1364
+ "font-size": F.value.style.chart.yAxis.labels.fontSize,
1365
+ "font-weight": F.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
1366
+ fill: F.value.style.chart.yAxis.labels.color,
1367
+ style: y({ cursor: F.value.style.chart.dialog.show && I.value ? "pointer" : "default" }),
1368
+ "text-decoration": F.value.style.chart.dialog.show && (Z.value === n || N.value && t.uid === N.value.uid || P.value === n) ? "underline" : "",
1369
1369
  onMouseenter: (e) => Wn(n),
1370
1370
  onMouseleave: Gn,
1371
- onClick: (e) => Hn(t)
1371
+ onClick: (e) => Un(t)
1372
1372
  }, w(t.name), 45, mt)]))), 128)),
1373
- I.value.style.chart.xAxis.labels.values.length ? (b(), m("g", {
1373
+ F.value.style.chart.xAxis.labels.values.length ? (b(), m("g", {
1374
1374
  key: 0,
1375
1375
  ref_key: "timeLabelsEls",
1376
- ref: Xt
1377
- }, [(b(!0), m(u, null, S(q.value, (n, r) => C(e.$slots, "time-label", Le({ ref_for: !0 }, {
1378
- show: n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n && N.value && N.value.index === r || n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && r % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0,
1379
- fontSize: I.value.style.chart.xAxis.labels.fontSize,
1380
- content: n.label,
1381
- textAnchor: I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1382
- fill: I.value.style.chart.xAxis.labels.color,
1383
- transform: `translate(${n.selectorX}, ${G.value.top + n.height + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1384
- x: n.selectorX,
1385
- y: G.value.bottom + I.value.style.chart.xAxis.labels.offsetY
1386
- }), () => [n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !I.value.style.chart.xAxis.labels.showOnlyAtModulo || n && I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (r === 0 || r === q.value.length - 1) || n && N.value && N.value.index === r || n && !I.value.style.chart.xAxis.labels.showOnlyFirstAndLast && I.value.style.chart.xAxis.labels.showOnlyAtModulo && r % Math.floor(q.value.length / I.value.style.chart.xAxis.labels.modulo) === 0 ? (b(), m("g", ht, [String(n.label).includes("\n") ? (b(), m("text", {
1376
+ ref: Zt
1377
+ }, [(b(!0), m(u, null, S(K.value, (t, n) => C(e.$slots, "time-label", Le({ ref_for: !0 }, {
1378
+ show: t && !F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !F.value.style.chart.xAxis.labels.showOnlyAtModulo || t && F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === K.value.length - 1) || t && M.value && M.value.index === n || t && !F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && F.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(K.value.length / F.value.style.chart.xAxis.labels.modulo) === 0,
1379
+ fontSize: F.value.style.chart.xAxis.labels.fontSize,
1380
+ content: t.label,
1381
+ textAnchor: F.value.style.chart.xAxis.labels.rotation > 0 ? "start" : F.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1382
+ fill: F.value.style.chart.xAxis.labels.color,
1383
+ transform: `translate(${t.selectorX}, ${W.value.top + t.height + F.value.style.chart.xAxis.labels.offsetY}), rotate(${F.value.style.chart.xAxis.labels.rotation})`,
1384
+ x: t.selectorX,
1385
+ y: W.value.bottom + F.value.style.chart.xAxis.labels.offsetY
1386
+ }), () => [t && !F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !F.value.style.chart.xAxis.labels.showOnlyAtModulo || t && F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (n === 0 || n === K.value.length - 1) || t && M.value && M.value.index === n || t && !F.value.style.chart.xAxis.labels.showOnlyFirstAndLast && F.value.style.chart.xAxis.labels.showOnlyAtModulo && n % Math.floor(K.value.length / F.value.style.chart.xAxis.labels.modulo) === 0 ? (b(), m("g", ht, [String(t.label).includes("\n") ? (b(), m("text", {
1387
1387
  key: 1,
1388
1388
  class: "vue-ui-ridgeline-x-axis-label",
1389
- "font-size": I.value.style.chart.xAxis.labels.fontSize,
1390
- fill: I.value.style.chart.xAxis.labels.color,
1391
- "font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1392
- transform: `translate(${n.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1393
- "text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1394
- style: y({ opacity: N.value ? N.value.index === r ? 1 : .2 : 1 }),
1395
- innerHTML: T(t)({
1396
- content: String(n.label),
1397
- fontSize: I.value.style.chart.xAxis.labels.fontSize,
1398
- fill: I.value.style.chart.xAxis.labels.color,
1389
+ "font-size": F.value.style.chart.xAxis.labels.fontSize,
1390
+ fill: F.value.style.chart.xAxis.labels.color,
1391
+ "font-weight": F.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1392
+ transform: `translate(${t.selectorX}, ${W.value.bottom + F.value.style.chart.xAxis.labels.offsetY}), rotate(${F.value.style.chart.xAxis.labels.rotation})`,
1393
+ "text-anchor": F.value.style.chart.xAxis.labels.rotation > 0 ? "start" : F.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1394
+ style: y({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 }),
1395
+ innerHTML: T(r)({
1396
+ content: String(t.label),
1397
+ fontSize: F.value.style.chart.xAxis.labels.fontSize,
1398
+ fill: F.value.style.chart.xAxis.labels.color,
1399
1399
  x: 0,
1400
1400
  y: 0
1401
1401
  })
1402
1402
  }, null, 12, _t)) : (b(), m("text", {
1403
1403
  key: 0,
1404
1404
  class: "vue-ui-ridgeline-x-axis-label",
1405
- "font-size": I.value.style.chart.xAxis.labels.fontSize,
1406
- fill: I.value.style.chart.xAxis.labels.color,
1407
- "font-weight": I.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1408
- transform: `translate(${n.selectorX}, ${G.value.bottom + I.value.style.chart.xAxis.labels.offsetY}), rotate(${I.value.style.chart.xAxis.labels.rotation})`,
1409
- "text-anchor": I.value.style.chart.xAxis.labels.rotation > 0 ? "start" : I.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1410
- style: y({ opacity: N.value ? N.value.index === r ? 1 : .2 : 1 })
1411
- }, w(n.label), 13, gt))])) : p("", !0)], !0)), 256))], 512)) : p("", !0),
1405
+ "font-size": F.value.style.chart.xAxis.labels.fontSize,
1406
+ fill: F.value.style.chart.xAxis.labels.color,
1407
+ "font-weight": F.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
1408
+ transform: `translate(${t.selectorX}, ${W.value.bottom + F.value.style.chart.xAxis.labels.offsetY}), rotate(${F.value.style.chart.xAxis.labels.rotation})`,
1409
+ "text-anchor": F.value.style.chart.xAxis.labels.rotation > 0 ? "start" : F.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
1410
+ style: y({ opacity: M.value ? M.value.index === n ? 1 : .2 : 1 })
1411
+ }, w(t.label), 13, gt))])) : p("", !0)], !0)), 256))], 512)) : p("", !0),
1412
1412
  h("g", null, [
1413
- (b(!0), m(u, null, S(q.value, (e, t) => (b(), m("rect", {
1413
+ (b(!0), m(u, null, S(K.value, (e, t) => (b(), m("rect", {
1414
1414
  x: e.x,
1415
1415
  y: e.y,
1416
1416
  width: e.width < 0 ? .1 : e.width,
1417
1417
  height: e.height < 0 ? .1 : e.height,
1418
1418
  fill: "transparent",
1419
- onMouseenter: (t) => jn(e),
1420
- onMouseleave: (t) => Mn(e),
1421
- onClick: () => Nn(e)
1419
+ onMouseenter: (t) => Mn(e),
1420
+ onMouseleave: (t) => Nn(e),
1421
+ onClick: () => Pn(e)
1422
1422
  }, null, 40, vt))), 256)),
1423
- I.value.style.chart.selector.show && N.value ? (b(), m("line", {
1423
+ F.value.style.chart.selector.show && M.value ? (b(), m("line", {
1424
1424
  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,
1429
- stroke: I.value.style.chart.selector.stroke,
1430
- "stroke-width": I.value.style.chart.selector.strokeWidth,
1431
- "stroke-dasharray": I.value.style.chart.selector.strokeDasharray,
1425
+ x1: M.value.selectorX,
1426
+ x2: M.value.selectorX,
1427
+ y1: M.value.y,
1428
+ y2: M.value.y + M.value.height - z.value / 2,
1429
+ stroke: F.value.style.chart.selector.stroke,
1430
+ "stroke-width": F.value.style.chart.selector.strokeWidth,
1431
+ "stroke-dasharray": F.value.style.chart.selector.strokeDasharray,
1432
1432
  "stroke-linecap": "round",
1433
1433
  style: { pointerEvents: "none" }
1434
1434
  }, null, 8, yt)) : p("", !0),
1435
- N.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, [N.value && N.value.index === n ? (b(), m("circle", {
1435
+ M.value ? (b(!0), m(u, { key: 1 }, S(q.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
1436
  key: 0,
1437
1437
  cx: t.x,
1438
1438
  cy: t.y,
1439
- stroke: I.value.style.chart.selector.dot.stroke,
1440
- "stroke-width": I.value.style.chart.selector.dot.strokeWidth,
1441
- r: I.value.style.chart.selector.dot.radius,
1442
- fill: I.value.style.chart.selector.dot.useDatapointColor ? e.color : I.value.style.chart.selector.dot.fill,
1439
+ stroke: F.value.style.chart.selector.dot.stroke,
1440
+ "stroke-width": F.value.style.chart.selector.dot.strokeWidth,
1441
+ r: F.value.style.chart.selector.dot.radius,
1442
+ fill: F.value.style.chart.selector.dot.useDatapointColor ? e.color : F.value.style.chart.selector.dot.fill,
1443
1443
  style: { pointerEvents: "none" }
1444
- }, null, 8, bt)) : p("", !0), N.value && N.value.index === n ? (b(), m("text", {
1444
+ }, null, 8, bt)) : p("", !0), M.value && M.value.index === n ? (b(), m("text", {
1445
1445
  key: 1,
1446
- x: Fn(t.x, T(c)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
1447
- p: I.value.style.chart.xAxis.labels.prefix,
1446
+ x: In(t.x, T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
1447
+ p: F.value.style.chart.xAxis.labels.prefix,
1448
1448
  v: t.value,
1449
- s: I.value.style.chart.xAxis.labels.suffix,
1450
- r: I.value.style.chart.selector.labels.rounding
1451
- })), 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
- y: t.y + I.value.style.chart.selector.labels.fontSize / 3,
1453
- "text-anchor": Fn(t.x, T(c)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
1454
- p: I.value.style.chart.xAxis.labels.prefix,
1449
+ s: F.value.style.chart.xAxis.labels.suffix,
1450
+ r: F.value.style.chart.selector.labels.rounding
1451
+ })), F.value.style.chart.selector.labels.fontSize) ? t.x - F.value.style.chart.selector.labels.fontSize / 2 : t.x + F.value.style.chart.selector.labels.fontSize / 2,
1452
+ y: t.y + F.value.style.chart.selector.labels.fontSize / 3,
1453
+ "text-anchor": In(t.x, T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
1454
+ p: F.value.style.chart.xAxis.labels.prefix,
1455
1455
  v: t.value,
1456
- s: I.value.style.chart.xAxis.labels.suffix,
1457
- r: I.value.style.chart.selector.labels.rounding
1458
- })), I.value.style.chart.selector.labels.fontSize) ? "end" : "start",
1459
- "font-size": I.value.style.chart.selector.labels.fontSize,
1460
- fill: I.value.style.chart.selector.labels.color,
1456
+ s: F.value.style.chart.xAxis.labels.suffix,
1457
+ r: F.value.style.chart.selector.labels.rounding
1458
+ })), F.value.style.chart.selector.labels.fontSize) ? "end" : "start",
1459
+ "font-size": F.value.style.chart.selector.labels.fontSize,
1460
+ fill: F.value.style.chart.selector.labels.color,
1461
1461
  style: { pointerEvents: "none" }
1462
- }, w(T(c)(I.value.style.chart.selector.labels.formatter, t.value, T(r)({
1463
- p: I.value.style.chart.xAxis.labels.prefix,
1462
+ }, w(T(oe)(F.value.style.chart.selector.labels.formatter, t.value, T(l)({
1463
+ p: F.value.style.chart.xAxis.labels.prefix,
1464
1464
  v: t.value,
1465
- s: I.value.style.chart.xAxis.labels.suffix,
1466
- r: I.value.style.chart.selector.labels.rounding
1465
+ s: F.value.style.chart.xAxis.labels.suffix,
1466
+ r: F.value.style.chart.selector.labels.rounding
1467
1467
  }))), 9, xt)) : p("", !0)], 64))), 256))], 64))), 256))], 64))), 256)) : p("", !0)
1468
1468
  ]),
1469
1469
  C(e.$slots, "svg", { svg: {
1470
- ...W.value,
1471
- drawingArea: G.value,
1472
- isPrintingImg: T(dn) || T(fn) || $t.value,
1473
- isPrintingSvg: en.value
1470
+ ...U.value,
1471
+ drawingArea: W.value,
1472
+ isPrintingImg: T(fn) || T(pn) || en.value,
1473
+ isPrintingSvg: tn.value
1474
1474
  } }, void 0, !0)
1475
1475
  ], 46, Xe)), e.$slots.hint ? (b(), m("div", St, [C(e.$slots, "hint", v(_({
1476
- hint: I.value.a11y.translations.keyboardNavigation,
1477
- isVisible: tn.value
1476
+ hint: F.value.a11y.translations.keyboardNavigation,
1477
+ isVisible: nn.value
1478
1478
  })), void 0, !0)])) : p("", !0)]),
1479
- e.$slots.watermark ? (b(), m("div", Ct, [C(e.$slots, "watermark", v(_({ isPrinting: T(dn) || T(fn) || $t.value || en.value })), void 0, !0)])) : p("", !0),
1479
+ e.$slots.watermark ? (b(), m("div", Ct, [C(e.$slots, "watermark", v(_({ isPrinting: T(fn) || T(pn) || en.value || tn.value })), void 0, !0)])) : p("", !0),
1480
1480
  h("div", {
1481
1481
  ref_key: "chartLegend",
1482
- ref: zt
1483
- }, [C(e.$slots, "legend", { legend: X.value }, () => [I.value.style.chart.legend.show ? (b(), f(Me, {
1484
- key: `legend_${Wt.value}`,
1485
- legendSet: X.value,
1486
- config: Rn.value,
1487
- isCursorPointer: L.value,
1488
- onClickMarker: n[0] ||= ({ legend: e }) => yn(e.id)
1482
+ ref: Bt
1483
+ }, [C(e.$slots, "legend", { legend: Y.value }, () => [F.value.style.chart.legend.show ? (b(), f(Me, {
1484
+ key: `legend_${Gt.value}`,
1485
+ legendSet: Y.value,
1486
+ config: zn.value,
1487
+ isCursorPointer: I.value,
1488
+ onClickMarker: t[0] ||= ({ legend: e }) => bn(e.id)
1489
1489
  }, Pe({
1490
- item: E(({ legend: e }) => [T(R) ? p("", !0) : (b(), m("div", {
1490
+ item: E(({ legend: e }) => [T(L) ? p("", !0) : (b(), m("div", {
1491
1491
  key: 0,
1492
- style: y(`opacity:${Y.value.includes(e.id) ? .5 : 1}`),
1492
+ style: y(`opacity:${J.value.includes(e.id) ? .5 : 1}`),
1493
1493
  onClick: (t) => e.segregate()
1494
1494
  }, w(e.name), 13, wt))]),
1495
- legendToggle: E(() => [X.value.length > 2 && I.value.style.chart.legend.selectAllToggle.show && !T(R) ? (b(), f(Oe, {
1495
+ legendToggle: E(() => [Y.value.length > 2 && F.value.style.chart.legend.selectAllToggle.show && !T(L) ? (b(), f(Oe, {
1496
1496
  key: 0,
1497
- backgroundColor: I.value.style.chart.legend.selectAllToggle.backgroundColor,
1498
- color: I.value.style.chart.legend.selectAllToggle.color,
1499
- fontSize: I.value.style.chart.legend.fontSize,
1500
- checked: Y.value.length > 0,
1501
- isCursorPointer: L.value,
1502
- onToggle: vn
1497
+ backgroundColor: F.value.style.chart.legend.selectAllToggle.backgroundColor,
1498
+ color: F.value.style.chart.legend.selectAllToggle.color,
1499
+ fontSize: F.value.style.chart.legend.fontSize,
1500
+ checked: J.value.length > 0,
1501
+ isCursorPointer: I.value,
1502
+ onToggle: yn
1503
1503
  }, null, 8, [
1504
1504
  "backgroundColor",
1505
1505
  "color",
@@ -1518,7 +1518,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1518
1518
  x: 30,
1519
1519
  y: 30
1520
1520
  },
1521
- fill: `url(#pattern_${M.value}_${t})`
1521
+ fill: `url(#pattern_${j.value}_${t})`
1522
1522
  }, null, 8, ["shape", "fill"])]),
1523
1523
  key: "0"
1524
1524
  } : void 0]), 1032, [
@@ -1529,31 +1529,31 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1529
1529
  e.$slots.source ? (b(), m("div", {
1530
1530
  key: 6,
1531
1531
  ref_key: "source",
1532
- ref: Bt,
1532
+ ref: Vt,
1533
1533
  dir: "auto"
1534
1534
  }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1535
- O.value && I.value.userOptions.buttons.table ? (b(), f(Ve($n.value.component), Le({ key: 7 }, $n.value.props, {
1535
+ Lt.value && F.value.userOptions.buttons.table ? (b(), f(Ve($n.value.component), Le({ key: 7 }, $n.value.props, {
1536
1536
  ref_key: "tableUnit",
1537
- ref: Zt,
1537
+ ref: Qt,
1538
1538
  onClose: er
1539
1539
  }), Pe({
1540
1540
  content: E(() => [(b(), f(T(kt), {
1541
- key: `table_${Ut.value}`,
1541
+ key: `table_${Wt.value}`,
1542
1542
  colNames: Q.value.colNames,
1543
1543
  head: Q.value.head,
1544
1544
  body: Q.value.body,
1545
1545
  config: Q.value.config,
1546
- title: I.value.table.useDialog ? "" : $n.value.title,
1547
- withCloseButton: !I.value.table.useDialog,
1548
- isCursorPointer: L.value,
1546
+ title: F.value.table.useDialog ? "" : $n.value.title,
1547
+ withCloseButton: !F.value.table.useDialog,
1548
+ isCursorPointer: I.value,
1549
1549
  onClose: er
1550
1550
  }, {
1551
1551
  th: E(({ th: e }) => [h("div", { innerHTML: e }, null, 8, Tt)]),
1552
- td: E(({ td: e }) => [Fe(w(e.name ? e.name : T(c)(I.value.style.chart.selector.labels.formatter, e, T(r)({
1553
- p: I.value.style.chart.xAxis.labels.prefix,
1552
+ td: E(({ td: e }) => [Fe(w(e.name ? e.name : T(oe)(F.value.style.chart.selector.labels.formatter, e, T(l)({
1553
+ p: F.value.style.chart.xAxis.labels.prefix,
1554
1554
  v: e,
1555
- s: I.value.style.chart.xAxis.labels.suffix,
1556
- r: I.value.table.td.roundingValue
1555
+ s: F.value.style.chart.xAxis.labels.suffix,
1556
+ r: F.value.table.td.roundingValue
1557
1557
  }))), 1)]),
1558
1558
  _: 1
1559
1559
  }, 8, [
@@ -1566,42 +1566,42 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1566
1566
  "isCursorPointer"
1567
1567
  ]))]),
1568
1568
  _: 2
1569
- }, [I.value.table.useDialog ? {
1569
+ }, [F.value.table.useDialog ? {
1570
1570
  name: "title",
1571
1571
  fn: E(() => [Fe(w($n.value.title), 1)]),
1572
1572
  key: "0"
1573
- } : void 0, I.value.table.useDialog ? {
1573
+ } : void 0, F.value.table.useDialog ? {
1574
1574
  name: "actions",
1575
1575
  fn: E(() => [h("button", {
1576
1576
  tabindex: "0",
1577
1577
  class: "vue-ui-user-options-button",
1578
- onClick: n[1] ||= (e) => Xn(I.value.userOptions.callbacks.csv),
1579
- style: y({ cursor: L.value ? "pointer" : "default" })
1578
+ onClick: t[1] ||= (e) => Xn(F.value.userOptions.callbacks.csv),
1579
+ style: y({ cursor: I.value ? "pointer" : "default" })
1580
1580
  }, [Ie(T(Dt), {
1581
1581
  name: "fileCsv",
1582
1582
  stroke: $n.value.props.color
1583
1583
  }, null, 8, ["stroke"])], 4)]),
1584
1584
  key: "1"
1585
1585
  } : void 0]), 1040)) : p("", !0),
1586
- I.value.style.chart.dialog.show ? (b(), f(T(Nt), {
1586
+ F.value.style.chart.dialog.show ? (b(), f(T(Nt), {
1587
1587
  key: 8,
1588
1588
  ref_key: "dialog",
1589
- ref: Jt,
1590
- onClose: n[2] ||= (e) => P.value = null,
1591
- backgroundColor: I.value.style.chart.dialog.backgroundColor,
1592
- color: I.value.style.chart.dialog.color,
1593
- headerBg: I.value.style.chart.dialog.header.backgroundColor,
1594
- headerColor: I.value.style.chart.dialog.header.color,
1595
- isFullscreen: Z.value,
1596
- fullscreenParent: k.value,
1597
- isCursorPointer: L.value,
1589
+ ref: Yt,
1590
+ onClose: t[2] ||= (e) => N.value = null,
1591
+ backgroundColor: F.value.style.chart.dialog.backgroundColor,
1592
+ color: F.value.style.chart.dialog.color,
1593
+ headerBg: F.value.style.chart.dialog.header.backgroundColor,
1594
+ headerColor: F.value.style.chart.dialog.header.color,
1595
+ isFullscreen: X.value,
1596
+ fullscreenParent: O.value,
1597
+ isCursorPointer: I.value,
1598
1598
  withPadding: ""
1599
1599
  }, {
1600
- title: E(() => [Fe(w(P.value.name), 1)]),
1601
- content: E(() => [P.value ? (b(), f(T(Et), {
1600
+ title: E(() => [Fe(w(N.value.name), 1)]),
1601
+ content: E(() => [N.value ? (b(), f(T(Et), {
1602
1602
  key: 0,
1603
- config: Bn.value,
1604
- dataset: Vn.value,
1603
+ config: Vn.value,
1604
+ dataset: Hn.value,
1605
1605
  onCopyAlt: sr
1606
1606
  }, null, 8, ["config", "dataset"])) : p("", !0)]),
1607
1607
  _: 1
@@ -1614,7 +1614,7 @@ var Ke = /* @__PURE__ */ e({ default: () => Et }), qe = ["id"], Je = ["id"], Ye
1614
1614
  "fullscreenParent",
1615
1615
  "isCursorPointer"
1616
1616
  ])) : p("", !0),
1617
- C(e.$slots, "skeleton", {}, () => [T(R) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
1617
+ C(e.$slots, "skeleton", {}, () => [T(L) ? (b(), f(_e, { key: 0 })) : p("", !0)], !0)
1618
1618
  ], 46, qe));
1619
1619
  }
1620
1620
  }, [["__scopeId", "data-v-ca7f8c0d"]]);