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,885 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { Bt as t, Ct as n, G as r, H as i, Nt as a, X as o, bt as s, i as c, t as l, v as u, xt as d } from "./lib-DUeYQsS0.js";
3
- import { t as f } from "./useConfig-DAyQk86L.js";
4
- import { t as p } from "./usePrinter-C1Gqt_Sp.js";
5
- import { n as m, t as h } from "./BaseScanner-Dr2a1Msy.js";
6
- import { t as g } from "./useSvgExport-SVIsDot8.js";
7
- import { t as _ } from "./useNestedProp-CNcoy38D.js";
8
- import { t as v } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as y } from "./img-1cKsci8e.js";
10
- import { n as b } from "./Title-NWp4qB4K.js";
11
- import { t as x } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { c as ee } from "./canvas-lib-BOP_HS11.js";
13
- import { t as te } from "./useResponsive-BfnK0KxU.js";
14
- import { t as S } from "./useUserOptionState-DK-_1ddE.js";
15
- import { t as ne } from "./useChartAccessibility-DYqac8yF.js";
16
- import { t as re } from "./usePrefersMotion-BC-CsqR1.js";
17
- import { t as ie } from "./vue_ui_wheel-DZ_nR--t.js";
18
- import { Fragment as C, computed as w, createBlock as T, createCommentVNode as E, createElementBlock as D, createElementVNode as ae, createSlots as oe, createVNode as se, defineAsyncComponent as ce, guardReactiveProps as O, nextTick as le, normalizeClass as k, normalizeProps as A, normalizeStyle as j, onBeforeUnmount as ue, onMounted as de, openBlock as M, ref as N, renderList as P, renderSlot as F, shallowRef as fe, toDisplayString as pe, toRefs as me, unref as I, useCssVars as he, watch as ge, withCtx as L } from "vue";
19
- //#region src/components/vue-ui-wheel.vue
20
- var _e = /* @__PURE__ */ e({ default: () => Re }), ve = ["id"], ye = [
21
- "xmlns",
22
- "viewBox",
23
- "aria-labelledby",
24
- "aria-describedby"
25
- ], be = ["id"], xe = ["id"], Se = [
26
- "x",
27
- "y",
28
- "width",
29
- "height"
30
- ], Ce = [
31
- "d",
32
- "stroke",
33
- "stroke-width"
34
- ], we = [
35
- "cx",
36
- "cy",
37
- "r",
38
- "stroke",
39
- "stroke-width"
40
- ], Te = { key: 0 }, Ee = [
41
- "x1",
42
- "y1",
43
- "x2",
44
- "y2",
45
- "stroke",
46
- "stroke-width",
47
- "stroke-linecap"
48
- ], De = [
49
- "x1",
50
- "y1",
51
- "x2",
52
- "y2",
53
- "stroke",
54
- "stroke-width",
55
- "stroke-linecap"
56
- ], Oe = { key: 1 }, ke = [
57
- "d",
58
- "fill",
59
- "stroke",
60
- "stroke-width"
61
- ], Ae = [
62
- "d",
63
- "fill",
64
- "stroke",
65
- "stroke-width"
66
- ], je = [
67
- "d",
68
- "fill",
69
- "stroke",
70
- "stroke-width"
71
- ], Me = [
72
- "x1",
73
- "x2",
74
- "y1",
75
- "y2",
76
- "stroke",
77
- "stroke-width",
78
- "stroke-linecap"
79
- ], Ne = [
80
- "d",
81
- "fill",
82
- "stroke",
83
- "stroke-width"
84
- ], Pe = ["aria-label"], Fe = [
85
- "x",
86
- "y",
87
- "height"
88
- ], Ie = [
89
- "x",
90
- "y",
91
- "font-size",
92
- "fill",
93
- "font-weight",
94
- "stroke",
95
- "stroke-width"
96
- ], Le = {
97
- key: 4,
98
- class: "vue-data-ui-watermark"
99
- }, Re = /* @__PURE__ */ x({
100
- __name: "vue-ui-wheel",
101
- props: {
102
- config: {
103
- type: Object,
104
- default() {
105
- return {};
106
- }
107
- },
108
- dataset: {
109
- type: Object,
110
- default() {
111
- return {};
112
- }
113
- }
114
- },
115
- emits: ["copyAlt"],
116
- setup(e, { expose: x, emit: _e }) {
117
- he((e) => ({
118
- v6c761863: Ft.value,
119
- c5f7f2ee: It.value,
120
- c5f82dc8: Lt.value
121
- }));
122
- let Re = ce(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), ze = ce(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Be = ce(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), { vue_ui_wheel: Ve } = f(), { isThemeValid: He, warnInvalidTheme: Ue } = v(), R = re(), z = e, We = _e, Ge = w(() => !!z.dataset && Object.keys(z.dataset).length), B = N(i()), Ke = N(null), qe = N(0), V = N(null), Je = N(null), Ye = N(null), Xe = N(null), Ze = N(0), Qe = N(!1), $e = N(!1), H = N(st()), et = w(() => H.value.userOptions.useCursorPointer), tt = w(() => t({
123
- defaultConfig: {
124
- userOptions: { show: !1 },
125
- style: { chart: {
126
- backgroundColor: "#99999930",
127
- animation: { use: !1 },
128
- layout: {
129
- wheel: { ticks: {
130
- activeColor: "#6A6A6A80",
131
- inactiveColor: "#CACACA80"
132
- } },
133
- innerCircle: { stroke: "#CACACA80" }
134
- }
135
- } }
136
- },
137
- userConfig: H.value.skeletonConfig ?? {}
138
- })), { loading: nt, FINAL_DATASET: U } = m({
139
- ...me(z),
140
- FINAL_CONFIG: H,
141
- prepareConfig: st,
142
- skeletonDataset: z.config?.skeletonDataset ?? { percentage: 50 },
143
- skeletonConfig: t({
144
- defaultConfig: H.value,
145
- userConfig: tt.value
146
- })
147
- }), { userOptionsVisible: rt, setUserOptionsVisibility: it, keepUserOptionState: at } = S({ config: H.value }), { svgRef: ot } = ne({ config: H.value.style.chart.title });
148
- function st() {
149
- let e = _({
150
- userConfig: z.config,
151
- defaultConfig: Ve
152
- }), t = e.theme;
153
- if (!t) return e;
154
- if (!He.value(e)) return Ue(e), e;
155
- let n = _({
156
- userConfig: ie[t] || z.config,
157
- defaultConfig: e
158
- });
159
- return _({
160
- userConfig: z.config,
161
- defaultConfig: n
162
- });
163
- }
164
- ge(() => z.config, (e) => {
165
- H.value = st(), rt.value = !H.value.userOptions.showOnChartHover, ht(), Ze.value += 1;
166
- }, { deep: !0 });
167
- let { isPrinting: ct, isImaging: lt, generatePdf: ut, generateImage: dt } = p({
168
- elementId: B.value,
169
- fileName: H.value.style.chart.title.text || "vue-ui-wheel",
170
- options: H.value.userOptions.print
171
- }), ft = w(() => H.value.userOptions.show && !H.value.style.chart.title.text), W = N({
172
- size: 360,
173
- height: 360,
174
- width: 360
175
- }), G = N(H.value.style.chart.layout.percentage.fontSize), K = w(() => ({
176
- radius: Math.min(W.value.width, W.value.height) * .9 / 2 * H.value.style.chart.layout.wheel.radiusRatio,
177
- centerX: W.value.width / 2,
178
- centerY: W.value.height / 2
179
- }));
180
- function pt(e, t = 1) {
181
- let n = 29.85;
182
- return {
183
- x: K.value.centerX + K.value.radius * Math.cos(n + e * Math.PI / 180) * t,
184
- y: K.value.centerY + K.value.radius * Math.sin(n + e * Math.PI / 180) * t
185
- };
186
- }
187
- let q = N(H.value.style.chart.animation.use && !R.value ? 0 : U.value.percentage || 0);
188
- ge(() => U.value, (e) => {
189
- H.value.style.chart.animation.use && !R.value ? Dt(e.percentage) : q.value = e.percentage || 0;
190
- }, { deep: !0 });
191
- let J = fe(null), Y = fe(null);
192
- de(() => {
193
- ht();
194
- });
195
- let mt = w(() => !!H.value.debug);
196
- function ht() {
197
- if (n(z.dataset) && o({
198
- componentName: "VueUiWheel",
199
- type: "dataset",
200
- debug: mt.value
201
- }), H.value.responsive) {
202
- let e = ee(() => {
203
- let { width: e, height: t } = te({
204
- chart: V.value,
205
- title: H.value.style.chart.title.text ? Je.value : null,
206
- source: Ye.value,
207
- noTitle: Xe.value
208
- });
209
- requestAnimationFrame(() => {
210
- W.value.width = e, W.value.height = t, G.value = H.value.style.chart.layout.percentage.fontSize / 360 * Math.min(e, t);
211
- });
212
- });
213
- J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect()), J.value = new ResizeObserver(e), Y.value = V.value.parentNode, J.value.observe(Y.value);
214
- }
215
- Dt(U.value.percentage || 0), H.value.style.chart.animation.use && !R.value || (q.value = U.value.percentage || 0);
216
- }
217
- ue(() => {
218
- J.value && (Y.value && J.value.unobserve(Y.value), J.value.disconnect());
219
- });
220
- function gt([e, t, n], r) {
221
- let i = Math.cos(r), a = Math.sin(r);
222
- return [
223
- e,
224
- t * i - n * a,
225
- t * a + n * i
226
- ];
227
- }
228
- function _t([e, t, n], r) {
229
- let i = r / (r - n);
230
- return [
231
- e * i,
232
- t * i,
233
- n,
234
- i
235
- ];
236
- }
237
- function vt(e, t) {
238
- let n = e.replace("#", ""), r = parseInt(n.substring(0, 2), 16), i = parseInt(n.substring(2, 4), 16), a = parseInt(n.substring(4, 6), 16), o = 1 - Math.min(1, Math.max(0, H.value.style.chart.layout.wheel.ticks.shadeColorRatio3d)) * t, s = Math.max(0, Math.min(255, Math.round(r * o))), c = Math.max(0, Math.min(255, Math.round(i * o))), l = Math.max(0, Math.min(255, Math.round(a * o)));
239
- return `#${s.toString(16).padStart(2, "0")}${c.toString(16).padStart(2, "0")}${l.toString(16).padStart(2, "0")}`;
240
- }
241
- function yt({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = 0, axDeg: s = 50, f: c = 520, baseStroke: l = 5, activeColor: u, inactiveColor: d, getActive: f }) {
242
- let p = s * Math.PI / 180, m = n, h = n * r, g = [];
243
- for (let n = 0; n < i; n += 1) {
244
- let r = (n / i * 360 + o) * Math.PI / 180, s = e + m * Math.cos(r), _ = t + m * Math.sin(r), v = e + h * Math.cos(r), y = t + h * Math.sin(r), b = [
245
- s - e,
246
- _ - t,
247
- 0
248
- ], x = [
249
- v - e,
250
- y - t,
251
- 0
252
- ], [ee, te, S] = gt(b, p), [ne, re, ie] = gt(x, p), [C, w, , T] = _t([
253
- ee,
254
- te,
255
- S
256
- ], c), [E, D, , ae] = _t([
257
- ne,
258
- re,
259
- ie
260
- ], c), oe = e + C, se = t + w, ce = e + E, O = t + D, le = (Math.max(S, ie) - -m * Math.sin(p)) / (2 * m * Math.sin(p) || 1), k = f ? f(n) : !0, A = H.value.style.chart.layout.wheel.ticks.gradient.show ? a(u, n * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : u, j = vt(k ? A : d, le), ue = Math.max(1.25, l * T * (Math.min(W.value.width, W.value.height) / 360));
261
- g.push({
262
- i: n,
263
- x1: oe,
264
- y1: se,
265
- x2: ce,
266
- y2: O,
267
- stroke: ue,
268
- color: j,
269
- z: Math.max(S, ie)
270
- });
271
- }
272
- return g.sort((e, t) => e.z - t.z), g;
273
- }
274
- let bt = w(() => {
275
- if (!H.value.layout === "3d") return null;
276
- let e = Z.value, t = H.value.style.chart.layout.wheel.ticks.gradient.show ? a(H.value.style.chart.layout.wheel.ticks.activeColor, 0) : H.value.style.chart.layout.wheel.ticks.activeColor, n = H.value.style.chart.layout.wheel.ticks.inactiveColor, r = H.value.style.chart.layout.wheel.ticks.strokeWidth;
277
- return yt({
278
- cx: K.value.centerX,
279
- cy: K.value.centerY,
280
- radius: K.value.radius,
281
- innerRatio: H.value.style.chart.layout.wheel.ticks.sizeRatio,
282
- count: e,
283
- startDeg: -90,
284
- axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
285
- f: Math.min(W.value.width, W.value.height) * 1.45,
286
- baseStroke: r,
287
- activeColor: t,
288
- inactiveColor: n,
289
- getActive: (e) => q.value > e * Q.value
290
- });
291
- });
292
- function xt({ cx: e, cy: t, r: n, count: r = 180, startDeg: i = -90, axDeg: a = 50, f: o }) {
293
- let s = a * Math.PI / 180, c = [], l = 0;
294
- for (let a = 0; a < r; a += 1) {
295
- let u = (a / r * 360 + i) * Math.PI / 180, [d, f, p] = gt([
296
- n * Math.cos(u),
297
- n * Math.sin(u),
298
- 0
299
- ], s), [m, h, , g] = _t([
300
- d,
301
- f,
302
- p
303
- ], o);
304
- l += g, c.push([e + m, t + h]);
305
- }
306
- let u = `M ${c[0][0]} ${c[0][1]}`;
307
- for (let e = 1; e < c.length; e += 1) u += ` L ${c[e][0]} ${c[e][1]}`;
308
- u += " Z";
309
- let d = l / r;
310
- return {
311
- d: u,
312
- avgScale: d,
313
- pts: c
314
- };
315
- }
316
- let X = w(() => {
317
- if (H.value.layout !== "3d") return null;
318
- let e = Math.min(W.value.width, W.value.height) * 1.45, t = H.value.style.chart.layout.wheel.tiltAngle3d, n = K.value.radius, { pts: r, avgScale: i } = (() => {
319
- let r = n, i = t, { d: a, avgScale: o, pts: s } = xt({
320
- cx: K.value.centerX,
321
- cy: K.value.centerY,
322
- r,
323
- startDeg: -90,
324
- axDeg: i,
325
- f: e
326
- });
327
- return {
328
- pts: s,
329
- avgScale: o
330
- };
331
- })(), a = Infinity, o = Infinity, s = -Infinity, c = -Infinity;
332
- for (let [e, t] of r) e < a && (a = e), t < o && (o = t), e > s && (s = e), t > c && (c = t);
333
- let l = H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height), u = H.value.style.chart.layout.innerCircle.strokeWidth || 0, d = .5 * Math.max(l, u * (i || 1)), f = Math.max(0, Number(H.value.style.chart.layout.wheel.ticks.depth3d) || 0), p = d;
334
- return {
335
- x: a - p,
336
- y: o - f - p,
337
- w: s - a + 2 * p,
338
- h: c - (o - f) + 2 * p
339
- };
340
- });
341
- function St(e) {
342
- let t = Math.min(W.value.width, W.value.height) * 1.45, { d: n, avgScale: r } = xt({
343
- cx: K.value.centerX,
344
- cy: K.value.centerY,
345
- r: e,
346
- startDeg: -90,
347
- axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
348
- f: t
349
- }), i = (H.value.style.chart.layout.innerCircle.strokeWidth || 1) * r;
350
- return {
351
- d: n,
352
- stroke: H.value.style.chart.layout.innerCircle.stroke,
353
- strokeWidth: i
354
- };
355
- }
356
- let Ct = w(() => St(Math.max(0, K.value.radius * .8 * H.value.style.chart.layout.innerCircle.radiusRatio)));
357
- function wt({ cx: e, cy: t, r: n, aRad: r, ax: i, f: a }) {
358
- let [o, s, c] = gt([
359
- n * Math.cos(r),
360
- n * Math.sin(r),
361
- 0
362
- ], i), [l, u, , d] = _t([
363
- o,
364
- s,
365
- c
366
- ], a);
367
- return {
368
- x: e + l,
369
- y: t + u,
370
- z: c,
371
- s: d
372
- };
373
- }
374
- function Tt({ cx: e, cy: t, radius: n, innerRatio: r = .8, count: i = 120, startDeg: o = -87, axDeg: s = 45, f: c = 600, activeColor: l, inactiveColor: u, getActive: d, Y: f = 0 }) {
375
- let p = s * Math.PI / 180, m = n, h = n * r, g = 2 * Math.PI / i, _ = [];
376
- for (let n = 0; n < i; n += 1) {
377
- let r = o * Math.PI / 180 + g * n, s = r + g * Math.min(1, H.value.style.chart.layout.wheel.ticks.spacingRatio3d), v = wt({
378
- cx: e,
379
- cy: t + f,
380
- r: m,
381
- aRad: r,
382
- ax: p,
383
- f: c
384
- }), y = wt({
385
- cx: e,
386
- cy: t + f,
387
- r: m,
388
- aRad: s,
389
- ax: p,
390
- f: c
391
- }), b = wt({
392
- cx: e,
393
- cy: t + f,
394
- r: h,
395
- aRad: s,
396
- ax: p,
397
- f: c
398
- }), x = wt({
399
- cx: e,
400
- cy: t + f,
401
- r: h,
402
- aRad: r,
403
- ax: p,
404
- f: c
405
- }), ee = (v.z + y.z + x.z + b.z) / 4, te = vt(!d || d(n) ? H.value.style.chart.layout.wheel.ticks.gradient.show ? a(H.value.style.chart.layout.wheel.ticks.activeColor, 100 / i * n / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : l : u, (() => {
406
- let e = m * Math.sin(p) || 1;
407
- return (ee - -e) / (2 * e);
408
- })()), S = `M ${v.x} ${v.y} L ${y.x} ${y.y} L ${b.x} ${b.y} L ${x.x} ${x.y} Z`;
409
- _.push({
410
- i: n,
411
- d: S,
412
- fill: te,
413
- z: ee
414
- });
415
- }
416
- return _.sort((e, t) => e.z - t.z), _;
417
- }
418
- let Et = w(() => {
419
- if (H.value.layout !== "3d") return null;
420
- let e = Z.value;
421
- return (t) => Tt({
422
- cx: K.value.centerX,
423
- cy: K.value.centerY,
424
- radius: K.value.radius,
425
- innerRatio: H.value.style.chart.layout.wheel.ticks.sizeRatio,
426
- count: e,
427
- startDeg: -90,
428
- axDeg: H.value.style.chart.layout.wheel.tiltAngle3d,
429
- f: Math.min(W.value.width, W.value.height) * 1.45,
430
- activeColor: H.value.style.chart.layout.wheel.ticks.activeColor,
431
- inactiveColor: H.value.style.chart.layout.wheel.ticks.inactiveColor,
432
- getActive: (t) => q.value > 100 / e * t,
433
- Y: t
434
- });
435
- });
436
- function Dt(e) {
437
- let t = H.value.style.chart.animation.speed, n = Math.abs(e - q.value) / (t * 120);
438
- function r() {
439
- q.value < e ? q.value = Math.min(q.value + n, e) : q.value > e && (q.value = Math.max(q.value - n, e)), q.value !== e && requestAnimationFrame(r);
440
- }
441
- r();
442
- }
443
- let Z = w(() => (H.value.debug && H.value.style.chart.layout.wheel.ticks.quantity < 12 && console.warn("VueUiWheel - The min number of ticks is 12"), H.value.debug && H.value.style.chart.layout.wheel.ticks.quantity > 200 && console.warn("VueUiWheel - The max number of ticks is 200"), Math.max(12, Math.min(H.value.style.chart.layout.wheel.ticks.quantity, 200)))), Q = w(() => 100 / Z.value), Ot = w(() => {
444
- let e = [];
445
- for (let t = 0; t < Z.value; t += 1) {
446
- let n = q.value > t * Q.value ? H.value.style.chart.layout.wheel.ticks.activeColor : H.value.style.chart.layout.wheel.ticks.inactiveColor, { x: r, y: i } = pt(W.value.size / Z.value * t), { x: o, y: s } = pt(W.value.size / Z.value * t, H.value.style.chart.layout.wheel.ticks.sizeRatio);
447
- e.push({
448
- x1: r,
449
- y1: i,
450
- x2: o,
451
- y2: s,
452
- color: H.value.style.chart.layout.wheel.ticks.gradient.show ? a(n, t * Q.value / Z.value * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : n
453
- });
454
- }
455
- return e;
456
- }), kt = w(() => d({ series: Ot.value.map((e) => ({
457
- name: "",
458
- value: 1,
459
- color: e.color
460
- })) }, K.value.centerX, K.value.centerY, K.value.radius, K.value.radius, 1.99999, 2, 1, 360, 105.25, K.value.radius * (1 - H.value.style.chart.layout.wheel.ticks.sizeRatio))), At = N(!1);
461
- function jt(e) {
462
- At.value = e, qe.value += 1;
463
- }
464
- let Mt = N(!1);
465
- function Nt() {
466
- Mt.value = !Mt.value;
467
- }
468
- async function Pt({ scale: e = 2 } = {}) {
469
- if (!V.value) return;
470
- let { width: t, height: n } = V.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await y({
471
- domElement: V.value,
472
- base64: !0,
473
- img: !0,
474
- scale: e
475
- });
476
- return {
477
- imageUri: i,
478
- base64: a,
479
- title: H.value.style.chart.title.text,
480
- width: t,
481
- height: n,
482
- aspectRatio: r
483
- };
484
- }
485
- let Ft = w(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2), It = w(() => H.value.style.chart.layout.wheel.ticks.strokeWidth * 2 * .75), Lt = w(() => H.value.style.chart.layout.wheel.ticks.strokeWidth), $ = w(() => Math.max(1, Math.min(20, H.value.style.chart.layout.wheel.ticks.depth3d))), Rt = w(() => H.value.style.chart.backgroundColor), { exportSvg: zt, getSvg: Bt } = g({
486
- svg: ot,
487
- title: w(() => H.value.style.chart.title),
488
- backgroundColor: Rt,
489
- stretchTitle: !0
490
- });
491
- async function Vt({ isCb: e }) {
492
- $e.value = !0, await le();
493
- try {
494
- if (e) {
495
- let { blob: e, url: t, text: n, dataUrl: r } = await Bt();
496
- await Promise.resolve(H.value.userOptions.callbacks.svg({
497
- blob: e,
498
- url: t,
499
- text: n,
500
- dataUrl: r
501
- }));
502
- } else await Promise.resolve(zt());
503
- } finally {
504
- $e.value = !1;
505
- }
506
- }
507
- function Ht(e) {
508
- if (e?.stage === "start") {
509
- Qe.value = !0;
510
- return;
511
- }
512
- if (e?.stage === "end") {
513
- Qe.value = !1;
514
- return;
515
- }
516
- dt();
517
- }
518
- async function Ut() {
519
- if (We("copyAlt", {
520
- config: H.value,
521
- dataset: U.value
522
- }), !H.value.userOptions.callbacks.altCopy) {
523
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
524
- return;
525
- }
526
- await Promise.resolve(H.value.userOptions.callbacks.altCopy({
527
- config: H.value,
528
- dataset: U.value
529
- }));
530
- }
531
- let Wt = w(() => `${B.value}-title`), Gt = w(() => `${B.value}-desc`), Kt = w(() => c(H.value.style.chart.layout.percentage.formatter, u(q.value), r({
532
- v: u(q.value),
533
- s: "%",
534
- r: H.value.style.chart.layout.percentage.rounding
535
- }))), qt = w(() => H.value.style.chart.title.text || ""), Jt = w(() => nt.value ? "..." : `${Kt.value}`);
536
- return x({
537
- getImage: Pt,
538
- generatePdf: ut,
539
- generateImage: dt,
540
- generateSvg: Vt,
541
- toggleAnnotator: Nt,
542
- toggleFullscreen: jt,
543
- copyAlt: Ut
544
- }), (e, t) => (M(), D("div", {
545
- class: k(["vue-ui-wheel", {
546
- "vue-data-ui-component": !0,
547
- "vue-ui-wheel-3d-wrap": H.value.layout === "3d"
548
- }]),
549
- ref_key: "wheelChart",
550
- ref: V,
551
- id: B.value,
552
- style: j(`font-family:${H.value.style.fontFamily};width:100%; text-align:center;background:${H.value.style.chart.backgroundColor};${H.value.responsive ? "height:100%" : ""}`),
553
- onMouseenter: t[0] ||= () => I(it)(!0),
554
- onMouseleave: t[1] ||= () => I(it)(!1)
555
- }, [
556
- H.value.userOptions.buttons.annotator ? (M(), T(I(Re), {
557
- key: 0,
558
- svgRef: I(ot),
559
- backgroundColor: H.value.style.chart.backgroundColor,
560
- color: H.value.style.chart.color,
561
- active: Mt.value,
562
- isCursorPointer: et.value,
563
- onClose: Nt
564
- }, {
565
- "annotator-action-close": L(() => [F(e.$slots, "annotator-action-close", {}, void 0, !0)]),
566
- "annotator-action-color": L(({ color: t }) => [F(e.$slots, "annotator-action-color", A(O({ color: t })), void 0, !0)]),
567
- "annotator-action-draw": L(({ mode: t }) => [F(e.$slots, "annotator-action-draw", A(O({ mode: t })), void 0, !0)]),
568
- "annotator-action-undo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-undo", A(O({ disabled: t })), void 0, !0)]),
569
- "annotator-action-redo": L(({ disabled: t }) => [F(e.$slots, "annotator-action-redo", A(O({ disabled: t })), void 0, !0)]),
570
- "annotator-action-delete": L(({ disabled: t }) => [F(e.$slots, "annotator-action-delete", A(O({ disabled: t })), void 0, !0)]),
571
- _: 3
572
- }, 8, [
573
- "svgRef",
574
- "backgroundColor",
575
- "color",
576
- "active",
577
- "isCursorPointer"
578
- ])) : E("", !0),
579
- ft.value ? (M(), D("div", {
580
- key: 1,
581
- ref_key: "noTitle",
582
- ref: Xe,
583
- class: "vue-data-ui-no-title-space",
584
- style: "height:36px; width: 100%;background:transparent"
585
- }, null, 512)) : E("", !0),
586
- H.value.style.chart.title.text ? (M(), D("div", {
587
- key: 2,
588
- ref_key: "chartTitle",
589
- ref: Je,
590
- style: "width:100%;background:transparent;padding-bottom:12px"
591
- }, [(M(), T(b, {
592
- key: `title_${Ze.value}`,
593
- config: {
594
- title: {
595
- cy: "wheel-title",
596
- ...H.value.style.chart.title
597
- },
598
- subtitle: {
599
- cy: "wheel-subtitle",
600
- ...H.value.style.chart.title.subtitle
601
- }
602
- }
603
- }, null, 8, ["config"]))], 512)) : E("", !0),
604
- H.value.userOptions.show && Ge.value && (I(at) || I(rt)) ? (M(), T(I(ze), {
605
- ref_key: "details",
606
- ref: Ke,
607
- key: `user_options_${qe.value}`,
608
- backgroundColor: H.value.style.chart.backgroundColor,
609
- color: H.value.style.chart.color,
610
- isPrinting: I(ct),
611
- isImaging: I(lt),
612
- uid: B.value,
613
- hasPdf: H.value.userOptions.buttons.pdf,
614
- hasImg: H.value.userOptions.buttons.img,
615
- hasSvg: H.value.userOptions.buttons.svg,
616
- hasFullscreen: H.value.userOptions.buttons.fullscreen,
617
- hasAltCopy: H.value.userOptions.buttons.altCopy,
618
- hasXls: !1,
619
- isFullscreen: At.value,
620
- position: H.value.userOptions.position,
621
- titles: { ...H.value.userOptions.buttonTitles },
622
- hasAnnotator: H.value.userOptions.buttons.annotator,
623
- isAnnotation: Mt.value,
624
- chartElement: V.value,
625
- callbacks: H.value.userOptions.callbacks,
626
- printScale: H.value.userOptions.print.scale,
627
- isCursorPointer: et.value,
628
- onToggleFullscreen: jt,
629
- onGeneratePdf: I(ut),
630
- onGenerateImage: Ht,
631
- onGenerateSvg: Vt,
632
- onToggleAnnotator: Nt,
633
- onCopyAlt: Ut,
634
- style: j({ visibility: I(at) ? I(rt) ? "visible" : "hidden" : "visible" })
635
- }, oe({ _: 2 }, [
636
- e.$slots.menuIcon ? {
637
- name: "menuIcon",
638
- fn: L(({ isOpen: t, color: n }) => [F(e.$slots, "menuIcon", A(O({
639
- isOpen: t,
640
- color: n
641
- })), void 0, !0)]),
642
- key: "0"
643
- } : void 0,
644
- e.$slots.optionPdf ? {
645
- name: "optionPdf",
646
- fn: L(() => [F(e.$slots, "optionPdf", {}, void 0, !0)]),
647
- key: "1"
648
- } : void 0,
649
- e.$slots.optionImg ? {
650
- name: "optionImg",
651
- fn: L(() => [F(e.$slots, "optionImg", {}, void 0, !0)]),
652
- key: "2"
653
- } : void 0,
654
- e.$slots.optionSvg ? {
655
- name: "optionSvg",
656
- fn: L(() => [F(e.$slots, "optionSvg", {}, void 0, !0)]),
657
- key: "3"
658
- } : void 0,
659
- e.$slots.optionFullscreen ? {
660
- name: "optionFullscreen",
661
- fn: L(({ toggleFullscreen: t, isFullscreen: n }) => [F(e.$slots, "optionFullscreen", A(O({
662
- toggleFullscreen: t,
663
- isFullscreen: n
664
- })), void 0, !0)]),
665
- key: "4"
666
- } : void 0,
667
- e.$slots.optionAnnotator ? {
668
- name: "optionAnnotator",
669
- fn: L(({ toggleAnnotator: t, isAnnotator: n }) => [F(e.$slots, "optionAnnotator", A(O({
670
- toggleAnnotator: t,
671
- isAnnotator: n
672
- })), void 0, !0)]),
673
- key: "5"
674
- } : void 0,
675
- e.$slots.optionAltCopy ? {
676
- name: "optionAltCopy",
677
- fn: L(({ altCopy: t }) => [F(e.$slots, "optionAltCopy", A(O({ altCopy: t })), void 0, !0)]),
678
- key: "6"
679
- } : void 0,
680
- e.$slots["custom-menu-before"] ? {
681
- name: "custom-menu-before",
682
- fn: L(() => [F(e.$slots, "custom-menu-before", {}, void 0, !0)]),
683
- key: "7"
684
- } : void 0,
685
- e.$slots["custom-menu-after"] ? {
686
- name: "custom-menu-after",
687
- fn: L(() => [F(e.$slots, "custom-menu-after", {}, void 0, !0)]),
688
- key: "8"
689
- } : void 0
690
- ]), 1032, [
691
- "backgroundColor",
692
- "color",
693
- "isPrinting",
694
- "isImaging",
695
- "uid",
696
- "hasPdf",
697
- "hasImg",
698
- "hasSvg",
699
- "hasFullscreen",
700
- "hasAltCopy",
701
- "isFullscreen",
702
- "position",
703
- "titles",
704
- "hasAnnotator",
705
- "isAnnotation",
706
- "chartElement",
707
- "callbacks",
708
- "printScale",
709
- "isCursorPointer",
710
- "onGeneratePdf",
711
- "style"
712
- ])) : E("", !0),
713
- (M(), D("svg", {
714
- ref_key: "svgRef",
715
- ref: ot,
716
- xmlns: I(l),
717
- class: k({
718
- "vue-data-ui-fullscreen--on": At.value,
719
- "vue-data-ui-fulscreen--off": !At.value,
720
- "vue-ui-wheel-3d-svg": H.value.layout === "3d"
721
- }),
722
- viewBox: H.value.layout === "3d" && !H.value.responsive ? `${X.value?.x - 10} ${X.value?.y ?? 0} ${X.value?.w + 20 ?? Math.max(10, W.value.width)} ${X.value?.h ?? Math.max(10, W.value.height)}` : `0 0 ${Math.max(10, W.value.width)} ${Math.max(10, W.value.height)}`,
723
- style: j(`max-width:100%;overflow:visible;background:transparent;color:${H.value.style.chart.color}`),
724
- role: "img",
725
- "aria-labelledby": Wt.value,
726
- "aria-describedby": Gt.value
727
- }, [
728
- ae("title", { id: Wt.value }, pe(qt.value), 9, be),
729
- ae("desc", { id: Gt.value }, pe(Jt.value), 9, xe),
730
- se(I(Be)),
731
- e.$slots["chart-background"] ? (M(), D("foreignObject", {
732
- key: 0,
733
- x: H.value.layout === "3d" && !H.value.responsive ? X.value?.x - 10 : 0,
734
- y: H.value.layout === "3d" && !H.value.responsive ? X.value?.y ?? 0 : 0,
735
- width: H.value.layout === "3d" && !H.value.responsive ? X.value?.w + 20 ?? Math.max(10, W.value.width) : Math.max(10, W.value.width),
736
- height: H.value.layout === "3d" && !H.value.responsive ? X.value?.h ?? Math.max(10, W.value.height) : Math.max(10, W.value.height),
737
- style: { pointerEvents: "none" }
738
- }, [F(e.$slots, "chart-background", {}, void 0, !0)], 8, Se)) : E("", !0),
739
- H.value.layout === "3d" && Ct.value ? (M(), D("path", {
740
- key: 1,
741
- class: "vue-ui-wheel-inner-circle",
742
- d: Ct.value.d,
743
- stroke: H.value.style.chart.layout.innerCircle.stroke,
744
- "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
745
- fill: "none"
746
- }, null, 8, Ce)) : H.value.style.chart.layout.innerCircle.show ? (M(), D("circle", {
747
- key: 2,
748
- class: "vue-ui-wheel-inner-circle",
749
- cx: K.value.centerX,
750
- cy: K.value.centerY,
751
- r: Math.max(0, K.value.radius * H.value.style.chart.layout.innerCircle.radiusRatio * .8),
752
- stroke: H.value.style.chart.layout.innerCircle.stroke,
753
- "stroke-width": H.value.style.chart.layout.innerCircle.strokeWidth,
754
- fill: "none"
755
- }, null, 8, we)) : E("", !0),
756
- H.value.layout === "3d" ? (M(), D(C, { key: 3 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(), D("g", Te, [(M(!0), D(C, null, P($.value, (e) => (M(), D("g", null, [(M(!0), D(C, null, P(bt.value || [], (t) => (M(), D("line", {
757
- key: t.i,
758
- x1: t.x1,
759
- y1: t.y1 - e,
760
- x2: t.x2,
761
- y2: t.y2 - e,
762
- stroke: I(s)(t.color, .25 * e / 5),
763
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
764
- "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
765
- class: k({
766
- "vue-ui-wheel-tick": !0,
767
- "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
768
- })
769
- }, null, 10, Ee))), 128))]))), 256)), (M(!0), D(C, null, P(bt.value || [], (e) => (M(), D("line", {
770
- key: e.i,
771
- x1: e.x1,
772
- y1: e.y1 - $.value,
773
- x2: e.x2,
774
- y2: e.y2 - $.value,
775
- stroke: e.color,
776
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
777
- "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
778
- class: k({
779
- "vue-ui-wheel-tick": !0,
780
- "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
781
- })
782
- }, null, 10, De))), 128))])) : (M(), D("g", Oe, [(M(!0), D(C, null, P($.value, (e) => (M(), D("g", null, [(M(!0), D(C, null, P(Et.value(-e) || [], (e) => (M(), D("path", {
783
- key: e.i,
784
- d: e.d,
785
- fill: H.value.style.chart.layout.wheel.ticks.inactiveColor,
786
- stroke: H.value.style.chart.layout.wheel.ticks.stroke,
787
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
788
- "stroke-linecap": "round",
789
- "stroke-linejoin": "round",
790
- class: "vue-ui-wheel-tick"
791
- }, null, 8, ke))), 128)), (M(!0), D(C, null, P(Et.value(-e) || [], (t) => (M(), D("path", {
792
- key: t.i,
793
- d: t.d,
794
- fill: I(s)(t.fill, .5 * e / $.value),
795
- stroke: H.value.style.chart.layout.wheel.ticks.stroke,
796
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
797
- "stroke-linecap": "round",
798
- "stroke-linejoin": "round",
799
- class: k({
800
- "vue-ui-wheel-tick": !0,
801
- "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && t.i * Q.value <= q.value
802
- })
803
- }, null, 10, Ae))), 128))]))), 256)), ae("g", null, [(M(!0), D(C, null, P(Et.value(-$.value) || [], (e) => (M(), D("path", {
804
- key: e.i,
805
- d: e.d,
806
- fill: e.fill,
807
- stroke: H.value.style.chart.layout.wheel.ticks.stroke,
808
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth,
809
- "stroke-linecap": "round",
810
- "stroke-linejoin": "round",
811
- class: k({
812
- "vue-ui-wheel-tick": !0,
813
- "vue-ui-tick-animated-3d": H.value.style.chart.animation.use && !I(R) && e.i * Q.value <= q.value
814
- })
815
- }, null, 10, je))), 128))])]))], 64)) : (M(), D(C, { key: 4 }, [H.value.style.chart.layout.wheel.ticks.type === "classic" ? (M(!0), D(C, { key: 0 }, P(Ot.value, (e, t) => (M(), D("line", {
816
- x1: e.x1,
817
- x2: e.x2,
818
- y1: e.y1,
819
- y2: e.y2,
820
- stroke: e.color,
821
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth / 360 * Math.min(W.value.width, W.value.height),
822
- "stroke-linecap": H.value.style.chart.layout.wheel.ticks.rounded ? "round" : "butt",
823
- class: k({
824
- "vue-ui-wheel-tick": !0,
825
- "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
826
- })
827
- }, null, 10, Me))), 256)) : (M(!0), D(C, { key: 1 }, P(kt.value, (e, t) => (M(), D("path", {
828
- d: e.arcSlice,
829
- fill: e.color,
830
- class: k({
831
- "vue-ui-wheel-tick": !0,
832
- "vue-ui-tick-animated": H.value.style.chart.animation.use && !I(R) && t * Q.value <= q.value
833
- }),
834
- stroke: H.value.style.chart.layout.wheel.ticks.stroke,
835
- "stroke-width": H.value.style.chart.layout.wheel.ticks.strokeWidth
836
- }, null, 10, Ne))), 256))], 64)),
837
- H.value.style.chart.layout.percentage.show ? (M(), D("g", {
838
- key: 5,
839
- role: "status",
840
- "aria-live": "polite",
841
- "aria-label": I(nt) ? "..." : Kt.value
842
- }, [I(nt) ? (M(), D("rect", {
843
- key: 0,
844
- x: K.value.centerX - 40,
845
- y: K.value.centerY - G.value / 2,
846
- width: 80,
847
- height: G.value,
848
- fill: "#6A6A6A80",
849
- rx: "3"
850
- }, null, 8, Fe)) : (M(), D("text", {
851
- key: 1,
852
- "aria-hidden": "true",
853
- x: K.value.centerX + H.value.style.chart.layout.percentage.offsetX,
854
- y: K.value.centerY + G.value / 3 + H.value.style.chart.layout.percentage.offsetY,
855
- "font-size": G.value,
856
- fill: H.value.style.chart.layout.wheel.ticks.gradient.show ? I(a)(H.value.style.chart.layout.wheel.ticks.activeColor, q.value / 100 * (H.value.style.chart.layout.wheel.ticks.gradient.shiftHueIntensity / 100)) : H.value.style.chart.layout.wheel.ticks.activeColor,
857
- "text-anchor": "middle",
858
- "font-weight": H.value.style.chart.layout.percentage.bold ? "bold" : "normal",
859
- style: { "font-variant-numeric": "tabluar-nums" },
860
- stroke: H.value.style.chart.layout.percentage.stroke,
861
- "stroke-width": H.value.style.chart.layout.percentage.strokeWidth,
862
- "stroke-linecap": "round",
863
- "stroke-linejoin": "round",
864
- "paint-order": "stroke fill",
865
- class: k({ "vue-ui-wheel-label": H.value.layout === "3d" })
866
- }, pe(Kt.value), 11, Ie))], 8, Pe)) : E("", !0),
867
- F(e.$slots, "svg", { svg: {
868
- ...W.value,
869
- isPrintingImg: I(ct) || I(lt) || Qe.value,
870
- isPrintingSvg: $e.value
871
- } }, void 0, !0)
872
- ], 14, ye)),
873
- e.$slots.watermark ? (M(), D("div", Le, [F(e.$slots, "watermark", A(O({ isPrinting: I(ct) || I(lt) || Qe.value || $e.value })), void 0, !0)])) : E("", !0),
874
- e.$slots.source ? (M(), D("div", {
875
- key: 5,
876
- ref_key: "source",
877
- ref: Ye,
878
- dir: "auto"
879
- }, [F(e.$slots, "source", {}, void 0, !0)], 512)) : E("", !0),
880
- F(e.$slots, "skeleton", {}, () => [I(nt) ? (M(), T(h, { key: 0 })) : E("", !0)], !0)
881
- ], 46, ve));
882
- }
883
- }, [["__scopeId", "data-v-c58856ab"]]);
884
- //#endregion
885
- export { _e as n, Re as t };