vue-data-ui 2.14.2 → 2.14.3-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +17 -0
  2. package/dist/{Arrow-DNJvKMao.js → Arrow-CHiKXhrZ.js} +1 -1
  3. package/dist/{BaseDraggableDialog-XPll8ONG.js → BaseDraggableDialog-C_zNQi8p.js} +2 -2
  4. package/dist/{BaseIcon-D0Q4E4nY.js → BaseIcon-CjLVVFOF.js} +1 -1
  5. package/dist/{ColorPicker-CQl1kba_.js → ColorPicker-4qYqEUzw.js} +2 -2
  6. package/dist/{DataTable-DzCoab4C.js → DataTable-CQHjdD9t.js} +2 -2
  7. package/dist/{Legend-DLJ9I-cg.js → Legend-XakQeDJw.js} +4 -4
  8. package/dist/{NonSvgPenAndPaper-B0-XpttN.js → NonSvgPenAndPaper-BVSNCCsg.js} +3 -3
  9. package/dist/{PackageVersion-DrhYhyQR.js → PackageVersion-mH9eFSdi.js} +2 -2
  10. package/dist/{PenAndPaper-BdnVqpO9.js → PenAndPaper-C49A3fVl.js} +3 -3
  11. package/dist/{Shape-DdpwkHh8.js → Shape-D_nY-zV8.js} +1 -1
  12. package/dist/{Slicer-B6mk6VRe.js → Slicer-DAuA0E6E.js} +14 -14
  13. package/dist/{SparkTooltip-DvS7F_gk.js → SparkTooltip-BRAWFiKX.js} +1 -1
  14. package/dist/{Title-xtSGHclp.js → Title-Be-4IBib.js} +1 -1
  15. package/dist/{Tooltip-D8swCIay.js → Tooltip-B4lRAXc3.js} +1 -1
  16. package/dist/{UserOptions-BbJkNcCM.js → UserOptions-CZOjPjId.js} +2 -2
  17. package/dist/{dom-to-png-DrB0WHa5.js → dom-to-png-O95d2xYz.js} +1 -1
  18. package/dist/{img-CtqhCOnQ.js → img-B5QfWbFM.js} +1 -1
  19. package/dist/{index-DBYSSUsg.js → index-DpgjO9No.js} +409 -394
  20. package/dist/{pdf-Cq3bf6D0.js → pdf-C86OOuya.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-Cu77c3W4.js → useNestedProp-BS0-lsm3.js} +1 -1
  23. package/dist/{usePrinter-xF9W73YL.js → usePrinter-EqGRLYQ_.js} +2 -2
  24. package/dist/{vue-data-ui-BhsGEgCE.js → vue-data-ui-CkGWUdE5.js} +63 -63
  25. package/dist/vue-data-ui.js +21 -21
  26. package/dist/{vue-ui-3d-bar-BiehKQpG.js → vue-ui-3d-bar-BMy6RIsR.js} +5 -5
  27. package/dist/{vue-ui-accordion-CEZHj_of.js → vue-ui-accordion-B7SuIgFc.js} +3 -3
  28. package/dist/{vue-ui-age-pyramid-CV3X9UIL.js → vue-ui-age-pyramid-DWAc3Ofk.js} +5 -5
  29. package/dist/{vue-ui-annotator-C0tRqId7.js → vue-ui-annotator-BjW1IoFR.js} +2 -2
  30. package/dist/{vue-ui-bullet-Dnzzp7eQ.js → vue-ui-bullet-DfpzNl51.js} +6 -6
  31. package/dist/{vue-ui-candlestick-HP8z-e20.js → vue-ui-candlestick-BhWpJIxD.js} +6 -6
  32. package/dist/{vue-ui-carousel-table-CIytKGfB.js → vue-ui-carousel-table-DMSlJoWw.js} +4 -4
  33. package/dist/{vue-ui-chestnut-jJ5DocEt.js → vue-ui-chestnut-Dby5X8Oy.js} +4 -4
  34. package/dist/{vue-ui-chord-C2p48bdc.js → vue-ui-chord-BBjEiNoo.js} +7 -7
  35. package/dist/{vue-ui-circle-pack-Cm42Kre2.js → vue-ui-circle-pack-QR1HniAL.js} +5 -5
  36. package/dist/{vue-ui-cursor-DYOAowBf.js → vue-ui-cursor-D9HDDbAr.js} +2 -2
  37. package/dist/{vue-ui-dashboard-CqQ_erdb.js → vue-ui-dashboard-DMgkrLHs.js} +62 -62
  38. package/dist/{vue-ui-digits-Ckblhu11.js → vue-ui-digits-AxsWsoNG.js} +2 -2
  39. package/dist/{vue-ui-donut-6ioyEN3H.js → vue-ui-donut-B3cs-HjU.js} +111 -111
  40. package/dist/{vue-ui-donut-evolution-DcpDJ9Nx.js → vue-ui-donut-evolution-piOrh5of.js} +295 -279
  41. package/dist/{vue-ui-dumbbell-Bs6C9JZw.js → vue-ui-dumbbell-C_amhKRH.js} +6 -6
  42. package/dist/{vue-ui-flow-2PtX-g_5.js → vue-ui-flow-kgzJDBYW.js} +26 -26
  43. package/dist/{vue-ui-funnel-DnjXDXiD.js → vue-ui-funnel-D582UlDY.js} +5 -5
  44. package/dist/{vue-ui-galaxy-C15I7QgX.js → vue-ui-galaxy-BCPNqux7.js} +4 -4
  45. package/dist/{vue-ui-gauge-C4ukJ9LH.js → vue-ui-gauge-6YFYdXxG.js} +5 -5
  46. package/dist/{vue-ui-gizmo-CV03sWPz.js → vue-ui-gizmo-PN0sgIDN.js} +3 -3
  47. package/dist/{vue-ui-heatmap-C-9U8urH.js → vue-ui-heatmap-bWGrfPpu.js} +6 -6
  48. package/dist/{vue-ui-history-plot-CctIOnX8.js → vue-ui-history-plot-CNxerxJF.js} +234 -210
  49. package/dist/{vue-ui-kpi-D8DQ02cm.js → vue-ui-kpi-BXiiCP9f.js} +3 -3
  50. package/dist/{vue-ui-mini-loader-DpwNHrxl.js → vue-ui-mini-loader-LXae2ars.js} +2 -2
  51. package/dist/{vue-ui-molecule-je8BUEgl.js → vue-ui-molecule-B2dzn9rQ.js} +16 -16
  52. package/dist/{vue-ui-mood-radar-DUwpDrKf.js → vue-ui-mood-radar-DIJJhVIZ.js} +19 -19
  53. package/dist/{vue-ui-nested-donuts-CcIiH5y3.js → vue-ui-nested-donuts-4lqDDJmG.js} +46 -46
  54. package/dist/{vue-ui-onion-B3ciM-zx.js → vue-ui-onion-BIgfyn7z.js} +6 -6
  55. package/dist/{vue-ui-parallel-coordinate-plot-C4jC8sCn.js → vue-ui-parallel-coordinate-plot-COW7u6EQ.js} +192 -175
  56. package/dist/{vue-ui-quadrant--xMPLV7W.js → vue-ui-quadrant-B3HOf0aF.js} +243 -225
  57. package/dist/{vue-ui-quick-chart-Bce5gdOB.js → vue-ui-quick-chart-Cg7pNkb3.js} +459 -443
  58. package/dist/{vue-ui-radar-Bs4DRm4L.js → vue-ui-radar-DY7BOmEO.js} +45 -45
  59. package/dist/{vue-ui-rating-BjP1BHbM.js → vue-ui-rating-C8ubvpA2.js} +8 -8
  60. package/dist/{vue-ui-relation-circle-D9P-zdmr.js → vue-ui-relation-circle-BSUJrp9v.js} +5 -5
  61. package/dist/{vue-ui-ridgeline-DmNbKyms.js → vue-ui-ridgeline-CNNfP0Gl.js} +185 -165
  62. package/dist/{vue-ui-rings-BebupVaJ.js → vue-ui-rings-C0iQMvwp.js} +7 -7
  63. package/dist/{vue-ui-scatter-cQ-Eu6ff.js → vue-ui-scatter-BaXESoFU.js} +49 -49
  64. package/dist/{vue-ui-skeleton-BJy7bURO.js → vue-ui-skeleton-C-ca3jum.js} +3 -3
  65. package/dist/{vue-ui-smiley-D5QHdm68.js → vue-ui-smiley-BPSnI-sv.js} +2 -2
  66. package/dist/{vue-ui-spark-trend-CP5l6hCt.js → vue-ui-spark-trend-C2p4SwT6.js} +3 -3
  67. package/dist/{vue-ui-sparkbar-CW95uw6O.js → vue-ui-sparkbar-C_Z7se8R.js} +3 -3
  68. package/dist/{vue-ui-sparkgauge-a4VbU8l_.js → vue-ui-sparkgauge-BNQP-wru.js} +8 -8
  69. package/dist/{vue-ui-sparkhistogram-Bu2URfSJ.js → vue-ui-sparkhistogram-S7ZqAbMr.js} +4 -4
  70. package/dist/{vue-ui-sparkline-TItbUk-X.js → vue-ui-sparkline-BOUcxjBn.js} +11 -11
  71. package/dist/{vue-ui-sparkstackbar-B7hTZ5lP.js → vue-ui-sparkstackbar-Bcz6Tg5h.js} +3 -3
  72. package/dist/{vue-ui-stackbar-Dsdwa6lC.js → vue-ui-stackbar-BwY3L4k_.js} +417 -373
  73. package/dist/{vue-ui-strip-plot-8t8ozRzt.js → vue-ui-strip-plot-BQKMvJ_f.js} +202 -184
  74. package/dist/{vue-ui-table-CFn0ptr3.js → vue-ui-table-BMFeG4Ll.js} +3 -3
  75. package/dist/{vue-ui-table-heatmap-By7Epu_x.js → vue-ui-table-heatmap-BMcm8nz5.js} +18 -18
  76. package/dist/{vue-ui-table-sparkline-CXqoNu29.js → vue-ui-table-sparkline-DvbV5c0E.js} +4 -4
  77. package/dist/{vue-ui-thermometer-XTsctSeT.js → vue-ui-thermometer-DaUJKwlB.js} +5 -5
  78. package/dist/{vue-ui-timer-LsMK3baq.js → vue-ui-timer-2lttGgfU.js} +5 -5
  79. package/dist/{vue-ui-tiremarks-Dmqxy_za.js → vue-ui-tiremarks-Br-K5C0A.js} +5 -5
  80. package/dist/{vue-ui-treemap-CBK79HgE.js → vue-ui-treemap-BMcITB4q.js} +7 -7
  81. package/dist/{vue-ui-vertical-bar-s0W_ZvXa.js → vue-ui-vertical-bar-DyHNX6fM.js} +8 -8
  82. package/dist/{vue-ui-waffle-DYSvsk-v.js → vue-ui-waffle-D2O27EVK.js} +246 -242
  83. package/dist/{vue-ui-wheel-ffWrYzpO.js → vue-ui-wheel-BJ11Yo4p.js} +5 -5
  84. package/dist/{vue-ui-word-cloud-DMtRVU6x.js → vue-ui-word-cloud-DoiCiPEX.js} +15 -15
  85. package/dist/{vue-ui-world-DPT1WnyR.js → vue-ui-world-DnATnNkX.js} +5 -5
  86. package/dist/{vue-ui-xy-BhuRQnpn.js → vue-ui-xy-DRE6d6PA.js} +591 -570
  87. package/dist/{vue-ui-xy-canvas-BaqwCoBL.js → vue-ui-xy-canvas-CB8YSoKV.js} +7 -7
  88. package/package.json +1 -1
@@ -1,19 +1,19 @@
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 Ft } from "vue";
2
- import { u as Dt, 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-DBYSSUsg.js";
1
+ import { defineAsyncComponent as z, 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 _, normalizeClass as q, createBlock as P, createCommentVNode as c, renderSlot as p, createElementVNode as d, createSlots as Ue, withCtx as m, normalizeProps as K, guardReactiveProps as J, createVNode as Ge, Fragment as g, renderList as A, mergeProps as We, toDisplayString as H, createTextVNode as je, nextTick as Ft } from "vue";
2
+ import { u as Dt, c as ve, o as It, e as he, g as Ye, b as Xt, d as Rt, p as Q, an as qe, a9 as Et, U as Ke, V as Ht, W as Vt, X as Bt, G as Ut, I as Gt, i as Z, f as ee, t as Wt, a as jt, q as Yt, r as qt, K as Kt } from "./index-DpgjO9No.js";
3
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-xF9W73YL.js";
6
- import { t as Zt, u as el } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as Ke } from "./useNestedProp-Cu77c3W4.js";
8
- import tl from "./Legend-DLJ9I-cg.js";
9
- import ll from "./Title-xtSGHclp.js";
10
- import { _ as al } from "./Shape-DdpwkHh8.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 = {
4
+ import { u as Qt } from "./useChartAccessibility-9icAAmYg.js";
5
+ import { u as Zt } from "./usePrinter-EqGRLYQ_.js";
6
+ import { t as el, u as tl } from "./useResponsive-JZ9xq-JV.js";
7
+ import { u as Je } from "./useNestedProp-BS0-lsm3.js";
8
+ import ll from "./Legend-XakQeDJw.js";
9
+ import al from "./Title-Be-4IBib.js";
10
+ import { _ as sl } from "./Shape-D_nY-zV8.js";
11
+ import { u as ol } from "./useTimeLabels-Mrr0jrpL.js";
12
+ import { _ as rl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
13
+ const nl = ["id"], ul = ["xmlns", "viewBox"], il = ["id"], cl = ["stop-color"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["id"], fl = ["stop-color"], gl = ["stop-color"], pl = ["stop-color"], ml = ["stop-color"], bl = { key: 0 }, xl = ["fill", "d"], kl = ["stroke", "stroke-width", "d"], Al = ["fill", "d"], $l = ["stroke", "stroke-dasharray", "stroke-width", "d"], wl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], Cl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], _l = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Ml = { key: 0 }, Pl = { key: 0 }, Tl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], Sl = ["font-size", "fill", "font-weight", "transform", "text-anchor", "innerHTML"], zl = ["x", "y", "width", "height", "onMouseenter", "onClick"], Ol = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ll = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Nl = ["x", "y", "text-anchor", "font-size", "fill"], Fl = {
14
14
  key: 5,
15
15
  class: "vue-data-ui-watermark"
16
- }, Ll = ["onClick"], Nl = ["innerHTML"], Fl = {
16
+ }, Dl = ["onClick"], Il = ["innerHTML"], Xl = {
17
17
  __name: "vue-ui-ridgeline",
18
18
  props: {
19
19
  config: {
@@ -31,25 +31,25 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
31
31
  },
32
32
  emits: ["selectLegend", "selectDatapoint", "selectX"],
33
33
  setup(Qe, { expose: Ze, emit: et }) {
34
- const tt = S(() => import("./vue-ui-accordion-CEZHj_of.js")), lt = S(() => import("./BaseDraggableDialog-XPll8ONG.js")), at = S(() => import("./DataTable-DzCoab4C.js")), st = S(() => import("./PackageVersion-DrhYhyQR.js")), ot = S(() => import("./PenAndPaper-BdnVqpO9.js")), rt = S(() => import("./vue-ui-skeleton-BJy7bURO.js")), nt = S(() => import("./UserOptions-BbJkNcCM.js")), ut = S(() => import("./vue-ui-xy-BhuRQnpn.js")), { vue_ui_ridgeline: it } = Dt(), x = Qe, z = f({
34
+ const tt = z(() => import("./vue-ui-accordion-B7SuIgFc.js")), lt = z(() => import("./BaseDraggableDialog-C_zNQi8p.js")), at = z(() => import("./DataTable-CQHjdD9t.js")), st = z(() => import("./PackageVersion-mH9eFSdi.js")), ot = z(() => import("./PenAndPaper-C49A3fVl.js")), rt = z(() => import("./vue-ui-skeleton-C-ca3jum.js")), nt = z(() => import("./UserOptions-CZOjPjId.js")), ut = z(() => import("./vue-ui-xy-DRE6d6PA.js")), { vue_ui_ridgeline: it } = Dt(), k = Qe, O = f({
35
35
  get() {
36
- return !!x.dataset && x.dataset.length;
36
+ return !!k.dataset && k.dataset.length;
37
37
  },
38
38
  set(l) {
39
39
  return l;
40
40
  }
41
- }), te = et, V = i(null), de = i(null), ye = i(null), T = Ve(null), D = 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);
41
+ }), te = et, V = i(null), de = i(null), ye = i(null), T = Ve(null), D = Ve(null), fe = i(null), ge = i(null), pe = i(0), ct = i(0), me = i(0), $ = i(ve()), be = i(0), vt = i(0), xe = i(512), v = i(null), I = i(null), le = i(null), ke = i(0);
42
42
  function Ae() {
43
- const l = Ke({
44
- userConfig: x.config,
43
+ const l = Je({
44
+ userConfig: k.config,
45
45
  defaultConfig: it
46
46
  });
47
47
  return l.theme ? {
48
- ...Ke({
49
- userConfig: Wt.vue_ui_ridgeline[l.theme] || x.config,
48
+ ...Je({
49
+ userConfig: jt.vue_ui_ridgeline[l.theme] || k.config,
50
50
  defaultConfig: l
51
51
  }),
52
- customPalette: Gt[l.theme] || Q
52
+ customPalette: Wt[l.theme] || Q
53
53
  } : l;
54
54
  }
55
55
  const e = f({
@@ -60,20 +60,20 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
60
60
  e.value.style.chart.areas.rowHeight
61
61
  )), {
62
62
  userOptionsVisible: ae,
63
- setUserOptionsVisibility: Ce,
63
+ setUserOptionsVisibility: $e,
64
64
  keepUserOptionState: we
65
- } = Jt({ config: e.value }), { svgRef: se } = Kt({ config: e.value.style.chart.title });
65
+ } = Jt({ config: e.value }), { svgRef: se } = Qt({ config: e.value.style.chart.title });
66
66
  Lt(oe);
67
67
  function oe() {
68
- if (It(x.dataset) ? he({
68
+ if (It(k.dataset) ? he({
69
69
  componentName: "VueUiRidgeline",
70
70
  type: "dataset"
71
- }) : x.dataset.forEach((l, o) => {
71
+ }) : k.dataset.forEach((l, o) => {
72
72
  Ye({
73
73
  datasetObject: l,
74
74
  requiredAttributes: ["name", "datapoints"]
75
75
  }).forEach((t) => {
76
- z.value = !1, he({
76
+ O.value = !1, he({
77
77
  componentName: "VueUiRidgeline",
78
78
  type: "datasetSerieAttribute",
79
79
  property: t,
@@ -84,7 +84,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
84
84
  datasetObject: t,
85
85
  requiredAttributes: ["name", "values"]
86
86
  }).forEach((a) => {
87
- z.value = !1, he({
87
+ O.value = !1, he({
88
88
  componentName: "VueUiRidgeline",
89
89
  type: "datasetSerieAttribute",
90
90
  property: `datapoint.${a}`,
@@ -92,12 +92,12 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
92
92
  });
93
93
  });
94
94
  });
95
- }), vt.value = x.dataset.length, w.value = Math.min(
95
+ }), vt.value = k.dataset.length, w.value = Math.min(
96
96
  e.value.style.chart.areas.height,
97
97
  e.value.style.chart.areas.rowHeight
98
98
  ), e.value.responsive) {
99
- const l = Zt(() => {
100
- const { width: o, height: t } = el({
99
+ const l = el(() => {
100
+ const { width: o, height: t } = tl({
101
101
  chart: V.value,
102
102
  title: e.value.style.chart.title.text ? de.value : null,
103
103
  legend: e.value.style.chart.legend.show ? ye.value : null,
@@ -106,7 +106,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
106
106
  padding: e.value.style.chart.padding
107
107
  });
108
108
  requestAnimationFrame(() => {
109
- xe.value = o, w.value = t / x.dataset.length, ke.value = t;
109
+ xe.value = o, w.value = t / k.dataset.length, ke.value = t;
110
110
  });
111
111
  });
112
112
  T.value && (D.value && T.value.unobserve(D.value), T.value.disconnect()), T.value = new ResizeObserver(l), D.value = V.value.parentNode, T.value.observe(D.value);
@@ -115,36 +115,36 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
115
115
  Nt(() => {
116
116
  T.value && (D.value && T.value.unobserve(D.value), T.value.disconnect());
117
117
  });
118
- const { isPrinting: $e, isImaging: _e, generatePdf: Me, generateImage: Pe } = Qt({
119
- elementId: `vue-ui-ridgeline_${C.value}`,
118
+ const { isPrinting: Ce, isImaging: _e, generatePdf: Me, generateImage: Pe } = Zt({
119
+ elementId: `vue-ui-ridgeline_${$.value}`,
120
120
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
121
121
  options: e.value.userOptions.print
122
- }), ht = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = f(() => Rt(e.value.customPalette)), B = i({
122
+ }), ht = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), dt = f(() => Xt(e.value.customPalette)), B = i({
123
123
  showTable: e.value.table.show
124
124
  });
125
- Be(() => x.config, (l) => {
125
+ Be(() => k.config, (l) => {
126
126
  e.value = Ae(), ae.value = !e.value.userOptions.showOnChartHover, oe(), pe.value += 1, me.value += 1, w.value = Math.min(
127
127
  e.value.style.chart.areas.height,
128
128
  e.value.style.chart.areas.rowHeight
129
129
  ), B.value.showTable = e.value.table.show;
130
- }, { deep: !0 }), Be(() => x.dataset, oe, { deep: !0 });
130
+ }, { deep: !0 }), Be(() => k.dataset, oe, { deep: !0 });
131
131
  const re = f(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
132
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
+ S.value.includes(l) ? S.value = S.value.filter((o) => o !== l) : S.value.push(l), te("selectLegend", R.value);
134
134
  }
135
- const _ = f(() => z.value ? x.dataset.map((l, o) => ({
135
+ const M = f(() => O.value ? k.dataset.map((l, o) => ({
136
136
  ...l,
137
137
  labelLen: gt(l.name, e.value.style.chart.yAxis.labels.fontSize),
138
138
  uid: ve(),
139
139
  datapoints: l.datapoints.map((t, s) => {
140
- const a = t.color ? Xt(t.color) : dt.value[s] || Q[s] || Q[s % Q.length], h = qe(t.name);
140
+ const a = t.color ? Rt(t.color) : dt.value[s] || Q[s] || Q[s % Q.length], h = qe(t.name);
141
141
  return {
142
142
  ...t,
143
143
  color: a,
144
144
  id: h
145
145
  };
146
146
  })
147
- })) : []), Oe = f(() => e.value.style.chart.padding.top + w.value * x.dataset.length + w.value * re.value), k = f(() => ({
147
+ })) : []), Se = f(() => e.value.style.chart.padding.top + w.value * k.dataset.length + w.value * re.value), b = f(() => ({
148
148
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
149
149
  top: y.value.padding.top,
150
150
  left: y.value.padding.left,
@@ -155,31 +155,31 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
155
155
  const l = e.value.style.chart.padding;
156
156
  return {
157
157
  width: xe.value,
158
- height: Oe.value,
158
+ height: Se.value,
159
159
  padding: l
160
160
  };
161
- }), ne = f(() => Math.max(..._.value.flatMap((l) => l.datapoints.map((o) => o.values.length)))), W = f(() => sl({
161
+ }), ne = f(() => Math.max(...M.value.flatMap((l) => l.datapoints.map((o) => o.values.length)))), W = f(() => ol({
162
162
  values: e.value.style.chart.xAxis.labels.values,
163
163
  maxDatapoints: ne.value,
164
164
  formatter: e.value.style.chart.xAxis.labels.datetimeFormatter,
165
165
  start: 0,
166
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 = [];
167
+ })), X = f(() => {
168
+ const l = Math.max(...M.value.map((a) => a.labelLen)), o = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, t = (b.value.width - o) / ne.value, s = [];
169
169
  for (let a = 0; a < ne.value; a += 1)
170
170
  s.push({
171
171
  selectorX: o + t * a,
172
172
  x: o + t * a - t / 2,
173
- y: k.value.top,
173
+ y: b.value.top,
174
174
  label: e.value.style.chart.xAxis.labels.values[a] ? W.value[a].text : "",
175
175
  index: a,
176
176
  width: t,
177
- height: Oe.value
177
+ height: Se.value
178
178
  });
179
179
  return s;
180
180
  });
181
181
  function yt(l) {
182
- te("selectX", _.value.map((o) => o.datapoints.map((t) => ({
182
+ te("selectX", M.value.map((o) => o.datapoints.map((t) => ({
183
183
  dp: t,
184
184
  selected: t.values[l.index]
185
185
  }))));
@@ -187,39 +187,39 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
187
187
  function ft(l, o) {
188
188
  return l.length * o / 2 + o;
189
189
  }
190
- function Se(l, o, t) {
190
+ function ze(l, o, t) {
191
191
  const s = ft(o, t);
192
- return l + s > k.value.right;
192
+ return l + s > b.value.right;
193
193
  }
194
194
  function gt(l, o, t = "sans-serif") {
195
195
  const a = document.createElement("canvas").getContext("2d"), h = typeof o == "number" ? `${o}px` : o;
196
196
  return a.font = `${h} ${t}`, a.measureText(l).width;
197
197
  }
198
- const X = f(() => {
198
+ const R = f(() => {
199
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;
200
+ const l = Math.max(...M.value.map((x) => x.labelLen)), o = Math.max(...M.value.flatMap((x) => x.datapoints.map((L) => L.values.length))), t = Math.max(...M.value.flatMap((x) => x.datapoints.flatMap((L) => L.values))), s = Math.min(...M.value.flatMap((x) => x.datapoints.flatMap((L) => L.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, h = (b.value.width - a) / o, C = Math.abs(Math.min(s, 0)), Ie = t + C;
201
+ function Xe(x) {
202
+ return isNaN(x / Ie) ? 0 : x / Ie;
203
203
  }
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($));
204
+ return M.value.map((x, L) => {
205
+ const Re = b.value.top + w.value * L, N = b.value.top + Re + w.value * re.value * (1 - Xe(C));
206
206
  return {
207
- ...b,
207
+ ...x,
208
208
  label: {
209
209
  x: a - e.value.style.chart.yAxis.labels.fontSize,
210
210
  y: N
211
211
  },
212
- datapoints: b.datapoints.map((U) => {
212
+ datapoints: x.datapoints.map((U) => {
213
213
  const F = 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);
214
+ const Tt = isNaN(G) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(G) ? 0 : G || 0, St = a + h * Pt, zt = b.value.top + Re + w.value * re.value * (1 - Xe(Tt + C)), Ot = G === Math.max(...U.values);
215
215
  return {
216
- x: Ot,
217
- y: St,
216
+ x: St,
217
+ y: zt,
218
218
  value: G,
219
- isMaxPoint: zt,
219
+ isMaxPoint: Ot,
220
220
  zero: N
221
221
  };
222
- }), wt = `${Et(F, N, !1, !1)}`, $t = `M ${a},${N} ${Je(F)} ${F.at(-1).x},${N}`, _t = `M ${a},${N} ${F.at(-1).x},${N}`, Ee = `M ${Ht(F)}`, He = `M ${Je(F)}`, Mt = Vt(
222
+ }), wt = `${Et(F, N, !1, !1)}`, Ct = `M ${a},${N} ${Ke(F)} ${F.at(-1).x},${N}`, _t = `M ${a},${N} ${F.at(-1).x},${N}`, Ee = `M ${Ht(F)}`, He = `M ${Ke(F)}`, Mt = Vt(
223
223
  e.value.style.chart.areas.smooth ? Ee : He
224
224
  );
225
225
  return {
@@ -227,16 +227,16 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
227
227
  uid: ve(),
228
228
  plots: F,
229
229
  smoothPath: wt,
230
- straightPath: $t,
230
+ straightPath: Ct,
231
231
  zeroPath: _t,
232
232
  pathLength: Mt,
233
233
  smoothPathRidge: Ee,
234
234
  straightPathRidge: He
235
235
  };
236
- }).filter((U) => !O.value.includes(U.id))
236
+ }).filter((U) => !S.value.includes(U.id))
237
237
  };
238
238
  });
239
- }), O = i([]);
239
+ }), S = i([]);
240
240
  function pt(l) {
241
241
  const o = /* @__PURE__ */ new Map();
242
242
  return l.forEach((t) => {
@@ -248,13 +248,13 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
248
248
  color: s.color,
249
249
  shape: "circle",
250
250
  segregate: () => Te(h),
251
- isSegregated: O.value.includes(h),
252
- opacity: O.value.includes(h) ? 0.5 : 1
251
+ isSegregated: S.value.includes(h),
252
+ opacity: S.value.includes(h) ? 0.5 : 1
253
253
  });
254
254
  });
255
255
  }), Array.from(o.values());
256
256
  }
257
- const ue = f(() => pt(_.value)), mt = f(() => ({
257
+ const ue = f(() => pt(M.value)), mt = f(() => ({
258
258
  cy: "donut-div-legend",
259
259
  backgroundColor: e.value.style.chart.legend.backgroundColor,
260
260
  color: e.value.style.chart.legend.color,
@@ -265,7 +265,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
265
265
  function bt(l) {
266
266
  E.value = l, be.value += 1;
267
267
  }
268
- const ze = i({}), Le = i([]);
268
+ const Oe = i({}), Le = i([]);
269
269
  function xt(l) {
270
270
  te("selectDatapoint", l), e.value.style.chart.dialog.show && (Le.value = l.datapoints.map((o) => ({
271
271
  name: o.name,
@@ -274,7 +274,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
274
274
  useArea: !0,
275
275
  smooth: e.value.style.chart.areas.smooth,
276
276
  series: o.values
277
- })), I.value = l, ze.value = qt({
277
+ })), I.value = l, Oe.value = Kt({
278
278
  ...e.value.style.chart.dialog.xyChart,
279
279
  responsive: !0,
280
280
  // Overriding
@@ -315,7 +315,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
315
315
  function Ne() {
316
316
  B.value.showTable = !B.value.showTable;
317
317
  }
318
- const Fe = f(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((s) => ({
318
+ const Fe = f(() => ({ body: R.value.flatMap((t) => t.datapoints.flatMap((s) => ({
319
319
  ...s,
320
320
  rowName: `${t.name}: ${s.name}`
321
321
  }))).map((t) => [
@@ -359,18 +359,18 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
359
359
  ], t = [
360
360
  [e.value.style.chart.title.text],
361
361
  [e.value.style.chart.title.subtitle.text]
362
- ].concat(o), s = jt(t);
363
- l ? l(s) : Yt({
362
+ ].concat(o), s = Yt(t);
363
+ l ? l(s) : qt({
364
364
  csvContent: s,
365
365
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
366
366
  });
367
367
  });
368
368
  }
369
- function Ct() {
370
- return X.value;
369
+ function $t() {
370
+ return R.value;
371
371
  }
372
372
  return Ze({
373
- getData: Ct,
373
+ getData: $t,
374
374
  generateImage: Pe,
375
375
  generatePdf: Me,
376
376
  generateCsv: De,
@@ -380,16 +380,16 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
380
380
  ref_key: "ridgelineChart",
381
381
  ref: V,
382
382
  class: q(`vue-ui-ridgeline ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
383
- id: `vue-ui-ridgeline_${C.value}`,
384
- style: M({
383
+ id: `vue-ui-ridgeline_${$.value}`,
384
+ style: _({
385
385
  fontFamily: e.value.style.fontFamily,
386
386
  width: "100%",
387
387
  textAlign: "center",
388
388
  background: e.value.style.chart.backgroundColor,
389
389
  height: e.value.responsive ? "100%" : void 0
390
390
  }),
391
- onMouseenter: o[4] || (o[4] = () => u(Ce)(!0)),
392
- onMouseleave: o[5] || (o[5] = () => u(Ce)(!1))
391
+ onMouseenter: o[4] || (o[4] = () => u($e)(!0)),
392
+ onMouseleave: o[5] || (o[5] = () => u($e)(!1))
393
393
  }, [
394
394
  e.value.userOptions.buttons.annotator && u(se) ? (r(), P(u(ot), {
395
395
  key: 0,
@@ -413,7 +413,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
413
413
  ref: de,
414
414
  style: "width:100%;background:transparent;padding-bottom:24px"
415
415
  }, [
416
- (r(), P(ll, {
416
+ (r(), P(al, {
417
417
  key: `title_${pe.value}`,
418
418
  config: {
419
419
  title: {
@@ -427,14 +427,14 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
427
427
  }
428
428
  }, null, 8, ["config"]))
429
429
  ], 512)) : c("", !0),
430
- e.value.userOptions.show && z.value && (u(we) || u(ae)) ? (r(), P(u(nt), {
430
+ e.value.userOptions.show && O.value && (u(we) || u(ae)) ? (r(), P(u(nt), {
431
431
  ref: "details",
432
432
  key: `user_option_${be.value}`,
433
433
  backgroundColor: e.value.style.chart.backgroundColor,
434
434
  color: e.value.style.chart.color,
435
- isPrinting: u($e),
435
+ isPrinting: u(Ce),
436
436
  isImaging: u(_e),
437
- uid: C.value,
437
+ uid: $.value,
438
438
  hasTooltip: !1,
439
439
  callbacks: e.value.userOptions.callbacks,
440
440
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -450,7 +450,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
450
450
  titles: { ...e.value.userOptions.buttonTitles },
451
451
  hasAnnotator: e.value.userOptions.buttons.annotator,
452
452
  isAnnotation: j.value,
453
- style: M({
453
+ style: _({
454
454
  visibility: u(we) ? u(ae) ? "visible" : "hidden" : "visible"
455
455
  }),
456
456
  onToggleFullscreen: bt,
@@ -463,7 +463,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
463
463
  l.$slots.menuIcon ? {
464
464
  name: "menuIcon",
465
465
  fn: m(({ isOpen: t, color: s }) => [
466
- p(l.$slots, "menuIcon", J(K({ isOpen: t, color: s })), void 0, !0)
466
+ p(l.$slots, "menuIcon", K(J({ isOpen: t, color: s })), void 0, !0)
467
467
  ]),
468
468
  key: "0"
469
469
  } : void 0,
@@ -505,31 +505,31 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
505
505
  l.$slots.optionFullscreen ? {
506
506
  name: "optionFullscreen",
507
507
  fn: m(({ toggleFullscreen: t, isFullscreen: s }) => [
508
- p(l.$slots, "optionFullscreen", J(K({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
508
+ p(l.$slots, "optionFullscreen", K(J({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
509
509
  ]),
510
510
  key: "6"
511
511
  } : void 0,
512
512
  l.$slots.optionAnnotator ? {
513
513
  name: "optionAnnotator",
514
514
  fn: m(({ toggleAnnotator: t, isAnnotator: s }) => [
515
- p(l.$slots, "optionAnnotator", J(K({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
515
+ p(l.$slots, "optionAnnotator", K(J({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
516
516
  ]),
517
517
  key: "7"
518
518
  } : void 0
519
519
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "callbacks", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "titles", "hasAnnotator", "isAnnotation", "style", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
520
- z.value ? (r(), n("svg", {
520
+ O.value ? (r(), n("svg", {
521
521
  key: 4,
522
522
  ref_key: "svgRef",
523
523
  ref: se,
524
524
  xmlns: u(Bt),
525
525
  class: q({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
526
- viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${k.value.fullHeight <= 0 ? 10 : k.value.fullHeight}`,
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%;` : ""}`)
526
+ viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${b.value.fullHeight <= 0 ? 10 : b.value.fullHeight}`,
527
+ style: _(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${ke.value}px; width: 100%;` : ""}`)
528
528
  }, [
529
529
  Ge(u(st)),
530
530
  d("defs", null, [
531
531
  (r(!0), n(g, null, A(ue.value, (t, s) => (r(), n("linearGradient", {
532
- id: `gradient-${t.id}-${C.value}`,
532
+ id: `gradient-${t.id}-${$.value}`,
533
533
  x1: "50%",
534
534
  y1: "0%",
535
535
  x2: "50%",
@@ -539,27 +539,27 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
539
539
  offset: "0%",
540
540
  "stop-color": t.color,
541
541
  "stop-opacity": "1"
542
- }, null, 8, il),
542
+ }, null, 8, cl),
543
543
  d("stop", {
544
544
  offset: "30%",
545
545
  "stop-color": t.color,
546
546
  "stop-opacity": "0.7"
547
- }, null, 8, cl),
547
+ }, null, 8, vl),
548
548
  d("stop", {
549
549
  offset: "70%",
550
550
  "stop-color": t.color,
551
551
  "stop-opacity": "0.3"
552
- }, null, 8, vl),
552
+ }, null, 8, hl),
553
553
  d("stop", {
554
554
  offset: "100%",
555
555
  "stop-color": t.color,
556
556
  "stop-opacity": "0.1"
557
- }, null, 8, hl)
558
- ], 8, ul))), 256)),
559
- (r(!0), n(g, null, A(X.value, (t, s) => (r(), n(g, null, [
557
+ }, null, 8, dl)
558
+ ], 8, il))), 256)),
559
+ (r(!0), n(g, null, A(R.value, (t, s) => (r(), n(g, null, [
560
560
  (r(!0), n(g, null, A(t.datapoints, (a, h) => (r(), n("linearGradient", {
561
561
  key: `grad${a.id}`,
562
- id: `gradient-single-${C.value}-${a.uid}`,
562
+ id: `gradient-single-${$.value}-${a.uid}`,
563
563
  x1: "50%",
564
564
  y1: "0%",
565
565
  x2: "50%",
@@ -569,45 +569,45 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
569
569
  offset: "0%",
570
570
  "stop-color": a.color,
571
571
  "stop-opacity": "1"
572
- }, null, 8, yl),
572
+ }, null, 8, fl),
573
573
  d("stop", {
574
574
  offset: "30%",
575
575
  "stop-color": a.color,
576
576
  "stop-opacity": "0.7"
577
- }, null, 8, fl),
577
+ }, null, 8, gl),
578
578
  d("stop", {
579
579
  offset: "70%",
580
580
  "stop-color": a.color,
581
581
  "stop-opacity": "0.3"
582
- }, null, 8, gl),
582
+ }, null, 8, pl),
583
583
  d("stop", {
584
584
  offset: "100%",
585
585
  "stop-color": a.color,
586
586
  "stop-opacity": "0.1"
587
- }, null, 8, pl)
588
- ], 8, dl))), 128))
587
+ }, null, 8, ml)
588
+ ], 8, yl))), 128))
589
589
  ], 64))), 256))
590
590
  ]),
591
- (r(!0), n(g, null, A(X.value, (t, s) => (r(), n("g", {
591
+ (r(!0), n(g, null, A(R.value, (t, s) => (r(), n("g", {
592
592
  key: `ds-${s}`
593
593
  }, [
594
594
  (r(!0), n(g, null, A(t.datapoints, (a, h) => (r(), n("g", {
595
595
  key: a.id
596
596
  }, [
597
- l.$slots.pattern ? (r(), n("g", ml, [
597
+ l.$slots.pattern ? (r(), n("g", bl, [
598
598
  d("defs", null, [
599
- p(l.$slots, "pattern", We({ ref_for: !0 }, { datapointIndex: s, seriesIndex: h, patternId: `pattern_${C.value}_${a.uid}` }), void 0, !0)
599
+ p(l.$slots, "pattern", We({ ref_for: !0 }, { datapointIndex: s, seriesIndex: h, patternId: `pattern_${$.value}_${a.uid}` }), void 0, !0)
600
600
  ])
601
601
  ])) : c("", !0),
602
602
  d("path", {
603
- fill: l.$slots.pattern ? `url(#pattern_${C.value}_${a.uid})` : e.value.style.chart.backgroundColor,
603
+ fill: l.$slots.pattern ? `url(#pattern_${$.value}_${a.uid})` : e.value.style.chart.backgroundColor,
604
604
  stroke: "none",
605
605
  "stroke-linecap": "round",
606
606
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
607
- style: M({
607
+ style: _({
608
608
  opacity: e.value.style.chart.areas.opacity
609
609
  })
610
- }, null, 12, bl),
610
+ }, null, 12, xl),
611
611
  d("path", {
612
612
  fill: "none",
613
613
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? a.color : e.value.style.chart.areas.stroke.color,
@@ -616,23 +616,23 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
616
616
  "stroke-linecap": "round",
617
617
  "stroke-linejoin": "round",
618
618
  class: q({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
619
- style: M({
619
+ style: _({
620
620
  strokeDasharray: a.pathLength,
621
621
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
622
622
  })
623
- }, null, 14, xl),
623
+ }, null, 14, kl),
624
624
  d("path", {
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,
625
+ fill: e.value.style.chart.areas.useGradient ? e.value.style.chart.areas.useCommonColor ? `url(#gradient-${a.id}-${$.value})` : `url(#gradient-single-${$.value}-${a.uid})` : a.color,
626
626
  stroke: "none",
627
627
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
628
628
  "stroke-linecap": "round",
629
629
  "stroke-linejoin": "round",
630
630
  class: q({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
631
- style: M({
631
+ style: _({
632
632
  strokeDasharray: a.pathLength,
633
633
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
634
634
  })
635
- }, null, 14, kl),
635
+ }, null, 14, Al),
636
636
  e.value.style.chart.zeroLine.show ? (r(), n("path", {
637
637
  key: 1,
638
638
  stroke: e.value.style.chart.zeroLine.useSerieColor ? a.color : e.value.style.chart.zeroLine.stroke,
@@ -640,19 +640,19 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
640
640
  "stroke-width": e.value.style.chart.zeroLine.strokeWidth,
641
641
  d: a.zeroPath,
642
642
  "stroke-linecap": "round"
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", {
643
+ }, null, 8, $l)) : c("", !0),
644
+ e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(g, { key: 2 }, A(a.plots, (C) => (r(), n(g, null, [
645
+ C.isMaxPoint ? (r(), n("line", {
646
646
  key: 0,
647
- x1: $.x,
648
- y1: $.y,
649
- x2: $.x,
650
- y2: $.zero,
647
+ x1: C.x,
648
+ y1: C.y,
649
+ x2: C.x,
650
+ y2: C.zero,
651
651
  stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Ut)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
652
652
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
653
653
  "stroke-linecap": "round",
654
654
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
655
- }, null, 8, Cl)) : c("", !0)
655
+ }, null, 8, wl)) : c("", !0)
656
656
  ], 64))), 256)) : c("", !0),
657
657
  a.plots.length === 1 ? (r(), n("circle", {
658
658
  key: 3,
@@ -665,7 +665,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
665
665
  style: {
666
666
  pointerEvents: "none"
667
667
  }
668
- }, null, 8, wl)) : c("", !0)
668
+ }, null, 8, Cl)) : c("", !0)
669
669
  ]))), 128)),
670
670
  d("text", {
671
671
  x: t.label.x,
@@ -674,41 +674,61 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
674
674
  "font-size": e.value.style.chart.yAxis.labels.fontSize,
675
675
  "font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
676
676
  fill: e.value.style.chart.yAxis.labels.color,
677
- style: M({
677
+ style: _({
678
678
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
679
679
  }),
680
680
  "text-decoration": e.value.style.chart.dialog.show && (ie.value === s || I.value && t.uid === I.value.uid) ? "underline" : "",
681
681
  onMouseenter: (a) => kt(s),
682
682
  onMouseleave: At,
683
683
  onClick: (a) => xt(t)
684
- }, H(t.name), 45, $l)
684
+ }, H(t.name), 45, _l)
685
685
  ]))), 128)),
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,
686
+ e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Ml, [
687
+ (r(!0), n(g, null, A(X.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 === X.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(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
689
689
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
690
690
  content: t.label,
691
691
  textAnchor: e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
692
692
  fill: e.value.style.chart.xAxis.labels.color,
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})`,
693
+ transform: `translate(${t.selectorX}, ${b.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
694
694
  x: t.selectorX,
695
- y: k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
695
+ y: b.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY
696
696
  }), () => [
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", {
698
- key: 0,
699
- "font-size": e.value.style.chart.xAxis.labels.fontSize,
700
- fill: e.value.style.chart.xAxis.labels.color,
701
- "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
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})`,
703
- "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
704
- style: M({
705
- opacity: v.value ? v.value.index === s ? 1 : 0.2 : 1
706
- })
707
- }, H(t.label), 13, Ml)) : c("", !0)
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 === X.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(X.value.length / e.value.style.chart.xAxis.labels.modulo) === 0 ? (r(), n("g", Pl, [
698
+ String(t.label).includes(`
699
+ `) ? (r(), n("text", {
700
+ key: 1,
701
+ "font-size": e.value.style.chart.xAxis.labels.fontSize,
702
+ fill: e.value.style.chart.xAxis.labels.color,
703
+ "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
704
+ transform: `translate(${t.selectorX}, ${b.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
705
+ "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
706
+ style: _({
707
+ opacity: v.value ? v.value.index === s ? 1 : 0.2 : 1
708
+ }),
709
+ innerHTML: u(Gt)({
710
+ content: String(t.label),
711
+ fontSize: e.value.style.chart.xAxis.labels.fontSize,
712
+ fill: e.value.style.chart.xAxis.labels.color,
713
+ x: 0,
714
+ y: 0
715
+ })
716
+ }, null, 12, Sl)) : (r(), n("text", {
717
+ key: 0,
718
+ "font-size": e.value.style.chart.xAxis.labels.fontSize,
719
+ fill: e.value.style.chart.xAxis.labels.color,
720
+ "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
721
+ transform: `translate(${t.selectorX}, ${b.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
722
+ "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
723
+ style: _({
724
+ opacity: v.value ? v.value.index === s ? 1 : 0.2 : 1
725
+ })
726
+ }, H(t.label), 13, Tl))
727
+ ])) : c("", !0)
708
728
  ], !0)), 256))
709
729
  ])) : c("", !0),
710
730
  d("g", null, [
711
- (r(!0), n(g, null, A(R.value, (t, s) => (r(), n("rect", {
731
+ (r(!0), n(g, null, A(X.value, (t, s) => (r(), n("rect", {
712
732
  x: t.x,
713
733
  y: t.y,
714
734
  width: t.width < 0 ? 0.1 : t.width,
@@ -717,7 +737,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
717
737
  onMouseenter: (a) => v.value = t,
718
738
  onMouseleave: o[0] || (o[0] = (a) => v.value = null),
719
739
  onClick: () => yt(t)
720
- }, null, 40, Pl))), 256)),
740
+ }, null, 40, zl))), 256)),
721
741
  e.value.style.chart.selector.show && v.value ? (r(), n("line", {
722
742
  key: 0,
723
743
  x1: v.value.selectorX,
@@ -729,8 +749,8 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
729
749
  "stroke-dasharray": e.value.style.chart.selector.strokeDasharray,
730
750
  "stroke-linecap": "round",
731
751
  style: { pointerEvents: "none" }
732
- }, null, 8, Tl)) : c("", !0),
733
- v.value ? (r(!0), n(g, { key: 1 }, A(X.value, (t) => (r(), n(g, null, [
752
+ }, null, 8, Ol)) : c("", !0),
753
+ v.value ? (r(!0), n(g, { key: 1 }, A(R.value, (t) => (r(), n(g, null, [
734
754
  (r(!0), n(g, null, A(t.datapoints, (s) => (r(), n(g, null, [
735
755
  (r(!0), n(g, null, A(s.plots, (a, h) => (r(), n(g, null, [
736
756
  v.value && v.value.index === h ? (r(), n("circle", {
@@ -744,10 +764,10 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
744
764
  style: {
745
765
  pointerEvents: "none"
746
766
  }
747
- }, null, 8, Ol)) : c("", !0),
767
+ }, null, 8, Ll)) : c("", !0),
748
768
  v.value && v.value.index === h ? (r(), n("text", {
749
769
  key: 1,
750
- x: Se(
770
+ x: ze(
751
771
  a.x,
752
772
  u(Z)(
753
773
  e.value.style.chart.selector.labels.formatter,
@@ -762,7 +782,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
762
782
  e.value.style.chart.selector.labels.fontSize
763
783
  ) ? a.x - e.value.style.chart.selector.labels.fontSize / 2 : a.x + e.value.style.chart.selector.labels.fontSize / 2,
764
784
  y: a.y + e.value.style.chart.selector.labels.fontSize / 3,
765
- "text-anchor": Se(
785
+ "text-anchor": ze(
766
786
  a.x,
767
787
  u(Z)(
768
788
  e.value.style.chart.selector.labels.formatter,
@@ -790,17 +810,17 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
790
810
  s: e.value.style.chart.xAxis.labels.suffix,
791
811
  r: e.value.style.chart.selector.labels.rounding
792
812
  })
793
- )), 9, Sl)) : c("", !0)
813
+ )), 9, Nl)) : c("", !0)
794
814
  ], 64))), 256))
795
815
  ], 64))), 256))
796
816
  ], 64))), 256)) : c("", !0)
797
817
  ]),
798
818
  p(l.$slots, "svg", { svg: y.value }, void 0, !0)
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)
819
+ ], 14, ul)) : c("", !0),
820
+ l.$slots.watermark ? (r(), n("div", Fl, [
821
+ p(l.$slots, "watermark", K(J({ isPrinting: u(Ce) || u(_e) })), void 0, !0)
802
822
  ])) : c("", !0),
803
- z.value ? c("", !0) : (r(), P(u(rt), {
823
+ O.value ? c("", !0) : (r(), P(u(rt), {
804
824
  key: 6,
805
825
  config: {
806
826
  type: "ridgeline",
@@ -816,7 +836,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
816
836
  ref_key: "chartLegend",
817
837
  ref: ye
818
838
  }, [
819
- e.value.style.chart.legend.show ? (r(), P(tl, {
839
+ e.value.style.chart.legend.show ? (r(), P(ll, {
820
840
  key: `legend_${me.value}`,
821
841
  legendSet: ue.value,
822
842
  config: mt.value,
@@ -824,21 +844,21 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
824
844
  }, Ue({
825
845
  item: m(({ legend: t }) => [
826
846
  d("div", {
827
- style: M(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
847
+ style: _(`opacity:${S.value.includes(t.id) ? 0.5 : 1}`),
828
848
  onClick: (s) => t.segregate()
829
- }, H(t.name), 13, Ll)
849
+ }, H(t.name), 13, Dl)
830
850
  ]),
831
851
  _: 2
832
852
  }, [
833
853
  l.$slots.pattern ? {
834
854
  name: "legend-pattern",
835
855
  fn: m(({ legend: t, index: s }) => [
836
- Ge(al, {
856
+ Ge(sl, {
837
857
  shape: t.shape,
838
858
  radius: 30,
839
859
  stroke: "none",
840
860
  plot: { x: 30, y: 30 },
841
- fill: `url(#pattern_${C.value}_${s})`
861
+ fill: `url(#pattern_${$.value}_${s})`
842
862
  }, null, 8, ["shape", "fill"])
843
863
  ]),
844
864
  key: "0"
@@ -854,7 +874,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
854
874
  }, [
855
875
  p(l.$slots, "source", {}, void 0, !0)
856
876
  ], 512)) : c("", !0),
857
- z.value ? (r(), P(u(tt), {
877
+ O.value ? (r(), P(u(tt), {
858
878
  key: 8,
859
879
  hideDetails: "",
860
880
  config: {
@@ -881,7 +901,7 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
881
901
  onClose: o[2] || (o[2] = (t) => B.value.showTable = !1)
882
902
  }, {
883
903
  th: m(({ th: t }) => [
884
- d("div", { innerHTML: t }, null, 8, Nl)
904
+ d("div", { innerHTML: t }, null, 8, Il)
885
905
  ]),
886
906
  td: m(({ td: t }) => [
887
907
  je(H(t.name ? t.name : u(Z)(
@@ -918,15 +938,15 @@ const rl = ["id"], nl = ["xmlns", "viewBox"], ul = ["id"], il = ["stop-color"],
918
938
  default: m(() => [
919
939
  I.value ? (r(), P(u(ut), {
920
940
  key: 0,
921
- config: ze.value,
941
+ config: Oe.value,
922
942
  dataset: Le.value
923
943
  }, null, 8, ["config", "dataset"])) : c("", !0)
924
944
  ]),
925
945
  _: 1
926
946
  }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : c("", !0)
927
- ], 46, rl));
947
+ ], 46, nl));
928
948
  }
929
- }, Yl = /* @__PURE__ */ ol(Fl, [["__scopeId", "data-v-7c60b4ce"]]);
949
+ }, Jl = /* @__PURE__ */ rl(Xl, [["__scopeId", "data-v-dd64cabe"]]);
930
950
  export {
931
- Yl as default
951
+ Jl as default
932
952
  };