vue-data-ui 3.20.3 → 3.20.4

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