vue-data-ui 3.20.0 → 3.20.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 (322) hide show
  1. package/package.json +120 -120
  2. package/dist/A11yDataTable-BCbtxMU6.js +0 -45
  3. package/dist/Arrow-D6j6ocXm.js +0 -116
  4. package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
  5. package/dist/BaseIcon-DfLoHNUj.js +0 -502
  6. package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
  7. package/dist/BaseScanner-Dr2a1Msy.js +0 -27
  8. package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
  9. package/dist/ColorPicker-Bjwxnvfh.js +0 -255
  10. package/dist/DataTable-B--IN22e.js +0 -150
  11. package/dist/Legend-Cz2uQ5gs.js +0 -114
  12. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
  13. package/dist/PackageVersion-xcyrdRmY.js +0 -11
  14. package/dist/PenAndPaper-DqrClVfb.js +0 -461
  15. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  16. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  17. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  18. package/dist/Shape-BPCJfphn.js +0 -141
  19. package/dist/Slicer-SHBj0VaV.js +0 -1144
  20. package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
  21. package/dist/SparkTooltip-CfE6yCad.js +0 -93
  22. package/dist/Title-NWp4qB4K.js +0 -87
  23. package/dist/Tooltip-BENq327o.js +0 -312
  24. package/dist/UserOptions-C1NgoGu6.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  26. package/dist/canvas-lib-BOP_HS11.js +0 -79
  27. package/dist/components/arrow.js +0 -2
  28. package/dist/components/vue-ui-3d-bar.js +0 -2
  29. package/dist/components/vue-ui-accordion.js +0 -2
  30. package/dist/components/vue-ui-age-pyramid.js +0 -2
  31. package/dist/components/vue-ui-annotator.js +0 -2
  32. package/dist/components/vue-ui-bullet.js +0 -2
  33. package/dist/components/vue-ui-bump.js +0 -2
  34. package/dist/components/vue-ui-candlestick.js +0 -2
  35. package/dist/components/vue-ui-carousel-table.js +0 -2
  36. package/dist/components/vue-ui-chestnut.js +0 -2
  37. package/dist/components/vue-ui-chord.js +0 -2
  38. package/dist/components/vue-ui-circle-pack.js +0 -2
  39. package/dist/components/vue-ui-cursor.js +0 -2
  40. package/dist/components/vue-ui-dag.js +0 -2
  41. package/dist/components/vue-ui-dashboard.js +0 -2
  42. package/dist/components/vue-ui-digits.js +0 -2
  43. package/dist/components/vue-ui-donut-evolution.js +0 -2
  44. package/dist/components/vue-ui-donut.js +0 -2
  45. package/dist/components/vue-ui-dumbbell.js +0 -2
  46. package/dist/components/vue-ui-flow.js +0 -2
  47. package/dist/components/vue-ui-funnel.js +0 -2
  48. package/dist/components/vue-ui-galaxy.js +0 -2
  49. package/dist/components/vue-ui-gauge.js +0 -2
  50. package/dist/components/vue-ui-geo.js +0 -2
  51. package/dist/components/vue-ui-gizmo.js +0 -2
  52. package/dist/components/vue-ui-heatmap.js +0 -2
  53. package/dist/components/vue-ui-history-plot.js +0 -2
  54. package/dist/components/vue-ui-horizontal-bar.js +0 -2
  55. package/dist/components/vue-ui-icon.js +0 -2
  56. package/dist/components/vue-ui-kpi.js +0 -2
  57. package/dist/components/vue-ui-mini-loader.js +0 -2
  58. package/dist/components/vue-ui-molecule.js +0 -2
  59. package/dist/components/vue-ui-mood-radar.js +0 -2
  60. package/dist/components/vue-ui-nested-donuts.js +0 -2
  61. package/dist/components/vue-ui-onion.js +0 -2
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
  63. package/dist/components/vue-ui-pattern-seed.js +0 -2
  64. package/dist/components/vue-ui-pattern.js +0 -2
  65. package/dist/components/vue-ui-quadrant.js +0 -2
  66. package/dist/components/vue-ui-quick-chart.js +0 -2
  67. package/dist/components/vue-ui-radar.js +0 -2
  68. package/dist/components/vue-ui-rating.js +0 -2
  69. package/dist/components/vue-ui-relation-circle.js +0 -2
  70. package/dist/components/vue-ui-ridgeline.js +0 -2
  71. package/dist/components/vue-ui-rings.js +0 -2
  72. package/dist/components/vue-ui-scatter.js +0 -2
  73. package/dist/components/vue-ui-skeleton.js +0 -2
  74. package/dist/components/vue-ui-smiley.js +0 -2
  75. package/dist/components/vue-ui-spark-trend.js +0 -2
  76. package/dist/components/vue-ui-sparkbar.js +0 -2
  77. package/dist/components/vue-ui-sparkgauge.js +0 -2
  78. package/dist/components/vue-ui-sparkhistogram.js +0 -2
  79. package/dist/components/vue-ui-sparkline.js +0 -2
  80. package/dist/components/vue-ui-sparkstackbar.js +0 -2
  81. package/dist/components/vue-ui-stackbar.js +0 -2
  82. package/dist/components/vue-ui-stackline.js +0 -2
  83. package/dist/components/vue-ui-strip-plot.js +0 -2
  84. package/dist/components/vue-ui-table-heatmap.js +0 -2
  85. package/dist/components/vue-ui-table-sparkline.js +0 -2
  86. package/dist/components/vue-ui-table.js +0 -2
  87. package/dist/components/vue-ui-thermometer.js +0 -2
  88. package/dist/components/vue-ui-timer.js +0 -2
  89. package/dist/components/vue-ui-tiremarks.js +0 -2
  90. package/dist/components/vue-ui-treemap.js +0 -2
  91. package/dist/components/vue-ui-vertical-bar.js +0 -2
  92. package/dist/components/vue-ui-waffle.js +0 -2
  93. package/dist/components/vue-ui-wheel.js +0 -2
  94. package/dist/components/vue-ui-word-cloud.js +0 -2
  95. package/dist/components/vue-ui-world.js +0 -2
  96. package/dist/components/vue-ui-xy-canvas.js +0 -2
  97. package/dist/components/vue-ui-xy.js +0 -2
  98. package/dist/dom-to-png-BYtB4BF3.js +0 -237
  99. package/dist/exposedLib-CI8ji8G-.js +0 -19
  100. package/dist/geoProjections-Czak6Jn1.js +0 -145
  101. package/dist/img-1cKsci8e.js +0 -74
  102. package/dist/labelUtils-CUctkYoA.js +0 -19
  103. package/dist/lib-DUeYQsS0.js +0 -1882
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-CS7hn6at.js +0 -258
  106. package/dist/pdf-D0eZ99cP.js +0 -90
  107. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  108. package/dist/style.css +0 -2
  109. package/dist/types/arrow.d.ts +0 -4
  110. package/dist/types/utils.d.ts +0 -551
  111. package/dist/types/vue-data-ui.d.ts +0 -17190
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -93
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
  115. package/dist/types/vue-ui-annotator.d.ts +0 -34
  116. package/dist/types/vue-ui-bullet.d.ts +0 -85
  117. package/dist/types/vue-ui-bump.d.ts +0 -92
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -106
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -59
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -98
  121. package/dist/types/vue-ui-chord.d.ts +0 -110
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -126
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -125
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -68
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
  128. package/dist/types/vue-ui-donut.d.ts +0 -123
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -94
  130. package/dist/types/vue-ui-flow.d.ts +0 -106
  131. package/dist/types/vue-ui-funnel.d.ts +0 -79
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -114
  133. package/dist/types/vue-ui-gauge.d.ts +0 -89
  134. package/dist/types/vue-ui-geo.d.ts +0 -94
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -101
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -114
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
  139. package/dist/types/vue-ui-icon.d.ts +0 -15
  140. package/dist/types/vue-ui-kpi.d.ts +0 -25
  141. package/dist/types/vue-ui-mini-loader.d.ts +0 -15
  142. package/dist/types/vue-ui-molecule.d.ts +0 -112
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -92
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
  145. package/dist/types/vue-ui-onion.d.ts +0 -106
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
  147. package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
  148. package/dist/types/vue-ui-pattern.d.ts +0 -15
  149. package/dist/types/vue-ui-quadrant.d.ts +0 -125
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -108
  151. package/dist/types/vue-ui-radar.d.ts +0 -116
  152. package/dist/types/vue-ui-rating.d.ts +0 -42
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -92
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -106
  155. package/dist/types/vue-ui-rings.d.ts +0 -98
  156. package/dist/types/vue-ui-scatter.d.ts +0 -97
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -28
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -49
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -59
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -118
  166. package/dist/types/vue-ui-stackline.d.ts +0 -114
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -96
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
  170. package/dist/types/vue-ui-table.d.ts +0 -38
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -70
  172. package/dist/types/vue-ui-timer.d.ts +0 -49
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -70
  174. package/dist/types/vue-ui-treemap.d.ts +0 -104
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -101
  177. package/dist/types/vue-ui-wheel.d.ts +0 -70
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -97
  179. package/dist/types/vue-ui-world.d.ts +0 -98
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
  181. package/dist/types/vue-ui-xy.d.ts +0 -146
  182. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
  183. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  184. package/dist/useConfig-DAyQk86L.js +0 -7479
  185. package/dist/useFitSvgText-CT3nmlaS.js +0 -63
  186. package/dist/useNestedProp-CNcoy38D.js +0 -10
  187. package/dist/useObjectBindings-BI7hP-BC.js +0 -189
  188. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  189. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  190. package/dist/usePrinter-C1Gqt_Sp.js +0 -49
  191. package/dist/useResponsive-BfnK0KxU.js +0 -19
  192. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  193. package/dist/useSvgExport-SVIsDot8.js +0 -755
  194. package/dist/useTableResponsive-B24Uwt2E.js +0 -24
  195. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  196. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  197. package/dist/useTimeLabels-BmBRv27Y.js +0 -272
  198. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-DUrZWttG.js +0 -13
  201. package/dist/vue-data-ui-qpQv-4uP.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
  204. package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
  205. package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
  206. package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
  207. package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
  208. package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
  209. package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
  210. package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
  211. package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
  212. package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
  213. package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
  214. package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
  215. package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
  216. package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
  217. package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
  218. package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
  220. package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
  221. package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
  222. package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
  223. package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
  224. package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
  225. package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
  226. package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
  227. package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
  228. package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
  229. package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
  230. package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
  231. package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
  232. package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
  233. package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
  235. package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
  237. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  238. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  239. package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
  240. package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
  241. package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
  242. package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
  243. package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
  244. package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
  245. package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
  246. package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
  247. package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
  248. package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
  249. package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
  250. package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
  251. package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
  253. package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
  255. package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
  256. package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
  257. package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
  258. package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
  260. package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
  261. package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
  262. package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
  263. package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
  264. package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
  265. package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
  266. package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
  267. package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
  268. package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
  270. package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
  271. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
  273. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  274. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  275. package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
  276. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  277. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  278. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  279. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  280. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  281. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
  282. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  283. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  284. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  285. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  286. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  287. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  288. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  289. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  291. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  292. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  293. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  294. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  296. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  297. package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
  298. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  299. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  300. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  301. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  302. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  303. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  304. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  305. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  307. package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  309. package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
  310. package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
  311. package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
  312. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  313. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  314. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  315. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  316. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  318. package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
  319. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  320. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  321. package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
  322. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
@@ -1,1416 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { B as t, Bt as n, Ct as r, Et as i, G as a, H as o, I as ee, J as s, Lt as te, Rt as ne, S as re, X as ie, ct as ae, h as oe, i as se, k as ce, nt as le, ot as ue, pt as de, t as fe, x as pe, y as me, zt as he } from "./lib-DUeYQsS0.js";
3
- import { t as ge } from "./useConfig-DAyQk86L.js";
4
- import { t as _e } from "./usePrinter-C1Gqt_Sp.js";
5
- import { n as ve, t as ye } from "./BaseScanner-Dr2a1Msy.js";
6
- import { t as be } from "./useSvgExport-SVIsDot8.js";
7
- import { t as xe } from "./useNestedProp-CNcoy38D.js";
8
- import { t as Se } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
10
- import { t as we } from "./img-1cKsci8e.js";
11
- import { n as Te } from "./Title-NWp4qB4K.js";
12
- import { t as Ee } from "./Shape-BPCJfphn.js";
13
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
- import { c as Oe } from "./canvas-lib-BOP_HS11.js";
15
- import { t as ke } from "./useResponsive-BfnK0KxU.js";
16
- import { t as Ae } from "./BaseLegendToggle-C_Db-y7s.js";
17
- import { t as je } from "./A11yDataTable-BCbtxMU6.js";
18
- import { t as Me } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Ne } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Pe } from "./Legend-Cz2uQ5gs.js";
21
- import { t as Fe } from "./vue_ui_parallel_coordinate_plot-CBiOBira.js";
22
- import { Fragment as c, Teleport as Ie, computed as l, createBlock as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as Le, createTextVNode as Re, createVNode as ze, defineAsyncComponent as m, guardReactiveProps as h, mergeProps as Be, nextTick as Ve, normalizeClass as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as He, onMounted as Ue, openBlock as y, ref as b, renderList as x, renderSlot as S, resolveDynamicComponent as We, shallowRef as Ge, toDisplayString as C, toRefs as Ke, unref as w, watch as qe, watchEffect as Je, withCtx as T } from "vue";
23
- //#region src/components/vue-ui-parallel-coordinate-plot.vue
24
- var Ye = /* @__PURE__ */ e({ default: () => xt }), Xe = ["id"], Ze = ["id"], Qe = ["id"], $e = { style: { position: "relative" } }, et = [
25
- "xmlns",
26
- "aria-describedby",
27
- "viewBox"
28
- ], tt = [
29
- "x",
30
- "y",
31
- "width",
32
- "height"
33
- ], nt = { style: { "pointer-events": "none" } }, rt = [
34
- "x1",
35
- "x2",
36
- "y1",
37
- "y2",
38
- "stroke",
39
- "stroke-width"
40
- ], it = [
41
- "x1",
42
- "x2",
43
- "y1",
44
- "y2",
45
- "stroke",
46
- "stroke-width"
47
- ], at = { key: 0 }, ot = [
48
- "x",
49
- "y",
50
- "fill",
51
- "font-size",
52
- "font-weight"
53
- ], st = [
54
- "fill",
55
- "font-size",
56
- "font-weight",
57
- "text-anchor",
58
- "transform"
59
- ], ct = [
60
- "fill",
61
- "font-size",
62
- "font-weight",
63
- "text-anchor",
64
- "transform",
65
- "innerHTML"
66
- ], lt = { key: 0 }, ut = [
67
- "x",
68
- "y",
69
- "font-size",
70
- "fill"
71
- ], dt = [
72
- "width",
73
- "x",
74
- "y"
75
- ], ft = { style: { width: "100%" } }, pt = [
76
- "x",
77
- "y",
78
- "fill",
79
- "font-weight",
80
- "font-size",
81
- "onMouseenter",
82
- "onMouseleave",
83
- "onClick"
84
- ], mt = [
85
- "d",
86
- "stroke",
87
- "stroke-width",
88
- "onMouseenter",
89
- "onMouseleave",
90
- "onClick"
91
- ], ht = [
92
- "d",
93
- "onMouseenter",
94
- "onMouseleave",
95
- "onClick"
96
- ], gt = {
97
- key: 0,
98
- style: {
99
- position: "absolute",
100
- top: "100%",
101
- left: "0",
102
- width: "100%"
103
- },
104
- "data-dom-to-png-ignore": "",
105
- "aria-hidden": "true"
106
- }, _t = {
107
- key: 5,
108
- class: "vue-data-ui-watermark"
109
- }, vt = ["id"], yt = ["onClick"], bt = ["innerHTML"], xt = /* @__PURE__ */ De({
110
- __name: "vue-ui-parallel-coordinate-plot",
111
- props: {
112
- config: {
113
- type: Object,
114
- default() {
115
- return {};
116
- }
117
- },
118
- dataset: {
119
- type: Array,
120
- default() {
121
- return [];
122
- }
123
- }
124
- },
125
- emits: [
126
- "selectLegend",
127
- "selectDatapoint",
128
- "copyAlt"
129
- ],
130
- setup(e, { expose: De, emit: Ye }) {
131
- let xt = m(() => import("./Tooltip-BENq327o.js")), St = m(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ct = m(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), wt = m(() => import("./DataTable-B--IN22e.js")), Tt = m(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Et = m(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Dt = m(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), Ot = m(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_parallel_coordinate_plot: kt } = ge(), { isThemeValid: At, warnInvalidTheme: jt } = Se(), E = e, Mt = l({
132
- get() {
133
- return !!E.dataset && E.dataset.length;
134
- },
135
- set(e) {
136
- return e;
137
- }
138
- }), Nt = b(0), D = b(null), Pt = b(null), Ft = b(null), It = b(null), Lt = b(null), Rt = b(0), zt = b(0), Bt = b(0), Vt = b(!1), O = b(null), Ht = b(null), Ut = b(!1), Wt = b(!1), Gt = b(null), k = b(null), Kt = b({
139
- x: 0,
140
- y: 0
141
- }), qt = b("pointer"), Jt = b(!1), A = b(o()), j = b(!1);
142
- function Yt(e) {
143
- j.value = e, Nt.value += 1;
144
- }
145
- let M = b(nn()), N = l(() => M.value.userOptions.useCursorPointer), Xt = l(() => n({
146
- defaultConfig: {
147
- useCssAnimation: !1,
148
- userOptions: { show: !1 },
149
- table: { show: !1 },
150
- style: { chart: {
151
- backgroundColor: "#99999930",
152
- legend: {
153
- show: !0,
154
- backgroundColor: "transparent"
155
- },
156
- yAxis: {
157
- stroke: "#6A6A6A",
158
- labels: {
159
- showAxisNames: !1,
160
- axisNames: [],
161
- ticks: { color: "#6A6A6A" }
162
- }
163
- }
164
- } }
165
- },
166
- userConfig: M.value.skeletonConfig ?? {}
167
- })), { loading: P, FINAL_DATASET: Zt, manualLoading: Qt } = ve({
168
- ...Ke(E),
169
- FINAL_CONFIG: M,
170
- prepareConfig: nn,
171
- callback: () => {
172
- Promise.resolve().then(async () => {
173
- await Ve(), V.value.showTable = M.value.table.show;
174
- });
175
- },
176
- skeletonDataset: E.config?.skeletonDataset ?? [
177
- {
178
- name: "",
179
- shape: "circle",
180
- color: "transparent",
181
- series: [{
182
- name: "",
183
- values: [
184
- 1,
185
- 10,
186
- 100,
187
- 1e3
188
- ]
189
- }]
190
- },
191
- {
192
- name: "",
193
- shape: "circle",
194
- color: "#CACACA",
195
- series: [{
196
- name: "",
197
- values: [
198
- .2,
199
- 3,
200
- 50,
201
- 800
202
- ]
203
- }]
204
- },
205
- {
206
- name: "",
207
- shape: "circle",
208
- color: "transparent",
209
- series: [{
210
- name: "",
211
- values: [
212
- 0,
213
- 0,
214
- 0,
215
- 0
216
- ]
217
- }]
218
- }
219
- ],
220
- skeletonConfig: n({
221
- defaultConfig: M.value,
222
- userConfig: Xt.value
223
- })
224
- }), { userOptionsVisible: $t, setUserOptionsVisibility: en, keepUserOptionState: tn } = Me({ config: M.value }), { svgRef: F } = Ne({ config: M.value.style.chart.title });
225
- function nn() {
226
- let e = xe({
227
- userConfig: E.config,
228
- defaultConfig: kt
229
- }), t = e.theme;
230
- if (!t) return e;
231
- if (!At.value(e)) return jt(e), e;
232
- let n = xe({
233
- userConfig: Fe[t] || E.config,
234
- defaultConfig: e
235
- }), r = xe({
236
- userConfig: E.config,
237
- defaultConfig: n
238
- });
239
- return {
240
- ...r,
241
- customPalette: r.customPalette.length ? r.customPalette : ne[t] || i
242
- };
243
- }
244
- qe(() => E.config, (e) => {
245
- P.value || (M.value = nn()), $t.value = !M.value.userOptions.showOnChartHover, an(), Rt.value += 1, Bt.value += 1, zt.value += 1, V.value.dataLabels.show = M.value.style.chart.yAxis.labels.datapoints.show, V.value.showTable = M.value.table.show, V.value.showTooltip = M.value.style.chart.tooltip.show;
246
- }, { deep: !0 }), qe(() => E.dataset, (e) => {
247
- Array.isArray(e) && e.length > 0 && (Qt.value = !1);
248
- }, { deep: !0 });
249
- let I = Ge(null), L = Ge(null);
250
- Ue(() => {
251
- Vt.value = !0, an();
252
- });
253
- let rn = l(() => !!M.value.debug);
254
- function an() {
255
- if (r(E.dataset) ? (ie({
256
- componentName: "VueUiParallelCoordinatePlot",
257
- type: "dataset",
258
- debug: rn.value
259
- }), Qt.value = !0) : E.dataset.forEach((e, t) => {
260
- ue({
261
- datasetObject: e,
262
- requiredAttributes: ["name", "series"]
263
- }).forEach((e) => {
264
- Mt.value = !1, ie({
265
- componentName: "VueUiParallelCoordinatePlot",
266
- type: "datasetSerieAttribute",
267
- property: e,
268
- index: t,
269
- debug: rn.value
270
- });
271
- });
272
- }), r(E.dataset) || (Qt.value = M.value.loading), M.value.responsive) {
273
- let e = Oe(() => {
274
- let { width: e, height: t } = ke({
275
- chart: D.value,
276
- title: M.value.style.chart.title.text ? Pt.value : null,
277
- legend: M.value.style.chart.legend.show ? Ft.value : null,
278
- source: It.value,
279
- noTitle: Lt.value
280
- });
281
- requestAnimationFrame(() => {
282
- R.value.width = e, R.value.height = t - 12, M.value.responsiveProportionalSizing ? (R.value.plotSize = he({
283
- relator: Math.min(e, t),
284
- adjuster: 600,
285
- source: M.value.style.chart.plots.radius,
286
- threshold: 2,
287
- fallback: 2
288
- }), R.value.ticksFontSize = he({
289
- relator: Math.min(e, t),
290
- adjuster: 600,
291
- source: M.value.style.chart.yAxis.labels.ticks.fontSize,
292
- threshold: 10,
293
- fallback: 10
294
- }), R.value.datapointFontSize = he({
295
- relator: Math.min(e, t),
296
- adjuster: 600,
297
- source: M.value.style.chart.yAxis.labels.datapoints.fontSize,
298
- threshold: 10,
299
- fallback: 10
300
- }), R.value.axisNameFontSize = he({
301
- relator: Math.min(e, t),
302
- adjuster: 600,
303
- source: M.value.style.chart.yAxis.labels.axisNamesFontSize,
304
- threshold: 12,
305
- fallback: 12
306
- })) : (R.value.plotSize = M.value.style.chart.plots.radius, R.value.ticksFontSize = M.value.style.chart.yAxis.labels.ticks.fontSize, R.value.datapointFontSize = M.value.style.chart.yAxis.labels.datapoints.fontSize, R.value.axisNameFontSize = M.value.style.chart.yAxis.labels.axisNamesFontSize);
307
- });
308
- });
309
- I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = D.value.parentNode, I.value.observe(L.value);
310
- }
311
- }
312
- He(() => {
313
- I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
314
- });
315
- let { isPrinting: on, isImaging: sn, generatePdf: cn, generateImage: ln } = _e({
316
- elementId: `pcp_${A.value}`,
317
- fileName: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot",
318
- options: M.value.userOptions.print
319
- }), un = l(() => M.value.userOptions.show && !M.value.style.chart.title.text), R = b({
320
- height: M.value.style.chart.height,
321
- width: M.value.style.chart.width,
322
- plotSize: M.value.style.chart.plots.radius,
323
- ticksFontSize: M.value.style.chart.yAxis.labels.ticks.fontSize,
324
- datapointFontSize: M.value.style.chart.yAxis.labels.datapoints.fontSize,
325
- axisNameFontSize: M.value.style.chart.yAxis.labels.axisNamesFontSize
326
- }), dn = l(() => R.value.width), fn = l(() => R.value.height), z = b(0), pn = Oe((e) => {
327
- z.value = e;
328
- }, 100);
329
- Je((e) => {
330
- let t = Gt.value;
331
- if (!t) return;
332
- let n = new ResizeObserver((e) => {
333
- pn(e[0].contentRect.height);
334
- });
335
- n.observe(t), e(() => n.disconnect());
336
- });
337
- let B = l(() => {
338
- let { top: e, right: t, bottom: n, left: r } = M.value.style.chart.padding, i = fn.value, a = dn.value;
339
- return {
340
- chartHeight: Math.max(.001, i),
341
- chartWidth: Math.max(.001, a),
342
- height: Math.max(.001, i - e - n - z.value - R.value.datapointFontSize * 2),
343
- width: Math.max(.001, a - r - t),
344
- top: e + z.value + R.value.datapointFontSize,
345
- left: r,
346
- right: a - t,
347
- bottom: i - n - R.value.datapointFontSize
348
- };
349
- }), mn = l(() => pe(M.value.customPalette)), V = b({
350
- dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
351
- showTable: M.value.table.show,
352
- showTooltip: M.value.style.chart.tooltip.show
353
- });
354
- qe(M, () => {
355
- V.value = {
356
- dataLabels: { show: M.value.style.chart.yAxis.labels.datapoints.show },
357
- showTable: M.value.table.show,
358
- showTooltip: M.value.style.chart.tooltip.show
359
- };
360
- }, { immediate: !0 });
361
- let H = b([]);
362
- function hn() {
363
- H.value.length ? H.value = [] : W.value.forEach((e) => {
364
- H.value.push(e.id);
365
- }), An("selectLegend", K.value);
366
- }
367
- function gn(e) {
368
- H.value.includes(e) ? H.value = H.value.filter((t) => t !== e) : H.value.push(e), An("selectLegend", K.value);
369
- }
370
- let U = l(() => Zt.value.map((e, t) => {
371
- let n = me(e.color) || mn.value[t] || i[t] || i[t % i.length];
372
- return {
373
- ...e,
374
- series: e.series.map((e) => ({
375
- ...e,
376
- id: o(),
377
- color: n
378
- })),
379
- seriesIndex: t,
380
- color: n,
381
- id: o(),
382
- shape: e.shape || "circle"
383
- };
384
- }));
385
- function _n(e) {
386
- return U.value.length ? U.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiParallelCoordinatePlot - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiParallelCoordinatePlot - There are no series to show."), null);
387
- }
388
- function vn(e) {
389
- let t = _n(e);
390
- t !== null && H.value.includes(t.id) && gn(t.id);
391
- }
392
- function yn(e) {
393
- let t = _n(e);
394
- t !== null && (H.value.includes(t.id) || gn(t.id));
395
- }
396
- let W = l(() => U.value.map((e) => ({
397
- ...e,
398
- opacity: H.value.includes(e.id) ? .5 : 1,
399
- segregate: () => gn(e.id),
400
- isSegregated: H.value.includes(e.id),
401
- shape: e.shape || "circle"
402
- }))), bn = l(() => ({
403
- cy: "pcp-div-legend",
404
- backgroundColor: M.value.style.chart.legend.backgroundColor,
405
- color: M.value.style.chart.legend.color,
406
- fontSize: M.value.style.chart.legend.fontSize,
407
- paddingBottom: 12,
408
- fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
409
- })), xn = l(() => Math.max(...U.value.filter((e) => !H.value.includes(e.id)).map((e) => Math.max(...e.series.flatMap((e) => e.values.length))))), G = l(() => B.value.width / xn.value), K = l(() => U.value.filter((e) => !H.value.includes(e.id))), q = l(() => {
410
- let e = [];
411
- for (let t = 0; t < xn.value; t += 1) {
412
- let n = Math.min(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), r = Math.max(...K.value.flatMap((e) => e.series.map((e) => e.values[t] || 0) || 0)), i = oe(r === n ? n / 4 : n, r === n ? r * 2 : r, M.value.style.chart.yAxis.scaleTicks), a = i.ticks.map((e, n) => {
413
- let r = i.min < 0 ? e + Math.abs(i.min) : e - Math.abs(i.min), a = i.min < 0 ? i.max + Math.abs(i.min) : i.max - Math.abs(i.min);
414
- return {
415
- y: B.value.bottom - B.value.height * (r / a),
416
- x: B.value.left + G.value * t + G.value / 2,
417
- value: e
418
- };
419
- });
420
- e.push({
421
- scale: i,
422
- ticks: a,
423
- name: M.value.style.chart.yAxis.labels.axisNames[t] || `Y-${t + 1}`
424
- });
425
- }
426
- return e;
427
- }), J = l(() => K.value.map((e, t) => ({
428
- ...e,
429
- series: e.series.map((n, r) => ({
430
- ...n,
431
- datapoints: n.values.map((i, a) => {
432
- let o = 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);
433
- return {
434
- name: n.name,
435
- seriesName: e.name,
436
- axisIndex: a,
437
- datapointIndex: r,
438
- seriesIndex: t,
439
- value: i || 0,
440
- x: B.value.left + G.value * a + G.value / 2,
441
- y: B.value.bottom - B.value.height * (o / ee),
442
- comment: n.comments && n.comments[a] || ""
443
- };
444
- })
445
- }))
446
- })).map((e) => ({
447
- ...e,
448
- series: e.series.map((e) => {
449
- let t = ee(e.datapoints), n = ce(e.datapoints, .12), r = ae(M.value.style.chart.lines.smooth ? `M ${n}` : `M ${t}`);
450
- return {
451
- ...e,
452
- smoothPath: n,
453
- straightPath: t,
454
- pathLength: r
455
- };
456
- })
457
- }))), Y = l(() => J.value.flatMap((e, t) => e.series.map((n, r) => ({
458
- shape: e.shape,
459
- serieName: e.name,
460
- serie: n,
461
- relativeIndex: r,
462
- seriesIndex: n.seriesIndex,
463
- S: t,
464
- key: `${t}_${r}`
465
- }))));
466
- function Sn({ value: e, index: t, datapoint: n }) {
467
- return se(M.value.style.chart.yAxis.labels.formatters[t] || null, e, a({
468
- p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
469
- v: e,
470
- s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
471
- r: M.value.style.chart.yAxis.labels.roundings[t] || 0
472
- }), {
473
- datapoint: n,
474
- seriesIndex: t
475
- });
476
- }
477
- let X = b(null), Cn = b(null), wn = b(!1), Tn = b("");
478
- function Z({ shape: e, serie: t, S: n }) {
479
- M.value.events.datapointLeave && M.value.events.datapointLeave({
480
- datapoint: {
481
- ...t,
482
- shape: e
483
- },
484
- seriesIndex: n
485
- });
486
- let r = k.value === null ? null : Y.value[k.value];
487
- qt.value === "keyboard" && r && r.serie.id === t.id || (X.value = null, wn.value = !1);
488
- }
489
- function En(e) {
490
- if (!F.value || !e?.datapoints?.length) return;
491
- let t = e.datapoints[Math.floor(e.datapoints.length / 2)];
492
- if (!t) return;
493
- let n = te(t.x, t.y, F.value);
494
- n && (Kt.value = n);
495
- }
496
- function Q({ shape: e, serieName: t, serie: n, relativeIndex: r, seriesIndex: i, S: o, triggerMode: ee = "pointer" }) {
497
- M.value.events.datapointEnter && M.value.events.datapointEnter({
498
- datapoint: {
499
- ...n,
500
- shape: e
501
- },
502
- seriesIndex: o
503
- }), qt.value = ee, Cn.value = {
504
- config: M.value,
505
- datapoint: n,
506
- serie: n,
507
- relativeIndex: r,
508
- seriesIndex: i,
509
- series: U.value,
510
- scales: q.value
511
- }, wn.value = !0, X.value = n.id;
512
- let s = "", te = M.value.style.chart.tooltip.customFormat;
513
- de(te) && le(() => te({
514
- serie: n,
515
- seriesIndex: n.seriesIndex,
516
- series: U.value,
517
- config: M.value,
518
- scales: q.value
519
- })) ? Tn.value = te({
520
- serie: n,
521
- seriesIndex: n.seriesIndex,
522
- series: U.value,
523
- config: M.value,
524
- scales: q.value
525
- }) : (s += `<div style="width:100%;text-align:center;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};padding-bottom:6px;margin-bottom:3px;">${t ? t + " - " : ""}${n.name}</div>`, q.value.map((e) => e.name).forEach((e, t) => {
526
- s += `
527
- <div class="vue-ui-tooltip-item" style="text-align:left">
528
- <span>${e}: </span>
529
- <span>
530
- ${se(M.value.style.chart.yAxis.labels.formatters[t] || null, n.datapoints[t].value, a({
531
- p: M.value.style.chart.yAxis.labels.prefixes[t] || "",
532
- v: n.datapoints[t].value,
533
- s: M.value.style.chart.yAxis.labels.suffixes[t] || "",
534
- r: M.value.style.chart.yAxis.labels.roundings[t] || ""
535
- }), {
536
- datapoint: n.datapoints[t],
537
- seriesIndex: t
538
- })}
539
- </span>
540
- </div>
541
- `, M.value.style.chart.comments.showInTooltip && n.datapoints[t].comment && (s += `<div class="vue-data-ui-tooltip-comment" style="background:${n.color}20; padding: 6px; margin-bottom: 6px; border-left: 1px solid ${n.color}">${n.datapoints[t].comment}</div>`);
542
- }), Tn.value = `<div>${s}</div>`), ee === "keyboard" && Ve(() => {
543
- En(n);
544
- });
545
- }
546
- function Dn() {
547
- return U.value;
548
- }
549
- let $ = l(() => {
550
- let e = [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name));
551
- return {
552
- body: J.value.flatMap((e, t) => e.series.map((t) => [e.name, t.name].concat(t.values))),
553
- head: e,
554
- config: {
555
- th: {
556
- backgroundColor: M.value.table.th.backgroundColor,
557
- color: M.value.table.th.color,
558
- outline: M.value.table.th.outline
559
- },
560
- td: {
561
- backgroundColor: M.value.table.td.backgroundColor,
562
- color: M.value.table.td.color,
563
- outline: M.value.table.td.outline
564
- },
565
- breakpoint: M.value.table.responsiveBreakpoint
566
- },
567
- colNames: [M.value.table.columnNames.series, M.value.table.columnNames.item].concat(q.value.map((e) => e.name))
568
- };
569
- }), On = l(() => J.value.length === 0 ? {
570
- head: [],
571
- body: [],
572
- config: {},
573
- columnNames: []
574
- } : {
575
- head: $.value.head,
576
- body: $.value.body
577
- });
578
- function kn(e = null) {
579
- let t = [
580
- [M.value.style.chart.title.text],
581
- [M.value.style.chart.title.subtitle.text],
582
- [""]
583
- ], n = On.value.head, r = On.value.body, i = re(t.concat([n]).concat(r));
584
- e ? e(i) : s({
585
- csvContent: i,
586
- title: M.value.style.chart.title.text || "vue-ui-parallel-coordinate-plot"
587
- });
588
- }
589
- let An = Ye;
590
- function jn({ serie: e, shape: t, S: n }) {
591
- M.value.events.datapointClick && M.value.events.datapointClick({
592
- datapoint: {
593
- ...e,
594
- shape: t
595
- },
596
- seriesIndex: n
597
- }), An("selectDatapoint", e);
598
- }
599
- function Mn() {
600
- V.value.showTable = !V.value.showTable;
601
- }
602
- function Nn() {
603
- V.value.dataLabels.show = !V.value.dataLabels.show;
604
- }
605
- function Pn() {
606
- V.value.showTooltip = !V.value.showTooltip;
607
- }
608
- let Fn = b(!1);
609
- function In() {
610
- Fn.value = !Fn.value;
611
- }
612
- async function Ln({ scale: e = 2 } = {}) {
613
- if (!D.value) return;
614
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
615
- domElement: D.value,
616
- base64: !0,
617
- img: !0,
618
- scale: e
619
- });
620
- return {
621
- imageUri: i,
622
- base64: a,
623
- title: M.value.style.chart.title.text,
624
- width: t,
625
- height: n,
626
- aspectRatio: r
627
- };
628
- }
629
- let Rn = b({
630
- start: 0,
631
- end: 1
632
- });
633
- Ce({
634
- timeLabelsEls: Gt,
635
- timeLabels: l(() => q.value.map((e) => e.name)),
636
- slicer: Rn,
637
- configRef: M,
638
- rotationPath: [
639
- "style",
640
- "chart",
641
- "yAxis",
642
- "labels",
643
- "axisNamesRotation"
644
- ],
645
- autoRotatePath: [
646
- "style",
647
- "chart",
648
- "yAxis",
649
- "labels",
650
- "axisNamesAutoRotate",
651
- "enable"
652
- ],
653
- isAutoSize: !1,
654
- width: dn,
655
- height: fn,
656
- targetClass: ".vue-ui-parallel-coordinate-plot-x-label",
657
- rotation: M.value.style.chart.yAxis.labels.axisNamesAutoRotate.angle
658
- });
659
- let zn = l(() => {
660
- let e = M.value.table.useDialog && !M.value.table.show, t = V.value.showTable;
661
- return {
662
- component: e ? Ot : Ct,
663
- title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
664
- props: e ? {
665
- backgroundColor: M.value.table.th.backgroundColor,
666
- color: M.value.table.th.color,
667
- headerColor: M.value.table.th.color,
668
- headerBg: M.value.table.th.backgroundColor,
669
- isFullscreen: j.value,
670
- fullscreenParent: D.value,
671
- forcedWidth: Math.min(800, window.innerWidth * .8),
672
- isCursorPointer: N.value
673
- } : {
674
- hideDetails: !0,
675
- config: {
676
- open: t,
677
- maxHeight: 1e4,
678
- body: {
679
- backgroundColor: M.value.style.chart.backgroundColor,
680
- color: M.value.style.chart.color
681
- },
682
- head: {
683
- backgroundColor: M.value.style.chart.backgroundColor,
684
- color: M.value.style.chart.color
685
- }
686
- }
687
- }
688
- };
689
- });
690
- qe(() => V.value.showTable, (e) => {
691
- M.value.table.show || (e && M.value.table.useDialog && O.value ? O.value.open() : "close" in O.value && O.value.close());
692
- });
693
- function Bn() {
694
- V.value.showTable = !1, Ht.value && Ht.value.setTableIconState(!1);
695
- }
696
- let Vn = l(() => M.value.style.chart.backgroundColor), Hn = l(() => M.value.style.chart.legend), { exportSvg: Un, getSvg: Wn } = be({
697
- svg: F,
698
- title: l(() => M.value.style.chart.title),
699
- legend: Hn,
700
- legendItems: W,
701
- backgroundColor: Vn
702
- });
703
- async function Gn({ isCb: e }) {
704
- Wt.value = !0, await Ve();
705
- try {
706
- if (e) {
707
- let { blob: e, url: t, text: n, dataUrl: r } = await Wn();
708
- await Promise.resolve(M.value.userOptions.callbacks.svg({
709
- blob: e,
710
- url: t,
711
- text: n,
712
- dataUrl: r
713
- }));
714
- } else await Promise.resolve(Un());
715
- } finally {
716
- Wt.value = !1;
717
- }
718
- }
719
- function Kn(e) {
720
- if (e?.stage === "start") {
721
- Ut.value = !0;
722
- return;
723
- }
724
- if (e?.stage === "end") {
725
- Ut.value = !1;
726
- return;
727
- }
728
- ln();
729
- }
730
- async function qn() {
731
- if (An("copyAlt", {
732
- config: M.value,
733
- dataset: J.value
734
- }), !M.value.userOptions.callbacks.altCopy) {
735
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
736
- return;
737
- }
738
- await Promise.resolve(M.value.userOptions.callbacks.altCopy({
739
- config: M.value,
740
- dataset: J.value
741
- }));
742
- }
743
- function Jn(e) {
744
- let t = Y.value.length;
745
- return t ? (e % t + t) % t : null;
746
- }
747
- function Yn() {
748
- if (k.value !== null) {
749
- let e = Y.value[k.value];
750
- e && Z({
751
- shape: e.shape,
752
- serie: e.serie,
753
- S: e.S
754
- });
755
- }
756
- k.value = null, qt.value = "pointer", X.value = null, wn.value = !1;
757
- }
758
- function Xn() {
759
- k.value = null, Jt.value = !0;
760
- }
761
- function Zn() {
762
- Yn(), Jt.value = !1;
763
- }
764
- function Qn(e) {
765
- if (!F.value || Fn.value || document.activeElement !== F.value || !Y.value.length) return;
766
- let t = ["ArrowUp", "ArrowLeft"].includes(e.key), n = ["ArrowDown", "ArrowRight"].includes(e.key), r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
767
- if (!t && !n && !r && !i) return;
768
- if (e.preventDefault(), e.stopPropagation(), i) {
769
- Yn();
770
- return;
771
- }
772
- if (r) {
773
- if (k.value === null) return;
774
- let e = Y.value[k.value];
775
- if (!e) return;
776
- jn({
777
- serie: e.serie,
778
- shape: e.shape,
779
- S: e.S
780
- });
781
- return;
782
- }
783
- let a = k.value;
784
- a = a === null ? n ? 0 : Y.value.length - 1 : Jn(a + (n ? 1 : -1));
785
- let o = Y.value[a];
786
- o && (k.value = a, Q({
787
- shape: o.shape,
788
- serieName: o.serieName,
789
- serie: o.serie,
790
- relativeIndex: o.relativeIndex,
791
- seriesIndex: o.seriesIndex,
792
- S: o.S,
793
- triggerMode: "keyboard"
794
- }));
795
- }
796
- let $n = l(() => ({
797
- head: $.value.head,
798
- body: $.value.body.map((e) => [
799
- e[0] ?? "",
800
- e[1] ?? "",
801
- ...e.slice(2)
802
- ]),
803
- caption: M.value.a11y.translations.tableCaption,
804
- notice: M.value.a11y.translations.tableAvailable
805
- }));
806
- return De({
807
- getData: Dn,
808
- getImage: Ln,
809
- generateCsv: kn,
810
- generatePdf: cn,
811
- generateImage: ln,
812
- generateSvg: Gn,
813
- hideSeries: yn,
814
- showSeries: vn,
815
- toggleTable: Mn,
816
- toggleLabels: Nn,
817
- toggleTooltip: Pn,
818
- toggleAnnotator: In,
819
- toggleFullscreen: Yt,
820
- copyAlt: qn
821
- }), (e, n) => (y(), f("div", {
822
- ref_key: "pcpChart",
823
- ref: D,
824
- class: g(`vue-data-ui-component vue-ui-pcp ${j.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
825
- style: v(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height:100%" : ""}`),
826
- id: `pcp_${A.value}`,
827
- onMouseenter: n[2] ||= () => w(en)(!0),
828
- onMouseleave: n[3] ||= () => w(en)(!1)
829
- }, [
830
- p("div", {
831
- id: `chart-instructions-${A.value}`,
832
- class: "sr-only"
833
- }, [p("p", null, C(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ze),
834
- $n.value.body.length ? (y(), u(je, {
835
- key: 0,
836
- uid: A.value,
837
- head: $n.value.head,
838
- body: $n.value.body,
839
- caption: $n.value.caption,
840
- notice: $n.value.notice
841
- }, null, 8, [
842
- "uid",
843
- "head",
844
- "body",
845
- "caption",
846
- "notice"
847
- ])) : d("", !0),
848
- M.value.userOptions.buttons.annotator ? (y(), u(w(Tt), {
849
- key: 1,
850
- svgRef: w(F),
851
- backgroundColor: M.value.style.chart.backgroundColor,
852
- color: M.value.style.chart.color,
853
- active: Fn.value,
854
- isCursorPointer: N.value,
855
- onClose: In
856
- }, {
857
- "annotator-action-close": T(() => [S(e.$slots, "annotator-action-close", {}, void 0, !0)]),
858
- "annotator-action-color": T(({ color: t }) => [S(e.$slots, "annotator-action-color", _(h({ color: t })), void 0, !0)]),
859
- "annotator-action-draw": T(({ mode: t }) => [S(e.$slots, "annotator-action-draw", _(h({ mode: t })), void 0, !0)]),
860
- "annotator-action-undo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-undo", _(h({ disabled: t })), void 0, !0)]),
861
- "annotator-action-redo": T(({ disabled: t }) => [S(e.$slots, "annotator-action-redo", _(h({ disabled: t })), void 0, !0)]),
862
- "annotator-action-delete": T(({ disabled: t }) => [S(e.$slots, "annotator-action-delete", _(h({ disabled: t })), void 0, !0)]),
863
- _: 3
864
- }, 8, [
865
- "svgRef",
866
- "backgroundColor",
867
- "color",
868
- "active",
869
- "isCursorPointer"
870
- ])) : d("", !0),
871
- un.value ? (y(), f("div", {
872
- key: 2,
873
- ref_key: "noTitle",
874
- ref: Lt,
875
- class: "vue-data-ui-no-title-space",
876
- style: "height:36px; width: 100%;background:transparent"
877
- }, null, 512)) : d("", !0),
878
- M.value.style.chart.title.text ? (y(), f("div", {
879
- key: 3,
880
- ref_key: "chartTitle",
881
- ref: Pt,
882
- style: "width:100%;background:transparent;padding-bottom:24px"
883
- }, [(y(), u(Te, {
884
- key: `title_${Rt.value}`,
885
- config: {
886
- title: {
887
- cy: "pcp-div-title",
888
- ...M.value.style.chart.title
889
- },
890
- subtitle: {
891
- cy: "pcp-div-subtitle",
892
- ...M.value.style.chart.title.subtitle
893
- }
894
- }
895
- }, null, 8, ["config"]))], 512)) : d("", !0),
896
- p("div", { id: `legend-top-${A.value}` }, null, 8, Qe),
897
- M.value.userOptions.show && Mt.value && (w(tn) || w($t)) ? (y(), u(w(Et), {
898
- ref_key: "userOptionsRef",
899
- ref: Ht,
900
- key: `user_options_${Nt.value}`,
901
- backgroundColor: M.value.style.chart.backgroundColor,
902
- color: M.value.style.chart.color,
903
- isPrinting: w(on),
904
- isImaging: w(sn),
905
- uid: A.value,
906
- hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
907
- hasPdf: M.value.userOptions.buttons.pdf,
908
- hasXls: M.value.userOptions.buttons.csv,
909
- hasImg: M.value.userOptions.buttons.img,
910
- hasSvg: M.value.userOptions.buttons.svg,
911
- hasTable: M.value.userOptions.buttons.table,
912
- hasLabel: M.value.userOptions.buttons.labels,
913
- hasFullscreen: M.value.userOptions.buttons.fullscreen,
914
- hasAltCopy: M.value.userOptions.buttons.altCopy,
915
- isFullscreen: j.value,
916
- isTooltip: V.value.showTooltip,
917
- titles: { ...M.value.userOptions.buttonTitles },
918
- chartElement: D.value,
919
- position: M.value.userOptions.position,
920
- hasAnnotator: M.value.userOptions.buttons.annotator,
921
- isAnnotation: Fn.value,
922
- callbacks: M.value.userOptions.callbacks,
923
- printScale: M.value.userOptions.print.scale,
924
- tableDialog: M.value.table.useDialog,
925
- isCursorPointer: N.value,
926
- onToggleFullscreen: Yt,
927
- onGeneratePdf: w(cn),
928
- onGenerateCsv: kn,
929
- onGenerateImage: Kn,
930
- onGenerateSvg: Gn,
931
- onToggleTable: Mn,
932
- onToggleLabels: Nn,
933
- onToggleTooltip: Pn,
934
- onToggleAnnotator: In,
935
- onCopyAlt: qn,
936
- style: v({ visibility: w(tn) ? w($t) ? "visible" : "hidden" : "visible" })
937
- }, Le({ _: 2 }, [
938
- e.$slots.menuIcon ? {
939
- name: "menuIcon",
940
- fn: T(({ isOpen: t, color: n }) => [S(e.$slots, "menuIcon", _(h({
941
- isOpen: t,
942
- color: n
943
- })), void 0, !0)]),
944
- key: "0"
945
- } : void 0,
946
- e.$slots.optionTooltip ? {
947
- name: "optionTooltip",
948
- fn: T(() => [S(e.$slots, "optionTooltip", {}, void 0, !0)]),
949
- key: "1"
950
- } : void 0,
951
- e.$slots.optionPdf ? {
952
- name: "optionPdf",
953
- fn: T(() => [S(e.$slots, "optionPdf", {}, void 0, !0)]),
954
- key: "2"
955
- } : void 0,
956
- e.$slots.optionCsv ? {
957
- name: "optionCsv",
958
- fn: T(() => [S(e.$slots, "optionCsv", {}, void 0, !0)]),
959
- key: "3"
960
- } : void 0,
961
- e.$slots.optionImg ? {
962
- name: "optionImg",
963
- fn: T(() => [S(e.$slots, "optionImg", {}, void 0, !0)]),
964
- key: "4"
965
- } : void 0,
966
- e.$slots.optionSvg ? {
967
- name: "optionSvg",
968
- fn: T(() => [S(e.$slots, "optionSvg", {}, void 0, !0)]),
969
- key: "5"
970
- } : void 0,
971
- e.$slots.optionTable ? {
972
- name: "optionTable",
973
- fn: T(() => [S(e.$slots, "optionTable", {}, void 0, !0)]),
974
- key: "6"
975
- } : void 0,
976
- e.$slots.optionLabels ? {
977
- name: "optionLabels",
978
- fn: T(() => [S(e.$slots, "optionLabels", {}, void 0, !0)]),
979
- key: "7"
980
- } : void 0,
981
- e.$slots.optionFullscreen ? {
982
- name: "optionFullscreen",
983
- fn: T(({ toggleFullscreen: t, isFullscreen: n }) => [S(e.$slots, "optionFullscreen", _(h({
984
- toggleFullscreen: t,
985
- isFullscreen: n
986
- })), void 0, !0)]),
987
- key: "8"
988
- } : void 0,
989
- e.$slots.optionAnnotator ? {
990
- name: "optionAnnotator",
991
- fn: T(({ toggleAnnotator: t, isAnnotator: n }) => [S(e.$slots, "optionAnnotator", _(h({
992
- toggleAnnotator: t,
993
- isAnnotator: n
994
- })), void 0, !0)]),
995
- key: "9"
996
- } : void 0,
997
- e.$slots.optionAltCopy ? {
998
- name: "optionAltCopy",
999
- fn: T(({ altCopy: t }) => [S(e.$slots, "optionAltCopy", _(h({ altCopy: t })), void 0, !0)]),
1000
- key: "10"
1001
- } : void 0,
1002
- e.$slots["custom-menu-before"] ? {
1003
- name: "custom-menu-before",
1004
- fn: T(() => [S(e.$slots, "custom-menu-before", {}, void 0, !0)]),
1005
- key: "11"
1006
- } : void 0,
1007
- e.$slots["custom-menu-after"] ? {
1008
- name: "custom-menu-after",
1009
- fn: T(() => [S(e.$slots, "custom-menu-after", {}, void 0, !0)]),
1010
- key: "12"
1011
- } : void 0
1012
- ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasXls.hasImg.hasSvg.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : d("", !0),
1013
- p("div", $e, [(y(), f("svg", {
1014
- ref_key: "svgRef",
1015
- ref: F,
1016
- xmlns: w(fe),
1017
- "aria-describedby": `chart-instructions-${A.value}`,
1018
- class: g({
1019
- "vue-data-ui-fullscreen--on": j.value,
1020
- "vue-data-ui-fulscreen--off": !j.value
1021
- }),
1022
- viewBox: `0 0 ${B.value.chartWidth <= 0 ? 10 : B.value.chartWidth} ${B.value.chartHeight <= 0 ? 10 : B.value.chartHeight}`,
1023
- style: v(`max-width:100%; overflow: visible; background:transparent;color:${M.value.style.chart.color}`),
1024
- tabindex: "0",
1025
- onFocus: Xn,
1026
- onBlur: Zn,
1027
- onKeydown: Qn
1028
- }, [
1029
- ze(w(Dt)),
1030
- e.$slots["chart-background"] ? (y(), f("foreignObject", {
1031
- key: 0,
1032
- x: B.value.left,
1033
- y: B.value.top,
1034
- width: B.value.width,
1035
- height: B.value.height,
1036
- style: { pointerEvents: "none" }
1037
- }, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, tt)) : d("", !0),
1038
- (y(!0), f(c, null, x(q.value, (e, t) => (y(), f("g", nt, [p("line", {
1039
- x1: B.value.left + G.value * t + G.value / 2,
1040
- x2: B.value.left + G.value * t + G.value / 2,
1041
- y1: B.value.top,
1042
- y2: B.value.bottom,
1043
- stroke: M.value.style.chart.yAxis.stroke,
1044
- "stroke-width": M.value.style.chart.yAxis.strokeWidth
1045
- }, null, 8, rt), M.value.style.chart.yAxis.labels.ticks.show ? (y(), f(c, { key: 0 }, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("line", {
1046
- x1: e.x,
1047
- x2: e.x - 10,
1048
- y1: e.y,
1049
- y2: e.y,
1050
- stroke: M.value.style.chart.yAxis.stroke,
1051
- "stroke-width": M.value.style.chart.yAxis.strokeWidth,
1052
- style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1053
- }, null, 12, it))), 256)), w(P) ? d("", !0) : (y(), f("g", at, [(y(!0), f(c, null, x(e.ticks, (e) => (y(), f("text", {
1054
- x: e.x - 12 + M.value.style.chart.yAxis.labels.ticks.offsetX,
1055
- y: e.y + M.value.style.chart.yAxis.labels.ticks.offsetY + R.value.ticksFontSize / 3,
1056
- fill: M.value.style.chart.yAxis.labels.ticks.color,
1057
- "text-anchor": "end",
1058
- "font-size": R.value.ticksFontSize,
1059
- "font-weight": M.value.style.chart.yAxis.labels.ticks.bold ? "bold" : "normal",
1060
- style: v(`opacity:${X.value && !V.value.showTooltip ? .2 : 1}`)
1061
- }, C(Sn({
1062
- value: e.value,
1063
- index: t,
1064
- datapoint: e
1065
- })), 13, ot))), 256))]))], 64)) : d("", !0)]))), 256)),
1066
- M.value.style.chart.yAxis.labels.showAxisNames ? (y(), f("g", {
1067
- key: 1,
1068
- ref_key: "xAxisLabels",
1069
- ref: Gt
1070
- }, [(y(!0), f(c, null, x(q.value, (e, n) => (y(), f(c, null, [String(e.name).includes("\n") ? (y(), f("text", {
1071
- key: 1,
1072
- class: "vue-ui-parallel-coordinate-plot-x-label",
1073
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1074
- "font-size": R.value.axisNameFontSize,
1075
- "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1076
- "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1077
- transform: `translate(${B.value.left + G.value * n + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`,
1078
- innerHTML: w(t)({
1079
- content: String(e.name),
1080
- fontSize: R.value.axisNameFontSize,
1081
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1082
- x: 0,
1083
- y: 0
1084
- })
1085
- }, null, 8, ct)) : (y(), f("text", {
1086
- key: 0,
1087
- class: "vue-ui-parallel-coordinate-plot-x-label",
1088
- fill: M.value.style.chart.yAxis.labels.axisNamesColor,
1089
- "font-size": R.value.axisNameFontSize,
1090
- "font-weight": M.value.style.chart.yAxis.labels.axisNamesBold ? "bold" : "",
1091
- "text-anchor": M.value.style.chart.yAxis.labels.axisNamesRotation === 0 ? "middle" : M.value.style.chart.yAxis.labels.axisNamesRotation < 0 ? "start" : "end",
1092
- transform: `translate(${B.value.left + G.value * n + G.value / 2}, ${z.value - R.value.axisNameFontSize}), rotate(${M.value.style.chart.yAxis.labels.axisNamesRotation})`
1093
- }, C(e.name), 9, st))], 64))), 256))], 512)) : d("", !0),
1094
- (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, [
1095
- M.value.style.chart.plots.show ? (y(), f("g", lt, [
1096
- (y(!0), f(c, null, x(r.datapoints, (e, a) => (y(), u(Ee, {
1097
- plot: {
1098
- x: e.x,
1099
- y: e.y
1100
- },
1101
- color: t.color,
1102
- shape: t.shape,
1103
- radius: t.shape === "triangle" ? R.value.plotSize * 1.2 : R.value.plotSize,
1104
- stroke: M.value.style.chart.backgroundColor,
1105
- strokeWidth: .5,
1106
- onMouseenter: (e) => Q({
1107
- shape: t.shape,
1108
- serieName: t.name,
1109
- serie: r,
1110
- relativeIndex: i,
1111
- seriesIndex: r.seriesIndex,
1112
- S: n,
1113
- triggerMode: "pointer"
1114
- }),
1115
- onMouseleave: (e) => Z({
1116
- serie: r,
1117
- shape: t.shape,
1118
- S: n
1119
- }),
1120
- style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.plots.opacity : .2 : M.value.style.chart.plots.opacity}`),
1121
- onClick: () => jn({
1122
- serie: r,
1123
- shape: t.shape,
1124
- S: n
1125
- })
1126
- }, null, 8, [
1127
- "plot",
1128
- "color",
1129
- "shape",
1130
- "radius",
1131
- "stroke",
1132
- "onMouseenter",
1133
- "onMouseleave",
1134
- "style",
1135
- "onClick"
1136
- ]))), 256)),
1137
- V.value.showTooltip ? d("", !0) : (y(), f(c, { key: 0 }, [X.value && X.value === r.id && r.datapoints.length ? (y(), f("text", {
1138
- key: 0,
1139
- x: r.datapoints[0].x - R.value.ticksFontSize,
1140
- y: r.datapoints[0].y + R.value.ticksFontSize / 3,
1141
- "text-anchor": "end",
1142
- "font-size": R.value.ticksFontSize,
1143
- fill: t.color,
1144
- "font-weight": "bold"
1145
- }, C(r.name), 9, ut)) : d("", !0)], 64)),
1146
- M.value.style.chart.comments.show ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (n) => (y(), f("g", null, [n.comment ? (y(), f("foreignObject", {
1147
- key: 0,
1148
- style: { overflow: "visible" },
1149
- height: "12",
1150
- width: M.value.style.chart.comments.width,
1151
- x: n.x - M.value.style.chart.comments.width / 2 + M.value.style.chart.comments.offsetX,
1152
- y: n.y + M.value.style.chart.comments.offsetY + 6
1153
- }, [p("div", ft, [S(e.$slots, "plot-comment", { plot: {
1154
- ...n,
1155
- color: t.color
1156
- } }, void 0, !0)])], 8, dt)) : d("", !0)]))), 256)) : d("", !0)
1157
- ])) : d("", !0),
1158
- !w(P) && (V.value.dataLabels.show || X.value && X.value === r.id) ? (y(!0), f(c, { key: 1 }, x(r.datapoints, (e, a) => (y(), f("text", {
1159
- x: e.x + 12 + M.value.style.chart.yAxis.labels.datapoints.offsetX,
1160
- y: e.y + M.value.style.chart.yAxis.labels.datapoints.offsetY + R.value.datapointFontSize / 3,
1161
- fill: M.value.style.chart.yAxis.labels.datapoints.useSerieColor ? t.color : M.value.style.chart.yAxis.labels.datapoints.color,
1162
- "text-anchor": "start",
1163
- "font-weight": M.value.style.chart.yAxis.labels.datapoints.bold ? "bold" : "normal",
1164
- class: g({
1165
- "vue-ui-pcp-animated": !1,
1166
- "vue-ui-pcp-transition": !w(P)
1167
- }),
1168
- "font-size": R.value.datapointFontSize,
1169
- onMouseenter: (e) => Q({
1170
- shape: t.shape,
1171
- serieName: t.name,
1172
- serie: r,
1173
- relativeIndex: i,
1174
- seriesIndex: r.seriesIndex,
1175
- S: n,
1176
- triggerMode: "pointer"
1177
- }),
1178
- onMouseleave: (e) => Z({
1179
- serie: r,
1180
- shape: t.shape,
1181
- S: n
1182
- }),
1183
- onClick: () => jn({
1184
- serie: r,
1185
- shape: t.shape,
1186
- S: n
1187
- }),
1188
- style: v(`opacity:${X.value ? X.value === r.id ? 1 : .2 : 1}`)
1189
- }, C(Sn({
1190
- value: e.value,
1191
- index: a,
1192
- datapoint: e
1193
- })), 47, pt))), 256)) : d("", !0),
1194
- p("path", {
1195
- d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1196
- stroke: t.color,
1197
- "stroke-width": M.value.style.chart.lines.strokeWidth,
1198
- fill: "none",
1199
- class: g({
1200
- "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1201
- "vue-ui-pcp-transition": !w(P)
1202
- }),
1203
- onMouseenter: (e) => Q({
1204
- shape: t.shape,
1205
- serieName: t.name,
1206
- serie: r,
1207
- relativeIndex: i,
1208
- seriesIndex: r.seriesIndex,
1209
- S: n,
1210
- triggerMode: "pointer"
1211
- }),
1212
- onMouseleave: (e) => Z({
1213
- serie: r,
1214
- shape: t.shape,
1215
- S: n
1216
- }),
1217
- onClick: () => jn({
1218
- serie: r,
1219
- shape: t.shape,
1220
- S: n
1221
- }),
1222
- style: v(`opacity:${X.value ? X.value === r.id ? M.value.style.chart.lines.opacity : .2 : M.value.style.chart.lines.opacity}; stroke-dasharray:${r.pathLength}; stroke-dashoffset: ${M.value.useCssAnimation ? r.pathLength : 0}`)
1223
- }, null, 46, mt),
1224
- V.value.showTooltip ? (y(), f("path", {
1225
- key: 2,
1226
- d: `M${M.value.style.chart.lines.smooth ? r.smoothPath : r.straightPath}`,
1227
- stroke: "transparent",
1228
- "stroke-width": 12,
1229
- fill: "none",
1230
- class: g({
1231
- "vue-ui-pcp-animated vue-data-ui-line-animated": M.value.useCssAnimation,
1232
- "vue-ui-pcp-transition": !w(P)
1233
- }),
1234
- onMouseenter: (e) => Q({
1235
- shape: t.shape,
1236
- serieName: t.name,
1237
- serie: r,
1238
- relativeIndex: i,
1239
- seriesIndex: r.seriesIndex,
1240
- S: n,
1241
- triggerMode: "pointer"
1242
- }),
1243
- onMouseleave: (e) => Z({
1244
- serie: r,
1245
- shape: t.shape,
1246
- S: n
1247
- }),
1248
- onClick: () => jn({
1249
- serie: r,
1250
- shape: t.shape,
1251
- S: n
1252
- }),
1253
- style: { opacity: "0" }
1254
- }, null, 42, ht)) : d("", !0)
1255
- ]))), 256))]))), 256)),
1256
- S(e.$slots, "svg", { svg: {
1257
- ...B.value,
1258
- isPrintingImg: w(on) || w(sn) || Ut.value,
1259
- isPrintingSvg: Wt.value
1260
- } }, void 0, !0)
1261
- ], 46, et)), e.$slots.hint ? (y(), f("div", gt, [S(e.$slots, "hint", _(h({
1262
- hint: M.value.a11y.translations.keyboardNavigation,
1263
- isVisible: Jt.value
1264
- })), void 0, !0)])) : d("", !0)]),
1265
- e.$slots.watermark ? (y(), f("div", _t, [S(e.$slots, "watermark", _(h({ isPrinting: w(on) || w(sn) || Ut.value || Wt.value })), void 0, !0)])) : d("", !0),
1266
- p("div", { id: `legend-bottom-${A.value}` }, null, 8, vt),
1267
- Vt.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (y(), u(Ie, {
1268
- key: 6,
1269
- to: M.value.style.chart.legend.position === "top" ? `#legend-top-${A.value}` : `#legend-bottom-${A.value}`
1270
- }, [p("div", {
1271
- ref_key: "chartLegend",
1272
- ref: Ft
1273
- }, [S(e.$slots, "legend", { legend: W.value }, () => [M.value.style.chart.legend.show && Mt.value ? (y(), u(Pe, {
1274
- key: `legend_${zt.value}`,
1275
- legendSet: W.value,
1276
- config: bn.value,
1277
- isCursorPointer: N.value,
1278
- onClickMarker: n[0] ||= ({ legend: e }) => {
1279
- gn(e.id);
1280
- }
1281
- }, {
1282
- item: T(({ legend: e, index: t }) => [p("div", {
1283
- onClick: (t) => e.segregate(),
1284
- style: v(`opacity:${H.value.includes(e.id) ? .5 : 1}`)
1285
- }, C(e.name), 13, yt)]),
1286
- legendToggle: T(() => [W.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !w(P) ? (y(), u(Ae, {
1287
- key: 0,
1288
- backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1289
- color: M.value.style.chart.legend.selectAllToggle.color,
1290
- fontSize: M.value.style.chart.legend.fontSize,
1291
- checked: H.value.length > 0,
1292
- isCursorPointer: N.value,
1293
- onToggle: hn
1294
- }, null, 8, [
1295
- "backgroundColor",
1296
- "color",
1297
- "fontSize",
1298
- "checked",
1299
- "isCursorPointer"
1300
- ])) : d("", !0)]),
1301
- _: 1
1302
- }, 8, [
1303
- "legendSet",
1304
- "config",
1305
- "isCursorPointer"
1306
- ])) : d("", !0)], !0)], 512)], 8, ["to"])) : d("", !0),
1307
- e.$slots.source ? (y(), f("div", {
1308
- key: 7,
1309
- ref_key: "source",
1310
- ref: It,
1311
- dir: "auto"
1312
- }, [S(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0),
1313
- ze(w(xt), {
1314
- teleportTo: M.value.style.chart.tooltip.teleportTo,
1315
- show: V.value.showTooltip && wn.value,
1316
- backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1317
- color: M.value.style.chart.tooltip.color,
1318
- fontSize: M.value.style.chart.tooltip.fontSize,
1319
- borderRadius: M.value.style.chart.tooltip.borderRadius,
1320
- borderColor: M.value.style.chart.tooltip.borderColor,
1321
- borderWidth: M.value.style.chart.tooltip.borderWidth,
1322
- backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
1323
- position: M.value.style.chart.tooltip.position,
1324
- offsetX: M.value.style.chart.tooltip.offsetX,
1325
- offsetY: M.value.style.chart.tooltip.offsetY,
1326
- parent: D.value,
1327
- content: Tn.value,
1328
- isFullscreen: j.value,
1329
- isCustom: w(de)(M.value.style.chart.tooltip.customFormat),
1330
- smooth: M.value.style.chart.tooltip.smooth,
1331
- backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1332
- smoothForce: M.value.style.chart.tooltip.smoothForce,
1333
- smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1334
- isA11yMode: qt.value === "keyboard",
1335
- a11yPosition: Kt.value
1336
- }, {
1337
- "tooltip-before": T(() => [S(e.$slots, "tooltip-before", _(h({ ...Cn.value })), void 0, !0)]),
1338
- tooltip: T(() => [S(e.$slots, "tooltip", _(h({ ...Cn.value })), void 0, !0)]),
1339
- "tooltip-after": T(() => [S(e.$slots, "tooltip-after", _(h({ ...Cn.value })), void 0, !0)]),
1340
- _: 3
1341
- }, 8, [
1342
- "teleportTo",
1343
- "show",
1344
- "backgroundColor",
1345
- "color",
1346
- "fontSize",
1347
- "borderRadius",
1348
- "borderColor",
1349
- "borderWidth",
1350
- "backgroundOpacity",
1351
- "position",
1352
- "offsetX",
1353
- "offsetY",
1354
- "parent",
1355
- "content",
1356
- "isFullscreen",
1357
- "isCustom",
1358
- "smooth",
1359
- "backdropFilter",
1360
- "smoothForce",
1361
- "smoothSnapThreshold",
1362
- "isA11yMode",
1363
- "a11yPosition"
1364
- ]),
1365
- Mt.value && M.value.userOptions.buttons.table ? (y(), u(We(zn.value.component), Be({ key: 8 }, zn.value.props, {
1366
- ref_key: "tableUnit",
1367
- ref: O,
1368
- onClose: Bn
1369
- }), Le({
1370
- content: T(() => [(y(), u(w(wt), {
1371
- key: `table_${Bt.value}`,
1372
- colNames: $.value.colNames,
1373
- head: $.value.head,
1374
- body: $.value.body,
1375
- config: $.value.config,
1376
- title: M.value.table.useDialog ? "" : zn.value.title,
1377
- withCloseButton: !M.value.table.useDialog,
1378
- isCursorPointer: N.value,
1379
- onClose: Bn
1380
- }, {
1381
- th: T(({ th: e }) => [p("div", { innerHTML: e }, null, 8, bt)]),
1382
- td: T(({ td: e }) => [Re(C(e), 1)]),
1383
- _: 1
1384
- }, 8, [
1385
- "colNames",
1386
- "head",
1387
- "body",
1388
- "config",
1389
- "title",
1390
- "withCloseButton",
1391
- "isCursorPointer"
1392
- ]))]),
1393
- _: 2
1394
- }, [M.value.table.useDialog ? {
1395
- name: "title",
1396
- fn: T(() => [Re(C(zn.value.title), 1)]),
1397
- key: "0"
1398
- } : void 0, M.value.table.useDialog ? {
1399
- name: "actions",
1400
- fn: T(() => [p("button", {
1401
- tabindex: "0",
1402
- class: "vue-ui-user-options-button",
1403
- onClick: n[1] ||= (e) => kn(M.value.userOptions.callbacks.csv),
1404
- style: v({ cursor: N.value ? "pointer" : "default" })
1405
- }, [ze(w(St), {
1406
- name: "fileCsv",
1407
- stroke: zn.value.props.color
1408
- }, null, 8, ["stroke"])], 4)]),
1409
- key: "1"
1410
- } : void 0]), 1040)) : d("", !0),
1411
- S(e.$slots, "skeleton", {}, () => [w(P) ? (y(), u(ye, { key: 0 })) : d("", !0)], !0)
1412
- ], 46, Xe));
1413
- }
1414
- }, [["__scopeId", "data-v-a7286565"]]);
1415
- //#endregion
1416
- export { Ye as n, xt as t };