vue-data-ui 2.12.7-beta.0 → 2.12.7-beta.2

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 (87) hide show
  1. package/dist/{Arrow-CmqjRRUl.js → Arrow-BhI2Y-DB.js} +1 -1
  2. package/dist/{BaseDraggableDialog-BMlyvt7E.js → BaseDraggableDialog-DyUBiw-C.js} +68 -64
  3. package/dist/{BaseIcon-CZdMutjs.js → BaseIcon-PZPlJOYf.js} +1 -1
  4. package/dist/{ColorPicker-DvVKgyAl.js → ColorPicker-Bni7kKI_.js} +2 -2
  5. package/dist/{DataTable-Cv9CIz-a.js → DataTable-bcUa-A_V.js} +2 -2
  6. package/dist/{Legend-DFunFf8i.js → Legend-iNd1Vv1J.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-pVuHj6_A.js → NonSvgPenAndPaper-DwB3JfsE.js} +3 -3
  8. package/dist/{PackageVersion-CLY-udAA.js → PackageVersion-BVH19wf6.js} +1 -1
  9. package/dist/{PenAndPaper-B9na2mbr.js → PenAndPaper-U4bWifCe.js} +3 -3
  10. package/dist/{Shape-D3w9qas1.js → Shape-CTyy5HJi.js} +1 -1
  11. package/dist/{Slicer-ncY8krrM.js → Slicer-hiaHGsme.js} +2 -2
  12. package/dist/{SparkTooltip-CwThutH2.js → SparkTooltip-oo_wqrT6.js} +1 -1
  13. package/dist/{Title-B5qqUI3M.js → Title-BTCPUIcD.js} +1 -1
  14. package/dist/{Tooltip-C9rxJ-Ru.js → Tooltip-B9AfUFVK.js} +1 -1
  15. package/dist/{UserOptions-Ddy6CuLC.js → UserOptions-yZJ8noVU.js} +1 -1
  16. package/dist/{dom-to-png-DDlooC9r.js → dom-to-png-BgRIWz9M.js} +1 -1
  17. package/dist/{img-m9g7lR5d.js → img-CgYxq-UP.js} +1 -1
  18. package/dist/{index-BiHmNd1-.js → index-CaxNz2cE.js} +1 -1
  19. package/dist/{pdf-BqM953uL.js → pdf-eUy0b_yU.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/{useNestedProp-tRqS0ZAM.js → useNestedProp-DpK9-Xt0.js} +1 -1
  22. package/dist/{usePrinter-CRCbl1WG.js → usePrinter-BprQttno.js} +2 -2
  23. package/dist/{vue-data-ui-D9uTDt73.js → vue-data-ui-BkO9svuE.js} +63 -63
  24. package/dist/vue-data-ui.js +1 -1
  25. package/dist/{vue-ui-3d-bar-rtuSc8FS.js → vue-ui-3d-bar-Bft3k9wg.js} +5 -5
  26. package/dist/{vue-ui-accordion-CmCs2yR2.js → vue-ui-accordion-BZ16n4QT.js} +3 -3
  27. package/dist/{vue-ui-age-pyramid-BrzMSiyu.js → vue-ui-age-pyramid-BblPK5iv.js} +5 -5
  28. package/dist/{vue-ui-annotator-CYxmTpf6.js → vue-ui-annotator-DW3swnxO.js} +2 -2
  29. package/dist/{vue-ui-bullet-D25qNQfb.js → vue-ui-bullet-DybokJeh.js} +6 -6
  30. package/dist/{vue-ui-candlestick-BuerNa-r.js → vue-ui-candlestick-aXzuaWXT.js} +6 -6
  31. package/dist/{vue-ui-carousel-table-aN0HLsOO.js → vue-ui-carousel-table-D7_v27hl.js} +4 -4
  32. package/dist/{vue-ui-chestnut-oUj2ocsZ.js → vue-ui-chestnut-ClfPFRWK.js} +4 -4
  33. package/dist/{vue-ui-chord-C4evlXYB.js → vue-ui-chord-Clo2yN8x.js} +84 -83
  34. package/dist/{vue-ui-circle-pack-CWrNiKTY.js → vue-ui-circle-pack-B8JmpYZU.js} +5 -5
  35. package/dist/{vue-ui-cursor-DgpSttlt.js → vue-ui-cursor-1NiHT8ua.js} +2 -2
  36. package/dist/{vue-ui-dashboard-BN2ha1Eh.js → vue-ui-dashboard-Dqu8UHsY.js} +62 -62
  37. package/dist/{vue-ui-digits-BhjAxXgm.js → vue-ui-digits-CUtyrFQ-.js} +2 -2
  38. package/dist/{vue-ui-donut-D3_z61HI.js → vue-ui-donut-5_qG_tB0.js} +105 -104
  39. package/dist/{vue-ui-donut-evolution-oKtmZPx4.js → vue-ui-donut-evolution-1lYLTlUJ.js} +106 -104
  40. package/dist/{vue-ui-dumbbell-C8Lokx-F.js → vue-ui-dumbbell-CuwZfqp-.js} +6 -6
  41. package/dist/{vue-ui-flow-BVRkH0PS.js → vue-ui-flow-nxV5Lnel.js} +6 -6
  42. package/dist/{vue-ui-funnel-DFxcmAB5.js → vue-ui-funnel-tTYudPKX.js} +5 -5
  43. package/dist/{vue-ui-galaxy-CGE0hlBC.js → vue-ui-galaxy-CB7f2IrG.js} +4 -4
  44. package/dist/{vue-ui-gauge-B48eMvOR.js → vue-ui-gauge-C-GUoJrH.js} +5 -5
  45. package/dist/{vue-ui-gizmo-zTKNpjvv.js → vue-ui-gizmo-DJCYaqYy.js} +3 -3
  46. package/dist/{vue-ui-heatmap-UNfTt8SM.js → vue-ui-heatmap-Bbzq8KZx.js} +6 -6
  47. package/dist/{vue-ui-history-plot-CbCWmvtg.js → vue-ui-history-plot-B8-Tt_rt.js} +6 -6
  48. package/dist/{vue-ui-kpi-Drf_lrlh.js → vue-ui-kpi-VZWKmy4e.js} +3 -3
  49. package/dist/{vue-ui-mini-loader-DU3G6BVs.js → vue-ui-mini-loader-DzRSBGF2.js} +2 -2
  50. package/dist/{vue-ui-molecule-B5MOXYEA.js → vue-ui-molecule-Bd_c8Hcd.js} +4 -4
  51. package/dist/{vue-ui-mood-radar-CC_CVLvn.js → vue-ui-mood-radar-CjiJjcj8.js} +6 -6
  52. package/dist/{vue-ui-nested-donuts-D_H962kk.js → vue-ui-nested-donuts-CVhAGwOt.js} +6 -6
  53. package/dist/{vue-ui-onion-P8k6T724.js → vue-ui-onion-D9pp5ytM.js} +6 -6
  54. package/dist/{vue-ui-parallel-coordinate-plot-B5Los0vX.js → vue-ui-parallel-coordinate-plot-hOcz4qfM.js} +135 -134
  55. package/dist/{vue-ui-quadrant-B3wzCTxK.js → vue-ui-quadrant-Ht49w0AN.js} +119 -118
  56. package/dist/{vue-ui-quick-chart-oucj6hXk.js → vue-ui-quick-chart-SFe7EifM.js} +5 -5
  57. package/dist/{vue-ui-radar-Cjqlyu6d.js → vue-ui-radar-C1mc0XYY.js} +6 -6
  58. package/dist/{vue-ui-rating-gryk_h_6.js → vue-ui-rating-DVYexEqN.js} +2 -2
  59. package/dist/{vue-ui-relation-circle-ielvWC-1.js → vue-ui-relation-circle-CFkW0M7L.js} +5 -5
  60. package/dist/{vue-ui-ridgeline-Dydqo68b.js → vue-ui-ridgeline-DcOstg2I.js} +145 -142
  61. package/dist/{vue-ui-rings-BRBXektJ.js → vue-ui-rings-C56TMht1.js} +79 -78
  62. package/dist/{vue-ui-scatter-Df-BM7Ts.js → vue-ui-scatter-C2S6nsP6.js} +145 -144
  63. package/dist/{vue-ui-skeleton-CbYQYRvD.js → vue-ui-skeleton-C2paDc2u.js} +3 -3
  64. package/dist/{vue-ui-smiley-BfHaQMaW.js → vue-ui-smiley-gtVgClTv.js} +2 -2
  65. package/dist/{vue-ui-spark-trend-z3fUChs_.js → vue-ui-spark-trend-C_p-qgkO.js} +3 -3
  66. package/dist/{vue-ui-sparkbar-ChtFIugH.js → vue-ui-sparkbar-DIS3FVja.js} +3 -3
  67. package/dist/{vue-ui-sparkgauge-DtpODCww.js → vue-ui-sparkgauge-D92XnV3e.js} +3 -3
  68. package/dist/{vue-ui-sparkhistogram-C3XnYiXI.js → vue-ui-sparkhistogram-BQlf7QW3.js} +62 -61
  69. package/dist/{vue-ui-sparkline-CoL8jiX8.js → vue-ui-sparkline-C9vOtZav.js} +3 -3
  70. package/dist/{vue-ui-sparkstackbar-CYk3mZJH.js → vue-ui-sparkstackbar-B2G5fOpR.js} +3 -3
  71. package/dist/{vue-ui-stackbar-D9LGbuG5.js → vue-ui-stackbar-L_7f4pZj.js} +144 -143
  72. package/dist/{vue-ui-strip-plot-C5r1Ee2R.js → vue-ui-strip-plot-Dhj9PQvC.js} +136 -135
  73. package/dist/{vue-ui-table-DBaT_TfA.js → vue-ui-table-CZ1DXGtE.js} +3 -3
  74. package/dist/{vue-ui-table-heatmap-CYW4YfKN.js → vue-ui-table-heatmap-C8oJOBM-.js} +70 -69
  75. package/dist/{vue-ui-table-sparkline-Di0MYR4p.js → vue-ui-table-sparkline-D-ZfWmxu.js} +4 -4
  76. package/dist/{vue-ui-thermometer-BF1btHY2.js → vue-ui-thermometer-D7S49sXa.js} +5 -5
  77. package/dist/{vue-ui-timer-D9FfRWN5.js → vue-ui-timer-Bh_0k4fp.js} +5 -5
  78. package/dist/{vue-ui-tiremarks-CQ0lk8fJ.js → vue-ui-tiremarks-CQVFXHjo.js} +5 -5
  79. package/dist/{vue-ui-treemap-1Lx7YRtc.js → vue-ui-treemap-DshqhXXR.js} +7 -7
  80. package/dist/{vue-ui-vertical-bar-DdVVQ1ED.js → vue-ui-vertical-bar-64gS06ES.js} +145 -144
  81. package/dist/{vue-ui-waffle-BhnuPiRD.js → vue-ui-waffle-MjyNmQ85.js} +138 -137
  82. package/dist/{vue-ui-wheel-BIjJ0fg8.js → vue-ui-wheel-FzQbyvix.js} +5 -5
  83. package/dist/{vue-ui-word-cloud-3-r8HwO_.js → vue-ui-word-cloud-BHPSrRVK.js} +5 -5
  84. package/dist/{vue-ui-world-CPIGEswq.js → vue-ui-world-8UgjM7P9.js} +361 -360
  85. package/dist/{vue-ui-xy-9e_epIN4.js → vue-ui-xy-BbYuna1k.js} +16 -16
  86. package/dist/{vue-ui-xy-canvas-DcGgQ7s4.js → vue-ui-xy-canvas-CDNUpxZ5.js} +7 -7
  87. package/package.json +1 -1
@@ -1,17 +1,18 @@
1
- import { defineAsyncComponent as M, computed as f, ref as c, shallowRef as Ee, onMounted as zt, onBeforeUnmount as Nt, watch as He, createElementBlock as n, openBlock as r, unref as u, normalizeStyle as P, normalizeClass as Y, createBlock as T, 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 g, renderList as C, mergeProps as Ue, toDisplayString as E, createTextVNode as Ge, nextTick as Lt } from "vue";
2
- import { u as Dt, c as ie, o as It, e as ce, g as We, b as Ft, d as Rt, p as K, al as je, a8 as Xt, T as Ye, U as Et, V as Ht, X as Vt, G as Bt, i as Q, f as Z, t as Ut, a as Gt, q as Wt, r as jt, J as Yt } from "./index-BiHmNd1-.js";
3
- import { u as qt } from "./useUserOptionState-BIvW1Kz7.js";
4
- import { u as Jt } from "./useChartAccessibility-9icAAmYg.js";
5
- import { u as Kt } from "./usePrinter-CRCbl1WG.js";
6
- import { t as Qt, u as Zt } from "./useResponsive-JZ9xq-JV.js";
7
- import { u as qe } from "./useNestedProp-tRqS0ZAM.js";
8
- import el from "./Legend-DFunFf8i.js";
9
- import tl from "./Title-B5qqUI3M.js";
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-CaxNz2cE.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-BprQttno.js";
6
+ import { t as Kt, u as Qt } from "./useResponsive-JZ9xq-JV.js";
7
+ import { u as qe } from "./useNestedProp-DpK9-Xt0.js";
8
+ import Zt from "./Legend-iNd1Vv1J.js";
9
+ import el from "./Title-BTCPUIcD.js";
10
+ import tl from "./Shape-CTyy5HJi.js";
10
11
  import { _ as ll } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["id"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], gl = { key: 0 }, fl = ["fill", "d"], pl = ["stroke", "stroke-width", "d"], ml = ["fill", "d"], bl = ["stroke", "stroke-dasharray", "stroke-width", "d"], xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Al = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Cl = { key: 0 }, wl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $l = ["x", "y", "width", "height", "onMouseenter", "onClick"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "text-anchor", "font-size", "fill"], Tl = {
12
+ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"], nl = ["stop-color"], ul = ["stop-color"], il = ["stop-color"], cl = ["id"], vl = ["stop-color"], hl = ["stop-color"], dl = ["stop-color"], yl = ["stop-color"], fl = { key: 0 }, gl = ["fill", "d"], pl = ["stroke", "stroke-width", "d"], ml = ["fill", "d"], bl = ["stroke", "stroke-dasharray", "stroke-width", "d"], xl = ["x1", "y1", "x2", "y2", "stroke", "stroke-width", "stroke-dasharray"], kl = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Al = ["x", "y", "font-size", "font-weight", "fill", "text-decoration", "onMouseenter", "onClick"], Cl = { key: 0 }, wl = ["font-size", "fill", "font-weight", "transform", "text-anchor"], $l = ["x", "y", "width", "height", "onMouseenter", "onClick"], _l = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ml = ["cx", "cy", "stroke", "stroke-width", "r", "fill"], Pl = ["x", "y", "text-anchor", "font-size", "fill"], Tl = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, Sl = ["onClick"], Ol = ["innerHTML"], zl = {
15
+ }, Ol = ["onClick"], Sl = ["innerHTML"], zl = {
15
16
  __name: "vue-ui-ridgeline",
16
17
  props: {
17
18
  config: {
@@ -29,28 +30,28 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
29
30
  },
30
31
  emits: ["selectLegend", "selectDatapoint", "selectX"],
31
32
  setup(Je, { expose: Ke, emit: Qe }) {
32
- const Ze = M(() => import("./vue-ui-accordion-CmCs2yR2.js")), et = M(() => import("./BaseDraggableDialog-BMlyvt7E.js")), tt = M(() => import("./DataTable-Cv9CIz-a.js")), lt = M(() => import("./PackageVersion-CLY-udAA.js")), at = M(() => import("./PenAndPaper-B9na2mbr.js")), ot = M(() => import("./Shape-D3w9qas1.js")), st = M(() => import("./vue-ui-skeleton-CbYQYRvD.js")), rt = M(() => import("./UserOptions-Ddy6CuLC.js")), nt = M(() => import("./vue-ui-xy-9e_epIN4.js")), { vue_ui_ridgeline: ut } = Dt(), x = Je, z = f({
33
+ const Ze = S(() => import("./vue-ui-accordion-BZ16n4QT.js")), et = S(() => import("./BaseDraggableDialog-DyUBiw-C.js")), tt = S(() => import("./DataTable-bcUa-A_V.js")), lt = S(() => import("./PackageVersion-BVH19wf6.js")), at = S(() => import("./PenAndPaper-U4bWifCe.js")), ot = S(() => import("./vue-ui-skeleton-C2paDc2u.js")), st = S(() => import("./UserOptions-yZJ8noVU.js")), rt = S(() => import("./vue-ui-xy-BbYuna1k.js")), { vue_ui_ridgeline: nt } = Lt(), x = Je, z = g({
33
34
  get() {
34
35
  return !!x.dataset && x.dataset.length;
35
36
  },
36
37
  set(l) {
37
38
  return l;
38
39
  }
39
- }), ee = Qe, G = c(null), ve = c(null), he = c(null), S = Ee(null), I = Ee(null), de = c(null), ye = c(null), ge = c(0), it = c(0), fe = c(0), w = c(ie()), pe = c(0), ct = c(0), me = c(512), h = c(null), F = c(null), te = c(null), be = c(0);
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);
40
41
  function xe() {
41
42
  const l = qe({
42
43
  userConfig: x.config,
43
- defaultConfig: ut
44
+ defaultConfig: nt
44
45
  });
45
46
  return l.theme ? {
46
47
  ...qe({
47
- userConfig: Gt.vue_ui_ridgeline[l.theme] || x.config,
48
+ userConfig: Ut.vue_ui_ridgeline[l.theme] || x.config,
48
49
  defaultConfig: l
49
50
  }),
50
- customPalette: Ut[l.theme] || K
51
+ customPalette: Bt[l.theme] || K
51
52
  } : l;
52
53
  }
53
- const e = f({
54
+ const e = g({
54
55
  get: () => xe(),
55
56
  set: (l) => l
56
57
  }), $ = c(Math.min(
@@ -60,10 +61,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
60
61
  userOptionsVisible: le,
61
62
  setUserOptionsVisibility: ke,
62
63
  keepUserOptionState: Ae
63
- } = qt({ config: e.value }), { svgRef: ae } = Jt({ config: e.value.style.chart.title });
64
- zt(oe);
64
+ } = Yt({ config: e.value }), { svgRef: ae } = qt({ config: e.value.style.chart.title });
65
+ St(oe);
65
66
  function oe() {
66
- if (It(x.dataset) ? ce({
67
+ if (Dt(x.dataset) ? ce({
67
68
  componentName: "VueUiRidgeline",
68
69
  type: "dataset"
69
70
  }) : x.dataset.forEach((l, s) => {
@@ -90,13 +91,13 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
90
91
  });
91
92
  });
92
93
  });
93
- }), ct.value = x.dataset.length, $.value = Math.min(
94
+ }), it.value = x.dataset.length, $.value = Math.min(
94
95
  e.value.style.chart.areas.height,
95
96
  e.value.style.chart.areas.rowHeight
96
97
  ), e.value.responsive) {
97
- const l = Qt(() => {
98
- const { width: s, height: t } = Zt({
99
- chart: G.value,
98
+ const l = Kt(() => {
99
+ const { width: s, height: t } = Qt({
100
+ chart: V.value,
100
101
  title: e.value.style.chart.title.text ? ve.value : null,
101
102
  legend: e.value.style.chart.legend.show ? he.value : null,
102
103
  source: de.value,
@@ -107,56 +108,56 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
107
108
  me.value = s, $.value = t / x.dataset.length, be.value = t;
108
109
  });
109
110
  });
110
- S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect()), S.value = new ResizeObserver(l), I.value = G.value.parentNode, S.value.observe(I.value);
111
+ T.value && (F.value && T.value.unobserve(F.value), T.value.disconnect()), T.value = new ResizeObserver(l), F.value = V.value.parentNode, T.value.observe(F.value);
111
112
  }
112
113
  }
113
- Nt(() => {
114
- S.value && (I.value && S.value.unobserve(I.value), S.value.disconnect());
114
+ zt(() => {
115
+ T.value && (F.value && T.value.unobserve(F.value), T.value.disconnect());
115
116
  });
116
- const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = Kt({
117
+ const { isPrinting: Ce, isImaging: we, generatePdf: $e, generateImage: _e } = Jt({
117
118
  elementId: `vue-ui-ridgeline_${w.value}`,
118
119
  fileName: e.value.style.chart.title.text || "vue-ui-ridgeline",
119
120
  options: e.value.userOptions.print
120
- }), vt = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), ht = f(() => Ft(e.value.customPalette)), H = c({
121
+ }), ct = g(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = g(() => Ft(e.value.customPalette)), B = c({
121
122
  showTable: e.value.table.show
122
123
  });
123
124
  He(() => x.config, (l) => {
124
- e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, oe(), ge.value += 1, fe.value += 1, $.value = Math.min(
125
+ e.value = xe(), le.value = !e.value.userOptions.showOnChartHover, oe(), fe.value += 1, ge.value += 1, $.value = Math.min(
125
126
  e.value.style.chart.areas.height,
126
127
  e.value.style.chart.areas.rowHeight
127
- ), H.value.showTable = e.value.table.show;
128
+ ), B.value.showTable = e.value.table.show;
128
129
  }, { deep: !0 }), He(() => x.dataset, oe, { deep: !0 });
129
- const se = f(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
130
+ const se = g(() => e.value.style.chart.areas.height / e.value.style.chart.areas.rowHeight);
130
131
  function Me(l) {
131
132
  O.value.includes(l) ? O.value = O.value.filter((s) => s !== l) : O.value.push(l), ee("selectLegend", X.value);
132
133
  }
133
- const _ = f(() => z.value ? x.dataset.map((l, s) => ({
134
+ const _ = g(() => z.value ? x.dataset.map((l, s) => ({
134
135
  ...l,
135
- labelLen: gt(l.name, e.value.style.chart.yAxis.labels.fontSize),
136
+ labelLen: yt(l.name, e.value.style.chart.yAxis.labels.fontSize),
136
137
  uid: ie(),
137
138
  datapoints: l.datapoints.map((t, o) => {
138
- const a = t.color ? Rt(t.color) : ht.value[o] || K[o] || K[o % K.length], i = je(t.name);
139
+ const a = t.color ? It(t.color) : vt.value[o] || K[o] || K[o % K.length], i = je(t.name);
139
140
  return {
140
141
  ...t,
141
142
  color: a,
142
143
  id: i
143
144
  };
144
145
  })
145
- })) : []), Pe = f(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * se.value), k = f(() => ({
146
+ })) : []), Pe = g(() => e.value.style.chart.padding.top + $.value * x.dataset.length + $.value * se.value), k = g(() => ({
146
147
  fullHeight: y.value.padding.top + y.value.padding.bottom + y.value.height,
147
148
  top: y.value.padding.top,
148
149
  left: y.value.padding.left,
149
150
  right: y.value.width - y.value.padding.right,
150
151
  bottom: y.value.padding.top + y.value.height,
151
152
  width: y.value.width - (y.value.padding.left + y.value.padding.right)
152
- })), y = f(() => {
153
+ })), y = g(() => {
153
154
  const l = e.value.style.chart.padding;
154
155
  return {
155
156
  width: me.value,
156
157
  height: Pe.value,
157
158
  padding: l
158
159
  };
159
- }), R = f(() => {
160
+ }), R = g(() => {
160
161
  const l = Math.max(..._.value.map((i) => i.labelLen)), s = Math.max(..._.value.flatMap((i) => i.datapoints.map((A) => A.values.length))), t = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, o = (k.value.width - t) / s, a = [];
161
162
  for (let i = 0; i < s; i += 1)
162
163
  a.push({
@@ -170,62 +171,62 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
170
171
  });
171
172
  return a;
172
173
  });
173
- function dt(l) {
174
+ function ht(l) {
174
175
  ee("selectX", _.value.map((s) => s.datapoints.map((t) => ({
175
176
  dp: t,
176
177
  selected: t.values[l.index]
177
178
  }))));
178
179
  }
179
- function yt(l, s) {
180
+ function dt(l, s) {
180
181
  return l.length * s / 2 + s;
181
182
  }
182
183
  function Te(l, s, t) {
183
- const o = yt(s, t);
184
+ const o = dt(s, t);
184
185
  return l + o > k.value.right;
185
186
  }
186
- function gt(l, s, t = "sans-serif") {
187
+ function yt(l, s, t = "sans-serif") {
187
188
  const a = document.createElement("canvas").getContext("2d"), i = typeof s == "number" ? `${s}px` : s;
188
189
  return a.font = `${i} ${t}`, a.measureText(l).width;
189
190
  }
190
- const X = f(() => {
191
+ const X = g(() => {
191
192
  $.value;
192
193
  const l = Math.max(..._.value.map((b) => b.labelLen)), s = Math.max(..._.value.flatMap((b) => b.datapoints.map((N) => N.values.length))), t = Math.max(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), o = Math.min(..._.value.flatMap((b) => b.datapoints.flatMap((N) => N.values))), a = y.value.padding.left + l + 16 + e.value.style.chart.yAxis.labels.offsetX, i = (k.value.width - a) / s, A = Math.abs(Math.min(o, 0)), De = t + A;
193
- function Ie(b) {
194
+ function Fe(b) {
194
195
  return isNaN(b / De) ? 0 : b / De;
195
196
  }
196
197
  return _.value.map((b, N) => {
197
- const Fe = k.value.top + $.value * N, L = k.value.top + Fe + $.value * se.value * (1 - Ie(A));
198
+ const Ie = k.value.top + $.value * N, L = k.value.top + Ie + $.value * se.value * (1 - Fe(A));
198
199
  return {
199
200
  ...b,
200
201
  label: {
201
202
  x: a - e.value.style.chart.yAxis.labels.fontSize,
202
203
  y: L
203
204
  },
204
- datapoints: b.datapoints.map((B) => {
205
- const D = B.values.map((U, Mt) => {
206
- const Pt = isNaN(U) || [void 0, null, "NaN", NaN, 1 / 0, -1 / 0].includes(U) ? 0 : U || 0, Tt = a + i * Mt, St = k.value.top + Fe + $.value * se.value * (1 - Ie(Pt + A)), Ot = U === Math.max(...B.values);
205
+ 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 * se.value * (1 - Fe(Mt + A)), Ot = G === Math.max(...U.values);
207
208
  return {
208
- x: Tt,
209
- y: St,
210
- value: U,
209
+ x: Pt,
210
+ y: Tt,
211
+ value: G,
211
212
  isMaxPoint: Ot,
212
213
  zero: L
213
214
  };
214
- }), Ct = `${Xt(D, L, !1, !1)}`, wt = `M ${a},${L} ${Ye(D)} ${D.at(-1).x},${L}`, $t = `M ${a},${L} ${D.at(-1).x},${L}`, Re = `M ${Et(D)}`, Xe = `M ${Ye(D)}`, _t = Ht(
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(
215
216
  e.value.style.chart.areas.smooth ? Re : Xe
216
217
  );
217
218
  return {
218
- ...B,
219
+ ...U,
219
220
  uid: ie(),
220
221
  plots: D,
221
- smoothPath: Ct,
222
- straightPath: wt,
223
- zeroPath: $t,
224
- pathLength: _t,
222
+ smoothPath: At,
223
+ straightPath: Ct,
224
+ zeroPath: wt,
225
+ pathLength: $t,
225
226
  smoothPathRidge: Re,
226
227
  straightPathRidge: Xe
227
228
  };
228
- }).filter((B) => !O.value.includes(B.id))
229
+ }).filter((U) => !O.value.includes(U.id))
229
230
  };
230
231
  });
231
232
  }), O = c([]);
@@ -246,27 +247,27 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
246
247
  });
247
248
  }), Array.from(s.values());
248
249
  }
249
- const re = f(() => ft(_.value)), pt = f(() => ({
250
+ const re = g(() => ft(_.value)), gt = g(() => ({
250
251
  cy: "donut-div-legend",
251
252
  backgroundColor: e.value.style.chart.legend.backgroundColor,
252
253
  color: e.value.style.chart.legend.color,
253
254
  fontSize: e.value.style.chart.legend.fontSize,
254
255
  paddingBottom: 12,
255
256
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
256
- })), V = c(!1);
257
- function mt(l) {
258
- V.value = l, pe.value += 1;
257
+ })), E = c(!1);
258
+ function pt(l) {
259
+ E.value = l, pe.value += 1;
259
260
  }
260
- const Se = c({}), Oe = c([]);
261
- function bt(l) {
262
- ee("selectDatapoint", l), e.value.style.chart.dialog.show && (Oe.value = l.datapoints.map((s) => ({
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((s) => ({
263
264
  name: s.name,
264
265
  color: s.color,
265
266
  type: "line",
266
267
  useArea: !0,
267
268
  smooth: e.value.style.chart.areas.smooth,
268
269
  series: s.values
269
- })), F.value = l, Se.value = Yt({
270
+ })), I.value = l, Oe.value = jt({
270
271
  ...e.value.style.chart.dialog.xyChart,
271
272
  responsive: !0,
272
273
  // Overriding
@@ -292,10 +293,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
292
293
  }), te.value && te.value.open());
293
294
  }
294
295
  const ne = c(null);
295
- function xt(l) {
296
+ function bt(l) {
296
297
  ne.value = l;
297
298
  }
298
- function kt() {
299
+ function xt() {
299
300
  ne.value = null;
300
301
  }
301
302
  const W = c(!1);
@@ -303,9 +304,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
303
304
  W.value = !W.value;
304
305
  }
305
306
  function ze() {
306
- H.value.showTable = !H.value.showTable;
307
+ B.value.showTable = !B.value.showTable;
307
308
  }
308
- const Ne = f(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((o) => ({
309
+ const Ne = g(() => ({ body: X.value.flatMap((t) => t.datapoints.flatMap((o) => ({
309
310
  ...o,
310
311
  rowName: `${t.name}: ${o.name}`
311
312
  }))).map((t) => [
@@ -314,7 +315,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
314
315
  color: t.color
315
316
  },
316
317
  ...t.values
317
- ]) })), j = f(() => {
318
+ ]) })), j = g(() => {
318
319
  const l = [
319
320
  e.value.table.columnNames.series,
320
321
  ...e.value.style.chart.xAxis.labels.values
@@ -342,25 +343,25 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
342
343
  };
343
344
  });
344
345
  function Le() {
345
- Lt(() => {
346
+ Nt(() => {
346
347
  const l = [
347
348
  [e.value.table.columnNames.series, ...e.value.style.chart.xAxis.labels.values.map((o) => [o])],
348
349
  ...Ne.value.body.map((o, a) => [o[0].name, ...o.slice(1)])
349
350
  ], s = [
350
351
  [e.value.style.chart.title.text],
351
352
  [e.value.style.chart.title.subtitle.text]
352
- ].concat(l), t = Wt(s);
353
- jt({
353
+ ].concat(l), t = Gt(s);
354
+ Wt({
354
355
  csvContent: t,
355
356
  title: e.value.style.chart.title.text || "vue-ui-ridgeline"
356
357
  });
357
358
  });
358
359
  }
359
- function At() {
360
+ function kt() {
360
361
  return X.value;
361
362
  }
362
363
  return Ke({
363
- getData: At,
364
+ getData: kt,
364
365
  generateImage: _e,
365
366
  generatePdf: $e,
366
367
  generateCsv: Le,
@@ -368,10 +369,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
368
369
  toggleTable: ze
369
370
  }), (l, s) => (r(), n("div", {
370
371
  ref_key: "ridgelineChart",
371
- ref: G,
372
- class: Y(`vue-ui-ridgeline ${V.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
372
+ ref: V,
373
+ class: Y(`vue-ui-ridgeline ${E.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
373
374
  id: `vue-ui-ridgeline_${w.value}`,
374
- style: P({
375
+ style: M({
375
376
  fontFamily: e.value.style.fontFamily,
376
377
  width: "100%",
377
378
  textAlign: "center",
@@ -381,7 +382,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
381
382
  onMouseenter: s[4] || (s[4] = () => u(ke)(!0)),
382
383
  onMouseleave: s[5] || (s[5] = () => u(ke)(!1))
383
384
  }, [
384
- e.value.userOptions.buttons.annotator && u(ae) ? (r(), T(u(at), {
385
+ e.value.userOptions.buttons.annotator && u(ae) ? (r(), P(u(at), {
385
386
  key: 0,
386
387
  color: e.value.style.chart.color,
387
388
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -390,7 +391,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
390
391
  onClose: ue
391
392
  }, null, 8, ["color", "backgroundColor", "active", "svgRef"])) : v("", !0),
392
393
  p(l.$slots, "userConfig", {}, void 0, !0),
393
- vt.value ? (r(), n("div", {
394
+ ct.value ? (r(), n("div", {
394
395
  key: 1,
395
396
  ref_key: "noTitle",
396
397
  ref: ye,
@@ -403,8 +404,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
403
404
  ref: ve,
404
405
  style: "width:100%;background:transparent;padding-bottom:24px"
405
406
  }, [
406
- (r(), T(tl, {
407
- key: `title_${ge.value}`,
407
+ (r(), P(el, {
408
+ key: `title_${fe.value}`,
408
409
  config: {
409
410
  title: {
410
411
  cy: "ridgeline-div-title",
@@ -417,7 +418,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
417
418
  }
418
419
  }, null, 8, ["config"]))
419
420
  ], 512)) : v("", !0),
420
- e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), T(u(rt), {
421
+ e.value.userOptions.show && z.value && (u(Ae) || u(le)) ? (r(), P(u(st), {
421
422
  ref: "details",
422
423
  key: `user_option_${pe.value}`,
423
424
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -432,17 +433,17 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
432
433
  hasTable: e.value.userOptions.buttons.table,
433
434
  hasLabel: !1,
434
435
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
435
- isFullscreen: V.value,
436
- chartElement: G.value,
436
+ isFullscreen: E.value,
437
+ chartElement: V.value,
437
438
  position: e.value.userOptions.position,
438
439
  isTooltip: !1,
439
440
  titles: { ...e.value.userOptions.buttonTitles },
440
441
  hasAnnotator: e.value.userOptions.buttons.annotator,
441
442
  isAnnotation: W.value,
442
- style: P({
443
+ style: M({
443
444
  visibility: u(Ae) ? u(le) ? "visible" : "hidden" : "visible"
444
445
  }),
445
- onToggleFullscreen: mt,
446
+ onToggleFullscreen: pt,
446
447
  onGeneratePdf: u($e),
447
448
  onGenerateCsv: Le,
448
449
  onGenerateImage: u(_e),
@@ -510,14 +511,14 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
510
511
  key: 4,
511
512
  ref_key: "svgRef",
512
513
  ref: ae,
513
- xmlns: u(Vt),
514
- class: Y({ "vue-data-ui-fullscreen--on": V.value, "vue-data-ui-fulscreen--off": !V.value }),
514
+ xmlns: u(Ht),
515
+ class: Y({ "vue-data-ui-fullscreen--on": E.value, "vue-data-ui-fulscreen--off": !E.value }),
515
516
  viewBox: `0 0 ${y.value.width <= 0 ? 10 : y.value.width} ${k.value.fullHeight <= 0 ? 10 : k.value.fullHeight}`,
516
- style: P(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${be.value}px; width: 100%;` : ""}`)
517
+ style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color};${e.value.responsive ? `height: ${be.value}px; width: 100%;` : ""}`)
517
518
  }, [
518
519
  Be(u(lt)),
519
520
  d("defs", null, [
520
- (r(!0), n(g, null, C(re.value, (t, o) => (r(), n("linearGradient", {
521
+ (r(!0), n(f, null, C(re.value, (t, o) => (r(), n("linearGradient", {
521
522
  id: `gradient-${t.id}-${w.value}`,
522
523
  x1: "50%",
523
524
  y1: "0%",
@@ -545,8 +546,8 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
545
546
  "stop-opacity": "0.1"
546
547
  }, null, 8, il)
547
548
  ], 8, sl))), 256)),
548
- (r(!0), n(g, null, C(X.value, (t, o) => (r(), n(g, null, [
549
- (r(!0), n(g, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
549
+ (r(!0), n(f, null, C(X.value, (t, o) => (r(), n(f, null, [
550
+ (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("linearGradient", {
550
551
  key: `grad${a.id}`,
551
552
  id: `gradient-single-${w.value}-${a.uid}`,
552
553
  x1: "50%",
@@ -577,13 +578,13 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
577
578
  ], 8, cl))), 128))
578
579
  ], 64))), 256))
579
580
  ]),
580
- (r(!0), n(g, null, C(X.value, (t, o) => (r(), n("g", {
581
+ (r(!0), n(f, null, C(X.value, (t, o) => (r(), n("g", {
581
582
  key: `ds-${o}`
582
583
  }, [
583
- (r(!0), n(g, null, C(t.datapoints, (a, i) => (r(), n("g", {
584
+ (r(!0), n(f, null, C(t.datapoints, (a, i) => (r(), n("g", {
584
585
  key: a.id
585
586
  }, [
586
- l.$slots.pattern ? (r(), n("g", gl, [
587
+ l.$slots.pattern ? (r(), n("g", fl, [
587
588
  d("defs", null, [
588
589
  p(l.$slots, "pattern", Ue({ ref_for: !0 }, { datapointIndex: o, seriesIndex: i, patternId: `pattern_${w.value}_${a.uid}` }), void 0, !0)
589
590
  ])
@@ -593,10 +594,10 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
593
594
  stroke: "none",
594
595
  "stroke-linecap": "round",
595
596
  d: e.value.style.chart.areas.smooth ? a.smoothPath : a.straightPath,
596
- style: P({
597
+ style: M({
597
598
  opacity: e.value.style.chart.areas.opacity
598
599
  })
599
- }, null, 12, fl),
600
+ }, null, 12, gl),
600
601
  d("path", {
601
602
  fill: "none",
602
603
  stroke: e.value.style.chart.areas.stroke.useSerieColor ? a.color : e.value.style.chart.areas.stroke.color,
@@ -605,7 +606,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
605
606
  "stroke-linecap": "round",
606
607
  "stroke-linejoin": "round",
607
608
  class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
608
- style: P({
609
+ style: M({
609
610
  strokeDasharray: a.pathLength,
610
611
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
611
612
  })
@@ -617,7 +618,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
617
618
  "stroke-linecap": "round",
618
619
  "stroke-linejoin": "round",
619
620
  class: Y({ "vue-ui-ridgeline-animate": e.value.useCssAnimation }),
620
- style: P({
621
+ style: M({
621
622
  strokeDasharray: a.pathLength,
622
623
  strokeDashoffset: e.value.useCssAnimation ? a.pathLength : 0
623
624
  })
@@ -630,14 +631,14 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
630
631
  d: a.zeroPath,
631
632
  "stroke-linecap": "round"
632
633
  }, null, 8, bl)) : v("", !0),
633
- e.value.style.chart.areas.maxPoint.show && a.plots.length > 1 ? (r(!0), n(g, { key: 2 }, C(a.plots, (A) => (r(), n(g, null, [
634
+ 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, [
634
635
  A.isMaxPoint ? (r(), n("line", {
635
636
  key: 0,
636
637
  x1: A.x,
637
638
  y1: A.y,
638
639
  x2: A.x,
639
640
  y2: A.zero,
640
- stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Bt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
641
+ stroke: e.value.style.chart.areas.maxPoint.adaptStrokeToBackground ? u(Vt)(a.color) : e.value.style.chart.areas.maxPoint.stroke,
641
642
  "stroke-width": e.value.style.chart.areas.maxPoint.strokeWidth,
642
643
  "stroke-linecap": "round",
643
644
  "stroke-dasharray": e.value.style.chart.areas.maxPoint.strokeDasharray
@@ -663,17 +664,17 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
663
664
  "font-size": e.value.style.chart.yAxis.labels.fontSize,
664
665
  "font-weight": e.value.style.chart.yAxis.labels.bold ? "bold" : "normal",
665
666
  fill: e.value.style.chart.yAxis.labels.color,
666
- style: P({
667
+ style: M({
667
668
  cursor: e.value.style.chart.dialog.show ? "pointer" : "default"
668
669
  }),
669
- "text-decoration": e.value.style.chart.dialog.show && (ne.value === o || F.value && t.uid === F.value.uid) ? "underline" : "",
670
- onMouseenter: (a) => xt(o),
671
- onMouseleave: kt,
672
- onClick: (a) => bt(t)
673
- }, E(t.name), 45, Al)
670
+ "text-decoration": e.value.style.chart.dialog.show && (ne.value === o || I.value && t.uid === I.value.uid) ? "underline" : "",
671
+ onMouseenter: (a) => bt(o),
672
+ onMouseleave: xt,
673
+ onClick: (a) => mt(t)
674
+ }, H(t.name), 45, Al)
674
675
  ]))), 128)),
675
676
  e.value.style.chart.xAxis.labels.values.length ? (r(), n("g", Cl, [
676
- (r(!0), n(g, null, C(R.value, (t, o) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
677
+ (r(!0), n(f, null, C(R.value, (t, o) => p(l.$slots, "time-label", Ue({ ref_for: !0 }, {
677
678
  show: t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && !e.value.style.chart.xAxis.labels.showOnlyAtModulo || t && e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && (o === 0 || o === R.value.length - 1) || t && h.value && h.value.index === o || t && !e.value.style.chart.xAxis.labels.showOnlyFirstAndLast && e.value.style.chart.xAxis.labels.showOnlyAtModulo && o % Math.floor(R.value.length / e.value.style.chart.xAxis.labels.modulo) === 0,
678
679
  fontSize: e.value.style.chart.xAxis.labels.fontSize,
679
680
  content: t.label,
@@ -690,14 +691,14 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
690
691
  "font-weight": e.value.style.chart.xAxis.labels.bold ? "bold" : "normal",
691
692
  transform: `translate(${t.selectorX}, ${k.value.top + t.height + e.value.style.chart.xAxis.labels.offsetY}), rotate(${e.value.style.chart.xAxis.labels.rotation})`,
692
693
  "text-anchor": e.value.style.chart.xAxis.labels.rotation > 0 ? "start" : e.value.style.chart.xAxis.labels.rotation < 0 ? "end" : "middle",
693
- style: P({
694
+ style: M({
694
695
  opacity: h.value ? h.value.index === o ? 1 : 0.2 : 1
695
696
  })
696
- }, E(t.label), 13, wl)) : v("", !0)
697
+ }, H(t.label), 13, wl)) : v("", !0)
697
698
  ], !0)), 256))
698
699
  ])) : v("", !0),
699
700
  d("g", null, [
700
- (r(!0), n(g, null, C(R.value, (t, o) => (r(), n("rect", {
701
+ (r(!0), n(f, null, C(R.value, (t, o) => (r(), n("rect", {
701
702
  x: t.x,
702
703
  y: t.y,
703
704
  width: t.width < 0 ? 0.1 : t.width,
@@ -705,7 +706,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
705
706
  fill: "transparent",
706
707
  onMouseenter: (a) => h.value = t,
707
708
  onMouseleave: s[0] || (s[0] = (a) => h.value = null),
708
- onClick: () => dt(t)
709
+ onClick: () => ht(t)
709
710
  }, null, 40, $l))), 256)),
710
711
  e.value.style.chart.selector.show && h.value ? (r(), n("line", {
711
712
  key: 0,
@@ -719,9 +720,9 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
719
720
  "stroke-linecap": "round",
720
721
  style: { pointerEvents: "none" }
721
722
  }, null, 8, _l)) : v("", !0),
722
- h.value ? (r(!0), n(g, { key: 1 }, C(X.value, (t) => (r(), n(g, null, [
723
- (r(!0), n(g, null, C(t.datapoints, (o) => (r(), n(g, null, [
724
- (r(!0), n(g, null, C(o.plots, (a, i) => (r(), n(g, null, [
723
+ h.value ? (r(!0), n(f, { key: 1 }, C(X.value, (t) => (r(), n(f, null, [
724
+ (r(!0), n(f, null, C(t.datapoints, (o) => (r(), n(f, null, [
725
+ (r(!0), n(f, null, C(o.plots, (a, i) => (r(), n(f, null, [
725
726
  h.value && h.value.index === i ? (r(), n("circle", {
726
727
  key: 0,
727
728
  cx: a.x,
@@ -770,7 +771,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
770
771
  style: {
771
772
  pointerEvents: "none"
772
773
  }
773
- }, E(u(Q)(
774
+ }, H(u(Q)(
774
775
  e.value.style.chart.selector.labels.formatter,
775
776
  a.value,
776
777
  u(Z)({
@@ -789,7 +790,7 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
789
790
  l.$slots.watermark ? (r(), n("div", Tl, [
790
791
  p(l.$slots, "watermark", q(J({ isPrinting: u(Ce) || u(we) })), void 0, !0)
791
792
  ])) : v("", !0),
792
- z.value ? v("", !0) : (r(), T(u(st), {
793
+ z.value ? v("", !0) : (r(), P(u(ot), {
793
794
  key: 6,
794
795
  config: {
795
796
  type: "ridgeline",
@@ -805,24 +806,24 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
805
806
  ref_key: "chartLegend",
806
807
  ref: he
807
808
  }, [
808
- e.value.style.chart.legend.show ? (r(), T(el, {
809
- key: `legend_${fe.value}`,
809
+ e.value.style.chart.legend.show ? (r(), P(Zt, {
810
+ key: `legend_${ge.value}`,
810
811
  legendSet: re.value,
811
- config: pt.value,
812
+ config: gt.value,
812
813
  onClickMarker: s[1] || (s[1] = ({ legend: t }) => Me(t.id))
813
814
  }, Ve({
814
815
  item: m(({ legend: t }) => [
815
816
  d("div", {
816
- style: P(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
817
+ style: M(`opacity:${O.value.includes(t.id) ? 0.5 : 1}`),
817
818
  onClick: (o) => t.segregate()
818
- }, E(t.name), 13, Sl)
819
+ }, H(t.name), 13, Ol)
819
820
  ]),
820
821
  _: 2
821
822
  }, [
822
823
  l.$slots.pattern ? {
823
824
  name: "legend-pattern",
824
825
  fn: m(({ legend: t, index: o }) => [
825
- Be(u(ot), {
826
+ Be(tl, {
826
827
  shape: t.shape,
827
828
  radius: 30,
828
829
  stroke: "none",
@@ -843,11 +844,11 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
843
844
  }, [
844
845
  p(l.$slots, "source", {}, void 0, !0)
845
846
  ], 512)) : v("", !0),
846
- z.value ? (r(), T(u(Ze), {
847
+ z.value ? (r(), P(u(Ze), {
847
848
  key: 8,
848
849
  hideDetails: "",
849
850
  config: {
850
- open: H.value.showTable,
851
+ open: B.value.showTable,
851
852
  maxHeight: 1e4,
852
853
  body: {
853
854
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -860,20 +861,20 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
860
861
  }
861
862
  }, {
862
863
  content: m(() => [
863
- (r(), T(u(tt), {
864
- key: `table_${it.value}`,
864
+ (r(), P(u(tt), {
865
+ key: `table_${ut.value}`,
865
866
  colNames: j.value.colNames,
866
867
  head: j.value.head,
867
868
  body: j.value.body,
868
869
  config: j.value.config,
869
870
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` :${e.value.style.chart.title.subtitle.text}` : ""}`,
870
- onClose: s[2] || (s[2] = (t) => H.value.showTable = !1)
871
+ onClose: s[2] || (s[2] = (t) => B.value.showTable = !1)
871
872
  }, {
872
873
  th: m(({ th: t }) => [
873
- d("div", { innerHTML: t }, null, 8, Ol)
874
+ d("div", { innerHTML: t }, null, 8, Sl)
874
875
  ]),
875
876
  td: m(({ td: t }) => [
876
- Ge(E(t.name ? t.name : u(Q)(
877
+ Ge(H(t.name ? t.name : u(Q)(
877
878
  e.value.style.chart.selector.labels.formatter,
878
879
  t,
879
880
  u(Z)({
@@ -889,31 +890,33 @@ const al = ["id"], ol = ["xmlns", "viewBox"], sl = ["id"], rl = ["stop-color"],
889
890
  ]),
890
891
  _: 1
891
892
  }, 8, ["config"])) : v("", !0),
892
- e.value.style.chart.dialog.show ? (r(), T(u(et), {
893
+ e.value.style.chart.dialog.show ? (r(), P(u(et), {
893
894
  key: 9,
894
895
  ref_key: "dialog",
895
896
  ref: te,
896
- onClose: s[3] || (s[3] = (t) => F.value = null),
897
+ onClose: s[3] || (s[3] = (t) => I.value = null),
897
898
  backgroundColor: e.value.style.chart.dialog.backgroundColor,
898
899
  color: e.value.style.chart.dialog.color,
899
900
  headerBg: e.value.style.chart.dialog.header.backgroundColor,
900
- headerColor: e.value.style.chart.dialog.header.color
901
+ headerColor: e.value.style.chart.dialog.header.color,
902
+ isFullscreen: E.value,
903
+ fullscreenParent: V.value
901
904
  }, {
902
905
  title: m(() => [
903
- Ge(E(F.value.name), 1)
906
+ Ge(H(I.value.name), 1)
904
907
  ]),
905
908
  default: m(() => [
906
- F.value ? (r(), T(u(nt), {
909
+ I.value ? (r(), P(u(rt), {
907
910
  key: 0,
908
- config: Se.value,
909
- dataset: Oe.value
911
+ config: Oe.value,
912
+ dataset: Se.value
910
913
  }, null, 8, ["config", "dataset"])) : v("", !0)
911
914
  ]),
912
915
  _: 1
913
- }, 8, ["backgroundColor", "color", "headerBg", "headerColor"])) : v("", !0)
916
+ }, 8, ["backgroundColor", "color", "headerBg", "headerColor", "isFullscreen", "fullscreenParent"])) : v("", !0)
914
917
  ], 46, al));
915
918
  }
916
- }, Bl = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-403f8970"]]);
919
+ }, Ul = /* @__PURE__ */ ll(zl, [["__scopeId", "data-v-507d68a0"]]);
917
920
  export {
918
- Bl as default
921
+ Ul as default
919
922
  };