vue-data-ui 3.22.14 → 3.23.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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -1,36 +1,37 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Bt as n, C as r, E as i, Gt as a, K as o, Nt as ee, Q as te, W as ne, Y as s, bt as re, et as c, gt as ie, i as l, qt as ae, r as oe, st as se, t as ce, wt as le, x as ue, zt as de } from "./lib-C-QGo8GG.js";
3
- import { t as fe } from "./useConfig-C0V0eG7L.js";
4
- import { t as pe } from "./usePrinter-C5ordS-4.js";
5
- import { n as me, t as he } from "./BaseScanner-DZvpgOjM.js";
6
- import { t as ge } from "./useSvgExport-Ba9qBr9M.js";
7
- import { t as _e } from "./useNestedProp-BYfiWVP8.js";
8
- import { t as ve } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as ye } from "./img-zY7_pJz1.js";
10
- import { n as be } from "./Title-Thf71-8D.js";
11
- import { t as xe } from "./Shape-Dmh9jBFh.js";
12
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { l as Ce, t as we } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Te } from "./DefGrad-DVBqDjhO.js";
15
- import { t as Ee } from "./BaseLegendToggle-DJU4VsLO.js";
16
- import { t as De } from "./A11yDataTable-DdRsVULz.js";
17
- import { t as Oe } from "./useUserOptionState-DK-_1ddE.js";
18
- import { t as ke } from "./useChartAccessibility-DYqac8yF.js";
19
- import { t as Ae } from "./Legend-DSPDFP3n.js";
20
- import { t as je } from "./vue_ui_quadrant-CDSTKTJz.js";
21
- import { Fragment as u, Teleport as Me, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ne, createTextVNode as Pe, createVNode as Fe, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Ie, nextTick as Le, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Re, onMounted as ze, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as Be, shallowRef as Ve, toDisplayString as T, toRefs as He, unref as E, watch as Ue, withCtx as D } from "vue";
2
+ import { $ as t, Bt as n, D as r, G as i, Jt as a, Kt as o, Pt as s, S as ee, Tt as te, Vt as ne, X as c, _t as re, ct as ie, i as l, jt as ae, q as oe, r as se, t as ce, tt as le, w as ue, xt as de } from "./lib-Bttd6u5E.js";
3
+ import { n as fe, t as pe } from "./useHints-Dq_w2E8B.js";
4
+ import { t as me } from "./useConfig-D3scuR88.js";
5
+ import { t as he } from "./usePrinter-DN5bYhTG.js";
6
+ import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ve } from "./useSvgExport-DH-FfcqQ.js";
8
+ import { t as ye } from "./useNestedProp-vPNvh7rV.js";
9
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as xe } from "./img-Bnokohej.js";
11
+ import { n as Se } from "./Title-BE3qg9xl.js";
12
+ import { t as Ce } from "./Shape-C21CMlWS.js";
13
+ import { t as we } from "./_plugin-vue_export-helper-B3ysoDQm.js";
14
+ import { l as Te, t as Ee } from "./useResponsive-ZtArZtUf.js";
15
+ import { t as De } from "./DefGrad-DVBqDjhO.js";
16
+ import { t as Oe } from "./BaseLegendToggle-DZVucLnv.js";
17
+ import { t as ke } from "./A11yDataTable-DdRsVULz.js";
18
+ import { t as Ae } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as je } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Me } from "./Legend-CQxUgOd-.js";
21
+ import { t as Ne } from "./vue_ui_quadrant-CDSTKTJz.js";
22
+ import { Fragment as u, Teleport as Pe, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Fe, createTextVNode as Ie, createVNode as Le, defineAsyncComponent as g, guardReactiveProps as _, mergeProps as Re, nextTick as ze, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as Be, onMounted as Ve, openBlock as x, ref as S, renderList as C, renderSlot as w, resolveDynamicComponent as He, shallowRef as Ue, toDisplayString as T, toRefs as We, unref as E, watch as Ge, withCtx as D } from "vue";
22
23
  //#region src/components/vue-ui-quadrant.vue
23
- var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe = ["id"], Je = { style: { position: "relative" } }, Ye = [
24
+ var Ke = /* @__PURE__ */ e({ default: () => en }), qe = ["id"], Je = ["id"], Ye = ["id"], Xe = { style: { position: "relative" } }, Ze = [
24
25
  "xmlns",
25
26
  "aria-describedby",
26
27
  "viewBox",
27
28
  "id"
28
- ], Xe = [
29
+ ], Qe = [
29
30
  "x",
30
31
  "y",
31
32
  "width",
32
33
  "height"
33
- ], Ze = { key: 1 }, Qe = [
34
+ ], $e = { key: 1 }, et = [
34
35
  "fill",
35
36
  "x",
36
37
  "y",
@@ -39,150 +40,150 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
39
40
  "stroke-width",
40
41
  "stroke",
41
42
  "rx"
42
- ], $e = [
43
+ ], tt = [
43
44
  "x1",
44
45
  "y1",
45
46
  "x2",
46
47
  "y2",
47
48
  "stroke",
48
49
  "stroke-width"
49
- ], et = [
50
+ ], nt = [
50
51
  "x1",
51
52
  "y1",
52
53
  "x2",
53
54
  "y2",
54
55
  "stroke",
55
56
  "stroke-width"
56
- ], tt = { key: 2 }, nt = ["points", "fill"], rt = ["points", "fill"], it = ["points", "fill"], at = ["points", "fill"], ot = { key: 3 }, st = [
57
+ ], rt = { key: 2 }, it = ["points", "fill"], at = ["points", "fill"], ot = ["points", "fill"], st = ["points", "fill"], ct = { key: 3 }, lt = [
57
58
  "y",
58
59
  "fill",
59
60
  "font-size"
60
- ], ct = [
61
+ ], ut = [
61
62
  "x",
62
63
  "y",
63
64
  "fill",
64
65
  "font-size"
65
- ], lt = [
66
+ ], dt = [
66
67
  "x",
67
68
  "y",
68
69
  "fill",
69
70
  "font-size"
70
- ], ut = [
71
+ ], ft = [
71
72
  "y",
72
73
  "fill",
73
74
  "font-size"
74
- ], dt = { key: 4 }, ft = [
75
+ ], pt = { key: 4 }, mt = [
75
76
  "x",
76
77
  "y",
77
78
  "font-size",
78
79
  "fill"
79
- ], pt = [
80
+ ], ht = [
80
81
  "x",
81
82
  "y",
82
83
  "font-size",
83
84
  "fill"
84
- ], mt = [
85
+ ], gt = [
85
86
  "x",
86
87
  "y",
87
88
  "font-size",
88
89
  "fill"
89
- ], ht = [
90
+ ], _t = [
90
91
  "id",
91
92
  "font-size",
92
93
  "transform",
93
94
  "fill"
94
- ], gt = [
95
+ ], vt = [
95
96
  "id",
96
97
  "font-size",
97
98
  "transform",
98
99
  "fill"
99
- ], _t = [
100
+ ], yt = [
100
101
  "id",
101
102
  "font-size",
102
103
  "transform",
103
104
  "fill"
104
- ], vt = { key: 5 }, yt = ["fill", "points"], bt = [
105
+ ], bt = { key: 5 }, xt = ["fill", "points"], St = [
105
106
  "x",
106
107
  "y",
107
108
  "width",
108
109
  "height"
109
- ], xt = [
110
+ ], Ct = [
110
111
  "x",
111
112
  "y",
112
113
  "width",
113
114
  "height"
114
- ], St = [
115
+ ], wt = [
115
116
  "x",
116
117
  "y",
117
118
  "width",
118
119
  "height"
119
- ], Ct = [
120
+ ], Tt = [
120
121
  "x",
121
122
  "y",
122
123
  "width",
123
124
  "height"
124
- ], wt = [
125
+ ], Et = [
125
126
  "x",
126
127
  "y",
127
128
  "onMouseenter",
128
129
  "onMouseleave",
129
130
  "onClick"
130
- ], Tt = [
131
+ ], Dt = [
131
132
  "data-a11y-plot-id",
132
133
  "cx",
133
134
  "cy",
134
135
  "r"
135
- ], Et = [
136
+ ], Ot = [
136
137
  "data-a11y-plot-id",
137
138
  "cx",
138
139
  "cy",
139
140
  "r"
140
- ], Dt = {
141
+ ], kt = {
141
142
  key: 0,
142
143
  style: { "pointer-events": "none" }
143
- }, Ot = [
144
+ }, At = [
144
145
  "x",
145
146
  "y",
146
147
  "font-size",
147
148
  "fill"
148
- ], kt = [
149
+ ], jt = [
149
150
  "x",
150
151
  "y",
151
152
  "font-size",
152
153
  "fill",
153
154
  "innerHTML"
154
- ], At = { key: 0 }, jt = [
155
+ ], Mt = { key: 0 }, Nt = [
155
156
  "x",
156
157
  "y",
157
158
  "onMouseover",
158
159
  "onMouseleave",
159
160
  "onClick"
160
- ], Mt = {
161
+ ], Pt = {
161
162
  key: 8,
162
163
  class: "vue-ui-dna"
163
- }, Nt = ["points", "fill"], Pt = ["points", "fill"], Ft = ["points", "fill"], It = ["points", "fill"], Lt = { key: 9 }, Rt = [
164
+ }, Ft = ["points", "fill"], It = ["points", "fill"], Lt = ["points", "fill"], Rt = ["points", "fill"], zt = { key: 9 }, Bt = [
164
165
  "x",
165
166
  "y",
166
167
  "font-size",
167
168
  "fill",
168
169
  "font-weight"
169
- ], zt = { key: 10 }, Bt = [
170
+ ], Vt = { key: 10 }, Ht = [
170
171
  "x",
171
172
  "y",
172
173
  "fill"
173
- ], Vt = [
174
+ ], Ut = [
174
175
  "x",
175
176
  "y",
176
177
  "fill"
177
- ], Ht = [
178
+ ], Wt = [
178
179
  "x",
179
180
  "y",
180
181
  "fill"
181
- ], Ut = [
182
+ ], Gt = [
182
183
  "x",
183
184
  "y",
184
185
  "fill"
185
- ], Wt = ["stroke", "d"], Gt = ["stroke", "d"], Kt = {
186
+ ], Kt = ["stroke", "d"], qt = ["stroke", "d"], Jt = {
186
187
  key: 0,
187
188
  style: {
188
189
  position: "absolute",
@@ -192,15 +193,15 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
192
193
  },
193
194
  "data-dom-to-png-ignore": "",
194
195
  "aria-hidden": "true"
195
- }, qt = {
196
+ }, Yt = {
196
197
  key: 5,
197
198
  class: "vue-data-ui-watermark"
198
- }, Jt = ["id"], Yt = ["onClick"], Xt = {
199
+ }, Xt = ["id"], Zt = ["onClick"], Qt = {
199
200
  key: 0,
200
201
  height: "14",
201
202
  width: "14",
202
203
  viewBox: "0 0 20 20"
203
- }, Zt = ["innerHTML"], Qt = /*#__PURE__*/ Se({
204
+ }, $t = ["innerHTML"], en = /*#__PURE__*/ we({
204
205
  __name: "vue-ui-quadrant",
205
206
  props: {
206
207
  config: {
@@ -222,11 +223,18 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
222
223
  "selectLegend",
223
224
  "copyAlt"
224
225
  ],
225
- setup(e, { expose: Se, emit: We }) {
226
- let Qt = g(() => import("./Tooltip-CEbqzIhL.js")), $t = g(() => import("./BaseIcon-DJbOzCDs.js").then((e) => e.n)), en = g(() => import("./vue-ui-accordion-FimGHtuy.js").then((e) => e.n)), tn = g(() => import("./DataTable-rIsBpJMt.js")), nn = g(() => import("./PenAndPaper-D--sbRMA.js").then((e) => e.t)), rn = g(() => import("./UserOptions-BknvMNU1.js").then((e) => e.n)), an = g(() => import("./PackageVersion-BUmadjVO.js").then((e) => e.t)), on = g(() => import("./BaseDraggableDialog-hyW32gLf.js").then((e) => e.n)), { vue_ui_quadrant: sn } = fe(), { isThemeValid: cn, warnInvalidTheme: ln } = ve(), O = e, un = d(() => !!O.dataset && O.dataset.length), k = S(o()), dn = We, fn = S(!1), pn = S(""), mn = S(0), A = S(!1), j = S(null), hn = S(null), gn = S(null), _n = S(null), vn = S(null), yn = S(0), bn = S(0), xn = S(0), Sn = S(!1), Cn = S(null), wn = S(null), Tn = S(!1), En = S(!1), M = S(null), Dn = S(null), On = S({
226
+ setup(e, { expose: we, emit: Ke }) {
227
+ let en = g(() => import("./Tooltip-DhjyfHwz.js")), tn = g(() => import("./BaseIcon-BfndwIWE.js").then((e) => e.n)), nn = g(() => import("./vue-ui-accordion-BxGriZik.js").then((e) => e.n)), rn = g(() => import("./DataTable-BbKgJ5UI.js")), an = g(() => import("./PenAndPaper-DAE-tnEQ.js").then((e) => e.t)), on = g(() => import("./UserOptions-Dt98of5H.js").then((e) => e.n)), sn = g(() => import("./PackageVersion-D6d8SCp9.js").then((e) => e.t)), cn = g(() => import("./BaseDraggableDialog-LoqqwRtV.js").then((e) => e.n)), { vue_ui_quadrant: ln } = me(), { isThemeValid: un, warnInvalidTheme: dn } = be(), O = e, fn = d(() => !!O.dataset && O.dataset.length), k = S(oe()), pn = Ke, mn = S(!1), hn = S(""), gn = S(0), A = S(!1), j = S(null), _n = S(null), vn = S(null), yn = S(null), bn = S(null), xn = S(0), Sn = S(0), Cn = S(0), wn = S(!1), Tn = S(null), En = S(null), Dn = S(!1), On = S(!1), M = S(null), kn = S(null), An = S({
227
228
  x: 0,
228
229
  y: 0
229
- }), kn = S("pointer"), An = S(!1), N = S(Ln()), P = d(() => N.value.userOptions.useCursorPointer), jn = d(() => ({
230
+ }), jn = S("pointer"), Mn = S(!1), N = S(zn());
231
+ fe({
232
+ config: () => N.value,
233
+ dataset: () => O.dataset,
234
+ component: "VueUiQuadrant",
235
+ rules: [pe.emptyArray, pe.noHint]
236
+ });
237
+ let P = d(() => N.value.userOptions.useCursorPointer), Nn = d(() => ({
230
238
  defaultConfig: {
231
239
  userOptions: { show: !1 },
232
240
  table: { show: !1 },
@@ -253,13 +261,13 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
253
261
  } }
254
262
  },
255
263
  userConfig: N.value.skeletonConfig ?? {}
256
- })), { loading: Mn, FINAL_DATASET: Nn } = me({
257
- ...He(O),
264
+ })), { loading: Pn, FINAL_DATASET: Fn } = ge({
265
+ ...We(O),
258
266
  FINAL_CONFIG: N,
259
- prepareConfig: Ln,
267
+ prepareConfig: zn,
260
268
  callback: () => {
261
269
  Promise.resolve().then(async () => {
262
- await Le(), L.value.showTable = N.value.table.show;
270
+ await ze(), R.value.showTable = N.value.table.show;
263
271
  });
264
272
  },
265
273
  skeletonDataset: O.config?.skeletonDataset ?? [{
@@ -334,144 +342,144 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
334
342
  }
335
343
  ]
336
344
  }],
337
- skeletonConfig: ae({
345
+ skeletonConfig: a({
338
346
  defaultConfig: N.value,
339
- userConfig: jn.value
347
+ userConfig: Nn.value
340
348
  })
341
- }), { userOptionsVisible: Pn, setUserOptionsVisibility: Fn, keepUserOptionState: In } = Oe({ config: N.value }), { svgRef: F } = ke({ config: N.value.style.chart.title });
342
- function Ln() {
343
- let e = _e({
349
+ }), { userOptionsVisible: In, setUserOptionsVisibility: Ln, keepUserOptionState: Rn } = Ae({ config: N.value }), { svgRef: F } = je({ config: N.value.style.chart.title });
350
+ function zn() {
351
+ let e = ye({
344
352
  userConfig: O.config,
345
- defaultConfig: sn
353
+ defaultConfig: ln
346
354
  }), t = e.theme;
347
355
  if (!t) return e;
348
- if (!cn.value(e)) return ln(e), e;
349
- let n = _e({
350
- userConfig: je[t] || O.config,
356
+ if (!un.value(e)) return dn(e), e;
357
+ let n = ye({
358
+ userConfig: Ne[t] || O.config,
351
359
  defaultConfig: e
352
- }), r = _e({
360
+ }), r = ye({
353
361
  userConfig: O.config,
354
362
  defaultConfig: n
355
363
  });
356
364
  return {
357
365
  ...r,
358
- customPalette: r.customPalette.length ? r.customPalette : a[t] || ee
366
+ customPalette: r.customPalette.length ? r.customPalette : o[t] || s
359
367
  };
360
368
  }
361
- Ue(() => O.config, (e) => {
362
- N.value = Ln(), Pn.value = !N.value.userOptions.showOnChartHover, Bn(), yn.value += 1, bn.value += 1, xn.value += 1, L.value.plotLabels.show = N.value.style.chart.layout.labels.plotLabels.show, L.value.showTable = N.value.table.show, L.value.showTooltip = N.value.style.chart.tooltip.show;
369
+ Ge(() => O.config, (e) => {
370
+ N.value = zn(), In.value = !N.value.userOptions.showOnChartHover, Vn(), xn.value += 1, Sn.value += 1, Cn.value += 1, R.value.plotLabels.show = N.value.style.chart.layout.labels.plotLabels.show, R.value.showTable = N.value.table.show, R.value.showTooltip = N.value.style.chart.tooltip.show;
363
371
  }, { deep: !0 });
364
- let I = Ve(null), Rn = Ve(null), zn = d(() => N.value.debug);
365
- function Bn() {
366
- if (t(O.dataset) ? c({
372
+ let I = Ue(null), L = Ue(null), Bn = d(() => N.value.debug);
373
+ function Vn() {
374
+ if (ae(O.dataset) ? le({
367
375
  componentName: "VueUiQuadrant",
368
376
  type: "dataset",
369
- debug: zn.value
377
+ debug: Bn.value
370
378
  }) : O.dataset.forEach((e, t) => {
371
- [null, void 0].includes(e.name) && c({
379
+ [null, void 0].includes(e.name) && le({
372
380
  componentName: "VueUiQuadrant",
373
381
  type: "datasetSerieAttribute",
374
382
  property: "name",
375
383
  index: t,
376
- debug: zn.value
377
- }), [null, void 0].includes(e.series) ? c({
384
+ debug: Bn.value
385
+ }), [null, void 0].includes(e.series) ? le({
378
386
  componentName: "VueUiQuadrant",
379
387
  type: "datasetSerieAttribute",
380
388
  property: "series",
381
389
  index: t,
382
- debug: zn.value
390
+ debug: Bn.value
383
391
  }) : e.series.forEach((e, t) => {
384
- [null, void 0].includes(e.name) && c({
392
+ [null, void 0].includes(e.name) && le({
385
393
  componentName: "VueUiQuadrant",
386
394
  type: "datasetSerieAttribute",
387
395
  property: "name",
388
396
  key: "series",
389
397
  index: t,
390
- debug: zn.value
398
+ debug: Bn.value
391
399
  });
392
400
  });
393
401
  }), N.value.responsive) {
394
- let e = Ce(() => {
395
- let { width: e, height: t } = we({
402
+ let e = Te(() => {
403
+ let { width: e, height: t } = Ee({
396
404
  chart: j.value,
397
- title: N.value.style.chart.title.text ? hn.value : null,
398
- legend: N.value.style.chart.legend.show ? gn.value : null,
399
- source: _n.value,
400
- noTitle: vn.value
405
+ title: N.value.style.chart.title.text ? _n.value : null,
406
+ legend: N.value.style.chart.legend.show ? vn.value : null,
407
+ source: yn.value,
408
+ noTitle: bn.value
401
409
  });
402
- R.value = 48, requestAnimationFrame(() => {
403
- z.value.height = t, z.value.usableHeight = t - R.value * 2, z.value.width = e, z.value.usableWidth = e - R.value * 2, z.value.top = R.value, z.value.left = R.value, z.value.right = e - R.value, z.value.bottom = t - R.value, z.value.centerX = e / 2, z.value.centerY = t - t / 2, z.value.padding = R.value;
410
+ z.value = 48, requestAnimationFrame(() => {
411
+ 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
412
  });
405
413
  });
406
- I.value && (Rn.value && I.value.unobserve(Rn.value), I.value.disconnect()), I.value = new ResizeObserver(e), Rn.value = j.value.parentNode, I.value.observe(Rn.value);
414
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect()), I.value = new ResizeObserver(e), L.value = j.value.parentNode, I.value.observe(L.value);
407
415
  }
408
416
  }
409
- ze(() => {
410
- Sn.value = !0, Bn();
411
- }), Re(() => {
412
- I.value && (Rn.value && I.value.unobserve(Rn.value), I.value.disconnect());
417
+ Ve(() => {
418
+ wn.value = !0, Vn();
419
+ }), Be(() => {
420
+ I.value && (L.value && I.value.unobserve(L.value), I.value.disconnect());
413
421
  });
414
- let { isPrinting: Vn, isImaging: Hn, generatePdf: Un, generateImage: Wn } = pe({
422
+ let { isPrinting: Hn, isImaging: Un, generatePdf: Wn, generateImage: Gn } = he({
415
423
  elementId: `vue-ui-quadrant_${k.value}`,
416
424
  fileName: N.value.style.chart.title.text || "vue-ui-quadrant",
417
425
  options: N.value.userOptions.print
418
- }), Gn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), Kn = d(() => r(N.value.customPalette)), L = S({
426
+ }), Kn = d(() => N.value.userOptions.show && !N.value.style.chart.title.text), qn = d(() => ue(N.value.customPalette)), R = S({
419
427
  plotLabels: { show: N.value.style.chart.layout.labels.plotLabels.show },
420
428
  showTable: N.value.table.show,
421
429
  showTooltip: N.value.style.chart.tooltip.show
422
- }), R = S(48), z = S({
430
+ }), z = S(48), B = S({
423
431
  height: N.value.style.chart.height,
424
- usableHeight: N.value.style.chart.height - R.value * 2,
432
+ usableHeight: N.value.style.chart.height - z.value * 2,
425
433
  width: N.value.style.chart.width,
426
- usableWidth: N.value.style.chart.width - R.value * 2,
427
- top: R.value,
428
- left: R.value,
429
- right: N.value.style.chart.width - R.value,
430
- bottom: N.value.style.chart.height - R.value,
434
+ usableWidth: N.value.style.chart.width - z.value * 2,
435
+ top: z.value,
436
+ left: z.value,
437
+ right: N.value.style.chart.width - z.value,
438
+ bottom: N.value.style.chart.height - z.value,
431
439
  centerX: N.value.style.chart.width / 2,
432
440
  centerY: N.value.style.chart.height - N.value.style.chart.height / 2,
433
- padding: R.value
434
- }), B = S({
435
- ...JSON.parse(JSON.stringify(z.value)),
441
+ padding: z.value
442
+ }), V = S({
443
+ ...JSON.parse(JSON.stringify(B.value)),
436
444
  startX: 0,
437
445
  startY: 0
438
446
  });
439
- Ue(() => z.value, (e) => {
440
- e && (B.value = {
441
- ...JSON.parse(JSON.stringify(z.value)),
447
+ Ge(() => B.value, (e) => {
448
+ e && (V.value = {
449
+ ...JSON.parse(JSON.stringify(B.value)),
442
450
  startX: 0,
443
451
  startY: 0
444
452
  });
445
453
  }, { deep: !0 });
446
- let V = S(null), H = d(() => {
447
- switch (V.value) {
454
+ let H = S(null), U = d(() => {
455
+ switch (H.value) {
448
456
  case "TL": return {
449
- x: B.value.startX + B.value.width / 2,
450
- y: B.value.height,
457
+ x: V.value.startX + V.value.width / 2,
458
+ y: V.value.height,
451
459
  text: N.value.style.chart.layout.labels.quadrantLabels.tl.text || "Top Left",
452
460
  fontSize: N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
453
461
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
454
462
  bold: N.value.style.chart.layout.labels.quadrantLabels.tl.bold
455
463
  };
456
464
  case "TR": return {
457
- x: B.value.startX + B.value.width / 2,
458
- y: B.value.height,
465
+ x: V.value.startX + V.value.width / 2,
466
+ y: V.value.height,
459
467
  text: N.value.style.chart.layout.labels.quadrantLabels.tr.text || "Top Right",
460
468
  fontSize: N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
461
469
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
462
470
  bold: N.value.style.chart.layout.labels.quadrantLabels.tr.bold
463
471
  };
464
472
  case "BR": return {
465
- x: B.value.startX + B.value.width / 2,
466
- y: B.value.height * 1.678,
473
+ x: V.value.startX + V.value.width / 2,
474
+ y: V.value.height * 1.678,
467
475
  text: N.value.style.chart.layout.labels.quadrantLabels.br.text || "Bottom Right",
468
476
  fontSize: N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
469
477
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
470
478
  bold: N.value.style.chart.layout.labels.quadrantLabels.br.bold
471
479
  };
472
480
  case "BL": return {
473
- x: B.value.startX + B.value.width / 2,
474
- y: B.value.height * 1.678,
481
+ x: V.value.startX + V.value.width / 2,
482
+ y: V.value.height * 1.678,
475
483
  text: N.value.style.chart.layout.labels.quadrantLabels.bl.text || "Bottom Left",
476
484
  fontSize: N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
477
485
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
@@ -486,86 +494,84 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
486
494
  bold: !1
487
495
  };
488
496
  }
489
- }), qn = S(null), Jn = S(!1);
490
- function Yn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
491
- V.value && _r(i);
497
+ }), Jn = S(null), Yn = S(!1);
498
+ function Xn({ targetX: e, targetY: t, targetW: n, targetH: r, side: i }) {
499
+ H.value && yr(i);
492
500
  let a = {
493
- x: e - B.value.startX,
494
- y: t - B.value.startY,
495
- w: n - B.value.width,
496
- h: r - B.value.height
497
- }, o = N.value.zoomAnimationFrames, ee = 0;
498
- function te() {
499
- Jn.value = !0, B.value.startX += a.x / o, B.value.startY += a.y / o, B.value.width += a.w / o, B.value.height += a.h / o, ee += 1, ee < o ? qn.value = requestAnimationFrame(te) : Jn.value = !1;
501
+ x: e - V.value.startX,
502
+ y: t - V.value.startY,
503
+ w: n - V.value.width,
504
+ h: r - V.value.height
505
+ }, o = N.value.zoomAnimationFrames, s = 0;
506
+ function ee() {
507
+ 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, s += 1, s < o ? Jn.value = requestAnimationFrame(ee) : Yn.value = !1;
500
508
  }
501
- te();
509
+ ee();
502
510
  }
503
- let U = d(() => N.value.zoomEnabled);
504
- function W(e) {
505
- if (U.value && !Jn.value) if (A.value && V.value === e) Yn({
511
+ let W = d(() => N.value.zoomEnabled);
512
+ function G(e) {
513
+ if (W.value && !Yn.value) if (A.value && H.value === e) Xn({
506
514
  targetX: 0,
507
515
  targetY: 0,
508
- targetW: z.value.width,
509
- targetH: z.value.height
510
- }), V.value = null, A.value = !1;
516
+ targetW: B.value.width,
517
+ targetH: B.value.height
518
+ }), H.value = null, A.value = !1;
511
519
  else {
512
- switch (V.value = e, e) {
520
+ switch (H.value = e, e) {
513
521
  case "TL":
514
- Yn({
522
+ Xn({
515
523
  targetX: 0,
516
524
  targetY: 0,
517
- targetW: z.value.width / 2 + z.value.left,
518
- targetH: z.value.height / 2 + z.value.top,
525
+ targetW: B.value.width / 2 + B.value.left,
526
+ targetH: B.value.height / 2 + B.value.top,
519
527
  side: "tl"
520
528
  });
521
529
  break;
522
530
  case "TR":
523
- Yn({
524
- targetX: z.value.width / 2 - z.value.left,
531
+ Xn({
532
+ targetX: B.value.width / 2 - B.value.left,
525
533
  targetY: 0,
526
- targetW: z.value.width / 2 + z.value.left,
527
- targetH: z.value.height / 2 + z.value.top,
534
+ targetW: B.value.width / 2 + B.value.left,
535
+ targetH: B.value.height / 2 + B.value.top,
528
536
  side: "tr"
529
537
  });
530
538
  break;
531
539
  case "BR":
532
- Yn({
533
- targetX: z.value.width / 2 - z.value.left,
534
- targetY: z.value.height / 2 - z.value.top,
535
- targetW: z.value.width / 2 + z.value.left,
536
- targetH: z.value.height / 2 + z.value.top,
540
+ Xn({
541
+ targetX: B.value.width / 2 - B.value.left,
542
+ targetY: B.value.height / 2 - B.value.top,
543
+ targetW: B.value.width / 2 + B.value.left,
544
+ targetH: B.value.height / 2 + B.value.top,
537
545
  side: "br"
538
546
  });
539
547
  break;
540
548
  case "BL":
541
- Yn({
549
+ Xn({
542
550
  targetX: 0,
543
- targetY: z.value.height / 2 - z.value.top,
544
- targetW: z.value.width / 2 + z.value.left,
545
- targetH: z.value.height / 2 + z.value.top,
551
+ targetY: B.value.height / 2 - B.value.top,
552
+ targetW: B.value.width / 2 + B.value.left,
553
+ targetH: B.value.height / 2 + B.value.top,
546
554
  side: "bl"
547
555
  });
548
556
  break;
549
- default:
550
- B.value.startX = 0, B.value.startY = 0, B.value.width = z.value.width, B.value.height = z.value.height;
551
- break;
557
+ default: V.value.startX = 0, V.value.startY = 0, V.value.width = B.value.width, V.value.height = B.value.height;
552
558
  }
553
559
  A.value = !0;
554
560
  }
555
561
  }
556
- let Xn = d(() => {
557
- let e = N.value.style.chart.layout.grid.graduations.steps, t = z.value.usableWidth / (e * 2), n = z.value.top, r = [];
562
+ let Zn = d(() => {
563
+ let e = N.value.style.chart.layout.grid.graduations.steps, t = B.value.usableWidth / (e * 2), n = B.value.top, r = [];
558
564
  for (let i = 0; i < e; i += 1) r.push({
559
- x: z.value.padding + t * i,
560
- y: n + z.value.usableHeight * (i / e / 2),
561
- height: z.value.usableHeight * (1 - i / e),
562
- width: z.value.usableWidth * (1 - i / e),
565
+ x: B.value.padding + t * i,
566
+ y: n + B.value.usableHeight * (i / e / 2),
567
+ height: B.value.usableHeight * (1 - i / e),
568
+ width: B.value.usableWidth * (1 - i / e),
563
569
  opacity: Math.round((i + 1) / e * 20)
564
570
  });
565
571
  return r;
566
- }), G = d(() => {
572
+ }), K = d(() => {
567
573
  let e = N.value.style.chart.layout.grid.xAxis.max, t = N.value.style.chart.layout.grid.xAxis.min, n = N.value.style.chart.layout.grid.yAxis.max, r = N.value.style.chart.layout.grid.yAxis.min;
568
- return N.value.style.chart.layout.grid.xAxis.auto && (e = Math.max(...q.value.flatMap((e) => e.series.map((e) => e.x))), t = Math.min(...q.value.flatMap((e) => e.series.map((e) => e.x)))), N.value.style.chart.layout.grid.yAxis.auto && (n = Math.max(...q.value.flatMap((e) => e.series.map((e) => e.y))), r = Math.min(...q.value.flatMap((e) => e.series.map((e) => e.y)))), {
574
+ return N.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)))), N.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
575
  x: {
570
576
  max: e,
571
577
  min: t
@@ -575,24 +581,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
575
581
  min: r
576
582
  }
577
583
  };
578
- }), K = S([]), q = d(() => Nn.value.map((e, t) => ({
584
+ }), q = S([]), Qn = d(() => Fn.value.map((e, t) => ({
579
585
  ...e,
580
- series: le({
586
+ series: te({
581
587
  data: e.series,
582
588
  threshold: N.value.downsample.threshold
583
589
  }),
584
590
  id: `cat_${t}_${k.value}`,
585
- color: ue(e.color) || Kn.value[t] || ee[t]
586
- }))), Zn = d(() => q.value.filter((e) => !K.value.includes(e.id))), Qn = d(() => q.value.map((e, t) => ({
591
+ color: ee(e.color) || qn.value[t] || s[t]
592
+ }))), $n = d(() => Qn.value.filter((e) => !q.value.includes(e.id))), er = d(() => Qn.value.map((e, t) => ({
587
593
  ...e,
588
594
  shape: e.shape || "circle",
589
595
  series: e.series.map((t) => ({
590
596
  ...t,
591
- x: $n(t.x),
592
- y: er(t.y),
597
+ x: tr(t.x),
598
+ y: nr(t.y),
593
599
  xValue: t.x,
594
600
  yValue: t.y,
595
- quadrantSide: lr({
601
+ quadrantSide: dr({
596
602
  x: t.x,
597
603
  y: t.y
598
604
  }),
@@ -601,64 +607,66 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
601
607
  shape: e.shape,
602
608
  color: e.color
603
609
  }))
604
- }))), J = d(() => (Nn.value.forEach((e, t) => {
610
+ }))), J = d(() => (Fn.value.forEach((e, t) => {
605
611
  e.series.forEach((e, t) => {
606
- [null, void 0].includes(e.x) && c({
612
+ [null, void 0].includes(e.x) && le({
607
613
  componentName: "VueUiQuadrant",
608
614
  type: "datasetSerieAttribute",
609
615
  property: "x",
610
616
  key: "series",
611
617
  index: t,
612
- debug: zn.value
613
- }), [null, void 0].includes(e.y) && c({
618
+ debug: Bn.value
619
+ }), [null, void 0].includes(e.y) && le({
614
620
  componentName: "VueUiQuadrant",
615
621
  type: "datasetSerieAttribute",
616
622
  property: "y",
617
623
  key: "series",
618
624
  index: t,
619
- debug: zn.value
625
+ debug: Bn.value
620
626
  });
621
627
  });
622
- }), Zn.value.map((e, t) => ({
628
+ }), $n.value.map((e, t) => ({
623
629
  ...e,
624
630
  shape: e.shape || "circle",
625
- color: e.color || Kn.value[t] || ee[t],
631
+ color: e.color || qn.value[t] || s[t],
626
632
  series: e.series.map((t) => ({
627
633
  ...t,
628
634
  category: e,
629
- x: $n(t.x),
630
- y: er(t.y),
635
+ x: tr(t.x),
636
+ y: nr(t.y),
631
637
  xValue: t.x,
632
638
  yValue: t.y,
633
- quadrantSide: lr({
639
+ quadrantSide: dr({
634
640
  x: t.x,
635
641
  y: t.y
636
642
  }),
637
643
  categoryName: e.name,
638
644
  shape: e.shape,
639
645
  color: e.color,
640
- uid: o()
646
+ uid: oe()
641
647
  }))
642
648
  }))));
643
- function $n(e) {
649
+ function tr(e) {
644
650
  if (e >= 0) {
645
- let t = e / G.value.x.max;
646
- return z.value.centerX + z.value.usableWidth / 2 * t;
647
- } else {
648
- let t = Math.abs(e) / Math.abs(G.value.x.min);
649
- return z.value.centerX - z.value.usableWidth / 2 * t;
651
+ let t = e / K.value.x.max;
652
+ return B.value.centerX + B.value.usableWidth / 2 * t;
653
+ }
654
+ {
655
+ let t = Math.abs(e) / Math.abs(K.value.x.min);
656
+ return B.value.centerX - B.value.usableWidth / 2 * t;
650
657
  }
651
658
  }
652
- function er(e) {
659
+ function nr(e) {
653
660
  if (e >= 0) {
654
- let t = e / G.value.y.max;
655
- return z.value.centerY + (1 - z.value.usableHeight / 2 * t);
656
- } else {
657
- let t = Math.abs(e) / Math.abs(G.value.y.min);
658
- return z.value.centerY - (1 - z.value.usableHeight / 2 * t);
661
+ let t = e / K.value.y.max;
662
+ return B.value.centerY + (1 - B.value.usableHeight / 2 * t);
663
+ }
664
+ {
665
+ let t = Math.abs(e) / Math.abs(K.value.y.min);
666
+ return B.value.centerY - (1 - B.value.usableHeight / 2 * t);
659
667
  }
660
668
  }
661
- let tr = d(() => {
669
+ let rr = d(() => {
662
670
  let e = J.value.flatMap((e) => e.series.map((t) => ({
663
671
  x: t.xValue,
664
672
  y: t.yValue,
@@ -690,19 +698,19 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
690
698
  })),
691
699
  tableData: e
692
700
  };
693
- }), nr = d(() => {
694
- let e = tr.value.head, t = tr.value.tableData.map((e) => [
701
+ }), ir = d(() => {
702
+ let e = rr.value.head, t = rr.value.tableData.map((e) => [
695
703
  {
696
704
  shape: e.shape,
697
705
  color: e.color,
698
706
  name: e.category
699
707
  },
700
708
  e.name,
701
- l(N.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, s({
709
+ l(N.value.style.chart.layout.labels.plotLabels.x.formatter, e.x, c({
702
710
  v: e.x,
703
711
  r: N.value.style.chart.layout.labels.plotLabels.rounding
704
712
  })),
705
- l(N.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, s({
713
+ l(N.value.style.chart.layout.labels.plotLabels.y.formatter, e.y, c({
706
714
  v: e.y,
707
715
  r: N.value.style.chart.layout.labels.plotLabels.rounding
708
716
  })),
@@ -728,35 +736,35 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
728
736
  colNames: e
729
737
  };
730
738
  });
731
- function rr() {
732
- K.value.length ? K.value = [] : Y.value.forEach((e) => {
733
- K.value.push(e.id);
734
- }), dn("selectLegend", vr());
739
+ function ar() {
740
+ q.value.length ? q.value = [] : Y.value.forEach((e) => {
741
+ q.value.push(e.id);
742
+ }), pn("selectLegend", br());
735
743
  }
736
- function ir(e) {
737
- K.value.includes(e) ? K.value = K.value.filter((t) => t !== e) : K.value.push(e), dn("selectLegend", vr());
744
+ function or(e) {
745
+ q.value.includes(e) ? q.value = q.value.filter((t) => t !== e) : q.value.push(e), pn("selectLegend", br());
738
746
  }
739
- let Y = d(() => Qn.value.map((e) => ({
747
+ let Y = d(() => er.value.map((e) => ({
740
748
  name: e.name,
741
749
  shape: e.shape,
742
750
  color: e.color,
743
751
  id: e.id,
744
- opacity: K.value.includes(e.id) ? .5 : 1,
745
- segregate: () => ir(e.id),
746
- isSegregated: K.value.includes(e.id)
752
+ opacity: q.value.includes(e.id) ? .5 : 1,
753
+ segregate: () => or(e.id),
754
+ isSegregated: q.value.includes(e.id)
747
755
  })));
748
- function ar(e) {
756
+ function sr(e) {
749
757
  return Y.value.length ? Y.value.find((t) => t.name === e) || (N.value.debug && console.warn(`VueUiQuadrant - Series name not found "${e}"`), null) : (N.value.debug && console.warn("VueUiQuadrant - There are no series to show."), null);
750
758
  }
751
- function or(e) {
752
- let t = ar(e);
753
- t !== null && K.value.includes(t.id) && ir(t.id);
759
+ function cr(e) {
760
+ let t = sr(e);
761
+ t !== null && q.value.includes(t.id) && or(t.id);
754
762
  }
755
- function sr(e) {
756
- let t = ar(e);
757
- t !== null && (K.value.includes(t.id) || ir(t.id));
763
+ function lr(e) {
764
+ let t = sr(e);
765
+ t !== null && (q.value.includes(t.id) || or(t.id));
758
766
  }
759
- let cr = d(() => ({
767
+ let ur = d(() => ({
760
768
  cy: "quadrant-div-legend",
761
769
  backgroundColor: N.value.style.chart.legend.backgroundColor,
762
770
  color: N.value.style.chart.legend.color,
@@ -764,7 +772,7 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
764
772
  paddingBottom: 12,
765
773
  fontWeight: N.value.style.chart.legend.bold ? "bold" : ""
766
774
  }));
767
- function lr(e) {
775
+ function dr(e) {
768
776
  switch (!0) {
769
777
  case e.x >= 0 && e.y >= 0: return "tr";
770
778
  case e.x >= 0 && e.y < 0: return "br";
@@ -773,40 +781,40 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
773
781
  default: return "";
774
782
  }
775
783
  }
776
- let X = S(null), ur = S(null), dr = S(null);
777
- function fr() {
778
- X.value = null, ur.value = null, M.value = null, Dn.value = null, fn.value = !1;
784
+ let X = S(null), fr = S(null), pr = S(null);
785
+ function mr() {
786
+ X.value = null, fr.value = null, M.value = null, kn.value = null, mn.value = !1;
779
787
  }
780
- function pr(e) {
788
+ function hr(e) {
781
789
  if (!F.value || !e) return;
782
790
  let t = `[data-a11y-plot-id="${e}"]`, n = F.value.querySelector(t);
783
791
  if (!n) return;
784
792
  let r = n.getBoundingClientRect();
785
- On.value = {
793
+ An.value = {
786
794
  x: r.left + r.width / 2,
787
795
  y: r.top + r.height / 2
788
796
  };
789
797
  }
790
- function mr(e, t, n, r = "pointer", i = null) {
798
+ function gr(e, t, n, r = "pointer", i = null) {
791
799
  N.value.events.datapointEnter && N.value.events.datapointEnter({
792
800
  datapoint: t,
793
801
  seriesIndex: n
794
- }), X.value = t.uid, ur.value = {
802
+ }), X.value = t.uid, fr.value = {
795
803
  color: e.color,
796
804
  shape: e.shape
797
- }, kn.value = r, M.value = i, Dn.value = t.uid, dr.value = {
805
+ }, jn.value = r, M.value = i, kn.value = t.uid, pr.value = {
798
806
  datapoint: t,
799
807
  seriesIndex: n,
800
808
  series: J.value,
801
809
  config: N.value
802
810
  };
803
811
  let a = N.value.style.chart.tooltip.customFormat;
804
- if (re(a) && se(() => a({
812
+ if (de(a) && ie(() => a({
805
813
  seriesIndex: n,
806
814
  datapoint: t,
807
815
  series: J.value,
808
816
  config: N.value
809
- }))) pn.value = a({
817
+ }))) hn.value = a({
810
818
  seriesIndex: n,
811
819
  datapoint: t,
812
820
  series: J.value,
@@ -814,33 +822,33 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
814
822
  });
815
823
  else {
816
824
  let r = "";
817
- t.quadrantSide && (r += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, s({
825
+ t.quadrantSide && (r += `<div style="color:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].color};font-weight:${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].bold ? "bold" : "400"}">${N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text}</div>`), r += `<div>${e.name}</div>`, r += `<div style="padding-bottom:6px;border-bottom:1px solid ${N.value.style.chart.tooltip.borderColor};margin-bottom:3px">${t.name}</div>`, r += `<div>${N.value.style.chart.layout.grid.xAxis.name ? N.value.style.chart.layout.grid.xAxis.name : "x"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.x.formatter, t.xValue, c({
818
826
  v: t.xValue,
819
827
  r: N.value.style.chart.tooltip.roundingValue
820
828
  }), {
821
829
  datapoint: t,
822
830
  category: e,
823
831
  categoryIndex: n
824
- })}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, s({
832
+ })}</b></div>`, r += `<div>${N.value.style.chart.layout.grid.yAxis.name ? N.value.style.chart.layout.grid.yAxis.name : "y"}: <b>${l(N.value.style.chart.layout.labels.plotLabels.y.formatter, t.yValue, c({
825
833
  v: t.yValue,
826
834
  r: N.value.style.chart.tooltip.roundingValue
827
835
  }), {
828
836
  datapoint: t,
829
837
  category: e,
830
838
  categoryIndex: n
831
- })}</b></div>`, pn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${r}</div>`;
839
+ })}</b></div>`, hn.value = `<div style="text-align:left;font-size:${N.value.style.chart.tooltip.fontSize}px">${r}</div>`;
832
840
  }
833
- r === "keyboard" && Le(() => {
834
- pr(t.uid);
835
- }), fn.value = !0;
841
+ r === "keyboard" && ze(() => {
842
+ hr(t.uid);
843
+ }), mn.value = !0;
836
844
  }
837
- function hr(e, t) {
845
+ function _r(e, t) {
838
846
  N.value.events.datapointLeave && N.value.events.datapointLeave({
839
847
  datapoint: e,
840
848
  seriesIndex: t
841
- }), !(Dn.value === e.uid && kn.value === "keyboard") && (fn.value = !1, X.value = null, ur.value = null);
849
+ }), (kn.value !== e.uid || jn.value !== "keyboard") && (mn.value = !1, X.value = null, fr.value = null);
842
850
  }
843
- function gr(e, t, n) {
851
+ function vr(e, t, n) {
844
852
  N.value.events.datapointClick && N.value.events.datapointClick({
845
853
  datapoint: t,
846
854
  seriesIndex: n
@@ -854,9 +862,9 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
854
862
  quadrantSide: t.quadrantSide,
855
863
  sideName: N.value.style.chart.layout.labels.quadrantLabels[t.quadrantSide].text
856
864
  };
857
- dn("selectPlot", r);
865
+ pn("selectPlot", r);
858
866
  }
859
- function _r(e) {
867
+ function yr(e) {
860
868
  if (!e) return;
861
869
  let t = J.value.flatMap((t) => t.series.filter((t) => t.quadrantSide === e).map((e) => ({
862
870
  category: e.categoryName,
@@ -868,115 +876,115 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
868
876
  sideName: N.value.style.chart.layout.labels.quadrantLabels[e].text,
869
877
  items: [...t]
870
878
  };
871
- dn("selectSide", n);
879
+ pn("selectSide", n);
872
880
  }
873
881
  let Z = d(() => ({
874
882
  TL: {
875
883
  tl: {
876
- x: z.value.left + z.value.usableWidth / 4 - 20,
884
+ x: B.value.left + B.value.usableWidth / 4 - 20,
877
885
  y: 0,
878
886
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
879
887
  },
880
888
  tr: {
881
- x: z.value.left + z.value.usableWidth / 4,
889
+ x: B.value.left + B.value.usableWidth / 4,
882
890
  y: 0,
883
891
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
884
892
  },
885
893
  br: {
886
- x: z.value.left + z.value.usableWidth / 4,
894
+ x: B.value.left + B.value.usableWidth / 4,
887
895
  y: 20,
888
896
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
889
897
  },
890
898
  bl: {
891
- x: z.value.left + z.value.usableWidth / 4 - 20,
899
+ x: B.value.left + B.value.usableWidth / 4 - 20,
892
900
  y: 20,
893
901
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
894
902
  },
895
903
  crosshairs: {
896
- horizontal: `M ${z.value.left + z.value.usableWidth / 4 - 20},20 ${z.value.left + z.value.usableWidth / 4 + 20},20`,
897
- vertical: `M ${z.value.left + z.value.usableWidth / 4},0 ${z.value.left + z.value.usableWidth / 4},40`
904
+ horizontal: `M ${B.value.left + B.value.usableWidth / 4 - 20},20 ${B.value.left + B.value.usableWidth / 4 + 20},20`,
905
+ vertical: `M ${B.value.left + B.value.usableWidth / 4},0 ${B.value.left + B.value.usableWidth / 4},40`
898
906
  }
899
907
  },
900
908
  TR: {
901
909
  tl: {
902
- x: z.value.centerX + z.value.usableWidth / 4 - 20,
910
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
903
911
  y: 0,
904
912
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
905
913
  },
906
914
  tr: {
907
- x: z.value.centerX + z.value.usableWidth / 4,
915
+ x: B.value.centerX + B.value.usableWidth / 4,
908
916
  y: 0,
909
917
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
910
918
  },
911
919
  br: {
912
- x: z.value.centerX + z.value.usableWidth / 4,
920
+ x: B.value.centerX + B.value.usableWidth / 4,
913
921
  y: 20,
914
922
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
915
923
  },
916
924
  bl: {
917
- x: z.value.centerX + z.value.usableWidth / 4 - 20,
925
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
918
926
  y: 20,
919
927
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
920
928
  },
921
929
  crosshairs: {
922
- horizontal: `M ${z.value.centerX + z.value.usableWidth / 4 - 20},20 ${z.value.centerX + z.value.usableWidth / 4 + 20},20`,
923
- vertical: `M ${z.value.centerX + z.value.usableWidth / 4},0 ${z.value.centerX + z.value.usableWidth / 4},40`
930
+ horizontal: `M ${B.value.centerX + B.value.usableWidth / 4 - 20},20 ${B.value.centerX + B.value.usableWidth / 4 + 20},20`,
931
+ vertical: `M ${B.value.centerX + B.value.usableWidth / 4},0 ${B.value.centerX + B.value.usableWidth / 4},40`
924
932
  }
925
933
  },
926
934
  BR: {
927
935
  tl: {
928
- x: z.value.centerX + z.value.usableWidth / 4 - 20,
929
- y: z.value.centerY - 48,
936
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
937
+ y: B.value.centerY - 48,
930
938
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
931
939
  },
932
940
  tr: {
933
- x: z.value.centerX + z.value.usableWidth / 4,
934
- y: z.value.centerY - 48,
941
+ x: B.value.centerX + B.value.usableWidth / 4,
942
+ y: B.value.centerY - 48,
935
943
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
936
944
  },
937
945
  br: {
938
- x: z.value.centerX + z.value.usableWidth / 4,
939
- y: z.value.centerY - 28,
946
+ x: B.value.centerX + B.value.usableWidth / 4,
947
+ y: B.value.centerY - 28,
940
948
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
941
949
  },
942
950
  bl: {
943
- x: z.value.centerX + z.value.usableWidth / 4 - 20,
944
- y: z.value.centerY - 28,
951
+ x: B.value.centerX + B.value.usableWidth / 4 - 20,
952
+ y: B.value.centerY - 28,
945
953
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
946
954
  },
947
955
  crosshairs: {
948
- horizontal: `M ${z.value.centerX + z.value.usableWidth / 4 - 20},${z.value.centerY - 28} ${z.value.centerX + z.value.usableWidth / 4 + 20},${z.value.centerY - 28}`,
949
- vertical: `M ${z.value.centerX + z.value.usableWidth / 4},${z.value.centerY - 48} ${z.value.centerX + z.value.usableWidth / 4},${z.value.centerY - 8}`
956
+ 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}`,
957
+ vertical: `M ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.centerX + B.value.usableWidth / 4},${B.value.centerY - 8}`
950
958
  }
951
959
  },
952
960
  BL: {
953
961
  tl: {
954
- x: z.value.left + z.value.usableWidth / 4 - 20,
955
- y: z.value.centerY - 48,
962
+ x: B.value.left + B.value.usableWidth / 4 - 20,
963
+ y: B.value.centerY - 48,
956
964
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color
957
965
  },
958
966
  tr: {
959
- x: z.value.left + z.value.usableWidth / 4,
960
- y: z.value.centerY - 48,
967
+ x: B.value.left + B.value.usableWidth / 4,
968
+ y: B.value.centerY - 48,
961
969
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color
962
970
  },
963
971
  br: {
964
- x: z.value.left + z.value.usableWidth / 4,
965
- y: z.value.centerY - 28,
972
+ x: B.value.left + B.value.usableWidth / 4,
973
+ y: B.value.centerY - 28,
966
974
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color
967
975
  },
968
976
  bl: {
969
- x: z.value.left + z.value.usableWidth / 4 - 20,
970
- y: z.value.centerY - 28,
977
+ x: B.value.left + B.value.usableWidth / 4 - 20,
978
+ y: B.value.centerY - 28,
971
979
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color
972
980
  },
973
981
  crosshairs: {
974
- horizontal: `M ${z.value.left + z.value.usableWidth / 4 - 20},${z.value.centerY - 28} ${z.value.left + z.value.usableWidth / 4 + 20},${z.value.centerY - 28}`,
975
- vertical: `M ${z.value.left + z.value.usableWidth / 4},${z.value.centerY - 48} ${z.value.left + z.value.usableWidth / 4},${z.value.centerY - 8}`
982
+ 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}`,
983
+ vertical: `M ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 48} ${B.value.left + B.value.usableWidth / 4},${B.value.centerY - 8}`
976
984
  }
977
985
  }
978
986
  }));
979
- function vr() {
987
+ function br() {
980
988
  return J.value.map((e) => ({
981
989
  color: e.color,
982
990
  name: e.name,
@@ -990,39 +998,39 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
990
998
  }))
991
999
  }));
992
1000
  }
993
- function yr(e = null) {
994
- Le(() => {
995
- let t = [
1001
+ function xr(e = null) {
1002
+ ze(() => {
1003
+ let n = [
996
1004
  [N.value.style.chart.title.text],
997
1005
  [N.value.style.chart.title.subtitle.text],
998
1006
  [""]
999
- ], n = tr.value.head, r = tr.value.body, a = i(t.concat([n]).concat(r));
1000
- e ? e(a) : te({
1001
- csvContent: a,
1007
+ ], i = rr.value.head, a = rr.value.body, o = n.concat([i]).concat(a), s = r(o);
1008
+ e ? e(s) : t({
1009
+ csvContent: s,
1002
1010
  title: N.value.style.chart.title.text || "vue-ui-quadrant"
1003
1011
  });
1004
1012
  });
1005
1013
  }
1006
1014
  let Q = S(!1);
1007
- function br(e) {
1008
- Q.value = e, mn.value += 1;
1009
- }
1010
- function xr() {
1011
- L.value.showTable = !L.value.showTable;
1012
- }
1013
- function Sr() {
1014
- L.value.plotLabels.show = !L.value.plotLabels.show;
1015
+ function Sr(e) {
1016
+ Q.value = e, gn.value += 1;
1015
1017
  }
1016
1018
  function Cr() {
1017
- L.value.showTooltip = !L.value.showTooltip;
1019
+ R.value.showTable = !R.value.showTable;
1020
+ }
1021
+ function wr() {
1022
+ R.value.plotLabels.show = !R.value.plotLabels.show;
1018
1023
  }
1019
- let wr = S(!1);
1020
1024
  function Tr() {
1021
- wr.value = !wr.value;
1025
+ R.value.showTooltip = !R.value.showTooltip;
1026
+ }
1027
+ let Er = S(!1);
1028
+ function Dr() {
1029
+ Er.value = !Er.value;
1022
1030
  }
1023
- async function Er({ scale: e = 2 } = {}) {
1031
+ async function Or({ scale: e = 2 } = {}) {
1024
1032
  if (!j.value) return;
1025
- let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await ye({
1033
+ let { width: t, height: n } = j.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await xe({
1026
1034
  domElement: j.value,
1027
1035
  base64: !0,
1028
1036
  img: !0,
@@ -1037,10 +1045,10 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1037
1045
  aspectRatio: r
1038
1046
  };
1039
1047
  }
1040
- let Dr = d(() => {
1041
- let e = N.value.table.useDialog && !N.value.table.show, t = L.value.showTable;
1048
+ let kr = d(() => {
1049
+ let e = N.value.table.useDialog && !N.value.table.show, t = R.value.showTable;
1042
1050
  return {
1043
- component: e ? on : en,
1051
+ component: e ? cn : nn,
1044
1052
  title: `${N.value.style.chart.title.text}${N.value.style.chart.title.subtitle.text ? `: ${N.value.style.chart.title.subtitle.text}` : ""}`,
1045
1053
  props: e ? {
1046
1054
  backgroundColor: N.value.table.th.backgroundColor,
@@ -1068,128 +1076,128 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1068
1076
  }
1069
1077
  };
1070
1078
  });
1071
- Ue(() => L.value.showTable, (e) => {
1072
- N.value.table.show || (e && N.value.table.useDialog && Cn.value ? Cn.value.open() : "close" in Cn.value && Cn.value.close());
1079
+ Ge(() => R.value.showTable, (e) => {
1080
+ N.value.table.show || (e && N.value.table.useDialog && Tn.value ? Tn.value.open() : "close" in Tn.value && Tn.value.close());
1073
1081
  });
1074
- function Or() {
1075
- L.value.showTable = !1, wn.value && wn.value.setTableIconState(!1);
1082
+ function Ar() {
1083
+ R.value.showTable = !1, En.value && En.value.setTableIconState(!1);
1076
1084
  }
1077
- let kr = d(() => N.value.style.chart.backgroundColor), Ar = d(() => N.value.style.chart.legend), { exportSvg: jr, getSvg: Mr } = ge({
1085
+ let jr = d(() => N.value.style.chart.backgroundColor), Mr = d(() => N.value.style.chart.legend), Nr = d(() => N.value.style.chart.title), { exportSvg: Pr, getSvg: Fr } = ve({
1078
1086
  svg: F,
1079
- title: d(() => N.value.style.chart.title),
1080
- legend: Ar,
1087
+ title: Nr,
1088
+ legend: Mr,
1081
1089
  legendItems: Y,
1082
- backgroundColor: kr
1090
+ backgroundColor: jr
1083
1091
  });
1084
- async function Nr({ isCb: e }) {
1085
- En.value = !0, await Le();
1092
+ async function Ir({ isCb: e }) {
1093
+ On.value = !0, await ze();
1086
1094
  try {
1087
1095
  if (e) {
1088
- let { blob: e, url: t, text: n, dataUrl: r } = await Mr();
1096
+ let { blob: e, url: t, text: n, dataUrl: r } = await Fr();
1089
1097
  await Promise.resolve(N.value.userOptions.callbacks.svg({
1090
1098
  blob: e,
1091
1099
  url: t,
1092
1100
  text: n,
1093
1101
  dataUrl: r
1094
1102
  }));
1095
- } else await Promise.resolve(jr());
1103
+ } else await Promise.resolve(Pr());
1096
1104
  } finally {
1097
- En.value = !1;
1105
+ On.value = !1;
1098
1106
  }
1099
1107
  }
1100
- function Pr(e) {
1108
+ function Lr(e) {
1101
1109
  if (e?.stage === "start") {
1102
- Tn.value = !0;
1110
+ Dn.value = !0;
1103
1111
  return;
1104
1112
  }
1105
1113
  if (e?.stage === "end") {
1106
- Tn.value = !1;
1114
+ Dn.value = !1;
1107
1115
  return;
1108
1116
  }
1109
- Wn();
1117
+ Gn();
1110
1118
  }
1111
- async function Fr() {
1112
- if (dn("copyAlt", {
1119
+ async function Rr() {
1120
+ if (pn("copyAlt", {
1113
1121
  config: N.value,
1114
- dataset: Zn.value
1122
+ dataset: $n.value
1115
1123
  }), !N.value.userOptions.callbacks.altCopy) {
1116
1124
  console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
1117
1125
  return;
1118
1126
  }
1119
1127
  await Promise.resolve(N.value.userOptions.callbacks.altCopy({
1120
1128
  config: N.value,
1121
- dataset: Zn.value
1129
+ dataset: $n.value
1122
1130
  }));
1123
1131
  }
1124
- function Ir() {
1125
- M.value = null, Dn.value = null, An.value = !0;
1132
+ function zr() {
1133
+ M.value = null, kn.value = null, Mn.value = !0;
1126
1134
  }
1127
- function Lr() {
1128
- fr(), An.value = !1;
1135
+ function Br() {
1136
+ mr(), Mn.value = !1;
1129
1137
  }
1130
- function Rr(e) {
1131
- if (!F.value || wr.value || document.activeElement !== F.value || !$.value.length) return;
1138
+ function Vr(e) {
1139
+ if (!F.value || Er.value || document.activeElement !== F.value || !$.value.length) return;
1132
1140
  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";
1133
1141
  if (!t && !n && !r && !i) return;
1134
1142
  if (e.preventDefault(), e.stopPropagation(), i) {
1135
- fr();
1143
+ mr();
1136
1144
  return;
1137
1145
  }
1138
1146
  if (r) {
1139
1147
  if (M.value === null) return;
1140
1148
  let e = $.value[M.value];
1141
1149
  if (!e) return;
1142
- gr(e.category, e.plot, e.categoryIndex);
1150
+ vr(e.category, e.plot, e.categoryIndex);
1143
1151
  return;
1144
1152
  }
1145
- let a = M.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;
1146
- 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;
1147
- let ne = $.value[a];
1148
- ne && mr(ne.category, ne.plot, ne.categoryIndex, "keyboard", a);
1153
+ let a = M.value, o = X.value ? $.value.findIndex((e) => e.plot.uid === X.value) : null, s = a !== null && a >= 0 && a < $.value.length, ee = o !== null && o >= 0 && o < $.value.length;
1154
+ s ? (a += n ? 1 : -1, a < 0 && (a = $.value.length - 1), a >= $.value.length && (a = 0)) : ee ? (a = n ? o + 1 : o - 1, a >= $.value.length && (a = 0), a < 0 && (a = $.value.length - 1)) : a = n ? 0 : $.value.length - 1;
1155
+ let te = $.value[a];
1156
+ te && gr(te.category, te.plot, te.categoryIndex, "keyboard", a);
1149
1157
  }
1150
- let zr = d(() => ({
1151
- headers: nr.value?.colNames ?? [],
1152
- rows: nr.value?.a11yBody ?? []
1158
+ let Hr = d(() => ({
1159
+ headers: ir.value?.colNames ?? [],
1160
+ rows: ir.value?.a11yBody ?? []
1153
1161
  })), $ = d(() => J.value.flatMap((e, t) => e.series.map((n) => ({
1154
1162
  category: e,
1155
1163
  plot: n,
1156
1164
  categoryIndex: t
1157
1165
  }))));
1158
- return Se({
1159
- getData: vr,
1160
- getImage: Er,
1161
- generatePdf: Un,
1162
- generateCsv: yr,
1163
- generateImage: Wn,
1164
- generateSvg: Nr,
1165
- hideSeries: sr,
1166
- showSeries: or,
1167
- toggleTable: xr,
1168
- toggleLabels: Sr,
1169
- toggleTooltip: Cr,
1170
- toggleAnnotator: Tr,
1171
- toggleFullscreen: br,
1172
- copyAlt: Fr
1166
+ return we({
1167
+ getData: br,
1168
+ getImage: Or,
1169
+ generatePdf: Wn,
1170
+ generateCsv: xr,
1171
+ generateImage: Gn,
1172
+ generateSvg: Ir,
1173
+ hideSeries: lr,
1174
+ showSeries: cr,
1175
+ toggleTable: Cr,
1176
+ toggleLabels: wr,
1177
+ toggleTooltip: Tr,
1178
+ toggleAnnotator: Dr,
1179
+ toggleFullscreen: Sr,
1180
+ copyAlt: Rr
1173
1181
  }), (e, t) => (x(), m("div", {
1174
1182
  class: v(`vue-data-ui-component vue-ui-quadrant ${Q.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${N.value.useCssAnimation ? "" : "vue-ui-dna"}`),
1175
1183
  ref_key: "quadrantChart",
1176
1184
  ref: j,
1177
1185
  id: `vue-ui-quadrant_${k.value}`,
1178
1186
  style: b(`font-family:${N.value.style.fontFamily};width:100%; text-align:center;background:${N.value.style.chart.backgroundColor};${N.value.responsive ? "height: 100%" : ""}`),
1179
- onMouseenter: t[14] ||= () => E(Fn)(!0),
1187
+ onMouseenter: t[14] ||= () => E(Ln)(!0),
1180
1188
  onMouseleave: t[15] ||= () => {
1181
- E(Fn)(!1), An.value || fr();
1189
+ E(Ln)(!1), Mn.value || mr();
1182
1190
  }
1183
1191
  }, [
1184
1192
  h("div", {
1185
1193
  id: `chart-instructions-${k.value}`,
1186
1194
  class: "sr-only"
1187
- }, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Ke),
1188
- zr.value?.rows?.length ? (x(), f(De, {
1195
+ }, [h("p", null, T(N.value.a11y.translations.keyboardNavigation), 1)], 8, Je),
1196
+ Hr.value?.rows?.length ? (x(), f(ke, {
1189
1197
  key: 0,
1190
1198
  uid: k.value,
1191
- head: zr.value.headers,
1192
- body: zr.value.rows,
1199
+ head: Hr.value.headers,
1200
+ body: Hr.value.rows,
1193
1201
  notice: N.value.a11y.translations.tableAvailable,
1194
1202
  caption: N.value.a11y.translations.tableCaption
1195
1203
  }, null, 8, [
@@ -1199,14 +1207,14 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1199
1207
  "notice",
1200
1208
  "caption"
1201
1209
  ])) : p("", !0),
1202
- N.value.userOptions.buttons.annotator ? (x(), f(E(nn), {
1210
+ N.value.userOptions.buttons.annotator ? (x(), f(E(an), {
1203
1211
  key: 1,
1204
1212
  svgRef: E(F),
1205
1213
  backgroundColor: N.value.style.chart.backgroundColor,
1206
1214
  color: N.value.style.chart.color,
1207
- active: wr.value,
1215
+ active: Er.value,
1208
1216
  isCursorPointer: P.value,
1209
- onClose: Tr
1217
+ onClose: Dr
1210
1218
  }, {
1211
1219
  "annotator-action-close": D(() => [w(e.$slots, "annotator-action-close", {}, void 0, !0)]),
1212
1220
  "annotator-action-color": D(({ color: t }) => [w(e.$slots, "annotator-action-color", y(_({ color: t })), void 0, !0)]),
@@ -1222,20 +1230,20 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1222
1230
  "active",
1223
1231
  "isCursorPointer"
1224
1232
  ])) : p("", !0),
1225
- Gn.value ? (x(), m("div", {
1233
+ Kn.value ? (x(), m("div", {
1226
1234
  key: 2,
1227
1235
  ref_key: "noTitle",
1228
- ref: vn,
1236
+ ref: bn,
1229
1237
  class: "vue-data-ui-no-title-space",
1230
1238
  style: "height:36px; width: 100%;background:transparent"
1231
1239
  }, null, 512)) : p("", !0),
1232
1240
  N.value.style.chart.title.text ? (x(), m("div", {
1233
1241
  key: 3,
1234
1242
  ref_key: "chartTitle",
1235
- ref: hn,
1243
+ ref: _n,
1236
1244
  style: "width:100%;background:transparent;padding-bottom:12px"
1237
- }, [(x(), f(be, {
1238
- key: `table_${yn.value}`,
1245
+ }, [(x(), f(Se, {
1246
+ key: `table_${xn.value}`,
1239
1247
  config: {
1240
1248
  title: {
1241
1249
  cy: "quadrant-title",
@@ -1247,15 +1255,15 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1247
1255
  }
1248
1256
  }
1249
1257
  }, null, 8, ["config"]))], 512)) : p("", !0),
1250
- h("div", { id: `legend-top-${k.value}` }, null, 8, qe),
1251
- N.value.userOptions.show && un.value && (E(In) || E(Pn)) ? (x(), f(E(rn), {
1258
+ h("div", { id: `legend-top-${k.value}` }, null, 8, Ye),
1259
+ N.value.userOptions.show && fn.value && (E(Rn) || E(In)) ? (x(), f(E(on), {
1252
1260
  ref_key: "userOptionsRef",
1253
- ref: wn,
1254
- key: `user_options_${mn.value}`,
1261
+ ref: En,
1262
+ key: `user_options_${gn.value}`,
1255
1263
  backgroundColor: N.value.style.chart.backgroundColor,
1256
1264
  color: N.value.style.chart.color,
1257
- isImaging: E(Hn),
1258
- isPrinting: E(Vn),
1265
+ isImaging: E(Un),
1266
+ isPrinting: E(Hn),
1259
1267
  uid: k.value,
1260
1268
  hasTooltip: N.value.userOptions.buttons.tooltip && N.value.style.chart.tooltip.show,
1261
1269
  hasPdf: N.value.userOptions.buttons.pdf,
@@ -1267,28 +1275,28 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1267
1275
  hasFullscreen: N.value.userOptions.buttons.fullscreen,
1268
1276
  hasAltCopy: N.value.userOptions.buttons.altCopy,
1269
1277
  isFullscreen: Q.value,
1270
- isTooltip: L.value.showTooltip,
1278
+ isTooltip: R.value.showTooltip,
1271
1279
  titles: { ...N.value.userOptions.buttonTitles },
1272
1280
  chartElement: j.value,
1273
1281
  position: N.value.userOptions.position,
1274
1282
  hasAnnotator: N.value.userOptions.buttons.annotator,
1275
- isAnnotation: wr.value,
1283
+ isAnnotation: Er.value,
1276
1284
  callbacks: N.value.userOptions.callbacks,
1277
1285
  printScale: N.value.userOptions.print.scale,
1278
1286
  tableDialog: N.value.table.useDialog,
1279
1287
  isCursorPointer: P.value,
1280
- onToggleFullscreen: br,
1281
- onGeneratePdf: E(Un),
1282
- onGenerateCsv: yr,
1283
- onGenerateImage: Pr,
1284
- onGenerateSvg: Nr,
1285
- onToggleTable: xr,
1286
- onToggleLabels: Sr,
1287
- onToggleTooltip: Cr,
1288
- onToggleAnnotator: Tr,
1289
- onCopyAlt: Fr,
1290
- style: b({ visibility: E(In) ? E(Pn) ? "visible" : "hidden" : "visible" })
1291
- }, Ne({ _: 2 }, [
1288
+ onToggleFullscreen: Sr,
1289
+ onGeneratePdf: E(Wn),
1290
+ onGenerateCsv: xr,
1291
+ onGenerateImage: Lr,
1292
+ onGenerateSvg: Ir,
1293
+ onToggleTable: Cr,
1294
+ onToggleLabels: wr,
1295
+ onToggleTooltip: Tr,
1296
+ onToggleAnnotator: Dr,
1297
+ onCopyAlt: Rr,
1298
+ style: b({ visibility: E(Rn) ? E(In) ? "visible" : "hidden" : "visible" })
1299
+ }, Fe({ _: 2 }, [
1292
1300
  e.$slots.menuIcon ? {
1293
1301
  name: "menuIcon",
1294
1302
  fn: D(({ isOpen: t, color: n }) => [w(e.$slots, "menuIcon", y(_({
@@ -1364,7 +1372,7 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1364
1372
  key: "12"
1365
1373
  } : void 0
1366
1374
  ]), 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("."))) : p("", !0),
1367
- h("div", Je, [(x(), m("svg", {
1375
+ h("div", Xe, [(x(), m("svg", {
1368
1376
  ref_key: "svgRef",
1369
1377
  ref: F,
1370
1378
  xmlns: E(ce),
@@ -1373,24 +1381,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1373
1381
  "vue-data-ui-fullscreen--on": Q.value,
1374
1382
  "vue-data-ui-fulscreen--off": !Q.value
1375
1383
  }),
1376
- viewBox: `${B.value.startX} ${B.value.startY} ${B.value.width} ${B.value.height}`,
1384
+ viewBox: `${V.value.startX} ${V.value.startY} ${V.value.width} ${V.value.height}`,
1377
1385
  style: b(`max-width:100%;overflow:hidden;background:transparent;color:${N.value.style.chart.color}`),
1378
1386
  id: `svg_${k.value}`,
1379
1387
  tabindex: "0",
1380
- onFocus: Ir,
1381
- onBlur: Lr,
1382
- onKeydown: Rr
1388
+ onFocus: zr,
1389
+ onBlur: Br,
1390
+ onKeydown: Vr
1383
1391
  }, [
1384
- Fe(E(an)),
1392
+ Le(E(sn)),
1385
1393
  e.$slots["chart-background"] ? (x(), m("foreignObject", {
1386
1394
  key: 0,
1387
- x: B.value.startX,
1388
- y: B.value.startY,
1389
- width: B.value.width,
1390
- height: B.value.height,
1395
+ x: V.value.startX,
1396
+ y: V.value.startY,
1397
+ width: V.value.width,
1398
+ height: V.value.height,
1391
1399
  style: { pointerEvents: "none" }
1392
- }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Xe)) : p("", !0),
1393
- h("defs", null, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), f(Te, {
1400
+ }, [w(e.$slots, "chart-background", {}, void 0, !0)], 8, Qe)) : p("", !0),
1401
+ h("defs", null, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), f(De, {
1394
1402
  t: "radial",
1395
1403
  cx: "50%",
1396
1404
  cy: "50%",
@@ -1401,16 +1409,16 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1401
1409
  key: `quadrant_gradient_${k.value}_${t}`,
1402
1410
  stops: [[
1403
1411
  "0%",
1404
- E(de)(E(n)(e.color, .05), N.value.style.chart.layout.areas.opacity),
1412
+ E(n)(E(ne)(e.color, .05), N.value.style.chart.layout.areas.opacity),
1405
1413
  1
1406
1414
  ], [
1407
1415
  "100%",
1408
- E(de)(e.color, N.value.style.chart.layout.areas.opacity),
1416
+ E(n)(e.color, N.value.style.chart.layout.areas.opacity),
1409
1417
  1
1410
1418
  ]]
1411
1419
  }, null, 8, ["id", "stops"]))), 128))]),
1412
- N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", Ze, [(x(!0), m(u, null, C(Xn.value, (e) => (x(), m("rect", {
1413
- fill: N.value.style.chart.layout.grid.graduations.fill ? E(de)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
1420
+ N.value.style.chart.layout.grid.graduations.show ? (x(), m("g", $e, [(x(!0), m(u, null, C(Zn.value, (e) => (x(), m("rect", {
1421
+ fill: N.value.style.chart.layout.grid.graduations.fill ? E(n)(N.value.style.chart.layout.grid.graduations.color, e.opacity) : "none",
1414
1422
  x: e.x,
1415
1423
  y: e.y,
1416
1424
  height: e.height <= 0 ? .001 : e.height,
@@ -1418,213 +1426,213 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1418
1426
  "stroke-width": N.value.style.chart.layout.grid.graduations.strokeWidth,
1419
1427
  stroke: N.value.style.chart.layout.grid.graduations.stroke,
1420
1428
  rx: N.value.style.chart.layout.grid.graduations.roundingForce
1421
- }, null, 8, Qe))), 256))])) : p("", !0),
1429
+ }, null, 8, et))), 256))])) : p("", !0),
1422
1430
  h("line", {
1423
- x1: z.value.left,
1424
- y1: z.value.centerY,
1425
- x2: z.value.right,
1426
- y2: z.value.centerY,
1431
+ x1: B.value.left,
1432
+ y1: B.value.centerY,
1433
+ x2: B.value.right,
1434
+ y2: B.value.centerY,
1427
1435
  stroke: N.value.style.chart.layout.grid.stroke,
1428
1436
  "stroke-width": N.value.style.chart.layout.grid.strokeWidth
1429
- }, null, 8, $e),
1437
+ }, null, 8, tt),
1430
1438
  h("line", {
1431
- x1: z.value.centerX,
1432
- y1: z.value.top,
1433
- x2: z.value.centerX,
1434
- y2: z.value.bottom,
1439
+ x1: B.value.centerX,
1440
+ y1: B.value.top,
1441
+ x2: B.value.centerX,
1442
+ y2: B.value.bottom,
1435
1443
  stroke: N.value.style.chart.layout.grid.stroke,
1436
1444
  "stroke-width": N.value.style.chart.layout.grid.strokeWidth
1437
- }, null, 8, et),
1438
- N.value.style.chart.layout.grid.showArrows ? (x(), m("g", tt, [
1445
+ }, null, 8, nt),
1446
+ N.value.style.chart.layout.grid.showArrows ? (x(), m("g", rt, [
1439
1447
  h("polygon", {
1440
- points: `${z.value.right - 8},${z.value.centerY - 6} ${z.value.right},${z.value.centerY} ${z.value.right - 8},${z.value.centerY + 6}`,
1448
+ points: `${B.value.right - 8},${B.value.centerY - 6} ${B.value.right},${B.value.centerY} ${B.value.right - 8},${B.value.centerY + 6}`,
1441
1449
  fill: N.value.style.chart.layout.grid.stroke,
1442
1450
  stroke: "none"
1443
- }, null, 8, nt),
1451
+ }, null, 8, it),
1444
1452
  h("polygon", {
1445
- points: `${z.value.left + 8},${z.value.centerY - 6} ${z.value.left},${z.value.centerY} ${z.value.left + 8},${z.value.centerY + 6}`,
1453
+ points: `${B.value.left + 8},${B.value.centerY - 6} ${B.value.left},${B.value.centerY} ${B.value.left + 8},${B.value.centerY + 6}`,
1446
1454
  fill: N.value.style.chart.layout.grid.stroke,
1447
1455
  stroke: "none"
1448
- }, null, 8, rt),
1456
+ }, null, 8, at),
1449
1457
  h("polygon", {
1450
- points: `${z.value.centerX - 6},${z.value.top + 8} ${z.value.centerX},${z.value.top} ${z.value.centerX + 6},${z.value.top + 8}`,
1458
+ points: `${B.value.centerX - 6},${B.value.top + 8} ${B.value.centerX},${B.value.top} ${B.value.centerX + 6},${B.value.top + 8}`,
1451
1459
  fill: N.value.style.chart.layout.grid.stroke,
1452
1460
  stroke: "none"
1453
- }, null, 8, it),
1461
+ }, null, 8, ot),
1454
1462
  h("polygon", {
1455
- points: `${z.value.centerX - 6},${z.value.bottom - 8} ${z.value.centerX},${z.value.bottom} ${z.value.centerX + 6},${z.value.bottom - 8}`,
1463
+ points: `${B.value.centerX - 6},${B.value.bottom - 8} ${B.value.centerX},${B.value.bottom} ${B.value.centerX + 6},${B.value.bottom - 8}`,
1456
1464
  fill: N.value.style.chart.layout.grid.stroke,
1457
1465
  stroke: "none"
1458
- }, null, 8, at)
1466
+ }, null, 8, st)
1459
1467
  ])) : p("", !0),
1460
- N.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g", ot, [
1468
+ N.value.style.chart.layout.labels.quadrantLabels.show && !A.value ? (x(), m("g", ct, [
1461
1469
  N.value.style.chart.layout.labels.quadrantLabels.tl.text ? (x(), m("text", {
1462
1470
  key: 0,
1463
1471
  x: 0,
1464
- y: z.value.top - z.value.padding / 2,
1472
+ y: B.value.top - B.value.padding / 2,
1465
1473
  "text-anchor": "start",
1466
1474
  fill: N.value.style.chart.layout.labels.quadrantLabels.tl.color,
1467
1475
  "font-size": N.value.style.chart.layout.labels.quadrantLabels.tl.fontSize,
1468
1476
  style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tl.bold ? "bold" : ""}`),
1469
- onClick: t[0] ||= (e) => _r("tl")
1470
- }, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, st)) : p("", !0),
1477
+ onClick: t[0] ||= (e) => yr("tl")
1478
+ }, T(N.value.style.chart.layout.labels.quadrantLabels.tl.text), 13, lt)) : p("", !0),
1471
1479
  N.value.style.chart.layout.labels.quadrantLabels.tr.text ? (x(), m("text", {
1472
1480
  key: 1,
1473
- x: z.value.width,
1474
- y: z.value.top - z.value.padding / 2,
1481
+ x: B.value.width,
1482
+ y: B.value.top - B.value.padding / 2,
1475
1483
  "text-anchor": "end",
1476
1484
  fill: N.value.style.chart.layout.labels.quadrantLabels.tr.color,
1477
1485
  "font-size": N.value.style.chart.layout.labels.quadrantLabels.tr.fontSize,
1478
1486
  style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.tr.bold ? "bold" : ""}`),
1479
- onClick: t[1] ||= (e) => _r("tr")
1480
- }, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ct)) : p("", !0),
1487
+ onClick: t[1] ||= (e) => yr("tr")
1488
+ }, T(N.value.style.chart.layout.labels.quadrantLabels.tr.text), 13, ut)) : p("", !0),
1481
1489
  N.value.style.chart.layout.labels.quadrantLabels.br.text ? (x(), m("text", {
1482
1490
  key: 2,
1483
- x: z.value.width,
1484
- y: z.value.bottom + z.value.padding * .7,
1491
+ x: B.value.width,
1492
+ y: B.value.bottom + B.value.padding * .7,
1485
1493
  "text-anchor": "end",
1486
1494
  fill: N.value.style.chart.layout.labels.quadrantLabels.br.color,
1487
1495
  "font-size": N.value.style.chart.layout.labels.quadrantLabels.br.fontSize,
1488
1496
  style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.br.bold ? "bold" : ""}`),
1489
- onClick: t[2] ||= (e) => _r("br")
1490
- }, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13, lt)) : p("", !0),
1497
+ onClick: t[2] ||= (e) => yr("br")
1498
+ }, T(N.value.style.chart.layout.labels.quadrantLabels.br.text), 13, dt)) : p("", !0),
1491
1499
  N.value.style.chart.layout.labels.quadrantLabels.bl.text ? (x(), m("text", {
1492
1500
  key: 3,
1493
1501
  x: 0,
1494
- y: z.value.bottom + z.value.padding * .7,
1502
+ y: B.value.bottom + B.value.padding * .7,
1495
1503
  "text-anchor": "start",
1496
1504
  fill: N.value.style.chart.layout.labels.quadrantLabels.bl.color,
1497
1505
  "font-size": N.value.style.chart.layout.labels.quadrantLabels.bl.fontSize,
1498
1506
  style: b(`font-weight:${N.value.style.chart.layout.labels.quadrantLabels.bl.bold ? "bold" : ""}`),
1499
- onClick: t[3] ||= (e) => _r("bl")
1500
- }, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ut)) : p("", !0)
1507
+ onClick: t[3] ||= (e) => yr("bl")
1508
+ }, T(N.value.style.chart.layout.labels.quadrantLabels.bl.text), 13, ft)) : p("", !0)
1501
1509
  ])) : p("", !0),
1502
- N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", dt, [
1510
+ N.value.style.chart.layout.labels.axisLabels.show ? (x(), m("g", pt, [
1503
1511
  N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
1504
1512
  key: 0,
1505
- x: z.value.centerX,
1506
- y: z.value.top - z.value.padding / 6,
1513
+ x: B.value.centerX,
1514
+ y: B.value.top - B.value.padding / 6,
1507
1515
  "text-anchor": "middle",
1508
1516
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1509
1517
  fill: N.value.style.chart.layout.labels.axisLabels.color.positive
1510
- }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, G.value.y.max, E(s)({
1511
- v: G.value.y.max,
1518
+ }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.max, E(c)({
1519
+ v: K.value.y.max,
1512
1520
  r: N.value.style.chart.layout.labels.plotLabels.rounding
1513
- }))), 9, ft)) : p("", !0),
1521
+ }))), 9, mt)) : p("", !0),
1514
1522
  h("text", {
1515
- x: z.value.centerX,
1516
- y: z.value.top - z.value.padding / 2,
1523
+ x: B.value.centerX,
1524
+ y: B.value.top - B.value.padding / 2,
1517
1525
  "text-anchor": "middle",
1518
1526
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1519
1527
  fill: N.value.style.chart.layout.labels.axisLabels.color.positive
1520
- }, T(N.value.style.chart.layout.grid.yAxis.name), 9, pt),
1528
+ }, T(N.value.style.chart.layout.grid.yAxis.name), 9, ht),
1521
1529
  N.value.style.chart.layout.grid.yAxis.show ? (x(), m("text", {
1522
1530
  key: 1,
1523
- x: z.value.centerX,
1524
- y: z.value.bottom + z.value.padding * .35,
1531
+ x: B.value.centerX,
1532
+ y: B.value.bottom + B.value.padding * .35,
1525
1533
  "text-anchor": "middle",
1526
1534
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1527
1535
  fill: N.value.style.chart.layout.labels.axisLabels.color.negative
1528
- }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, G.value.y.min, E(s)({
1529
- v: G.value.y.min,
1536
+ }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.y.formatter, K.value.y.min, E(c)({
1537
+ v: K.value.y.min,
1530
1538
  r: N.value.style.chart.layout.labels.plotLabels.rounding
1531
- }))), 9, mt)) : p("", !0),
1539
+ }))), 9, gt)) : p("", !0),
1532
1540
  N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
1533
1541
  key: 2,
1534
1542
  id: `xLabelMin_${k.value}`,
1535
1543
  "text-anchor": "middle",
1536
1544
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1537
- transform: `translate(${z.value.padding - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${z.value.height / 2}), rotate(-90)`,
1545
+ transform: `translate(${B.value.padding - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(-90)`,
1538
1546
  fill: N.value.style.chart.layout.labels.axisLabels.color.negative
1539
- }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, G.value.x.min, E(s)({
1540
- v: G.value.x.min,
1547
+ }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.min, E(c)({
1548
+ v: K.value.x.min,
1541
1549
  r: N.value.style.chart.layout.labels.plotLabels.rounding
1542
- }))), 9, ht)) : p("", !0),
1550
+ }))), 9, _t)) : p("", !0),
1543
1551
  N.value.style.chart.layout.grid.xAxis.show ? (x(), m("text", {
1544
1552
  key: 3,
1545
1553
  id: `xLabelMax_${k.value}`,
1546
1554
  "text-anchor": "middle",
1547
1555
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1548
- transform: `translate(${z.value.width - z.value.padding + N.value.style.chart.layout.labels.axisLabels.fontSize}, ${z.value.height / 2}), rotate(90)`,
1556
+ transform: `translate(${B.value.width - B.value.padding + N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
1549
1557
  fill: N.value.style.chart.layout.labels.axisLabels.color.positive
1550
- }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, G.value.x.max, E(s)({
1551
- v: G.value.x.max,
1558
+ }, T(E(l)(N.value.style.chart.layout.labels.plotLabels.x.formatter, K.value.x.max, E(c)({
1559
+ v: K.value.x.max,
1552
1560
  r: N.value.style.chart.layout.labels.plotLabels.rounding
1553
- }))), 9, gt)) : p("", !0),
1561
+ }))), 9, vt)) : p("", !0),
1554
1562
  h("text", {
1555
1563
  id: `xLabelMaxName_${k.value}`,
1556
1564
  "text-anchor": "middle",
1557
1565
  "font-size": N.value.style.chart.layout.labels.axisLabels.fontSize,
1558
- transform: `translate(${z.value.width - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${z.value.height / 2}), rotate(90)`,
1566
+ transform: `translate(${B.value.width - N.value.style.chart.layout.labels.axisLabels.fontSize}, ${B.value.height / 2}), rotate(90)`,
1559
1567
  fill: N.value.style.chart.layout.labels.axisLabels.color.positive
1560
- }, T(N.value.style.chart.layout.grid.xAxis.name), 9, _t)
1568
+ }, T(N.value.style.chart.layout.grid.xAxis.name), 9, yt)
1561
1569
  ])) : p("", !0),
1562
- N.value.style.chart.layout.areas.show ? (x(), m("g", vt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
1570
+ N.value.style.chart.layout.areas.show ? (x(), m("g", bt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m("g", null, [e.series.length > 2 ? (x(), m("polygon", {
1563
1571
  key: 0,
1564
1572
  "data-cy-quadrant-area": "",
1565
- fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(de)(e.color, N.value.style.chart.layout.areas.opacity),
1566
- points: E(ie)(e)
1567
- }, null, 8, yt)) : p("", !0)]))), 256))])) : p("", !0),
1573
+ fill: N.value.style.chart.layout.areas.useGradient ? `url(#quadrant_gradient_${k.value}_${t})` : E(n)(e.color, N.value.style.chart.layout.areas.opacity),
1574
+ points: E(re)(e)
1575
+ }, null, 8, xt)) : p("", !0)]))), 256))])) : p("", !0),
1568
1576
  h("g", null, [
1569
1577
  h("rect", {
1570
- onClick: t[4] ||= (e) => W("TL"),
1571
- x: z.value.left,
1572
- y: z.value.top,
1573
- width: z.value.usableWidth / 2 <= 0 ? .001 : z.value.usableWidth / 2,
1574
- height: z.value.usableHeight / 2 <= 0 ? .001 : z.value.usableHeight / 2,
1578
+ onClick: t[4] ||= (e) => G("TL"),
1579
+ x: B.value.left,
1580
+ y: B.value.top,
1581
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1582
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1575
1583
  fill: "transparent",
1576
1584
  class: v({
1577
- "vue-data-ui-zoom-plus": !A.value && U.value,
1578
- "vue-data-ui-zoom-minus": A.value && U.value
1585
+ "vue-data-ui-zoom-plus": !A.value && W.value,
1586
+ "vue-data-ui-zoom-minus": A.value && W.value
1579
1587
  })
1580
- }, null, 10, bt),
1588
+ }, null, 10, St),
1581
1589
  h("rect", {
1582
- onClick: t[5] ||= (e) => W("TR"),
1583
- x: z.value.centerX,
1584
- y: z.value.top,
1585
- width: z.value.usableWidth / 2 <= 0 ? .001 : z.value.usableWidth / 2,
1586
- height: z.value.usableHeight / 2 <= 0 ? .001 : z.value.usableHeight / 2,
1590
+ onClick: t[5] ||= (e) => G("TR"),
1591
+ x: B.value.centerX,
1592
+ y: B.value.top,
1593
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1594
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1587
1595
  fill: "transparent",
1588
1596
  class: v({
1589
- "vue-data-ui-zoom-plus": !A.value && U.value,
1590
- "vue-data-ui-zoom-minus": A.value && U.value
1597
+ "vue-data-ui-zoom-plus": !A.value && W.value,
1598
+ "vue-data-ui-zoom-minus": A.value && W.value
1591
1599
  })
1592
- }, null, 10, xt),
1600
+ }, null, 10, Ct),
1593
1601
  h("rect", {
1594
- onClick: t[6] ||= (e) => W("BR"),
1595
- x: z.value.centerX,
1596
- y: z.value.centerY,
1597
- width: z.value.usableWidth / 2 <= 0 ? .001 : z.value.usableWidth / 2,
1598
- height: z.value.usableHeight / 2 <= 0 ? .001 : z.value.usableHeight / 2,
1602
+ onClick: t[6] ||= (e) => G("BR"),
1603
+ x: B.value.centerX,
1604
+ y: B.value.centerY,
1605
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1606
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1599
1607
  fill: "transparent",
1600
1608
  class: v({
1601
- "vue-data-ui-zoom-plus": !A.value && U.value,
1602
- "vue-data-ui-zoom-minus": A.value && U.value
1609
+ "vue-data-ui-zoom-plus": !A.value && W.value,
1610
+ "vue-data-ui-zoom-minus": A.value && W.value
1603
1611
  })
1604
- }, null, 10, St),
1612
+ }, null, 10, wt),
1605
1613
  h("rect", {
1606
- onClick: t[7] ||= (e) => W("BL"),
1607
- x: z.value.left,
1608
- y: z.value.centerY,
1609
- width: z.value.usableWidth / 2 <= 0 ? .001 : z.value.usableWidth / 2,
1610
- height: z.value.usableHeight / 2 <= 0 ? .001 : z.value.usableHeight / 2,
1614
+ onClick: t[7] ||= (e) => G("BL"),
1615
+ x: B.value.left,
1616
+ y: B.value.centerY,
1617
+ width: B.value.usableWidth / 2 <= 0 ? .001 : B.value.usableWidth / 2,
1618
+ height: B.value.usableHeight / 2 <= 0 ? .001 : B.value.usableHeight / 2,
1611
1619
  fill: "transparent",
1612
1620
  class: v({
1613
- "vue-data-ui-zoom-plus": !A.value && U.value,
1614
- "vue-data-ui-zoom-minus": A.value && U.value
1621
+ "vue-data-ui-zoom-plus": !A.value && W.value,
1622
+ "vue-data-ui-zoom-minus": A.value && W.value
1615
1623
  })
1616
- }, null, 10, Ct)
1624
+ }, null, 10, Tt)
1617
1625
  ]),
1618
- N.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [L.value.plotLabels.show ? (x(), m("g", At, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
1626
+ N.value.style.chart.layout.labels.plotLabels.showAsTag ? (x(), m(u, { key: 7 }, [R.value.plotLabels.show ? (x(), m("g", Mt, [(x(!0), m(u, null, C(J.value, (e, t) => (x(), m(u, null, [(x(!0), m(u, null, C(e.series, (n) => (x(), m("foreignObject", {
1619
1627
  style: { overflow: "visible" },
1620
1628
  height: "10",
1621
1629
  width: "100",
1622
1630
  x: n.x - 50,
1623
1631
  y: n.y - N.value.style.chart.layout.labels.plotLabels.fontSize,
1624
- onMouseover: (r) => mr(e, n, t),
1625
- onMouseleave: (e) => hr(n, t),
1626
- onClick: (r) => gr(e, n, t)
1627
- }, [h("div", { style: b(`color:${E(oe)(e.color)};margin: 0 auto; font-size:${N.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, jt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(J.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Mn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
1632
+ onMouseover: (r) => gr(e, n, t),
1633
+ onMouseleave: (e) => _r(n, t),
1634
+ onClick: (r) => vr(e, n, t)
1635
+ }, [h("div", { style: b(`color:${E(se)(e.color)};margin: 0 auto; font-size:${N.value.style.chart.layout.labels.plotLabels.fontSize}px; text-align:center;background:${e.color}; padding: 2px 4px; border-radius: 12px; height: fit-content;`) }, T(n.name), 5)], 40, Nt))), 256))], 64))), 256))])) : p("", !0)], 64)) : (x(), m(u, { key: 6 }, [(x(!0), m(u, null, C(J.value, (t, n) => (x(), m("g", null, [e.$slots.datapoint && !E(Pn) ? (x(!0), m(u, { key: 0 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [(x(), m("foreignObject", {
1628
1636
  x: r.x - 1,
1629
1637
  y: r.y - 1,
1630
1638
  width: "2",
@@ -1633,29 +1641,29 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1633
1641
  overflow: "visible",
1634
1642
  "pointer-events": "none"
1635
1643
  },
1636
- onMouseenter: (e) => mr(t, r, n),
1637
- onMouseleave: (e) => hr(r, n),
1638
- onClick: (e) => gr(t, r, n)
1639
- }, [w(e.$slots, "datapoint", Ie({ ref_for: !0 }, { datapoint: {
1644
+ onMouseenter: (e) => gr(t, r, n),
1645
+ onMouseleave: (e) => _r(r, n),
1646
+ onClick: (e) => vr(t, r, n)
1647
+ }, [w(e.$slots, "datapoint", Re({ ref_for: !0 }, { datapoint: {
1640
1648
  ...r,
1641
- onEnter: () => mr(t, r, n),
1642
- onLeave: () => hr(r, n),
1643
- onClick: () => gr(t, r, n),
1649
+ onEnter: () => gr(t, r, n),
1650
+ onLeave: () => _r(r, n),
1651
+ onClick: () => vr(t, r, n),
1644
1652
  isSelected: X.value && r.uid === X.value
1645
- } }), void 0, !0)], 40, wt)), h("circle", {
1653
+ } }), void 0, !0)], 40, Et)), h("circle", {
1646
1654
  "data-a11y-plot-id": r.uid,
1647
1655
  cx: r.x,
1648
1656
  cy: r.y,
1649
1657
  r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
1650
1658
  fill: "transparent",
1651
1659
  style: { "pointer-events": "none" }
1652
- }, null, 8, Tt)]))), 128)) : e.$slots.datapointSvg && !E(Mn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", Ie({ ref_for: !0 }, { datapoint: {
1660
+ }, null, 8, Dt)]))), 128)) : e.$slots.datapointSvg && !E(Pn) ? (x(!0), m(u, { key: 1 }, C(t.series, (r) => (x(), m("g", { key: r.uid }, [w(e.$slots, "datapointSvg", Re({ ref_for: !0 }, { datapoint: {
1653
1661
  ...r,
1654
- onEnter: () => mr(t, r, n),
1655
- onLeave: () => hr(r, n),
1656
- onClick: () => gr(t, r, n),
1662
+ onEnter: () => gr(t, r, n),
1663
+ onLeave: () => _r(r, n),
1664
+ onClick: () => vr(t, r, n),
1657
1665
  isSelected: X.value && r.uid === X.value
1658
- } }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Fe(xe, {
1666
+ } }), void 0, !0)]))), 128)) : (x(!0), m(u, { key: 2 }, C(t.series, (e, r) => (x(), m("g", { key: e.uid }, [Le(Ce, {
1659
1667
  color: t.color,
1660
1668
  isSelected: X.value && e.uid === X.value,
1661
1669
  plot: e,
@@ -1663,9 +1671,9 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1663
1671
  shape: t.shape,
1664
1672
  stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
1665
1673
  strokeWidth: N.value.style.chart.layout.plots.outlineWidth,
1666
- onMouseenter: (r) => mr(t, e, n, "pointer"),
1667
- onMouseleave: (t) => hr(e, n),
1668
- onClick: (r) => gr(t, e, n)
1674
+ onMouseenter: (r) => gr(t, e, n, "pointer"),
1675
+ onMouseleave: (t) => _r(e, n),
1676
+ onClick: (r) => vr(t, e, n)
1669
1677
  }, null, 8, [
1670
1678
  "color",
1671
1679
  "isSelected",
@@ -1685,165 +1693,165 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1685
1693
  r: Math.max(N.value.style.chart.layout.plots.radius / (A.value ? 1.5 : 1), 10),
1686
1694
  fill: "transparent",
1687
1695
  style: { "pointer-events": "none" }
1688
- }, null, 8, Et)]))), 128))]))), 256)), L.value.plotLabels.show ? (x(), m("g", Dt, [(x(!0), m(u, null, C(J.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
1696
+ }, null, 8, Ot)]))), 128))]))), 256)), R.value.plotLabels.show ? (x(), m("g", kt, [(x(!0), m(u, null, C(J.value, (e) => (x(), m("g", null, [(x(!0), m(u, null, C(e.series, (e) => (x(), m("g", null, [String(e.name).includes("\n") ? (x(), m("text", {
1689
1697
  key: 1,
1690
1698
  x: e.x,
1691
1699
  y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
1692
1700
  "text-anchor": "middle",
1693
1701
  "font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
1694
1702
  fill: N.value.style.chart.layout.labels.plotLabels.color,
1695
- innerHTML: E(ne)({
1703
+ innerHTML: E(i)({
1696
1704
  content: String(e.name),
1697
1705
  fontSize: N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
1698
1706
  fill: N.value.style.chart.layout.labels.plotLabels.color,
1699
1707
  x: e.x,
1700
1708
  y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius
1701
1709
  })
1702
- }, null, 8, kt)) : (x(), m("text", {
1710
+ }, null, 8, jt)) : (x(), m("text", {
1703
1711
  key: 0,
1704
1712
  x: e.x,
1705
1713
  y: e.y + N.value.style.chart.layout.labels.plotLabels.offsetY + N.value.style.chart.layout.plots.radius,
1706
1714
  "text-anchor": "middle",
1707
1715
  "font-size": N.value.style.chart.layout.labels.plotLabels.fontSize / (A.value ? 1.5 : 1),
1708
1716
  fill: N.value.style.chart.layout.labels.plotLabels.color
1709
- }, T(e.name), 9, Ot))]))), 256))]))), 256))])) : p("", !0)], 64)),
1710
- A.value ? (x(), m("g", Mt, [
1711
- V.value === "TL" ? (x(), m("polygon", {
1717
+ }, T(e.name), 9, At))]))), 256))]))), 256))])) : p("", !0)], 64)),
1718
+ A.value ? (x(), m("g", Pt, [
1719
+ H.value === "TL" ? (x(), m("polygon", {
1712
1720
  key: 0,
1713
- points: `${z.value.left - 1},${z.value.centerY} ${z.value.centerX},${z.value.centerY} ${z.value.centerX},${z.value.top - 1} ${z.value.right},${z.value.top - 1} ${z.value.right},${z.value.bottom} ${z.value.left - 1},${z.value.bottom} ${z.value.left - 1},${z.value.centerY}`,
1721
+ 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}`,
1714
1722
  fill: N.value.style.chart.backgroundColor,
1715
1723
  style: { opacity: "1" }
1716
- }, null, 8, Nt)) : p("", !0),
1717
- V.value === "TR" ? (x(), m("polygon", {
1724
+ }, null, 8, Ft)) : p("", !0),
1725
+ H.value === "TR" ? (x(), m("polygon", {
1718
1726
  key: 1,
1719
- points: `${z.value.left},${z.value.top - 1} ${z.value.centerX},${z.value.top - 1} ${z.value.centerX},${z.value.centerY} ${z.value.right + 1},${z.value.centerY} ${z.value.right + 1},${z.value.bottom} ${z.value.left},${z.value.bottom} ${z.value.left},${z.value.top - 1}`,
1727
+ 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}`,
1720
1728
  fill: N.value.style.chart.backgroundColor,
1721
1729
  style: { opacity: "1" }
1722
- }, null, 8, Pt)) : p("", !0),
1723
- V.value === "BR" ? (x(), m("polygon", {
1730
+ }, null, 8, It)) : p("", !0),
1731
+ H.value === "BR" ? (x(), m("polygon", {
1724
1732
  key: 2,
1725
- points: `${z.value.left},${z.value.top} ${z.value.right + 1},${z.value.top} ${z.value.right + 1},${z.value.centerY} ${z.value.centerX},${z.value.centerY} ${z.value.centerX},${z.value.bottom + 1} ${z.value.left},${z.value.bottom + 1} ${z.value.left},${z.value.top}`,
1733
+ 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}`,
1726
1734
  fill: N.value.style.chart.backgroundColor,
1727
1735
  style: { opacity: "1" }
1728
- }, null, 8, Ft)) : p("", !0),
1729
- V.value === "BL" ? (x(), m("polygon", {
1736
+ }, null, 8, Lt)) : p("", !0),
1737
+ H.value === "BL" ? (x(), m("polygon", {
1730
1738
  key: 3,
1731
- points: `${z.value.left - 1},${z.value.top} ${z.value.right},${z.value.top} ${z.value.right},${z.value.bottom + 1} ${z.value.centerX},${z.value.bottom + 1} ${z.value.centerX},${z.value.centerY} ${z.value.left - 1},${z.value.centerY} ${z.value.left - 1},${z.value.top}`,
1739
+ 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}`,
1732
1740
  fill: N.value.style.chart.backgroundColor,
1733
1741
  style: { opacity: "1" }
1734
- }, null, 8, It)) : p("", !0)
1742
+ }, null, 8, Rt)) : p("", !0)
1735
1743
  ])) : p("", !0),
1736
- V.value && !Jn.value ? (x(), m("g", Lt, [h("text", {
1737
- x: H.value.x,
1738
- y: H.value.y - H.value.fontSize / 1.5,
1739
- "font-size": H.value.fontSize / 1.5,
1740
- fill: H.value.fill,
1744
+ H.value && !Yn.value ? (x(), m("g", zt, [h("text", {
1745
+ x: U.value.x,
1746
+ y: U.value.y - U.value.fontSize / 1.5,
1747
+ "font-size": U.value.fontSize / 1.5,
1748
+ fill: U.value.fill,
1741
1749
  "text-anchor": "middle",
1742
- "font-weight": H.value.bold ? "bold" : "normal"
1743
- }, T(H.value.text), 9, Rt)])) : p("", !0),
1744
- A.value && V.value ? (x(), m("g", zt, [
1750
+ "font-weight": U.value.bold ? "bold" : "normal"
1751
+ }, T(U.value.text), 9, Bt)])) : p("", !0),
1752
+ A.value && H.value ? (x(), m("g", Vt, [
1745
1753
  h("rect", {
1746
- x: Z.value[V.value].tl.x,
1747
- y: Z.value[V.value].tl.y,
1754
+ x: Z.value[H.value].tl.x,
1755
+ y: Z.value[H.value].tl.y,
1748
1756
  height: "20",
1749
1757
  width: "20",
1750
- fill: Z.value[V.value].tl.fill,
1751
- style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${V.value === "TL" ? 1 : .2}`),
1752
- onClick: t[8] ||= (e) => W("TL"),
1758
+ fill: Z.value[H.value].tl.fill,
1759
+ style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TL" ? 1 : .2}`),
1760
+ onClick: t[8] ||= (e) => G("TL"),
1753
1761
  class: v({
1754
1762
  "vue-ui-quadrant-mini-map-cell": !0,
1755
- "vue-ui-quadrant-mini-map-cell-selectable": V.value !== "TL"
1763
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TL"
1756
1764
  })
1757
- }, null, 14, Bt),
1765
+ }, null, 14, Ht),
1758
1766
  h("rect", {
1759
- x: Z.value[V.value].tr.x,
1760
- y: Z.value[V.value].tr.y,
1767
+ x: Z.value[H.value].tr.x,
1768
+ y: Z.value[H.value].tr.y,
1761
1769
  height: "20",
1762
1770
  width: "20",
1763
- fill: Z.value[V.value].tr.fill,
1764
- style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${V.value === "TR" ? 1 : .2}`),
1765
- onClick: t[9] ||= (e) => W("TR"),
1771
+ fill: Z.value[H.value].tr.fill,
1772
+ style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "TR" ? 1 : .2}`),
1773
+ onClick: t[9] ||= (e) => G("TR"),
1766
1774
  class: v({
1767
1775
  "vue-ui-quadrant-mini-map-cell": !0,
1768
- "vue-ui-quadrant-mini-map-cell-selectable": V.value !== "TR"
1776
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "TR"
1769
1777
  })
1770
- }, null, 14, Vt),
1778
+ }, null, 14, Ut),
1771
1779
  h("rect", {
1772
- x: Z.value[V.value].br.x,
1773
- y: Z.value[V.value].br.y,
1780
+ x: Z.value[H.value].br.x,
1781
+ y: Z.value[H.value].br.y,
1774
1782
  height: "20",
1775
1783
  width: "20",
1776
- fill: Z.value[V.value].br.fill,
1777
- style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${V.value === "BR" ? 1 : .2}`),
1778
- onClick: t[10] ||= (e) => W("BR"),
1784
+ fill: Z.value[H.value].br.fill,
1785
+ style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BR" ? 1 : .2}`),
1786
+ onClick: t[10] ||= (e) => G("BR"),
1779
1787
  class: v({
1780
1788
  "vue-ui-quadrant-mini-map-cell": !0,
1781
- "vue-ui-quadrant-mini-map-cell-selectable": V.value !== "BR"
1789
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BR"
1782
1790
  })
1783
- }, null, 14, Ht),
1791
+ }, null, 14, Wt),
1784
1792
  h("rect", {
1785
- x: Z.value[V.value].bl.x,
1786
- y: Z.value[V.value].bl.y,
1793
+ x: Z.value[H.value].bl.x,
1794
+ y: Z.value[H.value].bl.y,
1787
1795
  height: "20",
1788
1796
  width: "20",
1789
- fill: Z.value[V.value].bl.fill,
1790
- style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${V.value === "BL" ? 1 : .2}`),
1791
- onClick: t[11] ||= (e) => W("BL"),
1797
+ fill: Z.value[H.value].bl.fill,
1798
+ style: b(`cursor: ${P.value ? "pointer" : "default"}; opacity: ${H.value === "BL" ? 1 : .2}`),
1799
+ onClick: t[11] ||= (e) => G("BL"),
1792
1800
  class: v({
1793
1801
  "vue-ui-quadrant-mini-map-cell": !0,
1794
- "vue-ui-quadrant-mini-map-cell-selectable": V.value !== "BL"
1802
+ "vue-ui-quadrant-mini-map-cell-selectable": H.value !== "BL"
1795
1803
  })
1796
- }, null, 14, Ut),
1804
+ }, null, 14, Gt),
1797
1805
  h("path", {
1798
1806
  class: "vue-ui-quadrant-minimap-crosshairs",
1799
1807
  stroke: N.value.style.chart.backgroundColor,
1800
1808
  "stroke-width": 1,
1801
- d: Z.value[V.value].crosshairs.horizontal
1802
- }, null, 8, Wt),
1809
+ d: Z.value[H.value].crosshairs.horizontal
1810
+ }, null, 8, Kt),
1803
1811
  h("path", {
1804
1812
  class: "vue-ui-quadrant-minimap-crosshairs",
1805
1813
  stroke: N.value.style.chart.backgroundColor,
1806
1814
  "stroke-width": 1,
1807
- d: Z.value[V.value].crosshairs.vertical
1808
- }, null, 8, Gt)
1815
+ d: Z.value[H.value].crosshairs.vertical
1816
+ }, null, 8, qt)
1809
1817
  ])) : p("", !0),
1810
1818
  w(e.$slots, "svg", { svg: {
1811
- ...z.value,
1812
- isPrintingImg: E(Vn) || E(Hn) || Tn.value,
1813
- isPrintingSvg: En.value
1819
+ ...B.value,
1820
+ isPrintingImg: E(Hn) || E(Un) || Dn.value,
1821
+ isPrintingSvg: On.value
1814
1822
  } }, void 0, !0)
1815
- ], 46, Ye)), e.$slots.hint ? (x(), m("div", Kt, [w(e.$slots, "hint", y(_({
1823
+ ], 46, Ze)), e.$slots.hint ? (x(), m("div", Jt, [w(e.$slots, "hint", y(_({
1816
1824
  hint: N.value.a11y.translations.keyboardNavigation,
1817
- isVisible: An.value
1825
+ isVisible: Mn.value
1818
1826
  })), void 0, !0)])) : p("", !0)]),
1819
- e.$slots.watermark ? (x(), m("div", qt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Vn) || E(Hn) || Tn.value || En.value })), void 0, !0)])) : p("", !0),
1820
- h("div", { id: `legend-bottom-${k.value}` }, null, 8, Jt),
1821
- Sn.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Me, {
1827
+ e.$slots.watermark ? (x(), m("div", Yt, [w(e.$slots, "watermark", y(_({ isPrinting: E(Hn) || E(Un) || Dn.value || On.value })), void 0, !0)])) : p("", !0),
1828
+ h("div", { id: `legend-bottom-${k.value}` }, null, 8, Xt),
1829
+ wn.value && (N.value.style.chart.legend.show || e.$slots.legend) ? (x(), f(Pe, {
1822
1830
  key: 6,
1823
1831
  to: N.value.style.chart.legend.position === "top" ? `#legend-top-${k.value}` : `#legend-bottom-${k.value}`
1824
1832
  }, [h("div", {
1825
1833
  ref_key: "chartLegend",
1826
- ref: gn
1827
- }, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(Ae, {
1828
- key: `legend_${xn.value}`,
1834
+ ref: vn
1835
+ }, [w(e.$slots, "legend", { legend: Y.value }, () => [N.value.style.chart.legend.show ? (x(), f(Me, {
1836
+ key: `legend_${Cn.value}`,
1829
1837
  legendSet: Y.value,
1830
- config: cr.value,
1838
+ config: ur.value,
1831
1839
  isCursorPointer: P.value,
1832
- onClickMarker: t[12] ||= ({ legend: e }) => ir(e.id)
1840
+ onClickMarker: t[12] ||= ({ legend: e }) => or(e.id)
1833
1841
  }, {
1834
- item: D(({ legend: e }) => [E(Mn) ? p("", !0) : (x(), m("div", {
1842
+ item: D(({ legend: e }) => [E(Pn) ? p("", !0) : (x(), m("div", {
1835
1843
  key: 0,
1836
- onClick: (t) => ir(e.id),
1837
- style: b(`opacity:${K.value.includes(e.id) ? .5 : 1}`)
1838
- }, T(e.name), 13, Yt))]),
1839
- legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(Mn) ? (x(), f(Ee, {
1844
+ onClick: (t) => or(e.id),
1845
+ style: b(`opacity:${q.value.includes(e.id) ? .5 : 1}`)
1846
+ }, T(e.name), 13, Zt))]),
1847
+ legendToggle: D(() => [Y.value.length > 2 && N.value.style.chart.legend.selectAllToggle.show && !E(Pn) ? (x(), f(Oe, {
1840
1848
  key: 0,
1841
1849
  backgroundColor: N.value.style.chart.legend.selectAllToggle.backgroundColor,
1842
1850
  color: N.value.style.chart.legend.selectAllToggle.color,
1843
1851
  fontSize: N.value.style.chart.legend.fontSize,
1844
- checked: K.value.length > 0,
1852
+ checked: q.value.length > 0,
1845
1853
  isCursorPointer: P.value,
1846
- onToggle: rr
1854
+ onToggle: ar
1847
1855
  }, null, 8, [
1848
1856
  "backgroundColor",
1849
1857
  "color",
@@ -1860,12 +1868,12 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1860
1868
  e.$slots.source ? (x(), m("div", {
1861
1869
  key: 7,
1862
1870
  ref_key: "source",
1863
- ref: _n,
1871
+ ref: yn,
1864
1872
  dir: "auto"
1865
1873
  }, [w(e.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1866
- Fe(E(Qt), {
1874
+ Le(E(en), {
1867
1875
  teleportTo: N.value.style.chart.tooltip.teleportTo,
1868
- show: L.value.showTooltip && fn.value,
1876
+ show: R.value.showTooltip && mn.value,
1869
1877
  backgroundColor: N.value.style.chart.tooltip.backgroundColor,
1870
1878
  color: N.value.style.chart.tooltip.color,
1871
1879
  borderRadius: N.value.style.chart.tooltip.borderRadius,
@@ -1877,26 +1885,26 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1877
1885
  offsetX: N.value.style.chart.tooltip.offsetX,
1878
1886
  offsetY: N.value.style.chart.tooltip.offsetY,
1879
1887
  parent: j.value,
1880
- content: pn.value,
1888
+ content: hn.value,
1881
1889
  isFullscreen: Q.value,
1882
1890
  isCustom: N.value.style.chart.tooltip.customFormat && typeof N.value.style.chart.tooltip.customFormat == "function",
1883
1891
  smooth: N.value.style.chart.tooltip.smooth,
1884
1892
  backdropFilter: N.value.style.chart.tooltip.backdropFilter,
1885
1893
  smoothForce: N.value.style.chart.tooltip.smoothForce,
1886
1894
  smoothSnapThreshold: N.value.style.chart.tooltip.smoothSnapThreshold,
1887
- isA11yMode: kn.value === "keyboard",
1888
- a11yPosition: On.value
1895
+ isA11yMode: jn.value === "keyboard",
1896
+ a11yPosition: An.value
1889
1897
  }, {
1890
- "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...dr.value })), void 0, !0)]),
1891
- tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...dr.value })), void 0, !0)]),
1892
- "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...dr.value })), void 0, !0)]),
1893
- default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg", Xt, [Fe(xe, {
1898
+ "tooltip-before": D(() => [w(e.$slots, "tooltip-before", y(_({ ...pr.value })), void 0, !0)]),
1899
+ tooltip: D(() => [w(e.$slots, "tooltip", y(_({ ...pr.value })), void 0, !0)]),
1900
+ "tooltip-after": D(() => [w(e.$slots, "tooltip-after", y(_({ ...pr.value })), void 0, !0)]),
1901
+ default: D(() => [N.value.style.chart.tooltip.showShape ? (x(), m("svg", Qt, [Le(Ce, {
1894
1902
  plot: {
1895
1903
  x: 10,
1896
1904
  y: 10
1897
1905
  },
1898
- shape: ur.value.shape,
1899
- color: ur.value.color,
1906
+ shape: fr.value.shape,
1907
+ color: fr.value.color,
1900
1908
  radius: 8,
1901
1909
  stroke: N.value.style.chart.layout.plots.outline ? N.value.style.chart.layout.plots.outlineColor : "none",
1902
1910
  "stroke-width": N.value.style.chart.layout.plots.outlineWidth
@@ -1931,24 +1939,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1931
1939
  "isA11yMode",
1932
1940
  "a11yPosition"
1933
1941
  ]),
1934
- un.value && N.value.userOptions.buttons.table ? (x(), f(Be(Dr.value.component), Ie({ key: 8 }, Dr.value.props, {
1942
+ fn.value && N.value.userOptions.buttons.table ? (x(), f(He(kr.value.component), Re({ key: 8 }, kr.value.props, {
1935
1943
  ref_key: "tableUnit",
1936
- ref: Cn,
1937
- onClose: Or
1938
- }), Ne({
1939
- content: D(() => [(x(), f(E(tn), {
1940
- key: `table_${bn.value}`,
1941
- colNames: nr.value.colNames,
1942
- head: nr.value.head,
1943
- body: nr.value.body,
1944
- config: nr.value.config,
1945
- title: N.value.table.useDialog ? "" : Dr.value.title,
1944
+ ref: Tn,
1945
+ onClose: Ar
1946
+ }), Fe({
1947
+ content: D(() => [(x(), f(E(rn), {
1948
+ key: `table_${Sn.value}`,
1949
+ colNames: ir.value.colNames,
1950
+ head: ir.value.head,
1951
+ body: ir.value.body,
1952
+ config: ir.value.config,
1953
+ title: N.value.table.useDialog ? "" : kr.value.title,
1946
1954
  withCloseButton: !N.value.table.useDialog,
1947
1955
  isCursorPointer: P.value,
1948
- onClose: Or
1956
+ onClose: Ar
1949
1957
  }, {
1950
- th: D(({ th: e }) => [Pe(T(e), 1)]),
1951
- td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, Zt)]),
1958
+ th: D(({ th: e }) => [Ie(T(e), 1)]),
1959
+ td: D(({ td: e }) => [h("div", { innerHTML: e.name || e }, null, 8, $t)]),
1952
1960
  _: 1
1953
1961
  }, 8, [
1954
1962
  "colNames",
@@ -1962,24 +1970,24 @@ var We = /* @__PURE__ */ e({ default: () => Qt }), Ge = ["id"], Ke = ["id"], qe
1962
1970
  _: 2
1963
1971
  }, [N.value.table.useDialog ? {
1964
1972
  name: "title",
1965
- fn: D(() => [Pe(T(Dr.value.title), 1)]),
1973
+ fn: D(() => [Ie(T(kr.value.title), 1)]),
1966
1974
  key: "0"
1967
1975
  } : void 0, N.value.table.useDialog ? {
1968
1976
  name: "actions",
1969
1977
  fn: D(() => [h("button", {
1970
1978
  tabindex: "0",
1971
1979
  class: "vue-ui-user-options-button",
1972
- onClick: t[13] ||= (e) => yr(N.value.userOptions.callbacks.csv),
1980
+ onClick: t[13] ||= (e) => xr(N.value.userOptions.callbacks.csv),
1973
1981
  style: b({ cursor: P.value ? "pointer" : "default" })
1974
- }, [Fe(E($t), {
1982
+ }, [Le(E(tn), {
1975
1983
  name: "fileCsv",
1976
- stroke: Dr.value.props.color
1984
+ stroke: kr.value.props.color
1977
1985
  }, null, 8, ["stroke"])], 4)]),
1978
1986
  key: "1"
1979
1987
  } : void 0]), 1040)) : p("", !0),
1980
- w(e.$slots, "skeleton", {}, () => [E(Mn) ? (x(), f(he, { key: 0 })) : p("", !0)], !0)
1981
- ], 46, Ge));
1988
+ w(e.$slots, "skeleton", {}, () => [E(Pn) ? (x(), f(_e, { key: 0 })) : p("", !0)], !0)
1989
+ ], 46, qe));
1982
1990
  }
1983
- }, [["__scopeId", "data-v-75d35f61"]]);
1991
+ }, [["__scopeId", "data-v-22db9b59"]]);
1984
1992
  //#endregion
1985
- export { We as n, Qt as t };
1993
+ export { Ke as n, en as t };