vue-data-ui 3.17.3 → 3.17.5

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 (261) hide show
  1. package/README.md +228 -228
  2. package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
  3. package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
  4. package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
  5. package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
  6. package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
  7. package/dist/{BaseScanner-BhhkKVoj.js → BaseScanner-C2j3TsSY.js} +15 -9
  8. package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
  9. package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
  10. package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
  11. package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
  12. package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
  13. package/dist/{PackageVersion-DP_kfXUM.js → PackageVersion-BjeuEImy.js} +1 -1
  14. package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
  15. package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
  16. package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
  17. package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
  18. package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
  19. package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
  20. package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
  21. package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-history-plot.js +1 -1
  49. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  50. package/dist/components/vue-ui-icon.js +1 -1
  51. package/dist/components/vue-ui-kpi.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-pattern-seed.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/{dom-to-png-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
  93. package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
  94. package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
  95. package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
  96. package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
  97. package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
  98. package/dist/{patternUtils-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
  99. package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
  100. package/dist/style.css +1 -1
  101. package/dist/types/arrow.d.ts +1 -1
  102. package/dist/types/utils.d.ts +499 -498
  103. package/dist/types/vue-data-ui.d.ts +2115 -1787
  104. package/dist/types/vue-ui-3d-bar.d.ts +10 -7
  105. package/dist/types/vue-ui-accordion.d.ts +2 -4
  106. package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
  107. package/dist/types/vue-ui-annotator.d.ts +3 -3
  108. package/dist/types/vue-ui-bullet.d.ts +10 -7
  109. package/dist/types/vue-ui-bump.d.ts +9 -6
  110. package/dist/types/vue-ui-candlestick.d.ts +10 -7
  111. package/dist/types/vue-ui-carousel-table.d.ts +2 -2
  112. package/dist/types/vue-ui-chestnut.d.ts +9 -6
  113. package/dist/types/vue-ui-chord.d.ts +10 -7
  114. package/dist/types/vue-ui-circle-pack.d.ts +10 -7
  115. package/dist/types/vue-ui-cursor.d.ts +2 -2
  116. package/dist/types/vue-ui-dag.d.ts +10 -7
  117. package/dist/types/vue-ui-dashboard.d.ts +3 -3
  118. package/dist/types/vue-ui-digits.d.ts +2 -2
  119. package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
  120. package/dist/types/vue-ui-donut.d.ts +11 -8
  121. package/dist/types/vue-ui-dumbbell.d.ts +11 -8
  122. package/dist/types/vue-ui-flow.d.ts +11 -8
  123. package/dist/types/vue-ui-funnel.d.ts +11 -8
  124. package/dist/types/vue-ui-galaxy.d.ts +11 -8
  125. package/dist/types/vue-ui-gauge.d.ts +11 -8
  126. package/dist/types/vue-ui-geo.d.ts +13 -6
  127. package/dist/types/vue-ui-gizmo.d.ts +2 -5
  128. package/dist/types/vue-ui-heatmap.d.ts +11 -8
  129. package/dist/types/vue-ui-history-plot.d.ts +11 -8
  130. package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
  131. package/dist/types/vue-ui-icon.d.ts +2 -4
  132. package/dist/types/vue-ui-kpi.d.ts +2 -4
  133. package/dist/types/vue-ui-mini-loader.d.ts +4 -4
  134. package/dist/types/vue-ui-molecule.d.ts +11 -8
  135. package/dist/types/vue-ui-mood-radar.d.ts +11 -8
  136. package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
  137. package/dist/types/vue-ui-onion.d.ts +11 -8
  138. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
  139. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  140. package/dist/types/vue-ui-pattern.d.ts +2 -4
  141. package/dist/types/vue-ui-quadrant.d.ts +11 -8
  142. package/dist/types/vue-ui-quick-chart.d.ts +11 -8
  143. package/dist/types/vue-ui-radar.d.ts +11 -8
  144. package/dist/types/vue-ui-rating.d.ts +4 -4
  145. package/dist/types/vue-ui-relation-circle.d.ts +11 -8
  146. package/dist/types/vue-ui-ridgeline.d.ts +11 -8
  147. package/dist/types/vue-ui-rings.d.ts +11 -8
  148. package/dist/types/vue-ui-scatter.d.ts +11 -8
  149. package/dist/types/vue-ui-skeleton.d.ts +2 -4
  150. package/dist/types/vue-ui-smiley.d.ts +2 -5
  151. package/dist/types/vue-ui-spark-trend.d.ts +2 -4
  152. package/dist/types/vue-ui-sparkbar.d.ts +4 -4
  153. package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
  154. package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
  155. package/dist/types/vue-ui-sparkline.d.ts +4 -4
  156. package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
  157. package/dist/types/vue-ui-stackbar.d.ts +11 -8
  158. package/dist/types/vue-ui-stackline.d.ts +11 -8
  159. package/dist/types/vue-ui-strip-plot.d.ts +11 -8
  160. package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
  161. package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
  162. package/dist/types/vue-ui-table.d.ts +4 -4
  163. package/dist/types/vue-ui-thermometer.d.ts +11 -8
  164. package/dist/types/vue-ui-timer.d.ts +2 -4
  165. package/dist/types/vue-ui-tiremarks.d.ts +11 -8
  166. package/dist/types/vue-ui-treemap.d.ts +11 -8
  167. package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
  168. package/dist/types/vue-ui-waffle.d.ts +11 -8
  169. package/dist/types/vue-ui-wheel.d.ts +11 -8
  170. package/dist/types/vue-ui-word-cloud.d.ts +11 -8
  171. package/dist/types/vue-ui-world.d.ts +11 -8
  172. package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
  173. package/dist/types/vue-ui-xy.d.ts +9 -6
  174. package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
  175. package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
  176. package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
  177. package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
  178. package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
  179. package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
  180. package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
  181. package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
  182. package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
  183. package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
  184. package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
  185. package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
  186. package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
  187. package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
  188. package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
  189. package/dist/utils.js +4 -4
  190. package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-sUtQffE5.js} +138 -72
  191. package/dist/vue-data-ui.js +74 -74
  192. package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-D9T1Rz8K.js} +328 -101
  193. package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
  194. package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-vHYpqVeE.js} +180 -73
  195. package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
  196. package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-B-PfDV7g.js} +92 -35
  197. package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-CpQyyxzJ.js} +205 -102
  198. package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-B5wVhTFS.js} +285 -100
  199. package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BwrTmEUk.js} +66 -29
  200. package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-DpwRmult.js} +277 -88
  201. package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-Co8hJS-b.js} +226 -96
  202. package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-CF6Dgnfc.js} +196 -111
  203. package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-DH_wY_tf.js} +14 -7
  204. package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DNbCfrdq.js} +261 -99
  205. package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BCpIGFXu.js} +261 -94
  206. package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D6ndc1-Y.js} +6 -6
  207. package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-CHDVQ77G.js} +532 -157
  208. package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-BHGQCixS.js} +311 -92
  209. package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-Bmr188oI.js} +266 -93
  210. package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-Bk4XhCzv.js} +121 -48
  211. package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BrNSApwi.js} +91 -39
  212. package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-Q5iomgg7.js} +161 -69
  213. package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-BaWqd5eR.js} +95 -37
  214. package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-BvySgBl9.js} +113 -43
  215. package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-B9wHNMWI.js} +25 -12
  216. package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-CHmJrc5H.js} +316 -125
  217. package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-DlDV_-XR.js} +186 -73
  218. package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-DDj9N2Df.js} +151 -56
  219. package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CT4lahy2.js} +35 -14
  220. package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
  221. package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-BiixieE_.js} +226 -120
  222. package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DPBpYEDx.js} +166 -56
  223. package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-DegYxm8S.js} +196 -89
  224. package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-D4hRf3z7.js} +155 -74
  225. package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-DZ015lrs.js} +262 -84
  226. package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
  227. package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-BG8B3jz-.js} +240 -88
  228. package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BzNfX1Ry.js} +445 -150
  229. package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-Bjl5EavN.js} +186 -68
  230. package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
  231. package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-CK6hnanW.js} +119 -45
  232. package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ClC-DGEI.js} +349 -85
  233. package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-BtDpfeuS.js} +179 -81
  234. package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-CnUnzVb4.js} +282 -102
  235. package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-CWW9zQ2I.js} +161 -144
  236. package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
  237. package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-DMTsPJrB.js} +76 -31
  238. package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-CNRgbyb6.js} +113 -59
  239. package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-DXOELREA.js} +47 -18
  240. package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-B83Tb5ee.js} +145 -60
  241. package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-PLYMeA9O.js} +226 -68
  242. package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-C-UNOmDZ.js} +84 -36
  243. package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-CcVtuQTN.js} +482 -169
  244. package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-C6c2nPQM.js} +473 -164
  245. package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-iwjHwBgZ.js} +239 -132
  246. package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-CfhBUYL5.js} +339 -122
  247. package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
  248. package/dist/{vue-ui-table-sparkline-DHPemUVJ.js → vue-ui-table-sparkline-BZb8f2RN.js} +127 -47
  249. package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-CR4tSQWQ.js} +129 -48
  250. package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-DubcPvRK.js} +32 -15
  251. package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-CFnJT7Pn.js} +90 -35
  252. package/dist/vue-ui-treemap--bugssUn.js +1748 -0
  253. package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-K9ojC2iZ.js} +206 -87
  254. package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-TgOkrNNt.js} +231 -61
  255. package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-B77SnVWg.js} +443 -350
  256. package/dist/vue-ui-world-Y0yBodxT.js +14451 -0
  257. package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cs4_NqXo.js} +840 -252
  258. package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BeHqxTFy.js} +448 -159
  259. package/package.json +120 -119
  260. package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
  261. package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
@@ -1,21 +1,21 @@
1
1
  import { defineAsyncComponent as j, computed as y, ref as v, toRefs as jl, watch as me, shallowRef as Dt, onMounted as Gl, onBeforeUnmount as qe, watchEffect as Ae, nextTick as je, openBlock as i, createElementBlock as n, normalizeStyle as ae, normalizeClass as X, createElementVNode as m, toDisplayString as oe, createBlock as G, createCommentVNode as p, unref as h, withCtx as k, renderSlot as b, normalizeProps as _, guardReactiveProps as S, createSlots as Bt, createVNode as Ge, Fragment as M, renderList as B, mergeProps as Nt, resolveDynamicComponent as Kl, createTextVNode as Et } from "vue";
2
- import { j as Yl, t as Vt, o as Wt, q as Z, D as Jl, K, I as Ql, l as R, X as Zl, v as $e, u as ea, a0 as ta, a1 as la, T as aa, U as oa, a2 as Ut } from "./lib-DBptbyyI.js";
2
+ import { j as Yl, t as Vt, o as Wt, q as Z, D as Jl, K, I as Ql, l as R, X as Zl, v as $e, u as ea, a0 as ta, a1 as la, T as aa, U as oa, a2 as Ut } from "./lib-DMzrGQHK.js";
3
3
  import { t as Ht, u as sa } from "./useResponsive-DfdjqQps.js";
4
- import { u as ua } from "./useConfig-C40HvGpD.js";
5
- import { u as Xt, a as qt, b as ia } from "./useTimeLabels-C-A2uZKi.js";
6
- import { u as na } from "./usePrinter-CEpYU3r5.js";
7
- import { u as ra, B as va } from "./BaseScanner-BhhkKVoj.js";
8
- import { u as da } from "./useSvgExport-ByUukOZt.js";
9
- import { u as Ke } from "./useNestedProp-Bf5XFbs8.js";
10
- import { u as ca } from "./useThemeCheck-D1ZYXUwG.js";
11
- import { u as ya } from "./useUserOptionState-BIvW1Kz7.js";
12
- import { u as ha } from "./useChartAccessibility-9icAAmYg.js";
13
- import { u as ma } from "./useTimeLabelCollider-CIsgDrl9.js";
14
- import pa from "./img-LXxMLmCg.js";
15
- import fa from "./Title-BeMKE1cj.js";
4
+ import { u as ua } from "./useConfig-DTHxOX6V.js";
5
+ import { u as Xt, a as qt, b as ia } from "./useTimeLabels-Cv0tD9In.js";
6
+ import { u as na } from "./usePrinter-C4t8DdQ-.js";
7
+ import { u as ra, B as va } from "./BaseScanner-C2j3TsSY.js";
8
+ import { u as da } from "./useSvgExport-BTG4hVPO.js";
9
+ import { u as Ke } from "./useNestedProp-DH0BEVVS.js";
10
+ import { u as ca } from "./useThemeCheck-C9Ccl7U9.js";
11
+ import { u as ya } from "./useUserOptionState-B7Ej974k.js";
12
+ import { u as ha } from "./useChartAccessibility-cp6XQtqi.js";
13
+ import { u as ma } from "./useTimeLabelCollider-D3JeJ6Ye.js";
14
+ import pa from "./img-CjTQXS0U.js";
15
+ import fa from "./Title-BbKoiBk2.js";
16
16
  import ga from "./vue_ui_candlestick-BAMn-VGw.js";
17
- import { A as ba } from "./A11yDataTable-KcVAX2cP.js";
18
- import { S as xa } from "./SlicerPreview-BMx3cqgX.js";
17
+ import { A as ba } from "./A11yDataTable-BpmuNomI.js";
18
+ import { S as xa } from "./SlicerPreview-D_CgrN_7.js";
19
19
  import { _ as ka } from "./_plugin-vue_export-helper-CHgC5LLL.js";
20
20
  const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = ["xmlns", "aria-describedby", "viewBox"], _a = ["x", "y", "width", "height"], Sa = { key: 1 }, za = ["id"], La = ["stop-color"], Ta = ["stop-color"], Ia = ["stop-color"], Fa = ["id"], Ma = ["stop-color"], Ra = ["stop-color"], Pa = ["stop-color"], Oa = { key: 0 }, Da = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ba = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Na = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Ea = ["x1", "x2", "y1", "y2", "stroke", "stroke-width", "stroke-dasharray"], Va = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wa = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ua = ["x", "y", "font-size", "fill", "font-weight"], Ha = ["transform", "text-anchor", "font-size", "fill", "font-weight"], Xa = ["transform", "text-anchor", "font-size", "fill", "font-weight"], qa = ["x", "y", "width", "height", "fill", "rx"], ja = { key: 0 }, Ga = ["cx", "cy", "r", "fill"], Ka = ["cx", "cy", "r", "fill"], Ya = { key: 1 }, Ja = ["x", "y", "width", "height", "rx", "fill"], Qa = ["x", "y", "width", "height", "fill", "rx"], Za = ["x", "y", "height", "width", "fill", "rx"], eo = ["x", "y", "height", "width", "fill", "rx", "stroke", "stroke-width"], to = ["d", "stroke"], lo = ["x", "y", "height", "width", "fill", "onMouseover", "onMouseleave", "onClick"], ao = ["data-start", "data-end"], oo = {
21
21
  key: 0,
@@ -47,7 +47,17 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
47
47
  },
48
48
  emits: ["selectX", "copyAlt"],
49
49
  setup(jt, { expose: Gt, emit: Kt }) {
50
- const Yt = j(() => import("./BaseIcon-Cb3zzG6s.js")), Jt = j(() => import("./Tooltip-C8KGyqQk.js")), Qt = j(() => import("./vue-ui-accordion-DDuJT1xA.js")), Zt = j(() => import("./DataTable-DT2kIdQ6.js")), el = j(() => import("./PenAndPaper-Ct3qJ4lA.js")), tl = j(() => import("./UserOptions-rW2fRf3V.js")), ll = j(() => import("./PackageVersion-DP_kfXUM.js")), al = j(() => import("./BaseDraggableDialog-CIb-iD9g.js")), { vue_ui_candlestick: ol } = ua(), { isThemeValid: sl, warnInvalidTheme: ul } = ca(), I = jt, _e = Kt, Se = y(() => !!I.dataset && I.dataset.length), V = v(!1), ze = v(null), z = v(Yl()), se = v(!1), Le = v(""), P = v(void 0), Ye = v(0), W = v(null), Je = v(null), Qe = v(null), ue = v(null), Ze = v(null), et = v(null), il = v(0), tt = v(0), lt = v(0), Te = v(null), ie = v(null), ne = v(null), Ie = v(null), at = v(null), pe = v(!1), fe = v(!1), U = v(null), ot = v({ x: 0, y: 0 }), re = v("pointer"), Fe = v(!1), e = v(Pe()), ve = y(() => e.value.userOptions.useCursorPointer), nl = y(() => Vt({
50
+ const Yt = j(() => import("./BaseIcon-DX0hTWa-.js")), Jt = j(() => import("./Tooltip-Cvt7Fi0Q.js")), Qt = j(() => import("./vue-ui-accordion-BHmfmb_6.js")), Zt = j(() => import("./DataTable-cMnb68Ik.js")), el = j(
51
+ () => import("./PenAndPaper-CJDoB5H9.js")
52
+ ), tl = j(
53
+ () => import("./UserOptions-DVduN6X7.js")
54
+ ), ll = j(
55
+ () => import("./PackageVersion-BjeuEImy.js")
56
+ ), al = j(
57
+ () => import("./BaseDraggableDialog-Di8Hlru3.js")
58
+ ), { vue_ui_candlestick: ol } = ua(), { isThemeValid: sl, warnInvalidTheme: ul } = ca(), I = jt, _e = Kt, Se = y(() => !!I.dataset && I.dataset.length), V = v(!1), ze = v(null), z = v(Yl()), se = v(!1), Le = v(""), P = v(void 0), Ye = v(0), W = v(null), Je = v(null), Qe = v(null), ue = v(null), Ze = v(null), et = v(null), il = v(0), tt = v(0), lt = v(0), Te = v(null), ie = v(null), ne = v(null), Ie = v(null), at = v(null), pe = v(!1), fe = v(!1), U = v(null), ot = v({ x: 0, y: 0 }), re = v("pointer"), Fe = v(!1), e = v(Pe()), ve = y(
59
+ () => e.value.userOptions.useCursorPointer
60
+ ), nl = y(() => Vt({
51
61
  defaultConfig: {
52
62
  useCssAnimation: !1,
53
63
  userOptions: { show: !1 },
@@ -120,7 +130,9 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
120
130
  defaultConfig: e.value,
121
131
  userConfig: nl.value
122
132
  })
123
- }), { userOptionsVisible: Re, setUserOptionsVisibility: st, keepUserOptionState: ut } = ya({ config: e.value }), { svgRef: Y } = ha({ config: e.value.style.title });
133
+ }), { userOptionsVisible: Re, setUserOptionsVisibility: st, keepUserOptionState: ut } = ya({ config: e.value }), { svgRef: Y } = ha({
134
+ config: e.value.style.title
135
+ });
124
136
  function rl() {
125
137
  st(!0);
126
138
  }
@@ -153,11 +165,19 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
153
165
  a = t;
154
166
  return a;
155
167
  }
156
- me(() => I.config, (t) => {
157
- H.value || (e.value = Pe()), Re.value = !e.value.userOptions.showOnChartHover, it(), il.value += 1, lt.value += 1, tt.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.tooltip.show, ge();
158
- }, { deep: !0 }), me(() => I.dataset, (t) => {
159
- Array.isArray(t) && t.length > 0 && (Me.value = !1), $t();
160
- }, { deep: !0 });
168
+ me(
169
+ () => I.config,
170
+ (t) => {
171
+ H.value || (e.value = Pe()), Re.value = !e.value.userOptions.showOnChartHover, it(), il.value += 1, lt.value += 1, tt.value += 1, O.value.showTable = e.value.table.show, O.value.showTooltip = e.value.style.tooltip.show, ge();
172
+ },
173
+ { deep: !0 }
174
+ ), me(
175
+ () => I.dataset,
176
+ (t) => {
177
+ Array.isArray(t) && t.length > 0 && (Me.value = !1), $t();
178
+ },
179
+ { deep: !0 }
180
+ );
161
181
  const x = v({
162
182
  height: e.value.style.height,
163
183
  width: e.value.style.width,
@@ -243,7 +263,12 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
243
263
  }, 0)), t + 13;
244
264
  }
245
265
  const r = y(() => {
246
- const { top: t, right: a, bottom: l, left: s } = e.value.style.layout.padding, o = yl(), u = 12;
266
+ const {
267
+ top: t,
268
+ right: a,
269
+ bottom: l,
270
+ left: s
271
+ } = e.value.style.layout.padding, o = yl(), u = 12;
247
272
  return {
248
273
  top: t + u,
249
274
  right: x.value.width - a,
@@ -345,12 +370,20 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
345
370
  max: t,
346
371
  min: a
347
372
  };
348
- }), N = y(() => Jl(mt.value.min, mt.value.max, e.value.style.layout.grid.yAxis.dataLabels.steps));
373
+ }), N = y(() => Jl(
374
+ mt.value.min,
375
+ mt.value.max,
376
+ e.value.style.layout.grid.yAxis.dataLabels.steps
377
+ ));
349
378
  function be(t, a, l = null, s = null) {
350
379
  return {
351
380
  ...t,
352
- x: K(r.value.left + a * c.value + c.value / 2),
353
- y: K(r.value.top + (1 - (t - N.value.min) / (N.value.max - N.value.min)) * r.value.height),
381
+ x: K(
382
+ r.value.left + a * c.value + c.value / 2
383
+ ),
384
+ y: K(
385
+ r.value.top + (1 - (t - N.value.min) / (N.value.max - N.value.min)) * r.value.height
386
+ ),
354
387
  value: K(t),
355
388
  isMax: t === l,
356
389
  isMin: t === s
@@ -394,7 +427,27 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
394
427
  };
395
428
  }
396
429
  const pl = y(() => ({ minimapH: t, unitW: a }) => ml.value.map((l, s) => {
397
- const o = xe({ item: l.open, index: s, minimapH: t, unitW: a }), u = xe({ item: l.high, index: s, minimapH: t, unitW: a }), f = xe({ item: l.low, index: s, minimapH: t, unitW: a }), A = xe({ item: l.close, index: s, minimapH: t, unitW: a }), C = l.close > l.open;
430
+ const o = xe({
431
+ item: l.open,
432
+ index: s,
433
+ minimapH: t,
434
+ unitW: a
435
+ }), u = xe({
436
+ item: l.high,
437
+ index: s,
438
+ minimapH: t,
439
+ unitW: a
440
+ }), f = xe({
441
+ item: l.low,
442
+ index: s,
443
+ minimapH: t,
444
+ unitW: a
445
+ }), A = xe({
446
+ item: l.close,
447
+ index: s,
448
+ minimapH: t,
449
+ unitW: a
450
+ }), C = l.close > l.open;
398
451
  return {
399
452
  period: l.period,
400
453
  open: o,
@@ -405,14 +458,18 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
405
458
  isBullish: C,
406
459
  absoluteIndex: l.absoluteIndex
407
460
  };
408
- })), fl = y(() => e.value.style.zoom.minimap.show ? [{
409
- name: "",
410
- series: w.value.map((t) => t[2]),
411
- color: "#000000",
412
- isVisible: !0
413
- }] : []);
461
+ })), fl = y(() => e.value.style.zoom.minimap.show ? [
462
+ {
463
+ name: "",
464
+ series: w.value.map((t) => t[2]),
465
+ color: "#000000",
466
+ isVisible: !0
467
+ }
468
+ ] : []);
414
469
  function gl(t) {
415
- return K((t - N.value.min) / (N.value.max - N.value.min));
470
+ return K(
471
+ (t - N.value.min) / (N.value.max - N.value.min)
472
+ );
416
473
  }
417
474
  const pt = y(() => N.value.ticks.map((t) => ({
418
475
  y: r.value.bottom - r.value.height * gl(t),
@@ -448,13 +505,23 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
448
505
  });
449
506
  const xl = y(() => {
450
507
  const t = e.value.style.layout.grid.xAxis.dataLabels.modulo;
451
- return E.value.length ? Math.min(t, [...new Set(E.value.map((a) => a.text))].length) : t;
452
- }), bt = v({ months: [], shortMonths: [], days: [], shortDays: [] });
508
+ return E.value.length ? Math.min(
509
+ t,
510
+ [...new Set(E.value.map((a) => a.text))].length
511
+ ) : t;
512
+ }), bt = v({
513
+ months: [],
514
+ shortMonths: [],
515
+ days: [],
516
+ shortDays: []
517
+ });
453
518
  let xt = 0;
454
519
  Ae(() => {
455
520
  const t = ++xt, a = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter;
456
521
  (async () => {
457
- const l = await qt(a.locale).catch(() => qt("en"));
522
+ const l = await qt(a.locale).catch(
523
+ () => qt("en")
524
+ );
458
525
  t === xt && (bt.value = l.data);
459
526
  })();
460
527
  });
@@ -469,10 +536,16 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
469
536
  return u == null ? "" : a.formatDate(new Date(u), s);
470
537
  };
471
538
  }), kl = y(() => (w.value.map((a) => a[0]) || []).map((a, l) => ({
472
- text: kt.value(l, e.value.style.tooltip.timeFormat),
539
+ text: kt.value(
540
+ l,
541
+ e.value.style.tooltip.timeFormat
542
+ ),
473
543
  absoluteIndex: l
474
544
  }))), wl = y(() => (w.value.map((a) => a[0]) || []).map((a, l) => ({
475
- text: kt.value(l, e.value.style.zoom.timeFormat),
545
+ text: kt.value(
546
+ l,
547
+ e.value.style.zoom.timeFormat
548
+ ),
476
549
  absoluteIndex: l
477
550
  }))), Ee = y(() => {
478
551
  const t = e.value.style.layout.grid.xAxis.dataLabels, a = E.value || [], l = Ne.value || [], s = d.value.start ?? 0, o = P.value, u = L.value, f = a.map((C) => C?.text ?? ""), A = l.map((C) => C?.text ?? "");
@@ -487,40 +560,59 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
487
560
  u
488
561
  );
489
562
  }), wt = y(() => e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? {
490
- start: E.value.find((t) => t.absoluteIndex === d.value.start)?.text ?? "",
491
- end: E.value.find((t) => t.absoluteIndex === d.value.end - 1)?.text ?? ""
563
+ start: E.value.find(
564
+ (t) => t.absoluteIndex === d.value.start
565
+ )?.text ?? "",
566
+ end: E.value.find(
567
+ (t) => t.absoluteIndex === d.value.end - 1
568
+ )?.text ?? ""
492
569
  } : {
493
570
  start: w.value[d.value.start] ? w.value[d.value.start][0] : w.value[0][0],
494
571
  end: w.value[d.value.end - 1] ? w.value[d.value.end - 1][0] : w.value.at(-1)[0]
495
572
  }), ke = v(null);
496
573
  function Ct(t, a) {
497
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: a, seriesIndex: t + d.value.start });
574
+ e.value.events.datapointClick && e.value.events.datapointClick({
575
+ datapoint: a,
576
+ seriesIndex: t + d.value.start
577
+ });
498
578
  }
499
579
  function Cl(t, a) {
500
- e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: a, seriesIndex: t + d.value.start }), P.value = void 0, se.value = !1, U.value = null, re.value = "pointer";
580
+ e.value.events.datapointLeave && e.value.events.datapointLeave({
581
+ datapoint: a,
582
+ seriesIndex: t + d.value.start
583
+ }), P.value = void 0, se.value = !1, U.value = null, re.value = "pointer";
501
584
  }
502
- me(() => I.selectedXIndex, (t) => {
503
- if ([null, void 0].includes(I.selectedXIndex)) {
504
- P.value = null;
505
- return;
506
- }
507
- const a = t - d.value.start;
508
- a < 0 || t >= d.value.end ? P.value = null : P.value = a ?? null;
509
- }, { immediate: !0 });
585
+ me(
586
+ () => I.selectedXIndex,
587
+ (t) => {
588
+ if ([null, void 0].includes(I.selectedXIndex)) {
589
+ P.value = null;
590
+ return;
591
+ }
592
+ const a = t - d.value.start;
593
+ a < 0 || t >= d.value.end ? P.value = null : P.value = a ?? null;
594
+ },
595
+ { immediate: !0 }
596
+ );
510
597
  function At(t, a, l = "pointer") {
511
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: a, seriesIndex: t + d.value.start }), P.value = t, U.value = t, re.value = l, ke.value = {
598
+ e.value.events.datapointEnter && e.value.events.datapointEnter({
599
+ datapoint: a,
600
+ seriesIndex: t + d.value.start
601
+ }), P.value = t, U.value = t, re.value = l, ke.value = {
512
602
  datapoint: a,
513
603
  seriesIndex: t,
514
604
  series: g.value,
515
605
  config: e.value
516
606
  }, Pl({ seriesIndex: t, datapoint: a });
517
607
  const s = e.value.style.tooltip.customFormat;
518
- if (aa(s) && oa(() => s({
519
- seriesIndex: t,
520
- datapoint: a,
521
- series: g.value,
522
- config: e.value
523
- })))
608
+ if (aa(s) && oa(
609
+ () => s({
610
+ seriesIndex: t,
611
+ datapoint: a,
612
+ series: g.value,
613
+ config: e.value
614
+ })
615
+ ))
524
616
  Le.value = s({
525
617
  seriesIndex: t,
526
618
  datapoint: a,
@@ -529,7 +621,14 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
529
621
  });
530
622
  else if (e.value.style.tooltip.show) {
531
623
  let o = "";
532
- const { period: u, open: f, high: A, low: C, close: D, volume: T, isBullish: le } = g.value[t], { period: Rt, open: Vl, high: Wl, low: Ul, close: Hl, volume: Xl } = e.value.translations, ql = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? E.value[t].text : kl.value[t].text : u;
624
+ const { period: u, open: f, high: A, low: C, close: D, volume: T, isBullish: le } = g.value[t], {
625
+ period: Rt,
626
+ open: Vl,
627
+ high: Wl,
628
+ low: Ul,
629
+ close: Hl,
630
+ volume: Xl
631
+ } = e.value.translations, ql = e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? e.value.style.tooltip.useDefaultTimeFormat ? E.value[t].text : kl.value[t].text : u;
533
632
  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}"
534
633
  fill="${e.value.style.layout.candle.gradient.show ? le ? `url(#bullish_gradient_${z.value})` : `url(#bearish_gradient_${z.value})` : le ? e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.colors.bearish}"/></svg>${ql}</div>`, o += `${Xl} : <b>${isNaN(T) ? "-" : Number(T.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}">`;
535
634
  const He = R({
@@ -579,9 +678,9 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
579
678
  }
580
679
  const de = v(null);
581
680
  function Al() {
582
- return new Promise((t) => requestAnimationFrame(
583
- () => requestAnimationFrame(() => t())
584
- ));
681
+ return new Promise(
682
+ (t) => requestAnimationFrame(() => requestAnimationFrame(() => t()))
683
+ );
585
684
  }
586
685
  qe(() => {
587
686
  de.value && cancelAnimationFrame(de.value);
@@ -611,15 +710,29 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
611
710
  }
612
711
  function Ve(t = null) {
613
712
  je(() => {
614
- const a = [e.value.translations.period, e.value.translations.open, e.value.translations.high, e.value.translations.low, e.value.translations.close, e.value.translations.volume], l = g.value.map((u, f) => [
713
+ const a = [
714
+ e.value.translations.period,
715
+ e.value.translations.open,
716
+ e.value.translations.high,
717
+ e.value.translations.low,
718
+ e.value.translations.close,
719
+ e.value.translations.volume
720
+ ], l = g.value.map((u, f) => [
615
721
  e.value.style.layout.grid.xAxis.dataLabels.datetimeFormatter.enable ? E.value[f].text : u.period,
616
722
  u.open.value,
617
723
  u.high.value,
618
724
  u.low.value,
619
725
  u.close.value,
620
726
  u.volume
621
- ]), s = [[e.value.style.title.text], [e.value.style.title.subtitle.text], [[""], [""], [""]]].concat([a]).concat(l), o = ta(s);
622
- t ? t(o) : la({ csvContent: o, title: e.value.style.title.text || "vue-ui-candlestick" });
727
+ ]), s = [
728
+ [e.value.style.title.text],
729
+ [e.value.style.title.subtitle.text],
730
+ [[""], [""], [""]]
731
+ ].concat([a]).concat(l), o = ta(s);
732
+ t ? t(o) : la({
733
+ csvContent: o,
734
+ title: e.value.style.title.text || "vue-ui-candlestick"
735
+ });
623
736
  });
624
737
  }
625
738
  const te = y(() => {
@@ -720,7 +833,12 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
720
833
  }
721
834
  async function $l({ scale: t = 2 } = {}) {
722
835
  if (!W.value) return;
723
- const { width: a, height: l } = W.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: u } = await pa({ domElement: W.value, base64: !0, img: !0, scale: t });
836
+ const { width: a, height: l } = W.value.getBoundingClientRect(), s = a / l, { imageUri: o, base64: u } = await pa({
837
+ domElement: W.value,
838
+ base64: !0,
839
+ img: !0,
840
+ scale: t
841
+ });
724
842
  return {
725
843
  imageUri: o,
726
844
  base64: u,
@@ -736,18 +854,37 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
736
854
  timeLabels: E,
737
855
  slicer: d,
738
856
  configRef: e,
739
- rotationPath: ["style", "layout", "grid", "xAxis", "dataLabels", "rotation"],
740
- autoRotatePath: ["style", "layout", "grid", "xAxis", "dataLabels", "autoRotate", "enable"],
857
+ rotationPath: [
858
+ "style",
859
+ "layout",
860
+ "grid",
861
+ "xAxis",
862
+ "dataLabels",
863
+ "rotation"
864
+ ],
865
+ autoRotatePath: [
866
+ "style",
867
+ "layout",
868
+ "grid",
869
+ "xAxis",
870
+ "dataLabels",
871
+ "autoRotate",
872
+ "enable"
873
+ ],
741
874
  isAutoSize: !1,
742
875
  rotation: e.value.style.layout.grid.xAxis.dataLabels.autoRotate.angle,
743
876
  width: _l,
744
877
  height: Sl
745
- }), me(e, () => {
746
- O.value = {
747
- showTable: e.value.table.show,
748
- showTooltip: e.value.style.tooltip.show
749
- };
750
- }, { immediate: !0 });
878
+ }), me(
879
+ e,
880
+ () => {
881
+ O.value = {
882
+ showTable: e.value.table.show,
883
+ showTooltip: e.value.style.tooltip.show
884
+ };
885
+ },
886
+ { immediate: !0 }
887
+ );
751
888
  const he = y(() => {
752
889
  const t = e.value.table.useDialog && !e.value.table.show, a = O.value.showTable;
753
890
  return {
@@ -779,9 +916,12 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
779
916
  }
780
917
  };
781
918
  });
782
- me(() => O.value.showTable, (t) => {
783
- e.value.table.show || (t && e.value.table.useDialog && ne.value ? ne.value.open() : "close" in ne.value && ne.value.close());
784
- });
919
+ me(
920
+ () => O.value.showTable,
921
+ (t) => {
922
+ e.value.table.show || (t && e.value.table.useDialog && ne.value ? ne.value.open() : "close" in ne.value && ne.value.close());
923
+ }
924
+ );
785
925
  function It() {
786
926
  O.value.showTable = !1, Ie.value && Ie.value.setTableIconState(!1);
787
927
  }
@@ -795,7 +935,14 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
795
935
  try {
796
936
  if (t) {
797
937
  const { blob: a, url: l, text: s, dataUrl: o } = await Il();
798
- await Promise.resolve(e.value.userOptions.callbacks.svg({ blob: a, url: l, text: s, dataUrl: o }));
938
+ await Promise.resolve(
939
+ e.value.userOptions.callbacks.svg({
940
+ blob: a,
941
+ url: l,
942
+ text: s,
943
+ dataUrl: o
944
+ })
945
+ );
799
946
  } else
800
947
  await Promise.resolve(Tl());
801
948
  } finally {
@@ -837,13 +984,17 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
837
984
  config: e.value,
838
985
  dataset: g.value
839
986
  }), !e.value.userOptions.callbacks.altCopy) {
840
- console.warn("Vue Data UI - A callback must be set for `altCopy` in userOptions.");
987
+ console.warn(
988
+ "Vue Data UI - A callback must be set for `altCopy` in userOptions."
989
+ );
841
990
  return;
842
991
  }
843
- await Promise.resolve(e.value.userOptions.callbacks.altCopy({
844
- config: e.value,
845
- dataset: g.value
846
- }));
992
+ await Promise.resolve(
993
+ e.value.userOptions.callbacks.altCopy({
994
+ config: e.value,
995
+ dataset: g.value
996
+ })
997
+ );
847
998
  }
848
999
  function Dl() {
849
1000
  U.value = null, Fe.value = !0;
@@ -854,7 +1005,8 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
854
1005
  function Nl(t) {
855
1006
  if (!Y.value || ye.value || document.activeElement !== Y.value || !g.value.length) return;
856
1007
  const a = t.key === "ArrowLeft", l = t.key === "ArrowRight", s = t.key === "Enter" || t.key === " ", o = t.key === "Escape";
857
- if (!a && !l && !s && !o) return;
1008
+ if (!a && !l && !s && !o)
1009
+ return;
858
1010
  if (t.preventDefault(), t.stopPropagation(), o) {
859
1011
  U.value = null, re.value = "pointer", se.value = !1, P.value = void 0;
860
1012
  return;
@@ -1092,7 +1244,10 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1092
1244
  ref: Y,
1093
1245
  xmlns: h(Zl),
1094
1246
  "aria-describedby": `chart-instructions-${z.value}`,
1095
- class: X({ "vue-data-ui-fullscreen--on": Q.value, "vue-data-ui-fulscreen--off": !Q.value }),
1247
+ class: X({
1248
+ "vue-data-ui-fullscreen--on": Q.value,
1249
+ "vue-data-ui-fulscreen--off": !Q.value
1250
+ }),
1096
1251
  viewBox: `0 0 ${x.value.width <= 0 ? 10 : x.value.width} ${x.value.height <= 0 ? 10 : x.value.height}`,
1097
1252
  style: ae(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.color}`),
1098
1253
  tabindex: "0",
@@ -1282,7 +1437,9 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1282
1437
  fill: e.value.style.layout.wick.stroke,
1283
1438
  stroke: "none",
1284
1439
  rx: e.value.style.layout.wick.strokeWidth / 2,
1285
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1440
+ class: X({
1441
+ "vue-data-ui-transition": V.value && !h(H)
1442
+ })
1286
1443
  }, null, 10, qa),
1287
1444
  e.value.style.layout.wick.extremity.shape === "circle" ? (i(), n("g", ja, [
1288
1445
  m("circle", {
@@ -1290,36 +1447,48 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1290
1447
  cy: l.high.y,
1291
1448
  r: e.value.style.layout.wick.extremity.size === "auto" ? c.value / 20 : e.value.style.layout.wick.extremity.size,
1292
1449
  fill: e.value.style.layout.wick.extremity.color,
1293
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1450
+ class: X({
1451
+ "vue-data-ui-transition": V.value && !h(H)
1452
+ })
1294
1453
  }, null, 10, Ga),
1295
1454
  m("circle", {
1296
1455
  cx: l.low.x,
1297
1456
  cy: l.low.y,
1298
1457
  r: e.value.style.layout.wick.extremity.size === "auto" ? c.value / 20 : e.value.style.layout.wick.extremity.size,
1299
1458
  fill: e.value.style.layout.wick.extremity.color,
1300
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1459
+ class: X({
1460
+ "vue-data-ui-transition": V.value && !h(H)
1461
+ })
1301
1462
  }, null, 10, Ka)
1302
1463
  ])) : p("", !0),
1303
1464
  e.value.style.layout.wick.extremity.shape === "line" ? (i(), n("g", Ya, [
1304
1465
  m("rect", {
1305
1466
  x: l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
1306
1467
  y: l.high.y - e.value.style.layout.wick.strokeWidth / 2,
1307
- width: Math.abs(l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1468
+ width: Math.abs(
1469
+ l.high.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.high.x + (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)
1470
+ ),
1308
1471
  height: e.value.style.layout.wick.strokeWidth,
1309
1472
  rx: e.value.style.layout.wick.strokeWidth / 2,
1310
1473
  fill: e.value.style.layout.wick.extremity.color,
1311
1474
  stroke: "none",
1312
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1475
+ class: X({
1476
+ "vue-data-ui-transition": V.value && !h(H)
1477
+ })
1313
1478
  }, null, 10, Ja),
1314
1479
  m("rect", {
1315
1480
  x: l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2,
1316
1481
  y: l.low.y - e.value.style.layout.wick.strokeWidth / 2,
1317
- width: Math.abs(l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)),
1482
+ width: Math.abs(
1483
+ l.low.x - (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2 - (l.low.x + (e.value.style.layout.wick.extremity.size === "auto" ? c.value * e.value.style.layout.candle.widthRatio : e.value.style.layout.wick.extremity.size) / 2)
1484
+ ),
1318
1485
  height: e.value.style.layout.wick.strokeWidth,
1319
1486
  fill: e.value.style.layout.wick.extremity.color,
1320
1487
  stroke: "none",
1321
1488
  rx: e.value.style.layout.wick.strokeWidth / 2,
1322
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1489
+ class: X({
1490
+ "vue-data-ui-transition": V.value && !h(H)
1491
+ })
1323
1492
  }, null, 10, Qa)
1324
1493
  ])) : p("", !0)
1325
1494
  ]))), 256))
@@ -1328,17 +1497,23 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1328
1497
  (i(!0), n(M, null, B(g.value, (l, s) => (i(), n("rect", {
1329
1498
  x: l.open.x - c.value / 2 + c.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1330
1499
  y: l.isBullish ? l.close.y : l.open.y,
1331
- height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
1500
+ height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(
1501
+ l.close.y - l.open.y
1502
+ ),
1332
1503
  width: c.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : c.value * e.value.style.layout.candle.widthRatio,
1333
1504
  fill: e.value.style.layout.candle.gradient.underlayer,
1334
1505
  rx: e.value.style.layout.candle.borderRadius,
1335
1506
  stroke: "none",
1336
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1507
+ class: X({
1508
+ "vue-data-ui-transition": V.value && !h(H)
1509
+ })
1337
1510
  }, null, 10, Za))), 256)),
1338
1511
  (i(!0), n(M, null, B(g.value, (l, s) => (i(), n("rect", {
1339
1512
  x: l.open.x - c.value / 2 + c.value * (1 - e.value.style.layout.candle.widthRatio) / 2,
1340
1513
  y: l.isBullish ? l.close.y : l.open.y,
1341
- height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(l.close.y - l.open.y),
1514
+ height: Math.abs(l.close.y - l.open.y) <= 0 ? 1e-4 : Math.abs(
1515
+ l.close.y - l.open.y
1516
+ ),
1342
1517
  width: c.value * e.value.style.layout.candle.widthRatio <= 0 ? 1e-4 : c.value * e.value.style.layout.candle.widthRatio,
1343
1518
  fill: l.isBullish ? e.value.style.layout.candle.gradient.show ? `url(#bullish_gradient_${z.value})` : e.value.style.layout.candle.colors.bullish : e.value.style.layout.candle.gradient.show ? `url(#bearish_gradient_${z.value})` : e.value.style.layout.candle.colors.bearish,
1344
1519
  rx: e.value.style.layout.candle.borderRadius,
@@ -1346,7 +1521,9 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1346
1521
  "stroke-width": e.value.style.layout.candle.strokeWidth,
1347
1522
  "stroke-linecap": "round",
1348
1523
  "stroke-linejoin": "round",
1349
- class: X({ "vue-data-ui-transition": V.value && !h(H) })
1524
+ class: X({
1525
+ "vue-data-ui-transition": V.value && !h(H)
1526
+ })
1350
1527
  }, null, 10, eo))), 256))
1351
1528
  ])
1352
1529
  ], 64)) : p("", !0),
@@ -1363,7 +1540,10 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1363
1540
  y: r.value.top,
1364
1541
  height: r.value.height <= 0 ? 1e-4 : r.value.height,
1365
1542
  width: c.value <= 0 ? 1e-4 : c.value,
1366
- fill: P.value === s || at.value === s ? h(ea)(e.value.style.layout.selector.color, e.value.style.layout.selector.opacity) : "transparent",
1543
+ fill: P.value === s || at.value === s ? h(ea)(
1544
+ e.value.style.layout.selector.color,
1545
+ e.value.style.layout.selector.opacity
1546
+ ) : "transparent",
1367
1547
  onMouseover: () => At(s, l, "pointer"),
1368
1548
  onMouseleave: () => Cl(s, l),
1369
1549
  onClick: () => Ct(s, l)
@@ -1385,11 +1565,16 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1385
1565
  }, void 0, !0)
1386
1566
  ], 46, $a)),
1387
1567
  t.$slots.hint ? (i(), n("div", oo, [
1388
- b(t.$slots, "hint", _(S({ hint: e.value.a11y.translations.keyboardNavigation, isVisible: Fe.value })), void 0, !0)
1568
+ b(t.$slots, "hint", _(S({
1569
+ hint: e.value.a11y.translations.keyboardNavigation,
1570
+ isVisible: Fe.value
1571
+ })), void 0, !0)
1389
1572
  ])) : p("", !0)
1390
1573
  ]),
1391
1574
  t.$slots.watermark ? (i(), n("div", so, [
1392
- b(t.$slots, "watermark", _(S({ isPrinting: h(Oe) || h(De) || pe.value || fe.value })), void 0, !0)
1575
+ b(t.$slots, "watermark", _(S({
1576
+ isPrinting: h(Oe) || h(De) || pe.value || fe.value
1577
+ })), void 0, !0)
1393
1578
  ])) : p("", !0),
1394
1579
  e.value.style.zoom.show && L.value > 6 && Se.value && _t.value ? (i(), G(xa, {
1395
1580
  key: 6,
@@ -1584,7 +1769,7 @@ const wa = ["id"], Ca = ["id"], Aa = { style: { position: "relative" } }, $a = [
1584
1769
  ], !0)
1585
1770
  ], 46, wa));
1586
1771
  }
1587
- }, To = /* @__PURE__ */ ka(ro, [["__scopeId", "data-v-94de1402"]]);
1772
+ }, To = /* @__PURE__ */ ka(ro, [["__scopeId", "data-v-8ef8a38a"]]);
1588
1773
  export {
1589
1774
  To as default
1590
1775
  };