vue-data-ui 2.4.2 → 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 (194) hide show
  1. package/dist/{Arrow-JuK2z9IB.js → Arrow-C7lNL7sY.js} +1 -1
  2. package/dist/{Arrow-DLTRnzcG.cjs → Arrow-Dz6AomGr.cjs} +1 -1
  3. package/dist/{BaseIcon-rRli6Sfv.js → BaseIcon-BbvG1AlW.js} +1 -1
  4. package/dist/{BaseIcon-BGExhz6v.cjs → BaseIcon-uALK38Ov.cjs} +1 -1
  5. package/dist/{DataTable-DJzhv96s.cjs → DataTable-DTzynbND.cjs} +1 -1
  6. package/dist/{DataTable-DTk7C4Pr.js → DataTable-DYqC2pqu.js} +2 -2
  7. package/dist/{Legend-YZ7Hz3o1.cjs → Legend-Cgw4lO2O.cjs} +1 -1
  8. package/dist/{Legend-CYF2gpXG.js → Legend-DNgTCgEK.js} +1 -1
  9. package/dist/{PackageVersion-DVZtsuy4.cjs → PackageVersion-DwI-KhXH.cjs} +1 -1
  10. package/dist/{PackageVersion-CvCRsT5_.js → PackageVersion-VkaUzgmt.js} +1 -1
  11. package/dist/{PenAndPaper-CyXm-yVL.cjs → PenAndPaper-CDFVOo7X.cjs} +1 -1
  12. package/dist/{PenAndPaper-Jb0pLt3G.js → PenAndPaper-DAZYA8Ew.js} +2 -2
  13. package/dist/{Shape-BpPn4eWR.js → Shape-Bwon0l0g.js} +1 -1
  14. package/dist/{Shape-X2F-QV_B.cjs → Shape-D2Dpshg1.cjs} +1 -1
  15. package/dist/{Slicer-CU7dRZR0.js → Slicer-TfpN2Cr4.js} +3 -3
  16. package/dist/{Slicer-CL0tP5a5.cjs → Slicer-uSjfNJjG.cjs} +1 -1
  17. package/dist/{Title-Co5jI5ed.cjs → Title-0Tp4hZ4u.cjs} +1 -1
  18. package/dist/{Title-5VmBwT4i.js → Title-C5pIfQAz.js} +1 -1
  19. package/dist/{Tooltip-Bl6W8Zn7.cjs → Tooltip-9Tp2Yrd1.cjs} +1 -1
  20. package/dist/{Tooltip-Cj4EF7v1.js → Tooltip-Cz24YLfw.js} +1 -1
  21. package/dist/{index-DnVHQ2xI.js → index-Bya_q1J-.js} +4 -1
  22. package/dist/index-eFox7weK.cjs +9 -0
  23. package/dist/style.css +1 -1
  24. package/dist/types/vue-data-ui.d.cts +4 -1
  25. package/dist/types/vue-data-ui.d.ts +4 -1
  26. package/dist/{useNestedProp-Cox0K0Y5.js → useNestedProp-B33hazbH.js} +1 -1
  27. package/dist/{useNestedProp-q7byAAIJ.cjs → useNestedProp-BkgEhTQY.cjs} +1 -1
  28. package/dist/{usePrinter-BCAFeO_J.cjs → usePrinter-CSRFnDBU.cjs} +1 -1
  29. package/dist/{usePrinter-BEeNAqS5.js → usePrinter-CiHd1FwD.js} +1 -1
  30. package/dist/useResponsive-BY8tgM1n.js +188 -0
  31. package/dist/useResponsive-CodiGUOE.cjs +1 -0
  32. package/dist/{vue-data-ui-CRLLZpt0.cjs → vue-data-ui-BTtxyUc3.cjs} +1 -1
  33. package/dist/{vue-data-ui-W7nnqn0v.js → vue-data-ui-Bduq4f2p.js} +58 -58
  34. package/dist/vue-data-ui.cjs +1 -1
  35. package/dist/vue-data-ui.js +1 -1
  36. package/dist/{vue-ui-3d-bar-bD_n6qL_.cjs → vue-ui-3d-bar-B-P7PMHs.cjs} +2 -2
  37. package/dist/{vue-ui-3d-bar-BwBrUabe.js → vue-ui-3d-bar-BUEq_VdY.js} +41 -34
  38. package/dist/{vue-ui-accordion-DspS4q3f.js → vue-ui-accordion-DfUfL2dI.js} +3 -3
  39. package/dist/{vue-ui-accordion-xXgqfR2l.cjs → vue-ui-accordion-TEMpM1hO.cjs} +1 -1
  40. package/dist/{vue-ui-age-pyramid-CxBvm3uM.js → vue-ui-age-pyramid-CH72tAMb.js} +163 -154
  41. package/dist/vue-ui-age-pyramid-DsbZ1qcQ.cjs +1 -0
  42. package/dist/{vue-ui-annotator-BOofWpzv.js → vue-ui-annotator-DPeJ2its.js} +1 -1
  43. package/dist/{vue-ui-annotator-C6T5_7ZV.cjs → vue-ui-annotator-DU_DJKCw.cjs} +1 -1
  44. package/dist/{vue-ui-bullet-DraC-oFu.js → vue-ui-bullet-CtP3MlUT.js} +167 -136
  45. package/dist/vue-ui-bullet-D8ks_rKr.cjs +34 -0
  46. package/dist/vue-ui-candlestick-D1jdr0bv.cjs +2 -0
  47. package/dist/{vue-ui-candlestick-DQZ5eT1f.js → vue-ui-candlestick-DDil13a0.js} +173 -164
  48. package/dist/{vue-ui-carousel-table-PdLjpH1p.js → vue-ui-carousel-table-BaeIxyc0.js} +76 -69
  49. package/dist/vue-ui-carousel-table-C7SJIOG-.cjs +1 -0
  50. package/dist/{vue-ui-chestnut-ByI_O5hB.js → vue-ui-chestnut-BczSJF6S.js} +96 -89
  51. package/dist/vue-ui-chestnut-ih5r0Bj9.cjs +6 -0
  52. package/dist/{vue-ui-cursor-BvadpA2m.cjs → vue-ui-cursor-C2Pj_CI_.cjs} +1 -1
  53. package/dist/{vue-ui-cursor-BM74l93B.js → vue-ui-cursor-Dg_Dmww-.js} +2 -2
  54. package/dist/{vue-ui-dashboard-CoANBhAM.js → vue-ui-dashboard-Bul9dqx1.js} +2 -2
  55. package/dist/{vue-ui-dashboard-OP51Gs8I.cjs → vue-ui-dashboard-Cg020NiT.cjs} +1 -1
  56. package/dist/{vue-ui-digits-DioaBnkB.js → vue-ui-digits-B8iAa4YZ.js} +2 -2
  57. package/dist/{vue-ui-digits-C7jJJg9k.cjs → vue-ui-digits-Ctgd84JR.cjs} +1 -1
  58. package/dist/vue-ui-donut-D7KT9EAp.cjs +1 -0
  59. package/dist/{vue-ui-donut-ldqSm_JV.js → vue-ui-donut-DUcp-fat.js} +244 -235
  60. package/dist/vue-ui-donut-evolution-CHtJ8iOK.cjs +1 -0
  61. package/dist/{vue-ui-donut-evolution-DAb1xzNd.js → vue-ui-donut-evolution-C_YMbTwq.js} +125 -118
  62. package/dist/vue-ui-dumbbell-B0dikuqO.cjs +9 -0
  63. package/dist/{vue-ui-dumbbell-Dg7PkiKJ.js → vue-ui-dumbbell-Buwngz_V.js} +192 -183
  64. package/dist/{vue-ui-flow-DKT7ZEnr.js → vue-ui-flow-Bz3c0K5P.js} +78 -71
  65. package/dist/vue-ui-flow-D6rc8J-8.cjs +1 -0
  66. package/dist/{vue-ui-galaxy-qAA9be3S.js → vue-ui-galaxy-Cjh0XGTX.js} +49 -42
  67. package/dist/vue-ui-galaxy-CmTt0vBf.cjs +1 -0
  68. package/dist/{vue-ui-gauge-D8yVTIgP.js → vue-ui-gauge-B1UvGkQa.js} +160 -151
  69. package/dist/vue-ui-gauge-B_TKuyM7.cjs +1 -0
  70. package/dist/{vue-ui-gizmo-W6bTkg59.cjs → vue-ui-gizmo-DFW6HnHp.cjs} +1 -1
  71. package/dist/{vue-ui-gizmo-DC0uUwI3.js → vue-ui-gizmo-DUQ4t-At.js} +3 -3
  72. package/dist/{vue-ui-heatmap-u1raIzBQ.js → vue-ui-heatmap-C-poazUw.js} +110 -103
  73. package/dist/vue-ui-heatmap-C2HlnqzO.cjs +1 -0
  74. package/dist/{vue-ui-kpi-C-iTxMD2.js → vue-ui-kpi-DXe-vxAk.js} +3 -3
  75. package/dist/{vue-ui-kpi-DY_2WF7U.cjs → vue-ui-kpi-Z4Oi4raz.cjs} +1 -1
  76. package/dist/{vue-ui-mini-loader-C7x7S0hi.js → vue-ui-mini-loader-BVtHTqxS.js} +2 -2
  77. package/dist/{vue-ui-mini-loader-Bfq2MNWu.cjs → vue-ui-mini-loader-MMvpm9pz.cjs} +1 -1
  78. package/dist/{vue-ui-molecule-BFnOIxxs.js → vue-ui-molecule-BaJpDZND.js} +78 -71
  79. package/dist/vue-ui-molecule-BiYIcOKN.cjs +1 -0
  80. package/dist/{vue-ui-mood-radar-CR1v5v2x.js → vue-ui-mood-radar-BUNDwsEI.js} +132 -125
  81. package/dist/vue-ui-mood-radar-C6jMyFkb.cjs +1 -0
  82. package/dist/vue-ui-nested-donuts-DKO2dFKo.cjs +17 -0
  83. package/dist/{vue-ui-nested-donuts-DEiloQzq.js → vue-ui-nested-donuts-mDy2hXa6.js} +198 -189
  84. package/dist/{vue-ui-onion-LsEhBe4x.js → vue-ui-onion-DwFG3HAI.js} +248 -239
  85. package/dist/vue-ui-onion-GWNoZRhw.cjs +5 -0
  86. package/dist/vue-ui-parallel-coordinate-plot-DODn4Ohf.cjs +8 -0
  87. package/dist/{vue-ui-parallel-coordinate-plot-CTlIjJqG.js → vue-ui-parallel-coordinate-plot-ImET_zeo.js} +233 -224
  88. package/dist/{vue-ui-quadrant-DKVVFufb.js → vue-ui-quadrant-BeveRihK.js} +188 -179
  89. package/dist/vue-ui-quadrant-yuFAxV-5.cjs +1 -0
  90. package/dist/{vue-ui-quick-chart-8vJikiGH.js → vue-ui-quick-chart-DAhllTfa.js} +343 -334
  91. package/dist/{vue-ui-quick-chart-gG5Ar8-i.cjs → vue-ui-quick-chart-DgFDBzjS.cjs} +2 -2
  92. package/dist/vue-ui-radar-BJH5SE6-.cjs +1 -0
  93. package/dist/{vue-ui-radar-20QhOUer.js → vue-ui-radar-BllatzRa.js} +174 -165
  94. package/dist/{vue-ui-rating-Bbzm5nUK.cjs → vue-ui-rating-BoZo7caL.cjs} +1 -1
  95. package/dist/{vue-ui-rating-DRWJsve1.js → vue-ui-rating-D1ykV4xO.js} +2 -2
  96. package/dist/vue-ui-relation-circle-CKmjOle7.cjs +1 -0
  97. package/dist/{vue-ui-relation-circle-I45_Sk5l.js → vue-ui-relation-circle-xv2l5Be9.js} +142 -133
  98. package/dist/{vue-ui-rings-DG8GCi3y.js → vue-ui-rings-B-ZcX6y1.js} +165 -156
  99. package/dist/vue-ui-rings-DjH3CK23.cjs +2 -0
  100. package/dist/{vue-ui-scatter-Hqu5-F2H.js → vue-ui-scatter-DG43ck1g.js} +269 -260
  101. package/dist/vue-ui-scatter-SBCXAl7q.cjs +1 -0
  102. package/dist/{vue-ui-screenshot-D8nxd5RV.cjs → vue-ui-screenshot-C1JBP_N0.cjs} +1 -1
  103. package/dist/{vue-ui-screenshot-cjiqbtLK.js → vue-ui-screenshot-p3ca8cAl.js} +1 -1
  104. package/dist/{vue-ui-skeleton-aZmkNzAe.js → vue-ui-skeleton-BYssP0K4.js} +419 -379
  105. package/dist/vue-ui-skeleton-BqKzuhkB.cjs +41 -0
  106. package/dist/{vue-ui-smiley-B1TA19Hv.cjs → vue-ui-smiley-BXKVpHl2.cjs} +1 -1
  107. package/dist/{vue-ui-smiley-ChNvxygm.js → vue-ui-smiley-D7dDCdpq.js} +2 -2
  108. package/dist/vue-ui-spark-trend-9V60hM3Z.cjs +1 -0
  109. package/dist/{vue-ui-spark-trend-CQxELQcf.js → vue-ui-spark-trend-GWFrO_0z.js} +86 -79
  110. package/dist/vue-ui-sparkbar-Bgn6AY0q.cjs +1 -0
  111. package/dist/{vue-ui-sparkbar-0ixbKZzf.js → vue-ui-sparkbar-CwqlyAyv.js} +90 -83
  112. package/dist/vue-ui-sparkgauge-Dqntz2Zv.cjs +1 -0
  113. package/dist/{vue-ui-sparkgauge-pdYb7OwH.js → vue-ui-sparkgauge-F2XbiXyA.js} +57 -50
  114. package/dist/{vue-ui-sparkhistogram-N69h2q0U.js → vue-ui-sparkhistogram-DRIKK6Ym.js} +74 -67
  115. package/dist/vue-ui-sparkhistogram-DnY4-Sdn.cjs +1 -0
  116. package/dist/vue-ui-sparkline-CAEs-gtK.cjs +1 -0
  117. package/dist/{vue-ui-sparkline-2BKYZMOb.js → vue-ui-sparkline-Cxtzdlhi.js} +134 -125
  118. package/dist/{vue-ui-sparkstackbar-sh03cuOU.js → vue-ui-sparkstackbar-0A1klq9s.js} +84 -77
  119. package/dist/vue-ui-sparkstackbar-D37ms1rx.cjs +1 -0
  120. package/dist/{vue-ui-stackbar-B1si-1RM.js → vue-ui-stackbar-ByOuJSdM.js} +205 -196
  121. package/dist/{vue-ui-stackbar-Dy_saeSe.cjs → vue-ui-stackbar-wun4S3C0.cjs} +2 -2
  122. package/dist/{vue-ui-strip-plot-BYn-QrTQ.js → vue-ui-strip-plot-CMD0MSqY.js} +218 -209
  123. package/dist/vue-ui-strip-plot-IQrypGvz.cjs +1 -0
  124. package/dist/{vue-ui-table-DQORPCDJ.js → vue-ui-table-B75DJ39t.js} +1 -1
  125. package/dist/{vue-ui-table-Ce4waJaj.cjs → vue-ui-table-aj0XZ7T5.cjs} +1 -1
  126. package/dist/{vue-ui-table-heatmap-Csp7Tx8N.js → vue-ui-table-heatmap-BO2ugWqD.js} +55 -48
  127. package/dist/vue-ui-table-heatmap-Ce93TyBF.cjs +1 -0
  128. package/dist/{vue-ui-table-sparkline-DdwVrfUj.js → vue-ui-table-sparkline-CbjfAaj2.js} +88 -81
  129. package/dist/vue-ui-table-sparkline-D6KJjDnU.cjs +1 -0
  130. package/dist/{vue-ui-thermometer-I6ZnlfAv.js → vue-ui-thermometer-Pq4PvSIP.js} +67 -60
  131. package/dist/vue-ui-thermometer-swmi4FmH.cjs +1 -0
  132. package/dist/{vue-ui-timer-COOXcn14.cjs → vue-ui-timer-B6IB6yS6.cjs} +1 -1
  133. package/dist/{vue-ui-timer-pi1SazTU.js → vue-ui-timer-Bk3BvB-B.js} +6 -6
  134. package/dist/{vue-ui-tiremarks-vdPQYiDp.js → vue-ui-tiremarks-CU9HJIqf.js} +84 -77
  135. package/dist/vue-ui-tiremarks-Cn79uQH2.cjs +1 -0
  136. package/dist/vue-ui-treemap-BEMuKV7x.cjs +1 -0
  137. package/dist/{vue-ui-treemap-3FNUlKxL.js → vue-ui-treemap-DY-lRAhC.js} +211 -202
  138. package/dist/vue-ui-vertical-bar-B1e2RxTv.cjs +4 -0
  139. package/dist/{vue-ui-vertical-bar-DwxpB46q.js → vue-ui-vertical-bar-CtnIKsM1.js} +359 -350
  140. package/dist/vue-ui-waffle-BqP7Okgu.cjs +1 -0
  141. package/dist/{vue-ui-waffle-XecHJIc-.js → vue-ui-waffle-reOsx-gJ.js} +177 -168
  142. package/dist/vue-ui-wheel-BuWUGnkC.cjs +1 -0
  143. package/dist/{vue-ui-wheel-Bbih5sSL.js → vue-ui-wheel-kYxny3vn.js} +95 -86
  144. package/dist/{vue-ui-word-cloud-DnhXUn5x.js → vue-ui-word-cloud-DbMqrHAf.js} +192 -183
  145. package/dist/vue-ui-word-cloud-DwLY4QdB.cjs +1 -0
  146. package/dist/vue-ui-xy-CGWzriYn.cjs +3 -0
  147. package/dist/{vue-ui-xy-canvas-C8c2X5fk.js → vue-ui-xy-canvas-B0HTR7OV.js} +255 -246
  148. package/dist/vue-ui-xy-canvas-CgJd5FiT.cjs +9 -0
  149. package/dist/{vue-ui-xy-CqlRuFMc.js → vue-ui-xy-rbACig0h.js} +131 -122
  150. package/package.json +1 -1
  151. package/dist/index-FfZRtJ6A.cjs +0 -9
  152. package/dist/useResponsive-B3TrDDIG.cjs +0 -1
  153. package/dist/useResponsive-NZB-WLRF.js +0 -187
  154. package/dist/vue-ui-age-pyramid-BZcAwcVQ.cjs +0 -1
  155. package/dist/vue-ui-bullet-ChaEgXvR.cjs +0 -23
  156. package/dist/vue-ui-candlestick--hPCfMFH.cjs +0 -2
  157. package/dist/vue-ui-carousel-table-DpRQklDZ.cjs +0 -1
  158. package/dist/vue-ui-chestnut-ae6x87wl.cjs +0 -6
  159. package/dist/vue-ui-donut-CplNylps.cjs +0 -1
  160. package/dist/vue-ui-donut-evolution-CQpr-6IS.cjs +0 -1
  161. package/dist/vue-ui-dumbbell-_ijaYr8W.cjs +0 -9
  162. package/dist/vue-ui-flow-BPt35d5K.cjs +0 -1
  163. package/dist/vue-ui-galaxy-e06PkTmp.cjs +0 -1
  164. package/dist/vue-ui-gauge-DiZVIU0D.cjs +0 -1
  165. package/dist/vue-ui-heatmap-CbZcv_2I.cjs +0 -1
  166. package/dist/vue-ui-molecule-CbKMLrDT.cjs +0 -1
  167. package/dist/vue-ui-mood-radar-6LmFXuiw.cjs +0 -1
  168. package/dist/vue-ui-nested-donuts-DS0fjiLi.cjs +0 -17
  169. package/dist/vue-ui-onion-CLvvu4Ku.cjs +0 -5
  170. package/dist/vue-ui-parallel-coordinate-plot-BWg8OFqH.cjs +0 -8
  171. package/dist/vue-ui-quadrant-OM5J1mG3.cjs +0 -1
  172. package/dist/vue-ui-radar-CAaHjDO7.cjs +0 -1
  173. package/dist/vue-ui-relation-circle-BoGAFXuS.cjs +0 -1
  174. package/dist/vue-ui-rings-B9WQ7S5m.cjs +0 -2
  175. package/dist/vue-ui-scatter-BZfg1YIN.cjs +0 -1
  176. package/dist/vue-ui-skeleton-Djv08J67.cjs +0 -41
  177. package/dist/vue-ui-spark-trend-BqrPr63O.cjs +0 -1
  178. package/dist/vue-ui-sparkbar-CrTEPTU5.cjs +0 -1
  179. package/dist/vue-ui-sparkgauge-BYxpe_WV.cjs +0 -1
  180. package/dist/vue-ui-sparkhistogram-D21XDUH2.cjs +0 -1
  181. package/dist/vue-ui-sparkline-Cf4m-Fxo.cjs +0 -1
  182. package/dist/vue-ui-sparkstackbar-dAS8XoJs.cjs +0 -1
  183. package/dist/vue-ui-strip-plot-D53LABpZ.cjs +0 -1
  184. package/dist/vue-ui-table-heatmap-EqHt-O7Y.cjs +0 -1
  185. package/dist/vue-ui-table-sparkline-DONmVOMh.cjs +0 -1
  186. package/dist/vue-ui-thermometer-hQBkMa7u.cjs +0 -1
  187. package/dist/vue-ui-tiremarks-hdNqoGyd.cjs +0 -1
  188. package/dist/vue-ui-treemap-Cv0TSFQa.cjs +0 -1
  189. package/dist/vue-ui-vertical-bar-C--Ma0Dw.cjs +0 -4
  190. package/dist/vue-ui-waffle-CKM0QyJN.cjs +0 -1
  191. package/dist/vue-ui-wheel-C0dJrzOJ.cjs +0 -1
  192. package/dist/vue-ui-word-cloud-Cfd2wxsT.cjs +0 -1
  193. package/dist/vue-ui-xy-BDpqVzAq.cjs +0 -3
  194. package/dist/vue-ui-xy-canvas-Cansjd3L.cjs +0 -9
@@ -1,21 +1,21 @@
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 = {
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
16
  key: 4,
17
17
  class: "vue-data-ui-watermark"
18
- }, Gt = ["innerHTML"], Xt = {
18
+ }, Xt = ["innerHTML"], jt = {
19
19
  __name: "vue-ui-candlestick",
20
20
  props: {
21
21
  config: {
@@ -31,26 +31,26 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
31
31
  }
32
32
  }
33
33
  },
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(),
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(),
37
37
  set: (t) => t
38
38
  });
39
- function oe() {
40
- const t = $e({
39
+ function ae() {
40
+ const t = Ce({
41
41
  userConfig: k.config,
42
- defaultConfig: _e
42
+ defaultConfig: Ne
43
43
  });
44
44
  return t.theme ? {
45
- ...$e({
46
- userConfig: Xe.vue_ui_candlestick[t.theme] || k.config,
45
+ ...Ce({
46
+ userConfig: je.vue_ui_candlestick[t.theme] || k.config,
47
47
  defaultConfig: t
48
48
  })
49
49
  } : t;
50
50
  }
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) => {
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
54
  c.value.start = 0, c.value.end = t.length, O.value += 1;
55
55
  }, { deep: !0 });
56
56
  const d = v({
@@ -59,28 +59,29 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
59
59
  xAxisFontSize: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
60
60
  yAxisFontSize: e.value.style.layout.grid.yAxis.dataLabels.fontSize
61
61
  }), P = v(null);
62
- Be(() => {
63
- ae();
62
+ Me(() => {
63
+ se();
64
64
  });
65
- function ae() {
66
- if (je(k.dataset) && N({
65
+ function se() {
66
+ if (He(k.dataset) && N({
67
67
  componentName: "VueUiCandlestick",
68
68
  type: "dataset"
69
69
  }), e.value.responsive) {
70
- const t = tt(() => {
71
- const { width: a, height: l } = lt({
70
+ const t = lt(() => {
71
+ const { width: a, height: l } = ot({
72
72
  chart: S.value,
73
73
  title: e.value.style.title.text ? Q.value : null,
74
74
  slicer: ee.value,
75
- legend: Z.value
75
+ legend: Z.value,
76
+ source: te.value
76
77
  });
77
- d.value.width = a, d.value.height = l, d.value.xAxisFontSize = we({
78
+ d.value.width = a, d.value.height = l, d.value.xAxisFontSize = $e({
78
79
  relator: Math.min(a, l),
79
80
  adjuster: e.value.style.width,
80
81
  source: e.value.style.layout.grid.xAxis.dataLabels.fontSize,
81
82
  threshold: 6,
82
83
  fallback: 6
83
- }), d.value.yAxisFontSize = we({
84
+ }), d.value.yAxisFontSize = $e({
84
85
  relator: Math.min(a, l),
85
86
  adjuster: e.value.style.width,
86
87
  source: e.value.style.layout.grid.yAxis.dataLabels.fontSize,
@@ -91,16 +92,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
91
92
  P.value = new ResizeObserver(t), P.value.observe(S.value.parentNode);
92
93
  }
93
94
  }
94
- Me(() => {
95
+ Ue(() => {
95
96
  P.value && P.value.disconnect();
96
97
  });
97
- const { isPrinting: se, isImaging: ue, generatePdf: ie, generateImage: ne } = at({
98
+ const { isPrinting: ue, isImaging: ie, generatePdf: ne, generateImage: re } = st({
98
99
  elementId: `vue-ui-candlestick_${x.value}`,
99
100
  fileName: e.value.style.title.text || "vue-ui-candlestick"
100
101
  }), w = v({
101
102
  showTable: e.value.table.show,
102
103
  showTooltip: e.value.style.tooltip.show
103
- }), i = h(() => {
104
+ }), i = p(() => {
104
105
  const { top: t, right: a, bottom: l, left: o } = e.value.style.layout.padding;
105
106
  return {
106
107
  top: t,
@@ -110,10 +111,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
110
111
  width: d.value.width - o - a,
111
112
  height: d.value.height - t - l
112
113
  };
113
- }), H = h(() => k.dataset.length), c = v({
114
+ }), H = p(() => k.dataset.length), c = v({
114
115
  start: 0,
115
116
  end: H.value
116
- }), re = h(() => k.dataset.slice(c.value.start, c.value.end)), Y = h(() => (k.dataset.forEach((t, a) => {
117
+ }), ve = p(() => k.dataset.slice(c.value.start, c.value.end)), Y = p(() => (k.dataset.forEach((t, a) => {
117
118
  [null, void 0].includes(t[0]) && N({
118
119
  componentName: "VueUiCandlestick",
119
120
  type: "datasetAttribute",
@@ -145,17 +146,17 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
145
146
  property: "volume (index 5)",
146
147
  index: a
147
148
  });
148
- }), re.value.map((t) => ({
149
+ }), ve.value.map((t) => ({
149
150
  period: t[0],
150
151
  open: t[1],
151
152
  high: t[2],
152
153
  low: t[3],
153
154
  last: t[4],
154
155
  volume: t[5]
155
- })))), r = h(() => i.value.width / re.value.length), ve = h(() => ({
156
+ })))), r = p(() => i.value.width / ve.value.length), de = p(() => ({
156
157
  max: Math.max(...Y.value.map((t) => t.high)),
157
158
  min: 0
158
- })), C = h(() => He(ve.value.min, ve.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
159
+ })), C = p(() => Ye(de.value.min, de.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
159
160
  function B(t, a) {
160
161
  return {
161
162
  ...t,
@@ -164,7 +165,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
164
165
  value: I(t)
165
166
  };
166
167
  }
167
- const b = h(() => Y.value.map((t, a) => {
168
+ const b = p(() => Y.value.map((t, a) => {
168
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;
169
170
  return {
170
171
  period: t.period,
@@ -176,14 +177,14 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
176
177
  isBullish: D
177
178
  };
178
179
  }));
179
- function Se(t) {
180
+ function Ae(t) {
180
181
  return I(t / C.value.max);
181
182
  }
182
- const Ae = h(() => C.value.ticks.map((t) => ({
183
- y: i.value.bottom - i.value.height * Se(t),
183
+ const ze = p(() => C.value.ticks.map((t) => ({
184
+ y: i.value.bottom - i.value.height * Ae(t),
184
185
  value: I(t)
185
- }))), ze = h(() => Y.value.map((t) => t.period)), q = v(null);
186
- function Te(t, a) {
186
+ }))), Te = p(() => Y.value.map((t) => t.period)), q = v(null);
187
+ function Fe(t, a) {
187
188
  j.value = t, q.value = {
188
189
  datapoint: a,
189
190
  seriesIndex: t,
@@ -191,7 +192,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
191
192
  config: e.value
192
193
  };
193
194
  const l = e.value.style.tooltip.customFormat;
194
- if (Ke(l) && Qe(() => l({
195
+ if (Qe(l) && Ze(() => l({
195
196
  seriesIndex: t,
196
197
  datapoint: a,
197
198
  series: b.value,
@@ -205,20 +206,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
205
206
  });
206
207
  else if (e.value.style.tooltip.show) {
207
208
  let o = "";
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;
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;
209
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}"
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>`;
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>`;
211
212
  }
212
213
  G.value = !0;
213
214
  }
214
- function Fe() {
215
+ function Le() {
215
216
  c.value = {
216
217
  start: 0,
217
218
  end: H.value
218
219
  }, O.value += 1;
219
220
  }
220
- function de() {
221
- De(() => {
221
+ function ye() {
222
+ We(() => {
222
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) => [
223
224
  m.period,
224
225
  m.open.value,
@@ -226,11 +227,11 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
226
227
  m.low.value,
227
228
  m.last.value,
228
229
  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
+ ]), 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" });
231
232
  });
232
233
  }
233
- const M = h(() => {
234
+ const M = p(() => {
234
235
  const t = b.value.map((o) => [
235
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}`,
236
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}`,
@@ -260,34 +261,34 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
260
261
  ];
261
262
  return { head: l, body: t, config: a, colNames: l };
262
263
  }), R = v(!1);
263
- function Le(t) {
264
+ function Re(t) {
264
265
  R.value = t, K.value += 1;
265
266
  }
266
- function ye() {
267
+ function ce() {
267
268
  w.value.showTable = !w.value.showTable;
268
269
  }
269
- function ce() {
270
+ function he() {
270
271
  w.value.showTooltip = !w.value.showTooltip;
271
272
  }
272
273
  const U = v(!1);
273
274
  function J() {
274
275
  U.value = !U.value;
275
276
  }
276
- return Ce({
277
- generatePdf: ie,
278
- generateCsv: de,
279
- generateImage: ne,
280
- toggleTable: ye,
281
- toggleTooltip: ce,
277
+ return _e({
278
+ generatePdf: ne,
279
+ generateCsv: ye,
280
+ generateImage: re,
281
+ toggleTable: ce,
282
+ toggleTooltip: he,
282
283
  toggleAnnotator: J
283
284
  }), (t, a) => (s(), u("div", {
284
285
  ref_key: "candlestickChart",
285
286
  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%" : ""}`),
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%" : ""}`),
288
289
  id: `vue-ui-candlestick_${x.value}`
289
290
  }, [
290
- e.value.userOptions.buttons.annotator ? (s(), _(yt, {
291
+ e.value.userOptions.buttons.annotator ? (s(), _(ct, {
291
292
  key: 0,
292
293
  parent: S.value,
293
294
  backgroundColor: e.value.style.backgroundColor,
@@ -301,8 +302,8 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
301
302
  ref: Q,
302
303
  style: "width:100%;background:transparent"
303
304
  }, [
304
- (s(), _(ot, {
305
- key: `title_${le.value}`,
305
+ (s(), _(at, {
306
+ key: `title_${oe.value}`,
306
307
  config: {
307
308
  title: {
308
309
  cy: "candlestick-div-title",
@@ -315,14 +316,14 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
315
316
  }
316
317
  }, null, 8, ["config"]))
317
318
  ], 512)) : y("", !0),
318
- e.value.userOptions.show && L.value ? (s(), _(st, {
319
+ e.value.userOptions.show && L.value ? (s(), _(ut, {
319
320
  ref_key: "details",
320
- ref: Ne,
321
+ ref: Se,
321
322
  key: `user_options_${K.value}`,
322
323
  backgroundColor: e.value.style.backgroundColor,
323
324
  color: e.value.style.color,
324
- isImaging: p(ue),
325
- isPrinting: p(se),
325
+ isImaging: f(ie),
326
+ isPrinting: f(ue),
326
327
  uid: x.value,
327
328
  hasTooltip: e.value.userOptions.buttons.tooltip && e.value.style.tooltip.show,
328
329
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -337,73 +338,73 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
337
338
  position: e.value.userOptions.position,
338
339
  hasAnnotator: e.value.userOptions.buttons.annotator,
339
340
  isAnnotation: U.value,
340
- onToggleFullscreen: Le,
341
- onGeneratePdf: p(ie),
342
- onGenerateCsv: de,
343
- onGenerateImage: p(ne),
344
- onToggleTable: ye,
345
- onToggleTooltip: ce,
341
+ onToggleFullscreen: Re,
342
+ onGeneratePdf: f(ne),
343
+ onGenerateCsv: ye,
344
+ onGenerateImage: f(re),
345
+ onToggleTable: ce,
346
+ onToggleTooltip: he,
346
347
  onToggleAnnotator: J
347
- }, Ue({ _: 2 }, [
348
+ }, Ee({ _: 2 }, [
348
349
  t.$slots.optionTooltip ? {
349
350
  name: "optionTooltip",
350
- fn: f(() => [
351
- g(t.$slots, "optionTooltip", {}, void 0, !0)
351
+ fn: g(() => [
352
+ h(t.$slots, "optionTooltip", {}, void 0, !0)
352
353
  ]),
353
354
  key: "0"
354
355
  } : void 0,
355
356
  t.$slots.optionPdf ? {
356
357
  name: "optionPdf",
357
- fn: f(() => [
358
- g(t.$slots, "optionPdf", {}, void 0, !0)
358
+ fn: g(() => [
359
+ h(t.$slots, "optionPdf", {}, void 0, !0)
359
360
  ]),
360
361
  key: "1"
361
362
  } : void 0,
362
363
  t.$slots.optionCsv ? {
363
364
  name: "optionCsv",
364
- fn: f(() => [
365
- g(t.$slots, "optionCsv", {}, void 0, !0)
365
+ fn: g(() => [
366
+ h(t.$slots, "optionCsv", {}, void 0, !0)
366
367
  ]),
367
368
  key: "2"
368
369
  } : void 0,
369
370
  t.$slots.optionImg ? {
370
371
  name: "optionImg",
371
- fn: f(() => [
372
- g(t.$slots, "optionImg", {}, void 0, !0)
372
+ fn: g(() => [
373
+ h(t.$slots, "optionImg", {}, void 0, !0)
373
374
  ]),
374
375
  key: "3"
375
376
  } : void 0,
376
377
  t.$slots.optionTable ? {
377
378
  name: "optionTable",
378
- fn: f(() => [
379
- g(t.$slots, "optionTable", {}, void 0, !0)
379
+ fn: g(() => [
380
+ h(t.$slots, "optionTable", {}, void 0, !0)
380
381
  ]),
381
382
  key: "4"
382
383
  } : void 0,
383
384
  t.$slots.optionFullscreen ? {
384
385
  name: "optionFullscreen",
385
- fn: f(({ toggleFullscreen: l, isFullscreen: o }) => [
386
- g(t.$slots, "optionFullscreen", A(z({ 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)
387
388
  ]),
388
389
  key: "5"
389
390
  } : void 0,
390
391
  t.$slots.optionAnnotator ? {
391
392
  name: "optionAnnotator",
392
- fn: f(({ toggleAnnotator: l, isAnnotator: o }) => [
393
- g(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
393
+ fn: g(({ toggleAnnotator: l, isAnnotator: o }) => [
394
+ h(t.$slots, "optionAnnotator", A(z({ toggleAnnotator: l, isAnnotator: o })), void 0, !0)
394
395
  ]),
395
396
  key: "6"
396
397
  } : void 0
397
398
  ]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "isTooltip", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "onGeneratePdf", "onGenerateImage"])) : y("", !0),
398
399
  L.value ? (s(), u("svg", {
399
400
  key: 3,
400
- xmlns: p(Ye),
401
- class: me({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
401
+ xmlns: f(qe),
402
+ class: xe({ "vue-data-ui-fullscreen--on": R.value, "vue-data-ui-fulscreen--off": !R.value }),
402
403
  viewBox: `0 0 ${d.value.width <= 0 ? 10 : d.value.width} ${d.value.height <= 0 ? 10 : d.value.height}`,
403
- style: xe(`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}`)
404
405
  }, [
405
- ke(dt),
406
- b.value.length > 0 ? (s(), u("g", ft, [
406
+ we(yt),
407
+ b.value.length > 0 ? (s(), u("g", gt, [
407
408
  n("defs", null, [
408
409
  n("linearGradient", {
409
410
  id: `bearish_gradient_${x.value}`,
@@ -413,16 +414,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
413
414
  n("stop", {
414
415
  offset: "0%",
415
416
  "stop-color": e.value.style.layout.candle.colors.bearish
416
- }, null, 8, bt),
417
+ }, null, 8, mt),
417
418
  n("stop", {
418
419
  offset: "50%",
419
- "stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
420
- }, null, 8, mt),
420
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.02)}DE`
421
+ }, null, 8, xt),
421
422
  n("stop", {
422
423
  offset: "100%",
423
- "stop-color": `${p(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
424
- }, null, 8, xt)
425
- ], 8, gt),
424
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bearish, 0.05)}66`
425
+ }, null, 8, kt)
426
+ ], 8, bt),
426
427
  n("linearGradient", {
427
428
  id: `bullish_gradient_${x.value}`,
428
429
  x2: "0%",
@@ -431,18 +432,18 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
431
432
  n("stop", {
432
433
  offset: "0%",
433
434
  "stop-color": e.value.style.layout.candle.colors.bullish
434
- }, null, 8, wt),
435
+ }, null, 8, $t),
435
436
  n("stop", {
436
437
  offset: "50%",
437
- "stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
438
- }, null, 8, $t),
438
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.02)}DE`
439
+ }, null, 8, Ct),
439
440
  n("stop", {
440
441
  offset: "100%",
441
- "stop-color": `${p(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
442
- }, null, 8, Ct)
443
- ], 8, kt)
442
+ "stop-color": `${f(W)(e.value.style.layout.candle.colors.bullish, 0.05)}66`
443
+ }, null, 8, _t)
444
+ ], 8, wt)
444
445
  ]),
445
- e.value.style.layout.grid.show ? (s(), u("g", _t, [
446
+ e.value.style.layout.grid.show ? (s(), u("g", Nt, [
446
447
  n("line", {
447
448
  x1: i.value.left,
448
449
  x2: i.value.left,
@@ -451,7 +452,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
451
452
  stroke: e.value.style.layout.grid.stroke,
452
453
  "stroke-width": e.value.style.layout.grid.strokeWidth,
453
454
  "stroke-linecap": "round"
454
- }, null, 8, Nt),
455
+ }, null, 8, St),
455
456
  n("line", {
456
457
  x1: i.value.left,
457
458
  x2: i.value.right,
@@ -460,10 +461,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
460
461
  stroke: e.value.style.layout.grid.stroke,
461
462
  "stroke-width": e.value.style.layout.grid.strokeWidth,
462
463
  "stroke-linecap": "round"
463
- }, null, 8, St)
464
+ }, null, 8, At)
464
465
  ])) : 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, [
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, [
467
468
  l.value >= C.value.min && l.value <= C.value.max ? (s(), u("line", {
468
469
  key: 0,
469
470
  x1: i.value.left,
@@ -473,7 +474,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
473
474
  stroke: e.value.style.layout.grid.stroke,
474
475
  "stroke-width": e.value.style.layout.grid.strokeWidth,
475
476
  "stroke-linecap": "round"
476
- }, null, 8, zt)) : y("", !0),
477
+ }, null, 8, Tt)) : y("", !0),
477
478
  l.value >= C.value.min && l.value <= C.value.max ? (s(), u("text", {
478
479
  key: 1,
479
480
  x: i.value.left - 8 + e.value.style.layout.grid.yAxis.dataLabels.offsetX,
@@ -482,18 +483,18 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
482
483
  "text-anchor": "end",
483
484
  fill: e.value.style.layout.grid.yAxis.dataLabels.color,
484
485
  "font-weight": e.value.style.layout.grid.yAxis.dataLabels.bold ? "bold" : "normal"
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)
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)
486
487
  ]))), 256))
487
488
  ])) : 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, [
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, [
490
491
  n("text", {
491
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})`,
492
493
  "text-anchor": e.value.style.layout.grid.xAxis.dataLabels.rotation > 0 ? "start" : e.value.style.layout.grid.xAxis.dataLabels.rotation < 0 ? "end" : "middle",
493
494
  "font-size": d.value.xAxisFontSize,
494
495
  fill: e.value.style.layout.grid.xAxis.dataLabels.color,
495
496
  "font-weight": e.value.style.layout.grid.xAxis.dataLabels.bold ? "bold" : "normal"
496
- }, V(l), 9, Lt)
497
+ }, V(l), 9, Rt)
497
498
  ]))), 256))
498
499
  ])) : y("", !0),
499
500
  n("g", null, [
@@ -506,22 +507,22 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
506
507
  stroke: e.value.style.layout.wick.stroke,
507
508
  "stroke-width": e.value.style.layout.wick.strokeWidth,
508
509
  "stroke-linecap": "round"
509
- }, null, 8, Rt),
510
- e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", Vt, [
510
+ }, null, 8, Vt),
511
+ e.value.style.layout.wick.extremity.shape === "circle" ? (s(), u("g", It, [
511
512
  n("circle", {
512
513
  cx: l.high.x,
513
514
  cy: l.high.y,
514
515
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
515
516
  fill: e.value.style.layout.wick.extremity.color
516
- }, null, 8, It),
517
+ }, null, 8, Ot),
517
518
  n("circle", {
518
519
  cx: l.low.x,
519
520
  cy: l.low.y,
520
521
  r: e.value.style.layout.wick.extremity.size === "auto" ? r.value / 20 : e.value.style.layout.wick.extremity.size,
521
522
  fill: e.value.style.layout.wick.extremity.color
522
- }, null, 8, Ot)
523
+ }, null, 8, Pt)
523
524
  ])) : y("", !0),
524
- e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Pt, [
525
+ e.value.style.layout.wick.extremity.shape === "line" ? (s(), u("g", Bt, [
525
526
  n("line", {
526
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,
527
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,
@@ -530,7 +531,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
530
531
  stroke: e.value.style.layout.wick.extremity.color,
531
532
  "stroke-width": e.value.style.layout.wick.strokeWidth,
532
533
  "stroke-linecap": "round"
533
- }, null, 8, Bt),
534
+ }, null, 8, Mt),
534
535
  n("line", {
535
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,
536
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,
@@ -539,7 +540,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
539
540
  stroke: e.value.style.layout.wick.extremity.color,
540
541
  "stroke-width": e.value.style.layout.wick.strokeWidth,
541
542
  "stroke-linecap": "round"
542
- }, null, 8, Mt)
543
+ }, null, 8, Ut)
543
544
  ])) : y("", !0)
544
545
  ]))), 256))
545
546
  ]),
@@ -552,7 +553,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
552
553
  fill: e.value.style.layout.candle.gradient.underlayer,
553
554
  rx: e.value.style.layout.candle.borderRadius,
554
555
  stroke: "none"
555
- }, null, 8, Ut))), 256)),
556
+ }, null, 8, Et))), 256)),
556
557
  (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
557
558
  x: l.open.x - r.value / 2 + r.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
558
559
  y: l.isBullish ? l.last.y : l.open.y,
@@ -564,7 +565,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
564
565
  "stroke-width": e.value.style.layout.candle.strokeWidth,
565
566
  "stroke-linecap": "round",
566
567
  "stroke-linejoin": "round"
567
- }, null, 8, Et))), 256))
568
+ }, null, 8, Dt))), 256))
568
569
  ]),
569
570
  n("g", null, [
570
571
  (s(!0), u(T, null, F(b.value, (l, o) => (s(), u("rect", {
@@ -572,20 +573,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
572
573
  y: i.value.top,
573
574
  height: i.value.height <= 0 ? 1e-4 : i.value.height,
574
575
  width: r.value <= 0 ? 1e-4 : r.value,
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),
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),
577
578
  onMouseleave: a[0] || (a[0] = (m) => {
578
579
  j.value = void 0, G.value = !1;
579
580
  })
580
- }, null, 40, Dt))), 256))
581
+ }, null, 40, Wt))), 256))
581
582
  ])
582
583
  ])) : 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)
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)
587
588
  ])) : y("", !0),
588
- L.value ? y("", !0) : (s(), _(nt, {
589
+ L.value ? y("", !0) : (s(), _(rt, {
589
590
  key: 5,
590
591
  config: {
591
592
  type: "candlesticks",
@@ -607,7 +608,7 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
607
608
  ref_key: "chartSlicer",
608
609
  ref: ee
609
610
  }, [
610
- (s(), _(rt, {
611
+ (s(), _(vt, {
611
612
  key: `slicer_${O.value}`,
612
613
  background: e.value.style.zoom.color,
613
614
  borderColor: e.value.style.backgroundColor,
@@ -626,10 +627,10 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
626
627
  "onUpdate:start": a[1] || (a[1] = (l) => c.value.start = l),
627
628
  end: c.value.end,
628
629
  "onUpdate:end": a[2] || (a[2] = (l) => c.value.end = l),
629
- onReset: Fe
630
+ onReset: Le
630
631
  }, {
631
- "reset-action": f(({ reset: l }) => [
632
- g(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
632
+ "reset-action": g(({ reset: l }) => [
633
+ h(t.$slots, "reset-action", A(z({ reset: l })), void 0, !0)
633
634
  ]),
634
635
  _: 3
635
636
  }, 8, ["background", "borderColor", "fontSize", "useResetSlot", "labelLeft", "labelRight", "textColor", "inputColor", "selectColor", "max", "valueStart", "valueEnd", "start", "end"]))
@@ -638,9 +639,17 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
638
639
  ref_key: "chartLegend",
639
640
  ref: Z
640
641
  }, [
641
- g(t.$slots, "legend", { legend: b.value }, void 0, !0)
642
+ h(t.$slots, "legend", { legend: b.value }, void 0, !0)
642
643
  ], 512),
643
- ke(ut, {
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, {
644
653
  show: w.value.showTooltip && G.value,
645
654
  backgroundColor: e.value.style.tooltip.backgroundColor,
646
655
  color: e.value.style.tooltip.color,
@@ -655,16 +664,16 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
655
664
  content: X.value,
656
665
  isCustom: e.value.style.tooltip.customFormat && typeof e.value.style.tooltip.customFormat == "function"
657
666
  }, {
658
- "tooltip-before": f(() => [
659
- g(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
667
+ "tooltip-before": g(() => [
668
+ h(t.$slots, "tooltip-before", A(z({ ...q.value })), void 0, !0)
660
669
  ]),
661
- "tooltip-after": f(() => [
662
- g(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
670
+ "tooltip-after": g(() => [
671
+ h(t.$slots, "tooltip-after", A(z({ ...q.value })), void 0, !0)
663
672
  ]),
664
673
  _: 3
665
674
  }, 8, ["show", "backgroundColor", "color", "borderRadius", "borderColor", "borderWidth", "fontSize", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom"]),
666
- L.value ? (s(), _(vt, {
667
- key: 7,
675
+ L.value ? (s(), _(dt, {
676
+ key: 8,
668
677
  hideDetails: "",
669
678
  config: {
670
679
  open: w.value.showTable,
@@ -679,9 +688,9 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
679
688
  }
680
689
  }
681
690
  }, {
682
- content: f(() => [
683
- (s(), _(it, {
684
- key: `table_${te.value}`,
691
+ content: g(() => [
692
+ (s(), _(nt, {
693
+ key: `table_${le.value}`,
685
694
  colNames: M.value.colNames,
686
695
  head: M.value.head,
687
696
  body: M.value.body,
@@ -689,20 +698,20 @@ const ht = ["id"], pt = ["xmlns", "viewBox"], ft = { key: 0 }, gt = ["id"], bt =
689
698
  title: `${e.value.style.title.text}${e.value.style.title.subtitle.text ? ` : ${e.value.style.title.subtitle.text}` : ""}`,
690
699
  onClose: a[3] || (a[3] = (l) => w.value.showTable = !1)
691
700
  }, {
692
- th: f(({ th: l }) => [
693
- Ee(V(l), 1)
701
+ th: g(({ th: l }) => [
702
+ De(V(l), 1)
694
703
  ]),
695
- td: f(({ td: l }) => [
696
- n("div", { innerHTML: l }, null, 8, Gt)
704
+ td: g(({ td: l }) => [
705
+ n("div", { innerHTML: l }, null, 8, Xt)
697
706
  ]),
698
707
  _: 1
699
708
  }, 8, ["colNames", "head", "body", "config", "title"]))
700
709
  ]),
701
710
  _: 1
702
711
  }, 8, ["config"])) : y("", !0)
703
- ], 14, ht));
712
+ ], 14, pt));
704
713
  }
705
- }, il = /* @__PURE__ */ ct(Xt, [["__scopeId", "data-v-3c46f286"]]);
714
+ }, nl = /* @__PURE__ */ ht(jt, [["__scopeId", "data-v-0ff8d244"]]);
706
715
  export {
707
- il as default
716
+ nl as default
708
717
  };