vue-data-ui 2.4.51 → 2.4.52

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 (178) hide show
  1. package/dist/{Arrow-BUz63pb2.js → Arrow-BuBoE64l.js} +1 -1
  2. package/dist/{Arrow-2a_SwBgz.cjs → Arrow-CFlFdPC5.cjs} +1 -1
  3. package/dist/{BaseIcon-BASl_NFX.cjs → BaseIcon-CfhoS_qC.cjs} +1 -1
  4. package/dist/{BaseIcon-CmiukQBl.js → BaseIcon-zmxwsaLW.js} +1 -1
  5. package/dist/{DataTable-DGf6RrOJ.js → DataTable-COkA4Nyz.js} +2 -2
  6. package/dist/{DataTable-G3ICK-5h.cjs → DataTable-CwAdpLng.cjs} +1 -1
  7. package/dist/{Legend-BiuPlEMg.cjs → Legend-CR9ydX8N.cjs} +1 -1
  8. package/dist/{Legend-BLaZxMge.js → Legend-bYlSC7I7.js} +1 -1
  9. package/dist/{PackageVersion-Bj34UNnQ.cjs → PackageVersion-C1F3QLoY.cjs} +1 -1
  10. package/dist/{PackageVersion-CxJghxYD.js → PackageVersion-Dz3KcTL4.js} +1 -1
  11. package/dist/{PenAndPaper-ZdZEumki.js → PenAndPaper-BycdTwSP.js} +3 -3
  12. package/dist/{PenAndPaper-D9yQnc0e.cjs → PenAndPaper-DDheVRNG.cjs} +1 -1
  13. package/dist/{Shape-yducHWd0.cjs → Shape-BBp5EwJH.cjs} +1 -1
  14. package/dist/{Shape-DIKzzpFm.js → Shape-BDJJ38uM.js} +1 -1
  15. package/dist/{Slicer-BHS9W4MJ.cjs → Slicer-7oTpm-cZ.cjs} +1 -1
  16. package/dist/{Slicer-Cxdl3cDt.js → Slicer-D_DaIThC.js} +2 -2
  17. package/dist/{Title-Bk_55doC.cjs → Title-B7ruS8yl.cjs} +1 -1
  18. package/dist/{Title-aSAft5dl.js → Title-aMb2ETf7.js} +1 -1
  19. package/dist/{Tooltip-smutPF--.js → Tooltip-BRZ3DT4p.js} +1 -1
  20. package/dist/{Tooltip-G7ENx87_.cjs → Tooltip-BqSN71SL.cjs} +1 -1
  21. package/dist/{index-DhDYBLBe.cjs → index-BkXYJDpD.cjs} +1 -1
  22. package/dist/{index-BbPeL8Gp.js → index-K5uyh1gA.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/{useNestedProp-BphUExEh.cjs → useNestedProp-C6IvqE-r.cjs} +1 -1
  25. package/dist/{useNestedProp-BN8claGG.js → useNestedProp-DifqJZAs.js} +1 -1
  26. package/dist/{usePrinter-2_QjJFdH.cjs → usePrinter-DHv-BwME.cjs} +1 -1
  27. package/dist/{usePrinter-DaybDVqP.js → usePrinter-p_ZZlGc9.js} +1 -1
  28. package/dist/{vue-data-ui-Ckbp-yIf.js → vue-data-ui-3PlAeIlX.js} +60 -60
  29. package/dist/{vue-data-ui-C5vsHRHD.cjs → vue-data-ui-M0E2b8Dw.cjs} +1 -1
  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-wDYs3sVe.js → vue-ui-3d-bar-PrijRaoI.js} +30 -30
  33. package/dist/{vue-ui-3d-bar-DUgumRsg.cjs → vue-ui-3d-bar-VQyMytda.cjs} +2 -2
  34. package/dist/{vue-ui-accordion-5d5iVpr7.js → vue-ui-accordion-CsJT7Az3.js} +3 -3
  35. package/dist/{vue-ui-accordion-B7tNzRWB.cjs → vue-ui-accordion-kr18wKfc.cjs} +1 -1
  36. package/dist/vue-ui-age-pyramid-BV1MgH8J.cjs +1 -0
  37. package/dist/{vue-ui-age-pyramid-BH1khaaq.js → vue-ui-age-pyramid-DFYykOow.js} +42 -42
  38. package/dist/{vue-ui-annotator-B9VKE_qz.js → vue-ui-annotator-Blg3LdqF.js} +1 -1
  39. package/dist/{vue-ui-annotator-jXkB5XnD.cjs → vue-ui-annotator-DffUZR4a.cjs} +1 -1
  40. package/dist/vue-ui-bullet-DSampkai.cjs +34 -0
  41. package/dist/{vue-ui-bullet-BLi9CSZw.js → vue-ui-bullet-Ybz4qPWl.js} +41 -41
  42. package/dist/{vue-ui-candlestick-Da4ygGXR.cjs → vue-ui-candlestick-BxcwK8UI.cjs} +2 -2
  43. package/dist/{vue-ui-candlestick-Bjz1uFbv.js → vue-ui-candlestick-DsVBdCz_.js} +61 -61
  44. package/dist/{vue-ui-carousel-table-B6zgTL-W.js → vue-ui-carousel-table-C2ThrWYt.js} +50 -50
  45. package/dist/vue-ui-carousel-table-DkWNe0mJ.cjs +1 -0
  46. package/dist/{vue-ui-chestnut-D5HpkuIa.js → vue-ui-chestnut-BacH0ZYK.js} +66 -66
  47. package/dist/{vue-ui-chestnut-C_N7EbjQ.cjs → vue-ui-chestnut-Cw8LKuZG.cjs} +3 -3
  48. package/dist/{vue-ui-cursor-DZNIbvR2.js → vue-ui-cursor-CMKSCQ-v.js} +2 -2
  49. package/dist/{vue-ui-cursor-A_siHYBc.cjs → vue-ui-cursor-D2kQNFWy.cjs} +1 -1
  50. package/dist/{vue-ui-dashboard-DCqe4BZg.js → vue-ui-dashboard-9PYl4mWC.js} +2 -2
  51. package/dist/{vue-ui-dashboard-BfPJyiY9.cjs → vue-ui-dashboard-BHwlhK33.cjs} +1 -1
  52. package/dist/{vue-ui-digits-BEhLa3jI.cjs → vue-ui-digits-2yacgzrJ.cjs} +1 -1
  53. package/dist/{vue-ui-digits-BEWCnojc.js → vue-ui-digits-CyTjq_oN.js} +2 -2
  54. package/dist/vue-ui-donut-BNv1eGiu.cjs +1 -0
  55. package/dist/{vue-ui-donut-g5ZLhYPx.js → vue-ui-donut-BxLlCBhU.js} +57 -57
  56. package/dist/{vue-ui-donut-evolution-Cu6dmlT2.js → vue-ui-donut-evolution-Bw9hfwuO.js} +66 -66
  57. package/dist/vue-ui-donut-evolution-DGjHfyq8.cjs +1 -0
  58. package/dist/vue-ui-dumbbell-CjHcgzti.cjs +9 -0
  59. package/dist/{vue-ui-dumbbell-bb4-Ep6o.js → vue-ui-dumbbell-D0PjpD19.js} +46 -46
  60. package/dist/{vue-ui-flow-hD0F6mTK.js → vue-ui-flow-BuTJcn6b.js} +43 -43
  61. package/dist/vue-ui-flow-Dc-KV4a3.cjs +1 -0
  62. package/dist/{vue-ui-funnel-hcbE4yky.js → vue-ui-funnel-CxO1aav3.js} +59 -59
  63. package/dist/vue-ui-funnel-QQGqK4OD.cjs +1 -0
  64. package/dist/{vue-ui-galaxy-ByKjxVWV.js → vue-ui-galaxy-B2uwYVgz.js} +54 -54
  65. package/dist/vue-ui-galaxy-CABgAX76.cjs +1 -0
  66. package/dist/vue-ui-gauge-CTEPbzWe.cjs +1 -0
  67. package/dist/{vue-ui-gauge-PGirbe6O.js → vue-ui-gauge-CqhJx__t.js} +70 -70
  68. package/dist/{vue-ui-gizmo-ChSfBYZ_.js → vue-ui-gizmo-D7G-8Al-.js} +3 -3
  69. package/dist/{vue-ui-gizmo-CHMApil6.cjs → vue-ui-gizmo-DlQOItIS.cjs} +1 -1
  70. package/dist/vue-ui-heatmap-BOwY6qNR.cjs +1 -0
  71. package/dist/{vue-ui-heatmap-CK3FIWpo.js → vue-ui-heatmap-DLNzJh--.js} +87 -87
  72. package/dist/{vue-ui-history-plot-EmQ-Byiz.js → vue-ui-history-plot-CH2mN74k.js} +75 -75
  73. package/dist/vue-ui-history-plot-EiYWpITj.cjs +1 -0
  74. package/dist/{vue-ui-kpi-DjC68pSz.js → vue-ui-kpi-Cb3fLQlS.js} +3 -3
  75. package/dist/{vue-ui-kpi-BdungaO2.cjs → vue-ui-kpi-DB00TrXv.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-CzrblCCD.js → vue-ui-mini-loader-Czn2u6m3.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-jwL_pZjb.cjs → vue-ui-mini-loader-DAaZwOTE.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-DBQJQs4Y.js → vue-ui-molecule-BAwzIU19.js} +52 -52
  79. package/dist/vue-ui-molecule-DZ6Z4eru.cjs +1 -0
  80. package/dist/vue-ui-mood-radar-BL3vQzMq.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-Ca9wPZpJ.js → vue-ui-mood-radar-BXOWHB57.js} +35 -35
  82. package/dist/{vue-ui-nested-donuts-DEdS6dpj.cjs → vue-ui-nested-donuts-D1EF5IEw.cjs} +2 -2
  83. package/dist/{vue-ui-nested-donuts-C8at93dN.js → vue-ui-nested-donuts-F1pwFa1Y.js} +90 -90
  84. package/dist/{vue-ui-onion-B-PXxNu6.js → vue-ui-onion-C9dEaRbc.js} +52 -52
  85. package/dist/{vue-ui-onion-B2ioudP5.cjs → vue-ui-onion-nA8sXxh-.cjs} +2 -2
  86. package/dist/{vue-ui-parallel-coordinate-plot-ByM3So9k.js → vue-ui-parallel-coordinate-plot-Cgc8JHMy.js} +62 -62
  87. package/dist/{vue-ui-parallel-coordinate-plot-DtJi9cT0.cjs → vue-ui-parallel-coordinate-plot-DL4DOhyh.cjs} +2 -2
  88. package/dist/{vue-ui-quadrant-BqOJBcsI.js → vue-ui-quadrant-C_hJHr9T.js} +50 -50
  89. package/dist/vue-ui-quadrant-DJGxKeBq.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-Bt9KA82P.cjs → vue-ui-quick-chart-C5v_8Kpw.cjs} +1 -1
  91. package/dist/{vue-ui-quick-chart-BfXxT3KM.js → vue-ui-quick-chart-D4k-zSan.js} +9 -9
  92. package/dist/vue-ui-radar-BeGVGueh.cjs +1 -0
  93. package/dist/{vue-ui-radar-BKpD9xDr.js → vue-ui-radar-WKQ-TavD.js} +59 -59
  94. package/dist/{vue-ui-rating-DQRuqev5.js → vue-ui-rating-BrSnMkzF.js} +2 -2
  95. package/dist/{vue-ui-rating-BE545aI4.cjs → vue-ui-rating-DI3L8UYN.cjs} +1 -1
  96. package/dist/vue-ui-relation-circle-BJ_TOhIp.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-nZ2nBpWX.js → vue-ui-relation-circle-DzZ5H4og.js} +56 -56
  98. package/dist/{vue-ui-rings-B7JzZ3ub.cjs → vue-ui-rings-1qwg2E0O.cjs} +2 -2
  99. package/dist/{vue-ui-rings-C1PV0873.js → vue-ui-rings-43dY-4_7.js} +65 -65
  100. package/dist/vue-ui-scatter-cTK10i0K.cjs +1 -0
  101. package/dist/{vue-ui-scatter-dgs1m3-2.js → vue-ui-scatter-q6Sfqa4W.js} +102 -102
  102. package/dist/{vue-ui-screenshot-Dxj0l8Jg.js → vue-ui-screenshot-CEy169Mc.js} +1 -1
  103. package/dist/{vue-ui-screenshot--cHV0jG3.cjs → vue-ui-screenshot-gOGGT_ti.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-lkPDknHn.cjs → vue-ui-skeleton-BTN1PKkz.cjs} +1 -1
  105. package/dist/{vue-ui-skeleton-Bniq21d9.js → vue-ui-skeleton-BhA2lIT6.js} +3 -3
  106. package/dist/{vue-ui-smiley-D4DAZIpA.js → vue-ui-smiley-BAFdctGJ.js} +2 -2
  107. package/dist/{vue-ui-smiley-CozXoiti.cjs → vue-ui-smiley-BIEXWWWa.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-ZqrwhwqS.js → vue-ui-spark-trend-Deg6oJxD.js} +5 -5
  109. package/dist/{vue-ui-spark-trend-CSqyvI_K.cjs → vue-ui-spark-trend-LqnAP3mZ.cjs} +1 -1
  110. package/dist/{vue-ui-sparkbar-Bph8KIjk.cjs → vue-ui-sparkbar-CJR8pSqp.cjs} +1 -1
  111. package/dist/{vue-ui-sparkbar-q0G4GvFm.js → vue-ui-sparkbar-Dm393iij.js} +4 -4
  112. package/dist/{vue-ui-sparkgauge-nSAW83dN.cjs → vue-ui-sparkgauge-DpP1XF6C.cjs} +1 -1
  113. package/dist/{vue-ui-sparkgauge-DA_h9jcN.js → vue-ui-sparkgauge-WTo7H8eC.js} +4 -4
  114. package/dist/{vue-ui-sparkhistogram-BLYhRNpt.cjs → vue-ui-sparkhistogram-CEvdVaLZ.cjs} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-B1WyBiq_.js → vue-ui-sparkhistogram-DNVBeCU9.js} +5 -5
  116. package/dist/{vue-ui-sparkline-PNix1-R9.cjs → vue-ui-sparkline-B87AKRMY.cjs} +1 -1
  117. package/dist/{vue-ui-sparkline-ccfl0s3m.js → vue-ui-sparkline-Bcn_JAfC.js} +4 -4
  118. package/dist/{vue-ui-sparkstackbar-DpuvEumy.cjs → vue-ui-sparkstackbar-Cmafq74u.cjs} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-PNKwVRu8.js → vue-ui-sparkstackbar-DPPTp1Tm.js} +5 -5
  120. package/dist/{vue-ui-stackbar-BBYnF8qm.js → vue-ui-stackbar-BeXW23yH.js} +43 -43
  121. package/dist/vue-ui-stackbar-DeFiDh8a.cjs +6 -0
  122. package/dist/vue-ui-strip-plot-5n6Om5PH.cjs +1 -0
  123. package/dist/{vue-ui-strip-plot-TVlnzXFq.js → vue-ui-strip-plot-CG-wp65N.js} +78 -78
  124. package/dist/{vue-ui-table-CHdv3KuM.cjs → vue-ui-table-Bbfdq7B8.cjs} +1 -1
  125. package/dist/{vue-ui-table-CsEajH9S.js → vue-ui-table-BzuWkWse.js} +1 -1
  126. package/dist/vue-ui-table-heatmap--Uj5nFcF.cjs +1 -0
  127. package/dist/{vue-ui-table-heatmap-CubRipoB.js → vue-ui-table-heatmap-obAYC2HB.js} +38 -38
  128. package/dist/vue-ui-table-sparkline-Buh41Ovt.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-YV8DUOqh.js → vue-ui-table-sparkline-CW0-ubzl.js} +293 -247
  130. package/dist/{vue-ui-thermometer-DmMjSLc1.js → vue-ui-thermometer-BmgPuIr6.js} +74 -74
  131. package/dist/vue-ui-thermometer-DW10BlzG.cjs +1 -0
  132. package/dist/{vue-ui-timer-DvE_nqd9.js → vue-ui-timer-6eWSNYld.js} +5 -5
  133. package/dist/{vue-ui-timer-DteYgv9y.cjs → vue-ui-timer-CKp_yNVJ.cjs} +1 -1
  134. package/dist/{vue-ui-tiremarks-CCrkDgjX.js → vue-ui-tiremarks-DeEI5TAa.js} +46 -46
  135. package/dist/vue-ui-tiremarks-nb8r7akm.cjs +1 -0
  136. package/dist/vue-ui-treemap-B54QUZ46.cjs +1 -0
  137. package/dist/{vue-ui-treemap-C4A4spvg.js → vue-ui-treemap-tlPZye6M.js} +91 -91
  138. package/dist/{vue-ui-vertical-bar-8iL1xiaz.js → vue-ui-vertical-bar-BIst1a32.js} +67 -67
  139. package/dist/{vue-ui-vertical-bar-B60lSXNq.cjs → vue-ui-vertical-bar-CCXF79YU.cjs} +2 -2
  140. package/dist/vue-ui-waffle-Dctw-uNI.cjs +1 -0
  141. package/dist/{vue-ui-waffle-CaYNz-Kd.js → vue-ui-waffle-iJT4g4Ht.js} +48 -48
  142. package/dist/vue-ui-wheel-DnCpgZZo.cjs +1 -0
  143. package/dist/{vue-ui-wheel-BRR2rGou.js → vue-ui-wheel-v1_jsNWp.js} +36 -36
  144. package/dist/vue-ui-word-cloud-BXa6XzUJ.cjs +1 -0
  145. package/dist/{vue-ui-word-cloud-y2GGxwoq.js → vue-ui-word-cloud-DR8E1ArH.js} +66 -66
  146. package/dist/{vue-ui-xy-CXoWP8bh.js → vue-ui-xy-BZ3lbw6i.js} +14 -14
  147. package/dist/{vue-ui-xy-CbM75yXK.cjs → vue-ui-xy-CvFWhRR-.cjs} +1 -1
  148. package/dist/{vue-ui-xy-canvas-DWvIvSry.cjs → vue-ui-xy-canvas-BVw3zOIC.cjs} +2 -2
  149. package/dist/{vue-ui-xy-canvas-D7MrUJj7.js → vue-ui-xy-canvas-hPcU2SBK.js} +53 -53
  150. package/package.json +1 -1
  151. package/dist/vue-ui-age-pyramid-Dxx1mVwR.cjs +0 -1
  152. package/dist/vue-ui-bullet-QrXtipbT.cjs +0 -34
  153. package/dist/vue-ui-carousel-table-Cfif8Oiz.cjs +0 -1
  154. package/dist/vue-ui-donut-By3QRfkV.cjs +0 -1
  155. package/dist/vue-ui-donut-evolution-DEABWsj0.cjs +0 -1
  156. package/dist/vue-ui-dumbbell-Dfb1l5qP.cjs +0 -9
  157. package/dist/vue-ui-flow-CCvTnu7z.cjs +0 -1
  158. package/dist/vue-ui-funnel-DKxAPRi_.cjs +0 -1
  159. package/dist/vue-ui-galaxy-D2kmqwpI.cjs +0 -1
  160. package/dist/vue-ui-gauge-BFA_unjg.cjs +0 -1
  161. package/dist/vue-ui-heatmap-C0VxwPhr.cjs +0 -1
  162. package/dist/vue-ui-history-plot-BmGodgUx.cjs +0 -1
  163. package/dist/vue-ui-molecule-Dzh-0SWI.cjs +0 -1
  164. package/dist/vue-ui-mood-radar-DV6ZZIXF.cjs +0 -1
  165. package/dist/vue-ui-quadrant-CIr4i6cC.cjs +0 -1
  166. package/dist/vue-ui-radar-Czmsd_uv.cjs +0 -1
  167. package/dist/vue-ui-relation-circle-B1uMTqFP.cjs +0 -1
  168. package/dist/vue-ui-scatter-CTI943ks.cjs +0 -1
  169. package/dist/vue-ui-stackbar-D4AIFoQT.cjs +0 -6
  170. package/dist/vue-ui-strip-plot-ClNxSw9M.cjs +0 -1
  171. package/dist/vue-ui-table-heatmap-BE3UT8U9.cjs +0 -1
  172. package/dist/vue-ui-table-sparkline-BeYviUrb.cjs +0 -1
  173. package/dist/vue-ui-thermometer-C6lMWRiF.cjs +0 -1
  174. package/dist/vue-ui-tiremarks-PGGgsNgS.cjs +0 -1
  175. package/dist/vue-ui-treemap-BzRVKqXL.cjs +0 -1
  176. package/dist/vue-ui-waffle-O8pAEf4X.cjs +0 -1
  177. package/dist/vue-ui-wheel-CnFdB_B1.cjs +0 -1
  178. package/dist/vue-ui-word-cloud-X4mp280j.cjs +0 -1
@@ -1,17 +1,17 @@
1
- import { computed as g, ref as c, watch as Ge, onMounted as He, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as b, createBlock as z, createCommentVNode as m, createSlots as Ye, withCtx as k, renderSlot as x, normalizeProps as W, guardReactiveProps as V, createVNode as _e, Fragment as w, renderList as I, createElementVNode as F, toDisplayString as D, createTextVNode as qe } from "vue";
2
- import { u as Qe, c as Z, t as Je, a as Ke, p as G, 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 Ie, f as Fe, y as it, q as rt, r as ct, F as H } from "./index-BbPeL8Gp.js";
1
+ import { computed as g, ref as c, watch as He, onMounted as Ge, onBeforeUnmount as Xe, openBlock as u, createElementBlock as i, normalizeClass as U, normalizeStyle as T, unref as b, createBlock as z, createCommentVNode as m, createSlots as Ye, withCtx as k, renderSlot as x, normalizeProps as W, guardReactiveProps as V, createVNode as _e, Fragment as w, renderList as I, createElementVNode as F, 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 Ie, f as Fe, y as it, q as rt, r as ct, F as G } from "./index-K5uyh1gA.js";
3
3
  import { t as vt, u as dt } from "./useResponsive-CoxXLe23.js";
4
- import { _ as ht } from "./Title-aSAft5dl.js";
5
- import { L as pt } from "./Legend-BLaZxMge.js";
6
- import { _ as mt } from "./Tooltip-smutPF--.js";
7
- import { _ as yt } from "./Shape-DIKzzpFm.js";
8
- import { u as ft, U as gt } from "./usePrinter-DaybDVqP.js";
9
- import { D as bt } from "./DataTable-DGf6RrOJ.js";
10
- import xt from "./vue-ui-accordion-5d5iVpr7.js";
11
- import kt from "./vue-ui-skeleton-Bniq21d9.js";
12
- import { u as Pe } from "./useNestedProp-BN8claGG.js";
13
- import { _ as Ct } from "./PackageVersion-CxJghxYD.js";
14
- import { P as wt } from "./PenAndPaper-ZdZEumki.js";
4
+ import { _ as ht } from "./Title-aMb2ETf7.js";
5
+ import { L as pt } from "./Legend-bYlSC7I7.js";
6
+ import { _ as mt } from "./Tooltip-BRZ3DT4p.js";
7
+ import { _ as yt } from "./Shape-BDJJ38uM.js";
8
+ import { u as ft, U as gt } from "./usePrinter-p_ZZlGc9.js";
9
+ import { D as bt } from "./DataTable-COkA4Nyz.js";
10
+ import xt from "./vue-ui-accordion-CsJT7Az3.js";
11
+ import kt from "./vue-ui-skeleton-BhA2lIT6.js";
12
+ import { u as Pe } from "./useNestedProp-DifqJZAs.js";
13
+ import { _ as Ct } from "./PackageVersion-Dz3KcTL4.js";
14
+ import { P as wt } from "./PenAndPaper-BycdTwSP.js";
15
15
  import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
16
16
  import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
17
  const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events": "none" } }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = ["x", "y", "fill", "font-size", "font-weight"], Ft = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = ["x", "y", "fill", "font-size", "font-weight"], Nt = { key: 0 }, St = ["x", "y", "font-size", "fill"], Lt = ["width", "x", "y"], Ot = { style: { width: "100%" } }, Dt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], Ut = ["d", "stroke", "stroke-width", "onMouseenter"], Wt = ["d", "onMouseenter"], Vt = {
@@ -34,7 +34,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
34
34
  }
35
35
  },
36
36
  emits: ["selectLegend", "selectDatapoint"],
37
- setup(Ne, { expose: Se, emit: ee }) {
37
+ setup(Ne, { expose: Se, emit: te }) {
38
38
  const _ = Ne, { vue_ui_parallel_coordinate_plot: Le } = Qe(), P = g({
39
39
  get() {
40
40
  return !!_.dataset && _.dataset.length;
@@ -42,14 +42,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
42
42
  set(t) {
43
43
  return t;
44
44
  }
45
- }), te = c(0), N = c(null), ae = c(null), le = c(null), oe = c(null), se = c(null), ne = c(0), ue = c(0), ie = c(0), X = c(Z()), S = c(!1);
45
+ }), ae = c(0), N = c(null), le = c(null), oe = c(null), se = c(null), ne = c(null), ue = c(0), ie = c(0), re = c(0), X = c(ee()), S = c(!1);
46
46
  function Oe(t) {
47
- S.value = t, te.value += 1;
47
+ S.value = t, ae.value += 1;
48
48
  }
49
49
  const e = g({
50
50
  get: () => de(),
51
51
  set: (t) => t
52
- }), { userOptionsVisible: re, setUserOptionsVisibility: ce, keepUserOptionState: ve } = $t({ config: e.value });
52
+ }), { userOptionsVisible: Y, setUserOptionsVisibility: ce, keepUserOptionState: ve } = $t({ config: e.value });
53
53
  function de() {
54
54
  const t = Pe({
55
55
  userConfig: _.config,
@@ -60,14 +60,14 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
60
60
  userConfig: Je.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
61
61
  defaultConfig: t
62
62
  }),
63
- customPalette: Ke[t.theme] || G
63
+ customPalette: Ke[t.theme] || H
64
64
  } : t;
65
65
  }
66
- Ge(() => _.config, (t) => {
67
- e.value = de(), he(), ne.value += 1, ie.value += 1, ue.value += 1;
66
+ He(() => _.config, (t) => {
67
+ e.value = de(), Y.value = !e.value.showOnChartHover, he(), ue.value += 1, re.value += 1, ie.value += 1;
68
68
  }, { deep: !0 });
69
69
  const B = c(null);
70
- He(() => {
70
+ Ge(() => {
71
71
  he();
72
72
  });
73
73
  function he() {
@@ -90,30 +90,30 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
90
90
  const t = vt(() => {
91
91
  const { width: l, height: a } = dt({
92
92
  chart: N.value,
93
- title: e.value.style.chart.title.text ? ae.value : null,
94
- legend: e.value.style.chart.legend.show ? le.value : null,
95
- source: oe.value,
96
- noTitle: se.value
93
+ title: e.value.style.chart.title.text ? le.value : null,
94
+ legend: e.value.style.chart.legend.show ? oe.value : null,
95
+ source: se.value,
96
+ noTitle: ne.value
97
97
  });
98
- v.value.width = l, v.value.height = a, v.value.plotSize = H({
98
+ v.value.width = l, v.value.height = a, v.value.plotSize = G({
99
99
  relator: Math.min(l, a),
100
100
  adjuster: 600,
101
101
  source: e.value.style.chart.plots.radius,
102
102
  threshold: 2,
103
103
  fallback: 2
104
- }), v.value.ticksFontSize = H({
104
+ }), v.value.ticksFontSize = G({
105
105
  relator: Math.min(l, a),
106
106
  adjuster: 600,
107
107
  source: e.value.style.chart.yAxis.labels.ticks.fontSize,
108
108
  threshold: 10,
109
109
  fallback: 10
110
- }), v.value.datapointFontSize = H({
110
+ }), v.value.datapointFontSize = G({
111
111
  relator: Math.min(l, a),
112
112
  adjuster: 600,
113
113
  source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
114
114
  threshold: 10,
115
115
  fallback: 10
116
- }), v.value.axisNameFontSize = H({
116
+ }), v.value.axisNameFontSize = G({
117
117
  relator: Math.min(l, a),
118
118
  adjuster: 600,
119
119
  source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
@@ -162,17 +162,17 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
162
162
  $.value.includes(t) ? $.value = $.value.filter((l) => l !== t) : $.value.push(t);
163
163
  }
164
164
  const M = g(() => _.dataset.map((t, l) => {
165
- const a = at(t.color) || Ue.value[l] || G[l] || G[l % G.length];
165
+ const a = at(t.color) || Ue.value[l] || H[l] || H[l % H.length];
166
166
  return {
167
167
  ...t,
168
168
  series: t.series.map((o) => ({
169
169
  ...o,
170
- id: Z(),
170
+ id: ee(),
171
171
  color: a
172
172
  })),
173
173
  seriesIndex: l,
174
174
  color: a,
175
- id: Z(),
175
+ id: ee(),
176
176
  shape: t.shape || "circle"
177
177
  };
178
178
  })), We = g(() => M.value.map((t) => ({
@@ -189,10 +189,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
189
189
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
190
190
  })), be = g(() => Math.max(
191
191
  ...M.value.filter((t) => !$.value.includes(t.id)).map((t) => Math.max(...t.series.flatMap((l) => l.values.length)))
192
- )), C = g(() => d.value.width / be.value), Y = g(() => M.value.filter((t) => !$.value.includes(t.id))), f = g(() => {
192
+ )), C = g(() => d.value.width / be.value), q = g(() => M.value.filter((t) => !$.value.includes(t.id))), f = g(() => {
193
193
  let t = [];
194
194
  for (let l = 0; l < be.value; l += 1) {
195
- const a = Math.min(...Y.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...Y.value.flatMap((h) => h.series.map((j) => j.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, j) => {
195
+ const a = Math.min(...q.value.flatMap((h) => h.series.map((j) => j.values[l] || 0) || 0)), o = Math.max(...q.value.flatMap((h) => h.series.map((j) => j.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, j) => {
196
196
  const Re = r.min < 0 ? h + Math.abs(r.min) : h - Math.abs(r.min), je = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
197
197
  return {
198
198
  y: d.value.bottom - d.value.height * (Re / je),
@@ -207,7 +207,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
207
207
  });
208
208
  }
209
209
  return t;
210
- }), q = g(() => Y.value.map((t, l) => ({
210
+ }), Q = g(() => q.value.map((t, l) => ({
211
211
  ...t,
212
212
  series: t.series.map((a, o) => ({
213
213
  ...a,
@@ -251,9 +251,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
251
251
  { datapoint: a, seriesIndex: l }
252
252
  );
253
253
  }
254
- const p = c(null), Q = c(null), L = c(!1), J = c("");
254
+ const p = c(null), J = c(null), L = c(!1), K = c("");
255
255
  function E({ shape: t, serieName: l, serie: a, relativeIndex: o, seriesIndex: n }) {
256
- Q.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, L.value = !0, p.value = a.id;
256
+ J.value = { serie: a, relativeIndex: o, seriesIndex: n, series: M.value, scales: f.value }, L.value = !0, p.value = a.id;
257
257
  let s = "";
258
258
  const r = e.value.style.chart.tooltip.customFormat;
259
259
  ze(r) && it(() => r({
@@ -262,7 +262,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
262
262
  series: M.value,
263
263
  config: e.value,
264
264
  scales: f.value
265
- })) ? J.value = r({
265
+ })) ? K.value = r({
266
266
  serie: a,
267
267
  seriesIndex: a.seriesIndex,
268
268
  series: M.value,
@@ -287,13 +287,13 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
287
287
  </span>
288
288
  </div>
289
289
  `, 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>`);
290
- }), J.value = `<div>${s}</div>`);
290
+ }), K.value = `<div>${s}</div>`);
291
291
  }
292
292
  function Be() {
293
293
  return M.value;
294
294
  }
295
295
  const O = g(() => {
296
- const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((n) => n.name)), l = q.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
296
+ const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(f.value.map((n) => n.name)), l = Q.value.flatMap((n, s) => n.series.map((r) => [n.name].concat([r.name]).concat(r.values))), a = {
297
297
  th: {
298
298
  backgroundColor: e.value.table.th.backgroundColor,
299
299
  color: e.value.table.th.color,
@@ -312,7 +312,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
312
312
  config: a,
313
313
  colNames: o
314
314
  };
315
- }), ke = g(() => q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
315
+ }), ke = g(() => Q.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
316
316
  head: O.value.head,
317
317
  body: O.value.body
318
318
  });
@@ -321,10 +321,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
321
321
  ct({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
322
322
  }
323
323
  function Ee(t) {
324
- ee("selectDatapoint", t);
324
+ te("selectDatapoint", t);
325
325
  }
326
326
  function we(t) {
327
- ee("selectLegend", {
327
+ te("selectLegend", {
328
328
  ...t,
329
329
  isSegregated: !t.isSegregated,
330
330
  opacity: t.isSegregated ? 1 : 0.5
@@ -340,7 +340,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
340
340
  y.value.showTooltip = !y.value.showTooltip;
341
341
  }
342
342
  const R = c(!1);
343
- function K() {
343
+ function Z() {
344
344
  R.value = !R.value;
345
345
  }
346
346
  return Se({
@@ -351,7 +351,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
351
351
  toggleTable: $e,
352
352
  toggleLabels: Ae,
353
353
  toggleTooltip: Te,
354
- toggleAnnotator: K
354
+ toggleAnnotator: Z
355
355
  }), (t, l) => (u(), i("div", {
356
356
  ref_key: "pcpChart",
357
357
  ref: N,
@@ -367,23 +367,23 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
367
367
  backgroundColor: e.value.style.chart.backgroundColor,
368
368
  color: e.value.style.chart.color,
369
369
  active: R.value,
370
- onClose: K
370
+ onClose: Z
371
371
  }, null, 8, ["parent", "backgroundColor", "color", "active"])) : m("", !0),
372
372
  De.value ? (u(), i("div", {
373
373
  key: 1,
374
374
  ref_key: "noTitle",
375
- ref: se,
375
+ ref: ne,
376
376
  class: "vue-data-ui-no-title-space",
377
377
  style: "height:36px; width: 100%;background:transparent"
378
378
  }, null, 512)) : m("", !0),
379
379
  e.value.style.chart.title.text ? (u(), i("div", {
380
380
  key: 2,
381
381
  ref_key: "chartTitle",
382
- ref: ae,
382
+ ref: le,
383
383
  style: "width:100%;background:transparent;padding-bottom:24px"
384
384
  }, [
385
385
  (u(), z(ht, {
386
- key: `title_${ne.value}`,
386
+ key: `title_${ue.value}`,
387
387
  config: {
388
388
  title: {
389
389
  cy: "pcp-div-title",
@@ -396,9 +396,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
396
396
  }
397
397
  }, null, 8, ["config"]))
398
398
  ], 512)) : m("", !0),
399
- e.value.userOptions.show && P.value && (b(ve) || b(re)) ? (u(), z(gt, {
399
+ e.value.userOptions.show && P.value && (b(ve) || b(Y)) ? (u(), z(gt, {
400
400
  ref: "details",
401
- key: `user_options_${te.value}`,
401
+ key: `user_options_${ae.value}`,
402
402
  backgroundColor: e.value.style.chart.backgroundColor,
403
403
  color: e.value.style.chart.color,
404
404
  isPrinting: b(pe),
@@ -425,9 +425,9 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
425
425
  onToggleTable: $e,
426
426
  onToggleLabels: Ae,
427
427
  onToggleTooltip: Te,
428
- onToggleAnnotator: K,
428
+ onToggleAnnotator: Z,
429
429
  style: T({
430
- visibility: b(ve) ? b(re) ? "visible" : "hidden" : "visible"
430
+ visibility: b(ve) ? b(Y) ? "visible" : "hidden" : "visible"
431
431
  })
432
432
  }, Ye({ _: 2 }, [
433
433
  t.$slots.optionPdf ? {
@@ -526,7 +526,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
526
526
  }, D(xe({ value: n.value, index: o, datapoint: n })), 13, Pt))), 256))
527
527
  ], 64)) : m("", !0)
528
528
  ]))), 256)),
529
- (u(!0), i(w, null, I(q.value, (a) => (u(), i("g", null, [
529
+ (u(!0), i(w, null, I(Q.value, (a) => (u(), i("g", null, [
530
530
  (u(!0), i(w, null, I(a.series, (o, n) => (u(), i("g", null, [
531
531
  e.value.style.chart.plots.show ? (u(), i("g", Nt, [
532
532
  (u(!0), i(w, null, I(o.datapoints, (s) => (u(), z(yt, {
@@ -652,10 +652,10 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
652
652
  }, null, 8, ["config"])),
653
653
  F("div", {
654
654
  ref_key: "chartLegend",
655
- ref: le
655
+ ref: oe
656
656
  }, [
657
657
  e.value.style.chart.legend.show && P.value ? (u(), z(pt, {
658
- key: `legend_${ue.value}`,
658
+ key: `legend_${ie.value}`,
659
659
  legendSet: We.value,
660
660
  config: Ve.value,
661
661
  onClickMarker: l[4] || (l[4] = ({ legend: a }) => {
@@ -679,7 +679,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
679
679
  t.$slots.source ? (u(), i("div", {
680
680
  key: 7,
681
681
  ref_key: "source",
682
- ref: oe,
682
+ ref: se,
683
683
  dir: "auto"
684
684
  }, [
685
685
  x(t.$slots, "source", {}, void 0, !0)
@@ -696,15 +696,15 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
696
696
  position: e.value.style.chart.tooltip.position,
697
697
  offsetY: e.value.style.chart.tooltip.offsetY,
698
698
  parent: N.value,
699
- content: J.value,
699
+ content: K.value,
700
700
  isFullscreen: S.value,
701
701
  isCustom: b(ze)(e.value.style.chart.tooltip.customFormat)
702
702
  }, {
703
703
  "tooltip-before": k(() => [
704
- x(t.$slots, "tooltip-before", W(V({ ...Q.value })), void 0, !0)
704
+ x(t.$slots, "tooltip-before", W(V({ ...J.value })), void 0, !0)
705
705
  ]),
706
706
  "tooltip-after": k(() => [
707
- x(t.$slots, "tooltip-after", W(V({ ...Q.value })), void 0, !0)
707
+ x(t.$slots, "tooltip-after", W(V({ ...J.value })), void 0, !0)
708
708
  ]),
709
709
  _: 3
710
710
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom"]),
@@ -726,7 +726,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
726
726
  }, {
727
727
  content: k(() => [
728
728
  (u(), z(bt, {
729
- key: `table_${ie.value}`,
729
+ key: `table_${re.value}`,
730
730
  colNames: O.value.colNames,
731
731
  head: O.value.head,
732
732
  body: O.value.body,
@@ -747,7 +747,7 @@ const Tt = ["id"], _t = ["xmlns", "viewBox"], Mt = { style: { "pointer-events":
747
747
  }, 8, ["config"])) : m("", !0)
748
748
  ], 46, Tt));
749
749
  }
750
- }, na = /* @__PURE__ */ At(Rt, [["__scopeId", "data-v-47848eab"]]);
750
+ }, na = /* @__PURE__ */ At(Rt, [["__scopeId", "data-v-bc593a2b"]]);
751
751
  export {
752
752
  na as default
753
753
  };
@@ -1,8 +1,8 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-DhDYBLBe.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-Bk_55doC.cjs"),$e=require("./Legend-BiuPlEMg.cjs"),Se=require("./Tooltip-G7ENx87_.cjs"),ze=require("./Shape-yducHWd0.cjs"),ce=require("./usePrinter-2_QjJFdH.cjs"),Ne=require("./DataTable-G3ICK-5h.cjs"),Ae=require("./vue-ui-accordion-B7tNzRWB.cjs"),Te=require("./vue-ui-skeleton-lkPDknHn.cjs"),de=require("./useNestedProp-BphUExEh.cjs"),Pe=require("./PackageVersion-Bj34UNnQ.cjs"),Fe=require("./PenAndPaper-D9yQnc0e.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le={style:{"pointer-events":"none"}},Ve=["x1","x2","y1","y2","stroke","stroke-width"],Oe=["x","y","fill","font-size","font-weight"],De=["x1","x2","y1","y2","stroke","stroke-width"],qe=["x","y","fill","font-size","font-weight"],Ue={key:0},Re=["x","y","font-size","fill"],We=["width","x","y"],je={style:{width:"100%"}},He=["x","y","fill","font-weight","font-size","onMouseenter"],Ge=["d","stroke","stroke-width","onMouseenter"],Ye=["d","onMouseenter"],Xe={key:5,class:"vue-data-ui-watermark"},Je=["onClick"],Ke=["innerHTML"],Qe={__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:I}){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}}),L=e.ref(0),C=e.ref(null),V=e.ref(null),O=e.ref(null),D=e.ref(null),q=e.ref(null),U=e.ref(0),R=e.ref(0),W=e.ref(0),T=e.ref(i.createUid()),w=e.ref(!1);function me(l){w.value=l,L.value+=1}const t=e.computed({get:()=>Y(),set:l=>l}),{userOptionsVisible:j,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(),X(),U.value+=1,W.value+=1,R.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?V.value:null,legend:t.value.style.chart.legend.show?O.value:null,source:D.value,noTitle:q.value});c.value.width=o,c.value.height=a,c.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),c.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),c.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),c.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),c=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}),d=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=c.value.height,s=c.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(()=>d.value.width/te.value),P=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(...P.value.flatMap(v=>v.series.map(A=>A.values[o]||0)||0)),n=Math.max(...P.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:d.value.bottom-d.value.height*(Ce/we),x:d.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}),F=e.computed(()=>P.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:d.value.left+y.value*s+y.value/2,y:d.value.bottom-d.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),M=e.ref(null),B=e.ref(!1),_=e.ref("");function z({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){M.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}))?_.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-BkXYJDpD.cjs"),ue=require("./useResponsive-BJ7DTGpm.cjs"),Be=require("./Title-B7ruS8yl.cjs"),$e=require("./Legend-CR9ydX8N.cjs"),Se=require("./Tooltip-BqSN71SL.cjs"),ze=require("./Shape-BBp5EwJH.cjs"),ce=require("./usePrinter-DHv-BwME.cjs"),Ne=require("./DataTable-CwAdpLng.cjs"),Ae=require("./vue-ui-accordion-kr18wKfc.cjs"),Te=require("./vue-ui-skeleton-BTN1PKkz.cjs"),de=require("./useNestedProp-C6IvqE-r.cjs"),Pe=require("./PackageVersion-C1F3QLoY.cjs"),Fe=require("./PenAndPaper-DDheVRNG.cjs"),Me=require("./useUserOptionState-BgepsfED.cjs"),_e=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Ee=["id"],Ie=["xmlns","viewBox"],Le={style:{"pointer-events":"none"}},Ve=["x1","x2","y1","y2","stroke","stroke-width"],Oe=["x","y","fill","font-size","font-weight"],De=["x1","x2","y1","y2","stroke","stroke-width"],qe=["x","y","fill","font-size","font-weight"],Ue={key:0},Re=["x","y","font-size","fill"],We=["width","x","y"],je={style:{width:"100%"}},He=["x","y","fill","font-weight","font-size","onMouseenter"],Ge=["d","stroke","stroke-width","onMouseenter"],Ye=["d","onMouseenter"],Xe={key:5,class:"vue-data-ui-watermark"},Je=["onClick"],Ke=["innerHTML"],Qe={__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});c.value.width=o,c.value.height=a,c.value.plotSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.plots.radius,threshold:2,fallback:2}),c.value.ticksFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.ticks.fontSize,threshold:10,fallback:10}),c.value.datapointFontSize=i.translateSize({relator:Math.min(o,a),adjuster:600,source:t.value.style.chart.yAxis.labels.datapoints.fontSize,threshold:10,fallback:10}),c.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),c=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}),d=e.computed(()=>{const{top:l,right:o,bottom:a,left:n}=t.value.style.chart.padding,r=c.value.height,s=c.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(()=>d.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:d.value.bottom-d.value.height*(Ce/we),x:d.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:d.value.left+y.value*s+y.value/2,y:d.value.bottom-d.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+=`
2
2
  <div class="vue-ui-tooltip-item" style="text-align:left">
3
3
  <span>${g}: </span>
4
4
  <span>
5
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})}
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>`)}),_.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=F.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(()=>F.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){I("selectDatapoint",l)}function ne(l){I("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 E(){N.value=!N.value}return pe({getData:ke,generateCsv:oe,generatePdf:Q,generateImage:Z,toggleTable:se,toggleLabels:re,toggleTooltip:ie,toggleAnnotator:E}),(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:E},null,8,["parent","backgroundColor","color","active"])):e.createCommentVNode("",!0),ye.value?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"noTitle",ref:q,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:V,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(Be._sfc_main,{key:`title_${U.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(j))?(e.openBlock(),e.createBlock(ce.UserOptions,{ref:"details",key:`user_options_${L.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:E,style:e.normalizeStyle({visibility:e.unref(G)?e.unref(j)?"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 ${d.value.chartWidth<=0?10:d.value.chartWidth} ${d.value.chartHeight<=0?10:d.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Pe._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",Le,[e.createElementVNode("line",{x1:d.value.left+y.value*n+y.value/2,x2:d.value.left+y.value*n+y.value/2,y1:d.value.top,y2:d.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Ve),e.createElementVNode("text",{x:d.value.left+y.value*n+y.value/2,y:d.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":c.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,Oe),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,De))),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+c.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":c.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,qe))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(F.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",Ue,[(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"?c.value.plotSize*1.2:c.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-c.value.ticksFontSize,y:n.datapoints[0].y+c.value.ticksFontSize/3,"text-anchor":"end","font-size":c.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,Re)):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",je,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,We)):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+c.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":c.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,He))),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,Ge),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,Ye)):e.createCommentVNode("",!0)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,Ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Xe,[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:O},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock($e.Legend,{key:`legend_${R.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,Je)]),_: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:D,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:_.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({...M.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...M.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_${W.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,Ke)]),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))}},Ze=_e._export_sfc(Qe,[["__scopeId","data-v-47848eab"]]);exports.default=Ze;
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 ${d.value.chartWidth<=0?10:d.value.chartWidth} ${d.value.chartHeight<=0?10:d.value.chartHeight}`,style:e.normalizeStyle(`max-width:100%; overflow: visible; background:transparent;color:${t.value.style.chart.color}`)},[e.createVNode(Pe._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(m.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",Le,[e.createElementVNode("line",{x1:d.value.left+y.value*n+y.value/2,x2:d.value.left+y.value*n+y.value/2,y1:d.value.top,y2:d.value.bottom,stroke:t.value.style.chart.yAxis.stroke,"stroke-width":t.value.style.chart.yAxis.strokeWidth},null,8,Ve),e.createElementVNode("text",{x:d.value.left+y.value*n+y.value/2,y:d.value.top-24,fill:t.value.style.chart.yAxis.labels.axisNamesColor,"font-size":c.value.axisNameFontSize,"font-weight":t.value.style.chart.yAxis.labels.axisNamesBold?"bold":"","text-anchor":"middle"},e.toDisplayString(a.name),9,Oe),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,De))),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+c.value.ticksFontSize/3,fill:t.value.style.chart.yAxis.labels.ticks.color,"text-anchor":"end","font-size":c.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,qe))),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",Ue,[(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"?c.value.plotSize*1.2:c.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-c.value.ticksFontSize,y:n.datapoints[0].y+c.value.ticksFontSize/3,"text-anchor":"end","font-size":c.value.ticksFontSize,fill:a.color,"font-weight":"bold"},e.toDisplayString(n.name),9,Re)):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",je,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,We)):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+c.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":c.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,He))),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,Ge),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,Ye)):e.createCommentVNode("",!0)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,Ie)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Xe,[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,Je)]),_: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,Ke)]),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))}},Ze=_e._export_sfc(Qe,[["__scopeId","data-v-bc593a2b"]]);exports.default=Ze;