vue-data-ui 3.17.13 → 3.18.1

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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-Cj6W6Xbi.js +116 -0
  4. package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
  5. package/dist/BaseIcon-CEmt3Ifx.js +499 -0
  6. package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
  9. package/dist/ColorPicker-DS_QkH3W.js +255 -0
  10. package/dist/DataTable-BvDJEAma.js +150 -0
  11. package/dist/Legend-Gg5Q4Clb.js +114 -0
  12. package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
  13. package/dist/PackageVersion-DhDKg-ez.js +11 -0
  14. package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-DEGOZ6GG.js +141 -0
  19. package/dist/Slicer-BlfyiHHD.js +1144 -0
  20. package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
  21. package/dist/SparkTooltip-c2DL7gqD.js +93 -0
  22. package/dist/Title-__gWq2g6.js +87 -0
  23. package/dist/Tooltip-B7lmdbac.js +307 -0
  24. package/dist/UserOptions-DMw8EZEo.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-9WSt6hXe.js +237 -0
  99. package/dist/exposedLib-CwWU4zv-.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-BjOr008R.js +74 -0
  102. package/dist/labelUtils-Cr97N8E1.js +19 -0
  103. package/dist/lib-BkiwukKO.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-DSXSFUnK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4775 -627
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-BV0kTCnO.js +7431 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-Ck4hsrpu.js +10 -0
  186. package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-X0yWOynH.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-DIh8ayZc.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
  203. package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
  204. package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
  205. package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
  206. package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
  207. package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
  208. package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
  209. package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
  210. package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
  211. package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
  212. package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
  213. package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
  214. package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
  215. package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
  216. package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
  217. package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
  219. package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
  220. package/dist/vue-ui-flow-OK563Z46.js +1223 -0
  221. package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
  222. package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
  223. package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
  224. package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
  225. package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
  226. package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
  227. package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
  229. package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
  230. package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
  231. package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
  232. package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
  234. package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
  239. package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
  240. package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
  241. package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
  242. package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
  243. package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
  244. package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
  245. package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
  246. package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
  247. package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
  248. package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
  249. package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
  250. package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
  252. package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
  254. package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
  255. package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
  256. package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
  257. package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
  259. package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
  260. package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
  261. package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
  262. package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
  263. package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
  264. package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
  265. package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
  266. package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
  267. package/dist/vue-ui-world-CEevuFbk.js +14252 -0
  268. package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
  269. package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -0,0 +1,1413 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { B as t, G as n, H as r, I as i, It as a, J as o, Lt as ee, Rt as s, S as te, St as ne, Tt as re, X as ie, ct as ae, h as oe, i as se, k as ce, nt as le, ot as ue, pt as de, t as fe, x as pe, y as me, zt as he } from "./lib-BkiwukKO.js";
3
+ import { t as ge } from "./useConfig-BV0kTCnO.js";
4
+ import { t as _e } from "./usePrinter-X0yWOynH.js";
5
+ import { n as ve, t as ye } from "./BaseScanner-C7dmAref.js";
6
+ import { t as be } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as xe } from "./useNestedProp-Ck4hsrpu.js";
8
+ import { t as Se } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as Ce } from "./useTimeLabelCollider-Dm55Emzg.js";
10
+ import { t as we } from "./img-BjOr008R.js";
11
+ import { n as Te } from "./Title-__gWq2g6.js";
12
+ import { t as Ee } from "./Shape-DEGOZ6GG.js";
13
+ import { t as De } from "./_plugin-vue_export-helper-Dq1MygBL.js";
14
+ import { c as Oe } from "./canvas-lib-DTaADQOK.js";
15
+ import { t as ke } from "./useResponsive-CrAInupd.js";
16
+ import { t as Ae } from "./BaseLegendToggle-DUIqQmwM.js";
17
+ import { t as je } from "./A11yDataTable-q2-8fSlJ.js";
18
+ import { t as Me } from "./useUserOptionState-CjPJPTg2.js";
19
+ import { t as Ne } from "./useChartAccessibility-Do37qcw2.js";
20
+ import { t as Pe } from "./Legend-Gg5Q4Clb.js";
21
+ import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CNWrDh96.js";
22
+ import { Fragment as c, Teleport as Ie, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as He, onMounted as Ue, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as C, toRefs as Ke, unref as w, watch as qe, watchEffect as Je, withCtx as T } from "vue";
23
+ //#region src/components/vue-ui-parallel-coordinate-plot.vue
24
+ var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe = ["id"], $e = { style: { position: "relative" } }, et = [
25
+ "xmlns",
26
+ "aria-describedby",
27
+ "viewBox"
28
+ ], tt = [
29
+ "x",
30
+ "y",
31
+ "width",
32
+ "height"
33
+ ], nt = { style: { "pointer-events": "none" } }, rt = [
34
+ "x1",
35
+ "x2",
36
+ "y1",
37
+ "y2",
38
+ "stroke",
39
+ "stroke-width"
40
+ ], it = [
41
+ "x1",
42
+ "x2",
43
+ "y1",
44
+ "y2",
45
+ "stroke",
46
+ "stroke-width"
47
+ ], at = { key: 0 }, ot = [
48
+ "x",
49
+ "y",
50
+ "fill",
51
+ "font-size",
52
+ "font-weight"
53
+ ], st = [
54
+ "fill",
55
+ "font-size",
56
+ "font-weight",
57
+ "text-anchor",
58
+ "transform"
59
+ ], ct = [
60
+ "fill",
61
+ "font-size",
62
+ "font-weight",
63
+ "text-anchor",
64
+ "transform",
65
+ "innerHTML"
66
+ ], lt = { key: 0 }, ut = [
67
+ "x",
68
+ "y",
69
+ "font-size",
70
+ "fill"
71
+ ], dt = [
72
+ "width",
73
+ "x",
74
+ "y"
75
+ ], ft = { style: { width: "100%" } }, pt = [
76
+ "x",
77
+ "y",
78
+ "fill",
79
+ "font-weight",
80
+ "font-size",
81
+ "onMouseenter",
82
+ "onMouseleave",
83
+ "onClick"
84
+ ], mt = [
85
+ "d",
86
+ "stroke",
87
+ "stroke-width",
88
+ "onMouseenter",
89
+ "onMouseleave",
90
+ "onClick"
91
+ ], ht = [
92
+ "d",
93
+ "onMouseenter",
94
+ "onMouseleave",
95
+ "onClick"
96
+ ], gt = {
97
+ key: 0,
98
+ style: {
99
+ position: "absolute",
100
+ top: "100%",
101
+ left: "0",
102
+ width: "100%"
103
+ },
104
+ "data-dom-to-png-ignore": "",
105
+ "aria-hidden": "true"
106
+ }, _t = {
107
+ key: 5,
108
+ class: "vue-data-ui-watermark"
109
+ }, vt = ["id"], yt = ["onClick"], bt = ["innerHTML"], xt = /* @__PURE__ */ De({
110
+ __name: "vue-ui-parallel-coordinate-plot",
111
+ props: {
112
+ config: {
113
+ type: Object,
114
+ default() {
115
+ return {};
116
+ }
117
+ },
118
+ dataset: {
119
+ type: Array,
120
+ default() {
121
+ return [];
122
+ }
123
+ }
124
+ },
125
+ emits: [
126
+ "selectLegend",
127
+ "selectDatapoint",
128
+ "copyAlt"
129
+ ],
130
+ setup(e, { expose: De, emit: Ye }) {
131
+ let xt = m(() => import("./Tooltip-B7lmdbac.js")), St = m(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-cVv18nTV.js").then((e) => e.n)), wt = m(() => import("./DataTable-BvDJEAma.js")), Tt = m(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Et = m(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: kt } = ge(), { isThemeValid: At, warnInvalidTheme: jt } = Se(), E = e, Mt = l({
132
+ get() {
133
+ return !!E.dataset && E.dataset.length;
134
+ },
135
+ set(e) {
136
+ return e;
137
+ }
138
+ }), Nt = b(0), D = b(null), Pt = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(0), zt = b(0), Bt = b(0), Vt = b(!1), O = b(null), Ht = b(null), Ut = b(!1), Wt = b(!1), Gt = b(null), k = b(null), Kt = b({
139
+ x: 0,
140
+ y: 0
141
+ }), qt = b("pointer"), Jt = b(!1), A = b(r()), j = b(!1);
142
+ function Yt(e) {
143
+ j.value = e, Nt.value += 1;
144
+ }
145
+ let M = b(nn()), N = l(() => M.value.userOptions.useCursorPointer), Xt = l(() => he({
146
+ defaultConfig: {
147
+ useCssAnimation: !1,
148
+ userOptions: { show: !1 },
149
+ table: { show: !1 },
150
+ style: { chart: {
151
+ backgroundColor: "#99999930",
152
+ legend: {
153
+ show: !0,
154
+ backgroundColor: "transparent"
155
+ },
156
+ yAxis: {
157
+ stroke: "#6A6A6A",
158
+ labels: {
159
+ showAxisNames: !1,
160
+ axisNames: [],
161
+ ticks: { color: "#6A6A6A" }
162
+ }
163
+ }
164
+ } }
165
+ },
166
+ userConfig: M.value.skeletonConfig ?? {}
167
+ })), { loading: P, FINAL_DATASET: Zt, manualLoading: Qt } = ve({
168
+ ...Ke(E),
169
+ FINAL_CONFIG: M,
170
+ prepareConfig: nn,
171
+ callback: () => {
172
+ Promise.resolve().then(async () => {
173
+ await Ve(), V.value.showTable = M.value.table.show;
174
+ });
175
+ },
176
+ skeletonDataset: E.config?.skeletonDataset ?? [
177
+ {
178
+ name: "",
179
+ shape: "circle",
180
+ color: "transparent",
181
+ series: [{
182
+ name: "",
183
+ values: [
184
+ 1,
185
+ 10,
186
+ 100,
187
+ 1e3
188
+ ]
189
+ }]
190
+ },
191
+ {
192
+ name: "",
193
+ shape: "circle",
194
+ color: "#CACACA",
195
+ series: [{
196
+ name: "",
197
+ values: [
198
+ .2,
199
+ 3,
200
+ 50,
201
+ 800
202
+ ]
203
+ }]
204
+ },
205
+ {
206
+ name: "",
207
+ shape: "circle",
208
+ color: "transparent",
209
+ series: [{
210
+ name: "",
211
+ values: [
212
+ 0,
213
+ 0,
214
+ 0,
215
+ 0
216
+ ]
217
+ }]
218
+ }
219
+ ],
220
+ skeletonConfig: he({
221
+ defaultConfig: M.value,
222
+ userConfig: Xt.value
223
+ })
224
+ }), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Me({ config: M.value }), { svgRef: F } = Ne({ config: M.value.style.chart.title });
225
+ function nn() {
226
+ let e = xe({
227
+ userConfig: E.config,
228
+ defaultConfig: kt
229
+ }), t = e.theme;
230
+ if (!t) return e;
231
+ if (!At.value(e)) return jt(e), e;
232
+ let n = xe({
233
+ userConfig: Fe[t] || E.config,
234
+ defaultConfig: e
235
+ }), r = xe({
236
+ userConfig: E.config,
237
+ defaultConfig: n
238
+ });
239
+ return {
240
+ ...r,
241
+ customPalette: r.customPalette.length ? r.customPalette : ee[t] || re
242
+ };
243
+ }
244
+ qe(() => E.config, (e) => {
245
+ P.value || (M.value = nn()), $t.value = !M.value.userOptions.showOnChartHover, an(), Rt.value += 1, Bt.value += 1, zt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
246
+ }, { deep: !0 }), qe(() => E.dataset, (e) => {
247
+ Array.isArray(e) && e.length > 0 && (Qt.value = !1);
248
+ }, { deep: !0 });
249
+ let I = Ge(null), L = Ge(null);
250
+ Ue(() => {
251
+ Vt.value = !0, an();
252
+ });
253
+ let rn = l(() => !!M.value.debug);
254
+ function an() {
255
+ if (ne(E.dataset) ? (ie({
256
+ componentName: "VueUiParallelCoordinatePlot",
257
+ type: "dataset",
258
+ debug: rn.value
259
+ }), Qt.value = !0) : E.dataset.forEach((e, t) => {
260
+ ue({
261
+ datasetObject: e,
262
+ requiredAttributes: ["name", "series"]
263
+ }).forEach((e) => {
264
+ Mt.value = !1, ie({
265
+ componentName: "VueUiParallelCoordinatePlot",
266
+ type: "datasetSerieAttribute",
267
+ property: e,
268
+ index: t,
269
+ debug: rn.value
270
+ });
271
+ });
272
+ }), ne(E.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
273
+ let e = Oe(() => {
274
+ let { width: e, height: t } = ke({
275
+ chart: D.value,
276
+ title: M.value.style.chart.title.text ? Pt.value : null,
277
+ legend: M.value.style.chart.legend.show ? Ft.value : null,
278
+ source: It.value,
279
+ noTitle: Lt.value
280
+ });
281
+ requestAnimationFrame(() => {
282
+ R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = s({
283
+ relator: Math.min(e, t),
284
+ adjuster: 600,
285
+ source: M.value.style.chart.plots.radius,
286
+ threshold: 2,
287
+ fallback: 2
288
+ }), R.value.ticksFontSize = s({
289
+ relator: Math.min(e, t),
290
+ adjuster: 600,
291
+ source: M.value.style.chart.yAxis.labels.ticks.fontSize,
292
+ threshold: 10,
293
+ fallback: 10
294
+ }), R.value.datapointFontSize = s({
295
+ relator: Math.min(e, t),
296
+ adjuster: 600,
297
+ source: M.value.style.chart.yAxis.labels.datapoints.fontSize,
298
+ threshold: 10,
299
+ fallback: 10
300
+ }), R.value.axisNameFontSize = s({
301
+ relator: Math.min(e, t),
302
+ adjuster: 600,
303
+ source: M.value.style.chart.yAxis.labels.axisNamesFontSize,
304
+ threshold: 12,
305
+ fallback: 12
306
+ })) : (R.value.plotSize = M.value.style.chart.plots.radius, R.value.ticksFontSize = M.value.style.chart.yAxis.labels.ticks.fontSize, R.value.datapointFontSize = M.value.style.chart.yAxis.labels.datapoints.fontSize, R.value.axisNameFontSize = M.value.style.chart.yAxis.labels.axisNamesFontSize);
307
+ });
308
+ });
309
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
310
+ }
311
+ }
312
+ He(() => {
313
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
314
+ });
315
+ let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
316
+ elementId: `pcp_${A.value}`,
317
+ fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
318
+ options: M.value.userOptions.print
319
+ }), un = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
320
+ height: M.value.style.chart.height,
321
+ width: M.value.style.chart.width,
322
+ plotSize: M.value.style.chart.plots.radius,
323
+ ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
324
+ datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
325
+ axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
326
+ }), dn = l(() => R.value.width), fn = l(() => R.value.height), z = b(0), pn = Oe((e) => {
327
+ z.value = e;
328
+ }, 100);
329
+ Je((e) => {
330
+ let t = Gt.value;
331
+ if (!t) return;
332
+ let n = new ResizeObserver((e) => {
333
+ pn(e[0].contentRect.height);
334
+ });
335
+ n.observe(t), e(() => n.disconnect());
336
+ });
337
+ let B = l(() => {
338
+ let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = fn.value, a = dn.value;
339
+ return {
340
+ chartHeight: Math.max(.001, i),
341
+ chartWidth: Math.max(.001, a),
342
+ height: Math.max(.001, i - e - n - z.value - R.value.datapointFontSize * 2),
343
+ width: Math.max(.001, a - r - t),
344
+ top: e + z.value + R.value.datapointFontSize,
345
+ left: r,
346
+ right: a - t,
347
+ bottom: i - n - R.value.datapointFontSize
348
+ };
349
+ }), mn = l(() => pe(M.value.customPalette)), V = b({
350
+ dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
351
+ showTable: M.value.table.show,
352
+ showTooltip: M.value.style.chart.tooltip.show
353
+ });
354
+ qe(M, () => {
355
+ V.value = {
356
+ dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
357
+ showTable: M.value.table.show,
358
+ showTooltip: M.value.style.chart.tooltip.show
359
+ };
360
+ }, { immediate: !0 });
361
+ let H = b([]);
362
+ function hn() {
363
+ H.value.length ? H.value = [] : W.value.forEach((e) => {
364
+ H.value.push(e.id);
365
+ });
366
+ }
367
+ function gn(e) {
368
+ H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e);
369
+ }
370
+ let U = l(() => Zt.value.map((e, t) => {
371
+ let n = me(e.color) || mn.value[t] || re[t] || re[t % re.length];
372
+ return {
373
+ ...e,
374
+ series: e.series.map((e) => ({
375
+ ...e,
376
+ id: r(),
377
+ color: n
378
+ })),
379
+ seriesIndex: t,
380
+ color: n,
381
+ id: r(),
382
+ shape: e.shape || "circle"
383
+ };
384
+ }));
385
+ function _n(e) {
386
+ return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
387
+ }
388
+ function vn(e) {
389
+ let t = _n(e);
390
+ t !== null && H.value.includes(t.id) && gn(t.id);
391
+ }
392
+ function yn(e) {
393
+ let t = _n(e);
394
+ t !== null && (H.value.includes(t.id) || gn(t.id));
395
+ }
396
+ let W = l(() => U.value.map((e) => ({
397
+ ...e,
398
+ opacity: H.value.includes(e.id) ? .5 : 1,
399
+ segregate: () => gn(e.id),
400
+ isSegregated: H.value.includes(e.id),
401
+ shape: e.shape || "circle"
402
+ }))), bn = l(() => ({
403
+ cy: "pcp-div-legend",
404
+ backgroundColor: M.value.style.chart.legend.backgroundColor,
405
+ color: M.value.style.chart.legend.color,
406
+ fontSize: M.value.style.chart.legend.fontSize,
407
+ paddingBottom: 12,
408
+ fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
409
+ })), xn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / xn.value), Sn = l(() => U.value.filter((e) => !H.value.includes(e.id))), K = l(() => {
410
+ let e = [];
411
+ for (let t = 0; t < xn.value; t += 1) {
412
+ let n = Math.min(...Sn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...Sn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = oe(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
413
+ let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
414
+ return {
415
+ y: B.value.bottom - B.value.height * (r / a),
416
+ x: B.value.left + G.value * t + G.value / 2,
417
+ value: e
418
+ };
419
+ });
420
+ e.push({
421
+ scale: i,
422
+ ticks: a,
423
+ name: M.value.style.chart.yAxis.labels.axisNames[t] || `Y-${t + 1}`
424
+ });
425
+ }
426
+ return e;
427
+ }), q = l(() => Sn.value.map((e, t) => ({
428
+ ...e,
429
+ series: e.series.map((n, r) => ({
430
+ ...n,
431
+ datapoints: n.values.map((i, a) => {
432
+ let o = K.value[a].scale.min < 0 ? (i || 0) + Math.abs(K.value[a].scale.min) : (i || 0) - Math.abs(K.value[a].scale.min), ee = K.value[a].scale.min < 0 ? K.value[a].scale.max + Math.abs(K.value[a].scale.min) : K.value[a].scale.max - Math.abs(K.value[a].scale.min);
433
+ return {
434
+ name: n.name,
435
+ seriesName: e.name,
436
+ axisIndex: a,
437
+ datapointIndex: r,
438
+ seriesIndex: t,
439
+ value: i || 0,
440
+ x: B.value.left + G.value * a + G.value / 2,
441
+ y: B.value.bottom - B.value.height * (o / ee),
442
+ comment: n.comments && n.comments[a] || ""
443
+ };
444
+ })
445
+ }))
446
+ })).map((e) => ({
447
+ ...e,
448
+ series: e.series.map((e) => {
449
+ let t = i(e.datapoints), n = ce(e.datapoints, .12), r = ae(M.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
450
+ return {
451
+ ...e,
452
+ smoothPath: n,
453
+ straightPath: t,
454
+ pathLength: r
455
+ };
456
+ })
457
+ }))), J = l(() => q.value.flatMap((e, t) => e.series.map((n, r) => ({
458
+ shape: e.shape,
459
+ serieName: e.name,
460
+ serie: n,
461
+ relativeIndex: r,
462
+ seriesIndex: n.seriesIndex,
463
+ S: t,
464
+ key: `${t}_${r}`
465
+ }))));
466
+ function Cn({ value: e, index: t, datapoint: r }) {
467
+ return se(M.value.style.chart.yAxis.labels.formatters[t] || null, e, n({
468
+ p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
469
+ v: e,
470
+ s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
471
+ r: M.value.style.chart.yAxis.labels.roundings[t] || 0
472
+ }), {
473
+ datapoint: r,
474
+ seriesIndex: t
475
+ });
476
+ }
477
+ let Y = b(null), wn = b(null), Tn = b(!1), En = b("");
478
+ function X({ shape: e, serie: t, S: n }) {
479
+ M.value.events.datapointLeave && M.value.events.datapointLeave({
480
+ datapoint: {
481
+ ...t,
482
+ shape: e
483
+ },
484
+ seriesIndex: n
485
+ });
486
+ let r = k.value === null ? null : J.value[k.value];
487
+ qt.value === "keyboard" && r && r.serie.id === t.id || (Y.value = null, Tn.value = !1);
488
+ }
489
+ function Dn(e) {
490
+ if (!F.value || !e?.datapoints?.length) return;
491
+ let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
492
+ if (!t) return;
493
+ let n = a(t.x, t.y, F.value);
494
+ n && (Kt.value = n);
495
+ }
496
+ function Z({ shape: e, serieName: t, serie: r, relativeIndex: i, seriesIndex: a, S: o, triggerMode: ee = "pointer" }) {
497
+ M.value.events.datapointEnter && M.value.events.datapointEnter({
498
+ datapoint: {
499
+ ...r,
500
+ shape: e
501
+ },
502
+ seriesIndex: o
503
+ }), qt.value = ee, wn.value = {
504
+ config: M.value,
505
+ datapoint: r,
506
+ serie: r,
507
+ relativeIndex: i,
508
+ seriesIndex: a,
509
+ series: U.value,
510
+ scales: K.value
511
+ }, Tn.value = !0, Y.value = r.id;
512
+ let s = "", te = M.value.style.chart.tooltip.customFormat;
513
+ de(te) && le(() => te({
514
+ serie: r,
515
+ seriesIndex: r.seriesIndex,
516
+ series: U.value,
517
+ config: M.value,
518
+ scales: K.value
519
+ })) ? En.value = te({
520
+ serie: r,
521
+ seriesIndex: r.seriesIndex,
522
+ series: U.value,
523
+ config: M.value,
524
+ scales: K.value
525
+ }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${r.name}</div>`, K.value.map((e) => e.name).forEach((e, t) => {
526
+ s += `
527
+ <div class="vue-ui-tooltip-item" style="text-align:left">
528
+ <span>${e}: </span>
529
+ <span>
530
+ ${se(M.value.style.chart.yAxis.labels.formatters[t] || null, r.datapoints[t].value, n({
531
+ p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
532
+ v: r.datapoints[t].value,
533
+ s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
534
+ r: M.value.style.chart.yAxis.labels.roundings[t] || ""
535
+ }), {
536
+ datapoint: r.datapoints[t],
537
+ seriesIndex: t
538
+ })}
539
+ </span>
540
+ </div>
541
+ `, M.value.style.chart.comments.showInTooltip && r.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${r.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${r.color}">${r.datapoints[t].comment}</div>`);
542
+ }), En.value = `<div>${s}</div>`), ee === "keyboard" && Ve(() => {
543
+ Dn(r);
544
+ });
545
+ }
546
+ function On() {
547
+ return U.value;
548
+ }
549
+ let Q = l(() => {
550
+ let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(K.value.map((e) => e.name));
551
+ return {
552
+ body: q.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
553
+ head: e,
554
+ config: {
555
+ th: {
556
+ backgroundColor: M.value.table.th.backgroundColor,
557
+ color: M.value.table.th.color,
558
+ outline: M.value.table.th.outline
559
+ },
560
+ td: {
561
+ backgroundColor: M.value.table.td.backgroundColor,
562
+ color: M.value.table.td.color,
563
+ outline: M.value.table.td.outline
564
+ },
565
+ breakpoint: M.value.table.responsiveBreakpoint
566
+ },
567
+ colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(K.value.map((e) => e.name))
568
+ };
569
+ }), kn = l(() => q.value.length === 0 ? {
570
+ head: [],
571
+ body: [],
572
+ config: {},
573
+ columnNames: []
574
+ } : {
575
+ head: Q.value.head,
576
+ body: Q.value.body
577
+ });
578
+ function An(e = null) {
579
+ let t = [
580
+ [M.value.style.chart.title.text],
581
+ [M.value.style.chart.title.subtitle.text],
582
+ [""]
583
+ ], n = kn.value.head, r = kn.value.body, i = te(t.concat([n]).concat(r));
584
+ e ? e(i) : o({
585
+ csvContent: i,
586
+ title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
587
+ });
588
+ }
589
+ let jn = Ye;
590
+ function $({ serie: e, shape: t, S: n }) {
591
+ M.value.events.datapointClick && M.value.events.datapointClick({
592
+ datapoint: {
593
+ ...e,
594
+ shape: t
595
+ },
596
+ seriesIndex: n
597
+ }), jn("selectDatapoint", e);
598
+ }
599
+ function Mn(e) {
600
+ jn("selectLegend", {
601
+ ...e,
602
+ isSegregated: !e.isSegregated,
603
+ opacity: e.isSegregated ? 1 : .5
604
+ });
605
+ }
606
+ function Nn() {
607
+ V.value.showTable = !V.value.showTable;
608
+ }
609
+ function Pn() {
610
+ V.value.dataLabels.show = !V.value.dataLabels.show;
611
+ }
612
+ function Fn() {
613
+ V.value.showTooltip = !V.value.showTooltip;
614
+ }
615
+ let In = b(!1);
616
+ function Ln() {
617
+ In.value = !In.value;
618
+ }
619
+ async function Rn({ scale: e = 2 } = {}) {
620
+ if (!D.value) return;
621
+ let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
622
+ domElement: D.value,
623
+ base64: !0,
624
+ img: !0,
625
+ scale: e
626
+ });
627
+ return {
628
+ imageUri: i,
629
+ base64: a,
630
+ title: M.value.style.chart.title.text,
631
+ width: t,
632
+ height: n,
633
+ aspectRatio: r
634
+ };
635
+ }
636
+ let zn = b({
637
+ start: 0,
638
+ end: 1
639
+ });
640
+ Ce({
641
+ timeLabelsEls: Gt,
642
+ timeLabels: l(() => K.value.map((e) => e.name)),
643
+ slicer: zn,
644
+ configRef: M,
645
+ rotationPath: [
646
+ "style",
647
+ "chart",
648
+ "yAxis",
649
+ "labels",
650
+ "axisNamesRotation"
651
+ ],
652
+ autoRotatePath: [
653
+ "style",
654
+ "chart",
655
+ "yAxis",
656
+ "labels",
657
+ "axisNamesAutoRotate",
658
+ "enable"
659
+ ],
660
+ isAutoSize: !1,
661
+ width: dn,
662
+ height: fn,
663
+ targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
664
+ rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
665
+ });
666
+ let Bn = l(() => {
667
+ let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
668
+ return {
669
+ component: e ? Ot : Ct,
670
+ title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
671
+ props: e ? {
672
+ backgroundColor: M.value.table.th.backgroundColor,
673
+ color: M.value.table.th.color,
674
+ headerColor: M.value.table.th.color,
675
+ headerBg: M.value.table.th.backgroundColor,
676
+ isFullscreen: j.value,
677
+ fullscreenParent: D.value,
678
+ forcedWidth: Math.min(800, window.innerWidth * .8),
679
+ isCursorPointer: N.value
680
+ } : {
681
+ hideDetails: !0,
682
+ config: {
683
+ open: t,
684
+ maxHeight: 1e4,
685
+ body: {
686
+ backgroundColor: M.value.style.chart.backgroundColor,
687
+ color: M.value.style.chart.color
688
+ },
689
+ head: {
690
+ backgroundColor: M.value.style.chart.backgroundColor,
691
+ color: M.value.style.chart.color
692
+ }
693
+ }
694
+ }
695
+ };
696
+ });
697
+ qe(() => V.value.showTable, (e) => {
698
+ M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
699
+ });
700
+ function Vn() {
701
+ V.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
702
+ }
703
+ let Hn = l(() => M.value.style.chart.backgroundColor), Un = l(() => M.value.style.chart.legend), { exportSvg: Wn, getSvg: Gn } = be({
704
+ svg: F,
705
+ title: l(() => M.value.style.chart.title),
706
+ legend: Un,
707
+ legendItems: W,
708
+ backgroundColor: Hn
709
+ });
710
+ async function Kn({ isCb: e }) {
711
+ Wt.value = !0, await Ve();
712
+ try {
713
+ if (e) {
714
+ let { blob: e, url: t, text: n, dataUrl: r } = await Gn();
715
+ await Promise.resolve(M.value.userOptions.callbacks.svg({
716
+ blob: e,
717
+ url: t,
718
+ text: n,
719
+ dataUrl: r
720
+ }));
721
+ } else await Promise.resolve(Wn());
722
+ } finally {
723
+ Wt.value = !1;
724
+ }
725
+ }
726
+ function qn(e) {
727
+ if (e?.stage === "start") {
728
+ Ut.value = !0;
729
+ return;
730
+ }
731
+ if (e?.stage === "end") {
732
+ Ut.value = !1;
733
+ return;
734
+ }
735
+ ln();
736
+ }
737
+ async function Jn() {
738
+ if (jn("copyAlt", {
739
+ config: M.value,
740
+ dataset: q.value
741
+ }), !M.value.userOptions.callbacks.altCopy) {
742
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
743
+ return;
744
+ }
745
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
746
+ config: M.value,
747
+ dataset: q.value
748
+ }));
749
+ }
750
+ function Yn(e) {
751
+ let t = J.value.length;
752
+ return t ? (e % t + t) % t : null;
753
+ }
754
+ function Xn() {
755
+ if (k.value !== null) {
756
+ let e = J.value[k.value];
757
+ e && X({
758
+ shape: e.shape,
759
+ serie: e.serie,
760
+ S: e.S
761
+ });
762
+ }
763
+ k.value = null, qt.value = "pointer", Y.value = null, Tn.value = !1;
764
+ }
765
+ function Zn() {
766
+ k.value = null, Jt.value = !0;
767
+ }
768
+ function Qn() {
769
+ Xn(), Jt.value = !1;
770
+ }
771
+ function $n(e) {
772
+ if (!F.value || In.value || document.activeElement !== F.value || !J.value.length) return;
773
+ let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
774
+ if (!t && !n && !r && !i) return;
775
+ if (e.preventDefault(), e.stopPropagation(), i) {
776
+ Xn();
777
+ return;
778
+ }
779
+ if (r) {
780
+ if (k.value === null) return;
781
+ let e = J.value[k.value];
782
+ if (!e) return;
783
+ $({
784
+ serie: e.serie,
785
+ shape: e.shape,
786
+ S: e.S
787
+ });
788
+ return;
789
+ }
790
+ let a = k.value;
791
+ a = a === null ? n ? 0 : J.value.length - 1 : Yn(a + (n ? 1 : -1));
792
+ let o = J.value[a];
793
+ o && (k.value = a, Z({
794
+ shape: o.shape,
795
+ serieName: o.serieName,
796
+ serie: o.serie,
797
+ relativeIndex: o.relativeIndex,
798
+ seriesIndex: o.seriesIndex,
799
+ S: o.S,
800
+ triggerMode: "keyboard"
801
+ }));
802
+ }
803
+ let er = l(() => ({
804
+ head: Q.value.head,
805
+ body: Q.value.body.map((e) => [
806
+ e[0] ?? "",
807
+ e[1] ?? "",
808
+ ...e.slice(2)
809
+ ]),
810
+ caption: M.value.a11y.translations.tableCaption,
811
+ notice: M.value.a11y.translations.tableAvailable
812
+ }));
813
+ return De({
814
+ getData: On,
815
+ getImage: Rn,
816
+ generateCsv: An,
817
+ generatePdf: cn,
818
+ generateImage: ln,
819
+ generateSvg: Kn,
820
+ hideSeries: yn,
821
+ showSeries: vn,
822
+ toggleTable: Nn,
823
+ toggleLabels: Pn,
824
+ toggleTooltip: Fn,
825
+ toggleAnnotator: Ln,
826
+ toggleFullscreen: Yt,
827
+ copyAlt: Jn
828
+ }), (e, n) => (y(), f("div", {
829
+ ref_key: "pcpChart",
830
+ ref: D,
831
+ class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
832
+ style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
833
+ id: `pcp_${A.value}`,
834
+ onMouseenter: n[2] ||= () => w(en)(!0),
835
+ onMouseleave: n[3] ||= () => w(en)(!1)
836
+ }, [
837
+ p("div", {
838
+ id: `chart-instructions-${A.value}`,
839
+ class: "sr-only"
840
+ }, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
841
+ er.value.body.length ? (y(), u(je, {
842
+ key: 0,
843
+ uid: A.value,
844
+ head: er.value.head,
845
+ body: er.value.body,
846
+ caption: er.value.caption,
847
+ notice: er.value.notice
848
+ }, null, 8, [
849
+ "uid",
850
+ "head",
851
+ "body",
852
+ "caption",
853
+ "notice"
854
+ ])) : d("", !0),
855
+ M.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
856
+ key: 1,
857
+ svgRef: w(F),
858
+ backgroundColor: M.value.style.chart.backgroundColor,
859
+ color: M.value.style.chart.color,
860
+ active: In.value,
861
+ isCursorPointer: N.value,
862
+ onClose: Ln
863
+ }, {
864
+ "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
865
+ "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
866
+ "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
867
+ "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
868
+ "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
869
+ "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
870
+ _: 3
871
+ }, 8, [
872
+ "svgRef",
873
+ "backgroundColor",
874
+ "color",
875
+ "active",
876
+ "isCursorPointer"
877
+ ])) : d("", !0),
878
+ un.value ? (y(), f("div", {
879
+ key: 2,
880
+ ref_key: "noTitle",
881
+ ref: Lt,
882
+ class: "vue-data-ui-no-title-space",
883
+ style: "height:36px; width: 100%;background:transparent"
884
+ }, null, 512)) : d("", !0),
885
+ M.value.style.chart.title.text ? (y(), f("div", {
886
+ key: 3,
887
+ ref_key: "chartTitle",
888
+ ref: Pt,
889
+ style: "width:100%;background:transparent;padding-bottom:24px"
890
+ }, [(y(), u(Te, {
891
+ key: `title_${Rt.value}`,
892
+ config: {
893
+ title: {
894
+ cy: "pcp-div-title",
895
+ ...M.value.style.chart.title
896
+ },
897
+ subtitle: {
898
+ cy: "pcp-div-subtitle",
899
+ ...M.value.style.chart.title.subtitle
900
+ }
901
+ }
902
+ }, null, 8, ["config"]))], 512)) : d("", !0),
903
+ p("div", { id: `legend-top-${A.value}` }, null, 8, Qe),
904
+ M.value.userOptions.show && Mt.value && (w(tn) || w($t)) ? (y(), u(w(Et), {
905
+ ref_key: "userOptionsRef",
906
+ ref: Ht,
907
+ key: `user_options_${Nt.value}`,
908
+ backgroundColor: M.value.style.chart.backgroundColor,
909
+ color: M.value.style.chart.color,
910
+ isPrinting: w(on),
911
+ isImaging: w(sn),
912
+ uid: A.value,
913
+ hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
914
+ hasPdf: M.value.userOptions.buttons.pdf,
915
+ hasXls: M.value.userOptions.buttons.csv,
916
+ hasImg: M.value.userOptions.buttons.img,
917
+ hasSvg: M.value.userOptions.buttons.svg,
918
+ hasTable: M.value.userOptions.buttons.table,
919
+ hasLabel: M.value.userOptions.buttons.labels,
920
+ hasFullscreen: M.value.userOptions.buttons.fullscreen,
921
+ hasAltCopy: M.value.userOptions.buttons.altCopy,
922
+ isFullscreen: j.value,
923
+ isTooltip: V.value.showTooltip,
924
+ titles: { ...M.value.userOptions.buttonTitles },
925
+ chartElement: D.value,
926
+ position: M.value.userOptions.position,
927
+ hasAnnotator: M.value.userOptions.buttons.annotator,
928
+ isAnnotation: In.value,
929
+ callbacks: M.value.userOptions.callbacks,
930
+ printScale: M.value.userOptions.print.scale,
931
+ tableDialog: M.value.table.useDialog,
932
+ isCursorPointer: N.value,
933
+ onToggleFullscreen: Yt,
934
+ onGeneratePdf: w(cn),
935
+ onGenerateCsv: An,
936
+ onGenerateImage: qn,
937
+ onGenerateSvg: Kn,
938
+ onToggleTable: Nn,
939
+ onToggleLabels: Pn,
940
+ onToggleTooltip: Fn,
941
+ onToggleAnnotator: Ln,
942
+ onCopyAlt: Jn,
943
+ style: v({ visibility: w(tn) ? w($t) ? "visible" : "hidden" : "visible" })
944
+ }, Le({ _: 2 }, [
945
+ e.$slots.menuIcon ? {
946
+ name: "menuIcon",
947
+ fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
948
+ isOpen: t,
949
+ color: n
950
+ })), void 0, !0)]),
951
+ key: "0"
952
+ } : void 0,
953
+ e.$slots.optionTooltip ? {
954
+ name: "optionTooltip",
955
+ fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
956
+ key: "1"
957
+ } : void 0,
958
+ e.$slots.optionPdf ? {
959
+ name: "optionPdf",
960
+ fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
961
+ key: "2"
962
+ } : void 0,
963
+ e.$slots.optionCsv ? {
964
+ name: "optionCsv",
965
+ fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
966
+ key: "3"
967
+ } : void 0,
968
+ e.$slots.optionImg ? {
969
+ name: "optionImg",
970
+ fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
971
+ key: "4"
972
+ } : void 0,
973
+ e.$slots.optionSvg ? {
974
+ name: "optionSvg",
975
+ fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
976
+ key: "5"
977
+ } : void 0,
978
+ e.$slots.optionTable ? {
979
+ name: "optionTable",
980
+ fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
981
+ key: "6"
982
+ } : void 0,
983
+ e.$slots.optionLabels ? {
984
+ name: "optionLabels",
985
+ fn: T(() => [S(e.$slots, "optionLabels", {}, void 0, !0)]),
986
+ key: "7"
987
+ } : void 0,
988
+ e.$slots.optionFullscreen ? {
989
+ name: "optionFullscreen",
990
+ fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
991
+ toggleFullscreen: t,
992
+ isFullscreen: n
993
+ })), void 0, !0)]),
994
+ key: "8"
995
+ } : void 0,
996
+ e.$slots.optionAnnotator ? {
997
+ name: "optionAnnotator",
998
+ fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
999
+ toggleAnnotator: t,
1000
+ isAnnotator: n
1001
+ })), void 0, !0)]),
1002
+ key: "9"
1003
+ } : void 0,
1004
+ e.$slots.optionAltCopy ? {
1005
+ name: "optionAltCopy",
1006
+ fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
1007
+ key: "10"
1008
+ } : void 0
1009
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
1010
+ p("div", $e, [(y(), f("svg", {
1011
+ ref_key: "svgRef",
1012
+ ref: F,
1013
+ xmlns: w(fe),
1014
+ "aria-describedby": `chart-instructions-${A.value}`,
1015
+ class: g({
1016
+ "vue-data-ui-fullscreen--on": j.value,
1017
+ "vue-data-ui-fulscreen--off": !j.value
1018
+ }),
1019
+ viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
1020
+ style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
1021
+ tabindex: "0",
1022
+ onFocus: Zn,
1023
+ onBlur: Qn,
1024
+ onKeydown: $n
1025
+ }, [
1026
+ ze(w(Dt)),
1027
+ e.$slots["chart-background"] ? (y(), f("foreignObject", {
1028
+ key: 0,
1029
+ x: B.value.left,
1030
+ y: B.value.top,
1031
+ width: B.value.width,
1032
+ height: B.value.height,
1033
+ style: { pointerEvents: "none" }
1034
+ }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : d("", !0),
1035
+ (y(!0), f(c, null, x(K.value, (e, t) => (y(), f("g", nt, [p("line", {
1036
+ x1: B.value.left + G.value * t + G.value / 2,
1037
+ x2: B.value.left + G.value * t + G.value / 2,
1038
+ y1: B.value.top,
1039
+ y2: B.value.bottom,
1040
+ stroke: M.value.style.chart.yAxis.stroke,
1041
+ "stroke-width": M.value.style.chart.yAxis.strokeWidth
1042
+ }, null, 8, rt), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("line", {
1043
+ x1: e.x,
1044
+ x2: e.x - 10,
1045
+ y1: e.y,
1046
+ y2: e.y,
1047
+ stroke: M.value.style.chart.yAxis.stroke,
1048
+ "stroke-width": M.value.style.chart.yAxis.strokeWidth,
1049
+ style: v(`opacity:${Y.value && !V.value.showTooltip ? .2 : 1}`)
1050
+ }, null, 12, it))), 256)), w(P) ? d("", !0) : (y(), f("g", at, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("text", {
1051
+ x: e.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX,
1052
+ y: e.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3,
1053
+ fill: M.value.style.chart.yAxis.labels.ticks.color,
1054
+ "text-anchor": "end",
1055
+ "font-size": R.value.ticksFontSize,
1056
+ "font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1057
+ style: v(`opacity:${Y.value && !V.value.showTooltip ? .2 : 1}`)
1058
+ }, C(Cn({
1059
+ value: e.value,
1060
+ index: t,
1061
+ datapoint: e
1062
+ })), 13, ot))), 256))]))], 64)) : d("", !0)]))), 256)),
1063
+ M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
1064
+ key: 1,
1065
+ ref_key: "xAxisLabels",
1066
+ ref: Gt
1067
+ }, [(y(!0), f(c, null, x(K.value, (e, n) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1068
+ key: 1,
1069
+ class: "vue-ui-parallel-coordinate-plot-x-label",
1070
+ fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1071
+ "font-size": R.value.axisNameFontSize,
1072
+ "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1073
+ "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1074
+ transform: `translate(${B.value.left + G.value * n + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`,
1075
+ innerHTML: w(t)({
1076
+ content: String(e.name),
1077
+ fontSize: R.value.axisNameFontSize,
1078
+ fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1079
+ x: 0,
1080
+ y: 0
1081
+ })
1082
+ }, null, 8, ct)) : (y(), f("text", {
1083
+ key: 0,
1084
+ class: "vue-ui-parallel-coordinate-plot-x-label",
1085
+ fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1086
+ "font-size": R.value.axisNameFontSize,
1087
+ "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1088
+ "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1089
+ transform: `translate(${B.value.left + G.value * n + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
1090
+ }, C(e.name), 9, st))], 64))), 256))], 512)) : d("", !0),
1091
+ (y(!0), f(c, null, x(q.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
1092
+ M.value.style.chart.plots.show ? (y(), f("g", lt, [
1093
+ (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ee, {
1094
+ plot: {
1095
+ x: e.x,
1096
+ y: e.y
1097
+ },
1098
+ color: t.color,
1099
+ shape: t.shape,
1100
+ radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
1101
+ stroke: M.value.style.chart.backgroundColor,
1102
+ strokeWidth: .5,
1103
+ onMouseenter: (e) => Z({
1104
+ shape: t.shape,
1105
+ serieName: t.name,
1106
+ serie: r,
1107
+ relativeIndex: i,
1108
+ seriesIndex: r.seriesIndex,
1109
+ S: n,
1110
+ triggerMode: "pointer"
1111
+ }),
1112
+ onMouseleave: (e) => X({
1113
+ serie: r,
1114
+ shape: t.shape,
1115
+ S: n
1116
+ }),
1117
+ style: v(`opacity:${Y.value ? Y.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
1118
+ onClick: () => $({
1119
+ serie: r,
1120
+ shape: t.shape,
1121
+ S: n
1122
+ })
1123
+ }, null, 8, [
1124
+ "plot",
1125
+ "color",
1126
+ "shape",
1127
+ "radius",
1128
+ "stroke",
1129
+ "onMouseenter",
1130
+ "onMouseleave",
1131
+ "style",
1132
+ "onClick"
1133
+ ]))), 256)),
1134
+ V.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [Y.value && Y.value === r.id && r.datapoints.length ? (y(), f("text", {
1135
+ key: 0,
1136
+ x: r.datapoints[0].x - R.value.ticksFontSize,
1137
+ y: r.datapoints[0].y + R.value.ticksFontSize / 3,
1138
+ "text-anchor": "end",
1139
+ "font-size": R.value.ticksFontSize,
1140
+ fill: t.color,
1141
+ "font-weight": "bold"
1142
+ }, C(r.name), 9, ut)) : d("", !0)], 64)),
1143
+ M.value.style.chart.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
1144
+ key: 0,
1145
+ style: { overflow: "visible" },
1146
+ height: "12",
1147
+ width: M.value.style.chart.comments.width,
1148
+ x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
1149
+ y: n.y + M.value.style.chart.comments.offsetY + 6
1150
+ }, [p("div", ft, [S(e.$slots, "plot-comment", { plot: {
1151
+ ...n,
1152
+ color: t.color
1153
+ } }, void 0, !0)])], 8, dt)) : d("", !0)]))), 256)) : d("", !0)
1154
+ ])) : d("", !0),
1155
+ !w(P) && (V.value.dataLabels.show || Y.value && Y.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
1156
+ x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
1157
+ y: e.y + M.value.style.chart.yAxis.labels.datapoints.offsetY + R.value.datapointFontSize / 3,
1158
+ fill: M.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : M.value.style.chart.yAxis.labels.datapoints.color,
1159
+ "text-anchor": "start",
1160
+ "font-weight": M.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
1161
+ class: g({
1162
+ "vue-ui-pcp-animated": !1,
1163
+ "vue-ui-pcp-transition": !w(P)
1164
+ }),
1165
+ "font-size": R.value.datapointFontSize,
1166
+ onMouseenter: (e) => Z({
1167
+ shape: t.shape,
1168
+ serieName: t.name,
1169
+ serie: r,
1170
+ relativeIndex: i,
1171
+ seriesIndex: r.seriesIndex,
1172
+ S: n,
1173
+ triggerMode: "pointer"
1174
+ }),
1175
+ onMouseleave: (e) => X({
1176
+ serie: r,
1177
+ shape: t.shape,
1178
+ S: n
1179
+ }),
1180
+ onClick: () => $({
1181
+ serie: r,
1182
+ shape: t.shape,
1183
+ S: n
1184
+ }),
1185
+ style: v(`opacity:${Y.value ? Y.value === r.id ? 1 : .2 : 1}`)
1186
+ }, C(Cn({
1187
+ value: e.value,
1188
+ index: a,
1189
+ datapoint: e
1190
+ })), 47, pt))), 256)) : d("", !0),
1191
+ p("path", {
1192
+ d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1193
+ stroke: t.color,
1194
+ "stroke-width": M.value.style.chart.lines.strokeWidth,
1195
+ fill: "none",
1196
+ class: g({
1197
+ "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1198
+ "vue-ui-pcp-transition": !w(P)
1199
+ }),
1200
+ onMouseenter: (e) => Z({
1201
+ shape: t.shape,
1202
+ serieName: t.name,
1203
+ serie: r,
1204
+ relativeIndex: i,
1205
+ seriesIndex: r.seriesIndex,
1206
+ S: n,
1207
+ triggerMode: "pointer"
1208
+ }),
1209
+ onMouseleave: (e) => X({
1210
+ serie: r,
1211
+ shape: t.shape,
1212
+ S: n
1213
+ }),
1214
+ onClick: () => $({
1215
+ serie: r,
1216
+ shape: t.shape,
1217
+ S: n
1218
+ }),
1219
+ style: v(`opacity:${Y.value ? Y.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
1220
+ }, null, 46, mt),
1221
+ V.value.showTooltip ? (y(), f("path", {
1222
+ key: 2,
1223
+ d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1224
+ stroke: "transparent",
1225
+ "stroke-width": 12,
1226
+ fill: "none",
1227
+ class: g({
1228
+ "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1229
+ "vue-ui-pcp-transition": !w(P)
1230
+ }),
1231
+ onMouseenter: (e) => Z({
1232
+ shape: t.shape,
1233
+ serieName: t.name,
1234
+ serie: r,
1235
+ relativeIndex: i,
1236
+ seriesIndex: r.seriesIndex,
1237
+ S: n,
1238
+ triggerMode: "pointer"
1239
+ }),
1240
+ onMouseleave: (e) => X({
1241
+ serie: r,
1242
+ shape: t.shape,
1243
+ S: n
1244
+ }),
1245
+ onClick: () => $({
1246
+ serie: r,
1247
+ shape: t.shape,
1248
+ S: n
1249
+ }),
1250
+ style: { opacity: "0" }
1251
+ }, null, 42, ht)) : d("", !0)
1252
+ ]))), 256))]))), 256)),
1253
+ S(e.$slots, "svg", { svg: {
1254
+ ...B.value,
1255
+ isPrintingImg: w(on) || w(sn) || Ut.value,
1256
+ isPrintingSvg: Wt.value
1257
+ } }, void 0, !0)
1258
+ ], 46, et)), e.$slots.hint ? (y(), f("div", gt, [S(e.$slots, "hint", _(h({
1259
+ hint: M.value.a11y.translations.keyboardNavigation,
1260
+ isVisible: Jt.value
1261
+ })), void 0, !0)])) : d("", !0)]),
1262
+ e.$slots.watermark ? (y(), f("div", _t, [S(e.$slots, "watermark", _(h({ isPrinting: w(on) || w(sn) || Ut.value || Wt.value })), void 0, !0)])) : d("", !0),
1263
+ p("div", { id: `legend-bottom-${A.value}` }, null, 8, vt),
1264
+ Vt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ie, {
1265
+ key: 6,
1266
+ to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1267
+ }, [p("div", {
1268
+ ref_key: "chartLegend",
1269
+ ref: Ft
1270
+ }, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Mt.value ? (y(), u(Pe, {
1271
+ key: `legend_${zt.value}`,
1272
+ legendSet: W.value,
1273
+ config: bn.value,
1274
+ isCursorPointer: N.value,
1275
+ onClickMarker: n[0] ||= ({ legend: e }) => {
1276
+ gn(e.id), Mn(e);
1277
+ }
1278
+ }, {
1279
+ item: T(({ legend: e, index: t }) => [p("div", {
1280
+ onClick: (t) => {
1281
+ e.segregate(), Mn(e);
1282
+ },
1283
+ style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
1284
+ }, C(e.name), 13, yt)]),
1285
+ legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(Ae, {
1286
+ key: 0,
1287
+ backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1288
+ color: M.value.style.chart.legend.selectAllToggle.color,
1289
+ fontSize: M.value.style.chart.legend.fontSize,
1290
+ checked: H.value.length > 0,
1291
+ isCursorPointer: N.value,
1292
+ onToggle: hn
1293
+ }, null, 8, [
1294
+ "backgroundColor",
1295
+ "color",
1296
+ "fontSize",
1297
+ "checked",
1298
+ "isCursorPointer"
1299
+ ])) : d("", !0)]),
1300
+ _: 1
1301
+ }, 8, [
1302
+ "legendSet",
1303
+ "config",
1304
+ "isCursorPointer"
1305
+ ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1306
+ e.$slots.source ? (y(), f("div", {
1307
+ key: 7,
1308
+ ref_key: "source",
1309
+ ref: It,
1310
+ dir: "auto"
1311
+ }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1312
+ ze(w(xt), {
1313
+ teleportTo: M.value.style.chart.tooltip.teleportTo,
1314
+ show: V.value.showTooltip && Tn.value,
1315
+ backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1316
+ color: M.value.style.chart.tooltip.color,
1317
+ fontSize: M.value.style.chart.tooltip.fontSize,
1318
+ borderRadius: M.value.style.chart.tooltip.borderRadius,
1319
+ borderColor: M.value.style.chart.tooltip.borderColor,
1320
+ borderWidth: M.value.style.chart.tooltip.borderWidth,
1321
+ backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
1322
+ position: M.value.style.chart.tooltip.position,
1323
+ offsetY: M.value.style.chart.tooltip.offsetY,
1324
+ parent: D.value,
1325
+ content: En.value,
1326
+ isFullscreen: j.value,
1327
+ isCustom: w(de)(M.value.style.chart.tooltip.customFormat),
1328
+ smooth: M.value.style.chart.tooltip.smooth,
1329
+ backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1330
+ smoothForce: M.value.style.chart.tooltip.smoothForce,
1331
+ smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1332
+ isA11yMode: qt.value === "keyboard",
1333
+ a11yPosition: Kt.value
1334
+ }, {
1335
+ "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...wn.value })), void 0, !0)]),
1336
+ tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...wn.value })), void 0, !0)]),
1337
+ "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...wn.value })), void 0, !0)]),
1338
+ _: 3
1339
+ }, 8, [
1340
+ "teleportTo",
1341
+ "show",
1342
+ "backgroundColor",
1343
+ "color",
1344
+ "fontSize",
1345
+ "borderRadius",
1346
+ "borderColor",
1347
+ "borderWidth",
1348
+ "backgroundOpacity",
1349
+ "position",
1350
+ "offsetY",
1351
+ "parent",
1352
+ "content",
1353
+ "isFullscreen",
1354
+ "isCustom",
1355
+ "smooth",
1356
+ "backdropFilter",
1357
+ "smoothForce",
1358
+ "smoothSnapThreshold",
1359
+ "isA11yMode",
1360
+ "a11yPosition"
1361
+ ]),
1362
+ Mt.value && M.value.userOptions.buttons.table ? (y(), u(We(Bn.value.component), Be({ key: 8 }, Bn.value.props, {
1363
+ ref_key: "tableUnit",
1364
+ ref: O,
1365
+ onClose: Vn
1366
+ }), Le({
1367
+ content: T(() => [(y(), u(w(wt), {
1368
+ key: `table_${Bt.value}`,
1369
+ colNames: Q.value.colNames,
1370
+ head: Q.value.head,
1371
+ body: Q.value.body,
1372
+ config: Q.value.config,
1373
+ title: M.value.table.useDialog ? "" : Bn.value.title,
1374
+ withCloseButton: !M.value.table.useDialog,
1375
+ isCursorPointer: N.value,
1376
+ onClose: Vn
1377
+ }, {
1378
+ th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, bt)]),
1379
+ td: T(({ td: e }) => [Re(C(e), 1)]),
1380
+ _: 1
1381
+ }, 8, [
1382
+ "colNames",
1383
+ "head",
1384
+ "body",
1385
+ "config",
1386
+ "title",
1387
+ "withCloseButton",
1388
+ "isCursorPointer"
1389
+ ]))]),
1390
+ _: 2
1391
+ }, [M.value.table.useDialog ? {
1392
+ name: "title",
1393
+ fn: T(() => [Re(C(Bn.value.title), 1)]),
1394
+ key: "0"
1395
+ } : void 0, M.value.table.useDialog ? {
1396
+ name: "actions",
1397
+ fn: T(() => [p("button", {
1398
+ tabindex: "0",
1399
+ class: "vue-ui-user-options-button",
1400
+ onClick: n[1] ||= (e) => An(M.value.userOptions.callbacks.csv),
1401
+ style: v({ cursor: N.value ? "pointer" : "default" })
1402
+ }, [ze(w(St), {
1403
+ name: "fileCsv",
1404
+ stroke: Bn.value.props.color
1405
+ }, null, 8, ["stroke"])], 4)]),
1406
+ key: "1"
1407
+ } : void 0]), 1040)) : d("", !0),
1408
+ S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
1409
+ ], 46, Xe));
1410
+ }
1411
+ }, [["__scopeId", "data-v-193de707"]]);
1412
+ //#endregion
1413
+ export { Ye as n, xt as t };