vue-data-ui 3.20.1 → 3.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/dist/A11yDataTable-BCbtxMU6.js +45 -0
  2. package/dist/Arrow-D6j6ocXm.js +116 -0
  3. package/dist/BaseDraggableDialog-4hDW-Rj2.js +272 -0
  4. package/dist/BaseIcon-DfLoHNUj.js +502 -0
  5. package/dist/BaseLegendToggle-C_Db-y7s.js +56 -0
  6. package/dist/BaseScanner-Dr2a1Msy.js +27 -0
  7. package/dist/BaseZoomControls-CG7hI_1P.js +111 -0
  8. package/dist/ColorPicker-Bjwxnvfh.js +255 -0
  9. package/dist/DataTable-B--IN22e.js +150 -0
  10. package/dist/Legend-Cz2uQ5gs.js +114 -0
  11. package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +577 -0
  12. package/dist/PackageVersion-f0MuYk3R.js +11 -0
  13. package/dist/PenAndPaper-DqrClVfb.js +461 -0
  14. package/dist/RecursiveCircles-D6aDPmoe.js +117 -0
  15. package/dist/RecursiveLabels-D9rfID6q.js +56 -0
  16. package/dist/RecursiveLinks-BygcpDiT.js +78 -0
  17. package/dist/Shape-BPCJfphn.js +141 -0
  18. package/dist/Slicer-SHBj0VaV.js +1144 -0
  19. package/dist/SlicerPreview-DdihbUSJ.js +1668 -0
  20. package/dist/SparkTooltip-CfE6yCad.js +93 -0
  21. package/dist/Title-NWp4qB4K.js +87 -0
  22. package/dist/Tooltip-BENq327o.js +312 -0
  23. package/dist/UserOptions-C1NgoGu6.js +1411 -0
  24. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +8 -0
  25. package/dist/canvas-lib-BOP_HS11.js +79 -0
  26. package/dist/components/arrow.js +2 -0
  27. package/dist/components/vue-ui-3d-bar.js +2 -0
  28. package/dist/components/vue-ui-accordion.js +2 -0
  29. package/dist/components/vue-ui-age-pyramid.js +2 -0
  30. package/dist/components/vue-ui-annotator.js +2 -0
  31. package/dist/components/vue-ui-bullet.js +2 -0
  32. package/dist/components/vue-ui-bump.js +2 -0
  33. package/dist/components/vue-ui-candlestick.js +2 -0
  34. package/dist/components/vue-ui-carousel-table.js +2 -0
  35. package/dist/components/vue-ui-chestnut.js +2 -0
  36. package/dist/components/vue-ui-chord.js +2 -0
  37. package/dist/components/vue-ui-circle-pack.js +2 -0
  38. package/dist/components/vue-ui-cursor.js +2 -0
  39. package/dist/components/vue-ui-dag.js +2 -0
  40. package/dist/components/vue-ui-dashboard.js +2 -0
  41. package/dist/components/vue-ui-digits.js +2 -0
  42. package/dist/components/vue-ui-donut-evolution.js +2 -0
  43. package/dist/components/vue-ui-donut.js +2 -0
  44. package/dist/components/vue-ui-dumbbell.js +2 -0
  45. package/dist/components/vue-ui-flow.js +2 -0
  46. package/dist/components/vue-ui-funnel.js +2 -0
  47. package/dist/components/vue-ui-galaxy.js +2 -0
  48. package/dist/components/vue-ui-gauge.js +2 -0
  49. package/dist/components/vue-ui-geo.js +2 -0
  50. package/dist/components/vue-ui-gizmo.js +2 -0
  51. package/dist/components/vue-ui-heatmap.js +2 -0
  52. package/dist/components/vue-ui-history-plot.js +2 -0
  53. package/dist/components/vue-ui-horizontal-bar.js +2 -0
  54. package/dist/components/vue-ui-icon.js +2 -0
  55. package/dist/components/vue-ui-kpi.js +2 -0
  56. package/dist/components/vue-ui-mini-loader.js +2 -0
  57. package/dist/components/vue-ui-molecule.js +2 -0
  58. package/dist/components/vue-ui-mood-radar.js +2 -0
  59. package/dist/components/vue-ui-nested-donuts.js +2 -0
  60. package/dist/components/vue-ui-onion.js +2 -0
  61. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -0
  62. package/dist/components/vue-ui-pattern-seed.js +2 -0
  63. package/dist/components/vue-ui-pattern.js +2 -0
  64. package/dist/components/vue-ui-quadrant.js +2 -0
  65. package/dist/components/vue-ui-quick-chart.js +2 -0
  66. package/dist/components/vue-ui-radar.js +2 -0
  67. package/dist/components/vue-ui-rating.js +2 -0
  68. package/dist/components/vue-ui-relation-circle.js +2 -0
  69. package/dist/components/vue-ui-ridgeline.js +2 -0
  70. package/dist/components/vue-ui-rings.js +2 -0
  71. package/dist/components/vue-ui-scatter.js +2 -0
  72. package/dist/components/vue-ui-skeleton.js +2 -0
  73. package/dist/components/vue-ui-smiley.js +2 -0
  74. package/dist/components/vue-ui-spark-trend.js +2 -0
  75. package/dist/components/vue-ui-sparkbar.js +2 -0
  76. package/dist/components/vue-ui-sparkgauge.js +2 -0
  77. package/dist/components/vue-ui-sparkhistogram.js +2 -0
  78. package/dist/components/vue-ui-sparkline.js +2 -0
  79. package/dist/components/vue-ui-sparkstackbar.js +2 -0
  80. package/dist/components/vue-ui-stackbar.js +2 -0
  81. package/dist/components/vue-ui-stackline.js +2 -0
  82. package/dist/components/vue-ui-strip-plot.js +2 -0
  83. package/dist/components/vue-ui-table-heatmap.js +2 -0
  84. package/dist/components/vue-ui-table-sparkline.js +2 -0
  85. package/dist/components/vue-ui-table.js +2 -0
  86. package/dist/components/vue-ui-thermometer.js +2 -0
  87. package/dist/components/vue-ui-timer.js +2 -0
  88. package/dist/components/vue-ui-tiremarks.js +2 -0
  89. package/dist/components/vue-ui-treemap.js +2 -0
  90. package/dist/components/vue-ui-vertical-bar.js +2 -0
  91. package/dist/components/vue-ui-waffle.js +2 -0
  92. package/dist/components/vue-ui-wheel.js +2 -0
  93. package/dist/components/vue-ui-word-cloud.js +2 -0
  94. package/dist/components/vue-ui-world.js +2 -0
  95. package/dist/components/vue-ui-xy-canvas.js +2 -0
  96. package/dist/components/vue-ui-xy.js +2 -0
  97. package/dist/dom-to-png-BYtB4BF3.js +237 -0
  98. package/dist/exposedLib-CI8ji8G-.js +19 -0
  99. package/dist/geoProjections-Czak6Jn1.js +145 -0
  100. package/dist/img-1cKsci8e.js +74 -0
  101. package/dist/labelUtils-CUctkYoA.js +19 -0
  102. package/dist/lib-DUeYQsS0.js +1882 -0
  103. package/dist/llms.txt +232 -0
  104. package/dist/patternUtils-CS7hn6at.js +258 -0
  105. package/dist/pdf-D0eZ99cP.js +90 -0
  106. package/dist/rolldown-runtime-Dy4uBu1J.js +11 -0
  107. package/dist/style.css +2 -0
  108. package/dist/types/arrow.d.ts +4 -0
  109. package/dist/types/utils.d.ts +551 -0
  110. package/dist/types/vue-data-ui.d.ts +17190 -0
  111. package/dist/types/vue-ui-3d-bar.d.ts +93 -0
  112. package/dist/types/vue-ui-accordion.d.ts +11 -0
  113. package/dist/types/vue-ui-age-pyramid.d.ts +108 -0
  114. package/dist/types/vue-ui-annotator.d.ts +34 -0
  115. package/dist/types/vue-ui-bullet.d.ts +85 -0
  116. package/dist/types/vue-ui-bump.d.ts +92 -0
  117. package/dist/types/vue-ui-candlestick.d.ts +106 -0
  118. package/dist/types/vue-ui-carousel-table.d.ts +59 -0
  119. package/dist/types/vue-ui-chestnut.d.ts +98 -0
  120. package/dist/types/vue-ui-chord.d.ts +110 -0
  121. package/dist/types/vue-ui-circle-pack.d.ts +126 -0
  122. package/dist/types/vue-ui-cursor.d.ts +9 -0
  123. package/dist/types/vue-ui-dag.d.ts +125 -0
  124. package/dist/types/vue-ui-dashboard.d.ts +68 -0
  125. package/dist/types/vue-ui-digits.d.ts +12 -0
  126. package/dist/types/vue-ui-donut-evolution.d.ts +96 -0
  127. package/dist/types/vue-ui-donut.d.ts +123 -0
  128. package/dist/types/vue-ui-dumbbell.d.ts +94 -0
  129. package/dist/types/vue-ui-flow.d.ts +106 -0
  130. package/dist/types/vue-ui-funnel.d.ts +79 -0
  131. package/dist/types/vue-ui-galaxy.d.ts +114 -0
  132. package/dist/types/vue-ui-gauge.d.ts +89 -0
  133. package/dist/types/vue-ui-geo.d.ts +94 -0
  134. package/dist/types/vue-ui-gizmo.d.ts +22 -0
  135. package/dist/types/vue-ui-heatmap.d.ts +101 -0
  136. package/dist/types/vue-ui-history-plot.d.ts +114 -0
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +116 -0
  138. package/dist/types/vue-ui-icon.d.ts +15 -0
  139. package/dist/types/vue-ui-kpi.d.ts +25 -0
  140. package/dist/types/vue-ui-mini-loader.d.ts +15 -0
  141. package/dist/types/vue-ui-molecule.d.ts +112 -0
  142. package/dist/types/vue-ui-mood-radar.d.ts +92 -0
  143. package/dist/types/vue-ui-nested-donuts.d.ts +111 -0
  144. package/dist/types/vue-ui-onion.d.ts +106 -0
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +125 -0
  146. package/dist/types/vue-ui-pattern-seed.d.ts +14 -0
  147. package/dist/types/vue-ui-pattern.d.ts +15 -0
  148. package/dist/types/vue-ui-quadrant.d.ts +125 -0
  149. package/dist/types/vue-ui-quick-chart.d.ts +108 -0
  150. package/dist/types/vue-ui-radar.d.ts +116 -0
  151. package/dist/types/vue-ui-rating.d.ts +42 -0
  152. package/dist/types/vue-ui-relation-circle.d.ts +92 -0
  153. package/dist/types/vue-ui-ridgeline.d.ts +106 -0
  154. package/dist/types/vue-ui-rings.d.ts +98 -0
  155. package/dist/types/vue-ui-scatter.d.ts +97 -0
  156. package/dist/types/vue-ui-skeleton.d.ts +11 -0
  157. package/dist/types/vue-ui-smiley.d.ts +28 -0
  158. package/dist/types/vue-ui-spark-trend.d.ts +19 -0
  159. package/dist/types/vue-ui-sparkbar.d.ts +49 -0
  160. package/dist/types/vue-ui-sparkgauge.d.ts +28 -0
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +46 -0
  162. package/dist/types/vue-ui-sparkline.d.ts +59 -0
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +60 -0
  164. package/dist/types/vue-ui-stackbar.d.ts +118 -0
  165. package/dist/types/vue-ui-stackline.d.ts +114 -0
  166. package/dist/types/vue-ui-strip-plot.d.ts +96 -0
  167. package/dist/types/vue-ui-table-heatmap.d.ts +62 -0
  168. package/dist/types/vue-ui-table-sparkline.d.ts +53 -0
  169. package/dist/types/vue-ui-table.d.ts +38 -0
  170. package/dist/types/vue-ui-thermometer.d.ts +70 -0
  171. package/dist/types/vue-ui-timer.d.ts +49 -0
  172. package/dist/types/vue-ui-tiremarks.d.ts +70 -0
  173. package/dist/types/vue-ui-treemap.d.ts +104 -0
  174. package/dist/types/vue-ui-vertical-bar.d.ts +22 -0
  175. package/dist/types/vue-ui-waffle.d.ts +101 -0
  176. package/dist/types/vue-ui-wheel.d.ts +70 -0
  177. package/dist/types/vue-ui-word-cloud.d.ts +97 -0
  178. package/dist/types/vue-ui-world.d.ts +98 -0
  179. package/dist/types/vue-ui-xy-canvas.d.ts +101 -0
  180. package/dist/types/vue-ui-xy.d.ts +146 -0
  181. package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +50 -0
  182. package/dist/useChartAccessibility-DYqac8yF.js +12 -0
  183. package/dist/useConfig-DAyQk86L.js +7479 -0
  184. package/dist/useFitSvgText-CT3nmlaS.js +63 -0
  185. package/dist/useNestedProp-CNcoy38D.js +10 -0
  186. package/dist/useObjectBindings-BI7hP-BC.js +189 -0
  187. package/dist/usePanZoom-CYU3B4T3.js +157 -0
  188. package/dist/usePrefersMotion-BC-CsqR1.js +15 -0
  189. package/dist/usePrinter-C1Gqt_Sp.js +49 -0
  190. package/dist/useResponsive-BfnK0KxU.js +19 -0
  191. package/dist/useStableElementSize-C7KADDKj.js +77 -0
  192. package/dist/useSvgExport-SVIsDot8.js +755 -0
  193. package/dist/useTableResponsive-B24Uwt2E.js +24 -0
  194. package/dist/useThemeCheck-C43Tcqmk.js +24 -0
  195. package/dist/useTimeLabelCollider-AEcY4Ioe.js +57 -0
  196. package/dist/useTimeLabels-BmBRv27Y.js +272 -0
  197. package/dist/useUserOptionState-DK-_1ddE.js +15 -0
  198. package/dist/utils.js +28 -0
  199. package/dist/vClickOutside-DUrZWttG.js +13 -0
  200. package/dist/vue-data-ui-C3m9eNp0.js +274 -0
  201. package/dist/vue-data-ui.js +76 -0
  202. package/dist/vue-ui-3d-bar-Bfcitq55.js +1757 -0
  203. package/dist/vue-ui-accordion-Dw4MHKVB.js +81 -0
  204. package/dist/vue-ui-age-pyramid-Dgzd45Ol.js +1238 -0
  205. package/dist/vue-ui-annotator-DLPUAKlm.js +2899 -0
  206. package/dist/vue-ui-bullet-DAeyHSHC.js +710 -0
  207. package/dist/vue-ui-bump-DsiXfIFL.js +1249 -0
  208. package/dist/vue-ui-candlestick-BadEBUcF.js +1826 -0
  209. package/dist/vue-ui-carousel-table-_LCF7RFm.js +455 -0
  210. package/dist/vue-ui-chestnut-BTuAvc7L.js +2010 -0
  211. package/dist/vue-ui-chord-CAyRIJlh.js +1391 -0
  212. package/dist/vue-ui-circle-pack-BWzwg8Qb.js +1608 -0
  213. package/dist/vue-ui-cursor-C6t7nAT4.js +283 -0
  214. package/dist/vue-ui-dag-8Puv77-a.js +2909 -0
  215. package/dist/vue-ui-dashboard-CXDvRu27.js +513 -0
  216. package/dist/vue-ui-digits-BlHqILF0.js +209 -0
  217. package/dist/vue-ui-donut-CclzduCs.js +2410 -0
  218. package/dist/vue-ui-donut-evolution-DEfY2Zvy.js +1510 -0
  219. package/dist/vue-ui-dumbbell-BG5C4Hdg.js +1530 -0
  220. package/dist/vue-ui-flow-B73dHBrL.js +1235 -0
  221. package/dist/vue-ui-funnel-Bn3c5lWX.js +777 -0
  222. package/dist/vue-ui-galaxy-eBY55Fue.js +1077 -0
  223. package/dist/vue-ui-gauge-s8pl305B.js +920 -0
  224. package/dist/vue-ui-geo-Ca2ZPVhH.js +1516 -0
  225. package/dist/vue-ui-gizmo-CBNDeAzT.js +225 -0
  226. package/dist/vue-ui-heatmap-V79kNqUi.js +1568 -0
  227. package/dist/vue-ui-history-plot-jiJh8oaM.js +1554 -0
  228. package/dist/vue-ui-horizontal-bar-60b88qqU.js +1681 -0
  229. package/dist/vue-ui-kpi-DnfazUeY.js +96 -0
  230. package/dist/vue-ui-mini-loader-CyqBt2g4.js +125 -0
  231. package/dist/vue-ui-molecule-BeIVS2yp.js +925 -0
  232. package/dist/vue-ui-mood-radar-DHY1ry9I.js +1148 -0
  233. package/dist/vue-ui-nested-donuts-GNR6O-Z_.js +1487 -0
  234. package/dist/vue-ui-onion-DghkeKRu.js +1200 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-DqfRRSnD.js +1416 -0
  236. package/dist/vue-ui-pattern-DKozfnVn.js +154 -0
  237. package/dist/vue-ui-pattern-seed-BB1honLm.js +61 -0
  238. package/dist/vue-ui-quadrant-BBucQ_8r.js +1978 -0
  239. package/dist/vue-ui-quick-chart-DxxGq-5d.js +2469 -0
  240. package/dist/vue-ui-radar-B0gW_Iur.js +1229 -0
  241. package/dist/vue-ui-rating-BG4lf1z8.js +343 -0
  242. package/dist/vue-ui-relation-circle-C-fNOxJM.js +924 -0
  243. package/dist/vue-ui-ridgeline-CzDR20s3.js +1622 -0
  244. package/dist/vue-ui-rings-DNRdTVqV.js +1246 -0
  245. package/dist/vue-ui-scatter-CRgFebuE.js +2413 -0
  246. package/dist/vue-ui-skeleton-iNzRGgRn.js +2556 -0
  247. package/dist/vue-ui-smiley-G89TxRU-.js +356 -0
  248. package/dist/vue-ui-spark-trend-CPgTOFNY.js +438 -0
  249. package/dist/vue-ui-sparkbar-B4C_YxU-.js +393 -0
  250. package/dist/vue-ui-sparkgauge-DDkSKiba.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-qtb6-Th8.js +560 -0
  252. package/dist/vue-ui-sparkline-TTSEEs7R.js +1507 -0
  253. package/dist/vue-ui-sparkstackbar-DXEnV79Y.js +662 -0
  254. package/dist/vue-ui-stackbar-CwFVpEgH.js +2270 -0
  255. package/dist/vue-ui-stackline-Bph0kD43.js +2398 -0
  256. package/dist/vue-ui-strip-plot-D2_WSwTF.js +1340 -0
  257. package/dist/vue-ui-table-BzmQMHxi.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +344 -0
  259. package/dist/vue-ui-table-sparkline-CXNxbqIw.js +707 -0
  260. package/dist/vue-ui-thermometer-Cqw2_Jpi.js +763 -0
  261. package/dist/vue-ui-timer-BHP_5wgz.js +439 -0
  262. package/dist/vue-ui-tiremarks-D8wFTxXl.js +552 -0
  263. package/dist/vue-ui-treemap-DbSebes7.js +1587 -0
  264. package/dist/vue-ui-waffle-CAIBpbY0.js +1362 -0
  265. package/dist/vue-ui-wheel-B5Cyopnp.js +885 -0
  266. package/dist/vue-ui-word-cloud-BaGDKrKL.js +1656 -0
  267. package/dist/vue-ui-world-DLcVBwLg.js +14264 -0
  268. package/dist/vue-ui-xy-CyP5FAo8.js +4578 -0
  269. package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +1787 -0
  270. package/dist/vue_ui_3d_bar-C4R7o-yX.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BY6c-oX_.js +301 -0
  272. package/dist/vue_ui_bullet-ClzdLoOv.js +186 -0
  273. package/dist/vue_ui_bump-Vl-zYAtG.js +201 -0
  274. package/dist/vue_ui_candlestick-J8jmJvxP.js +374 -0
  275. package/dist/vue_ui_chestnut-D2oUhad6.js +305 -0
  276. package/dist/vue_ui_chord-DPfS1Umc.js +275 -0
  277. package/dist/vue_ui_circle_pack-DZC_rdfn.js +172 -0
  278. package/dist/vue_ui_dag-TsJ_azQq.js +258 -0
  279. package/dist/vue_ui_donut-BDGqG07h.js +358 -0
  280. package/dist/vue_ui_donut_evolution-D1yAAIHr.js +717 -0
  281. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +304 -0
  282. package/dist/vue_ui_flow-BewZjjKG.js +238 -0
  283. package/dist/vue_ui_funnel-_Og4EEkO.js +234 -0
  284. package/dist/vue_ui_galaxy-Ig0cc1_h.js +265 -0
  285. package/dist/vue_ui_gauge-Cf1RZc9q.js +178 -0
  286. package/dist/vue_ui_geo-B8TODs-G.js +248 -0
  287. package/dist/vue_ui_heatmap-B2BBBSWG.js +319 -0
  288. package/dist/vue_ui_history_plot-CuN63VEc.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +341 -0
  290. package/dist/vue_ui_molecule-CO9L59SF.js +231 -0
  291. package/dist/vue_ui_mood_radar-BA6LAKhk.js +281 -0
  292. package/dist/vue_ui_nested_donuts-B8csIoVO.js +273 -0
  293. package/dist/vue_ui_onion-1FTFFS46.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +278 -0
  295. package/dist/vue_ui_quadrant-CDSTKTJz.js +428 -0
  296. package/dist/vue_ui_quick_chart-mZBdml3Z.js +139 -0
  297. package/dist/vue_ui_radar-jafTED5j.js +306 -0
  298. package/dist/vue_ui_relation_circle-D0p4mXmv.js +98 -0
  299. package/dist/vue_ui_ridgeline-VM8_mx4J.js +767 -0
  300. package/dist/vue_ui_rings-BVgD2aMn.js +320 -0
  301. package/dist/vue_ui_scatter-I0POnicu.js +479 -0
  302. package/dist/vue_ui_spark_trend-DxVmpkmC.js +82 -0
  303. package/dist/vue_ui_sparkbar-z6qO--Kf.js +64 -0
  304. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +123 -0
  306. package/dist/vue_ui_sparkline-auZhap6Y.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +175 -0
  308. package/dist/vue_ui_stackbar-COOrQQdK.js +412 -0
  309. package/dist/vue_ui_stackline-DQqKPA9z.js +460 -0
  310. package/dist/vue_ui_strip_plot-CtJe8_gq.js +301 -0
  311. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +80 -0
  312. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +124 -0
  313. package/dist/vue_ui_thermometer-DxgqWKlE.js +123 -0
  314. package/dist/vue_ui_tiremarks-CdEPieWV.js +122 -0
  315. package/dist/vue_ui_treemap-DoEtkRN6.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +247 -0
  317. package/dist/vue_ui_waffle-DIARFc7g.js +292 -0
  318. package/dist/vue_ui_wheel-DZ_nR--t.js +133 -0
  319. package/dist/vue_ui_word_cloud-C-qIMNLu.js +254 -0
  320. package/dist/vue_ui_xy-BLUkWEAm.js +482 -0
  321. package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +408 -0
  322. package/package.json +120 -120
@@ -0,0 +1,777 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { Ct as t, G as n, H as r, J as i, S as a, X as ee, bt as te, i as o, ot as ne, r as re, t as ie, y as ae, zt as s } from "./lib-DUeYQsS0.js";
3
+ import { t as oe } from "./useConfig-DAyQk86L.js";
4
+ import { t as se } from "./usePrinter-C1Gqt_Sp.js";
5
+ import { t as ce } from "./useSvgExport-SVIsDot8.js";
6
+ import { t as c } from "./useNestedProp-CNcoy38D.js";
7
+ import { t as le } from "./useThemeCheck-C43Tcqmk.js";
8
+ import { t as ue } from "./img-1cKsci8e.js";
9
+ import { n as de } from "./Title-NWp4qB4K.js";
10
+ import { t as fe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
11
+ import { c as pe } from "./canvas-lib-BOP_HS11.js";
12
+ import { t as me } from "./useResponsive-BfnK0KxU.js";
13
+ import { t as he } from "./useUserOptionState-DK-_1ddE.js";
14
+ import { t as ge } from "./useChartAccessibility-DYqac8yF.js";
15
+ import { t as _e } from "./vue_ui_funnel-_Og4EEkO.js";
16
+ import { Fragment as l, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as ve, createTextVNode as ye, createVNode as be, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as _, nextTick as xe, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Se, onMounted as Ce, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as we, shallowRef as Te, toDisplayString as T, unref as E, useCssVars as Ee, watch as De, withCtx as D } from "vue";
17
+ //#region src/components/vue-ui-funnel.vue
18
+ var Oe = /* @__PURE__ */ e({ default: () => Ge }), ke = ["id"], Ae = ["xmlns", "viewBox"], je = ["width", "height"], Me = ["id"], Ne = ["stop-color"], Pe = ["stop-color"], Fe = ["stop-color"], Ie = ["stroke", "stroke-width"], Le = ["stroke", "stroke-width"], Re = [
19
+ "x",
20
+ "y",
21
+ "font-size",
22
+ "fill",
23
+ "font-weight"
24
+ ], ze = ["points", "fill"], Be = [
25
+ "stroke",
26
+ "stroke-width",
27
+ "rx"
28
+ ], Ve = [
29
+ "x",
30
+ "y",
31
+ "font-size",
32
+ "fill",
33
+ "font-weight"
34
+ ], He = [
35
+ "x",
36
+ "y",
37
+ "font-size",
38
+ "fill",
39
+ "font-weight"
40
+ ], Ue = {
41
+ key: 5,
42
+ class: "vue-data-ui-watermark"
43
+ }, We = ["innerHTML"], Ge = /* @__PURE__ */ fe({
44
+ __name: "vue-ui-funnel",
45
+ props: {
46
+ config: {
47
+ type: Object,
48
+ default() {
49
+ return {};
50
+ }
51
+ },
52
+ dataset: {
53
+ type: Array,
54
+ default() {
55
+ return [];
56
+ }
57
+ }
58
+ },
59
+ emits: ["copyAlt"],
60
+ setup(e, { expose: fe, emit: Oe }) {
61
+ Ee((e) => ({ v5d52ff0c: Et.value }));
62
+ let Ge = h(() => import("./BaseIcon-DfLoHNUj.js").then((e) => e.n)), Ke = h(() => import("./vue-ui-skeleton-iNzRGgRn.js").then((e) => e.n)), qe = h(() => import("./vue-ui-accordion-Dw4MHKVB.js").then((e) => e.n)), Je = h(() => import("./DataTable-B--IN22e.js")), Ye = h(() => import("./UserOptions-C1NgoGu6.js").then((e) => e.n)), Xe = h(() => import("./PenAndPaper-DqrClVfb.js").then((e) => e.t)), Ze = h(() => import("./PackageVersion-f0MuYk3R.js").then((e) => e.t)), Qe = h(() => import("./BaseDraggableDialog-4hDW-Rj2.js").then((e) => e.n)), { vue_ui_funnel: $e } = oe(), { isThemeValid: et, warnInvalidTheme: tt } = le(), O = e, nt = Oe, k = S(null), A = S(r()), rt = S(0), it = S(0), at = S(0), ot = S(null), st = S(null), ct = S(null), j = Te(null), M = Te(null), N = S(!1), P = S(null), F = S(null), I = S(!1), L = S(!1), R = u(() => !!O.dataset && O.dataset.length);
63
+ Ce(lt);
64
+ function lt() {
65
+ if (t(O.dataset) ? ee({
66
+ componentName: "VueUiFunnel",
67
+ type: "dataset"
68
+ }) : O.dataset.forEach((e, t) => {
69
+ ne({
70
+ datasetObject: e,
71
+ requiredAttributes: ["name", "value"]
72
+ }).forEach((e) => {
73
+ R.value = !1, ee({
74
+ componentName: "VueUiFunnel",
75
+ type: "datasetSerieAttribute",
76
+ property: e,
77
+ index: t
78
+ });
79
+ });
80
+ }), z.value.responsive) {
81
+ let e = pe(() => {
82
+ let { width: e, height: t } = me({
83
+ chart: k.value,
84
+ title: z.value.style.chart.title.text ? ct.value : null,
85
+ source: st.value,
86
+ noTitle: ot.value
87
+ });
88
+ requestAnimationFrame(() => {
89
+ H.value.height = t, H.value.width = e, W.value = xt(), z.value.responsiveProportionalSizing ? (V.value.circles = s({
90
+ relator: Math.min(e, t),
91
+ adjuster: 600,
92
+ source: z.value.style.chart.circles.dataLabels.fontSize,
93
+ threshold: 10,
94
+ fallback: 10
95
+ }), V.value.names = s({
96
+ relator: Math.min(e, t),
97
+ adjuster: 600,
98
+ source: z.value.style.chart.bars.dataLabels.name.fontSize,
99
+ threshold: 10,
100
+ fallback: 10
101
+ }), V.value.values = s({
102
+ relator: Math.min(e, t),
103
+ adjuster: 600,
104
+ source: z.value.style.chart.bars.dataLabels.value.fontSize,
105
+ threshold: 10,
106
+ fallback: 10
107
+ })) : (V.value.circles = z.value.style.chart.circles.dataLabels.fontSize, V.value.names = z.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = z.value.style.chart.bars.dataLabels.value.fontSize);
108
+ });
109
+ });
110
+ j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect()), j.value = new ResizeObserver(e), M.value = k.value.parentNode, j.value.observe(M.value);
111
+ }
112
+ }
113
+ Se(() => {
114
+ j.value && (M.value && j.value.unobserve(M.value), j.value.disconnect());
115
+ });
116
+ function ut() {
117
+ let e = c({
118
+ userConfig: O.config,
119
+ defaultConfig: $e
120
+ }), t = e.theme;
121
+ if (!t) return e;
122
+ if (!et.value(e)) return tt(e), e;
123
+ let n = c({
124
+ userConfig: _e[t] || O.config,
125
+ defaultConfig: e
126
+ });
127
+ return c({
128
+ userConfig: O.config,
129
+ defaultConfig: n
130
+ });
131
+ }
132
+ let z = u({
133
+ get: () => ut(),
134
+ set: (e) => e
135
+ }), dt = u(() => z.value.userOptions.useCursorPointer), { userOptionsVisible: ft, setUserOptionsVisibility: pt, keepUserOptionState: mt } = he({ config: z.value }), { svgRef: ht } = ge({ config: z.value.style.chart.title });
136
+ De(() => O.config, (e) => {
137
+ z.value = ut(), ft.value = !z.value.userOptions.showOnChartHover, lt(), it.value += 1, at.value += 1, V.value.circles = z.value.style.chart.circles.dataLabels.fontSize, V.value.names = z.value.style.chart.bars.dataLabels.name.fontSize, V.value.values = z.value.style.chart.bars.dataLabels.value.fontSize, B.value.showTable = z.value.table.show;
138
+ }, { deep: !0 });
139
+ let { isPrinting: gt, isImaging: _t, generatePdf: vt, generateImage: yt } = se({
140
+ elementId: `funnel_${A.value}`,
141
+ fileName: z.value.style.chart.title.text || "vue-ui-funnel",
142
+ options: z.value.userOptions.print
143
+ }), bt = u(() => z.value.userOptions.show && !z.value.style.chart.title.text), B = S({ showTable: z.value.table.show }), V = S({
144
+ circles: z.value.style.chart.circles.dataLabels.fontSize,
145
+ names: z.value.style.chart.bars.dataLabels.name.fontSize,
146
+ values: z.value.style.chart.bars.dataLabels.value.fontSize
147
+ }), H = u({
148
+ get: () => ({
149
+ height: z.value.style.chart.height,
150
+ width: z.value.style.chart.width
151
+ }),
152
+ set: (e) => e
153
+ }), U = u(() => R.value ? O.dataset.map((e, t) => ({
154
+ ...e,
155
+ color: e.color ? ae(e.color) : te(z.value.style.chart.bars.defaultColor, t / O.dataset.length)
156
+ })) : []);
157
+ setTimeout(() => {
158
+ N.value = !0;
159
+ }, U.value.length * 150);
160
+ function xt() {
161
+ let e = z.value.style.chart.padding.left, t = z.value.style.chart.padding.top;
162
+ return {
163
+ left: e,
164
+ top: t,
165
+ right: H.value.width - z.value.style.chart.padding.right,
166
+ bottom: H.value.height - z.value.style.chart.padding.bottom,
167
+ width: H.value.width - e - z.value.style.chart.padding.right,
168
+ height: H.value.height - t - z.value.style.chart.padding.bottom
169
+ };
170
+ }
171
+ let W = S(xt()), G = u(() => W.value.height / O.dataset.length), K = u(() => G.value * z.value.style.chart.bars.gapRatio), St = u(() => W.value.width * z.value.style.chart.barCircleSpacingRatio), q = u(() => U.value.map((e, t) => {
172
+ let n = G.value - K.value, r = W.value.top + K.value / 2 * t + (G.value - K.value / 2) * t + K.value / 2, i = e.value / U.value[0].value, a = (W.value.width - n - St.value) * (e.value / U.value[0].value);
173
+ return {
174
+ ...e,
175
+ cx: W.value.left + n / 2,
176
+ cy: r + n / 2,
177
+ datapointIndex: t,
178
+ fill: e.color,
179
+ height: Math.max(n, 0),
180
+ proportion: i,
181
+ r: Math.max(n / 2, 0),
182
+ width: Math.max(a, 0),
183
+ x: W.value.left + n + St.value,
184
+ y: r
185
+ };
186
+ })), Ct = u(() => {
187
+ let e = q.value.map((e) => `${e.x + e.width},${e.y + (G.value - K.value) / 2}`);
188
+ return `${q.value[0].x},${q.value[0].y + (G.value - K.value) / 2} ${e.toString()} ${q.value.at(-1).x},${q.value.at(-1).y + (G.value - K.value) / 2}`;
189
+ }), wt = u(() => ({
190
+ x1: q.value[0].cx,
191
+ y1: q.value[0].cy,
192
+ x2: q.value.at(-1).cx,
193
+ y2: q.value.at(-1).cy
194
+ })), J = S(!1);
195
+ function Tt(e) {
196
+ J.value = e, rt.value += 1;
197
+ }
198
+ let Et = u(() => `${U.value.length * 150}ms`), Y = S(!1);
199
+ function Dt() {
200
+ Y.value = !Y.value;
201
+ }
202
+ function Ot() {
203
+ B.value.showTable = !B.value.showTable;
204
+ }
205
+ let X = u(() => ({
206
+ head: U.value.map((e) => ({
207
+ name: e.name,
208
+ color: e.color
209
+ })),
210
+ body: U.value.map((e) => e.value)
211
+ })), Z = u(() => {
212
+ let e = [
213
+ z.value.table.columnNames.series,
214
+ z.value.table.columnNames.value,
215
+ z.value.table.columnNames.percentage
216
+ ], t = X.value.head.map((e, t) => {
217
+ let r = o(z.value.style.chart.bars.dataLabels.value.formatter, X.value.body[t], n({
218
+ p: z.value.style.chart.bars.dataLabels.value.prefix,
219
+ v: X.value.body[t],
220
+ s: z.value.style.chart.bars.dataLabels.value.suffix,
221
+ r: z.value.table.td.roundingValue
222
+ }), { datapoint: q.value[t] }), i = o(z.value.style.chart.circles.dataLabels.formatter, q.value[t].proportion * 100, n({
223
+ v: q.value[t].proportion * 100,
224
+ s: "%",
225
+ r: z.value.table.td.roundingPercentage
226
+ }), { datapoint: q.value[t] });
227
+ return [
228
+ {
229
+ color: e.color,
230
+ name: e.name
231
+ },
232
+ r,
233
+ i
234
+ ];
235
+ }), r = {
236
+ th: {
237
+ backgroundColor: z.value.table.th.backgroundColor,
238
+ color: z.value.table.th.color,
239
+ outline: z.value.table.th.outline
240
+ },
241
+ td: {
242
+ backgroundColor: z.value.table.td.backgroundColor,
243
+ color: z.value.table.td.color,
244
+ outline: z.value.table.td.outline
245
+ },
246
+ breakpoint: z.value.table.responsiveBreakpoint
247
+ };
248
+ return {
249
+ colNames: [
250
+ z.value.table.columnNames.series,
251
+ z.value.table.columnNames.value,
252
+ z.value.table.columnNames.percentage
253
+ ],
254
+ head: e,
255
+ body: t,
256
+ config: r
257
+ };
258
+ });
259
+ function Q(e = null) {
260
+ xe(() => {
261
+ let t = X.value.head.map((e, t) => [
262
+ [e.name],
263
+ [X.value.body[t]],
264
+ [q.value[t].proportion * 100]
265
+ ]), n = a([
266
+ [z.value.style.chart.title.text],
267
+ [z.value.style.chart.title.subtitle.text],
268
+ [
269
+ [z.value.table.columnNames.series],
270
+ [z.value.table.columnNames.value],
271
+ ["%"]
272
+ ]
273
+ ].concat(t));
274
+ e ? e(n) : i({
275
+ csvContent: n,
276
+ title: z.value.style.chart.title.text || "vue-ui-funnel"
277
+ });
278
+ });
279
+ }
280
+ function kt() {
281
+ return U.value;
282
+ }
283
+ async function At({ scale: e = 2 } = {}) {
284
+ if (!k.value) return;
285
+ let { width: t, height: n } = k.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ue({
286
+ domElement: k.value,
287
+ base64: !0,
288
+ img: !0,
289
+ scale: e
290
+ });
291
+ return {
292
+ imageUri: i,
293
+ base64: a,
294
+ title: z.value.style.chart.title.text,
295
+ width: t,
296
+ height: n,
297
+ aspectRatio: r
298
+ };
299
+ }
300
+ let $ = u(() => {
301
+ let e = z.value.table.useDialog && !z.value.table.show, t = B.value.showTable;
302
+ return {
303
+ component: e ? Qe : qe,
304
+ title: `${z.value.style.chart.title.text}${z.value.style.chart.title.subtitle.text ? `: ${z.value.style.chart.title.subtitle.text}` : ""}`,
305
+ props: e ? {
306
+ backgroundColor: z.value.table.th.backgroundColor,
307
+ color: z.value.table.th.color,
308
+ headerColor: z.value.table.th.color,
309
+ headerBg: z.value.table.th.backgroundColor,
310
+ isFullscreen: J.value,
311
+ fullscreenParent: k.value,
312
+ forcedWidth: Math.min(800, window.innerWidth * .8)
313
+ } : {
314
+ hideDetails: !0,
315
+ config: {
316
+ open: t,
317
+ maxHeight: 1e4,
318
+ body: {
319
+ backgroundColor: z.value.style.chart.backgroundColor,
320
+ color: z.value.style.chart.color
321
+ },
322
+ head: {
323
+ backgroundColor: z.value.style.chart.backgroundColor,
324
+ color: z.value.style.chart.color
325
+ }
326
+ }
327
+ }
328
+ };
329
+ });
330
+ De(() => B.value.showTable, (e) => {
331
+ z.value.table.show || (e && z.value.table.useDialog && P.value ? P.value.open() : "close" in P.value && P.value.close());
332
+ });
333
+ function jt() {
334
+ B.value.showTable = !1, F.value && F.value.setTableIconState(!1);
335
+ }
336
+ let Mt = u(() => z.value.style.chart.backgroundColor), { exportSvg: Nt, getSvg: Pt } = ce({
337
+ svg: ht,
338
+ title: u(() => z.value.style.chart.title),
339
+ backgroundColor: Mt
340
+ });
341
+ async function Ft({ isCb: e }) {
342
+ L.value = !0, await xe();
343
+ try {
344
+ if (e) {
345
+ let { blob: e, url: t, text: n, dataUrl: r } = await Pt();
346
+ await Promise.resolve(z.value.userOptions.callbacks.svg({
347
+ blob: e,
348
+ url: t,
349
+ text: n,
350
+ dataUrl: r
351
+ }));
352
+ } else await Promise.resolve(Nt());
353
+ } finally {
354
+ L.value = !1;
355
+ }
356
+ }
357
+ function It(e) {
358
+ if (e?.stage === "start") {
359
+ I.value = !0;
360
+ return;
361
+ }
362
+ if (e?.stage === "end") {
363
+ I.value = !1;
364
+ return;
365
+ }
366
+ yt();
367
+ }
368
+ async function Lt() {
369
+ if (nt("copyAlt", {
370
+ config: z.value,
371
+ dataset: U.value
372
+ }), !z.value.userOptions.callbacks.altCopy) {
373
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
374
+ return;
375
+ }
376
+ await Promise.resolve(z.value.userOptions.callbacks.altCopy({
377
+ config: z.value,
378
+ dataset: U.value
379
+ }));
380
+ }
381
+ return fe({
382
+ getData: kt,
383
+ getImage: At,
384
+ generatePdf: vt,
385
+ generateCsv: Q,
386
+ generateImage: yt,
387
+ generateSvg: Ft,
388
+ toggleTable: Ot,
389
+ toggleAnnotator: Dt,
390
+ toggleFullscreen: Tt,
391
+ copyAlt: Lt
392
+ }), (e, t) => (x(), p("div", {
393
+ ref_key: "funnelChart",
394
+ ref: k,
395
+ class: v(`vue-data-ui-component vue-ui-funnel ${J.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${z.value.useCssAnimation ? "" : "vue-ui-dna"}`),
396
+ style: b(`font-family:${z.value.style.fontFamily};width:100%; ${z.value.responsive ? "height:100%;" : ""} text-align:center;background:${z.value.style.chart.backgroundColor}`),
397
+ id: `funnel_${A.value}`,
398
+ onMouseenter: t[1] ||= () => E(pt)(!0),
399
+ onMouseleave: t[2] ||= () => E(pt)(!1)
400
+ }, [
401
+ z.value.userOptions.buttons.annotator ? (x(), d(E(Xe), {
402
+ key: 0,
403
+ svgRef: E(ht),
404
+ backgroundColor: z.value.style.chart.backgroundColor,
405
+ color: z.value.style.chart.color,
406
+ active: Y.value,
407
+ isCursorPointer: dt.value,
408
+ onClose: Dt
409
+ }, {
410
+ "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
411
+ "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(g({ color: t })), void 0, !0)]),
412
+ "annotator-action-draw": D(({ mode: t }) => [w(e.$slots, "annotator-action-draw", y(g({ mode: t })), void 0, !0)]),
413
+ "annotator-action-undo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-undo", y(g({ disabled: t })), void 0, !0)]),
414
+ "annotator-action-redo": D(({ disabled: t }) => [w(e.$slots, "annotator-action-redo", y(g({ disabled: t })), void 0, !0)]),
415
+ "annotator-action-delete": D(({ disabled: t }) => [w(e.$slots, "annotator-action-delete", y(g({ disabled: t })), void 0, !0)]),
416
+ _: 3
417
+ }, 8, [
418
+ "svgRef",
419
+ "backgroundColor",
420
+ "color",
421
+ "active",
422
+ "isCursorPointer"
423
+ ])) : f("", !0),
424
+ bt.value ? (x(), p("div", {
425
+ key: 1,
426
+ ref_key: "noTitle",
427
+ ref: ot,
428
+ class: "vue-data-ui-no-title-space",
429
+ style: "height:36px; width: 100%;background:transparent"
430
+ }, null, 512)) : f("", !0),
431
+ z.value.style.chart.title.text ? (x(), p("div", {
432
+ key: 2,
433
+ ref_key: "chartTitle",
434
+ ref: ct,
435
+ style: "width:100%;background:transparent;padding-bottom:24px"
436
+ }, [(x(), d(de, {
437
+ key: `title_${it.value}`,
438
+ config: {
439
+ title: {
440
+ cy: "funnel-div-title",
441
+ ...z.value.style.chart.title
442
+ },
443
+ subtitle: {
444
+ cy: "funnel-div-subtitle",
445
+ ...z.value.style.chart.title.subtitle
446
+ }
447
+ }
448
+ }, null, 8, ["config"]))], 512)) : f("", !0),
449
+ z.value.userOptions.show && R.value && (E(mt) || E(ft)) ? (x(), d(E(Ye), {
450
+ ref_key: "userOptionsRef",
451
+ ref: F,
452
+ key: `user_option_${rt.value}`,
453
+ backgroundColor: z.value.style.chart.backgroundColor,
454
+ color: z.value.style.chart.color,
455
+ isPrinting: E(gt),
456
+ isImaging: E(_t),
457
+ uid: A.value,
458
+ hasTooltip: !1,
459
+ hasPdf: z.value.userOptions.buttons.pdf,
460
+ hasImg: z.value.userOptions.buttons.img,
461
+ hasSvg: z.value.userOptions.buttons.svg,
462
+ hasXls: z.value.userOptions.buttons.csv,
463
+ hasTable: z.value.userOptions.buttons.table,
464
+ hasLabel: !1,
465
+ hasFullscreen: z.value.userOptions.buttons.fullscreen,
466
+ hasAltCopy: z.value.userOptions.buttons.altCopy,
467
+ isFullscreen: J.value,
468
+ chartElement: k.value,
469
+ position: z.value.userOptions.position,
470
+ titles: { ...z.value.userOptions.buttonTitles },
471
+ hasAnnotator: z.value.userOptions.buttons.annotator,
472
+ isAnnotation: Y.value,
473
+ callbacks: z.value.userOptions.callbacks,
474
+ printScale: z.value.userOptions.print.scale,
475
+ tableDialog: z.value.table.useDialog,
476
+ isCursorPointer: dt.value,
477
+ onToggleAnnotator: Dt,
478
+ onToggleFullscreen: Tt,
479
+ onGeneratePdf: E(vt),
480
+ onGenerateImage: It,
481
+ onGenerateSvg: Ft,
482
+ onToggleTable: Ot,
483
+ onGenerateCsv: Q,
484
+ onCopyAlt: Lt,
485
+ style: b({ visibility: E(mt) ? E(ft) ? "visible" : "hidden" : "visible" })
486
+ }, ve({ _: 2 }, [
487
+ e.$slots.menuIcon ? {
488
+ name: "menuIcon",
489
+ fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(g({
490
+ isOpen: t,
491
+ color: n
492
+ })), void 0, !0)]),
493
+ key: "0"
494
+ } : void 0,
495
+ e.$slots.optionPdf ? {
496
+ name: "optionPdf",
497
+ fn: D(() => [w(e.$slots, "optionPdf", {}, void 0, !0)]),
498
+ key: "1"
499
+ } : void 0,
500
+ e.$slots.optionCsv ? {
501
+ name: "optionCsv",
502
+ fn: D(() => [w(e.$slots, "optionCsv", {}, void 0, !0)]),
503
+ key: "2"
504
+ } : void 0,
505
+ e.$slots.optionImg ? {
506
+ name: "optionImg",
507
+ fn: D(() => [w(e.$slots, "optionImg", {}, void 0, !0)]),
508
+ key: "3"
509
+ } : void 0,
510
+ e.$slots.optionSvg ? {
511
+ name: "optionSvg",
512
+ fn: D(() => [w(e.$slots, "optionSvg", {}, void 0, !0)]),
513
+ key: "4"
514
+ } : void 0,
515
+ e.$slots.optionTable ? {
516
+ name: "optionTable",
517
+ fn: D(() => [w(e.$slots, "optionTable", {}, void 0, !0)]),
518
+ key: "5"
519
+ } : void 0,
520
+ e.$slots.optionFullscreen ? {
521
+ name: "optionFullscreen",
522
+ fn: D(({ toggleFullscreen: t, isFullscreen: n }) => [w(e.$slots, "optionFullscreen", y(g({
523
+ toggleFullscreen: t,
524
+ isFullscreen: n
525
+ })), void 0, !0)]),
526
+ key: "6"
527
+ } : void 0,
528
+ e.$slots.optionAnnotator ? {
529
+ name: "optionAnnotator",
530
+ fn: D(({ toggleAnnotator: t, isAnnotator: n }) => [w(e.$slots, "optionAnnotator", y(g({
531
+ toggleAnnotator: t,
532
+ isAnnotator: n
533
+ })), void 0, !0)]),
534
+ key: "7"
535
+ } : void 0,
536
+ e.$slots.optionAltCopy ? {
537
+ name: "optionAltCopy",
538
+ fn: D(({ altCopy: t }) => [w(e.$slots, "optionAltCopy", y(g({ altCopy: t })), void 0, !0)]),
539
+ key: "8"
540
+ } : void 0,
541
+ e.$slots["custom-menu-before"] ? {
542
+ name: "custom-menu-before",
543
+ fn: D(() => [w(e.$slots, "custom-menu-before", {}, void 0, !0)]),
544
+ key: "9"
545
+ } : void 0,
546
+ e.$slots["custom-menu-after"] ? {
547
+ name: "custom-menu-after",
548
+ fn: D(() => [w(e.$slots, "custom-menu-after", {}, void 0, !0)]),
549
+ key: "10"
550
+ } : void 0
551
+ ]), 1032, [
552
+ "backgroundColor",
553
+ "color",
554
+ "isPrinting",
555
+ "isImaging",
556
+ "uid",
557
+ "hasPdf",
558
+ "hasImg",
559
+ "hasSvg",
560
+ "hasXls",
561
+ "hasTable",
562
+ "hasFullscreen",
563
+ "hasAltCopy",
564
+ "isFullscreen",
565
+ "chartElement",
566
+ "position",
567
+ "titles",
568
+ "hasAnnotator",
569
+ "isAnnotation",
570
+ "callbacks",
571
+ "printScale",
572
+ "tableDialog",
573
+ "isCursorPointer",
574
+ "onGeneratePdf",
575
+ "style"
576
+ ])) : f("", !0),
577
+ R.value ? (x(), p("svg", {
578
+ key: 4,
579
+ ref_key: "svgRef",
580
+ ref: ht,
581
+ xmlns: E(ie),
582
+ class: v({
583
+ "vue-data-ui-fullscreen--on": J.value,
584
+ "vue-data-ui-fulscreen--off": !J.value
585
+ }),
586
+ viewBox: `0 0 ${H.value.width <= 0 ? 10 : H.value.width} ${H.value.height <= 0 ? 10 : H.value.height}`,
587
+ style: b(`max-width:100%; overflow: visible; background:transparent;color:${z.value.style.chart.color}`)
588
+ }, [
589
+ be(E(Ze)),
590
+ e.$slots["chart-background"] ? (x(), p("foreignObject", {
591
+ key: 0,
592
+ x: 0,
593
+ y: 0,
594
+ width: H.value.width <= 0 ? 10 : H.value.width,
595
+ height: H.value.height <= 0 ? 10 : H.value.height,
596
+ style: { pointerEvents: "none" }
597
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, je)) : f("", !0),
598
+ m("defs", null, [m("linearGradient", {
599
+ id: `funnel_area_${A.value}`,
600
+ x1: "0%",
601
+ x2: "100%",
602
+ y1: "0%",
603
+ y2: "0%"
604
+ }, [
605
+ m("stop", {
606
+ offset: "0%",
607
+ "stop-color": z.value.style.chart.backgroundColor,
608
+ "stop-opacity": 0
609
+ }, null, 8, Ne),
610
+ m("stop", {
611
+ offset: "20%",
612
+ "stop-color": z.value.style.chart.area.color
613
+ }, null, 8, Pe),
614
+ m("stop", {
615
+ offset: "100%",
616
+ "stop-color": z.value.style.chart.area.color
617
+ }, null, 8, Fe)
618
+ ], 8, Me)]),
619
+ z.value.style.chart.circleLinks.show ? (x(), p("line", _({ key: 1 }, wt.value, {
620
+ stroke: z.value.style.chart.circleLinks.color,
621
+ "stroke-width": 12 * z.value.style.chart.circleLinks.widthRatio,
622
+ "stroke-linecap": "round",
623
+ class: { animated: z.value.useCssAnimation },
624
+ style: {
625
+ strokeDasharray: z.value.useCssAnimation ? W.value.height : 0,
626
+ strokeDashoffset: z.value.useCssAnimation ? W.value.height : 0
627
+ }
628
+ }), null, 16, Ie)) : f("", !0),
629
+ (x(!0), p(l, null, C(q.value, ({ cx: e, cy: t, r: n, fill: r }, i) => (x(), p("circle", _({ ref_for: !0 }, {
630
+ cx: e,
631
+ cy: t,
632
+ r: n,
633
+ fill: r
634
+ }, {
635
+ stroke: z.value.style.chart.circles.stroke,
636
+ "stroke-width": z.value.style.chart.circles.strokeWidth,
637
+ class: { animated: z.value.useCssAnimation && !N.value },
638
+ style: { animationDelay: `${150 * i}ms` }
639
+ }), null, 16, Le))), 256)),
640
+ (x(!0), p(l, null, C(q.value, (e, t) => (x(), p("text", {
641
+ x: e.cx,
642
+ y: e.cy + V.value.circles / 3 + z.value.style.chart.circles.dataLabels.offsetY,
643
+ "text-anchor": "middle",
644
+ "font-size": V.value.circles,
645
+ fill: z.value.style.chart.circles.dataLabels.adaptColorToBackground ? E(re)(e.color) : z.value.style.chart.circles.dataLabels.color,
646
+ "font-weight": z.value.style.chart.circles.dataLabels.bold ? "bold" : "normal",
647
+ class: v({ animated: z.value.useCssAnimation && !N.value }),
648
+ style: b({ animationDelay: `${150 * t}ms` })
649
+ }, T(E(o)(z.value.style.chart.circles.dataLabels.formatter, e.proportion * 100, E(n)({
650
+ v: e.proportion * 100,
651
+ s: "%",
652
+ r: z.value.style.chart.circles.dataLabels.rounding
653
+ }), { datapoint: e })), 15, Re))), 256)),
654
+ z.value.style.chart.area.show ? (x(), p("polygon", {
655
+ key: 2,
656
+ points: Ct.value,
657
+ fill: `url(#funnel_area_${A.value})`,
658
+ class: v({ animated: z.value.useCssAnimation && !N.value }),
659
+ style: b({ transition: z.value.useCssAnimation ? `all ${150 * U.value.length}ms ease-in` : "none" })
660
+ }, null, 14, ze)) : f("", !0),
661
+ (x(!0), p(l, null, C(q.value, ({ x: e, y: t, height: n, width: r, fill: i }, a) => (x(), p("rect", _({ ref_for: !0 }, {
662
+ x: e,
663
+ y: t,
664
+ height: n,
665
+ width: r,
666
+ fill: i
667
+ }, {
668
+ stroke: z.value.style.chart.bars.stroke,
669
+ "stroke-width": z.value.style.chart.bars.strokeWidth,
670
+ rx: z.value.style.chart.bars.borderRadius,
671
+ class: { animated: z.value.useCssAnimation && !N.value },
672
+ style: { animationDelay: `${150 * a}ms` }
673
+ }), null, 16, Be))), 256)),
674
+ (x(!0), p(l, null, C(q.value, (e, t) => (x(), p("g", null, [m("text", {
675
+ x: e.x + e.width + z.value.style.chart.bars.dataLabels.name.offsetX + 12,
676
+ y: e.cy - V.value.names / 2 + z.value.style.chart.bars.dataLabels.name.offsetY,
677
+ "text-anchor": "start",
678
+ "font-size": V.value.names,
679
+ fill: z.value.style.chart.bars.dataLabels.name.color,
680
+ "font-weight": z.value.style.chart.bars.dataLabels.name.bold ? "bold" : "normal",
681
+ class: v({ animated: z.value.useCssAnimation && !N.value }),
682
+ style: b({ animationDelay: `${150 * t}ms` })
683
+ }, T(e.name), 15, Ve), m("text", {
684
+ x: e.x + e.width + z.value.style.chart.bars.dataLabels.value.offsetX + 12,
685
+ y: e.cy + V.value.values + z.value.style.chart.bars.dataLabels.value.offsetY,
686
+ "text-anchor": "start",
687
+ "font-size": V.value.values,
688
+ fill: z.value.style.chart.bars.dataLabels.value.color,
689
+ "font-weight": z.value.style.chart.bars.dataLabels.value.bold ? "bold" : "normal",
690
+ class: v({ animated: z.value.useCssAnimation && !N.value }),
691
+ style: b({ animationDelay: `${150 * t}ms` })
692
+ }, T(E(o)(z.value.style.chart.bars.dataLabels.value.formatter, e.value, E(n)({
693
+ p: z.value.style.chart.bars.dataLabels.value.prefix,
694
+ v: e.value,
695
+ s: z.value.style.chart.bars.dataLabels.value.suffix,
696
+ r: z.value.style.chart.bars.dataLabels.value.rounding
697
+ }), { datapoint: e })), 15, He)]))), 256)),
698
+ w(e.$slots, "svg", { svg: {
699
+ ...H.value,
700
+ isPrintingImg: E(gt) || E(_t) || I.value,
701
+ isPrintingSvg: L.value
702
+ } }, void 0, !0)
703
+ ], 14, Ae)) : f("", !0),
704
+ e.$slots.watermark ? (x(), p("div", Ue, [w(e.$slots, "watermark", y(g({ isPrinting: E(gt) || E(_t) || I.value || L.value })), void 0, !0)])) : f("", !0),
705
+ R.value ? f("", !0) : (x(), d(E(Ke), {
706
+ key: 6,
707
+ config: {
708
+ type: "verticalBar",
709
+ style: {
710
+ backgroundColor: z.value.style.chart.backgroundColor,
711
+ verticalBar: {
712
+ axis: { color: "#CCCCCC" },
713
+ color: "#CCCCCC"
714
+ }
715
+ }
716
+ }
717
+ }, null, 8, ["config"])),
718
+ e.$slots.source ? (x(), p("div", {
719
+ key: 7,
720
+ ref_key: "source",
721
+ ref: st,
722
+ dir: "auto"
723
+ }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
724
+ R.value && z.value.userOptions.buttons.table ? (x(), d(we($.value.component), _({ key: 8 }, $.value.props, {
725
+ ref_key: "tableUnit",
726
+ ref: P,
727
+ onClose: jt
728
+ }), ve({
729
+ content: D(() => [(x(), d(E(Je), {
730
+ key: `table_${at.value}`,
731
+ colNames: Z.value.colNames,
732
+ head: Z.value.head,
733
+ body: Z.value.body,
734
+ config: Z.value.config,
735
+ title: z.value.table.useDialog ? "" : $.value.title,
736
+ withCloseButton: !z.value.table.useDialog,
737
+ onClose: jt
738
+ }, {
739
+ th: D(({ th: e }) => [m("div", {
740
+ innerHTML: e,
741
+ style: {
742
+ display: "flex",
743
+ "align-items": "center"
744
+ }
745
+ }, null, 8, We)]),
746
+ td: D(({ td: e }) => [ye(T(e.name ? e.name : e), 1)]),
747
+ _: 1
748
+ }, 8, [
749
+ "colNames",
750
+ "head",
751
+ "body",
752
+ "config",
753
+ "title",
754
+ "withCloseButton"
755
+ ]))]),
756
+ _: 2
757
+ }, [z.value.table.useDialog ? {
758
+ name: "title",
759
+ fn: D(() => [ye(T($.value.title), 1)]),
760
+ key: "0"
761
+ } : void 0, z.value.table.useDialog ? {
762
+ name: "actions",
763
+ fn: D(() => [m("button", {
764
+ tabindex: "0",
765
+ class: "vue-ui-user-options-button",
766
+ onClick: t[0] ||= (e) => Q(z.value.userOptions.callbacks.csv)
767
+ }, [be(E(Ge), {
768
+ name: "fileCsv",
769
+ stroke: $.value.props.color
770
+ }, null, 8, ["stroke"])])]),
771
+ key: "1"
772
+ } : void 0]), 1040)) : f("", !0)
773
+ ], 46, ke));
774
+ }
775
+ }, [["__scopeId", "data-v-a4ff61af"]]);
776
+ //#endregion
777
+ export { Oe as n, Ge as t };