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
@@ -0,0 +1,1966 @@
1
+ import { t as e } from "./rolldown-runtime-CAFD8bLK.js";
2
+ import { B as t, G as n, H as r, J as i, Lt as a, Mt as o, S as ee, St as te, Tt as s, X as ne, gt as re, i as c, jt as ie, nt as ae, pt as oe, r as se, t as ce, ut as le, x as ue, y as de, zt as fe } from "./lib-BkiwukKO.js";
3
+ import { t as pe } from "./useConfig-BV0kTCnO.js";
4
+ import { t as me } from "./usePrinter-X0yWOynH.js";
5
+ import { n as he, t as ge } from "./BaseScanner-C7dmAref.js";
6
+ import { t as _e } from "./useSvgExport-Dtu973wa.js";
7
+ import { t as ve } from "./useNestedProp-Ck4hsrpu.js";
8
+ import { t as ye } from "./useThemeCheck-rFK9Zlb_.js";
9
+ import { t as be } from "./img-BjOr008R.js";
10
+ import { n as xe } from "./Title-__gWq2g6.js";
11
+ import { t as Se } from "./Shape-DEGOZ6GG.js";
12
+ import { t as Ce } from "./_plugin-vue_export-helper-Dq1MygBL.js";
13
+ import { c as we } from "./canvas-lib-DTaADQOK.js";
14
+ import { t as Te } from "./useResponsive-CrAInupd.js";
15
+ import { t as Ee } from "./BaseLegendToggle-DUIqQmwM.js";
16
+ import { t as De } from "./A11yDataTable-q2-8fSlJ.js";
17
+ import { t as Oe } from "./useUserOptionState-CjPJPTg2.js";
18
+ import { t as ke } from "./useChartAccessibility-Do37qcw2.js";
19
+ import { t as Ae } from "./Legend-Gg5Q4Clb.js";
20
+ import { t as je } from "./vue_ui_quadrant-3kjYvxpj.js";
21
+ import { Fragment as l, Teleport as Me, computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as h, guardReactiveProps as g, mergeProps as Ie, nextTick as Le, normalizeClass as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as Re, onMounted as ze, openBlock as b, ref as x, renderList as S, renderSlot as C, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as w, toRefs as He, unref as T, watch as Ue, withCtx as E } from "vue";
22
+ //#region src/components/vue-ui-quadrant.vue
23
+ var We = /* @__PURE__ */ e({ default: () => tn }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
24
+ "xmlns",
25
+ "aria-describedby",
26
+ "viewBox",
27
+ "id"
28
+ ], Xe = [
29
+ "x",
30
+ "y",
31
+ "width",
32
+ "height"
33
+ ], Ze = ["id"], Qe = ["stop-color"], $e = ["stop-color"], et = { key: 1 }, tt = [
34
+ "fill",
35
+ "x",
36
+ "y",
37
+ "height",
38
+ "width",
39
+ "stroke-width",
40
+ "stroke",
41
+ "rx"
42
+ ], nt = [
43
+ "x1",
44
+ "y1",
45
+ "x2",
46
+ "y2",
47
+ "stroke",
48
+ "stroke-width"
49
+ ], rt = [
50
+ "x1",
51
+ "y1",
52
+ "x2",
53
+ "y2",
54
+ "stroke",
55
+ "stroke-width"
56
+ ], it = { key: 2 }, at = ["points", "fill"], ot = ["points", "fill"], st = ["points", "fill"], ct = ["points", "fill"], lt = { key: 3 }, ut = [
57
+ "y",
58
+ "fill",
59
+ "font-size"
60
+ ], dt = [
61
+ "x",
62
+ "y",
63
+ "fill",
64
+ "font-size"
65
+ ], ft = [
66
+ "x",
67
+ "y",
68
+ "fill",
69
+ "font-size"
70
+ ], pt = [
71
+ "y",
72
+ "fill",
73
+ "font-size"
74
+ ], mt = { key: 4 }, ht = [
75
+ "x",
76
+ "y",
77
+ "font-size",
78
+ "fill"
79
+ ], gt = [
80
+ "x",
81
+ "y",
82
+ "font-size",
83
+ "fill"
84
+ ], _t = [
85
+ "x",
86
+ "y",
87
+ "font-size",
88
+ "fill"
89
+ ], vt = [
90
+ "id",
91
+ "font-size",
92
+ "transform",
93
+ "fill"
94
+ ], yt = [
95
+ "id",
96
+ "font-size",
97
+ "transform",
98
+ "fill"
99
+ ], bt = [
100
+ "id",
101
+ "font-size",
102
+ "transform",
103
+ "fill"
104
+ ], xt = { key: 5 }, St = ["fill", "points"], Ct = [
105
+ "x",
106
+ "y",
107
+ "width",
108
+ "height"
109
+ ], wt = [
110
+ "x",
111
+ "y",
112
+ "width",
113
+ "height"
114
+ ], Tt = [
115
+ "x",
116
+ "y",
117
+ "width",
118
+ "height"
119
+ ], Et = [
120
+ "x",
121
+ "y",
122
+ "width",
123
+ "height"
124
+ ], Dt = [
125
+ "x",
126
+ "y",
127
+ "onMouseenter",
128
+ "onMouseleave",
129
+ "onClick"
130
+ ], Ot = [
131
+ "data-a11y-plot-id",
132
+ "cx",
133
+ "cy",
134
+ "r"
135
+ ], kt = [
136
+ "data-a11y-plot-id",
137
+ "cx",
138
+ "cy",
139
+ "r"
140
+ ], At = {
141
+ key: 0,
142
+ style: { "pointer-events": "none" }
143
+ }, jt = [
144
+ "x",
145
+ "y",
146
+ "font-size",
147
+ "fill"
148
+ ], Mt = [
149
+ "x",
150
+ "y",
151
+ "font-size",
152
+ "fill",
153
+ "innerHTML"
154
+ ], Nt = { key: 0 }, Pt = [
155
+ "x",
156
+ "y",
157
+ "onMouseover",
158
+ "onMouseleave",
159
+ "onClick"
160
+ ], Ft = {
161
+ key: 8,
162
+ class: "vue-ui-dna"
163
+ }, It = ["points", "fill"], Lt = ["points", "fill"], Rt = ["points", "fill"], zt = ["points", "fill"], Bt = { key: 9 }, Vt = [
164
+ "x",
165
+ "y",
166
+ "font-size",
167
+ "fill",
168
+ "font-weight"
169
+ ], Ht = { key: 10 }, Ut = [
170
+ "x",
171
+ "y",
172
+ "fill"
173
+ ], Wt = [
174
+ "x",
175
+ "y",
176
+ "fill"
177
+ ], Gt = [
178
+ "x",
179
+ "y",
180
+ "fill"
181
+ ], Kt = [
182
+ "x",
183
+ "y",
184
+ "fill"
185
+ ], qt = ["stroke", "d"], Jt = ["stroke", "d"], Yt = {
186
+ key: 0,
187
+ style: {
188
+ position: "absolute",
189
+ top: "100%",
190
+ left: "0",
191
+ width: "100%"
192
+ },
193
+ "data-dom-to-png-ignore": "",
194
+ "aria-hidden": "true"
195
+ }, Xt = {
196
+ key: 5,
197
+ class: "vue-data-ui-watermark"
198
+ }, Zt = ["id"], Qt = ["onClick"], $t = {
199
+ key: 0,
200
+ height: "14",
201
+ width: "14",
202
+ viewBox: "0 0 20 20"
203
+ }, en = ["innerHTML"], tn = /* @__PURE__ */ Ce({
204
+ __name: "vue-ui-quadrant",
205
+ props: {
206
+ config: {
207
+ type: Object,
208
+ default() {
209
+ return {};
210
+ }
211
+ },
212
+ dataset: {
213
+ type: Array,
214
+ default() {
215
+ return [];
216
+ }
217
+ }
218
+ },
219
+ emits: [
220
+ "selectPlot",
221
+ "selectSide",
222
+ "selectLegend",
223
+ "copyAlt"
224
+ ],
225
+ setup(e, { expose: Ce, emit: We }) {
226
+ let tn = h(() => import("./Tooltip-B7lmdbac.js")), nn = h(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), rn = h(() => import("./vue-ui-accordion-cVv18nTV.js").then((e) => e.n)), an = h(() => import("./DataTable-BvDJEAma.js")), on = h(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), sn = h(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), cn = h(() => import("./PackageVersion-DhDKg-ez.js").then((e) => e.t)), ln = h(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_quadrant: un } = pe(), { isThemeValid: dn, warnInvalidTheme: fn } = ye(), D = e, pn = u(() => !!D.dataset && D.dataset.length), O = x(r()), mn = We, hn = x(!1), gn = x(""), _n = x(0), k = x(!1), A = x(null), vn = x(null), yn = x(null), bn = x(null), xn = x(null), Sn = x(0), Cn = x(0), wn = x(0), Tn = x(!1), En = x(null), Dn = x(null), On = x(!1), kn = x(!1), j = x(null), An = x(null), jn = x({
227
+ x: 0,
228
+ y: 0
229
+ }), Mn = x("pointer"), Nn = x(!1), M = x(Bn()), N = u(() => M.value.userOptions.useCursorPointer), Pn = u(() => ({
230
+ defaultConfig: {
231
+ userOptions: { show: !1 },
232
+ table: { show: !1 },
233
+ style: { chart: {
234
+ backgroundColor: "#99999930",
235
+ layout: {
236
+ grid: {
237
+ stroke: "#6A6A6A",
238
+ graduations: {
239
+ stroke: "#6A6A6A",
240
+ color: "#6A6A6A90"
241
+ },
242
+ xAxis: { auto: !0 },
243
+ yAxis: { auto: !0 }
244
+ },
245
+ labels: {
246
+ quadrantLabels: { show: !1 },
247
+ plotLabels: { show: !1 },
248
+ axisLabels: { show: !1 }
249
+ },
250
+ plots: { outlineColor: "#6A6A6A" }
251
+ },
252
+ legend: { backgroundColor: "transparent" }
253
+ } }
254
+ },
255
+ userConfig: M.value.skeletonConfig ?? {}
256
+ })), { loading: Fn, FINAL_DATASET: In } = he({
257
+ ...He(D),
258
+ FINAL_CONFIG: M,
259
+ prepareConfig: Bn,
260
+ callback: () => {
261
+ Promise.resolve().then(async () => {
262
+ await Le(), R.value.showTable = M.value.table.show;
263
+ });
264
+ },
265
+ skeletonDataset: D.config?.skeletonDataset ?? [{
266
+ name: "_",
267
+ shape: "circle",
268
+ color: "#CACACA",
269
+ series: [
270
+ {
271
+ name: "_",
272
+ x: -6,
273
+ y: -4
274
+ },
275
+ {
276
+ name: "_",
277
+ x: -5,
278
+ y: -2
279
+ },
280
+ {
281
+ name: "_",
282
+ x: -4,
283
+ y: -1
284
+ },
285
+ {
286
+ name: "_",
287
+ x: -3,
288
+ y: -.5
289
+ },
290
+ {
291
+ name: "_",
292
+ x: -2,
293
+ y: -.25
294
+ },
295
+ {
296
+ name: "_",
297
+ x: -1,
298
+ y: -.135
299
+ },
300
+ {
301
+ name: "_",
302
+ x: 0,
303
+ y: 0
304
+ },
305
+ {
306
+ name: "_",
307
+ x: 1,
308
+ y: .135
309
+ },
310
+ {
311
+ name: "_",
312
+ x: 2,
313
+ y: .25
314
+ },
315
+ {
316
+ name: "_",
317
+ x: 3,
318
+ y: .5
319
+ },
320
+ {
321
+ name: "_",
322
+ x: 4,
323
+ y: 1
324
+ },
325
+ {
326
+ name: "_",
327
+ x: 5,
328
+ y: 2
329
+ },
330
+ {
331
+ name: "_",
332
+ x: 6,
333
+ y: 4
334
+ }
335
+ ]
336
+ }],
337
+ skeletonConfig: fe({
338
+ defaultConfig: M.value,
339
+ userConfig: Pn.value
340
+ })
341
+ }), { userOptionsVisible: Ln, setUserOptionsVisibility: Rn, keepUserOptionState: zn } = Oe({ config: M.value }), { svgRef: P } = ke({ config: M.value.style.chart.title });
342
+ function Bn() {
343
+ let e = ve({
344
+ userConfig: D.config,
345
+ defaultConfig: un
346
+ }), t = e.theme;
347
+ if (!t) return e;
348
+ if (!dn.value(e)) return fn(e), e;
349
+ let n = ve({
350
+ userConfig: je[t] || D.config,
351
+ defaultConfig: e
352
+ }), r = ve({
353
+ userConfig: D.config,
354
+ defaultConfig: n
355
+ });
356
+ return {
357
+ ...r,
358
+ customPalette: r.customPalette.length ? r.customPalette : a[t] || s
359
+ };
360
+ }
361
+ Ue(() => D.config, (e) => {
362
+ M.value = Bn(), Ln.value = !M.value.userOptions.showOnChartHover, Vn(), Sn.value += 1, Cn.value += 1, wn.value += 1, R.value.plotLabels.show = M.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = M.value.table.show, R.value.showTooltip = M.value.style.chart.tooltip.show;
363
+ }, { deep: !0 });
364
+ let F = Ve(null), I = Ve(null), L = u(() => M.value.debug);
365
+ function Vn() {
366
+ if (te(D.dataset) ? ne({
367
+ componentName: "VueUiQuadrant",
368
+ type: "dataset",
369
+ debug: L.value
370
+ }) : D.dataset.forEach((e, t) => {
371
+ [null, void 0].includes(e.name) && ne({
372
+ componentName: "VueUiQuadrant",
373
+ type: "datasetSerieAttribute",
374
+ property: "name",
375
+ index: t,
376
+ debug: L.value
377
+ }), [null, void 0].includes(e.series) ? ne({
378
+ componentName: "VueUiQuadrant",
379
+ type: "datasetSerieAttribute",
380
+ property: "series",
381
+ index: t,
382
+ debug: L.value
383
+ }) : e.series.forEach((e, t) => {
384
+ [null, void 0].includes(e.name) && ne({
385
+ componentName: "VueUiQuadrant",
386
+ type: "datasetSerieAttribute",
387
+ property: "name",
388
+ key: "series",
389
+ index: t,
390
+ debug: L.value
391
+ });
392
+ });
393
+ }), M.value.responsive) {
394
+ let e = we(() => {
395
+ let { width: e, height: t } = Te({
396
+ chart: A.value,
397
+ title: M.value.style.chart.title.text ? vn.value : null,
398
+ legend: M.value.style.chart.legend.show ? yn.value : null,
399
+ source: bn.value,
400
+ noTitle: xn.value
401
+ });
402
+ z.value = 48, requestAnimationFrame(() => {
403
+ B.value.height = t, B.value.usableHeight = t - z.value * 2, B.value.width = e, B.value.usableWidth = e - z.value * 2, B.value.top = z.value, B.value.left = z.value, B.value.right = e - z.value, B.value.bottom = t - z.value, B.value.centerX = e / 2, B.value.centerY = t - t / 2, B.value.padding = z.value;
404
+ });
405
+ });
406
+ F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect()), F.value = new ResizeObserver(e), I.value = A.value.parentNode, F.value.observe(I.value);
407
+ }
408
+ }
409
+ ze(() => {
410
+ Tn.value = !0, Vn();
411
+ }), Re(() => {
412
+ F.value && (I.value && F.value.unobserve(I.value), F.value.disconnect());
413
+ });
414
+ let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } = me({
415
+ elementId: `vue-ui-quadrant_${O.value}`,
416
+ fileName: M.value.style.chart.title.text || "vue-ui-quadrant",
417
+ options: M.value.userOptions.print
418
+ }), Kn = u(() => M.value.userOptions.show && !M.value.style.chart.title.text), qn = u(() => ue(M.value.customPalette)), R = x({
419
+ plotLabels: { show: M.value.style.chart.layout.labels.plotLabels.show },
420
+ showTable: M.value.table.show,
421
+ showTooltip: M.value.style.chart.tooltip.show
422
+ }), z = x(48), B = x({
423
+ height: M.value.style.chart.height,
424
+ usableHeight: M.value.style.chart.height - z.value * 2,
425
+ width: M.value.style.chart.width,
426
+ usableWidth: M.value.style.chart.width - z.value * 2,
427
+ top: z.value,
428
+ left: z.value,
429
+ right: M.value.style.chart.width - z.value,
430
+ bottom: M.value.style.chart.height - z.value,
431
+ centerX: M.value.style.chart.width / 2,
432
+ centerY: M.value.style.chart.height - M.value.style.chart.height / 2,
433
+ padding: z.value
434
+ }), V = x({
435
+ ...JSON.parse(JSON.stringify(B.value)),
436
+ startX: 0,
437
+ startY: 0
438
+ });
439
+ Ue(() => B.value, (e) => {
440
+ e && (V.value = {
441
+ ...JSON.parse(JSON.stringify(B.value)),
442
+ startX: 0,
443
+ startY: 0
444
+ });
445
+ }, { deep: !0 });
446
+ let H = x(null), U = u(() => {
447
+ switch (H.value) {
448
+ case "TL": return {
449
+ x: V.value.startX + V.value.width / 2,
450
+ y: V.value.height,
451
+ text: M.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
452
+ fontSize: M.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
453
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color,
454
+ bold: M.value.style.chart.layout.labels.quadrantLabels.tl.bold
455
+ };
456
+ case "TR": return {
457
+ x: V.value.startX + V.value.width / 2,
458
+ y: V.value.height,
459
+ text: M.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
460
+ fontSize: M.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
461
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color,
462
+ bold: M.value.style.chart.layout.labels.quadrantLabels.tr.bold
463
+ };
464
+ case "BR": return {
465
+ x: V.value.startX + V.value.width / 2,
466
+ y: V.value.height * 1.678,
467
+ text: M.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
468
+ fontSize: M.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
469
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color,
470
+ bold: M.value.style.chart.layout.labels.quadrantLabels.br.bold
471
+ };
472
+ case "BL": return {
473
+ x: V.value.startX + V.value.width / 2,
474
+ y: V.value.height * 1.678,
475
+ text: M.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
476
+ fontSize: M.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
477
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color,
478
+ bold: M.value.style.chart.layout.labels.quadrantLabels.bl.bold
479
+ };
480
+ default: return {
481
+ x: 0,
482
+ y: 0,
483
+ text: "",
484
+ fontSize: 0,
485
+ fill: "none",
486
+ bold: !1
487
+ };
488
+ }
489
+ }), Jn = x(null), Yn = x(!1);
490
+ function Xn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
491
+ H.value && yr(i);
492
+ let a = {
493
+ x: e - V.value.startX,
494
+ y: t - V.value.startY,
495
+ w: n - V.value.width,
496
+ h: r - V.value.height
497
+ }, o = M.value.zoomAnimationFrames, ee = 0;
498
+ function te() {
499
+ Yn.value = !0, V.value.startX += a.x / o, V.value.startY += a.y / o, V.value.width += a.w / o, V.value.height += a.h / o, ee += 1, ee < o ? Jn.value = requestAnimationFrame(te) : Yn.value = !1;
500
+ }
501
+ te();
502
+ }
503
+ let W = u(() => M.value.zoomEnabled);
504
+ function G(e) {
505
+ if (W.value && !Yn.value) if (k.value && H.value === e) Xn({
506
+ targetX: 0,
507
+ targetY: 0,
508
+ targetW: B.value.width,
509
+ targetH: B.value.height
510
+ }), H.value = null, k.value = !1;
511
+ else {
512
+ switch (H.value = e, e) {
513
+ case "TL":
514
+ Xn({
515
+ targetX: 0,
516
+ targetY: 0,
517
+ targetW: B.value.width / 2 + B.value.left,
518
+ targetH: B.value.height / 2 + B.value.top,
519
+ side: "tl"
520
+ });
521
+ break;
522
+ case "TR":
523
+ Xn({
524
+ targetX: B.value.width / 2 - B.value.left,
525
+ targetY: 0,
526
+ targetW: B.value.width / 2 + B.value.left,
527
+ targetH: B.value.height / 2 + B.value.top,
528
+ side: "tr"
529
+ });
530
+ break;
531
+ case "BR":
532
+ Xn({
533
+ targetX: B.value.width / 2 - B.value.left,
534
+ targetY: B.value.height / 2 - B.value.top,
535
+ targetW: B.value.width / 2 + B.value.left,
536
+ targetH: B.value.height / 2 + B.value.top,
537
+ side: "br"
538
+ });
539
+ break;
540
+ case "BL":
541
+ Xn({
542
+ targetX: 0,
543
+ targetY: B.value.height / 2 - B.value.top,
544
+ targetW: B.value.width / 2 + B.value.left,
545
+ targetH: B.value.height / 2 + B.value.top,
546
+ side: "bl"
547
+ });
548
+ break;
549
+ default:
550
+ V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
551
+ break;
552
+ }
553
+ k.value = !0;
554
+ }
555
+ }
556
+ let Zn = u(() => {
557
+ let e = M.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
558
+ for (let i = 0; i < e; i += 1) r.push({
559
+ x: B.value.padding + t * i,
560
+ y: n + B.value.usableHeight * (i / e / 2),
561
+ height: B.value.usableHeight * (1 - i / e),
562
+ width: B.value.usableWidth * (1 - i / e),
563
+ opacity: Math.round((i + 1) / e * 20)
564
+ });
565
+ return r;
566
+ }), K = u(() => {
567
+ let e = M.value.style.chart.layout.grid.xAxis.max, t = M.value.style.chart.layout.grid.xAxis.min, n = M.value.style.chart.layout.grid.yAxis.max, r = M.value.style.chart.layout.grid.yAxis.min;
568
+ return M.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.x)))), M.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...Qn.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...Qn.value.flatMap((e) => e.series.map((e) => e.y)))), {
569
+ x: {
570
+ max: e,
571
+ min: t
572
+ },
573
+ y: {
574
+ max: n,
575
+ min: r
576
+ }
577
+ };
578
+ }), q = x([]), Qn = u(() => In.value.map((e, t) => ({
579
+ ...e,
580
+ series: re({
581
+ data: e.series,
582
+ threshold: M.value.downsample.threshold
583
+ }),
584
+ id: `cat_${t}_${O.value}`,
585
+ color: de(e.color) || qn.value[t] || s[t]
586
+ }))), $n = u(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = u(() => Qn.value.map((e, t) => ({
587
+ ...e,
588
+ shape: e.shape || "circle",
589
+ series: e.series.map((t) => ({
590
+ ...t,
591
+ x: tr(t.x),
592
+ y: nr(t.y),
593
+ xValue: t.x,
594
+ yValue: t.y,
595
+ quadrantSide: dr({
596
+ x: t.x,
597
+ y: t.y
598
+ }),
599
+ categoryName: e.name,
600
+ category: e,
601
+ shape: e.shape,
602
+ color: e.color
603
+ }))
604
+ }))), J = u(() => (In.value.forEach((e, t) => {
605
+ e.series.forEach((e, t) => {
606
+ [null, void 0].includes(e.x) && ne({
607
+ componentName: "VueUiQuadrant",
608
+ type: "datasetSerieAttribute",
609
+ property: "x",
610
+ key: "series",
611
+ index: t,
612
+ debug: L.value
613
+ }), [null, void 0].includes(e.y) && ne({
614
+ componentName: "VueUiQuadrant",
615
+ type: "datasetSerieAttribute",
616
+ property: "y",
617
+ key: "series",
618
+ index: t,
619
+ debug: L.value
620
+ });
621
+ });
622
+ }), $n.value.map((e, t) => ({
623
+ ...e,
624
+ shape: e.shape || "circle",
625
+ color: e.color || qn.value[t] || s[t],
626
+ series: e.series.map((t) => ({
627
+ ...t,
628
+ category: e,
629
+ x: tr(t.x),
630
+ y: nr(t.y),
631
+ xValue: t.x,
632
+ yValue: t.y,
633
+ quadrantSide: dr({
634
+ x: t.x,
635
+ y: t.y
636
+ }),
637
+ categoryName: e.name,
638
+ shape: e.shape,
639
+ color: e.color,
640
+ uid: r()
641
+ }))
642
+ }))));
643
+ function tr(e) {
644
+ if (e >= 0) {
645
+ let t = e / K.value.x.max;
646
+ return B.value.centerX + B.value.usableWidth / 2 * t;
647
+ } else {
648
+ let t = Math.abs(e) / Math.abs(K.value.x.min);
649
+ return B.value.centerX - B.value.usableWidth / 2 * t;
650
+ }
651
+ }
652
+ function nr(e) {
653
+ if (e >= 0) {
654
+ let t = e / K.value.y.max;
655
+ return B.value.centerY + (1 - B.value.usableHeight / 2 * t);
656
+ } else {
657
+ let t = Math.abs(e) / Math.abs(K.value.y.min);
658
+ return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
659
+ }
660
+ }
661
+ let rr = u(() => {
662
+ let e = J.value.flatMap((e) => e.series.map((t) => ({
663
+ x: t.xValue,
664
+ y: t.yValue,
665
+ name: t.name,
666
+ category: t.categoryName,
667
+ quadrantSide: t.quadrantSide,
668
+ sideName: M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text,
669
+ color: e.color,
670
+ shape: e.shape
671
+ }))), t = M.value.style.chart.layout.grid.xAxis.name || "x", n = M.value.style.chart.layout.grid.yAxis.name || "y";
672
+ return {
673
+ head: [
674
+ M.value.translations.category,
675
+ M.value.translations.item,
676
+ t,
677
+ n,
678
+ M.value.translations.side
679
+ ],
680
+ body: e.map((e) => [
681
+ e.category,
682
+ e.name,
683
+ e.x,
684
+ e.y,
685
+ e.sideName || e.quadrantSide
686
+ ]),
687
+ itsShapes: e.map((e) => ({
688
+ shape: e.shape,
689
+ color: e.color
690
+ })),
691
+ tableData: e
692
+ };
693
+ }), ir = u(() => {
694
+ let e = rr.value.head, t = rr.value.tableData.map((e) => [
695
+ {
696
+ shape: e.shape,
697
+ color: e.color,
698
+ name: e.category
699
+ },
700
+ e.name,
701
+ c(M.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, n({
702
+ v: e.x,
703
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
704
+ })),
705
+ c(M.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, n({
706
+ v: e.y,
707
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
708
+ })),
709
+ e.sideName || e.quadrantSide
710
+ ]);
711
+ return {
712
+ head: e,
713
+ body: t,
714
+ a11yBody: t.map((e) => e.map((e, t) => t === 0 ? e.name ?? "" : e)),
715
+ config: {
716
+ th: {
717
+ backgroundColor: M.value.table.th.backgroundColor,
718
+ color: M.value.table.th.color,
719
+ outline: M.value.table.th.outline
720
+ },
721
+ td: {
722
+ backgroundColor: M.value.table.td.backgroundColor,
723
+ color: M.value.table.td.color,
724
+ outline: M.value.table.td.outline
725
+ },
726
+ breakpoint: M.value.table.responsiveBreakpoint
727
+ },
728
+ colNames: e
729
+ };
730
+ });
731
+ function ar() {
732
+ q.value.length ? q.value = [] : Y.value.forEach((e) => {
733
+ q.value.push(e.id);
734
+ });
735
+ }
736
+ function or(e) {
737
+ q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), mn("selectLegend", br());
738
+ }
739
+ let Y = u(() => er.value.map((e) => ({
740
+ name: e.name,
741
+ shape: e.shape,
742
+ color: e.color,
743
+ id: e.id,
744
+ opacity: q.value.includes(e.id) ? .5 : 1,
745
+ segregate: () => or(e.id),
746
+ isSegregated: q.value.includes(e.id)
747
+ })));
748
+ function sr(e) {
749
+ return Y.value.length ? Y.value.find((t) => t.name === e) || (M.value.debug && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (M.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null);
750
+ }
751
+ function cr(e) {
752
+ let t = sr(e);
753
+ t !== null && q.value.includes(t.id) && or(t.id);
754
+ }
755
+ function lr(e) {
756
+ let t = sr(e);
757
+ t !== null && (q.value.includes(t.id) || or(t.id));
758
+ }
759
+ let ur = u(() => ({
760
+ cy: "quadrant-div-legend",
761
+ backgroundColor: M.value.style.chart.legend.backgroundColor,
762
+ color: M.value.style.chart.legend.color,
763
+ fontSize: M.value.style.chart.legend.fontSize,
764
+ paddingBottom: 12,
765
+ fontWeight: M.value.style.chart.legend.bold ? "bold" : ""
766
+ }));
767
+ function dr(e) {
768
+ switch (!0) {
769
+ case e.x >= 0 && e.y >= 0: return "tr";
770
+ case e.x >= 0 && e.y < 0: return "br";
771
+ case e.x < 0 && e.y < 0: return "bl";
772
+ case e.x < 0 && e.y >= 0: return "tl";
773
+ default: return "";
774
+ }
775
+ }
776
+ let X = x(null), fr = x(null), pr = x(null);
777
+ function mr() {
778
+ X.value = null, fr.value = null, j.value = null, An.value = null, hn.value = !1;
779
+ }
780
+ function hr(e) {
781
+ if (!P.value || !e) return;
782
+ let t = `[data-a11y-plot-id="${e}"]`, n = P.value.querySelector(t);
783
+ if (!n) return;
784
+ let r = n.getBoundingClientRect();
785
+ jn.value = {
786
+ x: r.left + r.width / 2,
787
+ y: r.top + r.height / 2
788
+ };
789
+ }
790
+ function gr(e, t, r, i = "pointer", a = null) {
791
+ M.value.events.datapointEnter && M.value.events.datapointEnter({
792
+ datapoint: t,
793
+ seriesIndex: r
794
+ }), X.value = t.uid, fr.value = {
795
+ color: e.color,
796
+ shape: e.shape
797
+ }, Mn.value = i, j.value = a, An.value = t.uid, pr.value = {
798
+ datapoint: t,
799
+ seriesIndex: r,
800
+ series: J.value,
801
+ config: M.value
802
+ };
803
+ let o = M.value.style.chart.tooltip.customFormat;
804
+ if (oe(o) && ae(() => o({
805
+ seriesIndex: r,
806
+ datapoint: t,
807
+ series: J.value,
808
+ config: M.value
809
+ }))) gn.value = o({
810
+ seriesIndex: r,
811
+ datapoint: t,
812
+ series: J.value,
813
+ config: M.value
814
+ });
815
+ else {
816
+ let i = "";
817
+ t.quadrantSide && (i += `<div style="color:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), i += `<div>${e.name}</div>`, i += `<div style="padding-bottom:6px;border-bottom:1px solid ${M.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, i += `<div>${M.value.style.chart.layout.grid.xAxis.name ? M.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, n({
818
+ v: t.xValue,
819
+ r: M.value.style.chart.tooltip.roundingValue
820
+ }), {
821
+ datapoint: t,
822
+ category: e,
823
+ categoryIndex: r
824
+ })}</b></div>`, i += `<div>${M.value.style.chart.layout.grid.yAxis.name ? M.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${c(M.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, n({
825
+ v: t.yValue,
826
+ r: M.value.style.chart.tooltip.roundingValue
827
+ }), {
828
+ datapoint: t,
829
+ category: e,
830
+ categoryIndex: r
831
+ })}</b></div>`, gn.value = `<div style="text-align:left;font-size:${M.value.style.chart.tooltip.fontSize}px">${i}</div>`;
832
+ }
833
+ i === "keyboard" && Le(() => {
834
+ hr(t.uid);
835
+ }), hn.value = !0;
836
+ }
837
+ function _r(e, t) {
838
+ M.value.events.datapointLeave && M.value.events.datapointLeave({
839
+ datapoint: e,
840
+ seriesIndex: t
841
+ }), !(An.value === e.uid && Mn.value === "keyboard") && (hn.value = !1, X.value = null, fr.value = null);
842
+ }
843
+ function vr(e, t, n) {
844
+ M.value.events.datapointClick && M.value.events.datapointClick({
845
+ datapoint: t,
846
+ seriesIndex: n
847
+ }), mn("selectPlot", {
848
+ category: e.name,
849
+ shape: e.shape,
850
+ itemName: t.name,
851
+ x: t.xValue,
852
+ y: t.yValue,
853
+ quadrantSide: t.quadrantSide,
854
+ sideName: M.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text
855
+ });
856
+ }
857
+ function yr(e) {
858
+ if (!e) return;
859
+ let t = J.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
860
+ category: e.categoryName,
861
+ itemName: e.name,
862
+ x: e.xValue,
863
+ y: e.yValue
864
+ })));
865
+ mn("selectSide", {
866
+ quadrantSide: e,
867
+ sideName: M.value.style.chart.layout.labels.quadrantLabels[e].text,
868
+ items: [...t]
869
+ });
870
+ }
871
+ let Z = u(() => ({
872
+ TL: {
873
+ tl: {
874
+ x: B.value.left + B.value.usableWidth / 4 - 20,
875
+ y: 0,
876
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color
877
+ },
878
+ tr: {
879
+ x: B.value.left + B.value.usableWidth / 4,
880
+ y: 0,
881
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color
882
+ },
883
+ br: {
884
+ x: B.value.left + B.value.usableWidth / 4,
885
+ y: 20,
886
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color
887
+ },
888
+ bl: {
889
+ x: B.value.left + B.value.usableWidth / 4 - 20,
890
+ y: 20,
891
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color
892
+ },
893
+ crosshairs: {
894
+ horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},20 ${B.value.left + B.value.usableWidth / 4 + 20},20`,
895
+ vertical: `M ${B.value.left + B.value.usableWidth / 4},0 ${B.value.left + B.value.usableWidth / 4},40`
896
+ }
897
+ },
898
+ TR: {
899
+ tl: {
900
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
901
+ y: 0,
902
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color
903
+ },
904
+ tr: {
905
+ x: B.value.centerX + B.value.usableWidth / 4,
906
+ y: 0,
907
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color
908
+ },
909
+ br: {
910
+ x: B.value.centerX + B.value.usableWidth / 4,
911
+ y: 20,
912
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color
913
+ },
914
+ bl: {
915
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
916
+ y: 20,
917
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color
918
+ },
919
+ crosshairs: {
920
+ horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},20 ${B.value.centerX + B.value.usableWidth / 4 + 20},20`,
921
+ vertical: `M ${B.value.centerX + B.value.usableWidth / 4},0 ${B.value.centerX + B.value.usableWidth / 4},40`
922
+ }
923
+ },
924
+ BR: {
925
+ tl: {
926
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
927
+ y: B.value.centerY - 48,
928
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color
929
+ },
930
+ tr: {
931
+ x: B.value.centerX + B.value.usableWidth / 4,
932
+ y: B.value.centerY - 48,
933
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color
934
+ },
935
+ br: {
936
+ x: B.value.centerX + B.value.usableWidth / 4,
937
+ y: B.value.centerY - 28,
938
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color
939
+ },
940
+ bl: {
941
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
942
+ y: B.value.centerY - 28,
943
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color
944
+ },
945
+ crosshairs: {
946
+ horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.centerX + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
947
+ vertical: `M ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 8}`
948
+ }
949
+ },
950
+ BL: {
951
+ tl: {
952
+ x: B.value.left + B.value.usableWidth / 4 - 20,
953
+ y: B.value.centerY - 48,
954
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color
955
+ },
956
+ tr: {
957
+ x: B.value.left + B.value.usableWidth / 4,
958
+ y: B.value.centerY - 48,
959
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color
960
+ },
961
+ br: {
962
+ x: B.value.left + B.value.usableWidth / 4,
963
+ y: B.value.centerY - 28,
964
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color
965
+ },
966
+ bl: {
967
+ x: B.value.left + B.value.usableWidth / 4 - 20,
968
+ y: B.value.centerY - 28,
969
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color
970
+ },
971
+ crosshairs: {
972
+ horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},${B.value.centerY - 28} ${B.value.left + B.value.usableWidth / 4 + 20},${B.value.centerY - 28}`,
973
+ vertical: `M ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 8}`
974
+ }
975
+ }
976
+ }));
977
+ function br() {
978
+ return J.value.map((e) => ({
979
+ color: e.color,
980
+ name: e.name,
981
+ shape: e.shape,
982
+ series: e.series.map((e) => ({
983
+ name: e.name,
984
+ x: e.xValue,
985
+ y: e.yValue,
986
+ quadrantSide: e.quadrantSide,
987
+ sideName: M.value.style.chart.layout.labels.quadrantLabels[e.quadrantSide].text
988
+ }))
989
+ }));
990
+ }
991
+ function xr(e = null) {
992
+ Le(() => {
993
+ let t = [
994
+ [M.value.style.chart.title.text],
995
+ [M.value.style.chart.title.subtitle.text],
996
+ [""]
997
+ ], n = rr.value.head, r = rr.value.body, a = ee(t.concat([n]).concat(r));
998
+ e ? e(a) : i({
999
+ csvContent: a,
1000
+ title: M.value.style.chart.title.text || "vue-ui-quadrant"
1001
+ });
1002
+ });
1003
+ }
1004
+ let Q = x(!1);
1005
+ function Sr(e) {
1006
+ Q.value = e, _n.value += 1;
1007
+ }
1008
+ function Cr() {
1009
+ R.value.showTable = !R.value.showTable;
1010
+ }
1011
+ function wr() {
1012
+ R.value.plotLabels.show = !R.value.plotLabels.show;
1013
+ }
1014
+ function Tr() {
1015
+ R.value.showTooltip = !R.value.showTooltip;
1016
+ }
1017
+ let Er = x(!1);
1018
+ function Dr() {
1019
+ Er.value = !Er.value;
1020
+ }
1021
+ async function Or({ scale: e = 2 } = {}) {
1022
+ if (!A.value) return;
1023
+ let { width: t, height: n } = A.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
1024
+ domElement: A.value,
1025
+ base64: !0,
1026
+ img: !0,
1027
+ scale: e
1028
+ });
1029
+ return {
1030
+ imageUri: i,
1031
+ base64: a,
1032
+ title: M.value.style.chart.title.text,
1033
+ width: t,
1034
+ height: n,
1035
+ aspectRatio: r
1036
+ };
1037
+ }
1038
+ let kr = u(() => {
1039
+ let e = M.value.table.useDialog && !M.value.table.show, t = R.value.showTable;
1040
+ return {
1041
+ component: e ? ln : rn,
1042
+ title: `${M.value.style.chart.title.text}${M.value.style.chart.title.subtitle.text ? `: ${M.value.style.chart.title.subtitle.text}` : ""}`,
1043
+ props: e ? {
1044
+ backgroundColor: M.value.table.th.backgroundColor,
1045
+ color: M.value.table.th.color,
1046
+ headerColor: M.value.table.th.color,
1047
+ headerBg: M.value.table.th.backgroundColor,
1048
+ isFullscreen: Q.value,
1049
+ fullscreenParent: A.value,
1050
+ forcedWidth: Math.min(800, window.innerWidth * .8),
1051
+ isCursorPointer: N.value
1052
+ } : {
1053
+ hideDetails: !0,
1054
+ config: {
1055
+ open: t,
1056
+ maxHeight: 1e4,
1057
+ body: {
1058
+ backgroundColor: M.value.style.chart.backgroundColor,
1059
+ color: M.value.style.chart.color
1060
+ },
1061
+ head: {
1062
+ backgroundColor: M.value.style.chart.backgroundColor,
1063
+ color: M.value.style.chart.color
1064
+ }
1065
+ }
1066
+ }
1067
+ };
1068
+ });
1069
+ Ue(() => R.value.showTable, (e) => {
1070
+ M.value.table.show || (e && M.value.table.useDialog && En.value ? En.value.open() : "close" in En.value && En.value.close());
1071
+ });
1072
+ function Ar() {
1073
+ R.value.showTable = !1, Dn.value && Dn.value.setTableIconState(!1);
1074
+ }
1075
+ let jr = u(() => M.value.style.chart.backgroundColor), Mr = u(() => M.value.style.chart.legend), { exportSvg: Nr, getSvg: Pr } = _e({
1076
+ svg: P,
1077
+ title: u(() => M.value.style.chart.title),
1078
+ legend: Mr,
1079
+ legendItems: Y,
1080
+ backgroundColor: jr
1081
+ });
1082
+ async function Fr({ isCb: e }) {
1083
+ kn.value = !0, await Le();
1084
+ try {
1085
+ if (e) {
1086
+ let { blob: e, url: t, text: n, dataUrl: r } = await Pr();
1087
+ await Promise.resolve(M.value.userOptions.callbacks.svg({
1088
+ blob: e,
1089
+ url: t,
1090
+ text: n,
1091
+ dataUrl: r
1092
+ }));
1093
+ } else await Promise.resolve(Nr());
1094
+ } finally {
1095
+ kn.value = !1;
1096
+ }
1097
+ }
1098
+ function Ir(e) {
1099
+ if (e?.stage === "start") {
1100
+ On.value = !0;
1101
+ return;
1102
+ }
1103
+ if (e?.stage === "end") {
1104
+ On.value = !1;
1105
+ return;
1106
+ }
1107
+ Gn();
1108
+ }
1109
+ async function Lr() {
1110
+ if (mn("copyAlt", {
1111
+ config: M.value,
1112
+ dataset: $n.value
1113
+ }), !M.value.userOptions.callbacks.altCopy) {
1114
+ console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1115
+ return;
1116
+ }
1117
+ await Promise.resolve(M.value.userOptions.callbacks.altCopy({
1118
+ config: M.value,
1119
+ dataset: $n.value
1120
+ }));
1121
+ }
1122
+ function Rr() {
1123
+ j.value = null, An.value = null, Nn.value = !0;
1124
+ }
1125
+ function zr() {
1126
+ mr(), Nn.value = !1;
1127
+ }
1128
+ function Br(e) {
1129
+ if (!P.value || Er.value || document.activeElement !== P.value || !$.value.length) return;
1130
+ let t = e.key === "ArrowLeft" || e.key === "ArrowUp", n = e.key === "ArrowRight" || e.key === "ArrowDown", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1131
+ if (!t && !n && !r && !i) return;
1132
+ if (e.preventDefault(), e.stopPropagation(), i) {
1133
+ mr();
1134
+ return;
1135
+ }
1136
+ if (r) {
1137
+ if (j.value === null) return;
1138
+ let e = $.value[j.value];
1139
+ if (!e) return;
1140
+ vr(e.category, e.plot, e.categoryIndex);
1141
+ return;
1142
+ }
1143
+ let a = j.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, ee = a !== null && a >= 0 && a < $.value.length, te = o !== null && o >= 0 && o < $.value.length;
1144
+ ee ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : te ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
1145
+ let s = $.value[a];
1146
+ s && gr(s.category, s.plot, s.categoryIndex, "keyboard", a);
1147
+ }
1148
+ let Vr = u(() => ({
1149
+ headers: ir.value?.colNames ?? [],
1150
+ rows: ir.value?.a11yBody ?? []
1151
+ })), $ = u(() => J.value.flatMap((e, t) => e.series.map((n) => ({
1152
+ category: e,
1153
+ plot: n,
1154
+ categoryIndex: t
1155
+ }))));
1156
+ return Ce({
1157
+ getData: br,
1158
+ getImage: Or,
1159
+ generatePdf: Wn,
1160
+ generateCsv: xr,
1161
+ generateImage: Gn,
1162
+ generateSvg: Fr,
1163
+ hideSeries: lr,
1164
+ showSeries: cr,
1165
+ toggleTable: Cr,
1166
+ toggleLabels: wr,
1167
+ toggleTooltip: Tr,
1168
+ toggleAnnotator: Dr,
1169
+ toggleFullscreen: Sr,
1170
+ copyAlt: Lr
1171
+ }), (e, r) => (b(), p("div", {
1172
+ class: _(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${M.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1173
+ ref_key: "quadrantChart",
1174
+ ref: A,
1175
+ id: `vue-ui-quadrant_${O.value}`,
1176
+ style: y(`font-family:${M.value.style.fontFamily};width:100%; text-align:center;background:${M.value.style.chart.backgroundColor};${M.value.responsive ? "height: 100%" : ""}`),
1177
+ onMouseenter: r[14] ||= () => T(Rn)(!0),
1178
+ onMouseleave: r[15] ||= () => {
1179
+ T(Rn)(!1), Nn.value || mr();
1180
+ }
1181
+ }, [
1182
+ m("div", {
1183
+ id: `chart-instructions-${O.value}`,
1184
+ class: "sr-only"
1185
+ }, [m("p", null, w(M.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
1186
+ Vr.value?.rows?.length ? (b(), d(De, {
1187
+ key: 0,
1188
+ uid: O.value,
1189
+ head: Vr.value.headers,
1190
+ body: Vr.value.rows,
1191
+ notice: M.value.a11y.translations.tableAvailable,
1192
+ caption: M.value.a11y.translations.tableCaption
1193
+ }, null, 8, [
1194
+ "uid",
1195
+ "head",
1196
+ "body",
1197
+ "notice",
1198
+ "caption"
1199
+ ])) : f("", !0),
1200
+ M.value.userOptions.buttons.annotator ? (b(), d(T(on), {
1201
+ key: 1,
1202
+ svgRef: T(P),
1203
+ backgroundColor: M.value.style.chart.backgroundColor,
1204
+ color: M.value.style.chart.color,
1205
+ active: Er.value,
1206
+ isCursorPointer: N.value,
1207
+ onClose: Dr
1208
+ }, {
1209
+ "annotator-action-close": E(() => [C(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1210
+ "annotator-action-color": E(({ color: t }) => [C(e.$slots, "annotator-action-color", v(g({ color: t })), void 0, !0)]),
1211
+ "annotator-action-draw": E(({ mode: t }) => [C(e.$slots, "annotator-action-draw", v(g({ mode: t })), void 0, !0)]),
1212
+ "annotator-action-undo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-undo", v(g({ disabled: t })), void 0, !0)]),
1213
+ "annotator-action-redo": E(({ disabled: t }) => [C(e.$slots, "annotator-action-redo", v(g({ disabled: t })), void 0, !0)]),
1214
+ "annotator-action-delete": E(({ disabled: t }) => [C(e.$slots, "annotator-action-delete", v(g({ disabled: t })), void 0, !0)]),
1215
+ _: 3
1216
+ }, 8, [
1217
+ "svgRef",
1218
+ "backgroundColor",
1219
+ "color",
1220
+ "active",
1221
+ "isCursorPointer"
1222
+ ])) : f("", !0),
1223
+ Kn.value ? (b(), p("div", {
1224
+ key: 2,
1225
+ ref_key: "noTitle",
1226
+ ref: xn,
1227
+ class: "vue-data-ui-no-title-space",
1228
+ style: "height:36px; width: 100%;background:transparent"
1229
+ }, null, 512)) : f("", !0),
1230
+ M.value.style.chart.title.text ? (b(), p("div", {
1231
+ key: 3,
1232
+ ref_key: "chartTitle",
1233
+ ref: vn,
1234
+ style: "width:100%;background:transparent;padding-bottom:12px"
1235
+ }, [(b(), d(xe, {
1236
+ key: `table_${Sn.value}`,
1237
+ config: {
1238
+ title: {
1239
+ cy: "quadrant-title",
1240
+ ...M.value.style.chart.title
1241
+ },
1242
+ subtitle: {
1243
+ cy: "quadrant-subtitle",
1244
+ ...M.value.style.chart.title.subtitle
1245
+ }
1246
+ }
1247
+ }, null, 8, ["config"]))], 512)) : f("", !0),
1248
+ m("div", { id: `legend-top-${O.value}` }, null, 8, qe),
1249
+ M.value.userOptions.show && pn.value && (T(zn) || T(Ln)) ? (b(), d(T(sn), {
1250
+ ref_key: "userOptionsRef",
1251
+ ref: Dn,
1252
+ key: `user_options_${_n.value}`,
1253
+ backgroundColor: M.value.style.chart.backgroundColor,
1254
+ color: M.value.style.chart.color,
1255
+ isImaging: T(Un),
1256
+ isPrinting: T(Hn),
1257
+ uid: O.value,
1258
+ hasTooltip: M.value.userOptions.buttons.tooltip && M.value.style.chart.tooltip.show,
1259
+ hasPdf: M.value.userOptions.buttons.pdf,
1260
+ hasImg: M.value.userOptions.buttons.img,
1261
+ hasSvg: M.value.userOptions.buttons.svg,
1262
+ hasXls: M.value.userOptions.buttons.csv,
1263
+ hasTable: M.value.userOptions.buttons.table,
1264
+ hasLabel: M.value.userOptions.buttons.labels,
1265
+ hasFullscreen: M.value.userOptions.buttons.fullscreen,
1266
+ hasAltCopy: M.value.userOptions.buttons.altCopy,
1267
+ isFullscreen: Q.value,
1268
+ isTooltip: R.value.showTooltip,
1269
+ titles: { ...M.value.userOptions.buttonTitles },
1270
+ chartElement: A.value,
1271
+ position: M.value.userOptions.position,
1272
+ hasAnnotator: M.value.userOptions.buttons.annotator,
1273
+ isAnnotation: Er.value,
1274
+ callbacks: M.value.userOptions.callbacks,
1275
+ printScale: M.value.userOptions.print.scale,
1276
+ tableDialog: M.value.table.useDialog,
1277
+ isCursorPointer: N.value,
1278
+ onToggleFullscreen: Sr,
1279
+ onGeneratePdf: T(Wn),
1280
+ onGenerateCsv: xr,
1281
+ onGenerateImage: Ir,
1282
+ onGenerateSvg: Fr,
1283
+ onToggleTable: Cr,
1284
+ onToggleLabels: wr,
1285
+ onToggleTooltip: Tr,
1286
+ onToggleAnnotator: Dr,
1287
+ onCopyAlt: Lr,
1288
+ style: y({ visibility: T(zn) ? T(Ln) ? "visible" : "hidden" : "visible" })
1289
+ }, Ne({ _: 2 }, [
1290
+ e.$slots.menuIcon ? {
1291
+ name: "menuIcon",
1292
+ fn: E(({ isOpen: t, color: n }) => [C(e.$slots, "menuIcon", v(g({
1293
+ isOpen: t,
1294
+ color: n
1295
+ })), void 0, !0)]),
1296
+ key: "0"
1297
+ } : void 0,
1298
+ e.$slots.optionTooltip ? {
1299
+ name: "optionTooltip",
1300
+ fn: E(() => [C(e.$slots, "optionTooltip", {}, void 0, !0)]),
1301
+ key: "1"
1302
+ } : void 0,
1303
+ e.$slots.optionPdf ? {
1304
+ name: "optionPdf",
1305
+ fn: E(() => [C(e.$slots, "optionPdf", {}, void 0, !0)]),
1306
+ key: "2"
1307
+ } : void 0,
1308
+ e.$slots.optionCsv ? {
1309
+ name: "optionCsv",
1310
+ fn: E(() => [C(e.$slots, "optionCsv", {}, void 0, !0)]),
1311
+ key: "3"
1312
+ } : void 0,
1313
+ e.$slots.optionImg ? {
1314
+ name: "optionImg",
1315
+ fn: E(() => [C(e.$slots, "optionImg", {}, void 0, !0)]),
1316
+ key: "4"
1317
+ } : void 0,
1318
+ e.$slots.optionSvg ? {
1319
+ name: "optionSvg",
1320
+ fn: E(() => [C(e.$slots, "optionSvg", {}, void 0, !0)]),
1321
+ key: "5"
1322
+ } : void 0,
1323
+ e.$slots.optionTable ? {
1324
+ name: "optionTable",
1325
+ fn: E(() => [C(e.$slots, "optionTable", {}, void 0, !0)]),
1326
+ key: "6"
1327
+ } : void 0,
1328
+ e.$slots.optionLabels ? {
1329
+ name: "optionLabels",
1330
+ fn: E(() => [C(e.$slots, "optionLabels", {}, void 0, !0)]),
1331
+ key: "7"
1332
+ } : void 0,
1333
+ e.$slots.optionFullscreen ? {
1334
+ name: "optionFullscreen",
1335
+ fn: E(({ toggleFullscreen: t, isFullscreen: n }) => [C(e.$slots, "optionFullscreen", v(g({
1336
+ toggleFullscreen: t,
1337
+ isFullscreen: n
1338
+ })), void 0, !0)]),
1339
+ key: "8"
1340
+ } : void 0,
1341
+ e.$slots.optionAnnotator ? {
1342
+ name: "optionAnnotator",
1343
+ fn: E(({ toggleAnnotator: t, isAnnotator: n }) => [C(e.$slots, "optionAnnotator", v(g({
1344
+ toggleAnnotator: t,
1345
+ isAnnotator: n
1346
+ })), void 0, !0)]),
1347
+ key: "9"
1348
+ } : void 0,
1349
+ e.$slots.optionAltCopy ? {
1350
+ name: "optionAltCopy",
1351
+ fn: E(({ altCopy: t }) => [C(e.$slots, "optionAltCopy", v(g({ altCopy: t })), void 0, !0)]),
1352
+ key: "10"
1353
+ } : void 0
1354
+ ]), 1032, /* @__PURE__ */ "backgroundColor.color.isImaging.isPrinting.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.isTooltip.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : f("", !0),
1355
+ m("div", Je, [(b(), p("svg", {
1356
+ ref_key: "svgRef",
1357
+ ref: P,
1358
+ xmlns: T(ce),
1359
+ "aria-describedby": `chart-instructions-${O.value}`,
1360
+ class: _({
1361
+ "vue-data-ui-fullscreen--on": Q.value,
1362
+ "vue-data-ui-fulscreen--off": !Q.value
1363
+ }),
1364
+ viewBox: `${V.value.startX} ${V.value.startY} ${V.value.width} ${V.value.height}`,
1365
+ style: y(`max-width:100%;overflow:hidden;background:transparent;color:${M.value.style.chart.color}`),
1366
+ id: `svg_${O.value}`,
1367
+ tabindex: "0",
1368
+ onFocus: Rr,
1369
+ onBlur: zr,
1370
+ onKeydown: Br
1371
+ }, [
1372
+ Fe(T(cn)),
1373
+ e.$slots["chart-background"] ? (b(), p("foreignObject", {
1374
+ key: 0,
1375
+ x: V.value.startX,
1376
+ y: V.value.startY,
1377
+ width: V.value.width,
1378
+ height: V.value.height,
1379
+ style: { pointerEvents: "none" }
1380
+ }, [C(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : f("", !0),
1381
+ m("defs", null, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("radialGradient", {
1382
+ cx: "50%",
1383
+ cy: "50%",
1384
+ r: "50%",
1385
+ fx: "50%",
1386
+ fy: "50%",
1387
+ id: `quadrant_gradient_${O.value}_${t}`
1388
+ }, [m("stop", {
1389
+ offset: "0%",
1390
+ "stop-color": T(ie)(T(o)(e.color, .05), M.value.style.chart.layout.areas.opacity)
1391
+ }, null, 8, Qe), m("stop", {
1392
+ offset: "100%",
1393
+ "stop-color": T(ie)(e.color, M.value.style.chart.layout.areas.opacity)
1394
+ }, null, 8, $e)], 8, Ze))), 256))]),
1395
+ M.value.style.chart.layout.grid.graduations.show ? (b(), p("g", et, [(b(!0), p(l, null, S(Zn.value, (e) => (b(), p("rect", {
1396
+ fill: M.value.style.chart.layout.grid.graduations.fill ? T(ie)(M.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
1397
+ x: e.x,
1398
+ y: e.y,
1399
+ height: e.height <= 0 ? .001 : e.height,
1400
+ width: e.width <= 0 ? .001 : e.width,
1401
+ "stroke-width": M.value.style.chart.layout.grid.graduations.strokeWidth,
1402
+ stroke: M.value.style.chart.layout.grid.graduations.stroke,
1403
+ rx: M.value.style.chart.layout.grid.graduations.roundingForce
1404
+ }, null, 8, tt))), 256))])) : f("", !0),
1405
+ m("line", {
1406
+ x1: B.value.left,
1407
+ y1: B.value.centerY,
1408
+ x2: B.value.right,
1409
+ y2: B.value.centerY,
1410
+ stroke: M.value.style.chart.layout.grid.stroke,
1411
+ "stroke-width": M.value.style.chart.layout.grid.strokeWidth
1412
+ }, null, 8, nt),
1413
+ m("line", {
1414
+ x1: B.value.centerX,
1415
+ y1: B.value.top,
1416
+ x2: B.value.centerX,
1417
+ y2: B.value.bottom,
1418
+ stroke: M.value.style.chart.layout.grid.stroke,
1419
+ "stroke-width": M.value.style.chart.layout.grid.strokeWidth
1420
+ }, null, 8, rt),
1421
+ M.value.style.chart.layout.grid.showArrows ? (b(), p("g", it, [
1422
+ m("polygon", {
1423
+ points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
1424
+ fill: M.value.style.chart.layout.grid.stroke,
1425
+ stroke: "none"
1426
+ }, null, 8, at),
1427
+ m("polygon", {
1428
+ points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
1429
+ fill: M.value.style.chart.layout.grid.stroke,
1430
+ stroke: "none"
1431
+ }, null, 8, ot),
1432
+ m("polygon", {
1433
+ points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
1434
+ fill: M.value.style.chart.layout.grid.stroke,
1435
+ stroke: "none"
1436
+ }, null, 8, st),
1437
+ m("polygon", {
1438
+ points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
1439
+ fill: M.value.style.chart.layout.grid.stroke,
1440
+ stroke: "none"
1441
+ }, null, 8, ct)
1442
+ ])) : f("", !0),
1443
+ M.value.style.chart.layout.labels.quadrantLabels.show && !k.value ? (b(), p("g", lt, [
1444
+ M.value.style.chart.layout.labels.quadrantLabels.tl.text ? (b(), p("text", {
1445
+ key: 0,
1446
+ x: 0,
1447
+ y: B.value.top - B.value.padding / 2,
1448
+ "text-anchor": "start",
1449
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tl.color,
1450
+ "font-size": M.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
1451
+ style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
1452
+ onClick: r[0] ||= (e) => yr("tl")
1453
+ }, w(M.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, ut)) : f("", !0),
1454
+ M.value.style.chart.layout.labels.quadrantLabels.tr.text ? (b(), p("text", {
1455
+ key: 1,
1456
+ x: B.value.width,
1457
+ y: B.value.top - B.value.padding / 2,
1458
+ "text-anchor": "end",
1459
+ fill: M.value.style.chart.layout.labels.quadrantLabels.tr.color,
1460
+ "font-size": M.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
1461
+ style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1462
+ onClick: r[1] ||= (e) => yr("tr")
1463
+ }, w(M.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, dt)) : f("", !0),
1464
+ M.value.style.chart.layout.labels.quadrantLabels.br.text ? (b(), p("text", {
1465
+ key: 2,
1466
+ x: B.value.width,
1467
+ y: B.value.bottom + B.value.padding * .7,
1468
+ "text-anchor": "end",
1469
+ fill: M.value.style.chart.layout.labels.quadrantLabels.br.color,
1470
+ "font-size": M.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
1471
+ style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1472
+ onClick: r[2] ||= (e) => yr("br")
1473
+ }, w(M.value.style.chart.layout.labels.quadrantLabels.br.text), 13, ft)) : f("", !0),
1474
+ M.value.style.chart.layout.labels.quadrantLabels.bl.text ? (b(), p("text", {
1475
+ key: 3,
1476
+ x: 0,
1477
+ y: B.value.bottom + B.value.padding * .7,
1478
+ "text-anchor": "start",
1479
+ fill: M.value.style.chart.layout.labels.quadrantLabels.bl.color,
1480
+ "font-size": M.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
1481
+ style: y(`font-weight:${M.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1482
+ onClick: r[3] ||= (e) => yr("bl")
1483
+ }, w(M.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, pt)) : f("", !0)
1484
+ ])) : f("", !0),
1485
+ M.value.style.chart.layout.labels.axisLabels.show ? (b(), p("g", mt, [
1486
+ M.value.style.chart.layout.grid.yAxis.show ? (b(), p("text", {
1487
+ key: 0,
1488
+ x: B.value.centerX,
1489
+ y: B.value.top - B.value.padding / 6,
1490
+ "text-anchor": "middle",
1491
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1492
+ fill: M.value.style.chart.layout.labels.axisLabels.color.positive
1493
+ }, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, T(n)({
1494
+ v: K.value.y.max,
1495
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
1496
+ }))), 9, ht)) : f("", !0),
1497
+ m("text", {
1498
+ x: B.value.centerX,
1499
+ y: B.value.top - B.value.padding / 2,
1500
+ "text-anchor": "middle",
1501
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1502
+ fill: M.value.style.chart.layout.labels.axisLabels.color.positive
1503
+ }, w(M.value.style.chart.layout.grid.yAxis.name), 9, gt),
1504
+ M.value.style.chart.layout.grid.yAxis.show ? (b(), p("text", {
1505
+ key: 1,
1506
+ x: B.value.centerX,
1507
+ y: B.value.bottom + B.value.padding * .35,
1508
+ "text-anchor": "middle",
1509
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1510
+ fill: M.value.style.chart.layout.labels.axisLabels.color.negative
1511
+ }, w(T(c)(M.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, T(n)({
1512
+ v: K.value.y.min,
1513
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
1514
+ }))), 9, _t)) : f("", !0),
1515
+ M.value.style.chart.layout.grid.xAxis.show ? (b(), p("text", {
1516
+ key: 2,
1517
+ id: `xLabelMin_${O.value}`,
1518
+ "text-anchor": "middle",
1519
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1520
+ transform: `translate(${B.value.padding - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
1521
+ fill: M.value.style.chart.layout.labels.axisLabels.color.negative
1522
+ }, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, T(n)({
1523
+ v: K.value.x.min,
1524
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
1525
+ }))), 9, vt)) : f("", !0),
1526
+ M.value.style.chart.layout.grid.xAxis.show ? (b(), p("text", {
1527
+ key: 3,
1528
+ id: `xLabelMax_${O.value}`,
1529
+ "text-anchor": "middle",
1530
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1531
+ transform: `translate(${B.value.width - B.value.padding + M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
1532
+ fill: M.value.style.chart.layout.labels.axisLabels.color.positive
1533
+ }, w(T(c)(M.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, T(n)({
1534
+ v: K.value.x.max,
1535
+ r: M.value.style.chart.layout.labels.plotLabels.rounding
1536
+ }))), 9, yt)) : f("", !0),
1537
+ m("text", {
1538
+ id: `xLabelMaxName_${O.value}`,
1539
+ "text-anchor": "middle",
1540
+ "font-size": M.value.style.chart.layout.labels.axisLabels.fontSize,
1541
+ transform: `translate(${B.value.width - M.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
1542
+ fill: M.value.style.chart.layout.labels.axisLabels.color.positive
1543
+ }, w(M.value.style.chart.layout.grid.xAxis.name), 9, bt)
1544
+ ])) : f("", !0),
1545
+ M.value.style.chart.layout.areas.show ? (b(), p("g", xt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p("g", null, [e.series.length > 2 ? (b(), p("polygon", {
1546
+ key: 0,
1547
+ "data-cy-quadrant-area": "",
1548
+ fill: M.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${O.value}_${t})` : T(ie)(e.color, M.value.style.chart.layout.areas.opacity),
1549
+ points: T(le)(e)
1550
+ }, null, 8, St)) : f("", !0)]))), 256))])) : f("", !0),
1551
+ m("g", null, [
1552
+ m("rect", {
1553
+ onClick: r[4] ||= (e) => G("TL"),
1554
+ x: B.value.left,
1555
+ y: B.value.top,
1556
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1557
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1558
+ fill: "transparent",
1559
+ class: _({
1560
+ "vue-data-ui-zoom-plus": !k.value && W.value,
1561
+ "vue-data-ui-zoom-minus": k.value && W.value
1562
+ })
1563
+ }, null, 10, Ct),
1564
+ m("rect", {
1565
+ onClick: r[5] ||= (e) => G("TR"),
1566
+ x: B.value.centerX,
1567
+ y: B.value.top,
1568
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1569
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1570
+ fill: "transparent",
1571
+ class: _({
1572
+ "vue-data-ui-zoom-plus": !k.value && W.value,
1573
+ "vue-data-ui-zoom-minus": k.value && W.value
1574
+ })
1575
+ }, null, 10, wt),
1576
+ m("rect", {
1577
+ onClick: r[6] ||= (e) => G("BR"),
1578
+ x: B.value.centerX,
1579
+ y: B.value.centerY,
1580
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1581
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1582
+ fill: "transparent",
1583
+ class: _({
1584
+ "vue-data-ui-zoom-plus": !k.value && W.value,
1585
+ "vue-data-ui-zoom-minus": k.value && W.value
1586
+ })
1587
+ }, null, 10, Tt),
1588
+ m("rect", {
1589
+ onClick: r[7] ||= (e) => G("BL"),
1590
+ x: B.value.left,
1591
+ y: B.value.centerY,
1592
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1593
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1594
+ fill: "transparent",
1595
+ class: _({
1596
+ "vue-data-ui-zoom-plus": !k.value && W.value,
1597
+ "vue-data-ui-zoom-minus": k.value && W.value
1598
+ })
1599
+ }, null, 10, Et)
1600
+ ]),
1601
+ M.value.style.chart.layout.labels.plotLabels.showAsTag ? (b(), p(l, { key: 7 }, [R.value.plotLabels.show ? (b(), p("g", Nt, [(b(!0), p(l, null, S(J.value, (e, t) => (b(), p(l, null, [(b(!0), p(l, null, S(e.series, (n) => (b(), p("foreignObject", {
1602
+ style: { overflow: "visible" },
1603
+ height: "10",
1604
+ width: "100",
1605
+ x: n.x - 50,
1606
+ y: n.y - M.value.style.chart.layout.labels.plotLabels.fontSize,
1607
+ onMouseover: (r) => gr(e, n, t),
1608
+ onMouseleave: (e) => _r(n, t),
1609
+ onClick: (r) => vr(e, n, t)
1610
+ }, [m("div", { style: y(`color:${T(se)(e.color)};margin: 0 auto; font-size:${M.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, w(n.name), 5)], 40, Pt))), 256))], 64))), 256))])) : f("", !0)], 64)) : (b(), p(l, { key: 6 }, [(b(!0), p(l, null, S(J.value, (t, n) => (b(), p("g", null, [e.$slots.datapoint && !T(Fn) ? (b(!0), p(l, { key: 0 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [(b(), p("foreignObject", {
1611
+ x: r.x - 1,
1612
+ y: r.y - 1,
1613
+ width: "2",
1614
+ height: "2",
1615
+ style: {
1616
+ overflow: "visible",
1617
+ "pointer-events": "none"
1618
+ },
1619
+ onMouseenter: (e) => gr(t, r, n),
1620
+ onMouseleave: (e) => _r(r, n),
1621
+ onClick: (e) => vr(t, r, n)
1622
+ }, [C(e.$slots, "datapoint", Ie({ ref_for: !0 }, { datapoint: {
1623
+ ...r,
1624
+ onEnter: () => gr(t, r, n),
1625
+ onLeave: () => _r(r, n),
1626
+ onClick: () => vr(t, r, n),
1627
+ isSelected: X.value && r.uid === X.value
1628
+ } }), void 0, !0)], 40, Dt)), m("circle", {
1629
+ "data-a11y-plot-id": r.uid,
1630
+ cx: r.x,
1631
+ cy: r.y,
1632
+ r: Math.max(M.value.style.chart.layout.plots.radius / (k.value ? 1.5 : 1), 10),
1633
+ fill: "transparent",
1634
+ style: { "pointer-events": "none" }
1635
+ }, null, 8, Ot)]))), 128)) : e.$slots.datapointSvg && !T(Fn) ? (b(!0), p(l, { key: 1 }, S(t.series, (r) => (b(), p("g", { key: r.uid }, [C(e.$slots, "datapointSvg", Ie({ ref_for: !0 }, { datapoint: {
1636
+ ...r,
1637
+ onEnter: () => gr(t, r, n),
1638
+ onLeave: () => _r(r, n),
1639
+ onClick: () => vr(t, r, n),
1640
+ isSelected: X.value && r.uid === X.value
1641
+ } }), void 0, !0)]))), 128)) : (b(!0), p(l, { key: 2 }, S(t.series, (e, r) => (b(), p("g", { key: e.uid }, [Fe(Se, {
1642
+ color: t.color,
1643
+ isSelected: X.value && e.uid === X.value,
1644
+ plot: e,
1645
+ radius: M.value.style.chart.layout.plots.radius / (k.value ? 1.5 : 1),
1646
+ shape: t.shape,
1647
+ stroke: M.value.style.chart.layout.plots.outline ? M.value.style.chart.layout.plots.outlineColor : "none",
1648
+ strokeWidth: M.value.style.chart.layout.plots.outlineWidth,
1649
+ onMouseenter: (r) => gr(t, e, n, "pointer"),
1650
+ onMouseleave: (t) => _r(e, n),
1651
+ onClick: (r) => vr(t, e, n)
1652
+ }, null, 8, [
1653
+ "color",
1654
+ "isSelected",
1655
+ "plot",
1656
+ "radius",
1657
+ "shape",
1658
+ "stroke",
1659
+ "strokeWidth",
1660
+ "onMouseenter",
1661
+ "onMouseleave",
1662
+ "onClick"
1663
+ ]), m("circle", {
1664
+ "data-dom-to-png-ignore": "",
1665
+ "data-a11y-plot-id": e.uid,
1666
+ cx: e.x,
1667
+ cy: e.y,
1668
+ r: Math.max(M.value.style.chart.layout.plots.radius / (k.value ? 1.5 : 1), 10),
1669
+ fill: "transparent",
1670
+ style: { "pointer-events": "none" }
1671
+ }, null, 8, kt)]))), 128))]))), 256)), R.value.plotLabels.show ? (b(), p("g", At, [(b(!0), p(l, null, S(J.value, (e) => (b(), p("g", null, [(b(!0), p(l, null, S(e.series, (e) => (b(), p("g", null, [String(e.name).includes("\n") ? (b(), p("text", {
1672
+ key: 1,
1673
+ x: e.x,
1674
+ y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
1675
+ "text-anchor": "middle",
1676
+ "font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
1677
+ fill: M.value.style.chart.layout.labels.plotLabels.color,
1678
+ innerHTML: T(t)({
1679
+ content: String(e.name),
1680
+ fontSize: M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
1681
+ fill: M.value.style.chart.layout.labels.plotLabels.color,
1682
+ x: e.x,
1683
+ y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius
1684
+ })
1685
+ }, null, 8, Mt)) : (b(), p("text", {
1686
+ key: 0,
1687
+ x: e.x,
1688
+ y: e.y + M.value.style.chart.layout.labels.plotLabels.offsetY + M.value.style.chart.layout.plots.radius,
1689
+ "text-anchor": "middle",
1690
+ "font-size": M.value.style.chart.layout.labels.plotLabels.fontSize / (k.value ? 1.5 : 1),
1691
+ fill: M.value.style.chart.layout.labels.plotLabels.color
1692
+ }, w(e.name), 9, jt))]))), 256))]))), 256))])) : f("", !0)], 64)),
1693
+ k.value ? (b(), p("g", Ft, [
1694
+ H.value === "TL" ? (b(), p("polygon", {
1695
+ key: 0,
1696
+ points: `${B.value.left - 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.top - 1} ${B.value.right},${B.value.top - 1} ${B.value.right},${B.value.bottom} ${B.value.left - 1},${B.value.bottom} ${B.value.left - 1},${B.value.centerY}`,
1697
+ fill: M.value.style.chart.backgroundColor,
1698
+ style: { opacity: "1" }
1699
+ }, null, 8, It)) : f("", !0),
1700
+ H.value === "TR" ? (b(), p("polygon", {
1701
+ key: 1,
1702
+ points: `${B.value.left},${B.value.top - 1} ${B.value.centerX},${B.value.top - 1} ${B.value.centerX},${B.value.centerY} ${B.value.right + 1},${B.value.centerY} ${B.value.right + 1},${B.value.bottom} ${B.value.left},${B.value.bottom} ${B.value.left},${B.value.top - 1}`,
1703
+ fill: M.value.style.chart.backgroundColor,
1704
+ style: { opacity: "1" }
1705
+ }, null, 8, Lt)) : f("", !0),
1706
+ H.value === "BR" ? (b(), p("polygon", {
1707
+ key: 2,
1708
+ points: `${B.value.left},${B.value.top} ${B.value.right + 1},${B.value.top} ${B.value.right + 1},${B.value.centerY} ${B.value.centerX},${B.value.centerY} ${B.value.centerX},${B.value.bottom + 1} ${B.value.left},${B.value.bottom + 1} ${B.value.left},${B.value.top}`,
1709
+ fill: M.value.style.chart.backgroundColor,
1710
+ style: { opacity: "1" }
1711
+ }, null, 8, Rt)) : f("", !0),
1712
+ H.value === "BL" ? (b(), p("polygon", {
1713
+ key: 3,
1714
+ points: `${B.value.left - 1},${B.value.top} ${B.value.right},${B.value.top} ${B.value.right},${B.value.bottom + 1} ${B.value.centerX},${B.value.bottom + 1} ${B.value.centerX},${B.value.centerY} ${B.value.left - 1},${B.value.centerY} ${B.value.left - 1},${B.value.top}`,
1715
+ fill: M.value.style.chart.backgroundColor,
1716
+ style: { opacity: "1" }
1717
+ }, null, 8, zt)) : f("", !0)
1718
+ ])) : f("", !0),
1719
+ H.value && !Yn.value ? (b(), p("g", Bt, [m("text", {
1720
+ x: U.value.x,
1721
+ y: U.value.y - U.value.fontSize / 1.5,
1722
+ "font-size": U.value.fontSize / 1.5,
1723
+ fill: U.value.fill,
1724
+ "text-anchor": "middle",
1725
+ "font-weight": U.value.bold ? "bold" : "normal"
1726
+ }, w(U.value.text), 9, Vt)])) : f("", !0),
1727
+ k.value && H.value ? (b(), p("g", Ht, [
1728
+ m("rect", {
1729
+ x: Z.value[H.value].tl.x,
1730
+ y: Z.value[H.value].tl.y,
1731
+ height: "20",
1732
+ width: "20",
1733
+ fill: Z.value[H.value].tl.fill,
1734
+ style: y(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "TL" ? 1 : .2}`),
1735
+ onClick: r[8] ||= (e) => G("TL"),
1736
+ class: _({
1737
+ "vue-ui-quadrant-mini-map-cell": !0,
1738
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TL"
1739
+ })
1740
+ }, null, 14, Ut),
1741
+ m("rect", {
1742
+ x: Z.value[H.value].tr.x,
1743
+ y: Z.value[H.value].tr.y,
1744
+ height: "20",
1745
+ width: "20",
1746
+ fill: Z.value[H.value].tr.fill,
1747
+ style: y(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "TR" ? 1 : .2}`),
1748
+ onClick: r[9] ||= (e) => G("TR"),
1749
+ class: _({
1750
+ "vue-ui-quadrant-mini-map-cell": !0,
1751
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TR"
1752
+ })
1753
+ }, null, 14, Wt),
1754
+ m("rect", {
1755
+ x: Z.value[H.value].br.x,
1756
+ y: Z.value[H.value].br.y,
1757
+ height: "20",
1758
+ width: "20",
1759
+ fill: Z.value[H.value].br.fill,
1760
+ style: y(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "BR" ? 1 : .2}`),
1761
+ onClick: r[10] ||= (e) => G("BR"),
1762
+ class: _({
1763
+ "vue-ui-quadrant-mini-map-cell": !0,
1764
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BR"
1765
+ })
1766
+ }, null, 14, Gt),
1767
+ m("rect", {
1768
+ x: Z.value[H.value].bl.x,
1769
+ y: Z.value[H.value].bl.y,
1770
+ height: "20",
1771
+ width: "20",
1772
+ fill: Z.value[H.value].bl.fill,
1773
+ style: y(`cursor: ${N.value ? "pointer" : "default"}; opacity: ${H.value === "BL" ? 1 : .2}`),
1774
+ onClick: r[11] ||= (e) => G("BL"),
1775
+ class: _({
1776
+ "vue-ui-quadrant-mini-map-cell": !0,
1777
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BL"
1778
+ })
1779
+ }, null, 14, Kt),
1780
+ m("path", {
1781
+ class: "vue-ui-quadrant-minimap-crosshairs",
1782
+ stroke: M.value.style.chart.backgroundColor,
1783
+ "stroke-width": 1,
1784
+ d: Z.value[H.value].crosshairs.horizontal
1785
+ }, null, 8, qt),
1786
+ m("path", {
1787
+ class: "vue-ui-quadrant-minimap-crosshairs",
1788
+ stroke: M.value.style.chart.backgroundColor,
1789
+ "stroke-width": 1,
1790
+ d: Z.value[H.value].crosshairs.vertical
1791
+ }, null, 8, Jt)
1792
+ ])) : f("", !0),
1793
+ C(e.$slots, "svg", { svg: {
1794
+ ...B.value,
1795
+ isPrintingImg: T(Hn) || T(Un) || On.value,
1796
+ isPrintingSvg: kn.value
1797
+ } }, void 0, !0)
1798
+ ], 46, Ye)), e.$slots.hint ? (b(), p("div", Yt, [C(e.$slots, "hint", v(g({
1799
+ hint: M.value.a11y.translations.keyboardNavigation,
1800
+ isVisible: Nn.value
1801
+ })), void 0, !0)])) : f("", !0)]),
1802
+ e.$slots.watermark ? (b(), p("div", Xt, [C(e.$slots, "watermark", v(g({ isPrinting: T(Hn) || T(Un) || On.value || kn.value })), void 0, !0)])) : f("", !0),
1803
+ m("div", { id: `legend-bottom-${O.value}` }, null, 8, Zt),
1804
+ Tn.value && (M.value.style.chart.legend.show || e.$slots.legend) ? (b(), d(Me, {
1805
+ key: 6,
1806
+ to: M.value.style.chart.legend.position === "top" ? `#legend-top-${O.value}` : `#legend-bottom-${O.value}`
1807
+ }, [m("div", {
1808
+ ref_key: "chartLegend",
1809
+ ref: yn
1810
+ }, [C(e.$slots, "legend", { legend: Y.value }, () => [M.value.style.chart.legend.show ? (b(), d(Ae, {
1811
+ key: `legend_${wn.value}`,
1812
+ legendSet: Y.value,
1813
+ config: ur.value,
1814
+ isCursorPointer: N.value,
1815
+ onClickMarker: r[12] ||= ({ legend: e }) => or(e.id)
1816
+ }, {
1817
+ item: E(({ legend: e }) => [T(Fn) ? f("", !0) : (b(), p("div", {
1818
+ key: 0,
1819
+ onClick: (t) => or(e.id),
1820
+ style: y(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
1821
+ }, w(e.name), 13, Qt))]),
1822
+ legendToggle: E(() => [Y.value.length > 2 && M.value.style.chart.legend.selectAllToggle.show && !T(Fn) ? (b(), d(Ee, {
1823
+ key: 0,
1824
+ backgroundColor: M.value.style.chart.legend.selectAllToggle.backgroundColor,
1825
+ color: M.value.style.chart.legend.selectAllToggle.color,
1826
+ fontSize: M.value.style.chart.legend.fontSize,
1827
+ checked: q.value.length > 0,
1828
+ isCursorPointer: N.value,
1829
+ onToggle: ar
1830
+ }, null, 8, [
1831
+ "backgroundColor",
1832
+ "color",
1833
+ "fontSize",
1834
+ "checked",
1835
+ "isCursorPointer"
1836
+ ])) : f("", !0)]),
1837
+ _: 1
1838
+ }, 8, [
1839
+ "legendSet",
1840
+ "config",
1841
+ "isCursorPointer"
1842
+ ])) : f("", !0)], !0)], 512)], 8, ["to"])) : f("", !0),
1843
+ e.$slots.source ? (b(), p("div", {
1844
+ key: 7,
1845
+ ref_key: "source",
1846
+ ref: bn,
1847
+ dir: "auto"
1848
+ }, [C(e.$slots, "source", {}, void 0, !0)], 512)) : f("", !0),
1849
+ Fe(T(tn), {
1850
+ teleportTo: M.value.style.chart.tooltip.teleportTo,
1851
+ show: R.value.showTooltip && hn.value,
1852
+ backgroundColor: M.value.style.chart.tooltip.backgroundColor,
1853
+ color: M.value.style.chart.tooltip.color,
1854
+ borderRadius: M.value.style.chart.tooltip.borderRadius,
1855
+ borderColor: M.value.style.chart.tooltip.borderColor,
1856
+ borderWidth: M.value.style.chart.tooltip.borderWidth,
1857
+ fontSize: M.value.style.chart.tooltip.fontSize,
1858
+ backgroundOpacity: M.value.style.chart.tooltip.backgroundOpacity,
1859
+ position: M.value.style.chart.tooltip.position,
1860
+ offsetY: M.value.style.chart.tooltip.offsetY,
1861
+ parent: A.value,
1862
+ content: gn.value,
1863
+ isFullscreen: Q.value,
1864
+ isCustom: M.value.style.chart.tooltip.customFormat && typeof M.value.style.chart.tooltip.customFormat == "function",
1865
+ smooth: M.value.style.chart.tooltip.smooth,
1866
+ backdropFilter: M.value.style.chart.tooltip.backdropFilter,
1867
+ smoothForce: M.value.style.chart.tooltip.smoothForce,
1868
+ smoothSnapThreshold: M.value.style.chart.tooltip.smoothSnapThreshold,
1869
+ isA11yMode: Mn.value === "keyboard",
1870
+ a11yPosition: jn.value
1871
+ }, {
1872
+ "tooltip-before": E(() => [C(e.$slots, "tooltip-before", v(g({ ...pr.value })), void 0, !0)]),
1873
+ tooltip: E(() => [C(e.$slots, "tooltip", v(g({ ...pr.value })), void 0, !0)]),
1874
+ "tooltip-after": E(() => [C(e.$slots, "tooltip-after", v(g({ ...pr.value })), void 0, !0)]),
1875
+ default: E(() => [M.value.style.chart.tooltip.showShape ? (b(), p("svg", $t, [Fe(Se, {
1876
+ plot: {
1877
+ x: 10,
1878
+ y: 10
1879
+ },
1880
+ shape: fr.value.shape,
1881
+ color: fr.value.color,
1882
+ radius: 8,
1883
+ stroke: M.value.style.chart.layout.plots.outline ? M.value.style.chart.layout.plots.outlineColor : "none",
1884
+ "stroke-width": M.value.style.chart.layout.plots.outlineWidth
1885
+ }, null, 8, [
1886
+ "shape",
1887
+ "color",
1888
+ "stroke",
1889
+ "stroke-width"
1890
+ ])])) : f("", !0)]),
1891
+ _: 3
1892
+ }, 8, [
1893
+ "teleportTo",
1894
+ "show",
1895
+ "backgroundColor",
1896
+ "color",
1897
+ "borderRadius",
1898
+ "borderColor",
1899
+ "borderWidth",
1900
+ "fontSize",
1901
+ "backgroundOpacity",
1902
+ "position",
1903
+ "offsetY",
1904
+ "parent",
1905
+ "content",
1906
+ "isFullscreen",
1907
+ "isCustom",
1908
+ "smooth",
1909
+ "backdropFilter",
1910
+ "smoothForce",
1911
+ "smoothSnapThreshold",
1912
+ "isA11yMode",
1913
+ "a11yPosition"
1914
+ ]),
1915
+ pn.value && M.value.userOptions.buttons.table ? (b(), d(Be(kr.value.component), Ie({ key: 8 }, kr.value.props, {
1916
+ ref_key: "tableUnit",
1917
+ ref: En,
1918
+ onClose: Ar
1919
+ }), Ne({
1920
+ content: E(() => [(b(), d(T(an), {
1921
+ key: `table_${Cn.value}`,
1922
+ colNames: ir.value.colNames,
1923
+ head: ir.value.head,
1924
+ body: ir.value.body,
1925
+ config: ir.value.config,
1926
+ title: M.value.table.useDialog ? "" : kr.value.title,
1927
+ withCloseButton: !M.value.table.useDialog,
1928
+ isCursorPointer: N.value,
1929
+ onClose: Ar
1930
+ }, {
1931
+ th: E(({ th: e }) => [Pe(w(e), 1)]),
1932
+ td: E(({ td: e }) => [m("div", { innerHTML: e.name || e }, null, 8, en)]),
1933
+ _: 1
1934
+ }, 8, [
1935
+ "colNames",
1936
+ "head",
1937
+ "body",
1938
+ "config",
1939
+ "title",
1940
+ "withCloseButton",
1941
+ "isCursorPointer"
1942
+ ]))]),
1943
+ _: 2
1944
+ }, [M.value.table.useDialog ? {
1945
+ name: "title",
1946
+ fn: E(() => [Pe(w(kr.value.title), 1)]),
1947
+ key: "0"
1948
+ } : void 0, M.value.table.useDialog ? {
1949
+ name: "actions",
1950
+ fn: E(() => [m("button", {
1951
+ tabindex: "0",
1952
+ class: "vue-ui-user-options-button",
1953
+ onClick: r[13] ||= (e) => xr(M.value.userOptions.callbacks.csv),
1954
+ style: y({ cursor: N.value ? "pointer" : "default" })
1955
+ }, [Fe(T(nn), {
1956
+ name: "fileCsv",
1957
+ stroke: kr.value.props.color
1958
+ }, null, 8, ["stroke"])], 4)]),
1959
+ key: "1"
1960
+ } : void 0]), 1040)) : f("", !0),
1961
+ C(e.$slots, "skeleton", {}, () => [T(Fn) ? (b(), d(ge, { key: 0 })) : f("", !0)], !0)
1962
+ ], 46, Ge));
1963
+ }
1964
+ }, [["__scopeId", "data-v-771e8011"]]);
1965
+ //#endregion
1966
+ export { We as n, tn as t };