vue-data-ui 3.0.2 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/{Arrow-uNlT54JX.js → Arrow-YUJc3FQi.js} +1 -1
  2. package/dist/{BaseDraggableDialog-CujvKo06.js → BaseDraggableDialog-DdXLTRiK.js} +2 -2
  3. package/dist/{BaseIcon-B8CknCYk.js → BaseIcon-CCivwZUq.js} +1 -1
  4. package/dist/{ColorPicker-Dmdfq2VV.js → ColorPicker-CWed-s-E.js} +2 -2
  5. package/dist/{DataTable-osx68WLA.js → DataTable-rj9-mAwF.js} +2 -2
  6. package/dist/{Legend-CQsASoei.js → Legend-DcDSkq99.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-BWz0WtJG.js → NonSvgPenAndPaper-W2N17kLY.js} +3 -3
  8. package/dist/{PackageVersion-DZGrOKw5.js → PackageVersion-5ZjKSIei.js} +1 -1
  9. package/dist/{PenAndPaper-CdXspg5R.js → PenAndPaper-BJ0hcgsa.js} +3 -3
  10. package/dist/{Shape-0sW2StrO.js → Shape-DHIaJs9G.js} +1 -1
  11. package/dist/{Slicer-52shR-Vu.js → Slicer-BarTZZDU.js} +2 -2
  12. package/dist/{SparkTooltip-Dxrruu4s.js → SparkTooltip-Diyt3BTN.js} +1 -1
  13. package/dist/{Title-CntvKJss.js → Title-B55R8CAZ.js} +1 -1
  14. package/dist/{Tooltip-DF8e4iB9.js → Tooltip-BMOddG-M.js} +1 -1
  15. package/dist/{UserOptions-DQyIO0ts.js → UserOptions-DVzyjG-W.js} +2 -2
  16. package/dist/{dom-to-png-KC3tMd8p.js → dom-to-png-BNHsLwF7.js} +1 -1
  17. package/dist/{img-Cv4nScI0.js → img-Ctts6JQb.js} +1 -1
  18. package/dist/{index-B9Ct1B_p.js → index-q-LPw2IT.js} +908 -871
  19. package/dist/{pdf-D0GEfQrI.js → pdf-BfwnBQtY.js} +1 -1
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +23 -0
  22. package/dist/types/vue-data-ui.d.ts +23 -0
  23. package/dist/{useAutoSizeLabelsInsideViewbox-DvdDLkzw.js → useAutoSizeLabelsInsideViewbox-bEAG5sD1.js} +1 -1
  24. package/dist/{useNestedProp-C0gKxLur.js → useNestedProp-04aFeUYu.js} +1 -1
  25. package/dist/{usePrinter-DcZXg1hH.js → usePrinter-DX7efa1s.js} +2 -2
  26. package/dist/{vue-data-ui-DZMDT7RA.js → vue-data-ui-DJTYiV9o.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-BnCv2CD_.js → vue-ui-3d-bar-DGu87lcK.js} +6 -6
  29. package/dist/{vue-ui-accordion-B31QK9Hj.js → vue-ui-accordion-D46i_gkB.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-Bc4V0a3k.js → vue-ui-age-pyramid-DeS1T-Bw.js} +6 -6
  31. package/dist/{vue-ui-annotator-D8haGQiH.js → vue-ui-annotator-CrqM9fa9.js} +2 -2
  32. package/dist/{vue-ui-bullet-n7Y6jYLj.js → vue-ui-bullet-0TypghaZ.js} +199 -186
  33. package/dist/{vue-ui-candlestick-nCI5GlX7.js → vue-ui-candlestick-n8koDNMv.js} +7 -7
  34. package/dist/{vue-ui-carousel-table-JH2NjnOk.js → vue-ui-carousel-table-BeUapat0.js} +4 -4
  35. package/dist/{vue-ui-chestnut-CQtV9AR4.js → vue-ui-chestnut-HbK7CLPq.js} +5 -5
  36. package/dist/{vue-ui-chord-CGi_iSaL.js → vue-ui-chord-DdNd8wIQ.js} +377 -366
  37. package/dist/{vue-ui-circle-pack-C8v3Okle.js → vue-ui-circle-pack-HrpJA3B3.js} +6 -6
  38. package/dist/{vue-ui-cursor-0DHciy1D.js → vue-ui-cursor-Dl_Gep_y.js} +2 -2
  39. package/dist/{vue-ui-dashboard-CDHJk8sC.js → vue-ui-dashboard-B0clnW3D.js} +62 -62
  40. package/dist/{vue-ui-digits-Bn1P1K9u.js → vue-ui-digits-BapPpCcj.js} +2 -2
  41. package/dist/{vue-ui-donut-GqHffshG.js → vue-ui-donut-CdLAu_O5.js} +345 -334
  42. package/dist/{vue-ui-donut-evolution-Crn7Nnpy.js → vue-ui-donut-evolution-DHYtqqYZ.js} +388 -377
  43. package/dist/{vue-ui-dumbbell-C__nFV3V.js → vue-ui-dumbbell-SgiIfwyE.js} +354 -343
  44. package/dist/{vue-ui-flow-7q9o4Jxp.js → vue-ui-flow-D7dra0Tp.js} +299 -288
  45. package/dist/{vue-ui-funnel-DjmlAdRf.js → vue-ui-funnel-CfhMmeX5.js} +6 -6
  46. package/dist/{vue-ui-galaxy-Crh7xV6s.js → vue-ui-galaxy-BnPiyPdD.js} +252 -241
  47. package/dist/{vue-ui-gauge-PjjV3JmB.js → vue-ui-gauge-B6BeYUW3.js} +7 -7
  48. package/dist/{vue-ui-gizmo-DREMjBvZ.js → vue-ui-gizmo-DoTyGRKN.js} +3 -3
  49. package/dist/{vue-ui-heatmap-D2CF8Vn8.js → vue-ui-heatmap-Di-qNaDB.js} +7 -7
  50. package/dist/{vue-ui-history-plot-DX31nVYa.js → vue-ui-history-plot-D_ax0e1n.js} +283 -270
  51. package/dist/{vue-ui-kpi-FtnzfW7L.js → vue-ui-kpi-nZXBg4tm.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-DaHPhzVf.js → vue-ui-mini-loader-NoQltPUC.js} +2 -2
  53. package/dist/{vue-ui-molecule--4MdUCOi.js → vue-ui-molecule-kZceITfL.js} +5 -5
  54. package/dist/{vue-ui-mood-radar-Ci416qv5.js → vue-ui-mood-radar-DtoNCs1x.js} +264 -253
  55. package/dist/{vue-ui-nested-donuts-DoVSN0qE.js → vue-ui-nested-donuts-BXZ2WcBF.js} +377 -366
  56. package/dist/{vue-ui-onion-ChqyoLl8.js → vue-ui-onion-DNP-X1Kr.js} +265 -254
  57. package/dist/{vue-ui-parallel-coordinate-plot-BPsH_W7X.js → vue-ui-parallel-coordinate-plot-BaMmD1DR.js} +276 -265
  58. package/dist/{vue-ui-quadrant-CLQqKyzu.js → vue-ui-quadrant-qQkLdaFk.js} +356 -345
  59. package/dist/{vue-ui-quick-chart-DogHdO42.js → vue-ui-quick-chart-CR-rtVnh.js} +639 -628
  60. package/dist/{vue-ui-radar-B4rGvzKn.js → vue-ui-radar-BMAqVZty.js} +254 -243
  61. package/dist/{vue-ui-rating-BvopSHNQ.js → vue-ui-rating-NQHqua4r.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-C6GEmCiw.js → vue-ui-relation-circle-uYPKJzRP.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-BJVJ02bA.js → vue-ui-ridgeline-Wesfuq0m.js} +8 -8
  64. package/dist/{vue-ui-rings-BRTxWhKI.js → vue-ui-rings-C8ofrNp2.js} +250 -239
  65. package/dist/{vue-ui-scatter-D_BP7XBR.js → vue-ui-scatter-l4Q3KmVI.js} +383 -372
  66. package/dist/{vue-ui-skeleton-C_nf6VDZ.js → vue-ui-skeleton-DS0KyQM7.js} +3 -3
  67. package/dist/{vue-ui-smiley-DHCpzxMs.js → vue-ui-smiley-Dvz9CJOH.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-DfM5OJIx.js → vue-ui-spark-trend-CZEFnuFC.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-BrvOwqG_.js → vue-ui-sparkbar-BNoRSCo7.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-Dp2OkGrS.js → vue-ui-sparkgauge-Dlq3vjoo.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-K_7q57W8.js → vue-ui-sparkhistogram-CfcpDn_W.js} +4 -4
  72. package/dist/{vue-ui-sparkline-BiEu6kq8.js → vue-ui-sparkline-ClRCVth4.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-BNlyxt3y.js → vue-ui-sparkstackbar-XpDLFtos.js} +3 -3
  74. package/dist/{vue-ui-stackbar-BKb_dgUq.js → vue-ui-stackbar-B_2xrLjj.js} +443 -432
  75. package/dist/{vue-ui-strip-plot-D6dwyO-N.js → vue-ui-strip-plot-DoRnEXsU.js} +7 -7
  76. package/dist/{vue-ui-table-B9UWta9o.js → vue-ui-table-Cr8fNe8Z.js} +4 -9
  77. package/dist/{vue-ui-table-heatmap-JkwDydPq.js → vue-ui-table-heatmap-ClCYuGAL.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-BOKgPT0e.js → vue-ui-table-sparkline-BUzu6v2P.js} +4 -4
  79. package/dist/{vue-ui-thermometer-Dj0CVTk3.js → vue-ui-thermometer-BsJ_z0Nw.js} +7 -7
  80. package/dist/{vue-ui-timer-B407nCRd.js → vue-ui-timer-0x5nZPEp.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-C_betH5B.js → vue-ui-tiremarks-qT3POAeD.js} +6 -6
  82. package/dist/{vue-ui-treemap-D0gScsaQ.js → vue-ui-treemap-B4ezfcLU.js} +356 -345
  83. package/dist/{vue-ui-vertical-bar-D3aoix_0.js → vue-ui-vertical-bar-Bwpe58hH.js} +9 -9
  84. package/dist/{vue-ui-waffle-hpsuszbt.js → vue-ui-waffle-CSKAC_dQ.js} +306 -295
  85. package/dist/{vue-ui-wheel-0etwsu-o.js → vue-ui-wheel-CVg1L12p.js} +6 -6
  86. package/dist/{vue-ui-word-cloud-tsEprRhX.js → vue-ui-word-cloud-DY88UMDD.js} +6 -6
  87. package/dist/{vue-ui-world-BCtGvXjy.js → vue-ui-world-UaCxKRrk.js} +343 -329
  88. package/dist/vue-ui-xy-Bsh6AmS0.js +3846 -0
  89. package/dist/{vue-ui-xy-canvas-B1s9twtZ.js → vue-ui-xy-canvas-D7VaVkKk.js} +305 -294
  90. package/package.json +1 -1
  91. package/dist/vue-ui-xy-BoT_c9bU.js +0 -3808
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as D, computed as y, ref as d, toRefs as bt, watch as re, shallowRef as Be, onMounted as gt, onBeforeUnmount as xt, watchEffect as kt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as V, createBlock as L, createCommentVNode as m, createElementVNode as E, createVNode as We, createSlots as wt, withCtx as w, renderSlot as b, normalizeProps as H, guardReactiveProps as B, Fragment as C, renderList as N, toDisplayString as W, createTextVNode as At } from "vue";
2
- import { u as Ct, c as ce, t as $t, a as Tt, p as J, b as zt, o as Ue, f as Ve, g as Mt, d as Nt, e as Ft, D as _t, U as It, V as Lt, W as Pt, X as Ot, I as St, y as je, E as K, v as Rt, w as Dt, k as Ge, i as Xe, z as Et } from "./index-B9Ct1B_p.js";
3
- import { t as Ye, u as Ht } from "./useResponsive-DfdjqQps.js";
4
- import { u as Bt } from "./usePrinter-DcZXg1hH.js";
5
- import { u as Wt, B as Ut } from "./useLoading-D7YHNtLX.js";
6
- import { u as qe } from "./useNestedProp-C0gKxLur.js";
7
- import { u as Vt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as jt } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as Gt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import Xt from "./Title-CntvKJss.js";
11
- import Yt from "./Legend-CQsASoei.js";
12
- import { _ as qt } from "./Shape-0sW2StrO.js";
13
- import Jt from "./img-Cv4nScI0.js";
14
- import { _ as Kt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"], ta = { style: { "pointer-events": "none" } }, aa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], la = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], oa = { key: 0 }, sa = ["x", "y", "fill", "font-size", "font-weight"], na = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ia = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ua = { key: 0 }, ra = ["x", "y", "font-size", "fill"], ca = ["width", "x", "y"], va = { style: { width: "100%" } }, da = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ha = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], pa = ["d", "onMouseenter", "onMouseleave", "onClick"], ma = {
1
+ import { defineAsyncComponent as H, computed as y, ref as d, toRefs as gt, watch as re, shallowRef as We, onMounted as xt, onBeforeUnmount as kt, watchEffect as wt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as _, normalizeClass as j, createBlock as M, createCommentVNode as p, createElementVNode as P, createVNode as Ue, createSlots as At, withCtx as w, renderSlot as b, normalizeProps as B, guardReactiveProps as W, Fragment as C, renderList as N, toDisplayString as U, Teleport as Ct, createTextVNode as $t } from "vue";
2
+ import { u as Tt, c as ce, t as zt, a as _t, p as K, b as Mt, o as Ve, f as je, g as Nt, d as Ft, e as It, D as Lt, U as Pt, V as Ot, W as St, X as Rt, I as Dt, y as Ge, E as Q, v as Et, w as Ht, k as Xe, i as Ye, z as Bt } from "./index-q-LPw2IT.js";
3
+ import { t as qe, u as Wt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Ut } from "./usePrinter-DX7efa1s.js";
5
+ import { u as Vt, B as jt } from "./useLoading-D7YHNtLX.js";
6
+ import { u as Je } from "./useNestedProp-04aFeUYu.js";
7
+ import { u as Gt } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as Xt } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as Yt } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import qt from "./Title-B55R8CAZ.js";
11
+ import Jt from "./Legend-DcDSkq99.js";
12
+ import { _ as Kt } from "./Shape-DHIaJs9G.js";
13
+ import Qt from "./img-Ctts6JQb.js";
14
+ import { _ as Zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ea = ["id"], ta = ["id"], aa = ["xmlns", "viewBox"], la = ["x", "y", "width", "height"], oa = { style: { "pointer-events": "none" } }, sa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ia = { key: 0 }, ua = ["x", "y", "fill", "font-size", "font-weight"], ra = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ca = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], va = { key: 0 }, da = ["x", "y", "font-size", "fill"], ha = ["width", "x", "y"], pa = { style: { width: "100%" } }, ma = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ya = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], fa = ["d", "onMouseenter", "onMouseleave", "onClick"], ba = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, ya = ["onClick"], fa = ["innerHTML"], ba = {
18
+ }, ga = ["id"], xa = ["onClick"], ka = ["innerHTML"], wa = {
19
19
  __name: "vue-ui-parallel-coordinate-plot",
20
20
  props: {
21
21
  config: {
@@ -32,20 +32,20 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(Je, { expose: Ke, emit: Qe }) {
36
- const Ze = D(() => import("./vue-ui-accordion-B31QK9Hj.js")), et = D(() => import("./DataTable-osx68WLA.js")), tt = D(() => import("./PackageVersion-DZGrOKw5.js")), at = D(() => import("./PenAndPaper-CdXspg5R.js")), lt = D(() => import("./Tooltip-DF8e4iB9.js")), ot = D(() => import("./UserOptions-DQyIO0ts.js")), { vue_ui_parallel_coordinate_plot: st } = Ct(), $ = Je, j = y({
35
+ setup(Ke, { expose: Qe, emit: Ze }) {
36
+ const et = H(() => import("./vue-ui-accordion-D46i_gkB.js")), tt = H(() => import("./DataTable-rj9-mAwF.js")), at = H(() => import("./PackageVersion-5ZjKSIei.js")), lt = H(() => import("./PenAndPaper-BJ0hcgsa.js")), ot = H(() => import("./Tooltip-BMOddG-M.js")), st = H(() => import("./UserOptions-DVzyjG-W.js")), { vue_ui_parallel_coordinate_plot: nt } = Tt(), $ = Ke, G = y({
37
37
  get() {
38
38
  return !!$.dataset && $.dataset.length;
39
39
  },
40
40
  set(a) {
41
41
  return a;
42
42
  }
43
- }), ve = d(0), F = d(null), de = d(null), he = d(null), pe = d(null), me = d(null), ye = d(0), fe = d(0), be = d(0), Q = d(null), Z = d(ce()), O = d(!1);
44
- function ge(a) {
45
- O.value = a, ve.value += 1;
43
+ }), ve = d(0), F = d(null), de = d(null), he = d(null), pe = d(null), me = d(null), ye = d(0), fe = d(0), be = d(0), ge = d(!1), Z = d(null), O = d(ce()), R = d(!1);
44
+ function xe(a) {
45
+ R.value = a, ve.value += 1;
46
46
  }
47
- const e = d(ae()), { loading: P, FINAL_DATASET: nt, manualLoading: ee } = Wt({
48
- ...bt($),
47
+ const e = d(ae()), { loading: S, FINAL_DATASET: it, manualLoading: ee } = Vt({
48
+ ...gt($),
49
49
  FINAL_CONFIG: e,
50
50
  prepareConfig: ae,
51
51
  skeletonDataset: [
@@ -83,7 +83,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
83
83
  ]
84
84
  }
85
85
  ],
86
- skeletonConfig: $t({
86
+ skeletonConfig: zt({
87
87
  defaultConfig: e.value,
88
88
  userConfig: {
89
89
  useCssAnimation: !1,
@@ -110,51 +110,51 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
110
110
  }
111
111
  }
112
112
  })
113
- }), { userOptionsVisible: te, setUserOptionsVisibility: xe, keepUserOptionState: ke } = Vt({ config: e.value }), { svgRef: we } = jt({ config: e.value.style.chart.title });
113
+ }), { userOptionsVisible: te, setUserOptionsVisibility: ke, keepUserOptionState: we } = Gt({ config: e.value }), { svgRef: Ae } = Xt({ config: e.value.style.chart.title });
114
114
  function ae() {
115
- const a = qe({
115
+ const a = Je({
116
116
  userConfig: $.config,
117
- defaultConfig: st
117
+ defaultConfig: nt
118
118
  });
119
119
  return a.theme ? {
120
- ...qe({
121
- userConfig: zt.vue_ui_parallel_coordinate_plot[a.theme] || $.config,
120
+ ...Je({
121
+ userConfig: Mt.vue_ui_parallel_coordinate_plot[a.theme] || $.config,
122
122
  defaultConfig: a
123
123
  }),
124
- customPalette: Tt[a.theme] || J
124
+ customPalette: _t[a.theme] || K
125
125
  } : a;
126
126
  }
127
127
  re(() => $.config, (a) => {
128
- P.value || (e.value = ae()), te.value = !e.value.userOptions.showOnChartHover, Ce(), ye.value += 1, be.value += 1, fe.value += 1, p.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, p.value.showTable = e.value.table.show, p.value.showTooltip = e.value.style.chart.tooltip.show;
128
+ S.value || (e.value = ae()), te.value = !e.value.userOptions.showOnChartHover, $e(), ye.value += 1, be.value += 1, fe.value += 1, m.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, m.value.showTable = e.value.table.show, m.value.showTooltip = e.value.style.chart.tooltip.show;
129
129
  }, { deep: !0 }), re(() => $.dataset, (a) => {
130
130
  Array.isArray(a) && a.length > 0 && (ee.value = !1);
131
131
  }, { deep: !0 });
132
- const _ = Be(null), S = Be(null);
133
- gt(() => {
134
- Ce();
132
+ const I = We(null), D = We(null);
133
+ xt(() => {
134
+ ge.value = !0, $e();
135
135
  });
136
- const Ae = y(() => !!e.value.debug);
137
- function Ce() {
138
- if (Ue($.dataset) ? (Ve({
136
+ const Ce = y(() => !!e.value.debug);
137
+ function $e() {
138
+ if (Ve($.dataset) ? (je({
139
139
  componentName: "VueUiParallelCoordinatePlot",
140
140
  type: "dataset",
141
- debug: Ae.value
141
+ debug: Ce.value
142
142
  }), ee.value = !0) : $.dataset.forEach((a, o) => {
143
- Mt({
143
+ Nt({
144
144
  datasetObject: a,
145
145
  requiredAttributes: ["name", "series"]
146
146
  }).forEach((t) => {
147
- j.value = !1, Ve({
147
+ G.value = !1, je({
148
148
  componentName: "VueUiParallelCoordinatePlot",
149
149
  type: "datasetSerieAttribute",
150
150
  property: t,
151
151
  index: o,
152
- debug: Ae.value
152
+ debug: Ce.value
153
153
  });
154
154
  });
155
- }), Ue($.dataset) || (ee.value = e.value.loading), e.value.responsive) {
156
- const a = Ye(() => {
157
- const { width: o, height: t } = Ht({
155
+ }), Ve($.dataset) || (ee.value = e.value.loading), e.value.responsive) {
156
+ const a = qe(() => {
157
+ const { width: o, height: t } = Wt({
158
158
  chart: F.value,
159
159
  title: e.value.style.chart.title.text ? de.value : null,
160
160
  legend: e.value.style.chart.legend.show ? he.value : null,
@@ -162,25 +162,25 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
162
162
  noTitle: me.value
163
163
  });
164
164
  requestAnimationFrame(() => {
165
- c.value.width = o, c.value.height = t - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = K({
165
+ c.value.width = o, c.value.height = t - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = Q({
166
166
  relator: Math.min(o, t),
167
167
  adjuster: 600,
168
168
  source: e.value.style.chart.plots.radius,
169
169
  threshold: 2,
170
170
  fallback: 2
171
- }), c.value.ticksFontSize = K({
171
+ }), c.value.ticksFontSize = Q({
172
172
  relator: Math.min(o, t),
173
173
  adjuster: 600,
174
174
  source: e.value.style.chart.yAxis.labels.ticks.fontSize,
175
175
  threshold: 10,
176
176
  fallback: 10
177
- }), c.value.datapointFontSize = K({
177
+ }), c.value.datapointFontSize = Q({
178
178
  relator: Math.min(o, t),
179
179
  adjuster: 600,
180
180
  source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
181
181
  threshold: 10,
182
182
  fallback: 10
183
- }), c.value.axisNameFontSize = K({
183
+ }), c.value.axisNameFontSize = Q({
184
184
  relator: Math.min(o, t),
185
185
  adjuster: 600,
186
186
  source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
@@ -189,17 +189,17 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
189
189
  })) : (c.value.plotSize = e.value.style.chart.plots.radius, c.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, c.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, c.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
190
190
  });
191
191
  });
192
- _.value && (S.value && _.value.unobserve(S.value), _.value.disconnect()), _.value = new ResizeObserver(a), S.value = F.value.parentNode, _.value.observe(S.value);
192
+ I.value && (D.value && I.value.unobserve(D.value), I.value.disconnect()), I.value = new ResizeObserver(a), D.value = F.value.parentNode, I.value.observe(D.value);
193
193
  }
194
194
  }
195
- xt(() => {
196
- _.value && (S.value && _.value.unobserve(S.value), _.value.disconnect());
195
+ kt(() => {
196
+ I.value && (D.value && I.value.unobserve(D.value), I.value.disconnect());
197
197
  });
198
- const { isPrinting: $e, isImaging: Te, generatePdf: ze, generateImage: Me } = Bt({
199
- elementId: `pcp_${Z.value}`,
198
+ const { isPrinting: Te, isImaging: ze, generatePdf: _e, generateImage: Me } = Ut({
199
+ elementId: `pcp_${O.value}`,
200
200
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
201
201
  options: e.value.userOptions.print
202
- }), it = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
202
+ }), ut = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
203
203
  height: e.value.style.chart.height,
204
204
  width: e.value.style.chart.width,
205
205
  plotSize: e.value.style.chart.plots.radius,
@@ -208,14 +208,14 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
208
208
  // ratio 42.85
209
209
  datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
210
210
  axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
211
- }), Ne = y(() => c.value.width), Fe = y(() => c.value.height), U = d(0), ut = Ye((a) => {
212
- U.value = a;
211
+ }), Ne = y(() => c.value.width), Fe = y(() => c.value.height), V = d(0), rt = qe((a) => {
212
+ V.value = a;
213
213
  }, 100);
214
- kt((a) => {
215
- const o = Q.value;
214
+ wt((a) => {
215
+ const o = Z.value;
216
216
  if (!o) return;
217
217
  const t = new ResizeObserver((s) => {
218
- ut(s[0].contentRect.height);
218
+ rt(s[0].contentRect.height);
219
219
  });
220
220
  t.observe(o), a(() => t.disconnect());
221
221
  });
@@ -224,14 +224,14 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
224
224
  return {
225
225
  chartHeight: Math.max(1e-3, l),
226
226
  chartWidth: Math.max(1e-3, r),
227
- height: Math.max(1e-3, l - a - t - U.value - c.value.datapointFontSize * 2),
227
+ height: Math.max(1e-3, l - a - t - V.value - c.value.datapointFontSize * 2),
228
228
  width: Math.max(1e-3, r - s - o),
229
- top: a + U.value + c.value.datapointFontSize,
229
+ top: a + V.value + c.value.datapointFontSize,
230
230
  left: s,
231
231
  right: r - o,
232
232
  bottom: l - t - c.value.datapointFontSize
233
233
  };
234
- }), rt = y(() => Nt(e.value.customPalette)), p = d({
234
+ }), ct = y(() => Ft(e.value.customPalette)), m = d({
235
235
  dataLabels: {
236
236
  show: e.value.style.chart.yAxis.labels.datapoints.show
237
237
  },
@@ -239,7 +239,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
239
239
  showTooltip: e.value.style.chart.tooltip.show
240
240
  });
241
241
  re(e, () => {
242
- p.value = {
242
+ m.value = {
243
243
  dataLabels: {
244
244
  show: e.value.style.chart.yAxis.labels.datapoints.show
245
245
  },
@@ -248,11 +248,11 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
248
248
  };
249
249
  }, { immediate: !0 });
250
250
  const z = d([]);
251
- function _e(a) {
251
+ function Ie(a) {
252
252
  z.value.includes(a) ? z.value = z.value.filter((o) => o !== a) : z.value.push(a);
253
253
  }
254
- const I = y(() => nt.value.map((a, o) => {
255
- const t = Ft(a.color) || rt.value[o] || J[o] || J[o % J.length];
254
+ const L = y(() => it.value.map((a, o) => {
255
+ const t = It(a.color) || ct.value[o] || K[o] || K[o % K.length];
256
256
  return {
257
257
  ...a,
258
258
  series: a.series.map((s) => ({
@@ -265,27 +265,27 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
265
265
  id: ce(),
266
266
  shape: a.shape || "circle"
267
267
  };
268
- })), ct = y(() => I.value.map((a) => ({
268
+ })), vt = y(() => L.value.map((a) => ({
269
269
  ...a,
270
270
  opacity: z.value.includes(a.id) ? 0.5 : 1,
271
- segregate: () => _e(a.id),
271
+ segregate: () => Ie(a.id),
272
272
  isSegregated: z.value.includes(a.id)
273
- }))), vt = y(() => ({
273
+ }))), dt = y(() => ({
274
274
  cy: "pcp-div-legend",
275
275
  backgroundColor: e.value.style.chart.legend.backgroundColor,
276
276
  color: e.value.style.chart.legend.color,
277
277
  fontSize: e.value.style.chart.legend.fontSize,
278
278
  paddingBottom: 12,
279
279
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
280
- })), Ie = y(() => Math.max(
281
- ...I.value.filter((a) => !z.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((o) => o.values.length)))
282
- )), A = y(() => h.value.width / Ie.value), le = y(() => I.value.filter((a) => !z.value.includes(a.id))), f = y(() => {
280
+ })), Le = y(() => Math.max(
281
+ ...L.value.filter((a) => !z.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((o) => o.values.length)))
282
+ )), A = y(() => h.value.width / Le.value), le = y(() => L.value.filter((a) => !z.value.includes(a.id))), f = y(() => {
283
283
  let a = [];
284
- for (let o = 0; o < Ie.value; o += 1) {
285
- const t = Math.min(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), s = Math.max(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), l = s === t ? t / 4 : t, r = s === t ? s * 2 : s, i = _t(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((g, x) => {
286
- const yt = i.min < 0 ? g + Math.abs(i.min) : g - Math.abs(i.min), ft = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
284
+ for (let o = 0; o < Le.value; o += 1) {
285
+ const t = Math.min(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), s = Math.max(...le.value.flatMap((g) => g.series.map((x) => x.values[o] || 0) || 0)), l = s === t ? t / 4 : t, r = s === t ? s * 2 : s, i = Lt(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((g, x) => {
286
+ const ft = i.min < 0 ? g + Math.abs(i.min) : g - Math.abs(i.min), bt = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
287
287
  return {
288
- y: h.value.bottom - h.value.height * (yt / ft),
288
+ y: h.value.bottom - h.value.height * (ft / bt),
289
289
  x: h.value.left + A.value * o + A.value / 2,
290
290
  value: g
291
291
  };
@@ -319,7 +319,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
319
319
  })).map((a) => ({
320
320
  ...a,
321
321
  series: a.series.map((o) => {
322
- const t = It(o.datapoints), s = Lt(o.datapoints), l = Pt(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${t}`);
322
+ const t = Pt(o.datapoints), s = Ot(o.datapoints), l = St(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${t}`);
323
323
  return {
324
324
  ...o,
325
325
  smoothPath: s,
@@ -328,11 +328,11 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
328
328
  };
329
329
  })
330
330
  })));
331
- function Le({ value: a, index: o, datapoint: t }) {
332
- return Ge(
331
+ function Pe({ value: a, index: o, datapoint: t }) {
332
+ return Xe(
333
333
  e.value.style.chart.yAxis.labels.formatters[o] || null,
334
334
  a,
335
- Xe({
335
+ Ye({
336
336
  p: e.value.style.chart.yAxis.labels.prefixes[o] || "",
337
337
  v: a,
338
338
  s: e.value.style.chart.yAxis.labels.suffixes[o] || "",
@@ -342,23 +342,23 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
342
342
  );
343
343
  }
344
344
  const k = d(null), se = d(null), ne = d(!1), ie = d("");
345
- function G({ shape: a, serie: o, S: t }) {
345
+ function X({ shape: a, serie: o, S: t }) {
346
346
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: a }, seriesIndex: t }), k.value = null, ne.value = null;
347
347
  }
348
- function X({ shape: a, serieName: o, serie: t, relativeIndex: s, seriesIndex: l, S: r }) {
349
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, shape: a }, seriesIndex: r }), se.value = { serie: t, relativeIndex: s, seriesIndex: l, series: I.value, scales: f.value }, ne.value = !0, k.value = t.id;
348
+ function Y({ shape: a, serieName: o, serie: t, relativeIndex: s, seriesIndex: l, S: r }) {
349
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, shape: a }, seriesIndex: r }), se.value = { serie: t, relativeIndex: s, seriesIndex: l, series: L.value, scales: f.value }, ne.value = !0, k.value = t.id;
350
350
  let i = "";
351
351
  const T = e.value.style.chart.tooltip.customFormat;
352
- je(T) && Et(() => T({
352
+ Ge(T) && Bt(() => T({
353
353
  serie: t,
354
354
  seriesIndex: t.seriesIndex,
355
- series: I.value,
355
+ series: L.value,
356
356
  config: e.value,
357
357
  scales: f.value
358
358
  })) ? ie.value = T({
359
359
  serie: t,
360
360
  seriesIndex: t.seriesIndex,
361
- series: I.value,
361
+ series: L.value,
362
362
  config: e.value,
363
363
  scales: f.value
364
364
  }) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o ? o + " - " : ""}${t.name}</div>`, f.value.map((g) => g.name).forEach((g, x) => {
@@ -366,10 +366,10 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
366
366
  <div class="vue-ui-tooltip-item" style="text-align:left">
367
367
  <span>${g}: </span>
368
368
  <span>
369
- ${Ge(
369
+ ${Xe(
370
370
  e.value.style.chart.yAxis.labels.formatters[x] || null,
371
371
  t.datapoints[x].value,
372
- Xe({
372
+ Ye({
373
373
  p: e.value.style.chart.yAxis.labels.prefixes[x] || "",
374
374
  v: t.datapoints[x].value,
375
375
  s: e.value.style.chart.yAxis.labels.suffixes[x] || "",
@@ -382,10 +382,10 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
382
382
  `, e.value.style.chart.comments.showInTooltip && t.datapoints[x].comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${t.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${t.color}">${t.datapoints[x].comment}</div>`);
383
383
  }), ie.value = `<div>${i}</div>`);
384
384
  }
385
- function dt() {
386
- return I.value;
385
+ function ht() {
386
+ return L.value;
387
387
  }
388
- const R = y(() => {
388
+ const E = y(() => {
389
389
  const a = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((l) => l.name)), o = oe.value.flatMap((l, r) => l.series.map((i) => [l.name].concat([i.name]).concat(i.values))), t = {
390
390
  th: {
391
391
  backgroundColor: e.value.table.th.backgroundColor,
@@ -405,41 +405,41 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
405
405
  config: t,
406
406
  colNames: s
407
407
  };
408
- }), Pe = y(() => oe.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
409
- head: R.value.head,
410
- body: R.value.body
408
+ }), Oe = y(() => oe.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
409
+ head: E.value.head,
410
+ body: E.value.body
411
411
  });
412
- function Oe(a = null) {
413
- const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = Pe.value.head, s = Pe.value.body, l = o.concat([t]).concat(s), r = Rt(l);
414
- a ? a(r) : Dt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
412
+ function Se(a = null) {
413
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = Oe.value.head, s = Oe.value.body, l = o.concat([t]).concat(s), r = Et(l);
414
+ a ? a(r) : Ht({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
415
415
  }
416
- const Se = Qe;
417
- function Y({ serie: a, shape: o, S: t }) {
418
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...a, shape: o }, seriesIndex: t }), Se("selectDatapoint", a);
416
+ const Re = Ze;
417
+ function q({ serie: a, shape: o, S: t }) {
418
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...a, shape: o }, seriesIndex: t }), Re("selectDatapoint", a);
419
419
  }
420
- function Re(a) {
421
- Se("selectLegend", {
420
+ function De(a) {
421
+ Re("selectLegend", {
422
422
  ...a,
423
423
  isSegregated: !a.isSegregated,
424
424
  opacity: a.isSegregated ? 1 : 0.5
425
425
  });
426
426
  }
427
- function De() {
428
- p.value.showTable = !p.value.showTable;
429
- }
430
427
  function Ee() {
431
- p.value.dataLabels.show = !p.value.dataLabels.show;
428
+ m.value.showTable = !m.value.showTable;
432
429
  }
433
430
  function He() {
434
- p.value.showTooltip = !p.value.showTooltip;
431
+ m.value.dataLabels.show = !m.value.dataLabels.show;
432
+ }
433
+ function Be() {
434
+ m.value.showTooltip = !m.value.showTooltip;
435
435
  }
436
- const q = d(!1);
436
+ const J = d(!1);
437
437
  function ue() {
438
- q.value = !q.value;
438
+ J.value = !J.value;
439
439
  }
440
- async function ht({ scale: a = 2 } = {}) {
440
+ async function pt({ scale: a = 2 } = {}) {
441
441
  if (!F.value) return;
442
- const { width: o, height: t } = F.value.getBoundingClientRect(), s = o / t, { imageUri: l, base64: r } = await Jt({ domElement: F.value, base64: !0, img: !0, scale: a });
442
+ const { width: o, height: t } = F.value.getBoundingClientRect(), s = o / t, { imageUri: l, base64: r } = await Qt({ domElement: F.value, base64: !0, img: !0, scale: a });
443
443
  return {
444
444
  imageUri: l,
445
445
  base64: r,
@@ -449,11 +449,11 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
449
449
  aspectRatio: s
450
450
  };
451
451
  }
452
- const pt = d({ start: 0, end: 1 }), mt = y(() => f.value.map((a) => a.name));
453
- return Gt({
454
- timeLabelsEls: Q,
455
- timeLabels: mt,
456
- slicer: pt,
452
+ const mt = d({ start: 0, end: 1 }), yt = y(() => f.value.map((a) => a.name));
453
+ return Yt({
454
+ timeLabelsEls: Z,
455
+ timeLabels: yt,
456
+ slicer: mt,
457
457
  configRef: e,
458
458
  rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
459
459
  autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
@@ -462,48 +462,48 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
462
462
  height: Fe,
463
463
  targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
464
464
  rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
465
- }), Ke({
466
- getData: dt,
467
- getImage: ht,
468
- generateCsv: Oe,
469
- generatePdf: ze,
465
+ }), Qe({
466
+ getData: ht,
467
+ getImage: pt,
468
+ generateCsv: Se,
469
+ generatePdf: _e,
470
470
  generateImage: Me,
471
- toggleTable: De,
472
- toggleLabels: Ee,
473
- toggleTooltip: He,
471
+ toggleTable: Ee,
472
+ toggleLabels: He,
473
+ toggleTooltip: Be,
474
474
  toggleAnnotator: ue,
475
- toggleFullscreen: ge
475
+ toggleFullscreen: xe
476
476
  }), (a, o) => (n(), u("div", {
477
477
  ref_key: "pcpChart",
478
478
  ref: F,
479
- class: V(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
480
- style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
481
- id: `pcp_${Z.value}`,
482
- onMouseenter: o[2] || (o[2] = () => v(xe)(!0)),
483
- onMouseleave: o[3] || (o[3] = () => v(xe)(!1))
479
+ class: j(`vue-ui-pcp ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
480
+ style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
481
+ id: `pcp_${O.value}`,
482
+ onMouseenter: o[2] || (o[2] = () => v(ke)(!0)),
483
+ onMouseleave: o[3] || (o[3] = () => v(ke)(!1))
484
484
  }, [
485
- e.value.userOptions.buttons.annotator ? (n(), L(v(at), {
485
+ e.value.userOptions.buttons.annotator ? (n(), M(v(lt), {
486
486
  key: 0,
487
- svgRef: v(we),
487
+ svgRef: v(Ae),
488
488
  backgroundColor: e.value.style.chart.backgroundColor,
489
489
  color: e.value.style.chart.color,
490
- active: q.value,
490
+ active: J.value,
491
491
  onClose: ue
492
- }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
493
- it.value ? (n(), u("div", {
492
+ }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : p("", !0),
493
+ ut.value ? (n(), u("div", {
494
494
  key: 1,
495
495
  ref_key: "noTitle",
496
496
  ref: me,
497
497
  class: "vue-data-ui-no-title-space",
498
498
  style: "height:36px; width: 100%;background:transparent"
499
- }, null, 512)) : m("", !0),
499
+ }, null, 512)) : p("", !0),
500
500
  e.value.style.chart.title.text ? (n(), u("div", {
501
501
  key: 2,
502
502
  ref_key: "chartTitle",
503
503
  ref: de,
504
504
  style: "width:100%;background:transparent;padding-bottom:24px"
505
505
  }, [
506
- (n(), L(Xt, {
506
+ (n(), M(qt, {
507
507
  key: `title_${ye.value}`,
508
508
  config: {
509
509
  title: {
@@ -516,15 +516,18 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
516
516
  }
517
517
  }
518
518
  }, null, 8, ["config"]))
519
- ], 512)) : m("", !0),
520
- e.value.userOptions.show && j.value && (v(ke) || v(te)) ? (n(), L(v(ot), {
519
+ ], 512)) : p("", !0),
520
+ P("div", {
521
+ id: `legend-top-${O.value}`
522
+ }, null, 8, ta),
523
+ e.value.userOptions.show && G.value && (v(we) || v(te)) ? (n(), M(v(st), {
521
524
  ref: "details",
522
525
  key: `user_options_${ve.value}`,
523
526
  backgroundColor: e.value.style.chart.backgroundColor,
524
527
  color: e.value.style.chart.color,
525
- isPrinting: v($e),
526
- isImaging: v(Te),
527
- uid: Z.value,
528
+ isPrinting: v(Te),
529
+ isImaging: v(ze),
530
+ uid: O.value,
528
531
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
529
532
  hasPdf: e.value.userOptions.buttons.pdf,
530
533
  hasXls: e.value.userOptions.buttons.csv,
@@ -532,31 +535,31 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
532
535
  hasTable: e.value.userOptions.buttons.table,
533
536
  hasLabel: e.value.userOptions.buttons.labels,
534
537
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
535
- isFullscreen: O.value,
536
- isTooltip: p.value.showTooltip,
538
+ isFullscreen: R.value,
539
+ isTooltip: m.value.showTooltip,
537
540
  titles: { ...e.value.userOptions.buttonTitles },
538
541
  chartElement: F.value,
539
542
  position: e.value.userOptions.position,
540
543
  hasAnnotator: e.value.userOptions.buttons.annotator,
541
- isAnnotation: q.value,
544
+ isAnnotation: J.value,
542
545
  callbacks: e.value.userOptions.callbacks,
543
546
  printScale: e.value.userOptions.print.scale,
544
- onToggleFullscreen: ge,
545
- onGeneratePdf: v(ze),
546
- onGenerateCsv: Oe,
547
+ onToggleFullscreen: xe,
548
+ onGeneratePdf: v(_e),
549
+ onGenerateCsv: Se,
547
550
  onGenerateImage: v(Me),
548
- onToggleTable: De,
549
- onToggleLabels: Ee,
550
- onToggleTooltip: He,
551
+ onToggleTable: Ee,
552
+ onToggleLabels: He,
553
+ onToggleTooltip: Be,
551
554
  onToggleAnnotator: ue,
552
- style: M({
553
- visibility: v(ke) ? v(te) ? "visible" : "hidden" : "visible"
555
+ style: _({
556
+ visibility: v(we) ? v(te) ? "visible" : "hidden" : "visible"
554
557
  })
555
- }, wt({ _: 2 }, [
558
+ }, At({ _: 2 }, [
556
559
  a.$slots.menuIcon ? {
557
560
  name: "menuIcon",
558
561
  fn: w(({ isOpen: t, color: s }) => [
559
- b(a.$slots, "menuIcon", H(B({ isOpen: t, color: s })), void 0, !0)
562
+ b(a.$slots, "menuIcon", B(W({ isOpen: t, color: s })), void 0, !0)
560
563
  ]),
561
564
  key: "0"
562
565
  } : void 0,
@@ -598,27 +601,27 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
598
601
  a.$slots.optionFullscreen ? {
599
602
  name: "optionFullscreen",
600
603
  fn: w(({ toggleFullscreen: t, isFullscreen: s }) => [
601
- b(a.$slots, "optionFullscreen", H(B({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
604
+ b(a.$slots, "optionFullscreen", B(W({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
602
605
  ]),
603
606
  key: "6"
604
607
  } : void 0,
605
608
  a.$slots.optionAnnotator ? {
606
609
  name: "optionAnnotator",
607
610
  fn: w(({ toggleAnnotator: t, isAnnotator: s }) => [
608
- b(a.$slots, "optionAnnotator", H(B({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
611
+ b(a.$slots, "optionAnnotator", B(W({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
609
612
  ]),
610
613
  key: "7"
611
614
  } : void 0
612
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
615
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
613
616
  (n(), u("svg", {
614
617
  ref_key: "svgRef",
615
- ref: we,
616
- xmlns: v(Ot),
617
- class: V({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
618
+ ref: Ae,
619
+ xmlns: v(Rt),
620
+ class: j({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
618
621
  viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
619
- style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
622
+ style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
620
623
  }, [
621
- We(v(tt)),
624
+ Ue(v(at)),
622
625
  a.$slots["chart-background"] ? (n(), u("foreignObject", {
623
626
  key: 0,
624
627
  x: h.value.left,
@@ -630,16 +633,16 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
630
633
  }
631
634
  }, [
632
635
  b(a.$slots, "chart-background", {}, void 0, !0)
633
- ], 8, ea)) : m("", !0),
634
- (n(!0), u(C, null, N(f.value, (t, s) => (n(), u("g", ta, [
635
- E("line", {
636
+ ], 8, la)) : p("", !0),
637
+ (n(!0), u(C, null, N(f.value, (t, s) => (n(), u("g", oa, [
638
+ P("line", {
636
639
  x1: h.value.left + A.value * s + A.value / 2,
637
640
  x2: h.value.left + A.value * s + A.value / 2,
638
641
  y1: h.value.top,
639
642
  y2: h.value.bottom,
640
643
  stroke: e.value.style.chart.yAxis.stroke,
641
644
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
642
- }, null, 8, aa),
645
+ }, null, 8, sa),
643
646
  e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(C, { key: 0 }, [
644
647
  (n(!0), u(C, null, N(t.ticks, (l) => (n(), u("line", {
645
648
  x1: l.x,
@@ -648,9 +651,9 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
648
651
  y2: l.y,
649
652
  stroke: e.value.style.chart.yAxis.stroke,
650
653
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
651
- style: M(`opacity:${k.value && !p.value.showTooltip ? 0.2 : 1}`)
652
- }, null, 12, la))), 256)),
653
- v(P) ? m("", !0) : (n(), u("g", oa, [
654
+ style: _(`opacity:${k.value && !m.value.showTooltip ? 0.2 : 1}`)
655
+ }, null, 12, na))), 256)),
656
+ v(S) ? p("", !0) : (n(), u("g", ia, [
654
657
  (n(!0), u(C, null, N(t.ticks, (l) => (n(), u("text", {
655
658
  x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
656
659
  y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
@@ -658,15 +661,15 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
658
661
  "text-anchor": "end",
659
662
  "font-size": c.value.ticksFontSize,
660
663
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
661
- style: M(`opacity:${k.value && !p.value.showTooltip ? 0.2 : 1}`)
662
- }, W(Le({ value: l.value, index: s, datapoint: l })), 13, sa))), 256))
664
+ style: _(`opacity:${k.value && !m.value.showTooltip ? 0.2 : 1}`)
665
+ }, U(Pe({ value: l.value, index: s, datapoint: l })), 13, ua))), 256))
663
666
  ]))
664
- ], 64)) : m("", !0)
667
+ ], 64)) : p("", !0)
665
668
  ]))), 256)),
666
669
  e.value.style.chart.yAxis.labels.showAxisNames ? (n(), u("g", {
667
670
  key: 1,
668
671
  ref_key: "xAxisLabels",
669
- ref: Q
672
+ ref: Z
670
673
  }, [
671
674
  (n(!0), u(C, null, N(f.value, (t, s) => (n(), u(C, null, [
672
675
  String(t.name).includes(`
@@ -677,36 +680,36 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
677
680
  "font-size": c.value.axisNameFontSize,
678
681
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
679
682
  "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
680
- transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
681
- innerHTML: v(St)({
683
+ transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
684
+ innerHTML: v(Dt)({
682
685
  content: String(t.name),
683
686
  fontSize: c.value.axisNameFontSize,
684
687
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
685
688
  x: 0,
686
689
  y: 0
687
690
  })
688
- }, null, 8, ia)) : (n(), u("text", {
691
+ }, null, 8, ca)) : (n(), u("text", {
689
692
  key: 0,
690
693
  class: "vue-ui-parallel-coordinate-plot-x-label",
691
694
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
692
695
  "font-size": c.value.axisNameFontSize,
693
696
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
694
697
  "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
695
- transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${U.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
696
- }, W(t.name), 9, na))
698
+ transform: `translate(${h.value.left + A.value * s + A.value / 2}, ${V.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
699
+ }, U(t.name), 9, ra))
697
700
  ], 64))), 256))
698
- ], 512)) : m("", !0),
701
+ ], 512)) : p("", !0),
699
702
  (n(!0), u(C, null, N(oe.value, (t, s) => (n(), u("g", null, [
700
703
  (n(!0), u(C, null, N(t.series, (l, r) => (n(), u("g", null, [
701
- e.value.style.chart.plots.show ? (n(), u("g", ua, [
702
- (n(!0), u(C, null, N(l.datapoints, (i, T) => (n(), L(qt, {
704
+ e.value.style.chart.plots.show ? (n(), u("g", va, [
705
+ (n(!0), u(C, null, N(l.datapoints, (i, T) => (n(), M(Kt, {
703
706
  plot: { x: i.x, y: i.y },
704
707
  color: t.color,
705
708
  shape: t.shape,
706
709
  radius: t.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
707
710
  stroke: e.value.style.chart.backgroundColor,
708
711
  strokeWidth: 0.5,
709
- onMouseenter: (g) => X({
712
+ onMouseenter: (g) => Y({
710
713
  shape: t.shape,
711
714
  serieName: t.name,
712
715
  serie: l,
@@ -714,11 +717,11 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
714
717
  seriesIndex: l.seriesIndex,
715
718
  S: s
716
719
  }),
717
- onMouseleave: (g) => G({ serie: l, shape: t.shape, S: s }),
718
- style: M(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
719
- onClick: () => Y({ serie: l, shape: t.shape, S: s })
720
+ onMouseleave: (g) => X({ serie: l, shape: t.shape, S: s }),
721
+ style: _(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
722
+ onClick: () => q({ serie: l, shape: t.shape, S: s })
720
723
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
721
- p.value.showTooltip ? m("", !0) : (n(), u(C, { key: 0 }, [
724
+ m.value.showTooltip ? p("", !0) : (n(), u(C, { key: 0 }, [
722
725
  k.value && k.value === l.id && l.datapoints.length ? (n(), u("text", {
723
726
  key: 0,
724
727
  x: l.datapoints[0].x - c.value.ticksFontSize,
@@ -727,7 +730,7 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
727
730
  "font-size": c.value.ticksFontSize,
728
731
  fill: t.color,
729
732
  "font-weight": "bold"
730
- }, W(l.name), 9, ra)) : m("", !0)
733
+ }, U(l.name), 9, da)) : p("", !0)
731
734
  ], 64)),
732
735
  e.value.style.chart.comments.show ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i) => (n(), u("g", null, [
733
736
  i.comment ? (n(), u("foreignObject", {
@@ -738,23 +741,23 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
738
741
  x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
739
742
  y: i.y + e.value.style.chart.comments.offsetY + 6
740
743
  }, [
741
- E("div", va, [
744
+ P("div", pa, [
742
745
  b(a.$slots, "plot-comment", {
743
746
  plot: { ...i, color: t.color }
744
747
  }, void 0, !0)
745
748
  ])
746
- ], 8, ca)) : m("", !0)
747
- ]))), 256)) : m("", !0)
748
- ])) : m("", !0),
749
- !v(P) && (p.value.dataLabels.show || k.value && k.value === l.id) ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i, T) => (n(), u("text", {
749
+ ], 8, ha)) : p("", !0)
750
+ ]))), 256)) : p("", !0)
751
+ ])) : p("", !0),
752
+ !v(S) && (m.value.dataLabels.show || k.value && k.value === l.id) ? (n(!0), u(C, { key: 1 }, N(l.datapoints, (i, T) => (n(), u("text", {
750
753
  x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
751
754
  y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
752
755
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : e.value.style.chart.yAxis.labels.datapoints.color,
753
756
  "text-anchor": "start",
754
757
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
755
- class: V({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(P) }),
758
+ class: j({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(S) }),
756
759
  "font-size": c.value.datapointFontSize,
757
- onMouseenter: (g) => X({
760
+ onMouseenter: (g) => Y({
758
761
  shape: t.shape,
759
762
  serieName: t.name,
760
763
  serie: l,
@@ -762,17 +765,17 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
762
765
  seriesIndex: l.seriesIndex,
763
766
  S: s
764
767
  }),
765
- onMouseleave: (g) => G({ serie: l, shape: t.shape, S: s }),
766
- onClick: () => Y({ serie: l, shape: t.shape, S: s }),
767
- style: M(`opacity:${k.value ? k.value === l.id ? 1 : 0.2 : 1}`)
768
- }, W(Le({ value: i.value, index: T, datapoint: i })), 47, da))), 256)) : m("", !0),
769
- E("path", {
768
+ onMouseleave: (g) => X({ serie: l, shape: t.shape, S: s }),
769
+ onClick: () => q({ serie: l, shape: t.shape, S: s }),
770
+ style: _(`opacity:${k.value ? k.value === l.id ? 1 : 0.2 : 1}`)
771
+ }, U(Pe({ value: i.value, index: T, datapoint: i })), 47, ma))), 256)) : p("", !0),
772
+ P("path", {
770
773
  d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
771
774
  stroke: t.color,
772
775
  "stroke-width": e.value.style.chart.lines.strokeWidth,
773
776
  fill: "none",
774
- class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(P) }),
775
- onMouseenter: (i) => X({
777
+ class: j({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(S) }),
778
+ onMouseenter: (i) => Y({
776
779
  shape: t.shape,
777
780
  serieName: t.name,
778
781
  serie: l,
@@ -780,18 +783,18 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
780
783
  seriesIndex: l.seriesIndex,
781
784
  S: s
782
785
  }),
783
- onMouseleave: (i) => G({ serie: l, shape: t.shape, S: s }),
784
- onClick: () => Y({ serie: l, shape: t.shape, S: s }),
785
- style: M(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
786
- }, null, 46, ha),
787
- p.value.showTooltip ? (n(), u("path", {
786
+ onMouseleave: (i) => X({ serie: l, shape: t.shape, S: s }),
787
+ onClick: () => q({ serie: l, shape: t.shape, S: s }),
788
+ style: _(`opacity:${k.value ? k.value === l.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${l.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? l.pathLength : 0}`)
789
+ }, null, 46, ya),
790
+ m.value.showTooltip ? (n(), u("path", {
788
791
  key: 2,
789
792
  d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
790
793
  stroke: "transparent",
791
794
  "stroke-width": 12,
792
795
  fill: "none",
793
- class: V({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(P) }),
794
- onMouseenter: (i) => X({
796
+ class: j({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(S) }),
797
+ onMouseenter: (i) => Y({
795
798
  shape: t.shape,
796
799
  serieName: t.name,
797
800
  serie: l,
@@ -799,53 +802,61 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
799
802
  seriesIndex: l.seriesIndex,
800
803
  S: s
801
804
  }),
802
- onMouseleave: (i) => G({ serie: l, shape: t.shape, S: s }),
803
- onClick: () => Y({ serie: l, shape: t.shape, S: s }),
805
+ onMouseleave: (i) => X({ serie: l, shape: t.shape, S: s }),
806
+ onClick: () => q({ serie: l, shape: t.shape, S: s }),
804
807
  style: { opacity: "0" }
805
- }, null, 42, pa)) : m("", !0)
808
+ }, null, 42, fa)) : p("", !0)
806
809
  ]))), 256))
807
810
  ]))), 256)),
808
811
  b(a.$slots, "svg", { svg: h.value }, void 0, !0)
809
- ], 14, Zt)),
810
- a.$slots.watermark ? (n(), u("div", ma, [
811
- b(a.$slots, "watermark", H(B({ isPrinting: v($e) || v(Te) })), void 0, !0)
812
- ])) : m("", !0),
813
- E("div", {
814
- ref_key: "chartLegend",
815
- ref: he
812
+ ], 14, aa)),
813
+ a.$slots.watermark ? (n(), u("div", ba, [
814
+ b(a.$slots, "watermark", B(W({ isPrinting: v(Te) || v(ze) })), void 0, !0)
815
+ ])) : p("", !0),
816
+ P("div", {
817
+ id: `legend-bottom-${O.value}`
818
+ }, null, 8, ga),
819
+ ge.value ? (n(), M(Ct, {
820
+ key: 5,
821
+ to: e.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
816
822
  }, [
817
- e.value.style.chart.legend.show && j.value ? (n(), L(Yt, {
818
- key: `legend_${fe.value}`,
819
- legendSet: ct.value,
820
- config: vt.value,
821
- onClickMarker: o[0] || (o[0] = ({ legend: t }) => {
822
- _e(t.id), Re(t);
823
- })
824
- }, {
825
- item: w(({ legend: t, index: s }) => [
826
- E("div", {
827
- onClick: (l) => {
828
- t.segregate(), Re(t);
829
- },
830
- style: M(`opacity:${z.value.includes(t.id) ? 0.5 : 1}`)
831
- }, W(t.name), 13, ya)
832
- ]),
833
- _: 1
834
- }, 8, ["legendSet", "config"])) : b(a.$slots, "legend", {
835
- key: 1,
836
- legend: I.value
837
- }, void 0, !0)
838
- ], 512),
823
+ P("div", {
824
+ ref_key: "chartLegend",
825
+ ref: he
826
+ }, [
827
+ e.value.style.chart.legend.show && G.value ? (n(), M(Jt, {
828
+ key: `legend_${fe.value}`,
829
+ legendSet: vt.value,
830
+ config: dt.value,
831
+ onClickMarker: o[0] || (o[0] = ({ legend: t }) => {
832
+ Ie(t.id), De(t);
833
+ })
834
+ }, {
835
+ item: w(({ legend: t, index: s }) => [
836
+ P("div", {
837
+ onClick: (l) => {
838
+ t.segregate(), De(t);
839
+ },
840
+ style: _(`opacity:${z.value.includes(t.id) ? 0.5 : 1}`)
841
+ }, U(t.name), 13, xa)
842
+ ]),
843
+ _: 1
844
+ }, 8, ["legendSet", "config"])) : b(a.$slots, "legend", {
845
+ key: 1,
846
+ legend: L.value
847
+ }, void 0, !0)
848
+ ], 512)
849
+ ], 8, ["to"])) : p("", !0),
839
850
  a.$slots.source ? (n(), u("div", {
840
- key: 5,
851
+ key: 6,
841
852
  ref_key: "source",
842
853
  ref: pe,
843
854
  dir: "auto"
844
855
  }, [
845
856
  b(a.$slots, "source", {}, void 0, !0)
846
- ], 512)) : m("", !0),
847
- We(v(lt), {
848
- show: p.value.showTooltip && ne.value,
857
+ ], 512)) : p("", !0),
858
+ Ue(v(ot), {
859
+ show: m.value.showTooltip && ne.value,
849
860
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
850
861
  color: e.value.style.chart.tooltip.color,
851
862
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -857,24 +868,24 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
857
868
  offsetY: e.value.style.chart.tooltip.offsetY,
858
869
  parent: F.value,
859
870
  content: ie.value,
860
- isFullscreen: O.value,
861
- isCustom: v(je)(e.value.style.chart.tooltip.customFormat),
871
+ isFullscreen: R.value,
872
+ isCustom: v(Ge)(e.value.style.chart.tooltip.customFormat),
862
873
  smooth: e.value.style.chart.tooltip.smooth,
863
874
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
864
875
  }, {
865
876
  "tooltip-before": w(() => [
866
- b(a.$slots, "tooltip-before", H(B({ ...se.value })), void 0, !0)
877
+ b(a.$slots, "tooltip-before", B(W({ ...se.value })), void 0, !0)
867
878
  ]),
868
879
  "tooltip-after": w(() => [
869
- b(a.$slots, "tooltip-after", H(B({ ...se.value })), void 0, !0)
880
+ b(a.$slots, "tooltip-after", B(W({ ...se.value })), void 0, !0)
870
881
  ]),
871
882
  _: 3
872
883
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
873
- j.value ? (n(), L(v(Ze), {
874
- key: 6,
884
+ G.value ? (n(), M(v(et), {
885
+ key: 7,
875
886
  hideDetails: "",
876
887
  config: {
877
- open: p.value.showTable,
888
+ open: m.value.showTable,
878
889
  maxHeight: 1e4,
879
890
  body: {
880
891
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -887,30 +898,30 @@ const Qt = ["id"], Zt = ["xmlns", "viewBox"], ea = ["x", "y", "width", "height"]
887
898
  }
888
899
  }, {
889
900
  content: w(() => [
890
- (n(), L(v(et), {
901
+ (n(), M(v(tt), {
891
902
  key: `table_${be.value}`,
892
- colNames: R.value.colNames,
893
- head: R.value.head,
894
- body: R.value.body,
895
- config: R.value.config,
903
+ colNames: E.value.colNames,
904
+ head: E.value.head,
905
+ body: E.value.body,
906
+ config: E.value.config,
896
907
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
897
- onClose: o[1] || (o[1] = (t) => p.value.showTable = !1)
908
+ onClose: o[1] || (o[1] = (t) => m.value.showTable = !1)
898
909
  }, {
899
910
  th: w(({ th: t }) => [
900
- E("div", { innerHTML: t }, null, 8, fa)
911
+ P("div", { innerHTML: t }, null, 8, ka)
901
912
  ]),
902
913
  td: w(({ td: t }) => [
903
- At(W(t), 1)
914
+ $t(U(t), 1)
904
915
  ]),
905
916
  _: 1
906
917
  }, 8, ["colNames", "head", "body", "config", "title"]))
907
918
  ]),
908
919
  _: 1
909
- }, 8, ["config"])) : m("", !0),
910
- v(P) ? (n(), L(Ut, { key: 7 })) : m("", !0)
911
- ], 46, Qt));
920
+ }, 8, ["config"])) : p("", !0),
921
+ v(S) ? (n(), M(jt, { key: 8 })) : p("", !0)
922
+ ], 46, ea));
912
923
  }
913
- }, La = /* @__PURE__ */ Kt(ba, [["__scopeId", "data-v-4df81816"]]);
924
+ }, Ra = /* @__PURE__ */ Zt(wa, [["__scopeId", "data-v-cf83d8cc"]]);
914
925
  export {
915
- La as default
926
+ Ra as default
916
927
  };