vue-data-ui 3.27.0 → 3.27.1-beta.0

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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-NwZO-elv.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17961 -17958
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -130
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-DKO1l8oR.js +0 -116
  350. package/dist/BaseDraggableDialog-C50TEJFv.js +0 -272
  351. package/dist/BaseIcon-Cx9FD751.js +0 -484
  352. package/dist/BaseLegendToggle-CP3sddwv.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-vNi8YykO.js +0 -111
  355. package/dist/ColorPicker-hmC2bvwS.js +0 -257
  356. package/dist/DataTable-CjF_An2h.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-DqqGB33u.js +0 -187
  359. package/dist/Legend-CulFgjUY.js +0 -156
  360. package/dist/NonSvgPenAndPaper-BK1v_MfW.js +0 -577
  361. package/dist/PackageVersion-D7H9nfK0.js +0 -12
  362. package/dist/PenAndPaper-CNiuGw6k.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-DSwamtmO.js +0 -143
  367. package/dist/SlicerPreview-k5YerMA9.js +0 -1730
  368. package/dist/SparkTooltip-D35KVv6N.js +0 -93
  369. package/dist/Title-BMCuINbv.js +0 -87
  370. package/dist/Tooltip-C4ZTwkLF.js +0 -312
  371. package/dist/UserOptions-CORYQiif.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-CBusMkua.js +0 -237
  374. package/dist/exposedLib-UNxZlnAS.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-Bb5rHcpO.js +0 -129
  377. package/dist/labelUtils-Ccn9kK7T.js +0 -19
  378. package/dist/lib-D4wK6ljP.js +0 -2146
  379. package/dist/package-DmQufM0G.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-BzIQHx-F.js +0 -90
  382. package/dist/render-common-BtfjXdkJ.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-D_6ZrPMD.js +0 -8090
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-DR_8JPol.js +0 -12
  391. package/dist/useObjectBindings-DvasYMGu.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-DdW2GSm0.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-Df7WV80w.js +0 -191
  406. package/dist/vue-ui-3d-bar-CJjNPwhG.js +0 -1831
  407. package/dist/vue-ui-accordion-CaoNWreI.js +0 -81
  408. package/dist/vue-ui-age-pyramid-BYcM0uIP.js +0 -1305
  409. package/dist/vue-ui-annotator-BmqjDjRF.js +0 -3325
  410. package/dist/vue-ui-bullet-DBOAvpBB.js +0 -702
  411. package/dist/vue-ui-bump-rPYwDJ4o.js +0 -1242
  412. package/dist/vue-ui-candlestick-WQHIQNv_.js +0 -2144
  413. package/dist/vue-ui-carousel-table-Dojcvt49.js +0 -467
  414. package/dist/vue-ui-chestnut-BdhEByUf.js +0 -2016
  415. package/dist/vue-ui-chord-MF4xF5az.js +0 -1347
  416. package/dist/vue-ui-circle-pack-BwDim7G8.js +0 -1647
  417. package/dist/vue-ui-cursor-w_5cbpSb.js +0 -283
  418. package/dist/vue-ui-dag-D2EUqeDN.js +0 -2931
  419. package/dist/vue-ui-dashboard-BLnVXosj.js +0 -522
  420. package/dist/vue-ui-digits-zSqwYWHm.js +0 -217
  421. package/dist/vue-ui-donut-ZYZfqIhi.js +0 -974
  422. package/dist/vue-ui-donut-evolution-DtLbWi3h.js +0 -1869
  423. package/dist/vue-ui-donut-nLDLZwig.js +0 -2427
  424. package/dist/vue-ui-dumbbell-Qgn3wRyI.js +0 -1533
  425. package/dist/vue-ui-flow-iSH6dyGw.js +0 -1229
  426. package/dist/vue-ui-funnel-Cc2z2zS5.js +0 -749
  427. package/dist/vue-ui-galaxy-GhuBSU0o.js +0 -1097
  428. package/dist/vue-ui-gauge-BAjBO13a.js +0 -934
  429. package/dist/vue-ui-geo-mwTtvIHY.js +0 -1495
  430. package/dist/vue-ui-gizmo-B5vOOrZX.js +0 -238
  431. package/dist/vue-ui-heatmap-fimkY1nN.js +0 -1613
  432. package/dist/vue-ui-hill-DPfTt3UE.js +0 -1747
  433. package/dist/vue-ui-history-plot-B1WgzqTb.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-Bkp5HQdt.js +0 -1723
  435. package/dist/vue-ui-kpi-D-p0CSQh.js +0 -104
  436. package/dist/vue-ui-label-r3-QloJL.js +0 -1451
  437. package/dist/vue-ui-mini-loader-CnrBGAtM.js +0 -133
  438. package/dist/vue-ui-molecule-BhdAYX_H.js +0 -941
  439. package/dist/vue-ui-mood-radar-CdlnPrQf.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-DceVEyUc.js +0 -1515
  441. package/dist/vue-ui-onion-_L0uEATI.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-CbXwIM47.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CDDFLRcX.js +0 -1979
  446. package/dist/vue-ui-quick-chart-Dom257hl.js +0 -2775
  447. package/dist/vue-ui-radar-BLdri1bA.js +0 -1386
  448. package/dist/vue-ui-rating-C_iTttXB.js +0 -359
  449. package/dist/vue-ui-relation-circle-BmxTSgjd.js +0 -905
  450. package/dist/vue-ui-ridgeline-CsUrcVmL.js +0 -1630
  451. package/dist/vue-ui-rings-D_GPkgbD.js +0 -1264
  452. package/dist/vue-ui-scatter-D_C-IhnW.js +0 -2418
  453. package/dist/vue-ui-skeleton-t7e6KEZ2.js +0 -2567
  454. package/dist/vue-ui-smiley-Dl95YWVo.js +0 -376
  455. package/dist/vue-ui-spark-trend-pkZA7u5V.js +0 -457
  456. package/dist/vue-ui-sparkbar-Ds7OJjhG.js +0 -401
  457. package/dist/vue-ui-sparkgauge-US1M88qc.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-FISVpSvv.js +0 -589
  459. package/dist/vue-ui-sparkline-DvE1dHcs.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-CWtF9eG-.js +0 -750
  461. package/dist/vue-ui-stackbar-fMgrHzZe.js +0 -3273
  462. package/dist/vue-ui-stackline-CSMuUup2.js +0 -2829
  463. package/dist/vue-ui-strip-plot-TGD2UFHS.js +0 -1752
  464. package/dist/vue-ui-table-BCEIbg8-.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CvUcFWMf.js +0 -363
  466. package/dist/vue-ui-table-sparkline-CoVQ1qGY.js +0 -738
  467. package/dist/vue-ui-thermometer-BYFAZCzh.js +0 -758
  468. package/dist/vue-ui-timer-BKr8RVnn.js +0 -451
  469. package/dist/vue-ui-tiremarks-BYu3cEoy.js +0 -540
  470. package/dist/vue-ui-treemap-BR3rX5_L.js +0 -1745
  471. package/dist/vue-ui-waffle-mP8g5aQk.js +0 -1633
  472. package/dist/vue-ui-wheel-CZsSO2R6.js +0 -873
  473. package/dist/vue-ui-word-cloud-CJ30onqy.js +0 -1723
  474. package/dist/vue-ui-world-BZ09DOiF.js +0 -3021
  475. package/dist/vue-ui-xy-C3h54loZ.js +0 -1387
  476. package/dist/vue-ui-xy-canvas-BwgK8drp.js +0 -2151
  477. package/dist/vue-ui-xy-jemv5dsf.js +0 -5777
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-yQyvT4Su.js +0 -537
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,1444 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, $t as n, D as r, Dt as i, Ht as a, J as o, P as ee, S as te, U as ne, X as s, _ as re, at as ie, en as ae, et as oe, i as se, nn as ce, nt as le, pt as ue, t as de, tn as fe, w as pe, xt as me, yt as he, zt as ge } from "./lib-D4wK6ljP.js";
3
- import { n as _e, t as ve } from "./useHints-Dq_w2E8B.js";
4
- import { t as ye } from "./useConfig-D_6ZrPMD.js";
5
- import { t as be } from "./usePrinter-DdW2GSm0.js";
6
- import { n as xe, t as Se } from "./BaseScanner-Dzc8VT3j.js";
7
- import { t as Ce } from "./useNestedProp-DR_8JPol.js";
8
- import { t as we } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Te } from "./useChartExport-iwOqiIWX.js";
10
- import { t as Ee } from "./useTransitions-g_zBREk2.js";
11
- import { t as De } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as Oe } from "./img-Bb5rHcpO.js";
13
- import { n as ke } from "./Title-BMCuINbv.js";
14
- import { t as Ae } from "./Shape-DSwamtmO.js";
15
- import { t as je } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as Me, t as Ne } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Pe } from "./BaseLegendToggle-CP3sddwv.js";
18
- import { t as Fe } from "./A11yDataTable-DdRsVULz.js";
19
- import { t as Ie } from "./useUserOptionState-DK-_1ddE.js";
20
- import { t as Le } from "./useChartAccessibility-DYqac8yF.js";
21
- import { t as Re } from "./Legend-CulFgjUY.js";
22
- import { t as ze } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
23
- import { Fragment as c, Teleport as Be, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as We, nextTick as Ge, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as Ke, onMounted as qe, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as C, toRefs as Xe, unref as w, watch as Ze, watchEffect as Qe, withCtx as T } from "vue";
24
- //#region src/components/vue-ui-parallel-coordinate-plot.vue
25
- var $e = /* @__PURE__ */ e({ default: () => wt }), et = ["id"], tt = ["id"], nt = ["id"], rt = { style: { position: "relative" } }, it = [
26
- "xmlns",
27
- "aria-describedby",
28
- "viewBox"
29
- ], at = [
30
- "x",
31
- "y",
32
- "width",
33
- "height"
34
- ], ot = { style: { "pointer-events": "none" } }, st = [
35
- "x1",
36
- "x2",
37
- "y1",
38
- "y2",
39
- "stroke",
40
- "stroke-width"
41
- ], ct = [
42
- "d",
43
- "stroke",
44
- "stroke-width"
45
- ], lt = { key: 0 }, ut = [
46
- "transform",
47
- "fill",
48
- "font-size",
49
- "font-weight"
50
- ], dt = [
51
- "fill",
52
- "font-size",
53
- "font-weight",
54
- "text-anchor",
55
- "transform"
56
- ], ft = [
57
- "fill",
58
- "font-size",
59
- "font-weight",
60
- "text-anchor",
61
- "transform",
62
- "innerHTML"
63
- ], pt = { key: 0 }, mt = [
64
- "x",
65
- "y",
66
- "font-size",
67
- "fill"
68
- ], ht = [
69
- "width",
70
- "x",
71
- "y"
72
- ], gt = { style: { width: "100%" } }, _t = [
73
- "d",
74
- "stroke",
75
- "stroke-width",
76
- "onMouseenter",
77
- "onMouseleave",
78
- "onClick"
79
- ], vt = [
80
- "d",
81
- "onMouseenter",
82
- "onMouseleave",
83
- "onClick"
84
- ], yt = [
85
- "transform",
86
- "fill",
87
- "font-weight",
88
- "font-size",
89
- "stroke",
90
- "onMouseenter",
91
- "onMouseleave",
92
- "onClick"
93
- ], bt = {
94
- key: 0,
95
- style: {
96
- position: "absolute",
97
- top: "100%",
98
- left: "0",
99
- width: "100%"
100
- },
101
- "data-dom-to-png-ignore": "",
102
- "aria-hidden": "true"
103
- }, xt = {
104
- key: 5,
105
- class: "vue-data-ui-watermark"
106
- }, St = ["id"], Ct = ["onClick"], wt = /*#__PURE__*/ je({
107
- __name: "vue-ui-parallel-coordinate-plot",
108
- props: {
109
- config: {
110
- type: Object,
111
- default() {
112
- return {};
113
- }
114
- },
115
- dataset: {
116
- type: Array,
117
- default() {
118
- return [];
119
- }
120
- }
121
- },
122
- emits: [
123
- "selectLegend",
124
- "selectDatapoint",
125
- "copyAlt"
126
- ],
127
- setup(e, { expose: je, emit: $e }) {
128
- let wt = m(() => import("./Tooltip-C4ZTwkLF.js")), Tt = m(() => import("./BaseIcon-Cx9FD751.js").then((e) => e.n)), Et = m(() => import("./vue-ui-accordion-CaoNWreI.js").then((e) => e.n)), Dt = m(() => import("./DataTable-CjF_An2h.js")), Ot = m(() => import("./PenAndPaper-CNiuGw6k.js").then((e) => e.t)), kt = m(() => import("./UserOptions-CORYQiif.js").then((e) => e.n)), At = m(() => import("./PackageVersion-D7H9nfK0.js").then((e) => e.t)), jt = m(() => import("./BaseDraggableDialog-C50TEJFv.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: Mt } = ye(), { isThemeValid: Nt, warnInvalidTheme: Pt } = we(), E = e, Ft = l({
129
- get() {
130
- return !!E.dataset && E.dataset.length;
131
- },
132
- set(e) {
133
- return e;
134
- }
135
- }), It = b(0), D = b(null), Lt = b(null), Rt = b(null), zt = b(null), Bt = b(null), Vt = b(0), Ht = b(0), Ut = b(0), Wt = b(!1), Gt = b(null), Kt = b(null), qt = b(null), O = b(null), Jt = b({
136
- x: 0,
137
- y: 0
138
- }), Yt = b("pointer"), Xt = b(!1), k = b(s()), A = b(!1);
139
- function Zt(e) {
140
- A.value = e, It.value += 1;
141
- }
142
- let j = b(on()), M = l(() => j.value.userOptions), N = l(() => j.value.style.chart.yAxis.labels), P = l(() => j.value.style.chart.tooltip), F = l(() => j.value.style.chart), { transitionEnabled: I } = Ee({
143
- config: () => j.value.transitions,
144
- dataset: () => E.dataset
145
- });
146
- _e({
147
- config: () => j.value,
148
- dataset: () => E.dataset,
149
- component: "VueUiParallelCoordinatePlot",
150
- rules: [
151
- ve.emptyArray,
152
- {
153
- test: (e) => e.length > 10,
154
- message: [
155
- "👀 There are > 10 series. Consider:",
156
- "",
157
- "▶️ Using filters, to show less series at the same time and make the chart more readable."
158
- ]
159
- },
160
- {
161
- test: (e) => e.some((e) => (e?.series ?? []).some((e) => (e?.values ?? []).length > 15)),
162
- message: [
163
- "👀 There are > 15 axes, which can make the chart hard to read. Consider:",
164
- "",
165
- "▶️ Using filters, to allow users to select a maximum set of metrics."
166
- ]
167
- },
168
- {
169
- test: (e) => e.some((e) => e?.series?.length > 5),
170
- message: [
171
- "👀 Some series have > 5 datapoints. Consider:",
172
- "",
173
- "▶️ Using filters, to allow users to select a maximum set of metrics."
174
- ]
175
- }
176
- ]
177
- });
178
- let L = l(() => j.value.userOptions.useCursorPointer), Qt = l(() => ce({
179
- defaultConfig: {
180
- useCssAnimation: !1,
181
- userOptions: { show: !1 },
182
- table: { show: !1 },
183
- style: { chart: {
184
- backgroundColor: "#99999930",
185
- legend: {
186
- show: !0,
187
- backgroundColor: "transparent"
188
- },
189
- yAxis: {
190
- stroke: "#6A6A6A",
191
- labels: {
192
- showAxisNames: !1,
193
- axisNames: [],
194
- ticks: { color: "#6A6A6A" }
195
- }
196
- }
197
- } }
198
- },
199
- userConfig: j.value.skeletonConfig ?? {}
200
- })), { loading: $t, FINAL_DATASET: en, manualLoading: tn } = xe({
201
- ...Xe(E),
202
- FINAL_CONFIG: j,
203
- prepareConfig: on,
204
- callback: () => {
205
- Promise.resolve().then(async () => {
206
- await Ge(), U.value.showTable = j.value.table.show;
207
- });
208
- },
209
- skeletonDataset: E.config?.skeletonDataset ?? [
210
- {
211
- name: "",
212
- shape: "circle",
213
- color: "transparent",
214
- series: [{
215
- name: "",
216
- values: [
217
- 1,
218
- 10,
219
- 100,
220
- 1e3
221
- ]
222
- }]
223
- },
224
- {
225
- name: "",
226
- shape: "circle",
227
- color: "#CACACA",
228
- series: [{
229
- name: "",
230
- values: [
231
- .2,
232
- 3,
233
- 50,
234
- 800
235
- ]
236
- }]
237
- },
238
- {
239
- name: "",
240
- shape: "circle",
241
- color: "transparent",
242
- series: [{
243
- name: "",
244
- values: [
245
- 0,
246
- 0,
247
- 0,
248
- 0
249
- ]
250
- }]
251
- }
252
- ],
253
- skeletonConfig: ce({
254
- defaultConfig: j.value,
255
- userConfig: Qt.value
256
- })
257
- }), { userOptionsVisible: nn, setUserOptionsVisibility: rn, keepUserOptionState: an } = Ie({ config: j.value }), { svgRef: R } = Le({ config: F.value.title });
258
- function on() {
259
- let e = Ce({
260
- userConfig: E.config,
261
- defaultConfig: Mt
262
- }), t = e.theme;
263
- if (!t) return e;
264
- if (!Nt.value(e)) return Pt(e), e;
265
- let n = Ce({
266
- userConfig: ze[t] || E.config,
267
- defaultConfig: e
268
- }), r = Ce({
269
- userConfig: E.config,
270
- defaultConfig: n
271
- });
272
- return {
273
- ...r,
274
- customPalette: r.customPalette.length ? r.customPalette : ae[t] || a
275
- };
276
- }
277
- function sn(e) {
278
- let t = oe(e);
279
- return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
280
- }
281
- let cn = sn(E.config);
282
- Ze(() => E.config, (e, t) => {
283
- let n = sn(e), r = n !== cn;
284
- cn = n;
285
- let i = on();
286
- if (!r) {
287
- j.value.style.chart.tooltip = i.style.chart.tooltip, U.value.showTooltip = j.value.style.chart.tooltip.show;
288
- return;
289
- }
290
- $t.value || (j.value = i), nn.value = !j.value.userOptions.showOnChartHover, un(), Vt.value += 1, Ut.value += 1, Ht.value += 1, U.value.dataLabels.show = N.value.datapoints.show, U.value.showTable = j.value.table.show, U.value.showTooltip = P.value.show;
291
- }, { deep: !0 }), Ze(() => E.dataset, (e) => {
292
- Array.isArray(e) && e.length > 0 && (tn.value = !1);
293
- }, { deep: !0 });
294
- let z = Ye(null), B = Ye(null);
295
- qe(() => {
296
- Wt.value = !0, un();
297
- });
298
- let ln = l(() => j.value.debug);
299
- function un() {
300
- if (ge(E.dataset) ? (ie({
301
- componentName: "VueUiParallelCoordinatePlot",
302
- type: "dataset",
303
- debug: ln.value
304
- }), tn.value = !0) : E.dataset.forEach((e, t) => {
305
- he({
306
- datasetObject: e,
307
- requiredAttributes: ["name", "series"]
308
- }).forEach((e) => {
309
- Ft.value = !1, ie({
310
- componentName: "VueUiParallelCoordinatePlot",
311
- type: "datasetSerieAttribute",
312
- property: e,
313
- index: t,
314
- debug: ln.value
315
- });
316
- });
317
- }), ge(E.dataset) || (tn.value = j.value.loading), j.value.responsive) {
318
- let e = Me(() => {
319
- let { width: e, height: t } = Ne({
320
- chart: D.value,
321
- title: F.value.title.text ? Lt.value : null,
322
- legend: F.value.legend.show ? Rt.value : null,
323
- source: zt.value,
324
- noTitle: Bt.value
325
- });
326
- requestAnimationFrame(() => {
327
- V.value.width = e, V.value.height = t - 12, j.value.responsiveProportionalSizing ? (V.value.plotSize = fe({
328
- relator: Math.min(e, t),
329
- adjuster: 600,
330
- source: F.value.plots.radius,
331
- threshold: 2,
332
- fallback: 2
333
- }), V.value.ticksFontSize = fe({
334
- relator: Math.min(e, t),
335
- adjuster: 600,
336
- source: N.value.ticks.fontSize,
337
- threshold: 10,
338
- fallback: 10
339
- }), V.value.datapointFontSize = fe({
340
- relator: Math.min(e, t),
341
- adjuster: 600,
342
- source: N.value.datapoints.fontSize,
343
- threshold: 10,
344
- fallback: 10
345
- }), V.value.axisNameFontSize = fe({
346
- relator: Math.min(e, t),
347
- adjuster: 600,
348
- source: N.value.axisNamesFontSize,
349
- threshold: 12,
350
- fallback: 12
351
- })) : (V.value.plotSize = F.value.plots.radius, V.value.ticksFontSize = N.value.ticks.fontSize, V.value.datapointFontSize = N.value.datapoints.fontSize, V.value.axisNameFontSize = N.value.axisNamesFontSize);
352
- });
353
- });
354
- z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect()), z.value = new ResizeObserver(e), B.value = D.value.parentNode, z.value.observe(B.value);
355
- }
356
- }
357
- Ke(() => {
358
- z.value && (B.value && z.value.unobserve(B.value), z.value.disconnect());
359
- });
360
- let { isPrinting: dn, isImaging: fn, generatePdf: pn, generateImage: mn } = be({
361
- elementId: `pcp_${k.value}`,
362
- fileName: F.value.title.text || "vue-ui-parallel-coordinate-plot",
363
- options: j.value.userOptions.print
364
- }), hn = l(() => j.value.userOptions.show && !F.value.title.text), V = b({
365
- height: F.value.height,
366
- width: F.value.width,
367
- plotSize: F.value.plots.radius,
368
- ticksFontSize: N.value.ticks.fontSize,
369
- datapointFontSize: N.value.datapoints.fontSize,
370
- axisNameFontSize: N.value.axisNamesFontSize
371
- }), gn = l(() => V.value.width), _n = l(() => V.value.height), vn = b(0), yn = Me((e) => {
372
- vn.value = e;
373
- }, 100);
374
- Qe((e) => {
375
- let t = qt.value;
376
- if (!t) return;
377
- let n = new ResizeObserver((e) => {
378
- yn(e[0].contentRect.height);
379
- });
380
- n.observe(t), e(() => n.disconnect());
381
- });
382
- let H = l(() => {
383
- let { top: e, right: t, bottom: n, left: r } = F.value.padding, i = _n.value, a = gn.value;
384
- return {
385
- chartHeight: Math.max(.001, i),
386
- chartWidth: Math.max(.001, a),
387
- height: Math.max(.001, i - e - n - vn.value - V.value.datapointFontSize * 2),
388
- width: Math.max(.001, a - r - t),
389
- top: e + vn.value + V.value.datapointFontSize,
390
- left: r,
391
- right: a - t,
392
- bottom: i - n - V.value.datapointFontSize
393
- };
394
- }), bn = l(() => pe(j.value.customPalette)), U = b({
395
- dataLabels: { show: N.value.datapoints.show },
396
- showTable: j.value.table.show,
397
- showTooltip: P.value.show
398
- });
399
- Ze(j, () => {
400
- U.value = {
401
- dataLabels: { show: N.value.datapoints.show },
402
- showTable: j.value.table.show,
403
- showTooltip: P.value.show
404
- };
405
- }, { immediate: !0 });
406
- let W = b([]);
407
- function xn() {
408
- W.value.length ? W.value = [] : En.value.forEach((e) => {
409
- W.value.push(e.id);
410
- }), zn("selectLegend", kn.value);
411
- }
412
- function Sn(e) {
413
- W.value.includes(e) ? W.value = W.value.filter((t) => t !== e) : W.value.push(e), zn("selectLegend", kn.value);
414
- }
415
- let G = l(() => en.value.map((e, t) => {
416
- let n = te(e.color) || bn.value[t] || a[t] || a[t % a.length];
417
- return {
418
- ...e,
419
- series: e.series.map((e) => ({
420
- ...e,
421
- id: s(),
422
- color: n
423
- })),
424
- seriesIndex: t,
425
- color: n,
426
- id: s(),
427
- shape: e.shape || "circle"
428
- };
429
- }));
430
- function Cn(e) {
431
- return G.value.length ? G.value.find((t) => t.name === e) || (ln.value && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (ln.value && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
432
- }
433
- function wn(e) {
434
- let t = Cn(e);
435
- t !== null && W.value.includes(t.id) && Sn(t.id);
436
- }
437
- function Tn(e) {
438
- let t = Cn(e);
439
- t !== null && (W.value.includes(t.id) || Sn(t.id));
440
- }
441
- let En = l(() => G.value.map((e) => ({
442
- ...e,
443
- opacity: W.value.includes(e.id) ? .5 : 1,
444
- segregate: () => Sn(e.id),
445
- isSegregated: W.value.includes(e.id),
446
- shape: e.shape || "circle"
447
- }))), Dn = l(() => ({
448
- cy: "pcp-div-legend",
449
- backgroundColor: F.value.legend.backgroundColor,
450
- color: F.value.legend.color,
451
- fontSize: F.value.legend.fontSize,
452
- paddingBottom: 12,
453
- fontWeight: F.value.legend.bold ? "bold" : ""
454
- })), On = l(() => Math.max(...G.value.filter((e) => !W.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), K = l(() => H.value.width / On.value), kn = l(() => G.value.filter((e) => !W.value.includes(e.id))), q = l(() => {
455
- let e = [];
456
- for (let t = 0; t < On.value; t += 1) {
457
- let n = Math.min(...kn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...kn.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = r === n ? n / 4 : n, a = r === n ? r * 2 : r, o = re(i, a, F.value.yAxis.scaleTicks), ee = o.ticks.map((e, n) => {
458
- let r = o.min < 0 ? e + Math.abs(o.min) : e - Math.abs(o.min), i = o.min < 0 ? o.max + Math.abs(o.min) : o.max - Math.abs(o.min);
459
- return {
460
- y: H.value.bottom - H.value.height * (r / i),
461
- x: H.value.left + K.value * t + K.value / 2,
462
- value: e
463
- };
464
- });
465
- e.push({
466
- scale: o,
467
- ticks: ee,
468
- name: N.value.axisNames[t] || `Y-${t + 1}`
469
- });
470
- }
471
- return e;
472
- }), J = l(() => kn.value.map((e, t) => ({
473
- ...e,
474
- series: e.series.map((n, r) => ({
475
- ...n,
476
- datapoints: n.values.map((i, a) => {
477
- let o = q.value[a].scale.min < 0 ? (i || 0) + Math.abs(q.value[a].scale.min) : (i || 0) - Math.abs(q.value[a].scale.min), ee = q.value[a].scale.min < 0 ? q.value[a].scale.max + Math.abs(q.value[a].scale.min) : q.value[a].scale.max - Math.abs(q.value[a].scale.min);
478
- return {
479
- name: n.name,
480
- seriesName: e.name,
481
- axisIndex: a,
482
- datapointIndex: r,
483
- seriesIndex: t,
484
- value: i || 0,
485
- x: H.value.left + K.value * a + K.value / 2,
486
- y: H.value.bottom - H.value.height * (o / ee),
487
- comment: n.comments && n.comments[a] || ""
488
- };
489
- })
490
- }))
491
- })).map((e) => ({
492
- ...e,
493
- series: e.series.map((e) => {
494
- let t = ne(e.datapoints), n = ee(e.datapoints, .12), r = me(F.value.lines.smooth ? `M ${n}` : `M ${t}`);
495
- return {
496
- ...e,
497
- smoothPath: n,
498
- straightPath: t,
499
- pathLength: r
500
- };
501
- })
502
- }))), Y = l(() => J.value.flatMap((e, t) => e.series.map((n, r) => ({
503
- shape: e.shape,
504
- serieName: e.name,
505
- serie: n,
506
- relativeIndex: r,
507
- seriesIndex: n.seriesIndex,
508
- S: t,
509
- key: `${t}_${r}`
510
- }))));
511
- function An({ value: e, index: n, datapoint: r }) {
512
- return se(N.value.formatters[n] || null, e, t({
513
- p: N.value.prefixes[n] || "",
514
- v: e,
515
- s: N.value.suffixes[n] || "",
516
- r: N.value.roundings[n] || 0
517
- }), {
518
- datapoint: r,
519
- seriesIndex: n
520
- });
521
- }
522
- let X = b(null), jn = b(null), Mn = b(!1), Nn = b("");
523
- function Z({ shape: e, serie: t, S: n }) {
524
- j.value.events.datapointLeave && j.value.events.datapointLeave({
525
- datapoint: {
526
- ...t,
527
- shape: e
528
- },
529
- seriesIndex: n
530
- });
531
- let r = O.value === null ? null : Y.value[O.value];
532
- Yt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, Mn.value = !1);
533
- }
534
- function Pn(e) {
535
- if (!R.value || !e?.datapoints?.length) return;
536
- let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
537
- if (!t) return;
538
- let r = n(t.x, t.y, R.value);
539
- r && (Jt.value = r);
540
- }
541
- function Fn({ shape: e, serieName: n, serie: r, relativeIndex: a, seriesIndex: o, S: ee, triggerMode: te = "pointer" }) {
542
- j.value.events.datapointEnter && j.value.events.datapointEnter({
543
- datapoint: {
544
- ...r,
545
- shape: e
546
- },
547
- seriesIndex: ee
548
- }), Yt.value = te, jn.value = {
549
- config: j.value,
550
- datapoint: r,
551
- serie: r,
552
- relativeIndex: a,
553
- seriesIndex: o,
554
- series: G.value,
555
- scales: q.value
556
- }, Mn.value = !0, X.value = r.id;
557
- let ne = "", s = P.value.customFormat;
558
- i(s) && ue(() => s({
559
- serie: r,
560
- seriesIndex: r.seriesIndex,
561
- series: G.value,
562
- config: j.value,
563
- scales: q.value
564
- })) ? Nn.value = s({
565
- serie: r,
566
- seriesIndex: r.seriesIndex,
567
- series: G.value,
568
- config: j.value,
569
- scales: q.value
570
- }) : (ne += `<div style="width:100%;text-align:center;border-bottom:1px solid ${P.value.borderColor};padding-bottom:6px;margin-bottom:3px;">${n ? n + " - " : ""}${r.name}</div>`, q.value.map((e) => e.name).forEach((e, n) => {
571
- ne += `
572
- <div class="vue-ui-tooltip-item" style="text-align:left">
573
- <span>${e}: </span>
574
- <span>
575
- ${se(N.value.formatters[n] || null, r.datapoints[n].value, t({
576
- p: N.value.prefixes[n] || "",
577
- v: r.datapoints[n].value,
578
- s: N.value.suffixes[n] || "",
579
- r: N.value.roundings[n] || ""
580
- }), {
581
- datapoint: r.datapoints[n],
582
- seriesIndex: n
583
- })}
584
- </span>
585
- </div>
586
- `, F.value.comments.showInTooltip && r.datapoints[n].comment && (ne += `<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[n].comment}</div>`);
587
- }), Nn.value = `<div>${ne}</div>`), te === "keyboard" && Ge(() => {
588
- Pn(r);
589
- });
590
- }
591
- function In() {
592
- return G.value;
593
- }
594
- let Q = l(() => {
595
- let e = [j.value.table.columnNames.series, j.value.table.columnNames.item].concat(q.value.map((e) => e.name));
596
- return {
597
- body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
598
- head: e,
599
- config: {
600
- th: {
601
- backgroundColor: j.value.table.th.backgroundColor,
602
- color: j.value.table.th.color,
603
- outline: j.value.table.th.outline
604
- },
605
- td: {
606
- backgroundColor: j.value.table.td.backgroundColor,
607
- color: j.value.table.td.color,
608
- outline: j.value.table.td.outline
609
- },
610
- breakpoint: j.value.table.responsiveBreakpoint
611
- },
612
- colNames: [j.value.table.columnNames.series, j.value.table.columnNames.item].concat(q.value.map((e) => e.name))
613
- };
614
- }), Ln = l(() => J.value.length === 0 ? {
615
- head: [],
616
- body: [],
617
- config: {},
618
- columnNames: []
619
- } : {
620
- head: Q.value.head,
621
- body: Q.value.body
622
- });
623
- function Rn(e = null) {
624
- let t = [
625
- [F.value.title.text],
626
- [F.value.title.subtitle.text],
627
- [""]
628
- ], n = Ln.value.head, i = Ln.value.body, a = t.concat([n]).concat(i), o = r(a);
629
- e ? e(o) : le({
630
- csvContent: o,
631
- title: F.value.title.text || "vue-ui-parallel-coordinate-plot"
632
- });
633
- }
634
- let zn = $e;
635
- function Bn({ serie: e, shape: t, S: n }) {
636
- j.value.events.datapointClick && j.value.events.datapointClick({
637
- datapoint: {
638
- ...e,
639
- shape: t
640
- },
641
- seriesIndex: n
642
- }), zn("selectDatapoint", e);
643
- }
644
- function Vn() {
645
- U.value.showTable = !U.value.showTable;
646
- }
647
- function Hn() {
648
- U.value.dataLabels.show = !U.value.dataLabels.show;
649
- }
650
- function Un() {
651
- U.value.showTooltip = !U.value.showTooltip;
652
- }
653
- let Wn = b(!1);
654
- function Gn() {
655
- Wn.value = !Wn.value;
656
- }
657
- async function Kn({ scale: e = 2 } = {}) {
658
- if (!D.value) return;
659
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await Oe({
660
- domElement: D.value,
661
- base64: !0,
662
- img: !0,
663
- scale: e
664
- });
665
- return {
666
- imageUri: i,
667
- base64: a,
668
- title: F.value.title.text,
669
- width: t,
670
- height: n,
671
- aspectRatio: r
672
- };
673
- }
674
- let qn = b({
675
- start: 0,
676
- end: 1
677
- }), Jn = l(() => q.value.map((e) => e.name));
678
- De({
679
- timeLabelsEls: qt,
680
- timeLabels: Jn,
681
- slicer: qn,
682
- configRef: j,
683
- rotationPath: [
684
- "style",
685
- "chart",
686
- "yAxis",
687
- "labels",
688
- "axisNamesRotation"
689
- ],
690
- autoRotatePath: [
691
- "style",
692
- "chart",
693
- "yAxis",
694
- "labels",
695
- "axisNamesAutoRotate",
696
- "enable"
697
- ],
698
- isAutoSize: !1,
699
- width: gn,
700
- height: _n,
701
- targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
702
- rotation: N.value.axisNamesAutoRotate.angle
703
- });
704
- let Yn = l(() => {
705
- let e = j.value.table.useDialog && !j.value.table.show, t = U.value.showTable;
706
- return {
707
- component: e ? jt : Et,
708
- title: `${F.value.title.text}${F.value.title.subtitle.text ? `: ${F.value.title.subtitle.text}` : ""}`,
709
- props: e ? {
710
- backgroundColor: j.value.table.th.backgroundColor,
711
- color: j.value.table.th.color,
712
- headerColor: j.value.table.th.color,
713
- headerBg: j.value.table.th.backgroundColor,
714
- isFullscreen: A.value,
715
- fullscreenParent: D.value,
716
- forcedWidth: Math.min(800, window.innerWidth * .8),
717
- isCursorPointer: L.value
718
- } : {
719
- hideDetails: !0,
720
- config: {
721
- open: t,
722
- maxHeight: 1e4,
723
- body: {
724
- backgroundColor: F.value.backgroundColor,
725
- color: F.value.color
726
- },
727
- head: {
728
- backgroundColor: F.value.backgroundColor,
729
- color: F.value.color
730
- }
731
- }
732
- }
733
- };
734
- });
735
- Ze(() => U.value.showTable, (e) => {
736
- j.value.table.show || (e && j.value.table.useDialog && Gt.value ? Gt.value.open() : "close" in Gt.value && Gt.value.close());
737
- });
738
- function Xn() {
739
- U.value.showTable = !1, Kt.value && Kt.value.setTableIconState(!1);
740
- }
741
- let Zn = l(() => F.value.backgroundColor), Qn = l(() => F.value.legend), $n = l(() => F.value.title), { isCallbackImaging: er, isCallbackSvg: tr, generateSvg: nr, onGenerateImage: rr } = Te({
742
- svg: R,
743
- title: $n,
744
- legend: Qn,
745
- legendItems: En,
746
- backgroundColor: Zn,
747
- getSvgCallback: () => j.value.userOptions.callbacks.svg,
748
- generateImage: mn
749
- });
750
- async function ir() {
751
- if (zn("copyAlt", {
752
- config: j.value,
753
- dataset: J.value
754
- }), !j.value.userOptions.callbacks.altCopy) {
755
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
756
- return;
757
- }
758
- await Promise.resolve(j.value.userOptions.callbacks.altCopy({
759
- config: j.value,
760
- dataset: J.value
761
- }));
762
- }
763
- function ar(e) {
764
- let t = Y.value.length;
765
- return t ? (e % t + t) % t : null;
766
- }
767
- function or() {
768
- if (O.value !== null) {
769
- let e = Y.value[O.value];
770
- e && Z({
771
- shape: e.shape,
772
- serie: e.serie,
773
- S: e.S
774
- });
775
- }
776
- O.value = null, Yt.value = "pointer", X.value = null, Mn.value = !1;
777
- }
778
- function sr() {
779
- O.value = null, Xt.value = !0;
780
- }
781
- function cr() {
782
- or(), Xt.value = !1;
783
- }
784
- function lr(e) {
785
- if (!R.value || Wn.value || document.activeElement !== R.value || !Y.value.length) return;
786
- let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
787
- if (!t && !n && !r && !i) return;
788
- if (e.preventDefault(), e.stopPropagation(), i) {
789
- or();
790
- return;
791
- }
792
- if (r) {
793
- if (O.value === null) return;
794
- let e = Y.value[O.value];
795
- if (!e) return;
796
- Bn({
797
- serie: e.serie,
798
- shape: e.shape,
799
- S: e.S
800
- });
801
- return;
802
- }
803
- let a = O.value;
804
- a = a === null ? n ? 0 : Y.value.length - 1 : ar(a + (n ? 1 : -1));
805
- let o = Y.value[a];
806
- o && (O.value = a, Fn({
807
- shape: o.shape,
808
- serieName: o.serieName,
809
- serie: o.serie,
810
- relativeIndex: o.relativeIndex,
811
- seriesIndex: o.seriesIndex,
812
- S: o.S,
813
- triggerMode: "keyboard"
814
- }));
815
- }
816
- let $ = l(() => ({
817
- head: Q.value.head,
818
- body: Q.value.body.map((e) => [
819
- e[0] ?? "",
820
- e[1] ?? "",
821
- ...e.slice(2)
822
- ]),
823
- caption: j.value.a11y.translations.tableCaption,
824
- notice: j.value.a11y.translations.tableAvailable
825
- }));
826
- return je({
827
- getData: In,
828
- getImage: Kn,
829
- generateCsv: Rn,
830
- generatePdf: pn,
831
- generateImage: mn,
832
- generateSvg: nr,
833
- hideSeries: Tn,
834
- showSeries: wn,
835
- toggleTable: Vn,
836
- toggleLabels: Hn,
837
- toggleTooltip: Un,
838
- toggleAnnotator: Gn,
839
- toggleFullscreen: Zt,
840
- copyAlt: ir
841
- }), (e, t) => (y(), f("div", {
842
- ref_key: "pcpChart",
843
- ref: D,
844
- class: g(`vue-data-ui-component vue-ui-pcp ${A.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${j.value.useCssAnimation ? "" : "vue-ui-dna"}`),
845
- style: v(`font-family:${j.value.style.fontFamily};width:100%; text-align:center;background:${F.value.backgroundColor};${j.value.responsive ? "height:100%" : ""}`),
846
- id: `pcp_${k.value}`,
847
- onMouseenter: t[2] ||= () => w(rn)(!0),
848
- onMouseleave: t[3] ||= () => w(rn)(!1)
849
- }, [
850
- p("div", {
851
- id: `chart-instructions-${k.value}`,
852
- class: "sr-only"
853
- }, [p("p", null, C(j.value.a11y.translations.keyboardNavigation), 1)], 8, tt),
854
- $.value.body.length ? (y(), u(Fe, {
855
- key: 0,
856
- uid: k.value,
857
- head: $.value.head,
858
- body: $.value.body,
859
- caption: $.value.caption,
860
- notice: $.value.notice
861
- }, null, 8, [
862
- "uid",
863
- "head",
864
- "body",
865
- "caption",
866
- "notice"
867
- ])) : d("", !0),
868
- M.value.buttons.annotator ? (y(), u(w(Ot), {
869
- key: 1,
870
- svgRef: w(R),
871
- backgroundColor: F.value.backgroundColor,
872
- color: F.value.color,
873
- active: Wn.value,
874
- isCursorPointer: L.value,
875
- palette: M.value.annotatorPalette,
876
- onClose: Gn
877
- }, {
878
- "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
879
- "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
880
- "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
881
- "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
882
- "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
883
- "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
884
- _: 3
885
- }, 8, [
886
- "svgRef",
887
- "backgroundColor",
888
- "color",
889
- "active",
890
- "isCursorPointer",
891
- "palette"
892
- ])) : d("", !0),
893
- hn.value ? (y(), f("div", {
894
- key: 2,
895
- ref_key: "noTitle",
896
- ref: Bt,
897
- class: "vue-data-ui-no-title-space",
898
- style: "height:36px; width: 100%;background:transparent"
899
- }, null, 512)) : d("", !0),
900
- F.value.title.text ? (y(), f("div", {
901
- key: 3,
902
- ref_key: "chartTitle",
903
- ref: Lt,
904
- style: "width:100%;background:transparent;padding-bottom:24px"
905
- }, [(y(), u(ke, {
906
- key: `title_${Vt.value}`,
907
- config: {
908
- title: {
909
- cy: "pcp-div-title",
910
- ...F.value.title
911
- },
912
- subtitle: {
913
- cy: "pcp-div-subtitle",
914
- ...F.value.title.subtitle
915
- }
916
- }
917
- }, null, 8, ["config"]))], 512)) : d("", !0),
918
- p("div", { id: `legend-top-${k.value}` }, null, 8, nt),
919
- M.value.show && Ft.value && (w(an) || w(nn)) ? (y(), u(w(kt), {
920
- ref_key: "userOptionsRef",
921
- ref: Kt,
922
- key: `user_options_${It.value}`,
923
- backgroundColor: F.value.backgroundColor,
924
- color: F.value.color,
925
- isPrinting: w(dn),
926
- isImaging: w(fn),
927
- uid: k.value,
928
- hasTooltip: M.value.buttons.tooltip && P.value.show,
929
- hasPdf: M.value.buttons.pdf,
930
- hasXls: M.value.buttons.csv,
931
- hasImg: M.value.buttons.img,
932
- hasSvg: M.value.buttons.svg,
933
- hasTable: M.value.buttons.table,
934
- hasLabel: M.value.buttons.labels,
935
- hasFullscreen: M.value.buttons.fullscreen,
936
- hasAltCopy: M.value.buttons.altCopy,
937
- isFullscreen: A.value,
938
- isTooltip: U.value.showTooltip,
939
- titles: { ...M.value.buttonTitles },
940
- chartElement: D.value,
941
- position: M.value.position,
942
- hasAnnotator: M.value.buttons.annotator,
943
- isAnnotation: Wn.value,
944
- callbacks: M.value.callbacks,
945
- printScale: M.value.print.scale,
946
- tableDialog: j.value.table.useDialog,
947
- isCursorPointer: L.value,
948
- onToggleFullscreen: Zt,
949
- onGeneratePdf: w(pn),
950
- onGenerateCsv: Rn,
951
- onGenerateImage: w(rr),
952
- onGenerateSvg: w(nr),
953
- onToggleTable: Vn,
954
- onToggleLabels: Hn,
955
- onToggleTooltip: Un,
956
- onToggleAnnotator: Gn,
957
- onCopyAlt: ir,
958
- style: v({ visibility: w(an) ? w(nn) ? "visible" : "hidden" : "visible" })
959
- }, Ve({ _: 2 }, [
960
- e.$slots.menuIcon ? {
961
- name: "menuIcon",
962
- fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
963
- isOpen: t,
964
- color: n
965
- })), void 0, !0)]),
966
- key: "0"
967
- } : void 0,
968
- e.$slots.optionTooltip ? {
969
- name: "optionTooltip",
970
- fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
971
- key: "1"
972
- } : void 0,
973
- e.$slots.optionPdf ? {
974
- name: "optionPdf",
975
- fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
976
- key: "2"
977
- } : void 0,
978
- e.$slots.optionCsv ? {
979
- name: "optionCsv",
980
- fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
981
- key: "3"
982
- } : void 0,
983
- e.$slots.optionImg ? {
984
- name: "optionImg",
985
- fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
986
- key: "4"
987
- } : void 0,
988
- e.$slots.optionSvg ? {
989
- name: "optionSvg",
990
- fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
991
- key: "5"
992
- } : void 0,
993
- e.$slots.optionTable ? {
994
- name: "optionTable",
995
- fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
996
- key: "6"
997
- } : void 0,
998
- e.$slots.optionLabels ? {
999
- name: "optionLabels",
1000
- fn: T(() => [S(e.$slots, "optionLabels", {}, void 0, !0)]),
1001
- key: "7"
1002
- } : void 0,
1003
- e.$slots.optionFullscreen ? {
1004
- name: "optionFullscreen",
1005
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
1006
- toggleFullscreen: t,
1007
- isFullscreen: n
1008
- })), void 0, !0)]),
1009
- key: "8"
1010
- } : void 0,
1011
- e.$slots.optionAnnotator ? {
1012
- name: "optionAnnotator",
1013
- fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
1014
- toggleAnnotator: t,
1015
- isAnnotator: n
1016
- })), void 0, !0)]),
1017
- key: "9"
1018
- } : void 0,
1019
- e.$slots.optionAltCopy ? {
1020
- name: "optionAltCopy",
1021
- fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
1022
- key: "10"
1023
- } : void 0,
1024
- e.$slots["custom-menu-before"] ? {
1025
- name: "custom-menu-before",
1026
- fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1027
- key: "11"
1028
- } : void 0,
1029
- e.$slots["custom-menu-after"] ? {
1030
- name: "custom-menu-after",
1031
- fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1032
- key: "12"
1033
- } : void 0
1034
- ]), 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.onGenerateImage.onGenerateSvg.style".split("."))) : d("", !0),
1035
- p("div", rt, [(y(), f("svg", {
1036
- ref_key: "svgRef",
1037
- ref: R,
1038
- xmlns: w(de),
1039
- "aria-describedby": `chart-instructions-${k.value}`,
1040
- class: g({
1041
- "vue-data-ui-fullscreen--on": A.value,
1042
- "vue-data-ui-fulscreen--off": !A.value,
1043
- "vue-data-ui-no-transition": !w(I)
1044
- }),
1045
- viewBox: `0 0 ${H.value.chartWidth <= 0 ? 10 : H.value.chartWidth} ${H.value.chartHeight <= 0 ? 10 : H.value.chartHeight}`,
1046
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${F.value.color}`),
1047
- tabindex: "0",
1048
- onFocus: sr,
1049
- onBlur: cr,
1050
- onKeydown: lr
1051
- }, [
1052
- Ue(w(At)),
1053
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
1054
- key: 0,
1055
- x: H.value.left,
1056
- y: H.value.top,
1057
- width: H.value.width,
1058
- height: H.value.height,
1059
- style: { pointerEvents: "none" }
1060
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, at)) : d("", !0),
1061
- (y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", ot, [p("line", {
1062
- x1: H.value.left + K.value * t + K.value / 2,
1063
- x2: H.value.left + K.value * t + K.value / 2,
1064
- y1: H.value.top,
1065
- y2: H.value.bottom,
1066
- stroke: F.value.yAxis.stroke,
1067
- "stroke-width": F.value.yAxis.strokeWidth
1068
- }, null, 8, st), N.value.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (t, n) => (y(), f("path", {
1069
- class: g({ "vue-data-ui-transition": w(I) }),
1070
- key: `tick_${e.name}_${n}`,
1071
- d: `M${t.x},${t.y} ${t.x - 10},${t.y}`,
1072
- stroke: F.value.yAxis.stroke,
1073
- "stroke-width": F.value.yAxis.strokeWidth,
1074
- style: v(`opacity:${X.value && !U.value.showTooltip ? .2 : 1}`)
1075
- }, null, 14, ct))), 128)), w($t) ? d("", !0) : (y(), f("g", lt, [(y(!0), f(c, null, x(e.ticks, (n, r) => (y(), f("text", {
1076
- key: `tl_${e.name}_${r}`,
1077
- class: g({ "vue-data-ui-transition": w(I) }),
1078
- transform: `translate(${n.x - 12 + N.value.ticks.offsetX}, ${n.y + N.value.ticks.offsetY + V.value.ticksFontSize / 3})`,
1079
- fill: N.value.ticks.color,
1080
- "text-anchor": "end",
1081
- "font-size": V.value.ticksFontSize,
1082
- "font-weight": N.value.ticks.bold ? "bold" : "normal",
1083
- style: v(`opacity:${X.value && !U.value.showTooltip ? .2 : 1}`)
1084
- }, C(An({
1085
- value: n.value,
1086
- index: t,
1087
- datapoint: n
1088
- })), 15, ut))), 128))]))], 64)) : d("", !0)]))), 256)),
1089
- N.value.showAxisNames ? (y(), f("g", {
1090
- key: 1,
1091
- ref_key: "xAxisLabels",
1092
- ref: qt
1093
- }, [(y(!0), f(c, null, x(q.value, (e, t) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1094
- key: 1,
1095
- class: "vue-ui-parallel-coordinate-plot-x-label",
1096
- fill: N.value.axisNamesColor,
1097
- "font-size": V.value.axisNameFontSize,
1098
- "font-weight": N.value.axisNamesBold ? "bold" : "",
1099
- "text-anchor": N.value.axisNamesRotation === 0 ? "middle" : N.value.axisNamesRotation < 0 ? "start" : "end",
1100
- transform: `translate(${H.value.left + K.value * t + K.value / 2}, ${vn.value - V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`,
1101
- innerHTML: w(o)({
1102
- content: String(e.name),
1103
- fontSize: V.value.axisNameFontSize,
1104
- fill: N.value.axisNamesColor,
1105
- x: 0,
1106
- y: 0
1107
- })
1108
- }, null, 8, ft)) : (y(), f("text", {
1109
- key: 0,
1110
- class: "vue-ui-parallel-coordinate-plot-x-label",
1111
- fill: N.value.axisNamesColor,
1112
- "font-size": V.value.axisNameFontSize,
1113
- "font-weight": N.value.axisNamesBold ? "bold" : "",
1114
- "text-anchor": N.value.axisNamesRotation === 0 ? "middle" : N.value.axisNamesRotation < 0 ? "start" : "end",
1115
- transform: `translate(${H.value.left + K.value * t + K.value / 2}, ${vn.value - V.value.axisNameFontSize}), rotate(${N.value.axisNamesRotation})`
1116
- }, C(e.name), 9, dt))], 64))), 256))], 512)) : d("", !0),
1117
- (y(!0), f(c, null, x(J.value, (t, n) => (y(), f("g", null, [(y(!0), f(c, null, x(t.series, (r, i) => (y(), f("g", null, [
1118
- F.value.plots.show ? (y(), f("g", pt, [
1119
- (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ae, {
1120
- plot: {
1121
- x: e.x,
1122
- y: e.y
1123
- },
1124
- color: t.color,
1125
- shape: t.shape,
1126
- radius: t.shape === "triangle" ? V.value.plotSize * 1.2 : V.value.plotSize,
1127
- stroke: F.value.backgroundColor,
1128
- strokeWidth: .5,
1129
- onMouseenter: (e) => Fn({
1130
- shape: t.shape,
1131
- serieName: t.name,
1132
- serie: r,
1133
- relativeIndex: i,
1134
- seriesIndex: r.seriesIndex,
1135
- S: n,
1136
- triggerMode: "pointer"
1137
- }),
1138
- onMouseleave: (e) => Z({
1139
- serie: r,
1140
- shape: t.shape,
1141
- S: n
1142
- }),
1143
- style: v(`opacity:${X.value ? X.value === r.id ? F.value.plots.opacity : .2 : F.value.plots.opacity}`),
1144
- onClick: () => Bn({
1145
- serie: r,
1146
- shape: t.shape,
1147
- S: n
1148
- })
1149
- }, null, 8, [
1150
- "plot",
1151
- "color",
1152
- "shape",
1153
- "radius",
1154
- "stroke",
1155
- "onMouseenter",
1156
- "onMouseleave",
1157
- "style",
1158
- "onClick"
1159
- ]))), 256)),
1160
- U.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [X.value && X.value === r.id && r.datapoints.length ? (y(), f("text", {
1161
- key: 0,
1162
- x: r.datapoints[0].x - V.value.ticksFontSize,
1163
- y: r.datapoints[0].y + V.value.ticksFontSize / 3,
1164
- "text-anchor": "end",
1165
- "font-size": V.value.ticksFontSize,
1166
- fill: t.color,
1167
- "font-weight": "bold"
1168
- }, C(r.name), 9, mt)) : d("", !0)], 64)),
1169
- F.value.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
1170
- key: 0,
1171
- style: { overflow: "visible" },
1172
- height: "12",
1173
- width: F.value.comments.width,
1174
- x: n.x - F.value.comments.width / 2 + F.value.comments.offsetX,
1175
- y: n.y + F.value.comments.offsetY + 6
1176
- }, [p("div", gt, [S(e.$slots, "plot-comment", { plot: {
1177
- ...n,
1178
- color: t.color
1179
- } }, void 0, !0)])], 8, ht)) : d("", !0)]))), 256)) : d("", !0)
1180
- ])) : d("", !0),
1181
- p("path", {
1182
- d: `M${F.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1183
- stroke: t.color,
1184
- "stroke-width": F.value.lines.strokeWidth,
1185
- fill: "none",
1186
- class: g({
1187
- "vue-ui-pcp-animated vue-data-ui-line-animated": j.value.useCssAnimation,
1188
- "vue-data-ui-transition": w(I)
1189
- }),
1190
- onMouseenter: (e) => Fn({
1191
- shape: t.shape,
1192
- serieName: t.name,
1193
- serie: r,
1194
- relativeIndex: i,
1195
- seriesIndex: r.seriesIndex,
1196
- S: n,
1197
- triggerMode: "pointer"
1198
- }),
1199
- onMouseleave: (e) => Z({
1200
- serie: r,
1201
- shape: t.shape,
1202
- S: n
1203
- }),
1204
- onClick: () => Bn({
1205
- serie: r,
1206
- shape: t.shape,
1207
- S: n
1208
- }),
1209
- style: v(`opacity:${X.value ? X.value === r.id ? F.value.lines.opacity : .2 : F.value.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${j.value.useCssAnimation ? r.pathLength : 0}`)
1210
- }, null, 46, _t),
1211
- U.value.showTooltip ? (y(), f("path", {
1212
- key: 1,
1213
- d: `M${F.value.lines.smooth ? r.smoothPath : r.straightPath}`,
1214
- stroke: "transparent",
1215
- "stroke-width": 12,
1216
- fill: "none",
1217
- class: g({
1218
- "vue-ui-pcp-animated vue-data-ui-line-animated": j.value.useCssAnimation,
1219
- "vue-data-ui-transition": w(I)
1220
- }),
1221
- onMouseenter: (e) => Fn({
1222
- shape: t.shape,
1223
- serieName: t.name,
1224
- serie: r,
1225
- relativeIndex: i,
1226
- seriesIndex: r.seriesIndex,
1227
- S: n,
1228
- triggerMode: "pointer"
1229
- }),
1230
- onMouseleave: (e) => Z({
1231
- serie: r,
1232
- shape: t.shape,
1233
- S: n
1234
- }),
1235
- onClick: () => Bn({
1236
- serie: r,
1237
- shape: t.shape,
1238
- S: n
1239
- }),
1240
- style: { opacity: "0" }
1241
- }, null, 42, vt)) : d("", !0)
1242
- ]))), 256))]))), 256)),
1243
- (y(!0), f(c, null, x(J.value, (e, t) => (y(), f("g", null, [(y(!0), f(c, null, x(e.series, (n, r) => (y(), f("g", null, [!w($t) && (U.value.dataLabels.show || X.value && X.value === n.id) ? (y(!0), f(c, { key: 0 }, x(n.datapoints, (i, a) => (y(), f("text", {
1244
- key: `pl_${n.id}_${a}`,
1245
- transform: `translate(${i.x + 12 + N.value.datapoints.offsetX}, ${i.y + N.value.datapoints.offsetY + V.value.datapointFontSize / 3})`,
1246
- fill: N.value.datapoints.useSerieColor ? e.color : N.value.datapoints.color,
1247
- "text-anchor": "start",
1248
- "font-weight": N.value.datapoints.bold ? "bold" : "normal",
1249
- class: g({
1250
- "vue-ui-pcp-plot-label": !0,
1251
- "vue-data-ui-transition": w(I)
1252
- }),
1253
- "font-size": V.value.datapointFontSize,
1254
- stroke: F.value.backgroundColor,
1255
- "stroke-width": 3,
1256
- "stroke-linecap": "round",
1257
- "stroke-linejoin": "round",
1258
- "paint-order": "stroke fill",
1259
- onMouseenter: (i) => Fn({
1260
- shape: e.shape,
1261
- serieName: e.name,
1262
- serie: n,
1263
- relativeIndex: r,
1264
- seriesIndex: n.seriesIndex,
1265
- S: t,
1266
- triggerMode: "pointer"
1267
- }),
1268
- onMouseleave: (r) => Z({
1269
- serie: n,
1270
- shape: e.shape,
1271
- S: t
1272
- }),
1273
- onClick: () => Bn({
1274
- serie: n,
1275
- shape: e.shape,
1276
- S: t
1277
- }),
1278
- style: v(`opacity:${X.value ? X.value === n.id ? 1 : .2 : 1}`)
1279
- }, C(An({
1280
- value: i.value,
1281
- index: a,
1282
- datapoint: i
1283
- })), 47, yt))), 128)) : d("", !0)]))), 256))]))), 256)),
1284
- S(e.$slots, "svg", { svg: {
1285
- ...H.value,
1286
- isPrintingImg: w(dn) || w(fn) || w(er),
1287
- isPrintingSvg: w(tr)
1288
- } }, void 0, !0)
1289
- ], 46, it)), e.$slots.hint ? (y(), f("div", bt, [S(e.$slots, "hint", _(h({
1290
- hint: j.value.a11y.translations.keyboardNavigation,
1291
- isVisible: Xt.value
1292
- })), void 0, !0)])) : d("", !0)]),
1293
- e.$slots.watermark ? (y(), f("div", xt, [S(e.$slots, "watermark", _(h({ isPrinting: w(dn) || w(fn) || w(er) || w(tr) })), void 0, !0)])) : d("", !0),
1294
- p("div", { id: `legend-bottom-${k.value}` }, null, 8, St),
1295
- Wt.value && (F.value.legend.show || e.$slots.legend) ? (y(), u(Be, {
1296
- key: 6,
1297
- to: F.value.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1298
- }, [p("div", {
1299
- ref_key: "chartLegend",
1300
- ref: Rt
1301
- }, [S(e.$slots, "legend", { legend: En.value }, () => [F.value.legend.show && Ft.value ? (y(), u(Re, {
1302
- key: `legend_${Ht.value}`,
1303
- legendSet: En.value,
1304
- config: Dn.value,
1305
- isCursorPointer: L.value,
1306
- onClickMarker: t[0] ||= ({ legend: e }) => {
1307
- Sn(e.id);
1308
- }
1309
- }, {
1310
- item: T(({ legend: e, index: t }) => [p("div", {
1311
- onClick: (t) => e.segregate(),
1312
- style: v(`opacity:${W.value.includes(e.id) ? .5 : 1}`)
1313
- }, C(e.name), 13, Ct)]),
1314
- legendToggle: T(() => [En.value.length > 2 && F.value.legend.selectAllToggle.show && !w($t) ? (y(), u(Pe, {
1315
- key: 0,
1316
- backgroundColor: F.value.legend.selectAllToggle.backgroundColor,
1317
- color: F.value.legend.selectAllToggle.color,
1318
- fontSize: F.value.legend.fontSize,
1319
- checked: W.value.length > 0,
1320
- isCursorPointer: L.value,
1321
- onToggle: xn
1322
- }, null, 8, [
1323
- "backgroundColor",
1324
- "color",
1325
- "fontSize",
1326
- "checked",
1327
- "isCursorPointer"
1328
- ])) : d("", !0)]),
1329
- _: 1
1330
- }, 8, [
1331
- "legendSet",
1332
- "config",
1333
- "isCursorPointer"
1334
- ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1335
- e.$slots.source ? (y(), f("div", {
1336
- key: 7,
1337
- ref_key: "source",
1338
- ref: zt,
1339
- dir: "auto"
1340
- }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1341
- Ue(w(wt), {
1342
- teleportTo: P.value.teleportTo,
1343
- show: U.value.showTooltip && Mn.value,
1344
- backgroundColor: P.value.backgroundColor,
1345
- color: P.value.color,
1346
- fontSize: P.value.fontSize,
1347
- borderRadius: P.value.borderRadius,
1348
- borderColor: P.value.borderColor,
1349
- borderWidth: P.value.borderWidth,
1350
- backgroundOpacity: P.value.backgroundOpacity,
1351
- position: P.value.position,
1352
- offsetX: P.value.offsetX,
1353
- offsetY: P.value.offsetY,
1354
- parent: D.value,
1355
- content: Nn.value,
1356
- isFullscreen: A.value,
1357
- isCustom: w(i)(P.value.customFormat),
1358
- smooth: P.value.smooth,
1359
- backdropFilter: P.value.backdropFilter,
1360
- smoothForce: P.value.smoothForce,
1361
- smoothSnapThreshold: P.value.smoothSnapThreshold,
1362
- isA11yMode: Yt.value === "keyboard",
1363
- a11yPosition: Jt.value
1364
- }, {
1365
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...jn.value })), void 0, !0)]),
1366
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...jn.value })), void 0, !0)]),
1367
- "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...jn.value })), void 0, !0)]),
1368
- _: 3
1369
- }, 8, [
1370
- "teleportTo",
1371
- "show",
1372
- "backgroundColor",
1373
- "color",
1374
- "fontSize",
1375
- "borderRadius",
1376
- "borderColor",
1377
- "borderWidth",
1378
- "backgroundOpacity",
1379
- "position",
1380
- "offsetX",
1381
- "offsetY",
1382
- "parent",
1383
- "content",
1384
- "isFullscreen",
1385
- "isCustom",
1386
- "smooth",
1387
- "backdropFilter",
1388
- "smoothForce",
1389
- "smoothSnapThreshold",
1390
- "isA11yMode",
1391
- "a11yPosition"
1392
- ]),
1393
- Ft.value && M.value.buttons.table ? (y(), u(Je(Yn.value.component), We({ key: 8 }, Yn.value.props, {
1394
- ref_key: "tableUnit",
1395
- ref: Gt,
1396
- onClose: Xn
1397
- }), Ve({
1398
- content: T(() => [(y(), u(w(Dt), {
1399
- key: `table_${Ut.value}`,
1400
- colNames: Q.value.colNames,
1401
- head: Q.value.head,
1402
- body: Q.value.body,
1403
- config: Q.value.config,
1404
- title: j.value.table.useDialog ? "" : Yn.value.title,
1405
- withCloseButton: !j.value.table.useDialog,
1406
- isCursorPointer: L.value,
1407
- onClose: Xn
1408
- }, {
1409
- th: T(({ th: e }) => [p("div", null, C(e), 1)]),
1410
- td: T(({ td: e }) => [He(C(e), 1)]),
1411
- _: 1
1412
- }, 8, [
1413
- "colNames",
1414
- "head",
1415
- "body",
1416
- "config",
1417
- "title",
1418
- "withCloseButton",
1419
- "isCursorPointer"
1420
- ]))]),
1421
- _: 2
1422
- }, [j.value.table.useDialog ? {
1423
- name: "title",
1424
- fn: T(() => [He(C(Yn.value.title), 1)]),
1425
- key: "0"
1426
- } : void 0, j.value.table.useDialog ? {
1427
- name: "actions",
1428
- fn: T(() => [p("button", {
1429
- tabindex: "0",
1430
- class: "vue-ui-user-options-button",
1431
- onClick: t[1] ||= (e) => Rn(M.value.callbacks.csv),
1432
- style: v({ cursor: L.value ? "pointer" : "default" })
1433
- }, [Ue(w(Tt), {
1434
- name: "fileCsv",
1435
- stroke: Yn.value.props.color
1436
- }, null, 8, ["stroke"])], 4)]),
1437
- key: "1"
1438
- } : void 0]), 1040)) : d("", !0),
1439
- S(e.$slots, "skeleton", {}, () => [w($t) ? (y(), u(Se, { key: 0 })) : d("", !0)], !0)
1440
- ], 46, et));
1441
- }
1442
- }, [["__scopeId", "data-v-17b547b4"]]);
1443
- //#endregion
1444
- export { $e as n, wt as t };