vue-data-ui 3.1.0 → 3.1.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 (94) hide show
  1. package/dist/{Arrow-DvG07exK.js → Arrow-BotYLY2I.js} +1 -1
  2. package/dist/{BaseDraggableDialog-O7900pGp.js → BaseDraggableDialog-Dkpr-qUQ.js} +2 -2
  3. package/dist/{BaseIcon-DHtro8us.js → BaseIcon-BLg8FaQ2.js} +5 -3
  4. package/dist/{ColorPicker-CpWzNn4r.js → ColorPicker-C2sMVpbA.js} +2 -2
  5. package/dist/{DataTable-DJjA2_wf.js → DataTable-BRN1-1ob.js} +2 -2
  6. package/dist/{Legend-2-dC7DVb.js → Legend-DLzeDl3-.js} +2 -2
  7. package/dist/{NonSvgPenAndPaper-DHeE4Yuv.js → NonSvgPenAndPaper-Dp53d2re.js} +3 -3
  8. package/dist/{PackageVersion-DU12WH3O.js → PackageVersion-Jz9FlNXl.js} +1 -1
  9. package/dist/{PenAndPaper-B7QEDgx4.js → PenAndPaper-TgGWddgD.js} +3 -3
  10. package/dist/{Shape-Dj2Hl33H.js → Shape-Bmpx9GRg.js} +1 -1
  11. package/dist/{Slicer-D99HytqX.js → Slicer-DeWHn8zH.js} +2 -2
  12. package/dist/{SparkTooltip-B-wL07rI.js → SparkTooltip-C6fJOQ0j.js} +1 -1
  13. package/dist/{Title-Dq2_Z9kR.js → Title-AGmmsSi_.js} +1 -1
  14. package/dist/{Tooltip-Y219DXZO.js → Tooltip-le0yZk_t.js} +1 -1
  15. package/dist/{UserOptions-BuGfCdAY.js → UserOptions-DEFwuQIo.js} +125 -108
  16. package/dist/{dom-to-png-BhciAKaM.js → dom-to-png-C7V0EktO.js} +1 -1
  17. package/dist/{img-JOqdlnUs.js → img-DvuphHeJ.js} +1 -1
  18. package/dist/{index-CDQbCd41.js → index-BFqW8WA0.js} +97 -74
  19. package/dist/pdf-Bdf65IBz.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +25 -2
  22. package/dist/types/vue-data-ui.d.ts +25 -2
  23. package/dist/{useAutoSizeLabelsInsideViewbox-Bky5KGFZ.js → useAutoSizeLabelsInsideViewbox-N1I6Rk6M.js} +1 -1
  24. package/dist/{useNestedProp-BPEHGiYX.js → useNestedProp-BSZCnuGl.js} +1 -1
  25. package/dist/{usePrinter-Bnl1YeUU.js → usePrinter-DDIKRiOp.js} +13 -12
  26. package/dist/useTableResponsive-Cbx-ACcP.js +22 -0
  27. package/dist/{vue-data-ui-DcNYz3cZ.js → vue-data-ui-vwh3dolO.js} +64 -64
  28. package/dist/vue-data-ui.js +1 -1
  29. package/dist/{vue-ui-3d-bar-BNIFAeN-.js → vue-ui-3d-bar-DNw3RWRt.js} +371 -366
  30. package/dist/{vue-ui-accordion-Bf_LHFFX.js → vue-ui-accordion-Cv747Pg6.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-Bz-l1afR.js → vue-ui-age-pyramid-B1Yun-v7.js} +200 -195
  32. package/dist/{vue-ui-annotator-BcfRH2BF.js → vue-ui-annotator-B_5hOApA.js} +2 -2
  33. package/dist/{vue-ui-bullet-DK1aM9fX.js → vue-ui-bullet-C2Aj7Lcx.js} +7 -7
  34. package/dist/{vue-ui-candlestick-D6mMjvtu.js → vue-ui-candlestick-BBYqZVUp.js} +225 -220
  35. package/dist/{vue-ui-carousel-table-Vp5f238W.js → vue-ui-carousel-table-DPIOnp9J.js} +4 -4
  36. package/dist/{vue-ui-chestnut-BKc4v-lf.js → vue-ui-chestnut-C4B0wEFn.js} +484 -487
  37. package/dist/{vue-ui-chord-CquhRjf0.js → vue-ui-chord-B9Zml1V7.js} +272 -266
  38. package/dist/{vue-ui-circle-pack-D6zLgxa3.js → vue-ui-circle-pack-CLn19BHH.js} +6 -6
  39. package/dist/{vue-ui-cursor-DIXb2S93.js → vue-ui-cursor-AVEV-uv3.js} +2 -2
  40. package/dist/vue-ui-dashboard-DwNYa1I4.js +412 -0
  41. package/dist/{vue-ui-digits-CLAIo9gW.js → vue-ui-digits-Dr4OHGU0.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-C3r0YhKz.js → vue-ui-donut-evolution-hJh-1Z48.js} +310 -304
  43. package/dist/{vue-ui-donut-C8h_tCSO.js → vue-ui-donut-xseR2SnT.js} +348 -343
  44. package/dist/{vue-ui-dumbbell-D-t4M00E.js → vue-ui-dumbbell-FdTx7uAG.js} +293 -287
  45. package/dist/{vue-ui-flow-D7_D_UNm.js → vue-ui-flow-Bh6FqlC1.js} +263 -257
  46. package/dist/{vue-ui-funnel-B0QOfZRz.js → vue-ui-funnel-BlsKhHbk.js} +206 -200
  47. package/dist/{vue-ui-galaxy-Ccw5uNes.js → vue-ui-galaxy-C0B8stYi.js} +243 -238
  48. package/dist/{vue-ui-gauge-DvW7nFmK.js → vue-ui-gauge-B1-UiZwV.js} +7 -7
  49. package/dist/{vue-ui-gizmo-WGQxvGPy.js → vue-ui-gizmo-Df_SCjOI.js} +3 -3
  50. package/dist/{vue-ui-heatmap-BQkLujyp.js → vue-ui-heatmap-NfRSd6fU.js} +370 -375
  51. package/dist/{vue-ui-history-plot-eU33r_Ot.js → vue-ui-history-plot-Ce-DJ8xC.js} +305 -299
  52. package/dist/{vue-ui-kpi-CKg2i71M.js → vue-ui-kpi-CH3rWyiG.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-BmkGQsm_.js → vue-ui-mini-loader-D9EVnpxk.js} +2 -2
  54. package/dist/{vue-ui-molecule-Dlu0hjSg.js → vue-ui-molecule-C973vfYh.js} +188 -183
  55. package/dist/{vue-ui-mood-radar-DQaxfw9R.js → vue-ui-mood-radar-DdLxBhlO.js} +197 -192
  56. package/dist/{vue-ui-nested-donuts-Djj9Aw_i.js → vue-ui-nested-donuts-tARXMYzx.js} +326 -320
  57. package/dist/{vue-ui-onion-ZgsErXis.js → vue-ui-onion-BC9czZGG.js} +8 -8
  58. package/dist/{vue-ui-parallel-coordinate-plot-B5fB22Jc.js → vue-ui-parallel-coordinate-plot-CxDIkZKr.js} +401 -395
  59. package/dist/{vue-ui-quadrant-CMevCtXH.js → vue-ui-quadrant-Bpm5ZoTp.js} +339 -334
  60. package/dist/{vue-ui-quick-chart-DcparKSX.js → vue-ui-quick-chart-Bkc_JBCw.js} +6 -6
  61. package/dist/{vue-ui-radar-DFbxoKCK.js → vue-ui-radar-DVJQYNeL.js} +248 -243
  62. package/dist/{vue-ui-rating-ZUpxCWrk.js → vue-ui-rating-DITnRSiS.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-eNKJY4Sx.js → vue-ui-relation-circle-D_OTYUmS.js} +7 -7
  64. package/dist/{vue-ui-ridgeline-D4shpQZd.js → vue-ui-ridgeline-Gc1c4LXq.js} +267 -263
  65. package/dist/{vue-ui-rings-TdTHMbsa.js → vue-ui-rings-CUT1N_kK.js} +229 -224
  66. package/dist/{vue-ui-scatter-CVuV9ljU.js → vue-ui-scatter-DwnZHy0V.js} +359 -354
  67. package/dist/{vue-ui-skeleton-CFxBU2-p.js → vue-ui-skeleton-CeyaKpZd.js} +3 -3
  68. package/dist/{vue-ui-smiley-Har3B3aQ.js → vue-ui-smiley-B9yNexWr.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-FPk-XEwI.js → vue-ui-spark-trend-DTYVcrHV.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-V3eJ0w0t.js → vue-ui-sparkbar-BzxynYoW.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-DKTGkWnJ.js → vue-ui-sparkgauge-DoznCX5h.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-DJsgFwHs.js → vue-ui-sparkhistogram-DoZpd0H2.js} +4 -4
  73. package/dist/{vue-ui-sparkline-Dmrm5SL5.js → vue-ui-sparkline-ZKit-hgG.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-B0Pl7VMI.js → vue-ui-sparkstackbar-DjoqH_Xs.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CNsgBPhj.js → vue-ui-stackbar-J-gxI4Xn.js} +310 -304
  76. package/dist/{vue-ui-strip-plot-CYAWwYOM.js → vue-ui-strip-plot-CO7NVeFi.js} +246 -240
  77. package/dist/{vue-ui-table-heatmap-COI9LRqC.js → vue-ui-table-heatmap-BEFdai_O.js} +5 -5
  78. package/dist/{vue-ui-table-Dn6H98rP.js → vue-ui-table-rmbBw_0d.js} +3 -3
  79. package/dist/{vue-ui-table-sparkline-B7Gg5FfJ.js → vue-ui-table-sparkline-CjgaQXbc.js} +4 -4
  80. package/dist/{vue-ui-thermometer-Bgynq5El.js → vue-ui-thermometer--aqaJwFo.js} +7 -7
  81. package/dist/{vue-ui-timer-CXng51v5.js → vue-ui-timer-qFNHDcU_.js} +5 -5
  82. package/dist/{vue-ui-tiremarks-Cy1U3hO1.js → vue-ui-tiremarks-DA8fzQHo.js} +6 -6
  83. package/dist/{vue-ui-treemap-BsvIvRmE.js → vue-ui-treemap-DGC9zxon.js} +262 -256
  84. package/dist/{vue-ui-vertical-bar-DHqWeDIf.js → vue-ui-vertical-bar-DOCeCCqz.js} +297 -298
  85. package/dist/{vue-ui-waffle-D1Mscj3N.js → vue-ui-waffle-DD9jtkcQ.js} +257 -252
  86. package/dist/{vue-ui-wheel-DpV-N5tF.js → vue-ui-wheel-87VStrfJ.js} +6 -6
  87. package/dist/vue-ui-word-cloud-CCMfa9H1.js +817 -0
  88. package/dist/{vue-ui-world-DYz6zw3x.js → vue-ui-world-Cm3Hn1-2.js} +257 -252
  89. package/dist/{vue-ui-xy-B1nqNbzw.js → vue-ui-xy-C2SnbN6w.js} +1453 -1447
  90. package/dist/{vue-ui-xy-canvas-D4wd-Asd.js → vue-ui-xy-canvas-WxSJqoiF.js} +235 -229
  91. package/package.json +1 -1
  92. package/dist/pdf-Dd-LIJqz.js +0 -61
  93. package/dist/vue-ui-dashboard-DmiriAK7.js +0 -325
  94. package/dist/vue-ui-word-cloud-MaNQ3Kdk.js +0 -811
@@ -1,21 +1,21 @@
1
- import { defineAsyncComponent as O, computed as y, ref as d, toRefs as $t, watch as Z, shallowRef as je, onMounted as Tt, onBeforeUnmount as zt, watchEffect as Mt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as N, normalizeClass as X, createBlock as F, createCommentVNode as m, createElementVNode as _, createVNode as he, createSlots as Ge, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Nt, resolveDynamicComponent as Ft, mergeProps as _t, createTextVNode as Xe, nextTick as It } from "vue";
2
- import { u as Lt, c as pe, t as Pt, a as Ot, p as ee, b as St, o as Ye, f as qe, g as Dt, d as Rt, e as Bt, D as Et, U as Ht, V as Wt, W as Ut, X as Vt, I as jt, y as Je, E as te, v as Gt, w as Xt, k as Ke, i as Qe, z as Yt } from "./index-CDQbCd41.js";
3
- import { t as Ze, u as qt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Jt } from "./usePrinter-Bnl1YeUU.js";
5
- import { u as Kt, B as Qt } from "./BaseScanner-BgWxam9d.js";
6
- import { u as et } from "./useNestedProp-BPEHGiYX.js";
7
- import { u as Zt } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as ea } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as ta } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import aa from "./Title-Dq2_Z9kR.js";
11
- import la from "./Legend-2-dC7DVb.js";
12
- import { _ as oa } from "./Shape-Dj2Hl33H.js";
13
- import sa from "./img-JOqdlnUs.js";
14
- import { _ as na } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "width", "height"], va = { style: { "pointer-events": "none" } }, da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ha = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], pa = { key: 0 }, ma = ["x", "y", "fill", "font-size", "font-weight"], ya = ["fill", "font-size", "font-weight", "text-anchor", "transform"], fa = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ba = { key: 0 }, ga = ["x", "y", "font-size", "fill"], xa = ["width", "x", "y"], ka = { style: { width: "100%" } }, wa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], Ca = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Aa = ["d", "onMouseenter", "onMouseleave", "onClick"], $a = {
1
+ import { defineAsyncComponent as O, computed as y, ref as d, toRefs as zt, watch as Z, shallowRef as Xe, onMounted as _t, onBeforeUnmount as Mt, watchEffect as Nt, createElementBlock as u, openBlock as n, unref as v, normalizeStyle as M, normalizeClass as X, createBlock as N, createCommentVNode as m, createElementVNode as F, createVNode as pe, createSlots as Ye, withCtx as b, renderSlot as g, normalizeProps as W, guardReactiveProps as U, Fragment as A, renderList as I, toDisplayString as B, Teleport as Ft, resolveDynamicComponent as It, mergeProps as Lt, createTextVNode as qe, nextTick as Pt } from "vue";
2
+ import { u as Ot, c as me, t as St, a as Dt, p as ee, b as Rt, o as Je, f as Ke, g as Bt, d as Et, e as Ht, D as Wt, U as Ut, V as Vt, W as jt, X as Gt, I as Xt, y as Qe, E as te, v as Yt, w as qt, k as Ze, i as et, z as Jt } from "./index-BFqW8WA0.js";
3
+ import { t as tt, u as Kt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as Qt } from "./usePrinter-DDIKRiOp.js";
5
+ import { u as Zt, B as ea } from "./BaseScanner-BgWxam9d.js";
6
+ import { u as at } from "./useNestedProp-BSZCnuGl.js";
7
+ import { u as ta } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as aa } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as la } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import oa from "./Title-AGmmsSi_.js";
11
+ import sa from "./Legend-DLzeDl3-.js";
12
+ import { _ as na } from "./Shape-Bmpx9GRg.js";
13
+ import ia from "./img-DvuphHeJ.js";
14
+ import { _ as ua } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ra = ["id"], ca = ["id"], va = ["xmlns", "viewBox"], da = ["x", "y", "width", "height"], ha = { style: { "pointer-events": "none" } }, pa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ma = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], ya = { key: 0 }, fa = ["x", "y", "fill", "font-size", "font-weight"], ba = ["fill", "font-size", "font-weight", "text-anchor", "transform"], ga = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], xa = { key: 0 }, ka = ["x", "y", "font-size", "fill"], wa = ["width", "x", "y"], Ca = { style: { width: "100%" } }, Aa = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], $a = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], Ta = ["d", "onMouseenter", "onMouseleave", "onClick"], za = {
16
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, Ta = ["id"], za = ["onClick"], Ma = ["innerHTML"], Na = {
18
+ }, _a = ["id"], Ma = ["onClick"], Na = ["innerHTML"], Fa = {
19
19
  __name: "vue-ui-parallel-coordinate-plot",
20
20
  props: {
21
21
  config: {
@@ -32,25 +32,25 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
32
32
  }
33
33
  },
34
34
  emits: ["selectLegend", "selectDatapoint"],
35
- setup(tt, { expose: at, emit: lt }) {
36
- const ot = O(() => import("./Tooltip-Y219DXZO.js")), st = O(() => import("./BaseIcon-DHtro8us.js")), nt = O(() => import("./vue-ui-accordion-Bf_LHFFX.js")), it = O(() => import("./DataTable-DJjA2_wf.js")), ut = O(() => import("./PenAndPaper-B7QEDgx4.js")), rt = O(() => import("./UserOptions-BuGfCdAY.js")), ct = O(() => import("./PackageVersion-DU12WH3O.js")), vt = O(() => import("./BaseDraggableDialog-O7900pGp.js")), { vue_ui_parallel_coordinate_plot: dt } = Lt(), $ = tt, Y = y({
35
+ setup(lt, { expose: ot, emit: st }) {
36
+ const nt = O(() => import("./Tooltip-le0yZk_t.js")), it = O(() => import("./BaseIcon-BLg8FaQ2.js")), ut = O(() => import("./vue-ui-accordion-Cv747Pg6.js")), rt = O(() => import("./DataTable-BRN1-1ob.js")), ct = O(() => import("./PenAndPaper-TgGWddgD.js")), vt = O(() => import("./UserOptions-DEFwuQIo.js")), dt = O(() => import("./PackageVersion-Jz9FlNXl.js")), ht = O(() => import("./BaseDraggableDialog-Dkpr-qUQ.js")), { vue_ui_parallel_coordinate_plot: pt } = Ot(), $ = lt, Y = y({
37
37
  get() {
38
38
  return !!$.dataset && $.dataset.length;
39
39
  },
40
- set(a) {
41
- return a;
40
+ set(t) {
41
+ return t;
42
42
  }
43
- }), me = d(0), z = d(null), ye = d(null), fe = d(null), be = d(null), ge = d(null), xe = d(0), ke = d(0), we = d(0), Ce = d(!1), V = d(null), ae = d(null), S = d(pe()), D = d(!1);
44
- function Ae(a) {
45
- D.value = a, me.value += 1;
43
+ }), ye = d(0), z = d(null), fe = d(null), be = d(null), ge = d(null), xe = d(null), ke = d(0), we = d(0), Ce = d(0), Ae = d(!1), V = d(null), ae = d(null), le = d(null), S = d(me()), D = d(!1);
44
+ function $e(t) {
45
+ D.value = t, ye.value += 1;
46
46
  }
47
- const e = d(se()), { loading: R, FINAL_DATASET: ht, manualLoading: le } = Kt({
48
- ...$t($),
47
+ const e = d(ne()), { loading: R, FINAL_DATASET: mt, manualLoading: oe } = Zt({
48
+ ...zt($),
49
49
  FINAL_CONFIG: e,
50
- prepareConfig: se,
50
+ prepareConfig: ne,
51
51
  callback: () => {
52
52
  Promise.resolve().then(async () => {
53
- await It(), p.value.showTable = e.value.table.show;
53
+ await Pt(), p.value.showTable = e.value.table.show;
54
54
  });
55
55
  },
56
56
  skeletonDataset: [
@@ -88,7 +88,7 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
88
88
  ]
89
89
  }
90
90
  ],
91
- skeletonConfig: Pt({
91
+ skeletonConfig: St({
92
92
  defaultConfig: e.value,
93
93
  userConfig: {
94
94
  useCssAnimation: !1,
@@ -115,78 +115,78 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
115
115
  }
116
116
  }
117
117
  })
118
- }), { userOptionsVisible: oe, setUserOptionsVisibility: $e, keepUserOptionState: Te } = Zt({ config: e.value }), { svgRef: ze } = ea({ config: e.value.style.chart.title });
119
- function se() {
120
- const a = et({
118
+ }), { userOptionsVisible: se, setUserOptionsVisibility: Te, keepUserOptionState: ze } = ta({ config: e.value }), { svgRef: _e } = aa({ config: e.value.style.chart.title });
119
+ function ne() {
120
+ const t = at({
121
121
  userConfig: $.config,
122
- defaultConfig: dt
122
+ defaultConfig: pt
123
123
  });
124
- return a.theme ? {
125
- ...et({
126
- userConfig: St.vue_ui_parallel_coordinate_plot[a.theme] || $.config,
127
- defaultConfig: a
124
+ return t.theme ? {
125
+ ...at({
126
+ userConfig: Rt.vue_ui_parallel_coordinate_plot[t.theme] || $.config,
127
+ defaultConfig: t
128
128
  }),
129
- customPalette: Ot[a.theme] || ee
130
- } : a;
129
+ customPalette: Dt[t.theme] || ee
130
+ } : t;
131
131
  }
132
- Z(() => $.config, (a) => {
133
- R.value || (e.value = se()), oe.value = !e.value.userOptions.showOnChartHover, Ne(), xe.value += 1, we.value += 1, ke.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;
134
- }, { deep: !0 }), Z(() => $.dataset, (a) => {
135
- Array.isArray(a) && a.length > 0 && (le.value = !1);
132
+ Z(() => $.config, (t) => {
133
+ R.value || (e.value = ne()), se.value = !e.value.userOptions.showOnChartHover, Ne(), ke.value += 1, Ce.value += 1, we.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;
134
+ }, { deep: !0 }), Z(() => $.dataset, (t) => {
135
+ Array.isArray(t) && t.length > 0 && (oe.value = !1);
136
136
  }, { deep: !0 });
137
- const L = je(null), E = je(null);
138
- Tt(() => {
139
- Ce.value = !0, Ne();
137
+ const L = Xe(null), E = Xe(null);
138
+ _t(() => {
139
+ Ae.value = !0, Ne();
140
140
  });
141
141
  const Me = y(() => !!e.value.debug);
142
142
  function Ne() {
143
- if (Ye($.dataset) ? (qe({
143
+ if (Je($.dataset) ? (Ke({
144
144
  componentName: "VueUiParallelCoordinatePlot",
145
145
  type: "dataset",
146
146
  debug: Me.value
147
- }), le.value = !0) : $.dataset.forEach((a, l) => {
148
- Dt({
149
- datasetObject: a,
147
+ }), oe.value = !0) : $.dataset.forEach((t, o) => {
148
+ Bt({
149
+ datasetObject: t,
150
150
  requiredAttributes: ["name", "series"]
151
- }).forEach((t) => {
152
- Y.value = !1, qe({
151
+ }).forEach((a) => {
152
+ Y.value = !1, Ke({
153
153
  componentName: "VueUiParallelCoordinatePlot",
154
154
  type: "datasetSerieAttribute",
155
- property: t,
156
- index: l,
155
+ property: a,
156
+ index: o,
157
157
  debug: Me.value
158
158
  });
159
159
  });
160
- }), Ye($.dataset) || (le.value = e.value.loading), e.value.responsive) {
161
- const a = Ze(() => {
162
- const { width: l, height: t } = qt({
160
+ }), Je($.dataset) || (oe.value = e.value.loading), e.value.responsive) {
161
+ const t = tt(() => {
162
+ const { width: o, height: a } = Kt({
163
163
  chart: z.value,
164
- title: e.value.style.chart.title.text ? ye.value : null,
165
- legend: e.value.style.chart.legend.show ? fe.value : null,
166
- source: be.value,
167
- noTitle: ge.value
164
+ title: e.value.style.chart.title.text ? fe.value : null,
165
+ legend: e.value.style.chart.legend.show ? be.value : null,
166
+ source: ge.value,
167
+ noTitle: xe.value
168
168
  });
169
169
  requestAnimationFrame(() => {
170
- c.value.width = l, c.value.height = t - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = te({
171
- relator: Math.min(l, t),
170
+ c.value.width = o, c.value.height = a - 12, e.value.responsiveProportionalSizing ? (c.value.plotSize = te({
171
+ relator: Math.min(o, a),
172
172
  adjuster: 600,
173
173
  source: e.value.style.chart.plots.radius,
174
174
  threshold: 2,
175
175
  fallback: 2
176
176
  }), c.value.ticksFontSize = te({
177
- relator: Math.min(l, t),
177
+ relator: Math.min(o, a),
178
178
  adjuster: 600,
179
179
  source: e.value.style.chart.yAxis.labels.ticks.fontSize,
180
180
  threshold: 10,
181
181
  fallback: 10
182
182
  }), c.value.datapointFontSize = te({
183
- relator: Math.min(l, t),
183
+ relator: Math.min(o, a),
184
184
  adjuster: 600,
185
185
  source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
186
186
  threshold: 10,
187
187
  fallback: 10
188
188
  }), c.value.axisNameFontSize = te({
189
- relator: Math.min(l, t),
189
+ relator: Math.min(o, a),
190
190
  adjuster: 600,
191
191
  source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
192
192
  threshold: 12,
@@ -194,17 +194,17 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
194
194
  })) : (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);
195
195
  });
196
196
  });
197
- L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(a), E.value = z.value.parentNode, L.value.observe(E.value);
197
+ L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect()), L.value = new ResizeObserver(t), E.value = z.value.parentNode, L.value.observe(E.value);
198
198
  }
199
199
  }
200
- zt(() => {
200
+ Mt(() => {
201
201
  L.value && (E.value && L.value.unobserve(E.value), L.value.disconnect());
202
202
  });
203
- const { isPrinting: Fe, isImaging: _e, generatePdf: Ie, generateImage: Le } = Jt({
203
+ const { isPrinting: Fe, isImaging: Ie, generatePdf: Le, generateImage: Pe } = Qt({
204
204
  elementId: `pcp_${S.value}`,
205
205
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
206
206
  options: e.value.userOptions.print
207
- }), pt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
207
+ }), yt = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), c = d({
208
208
  height: e.value.style.chart.height,
209
209
  width: e.value.style.chart.width,
210
210
  plotSize: e.value.style.chart.plots.radius,
@@ -213,30 +213,30 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
213
213
  // ratio 42.85
214
214
  datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
215
215
  axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
216
- }), Pe = y(() => c.value.width), Oe = y(() => c.value.height), j = d(0), mt = Ze((a) => {
217
- j.value = a;
216
+ }), Oe = y(() => c.value.width), Se = y(() => c.value.height), j = d(0), ft = tt((t) => {
217
+ j.value = t;
218
218
  }, 100);
219
- Mt((a) => {
220
- const l = ae.value;
221
- if (!l) return;
222
- const t = new ResizeObserver((s) => {
223
- mt(s[0].contentRect.height);
219
+ Nt((t) => {
220
+ const o = le.value;
221
+ if (!o) return;
222
+ const a = new ResizeObserver((s) => {
223
+ ft(s[0].contentRect.height);
224
224
  });
225
- t.observe(l), a(() => t.disconnect());
225
+ a.observe(o), t(() => a.disconnect());
226
226
  });
227
227
  const h = y(() => {
228
- const { top: a, right: l, bottom: t, left: s } = e.value.style.chart.padding, o = Oe.value, r = Pe.value;
228
+ const { top: t, right: o, bottom: a, left: s } = e.value.style.chart.padding, l = Se.value, r = Oe.value;
229
229
  return {
230
- chartHeight: Math.max(1e-3, o),
230
+ chartHeight: Math.max(1e-3, l),
231
231
  chartWidth: Math.max(1e-3, r),
232
- height: Math.max(1e-3, o - a - t - j.value - c.value.datapointFontSize * 2),
233
- width: Math.max(1e-3, r - s - l),
234
- top: a + j.value + c.value.datapointFontSize,
232
+ height: Math.max(1e-3, l - t - a - j.value - c.value.datapointFontSize * 2),
233
+ width: Math.max(1e-3, r - s - o),
234
+ top: t + j.value + c.value.datapointFontSize,
235
235
  left: s,
236
- right: r - l,
237
- bottom: o - t - c.value.datapointFontSize
236
+ right: r - o,
237
+ bottom: l - a - c.value.datapointFontSize
238
238
  };
239
- }), yt = y(() => Rt(e.value.customPalette)), p = d({
239
+ }), bt = y(() => Et(e.value.customPalette)), p = d({
240
240
  dataLabels: {
241
241
  show: e.value.style.chart.yAxis.labels.datapoints.show
242
242
  },
@@ -252,146 +252,146 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
252
252
  showTooltip: e.value.style.chart.tooltip.show
253
253
  };
254
254
  }, { immediate: !0 });
255
- const M = d([]);
256
- function Se(a) {
257
- M.value.includes(a) ? M.value = M.value.filter((l) => l !== a) : M.value.push(a);
255
+ const _ = d([]);
256
+ function De(t) {
257
+ _.value.includes(t) ? _.value = _.value.filter((o) => o !== t) : _.value.push(t);
258
258
  }
259
- const P = y(() => ht.value.map((a, l) => {
260
- const t = Bt(a.color) || yt.value[l] || ee[l] || ee[l % ee.length];
259
+ const P = y(() => mt.value.map((t, o) => {
260
+ const a = Ht(t.color) || bt.value[o] || ee[o] || ee[o % ee.length];
261
261
  return {
262
- ...a,
263
- series: a.series.map((s) => ({
262
+ ...t,
263
+ series: t.series.map((s) => ({
264
264
  ...s,
265
- id: pe(),
266
- color: t
265
+ id: me(),
266
+ color: a
267
267
  })),
268
- seriesIndex: l,
269
- color: t,
270
- id: pe(),
271
- shape: a.shape || "circle"
268
+ seriesIndex: o,
269
+ color: a,
270
+ id: me(),
271
+ shape: t.shape || "circle"
272
272
  };
273
- })), ft = y(() => P.value.map((a) => ({
274
- ...a,
275
- opacity: M.value.includes(a.id) ? 0.5 : 1,
276
- segregate: () => Se(a.id),
277
- isSegregated: M.value.includes(a.id)
278
- }))), bt = y(() => ({
273
+ })), gt = y(() => P.value.map((t) => ({
274
+ ...t,
275
+ opacity: _.value.includes(t.id) ? 0.5 : 1,
276
+ segregate: () => De(t.id),
277
+ isSegregated: _.value.includes(t.id)
278
+ }))), xt = y(() => ({
279
279
  cy: "pcp-div-legend",
280
280
  backgroundColor: e.value.style.chart.legend.backgroundColor,
281
281
  color: e.value.style.chart.legend.color,
282
282
  fontSize: e.value.style.chart.legend.fontSize,
283
283
  paddingBottom: 12,
284
284
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
285
- })), De = y(() => Math.max(
286
- ...P.value.filter((a) => !M.value.includes(a.id)).map((a) => Math.max(...a.series.flatMap((l) => l.values.length)))
287
- )), C = y(() => h.value.width / De.value), ne = y(() => P.value.filter((a) => !M.value.includes(a.id))), f = y(() => {
288
- let a = [];
289
- for (let l = 0; l < De.value; l += 1) {
290
- const t = Math.min(...ne.value.flatMap((x) => x.series.map((k) => k.values[l] || 0) || 0)), s = Math.max(...ne.value.flatMap((x) => x.series.map((k) => k.values[l] || 0) || 0)), o = s === t ? t / 4 : t, r = s === t ? s * 2 : s, i = Et(o, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
291
- const Ct = i.min < 0 ? x + Math.abs(i.min) : x - Math.abs(i.min), At = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
285
+ })), Re = y(() => Math.max(
286
+ ...P.value.filter((t) => !_.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((o) => o.values.length)))
287
+ )), C = y(() => h.value.width / Re.value), ie = y(() => P.value.filter((t) => !_.value.includes(t.id))), f = y(() => {
288
+ let t = [];
289
+ for (let o = 0; o < Re.value; o += 1) {
290
+ const a = Math.min(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), s = Math.max(...ie.value.flatMap((x) => x.series.map((k) => k.values[o] || 0) || 0)), l = s === a ? a / 4 : a, r = s === a ? s * 2 : s, i = Wt(l, r, e.value.style.chart.yAxis.scaleTicks), T = i.ticks.map((x, k) => {
291
+ const $t = i.min < 0 ? x + Math.abs(i.min) : x - Math.abs(i.min), Tt = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
292
292
  return {
293
- y: h.value.bottom - h.value.height * (Ct / At),
294
- x: h.value.left + C.value * l + C.value / 2,
293
+ y: h.value.bottom - h.value.height * ($t / Tt),
294
+ x: h.value.left + C.value * o + C.value / 2,
295
295
  value: x
296
296
  };
297
297
  });
298
- a.push({
298
+ t.push({
299
299
  scale: i,
300
300
  ticks: T,
301
- name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
301
+ name: e.value.style.chart.yAxis.labels.axisNames[o] || `Y-${o + 1}`
302
302
  });
303
303
  }
304
- return a;
305
- }), ie = y(() => ne.value.map((a, l) => ({
306
- ...a,
307
- series: a.series.map((t, s) => ({
308
- ...t,
309
- datapoints: t.values.map((o, r) => {
310
- const i = f.value[r].scale.min < 0 ? (o || 0) + Math.abs(f.value[r].scale.min) : (o || 0) - Math.abs(f.value[r].scale.min), T = f.value[r].scale.min < 0 ? f.value[r].scale.max + Math.abs(f.value[r].scale.min) : f.value[r].scale.max - Math.abs(f.value[r].scale.min);
304
+ return t;
305
+ }), ue = y(() => ie.value.map((t, o) => ({
306
+ ...t,
307
+ series: t.series.map((a, s) => ({
308
+ ...a,
309
+ datapoints: a.values.map((l, r) => {
310
+ const i = f.value[r].scale.min < 0 ? (l || 0) + Math.abs(f.value[r].scale.min) : (l || 0) - Math.abs(f.value[r].scale.min), T = f.value[r].scale.min < 0 ? f.value[r].scale.max + Math.abs(f.value[r].scale.min) : f.value[r].scale.max - Math.abs(f.value[r].scale.min);
311
311
  return {
312
- name: t.name,
313
- seriesName: a.name,
312
+ name: a.name,
313
+ seriesName: t.name,
314
314
  axisIndex: r,
315
315
  datapointIndex: s,
316
- seriesIndex: l,
317
- value: o || 0,
316
+ seriesIndex: o,
317
+ value: l || 0,
318
318
  x: h.value.left + C.value * r + C.value / 2,
319
319
  y: h.value.bottom - h.value.height * (i / T),
320
- comment: t.comments && t.comments[r] || ""
320
+ comment: a.comments && a.comments[r] || ""
321
321
  };
322
322
  })
323
323
  }))
324
- })).map((a) => ({
325
- ...a,
326
- series: a.series.map((l) => {
327
- const t = Ht(l.datapoints), s = Wt(l.datapoints), o = Ut(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${t}`);
324
+ })).map((t) => ({
325
+ ...t,
326
+ series: t.series.map((o) => {
327
+ const a = Ut(o.datapoints), s = Vt(o.datapoints), l = jt(e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`);
328
328
  return {
329
- ...l,
329
+ ...o,
330
330
  smoothPath: s,
331
- straightPath: t,
332
- pathLength: o
331
+ straightPath: a,
332
+ pathLength: l
333
333
  };
334
334
  })
335
335
  })));
336
- function Re({ value: a, index: l, datapoint: t }) {
337
- return Ke(
338
- e.value.style.chart.yAxis.labels.formatters[l] || null,
339
- a,
340
- Qe({
341
- p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
342
- v: a,
343
- s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
344
- r: e.value.style.chart.yAxis.labels.roundings[l] || 0
336
+ function Be({ value: t, index: o, datapoint: a }) {
337
+ return Ze(
338
+ e.value.style.chart.yAxis.labels.formatters[o] || null,
339
+ t,
340
+ et({
341
+ p: e.value.style.chart.yAxis.labels.prefixes[o] || "",
342
+ v: t,
343
+ s: e.value.style.chart.yAxis.labels.suffixes[o] || "",
344
+ r: e.value.style.chart.yAxis.labels.roundings[o] || 0
345
345
  }),
346
- { datapoint: t, seriesIndex: l }
346
+ { datapoint: a, seriesIndex: o }
347
347
  );
348
348
  }
349
- const w = d(null), ue = d(null), re = d(!1), ce = d("");
350
- function q({ shape: a, serie: l, S: t }) {
351
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...l, shape: a }, seriesIndex: t }), w.value = null, re.value = null;
349
+ const w = d(null), re = d(null), ce = d(!1), ve = d("");
350
+ function q({ shape: t, serie: o, S: a }) {
351
+ e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...o, shape: t }, seriesIndex: a }), w.value = null, ce.value = null;
352
352
  }
353
- function J({ shape: a, serieName: l, serie: t, relativeIndex: s, seriesIndex: o, S: r }) {
354
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, shape: a }, seriesIndex: r }), ue.value = { serie: t, relativeIndex: s, seriesIndex: o, series: P.value, scales: f.value }, re.value = !0, w.value = t.id;
353
+ function J({ shape: t, serieName: o, serie: a, relativeIndex: s, seriesIndex: l, S: r }) {
354
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...a, shape: t }, seriesIndex: r }), re.value = { serie: a, relativeIndex: s, seriesIndex: l, series: P.value, scales: f.value }, ce.value = !0, w.value = a.id;
355
355
  let i = "";
356
356
  const T = e.value.style.chart.tooltip.customFormat;
357
- Je(T) && Yt(() => T({
358
- serie: t,
359
- seriesIndex: t.seriesIndex,
357
+ Qe(T) && Jt(() => T({
358
+ serie: a,
359
+ seriesIndex: a.seriesIndex,
360
360
  series: P.value,
361
361
  config: e.value,
362
362
  scales: f.value
363
- })) ? ce.value = T({
364
- serie: t,
365
- seriesIndex: t.seriesIndex,
363
+ })) ? ve.value = T({
364
+ serie: a,
365
+ seriesIndex: a.seriesIndex,
366
366
  series: P.value,
367
367
  config: e.value,
368
368
  scales: f.value
369
- }) : (i += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${t.name}</div>`, f.value.map((x) => x.name).forEach((x, k) => {
369
+ }) : (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 + " - " : ""}${a.name}</div>`, f.value.map((x) => x.name).forEach((x, k) => {
370
370
  i += `
371
371
  <div class="vue-ui-tooltip-item" style="text-align:left">
372
372
  <span>${x}: </span>
373
373
  <span>
374
- ${Ke(
374
+ ${Ze(
375
375
  e.value.style.chart.yAxis.labels.formatters[k] || null,
376
- t.datapoints[k].value,
377
- Qe({
376
+ a.datapoints[k].value,
377
+ et({
378
378
  p: e.value.style.chart.yAxis.labels.prefixes[k] || "",
379
- v: t.datapoints[k].value,
379
+ v: a.datapoints[k].value,
380
380
  s: e.value.style.chart.yAxis.labels.suffixes[k] || "",
381
381
  r: e.value.style.chart.yAxis.labels.roundings[k] || ""
382
382
  }),
383
- { datapoint: t.datapoints[k], seriesIndex: k }
383
+ { datapoint: a.datapoints[k], seriesIndex: k }
384
384
  )}
385
385
  </span>
386
386
  </div>
387
- `, e.value.style.chart.comments.showInTooltip && t.datapoints[k].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[k].comment}</div>`);
388
- }), ce.value = `<div>${i}</div>`);
387
+ `, e.value.style.chart.comments.showInTooltip && a.datapoints[k].comment && (i += `<div class="vue-data-ui-tooltip-comment" style="background:${a.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${a.color}">${a.datapoints[k].comment}</div>`);
388
+ }), ve.value = `<div>${i}</div>`);
389
389
  }
390
- function gt() {
390
+ function kt() {
391
391
  return P.value;
392
392
  }
393
393
  const H = y(() => {
394
- const a = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((o) => o.name)), l = ie.value.flatMap((o, r) => o.series.map((i) => [o.name].concat([i.name]).concat(i.values))), t = {
394
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((l) => l.name)), o = ue.value.flatMap((l, r) => l.series.map((i) => [l.name].concat([i.name]).concat(i.values))), a = {
395
395
  th: {
396
396
  backgroundColor: e.value.table.th.backgroundColor,
397
397
  color: e.value.table.th.color,
@@ -403,77 +403,77 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
403
403
  outline: e.value.table.td.outline
404
404
  },
405
405
  breakpoint: e.value.table.responsiveBreakpoint
406
- }, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((o) => o.name));
406
+ }, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((l) => l.name));
407
407
  return {
408
- body: l,
409
- head: a,
410
- config: t,
408
+ body: o,
409
+ head: t,
410
+ config: a,
411
411
  colNames: s
412
412
  };
413
- }), Be = y(() => ie.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
413
+ }), Ee = y(() => ue.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
414
414
  head: H.value.head,
415
415
  body: H.value.body
416
416
  });
417
- function ve(a = null) {
418
- const l = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], t = Be.value.head, s = Be.value.body, o = l.concat([t]).concat(s), r = Gt(o);
419
- a ? a(r) : Xt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
417
+ function de(t = null) {
418
+ const o = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], a = Ee.value.head, s = Ee.value.body, l = o.concat([a]).concat(s), r = Yt(l);
419
+ t ? t(r) : qt({ csvContent: r, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
420
420
  }
421
- const Ee = lt;
422
- function K({ serie: a, shape: l, S: t }) {
423
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...a, shape: l }, seriesIndex: t }), Ee("selectDatapoint", a);
421
+ const He = st;
422
+ function K({ serie: t, shape: o, S: a }) {
423
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, shape: o }, seriesIndex: a }), He("selectDatapoint", t);
424
424
  }
425
- function He(a) {
426
- Ee("selectLegend", {
427
- ...a,
428
- isSegregated: !a.isSegregated,
429
- opacity: a.isSegregated ? 1 : 0.5
425
+ function We(t) {
426
+ He("selectLegend", {
427
+ ...t,
428
+ isSegregated: !t.isSegregated,
429
+ opacity: t.isSegregated ? 1 : 0.5
430
430
  });
431
431
  }
432
- function We() {
432
+ function Ue() {
433
433
  p.value.showTable = !p.value.showTable;
434
434
  }
435
- function Ue() {
435
+ function Ve() {
436
436
  p.value.dataLabels.show = !p.value.dataLabels.show;
437
437
  }
438
- function Ve() {
438
+ function je() {
439
439
  p.value.showTooltip = !p.value.showTooltip;
440
440
  }
441
441
  const Q = d(!1);
442
- function de() {
442
+ function he() {
443
443
  Q.value = !Q.value;
444
444
  }
445
- async function xt({ scale: a = 2 } = {}) {
445
+ async function wt({ scale: t = 2 } = {}) {
446
446
  if (!z.value) return;
447
- const { width: l, height: t } = z.value.getBoundingClientRect(), s = l / t, { imageUri: o, base64: r } = await sa({ domElement: z.value, base64: !0, img: !0, scale: a });
447
+ const { width: o, height: a } = z.value.getBoundingClientRect(), s = o / a, { imageUri: l, base64: r } = await ia({ domElement: z.value, base64: !0, img: !0, scale: t });
448
448
  return {
449
- imageUri: o,
449
+ imageUri: l,
450
450
  base64: r,
451
451
  title: e.value.style.chart.title.text,
452
- width: l,
453
- height: t,
452
+ width: o,
453
+ height: a,
454
454
  aspectRatio: s
455
455
  };
456
456
  }
457
- const kt = d({ start: 0, end: 1 }), wt = y(() => f.value.map((a) => a.name));
458
- ta({
459
- timeLabelsEls: ae,
460
- timeLabels: wt,
461
- slicer: kt,
457
+ const Ct = d({ start: 0, end: 1 }), At = y(() => f.value.map((t) => t.name));
458
+ la({
459
+ timeLabelsEls: le,
460
+ timeLabels: At,
461
+ slicer: Ct,
462
462
  configRef: e,
463
463
  rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
464
464
  autoRotatePath: ["style", "chart", "yAxis", "labels", "axisNamesAutoRotate", "enable"],
465
465
  isAutoSize: !1,
466
- width: Pe,
467
- height: Oe,
466
+ width: Oe,
467
+ height: Se,
468
468
  targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
469
469
  rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
470
470
  });
471
471
  const G = y(() => {
472
- const a = e.value.table.useDialog && !e.value.table.show, l = p.value.showTable;
472
+ const t = e.value.table.useDialog && !e.value.table.show, o = p.value.showTable;
473
473
  return {
474
- component: a ? vt : nt,
474
+ component: t ? ht : ut,
475
475
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
476
- props: a ? {
476
+ props: t ? {
477
477
  backgroundColor: e.value.table.th.backgroundColor,
478
478
  color: e.value.table.th.color,
479
479
  headerColor: e.value.table.th.color,
@@ -484,7 +484,7 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
484
484
  } : {
485
485
  hideDetails: !0,
486
486
  config: {
487
- open: l,
487
+ open: o,
488
488
  maxHeight: 1e4,
489
489
  body: {
490
490
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -498,51 +498,55 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
498
498
  }
499
499
  };
500
500
  });
501
- return Z(() => p.value.showTable, (a) => {
502
- e.value.table.show || (a && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
503
- }), at({
504
- getData: gt,
505
- getImage: xt,
506
- generateCsv: ve,
507
- generatePdf: Ie,
508
- generateImage: Le,
509
- toggleTable: We,
510
- toggleLabels: Ue,
511
- toggleTooltip: Ve,
512
- toggleAnnotator: de,
513
- toggleFullscreen: Ae
514
- }), (a, l) => (n(), u("div", {
501
+ Z(() => p.value.showTable, (t) => {
502
+ e.value.table.show || (t && e.value.table.useDialog && V.value ? V.value.open() : "close" in V.value && V.value.close());
503
+ });
504
+ function Ge() {
505
+ p.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
506
+ }
507
+ return ot({
508
+ getData: kt,
509
+ getImage: wt,
510
+ generateCsv: de,
511
+ generatePdf: Le,
512
+ generateImage: Pe,
513
+ toggleTable: Ue,
514
+ toggleLabels: Ve,
515
+ toggleTooltip: je,
516
+ toggleAnnotator: he,
517
+ toggleFullscreen: $e
518
+ }), (t, o) => (n(), u("div", {
515
519
  ref_key: "pcpChart",
516
520
  ref: z,
517
521
  class: X(`vue-ui-pcp ${D.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
518
- style: N(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
522
+ style: M(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
519
523
  id: `pcp_${S.value}`,
520
- onMouseenter: l[4] || (l[4] = () => v($e)(!0)),
521
- onMouseleave: l[5] || (l[5] = () => v($e)(!1))
524
+ onMouseenter: o[2] || (o[2] = () => v(Te)(!0)),
525
+ onMouseleave: o[3] || (o[3] = () => v(Te)(!1))
522
526
  }, [
523
- e.value.userOptions.buttons.annotator ? (n(), F(v(ut), {
527
+ e.value.userOptions.buttons.annotator ? (n(), N(v(ct), {
524
528
  key: 0,
525
- svgRef: v(ze),
529
+ svgRef: v(_e),
526
530
  backgroundColor: e.value.style.chart.backgroundColor,
527
531
  color: e.value.style.chart.color,
528
532
  active: Q.value,
529
- onClose: de
533
+ onClose: he
530
534
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : m("", !0),
531
- pt.value ? (n(), u("div", {
535
+ yt.value ? (n(), u("div", {
532
536
  key: 1,
533
537
  ref_key: "noTitle",
534
- ref: ge,
538
+ ref: xe,
535
539
  class: "vue-data-ui-no-title-space",
536
540
  style: "height:36px; width: 100%;background:transparent"
537
541
  }, null, 512)) : m("", !0),
538
542
  e.value.style.chart.title.text ? (n(), u("div", {
539
543
  key: 2,
540
544
  ref_key: "chartTitle",
541
- ref: ye,
545
+ ref: fe,
542
546
  style: "width:100%;background:transparent;padding-bottom:24px"
543
547
  }, [
544
- (n(), F(aa, {
545
- key: `title_${xe.value}`,
548
+ (n(), N(oa, {
549
+ key: `title_${ke.value}`,
546
550
  config: {
547
551
  title: {
548
552
  cy: "pcp-div-title",
@@ -555,16 +559,17 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
555
559
  }
556
560
  }, null, 8, ["config"]))
557
561
  ], 512)) : m("", !0),
558
- _("div", {
562
+ F("div", {
559
563
  id: `legend-top-${S.value}`
560
- }, null, 8, ua),
561
- e.value.userOptions.show && Y.value && (v(Te) || v(oe)) ? (n(), F(v(rt), {
562
- ref: "details",
563
- key: `user_options_${me.value}`,
564
+ }, null, 8, ca),
565
+ e.value.userOptions.show && Y.value && (v(ze) || v(se)) ? (n(), N(v(vt), {
566
+ ref_key: "userOptionsRef",
567
+ ref: ae,
568
+ key: `user_options_${ye.value}`,
564
569
  backgroundColor: e.value.style.chart.backgroundColor,
565
570
  color: e.value.style.chart.color,
566
571
  isPrinting: v(Fe),
567
- isImaging: v(_e),
572
+ isImaging: v(Ie),
568
573
  uid: S.value,
569
574
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
570
575
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -582,85 +587,86 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
582
587
  isAnnotation: Q.value,
583
588
  callbacks: e.value.userOptions.callbacks,
584
589
  printScale: e.value.userOptions.print.scale,
585
- onToggleFullscreen: Ae,
586
- onGeneratePdf: v(Ie),
587
- onGenerateCsv: ve,
588
- onGenerateImage: v(Le),
589
- onToggleTable: We,
590
- onToggleLabels: Ue,
591
- onToggleTooltip: Ve,
592
- onToggleAnnotator: de,
593
- style: N({
594
- visibility: v(Te) ? v(oe) ? "visible" : "hidden" : "visible"
590
+ tableDialog: e.value.table.useDialog,
591
+ onToggleFullscreen: $e,
592
+ onGeneratePdf: v(Le),
593
+ onGenerateCsv: de,
594
+ onGenerateImage: v(Pe),
595
+ onToggleTable: Ue,
596
+ onToggleLabels: Ve,
597
+ onToggleTooltip: je,
598
+ onToggleAnnotator: he,
599
+ style: M({
600
+ visibility: v(ze) ? v(se) ? "visible" : "hidden" : "visible"
595
601
  })
596
- }, Ge({ _: 2 }, [
597
- a.$slots.menuIcon ? {
602
+ }, Ye({ _: 2 }, [
603
+ t.$slots.menuIcon ? {
598
604
  name: "menuIcon",
599
- fn: b(({ isOpen: t, color: s }) => [
600
- g(a.$slots, "menuIcon", W(U({ isOpen: t, color: s })), void 0, !0)
605
+ fn: b(({ isOpen: a, color: s }) => [
606
+ g(t.$slots, "menuIcon", W(U({ isOpen: a, color: s })), void 0, !0)
601
607
  ]),
602
608
  key: "0"
603
609
  } : void 0,
604
- a.$slots.optionPdf ? {
610
+ t.$slots.optionPdf ? {
605
611
  name: "optionPdf",
606
612
  fn: b(() => [
607
- g(a.$slots, "optionPdf", {}, void 0, !0)
613
+ g(t.$slots, "optionPdf", {}, void 0, !0)
608
614
  ]),
609
615
  key: "1"
610
616
  } : void 0,
611
- a.$slots.optionCsv ? {
617
+ t.$slots.optionCsv ? {
612
618
  name: "optionCsv",
613
619
  fn: b(() => [
614
- g(a.$slots, "optionCsv", {}, void 0, !0)
620
+ g(t.$slots, "optionCsv", {}, void 0, !0)
615
621
  ]),
616
622
  key: "2"
617
623
  } : void 0,
618
- a.$slots.optionImg ? {
624
+ t.$slots.optionImg ? {
619
625
  name: "optionImg",
620
626
  fn: b(() => [
621
- g(a.$slots, "optionImg", {}, void 0, !0)
627
+ g(t.$slots, "optionImg", {}, void 0, !0)
622
628
  ]),
623
629
  key: "3"
624
630
  } : void 0,
625
- a.$slots.optionTable ? {
631
+ t.$slots.optionTable ? {
626
632
  name: "optionTable",
627
633
  fn: b(() => [
628
- g(a.$slots, "optionTable", {}, void 0, !0)
634
+ g(t.$slots, "optionTable", {}, void 0, !0)
629
635
  ]),
630
636
  key: "4"
631
637
  } : void 0,
632
- a.$slots.optionLabels ? {
638
+ t.$slots.optionLabels ? {
633
639
  name: "optionLabels",
634
640
  fn: b(() => [
635
- g(a.$slots, "optionLabels", {}, void 0, !0)
641
+ g(t.$slots, "optionLabels", {}, void 0, !0)
636
642
  ]),
637
643
  key: "5"
638
644
  } : void 0,
639
- a.$slots.optionFullscreen ? {
645
+ t.$slots.optionFullscreen ? {
640
646
  name: "optionFullscreen",
641
- fn: b(({ toggleFullscreen: t, isFullscreen: s }) => [
642
- g(a.$slots, "optionFullscreen", W(U({ toggleFullscreen: t, isFullscreen: s })), void 0, !0)
647
+ fn: b(({ toggleFullscreen: a, isFullscreen: s }) => [
648
+ g(t.$slots, "optionFullscreen", W(U({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
643
649
  ]),
644
650
  key: "6"
645
651
  } : void 0,
646
- a.$slots.optionAnnotator ? {
652
+ t.$slots.optionAnnotator ? {
647
653
  name: "optionAnnotator",
648
- fn: b(({ toggleAnnotator: t, isAnnotator: s }) => [
649
- g(a.$slots, "optionAnnotator", W(U({ toggleAnnotator: t, isAnnotator: s })), void 0, !0)
654
+ fn: b(({ toggleAnnotator: a, isAnnotator: s }) => [
655
+ g(t.$slots, "optionAnnotator", W(U({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
650
656
  ]),
651
657
  key: "7"
652
658
  } : void 0
653
- ]), 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),
659
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
654
660
  (n(), u("svg", {
655
661
  ref_key: "svgRef",
656
- ref: ze,
657
- xmlns: v(Vt),
662
+ ref: _e,
663
+ xmlns: v(Gt),
658
664
  class: X({ "vue-data-ui-fullscreen--on": D.value, "vue-data-ui-fulscreen--off": !D.value }),
659
665
  viewBox: `0 0 ${h.value.chartWidth <= 0 ? 10 : h.value.chartWidth} ${h.value.chartHeight <= 0 ? 10 : h.value.chartHeight}`,
660
- style: N(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
666
+ style: M(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
661
667
  }, [
662
- he(v(ct)),
663
- a.$slots["chart-background"] ? (n(), u("foreignObject", {
668
+ pe(v(dt)),
669
+ t.$slots["chart-background"] ? (n(), u("foreignObject", {
664
670
  key: 0,
665
671
  x: h.value.left,
666
672
  y: h.value.top,
@@ -670,47 +676,47 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
670
676
  pointerEvents: "none"
671
677
  }
672
678
  }, [
673
- g(a.$slots, "chart-background", {}, void 0, !0)
674
- ], 8, ca)) : m("", !0),
675
- (n(!0), u(A, null, I(f.value, (t, s) => (n(), u("g", va, [
676
- _("line", {
679
+ g(t.$slots, "chart-background", {}, void 0, !0)
680
+ ], 8, da)) : m("", !0),
681
+ (n(!0), u(A, null, I(f.value, (a, s) => (n(), u("g", ha, [
682
+ F("line", {
677
683
  x1: h.value.left + C.value * s + C.value / 2,
678
684
  x2: h.value.left + C.value * s + C.value / 2,
679
685
  y1: h.value.top,
680
686
  y2: h.value.bottom,
681
687
  stroke: e.value.style.chart.yAxis.stroke,
682
688
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
683
- }, null, 8, da),
689
+ }, null, 8, pa),
684
690
  e.value.style.chart.yAxis.labels.ticks.show ? (n(), u(A, { key: 0 }, [
685
- (n(!0), u(A, null, I(t.ticks, (o) => (n(), u("line", {
686
- x1: o.x,
687
- x2: o.x - 10,
688
- y1: o.y,
689
- y2: o.y,
691
+ (n(!0), u(A, null, I(a.ticks, (l) => (n(), u("line", {
692
+ x1: l.x,
693
+ x2: l.x - 10,
694
+ y1: l.y,
695
+ y2: l.y,
690
696
  stroke: e.value.style.chart.yAxis.stroke,
691
697
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
692
- style: N(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
693
- }, null, 12, ha))), 256)),
694
- v(R) ? m("", !0) : (n(), u("g", pa, [
695
- (n(!0), u(A, null, I(t.ticks, (o) => (n(), u("text", {
696
- x: o.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
697
- y: o.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
698
+ style: M(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
699
+ }, null, 12, ma))), 256)),
700
+ v(R) ? m("", !0) : (n(), u("g", ya, [
701
+ (n(!0), u(A, null, I(a.ticks, (l) => (n(), u("text", {
702
+ x: l.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
703
+ y: l.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
698
704
  fill: e.value.style.chart.yAxis.labels.ticks.color,
699
705
  "text-anchor": "end",
700
706
  "font-size": c.value.ticksFontSize,
701
707
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
702
- style: N(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
703
- }, B(Re({ value: o.value, index: s, datapoint: o })), 13, ma))), 256))
708
+ style: M(`opacity:${w.value && !p.value.showTooltip ? 0.2 : 1}`)
709
+ }, B(Be({ value: l.value, index: s, datapoint: l })), 13, fa))), 256))
704
710
  ]))
705
711
  ], 64)) : m("", !0)
706
712
  ]))), 256)),
707
713
  e.value.style.chart.yAxis.labels.showAxisNames ? (n(), u("g", {
708
714
  key: 1,
709
715
  ref_key: "xAxisLabels",
710
- ref: ae
716
+ ref: le
711
717
  }, [
712
- (n(!0), u(A, null, I(f.value, (t, s) => (n(), u(A, null, [
713
- String(t.name).includes(`
718
+ (n(!0), u(A, null, I(f.value, (a, s) => (n(), u(A, null, [
719
+ String(a.name).includes(`
714
720
  `) ? (n(), u("text", {
715
721
  key: 1,
716
722
  class: "vue-ui-parallel-coordinate-plot-x-label",
@@ -719,14 +725,14 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
719
725
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
720
726
  "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
721
727
  transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${j.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
722
- innerHTML: v(jt)({
723
- content: String(t.name),
728
+ innerHTML: v(Xt)({
729
+ content: String(a.name),
724
730
  fontSize: c.value.axisNameFontSize,
725
731
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
726
732
  x: 0,
727
733
  y: 0
728
734
  })
729
- }, null, 8, fa)) : (n(), u("text", {
735
+ }, null, 8, ga)) : (n(), u("text", {
730
736
  key: 0,
731
737
  class: "vue-ui-parallel-coordinate-plot-x-label",
732
738
  fill: e.value.style.chart.yAxis.labels.axisNamesColor,
@@ -734,43 +740,43 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
734
740
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
735
741
  "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
736
742
  transform: `translate(${h.value.left + C.value * s + C.value / 2}, ${j.value - c.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
737
- }, B(t.name), 9, ya))
743
+ }, B(a.name), 9, ba))
738
744
  ], 64))), 256))
739
745
  ], 512)) : m("", !0),
740
- (n(!0), u(A, null, I(ie.value, (t, s) => (n(), u("g", null, [
741
- (n(!0), u(A, null, I(t.series, (o, r) => (n(), u("g", null, [
742
- e.value.style.chart.plots.show ? (n(), u("g", ba, [
743
- (n(!0), u(A, null, I(o.datapoints, (i, T) => (n(), F(oa, {
746
+ (n(!0), u(A, null, I(ue.value, (a, s) => (n(), u("g", null, [
747
+ (n(!0), u(A, null, I(a.series, (l, r) => (n(), u("g", null, [
748
+ e.value.style.chart.plots.show ? (n(), u("g", xa, [
749
+ (n(!0), u(A, null, I(l.datapoints, (i, T) => (n(), N(na, {
744
750
  plot: { x: i.x, y: i.y },
745
- color: t.color,
746
- shape: t.shape,
747
- radius: t.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
751
+ color: a.color,
752
+ shape: a.shape,
753
+ radius: a.shape === "triangle" ? c.value.plotSize * 1.2 : c.value.plotSize,
748
754
  stroke: e.value.style.chart.backgroundColor,
749
755
  strokeWidth: 0.5,
750
756
  onMouseenter: (x) => J({
751
- shape: t.shape,
752
- serieName: t.name,
753
- serie: o,
757
+ shape: a.shape,
758
+ serieName: a.name,
759
+ serie: l,
754
760
  relativeIndex: r,
755
- seriesIndex: o.seriesIndex,
761
+ seriesIndex: l.seriesIndex,
756
762
  S: s
757
763
  }),
758
- onMouseleave: (x) => q({ serie: o, shape: t.shape, S: s }),
759
- style: N(`opacity:${w.value ? w.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
760
- onClick: () => K({ serie: o, shape: t.shape, S: s })
764
+ onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
765
+ style: M(`opacity:${w.value ? w.value === l.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
766
+ onClick: () => K({ serie: l, shape: a.shape, S: s })
761
767
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
762
768
  p.value.showTooltip ? m("", !0) : (n(), u(A, { key: 0 }, [
763
- w.value && w.value === o.id && o.datapoints.length ? (n(), u("text", {
769
+ w.value && w.value === l.id && l.datapoints.length ? (n(), u("text", {
764
770
  key: 0,
765
- x: o.datapoints[0].x - c.value.ticksFontSize,
766
- y: o.datapoints[0].y + c.value.ticksFontSize / 3,
771
+ x: l.datapoints[0].x - c.value.ticksFontSize,
772
+ y: l.datapoints[0].y + c.value.ticksFontSize / 3,
767
773
  "text-anchor": "end",
768
774
  "font-size": c.value.ticksFontSize,
769
- fill: t.color,
775
+ fill: a.color,
770
776
  "font-weight": "bold"
771
- }, B(o.name), 9, ga)) : m("", !0)
777
+ }, B(l.name), 9, ka)) : m("", !0)
772
778
  ], 64)),
773
- e.value.style.chart.comments.show ? (n(!0), u(A, { key: 1 }, I(o.datapoints, (i) => (n(), u("g", null, [
779
+ e.value.style.chart.comments.show ? (n(!0), u(A, { key: 1 }, I(l.datapoints, (i) => (n(), u("g", null, [
774
780
  i.comment ? (n(), u("foreignObject", {
775
781
  key: 0,
776
782
  style: { overflow: "visible" },
@@ -779,122 +785,122 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
779
785
  x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
780
786
  y: i.y + e.value.style.chart.comments.offsetY + 6
781
787
  }, [
782
- _("div", ka, [
783
- g(a.$slots, "plot-comment", {
784
- plot: { ...i, color: t.color }
788
+ F("div", Ca, [
789
+ g(t.$slots, "plot-comment", {
790
+ plot: { ...i, color: a.color }
785
791
  }, void 0, !0)
786
792
  ])
787
- ], 8, xa)) : m("", !0)
793
+ ], 8, wa)) : m("", !0)
788
794
  ]))), 256)) : m("", !0)
789
795
  ])) : m("", !0),
790
- !v(R) && (p.value.dataLabels.show || w.value && w.value === o.id) ? (n(!0), u(A, { key: 1 }, I(o.datapoints, (i, T) => (n(), u("text", {
796
+ !v(R) && (p.value.dataLabels.show || w.value && w.value === l.id) ? (n(!0), u(A, { key: 1 }, I(l.datapoints, (i, T) => (n(), u("text", {
791
797
  x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
792
798
  y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
793
- fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : e.value.style.chart.yAxis.labels.datapoints.color,
799
+ fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
794
800
  "text-anchor": "start",
795
801
  "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
796
802
  class: X({ "vue-ui-pcp-animated": !1, "vue-ui-pcp-transition": !v(R) }),
797
803
  "font-size": c.value.datapointFontSize,
798
804
  onMouseenter: (x) => J({
799
- shape: t.shape,
800
- serieName: t.name,
801
- serie: o,
805
+ shape: a.shape,
806
+ serieName: a.name,
807
+ serie: l,
802
808
  relativeIndex: r,
803
- seriesIndex: o.seriesIndex,
809
+ seriesIndex: l.seriesIndex,
804
810
  S: s
805
811
  }),
806
- onMouseleave: (x) => q({ serie: o, shape: t.shape, S: s }),
807
- onClick: () => K({ serie: o, shape: t.shape, S: s }),
808
- style: N(`opacity:${w.value ? w.value === o.id ? 1 : 0.2 : 1}`)
809
- }, B(Re({ value: i.value, index: T, datapoint: i })), 47, wa))), 256)) : m("", !0),
810
- _("path", {
811
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
812
- stroke: t.color,
812
+ onMouseleave: (x) => q({ serie: l, shape: a.shape, S: s }),
813
+ onClick: () => K({ serie: l, shape: a.shape, S: s }),
814
+ style: M(`opacity:${w.value ? w.value === l.id ? 1 : 0.2 : 1}`)
815
+ }, B(Be({ value: i.value, index: T, datapoint: i })), 47, Aa))), 256)) : m("", !0),
816
+ F("path", {
817
+ d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
818
+ stroke: a.color,
813
819
  "stroke-width": e.value.style.chart.lines.strokeWidth,
814
820
  fill: "none",
815
821
  class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
816
822
  onMouseenter: (i) => J({
817
- shape: t.shape,
818
- serieName: t.name,
819
- serie: o,
823
+ shape: a.shape,
824
+ serieName: a.name,
825
+ serie: l,
820
826
  relativeIndex: r,
821
- seriesIndex: o.seriesIndex,
827
+ seriesIndex: l.seriesIndex,
822
828
  S: s
823
829
  }),
824
- onMouseleave: (i) => q({ serie: o, shape: t.shape, S: s }),
825
- onClick: () => K({ serie: o, shape: t.shape, S: s }),
826
- style: N(`opacity:${w.value ? w.value === o.id ? e.value.style.chart.lines.opacity : 0.2 : e.value.style.chart.lines.opacity}; stroke-dasharray:${o.pathLength}; stroke-dashoffset: ${e.value.useCssAnimation ? o.pathLength : 0}`)
827
- }, null, 46, Ca),
830
+ onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
831
+ onClick: () => K({ serie: l, shape: a.shape, S: s }),
832
+ style: M(`opacity:${w.value ? w.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}`)
833
+ }, null, 46, $a),
828
834
  p.value.showTooltip ? (n(), u("path", {
829
835
  key: 2,
830
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
836
+ d: `M${e.value.style.chart.lines.smooth ? l.smoothPath : l.straightPath}`,
831
837
  stroke: "transparent",
832
838
  "stroke-width": 12,
833
839
  fill: "none",
834
840
  class: X({ "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation, "vue-ui-pcp-transition": !v(R) }),
835
841
  onMouseenter: (i) => J({
836
- shape: t.shape,
837
- serieName: t.name,
838
- serie: o,
842
+ shape: a.shape,
843
+ serieName: a.name,
844
+ serie: l,
839
845
  relativeIndex: r,
840
- seriesIndex: o.seriesIndex,
846
+ seriesIndex: l.seriesIndex,
841
847
  S: s
842
848
  }),
843
- onMouseleave: (i) => q({ serie: o, shape: t.shape, S: s }),
844
- onClick: () => K({ serie: o, shape: t.shape, S: s }),
849
+ onMouseleave: (i) => q({ serie: l, shape: a.shape, S: s }),
850
+ onClick: () => K({ serie: l, shape: a.shape, S: s }),
845
851
  style: { opacity: "0" }
846
- }, null, 42, Aa)) : m("", !0)
852
+ }, null, 42, Ta)) : m("", !0)
847
853
  ]))), 256))
848
854
  ]))), 256)),
849
- g(a.$slots, "svg", { svg: h.value }, void 0, !0)
850
- ], 14, ra)),
851
- a.$slots.watermark ? (n(), u("div", $a, [
852
- g(a.$slots, "watermark", W(U({ isPrinting: v(Fe) || v(_e) })), void 0, !0)
855
+ g(t.$slots, "svg", { svg: h.value }, void 0, !0)
856
+ ], 14, va)),
857
+ t.$slots.watermark ? (n(), u("div", za, [
858
+ g(t.$slots, "watermark", W(U({ isPrinting: v(Fe) || v(Ie) })), void 0, !0)
853
859
  ])) : m("", !0),
854
- _("div", {
860
+ F("div", {
855
861
  id: `legend-bottom-${S.value}`
856
- }, null, 8, Ta),
857
- Ce.value ? (n(), F(Nt, {
862
+ }, null, 8, _a),
863
+ Ae.value ? (n(), N(Ft, {
858
864
  key: 5,
859
865
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
860
866
  }, [
861
- _("div", {
867
+ F("div", {
862
868
  ref_key: "chartLegend",
863
- ref: fe
869
+ ref: be
864
870
  }, [
865
- e.value.style.chart.legend.show && Y.value ? (n(), F(la, {
866
- key: `legend_${ke.value}`,
867
- legendSet: ft.value,
868
- config: bt.value,
869
- onClickMarker: l[0] || (l[0] = ({ legend: t }) => {
870
- Se(t.id), He(t);
871
+ e.value.style.chart.legend.show && Y.value ? (n(), N(sa, {
872
+ key: `legend_${we.value}`,
873
+ legendSet: gt.value,
874
+ config: xt.value,
875
+ onClickMarker: o[0] || (o[0] = ({ legend: a }) => {
876
+ De(a.id), We(a);
871
877
  })
872
878
  }, {
873
- item: b(({ legend: t, index: s }) => [
874
- _("div", {
875
- onClick: (o) => {
876
- t.segregate(), He(t);
879
+ item: b(({ legend: a, index: s }) => [
880
+ F("div", {
881
+ onClick: (l) => {
882
+ a.segregate(), We(a);
877
883
  },
878
- style: N(`opacity:${M.value.includes(t.id) ? 0.5 : 1}`)
879
- }, B(t.name), 13, za)
884
+ style: M(`opacity:${_.value.includes(a.id) ? 0.5 : 1}`)
885
+ }, B(a.name), 13, Ma)
880
886
  ]),
881
887
  _: 1
882
- }, 8, ["legendSet", "config"])) : g(a.$slots, "legend", {
888
+ }, 8, ["legendSet", "config"])) : g(t.$slots, "legend", {
883
889
  key: 1,
884
890
  legend: P.value
885
891
  }, void 0, !0)
886
892
  ], 512)
887
893
  ], 8, ["to"])) : m("", !0),
888
- a.$slots.source ? (n(), u("div", {
894
+ t.$slots.source ? (n(), u("div", {
889
895
  key: 6,
890
896
  ref_key: "source",
891
- ref: be,
897
+ ref: ge,
892
898
  dir: "auto"
893
899
  }, [
894
- g(a.$slots, "source", {}, void 0, !0)
900
+ g(t.$slots, "source", {}, void 0, !0)
895
901
  ], 512)) : m("", !0),
896
- he(v(ot), {
897
- show: p.value.showTooltip && re.value,
902
+ pe(v(nt), {
903
+ show: p.value.showTooltip && ce.value,
898
904
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
899
905
  color: e.value.style.chart.tooltip.color,
900
906
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -905,41 +911,41 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
905
911
  position: e.value.style.chart.tooltip.position,
906
912
  offsetY: e.value.style.chart.tooltip.offsetY,
907
913
  parent: z.value,
908
- content: ce.value,
914
+ content: ve.value,
909
915
  isFullscreen: D.value,
910
- isCustom: v(Je)(e.value.style.chart.tooltip.customFormat),
916
+ isCustom: v(Qe)(e.value.style.chart.tooltip.customFormat),
911
917
  smooth: e.value.style.chart.tooltip.smooth,
912
918
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
913
919
  }, {
914
920
  "tooltip-before": b(() => [
915
- g(a.$slots, "tooltip-before", W(U({ ...ue.value })), void 0, !0)
921
+ g(t.$slots, "tooltip-before", W(U({ ...re.value })), void 0, !0)
916
922
  ]),
917
923
  "tooltip-after": b(() => [
918
- g(a.$slots, "tooltip-after", W(U({ ...ue.value })), void 0, !0)
924
+ g(t.$slots, "tooltip-after", W(U({ ...re.value })), void 0, !0)
919
925
  ]),
920
926
  _: 3
921
927
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter"]),
922
- Y.value ? (n(), F(Ft(G.value.component), _t({ key: 7 }, G.value.props, {
928
+ Y.value ? (n(), N(It(G.value.component), Lt({ key: 7 }, G.value.props, {
923
929
  ref_key: "tableUnit",
924
930
  ref: V,
925
- onClose: l[3] || (l[3] = (t) => p.value.showTable = !1)
926
- }), Ge({
931
+ onClose: Ge
932
+ }), Ye({
927
933
  content: b(() => [
928
- (n(), F(v(it), {
929
- key: `table_${we.value}`,
934
+ (n(), N(v(rt), {
935
+ key: `table_${Ce.value}`,
930
936
  colNames: H.value.colNames,
931
937
  head: H.value.head,
932
938
  body: H.value.body,
933
939
  config: H.value.config,
934
940
  title: e.value.table.useDialog ? "" : G.value.title,
935
941
  withCloseButton: !e.value.table.useDialog,
936
- onClose: l[2] || (l[2] = (t) => p.value.showTable = !1)
942
+ onClose: Ge
937
943
  }, {
938
- th: b(({ th: t }) => [
939
- _("div", { innerHTML: t }, null, 8, Ma)
944
+ th: b(({ th: a }) => [
945
+ F("div", { innerHTML: a }, null, 8, Na)
940
946
  ]),
941
- td: b(({ td: t }) => [
942
- Xe(B(t), 1)
947
+ td: b(({ td: a }) => [
948
+ qe(B(a), 1)
943
949
  ]),
944
950
  _: 1
945
951
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -949,19 +955,19 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
949
955
  e.value.table.useDialog ? {
950
956
  name: "title",
951
957
  fn: b(() => [
952
- Xe(B(G.value.title), 1)
958
+ qe(B(G.value.title), 1)
953
959
  ]),
954
960
  key: "0"
955
961
  } : void 0,
956
962
  e.value.table.useDialog ? {
957
963
  name: "actions",
958
964
  fn: b(() => [
959
- _("button", {
965
+ F("button", {
960
966
  tabindex: "0",
961
967
  class: "vue-ui-user-options-button",
962
- onClick: l[1] || (l[1] = (t) => ve(e.value.userOptions.callbacks.csv))
968
+ onClick: o[1] || (o[1] = (a) => de(e.value.userOptions.callbacks.csv))
963
969
  }, [
964
- he(v(st), {
970
+ pe(v(it), {
965
971
  name: "excel",
966
972
  stroke: G.value.props.color
967
973
  }, null, 8, ["stroke"])
@@ -970,10 +976,10 @@ const ia = ["id"], ua = ["id"], ra = ["xmlns", "viewBox"], ca = ["x", "y", "widt
970
976
  key: "1"
971
977
  } : void 0
972
978
  ]), 1040)) : m("", !0),
973
- v(R) ? (n(), F(Qt, { key: 8 })) : m("", !0)
974
- ], 46, ia));
979
+ v(R) ? (n(), N(ea, { key: 8 })) : m("", !0)
980
+ ], 46, ra));
975
981
  }
976
- }, Va = /* @__PURE__ */ na(Na, [["__scopeId", "data-v-84b4d1f2"]]);
982
+ }, Ga = /* @__PURE__ */ ua(Fa, [["__scopeId", "data-v-80507662"]]);
977
983
  export {
978
- Va as default
984
+ Ga as default
979
985
  };