vue-data-ui 2.12.8-beta.3 → 2.13.0

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 (92) hide show
  1. package/README.md +10 -4
  2. package/dist/{Arrow-kQyQXUUg.js → Arrow-B2y3GYgv.js} +1 -1
  3. package/dist/{BaseDraggableDialog-DLRFrsDT.js → BaseDraggableDialog-B3CZVeze.js} +2 -2
  4. package/dist/{BaseIcon-DaR0sIWZ.js → BaseIcon-P7wV92Er.js} +1 -1
  5. package/dist/{ColorPicker-Bj3sq9o7.js → ColorPicker-C7b6TR_9.js} +2 -2
  6. package/dist/{DataTable-BBqbcutV.js → DataTable-DBkfb6pd.js} +2 -2
  7. package/dist/{Legend-DRqzYrP9.js → Legend-DcDRW3Xd.js} +2 -2
  8. package/dist/{NonSvgPenAndPaper-CQIC2PMP.js → NonSvgPenAndPaper-DYA_rF1x.js} +3 -3
  9. package/dist/{PackageVersion-ClpqQxYT.js → PackageVersion-C5fpg4GN.js} +2 -2
  10. package/dist/{PenAndPaper-B-T7XvxF.js → PenAndPaper-BRkuVFb4.js} +3 -3
  11. package/dist/{Shape-DEWxbZ-l.js → Shape-CnD-h_98.js} +1 -1
  12. package/dist/{Slicer-o6jJH5bw.js → Slicer-CxdgZOQ7.js} +2 -2
  13. package/dist/{SparkTooltip-LPnbBoFu.js → SparkTooltip-BIAMOmfJ.js} +1 -1
  14. package/dist/{Title-apr_T9tg.js → Title-DoWqzga-.js} +1 -1
  15. package/dist/{Tooltip-BuHsMAfp.js → Tooltip-DYCBNM-_.js} +1 -1
  16. package/dist/{UserOptions-OVNxxnq5.js → UserOptions-B3q-xfQV.js} +16 -11
  17. package/dist/dom-to-png-4VVH9Qna.js +247 -0
  18. package/dist/img-Dy6IrSzX.js +20 -0
  19. package/dist/{index-CH_mJIWj.js → index-BXbyT0Qn.js} +6 -2
  20. package/dist/{pdf-Jun3ogRn.js → pdf-ZrUvUcH9.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +20 -3
  23. package/dist/types/vue-data-ui.d.ts +20 -3
  24. package/dist/{useNestedProp-rMR-JeOJ.js → useNestedProp-DVZpeH84.js} +1 -1
  25. package/dist/{usePrinter-DJ7WfWUs.js → usePrinter-aKh5-HcK.js} +2 -2
  26. package/dist/{vue-data-ui-D7AaTKU6.js → vue-data-ui-DUHiuRmY.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BfLLrwWi.js → vue-ui-3d-bar-C3cqHCNp.js} +173 -173
  29. package/dist/{vue-ui-accordion-Ds4zkPIx.js → vue-ui-accordion-CXsjHe1y.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-C7ca5TG5.js → vue-ui-age-pyramid-B2EpIzV9.js} +179 -179
  31. package/dist/{vue-ui-annotator-DG2z1gw8.js → vue-ui-annotator-Czvbjx_j.js} +2 -2
  32. package/dist/{vue-ui-bullet-Dh25QAEH.js → vue-ui-bullet-ClY1tgTT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-7Yo_kEV0.js → vue-ui-candlestick-BQ1RVdoH.js} +113 -113
  34. package/dist/{vue-ui-carousel-table-Det9Kwmy.js → vue-ui-carousel-table-UQjCOJJV.js} +94 -94
  35. package/dist/{vue-ui-chestnut-DLlFv6Uj.js → vue-ui-chestnut-DmEa8kef.js} +452 -452
  36. package/dist/{vue-ui-chord-BXlv5Z2x.js → vue-ui-chord-CEDZ-UcP.js} +17 -17
  37. package/dist/{vue-ui-circle-pack-DdRcdWmx.js → vue-ui-circle-pack-Bx_mLhCR.js} +116 -116
  38. package/dist/{vue-ui-cursor-Djtg6Ppw.js → vue-ui-cursor-D27qwk90.js} +2 -2
  39. package/dist/{vue-ui-dashboard-C4MDDCl6.js → vue-ui-dashboard-DKsYxh6J.js} +62 -62
  40. package/dist/{vue-ui-digits-8Ox6q1Ov.js → vue-ui-digits-CdDTbIAN.js} +2 -2
  41. package/dist/{vue-ui-donut-Hk4EaVhb.js → vue-ui-donut-DS-DfHIm.js} +149 -149
  42. package/dist/{vue-ui-donut-evolution-DzgYokPU.js → vue-ui-donut-evolution-XMEmv1DK.js} +109 -109
  43. package/dist/{vue-ui-dumbbell-CAC44_Hu.js → vue-ui-dumbbell-DAm5A4u3.js} +65 -65
  44. package/dist/{vue-ui-flow-CYWiZjrP.js → vue-ui-flow-CTbmqqmV.js} +12 -12
  45. package/dist/{vue-ui-funnel-C2eqxh_8.js → vue-ui-funnel-CihunDsZ.js} +65 -65
  46. package/dist/{vue-ui-galaxy-BBfg84E4.js → vue-ui-galaxy-CJHycmpt.js} +82 -82
  47. package/dist/{vue-ui-gauge-BJgJgef_.js → vue-ui-gauge-Bsc9wIKK.js} +5 -5
  48. package/dist/{vue-ui-gizmo-DBclpybR.js → vue-ui-gizmo-D6AciZZe.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D65wOgqe.js → vue-ui-heatmap-in5WwNRr.js} +221 -221
  50. package/dist/{vue-ui-history-plot-CHhDy7Da.js → vue-ui-history-plot-C9IEmAmm.js} +232 -232
  51. package/dist/{vue-ui-kpi-uT6fsAaO.js → vue-ui-kpi-fDPWRpRZ.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CKVlBiYB.js → vue-ui-mini-loader-BeJRaP7N.js} +2 -2
  53. package/dist/{vue-ui-molecule-BwtHZtGN.js → vue-ui-molecule-BJbwA0F6.js} +30 -30
  54. package/dist/{vue-ui-mood-radar-Vf4_-R-m.js → vue-ui-mood-radar--YEOJ6q6.js} +75 -75
  55. package/dist/{vue-ui-nested-donuts-BVkSns4S.js → vue-ui-nested-donuts-BswKH0D6.js} +16 -16
  56. package/dist/{vue-ui-onion-UzMmwtvF.js → vue-ui-onion-BAw8X4iu.js} +70 -70
  57. package/dist/{vue-ui-parallel-coordinate-plot-Dk5T3ZAr.js → vue-ui-parallel-coordinate-plot-CYkzOe_Q.js} +11 -11
  58. package/dist/{vue-ui-quadrant-Ck7xALez.js → vue-ui-quadrant-BupqUnMn.js} +11 -11
  59. package/dist/{vue-ui-quick-chart-B62Pa0nG.js → vue-ui-quick-chart-BzpDL6CR.js} +5 -5
  60. package/dist/{vue-ui-radar-DMfv2hSb.js → vue-ui-radar-zPrbIZv5.js} +283 -282
  61. package/dist/{vue-ui-rating-CFYHJrxj.js → vue-ui-rating-DqCOz2LB.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-RWlfC5BI.js → vue-ui-relation-circle-DQp_zboM.js} +5 -5
  63. package/dist/{vue-ui-ridgeline-Bh93VzcO.js → vue-ui-ridgeline-DoJfX7Ii.js} +100 -100
  64. package/dist/{vue-ui-rings-CyX30Ccv.js → vue-ui-rings-Bk4QJYsW.js} +96 -96
  65. package/dist/{vue-ui-scatter-BEDnWByj.js → vue-ui-scatter-RxF0N8Zj.js} +164 -164
  66. package/dist/{vue-ui-skeleton-C6PWt_m5.js → vue-ui-skeleton-Fxr752Oi.js} +3 -3
  67. package/dist/{vue-ui-smiley-79itAe84.js → vue-ui-smiley-CNScIHKI.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-AaA4KuaH.js → vue-ui-spark-trend-CyMzdoJ9.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-CYBZeaor.js → vue-ui-sparkbar-DMTRPWwC.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-ElGarXVS.js → vue-ui-sparkgauge-itAGdTj_.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-C_LV99i1.js → vue-ui-sparkhistogram-CZx5cF_r.js} +4 -4
  72. package/dist/{vue-ui-sparkline-DwzCA8d6.js → vue-ui-sparkline-POYMl6cO.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CobB11uw.js → vue-ui-sparkstackbar-C0EE8xrA.js} +3 -3
  74. package/dist/{vue-ui-stackbar-B4SxM5Ix.js → vue-ui-stackbar-B6ytrTFL.js} +37 -37
  75. package/dist/{vue-ui-strip-plot-9VK_Y3SC.js → vue-ui-strip-plot-u39z36tT.js} +80 -80
  76. package/dist/{vue-ui-table-DFTE1OH5.js → vue-ui-table-Cvmrm0sZ.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-DvyJx0j7.js → vue-ui-table-heatmap-BOFRFilm.js} +57 -57
  78. package/dist/{vue-ui-table-sparkline-SGsBnQTK.js → vue-ui-table-sparkline-CMhk8rpj.js} +72 -72
  79. package/dist/{vue-ui-thermometer-DEMS6HXl.js → vue-ui-thermometer-Cxznchnu.js} +5 -5
  80. package/dist/{vue-ui-timer-CQ71yJ_N.js → vue-ui-timer-Du0Cskiy.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-CsN_QtUK.js → vue-ui-tiremarks-BzC40iBw.js} +5 -5
  82. package/dist/{vue-ui-treemap-B0CPNusH.js → vue-ui-treemap-D5Nk7usb.js} +297 -297
  83. package/dist/{vue-ui-vertical-bar-Cxv-ahMT.js → vue-ui-vertical-bar-BivMp4WH.js} +81 -81
  84. package/dist/{vue-ui-waffle-TgNNo9UX.js → vue-ui-waffle-DI0Ul1Tb.js} +50 -50
  85. package/dist/{vue-ui-wheel-Bq0ZLc-R.js → vue-ui-wheel-BfHsxhQq.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-D28awCaT.js → vue-ui-word-cloud-ytYbdQKa.js} +67 -67
  87. package/dist/{vue-ui-world-BhUsfhY5.js → vue-ui-world-CiYvMEKb.js} +55 -55
  88. package/dist/{vue-ui-xy-CEFkua9H.js → vue-ui-xy-DxgCkZEV.js} +201 -182
  89. package/dist/{vue-ui-xy-canvas-oHhzL0ui.js → vue-ui-xy-canvas-R0tICTKy.js} +80 -80
  90. package/package.json +1 -1
  91. package/dist/dom-to-png-C0Ct8ClX.js +0 -243
  92. package/dist/img-P0SFFw37.js +0 -19
@@ -1,6 +1,6 @@
1
1
  import { ref as $, useSlots as q, onMounted as R, computed as x, watch as J, createElementBlock as o, openBlock as a, normalizeStyle as s, createCommentVNode as p, createElementVNode as r, toDisplayString as f, unref as n, Fragment as B, renderList as Q, renderSlot as j, mergeProps as O, withKeys as ee } from "vue";
2
- import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, Z as I } from "./index-CH_mJIWj.js";
3
- import { u as ie } from "./useNestedProp-rMR-JeOJ.js";
2
+ import { u as te, c as le, o as oe, e as ae, i as b, f as _, X as z, w as X, Z as I } from "./index-BXbyT0Qn.js";
3
+ import { u as ie } from "./useNestedProp-DVZpeH84.js";
4
4
  import { _ as se } from "./_plugin-vue_export-helper-CHgC5LLL.js";
5
5
  const ne = {
6
6
  key: 0,
@@ -1,11 +1,11 @@
1
1
  import { useCssVars as Je, computed as y, defineAsyncComponent as R, ref as o, watch as Ke, shallowRef as ke, onMounted as Qe, onBeforeUnmount as Ze, createElementBlock as n, openBlock as i, unref as a, normalizeStyle as L, createBlock as B, createCommentVNode as v, createSlots as et, withCtx as I, renderSlot as h, normalizeProps as E, guardReactiveProps as T, normalizeClass as Y, createVNode as tt, createElementVNode as lt, Fragment as O, renderList as z, mergeProps as be, toDisplayString as N } from "vue";
2
- import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as q, f as H, F as J } from "./index-CH_mJIWj.js";
2
+ import { u as st, c as it, t as at, p as we, a as nt, b as rt, o as ut, e as xe, g as ot, X as ct, G as $e, i as q, f as H, F as J } from "./index-BXbyT0Qn.js";
3
3
  import { t as dt, u as vt } from "./useResponsive-JZ9xq-JV.js";
4
- import { u as _e } from "./useNestedProp-rMR-JeOJ.js";
5
- import { u as ft } from "./usePrinter-DJ7WfWUs.js";
4
+ import { u as _e } from "./useNestedProp-DVZpeH84.js";
5
+ import { u as ft } from "./usePrinter-aKh5-HcK.js";
6
6
  import { u as yt } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as ht } from "./useChartAccessibility-9icAAmYg.js";
8
- import gt from "./Title-apr_T9tg.js";
8
+ import gt from "./Title-DoWqzga-.js";
9
9
  import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
10
10
  const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["cx", "cy", "r", "stroke", "stroke-width"], xt = { key: 1 }, $t = ["stroke", "d", "stroke-width"], _t = { style: { "pointer-events": "none" } }, Ct = ["cx", "cy", "fill", "r", "stroke"], Pt = ["x", "y", "fill", "font-size"], Lt = { key: 2 }, Ot = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], zt = { style: { "pointer-events": "none" } }, At = ["cx", "cy", "fill", "r", "stroke"], It = ["x", "y", "fill", "font-size"], Mt = ["text-anchor", "transform", "x", "y", "onClick", "font-weight", "font-size", "fill"], St = ["cx", "cy", "fill", "stroke", "onClick", "r"], Ft = {
11
11
  key: 5,
@@ -32,7 +32,7 @@ const pt = ["id"], kt = ["xmlns", "viewBox"], bt = ["width", "height"], wt = ["c
32
32
  "144048c5": Re.value,
33
33
  "4bcc49e7": Ee.value
34
34
  }));
35
- const Le = R(() => import("./PackageVersion-ClpqQxYT.js")), Oe = R(() => import("./PenAndPaper-B-T7XvxF.js")), ze = R(() => import("./vue-ui-skeleton-C6PWt_m5.js")), Ae = R(() => import("./UserOptions-OVNxxnq5.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), K = o(0), M = o(null), Q = o(null), Z = o(null), ee = o(null), te = o(0), l = y({
35
+ const Le = R(() => import("./PackageVersion-C5fpg4GN.js")), Oe = R(() => import("./PenAndPaper-BRkuVFb4.js")), ze = R(() => import("./vue-ui-skeleton-Fxr752Oi.js")), Ae = R(() => import("./UserOptions-B3q-xfQV.js")), { vue_ui_relation_circle: Ie } = st(), k = Ce, j = y(() => !!k.dataset && Object.keys(k.dataset).length), A = o(it()), K = o(0), M = o(null), Q = o(null), Z = o(null), ee = o(null), te = o(0), l = y({
36
36
  get: () => ae(),
37
37
  set: (e) => e
38
38
  }), { userOptionsVisible: U, setUserOptionsVisibility: le, keepUserOptionState: se } = yt({ config: l.value }), { svgRef: ie } = ht({ config: l.value.style.title });
@@ -1,15 +1,15 @@
1
1
  import { defineAsyncComponent as S, computed as g, ref as c, shallowRef as Ee, onMounted as St, onBeforeUnmount as zt, watch as He, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as M, normalizeClass as Y, createBlock as P, createCommentVNode as v, renderSlot as p, createElementVNode as d, createSlots as Ve, withCtx as m, normalizeProps as q, guardReactiveProps as J, createVNode as Be, Fragment as f, renderList as C, mergeProps as Ue, toDisplayString as H, createTextVNode as Ge, nextTick as Nt } from "vue";
2
- import { u as Lt, c as ie, o as Dt, e as ce, g as We, b as Ft, d as It, p as K, al as je, a8 as Rt, T as Ye, U as Xt, V as Et, X as Ht, G as Vt, i as Q, f as Z, t as Bt, a as Ut, q as Gt, r as Wt, J as jt } from "./index-CH_mJIWj.js";
2
+ import { u as Lt, c as ie, o as Dt, e as ce, g as We, b as Ft, d as It, p as K, al as je, a8 as Rt, T as Ye, U as Xt, V as Et, X as Ht, G as Vt, i as Q, f as Z, t as Bt, a as Ut, q as Gt, r as Wt, J as jt } from "./index-BXbyT0Qn.js";
3
3
  import { u as Yt } from "./useUserOptionState-BIvW1Kz7.js";
4
4
  import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
5
- import { u as Jt } from "./usePrinter-DJ7WfWUs.js";
5
+ import { u as Jt } from "./usePrinter-aKh5-HcK.js";
6
6
  import { t as Kt, u as Qt } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as qe } from "./useNestedProp-rMR-JeOJ.js";
8
- import Zt from "./Legend-DRqzYrP9.js";
9
- import el from "./Title-apr_T9tg.js";
10
- import { _ as tl } from "./Shape-DEWxbZ-l.js";
7
+ import { u as qe } from "./useNestedProp-DVZpeH84.js";
8
+ import Zt from "./Legend-DcDRW3Xd.js";
9
+ import el from "./Title-DoWqzga-.js";
10
+ import { _ as tl } from "./Shape-CnD-h_98.js";
11
11
  import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
- const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["id"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], fl = { key: 0 }, gl = ["fill", "d"], pl = ["stroke", "stroke-width", "d"], ml = ["fill", "d"], bl = ["stroke", "stroke-dasharray", "stroke-width", "d"], xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Al = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Cl = { key: 0 }, wl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $l = ["x", "y", "width", "height", "onMouseenter", "onClick"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "text-anchor", "font-size", "fill"], Tl = {
12
+ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["id"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], fl = { key: 0 }, gl = ["fill", "d"], pl = ["stroke", "stroke-width", "d"], ml = ["fill", "d"], bl = ["stroke", "stroke-dasharray", "stroke-width", "d"], xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Al = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Cl = { key: 0 }, wl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $l = ["x", "y", "width", "height", "onMouseenter", "onClick"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "text-anchor", "font-size", "fill"], Tl = {
13
13
  key: 5,
14
14
  class: "vue-data-ui-watermark"
15
15
  }, Ol = ["onClick"], Sl = ["innerHTML"], zl = {
@@ -30,7 +30,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
30
30
  },
31
31
  emits: ["selectLegend", "selectDatapoint", "selectX"],
32
32
  setup(Je, { expose: Ke, emit: Qe }) {
33
- const Ze = S(() => import("./vue-ui-accordion-Ds4zkPIx.js")), et = S(() => import("./BaseDraggableDialog-DLRFrsDT.js")), tt = S(() => import("./DataTable-BBqbcutV.js")), lt = S(() => import("./PackageVersion-ClpqQxYT.js")), at = S(() => import("./PenAndPaper-B-T7XvxF.js")), ot = S(() => import("./vue-ui-skeleton-C6PWt_m5.js")), st = S(() => import("./UserOptions-OVNxxnq5.js")), rt = S(() => import("./vue-ui-xy-CEFkua9H.js")), { vue_ui_ridgeline: nt } = Lt(), x = Je, z = g({
33
+ const Ze = S(() => import("./vue-ui-accordion-CXsjHe1y.js")), et = S(() => import("./BaseDraggableDialog-B3CZVeze.js")), tt = S(() => import("./DataTable-DBkfb6pd.js")), lt = S(() => import("./PackageVersion-C5fpg4GN.js")), at = S(() => import("./PenAndPaper-BRkuVFb4.js")), st = S(() => import("./vue-ui-skeleton-Fxr752Oi.js")), ot = S(() => import("./UserOptions-B3q-xfQV.js")), rt = S(() => import("./vue-ui-xy-DxgCkZEV.js")), { vue_ui_ridgeline: nt } = Lt(), x = Je, z = g({
34
34
  get() {
35
35
  return !!x.dataset && x.dataset.length;
36
36
  },
@@ -62,12 +62,12 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
62
62
  setUserOptionsVisibility: ke,
63
63
  keepUserOptionState: Ae
64
64
  } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
65
- St(oe);
66
- function oe() {
65
+ St(se);
66
+ function se() {
67
67
  if (Dt(x.dataset) ? ce({
68
68
  componentName: "VueUiRidgeline",
69
69
  type: "dataset"
70
- }) : x.dataset.forEach((l, s) => {
70
+ }) : x.dataset.forEach((l, o) => {
71
71
  We({
72
72
  datasetObject: l,
73
73
  requiredAttributes: ["name", "datapoints"]
@@ -76,9 +76,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
76
76
  componentName: "VueUiRidgeline",
77
77
  type: "datasetSerieAttribute",
78
78
  property: t,
79
- index: s
79
+ index: o
80
80
  });
81
- }), l.datapoints.length && l.datapoints.forEach((t, o) => {
81
+ }), l.datapoints.length && l.datapoints.forEach((t, s) => {
82
82
  We({
83
83
  datasetObject: t,
84
84
  requiredAttributes: ["name", "values"]
@@ -87,7 +87,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
87
87
  componentName: "VueUiRidgeline",
88
88
  type: "datasetSerieAttribute",
89
89
  property: `datapoint.${a}`,
90
- index: `${s}-${o}`
90
+ index: `${o}-${s}`
91
91
  });
92
92
  });
93
93
  });
@@ -96,7 +96,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
96
96
  e.value.style.chart.areas.rowHeight
97
97
  ), e.value.responsive) {
98
98
  const l = Kt(() => {
99
- const { width: s, height: t } = Qt({
99
+ const { width: o, height: t } = Qt({
100
100
  chart: V.value,
101
101
  title: e.value.style.chart.title.text ? ve.value : null,
102
102
  legend: e.value.style.chart.legend.show ? he.value : null,
@@ -105,7 +105,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
105
105
  padding: e.value.style.chart.padding
106
106
  });
107
107
  requestAnimationFrame(() => {
108
- me.value = s, $.value = t / x.dataset.length, be.value = t;
108
+ me.value = o, $.value = t / x.dataset.length, be.value = t;
109
109
  });
110
110
  });
111
111
  T.value && (F.value && T.value.unobserve(F.value), T.value.disconnect()), T.value = new ResizeObserver(l), F.value = V.value.parentNode, T.value.observe(F.value);
@@ -122,28 +122,28 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
122
122
  showTable: e.value.table.show
123
123
  });
124
124
  He(() => x.config, (l) => {
125
- e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, oe(), fe.value += 1, ge.value += 1, $.value = Math.min(
125
+ e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, se(), fe.value += 1, ge.value += 1, $.value = Math.min(
126
126
  e.value.style.chart.areas.height,
127
127
  e.value.style.chart.areas.rowHeight
128
128
  ), B.value.showTable = e.value.table.show;
129
- }, { deep: !0 }), He(() => x.dataset, oe, { deep: !0 });
130
- const se = g(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
129
+ }, { deep: !0 }), He(() => x.dataset, se, { deep: !0 });
130
+ const oe = g(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
131
131
  function Me(l) {
132
- O.value.includes(l) ? O.value = O.value.filter((s) => s !== l) : O.value.push(l), ee("selectLegend", X.value);
132
+ O.value.includes(l) ? O.value = O.value.filter((o) => o !== l) : O.value.push(l), ee("selectLegend", X.value);
133
133
  }
134
- const _ = g(() => z.value ? x.dataset.map((l, s) => ({
134
+ const _ = g(() => z.value ? x.dataset.map((l, o) => ({
135
135
  ...l,
136
136
  labelLen: yt(l.name, e.value.style.chart.yAxis.labels.fontSize),
137
137
  uid: ie(),
138
- datapoints: l.datapoints.map((t, o) => {
139
- const a = t.color ? It(t.color) : vt.value[o] || K[o] || K[o % K.length], i = je(t.name);
138
+ datapoints: l.datapoints.map((t, s) => {
139
+ const a = t.color ? It(t.color) : vt.value[s] || K[s] || K[s % K.length], i = je(t.name);
140
140
  return {
141
141
  ...t,
142
142
  color: a,
143
143
  id: i
144
144
  };
145
145
  })
146
- })) : []), Pe = g(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * se.value), k = g(() => ({
146
+ })) : []), Pe = g(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * oe.value), k = g(() => ({
147
147
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
148
148
  top: y.value.padding.top,
149
149
  left: y.value.padding.left,
@@ -158,44 +158,44 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
158
158
  padding: l
159
159
  };
160
160
  }), R = g(() => {
161
- const l = Math.max(..._.value.map((i) => i.labelLen)), s = Math.max(..._.value.flatMap((i) => i.datapoints.map((A) => A.values.length))), t = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (k.value.width - t) / s, a = [];
162
- for (let i = 0; i < s; i += 1)
161
+ const l = Math.max(..._.value.map((i) => i.labelLen)), o = Math.max(..._.value.flatMap((i) => i.datapoints.map((A) => A.values.length))), t = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, s = (k.value.width - t) / o, a = [];
162
+ for (let i = 0; i < o; i += 1)
163
163
  a.push({
164
- selectorX: t + o * i,
165
- x: t + o * i - o / 2,
164
+ selectorX: t + s * i,
165
+ x: t + s * i - s / 2,
166
166
  y: k.value.top,
167
167
  label: e.value.style.chart.xAxis.labels.values[i] || "",
168
168
  index: i,
169
- width: o,
169
+ width: s,
170
170
  height: Pe.value
171
171
  });
172
172
  return a;
173
173
  });
174
174
  function ht(l) {
175
- ee("selectX", _.value.map((s) => s.datapoints.map((t) => ({
175
+ ee("selectX", _.value.map((o) => o.datapoints.map((t) => ({
176
176
  dp: t,
177
177
  selected: t.values[l.index]
178
178
  }))));
179
179
  }
180
- function dt(l, s) {
181
- return l.length * s / 2 + s;
180
+ function dt(l, o) {
181
+ return l.length * o / 2 + o;
182
182
  }
183
- function Te(l, s, t) {
184
- const o = dt(s, t);
185
- return l + o > k.value.right;
183
+ function Te(l, o, t) {
184
+ const s = dt(o, t);
185
+ return l + s > k.value.right;
186
186
  }
187
- function yt(l, s, t = "sans-serif") {
188
- const a = document.createElement("canvas").getContext("2d"), i = typeof s == "number" ? `${s}px` : s;
187
+ function yt(l, o, t = "sans-serif") {
188
+ const a = document.createElement("canvas").getContext("2d"), i = typeof o == "number" ? `${o}px` : o;
189
189
  return a.font = `${i} ${t}`, a.measureText(l).width;
190
190
  }
191
191
  const X = g(() => {
192
192
  $.value;
193
- const l = Math.max(..._.value.map((b) => b.labelLen)), s = Math.max(..._.value.flatMap((b) => b.datapoints.map((N) => N.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), o = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, i = (k.value.width - a) / s, A = Math.abs(Math.min(o, 0)), De = t + A;
193
+ const l = Math.max(..._.value.map((b) => b.labelLen)), o = Math.max(..._.value.flatMap((b) => b.datapoints.map((N) => N.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), s = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, i = (k.value.width - a) / o, A = Math.abs(Math.min(s, 0)), De = t + A;
194
194
  function Fe(b) {
195
195
  return isNaN(b / De) ? 0 : b / De;
196
196
  }
197
197
  return _.value.map((b, N) => {
198
- const Ie = k.value.top + $.value * N, L = k.value.top + Ie + $.value * se.value * (1 - Fe(A));
198
+ const Ie = k.value.top + $.value * N, L = k.value.top + Ie + $.value * oe.value * (1 - Fe(A));
199
199
  return {
200
200
  ...b,
201
201
  label: {
@@ -204,7 +204,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
204
204
  },
205
205
  datapoints: b.datapoints.map((U) => {
206
206
  const D = U.values.map((G, _t) => {
207
- const Mt = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, Pt = a + i * _t, Tt = k.value.top + Ie + $.value * se.value * (1 - Fe(Mt + A)), Ot = G === Math.max(...U.values);
207
+ const Mt = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, Pt = a + i * _t, Tt = k.value.top + Ie + $.value * oe.value * (1 - Fe(Mt + A)), Ot = G === Math.max(...U.values);
208
208
  return {
209
209
  x: Pt,
210
210
  y: Tt,
@@ -231,21 +231,21 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
231
231
  });
232
232
  }), O = c([]);
233
233
  function ft(l) {
234
- const s = /* @__PURE__ */ new Map();
234
+ const o = /* @__PURE__ */ new Map();
235
235
  return l.forEach((t) => {
236
- t.datapoints.forEach((o, a) => {
237
- const i = je(o.name);
238
- s.has(i) || s.set(i, {
236
+ t.datapoints.forEach((s, a) => {
237
+ const i = je(s.name);
238
+ o.has(i) || o.set(i, {
239
239
  id: i,
240
- name: o.name,
241
- color: o.color,
240
+ name: s.name,
241
+ color: s.color,
242
242
  shape: "circle",
243
243
  segregate: () => Me(i),
244
244
  isSegregated: O.value.includes(i),
245
245
  opacity: O.value.includes(i) ? 0.5 : 1
246
246
  });
247
247
  });
248
- }), Array.from(s.values());
248
+ }), Array.from(o.values());
249
249
  }
250
250
  const re = g(() => ft(_.value)), gt = g(() => ({
251
251
  cy: "donut-div-legend",
@@ -260,13 +260,13 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
260
260
  }
261
261
  const Oe = c({}), Se = c([]);
262
262
  function mt(l) {
263
- ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Se.value = l.datapoints.map((s) => ({
264
- name: s.name,
265
- color: s.color,
263
+ ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Se.value = l.datapoints.map((o) => ({
264
+ name: o.name,
265
+ color: o.color,
266
266
  type: "line",
267
267
  useArea: !0,
268
268
  smooth: e.value.style.chart.areas.smooth,
269
- series: s.values
269
+ series: o.values
270
270
  })), I.value = l, Oe.value = jt({
271
271
  ...e.value.style.chart.dialog.xyChart,
272
272
  responsive: !0,
@@ -306,9 +306,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
306
306
  function ze() {
307
307
  B.value.showTable = !B.value.showTable;
308
308
  }
309
- const Ne = g(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((o) => ({
310
- ...o,
311
- rowName: `${t.name}: ${o.name}`
309
+ const Ne = g(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((s) => ({
310
+ ...s,
311
+ rowName: `${t.name}: ${s.name}`
312
312
  }))).map((t) => [
313
313
  {
314
314
  name: t.rowName,
@@ -319,7 +319,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
319
319
  const l = [
320
320
  e.value.table.columnNames.series,
321
321
  ...e.value.style.chart.xAxis.labels.values
322
- ], s = {
322
+ ], o = {
323
323
  th: {
324
324
  backgroundColor: e.value.table.th.backgroundColor,
325
325
  color: e.value.table.th.color,
@@ -339,20 +339,20 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
339
339
  ],
340
340
  head: l,
341
341
  body: Ne.value.body,
342
- config: s
342
+ config: o
343
343
  };
344
344
  });
345
- function Le() {
345
+ function Le(l = null) {
346
346
  Nt(() => {
347
- const l = [
348
- [e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((o) => [o])],
349
- ...Ne.value.body.map((o, a) => [o[0].name, ...o.slice(1)])
350
- ], s = [
347
+ const o = [
348
+ [e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((a) => [a])],
349
+ ...Ne.value.body.map((a, i) => [a[0].name, ...a.slice(1)])
350
+ ], t = [
351
351
  [e.value.style.chart.title.text],
352
352
  [e.value.style.chart.title.subtitle.text]
353
- ].concat(l), t = Gt(s);
354
- Wt({
355
- csvContent: t,
353
+ ].concat(o), s = Gt(t);
354
+ l ? l(s) : Wt({
355
+ csvContent: s,
356
356
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
357
357
  });
358
358
  });
@@ -367,7 +367,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
367
367
  generateCsv: Le,
368
368
  toggleAnnotator: ue,
369
369
  toggleTable: ze
370
- }), (l, s) => (r(), n("div", {
370
+ }), (l, o) => (r(), n("div", {
371
371
  ref_key: "ridgelineChart",
372
372
  ref: V,
373
373
  class: Y(`vue-ui-ridgeline ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
@@ -379,8 +379,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
379
379
  background: e.value.style.chart.backgroundColor,
380
380
  height: e.value.responsive ? "100%" : void 0
381
381
  }),
382
- onMouseenter: s[4] || (s[4] = () => u(ke)(!0)),
383
- onMouseleave: s[5] || (s[5] = () => u(ke)(!1))
382
+ onMouseenter: o[4] || (o[4] = () => u(ke)(!0)),
383
+ onMouseleave: o[5] || (o[5] = () => u(ke)(!1))
384
384
  }, [
385
385
  e.value.userOptions.buttons.annotator && u(ae) ? (r(), P(u(at), {
386
386
  key: 0,
@@ -418,7 +418,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
418
418
  }
419
419
  }, null, 8, ["config"]))
420
420
  ], 512)) : v("", !0),
421
- e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), P(u(st), {
421
+ e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), P(u(ot), {
422
422
  ref: "details",
423
423
  key: `user_option_${pe.value}`,
424
424
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -453,8 +453,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
453
453
  }, Ve({ _: 2 }, [
454
454
  l.$slots.menuIcon ? {
455
455
  name: "menuIcon",
456
- fn: m(({ isOpen: t, color: o }) => [
457
- p(l.$slots, "menuIcon", q(J({ isOpen: t, color: o })), void 0, !0)
456
+ fn: m(({ isOpen: t, color: s }) => [
457
+ p(l.$slots, "menuIcon", q(J({ isOpen: t, color: s })), void 0, !0)
458
458
  ]),
459
459
  key: "0"
460
460
  } : void 0,
@@ -495,15 +495,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
495
495
  } : void 0,
496
496
  l.$slots.optionFullscreen ? {
497
497
  name: "optionFullscreen",
498
- fn: m(({ toggleFullscreen: t, isFullscreen: o }) => [
499
- p(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: o })), void 0, !0)
498
+ fn: m(({ toggleFullscreen: t, isFullscreen: s }) => [
499
+ p(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
500
500
  ]),
501
501
  key: "6"
502
502
  } : void 0,
503
503
  l.$slots.optionAnnotator ? {
504
504
  name: "optionAnnotator",
505
- fn: m(({ toggleAnnotator: t, isAnnotator: o }) => [
506
- p(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: o })), void 0, !0)
505
+ fn: m(({ toggleAnnotator: t, isAnnotator: s }) => [
506
+ p(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
507
507
  ]),
508
508
  key: "7"
509
509
  } : void 0
@@ -519,7 +519,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
519
519
  }, [
520
520
  Be(u(lt)),
521
521
  d("defs", null, [
522
- (r(!0), n(f, null, C(re.value, (t, o) => (r(), n("linearGradient", {
522
+ (r(!0), n(f, null, C(re.value, (t, s) => (r(), n("linearGradient", {
523
523
  id: `gradient-${t.id}-${w.value}`,
524
524
  x1: "50%",
525
525
  y1: "0%",
@@ -546,8 +546,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
546
546
  "stop-color": t.color,
547
547
  "stop-opacity": "0.1"
548
548
  }, null, 8, il)
549
- ], 8, sl))), 256)),
550
- (r(!0), n(f, null, C(X.value, (t, o) => (r(), n(f, null, [
549
+ ], 8, ol))), 256)),
550
+ (r(!0), n(f, null, C(X.value, (t, s) => (r(), n(f, null, [
551
551
  (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
552
552
  key: `grad${a.id}`,
553
553
  id: `gradient-single-${w.value}-${a.uid}`,
@@ -579,15 +579,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
579
579
  ], 8, cl))), 128))
580
580
  ], 64))), 256))
581
581
  ]),
582
- (r(!0), n(f, null, C(X.value, (t, o) => (r(), n("g", {
583
- key: `ds-${o}`
582
+ (r(!0), n(f, null, C(X.value, (t, s) => (r(), n("g", {
583
+ key: `ds-${s}`
584
584
  }, [
585
585
  (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("g", {
586
586
  key: a.id
587
587
  }, [
588
588
  l.$slots.pattern ? (r(), n("g", fl, [
589
589
  d("defs", null, [
590
- p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: o, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
590
+ p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: s, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
591
591
  ])
592
592
  ])) : v("", !0),
593
593
  d("path", {
@@ -668,15 +668,15 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
668
668
  style: M({
669
669
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
670
670
  }),
671
- "text-decoration": e.value.style.chart.dialog.show && (ne.value === o || I.value && t.uid === I.value.uid) ? "underline" : "",
672
- onMouseenter: (a) => bt(o),
671
+ "text-decoration": e.value.style.chart.dialog.show && (ne.value === s || I.value && t.uid === I.value.uid) ? "underline" : "",
672
+ onMouseenter: (a) => bt(s),
673
673
  onMouseleave: xt,
674
674
  onClick: (a) => mt(t)
675
675
  }, H(t.name), 45, Al)
676
676
  ]))), 128)),
677
677
  e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Cl, [
678
- (r(!0), n(f, null, C(R.value, (t, o) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
679
- show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === R.value.length - 1) || t && h.value && h.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
678
+ (r(!0), n(f, null, C(R.value, (t, s) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
679
+ show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === R.value.length - 1) || t && h.value && h.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
680
680
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
681
681
  content: t.label,
682
682
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -685,7 +685,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
685
685
  x: t.selectorX,
686
686
  y: k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
687
687
  }), () => [
688
- t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === R.value.length - 1) || t && h.value && h.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("text", {
688
+ t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (s === 0 || s === R.value.length - 1) || t && h.value && h.value.index === s || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && s % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("text", {
689
689
  key: 0,
690
690
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
691
691
  fill: e.value.style.chart.xAxis.labels.color,
@@ -693,20 +693,20 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
693
693
  transform: `translate(${t.selectorX}, ${k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
694
694
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
695
695
  style: M({
696
- opacity: h.value ? h.value.index === o ? 1 : 0.2 : 1
696
+ opacity: h.value ? h.value.index === s ? 1 : 0.2 : 1
697
697
  })
698
698
  }, H(t.label), 13, wl)) : v("", !0)
699
699
  ], !0)), 256))
700
700
  ])) : v("", !0),
701
701
  d("g", null, [
702
- (r(!0), n(f, null, C(R.value, (t, o) => (r(), n("rect", {
702
+ (r(!0), n(f, null, C(R.value, (t, s) => (r(), n("rect", {
703
703
  x: t.x,
704
704
  y: t.y,
705
705
  width: t.width < 0 ? 0.1 : t.width,
706
706
  height: t.height < 0 ? 0.1 : t.height,
707
707
  fill: "transparent",
708
708
  onMouseenter: (a) => h.value = t,
709
- onMouseleave: s[0] || (s[0] = (a) => h.value = null),
709
+ onMouseleave: o[0] || (o[0] = (a) => h.value = null),
710
710
  onClick: () => ht(t)
711
711
  }, null, 40, $l))), 256)),
712
712
  e.value.style.chart.selector.show && h.value ? (r(), n("line", {
@@ -722,8 +722,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
722
722
  style: { pointerEvents: "none" }
723
723
  }, null, 8, _l)) : v("", !0),
724
724
  h.value ? (r(!0), n(f, { key: 1 }, C(X.value, (t) => (r(), n(f, null, [
725
- (r(!0), n(f, null, C(t.datapoints, (o) => (r(), n(f, null, [
726
- (r(!0), n(f, null, C(o.plots, (a, i) => (r(), n(f, null, [
725
+ (r(!0), n(f, null, C(t.datapoints, (s) => (r(), n(f, null, [
726
+ (r(!0), n(f, null, C(s.plots, (a, i) => (r(), n(f, null, [
727
727
  h.value && h.value.index === i ? (r(), n("circle", {
728
728
  key: 0,
729
729
  cx: a.x,
@@ -731,7 +731,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
731
731
  stroke: e.value.style.chart.selector.dot.stroke,
732
732
  "stroke-width": e.value.style.chart.selector.dot.strokeWidth,
733
733
  r: e.value.style.chart.selector.dot.radius,
734
- fill: e.value.style.chart.selector.dot.useDatapointColor ? o.color : e.value.style.chart.selector.dot.fill,
734
+ fill: e.value.style.chart.selector.dot.useDatapointColor ? s.color : e.value.style.chart.selector.dot.fill,
735
735
  style: {
736
736
  pointerEvents: "none"
737
737
  }
@@ -787,11 +787,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
787
787
  ], 64))), 256)) : v("", !0)
788
788
  ]),
789
789
  p(l.$slots, "svg", { svg: y.value }, void 0, !0)
790
- ], 14, ol)) : v("", !0),
790
+ ], 14, sl)) : v("", !0),
791
791
  l.$slots.watermark ? (r(), n("div", Tl, [
792
792
  p(l.$slots, "watermark", q(J({ isPrinting: u(Ce) || u(we) })), void 0, !0)
793
793
  ])) : v("", !0),
794
- z.value ? v("", !0) : (r(), P(u(ot), {
794
+ z.value ? v("", !0) : (r(), P(u(st), {
795
795
  key: 6,
796
796
  config: {
797
797
  type: "ridgeline",
@@ -811,25 +811,25 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
811
811
  key: `legend_${ge.value}`,
812
812
  legendSet: re.value,
813
813
  config: gt.value,
814
- onClickMarker: s[1] || (s[1] = ({ legend: t }) => Me(t.id))
814
+ onClickMarker: o[1] || (o[1] = ({ legend: t }) => Me(t.id))
815
815
  }, Ve({
816
816
  item: m(({ legend: t }) => [
817
817
  d("div", {
818
818
  style: M(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
819
- onClick: (o) => t.segregate()
819
+ onClick: (s) => t.segregate()
820
820
  }, H(t.name), 13, Ol)
821
821
  ]),
822
822
  _: 2
823
823
  }, [
824
824
  l.$slots.pattern ? {
825
825
  name: "legend-pattern",
826
- fn: m(({ legend: t, index: o }) => [
826
+ fn: m(({ legend: t, index: s }) => [
827
827
  Be(tl, {
828
828
  shape: t.shape,
829
829
  radius: 30,
830
830
  stroke: "none",
831
831
  plot: { x: 30, y: 30 },
832
- fill: `url(#pattern_${w.value}_${o})`
832
+ fill: `url(#pattern_${w.value}_${s})`
833
833
  }, null, 8, ["shape", "fill"])
834
834
  ]),
835
835
  key: "0"
@@ -869,7 +869,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
869
869
  body: j.value.body,
870
870
  config: j.value.config,
871
871
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
872
- onClose: s[2] || (s[2] = (t) => B.value.showTable = !1)
872
+ onClose: o[2] || (o[2] = (t) => B.value.showTable = !1)
873
873
  }, {
874
874
  th: m(({ th: t }) => [
875
875
  d("div", { innerHTML: t }, null, 8, Sl)
@@ -895,7 +895,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
895
895
  key: 9,
896
896
  ref_key: "dialog",
897
897
  ref: te,
898
- onClose: s[3] || (s[3] = (t) => I.value = null),
898
+ onClose: o[3] || (o[3] = (t) => I.value = null),
899
899
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
900
900
  color: e.value.style.chart.dialog.color,
901
901
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
@@ -917,7 +917,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
917
917
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0)
918
918
  ], 46, al));
919
919
  }
920
- }, Ul = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-25ffc64f"]]);
920
+ }, Ul = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-76b7ad48"]]);
921
921
  export {
922
922
  Ul as default
923
923
  };