vue-data-ui 2.13.4 → 2.13.5-beta.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 (91) hide show
  1. package/dist/{Arrow-Cv5RKI2K.js → Arrow-nJWOreP4.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CbNaTai1.js → BaseDraggableDialog-IYfaPzLA.js} +2 -2
  3. package/dist/{BaseIcon-B90jg7Eo.js → BaseIcon-lwpKi6Wa.js} +1 -1
  4. package/dist/{ColorPicker-DrHXo6NB.js → ColorPicker-D8TZj-R5.js} +2 -2
  5. package/dist/{DataTable-DOdmEVBM.js → DataTable-CuFlXUxm.js} +2 -2
  6. package/dist/{Legend-D7As_VVi.js → Legend-DwNuhYnG.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-Qe1IsvyR.js → NonSvgPenAndPaper-D1qSfnYa.js} +3 -3
  8. package/dist/{PackageVersion-CJ0MHPau.js → PackageVersion-1psmmuzo.js} +2 -2
  9. package/dist/{PenAndPaper-CsV9xVqP.js → PenAndPaper-DgUkj01g.js} +3 -3
  10. package/dist/{Shape-CMT3DgWJ.js → Shape-CmlBrd-F.js} +1 -1
  11. package/dist/{Slicer-kZ-UNW0I.js → Slicer-B-5jXhhw.js} +161 -161
  12. package/dist/{SparkTooltip-DgaaFrSC.js → SparkTooltip-BGjRXPbu.js} +1 -1
  13. package/dist/{Title-Cuxd1Hw4.js → Title-BoKeR6i0.js} +1 -1
  14. package/dist/{Tooltip-nm6v9SvD.js → Tooltip-Df2iF7bv.js} +1 -1
  15. package/dist/{UserOptions-B4olqrwb.js → UserOptions-NrArsCuC.js} +2 -2
  16. package/dist/{dom-to-png-JxvpNdgk.js → dom-to-png-DK9TIQio.js} +1 -1
  17. package/dist/{img-BrSPXg54.js → img-CqqmkwDl.js} +1 -1
  18. package/dist/{index-DXfqC_CG.js → index-C137VZkI.js} +675 -656
  19. package/dist/{pdf-CRNRsa97.js → pdf-DTB7aasS.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +23 -0
  22. package/dist/types/vue-data-ui.d.ts +23 -0
  23. package/dist/{useNestedProp-CUF1PWxQ.js → useNestedProp-ZNu8JrRX.js} +1 -1
  24. package/dist/{usePrinter-DGQh_spY.js → usePrinter-B63T3abI.js} +2 -2
  25. package/dist/useTimeLabels-Mrr0jrpL.js +242 -0
  26. package/dist/{vue-data-ui-tkhMq-bw.js → vue-data-ui-CBTXw5iV.js} +63 -63
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-Dwdfdqch.js → vue-ui-3d-bar-DKF0Y325.js} +5 -5
  29. package/dist/{vue-ui-accordion-D-tjbzQS.js → vue-ui-accordion-BI2rBS5z.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-BZmYWVrS.js → vue-ui-age-pyramid-BDulR8Zn.js} +5 -5
  31. package/dist/{vue-ui-annotator-DBrXod-O.js → vue-ui-annotator-BokgyAXW.js} +2 -2
  32. package/dist/{vue-ui-bullet-ur-PTrPw.js → vue-ui-bullet-D5TWFElT.js} +6 -6
  33. package/dist/{vue-ui-candlestick-72UivaQY.js → vue-ui-candlestick-DHTA9GKN.js} +96 -96
  34. package/dist/{vue-ui-carousel-table-CApme8lg.js → vue-ui-carousel-table-Bw4rC-Mv.js} +4 -4
  35. package/dist/{vue-ui-chestnut-jcZZ8cOw.js → vue-ui-chestnut-DJAW8dTu.js} +4 -4
  36. package/dist/{vue-ui-chord-A9jGFNM2.js → vue-ui-chord-Drxbeh2P.js} +7 -7
  37. package/dist/{vue-ui-circle-pack-DPnOBq40.js → vue-ui-circle-pack-ClMdOEtG.js} +5 -5
  38. package/dist/{vue-ui-cursor-Cby6-Vrh.js → vue-ui-cursor-DaT20eFb.js} +2 -2
  39. package/dist/{vue-ui-dashboard-BGzORkrX.js → vue-ui-dashboard-z7pGTlMX.js} +62 -62
  40. package/dist/{vue-ui-digits-Dhxd38mc.js → vue-ui-digits-D6kq38s9.js} +2 -2
  41. package/dist/{vue-ui-donut-DsFBb3Cl.js → vue-ui-donut-_kVdFrZR.js} +7 -7
  42. package/dist/{vue-ui-donut-evolution-B-Bo4b4Y.js → vue-ui-donut-evolution-D5P6GSM6.js} +320 -313
  43. package/dist/{vue-ui-dumbbell-EVSJdr9V.js → vue-ui-dumbbell-DfZNlCK5.js} +6 -6
  44. package/dist/{vue-ui-flow-Cr1-ETyc.js → vue-ui-flow-DTx267Ka.js} +6 -6
  45. package/dist/{vue-ui-funnel-BQ0LckzE.js → vue-ui-funnel-B_J0AaMa.js} +83 -83
  46. package/dist/{vue-ui-galaxy-_fwGK1PY.js → vue-ui-galaxy-DtE48yJw.js} +4 -4
  47. package/dist/{vue-ui-gauge-BrnOoF9C.js → vue-ui-gauge-CAKj45DE.js} +5 -5
  48. package/dist/{vue-ui-gizmo-tgjSYkeV.js → vue-ui-gizmo-B-7-Lfai.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CamaTaei.js → vue-ui-heatmap-3anHqH8-.js} +6 -6
  50. package/dist/{vue-ui-history-plot-DSBQu-9Y.js → vue-ui-history-plot-DfduurUS.js} +103 -103
  51. package/dist/{vue-ui-kpi-OCtgONK3.js → vue-ui-kpi-C_wEVoh0.js} +3 -3
  52. package/dist/{vue-ui-mini-loader--xzmMUNI.js → vue-ui-mini-loader-lGMkM8Kw.js} +2 -2
  53. package/dist/{vue-ui-molecule-DnkENzdw.js → vue-ui-molecule-fXW4ejgw.js} +4 -4
  54. package/dist/{vue-ui-mood-radar-DKP1rjSd.js → vue-ui-mood-radar-TuyuMkzg.js} +6 -6
  55. package/dist/{vue-ui-nested-donuts-CHwTDQ9J.js → vue-ui-nested-donuts-CtbOVaRR.js} +6 -6
  56. package/dist/{vue-ui-onion-BxaynRPn.js → vue-ui-onion-BV3A2JCN.js} +6 -6
  57. package/dist/{vue-ui-parallel-coordinate-plot-ohCDDK1Q.js → vue-ui-parallel-coordinate-plot-DJbeP86h.js} +175 -175
  58. package/dist/{vue-ui-quadrant-DXZsVWe3.js → vue-ui-quadrant-xaXINXWX.js} +7 -7
  59. package/dist/{vue-ui-quick-chart-C_ofgdSY.js → vue-ui-quick-chart-Dr1HyP8V.js} +464 -457
  60. package/dist/{vue-ui-radar-CLa2PHHK.js → vue-ui-radar-Cbqe4LM_.js} +6 -6
  61. package/dist/{vue-ui-rating-GiRUw1Wv.js → vue-ui-rating-FuSmmUE8.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-BJ1M2Pnc.js → vue-ui-relation-circle-kDNSenDo.js} +96 -96
  63. package/dist/{vue-ui-ridgeline-E_7xjHTY.js → vue-ui-ridgeline-DxtgFsg_.js} +317 -308
  64. package/dist/{vue-ui-rings-BiOAND3T.js → vue-ui-rings-DMx8sMKa.js} +7 -7
  65. package/dist/{vue-ui-scatter-Bai9QSqI.js → vue-ui-scatter-DX42tHz8.js} +7 -7
  66. package/dist/{vue-ui-skeleton-B2N_3mr0.js → vue-ui-skeleton-CO_Hk6A_.js} +3 -3
  67. package/dist/{vue-ui-smiley-DAvm3IGu.js → vue-ui-smiley-4lhGcbc2.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-D4EwvdX0.js → vue-ui-spark-trend-hGZ_JmgH.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-DM_2iDVI.js → vue-ui-sparkbar-BTf3c9Qn.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-UW6sVQdV.js → vue-ui-sparkgauge-oMfHC1dA.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-CF0JPKYB.js → vue-ui-sparkhistogram-DvVbSLEj.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Dg8j2KTF.js → vue-ui-sparkline-BbmMxjnF.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-CqT_oEk7.js → vue-ui-sparkstackbar-ChREWvRl.js} +3 -3
  74. package/dist/vue-ui-stackbar-BNPLRyEN.js +1130 -0
  75. package/dist/{vue-ui-strip-plot-BR66rY0G.js → vue-ui-strip-plot-Ca1C6bZ_.js} +73 -73
  76. package/dist/{vue-ui-table-Dk0eXTU9.js → vue-ui-table-Cfb6eIU4.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-Brldpa0g.js → vue-ui-table-heatmap-BnjgK_PF.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DxQrZBCR.js → vue-ui-table-sparkline-MJ8lvKbd.js} +4 -4
  79. package/dist/{vue-ui-thermometer-B_OrqIjE.js → vue-ui-thermometer-C2qisXo8.js} +5 -5
  80. package/dist/{vue-ui-timer-Cz0J-s5D.js → vue-ui-timer-By6_kV9k.js} +8 -8
  81. package/dist/{vue-ui-tiremarks-B1B3h-Vi.js → vue-ui-tiremarks-BU6rsols.js} +5 -5
  82. package/dist/{vue-ui-treemap-CMm6fSIO.js → vue-ui-treemap-DivJblJW.js} +7 -7
  83. package/dist/{vue-ui-vertical-bar-DA2Xpx46.js → vue-ui-vertical-bar-Dyt4yezz.js} +8 -8
  84. package/dist/{vue-ui-waffle-U3NxGQ3l.js → vue-ui-waffle-DSzMjANd.js} +7 -7
  85. package/dist/{vue-ui-wheel-WNOVLYp8.js → vue-ui-wheel-DFCGjYBy.js} +5 -5
  86. package/dist/{vue-ui-word-cloud-_TBCcmAV.js → vue-ui-word-cloud-BiG5zI03.js} +5 -5
  87. package/dist/{vue-ui-world-DREkLtrD.js → vue-ui-world-BhGGmeGq.js} +5 -5
  88. package/dist/{vue-ui-xy-CIiqKrxF.js → vue-ui-xy-CZpcKEkV.js} +680 -668
  89. package/dist/{vue-ui-xy-canvas-ClHv-Wlu.js → vue-ui-xy-canvas-B7fE9npn.js} +400 -392
  90. package/package.json +1 -1
  91. package/dist/vue-ui-stackbar-By7DVfJV.js +0 -1132
@@ -1,18 +1,19 @@
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-DXfqC_CG.js";
3
- import { u as Yt } from "./useUserOptionState-BIvW1Kz7.js";
4
- import { u as qt } from "./useChartAccessibility-9icAAmYg.js";
5
- import { u as Jt } from "./usePrinter-DGQh_spY.js";
6
- import { t as Kt, u as Qt } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as qe } from "./useNestedProp-CUF1PWxQ.js";
8
- import Zt from "./Legend-D7As_VVi.js";
9
- import el from "./Title-Cuxd1Hw4.js";
10
- import { _ as tl } from "./Shape-CMT3DgWJ.js";
11
- import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
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 = {
1
+ import { defineAsyncComponent as S, computed as f, ref as i, shallowRef as Ve, onMounted as Lt, onBeforeUnmount as Nt, watch as Be, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as M, normalizeClass as q, createBlock as P, createCommentVNode as c, renderSlot as p, createElementVNode as d, createSlots as Ue, withCtx as m, normalizeProps as J, guardReactiveProps as K, createVNode as Ge, Fragment as g, renderList as A, mergeProps as We, toDisplayString as H, createTextVNode as je, nextTick as Dt } from "vue";
2
+ import { u as Ft, c as ve, o as It, e as he, g as Ye, b as Rt, d as Xt, p as Q, al as qe, a8 as Et, T as Je, U as Ht, V as Vt, X as Bt, G as Ut, i as Z, f as ee, t as Gt, a as Wt, q as jt, r as Yt, J as qt } from "./index-C137VZkI.js";
3
+ import { u as Jt } from "./useUserOptionState-BIvW1Kz7.js";
4
+ import { u as Kt } from "./useChartAccessibility-9icAAmYg.js";
5
+ import { u as Qt } from "./usePrinter-B63T3abI.js";
6
+ import { t as Zt, u as el } from "./useResponsive-JZ9xq-JV.js";
7
+ import { u as Ke } from "./useNestedProp-ZNu8JrRX.js";
8
+ import tl from "./Legend-DwNuhYnG.js";
9
+ import ll from "./Title-BoKeR6i0.js";
10
+ import { _ as al } from "./Shape-CmlBrd-F.js";
11
+ import { u as sl } from "./useTimeLabels-Mrr0jrpL.js";
12
+ import { _ as ol } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], dl = ["id"], yl = ["stop-color"], fl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], ml = { key: 0 }, bl = ["fill", "d"], xl = ["stroke", "stroke-width", "d"], kl = ["fill", "d"], Al = ["stroke", "stroke-dasharray", "stroke-width", "d"], Cl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], wl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], $l = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], _l = { key: 0 }, Ml = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Pl = ["x", "y", "width", "height", "onMouseenter", "onClick"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ol = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Sl = ["x", "y", "text-anchor", "font-size", "fill"], zl = {
13
14
  key: 5,
14
15
  class: "vue-data-ui-watermark"
15
- }, Ol = ["onClick"], Sl = ["innerHTML"], zl = {
16
+ }, Ll = ["onClick"], Nl = ["innerHTML"], Dl = {
16
17
  __name: "vue-ui-ridgeline",
17
18
  props: {
18
19
  config: {
@@ -29,61 +30,61 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
29
30
  }
30
31
  },
31
32
  emits: ["selectLegend", "selectDatapoint", "selectX"],
32
- setup(Je, { expose: Ke, emit: Qe }) {
33
- const Ze = S(() => import("./vue-ui-accordion-D-tjbzQS.js")), et = S(() => import("./BaseDraggableDialog-CbNaTai1.js")), tt = S(() => import("./DataTable-DOdmEVBM.js")), lt = S(() => import("./PackageVersion-CJ0MHPau.js")), at = S(() => import("./PenAndPaper-CsV9xVqP.js")), st = S(() => import("./vue-ui-skeleton-B2N_3mr0.js")), ot = S(() => import("./UserOptions-B4olqrwb.js")), rt = S(() => import("./vue-ui-xy-CIiqKrxF.js")), { vue_ui_ridgeline: nt } = Lt(), x = Je, z = g({
33
+ setup(Qe, { expose: Ze, emit: et }) {
34
+ const tt = S(() => import("./vue-ui-accordion-BI2rBS5z.js")), lt = S(() => import("./BaseDraggableDialog-IYfaPzLA.js")), at = S(() => import("./DataTable-CuFlXUxm.js")), st = S(() => import("./PackageVersion-1psmmuzo.js")), ot = S(() => import("./PenAndPaper-DgUkj01g.js")), rt = S(() => import("./vue-ui-skeleton-CO_Hk6A_.js")), nt = S(() => import("./UserOptions-NrArsCuC.js")), ut = S(() => import("./vue-ui-xy-CZpcKEkV.js")), { vue_ui_ridgeline: it } = Ft(), x = Qe, z = f({
34
35
  get() {
35
36
  return !!x.dataset && x.dataset.length;
36
37
  },
37
38
  set(l) {
38
39
  return l;
39
40
  }
40
- }), ee = Qe, V = c(null), ve = c(null), he = c(null), T = Ee(null), F = Ee(null), de = c(null), ye = c(null), fe = c(0), ut = c(0), ge = c(0), w = c(ie()), pe = c(0), it = c(0), me = c(512), h = c(null), I = c(null), te = c(null), be = c(0);
41
- function xe() {
42
- const l = qe({
41
+ }), te = et, V = i(null), de = i(null), ye = i(null), T = Ve(null), F = Ve(null), fe = i(null), ge = i(null), pe = i(0), ct = i(0), me = i(0), C = i(ve()), be = i(0), vt = i(0), xe = i(512), v = i(null), I = i(null), le = i(null), ke = i(0);
42
+ function Ae() {
43
+ const l = Ke({
43
44
  userConfig: x.config,
44
- defaultConfig: nt
45
+ defaultConfig: it
45
46
  });
46
47
  return l.theme ? {
47
- ...qe({
48
- userConfig: Ut.vue_ui_ridgeline[l.theme] || x.config,
48
+ ...Ke({
49
+ userConfig: Wt.vue_ui_ridgeline[l.theme] || x.config,
49
50
  defaultConfig: l
50
51
  }),
51
- customPalette: Bt[l.theme] || K
52
+ customPalette: Gt[l.theme] || Q
52
53
  } : l;
53
54
  }
54
- const e = g({
55
- get: () => xe(),
55
+ const e = f({
56
+ get: () => Ae(),
56
57
  set: (l) => l
57
- }), $ = c(Math.min(
58
+ }), w = i(Math.min(
58
59
  e.value.style.chart.areas.height,
59
60
  e.value.style.chart.areas.rowHeight
60
61
  )), {
61
- userOptionsVisible: le,
62
- setUserOptionsVisibility: ke,
63
- keepUserOptionState: Ae
64
- } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
65
- St(se);
66
- function se() {
67
- if (Dt(x.dataset) ? ce({
62
+ userOptionsVisible: ae,
63
+ setUserOptionsVisibility: Ce,
64
+ keepUserOptionState: we
65
+ } = Jt({ config: e.value }), { svgRef: se } = Kt({ config: e.value.style.chart.title });
66
+ Lt(oe);
67
+ function oe() {
68
+ if (It(x.dataset) ? he({
68
69
  componentName: "VueUiRidgeline",
69
70
  type: "dataset"
70
71
  }) : x.dataset.forEach((l, o) => {
71
- We({
72
+ Ye({
72
73
  datasetObject: l,
73
74
  requiredAttributes: ["name", "datapoints"]
74
75
  }).forEach((t) => {
75
- z.value = !1, ce({
76
+ z.value = !1, he({
76
77
  componentName: "VueUiRidgeline",
77
78
  type: "datasetSerieAttribute",
78
79
  property: t,
79
80
  index: o
80
81
  });
81
82
  }), l.datapoints.length && l.datapoints.forEach((t, s) => {
82
- We({
83
+ Ye({
83
84
  datasetObject: t,
84
85
  requiredAttributes: ["name", "values"]
85
86
  }).forEach((a) => {
86
- z.value = !1, ce({
87
+ z.value = !1, he({
87
88
  componentName: "VueUiRidgeline",
88
89
  type: "datasetSerieAttribute",
89
90
  property: `datapoint.${a}`,
@@ -91,183 +92,189 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
91
92
  });
92
93
  });
93
94
  });
94
- }), it.value = x.dataset.length, $.value = Math.min(
95
+ }), vt.value = x.dataset.length, w.value = Math.min(
95
96
  e.value.style.chart.areas.height,
96
97
  e.value.style.chart.areas.rowHeight
97
98
  ), e.value.responsive) {
98
- const l = Kt(() => {
99
- const { width: o, height: t } = Qt({
99
+ const l = Zt(() => {
100
+ const { width: o, height: t } = el({
100
101
  chart: V.value,
101
- title: e.value.style.chart.title.text ? ve.value : null,
102
- legend: e.value.style.chart.legend.show ? he.value : null,
103
- source: de.value,
104
- noTitle: ye.value,
102
+ title: e.value.style.chart.title.text ? de.value : null,
103
+ legend: e.value.style.chart.legend.show ? ye.value : null,
104
+ source: fe.value,
105
+ noTitle: ge.value,
105
106
  padding: e.value.style.chart.padding
106
107
  });
107
108
  requestAnimationFrame(() => {
108
- me.value = o, $.value = t / x.dataset.length, be.value = t;
109
+ xe.value = o, w.value = t / x.dataset.length, ke.value = t;
109
110
  });
110
111
  });
111
112
  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);
112
113
  }
113
114
  }
114
- zt(() => {
115
+ Nt(() => {
115
116
  T.value && (F.value && T.value.unobserve(F.value), T.value.disconnect());
116
117
  });
117
- const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = Jt({
118
- elementId: `vue-ui-ridgeline_${w.value}`,
118
+ const { isPrinting: $e, isImaging: _e, generatePdf: Me, generateImage: Pe } = Qt({
119
+ elementId: `vue-ui-ridgeline_${C.value}`,
119
120
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
120
121
  options: e.value.userOptions.print
121
- }), ct = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = g(() => Ft(e.value.customPalette)), B = c({
122
+ }), ht = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = f(() => Rt(e.value.customPalette)), B = i({
122
123
  showTable: e.value.table.show
123
124
  });
124
- He(() => x.config, (l) => {
125
- e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, se(), fe.value += 1, ge.value += 1, $.value = Math.min(
125
+ Be(() => x.config, (l) => {
126
+ e.value = Ae(), ae.value = !e.value.userOptions.showOnChartHover, oe(), pe.value += 1, me.value += 1, w.value = Math.min(
126
127
  e.value.style.chart.areas.height,
127
128
  e.value.style.chart.areas.rowHeight
128
129
  ), B.value.showTable = e.value.table.show;
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
- function Me(l) {
132
- O.value.includes(l) ? O.value = O.value.filter((o) => o !== l) : O.value.push(l), ee("selectLegend", X.value);
130
+ }, { deep: !0 }), Be(() => x.dataset, oe, { deep: !0 });
131
+ const re = f(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
132
+ function Te(l) {
133
+ O.value.includes(l) ? O.value = O.value.filter((o) => o !== l) : O.value.push(l), te("selectLegend", X.value);
133
134
  }
134
- const _ = g(() => z.value ? x.dataset.map((l, o) => ({
135
+ const _ = f(() => z.value ? x.dataset.map((l, o) => ({
135
136
  ...l,
136
- labelLen: yt(l.name, e.value.style.chart.yAxis.labels.fontSize),
137
- uid: ie(),
137
+ labelLen: gt(l.name, e.value.style.chart.yAxis.labels.fontSize),
138
+ uid: ve(),
138
139
  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
+ const a = t.color ? Xt(t.color) : dt.value[s] || Q[s] || Q[s % Q.length], h = qe(t.name);
140
141
  return {
141
142
  ...t,
142
143
  color: a,
143
- id: i
144
+ id: h
144
145
  };
145
146
  })
146
- })) : []), Pe = g(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * oe.value), k = g(() => ({
147
+ })) : []), Oe = f(() => e.value.style.chart.padding.top + w.value * x.dataset.length + w.value * re.value), k = f(() => ({
147
148
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
148
149
  top: y.value.padding.top,
149
150
  left: y.value.padding.left,
150
151
  right: y.value.width - y.value.padding.right,
151
152
  bottom: y.value.padding.top + y.value.height,
152
153
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
153
- })), y = g(() => {
154
+ })), y = f(() => {
154
155
  const l = e.value.style.chart.padding;
155
156
  return {
156
- width: me.value,
157
- height: Pe.value,
157
+ width: xe.value,
158
+ height: Oe.value,
158
159
  padding: l
159
160
  };
160
- }), R = g(() => {
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
- a.push({
164
- selectorX: t + s * i,
165
- x: t + s * i - s / 2,
161
+ }), ne = f(() => Math.max(..._.value.flatMap((l) => l.datapoints.map((o) => o.values.length)))), W = f(() => sl({
162
+ values: e.value.style.chart.xAxis.labels.values,
163
+ maxDatapoints: ne.value,
164
+ formatter: e.value.style.chart.xAxis.labels.formatter,
165
+ start: 0,
166
+ end: e.value.style.chart.xAxis.labels.values.length
167
+ })), R = f(() => {
168
+ const l = Math.max(..._.value.map((a) => a.labelLen)), o = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, t = (k.value.width - o) / ne.value, s = [];
169
+ for (let a = 0; a < ne.value; a += 1)
170
+ s.push({
171
+ selectorX: o + t * a,
172
+ x: o + t * a - t / 2,
166
173
  y: k.value.top,
167
- label: e.value.style.chart.xAxis.labels.values[i] || "",
168
- index: i,
169
- width: s,
170
- height: Pe.value
174
+ label: e.value.style.chart.xAxis.labels.values[a] ? W.value[a].text : "",
175
+ index: a,
176
+ width: t,
177
+ height: Oe.value
171
178
  });
172
- return a;
179
+ return s;
173
180
  });
174
- function ht(l) {
175
- ee("selectX", _.value.map((o) => o.datapoints.map((t) => ({
181
+ function yt(l) {
182
+ te("selectX", _.value.map((o) => o.datapoints.map((t) => ({
176
183
  dp: t,
177
184
  selected: t.values[l.index]
178
185
  }))));
179
186
  }
180
- function dt(l, o) {
187
+ function ft(l, o) {
181
188
  return l.length * o / 2 + o;
182
189
  }
183
- function Te(l, o, t) {
184
- const s = dt(o, t);
190
+ function Se(l, o, t) {
191
+ const s = ft(o, t);
185
192
  return l + s > k.value.right;
186
193
  }
187
- function yt(l, o, t = "sans-serif") {
188
- const a = document.createElement("canvas").getContext("2d"), i = typeof o == "number" ? `${o}px` : o;
189
- return a.font = `${i} ${t}`, a.measureText(l).width;
194
+ function gt(l, o, t = "sans-serif") {
195
+ const a = document.createElement("canvas").getContext("2d"), h = typeof o == "number" ? `${o}px` : o;
196
+ return a.font = `${h} ${t}`, a.measureText(l).width;
190
197
  }
191
- const X = g(() => {
192
- $.value;
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
- function Fe(b) {
195
- return isNaN(b / De) ? 0 : b / De;
198
+ const X = f(() => {
199
+ w.value;
200
+ const l = Math.max(..._.value.map((b) => b.labelLen)), o = Math.max(..._.value.flatMap((b) => b.datapoints.map((L) => L.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((L) => L.values))), s = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((L) => L.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, h = (k.value.width - a) / o, $ = Math.abs(Math.min(s, 0)), Ie = t + $;
201
+ function Re(b) {
202
+ return isNaN(b / Ie) ? 0 : b / Ie;
196
203
  }
197
- return _.value.map((b, N) => {
198
- const Ie = k.value.top + $.value * N, L = k.value.top + Ie + $.value * oe.value * (1 - Fe(A));
204
+ return _.value.map((b, L) => {
205
+ const Xe = k.value.top + w.value * L, N = k.value.top + Xe + w.value * re.value * (1 - Re($));
199
206
  return {
200
207
  ...b,
201
208
  label: {
202
209
  x: a - e.value.style.chart.yAxis.labels.fontSize,
203
- y: L
210
+ y: N
204
211
  },
205
212
  datapoints: b.datapoints.map((U) => {
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 * oe.value * (1 - Fe(Mt + A)), Ot = G === Math.max(...U.values);
213
+ const D = U.values.map((G, Pt) => {
214
+ const Tt = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, Ot = a + h * Pt, St = k.value.top + Xe + w.value * re.value * (1 - Re(Tt + $)), zt = G === Math.max(...U.values);
208
215
  return {
209
- x: Pt,
210
- y: Tt,
216
+ x: Ot,
217
+ y: St,
211
218
  value: G,
212
- isMaxPoint: Ot,
213
- zero: L
219
+ isMaxPoint: zt,
220
+ zero: N
214
221
  };
215
- }), At = `${Rt(D, L, !1, !1)}`, Ct = `M ${a},${L} ${Ye(D)} ${D.at(-1).x},${L}`, wt = `M ${a},${L} ${D.at(-1).x},${L}`, Re = `M ${Xt(D)}`, Xe = `M ${Ye(D)}`, $t = Et(
216
- e.value.style.chart.areas.smooth ? Re : Xe
222
+ }), wt = `${Et(D, N, !1, !1)}`, $t = `M ${a},${N} ${Je(D)} ${D.at(-1).x},${N}`, _t = `M ${a},${N} ${D.at(-1).x},${N}`, Ee = `M ${Ht(D)}`, He = `M ${Je(D)}`, Mt = Vt(
223
+ e.value.style.chart.areas.smooth ? Ee : He
217
224
  );
218
225
  return {
219
226
  ...U,
220
- uid: ie(),
227
+ uid: ve(),
221
228
  plots: D,
222
- smoothPath: At,
223
- straightPath: Ct,
224
- zeroPath: wt,
225
- pathLength: $t,
226
- smoothPathRidge: Re,
227
- straightPathRidge: Xe
229
+ smoothPath: wt,
230
+ straightPath: $t,
231
+ zeroPath: _t,
232
+ pathLength: Mt,
233
+ smoothPathRidge: Ee,
234
+ straightPathRidge: He
228
235
  };
229
236
  }).filter((U) => !O.value.includes(U.id))
230
237
  };
231
238
  });
232
- }), O = c([]);
233
- function ft(l) {
239
+ }), O = i([]);
240
+ function pt(l) {
234
241
  const o = /* @__PURE__ */ new Map();
235
242
  return l.forEach((t) => {
236
243
  t.datapoints.forEach((s, a) => {
237
- const i = je(s.name);
238
- o.has(i) || o.set(i, {
239
- id: i,
244
+ const h = qe(s.name);
245
+ o.has(h) || o.set(h, {
246
+ id: h,
240
247
  name: s.name,
241
248
  color: s.color,
242
249
  shape: "circle",
243
- segregate: () => Me(i),
244
- isSegregated: O.value.includes(i),
245
- opacity: O.value.includes(i) ? 0.5 : 1
250
+ segregate: () => Te(h),
251
+ isSegregated: O.value.includes(h),
252
+ opacity: O.value.includes(h) ? 0.5 : 1
246
253
  });
247
254
  });
248
255
  }), Array.from(o.values());
249
256
  }
250
- const re = g(() => ft(_.value)), gt = g(() => ({
257
+ const ue = f(() => pt(_.value)), mt = f(() => ({
251
258
  cy: "donut-div-legend",
252
259
  backgroundColor: e.value.style.chart.legend.backgroundColor,
253
260
  color: e.value.style.chart.legend.color,
254
261
  fontSize: e.value.style.chart.legend.fontSize,
255
262
  paddingBottom: 12,
256
263
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
257
- })), E = c(!1);
258
- function pt(l) {
259
- E.value = l, pe.value += 1;
264
+ })), E = i(!1);
265
+ function bt(l) {
266
+ E.value = l, be.value += 1;
260
267
  }
261
- const Oe = c({}), Se = c([]);
262
- function mt(l) {
263
- ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Se.value = l.datapoints.map((o) => ({
268
+ const ze = i({}), Le = i([]);
269
+ function xt(l) {
270
+ te("selectDatapoint", l), e.value.style.chart.dialog.show && (Le.value = l.datapoints.map((o) => ({
264
271
  name: o.name,
265
272
  color: o.color,
266
273
  type: "line",
267
274
  useArea: !0,
268
275
  smooth: e.value.style.chart.areas.smooth,
269
276
  series: o.values
270
- })), I.value = l, Oe.value = jt({
277
+ })), I.value = l, ze.value = qt({
271
278
  ...e.value.style.chart.dialog.xyChart,
272
279
  responsive: !0,
273
280
  // Overriding
@@ -279,7 +286,9 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
279
286
  ...e.value.style.chart.dialog.xyChart.chart.grid.labels,
280
287
  xAxisLabels: {
281
288
  ...e.value.style.chart.dialog.xyChart.chart.grid.labels.xAxisLabels,
282
- values: e.value.style.chart.xAxis.labels.values
289
+ values: e.value.style.chart.xAxis.labels.values,
290
+ // Overriding
291
+ formatter: e.value.style.chart.xAxis.labels.formatter
283
292
  // Overriding
284
293
  }
285
294
  }
@@ -290,23 +299,23 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
290
299
  // Overriding
291
300
  }
292
301
  }
293
- }), te.value && te.value.open());
302
+ }), le.value && le.value.open());
294
303
  }
295
- const ne = c(null);
296
- function bt(l) {
297
- ne.value = l;
304
+ const ie = i(null);
305
+ function kt(l) {
306
+ ie.value = l;
298
307
  }
299
- function xt() {
300
- ne.value = null;
308
+ function At() {
309
+ ie.value = null;
301
310
  }
302
- const W = c(!1);
303
- function ue() {
304
- W.value = !W.value;
311
+ const j = i(!1);
312
+ function ce() {
313
+ j.value = !j.value;
305
314
  }
306
- function ze() {
315
+ function Ne() {
307
316
  B.value.showTable = !B.value.showTable;
308
317
  }
309
- const Ne = g(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((s) => ({
318
+ const De = f(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((s) => ({
310
319
  ...s,
311
320
  rowName: `${t.name}: ${s.name}`
312
321
  }))).map((t) => [
@@ -315,10 +324,10 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
315
324
  color: t.color
316
325
  },
317
326
  ...t.values
318
- ]) })), j = g(() => {
327
+ ]) })), Y = f(() => {
319
328
  const l = [
320
329
  e.value.table.columnNames.series,
321
- ...e.value.style.chart.xAxis.labels.values
330
+ ...W.value.map((s) => s.text)
322
331
  ], o = {
323
332
  th: {
324
333
  backgroundColor: e.value.table.th.backgroundColor,
@@ -335,43 +344,43 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
335
344
  return {
336
345
  colNames: [
337
346
  e.value.table.columnNames.series,
338
- ...e.value.style.chart.xAxis.labels.values
347
+ ...W.value.map((s) => s.text)
339
348
  ],
340
349
  head: l,
341
- body: Ne.value.body,
350
+ body: De.value.body,
342
351
  config: o
343
352
  };
344
353
  });
345
- function Le(l = null) {
346
- Nt(() => {
354
+ function Fe(l = null) {
355
+ Dt(() => {
347
356
  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)])
357
+ [e.value.table.columnNames.series, ...W.map((a) => [a.text])],
358
+ ...De.value.body.map((a, h) => [a[0].name, ...a.slice(1)])
350
359
  ], t = [
351
360
  [e.value.style.chart.title.text],
352
361
  [e.value.style.chart.title.subtitle.text]
353
- ].concat(o), s = Gt(t);
354
- l ? l(s) : Wt({
362
+ ].concat(o), s = jt(t);
363
+ l ? l(s) : Yt({
355
364
  csvContent: s,
356
365
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
357
366
  });
358
367
  });
359
368
  }
360
- function kt() {
369
+ function Ct() {
361
370
  return X.value;
362
371
  }
363
- return Ke({
364
- getData: kt,
365
- generateImage: _e,
366
- generatePdf: $e,
367
- generateCsv: Le,
368
- toggleAnnotator: ue,
369
- toggleTable: ze
372
+ return Ze({
373
+ getData: Ct,
374
+ generateImage: Pe,
375
+ generatePdf: Me,
376
+ generateCsv: Fe,
377
+ toggleAnnotator: ce,
378
+ toggleTable: Ne
370
379
  }), (l, o) => (r(), n("div", {
371
380
  ref_key: "ridgelineChart",
372
381
  ref: V,
373
- class: Y(`vue-ui-ridgeline ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
374
- id: `vue-ui-ridgeline_${w.value}`,
382
+ class: q(`vue-ui-ridgeline ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
383
+ id: `vue-ui-ridgeline_${C.value}`,
375
384
  style: M({
376
385
  fontFamily: e.value.style.fontFamily,
377
386
  width: "100%",
@@ -379,33 +388,33 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
379
388
  background: e.value.style.chart.backgroundColor,
380
389
  height: e.value.responsive ? "100%" : void 0
381
390
  }),
382
- onMouseenter: o[4] || (o[4] = () => u(ke)(!0)),
383
- onMouseleave: o[5] || (o[5] = () => u(ke)(!1))
391
+ onMouseenter: o[4] || (o[4] = () => u(Ce)(!0)),
392
+ onMouseleave: o[5] || (o[5] = () => u(Ce)(!1))
384
393
  }, [
385
- e.value.userOptions.buttons.annotator && u(ae) ? (r(), P(u(at), {
394
+ e.value.userOptions.buttons.annotator && u(se) ? (r(), P(u(ot), {
386
395
  key: 0,
387
396
  color: e.value.style.chart.color,
388
397
  backgroundColor: e.value.style.chart.backgroundColor,
389
- active: W.value,
390
- svgRef: u(ae),
391
- onClose: ue
392
- }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
398
+ active: j.value,
399
+ svgRef: u(se),
400
+ onClose: ce
401
+ }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : c("", !0),
393
402
  p(l.$slots, "userConfig", {}, void 0, !0),
394
- ct.value ? (r(), n("div", {
403
+ ht.value ? (r(), n("div", {
395
404
  key: 1,
396
405
  ref_key: "noTitle",
397
- ref: ye,
406
+ ref: ge,
398
407
  class: "vue-data-ui-no-title-space",
399
408
  style: "height:36px; width: 100%;background:transparent"
400
- }, null, 512)) : v("", !0),
409
+ }, null, 512)) : c("", !0),
401
410
  e.value.style.chart.title.text ? (r(), n("div", {
402
411
  key: 2,
403
412
  ref_key: "chartTitle",
404
- ref: ve,
413
+ ref: de,
405
414
  style: "width:100%;background:transparent;padding-bottom:24px"
406
415
  }, [
407
- (r(), P(el, {
408
- key: `title_${fe.value}`,
416
+ (r(), P(ll, {
417
+ key: `title_${pe.value}`,
409
418
  config: {
410
419
  title: {
411
420
  cy: "ridgeline-div-title",
@@ -417,15 +426,15 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
417
426
  }
418
427
  }
419
428
  }, null, 8, ["config"]))
420
- ], 512)) : v("", !0),
421
- e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), P(u(ot), {
429
+ ], 512)) : c("", !0),
430
+ e.value.userOptions.show && z.value && (u(we) || u(ae)) ? (r(), P(u(nt), {
422
431
  ref: "details",
423
- key: `user_option_${pe.value}`,
432
+ key: `user_option_${be.value}`,
424
433
  backgroundColor: e.value.style.chart.backgroundColor,
425
434
  color: e.value.style.chart.color,
426
- isPrinting: u(Ce),
427
- isImaging: u(we),
428
- uid: w.value,
435
+ isPrinting: u($e),
436
+ isImaging: u(_e),
437
+ uid: C.value,
429
438
  hasTooltip: !1,
430
439
  callbacks: e.value.userOptions.callbacks,
431
440
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -440,21 +449,21 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
440
449
  isTooltip: !1,
441
450
  titles: { ...e.value.userOptions.buttonTitles },
442
451
  hasAnnotator: e.value.userOptions.buttons.annotator,
443
- isAnnotation: W.value,
452
+ isAnnotation: j.value,
444
453
  style: M({
445
- visibility: u(Ae) ? u(le) ? "visible" : "hidden" : "visible"
454
+ visibility: u(we) ? u(ae) ? "visible" : "hidden" : "visible"
446
455
  }),
447
- onToggleFullscreen: pt,
448
- onGeneratePdf: u($e),
449
- onGenerateCsv: Le,
450
- onGenerateImage: u(_e),
451
- onToggleTable: ze,
452
- onToggleAnnotator: ue
453
- }, Ve({ _: 2 }, [
456
+ onToggleFullscreen: bt,
457
+ onGeneratePdf: u(Me),
458
+ onGenerateCsv: Fe,
459
+ onGenerateImage: u(Pe),
460
+ onToggleTable: Ne,
461
+ onToggleAnnotator: ce
462
+ }, Ue({ _: 2 }, [
454
463
  l.$slots.menuIcon ? {
455
464
  name: "menuIcon",
456
465
  fn: m(({ isOpen: t, color: s }) => [
457
- p(l.$slots, "menuIcon", q(J({ isOpen: t, color: s })), void 0, !0)
466
+ p(l.$slots, "menuIcon", J(K({ isOpen: t, color: s })), void 0, !0)
458
467
  ]),
459
468
  key: "0"
460
469
  } : void 0,
@@ -496,31 +505,31 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
496
505
  l.$slots.optionFullscreen ? {
497
506
  name: "optionFullscreen",
498
507
  fn: m(({ toggleFullscreen: t, isFullscreen: s }) => [
499
- p(l.$slots, "optionFullscreen", q(J({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
508
+ p(l.$slots, "optionFullscreen", J(K({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
500
509
  ]),
501
510
  key: "6"
502
511
  } : void 0,
503
512
  l.$slots.optionAnnotator ? {
504
513
  name: "optionAnnotator",
505
514
  fn: m(({ toggleAnnotator: t, isAnnotator: s }) => [
506
- p(l.$slots, "optionAnnotator", q(J({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
515
+ p(l.$slots, "optionAnnotator", J(K({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
507
516
  ]),
508
517
  key: "7"
509
518
  } : void 0
510
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : v("", !0),
519
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
511
520
  z.value ? (r(), n("svg", {
512
521
  key: 4,
513
522
  ref_key: "svgRef",
514
- ref: ae,
515
- xmlns: u(Ht),
516
- class: Y({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
523
+ ref: se,
524
+ xmlns: u(Bt),
525
+ class: q({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
517
526
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${k.value.fullHeight <= 0 ? 10 : k.value.fullHeight}`,
518
- style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${be.value}px; width: 100%;` : ""}`)
527
+ style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${ke.value}px; width: 100%;` : ""}`)
519
528
  }, [
520
- Be(u(lt)),
529
+ Ge(u(st)),
521
530
  d("defs", null, [
522
- (r(!0), n(f, null, C(re.value, (t, s) => (r(), n("linearGradient", {
523
- id: `gradient-${t.id}-${w.value}`,
531
+ (r(!0), n(g, null, A(ue.value, (t, s) => (r(), n("linearGradient", {
532
+ id: `gradient-${t.id}-${C.value}`,
524
533
  x1: "50%",
525
534
  y1: "0%",
526
535
  x2: "50%",
@@ -530,27 +539,27 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
530
539
  offset: "0%",
531
540
  "stop-color": t.color,
532
541
  "stop-opacity": "1"
533
- }, null, 8, rl),
542
+ }, null, 8, il),
534
543
  d("stop", {
535
544
  offset: "30%",
536
545
  "stop-color": t.color,
537
546
  "stop-opacity": "0.7"
538
- }, null, 8, nl),
547
+ }, null, 8, cl),
539
548
  d("stop", {
540
549
  offset: "70%",
541
550
  "stop-color": t.color,
542
551
  "stop-opacity": "0.3"
543
- }, null, 8, ul),
552
+ }, null, 8, vl),
544
553
  d("stop", {
545
554
  offset: "100%",
546
555
  "stop-color": t.color,
547
556
  "stop-opacity": "0.1"
548
- }, null, 8, il)
549
- ], 8, ol))), 256)),
550
- (r(!0), n(f, null, C(X.value, (t, s) => (r(), n(f, null, [
551
- (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
557
+ }, null, 8, hl)
558
+ ], 8, ul))), 256)),
559
+ (r(!0), n(g, null, A(X.value, (t, s) => (r(), n(g, null, [
560
+ (r(!0), n(g, null, A(t.datapoints, (a, h) => (r(), n("linearGradient", {
552
561
  key: `grad${a.id}`,
553
- id: `gradient-single-${w.value}-${a.uid}`,
562
+ id: `gradient-single-${C.value}-${a.uid}`,
554
563
  x1: "50%",
555
564
  y1: "0%",
556
565
  x2: "50%",
@@ -560,45 +569,45 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
560
569
  offset: "0%",
561
570
  "stop-color": a.color,
562
571
  "stop-opacity": "1"
563
- }, null, 8, vl),
572
+ }, null, 8, yl),
564
573
  d("stop", {
565
574
  offset: "30%",
566
575
  "stop-color": a.color,
567
576
  "stop-opacity": "0.7"
568
- }, null, 8, hl),
577
+ }, null, 8, fl),
569
578
  d("stop", {
570
579
  offset: "70%",
571
580
  "stop-color": a.color,
572
581
  "stop-opacity": "0.3"
573
- }, null, 8, dl),
582
+ }, null, 8, gl),
574
583
  d("stop", {
575
584
  offset: "100%",
576
585
  "stop-color": a.color,
577
586
  "stop-opacity": "0.1"
578
- }, null, 8, yl)
579
- ], 8, cl))), 128))
587
+ }, null, 8, pl)
588
+ ], 8, dl))), 128))
580
589
  ], 64))), 256))
581
590
  ]),
582
- (r(!0), n(f, null, C(X.value, (t, s) => (r(), n("g", {
591
+ (r(!0), n(g, null, A(X.value, (t, s) => (r(), n("g", {
583
592
  key: `ds-${s}`
584
593
  }, [
585
- (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("g", {
594
+ (r(!0), n(g, null, A(t.datapoints, (a, h) => (r(), n("g", {
586
595
  key: a.id
587
596
  }, [
588
- l.$slots.pattern ? (r(), n("g", fl, [
597
+ l.$slots.pattern ? (r(), n("g", ml, [
589
598
  d("defs", null, [
590
- p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: s, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
599
+ p(l.$slots, "pattern", We({ ref_for: !0 }, { datapointIndex: s, seriesIndex: h, patternId: `pattern_${C.value}_${a.uid}` }), void 0, !0)
591
600
  ])
592
- ])) : v("", !0),
601
+ ])) : c("", !0),
593
602
  d("path", {
594
- fill: l.$slots.pattern ? `url(#pattern_${w.value}_${a.uid})` : e.value.style.chart.backgroundColor,
603
+ fill: l.$slots.pattern ? `url(#pattern_${C.value}_${a.uid})` : e.value.style.chart.backgroundColor,
595
604
  stroke: "none",
596
605
  "stroke-linecap": "round",
597
606
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
598
607
  style: M({
599
608
  opacity: e.value.style.chart.areas.opacity
600
609
  })
601
- }, null, 12, gl),
610
+ }, null, 12, bl),
602
611
  d("path", {
603
612
  fill: "none",
604
613
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? a.color : e.value.style.chart.areas.stroke.color,
@@ -606,24 +615,24 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
606
615
  d: e.value.style.chart.areas.smooth ? a.smoothPathRidge : a.straightPathRidge,
607
616
  "stroke-linecap": "round",
608
617
  "stroke-linejoin": "round",
609
- class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
618
+ class: q({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
610
619
  style: M({
611
620
  strokeDasharray: a.pathLength,
612
621
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
613
622
  })
614
- }, null, 14, pl),
623
+ }, null, 14, xl),
615
624
  d("path", {
616
- fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${a.id}-${w.value})` : `url(#gradient-single-${w.value}-${a.uid})` : a.color,
625
+ fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${a.id}-${C.value})` : `url(#gradient-single-${C.value}-${a.uid})` : a.color,
617
626
  stroke: "none",
618
627
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
619
628
  "stroke-linecap": "round",
620
629
  "stroke-linejoin": "round",
621
- class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
630
+ class: q({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
622
631
  style: M({
623
632
  strokeDasharray: a.pathLength,
624
633
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
625
634
  })
626
- }, null, 14, ml),
635
+ }, null, 14, kl),
627
636
  e.value.style.chart.zeroLine.show ? (r(), n("path", {
628
637
  key: 1,
629
638
  stroke: e.value.style.chart.zeroLine.useSerieColor ? a.color : e.value.style.chart.zeroLine.stroke,
@@ -631,20 +640,20 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
631
640
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
632
641
  d: a.zeroPath,
633
642
  "stroke-linecap": "round"
634
- }, null, 8, bl)) : v("", !0),
635
- e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(f, { key: 2 }, C(a.plots, (A) => (r(), n(f, null, [
636
- A.isMaxPoint ? (r(), n("line", {
643
+ }, null, 8, Al)) : c("", !0),
644
+ e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(g, { key: 2 }, A(a.plots, ($) => (r(), n(g, null, [
645
+ $.isMaxPoint ? (r(), n("line", {
637
646
  key: 0,
638
- x1: A.x,
639
- y1: A.y,
640
- x2: A.x,
641
- y2: A.zero,
642
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Vt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
647
+ x1: $.x,
648
+ y1: $.y,
649
+ x2: $.x,
650
+ y2: $.zero,
651
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Ut)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
643
652
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
644
653
  "stroke-linecap": "round",
645
654
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
646
- }, null, 8, xl)) : v("", !0)
647
- ], 64))), 256)) : v("", !0),
655
+ }, null, 8, Cl)) : c("", !0)
656
+ ], 64))), 256)) : c("", !0),
648
657
  a.plots.length === 1 ? (r(), n("circle", {
649
658
  key: 3,
650
659
  cx: a.plots[0].x,
@@ -656,7 +665,7 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
656
665
  style: {
657
666
  pointerEvents: "none"
658
667
  }
659
- }, null, 8, kl)) : v("", !0)
668
+ }, null, 8, wl)) : c("", !0)
660
669
  ]))), 128)),
661
670
  d("text", {
662
671
  x: t.label.x,
@@ -668,15 +677,15 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
668
677
  style: M({
669
678
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
670
679
  }),
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
- onMouseleave: xt,
674
- onClick: (a) => mt(t)
675
- }, H(t.name), 45, Al)
680
+ "text-decoration": e.value.style.chart.dialog.show && (ie.value === s || I.value && t.uid === I.value.uid) ? "underline" : "",
681
+ onMouseenter: (a) => kt(s),
682
+ onMouseleave: At,
683
+ onClick: (a) => xt(t)
684
+ }, H(t.name), 45, $l)
676
685
  ]))), 128)),
677
- e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Cl, [
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,
686
+ e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", _l, [
687
+ (r(!0), n(g, null, A(R.value, (t, s) => p(l.$slots, "time-label", We({ ref_for: !0 }, {
688
+ 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 && v.value && v.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
689
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
681
690
  content: t.label,
682
691
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
@@ -685,7 +694,7 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
685
694
  x: t.selectorX,
686
695
  y: k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
687
696
  }), () => [
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", {
697
+ 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 && v.value && v.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
698
  key: 0,
690
699
  "font-size": e.value.style.chart.xAxis.labels.fontSize,
691
700
  fill: e.value.style.chart.xAxis.labels.color,
@@ -693,38 +702,38 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
693
702
  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
703
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
695
704
  style: M({
696
- opacity: h.value ? h.value.index === s ? 1 : 0.2 : 1
705
+ opacity: v.value ? v.value.index === s ? 1 : 0.2 : 1
697
706
  })
698
- }, H(t.label), 13, wl)) : v("", !0)
707
+ }, H(t.label), 13, Ml)) : c("", !0)
699
708
  ], !0)), 256))
700
- ])) : v("", !0),
709
+ ])) : c("", !0),
701
710
  d("g", null, [
702
- (r(!0), n(f, null, C(R.value, (t, s) => (r(), n("rect", {
711
+ (r(!0), n(g, null, A(R.value, (t, s) => (r(), n("rect", {
703
712
  x: t.x,
704
713
  y: t.y,
705
714
  width: t.width < 0 ? 0.1 : t.width,
706
715
  height: t.height < 0 ? 0.1 : t.height,
707
716
  fill: "transparent",
708
- onMouseenter: (a) => h.value = t,
709
- onMouseleave: o[0] || (o[0] = (a) => h.value = null),
710
- onClick: () => ht(t)
711
- }, null, 40, $l))), 256)),
712
- e.value.style.chart.selector.show && h.value ? (r(), n("line", {
717
+ onMouseenter: (a) => v.value = t,
718
+ onMouseleave: o[0] || (o[0] = (a) => v.value = null),
719
+ onClick: () => yt(t)
720
+ }, null, 40, Pl))), 256)),
721
+ e.value.style.chart.selector.show && v.value ? (r(), n("line", {
713
722
  key: 0,
714
- x1: h.value.selectorX,
715
- x2: h.value.selectorX,
716
- y1: h.value.y,
717
- y2: h.value.y + h.value.height - $.value / 2,
723
+ x1: v.value.selectorX,
724
+ x2: v.value.selectorX,
725
+ y1: v.value.y,
726
+ y2: v.value.y + v.value.height - w.value / 2,
718
727
  stroke: e.value.style.chart.selector.stroke,
719
728
  "stroke-width": e.value.style.chart.selector.strokeWidth,
720
729
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
721
730
  "stroke-linecap": "round",
722
731
  style: { pointerEvents: "none" }
723
- }, null, 8, _l)) : v("", !0),
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, (s) => (r(), n(f, null, [
726
- (r(!0), n(f, null, C(s.plots, (a, i) => (r(), n(f, null, [
727
- h.value && h.value.index === i ? (r(), n("circle", {
732
+ }, null, 8, Tl)) : c("", !0),
733
+ v.value ? (r(!0), n(g, { key: 1 }, A(X.value, (t) => (r(), n(g, null, [
734
+ (r(!0), n(g, null, A(t.datapoints, (s) => (r(), n(g, null, [
735
+ (r(!0), n(g, null, A(s.plots, (a, h) => (r(), n(g, null, [
736
+ v.value && v.value.index === h ? (r(), n("circle", {
728
737
  key: 0,
729
738
  cx: a.x,
730
739
  cy: a.y,
@@ -735,15 +744,15 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
735
744
  style: {
736
745
  pointerEvents: "none"
737
746
  }
738
- }, null, 8, Ml)) : v("", !0),
739
- h.value && h.value.index === i ? (r(), n("text", {
747
+ }, null, 8, Ol)) : c("", !0),
748
+ v.value && v.value.index === h ? (r(), n("text", {
740
749
  key: 1,
741
- x: Te(
750
+ x: Se(
742
751
  a.x,
743
- u(Q)(
752
+ u(Z)(
744
753
  e.value.style.chart.selector.labels.formatter,
745
754
  a.value,
746
- u(Z)({
755
+ u(ee)({
747
756
  p: e.value.style.chart.xAxis.labels.prefix,
748
757
  v: a.value,
749
758
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -753,12 +762,12 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
753
762
  e.value.style.chart.selector.labels.fontSize
754
763
  ) ? a.x - e.value.style.chart.selector.labels.fontSize / 2 : a.x + e.value.style.chart.selector.labels.fontSize / 2,
755
764
  y: a.y + e.value.style.chart.selector.labels.fontSize / 3,
756
- "text-anchor": Te(
765
+ "text-anchor": Se(
757
766
  a.x,
758
- u(Q)(
767
+ u(Z)(
759
768
  e.value.style.chart.selector.labels.formatter,
760
769
  a.value,
761
- u(Z)({
770
+ u(ee)({
762
771
  p: e.value.style.chart.xAxis.labels.prefix,
763
772
  v: a.value,
764
773
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -772,26 +781,26 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
772
781
  style: {
773
782
  pointerEvents: "none"
774
783
  }
775
- }, H(u(Q)(
784
+ }, H(u(Z)(
776
785
  e.value.style.chart.selector.labels.formatter,
777
786
  a.value,
778
- u(Z)({
787
+ u(ee)({
779
788
  p: e.value.style.chart.xAxis.labels.prefix,
780
789
  v: a.value,
781
790
  s: e.value.style.chart.xAxis.labels.suffix,
782
791
  r: e.value.style.chart.selector.labels.rounding
783
792
  })
784
- )), 9, Pl)) : v("", !0)
793
+ )), 9, Sl)) : c("", !0)
785
794
  ], 64))), 256))
786
795
  ], 64))), 256))
787
- ], 64))), 256)) : v("", !0)
796
+ ], 64))), 256)) : c("", !0)
788
797
  ]),
789
798
  p(l.$slots, "svg", { svg: y.value }, void 0, !0)
790
- ], 14, sl)) : v("", !0),
791
- l.$slots.watermark ? (r(), n("div", Tl, [
792
- p(l.$slots, "watermark", q(J({ isPrinting: u(Ce) || u(we) })), void 0, !0)
793
- ])) : v("", !0),
794
- z.value ? v("", !0) : (r(), P(u(st), {
799
+ ], 14, nl)) : c("", !0),
800
+ l.$slots.watermark ? (r(), n("div", zl, [
801
+ p(l.$slots, "watermark", J(K({ isPrinting: u($e) || u(_e) })), void 0, !0)
802
+ ])) : c("", !0),
803
+ z.value ? c("", !0) : (r(), P(u(rt), {
795
804
  key: 6,
796
805
  config: {
797
806
  type: "ridgeline",
@@ -805,47 +814,47 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
805
814
  }, null, 8, ["config"])),
806
815
  d("div", {
807
816
  ref_key: "chartLegend",
808
- ref: he
817
+ ref: ye
809
818
  }, [
810
- e.value.style.chart.legend.show ? (r(), P(Zt, {
811
- key: `legend_${ge.value}`,
812
- legendSet: re.value,
813
- config: gt.value,
814
- onClickMarker: o[1] || (o[1] = ({ legend: t }) => Me(t.id))
815
- }, Ve({
819
+ e.value.style.chart.legend.show ? (r(), P(tl, {
820
+ key: `legend_${me.value}`,
821
+ legendSet: ue.value,
822
+ config: mt.value,
823
+ onClickMarker: o[1] || (o[1] = ({ legend: t }) => Te(t.id))
824
+ }, Ue({
816
825
  item: m(({ legend: t }) => [
817
826
  d("div", {
818
827
  style: M(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
819
828
  onClick: (s) => t.segregate()
820
- }, H(t.name), 13, Ol)
829
+ }, H(t.name), 13, Ll)
821
830
  ]),
822
831
  _: 2
823
832
  }, [
824
833
  l.$slots.pattern ? {
825
834
  name: "legend-pattern",
826
835
  fn: m(({ legend: t, index: s }) => [
827
- Be(tl, {
836
+ Ge(al, {
828
837
  shape: t.shape,
829
838
  radius: 30,
830
839
  stroke: "none",
831
840
  plot: { x: 30, y: 30 },
832
- fill: `url(#pattern_${w.value}_${s})`
841
+ fill: `url(#pattern_${C.value}_${s})`
833
842
  }, null, 8, ["shape", "fill"])
834
843
  ]),
835
844
  key: "0"
836
845
  } : void 0
837
- ]), 1032, ["legendSet", "config"])) : v("", !0),
838
- p(l.$slots, "legend", { legend: re.value }, void 0, !0)
846
+ ]), 1032, ["legendSet", "config"])) : c("", !0),
847
+ p(l.$slots, "legend", { legend: ue.value }, void 0, !0)
839
848
  ], 512),
840
849
  l.$slots.source ? (r(), n("div", {
841
850
  key: 7,
842
851
  ref_key: "source",
843
- ref: de,
852
+ ref: fe,
844
853
  dir: "auto"
845
854
  }, [
846
855
  p(l.$slots, "source", {}, void 0, !0)
847
- ], 512)) : v("", !0),
848
- z.value ? (r(), P(u(Ze), {
856
+ ], 512)) : c("", !0),
857
+ z.value ? (r(), P(u(tt), {
849
858
  key: 8,
850
859
  hideDetails: "",
851
860
  config: {
@@ -862,23 +871,23 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
862
871
  }
863
872
  }, {
864
873
  content: m(() => [
865
- (r(), P(u(tt), {
866
- key: `table_${ut.value}`,
867
- colNames: j.value.colNames,
868
- head: j.value.head,
869
- body: j.value.body,
870
- config: j.value.config,
874
+ (r(), P(u(at), {
875
+ key: `table_${ct.value}`,
876
+ colNames: Y.value.colNames,
877
+ head: Y.value.head,
878
+ body: Y.value.body,
879
+ config: Y.value.config,
871
880
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
872
881
  onClose: o[2] || (o[2] = (t) => B.value.showTable = !1)
873
882
  }, {
874
883
  th: m(({ th: t }) => [
875
- d("div", { innerHTML: t }, null, 8, Sl)
884
+ d("div", { innerHTML: t }, null, 8, Nl)
876
885
  ]),
877
886
  td: m(({ td: t }) => [
878
- Ge(H(t.name ? t.name : u(Q)(
887
+ je(H(t.name ? t.name : u(Z)(
879
888
  e.value.style.chart.selector.labels.formatter,
880
889
  t,
881
- u(Z)({
890
+ u(ee)({
882
891
  p: e.value.style.chart.xAxis.labels.prefix,
883
892
  v: t,
884
893
  s: e.value.style.chart.xAxis.labels.suffix,
@@ -890,11 +899,11 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
890
899
  }, 8, ["colNames", "head", "body", "config", "title"]))
891
900
  ]),
892
901
  _: 1
893
- }, 8, ["config"])) : v("", !0),
894
- e.value.style.chart.dialog.show ? (r(), P(u(et), {
902
+ }, 8, ["config"])) : c("", !0),
903
+ e.value.style.chart.dialog.show ? (r(), P(u(lt), {
895
904
  key: 9,
896
905
  ref_key: "dialog",
897
- ref: te,
906
+ ref: le,
898
907
  onClose: o[3] || (o[3] = (t) => I.value = null),
899
908
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
900
909
  color: e.value.style.chart.dialog.color,
@@ -904,20 +913,20 @@ const al = ["id"], sl = ["xmlns", "viewBox"], ol = ["id"], rl = ["stop-color"],
904
913
  fullscreenParent: V.value
905
914
  }, {
906
915
  title: m(() => [
907
- Ge(H(I.value.name), 1)
916
+ je(H(I.value.name), 1)
908
917
  ]),
909
918
  default: m(() => [
910
- I.value ? (r(), P(u(rt), {
919
+ I.value ? (r(), P(u(ut), {
911
920
  key: 0,
912
- config: Oe.value,
913
- dataset: Se.value
914
- }, null, 8, ["config", "dataset"])) : v("", !0)
921
+ config: ze.value,
922
+ dataset: Le.value
923
+ }, null, 8, ["config", "dataset"])) : c("", !0)
915
924
  ]),
916
925
  _: 1
917
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0)
918
- ], 46, al));
926
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
927
+ ], 46, rl));
919
928
  }
920
- }, Ul = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-76b7ad48"]]);
929
+ }, Yl = /* @__PURE__ */ ol(Dl, [["__scopeId", "data-v-5e02e20c"]]);
921
930
  export {
922
- Ul as default
931
+ Yl as default
923
932
  };