vue-data-ui 2.4.85 → 2.4.87

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 (170) hide show
  1. package/dist/{Arrow-Ajt3NMEa.cjs → Arrow-B6C-c2DT.cjs} +1 -1
  2. package/dist/{Arrow-Qayb_B0s.js → Arrow-C8PrFeHS.js} +1 -1
  3. package/dist/{BaseIcon-BVrsMbvi.cjs → BaseIcon-CdOKZmHr.cjs} +1 -1
  4. package/dist/{BaseIcon-B8U62FEj.js → BaseIcon-plElWres.js} +1 -1
  5. package/dist/{DataTable-1PQD-SFb.cjs → DataTable-BmKl4AAb.cjs} +1 -1
  6. package/dist/{DataTable-C0tCPQ9i.js → DataTable-CKke7C6w.js} +2 -2
  7. package/dist/{Legend-BJ2Wbqut.cjs → Legend-CY6wjCYY.cjs} +1 -1
  8. package/dist/{Legend-BTpe6qQB.js → Legend-DMeEvZOT.js} +2 -2
  9. package/dist/{PackageVersion-BjfedMsH.cjs → PackageVersion-DvDNPRrJ.cjs} +1 -1
  10. package/dist/{PackageVersion-CENy3Lm2.js → PackageVersion-Rh3rgo6A.js} +1 -1
  11. package/dist/{PenAndPaper-nqRtAh6J.cjs → PenAndPaper--xHLJRME.cjs} +1 -1
  12. package/dist/{PenAndPaper-Dr7ndoP_.js → PenAndPaper-DqVsdeLc.js} +3 -3
  13. package/dist/{Shape-zFv85Gc2.js → Shape-CL3HglYL.js} +1 -1
  14. package/dist/{Shape-Boa32JEn.cjs → Shape-DEwnzwRB.cjs} +1 -1
  15. package/dist/{Slicer-D6QLMg5N.cjs → Slicer-CnNbe-dl.cjs} +1 -1
  16. package/dist/{Slicer-BUYuk07t.js → Slicer-ZryQKOl5.js} +2 -2
  17. package/dist/{Title-CaET2xuF.js → Title-BU5Aq1_x.js} +1 -1
  18. package/dist/{Title-DJUxOiaO.cjs → Title-C10173bN.cjs} +1 -1
  19. package/dist/{Tooltip-C5QuW94e.cjs → Tooltip-CL7aSMgq.cjs} +1 -1
  20. package/dist/{Tooltip-Bkc4233T.js → Tooltip-Dm-obTbx.js} +1 -1
  21. package/dist/{index-COIn1phv.cjs → index-1HOIfTy2.cjs} +1 -1
  22. package/dist/{index-B7nCQFK0.js → index-BG5J_ybN.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-CbMuGGl3.cjs → useNestedProp-BFNnjpX-.cjs} +1 -1
  25. package/dist/{useNestedProp-C9rlBRTT.js → useNestedProp-BN1ZmAKT.js} +1 -1
  26. package/dist/{usePrinter-CQMn1b4E.js → usePrinter-CWeJt84b.js} +1 -1
  27. package/dist/{usePrinter-CXXfgFFN.cjs → usePrinter-i-j4CdEi.cjs} +1 -1
  28. package/dist/{vue-data-ui-Bu_VIHgr.cjs → vue-data-ui-549nX1yu.cjs} +1 -1
  29. package/dist/{vue-data-ui-BnsKGbqb.js → vue-data-ui-B5u9V9lC.js} +60 -60
  30. package/dist/vue-data-ui.cjs +1 -1
  31. package/dist/vue-data-ui.js +1 -1
  32. package/dist/{vue-ui-3d-bar-V5FBS9MA.js → vue-ui-3d-bar-DBtozgXL.js} +38 -38
  33. package/dist/{vue-ui-3d-bar-D39F2dKF.cjs → vue-ui-3d-bar-J7LkJgTZ.cjs} +11 -11
  34. package/dist/{vue-ui-accordion-CGlnNTr8.cjs → vue-ui-accordion-Cd6GaDwU.cjs} +1 -1
  35. package/dist/{vue-ui-accordion-B8ptB5BQ.js → vue-ui-accordion-JBOceVq2.js} +3 -3
  36. package/dist/{vue-ui-age-pyramid-Bjp1R8Ku.js → vue-ui-age-pyramid-BIkYjL8e.js} +29 -29
  37. package/dist/vue-ui-age-pyramid-DeryBRqg.cjs +1 -0
  38. package/dist/{vue-ui-annotator-V9m5fTGG.js → vue-ui-annotator-Bt90Iec6.js} +1 -1
  39. package/dist/{vue-ui-annotator-BoWZZRPg.cjs → vue-ui-annotator-Dw8cVACs.cjs} +1 -1
  40. package/dist/{vue-ui-bullet-DLIxlhFF.cjs → vue-ui-bullet-BMAYQESQ.cjs} +1 -1
  41. package/dist/{vue-ui-bullet-Bqvb5PV-.js → vue-ui-bullet-DzosZUYl.js} +8 -8
  42. package/dist/{vue-ui-candlestick-D4BD8LyJ.cjs → vue-ui-candlestick-BaLnAKB9.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-DHCtmsh3.js → vue-ui-candlestick-dTATEFOU.js} +48 -48
  44. package/dist/{vue-ui-carousel-table-VIuoh2QI.cjs → vue-ui-carousel-table-CWNI7Ri5.cjs} +1 -1
  45. package/dist/{vue-ui-carousel-table-Cn2RJkSb.js → vue-ui-carousel-table-rMcj65Bo.js} +4 -4
  46. package/dist/{vue-ui-chestnut-C5qUO1uK.js → vue-ui-chestnut-B_NLFSaY.js} +29 -29
  47. package/dist/{vue-ui-chestnut-ClG9HZoC.cjs → vue-ui-chestnut-DjOEVM3w.cjs} +2 -2
  48. package/dist/{vue-ui-cursor-Bo8et-dD.cjs → vue-ui-cursor-CBUwAZd1.cjs} +1 -1
  49. package/dist/{vue-ui-cursor-eJau3iyr.js → vue-ui-cursor-CTvVj3YO.js} +2 -2
  50. package/dist/{vue-ui-dashboard-DnaH9bCw.js → vue-ui-dashboard-CG9J3DLT.js} +2 -2
  51. package/dist/{vue-ui-dashboard-WJqGQ8iR.cjs → vue-ui-dashboard-DcfhPFVi.cjs} +1 -1
  52. package/dist/{vue-ui-digits-qIckO4-r.cjs → vue-ui-digits-B8lUQcKK.cjs} +1 -1
  53. package/dist/{vue-ui-digits-Cqjts2eq.js → vue-ui-digits-CF6qbsmO.js} +2 -2
  54. package/dist/{vue-ui-donut-pprcnbIw.js → vue-ui-donut-Bbkz0M-R.js} +76 -76
  55. package/dist/vue-ui-donut-CzmOCuxn.cjs +1 -0
  56. package/dist/{vue-ui-donut-evolution-EzYvP11F.js → vue-ui-donut-evolution-BkE-sAyn.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-CjFUAKXU.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-BiHzKPGP.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-DaxcxmnU.js → vue-ui-dumbbell-D8JuHhzi.js} +28 -28
  60. package/dist/vue-ui-flow-CR1Qo5Rt.cjs +1 -0
  61. package/dist/{vue-ui-flow-DbRgaKBu.js → vue-ui-flow-Cie8iHDK.js} +31 -31
  62. package/dist/vue-ui-funnel-B8uRuzDx.cjs +1 -0
  63. package/dist/{vue-ui-funnel-B2del8KB.js → vue-ui-funnel-tW6PGqcE.js} +32 -32
  64. package/dist/vue-ui-galaxy-BfbYEvnO.cjs +1 -0
  65. package/dist/{vue-ui-galaxy-pUYeASJf.js → vue-ui-galaxy-p4j0h3ZX.js} +81 -81
  66. package/dist/{vue-ui-gauge-DpsXpEaW.js → vue-ui-gauge-CtVmazzP.js} +7 -7
  67. package/dist/{vue-ui-gauge-BOXoAgWk.cjs → vue-ui-gauge-DnTOvr4T.cjs} +1 -1
  68. package/dist/{vue-ui-gizmo-Bq9uAmqd.cjs → vue-ui-gizmo-BdlVxVqD.cjs} +1 -1
  69. package/dist/{vue-ui-gizmo-BpYrhkon.js → vue-ui-gizmo-wjZJgWPe.js} +3 -3
  70. package/dist/{vue-ui-heatmap-Cz6_9Veh.js → vue-ui-heatmap-DJXLmzGL.js} +63 -63
  71. package/dist/vue-ui-heatmap-Gd3nkwzC.cjs +1 -0
  72. package/dist/vue-ui-history-plot-CevSrT7E.cjs +1 -0
  73. package/dist/{vue-ui-history-plot-DAotUjSF.js → vue-ui-history-plot-DJQck-9N.js} +69 -69
  74. package/dist/{vue-ui-kpi-D6mp6EQ2.cjs → vue-ui-kpi-D8NVXEfO.cjs} +1 -1
  75. package/dist/{vue-ui-kpi-Ch2p7m-i.js → vue-ui-kpi-MK6JH8yi.js} +3 -3
  76. package/dist/{vue-ui-mini-loader-E13lmwfO.js → vue-ui-mini-loader-UiC0NYsO.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-CO-KGVlC.cjs → vue-ui-mini-loader-a8JZaxIy.cjs} +1 -1
  78. package/dist/vue-ui-molecule-CXgKUNCL.cjs +1 -0
  79. package/dist/{vue-ui-molecule-C69K6EPO.js → vue-ui-molecule-Cz9zZQ95.js} +155 -155
  80. package/dist/vue-ui-mood-radar-B-PSds5c.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DDtky572.js → vue-ui-mood-radar-BMMCFkEk.js} +33 -33
  82. package/dist/{vue-ui-nested-donuts-DMCd6DqT.cjs → vue-ui-nested-donuts-Cdx6UQwF.cjs} +5 -5
  83. package/dist/{vue-ui-nested-donuts-AYPYIRrE.js → vue-ui-nested-donuts-Da9c-H0Y.js} +147 -147
  84. package/dist/{vue-ui-onion-Bsa88sKK.js → vue-ui-onion-D1wExDGP.js} +44 -44
  85. package/dist/{vue-ui-onion-BedLvfFe.cjs → vue-ui-onion-HAS4P8nS.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-KCEb4iRs.js → vue-ui-parallel-coordinate-plot-BH0xKZAE.js} +79 -79
  87. package/dist/{vue-ui-parallel-coordinate-plot-CSOMIABF.cjs → vue-ui-parallel-coordinate-plot-BYeyzJnE.cjs} +3 -3
  88. package/dist/{vue-ui-quadrant-Bd_88Eht.js → vue-ui-quadrant-BDkbMaNf.js} +108 -108
  89. package/dist/vue-ui-quadrant-DbWSZWfP.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-CXAYKYHa.js → vue-ui-quick-chart-D3b2YwMY.js} +212 -212
  91. package/dist/vue-ui-quick-chart-qnbmA75J.cjs +15 -0
  92. package/dist/{vue-ui-radar-De397oTB.js → vue-ui-radar--Bt67L0i.js} +107 -107
  93. package/dist/vue-ui-radar-DSZpmaIZ.cjs +1 -0
  94. package/dist/{vue-ui-rating-wK3_ZWE5.js → vue-ui-rating-Bgr7tvIq.js} +2 -2
  95. package/dist/{vue-ui-rating-BjiMVoyX.cjs → vue-ui-rating-Z_ANkBeZ.cjs} +1 -1
  96. package/dist/{vue-ui-relation-circle-BEGyr1h-.cjs → vue-ui-relation-circle-3cgv8yC-.cjs} +1 -1
  97. package/dist/{vue-ui-relation-circle-BxlK8MVs.js → vue-ui-relation-circle-B22VP_p1.js} +7 -7
  98. package/dist/{vue-ui-rings-BcNMBXxq.cjs → vue-ui-rings-DZEwaUv5.cjs} +2 -2
  99. package/dist/{vue-ui-rings-BXrtMSML.js → vue-ui-rings-DgzfAEvJ.js} +66 -66
  100. package/dist/{vue-ui-scatter-BWZfLJ9P.js → vue-ui-scatter-BwlbShJE.js} +85 -85
  101. package/dist/vue-ui-scatter-CSI15Dgp.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-BJgOwFMW.cjs → vue-ui-screenshot-DK2xyINC.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-hw4PC9Uu.js → vue-ui-screenshot-Dk0TqQpi.js} +1 -1
  104. package/dist/{vue-ui-skeleton-BIqMxXV7.cjs → vue-ui-skeleton-CLiDRcQX.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-D66ZIUln.js → vue-ui-skeleton-c211TxZ8.js} +3 -3
  106. package/dist/{vue-ui-smiley-Duy5Xo-j.cjs → vue-ui-smiley-Kr6bQ-7L.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-DWPYdcDB.js → vue-ui-smiley-hIooew3m.js} +2 -2
  108. package/dist/{vue-ui-spark-trend-Ce4IaqPz.js → vue-ui-spark-trend-CgpDYM8f.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-DP5foaNi.cjs → vue-ui-spark-trend-SVqMwS1X.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bbns4V16.cjs → vue-ui-sparkbar-DY1J0X8K.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-Fa-Kc9Fr.js → vue-ui-sparkbar-D_HgtfBM.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-BrLrvNLH.cjs → vue-ui-sparkgauge-C4p0nAHp.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DUWcJ7cM.js → vue-ui-sparkgauge-jO5jKAyz.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-PgC-c-5a.js → vue-ui-sparkhistogram-BpQfz14e.js} +5 -5
  115. package/dist/{vue-ui-sparkhistogram-B0rhs_UN.cjs → vue-ui-sparkhistogram-gSNvSVcP.cjs} +1 -1
  116. package/dist/{vue-ui-sparkline-BqNlrKjb.js → vue-ui-sparkline-BTgaJjMj.js} +4 -4
  117. package/dist/{vue-ui-sparkline-c5Awoj8J.cjs → vue-ui-sparkline-D53BDGCi.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-DyJIUulr.js → vue-ui-sparkstackbar-COm1EqFN.js} +5 -5
  119. package/dist/{vue-ui-sparkstackbar-BmYIcpVZ.cjs → vue-ui-sparkstackbar-DcEhBuvP.cjs} +1 -1
  120. package/dist/{vue-ui-stackbar-BebRtOYL.js → vue-ui-stackbar-BHyysJyj.js} +51 -51
  121. package/dist/{vue-ui-stackbar-DJ9NH_l1.cjs → vue-ui-stackbar-D4-vrvMz.cjs} +3 -3
  122. package/dist/{vue-ui-strip-plot-BGHj1BHd.js → vue-ui-strip-plot-BOLWDlTl.js} +118 -118
  123. package/dist/vue-ui-strip-plot-iUjpocRA.cjs +1 -0
  124. package/dist/{vue-ui-table-BFdGppRF.cjs → vue-ui-table-DG3-RAEv.cjs} +1 -1
  125. package/dist/{vue-ui-table-ClPMKcMn.js → vue-ui-table-XThR7HtD.js} +1 -1
  126. package/dist/{vue-ui-table-heatmap-B7wTjM-H.cjs → vue-ui-table-heatmap-B82Dmfv2.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-DVQtPt-M.js → vue-ui-table-heatmap-DxWQ3cdf.js} +4 -4
  128. package/dist/{vue-ui-table-sparkline-DjxKXWQm.js → vue-ui-table-sparkline-BIQAc-eX.js} +5 -5
  129. package/dist/{vue-ui-table-sparkline-DaKODjfM.cjs → vue-ui-table-sparkline-C3JrSwmi.cjs} +1 -1
  130. package/dist/{vue-ui-thermometer-CV_9k37V.js → vue-ui-thermometer-Ci0OBAEN.js} +7 -7
  131. package/dist/{vue-ui-thermometer-DE9r0emf.cjs → vue-ui-thermometer-t1cul6jD.cjs} +1 -1
  132. package/dist/{vue-ui-timer-Ct-KYWSX.cjs → vue-ui-timer-BLqulQx5.cjs} +1 -1
  133. package/dist/{vue-ui-timer-2w5Ayq7G.js → vue-ui-timer-CwJoQApu.js} +5 -5
  134. package/dist/{vue-ui-tiremarks-BJnh0GBj.js → vue-ui-tiremarks-CFVl_w7d.js} +7 -7
  135. package/dist/{vue-ui-tiremarks-Cf04zARl.cjs → vue-ui-tiremarks-_d9WOe-N.cjs} +1 -1
  136. package/dist/vue-ui-treemap-BaQFfbqL.cjs +1 -0
  137. package/dist/{vue-ui-treemap-BD546LBi.js → vue-ui-treemap-BtjPxOzu.js} +108 -108
  138. package/dist/{vue-ui-vertical-bar-D3QKHHnS.cjs → vue-ui-vertical-bar-BcjM9qCI.cjs} +3 -3
  139. package/dist/{vue-ui-vertical-bar-E5CTb1Bd.js → vue-ui-vertical-bar-xnQDjCLE.js} +54 -54
  140. package/dist/{vue-ui-waffle-BAJIMbZK.js → vue-ui-waffle-BMFtG4mh.js} +99 -99
  141. package/dist/vue-ui-waffle-DGarEDP5.cjs +1 -0
  142. package/dist/{vue-ui-wheel-CPPLUSFq.js → vue-ui-wheel-DIr8JQt0.js} +7 -7
  143. package/dist/{vue-ui-wheel-Dy_B7BTG.cjs → vue-ui-wheel-DLFWUmdm.cjs} +1 -1
  144. package/dist/vue-ui-word-cloud-CDQ4rkP-.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-BVZcDY7m.js → vue-ui-word-cloud-CrSkUMkN.js} +81 -81
  146. package/dist/{vue-ui-xy-tB-6IP2y.js → vue-ui-xy-DPT3SYuU.js} +815 -818
  147. package/dist/vue-ui-xy-DfnDyl8o.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-DFUfTZwz.js → vue-ui-xy-canvas-C3iMSkvP.js} +35 -35
  149. package/dist/{vue-ui-xy-canvas-BSZTrqci.cjs → vue-ui-xy-canvas-DEyhDtC-.cjs} +3 -3
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-BdseHKUc.cjs +0 -1
  152. package/dist/vue-ui-donut-BP7yj2DU.cjs +0 -1
  153. package/dist/vue-ui-donut-evolution-Cz8uFJp8.cjs +0 -1
  154. package/dist/vue-ui-dumbbell-CYqHCr2S.cjs +0 -9
  155. package/dist/vue-ui-flow-HeRCplGL.cjs +0 -1
  156. package/dist/vue-ui-funnel-DxniWNkD.cjs +0 -1
  157. package/dist/vue-ui-galaxy-BDA64dud.cjs +0 -1
  158. package/dist/vue-ui-heatmap-CbKgGLtN.cjs +0 -1
  159. package/dist/vue-ui-history-plot-BoMdvItE.cjs +0 -1
  160. package/dist/vue-ui-molecule-CeoDnPXB.cjs +0 -1
  161. package/dist/vue-ui-mood-radar-BwOqQUuT.cjs +0 -1
  162. package/dist/vue-ui-quadrant-BXQVOvpY.cjs +0 -1
  163. package/dist/vue-ui-quick-chart-dLItYwM_.cjs +0 -15
  164. package/dist/vue-ui-radar-BuNtocmn.cjs +0 -1
  165. package/dist/vue-ui-scatter-DTy3yPVu.cjs +0 -1
  166. package/dist/vue-ui-strip-plot-f7vejZht.cjs +0 -1
  167. package/dist/vue-ui-treemap-D0vi4bv4.cjs +0 -1
  168. package/dist/vue-ui-waffle-BL0e3Yeq.cjs +0 -1
  169. package/dist/vue-ui-word-cloud-BPoAoeWZ.cjs +0 -1
  170. package/dist/vue-ui-xy-D4hRtHAi.cjs +0 -3
@@ -1,20 +1,20 @@
1
- import { computed as g, ref as v, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as x, createBlock as z, createCommentVNode as p, createSlots as Ye, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as _e, Fragment as C, renderList as F, createElementVNode as I, toDisplayString as D, createTextVNode as qe } from "vue";
2
- import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Fe, f as Ie, y as it, q as rt, r as ct, F as G } from "./index-B7nCQFK0.js";
1
+ import { computed as g, ref as v, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as x, createBlock as z, createCommentVNode as m, createSlots as Ye, withCtx as k, renderSlot as b, normalizeProps as W, guardReactiveProps as E, createVNode as _e, Fragment as C, renderList as F, createElementVNode as I, toDisplayString as D, createTextVNode as qe } from "vue";
2
+ import { u as Qe, c as ee, t as Je, a as Ke, p as H, o as Ze, e as Me, g as et, b as tt, d as at, D as lt, Q as ot, R as st, S as nt, X as ut, x as ze, i as Fe, f as Ie, y as it, q as rt, r as ct, F as G } from "./index-BG5J_ybN.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as ht } from "./Title-CaET2xuF.js";
5
- import { L as pt } from "./Legend-BTpe6qQB.js";
6
- import { _ as mt } from "./Tooltip-Bkc4233T.js";
7
- import { _ as yt } from "./Shape-zFv85Gc2.js";
8
- import { u as ft, U as gt } from "./usePrinter-CQMn1b4E.js";
9
- import { D as bt } from "./DataTable-C0tCPQ9i.js";
10
- import xt from "./vue-ui-accordion-B8ptB5BQ.js";
11
- import kt from "./vue-ui-skeleton-D66ZIUln.js";
12
- import { u as Pe } from "./useNestedProp-C9rlBRTT.js";
13
- import { _ as wt } from "./PackageVersion-CENy3Lm2.js";
14
- import { P as Ct } from "./PenAndPaper-Dr7ndoP_.js";
4
+ import { _ as ht } from "./Title-BU5Aq1_x.js";
5
+ import { L as pt } from "./Legend-DMeEvZOT.js";
6
+ import { _ as mt } from "./Tooltip-Dm-obTbx.js";
7
+ import { _ as yt } from "./Shape-CL3HglYL.js";
8
+ import { u as ft, U as gt } from "./usePrinter-CWeJt84b.js";
9
+ import { D as bt } from "./DataTable-CKke7C6w.js";
10
+ import xt from "./vue-ui-accordion-JBOceVq2.js";
11
+ import kt from "./vue-ui-skeleton-c211TxZ8.js";
12
+ import { u as Pe } from "./useNestedProp-BN1ZmAKT.js";
13
+ import { _ as wt } from "./PackageVersion-Rh3rgo6A.js";
14
+ import { P as Ct } from "./PenAndPaper-DqVsdeLc.js";
15
15
  import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
16
16
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], zt = { style: { "pointer-events": "none" } }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size", "font-weight"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size", "font-weight"], St = { key: 0 }, Lt = ["x", "y", "font-size", "fill"], Ot = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Ut = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Wt = ["d", "stroke", "stroke-width", "onMouseenter"], Et = ["d", "onMouseenter"], Vt = {
17
+ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"], zt = { style: { "pointer-events": "none" } }, Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size", "font-weight"], Pt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nt = ["x", "y", "fill", "font-size", "font-weight"], Lt = { key: 0 }, St = ["x", "y", "font-size", "fill"], Ot = ["width", "x", "y"], Dt = { style: { width: "100%" } }, Ut = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Wt = ["d", "stroke", "stroke-width", "onMouseenter"], Et = ["d", "onMouseenter"], Vt = {
18
18
  key: 5,
19
19
  class: "vue-data-ui-watermark"
20
20
  }, jt = ["onClick"], Bt = ["innerHTML"], Rt = {
@@ -34,17 +34,17 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend", "selectDatapoint"],
37
- setup(Ne, { expose: Se, emit: te }) {
38
- const _ = Ne, { vue_ui_parallel_coordinate_plot: Le } = Qe(), P = g({
37
+ setup(Ne, { expose: Le, emit: te }) {
38
+ const _ = Ne, { vue_ui_parallel_coordinate_plot: Se } = Qe(), P = g({
39
39
  get() {
40
40
  return !!_.dataset && _.dataset.length;
41
41
  },
42
42
  set(t) {
43
43
  return t;
44
44
  }
45
- }), ae = v(0), N = v(null), le = v(null), oe = v(null), se = v(null), ne = v(null), ue = v(0), ie = v(0), re = v(0), X = v(ee()), S = v(!1);
45
+ }), ae = v(0), N = v(null), le = v(null), oe = v(null), se = v(null), ne = v(null), ue = v(0), ie = v(0), re = v(0), X = v(ee()), L = v(!1);
46
46
  function Oe(t) {
47
- S.value = t, ae.value += 1;
47
+ L.value = t, ae.value += 1;
48
48
  }
49
49
  const e = g({
50
50
  get: () => de(),
@@ -53,7 +53,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
53
53
  function de() {
54
54
  const t = Pe({
55
55
  userConfig: _.config,
56
- defaultConfig: Le
56
+ defaultConfig: Se
57
57
  });
58
58
  return t.theme ? {
59
59
  ...Pe({
@@ -64,7 +64,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
64
64
  } : t;
65
65
  }
66
66
  He(() => _.config, (t) => {
67
- e.value = de(), Y.value = !e.value.showOnChartHover, he(), ue.value += 1, re.value += 1, ie.value += 1;
67
+ e.value = de(), Y.value = !e.value.showOnChartHover, he(), ue.value += 1, re.value += 1, ie.value += 1, h.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, h.value.showTable = e.value.table.show, h.value.showTooltip = e.value.style.chart.tooltip.show;
68
68
  }, { deep: !0 });
69
69
  const V = v(null);
70
70
  Ge(() => {
@@ -153,7 +153,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
153
153
  right: s - l,
154
154
  bottom: n - a
155
155
  };
156
- }), Ue = g(() => tt(e.value.customPalette)), y = v({
156
+ }), Ue = g(() => tt(e.value.customPalette)), h = v({
157
157
  dataLabels: {
158
158
  show: e.value.style.chart.yAxis.labels.datapoints.show
159
159
  },
@@ -194,12 +194,12 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
194
194
  )), w = g(() => c.value.width / be.value), q = g(() => M.value.filter((t) => !$.value.includes(t.id))), f = g(() => {
195
195
  let t = [];
196
196
  for (let l = 0; l < be.value; l += 1) {
197
- const a = Math.min(...q.value.flatMap((h) => h.series.map((R) => R.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((h) => h.series.map((R) => R.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = lt(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((h, R) => {
198
- const Be = r.min < 0 ? h + Math.abs(r.min) : h - Math.abs(r.min), Re = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
197
+ const a = Math.min(...q.value.flatMap((p) => p.series.map((R) => R.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((p) => p.series.map((R) => R.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = lt(n, s, e.value.style.chart.yAxis.scaleTicks), A = r.ticks.map((p, R) => {
198
+ const Be = r.min < 0 ? p + Math.abs(r.min) : p - Math.abs(r.min), Re = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
199
199
  return {
200
200
  y: c.value.bottom - c.value.height * (Be / Re),
201
201
  x: c.value.left + w.value * l + w.value / 2,
202
- value: h
202
+ value: p
203
203
  };
204
204
  });
205
205
  t.push({
@@ -253,9 +253,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
253
253
  { datapoint: a, seriesIndex: l }
254
254
  );
255
255
  }
256
- const m = v(null), J = v(null), L = v(!1), K = v("");
256
+ const y = v(null), J = v(null), S = v(!1), K = v("");
257
257
  function j({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
258
- J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, L.value = !0, m.value = a.id;
258
+ J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, S.value = !0, y.value = a.id;
259
259
  let s = "";
260
260
  const r = e.value.style.chart.tooltip.customFormat;
261
261
  ze(r) && it(() => r({
@@ -270,25 +270,25 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
270
270
  series: M.value,
271
271
  config: e.value,
272
272
  scales: f.value
273
- }) : (s += `<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 + " - " : ""}${a.name}</div>`, f.value.map((A) => A.name).forEach((A, h) => {
273
+ }) : (s += `<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 + " - " : ""}${a.name}</div>`, f.value.map((A) => A.name).forEach((A, p) => {
274
274
  s += `
275
275
  <div class="vue-ui-tooltip-item" style="text-align:left">
276
276
  <span>${A}: </span>
277
277
  <span>
278
278
  ${Fe(
279
- e.value.style.chart.yAxis.labels.formatters[h] || null,
280
- a.datapoints[h].value,
279
+ e.value.style.chart.yAxis.labels.formatters[p] || null,
280
+ a.datapoints[p].value,
281
281
  Ie({
282
- p: e.value.style.chart.yAxis.labels.prefixes[h] || "",
283
- v: a.datapoints[h].value,
284
- s: e.value.style.chart.yAxis.labels.suffixes[h] || "",
285
- r: e.value.style.chart.yAxis.labels.roundings[h] || ""
282
+ p: e.value.style.chart.yAxis.labels.prefixes[p] || "",
283
+ v: a.datapoints[p].value,
284
+ s: e.value.style.chart.yAxis.labels.suffixes[p] || "",
285
+ r: e.value.style.chart.yAxis.labels.roundings[p] || ""
286
286
  }),
287
- { datapoint: a.datapoints[h], seriesIndex: h }
287
+ { datapoint: a.datapoints[p], seriesIndex: p }
288
288
  )}
289
289
  </span>
290
290
  </div>
291
- `, e.value.style.chart.comments.showInTooltip && a.datapoints[h].comment && (s += `<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[h].comment}</div>`);
291
+ `, e.value.style.chart.comments.showInTooltip && a.datapoints[p].comment && (s += `<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[p].comment}</div>`);
292
292
  }), K.value = `<div>${s}</div>`);
293
293
  }
294
294
  function Ve() {
@@ -333,19 +333,19 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
333
333
  });
334
334
  }
335
335
  function $e() {
336
- y.value.showTable = !y.value.showTable;
336
+ h.value.showTable = !h.value.showTable;
337
337
  }
338
338
  function Ae() {
339
- y.value.dataLabels.show = !y.value.dataLabels.show;
339
+ h.value.dataLabels.show = !h.value.dataLabels.show;
340
340
  }
341
341
  function Te() {
342
- y.value.showTooltip = !y.value.showTooltip;
342
+ h.value.showTooltip = !h.value.showTooltip;
343
343
  }
344
344
  const B = v(!1);
345
345
  function Z() {
346
346
  B.value = !B.value;
347
347
  }
348
- return Se({
348
+ return Le({
349
349
  getData: Ve,
350
350
  generateCsv: we,
351
351
  generatePdf: ye,
@@ -357,7 +357,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
357
357
  }), (t, l) => (u(), i("div", {
358
358
  ref_key: "pcpChart",
359
359
  ref: N,
360
- class: U(`vue-ui-pcp ${S.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
360
+ class: U(`vue-ui-pcp ${L.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
361
361
  style: T(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
362
362
  id: `pcp_${X.value}`,
363
363
  onMouseenter: l[6] || (l[6] = () => x(ce)(!0)),
@@ -370,14 +370,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
370
370
  color: e.value.style.chart.color,
371
371
  active: B.value,
372
372
  onClose: Z
373
- }, null, 8, ["parent", "backgroundColor", "color", "active"])) : p("", !0),
373
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
374
374
  De.value ? (u(), i("div", {
375
375
  key: 1,
376
376
  ref_key: "noTitle",
377
377
  ref: ne,
378
378
  class: "vue-data-ui-no-title-space",
379
379
  style: "height:36px; width: 100%;background:transparent"
380
- }, null, 512)) : p("", !0),
380
+ }, null, 512)) : m("", !0),
381
381
  e.value.style.chart.title.text ? (u(), i("div", {
382
382
  key: 2,
383
383
  ref_key: "chartTitle",
@@ -397,7 +397,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
397
397
  }
398
398
  }
399
399
  }, null, 8, ["config"]))
400
- ], 512)) : p("", !0),
400
+ ], 512)) : m("", !0),
401
401
  e.value.userOptions.show && P.value && (x(ve) || x(Y)) ? (u(), z(gt, {
402
402
  ref: "details",
403
403
  key: `user_options_${ae.value}`,
@@ -413,8 +413,8 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
413
413
  hasTable: e.value.userOptions.buttons.table,
414
414
  hasLabel: e.value.userOptions.buttons.labels,
415
415
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
416
- isFullscreen: S.value,
417
- isTooltip: y.value.showTooltip,
416
+ isFullscreen: L.value,
417
+ isTooltip: h.value.showTooltip,
418
418
  titles: { ...e.value.userOptions.buttonTitles },
419
419
  chartElement: N.value,
420
420
  position: e.value.userOptions.position,
@@ -481,11 +481,11 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
481
481
  ]),
482
482
  key: "6"
483
483
  } : void 0
484
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : p("", !0),
484
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage", "style"])) : m("", !0),
485
485
  P.value ? (u(), i("svg", {
486
486
  key: 4,
487
487
  xmlns: x(ut),
488
- class: U({ "vue-data-ui-fullscreen--on": S.value, "vue-data-ui-fulscreen--off": !S.value }),
488
+ class: U({ "vue-data-ui-fullscreen--on": L.value, "vue-data-ui-fulscreen--off": !L.value }),
489
489
  viewBox: `0 0 ${c.value.chartWidth <= 0 ? 10 : c.value.chartWidth} ${c.value.chartHeight <= 0 ? 10 : c.value.chartHeight}`,
490
490
  style: T(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
491
491
  }, [
@@ -501,7 +501,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
501
501
  }
502
502
  }, [
503
503
  b(t.$slots, "chart-background", {}, void 0, !0)
504
- ], 8, Mt)) : p("", !0),
504
+ ], 8, Mt)) : m("", !0),
505
505
  (u(!0), i(C, null, F(f.value, (a, o) => (u(), i("g", zt, [
506
506
  I("line", {
507
507
  x1: c.value.left + w.value * o + w.value / 2,
@@ -527,7 +527,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
527
527
  y2: n.y,
528
528
  stroke: e.value.style.chart.yAxis.stroke,
529
529
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
530
- style: T(`opacity:${m.value && !y.value.showTooltip ? 0.2 : 1}`)
530
+ style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
531
531
  }, null, 12, Pt))), 256)),
532
532
  (u(!0), i(C, null, F(a.ticks, (n) => (u(), i("text", {
533
533
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
@@ -536,13 +536,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
536
536
  "text-anchor": "end",
537
537
  "font-size": d.value.ticksFontSize,
538
538
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
539
- style: T(`opacity:${m.value && !y.value.showTooltip ? 0.2 : 1}`)
539
+ style: T(`opacity:${y.value && !h.value.showTooltip ? 0.2 : 1}`)
540
540
  }, D(xe({ value: n.value, index: o, datapoint: n })), 13, Nt))), 256))
541
- ], 64)) : p("", !0)
541
+ ], 64)) : m("", !0)
542
542
  ]))), 256)),
543
543
  (u(!0), i(C, null, F(Q.value, (a) => (u(), i("g", null, [
544
544
  (u(!0), i(C, null, F(a.series, (o, n) => (u(), i("g", null, [
545
- e.value.style.chart.plots.show ? (u(), i("g", St, [
545
+ e.value.style.chart.plots.show ? (u(), i("g", Lt, [
546
546
  (u(!0), i(C, null, F(o.datapoints, (s) => (u(), z(yt, {
547
547
  plot: { x: s.x, y: s.y },
548
548
  color: a.color,
@@ -558,13 +558,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
558
558
  seriesIndex: o.seriesIndex
559
559
  }),
560
560
  onMouseleave: l[0] || (l[0] = (r) => {
561
- m.value = null, L.value = !1;
561
+ y.value = null, S.value = !1;
562
562
  }),
563
- style: T(`opacity:${m.value ? m.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
563
+ style: T(`opacity:${y.value ? y.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
564
564
  onClick: () => je(s)
565
565
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
566
- y.value.showTooltip ? p("", !0) : (u(), i(C, { key: 0 }, [
567
- m.value && m.value === o.id && o.datapoints.length ? (u(), i("text", {
566
+ h.value.showTooltip ? m("", !0) : (u(), i(C, { key: 0 }, [
567
+ y.value && y.value === o.id && o.datapoints.length ? (u(), i("text", {
568
568
  key: 0,
569
569
  x: o.datapoints[0].x - d.value.ticksFontSize,
570
570
  y: o.datapoints[0].y + d.value.ticksFontSize / 3,
@@ -572,7 +572,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
572
572
  "font-size": d.value.ticksFontSize,
573
573
  fill: a.color,
574
574
  "font-weight": "bold"
575
- }, D(o.name), 9, Lt)) : p("", !0)
575
+ }, D(o.name), 9, St)) : m("", !0)
576
576
  ], 64)),
577
577
  e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, F(o.datapoints, (s) => (u(), i("g", null, [
578
578
  s.comment ? (u(), i("foreignObject", {
@@ -588,10 +588,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
588
588
  plot: { ...s, color: a.color }
589
589
  }, void 0, !0)
590
590
  ])
591
- ], 8, Ot)) : p("", !0)
592
- ]))), 256)) : p("", !0)
593
- ])) : p("", !0),
594
- y.value.dataLabels.show || m.value && m.value === o.id ? (u(!0), i(C, { key: 1 }, F(o.datapoints, (s, r) => (u(), i("text", {
591
+ ], 8, Ot)) : m("", !0)
592
+ ]))), 256)) : m("", !0)
593
+ ])) : m("", !0),
594
+ h.value.dataLabels.show || y.value && y.value === o.id ? (u(!0), i(C, { key: 1 }, F(o.datapoints, (s, r) => (u(), i("text", {
595
595
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
596
596
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + d.value.datapointFontSize / 3,
597
597
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
@@ -607,10 +607,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
607
607
  seriesIndex: o.seriesIndex
608
608
  }),
609
609
  onMouseleave: l[1] || (l[1] = (A) => {
610
- m.value = null, L.value = !1;
610
+ y.value = null, S.value = !1;
611
611
  }),
612
- style: T(`opacity:${m.value ? m.value === o.id ? 1 : 0.2 : 1}`)
613
- }, D(xe({ value: s.value, index: r, datapoint: s })), 45, Ut))), 256)) : p("", !0),
612
+ style: T(`opacity:${y.value ? y.value === o.id ? 1 : 0.2 : 1}`)
613
+ }, D(xe({ value: s.value, index: r, datapoint: s })), 45, Ut))), 256)) : m("", !0),
614
614
  I("path", {
615
615
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
616
616
  stroke: a.color,
@@ -625,11 +625,11 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
625
625
  seriesIndex: o.seriesIndex
626
626
  }),
627
627
  onMouseleave: l[2] || (l[2] = (s) => {
628
- m.value = null, L.value = !1;
628
+ y.value = null, S.value = !1;
629
629
  }),
630
- style: T(`opacity:${m.value ? m.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}`)
630
+ style: T(`opacity:${y.value ? y.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}`)
631
631
  }, null, 46, Wt),
632
- y.value.showTooltip ? (u(), i("path", {
632
+ h.value.showTooltip ? (u(), i("path", {
633
633
  key: 2,
634
634
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
635
635
  stroke: "transparent",
@@ -644,18 +644,18 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
644
644
  seriesIndex: o.seriesIndex
645
645
  }),
646
646
  onMouseleave: l[3] || (l[3] = (s) => {
647
- m.value = null, L.value = !1;
647
+ y.value = null, S.value = !1;
648
648
  }),
649
649
  style: { opacity: "0" }
650
- }, null, 42, Et)) : p("", !0)
650
+ }, null, 42, Et)) : m("", !0)
651
651
  ]))), 256))
652
652
  ]))), 256)),
653
653
  b(t.$slots, "svg", { svg: c.value }, void 0, !0)
654
- ], 14, _t)) : p("", !0),
654
+ ], 14, _t)) : m("", !0),
655
655
  t.$slots.watermark ? (u(), i("div", Vt, [
656
656
  b(t.$slots, "watermark", W(E({ isPrinting: x(pe) || x(me) })), void 0, !0)
657
- ])) : p("", !0),
658
- P.value ? p("", !0) : (u(), z(kt, {
657
+ ])) : m("", !0),
658
+ P.value ? m("", !0) : (u(), z(kt, {
659
659
  key: 6,
660
660
  config: {
661
661
  type: "parallelCoordinatePlot",
@@ -697,9 +697,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
697
697
  dir: "auto"
698
698
  }, [
699
699
  b(t.$slots, "source", {}, void 0, !0)
700
- ], 512)) : p("", !0),
700
+ ], 512)) : m("", !0),
701
701
  _e(mt, {
702
- show: y.value.showTooltip && L.value,
702
+ show: h.value.showTooltip && S.value,
703
703
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
704
704
  color: e.value.style.chart.tooltip.color,
705
705
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -711,7 +711,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
711
711
  offsetY: e.value.style.chart.tooltip.offsetY,
712
712
  parent: N.value,
713
713
  content: K.value,
714
- isFullscreen: S.value,
714
+ isFullscreen: L.value,
715
715
  isCustom: x(ze)(e.value.style.chart.tooltip.customFormat)
716
716
  }, {
717
717
  "tooltip-before": k(() => [
@@ -726,7 +726,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
726
726
  key: 8,
727
727
  hideDetails: "",
728
728
  config: {
729
- open: y.value.showTable,
729
+ open: h.value.showTable,
730
730
  maxHeight: 1e4,
731
731
  body: {
732
732
  backgroundColor: e.value.style.chart.backgroundColor,
@@ -746,7 +746,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
746
746
  body: O.value.body,
747
747
  config: O.value.config,
748
748
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
749
- onClose: l[5] || (l[5] = (a) => y.value.showTable = !1)
749
+ onClose: l[5] || (l[5] = (a) => h.value.showTable = !1)
750
750
  }, {
751
751
  th: k(({ th: a }) => [
752
752
  I("div", { innerHTML: a }, null, 8, Bt)
@@ -758,10 +758,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = ["x", "y", "width", "height"]
758
758
  }, 8, ["colNames", "head", "body", "config", "title"]))
759
759
  ]),
760
760
  _: 1
761
- }, 8, ["config"])) : p("", !0)
761
+ }, 8, ["config"])) : m("", !0)
762
762
  ], 46, Tt));
763
763
  }
764
- }, ua = /* @__PURE__ */ At(Rt, [["__scopeId", "data-v-4a1f702c"]]);
764
+ }, ua = /* @__PURE__ */ At(Rt, [["__scopeId", "data-v-f6a4ecb2"]]);
765
765
  export {
766
766
  ua as default
767
767
  };
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-COIn1phv.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-DJUxOiaO.cjs"),$e=require("./Legend-BJ2Wbqut.cjs"),Se=require("./Tooltip-C5QuW94e.cjs"),ze=require("./Shape-Boa32JEn.cjs"),ce=require("./usePrinter-CXXfgFFN.cjs"),Ne=require("./DataTable-1PQD-SFb.cjs"),Ae=require("./vue-ui-accordion-CGlnNTr8.cjs"),Te=require("./vue-ui-skeleton-BIqMxXV7.cjs"),de=require("./useNestedProp-CbMuGGl3.cjs"),Pe=require("./PackageVersion-BjfedMsH.cjs"),Fe=require("./PenAndPaper-nqRtAh6J.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le=["x","y","width","height"],Ve={style:{"pointer-events":"none"}},Oe=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","fill","font-size","font-weight"],qe=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],Re={key:0},We=["x","y","font-size","fill"],je=["width","x","y"],He={style:{width:"100%"}},Ge=["x","y","fill","font-weight","font-size","onMouseenter"],Ye=["d","stroke","stroke-width","onMouseenter"],Xe=["d","onMouseenter"],Je={key:5,class:"vue-data-ui-watermark"},Ke=["onClick"],Qe=["innerHTML"],Ze={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:L}){const b=ve,{vue_ui_parallel_coordinate_plot:he}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),V=e.ref(0),C=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(null),R=e.ref(0),W=e.ref(0),j=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,V.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:H,keepUserOptionState:G}=Me.useUserOptionState({config:t.value});function Y(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:he});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=Y(),P.value=!t.value.showOnChartHover,X(),R.value+=1,j.value+=1,W.value+=1},{deep:!0});const S=e.ref(null);e.onMounted(()=>{X()});function X(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?O.value:null,legend:t.value.style.chart.legend.show?D.value:null,source:q.value,noTitle:U.value});requestAnimationFrame(()=>{d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:Z}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ye=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),fe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),h=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function ee(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||fe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ge=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>ee(l.id),isSegregated:f.value.includes(l.id)}))),be=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),te=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/te.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<te.value;o+=1){const a=Math.min(...F.value.flatMap(v=>v.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(v=>v.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((v,A)=>{const Ce=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),we=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Ce/we),x:c.value.left+y.value*o+y.value/2,value:v}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function le({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const p=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,p.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,v)=>{s+=`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-1HOIfTy2.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-C10173bN.cjs"),$e=require("./Legend-CY6wjCYY.cjs"),Se=require("./Tooltip-CL7aSMgq.cjs"),ze=require("./Shape-DEwnzwRB.cjs"),ce=require("./usePrinter-i-j4CdEi.cjs"),Ne=require("./DataTable-BmKl4AAb.cjs"),Ae=require("./vue-ui-accordion-Cd6GaDwU.cjs"),Te=require("./vue-ui-skeleton-CLiDRcQX.cjs"),de=require("./useNestedProp-BFNnjpX-.cjs"),Pe=require("./PackageVersion-DvDNPRrJ.cjs"),Fe=require("./PenAndPaper--xHLJRME.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le=["x","y","width","height"],Ve={style:{"pointer-events":"none"}},Oe=["x1","x2","y1","y2","stroke","stroke-width"],De=["x","y","fill","font-size","font-weight"],qe=["x1","x2","y1","y2","stroke","stroke-width"],Ue=["x","y","fill","font-size","font-weight"],Re={key:0},We=["x","y","font-size","fill"],je=["width","x","y"],He={style:{width:"100%"}},Ge=["x","y","fill","font-weight","font-size","onMouseenter"],Ye=["d","stroke","stroke-width","onMouseenter"],Xe=["d","onMouseenter"],Je={key:5,class:"vue-data-ui-watermark"},Ke=["onClick"],Qe=["innerHTML"],Ze={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ve,{expose:pe,emit:L}){const b=ve,{vue_ui_parallel_coordinate_plot:he}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),V=e.ref(0),C=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(null),R=e.ref(0),W=e.ref(0),j=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,V.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:P,setUserOptionsVisibility:H,keepUserOptionState:G}=Me.useUserOptionState({config:t.value});function Y(){const l=de.useNestedProp({userConfig:b.config,defaultConfig:he});return l.theme?{...de.useNestedProp({userConfig:i.themes.vue_ui_parallel_coordinate_plot[l.theme]||b.config,defaultConfig:l}),customPalette:i.themePalettes[l.theme]||i.palette}:l}e.watch(()=>b.config,l=>{t.value=Y(),P.value=!t.value.showOnChartHover,X(),R.value+=1,j.value+=1,W.value+=1,v.value.dataLabels.show=t.value.style.chart.yAxis.labels.datapoints.show,v.value.showTable=t.value.table.show,v.value.showTooltip=t.value.style.chart.tooltip.show},{deep:!0});const S=e.ref(null);e.onMounted(()=>{X()});function X(){if(i.objectIsEmpty(b.dataset)?i.error({componentName:"VueUiParallelCoordinatePlot",type:"dataset"}):b.dataset.forEach((l,o)=>{i.getMissingDatasetAttributes({datasetObject:l,requiredAttributes:["name","series"]}).forEach(a=>{x.value=!1,i.error({componentName:"VueUiParallelCoordinatePlot",type:"datasetSerieAttribute",property:a,index:o})})}),t.value.responsive){const l=ue.throttle(()=>{const{width:o,height:a}=ue.useResponsive({chart:C.value,title:t.value.style.chart.title.text?O.value:null,legend:t.value.style.chart.legend.show?D.value:null,source:q.value,noTitle:U.value});requestAnimationFrame(()=>{d.value.width=o,d.value.height=a,d.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),d.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),d.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),d.value.axisNameFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.axisNamesFontSize,threshold:12,fallback:12})})});S.value=new ResizeObserver(l),S.value.observe(C.value.parentNode)}}e.onBeforeUnmount(()=>{S.value&&S.value.disconnect()});const{isPrinting:J,isImaging:K,generatePdf:Q,generateImage:Z}=ce.usePrinter({elementId:`pcp_${T.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),ye=e.computed(()=>t.value.userOptions.show&&!t.value.style.chart.title.text),d=e.ref({height:t.value.style.chart.height,width:t.value.style.chart.width,plotSize:t.value.style.chart.plots.radius,ticksFontSize:t.value.style.chart.yAxis.labels.ticks.fontSize,datapointFontSize:t.value.style.chart.yAxis.labels.datapoints.fontSize,axisNameFontSize:t.value.style.chart.yAxis.labels.axisNamesFontSize}),c=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=d.value.height,s=d.value.width;return{chartHeight:r,chartWidth:s,height:r-l-a,width:s-n-o,top:l,left:n,right:s-o,bottom:r-a}}),fe=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),v=e.ref({dataLabels:{show:t.value.style.chart.yAxis.labels.datapoints.show},showTable:t.value.table.show,showTooltip:t.value.style.chart.tooltip.show}),f=e.ref([]);function ee(l){f.value.includes(l)?f.value=f.value.filter(o=>o!==l):f.value.push(l)}const k=e.computed(()=>b.dataset.map((l,o)=>{const a=i.convertColorToHex(l.color)||fe.value[o]||i.palette[o]||i.palette[o%i.palette.length];return{...l,series:l.series.map(n=>({...n,id:i.createUid(),color:a})),seriesIndex:o,color:a,id:i.createUid(),shape:l.shape||"circle"}})),ge=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>ee(l.id),isSegregated:f.value.includes(l.id)}))),be=e.computed(()=>({cy:"pcp-div-legend",backgroundColor:t.value.style.chart.legend.backgroundColor,color:t.value.style.chart.legend.color,fontSize:t.value.style.chart.legend.fontSize,paddingBottom:12,fontWeight:t.value.style.chart.legend.bold?"bold":""})),te=e.computed(()=>Math.max(...k.value.filter(l=>!f.value.includes(l.id)).map(l=>Math.max(...l.series.flatMap(o=>o.values.length))))),y=e.computed(()=>c.value.width/te.value),F=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),m=e.computed(()=>{let l=[];for(let o=0;o<te.value;o+=1){const a=Math.min(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),n=Math.max(...F.value.flatMap(p=>p.series.map(A=>A.values[o]||0)||0)),r=n===a?a/4:a,s=n===a?n*2:n,u=i.calculateNiceScale(r,s,t.value.style.chart.yAxis.scaleTicks),g=u.ticks.map((p,A)=>{const Ce=u.min<0?p+Math.abs(u.min):p-Math.abs(u.min),we=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:c.value.bottom-c.value.height*(Ce/we),x:c.value.left+y.value*o+y.value/2,value:p}});l.push({scale:u,ticks:g,name:t.value.style.chart.yAxis.labels.axisNames[o]||`Y-${o+1}`})}return l}),M=e.computed(()=>F.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=m.value[s].scale.min<0?(r||0)+Math.abs(m.value[s].scale.min):(r||0)-Math.abs(m.value[s].scale.min),g=m.value[s].scale.min<0?m.value[s].scale.max+Math.abs(m.value[s].scale.min):m.value[s].scale.max-Math.abs(m.value[s].scale.min);return{name:a.name,seriesName:l.name,axisIndex:s,datapointIndex:n,seriesIndex:o,value:r||0,x:c.value.left+y.value*s+y.value/2,y:c.value.bottom-c.value.height*(u/g),comment:a.comments&&a.comments[s]||""}})}))})).map(l=>({...l,series:l.series.map(o=>{const a=i.createStraightPath(o.datapoints),n=i.createSmoothPath(o.datapoints),r=i.getPathLengthFromCoordinates(t.value.style.chart.lines.smooth?`M ${n}`:`M ${a}`);return{...o,smoothPath:n,straightPath:a,pathLength:r}})})));function le({value:l,index:o,datapoint:a}){return i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[o]||null,l,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[o]||"",v:l,s:t.value.style.chart.yAxis.labels.suffixes[o]||"",r:t.value.style.chart.yAxis.labels.roundings[o]||0}),{datapoint:a,seriesIndex:o})}const h=e.ref(null),_=e.ref(null),B=e.ref(!1),E=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){_.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:m.value},B.value=!0,h.value=a.id;let s="";const u=t.value.style.chart.tooltip.customFormat;i.isFunction(u)&&i.functionReturnsString(()=>u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}))?E.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:m.value}):(s+=`<div style="width:100%;text-align:center;border-bottom:1px solid ${t.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${o?o+" - ":""}${a.name}</div>`,m.value.map(g=>g.name).forEach((g,p)=>{s+=`
2
2
  <div class="vue-ui-tooltip-item" style="text-align:left">
3
3
  <span>${g}: </span>
4
4
  <span>
5
- ${i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[v]||null,a.datapoints[v].value,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[v]||"",v:a.datapoints[v].value,s:t.value.style.chart.yAxis.labels.suffixes[v]||"",r:t.value.style.chart.yAxis.labels.roundings[v]||""}),{datapoint:a.datapoints[v],seriesIndex:v})}
5
+ ${i.applyDataLabel(t.value.style.chart.yAxis.labels.formatters[p]||null,a.datapoints[p].value,i.dataLabel({p:t.value.style.chart.yAxis.labels.prefixes[p]||"",v:a.datapoints[p].value,s:t.value.style.chart.yAxis.labels.suffixes[p]||"",r:t.value.style.chart.yAxis.labels.roundings[p]||""}),{datapoint:a.datapoints[p],seriesIndex:p})}
6
6
  </span>
7
7
  </div>
8
- `,t.value.style.chart.comments.showInTooltip&&a.datapoints[v].comment&&(s+=`<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[v].comment}</div>`)}),E.value=`<div>${s}</div>`)}function ke(){return k.value}const $=e.computed(()=>{const l=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name)),o=M.value.flatMap((r,s)=>r.series.map(u=>[r.name].concat([u.name]).concat(u.values))),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},n=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name));return{body:o,head:l,config:a,colNames:n}}),ae=e.computed(()=>M.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:$.value.head,body:$.value.body});function oe(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=ae.value.head,a=ae.value.body,n=l.concat([o]).concat(a),r=i.createCsvContent(n);i.downloadCsv({csvContent:r,title:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"})}function xe(l){L("selectDatapoint",l)}function ne(l){L("selectLegend",{...l,isSegregated:!l.isSegregated,opacity:l.isSegregated?1:.5})}function se(){h.value.showTable=!h.value.showTable}function re(){h.value.dataLabels.show=!h.value.dataLabels.show}function ie(){h.value.showTooltip=!h.value.showTooltip}const N=e.ref(!1);function I(){N.value=!N.value}return pe({getData:ke,generateCsv:oe,generatePdf:Q,generateImage:Z,toggleTable:se,toggleLabels:re,toggleTooltip:ie,toggleAnnotator:I}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"pcpChart",ref:C,class:e.normalizeClass(`vue-ui-pcp ${w.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`pcp_${T.value}`,onMouseenter:o[6]||(o[6]=()=>e.unref(H)(!0)),onMouseleave:o[7]||(o[7]=()=>e.unref(H)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:C.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:N.value,onClose:I},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ye.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:U,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:O,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Be._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"pcp-div-title",...t.value.style.chart.title},subtitle:{cy:"pcp-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value&&(e.unref(G)||e.unref(P))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_options_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(J),isImaging:e.unref(K),uid:T.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:w.value,isTooltip:h.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:N.value,onToggleFullscreen:me,onGeneratePdf:e.unref(Q),onGenerateCsv:oe,onGenerateImage:e.unref(Z),onToggleTable:se,onToggleLabels:re,onToggleTooltip:ie,onToggleAnnotator:I,style:e.normalizeStyle({visibility:e.unref(G)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":w.value,"vue-data-ui-fulscreen--off":!w.value}),viewBox:`0 0 ${c.value.chartWidth<=0?10:c.value.chartWidth} ${c.value.chartHeight<=0?10:c.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Pe._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:c.value.left,y:c.value.top,width:c.value.width,height:c.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Le)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",Ve,[e.createElementVNode("line",{x1:c.value.left+y.value*n+y.value/2,x2:c.value.left+y.value*n+y.value/2,y1:c.value.top,y2:c.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Oe),e.createElementVNode("text",{x:c.value.left+y.value*n+y.value/2,y:c.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":d.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,De),t.value.style.chart.yAxis.labels.ticks.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("line",{x1:r.x,x2:r.x-10,y1:r.y,y2:r.y,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth,style:e.normalizeStyle(`opacity:${p.value&&!h.value.showTooltip?.2:1}`)},null,12,qe))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("text",{x:r.x-12+t.value.style.chart.yAxis.labels.ticks.offsetX,y:r.y+t.value.style.chart.yAxis.labels.ticks.offsetY+d.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":d.value.ticksFontSize,"font-weight":t.value.style.chart.yAxis.labels.ticks.bold?"bold":"normal",style:e.normalizeStyle(`opacity:${p.value&&!h.value.showTooltip?.2:1}`)},e.toDisplayString(le({value:r.value,index:n,datapoint:r})),13,Ue))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,a=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.series,(n,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.plots.show?(e.openBlock(),e.createElementBlock("g",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.datapoints,s=>(e.openBlock(),e.createBlock(ze._sfc_main,{plot:{x:s.x,y:s.y},color:a.color,shape:a.shape,radius:a.shape==="triangle"?d.value.plotSize*1.2:d.value.plotSize,stroke:t.value.style.chart.backgroundColor,strokeWidth:.5,onMouseenter:u=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[0]||(o[0]=u=>{p.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?t.value.style.chart.plots.opacity:.2:t.value.style.chart.plots.opacity}`),onClick:()=>xe(s)},null,8,["plot","color","shape","radius","stroke","onMouseenter","style","onClick"]))),256)),h.value.showTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[p.value&&p.value===n.id&&n.datapoints.length?(e.openBlock(),e.createElementBlock("text",{key:0,x:n.datapoints[0].x-d.value.ticksFontSize,y:n.datapoints[0].y+d.value.ticksFontSize/3,"text-anchor":"end","font-size":d.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,We)):e.createCommentVNode("",!0)],64)),t.value.style.chart.comments.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,s=>(e.openBlock(),e.createElementBlock("g",null,[s.comment?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,style:{overflow:"visible"},height:"12",width:t.value.style.chart.comments.width,x:s.x-t.value.style.chart.comments.width/2+t.value.style.chart.comments.offsetX,y:s.y+t.value.style.chart.comments.offsetY+6},[e.createElementVNode("div",He,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,je)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),h.value.dataLabels.show||p.value&&p.value===n.id?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,(s,u)=>(e.openBlock(),e.createElementBlock("text",{x:s.x+12+t.value.style.chart.yAxis.labels.datapoints.offsetX,y:s.y+t.value.style.chart.yAxis.labels.datapoints.offsetY+d.value.datapointFontSize/3,fill:t.value.style.chart.yAxis.labels.datapoints.useSerieColor?a.color:t.value.style.chart.yAxis.labels.datapoints.color,"text-anchor":"start","font-weight":t.value.style.chart.yAxis.labels.datapoints.bold?"bold":"normal",class:e.normalizeClass({"vue-ui-pcp-animated":!1,"vue-ui-pcp-transition":!0}),"font-size":d.value.datapointFontSize,onMouseenter:g=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[1]||(o[1]=g=>{p.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?1:.2:1}`)},e.toDisplayString(le({value:s.value,index:u,datapoint:s})),45,Ge))),256)):e.createCommentVNode("",!0),e.createElementVNode("path",{d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:a.color,"stroke-width":t.value.style.chart.lines.strokeWidth,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[2]||(o[2]=s=>{p.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?t.value.style.chart.lines.opacity:.2:t.value.style.chart.lines.opacity}; stroke-dasharray:${n.pathLength}; stroke-dashoffset: ${t.value.useCssAnimation?n.pathLength:0}`)},null,46,Ye),h.value.showTooltip?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:"transparent","stroke-width":12,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[3]||(o[3]=s=>{p.value=null,B.value=!1}),style:{opacity:"0"}},null,42,Xe)):e.createCommentVNode("",!0)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:c.value},void 0,!0)],14,Ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(J)||e.unref(K)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Te.default,{key:6,config:{type:"parallelCoordinatePlot",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:D},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock($e.Legend,{key:`legend_${W.value}`,legendSet:ge.value,config:be.value,onClickMarker:o[4]||(o[4]=({legend:a})=>{ee(a.id),ne(a)})},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:r=>{a.segregate(),ne(a)},style:e.normalizeStyle(`opacity:${f.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,Ke)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:q,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Se._sfc_main,{show:h.value.showTooltip&&B.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:E.value,isFullscreen:w.value,isCustom:e.unref(i.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),x.value?(e.openBlock(),e.createBlock(Ae.default,{key:8,hideDetails:"",config:{open:h.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Ne.DataTable,{key:`table_${j.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[5]||(o[5]=a=>h.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,Qe)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ee))}},et=_e._export_sfc(Ze,[["__scopeId","data-v-4a1f702c"]]);exports.default=et;
8
+ `,t.value.style.chart.comments.showInTooltip&&a.datapoints[p].comment&&(s+=`<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[p].comment}</div>`)}),E.value=`<div>${s}</div>`)}function ke(){return k.value}const $=e.computed(()=>{const l=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name)),o=M.value.flatMap((r,s)=>r.series.map(u=>[r.name].concat([u.name]).concat(u.values))),a={th:{backgroundColor:t.value.table.th.backgroundColor,color:t.value.table.th.color,outline:t.value.table.th.outline},td:{backgroundColor:t.value.table.td.backgroundColor,color:t.value.table.td.color,outline:t.value.table.td.outline},breakpoint:t.value.table.responsiveBreakpoint},n=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(m.value.map(r=>r.name));return{body:o,head:l,config:a,colNames:n}}),ae=e.computed(()=>M.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:$.value.head,body:$.value.body});function oe(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=ae.value.head,a=ae.value.body,n=l.concat([o]).concat(a),r=i.createCsvContent(n);i.downloadCsv({csvContent:r,title:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"})}function xe(l){L("selectDatapoint",l)}function ne(l){L("selectLegend",{...l,isSegregated:!l.isSegregated,opacity:l.isSegregated?1:.5})}function se(){v.value.showTable=!v.value.showTable}function re(){v.value.dataLabels.show=!v.value.dataLabels.show}function ie(){v.value.showTooltip=!v.value.showTooltip}const N=e.ref(!1);function I(){N.value=!N.value}return pe({getData:ke,generateCsv:oe,generatePdf:Q,generateImage:Z,toggleTable:se,toggleLabels:re,toggleTooltip:ie,toggleAnnotator:I}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"pcpChart",ref:C,class:e.normalizeClass(`vue-ui-pcp ${w.value?"vue-data-ui-wrapper-fullscreen":""} ${t.value.useCssAnimation?"":"vue-ui-dna"}`),style:e.normalizeStyle(`font-family:${t.value.style.fontFamily};width:100%; text-align:center;background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`pcp_${T.value}`,onMouseenter:o[6]||(o[6]=()=>e.unref(H)(!0)),onMouseleave:o[7]||(o[7]=()=>e.unref(H)(!1))},[t.value.userOptions.buttons.annotator?(e.openBlock(),e.createBlock(Fe.PenAndPaper,{key:0,parent:C.value,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,active:N.value,onClose:I},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ye.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:U,class:"vue-data-ui-no-title-space",style:"height:36px; width: 100%;background:transparent"},null,512)):e.createCommentVNode("",!0),t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"chartTitle",ref:O,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Be._sfc_main,{key:`title_${R.value}`,config:{title:{cy:"pcp-div-title",...t.value.style.chart.title},subtitle:{cy:"pcp-div-subtitle",...t.value.style.chart.title.subtitle}}},null,8,["config"]))],512)):e.createCommentVNode("",!0),t.value.userOptions.show&&x.value&&(e.unref(G)||e.unref(P))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_options_${V.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(J),isImaging:e.unref(K),uid:T.value,hasTooltip:t.value.userOptions.buttons.tooltip&&t.value.style.chart.tooltip.show,hasPdf:t.value.userOptions.buttons.pdf,hasXls:t.value.userOptions.buttons.csv,hasImg:t.value.userOptions.buttons.img,hasTable:t.value.userOptions.buttons.table,hasLabel:t.value.userOptions.buttons.labels,hasFullscreen:t.value.userOptions.buttons.fullscreen,isFullscreen:w.value,isTooltip:v.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:C.value,position:t.value.userOptions.position,hasAnnotator:t.value.userOptions.buttons.annotator,isAnnotation:N.value,onToggleFullscreen:me,onGeneratePdf:e.unref(Q),onGenerateCsv:oe,onGenerateImage:e.unref(Z),onToggleTable:se,onToggleLabels:re,onToggleTooltip:ie,onToggleAnnotator:I,style:e.normalizeStyle({visibility:e.unref(G)?e.unref(P)?"visible":"hidden":"visible"})},e.createSlots({_:2},[l.$slots.optionPdf?{name:"optionPdf",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionPdf",{},void 0,!0)]),key:"0"}:void 0,l.$slots.optionCsv?{name:"optionCsv",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionCsv",{},void 0,!0)]),key:"1"}:void 0,l.$slots.optionImg?{name:"optionImg",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionImg",{},void 0,!0)]),key:"2"}:void 0,l.$slots.optionTable?{name:"optionTable",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionTable",{},void 0,!0)]),key:"3"}:void 0,l.$slots.optionLabels?{name:"optionLabels",fn:e.withCtx(()=>[e.renderSlot(l.$slots,"optionLabels",{},void 0,!0)]),key:"4"}:void 0,l.$slots.optionFullscreen?{name:"optionFullscreen",fn:e.withCtx(({toggleFullscreen:a,isFullscreen:n})=>[e.renderSlot(l.$slots,"optionFullscreen",e.normalizeProps(e.guardReactiveProps({toggleFullscreen:a,isFullscreen:n})),void 0,!0)]),key:"5"}:void 0,l.$slots.optionAnnotator?{name:"optionAnnotator",fn:e.withCtx(({toggleAnnotator:a,isAnnotator:n})=>[e.renderSlot(l.$slots,"optionAnnotator",e.normalizeProps(e.guardReactiveProps({toggleAnnotator:a,isAnnotator:n})),void 0,!0)]),key:"6"}:void 0]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","hasAnnotator","isAnnotation","onGeneratePdf","onGenerateImage","style"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:4,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":w.value,"vue-data-ui-fulscreen--off":!w.value}),viewBox:`0 0 ${c.value.chartWidth<=0?10:c.value.chartWidth} ${c.value.chartHeight<=0?10:c.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Pe._sfc_main),l.$slots["chart-background"]?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,x:c.value.left,y:c.value.top,width:c.value.width,height:c.value.height,style:{pointerEvents:"none"}},[e.renderSlot(l.$slots,"chart-background",{},void 0,!0)],8,Le)):e.createCommentVNode("",!0),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",Ve,[e.createElementVNode("line",{x1:c.value.left+y.value*n+y.value/2,x2:c.value.left+y.value*n+y.value/2,y1:c.value.top,y2:c.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Oe),e.createElementVNode("text",{x:c.value.left+y.value*n+y.value/2,y:c.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":d.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,De),t.value.style.chart.yAxis.labels.ticks.show?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("line",{x1:r.x,x2:r.x-10,y1:r.y,y2:r.y,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth,style:e.normalizeStyle(`opacity:${h.value&&!v.value.showTooltip?.2:1}`)},null,12,qe))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.ticks,r=>(e.openBlock(),e.createElementBlock("text",{x:r.x-12+t.value.style.chart.yAxis.labels.ticks.offsetX,y:r.y+t.value.style.chart.yAxis.labels.ticks.offsetY+d.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":d.value.ticksFontSize,"font-weight":t.value.style.chart.yAxis.labels.ticks.bold?"bold":"normal",style:e.normalizeStyle(`opacity:${h.value&&!v.value.showTooltip?.2:1}`)},e.toDisplayString(le({value:r.value,index:n,datapoint:r})),13,Ue))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,a=>(e.openBlock(),e.createElementBlock("g",null,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a.series,(n,r)=>(e.openBlock(),e.createElementBlock("g",null,[t.value.style.chart.plots.show?(e.openBlock(),e.createElementBlock("g",Re,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.datapoints,s=>(e.openBlock(),e.createBlock(ze._sfc_main,{plot:{x:s.x,y:s.y},color:a.color,shape:a.shape,radius:a.shape==="triangle"?d.value.plotSize*1.2:d.value.plotSize,stroke:t.value.style.chart.backgroundColor,strokeWidth:.5,onMouseenter:u=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[0]||(o[0]=u=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?t.value.style.chart.plots.opacity:.2:t.value.style.chart.plots.opacity}`),onClick:()=>xe(s)},null,8,["plot","color","shape","radius","stroke","onMouseenter","style","onClick"]))),256)),v.value.showTooltip?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[h.value&&h.value===n.id&&n.datapoints.length?(e.openBlock(),e.createElementBlock("text",{key:0,x:n.datapoints[0].x-d.value.ticksFontSize,y:n.datapoints[0].y+d.value.ticksFontSize/3,"text-anchor":"end","font-size":d.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,We)):e.createCommentVNode("",!0)],64)),t.value.style.chart.comments.show?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,s=>(e.openBlock(),e.createElementBlock("g",null,[s.comment?(e.openBlock(),e.createElementBlock("foreignObject",{key:0,style:{overflow:"visible"},height:"12",width:t.value.style.chart.comments.width,x:s.x-t.value.style.chart.comments.width/2+t.value.style.chart.comments.offsetX,y:s.y+t.value.style.chart.comments.offsetY+6},[e.createElementVNode("div",He,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,je)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),v.value.dataLabels.show||h.value&&h.value===n.id?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:1},e.renderList(n.datapoints,(s,u)=>(e.openBlock(),e.createElementBlock("text",{x:s.x+12+t.value.style.chart.yAxis.labels.datapoints.offsetX,y:s.y+t.value.style.chart.yAxis.labels.datapoints.offsetY+d.value.datapointFontSize/3,fill:t.value.style.chart.yAxis.labels.datapoints.useSerieColor?a.color:t.value.style.chart.yAxis.labels.datapoints.color,"text-anchor":"start","font-weight":t.value.style.chart.yAxis.labels.datapoints.bold?"bold":"normal",class:e.normalizeClass({"vue-ui-pcp-animated":!1,"vue-ui-pcp-transition":!0}),"font-size":d.value.datapointFontSize,onMouseenter:g=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[1]||(o[1]=g=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?1:.2:1}`)},e.toDisplayString(le({value:s.value,index:u,datapoint:s})),45,Ge))),256)):e.createCommentVNode("",!0),e.createElementVNode("path",{d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:a.color,"stroke-width":t.value.style.chart.lines.strokeWidth,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[2]||(o[2]=s=>{h.value=null,B.value=!1}),style:e.normalizeStyle(`opacity:${h.value?h.value===n.id?t.value.style.chart.lines.opacity:.2:t.value.style.chart.lines.opacity}; stroke-dasharray:${n.pathLength}; stroke-dashoffset: ${t.value.useCssAnimation?n.pathLength:0}`)},null,46,Ye),v.value.showTooltip?(e.openBlock(),e.createElementBlock("path",{key:2,d:`M${t.value.style.chart.lines.smooth?n.smoothPath:n.straightPath}`,stroke:"transparent","stroke-width":12,fill:"none",class:e.normalizeClass({"vue-ui-pcp-animated vue-data-ui-line-animated":t.value.useCssAnimation,"vue-ui-pcp-transition":!0}),onMouseenter:s=>z({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[3]||(o[3]=s=>{h.value=null,B.value=!1}),style:{opacity:"0"}},null,42,Xe)):e.createCommentVNode("",!0)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:c.value},void 0,!0)],14,Ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Je,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(J)||e.unref(K)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Te.default,{key:6,config:{type:"parallelCoordinatePlot",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:D},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock($e.Legend,{key:`legend_${W.value}`,legendSet:ge.value,config:be.value,onClickMarker:o[4]||(o[4]=({legend:a})=>{ee(a.id),ne(a)})},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:r=>{a.segregate(),ne(a)},style:e.normalizeStyle(`opacity:${f.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,Ke)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),l.$slots.source?(e.openBlock(),e.createElementBlock("div",{key:7,ref_key:"source",ref:q,dir:"auto"},[e.renderSlot(l.$slots,"source",{},void 0,!0)],512)):e.createCommentVNode("",!0),e.createVNode(Se._sfc_main,{show:v.value.showTooltip&&B.value,backgroundColor:t.value.style.chart.tooltip.backgroundColor,color:t.value.style.chart.tooltip.color,fontSize:t.value.style.chart.tooltip.fontSize,borderRadius:t.value.style.chart.tooltip.borderRadius,borderColor:t.value.style.chart.tooltip.borderColor,borderWidth:t.value.style.chart.tooltip.borderWidth,backgroundOpacity:t.value.style.chart.tooltip.backgroundOpacity,position:t.value.style.chart.tooltip.position,offsetY:t.value.style.chart.tooltip.offsetY,parent:C.value,content:E.value,isFullscreen:w.value,isCustom:e.unref(i.isFunction)(t.value.style.chart.tooltip.customFormat)},{"tooltip-before":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-before",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({..._.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isFullscreen","isCustom"]),x.value?(e.openBlock(),e.createBlock(Ae.default,{key:8,hideDetails:"",config:{open:v.value.showTable,maxHeight:1e4,body:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color},head:{backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color}}},{content:e.withCtx(()=>[(e.openBlock(),e.createBlock(Ne.DataTable,{key:`table_${j.value}`,colNames:$.value.colNames,head:$.value.head,body:$.value.body,config:$.value.config,title:`${t.value.style.chart.title.text}${t.value.style.chart.title.subtitle.text?` : ${t.value.style.chart.title.subtitle.text}`:""}`,onClose:o[5]||(o[5]=a=>v.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,Qe)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],46,Ee))}},et=_e._export_sfc(Ze,[["__scopeId","data-v-f6a4ecb2"]]);exports.default=et;