vue-data-ui 3.22.6 → 3.22.7

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 (191) hide show
  1. package/dist/{Arrow-Ds4xmpiQ.js → Arrow-DaGI9u-b.js} +1 -1
  2. package/dist/{BaseDraggableDialog-VbypEaAa.js → BaseDraggableDialog-1wwwdwV2.js} +2 -2
  3. package/dist/{BaseIcon-DcUvOfxf.js → BaseIcon-_-BX7be3.js} +1 -1
  4. package/dist/{BaseLegendToggle-DFwIY5bE.js → BaseLegendToggle-CHnlKalt.js} +1 -1
  5. package/dist/{BaseZoomControls-DwolSINF.js → BaseZoomControls-C9bdZSCj.js} +2 -2
  6. package/dist/{ColorPicker-UVDPcrjE.js → ColorPicker-TB3KhY3j.js} +2 -2
  7. package/dist/{DataTable-CXfvIulC.js → DataTable-CVF7DoZn.js} +2 -2
  8. package/dist/{Legend-D-635Kag.js → Legend-kAr7Vqqu.js} +2 -2
  9. package/dist/{NonSvgPenAndPaper-pR_1qp3s.js → NonSvgPenAndPaper-CEiv7_gM.js} +29 -29
  10. package/dist/{PackageVersion-Da7hl-34.js → PackageVersion-Dse0n05o.js} +1 -1
  11. package/dist/{PenAndPaper-Bk2-E7V4.js → PenAndPaper-gaV1QPpP.js} +18 -18
  12. package/dist/{Shape-BSetplwm.js → Shape-CiQIxyyT.js} +1 -1
  13. package/dist/{Slicer-ClIGOuoX.js → Slicer-6FOtg9py.js} +2 -2
  14. package/dist/{SlicerPreview-D1n9AW39.js → SlicerPreview-DUywypFu.js} +4 -4
  15. package/dist/{SparkTooltip-CjDAyolg.js → SparkTooltip-B-qsPj68.js} +1 -1
  16. package/dist/{Title-C-p0ilWB.js → Title-PiTKr6sp.js} +1 -1
  17. package/dist/{Tooltip-YabpoXo1.js → Tooltip-B8yYfISA.js} +1 -1
  18. package/dist/{UserOptions-BO4VFL8O.js → UserOptions-BL9VlHop.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-history-plot.js +1 -1
  46. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  47. package/dist/components/vue-ui-icon.js +1 -1
  48. package/dist/components/vue-ui-kpi.js +1 -1
  49. package/dist/components/vue-ui-mini-loader.js +1 -1
  50. package/dist/components/vue-ui-molecule.js +1 -1
  51. package/dist/components/vue-ui-mood-radar.js +1 -1
  52. package/dist/components/vue-ui-nested-donuts.js +1 -1
  53. package/dist/components/vue-ui-onion.js +1 -1
  54. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  55. package/dist/components/vue-ui-quadrant.js +1 -1
  56. package/dist/components/vue-ui-quick-chart.js +1 -1
  57. package/dist/components/vue-ui-radar.js +1 -1
  58. package/dist/components/vue-ui-rating.js +1 -1
  59. package/dist/components/vue-ui-relation-circle.js +1 -1
  60. package/dist/components/vue-ui-ridgeline.js +1 -1
  61. package/dist/components/vue-ui-rings.js +1 -1
  62. package/dist/components/vue-ui-scatter.js +1 -1
  63. package/dist/components/vue-ui-skeleton.js +1 -1
  64. package/dist/components/vue-ui-smiley.js +1 -1
  65. package/dist/components/vue-ui-spark-trend.js +1 -1
  66. package/dist/components/vue-ui-sparkbar.js +1 -1
  67. package/dist/components/vue-ui-sparkgauge.js +1 -1
  68. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  69. package/dist/components/vue-ui-sparkline.js +1 -1
  70. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  71. package/dist/components/vue-ui-stackbar.js +1 -1
  72. package/dist/components/vue-ui-stackline.js +1 -1
  73. package/dist/components/vue-ui-strip-plot.js +1 -1
  74. package/dist/components/vue-ui-table-heatmap.js +1 -1
  75. package/dist/components/vue-ui-table-sparkline.js +1 -1
  76. package/dist/components/vue-ui-table.js +1 -1
  77. package/dist/components/vue-ui-thermometer.js +1 -1
  78. package/dist/components/vue-ui-timer.js +1 -1
  79. package/dist/components/vue-ui-tiremarks.js +1 -1
  80. package/dist/components/vue-ui-treemap.js +1 -1
  81. package/dist/components/vue-ui-vertical-bar.js +1 -1
  82. package/dist/components/vue-ui-waffle.js +1 -1
  83. package/dist/components/vue-ui-wheel.js +1 -1
  84. package/dist/components/vue-ui-word-cloud.js +1 -1
  85. package/dist/components/vue-ui-world.js +1 -1
  86. package/dist/components/vue-ui-xy-canvas.js +1 -1
  87. package/dist/components/vue-ui-xy.js +1 -1
  88. package/dist/{dom-to-png-CVJfsfwL.js → dom-to-png-BZjYWNEg.js} +1 -1
  89. package/dist/exposedLib-Be0ifkti.js +19 -0
  90. package/dist/{img-B_y5qDdm.js → img-B_abIg0o.js} +1 -1
  91. package/dist/{labelUtils-CyVwqXSh.js → labelUtils-CTDRZdP1.js} +1 -1
  92. package/dist/{lib-DRBJCmHW.js → lib-EAmk-PgA.js} +14 -1
  93. package/dist/{package-DyQ_PQis.js → package-DeMimPej.js} +1 -1
  94. package/dist/{pdf-CG02qhAH.js → pdf-B6qrdEqB.js} +1 -1
  95. package/dist/{render-common-CUAlQvAQ.js → render-common-DMai0gHB.js} +2 -2
  96. package/dist/ssr/vue-ui-donut.js +1 -1
  97. package/dist/ssr/vue-ui-xy.js +1 -1
  98. package/dist/ssr.js +2 -2
  99. package/dist/style.css +1 -1
  100. package/dist/{useAutoSizeLabelsInsideViewbox-DPMOys9n.js → useAutoSizeLabelsInsideViewbox-CyOGrdD_.js} +1 -1
  101. package/dist/{useNestedProp-BEo2N1Db.js → useNestedProp-D8XqxgOU.js} +1 -1
  102. package/dist/{usePrinter-CRp5IW3v.js → usePrinter-DnGzpp6Q.js} +2 -2
  103. package/dist/utils.js +10 -10
  104. package/dist/{vue-data-ui-Bpu4kxlm.js → vue-data-ui-D6qVWloL.js} +68 -68
  105. package/dist/vue-data-ui.js +72 -72
  106. package/dist/vue-ui-3d-bar-CjNuWXoA.js +1757 -0
  107. package/dist/{vue-ui-accordion-CfMrbDoq.js → vue-ui-accordion-Dzz8XhX3.js} +3 -3
  108. package/dist/{vue-ui-age-pyramid-BF5ZuuyI.js → vue-ui-age-pyramid-CC7Dxli-.js} +21 -21
  109. package/dist/{vue-ui-annotator-CG6rhFpy.js → vue-ui-annotator-DXZumSP8.js} +67 -67
  110. package/dist/{vue-ui-bullet-C_oBS1cr.js → vue-ui-bullet-Dde6FhbR.js} +17 -17
  111. package/dist/{vue-ui-bump-BZB1Na8h.js → vue-ui-bump-C5pni1JV.js} +243 -243
  112. package/dist/{vue-ui-candlestick-8d_1xO8X.js → vue-ui-candlestick-Ctw65O4_.js} +449 -446
  113. package/dist/{vue-ui-carousel-table-BfZNcwmY.js → vue-ui-carousel-table-BEUvhUH0.js} +42 -42
  114. package/dist/vue-ui-chestnut-C3IbAdkQ.js +2010 -0
  115. package/dist/vue-ui-chord-5eCWG4br.js +1391 -0
  116. package/dist/{vue-ui-circle-pack-BLh8HnGK.js → vue-ui-circle-pack-Cq4lkmee.js} +31 -31
  117. package/dist/{vue-ui-cursor-DVsEm_4l.js → vue-ui-cursor-DLJcFwRZ.js} +3 -3
  118. package/dist/{vue-ui-dag-Cfi0b9qm.js → vue-ui-dag-DemsIecS.js} +23 -23
  119. package/dist/{vue-ui-dashboard-F_NZ1xoQ.js → vue-ui-dashboard-DWHD_wNN.js} +69 -69
  120. package/dist/{vue-ui-digits-BfP1kbj3.js → vue-ui-digits-sIKc85vS.js} +3 -3
  121. package/dist/{vue-ui-donut-BwAyvV3-.js → vue-ui-donut-CLheJPcO.js} +414 -414
  122. package/dist/{vue-ui-donut-DlVRnVr_.js → vue-ui-donut-Dp6GW0dw.js} +85 -85
  123. package/dist/{vue-ui-donut-evolution-D1k4u6cA.js → vue-ui-donut-evolution-zmRPpJLj.js} +419 -419
  124. package/dist/vue-ui-dumbbell-bSbgHd0U.js +1530 -0
  125. package/dist/{vue-ui-flow-D_7Idmmw.js → vue-ui-flow-q_M7O1BK.js} +83 -83
  126. package/dist/vue-ui-funnel-BEZUEuuh.js +777 -0
  127. package/dist/{vue-ui-galaxy-Bjxbg5_B.js → vue-ui-galaxy-DCCWmIyH.js} +250 -250
  128. package/dist/{vue-ui-gauge-Dt0H7DgC.js → vue-ui-gauge-B1ljgfE1.js} +216 -216
  129. package/dist/{vue-ui-geo-89DEQb5l.js → vue-ui-geo-CM59rpnj.js} +17 -17
  130. package/dist/{vue-ui-gizmo-CQyLK18v.js → vue-ui-gizmo-D2RL6IVp.js} +62 -62
  131. package/dist/{vue-ui-heatmap-o6MvoxBK.js → vue-ui-heatmap-BX6PQxML.js} +245 -245
  132. package/dist/vue-ui-history-plot-DaHAeQph.js +1715 -0
  133. package/dist/{vue-ui-horizontal-bar-CwB4sc6M.js → vue-ui-horizontal-bar-CTW6l4n3.js} +274 -274
  134. package/dist/{vue-ui-kpi-4C-j92D-.js → vue-ui-kpi-DLbP7lJR.js} +3 -3
  135. package/dist/{vue-ui-mini-loader-Bj4Wv-i8.js → vue-ui-mini-loader-DPHzHsM7.js} +2 -2
  136. package/dist/vue-ui-molecule-aD0SMTiX.js +925 -0
  137. package/dist/{vue-ui-mood-radar-B5W35Fvp.js → vue-ui-mood-radar-CCWaPr0P.js} +29 -29
  138. package/dist/{vue-ui-nested-donuts-wfesrzle.js → vue-ui-nested-donuts--BCPWkl7.js} +104 -104
  139. package/dist/{vue-ui-onion-B8-psLbF.js → vue-ui-onion-s4iMCGAP.js} +39 -39
  140. package/dist/vue-ui-parallel-coordinate-plot-CfgvpyoC.js +1416 -0
  141. package/dist/vue-ui-quadrant-T_UmRAAy.js +1978 -0
  142. package/dist/vue-ui-quick-chart-D1OWBgQJ.js +2469 -0
  143. package/dist/{vue-ui-radar-5fQ5AAWD.js → vue-ui-radar-CHjeGOMC.js} +78 -78
  144. package/dist/{vue-ui-rating-CKWHDKOT.js → vue-ui-rating-Bek8Tgr-.js} +33 -33
  145. package/dist/vue-ui-relation-circle-DRZGQ_UX.js +924 -0
  146. package/dist/{vue-ui-ridgeline-DVbYznRz.js → vue-ui-ridgeline-DIODGiu8.js} +101 -101
  147. package/dist/vue-ui-rings-CcdUSXGG.js +1246 -0
  148. package/dist/vue-ui-scatter-CixnqLoi.js +2413 -0
  149. package/dist/{vue-ui-skeleton-BkxB6Dik.js → vue-ui-skeleton-Fmue6DAG.js} +3 -3
  150. package/dist/{vue-ui-smiley-C4g0iaF7.js → vue-ui-smiley-BVMI5vUy.js} +9 -9
  151. package/dist/{vue-ui-spark-trend-0FELlq4x.js → vue-ui-spark-trend-DfZeLiWA.js} +98 -98
  152. package/dist/{vue-ui-sparkbar-D-i_VLO6.js → vue-ui-sparkbar-Cl1e49sw.js} +87 -87
  153. package/dist/{vue-ui-sparkgauge-CWw6w_ng.js → vue-ui-sparkgauge-DDNNBIdf.js} +48 -48
  154. package/dist/{vue-ui-sparkhistogram-DuGpkfma.js → vue-ui-sparkhistogram-ny_liYa6.js} +104 -104
  155. package/dist/{vue-ui-sparkline-Bi06lHQd.js → vue-ui-sparkline-BNxdO-Bx.js} +268 -268
  156. package/dist/vue-ui-sparkstackbar-BfF5-Wg2.js +662 -0
  157. package/dist/vue-ui-stackbar-B-2Me3d-.js +2332 -0
  158. package/dist/{vue-ui-stackline-C0NHBUaE.js → vue-ui-stackline-CdvVPQUM.js} +697 -694
  159. package/dist/{vue-ui-strip-plot-_6LL45i9.js → vue-ui-strip-plot-CRXPXA5V.js} +368 -368
  160. package/dist/{vue-ui-table-DBlZswRi.js → vue-ui-table-Dr1dK3d_.js} +25 -25
  161. package/dist/{vue-ui-table-heatmap-3xYIDKcP.js → vue-ui-table-heatmap-D-Qrm3oX.js} +5 -5
  162. package/dist/{vue-ui-table-sparkline-BH5PzEnJ.js → vue-ui-table-sparkline-C31Q32My.js} +201 -201
  163. package/dist/{vue-ui-thermometer-BxMzAqoT.js → vue-ui-thermometer-BUrtIfuo.js} +119 -119
  164. package/dist/{vue-ui-timer-ONSitYDm.js → vue-ui-timer-B5bkNNHS.js} +29 -29
  165. package/dist/{vue-ui-tiremarks-DWXM-9nR.js → vue-ui-tiremarks-Bn8b-ZSz.js} +14 -14
  166. package/dist/vue-ui-treemap-LMWiicop.js +1713 -0
  167. package/dist/{vue-ui-waffle-afa8HSxz.js → vue-ui-waffle-B_L3gkky.js} +306 -306
  168. package/dist/{vue-ui-wheel-DRP7X8S2.js → vue-ui-wheel-CeVwXtEX.js} +36 -36
  169. package/dist/{vue-ui-word-cloud-AKpMO97a.js → vue-ui-word-cloud-D81-qJLw.js} +37 -37
  170. package/dist/{vue-ui-world-CqS-HhZl.js → vue-ui-world-B7npRmTa.js} +399 -399
  171. package/dist/{vue-ui-xy-Bmd11BxR.js → vue-ui-xy-C2p9H2IX.js} +1438 -1436
  172. package/dist/{vue-ui-xy-DJ8YKPgs.js → vue-ui-xy-OhwS0kcZ.js} +218 -218
  173. package/dist/{vue-ui-xy-canvas-DO_PDGKf.js → vue-ui-xy-canvas-DLKDdH35.js} +420 -417
  174. package/package.json +1 -1
  175. package/dist/exposedLib-CjwriUaG.js +0 -19
  176. package/dist/vue-ui-3d-bar-BAH0jNtT.js +0 -1757
  177. package/dist/vue-ui-chestnut-Cx8T3NEl.js +0 -2010
  178. package/dist/vue-ui-chord-B-sauvLo.js +0 -1391
  179. package/dist/vue-ui-dumbbell-DgmvPpK2.js +0 -1530
  180. package/dist/vue-ui-funnel-BYCFV5TD.js +0 -777
  181. package/dist/vue-ui-history-plot-B7zuCfdg.js +0 -1715
  182. package/dist/vue-ui-molecule-BDrRmwmm.js +0 -925
  183. package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +0 -1416
  184. package/dist/vue-ui-quadrant-BzyGOJR2.js +0 -1978
  185. package/dist/vue-ui-quick-chart-so_8PzvS.js +0 -2469
  186. package/dist/vue-ui-relation-circle-Bd_ONHCz.js +0 -924
  187. package/dist/vue-ui-rings-c-yLWFHr.js +0 -1246
  188. package/dist/vue-ui-scatter-QhmE7n1H.js +0 -2413
  189. package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +0 -662
  190. package/dist/vue-ui-stackbar-DDvuDGQ_.js +0 -2329
  191. package/dist/vue-ui-treemap-B03c4RIy.js +0 -1713
@@ -1,31 +1,31 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { At as t, Dt as n, Ht as r, It as i, Pt as a, Q as o, S as s, St as c, W as l, Wt as u, X as ee, _t as te, a as ne, at as re, b as ie, h as ae, i as oe, mt as se, q as ce, w as le, wt as ue } from "./lib-DRBJCmHW.js";
3
- import { n as de, r as fe, t as pe } from "./useTimeLabels-BmBRv27Y.js";
4
- import { t as me } from "./useConfig-DYM3f6EI.js";
5
- import { t as he } from "./usePrinter-CRp5IW3v.js";
6
- import { n as ge, t as _e } from "./BaseScanner-DZvpgOjM.js";
7
- import { t as ve } from "./useNestedProp-BEo2N1Db.js";
8
- import { t as ye } from "./useThemeCheck-C43Tcqmk.js";
9
- import { t as be } from "./img-B_y5qDdm.js";
10
- import { n as xe } from "./Title-C-p0ilWB.js";
11
- import { t as Se } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
- import { a as Ce, c as we, i as d, n as Te, o as Ee, r as De, s as f, t as Oe } from "./canvas-lib-BOP_HS11.js";
13
- import { t as ke } from "./useResponsive-BfnK0KxU.js";
14
- import { t as Ae } from "./BaseIcon-DcUvOfxf.js";
15
- import { t as je } from "./SlicerPreview-D1n9AW39.js";
16
- import { t as Me } from "./vue-ui-accordion-CfMrbDoq.js";
17
- import { t as Ne } from "./BaseLegendToggle-DFwIY5bE.js";
18
- import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Ie } from "./Legend-D-635Kag.js";
21
- import { t as Le } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
- import { Teleport as Re, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as ze, createElementVNode as g, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as _, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as v, normalizeStyle as qe, onBeforeUnmount as Je, onMounted as Ye, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as S, useSlots as et, watch as C, watchEffect as tt, withCtx as w } from "vue";
2
+ import { Ct as t, Ft as n, Gt as r, Lt as i, Ot as a, Q as o, S as s, Tt as c, Ut as l, W as u, X as ee, a as te, at as ne, b as re, ct as ie, h as ae, ht as oe, i as se, jt as ce, q as le, vt as ue, w as de } from "./lib-EAmk-PgA.js";
3
+ import { n as fe, r as pe, t as me } from "./useTimeLabels-BmBRv27Y.js";
4
+ import { t as he } from "./useConfig-DYM3f6EI.js";
5
+ import { t as ge } from "./usePrinter-DnGzpp6Q.js";
6
+ import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
+ import { t as ye } from "./useNestedProp-D8XqxgOU.js";
8
+ import { t as be } from "./useThemeCheck-C43Tcqmk.js";
9
+ import { t as xe } from "./img-B_abIg0o.js";
10
+ import { n as Se } from "./Title-PiTKr6sp.js";
11
+ import { t as Ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
12
+ import { a as we, c as Te, i as d, n as Ee, o as De, r as Oe, s as f, t as ke } from "./canvas-lib-BOP_HS11.js";
13
+ import { t as Ae } from "./useResponsive-BfnK0KxU.js";
14
+ import { t as je } from "./BaseIcon-_-BX7be3.js";
15
+ import { t as Me } from "./SlicerPreview-DUywypFu.js";
16
+ import { t as Ne } from "./vue-ui-accordion-Dzz8XhX3.js";
17
+ import { t as Pe } from "./BaseLegendToggle-CHnlKalt.js";
18
+ import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as Le } from "./Legend-kAr7Vqqu.js";
21
+ import { t as Re } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
+ import { Teleport as ze, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as Be, createElementVNode as g, createSlots as Ve, createTextVNode as He, createVNode as Ue, defineAsyncComponent as We, guardReactiveProps as _, mergeProps as Ge, nextTick as Ke, normalizeClass as qe, normalizeProps as v, normalizeStyle as Je, onBeforeUnmount as Ye, onMounted as Xe, openBlock as y, ref as b, renderSlot as x, resolveDynamicComponent as Ze, shallowRef as Qe, toDisplayString as $e, toRefs as et, unref as S, useSlots as tt, watch as C, watchEffect as nt, withCtx as w } from "vue";
23
23
  //#region src/components/vue-ui-xy-canvas.vue
24
- var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at = {
24
+ var rt = /* @__PURE__ */ e({ default: () => mt }), it = ["id"], at = ["id"], ot = {
25
25
  class: "sr-only",
26
26
  "aria-live": "polite",
27
27
  "aria-atomic": "true"
28
- }, ot = ["id"], st = ["aria-label", "aria-describedby"], ct = {
28
+ }, st = ["id"], ct = ["aria-label", "aria-describedby"], lt = {
29
29
  key: 0,
30
30
  style: {
31
31
  position: "absolute",
@@ -35,10 +35,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
35
35
  },
36
36
  "data-dom-to-png-ignore": "",
37
37
  "aria-hidden": "true"
38
- }, lt = ["id"], ut = ["onClick"], dt = {
38
+ }, ut = ["id"], dt = ["onClick"], ft = {
39
39
  key: 4,
40
40
  class: "vue-data-ui-watermark"
41
- }, ft = ["innerHTML"], pt = /*#__PURE__*/ Se({
41
+ }, pt = ["innerHTML"], mt = /*#__PURE__*/ Ce({
42
42
  __name: "vue-ui-xy-canvas",
43
43
  props: {
44
44
  dataset: {
@@ -63,25 +63,25 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
63
63
  "selectX",
64
64
  "copyAlt"
65
65
  ],
66
- setup(e, { expose: Se, emit: nt }) {
67
- let pt = Ue(() => import("./Tooltip-YabpoXo1.js")), mt = Ue(() => import("./DataTable-CXfvIulC.js")), ht = Ue(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), gt = Ue(() => import("./NonSvgPenAndPaper-pR_1qp3s.js")), _t = Ue(() => import("./BaseDraggableDialog-VbypEaAa.js").then((e) => e.n)), { vue_ui_xy_canvas: vt } = me(), { isThemeValid: yt, warnInvalidTheme: bt } = ye(), T = e, E = b(l()), D = b(null), xt = b(null), O = b(null), k = b(1), A = b(1), St = b(!1), j = b(null), Ct = b(""), wt = b(null), M = b([]), Tt = b(1), N = b(!0), P = b(!0), Et = b(null), Dt = b(0), Ot = b(!1), kt = b(null), At = b(null), F = b(null), jt = b(null), Mt = b(0), Nt = b(0), Pt = b(0), I = b(null), Ft = b(!1), It = b(null), Lt = b(null), Rt = b(!1), zt = b(!1), Bt = b(!1), L = b(null), Vt = b(!1), Ht = b(!1), Ut = b(!1), R = b(null), Wt = b({
66
+ setup(e, { expose: Ce, emit: rt }) {
67
+ let mt = We(() => import("./Tooltip-B8yYfISA.js")), ht = We(() => import("./DataTable-CVF7DoZn.js")), gt = We(() => import("./UserOptions-BL9VlHop.js").then((e) => e.n)), _t = We(() => import("./NonSvgPenAndPaper-CEiv7_gM.js")), vt = We(() => import("./BaseDraggableDialog-1wwwdwV2.js").then((e) => e.n)), { vue_ui_xy_canvas: yt } = he(), { isThemeValid: bt, warnInvalidTheme: xt } = be(), T = e, E = b(u()), D = b(null), St = b(null), O = b(null), k = b(1), A = b(1), Ct = b(!1), j = b(null), wt = b(""), Tt = b(null), M = b([]), Et = b(1), N = b(!0), P = b(!0), Dt = b(null), Ot = b(0), kt = b(!1), At = b(null), jt = b(null), F = b(null), Mt = b(null), Nt = b(0), Pt = b(0), Ft = b(0), I = b(null), It = b(!1), Lt = b(null), Rt = b(null), zt = b(!1), Bt = b(!1), Vt = b(!1), L = b(null), Ht = b(!1), Ut = b(!1), Wt = b(!1), R = b(null), Gt = b({
68
68
  x: 0,
69
69
  y: 0
70
- }), z = p(() => Array.isArray($t.value) && $t.value.length > 0), Gt = nt, Kt = et();
71
- Ye(() => {
72
- Kt["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
70
+ }), z = p(() => Array.isArray(en.value) && en.value.length > 0), Kt = rt, qt = tt();
71
+ Xe(() => {
72
+ qt["chart-background"] && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
73
73
  });
74
- let B = b(on()), qt = p(() => {
74
+ let B = b(sn()), Jt = p(() => {
75
75
  let e = B.value.style.chart.title.text || "XY chart", t = J.value.end - J.value.start;
76
76
  return `${e}. ${q.value.filter((e) => !M.value.includes(e.absoluteIndex)).length} series. ${t} visible data points.`;
77
- }), Jt = p(() => {
77
+ }), Yt = p(() => {
78
78
  if (R.value === null) return "";
79
79
  let e = R.value + J.value.start;
80
- return `${B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[R.value] ? B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[R.value]?.text : Yn.value[R.value]?.text : Z.value[e]?.text ?? `Point ${e + 1}`}. ${q.value.filter((e) => !M.value.includes(e.absoluteIndex)).map((e) => {
80
+ return `${B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[R.value] ? B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[R.value]?.text : Xn.value[R.value]?.text : Z.value[e]?.text ?? `Point ${e + 1}`}. ${q.value.filter((e) => !M.value.includes(e.absoluteIndex)).map((e) => {
81
81
  let t = e.series[R.value], n = t?.value ?? t ?? null;
82
82
  return `${e.name}: ${n}`;
83
83
  }).join(". ")}.`;
84
- }), Yt = p(() => B.value.userOptions.useCursorPointer), Xt = p(() => !!B.value.debug), Zt = p(() => u({
84
+ }), Xt = p(() => B.value.userOptions.useCursorPointer), Zt = p(() => !!B.value.debug), Qt = p(() => r({
85
85
  defaultConfig: {
86
86
  userOptions: { show: !1 },
87
87
  table: { show: !1 },
@@ -115,10 +115,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
115
115
  } }
116
116
  },
117
117
  userConfig: B.value.skeletonConfig ?? {}
118
- })), { loading: Qt, FINAL_DATASET: $t } = ge({
119
- ...$e(T),
118
+ })), { loading: $t, FINAL_DATASET: en } = _e({
119
+ ...et(T),
120
120
  FINAL_CONFIG: B,
121
- prepareConfig: on,
121
+ prepareConfig: sn,
122
122
  skeletonDataset: T.config?.skeletonDataset ?? [{
123
123
  name: "",
124
124
  series: [
@@ -157,52 +157,52 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
157
157
  type: "bar",
158
158
  color: "#AAAAAA"
159
159
  }],
160
- skeletonConfig: u({
160
+ skeletonConfig: r({
161
161
  defaultConfig: B.value,
162
- userConfig: Zt.value
162
+ userConfig: Qt.value
163
163
  })
164
- }), { userOptionsVisible: en, setUserOptionsVisibility: tn, keepUserOptionState: nn } = Pe({ config: B.value }), { svgRef: V } = Fe({ config: B.value.style.chart.title });
165
- function rn() {
166
- tn(!0);
167
- }
164
+ }), { userOptionsVisible: tn, setUserOptionsVisibility: nn, keepUserOptionState: rn } = Fe({ config: B.value }), { svgRef: V } = Ie({ config: B.value.style.chart.title });
168
165
  function an() {
169
- tn(!1), Gt("selectX", {
166
+ nn(!0);
167
+ }
168
+ function on() {
169
+ nn(!1), Kt("selectX", {
170
170
  dataset: null,
171
171
  index: null,
172
172
  indexLabel: null
173
173
  }), j.value = null;
174
174
  }
175
- function on() {
176
- let e = ve({
175
+ function sn() {
176
+ let e = ye({
177
177
  userConfig: T.config,
178
- defaultConfig: vt
179
- }), n = {}, i = e.theme;
180
- if (i) if (!yt.value(e)) bt(e), n = e;
178
+ defaultConfig: yt
179
+ }), t = {}, n = e.theme;
180
+ if (n) if (!bt.value(e)) xt(e), t = e;
181
181
  else {
182
- let a = ve({
183
- userConfig: Le[i] || T.config,
182
+ let r = ye({
183
+ userConfig: Re[n] || T.config,
184
184
  defaultConfig: e
185
185
  });
186
- n = {
187
- ...ve({
186
+ t = {
187
+ ...ye({
188
188
  userConfig: T.config,
189
- defaultConfig: a
189
+ defaultConfig: r
190
190
  }),
191
- customPalette: e.customPalette.length ? e.customPalette : r[i] || t
191
+ customPalette: e.customPalette.length ? e.customPalette : l[n] || ce
192
192
  };
193
193
  }
194
- else n = e;
195
- return T.config && se(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), n.style.chart.grid.x.timeLabels = ve({
196
- defaultConfig: n.style.chart.grid.x.timeLabels,
194
+ else t = e;
195
+ return T.config && oe(T.config, "style.chart.grid.y.timeLabels") && (console.warn("VueUiXyCanvas: you are using the deprecated config.style.chart.grid.y.timeLabels. It is recommended to move this configuration to config.style.chart.grid.x.timeLabels."), t.style.chart.grid.x.timeLabels = ye({
196
+ defaultConfig: t.style.chart.grid.x.timeLabels,
197
197
  userConfig: T.config.style.chart.grid.y.timeLabels
198
- })), n;
198
+ })), t;
199
199
  }
200
200
  C(() => T.config, (e) => {
201
- Qt.value || (B.value = on()), en.value = !B.value.userOptions.showOnChartHover, xr(), Mt.value += 1, Nt.value += 1, Pt.value += 1, H.value.showTable = B.value.table.show, H.value.showDataLabels = B.value.style.chart.dataLabels.show, H.value.stacked = B.value.style.chart.stacked, H.value.showTooltip = B.value.style.chart.tooltip.show;
201
+ $t.value || (B.value = sn()), tn.value = !B.value.userOptions.showOnChartHover, Sr(), Nt.value += 1, Pt.value += 1, Ft.value += 1, H.value.showTable = B.value.table.show, H.value.showDataLabels = B.value.style.chart.dataLabels.show, H.value.stacked = B.value.style.chart.stacked, H.value.showTooltip = B.value.style.chart.tooltip.show;
202
202
  }, { deep: !0 }), C(() => T.dataset, async (e) => {
203
- !Array.isArray(e) || e.length === 0 || (await Ge(), V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, P.value = !0, await kn(), Rn(), Mt.value += 1, Nt.value += 1, Pt.value += 1);
203
+ !Array.isArray(e) || e.length === 0 || (await Ke(), V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, P.value = !0, await An(), zn(), Nt.value += 1, Pt.value += 1, Ft.value += 1);
204
204
  }, { deep: !0 });
205
- let sn = b(B.value.style.chart.aspectRatio), { isPrinting: cn, isImaging: ln, generatePdf: un, generateImage: dn } = he({
205
+ let cn = b(B.value.style.chart.aspectRatio), { isPrinting: ln, isImaging: un, generatePdf: dn, generateImage: fn } = ge({
206
206
  elementId: `xy_canvas_${E.value}`,
207
207
  fileName: B.value.style.chart.title.text || "vue-ui-xy-canvas",
208
208
  options: B.value.userOptions.print
@@ -212,15 +212,15 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
212
212
  stacked: B.value.style.chart.stacked,
213
213
  showTooltip: B.value.style.chart.tooltip.show
214
214
  });
215
- function fn(e) {
216
- Ot.value = e, Dt.value += 1;
215
+ function pn(e) {
216
+ kt.value = e, Ot.value += 1;
217
217
  }
218
- let pn = p(() => s(B.value.customPalette)), mn = p(() => M.value.length === K.value.length), U = p(() => K.value ? Math.max(...K.value.filter((e, t) => mn.value ? !0 : !M.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
219
- function hn(e) {
218
+ let mn = p(() => s(B.value.customPalette)), hn = p(() => M.value.length === K.value.length), U = p(() => K.value ? Math.max(...K.value.filter((e, t) => hn.value ? !0 : !M.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
219
+ function gn(e) {
220
220
  L.value = e, Q();
221
221
  }
222
- let gn = b(0), _n = b(0);
223
- function vn() {
222
+ let _n = b(0), vn = b(0);
223
+ function yn() {
224
224
  if (!O.value || !B.value.style.chart.grid.x.timeLabels.show) return 0;
225
225
  let e = Z.value || [], t = J.value.start ?? 0, n = J.value.end ?? 0;
226
226
  if (!Math.max(0, n - t)) return 0;
@@ -235,21 +235,21 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
235
235
  let o = (B.value.style.chart.grid.x.timeLabels.rotation || 0) * Math.PI / 180, s = r, c = Math.abs(Math.sin(o)) * a + Math.abs(Math.cos(o)) * s, l = B.value.style.chart.grid.x.timeLabels.offsetY || 1, u = k.value / l;
236
236
  return Math.max(0, u + c + 4);
237
237
  }
238
- function yn() {
239
- gn.value = vn();
240
- }
241
238
  function bn() {
242
- _n.value && cancelAnimationFrame(_n.value), _n.value = requestAnimationFrame(() => {
239
+ _n.value = yn();
240
+ }
241
+ function xn() {
242
+ vn.value && cancelAnimationFrame(vn.value), vn.value = requestAnimationFrame(() => {
243
243
  requestAnimationFrame(() => {
244
- yn();
244
+ bn();
245
245
  });
246
246
  });
247
247
  }
248
- Je(() => {
249
- _n.value && cancelAnimationFrame(_n.value);
248
+ Ye(() => {
249
+ vn.value && cancelAnimationFrame(vn.value);
250
250
  });
251
251
  let W = p(() => {
252
- let e = k.value - k.value * (B.value.style.chart.paddingProportions.left + B.value.style.chart.paddingProportions.right), t = A.value * B.value.style.chart.paddingProportions.top, n = A.value * B.value.style.chart.paddingProportions.bottom, r = gn.value, i = A.value - n - r, a = A.value - (t + n) - r;
252
+ let e = k.value - k.value * (B.value.style.chart.paddingProportions.left + B.value.style.chart.paddingProportions.right), t = A.value * B.value.style.chart.paddingProportions.top, n = A.value * B.value.style.chart.paddingProportions.bottom, r = _n.value, i = A.value - n - r, a = A.value - (t + n) - r;
253
253
  return {
254
254
  canvasWidth: k.value,
255
255
  canvasHeight: A.value,
@@ -262,13 +262,13 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
262
262
  slot: e / (J.value.end - J.value.start)
263
263
  };
264
264
  });
265
- function xn(e, t) {
265
+ function Sn(e, t) {
266
266
  return e / t;
267
267
  }
268
- function Sn({ hasAutoScale: e, series: t, min: n, max: r, scale: i, yOffset: a, individualHeight: o, stackIndex: s = null }) {
268
+ function Cn({ hasAutoScale: e, series: t, min: n, max: r, scale: i, yOffset: a, individualHeight: o, stackIndex: s = null }) {
269
269
  return t.map((t, n) => {
270
- let r = i.min < 0 ? Math.abs(i.min) : 0, c = xn(t + r, r + i.max), l, u;
271
- e && (l = i.min, u = xn(t - l, i.max - l));
270
+ let r = i.min < 0 ? Math.abs(i.min) : 0, c = Sn(t + r, r + i.max), l, u;
271
+ e && (l = i.min, u = Sn(t - l, i.max - l));
272
272
  let ee = 0;
273
273
  return ee = s === null ? W.value.bottom - W.value.height * (e ? u : c) : W.value.bottom - a - o * (e ? u : c), {
274
274
  x: W.value.left + W.value.slot * n + W.value.slot / 2,
@@ -291,13 +291,13 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
291
291
  })),
292
292
  zero: i
293
293
  };
294
- }), Cn = p(() => q.value.map((e) => `
294
+ }), wn = p(() => q.value.map((e) => `
295
295
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
296
296
  <svg viewBox="0 0 10 10" height="12" width="12">
297
297
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
298
298
  </svg>
299
299
  <span>${e.name ? e.name + ": " : ""}</span>
300
- <span>${oe(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", ce({
300
+ <span>${se(B.value.style.chart.dataLabels.formatter, e.series[j.value] ?? "-", le({
301
301
  p: e.prefix || "",
302
302
  v: e.series[j.value] ?? "-",
303
303
  s: e.suffix || "",
@@ -307,28 +307,28 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
307
307
  seriesIndex: j.value
308
308
  })}</span>
309
309
  </div>
310
- `)), wn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => $t.value.map((e, n) => ({
310
+ `)), Tn = p(() => B.value.style.chart.line.cutNullValues), K = p(() => en.value.map((e, r) => ({
311
311
  ...e,
312
- series: c({
313
- data: a(e.series, [], wn.value),
312
+ series: t({
313
+ data: n(e.series, [], Tn.value),
314
314
  threshold: B.value.downsample.threshold
315
315
  }),
316
- absoluteIndex: n,
317
- color: ie(e.color || pn.value[n] || t[n] || t[n % t.length])
318
- }))), Tn = p(() => {
316
+ absoluteIndex: r,
317
+ color: re(e.color || mn.value[r] || ce[r] || ce[r % ce.length])
318
+ }))), En = p(() => {
319
319
  if (!B.value.style.chart.zoom.minimap.show) return [];
320
320
  let e = K.value.filter((e) => !M.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
321
321
  for (let r = 0; r < t; r += 1) n.push(e.map((e) => e.series[r] || 0).reduce((e, t) => (e || 0) + (t || 0), 0));
322
322
  let r = Math.min(...n);
323
323
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
324
- }), En = p(() => B.value.style.chart.zoom.minimap.show ? K.value.map((e) => ({
324
+ }), Dn = p(() => B.value.style.chart.zoom.minimap.show ? K.value.map((e) => ({
325
325
  ...e,
326
326
  isVisible: !M.value.includes(e.absoluteIndex)
327
327
  })) : []);
328
328
  C(U, (e) => {
329
- e && kn();
329
+ e && An();
330
330
  });
331
- let q = p(() => ne(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
331
+ let q = p(() => te(K.value.filter((e, t) => !M.value.includes(e.absoluteIndex))).map((e, t) => ({
332
332
  ...e,
333
333
  series: e.series.slice(J.value.start, J.value.end)
334
334
  })).map((e, t) => {
@@ -346,7 +346,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
346
346
  y: W.value.bottom - s - l * (t / (o.ticks.length - 1)),
347
347
  x: W.value.left - 8,
348
348
  value: e
349
- })), ne = Sn({
349
+ })), ne = Cn({
350
350
  hasAutoScale: H.value.stacked && e.autoScaling,
351
351
  series: e.series,
352
352
  min: H.value.stacked ? n : G.value.min,
@@ -374,72 +374,72 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
374
374
  }), Y = b({
375
375
  start: 0,
376
376
  end: U.value
377
- }), Dn = b(null);
378
- function On() {
377
+ }), On = b(null);
378
+ function kn() {
379
379
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
380
380
  }
381
- Je(() => {
382
- Dn.value && cancelAnimationFrame(Dn.value);
381
+ Ye(() => {
382
+ On.value && cancelAnimationFrame(On.value);
383
383
  });
384
- async function kn() {
385
- Mn(), await Ge(), Dn.value && cancelAnimationFrame(Dn.value), Dn.value = requestAnimationFrame(async () => {
386
- await On(), Mn();
384
+ async function An() {
385
+ Nn(), await Ke(), On.value && cancelAnimationFrame(On.value), On.value = requestAnimationFrame(async () => {
386
+ await kn(), Nn();
387
387
  });
388
388
  }
389
- let An = p(() => B.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
390
- function jn(e, t) {
389
+ let jn = p(() => B.value.style.chart.zoom.preview.enable && (Y.value.start !== J.value.start || Y.value.end !== J.value.end));
390
+ function Mn(e, t) {
391
391
  Y.value[e] = t;
392
392
  }
393
- async function Mn() {
394
- if (!Rt.value) {
395
- Rt.value = !0;
393
+ async function Nn() {
394
+ if (!zt.value) {
395
+ zt.value = !0;
396
396
  try {
397
- let { startIndex: e, endIndex: t } = B.value.style.chart.zoom, n = Math.max(...K.value.map((e) => e.series.length)), r = e ?? 0, i = t == null ? n : Math.min(Fn(t + 1), n);
398
- Bt.value = !0, J.value.start = r, J.value.end = i, Y.value.start = r, Y.value.end = i, In(), zt.value = !0, await Ge(), F.value && (F.value.setStartValue(J.value.start), F.value.setEndValue(J.value.end));
397
+ let { startIndex: e, endIndex: t } = B.value.style.chart.zoom, n = Math.max(...K.value.map((e) => e.series.length)), r = e ?? 0, i = t == null ? n : Math.min(In(t + 1), n);
398
+ Vt.value = !0, J.value.start = r, J.value.end = i, Y.value.start = r, Y.value.end = i, Ln(), Bt.value = !0, await Ke(), F.value && (F.value.setStartValue(J.value.start), F.value.setEndValue(J.value.end));
399
399
  } finally {
400
400
  queueMicrotask(() => {
401
- Bt.value = !1;
402
- }), Rt.value = !1;
401
+ Vt.value = !1;
402
+ }), zt.value = !1;
403
403
  }
404
404
  }
405
405
  }
406
- function Nn(e) {
407
- Rt.value || Bt.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, In());
408
- }
409
406
  function Pn(e) {
410
- if (Rt.value || Bt.value) return;
411
- let t = Fn(e);
412
- t !== J.value.end && (J.value.end = t, Y.value.end = t, In());
407
+ zt.value || Vt.value || e !== J.value.start && (J.value.start = e, Y.value.start = e, Ln());
413
408
  }
414
409
  function Fn(e) {
410
+ if (zt.value || Vt.value) return;
411
+ let t = In(e);
412
+ t !== J.value.end && (J.value.end = t, Y.value.end = t, Ln());
413
+ }
414
+ function In(e) {
415
415
  let t = U.value;
416
416
  return e > t ? t : e < 0 || e < J.value.start ? B.value.style.chart.zoom.startIndex === null ? 1 : B.value.style.chart.zoom.startIndex + 1 : e;
417
417
  }
418
- function In() {
418
+ function Ln() {
419
419
  let e = Math.max(1, Math.max(...K.value.map((e) => e.series.length))), t = Math.max(0, Math.min(J.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(J.value.end ?? e, e));
420
420
  (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), J.value = {
421
421
  start: t,
422
422
  end: n
423
423
  }, Y.value.start = t, Y.value.end = n, F.value && (F.value.setStartValue(t), F.value.setEndValue(n));
424
424
  }
425
- let Ln = p(() => q.value.filter((e) => [
425
+ let Rn = p(() => q.value.filter((e) => [
426
426
  "line",
427
427
  "plot",
428
428
  void 0
429
429
  ].includes(e.type))), X = p(() => q.value.filter((e) => e.type === "bar"));
430
- function Rn() {
431
- if (!V.value || !xt.value) return;
432
- let e = xt.value.offsetWidth, t = xt.value.offsetHeight;
433
- V.value.width = e * Tt.value * 2, V.value.height = t * Tt.value * 2, k.value = e * Tt.value * 2, A.value = t * Tt.value * 2, O.value?.scale(Tt.value, Tt.value), Q();
430
+ function zn() {
431
+ if (!V.value || !St.value) return;
432
+ let e = St.value.offsetWidth, t = St.value.offsetHeight;
433
+ V.value.width = e * Et.value * 2, V.value.height = t * Et.value * 2, k.value = e * Et.value * 2, A.value = t * Et.value * 2, O.value?.scale(Et.value, Et.value), Q();
434
434
  }
435
435
  C(z, async (e) => {
436
436
  if (!e) {
437
- Et.value = null, St.value = !1, j.value = null, I.value = null;
437
+ Dt.value = null, Ct.value = !1, j.value = null, I.value = null;
438
438
  return;
439
439
  }
440
- await Ge(), V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, P.value = !0, await kn(), Rn(), Q();
440
+ await Ke(), V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), N.value = !0, P.value = !0, await An(), zn(), Q();
441
441
  });
442
- function zn() {
442
+ function Bn() {
443
443
  if (O.value && (O.value.clearRect(0, 0, 1e4, 1e4), O.value.fillStyle = B.value.style.chart.backgroundColor, O.value.fillRect(0, 0, W.value.canvasWidth, W.value.canvasHeight), z.value)) {
444
444
  if (H.value.stacked) B.value.style.chart.grid.y.verticalLines.show && J.value.end - J.value.start < B.value.style.chart.grid.y.verticalLines.hideUnderXLength ? q.value.forEach((e) => {
445
445
  for (let t = 0; t < J.value.end - J.value.start + 1; t += 1) d(O.value, [{
@@ -459,7 +459,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
459
459
  }], { color: B.value.style.chart.grid.y.verticalLines.color });
460
460
  }), B.value.style.chart.grid.x.horizontalLines.show && (B.value.style.chart.grid.x.horizontalLines.alternate ? q.value.forEach((e) => {
461
461
  e.localYLabels.forEach((t, n) => {
462
- n < e.localYLabels.length - 1 && Ee(O.value, [
462
+ n < e.localYLabels.length - 1 && De(O.value, [
463
463
  {
464
464
  x: W.value.left,
465
465
  y: t.y
@@ -540,7 +540,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
540
540
  y: W.value.bottom
541
541
  }], { color: B.value.style.chart.grid.y.verticalLines.color });
542
542
  B.value.style.chart.grid.x.horizontalLines.show && (B.value.style.chart.grid.x.horizontalLines.alternate ? G.value.yLabels.forEach((e, t) => {
543
- t < G.value.yLabels.length - 1 && Ee(O.value, [
543
+ t < G.value.yLabels.length - 1 && De(O.value, [
544
544
  {
545
545
  x: W.value.left,
546
546
  y: e.y
@@ -610,10 +610,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
610
610
  });
611
611
  }
612
612
  }
613
- function Bn(e) {
613
+ function Vn(e) {
614
614
  for (let t = 0; t < e.coordinatesLine.length; t += 1) {
615
615
  let n = (j.value === t || L.value === t ? k.value / 150 : B.value.style.chart.line.plots.show || e.type === "plot" ? k.value / 200 : 0) * B.value.style.chart.line.plots.radiusRatio;
616
- Oe(O.value, {
616
+ ke(O.value, {
617
617
  x: e.coordinatesLine[t].x,
618
618
  y: e.coordinatesLine[t].y
619
619
  }, n, {
@@ -623,27 +623,27 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
623
623
  });
624
624
  }
625
625
  }
626
- function Vn() {
626
+ function Hn() {
627
627
  q.value.forEach((e) => {
628
- e.showYMarker && sr(e) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, sr(e).value, ce({
628
+ e.showYMarker && cr(e) && f(O.value, se(B.value.style.chart.dataLabels.formatter, cr(e).value, le({
629
629
  p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
630
- v: sr(e).value,
630
+ v: cr(e).value,
631
631
  s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
632
632
  r: e.rounding || B.value.style.chart.grid.y.axisLabels.rounding || 0
633
633
  }), {
634
- datapoint: sr(e),
634
+ datapoint: cr(e),
635
635
  seriesIndex: null
636
- }), W.value.left - 8 + B.value.style.chart.grid.y.axisLabels.offsetX, sr(e).y, {
636
+ }), W.value.left - 8 + B.value.style.chart.grid.y.axisLabels.offsetX, cr(e).y, {
637
637
  align: "right",
638
638
  font: `${B.value.style.chart.grid.y.axisLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.y.axisLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
639
639
  color: e.color
640
640
  });
641
641
  });
642
642
  }
643
- function Hn() {
643
+ function Un() {
644
644
  B.value.style.chart.grid.y.axisLabels.show && (H.value.stacked ? q.value.forEach((e) => {
645
645
  e.localYLabels.forEach((t, n) => {
646
- f(O.value, oe(B.value.style.chart.dataLabels.formatter, t.value, ce({
646
+ f(O.value, se(B.value.style.chart.dataLabels.formatter, t.value, le({
647
647
  p: e.prefix || B.value.style.chart.grid.y.axisLabels.prefix || "",
648
648
  v: t.value,
649
649
  s: e.suffix || B.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -659,7 +659,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
659
659
  });
660
660
  });
661
661
  }) : G.value.yLabels.forEach((e, t) => {
662
- f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.value, ce({
662
+ f(O.value, se(B.value.style.chart.dataLabels.formatter, e.value, le({
663
663
  p: B.value.style.chart.grid.y.axisLabels.prefix || "",
664
664
  v: e.value,
665
665
  s: B.value.style.chart.grid.y.axisLabels.suffix || "",
@@ -675,8 +675,8 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
675
675
  });
676
676
  }));
677
677
  }
678
- function Un(e) {
679
- for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, ce({
678
+ function Wn(e) {
679
+ for (let t = 0; t < e.coordinatesLine.length; t += 1) f(O.value, se(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[t].value, le({
680
680
  p: e.prefix || "",
681
681
  v: e.coordinatesLine[t].value,
682
682
  s: e.suffix || "",
@@ -692,53 +692,53 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
692
692
  lineWidth: .5
693
693
  });
694
694
  }
695
- let Z = b([]), Wn = 0;
696
- tt(() => {
697
- let e = ++Wn;
695
+ let Z = b([]), Gn = 0;
696
+ nt(() => {
697
+ let e = ++Gn;
698
698
  (async () => {
699
- let t = await pe({
699
+ let t = await me({
700
700
  values: B.value.style.chart.grid.x.timeLabels.values,
701
701
  maxDatapoints: U.value,
702
702
  formatter: B.value.style.chart.grid.x.timeLabels.datetimeFormatter,
703
703
  start: 0,
704
704
  end: U.value
705
705
  });
706
- e === Wn && (Z.value = t);
706
+ e === Gn && (Z.value = t);
707
707
  })();
708
- }), tt(() => {
709
- B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, B.value.style.chart.grid.x.timeLabels.fontSizeRatio, B.value.style.chart.grid.x.timeLabels.bold, J.value.start, J.value.end, k.value, A.value, (Z.value || []).map((e) => e?.text ?? "").join("|"), bn();
708
+ }), nt(() => {
709
+ B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, B.value.style.chart.grid.x.timeLabels.fontSizeRatio, B.value.style.chart.grid.x.timeLabels.bold, J.value.start, J.value.end, k.value, A.value, (Z.value || []).map((e) => e?.text ?? "").join("|"), xn();
710
710
  }, { flush: "post" });
711
- let Gn = b({
711
+ let Kn = b({
712
712
  months: [],
713
713
  shortMonths: [],
714
714
  days: [],
715
715
  shortDays: []
716
- }), Kn = 0;
717
- tt(() => {
718
- let e = ++Kn, t = B.value.style.chart.grid.x.timeLabels.datetimeFormatter;
716
+ }), qn = 0;
717
+ nt(() => {
718
+ let e = ++qn, t = B.value.style.chart.grid.x.timeLabels.datetimeFormatter;
719
719
  (async () => {
720
- let n = await fe(t.locale).catch(() => fe("en"));
721
- e === Kn && (Gn.value = n.data);
720
+ let n = await pe(t.locale).catch(() => pe("en"));
721
+ e === qn && (Kn.value = n.data);
722
722
  })();
723
723
  });
724
- let qn = p(() => {
725
- let e = B.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = de({
724
+ let Jn = p(() => {
725
+ let e = B.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = fe({
726
726
  useUTC: e.useUTC,
727
- locale: Gn.value,
727
+ locale: Kn.value,
728
728
  januaryAsYear: e.januaryAsYear
729
729
  });
730
730
  return (e, n) => {
731
731
  let r = B.value.style.chart.grid.x.timeLabels.values?.[e];
732
732
  return r == null ? "" : t.formatDate(new Date(r), n);
733
733
  };
734
- }), Jn = p(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
735
- text: qn.value(t, B.value.style.chart.zoom.timeFormat),
734
+ }), Yn = p(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
735
+ text: Jn.value(t, B.value.style.chart.zoom.timeFormat),
736
736
  absoluteIndex: t
737
- }))), Yn = p(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
738
- text: qn.value(t, B.value.style.chart.tooltip.timeFormat),
737
+ }))), Xn = p(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
738
+ text: Jn.value(t, B.value.style.chart.tooltip.timeFormat),
739
739
  absoluteIndex: t
740
740
  })));
741
- function Xn() {
741
+ function Zn() {
742
742
  for (let e = J.value.start; e < J.value.end; e += 1) (J.value.end - J.value.start < B.value.style.chart.grid.x.timeLabels.modulo || J.value.end - J.value.start >= B.value.style.chart.grid.x.timeLabels.modulo && (e % Math.floor((J.value.end - J.value.start) / B.value.style.chart.grid.x.timeLabels.modulo) === 0 || (e === j.value + J.value.start || e === L.value) && B.value.style.chart.grid.x.timeLabels.showMarker)) && f(O.value, Z.value[e] ? Z.value[e].text : e + 1, W.value.left + W.value.slot * (e - J.value.start) + W.value.slot / 2, W.value.bottom + k.value / B.value.style.chart.grid.x.timeLabels.offsetY, {
743
743
  align: B.value.style.chart.grid.x.timeLabels.rotation === 0 ? "center" : B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "left" : "right",
744
744
  font: `${B.value.style.chart.grid.x.timeLabels.bold ? "bold " : ""}${Math.round(k.value / 40 * B.value.style.chart.grid.x.timeLabels.fontSizeRatio)}px ${B.value.style.fontFamily}`,
@@ -746,7 +746,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
746
746
  rotation: B.value.style.chart.grid.x.timeLabels.rotation
747
747
  });
748
748
  }
749
- function Zn() {
749
+ function Qn() {
750
750
  d(O.value, [{
751
751
  x: W.value.left + W.value.slot * (j.value ?? L.value) + W.value.slot / 2,
752
752
  y: W.value.top
@@ -760,7 +760,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
760
760
  linceCap: "round"
761
761
  });
762
762
  }
763
- function Qn() {
763
+ function $n() {
764
764
  I.value && d(O.value, [{
765
765
  x: W.value.left,
766
766
  y: I.value
@@ -774,9 +774,9 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
774
774
  linceCap: "round"
775
775
  });
776
776
  }
777
- function $n() {
777
+ function er() {
778
778
  X.value.forEach((e, t) => {
779
- for (let n = 0; n < e.coordinatesLine.length; n += 1) Ee(O.value, [
779
+ for (let n = 0; n < e.coordinatesLine.length; n += 1) De(O.value, [
780
780
  {
781
781
  x: W.value.left + W.value.slot * n + W.value.slot / 10 + (H.value.stacked ? 0 : W.value.slot / X.value.length * t - (t === 0 ? 0 : W.value.slot / (5 * X.value.length) * t)),
782
782
  y: H.value.stacked ? e.localZero : G.value.zero
@@ -810,10 +810,10 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
810
810
  color: e.color
811
811
  }, {
812
812
  offset: 1,
813
- color: B.value.style.chart.bar.gradient.show ? ue(e.color, .5) : e.color
813
+ color: B.value.style.chart.bar.gradient.show ? c(e.color, .5) : e.color
814
814
  }]
815
815
  }
816
- }), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, oe(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, ce({
816
+ }), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && f(O.value, se(B.value.style.chart.dataLabels.formatter, e.coordinatesLine[n].value, le({
817
817
  p: e.prefix || "",
818
818
  v: e.coordinatesLine[n].value,
819
819
  s: e.suffix || "",
@@ -830,7 +830,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
830
830
  });
831
831
  });
832
832
  }
833
- function er(e, t) {
833
+ function tr(e, t) {
834
834
  let n = e.coordinatesLine.map((t, n) => e.series[n] != null && Number.isFinite(t?.y) ? t : null), r = [], i = [], a = [];
835
835
  for (let e = 0; e < n.length; e += 1) {
836
836
  let o = n[e];
@@ -872,7 +872,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
872
872
  singles: i
873
873
  };
874
874
  }
875
- function tr(e) {
875
+ function nr(e) {
876
876
  let t = e.coordinatesLine.map((t, n) => e.series[n] != null && Number.isFinite(t?.y) ? t : null), n = [], r = [];
877
877
  for (let e = 0; e < t.length; e += 1) {
878
878
  let i = t[e];
@@ -880,9 +880,9 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
880
880
  }
881
881
  return r.length >= 2 && n.push(r), n;
882
882
  }
883
- function nr(e) {
884
- if (wn.value) {
885
- let t = tr(e);
883
+ function rr(e) {
884
+ if (Tn.value) {
885
+ let t = nr(e);
886
886
  for (let n of t) d(O.value, n, {
887
887
  color: e.color,
888
888
  lineWidth: 3
@@ -892,18 +892,18 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
892
892
  lineWidth: 3
893
893
  });
894
894
  }
895
- function rr(e) {
896
- let t = !!wn.value;
895
+ function ir(e) {
896
+ let t = !!Tn.value;
897
897
  if (e.useArea) {
898
898
  let n = H.value.stacked ? e.localZero : G.value.zero;
899
899
  if (t) {
900
- let { polygons: t, singles: r } = er(e, n);
901
- for (let n of t) Ce(O.value, n, {
900
+ let { polygons: t, singles: r } = tr(e, n);
901
+ for (let n of t) we(O.value, n, {
902
902
  fillColor: i(e.color, B.value.style.chart.area.opacity),
903
903
  strokeColor: "transparent"
904
904
  });
905
905
  let a = k.value / 200 * B.value.style.chart.line.plots.radiusRatio;
906
- for (let t of r) Oe(O.value, {
906
+ for (let t of r) ke(O.value, {
907
907
  x: t.x,
908
908
  y: t.y
909
909
  }, a, {
@@ -919,7 +919,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
919
919
  x: e.coordinatesLine.at(-1).x,
920
920
  y: n
921
921
  };
922
- Ce(O.value, [
922
+ we(O.value, [
923
923
  t,
924
924
  ...e.coordinatesLine,
925
925
  r
@@ -928,12 +928,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
928
928
  strokeColor: "transparent"
929
929
  });
930
930
  }
931
- nr(e);
931
+ rr(e);
932
932
  return;
933
933
  }
934
- nr(e);
934
+ rr(e);
935
935
  }
936
- function ir() {
936
+ function ar() {
937
937
  q.value.forEach((e, t) => {
938
938
  d(O.value, [{
939
939
  x: W.value.left,
@@ -947,9 +947,9 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
947
947
  });
948
948
  });
949
949
  }
950
- function ar() {
950
+ function or() {
951
951
  let { left: e, top: t, width: n, height: r } = W.value, i = J.value.start, a = J.value.end - i, o = n / a, s = Y.value.start - i, c = Y.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
952
- Ee(O.value, [
952
+ De(O.value, [
953
953
  {
954
954
  x: e + l * o,
955
955
  y: t
@@ -979,11 +979,11 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
979
979
  });
980
980
  }
981
981
  function Q() {
982
- !z.value || !V.value || !O.value || (zn(), N.value ? ((j.value !== null || L.value !== null) && B.value.style.chart.selector.show && Zn(), $n(), H.value.stacked && B.value.style.chart.grid.x.showAxis && ir(), Ln.value.forEach((e) => {
983
- (e.type === "line" || !e.type) && rr(e), P.value && (Bn(e), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Un(e));
984
- }), V.value && (Et.value = Te(V.value))) : (Et.value && (O.value.clearRect(0, 0, 1e4, 1e4), O.value.drawImage(Et.value, 0, 0)), (j.value !== null || L.value !== null) && B.value.style.chart.selector.show && Zn(), (j.value !== null || L.value !== null) && q.value.forEach((e) => {
982
+ !z.value || !V.value || !O.value || (Bn(), N.value ? ((j.value !== null || L.value !== null) && B.value.style.chart.selector.show && Qn(), er(), H.value.stacked && B.value.style.chart.grid.x.showAxis && ar(), Rn.value.forEach((e) => {
983
+ (e.type === "line" || !e.type) && ir(e), P.value && (Vn(e), H.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Wn(e));
984
+ }), V.value && (Dt.value = Ee(V.value))) : (Dt.value && (O.value.clearRect(0, 0, 1e4, 1e4), O.value.drawImage(Dt.value, 0, 0)), (j.value !== null || L.value !== null) && B.value.style.chart.selector.show && Qn(), (j.value !== null || L.value !== null) && q.value.forEach((e) => {
985
985
  let t = j.value ?? L.value, n = e.coordinatesLine[t];
986
- (e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) && Oe(O.value, {
986
+ (e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) && ke(O.value, {
987
987
  x: n.x,
988
988
  y: n.y
989
989
  }, k.value / 150 * B.value.style.chart.line.plots.radiusRatio, {
@@ -991,12 +991,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
991
991
  fillStyle: e.color,
992
992
  strokeColor: "transparent"
993
993
  });
994
- })), B.value.style.chart.grid.x.timeLabels.show && Xn(), B.value.style.chart.selector.show && B.value.style.chart.selector.showHorizontalSelector && Qn(), Hn(), Vn(), B.value.style.chart.zoom.preview.enable && (J.value.start !== Y.value.start || J.value.end !== Y.value.end) && ar(), N.value = !1);
994
+ })), B.value.style.chart.grid.x.timeLabels.show && Zn(), B.value.style.chart.selector.show && B.value.style.chart.selector.showHorizontalSelector && $n(), Un(), Hn(), B.value.style.chart.zoom.preview.enable && (J.value.start !== Y.value.start || J.value.end !== Y.value.end) && or(), N.value = !1);
995
995
  }
996
- let or = De(() => {
997
- P.value = !0, Rn();
996
+ let sr = Oe(() => {
997
+ P.value = !0, zn();
998
998
  }, U.value > 200 ? 10 : 1, !P.value);
999
- function sr(e) {
999
+ function cr(e) {
1000
1000
  if ([null, void 0].includes(j.value ?? L.value) || !e.coordinatesLine[j.value ?? L.value]) return !1;
1001
1001
  let { y: t, value: n } = e.coordinatesLine[j.value ?? L.value];
1002
1002
  return {
@@ -1004,15 +1004,15 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1004
1004
  value: n
1005
1005
  };
1006
1006
  }
1007
- function cr(e) {
1008
- if (!z.value || !V.value || mn.value) return;
1007
+ function lr(e) {
1008
+ if (!z.value || !V.value || hn.value) return;
1009
1009
  let { left: t, top: n } = V.value.getBoundingClientRect(), r = e.clientX - t;
1010
1010
  if (I.value = (e.clientY - n) * 2, (I.value < W.value.top || I.value > W.value.bottom) && (I.value = null), r * 2 < W.value.left || r * 2 > W.value.right) {
1011
- pr();
1011
+ mr();
1012
1012
  return;
1013
1013
  }
1014
1014
  let i = r * 2 - W.value.left, a = Math.floor(i / W.value.slot);
1015
- if (j.value = a, R.value = a, St.value = !0, Ht.value = !1, !P.value) return;
1015
+ if (j.value = a, R.value = a, Ct.value = !0, Ut.value = !1, !P.value) return;
1016
1016
  let o = "", s = B.value.style.chart.tooltip.customFormat, c = q.value.map((e) => ({
1017
1017
  shape: e.shape || null,
1018
1018
  name: e.name,
@@ -1020,28 +1020,28 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1020
1020
  type: e.type || "line",
1021
1021
  value: e.series.find((e, t) => t === j.value)
1022
1022
  }));
1023
- wt.value = {
1024
- timeLabel: B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : Yn.value[j.value]?.text : "",
1023
+ Tt.value = {
1024
+ timeLabel: B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : Xn.value[j.value]?.text : "",
1025
1025
  datapoint: c,
1026
1026
  seriesIndex: j.value,
1027
1027
  series: q.value,
1028
1028
  config: B.value
1029
- }, _r({
1029
+ }, vr({
1030
1030
  seriesIndex: j.value,
1031
1031
  datapoint: c
1032
- }), te(s) && re(() => s({
1032
+ }), ue(s) && ne(() => s({
1033
1033
  seriesIndex: j.value,
1034
1034
  datapoint: c,
1035
1035
  series: q.value,
1036
1036
  config: B.value
1037
- })) ? Ct.value = s({
1037
+ })) ? wt.value = s({
1038
1038
  seriesIndex: j.value,
1039
1039
  datapoint: c,
1040
1040
  series: q.value,
1041
1041
  config: B.value
1042
- }) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? o += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : Yn.value[j.value]?.text}</div>` : o += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[j.value + J.value.start]?.text ?? ""}</div>`, o += Cn.value.join(""), Ct.value = o), P.value = !1;
1042
+ }) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[j.value] ? o += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[j.value]?.text : Xn.value[j.value]?.text}</div>` : o += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[j.value + J.value.start]?.text ?? ""}</div>`, o += wn.value.join(""), wt.value = o), P.value = !1;
1043
1043
  }
1044
- function lr(e) {
1044
+ function ur(e) {
1045
1045
  return q.value.map((t) => ({
1046
1046
  shape: t.shape || null,
1047
1047
  name: t.name,
@@ -1050,12 +1050,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1050
1050
  value: t.series.find((t, n) => n === e)
1051
1051
  }));
1052
1052
  }
1053
- function ur(e) {
1054
- let t = "", n = B.value.style.chart.tooltip.customFormat, r = lr(e);
1055
- return _r({
1053
+ function dr(e) {
1054
+ let t = "", n = B.value.style.chart.tooltip.customFormat, r = ur(e);
1055
+ return vr({
1056
1056
  seriesIndex: e,
1057
1057
  datapoint: r
1058
- }), te(n) && re(() => n({
1058
+ }), ue(n) && ne(() => n({
1059
1059
  seriesIndex: e,
1060
1060
  datapoint: r,
1061
1061
  series: q.value,
@@ -1065,40 +1065,40 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1065
1065
  datapoint: r,
1066
1066
  series: q.value,
1067
1067
  config: B.value
1068
- }) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[e] ? t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[e]?.text : Yn.value[e]?.text}</div>` : t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[e + J.value.start]?.text ?? ""}</div>`, t += Cn.value.join(""), t);
1068
+ }) : (B.value.style.chart.grid.x.timeLabels.values.slice(J.value.start, J.value.end)[e] ? t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${B.value.style.chart.tooltip.useDefaultTimeFormat ? Z.value.slice(J.value.start, J.value.end)[e]?.text : Xn.value[e]?.text}</div>` : t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${B.value.style.chart.tooltip.borderColor}; width:100%">${Z.value[e + J.value.start]?.text ?? ""}</div>`, t += wn.value.join(""), t);
1069
1069
  }
1070
- function dr(e) {
1070
+ function fr(e) {
1071
1071
  if (!V.value || !W.value?.slot) return;
1072
1072
  let t = V.value.getBoundingClientRect(), n = t.width / W.value.canvasWidth, r = t.height / W.value.canvasHeight, i = W.value.left + W.value.slot * e + W.value.slot / 2, a = W.value.top + W.value.height / 2;
1073
- Wt.value = {
1073
+ Gt.value = {
1074
1074
  x: t.left + i * n,
1075
1075
  y: t.top + a * r
1076
1076
  };
1077
1077
  }
1078
- function fr(e, { fromKeyboard: t = !1 } = {}) {
1079
- !z.value || mn.value || e != null && (e < 0 || e >= J.value.end - J.value.start || (j.value = e, R.value = e, St.value = !0, Ht.value = t, Ct.value = ur(e), t && dr(e), P.value = !1, Q()));
1080
- }
1081
- function pr() {
1082
- St.value = !1, j.value = null, R.value = null, Ct.value = "", I.value = null, Ht.value = !1, Q();
1078
+ function pr(e, { fromKeyboard: t = !1 } = {}) {
1079
+ !z.value || hn.value || e != null && (e < 0 || e >= J.value.end - J.value.start || (j.value = e, R.value = e, Ct.value = !0, Ut.value = t, wt.value = dr(e), t && fr(e), P.value = !1, Q()));
1083
1080
  }
1084
1081
  function mr() {
1085
- Ut.value = !0;
1082
+ Ct.value = !1, j.value = null, R.value = null, wt.value = "", I.value = null, Ut.value = !1, Q();
1086
1083
  }
1087
1084
  function hr() {
1088
- Ut.value = !1, pr();
1085
+ Wt.value = !0;
1086
+ }
1087
+ function gr() {
1088
+ Wt.value = !1, mr();
1089
1089
  }
1090
- function gr(e) {
1091
- if (!V.value || Lr.value || document.activeElement !== V.value) return;
1090
+ function _r(e) {
1091
+ if (!V.value || Rr.value || document.activeElement !== V.value) return;
1092
1092
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight";
1093
1093
  if (!t && !n) return;
1094
1094
  let r = J.value.end - J.value.start;
1095
1095
  if (r <= 0) return;
1096
1096
  e.preventDefault(), e.stopPropagation();
1097
1097
  let i = R.value;
1098
- i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : (--i, i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, fr(i, { fromKeyboard: !0 });
1098
+ i !== null && i >= 0 && i < r ? n ? (i += 1, i >= r && (i = 0)) : (--i, i < 0 && (i = r - 1)) : i = n ? 0 : r - 1, pr(i, { fromKeyboard: !0 });
1099
1099
  }
1100
- function _r({ seriesIndex: e, datapoint: t }) {
1101
- Gt("selectX", {
1100
+ function vr({ seriesIndex: e, datapoint: t }) {
1101
+ Kt("selectX", {
1102
1102
  dataset: t,
1103
1103
  index: J.value.start + e,
1104
1104
  indexLabel: ""
@@ -1106,13 +1106,13 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1106
1106
  }
1107
1107
  C(() => T.selectedXIndex, (e) => {
1108
1108
  if ([null, void 0].includes(T.selectedXIndex)) {
1109
- pr();
1109
+ mr();
1110
1110
  return;
1111
1111
  }
1112
1112
  let t = e - J.value.start;
1113
- t < 0 || e >= J.value.end ? pr() : fr(t, { fromKeyboard: !1 });
1113
+ t < 0 || e >= J.value.end ? mr() : pr(t, { fromKeyboard: !1 });
1114
1114
  }, { immediate: !0 }), C(() => j.value, (e) => {
1115
- or();
1115
+ sr();
1116
1116
  }), C(() => J.value, (e) => {
1117
1117
  N.value = !0, Q();
1118
1118
  }, { deep: !0 }), C(() => Y.value, (e) => {
@@ -1122,66 +1122,66 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1122
1122
  }), C(() => I.value, (e) => {
1123
1123
  e && Q();
1124
1124
  }), C(() => H.value.stacked, (e) => {
1125
- N.value = !0, P.value = !0, or();
1125
+ N.value = !0, P.value = !0, sr();
1126
1126
  });
1127
- function vr() {
1128
- pr();
1127
+ function yr() {
1128
+ mr();
1129
1129
  }
1130
- let $ = Ze(null), yr = Ze(null), br = Ze(null);
1131
- Ye(() => {
1132
- Ft.value = !0, xr();
1130
+ let $ = Qe(null), br = Qe(null), xr = Qe(null);
1131
+ Xe(() => {
1132
+ It.value = !0, Sr();
1133
1133
  });
1134
- function xr() {
1135
- if (n(T.dataset) && Xt.value && o({
1134
+ function Sr() {
1135
+ if (a(T.dataset) && Zt.value && o({
1136
1136
  componentName: "VueUiXyCanvas",
1137
1137
  type: "dataset"
1138
- }), Ge(() => {
1139
- V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), O.value && z.value && (N.value = !0, P.value = !0, Rn());
1138
+ }), Ke(() => {
1139
+ V.value && !O.value && (O.value = V.value.getContext("2d", { willReadFrequently: !0 })), O.value && z.value && (N.value = !0, P.value = !0, zn());
1140
1140
  }), B.value.responsive) {
1141
- let e = we(() => {
1142
- let { width: e, height: t } = ke({
1141
+ let e = Te(() => {
1142
+ let { width: e, height: t } = Ae({
1143
1143
  chart: D.value,
1144
- title: B.value.style.chart.title.text ? kt.value : null,
1145
- legend: B.value.style.chart.legend.show ? At.value : null,
1144
+ title: B.value.style.chart.title.text ? At.value : null,
1145
+ legend: B.value.style.chart.legend.show ? jt.value : null,
1146
1146
  slicer: B.value.style.chart.zoom.show && U.value > 6 ? F.value?.$el : null,
1147
- source: jt.value
1147
+ source: Mt.value
1148
1148
  });
1149
1149
  requestAnimationFrame(() => {
1150
- sn.value = `${e} / ${t}`;
1150
+ cn.value = `${e} / ${t}`;
1151
1151
  });
1152
1152
  });
1153
- $.value && (yr.value && $.value.unobserve(yr.value), $.value.disconnect()), $.value = new ResizeObserver(e), yr.value = D.value.parentNode, $.value.observe(yr.value);
1153
+ $.value && (br.value && $.value.unobserve(br.value), $.value.disconnect()), $.value = new ResizeObserver(e), br.value = D.value.parentNode, $.value.observe(br.value);
1154
1154
  }
1155
- br.value && br.value.disconnect(), br.value = new ResizeObserver(async (e) => {
1156
- for (let t of e) t.contentBoxSize && xt.value && (N.value = !0, or());
1157
- }), br.value.observe(xt.value), kn();
1155
+ xr.value && xr.value.disconnect(), xr.value = new ResizeObserver(async (e) => {
1156
+ for (let t of e) t.contentBoxSize && St.value && (N.value = !0, sr());
1157
+ }), xr.value.observe(St.value), An();
1158
1158
  }
1159
- Je(() => {
1160
- br.value && br.value.disconnect(), $.value && (yr.value && $.value.unobserve(yr.value), $.value.disconnect());
1159
+ Ye(() => {
1160
+ xr.value && xr.value.disconnect(), $.value && (br.value && $.value.unobserve(br.value), $.value.disconnect());
1161
1161
  });
1162
- function Sr() {
1163
- M.value.length ? M.value = [] : Dr.value.forEach((e, t) => {
1162
+ function Cr() {
1163
+ M.value.length ? M.value = [] : Or.value.forEach((e, t) => {
1164
1164
  M.value.push(t);
1165
- }), N.value = !0, or(), Gt("selectLegend", q.value);
1166
- }
1167
- function Cr(e) {
1168
- M.value.includes(e) ? M.value = M.value.filter((t) => t !== e) : M.value.push(e), N.value = !0, or(), Gt("selectLegend", q.value);
1165
+ }), N.value = !0, sr(), Kt("selectLegend", q.value);
1169
1166
  }
1170
1167
  function wr(e) {
1171
- return K.value.length ? K.value.find((t) => t.name === e) || (B.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null) : (B.value.debug && console.warn("VueUiXyCanvas - There are no series to show."), null);
1168
+ M.value.includes(e) ? M.value = M.value.filter((t) => t !== e) : M.value.push(e), N.value = !0, sr(), Kt("selectLegend", q.value);
1172
1169
  }
1173
1170
  function Tr(e) {
1174
- let t = wr(e);
1175
- t !== null && M.value.includes(t.absoluteIndex) && Cr(t.absoluteIndex);
1171
+ return K.value.length ? K.value.find((t) => t.name === e) || (B.value.debug && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null) : (B.value.debug && console.warn("VueUiXyCanvas - There are no series to show."), null);
1176
1172
  }
1177
1173
  function Er(e) {
1178
- let t = wr(e);
1179
- t !== null && (M.value.includes(t.absoluteIndex) || Cr(t.absoluteIndex));
1174
+ let t = Tr(e);
1175
+ t !== null && M.value.includes(t.absoluteIndex) && wr(t.absoluteIndex);
1180
1176
  }
1181
- let Dr = p(() => K.value.map((e, n) => ({
1177
+ function Dr(e) {
1178
+ let t = Tr(e);
1179
+ t !== null && (M.value.includes(t.absoluteIndex) || wr(t.absoluteIndex));
1180
+ }
1181
+ let Or = p(() => K.value.map((e, t) => ({
1182
1182
  ...e,
1183
1183
  name: e.name,
1184
- color: ie(e.color) || pn.value[n] || t[n] || t[n % t.length],
1184
+ color: re(e.color) || mn.value[t] || ce[t] || ce[t % ce.length],
1185
1185
  shape: e.shape || "circle",
1186
1186
  prefix: e.prefix || "",
1187
1187
  suffix: e.suffix || "",
@@ -1189,16 +1189,16 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1189
1189
  })).map((e) => ({
1190
1190
  ...e,
1191
1191
  opacity: M.value.includes(e.absoluteIndex) ? .5 : 1,
1192
- segregate: () => Cr(e.absoluteIndex),
1192
+ segregate: () => wr(e.absoluteIndex),
1193
1193
  isSegregated: M.value.includes(e.absoluteIndex)
1194
- }))), Or = p(() => ({
1194
+ }))), kr = p(() => ({
1195
1195
  cy: "donut-div-legend",
1196
1196
  backgroundColor: B.value.style.chart.legend.backgroundColor,
1197
1197
  color: B.value.style.chart.legend.color,
1198
1198
  fontSize: B.value.style.chart.legend.fontSize,
1199
1199
  paddingBottom: 12,
1200
1200
  fontWeight: B.value.style.chart.legend.bold ? "bold" : ""
1201
- })), kr = p(() => {
1201
+ })), Ar = p(() => {
1202
1202
  let e = [""].concat(q.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [];
1203
1203
  for (let e = 0; e < U.value; e += 1) {
1204
1204
  let n = q.value.map((t) => t.series[e] ?? 0).reduce((e, t) => e + t, 0);
@@ -1223,7 +1223,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1223
1223
  config: n,
1224
1224
  colNames: r
1225
1225
  };
1226
- }), Ar = p(() => {
1226
+ }), jr = p(() => {
1227
1227
  if (q.value.length === 0) return {
1228
1228
  head: [],
1229
1229
  body: [],
@@ -1246,67 +1246,69 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1246
1246
  body: t
1247
1247
  };
1248
1248
  });
1249
- function jr(e = null) {
1249
+ function Mr(e = null) {
1250
1250
  let t = [
1251
1251
  [B.value.style.chart.title.text],
1252
1252
  [B.value.style.chart.title.subtitle.text],
1253
1253
  [""]
1254
- ], n = ["", ...Ar.value.head.map((e) => e.label)], r = Ar.value.body, i = le(t.concat([n]).concat(r));
1254
+ ], n = ["", ...jr.value.head.map((e) => e.label)], r = jr.value.body, i = de(t.concat([n]).concat(r));
1255
1255
  e ? e(i) : ee({
1256
1256
  csvContent: i,
1257
1257
  title: B.value.style.chart.title.text || "vue-ui-xy-canvas"
1258
1258
  });
1259
1259
  }
1260
- function Mr() {
1260
+ function Nr() {
1261
1261
  return q.value;
1262
1262
  }
1263
- function Nr() {
1263
+ function Pr() {
1264
1264
  H.value.showTable = !H.value.showTable;
1265
1265
  }
1266
- function Pr() {
1266
+ function Fr() {
1267
1267
  H.value.showDataLabels = !H.value.showDataLabels;
1268
1268
  }
1269
- function Fr() {
1269
+ function Ir() {
1270
1270
  H.value.stacked = !H.value.stacked;
1271
1271
  }
1272
- function Ir() {
1272
+ function Lr() {
1273
1273
  H.value.showTooltip = !H.value.showTooltip;
1274
1274
  }
1275
- let Lr = b(!1);
1276
- function Rr() {
1277
- Lr.value = !Lr.value;
1275
+ let Rr = b(!1);
1276
+ function zr() {
1277
+ Rr.value = !Rr.value;
1278
1278
  }
1279
- async function zr({ scale: e = 2 } = {}) {
1279
+ async function Br({ scale: e = 2 } = {}) {
1280
1280
  if (!D.value) return;
1281
- let { width: t, height: n } = D.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await be({
1281
+ let { imageUri: t, base64: n } = await xe({
1282
1282
  domElement: D.value,
1283
1283
  base64: !0,
1284
1284
  img: !0,
1285
1285
  scale: e
1286
- });
1286
+ }), r = D.value.getBoundingClientRect(), i = {
1287
+ width: r.width,
1288
+ height: r.height,
1289
+ aspectRatio: r.height ? r.width / r.height : 0
1290
+ }, a = await ie(t, e) ?? i;
1287
1291
  return {
1288
- imageUri: i,
1289
- base64: a,
1292
+ imageUri: t,
1293
+ base64: n,
1290
1294
  title: B.value.style.chart.title.text,
1291
- width: t,
1292
- height: n,
1293
- aspectRatio: r
1295
+ ...a
1294
1296
  };
1295
1297
  }
1296
- let Br = p(() => {
1298
+ let Vr = p(() => {
1297
1299
  let e = B.value.table.useDialog && !B.value.table.show, t = H.value.showTable;
1298
1300
  return {
1299
- component: e ? _t : Me,
1301
+ component: e ? vt : Ne,
1300
1302
  title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
1301
1303
  props: e ? {
1302
1304
  backgroundColor: B.value.table.th.backgroundColor,
1303
1305
  color: B.value.table.th.color,
1304
1306
  headerColor: B.value.table.th.color,
1305
1307
  headerBg: B.value.table.th.backgroundColor,
1306
- isFullscreen: Ot.value,
1308
+ isFullscreen: kt.value,
1307
1309
  fullscreenParent: D.value,
1308
1310
  forcedWidth: Math.min(800, window.innerWidth * .8),
1309
- isCursorPointer: Yt.value
1311
+ isCursorPointer: Xt.value
1310
1312
  } : {
1311
1313
  hideDetails: !0,
1312
1314
  config: {
@@ -1325,24 +1327,24 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1325
1327
  };
1326
1328
  });
1327
1329
  C(() => H.value.showTable, (e) => {
1328
- B.value.table.show || (e && B.value.table.useDialog && It.value ? It.value.open() : "close" in It.value && It.value.close());
1330
+ B.value.table.show || (e && B.value.table.useDialog && Lt.value ? Lt.value.open() : "close" in Lt.value && Lt.value.close());
1329
1331
  });
1330
- function Vr() {
1331
- H.value.showTable = !1, Lt.value && Lt.value.setTableIconState(!1);
1332
+ function Hr() {
1333
+ H.value.showTable = !1, Rt.value && Rt.value.setTableIconState(!1);
1332
1334
  }
1333
- function Hr(e) {
1335
+ function Ur(e) {
1334
1336
  if (e?.stage === "start") {
1335
- Vt.value = !0;
1337
+ Ht.value = !0;
1336
1338
  return;
1337
1339
  }
1338
1340
  if (e?.stage === "end") {
1339
- Vt.value = !1;
1341
+ Ht.value = !1;
1340
1342
  return;
1341
1343
  }
1342
- dn();
1344
+ fn();
1343
1345
  }
1344
- async function Ur() {
1345
- if (Gt("copyAlt", {
1346
+ async function Wr() {
1347
+ if (Kt("copyAlt", {
1346
1348
  config: B.value,
1347
1349
  dataset: q.value
1348
1350
  }), !B.value.userOptions.callbacks.altCopy) {
@@ -1354,42 +1356,42 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1354
1356
  dataset: q.value
1355
1357
  }));
1356
1358
  }
1357
- return Se({
1358
- getData: Mr,
1359
- getImage: zr,
1360
- generateCsv: jr,
1361
- generatePdf: un,
1362
- generateImage: dn,
1363
- hideSeries: Er,
1364
- showSeries: Tr,
1365
- toggleTable: Nr,
1366
- toggleLabels: Pr,
1367
- toggleStack: Fr,
1368
- toggleTooltip: Ir,
1369
- toggleAnnotator: Rr,
1370
- toggleFullscreen: fn,
1371
- copyAlt: Ur
1372
- }), (t, n) => (y(), ze("div", {
1373
- style: qe(`width:100%; position:relative; ${B.value.responsive ? "height: 100%" : ""}; background:${B.value.style.chart.backgroundColor};`),
1359
+ return Ce({
1360
+ getData: Nr,
1361
+ getImage: Br,
1362
+ generateCsv: Mr,
1363
+ generatePdf: dn,
1364
+ generateImage: fn,
1365
+ hideSeries: Dr,
1366
+ showSeries: Er,
1367
+ toggleTable: Pr,
1368
+ toggleLabels: Fr,
1369
+ toggleStack: Ir,
1370
+ toggleTooltip: Lr,
1371
+ toggleAnnotator: zr,
1372
+ toggleFullscreen: pn,
1373
+ copyAlt: Wr
1374
+ }), (t, n) => (y(), Be("div", {
1375
+ style: Je(`width:100%; position:relative; ${B.value.responsive ? "height: 100%" : ""}; background:${B.value.style.chart.backgroundColor};`),
1374
1376
  ref_key: "xy",
1375
1377
  ref: D,
1376
1378
  id: `xy_canvas_${E.value}`,
1377
- class: Ke(`vue-data-ui-component vue-ui-xy-canvas ${Ot.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1378
- onMouseenter: rn,
1379
- onMouseleave: an
1379
+ class: qe(`vue-data-ui-component vue-ui-xy-canvas ${kt.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1380
+ onMouseenter: an,
1381
+ onMouseleave: on
1380
1382
  }, [
1381
1383
  g("div", {
1382
1384
  id: `chart-instructions-${E.value}`,
1383
1385
  class: "sr-only"
1384
- }, [g("p", null, Qe(B.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1385
- g("div", at, Qe(Jt.value), 1),
1386
- B.value.style.chart.title.text ? (y(), ze("div", {
1386
+ }, [g("p", null, $e(B.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1387
+ g("div", ot, $e(Yt.value), 1),
1388
+ B.value.style.chart.title.text ? (y(), Be("div", {
1387
1389
  key: 0,
1388
1390
  ref_key: "chartTitle",
1389
- ref: kt,
1390
- style: qe(`width:100%;background:${B.value.style.chart.backgroundColor};`)
1391
- }, [(y(), m(xe, {
1392
- key: `title_${Mt.value}`,
1391
+ ref: At,
1392
+ style: Je(`width:100%;background:${B.value.style.chart.backgroundColor};`)
1393
+ }, [(y(), m(Se, {
1394
+ key: `title_${Nt.value}`,
1393
1395
  config: {
1394
1396
  title: {
1395
1397
  cy: "xy-canvas-title",
@@ -1401,15 +1403,15 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1401
1403
  }
1402
1404
  }
1403
1405
  }, null, 8, ["config"]))], 4)) : h("", !0),
1404
- g("div", { id: `legend-top-${E.value}` }, null, 8, ot),
1405
- B.value.userOptions.show && z.value && (S(nn) || S(en)) ? (y(), m(S(ht), {
1406
+ g("div", { id: `legend-top-${E.value}` }, null, 8, st),
1407
+ B.value.userOptions.show && z.value && (S(rn) || S(tn)) ? (y(), m(S(gt), {
1406
1408
  ref_key: "userOptionsRef",
1407
- ref: Lt,
1408
- key: `user_option_${Dt.value}`,
1409
+ ref: Rt,
1410
+ key: `user_option_${Ot.value}`,
1409
1411
  backgroundColor: B.value.style.chart.backgroundColor,
1410
1412
  color: B.value.style.chart.color,
1411
- isPrinting: S(cn),
1412
- isImaging: S(ln),
1413
+ isPrinting: S(ln),
1414
+ isImaging: S(un),
1413
1415
  uid: E.value,
1414
1416
  hasTooltip: B.value.userOptions.buttons.tooltip && B.value.style.chart.tooltip.show,
1415
1417
  hasPdf: B.value.userOptions.buttons.pdf,
@@ -1420,30 +1422,30 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1420
1422
  hasFullscreen: B.value.userOptions.buttons.fullscreen,
1421
1423
  hasAltCopy: B.value.userOptions.buttons.altCopy,
1422
1424
  hasTable: J.value.end - J.value.start <= 730 && B.value.userOptions.buttons.table,
1423
- isFullscreen: Ot.value,
1425
+ isFullscreen: kt.value,
1424
1426
  isTooltip: H.value.showTooltip,
1425
1427
  isStacked: H.value.stacked,
1426
1428
  titles: { ...B.value.userOptions.buttonTitles },
1427
1429
  chartElement: D.value,
1428
1430
  position: B.value.userOptions.position,
1429
1431
  hasAnnotator: B.value.userOptions.buttons.annotator,
1430
- isAnnotation: Lr.value,
1432
+ isAnnotation: Rr.value,
1431
1433
  callbacks: B.value.userOptions.callbacks,
1432
1434
  printScale: B.value.userOptions.print.scale,
1433
1435
  tableDialog: B.value.table.useDialog,
1434
- isCursorPointer: Yt.value,
1435
- onToggleFullscreen: fn,
1436
- onGeneratePdf: S(un),
1437
- onGenerateCsv: jr,
1438
- onGenerateImage: Hr,
1439
- onToggleTable: Nr,
1440
- onToggleLabels: Pr,
1441
- onToggleStack: Fr,
1442
- onToggleTooltip: Ir,
1443
- onToggleAnnotator: Rr,
1444
- onCopyAlt: Ur,
1445
- style: qe({ visibility: S(nn) ? S(en) ? "visible" : "hidden" : "visible" })
1446
- }, Be({ _: 2 }, [
1436
+ isCursorPointer: Xt.value,
1437
+ onToggleFullscreen: pn,
1438
+ onGeneratePdf: S(dn),
1439
+ onGenerateCsv: Mr,
1440
+ onGenerateImage: Ur,
1441
+ onToggleTable: Pr,
1442
+ onToggleLabels: Fr,
1443
+ onToggleStack: Ir,
1444
+ onToggleTooltip: Lr,
1445
+ onToggleAnnotator: zr,
1446
+ onCopyAlt: Wr,
1447
+ style: Je({ visibility: S(rn) ? S(tn) ? "visible" : "hidden" : "visible" })
1448
+ }, Ve({ _: 2 }, [
1447
1449
  t.$slots.menuIcon ? {
1448
1450
  name: "menuIcon",
1449
1451
  fn: w(({ isOpen: e, color: n }) => [x(t.$slots, "menuIcon", v(_({
@@ -1521,14 +1523,14 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1521
1523
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasXls.hasLabel.hasStack.hasFullscreen.hasAltCopy.hasTable.isFullscreen.isTooltip.isStacked.titles.chartElement.position.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : h("", !0),
1522
1524
  g("div", {
1523
1525
  class: "vue-ui-xy-canvas",
1524
- style: qe(`position: relative; aspect-ratio: ${sn.value}`),
1526
+ style: Je(`position: relative; aspect-ratio: ${cn.value}`),
1525
1527
  ref_key: "container",
1526
- ref: xt
1528
+ ref: St
1527
1529
  }, [
1528
1530
  g("canvas", {
1529
1531
  ref_key: "canvas",
1530
1532
  ref: V,
1531
- "aria-label": qt.value,
1533
+ "aria-label": Jt.value,
1532
1534
  "aria-describedby": `chart-instructions-${E.value}`,
1533
1535
  role: "img",
1534
1536
  "aria-live": "polite",
@@ -1537,20 +1539,20 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1537
1539
  width: "100%",
1538
1540
  height: "100%"
1539
1541
  },
1540
- onMousemove: n[0] ||= (e) => cr(e),
1541
- onMouseleave: vr,
1542
- onFocus: mr,
1543
- onBlur: hr,
1544
- onKeydown: gr
1545
- }, null, 40, st),
1546
- t.$slots.hint ? (y(), ze("div", ct, [x(t.$slots, "hint", v(_({
1542
+ onMousemove: n[0] ||= (e) => lr(e),
1543
+ onMouseleave: yr,
1544
+ onFocus: hr,
1545
+ onBlur: gr,
1546
+ onKeydown: _r
1547
+ }, null, 40, ct),
1548
+ t.$slots.hint ? (y(), Be("div", lt, [x(t.$slots, "hint", v(_({
1547
1549
  hint: B.value.a11y.translations.keyboardNavigation,
1548
- isVisible: Ut.value
1550
+ isVisible: Wt.value
1549
1551
  })), void 0, !0)])) : h("", !0),
1550
- x(t.$slots, "skeleton", {}, () => [S(Qt) ? (y(), m(_e, { key: 0 })) : h("", !0)], !0),
1551
- He(S(pt), {
1552
+ x(t.$slots, "skeleton", {}, () => [S($t) ? (y(), m(ve, { key: 0 })) : h("", !0)], !0),
1553
+ Ue(S(mt), {
1552
1554
  teleportTo: B.value.style.chart.tooltip.teleportTo,
1553
- show: H.value.showTooltip && St.value,
1555
+ show: H.value.showTooltip && Ct.value,
1554
1556
  backgroundColor: B.value.style.chart.tooltip.backgroundColor,
1555
1557
  color: B.value.style.chart.tooltip.color,
1556
1558
  fontSize: B.value.style.chart.tooltip.fontSize,
@@ -1561,20 +1563,20 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1561
1563
  offsetX: B.value.style.chart.tooltip.offsetX,
1562
1564
  offsetY: B.value.style.chart.tooltip.offsetY,
1563
1565
  parent: t.$refs.xy,
1564
- content: Ct.value,
1565
- isFullscreen: Ot.value,
1566
+ content: wt.value,
1567
+ isFullscreen: kt.value,
1566
1568
  backgroundOpacity: B.value.style.chart.tooltip.backgroundOpacity,
1567
- isCustom: S(te)(B.value.style.chart.tooltip.customFormat),
1569
+ isCustom: S(ue)(B.value.style.chart.tooltip.customFormat),
1568
1570
  smooth: B.value.style.chart.tooltip.smooth,
1569
1571
  backdropFilter: B.value.style.chart.tooltip.backdropFilter,
1570
1572
  smoothForce: B.value.style.chart.tooltip.smoothForce,
1571
1573
  smoothSnapThreshold: B.value.style.chart.tooltip.smoothSnapThreshold,
1572
- isA11yMode: Ht.value,
1573
- a11yPosition: Wt.value
1574
+ isA11yMode: Ut.value,
1575
+ a11yPosition: Gt.value
1574
1576
  }, {
1575
- "tooltip-before": w(() => [x(t.$slots, "tooltip-before", v(_({ ...wt.value })), void 0, !0)]),
1576
- tooltip: w(() => [x(t.$slots, "tooltip", v(_({ ...wt.value })), void 0, !0)]),
1577
- "tooltip-after": w(() => [x(t.$slots, "tooltip-after", v(_({ ...wt.value })), void 0, !0)]),
1577
+ "tooltip-before": w(() => [x(t.$slots, "tooltip-before", v(_({ ...Tt.value })), void 0, !0)]),
1578
+ tooltip: w(() => [x(t.$slots, "tooltip", v(_({ ...Tt.value })), void 0, !0)]),
1579
+ "tooltip-after": w(() => [x(t.$slots, "tooltip-after", v(_({ ...Tt.value })), void 0, !0)]),
1578
1580
  _: 3
1579
1581
  }, 8, [
1580
1582
  "teleportTo",
@@ -1601,15 +1603,16 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1601
1603
  "a11yPosition"
1602
1604
  ])
1603
1605
  ], 4),
1604
- B.value.style.chart.zoom.show && U.value > 6 && z.value && zt.value && !S(Qt) ? (y(), m(je, {
1606
+ B.value.style.chart.zoom.show && U.value > 6 && z.value && Bt.value && !S($t) ? (y(), m(Me, {
1605
1607
  key: 2,
1606
1608
  ref_key: "chartSlicer",
1607
1609
  ref: F,
1608
- allMinimaps: En.value,
1610
+ "data-dom-to-png-ignore-layout": "",
1611
+ allMinimaps: Dn.value,
1609
1612
  background: B.value.style.chart.zoom.color,
1610
1613
  borderColor: B.value.style.chart.backgroundColor,
1611
1614
  customFormat: B.value.style.chart.zoom.customFormat,
1612
- cutNullValues: wn.value,
1615
+ cutNullValues: Tn.value,
1613
1616
  enableRangeHandles: B.value.style.chart.zoom.enableRangeHandles,
1614
1617
  enableSelectionDrag: B.value.style.chart.zoom.enableSelectionDrag,
1615
1618
  end: J.value.end,
@@ -1618,12 +1621,12 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1618
1621
  fontSize: B.value.style.chart.zoom.fontSize,
1619
1622
  immediate: !B.value.style.chart.zoom.preview.enable,
1620
1623
  inputColor: B.value.style.chart.zoom.color,
1621
- isPreview: An.value,
1624
+ isPreview: jn.value,
1622
1625
  labelLeft: B.value.style.chart.grid.x.timeLabels.values[J.value.start] ? Z.value[J.value.start]?.text : "",
1623
1626
  labelRight: B.value.style.chart.grid.x.timeLabels.values[J.value.end - 1] ? Z.value[J.value.end - 1]?.text : "",
1624
1627
  max: U.value,
1625
1628
  min: 0,
1626
- minimap: Tn.value,
1629
+ minimap: En.value,
1627
1630
  minimapCompact: B.value.style.chart.zoom.minimap.compact,
1628
1631
  minimapFrameColor: B.value.style.chart.zoom.minimap.frameColor,
1629
1632
  minimapIndicatorColor: B.value.style.chart.zoom.minimap.indicatorColor,
@@ -1633,7 +1636,7 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1633
1636
  minimapSelectedColorOpacity: B.value.style.chart.zoom.minimap.selectedColorOpacity,
1634
1637
  minimapSelectedIndex: j.value,
1635
1638
  minimapSelectionRadius: B.value.style.chart.zoom.minimap.selectionRadius,
1636
- preciseLabels: Jn.value?.length ? Jn.value : Z.value,
1639
+ preciseLabels: Yn.value?.length ? Yn.value : Z.value,
1637
1640
  refreshEndPoint: B.value.style.chart.zoom.endIndex === null ? U.value : B.value.style.chart.zoom.endIndex + 1,
1638
1641
  refreshStartPoint: B.value.style.chart.zoom.startIndex === null ? 0 : B.value.style.chart.zoom.startIndex,
1639
1642
  selectColor: B.value.style.chart.zoom.highlightColor,
@@ -1655,42 +1658,42 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1655
1658
  handleBorderColor: B.value.style.chart.zoom.minimap.handleBorderColor,
1656
1659
  handleFill: B.value.style.chart.zoom.minimap.handleFill,
1657
1660
  handleWidth: B.value.style.chart.zoom.minimap.handleWidth,
1658
- onFutureEnd: n[1] ||= (e) => jn("end", e),
1659
- onFutureStart: n[2] ||= (e) => jn("start", e),
1660
- onReset: kn,
1661
- onTrapMouse: hn,
1662
- "onUpdate:end": Pn,
1663
- "onUpdate:start": Nn
1661
+ onFutureEnd: n[1] ||= (e) => Mn("end", e),
1662
+ onFutureStart: n[2] ||= (e) => Mn("start", e),
1663
+ onReset: An,
1664
+ onTrapMouse: gn,
1665
+ "onUpdate:end": Fn,
1666
+ "onUpdate:start": Pn
1664
1667
  }, {
1665
1668
  "reset-action": w(({ reset: e }) => [x(t.$slots, "reset-action", v(_({ reset: e })), void 0, !0)]),
1666
1669
  _: 3
1667
1670
  }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.cutNullValues.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapLineColor.minimapMerged.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.minimapSelectionRadius.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.smoothMinimap.start.timeLabels.usePreciseLabels.textColor.useResetSlot.valueEnd.valueStart.verticalHandles.maxWidth.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : h("", !0),
1668
- g("div", { id: `legend-bottom-${E.value}` }, null, 8, lt),
1669
- Ft.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (y(), m(Re, {
1671
+ g("div", { id: `legend-bottom-${E.value}` }, null, 8, ut),
1672
+ It.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (y(), m(ze, {
1670
1673
  key: 3,
1671
1674
  to: B.value.style.chart.legend.position === "top" ? `#legend-top-${E.value}` : `#legend-bottom-${E.value}`
1672
1675
  }, [g("div", {
1673
1676
  ref_key: "chartLegend",
1674
- ref: At
1675
- }, [x(t.$slots, "legend", { legend: Dr.value }, () => [B.value.style.chart.legend.show && z.value ? (y(), m(Ie, {
1676
- legendSet: Dr.value,
1677
- config: Or.value,
1678
- key: `legend_${Pt.value}`,
1679
- isCursorPointer: Yt.value,
1680
- onClickMarker: n[3] ||= ({ i: e }) => Cr(e)
1677
+ ref: jt
1678
+ }, [x(t.$slots, "legend", { legend: Or.value }, () => [B.value.style.chart.legend.show && z.value ? (y(), m(Le, {
1679
+ legendSet: Or.value,
1680
+ config: kr.value,
1681
+ key: `legend_${Ft.value}`,
1682
+ isCursorPointer: Xt.value,
1683
+ onClickMarker: n[3] ||= ({ i: e }) => wr(e)
1681
1684
  }, {
1682
1685
  item: w(({ legend: e, index: t }) => [g("div", {
1683
1686
  onClick: (t) => e.segregate(),
1684
- style: qe(`opacity:${M.value.includes(t) ? .5 : 1}`)
1685
- }, Qe(e.name), 13, ut)]),
1686
- legendToggle: w(() => [Dr.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !S(Qt) ? (y(), m(Ne, {
1687
+ style: Je(`opacity:${M.value.includes(t) ? .5 : 1}`)
1688
+ }, $e(e.name), 13, dt)]),
1689
+ legendToggle: w(() => [Or.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !S($t) ? (y(), m(Pe, {
1687
1690
  key: 0,
1688
1691
  backgroundColor: B.value.style.chart.legend.selectAllToggle.backgroundColor,
1689
1692
  color: B.value.style.chart.legend.selectAllToggle.color,
1690
1693
  fontSize: B.value.style.chart.legend.fontSize,
1691
1694
  checked: M.value.length > 0,
1692
- isCursorPointer: Yt.value,
1693
- onToggle: Sr
1695
+ isCursorPointer: Xt.value,
1696
+ onToggle: Cr
1694
1697
  }, null, 8, [
1695
1698
  "backgroundColor",
1696
1699
  "color",
@@ -1704,31 +1707,31 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1704
1707
  "config",
1705
1708
  "isCursorPointer"
1706
1709
  ])) : h("", !0)], !0)], 512)], 8, ["to"])) : h("", !0),
1707
- t.$slots.watermark ? (y(), ze("div", dt, [x(t.$slots, "watermark", v(_({ isPrinting: S(cn) || S(ln) || Vt.value })), void 0, !0)])) : h("", !0),
1708
- t.$slots.source ? (y(), ze("div", {
1710
+ t.$slots.watermark ? (y(), Be("div", ft, [x(t.$slots, "watermark", v(_({ isPrinting: S(ln) || S(un) || Ht.value })), void 0, !0)])) : h("", !0),
1711
+ t.$slots.source ? (y(), Be("div", {
1709
1712
  key: 5,
1710
1713
  ref_key: "source",
1711
- ref: jt,
1714
+ ref: Mt,
1712
1715
  dir: "auto"
1713
1716
  }, [x(t.$slots, "source", {}, void 0, !0)], 512)) : h("", !0),
1714
- z.value && B.value.userOptions.buttons.table ? (y(), m(Xe(Br.value.component), We({ key: 6 }, Br.value.props, {
1717
+ z.value && B.value.userOptions.buttons.table ? (y(), m(Ze(Vr.value.component), Ge({ key: 6 }, Vr.value.props, {
1715
1718
  ref_key: "tableUnit",
1716
- ref: It,
1717
- onClose: Vr
1718
- }), Be({
1719
- content: w(() => [(y(), m(S(mt), {
1720
- key: `table_${Nt.value}`,
1721
- colNames: kr.value.colNames,
1722
- head: kr.value.head,
1723
- body: kr.value.body,
1724
- config: kr.value.config,
1725
- title: B.value.table.useDialog ? "" : Br.value.title,
1719
+ ref: Lt,
1720
+ onClose: Hr
1721
+ }), Ve({
1722
+ content: w(() => [(y(), m(S(ht), {
1723
+ key: `table_${Pt.value}`,
1724
+ colNames: Ar.value.colNames,
1725
+ head: Ar.value.head,
1726
+ body: Ar.value.body,
1727
+ config: Ar.value.config,
1728
+ title: B.value.table.useDialog ? "" : Vr.value.title,
1726
1729
  withCloseButton: !B.value.table.useDialog,
1727
- isCursorPointer: Yt.value,
1728
- onClose: Vr
1730
+ isCursorPointer: Xt.value,
1731
+ onClose: Hr
1729
1732
  }, {
1730
- th: w(({ th: e }) => [g("div", { innerHTML: e }, null, 8, ft)]),
1731
- td: w(({ td: e }) => [Ve(Qe(e), 1)]),
1733
+ th: w(({ th: e }) => [g("div", { innerHTML: e }, null, 8, pt)]),
1734
+ td: w(({ td: e }) => [He($e(e), 1)]),
1732
1735
  _: 1
1733
1736
  }, 8, [
1734
1737
  "colNames",
@@ -1742,29 +1745,29 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1742
1745
  _: 2
1743
1746
  }, [B.value.table.useDialog ? {
1744
1747
  name: "title",
1745
- fn: w(() => [Ve(Qe(Br.value.title), 1)]),
1748
+ fn: w(() => [He($e(Vr.value.title), 1)]),
1746
1749
  key: "0"
1747
1750
  } : void 0, B.value.table.useDialog ? {
1748
1751
  name: "actions",
1749
1752
  fn: w(() => [g("button", {
1750
1753
  tabindex: "0",
1751
1754
  class: "vue-ui-user-options-button",
1752
- onClick: n[4] ||= (e) => jr(B.value.userOptions.callbacks.csv),
1753
- style: qe({ cursor: Yt.value ? "pointer" : "default" })
1754
- }, [He(Ae, {
1755
+ onClick: n[4] ||= (e) => Mr(B.value.userOptions.callbacks.csv),
1756
+ style: Je({ cursor: Xt.value ? "pointer" : "default" })
1757
+ }, [Ue(je, {
1755
1758
  name: "fileCsv",
1756
- stroke: Br.value.props.color
1759
+ stroke: Vr.value.props.color
1757
1760
  }, null, 8, ["stroke"])], 4)]),
1758
1761
  key: "1"
1759
1762
  } : void 0]), 1040)) : h("", !0),
1760
- B.value.userOptions.buttons.annotator && q.value.length ? (y(), m(S(gt), {
1763
+ B.value.userOptions.buttons.annotator && q.value.length ? (y(), m(S(_t), {
1761
1764
  key: 7,
1762
1765
  parent: D.value,
1763
1766
  backgroundColor: B.value.style.chart.backgroundColor,
1764
1767
  color: B.value.style.chart.color,
1765
- active: Lr.value,
1766
- isCursorPointer: Yt.value,
1767
- onClose: Rr
1768
+ active: Rr.value,
1769
+ isCursorPointer: Xt.value,
1770
+ onClose: zr
1768
1771
  }, {
1769
1772
  "annotator-action-close": w(() => [x(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1770
1773
  "annotator-action-color": w(({ color: e }) => [x(t.$slots, "annotator-action-color", v(_({ color: e })), void 0, !0)]),
@@ -1780,8 +1783,8 @@ var nt = /* @__PURE__ */ e({ default: () => pt }), rt = ["id"], it = ["id"], at
1780
1783
  "active",
1781
1784
  "isCursorPointer"
1782
1785
  ])) : h("", !0)
1783
- ], 46, rt));
1786
+ ], 46, it));
1784
1787
  }
1785
- }, [["__scopeId", "data-v-f934e863"]]);
1788
+ }, [["__scopeId", "data-v-926aa518"]]);
1786
1789
  //#endregion
1787
- export { nt as n, pt as t };
1790
+ export { rt as n, mt as t };