vue-data-ui 2.3.89 → 2.3.91

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 (182) hide show
  1. package/dist/{Arrow-6DWnAEHt.js → Arrow-CHTslrAF.js} +1 -1
  2. package/dist/{Arrow-CW5gDSmt.cjs → Arrow-DpuaFuue.cjs} +1 -1
  3. package/dist/{BaseIcon-Dj8EbAXm.js → BaseIcon-DfaCNBgc.js} +1 -1
  4. package/dist/{BaseIcon-B_MrASni.cjs → BaseIcon-JWGtHqTA.cjs} +1 -1
  5. package/dist/{DataTable-BmYcdJ1w.js → DataTable-BKc3r3k3.js} +2 -2
  6. package/dist/{DataTable-DAwK5x3h.cjs → DataTable-CnkdsvIo.cjs} +1 -1
  7. package/dist/{Legend-DhQ-a1RH.cjs → Legend-BQJV6Xk4.cjs} +1 -1
  8. package/dist/{Legend-BRG8ddDy.js → Legend-WNL92WSx.js} +1 -1
  9. package/dist/PackageVersion-D9PU8glB.js +10 -0
  10. package/dist/PackageVersion-LdLhc8hQ.cjs +1 -0
  11. package/dist/{Shape-D7jva0XA.cjs → Shape-CgW0V2Og.cjs} +1 -1
  12. package/dist/{Shape-BcL3EDZ5.js → Shape-DPvoEBm9.js} +1 -1
  13. package/dist/{Slicer-DI1kgq9D.js → Slicer-DE9nFM_c.js} +2 -2
  14. package/dist/{Slicer-DV29nclP.cjs → Slicer-Dma3nlzi.cjs} +1 -1
  15. package/dist/{Title-DYwo_Q5b.cjs → Title-Bg_BK11V.cjs} +1 -1
  16. package/dist/{Title-fAvrqioZ.js → Title-CECK1w9L.js} +1 -1
  17. package/dist/{Tooltip-TZYYFvPe.js → Tooltip-Ci3AprCm.js} +1 -1
  18. package/dist/{Tooltip-03RvVGln.cjs → Tooltip-lM1Jzkza.cjs} +1 -1
  19. package/dist/{index-BKTciLz4.cjs → index-BhH89oF0.cjs} +1 -1
  20. package/dist/{index-Ca4RHJ4t.js → index-mBy4elhB.js} +1 -1
  21. package/dist/style.css +1 -1
  22. package/dist/{useNestedProp-vP7uimPz.js → useNestedProp-BrIRtQj1.js} +1 -1
  23. package/dist/{useNestedProp-BFnXnY0k.cjs → useNestedProp-m8IH8hWW.cjs} +1 -1
  24. package/dist/{usePrinter-CxYg-Dw-.cjs → usePrinter-B8jr_V3b.cjs} +1 -1
  25. package/dist/{usePrinter-5fwXghqP.js → usePrinter-Ck-yukK2.js} +1 -1
  26. package/dist/{vue-data-ui-BaLkNH7M.cjs → vue-data-ui-BgaY7Noy.cjs} +1 -1
  27. package/dist/{vue-data-ui-4VG00HFR.js → vue-data-ui-BuL-2aYA.js} +57 -57
  28. package/dist/vue-data-ui.cjs +1 -1
  29. package/dist/vue-data-ui.js +1 -1
  30. package/dist/vue-ui-3d-bar-C9a-AsIX.cjs +19 -0
  31. package/dist/{vue-ui-3d-bar-DPJWcxqV.js → vue-ui-3d-bar-Cv-56A3m.js} +148 -146
  32. package/dist/{vue-ui-accordion-SXHdW20_.cjs → vue-ui-accordion-Bzq1iTL2.cjs} +1 -1
  33. package/dist/{vue-ui-accordion-vYoYjedX.js → vue-ui-accordion-dyF20BlD.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-BEC4SHLl.js → vue-ui-age-pyramid-BqsDR6uw.js} +83 -81
  35. package/dist/vue-ui-age-pyramid-DDPU8QV8.cjs +1 -0
  36. package/dist/{vue-ui-annotator-B1NZRuJJ.cjs → vue-ui-annotator-B9HxrEVE.cjs} +1 -1
  37. package/dist/{vue-ui-annotator-DFpv61wn.js → vue-ui-annotator-CkJsRR0r.js} +1 -1
  38. package/dist/{vue-ui-candlestick-AEKT8X3p.js → vue-ui-candlestick-B8eYA2g0.js} +113 -111
  39. package/dist/vue-ui-candlestick-DbbbJa-d.cjs +2 -0
  40. package/dist/{vue-ui-carousel-table-DhzVxOvp.js → vue-ui-carousel-table-BCiTg3Ok.js} +4 -4
  41. package/dist/{vue-ui-carousel-table-DCk2p-1k.cjs → vue-ui-carousel-table-CCWGcKb7.cjs} +1 -1
  42. package/dist/{vue-ui-chestnut-qqcIpMGB.js → vue-ui-chestnut-DI-N69Ad.js} +161 -159
  43. package/dist/vue-ui-chestnut-rsWP_sXY.cjs +6 -0
  44. package/dist/{vue-ui-cursor-CgSghVjL.js → vue-ui-cursor-BUzJk1oC.js} +2 -2
  45. package/dist/{vue-ui-cursor-CvJgJk1M.cjs → vue-ui-cursor-wY14Z-Vd.cjs} +1 -1
  46. package/dist/{vue-ui-dashboard-CtJdVmtu.cjs → vue-ui-dashboard-Cf8TYbAr.cjs} +1 -1
  47. package/dist/{vue-ui-dashboard-CYzkic0X.js → vue-ui-dashboard-CiG3kXLl.js} +2 -2
  48. package/dist/{vue-ui-digits-C0dMG-hR.cjs → vue-ui-digits-BBho1-xO.cjs} +1 -1
  49. package/dist/{vue-ui-digits-BO1hSjoq.js → vue-ui-digits-DZJI0YuX.js} +2 -2
  50. package/dist/{vue-ui-donut-DP-yxiw3.js → vue-ui-donut-CBG9ECp8.js} +118 -116
  51. package/dist/vue-ui-donut-D4WpeX9W.cjs +1 -0
  52. package/dist/vue-ui-donut-evolution-BVnSrr-b.cjs +1 -0
  53. package/dist/{vue-ui-donut-evolution-C-yDyglF.js → vue-ui-donut-evolution-BtTiBfLb.js} +102 -100
  54. package/dist/vue-ui-dumbbell-BQKiB9yH.cjs +9 -0
  55. package/dist/{vue-ui-dumbbell-D2SQ4cKV.js → vue-ui-dumbbell-DlEN2c_X.js} +88 -86
  56. package/dist/{vue-ui-flow-D_E9V2A1.js → vue-ui-flow-CXqGztWj.js} +65 -63
  57. package/dist/vue-ui-flow-DfMNmttZ.cjs +1 -0
  58. package/dist/vue-ui-galaxy-CGn5nkD5.cjs +1 -0
  59. package/dist/{vue-ui-galaxy-DqE2UiA3.js → vue-ui-galaxy-xI38Kf-S.js} +82 -80
  60. package/dist/{vue-ui-gauge-CFYXDw2p.js → vue-ui-gauge-BEludqYn.js} +56 -54
  61. package/dist/vue-ui-gauge-Bz-OSNOJ.cjs +1 -0
  62. package/dist/{vue-ui-gizmo-BWztIJ3j.js → vue-ui-gizmo-BB28OTr1.js} +32 -30
  63. package/dist/vue-ui-gizmo-CZZB7YgY.cjs +1 -0
  64. package/dist/vue-ui-heatmap-BtUvE7rK.cjs +1 -0
  65. package/dist/{vue-ui-heatmap-E1MlhSCs.js → vue-ui-heatmap-mywZXUV8.js} +99 -97
  66. package/dist/{vue-ui-kpi-BWDPF-9X.cjs → vue-ui-kpi-CEAGjnkj.cjs} +1 -1
  67. package/dist/{vue-ui-kpi-DeP0XmP7.js → vue-ui-kpi-zr721ux9.js} +3 -3
  68. package/dist/{vue-ui-mini-loader-Bal12IrX.js → vue-ui-mini-loader-9zyuKIpT.js} +2 -2
  69. package/dist/{vue-ui-mini-loader-D5e8uW_d.cjs → vue-ui-mini-loader-DBFAzGb2.cjs} +1 -1
  70. package/dist/{vue-ui-molecule-DHrHeQgF.js → vue-ui-molecule-Bv_ppQig.js} +77 -75
  71. package/dist/vue-ui-molecule-DltNL0kV.cjs +1 -0
  72. package/dist/{vue-ui-mood-radar-dJaJotNf.js → vue-ui-mood-radar-CIK2Xohn.js} +76 -74
  73. package/dist/vue-ui-mood-radar-CQkF2Rp1.cjs +1 -0
  74. package/dist/{vue-ui-nested-donuts--K9ygdH3.js → vue-ui-nested-donuts-f-cMx3iQ.js} +112 -110
  75. package/dist/vue-ui-nested-donuts-vHr23QlH.cjs +17 -0
  76. package/dist/vue-ui-onion-B6ZrryDW.cjs +5 -0
  77. package/dist/{vue-ui-onion-Bm1inM56.js → vue-ui-onion-CmUXelhy.js} +82 -80
  78. package/dist/vue-ui-parallel-coordinate-plot-BU0yoxD9.cjs +8 -0
  79. package/dist/{vue-ui-parallel-coordinate-plot-9PSGD-LR.js → vue-ui-parallel-coordinate-plot-h9dS2u_k.js} +91 -89
  80. package/dist/{vue-ui-quadrant-iGQbx93I.js → vue-ui-quadrant-DNT_0fTL.js} +141 -139
  81. package/dist/vue-ui-quadrant-DPPXilUd.cjs +1 -0
  82. package/dist/vue-ui-quick-chart-1gG267X0.cjs +15 -0
  83. package/dist/{vue-ui-quick-chart-DeEQcx6A.js → vue-ui-quick-chart-T6C0BTyw.js} +166 -164
  84. package/dist/{vue-ui-radar-DfnhsNQV.js → vue-ui-radar-CfCHXIYJ.js} +89 -87
  85. package/dist/vue-ui-radar-DpzjMFZD.cjs +1 -0
  86. package/dist/{vue-ui-rating-D0rgVdkT.cjs → vue-ui-rating-DYcT_LS-.cjs} +1 -1
  87. package/dist/{vue-ui-rating-CCesFD6e.js → vue-ui-rating-DuRLpMwk.js} +2 -2
  88. package/dist/vue-ui-relation-circle-BMrPtD2n.cjs +1 -0
  89. package/dist/{vue-ui-relation-circle-D2GXm_Fk.js → vue-ui-relation-circle-WmZMKqHL.js} +54 -52
  90. package/dist/{vue-ui-rings-B7_-G3JM.js → vue-ui-rings-Ce0Z_osd.js} +97 -93
  91. package/dist/{vue-ui-rings-CScmcQ1n.cjs → vue-ui-rings-CkYl3uce.cjs} +2 -2
  92. package/dist/vue-ui-scatter-Cjie2D-t.cjs +1 -0
  93. package/dist/{vue-ui-scatter-DdhiNjLc.js → vue-ui-scatter-DY9EpoGP.js} +132 -130
  94. package/dist/{vue-ui-screenshot-BrhjnTwn.cjs → vue-ui-screenshot-BCFym6go.cjs} +1 -1
  95. package/dist/{vue-ui-screenshot-Cpy2qbf1.js → vue-ui-screenshot-lQLJHBQ2.js} +1 -1
  96. package/dist/vue-ui-skeleton-Cf89QIhl.cjs +41 -0
  97. package/dist/{vue-ui-skeleton-D7aLznpP.js → vue-ui-skeleton-DDhwPZd_.js} +423 -388
  98. package/dist/{vue-ui-smiley-Cj0yi7_H.cjs → vue-ui-smiley-DMA6fgGr.cjs} +1 -1
  99. package/dist/{vue-ui-smiley-vcpYARLj.js → vue-ui-smiley-xxMwBT9c.js} +2 -2
  100. package/dist/vue-ui-spark-trend-Btj_H6fa.cjs +1 -0
  101. package/dist/{vue-ui-spark-trend-CFJSCQnf.js → vue-ui-spark-trend-CLHTqp94.js} +42 -40
  102. package/dist/{vue-ui-sparkbar-CgRdDfk6.js → vue-ui-sparkbar-Btk6snt4.js} +53 -51
  103. package/dist/vue-ui-sparkbar-CKrbBVKQ.cjs +1 -0
  104. package/dist/{vue-ui-sparkgauge-CCPMNge0.js → vue-ui-sparkgauge-DKJtFTSv.js} +31 -29
  105. package/dist/vue-ui-sparkgauge-DfWLtFYS.cjs +1 -0
  106. package/dist/{vue-ui-sparkhistogram-D5z2Wtpk.js → vue-ui-sparkhistogram-JRLlw9EX.js} +69 -67
  107. package/dist/vue-ui-sparkhistogram-wHJ-8zVV.cjs +1 -0
  108. package/dist/vue-ui-sparkline-DElVaalm.cjs +1 -0
  109. package/dist/{vue-ui-sparkline-KYN0oKt1.js → vue-ui-sparkline-tBF9iaNm.js} +65 -63
  110. package/dist/{vue-ui-sparkstackbar-7lurD9-4.js → vue-ui-sparkstackbar-BS9I8en7.js} +102 -87
  111. package/dist/vue-ui-sparkstackbar-tZa2IYHP.cjs +1 -0
  112. package/dist/{vue-ui-stackbar-CsVmAvl3.js → vue-ui-stackbar-UiX8q4yL.js} +128 -126
  113. package/dist/vue-ui-stackbar-rOa0atA9.cjs +6 -0
  114. package/dist/{vue-ui-strip-plot-B63AgKts.js → vue-ui-strip-plot-BOkfg5vB.js} +78 -76
  115. package/dist/vue-ui-strip-plot-hRy6QRHK.cjs +1 -0
  116. package/dist/{vue-ui-table-hPqdMR-m.cjs → vue-ui-table-B9dc0l0k.cjs} +1 -1
  117. package/dist/{vue-ui-table-G5O8K-F_.js → vue-ui-table-Dtfv71zG.js} +1 -1
  118. package/dist/{vue-ui-table-heatmap-t9Ngijvp.js → vue-ui-table-heatmap-BMl-sP5Q.js} +4 -4
  119. package/dist/{vue-ui-table-heatmap-BhVuTdSS.cjs → vue-ui-table-heatmap-DUQEHohs.cjs} +1 -1
  120. package/dist/{vue-ui-table-sparkline-DtjJrGve.cjs → vue-ui-table-sparkline-BVnGb-lu.cjs} +1 -1
  121. package/dist/{vue-ui-table-sparkline-BX4en1c-.js → vue-ui-table-sparkline-BeunspIj.js} +5 -5
  122. package/dist/vue-ui-thermometer-A3Xxn5Ly.cjs +1 -0
  123. package/dist/{vue-ui-thermometer-BWGyDQ7_.js → vue-ui-thermometer-Cb9ALBj_.js} +80 -78
  124. package/dist/{vue-ui-timer-8AlVLAJi.js → vue-ui-timer-2PRDq1w6.js} +62 -60
  125. package/dist/vue-ui-timer-DltmIdrq.cjs +64 -0
  126. package/dist/vue-ui-tiremarks-BTlJcW4v.cjs +1 -0
  127. package/dist/{vue-ui-tiremarks-DYIHGkBU.js → vue-ui-tiremarks-Bse3PMGV.js} +51 -49
  128. package/dist/vue-ui-treemap-Cv_mHK8H.cjs +1 -0
  129. package/dist/{vue-ui-treemap-mmvdTHiX.js → vue-ui-treemap-D8fjVYq0.js} +93 -91
  130. package/dist/{vue-ui-vertical-bar-DAKHNRoR.js → vue-ui-vertical-bar-BVldPT8k.js} +110 -108
  131. package/dist/vue-ui-vertical-bar-ZgJq3_CI.cjs +4 -0
  132. package/dist/vue-ui-waffle-BpeGEjCl.cjs +1 -0
  133. package/dist/{vue-ui-waffle-B-A4NYNd.js → vue-ui-waffle-wikAjwZY.js} +72 -70
  134. package/dist/vue-ui-wheel-BlgfdULS.cjs +1 -0
  135. package/dist/{vue-ui-wheel-DN9WvA6Z.js → vue-ui-wheel-D5qyBs0Y.js} +43 -41
  136. package/dist/{vue-ui-word-cloud-BWTyaGAT.js → vue-ui-word-cloud-Bcdl2iE-.js} +60 -58
  137. package/dist/vue-ui-word-cloud-sNzfl_Tq.cjs +1 -0
  138. package/dist/{vue-ui-xy-Dzp4qCjk.js → vue-ui-xy-CUjllUSv.js} +507 -504
  139. package/dist/vue-ui-xy-FHLTc7xG.cjs +3 -0
  140. package/dist/{vue-ui-xy-canvas-CAcTkk_r.cjs → vue-ui-xy-canvas-BJUnRVuf.cjs} +1 -1
  141. package/dist/{vue-ui-xy-canvas-9NPbm7dE.js → vue-ui-xy-canvas-BkOlPU8e.js} +10 -10
  142. package/package.json +1 -1
  143. package/dist/vue-ui-3d-bar-rOT9iPsm.cjs +0 -19
  144. package/dist/vue-ui-age-pyramid-HElID9Ax.cjs +0 -1
  145. package/dist/vue-ui-candlestick-p1s0Av21.cjs +0 -2
  146. package/dist/vue-ui-chestnut-oFfB3fBF.cjs +0 -6
  147. package/dist/vue-ui-donut-Dnnoj71c.cjs +0 -1
  148. package/dist/vue-ui-donut-evolution-vBUH5VVx.cjs +0 -1
  149. package/dist/vue-ui-dumbbell-BUA_uSse.cjs +0 -9
  150. package/dist/vue-ui-flow-B-AFlw-n.cjs +0 -1
  151. package/dist/vue-ui-galaxy-CbL5nONj.cjs +0 -1
  152. package/dist/vue-ui-gauge-BUV_hQND.cjs +0 -1
  153. package/dist/vue-ui-gizmo-B-LxuvDh.cjs +0 -1
  154. package/dist/vue-ui-heatmap-DW5StHKM.cjs +0 -1
  155. package/dist/vue-ui-molecule-DHBId4h4.cjs +0 -1
  156. package/dist/vue-ui-mood-radar-DSXB9l99.cjs +0 -1
  157. package/dist/vue-ui-nested-donuts-CEX2cvop.cjs +0 -17
  158. package/dist/vue-ui-onion-Iekdjs8b.cjs +0 -5
  159. package/dist/vue-ui-parallel-coordinate-plot-OlFoYL_3.cjs +0 -8
  160. package/dist/vue-ui-quadrant-CgJeo2zZ.cjs +0 -1
  161. package/dist/vue-ui-quick-chart-Du8lDPmh.cjs +0 -15
  162. package/dist/vue-ui-radar-BYk9DWnM.cjs +0 -1
  163. package/dist/vue-ui-relation-circle-8eoBav4O.cjs +0 -1
  164. package/dist/vue-ui-scatter-BnBI8qdt.cjs +0 -1
  165. package/dist/vue-ui-skeleton-pDeQ3NcD.cjs +0 -41
  166. package/dist/vue-ui-spark-trend-BW8k0jDd.cjs +0 -1
  167. package/dist/vue-ui-sparkbar-BbJHfAQj.cjs +0 -1
  168. package/dist/vue-ui-sparkgauge-BESRB8_4.cjs +0 -1
  169. package/dist/vue-ui-sparkhistogram-BYnSfLdb.cjs +0 -1
  170. package/dist/vue-ui-sparkline-D5WUy4p5.cjs +0 -1
  171. package/dist/vue-ui-sparkstackbar-Dy-IfQ3q.cjs +0 -1
  172. package/dist/vue-ui-stackbar-Ch-fmE9l.cjs +0 -6
  173. package/dist/vue-ui-strip-plot-BLRl-tF6.cjs +0 -1
  174. package/dist/vue-ui-thermometer-B07RI9fZ.cjs +0 -1
  175. package/dist/vue-ui-timer-CXrENAVg.cjs +0 -64
  176. package/dist/vue-ui-tiremarks-C43c4_IR.cjs +0 -1
  177. package/dist/vue-ui-treemap-BN90ISQv.cjs +0 -1
  178. package/dist/vue-ui-vertical-bar-BRDO_Rsu.cjs +0 -4
  179. package/dist/vue-ui-waffle-BN_yZEtJ.cjs +0 -1
  180. package/dist/vue-ui-wheel-50_zeiIW.cjs +0 -1
  181. package/dist/vue-ui-word-cloud-BVoFIb_q.cjs +0 -1
  182. package/dist/vue-ui-xy-CJHHesUD.cjs +0 -3
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("vue"),i=require("./index-BhH89oF0.cjs"),le=require("./useResponsive-B3TrDDIG.cjs"),ye=require("./Title-Bg_BK11V.cjs"),fe=require("./Legend-BQJV6Xk4.cjs"),ge=require("./Tooltip-lM1Jzkza.cjs"),be=require("./Shape-CgW0V2Og.cjs"),ae=require("./usePrinter-B8jr_V3b.cjs"),ke=require("./DataTable-CnkdsvIo.cjs"),xe=require("./vue-ui-accordion-Bzq1iTL2.cjs"),Ce=require("./vue-ui-skeleton-Cf89QIhl.cjs"),oe=require("./useNestedProp-m8IH8hWW.cjs"),we=require("./PackageVersion-LdLhc8hQ.cjs"),Be=require("./_plugin-vue_export-helper-BHFhmbuH.cjs"),Se=["id"],$e=["xmlns","viewBox"],ze={style:{"pointer-events":"none"}},Ne=["x1","x2","y1","y2","stroke","stroke-width"],_e=["x","y","fill","font-size","font-weight"],Te=["x1","x2","y1","y2","stroke","stroke-width"],Fe=["x","y","fill","font-size","font-weight"],Pe={key:0},Ae=["x","y","font-size","fill"],Me=["width","x","y"],Le={style:{width:"100%"}},Ee=["x","y","fill","font-weight","font-size","onMouseenter"],Ie=["d","stroke","stroke-width","onMouseenter"],Ve={key:3,class:"vue-data-ui-watermark"},De=["onClick"],Oe=["innerHTML"],qe={__name:"vue-ui-parallel-coordinate-plot",props:{config:{type:Object,default(){return{}}},dataset:{type:Array,default(){return[]}}},emits:["selectLegend","selectDatapoint"],setup(ne,{expose:se,emit:M}){const b=ne,{vue_ui_parallel_coordinate_plot:re}=i.useConfig(),x=e.computed({get(){return!!b.dataset&&b.dataset.length},set(l){return l}}),L=e.ref(0),w=e.ref(null),E=e.ref(null),I=e.ref(null),V=e.ref(0),D=e.ref(0),O=e.ref(0),N=e.ref(i.createUid()),B=e.ref(!1);function ie(l){B.value=l,L.value+=1}const t=e.computed({get:()=>q(),set:l=>l});function q(){const l=oe.useNestedProp({userConfig:b.config,defaultConfig:re});return l.theme?{...oe.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=q(),R(),V.value+=1,O.value+=1,D.value+=1},{deep:!0});const $=e.ref(null);e.onMounted(()=>{R()});function R(){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=le.throttle(()=>{const{width:o,height:a}=le.useResponsive({chart:w.value,title:t.value.style.chart.title.text?E.value:null,legend:t.value.style.chart.legend.show?I.value:null});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})});$.value=new ResizeObserver(l),$.value.observe(w.value.parentNode)}}e.onBeforeUnmount(()=>{$.value&&$.value.disconnect()});const{isPrinting:U,isImaging:W,generatePdf:j,generateImage:H}=ae.usePrinter({elementId:`pcp_${N.value}`,fileName:t.value.style.chart.title.text||"vue-ui-parallel-coordinate-plot"}),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}}),ue=e.computed(()=>i.convertCustomPalette(t.value.customPalette)),m=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 G(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)||ue.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"}})),ce=e.computed(()=>k.value.map(l=>({...l,opacity:f.value.includes(l.id)?.5:1,segregate:()=>G(l.id),isSegregated:f.value.includes(l.id)}))),de=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":""})),Y=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/Y.value),_=e.computed(()=>k.value.filter(l=>!f.value.includes(l.id))),h=e.computed(()=>{let l=[];for(let o=0;o<Y.value;o+=1){const a=Math.min(..._.value.flatMap(v=>v.series.map(z=>z.values[o]||0)||0)),n=Math.max(..._.value.flatMap(v=>v.series.map(z=>z.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,z)=>{const he=u.min<0?v+Math.abs(u.min):v-Math.abs(u.min),me=u.min<0?u.max+Math.abs(u.min):u.max-Math.abs(u.min);return{y:d.value.bottom-d.value.height*(he/me),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}),T=e.computed(()=>_.value.map((l,o)=>({...l,series:l.series.map((a,n)=>({...a,datapoints:a.values.map((r,s)=>{const u=h.value[s].scale.min<0?(r||0)+Math.abs(h.value[s].scale.min):(r||0)-Math.abs(h.value[s].scale.min),g=h.value[s].scale.min<0?h.value[s].scale.max+Math.abs(h.value[s].scale.min):h.value[s].scale.max-Math.abs(h.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 X({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),F=e.ref(null),S=e.ref(!1),P=e.ref("");function A({shape:l,serieName:o,serie:a,relativeIndex:n,seriesIndex:r}){F.value={serie:a,relativeIndex:n,seriesIndex:r,series:k.value,scales:h.value},S.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:h.value}))?P.value=u({serie:a,seriesIndex:a.seriesIndex,series:k.value,config:t.value,scales:h.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>`,h.value.map(g=>g.name).forEach((g,v)=>{s+=`
2
+ <div class="vue-ui-tooltip-item" style="text-align:left">
3
+ <span>${g}: </span>
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})}
6
+ </span>
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>`)}),P.value=`<div>${s}</div>`)}function ve(){return k.value}const C=e.computed(()=>{const l=[t.value.table.columnNames.series].concat([t.value.table.columnNames.item]).concat(h.value.map(r=>r.name)),o=T.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(h.value.map(r=>r.name));return{body:o,head:l,config:a,colNames:n}}),J=e.computed(()=>T.value.length===0?{head:[],body:[],config:{},columnNames:[]}:{head:C.value.head,body:C.value.body});function K(){const l=[[t.value.style.chart.title.text],[t.value.style.chart.title.subtitle.text],[""]],o=J.value.head,a=J.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 pe(l){M("selectDatapoint",l)}function Q(l){M("selectLegend",{...l,isSegregated:!l.isSegregated,opacity:l.isSegregated?1:.5})}function Z(){m.value.showTable=!m.value.showTable}function ee(){m.value.dataLabels.show=!m.value.dataLabels.show}function te(){m.value.showTooltip=!m.value.showTooltip}return se({getData:ve,generateCsv:K,generatePdf:j,generateImage:H,toggleTable:Z,toggleLabels:ee,toggleTooltip:te}),(l,o)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"pcpChart",ref:w,class:e.normalizeClass(`vue-ui-pcp ${B.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;${t.value.style.chart.title.text?"":"padding-top:36px"};background:${t.value.style.chart.backgroundColor};${t.value.responsive?"height:100%":""}`),id:`pcp_${N.value}`},[t.value.style.chart.title.text?(e.openBlock(),e.createElementBlock("div",{key:0,ref_key:"chartTitle",ref:E,style:"width:100%;background:transparent;padding-bottom:24px"},[(e.openBlock(),e.createBlock(ye._sfc_main,{key:`title_${V.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.openBlock(),e.createBlock(ae.UserOptions,{ref:"details",key:`user_options_${L.value}`,backgroundColor:t.value.style.chart.backgroundColor,color:t.value.style.chart.color,isPrinting:e.unref(U),isImaging:e.unref(W),uid:N.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:B.value,isTooltip:m.value.showTooltip,titles:{...t.value.userOptions.buttonTitles},chartElement:w.value,position:t.value.userOptions.position,onToggleFullscreen:ie,onGeneratePdf:e.unref(j),onGenerateCsv:K,onGenerateImage:e.unref(H),onToggleTable:Z,onToggleLabels:ee,onToggleTooltip:te},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]),1032,["backgroundColor","color","isPrinting","isImaging","uid","hasTooltip","hasPdf","hasXls","hasImg","hasTable","hasLabel","hasFullscreen","isFullscreen","isTooltip","titles","chartElement","position","onGeneratePdf","onGenerateImage"])):e.createCommentVNode("",!0),x.value?(e.openBlock(),e.createElementBlock("svg",{key:2,xmlns:e.unref(i.XMLNS),class:e.normalizeClass({"vue-data-ui-fullscreen--on":B.value,"vue-data-ui-fulscreen--off":!B.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(we._sfc_main),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(h.value,(a,n)=>(e.openBlock(),e.createElementBlock("g",ze,[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,Ne),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,_e),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&&!m.value.showTooltip?.2:1}`)},null,12,Te))),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&&!m.value.showTooltip?.2:1}`)},e.toDisplayString(X({value:r.value,index:n,datapoint:r})),13,Fe))),256))],64)):e.createCommentVNode("",!0)]))),256)),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(T.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",Pe,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(n.datapoints,s=>(e.openBlock(),e.createBlock(be._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=>A({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[0]||(o[0]=u=>{p.value=null,S.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:()=>pe(s)},null,8,["plot","color","shape","radius","stroke","onMouseenter","style","onClick"]))),256)),m.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,Ae)):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",Le,[e.renderSlot(l.$slots,"plot-comment",{plot:{...s,color:a.color}},void 0,!0)])],8,Me)):e.createCommentVNode("",!0)]))),256)):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),m.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=>A({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[1]||(o[1]=g=>{p.value=null,S.value=!1}),style:e.normalizeStyle(`opacity:${p.value?p.value===n.id?1:.2:1}`)},e.toDisplayString(X({value:s.value,index:u,datapoint:s})),45,Ee))),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=>A({shape:a.shape,serieName:a.name,serie:n,relativeIndex:r,seriesIndex:n.seriesIndex}),onMouseleave:o[2]||(o[2]=s=>{p.value=null,S.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,Ie)]))),256))]))),256)),e.renderSlot(l.$slots,"svg",{svg:d.value},void 0,!0)],14,$e)):e.createCommentVNode("",!0),l.$slots.watermark?(e.openBlock(),e.createElementBlock("div",Ve,[e.renderSlot(l.$slots,"watermark",e.normalizeProps(e.guardReactiveProps({isPrinting:e.unref(U)||e.unref(W)})),void 0,!0)])):e.createCommentVNode("",!0),x.value?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ce.default,{key:4,config:{type:"parallelCoordinatePlot",style:{backgroundColor:t.value.style.chart.backgroundColor}}},null,8,["config"])),e.createElementVNode("div",{ref_key:"chartLegend",ref:I},[t.value.style.chart.legend.show&&x.value?(e.openBlock(),e.createBlock(fe.Legend,{key:`legend_${D.value}`,legendSet:ce.value,config:de.value,onClickMarker:o[3]||(o[3]=({legend:a})=>{G(a.id),Q(a)})},{item:e.withCtx(({legend:a,index:n})=>[e.createElementVNode("div",{onClick:r=>{a.segregate(),Q(a)},style:e.normalizeStyle(`opacity:${f.value.includes(a.id)?.5:1}`)},e.toDisplayString(a.name),13,De)]),_:1},8,["legendSet","config"])):e.renderSlot(l.$slots,"legend",{key:1,legend:k.value},void 0,!0)],512),e.createVNode(ge._sfc_main,{show:m.value.showTooltip&&S.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:w.value,content:P.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({...F.value})),void 0,!0)]),"tooltip-after":e.withCtx(()=>[e.renderSlot(l.$slots,"tooltip-after",e.normalizeProps(e.guardReactiveProps({...F.value})),void 0,!0)]),_:3},8,["show","backgroundColor","color","fontSize","borderRadius","borderColor","borderWidth","backgroundOpacity","position","offsetY","parent","content","isCustom"]),x.value?(e.openBlock(),e.createBlock(xe.default,{key:5,hideDetails:"",config:{open:m.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(ke.DataTable,{key:`table_${O.value}`,colNames:C.value.colNames,head:C.value.head,body:C.value.body,config:C.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[4]||(o[4]=a=>m.value.showTable=!1)},{th:e.withCtx(({th:a})=>[e.createElementVNode("div",{innerHTML:a},null,8,Oe)]),td:e.withCtx(({td:a})=>[e.createTextVNode(e.toDisplayString(a),1)]),_:1},8,["colNames","head","body","config","title"]))]),_:1},8,["config"])):e.createCommentVNode("",!0)],14,Se))}},Re=Be._export_sfc(qe,[["__scopeId","data-v-88d09f11"]]);exports.default=Re;
@@ -1,20 +1,21 @@
1
- import { computed as f, ref as h, watch as Oe, onMounted as De, onBeforeUnmount as We, openBlock as u, createElementBlock as i, normalizeClass as B, normalizeStyle as z, createBlock as I, createCommentVNode as g, unref as A, createSlots as Ee, withCtx as b, renderSlot as x, normalizeProps as R, guardReactiveProps as j, Fragment as C, renderList as M, createElementVNode as F, toDisplayString as S, createVNode as Be, createTextVNode as Re } from "vue";
2
- import { u as je, c as J, t as Ue, a as Ve, p as U, o as Ge, e as xe, g as He, b as Xe, d as Ye, C as qe, P as Qe, Q as Je, R as Ke, X as Ze, x as ke, i as Ce, f as we, y as et, q as tt, r as at, E as V } from "./index-Ca4RHJ4t.js";
1
+ import { computed as f, ref as h, watch as De, onMounted as We, onBeforeUnmount as Ee, openBlock as i, createElementBlock as u, normalizeClass as B, normalizeStyle as z, createBlock as I, createCommentVNode as g, unref as A, createSlots as Be, withCtx as b, renderSlot as x, normalizeProps as R, guardReactiveProps as j, createVNode as xe, Fragment as C, renderList as M, createElementVNode as F, toDisplayString as S, createTextVNode as Re } from "vue";
2
+ import { u as je, c as J, t as Ue, a as Ve, p as U, o as Ge, e as ke, g as He, b as Xe, d as Ye, C as qe, P as Qe, Q as Je, R as Ke, X as Ze, x as Ce, i as we, f as $e, y as et, q as tt, r as at, E as V } from "./index-mBy4elhB.js";
3
3
  import { t as lt, u as ot } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as st } from "./Title-fAvrqioZ.js";
5
- import { L as nt } from "./Legend-BRG8ddDy.js";
6
- import { _ as ut } from "./Tooltip-TZYYFvPe.js";
7
- import { _ as it } from "./Shape-BcL3EDZ5.js";
8
- import { u as rt, U as ct } from "./usePrinter-5fwXghqP.js";
9
- import { D as vt } from "./DataTable-BmYcdJ1w.js";
10
- import dt from "./vue-ui-accordion-vYoYjedX.js";
11
- import ht from "./vue-ui-skeleton-D7aLznpP.js";
12
- import { u as $e } from "./useNestedProp-vP7uimPz.js";
13
- import { _ as pt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events": "none" } }, gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bt = ["x", "y", "fill", "font-size", "font-weight"], xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kt = ["x", "y", "fill", "font-size", "font-weight"], Ct = { key: 0 }, wt = ["x", "y", "font-size", "fill"], $t = ["width", "x", "y"], _t = { style: { width: "100%" } }, Tt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], zt = ["d", "stroke", "stroke-width", "onMouseenter"], At = {
4
+ import { _ as st } from "./Title-CECK1w9L.js";
5
+ import { L as nt } from "./Legend-WNL92WSx.js";
6
+ import { _ as it } from "./Tooltip-Ci3AprCm.js";
7
+ import { _ as ut } from "./Shape-DPvoEBm9.js";
8
+ import { u as rt, U as ct } from "./usePrinter-Ck-yukK2.js";
9
+ import { D as vt } from "./DataTable-BKc3r3k3.js";
10
+ import dt from "./vue-ui-accordion-dyF20BlD.js";
11
+ import ht from "./vue-ui-skeleton-DDhwPZd_.js";
12
+ import { u as _e } from "./useNestedProp-BrIRtQj1.js";
13
+ import { _ as pt } from "./PackageVersion-D9PU8glB.js";
14
+ import { _ as mt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const yt = ["id"], ft = ["xmlns", "viewBox"], gt = { style: { "pointer-events": "none" } }, bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], xt = ["x", "y", "fill", "font-size", "font-weight"], kt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = ["x", "y", "fill", "font-size", "font-weight"], wt = { key: 0 }, $t = ["x", "y", "font-size", "fill"], _t = ["width", "x", "y"], Tt = { style: { width: "100%" } }, zt = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter"], At = ["d", "stroke", "stroke-width", "onMouseenter"], Mt = {
15
16
  key: 3,
16
17
  class: "vue-data-ui-watermark"
17
- }, Mt = ["onClick"], It = ["innerHTML"], Ft = {
18
+ }, It = ["onClick"], Ft = ["innerHTML"], Pt = {
18
19
  __name: "vue-ui-parallel-coordinate-plot",
19
20
  props: {
20
21
  config: {
@@ -31,8 +32,8 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
31
32
  }
32
33
  },
33
34
  emits: ["selectLegend", "selectDatapoint"],
34
- setup(_e, { expose: Te, emit: K }) {
35
- const _ = _e, { vue_ui_parallel_coordinate_plot: ze } = je(), P = f({
35
+ setup(Te, { expose: ze, emit: K }) {
36
+ const _ = Te, { vue_ui_parallel_coordinate_plot: Ae } = je(), P = f({
36
37
  get() {
37
38
  return !!_.dataset && _.dataset.length;
38
39
  },
@@ -40,7 +41,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
40
41
  return t;
41
42
  }
42
43
  }), Z = h(0), L = h(null), ee = h(null), te = h(null), ae = h(0), le = h(0), oe = h(0), G = h(J()), O = h(!1);
43
- function Ae(t) {
44
+ function Me(t) {
44
45
  O.value = t, Z.value += 1;
45
46
  }
46
47
  const e = f({
@@ -48,27 +49,27 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
48
49
  set: (t) => t
49
50
  });
50
51
  function se() {
51
- const t = $e({
52
+ const t = _e({
52
53
  userConfig: _.config,
53
- defaultConfig: ze
54
+ defaultConfig: Ae
54
55
  });
55
56
  return t.theme ? {
56
- ...$e({
57
+ ..._e({
57
58
  userConfig: Ue.vue_ui_parallel_coordinate_plot[t.theme] || _.config,
58
59
  defaultConfig: t
59
60
  }),
60
61
  customPalette: Ve[t.theme] || U
61
62
  } : t;
62
63
  }
63
- Oe(() => _.config, (t) => {
64
+ De(() => _.config, (t) => {
64
65
  e.value = se(), ne(), ae.value += 1, oe.value += 1, le.value += 1;
65
66
  }, { deep: !0 });
66
67
  const W = h(null);
67
- De(() => {
68
+ We(() => {
68
69
  ne();
69
70
  });
70
71
  function ne() {
71
- if (Ge(_.dataset) ? xe({
72
+ if (Ge(_.dataset) ? ke({
72
73
  componentName: "VueUiParallelCoordinatePlot",
73
74
  type: "dataset"
74
75
  }) : _.dataset.forEach((t, l) => {
@@ -76,7 +77,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
76
77
  datasetObject: t,
77
78
  requiredAttributes: ["name", "series"]
78
79
  }).forEach((a) => {
79
- P.value = !1, xe({
80
+ P.value = !1, ke({
80
81
  componentName: "VueUiParallelCoordinatePlot",
81
82
  type: "datasetSerieAttribute",
82
83
  property: a,
@@ -119,10 +120,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
119
120
  W.value = new ResizeObserver(t), W.value.observe(L.value.parentNode);
120
121
  }
121
122
  }
122
- We(() => {
123
+ Ee(() => {
123
124
  W.value && W.value.disconnect();
124
125
  });
125
- const { isPrinting: ue, isImaging: ie, generatePdf: re, generateImage: ce } = rt({
126
+ const { isPrinting: ie, isImaging: ue, generatePdf: re, generateImage: ce } = rt({
126
127
  elementId: `pcp_${G.value}`,
127
128
  fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
128
129
  }), c = h({
@@ -146,7 +147,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
146
147
  right: s - l,
147
148
  bottom: n - a
148
149
  };
149
- }), Me = f(() => Xe(e.value.customPalette)), y = h({
150
+ }), Ie = f(() => Xe(e.value.customPalette)), y = h({
150
151
  dataLabels: {
151
152
  show: e.value.style.chart.yAxis.labels.datapoints.show
152
153
  },
@@ -157,7 +158,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
157
158
  w.value.includes(t) ? w.value = w.value.filter((l) => l !== t) : w.value.push(t);
158
159
  }
159
160
  const T = f(() => _.dataset.map((t, l) => {
160
- const a = Ye(t.color) || Me.value[l] || U[l] || U[l % U.length];
161
+ const a = Ye(t.color) || Ie.value[l] || U[l] || U[l % U.length];
161
162
  return {
162
163
  ...t,
163
164
  series: t.series.map((o) => ({
@@ -170,12 +171,12 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
170
171
  id: J(),
171
172
  shape: t.shape || "circle"
172
173
  };
173
- })), Ie = f(() => T.value.map((t) => ({
174
+ })), Fe = f(() => T.value.map((t) => ({
174
175
  ...t,
175
176
  opacity: w.value.includes(t.id) ? 0.5 : 1,
176
177
  segregate: () => ve(t.id),
177
178
  isSegregated: w.value.includes(t.id)
178
- }))), Fe = f(() => ({
179
+ }))), Pe = f(() => ({
179
180
  cy: "pcp-div-legend",
180
181
  backgroundColor: e.value.style.chart.legend.backgroundColor,
181
182
  color: e.value.style.chart.legend.color,
@@ -188,9 +189,9 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
188
189
  let t = [];
189
190
  for (let l = 0; l < de.value; l += 1) {
190
191
  const a = Math.min(...H.value.flatMap((d) => d.series.map((E) => E.values[l] || 0) || 0)), o = Math.max(...H.value.flatMap((d) => d.series.map((E) => E.values[l] || 0) || 0)), n = o === a ? a / 4 : a, s = o === a ? o * 2 : o, r = qe(n, s, e.value.style.chart.yAxis.scaleTicks), $ = r.ticks.map((d, E) => {
191
- const Se = r.min < 0 ? d + Math.abs(r.min) : d - Math.abs(r.min), Le = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
192
+ const Le = r.min < 0 ? d + Math.abs(r.min) : d - Math.abs(r.min), Oe = r.min < 0 ? r.max + Math.abs(r.min) : r.max - Math.abs(r.min);
192
193
  return {
193
- y: v.value.bottom - v.value.height * (Se / Le),
194
+ y: v.value.bottom - v.value.height * (Le / Oe),
194
195
  x: v.value.left + k.value * l + k.value / 2,
195
196
  value: d
196
197
  };
@@ -234,10 +235,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
234
235
  })
235
236
  })));
236
237
  function he({ value: t, index: l, datapoint: a }) {
237
- return Ce(
238
+ return we(
238
239
  e.value.style.chart.yAxis.labels.formatters[l] || null,
239
240
  t,
240
- we({
241
+ $e({
241
242
  p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
242
243
  v: t,
243
244
  s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
@@ -251,7 +252,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
251
252
  Y.value = { serie: a, relativeIndex: o, seriesIndex: n, series: T.value, scales: m.value }, D.value = !0, p.value = a.id;
252
253
  let s = "";
253
254
  const r = e.value.style.chart.tooltip.customFormat;
254
- ke(r) && et(() => r({
255
+ Ce(r) && et(() => r({
255
256
  serie: a,
256
257
  seriesIndex: a.seriesIndex,
257
258
  series: T.value,
@@ -268,10 +269,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
268
269
  <div class="vue-ui-tooltip-item" style="text-align:left">
269
270
  <span>${$}: </span>
270
271
  <span>
271
- ${Ce(
272
+ ${we(
272
273
  e.value.style.chart.yAxis.labels.formatters[d] || null,
273
274
  a.datapoints[d].value,
274
- we({
275
+ $e({
275
276
  p: e.value.style.chart.yAxis.labels.prefixes[d] || "",
276
277
  v: a.datapoints[d].value,
277
278
  s: e.value.style.chart.yAxis.labels.suffixes[d] || "",
@@ -284,7 +285,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
284
285
  `, e.value.style.chart.comments.showInTooltip && a.datapoints[d].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[d].comment}</div>`);
285
286
  }), q.value = `<div>${s}</div>`);
286
287
  }
287
- function Pe() {
288
+ function Ne() {
288
289
  return T.value;
289
290
  }
290
291
  const N = f(() => {
@@ -315,7 +316,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
315
316
  const t = [[e.value.style.chart.title.text], [e.value.style.chart.title.subtitle.text], [""]], l = pe.value.head, a = pe.value.body, o = t.concat([l]).concat(a), n = tt(o);
316
317
  at({ csvContent: n, title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot" });
317
318
  }
318
- function Ne(t) {
319
+ function Se(t) {
319
320
  K("selectDatapoint", t);
320
321
  }
321
322
  function ye(t) {
@@ -334,28 +335,28 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
334
335
  function be() {
335
336
  y.value.showTooltip = !y.value.showTooltip;
336
337
  }
337
- return Te({
338
- getData: Pe,
338
+ return ze({
339
+ getData: Ne,
339
340
  generateCsv: me,
340
341
  generatePdf: re,
341
342
  generateImage: ce,
342
343
  toggleTable: fe,
343
344
  toggleLabels: ge,
344
345
  toggleTooltip: be
345
- }), (t, l) => (u(), i("div", {
346
+ }), (t, l) => (i(), u("div", {
346
347
  ref_key: "pcpChart",
347
348
  ref: L,
348
349
  class: B(`vue-ui-pcp ${O.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
349
350
  style: z(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;${e.value.style.chart.title.text ? "" : "padding-top:36px"};background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
350
351
  id: `pcp_${G.value}`
351
352
  }, [
352
- e.value.style.chart.title.text ? (u(), i("div", {
353
+ e.value.style.chart.title.text ? (i(), u("div", {
353
354
  key: 0,
354
355
  ref_key: "chartTitle",
355
356
  ref: ee,
356
357
  style: "width:100%;background:transparent;padding-bottom:24px"
357
358
  }, [
358
- (u(), I(st, {
359
+ (i(), I(st, {
359
360
  key: `title_${ae.value}`,
360
361
  config: {
361
362
  title: {
@@ -369,13 +370,13 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
369
370
  }
370
371
  }, null, 8, ["config"]))
371
372
  ], 512)) : g("", !0),
372
- e.value.userOptions.show && P.value ? (u(), I(ct, {
373
+ e.value.userOptions.show && P.value ? (i(), I(ct, {
373
374
  ref: "details",
374
375
  key: `user_options_${Z.value}`,
375
376
  backgroundColor: e.value.style.chart.backgroundColor,
376
377
  color: e.value.style.chart.color,
377
- isPrinting: A(ue),
378
- isImaging: A(ie),
378
+ isPrinting: A(ie),
379
+ isImaging: A(ue),
379
380
  uid: G.value,
380
381
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
381
382
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -389,14 +390,14 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
389
390
  titles: { ...e.value.userOptions.buttonTitles },
390
391
  chartElement: L.value,
391
392
  position: e.value.userOptions.position,
392
- onToggleFullscreen: Ae,
393
+ onToggleFullscreen: Me,
393
394
  onGeneratePdf: A(re),
394
395
  onGenerateCsv: me,
395
396
  onGenerateImage: A(ce),
396
397
  onToggleTable: fe,
397
398
  onToggleLabels: ge,
398
399
  onToggleTooltip: be
399
- }, Ee({ _: 2 }, [
400
+ }, Be({ _: 2 }, [
400
401
  t.$slots.optionPdf ? {
401
402
  name: "optionPdf",
402
403
  fn: b(() => [
@@ -440,14 +441,15 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
440
441
  key: "5"
441
442
  } : void 0
442
443
  ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasXls", "hasImg", "hasTable", "hasLabel", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : g("", !0),
443
- P.value ? (u(), i("svg", {
444
+ P.value ? (i(), u("svg", {
444
445
  key: 2,
445
446
  xmlns: A(Ze),
446
447
  class: B({ "vue-data-ui-fullscreen--on": O.value, "vue-data-ui-fulscreen--off": !O.value }),
447
448
  viewBox: `0 0 ${v.value.chartWidth <= 0 ? 10 : v.value.chartWidth} ${v.value.chartHeight <= 0 ? 10 : v.value.chartHeight}`,
448
449
  style: z(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`)
449
450
  }, [
450
- (u(!0), i(C, null, M(m.value, (a, o) => (u(), i("g", ft, [
451
+ xe(pt),
452
+ (i(!0), u(C, null, M(m.value, (a, o) => (i(), u("g", gt, [
451
453
  F("line", {
452
454
  x1: v.value.left + k.value * o + k.value / 2,
453
455
  x2: v.value.left + k.value * o + k.value / 2,
@@ -455,7 +457,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
455
457
  y2: v.value.bottom,
456
458
  stroke: e.value.style.chart.yAxis.stroke,
457
459
  "stroke-width": e.value.style.chart.yAxis.strokeWidth
458
- }, null, 8, gt),
460
+ }, null, 8, bt),
459
461
  F("text", {
460
462
  x: v.value.left + k.value * o + k.value / 2,
461
463
  y: v.value.top - 24,
@@ -463,9 +465,9 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
463
465
  "font-size": c.value.axisNameFontSize,
464
466
  "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
465
467
  "text-anchor": "middle"
466
- }, S(a.name), 9, bt),
467
- e.value.style.chart.yAxis.labels.ticks.show ? (u(), i(C, { key: 0 }, [
468
- (u(!0), i(C, null, M(a.ticks, (n) => (u(), i("line", {
468
+ }, S(a.name), 9, xt),
469
+ e.value.style.chart.yAxis.labels.ticks.show ? (i(), u(C, { key: 0 }, [
470
+ (i(!0), u(C, null, M(a.ticks, (n) => (i(), u("line", {
469
471
  x1: n.x,
470
472
  x2: n.x - 10,
471
473
  y1: n.y,
@@ -473,8 +475,8 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
473
475
  stroke: e.value.style.chart.yAxis.stroke,
474
476
  "stroke-width": e.value.style.chart.yAxis.strokeWidth,
475
477
  style: z(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
476
- }, null, 12, xt))), 256)),
477
- (u(!0), i(C, null, M(a.ticks, (n) => (u(), i("text", {
478
+ }, null, 12, kt))), 256)),
479
+ (i(!0), u(C, null, M(a.ticks, (n) => (i(), u("text", {
478
480
  x: n.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
479
481
  y: n.y + e.value.style.chart.yAxis.labels.ticks.offsetY + c.value.ticksFontSize / 3,
480
482
  fill: e.value.style.chart.yAxis.labels.ticks.color,
@@ -482,13 +484,13 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
482
484
  "font-size": c.value.ticksFontSize,
483
485
  "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
484
486
  style: z(`opacity:${p.value && !y.value.showTooltip ? 0.2 : 1}`)
485
- }, S(he({ value: n.value, index: o, datapoint: n })), 13, kt))), 256))
487
+ }, S(he({ value: n.value, index: o, datapoint: n })), 13, Ct))), 256))
486
488
  ], 64)) : g("", !0)
487
489
  ]))), 256)),
488
- (u(!0), i(C, null, M(X.value, (a) => (u(), i("g", null, [
489
- (u(!0), i(C, null, M(a.series, (o, n) => (u(), i("g", null, [
490
- e.value.style.chart.plots.show ? (u(), i("g", Ct, [
491
- (u(!0), i(C, null, M(o.datapoints, (s) => (u(), I(it, {
490
+ (i(!0), u(C, null, M(X.value, (a) => (i(), u("g", null, [
491
+ (i(!0), u(C, null, M(a.series, (o, n) => (i(), u("g", null, [
492
+ e.value.style.chart.plots.show ? (i(), u("g", wt, [
493
+ (i(!0), u(C, null, M(o.datapoints, (s) => (i(), I(ut, {
492
494
  plot: { x: s.x, y: s.y },
493
495
  color: a.color,
494
496
  shape: a.shape,
@@ -506,10 +508,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
506
508
  p.value = null, D.value = !1;
507
509
  }),
508
510
  style: z(`opacity:${p.value ? p.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
509
- onClick: () => Ne(s)
511
+ onClick: () => Se(s)
510
512
  }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "style", "onClick"]))), 256)),
511
- y.value.showTooltip ? g("", !0) : (u(), i(C, { key: 0 }, [
512
- p.value && p.value === o.id && o.datapoints.length ? (u(), i("text", {
513
+ y.value.showTooltip ? g("", !0) : (i(), u(C, { key: 0 }, [
514
+ p.value && p.value === o.id && o.datapoints.length ? (i(), u("text", {
513
515
  key: 0,
514
516
  x: o.datapoints[0].x - c.value.ticksFontSize,
515
517
  y: o.datapoints[0].y + c.value.ticksFontSize / 3,
@@ -517,10 +519,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
517
519
  "font-size": c.value.ticksFontSize,
518
520
  fill: a.color,
519
521
  "font-weight": "bold"
520
- }, S(o.name), 9, wt)) : g("", !0)
522
+ }, S(o.name), 9, $t)) : g("", !0)
521
523
  ], 64)),
522
- e.value.style.chart.comments.show ? (u(!0), i(C, { key: 1 }, M(o.datapoints, (s) => (u(), i("g", null, [
523
- s.comment ? (u(), i("foreignObject", {
524
+ e.value.style.chart.comments.show ? (i(!0), u(C, { key: 1 }, M(o.datapoints, (s) => (i(), u("g", null, [
525
+ s.comment ? (i(), u("foreignObject", {
524
526
  key: 0,
525
527
  style: { overflow: "visible" },
526
528
  height: "12",
@@ -528,15 +530,15 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
528
530
  x: s.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
529
531
  y: s.y + e.value.style.chart.comments.offsetY + 6
530
532
  }, [
531
- F("div", _t, [
533
+ F("div", Tt, [
532
534
  x(t.$slots, "plot-comment", {
533
535
  plot: { ...s, color: a.color }
534
536
  }, void 0, !0)
535
537
  ])
536
- ], 8, $t)) : g("", !0)
538
+ ], 8, _t)) : g("", !0)
537
539
  ]))), 256)) : g("", !0)
538
540
  ])) : g("", !0),
539
- y.value.dataLabels.show || p.value && p.value === o.id ? (u(!0), i(C, { key: 1 }, M(o.datapoints, (s, r) => (u(), i("text", {
541
+ y.value.dataLabels.show || p.value && p.value === o.id ? (i(!0), u(C, { key: 1 }, M(o.datapoints, (s, r) => (i(), u("text", {
540
542
  x: s.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
541
543
  y: s.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + c.value.datapointFontSize / 3,
542
544
  fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
@@ -555,7 +557,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
555
557
  p.value = null, D.value = !1;
556
558
  }),
557
559
  style: z(`opacity:${p.value ? p.value === o.id ? 1 : 0.2 : 1}`)
558
- }, S(he({ value: s.value, index: r, datapoint: s })), 45, Tt))), 256)) : g("", !0),
560
+ }, S(he({ value: s.value, index: r, datapoint: s })), 45, zt))), 256)) : g("", !0),
559
561
  F("path", {
560
562
  d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
561
563
  stroke: a.color,
@@ -573,15 +575,15 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
573
575
  p.value = null, D.value = !1;
574
576
  }),
575
577
  style: z(`opacity:${p.value ? p.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}`)
576
- }, null, 46, zt)
578
+ }, null, 46, At)
577
579
  ]))), 256))
578
580
  ]))), 256)),
579
581
  x(t.$slots, "svg", { svg: v.value }, void 0, !0)
580
- ], 14, yt)) : g("", !0),
581
- t.$slots.watermark ? (u(), i("div", At, [
582
- x(t.$slots, "watermark", R(j({ isPrinting: A(ue) || A(ie) })), void 0, !0)
582
+ ], 14, ft)) : g("", !0),
583
+ t.$slots.watermark ? (i(), u("div", Mt, [
584
+ x(t.$slots, "watermark", R(j({ isPrinting: A(ie) || A(ue) })), void 0, !0)
583
585
  ])) : g("", !0),
584
- P.value ? g("", !0) : (u(), I(ht, {
586
+ P.value ? g("", !0) : (i(), I(ht, {
585
587
  key: 4,
586
588
  config: {
587
589
  type: "parallelCoordinatePlot",
@@ -594,10 +596,10 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
594
596
  ref_key: "chartLegend",
595
597
  ref: te
596
598
  }, [
597
- e.value.style.chart.legend.show && P.value ? (u(), I(nt, {
599
+ e.value.style.chart.legend.show && P.value ? (i(), I(nt, {
598
600
  key: `legend_${le.value}`,
599
- legendSet: Ie.value,
600
- config: Fe.value,
601
+ legendSet: Fe.value,
602
+ config: Pe.value,
601
603
  onClickMarker: l[3] || (l[3] = ({ legend: a }) => {
602
604
  ve(a.id), ye(a);
603
605
  })
@@ -608,7 +610,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
608
610
  a.segregate(), ye(a);
609
611
  },
610
612
  style: z(`opacity:${w.value.includes(a.id) ? 0.5 : 1}`)
611
- }, S(a.name), 13, Mt)
613
+ }, S(a.name), 13, It)
612
614
  ]),
613
615
  _: 1
614
616
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
@@ -616,7 +618,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
616
618
  legend: T.value
617
619
  }, void 0, !0)
618
620
  ], 512),
619
- Be(ut, {
621
+ xe(it, {
620
622
  show: y.value.showTooltip && D.value,
621
623
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
622
624
  color: e.value.style.chart.tooltip.color,
@@ -629,7 +631,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
629
631
  offsetY: e.value.style.chart.tooltip.offsetY,
630
632
  parent: L.value,
631
633
  content: q.value,
632
- isCustom: A(ke)(e.value.style.chart.tooltip.customFormat)
634
+ isCustom: A(Ce)(e.value.style.chart.tooltip.customFormat)
633
635
  }, {
634
636
  "tooltip-before": b(() => [
635
637
  x(t.$slots, "tooltip-before", R(j({ ...Y.value })), void 0, !0)
@@ -639,7 +641,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
639
641
  ]),
640
642
  _: 3
641
643
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
642
- P.value ? (u(), I(dt, {
644
+ P.value ? (i(), I(dt, {
643
645
  key: 5,
644
646
  hideDetails: "",
645
647
  config: {
@@ -656,7 +658,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
656
658
  }
657
659
  }, {
658
660
  content: b(() => [
659
- (u(), I(vt, {
661
+ (i(), I(vt, {
660
662
  key: `table_${oe.value}`,
661
663
  colNames: N.value.colNames,
662
664
  head: N.value.head,
@@ -666,7 +668,7 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
666
668
  onClose: l[4] || (l[4] = (a) => y.value.showTable = !1)
667
669
  }, {
668
670
  th: b(({ th: a }) => [
669
- F("div", { innerHTML: a }, null, 8, It)
671
+ F("div", { innerHTML: a }, null, 8, Ft)
670
672
  ]),
671
673
  td: b(({ td: a }) => [
672
674
  Re(S(a), 1)
@@ -676,9 +678,9 @@ const mt = ["id"], yt = ["xmlns", "viewBox"], ft = { style: { "pointer-events":
676
678
  ]),
677
679
  _: 1
678
680
  }, 8, ["config"])) : g("", !0)
679
- ], 14, mt));
681
+ ], 14, yt));
680
682
  }
681
- }, Gt = /* @__PURE__ */ pt(Ft, [["__scopeId", "data-v-28a3b1b3"]]);
683
+ }, Xt = /* @__PURE__ */ mt(Pt, [["__scopeId", "data-v-88d09f11"]]);
682
684
  export {
683
- Gt as default
685
+ Xt as default
684
686
  };