vue-data-ui 3.19.9 → 3.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +120 -120
  2. package/dist/A11yDataTable-q2-8fSlJ.js +0 -45
  3. package/dist/Arrow-Cj6W6Xbi.js +0 -116
  4. package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
  5. package/dist/BaseIcon-DM1x8hQF.js +0 -502
  6. package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
  7. package/dist/BaseScanner-C7dmAref.js +0 -27
  8. package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
  9. package/dist/ColorPicker-DTQeqKUV.js +0 -255
  10. package/dist/DataTable-DmE8Oo4i.js +0 -150
  11. package/dist/Legend-Gg5Q4Clb.js +0 -114
  12. package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
  13. package/dist/PackageVersion-Dl9W5zJD.js +0 -11
  14. package/dist/PenAndPaper-DNgm6y3l.js +0 -461
  15. package/dist/RecursiveCircles-DPpLel6f.js +0 -117
  16. package/dist/RecursiveLabels-DBMJf_to.js +0 -56
  17. package/dist/RecursiveLinks-D06dBL4a.js +0 -78
  18. package/dist/Shape-DEGOZ6GG.js +0 -141
  19. package/dist/Slicer-CPWGgGSp.js +0 -1144
  20. package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
  21. package/dist/SparkTooltip-c2DL7gqD.js +0 -93
  22. package/dist/Title-__gWq2g6.js +0 -87
  23. package/dist/Tooltip-CuWEYGr3.js +0 -312
  24. package/dist/UserOptions-D7zR0tnR.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
  26. package/dist/canvas-lib-DTaADQOK.js +0 -79
  27. package/dist/components/arrow.js +0 -2
  28. package/dist/components/vue-ui-3d-bar.js +0 -2
  29. package/dist/components/vue-ui-accordion.js +0 -2
  30. package/dist/components/vue-ui-age-pyramid.js +0 -2
  31. package/dist/components/vue-ui-annotator.js +0 -2
  32. package/dist/components/vue-ui-bullet.js +0 -2
  33. package/dist/components/vue-ui-bump.js +0 -2
  34. package/dist/components/vue-ui-candlestick.js +0 -2
  35. package/dist/components/vue-ui-carousel-table.js +0 -2
  36. package/dist/components/vue-ui-chestnut.js +0 -2
  37. package/dist/components/vue-ui-chord.js +0 -2
  38. package/dist/components/vue-ui-circle-pack.js +0 -2
  39. package/dist/components/vue-ui-cursor.js +0 -2
  40. package/dist/components/vue-ui-dag.js +0 -2
  41. package/dist/components/vue-ui-dashboard.js +0 -2
  42. package/dist/components/vue-ui-digits.js +0 -2
  43. package/dist/components/vue-ui-donut-evolution.js +0 -2
  44. package/dist/components/vue-ui-donut.js +0 -2
  45. package/dist/components/vue-ui-dumbbell.js +0 -2
  46. package/dist/components/vue-ui-flow.js +0 -2
  47. package/dist/components/vue-ui-funnel.js +0 -2
  48. package/dist/components/vue-ui-galaxy.js +0 -2
  49. package/dist/components/vue-ui-gauge.js +0 -2
  50. package/dist/components/vue-ui-geo.js +0 -2
  51. package/dist/components/vue-ui-gizmo.js +0 -2
  52. package/dist/components/vue-ui-heatmap.js +0 -2
  53. package/dist/components/vue-ui-history-plot.js +0 -2
  54. package/dist/components/vue-ui-horizontal-bar.js +0 -2
  55. package/dist/components/vue-ui-icon.js +0 -2
  56. package/dist/components/vue-ui-kpi.js +0 -2
  57. package/dist/components/vue-ui-mini-loader.js +0 -2
  58. package/dist/components/vue-ui-molecule.js +0 -2
  59. package/dist/components/vue-ui-mood-radar.js +0 -2
  60. package/dist/components/vue-ui-nested-donuts.js +0 -2
  61. package/dist/components/vue-ui-onion.js +0 -2
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
  63. package/dist/components/vue-ui-pattern-seed.js +0 -2
  64. package/dist/components/vue-ui-pattern.js +0 -2
  65. package/dist/components/vue-ui-quadrant.js +0 -2
  66. package/dist/components/vue-ui-quick-chart.js +0 -2
  67. package/dist/components/vue-ui-radar.js +0 -2
  68. package/dist/components/vue-ui-rating.js +0 -2
  69. package/dist/components/vue-ui-relation-circle.js +0 -2
  70. package/dist/components/vue-ui-ridgeline.js +0 -2
  71. package/dist/components/vue-ui-rings.js +0 -2
  72. package/dist/components/vue-ui-scatter.js +0 -2
  73. package/dist/components/vue-ui-skeleton.js +0 -2
  74. package/dist/components/vue-ui-smiley.js +0 -2
  75. package/dist/components/vue-ui-spark-trend.js +0 -2
  76. package/dist/components/vue-ui-sparkbar.js +0 -2
  77. package/dist/components/vue-ui-sparkgauge.js +0 -2
  78. package/dist/components/vue-ui-sparkhistogram.js +0 -2
  79. package/dist/components/vue-ui-sparkline.js +0 -2
  80. package/dist/components/vue-ui-sparkstackbar.js +0 -2
  81. package/dist/components/vue-ui-stackbar.js +0 -2
  82. package/dist/components/vue-ui-stackline.js +0 -2
  83. package/dist/components/vue-ui-strip-plot.js +0 -2
  84. package/dist/components/vue-ui-table-heatmap.js +0 -2
  85. package/dist/components/vue-ui-table-sparkline.js +0 -2
  86. package/dist/components/vue-ui-table.js +0 -2
  87. package/dist/components/vue-ui-thermometer.js +0 -2
  88. package/dist/components/vue-ui-timer.js +0 -2
  89. package/dist/components/vue-ui-tiremarks.js +0 -2
  90. package/dist/components/vue-ui-treemap.js +0 -2
  91. package/dist/components/vue-ui-vertical-bar.js +0 -2
  92. package/dist/components/vue-ui-waffle.js +0 -2
  93. package/dist/components/vue-ui-wheel.js +0 -2
  94. package/dist/components/vue-ui-word-cloud.js +0 -2
  95. package/dist/components/vue-ui-world.js +0 -2
  96. package/dist/components/vue-ui-xy-canvas.js +0 -2
  97. package/dist/components/vue-ui-xy.js +0 -2
  98. package/dist/dom-to-png-9WSt6hXe.js +0 -237
  99. package/dist/exposedLib-CwWU4zv-.js +0 -19
  100. package/dist/geoProjections-CQIkC70z.js +0 -146
  101. package/dist/img-BjOr008R.js +0 -74
  102. package/dist/labelUtils-Cr97N8E1.js +0 -19
  103. package/dist/lib-BkiwukKO.js +0 -1879
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-B7BWu5bV.js +0 -258
  106. package/dist/pdf-DSXSFUnK.js +0 -90
  107. package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
  108. package/dist/style.css +0 -2
  109. package/dist/types/arrow.d.ts +0 -4
  110. package/dist/types/utils.d.ts +0 -551
  111. package/dist/types/vue-data-ui.d.ts +0 -15826
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -78
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
  115. package/dist/types/vue-ui-annotator.d.ts +0 -12
  116. package/dist/types/vue-ui-bullet.d.ts +0 -72
  117. package/dist/types/vue-ui-bump.d.ts +0 -77
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -93
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -46
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -79
  121. package/dist/types/vue-ui-chord.d.ts +0 -91
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -111
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -106
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -53
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
  128. package/dist/types/vue-ui-donut.d.ts +0 -106
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -79
  130. package/dist/types/vue-ui-flow.d.ts +0 -93
  131. package/dist/types/vue-ui-funnel.d.ts +0 -66
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -97
  133. package/dist/types/vue-ui-gauge.d.ts +0 -76
  134. package/dist/types/vue-ui-geo.d.ts +0 -81
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -86
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -97
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
  139. package/dist/types/vue-ui-icon.d.ts +0 -15
  140. package/dist/types/vue-ui-kpi.d.ts +0 -25
  141. package/dist/types/vue-ui-mini-loader.d.ts +0 -15
  142. package/dist/types/vue-ui-molecule.d.ts +0 -97
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -79
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
  145. package/dist/types/vue-ui-onion.d.ts +0 -91
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
  147. package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
  148. package/dist/types/vue-ui-pattern.d.ts +0 -15
  149. package/dist/types/vue-ui-quadrant.d.ts +0 -102
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -89
  151. package/dist/types/vue-ui-radar.d.ts +0 -101
  152. package/dist/types/vue-ui-rating.d.ts +0 -31
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -79
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -85
  155. package/dist/types/vue-ui-rings.d.ts +0 -83
  156. package/dist/types/vue-ui-scatter.d.ts +0 -82
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -12
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -36
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -44
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -97
  166. package/dist/types/vue-ui-stackline.d.ts +0 -93
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -81
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
  170. package/dist/types/vue-ui-table.d.ts +0 -25
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -57
  172. package/dist/types/vue-ui-timer.d.ts +0 -36
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -57
  174. package/dist/types/vue-ui-treemap.d.ts +0 -87
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -86
  177. package/dist/types/vue-ui-wheel.d.ts +0 -57
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -84
  179. package/dist/types/vue-ui-world.d.ts +0 -81
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
  181. package/dist/types/vue-ui-xy.d.ts +0 -125
  182. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
  183. package/dist/useChartAccessibility-Do37qcw2.js +0 -12
  184. package/dist/useConfig-ByaaSKhz.js +0 -7471
  185. package/dist/useFitSvgText-C-MEdAfe.js +0 -63
  186. package/dist/useNestedProp-Ck4hsrpu.js +0 -10
  187. package/dist/useObjectBindings-BR1sGimd.js +0 -189
  188. package/dist/usePanZoom-B-4M_gmY.js +0 -157
  189. package/dist/usePrefersMotion-BywLbIko.js +0 -15
  190. package/dist/usePrinter-X0yWOynH.js +0 -49
  191. package/dist/useResponsive-CrAInupd.js +0 -19
  192. package/dist/useStableElementSize-0I1IpHPl.js +0 -77
  193. package/dist/useSvgExport-Dtu973wa.js +0 -755
  194. package/dist/useTableResponsive-DrM1xqII.js +0 -24
  195. package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
  196. package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
  197. package/dist/useTimeLabels-C0x7zUXP.js +0 -272
  198. package/dist/useUserOptionState-CjPJPTg2.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-CbX_bC9A.js +0 -13
  201. package/dist/vue-data-ui-nsosW-n5.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
  204. package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
  205. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  206. package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
  207. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  208. package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
  209. package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
  210. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  211. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  212. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  213. package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
  214. package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
  215. package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
  216. package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
  217. package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
  218. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
  220. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  221. package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
  222. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  223. package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
  224. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  225. package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
  226. package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
  227. package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
  228. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  229. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  230. package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
  231. package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
  232. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  233. package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  235. package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
  237. package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
  238. package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
  239. package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
  240. package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
  241. package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
  242. package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
  243. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  244. package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
  245. package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
  246. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  247. package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
  248. package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
  249. package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
  250. package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
  251. package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
  253. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  255. package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
  256. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  257. package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
  258. package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
  260. package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
  261. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  262. package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
  263. package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
  264. package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
  265. package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
  266. package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
  267. package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
  268. package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
  269. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  270. package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
  271. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
  273. package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
  274. package/dist/vue_ui_bump-frnXaXul.js +0 -201
  275. package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
  276. package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
  277. package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
  278. package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
  279. package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
  280. package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
  281. package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
  282. package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
  283. package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
  284. package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
  285. package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
  286. package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
  287. package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
  288. package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
  289. package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
  291. package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
  292. package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
  293. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
  294. package/dist/vue_ui_onion-DTV9cup-.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
  296. package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
  297. package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
  298. package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
  299. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
  300. package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
  301. package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
  302. package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
  303. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
  304. package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
  305. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
  307. package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
  309. package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
  310. package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
  311. package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
  312. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
  313. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
  314. package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
  315. package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
  316. package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
  318. package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
  319. package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
  320. package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
  321. package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
  322. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
@@ -1,1411 +0,0 @@
1
- import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
- import { t } from "./img-BjOr008R.js";
3
- import { t as n } from "./_plugin-vue_export-helper-Dq1MygBL.js";
4
- import { t as r } from "./BaseIcon-DM1x8hQF.js";
5
- import { t as i } from "./vClickOutside-CbX_bC9A.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 };