vue-data-ui 3.25.11 → 3.25.13

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 (205) hide show
  1. package/dist/{Arrow-DLn-pcrh.js → Arrow-BhZDUeMp.js} +1 -1
  2. package/dist/{BaseDraggableDialog-Gm4Q30j0.js → BaseDraggableDialog-Ck6R5Q0K.js} +2 -2
  3. package/dist/{BaseIcon-D8R6_sKH.js → BaseIcon-Dlz7gfx0.js} +1 -1
  4. package/dist/{BaseLegendToggle-CXQrLjd-.js → BaseLegendToggle-DGG65LAR.js} +1 -1
  5. package/dist/{BaseZoomControls-BTzjVDPM.js → BaseZoomControls-BK0PxEa8.js} +2 -2
  6. package/dist/{ColorPicker-CUy15T72.js → ColorPicker-DMTwxvi_.js} +2 -2
  7. package/dist/{DataTable-oiM9uWrQ.js → DataTable-BD1eZ0zB.js} +2 -2
  8. package/dist/{HillActions-Dn8aKOVJ.js → HillActions-CiP2m7Nz.js} +1 -1
  9. package/dist/{Legend-X4kF4PvW.js → Legend-C0Ln0VNe.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-DFXjpRyl.js → NonSvgPenAndPaper-BjrMLISf.js} +3 -3
  11. package/dist/{PackageVersion-CEvZNFTz.js → PackageVersion-D5QkTJQU.js} +1 -1
  12. package/dist/{PenAndPaper-Cd3nItcO.js → PenAndPaper-XdUD8uB3.js} +3 -3
  13. package/dist/{Shape-CIqU-p2F.js → Shape-VCdxvFV9.js} +3 -3
  14. package/dist/{SlicerPreview-Ccss7Vsq.js → SlicerPreview-BJ4usfYd.js} +21 -21
  15. package/dist/{SparkTooltip-L3SliZbR.js → SparkTooltip-B1gRxPfb.js} +6 -6
  16. package/dist/{Title-CPHi-evi.js → Title-DeqmC-vN.js} +1 -1
  17. package/dist/{Tooltip-hhrkQ3Lk.js → Tooltip-DZ4a3XJQ.js} +1 -1
  18. package/dist/{UserOptions-qo_Tsqci.js → UserOptions-wFD9vo9g.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-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-label.js +1 -1
  51. package/dist/components/vue-ui-mini-loader.js +1 -1
  52. package/dist/components/vue-ui-molecule.js +1 -1
  53. package/dist/components/vue-ui-mood-radar.js +1 -1
  54. package/dist/components/vue-ui-nested-donuts.js +1 -1
  55. package/dist/components/vue-ui-onion.js +1 -1
  56. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  57. package/dist/components/vue-ui-quadrant.js +1 -1
  58. package/dist/components/vue-ui-quick-chart.js +1 -1
  59. package/dist/components/vue-ui-radar.js +1 -1
  60. package/dist/components/vue-ui-rating.js +1 -1
  61. package/dist/components/vue-ui-relation-circle.js +1 -1
  62. package/dist/components/vue-ui-ridgeline.js +1 -1
  63. package/dist/components/vue-ui-rings.js +1 -1
  64. package/dist/components/vue-ui-scatter.js +1 -1
  65. package/dist/components/vue-ui-skeleton.js +1 -1
  66. package/dist/components/vue-ui-smiley.js +1 -1
  67. package/dist/components/vue-ui-spark-trend.js +1 -1
  68. package/dist/components/vue-ui-sparkbar.js +1 -1
  69. package/dist/components/vue-ui-sparkgauge.js +1 -1
  70. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  71. package/dist/components/vue-ui-sparkline.js +1 -1
  72. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  73. package/dist/components/vue-ui-stackbar.js +1 -1
  74. package/dist/components/vue-ui-stackline.js +1 -1
  75. package/dist/components/vue-ui-strip-plot.js +1 -1
  76. package/dist/components/vue-ui-table-heatmap.js +1 -1
  77. package/dist/components/vue-ui-table-sparkline.js +1 -1
  78. package/dist/components/vue-ui-table.js +1 -1
  79. package/dist/components/vue-ui-thermometer.js +1 -1
  80. package/dist/components/vue-ui-timer.js +1 -1
  81. package/dist/components/vue-ui-tiremarks.js +1 -1
  82. package/dist/components/vue-ui-treemap.js +1 -1
  83. package/dist/components/vue-ui-vertical-bar.js +1 -1
  84. package/dist/components/vue-ui-waffle.js +1 -1
  85. package/dist/components/vue-ui-wheel.js +1 -1
  86. package/dist/components/vue-ui-word-cloud.js +1 -1
  87. package/dist/components/vue-ui-world.js +1 -1
  88. package/dist/components/vue-ui-xy-canvas.js +1 -1
  89. package/dist/components/vue-ui-xy.js +1 -1
  90. package/dist/{dom-to-png-BR4imuKV.js → dom-to-png-DdqmzDdY.js} +1 -1
  91. package/dist/exposedLib-BBtjpydc.js +28 -0
  92. package/dist/{img-BkMKbWsI.js → img-W50sC9SC.js} +1 -1
  93. package/dist/{labelUtils-BXX2NzRe.js → labelUtils-Dvm-7rse.js} +1 -1
  94. package/dist/{lib-Dql7cqyA.js → lib-DOpaUOQx.js} +191 -88
  95. package/dist/{package-B10eQN5L.js → package-Cmcke8zR.js} +1 -1
  96. package/dist/{pdf-BSOs_GZz.js → pdf-zGbDDpCi.js} +1 -1
  97. package/dist/{render-common-CZ6-MONw.js → render-common-CG1wuHZY.js} +16 -16
  98. package/dist/ssr/vue-ui-donut.js +1 -1
  99. package/dist/ssr/vue-ui-xy.js +1 -1
  100. package/dist/ssr.js +2 -2
  101. package/dist/style.css +1 -1
  102. package/dist/types/vue-data-ui.d.ts +6 -0
  103. package/dist/{useConfig-D32D002m.js → useConfig-C2uy4ltq.js} +2 -0
  104. package/dist/{useNestedProp-Chvyfpl-.js → useNestedProp-Bux0f4iY.js} +1 -1
  105. package/dist/{useObjectBindings-Cd_WuYIn.js → useObjectBindings-CEuNiBIT.js} +1 -1
  106. package/dist/{usePrinter-hohanNCX.js → usePrinter-BBBooAGP.js} +2 -2
  107. package/dist/utils.js +13 -13
  108. package/dist/{vue-data-ui-zJ1rNxIN.js → vue-data-ui-BVzA0tEV.js} +70 -70
  109. package/dist/vue-data-ui.js +75 -75
  110. package/dist/{vue-ui-3d-bar-CKTAkCAN.js → vue-ui-3d-bar-Ckauu3d4.js} +536 -536
  111. package/dist/{vue-ui-accordion-DmkL8A59.js → vue-ui-accordion-yHZMJLaY.js} +4 -4
  112. package/dist/vue-ui-age-pyramid-BczIt1-U.js +1305 -0
  113. package/dist/{vue-ui-annotator-BLYRy--7.js → vue-ui-annotator-BGB6K6u0.js} +60 -60
  114. package/dist/{vue-ui-bullet-Ck398xn8.js → vue-ui-bullet-BoTsLccZ.js} +84 -84
  115. package/dist/{vue-ui-bump-DyA47yse.js → vue-ui-bump-B5ztSSQO.js} +105 -105
  116. package/dist/{vue-ui-candlestick-DCavjk1j.js → vue-ui-candlestick-BJtdA4Yu.js} +98 -98
  117. package/dist/vue-ui-carousel-table-D-3KSWok.js +467 -0
  118. package/dist/vue-ui-chestnut-W2l-W0_e.js +2016 -0
  119. package/dist/{vue-ui-chord-GgA7QFUH.js → vue-ui-chord-BFPQsMj8.js} +63 -63
  120. package/dist/{vue-ui-circle-pack-BUXTVdy3.js → vue-ui-circle-pack-BtPc1BR3.js} +50 -50
  121. package/dist/{vue-ui-cursor-CEejESe_.js → vue-ui-cursor-CpNOiwkt.js} +61 -61
  122. package/dist/{vue-ui-dag-C1c6scxC.js → vue-ui-dag-i-zPwLcN.js} +44 -44
  123. package/dist/{vue-ui-dashboard-BZBJM7dN.js → vue-ui-dashboard-DtaW9a2P.js} +70 -70
  124. package/dist/{vue-ui-digits-CsougDlU.js → vue-ui-digits-BIlec9af.js} +4 -4
  125. package/dist/{vue-ui-donut-lBgSYKgO.js → vue-ui-donut-Bgf-n95J.js} +551 -551
  126. package/dist/{vue-ui-donut-Be9jKelz.js → vue-ui-donut-CJlBEyxu.js} +203 -203
  127. package/dist/vue-ui-donut-evolution-C0BKntfL.js +1552 -0
  128. package/dist/{vue-ui-dumbbell-CwmA5x9G.js → vue-ui-dumbbell-C112YLkC.js} +87 -87
  129. package/dist/{vue-ui-flow-CRhh8SSN.js → vue-ui-flow-j4bDg9Zd.js} +99 -99
  130. package/dist/{vue-ui-funnel-DH1hW8Gw.js → vue-ui-funnel-CVHpfBCW.js} +40 -40
  131. package/dist/vue-ui-galaxy-ChGpUWh8.js +1097 -0
  132. package/dist/{vue-ui-gauge-CV4-Rn7K.js → vue-ui-gauge-Cp00vXfG.js} +190 -190
  133. package/dist/{vue-ui-geo-BocLrguL.js → vue-ui-geo-B4hDk5NO.js} +12 -12
  134. package/dist/{vue-ui-gizmo-6wKlI5PC.js → vue-ui-gizmo-D6nCCsS4.js} +54 -54
  135. package/dist/vue-ui-heatmap-scVJc1cw.js +1606 -0
  136. package/dist/{vue-ui-hill-CeIZZFf5.js → vue-ui-hill-DnYUHGAK.js} +21 -21
  137. package/dist/vue-ui-history-plot-C5qAMaaW.js +1710 -0
  138. package/dist/{vue-ui-horizontal-bar-D2aw-8tx.js → vue-ui-horizontal-bar-nEG4uvpv.js} +85 -85
  139. package/dist/{vue-ui-kpi-BQ967gzv.js → vue-ui-kpi-DOxId6xg.js} +12 -12
  140. package/dist/{vue-ui-label-Cs4ZlAqr.js → vue-ui-label-BDKY7BI7.js} +4 -4
  141. package/dist/{vue-ui-mini-loader-wGeACd-Y.js → vue-ui-mini-loader-BknVs9VJ.js} +3 -3
  142. package/dist/vue-ui-molecule-_x232mMu.js +941 -0
  143. package/dist/vue-ui-mood-radar-D-F4855V.js +1111 -0
  144. package/dist/{vue-ui-nested-donuts-DT2zkLx2.js → vue-ui-nested-donuts-0E5IllFW.js} +481 -481
  145. package/dist/vue-ui-onion-Eip0S1H7.js +1247 -0
  146. package/dist/vue-ui-parallel-coordinate-plot-DO0sQdJw.js +1444 -0
  147. package/dist/vue-ui-quadrant-CA0ClWfL.js +1979 -0
  148. package/dist/{vue-ui-quick-chart-CkPu6GMh.js → vue-ui-quick-chart-D-VuAoll.js} +169 -169
  149. package/dist/vue-ui-radar-BTD7Y0Ps.js +1386 -0
  150. package/dist/vue-ui-rating-C_Qj6gnP.js +359 -0
  151. package/dist/vue-ui-relation-circle-CcxLBVFV.js +905 -0
  152. package/dist/vue-ui-ridgeline-BZrzbbhb.js +1630 -0
  153. package/dist/{vue-ui-rings-CBtHZ5Pp.js → vue-ui-rings-CO48GOP2.js} +78 -78
  154. package/dist/{vue-ui-scatter-DzePsQEe.js → vue-ui-scatter-DrxUgZbQ.js} +136 -136
  155. package/dist/{vue-ui-skeleton-C347nFnE.js → vue-ui-skeleton-CeKjW4MX.js} +510 -510
  156. package/dist/{vue-ui-smiley-BIjAIpJ9.js → vue-ui-smiley-BvRwx69s.js} +6 -6
  157. package/dist/{vue-ui-spark-trend-Di_7Da43.js → vue-ui-spark-trend-DnujGRyt.js} +96 -96
  158. package/dist/{vue-ui-sparkbar-CbJ-fKc6.js → vue-ui-sparkbar-Cd_uhYGD.js} +113 -113
  159. package/dist/vue-ui-sparkgauge-hT31YEtt.js +268 -0
  160. package/dist/vue-ui-sparkhistogram-PKlTYhKA.js +589 -0
  161. package/dist/vue-ui-sparkline-BSu1uRvP.js +1610 -0
  162. package/dist/{vue-ui-sparkstackbar-IM_l98X-.js → vue-ui-sparkstackbar-R0ij2vi1.js} +183 -183
  163. package/dist/vue-ui-stackbar-BrzzkGFk.js +2369 -0
  164. package/dist/vue-ui-stackline-zEX3gR3y.js +2483 -0
  165. package/dist/{vue-ui-strip-plot-CVV0t6mb.js → vue-ui-strip-plot-DR3N56rS.js} +253 -253
  166. package/dist/{vue-ui-table-nAGCIZKg.js → vue-ui-table-Bg6BeLrf.js} +117 -117
  167. package/dist/{vue-ui-table-heatmap-D5F5bLx5.js → vue-ui-table-heatmap-C1b1Pcp8.js} +95 -95
  168. package/dist/vue-ui-table-sparkline-CkVXyequ.js +738 -0
  169. package/dist/{vue-ui-thermometer-Ccr2ZnzI.js → vue-ui-thermometer-CqkaMF7Z.js} +23 -23
  170. package/dist/{vue-ui-timer-DkW-P6EG.js → vue-ui-timer-CgJvNwBv.js} +13 -13
  171. package/dist/{vue-ui-tiremarks-Bf2anKLr.js → vue-ui-tiremarks-B078YJ9M.js} +30 -30
  172. package/dist/{vue-ui-treemap-Wy61KlkN.js → vue-ui-treemap-Cfjf8mDl.js} +77 -77
  173. package/dist/vue-ui-waffle-BZIcPa0l.js +1633 -0
  174. package/dist/{vue-ui-wheel-DGhu_B8n.js → vue-ui-wheel-CPTm8AHn.js} +185 -185
  175. package/dist/{vue-ui-word-cloud-CdRMst8U.js → vue-ui-word-cloud-DnGblUwj.js} +46 -46
  176. package/dist/{vue-ui-world-Bc4hMzzB.js → vue-ui-world-KkcpeKqp.js} +133 -133
  177. package/dist/vue-ui-xy-C6lVqZnx.js +5367 -0
  178. package/dist/{vue-ui-xy-CbgQs7yW.js → vue-ui-xy-ClCV7xA5.js} +169 -169
  179. package/dist/{vue-ui-xy-canvas-R2xbgDOy.js → vue-ui-xy-canvas-BlpCbXKR.js} +435 -435
  180. package/package.json +1 -1
  181. package/dist/exposedLib-CG3aXJ-v.js +0 -28
  182. package/dist/vue-ui-age-pyramid-SpPactMh.js +0 -1305
  183. package/dist/vue-ui-carousel-table-DCnVD0BJ.js +0 -467
  184. package/dist/vue-ui-chestnut-BDBdizBp.js +0 -2016
  185. package/dist/vue-ui-donut-evolution-vLMhwz4K.js +0 -1552
  186. package/dist/vue-ui-galaxy-CiqILfxR.js +0 -1097
  187. package/dist/vue-ui-heatmap-DGXXRsr4.js +0 -1606
  188. package/dist/vue-ui-history-plot-CporPpg9.js +0 -1710
  189. package/dist/vue-ui-molecule-CvDC9Ht5.js +0 -941
  190. package/dist/vue-ui-mood-radar-BK1va5-H.js +0 -1111
  191. package/dist/vue-ui-onion-DPMikBzZ.js +0 -1247
  192. package/dist/vue-ui-parallel-coordinate-plot-DMPxUL3p.js +0 -1444
  193. package/dist/vue-ui-quadrant-DFkIeJXo.js +0 -1979
  194. package/dist/vue-ui-radar-B3OOLJal.js +0 -1386
  195. package/dist/vue-ui-rating-Criq0ofQ.js +0 -359
  196. package/dist/vue-ui-relation-circle-I6e5UxgY.js +0 -905
  197. package/dist/vue-ui-ridgeline-FmmdCdy9.js +0 -1630
  198. package/dist/vue-ui-sparkgauge-Bb9-yFTb.js +0 -268
  199. package/dist/vue-ui-sparkhistogram-kbbbDVul.js +0 -589
  200. package/dist/vue-ui-sparkline-BF0Fdo6v.js +0 -1587
  201. package/dist/vue-ui-stackbar-CaEXVeo5.js +0 -2369
  202. package/dist/vue-ui-stackline-MgvhcBfm.js +0 -2483
  203. package/dist/vue-ui-table-sparkline-Bf2hjBwq.js +0 -738
  204. package/dist/vue-ui-waffle-CkIFp-AN.js +0 -1633
  205. package/dist/vue-ui-xy-DybWfQrI.js +0 -5298
@@ -1,31 +1,31 @@
1
1
  import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
2
- import { $ as t, Ct as n, D as r, Lt as i, Ot as a, Pt as o, S as s, Ut as c, Vt as l, X as u, Yt as ee, Z as te, Zt as ne, _ as re, bt as ie, i as ae, jt as oe, lt as se, nt as ce, o as le, pt as ue, q as de, w as fe } from "./lib-Dql7cqyA.js";
3
- import { n as pe, t as me } from "./useHints-Dq_w2E8B.js";
4
- import { n as he, r as ge, t as _e } from "./useTimeLabels-d2f-W1L4.js";
5
- import { t as ve } from "./useConfig-D32D002m.js";
6
- import { t as ye } from "./usePrinter-hohanNCX.js";
7
- import { n as be, t as xe } from "./BaseScanner-Dzc8VT3j.js";
8
- import { t as Se } from "./useNestedProp-Chvyfpl-.js";
9
- import { t as Ce } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as we } from "./img-BkMKbWsI.js";
11
- import { n as Te } from "./Title-CPHi-evi.js";
12
- import { t as Ee } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
- import { a as d, c as De, i as Oe, l as ke, n as Ae, o as je, r as Me, s as Ne, t as Pe } from "./useResponsive-ZtArZtUf.js";
14
- import { t as Fe } from "./BaseIcon-D8R6_sKH.js";
15
- import { t as Ie } from "./SlicerPreview-Ccss7Vsq.js";
16
- import { t as Le } from "./vue-ui-accordion-DmkL8A59.js";
17
- import { t as Re } from "./BaseLegendToggle-CXQrLjd-.js";
18
- import { t as ze } from "./useUserOptionState-DK-_1ddE.js";
19
- import { t as Be } from "./useChartAccessibility-DYqac8yF.js";
20
- import { t as Ve } from "./Legend-X4kF4PvW.js";
21
- import { t as He } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
- import { Teleport as Ue, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as We, createElementVNode as h, createSlots as Ge, createTextVNode as Ke, createVNode as qe, defineAsyncComponent as Je, guardReactiveProps as g, mergeProps as Ye, nextTick as Xe, normalizeClass as Ze, normalizeProps as _, normalizeStyle as Qe, onBeforeUnmount as $e, onMounted as et, openBlock as v, ref as y, renderSlot as b, resolveDynamicComponent as tt, shallowRef as nt, toDisplayString as rt, toRefs as it, unref as x, useSlots as at, watch as S, watchEffect as ot, withCtx as C } from "vue";
2
+ import { $ as t, $t as n, Ct as r, D as i, Et as a, Gt as o, Pt as s, Rt as ee, S as c, Vt as l, X as te, _ as ne, at as re, et as ie, ft as ae, gt as oe, i as se, jt as ce, nt as le, o as ue, qt as de, tn as fe, w as pe } from "./lib-DOpaUOQx.js";
3
+ import { n as me, t as he } from "./useHints-Dq_w2E8B.js";
4
+ import { n as ge, r as _e, t as ve } from "./useTimeLabels-d2f-W1L4.js";
5
+ import { t as ye } from "./useConfig-C2uy4ltq.js";
6
+ import { t as be } from "./usePrinter-BBBooAGP.js";
7
+ import { n as xe, t as Se } from "./BaseScanner-Dzc8VT3j.js";
8
+ import { t as Ce } from "./useNestedProp-Bux0f4iY.js";
9
+ import { t as we } from "./useThemeCheck-C43Tcqmk.js";
10
+ import { t as Te } from "./img-W50sC9SC.js";
11
+ import { n as Ee } from "./Title-DeqmC-vN.js";
12
+ import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
13
+ import { a as u, c as Oe, i as ke, l as Ae, n as je, o as Me, r as Ne, s as Pe, t as Fe } from "./useResponsive-ZtArZtUf.js";
14
+ import { t as Ie } from "./BaseIcon-Dlz7gfx0.js";
15
+ import { t as Le } from "./SlicerPreview-BJ4usfYd.js";
16
+ import { t as Re } from "./vue-ui-accordion-yHZMJLaY.js";
17
+ import { t as ze } from "./BaseLegendToggle-DGG65LAR.js";
18
+ import { t as Be } from "./useUserOptionState-DK-_1ddE.js";
19
+ import { t as Ve } from "./useChartAccessibility-DYqac8yF.js";
20
+ import { t as He } from "./Legend-C0Ln0VNe.js";
21
+ import { t as Ue } from "./vue_ui_xy_canvas-Cb6dg3eK.js";
22
+ import { Teleport as We, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as Ge, createElementVNode as m, createSlots as Ke, createTextVNode as qe, createVNode as Je, defineAsyncComponent as Ye, guardReactiveProps as h, mergeProps as Xe, nextTick as Ze, normalizeClass as Qe, normalizeProps as g, normalizeStyle as $e, onBeforeUnmount as et, onMounted as tt, openBlock as _, ref as v, renderSlot as y, resolveDynamicComponent as nt, shallowRef as rt, toDisplayString as it, toRefs as at, unref as b, useSlots as ot, watch as x, watchEffect as st, withCtx as S } from "vue";
23
23
  //#region src/components/vue-ui-xy-canvas.vue
24
- var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut = {
24
+ var ct = /* @__PURE__ */ e({ default: () => bt }), lt = ["id"], ut = ["id"], dt = {
25
25
  class: "sr-only",
26
26
  "aria-live": "polite",
27
27
  "aria-atomic": "true"
28
- }, dt = ["id"], ft = ["aria-label", "aria-describedby"], pt = {
28
+ }, ft = ["id"], pt = ["aria-label", "aria-describedby"], mt = {
29
29
  key: 0,
30
30
  style: {
31
31
  position: "absolute",
@@ -35,10 +35,10 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
35
35
  },
36
36
  "data-dom-to-png-ignore": "",
37
37
  "aria-hidden": "true"
38
- }, mt = ["id"], ht = ["onClick"], gt = {
38
+ }, ht = ["id"], gt = ["onClick"], _t = {
39
39
  key: 4,
40
40
  class: "vue-data-ui-watermark"
41
- }, _t = { key: 0 }, vt = { key: 1 }, yt = /*#__PURE__*/ Ee({
41
+ }, vt = { key: 0 }, yt = { key: 1 }, bt = /*#__PURE__*/ De({
42
42
  __name: "vue-ui-xy-canvas",
43
43
  props: {
44
44
  dataset: {
@@ -63,17 +63,17 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
63
63
  "selectX",
64
64
  "copyAlt"
65
65
  ],
66
- setup(e, { expose: Ee, emit: st }) {
67
- let yt = Je(() => import("./Tooltip-hhrkQ3Lk.js")), bt = Je(() => import("./DataTable-oiM9uWrQ.js")), xt = Je(() => import("./UserOptions-qo_Tsqci.js").then((e) => e.n)), St = Je(() => import("./NonSvgPenAndPaper-DFXjpRyl.js")), Ct = Je(() => import("./BaseDraggableDialog-Gm4Q30j0.js").then((e) => e.n)), { vue_ui_xy_canvas: wt } = ve(), { isThemeValid: Tt, warnInvalidTheme: Et } = Ce(), w = e, Dt = y(de()), Ot = y(null), kt = y(null), T = y(null), E = y(1), At = y(1), jt = y(!1), D = y(null), Mt = y(""), Nt = y(null), O = y([]), Pt = y(1), k = y(!0), A = y(!0), Ft = y(null), It = y(0), Lt = y(!1), Rt = y(null), zt = y(null), Bt = y(null), Vt = y(null), Ht = y(0), Ut = y(0), Wt = y(0), Gt = y(null), Kt = y(!1), qt = y(null), Jt = y(null), Yt = y(!1), Xt = y(!1), Zt = y(!1), j = y(null), Qt = y(!1), $t = y(!1), en = y(!1), M = y(null), tn = y({
66
+ setup(e, { expose: De, emit: ct }) {
67
+ let bt = Ye(() => import("./Tooltip-DZ4a3XJQ.js")), xt = Ye(() => import("./DataTable-BD1eZ0zB.js")), St = Ye(() => import("./UserOptions-wFD9vo9g.js").then((e) => e.n)), Ct = Ye(() => import("./NonSvgPenAndPaper-BjrMLISf.js")), wt = Ye(() => import("./BaseDraggableDialog-Ck6R5Q0K.js").then((e) => e.n)), { vue_ui_xy_canvas: Tt } = ye(), { isThemeValid: Et, warnInvalidTheme: Dt } = we(), C = e, Ot = v(te()), kt = v(null), At = v(null), w = v(null), T = v(1), jt = v(1), Mt = v(!1), E = v(null), Nt = v(""), Pt = v(null), D = v([]), Ft = v(1), O = v(!0), k = v(!0), It = v(null), Lt = v(0), Rt = v(!1), zt = v(null), Bt = v(null), Vt = v(null), Ht = v(null), Ut = v(0), Wt = v(0), Gt = v(0), A = v(null), Kt = v(!1), qt = v(null), Jt = v(null), Yt = v(!1), Xt = v(!1), Zt = v(!1), j = v(null), Qt = v(!1), $t = v(!1), en = v(!1), M = v(null), tn = v({
68
68
  x: 0,
69
69
  y: 0
70
- }), N = f(() => Array.isArray(fn.value) && fn.value.length > 0), nn = st, rn = at(), P = y(vn()), F = f(() => P.value.userOptions), I = f(() => P.value.style.chart.tooltip), L = f(() => P.value.style.chart.grid.y.verticalLines), an = f(() => P.value.style.chart.grid.x.horizontalLines), R = f(() => P.value.style.chart.grid.y.axisLabels), z = f(() => P.value.style.chart.grid.x.timeLabels), B = f(() => P.value.style.chart.grid), V = f(() => P.value.style.chart.dataLabels), H = f(() => P.value.style.chart);
71
- pe({
70
+ }), N = d(() => Array.isArray(fn.value) && fn.value.length > 0), nn = ct, rn = ot(), P = v(vn()), F = d(() => P.value.userOptions), I = d(() => P.value.style.chart.tooltip), L = d(() => P.value.style.chart.grid.y.verticalLines), an = d(() => P.value.style.chart.grid.x.horizontalLines), R = d(() => P.value.style.chart.grid.y.axisLabels), z = d(() => P.value.style.chart.grid.x.timeLabels), B = d(() => P.value.style.chart.grid), V = d(() => P.value.style.chart.dataLabels), H = d(() => P.value.style.chart);
71
+ me({
72
72
  config: () => P.value,
73
- dataset: () => w.dataset,
73
+ dataset: () => C.dataset,
74
74
  component: "VueUiXyCanvas",
75
75
  rules: [
76
- me.emptyArray,
76
+ he.emptyArray,
77
77
  {
78
78
  test: (e) => e.every((e) => e.series.length < 300),
79
79
  message: [
@@ -92,21 +92,21 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
92
92
  }
93
93
  ]
94
94
  });
95
- let on = f(() => {
95
+ let on = d(() => {
96
96
  let e = H.value.title.text || "XY chart", t = X.value.end - X.value.start;
97
- return `${e}. ${Y.value.filter((e) => !O.value.includes(e.absoluteIndex)).length} series. ${t} visible data points.`;
98
- }), sn = f(() => {
97
+ return `${e}. ${Y.value.filter((e) => !D.value.includes(e.absoluteIndex)).length} series. ${t} visible data points.`;
98
+ }), sn = d(() => {
99
99
  if (M.value === null) return "";
100
100
  let e = M.value + X.value.start;
101
- return `${z.value.values.slice(X.value.start, X.value.end)[M.value] ? I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[M.value]?.text : lr.value[M.value]?.text : $.value[e]?.text ?? `Point ${e + 1}`}. ${Y.value.filter((e) => !O.value.includes(e.absoluteIndex)).map((e) => {
101
+ return `${z.value.values.slice(X.value.start, X.value.end)[M.value] ? I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[M.value]?.text : lr.value[M.value]?.text : $.value[e]?.text ?? `Point ${e + 1}`}. ${Y.value.filter((e) => !D.value.includes(e.absoluteIndex)).map((e) => {
102
102
  let t = e.series[M.value], n = t?.value ?? t ?? null;
103
103
  return `${e.name}: ${n}`;
104
104
  }).join(". ")}.`;
105
- }), cn = f(() => F.value.useCursorPointer), ln = f(() => P.value.debug);
106
- et(() => {
105
+ }), cn = d(() => F.value.useCursorPointer), ln = d(() => P.value.debug);
106
+ tt(() => {
107
107
  rn["chart-background"] && ln.value && console.warn("VueUiXyCanvas does not support the #chart-background slot.");
108
108
  });
109
- let un = f(() => ne({
109
+ let un = d(() => fe({
110
110
  defaultConfig: {
111
111
  userOptions: { show: !1 },
112
112
  table: { show: !1 },
@@ -140,11 +140,11 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
140
140
  } }
141
141
  },
142
142
  userConfig: P.value.skeletonConfig ?? {}
143
- })), { loading: dn, FINAL_DATASET: fn } = be({
144
- ...it(w),
143
+ })), { loading: dn, FINAL_DATASET: fn } = xe({
144
+ ...at(C),
145
145
  FINAL_CONFIG: P,
146
146
  prepareConfig: vn,
147
- skeletonDataset: w.config?.skeletonDataset ?? [{
147
+ skeletonDataset: C.config?.skeletonDataset ?? [{
148
148
  name: "",
149
149
  series: [
150
150
  0,
@@ -182,11 +182,11 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
182
182
  type: "bar",
183
183
  color: "#AAAAAA"
184
184
  }],
185
- skeletonConfig: ne({
185
+ skeletonConfig: fe({
186
186
  defaultConfig: P.value,
187
187
  userConfig: un.value
188
188
  })
189
- }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = ze({ config: P.value }), { svgRef: U } = Be({ config: H.value.title });
189
+ }), { userOptionsVisible: pn, setUserOptionsVisibility: mn, keepUserOptionState: hn } = Be({ config: P.value }), { svgRef: U } = Ve({ config: H.value.title });
190
190
  function gn() {
191
191
  mn(!0);
192
192
  }
@@ -195,40 +195,40 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
195
195
  dataset: null,
196
196
  index: null,
197
197
  indexLabel: null
198
- }), D.value = null;
198
+ }), E.value = null;
199
199
  }
200
200
  function vn() {
201
- let e = Se({
202
- userConfig: w.config,
203
- defaultConfig: wt
204
- }), t = {}, n = e.theme;
205
- if (n) {
206
- if (!Tt.value(e)) Et(e), t = e;
201
+ let e = Ce({
202
+ userConfig: C.config,
203
+ defaultConfig: Tt
204
+ }), t = {}, i = e.theme;
205
+ if (i) {
206
+ if (!Et.value(e)) Dt(e), t = e;
207
207
  else {
208
- let r = Se({
209
- userConfig: He[n] || w.config,
208
+ let r = Ce({
209
+ userConfig: Ue[i] || C.config,
210
210
  defaultConfig: e
211
211
  });
212
212
  t = {
213
- ...Se({
214
- userConfig: w.config,
213
+ ...Ce({
214
+ userConfig: C.config,
215
215
  defaultConfig: r
216
216
  }),
217
- customPalette: e.customPalette.length ? e.customPalette : ee[n] || i
217
+ customPalette: e.customPalette.length ? e.customPalette : n[i] || l
218
218
  };
219
219
  }
220
220
  } else t = e;
221
- return w.config && ie(w.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 = Se({
221
+ return C.config && r(C.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 = Ce({
222
222
  defaultConfig: t.style.chart.grid.x.timeLabels,
223
- userConfig: w.config.style.chart.grid.y.timeLabels
223
+ userConfig: C.config.style.chart.grid.y.timeLabels
224
224
  })), t;
225
225
  }
226
226
  function yn(e) {
227
- let t = te(e);
227
+ let t = ie(e);
228
228
  return t?.style?.chart && delete t.style.chart.tooltip, JSON.stringify(t);
229
229
  }
230
- let bn = yn(w.config);
231
- S(() => w.config, (e, t) => {
230
+ let bn = yn(C.config);
231
+ x(() => C.config, (e, t) => {
232
232
  let n = yn(e), r = n !== bn;
233
233
  bn = n;
234
234
  let i = vn();
@@ -236,42 +236,42 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
236
236
  P.value.style.chart.tooltip = i.style.chart.tooltip, W.value.showTooltip = P.value.style.chart.tooltip.show;
237
237
  return;
238
238
  }
239
- dn.value || (P.value = i), pn.value = !F.value.showOnChartHover, Lr(), Ht.value += 1, Ut.value += 1, Wt.value += 1, W.value.showTable = P.value.table.show, W.value.showDataLabels = V.value.show, W.value.stacked = H.value.stacked, W.value.showTooltip = I.value.show;
240
- }, { deep: !0 }), S(() => w.dataset, async (e) => {
241
- Array.isArray(e) && e.length !== 0 && (await Xe(), U.value && !T.value && (T.value = U.value.getContext("2d", { willReadFrequently: !0 })), k.value = !0, A.value = !0, await Un(), Qn(), Ht.value += 1, Ut.value += 1, Wt.value += 1);
239
+ dn.value || (P.value = i), pn.value = !F.value.showOnChartHover, Lr(), Ut.value += 1, Wt.value += 1, Gt.value += 1, W.value.showTable = P.value.table.show, W.value.showDataLabels = V.value.show, W.value.stacked = H.value.stacked, W.value.showTooltip = I.value.show;
240
+ }, { deep: !0 }), x(() => C.dataset, async (e) => {
241
+ Array.isArray(e) && e.length !== 0 && (await Ze(), U.value && !w.value && (w.value = U.value.getContext("2d", { willReadFrequently: !0 })), O.value = !0, k.value = !0, await Un(), Qn(), Ut.value += 1, Wt.value += 1, Gt.value += 1);
242
242
  }, { deep: !0 });
243
- let xn = y(H.value.aspectRatio), { isPrinting: Sn, isImaging: Cn, generatePdf: wn, generateImage: Tn } = ye({
244
- elementId: `xy_canvas_${Dt.value}`,
243
+ let xn = v(H.value.aspectRatio), { isPrinting: Sn, isImaging: Cn, generatePdf: wn, generateImage: Tn } = be({
244
+ elementId: `xy_canvas_${Ot.value}`,
245
245
  fileName: H.value.title.text || "vue-ui-xy-canvas",
246
246
  options: F.value.print
247
- }), W = y({
247
+ }), W = v({
248
248
  showTable: P.value.table.show,
249
249
  showDataLabels: V.value.show,
250
250
  stacked: H.value.stacked,
251
251
  showTooltip: I.value.show
252
252
  });
253
253
  function En(e) {
254
- Lt.value = e, It.value += 1;
254
+ Rt.value = e, Lt.value += 1;
255
255
  }
256
- let Dn = f(() => fe(P.value.customPalette)), On = f(() => O.value.length === J.value.length), G = f(() => J.value ? Math.max(...J.value.filter((e, t) => On.value ? !0 : !O.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
256
+ let Dn = d(() => pe(P.value.customPalette)), On = d(() => D.value.length === J.value.length), G = d(() => J.value ? Math.max(...J.value.filter((e, t) => On.value ? !0 : !D.value.includes(e.absoluteIndex)).map((e) => e.series.length)) : 0);
257
257
  function kn(e) {
258
258
  j.value = e, br();
259
259
  }
260
- let An = y(0), jn = y(0);
260
+ let An = v(0), jn = v(0);
261
261
  function Mn() {
262
- if (!T.value || !z.value.show) return 0;
262
+ if (!w.value || !z.value.show) return 0;
263
263
  let e = $.value || [], t = X.value.start ?? 0, n = X.value.end ?? 0;
264
264
  if (!Math.max(0, n - t)) return 0;
265
- let r = Math.round(E.value / 40 * z.value.fontSizeRatio), i = `${z.value.bold ? "bold " : ""}${r}px ${P.value.style.fontFamily}`;
266
- T.value.save(), T.value.font = i;
265
+ let r = Math.round(T.value / 40 * z.value.fontSizeRatio), i = `${z.value.bold ? "bold " : ""}${r}px ${P.value.style.fontFamily}`;
266
+ w.value.save(), w.value.font = i;
267
267
  let a = 0;
268
268
  for (let r = t; r < n; r += 1) {
269
- let t = e[r]?.text ?? `${r + 1}`, n = T.value.measureText(String(t));
269
+ let t = e[r]?.text ?? `${r + 1}`, n = w.value.measureText(String(t));
270
270
  n.width > a && (a = n.width);
271
271
  }
272
- T.value.restore();
273
- let o = (z.value.rotation || 0) * Math.PI / 180, s = r, c = Math.abs(Math.sin(o)) * a + Math.abs(Math.cos(o)) * s, l = z.value.offsetY || 1, u = E.value / l;
274
- return Math.max(0, u + c + 4);
272
+ w.value.restore();
273
+ let o = (z.value.rotation || 0) * Math.PI / 180, s = r, ee = Math.abs(Math.sin(o)) * a + Math.abs(Math.cos(o)) * s, c = z.value.offsetY || 1, l = T.value / c;
274
+ return Math.max(0, l + ee + 4);
275
275
  }
276
276
  function Nn() {
277
277
  An.value = Mn();
@@ -283,17 +283,17 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
283
283
  });
284
284
  });
285
285
  }
286
- $e(() => {
286
+ et(() => {
287
287
  jn.value && cancelAnimationFrame(jn.value);
288
288
  });
289
- let K = f(() => {
290
- let e = E.value - E.value * (H.value.paddingProportions.left + H.value.paddingProportions.right), t = At.value * H.value.paddingProportions.top, n = At.value * H.value.paddingProportions.bottom, r = An.value, i = At.value - n - r, a = At.value - (t + n) - r;
289
+ let K = d(() => {
290
+ let e = T.value - T.value * (H.value.paddingProportions.left + H.value.paddingProportions.right), t = jt.value * H.value.paddingProportions.top, n = jt.value * H.value.paddingProportions.bottom, r = An.value, i = jt.value - n - r, a = jt.value - (t + n) - r;
291
291
  return {
292
- canvasWidth: E.value,
293
- canvasHeight: At.value,
294
- left: E.value * H.value.paddingProportions.left,
292
+ canvasWidth: T.value,
293
+ canvasHeight: jt.value,
294
+ left: T.value * H.value.paddingProportions.left,
295
295
  top: t,
296
- right: E.value - E.value * H.value.paddingProportions.right,
296
+ right: T.value - T.value * H.value.paddingProportions.right,
297
297
  bottom: i,
298
298
  width: e,
299
299
  height: a,
@@ -305,18 +305,18 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
305
305
  }
306
306
  function In({ hasAutoScale: e, series: t, min: n, max: r, scale: i, yOffset: a, individualHeight: o, stackIndex: s = null }) {
307
307
  return t.map((t, n) => {
308
- let r = i.min < 0 ? Math.abs(i.min) : 0, c = Fn(t + r, r + i.max), l, u;
309
- e && (l = i.min, u = Fn(t - l, i.max - l));
310
- let ee = 0;
311
- return ee = s === null ? K.value.bottom - K.value.height * (e ? u : c) : K.value.bottom - a - o * (e ? u : c), {
308
+ let r = i.min < 0 ? Math.abs(i.min) : 0, ee = Fn(t + r, r + i.max), c, l;
309
+ e && (c = i.min, l = Fn(t - c, i.max - c));
310
+ let te = 0;
311
+ return te = s === null ? K.value.bottom - K.value.height * (e ? l : ee) : K.value.bottom - a - o * (e ? l : ee), {
312
312
  x: K.value.left + K.value.slot * n + K.value.slot / 2,
313
- y: ee,
313
+ y: te,
314
314
  value: t
315
315
  };
316
316
  });
317
317
  }
318
- let q = f(() => {
319
- let e = H.value.scale.min === null ? Math.min(...J.value.filter((e, t) => !O.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(X.value.start, X.value.end))) : H.value.scale.min, t = H.value.scale.max === null ? Math.max(...J.value.filter((e, t) => !O.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(X.value.start, X.value.end))) : H.value.scale.max, n = re(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, H.value.scale.ticks), r = n.min < 0 ? Math.abs(n.min) : 0, i = K.value.bottom - K.value.height * (r / (n.max + r));
318
+ let q = d(() => {
319
+ let e = H.value.scale.min === null ? Math.min(...J.value.filter((e, t) => !D.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(X.value.start, X.value.end))) : H.value.scale.min, t = H.value.scale.max === null ? Math.max(...J.value.filter((e, t) => !D.value.includes(e.absoluteIndex)).flatMap((e) => e.series.slice(X.value.start, X.value.end))) : H.value.scale.max, n = ne(e < 0 ? e : 0, t === e ? e + 1 < 0 ? 0 : e + 1 : t < 0 ? 0 : t, H.value.scale.ticks), r = n.min < 0 ? Math.abs(n.min) : 0, i = K.value.bottom - K.value.height * (r / (n.max + r));
320
320
  return {
321
321
  absoluteMin: r,
322
322
  max: t,
@@ -329,44 +329,44 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
329
329
  })),
330
330
  zero: i
331
331
  };
332
- }), Ln = f(() => Y.value.map((e) => `
332
+ }), Ln = d(() => Y.value.map((e) => `
333
333
  <div style="display:flex;flex-direction:row;gap:6px;align-items:center;">
334
334
  <svg viewBox="0 0 10 10" height="12" width="12">
335
335
  <circle cx="5" cy="5" r="5" fill="${e.color}"/>
336
336
  </svg>
337
337
  <span>${e.name ? e.name + ": " : ""}</span>
338
- <span>${ae(V.value.formatter, e.series[D.value] ?? "-", u({
338
+ <span>${se(V.value.formatter, e.series[E.value] ?? "-", t({
339
339
  p: e.prefix || "",
340
- v: e.series[D.value] ?? "-",
340
+ v: e.series[E.value] ?? "-",
341
341
  s: e.suffix || "",
342
342
  r: e.rounding || 0
343
343
  }), {
344
344
  datapoint: e,
345
- seriesIndex: D.value
345
+ seriesIndex: E.value
346
346
  })}</span>
347
347
  </div>
348
- `)), Rn = f(() => H.value.line.cutNullValues), J = f(() => fn.value.map((e, t) => ({
348
+ `)), Rn = d(() => H.value.line.cutNullValues), J = d(() => fn.value.map((e, t) => ({
349
349
  ...e,
350
- series: a({
351
- data: l(e.series, [], Rn.value),
350
+ series: ce({
351
+ data: o(e.series, [], Rn.value),
352
352
  threshold: P.value.downsample.threshold
353
353
  }),
354
354
  absoluteIndex: t,
355
- color: s(e.color || Dn.value[t] || i[t] || i[t % i.length])
356
- }))), zn = f(() => {
355
+ color: c(e.color || Dn.value[t] || l[t] || l[t % l.length])
356
+ }))), zn = d(() => {
357
357
  if (!H.value.zoom.minimap.show) return [];
358
- let e = J.value.filter((e) => !O.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
358
+ let e = J.value.filter((e) => !D.value.includes(e.absoluteIndex)), t = Math.max(...e.map((e) => e.series.length)), n = [];
359
359
  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));
360
360
  let r = Math.min(...n);
361
361
  return n.map((e) => e + (r < 0 ? Math.abs(r) : 0));
362
- }), Bn = f(() => H.value.zoom.minimap.show ? J.value.map((e) => ({
362
+ }), Bn = d(() => H.value.zoom.minimap.show ? J.value.map((e) => ({
363
363
  ...e,
364
- isVisible: !O.value.includes(e.absoluteIndex)
364
+ isVisible: !D.value.includes(e.absoluteIndex)
365
365
  })) : []);
366
- S(G, (e) => {
366
+ x(G, (e) => {
367
367
  e && Un();
368
368
  });
369
- let Y = f(() => le(J.value.filter((e, t) => !O.value.includes(e.absoluteIndex))).map((e, t) => ({
369
+ let Y = d(() => ue(J.value.filter((e, t) => !D.value.includes(e.absoluteIndex))).map((e, t) => ({
370
370
  ...e,
371
371
  series: e.series.slice(X.value.start, X.value.end)
372
372
  })).map((e, t) => {
@@ -377,54 +377,54 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
377
377
  valueMin: n,
378
378
  valueMax: r
379
379
  }, a = e.scaleSteps || H.value.scale.ticks, o;
380
- o = e.autoScaling ? re(i.valueMin, i.valueMax, a) : re(i.valueMin < 0 ? i.valueMin : 0, i.valueMax <= 0 ? 0 : i.valueMax, a);
381
- let s = W.value.stacked ? K.value.height * (1 - e.cumulatedStackRatio) : 0, c = W.value.stacked ? K.value.height / H.value.stackGap : 0, l = W.value.stacked ? K.value.height * e.stackRatio - c : K.value.height, u = o.min < 0 ? Math.abs(o.min) : 0, ee;
382
- ee = e.autoScaling && W.value.stacked && r <= 0 ? K.value.bottom - s - l : K.value.bottom - s - l * (u / (o.max + u));
383
- let te = o.ticks.map((e, t) => ({
384
- y: K.value.bottom - s - l * (t / (o.ticks.length - 1)),
380
+ o = e.autoScaling ? ne(i.valueMin, i.valueMax, a) : ne(i.valueMin < 0 ? i.valueMin : 0, i.valueMax <= 0 ? 0 : i.valueMax, a);
381
+ let s = W.value.stacked ? K.value.height * (1 - e.cumulatedStackRatio) : 0, ee = W.value.stacked ? K.value.height / H.value.stackGap : 0, c = W.value.stacked ? K.value.height * e.stackRatio - ee : K.value.height, l = o.min < 0 ? Math.abs(o.min) : 0, te;
382
+ te = e.autoScaling && W.value.stacked && r <= 0 ? K.value.bottom - s - c : K.value.bottom - s - c * (l / (o.max + l));
383
+ let re = o.ticks.map((e, t) => ({
384
+ y: K.value.bottom - s - c * (t / (o.ticks.length - 1)),
385
385
  x: K.value.left - 8,
386
386
  value: e
387
- })), ne = In({
387
+ })), ie = In({
388
388
  hasAutoScale: W.value.stacked && e.autoScaling,
389
389
  series: e.series,
390
390
  min: W.value.stacked ? n : q.value.min,
391
391
  max: W.value.stacked ? r : q.value.max,
392
392
  scale: W.value.stacked ? o : q.value.scale,
393
393
  yOffset: s,
394
- individualHeight: l,
394
+ individualHeight: c,
395
395
  stackIndex: W.value.stacked ? t : null
396
396
  });
397
397
  return {
398
398
  ...e,
399
- coordinatesLine: ne,
399
+ coordinatesLine: ie,
400
400
  min: n,
401
401
  max: r,
402
402
  localScale: o,
403
- localZero: ee,
404
- localMin: u,
405
- localYLabels: te,
403
+ localZero: te,
404
+ localMin: l,
405
+ localYLabels: re,
406
406
  yOffset: s,
407
- individualHeight: l
407
+ individualHeight: c
408
408
  };
409
- })), X = y({
409
+ })), X = v({
410
410
  start: 0,
411
411
  end: G.value
412
- }), Z = y({
412
+ }), Z = v({
413
413
  start: 0,
414
414
  end: G.value
415
- }), Vn = y(null);
415
+ }), Vn = v(null);
416
416
  function Hn() {
417
417
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
418
418
  }
419
- $e(() => {
419
+ et(() => {
420
420
  Vn.value && cancelAnimationFrame(Vn.value);
421
421
  });
422
422
  async function Un() {
423
- Kn(), await Xe(), Vn.value && cancelAnimationFrame(Vn.value), Vn.value = requestAnimationFrame(async () => {
423
+ Kn(), await Ze(), Vn.value && cancelAnimationFrame(Vn.value), Vn.value = requestAnimationFrame(async () => {
424
424
  await Hn(), Kn();
425
425
  });
426
426
  }
427
- let Wn = f(() => H.value.zoom.preview.enable && (Z.value.start !== X.value.start || Z.value.end !== X.value.end));
427
+ let Wn = d(() => H.value.zoom.preview.enable && (Z.value.start !== X.value.start || Z.value.end !== X.value.end));
428
428
  function Gn(e, t) {
429
429
  Z.value[e] = t;
430
430
  }
@@ -433,7 +433,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
433
433
  Yt.value = !0;
434
434
  try {
435
435
  let { startIndex: e, endIndex: t } = H.value.zoom, n = Math.max(...J.value.map((e) => e.series.length)), r = e ?? 0, i = t == null ? n : Math.min(Yn(t + 1), n);
436
- Zt.value = !0, X.value.start = r, X.value.end = i, Z.value.start = r, Z.value.end = i, Xn(), Xt.value = !0, await Xe(), Bt.value && (Bt.value.setStartValue(X.value.start), Bt.value.setEndValue(X.value.end));
436
+ Zt.value = !0, X.value.start = r, X.value.end = i, Z.value.start = r, Z.value.end = i, Xn(), Xt.value = !0, await Ze(), Vt.value && (Vt.value.setStartValue(X.value.start), Vt.value.setEndValue(X.value.end));
437
437
  } finally {
438
438
  queueMicrotask(() => {
439
439
  Zt.value = !1;
@@ -458,29 +458,29 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
458
458
  (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), X.value = {
459
459
  start: t,
460
460
  end: n
461
- }, Z.value.start = t, Z.value.end = n, Bt.value && (Bt.value.setStartValue(t), Bt.value.setEndValue(n));
461
+ }, Z.value.start = t, Z.value.end = n, Vt.value && (Vt.value.setStartValue(t), Vt.value.setEndValue(n));
462
462
  }
463
- let Zn = f(() => Y.value.filter((e) => [
463
+ let Zn = d(() => Y.value.filter((e) => [
464
464
  "line",
465
465
  "plot",
466
466
  void 0
467
- ].includes(e.type))), Q = f(() => Y.value.filter((e) => e.type === "bar"));
467
+ ].includes(e.type))), Q = d(() => Y.value.filter((e) => e.type === "bar"));
468
468
  function Qn() {
469
- if (!U.value || !kt.value) return;
470
- let e = kt.value.offsetWidth, t = kt.value.offsetHeight;
471
- U.value.width = e * Pt.value * 2, U.value.height = t * Pt.value * 2, E.value = e * Pt.value * 2, At.value = t * Pt.value * 2, T.value?.scale(Pt.value, Pt.value), br();
469
+ if (!U.value || !At.value) return;
470
+ let e = At.value.offsetWidth, t = At.value.offsetHeight;
471
+ U.value.width = e * Ft.value * 2, U.value.height = t * Ft.value * 2, T.value = e * Ft.value * 2, jt.value = t * Ft.value * 2, w.value?.scale(Ft.value, Ft.value), br();
472
472
  }
473
- S(N, async (e) => {
473
+ x(N, async (e) => {
474
474
  if (!e) {
475
- Ft.value = null, jt.value = !1, D.value = null, Gt.value = null;
475
+ It.value = null, Mt.value = !1, E.value = null, A.value = null;
476
476
  return;
477
477
  }
478
- await Xe(), U.value && !T.value && (T.value = U.value.getContext("2d", { willReadFrequently: !0 })), k.value = !0, A.value = !0, await Un(), Qn(), br();
478
+ await Ze(), U.value && !w.value && (w.value = U.value.getContext("2d", { willReadFrequently: !0 })), O.value = !0, k.value = !0, await Un(), Qn(), br();
479
479
  });
480
480
  function $n() {
481
- if (T.value && (T.value.clearRect(0, 0, 1e4, 1e4), T.value.fillStyle = H.value.backgroundColor, T.value.fillRect(0, 0, K.value.canvasWidth, K.value.canvasHeight), N.value)) {
481
+ if (w.value && (w.value.clearRect(0, 0, 1e4, 1e4), w.value.fillStyle = H.value.backgroundColor, w.value.fillRect(0, 0, K.value.canvasWidth, K.value.canvasHeight), N.value)) {
482
482
  if (W.value.stacked) L.value.show && X.value.end - X.value.start < L.value.hideUnderXLength ? Y.value.forEach((e) => {
483
- for (let t = 0; t < X.value.end - X.value.start + 1; t += 1) d(T.value, [{
483
+ for (let t = 0; t < X.value.end - X.value.start + 1; t += 1) u(w.value, [{
484
484
  x: K.value.left + K.value.slot * t,
485
485
  y: K.value.bottom - e.yOffset - e.individualHeight
486
486
  }, {
@@ -488,7 +488,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
488
488
  y: K.value.bottom - e.yOffset
489
489
  }], { color: L.value.color });
490
490
  }) : L.value.show && X.value.end - X.value.start >= L.value.hideUnderXLength && Y.value.forEach((e) => {
491
- for (let t = X.value.start; t < X.value.end; t += 1) t % Math.floor((X.value.end - X.value.start) / an.value.modulo) === 0 && d(T.value, [{
491
+ for (let t = X.value.start; t < X.value.end; t += 1) t % Math.floor((X.value.end - X.value.start) / an.value.modulo) === 0 && u(w.value, [{
492
492
  x: K.value.left + K.value.slot * (t - X.value.start) + K.value.slot / 2,
493
493
  y: K.value.bottom - e.yOffset - e.individualHeight
494
494
  }, {
@@ -497,7 +497,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
497
497
  }], { color: L.value.color });
498
498
  }), an.value.show && (an.value.alternate ? Y.value.forEach((e) => {
499
499
  e.localYLabels.forEach((t, n) => {
500
- n < e.localYLabels.length - 1 && Ne(T.value, [
500
+ n < e.localYLabels.length - 1 && Pe(w.value, [
501
501
  {
502
502
  x: K.value.left,
503
503
  y: t.y
@@ -515,13 +515,13 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
515
515
  y: e.localYLabels[n + 1].y
516
516
  }
517
517
  ], {
518
- fillColor: n % 2 == 0 ? "transparent" : c(H.value.grid.x.horizontalLines.color, H.value.grid.x.horizontalLines.opacity),
518
+ fillColor: n % 2 == 0 ? "transparent" : de(H.value.grid.x.horizontalLines.color, H.value.grid.x.horizontalLines.opacity),
519
519
  strokeColor: "transparent"
520
520
  });
521
521
  });
522
522
  }) : Y.value.forEach((e) => {
523
523
  e.localYLabels.slice(X.value.start, X.value.end).forEach((e) => {
524
- d(T.value, [{
524
+ u(w.value, [{
525
525
  x: K.value.left,
526
526
  y: e.y
527
527
  }, {
@@ -530,7 +530,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
530
530
  }], { color: an.value.color });
531
531
  });
532
532
  })), B.value.zeroLine.show && Y.value.forEach((e) => {
533
- d(T.value, [{
533
+ u(w.value, [{
534
534
  x: K.value.left,
535
535
  y: e.localZero
536
536
  }, {
@@ -541,13 +541,13 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
541
541
  lineDash: B.value.zeroLine.dashed ? [10, 10] : [0, 0]
542
542
  });
543
543
  }), R.value.show && Y.value.forEach((e) => {
544
- d(T.value, [{
544
+ u(w.value, [{
545
545
  x: K.value.left,
546
546
  y: K.value.bottom - e.yOffset
547
547
  }, {
548
548
  x: K.value.left,
549
549
  y: K.value.bottom - e.yOffset - e.individualHeight
550
- }], { color: e.color }), d(T.value, [{
550
+ }], { color: e.color }), u(w.value, [{
551
551
  x: K.value.right,
552
552
  y: K.value.bottom - e.yOffset
553
553
  }, {
@@ -555,22 +555,22 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
555
555
  y: K.value.bottom - e.yOffset - e.individualHeight
556
556
  }], { color: e.color });
557
557
  }), Y.value.forEach((e) => {
558
- De(T.value, e.name, E.value / 35, K.value.bottom - e.yOffset - e.individualHeight / 2, {
558
+ Oe(w.value, e.name, T.value / 35, K.value.bottom - e.yOffset - e.individualHeight / 2, {
559
559
  align: "center",
560
560
  rotation: -90,
561
561
  color: e.color,
562
- font: `${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`
562
+ font: `${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`
563
563
  });
564
564
  });
565
565
  else {
566
- if (L.value.show && X.value.end - X.value.start < L.value.hideUnderXLength) for (let e = 0; e < X.value.end - X.value.start + 1; e += 1) d(T.value, [{
566
+ if (L.value.show && X.value.end - X.value.start < L.value.hideUnderXLength) for (let e = 0; e < X.value.end - X.value.start + 1; e += 1) u(w.value, [{
567
567
  x: K.value.left + K.value.slot * e,
568
568
  y: K.value.top
569
569
  }, {
570
570
  x: K.value.left + K.value.slot * e,
571
571
  y: K.value.bottom
572
572
  }], { color: L.value.color });
573
- else if (L.value.show && X.value.end - X.value.start >= L.value.hideUnderXLength) for (let e = X.value.start; e < X.value.end; e += 1) e % Math.floor((X.value.end - X.value.start) / z.value.modulo) === 0 && d(T.value, [{
573
+ else if (L.value.show && X.value.end - X.value.start >= L.value.hideUnderXLength) for (let e = X.value.start; e < X.value.end; e += 1) e % Math.floor((X.value.end - X.value.start) / z.value.modulo) === 0 && u(w.value, [{
574
574
  x: K.value.left + K.value.slot * (e - X.value.start) + K.value.slot / 2,
575
575
  y: K.value.top
576
576
  }, {
@@ -578,7 +578,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
578
578
  y: K.value.bottom
579
579
  }], { color: L.value.color });
580
580
  an.value.show && (an.value.alternate ? q.value.yLabels.forEach((e, t) => {
581
- t < q.value.yLabels.length - 1 && Ne(T.value, [
581
+ t < q.value.yLabels.length - 1 && Pe(w.value, [
582
582
  {
583
583
  x: K.value.left,
584
584
  y: e.y
@@ -596,18 +596,18 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
596
596
  y: q.value.yLabels[t + 1].y
597
597
  }
598
598
  ], {
599
- fillColor: t % 2 == 0 ? "transparent" : c(H.value.grid.x.horizontalLines.color, H.value.grid.x.horizontalLines.opacity),
599
+ fillColor: t % 2 == 0 ? "transparent" : de(H.value.grid.x.horizontalLines.color, H.value.grid.x.horizontalLines.opacity),
600
600
  strokeColor: "transparent"
601
601
  });
602
602
  }) : q.value.yLabels.forEach((e) => {
603
- d(T.value, [{
603
+ u(w.value, [{
604
604
  x: K.value.left,
605
605
  y: e.y
606
606
  }, {
607
607
  x: K.value.right,
608
608
  y: e.y
609
609
  }], { color: an.value.color });
610
- })), B.value.y.showAxis && d(T.value, [{
610
+ })), B.value.y.showAxis && u(w.value, [{
611
611
  x: K.value.left,
612
612
  y: K.value.top
613
613
  }, {
@@ -616,7 +616,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
616
616
  }], {
617
617
  color: B.value.y.axisColor,
618
618
  lineWidth: B.value.y.axisThickness
619
- }), B.value.x.showAxis && d(T.value, [{
619
+ }), B.value.x.showAxis && u(w.value, [{
620
620
  x: K.value.left,
621
621
  y: K.value.bottom
622
622
  }, {
@@ -625,7 +625,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
625
625
  }], {
626
626
  color: B.value.x.axisColor,
627
627
  lineWidth: B.value.x.axisThickness
628
- }), B.value.zeroLine.show && d(T.value, [{
628
+ }), B.value.zeroLine.show && u(w.value, [{
629
629
  x: K.value.left,
630
630
  y: q.value.zero
631
631
  }, {
@@ -636,13 +636,13 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
636
636
  lineDash: B.value.zeroLine.dashed ? [10, 10] : [0, 0]
637
637
  });
638
638
  }
639
- B.value.y.axisName && De(T.value, B.value.y.axisName, E.value - E.value / 40 * R.value.fontSizeRatio * 1.2, K.value.bottom - K.value.height / 2, {
640
- font: `${R.value.bold ? "bold " : ""}${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
639
+ B.value.y.axisName && Oe(w.value, B.value.y.axisName, T.value - T.value / 40 * R.value.fontSizeRatio * 1.2, K.value.bottom - K.value.height / 2, {
640
+ font: `${R.value.bold ? "bold " : ""}${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
641
641
  color: H.value.color,
642
642
  align: "center",
643
643
  rotation: 90
644
- }), B.value.x.axisName && De(T.value, B.value.x.axisName, E.value / 2, At.value, {
645
- font: `${R.value.bold ? "bold " : ""}${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
644
+ }), B.value.x.axisName && Oe(w.value, B.value.x.axisName, T.value / 2, jt.value, {
645
+ font: `${R.value.bold ? "bold " : ""}${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
646
646
  color: H.value.color,
647
647
  align: "center"
648
648
  });
@@ -650,8 +650,8 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
650
650
  }
651
651
  function er(e) {
652
652
  for (let t = 0; t < e.coordinatesLine.length; t += 1) {
653
- let n = (D.value === t || j.value === t ? E.value / 150 : H.value.line.plots.show || e.type === "plot" ? E.value / 200 : 0) * H.value.line.plots.radiusRatio;
654
- Ae(T.value, {
653
+ let n = (E.value === t || j.value === t ? T.value / 150 : H.value.line.plots.show || e.type === "plot" ? T.value / 200 : 0) * H.value.line.plots.radiusRatio;
654
+ je(w.value, {
655
655
  x: e.coordinatesLine[t].x,
656
656
  y: e.coordinatesLine[t].y
657
657
  }, n, {
@@ -663,7 +663,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
663
663
  }
664
664
  function tr() {
665
665
  Y.value.forEach((e) => {
666
- e.showYMarker && Sr(e) && De(T.value, ae(V.value.formatter, Sr(e).value, u({
666
+ e.showYMarker && Sr(e) && Oe(w.value, se(V.value.formatter, Sr(e).value, t({
667
667
  p: e.prefix || R.value.prefix || "",
668
668
  v: Sr(e).value,
669
669
  s: e.suffix || R.value.suffix || "",
@@ -673,68 +673,68 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
673
673
  seriesIndex: null
674
674
  }), K.value.left - 8 + R.value.offsetX, Sr(e).y, {
675
675
  align: "right",
676
- font: `${R.value.bold ? "bold " : ""}${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
676
+ font: `${R.value.bold ? "bold " : ""}${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
677
677
  color: e.color
678
678
  });
679
679
  });
680
680
  }
681
681
  function nr() {
682
682
  R.value.show && (W.value.stacked ? Y.value.forEach((e) => {
683
- e.localYLabels.forEach((t, n) => {
684
- De(T.value, ae(V.value.formatter, t.value, u({
683
+ e.localYLabels.forEach((n, r) => {
684
+ Oe(w.value, se(V.value.formatter, n.value, t({
685
685
  p: e.prefix || B.value.y.axisLabels.prefix || "",
686
- v: t.value,
686
+ v: n.value,
687
687
  s: e.suffix || B.value.y.axisLabels.suffix || "",
688
688
  r: e.rounding || B.value.y.axisLabels.rounding || 0
689
689
  }), {
690
- datapoint: t,
691
- seriesIndex: n
692
- }), t.x + R.value.offsetX, t.y, {
690
+ datapoint: n,
691
+ seriesIndex: r
692
+ }), n.x + R.value.offsetX, n.y, {
693
693
  align: "right",
694
- font: `${R.value.bold ? "bold " : ""}${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
694
+ font: `${R.value.bold ? "bold " : ""}${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
695
695
  color: e.color,
696
- globalAlpha: e.showYMarker && ![null, void 0].includes(D.value ?? j.value) ? .2 : 1
696
+ globalAlpha: e.showYMarker && ![null, void 0].includes(E.value ?? j.value) ? .2 : 1
697
697
  });
698
698
  });
699
- }) : q.value.yLabels.forEach((e, t) => {
700
- De(T.value, ae(V.value.formatter, e.value, u({
699
+ }) : q.value.yLabels.forEach((e, n) => {
700
+ Oe(w.value, se(V.value.formatter, e.value, t({
701
701
  p: R.value.prefix || "",
702
702
  v: e.value,
703
703
  s: R.value.suffix || "",
704
704
  r: R.value.rounding || 0
705
705
  }), {
706
706
  datapoint: e,
707
- seriesIndex: t
707
+ seriesIndex: n
708
708
  }), e.x + R.value.offsetX, e.y, {
709
709
  align: "right",
710
- font: `${R.value.bold ? "bold " : ""}${Math.round(E.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
710
+ font: `${R.value.bold ? "bold " : ""}${Math.round(T.value / 40 * R.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
711
711
  color: R.value.color,
712
- globalAlpha: Y.value.some((e) => e.showYMarker) && ![null, void 0].includes(D.value ?? j.value) ? .2 : 1
712
+ globalAlpha: Y.value.some((e) => e.showYMarker) && ![null, void 0].includes(E.value ?? j.value) ? .2 : 1
713
713
  });
714
714
  }));
715
715
  }
716
716
  function rr(e) {
717
- for (let t = 0; t < e.coordinatesLine.length; t += 1) De(T.value, ae(V.value.formatter, e.coordinatesLine[t].value, u({
717
+ for (let n = 0; n < e.coordinatesLine.length; n += 1) Oe(w.value, se(V.value.formatter, e.coordinatesLine[n].value, t({
718
718
  p: e.prefix || "",
719
- v: e.coordinatesLine[t].value,
719
+ v: e.coordinatesLine[n].value,
720
720
  s: e.suffix || "",
721
721
  r: e.rounding || 0
722
722
  }), {
723
- datapoint: e.coordinatesLine[t],
724
- seriesIndex: t
725
- }), e.coordinatesLine[t].x, e.coordinatesLine[t].y + V.value.offsetY, {
723
+ datapoint: e.coordinatesLine[n],
724
+ seriesIndex: n
725
+ }), e.coordinatesLine[n].x, e.coordinatesLine[n].y + V.value.offsetY, {
726
726
  align: "center",
727
- font: `${V.value.bold ? "bold " : ""}${Math.round(E.value / 40 * V.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
727
+ font: `${V.value.bold ? "bold " : ""}${Math.round(T.value / 40 * V.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
728
728
  color: V.value.useSerieColor ? e.color : V.value.color,
729
729
  strokeColor: H.value.backgroundColor,
730
730
  lineWidth: .5
731
731
  });
732
732
  }
733
- let $ = y([]), ir = 0;
734
- ot(() => {
733
+ let $ = v([]), ir = 0;
734
+ st(() => {
735
735
  let e = ++ir;
736
736
  (async () => {
737
- let t = await _e({
737
+ let t = await ve({
738
738
  values: z.value.values,
739
739
  maxDatapoints: G.value,
740
740
  formatter: z.value.datetimeFormatter,
@@ -743,24 +743,24 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
743
743
  });
744
744
  e === ir && ($.value = t);
745
745
  })();
746
- }), ot(() => {
747
- z.value.show, z.value.rotation, z.value.offsetY, z.value.fontSizeRatio, z.value.bold, X.value.start, X.value.end, E.value, At.value, ($.value || []).map((e) => e?.text ?? "").join("|"), Pn();
746
+ }), st(() => {
747
+ z.value.show, z.value.rotation, z.value.offsetY, z.value.fontSizeRatio, z.value.bold, X.value.start, X.value.end, T.value, jt.value, ($.value || []).map((e) => e?.text ?? "").join("|"), Pn();
748
748
  }, { flush: "post" });
749
- let ar = y({
749
+ let ar = v({
750
750
  months: [],
751
751
  shortMonths: [],
752
752
  days: [],
753
753
  shortDays: []
754
754
  }), or = 0;
755
- ot(() => {
755
+ st(() => {
756
756
  let e = ++or, t = z.value.datetimeFormatter;
757
757
  (async () => {
758
- let n = await ge(t.locale).catch(() => ge("en"));
758
+ let n = await _e(t.locale).catch(() => _e("en"));
759
759
  e === or && (ar.value = n.data);
760
760
  })();
761
761
  });
762
- let sr = f(() => {
763
- let e = z.value.datetimeFormatter, t = he({
762
+ let sr = d(() => {
763
+ let e = z.value.datetimeFormatter, t = ge({
764
764
  useUTC: e.useUTC,
765
765
  locale: ar.value,
766
766
  januaryAsYear: e.januaryAsYear
@@ -769,27 +769,27 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
769
769
  let r = z.value.values?.[e];
770
770
  return r == null ? "" : t.formatDate(new Date(r), n);
771
771
  };
772
- }), cr = f(() => (z.value.values || []).map((e, t) => ({
772
+ }), cr = d(() => (z.value.values || []).map((e, t) => ({
773
773
  text: sr.value(t, H.value.zoom.timeFormat),
774
774
  absoluteIndex: t
775
- }))), lr = f(() => (z.value.values || []).map((e, t) => ({
775
+ }))), lr = d(() => (z.value.values || []).map((e, t) => ({
776
776
  text: sr.value(t, I.value.timeFormat),
777
777
  absoluteIndex: t
778
778
  })));
779
779
  function ur() {
780
- for (let e = X.value.start; e < X.value.end; e += 1) (X.value.end - X.value.start < z.value.modulo || X.value.end - X.value.start >= z.value.modulo && (e % Math.floor((X.value.end - X.value.start) / z.value.modulo) === 0 || (e === D.value + X.value.start || e === j.value) && z.value.showMarker)) && De(T.value, $.value[e] ? $.value[e].text : e + 1, K.value.left + K.value.slot * (e - X.value.start) + K.value.slot / 2, K.value.bottom + E.value / z.value.offsetY, {
780
+ for (let e = X.value.start; e < X.value.end; e += 1) (X.value.end - X.value.start < z.value.modulo || X.value.end - X.value.start >= z.value.modulo && (e % Math.floor((X.value.end - X.value.start) / z.value.modulo) === 0 || (e === E.value + X.value.start || e === j.value) && z.value.showMarker)) && Oe(w.value, $.value[e] ? $.value[e].text : e + 1, K.value.left + K.value.slot * (e - X.value.start) + K.value.slot / 2, K.value.bottom + T.value / z.value.offsetY, {
781
781
  align: z.value.rotation === 0 ? "center" : z.value.rotation > 0 ? "left" : "right",
782
- font: `${z.value.bold ? "bold " : ""}${Math.round(E.value / 40 * z.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
783
- color: z.value.showMarker ? c(z.value.color, D.value !== null || j.value !== null ? D.value + X.value.start === e || j.value === e ? 100 : 20 : 100) : z.value.color,
782
+ font: `${z.value.bold ? "bold " : ""}${Math.round(T.value / 40 * z.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
783
+ color: z.value.showMarker ? de(z.value.color, E.value !== null || j.value !== null ? E.value + X.value.start === e || j.value === e ? 100 : 20 : 100) : z.value.color,
784
784
  rotation: z.value.rotation
785
785
  });
786
786
  }
787
787
  function dr() {
788
- d(T.value, [{
789
- x: K.value.left + K.value.slot * (D.value ?? j.value) + K.value.slot / 2,
788
+ u(w.value, [{
789
+ x: K.value.left + K.value.slot * (E.value ?? j.value) + K.value.slot / 2,
790
790
  y: K.value.top
791
791
  }, {
792
- x: K.value.left + K.value.slot * (D.value ?? j.value) + K.value.slot / 2,
792
+ x: K.value.left + K.value.slot * (E.value ?? j.value) + K.value.slot / 2,
793
793
  y: K.value.bottom
794
794
  }], {
795
795
  color: H.value.selector.color,
@@ -799,12 +799,12 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
799
799
  });
800
800
  }
801
801
  function fr() {
802
- Gt.value && d(T.value, [{
802
+ A.value && u(w.value, [{
803
803
  x: K.value.left,
804
- y: Gt.value
804
+ y: A.value
805
805
  }, {
806
806
  x: K.value.right,
807
- y: Gt.value
807
+ y: A.value
808
808
  }], {
809
809
  color: H.value.selector.color,
810
810
  lineDash: H.value.selector.dashed ? [8, 8] : [0, 0],
@@ -813,34 +813,34 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
813
813
  });
814
814
  }
815
815
  function pr() {
816
- Q.value.forEach((e, t) => {
817
- for (let n = 0; n < e.coordinatesLine.length; n += 1) Ne(T.value, [
816
+ Q.value.forEach((e, n) => {
817
+ for (let r = 0; r < e.coordinatesLine.length; r += 1) Pe(w.value, [
818
818
  {
819
- x: K.value.left + K.value.slot * n + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * t - (t === 0 ? 0 : K.value.slot / (5 * Q.value.length) * t)),
819
+ x: K.value.left + K.value.slot * r + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * n - (n === 0 ? 0 : K.value.slot / (5 * Q.value.length) * n)),
820
820
  y: W.value.stacked ? e.localZero : q.value.zero
821
821
  },
822
822
  {
823
- x: K.value.left + K.value.slot * n + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * t - (t === 0 ? 0 : K.value.slot / (5 * Q.value.length) * t)) + K.value.slot * .8 / (W.value.stacked ? 1 : Q.value.length),
823
+ x: K.value.left + K.value.slot * r + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * n - (n === 0 ? 0 : K.value.slot / (5 * Q.value.length) * n)) + K.value.slot * .8 / (W.value.stacked ? 1 : Q.value.length),
824
824
  y: W.value.stacked ? e.localZero : q.value.zero
825
825
  },
826
826
  {
827
- x: K.value.left + K.value.slot * n + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * t - (t === 0 ? 0 : K.value.slot / (5 * Q.value.length) * t)) + K.value.slot * .8 / (W.value.stacked ? 1 : Q.value.length),
828
- y: e.coordinatesLine[n].y
827
+ x: K.value.left + K.value.slot * r + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * n - (n === 0 ? 0 : K.value.slot / (5 * Q.value.length) * n)) + K.value.slot * .8 / (W.value.stacked ? 1 : Q.value.length),
828
+ y: e.coordinatesLine[r].y
829
829
  },
830
830
  {
831
- x: K.value.left + K.value.slot * n + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * t - (t === 0 ? 0 : K.value.slot / (5 * Q.value.length) * t)),
832
- y: e.coordinatesLine[n].y
831
+ x: K.value.left + K.value.slot * r + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * n - (n === 0 ? 0 : K.value.slot / (5 * Q.value.length) * n)),
832
+ y: e.coordinatesLine[r].y
833
833
  }
834
834
  ], {
835
835
  strokeColor: H.value.backgroundColor,
836
836
  gradient: {
837
837
  type: "linear",
838
838
  start: {
839
- x: e.coordinatesLine[n].x,
840
- y: e.coordinatesLine[n].y
839
+ x: e.coordinatesLine[r].x,
840
+ y: e.coordinatesLine[r].y
841
841
  },
842
842
  end: {
843
- x: e.coordinatesLine[n].x,
843
+ x: e.coordinatesLine[r].x,
844
844
  y: W.value.stacked ? e.localZero : q.value.zero
845
845
  },
846
846
  stops: [{
@@ -848,20 +848,20 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
848
848
  color: e.color
849
849
  }, {
850
850
  offset: 1,
851
- color: H.value.bar.gradient.show ? oe(e.color, .5) : e.color
851
+ color: H.value.bar.gradient.show ? s(e.color, .5) : e.color
852
852
  }]
853
853
  }
854
- }), W.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && De(T.value, ae(V.value.formatter, e.coordinatesLine[n].value, u({
854
+ }), W.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && Oe(w.value, se(V.value.formatter, e.coordinatesLine[r].value, t({
855
855
  p: e.prefix || "",
856
- v: e.coordinatesLine[n].value,
856
+ v: e.coordinatesLine[r].value,
857
857
  s: e.suffix || "",
858
858
  r: e.rounding || 0
859
859
  }), {
860
- datapoint: e.coordinatesLine[n],
861
- seriesIndex: n
862
- }), K.value.left + K.value.slot * n + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * t - (t === 0 ? 0 : K.value.slot / (5 * Q.value.length) * t)) + K.value.slot * .4 / (W.value.stacked ? 1 : Q.value.length), (e.coordinatesLine[n].value < 0 ? W.value.stacked ? e.localZero : q.value.zero : e.coordinatesLine[n].y) + V.value.offsetY, {
860
+ datapoint: e.coordinatesLine[r],
861
+ seriesIndex: r
862
+ }), K.value.left + K.value.slot * r + K.value.slot / 10 + (W.value.stacked ? 0 : K.value.slot / Q.value.length * n - (n === 0 ? 0 : K.value.slot / (5 * Q.value.length) * n)) + K.value.slot * .4 / (W.value.stacked ? 1 : Q.value.length), (e.coordinatesLine[r].value < 0 ? W.value.stacked ? e.localZero : q.value.zero : e.coordinatesLine[r].y) + V.value.offsetY, {
863
863
  align: "center",
864
- font: `${Math.round(E.value / 40 * V.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
864
+ font: `${Math.round(T.value / 40 * V.value.fontSizeRatio)}px ${P.value.style.fontFamily}`,
865
865
  color: V.value.useSerieColor ? e.color : V.value.color,
866
866
  strokeColor: H.value.backgroundColor,
867
867
  lineWidth: .8
@@ -921,11 +921,11 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
921
921
  function gr(e) {
922
922
  if (Rn.value) {
923
923
  let t = hr(e);
924
- for (let n of t) d(T.value, n, {
924
+ for (let n of t) u(w.value, n, {
925
925
  color: e.color,
926
926
  lineWidth: 3
927
927
  });
928
- } else d(T.value, e.coordinatesLine, {
928
+ } else u(w.value, e.coordinatesLine, {
929
929
  color: e.color,
930
930
  lineWidth: 3
931
931
  });
@@ -936,12 +936,12 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
936
936
  let n = W.value.stacked ? e.localZero : q.value.zero;
937
937
  if (t) {
938
938
  let { polygons: t, singles: r } = mr(e, n);
939
- for (let n of t) je(T.value, n, {
940
- fillColor: c(e.color, H.value.area.opacity),
939
+ for (let n of t) Me(w.value, n, {
940
+ fillColor: de(e.color, H.value.area.opacity),
941
941
  strokeColor: "transparent"
942
942
  });
943
- let i = E.value / 200 * H.value.line.plots.radiusRatio;
944
- for (let t of r) Ae(T.value, {
943
+ let i = T.value / 200 * H.value.line.plots.radiusRatio;
944
+ for (let t of r) je(w.value, {
945
945
  x: t.x,
946
946
  y: t.y
947
947
  }, i, {
@@ -957,12 +957,12 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
957
957
  x: e.coordinatesLine.at(-1).x,
958
958
  y: n
959
959
  };
960
- je(T.value, [
960
+ Me(w.value, [
961
961
  t,
962
962
  ...e.coordinatesLine,
963
963
  r
964
964
  ], {
965
- fillColor: c(e.color, H.value.area.opacity),
965
+ fillColor: de(e.color, H.value.area.opacity),
966
966
  strokeColor: "transparent"
967
967
  });
968
968
  }
@@ -973,7 +973,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
973
973
  }
974
974
  function vr() {
975
975
  Y.value.forEach((e, t) => {
976
- d(T.value, [{
976
+ u(w.value, [{
977
977
  x: K.value.left,
978
978
  y: K.value.bottom - e.yOffset
979
979
  }, {
@@ -986,22 +986,22 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
986
986
  });
987
987
  }
988
988
  function yr() {
989
- let { left: e, top: t, width: n, height: r } = K.value, i = X.value.start, a = X.value.end - i, o = n / a, s = Z.value.start - i, c = Z.value.end - i, l = Math.max(0, Math.min(a, s)), u = Math.max(0, Math.min(a, c));
990
- Ne(T.value, [
989
+ let { left: e, top: t, width: n, height: r } = K.value, i = X.value.start, a = X.value.end - i, o = n / a, s = Z.value.start - i, ee = Z.value.end - i, c = Math.max(0, Math.min(a, s)), l = Math.max(0, Math.min(a, ee));
990
+ Pe(w.value, [
991
991
  {
992
- x: e + l * o,
992
+ x: e + c * o,
993
993
  y: t
994
994
  },
995
995
  {
996
- x: e + l * o + (u - l) * o,
996
+ x: e + c * o + (l - c) * o,
997
997
  y: t
998
998
  },
999
999
  {
1000
- x: e + l * o + (u - l) * o,
1000
+ x: e + c * o + (l - c) * o,
1001
1001
  y: t + r
1002
1002
  },
1003
1003
  {
1004
- x: e + l * o,
1004
+ x: e + c * o,
1005
1005
  y: t + r
1006
1006
  }
1007
1007
  ], {
@@ -1017,26 +1017,26 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1017
1017
  });
1018
1018
  }
1019
1019
  function br() {
1020
- N.value && U.value && T.value && ($n(), k.value ? ((D.value !== null || j.value !== null) && H.value.selector.show && dr(), pr(), W.value.stacked && B.value.x.showAxis && vr(), Zn.value.forEach((e) => {
1021
- (e.type === "line" || !e.type) && _r(e), A.value && (er(e), W.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && rr(e));
1022
- }), U.value && (Ft.value = Me(U.value))) : (Ft.value && (T.value.clearRect(0, 0, 1e4, 1e4), T.value.drawImage(Ft.value, 0, 0)), (D.value !== null || j.value !== null) && H.value.selector.show && dr(), (D.value !== null || j.value !== null) && Y.value.forEach((e) => {
1023
- let t = D.value ?? j.value, n = e.coordinatesLine[t];
1024
- (e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) && Ae(T.value, {
1020
+ N.value && U.value && w.value && ($n(), O.value ? ((E.value !== null || j.value !== null) && H.value.selector.show && dr(), pr(), W.value.stacked && B.value.x.showAxis && vr(), Zn.value.forEach((e) => {
1021
+ (e.type === "line" || !e.type) && _r(e), k.value && (er(e), W.value.showDataLabels && [!0, void 0].includes(e.dataLabels) && rr(e));
1022
+ }), U.value && (It.value = Ne(U.value))) : (It.value && (w.value.clearRect(0, 0, 1e4, 1e4), w.value.drawImage(It.value, 0, 0)), (E.value !== null || j.value !== null) && H.value.selector.show && dr(), (E.value !== null || j.value !== null) && Y.value.forEach((e) => {
1023
+ let t = E.value ?? j.value, n = e.coordinatesLine[t];
1024
+ (e.type === "line" || !e.type || e.type === "plot") && n && Number.isFinite(n.x) && Number.isFinite(n.y) && je(w.value, {
1025
1025
  x: n.x,
1026
1026
  y: n.y
1027
- }, E.value / 150 * H.value.line.plots.radiusRatio, {
1027
+ }, T.value / 150 * H.value.line.plots.radiusRatio, {
1028
1028
  color: H.value.backgroundColor,
1029
1029
  fillStyle: e.color,
1030
1030
  strokeColor: "transparent"
1031
1031
  });
1032
- })), z.value.show && ur(), H.value.selector.show && H.value.selector.showHorizontalSelector && fr(), nr(), tr(), H.value.zoom.preview.enable && (X.value.start !== Z.value.start || X.value.end !== Z.value.end) && yr(), k.value = !1);
1032
+ })), z.value.show && ur(), H.value.selector.show && H.value.selector.showHorizontalSelector && fr(), nr(), tr(), H.value.zoom.preview.enable && (X.value.start !== Z.value.start || X.value.end !== Z.value.end) && yr(), O.value = !1);
1033
1033
  }
1034
- let xr = Oe(() => {
1035
- A.value = !0, Qn();
1036
- }, G.value > 200 ? 10 : 1, !A.value);
1034
+ let xr = ke(() => {
1035
+ k.value = !0, Qn();
1036
+ }, G.value > 200 ? 10 : 1, !k.value);
1037
1037
  function Sr(e) {
1038
- if ([null, void 0].includes(D.value ?? j.value) || !e.coordinatesLine[D.value ?? j.value]) return !1;
1039
- let { y: t, value: n } = e.coordinatesLine[D.value ?? j.value];
1038
+ if ([null, void 0].includes(E.value ?? j.value) || !e.coordinatesLine[E.value ?? j.value]) return !1;
1039
+ let { y: t, value: n } = e.coordinatesLine[E.value ?? j.value];
1040
1040
  return {
1041
1041
  y: t,
1042
1042
  value: n
@@ -1044,40 +1044,40 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1044
1044
  }
1045
1045
  function Cr(e) {
1046
1046
  if (!N.value || !U.value || On.value) return;
1047
- let { left: t, top: r } = U.value.getBoundingClientRect(), i = e.clientX - t;
1048
- if (Gt.value = (e.clientY - r) * 2, (Gt.value < K.value.top || Gt.value > K.value.bottom) && (Gt.value = null), i * 2 < K.value.left || i * 2 > K.value.right) {
1047
+ let { left: t, top: n } = U.value.getBoundingClientRect(), r = e.clientX - t;
1048
+ if (A.value = (e.clientY - n) * 2, (A.value < K.value.top || A.value > K.value.bottom) && (A.value = null), r * 2 < K.value.left || r * 2 > K.value.right) {
1049
1049
  Or();
1050
1050
  return;
1051
1051
  }
1052
- let a = i * 2 - K.value.left, o = Math.floor(a / K.value.slot);
1053
- if (D.value = o, M.value = o, jt.value = !0, $t.value = !1, !A.value) return;
1054
- let s = "", c = I.value.customFormat, l = Y.value.map((e) => ({
1052
+ let i = r * 2 - K.value.left, o = Math.floor(i / K.value.slot);
1053
+ if (E.value = o, M.value = o, Mt.value = !0, $t.value = !1, !k.value) return;
1054
+ let s = "", ee = I.value.customFormat, c = Y.value.map((e) => ({
1055
1055
  shape: e.shape || null,
1056
1056
  name: e.name,
1057
1057
  color: e.color,
1058
1058
  type: e.type || "line",
1059
- value: e.series.find((e, t) => t === D.value)
1059
+ value: e.series.find((e, t) => t === E.value)
1060
1060
  }));
1061
- Nt.value = {
1062
- timeLabel: z.value.values.slice(X.value.start, X.value.end)[D.value] ? I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[D.value]?.text : lr.value[D.value]?.text : "",
1063
- datapoint: l,
1064
- seriesIndex: D.value,
1061
+ Pt.value = {
1062
+ timeLabel: z.value.values.slice(X.value.start, X.value.end)[E.value] ? I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[E.value]?.text : lr.value[E.value]?.text : "",
1063
+ datapoint: c,
1064
+ seriesIndex: E.value,
1065
1065
  series: Y.value,
1066
1066
  config: P.value
1067
1067
  }, Mr({
1068
- seriesIndex: D.value,
1069
- datapoint: l
1070
- }), n(c) && se(() => c({
1071
- seriesIndex: D.value,
1072
- datapoint: l,
1068
+ seriesIndex: E.value,
1069
+ datapoint: c
1070
+ }), a(ee) && ae(() => ee({
1071
+ seriesIndex: E.value,
1072
+ datapoint: c,
1073
1073
  series: Y.value,
1074
1074
  config: P.value
1075
- })) ? Mt.value = c({
1076
- seriesIndex: D.value,
1077
- datapoint: l,
1075
+ })) ? Nt.value = ee({
1076
+ seriesIndex: E.value,
1077
+ datapoint: c,
1078
1078
  series: Y.value,
1079
1079
  config: P.value
1080
- }) : (z.value.values.slice(X.value.start, X.value.end)[D.value] ? s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[D.value]?.text : lr.value[D.value]?.text}</div>` : s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${$.value[D.value + X.value.start]?.text ?? ""}</div>`, s += Ln.value.join(""), Mt.value = s), A.value = !1;
1080
+ }) : (z.value.values.slice(X.value.start, X.value.end)[E.value] ? s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[E.value]?.text : lr.value[E.value]?.text}</div>` : s += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${$.value[E.value + X.value.start]?.text ?? ""}</div>`, s += Ln.value.join(""), Nt.value = s), k.value = !1;
1081
1081
  }
1082
1082
  function wr(e) {
1083
1083
  return Y.value.map((t) => ({
@@ -1089,18 +1089,18 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1089
1089
  }));
1090
1090
  }
1091
1091
  function Tr(e) {
1092
- let t = "", r = I.value.customFormat, i = wr(e);
1092
+ let t = "", n = I.value.customFormat, r = wr(e);
1093
1093
  return Mr({
1094
1094
  seriesIndex: e,
1095
- datapoint: i
1096
- }), n(r) && se(() => r({
1095
+ datapoint: r
1096
+ }), a(n) && ae(() => n({
1097
1097
  seriesIndex: e,
1098
- datapoint: i,
1098
+ datapoint: r,
1099
1099
  series: Y.value,
1100
1100
  config: P.value
1101
- })) ? r({
1101
+ })) ? n({
1102
1102
  seriesIndex: e,
1103
- datapoint: i,
1103
+ datapoint: r,
1104
1104
  series: Y.value,
1105
1105
  config: P.value
1106
1106
  }) : (z.value.values.slice(X.value.start, X.value.end)[e] ? t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${I.value.useDefaultTimeFormat ? $.value.slice(X.value.start, X.value.end)[e]?.text : lr.value[e]?.text}</div>` : t += `<div style="padding-bottom: 6px; margin-bottom: 4px; border-bottom: 1px solid ${I.value.borderColor}; width:100%">${$.value[e + X.value.start]?.text ?? ""}</div>`, t += Ln.value.join(""), t);
@@ -1114,10 +1114,10 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1114
1114
  };
1115
1115
  }
1116
1116
  function Dr(e, { fromKeyboard: t = !1 } = {}) {
1117
- N.value && !On.value && e != null && (e < 0 || e >= X.value.end - X.value.start || (D.value = e, M.value = e, jt.value = !0, $t.value = t, Mt.value = Tr(e), t && Er(e), A.value = !1, br()));
1117
+ N.value && !On.value && e != null && (e < 0 || e >= X.value.end - X.value.start || (E.value = e, M.value = e, Mt.value = !0, $t.value = t, Nt.value = Tr(e), t && Er(e), k.value = !1, br()));
1118
1118
  }
1119
1119
  function Or() {
1120
- jt.value = !1, D.value = null, M.value = null, Mt.value = "", Gt.value = null, $t.value = !1, br();
1120
+ Mt.value = !1, E.value = null, M.value = null, Nt.value = "", A.value = null, $t.value = !1, br();
1121
1121
  }
1122
1122
  function kr() {
1123
1123
  en.value = !0;
@@ -1143,102 +1143,102 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1143
1143
  indexLabel: ""
1144
1144
  });
1145
1145
  }
1146
- S(() => w.selectedXIndex, (e) => {
1147
- if ([null, void 0].includes(w.selectedXIndex)) {
1146
+ x(() => C.selectedXIndex, (e) => {
1147
+ if ([null, void 0].includes(C.selectedXIndex)) {
1148
1148
  Or();
1149
1149
  return;
1150
1150
  }
1151
1151
  let t = e - X.value.start;
1152
1152
  t < 0 || e >= X.value.end ? Or() : Dr(t, { fromKeyboard: !1 });
1153
- }, { immediate: !0 }), S(() => D.value, (e) => {
1153
+ }, { immediate: !0 }), x(() => E.value, (e) => {
1154
1154
  xr();
1155
- }), S(() => X.value, (e) => {
1156
- k.value = !0, br();
1157
- }, { deep: !0 }), S(() => Z.value, (e) => {
1155
+ }), x(() => X.value, (e) => {
1156
+ O.value = !0, br();
1157
+ }, { deep: !0 }), x(() => Z.value, (e) => {
1158
1158
  br();
1159
- }, { deep: !0 }), S(() => W.value.showDataLabels, (e) => {
1160
- k.value = !0, br();
1161
- }), S(() => Gt.value, (e) => {
1159
+ }, { deep: !0 }), x(() => W.value.showDataLabels, (e) => {
1160
+ O.value = !0, br();
1161
+ }), x(() => A.value, (e) => {
1162
1162
  e && br();
1163
- }), S(() => W.value.stacked, (e) => {
1164
- k.value = !0, A.value = !0, xr();
1163
+ }), x(() => W.value.stacked, (e) => {
1164
+ O.value = !0, k.value = !0, xr();
1165
1165
  });
1166
1166
  function Nr() {
1167
1167
  Or();
1168
1168
  }
1169
- let Pr = nt(null), Fr = nt(null), Ir = nt(null);
1170
- et(() => {
1169
+ let Pr = rt(null), Fr = rt(null), Ir = rt(null);
1170
+ tt(() => {
1171
1171
  Kt.value = !0, Lr();
1172
1172
  });
1173
1173
  function Lr() {
1174
- if (o(w.dataset) && ce({
1174
+ if (ee(C.dataset) && re({
1175
1175
  componentName: "VueUiXyCanvas",
1176
1176
  type: "dataset",
1177
1177
  debug: ln.value
1178
- }), Xe(() => {
1179
- U.value && !T.value && (T.value = U.value.getContext("2d", { willReadFrequently: !0 })), T.value && N.value && (k.value = !0, A.value = !0, Qn());
1178
+ }), Ze(() => {
1179
+ U.value && !w.value && (w.value = U.value.getContext("2d", { willReadFrequently: !0 })), w.value && N.value && (O.value = !0, k.value = !0, Qn());
1180
1180
  }), P.value.responsive) {
1181
- let e = ke(() => {
1182
- let { width: e, height: t } = Pe({
1183
- chart: Ot.value,
1184
- title: H.value.title.text ? Rt.value : null,
1185
- legend: H.value.legend.show ? zt.value : null,
1186
- slicer: H.value.zoom.show && G.value > 6 ? Bt.value?.$el : null,
1187
- source: Vt.value
1181
+ let e = Ae(() => {
1182
+ let { width: e, height: t } = Fe({
1183
+ chart: kt.value,
1184
+ title: H.value.title.text ? zt.value : null,
1185
+ legend: H.value.legend.show ? Bt.value : null,
1186
+ slicer: H.value.zoom.show && G.value > 6 ? Vt.value?.$el : null,
1187
+ source: Ht.value
1188
1188
  });
1189
1189
  requestAnimationFrame(() => {
1190
1190
  xn.value = `${e} / ${t}`;
1191
1191
  });
1192
1192
  });
1193
- Pr.value && (Fr.value && Pr.value.unobserve(Fr.value), Pr.value.disconnect()), Pr.value = new ResizeObserver(e), Fr.value = Ot.value.parentNode, Pr.value.observe(Fr.value);
1193
+ Pr.value && (Fr.value && Pr.value.unobserve(Fr.value), Pr.value.disconnect()), Pr.value = new ResizeObserver(e), Fr.value = kt.value.parentNode, Pr.value.observe(Fr.value);
1194
1194
  }
1195
1195
  Ir.value && Ir.value.disconnect(), Ir.value = new ResizeObserver(async (e) => {
1196
- for (let t of e) t.contentBoxSize && kt.value && (k.value = !0, xr());
1197
- }), Ir.value.observe(kt.value), Un();
1196
+ for (let t of e) t.contentBoxSize && At.value && (O.value = !0, xr());
1197
+ }), Ir.value.observe(At.value), Un();
1198
1198
  }
1199
- $e(() => {
1199
+ et(() => {
1200
1200
  Ir.value && Ir.value.disconnect(), Pr.value && (Fr.value && Pr.value.unobserve(Fr.value), Pr.value.disconnect());
1201
1201
  });
1202
1202
  function Rr() {
1203
- O.value.length ? O.value = [] : Ur.value.forEach((e, t) => {
1204
- O.value.push(t);
1205
- }), k.value = !0, xr(), nn("selectLegend", Y.value);
1203
+ D.value.length ? D.value = [] : Ur.value.forEach((e, t) => {
1204
+ D.value.push(t);
1205
+ }), O.value = !0, xr(), nn("selectLegend", Y.value);
1206
1206
  }
1207
1207
  function zr(e) {
1208
- O.value.includes(e) ? O.value = O.value.filter((t) => t !== e) : O.value.push(e), k.value = !0, xr(), nn("selectLegend", Y.value);
1208
+ D.value.includes(e) ? D.value = D.value.filter((t) => t !== e) : D.value.push(e), O.value = !0, xr(), nn("selectLegend", Y.value);
1209
1209
  }
1210
1210
  function Br(e) {
1211
1211
  return J.value.length ? J.value.find((t) => t.name === e) || (ln.value && console.warn(`VueUiXyCanvas - Series name not found "${e}"`), null) : (ln.value && console.warn("VueUiXyCanvas - There are no series to show."), null);
1212
1212
  }
1213
1213
  function Vr(e) {
1214
1214
  let t = Br(e);
1215
- t !== null && O.value.includes(t.absoluteIndex) && zr(t.absoluteIndex);
1215
+ t !== null && D.value.includes(t.absoluteIndex) && zr(t.absoluteIndex);
1216
1216
  }
1217
1217
  function Hr(e) {
1218
1218
  let t = Br(e);
1219
- t !== null && (O.value.includes(t.absoluteIndex) || zr(t.absoluteIndex));
1219
+ t !== null && (D.value.includes(t.absoluteIndex) || zr(t.absoluteIndex));
1220
1220
  }
1221
- let Ur = f(() => J.value.map((e, t) => ({
1221
+ let Ur = d(() => J.value.map((e, t) => ({
1222
1222
  ...e,
1223
1223
  name: e.name,
1224
- color: s(e.color) || Dn.value[t] || i[t] || i[t % i.length],
1224
+ color: c(e.color) || Dn.value[t] || l[t] || l[t % l.length],
1225
1225
  shape: e.shape || "circle",
1226
1226
  prefix: e.prefix || "",
1227
1227
  suffix: e.suffix || "",
1228
1228
  rounding: e.rounding || 0
1229
1229
  })).map((e) => ({
1230
1230
  ...e,
1231
- opacity: O.value.includes(e.absoluteIndex) ? .5 : 1,
1231
+ opacity: D.value.includes(e.absoluteIndex) ? .5 : 1,
1232
1232
  segregate: () => zr(e.absoluteIndex),
1233
- isSegregated: O.value.includes(e.absoluteIndex)
1234
- }))), Wr = f(() => ({
1233
+ isSegregated: D.value.includes(e.absoluteIndex)
1234
+ }))), Wr = d(() => ({
1235
1235
  cy: "donut-div-legend",
1236
1236
  backgroundColor: H.value.legend.backgroundColor,
1237
1237
  color: H.value.legend.color,
1238
1238
  fontSize: H.value.legend.fontSize,
1239
1239
  paddingBottom: 12,
1240
1240
  fontWeight: H.value.legend.bold ? "bold" : ""
1241
- })), Gr = f(() => {
1241
+ })), Gr = d(() => {
1242
1242
  let e = [""].concat(Y.value.map((e) => e.name), "__SUM__"), t = [];
1243
1243
  for (let e = 0; e < G.value; e += 1) {
1244
1244
  let n = Y.value.map((t) => t.series[e] ?? 0).reduce((e, t) => e + t, 0);
@@ -1263,7 +1263,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1263
1263
  config: n,
1264
1264
  colNames: r
1265
1265
  };
1266
- }), Kr = f(() => {
1266
+ }), Kr = d(() => {
1267
1267
  if (Y.value.length === 0) return {
1268
1268
  head: [],
1269
1269
  body: [],
@@ -1287,13 +1287,13 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1287
1287
  };
1288
1288
  });
1289
1289
  function qr(e = null) {
1290
- let n = [
1290
+ let t = [
1291
1291
  [H.value.title.text],
1292
1292
  [H.value.title.subtitle.text],
1293
1293
  [""]
1294
- ], i = ["", ...Kr.value.head.map((e) => e.label)], a = Kr.value.body, o = n.concat([i]).concat(a), s = r(o);
1295
- e ? e(s) : t({
1296
- csvContent: s,
1294
+ ], n = ["", ...Kr.value.head.map((e) => e.label)], r = Kr.value.body, a = t.concat([n]).concat(r), o = i(a);
1295
+ e ? e(o) : le({
1296
+ csvContent: o,
1297
1297
  title: H.value.title.text || "vue-ui-xy-canvas"
1298
1298
  });
1299
1299
  }
@@ -1312,22 +1312,22 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1312
1312
  function Qr() {
1313
1313
  W.value.showTooltip = !W.value.showTooltip;
1314
1314
  }
1315
- let $r = y(!1);
1315
+ let $r = v(!1);
1316
1316
  function ei() {
1317
1317
  $r.value = !$r.value;
1318
1318
  }
1319
1319
  async function ti({ scale: e = 2 } = {}) {
1320
- if (!Ot.value) return;
1321
- let { imageUri: t, base64: n } = await we({
1322
- domElement: Ot.value,
1320
+ if (!kt.value) return;
1321
+ let { imageUri: t, base64: n } = await Te({
1322
+ domElement: kt.value,
1323
1323
  base64: !0,
1324
1324
  img: !0,
1325
1325
  scale: e
1326
- }), r = Ot.value.getBoundingClientRect(), i = {
1326
+ }), r = kt.value.getBoundingClientRect(), i = {
1327
1327
  width: r.width,
1328
1328
  height: r.height,
1329
1329
  aspectRatio: r.height ? r.width / r.height : 0
1330
- }, a = await ue(t, e) ?? i;
1330
+ }, a = await oe(t, e) ?? i;
1331
1331
  return {
1332
1332
  imageUri: t,
1333
1333
  base64: n,
@@ -1335,18 +1335,18 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1335
1335
  ...a
1336
1336
  };
1337
1337
  }
1338
- let ni = f(() => {
1338
+ let ni = d(() => {
1339
1339
  let e = P.value.table.useDialog && !P.value.table.show, t = W.value.showTable;
1340
1340
  return {
1341
- component: e ? Ct : Le,
1341
+ component: e ? wt : Re,
1342
1342
  title: `${H.value.title.text}${H.value.title.subtitle.text ? `: ${H.value.title.subtitle.text}` : ""}`,
1343
1343
  props: e ? {
1344
1344
  backgroundColor: P.value.table.th.backgroundColor,
1345
1345
  color: P.value.table.th.color,
1346
1346
  headerColor: P.value.table.th.color,
1347
1347
  headerBg: P.value.table.th.backgroundColor,
1348
- isFullscreen: Lt.value,
1349
- fullscreenParent: Ot.value,
1348
+ isFullscreen: Rt.value,
1349
+ fullscreenParent: kt.value,
1350
1350
  forcedWidth: Math.min(800, window.innerWidth * .8),
1351
1351
  isCursorPointer: cn.value
1352
1352
  } : {
@@ -1366,7 +1366,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1366
1366
  }
1367
1367
  };
1368
1368
  });
1369
- S(() => W.value.showTable, (e) => {
1369
+ x(() => W.value.showTable, (e) => {
1370
1370
  P.value.table.show || (e && P.value.table.useDialog && qt.value ? qt.value.open() : "close" in qt.value && qt.value.close());
1371
1371
  });
1372
1372
  function ri() {
@@ -1396,7 +1396,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1396
1396
  dataset: Y.value
1397
1397
  }));
1398
1398
  }
1399
- return Ee({
1399
+ return De({
1400
1400
  getData: Jr,
1401
1401
  getImage: ti,
1402
1402
  generateCsv: qr,
@@ -1411,27 +1411,27 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1411
1411
  toggleAnnotator: ei,
1412
1412
  toggleFullscreen: En,
1413
1413
  copyAlt: ai
1414
- }), (t, r) => (v(), We("div", {
1415
- style: Qe(`width:100%; position:relative; ${P.value.responsive ? "height: 100%" : ""}; background:${P.value.style.chart.backgroundColor};`),
1414
+ }), (t, n) => (_(), Ge("div", {
1415
+ style: $e(`width:100%; position:relative; ${P.value.responsive ? "height: 100%" : ""}; background:${P.value.style.chart.backgroundColor};`),
1416
1416
  ref_key: "xy",
1417
- ref: Ot,
1418
- id: `xy_canvas_${Dt.value}`,
1419
- class: Ze(`vue-data-ui-component vue-ui-xy-canvas ${Lt.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1417
+ ref: kt,
1418
+ id: `xy_canvas_${Ot.value}`,
1419
+ class: Qe(`vue-data-ui-component vue-ui-xy-canvas ${Rt.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
1420
1420
  onMouseenter: gn,
1421
1421
  onMouseleave: _n
1422
1422
  }, [
1423
- h("div", {
1424
- id: `chart-instructions-${Dt.value}`,
1423
+ m("div", {
1424
+ id: `chart-instructions-${Ot.value}`,
1425
1425
  class: "sr-only"
1426
- }, [h("p", null, rt(P.value.a11y.translations.keyboardNavigation), 1)], 8, lt),
1427
- h("div", ut, rt(sn.value), 1),
1428
- P.value.style.chart.title.text ? (v(), We("div", {
1426
+ }, [m("p", null, it(P.value.a11y.translations.keyboardNavigation), 1)], 8, ut),
1427
+ m("div", dt, it(sn.value), 1),
1428
+ P.value.style.chart.title.text ? (_(), Ge("div", {
1429
1429
  key: 0,
1430
1430
  ref_key: "chartTitle",
1431
- ref: Rt,
1432
- style: Qe(`width:100%;background:${P.value.style.chart.backgroundColor};`)
1433
- }, [(v(), p(Te, {
1434
- key: `title_${Ht.value}`,
1431
+ ref: zt,
1432
+ style: $e(`width:100%;background:${P.value.style.chart.backgroundColor};`)
1433
+ }, [(_(), f(Ee, {
1434
+ key: `title_${Ut.value}`,
1435
1435
  config: {
1436
1436
  title: {
1437
1437
  cy: "xy-canvas-title",
@@ -1442,17 +1442,17 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1442
1442
  ...P.value.style.chart.title.subtitle
1443
1443
  }
1444
1444
  }
1445
- }, null, 8, ["config"]))], 4)) : m("", !0),
1446
- h("div", { id: `legend-top-${Dt.value}` }, null, 8, dt),
1447
- F.value.show && N.value && (x(hn) || x(pn)) ? (v(), p(x(xt), {
1445
+ }, null, 8, ["config"]))], 4)) : p("", !0),
1446
+ m("div", { id: `legend-top-${Ot.value}` }, null, 8, ft),
1447
+ F.value.show && N.value && (b(hn) || b(pn)) ? (_(), f(b(St), {
1448
1448
  ref_key: "userOptionsRef",
1449
1449
  ref: Jt,
1450
- key: `user_option_${It.value}`,
1450
+ key: `user_option_${Lt.value}`,
1451
1451
  backgroundColor: P.value.style.chart.backgroundColor,
1452
1452
  color: P.value.style.chart.color,
1453
- isPrinting: x(Sn),
1454
- isImaging: x(Cn),
1455
- uid: Dt.value,
1453
+ isPrinting: b(Sn),
1454
+ isImaging: b(Cn),
1455
+ uid: Ot.value,
1456
1456
  hasTooltip: F.value.buttons.tooltip && I.value.show,
1457
1457
  hasPdf: F.value.buttons.pdf,
1458
1458
  hasImg: F.value.buttons.img,
@@ -1462,11 +1462,11 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1462
1462
  hasFullscreen: F.value.buttons.fullscreen,
1463
1463
  hasAltCopy: F.value.buttons.altCopy,
1464
1464
  hasTable: X.value.end - X.value.start <= 730 && F.value.buttons.table,
1465
- isFullscreen: Lt.value,
1465
+ isFullscreen: Rt.value,
1466
1466
  isTooltip: W.value.showTooltip,
1467
1467
  isStacked: W.value.stacked,
1468
1468
  titles: { ...F.value.buttonTitles },
1469
- chartElement: Ot.value,
1469
+ chartElement: kt.value,
1470
1470
  position: F.value.position,
1471
1471
  hasAnnotator: F.value.buttons.annotator,
1472
1472
  isAnnotation: $r.value,
@@ -1475,7 +1475,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1475
1475
  tableDialog: P.value.table.useDialog,
1476
1476
  isCursorPointer: cn.value,
1477
1477
  onToggleFullscreen: En,
1478
- onGeneratePdf: x(wn),
1478
+ onGeneratePdf: b(wn),
1479
1479
  onGenerateCsv: qr,
1480
1480
  onGenerateImage: ii,
1481
1481
  onToggleTable: Yr,
@@ -1484,11 +1484,11 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1484
1484
  onToggleTooltip: Qr,
1485
1485
  onToggleAnnotator: ei,
1486
1486
  onCopyAlt: ai,
1487
- style: Qe({ visibility: x(hn) ? x(pn) ? "visible" : "hidden" : "visible" })
1488
- }, Ge({ _: 2 }, [
1487
+ style: $e({ visibility: b(hn) ? b(pn) ? "visible" : "hidden" : "visible" })
1488
+ }, Ke({ _: 2 }, [
1489
1489
  t.$slots.menuIcon ? {
1490
1490
  name: "menuIcon",
1491
- fn: C(({ isOpen: e, color: n }) => [b(t.$slots, "menuIcon", _(g({
1491
+ fn: S(({ isOpen: e, color: n }) => [y(t.$slots, "menuIcon", g(h({
1492
1492
  isOpen: e,
1493
1493
  color: n
1494
1494
  })), void 0, !0)]),
@@ -1496,42 +1496,42 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1496
1496
  } : void 0,
1497
1497
  t.$slots.optionTooltip ? {
1498
1498
  name: "optionTooltip",
1499
- fn: C(() => [b(t.$slots, "optionTooltip", {}, void 0, !0)]),
1499
+ fn: S(() => [y(t.$slots, "optionTooltip", {}, void 0, !0)]),
1500
1500
  key: "1"
1501
1501
  } : void 0,
1502
1502
  t.$slots.optionPdf ? {
1503
1503
  name: "optionPdf",
1504
- fn: C(() => [b(t.$slots, "optionPdf", {}, void 0, !0)]),
1504
+ fn: S(() => [y(t.$slots, "optionPdf", {}, void 0, !0)]),
1505
1505
  key: "2"
1506
1506
  } : void 0,
1507
1507
  t.$slots.optionCsv ? {
1508
1508
  name: "optionCsv",
1509
- fn: C(() => [b(t.$slots, "optionCsv", {}, void 0, !0)]),
1509
+ fn: S(() => [y(t.$slots, "optionCsv", {}, void 0, !0)]),
1510
1510
  key: "3"
1511
1511
  } : void 0,
1512
1512
  t.$slots.optionImg ? {
1513
1513
  name: "optionImg",
1514
- fn: C(() => [b(t.$slots, "optionImg", {}, void 0, !0)]),
1514
+ fn: S(() => [y(t.$slots, "optionImg", {}, void 0, !0)]),
1515
1515
  key: "4"
1516
1516
  } : void 0,
1517
1517
  t.$slots.optionTable ? {
1518
1518
  name: "optionTable",
1519
- fn: C(() => [b(t.$slots, "optionTable", {}, void 0, !0)]),
1519
+ fn: S(() => [y(t.$slots, "optionTable", {}, void 0, !0)]),
1520
1520
  key: "5"
1521
1521
  } : void 0,
1522
1522
  t.$slots.optionLabels ? {
1523
1523
  name: "optionLabels",
1524
- fn: C(() => [b(t.$slots, "optionLabels", {}, void 0, !0)]),
1524
+ fn: S(() => [y(t.$slots, "optionLabels", {}, void 0, !0)]),
1525
1525
  key: "6"
1526
1526
  } : void 0,
1527
1527
  t.$slots.optionStack ? {
1528
1528
  name: "optionStack",
1529
- fn: C(() => [b(t.$slots, "optionStack", {}, void 0, !0)]),
1529
+ fn: S(() => [y(t.$slots, "optionStack", {}, void 0, !0)]),
1530
1530
  key: "7"
1531
1531
  } : void 0,
1532
1532
  t.$slots.optionFullscreen ? {
1533
1533
  name: "optionFullscreen",
1534
- fn: C(({ toggleFullscreen: e, isFullscreen: n }) => [b(t.$slots, "optionFullscreen", _(g({
1534
+ fn: S(({ toggleFullscreen: e, isFullscreen: n }) => [y(t.$slots, "optionFullscreen", g(h({
1535
1535
  toggleFullscreen: e,
1536
1536
  isFullscreen: n
1537
1537
  })), void 0, !0)]),
@@ -1539,7 +1539,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1539
1539
  } : void 0,
1540
1540
  t.$slots.optionAnnotator ? {
1541
1541
  name: "optionAnnotator",
1542
- fn: C(({ toggleAnnotator: e, isAnnotator: n }) => [b(t.$slots, "optionAnnotator", _(g({
1542
+ fn: S(({ toggleAnnotator: e, isAnnotator: n }) => [y(t.$slots, "optionAnnotator", g(h({
1543
1543
  toggleAnnotator: e,
1544
1544
  isAnnotator: n
1545
1545
  })), void 0, !0)]),
@@ -1547,31 +1547,31 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1547
1547
  } : void 0,
1548
1548
  t.$slots.optionAltCopy ? {
1549
1549
  name: "optionAltCopy",
1550
- fn: C(({ altCopy: e }) => [b(t.$slots, "optionAltCopy", _(g({ altCopy: e })), void 0, !0)]),
1550
+ fn: S(({ altCopy: e }) => [y(t.$slots, "optionAltCopy", g(h({ altCopy: e })), void 0, !0)]),
1551
1551
  key: "10"
1552
1552
  } : void 0,
1553
1553
  t.$slots["custom-menu-before"] ? {
1554
1554
  name: "custom-menu-before",
1555
- fn: C(() => [b(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1555
+ fn: S(() => [y(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1556
1556
  key: "11"
1557
1557
  } : void 0,
1558
1558
  t.$slots["custom-menu-after"] ? {
1559
1559
  name: "custom-menu-after",
1560
- fn: C(() => [b(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1560
+ fn: S(() => [y(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1561
1561
  key: "12"
1562
1562
  } : void 0
1563
- ]), 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("."))) : m("", !0),
1564
- h("div", {
1563
+ ]), 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("."))) : p("", !0),
1564
+ m("div", {
1565
1565
  class: "vue-ui-xy-canvas",
1566
- style: Qe(`position: relative; aspect-ratio: ${xn.value}`),
1566
+ style: $e(`position: relative; aspect-ratio: ${xn.value}`),
1567
1567
  ref_key: "container",
1568
- ref: kt
1568
+ ref: At
1569
1569
  }, [
1570
- h("canvas", {
1570
+ m("canvas", {
1571
1571
  ref_key: "canvas",
1572
1572
  ref: U,
1573
1573
  "aria-label": on.value,
1574
- "aria-describedby": `chart-instructions-${Dt.value}`,
1574
+ "aria-describedby": `chart-instructions-${Ot.value}`,
1575
1575
  role: "img",
1576
1576
  "aria-live": "polite",
1577
1577
  tabindex: "0",
@@ -1579,20 +1579,20 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1579
1579
  width: "100%",
1580
1580
  height: "100%"
1581
1581
  },
1582
- onMousemove: r[0] ||= (e) => Cr(e),
1582
+ onMousemove: n[0] ||= (e) => Cr(e),
1583
1583
  onMouseleave: Nr,
1584
1584
  onFocus: kr,
1585
1585
  onBlur: Ar,
1586
1586
  onKeydown: jr
1587
- }, null, 40, ft),
1588
- t.$slots.hint ? (v(), We("div", pt, [b(t.$slots, "hint", _(g({
1587
+ }, null, 40, pt),
1588
+ t.$slots.hint ? (_(), Ge("div", mt, [y(t.$slots, "hint", g(h({
1589
1589
  hint: P.value.a11y.translations.keyboardNavigation,
1590
1590
  isVisible: en.value
1591
- })), void 0, !0)])) : m("", !0),
1592
- b(t.$slots, "skeleton", {}, () => [x(dn) ? (v(), p(xe, { key: 0 })) : m("", !0)], !0),
1593
- qe(x(yt), {
1591
+ })), void 0, !0)])) : p("", !0),
1592
+ y(t.$slots, "skeleton", {}, () => [b(dn) ? (_(), f(Se, { key: 0 })) : p("", !0)], !0),
1593
+ Je(b(bt), {
1594
1594
  teleportTo: I.value.teleportTo,
1595
- show: W.value.showTooltip && jt.value,
1595
+ show: W.value.showTooltip && Mt.value,
1596
1596
  backgroundColor: I.value.backgroundColor,
1597
1597
  color: I.value.color,
1598
1598
  fontSize: I.value.fontSize,
@@ -1603,10 +1603,10 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1603
1603
  offsetX: I.value.offsetX,
1604
1604
  offsetY: I.value.offsetY,
1605
1605
  parent: t.$refs.xy,
1606
- content: Mt.value,
1607
- isFullscreen: Lt.value,
1606
+ content: Nt.value,
1607
+ isFullscreen: Rt.value,
1608
1608
  backgroundOpacity: I.value.backgroundOpacity,
1609
- isCustom: x(n)(I.value.customFormat),
1609
+ isCustom: b(a)(I.value.customFormat),
1610
1610
  smooth: I.value.smooth,
1611
1611
  backdropFilter: I.value.backdropFilter,
1612
1612
  smoothForce: I.value.smoothForce,
@@ -1614,9 +1614,9 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1614
1614
  isA11yMode: $t.value,
1615
1615
  a11yPosition: tn.value
1616
1616
  }, {
1617
- "tooltip-before": C(() => [b(t.$slots, "tooltip-before", _(g({ ...Nt.value })), void 0, !0)]),
1618
- tooltip: C(() => [b(t.$slots, "tooltip", _(g({ ...Nt.value })), void 0, !0)]),
1619
- "tooltip-after": C(() => [b(t.$slots, "tooltip-after", _(g({ ...Nt.value })), void 0, !0)]),
1617
+ "tooltip-before": S(() => [y(t.$slots, "tooltip-before", g(h({ ...Pt.value })), void 0, !0)]),
1618
+ tooltip: S(() => [y(t.$slots, "tooltip", g(h({ ...Pt.value })), void 0, !0)]),
1619
+ "tooltip-after": S(() => [y(t.$slots, "tooltip-after", g(h({ ...Pt.value })), void 0, !0)]),
1620
1620
  _: 3
1621
1621
  }, 8, [
1622
1622
  "teleportTo",
@@ -1643,10 +1643,10 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1643
1643
  "a11yPosition"
1644
1644
  ])
1645
1645
  ], 4),
1646
- P.value.style.chart.zoom.show && G.value > 6 && N.value && Xt.value && !x(dn) ? (v(), p(Ie, {
1646
+ P.value.style.chart.zoom.show && G.value > 6 && N.value && Xt.value && !b(dn) ? (_(), f(Le, {
1647
1647
  key: 2,
1648
1648
  ref_key: "chartSlicer",
1649
- ref: Bt,
1649
+ ref: Vt,
1650
1650
  "data-dom-to-png-ignore-layout": "",
1651
1651
  allMinimaps: Bn.value,
1652
1652
  background: P.value.style.chart.zoom.color,
@@ -1674,7 +1674,7 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1674
1674
  minimapMerged: P.value.style.chart.zoom.minimap.merged,
1675
1675
  minimapSelectedColor: P.value.style.chart.zoom.minimap.selectedColor,
1676
1676
  minimapSelectedColorOpacity: P.value.style.chart.zoom.minimap.selectedColorOpacity,
1677
- minimapSelectedIndex: D.value,
1677
+ minimapSelectedIndex: E.value,
1678
1678
  minimapSelectionRadius: P.value.style.chart.zoom.minimap.selectionRadius,
1679
1679
  preciseLabels: cr.value?.length ? cr.value : $.value,
1680
1680
  refreshEndPoint: P.value.style.chart.zoom.endIndex === null ? G.value : P.value.style.chart.zoom.endIndex + 1,
@@ -1700,40 +1700,40 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1700
1700
  handleBorderColor: P.value.style.chart.zoom.minimap.handleBorderColor,
1701
1701
  handleFill: P.value.style.chart.zoom.minimap.handleFill,
1702
1702
  handleWidth: P.value.style.chart.zoom.minimap.handleWidth,
1703
- onFutureEnd: r[1] ||= (e) => Gn("end", e),
1704
- onFutureStart: r[2] ||= (e) => Gn("start", e),
1703
+ onFutureEnd: n[1] ||= (e) => Gn("end", e),
1704
+ onFutureStart: n[2] ||= (e) => Gn("start", e),
1705
1705
  onReset: Un,
1706
1706
  onTrapMouse: kn,
1707
1707
  "onUpdate:end": Jn,
1708
1708
  "onUpdate:start": qn
1709
1709
  }, {
1710
- "reset-action": C(({ reset: e }) => [b(t.$slots, "reset-action", _(g({ reset: e })), void 0, !0)]),
1710
+ "reset-action": S(({ reset: e }) => [y(t.$slots, "reset-action", g(h({ reset: e })), void 0, !0)]),
1711
1711
  _: 3
1712
- }, 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.minimapLeftInsetRatio.minimapRightInsetRatio.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : m("", !0),
1713
- h("div", { id: `legend-bottom-${Dt.value}` }, null, 8, mt),
1714
- Kt.value && (P.value.style.chart.legend.show || t.$slots.legend) ? (v(), p(Ue, {
1712
+ }, 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.minimapLeftInsetRatio.minimapRightInsetRatio.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : p("", !0),
1713
+ m("div", { id: `legend-bottom-${Ot.value}` }, null, 8, ht),
1714
+ Kt.value && (P.value.style.chart.legend.show || t.$slots.legend) ? (_(), f(We, {
1715
1715
  key: 3,
1716
- to: P.value.style.chart.legend.position === "top" ? `#legend-top-${Dt.value}` : `#legend-bottom-${Dt.value}`
1717
- }, [h("div", {
1716
+ to: P.value.style.chart.legend.position === "top" ? `#legend-top-${Ot.value}` : `#legend-bottom-${Ot.value}`
1717
+ }, [m("div", {
1718
1718
  ref_key: "chartLegend",
1719
- ref: zt
1720
- }, [b(t.$slots, "legend", { legend: Ur.value }, () => [P.value.style.chart.legend.show && N.value ? (v(), p(Ve, {
1719
+ ref: Bt
1720
+ }, [y(t.$slots, "legend", { legend: Ur.value }, () => [P.value.style.chart.legend.show && N.value ? (_(), f(He, {
1721
1721
  legendSet: Ur.value,
1722
1722
  config: Wr.value,
1723
- key: `legend_${Wt.value}`,
1723
+ key: `legend_${Gt.value}`,
1724
1724
  isCursorPointer: cn.value,
1725
- onClickMarker: r[3] ||= ({ i: e }) => zr(e)
1725
+ onClickMarker: n[3] ||= ({ i: e }) => zr(e)
1726
1726
  }, {
1727
- item: C(({ legend: e, index: t }) => [h("div", {
1727
+ item: S(({ legend: e, index: t }) => [m("div", {
1728
1728
  onClick: (t) => e.segregate(),
1729
- style: Qe(`opacity:${O.value.includes(t) ? .5 : 1}`)
1730
- }, rt(e.name), 13, ht)]),
1731
- legendToggle: C(() => [Ur.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !x(dn) ? (v(), p(Re, {
1729
+ style: $e(`opacity:${D.value.includes(t) ? .5 : 1}`)
1730
+ }, it(e.name), 13, gt)]),
1731
+ legendToggle: S(() => [Ur.value.length > 2 && P.value.style.chart.legend.selectAllToggle.show && !b(dn) ? (_(), f(ze, {
1732
1732
  key: 0,
1733
1733
  backgroundColor: P.value.style.chart.legend.selectAllToggle.backgroundColor,
1734
1734
  color: P.value.style.chart.legend.selectAllToggle.color,
1735
1735
  fontSize: P.value.style.chart.legend.fontSize,
1736
- checked: O.value.length > 0,
1736
+ checked: D.value.length > 0,
1737
1737
  isCursorPointer: cn.value,
1738
1738
  onToggle: Rr
1739
1739
  }, null, 8, [
@@ -1742,27 +1742,27 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1742
1742
  "fontSize",
1743
1743
  "checked",
1744
1744
  "isCursorPointer"
1745
- ])) : m("", !0)]),
1745
+ ])) : p("", !0)]),
1746
1746
  _: 1
1747
1747
  }, 8, [
1748
1748
  "legendSet",
1749
1749
  "config",
1750
1750
  "isCursorPointer"
1751
- ])) : m("", !0)], !0)], 512)], 8, ["to"])) : m("", !0),
1752
- t.$slots.watermark ? (v(), We("div", gt, [b(t.$slots, "watermark", _(g({ isPrinting: x(Sn) || x(Cn) || Qt.value })), void 0, !0)])) : m("", !0),
1753
- t.$slots.source ? (v(), We("div", {
1751
+ ])) : p("", !0)], !0)], 512)], 8, ["to"])) : p("", !0),
1752
+ t.$slots.watermark ? (_(), Ge("div", _t, [y(t.$slots, "watermark", g(h({ isPrinting: b(Sn) || b(Cn) || Qt.value })), void 0, !0)])) : p("", !0),
1753
+ t.$slots.source ? (_(), Ge("div", {
1754
1754
  key: 5,
1755
1755
  ref_key: "source",
1756
- ref: Vt,
1756
+ ref: Ht,
1757
1757
  dir: "auto"
1758
- }, [b(t.$slots, "source", {}, void 0, !0)], 512)) : m("", !0),
1759
- N.value && F.value.buttons.table ? (v(), p(tt(ni.value.component), Ye({ key: 6 }, ni.value.props, {
1758
+ }, [y(t.$slots, "source", {}, void 0, !0)], 512)) : p("", !0),
1759
+ N.value && F.value.buttons.table ? (_(), f(nt(ni.value.component), Xe({ key: 6 }, ni.value.props, {
1760
1760
  ref_key: "tableUnit",
1761
1761
  ref: qt,
1762
1762
  onClose: ri
1763
- }), Ge({
1764
- content: C(() => [(v(), p(x(bt), {
1765
- key: `table_${Ut.value}`,
1763
+ }), Ke({
1764
+ content: S(() => [(_(), f(b(xt), {
1765
+ key: `table_${Wt.value}`,
1766
1766
  colNames: Gr.value.colNames,
1767
1767
  head: Gr.value.head,
1768
1768
  body: Gr.value.body,
@@ -1772,12 +1772,12 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1772
1772
  isCursorPointer: cn.value,
1773
1773
  onClose: ri
1774
1774
  }, {
1775
- th: C(({ th: e }) => [e === "__SUM__" ? (v(), We("div", _t, [qe(Fe, {
1775
+ th: S(({ th: e }) => [e === "__SUM__" ? (_(), Ge("div", vt, [Je(Ie, {
1776
1776
  name: "sigma",
1777
1777
  stroke: Gr.value.config.th.color,
1778
1778
  size: 16
1779
- }, null, 8, ["stroke"])])) : (v(), We("div", vt, rt(e), 1))]),
1780
- td: C(({ td: e }) => [Ke(rt(e), 1)]),
1779
+ }, null, 8, ["stroke"])])) : (_(), Ge("div", yt, it(e), 1))]),
1780
+ td: S(({ td: e }) => [qe(it(e), 1)]),
1781
1781
  _: 1
1782
1782
  }, 8, [
1783
1783
  "colNames",
@@ -1791,36 +1791,36 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1791
1791
  _: 2
1792
1792
  }, [P.value.table.useDialog ? {
1793
1793
  name: "title",
1794
- fn: C(() => [Ke(rt(ni.value.title), 1)]),
1794
+ fn: S(() => [qe(it(ni.value.title), 1)]),
1795
1795
  key: "0"
1796
1796
  } : void 0, P.value.table.useDialog ? {
1797
1797
  name: "actions",
1798
- fn: C(() => [h("button", {
1798
+ fn: S(() => [m("button", {
1799
1799
  tabindex: "0",
1800
1800
  class: "vue-ui-user-options-button",
1801
- onClick: r[4] ||= (e) => qr(F.value.callbacks.csv),
1802
- style: Qe({ cursor: cn.value ? "pointer" : "default" })
1803
- }, [qe(Fe, {
1801
+ onClick: n[4] ||= (e) => qr(F.value.callbacks.csv),
1802
+ style: $e({ cursor: cn.value ? "pointer" : "default" })
1803
+ }, [Je(Ie, {
1804
1804
  name: "fileCsv",
1805
1805
  stroke: ni.value.props.color
1806
1806
  }, null, 8, ["stroke"])], 4)]),
1807
1807
  key: "1"
1808
- } : void 0]), 1040)) : m("", !0),
1809
- F.value.buttons.annotator && Y.value.length ? (v(), p(x(St), {
1808
+ } : void 0]), 1040)) : p("", !0),
1809
+ F.value.buttons.annotator && Y.value.length ? (_(), f(b(Ct), {
1810
1810
  key: 7,
1811
- parent: Ot.value,
1811
+ parent: kt.value,
1812
1812
  backgroundColor: P.value.style.chart.backgroundColor,
1813
1813
  color: P.value.style.chart.color,
1814
1814
  active: $r.value,
1815
1815
  isCursorPointer: cn.value,
1816
1816
  onClose: ei
1817
1817
  }, {
1818
- "annotator-action-close": C(() => [b(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1819
- "annotator-action-color": C(({ color: e }) => [b(t.$slots, "annotator-action-color", _(g({ color: e })), void 0, !0)]),
1820
- "annotator-action-draw": C(({ mode: e }) => [b(t.$slots, "annotator-action-draw", _(g({ mode: e })), void 0, !0)]),
1821
- "annotator-action-undo": C(({ disabled: e }) => [b(t.$slots, "annotator-action-undo", _(g({ disabled: e })), void 0, !0)]),
1822
- "annotator-action-redo": C(({ disabled: e }) => [b(t.$slots, "annotator-action-redo", _(g({ disabled: e })), void 0, !0)]),
1823
- "annotator-action-delete": C(({ disabled: e }) => [b(t.$slots, "annotator-action-delete", _(g({ disabled: e })), void 0, !0)]),
1818
+ "annotator-action-close": S(() => [y(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1819
+ "annotator-action-color": S(({ color: e }) => [y(t.$slots, "annotator-action-color", g(h({ color: e })), void 0, !0)]),
1820
+ "annotator-action-draw": S(({ mode: e }) => [y(t.$slots, "annotator-action-draw", g(h({ mode: e })), void 0, !0)]),
1821
+ "annotator-action-undo": S(({ disabled: e }) => [y(t.$slots, "annotator-action-undo", g(h({ disabled: e })), void 0, !0)]),
1822
+ "annotator-action-redo": S(({ disabled: e }) => [y(t.$slots, "annotator-action-redo", g(h({ disabled: e })), void 0, !0)]),
1823
+ "annotator-action-delete": S(({ disabled: e }) => [y(t.$slots, "annotator-action-delete", g(h({ disabled: e })), void 0, !0)]),
1824
1824
  _: 3
1825
1825
  }, 8, [
1826
1826
  "parent",
@@ -1828,9 +1828,9 @@ var st = /* @__PURE__ */ e({ default: () => yt }), ct = ["id"], lt = ["id"], ut
1828
1828
  "color",
1829
1829
  "active",
1830
1830
  "isCursorPointer"
1831
- ])) : m("", !0)
1832
- ], 46, ct));
1831
+ ])) : p("", !0)
1832
+ ], 46, lt));
1833
1833
  }
1834
1834
  }, [["__scopeId", "data-v-c27832e0"]]);
1835
1835
  //#endregion
1836
- export { st as n, yt as t };
1836
+ export { ct as n, bt as t };