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,1411 @@
1
+ import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
+ import { t } from "./img-1cKsci8e.js";
3
+ import { t as n } from "./_plugin-vue_export-helper-B3ysoDQm.js";
4
+ import { t as r } from "./BaseIcon-DfLoHNUj.js";
5
+ import { t as i } from "./vClickOutside-DUrZWttG.js";
6
+ import { Fragment as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, guardReactiveProps as ee, mergeProps as f, nextTick as p, normalizeClass as m, normalizeProps as h, normalizeStyle as g, onBeforeUnmount as _, onMounted as v, openBlock as y, ref as b, renderSlot as x, toDisplayString as S, unref as te, watch as ne, withDirectives as re, withKeys as ie, withModifiers as C } from "vue";
7
+ //#region src/directives/vPopoverClickOutside.js
8
+ var ae = {
9
+ beforeMount(e, t) {
10
+ let n = () => typeof t.value == "function" ? {
11
+ handler: t.value,
12
+ targets: [e],
13
+ disabled: !1,
14
+ scrollGuardMs: 250,
15
+ moveThreshold: 10
16
+ } : {
17
+ handler: t.value?.handler,
18
+ targets: t.value?.targets ?? [e],
19
+ disabled: !!t.value?.disabled,
20
+ scrollGuardMs: t.value?.scrollGuardMs ?? 250,
21
+ moveThreshold: t.value?.moveThreshold ?? 10
22
+ }, r = {
23
+ lastScrollTs: 0,
24
+ pointerId: null,
25
+ startX: 0,
26
+ startY: 0,
27
+ moved: !1
28
+ }, i = () => {
29
+ r.lastScrollTs = performance.now();
30
+ }, a = (e) => {
31
+ r.pointerId = e.pointerId ?? null, r.startX = e.clientX ?? 0, r.startY = e.clientY ?? 0, r.moved = !1;
32
+ }, o = (e) => {
33
+ if (r.pointerId === null || (e.pointerId ?? null) !== r.pointerId) return;
34
+ let t = (e.clientX ?? 0) - r.startX, i = (e.clientY ?? 0) - r.startY, { moveThreshold: a } = n();
35
+ t * t + i * i >= a * a && (r.moved = !0);
36
+ }, s = (e) => {
37
+ r.pointerId !== null && (e.pointerId ?? null) === r.pointerId && (r.pointerId = null);
38
+ }, c = (e, t) => {
39
+ let n = e.composedPath ? e.composedPath() : [];
40
+ for (let r of t) {
41
+ let t = r && typeof r == "object" && "value" in r ? r.value : r;
42
+ if (t && (t === e.target || t.contains && t.contains(e.target) || n.length && n.includes(t))) return !0;
43
+ }
44
+ return !1;
45
+ }, l = (e) => {
46
+ let { handler: t, targets: i, disabled: a, scrollGuardMs: o } = n();
47
+ a || typeof t == "function" && (performance.now() - r.lastScrollTs < o || r.moved || c(e, i) || t(e));
48
+ };
49
+ e.__vPopoverClickOutside__ = {
50
+ onScrollCapture: i,
51
+ onPointerDownCapture: a,
52
+ onPointerMoveCapture: o,
53
+ onPointerUpCapture: s,
54
+ onClickCapture: l
55
+ }, window.addEventListener("scroll", i, !0), document.addEventListener("pointerdown", a, !0), document.addEventListener("pointermove", o, !0), document.addEventListener("pointerup", s, !0), document.addEventListener("click", l, !0);
56
+ },
57
+ unmounted(e) {
58
+ let t = e.__vPopoverClickOutside__;
59
+ t && (window.removeEventListener("scroll", t.onScrollCapture, !0), document.removeEventListener("pointerdown", t.onPointerDownCapture, !0), document.removeEventListener("pointermove", t.onPointerMoveCapture, !0), document.removeEventListener("pointerup", t.onPointerUpCapture, !0), document.removeEventListener("click", t.onClickCapture, !0), delete e.__vPopoverClickOutside__);
60
+ }
61
+ }, w = /* @__PURE__ */ e({ default: () => T }), oe = ["title", "onKeydown"], se = ["popover", "data-open"], ce = ["title"], le = ["data-open"], T = /* @__PURE__ */ n({
62
+ __name: "UserOptions",
63
+ props: {
64
+ hasPdf: {
65
+ type: Boolean,
66
+ default: !0
67
+ },
68
+ hasXls: {
69
+ type: Boolean,
70
+ default: !0
71
+ },
72
+ hasImg: {
73
+ type: Boolean,
74
+ default: !1
75
+ },
76
+ hasSvg: {
77
+ type: Boolean,
78
+ default: !1
79
+ },
80
+ hasLabel: {
81
+ type: Boolean,
82
+ default: !1
83
+ },
84
+ isLabelActive: {
85
+ type: Boolean,
86
+ default: !1
87
+ },
88
+ hasTable: {
89
+ type: Boolean,
90
+ default: !1
91
+ },
92
+ hasSort: {
93
+ type: Boolean,
94
+ default: !1
95
+ },
96
+ hasStack: {
97
+ type: Boolean,
98
+ default: !1
99
+ },
100
+ hasTooltip: {
101
+ type: Boolean,
102
+ default: !1
103
+ },
104
+ color: { type: String },
105
+ backgroundColor: { type: String },
106
+ isPrinting: {
107
+ type: Boolean,
108
+ default: !1
109
+ },
110
+ isImaging: {
111
+ type: Boolean,
112
+ default: !1
113
+ },
114
+ title: { type: String },
115
+ uid: { type: String },
116
+ hasFullscreen: {
117
+ type: Boolean,
118
+ default: !1
119
+ },
120
+ chartElement: {
121
+ type: HTMLElement,
122
+ default: null
123
+ },
124
+ isFullscreen: {
125
+ type: Boolean,
126
+ default: !1
127
+ },
128
+ isStacked: {
129
+ type: Boolean,
130
+ default: !1
131
+ },
132
+ isTooltip: {
133
+ type: Boolean,
134
+ default: !1
135
+ },
136
+ hasAnimation: {
137
+ type: Boolean,
138
+ default: !1
139
+ },
140
+ isAnimation: {
141
+ type: Boolean,
142
+ default: !1
143
+ },
144
+ titles: {
145
+ type: Object,
146
+ default() {
147
+ return {};
148
+ }
149
+ },
150
+ showTooltips: {
151
+ type: Boolean,
152
+ default: !0
153
+ },
154
+ zIndex: {
155
+ type: Number,
156
+ default: 1
157
+ },
158
+ noOffset: {
159
+ type: Boolean,
160
+ default: !0
161
+ },
162
+ position: {
163
+ type: String,
164
+ default: "right"
165
+ },
166
+ offsetX: {
167
+ type: Number,
168
+ default: 0
169
+ },
170
+ hasAnnotator: {
171
+ type: Boolean,
172
+ default: !1
173
+ },
174
+ isAnnotation: {
175
+ type: Boolean,
176
+ default: !1
177
+ },
178
+ callbacks: {
179
+ type: Object,
180
+ default() {
181
+ return {};
182
+ }
183
+ },
184
+ printScale: {
185
+ type: Number,
186
+ default: 2
187
+ },
188
+ tableDialog: {
189
+ type: Boolean,
190
+ default: !1
191
+ },
192
+ hasZoom: {
193
+ type: Boolean,
194
+ default: !1
195
+ },
196
+ isZoom: {
197
+ type: Boolean,
198
+ default: !1
199
+ },
200
+ isCursorPointer: {
201
+ type: Boolean,
202
+ default: !1
203
+ },
204
+ hasAltCopy: {
205
+ type: Boolean,
206
+ default: !1
207
+ }
208
+ },
209
+ emits: [
210
+ "generatePdf",
211
+ "generateCsv",
212
+ "generateImage",
213
+ "toggleTable",
214
+ "toggleLabels",
215
+ "toggleSort",
216
+ "toggleFullscreen",
217
+ "toggleStack",
218
+ "toggleTooltip",
219
+ "toggleAnimation",
220
+ "toggleAnnotator",
221
+ "generateSvg",
222
+ "toggleZoom",
223
+ "copyAlt"
224
+ ],
225
+ setup(e, { expose: n, emit: w }) {
226
+ let T = e, E = w, D = b(null), O = b(null), k = b(null), A = b(!1), j = o(() => typeof window < "u" && typeof HTMLElement < "u" && "popover" in HTMLElement.prototype);
227
+ async function ue() {
228
+ if (T.callbacks.pdf) {
229
+ let { imageUri: e, base64: n } = await t({
230
+ domElement: T.chartElement,
231
+ base64: !0,
232
+ img: !0,
233
+ scale: T.printScale
234
+ });
235
+ T.callbacks.pdf({
236
+ domElement: T.chartElement,
237
+ base64: n,
238
+ imageUri: e
239
+ });
240
+ } else E("generatePdf");
241
+ }
242
+ function de() {
243
+ E("generateCsv", T.callbacks.csv);
244
+ }
245
+ async function M() {
246
+ if (T.callbacks.img) {
247
+ E("generateImage", { stage: "start" });
248
+ try {
249
+ let { imageUri: e, base64: n } = await t({
250
+ domElement: T.chartElement,
251
+ base64: !0,
252
+ img: !0,
253
+ scale: T.printScale
254
+ });
255
+ await Promise.resolve(T.callbacks.img({
256
+ domElement: T.chartElement,
257
+ imageUri: e,
258
+ base64: n
259
+ }));
260
+ } finally {
261
+ E("generateImage", { stage: "end" });
262
+ }
263
+ } else E("generateImage");
264
+ }
265
+ function fe() {
266
+ E("generateSvg", { isCb: !!T.callbacks.svg });
267
+ }
268
+ let N = b(!1);
269
+ function P() {
270
+ T.callbacks.table ? T.callbacks.table() : (N.value = !N.value, E("toggleTable"));
271
+ }
272
+ function pe(e) {
273
+ N.value = e;
274
+ }
275
+ n({ setTableIconState: pe });
276
+ let F = b(T.isLabelActive);
277
+ function I() {
278
+ T.callbacks.labels ? T.callbacks.labels() : (F.value = !F.value, E("toggleLabels"));
279
+ }
280
+ let L = b(T.isAnimation);
281
+ function R() {
282
+ T.callbacks.animation ? T.callbacks.animation() : (L.value = !L.value, E("toggleAnimation"));
283
+ }
284
+ let z = b(T.isZoom);
285
+ function B() {
286
+ T.callbacks.zoom ? T.callbacks.zoom() : (z.value = !z.value, E("toggleZoom"));
287
+ }
288
+ let V = o({
289
+ get: () => T.isAnnotation,
290
+ set: (e) => e
291
+ });
292
+ function H() {
293
+ T.callbacks.annotator ? T.callbacks.annotator() : (V.value = !V.value, E("toggleAnnotator"));
294
+ }
295
+ function U() {
296
+ T.callbacks.sort ? T.callbacks.sort() : E("toggleSort");
297
+ }
298
+ function W() {
299
+ E("copyAlt");
300
+ }
301
+ let G = b(T.isStacked);
302
+ function me() {
303
+ T.callbacks.stack ? T.callbacks.stack() : (G.value = !G.value, E("toggleStack"));
304
+ }
305
+ let K = b(T.isTooltip);
306
+ function he() {
307
+ T.callbacks.tooltip ? T.callbacks.tooltip() : (K.value = !K.value, E("toggleTooltip"));
308
+ }
309
+ let ge = o({
310
+ get: () => T.isFullscreen,
311
+ set: (e) => E("toggleFullscreen", e)
312
+ });
313
+ function q() {
314
+ if (!T.chartElement) return;
315
+ let e = !T.isFullscreen;
316
+ ge.value = e, e ? T.chartElement.requestFullscreen() : document.exitFullscreen();
317
+ }
318
+ function _e() {
319
+ E("toggleFullscreen", !!document.fullscreenElement);
320
+ }
321
+ v(() => {
322
+ document.addEventListener("fullscreenchange", _e);
323
+ }), _(() => {
324
+ document.removeEventListener("fullscreenchange", _e);
325
+ });
326
+ let J = b(window.innerWidth > 600), Y = b({
327
+ tooltip: !1,
328
+ pdf: !1,
329
+ csv: !1,
330
+ img: !1,
331
+ table: !1,
332
+ labels: !1,
333
+ sort: !1,
334
+ stack: !1,
335
+ fullscreen: !1,
336
+ animation: !1,
337
+ annotator: !1,
338
+ svg: !1,
339
+ zoom: !1,
340
+ altCopy: !1
341
+ }), ve = b(!0);
342
+ function ye() {
343
+ J.value = window.innerWidth > 600, A.value = !A.value, A.value && (ve.value = !1);
344
+ }
345
+ function be() {
346
+ T.isPrinting || T.isImaging || (A.value = !1);
347
+ }
348
+ function xe() {
349
+ A.value && be();
350
+ }
351
+ let X = b(0);
352
+ function Se() {
353
+ X.value = performance.now() + 50;
354
+ }
355
+ function Z() {
356
+ T.isPrinting || T.isImaging || (j.value && $(), A.value = !1);
357
+ }
358
+ function Ce() {
359
+ performance.now() < X.value || Z();
360
+ }
361
+ function we() {
362
+ if (J.value = window.innerWidth > 600, !j.value) {
363
+ A.value || Se(), A.value = !A.value;
364
+ return;
365
+ }
366
+ let e = k.value;
367
+ if (e && e.matches && e.matches(":popover-open") || A.value) {
368
+ A.value = !1, $();
369
+ return;
370
+ }
371
+ Se(), A.value = !0;
372
+ }
373
+ function Te() {
374
+ we();
375
+ }
376
+ function Ee(e, t, n, r) {
377
+ let i = window.devicePixelRatio || 1, a = (e) => Math.round(e * i) / i;
378
+ e.style.position = "fixed", e.style.top = `${a(t)}px`, e.style.left = `${a(n)}px`, e.style.right = "auto", e.style.width = `${a(r)}px`;
379
+ }
380
+ function De(e) {
381
+ if (e.style.width = "", e.style.left = "", e.style.right = "", e.style.top = "", e.style.position = "absolute", e.style.top = "36px", T.position === "right") {
382
+ let t = T.offsetX ? T.offsetX : T.noOffset ? 0 : 4;
383
+ e.style.right = `${t}px`, e.style.left = "auto";
384
+ } else {
385
+ let t = T.noOffset ? 0 : 4;
386
+ e.style.left = `${t}px`, e.style.right = "auto";
387
+ }
388
+ e.style.display = "flex", e.style.visibility = "hidden", e.style.pointerEvents = "none";
389
+ }
390
+ function Oe() {
391
+ if (!j.value || !A.value || !D.value || !k.value) return;
392
+ let e = D.value.getBoundingClientRect(), t = k.value.getBoundingClientRect(), n = e.top + 38;
393
+ if (T.position === "right") {
394
+ let r = T.offsetX ? T.offsetX : T.noOffset ? 0 : 4, i = e.right - r - t.width;
395
+ Ee(k.value, n, i, t.width);
396
+ } else {
397
+ let r = T.noOffset ? 0 : 4, i = e.left + r;
398
+ Ee(k.value, n, i, t.width);
399
+ }
400
+ }
401
+ let ke = 0;
402
+ function Ae() {
403
+ cancelAnimationFrame(ke), ke = requestAnimationFrame(() => {
404
+ Oe();
405
+ });
406
+ }
407
+ function Q() {
408
+ j.value && A.value && Ae();
409
+ }
410
+ function je(e, t) {
411
+ let n = window.devicePixelRatio || 1, r = (e) => Math.round(e * n) / n;
412
+ e.style.position = "fixed", e.style.top = `${r(t.top)}px`, e.style.left = `${r(t.left)}px`, e.style.right = "auto", e.style.width = `${r(t.width)}px`;
413
+ }
414
+ async function Me(e = !1) {
415
+ if (!j.value) return;
416
+ let t = k.value;
417
+ if (!t) return;
418
+ let n = t.getAttribute("style") || "", r = t.getAttribute("data-open");
419
+ t.setAttribute("popover", "manual");
420
+ try {
421
+ t.setAttribute("data-open", "true"), De(t), await p();
422
+ let i = t.getBoundingClientRect();
423
+ t.setAttribute("style", n), r === null ? t.removeAttribute("data-open") : t.setAttribute("data-open", r), je(t, i), e || (typeof t.showPopover == "function" ? t.showPopover() : t.style.display = "flex");
424
+ } catch {
425
+ if (!e) try {
426
+ typeof t.showPopover == "function" ? t.showPopover() : t.style.display = "flex";
427
+ } catch {}
428
+ }
429
+ }
430
+ function $() {
431
+ if (!j.value) return;
432
+ let e = k.value;
433
+ if (e) {
434
+ e.setAttribute("popover", "manual");
435
+ try {
436
+ typeof e.hidePopover == "function" ? e.hidePopover() : e.style.display = "none";
437
+ } catch {
438
+ e.style.display = "none";
439
+ }
440
+ e.style.position = "", e.style.top = "", e.style.left = "", e.style.right = "", e.style.width = "", e.style.inset = "";
441
+ }
442
+ }
443
+ function Ne() {
444
+ if (!j.value) return;
445
+ let e = k.value;
446
+ e && (A.value &&= typeof e.matches == "function" ? (() => {
447
+ try {
448
+ return e.matches(":popover-open");
449
+ } catch {
450
+ return !1;
451
+ }
452
+ })() : !1);
453
+ }
454
+ function Pe(e) {
455
+ if (!j.value || !A.value || performance.now() < X.value) return;
456
+ let t = e.composedPath ? e.composedPath() : [], n = O.value ? t.includes(O.value) : !1, r = k.value ? t.includes(k.value) : !1;
457
+ !n && !r && Z();
458
+ }
459
+ ne(() => T.isFullscreen, async () => {
460
+ j.value && (await p(), A.value && Me());
461
+ }), ne(() => A.value, async (e) => {
462
+ j.value && (await p(), e ? (await Me(!1), Oe()) : $());
463
+ });
464
+ function Fe(e) {
465
+ e.key === "Escape" && D.value && D.value.contains(document.activeElement) && (e.preventDefault(), e.stopPropagation(), Z(), O.value?.focus());
466
+ }
467
+ return v(() => {
468
+ window.addEventListener("pointerdown", Pe, !0), window.addEventListener("resize", Q, { passive: !0 }), window.addEventListener("scroll", Q, {
469
+ passive: !0,
470
+ capture: !0
471
+ }), k.value && k.value.addEventListener("toggle", Ne);
472
+ }), _(() => {
473
+ window.removeEventListener("pointerdown", Pe, !0), window.removeEventListener("resize", Q), window.removeEventListener("scroll", Q, !0), k.value && k.value.removeEventListener("toggle", Ne);
474
+ }), (t, n) => j.value ? re((y(), l("div", {
475
+ key: 0,
476
+ ref_key: "rootRef",
477
+ ref: D,
478
+ "data-dom-to-png-ignore": "",
479
+ class: "vue-ui-user-options",
480
+ style: g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`),
481
+ onKeydown: Fe
482
+ }, [u("div", {
483
+ ref_key: "triggerRef",
484
+ ref: O,
485
+ tabindex: "0",
486
+ role: "button",
487
+ title: A.value ? e.titles.close || "" : e.titles.open || "",
488
+ style: g(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:${e.isCursorPointer ? "pointer" : "default"}; background:transparent`),
489
+ onPointerdown: C(we, ["stop", "prevent"]),
490
+ onKeydown: ie(C(Te, ["stop", "prevent"]), ["enter"])
491
+ }, [x(t.$slots, "menuIcon", h(ee({
492
+ isOpen: A.value,
493
+ color: e.color
494
+ })), () => [d(r, {
495
+ name: A.value ? "close" : "menu",
496
+ stroke: e.color,
497
+ "stroke-width": 2
498
+ }, null, 8, ["name", "stroke"])], !0)], 44, oe), u("div", {
499
+ ref_key: "drawerRef",
500
+ ref: k,
501
+ popover: j.value ? "manual" : null,
502
+ "data-open": j.value ? null : A.value,
503
+ class: m({ "vue-ui-user-options-drawer": !0 }),
504
+ style: g(j.value ? { background: e.backgroundColor } : `background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
505
+ }, [
506
+ x(t.$slots, "custom-menu-before", {}, void 0, !0),
507
+ e.hasPdf ? (y(), l("button", {
508
+ key: 0,
509
+ tabindex: "0",
510
+ class: "vue-ui-user-options-button",
511
+ onClick: ue,
512
+ onMouseenter: n[0] ||= (e) => Y.value.pdf = !0,
513
+ onMouseout: n[1] ||= (e) => Y.value.pdf = !1,
514
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
515
+ }, [t.$slots.optionPdf ? x(t.$slots, "optionPdf", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.isPrinting ? (y(), s(r, {
516
+ key: 0,
517
+ name: "hourglass",
518
+ isSpin: "",
519
+ stroke: e.color,
520
+ style: { "pointer-events": "none" }
521
+ }, null, 8, ["stroke"])) : (y(), s(r, {
522
+ key: 1,
523
+ name: "filePdf",
524
+ stroke: e.color,
525
+ style: { "pointer-events": "none" }
526
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.pdf ? (y(), l("div", {
527
+ key: 2,
528
+ dir: "auto",
529
+ class: m({
530
+ "button-info-left": e.position === "left",
531
+ "button-info-right": e.position === "right",
532
+ "button-info-right-visible": e.position === "right" && Y.value.pdf,
533
+ "button-info-left-visible": e.position === "left" && Y.value.pdf
534
+ }),
535
+ style: g({
536
+ background: e.backgroundColor,
537
+ color: e.color
538
+ })
539
+ }, S(e.titles.pdf), 7)) : c("", !0)], 36)) : c("", !0),
540
+ e.hasXls ? (y(), l("button", {
541
+ key: 1,
542
+ tabindex: "0",
543
+ class: "vue-ui-user-options-button",
544
+ onClick: de,
545
+ onMouseenter: n[2] ||= (e) => Y.value.csv = !0,
546
+ onMouseout: n[3] ||= (e) => Y.value.csv = !1,
547
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
548
+ }, [t.$slots.optionCsv ? x(t.$slots, "optionCsv", { key: 0 }, void 0, !0) : (y(), s(r, {
549
+ key: 1,
550
+ name: "fileCsv",
551
+ stroke: e.color,
552
+ style: { "pointer-events": "none" }
553
+ }, null, 8, ["stroke"])), J.value && e.titles.csv ? (y(), l("div", {
554
+ key: 2,
555
+ dir: "auto",
556
+ class: m({
557
+ "button-info-left": e.position === "left",
558
+ "button-info-right": e.position === "right",
559
+ "button-info-right-visible": e.position === "right" && Y.value.csv,
560
+ "button-info-left-visible": e.position === "left" && Y.value.csv
561
+ }),
562
+ style: g({
563
+ background: e.backgroundColor,
564
+ color: e.color
565
+ })
566
+ }, S(e.titles.csv), 7)) : c("", !0)], 36)) : c("", !0),
567
+ e.hasImg ? (y(), l("button", {
568
+ key: 2,
569
+ tabindex: "0",
570
+ class: "vue-ui-user-options-button",
571
+ onClick: M,
572
+ onMouseenter: n[4] ||= (e) => Y.value.img = !0,
573
+ onMouseout: n[5] ||= (e) => Y.value.img = !1,
574
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
575
+ }, [t.$slots.optionImg ? x(t.$slots, "optionImg", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.isImaging ? (y(), s(r, {
576
+ key: 0,
577
+ name: "hourglass",
578
+ isSpin: "",
579
+ stroke: e.color,
580
+ style: { "pointer-events": "none" }
581
+ }, null, 8, ["stroke"])) : (y(), s(r, {
582
+ key: 1,
583
+ name: "filePng",
584
+ stroke: e.color,
585
+ style: { "pointer-events": "none" }
586
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.img ? (y(), l("div", {
587
+ key: 2,
588
+ dir: "auto",
589
+ class: m({
590
+ "button-info-left": e.position === "left",
591
+ "button-info-right": e.position === "right",
592
+ "button-info-right-visible": e.position === "right" && Y.value.img,
593
+ "button-info-left-visible": e.position === "left" && Y.value.img
594
+ }),
595
+ style: g({
596
+ background: e.backgroundColor,
597
+ color: e.color
598
+ })
599
+ }, S(e.titles.img), 7)) : c("", !0)], 36)) : c("", !0),
600
+ e.hasSvg ? (y(), l("button", {
601
+ key: 3,
602
+ tabindex: "0",
603
+ class: "vue-ui-user-options-button",
604
+ onClick: fe,
605
+ onMouseenter: n[6] ||= (e) => Y.value.svg = !0,
606
+ onMouseout: n[7] ||= (e) => Y.value.svg = !1,
607
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
608
+ }, [t.$slots.optionSvg ? x(t.$slots, "optionSvg", { key: 0 }, void 0, !0) : (y(), s(r, {
609
+ key: 1,
610
+ name: "fileSvg",
611
+ stroke: e.color,
612
+ style: { "pointer-events": "none" }
613
+ }, null, 8, ["stroke"])), J.value && e.titles.svg ? (y(), l("div", {
614
+ key: 2,
615
+ dir: "auto",
616
+ class: m({
617
+ "button-info-left": e.position === "left",
618
+ "button-info-right": e.position === "right",
619
+ "button-info-right-visible": e.position === "right" && Y.value.svg,
620
+ "button-info-left-visible": e.position === "left" && Y.value.svg
621
+ }),
622
+ style: g({
623
+ background: e.backgroundColor,
624
+ color: e.color
625
+ })
626
+ }, S(e.titles.svg), 7)) : c("", !0)], 36)) : c("", !0),
627
+ e.hasTooltip ? (y(), l("button", {
628
+ key: 4,
629
+ tabindex: "0",
630
+ class: "vue-ui-user-options-button",
631
+ onClick: he,
632
+ onMouseenter: n[8] ||= (e) => Y.value.tooltip = !0,
633
+ onMouseout: n[9] ||= (e) => Y.value.tooltip = !1,
634
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
635
+ }, [t.$slots.optionTooltip ? x(t.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [K.value ? (y(), s(r, {
636
+ key: 0,
637
+ name: "tooltip",
638
+ stroke: e.color,
639
+ style: { "pointer-events": "none" }
640
+ }, null, 8, ["stroke"])) : (y(), s(r, {
641
+ key: 1,
642
+ name: "tooltipDisabled",
643
+ stroke: e.color,
644
+ style: { "pointer-events": "none" }
645
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.tooltip ? (y(), l("div", {
646
+ key: 2,
647
+ dir: "auto",
648
+ class: m({
649
+ "button-info-left": e.position === "left",
650
+ "button-info-right": e.position === "right",
651
+ "button-info-left-visible": e.position === "left" && Y.value.tooltip,
652
+ "button-info-right-visible": e.position === "right" && Y.value.tooltip
653
+ }),
654
+ style: g({
655
+ background: e.backgroundColor,
656
+ color: e.color
657
+ })
658
+ }, S(e.titles.tooltip), 7)) : c("", !0)], 36)) : c("", !0),
659
+ e.hasTable ? (y(), l("button", {
660
+ key: 5,
661
+ tabindex: "0",
662
+ class: "vue-ui-user-options-button",
663
+ onClick: P,
664
+ onMouseenter: n[10] ||= (e) => Y.value.table = !0,
665
+ onMouseout: n[11] ||= (e) => Y.value.table = !1,
666
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
667
+ }, [t.$slots.optionTable ? x(t.$slots, "optionTable", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.tableDialog ? (y(), s(r, {
668
+ key: 0,
669
+ name: N.value ? "tableDialogClose" : "tableDialogOpen",
670
+ stroke: e.color,
671
+ style: { "pointer-events": "none" }
672
+ }, null, 8, ["name", "stroke"])) : (y(), s(r, {
673
+ key: 1,
674
+ name: N.value ? "tableClose" : "tableOpen",
675
+ stroke: e.color,
676
+ style: { "pointer-events": "none" }
677
+ }, null, 8, ["name", "stroke"]))], 64)), J.value && e.titles.table ? (y(), l("div", {
678
+ key: 2,
679
+ dir: "auto",
680
+ class: m({
681
+ "button-info-left": e.position === "left",
682
+ "button-info-right": e.position === "right",
683
+ "button-info-right-visible": e.position === "right" && Y.value.table,
684
+ "button-info-left-visible": e.position === "left" && Y.value.table
685
+ }),
686
+ style: g({
687
+ background: e.backgroundColor,
688
+ color: e.color
689
+ })
690
+ }, S(e.titles.table), 7)) : c("", !0)], 36)) : c("", !0),
691
+ e.hasLabel ? (y(), l("button", {
692
+ key: 6,
693
+ tabindex: "0",
694
+ class: "vue-ui-user-options-button",
695
+ onClick: I,
696
+ onMouseenter: n[12] ||= (e) => Y.value.labels = !0,
697
+ onMouseout: n[13] ||= (e) => Y.value.labels = !1,
698
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
699
+ }, [t.$slots.optionLabels ? x(t.$slots, "optionLabels", { key: 0 }, void 0, !0) : (y(), s(r, {
700
+ key: 1,
701
+ name: F.value ? "labelClose" : "labelOpen",
702
+ stroke: e.color,
703
+ style: { "pointer-events": "none" }
704
+ }, null, 8, ["name", "stroke"])), J.value && e.titles.labels ? (y(), l("div", {
705
+ key: 2,
706
+ dir: "auto",
707
+ class: m({
708
+ "button-info-left": e.position === "left",
709
+ "button-info-right": e.position === "right",
710
+ "button-info-right-visible": e.position === "right" && Y.value.labels,
711
+ "button-info-left-visible": e.position === "left" && Y.value.labels
712
+ }),
713
+ style: g({
714
+ background: e.backgroundColor,
715
+ color: e.color
716
+ })
717
+ }, S(e.titles.labels), 7)) : c("", !0)], 36)) : c("", !0),
718
+ e.hasSort ? (y(), l("button", {
719
+ key: 7,
720
+ tabindex: "0",
721
+ class: "vue-ui-user-options-button",
722
+ onClick: U,
723
+ onMouseenter: n[14] ||= (e) => Y.value.sort = !0,
724
+ onMouseout: n[15] ||= (e) => Y.value.sort = !1,
725
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
726
+ }, [t.$slots.optionSort ? x(t.$slots, "optionSort", { key: 0 }, void 0, !0) : (y(), s(r, {
727
+ key: 1,
728
+ name: "sort",
729
+ stroke: e.color,
730
+ style: { "pointer-events": "none" }
731
+ }, null, 8, ["stroke"])), J.value && e.titles.sort ? (y(), l("div", {
732
+ key: 2,
733
+ dir: "auto",
734
+ class: m({
735
+ "button-info-left": e.position === "left",
736
+ "button-info-right": e.position === "right",
737
+ "button-info-right-visible": e.position === "right" && Y.value.sort,
738
+ "button-info-left-visible": e.position === "left" && Y.value.sort
739
+ }),
740
+ style: g({
741
+ background: e.backgroundColor,
742
+ color: e.color
743
+ })
744
+ }, S(e.titles.sort), 7)) : c("", !0)], 36)) : c("", !0),
745
+ e.hasStack ? (y(), l("button", {
746
+ key: 8,
747
+ tabindex: "0",
748
+ class: "vue-ui-user-options-button",
749
+ onClick: me,
750
+ onMouseenter: n[16] ||= (e) => Y.value.stack = !0,
751
+ onMouseout: n[17] ||= (e) => Y.value.stack = !1,
752
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
753
+ }, [t.$slots.optionStack ? x(t.$slots, "optionStack", h(f({ key: 0 }, { isStack: G.value })), void 0, !0) : (y(), l(a, { key: 1 }, [G.value ? (y(), s(r, {
754
+ key: 0,
755
+ name: "unstack",
756
+ stroke: e.color,
757
+ style: { "pointer-events": "none" }
758
+ }, null, 8, ["stroke"])) : (y(), s(r, {
759
+ key: 1,
760
+ name: "stack",
761
+ stroke: e.color,
762
+ style: { "pointer-events": "none" }
763
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.stack ? (y(), l("div", {
764
+ key: 2,
765
+ dir: "auto",
766
+ class: m({
767
+ "button-info-left": e.position === "left",
768
+ "button-info-right": e.position === "right",
769
+ "button-info-right-visible": e.position === "right" && Y.value.stack,
770
+ "button-info-left-visible": e.position === "left" && Y.value.stack
771
+ }),
772
+ style: g({
773
+ background: e.backgroundColor,
774
+ color: e.color
775
+ })
776
+ }, S(e.titles.stack), 7)) : c("", !0)], 36)) : c("", !0),
777
+ e.hasFullscreen ? (y(), l("button", {
778
+ key: 9,
779
+ tabindex: "0",
780
+ class: "vue-ui-user-options-button",
781
+ onMouseenter: n[18] ||= (e) => Y.value.fullscreen = !0,
782
+ onMouseout: n[19] ||= (e) => Y.value.fullscreen = !1,
783
+ onClick: n[20] ||= (t) => q(e.isFullscreen ? "out" : "in"),
784
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
785
+ }, [t.$slots.optionFullscreen ? x(t.$slots, "optionFullscreen", h(f({ key: 0 }, {
786
+ toggleFullscreen: q,
787
+ isFullscreen: e.isFullscreen
788
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [e.isFullscreen ? (y(), s(r, {
789
+ key: 0,
790
+ name: "exitFullscreen",
791
+ stroke: e.color,
792
+ style: { "pointer-events": "none" }
793
+ }, null, 8, ["stroke"])) : (y(), s(r, {
794
+ key: 1,
795
+ name: "fullscreen",
796
+ stroke: e.color,
797
+ style: { "pointer-events": "none" }
798
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.fullscreen ? (y(), l("div", {
799
+ key: 2,
800
+ dir: "auto",
801
+ class: m({
802
+ "button-info-left": e.position === "left",
803
+ "button-info-right": e.position === "right",
804
+ "button-info-right-visible": e.position === "right" && Y.value.fullscreen,
805
+ "button-info-left-visible": e.position === "left" && Y.value.fullscreen
806
+ }),
807
+ style: g({
808
+ background: e.backgroundColor,
809
+ color: e.color
810
+ })
811
+ }, S(e.titles.fullscreen), 7)) : c("", !0)], 36)) : c("", !0),
812
+ e.hasZoom ? (y(), l("button", {
813
+ key: 10,
814
+ tabindex: "0",
815
+ class: "vue-ui-user-options-button",
816
+ onMouseenter: n[21] ||= (e) => Y.value.zoom = !0,
817
+ onMouseout: n[22] ||= (e) => Y.value.zoom = !1,
818
+ onClick: n[23] ||= (e) => B(),
819
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
820
+ }, [t.$slots.optionZoom ? x(t.$slots, "optionZoom", h(f({ key: 0 }, {
821
+ toggleZoom: B,
822
+ isZoomLocked: !e.isZoom
823
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [e.isZoom ? (y(), s(r, {
824
+ key: 0,
825
+ name: "zoomUnlock",
826
+ stroke: e.color,
827
+ style: { "pointer-events": "none" }
828
+ }, null, 8, ["stroke"])) : (y(), s(r, {
829
+ key: 1,
830
+ name: "zoomLock",
831
+ stroke: e.color,
832
+ style: { "pointer-events": "none" }
833
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.zoom ? (y(), l("div", {
834
+ key: 2,
835
+ dir: "auto",
836
+ class: m({
837
+ "button-info-left": e.position === "left",
838
+ "button-info-right": e.position === "right",
839
+ "button-info-right-visible": e.position === "right" && Y.value.zoom,
840
+ "button-info-left-visible": e.position === "left" && Y.value.zoom
841
+ }),
842
+ style: g({
843
+ background: e.backgroundColor,
844
+ color: e.color
845
+ })
846
+ }, S(e.titles.zoom), 7)) : c("", !0)], 36)) : c("", !0),
847
+ e.hasAnimation ? (y(), l("button", {
848
+ key: 11,
849
+ tabindex: "0",
850
+ class: "vue-ui-user-options-button",
851
+ onMouseenter: n[24] ||= (e) => Y.value.animation = !0,
852
+ onMouseout: n[25] ||= (e) => Y.value.animation = !1,
853
+ onClick: R,
854
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
855
+ }, [t.$slots.optionAnimation ? x(t.$slots, "optionAnimation", h(f({ key: 0 }, {
856
+ toggleAnimation: R,
857
+ isAnimated: L.value
858
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [L.value ? (y(), s(r, {
859
+ key: 0,
860
+ name: "play",
861
+ stroke: e.color,
862
+ style: { "pointer-events": "none" }
863
+ }, null, 8, ["stroke"])) : (y(), s(r, {
864
+ key: 1,
865
+ name: "pause",
866
+ stroke: e.color,
867
+ style: { "pointer-events": "none" }
868
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.fullscreen ? (y(), l("div", {
869
+ key: 2,
870
+ dir: "auto",
871
+ class: m({
872
+ "button-info-left": e.position === "left",
873
+ "button-info-right": e.position === "right",
874
+ "button-info-right-visible": e.position === "right" && Y.value.animation,
875
+ "button-info-left-visible": e.position === "left" && Y.value.animation
876
+ }),
877
+ style: g({
878
+ background: e.backgroundColor,
879
+ color: e.color
880
+ })
881
+ }, S(e.titles.animation), 7)) : c("", !0)], 36)) : c("", !0),
882
+ e.hasAnnotator ? (y(), l("button", {
883
+ key: 12,
884
+ tabindex: "0",
885
+ class: "vue-ui-user-options-button",
886
+ onMouseenter: n[26] ||= (e) => Y.value.annotator = !0,
887
+ onMouseout: n[27] ||= (e) => Y.value.annotator = !1,
888
+ onClick: H,
889
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
890
+ }, [t.$slots.optionAnnotator ? x(t.$slots, "optionAnnotator", h(f({ key: 0 }, {
891
+ toggleAnnotator: H,
892
+ isAnnotator: V.value
893
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [V.value ? (y(), s(r, {
894
+ key: 0,
895
+ name: "annotatorDisabled",
896
+ stroke: e.color,
897
+ style: { "pointer-events": "none" }
898
+ }, null, 8, ["stroke"])) : (y(), s(r, {
899
+ key: 1,
900
+ name: "annotator",
901
+ stroke: e.color,
902
+ style: { "pointer-events": "none" }
903
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.annotator ? (y(), l("div", {
904
+ key: 2,
905
+ dir: "auto",
906
+ class: m({
907
+ "button-info-left": e.position === "left",
908
+ "button-info-right": e.position === "right",
909
+ "button-info-right-visible": e.position === "right" && Y.value.annotator,
910
+ "button-info-left-visible": e.position === "left" && Y.value.annotator
911
+ }),
912
+ style: g({
913
+ background: e.backgroundColor,
914
+ color: e.color
915
+ })
916
+ }, S(e.titles.annotator), 7)) : c("", !0)], 36)) : c("", !0),
917
+ e.hasAltCopy ? (y(), l("button", {
918
+ key: 13,
919
+ tabindex: "0",
920
+ class: "vue-ui-user-options-button",
921
+ onMouseenter: n[28] ||= (e) => Y.value.altCopy = !0,
922
+ onMouseout: n[29] ||= (e) => Y.value.altCopy = !1,
923
+ onClick: W,
924
+ style: g({ cursor: e.isCursorPointer ? "pointer" : "default" })
925
+ }, [t.$slots.optionAltCopy ? x(t.$slots, "optionAltCopy", h(f({ key: 0 }, { copyAlt: W })), void 0, !0) : (y(), s(r, {
926
+ key: 1,
927
+ name: "accessibility",
928
+ stroke: e.color,
929
+ style: { "pointer-events": "none" }
930
+ }, null, 8, ["stroke"])), J.value && e.titles.altCopy ? (y(), l("div", {
931
+ key: 2,
932
+ dir: "auto",
933
+ class: m({
934
+ "button-info-left": e.position === "left",
935
+ "button-info-right": e.position === "right",
936
+ "button-info-right-visible": e.position === "right" && Y.value.altCopy,
937
+ "button-info-left-visible": e.position === "left" && Y.value.altCopy
938
+ }),
939
+ style: g({
940
+ background: e.backgroundColor,
941
+ color: e.color
942
+ })
943
+ }, S(e.titles.altCopy), 7)) : c("", !0)], 36)) : c("", !0),
944
+ x(t.$slots, "custom-menu-after", {}, void 0, !0)
945
+ ], 12, se)], 36)), [[te(ae), j.value ? null : {
946
+ targets: [
947
+ D.value,
948
+ k.value,
949
+ O.value
950
+ ],
951
+ handler: Ce
952
+ }]]) : re((y(), l("div", {
953
+ key: 1,
954
+ ref_key: "rootRef",
955
+ ref: D,
956
+ "data-dom-to-png-ignore": "",
957
+ class: "vue-ui-user-options",
958
+ style: g(`z-index: ${e.zIndex}; height: 34px; position: ${e.isFullscreen ? "fixed" : "absolute"}; top: 0; ${e.position === "right" ? `right:${e.isFullscreen ? "12px" : "0"}` : `left:${e.isFullscreen ? "12px" : "0"}`}; padding: 4px; background:transparent;`),
959
+ onKeydown: Fe
960
+ }, [u("div", {
961
+ ref_key: "triggerRef",
962
+ ref: O,
963
+ tabindex: "0",
964
+ title: A.value ? e.titles.close || "" : e.titles.open || "",
965
+ style: g(`width:32px; position: absolute; top: 0;${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}; padding: 0 0px; display: flex; align-items:center;justify-content:center;height: 36px; cursor:pointer; background:transparent`),
966
+ onClick: C(ye, ["stop"]),
967
+ onKeypress: ie(ye, ["enter"])
968
+ }, [x(t.$slots, "menuIcon", h(ee({
969
+ isOpen: A.value,
970
+ color: e.color
971
+ })), () => [d(r, {
972
+ name: A.value ? "close" : "menu",
973
+ stroke: e.color,
974
+ "stroke-width": 2
975
+ }, null, 8, ["name", "stroke"])], !0)], 44, ce), u("div", {
976
+ ref_key: "drawerRef",
977
+ ref: k,
978
+ "data-open": A.value,
979
+ class: m({ "vue-ui-user-options-drawer": !0 }),
980
+ style: g(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
981
+ }, [
982
+ x(t.$slots, "custom-menu-before", {}, void 0, !0),
983
+ e.hasPdf ? (y(), l("button", {
984
+ key: 0,
985
+ tabindex: "0",
986
+ class: "vue-ui-user-options-button",
987
+ onClick: ue,
988
+ onMouseenter: n[30] ||= (e) => Y.value.pdf = !0,
989
+ onMouseout: n[31] ||= (e) => Y.value.pdf = !1
990
+ }, [t.$slots.optionPdf ? x(t.$slots, "optionPdf", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.isPrinting ? (y(), s(r, {
991
+ key: 0,
992
+ name: "hourglass",
993
+ isSpin: "",
994
+ stroke: e.color,
995
+ style: { "pointer-events": "none" }
996
+ }, null, 8, ["stroke"])) : (y(), s(r, {
997
+ key: 1,
998
+ name: "filePdf",
999
+ stroke: e.color,
1000
+ style: { "pointer-events": "none" }
1001
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.pdf ? (y(), l("div", {
1002
+ key: 2,
1003
+ dir: "auto",
1004
+ class: m({
1005
+ "button-info-left": e.position === "left",
1006
+ "button-info-right": e.position === "right",
1007
+ "button-info-right-visible": e.position === "right" && Y.value.pdf,
1008
+ "button-info-left-visible": e.position === "left" && Y.value.pdf
1009
+ }),
1010
+ style: g({
1011
+ background: e.backgroundColor,
1012
+ color: e.color
1013
+ })
1014
+ }, S(e.titles.pdf), 7)) : c("", !0)], 32)) : c("", !0),
1015
+ e.hasXls ? (y(), l("button", {
1016
+ key: 1,
1017
+ tabindex: "0",
1018
+ class: "vue-ui-user-options-button",
1019
+ onClick: de,
1020
+ onMouseenter: n[32] ||= (e) => Y.value.csv = !0,
1021
+ onMouseout: n[33] ||= (e) => Y.value.csv = !1
1022
+ }, [t.$slots.optionCsv ? x(t.$slots, "optionCsv", { key: 0 }, void 0, !0) : (y(), s(r, {
1023
+ key: 1,
1024
+ name: "fileCsv",
1025
+ stroke: e.color,
1026
+ style: { "pointer-events": "none" }
1027
+ }, null, 8, ["stroke"])), J.value && e.titles.csv ? (y(), l("div", {
1028
+ key: 2,
1029
+ dir: "auto",
1030
+ class: m({
1031
+ "button-info-left": e.position === "left",
1032
+ "button-info-right": e.position === "right",
1033
+ "button-info-right-visible": e.position === "right" && Y.value.csv,
1034
+ "button-info-left-visible": e.position === "left" && Y.value.csv
1035
+ }),
1036
+ style: g({
1037
+ background: e.backgroundColor,
1038
+ color: e.color
1039
+ })
1040
+ }, S(e.titles.csv), 7)) : c("", !0)], 32)) : c("", !0),
1041
+ e.hasImg ? (y(), l("button", {
1042
+ key: 2,
1043
+ tabindex: "0",
1044
+ class: "vue-ui-user-options-button",
1045
+ onClick: M,
1046
+ onMouseenter: n[34] ||= (e) => Y.value.img = !0,
1047
+ onMouseout: n[35] ||= (e) => Y.value.img = !1
1048
+ }, [t.$slots.optionImg ? x(t.$slots, "optionImg", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.isImaging ? (y(), s(r, {
1049
+ key: 0,
1050
+ name: "hourglass",
1051
+ isSpin: "",
1052
+ stroke: e.color,
1053
+ style: { "pointer-events": "none" }
1054
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1055
+ key: 1,
1056
+ name: "filePng",
1057
+ stroke: e.color,
1058
+ style: { "pointer-events": "none" }
1059
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.img ? (y(), l("div", {
1060
+ key: 2,
1061
+ dir: "auto",
1062
+ class: m({
1063
+ "button-info-left": e.position === "left",
1064
+ "button-info-right": e.position === "right",
1065
+ "button-info-right-visible": e.position === "right" && Y.value.img,
1066
+ "button-info-left-visible": e.position === "left" && Y.value.img
1067
+ }),
1068
+ style: g({
1069
+ background: e.backgroundColor,
1070
+ color: e.color
1071
+ })
1072
+ }, S(e.titles.img), 7)) : c("", !0)], 32)) : c("", !0),
1073
+ e.hasSvg ? (y(), l("button", {
1074
+ key: 3,
1075
+ tabindex: "0",
1076
+ class: "vue-ui-user-options-button",
1077
+ onClick: fe,
1078
+ onMouseenter: n[36] ||= (e) => Y.value.svg = !0,
1079
+ onMouseout: n[37] ||= (e) => Y.value.svg = !1
1080
+ }, [t.$slots.optionSvg ? x(t.$slots, "optionSvg", { key: 0 }, void 0, !0) : (y(), s(r, {
1081
+ key: 1,
1082
+ name: "fileSvg",
1083
+ stroke: e.color,
1084
+ style: { "pointer-events": "none" }
1085
+ }, null, 8, ["stroke"])), J.value && e.titles.svg ? (y(), l("div", {
1086
+ key: 2,
1087
+ dir: "auto",
1088
+ class: m({
1089
+ "button-info-left": e.position === "left",
1090
+ "button-info-right": e.position === "right",
1091
+ "button-info-right-visible": e.position === "right" && Y.value.svg,
1092
+ "button-info-left-visible": e.position === "left" && Y.value.svg
1093
+ }),
1094
+ style: g({
1095
+ background: e.backgroundColor,
1096
+ color: e.color
1097
+ })
1098
+ }, S(e.titles.svg), 7)) : c("", !0)], 32)) : c("", !0),
1099
+ e.hasTooltip ? (y(), l("button", {
1100
+ key: 4,
1101
+ tabindex: "0",
1102
+ class: "vue-ui-user-options-button",
1103
+ onClick: he,
1104
+ onMouseenter: n[38] ||= (e) => Y.value.tooltip = !0,
1105
+ onMouseout: n[39] ||= (e) => Y.value.tooltip = !1
1106
+ }, [t.$slots.optionTooltip ? x(t.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [K.value ? (y(), s(r, {
1107
+ key: 0,
1108
+ name: "tooltip",
1109
+ stroke: e.color,
1110
+ style: { "pointer-events": "none" }
1111
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1112
+ key: 1,
1113
+ name: "tooltipDisabled",
1114
+ stroke: e.color,
1115
+ style: { "pointer-events": "none" }
1116
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.tooltip ? (y(), l("div", {
1117
+ key: 2,
1118
+ dir: "auto",
1119
+ class: m({
1120
+ "button-info-left": e.position === "left",
1121
+ "button-info-right": e.position === "right",
1122
+ "button-info-left-visible": e.position === "left" && Y.value.tooltip,
1123
+ "button-info-right-visible": e.position === "right" && Y.value.tooltip
1124
+ }),
1125
+ style: g({
1126
+ background: e.backgroundColor,
1127
+ color: e.color
1128
+ })
1129
+ }, S(e.titles.tooltip), 7)) : c("", !0)], 32)) : c("", !0),
1130
+ e.hasTable ? (y(), l("button", {
1131
+ key: 5,
1132
+ tabindex: "0",
1133
+ class: "vue-ui-user-options-button",
1134
+ onClick: P,
1135
+ onMouseenter: n[40] ||= (e) => Y.value.table = !0,
1136
+ onMouseout: n[41] ||= (e) => Y.value.table = !1
1137
+ }, [t.$slots.optionTable ? x(t.$slots, "optionTable", { key: 0 }, void 0, !0) : (y(), l(a, { key: 1 }, [e.tableDialog ? (y(), s(r, {
1138
+ key: 0,
1139
+ name: N.value ? "tableDialogClose" : "tableDialogOpen",
1140
+ stroke: e.color,
1141
+ style: { "pointer-events": "none" }
1142
+ }, null, 8, ["name", "stroke"])) : (y(), s(r, {
1143
+ key: 1,
1144
+ name: N.value ? "tableClose" : "tableOpen",
1145
+ stroke: e.color,
1146
+ style: { "pointer-events": "none" }
1147
+ }, null, 8, ["name", "stroke"]))], 64)), J.value && e.titles.table ? (y(), l("div", {
1148
+ key: 2,
1149
+ dir: "auto",
1150
+ class: m({
1151
+ "button-info-left": e.position === "left",
1152
+ "button-info-right": e.position === "right",
1153
+ "button-info-right-visible": e.position === "right" && Y.value.table,
1154
+ "button-info-left-visible": e.position === "left" && Y.value.table
1155
+ }),
1156
+ style: g({
1157
+ background: e.backgroundColor,
1158
+ color: e.color
1159
+ })
1160
+ }, S(e.titles.table), 7)) : c("", !0)], 32)) : c("", !0),
1161
+ e.hasLabel ? (y(), l("button", {
1162
+ key: 6,
1163
+ tabindex: "0",
1164
+ class: "vue-ui-user-options-button",
1165
+ onClick: I,
1166
+ onMouseenter: n[42] ||= (e) => Y.value.labels = !0,
1167
+ onMouseout: n[43] ||= (e) => Y.value.labels = !1
1168
+ }, [t.$slots.optionLabels ? x(t.$slots, "optionLabels", { key: 0 }, void 0, !0) : (y(), s(r, {
1169
+ key: 1,
1170
+ name: F.value ? "labelClose" : "labelOpen",
1171
+ stroke: e.color,
1172
+ style: { "pointer-events": "none" }
1173
+ }, null, 8, ["name", "stroke"])), J.value && e.titles.labels ? (y(), l("div", {
1174
+ key: 2,
1175
+ dir: "auto",
1176
+ class: m({
1177
+ "button-info-left": e.position === "left",
1178
+ "button-info-right": e.position === "right",
1179
+ "button-info-right-visible": e.position === "right" && Y.value.labels,
1180
+ "button-info-left-visible": e.position === "left" && Y.value.labels
1181
+ }),
1182
+ style: g({
1183
+ background: e.backgroundColor,
1184
+ color: e.color
1185
+ })
1186
+ }, S(e.titles.labels), 7)) : c("", !0)], 32)) : c("", !0),
1187
+ e.hasSort ? (y(), l("button", {
1188
+ key: 7,
1189
+ tabindex: "0",
1190
+ class: "vue-ui-user-options-button",
1191
+ onClick: U,
1192
+ onMouseenter: n[44] ||= (e) => Y.value.sort = !0,
1193
+ onMouseout: n[45] ||= (e) => Y.value.sort = !1
1194
+ }, [t.$slots.optionSort ? x(t.$slots, "optionSort", { key: 0 }, void 0, !0) : (y(), s(r, {
1195
+ key: 1,
1196
+ name: "sort",
1197
+ stroke: e.color,
1198
+ style: { "pointer-events": "none" }
1199
+ }, null, 8, ["stroke"])), J.value && e.titles.sort ? (y(), l("div", {
1200
+ key: 2,
1201
+ dir: "auto",
1202
+ class: m({
1203
+ "button-info-left": e.position === "left",
1204
+ "button-info-right": e.position === "right",
1205
+ "button-info-right-visible": e.position === "right" && Y.value.sort,
1206
+ "button-info-left-visible": e.position === "left" && Y.value.sort
1207
+ }),
1208
+ style: g({
1209
+ background: e.backgroundColor,
1210
+ color: e.color
1211
+ })
1212
+ }, S(e.titles.sort), 7)) : c("", !0)], 32)) : c("", !0),
1213
+ e.hasStack ? (y(), l("button", {
1214
+ key: 8,
1215
+ tabindex: "0",
1216
+ class: "vue-ui-user-options-button",
1217
+ onClick: me,
1218
+ onMouseenter: n[46] ||= (e) => Y.value.stack = !0,
1219
+ onMouseout: n[47] ||= (e) => Y.value.stack = !1
1220
+ }, [t.$slots.optionStack ? x(t.$slots, "optionStack", h(f({ key: 0 }, { isStack: G.value })), void 0, !0) : (y(), l(a, { key: 1 }, [G.value ? (y(), s(r, {
1221
+ key: 0,
1222
+ name: "unstack",
1223
+ stroke: e.color,
1224
+ style: { "pointer-events": "none" }
1225
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1226
+ key: 1,
1227
+ name: "stack",
1228
+ stroke: e.color,
1229
+ style: { "pointer-events": "none" }
1230
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.stack ? (y(), l("div", {
1231
+ key: 2,
1232
+ dir: "auto",
1233
+ class: m({
1234
+ "button-info-left": e.position === "left",
1235
+ "button-info-right": e.position === "right",
1236
+ "button-info-right-visible": e.position === "right" && Y.value.stack,
1237
+ "button-info-left-visible": e.position === "left" && Y.value.stack
1238
+ }),
1239
+ style: g({
1240
+ background: e.backgroundColor,
1241
+ color: e.color
1242
+ })
1243
+ }, S(e.titles.stack), 7)) : c("", !0)], 32)) : c("", !0),
1244
+ e.hasFullscreen ? (y(), l("button", {
1245
+ key: 9,
1246
+ tabindex: "0",
1247
+ class: "vue-ui-user-options-button",
1248
+ onMouseenter: n[48] ||= (e) => Y.value.fullscreen = !0,
1249
+ onMouseout: n[49] ||= (e) => Y.value.fullscreen = !1,
1250
+ onClick: n[50] ||= (t) => q(e.isFullscreen ? "out" : "in")
1251
+ }, [t.$slots.optionFullscreen ? x(t.$slots, "optionFullscreen", h(f({ key: 0 }, {
1252
+ toggleFullscreen: q,
1253
+ isFullscreen: e.isFullscreen
1254
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [e.isFullscreen ? (y(), s(r, {
1255
+ key: 0,
1256
+ name: "exitFullscreen",
1257
+ stroke: e.color,
1258
+ style: { "pointer-events": "none" }
1259
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1260
+ key: 1,
1261
+ name: "fullscreen",
1262
+ stroke: e.color,
1263
+ style: { "pointer-events": "none" }
1264
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.fullscreen ? (y(), l("div", {
1265
+ key: 2,
1266
+ dir: "auto",
1267
+ class: m({
1268
+ "button-info-left": e.position === "left",
1269
+ "button-info-right": e.position === "right",
1270
+ "button-info-right-visible": e.position === "right" && Y.value.fullscreen,
1271
+ "button-info-left-visible": e.position === "left" && Y.value.fullscreen
1272
+ }),
1273
+ style: g({
1274
+ background: e.backgroundColor,
1275
+ color: e.color
1276
+ })
1277
+ }, S(e.titles.fullscreen), 7)) : c("", !0)], 32)) : c("", !0),
1278
+ e.hasZoom ? (y(), l("button", {
1279
+ key: 10,
1280
+ tabindex: "0",
1281
+ class: "vue-ui-user-options-button",
1282
+ onMouseenter: n[51] ||= (e) => Y.value.zoom = !0,
1283
+ onMouseout: n[52] ||= (e) => Y.value.zoom = !1,
1284
+ onClick: n[53] ||= (e) => B()
1285
+ }, [t.$slots.optionZoom ? x(t.$slots, "optionZoom", h(f({ key: 0 }, {
1286
+ toggleZoom: B,
1287
+ isZoomLocked: !e.isZoom
1288
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [e.isZoom ? (y(), s(r, {
1289
+ key: 0,
1290
+ name: "zoomUnlock",
1291
+ stroke: e.color,
1292
+ style: { "pointer-events": "none" }
1293
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1294
+ key: 1,
1295
+ name: "zoomLock",
1296
+ stroke: e.color,
1297
+ style: { "pointer-events": "none" }
1298
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.zoom ? (y(), l("div", {
1299
+ key: 2,
1300
+ dir: "auto",
1301
+ class: m({
1302
+ "button-info-left": e.position === "left",
1303
+ "button-info-right": e.position === "right",
1304
+ "button-info-right-visible": e.position === "right" && Y.value.zoom,
1305
+ "button-info-left-visible": e.position === "left" && Y.value.zoom
1306
+ }),
1307
+ style: g({
1308
+ background: e.backgroundColor,
1309
+ color: e.color
1310
+ })
1311
+ }, S(e.titles.zoom), 7)) : c("", !0)], 32)) : c("", !0),
1312
+ e.hasAnimation ? (y(), l("button", {
1313
+ key: 11,
1314
+ tabindex: "0",
1315
+ class: "vue-ui-user-options-button",
1316
+ onMouseenter: n[54] ||= (e) => Y.value.animation = !0,
1317
+ onMouseout: n[55] ||= (e) => Y.value.animation = !1,
1318
+ onClick: R
1319
+ }, [t.$slots.optionAnimation ? x(t.$slots, "optionAnimation", h(f({ key: 0 }, {
1320
+ toggleAnimation: R,
1321
+ isAnimated: L.value
1322
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [L.value ? (y(), s(r, {
1323
+ key: 0,
1324
+ name: "play",
1325
+ stroke: e.color,
1326
+ style: { "pointer-events": "none" }
1327
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1328
+ key: 1,
1329
+ name: "pause",
1330
+ stroke: e.color,
1331
+ style: { "pointer-events": "none" }
1332
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.fullscreen ? (y(), l("div", {
1333
+ key: 2,
1334
+ dir: "auto",
1335
+ class: m({
1336
+ "button-info-left": e.position === "left",
1337
+ "button-info-right": e.position === "right",
1338
+ "button-info-right-visible": e.position === "right" && Y.value.animation,
1339
+ "button-info-left-visible": e.position === "left" && Y.value.animation
1340
+ }),
1341
+ style: g({
1342
+ background: e.backgroundColor,
1343
+ color: e.color
1344
+ })
1345
+ }, S(e.titles.animation), 7)) : c("", !0)], 32)) : c("", !0),
1346
+ e.hasAnnotator ? (y(), l("button", {
1347
+ key: 12,
1348
+ tabindex: "0",
1349
+ class: "vue-ui-user-options-button",
1350
+ onMouseenter: n[56] ||= (e) => Y.value.annotator = !0,
1351
+ onMouseout: n[57] ||= (e) => Y.value.annotator = !1,
1352
+ onClick: H
1353
+ }, [t.$slots.optionAnnotator ? x(t.$slots, "optionAnnotator", h(f({ key: 0 }, {
1354
+ toggleAnnotator: H,
1355
+ isAnnotator: V.value
1356
+ })), void 0, !0) : (y(), l(a, { key: 1 }, [V.value ? (y(), s(r, {
1357
+ key: 0,
1358
+ name: "annotatorDisabled",
1359
+ stroke: e.color,
1360
+ style: { "pointer-events": "none" }
1361
+ }, null, 8, ["stroke"])) : (y(), s(r, {
1362
+ key: 1,
1363
+ name: "annotator",
1364
+ stroke: e.color,
1365
+ style: { "pointer-events": "none" }
1366
+ }, null, 8, ["stroke"]))], 64)), J.value && e.titles.annotator ? (y(), l("div", {
1367
+ key: 2,
1368
+ dir: "auto",
1369
+ class: m({
1370
+ "button-info-left": e.position === "left",
1371
+ "button-info-right": e.position === "right",
1372
+ "button-info-right-visible": e.position === "right" && Y.value.annotator,
1373
+ "button-info-left-visible": e.position === "left" && Y.value.annotator
1374
+ }),
1375
+ style: g({
1376
+ background: e.backgroundColor,
1377
+ color: e.color
1378
+ })
1379
+ }, S(e.titles.annotator), 7)) : c("", !0)], 32)) : c("", !0),
1380
+ e.hasAltCopy ? (y(), l("button", {
1381
+ key: 13,
1382
+ tabindex: "0",
1383
+ class: "vue-ui-user-options-button",
1384
+ onMouseenter: n[58] ||= (e) => Y.value.altCopy = !0,
1385
+ onMouseout: n[59] ||= (e) => Y.value.altCopy = !1,
1386
+ onClick: H
1387
+ }, [t.$slots.optionAltCopy ? x(t.$slots, "optionAltCopy", h(f({ key: 0 }, { copyAlt: W })), void 0, !0) : (y(), s(r, {
1388
+ key: 1,
1389
+ name: "accessibility",
1390
+ stroke: e.color,
1391
+ style: { "pointer-events": "none" }
1392
+ }, null, 8, ["stroke"])), J.value && e.titles.altCopy ? (y(), l("div", {
1393
+ key: 2,
1394
+ dir: "auto",
1395
+ class: m({
1396
+ "button-info-left": e.position === "left",
1397
+ "button-info-right": e.position === "right",
1398
+ "button-info-right-visible": e.position === "right" && Y.value.altCopy,
1399
+ "button-info-left-visible": e.position === "left" && Y.value.altCopy
1400
+ }),
1401
+ style: g({
1402
+ background: e.backgroundColor,
1403
+ color: e.color
1404
+ })
1405
+ }, S(e.titles.altCopy), 7)) : c("", !0)], 32)) : c("", !0),
1406
+ x(t.$slots, "custom-menu-actions", {}, void 0, !0)
1407
+ ], 12, le)], 36)), [[te(i), xe]]);
1408
+ }
1409
+ }, [["__scopeId", "data-v-4fbb340e"]]);
1410
+ //#endregion
1411
+ export { w as n, T as t };