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,393 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, Et as r, G as i, H as a, Mt as o, Nt as s, Rt as ee, X as c, i as l, ot as te, t as ne, x as re, y as ie } from "./lib-DUeYQsS0.js";
3
- import { t as ae } from "./useConfig-DAyQk86L.js";
4
- import { n as oe, t as se } from "./BaseScanner-Dr2a1Msy.js";
5
- import { t as u } from "./useNestedProp-CNcoy38D.js";
6
- import { t as ce } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as le } from "./usePrefersMotion-BC-CsqR1.js";
8
- import { t as d } from "./vue_ui_sparkbar-z6qO--Kf.js";
9
- import { Fragment as f, computed as p, createBlock as ue, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as de, defineAsyncComponent as fe, mergeProps as _, nextTick as pe, normalizeProps as me, normalizeStyle as v, onMounted as y, openBlock as b, ref as x, renderList as he, renderSlot as S, toDisplayString as C, toRefs as ge, unref as w, useSlots as T, watch as E } from "vue";
10
- //#region src/components/vue-ui-sparkbar.vue
11
- var D = /* @__PURE__ */ e({ default: () => R }), O = [
12
- "onClick",
13
- "onMouseenter",
14
- "onMouseleave"
15
- ], k = {
16
- key: 1,
17
- class: "vue-ui-sparkbar-datapoint-value"
18
- }, A = ["xmlns", "viewBox"], j = ["id"], M = ["stop-color"], N = ["stop-color"], P = [
19
- "height",
20
- "width",
21
- "fill",
22
- "rx"
23
- ], F = [
24
- "height",
25
- "width",
26
- "fill",
27
- "rx"
28
- ], I = [
29
- "height",
30
- "width",
31
- "fill",
32
- "rx"
33
- ], L = {
34
- key: 2,
35
- ref: "source",
36
- dir: "auto"
37
- }, R = {
38
- __name: "vue-ui-sparkbar",
39
- props: {
40
- config: {
41
- type: Object,
42
- default() {
43
- return {};
44
- }
45
- },
46
- dataset: {
47
- type: Array,
48
- default() {
49
- return [];
50
- }
51
- },
52
- backgroundOpacity: {
53
- type: Number,
54
- default: null
55
- }
56
- },
57
- emits: ["selectDatapoint"],
58
- setup(e, { emit: D }) {
59
- let R = fe(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), { vue_ui_sparkbar: _e } = ae(), { isThemeValid: ve, warnInvalidTheme: ye } = ce(), z = le(), B = e, be = T();
60
- y(() => {
61
- be["chart-background"] && console.warn("VueUiSparkbar does not support the #chart-background slot.");
62
- });
63
- let V = x(a()), H = x(K()), xe = p(() => t({
64
- defaultConfig: { style: {
65
- backgroundColor: "#99999930",
66
- animation: { show: !1 },
67
- layout: { independant: !0 },
68
- gutter: {
69
- backgroundColor: "#6A6A6A",
70
- opacity: 50
71
- },
72
- bar: { gradient: { underlayerColor: "#6A6A6A" } }
73
- } },
74
- userConfig: H.value.skeletonConfig ?? {}
75
- })), { loading: U, FINAL_DATASET: W, manualLoading: Se } = oe({
76
- ...ge(B),
77
- FINAL_CONFIG: H,
78
- prepareConfig: K,
79
- skeletonDataset: B.config?.skeletonDataset ?? [
80
- {
81
- name: "_",
82
- value: 21,
83
- target: 25,
84
- color: "#808080"
85
- },
86
- {
87
- name: "_",
88
- value: 13,
89
- target: 25,
90
- color: "#ADADAD"
91
- },
92
- {
93
- name: "_",
94
- value: 8,
95
- target: 25,
96
- color: "#DBDBDB"
97
- }
98
- ],
99
- skeletonConfig: t({
100
- defaultConfig: H.value,
101
- userConfig: xe.value
102
- })
103
- }), G = p(() => !!H.value.debug);
104
- function K() {
105
- let e = u({
106
- userConfig: B.config,
107
- defaultConfig: _e
108
- }), t = e.theme;
109
- if (!t) return e;
110
- if (!ve.value(e)) return ye(e), e;
111
- let n = u({
112
- userConfig: d[t] || B.config,
113
- defaultConfig: e
114
- }), i = u({
115
- userConfig: B.config,
116
- defaultConfig: n
117
- });
118
- return {
119
- ...i,
120
- customPalette: i.customPalette.length ? i.customPalette : ee[t] || r
121
- };
122
- }
123
- E(() => B.config, (e) => {
124
- H.value = K();
125
- }, { deep: !0 });
126
- let Ce = p(() => re(H.value.customPalette)), q = x(W.value.map((e) => ({
127
- ...e,
128
- value: H.value.style.animation.show ? 0 : e.value || 0,
129
- formatter: e.formatter || null
130
- }))), J = x(null);
131
- y(async () => {
132
- n(B.dataset) && c({
133
- componentName: "VueUiSparkbar",
134
- type: "dataset",
135
- debug: G.value
136
- }), Y();
137
- });
138
- function Y() {
139
- if (H.value.style.animation.show && !z.value) {
140
- let e = H.value.style.animation.animationFrames, t = W.value.map((t, n) => t.value / e), n = W.value.map((e) => e.value || 0).reduce((e, t) => e + t, 0), r = 0;
141
- function i() {
142
- r += n / e, r < n ? (q.value = q.value.map((e, n) => ({
143
- ...e,
144
- value: e.value += t[n]
145
- })), J.value = requestAnimationFrame(i)) : q.value = W.value.map((e) => ({
146
- ...e,
147
- value: e.value || 0,
148
- formatter: e.formatter || null
149
- }));
150
- }
151
- i();
152
- }
153
- }
154
- E(() => W.value, async (e) => {
155
- cancelAnimationFrame(J.value), q.value = W.value.map((e) => ({
156
- ...e,
157
- value: H.value.style.animation.show && !z.value ? 0 : e.value || 0,
158
- formatter: e.formatter || null
159
- })), pe(Y);
160
- }, { deep: !0 });
161
- let X = x({
162
- width: 500,
163
- height: 16
164
- }), we = p(() => Math.max(...W.value.map((e) => e.value))), Te = p(() => (W.value.forEach((e, t) => {
165
- te({
166
- datasetObject: e,
167
- requiredAttributes: ["name", "value"]
168
- }).forEach((e) => {
169
- c({
170
- componentName: "VueUiSparkbar",
171
- type: "datasetSerieAttribute",
172
- property: e,
173
- index: t,
174
- debug: G.value
175
- });
176
- });
177
- }), q.value.map((e, t) => ({
178
- ...e,
179
- value: e.value || 0,
180
- color: ie(e.color) || Ce.value[t] || r[t] || r[t % r.length]
181
- }))));
182
- function Z(e) {
183
- return e / we.value;
184
- }
185
- function Q(e) {
186
- return H.value.style.layout.independant ? e.target ? e.value / e.target : H.value.style.layout.percentage ? e.value > 100 ? 1 : e.value / 100 : H.value.style.layout.target === 0 ? 1 : e.value / H.value.style.layout.target : Z(e.value);
187
- }
188
- function $(e) {
189
- return H.value.style.layout.independant && e.target || H.value.style.layout.target;
190
- }
191
- let Ee = D;
192
- function De(e, t) {
193
- Ee("selectDatapoint", {
194
- datapoint: e,
195
- index: t
196
- }), H.value.events.datapointClick && H.value.events.datapointClick({
197
- datapoint: e,
198
- seriesIndex: t
199
- });
200
- }
201
- function Oe(e, t) {
202
- H.value.events.datapointEnter && H.value.events.datapointEnter({
203
- datapoint: e,
204
- seriesIndex: t
205
- });
206
- }
207
- function ke(e, t) {
208
- H.value.events.datapointLeave && H.value.events.datapointLeave({
209
- datapoint: e,
210
- seriesIndex: t
211
- });
212
- }
213
- return (e, t) => (b(), h("div", {
214
- class: "vue-data-ui-component vue-ui-sparkbar",
215
- style: v({
216
- width: "100%",
217
- position: "relative",
218
- fontFamily: H.value.style.fontFamily,
219
- background: B.backgroundOpacity === null ? H.value.style.backgroundColor : w(o)(H.value.style.backgroundColor, B.backgroundOpacity)
220
- })
221
- }, [
222
- e.$slots.title ? S(e.$slots, "title", me(_({ key: 0 }, { title: {
223
- ...e.title,
224
- title: H.value.style.title.text,
225
- subtitle: H.value.style.title.subtitle.text
226
- } }))) : m("", !0),
227
- !e.$slots.title && H.value.style.title.text ? (b(), h("div", {
228
- key: 1,
229
- class: "vue-ui-sparkbar-title-container",
230
- style: v({
231
- background: H.value.style.title.backgroundColor,
232
- margin: H.value.style.title.margin,
233
- textAlign: H.value.style.title.textAlign
234
- })
235
- }, [g("div", {
236
- class: "vue-ui-sparkbar-title",
237
- style: v({
238
- fontSize: H.value.style.title.fontSize + "px",
239
- color: H.value.style.title.color,
240
- fontWeight: H.value.style.title.bold ? "bold" : "normal"
241
- })
242
- }, C(H.value.style.title.text), 5), H.value.style.title.subtitle.text ? (b(), h("div", {
243
- key: 0,
244
- class: "vue-ui-sparkbar-subtitle",
245
- style: v({
246
- fontSize: H.value.style.title.subtitle.fontSize + "px",
247
- color: H.value.style.title.subtitle.color,
248
- fontWeight: H.value.style.title.subtitle.bold ? "bold" : "normal"
249
- })
250
- }, C(H.value.style.title.subtitle.text), 5)) : m("", !0)], 4)) : m("", !0),
251
- (b(!0), h(f, null, he(Te.value, (t, n) => (b(), h("div", {
252
- style: v(`display:flex !important;${["left", "right"].includes(H.value.style.labels.name.position) ? `flex-direction: ${H.value.style.labels.name.position === "right" ? "row-reverse" : "row"} !important` : "flex-direction:column !important"};gap:${H.value.style.gap}px !important;align-items:center;${w(W).length > 0 && n !== w(W).length - 1 ? "margin-bottom:6px" : ""}`),
253
- onClick: (e) => De(t, n),
254
- onMouseenter: (e) => Oe(t, n),
255
- onMouseleave: (e) => ke(t, n)
256
- }, [
257
- w(U) ? m("", !0) : S(e.$slots, "data-label", _({
258
- key: 0,
259
- ref_for: !0
260
- }, { bar: {
261
- ...t,
262
- target: $(t),
263
- valueLabel: w(l)(t.formatter, t.value, w(i)({
264
- p: t.prefix || "",
265
- v: t.value,
266
- s: t.suffix || "",
267
- r: t.rounding || 0
268
- }), {
269
- datapoint: t,
270
- seriesIndex: n
271
- }),
272
- targetLabel: w(l)(t.formatter, $(t), w(i)({
273
- p: t.prefix || "",
274
- v: $(t),
275
- s: t.suffix || "",
276
- r: t.rounding || 0
277
- }), {
278
- datapoint: t,
279
- seriesIndex: n
280
- })
281
- } })),
282
- !e.$slots["data-label"] || w(U) ? (b(), h("div", {
283
- key: 1,
284
- style: v({
285
- display: "flex",
286
- justifyContent: ["right", "top-right"].includes(H.value.style.labels.name.position) ? "flex-end" : ["top-center"].includes(H.value.style.labels.name.position) ? "center" : "flex-start",
287
- alignItems: "center",
288
- width: H.value.style.labels.name.width,
289
- color: H.value.style.labels.name.color,
290
- fontSize: H.value.style.labels.fontSize + "px",
291
- fontWeight: H.value.style.labels.name.bold ? "bold" : "normal",
292
- flexWrap: "wrap"
293
- })
294
- }, [w(U) ? (b(), h("div", {
295
- key: 0,
296
- class: "vue-ui-sparkbar-skeleton-name",
297
- style: v({
298
- width: "60px",
299
- height: H.value.style.labels.fontSize + "px",
300
- borderRadius: H.value.style.labels.fontSize / 4 + "px",
301
- display: "flex",
302
- alignItems: "center",
303
- justifyContent: "space-between",
304
- marginTop: "5px"
305
- })
306
- }, [g("div", { style: v({
307
- height: "100%",
308
- width: "40px",
309
- borderRadius: H.value.style.labels.fontSize / 4 + "px",
310
- backgroundColor: "#6A6A6A80"
311
- }) }, null, 4), g("div", { style: v({
312
- height: "100%",
313
- width: "15px",
314
- borderRadius: H.value.style.labels.fontSize / 4 + "px",
315
- backgroundColor: "#6A6A6A80"
316
- }) }, null, 4)], 4)) : (b(), h(f, { key: 1 }, [
317
- g("span", null, C(t.name), 1),
318
- H.value.style.labels.value.show ? (b(), h("span", {
319
- key: 0,
320
- style: v(`font-weight:${H.value.style.labels.value.bold ? "bold" : "normal"}`),
321
- class: "vue-ui-sparkbar-datapoint-name"
322
- }, ": " + C(w(l)(t.formatter, t.value, w(i)({
323
- p: t.prefix || "",
324
- v: t.value,
325
- s: t.suffix || "",
326
- r: t.rounding || 0
327
- }), {
328
- datapoint: t,
329
- seriesIndex: n
330
- })), 5)) : m("", !0),
331
- H.value.style.layout.showTargetValue ? (b(), h("span", k, C(" " + H.value.style.layout.targetValueText) + " " + C(w(l)(t.formatter, $(t), w(i)({
332
- p: t.prefix || "",
333
- v: $(t),
334
- s: t.suffix || "",
335
- r: t.rounding || 0
336
- }), {
337
- datapoint: t,
338
- seriesIndex: n
339
- })), 1)) : m("", !0)
340
- ], 64))], 4)) : m("", !0),
341
- (b(), h("svg", {
342
- role: "img",
343
- xmlns: w(ne),
344
- viewBox: `0 0 ${X.value.width} ${X.value.height}`,
345
- width: "100%"
346
- }, [
347
- de(w(R)),
348
- g("defs", null, [g("linearGradient", {
349
- x1: "0%",
350
- y1: "0%",
351
- x2: "100%",
352
- y2: "0%",
353
- id: `sparkbar_gradient_${n}_${V.value}`
354
- }, [g("stop", {
355
- offset: "0%",
356
- "stop-color": w(o)(w(s)(t.color, .03), 100 - H.value.style.bar.gradient.intensity)
357
- }, null, 8, M), g("stop", {
358
- offset: "100%",
359
- "stop-color": t.color
360
- }, null, 8, N)], 8, j)]),
361
- g("rect", {
362
- height: X.value.height,
363
- width: X.value.width,
364
- x: 0,
365
- y: 0,
366
- fill: w(o)(H.value.style.gutter.backgroundColor, H.value.style.gutter.opacity),
367
- rx: X.value.height / 2
368
- }, null, 8, P),
369
- g("rect", {
370
- height: X.value.height,
371
- width: X.value.width * Q(t),
372
- x: 0,
373
- y: 0,
374
- fill: H.value.style.bar.gradient.underlayerColor,
375
- rx: X.value.height / 2
376
- }, null, 8, F),
377
- g("rect", {
378
- height: X.value.height,
379
- width: X.value.width * Q(t),
380
- x: 0,
381
- y: 0,
382
- fill: H.value.style.bar.gradient.show ? `url(#sparkbar_gradient_${n}_${V.value})` : t.color,
383
- rx: X.value.height / 2
384
- }, null, 8, I)
385
- ], 8, A))
386
- ], 44, O))), 256)),
387
- e.$slots.source ? (b(), h("div", L, [S(e.$slots, "source")], 512)) : m("", !0),
388
- w(U) ? (b(), ue(se, { key: 3 })) : m("", !0)
389
- ], 4));
390
- }
391
- };
392
- //#endregion
393
- export { D as n, R as t };
@@ -1,255 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, G as ee, H as te, X as r, ft as i, i as a, ot as o, t as s, v as c } from "./lib-DUeYQsS0.js";
3
- import { t as ne } from "./useConfig-DAyQk86L.js";
4
- import { n as re, t as ie } from "./BaseScanner-Dr2a1Msy.js";
5
- import { t as l } from "./useNestedProp-CNcoy38D.js";
6
- import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
7
- import { t as oe } from "./useChartAccessibility-DYqac8yF.js";
8
- import { t as se } from "./usePrefersMotion-BC-CsqR1.js";
9
- import { t as ce } from "./vue_ui_sparkgauge-BX1MS3bA.js";
10
- import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as le, defineAsyncComponent as ue, normalizeClass as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as g, openBlock as _, ref as v, renderSlot as y, toDisplayString as b, toRefs as pe, unref as x, watch as S } from "vue";
11
- //#region src/components/vue-ui-sparkgauge.vue
12
- var C = /* @__PURE__ */ e({ default: () => j }), me = ["xmlns", "viewBox"], he = ["width", "height"], ge = ["id"], w = ["stop-color"], T = ["stop-color"], E = [
13
- "d",
14
- "stroke",
15
- "stroke-linecap"
16
- ], D = [
17
- "d",
18
- "stroke",
19
- "stroke-linecap",
20
- "stroke-dashoffset"
21
- ], O = [
22
- "x",
23
- "y",
24
- "width",
25
- "height"
26
- ], k = [
27
- "x",
28
- "y",
29
- "font-size",
30
- "fill",
31
- "font-weight"
32
- ], A = {
33
- key: 2,
34
- ref: "source",
35
- dir: "auto"
36
- }, j = {
37
- __name: "vue-ui-sparkgauge",
38
- props: {
39
- config: {
40
- type: Object,
41
- default() {
42
- return {};
43
- }
44
- },
45
- dataset: {
46
- type: Object,
47
- default() {
48
- return {};
49
- }
50
- }
51
- },
52
- setup(e) {
53
- let C = ue(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), { vue_ui_sparkgauge: j } = ne(), { isThemeValid: M, warnInvalidTheme: N } = ae(), P = se(), F = v(null), I = e, L = v(te()), R = v(W()), z = u(() => R.value.style.animation.show && !P.value), _e = u(() => t({
54
- defaultConfig: { style: {
55
- animation: { show: !1 },
56
- background: "#99999930",
57
- colors: {
58
- min: "#CACACA",
59
- max: "#6A6A6A"
60
- },
61
- track: { autoColor: !0 },
62
- gutter: { color: "#6A6A6A80" }
63
- } },
64
- userConfig: R.value.skeletonConfig ?? {}
65
- })), { loading: B, FINAL_DATASET: V } = re({
66
- ...pe(I),
67
- FINAL_CONFIG: R,
68
- prepareConfig: W,
69
- skeletonDataset: I.config?.skeletonDataset ?? {
70
- value: 0,
71
- min: -1,
72
- max: 1,
73
- title: ""
74
- },
75
- skeletonConfig: t({
76
- defaultConfig: R.value,
77
- userConfig: _e.value
78
- })
79
- }), H = u(() => {
80
- let e = V.value.min ?? 0, t = V.value.max ?? 0;
81
- return {
82
- min: e,
83
- max: t,
84
- diff: t - e
85
- };
86
- }), U = u(() => H.value.diff / R.value.style.animation.speedMs), { svgRef: ve } = oe({ config: { text: I.dataset?.title || "" } });
87
- function W() {
88
- let e = l({
89
- userConfig: I.config,
90
- defaultConfig: j
91
- }), t = e.theme;
92
- if (!t) return e;
93
- if (!M.value(e)) return N(e), e;
94
- let n = l({
95
- userConfig: ce[t] || I.config,
96
- defaultConfig: e
97
- });
98
- return l({
99
- userConfig: I.config,
100
- defaultConfig: n
101
- });
102
- }
103
- g(() => {
104
- K();
105
- });
106
- let G = u(() => R.value.debug);
107
- function K() {
108
- n(I.dataset) ? r({
109
- componentName: "VueUiSparkgauge",
110
- type: "dataset",
111
- debug: G.value
112
- }) : o({
113
- datasetObject: I.dataset,
114
- requiredAttributes: [
115
- "value",
116
- "min",
117
- "max"
118
- ]
119
- }).forEach((e) => {
120
- r({
121
- componentName: "VueUiSparkgauge",
122
- type: "datasetAttribute",
123
- property: e,
124
- debug: G.value
125
- });
126
- });
127
- }
128
- S(() => I.config, () => {
129
- R.value = W(), J.value = z.value ? H.value.min : V.value.value, K();
130
- }, { deep: !0 });
131
- let q = u(() => ({
132
- height: R.value.style.height,
133
- width: 128,
134
- base: R.value.style.basePosition
135
- })), J = v(z.value ? H.value.min : V.value.value);
136
- S([() => V.value.value, z], ([e, t]) => {
137
- Y(e || 0, t);
138
- }, { immediate: !0 });
139
- let ye = u(() => J.value > H.value.max ? H.value.max : J.value < H.value.min ? H.value.min : J.value);
140
- g(() => {
141
- Y(V.value.value || 0);
142
- });
143
- function Y(e, t = z.value) {
144
- if (F.value &&= (cancelAnimationFrame(F.value), null), !t) {
145
- J.value = e;
146
- return;
147
- }
148
- function n() {
149
- J.value < e ? J.value = Math.min(J.value + U.value, e) : J.value > e && (J.value = Math.max(J.value - U.value, e)), J.value === e ? F.value = null : F.value = requestAnimationFrame(n);
150
- }
151
- n();
152
- }
153
- let X = u(() => V.value.title ?? ""), Z = u(() => {
154
- let e = H.value.diff;
155
- if (!isFinite(e) || e === 0) return 0;
156
- let t = H.value.min, n = ye.value;
157
- return n >= 0 ? (n - t) / e : (Math.abs(t) - Math.abs(n)) / e;
158
- }), Q = u(() => i(R.value.style.colors.min, R.value.style.colors.max, H.value.min, H.value.max, J.value)), $ = u(() => R.value.style.dataLabel.autoColor ? Q.value : R.value.style.dataLabel.color), be = u(() => R.value.style.track.autoColor ? Q.value : R.value.style.track.color);
159
- return fe(() => {
160
- F.value && cancelAnimationFrame(F.value);
161
- }), (e, t) => (_(), p("div", {
162
- class: "vue-data-ui-component vue-ui-sparkgauge",
163
- style: h(`font-family:${R.value.style.fontFamily};width: 100%; background:${R.value.style.background}`)
164
- }, [
165
- R.value.style.title.show && X.value && R.value.style.title.position === "top" ? (_(), p("div", {
166
- key: 0,
167
- class: "vue-data-ui-sparkgauge-label",
168
- style: h(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
169
- }, b(X.value), 5)) : f("", !0),
170
- (_(), p("svg", {
171
- ref_key: "svgRef",
172
- ref: ve,
173
- xmlns: x(s),
174
- viewBox: `0 0 ${q.value.width} ${q.value.height}`,
175
- style: "overflow: visible; background:transparent; width:100%;"
176
- }, [
177
- le(x(C)),
178
- e.$slots["chart-background"] && !x(B) ? (_(), p("foreignObject", {
179
- key: 0,
180
- x: 0,
181
- y: 0,
182
- width: q.value.width,
183
- height: q.value.height,
184
- style: { pointerEvents: "none" }
185
- }, [y(e.$slots, "chart-background")], 8, he)) : f("", !0),
186
- m("defs", null, [m("linearGradient", {
187
- id: `gradient_${L.value}`,
188
- x1: "-10%",
189
- y1: "100%",
190
- x2: "110%",
191
- y2: "100%"
192
- }, [m("stop", {
193
- offset: "0%",
194
- "stop-color": R.value.style.colors.min
195
- }, null, 8, w), m("stop", {
196
- offset: "100%",
197
- "stop-color": R.value.style.colors.max
198
- }, null, 8, T)], 8, ge)]),
199
- m("path", {
200
- d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
201
- stroke: R.value.style.gutter.color,
202
- "stroke-width": 8,
203
- "stroke-linecap": R.value.style.gutter.strokeLinecap,
204
- fill: "none"
205
- }, null, 8, E),
206
- Z.value === 0 ? f("", !0) : (_(), p("path", {
207
- key: 1,
208
- d: `M10 ${q.value.base} A 1 1 0 1 1 118 ${q.value.base}`,
209
- stroke: R.value.style.colors.showGradient ? `url(#gradient_${L.value})` : be.value,
210
- "stroke-width": 8,
211
- "stroke-linecap": R.value.style.track.strokeLinecap,
212
- fill: "none",
213
- "stroke-dasharray": 169.5,
214
- "stroke-dashoffset": 169.5 - 169.5 * Z.value,
215
- class: de({ "vue-ui-sparkgauge-track": R.value.style.animation.show }),
216
- style: h(R.value.style.animation.show ? `animation: vue-ui-sparkgauge-animation ${R.value.style.animation.speedMs}ms ease-in;` : "")
217
- }, null, 14, D)),
218
- x(B) ? (_(), p("rect", {
219
- key: 2,
220
- x: q.value.width / 2 - R.value.style.dataLabel.fontSize / 2,
221
- y: q.value.base + 6 + R.value.style.dataLabel.offsetY - R.value.style.dataLabel.fontSize,
222
- width: R.value.style.dataLabel.fontSize,
223
- height: R.value.style.dataLabel.fontSize,
224
- fill: "#6A6A6A50",
225
- rx: 3
226
- }, null, 8, O)) : (_(), p("text", {
227
- key: 3,
228
- "text-anchor": "middle",
229
- x: q.value.width / 2,
230
- y: q.value.base + 6 + R.value.style.dataLabel.offsetY,
231
- "font-size": R.value.style.dataLabel.fontSize,
232
- fill: $.value,
233
- "font-weight": R.value.style.dataLabel.bold ? "bold" : "normal"
234
- }, b(x(a)(R.value.style.dataLabel.formatter, x(c)(J.value), x(ee)({
235
- p: R.value.style.dataLabel.prefix,
236
- v: x(c)(J.value),
237
- s: R.value.style.dataLabel.suffix,
238
- r: R.value.style.dataLabel.rounding
239
- }), {
240
- datapoint: x(c)(J.value),
241
- color: $.value
242
- })), 9, k))
243
- ], 8, me)),
244
- R.value.style.title.show && X.value && R.value.style.title.position === "bottom" ? (_(), p("div", {
245
- key: 1,
246
- class: "vue-data-ui-sparkgauge-label",
247
- style: h(`font-size:${R.value.style.title.fontSize}px;text-align:${R.value.style.title.textAlign};font-weight:${R.value.style.title.bold ? "bold" : "normal"};font-weight:${R.value.style.title.bold ? "bold" : "normal"};color:${R.value.style.title.color}`)
248
- }, b(X.value), 5)) : f("", !0),
249
- e.$slots.source ? (_(), p("div", A, [y(e.$slots, "source")], 512)) : f("", !0),
250
- y(e.$slots, "skeleton", {}, () => [x(B) ? (_(), d(ie, { key: 0 })) : f("", !0)])
251
- ], 4));
252
- }
253
- };
254
- //#endregion
255
- export { C as n, j as t };