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
@@ -1,1432 +0,0 @@
1
- import { defineAsyncComponent as H, computed as p, ref as c, toRefs as sa, watch as he, shallowRef as ct, onMounted as na, onBeforeUnmount as ia, watchEffect as ua, openBlock as n, createElementBlock as r, unref as v, normalizeStyle as _, normalizeClass as oe, createElementVNode as S, toDisplayString as V, createBlock as z, createCommentVNode as y, withCtx as f, renderSlot as h, normalizeProps as A, guardReactiveProps as $, createSlots as vt, createVNode as Se, Fragment as M, renderList as D, Teleport as ra, resolveDynamicComponent as ca, mergeProps as va, createTextVNode as dt, nextTick as Me } from "vue";
2
- import { j as ze, t as ht, m as da, p as pe, o as pt, q as ft, r as ha, n as pa, s as fa, D as ya, b as ma, c as ga, aj as ba, X as ka, Z as xa, T as yt, a2 as fe, a0 as Ca, a1 as wa, k as mt, l as gt, U as Aa, a3 as $a } from "./lib-DMzrGQHK.js";
3
- import { t as bt, u as Ta } from "./useResponsive-DfdjqQps.js";
4
- import { u as Pa } from "./useConfig-CG4HT3wS.js";
5
- import { u as Ia } from "./usePrinter-C4t8DdQ-.js";
6
- import { u as Sa, B as Ma } from "./BaseScanner-C2j3TsSY.js";
7
- import { u as za } from "./useSvgExport-BTG4hVPO.js";
8
- import { u as Ne } from "./useNestedProp-DH0BEVVS.js";
9
- import { u as Na } from "./useThemeCheck-C9Ccl7U9.js";
10
- import { u as Fa } from "./useUserOptionState-B7Ej974k.js";
11
- import { u as La } from "./useChartAccessibility-cp6XQtqi.js";
12
- import { u as _a } from "./useTimeLabelCollider-D3JeJ6Ye.js";
13
- import Oa from "./vue_ui_parallel_coordinate_plot-DH3cFJ3n.js";
14
- import Da from "./Title-BbKoiBk2.js";
15
- import Ra from "./Legend-DGN5lY60.js";
16
- import { _ as Ba } from "./Shape-CxJ5_Rre.js";
17
- import Ea from "./img-CjTQXS0U.js";
18
- import { A as Ua } from "./A11yDataTable-BpmuNomI.js";
19
- import { B as Ha } from "./BaseLegendToggle-cMP8M2u0.js";
20
- import { _ as Va } from "./_plugin-vue_export-helper-CHgC5LLL.js";
21
- const Wa = ["id"], ja = ["id"], Ga = ["id"], Xa = { style: { position: "relative" } }, Ka = ["xmlns", "aria-describedby", "viewBox"], Ya = ["x", "y", "width", "height"], qa = { style: { "pointer-events": "none" } }, Za = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ja = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Qa = { key: 0 }, el = ["x", "y", "fill", "font-size", "font-weight"], tl = ["fill", "font-size", "font-weight", "text-anchor", "transform"], al = ["fill", "font-size", "font-weight", "text-anchor", "transform", "innerHTML"], ll = { key: 0 }, ol = ["x", "y", "font-size", "fill"], sl = ["width", "x", "y"], nl = { style: { width: "100%" } }, il = ["x", "y", "fill", "font-weight", "font-size", "onMouseenter", "onMouseleave", "onClick"], ul = ["d", "stroke", "stroke-width", "onMouseenter", "onMouseleave", "onClick"], rl = ["d", "onMouseenter", "onMouseleave", "onClick"], cl = {
22
- key: 0,
23
- style: { position: "absolute", top: "100%", left: "0", width: "100%" },
24
- "data-dom-to-png-ignore": "",
25
- "aria-hidden": "true"
26
- }, vl = {
27
- key: 5,
28
- class: "vue-data-ui-watermark"
29
- }, dl = ["id"], hl = ["onClick"], pl = ["innerHTML"], fl = {
30
- __name: "vue-ui-parallel-coordinate-plot",
31
- props: {
32
- config: {
33
- type: Object,
34
- default() {
35
- return {};
36
- }
37
- },
38
- dataset: {
39
- type: Array,
40
- default() {
41
- return [];
42
- }
43
- }
44
- },
45
- emits: ["selectLegend", "selectDatapoint", "copyAlt"],
46
- setup(kt, { expose: xt, emit: Ct }) {
47
- const wt = H(() => import("./Tooltip-Cvt7Fi0Q.js")), At = H(() => import("./BaseIcon-DX0hTWa-.js")), $t = H(() => import("./vue-ui-accordion-DFtpH_16.js")), Tt = H(() => import("./DataTable-cMnb68Ik.js")), Pt = H(
48
- () => import("./PenAndPaper-CJDoB5H9.js")
49
- ), It = H(
50
- () => import("./UserOptions-DVduN6X7.js")
51
- ), St = H(
52
- () => import("./PackageVersion-BfrCAH6_.js")
53
- ), Mt = H(
54
- () => import("./BaseDraggableDialog-Di8Hlru3.js")
55
- ), { vue_ui_parallel_coordinate_plot: zt } = Pa(), { isThemeValid: Nt, warnInvalidTheme: Ft } = Na(), T = kt, se = p({
56
- get() {
57
- return !!T.dataset && T.dataset.length;
58
- },
59
- set(t) {
60
- return t;
61
- }
62
- }), Fe = c(0), O = c(null), Le = c(null), _e = c(null), Oe = c(null), De = c(null), Re = c(0), Be = c(0), Ee = c(0), Ue = c(!1), q = c(null), ye = c(null), ne = c(!1), ie = c(!1), me = c(null), N = c(null), He = c({ x: 0, y: 0 }), ue = c("pointer"), ge = c(!1), F = c(ze()), W = c(!1);
63
- function Ve(t) {
64
- W.value = t, Fe.value += 1;
65
- }
66
- const e = c(xe()), j = p(
67
- () => e.value.userOptions.useCursorPointer
68
- ), Lt = p(() => ht({
69
- defaultConfig: {
70
- useCssAnimation: !1,
71
- userOptions: { show: !1 },
72
- table: { show: !1 },
73
- style: {
74
- chart: {
75
- backgroundColor: "#99999930",
76
- legend: {
77
- show: !0,
78
- backgroundColor: "transparent"
79
- },
80
- yAxis: {
81
- stroke: "#6A6A6A",
82
- labels: {
83
- showAxisNames: !1,
84
- axisNames: [],
85
- ticks: {
86
- color: "#6A6A6A"
87
- }
88
- }
89
- }
90
- }
91
- }
92
- },
93
- userConfig: e.value.skeletonConfig ?? {}
94
- })), { loading: R, FINAL_DATASET: _t, manualLoading: be } = Sa({
95
- ...sa(T),
96
- FINAL_CONFIG: e,
97
- prepareConfig: xe,
98
- callback: () => {
99
- Promise.resolve().then(async () => {
100
- await Me(), g.value.showTable = e.value.table.show;
101
- });
102
- },
103
- skeletonDataset: T.config?.skeletonDataset ?? [
104
- {
105
- name: "",
106
- shape: "circle",
107
- color: "transparent",
108
- series: [
109
- {
110
- name: "",
111
- values: [1, 10, 100, 1e3]
112
- }
113
- ]
114
- },
115
- {
116
- name: "",
117
- shape: "circle",
118
- color: "#CACACA",
119
- series: [
120
- {
121
- name: "",
122
- values: [0.2, 3, 50, 800]
123
- }
124
- ]
125
- },
126
- {
127
- name: "",
128
- shape: "circle",
129
- color: "transparent",
130
- series: [
131
- {
132
- name: "",
133
- values: [0, 0, 0, 0]
134
- }
135
- ]
136
- }
137
- ],
138
- skeletonConfig: ht({
139
- defaultConfig: e.value,
140
- userConfig: Lt.value
141
- })
142
- }), { userOptionsVisible: ke, setUserOptionsVisibility: We, keepUserOptionState: je } = Fa({ config: e.value }), { svgRef: G } = La({
143
- config: e.value.style.chart.title
144
- });
145
- function xe() {
146
- const t = Ne({
147
- userConfig: T.config,
148
- defaultConfig: zt
149
- }), l = t.theme;
150
- if (!l) return t;
151
- if (!Nt.value(t))
152
- return Ft(t), t;
153
- const a = Ne({
154
- userConfig: Oa[l] || T.config,
155
- defaultConfig: t
156
- }), s = Ne({
157
- userConfig: T.config,
158
- defaultConfig: a
159
- });
160
- return {
161
- ...s,
162
- customPalette: s.customPalette.length ? s.customPalette : da[l] || pe
163
- };
164
- }
165
- he(
166
- () => T.config,
167
- (t) => {
168
- R.value || (e.value = xe()), ke.value = !e.value.userOptions.showOnChartHover, Xe(), Re.value += 1, Ee.value += 1, Be.value += 1, g.value.dataLabels.show = e.value.style.chart.yAxis.labels.datapoints.show, g.value.showTable = e.value.table.show, g.value.showTooltip = e.value.style.chart.tooltip.show;
169
- },
170
- { deep: !0 }
171
- ), he(
172
- () => T.dataset,
173
- (t) => {
174
- Array.isArray(t) && t.length > 0 && (be.value = !1);
175
- },
176
- { deep: !0 }
177
- );
178
- const B = ct(null), K = ct(null);
179
- na(() => {
180
- Ue.value = !0, Xe();
181
- });
182
- const Ge = p(() => !!e.value.debug);
183
- function Xe() {
184
- if (pt(T.dataset) ? (ft({
185
- componentName: "VueUiParallelCoordinatePlot",
186
- type: "dataset",
187
- debug: Ge.value
188
- }), be.value = !0) : T.dataset.forEach((t, l) => {
189
- ha({
190
- datasetObject: t,
191
- requiredAttributes: ["name", "series"]
192
- }).forEach((a) => {
193
- se.value = !1, ft({
194
- componentName: "VueUiParallelCoordinatePlot",
195
- type: "datasetSerieAttribute",
196
- property: a,
197
- index: l,
198
- debug: Ge.value
199
- });
200
- });
201
- }), pt(T.dataset) || (be.value = e.value.loading), e.value.responsive) {
202
- const t = bt(() => {
203
- const { width: l, height: a } = Ta({
204
- chart: O.value,
205
- title: e.value.style.chart.title.text ? Le.value : null,
206
- legend: e.value.style.chart.legend.show ? _e.value : null,
207
- source: Oe.value,
208
- noTitle: De.value
209
- });
210
- requestAnimationFrame(() => {
211
- d.value.width = l, d.value.height = a - 12, e.value.responsiveProportionalSizing ? (d.value.plotSize = fe({
212
- relator: Math.min(l, a),
213
- adjuster: 600,
214
- source: e.value.style.chart.plots.radius,
215
- threshold: 2,
216
- fallback: 2
217
- }), d.value.ticksFontSize = fe({
218
- relator: Math.min(l, a),
219
- adjuster: 600,
220
- source: e.value.style.chart.yAxis.labels.ticks.fontSize,
221
- threshold: 10,
222
- fallback: 10
223
- }), d.value.datapointFontSize = fe({
224
- relator: Math.min(l, a),
225
- adjuster: 600,
226
- source: e.value.style.chart.yAxis.labels.datapoints.fontSize,
227
- threshold: 10,
228
- fallback: 10
229
- }), d.value.axisNameFontSize = fe({
230
- relator: Math.min(l, a),
231
- adjuster: 600,
232
- source: e.value.style.chart.yAxis.labels.axisNamesFontSize,
233
- threshold: 12,
234
- fallback: 12
235
- })) : (d.value.plotSize = e.value.style.chart.plots.radius, d.value.ticksFontSize = e.value.style.chart.yAxis.labels.ticks.fontSize, d.value.datapointFontSize = e.value.style.chart.yAxis.labels.datapoints.fontSize, d.value.axisNameFontSize = e.value.style.chart.yAxis.labels.axisNamesFontSize);
236
- });
237
- });
238
- B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect()), B.value = new ResizeObserver(t), K.value = O.value.parentNode, B.value.observe(K.value);
239
- }
240
- }
241
- ia(() => {
242
- B.value && (K.value && B.value.unobserve(K.value), B.value.disconnect());
243
- });
244
- const { isPrinting: Ce, isImaging: we, generatePdf: Ke, generateImage: Ye } = Ia({
245
- elementId: `pcp_${F.value}`,
246
- fileName: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
247
- options: e.value.userOptions.print
248
- }), Ot = p(() => e.value.userOptions.show && !e.value.style.chart.title.text), d = c({
249
- height: e.value.style.chart.height,
250
- width: e.value.style.chart.width,
251
- plotSize: e.value.style.chart.plots.radius,
252
- // ratio 100
253
- ticksFontSize: e.value.style.chart.yAxis.labels.ticks.fontSize,
254
- // ratio 42.85
255
- datapointFontSize: e.value.style.chart.yAxis.labels.datapoints.fontSize,
256
- axisNameFontSize: e.value.style.chart.yAxis.labels.axisNamesFontSize
257
- }), qe = p(() => d.value.width), Ze = p(() => d.value.height), Z = c(0), Dt = bt((t) => {
258
- Z.value = t;
259
- }, 100);
260
- ua((t) => {
261
- const l = me.value;
262
- if (!l) return;
263
- const a = new ResizeObserver((s) => {
264
- Dt(s[0].contentRect.height);
265
- });
266
- a.observe(l), t(() => a.disconnect());
267
- });
268
- const m = p(() => {
269
- const {
270
- top: t,
271
- right: l,
272
- bottom: a,
273
- left: s
274
- } = e.value.style.chart.padding, o = Ze.value, u = qe.value;
275
- return {
276
- chartHeight: Math.max(1e-3, o),
277
- chartWidth: Math.max(1e-3, u),
278
- height: Math.max(
279
- 1e-3,
280
- o - t - a - Z.value - d.value.datapointFontSize * 2
281
- ),
282
- width: Math.max(1e-3, u - s - l),
283
- top: t + Z.value + d.value.datapointFontSize,
284
- left: s,
285
- right: u - l,
286
- bottom: o - a - d.value.datapointFontSize
287
- };
288
- }), Rt = p(() => pa(e.value.customPalette)), g = c({
289
- dataLabels: {
290
- show: e.value.style.chart.yAxis.labels.datapoints.show
291
- },
292
- showTable: e.value.table.show,
293
- showTooltip: e.value.style.chart.tooltip.show
294
- });
295
- he(
296
- e,
297
- () => {
298
- g.value = {
299
- dataLabels: {
300
- show: e.value.style.chart.yAxis.labels.datapoints.show
301
- },
302
- showTable: e.value.table.show,
303
- showTooltip: e.value.style.chart.tooltip.show
304
- };
305
- },
306
- { immediate: !0 }
307
- );
308
- const x = c([]);
309
- function Bt() {
310
- x.value.length ? x.value = [] : ce.value.forEach((t) => {
311
- x.value.push(t.id);
312
- });
313
- }
314
- function re(t) {
315
- x.value.includes(t) ? x.value = x.value.filter((l) => l !== t) : x.value.push(t);
316
- }
317
- const L = p(() => _t.value.map((t, l) => {
318
- const a = fa(t.color) || Rt.value[l] || pe[l] || pe[l % pe.length];
319
- return {
320
- ...t,
321
- series: t.series.map((s) => ({
322
- ...s,
323
- id: ze(),
324
- color: a
325
- })),
326
- seriesIndex: l,
327
- color: a,
328
- id: ze(),
329
- shape: t.shape || "circle"
330
- };
331
- }));
332
- function Je(t) {
333
- if (!L.value.length)
334
- return e.value.debug && console.warn(
335
- "VueUiParallelCoordinatePlot - There are no series to show."
336
- ), null;
337
- const l = L.value.find((a) => a.name === t);
338
- return l || (e.value.debug && console.warn(
339
- `VueUiParallelCoordinatePlot - Series name not found "${t}"`
340
- ), null);
341
- }
342
- function Et(t) {
343
- const l = Je(t);
344
- l !== null && x.value.includes(l.id) && re(l.id);
345
- }
346
- function Ut(t) {
347
- const l = Je(t);
348
- l !== null && (x.value.includes(l.id) || re(l.id));
349
- }
350
- const ce = p(() => L.value.map((t) => ({
351
- ...t,
352
- opacity: x.value.includes(t.id) ? 0.5 : 1,
353
- segregate: () => re(t.id),
354
- isSegregated: x.value.includes(t.id),
355
- shape: t.shape || "circle"
356
- }))), Ht = p(() => ({
357
- cy: "pcp-div-legend",
358
- backgroundColor: e.value.style.chart.legend.backgroundColor,
359
- color: e.value.style.chart.legend.color,
360
- fontSize: e.value.style.chart.legend.fontSize,
361
- paddingBottom: 12,
362
- fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
363
- })), Qe = p(() => Math.max(
364
- ...L.value.filter((t) => !x.value.includes(t.id)).map(
365
- (t) => Math.max(...t.series.flatMap((l) => l.values.length))
366
- )
367
- )), P = p(() => m.value.width / Qe.value), Ae = p(() => L.value.filter(
368
- (t) => !x.value.includes(t.id)
369
- )), b = p(() => {
370
- let t = [];
371
- for (let l = 0; l < Qe.value; l += 1) {
372
- const a = Math.min(
373
- ...Ae.value.flatMap(
374
- (w) => w.series.map((U) => U.values[l] || 0) || 0
375
- )
376
- ), s = Math.max(
377
- ...Ae.value.flatMap(
378
- (w) => w.series.map((U) => U.values[l] || 0) || 0
379
- )
380
- ), o = s === a ? a / 4 : a, u = s === a ? s * 2 : s, i = ya(
381
- o,
382
- u,
383
- e.value.style.chart.yAxis.scaleTicks
384
- ), k = i.ticks.map((w, U) => {
385
- const I = i.min < 0 ? w + Math.abs(i.min) : w - Math.abs(i.min), oa = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
386
- return {
387
- y: m.value.bottom - m.value.height * (I / oa),
388
- x: m.value.left + P.value * l + P.value / 2,
389
- value: w
390
- };
391
- });
392
- t.push({
393
- scale: i,
394
- ticks: k,
395
- name: e.value.style.chart.yAxis.labels.axisNames[l] || `Y-${l + 1}`
396
- });
397
- }
398
- return t;
399
- }), Y = p(() => Ae.value.map((t, l) => ({
400
- ...t,
401
- series: t.series.map((a, s) => ({
402
- ...a,
403
- datapoints: a.values.map((o, u) => {
404
- const i = b.value[u].scale.min < 0 ? (o || 0) + Math.abs(b.value[u].scale.min) : (o || 0) - Math.abs(b.value[u].scale.min), k = b.value[u].scale.min < 0 ? b.value[u].scale.max + Math.abs(b.value[u].scale.min) : b.value[u].scale.max - Math.abs(b.value[u].scale.min);
405
- return {
406
- name: a.name,
407
- seriesName: t.name,
408
- axisIndex: u,
409
- datapointIndex: s,
410
- seriesIndex: l,
411
- value: o || 0,
412
- x: m.value.left + P.value * u + P.value / 2,
413
- y: m.value.bottom - m.value.height * (i / k),
414
- comment: a.comments && a.comments[u] || ""
415
- };
416
- })
417
- }))
418
- })).map((t) => ({
419
- ...t,
420
- series: t.series.map((l) => {
421
- const a = ma(l.datapoints), s = ga(l.datapoints), o = ba(
422
- e.value.style.chart.lines.smooth ? `M ${s}` : `M ${a}`
423
- );
424
- return {
425
- ...l,
426
- smoothPath: s,
427
- straightPath: a,
428
- pathLength: o
429
- };
430
- })
431
- }))), X = p(() => Y.value.flatMap((t, l) => t.series.map((a, s) => ({
432
- shape: t.shape,
433
- serieName: t.name,
434
- serie: a,
435
- relativeIndex: s,
436
- seriesIndex: a.seriesIndex,
437
- S: l,
438
- key: `${l}_${s}`
439
- }))));
440
- function et({ value: t, index: l, datapoint: a }) {
441
- return mt(
442
- e.value.style.chart.yAxis.labels.formatters[l] || null,
443
- t,
444
- gt({
445
- p: e.value.style.chart.yAxis.labels.prefixes[l] || "",
446
- v: t,
447
- s: e.value.style.chart.yAxis.labels.suffixes[l] || "",
448
- r: e.value.style.chart.yAxis.labels.roundings[l] || 0
449
- }),
450
- { datapoint: a, seriesIndex: l }
451
- );
452
- }
453
- const C = c(null), ve = c(null), de = c(!1), $e = c("");
454
- function J({ shape: t, serie: l, S: a }) {
455
- e.value.events.datapointLeave && e.value.events.datapointLeave({
456
- datapoint: { ...l, shape: t },
457
- seriesIndex: a
458
- });
459
- const s = N.value !== null ? X.value[N.value] : null;
460
- ue.value === "keyboard" && s && s.serie.id === l.id || (C.value = null, de.value = !1);
461
- }
462
- function Vt(t) {
463
- if (!G.value || !t?.datapoints?.length) return;
464
- const l = t.datapoints[Math.floor(t.datapoints.length / 2)];
465
- if (!l) return;
466
- const a = $a(
467
- l.x,
468
- l.y,
469
- G.value
470
- );
471
- a && (He.value = a);
472
- }
473
- function Q({
474
- shape: t,
475
- serieName: l,
476
- serie: a,
477
- relativeIndex: s,
478
- seriesIndex: o,
479
- S: u,
480
- triggerMode: i = "pointer"
481
- }) {
482
- e.value.events.datapointEnter && e.value.events.datapointEnter({
483
- datapoint: { ...a, shape: t },
484
- seriesIndex: u
485
- }), ue.value = i, ve.value = {
486
- datapoint: a,
487
- serie: a,
488
- relativeIndex: s,
489
- seriesIndex: o,
490
- series: L.value,
491
- scales: b.value
492
- }, de.value = !0, C.value = a.id;
493
- let k = "";
494
- const w = e.value.style.chart.tooltip.customFormat;
495
- yt(w) && Aa(
496
- () => w({
497
- serie: a,
498
- seriesIndex: a.seriesIndex,
499
- series: L.value,
500
- config: e.value,
501
- scales: b.value
502
- })
503
- ) ? $e.value = w({
504
- serie: a,
505
- seriesIndex: a.seriesIndex,
506
- series: L.value,
507
- config: e.value,
508
- scales: b.value
509
- }) : (k += `<div style="width:100%;text-align:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${l ? l + " - " : ""}${a.name}</div>`, b.value.map((U) => U.name).forEach((U, I) => {
510
- k += `
511
- <div class="vue-ui-tooltip-item" style="text-align:left">
512
- <span>${U}: </span>
513
- <span>
514
- ${mt(
515
- e.value.style.chart.yAxis.labels.formatters[I] || null,
516
- a.datapoints[I].value,
517
- gt({
518
- p: e.value.style.chart.yAxis.labels.prefixes[I] || "",
519
- v: a.datapoints[I].value,
520
- s: e.value.style.chart.yAxis.labels.suffixes[I] || "",
521
- r: e.value.style.chart.yAxis.labels.roundings[I] || ""
522
- }),
523
- { datapoint: a.datapoints[I], seriesIndex: I }
524
- )}
525
- </span>
526
- </div>
527
- `, e.value.style.chart.comments.showInTooltip && a.datapoints[I].comment && (k += `<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[I].comment}</div>`);
528
- }), $e.value = `<div>${k}</div>`), i === "keyboard" && Me(() => {
529
- Vt(a);
530
- });
531
- }
532
- function Wt() {
533
- return L.value;
534
- }
535
- const E = p(() => {
536
- const t = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((o) => o.name)), l = Y.value.flatMap((o, u) => o.series.map((i) => [o.name].concat([i.name]).concat(i.values))), a = {
537
- th: {
538
- backgroundColor: e.value.table.th.backgroundColor,
539
- color: e.value.table.th.color,
540
- outline: e.value.table.th.outline
541
- },
542
- td: {
543
- backgroundColor: e.value.table.td.backgroundColor,
544
- color: e.value.table.td.color,
545
- outline: e.value.table.td.outline
546
- },
547
- breakpoint: e.value.table.responsiveBreakpoint
548
- }, s = [e.value.table.columnNames.series].concat([e.value.table.columnNames.item]).concat(b.value.map((o) => o.name));
549
- return {
550
- body: l,
551
- head: t,
552
- config: a,
553
- colNames: s
554
- };
555
- }), tt = p(() => Y.value.length === 0 ? { head: [], body: [], config: {}, columnNames: [] } : {
556
- head: E.value.head,
557
- body: E.value.body
558
- });
559
- function Te(t = null) {
560
- const l = [
561
- [e.value.style.chart.title.text],
562
- [e.value.style.chart.title.subtitle.text],
563
- [""]
564
- ], a = tt.value.head, s = tt.value.body, o = l.concat([a]).concat(s), u = Ca(o);
565
- t ? t(u) : wa({
566
- csvContent: u,
567
- title: e.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
568
- });
569
- }
570
- const Pe = Ct;
571
- function ee({ serie: t, shape: l, S: a }) {
572
- e.value.events.datapointClick && e.value.events.datapointClick({
573
- datapoint: { ...t, shape: l },
574
- seriesIndex: a
575
- }), Pe("selectDatapoint", t);
576
- }
577
- function at(t) {
578
- Pe("selectLegend", {
579
- ...t,
580
- isSegregated: !t.isSegregated,
581
- opacity: t.isSegregated ? 1 : 0.5
582
- });
583
- }
584
- function lt() {
585
- g.value.showTable = !g.value.showTable;
586
- }
587
- function ot() {
588
- g.value.dataLabels.show = !g.value.dataLabels.show;
589
- }
590
- function st() {
591
- g.value.showTooltip = !g.value.showTooltip;
592
- }
593
- const te = c(!1);
594
- function Ie() {
595
- te.value = !te.value;
596
- }
597
- async function jt({ scale: t = 2 } = {}) {
598
- if (!O.value) return;
599
- const { width: l, height: a } = O.value.getBoundingClientRect(), s = l / a, { imageUri: o, base64: u } = await Ea({
600
- domElement: O.value,
601
- base64: !0,
602
- img: !0,
603
- scale: t
604
- });
605
- return {
606
- imageUri: o,
607
- base64: u,
608
- title: e.value.style.chart.title.text,
609
- width: l,
610
- height: a,
611
- aspectRatio: s
612
- };
613
- }
614
- const Gt = c({ start: 0, end: 1 }), Xt = p(() => b.value.map((t) => t.name));
615
- _a({
616
- timeLabelsEls: me,
617
- timeLabels: Xt,
618
- slicer: Gt,
619
- configRef: e,
620
- rotationPath: ["style", "chart", "yAxis", "labels", "axisNamesRotation"],
621
- autoRotatePath: [
622
- "style",
623
- "chart",
624
- "yAxis",
625
- "labels",
626
- "axisNamesAutoRotate",
627
- "enable"
628
- ],
629
- isAutoSize: !1,
630
- width: qe,
631
- height: Ze,
632
- targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
633
- rotation: e.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
634
- });
635
- const ae = p(() => {
636
- const t = e.value.table.useDialog && !e.value.table.show, l = g.value.showTable;
637
- return {
638
- component: t ? Mt : $t,
639
- title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
640
- props: t ? {
641
- backgroundColor: e.value.table.th.backgroundColor,
642
- color: e.value.table.th.color,
643
- headerColor: e.value.table.th.color,
644
- headerBg: e.value.table.th.backgroundColor,
645
- isFullscreen: W.value,
646
- fullscreenParent: O.value,
647
- forcedWidth: Math.min(800, window.innerWidth * 0.8),
648
- isCursorPointer: j.value
649
- } : {
650
- hideDetails: !0,
651
- config: {
652
- open: l,
653
- maxHeight: 1e4,
654
- body: {
655
- backgroundColor: e.value.style.chart.backgroundColor,
656
- color: e.value.style.chart.color
657
- },
658
- head: {
659
- backgroundColor: e.value.style.chart.backgroundColor,
660
- color: e.value.style.chart.color
661
- }
662
- }
663
- }
664
- };
665
- });
666
- he(
667
- () => g.value.showTable,
668
- (t) => {
669
- e.value.table.show || (t && e.value.table.useDialog && q.value ? q.value.open() : "close" in q.value && q.value.close());
670
- }
671
- );
672
- function nt() {
673
- g.value.showTable = !1, ye.value && ye.value.setTableIconState(!1);
674
- }
675
- const Kt = p(() => e.value.style.chart.backgroundColor), Yt = p(() => e.value.style.chart.legend), qt = p(() => e.value.style.chart.title), { exportSvg: Zt, getSvg: Jt } = za({
676
- svg: G,
677
- title: qt,
678
- legend: Yt,
679
- legendItems: ce,
680
- backgroundColor: Kt
681
- });
682
- async function it({ isCb: t }) {
683
- ie.value = !0, await Me();
684
- try {
685
- if (t) {
686
- const { blob: l, url: a, text: s, dataUrl: o } = await Jt();
687
- await Promise.resolve(
688
- e.value.userOptions.callbacks.svg({
689
- blob: l,
690
- url: a,
691
- text: s,
692
- dataUrl: o
693
- })
694
- );
695
- } else
696
- await Promise.resolve(Zt());
697
- } finally {
698
- ie.value = !1;
699
- }
700
- }
701
- function Qt(t) {
702
- if (t?.stage === "start") {
703
- ne.value = !0;
704
- return;
705
- }
706
- if (t?.stage === "end") {
707
- ne.value = !1;
708
- return;
709
- }
710
- Ye();
711
- }
712
- async function ut() {
713
- if (Pe("copyAlt", {
714
- config: e.value,
715
- dataset: Y.value
716
- }), !e.value.userOptions.callbacks.altCopy) {
717
- console.warn(
718
- "Vue Data UI - A callback must be set for `altCopy` in userOptions."
719
- );
720
- return;
721
- }
722
- await Promise.resolve(
723
- e.value.userOptions.callbacks.altCopy({
724
- config: e.value,
725
- dataset: Y.value
726
- })
727
- );
728
- }
729
- function ea(t) {
730
- const l = X.value.length;
731
- return l ? (t % l + l) % l : null;
732
- }
733
- function rt() {
734
- if (N.value !== null) {
735
- const t = X.value[N.value];
736
- t && J({
737
- shape: t.shape,
738
- serie: t.serie,
739
- S: t.S
740
- });
741
- }
742
- N.value = null, ue.value = "pointer", C.value = null, de.value = !1;
743
- }
744
- function ta() {
745
- N.value = null, ge.value = !0;
746
- }
747
- function aa() {
748
- rt(), ge.value = !1;
749
- }
750
- function la(t) {
751
- if (!G.value || te.value || document.activeElement !== G.value || !X.value.length) return;
752
- const l = ["ArrowUp", "ArrowLeft"].includes(t.key), a = ["ArrowDown", "ArrowRight"].includes(t.key), s = t.key === "Enter" || t.key === " ", o = t.key === "Escape";
753
- if (!l && !a && !s && !o)
754
- return;
755
- if (t.preventDefault(), t.stopPropagation(), o) {
756
- rt();
757
- return;
758
- }
759
- if (s) {
760
- if (N.value === null) return;
761
- const k = X.value[N.value];
762
- if (!k) return;
763
- ee({
764
- serie: k.serie,
765
- shape: k.shape,
766
- S: k.S
767
- });
768
- return;
769
- }
770
- let u = N.value;
771
- u === null ? u = a ? 0 : X.value.length - 1 : u = ea(u + (a ? 1 : -1));
772
- const i = X.value[u];
773
- i && (N.value = u, Q({
774
- shape: i.shape,
775
- serieName: i.serieName,
776
- serie: i.serie,
777
- relativeIndex: i.relativeIndex,
778
- seriesIndex: i.seriesIndex,
779
- S: i.S,
780
- triggerMode: "keyboard"
781
- }));
782
- }
783
- const le = p(() => ({
784
- head: E.value.head,
785
- body: E.value.body.map((t) => [
786
- t[0] ?? "",
787
- t[1] ?? "",
788
- ...t.slice(2)
789
- ]),
790
- caption: e.value.a11y.translations.tableCaption,
791
- notice: e.value.a11y.translations.tableAvailable
792
- }));
793
- return xt({
794
- getData: Wt,
795
- getImage: jt,
796
- generateCsv: Te,
797
- generatePdf: Ke,
798
- generateImage: Ye,
799
- generateSvg: it,
800
- hideSeries: Ut,
801
- showSeries: Et,
802
- toggleTable: lt,
803
- toggleLabels: ot,
804
- toggleTooltip: st,
805
- toggleAnnotator: Ie,
806
- toggleFullscreen: Ve,
807
- copyAlt: ut
808
- }), (t, l) => (n(), r("div", {
809
- ref_key: "pcpChart",
810
- ref: O,
811
- class: oe(`vue-data-ui-component vue-ui-pcp ${W.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
812
- style: _(`font-family:${e.value.style.fontFamily};width:100%; text-align:center;background:${e.value.style.chart.backgroundColor};${e.value.responsive ? "height:100%" : ""}`),
813
- id: `pcp_${F.value}`,
814
- onMouseenter: l[2] || (l[2] = () => v(We)(!0)),
815
- onMouseleave: l[3] || (l[3] = () => v(We)(!1))
816
- }, [
817
- S("div", {
818
- id: `chart-instructions-${F.value}`,
819
- class: "sr-only"
820
- }, [
821
- S("p", null, V(e.value.a11y.translations.keyboardNavigation), 1)
822
- ], 8, ja),
823
- le.value.body.length ? (n(), z(Ua, {
824
- key: 0,
825
- uid: F.value,
826
- head: le.value.head,
827
- body: le.value.body,
828
- caption: le.value.caption,
829
- notice: le.value.notice
830
- }, null, 8, ["uid", "head", "body", "caption", "notice"])) : y("", !0),
831
- e.value.userOptions.buttons.annotator ? (n(), z(v(Pt), {
832
- key: 1,
833
- svgRef: v(G),
834
- backgroundColor: e.value.style.chart.backgroundColor,
835
- color: e.value.style.chart.color,
836
- active: te.value,
837
- isCursorPointer: j.value,
838
- onClose: Ie
839
- }, {
840
- "annotator-action-close": f(() => [
841
- h(t.$slots, "annotator-action-close", {}, void 0, !0)
842
- ]),
843
- "annotator-action-color": f(({ color: a }) => [
844
- h(t.$slots, "annotator-action-color", A($({ color: a })), void 0, !0)
845
- ]),
846
- "annotator-action-draw": f(({ mode: a }) => [
847
- h(t.$slots, "annotator-action-draw", A($({ mode: a })), void 0, !0)
848
- ]),
849
- "annotator-action-undo": f(({ disabled: a }) => [
850
- h(t.$slots, "annotator-action-undo", A($({ disabled: a })), void 0, !0)
851
- ]),
852
- "annotator-action-redo": f(({ disabled: a }) => [
853
- h(t.$slots, "annotator-action-redo", A($({ disabled: a })), void 0, !0)
854
- ]),
855
- "annotator-action-delete": f(({ disabled: a }) => [
856
- h(t.$slots, "annotator-action-delete", A($({ disabled: a })), void 0, !0)
857
- ]),
858
- _: 3
859
- }, 8, ["svgRef", "backgroundColor", "color", "active", "isCursorPointer"])) : y("", !0),
860
- Ot.value ? (n(), r("div", {
861
- key: 2,
862
- ref_key: "noTitle",
863
- ref: De,
864
- class: "vue-data-ui-no-title-space",
865
- style: "height:36px; width: 100%;background:transparent"
866
- }, null, 512)) : y("", !0),
867
- e.value.style.chart.title.text ? (n(), r("div", {
868
- key: 3,
869
- ref_key: "chartTitle",
870
- ref: Le,
871
- style: "width:100%;background:transparent;padding-bottom:24px"
872
- }, [
873
- (n(), z(Da, {
874
- key: `title_${Re.value}`,
875
- config: {
876
- title: {
877
- cy: "pcp-div-title",
878
- ...e.value.style.chart.title
879
- },
880
- subtitle: {
881
- cy: "pcp-div-subtitle",
882
- ...e.value.style.chart.title.subtitle
883
- }
884
- }
885
- }, null, 8, ["config"]))
886
- ], 512)) : y("", !0),
887
- S("div", {
888
- id: `legend-top-${F.value}`
889
- }, null, 8, Ga),
890
- e.value.userOptions.show && se.value && (v(je) || v(ke)) ? (n(), z(v(It), {
891
- ref_key: "userOptionsRef",
892
- ref: ye,
893
- key: `user_options_${Fe.value}`,
894
- backgroundColor: e.value.style.chart.backgroundColor,
895
- color: e.value.style.chart.color,
896
- isPrinting: v(Ce),
897
- isImaging: v(we),
898
- uid: F.value,
899
- hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.chart.tooltip.show,
900
- hasPdf: e.value.userOptions.buttons.pdf,
901
- hasXls: e.value.userOptions.buttons.csv,
902
- hasImg: e.value.userOptions.buttons.img,
903
- hasSvg: e.value.userOptions.buttons.svg,
904
- hasTable: e.value.userOptions.buttons.table,
905
- hasLabel: e.value.userOptions.buttons.labels,
906
- hasFullscreen: e.value.userOptions.buttons.fullscreen,
907
- hasAltCopy: e.value.userOptions.buttons.altCopy,
908
- isFullscreen: W.value,
909
- isTooltip: g.value.showTooltip,
910
- titles: { ...e.value.userOptions.buttonTitles },
911
- chartElement: O.value,
912
- position: e.value.userOptions.position,
913
- hasAnnotator: e.value.userOptions.buttons.annotator,
914
- isAnnotation: te.value,
915
- callbacks: e.value.userOptions.callbacks,
916
- printScale: e.value.userOptions.print.scale,
917
- tableDialog: e.value.table.useDialog,
918
- isCursorPointer: j.value,
919
- onToggleFullscreen: Ve,
920
- onGeneratePdf: v(Ke),
921
- onGenerateCsv: Te,
922
- onGenerateImage: Qt,
923
- onGenerateSvg: it,
924
- onToggleTable: lt,
925
- onToggleLabels: ot,
926
- onToggleTooltip: st,
927
- onToggleAnnotator: Ie,
928
- onCopyAlt: ut,
929
- style: _({
930
- visibility: v(je) ? v(ke) ? "visible" : "hidden" : "visible"
931
- })
932
- }, vt({ _: 2 }, [
933
- t.$slots.menuIcon ? {
934
- name: "menuIcon",
935
- fn: f(({ isOpen: a, color: s }) => [
936
- h(t.$slots, "menuIcon", A($({ isOpen: a, color: s })), void 0, !0)
937
- ]),
938
- key: "0"
939
- } : void 0,
940
- t.$slots.optionPdf ? {
941
- name: "optionPdf",
942
- fn: f(() => [
943
- h(t.$slots, "optionPdf", {}, void 0, !0)
944
- ]),
945
- key: "1"
946
- } : void 0,
947
- t.$slots.optionCsv ? {
948
- name: "optionCsv",
949
- fn: f(() => [
950
- h(t.$slots, "optionCsv", {}, void 0, !0)
951
- ]),
952
- key: "2"
953
- } : void 0,
954
- t.$slots.optionImg ? {
955
- name: "optionImg",
956
- fn: f(() => [
957
- h(t.$slots, "optionImg", {}, void 0, !0)
958
- ]),
959
- key: "3"
960
- } : void 0,
961
- t.$slots.optionSvg ? {
962
- name: "optionSvg",
963
- fn: f(() => [
964
- h(t.$slots, "optionSvg", {}, void 0, !0)
965
- ]),
966
- key: "4"
967
- } : void 0,
968
- t.$slots.optionTable ? {
969
- name: "optionTable",
970
- fn: f(() => [
971
- h(t.$slots, "optionTable", {}, void 0, !0)
972
- ]),
973
- key: "5"
974
- } : void 0,
975
- t.$slots.optionLabels ? {
976
- name: "optionLabels",
977
- fn: f(() => [
978
- h(t.$slots, "optionLabels", {}, void 0, !0)
979
- ]),
980
- key: "6"
981
- } : void 0,
982
- t.$slots.optionFullscreen ? {
983
- name: "optionFullscreen",
984
- fn: f(({ toggleFullscreen: a, isFullscreen: s }) => [
985
- h(t.$slots, "optionFullscreen", A($({ toggleFullscreen: a, isFullscreen: s })), void 0, !0)
986
- ]),
987
- key: "7"
988
- } : void 0,
989
- t.$slots.optionAnnotator ? {
990
- name: "optionAnnotator",
991
- fn: f(({ toggleAnnotator: a, isAnnotator: s }) => [
992
- h(t.$slots, "optionAnnotator", A($({ toggleAnnotator: a, isAnnotator: s })), void 0, !0)
993
- ]),
994
- key: "8"
995
- } : void 0,
996
- t.$slots.optionAltCopy ? {
997
- name: "optionAltCopy",
998
- fn: f(({ altCopy: a }) => [
999
- h(t.$slots, "optionAltCopy", A($({ altCopy: a })), void 0, !0)
1000
- ]),
1001
- key: "9"
1002
- } : void 0
1003
- ]), 1032, ["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"])) : y("", !0),
1004
- S("div", Xa, [
1005
- (n(), r("svg", {
1006
- ref_key: "svgRef",
1007
- ref: G,
1008
- xmlns: v(ka),
1009
- "aria-describedby": `chart-instructions-${F.value}`,
1010
- class: oe({
1011
- "vue-data-ui-fullscreen--on": W.value,
1012
- "vue-data-ui-fulscreen--off": !W.value
1013
- }),
1014
- viewBox: `0 0 ${m.value.chartWidth <= 0 ? 10 : m.value.chartWidth} ${m.value.chartHeight <= 0 ? 10 : m.value.chartHeight}`,
1015
- style: _(`max-width:100%; overflow: visible; background:transparent;color:${e.value.style.chart.color}`),
1016
- tabindex: "0",
1017
- onFocus: ta,
1018
- onBlur: aa,
1019
- onKeydown: la
1020
- }, [
1021
- Se(v(St)),
1022
- t.$slots["chart-background"] ? (n(), r("foreignObject", {
1023
- key: 0,
1024
- x: m.value.left,
1025
- y: m.value.top,
1026
- width: m.value.width,
1027
- height: m.value.height,
1028
- style: {
1029
- pointerEvents: "none"
1030
- }
1031
- }, [
1032
- h(t.$slots, "chart-background", {}, void 0, !0)
1033
- ], 8, Ya)) : y("", !0),
1034
- (n(!0), r(M, null, D(b.value, (a, s) => (n(), r("g", qa, [
1035
- S("line", {
1036
- x1: m.value.left + P.value * s + P.value / 2,
1037
- x2: m.value.left + P.value * s + P.value / 2,
1038
- y1: m.value.top,
1039
- y2: m.value.bottom,
1040
- stroke: e.value.style.chart.yAxis.stroke,
1041
- "stroke-width": e.value.style.chart.yAxis.strokeWidth
1042
- }, null, 8, Za),
1043
- e.value.style.chart.yAxis.labels.ticks.show ? (n(), r(M, { key: 0 }, [
1044
- (n(!0), r(M, null, D(a.ticks, (o) => (n(), r("line", {
1045
- x1: o.x,
1046
- x2: o.x - 10,
1047
- y1: o.y,
1048
- y2: o.y,
1049
- stroke: e.value.style.chart.yAxis.stroke,
1050
- "stroke-width": e.value.style.chart.yAxis.strokeWidth,
1051
- style: _(`opacity:${C.value && !g.value.showTooltip ? 0.2 : 1}`)
1052
- }, null, 12, Ja))), 256)),
1053
- v(R) ? y("", !0) : (n(), r("g", Qa, [
1054
- (n(!0), r(M, null, D(a.ticks, (o) => (n(), r("text", {
1055
- x: o.x - 12 + e.value.style.chart.yAxis.labels.ticks.offsetX,
1056
- y: o.y + e.value.style.chart.yAxis.labels.ticks.offsetY + d.value.ticksFontSize / 3,
1057
- fill: e.value.style.chart.yAxis.labels.ticks.color,
1058
- "text-anchor": "end",
1059
- "font-size": d.value.ticksFontSize,
1060
- "font-weight": e.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1061
- style: _(`opacity:${C.value && !g.value.showTooltip ? 0.2 : 1}`)
1062
- }, V(et({
1063
- value: o.value,
1064
- index: s,
1065
- datapoint: o
1066
- })), 13, el))), 256))
1067
- ]))
1068
- ], 64)) : y("", !0)
1069
- ]))), 256)),
1070
- e.value.style.chart.yAxis.labels.showAxisNames ? (n(), r("g", {
1071
- key: 1,
1072
- ref_key: "xAxisLabels",
1073
- ref: me
1074
- }, [
1075
- (n(!0), r(M, null, D(b.value, (a, s) => (n(), r(M, null, [
1076
- String(a.name).includes(`
1077
- `) ? (n(), r("text", {
1078
- key: 1,
1079
- class: "vue-ui-parallel-coordinate-plot-x-label",
1080
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
1081
- "font-size": d.value.axisNameFontSize,
1082
- "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1083
- "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1084
- transform: `translate(${m.value.left + P.value * s + P.value / 2}, ${Z.value - d.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`,
1085
- innerHTML: v(xa)({
1086
- content: String(a.name),
1087
- fontSize: d.value.axisNameFontSize,
1088
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
1089
- x: 0,
1090
- y: 0
1091
- })
1092
- }, null, 8, al)) : (n(), r("text", {
1093
- key: 0,
1094
- class: "vue-ui-parallel-coordinate-plot-x-label",
1095
- fill: e.value.style.chart.yAxis.labels.axisNamesColor,
1096
- "font-size": d.value.axisNameFontSize,
1097
- "font-weight": e.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1098
- "text-anchor": e.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : e.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1099
- transform: `translate(${m.value.left + P.value * s + P.value / 2}, ${Z.value - d.value.axisNameFontSize}), rotate(${e.value.style.chart.yAxis.labels.axisNamesRotation})`
1100
- }, V(a.name), 9, tl))
1101
- ], 64))), 256))
1102
- ], 512)) : y("", !0),
1103
- (n(!0), r(M, null, D(Y.value, (a, s) => (n(), r("g", null, [
1104
- (n(!0), r(M, null, D(a.series, (o, u) => (n(), r("g", null, [
1105
- e.value.style.chart.plots.show ? (n(), r("g", ll, [
1106
- (n(!0), r(M, null, D(o.datapoints, (i, k) => (n(), z(Ba, {
1107
- plot: { x: i.x, y: i.y },
1108
- color: a.color,
1109
- shape: a.shape,
1110
- radius: a.shape === "triangle" ? d.value.plotSize * 1.2 : d.value.plotSize,
1111
- stroke: e.value.style.chart.backgroundColor,
1112
- strokeWidth: 0.5,
1113
- onMouseenter: (w) => Q({
1114
- shape: a.shape,
1115
- serieName: a.name,
1116
- serie: o,
1117
- relativeIndex: u,
1118
- seriesIndex: o.seriesIndex,
1119
- S: s,
1120
- triggerMode: "pointer"
1121
- }),
1122
- onMouseleave: (w) => J({
1123
- serie: o,
1124
- shape: a.shape,
1125
- S: s
1126
- }),
1127
- style: _(`opacity:${C.value ? C.value === o.id ? e.value.style.chart.plots.opacity : 0.2 : e.value.style.chart.plots.opacity}`),
1128
- onClick: () => ee({
1129
- serie: o,
1130
- shape: a.shape,
1131
- S: s
1132
- })
1133
- }, null, 8, ["plot", "color", "shape", "radius", "stroke", "onMouseenter", "onMouseleave", "style", "onClick"]))), 256)),
1134
- g.value.showTooltip ? y("", !0) : (n(), r(M, { key: 0 }, [
1135
- C.value && C.value === o.id && o.datapoints.length ? (n(), r("text", {
1136
- key: 0,
1137
- x: o.datapoints[0].x - d.value.ticksFontSize,
1138
- y: o.datapoints[0].y + d.value.ticksFontSize / 3,
1139
- "text-anchor": "end",
1140
- "font-size": d.value.ticksFontSize,
1141
- fill: a.color,
1142
- "font-weight": "bold"
1143
- }, V(o.name), 9, ol)) : y("", !0)
1144
- ], 64)),
1145
- e.value.style.chart.comments.show ? (n(!0), r(M, { key: 1 }, D(o.datapoints, (i) => (n(), r("g", null, [
1146
- i.comment ? (n(), r("foreignObject", {
1147
- key: 0,
1148
- style: { overflow: "visible" },
1149
- height: "12",
1150
- width: e.value.style.chart.comments.width,
1151
- x: i.x - e.value.style.chart.comments.width / 2 + e.value.style.chart.comments.offsetX,
1152
- y: i.y + e.value.style.chart.comments.offsetY + 6
1153
- }, [
1154
- S("div", nl, [
1155
- h(t.$slots, "plot-comment", {
1156
- plot: {
1157
- ...i,
1158
- color: a.color
1159
- }
1160
- }, void 0, !0)
1161
- ])
1162
- ], 8, sl)) : y("", !0)
1163
- ]))), 256)) : y("", !0)
1164
- ])) : y("", !0),
1165
- !v(R) && (g.value.dataLabels.show || C.value && C.value === o.id) ? (n(!0), r(M, { key: 1 }, D(o.datapoints, (i, k) => (n(), r("text", {
1166
- x: i.x + 12 + e.value.style.chart.yAxis.labels.datapoints.offsetX,
1167
- y: i.y + e.value.style.chart.yAxis.labels.datapoints.offsetY + d.value.datapointFontSize / 3,
1168
- fill: e.value.style.chart.yAxis.labels.datapoints.useSerieColor ? a.color : e.value.style.chart.yAxis.labels.datapoints.color,
1169
- "text-anchor": "start",
1170
- "font-weight": e.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
1171
- class: oe({
1172
- "vue-ui-pcp-animated": !1,
1173
- "vue-ui-pcp-transition": !v(R)
1174
- }),
1175
- "font-size": d.value.datapointFontSize,
1176
- onMouseenter: (w) => Q({
1177
- shape: a.shape,
1178
- serieName: a.name,
1179
- serie: o,
1180
- relativeIndex: u,
1181
- seriesIndex: o.seriesIndex,
1182
- S: s,
1183
- triggerMode: "pointer"
1184
- }),
1185
- onMouseleave: (w) => J({
1186
- serie: o,
1187
- shape: a.shape,
1188
- S: s
1189
- }),
1190
- onClick: () => ee({
1191
- serie: o,
1192
- shape: a.shape,
1193
- S: s
1194
- }),
1195
- style: _(`opacity:${C.value ? C.value === o.id ? 1 : 0.2 : 1}`)
1196
- }, V(et({
1197
- value: i.value,
1198
- index: k,
1199
- datapoint: i
1200
- })), 47, il))), 256)) : y("", !0),
1201
- S("path", {
1202
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
1203
- stroke: a.color,
1204
- "stroke-width": e.value.style.chart.lines.strokeWidth,
1205
- fill: "none",
1206
- class: oe({
1207
- "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation,
1208
- "vue-ui-pcp-transition": !v(R)
1209
- }),
1210
- onMouseenter: (i) => Q({
1211
- shape: a.shape,
1212
- serieName: a.name,
1213
- serie: o,
1214
- relativeIndex: u,
1215
- seriesIndex: o.seriesIndex,
1216
- S: s,
1217
- triggerMode: "pointer"
1218
- }),
1219
- onMouseleave: (i) => J({
1220
- serie: o,
1221
- shape: a.shape,
1222
- S: s
1223
- }),
1224
- onClick: () => ee({
1225
- serie: o,
1226
- shape: a.shape,
1227
- S: s
1228
- }),
1229
- style: _(`opacity:${C.value ? C.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}`)
1230
- }, null, 46, ul),
1231
- g.value.showTooltip ? (n(), r("path", {
1232
- key: 2,
1233
- d: `M${e.value.style.chart.lines.smooth ? o.smoothPath : o.straightPath}`,
1234
- stroke: "transparent",
1235
- "stroke-width": 12,
1236
- fill: "none",
1237
- class: oe({
1238
- "vue-ui-pcp-animated vue-data-ui-line-animated": e.value.useCssAnimation,
1239
- "vue-ui-pcp-transition": !v(R)
1240
- }),
1241
- onMouseenter: (i) => Q({
1242
- shape: a.shape,
1243
- serieName: a.name,
1244
- serie: o,
1245
- relativeIndex: u,
1246
- seriesIndex: o.seriesIndex,
1247
- S: s,
1248
- triggerMode: "pointer"
1249
- }),
1250
- onMouseleave: (i) => J({
1251
- serie: o,
1252
- shape: a.shape,
1253
- S: s
1254
- }),
1255
- onClick: () => ee({
1256
- serie: o,
1257
- shape: a.shape,
1258
- S: s
1259
- }),
1260
- style: { opacity: "0" }
1261
- }, null, 42, rl)) : y("", !0)
1262
- ]))), 256))
1263
- ]))), 256)),
1264
- h(t.$slots, "svg", {
1265
- svg: {
1266
- ...m.value,
1267
- isPrintingImg: v(Ce) | v(we) | ne.value,
1268
- isPrintingSvg: ie.value
1269
- }
1270
- }, void 0, !0)
1271
- ], 46, Ka)),
1272
- t.$slots.hint ? (n(), r("div", cl, [
1273
- h(t.$slots, "hint", A($({
1274
- hint: e.value.a11y.translations.keyboardNavigation,
1275
- isVisible: ge.value
1276
- })), void 0, !0)
1277
- ])) : y("", !0)
1278
- ]),
1279
- t.$slots.watermark ? (n(), r("div", vl, [
1280
- h(t.$slots, "watermark", A($({
1281
- isPrinting: v(Ce) || v(we) || ne.value || ie.value
1282
- })), void 0, !0)
1283
- ])) : y("", !0),
1284
- S("div", {
1285
- id: `legend-bottom-${F.value}`
1286
- }, null, 8, dl),
1287
- Ue.value && (e.value.style.chart.legend.show || t.$slots.legend) ? (n(), z(ra, {
1288
- key: 6,
1289
- to: e.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
1290
- }, [
1291
- S("div", {
1292
- ref_key: "chartLegend",
1293
- ref: _e
1294
- }, [
1295
- h(t.$slots, "legend", { legend: L.value }, () => [
1296
- e.value.style.chart.legend.show && se.value ? (n(), z(Ra, {
1297
- key: `legend_${Be.value}`,
1298
- legendSet: ce.value,
1299
- config: Ht.value,
1300
- isCursorPointer: j.value,
1301
- onClickMarker: l[0] || (l[0] = ({ legend: a }) => {
1302
- re(a.id), at(a);
1303
- })
1304
- }, {
1305
- item: f(({ legend: a, index: s }) => [
1306
- S("div", {
1307
- onClick: (o) => {
1308
- a.segregate(), at(a);
1309
- },
1310
- style: _(`opacity:${x.value.includes(a.id) ? 0.5 : 1}`)
1311
- }, V(a.name), 13, hl)
1312
- ]),
1313
- legendToggle: f(() => [
1314
- ce.value.length > 2 && e.value.style.chart.legend.selectAllToggle.show && !v(R) ? (n(), z(Ha, {
1315
- key: 0,
1316
- backgroundColor: e.value.style.chart.legend.selectAllToggle.backgroundColor,
1317
- color: e.value.style.chart.legend.selectAllToggle.color,
1318
- fontSize: e.value.style.chart.legend.fontSize,
1319
- checked: x.value.length > 0,
1320
- isCursorPointer: j.value,
1321
- onToggle: Bt
1322
- }, null, 8, ["backgroundColor", "color", "fontSize", "checked", "isCursorPointer"])) : y("", !0)
1323
- ]),
1324
- _: 1
1325
- }, 8, ["legendSet", "config", "isCursorPointer"])) : y("", !0)
1326
- ], !0)
1327
- ], 512)
1328
- ], 8, ["to"])) : y("", !0),
1329
- t.$slots.source ? (n(), r("div", {
1330
- key: 7,
1331
- ref_key: "source",
1332
- ref: Oe,
1333
- dir: "auto"
1334
- }, [
1335
- h(t.$slots, "source", {}, void 0, !0)
1336
- ], 512)) : y("", !0),
1337
- Se(v(wt), {
1338
- teleportTo: e.value.style.chart.tooltip.teleportTo,
1339
- show: g.value.showTooltip && de.value,
1340
- backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1341
- color: e.value.style.chart.tooltip.color,
1342
- fontSize: e.value.style.chart.tooltip.fontSize,
1343
- borderRadius: e.value.style.chart.tooltip.borderRadius,
1344
- borderColor: e.value.style.chart.tooltip.borderColor,
1345
- borderWidth: e.value.style.chart.tooltip.borderWidth,
1346
- backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1347
- position: e.value.style.chart.tooltip.position,
1348
- offsetY: e.value.style.chart.tooltip.offsetY,
1349
- parent: O.value,
1350
- content: $e.value,
1351
- isFullscreen: W.value,
1352
- isCustom: v(yt)(e.value.style.chart.tooltip.customFormat),
1353
- smooth: e.value.style.chart.tooltip.smooth,
1354
- backdropFilter: e.value.style.chart.tooltip.backdropFilter,
1355
- smoothForce: e.value.style.chart.tooltip.smoothForce,
1356
- smoothSnapThreshold: e.value.style.chart.tooltip.smoothSnapThreshold,
1357
- isA11yMode: ue.value === "keyboard",
1358
- a11yPosition: He.value
1359
- }, {
1360
- "tooltip-before": f(() => [
1361
- h(t.$slots, "tooltip-before", A($({ ...ve.value })), void 0, !0)
1362
- ]),
1363
- tooltip: f(() => [
1364
- h(t.$slots, "tooltip", A($({ ...ve.value })), void 0, !0)
1365
- ]),
1366
- "tooltip-after": f(() => [
1367
- h(t.$slots, "tooltip-after", A($({ ...ve.value })), void 0, !0)
1368
- ]),
1369
- _: 3
1370
- }, 8, ["teleportTo", "show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isFullscreen", "isCustom", "smooth", "backdropFilter", "smoothForce", "smoothSnapThreshold", "isA11yMode", "a11yPosition"]),
1371
- se.value && e.value.userOptions.buttons.table ? (n(), z(ca(ae.value.component), va({ key: 8 }, ae.value.props, {
1372
- ref_key: "tableUnit",
1373
- ref: q,
1374
- onClose: nt
1375
- }), vt({
1376
- content: f(() => [
1377
- (n(), z(v(Tt), {
1378
- key: `table_${Ee.value}`,
1379
- colNames: E.value.colNames,
1380
- head: E.value.head,
1381
- body: E.value.body,
1382
- config: E.value.config,
1383
- title: e.value.table.useDialog ? "" : ae.value.title,
1384
- withCloseButton: !e.value.table.useDialog,
1385
- isCursorPointer: j.value,
1386
- onClose: nt
1387
- }, {
1388
- th: f(({ th: a }) => [
1389
- S("div", { innerHTML: a }, null, 8, pl)
1390
- ]),
1391
- td: f(({ td: a }) => [
1392
- dt(V(a), 1)
1393
- ]),
1394
- _: 1
1395
- }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton", "isCursorPointer"]))
1396
- ]),
1397
- _: 2
1398
- }, [
1399
- e.value.table.useDialog ? {
1400
- name: "title",
1401
- fn: f(() => [
1402
- dt(V(ae.value.title), 1)
1403
- ]),
1404
- key: "0"
1405
- } : void 0,
1406
- e.value.table.useDialog ? {
1407
- name: "actions",
1408
- fn: f(() => [
1409
- S("button", {
1410
- tabindex: "0",
1411
- class: "vue-ui-user-options-button",
1412
- onClick: l[1] || (l[1] = (a) => Te(e.value.userOptions.callbacks.csv)),
1413
- style: _({ cursor: j.value ? "pointer" : "default" })
1414
- }, [
1415
- Se(v(At), {
1416
- name: "fileCsv",
1417
- stroke: ae.value.props.color
1418
- }, null, 8, ["stroke"])
1419
- ], 4)
1420
- ]),
1421
- key: "1"
1422
- } : void 0
1423
- ]), 1040)) : y("", !0),
1424
- h(t.$slots, "skeleton", {}, () => [
1425
- v(R) ? (n(), z(Ma, { key: 0 })) : y("", !0)
1426
- ], !0)
1427
- ], 46, Wa));
1428
- }
1429
- }, Ol = /* @__PURE__ */ Va(fl, [["__scopeId", "data-v-b504d45e"]]);
1430
- export {
1431
- Ol as default
1432
- };