vue-data-ui 2.4.1 → 2.4.2

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 (201) hide show
  1. package/README.md +44 -44
  2. package/dist/{Arrow-DpMf3yPs.cjs → Arrow-DLTRnzcG.cjs} +1 -1
  3. package/dist/{Arrow-BIs_9yK8.js → Arrow-JuK2z9IB.js} +1 -1
  4. package/dist/BaseIcon-BGExhz6v.cjs +1 -0
  5. package/dist/{BaseIcon-CXDdkPfN.js → BaseIcon-rRli6Sfv.js} +7 -4
  6. package/dist/{DataTable-BTgMVOwp.cjs → DataTable-DJzhv96s.cjs} +1 -1
  7. package/dist/{DataTable-DL2agEJ3.js → DataTable-DTk7C4Pr.js} +2 -2
  8. package/dist/{Legend-DXLiSLHd.js → Legend-CYF2gpXG.js} +1 -1
  9. package/dist/{Legend-Dj9KiaLv.cjs → Legend-YZ7Hz3o1.cjs} +1 -1
  10. package/dist/{PackageVersion-DtnhR89q.js → PackageVersion-CvCRsT5_.js} +1 -1
  11. package/dist/{PackageVersion-D4D0WicU.cjs → PackageVersion-DVZtsuy4.cjs} +1 -1
  12. package/dist/PenAndPaper-CyXm-yVL.cjs +1 -0
  13. package/dist/PenAndPaper-Jb0pLt3G.js +269 -0
  14. package/dist/{Shape-CO_Ak9Zm.js → Shape-BpPn4eWR.js} +1 -1
  15. package/dist/{Shape-7EC2UKDK.cjs → Shape-X2F-QV_B.cjs} +1 -1
  16. package/dist/{Slicer-CLAVjSQP.cjs → Slicer-CL0tP5a5.cjs} +1 -1
  17. package/dist/{Slicer-BZfUZr1J.js → Slicer-CU7dRZR0.js} +2 -2
  18. package/dist/{Title-DYNLqCCT.js → Title-5VmBwT4i.js} +1 -1
  19. package/dist/{Title-C-lm3Mkl.cjs → Title-Co5jI5ed.cjs} +1 -1
  20. package/dist/{Tooltip-t-3mVhcz.cjs → Tooltip-Bl6W8Zn7.cjs} +1 -1
  21. package/dist/{Tooltip-CICAYyQj.js → Tooltip-Cj4EF7v1.js} +1 -1
  22. package/dist/{index-DDXisDKy.js → index-DnVHQ2xI.js} +880 -842
  23. package/dist/index-FfZRtJ6A.cjs +9 -0
  24. package/dist/style.css +1 -1
  25. package/dist/types/vue-data-ui.d.cts +18 -16
  26. package/dist/types/vue-data-ui.d.ts +18 -16
  27. package/dist/{useNestedProp-S1UXxUgm.js → useNestedProp-Cox0K0Y5.js} +1 -1
  28. package/dist/{useNestedProp-CC9zGr7C.cjs → useNestedProp-q7byAAIJ.cjs} +1 -1
  29. package/dist/usePrinter-BCAFeO_J.cjs +1 -0
  30. package/dist/{usePrinter-8ofTb2MJ.js → usePrinter-BEeNAqS5.js} +230 -185
  31. package/dist/vue-data-ui-CRLLZpt0.cjs +9 -0
  32. package/dist/vue-data-ui-W7nnqn0v.js +261 -0
  33. package/dist/vue-data-ui.cjs +1 -1
  34. package/dist/vue-data-ui.js +1 -1
  35. package/dist/{vue-ui-3d-bar-DcF1nyGW.js → vue-ui-3d-bar-BwBrUabe.js} +414 -390
  36. package/dist/vue-ui-3d-bar-bD_n6qL_.cjs +19 -0
  37. package/dist/{vue-ui-accordion-D_1fE5EF.js → vue-ui-accordion-DspS4q3f.js} +3 -3
  38. package/dist/{vue-ui-accordion-Cc9958th.cjs → vue-ui-accordion-xXgqfR2l.cjs} +1 -1
  39. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +1 -0
  40. package/dist/{vue-ui-age-pyramid-Oe_yHDL0.js → vue-ui-age-pyramid-CxBvm3uM.js} +218 -194
  41. package/dist/{vue-ui-annotator-Dix6_Gm6.js → vue-ui-annotator-BOofWpzv.js} +1 -1
  42. package/dist/{vue-ui-annotator-Dbp6cWMr.cjs → vue-ui-annotator-C6T5_7ZV.cjs} +1 -1
  43. package/dist/vue-ui-bullet-ChaEgXvR.cjs +23 -0
  44. package/dist/vue-ui-bullet-DraC-oFu.js +433 -0
  45. package/dist/vue-ui-candlestick--hPCfMFH.cjs +2 -0
  46. package/dist/{vue-ui-candlestick-CRwzWF6j.js → vue-ui-candlestick-DQZ5eT1f.js} +267 -243
  47. package/dist/{vue-ui-carousel-table-C0GDDSW9.cjs → vue-ui-carousel-table-DpRQklDZ.cjs} +1 -1
  48. package/dist/{vue-ui-carousel-table-BHeEbRKY.js → vue-ui-carousel-table-PdLjpH1p.js} +4 -4
  49. package/dist/{vue-ui-chestnut-CRk0RCB9.js → vue-ui-chestnut-ByI_O5hB.js} +293 -269
  50. package/dist/vue-ui-chestnut-ae6x87wl.cjs +6 -0
  51. package/dist/{vue-ui-cursor-y0kdr0uA.js → vue-ui-cursor-BM74l93B.js} +2 -2
  52. package/dist/{vue-ui-cursor-lU1rts1B.cjs → vue-ui-cursor-BvadpA2m.cjs} +1 -1
  53. package/dist/{vue-ui-dashboard-OyihaKdu.js → vue-ui-dashboard-CoANBhAM.js} +2 -2
  54. package/dist/{vue-ui-dashboard-BfC0jS-X.cjs → vue-ui-dashboard-OP51Gs8I.cjs} +1 -1
  55. package/dist/{vue-ui-digits-BJfcAiq_.cjs → vue-ui-digits-C7jJJg9k.cjs} +1 -1
  56. package/dist/{vue-ui-digits-IKt4qT2-.js → vue-ui-digits-DioaBnkB.js} +2 -2
  57. package/dist/vue-ui-donut-CplNylps.cjs +1 -0
  58. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +1 -0
  59. package/dist/{vue-ui-donut-evolution-Dd4o37RP.js → vue-ui-donut-evolution-DAb1xzNd.js} +330 -306
  60. package/dist/{vue-ui-donut-DFaGk4fI.js → vue-ui-donut-ldqSm_JV.js} +345 -321
  61. package/dist/{vue-ui-dumbbell-B7j1_JoQ.js → vue-ui-dumbbell-Dg7PkiKJ.js} +265 -241
  62. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +9 -0
  63. package/dist/vue-ui-flow-BPt35d5K.cjs +1 -0
  64. package/dist/vue-ui-flow-DKT7ZEnr.js +508 -0
  65. package/dist/vue-ui-galaxy-e06PkTmp.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-CH1BDtWl.js → vue-ui-galaxy-qAA9be3S.js} +193 -169
  67. package/dist/vue-ui-gauge-D8yVTIgP.js +518 -0
  68. package/dist/vue-ui-gauge-DiZVIU0D.cjs +1 -0
  69. package/dist/{vue-ui-gizmo-CKQcbe_7.js → vue-ui-gizmo-DC0uUwI3.js} +3 -3
  70. package/dist/{vue-ui-gizmo-DVwQaEH1.cjs → vue-ui-gizmo-W6bTkg59.cjs} +1 -1
  71. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +1 -0
  72. package/dist/{vue-ui-heatmap-B-zWMk0Y.js → vue-ui-heatmap-u1raIzBQ.js} +252 -228
  73. package/dist/{vue-ui-kpi-CghbfSdM.js → vue-ui-kpi-C-iTxMD2.js} +3 -3
  74. package/dist/{vue-ui-kpi-CuY3xlVq.cjs → vue-ui-kpi-DY_2WF7U.cjs} +1 -1
  75. package/dist/{vue-ui-mini-loader-CH_PfeDc.cjs → vue-ui-mini-loader-Bfq2MNWu.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7roqZ4p.js → vue-ui-mini-loader-C7x7S0hi.js} +2 -2
  77. package/dist/vue-ui-molecule-BFnOIxxs.js +798 -0
  78. package/dist/vue-ui-molecule-CbKMLrDT.cjs +1 -0
  79. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-DSznHxLS.js → vue-ui-mood-radar-CR1v5v2x.js} +263 -239
  81. package/dist/{vue-ui-nested-donuts-CiE4DdEQ.js → vue-ui-nested-donuts-DEiloQzq.js} +342 -318
  82. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +17 -0
  83. package/dist/vue-ui-onion-CLvvu4Ku.cjs +5 -0
  84. package/dist/{vue-ui-onion-D9o6Rcgu.js → vue-ui-onion-LsEhBe4x.js} +226 -202
  85. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +8 -0
  86. package/dist/{vue-ui-parallel-coordinate-plot-BcYrYXhG.js → vue-ui-parallel-coordinate-plot-CTlIjJqG.js} +243 -219
  87. package/dist/{vue-ui-quadrant-Cs3A77us.js → vue-ui-quadrant-DKVVFufb.js} +350 -326
  88. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +1 -0
  89. package/dist/{vue-ui-quick-chart-CiiSUexi.js → vue-ui-quick-chart-8vJikiGH.js} +505 -481
  90. package/dist/vue-ui-quick-chart-gG5Ar8-i.cjs +15 -0
  91. package/dist/{vue-ui-radar-CNSpiNrM.js → vue-ui-radar-20QhOUer.js} +255 -231
  92. package/dist/vue-ui-radar-CAaHjDO7.cjs +1 -0
  93. package/dist/{vue-ui-rating-GoUNDOdZ.cjs → vue-ui-rating-Bbzm5nUK.cjs} +1 -1
  94. package/dist/{vue-ui-rating-b_iYZWF8.js → vue-ui-rating-DRWJsve1.js} +2 -2
  95. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +1 -0
  96. package/dist/vue-ui-relation-circle-I45_Sk5l.js +349 -0
  97. package/dist/vue-ui-rings-B9WQ7S5m.cjs +2 -0
  98. package/dist/vue-ui-rings-DG8GCi3y.js +593 -0
  99. package/dist/vue-ui-scatter-BZfg1YIN.cjs +1 -0
  100. package/dist/{vue-ui-scatter-CVuoW-cD.js → vue-ui-scatter-Hqu5-F2H.js} +369 -345
  101. package/dist/{vue-ui-screenshot-Co2o48d6.cjs → vue-ui-screenshot-D8nxd5RV.cjs} +1 -1
  102. package/dist/{vue-ui-screenshot-Csc0dQL9.js → vue-ui-screenshot-cjiqbtLK.js} +1 -1
  103. package/dist/{vue-ui-skeleton-CGV1dEUD.cjs → vue-ui-skeleton-Djv08J67.cjs} +1 -1
  104. package/dist/{vue-ui-skeleton-B2sRnIXX.js → vue-ui-skeleton-aZmkNzAe.js} +3 -3
  105. package/dist/{vue-ui-smiley-Ci3uMgVh.cjs → vue-ui-smiley-B1TA19Hv.cjs} +1 -1
  106. package/dist/{vue-ui-smiley-D4s-AdIE.js → vue-ui-smiley-ChNvxygm.js} +2 -2
  107. package/dist/{vue-ui-spark-trend-BfoEoJEy.cjs → vue-ui-spark-trend-BqrPr63O.cjs} +1 -1
  108. package/dist/{vue-ui-spark-trend-CHKQGMLs.js → vue-ui-spark-trend-CQxELQcf.js} +5 -5
  109. package/dist/{vue-ui-sparkbar-Bb1fq2GR.js → vue-ui-sparkbar-0ixbKZzf.js} +4 -4
  110. package/dist/{vue-ui-sparkbar-DB2DeXti.cjs → vue-ui-sparkbar-CrTEPTU5.cjs} +1 -1
  111. package/dist/{vue-ui-sparkgauge-CJepIY2u.cjs → vue-ui-sparkgauge-BYxpe_WV.cjs} +1 -1
  112. package/dist/{vue-ui-sparkgauge-DWuaAQbo.js → vue-ui-sparkgauge-pdYb7OwH.js} +4 -4
  113. package/dist/{vue-ui-sparkhistogram-B7B36LLT.cjs → vue-ui-sparkhistogram-D21XDUH2.cjs} +1 -1
  114. package/dist/{vue-ui-sparkhistogram-CjeJ3ch1.js → vue-ui-sparkhistogram-N69h2q0U.js} +5 -5
  115. package/dist/{vue-ui-sparkline-DGJDBArr.js → vue-ui-sparkline-2BKYZMOb.js} +4 -4
  116. package/dist/{vue-ui-sparkline-BcqmwDAb.cjs → vue-ui-sparkline-Cf4m-Fxo.cjs} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DT3aKNeV.cjs → vue-ui-sparkstackbar-dAS8XoJs.cjs} +1 -1
  118. package/dist/{vue-ui-sparkstackbar-B3ul3qUZ.js → vue-ui-sparkstackbar-sh03cuOU.js} +4 -4
  119. package/dist/vue-ui-stackbar-B1si-1RM.js +938 -0
  120. package/dist/vue-ui-stackbar-Dy_saeSe.cjs +6 -0
  121. package/dist/{vue-ui-strip-plot-CIb2LSV8.js → vue-ui-strip-plot-BYn-QrTQ.js} +274 -250
  122. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +1 -0
  123. package/dist/{vue-ui-table-B_sFrAO9.cjs → vue-ui-table-Ce4waJaj.cjs} +1 -1
  124. package/dist/{vue-ui-table-CmVi0nv2.js → vue-ui-table-DQORPCDJ.js} +1 -1
  125. package/dist/{vue-ui-table-heatmap-CgFr38QT.js → vue-ui-table-heatmap-Csp7Tx8N.js} +4 -4
  126. package/dist/{vue-ui-table-heatmap-Chvdf2Gi.cjs → vue-ui-table-heatmap-EqHt-O7Y.cjs} +1 -1
  127. package/dist/{vue-ui-table-sparkline-DUUYQ5dH.cjs → vue-ui-table-sparkline-DONmVOMh.cjs} +1 -1
  128. package/dist/{vue-ui-table-sparkline-eg2Qd8ws.js → vue-ui-table-sparkline-DdwVrfUj.js} +5 -5
  129. package/dist/vue-ui-thermometer-I6ZnlfAv.js +440 -0
  130. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +1 -0
  131. package/dist/{vue-ui-timer-DM1IStj1.cjs → vue-ui-timer-COOXcn14.cjs} +1 -1
  132. package/dist/{vue-ui-timer-COSI3Q5T.js → vue-ui-timer-pi1SazTU.js} +5 -5
  133. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +1 -0
  134. package/dist/vue-ui-tiremarks-vdPQYiDp.js +303 -0
  135. package/dist/vue-ui-treemap-3FNUlKxL.js +816 -0
  136. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +1 -0
  137. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +4 -0
  138. package/dist/{vue-ui-vertical-bar-CieqHVD5.js → vue-ui-vertical-bar-DwxpB46q.js} +312 -288
  139. package/dist/vue-ui-waffle-CKM0QyJN.cjs +1 -0
  140. package/dist/vue-ui-waffle-XecHJIc-.js +782 -0
  141. package/dist/vue-ui-wheel-Bbih5sSL.js +282 -0
  142. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +1 -0
  143. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +1 -0
  144. package/dist/vue-ui-word-cloud-DnhXUn5x.js +598 -0
  145. package/dist/vue-ui-xy-BDpqVzAq.cjs +3 -0
  146. package/dist/{vue-ui-xy-x8KEsGV-.js → vue-ui-xy-CqlRuFMc.js} +775 -751
  147. package/dist/{vue-ui-xy-canvas-BYdTxzi6.js → vue-ui-xy-canvas-C8c2X5fk.js} +409 -385
  148. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +9 -0
  149. package/package.json +1 -1
  150. package/dist/BaseIcon-E7FmzMcY.cjs +0 -1
  151. package/dist/index-C7_6YjWN.cjs +0 -9
  152. package/dist/usePrinter-8EP4iaGm.cjs +0 -1
  153. package/dist/vue-data-ui-4Yd255Ia.cjs +0 -9
  154. package/dist/vue-data-ui-Cp7bO_tj.js +0 -258
  155. package/dist/vue-ui-3d-bar-BeR2aBgQ.cjs +0 -19
  156. package/dist/vue-ui-age-pyramid-R-C4P4mI.cjs +0 -1
  157. package/dist/vue-ui-bullet-CQKaC4wG.js +0 -409
  158. package/dist/vue-ui-bullet-DSZox236.cjs +0 -23
  159. package/dist/vue-ui-candlestick-Dilozp3V.cjs +0 -2
  160. package/dist/vue-ui-chestnut-DdEcEI04.cjs +0 -6
  161. package/dist/vue-ui-donut-DTSVlGMg.cjs +0 -1
  162. package/dist/vue-ui-donut-evolution-BuUafabD.cjs +0 -1
  163. package/dist/vue-ui-dumbbell-CVfgnyKi.cjs +0 -9
  164. package/dist/vue-ui-flow-C45dODaB.cjs +0 -1
  165. package/dist/vue-ui-flow-DkPTzNv9.js +0 -484
  166. package/dist/vue-ui-galaxy-DlPavMK0.cjs +0 -1
  167. package/dist/vue-ui-gauge-BXiy515T.js +0 -494
  168. package/dist/vue-ui-gauge-vMFUYHYH.cjs +0 -1
  169. package/dist/vue-ui-heatmap-CMQqQnxc.cjs +0 -1
  170. package/dist/vue-ui-molecule-BwmkMEVN.js +0 -774
  171. package/dist/vue-ui-molecule-nOuD0hR5.cjs +0 -1
  172. package/dist/vue-ui-mood-radar-Bof_C9Ae.cjs +0 -1
  173. package/dist/vue-ui-nested-donuts-DIb6YyWv.cjs +0 -17
  174. package/dist/vue-ui-onion-N3tRNc4u.cjs +0 -5
  175. package/dist/vue-ui-parallel-coordinate-plot-qKGk2bX6.cjs +0 -8
  176. package/dist/vue-ui-quadrant-Do48rGrX.cjs +0 -1
  177. package/dist/vue-ui-quick-chart-BxU4d-sJ.cjs +0 -15
  178. package/dist/vue-ui-radar-CooAvwPA.cjs +0 -1
  179. package/dist/vue-ui-relation-circle-nRf1pvD0.js +0 -325
  180. package/dist/vue-ui-relation-circle-uNgJni4x.cjs +0 -1
  181. package/dist/vue-ui-rings-BgRc1o4_.js +0 -569
  182. package/dist/vue-ui-rings-iIgQI9Ws.cjs +0 -2
  183. package/dist/vue-ui-scatter-CkrpmLxP.cjs +0 -1
  184. package/dist/vue-ui-stackbar-CRcUugkl.cjs +0 -6
  185. package/dist/vue-ui-stackbar-DNROvZII.js +0 -915
  186. package/dist/vue-ui-strip-plot-Ck9Fmt_b.cjs +0 -1
  187. package/dist/vue-ui-thermometer-BFfN4aat.cjs +0 -1
  188. package/dist/vue-ui-thermometer-BePmFiwy.js +0 -416
  189. package/dist/vue-ui-tiremarks-BkYXzU3R.cjs +0 -1
  190. package/dist/vue-ui-tiremarks-d6TmSHY7.js +0 -279
  191. package/dist/vue-ui-treemap-BgeZnbl3.cjs +0 -1
  192. package/dist/vue-ui-treemap-Qg0858o6.js +0 -792
  193. package/dist/vue-ui-vertical-bar-D3atbdvl.cjs +0 -4
  194. package/dist/vue-ui-waffle-CD7C9Lu4.cjs +0 -1
  195. package/dist/vue-ui-waffle-CjNhM-mV.js +0 -758
  196. package/dist/vue-ui-wheel-B8mbO6ht.js +0 -258
  197. package/dist/vue-ui-wheel-CYmM7J61.cjs +0 -1
  198. package/dist/vue-ui-word-cloud-DMXrUmX5.js +0 -574
  199. package/dist/vue-ui-word-cloud-Dm9yZ1zQ.cjs +0 -1
  200. package/dist/vue-ui-xy-DoWnidom.cjs +0 -3
  201. 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 h, ref as v, watch as be, onMounted as Be, onBeforeUnmount as Me, openBlock as s, createElementBlock as u, normalizeClass as me, normalizeStyle as xe, createBlock as _, createCommentVNode as y, unref as p, createSlots as Ue, withCtx as f, renderSlot as g, normalizeProps as A, guardReactiveProps as z, createVNode as ke, createElementVNode as n, Fragment as T, renderList as F, toDisplayString as V, createTextVNode as Ee, nextTick as De } from "vue";
2
+ import { u as We, c as Ge, t as Xe, o as je, e as N, C as He, v as I, X as Ye, w as W, D as qe, s as Je, x as Ke, y as Qe, q as Ze, r as et, E as we } from "./index-DnVHQ2xI.js";
3
+ import { t as tt, u as lt } from "./useResponsive-NZB-WLRF.js";
4
+ import { _ as ot } from "./Title-5VmBwT4i.js";
5
+ import { u as at, U as st } from "./usePrinter-BEeNAqS5.js";
6
+ import { _ as ut } from "./Tooltip-Cj4EF7v1.js";
7
+ import { D as it } from "./DataTable-DTk7C4Pr.js";
8
+ import nt from "./vue-ui-skeleton-aZmkNzAe.js";
9
+ import { S as rt } from "./Slicer-CU7dRZR0.js";
10
+ import vt from "./vue-ui-accordion-DspS4q3f.js";
11
+ import { u as $e } from "./useNestedProp-Cox0K0Y5.js";
12
+ import { _ as dt } from "./PackageVersion-CvCRsT5_.js";
13
+ import { P as yt } from "./PenAndPaper-Jb0pLt3G.js";
14
+ import { _ as ct } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
+ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt = ["stop-color"], mt = ["stop-color"], xt = ["stop-color"], kt = ["id"], wt = ["stop-color"], $t = ["stop-color"], Ct = ["stop-color"], _t = { key: 0 }, Nt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], St = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], At = { key: 1 }, zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Tt = ["x", "y", "font-size", "fill", "font-weight"], Ft = { key: 2 }, Lt = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 0 }, It = ["cx", "cy", "r", "fill"], Ot = ["cx", "cy", "r", "fill"], Pt = { key: 1 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Mt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ut = ["x", "y", "height", "width", "fill", "rx"], Et = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], Dt = ["x", "y", "height", "width", "fill", "onMouseover"], Wt = {
16
+ key: 4,
16
17
  class: "vue-data-ui-watermark"
17
- }, Et = ["innerHTML"], Dt = {
18
+ }, Gt = ["innerHTML"], Xt = {
18
19
  __name: "vue-ui-candlestick",
19
20
  props: {
20
21
  config: {
@@ -30,56 +31,56 @@ 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: Ce }) {
35
+ const k = $, { vue_ui_candlestick: _e } = We(), L = h(() => !!k.dataset && k.dataset.length), x = v(Ge()), Ne = 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), O = v(0), te = v(0), le = v(0), e = h({
36
+ get: () => oe(),
36
37
  set: (t) => t
37
38
  });
38
- function te() {
39
- const t = ke({
39
+ function oe() {
40
+ const t = $e({
40
41
  userConfig: k.config,
41
- defaultConfig: $e
42
+ defaultConfig: _e
42
43
  });
43
44
  return t.theme ? {
44
- ...ke({
45
- userConfig: We.vue_ui_candlestick[t.theme] || k.config,
45
+ ...$e({
46
+ userConfig: Xe.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
+ be(() => k.config, (t) => {
52
+ e.value = oe(), ae(), O.value += 1, le.value += 1, te.value += 1;
53
+ }, { deep: !0 }), be(() => 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
+ Be(() => {
63
+ ae();
63
64
  });
64
- function le() {
65
- if (Ge(k.dataset) && C({
65
+ function ae() {
66
+ if (je(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 = tt(() => {
71
+ const { width: a, height: l } = lt({
72
+ chart: S.value,
73
+ title: e.value.style.title.text ? Q.value : null,
74
+ slicer: ee.value,
75
+ legend: Z.value
75
76
  });
76
- d.value.width = a, d.value.height = l, d.value.xAxisFontSize = xe({
77
+ d.value.width = a, d.value.height = l, d.value.xAxisFontSize = we({
77
78
  relator: Math.min(a, l),
78
79
  adjuster: e.value.style.width,
79
80
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
80
81
  threshold: 6,
81
82
  fallback: 6
82
- }), d.value.yAxisFontSize = xe({
83
+ }), d.value.yAxisFontSize = we({
83
84
  relator: Math.min(a, l),
84
85
  adjuster: e.value.style.width,
85
86
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -87,13 +88,13 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
87
88
  fallback: 6
88
89
  });
89
90
  });
90
- B.value = new ResizeObserver(t), B.value.observe(A.value.parentNode);
91
+ P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
91
92
  }
92
93
  }
93
- Be(() => {
94
- B.value && B.value.disconnect();
94
+ Me(() => {
95
+ P.value && P.value.disconnect();
95
96
  });
96
- const { isPrinting: oe, isImaging: ae, generatePdf: se, generateImage: ue } = lt({
97
+ const { isPrinting: se, isImaging: ue, generatePdf: ie, generateImage: ne } = at({
97
98
  elementId: `vue-ui-candlestick_${x.value}`,
98
99
  fileName: e.value.style.title.text || "vue-ui-candlestick"
99
100
  }), w = v({
@@ -109,128 +110,128 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
109
110
  width: d.value.width - o - a,
110
111
  height: d.value.height - t - l
111
112
  };
112
- }), j = h(() => k.dataset.length), y = v({
113
+ }), H = h(() => k.dataset.length), c = v({
113
114
  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({
115
+ end: H.value
116
+ }), re = h(() => k.dataset.slice(c.value.start, c.value.end)), Y = h(() => (k.dataset.forEach((t, a) => {
117
+ [null, void 0].includes(t[0]) && N({
117
118
  componentName: "VueUiCandlestick",
118
119
  type: "datasetAttribute",
119
120
  property: "period (index 0)",
120
121
  index: a
121
- }), [null, void 0].includes(t[1]) && C({
122
+ }), [null, void 0].includes(t[1]) && N({
122
123
  componentName: "VueUiCandlestick",
123
124
  type: "datasetAttribute",
124
125
  property: "open (index 1)",
125
126
  index: a
126
- }), [null, void 0].includes(t[2]) && C({
127
+ }), [null, void 0].includes(t[2]) && N({
127
128
  componentName: "VueUiCandlestick",
128
129
  type: "datasetAttribute",
129
130
  property: "high (index 2)",
130
131
  index: a
131
- }), [null, void 0].includes(t[3]) && C({
132
+ }), [null, void 0].includes(t[3]) && N({
132
133
  componentName: "VueUiCandlestick",
133
134
  type: "datasetAttribute",
134
135
  property: "low (index 3)",
135
136
  index: a
136
- }), [null, void 0].includes(t[4]) && C({
137
+ }), [null, void 0].includes(t[4]) && N({
137
138
  componentName: "VueUiCandlestick",
138
139
  type: "datasetAttribute",
139
140
  property: "last (index 4)",
140
141
  index: a
141
- }), [null, void 0].includes(t[5]) && C({
142
+ }), [null, void 0].includes(t[5]) && N({
142
143
  componentName: "VueUiCandlestick",
143
144
  type: "datasetAttribute",
144
145
  property: "volume (index 5)",
145
146
  index: a
146
147
  });
147
- }), ie.value.map((t) => ({
148
+ }), re.value.map((t) => ({
148
149
  period: t[0],
149
150
  open: t[1],
150
151
  high: t[2],
151
152
  low: t[3],
152
153
  last: t[4],
153
154
  volume: t[5]
154
- })))), r = h(() => i.value.width / ie.value.length), ne = h(() => ({
155
- max: Math.max(...H.value.map((t) => t.high)),
155
+ })))), r = h(() => i.value.width / re.value.length), ve = h(() => ({
156
+ max: Math.max(...Y.value.map((t) => t.high)),
156
157
  min: 0
157
- })), _ = h(() => Xe(ne.value.min, ne.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
158
- function P(t, a) {
158
+ })), C = h(() => He(ve.value.min, ve.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
159
+ function B(t, a) {
159
160
  return {
160
161
  ...t,
161
162
  x: I(i.value.left + a * r.value + r.value / 2),
162
- y: I(i.value.top + (1 - t / _.value.max) * i.value.height),
163
+ y: I(i.value.top + (1 - t / C.value.max) * i.value.height),
163
164
  value: I(t)
164
165
  };
165
166
  }
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;
167
+ const b = h(() => Y.value.map((t, a) => {
168
+ 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
169
  return {
169
170
  period: t.period,
170
171
  open: l,
171
172
  high: o,
172
- low: g,
173
- last: U,
173
+ low: m,
174
+ last: E,
174
175
  volume: t.volume,
175
- isBullish: E
176
+ isBullish: D
176
177
  };
177
178
  }));
178
- function Ce(t) {
179
- return I(t / _.value.max);
179
+ function Se(t) {
180
+ return I(t / C.value.max);
180
181
  }
181
- const Ne = h(() => _.value.ticks.map((t) => ({
182
- y: i.value.bottom - i.value.height * Ce(t),
182
+ const Ae = h(() => C.value.ticks.map((t) => ({
183
+ y: i.value.bottom - i.value.height * Se(t),
183
184
  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 = {
185
+ }))), ze = h(() => Y.value.map((t) => t.period)), q = v(null);
186
+ function Te(t, a) {
187
+ j.value = t, q.value = {
187
188
  datapoint: a,
188
189
  seriesIndex: t,
189
- series: f.value,
190
+ series: b.value,
190
191
  config: e.value
191
192
  };
192
193
  const l = e.value.style.tooltip.customFormat;
193
- if (qe(l) && Je(() => l({
194
+ if (Ke(l) && Qe(() => l({
194
195
  seriesIndex: t,
195
196
  datapoint: a,
196
- series: f.value,
197
+ series: b.value,
197
198
  config: e.value
198
199
  })))
199
- G.value = l({
200
+ X.value = l({
200
201
  seriesIndex: t,
201
202
  datapoint: a,
202
- series: f.value,
203
+ series: b.value,
203
204
  config: e.value
204
205
  });
205
206
  else if (e.value.style.tooltip.show) {
206
207
  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;
208
+ const { period: m, open: E, high: D, low: he, last: pe, volume: fe, isBullish: ge } = b.value[t], { period: jt, open: Re, high: Ve, low: Ie, last: Oe, volume: Pe } = e.value.translations;
208
209
  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>`;
210
+ fill="${e.value.style.layout.candle.gradient.show ? ge ? `url(#bullish_gradient_${x.value})` : `url(#bearish_gradient_${x.value})` : ge ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${m}</div>`, o += `${Pe} : <b>${isNaN(fe) ? "-" : Number(fe.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>${Re}: <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>${Ve}: <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>${Ie}: <b>${e.value.style.tooltip.prefix} ${isNaN(he.value) ? "-" : Number(he.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>", X.value = `<div style="text-align:right">${o}</div>`;
210
211
  }
211
- W.value = !0;
212
+ G.value = !0;
212
213
  }
213
- function Te() {
214
- y.value = {
214
+ function Fe() {
215
+ c.value = {
215
216
  start: 0,
216
- end: j.value
217
+ end: H.value
217
218
  }, O.value += 1;
218
219
  }
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" });
220
+ function de() {
221
+ De(() => {
222
+ 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) => [
223
+ m.period,
224
+ m.open.value,
225
+ m.high.value,
226
+ m.low.value,
227
+ m.last.value,
228
+ m.volume
229
+ ]), l = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([t]).concat(a), o = Ze(l);
230
+ et({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
230
231
  });
231
232
  }
232
233
  const M = h(() => {
233
- const t = f.value.map((o) => [
234
+ const t = b.value.map((o) => [
234
235
  `<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
236
  `${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
237
  `${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 +259,50 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
258
259
  e.value.translations.volume
259
260
  ];
260
261
  return { head: l, body: t, config: a, colNames: l };
261
- }), F = v(!1);
262
- function Ae(t) {
263
- F.value = t, q.value += 1;
262
+ }), R = v(!1);
263
+ function Le(t) {
264
+ R.value = t, K.value += 1;
264
265
  }
265
- function ve() {
266
+ function ye() {
266
267
  w.value.showTable = !w.value.showTable;
267
268
  }
268
- function de() {
269
+ function ce() {
269
270
  w.value.showTooltip = !w.value.showTooltip;
270
271
  }
271
- return we({
272
- generatePdf: se,
273
- generateCsv: re,
274
- generateImage: ue,
275
- toggleTable: ve,
276
- toggleTooltip: de
272
+ const U = v(!1);
273
+ function J() {
274
+ U.value = !U.value;
275
+ }
276
+ return Ce({
277
+ generatePdf: ie,
278
+ generateCsv: de,
279
+ generateImage: ne,
280
+ toggleTable: ye,
281
+ toggleTooltip: ce,
282
+ toggleAnnotator: J
277
283
  }), (t, a) => (s(), u("div", {
278
284
  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%" : ""}`),
285
+ ref: S,
286
+ class: me(`vue-ui-candlestick ${R.value ? "vue-data-ui-wrapper-fullscreen" : ""} ${e.value.useCssAnimation ? "" : "vue-ui-dna"}`),
287
+ style: xe(`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
288
  id: `vue-ui-candlestick_${x.value}`
283
289
  }, [
284
- e.value.style.title.text ? (s(), u("div", {
290
+ e.value.userOptions.buttons.annotator ? (s(), _(yt, {
285
291
  key: 0,
292
+ parent: S.value,
293
+ backgroundColor: e.value.style.backgroundColor,
294
+ color: e.value.style.color,
295
+ active: U.value,
296
+ onClose: J
297
+ }, null, 8, ["parent", "backgroundColor", "color", "active"])) : y("", !0),
298
+ e.value.style.title.text ? (s(), u("div", {
299
+ key: 1,
286
300
  ref_key: "chartTitle",
287
- ref: J,
301
+ ref: Q,
288
302
  style: "width:100%;background:transparent"
289
303
  }, [
290
- (s(), N(tt, {
291
- key: `title_${ee.value}`,
304
+ (s(), _(ot, {
305
+ key: `title_${le.value}`,
292
306
  config: {
293
307
  title: {
294
308
  cy: "candlestick-div-title",
@@ -300,15 +314,15 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
300
314
  }
301
315
  }
302
316
  }, null, 8, ["config"]))
303
- ], 512)) : c("", !0),
304
- e.value.userOptions.show && T.value ? (s(), N(ot, {
317
+ ], 512)) : y("", !0),
318
+ e.value.userOptions.show && L.value ? (s(), _(st, {
305
319
  ref_key: "details",
306
- ref: _e,
307
- key: `user_options_${q.value}`,
320
+ ref: Ne,
321
+ key: `user_options_${K.value}`,
308
322
  backgroundColor: e.value.style.backgroundColor,
309
323
  color: e.value.style.color,
310
- isImaging: p(ae),
311
- isPrinting: p(oe),
324
+ isImaging: p(ue),
325
+ isPrinting: p(se),
312
326
  uid: x.value,
313
327
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
314
328
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -316,70 +330,80 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
316
330
  hasXls: e.value.userOptions.buttons.csv,
317
331
  hasTable: e.value.userOptions.buttons.table,
318
332
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
319
- isFullscreen: F.value,
333
+ isFullscreen: R.value,
320
334
  isTooltip: w.value.showTooltip,
321
335
  titles: { ...e.value.userOptions.buttonTitles },
322
- chartElement: A.value,
336
+ chartElement: S.value,
323
337
  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 }, [
338
+ hasAnnotator: e.value.userOptions.buttons.annotator,
339
+ isAnnotation: U.value,
340
+ onToggleFullscreen: Le,
341
+ onGeneratePdf: p(ie),
342
+ onGenerateCsv: de,
343
+ onGenerateImage: p(ne),
344
+ onToggleTable: ye,
345
+ onToggleTooltip: ce,
346
+ onToggleAnnotator: J
347
+ }, Ue({ _: 2 }, [
331
348
  t.$slots.optionTooltip ? {
332
349
  name: "optionTooltip",
333
- fn: b(() => [
334
- m(t.$slots, "optionTooltip", {}, void 0, !0)
350
+ fn: f(() => [
351
+ g(t.$slots, "optionTooltip", {}, void 0, !0)
335
352
  ]),
336
353
  key: "0"
337
354
  } : void 0,
338
355
  t.$slots.optionPdf ? {
339
356
  name: "optionPdf",
340
- fn: b(() => [
341
- m(t.$slots, "optionPdf", {}, void 0, !0)
357
+ fn: f(() => [
358
+ g(t.$slots, "optionPdf", {}, void 0, !0)
342
359
  ]),
343
360
  key: "1"
344
361
  } : void 0,
345
362
  t.$slots.optionCsv ? {
346
363
  name: "optionCsv",
347
- fn: b(() => [
348
- m(t.$slots, "optionCsv", {}, void 0, !0)
364
+ fn: f(() => [
365
+ g(t.$slots, "optionCsv", {}, void 0, !0)
349
366
  ]),
350
367
  key: "2"
351
368
  } : void 0,
352
369
  t.$slots.optionImg ? {
353
370
  name: "optionImg",
354
- fn: b(() => [
355
- m(t.$slots, "optionImg", {}, void 0, !0)
371
+ fn: f(() => [
372
+ g(t.$slots, "optionImg", {}, void 0, !0)
356
373
  ]),
357
374
  key: "3"
358
375
  } : void 0,
359
376
  t.$slots.optionTable ? {
360
377
  name: "optionTable",
361
- fn: b(() => [
362
- m(t.$slots, "optionTable", {}, void 0, !0)
378
+ fn: f(() => [
379
+ g(t.$slots, "optionTable", {}, void 0, !0)
363
380
  ]),
364
381
  key: "4"
365
382
  } : void 0,
366
383
  t.$slots.optionFullscreen ? {
367
384
  name: "optionFullscreen",
368
- fn: b(({ toggleFullscreen: l, isFullscreen: o }) => [
369
- m(t.$slots, "optionFullscreen", L(R({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
385
+ fn: f(({ toggleFullscreen: l, isFullscreen: o }) => [
386
+ g(t.$slots, "optionFullscreen", A(z({ toggleFullscreen: l, isFullscreen: o })), void 0, !0)
370
387
  ]),
371
388
  key: "5"
389
+ } : void 0,
390
+ t.$slots.optionAnnotator ? {
391
+ name: "optionAnnotator",
392
+ fn: f(({ toggleAnnotator: l, isAnnotator: o }) => [
393
+ g(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
394
+ ]),
395
+ key: "6"
372
396
  } : 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 }),
397
+ ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
398
+ L.value ? (s(), u("svg", {
399
+ key: 3,
400
+ xmlns: p(Ye),
401
+ class: me({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
378
402
  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}`)
403
+ style: xe(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`)
380
404
  }, [
381
- me(rt),
382
- f.value.length > 0 ? (s(), u("g", ct, [
405
+ ke(dt),
406
+ b.value.length > 0 ? (s(), u("g", ft, [
383
407
  n("defs", null, [
384
408
  n("linearGradient", {
385
409
  id: `bearish_gradient_${x.value}`,
@@ -389,16 +413,16 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
389
413
  n("stop", {
390
414
  offset: "0%",
391
415
  "stop-color": e.value.style.layout.candle.colors.bearish
392
- }, null, 8, pt),
416
+ }, null, 8, bt),
393
417
  n("stop", {
394
418
  offset: "50%",
395
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
396
- }, null, 8, ft),
419
+ "stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
420
+ }, null, 8, mt),
397
421
  n("stop", {
398
422
  offset: "100%",
399
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
400
- }, null, 8, gt)
401
- ], 8, ht),
423
+ "stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
424
+ }, null, 8, xt)
425
+ ], 8, gt),
402
426
  n("linearGradient", {
403
427
  id: `bullish_gradient_${x.value}`,
404
428
  x2: "0%",
@@ -407,18 +431,18 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
407
431
  n("stop", {
408
432
  offset: "0%",
409
433
  "stop-color": e.value.style.layout.candle.colors.bullish
410
- }, null, 8, mt),
434
+ }, null, 8, wt),
411
435
  n("stop", {
412
436
  offset: "50%",
413
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
414
- }, null, 8, xt),
437
+ "stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
438
+ }, null, 8, $t),
415
439
  n("stop", {
416
440
  offset: "100%",
417
- "stop-color": `${p(D)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
418
- }, null, 8, kt)
419
- ], 8, bt)
441
+ "stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
442
+ }, null, 8, Ct)
443
+ ], 8, kt)
420
444
  ]),
421
- e.value.style.layout.grid.show ? (s(), u("g", wt, [
445
+ e.value.style.layout.grid.show ? (s(), u("g", _t, [
422
446
  n("line", {
423
447
  x1: i.value.left,
424
448
  x2: i.value.left,
@@ -427,7 +451,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
427
451
  stroke: e.value.style.layout.grid.stroke,
428
452
  "stroke-width": e.value.style.layout.grid.strokeWidth,
429
453
  "stroke-linecap": "round"
430
- }, null, 8, $t),
454
+ }, null, 8, Nt),
431
455
  n("line", {
432
456
  x1: i.value.left,
433
457
  x2: i.value.right,
@@ -436,11 +460,11 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
436
460
  stroke: e.value.style.layout.grid.stroke,
437
461
  "stroke-width": e.value.style.layout.grid.strokeWidth,
438
462
  "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", {
463
+ }, null, 8, St)
464
+ ])) : y("", !0),
465
+ e.value.style.layout.grid.yAxis.dataLabels.show ? (s(), u("g", At, [
466
+ (s(!0), u(T, null, F(Ae.value, (l, o) => (s(), u("g", null, [
467
+ l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
444
468
  key: 0,
445
469
  x1: i.value.left,
446
470
  x2: i.value.left - 5,
@@ -449,8 +473,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
449
473
  stroke: e.value.style.layout.grid.stroke,
450
474
  "stroke-width": e.value.style.layout.grid.strokeWidth,
451
475
  "stroke-linecap": "round"
452
- }, null, 8, Nt)) : c("", !0),
453
- l.value >= _.value.min && l.value <= _.value.max ? (s(), u("text", {
476
+ }, null, 8, zt)) : y("", !0),
477
+ l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
454
478
  key: 1,
455
479
  x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
456
480
  y: l.y + d.value.yAxisFontSize / 3,
@@ -458,22 +482,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
458
482
  "text-anchor": "end",
459
483
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
460
484
  "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)
485
+ }, V(e.value.style.layout.grid.yAxis.dataLabels.prefix) + " " + V(p(qe)(l.value) ? l.value.toFixed(e.value.style.layout.grid.yAxis.dataLabels.roundingValue) : "") + " " + V(e.value.style.layout.grid.yAxis.dataLabels.suffix), 9, Tt)) : y("", !0)
462
486
  ]))), 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, [
487
+ ])) : y("", !0),
488
+ e.value.style.layout.grid.xAxis.dataLabels.show ? (s(), u("g", Ft, [
489
+ (s(!0), u(T, null, F(ze.value, (l, o) => (s(), u("g", null, [
466
490
  n("text", {
467
491
  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
492
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
469
493
  "font-size": d.value.xAxisFontSize,
470
494
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
471
495
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
472
- }, V(l), 9, Tt)
496
+ }, V(l), 9, Lt)
473
497
  ]))), 256))
474
- ])) : c("", !0),
498
+ ])) : y("", !0),
475
499
  n("g", null, [
476
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("g", null, [
500
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("g", null, [
477
501
  n("line", {
478
502
  x1: l.open.x,
479
503
  x2: l.open.x,
@@ -482,22 +506,22 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
482
506
  stroke: e.value.style.layout.wick.stroke,
483
507
  "stroke-width": e.value.style.layout.wick.strokeWidth,
484
508
  "stroke-linecap": "round"
485
- }, null, 8, At),
486
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Ft, [
509
+ }, null, 8, Rt),
510
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Vt, [
487
511
  n("circle", {
488
512
  cx: l.high.x,
489
513
  cy: l.high.y,
490
514
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
491
515
  fill: e.value.style.layout.wick.extremity.color
492
- }, null, 8, Lt),
516
+ }, null, 8, It),
493
517
  n("circle", {
494
518
  cx: l.low.x,
495
519
  cy: l.low.y,
496
520
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
497
521
  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, [
522
+ }, null, 8, Ot)
523
+ ])) : y("", !0),
524
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Pt, [
501
525
  n("line", {
502
526
  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
527
  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 +530,7 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
506
530
  stroke: e.value.style.layout.wick.extremity.color,
507
531
  "stroke-width": e.value.style.layout.wick.strokeWidth,
508
532
  "stroke-linecap": "round"
509
- }, null, 8, It),
533
+ }, null, 8, Bt),
510
534
  n("line", {
511
535
  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
536
  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 +539,12 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
515
539
  stroke: e.value.style.layout.wick.extremity.color,
516
540
  "stroke-width": e.value.style.layout.wick.strokeWidth,
517
541
  "stroke-linecap": "round"
518
- }, null, 8, Ot)
519
- ])) : c("", !0)
542
+ }, null, 8, Mt)
543
+ ])) : y("", !0)
520
544
  ]))), 256))
521
545
  ]),
522
546
  n("g", null, [
523
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
547
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
524
548
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
525
549
  y: l.isBullish ? l.last.y : l.open.y,
526
550
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -528,8 +552,8 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
528
552
  fill: e.value.style.layout.candle.gradient.underlayer,
529
553
  rx: e.value.style.layout.candle.borderRadius,
530
554
  stroke: "none"
531
- }, null, 8, Bt))), 256)),
532
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
555
+ }, null, 8, Ut))), 256)),
556
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
533
557
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
534
558
  y: l.isBullish ? l.last.y : l.open.y,
535
559
  height: Math.abs(l.last.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.last.y - l.open.y),
@@ -540,29 +564,29 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
540
564
  "stroke-width": e.value.style.layout.candle.strokeWidth,
541
565
  "stroke-linecap": "round",
542
566
  "stroke-linejoin": "round"
543
- }, null, 8, Pt))), 256))
567
+ }, null, 8, Et))), 256))
544
568
  ]),
545
569
  n("g", null, [
546
- (s(!0), u(S, null, z(f.value, (l, o) => (s(), u("rect", {
570
+ (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
547
571
  x: i.value.left + o * r.value,
548
572
  y: i.value.top,
549
573
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
550
574
  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;
575
+ fill: j.value === o ? p(Je)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
576
+ onMouseover: (m) => Te(o, l),
577
+ onMouseleave: a[0] || (a[0] = (m) => {
578
+ j.value = void 0, G.value = !1;
555
579
  })
556
- }, null, 40, Mt))), 256))
580
+ }, null, 40, Dt))), 256))
557
581
  ])
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,
582
+ ])) : y("", !0),
583
+ g(t.$slots, "svg", { svg: d.value }, void 0, !0)
584
+ ], 14, pt)) : y("", !0),
585
+ t.$slots.watermark ? (s(), u("div", Wt, [
586
+ g(t.$slots, "watermark", A(z({ isPrinting: p(se) || p(ue) })), void 0, !0)
587
+ ])) : y("", !0),
588
+ L.value ? y("", !0) : (s(), _(nt, {
589
+ key: 5,
566
590
  config: {
567
591
  type: "candlesticks",
568
592
  style: {
@@ -578,46 +602,46 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
578
602
  }
579
603
  }
580
604
  }, null, 8, ["config"])),
581
- e.value.style.zoom.show && T.value ? (s(), u("div", {
582
- key: 5,
605
+ e.value.style.zoom.show && L.value ? (s(), u("div", {
606
+ key: 6,
583
607
  ref_key: "chartSlicer",
584
- ref: Q
608
+ ref: ee
585
609
  }, [
586
- (s(), N(it, {
610
+ (s(), _(rt, {
587
611
  key: `slicer_${O.value}`,
588
612
  background: e.value.style.zoom.color,
589
613
  borderColor: e.value.style.backgroundColor,
590
614
  fontSize: e.value.style.zoom.fontSize,
591
615
  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],
616
+ labelLeft: $.dataset[c.value.start] ? $.dataset[c.value.start][0] : $.dataset[0][0],
617
+ labelRight: $.dataset[c.value.end - 1] ? $.dataset[c.value.end - 1][0] : $.dataset.at(-1)[0],
594
618
  textColor: e.value.style.color,
595
619
  inputColor: e.value.style.zoom.color,
596
620
  selectColor: e.value.style.zoom.highlightColor,
597
- max: j.value,
621
+ max: H.value,
598
622
  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
623
+ valueStart: c.value.start,
624
+ valueEnd: c.value.end,
625
+ start: c.value.start,
626
+ "onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
627
+ end: c.value.end,
628
+ "onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
629
+ onReset: Fe
606
630
  }, {
607
- "reset-action": b(({ reset: l }) => [
608
- m(t.$slots, "reset-action", L(R({ reset: l })), void 0, !0)
631
+ "reset-action": f(({ reset: l }) => [
632
+ g(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
609
633
  ]),
610
634
  _: 3
611
635
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
612
- ], 512)) : c("", !0),
636
+ ], 512)) : y("", !0),
613
637
  n("div", {
614
638
  ref_key: "chartLegend",
615
- ref: K
639
+ ref: Z
616
640
  }, [
617
- m(t.$slots, "legend", { legend: f.value }, void 0, !0)
641
+ g(t.$slots, "legend", { legend: b.value }, void 0, !0)
618
642
  ], 512),
619
- me(at, {
620
- show: w.value.showTooltip && W.value,
643
+ ke(ut, {
644
+ show: w.value.showTooltip && G.value,
621
645
  backgroundColor: e.value.style.tooltip.backgroundColor,
622
646
  color: e.value.style.tooltip.color,
623
647
  borderRadius: e.value.style.tooltip.borderRadius,
@@ -627,20 +651,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
627
651
  backgroundOpacity: e.value.style.tooltip.backgroundOpacity,
628
652
  position: e.value.style.tooltip.position,
629
653
  offsetY: e.value.style.tooltip.offsetY,
630
- parent: A.value,
631
- content: G.value,
654
+ parent: S.value,
655
+ content: X.value,
632
656
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
633
657
  }, {
634
- "tooltip-before": b(() => [
635
- m(t.$slots, "tooltip-before", L(R({ ...Y.value })), void 0, !0)
658
+ "tooltip-before": f(() => [
659
+ g(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
636
660
  ]),
637
- "tooltip-after": b(() => [
638
- m(t.$slots, "tooltip-after", L(R({ ...Y.value })), void 0, !0)
661
+ "tooltip-after": f(() => [
662
+ g(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
639
663
  ]),
640
664
  _: 3
641
665
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
642
- T.value ? (s(), N(nt, {
643
- key: 6,
666
+ L.value ? (s(), _(vt, {
667
+ key: 7,
644
668
  hideDetails: "",
645
669
  config: {
646
670
  open: w.value.showTable,
@@ -655,9 +679,9 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
655
679
  }
656
680
  }
657
681
  }, {
658
- content: b(() => [
659
- (s(), N(st, {
660
- key: `table_${Z.value}`,
682
+ content: f(() => [
683
+ (s(), _(it, {
684
+ key: `table_${te.value}`,
661
685
  colNames: M.value.colNames,
662
686
  head: M.value.head,
663
687
  body: M.value.body,
@@ -665,20 +689,20 @@ const dt = ["id"], yt = ["xmlns", "viewBox"], ct = { key: 0 }, ht = ["id"], pt =
665
689
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
666
690
  onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
667
691
  }, {
668
- th: b(({ th: l }) => [
669
- Me(V(l), 1)
692
+ th: f(({ th: l }) => [
693
+ Ee(V(l), 1)
670
694
  ]),
671
- td: b(({ td: l }) => [
672
- n("div", { innerHTML: l }, null, 8, Et)
695
+ td: f(({ td: l }) => [
696
+ n("div", { innerHTML: l }, null, 8, Gt)
673
697
  ]),
674
698
  _: 1
675
699
  }, 8, ["colNames", "head", "body", "config", "title"]))
676
700
  ]),
677
701
  _: 1
678
- }, 8, ["config"])) : c("", !0)
679
- ], 14, dt));
702
+ }, 8, ["config"])) : y("", !0)
703
+ ], 14, ht));
680
704
  }
681
- }, ol = /* @__PURE__ */ vt(Dt, [["__scopeId", "data-v-51dc0cb1"]]);
705
+ }, il = /* @__PURE__ */ ct(Xt, [["__scopeId", "data-v-3c46f286"]]);
682
706
  export {
683
- ol as default
707
+ il as default
684
708
  };