vue-data-ui 3.20.3 → 3.20.4

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/dist/A11yDataTable-BCbtxMU6.js +45 -0
  2. package/dist/Arrow-D6j6ocXm.js +116 -0
  3. package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
  4. package/dist/BaseIcon-DfLoHNUj.js +502 -0
  5. package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
  6. package/dist/BaseScanner-Dr2a1Msy.js +27 -0
  7. package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
  8. package/dist/ColorPicker-Bjwxnvfh.js +255 -0
  9. package/dist/DataTable-B--IN22e.js +150 -0
  10. package/dist/Legend-Cz2uQ5gs.js +114 -0
  11. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
  12. package/dist/PackageVersion-BYcZLGDG.js +11 -0
  13. package/dist/PenAndPaper-DqrClVfb.js +461 -0
  14. package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
  15. package/dist/RecursiveLabels-D9rfID6q.js +56 -0
  16. package/dist/RecursiveLinks-BygcpDiT.js +78 -0
  17. package/dist/Shape-BPCJfphn.js +141 -0
  18. package/dist/Slicer-SHBj0VaV.js +1144 -0
  19. package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
  20. package/dist/SparkTooltip-CfE6yCad.js +93 -0
  21. package/dist/Title-NWp4qB4K.js +87 -0
  22. package/dist/Tooltip-BENq327o.js +312 -0
  23. package/dist/UserOptions-C1NgoGu6.js +1411 -0
  24. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  25. package/dist/canvas-lib-BOP_HS11.js +79 -0
  26. package/dist/components/arrow.js +2 -0
  27. package/dist/components/vue-ui-3d-bar.js +2 -0
  28. package/dist/components/vue-ui-accordion.js +2 -0
  29. package/dist/components/vue-ui-age-pyramid.js +2 -0
  30. package/dist/components/vue-ui-annotator.js +2 -0
  31. package/dist/components/vue-ui-bullet.js +2 -0
  32. package/dist/components/vue-ui-bump.js +2 -0
  33. package/dist/components/vue-ui-candlestick.js +2 -0
  34. package/dist/components/vue-ui-carousel-table.js +2 -0
  35. package/dist/components/vue-ui-chestnut.js +2 -0
  36. package/dist/components/vue-ui-chord.js +2 -0
  37. package/dist/components/vue-ui-circle-pack.js +2 -0
  38. package/dist/components/vue-ui-cursor.js +2 -0
  39. package/dist/components/vue-ui-dag.js +2 -0
  40. package/dist/components/vue-ui-dashboard.js +2 -0
  41. package/dist/components/vue-ui-digits.js +2 -0
  42. package/dist/components/vue-ui-donut-evolution.js +2 -0
  43. package/dist/components/vue-ui-donut.js +2 -0
  44. package/dist/components/vue-ui-dumbbell.js +2 -0
  45. package/dist/components/vue-ui-flow.js +2 -0
  46. package/dist/components/vue-ui-funnel.js +2 -0
  47. package/dist/components/vue-ui-galaxy.js +2 -0
  48. package/dist/components/vue-ui-gauge.js +2 -0
  49. package/dist/components/vue-ui-geo.js +2 -0
  50. package/dist/components/vue-ui-gizmo.js +2 -0
  51. package/dist/components/vue-ui-heatmap.js +2 -0
  52. package/dist/components/vue-ui-history-plot.js +2 -0
  53. package/dist/components/vue-ui-horizontal-bar.js +2 -0
  54. package/dist/components/vue-ui-icon.js +2 -0
  55. package/dist/components/vue-ui-kpi.js +2 -0
  56. package/dist/components/vue-ui-mini-loader.js +2 -0
  57. package/dist/components/vue-ui-molecule.js +2 -0
  58. package/dist/components/vue-ui-mood-radar.js +2 -0
  59. package/dist/components/vue-ui-nested-donuts.js +2 -0
  60. package/dist/components/vue-ui-onion.js +2 -0
  61. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
  62. package/dist/components/vue-ui-pattern-seed.js +2 -0
  63. package/dist/components/vue-ui-pattern.js +2 -0
  64. package/dist/components/vue-ui-quadrant.js +2 -0
  65. package/dist/components/vue-ui-quick-chart.js +2 -0
  66. package/dist/components/vue-ui-radar.js +2 -0
  67. package/dist/components/vue-ui-rating.js +2 -0
  68. package/dist/components/vue-ui-relation-circle.js +2 -0
  69. package/dist/components/vue-ui-ridgeline.js +2 -0
  70. package/dist/components/vue-ui-rings.js +2 -0
  71. package/dist/components/vue-ui-scatter.js +2 -0
  72. package/dist/components/vue-ui-skeleton.js +2 -0
  73. package/dist/components/vue-ui-smiley.js +2 -0
  74. package/dist/components/vue-ui-spark-trend.js +2 -0
  75. package/dist/components/vue-ui-sparkbar.js +2 -0
  76. package/dist/components/vue-ui-sparkgauge.js +2 -0
  77. package/dist/components/vue-ui-sparkhistogram.js +2 -0
  78. package/dist/components/vue-ui-sparkline.js +2 -0
  79. package/dist/components/vue-ui-sparkstackbar.js +2 -0
  80. package/dist/components/vue-ui-stackbar.js +2 -0
  81. package/dist/components/vue-ui-stackline.js +2 -0
  82. package/dist/components/vue-ui-strip-plot.js +2 -0
  83. package/dist/components/vue-ui-table-heatmap.js +2 -0
  84. package/dist/components/vue-ui-table-sparkline.js +2 -0
  85. package/dist/components/vue-ui-table.js +2 -0
  86. package/dist/components/vue-ui-thermometer.js +2 -0
  87. package/dist/components/vue-ui-timer.js +2 -0
  88. package/dist/components/vue-ui-tiremarks.js +2 -0
  89. package/dist/components/vue-ui-treemap.js +2 -0
  90. package/dist/components/vue-ui-vertical-bar.js +2 -0
  91. package/dist/components/vue-ui-waffle.js +2 -0
  92. package/dist/components/vue-ui-wheel.js +2 -0
  93. package/dist/components/vue-ui-word-cloud.js +2 -0
  94. package/dist/components/vue-ui-world.js +2 -0
  95. package/dist/components/vue-ui-xy-canvas.js +2 -0
  96. package/dist/components/vue-ui-xy.js +2 -0
  97. package/dist/dom-to-png-BYtB4BF3.js +237 -0
  98. package/dist/exposedLib-CI8ji8G-.js +19 -0
  99. package/dist/geoProjections-Czak6Jn1.js +145 -0
  100. package/dist/img-1cKsci8e.js +74 -0
  101. package/dist/labelUtils-CUctkYoA.js +19 -0
  102. package/dist/lib-DUeYQsS0.js +1882 -0
  103. package/dist/llms.txt +232 -0
  104. package/dist/patternUtils-CS7hn6at.js +258 -0
  105. package/dist/pdf-D0eZ99cP.js +90 -0
  106. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  107. package/dist/style.css +2 -0
  108. package/dist/types/arrow.d.ts +4 -0
  109. package/dist/types/utils.d.ts +551 -0
  110. package/dist/types/vue-data-ui.d.ts +17190 -0
  111. package/dist/types/vue-ui-3d-bar.d.ts +93 -0
  112. package/dist/types/vue-ui-accordion.d.ts +11 -0
  113. package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
  114. package/dist/types/vue-ui-annotator.d.ts +34 -0
  115. package/dist/types/vue-ui-bullet.d.ts +85 -0
  116. package/dist/types/vue-ui-bump.d.ts +92 -0
  117. package/dist/types/vue-ui-candlestick.d.ts +106 -0
  118. package/dist/types/vue-ui-carousel-table.d.ts +59 -0
  119. package/dist/types/vue-ui-chestnut.d.ts +98 -0
  120. package/dist/types/vue-ui-chord.d.ts +110 -0
  121. package/dist/types/vue-ui-circle-pack.d.ts +126 -0
  122. package/dist/types/vue-ui-cursor.d.ts +9 -0
  123. package/dist/types/vue-ui-dag.d.ts +125 -0
  124. package/dist/types/vue-ui-dashboard.d.ts +68 -0
  125. package/dist/types/vue-ui-digits.d.ts +12 -0
  126. package/dist/types/vue-ui-donut-evolution.d.ts +98 -0
  127. package/dist/types/vue-ui-donut.d.ts +123 -0
  128. package/dist/types/vue-ui-dumbbell.d.ts +94 -0
  129. package/dist/types/vue-ui-flow.d.ts +106 -0
  130. package/dist/types/vue-ui-funnel.d.ts +79 -0
  131. package/dist/types/vue-ui-galaxy.d.ts +114 -0
  132. package/dist/types/vue-ui-gauge.d.ts +89 -0
  133. package/dist/types/vue-ui-geo.d.ts +94 -0
  134. package/dist/types/vue-ui-gizmo.d.ts +22 -0
  135. package/dist/types/vue-ui-heatmap.d.ts +101 -0
  136. package/dist/types/vue-ui-history-plot.d.ts +114 -0
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
  138. package/dist/types/vue-ui-icon.d.ts +15 -0
  139. package/dist/types/vue-ui-kpi.d.ts +25 -0
  140. package/dist/types/vue-ui-mini-loader.d.ts +15 -0
  141. package/dist/types/vue-ui-molecule.d.ts +112 -0
  142. package/dist/types/vue-ui-mood-radar.d.ts +92 -0
  143. package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
  144. package/dist/types/vue-ui-onion.d.ts +106 -0
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
  146. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  147. package/dist/types/vue-ui-pattern.d.ts +15 -0
  148. package/dist/types/vue-ui-quadrant.d.ts +125 -0
  149. package/dist/types/vue-ui-quick-chart.d.ts +108 -0
  150. package/dist/types/vue-ui-radar.d.ts +116 -0
  151. package/dist/types/vue-ui-rating.d.ts +42 -0
  152. package/dist/types/vue-ui-relation-circle.d.ts +92 -0
  153. package/dist/types/vue-ui-ridgeline.d.ts +106 -0
  154. package/dist/types/vue-ui-rings.d.ts +98 -0
  155. package/dist/types/vue-ui-scatter.d.ts +97 -0
  156. package/dist/types/vue-ui-skeleton.d.ts +11 -0
  157. package/dist/types/vue-ui-smiley.d.ts +28 -0
  158. package/dist/types/vue-ui-spark-trend.d.ts +19 -0
  159. package/dist/types/vue-ui-sparkbar.d.ts +49 -0
  160. package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
  162. package/dist/types/vue-ui-sparkline.d.ts +59 -0
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
  164. package/dist/types/vue-ui-stackbar.d.ts +118 -0
  165. package/dist/types/vue-ui-stackline.d.ts +114 -0
  166. package/dist/types/vue-ui-strip-plot.d.ts +96 -0
  167. package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
  168. package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
  169. package/dist/types/vue-ui-table.d.ts +38 -0
  170. package/dist/types/vue-ui-thermometer.d.ts +70 -0
  171. package/dist/types/vue-ui-timer.d.ts +49 -0
  172. package/dist/types/vue-ui-tiremarks.d.ts +70 -0
  173. package/dist/types/vue-ui-treemap.d.ts +104 -0
  174. package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
  175. package/dist/types/vue-ui-waffle.d.ts +101 -0
  176. package/dist/types/vue-ui-wheel.d.ts +70 -0
  177. package/dist/types/vue-ui-word-cloud.d.ts +97 -0
  178. package/dist/types/vue-ui-world.d.ts +98 -0
  179. package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
  180. package/dist/types/vue-ui-xy.d.ts +146 -0
  181. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
  182. package/dist/useChartAccessibility-DYqac8yF.js +12 -0
  183. package/dist/useConfig-DAyQk86L.js +7479 -0
  184. package/dist/useFitSvgText-CT3nmlaS.js +63 -0
  185. package/dist/useNestedProp-CNcoy38D.js +10 -0
  186. package/dist/useObjectBindings-BI7hP-BC.js +189 -0
  187. package/dist/usePanZoom-CYU3B4T3.js +157 -0
  188. package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
  189. package/dist/usePrinter-C1Gqt_Sp.js +49 -0
  190. package/dist/useResponsive-BfnK0KxU.js +19 -0
  191. package/dist/useStableElementSize-C7KADDKj.js +77 -0
  192. package/dist/useSvgExport-SVIsDot8.js +755 -0
  193. package/dist/useTableResponsive-B24Uwt2E.js +24 -0
  194. package/dist/useThemeCheck-C43Tcqmk.js +24 -0
  195. package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
  196. package/dist/useTimeLabels-BmBRv27Y.js +272 -0
  197. package/dist/useUserOptionState-DK-_1ddE.js +15 -0
  198. package/dist/utils.js +28 -0
  199. package/dist/vClickOutside-DUrZWttG.js +13 -0
  200. package/dist/vue-data-ui-DuLO91Bk.js +274 -0
  201. package/dist/vue-data-ui.js +76 -0
  202. package/dist/vue-ui-3d-bar-DMDfraIo.js +1757 -0
  203. package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
  204. package/dist/vue-ui-age-pyramid-CN68d9su.js +1238 -0
  205. package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
  206. package/dist/vue-ui-bullet-V21vyb4T.js +710 -0
  207. package/dist/vue-ui-bump-BvnBJcx0.js +1249 -0
  208. package/dist/vue-ui-candlestick-DaIeT5kU.js +1826 -0
  209. package/dist/vue-ui-carousel-table-BBTm1Etq.js +455 -0
  210. package/dist/vue-ui-chestnut-BLtE39N7.js +2010 -0
  211. package/dist/vue-ui-chord-D1UVle9f.js +1391 -0
  212. package/dist/vue-ui-circle-pack-BDDVjuT1.js +1608 -0
  213. package/dist/vue-ui-cursor-CiU4ttGN.js +283 -0
  214. package/dist/vue-ui-dag-D2U673ns.js +2909 -0
  215. package/dist/vue-ui-dashboard-JK7v_bwo.js +513 -0
  216. package/dist/vue-ui-digits-D5b3eJ5q.js +209 -0
  217. package/dist/vue-ui-donut-BYf4FbjI.js +2410 -0
  218. package/dist/vue-ui-donut-evolution-Id7YwbiG.js +1510 -0
  219. package/dist/vue-ui-dumbbell-CToh2l5g.js +1530 -0
  220. package/dist/vue-ui-flow-CmBI0IKa.js +1235 -0
  221. package/dist/vue-ui-funnel-B67L6mTB.js +777 -0
  222. package/dist/vue-ui-galaxy-CFZP36s4.js +1077 -0
  223. package/dist/vue-ui-gauge-sZxKMn7t.js +920 -0
  224. package/dist/vue-ui-geo-DK8fAoZd.js +1516 -0
  225. package/dist/vue-ui-gizmo-DsJtcBEf.js +225 -0
  226. package/dist/vue-ui-heatmap-B87-9zpu.js +1568 -0
  227. package/dist/vue-ui-history-plot-Dhv-zMSR.js +1554 -0
  228. package/dist/vue-ui-horizontal-bar-BAT7IYhL.js +1681 -0
  229. package/dist/vue-ui-kpi-BggezxVU.js +96 -0
  230. package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
  231. package/dist/vue-ui-molecule-uXC5g9qp.js +925 -0
  232. package/dist/vue-ui-mood-radar-BYoxNRMc.js +1148 -0
  233. package/dist/vue-ui-nested-donuts-BVniVpDM.js +1487 -0
  234. package/dist/vue-ui-onion-CWzeZ5Ak.js +1200 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-Dbx6W4ZW.js +1416 -0
  236. package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
  237. package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
  238. package/dist/vue-ui-quadrant-BrPLv-sz.js +1978 -0
  239. package/dist/vue-ui-quick-chart-B0S_4DeW.js +2469 -0
  240. package/dist/vue-ui-radar-CUo6FWXZ.js +1229 -0
  241. package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
  242. package/dist/vue-ui-relation-circle-2a6IZgKe.js +924 -0
  243. package/dist/vue-ui-ridgeline-DnQBrx71.js +1622 -0
  244. package/dist/vue-ui-rings-BibWJNh2.js +1246 -0
  245. package/dist/vue-ui-scatter-8srfWwTp.js +2413 -0
  246. package/dist/vue-ui-skeleton-BoKB7qJM.js +2556 -0
  247. package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
  248. package/dist/vue-ui-spark-trend-Cq4pIgWr.js +438 -0
  249. package/dist/vue-ui-sparkbar-CgFKnZEF.js +393 -0
  250. package/dist/vue-ui-sparkgauge-ea-PGnBC.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-BfgnG41U.js +560 -0
  252. package/dist/vue-ui-sparkline-CDOa3xh8.js +1507 -0
  253. package/dist/vue-ui-sparkstackbar-DEsSr92Z.js +662 -0
  254. package/dist/vue-ui-stackbar-BeegxXk_.js +2270 -0
  255. package/dist/vue-ui-stackline-_G-cbZRe.js +2398 -0
  256. package/dist/vue-ui-strip-plot-VasAk496.js +1340 -0
  257. package/dist/vue-ui-table-DysBVxy5.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
  259. package/dist/vue-ui-table-sparkline-DQduGRPm.js +707 -0
  260. package/dist/vue-ui-thermometer-1l6KUpS8.js +763 -0
  261. package/dist/vue-ui-timer-Db2d4LNp.js +439 -0
  262. package/dist/vue-ui-tiremarks-YtFZjYFp.js +552 -0
  263. package/dist/vue-ui-treemap-DxwEGZ9p.js +1587 -0
  264. package/dist/vue-ui-waffle-C9bzj7pV.js +1362 -0
  265. package/dist/vue-ui-wheel-DKzocpS-.js +885 -0
  266. package/dist/vue-ui-word-cloud-DkNU1GFp.js +1656 -0
  267. package/dist/vue-ui-world-DhnfDaFE.js +14264 -0
  268. package/dist/vue-ui-xy-BzhW8pHi.js +4578 -0
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
  270. package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
  272. package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
  273. package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
  274. package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
  275. package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
  276. package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
  277. package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
  278. package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
  279. package/dist/vue_ui_donut-BDGqG07h.js +358 -0
  280. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
  281. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
  282. package/dist/vue_ui_flow-BewZjjKG.js +238 -0
  283. package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
  284. package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
  285. package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
  286. package/dist/vue_ui_geo-B8TODs-G.js +248 -0
  287. package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
  288. package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
  290. package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
  291. package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
  292. package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
  293. package/dist/vue_ui_onion-1FTFFS46.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
  295. package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
  296. package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
  297. package/dist/vue_ui_radar-jafTED5j.js +306 -0
  298. package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
  299. package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
  300. package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
  301. package/dist/vue_ui_scatter-I0POnicu.js +479 -0
  302. package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
  303. package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
  304. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
  306. package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
  308. package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
  309. package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
  310. package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
  311. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
  312. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
  313. package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
  314. package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
  315. package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
  317. package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
  318. package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
  319. package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
  320. package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
  321. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
  322. package/package.json +120 -120
@@ -0,0 +1,707 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ct as t, Et as n, G as r, H as i, J as a, Rt as ee, S as te, X as ne, f as re, i as o, ot as ie, x as ae, y as oe } from "./lib-DUeYQsS0.js";
3
+ import { t as se } from "./useConfig-DAyQk86L.js";
4
+ import { t as ce } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { t as s } from "./useNestedProp-CNcoy38D.js";
6
+ import { t as le } from "./useThemeCheck-C43Tcqmk.js";
7
+ import { t as c } from "./_plugin-vue_export-helper-B3ysoDQm.js";
8
+ import { t as ue } from "./useUserOptionState-DK-_1ddE.js";
9
+ import { t as de } from "./vClickOutside-DUrZWttG.js";
10
+ import { t as fe } from "./vue_ui_table_sparkline-DAbkUrNz.js";
11
+ import { Fragment as l, computed as u, createBlock as pe, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as me, createVNode as m, defineAsyncComponent as h, mergeProps as g, nextTick as he, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as ge, onMounted as y, openBlock as b, ref as x, renderList as S, renderSlot as C, shallowRef as _e, toDisplayString as w, unref as T, useCssVars as ve, useSlots as ye, watch as be, withCtx as E, withDirectives as xe } from "vue";
12
+ //#region src/components/vue-ui-table-sparkline.vue
13
+ var Se = /* @__PURE__ */ e({ default: () => D }), Ce = ["id"], we = { style: {
14
+ "z-index": "1",
15
+ "padding-right": "24px"
16
+ } }, Te = {
17
+ key: 0,
18
+ style: {
19
+ display: "flex",
20
+ flexDirection: "row",
21
+ alignItems: "center"
22
+ }
23
+ }, Ee = {
24
+ key: 0,
25
+ style: {
26
+ display: "flex",
27
+ flexDirection: "row",
28
+ alignItems: "center"
29
+ }
30
+ }, De = ["onClick"], Oe = ["onClick"], ke = ["data-cell"], Ae = ["data-cell", "onPointerenter"], je = ["data-cell"], Me = ["data-cell"], Ne = ["data-cell"], Pe = ["data-cell"], Fe = {
31
+ key: 1,
32
+ ref: "source",
33
+ dir: "auto"
34
+ }, D = /* @__PURE__ */ c({
35
+ __name: "vue-ui-table-sparkline",
36
+ props: {
37
+ config: {
38
+ type: Object,
39
+ default() {
40
+ return {};
41
+ }
42
+ },
43
+ dataset: {
44
+ type: Array,
45
+ default() {
46
+ return [];
47
+ }
48
+ }
49
+ },
50
+ emits: ["copyAlt"],
51
+ setup(e, { expose: c, emit: Se }) {
52
+ ve((e) => ({ v7ad8dbe3: e.tdo }));
53
+ let D = h(() => import("./vue-ui-sparkline-CDOa3xh8.js").then((e) => e.n)), O = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ie = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), { vue_ui_table_sparkline: Le } = se(), { isThemeValid: Re, warnInvalidTheme: ze } = le(), k = e, Be = Se, A = x(i()), Ve = x(0), j = x(0), M = x(null), He = ye(), Ue = x(!1);
54
+ y(() => {
55
+ He["chart-background"] && console.warn("VueUiTableSparkline does not support the #chart-background slot.");
56
+ });
57
+ let N = u({
58
+ get: () => Ke(),
59
+ set: (e) => e
60
+ }), P = u(() => N.value.userOptions.useCursorPointer), { userOptionsVisible: F, setUserOptionsVisibility: We, keepUserOptionState: Ge } = ue({ config: N.value });
61
+ function Ke() {
62
+ let e = s({
63
+ userConfig: k.config,
64
+ defaultConfig: Le
65
+ }), t = e.theme;
66
+ if (!t) return e;
67
+ if (!Re.value(e)) return ze(e), e;
68
+ let r = s({
69
+ userConfig: fe[t] || k.config,
70
+ defaultConfig: e
71
+ }), i = s({
72
+ userConfig: k.config,
73
+ defaultConfig: r
74
+ });
75
+ return {
76
+ ...i,
77
+ customPalette: i.customPalette.length ? i.customPalette : ee[t] || n
78
+ };
79
+ }
80
+ be(() => k.config, (e) => {
81
+ N.value = Ke(), F.value = !N.value.userOptions.showOnChartHover, $e(), j.value += 1;
82
+ }, { deep: !0 }), be(() => k.dataset, (e) => {
83
+ H.value = V.value, j.value += 1;
84
+ }, { deep: !0 });
85
+ let { isPrinting: qe, isImaging: Je, generatePdf: Ye, generateImage: Xe } = ce({
86
+ elementId: `table_${A.value}`,
87
+ fileName: N.value.title.text || "vue-ui-table-sparkline",
88
+ options: N.value.userOptions.print
89
+ }), Ze = u(() => ae(N.value.customPalette)), I = x(null), L = x(!1), Qe = u(() => N.value.responsiveBreakpoint);
90
+ y(() => {
91
+ $e();
92
+ });
93
+ let R = x(N.value.colNames), z = _e(null);
94
+ function $e() {
95
+ t(k.dataset) && ne({
96
+ componentName: "VueUiTableSparkline",
97
+ type: "dataset"
98
+ }), z.value && z.value.disconnect(), z.value = new ResizeObserver((e) => {
99
+ e.forEach((e) => {
100
+ L.value = e.contentRect.width < Qe.value;
101
+ });
102
+ }), I.value && z.value.observe(I.value), R.value = [];
103
+ for (let e = 0; e < rt.value; e += 1) R.value.push(N.value.colNames[e] || `col ${e}`);
104
+ }
105
+ ge(() => {
106
+ z.value && z.value.disconnect();
107
+ });
108
+ let B = u(() => (k.dataset.forEach((e, t) => {
109
+ ie({
110
+ datasetObject: e,
111
+ requiredAttributes: ["name", "values"]
112
+ }).forEach((e) => {
113
+ ne({
114
+ componentName: "VueUiTableSparkline",
115
+ type: "datasetSerieAttribute",
116
+ property: e,
117
+ index: t
118
+ });
119
+ });
120
+ }), k.dataset.map((e, t) => {
121
+ let r = (e.values || []).map((e) => isNaN(e) ? 0 : e ?? 0), i = r.reduce((e, t) => e + t, 0), a = i / r.length, ee = re(r);
122
+ return {
123
+ ...e,
124
+ values: e.values || [],
125
+ color: oe(e.color) || Ze.value[t] || n[t] || n[t % n.length],
126
+ sum: i,
127
+ average: a,
128
+ median: ee,
129
+ sparklineDataset: r.map((e, t) => ({
130
+ period: N.value.colNames[t] || `col ${t}`,
131
+ value: e || 0
132
+ }))
133
+ };
134
+ })));
135
+ function et(e) {
136
+ let t = (e[0]?.values || []).map((t, n) => e.map((e) => e?.values[n] || [])).map((e) => e.map((e, t) => [e, t]).sort((e, t) => t[0] - e[0]).map((e) => e[1]));
137
+ return e.map((e, n) => ({
138
+ ...e,
139
+ values: e.values || [],
140
+ orders: t[n]
141
+ }));
142
+ }
143
+ let V = u(() => et(B.value)), H = x(V.value), tt = u(() => Math.max(...H.value.map((e) => (e.values || []).length))), U = x(void 0), W = x(!1), G = x(void 0), nt = x(1);
144
+ function K() {
145
+ W.value = !1, G.value = void 0, X.value = void 0, nt.value = 1, $.value.forEach((e) => e.state = 1), Y.value = {
146
+ name: 1,
147
+ sum: 1,
148
+ average: 1,
149
+ median: 1
150
+ }, H.value = V.value;
151
+ }
152
+ function q(e, t, n) {
153
+ if ([
154
+ "name",
155
+ "sum",
156
+ "average",
157
+ "median"
158
+ ].includes(e.type)) {
159
+ it(e.type, t, n);
160
+ return;
161
+ }
162
+ if (!lt(t)) return;
163
+ if (Z.value = t, X.value = void 0, ![null, void 0].includes(G.value) && t !== G.value && (G.value = void 0, K()), $.value[t].state === n && G.value === t) {
164
+ G.value = void 0, K();
165
+ return;
166
+ }
167
+ W.value = !0, G.value = t;
168
+ let r = V.value.map((e) => e.values[t] || []), i = n;
169
+ $.value[t].state = i, nt.value = i, t === U.value ? U.value = void 0 : U.value = t, H.value = r.map((e, t) => [t, e]).sort((e, t) => i * (t[1] - e[1])).map((e) => e[0]).map((e) => V.value[e]), j.value += 1;
170
+ }
171
+ let rt = u(() => Math.max(...k.dataset.map((e) => (e.values || []).length))), J = u(() => {
172
+ let e = R.value.map((e) => ({
173
+ type: "reg",
174
+ value: e
175
+ }));
176
+ if (!e.length) for (let t = 0; t < rt.value; t += 1) e.push({
177
+ type: "reg",
178
+ value: `col ${t + 1}`
179
+ });
180
+ N.value.showTotal && (e = [...e, {
181
+ type: "sum",
182
+ value: N.value.translations.total
183
+ }]);
184
+ let t;
185
+ return t = N.value.showAverage && N.value.showMedian ? [
186
+ ...e,
187
+ {
188
+ type: "average",
189
+ value: N.value.translations.average
190
+ },
191
+ {
192
+ type: "median",
193
+ value: N.value.translations.median
194
+ }
195
+ ] : N.value.showAverage && !N.value.showMedian ? [...e, {
196
+ type: "average",
197
+ value: N.value.translations.average
198
+ }] : !N.value.showAverage && N.value.showMedian ? [...e, {
199
+ type: "median",
200
+ value: N.value.translations.median
201
+ }] : e, N.value.showSparklines ? [...t, {
202
+ type: "chart",
203
+ value: N.value.translations.chart
204
+ }] : t;
205
+ }), Y = x({
206
+ name: 1,
207
+ sum: 1,
208
+ average: 1,
209
+ median: 1
210
+ }), X = x(void 0);
211
+ function it(e, t, n) {
212
+ if (!H.value || H.value.length === 0 || !ut(e)) return;
213
+ if (X.value !== e && (X.value = void 0), ![null, void 0].includes(G.value) && t !== G.value && K(), G.value = void 0, Y.value[e] === n && X.value) {
214
+ X.value = void 0, K();
215
+ return;
216
+ }
217
+ X.value = e, W.value = !0, Y.value[e] = n, [null, void 0].includes(t) || ($.value[t].state = Y.value[e]);
218
+ let r = Y.value[e];
219
+ H.value = [...H.value].sort((t, n) => {
220
+ let i = t[e] ?? (typeof t[e] == "number" ? 0 : ""), a = n[e] ?? (typeof n[e] == "number" ? 0 : "");
221
+ return typeof i == "string" && typeof a == "string" ? r === -1 ? i.localeCompare(a) : a.localeCompare(i) : typeof i == "number" && typeof a == "number" ? r === -1 ? i - a : a - i : 0;
222
+ });
223
+ }
224
+ let Z = x(void 0), Q = x(void 0);
225
+ function at({ dataIndex: e, serieIndex: t }) {
226
+ Z.value = e, Q.value = t, M.value[e] && !L.value && M.value[e].scrollIntoView({
227
+ behavior: "smooth",
228
+ block: "nearest",
229
+ inline: "center"
230
+ });
231
+ }
232
+ let ot = x(!1);
233
+ function st(e) {
234
+ ot.value = e, Ve.value += 1;
235
+ }
236
+ function ct(e = null) {
237
+ he(() => {
238
+ let t = [N.value.translations.serie].concat(J.value), n = B.value.map((e, t) => [
239
+ [e.name],
240
+ e.values,
241
+ [e.sum],
242
+ [e.average],
243
+ [e.median]
244
+ ]), r = te([t].concat(n));
245
+ e ? e(r) : a({
246
+ csvContent: r,
247
+ title: N.value.title.text || "vue-ui-table-sparkline"
248
+ });
249
+ });
250
+ }
251
+ function lt(e) {
252
+ return N.value.sortedDataColumnIndices.includes(e);
253
+ }
254
+ function ut(e) {
255
+ return e.type === "name" || e === "name" ? N.value.sortedSeriesName : e.type === "sum" || e === "sum" ? N.value.sortedSum : e.type === "average" || e === "average" ? N.value.sortedAverage : e.type === "median" || e === "median" ? N.value.sortedMedian : !1;
256
+ }
257
+ function dt(e, t, n) {
258
+ return [
259
+ "sum",
260
+ "average",
261
+ "median"
262
+ ].includes(t.type) ? X.value === t.type && Y.value[t.type] === n ? 1 : .3 : e === G.value && $.value[e].state === n ? 1 : .3;
263
+ }
264
+ function ft() {
265
+ N.value.resetSortOnClickOutside && K();
266
+ }
267
+ let $ = u({
268
+ get: () => J.value.map((e) => ({ state: 1 })),
269
+ set: (e) => e
270
+ });
271
+ function pt(e) {
272
+ if (e?.stage === "start") {
273
+ Ue.value = !0;
274
+ return;
275
+ }
276
+ if (e?.stage === "end") {
277
+ Ue.value = !1;
278
+ return;
279
+ }
280
+ Xe();
281
+ }
282
+ async function mt() {
283
+ if (Be("copyAlt", {
284
+ config: N.value,
285
+ dataset: B.value
286
+ }), !N.value.userOptions.callbacks.altCopy) {
287
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
288
+ return;
289
+ }
290
+ await Promise.resolve(N.value.userOptions.callbacks.altCopy({
291
+ config: N.value,
292
+ dataset: B.value
293
+ }));
294
+ }
295
+ return c({
296
+ generatePdf: Ye,
297
+ generateImage: Xe,
298
+ generateCsv: ct,
299
+ restoreOrder: K,
300
+ copyAlt: mt
301
+ }), (e, t) => (b(), f("div", {
302
+ ref_key: "tableContainer",
303
+ ref: I,
304
+ class: _({
305
+ "vue-data-ui-component": !0,
306
+ "vue-ui-table-sparkline": !0,
307
+ "vue-ui-responsive": L.value
308
+ }),
309
+ style: { overflow: "hidden" },
310
+ id: `table_${A.value}`,
311
+ onMouseenter: t[3] ||= () => T(We)(!0),
312
+ onMouseleave: t[4] ||= () => T(We)(!1)
313
+ }, [
314
+ N.value.title.text ? (b(), f("div", {
315
+ key: 0,
316
+ class: "vue-ui-table-sparkline-caption",
317
+ style: v({ backgroundColor: N.value.title.backgroundColor })
318
+ }, [p("div", {
319
+ class: "atom-title",
320
+ style: v({
321
+ fontSize: `${N.value.title.fontSize}px`,
322
+ fontWeight: N.value.title.bold ? "bold" : "normal",
323
+ color: N.value.title.color,
324
+ textAlign: N.value.title.textAlign
325
+ })
326
+ }, w(N.value.title.text), 5), N.value.title.subtitle.text ? (b(), f("div", {
327
+ key: 0,
328
+ class: "atom-subtitle",
329
+ style: v({
330
+ fontSize: `${N.value.title.subtitle.fontSize}px`,
331
+ fontWeight: N.value.title.subtitle.bold ? "bold" : "normal",
332
+ color: N.value.title.subtitle.color,
333
+ textAlign: N.value.title.textAlign
334
+ })
335
+ }, w(N.value.title.subtitle.text), 5)) : d("", !0)], 4)) : d("", !0),
336
+ p("div", {
337
+ style: { overflow: "auto" },
338
+ onPointerleave: t[2] ||= (e) => {
339
+ Q.value = void 0, Z.value = void 0;
340
+ }
341
+ }, [p("table", {
342
+ class: "vue-ui-data-table",
343
+ style: v({
344
+ fontFamily: N.value.fontFamily,
345
+ position: "relative"
346
+ })
347
+ }, [p("thead", we, [xe((b(), f("tr", {
348
+ role: "row",
349
+ class: "vue-ui-data-table__thead-row",
350
+ style: v({
351
+ backgroundColor: N.value.thead.backgroundColor,
352
+ color: N.value.thead.color
353
+ })
354
+ }, [p("th", {
355
+ role: "cell",
356
+ style: v({
357
+ backgroundColor: N.value.thead.backgroundColor,
358
+ border: N.value.thead.outline,
359
+ textAlign: N.value.thead.textAlign,
360
+ fontWeight: N.value.thead.bold ? "bold" : "normal"
361
+ }),
362
+ class: "sticky-col-first"
363
+ }, [p("div", { style: v({
364
+ display: "flex",
365
+ flexDirection: "row",
366
+ alignItems: "center",
367
+ gap: "3px",
368
+ justifyContent: N.value.thead.textAlign
369
+ }) }, [p("span", null, w(N.value.translations.serie), 1), H.value.length > 1 && N.value.sortedSeriesName ? (b(), f("div", Te, [p("button", {
370
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
371
+ onClick: t[0] ||= (e) => q({ type: "name" }, null, -1),
372
+ style: v({ cursor: P.value ? "pointer" : "default" })
373
+ }, [m(T(O), {
374
+ size: 12,
375
+ name: "arrowBottom",
376
+ stroke: N.value.thead.color,
377
+ style: v({ opacity: X.value === "name" && Y.value.name === -1 ? 1 : .3 })
378
+ }, null, 8, ["stroke", "style"])], 4), p("button", {
379
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
380
+ onClick: t[1] ||= (e) => q({ type: "name" }, null, 1),
381
+ style: v({ cursor: P.value ? "pointer" : "default" })
382
+ }, [m(T(O), {
383
+ size: 12,
384
+ name: "arrowTop",
385
+ stroke: N.value.thead.color,
386
+ style: v({ opacity: X.value === "name" && Y.value.name === 1 ? 1 : .3 })
387
+ }, null, 8, ["stroke", "style"])], 4)])) : d("", !0)], 4)], 4), (b(!0), f(l, null, S(J.value, (t, n) => (b(), f("th", {
388
+ role: "cell",
389
+ style: v({
390
+ background: N.value.thead.backgroundColor,
391
+ border: N.value.thead.outline,
392
+ textAlign: N.value.thead.textAlign,
393
+ fontWeight: N.value.thead.bold ? "bold" : "normal",
394
+ minWidth: n === J.value.length - 1 ? `${N.value.sparkline.dimensions.width}px` : "48px",
395
+ paddingRight: n === J.value.length - 1 && N.value.userOptions.show ? "36px" : ""
396
+ }),
397
+ class: _({ "sticky-col": n === J.value.length - 1 && N.value.showSparklines })
398
+ }, [p("div", { style: v({
399
+ display: "flex",
400
+ flexDirection: "row",
401
+ alignItems: "center",
402
+ gap: "3px",
403
+ justifyContent: N.value.thead.textAlign
404
+ }) }, [p("span", null, w(t.value), 1), H.value.length > 1 && (lt(n) || ut(t)) ? (b(), f("div", Ee, [p("button", {
405
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-down",
406
+ onClick: () => q(t, n, -1),
407
+ style: v({ cursor: P.value ? "pointer" : "default" })
408
+ }, [m(T(O), {
409
+ size: 12,
410
+ name: "arrowBottom",
411
+ stroke: N.value.thead.color,
412
+ style: v({ opacity: dt(n, t, -1) })
413
+ }, null, 8, ["stroke", "style"])], 12, De), p("button", {
414
+ class: "vue-ui-table-sparkline-sorting-button vue-ui-table-sparkline-sorting-button-up",
415
+ onClick: () => q(t, n, 1),
416
+ style: v({ cursor: P.value ? "pointer" : "default" })
417
+ }, [m(T(O), {
418
+ size: 12,
419
+ name: "arrowTop",
420
+ stroke: N.value.thead.color,
421
+ style: v({ opacity: dt(n, t, 1) })
422
+ }, null, 8, ["stroke", "style"])], 12, Oe)])) : d("", !0)], 4), N.value.userOptions.show && n === J.value.length - 1 && (T(Ge) || T(F)) ? (b(), pe(T(Ie), {
423
+ ref_for: !0,
424
+ ref: "details",
425
+ key: `user_option_${Ve.value}`,
426
+ backgroundColor: N.value.thead.backgroundColor,
427
+ color: N.value.thead.color,
428
+ isPrinting: T(qe),
429
+ isImaging: T(Je),
430
+ uid: A.value,
431
+ hasPdf: N.value.userOptions.buttons.pdf,
432
+ hasXls: N.value.userOptions.buttons.csv,
433
+ hasImg: N.value.userOptions.buttons.img,
434
+ hasFullscreen: N.value.userOptions.buttons.fullscreen,
435
+ hasAltCopy: N.value.userOptions.buttons.altCopy,
436
+ isFullscreen: ot.value,
437
+ titles: { ...N.value.userOptions.buttonTitles },
438
+ chartElement: I.value,
439
+ position: N.value.userOptions.position,
440
+ callbacks: N.value.userOptions.callbacks,
441
+ printScale: N.value.userOptions.print.scale,
442
+ isCursorPointer: P.value,
443
+ onToggleFullscreen: st,
444
+ onGeneratePdf: T(Ye),
445
+ onGenerateImage: pt,
446
+ onGenerateCsv: ct,
447
+ onCopyAlt: mt,
448
+ style: v({ visibility: T(Ge) ? T(F) ? "visible" : "hidden" : "visible" })
449
+ }, me({ _: 2 }, [
450
+ e.$slots.menuIcon ? {
451
+ name: "menuIcon",
452
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", g({ ref_for: !0 }, {
453
+ isOpen: t,
454
+ color: n
455
+ }), void 0, !0)]),
456
+ key: "0"
457
+ } : void 0,
458
+ e.$slots.optionPdf ? {
459
+ name: "optionPdf",
460
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
461
+ key: "1"
462
+ } : void 0,
463
+ e.$slots.optionCsv ? {
464
+ name: "optionCsv",
465
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
466
+ key: "2"
467
+ } : void 0,
468
+ e.$slots.optionImg ? {
469
+ name: "optionImg",
470
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
471
+ key: "3"
472
+ } : void 0,
473
+ e.$slots.optionFullscreen ? {
474
+ name: "optionFullscreen",
475
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", g({ ref_for: !0 }, {
476
+ toggleFullscreen: t,
477
+ isFullscreen: n
478
+ }), void 0, !0)]),
479
+ key: "4"
480
+ } : void 0,
481
+ e.$slots.optionAltCopy ? {
482
+ name: "optionAltCopy",
483
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", g({ ref_for: !0 }, { altCopy: t }), void 0, !0)]),
484
+ key: "5"
485
+ } : void 0,
486
+ e.$slots["custom-menu-before"] ? {
487
+ name: "custom-menu-before",
488
+ fn: E(() => [C(e.$slots, "custom-menu-before", {}, void 0, !0)]),
489
+ key: "6"
490
+ } : void 0,
491
+ e.$slots["custom-menu-after"] ? {
492
+ name: "custom-menu-after",
493
+ fn: E(() => [C(e.$slots, "custom-menu-after", {}, void 0, !0)]),
494
+ key: "7"
495
+ } : void 0
496
+ ]), 1032, [
497
+ "backgroundColor",
498
+ "color",
499
+ "isPrinting",
500
+ "isImaging",
501
+ "uid",
502
+ "hasPdf",
503
+ "hasXls",
504
+ "hasImg",
505
+ "hasFullscreen",
506
+ "hasAltCopy",
507
+ "isFullscreen",
508
+ "titles",
509
+ "chartElement",
510
+ "position",
511
+ "callbacks",
512
+ "printScale",
513
+ "isCursorPointer",
514
+ "onGeneratePdf",
515
+ "style"
516
+ ])) : d("", !0)], 6))), 256))], 4)), [[T(de), ft]])]), p("tbody", null, [(b(!0), f(l, null, S(H.value, (e, t) => (b(), f("tr", {
517
+ role: "row",
518
+ style: v({
519
+ backgroundColor: N.value.tbody.backgroundColor,
520
+ color: N.value.tbody.color
521
+ }),
522
+ class: _({
523
+ "vue-ui-data-table__tbody__row": !0,
524
+ "vue-ui-data-table__tbody__row-even": t % 2 == 0,
525
+ "vue-ui-data-table__tbody__row-odd": t % 2 != 0
526
+ })
527
+ }, [
528
+ p("td", {
529
+ role: "cell",
530
+ style: v({
531
+ backgroundColor: N.value.tbody.backgroundColor,
532
+ border: N.value.tbody.outline,
533
+ fontSize: `${N.value.tbody.fontSize}px`,
534
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
535
+ textAlign: N.value.tbody.textAlign
536
+ }),
537
+ "data-cell": N.value.translations.serie,
538
+ class: "vue-ui-data-table__tbody__td sticky-col-first"
539
+ }, [p("div", {
540
+ dir: "auto",
541
+ style: v({
542
+ display: "flex",
543
+ flexDirection: "row",
544
+ alignItems: "center",
545
+ gap: "6px",
546
+ justifyContent: N.value.tbody.textAlign
547
+ })
548
+ }, [N.value.tbody.showColorMarker ? (b(), f("span", {
549
+ key: 0,
550
+ style: v({ color: e.color })
551
+ }, "⬤", 4)) : d("", !0), p("span", null, w(e.name ?? "-"), 1)], 4)], 12, ke),
552
+ (b(!0), f(l, null, S(tt.value, (n, i) => (b(), f("td", {
553
+ dir: "auto",
554
+ role: "cell",
555
+ ref_for: !0,
556
+ ref_key: "TD",
557
+ ref: M,
558
+ style: v({
559
+ border: N.value.tbody.outline,
560
+ fontSize: `${N.value.tbody.fontSize}px`,
561
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
562
+ textAlign: N.value.tbody.textAlign,
563
+ background: Z.value !== void 0 && i === Z.value ? N.value.tbody.selectedColor.useSerieColor ? `${e.color.length > 7 ? e.color.slice(0, -2) : e.color}33` : N.value.tbody.selectedColor.fallback : ""
564
+ }),
565
+ "data-cell": J.value[i] ? J.value[i].value : "",
566
+ class: "vue-ui-data-table__tbody__td",
567
+ onPointerenter: (e) => {
568
+ Q.value = t, Z.value = i;
569
+ }
570
+ }, w([null, void 0].includes(e.values[i]) ? "-" : T(o)(N.value.formatter, Number(e.values[i]), T(r)({
571
+ p: N.value.prefix,
572
+ v: Number(e.values[i]),
573
+ s: N.value.suffix,
574
+ r: N.value.roundingValues
575
+ }), {
576
+ datapoint: e,
577
+ seriesIndex: t,
578
+ datapointIndex: i
579
+ })), 45, Ae))), 256)),
580
+ N.value.showTotal ? (b(), f("td", {
581
+ key: 0,
582
+ dir: "auto",
583
+ role: "cell",
584
+ style: v({
585
+ border: N.value.tbody.outline,
586
+ fontSize: `${N.value.tbody.fontSize}px`,
587
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
588
+ textAlign: N.value.tbody.textAlign
589
+ }),
590
+ "data-cell": N.value.translations.total,
591
+ class: "vue-ui-data-table__tbody__td"
592
+ }, w(T(o)(N.value.formatter, e.sum, T(r)({
593
+ p: N.value.prefix,
594
+ v: e.sum,
595
+ s: N.value.suffix,
596
+ r: N.value.roundingTotal
597
+ }), {
598
+ datapoint: e.sum,
599
+ seriesIndex: t
600
+ })), 13, je)) : d("", !0),
601
+ N.value.showAverage ? (b(), f("td", {
602
+ key: 1,
603
+ dir: "auto",
604
+ role: "cell",
605
+ style: v({
606
+ border: N.value.tbody.outline,
607
+ fontSize: `${N.value.tbody.fontSize}px`,
608
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
609
+ textAlign: N.value.tbody.textAlign
610
+ }),
611
+ "data-cell": N.value.translations.average,
612
+ class: "vue-ui-data-table__tbody__td"
613
+ }, w(T(o)(N.value.formatter, e.average, T(r)({
614
+ p: N.value.prefix,
615
+ v: e.average,
616
+ s: N.value.suffix,
617
+ r: N.value.roundingAverage
618
+ }), {
619
+ datapoint: e.average,
620
+ seriesIndex: t
621
+ })), 13, Me)) : d("", !0),
622
+ N.value.showMedian ? (b(), f("td", {
623
+ key: 2,
624
+ dir: "auto",
625
+ role: "cell",
626
+ style: v({
627
+ border: N.value.tbody.outline,
628
+ fontSize: `${N.value.tbody.fontSize}px`,
629
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
630
+ textAlign: N.value.tbody.textAlign
631
+ }),
632
+ "data-cell": N.value.translations.median,
633
+ class: "vue-ui-data-table__tbody__td"
634
+ }, w(T(o)(N.value.formatter, e.median, T(r)({
635
+ p: N.value.prefix,
636
+ v: e.median,
637
+ s: N.value.suffix,
638
+ r: N.value.roundingMedian
639
+ }), {
640
+ datapoint: e.median,
641
+ seriesIndex: t
642
+ })), 13, Ne)) : d("", !0),
643
+ N.value.showSparklines ? (b(), f("td", {
644
+ key: 3,
645
+ role: "cell",
646
+ "data-cell": N.value.translations.chart,
647
+ style: v({
648
+ border: N.value.tbody.outline,
649
+ fontSize: `${N.value.tbody.fontSize}px`,
650
+ fontWeight: N.value.tbody.bold ? "bold" : "normal",
651
+ textAlign: N.value.tbody.textAlign,
652
+ backgroundColor: N.value.tbody.backgroundColor,
653
+ padding: "0"
654
+ }),
655
+ class: "vue-ui-data-table__tbody__td sticky-col"
656
+ }, [m(T(D), {
657
+ onHoverIndex: ({ index: e }) => at({
658
+ dataIndex: e,
659
+ serieIndex: t
660
+ }),
661
+ "height-ratio": N.value.sparkline.dimensions.heightRatio,
662
+ "forced-padding": 30,
663
+ dataset: e.sparklineDataset,
664
+ showInfo: !1,
665
+ selectedIndex: Z.value,
666
+ config: {
667
+ type: N.value.sparkline.type,
668
+ style: {
669
+ backgroundColor: "transparent",
670
+ animation: {
671
+ show: N.value.sparkline.animation.show && !T(qe) && !T(Je),
672
+ animationFrames: N.value.sparkline.animation.animationFrames
673
+ },
674
+ padding: { right: 12 },
675
+ line: {
676
+ color: e.color,
677
+ smooth: N.value.sparkline.smooth,
678
+ strokeWidth: N.value.sparkline.strokeWidth
679
+ },
680
+ bar: { color: e.color },
681
+ area: {
682
+ color: e.color,
683
+ opacity: N.value.sparkline.showArea ? 16 : 0,
684
+ useGradient: N.value.sparkline.useGradient
685
+ },
686
+ verticalIndicator: { color: e.color },
687
+ plot: {
688
+ radius: 9,
689
+ stroke: N.value.tbody.backgroundColor,
690
+ strokeWidth: 3
691
+ }
692
+ }
693
+ }
694
+ }, null, 8, [
695
+ "onHoverIndex",
696
+ "height-ratio",
697
+ "dataset",
698
+ "selectedIndex",
699
+ "config"
700
+ ])], 12, Pe)) : d("", !0)
701
+ ], 6))), 256))])], 4)], 32),
702
+ e.$slots.source ? (b(), f("div", Fe, [C(e.$slots, "source", {}, void 0, !0)], 512)) : d("", !0)
703
+ ], 42, Ce));
704
+ }
705
+ }, [["__scopeId", "data-v-6be5405c"]]);
706
+ //#endregion
707
+ export { Se as n, D as t };