vue-data-ui 2.4.1 → 2.4.3

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 (218) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-BIs_9yK8.js → Arrow-C7lNL7sY.js} +1 -1
  3. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  4. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-BbvG1AlW.js} +7 -4
  5. package/dist/BaseIcon-uALK38Ov.cjs +1 -0
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DTzynbND.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DYqC2pqu.js} +2 -2
  8. package/dist/{Legend-Dj9KiaLv.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  9. package/dist/{Legend-DXLiSLHd.js → Legend-DNgTCgEK.js} +1 -1
  10. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  11. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-VkaUzgmt.js} +1 -1
  12. package/dist/PenAndPaper-CDFVOo7X.cjs +1 -0
  13. package/dist/PenAndPaper-DAZYA8Ew.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-Bwon0l0g.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-D2Dpshg1.cjs} +1 -1
  16. package/dist/{Slicer-BZfUZr1J.js → Slicer-TfpN2Cr4.js} +3 -3
  17. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  18. package/dist/{Title-C-lm3Mkl.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  19. package/dist/{Title-DYNLqCCT.js → Title-C5pIfQAz.js} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cz24YLfw.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-Bya_q1J-.js} +883 -842
  23. package/dist/index-eFox7weK.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +22 -17
  26. package/dist/types/vue-data-ui.d.ts +22 -17
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-B33hazbH.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  29. package/dist/usePrinter-CSRFnDBU.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-CiHd1FwD.js} +230 -185
  31. package/dist/useResponsive-BY8tgM1n.js +188 -0
  32. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  33. package/dist/vue-data-ui-BTtxyUc3.cjs +9 -0
  34. package/dist/vue-data-ui-Bduq4f2p.js +261 -0
  35. package/dist/vue-data-ui.cjs +1 -1
  36. package/dist/vue-data-ui.js +1 -1
  37. package/dist/vue-ui-3d-bar-B-P7PMHs.cjs +19 -0
  38. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BUEq_VdY.js} +421 -390
  39. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  40. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  41. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CH72tAMb.js} +255 -222
  42. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  43. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  44. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  45. package/dist/vue-ui-bullet-CtP3MlUT.js +464 -0
  46. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  47. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  48. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DDil13a0.js} +278 -245
  49. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  50. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  51. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-BczSJF6S.js} +322 -291
  52. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  53. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  54. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  56. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  57. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  58. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  59. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-DUcp-fat.js} +376 -343
  61. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  62. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-C_YMbTwq.js} +375 -344
  63. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  64. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Buwngz_V.js} +294 -261
  65. package/dist/vue-ui-flow-Bz3c0K5P.js +515 -0
  66. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  67. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-Cjh0XGTX.js} +212 -181
  68. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  69. package/dist/vue-ui-gauge-B1UvGkQa.js +527 -0
  70. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  71. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  72. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  73. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-C-poazUw.js} +308 -277
  74. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  75. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  76. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  77. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  78. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  79. package/dist/vue-ui-molecule-BaJpDZND.js +805 -0
  80. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  81. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-BUNDwsEI.js} +259 -228
  82. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  83. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  84. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-mDy2hXa6.js} +371 -338
  85. package/dist/vue-ui-onion-DwFG3HAI.js +650 -0
  86. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  87. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  88. package/dist/vue-ui-parallel-coordinate-plot-ImET_zeo.js +719 -0
  89. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-BeveRihK.js} +359 -326
  90. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  91. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-DAhllTfa.js} +585 -552
  92. package/dist/vue-ui-quick-chart-DgFDBzjS.cjs +15 -0
  93. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  94. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-BllatzRa.js} +279 -246
  95. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  96. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  97. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  98. package/dist/vue-ui-relation-circle-xv2l5Be9.js +358 -0
  99. package/dist/vue-ui-rings-B-ZcX6y1.js +602 -0
  100. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  101. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-DG43ck1g.js} +440 -407
  102. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  103. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  104. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  105. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  106. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  107. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  108. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  109. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  110. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  111. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  112. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  113. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  114. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  115. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  116. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  117. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  118. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  119. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  120. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  121. package/dist/vue-ui-stackbar-ByOuJSdM.js +947 -0
  122. package/dist/vue-ui-stackbar-wun4S3C0.cjs +6 -0
  123. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-CMD0MSqY.js} +297 -264
  124. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  125. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-B75DJ39t.js} +1 -1
  126. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  127. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  128. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  129. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  130. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  131. package/dist/vue-ui-thermometer-Pq4PvSIP.js +447 -0
  132. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  133. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  134. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  135. package/dist/vue-ui-tiremarks-CU9HJIqf.js +310 -0
  136. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  137. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  138. package/dist/vue-ui-treemap-DY-lRAhC.js +825 -0
  139. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  140. package/dist/vue-ui-vertical-bar-CtnIKsM1.js +861 -0
  141. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  142. package/dist/vue-ui-waffle-reOsx-gJ.js +791 -0
  143. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  144. package/dist/vue-ui-wheel-kYxny3vn.js +291 -0
  145. package/dist/vue-ui-word-cloud-DbMqrHAf.js +607 -0
  146. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  147. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  148. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-B0HTR7OV.js} +441 -408
  149. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  150. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-rbACig0h.js} +824 -791
  151. package/package.json +1 -1
  152. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  153. package/dist/index-C7_6YjWN.cjs +0 -9
  154. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  155. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  156. package/dist/useResponsive-NZB-WLRF.js +0 -187
  157. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  158. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  159. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  160. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  161. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  162. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  163. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  164. package/dist/vue-ui-carousel-table-C0GDDSW9.cjs +0 -1
  165. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  166. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  167. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  168. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  169. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  170. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  171. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  172. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  173. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  174. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  175. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  176. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  177. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  178. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  179. package/dist/vue-ui-onion-D9o6Rcgu.js +0 -617
  180. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  181. package/dist/vue-ui-parallel-coordinate-plot-BcYrYXhG.js +0 -686
  182. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  183. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  184. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  185. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  186. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  187. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  188. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  189. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  190. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  191. package/dist/vue-ui-skeleton-CGV1dEUD.cjs +0 -41
  192. package/dist/vue-ui-spark-trend-BfoEoJEy.cjs +0 -1
  193. package/dist/vue-ui-sparkbar-DB2DeXti.cjs +0 -1
  194. package/dist/vue-ui-sparkgauge-CJepIY2u.cjs +0 -1
  195. package/dist/vue-ui-sparkhistogram-B7B36LLT.cjs +0 -1
  196. package/dist/vue-ui-sparkline-BcqmwDAb.cjs +0 -1
  197. package/dist/vue-ui-sparkstackbar-DT3aKNeV.cjs +0 -1
  198. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  199. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  200. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  201. package/dist/vue-ui-table-heatmap-Chvdf2Gi.cjs +0 -1
  202. package/dist/vue-ui-table-sparkline-DUUYQ5dH.cjs +0 -1
  203. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  204. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  205. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  206. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  207. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  208. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  209. package/dist/vue-ui-vertical-bar-CieqHVD5.js +0 -828
  210. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  211. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  212. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  213. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  214. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  215. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  216. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  217. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  218. package/dist/vue-ui-xy-canvas-DHs5sb3t.cjs +0 -9
@@ -1,20 +1,21 @@
1
- import { computed as h, ref as v, watch as fe, onMounted as Oe, onBeforeUnmount as Be, openBlock as s, createElementBlock as u, normalizeClass as ge, normalizeStyle as be, createBlock as N, createCommentVNode as c, unref as p, createSlots as Pe, withCtx as b, renderSlot as m, normalizeProps as L, guardReactiveProps as R, createVNode as me, createElementVNode as n, Fragment as S, renderList as z, toDisplayString as V, createTextVNode as Me, nextTick as Ue } from "vue";
2
- import { u as Ee, c as De, t as We, o as Ge, e as C, C as Xe, v as I, X as je, w as D, D as He, s as Ye, x as qe, y as Je, q as Ke, r as Qe, E as xe } from "./index-DDXisDKy.js";
3
- import { t as Ze, u as et } from "./useResponsive-NZB-WLRF.js";
4
- import { _ as tt } from "./Title-DYNLqCCT.js";
5
- import { u as lt, U as ot } from "./usePrinter-8ofTb2MJ.js";
6
- import { _ as at } from "./Tooltip-CICAYyQj.js";
7
- import { D as st } from "./DataTable-DL2agEJ3.js";
8
- import ut from "./vue-ui-skeleton-B2sRnIXX.js";
9
- import { S as it } from "./Slicer-BZfUZr1J.js";
10
- import nt from "./vue-ui-accordion-D_1fE5EF.js";
11
- import { u as ke } from "./useNestedProp-S1UXxUgm.js";
12
- import { _ as rt } from "./PackageVersion-DtnhR89q.js";
13
- import { _ as vt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt = ["stop-color"], ft = ["stop-color"], gt = ["stop-color"], bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], kt = ["stop-color"], wt = { key: 0 }, $t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _t = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ct = { key: 1 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x", "y", "font-size", "fill", "font-weight"], zt = { key: 2 }, Tt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = { key: 0 }, Lt = ["cx", "cy", "r", "fill"], Rt = ["cx", "cy", "r", "fill"], Vt = { key: 1 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ot = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = ["x", "y", "height", "width", "fill", "rx"], Pt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Mt = ["x", "y", "height", "width", "fill", "onMouseover"], Ut = {
15
- key: 3,
1
+ import { computed as p, ref as v, watch as me, onMounted as Me, onBeforeUnmount as Ue, openBlock as s, createElementBlock as u, normalizeClass as xe, normalizeStyle as ke, createBlock as _, createCommentVNode as y, unref as f, createSlots as Ee, withCtx as g, renderSlot as h, normalizeProps as A, guardReactiveProps as z, createVNode as we, createElementVNode as n, Fragment as T, renderList as F, toDisplayString as V, createTextVNode as De, nextTick as We } from "vue";
2
+ import { u as Ge, c as Xe, t as je, o as He, e as N, C as Ye, v as I, X as qe, w as W, D as Je, s as Ke, x as Qe, y as Ze, q as et, r as tt, E as $e } from "./index-Bya_q1J-.js";
3
+ import { t as lt, u as ot } from "./useResponsive-BY8tgM1n.js";
4
+ import { _ as at } from "./Title-C5pIfQAz.js";
5
+ import { u as st, U as ut } from "./usePrinter-CiHd1FwD.js";
6
+ import { _ as it } from "./Tooltip-Cz24YLfw.js";
7
+ import { D as nt } from "./DataTable-DYqC2pqu.js";
8
+ import rt from "./vue-ui-skeleton-BYssP0K4.js";
9
+ import { S as vt } from "./Slicer-TfpN2Cr4.js";
10
+ import dt from "./vue-ui-accordion-DfUfL2dI.js";
11
+ import { u as Ce } from "./useNestedProp-B33hazbH.js";
12
+ import { _ as yt } from "./PackageVersion-VkaUzgmt.js";
13
+ import { P as ct } from "./PenAndPaper-DAZYA8Ew.js";
14
+ import { _ as ht } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const pt = ["id"], ft = ["xmlns", "viewBox"], gt = { key: 0 }, bt = ["id"], mt = ["stop-color"], xt = ["stop-color"], kt = ["stop-color"], wt = ["id"], $t = ["stop-color"], Ct = ["stop-color"], _t = ["stop-color"], Nt = { key: 0 }, St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zt = { key: 1 }, Tt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ft = ["x", "y", "font-size", "fill", "font-weight"], Lt = { key: 2 }, Rt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Vt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], It = { key: 0 }, Ot = ["cx", "cy", "r", "fill"], Pt = ["cx", "cy", "r", "fill"], Bt = { key: 1 }, Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Et = ["x", "y", "height", "width", "fill", "rx"], Dt = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Wt = ["x", "y", "height", "width", "fill", "onMouseover"], Gt = {
16
+ key: 4,
16
17
  class: "vue-data-ui-watermark"
17
- }, Et = ["innerHTML"], Dt = {
18
+ }, Xt = ["innerHTML"], jt = {
18
19
  __name: "vue-ui-candlestick",
19
20
  props: {
20
21
  config: {
@@ -30,56 +31,57 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
30
31
  }
31
32
  }
32
33
  },
33
- setup($, { expose: we }) {
34
- const k = $, { vue_ui_candlestick: $e } = Ee(), T = h(() => !!k.dataset && k.dataset.length), x = v(De()), _e = v(null), W = v(!1), G = v(""), X = v(void 0), q = v(0), A = v(null), J = v(null), K = v(null), Q = v(null), O = v(0), Z = v(0), ee = v(0), e = h({
35
- get: () => te(),
34
+ setup($, { expose: _e }) {
35
+ const k = $, { vue_ui_candlestick: Ne } = Ge(), L = p(() => !!k.dataset && k.dataset.length), x = v(Xe()), Se = v(null), G = v(!1), X = v(""), j = v(void 0), K = v(0), S = v(null), Q = v(null), Z = v(null), ee = v(null), te = v(null), O = v(0), le = v(0), oe = v(0), e = p({
36
+ get: () => ae(),
36
37
  set: (t) => t
37
38
  });
38
- function te() {
39
- const t = ke({
39
+ function ae() {
40
+ const t = Ce({
40
41
  userConfig: k.config,
41
- defaultConfig: $e
42
+ defaultConfig: Ne
42
43
  });
43
44
  return t.theme ? {
44
- ...ke({
45
- userConfig: We.vue_ui_candlestick[t.theme] || k.config,
45
+ ...Ce({
46
+ userConfig: je.vue_ui_candlestick[t.theme] || k.config,
46
47
  defaultConfig: t
47
48
  })
48
49
  } : t;
49
50
  }
50
- fe(() => k.config, (t) => {
51
- e.value = te(), le(), O.value += 1, ee.value += 1, Z.value += 1;
52
- }, { deep: !0 }), fe(() => k.dataset, (t) => {
53
- y.value.start = 0, y.value.end = t.length, O.value += 1;
51
+ me(() => k.config, (t) => {
52
+ e.value = ae(), se(), O.value += 1, oe.value += 1, le.value += 1;
53
+ }, { deep: !0 }), me(() => k.dataset, (t) => {
54
+ c.value.start = 0, c.value.end = t.length, O.value += 1;
54
55
  }, { deep: !0 });
55
56
  const d = v({
56
57
  height: e.value.style.height,
57
58
  width: e.value.style.width,
58
59
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
59
60
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
60
- }), B = v(null);
61
- Oe(() => {
62
- le();
61
+ }), P = v(null);
62
+ Me(() => {
63
+ se();
63
64
  });
64
- function le() {
65
- if (Ge(k.dataset) && C({
65
+ function se() {
66
+ if (He(k.dataset) && N({
66
67
  componentName: "VueUiCandlestick",
67
68
  type: "dataset"
68
69
  }), e.value.responsive) {
69
- const t = Ze(() => {
70
- const { width: a, height: l } = et({
71
- chart: A.value,
72
- title: e.value.style.title.text ? J.value : null,
73
- slicer: Q.value,
74
- legend: K.value
70
+ const t = lt(() => {
71
+ const { width: a, height: l } = ot({
72
+ chart: S.value,
73
+ title: e.value.style.title.text ? Q.value : null,
74
+ slicer: ee.value,
75
+ legend: Z.value,
76
+ source: te.value
75
77
  });
76
- d.value.width = a, d.value.height = l, d.value.xAxisFontSize = xe({
78
+ d.value.width = a, d.value.height = l, d.value.xAxisFontSize = $e({
77
79
  relator: Math.min(a, l),
78
80
  adjuster: e.value.style.width,
79
81
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
80
82
  threshold: 6,
81
83
  fallback: 6
82
- }), d.value.yAxisFontSize = xe({
84
+ }), d.value.yAxisFontSize = $e({
83
85
  relator: Math.min(a, l),
84
86
  adjuster: e.value.style.width,
85
87
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -87,19 +89,19 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
87
89
  fallback: 6
88
90
  });
89
91
  });
90
- B.value = new ResizeObserver(t), B.value.observe(A.value.parentNode);
92
+ P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
91
93
  }
92
94
  }
93
- Be(() => {
94
- B.value && B.value.disconnect();
95
+ Ue(() => {
96
+ P.value && P.value.disconnect();
95
97
  });
96
- const { isPrinting: oe, isImaging: ae, generatePdf: se, generateImage: ue } = lt({
98
+ const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: re } = st({
97
99
  elementId: `vue-ui-candlestick_${x.value}`,
98
100
  fileName: e.value.style.title.text || "vue-ui-candlestick"
99
101
  }), w = v({
100
102
  showTable: e.value.table.show,
101
103
  showTooltip: e.value.style.tooltip.show
102
- }), i = h(() => {
104
+ }), i = p(() => {
103
105
  const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
104
106
  return {
105
107
  top: t,
@@ -109,128 +111,128 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
109
111
  width: d.value.width - o - a,
110
112
  height: d.value.height - t - l
111
113
  };
112
- }), j = h(() => k.dataset.length), y = v({
114
+ }), H = p(() => k.dataset.length), c = v({
113
115
  start: 0,
114
- end: j.value
115
- }), ie = h(() => k.dataset.slice(y.value.start, y.value.end)), H = h(() => (k.dataset.forEach((t, a) => {
116
- [null, void 0].includes(t[0]) && C({
116
+ end: H.value
117
+ }), ve = p(() => k.dataset.slice(c.value.start, c.value.end)), Y = p(() => (k.dataset.forEach((t, a) => {
118
+ [null, void 0].includes(t[0]) && N({
117
119
  componentName: "VueUiCandlestick",
118
120
  type: "datasetAttribute",
119
121
  property: "period (index 0)",
120
122
  index: a
121
- }), [null, void 0].includes(t[1]) && C({
123
+ }), [null, void 0].includes(t[1]) && N({
122
124
  componentName: "VueUiCandlestick",
123
125
  type: "datasetAttribute",
124
126
  property: "open (index 1)",
125
127
  index: a
126
- }), [null, void 0].includes(t[2]) && C({
128
+ }), [null, void 0].includes(t[2]) && N({
127
129
  componentName: "VueUiCandlestick",
128
130
  type: "datasetAttribute",
129
131
  property: "high (index 2)",
130
132
  index: a
131
- }), [null, void 0].includes(t[3]) && C({
133
+ }), [null, void 0].includes(t[3]) && N({
132
134
  componentName: "VueUiCandlestick",
133
135
  type: "datasetAttribute",
134
136
  property: "low (index 3)",
135
137
  index: a
136
- }), [null, void 0].includes(t[4]) && C({
138
+ }), [null, void 0].includes(t[4]) && N({
137
139
  componentName: "VueUiCandlestick",
138
140
  type: "datasetAttribute",
139
141
  property: "last (index 4)",
140
142
  index: a
141
- }), [null, void 0].includes(t[5]) && C({
143
+ }), [null, void 0].includes(t[5]) && N({
142
144
  componentName: "VueUiCandlestick",
143
145
  type: "datasetAttribute",
144
146
  property: "volume (index 5)",
145
147
  index: a
146
148
  });
147
- }), ie.value.map((t) => ({
149
+ }), ve.value.map((t) => ({
148
150
  period: t[0],
149
151
  open: t[1],
150
152
  high: t[2],
151
153
  low: t[3],
152
154
  last: t[4],
153
155
  volume: t[5]
154
- })))), r = h(() => i.value.width / ie.value.length), ne = h(() => ({
155
- max: Math.max(...H.value.map((t) => t.high)),
156
+ })))), r = p(() => i.value.width / ve.value.length), de = p(() => ({
157
+ max: Math.max(...Y.value.map((t) => t.high)),
156
158
  min: 0
157
- })), _ = h(() => Xe(ne.value.min, ne.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
158
- function P(t, a) {
159
+ })), C = p(() => Ye(de.value.min, de.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
160
+ function B(t, a) {
159
161
  return {
160
162
  ...t,
161
163
  x: I(i.value.left + a * r.value + r.value / 2),
162
- y: I(i.value.top + (1 - t / _.value.max) * i.value.height),
164
+ y: I(i.value.top + (1 - t / C.value.max) * i.value.height),
163
165
  value: I(t)
164
166
  };
165
167
  }
166
- const f = h(() => H.value.map((t, a) => {
167
- const l = P(t.open, a), o = P(t.high, a), g = P(t.low, a), U = P(t.last, a), E = t.last > t.open;
168
+ const b = p(() => Y.value.map((t, a) => {
169
+ const l = B(t.open, a), o = B(t.high, a), m = B(t.low, a), E = B(t.last, a), D = t.last > t.open;
168
170
  return {
169
171
  period: t.period,
170
172
  open: l,
171
173
  high: o,
172
- low: g,
173
- last: U,
174
+ low: m,
175
+ last: E,
174
176
  volume: t.volume,
175
- isBullish: E
177
+ isBullish: D
176
178
  };
177
179
  }));
178
- function Ce(t) {
179
- return I(t / _.value.max);
180
+ function Ae(t) {
181
+ return I(t / C.value.max);
180
182
  }
181
- const Ne = h(() => _.value.ticks.map((t) => ({
182
- y: i.value.bottom - i.value.height * Ce(t),
183
+ const ze = p(() => C.value.ticks.map((t) => ({
184
+ y: i.value.bottom - i.value.height * Ae(t),
183
185
  value: I(t)
184
- }))), Se = h(() => H.value.map((t) => t.period)), Y = v(null);
185
- function ze(t, a) {
186
- X.value = t, Y.value = {
186
+ }))), Te = p(() => Y.value.map((t) => t.period)), q = v(null);
187
+ function Fe(t, a) {
188
+ j.value = t, q.value = {
187
189
  datapoint: a,
188
190
  seriesIndex: t,
189
- series: f.value,
191
+ series: b.value,
190
192
  config: e.value
191
193
  };
192
194
  const l = e.value.style.tooltip.customFormat;
193
- if (qe(l) && Je(() => l({
195
+ if (Qe(l) && Ze(() => l({
194
196
  seriesIndex: t,
195
197
  datapoint: a,
196
- series: f.value,
198
+ series: b.value,
197
199
  config: e.value
198
200
  })))
199
- G.value = l({
201
+ X.value = l({
200
202
  seriesIndex: t,
201
203
  datapoint: a,
202
- series: f.value,
204
+ series: b.value,
203
205
  config: e.value
204
206
  });
205
207
  else if (e.value.style.tooltip.show) {
206
208
  let o = "";
207
- const { period: g, open: U, high: E, low: ye, last: ce, volume: he, isBullish: pe } = f.value[t], { period: Wt, open: Fe, high: Le, low: Re, last: Ve, volume: Ie } = e.value.translations;
209
+ const { period: m, open: E, high: D, low: pe, last: fe, volume: ge, isBullish: be } = b.value[t], { period: Ht, open: Ve, high: Ie, low: Oe, last: Pe, volume: Be } = e.value.translations;
208
210
  o += `<div><svg style="margin-right:6px" viewBox="0 0 12 12" height="12" width="12"><rect x="0" y="0" height="12" width="12" rx="${e.value.style.layout.candle.borderRadius * 3}" stroke="${e.value.style.layout.candle.stroke}" stroke-width="${e.value.style.layout.candle.strokeWidth}"
209
- fill="${e.value.style.layout.candle.gradient.show ? pe ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : pe ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${g}</div>`, o += `${Ie} : <b>${isNaN(he) ? "-" : Number(he.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += `<div>${Fe}: <b>${e.value.style.tooltip.prefix} ${isNaN(U.value) ? "-" : Number(U.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Le}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Re}: <b>${e.value.style.tooltip.prefix} ${isNaN(ye.value) ? "-" : Number(ye.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Ve}: <b>${e.value.style.tooltip.prefix} ${isNaN(ce.value) ? "-" : Number(ce.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", G.value = `<div style="text-align:right">${o}</div>`;
211
+ fill="${e.value.style.layout.candle.gradient.show ? be ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : be ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Be} : <b>${isNaN(ge) ? "-" : Number(ge.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()}</b>`, o += `<div style="margin-top:6px;padding-top:6px;border-top:1px solid ${e.value.style.tooltip.borderColor}">`, o += `<div>${Ve}: <b>${e.value.style.tooltip.prefix} ${isNaN(E.value) ? "-" : Number(E.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Ie}: <b>${e.value.style.tooltip.prefix} ${isNaN(D.value) ? "-" : Number(D.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Oe}: <b>${e.value.style.tooltip.prefix} ${isNaN(pe.value) ? "-" : Number(pe.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += `<div>${Pe}: <b>${e.value.style.tooltip.prefix} ${isNaN(fe.value) ? "-" : Number(fe.value.toFixed(e.value.style.tooltip.roundingValue)).toLocaleString()} ${e.value.style.tooltip.suffix}</b></div>`, o += "</div>", X.value = `<div style="text-align:right">${o}</div>`;
210
212
  }
211
- W.value = !0;
213
+ G.value = !0;
212
214
  }
213
- function Te() {
214
- y.value = {
215
+ function Le() {
216
+ c.value = {
215
217
  start: 0,
216
- end: j.value
218
+ end: H.value
217
219
  }, O.value += 1;
218
220
  }
219
- function re() {
220
- Ue(() => {
221
- const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = f.value.map((g) => [
222
- g.period,
223
- g.open.value,
224
- g.high.value,
225
- g.low.value,
226
- g.last.value,
227
- g.volume
228
- ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = Ke(l);
229
- Qe({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
221
+ function ye() {
222
+ We(() => {
223
+ const t = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.last, e.value.translations.volume], a = b.value.map((m) => [
224
+ m.period,
225
+ m.open.value,
226
+ m.high.value,
227
+ m.low.value,
228
+ m.last.value,
229
+ m.volume
230
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = et(l);
231
+ tt({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
230
232
  });
231
233
  }
232
- const M = h(() => {
233
- const t = f.value.map((o) => [
234
+ const M = p(() => {
235
+ const t = b.value.map((o) => [
234
236
  `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 12" height="12" width="12" style="margin-right: 6px"><rect x="0" y="0" height="12" width="12" :rx="${e.value.style.layout.candle.borderRadius * 3}" fill="${e.value.style.layout.candle.gradient.show ? o.isBullish ? `url(#bullish_gradient_${x.value}` : `url(#bearish_gradient_${x.value})` : o.isBullish ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg> ${o.period}`,
235
237
  `${e.value.table.td.prefix} ${isNaN(o.open.value) ? "-" : Number(o.open.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
236
238
  `${e.value.table.td.prefix} ${isNaN(o.high.value) ? "-" : Number(o.high.value.toFixed(e.value.table.td.roundingValue)).toLocaleString()} ${e.value.table.td.suffix}`,
@@ -258,37 +260,50 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
258
260
  e.value.translations.volume
259
261
  ];
260
262
  return { head: l, body: t, config: a, colNames: l };
261
- }), F = v(!1);
262
- function Ae(t) {
263
- F.value = t, q.value += 1;
263
+ }), R = v(!1);
264
+ function Re(t) {
265
+ R.value = t, K.value += 1;
264
266
  }
265
- function ve() {
267
+ function ce() {
266
268
  w.value.showTable = !w.value.showTable;
267
269
  }
268
- function de() {
270
+ function he() {
269
271
  w.value.showTooltip = !w.value.showTooltip;
270
272
  }
271
- return we({
272
- generatePdf: se,
273
- generateCsv: re,
274
- generateImage: ue,
275
- toggleTable: ve,
276
- toggleTooltip: de
273
+ const U = v(!1);
274
+ function J() {
275
+ U.value = !U.value;
276
+ }
277
+ return _e({
278
+ generatePdf: ne,
279
+ generateCsv: ye,
280
+ generateImage: re,
281
+ toggleTable: ce,
282
+ toggleTooltip: he,
283
+ toggleAnnotator: J
277
284
  }), (t, a) => (s(), u("div", {
278
285
  ref_key: "candlestickChart",
279
- ref: A,
280
- class: ge(`vue-ui-candlestick ${F.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
281
- style: be(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
286
+ ref: S,
287
+ class: xe(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
288
+ style: ke(`position:relative;font-family:${e.value.style.fontFamily}; text-align:center;${e.value.style.title.text ? "" : "padding-top:36px"};background:${e.value.style.backgroundColor}; ${e.value.responsive ? "height: 100%" : ""}`),
282
289
  id: `vue-ui-candlestick_${x.value}`
283
290
  }, [
284
- e.value.style.title.text ? (s(), u("div", {
291
+ e.value.userOptions.buttons.annotator ? (s(), _(ct, {
285
292
  key: 0,
293
+ parent: S.value,
294
+ backgroundColor: e.value.style.backgroundColor,
295
+ color: e.value.style.color,
296
+ active: U.value,
297
+ onClose: J
298
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
299
+ e.value.style.title.text ? (s(), u("div", {
300
+ key: 1,
286
301
  ref_key: "chartTitle",
287
- ref: J,
302
+ ref: Q,
288
303
  style: "width:100%;background:transparent"
289
304
  }, [
290
- (s(), N(tt, {
291
- key: `title_${ee.value}`,
305
+ (s(), _(at, {
306
+ key: `title_${oe.value}`,
292
307
  config: {
293
308
  title: {
294
309
  cy: "candlestick-div-title",
@@ -300,15 +315,15 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
300
315
  }
301
316
  }
302
317
  }, null, 8, ["config"]))
303
- ], 512)) : c("", !0),
304
- e.value.userOptions.show && T.value ? (s(), N(ot, {
318
+ ], 512)) : y("", !0),
319
+ e.value.userOptions.show && L.value ? (s(), _(ut, {
305
320
  ref_key: "details",
306
- ref: _e,
307
- key: `user_options_${q.value}`,
321
+ ref: Se,
322
+ key: `user_options_${K.value}`,
308
323
  backgroundColor: e.value.style.backgroundColor,
309
324
  color: e.value.style.color,
310
- isImaging: p(ae),
311
- isPrinting: p(oe),
325
+ isImaging: f(ie),
326
+ isPrinting: f(ue),
312
327
  uid: x.value,
313
328
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
314
329
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -316,70 +331,80 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
316
331
  hasXls: e.value.userOptions.buttons.csv,
317
332
  hasTable: e.value.userOptions.buttons.table,
318
333
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
319
- isFullscreen: F.value,
334
+ isFullscreen: R.value,
320
335
  isTooltip: w.value.showTooltip,
321
336
  titles: { ...e.value.userOptions.buttonTitles },
322
- chartElement: A.value,
337
+ chartElement: S.value,
323
338
  position: e.value.userOptions.position,
324
- onToggleFullscreen: Ae,
325
- onGeneratePdf: p(se),
326
- onGenerateCsv: re,
327
- onGenerateImage: p(ue),
328
- onToggleTable: ve,
329
- onToggleTooltip: de
330
- }, Pe({ _: 2 }, [
339
+ hasAnnotator: e.value.userOptions.buttons.annotator,
340
+ isAnnotation: U.value,
341
+ onToggleFullscreen: Re,
342
+ onGeneratePdf: f(ne),
343
+ onGenerateCsv: ye,
344
+ onGenerateImage: f(re),
345
+ onToggleTable: ce,
346
+ onToggleTooltip: he,
347
+ onToggleAnnotator: J
348
+ }, Ee({ _: 2 }, [
331
349
  t.$slots.optionTooltip ? {
332
350
  name: "optionTooltip",
333
- fn: b(() => [
334
- m(t.$slots, "optionTooltip", {}, void 0, !0)
351
+ fn: g(() => [
352
+ h(t.$slots, "optionTooltip", {}, void 0, !0)
335
353
  ]),
336
354
  key: "0"
337
355
  } : void 0,
338
356
  t.$slots.optionPdf ? {
339
357
  name: "optionPdf",
340
- fn: b(() => [
341
- m(t.$slots, "optionPdf", {}, void 0, !0)
358
+ fn: g(() => [
359
+ h(t.$slots, "optionPdf", {}, void 0, !0)
342
360
  ]),
343
361
  key: "1"
344
362
  } : void 0,
345
363
  t.$slots.optionCsv ? {
346
364
  name: "optionCsv",
347
- fn: b(() => [
348
- m(t.$slots, "optionCsv", {}, void 0, !0)
365
+ fn: g(() => [
366
+ h(t.$slots, "optionCsv", {}, void 0, !0)
349
367
  ]),
350
368
  key: "2"
351
369
  } : void 0,
352
370
  t.$slots.optionImg ? {
353
371
  name: "optionImg",
354
- fn: b(() => [
355
- m(t.$slots, "optionImg", {}, void 0, !0)
372
+ fn: g(() => [
373
+ h(t.$slots, "optionImg", {}, void 0, !0)
356
374
  ]),
357
375
  key: "3"
358
376
  } : void 0,
359
377
  t.$slots.optionTable ? {
360
378
  name: "optionTable",
361
- fn: b(() => [
362
- m(t.$slots, "optionTable", {}, void 0, !0)
379
+ fn: g(() => [
380
+ h(t.$slots, "optionTable", {}, void 0, !0)
363
381
  ]),
364
382
  key: "4"
365
383
  } : void 0,
366
384
  t.$slots.optionFullscreen ? {
367
385
  name: "optionFullscreen",
368
- fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
369
- m(t.$slots, "optionFullscreen", L(R({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
386
+ fn: g(({ toggleFullscreen: l, isFullscreen: o }) => [
387
+ h(t.$slots, "optionFullscreen", A(z({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
370
388
  ]),
371
389
  key: "5"
390
+ } : void 0,
391
+ t.$slots.optionAnnotator ? {
392
+ name: "optionAnnotator",
393
+ fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
394
+ h(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
395
+ ]),
396
+ key: "6"
372
397
  } : void 0
373
- ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "onGeneratePdf", "onGenerateImage"])) : c("", !0),
374
- T.value ? (s(), u("svg", {
375
- key: 2,
376
- xmlns: p(je),
377
- class: ge({ "vue-data-ui-fullscreen--on": F.value, "vue-data-ui-fulscreen--off": !F.value }),
398
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
399
+ L.value ? (s(), u("svg", {
400
+ key: 3,
401
+ xmlns: f(qe),
402
+ class: xe({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
378
403
  viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
379
- style: be(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
404
+ style: ke(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
380
405
  }, [
381
- me(rt),
382
- f.value.length > 0 ? (s(), u("g", ct, [
406
+ we(yt),
407
+ b.value.length > 0 ? (s(), u("g", gt, [
383
408
  n("defs", null, [
384
409
  n("linearGradient", {
385
410
  id: `bearish_gradient_${x.value}`,
@@ -389,16 +414,16 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
389
414
  n("stop", {
390
415
  offset: "0%",
391
416
  "stop-color": e.value.style.layout.candle.colors.bearish
392
- }, null, 8, pt),
417
+ }, null, 8, mt),
393
418
  n("stop", {
394
419
  offset: "50%",
395
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
396
- }, null, 8, ft),
420
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
421
+ }, null, 8, xt),
397
422
  n("stop", {
398
423
  offset: "100%",
399
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
400
- }, null, 8, gt)
401
- ], 8, ht),
424
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
425
+ }, null, 8, kt)
426
+ ], 8, bt),
402
427
  n("linearGradient", {
403
428
  id: `bullish_gradient_${x.value}`,
404
429
  x2: "0%",
@@ -407,18 +432,18 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
407
432
  n("stop", {
408
433
  offset: "0%",
409
434
  "stop-color": e.value.style.layout.candle.colors.bullish
410
- }, null, 8, mt),
435
+ }, null, 8, $t),
411
436
  n("stop", {
412
437
  offset: "50%",
413
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
414
- }, null, 8, xt),
438
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
439
+ }, null, 8, Ct),
415
440
  n("stop", {
416
441
  offset: "100%",
417
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
418
- }, null, 8, kt)
419
- ], 8, bt)
442
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
443
+ }, null, 8, _t)
444
+ ], 8, wt)
420
445
  ]),
421
- e.value.style.layout.grid.show ? (s(), u("g", wt, [
446
+ e.value.style.layout.grid.show ? (s(), u("g", Nt, [
422
447
  n("line", {
423
448
  x1: i.value.left,
424
449
  x2: i.value.left,
@@ -427,7 +452,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
427
452
  stroke: e.value.style.layout.grid.stroke,
428
453
  "stroke-width": e.value.style.layout.grid.strokeWidth,
429
454
  "stroke-linecap": "round"
430
- }, null, 8, $t),
455
+ }, null, 8, St),
431
456
  n("line", {
432
457
  x1: i.value.left,
433
458
  x2: i.value.right,
@@ -436,11 +461,11 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
436
461
  stroke: e.value.style.layout.grid.stroke,
437
462
  "stroke-width": e.value.style.layout.grid.strokeWidth,
438
463
  "stroke-linecap": "round"
439
- }, null, 8, _t)
440
- ])) : c("", !0),
441
- e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", Ct, [
442
- (s(!0), u(S, null, z(Ne.value, (l, o) => (s(), u("g", null, [
443
- l.value >= _.value.min && l.value <= _.value.max ? (s(), u("line", {
464
+ }, null, 8, At)
465
+ ])) : y("", !0),
466
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", zt, [
467
+ (s(!0), u(T, null, F(ze.value, (l, o) => (s(), u("g", null, [
468
+ l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
444
469
  key: 0,
445
470
  x1: i.value.left,
446
471
  x2: i.value.left - 5,
@@ -449,8 +474,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
449
474
  stroke: e.value.style.layout.grid.stroke,
450
475
  "stroke-width": e.value.style.layout.grid.strokeWidth,
451
476
  "stroke-linecap": "round"
452
- }, null, 8, Nt)) : c("", !0),
453
- l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
477
+ }, null, 8, Tt)) : y("", !0),
478
+ l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
454
479
  key: 1,
455
480
  x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
456
481
  y: l.y + d.value.yAxisFontSize / 3,
@@ -458,22 +483,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
458
483
  "text-anchor": "end",
459
484
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
460
485
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
461
- }, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(He)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, St)) : c("", !0)
486
+ }, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(f(Je)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Ft)) : y("", !0)
462
487
  ]))), 256))
463
- ])) : c("", !0),
464
- e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", zt, [
465
- (s(!0), u(S, null, z(Se.value, (l, o) => (s(), u("g", null, [
488
+ ])) : y("", !0),
489
+ e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Lt, [
490
+ (s(!0), u(T, null, F(Te.value, (l, o) => (s(), u("g", null, [
466
491
  n("text", {
467
492
  transform: `translate(${i.value.left + r.value * o + r.value / 2}, ${i.value.bottom + d.value.xAxisFontSize * 2 + e.value.style.layout.grid.xAxis.dataLabels.offsetY}), rotate(${e.value.style.layout.grid.xAxis.dataLabels.rotation})`,
468
493
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
469
494
  "font-size": d.value.xAxisFontSize,
470
495
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
471
496
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
472
- }, V(l), 9, Tt)
497
+ }, V(l), 9, Rt)
473
498
  ]))), 256))
474
- ])) : c("", !0),
499
+ ])) : y("", !0),
475
500
  n("g", null, [
476
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("g", null, [
501
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("g", null, [
477
502
  n("line", {
478
503
  x1: l.open.x,
479
504
  x2: l.open.x,
@@ -482,22 +507,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
482
507
  stroke: e.value.style.layout.wick.stroke,
483
508
  "stroke-width": e.value.style.layout.wick.strokeWidth,
484
509
  "stroke-linecap": "round"
485
- }, null, 8, At),
486
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Ft, [
510
+ }, null, 8, Vt),
511
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", It, [
487
512
  n("circle", {
488
513
  cx: l.high.x,
489
514
  cy: l.high.y,
490
515
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
491
516
  fill: e.value.style.layout.wick.extremity.color
492
- }, null, 8, Lt),
517
+ }, null, 8, Ot),
493
518
  n("circle", {
494
519
  cx: l.low.x,
495
520
  cy: l.low.y,
496
521
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
497
522
  fill: e.value.style.layout.wick.extremity.color
498
- }, null, 8, Rt)
499
- ])) : c("", !0),
500
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Vt, [
523
+ }, null, 8, Pt)
524
+ ])) : y("", !0),
525
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Bt, [
501
526
  n("line", {
502
527
  x1: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
503
528
  x2: l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -506,7 +531,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
506
531
  stroke: e.value.style.layout.wick.extremity.color,
507
532
  "stroke-width": e.value.style.layout.wick.strokeWidth,
508
533
  "stroke-linecap": "round"
509
- }, null, 8, It),
534
+ }, null, 8, Mt),
510
535
  n("line", {
511
536
  x1: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
512
537
  x2: l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? r.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
@@ -515,12 +540,12 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
515
540
  stroke: e.value.style.layout.wick.extremity.color,
516
541
  "stroke-width": e.value.style.layout.wick.strokeWidth,
517
542
  "stroke-linecap": "round"
518
- }, null, 8, Ot)
519
- ])) : c("", !0)
543
+ }, null, 8, Ut)
544
+ ])) : y("", !0)
520
545
  ]))), 256))
521
546
  ]),
522
547
  n("g", null, [
523
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
548
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
524
549
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
525
550
  y: l.isBullish ? l.last.y : l.open.y,
526
551
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -528,8 +553,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
528
553
  fill: e.value.style.layout.candle.gradient.underlayer,
529
554
  rx: e.value.style.layout.candle.borderRadius,
530
555
  stroke: "none"
531
- }, null, 8, Bt))), 256)),
532
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
556
+ }, null, 8, Et))), 256)),
557
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
533
558
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
534
559
  y: l.isBullish ? l.last.y : l.open.y,
535
560
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -540,29 +565,29 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
540
565
  "stroke-width": e.value.style.layout.candle.strokeWidth,
541
566
  "stroke-linecap": "round",
542
567
  "stroke-linejoin": "round"
543
- }, null, 8, Pt))), 256))
568
+ }, null, 8, Dt))), 256))
544
569
  ]),
545
570
  n("g", null, [
546
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
571
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
547
572
  x: i.value.left + o * r.value,
548
573
  y: i.value.top,
549
574
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
550
575
  width: r.value <= 0 ? 1e-4 : r.value,
551
- fill: X.value === o ? p(Ye)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
552
- onMouseover: (g) => ze(o, l),
553
- onMouseleave: a[0] || (a[0] = (g) => {
554
- X.value = void 0, W.value = !1;
576
+ fill: j.value === o ? f(Ke)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
577
+ onMouseover: (m) => Fe(o, l),
578
+ onMouseleave: a[0] || (a[0] = (m) => {
579
+ j.value = void 0, G.value = !1;
555
580
  })
556
- }, null, 40, Mt))), 256))
581
+ }, null, 40, Wt))), 256))
557
582
  ])
558
- ])) : c("", !0),
559
- m(t.$slots, "svg", { svg: d.value }, void 0, !0)
560
- ], 14, yt)) : c("", !0),
561
- t.$slots.watermark ? (s(), u("div", Ut, [
562
- m(t.$slots, "watermark", L(R({ isPrinting: p(oe) || p(ae) })), void 0, !0)
563
- ])) : c("", !0),
564
- T.value ? c("", !0) : (s(), N(ut, {
565
- key: 4,
583
+ ])) : y("", !0),
584
+ h(t.$slots, "svg", { svg: d.value }, void 0, !0)
585
+ ], 14, ft)) : y("", !0),
586
+ t.$slots.watermark ? (s(), u("div", Gt, [
587
+ h(t.$slots, "watermark", A(z({ isPrinting: f(ue) || f(ie) })), void 0, !0)
588
+ ])) : y("", !0),
589
+ L.value ? y("", !0) : (s(), _(rt, {
590
+ key: 5,
566
591
  config: {
567
592
  type: "candlesticks",
568
593
  style: {
@@ -578,46 +603,54 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
578
603
  }
579
604
  }
580
605
  }, null, 8, ["config"])),
581
- e.value.style.zoom.show && T.value ? (s(), u("div", {
582
- key: 5,
606
+ e.value.style.zoom.show && L.value ? (s(), u("div", {
607
+ key: 6,
583
608
  ref_key: "chartSlicer",
584
- ref: Q
609
+ ref: ee
585
610
  }, [
586
- (s(), N(it, {
611
+ (s(), _(vt, {
587
612
  key: `slicer_${O.value}`,
588
613
  background: e.value.style.zoom.color,
589
614
  borderColor: e.value.style.backgroundColor,
590
615
  fontSize: e.value.style.zoom.fontSize,
591
616
  useResetSlot: e.value.style.zoom.useResetSlot,
592
- labelLeft: $.dataset[y.value.start] ? $.dataset[y.value.start][0] : $.dataset[0][0],
593
- labelRight: $.dataset[y.value.end - 1] ? $.dataset[y.value.end - 1][0] : $.dataset.at(-1)[0],
617
+ labelLeft: $.dataset[c.value.start] ? $.dataset[c.value.start][0] : $.dataset[0][0],
618
+ labelRight: $.dataset[c.value.end - 1] ? $.dataset[c.value.end - 1][0] : $.dataset.at(-1)[0],
594
619
  textColor: e.value.style.color,
595
620
  inputColor: e.value.style.zoom.color,
596
621
  selectColor: e.value.style.zoom.highlightColor,
597
- max: j.value,
622
+ max: H.value,
598
623
  min: 0,
599
- valueStart: y.value.start,
600
- valueEnd: y.value.end,
601
- start: y.value.start,
602
- "onUpdate:start": a[1] || (a[1] = (l) => y.value.start = l),
603
- end: y.value.end,
604
- "onUpdate:end": a[2] || (a[2] = (l) => y.value.end = l),
605
- onReset: Te
624
+ valueStart: c.value.start,
625
+ valueEnd: c.value.end,
626
+ start: c.value.start,
627
+ "onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
628
+ end: c.value.end,
629
+ "onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
630
+ onReset: Le
606
631
  }, {
607
- "reset-action": b(({ reset: l }) => [
608
- m(t.$slots, "reset-action", L(R({ reset: l })), void 0, !0)
632
+ "reset-action": g(({ reset: l }) => [
633
+ h(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
609
634
  ]),
610
635
  _: 3
611
636
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
612
- ], 512)) : c("", !0),
637
+ ], 512)) : y("", !0),
613
638
  n("div", {
614
639
  ref_key: "chartLegend",
615
- ref: K
640
+ ref: Z
616
641
  }, [
617
- m(t.$slots, "legend", { legend: f.value }, void 0, !0)
642
+ h(t.$slots, "legend", { legend: b.value }, void 0, !0)
618
643
  ], 512),
619
- me(at, {
620
- show: w.value.showTooltip && W.value,
644
+ t.$slots.source ? (s(), u("div", {
645
+ key: 7,
646
+ ref_key: "source",
647
+ ref: te,
648
+ dir: "auto"
649
+ }, [
650
+ h(t.$slots, "source", {}, void 0, !0)
651
+ ], 512)) : y("", !0),
652
+ we(it, {
653
+ show: w.value.showTooltip && G.value,
621
654
  backgroundColor: e.value.style.tooltip.backgroundColor,
622
655
  color: e.value.style.tooltip.color,
623
656
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -627,20 +660,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
627
660
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
628
661
  position: e.value.style.tooltip.position,
629
662
  offsetY: e.value.style.tooltip.offsetY,
630
- parent: A.value,
631
- content: G.value,
663
+ parent: S.value,
664
+ content: X.value,
632
665
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
633
666
  }, {
634
- "tooltip-before": b(() => [
635
- m(t.$slots, "tooltip-before", L(R({ ...Y.value })), void 0, !0)
667
+ "tooltip-before": g(() => [
668
+ h(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
636
669
  ]),
637
- "tooltip-after": b(() => [
638
- m(t.$slots, "tooltip-after", L(R({ ...Y.value })), void 0, !0)
670
+ "tooltip-after": g(() => [
671
+ h(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
639
672
  ]),
640
673
  _: 3
641
674
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
642
- T.value ? (s(), N(nt, {
643
- key: 6,
675
+ L.value ? (s(), _(dt, {
676
+ key: 8,
644
677
  hideDetails: "",
645
678
  config: {
646
679
  open: w.value.showTable,
@@ -655,9 +688,9 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
655
688
  }
656
689
  }
657
690
  }, {
658
- content: b(() => [
659
- (s(), N(st, {
660
- key: `table_${Z.value}`,
691
+ content: g(() => [
692
+ (s(), _(nt, {
693
+ key: `table_${le.value}`,
661
694
  colNames: M.value.colNames,
662
695
  head: M.value.head,
663
696
  body: M.value.body,
@@ -665,20 +698,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
665
698
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
666
699
  onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
667
700
  }, {
668
- th: b(({ th: l }) => [
669
- Me(V(l), 1)
701
+ th: g(({ th: l }) => [
702
+ De(V(l), 1)
670
703
  ]),
671
- td: b(({ td: l }) => [
672
- n("div", { innerHTML: l }, null, 8, Et)
704
+ td: g(({ td: l }) => [
705
+ n("div", { innerHTML: l }, null, 8, Xt)
673
706
  ]),
674
707
  _: 1
675
708
  }, 8, ["colNames", "head", "body", "config", "title"]))
676
709
  ]),
677
710
  _: 1
678
- }, 8, ["config"])) : c("", !0)
679
- ], 14, dt));
711
+ }, 8, ["config"])) : y("", !0)
712
+ ], 14, pt));
680
713
  }
681
- }, ol = /* @__PURE__ */ vt(Dt, [["__scopeId", "data-v-51dc0cb1"]]);
714
+ }, nl = /* @__PURE__ */ ht(jt, [["__scopeId", "data-v-0ff8d244"]]);
682
715
  export {
683
- ol as default
716
+ nl as default
684
717
  };