vue-data-ui 3.17.13 → 3.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-Cj6W6Xbi.js +116 -0
  4. package/dist/BaseDraggableDialog-BQcmQAK5.js +272 -0
  5. package/dist/BaseIcon-CEmt3Ifx.js +499 -0
  6. package/dist/BaseLegendToggle-DUIqQmwM.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-Ce1yqas1.js +111 -0
  9. package/dist/ColorPicker-DS_QkH3W.js +255 -0
  10. package/dist/DataTable-BvDJEAma.js +150 -0
  11. package/dist/Legend-Gg5Q4Clb.js +114 -0
  12. package/dist/NonSvgPenAndPaper-D4Gh7O43.js +577 -0
  13. package/dist/PackageVersion-DhDKg-ez.js +11 -0
  14. package/dist/PenAndPaper-DwpL8Z0l.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-DEGOZ6GG.js +141 -0
  19. package/dist/Slicer-BlfyiHHD.js +1144 -0
  20. package/dist/SlicerPreview-BPS8mYO2.js +1523 -0
  21. package/dist/SparkTooltip-c2DL7gqD.js +93 -0
  22. package/dist/Title-__gWq2g6.js +87 -0
  23. package/dist/Tooltip-B7lmdbac.js +307 -0
  24. package/dist/UserOptions-DMw8EZEo.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-9WSt6hXe.js +237 -0
  99. package/dist/exposedLib-CwWU4zv-.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-BjOr008R.js +74 -0
  102. package/dist/labelUtils-Cr97N8E1.js +19 -0
  103. package/dist/lib-BkiwukKO.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-DSXSFUnK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4775 -627
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-BV0kTCnO.js +7431 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-Ck4hsrpu.js +10 -0
  186. package/dist/useObjectBindings-Ce_ZZk-f.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-X0yWOynH.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-DIh8ayZc.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-BZ8_6ylo.js +1747 -0
  203. package/dist/vue-ui-accordion-cVv18nTV.js +81 -0
  204. package/dist/vue-ui-age-pyramid-BR3i-CgS.js +1226 -0
  205. package/dist/vue-ui-annotator-B9mA_PlF.js +2899 -0
  206. package/dist/vue-ui-bullet-ByJdNLVf.js +700 -0
  207. package/dist/vue-ui-bump-Ps1gkA-F.js +1239 -0
  208. package/dist/vue-ui-candlestick-0C1QFoV4.js +1802 -0
  209. package/dist/vue-ui-carousel-table-1P28pCRK.js +445 -0
  210. package/dist/vue-ui-chestnut-CJOCGWwX.js +2000 -0
  211. package/dist/vue-ui-chord-BpiVJCCm.js +1381 -0
  212. package/dist/vue-ui-circle-pack-C3wvXz1f.js +1183 -0
  213. package/dist/vue-ui-cursor-CNn_3b24.js +283 -0
  214. package/dist/vue-ui-dag-DRVXVCJV.js +2899 -0
  215. package/dist/vue-ui-dashboard-gOXyms0o.js +503 -0
  216. package/dist/vue-ui-digits-DIKyN3z6.js +209 -0
  217. package/dist/vue-ui-donut-RogzKj0G.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-Bxz06Qqf.js +1490 -0
  219. package/dist/vue-ui-dumbbell-D10T4gmB.js +1517 -0
  220. package/dist/vue-ui-flow-OK563Z46.js +1223 -0
  221. package/dist/vue-ui-funnel-nWmbiJu5.js +767 -0
  222. package/dist/vue-ui-galaxy-CtaTlHWZ.js +1062 -0
  223. package/dist/vue-ui-gauge-DWTEHJqX.js +910 -0
  224. package/dist/vue-ui-geo-DUpWvv5m.js +1504 -0
  225. package/dist/vue-ui-gizmo-vddzP4dM.js +225 -0
  226. package/dist/vue-ui-heatmap-CUE_zJQa.js +1556 -0
  227. package/dist/vue-ui-history-plot-CcRg_NgJ.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DX5aZOEn.js +1669 -0
  229. package/dist/vue-ui-kpi-B74v84Hu.js +96 -0
  230. package/dist/vue-ui-mini-loader-BcCG6Yqb.js +125 -0
  231. package/dist/vue-ui-molecule-CVdB8rxf.js +912 -0
  232. package/dist/vue-ui-mood-radar-CWDVBOck.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Be8b5d81.js +1472 -0
  234. package/dist/vue-ui-onion-Cs90yQQZ.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-D-mZdTop.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-DLD_ZR9M.js +1966 -0
  239. package/dist/vue-ui-quick-chart-UWjZdmzt.js +2459 -0
  240. package/dist/vue-ui-radar-Bxu07MOG.js +1214 -0
  241. package/dist/vue-ui-rating-DA9Bmfyb.js +343 -0
  242. package/dist/vue-ui-relation-circle-O5s1UJtt.js +914 -0
  243. package/dist/vue-ui-ridgeline-C3siN0d_.js +1612 -0
  244. package/dist/vue-ui-rings-DVVDtwhB.js +1231 -0
  245. package/dist/vue-ui-scatter-Cfvh06OC.js +2380 -0
  246. package/dist/vue-ui-skeleton-CxTmGCQp.js +2556 -0
  247. package/dist/vue-ui-smiley-B6nc7b71.js +356 -0
  248. package/dist/vue-ui-spark-trend--39vutfQ.js +438 -0
  249. package/dist/vue-ui-sparkbar-DhCRNOu4.js +393 -0
  250. package/dist/vue-ui-sparkgauge-6Igkqlqs.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-BLEzZSZi.js +560 -0
  252. package/dist/vue-ui-sparkline-ppwKM4aO.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-uIzSq9Wh.js +660 -0
  254. package/dist/vue-ui-stackbar-CdOkMCbI.js +2235 -0
  255. package/dist/vue-ui-stackline-DifD9OXC.js +2362 -0
  256. package/dist/vue-ui-strip-plot-D1LjIVqK.js +1328 -0
  257. package/dist/vue-ui-table-WDkEyyQ0.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-CfGJVzI3.js +334 -0
  259. package/dist/vue-ui-table-sparkline-BEWWP4Rq.js +697 -0
  260. package/dist/vue-ui-thermometer-CFWOAB8K.js +753 -0
  261. package/dist/vue-ui-timer-D1DQyf9i.js +439 -0
  262. package/dist/vue-ui-tiremarks-IeM3BlPW.js +542 -0
  263. package/dist/vue-ui-treemap-BGZM7ibv.js +1575 -0
  264. package/dist/vue-ui-waffle-a3dFVBk4.js +1350 -0
  265. package/dist/vue-ui-wheel-OnIRQJ8a.js +875 -0
  266. package/dist/vue-ui-word-cloud-C9SkyutR.js +1644 -0
  267. package/dist/vue-ui-world-CEevuFbk.js +14252 -0
  268. package/dist/vue-ui-xy-1hee-IEM.js +4114 -0
  269. package/dist/vue-ui-xy-canvas-D2f0d45c.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -1,1474 +0,0 @@
1
- import { ref as A, computed as p, onMounted as ye, onBeforeUnmount as me, watch as $e, nextTick as _, withDirectives as he, openBlock as n, createElementBlock as i, normalizeStyle as r, createElementVNode as V, withKeys as Ce, withModifiers as ee, renderSlot as b, normalizeProps as S, guardReactiveProps as we, createVNode as Pe, normalizeClass as g, Fragment as C, createBlock as v, toDisplayString as c, createCommentVNode as a, mergeProps as I, unref as Me } from "vue";
2
- import { v as De } from "./vClickOutside-C6WiFswA.js";
3
- import f from "./BaseIcon-DX0hTWa-.js";
4
- import Ae from "./img-CjTQXS0U.js";
5
- import { _ as Xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const Ze = {
7
- beforeMount(e, w) {
8
- const X = () => typeof w.value == "function" ? {
9
- handler: w.value,
10
- targets: [e],
11
- disabled: !1,
12
- scrollGuardMs: 250,
13
- moveThreshold: 10
14
- } : {
15
- handler: w.value?.handler,
16
- targets: w.value?.targets ?? [e],
17
- disabled: !!w.value?.disabled,
18
- scrollGuardMs: w.value?.scrollGuardMs ?? 250,
19
- moveThreshold: w.value?.moveThreshold ?? 10
20
- }, s = {
21
- lastScrollTs: 0,
22
- pointerId: null,
23
- startX: 0,
24
- startY: 0,
25
- moved: !1
26
- }, y = () => {
27
- s.lastScrollTs = performance.now();
28
- }, E = ($) => {
29
- s.pointerId = $.pointerId ?? null, s.startX = $.clientX ?? 0, s.startY = $.clientY ?? 0, s.moved = !1;
30
- }, B = ($) => {
31
- if (s.pointerId === null || ($.pointerId ?? null) !== s.pointerId) return;
32
- const T = ($.clientX ?? 0) - s.startX, O = ($.clientY ?? 0) - s.startY, { moveThreshold: F } = X();
33
- T * T + O * O >= F * F && (s.moved = !0);
34
- }, m = ($) => {
35
- s.pointerId !== null && ($.pointerId ?? null) === s.pointerId && (s.pointerId = null);
36
- }, k = ($, T) => {
37
- const O = $.composedPath ? $.composedPath() : [];
38
- for (const F of T) {
39
- const P = F && typeof F == "object" && "value" in F ? F.value : F;
40
- if (P && (P === $.target || P.contains && P.contains($.target) || O.length && O.includes(P)))
41
- return !0;
42
- }
43
- return !1;
44
- }, h = ($) => {
45
- const { handler: T, targets: O, disabled: F, scrollGuardMs: P } = X();
46
- if (F || typeof T != "function" || performance.now() - s.lastScrollTs < P || s.moved) return;
47
- k($, O) || T($);
48
- };
49
- e.__vPopoverClickOutside__ = {
50
- onScrollCapture: y,
51
- onPointerDownCapture: E,
52
- onPointerMoveCapture: B,
53
- onPointerUpCapture: m,
54
- onClickCapture: h
55
- }, window.addEventListener("scroll", y, !0), document.addEventListener("pointerdown", E, !0), document.addEventListener("pointermove", B, !0), document.addEventListener("pointerup", m, !0), document.addEventListener("click", h, !0);
56
- },
57
- unmounted(e) {
58
- const w = e.__vPopoverClickOutside__;
59
- w && (window.removeEventListener("scroll", w.onScrollCapture, !0), document.removeEventListener(
60
- "pointerdown",
61
- w.onPointerDownCapture,
62
- !0
63
- ), document.removeEventListener(
64
- "pointermove",
65
- w.onPointerMoveCapture,
66
- !0
67
- ), document.removeEventListener("pointerup", w.onPointerUpCapture, !0), document.removeEventListener("click", w.onClickCapture, !0), delete e.__vPopoverClickOutside__);
68
- }
69
- }, Ne = ["title", "onKeydown"], Ue = ["popover", "data-open"], Ke = ["title"], je = ["data-open"], Ge = {
70
- __name: "UserOptions",
71
- props: {
72
- hasPdf: {
73
- type: Boolean,
74
- default: !0
75
- },
76
- hasXls: {
77
- type: Boolean,
78
- default: !0
79
- },
80
- hasImg: {
81
- type: Boolean,
82
- default: !1
83
- },
84
- hasSvg: {
85
- type: Boolean,
86
- default: !1
87
- },
88
- hasLabel: {
89
- type: Boolean,
90
- default: !1
91
- },
92
- isLabelActive: {
93
- type: Boolean,
94
- default: !1
95
- },
96
- hasTable: {
97
- type: Boolean,
98
- default: !1
99
- },
100
- hasSort: {
101
- type: Boolean,
102
- default: !1
103
- },
104
- hasStack: {
105
- type: Boolean,
106
- default: !1
107
- },
108
- hasTooltip: {
109
- type: Boolean,
110
- default: !1
111
- },
112
- color: {
113
- type: String
114
- },
115
- backgroundColor: {
116
- type: String
117
- },
118
- isPrinting: {
119
- type: Boolean,
120
- default: !1
121
- },
122
- isImaging: {
123
- type: Boolean,
124
- default: !1
125
- },
126
- title: {
127
- type: String
128
- },
129
- uid: {
130
- type: String
131
- },
132
- hasFullscreen: {
133
- type: Boolean,
134
- default: !1
135
- },
136
- chartElement: {
137
- type: HTMLElement,
138
- default: null
139
- },
140
- isFullscreen: {
141
- type: Boolean,
142
- default: !1
143
- },
144
- isStacked: {
145
- type: Boolean,
146
- default: !1
147
- },
148
- isTooltip: {
149
- type: Boolean,
150
- default: !1
151
- },
152
- hasAnimation: {
153
- type: Boolean,
154
- default: !1
155
- },
156
- isAnimation: {
157
- type: Boolean,
158
- default: !1
159
- },
160
- titles: {
161
- type: Object,
162
- default() {
163
- return {};
164
- }
165
- },
166
- showTooltips: {
167
- type: Boolean,
168
- default: !0
169
- },
170
- zIndex: {
171
- type: Number,
172
- default: 1
173
- },
174
- noOffset: {
175
- type: Boolean,
176
- default: !0
177
- },
178
- position: {
179
- type: String,
180
- default: "right"
181
- },
182
- offsetX: {
183
- type: Number,
184
- default: 0
185
- },
186
- hasAnnotator: {
187
- type: Boolean,
188
- default: !1
189
- },
190
- isAnnotation: {
191
- type: Boolean,
192
- default: !1
193
- },
194
- callbacks: {
195
- type: Object,
196
- default() {
197
- return {};
198
- }
199
- },
200
- printScale: {
201
- type: Number,
202
- default: 2
203
- },
204
- tableDialog: {
205
- type: Boolean,
206
- default: !1
207
- },
208
- hasZoom: {
209
- type: Boolean,
210
- default: !1
211
- },
212
- isZoom: {
213
- type: Boolean,
214
- default: !1
215
- },
216
- isCursorPointer: {
217
- type: Boolean,
218
- default: !1
219
- },
220
- hasAltCopy: {
221
- type: Boolean,
222
- default: !1
223
- }
224
- },
225
- emits: [
226
- "generatePdf",
227
- "generateCsv",
228
- "generateImage",
229
- "toggleTable",
230
- "toggleLabels",
231
- "toggleSort",
232
- "toggleFullscreen",
233
- "toggleStack",
234
- "toggleTooltip",
235
- "toggleAnimation",
236
- "toggleAnnotator",
237
- "generateSvg",
238
- "toggleZoom",
239
- "copyAlt"
240
- ],
241
- setup(e, { expose: w, emit: X }) {
242
- const s = e, y = X, E = A(null), B = A(null), m = A(null), k = A(!1), h = p(() => typeof window < "u" && typeof HTMLElement < "u" && "popover" in HTMLElement.prototype);
243
- async function $() {
244
- if (s.callbacks.pdf) {
245
- const { imageUri: o, base64: t } = await Ae({
246
- domElement: s.chartElement,
247
- base64: !0,
248
- img: !0,
249
- scale: s.printScale
250
- });
251
- s.callbacks.pdf({
252
- domElement: s.chartElement,
253
- base64: t,
254
- imageUri: o
255
- });
256
- } else
257
- y("generatePdf");
258
- }
259
- function T() {
260
- y("generateCsv", s.callbacks.csv);
261
- }
262
- async function O() {
263
- if (s.callbacks.img) {
264
- y("generateImage", { stage: "start" });
265
- try {
266
- const { imageUri: o, base64: t } = await Ae({
267
- domElement: s.chartElement,
268
- base64: !0,
269
- img: !0,
270
- scale: s.printScale
271
- });
272
- await Promise.resolve(
273
- s.callbacks.img({
274
- domElement: s.chartElement,
275
- imageUri: o,
276
- base64: t
277
- })
278
- );
279
- } finally {
280
- y("generateImage", { stage: "end" });
281
- }
282
- } else
283
- y("generateImage");
284
- }
285
- function F() {
286
- y("generateSvg", { isCb: !!s.callbacks.svg });
287
- }
288
- const P = A(!1);
289
- function H() {
290
- s.callbacks.table ? s.callbacks.table() : (P.value = !P.value, y("toggleTable"));
291
- }
292
- function Se(o) {
293
- P.value = o;
294
- }
295
- w({
296
- setTableIconState: Se
297
- });
298
- const Z = A(s.isLabelActive);
299
- function te() {
300
- s.callbacks.labels ? s.callbacks.labels() : (Z.value = !Z.value, y("toggleLabels"));
301
- }
302
- const x = A(s.isAnimation);
303
- function N() {
304
- s.callbacks.animation ? s.callbacks.animation() : (x.value = !x.value, y("toggleAnimation"));
305
- }
306
- const oe = A(s.isZoom);
307
- function U() {
308
- s.callbacks.zoom ? s.callbacks.zoom() : (oe.value = !oe.value, y("toggleZoom"));
309
- }
310
- const z = p({
311
- get: () => s.isAnnotation,
312
- set: (o) => o
313
- });
314
- function D() {
315
- s.callbacks.annotator ? s.callbacks.annotator() : (z.value = !z.value, y("toggleAnnotator"));
316
- }
317
- function ne() {
318
- s.callbacks.sort ? s.callbacks.sort() : y("toggleSort");
319
- }
320
- function W() {
321
- y("copyAlt");
322
- }
323
- const R = A(s.isStacked);
324
- function le() {
325
- s.callbacks.stack ? s.callbacks.stack() : (R.value = !R.value, y("toggleStack"));
326
- }
327
- const K = A(s.isTooltip);
328
- function ie() {
329
- s.callbacks.tooltip ? s.callbacks.tooltip() : (K.value = !K.value, y("toggleTooltip"));
330
- }
331
- const Fe = p({
332
- get: () => s.isFullscreen,
333
- set: (o) => y("toggleFullscreen", o)
334
- });
335
- function j() {
336
- if (!s.chartElement) return;
337
- const o = !s.isFullscreen;
338
- Fe.value = o, o ? s.chartElement.requestFullscreen() : document.exitFullscreen();
339
- }
340
- function ue() {
341
- const o = !!document.fullscreenElement;
342
- y("toggleFullscreen", o);
343
- }
344
- ye(() => {
345
- document.addEventListener("fullscreenchange", ue);
346
- }), me(() => {
347
- document.removeEventListener("fullscreenchange", ue);
348
- });
349
- const d = A(window.innerWidth > 600), l = A({
350
- tooltip: !1,
351
- pdf: !1,
352
- csv: !1,
353
- img: !1,
354
- table: !1,
355
- labels: !1,
356
- sort: !1,
357
- stack: !1,
358
- fullscreen: !1,
359
- animation: !1,
360
- annotator: !1,
361
- svg: !1,
362
- zoom: !1,
363
- altCopy: !1
364
- }), Ie = A(!0);
365
- function se() {
366
- d.value = window.innerWidth > 600, k.value = !k.value, k.value && (Ie.value = !1);
367
- }
368
- function Le() {
369
- s.isPrinting || s.isImaging || (k.value = !1);
370
- }
371
- function Ee() {
372
- k.value && Le();
373
- }
374
- const q = A(0);
375
- function ae() {
376
- q.value = performance.now() + 50;
377
- }
378
- function J() {
379
- s.isPrinting || s.isImaging || (h.value && Q(), k.value = !1);
380
- }
381
- function Te() {
382
- performance.now() < q.value || J();
383
- }
384
- function re() {
385
- if (d.value = window.innerWidth > 600, !h.value) {
386
- k.value || ae(), k.value = !k.value;
387
- return;
388
- }
389
- const o = m.value;
390
- if (!!(o && o.matches && o.matches(":popover-open")) || k.value) {
391
- k.value = !1, Q();
392
- return;
393
- }
394
- ae(), k.value = !0;
395
- }
396
- function Oe() {
397
- re();
398
- }
399
- function fe(o, t, u, M) {
400
- const L = window.devicePixelRatio || 1, Y = (Re) => Math.round(Re * L) / L;
401
- o.style.position = "fixed", o.style.top = `${Y(t)}px`, o.style.left = `${Y(u)}px`, o.style.right = "auto", o.style.width = `${Y(M)}px`;
402
- }
403
- function Be(o) {
404
- if (o.style.width = "", o.style.left = "", o.style.right = "", o.style.top = "", o.style.position = "absolute", o.style.top = "36px", s.position === "right") {
405
- const t = s.offsetX ? s.offsetX : s.noOffset ? 0 : 4;
406
- o.style.right = `${t}px`, o.style.left = "auto";
407
- } else {
408
- const t = s.noOffset ? 0 : 4;
409
- o.style.left = `${t}px`, o.style.right = "auto";
410
- }
411
- o.style.display = "flex", o.style.visibility = "hidden", o.style.pointerEvents = "none";
412
- }
413
- function ve() {
414
- if (!h.value || !k.value || !E.value || !m.value) return;
415
- const o = E.value.getBoundingClientRect(), t = m.value.getBoundingClientRect(), u = o.top + 38;
416
- if (s.position === "right") {
417
- const M = s.offsetX ? s.offsetX : s.noOffset ? 0 : 4, L = o.right - M - t.width;
418
- fe(
419
- m.value,
420
- u,
421
- L,
422
- t.width
423
- );
424
- } else {
425
- const M = s.noOffset ? 0 : 4, L = o.left + M;
426
- fe(
427
- m.value,
428
- u,
429
- L,
430
- t.width
431
- );
432
- }
433
- }
434
- let de = 0;
435
- function xe() {
436
- cancelAnimationFrame(de), de = requestAnimationFrame(() => {
437
- ve();
438
- });
439
- }
440
- function G() {
441
- h.value && k.value && xe();
442
- }
443
- function ze(o, t) {
444
- const u = window.devicePixelRatio || 1, M = (L) => Math.round(L * u) / u;
445
- o.style.position = "fixed", o.style.top = `${M(t.top)}px`, o.style.left = `${M(t.left)}px`, o.style.right = "auto", o.style.width = `${M(t.width)}px`;
446
- }
447
- async function be(o = !1) {
448
- if (!h.value) return;
449
- const t = m.value;
450
- if (!t) return;
451
- const u = t.getAttribute("style") || "", M = t.getAttribute("data-open");
452
- t.setAttribute("popover", "manual");
453
- try {
454
- t.setAttribute("data-open", "true"), Be(t), await _();
455
- const L = t.getBoundingClientRect();
456
- t.setAttribute("style", u), M === null ? t.removeAttribute("data-open") : t.setAttribute("data-open", M), ze(t, L), o || (typeof t.showPopover == "function" ? t.showPopover() : t.style.display = "flex");
457
- } catch {
458
- if (!o)
459
- try {
460
- typeof t.showPopover == "function" ? t.showPopover() : t.style.display = "flex";
461
- } catch {
462
- }
463
- }
464
- }
465
- function Q() {
466
- if (!h.value) return;
467
- const o = m.value;
468
- if (o) {
469
- o.setAttribute("popover", "manual");
470
- try {
471
- typeof o.hidePopover == "function" ? o.hidePopover() : o.style.display = "none";
472
- } catch {
473
- o.style.display = "none";
474
- }
475
- o.style.position = "", o.style.top = "", o.style.left = "", o.style.right = "", o.style.width = "", o.style.inset = "";
476
- }
477
- }
478
- function ge() {
479
- if (!h.value) return;
480
- const o = m.value;
481
- o && k.value && (k.value = typeof o.matches == "function" ? (() => {
482
- try {
483
- return o.matches(":popover-open");
484
- } catch {
485
- return !1;
486
- }
487
- })() : !1);
488
- }
489
- function ke(o) {
490
- if (!h.value || !k.value || performance.now() < q.value) return;
491
- const t = o.composedPath ? o.composedPath() : [], u = B.value ? t.includes(B.value) : !1, M = m.value ? t.includes(m.value) : !1;
492
- !u && !M && J();
493
- }
494
- $e(
495
- () => s.isFullscreen,
496
- async () => {
497
- h.value && (await _(), k.value && be());
498
- }
499
- ), $e(
500
- () => k.value,
501
- async (o) => {
502
- h.value && (await _(), o ? (await be(!1), ve()) : Q());
503
- }
504
- );
505
- function ce(o) {
506
- o.key === "Escape" && E.value && E.value.contains(document.activeElement) && (o.preventDefault(), o.stopPropagation(), J(), B.value?.focus());
507
- }
508
- return ye(() => {
509
- window.addEventListener("pointerdown", ke, !0), window.addEventListener("resize", G, { passive: !0 }), window.addEventListener("scroll", G, {
510
- passive: !0,
511
- capture: !0
512
- }), m.value && m.value.addEventListener("toggle", ge);
513
- }), me(() => {
514
- window.removeEventListener("pointerdown", ke, !0), window.removeEventListener("resize", G), window.removeEventListener("scroll", G, !0), m.value && m.value.removeEventListener("toggle", ge);
515
- }), (o, t) => h.value ? he((n(), i("div", {
516
- key: 0,
517
- ref_key: "rootRef",
518
- ref: E,
519
- "data-dom-to-png-ignore": "",
520
- class: "vue-ui-user-options",
521
- style: r(`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;`),
522
- onKeydown: ce
523
- }, [
524
- V("div", {
525
- ref_key: "triggerRef",
526
- ref: B,
527
- tabindex: "0",
528
- role: "button",
529
- title: k.value ? e.titles.close || "" : e.titles.open || "",
530
- style: r(`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`),
531
- onPointerdown: ee(re, ["stop", "prevent"]),
532
- onKeydown: Ce(ee(Oe, ["stop", "prevent"]), ["enter"])
533
- }, [
534
- b(o.$slots, "menuIcon", S(we({ isOpen: k.value, color: e.color })), () => [
535
- Pe(f, {
536
- name: k.value ? "close" : "menu",
537
- stroke: e.color,
538
- "stroke-width": 2
539
- }, null, 8, ["name", "stroke"])
540
- ], !0)
541
- ], 44, Ne),
542
- V("div", {
543
- ref_key: "drawerRef",
544
- ref: m,
545
- popover: h.value ? "manual" : null,
546
- "data-open": h.value ? null : k.value,
547
- class: g({ "vue-ui-user-options-drawer": !0 }),
548
- style: r(
549
- h.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`}`
550
- )
551
- }, [
552
- e.hasPdf ? (n(), i("button", {
553
- key: 0,
554
- tabindex: "0",
555
- class: "vue-ui-user-options-button",
556
- onClick: $,
557
- onMouseenter: t[0] || (t[0] = (u) => l.value.pdf = !0),
558
- onMouseout: t[1] || (t[1] = (u) => l.value.pdf = !1),
559
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
560
- }, [
561
- o.$slots.optionPdf ? b(o.$slots, "optionPdf", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
562
- e.isPrinting ? (n(), v(f, {
563
- key: 0,
564
- name: "hourglass",
565
- isSpin: "",
566
- stroke: e.color,
567
- style: { "pointer-events": "none" }
568
- }, null, 8, ["stroke"])) : (n(), v(f, {
569
- key: 1,
570
- name: "filePdf",
571
- stroke: e.color,
572
- style: { "pointer-events": "none" }
573
- }, null, 8, ["stroke"]))
574
- ], 64)),
575
- d.value && e.titles.pdf ? (n(), i("div", {
576
- key: 2,
577
- dir: "auto",
578
- class: g({
579
- "button-info-left": e.position === "left",
580
- "button-info-right": e.position === "right",
581
- "button-info-right-visible": e.position === "right" && l.value.pdf,
582
- "button-info-left-visible": e.position === "left" && l.value.pdf
583
- }),
584
- style: r({ background: e.backgroundColor, color: e.color })
585
- }, c(e.titles.pdf), 7)) : a("", !0)
586
- ], 36)) : a("", !0),
587
- e.hasXls ? (n(), i("button", {
588
- key: 1,
589
- tabindex: "0",
590
- class: "vue-ui-user-options-button",
591
- onClick: T,
592
- onMouseenter: t[2] || (t[2] = (u) => l.value.csv = !0),
593
- onMouseout: t[3] || (t[3] = (u) => l.value.csv = !1),
594
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
595
- }, [
596
- o.$slots.optionCsv ? b(o.$slots, "optionCsv", { key: 0 }, void 0, !0) : (n(), v(f, {
597
- key: 1,
598
- name: "fileCsv",
599
- stroke: e.color,
600
- style: { "pointer-events": "none" }
601
- }, null, 8, ["stroke"])),
602
- d.value && e.titles.csv ? (n(), i("div", {
603
- key: 2,
604
- dir: "auto",
605
- class: g({
606
- "button-info-left": e.position === "left",
607
- "button-info-right": e.position === "right",
608
- "button-info-right-visible": e.position === "right" && l.value.csv,
609
- "button-info-left-visible": e.position === "left" && l.value.csv
610
- }),
611
- style: r({ background: e.backgroundColor, color: e.color })
612
- }, c(e.titles.csv), 7)) : a("", !0)
613
- ], 36)) : a("", !0),
614
- e.hasImg ? (n(), i("button", {
615
- key: 2,
616
- tabindex: "0",
617
- class: "vue-ui-user-options-button",
618
- onClick: O,
619
- onMouseenter: t[4] || (t[4] = (u) => l.value.img = !0),
620
- onMouseout: t[5] || (t[5] = (u) => l.value.img = !1),
621
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
622
- }, [
623
- o.$slots.optionImg ? b(o.$slots, "optionImg", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
624
- e.isImaging ? (n(), v(f, {
625
- key: 0,
626
- name: "hourglass",
627
- isSpin: "",
628
- stroke: e.color,
629
- style: { "pointer-events": "none" }
630
- }, null, 8, ["stroke"])) : (n(), v(f, {
631
- key: 1,
632
- name: "filePng",
633
- stroke: e.color,
634
- style: { "pointer-events": "none" }
635
- }, null, 8, ["stroke"]))
636
- ], 64)),
637
- d.value && e.titles.img ? (n(), i("div", {
638
- key: 2,
639
- dir: "auto",
640
- class: g({
641
- "button-info-left": e.position === "left",
642
- "button-info-right": e.position === "right",
643
- "button-info-right-visible": e.position === "right" && l.value.img,
644
- "button-info-left-visible": e.position === "left" && l.value.img
645
- }),
646
- style: r({ background: e.backgroundColor, color: e.color })
647
- }, c(e.titles.img), 7)) : a("", !0)
648
- ], 36)) : a("", !0),
649
- e.hasSvg ? (n(), i("button", {
650
- key: 3,
651
- tabindex: "0",
652
- class: "vue-ui-user-options-button",
653
- onClick: F,
654
- onMouseenter: t[6] || (t[6] = (u) => l.value.svg = !0),
655
- onMouseout: t[7] || (t[7] = (u) => l.value.svg = !1),
656
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
657
- }, [
658
- o.$slots.optionSvg ? b(o.$slots, "optionSvg", { key: 0 }, void 0, !0) : (n(), v(f, {
659
- key: 1,
660
- name: "fileSvg",
661
- stroke: e.color,
662
- style: { "pointer-events": "none" }
663
- }, null, 8, ["stroke"])),
664
- d.value && e.titles.svg ? (n(), i("div", {
665
- key: 2,
666
- dir: "auto",
667
- class: g({
668
- "button-info-left": e.position === "left",
669
- "button-info-right": e.position === "right",
670
- "button-info-right-visible": e.position === "right" && l.value.svg,
671
- "button-info-left-visible": e.position === "left" && l.value.svg
672
- }),
673
- style: r({ background: e.backgroundColor, color: e.color })
674
- }, c(e.titles.svg), 7)) : a("", !0)
675
- ], 36)) : a("", !0),
676
- e.hasTooltip ? (n(), i("button", {
677
- key: 4,
678
- tabindex: "0",
679
- class: "vue-ui-user-options-button",
680
- onClick: ie,
681
- onMouseenter: t[8] || (t[8] = (u) => l.value.tooltip = !0),
682
- onMouseout: t[9] || (t[9] = (u) => l.value.tooltip = !1),
683
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
684
- }, [
685
- o.$slots.optionTooltip ? b(o.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
686
- K.value ? (n(), v(f, {
687
- key: 0,
688
- name: "tooltip",
689
- stroke: e.color,
690
- style: { "pointer-events": "none" }
691
- }, null, 8, ["stroke"])) : (n(), v(f, {
692
- key: 1,
693
- name: "tooltipDisabled",
694
- stroke: e.color,
695
- style: { "pointer-events": "none" }
696
- }, null, 8, ["stroke"]))
697
- ], 64)),
698
- d.value && e.titles.tooltip ? (n(), i("div", {
699
- key: 2,
700
- dir: "auto",
701
- class: g({
702
- "button-info-left": e.position === "left",
703
- "button-info-right": e.position === "right",
704
- "button-info-left-visible": e.position === "left" && l.value.tooltip,
705
- "button-info-right-visible": e.position === "right" && l.value.tooltip
706
- }),
707
- style: r({ background: e.backgroundColor, color: e.color })
708
- }, c(e.titles.tooltip), 7)) : a("", !0)
709
- ], 36)) : a("", !0),
710
- e.hasTable ? (n(), i("button", {
711
- key: 5,
712
- tabindex: "0",
713
- class: "vue-ui-user-options-button",
714
- onClick: H,
715
- onMouseenter: t[10] || (t[10] = (u) => l.value.table = !0),
716
- onMouseout: t[11] || (t[11] = (u) => l.value.table = !1),
717
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
718
- }, [
719
- o.$slots.optionTable ? b(o.$slots, "optionTable", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
720
- e.tableDialog ? (n(), v(f, {
721
- key: 0,
722
- name: P.value ? "tableDialogClose" : "tableDialogOpen",
723
- stroke: e.color,
724
- style: { "pointer-events": "none" }
725
- }, null, 8, ["name", "stroke"])) : (n(), v(f, {
726
- key: 1,
727
- name: P.value ? "tableClose" : "tableOpen",
728
- stroke: e.color,
729
- style: { "pointer-events": "none" }
730
- }, null, 8, ["name", "stroke"]))
731
- ], 64)),
732
- d.value && e.titles.table ? (n(), i("div", {
733
- key: 2,
734
- dir: "auto",
735
- class: g({
736
- "button-info-left": e.position === "left",
737
- "button-info-right": e.position === "right",
738
- "button-info-right-visible": e.position === "right" && l.value.table,
739
- "button-info-left-visible": e.position === "left" && l.value.table
740
- }),
741
- style: r({ background: e.backgroundColor, color: e.color })
742
- }, c(e.titles.table), 7)) : a("", !0)
743
- ], 36)) : a("", !0),
744
- e.hasLabel ? (n(), i("button", {
745
- key: 6,
746
- tabindex: "0",
747
- class: "vue-ui-user-options-button",
748
- onClick: te,
749
- onMouseenter: t[12] || (t[12] = (u) => l.value.labels = !0),
750
- onMouseout: t[13] || (t[13] = (u) => l.value.labels = !1),
751
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
752
- }, [
753
- o.$slots.optionLabels ? b(o.$slots, "optionLabels", { key: 0 }, void 0, !0) : (n(), v(f, {
754
- key: 1,
755
- name: Z.value ? "labelClose" : "labelOpen",
756
- stroke: e.color,
757
- style: { "pointer-events": "none" }
758
- }, null, 8, ["name", "stroke"])),
759
- d.value && e.titles.labels ? (n(), i("div", {
760
- key: 2,
761
- dir: "auto",
762
- class: g({
763
- "button-info-left": e.position === "left",
764
- "button-info-right": e.position === "right",
765
- "button-info-right-visible": e.position === "right" && l.value.labels,
766
- "button-info-left-visible": e.position === "left" && l.value.labels
767
- }),
768
- style: r({ background: e.backgroundColor, color: e.color })
769
- }, c(e.titles.labels), 7)) : a("", !0)
770
- ], 36)) : a("", !0),
771
- e.hasSort ? (n(), i("button", {
772
- key: 7,
773
- tabindex: "0",
774
- class: "vue-ui-user-options-button",
775
- onClick: ne,
776
- onMouseenter: t[14] || (t[14] = (u) => l.value.sort = !0),
777
- onMouseout: t[15] || (t[15] = (u) => l.value.sort = !1),
778
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
779
- }, [
780
- o.$slots.optionSort ? b(o.$slots, "optionSort", { key: 0 }, void 0, !0) : (n(), v(f, {
781
- key: 1,
782
- name: "sort",
783
- stroke: e.color,
784
- style: { "pointer-events": "none" }
785
- }, null, 8, ["stroke"])),
786
- d.value && e.titles.sort ? (n(), i("div", {
787
- key: 2,
788
- dir: "auto",
789
- class: g({
790
- "button-info-left": e.position === "left",
791
- "button-info-right": e.position === "right",
792
- "button-info-right-visible": e.position === "right" && l.value.sort,
793
- "button-info-left-visible": e.position === "left" && l.value.sort
794
- }),
795
- style: r({ background: e.backgroundColor, color: e.color })
796
- }, c(e.titles.sort), 7)) : a("", !0)
797
- ], 36)) : a("", !0),
798
- e.hasStack ? (n(), i("button", {
799
- key: 8,
800
- tabindex: "0",
801
- class: "vue-ui-user-options-button",
802
- onClick: le,
803
- onMouseenter: t[16] || (t[16] = (u) => l.value.stack = !0),
804
- onMouseout: t[17] || (t[17] = (u) => l.value.stack = !1),
805
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
806
- }, [
807
- o.$slots.optionStack ? b(o.$slots, "optionStack", S(I({ key: 0 }, { isStack: R.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
808
- R.value ? (n(), v(f, {
809
- key: 0,
810
- name: "unstack",
811
- stroke: e.color,
812
- style: { "pointer-events": "none" }
813
- }, null, 8, ["stroke"])) : (n(), v(f, {
814
- key: 1,
815
- name: "stack",
816
- stroke: e.color,
817
- style: { "pointer-events": "none" }
818
- }, null, 8, ["stroke"]))
819
- ], 64)),
820
- d.value && e.titles.stack ? (n(), i("div", {
821
- key: 2,
822
- dir: "auto",
823
- class: g({
824
- "button-info-left": e.position === "left",
825
- "button-info-right": e.position === "right",
826
- "button-info-right-visible": e.position === "right" && l.value.stack,
827
- "button-info-left-visible": e.position === "left" && l.value.stack
828
- }),
829
- style: r({ background: e.backgroundColor, color: e.color })
830
- }, c(e.titles.stack), 7)) : a("", !0)
831
- ], 36)) : a("", !0),
832
- e.hasFullscreen ? (n(), i("button", {
833
- key: 9,
834
- tabindex: "0",
835
- class: "vue-ui-user-options-button",
836
- onMouseenter: t[18] || (t[18] = (u) => l.value.fullscreen = !0),
837
- onMouseout: t[19] || (t[19] = (u) => l.value.fullscreen = !1),
838
- onClick: t[20] || (t[20] = (u) => j(e.isFullscreen ? "out" : "in")),
839
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
840
- }, [
841
- o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen: j, isFullscreen: e.isFullscreen })), void 0, !0) : (n(), i(C, { key: 1 }, [
842
- e.isFullscreen ? (n(), v(f, {
843
- key: 0,
844
- name: "exitFullscreen",
845
- stroke: e.color,
846
- style: { "pointer-events": "none" }
847
- }, null, 8, ["stroke"])) : (n(), v(f, {
848
- key: 1,
849
- name: "fullscreen",
850
- stroke: e.color,
851
- style: { "pointer-events": "none" }
852
- }, null, 8, ["stroke"]))
853
- ], 64)),
854
- d.value && e.titles.fullscreen ? (n(), i("div", {
855
- key: 2,
856
- dir: "auto",
857
- class: g({
858
- "button-info-left": e.position === "left",
859
- "button-info-right": e.position === "right",
860
- "button-info-right-visible": e.position === "right" && l.value.fullscreen,
861
- "button-info-left-visible": e.position === "left" && l.value.fullscreen
862
- }),
863
- style: r({ background: e.backgroundColor, color: e.color })
864
- }, c(e.titles.fullscreen), 7)) : a("", !0)
865
- ], 36)) : a("", !0),
866
- e.hasZoom ? (n(), i("button", {
867
- key: 10,
868
- tabindex: "0",
869
- class: "vue-ui-user-options-button",
870
- onMouseenter: t[21] || (t[21] = (u) => l.value.zoom = !0),
871
- onMouseout: t[22] || (t[22] = (u) => l.value.zoom = !1),
872
- onClick: t[23] || (t[23] = (u) => U()),
873
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
874
- }, [
875
- o.$slots.optionZoom ? b(o.$slots, "optionZoom", S(I({ key: 0 }, { toggleZoom: U, isZoomLocked: !e.isZoom })), void 0, !0) : (n(), i(C, { key: 1 }, [
876
- e.isZoom ? (n(), v(f, {
877
- key: 0,
878
- name: "zoomUnlock",
879
- stroke: e.color,
880
- style: { "pointer-events": "none" }
881
- }, null, 8, ["stroke"])) : (n(), v(f, {
882
- key: 1,
883
- name: "zoomLock",
884
- stroke: e.color,
885
- style: { "pointer-events": "none" }
886
- }, null, 8, ["stroke"]))
887
- ], 64)),
888
- d.value && e.titles.zoom ? (n(), i("div", {
889
- key: 2,
890
- dir: "auto",
891
- class: g({
892
- "button-info-left": e.position === "left",
893
- "button-info-right": e.position === "right",
894
- "button-info-right-visible": e.position === "right" && l.value.zoom,
895
- "button-info-left-visible": e.position === "left" && l.value.zoom
896
- }),
897
- style: r({ background: e.backgroundColor, color: e.color })
898
- }, c(e.titles.zoom), 7)) : a("", !0)
899
- ], 36)) : a("", !0),
900
- e.hasAnimation ? (n(), i("button", {
901
- key: 11,
902
- tabindex: "0",
903
- class: "vue-ui-user-options-button",
904
- onMouseenter: t[24] || (t[24] = (u) => l.value.animation = !0),
905
- onMouseout: t[25] || (t[25] = (u) => l.value.animation = !1),
906
- onClick: N,
907
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
908
- }, [
909
- o.$slots.optionAnimation ? b(o.$slots, "optionAnimation", S(I({ key: 0 }, { toggleAnimation: N, isAnimated: x.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
910
- x.value ? (n(), v(f, {
911
- key: 0,
912
- name: "play",
913
- stroke: e.color,
914
- style: { "pointer-events": "none" }
915
- }, null, 8, ["stroke"])) : (n(), v(f, {
916
- key: 1,
917
- name: "pause",
918
- stroke: e.color,
919
- style: { "pointer-events": "none" }
920
- }, null, 8, ["stroke"]))
921
- ], 64)),
922
- d.value && e.titles.fullscreen ? (n(), i("div", {
923
- key: 2,
924
- dir: "auto",
925
- class: g({
926
- "button-info-left": e.position === "left",
927
- "button-info-right": e.position === "right",
928
- "button-info-right-visible": e.position === "right" && l.value.animation,
929
- "button-info-left-visible": e.position === "left" && l.value.animation
930
- }),
931
- style: r({ background: e.backgroundColor, color: e.color })
932
- }, c(e.titles.animation), 7)) : a("", !0)
933
- ], 36)) : a("", !0),
934
- e.hasAnnotator ? (n(), i("button", {
935
- key: 12,
936
- tabindex: "0",
937
- class: "vue-ui-user-options-button",
938
- onMouseenter: t[26] || (t[26] = (u) => l.value.annotator = !0),
939
- onMouseout: t[27] || (t[27] = (u) => l.value.annotator = !1),
940
- onClick: D,
941
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
942
- }, [
943
- o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator: D, isAnnotator: z.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
944
- z.value ? (n(), v(f, {
945
- key: 0,
946
- name: "annotatorDisabled",
947
- stroke: e.color,
948
- style: { "pointer-events": "none" }
949
- }, null, 8, ["stroke"])) : (n(), v(f, {
950
- key: 1,
951
- name: "annotator",
952
- stroke: e.color,
953
- style: { "pointer-events": "none" }
954
- }, null, 8, ["stroke"]))
955
- ], 64)),
956
- d.value && e.titles.annotator ? (n(), i("div", {
957
- key: 2,
958
- dir: "auto",
959
- class: g({
960
- "button-info-left": e.position === "left",
961
- "button-info-right": e.position === "right",
962
- "button-info-right-visible": e.position === "right" && l.value.annotator,
963
- "button-info-left-visible": e.position === "left" && l.value.annotator
964
- }),
965
- style: r({ background: e.backgroundColor, color: e.color })
966
- }, c(e.titles.annotator), 7)) : a("", !0)
967
- ], 36)) : a("", !0),
968
- e.hasAltCopy ? (n(), i("button", {
969
- key: 13,
970
- tabindex: "0",
971
- class: "vue-ui-user-options-button",
972
- onMouseenter: t[28] || (t[28] = (u) => l.value.altCopy = !0),
973
- onMouseout: t[29] || (t[29] = (u) => l.value.altCopy = !1),
974
- onClick: W,
975
- style: r({ cursor: e.isCursorPointer ? "pointer" : "default" })
976
- }, [
977
- o.$slots.optionAltCopy ? b(o.$slots, "optionAltCopy", S(I({ key: 0 }, { copyAlt: W })), void 0, !0) : (n(), v(f, {
978
- key: 1,
979
- name: "accessibility",
980
- stroke: e.color,
981
- style: { "pointer-events": "none" }
982
- }, null, 8, ["stroke"])),
983
- d.value && e.titles.altCopy ? (n(), i("div", {
984
- key: 2,
985
- dir: "auto",
986
- class: g({
987
- "button-info-left": e.position === "left",
988
- "button-info-right": e.position === "right",
989
- "button-info-right-visible": e.position === "right" && l.value.altCopy,
990
- "button-info-left-visible": e.position === "left" && l.value.altCopy
991
- }),
992
- style: r({ background: e.backgroundColor, color: e.color })
993
- }, c(e.titles.altCopy), 7)) : a("", !0)
994
- ], 36)) : a("", !0)
995
- ], 12, Ue)
996
- ], 36)), [
997
- [
998
- Me(Ze),
999
- h.value ? null : {
1000
- targets: [E.value, m.value, B.value],
1001
- handler: Te
1002
- }
1003
- ]
1004
- ]) : he((n(), i("div", {
1005
- key: 1,
1006
- ref_key: "rootRef",
1007
- ref: E,
1008
- "data-dom-to-png-ignore": "",
1009
- class: "vue-ui-user-options",
1010
- style: r(`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;`),
1011
- onKeydown: ce
1012
- }, [
1013
- V("div", {
1014
- ref_key: "triggerRef",
1015
- ref: B,
1016
- tabindex: "0",
1017
- title: k.value ? e.titles.close || "" : e.titles.open || "",
1018
- style: r(`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`),
1019
- onClick: ee(se, ["stop"]),
1020
- onKeypress: Ce(se, ["enter"])
1021
- }, [
1022
- b(o.$slots, "menuIcon", S(we({ isOpen: k.value, color: e.color })), () => [
1023
- Pe(f, {
1024
- name: k.value ? "close" : "menu",
1025
- stroke: e.color,
1026
- "stroke-width": 2
1027
- }, null, 8, ["name", "stroke"])
1028
- ], !0)
1029
- ], 44, Ke),
1030
- V("div", {
1031
- ref_key: "drawerRef",
1032
- ref: m,
1033
- "data-open": k.value,
1034
- class: g({ "vue-ui-user-options-drawer": !0 }),
1035
- style: r(`background:${e.backgroundColor}; ${e.position === "right" ? `right: ${e.offsetX ? e.offsetX : e.noOffset ? 0 : 4}px` : `left: ${e.noOffset ? 0 : 4}px`}`)
1036
- }, [
1037
- e.hasPdf ? (n(), i("button", {
1038
- key: 0,
1039
- tabindex: "0",
1040
- class: "vue-ui-user-options-button",
1041
- onClick: $,
1042
- onMouseenter: t[30] || (t[30] = (u) => l.value.pdf = !0),
1043
- onMouseout: t[31] || (t[31] = (u) => l.value.pdf = !1)
1044
- }, [
1045
- o.$slots.optionPdf ? b(o.$slots, "optionPdf", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
1046
- e.isPrinting ? (n(), v(f, {
1047
- key: 0,
1048
- name: "hourglass",
1049
- isSpin: "",
1050
- stroke: e.color,
1051
- style: { "pointer-events": "none" }
1052
- }, null, 8, ["stroke"])) : (n(), v(f, {
1053
- key: 1,
1054
- name: "filePdf",
1055
- stroke: e.color,
1056
- style: { "pointer-events": "none" }
1057
- }, null, 8, ["stroke"]))
1058
- ], 64)),
1059
- d.value && e.titles.pdf ? (n(), i("div", {
1060
- key: 2,
1061
- dir: "auto",
1062
- class: g({
1063
- "button-info-left": e.position === "left",
1064
- "button-info-right": e.position === "right",
1065
- "button-info-right-visible": e.position === "right" && l.value.pdf,
1066
- "button-info-left-visible": e.position === "left" && l.value.pdf
1067
- }),
1068
- style: r({ background: e.backgroundColor, color: e.color })
1069
- }, c(e.titles.pdf), 7)) : a("", !0)
1070
- ], 32)) : a("", !0),
1071
- e.hasXls ? (n(), i("button", {
1072
- key: 1,
1073
- tabindex: "0",
1074
- class: "vue-ui-user-options-button",
1075
- onClick: T,
1076
- onMouseenter: t[32] || (t[32] = (u) => l.value.csv = !0),
1077
- onMouseout: t[33] || (t[33] = (u) => l.value.csv = !1)
1078
- }, [
1079
- o.$slots.optionCsv ? b(o.$slots, "optionCsv", { key: 0 }, void 0, !0) : (n(), v(f, {
1080
- key: 1,
1081
- name: "fileCsv",
1082
- stroke: e.color,
1083
- style: { "pointer-events": "none" }
1084
- }, null, 8, ["stroke"])),
1085
- d.value && e.titles.csv ? (n(), i("div", {
1086
- key: 2,
1087
- dir: "auto",
1088
- class: g({
1089
- "button-info-left": e.position === "left",
1090
- "button-info-right": e.position === "right",
1091
- "button-info-right-visible": e.position === "right" && l.value.csv,
1092
- "button-info-left-visible": e.position === "left" && l.value.csv
1093
- }),
1094
- style: r({ background: e.backgroundColor, color: e.color })
1095
- }, c(e.titles.csv), 7)) : a("", !0)
1096
- ], 32)) : a("", !0),
1097
- e.hasImg ? (n(), i("button", {
1098
- key: 2,
1099
- tabindex: "0",
1100
- class: "vue-ui-user-options-button",
1101
- onClick: O,
1102
- onMouseenter: t[34] || (t[34] = (u) => l.value.img = !0),
1103
- onMouseout: t[35] || (t[35] = (u) => l.value.img = !1)
1104
- }, [
1105
- o.$slots.optionImg ? b(o.$slots, "optionImg", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
1106
- e.isImaging ? (n(), v(f, {
1107
- key: 0,
1108
- name: "hourglass",
1109
- isSpin: "",
1110
- stroke: e.color,
1111
- style: { "pointer-events": "none" }
1112
- }, null, 8, ["stroke"])) : (n(), v(f, {
1113
- key: 1,
1114
- name: "filePng",
1115
- stroke: e.color,
1116
- style: { "pointer-events": "none" }
1117
- }, null, 8, ["stroke"]))
1118
- ], 64)),
1119
- d.value && e.titles.img ? (n(), i("div", {
1120
- key: 2,
1121
- dir: "auto",
1122
- class: g({
1123
- "button-info-left": e.position === "left",
1124
- "button-info-right": e.position === "right",
1125
- "button-info-right-visible": e.position === "right" && l.value.img,
1126
- "button-info-left-visible": e.position === "left" && l.value.img
1127
- }),
1128
- style: r({ background: e.backgroundColor, color: e.color })
1129
- }, c(e.titles.img), 7)) : a("", !0)
1130
- ], 32)) : a("", !0),
1131
- e.hasSvg ? (n(), i("button", {
1132
- key: 3,
1133
- tabindex: "0",
1134
- class: "vue-ui-user-options-button",
1135
- onClick: F,
1136
- onMouseenter: t[36] || (t[36] = (u) => l.value.svg = !0),
1137
- onMouseout: t[37] || (t[37] = (u) => l.value.svg = !1)
1138
- }, [
1139
- o.$slots.optionSvg ? b(o.$slots, "optionSvg", { key: 0 }, void 0, !0) : (n(), v(f, {
1140
- key: 1,
1141
- name: "fileSvg",
1142
- stroke: e.color,
1143
- style: { "pointer-events": "none" }
1144
- }, null, 8, ["stroke"])),
1145
- d.value && e.titles.svg ? (n(), i("div", {
1146
- key: 2,
1147
- dir: "auto",
1148
- class: g({
1149
- "button-info-left": e.position === "left",
1150
- "button-info-right": e.position === "right",
1151
- "button-info-right-visible": e.position === "right" && l.value.svg,
1152
- "button-info-left-visible": e.position === "left" && l.value.svg
1153
- }),
1154
- style: r({ background: e.backgroundColor, color: e.color })
1155
- }, c(e.titles.svg), 7)) : a("", !0)
1156
- ], 32)) : a("", !0),
1157
- e.hasTooltip ? (n(), i("button", {
1158
- key: 4,
1159
- tabindex: "0",
1160
- class: "vue-ui-user-options-button",
1161
- onClick: ie,
1162
- onMouseenter: t[38] || (t[38] = (u) => l.value.tooltip = !0),
1163
- onMouseout: t[39] || (t[39] = (u) => l.value.tooltip = !1)
1164
- }, [
1165
- o.$slots.optionTooltip ? b(o.$slots, "optionTooltip", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
1166
- K.value ? (n(), v(f, {
1167
- key: 0,
1168
- name: "tooltip",
1169
- stroke: e.color,
1170
- style: { "pointer-events": "none" }
1171
- }, null, 8, ["stroke"])) : (n(), v(f, {
1172
- key: 1,
1173
- name: "tooltipDisabled",
1174
- stroke: e.color,
1175
- style: { "pointer-events": "none" }
1176
- }, null, 8, ["stroke"]))
1177
- ], 64)),
1178
- d.value && e.titles.tooltip ? (n(), i("div", {
1179
- key: 2,
1180
- dir: "auto",
1181
- class: g({
1182
- "button-info-left": e.position === "left",
1183
- "button-info-right": e.position === "right",
1184
- "button-info-left-visible": e.position === "left" && l.value.tooltip,
1185
- "button-info-right-visible": e.position === "right" && l.value.tooltip
1186
- }),
1187
- style: r({ background: e.backgroundColor, color: e.color })
1188
- }, c(e.titles.tooltip), 7)) : a("", !0)
1189
- ], 32)) : a("", !0),
1190
- e.hasTable ? (n(), i("button", {
1191
- key: 5,
1192
- tabindex: "0",
1193
- class: "vue-ui-user-options-button",
1194
- onClick: H,
1195
- onMouseenter: t[40] || (t[40] = (u) => l.value.table = !0),
1196
- onMouseout: t[41] || (t[41] = (u) => l.value.table = !1)
1197
- }, [
1198
- o.$slots.optionTable ? b(o.$slots, "optionTable", { key: 0 }, void 0, !0) : (n(), i(C, { key: 1 }, [
1199
- e.tableDialog ? (n(), v(f, {
1200
- key: 0,
1201
- name: P.value ? "tableDialogClose" : "tableDialogOpen",
1202
- stroke: e.color,
1203
- style: { "pointer-events": "none" }
1204
- }, null, 8, ["name", "stroke"])) : (n(), v(f, {
1205
- key: 1,
1206
- name: P.value ? "tableClose" : "tableOpen",
1207
- stroke: e.color,
1208
- style: { "pointer-events": "none" }
1209
- }, null, 8, ["name", "stroke"]))
1210
- ], 64)),
1211
- d.value && e.titles.table ? (n(), i("div", {
1212
- key: 2,
1213
- dir: "auto",
1214
- class: g({
1215
- "button-info-left": e.position === "left",
1216
- "button-info-right": e.position === "right",
1217
- "button-info-right-visible": e.position === "right" && l.value.table,
1218
- "button-info-left-visible": e.position === "left" && l.value.table
1219
- }),
1220
- style: r({ background: e.backgroundColor, color: e.color })
1221
- }, c(e.titles.table), 7)) : a("", !0)
1222
- ], 32)) : a("", !0),
1223
- e.hasLabel ? (n(), i("button", {
1224
- key: 6,
1225
- tabindex: "0",
1226
- class: "vue-ui-user-options-button",
1227
- onClick: te,
1228
- onMouseenter: t[42] || (t[42] = (u) => l.value.labels = !0),
1229
- onMouseout: t[43] || (t[43] = (u) => l.value.labels = !1)
1230
- }, [
1231
- o.$slots.optionLabels ? b(o.$slots, "optionLabels", { key: 0 }, void 0, !0) : (n(), v(f, {
1232
- key: 1,
1233
- name: Z.value ? "labelClose" : "labelOpen",
1234
- stroke: e.color,
1235
- style: { "pointer-events": "none" }
1236
- }, null, 8, ["name", "stroke"])),
1237
- d.value && e.titles.labels ? (n(), i("div", {
1238
- key: 2,
1239
- dir: "auto",
1240
- class: g({
1241
- "button-info-left": e.position === "left",
1242
- "button-info-right": e.position === "right",
1243
- "button-info-right-visible": e.position === "right" && l.value.labels,
1244
- "button-info-left-visible": e.position === "left" && l.value.labels
1245
- }),
1246
- style: r({ background: e.backgroundColor, color: e.color })
1247
- }, c(e.titles.labels), 7)) : a("", !0)
1248
- ], 32)) : a("", !0),
1249
- e.hasSort ? (n(), i("button", {
1250
- key: 7,
1251
- tabindex: "0",
1252
- class: "vue-ui-user-options-button",
1253
- onClick: ne,
1254
- onMouseenter: t[44] || (t[44] = (u) => l.value.sort = !0),
1255
- onMouseout: t[45] || (t[45] = (u) => l.value.sort = !1)
1256
- }, [
1257
- o.$slots.optionSort ? b(o.$slots, "optionSort", { key: 0 }, void 0, !0) : (n(), v(f, {
1258
- key: 1,
1259
- name: "sort",
1260
- stroke: e.color,
1261
- style: { "pointer-events": "none" }
1262
- }, null, 8, ["stroke"])),
1263
- d.value && e.titles.sort ? (n(), i("div", {
1264
- key: 2,
1265
- dir: "auto",
1266
- class: g({
1267
- "button-info-left": e.position === "left",
1268
- "button-info-right": e.position === "right",
1269
- "button-info-right-visible": e.position === "right" && l.value.sort,
1270
- "button-info-left-visible": e.position === "left" && l.value.sort
1271
- }),
1272
- style: r({ background: e.backgroundColor, color: e.color })
1273
- }, c(e.titles.sort), 7)) : a("", !0)
1274
- ], 32)) : a("", !0),
1275
- e.hasStack ? (n(), i("button", {
1276
- key: 8,
1277
- tabindex: "0",
1278
- class: "vue-ui-user-options-button",
1279
- onClick: le,
1280
- onMouseenter: t[46] || (t[46] = (u) => l.value.stack = !0),
1281
- onMouseout: t[47] || (t[47] = (u) => l.value.stack = !1)
1282
- }, [
1283
- o.$slots.optionStack ? b(o.$slots, "optionStack", S(I({ key: 0 }, { isStack: R.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
1284
- R.value ? (n(), v(f, {
1285
- key: 0,
1286
- name: "unstack",
1287
- stroke: e.color,
1288
- style: { "pointer-events": "none" }
1289
- }, null, 8, ["stroke"])) : (n(), v(f, {
1290
- key: 1,
1291
- name: "stack",
1292
- stroke: e.color,
1293
- style: { "pointer-events": "none" }
1294
- }, null, 8, ["stroke"]))
1295
- ], 64)),
1296
- d.value && e.titles.stack ? (n(), i("div", {
1297
- key: 2,
1298
- dir: "auto",
1299
- class: g({
1300
- "button-info-left": e.position === "left",
1301
- "button-info-right": e.position === "right",
1302
- "button-info-right-visible": e.position === "right" && l.value.stack,
1303
- "button-info-left-visible": e.position === "left" && l.value.stack
1304
- }),
1305
- style: r({ background: e.backgroundColor, color: e.color })
1306
- }, c(e.titles.stack), 7)) : a("", !0)
1307
- ], 32)) : a("", !0),
1308
- e.hasFullscreen ? (n(), i("button", {
1309
- key: 9,
1310
- tabindex: "0",
1311
- class: "vue-ui-user-options-button",
1312
- onMouseenter: t[48] || (t[48] = (u) => l.value.fullscreen = !0),
1313
- onMouseout: t[49] || (t[49] = (u) => l.value.fullscreen = !1),
1314
- onClick: t[50] || (t[50] = (u) => j(e.isFullscreen ? "out" : "in"))
1315
- }, [
1316
- o.$slots.optionFullscreen ? b(o.$slots, "optionFullscreen", S(I({ key: 0 }, { toggleFullscreen: j, isFullscreen: e.isFullscreen })), void 0, !0) : (n(), i(C, { key: 1 }, [
1317
- e.isFullscreen ? (n(), v(f, {
1318
- key: 0,
1319
- name: "exitFullscreen",
1320
- stroke: e.color,
1321
- style: { "pointer-events": "none" }
1322
- }, null, 8, ["stroke"])) : (n(), v(f, {
1323
- key: 1,
1324
- name: "fullscreen",
1325
- stroke: e.color,
1326
- style: { "pointer-events": "none" }
1327
- }, null, 8, ["stroke"]))
1328
- ], 64)),
1329
- d.value && e.titles.fullscreen ? (n(), i("div", {
1330
- key: 2,
1331
- dir: "auto",
1332
- class: g({
1333
- "button-info-left": e.position === "left",
1334
- "button-info-right": e.position === "right",
1335
- "button-info-right-visible": e.position === "right" && l.value.fullscreen,
1336
- "button-info-left-visible": e.position === "left" && l.value.fullscreen
1337
- }),
1338
- style: r({ background: e.backgroundColor, color: e.color })
1339
- }, c(e.titles.fullscreen), 7)) : a("", !0)
1340
- ], 32)) : a("", !0),
1341
- e.hasZoom ? (n(), i("button", {
1342
- key: 10,
1343
- tabindex: "0",
1344
- class: "vue-ui-user-options-button",
1345
- onMouseenter: t[51] || (t[51] = (u) => l.value.zoom = !0),
1346
- onMouseout: t[52] || (t[52] = (u) => l.value.zoom = !1),
1347
- onClick: t[53] || (t[53] = (u) => U())
1348
- }, [
1349
- o.$slots.optionZoom ? b(o.$slots, "optionZoom", S(I({ key: 0 }, { toggleZoom: U, isZoomLocked: !e.isZoom })), void 0, !0) : (n(), i(C, { key: 1 }, [
1350
- e.isZoom ? (n(), v(f, {
1351
- key: 0,
1352
- name: "zoomUnlock",
1353
- stroke: e.color,
1354
- style: { "pointer-events": "none" }
1355
- }, null, 8, ["stroke"])) : (n(), v(f, {
1356
- key: 1,
1357
- name: "zoomLock",
1358
- stroke: e.color,
1359
- style: { "pointer-events": "none" }
1360
- }, null, 8, ["stroke"]))
1361
- ], 64)),
1362
- d.value && e.titles.zoom ? (n(), i("div", {
1363
- key: 2,
1364
- dir: "auto",
1365
- class: g({
1366
- "button-info-left": e.position === "left",
1367
- "button-info-right": e.position === "right",
1368
- "button-info-right-visible": e.position === "right" && l.value.zoom,
1369
- "button-info-left-visible": e.position === "left" && l.value.zoom
1370
- }),
1371
- style: r({ background: e.backgroundColor, color: e.color })
1372
- }, c(e.titles.zoom), 7)) : a("", !0)
1373
- ], 32)) : a("", !0),
1374
- e.hasAnimation ? (n(), i("button", {
1375
- key: 11,
1376
- tabindex: "0",
1377
- class: "vue-ui-user-options-button",
1378
- onMouseenter: t[54] || (t[54] = (u) => l.value.animation = !0),
1379
- onMouseout: t[55] || (t[55] = (u) => l.value.animation = !1),
1380
- onClick: N
1381
- }, [
1382
- o.$slots.optionAnimation ? b(o.$slots, "optionAnimation", S(I({ key: 0 }, { toggleAnimation: N, isAnimated: x.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
1383
- x.value ? (n(), v(f, {
1384
- key: 0,
1385
- name: "play",
1386
- stroke: e.color,
1387
- style: { "pointer-events": "none" }
1388
- }, null, 8, ["stroke"])) : (n(), v(f, {
1389
- key: 1,
1390
- name: "pause",
1391
- stroke: e.color,
1392
- style: { "pointer-events": "none" }
1393
- }, null, 8, ["stroke"]))
1394
- ], 64)),
1395
- d.value && e.titles.fullscreen ? (n(), i("div", {
1396
- key: 2,
1397
- dir: "auto",
1398
- class: g({
1399
- "button-info-left": e.position === "left",
1400
- "button-info-right": e.position === "right",
1401
- "button-info-right-visible": e.position === "right" && l.value.animation,
1402
- "button-info-left-visible": e.position === "left" && l.value.animation
1403
- }),
1404
- style: r({ background: e.backgroundColor, color: e.color })
1405
- }, c(e.titles.animation), 7)) : a("", !0)
1406
- ], 32)) : a("", !0),
1407
- e.hasAnnotator ? (n(), i("button", {
1408
- key: 12,
1409
- tabindex: "0",
1410
- class: "vue-ui-user-options-button",
1411
- onMouseenter: t[56] || (t[56] = (u) => l.value.annotator = !0),
1412
- onMouseout: t[57] || (t[57] = (u) => l.value.annotator = !1),
1413
- onClick: D
1414
- }, [
1415
- o.$slots.optionAnnotator ? b(o.$slots, "optionAnnotator", S(I({ key: 0 }, { toggleAnnotator: D, isAnnotator: z.value })), void 0, !0) : (n(), i(C, { key: 1 }, [
1416
- z.value ? (n(), v(f, {
1417
- key: 0,
1418
- name: "annotatorDisabled",
1419
- stroke: e.color,
1420
- style: { "pointer-events": "none" }
1421
- }, null, 8, ["stroke"])) : (n(), v(f, {
1422
- key: 1,
1423
- name: "annotator",
1424
- stroke: e.color,
1425
- style: { "pointer-events": "none" }
1426
- }, null, 8, ["stroke"]))
1427
- ], 64)),
1428
- d.value && e.titles.annotator ? (n(), i("div", {
1429
- key: 2,
1430
- dir: "auto",
1431
- class: g({
1432
- "button-info-left": e.position === "left",
1433
- "button-info-right": e.position === "right",
1434
- "button-info-right-visible": e.position === "right" && l.value.annotator,
1435
- "button-info-left-visible": e.position === "left" && l.value.annotator
1436
- }),
1437
- style: r({ background: e.backgroundColor, color: e.color })
1438
- }, c(e.titles.annotator), 7)) : a("", !0)
1439
- ], 32)) : a("", !0),
1440
- e.hasAltCopy ? (n(), i("button", {
1441
- key: 13,
1442
- tabindex: "0",
1443
- class: "vue-ui-user-options-button",
1444
- onMouseenter: t[58] || (t[58] = (u) => l.value.altCopy = !0),
1445
- onMouseout: t[59] || (t[59] = (u) => l.value.altCopy = !1),
1446
- onClick: D
1447
- }, [
1448
- o.$slots.optionAltCopy ? b(o.$slots, "optionAltCopy", S(I({ key: 0 }, { copyAlt: W })), void 0, !0) : (n(), v(f, {
1449
- key: 1,
1450
- name: "accessibility",
1451
- stroke: e.color,
1452
- style: { "pointer-events": "none" }
1453
- }, null, 8, ["stroke"])),
1454
- d.value && e.titles.altCopy ? (n(), i("div", {
1455
- key: 2,
1456
- dir: "auto",
1457
- class: g({
1458
- "button-info-left": e.position === "left",
1459
- "button-info-right": e.position === "right",
1460
- "button-info-right-visible": e.position === "right" && l.value.altCopy,
1461
- "button-info-left-visible": e.position === "left" && l.value.altCopy
1462
- }),
1463
- style: r({ background: e.backgroundColor, color: e.color })
1464
- }, c(e.titles.altCopy), 7)) : a("", !0)
1465
- ], 32)) : a("", !0)
1466
- ], 12, je)
1467
- ], 36)), [
1468
- [Me(De), Ee]
1469
- ]);
1470
- }
1471
- }, Je = /* @__PURE__ */ Xe(Ge, [["__scopeId", "data-v-87f859f9"]]);
1472
- export {
1473
- Je as default
1474
- };