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,707 +0,0 @@
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-C0kzXrwI.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 };