@tabler/charts 0.1.0 → 0.3.0

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 (445) hide show
  1. package/README.md +92 -4
  2. package/dist/{annotations-Bp7HwtF5.d.ts → annotations-B02GR_KU.d.ts} +3 -8
  3. package/dist/{annotations-BszTTjf9.js → annotations-BQ8l-qHs.js} +6 -7
  4. package/dist/{annotations-BszTTjf9.js.map → annotations-BQ8l-qHs.js.map} +1 -1
  5. package/dist/{annotations-lyt0I3HU.d.cts → annotations-CHafaGd4.d.cts} +3 -8
  6. package/dist/{annotations-DpETO8dE.cjs → annotations-CpCWA29b.cjs} +6 -7
  7. package/dist/{annotations-DpETO8dE.cjs.map → annotations-CpCWA29b.cjs.map} +1 -1
  8. package/dist/annotations.cjs +3 -5
  9. package/dist/annotations.cjs.map +1 -1
  10. package/dist/annotations.d.cts +2 -1
  11. package/dist/annotations.d.ts +2 -1
  12. package/dist/annotations.js +3 -4
  13. package/dist/{arc-a1tRTEw7.js → arc-B3V5IR0w.js} +2 -3
  14. package/dist/{arc-a1tRTEw7.js.map → arc-B3V5IR0w.js.map} +1 -1
  15. package/dist/{arc-BXpLrt9b.cjs → arc-CYhI62kO.cjs} +2 -3
  16. package/dist/{arc-BXpLrt9b.cjs.map → arc-CYhI62kO.cjs.map} +1 -1
  17. package/dist/{area-CF__HOwL.d.ts → area-DEFQm_SQ.d.ts} +3 -6
  18. package/dist/{area-sHCE3pg5.cjs → area-DYdQ_sMV.cjs} +5 -6
  19. package/dist/{area-sHCE3pg5.cjs.map → area-DYdQ_sMV.cjs.map} +1 -1
  20. package/dist/{area-DQsLERhx.js → area-WdtfqvhX.js} +5 -6
  21. package/dist/{area-DQsLERhx.js.map → area-WdtfqvhX.js.map} +1 -1
  22. package/dist/{area-DIxaAbYZ.d.cts → area-h_FvieFb.d.cts} +3 -6
  23. package/dist/area.cjs +1 -1
  24. package/dist/area.d.cts +2 -1
  25. package/dist/area.d.ts +2 -1
  26. package/dist/area.js +1 -2
  27. package/dist/axis-MMaVoSWB.js +235 -0
  28. package/dist/axis-MMaVoSWB.js.map +1 -0
  29. package/dist/axis-YfAerNBA.cjs +300 -0
  30. package/dist/axis-YfAerNBA.cjs.map +1 -0
  31. package/dist/{band-DTcNDAFO.d.ts → band-CNKvdnTC.d.cts} +1 -4
  32. package/dist/{band-DTcNDAFO.d.cts → band-CNKvdnTC.d.ts} +1 -4
  33. package/dist/{bar-jZEoao74.js → bar-BOcRcArc.js} +80 -62
  34. package/dist/bar-BOcRcArc.js.map +1 -0
  35. package/dist/{bar-C-7zR2qp.cjs → bar-CVkOJ7WA.cjs} +82 -64
  36. package/dist/bar-CVkOJ7WA.cjs.map +1 -0
  37. package/dist/{bar-DM16NUvV.js → bar-CgpC2EpX.js} +3 -4
  38. package/dist/{bar-DM16NUvV.js.map → bar-CgpC2EpX.js.map} +1 -1
  39. package/dist/{bar-BBM8RhoL.d.ts → bar-D9B_arKf.d.ts} +4 -7
  40. package/dist/{bar-CRKLDg98.d.cts → bar-DZCQ-kyf.d.cts} +4 -7
  41. package/dist/{bar-DGuUN3nc.cjs → bar-wVykm1us.cjs} +3 -4
  42. package/dist/{bar-DGuUN3nc.cjs.map → bar-wVykm1us.cjs.map} +1 -1
  43. package/dist/bar.cjs +1 -1
  44. package/dist/bar.d.cts +2 -1
  45. package/dist/bar.d.ts +2 -1
  46. package/dist/bar.js +1 -2
  47. package/dist/calendar-BSvO8nRb.d.cts +106 -0
  48. package/dist/calendar-BXgIX5H1.js +502 -0
  49. package/dist/calendar-BXgIX5H1.js.map +1 -0
  50. package/dist/calendar-Bq3vFzPl.d.ts +106 -0
  51. package/dist/calendar-DAFXjV99.cjs +507 -0
  52. package/dist/calendar-DAFXjV99.cjs.map +1 -0
  53. package/dist/calendar.cjs +3 -0
  54. package/dist/calendar.d.cts +3 -0
  55. package/dist/calendar.d.ts +3 -0
  56. package/dist/calendar.js +1 -0
  57. package/dist/{candlestick-D_vV0_XZ.d.ts → candlestick-B3WcLzph.d.ts} +3 -6
  58. package/dist/{candlestick-__pXl_pV.d.cts → candlestick-BcomxeVG.d.cts} +3 -6
  59. package/dist/{candlestick-DuXwAFID.js → candlestick-BtT9glp9.js} +19 -18
  60. package/dist/{candlestick-DuXwAFID.js.map → candlestick-BtT9glp9.js.map} +1 -1
  61. package/dist/{candlestick-B5r1w3kc.cjs → candlestick-CSmRuZ4v.cjs} +19 -18
  62. package/dist/{candlestick-B5r1w3kc.cjs.map → candlestick-CSmRuZ4v.cjs.map} +1 -1
  63. package/dist/candlestick.cjs +4 -5
  64. package/dist/candlestick.d.cts +1 -1
  65. package/dist/candlestick.d.ts +1 -1
  66. package/dist/candlestick.js +4 -6
  67. package/dist/{cartesian-Cr0AF0nG.js → cartesian-BrPqb5Qn.js} +138 -264
  68. package/dist/cartesian-BrPqb5Qn.js.map +1 -0
  69. package/dist/{cartesian-BoDfgBCV.cjs → cartesian-DRSXHxWe.cjs} +162 -324
  70. package/dist/cartesian-DRSXHxWe.cjs.map +1 -0
  71. package/dist/{chart-BF2CK9I_.js → chart-B6TTY4Kr.js} +120 -77
  72. package/dist/chart-B6TTY4Kr.js.map +1 -0
  73. package/dist/{chart-DyN7bcx8.d.ts → chart-CYrrUCi3.d.ts} +222 -102
  74. package/dist/{chart-D7ooEFnk.d.cts → chart-CbPzP5Dp.d.cts} +248 -102
  75. package/dist/{chart-CowF_lWY.cjs → chart-D_lyOy-M.cjs} +132 -83
  76. package/dist/chart-D_lyOy-M.cjs.map +1 -0
  77. package/dist/{circle-BQMuAfls.cjs → circle-Bwxy5j7B.cjs} +2 -3
  78. package/dist/{circle-BQMuAfls.cjs.map → circle-Bwxy5j7B.cjs.map} +1 -1
  79. package/dist/{circle-Z7YfCoCM.js → circle-YRDaOBpk.js} +2 -3
  80. package/dist/{circle-Z7YfCoCM.js.map → circle-YRDaOBpk.js.map} +1 -1
  81. package/dist/{clean-o1vDEhFV.js → clean-CkoQobGv.js} +3 -4
  82. package/dist/{clean-o1vDEhFV.js.map → clean-CkoQobGv.js.map} +1 -1
  83. package/dist/{clean-Byl6kzf0.cjs → clean-Die2iCNc.cjs} +8 -3
  84. package/dist/{clean-Byl6kzf0.cjs.map → clean-Die2iCNc.cjs.map} +1 -1
  85. package/dist/{core-D1vO1LrC.d.cts → core-9BnLEW4K.d.cts} +31 -72
  86. package/dist/{core-DcbemzGf.d.ts → core-C3qEppSm.d.ts} +10 -46
  87. package/dist/{core-CegR_j55.js → core-CQ0FaJ4G.js} +138 -99
  88. package/dist/core-CQ0FaJ4G.js.map +1 -0
  89. package/dist/{core-RzS9IQO5.cjs → core-D2PSked3.cjs} +139 -100
  90. package/dist/core-D2PSked3.cjs.map +1 -0
  91. package/dist/core.cjs +47 -33
  92. package/dist/core.d.cts +26 -21
  93. package/dist/core.d.ts +26 -21
  94. package/dist/core.js +31 -25
  95. package/dist/{dates-CG-FvioW.js → dates-DLe2Ww64.js} +4 -5
  96. package/dist/{dates-CG-FvioW.js.map → dates-DLe2Ww64.js.map} +1 -1
  97. package/dist/{dates-Btm7Zm6W.cjs → dates-DerXTb1J.cjs} +4 -5
  98. package/dist/{dates-Btm7Zm6W.cjs.map → dates-DerXTb1J.cjs.map} +1 -1
  99. package/dist/{decimate-tLhDk1ys.cjs → decimate-BS3x8g-f.cjs} +2 -3
  100. package/dist/{decimate-tLhDk1ys.cjs.map → decimate-BS3x8g-f.cjs.map} +1 -1
  101. package/dist/{decimate-BGg9XgF0.d.ts → decimate-BxxYBJJk.d.cts} +2 -5
  102. package/dist/{decimate-C87cl_Sp.js → decimate-CapfgiDY.js} +2 -3
  103. package/dist/{decimate-C87cl_Sp.js.map → decimate-CapfgiDY.js.map} +1 -1
  104. package/dist/{decimate-CNSpgGa5.d.cts → decimate-Du87fMLG.d.ts} +2 -5
  105. package/dist/decimate.cjs +3 -4
  106. package/dist/decimate.d.cts +1 -1
  107. package/dist/decimate.d.ts +1 -1
  108. package/dist/decimate.js +3 -4
  109. package/dist/{dom-CLF868Qs.cjs → dom-C33zvtPo.cjs} +5 -11
  110. package/dist/dom-C33zvtPo.cjs.map +1 -0
  111. package/dist/{dom-vP3IcMak.js → dom-CTse6Rvd.js} +5 -11
  112. package/dist/dom-CTse6Rvd.js.map +1 -0
  113. package/dist/{export-chart-BhhYgksr.cjs → export-chart-CPtXmZvi.cjs} +18 -14
  114. package/dist/export-chart-CPtXmZvi.cjs.map +1 -0
  115. package/dist/{export-chart-9w8t3rjZ.js → export-chart-DoeiAyR2.js} +18 -14
  116. package/dist/export-chart-DoeiAyR2.js.map +1 -0
  117. package/dist/export.cjs +3 -5
  118. package/dist/export.cjs.map +1 -1
  119. package/dist/export.d.cts +8 -1
  120. package/dist/export.d.ts +8 -1
  121. package/dist/export.js +3 -4
  122. package/dist/{extent-BAMZo0Nq.js → extent-DOV8rs-6.js} +2 -3
  123. package/dist/{extent-BAMZo0Nq.js.map → extent-DOV8rs-6.js.map} +1 -1
  124. package/dist/{extent-DsFWvAHJ.cjs → extent-DuYDcvM9.cjs} +2 -3
  125. package/dist/{extent-DsFWvAHJ.cjs.map → extent-DuYDcvM9.cjs.map} +1 -1
  126. package/dist/{fade-D3NxH5Qg.js → fade-CDrQjnDz.js} +59 -83
  127. package/dist/fade-CDrQjnDz.js.map +1 -0
  128. package/dist/{fade-Cs74puQS.cjs → fade-CRqcKMWY.cjs} +59 -83
  129. package/dist/fade-CRqcKMWY.cjs.map +1 -0
  130. package/dist/{features-wASyHGic.js → features-B55rwpQC.js} +5 -4
  131. package/dist/features-B55rwpQC.js.map +1 -0
  132. package/dist/{features-BclHgg2W.cjs → features-DEDP5CEQ.cjs} +10 -3
  133. package/dist/features-DEDP5CEQ.cjs.map +1 -0
  134. package/dist/fit-BPyPRnsK.js +16 -0
  135. package/dist/fit-BPyPRnsK.js.map +1 -0
  136. package/dist/fit-D4MIIQQz.cjs +21 -0
  137. package/dist/fit-D4MIIQQz.cjs.map +1 -0
  138. package/dist/{format-B0yKXBTH.cjs → format-CAE5ruy6.cjs} +2 -3
  139. package/dist/{format-B0yKXBTH.cjs.map → format-CAE5ruy6.cjs.map} +1 -1
  140. package/dist/{format-lStwuc1L.js → format-it1kepFG.js} +2 -3
  141. package/dist/{format-lStwuc1L.js.map → format-it1kepFG.js.map} +1 -1
  142. package/dist/funnel-BdcfUkb5.d.ts +50 -0
  143. package/dist/funnel-CFEEulw_.cjs +244 -0
  144. package/dist/funnel-CFEEulw_.cjs.map +1 -0
  145. package/dist/funnel-CYCv8cq2.js +239 -0
  146. package/dist/funnel-CYCv8cq2.js.map +1 -0
  147. package/dist/funnel-CarOh8w_.d.cts +50 -0
  148. package/dist/funnel.cjs +3 -0
  149. package/dist/funnel.d.cts +3 -0
  150. package/dist/funnel.d.ts +3 -0
  151. package/dist/funnel.js +1 -0
  152. package/dist/{gauge-D-FYhuds.cjs → gauge-6HfDcLMJ.cjs} +35 -36
  153. package/dist/gauge-6HfDcLMJ.cjs.map +1 -0
  154. package/dist/{gauge-Dh423FHh.js → gauge-DiTk5aWO.js} +35 -36
  155. package/dist/gauge-DiTk5aWO.js.map +1 -0
  156. package/dist/{gauge-zpia05t2.d.ts → gauge-Ds9k1UV2.d.cts} +5 -8
  157. package/dist/{gauge-DP_EB2z3.d.cts → gauge-Zy25jfps.d.ts} +5 -8
  158. package/dist/gauge.cjs +1 -1
  159. package/dist/gauge.d.cts +2 -1
  160. package/dist/gauge.d.ts +2 -1
  161. package/dist/gauge.js +1 -2
  162. package/dist/{heatmap-DSZ2bVIa.js → heatmap-C1v8bwpq.js} +43 -43
  163. package/dist/heatmap-C1v8bwpq.js.map +1 -0
  164. package/dist/{heatmap-BectCEeE.d.ts → heatmap-CJ-0dfhJ.d.cts} +4 -7
  165. package/dist/{heatmap-BK18EBgJ.cjs → heatmap-Dcc_bsoQ.cjs} +47 -47
  166. package/dist/heatmap-Dcc_bsoQ.cjs.map +1 -0
  167. package/dist/{heatmap-CCso6m61.d.cts → heatmap-Jp5sHRTo.d.ts} +4 -7
  168. package/dist/heatmap.cjs +1 -1
  169. package/dist/heatmap.d.cts +2 -1
  170. package/dist/heatmap.d.ts +2 -1
  171. package/dist/heatmap.js +1 -2
  172. package/dist/{hydrate-DDNIHYv_.js → hydrate-BB3MlR36.js} +3 -4
  173. package/dist/{hydrate-DDNIHYv_.js.map → hydrate-BB3MlR36.js.map} +1 -1
  174. package/dist/{hydrate-CzfxLfTv.d.ts → hydrate-BtAZf_5K.d.cts} +2 -5
  175. package/dist/{hydrate-CTTmQy0x.d.cts → hydrate-OjM1pIUG.d.ts} +2 -5
  176. package/dist/{hydrate-CxwTXDqO.cjs → hydrate-m0I5m6ue.cjs} +3 -4
  177. package/dist/hydrate-m0I5m6ue.cjs.map +1 -0
  178. package/dist/hydrate.cjs +3 -4
  179. package/dist/hydrate.cjs.map +1 -1
  180. package/dist/hydrate.d.cts +1 -1
  181. package/dist/hydrate.d.ts +1 -1
  182. package/dist/hydrate.js +3 -4
  183. package/dist/index.cjs +72 -56
  184. package/dist/index.cjs.map +1 -1
  185. package/dist/index.d.cts +28 -28
  186. package/dist/index.d.ts +28 -28
  187. package/dist/index.js +52 -44
  188. package/dist/index.js.map +1 -1
  189. package/dist/interaction-DXYSjgnP.cjs +32 -0
  190. package/dist/interaction-DXYSjgnP.cjs.map +1 -0
  191. package/dist/interaction-En1KlwFO.js +21 -0
  192. package/dist/interaction-En1KlwFO.js.map +1 -0
  193. package/dist/{layout-CtMBhNd9.cjs → layout-Cfg9x1k2.cjs} +45 -3
  194. package/dist/layout-Cfg9x1k2.cjs.map +1 -0
  195. package/dist/{layout-B3hiqVEw.js → layout-DqAte3H8.js} +34 -4
  196. package/dist/layout-DqAte3H8.js.map +1 -0
  197. package/dist/{line-CN4uZ9ZX.d.ts → line-Bpr5uVLQ.d.ts} +4 -7
  198. package/dist/{line-B3Ed6u7j.js → line-CxR4tg1Q.js} +49 -38
  199. package/dist/line-CxR4tg1Q.js.map +1 -0
  200. package/dist/{line-fQbtP_jL.cjs → line-YiCuhVMI.cjs} +49 -38
  201. package/dist/line-YiCuhVMI.cjs.map +1 -0
  202. package/dist/{line-W7VD_qs1.d.cts → line-vyWO030v.d.cts} +4 -7
  203. package/dist/line.cjs +4 -5
  204. package/dist/line.cjs.map +1 -1
  205. package/dist/line.d.cts +1 -1
  206. package/dist/line.d.ts +1 -1
  207. package/dist/line.js +4 -6
  208. package/dist/{log-CaofN3-n.d.ts → log-CI41TmcU.d.cts} +1 -6
  209. package/dist/{log-CaofN3-n.d.cts → log-CI41TmcU.d.ts} +1 -6
  210. package/dist/{log-axis-83rSpvL5.cjs → log-axis-DdRNyAq8.cjs} +6 -8
  211. package/dist/{log-axis-83rSpvL5.cjs.map → log-axis-DdRNyAq8.cjs.map} +1 -1
  212. package/dist/{log-axis-B_uvvOFc.js → log-axis-DhthtHFk.js} +6 -8
  213. package/dist/{log-axis-B_uvvOFc.js.map → log-axis-DhthtHFk.js.map} +1 -1
  214. package/dist/log.cjs +3 -5
  215. package/dist/log.cjs.map +1 -1
  216. package/dist/log.d.cts +1 -1
  217. package/dist/log.d.ts +1 -1
  218. package/dist/log.js +3 -4
  219. package/dist/map-49FcfdmJ.d.cts +156 -0
  220. package/dist/map-BMC61J-P.d.ts +156 -0
  221. package/dist/map-BqrZ80vT.cjs +818 -0
  222. package/dist/map-BqrZ80vT.cjs.map +1 -0
  223. package/dist/map-C15NC7kW.js +807 -0
  224. package/dist/map-C15NC7kW.js.map +1 -0
  225. package/dist/map.cjs +4 -0
  226. package/dist/map.d.cts +3 -0
  227. package/dist/map.d.ts +3 -0
  228. package/dist/map.js +1 -0
  229. package/dist/maps/world.cjs +875 -0
  230. package/dist/maps/world.cjs.map +1 -0
  231. package/dist/maps/world.d.cts +2 -0
  232. package/dist/maps/world.d.ts +2 -0
  233. package/dist/maps/world.js +874 -0
  234. package/dist/maps/world.js.map +1 -0
  235. package/dist/{morph-CqYDu1bY.cjs → morph-3I1Nf_tR.cjs} +4 -5
  236. package/dist/morph-3I1Nf_tR.cjs.map +1 -0
  237. package/dist/{morph-BMxz3X2b.d.ts → morph-Dh7gJkV4.d.cts} +1 -4
  238. package/dist/{morph-BMxz3X2b.d.cts → morph-Dh7gJkV4.d.ts} +1 -4
  239. package/dist/{morph-Bgg-24l8.js → morph-GfBab-b3.js} +4 -5
  240. package/dist/{morph-Bgg-24l8.js.map → morph-GfBab-b3.js.map} +1 -1
  241. package/dist/morph.cjs +3 -4
  242. package/dist/morph.cjs.map +1 -1
  243. package/dist/morph.d.cts +1 -1
  244. package/dist/morph.d.ts +1 -1
  245. package/dist/morph.js +3 -4
  246. package/dist/{named-BWWb5LQJ.cjs → named-BBASc8dW.cjs} +2 -3
  247. package/dist/{named-BWWb5LQJ.cjs.map → named-BBASc8dW.cjs.map} +1 -1
  248. package/dist/{named-DE15TOgh.js → named-BOiBah6I.js} +2 -3
  249. package/dist/{named-DE15TOgh.js.map → named-BOiBah6I.js.map} +1 -1
  250. package/dist/others-DBIGE6jr.js +57 -0
  251. package/dist/others-DBIGE6jr.js.map +1 -0
  252. package/dist/others-DBO4Kjwl.d.ts +29 -0
  253. package/dist/others-WfjCsjqT.cjs +68 -0
  254. package/dist/others-WfjCsjqT.cjs.map +1 -0
  255. package/dist/others-ls5eKtZ4.d.cts +31 -0
  256. package/dist/{parliament-Dw0sOERi.js → parliament-BKN6ikBJ.js} +36 -36
  257. package/dist/parliament-BKN6ikBJ.js.map +1 -0
  258. package/dist/{parliament-1Zv2Xh0D.d.ts → parliament-C7V8UJj1.d.cts} +5 -8
  259. package/dist/{parliament-DdrLVZwt.d.cts → parliament-Cz9n_DoK.d.ts} +5 -8
  260. package/dist/{parliament-CpWnoEvG.cjs → parliament-DhxAaIZ3.cjs} +36 -36
  261. package/dist/parliament-DhxAaIZ3.cjs.map +1 -0
  262. package/dist/parliament.cjs +1 -1
  263. package/dist/parliament.d.cts +2 -1
  264. package/dist/parliament.d.ts +2 -1
  265. package/dist/parliament.js +1 -2
  266. package/dist/{path-CwB28da0.d.ts → path-YeUiOfG8.d.cts} +1 -4
  267. package/dist/{path-CwB28da0.d.cts → path-YeUiOfG8.d.ts} +1 -4
  268. package/dist/{patterns-DtgcnA8o.js → patterns-BMUINoka.js} +4 -5
  269. package/dist/{patterns-DtgcnA8o.js.map → patterns-BMUINoka.js.map} +1 -1
  270. package/dist/{patterns-LfcQAWCy.cjs → patterns-Dw7OMD_2.cjs} +4 -5
  271. package/dist/{patterns-LfcQAWCy.cjs.map → patterns-Dw7OMD_2.cjs.map} +1 -1
  272. package/dist/patterns.cjs +3 -5
  273. package/dist/patterns.cjs.map +1 -1
  274. package/dist/patterns.d.cts +5 -1
  275. package/dist/patterns.d.ts +5 -1
  276. package/dist/patterns.js +3 -4
  277. package/dist/percentage-bar-BChkTRoz.cjs +164 -0
  278. package/dist/percentage-bar-BChkTRoz.cjs.map +1 -0
  279. package/dist/percentage-bar-CaInxrL8.js +159 -0
  280. package/dist/percentage-bar-CaInxrL8.js.map +1 -0
  281. package/dist/percentage-bar-R1--2grK.d.cts +58 -0
  282. package/dist/percentage-bar-cSeiLdwU.d.ts +58 -0
  283. package/dist/percentage-bar.cjs +3 -0
  284. package/dist/percentage-bar.d.cts +3 -0
  285. package/dist/percentage-bar.d.ts +3 -0
  286. package/dist/percentage-bar.js +1 -0
  287. package/dist/{pie-BF9yI5mE.d.cts → pie-BQQkvy1N.d.ts} +11 -11
  288. package/dist/{pie-DzUXDTcn.js → pie-Bd8wyrtY.js} +52 -55
  289. package/dist/pie-Bd8wyrtY.js.map +1 -0
  290. package/dist/{pie-BxTZt6Go.cjs → pie-BseZlCgP.cjs} +52 -55
  291. package/dist/pie-BseZlCgP.cjs.map +1 -0
  292. package/dist/{pie-5z1fDdKO.d.ts → pie-vD5-g8je.d.cts} +11 -11
  293. package/dist/pie.cjs +1 -1
  294. package/dist/pie.d.cts +2 -1
  295. package/dist/pie.d.ts +2 -1
  296. package/dist/pie.js +1 -2
  297. package/dist/{point-shapes-CGl4dugc.cjs → point-shapes-BRawRM78.cjs} +24 -24
  298. package/dist/point-shapes-BRawRM78.cjs.map +1 -0
  299. package/dist/{point-shapes-DI84NNpI.js → point-shapes-DI6GhcI7.js} +19 -25
  300. package/dist/point-shapes-DI6GhcI7.js.map +1 -0
  301. package/dist/point-shapes.cjs +7 -6
  302. package/dist/point-shapes.cjs.map +1 -1
  303. package/dist/point-shapes.d.cts +6 -2
  304. package/dist/point-shapes.d.ts +6 -2
  305. package/dist/point-shapes.js +8 -7
  306. package/dist/point-shapes.js.map +1 -1
  307. package/dist/{radar-1-EryihA.d.ts → radar-7I6hsY_h.d.cts} +4 -7
  308. package/dist/{radar-CYPab_I4.js → radar-D6XqkFWQ.js} +25 -27
  309. package/dist/radar-D6XqkFWQ.js.map +1 -0
  310. package/dist/{radar-CoGUNNSb.cjs → radar-DjISDnSf.cjs} +26 -28
  311. package/dist/radar-DjISDnSf.cjs.map +1 -0
  312. package/dist/{radar-DBW4O0Vt.d.cts → radar-vLxilcr4.d.ts} +4 -7
  313. package/dist/radar.cjs +1 -1
  314. package/dist/radar.d.cts +2 -1
  315. package/dist/radar.d.ts +2 -1
  316. package/dist/radar.js +1 -2
  317. package/dist/rect-CZTNvMlf.js +11 -0
  318. package/dist/rect-CZTNvMlf.js.map +1 -0
  319. package/dist/rect-DPr9QRxl.cjs +16 -0
  320. package/dist/rect-DPr9QRxl.cjs.map +1 -0
  321. package/dist/{sankey-Bacx4fVe.cjs → sankey-0CSp_Er9.cjs} +100 -95
  322. package/dist/sankey-0CSp_Er9.cjs.map +1 -0
  323. package/dist/{sankey-OV_WoPrl.d.ts → sankey-7As41Fo4.d.ts} +4 -7
  324. package/dist/{sankey-B4PNKusJ.js → sankey-Dp4CuLVe.js} +100 -95
  325. package/dist/sankey-Dp4CuLVe.js.map +1 -0
  326. package/dist/{sankey-DuGI3Qc5.d.cts → sankey-DqiuxUx7.d.cts} +4 -7
  327. package/dist/sankey.cjs +1 -1
  328. package/dist/sankey.d.cts +2 -1
  329. package/dist/sankey.d.ts +2 -1
  330. package/dist/sankey.js +1 -2
  331. package/dist/{scatter-DbxLyZX0.d.cts → scatter-BXkXGgM_.d.ts} +14 -9
  332. package/dist/{scatter-DgMN9zRy.cjs → scatter-Bwkblr4L.cjs} +47 -42
  333. package/dist/scatter-Bwkblr4L.cjs.map +1 -0
  334. package/dist/{scatter-kgtgR318.js → scatter-DCMAtt5L.js} +45 -40
  335. package/dist/scatter-DCMAtt5L.js.map +1 -0
  336. package/dist/{scatter-BqzgJqdX.d.ts → scatter-DL0zAV09.d.cts} +14 -9
  337. package/dist/scatter.cjs +1 -1
  338. package/dist/scatter.d.cts +2 -1
  339. package/dist/scatter.d.ts +2 -1
  340. package/dist/scatter.js +1 -2
  341. package/dist/{sparkline-BfyO_oNM.d.ts → sparkline-BElUSd0r.d.ts} +5 -8
  342. package/dist/{sparkline-BS9-hltA.cjs → sparkline-BMSuEPHP.cjs} +22 -23
  343. package/dist/sparkline-BMSuEPHP.cjs.map +1 -0
  344. package/dist/{sparkline-BQzt27Fr.js → sparkline-NDmq90kP.js} +22 -23
  345. package/dist/sparkline-NDmq90kP.js.map +1 -0
  346. package/dist/{sparkline-CWlJDKyh.d.cts → sparkline-RYly7bR0.d.cts} +5 -8
  347. package/dist/sparkline.cjs +1 -1
  348. package/dist/sparkline.d.cts +2 -1
  349. package/dist/sparkline.d.ts +2 -1
  350. package/dist/sparkline.js +1 -2
  351. package/dist/{stack-DVhJWaki.cjs → stack-BO4624CY.cjs} +3 -4
  352. package/dist/{stack-DVhJWaki.cjs.map → stack-BO4624CY.cjs.map} +1 -1
  353. package/dist/{stack-CpR6RGKd.d.ts → stack-BTWYIwLO.d.cts} +2 -4
  354. package/dist/{stack-CpR6RGKd.d.cts → stack-DR0eQTsB.d.ts} +1 -4
  355. package/dist/{stack-DRbwTeF3.js → stack-jVKvg2x_.js} +3 -4
  356. package/dist/{stack-DRbwTeF3.js.map → stack-jVKvg2x_.js.map} +1 -1
  357. package/dist/style.css +1 -1
  358. package/dist/{sweep-CbfR7--d.js → sweep-BpRPlhs6.js} +5 -6
  359. package/dist/{sweep-CbfR7--d.js.map → sweep-BpRPlhs6.js.map} +1 -1
  360. package/dist/{sweep-DaTEDDuC.cjs → sweep-Dnp6LDBz.cjs} +5 -6
  361. package/dist/sweep-Dnp6LDBz.cjs.map +1 -0
  362. package/dist/{time-CNVnt-B2.d.cts → time-B4oxWHQI.d.cts} +2 -7
  363. package/dist/{time-CHjiY9Q4.d.ts → time-DRIDgv2a.d.ts} +2 -7
  364. package/dist/{time-axis-VSX34_Tb.cjs → time-axis-B3VekUfX.cjs} +11 -11
  365. package/dist/{time-axis-VSX34_Tb.cjs.map → time-axis-B3VekUfX.cjs.map} +1 -1
  366. package/dist/{time-axis-Bc9eHX1r.js → time-axis-CLjqOakA.js} +10 -10
  367. package/dist/{time-axis-Bc9eHX1r.js.map → time-axis-CLjqOakA.js.map} +1 -1
  368. package/dist/time.cjs +4 -6
  369. package/dist/time.cjs.map +1 -1
  370. package/dist/time.d.cts +1 -1
  371. package/dist/time.d.ts +1 -1
  372. package/dist/time.js +4 -5
  373. package/dist/treemap-25vHO_UK.d.cts +65 -0
  374. package/dist/treemap-BCXUbixd.d.ts +65 -0
  375. package/dist/treemap-C4glsx-g.js +293 -0
  376. package/dist/treemap-C4glsx-g.js.map +1 -0
  377. package/dist/treemap-CZk8kKFD.cjs +298 -0
  378. package/dist/treemap-CZk8kKFD.cjs.map +1 -0
  379. package/dist/treemap.cjs +3 -0
  380. package/dist/treemap.d.cts +3 -0
  381. package/dist/treemap.d.ts +3 -0
  382. package/dist/treemap.js +1 -0
  383. package/dist/{tween-BCYd0RTY.js → tween-BdQqUmmv.js} +2 -3
  384. package/dist/{tween-BCYd0RTY.js.map → tween-BdQqUmmv.js.map} +1 -1
  385. package/dist/{tween-CIGBlryn.cjs → tween-c3aOmfKE.cjs} +2 -3
  386. package/dist/{tween-CIGBlryn.cjs.map → tween-c3aOmfKE.cjs.map} +1 -1
  387. package/dist/{value-labels-IZIQPhfk.js → value-labels-C7GrhOXJ.js} +30 -10
  388. package/dist/value-labels-C7GrhOXJ.js.map +1 -0
  389. package/dist/{value-labels-B0WJoJ7x.cjs → value-labels-DzaKIWKp.cjs} +30 -10
  390. package/dist/value-labels-DzaKIWKp.cjs.map +1 -0
  391. package/dist/value-labels.cjs +3 -5
  392. package/dist/value-labels.cjs.map +1 -1
  393. package/dist/value-labels.d.cts +5 -1
  394. package/dist/value-labels.d.ts +5 -1
  395. package/dist/value-labels.js +3 -4
  396. package/dist/{vnode-CkQ27Cxe.cjs → vnode-ClAiw28x.cjs} +2 -3
  397. package/dist/{vnode-CkQ27Cxe.cjs.map → vnode-ClAiw28x.cjs.map} +1 -1
  398. package/dist/{vnode-BUflsBsa.d.ts → vnode-Du2cC8Fm.d.cts} +1 -4
  399. package/dist/{vnode-BUflsBsa.d.cts → vnode-Du2cC8Fm.d.ts} +1 -4
  400. package/dist/{vnode-tCWItoUH.js → vnode-_EMUqysL.js} +2 -3
  401. package/dist/{vnode-tCWItoUH.js.map → vnode-_EMUqysL.js.map} +1 -1
  402. package/package.json +94 -214
  403. package/dist/bar-C-7zR2qp.cjs.map +0 -1
  404. package/dist/bar-jZEoao74.js.map +0 -1
  405. package/dist/cartesian-BoDfgBCV.cjs.map +0 -1
  406. package/dist/cartesian-Cr0AF0nG.js.map +0 -1
  407. package/dist/chart-BF2CK9I_.js.map +0 -1
  408. package/dist/chart-CowF_lWY.cjs.map +0 -1
  409. package/dist/core-CegR_j55.js.map +0 -1
  410. package/dist/core-RzS9IQO5.cjs.map +0 -1
  411. package/dist/dom-CLF868Qs.cjs.map +0 -1
  412. package/dist/dom-vP3IcMak.js.map +0 -1
  413. package/dist/export-chart-9w8t3rjZ.js.map +0 -1
  414. package/dist/export-chart-BhhYgksr.cjs.map +0 -1
  415. package/dist/fade-Cs74puQS.cjs.map +0 -1
  416. package/dist/fade-D3NxH5Qg.js.map +0 -1
  417. package/dist/features-BclHgg2W.cjs.map +0 -1
  418. package/dist/features-wASyHGic.js.map +0 -1
  419. package/dist/gauge-D-FYhuds.cjs.map +0 -1
  420. package/dist/gauge-Dh423FHh.js.map +0 -1
  421. package/dist/heatmap-BK18EBgJ.cjs.map +0 -1
  422. package/dist/heatmap-DSZ2bVIa.js.map +0 -1
  423. package/dist/hydrate-CxwTXDqO.cjs.map +0 -1
  424. package/dist/layout-B3hiqVEw.js.map +0 -1
  425. package/dist/layout-CtMBhNd9.cjs.map +0 -1
  426. package/dist/line-B3Ed6u7j.js.map +0 -1
  427. package/dist/line-fQbtP_jL.cjs.map +0 -1
  428. package/dist/morph-CqYDu1bY.cjs.map +0 -1
  429. package/dist/parliament-CpWnoEvG.cjs.map +0 -1
  430. package/dist/parliament-Dw0sOERi.js.map +0 -1
  431. package/dist/pie-BxTZt6Go.cjs.map +0 -1
  432. package/dist/pie-DzUXDTcn.js.map +0 -1
  433. package/dist/point-shapes-CGl4dugc.cjs.map +0 -1
  434. package/dist/point-shapes-DI84NNpI.js.map +0 -1
  435. package/dist/radar-CYPab_I4.js.map +0 -1
  436. package/dist/radar-CoGUNNSb.cjs.map +0 -1
  437. package/dist/sankey-B4PNKusJ.js.map +0 -1
  438. package/dist/sankey-Bacx4fVe.cjs.map +0 -1
  439. package/dist/scatter-DgMN9zRy.cjs.map +0 -1
  440. package/dist/scatter-kgtgR318.js.map +0 -1
  441. package/dist/sparkline-BQzt27Fr.js.map +0 -1
  442. package/dist/sparkline-BS9-hltA.cjs.map +0 -1
  443. package/dist/sweep-DaTEDDuC.cjs.map +0 -1
  444. package/dist/value-labels-B0WJoJ7x.cjs.map +0 -1
  445. package/dist/value-labels-IZIQPhfk.js.map +0 -1
@@ -1,5 +1,5 @@
1
- const require_dom = require("./dom-CLF868Qs.cjs");
2
- //#region src/render/hydrate.ts
1
+ const require_dom = require("./dom-C33zvtPo.cjs");
2
+ // src/render/hydrate.ts
3
3
  /** Whether existing DOM `node` can stand for `vnode` in namespace `ns`. */
4
4
  function matches(node, vnode, ns) {
5
5
  return node.nodeType === 1 && node.localName === vnode.tag && node.namespaceURI === ns;
@@ -49,7 +49,6 @@ function hydrate(el, vnode, ns) {
49
49
  hydrateElement(el, vnode);
50
50
  return true;
51
51
  }
52
- //#endregion
53
52
  Object.defineProperty(exports, "hydrate", {
54
53
  enumerable: true,
55
54
  get: function() {
@@ -57,4 +56,4 @@ Object.defineProperty(exports, "hydrate", {
57
56
  }
58
57
  });
59
58
 
60
- //# sourceMappingURL=hydrate-CxwTXDqO.cjs.map
59
+ //# sourceMappingURL=hydrate-m0I5m6ue.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hydrate-m0I5m6ue.cjs","names":["patchAttrs","childNamespace","rendered","createNode"],"sources":["../src/render/hydrate.ts"],"sourcesContent":["import type { Attrs, VNode } from '../vnode.ts'\nimport { childNamespace, createNode, patchAttrs, rendered, SVG_NS } from './dom.ts'\n\n/** Whether existing DOM `node` can stand for `vnode` in namespace `ns`. */\nfunction matches(node: Node, vnode: VNode, ns: string): node is Element {\n return (\n node.nodeType === 1 &&\n (node as Element).localName === vnode.tag &&\n (node as Element).namespaceURI === ns\n )\n}\n\n/**\n * Claim server-rendered DOM for a tree: the element takes the vnode's\n * attributes (extra ones are removed), and its children are matched by\n * position: text with text, elements with the same tag (hydrated in turn).\n * Anything that does not match is created in place, leftovers are removed.\n * Afterwards the nodes are tracked like freshly rendered ones.\n */\nexport function hydrateElement(el: Element, vnode: VNode): void {\n // The server attributes are the previous state to patch from.\n const current: Attrs = {}\n for (const name of el.getAttributeNames()) current[name] = el.getAttribute(name) as string\n // A strict CSP ignores style attributes in markup: set them again, through the CSSOM.\n if (current.style) current.style = ''\n patchAttrs(el, current, vnode.attrs)\n\n // Comments never stand for anything, and neither does text where the tree has none\n // (whitespace between elements). Text only ever sits in leaf elements here.\n const texts = vnode.children.some((child) => typeof child === 'string')\n for (const node of Array.from(el.childNodes)) {\n if (node.nodeType === 8 || (!texts && node.nodeType === 3)) el.removeChild(node)\n }\n\n const ns = childNamespace(el)\n let node: Node | null = el.firstChild\n for (const child of vnode.children) {\n const next: Node | null = node ? node.nextSibling : null\n if (\n typeof child === 'string'\n ? node?.nodeType === 3\n : node && matches(node, child, child.tag === 'svg' ? SVG_NS : ns)\n ) {\n if (typeof child === 'string') {\n if ((node as Text).data !== child) (node as Text).data = child\n rendered.set(node as Node, child)\n } else {\n hydrateElement(node as Element, child)\n }\n node = next\n } else {\n const created = createNode(child, ns, el.ownerDocument)\n if (created) el.insertBefore(created, node)\n }\n }\n while (node) {\n const extra: Node = node\n node = node.nextSibling\n el.removeChild(extra)\n }\n rendered.set(el, vnode)\n}\n\n/**\n * Hydrate `el` for the root `vnode` when it is foreign markup (not rendered\n * here) with the root's tag in namespace `ns`. Returns whether it did.\n */\nexport function hydrate(el: Element, vnode: VNode, ns: string): boolean {\n if (rendered.has(el) || !matches(el, vnode, ns)) return false\n hydrateElement(el, vnode)\n return true\n}\n"],"mappings":";;;AAIA,SAAS,QAAQ,MAAY,OAAc,IAA6B;CACtE,OACE,KAAK,aAAa,KACjB,KAAiB,cAAc,MAAM,OACrC,KAAiB,iBAAiB;AAEvC;;;;;;;;AASA,SAAgB,eAAe,IAAa,OAAoB;CAE9D,MAAM,UAAiB,CAAC;CACxB,KAAK,MAAM,QAAQ,GAAG,kBAAkB,GAAG,QAAQ,QAAQ,GAAG,aAAa,IAAI;CAE/E,IAAI,QAAQ,OAAO,QAAQ,QAAQ;CACnCA,YAAAA,WAAW,IAAI,SAAS,MAAM,KAAK;CAInC,MAAM,QAAQ,MAAM,SAAS,MAAM,UAAU,OAAO,UAAU,QAAQ;CACtE,KAAK,MAAM,QAAQ,MAAM,KAAK,GAAG,UAAU,GACzC,IAAI,KAAK,aAAa,KAAM,CAAC,SAAS,KAAK,aAAa,GAAI,GAAG,YAAY,IAAI;CAGjF,MAAM,KAAKC,YAAAA,eAAe,EAAE;CAC5B,IAAI,OAAoB,GAAG;CAC3B,KAAK,MAAM,SAAS,MAAM,UAAU;EAClC,MAAM,OAAoB,OAAO,KAAK,cAAc;EACpD,IACE,OAAO,UAAU,WACb,MAAM,aAAa,IACnB,QAAQ,QAAQ,MAAM,OAAO,MAAM,QAAQ,QAAA,+BAAiB,EAAE,GAClE;GACA,IAAI,OAAO,UAAU,UAAU;IAC7B,IAAK,KAAc,SAAS,OAAQ,KAAc,OAAO;IACzDC,YAAAA,SAAS,IAAI,MAAc,KAAK;GAClC,OACE,eAAe,MAAiB,KAAK;GAEvC,OAAO;EACT,OAAO;GACL,MAAM,UAAUC,YAAAA,WAAW,OAAO,IAAI,GAAG,aAAa;GACtD,IAAI,SAAS,GAAG,aAAa,SAAS,IAAI;EAC5C;CACF;CACA,OAAO,MAAM;EACX,MAAM,QAAc;EACpB,OAAO,KAAK;EACZ,GAAG,YAAY,KAAK;CACtB;CACAD,YAAAA,SAAS,IAAI,IAAI,KAAK;AACxB;;;;;AAMA,SAAgB,QAAQ,IAAa,OAAc,IAAqB;CACtE,IAAIA,YAAAA,SAAS,IAAI,EAAE,KAAK,CAAC,QAAQ,IAAI,OAAO,EAAE,GAAG,OAAO;CACxD,eAAe,IAAI,KAAK;CACxB,OAAO;AACT"}
package/dist/hydrate.cjs CHANGED
@@ -1,13 +1,12 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_features = require("./features-BclHgg2W.cjs");
3
- const require_hydrate = require("./hydrate-CxwTXDqO.cjs");
4
- //#region src/hydrate.ts
2
+ const require_features = require("./features-DEDP5CEQ.cjs");
3
+ const require_hydrate = require("./hydrate-m0I5m6ue.cjs");
4
+ // src/hydrate.ts
5
5
  /**
6
6
  * Standalone entry: `import '@tabler/charts/hydrate'` lets a chart take over
7
7
  * server-rendered markup node by node instead of replacing it.
8
8
  */
9
9
  require_features.register({ hydrate: require_hydrate.hydrate });
10
- //#endregion
11
10
  exports.hydrate = require_hydrate.hydrate;
12
11
 
13
12
  //# sourceMappingURL=hydrate.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"hydrate.cjs","names":["register"],"sources":["../src/hydrate.ts"],"sourcesContent":["/**\n * Standalone entry: `import '@tabler/charts/hydrate'` lets a chart take over\n * server-rendered markup node by node instead of replacing it.\n */\nimport { register } from './features.ts'\nimport { hydrate } from './render/hydrate.ts'\n\nregister({ hydrate })\n\nexport { hydrate }\n"],"mappings":";;;;;;;;AAOAA,iBAAAA,SAAS,EAAE,SAAA,gBAAA,QAAQ,CAAC"}
1
+ {"version":3,"file":"hydrate.cjs","names":["register","hydrate"],"sources":["../src/hydrate.ts"],"sourcesContent":["/**\n * Standalone entry: `import '@tabler/charts/hydrate'` lets a chart take over\n * server-rendered markup node by node instead of replacing it.\n */\nimport { register } from './features.ts'\nimport { hydrate } from './render/hydrate.ts'\n\nregister({ hydrate })\n\nexport { hydrate }\n"],"mappings":";;;;;;;;AAOAA,iBAAAA,SAAS,EAAEC,SAAAA,gBAAAA,QAAQ,CAAC"}
@@ -1,2 +1,2 @@
1
- import { t as hydrate } from "./hydrate-CTTmQy0x.cjs";
1
+ import { t as hydrate } from "./hydrate-BtAZf_5K.cjs";
2
2
  export { hydrate };
package/dist/hydrate.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { t as hydrate } from "./hydrate-CzfxLfTv.js";
1
+ import { t as hydrate } from "./hydrate-OjM1pIUG.js";
2
2
  export { hydrate };
package/dist/hydrate.js CHANGED
@@ -1,12 +1,11 @@
1
- import { i as register } from "./features-wASyHGic.js";
2
- import { t as hydrate } from "./hydrate-DDNIHYv_.js";
3
- //#region src/hydrate.ts
1
+ import { i as register } from "./features-B55rwpQC.js";
2
+ import { t as hydrate } from "./hydrate-BB3MlR36.js";
3
+ // src/hydrate.ts
4
4
  /**
5
5
  * Standalone entry: `import '@tabler/charts/hydrate'` lets a chart take over
6
6
  * server-rendered markup node by node instead of replacing it.
7
7
  */
8
8
  register({ hydrate });
9
- //#endregion
10
9
  export { hydrate };
11
10
 
12
11
  //# sourceMappingURL=hydrate.js.map
package/dist/index.cjs CHANGED
@@ -1,40 +1,46 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_layout = require("./layout-CtMBhNd9.cjs");
3
- const require_vnode = require("./vnode-CkQ27Cxe.cjs");
4
- const require_format = require("./format-B0yKXBTH.cjs");
5
- const require_cartesian = require("./cartesian-BoDfgBCV.cjs");
6
- const require_features = require("./features-BclHgg2W.cjs");
7
- const require_extent = require("./extent-DsFWvAHJ.cjs");
8
- const require_annotations = require("./annotations-DpETO8dE.cjs");
9
- const require_dates = require("./dates-Btm7Zm6W.cjs");
10
- const require_log_axis = require("./log-axis-83rSpvL5.cjs");
11
- const require_chart = require("./chart-CowF_lWY.cjs");
12
- const require_dom = require("./dom-CLF868Qs.cjs");
13
- const require_patterns = require("./patterns-LfcQAWCy.cjs");
14
- const require_point_shapes = require("./point-shapes-CGl4dugc.cjs");
15
- const require_time_axis = require("./time-axis-VSX34_Tb.cjs");
16
- const require_value_labels = require("./value-labels-B0WJoJ7x.cjs");
17
- const require_hydrate = require("./hydrate-CxwTXDqO.cjs");
18
- const require_morph = require("./morph-CqYDu1bY.cjs");
19
- const require_decimate = require("./decimate-tLhDk1ys.cjs");
20
- const require_fade = require("./fade-Cs74puQS.cjs");
21
- const require_core = require("./core-RzS9IQO5.cjs");
22
- const require_line = require("./line-fQbtP_jL.cjs");
23
- const require_area = require("./area-sHCE3pg5.cjs");
24
- const require_bar = require("./bar-DGuUN3nc.cjs");
25
- const require_bar$1 = require("./bar-C-7zR2qp.cjs");
26
- const require_candlestick = require("./candlestick-B5r1w3kc.cjs");
27
- const require_arc = require("./arc-BXpLrt9b.cjs");
28
- const require_gauge = require("./gauge-D-FYhuds.cjs");
29
- const require_heatmap = require("./heatmap-BK18EBgJ.cjs");
30
- const require_parliament = require("./parliament-CpWnoEvG.cjs");
31
- const require_pie = require("./pie-BxTZt6Go.cjs");
32
- const require_radar = require("./radar-CoGUNNSb.cjs");
33
- const require_sankey = require("./sankey-Bacx4fVe.cjs");
34
- const require_scatter = require("./scatter-DgMN9zRy.cjs");
35
- const require_sparkline = require("./sparkline-BS9-hltA.cjs");
36
- const require_export_chart = require("./export-chart-BhhYgksr.cjs");
37
- //#region src/chart-default.ts
2
+ const require_layout = require("./layout-Cfg9x1k2.cjs");
3
+ const require_vnode = require("./vnode-ClAiw28x.cjs");
4
+ const require_format = require("./format-CAE5ruy6.cjs");
5
+ const require_axis = require("./axis-YfAerNBA.cjs");
6
+ const require_cartesian = require("./cartesian-DRSXHxWe.cjs");
7
+ const require_annotations = require("./annotations-CpCWA29b.cjs");
8
+ const require_extent = require("./extent-DuYDcvM9.cjs");
9
+ const require_dates = require("./dates-DerXTb1J.cjs");
10
+ const require_log_axis = require("./log-axis-DdRNyAq8.cjs");
11
+ const require_patterns = require("./patterns-Dw7OMD_2.cjs");
12
+ const require_point_shapes = require("./point-shapes-BRawRM78.cjs");
13
+ const require_dom = require("./dom-C33zvtPo.cjs");
14
+ const require_time_axis = require("./time-axis-B3VekUfX.cjs");
15
+ const require_value_labels = require("./value-labels-DzaKIWKp.cjs");
16
+ const require_features = require("./features-DEDP5CEQ.cjs");
17
+ const require_hydrate = require("./hydrate-m0I5m6ue.cjs");
18
+ const require_morph = require("./morph-3I1Nf_tR.cjs");
19
+ const require_decimate = require("./decimate-BS3x8g-f.cjs");
20
+ const require_fade = require("./fade-CRqcKMWY.cjs");
21
+ const require_chart = require("./chart-D_lyOy-M.cjs");
22
+ const require_core = require("./core-D2PSked3.cjs");
23
+ const require_area = require("./area-DYdQ_sMV.cjs");
24
+ const require_bar = require("./bar-CVkOJ7WA.cjs");
25
+ const require_bar$1 = require("./bar-wVykm1us.cjs");
26
+ const require_calendar = require("./calendar-DAFXjV99.cjs");
27
+ const require_candlestick = require("./candlestick-CSmRuZ4v.cjs");
28
+ const require_funnel = require("./funnel-CFEEulw_.cjs");
29
+ const require_gauge = require("./gauge-6HfDcLMJ.cjs");
30
+ const require_arc = require("./arc-CYhI62kO.cjs");
31
+ const require_heatmap = require("./heatmap-Dcc_bsoQ.cjs");
32
+ const require_line = require("./line-YiCuhVMI.cjs");
33
+ const require_map = require("./map-BqrZ80vT.cjs");
34
+ const require_parliament = require("./parliament-DhxAaIZ3.cjs");
35
+ const require_percentage_bar = require("./percentage-bar-BChkTRoz.cjs");
36
+ const require_pie = require("./pie-BseZlCgP.cjs");
37
+ const require_radar = require("./radar-DjISDnSf.cjs");
38
+ const require_sankey = require("./sankey-0CSp_Er9.cjs");
39
+ const require_scatter = require("./scatter-Bwkblr4L.cjs");
40
+ const require_sparkline = require("./sparkline-BMSuEPHP.cjs");
41
+ const require_treemap = require("./treemap-CZk8kKFD.cjs");
42
+ const require_export_chart = require("./export-chart-CPtXmZvi.cjs");
43
+ // src/chart-default.ts
38
44
  /**
39
45
  * A chart with every built-in plugin installed: hover highlight, legend,
40
46
  * tooltip, data table and keyboard navigation. Each can be switched off in
@@ -50,8 +56,7 @@ var Chart = class extends require_chart.Chart {
50
56
  super(target, config, require_core.defaultPlugins());
51
57
  }
52
58
  };
53
- //#endregion
54
- //#region src/chart-types.ts
59
+ // src/chart-types.ts
55
60
  /**
56
61
  * Every built-in chart type by its name, for charts declared in markup
57
62
  * (`<tabler-chart type="line">`, `data-tc-chart="line"`). Importing it
@@ -60,20 +65,24 @@ var Chart = class extends require_chart.Chart {
60
65
  const types = {
61
66
  line: require_line.line,
62
67
  area: require_area.area,
63
- bar: require_bar$1.bar,
68
+ bar: require_bar.bar,
64
69
  pie: require_pie.pie,
65
70
  donut: require_pie.donut,
66
71
  scatter: require_scatter.scatter,
67
72
  sparkline: require_sparkline.sparkline,
68
73
  gauge: require_gauge.gauge,
69
74
  heatmap: require_heatmap.heatmap,
75
+ calendar: require_calendar.calendar,
76
+ map: require_map.map,
70
77
  candlestick: require_candlestick.candlestick,
71
78
  radar: require_radar.radar,
72
79
  sankey: require_sankey.sankey,
73
- parliament: require_parliament.parliament
80
+ parliament: require_parliament.parliament,
81
+ treemap: require_treemap.treemap,
82
+ "percentage-bar": require_percentage_bar.percentageBar,
83
+ funnel: require_funnel.funnel
74
84
  };
75
- //#endregion
76
- //#region src/index.ts
85
+ // src/index.ts
77
86
  /**
78
87
  * `@tabler/charts`: everything from `@tabler/charts/core`, with a `Chart`
79
88
  * that installs the built-in plugins (tooltip, legend, keyboard, …) and
@@ -105,31 +114,33 @@ require_features.register({
105
114
  },
106
115
  patterns: require_patterns.patternFills,
107
116
  "point-shapes": require_point_shapes.markerPath,
117
+ swatch: require_point_shapes.markerClip,
108
118
  hydrate: require_hydrate.hydrate,
109
119
  morph: require_morph.morph
110
120
  });
111
- require_features.addPost(require_point_shapes.shapesStep);
112
121
  require_features.addPost(require_value_labels.labelsStep);
113
- //#endregion
114
122
  exports.Chart = Chart;
115
123
  exports.LINE_HEIGHT = require_layout.LINE_HEIGHT;
116
124
  exports.VERSION = require_core.VERSION;
125
+ exports.addMap = require_map.addMap;
117
126
  exports.arcCentroid = require_arc.arcCentroid;
118
127
  exports.arcPathStable = require_arc.arcPathStable;
119
128
  exports.area = require_area.area;
120
129
  exports.areaPath = require_fade.areaPath;
121
- exports.axis = require_cartesian.axis;
122
- exports.axisSize = require_cartesian.axisSize;
130
+ exports.axis = require_axis.axis;
131
+ exports.axisSize = require_axis.axisSize;
123
132
  exports.band = require_cartesian.band;
124
- exports.bandTicks = require_cartesian.bandTicks;
125
- exports.bar = require_bar$1.bar;
126
- exports.barPath = require_bar.barPath;
133
+ exports.bandTicks = require_axis.bandTicks;
134
+ exports.bar = require_bar.bar;
135
+ exports.barPath = require_bar$1.barPath;
127
136
  exports.buildChart = require_chart.buildChart;
137
+ exports.calendar = require_calendar.calendar;
128
138
  exports.cancel = require_chart.cancel;
129
139
  exports.candlestick = require_candlestick.candlestick;
130
140
  exports.categoryInteraction = require_cartesian.categoryInteraction;
131
141
  exports.chartEvents = require_chart.chartEvents;
132
142
  exports.chartLabel = require_chart.chartLabel;
143
+ exports.chartModel = require_chart.chartModel;
133
144
  exports.chartToString = require_chart.chartToString;
134
145
  exports.dataTable = require_core.dataTable;
135
146
  exports.defaultHidden = require_chart.defaultHidden;
@@ -152,12 +163,13 @@ exports.formatDate = require_format.formatDate;
152
163
  exports.formatDetail = require_format.formatDetail;
153
164
  exports.formatNumber = require_format.formatNumber;
154
165
  exports.formatTicks = require_format.formatTicks;
166
+ exports.funnel = require_funnel.funnel;
155
167
  exports.gauge = require_gauge.gauge;
156
168
  exports.getDateFormat = require_format.getDateFormat;
157
169
  exports.getNumberFormat = require_format.getNumberFormat;
158
170
  exports.grid = require_cartesian.grid;
159
171
  exports.h = require_vnode.h;
160
- exports.hbarPath = require_bar.hbarPath;
172
+ exports.hbarPath = require_bar$1.hbarPath;
161
173
  exports.heatmap = require_heatmap.heatmap;
162
174
  exports.highlight = require_core.highlight;
163
175
  exports.hitAnchor = require_core.hitAnchor;
@@ -171,15 +183,17 @@ exports.legendContent = require_chart.legendContent;
171
183
  exports.line = require_line.line;
172
184
  exports.linePath = require_fade.linePath;
173
185
  exports.linear = require_cartesian.linear;
174
- exports.linearTicks = require_cartesian.linearTicks;
186
+ exports.linearTicks = require_axis.linearTicks;
175
187
  exports.log = require_log_axis.log;
176
188
  exports.lttb = require_decimate.lttb;
177
189
  exports.lttbIndices = require_decimate.lttbIndices;
178
- exports.niceDomain = require_cartesian.niceDomain;
190
+ exports.map = require_map.map;
191
+ exports.niceDomain = require_axis.niceDomain;
179
192
  exports.normalizeClass = require_vnode.normalizeClass;
180
193
  exports.normalizeStyle = require_vnode.normalizeStyle;
181
194
  exports.padAngleForGap = require_arc.padAngleForGap;
182
195
  exports.parliament = require_parliament.parliament;
196
+ exports.percentageBar = require_percentage_bar.percentageBar;
183
197
  exports.pie = require_pie.pie;
184
198
  exports.placeTooltip = require_core.placeTooltip;
185
199
  exports.point = require_cartesian.point;
@@ -187,6 +201,7 @@ exports.pointer = require_core.pointer;
187
201
  exports.radar = require_radar.radar;
188
202
  exports.register = require_features.register;
189
203
  exports.render = require_dom.render;
204
+ exports.renderChart = require_chart.renderChart;
190
205
  exports.renderContext = require_chart.renderContext;
191
206
  exports.renderToString = require_chart.renderToString;
192
207
  exports.resolveLegend = require_chart.resolveLegend;
@@ -201,14 +216,15 @@ exports.sparkline = require_sparkline.sparkline;
201
216
  exports.stepPrecision = require_format.stepPrecision;
202
217
  exports.sync = require_core.sync;
203
218
  exports.tableContent = require_core.tableContent;
204
- exports.thinTicks = require_cartesian.thinTicks;
205
- exports.tickIncrement = require_cartesian.tickIncrement;
206
- exports.tickStep = require_cartesian.tickStep;
207
- exports.ticks = require_cartesian.ticks;
219
+ exports.thinTicks = require_axis.thinTicks;
220
+ exports.tickIncrement = require_axis.tickIncrement;
221
+ exports.tickStep = require_axis.tickStep;
222
+ exports.ticks = require_axis.ticks;
208
223
  exports.time = require_time_axis.time;
209
224
  exports.timePointScale = require_time_axis.timePointScale;
210
225
  exports.tooltip = require_core.tooltip;
211
226
  exports.tooltipContent = require_core.tooltipContent;
227
+ exports.treemap = require_treemap.treemap;
212
228
  exports.types = types;
213
229
 
214
230
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","names":["CoreChart","defaultPlugins","register","time","timePointScale","timeAxis","dateLabels","log","logDomain","logTicks","lttbIndices","annotationLayers","annotationValues","patternFills","markerPath","addPost","shapesStep","labelsStep"],"sources":["../src/chart-default.ts","../src/chart-types.ts","../src/index.ts"],"sourcesContent":["import { type ChartConfig, Chart as CoreChart } from './chart.ts'\nimport { defaultPlugins } from './plugins/index.ts'\n\n/**\n * A chart with every built-in plugin installed: hover highlight, legend,\n * tooltip, data table and keyboard navigation. Each can be switched off in\n * the config (`tooltip: false`, …). For the smallest bundle, use the bare\n * `Chart` from `@tabler/charts/core` and pick plugins explicitly.\n *\n * ```ts\n * const chart = new Chart('#sales', { type: line, data })\n * ```\n */\nexport class Chart<O extends object = object> extends CoreChart<O> {\n constructor(target: Element | string, config: ChartConfig<O>) {\n super(target, config, defaultPlugins())\n }\n}\n","import type { ChartType } from './chart.ts'\nimport { area } from './charts/area.ts'\nimport { bar } from './charts/bar.ts'\nimport { candlestick } from './charts/candlestick.ts'\nimport { gauge } from './charts/gauge.ts'\nimport { heatmap } from './charts/heatmap.ts'\nimport { line } from './charts/line.ts'\nimport { parliament } from './charts/parliament.ts'\nimport { donut, pie } from './charts/pie.ts'\nimport { radar } from './charts/radar.ts'\nimport { sankey } from './charts/sankey.ts'\nimport { scatter } from './charts/scatter.ts'\nimport { sparkline } from './charts/sparkline.ts'\n\n/**\n * Every built-in chart type by its name, for charts declared in markup\n * (`<tabler-chart type=\"line\">`, `data-tc-chart=\"line\"`). Importing it\n * brings every type along: code that knows its types imports them directly.\n */\nexport const types: Readonly<Record<string, ChartType<never>>> = {\n line,\n area,\n bar,\n pie,\n donut,\n scatter,\n sparkline,\n gauge,\n heatmap,\n candlestick,\n radar,\n sankey,\n parliament,\n} as Record<string, ChartType<never>>\n","/**\n * `@tabler/charts`: everything from `@tabler/charts/core`, with a `Chart`\n * that installs the built-in plugins (tooltip, legend, keyboard, …) and\n * every optional feature registered (time and log axes, decimation,\n * annotations, pattern fills, value labels, point shapes). The one exception\n * is the `download` menu's saver: `import '@tabler/charts/export'` adds it,\n * so charts that never offer a download do not carry the export code.\n */\n\nimport { annotationLayers, annotationValues } from './charts/annotations.ts'\nimport { dateLabels } from './charts/dates.ts'\nimport { logDomain, logTicks } from './charts/log-axis.ts'\nimport { patternFills } from './charts/patterns.ts'\nimport { markerPath, shapesStep } from './charts/point-shapes.ts'\nimport { timeAxis } from './charts/time-axis.ts'\nimport { labelsStep } from './charts/value-labels.ts'\nimport { addPost, register } from './features.ts'\nimport { hydrate } from './render/hydrate.ts'\nimport { morph } from './render/morph.ts'\nimport { log } from './scales/log.ts'\nimport { time, timePointScale } from './scales/time.ts'\nimport { lttb, lttbIndices } from './shapes/decimate.ts'\nimport { areaPath, linePath } from './shapes/path.ts'\n\n// Registered here, in the entry itself, so no bundler can shake it away.\nregister({\n time: { scale: time, points: timePointScale, axis: timeAxis },\n dates: dateLabels,\n log: { scale: log, domain: logDomain, ticks: logTicks },\n decimate: lttbIndices,\n line: { linePath, areaPath },\n annotations: { layers: annotationLayers, values: annotationValues },\n patterns: patternFills,\n 'point-shapes': markerPath,\n hydrate,\n morph,\n})\n\n// Steps that finish the content: shapes first, then the labels over them.\naddPost(shapesStep)\naddPost(labelsStep)\n\nexport { Chart } from './chart-default.ts'\nexport { types } from './chart-types.ts'\nexport * from './core.ts'\nexport type { DownloadOptions, ExportOptions, ExportTarget, ImageOptions } from './export-chart.ts'\nexport { downloadChart, exportImage, exportSVG } from './export-chart.ts'\nexport type { LogScaleOptions } from './scales/log.ts'\nexport type { TimeScale, TimeScaleOptions, TimeValue } from './scales/time.ts'\nexport { log, lttb, lttbIndices, time, timePointScale }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAa,QAAb,cAAsDA,cAAAA,MAAa;CACjE,YAAY,QAA0B,QAAwB;EAC5D,MAAM,QAAQ,QAAQC,aAAAA,eAAe,CAAC;CACxC;AACF;;;;;;;;ACEA,MAAa,QAAoD;CAC/D,MAAA,aAAA;CACA,MAAA,aAAA;CACA,KAAA,cAAA;CACA,KAAA,YAAA;CACA,OAAA,YAAA;CACA,SAAA,gBAAA;CACA,WAAA,kBAAA;CACA,OAAA,cAAA;CACA,SAAA,gBAAA;CACA,aAAA,oBAAA;CACA,OAAA,cAAA;CACA,QAAA,eAAA;CACA,YAAA,mBAAA;AACF;;;;;;;;;;;ACRAC,iBAAAA,SAAS;CACP,MAAM;EAAE,OAAOC,kBAAAA;EAAM,QAAQC,kBAAAA;EAAgB,MAAMC,kBAAAA;CAAS;CAC5D,OAAOC,cAAAA;CACP,KAAK;EAAE,OAAOC,iBAAAA;EAAK,QAAQC,iBAAAA;EAAW,OAAOC,iBAAAA;CAAS;CACtD,UAAUC,iBAAAA;CACV,MAAM;EAAE,UAAA,aAAA;EAAU,UAAA,aAAA;CAAS;CAC3B,aAAa;EAAE,QAAQC,oBAAAA;EAAkB,QAAQC,oBAAAA;CAAiB;CAClE,UAAUC,iBAAAA;CACV,gBAAgBC,qBAAAA;CAChB,SAAA,gBAAA;CACA,OAAA,cAAA;AACF,CAAC;AAGDC,iBAAAA,QAAQC,qBAAAA,UAAU;AAClBD,iBAAAA,QAAQE,qBAAAA,UAAU"}
1
+ {"version":3,"file":"index.cjs","names":["CoreChart","defaultPlugins","line","area","bar","pie","donut","scatter","sparkline","gauge","heatmap","calendar","map","candlestick","radar","sankey","parliament","treemap","percentageBar","funnel","register","time","timePointScale","timeAxis","dateLabels","log","logDomain","logTicks","lttbIndices","linePath","areaPath","annotationLayers","annotationValues","patternFills","markerPath","markerClip","hydrate","morph","addPost","labelsStep"],"sources":["../src/chart-default.ts","../src/chart-types.ts","../src/index.ts"],"sourcesContent":["import { type ChartConfig, Chart as CoreChart } from './chart.ts'\nimport { defaultPlugins } from './plugins/index.ts'\n\n/**\n * A chart with every built-in plugin installed: hover highlight, legend,\n * tooltip, data table and keyboard navigation. Each can be switched off in\n * the config (`tooltip: false`, …). For the smallest bundle, use the bare\n * `Chart` from `@tabler/charts/core` and pick plugins explicitly.\n *\n * ```ts\n * const chart = new Chart('#sales', { type: line, data })\n * ```\n */\nexport class Chart<O extends object = object> extends CoreChart<O> {\n constructor(target: HTMLElement | string, config: ChartConfig<O>) {\n super(target, config, defaultPlugins())\n }\n}\n","import type { ChartType } from './chart.ts'\nimport { area } from './charts/area.ts'\nimport { bar } from './charts/bar.ts'\nimport { calendar } from './charts/calendar.ts'\nimport { candlestick } from './charts/candlestick.ts'\nimport { funnel } from './charts/funnel.ts'\nimport { gauge } from './charts/gauge.ts'\nimport { heatmap } from './charts/heatmap.ts'\nimport { line } from './charts/line.ts'\nimport { map } from './charts/map.ts'\nimport { parliament } from './charts/parliament.ts'\nimport { percentageBar } from './charts/percentage-bar.ts'\nimport { donut, pie } from './charts/pie.ts'\nimport { radar } from './charts/radar.ts'\nimport { sankey } from './charts/sankey.ts'\nimport { scatter } from './charts/scatter.ts'\nimport { sparkline } from './charts/sparkline.ts'\nimport { treemap } from './charts/treemap.ts'\n\n/**\n * Every built-in chart type by its name, for charts declared in markup\n * (`<tabler-chart type=\"line\">`, `data-tc-chart=\"line\"`). Importing it\n * brings every type along: code that knows its types imports them directly.\n */\nexport const types: Readonly<Record<string, ChartType<never>>> = {\n line,\n area,\n bar,\n pie,\n donut,\n scatter,\n sparkline,\n gauge,\n heatmap,\n calendar,\n map,\n candlestick,\n radar,\n sankey,\n parliament,\n treemap,\n 'percentage-bar': percentageBar,\n funnel,\n} as Record<string, ChartType<never>>\n","/**\n * `@tabler/charts`: everything from `@tabler/charts/core`, with a `Chart`\n * that installs the built-in plugins (tooltip, legend, keyboard, …) and\n * every optional feature registered (time and log axes, decimation,\n * annotations, pattern fills, value labels, point shapes). The one exception\n * is the `download` menu's saver: `import '@tabler/charts/export'` adds it,\n * so charts that never offer a download do not carry the export code.\n */\n\nimport { annotationLayers, annotationValues } from './charts/annotations.ts'\nimport { dateLabels } from './charts/dates.ts'\nimport { logDomain, logTicks } from './charts/log-axis.ts'\nimport { patternFills } from './charts/patterns.ts'\nimport { markerClip, markerPath } from './charts/point-shapes.ts'\nimport { timeAxis } from './charts/time-axis.ts'\nimport { labelsStep } from './charts/value-labels.ts'\nimport { addPost, register } from './features.ts'\nimport { hydrate } from './render/hydrate.ts'\nimport { morph } from './render/morph.ts'\nimport { log } from './scales/log.ts'\nimport { time, timePointScale } from './scales/time.ts'\nimport { lttb, lttbIndices } from './shapes/decimate.ts'\nimport { areaPath, linePath } from './shapes/path.ts'\n\n// Registered here, in the entry itself, so no bundler can shake it away.\nregister({\n time: { scale: time, points: timePointScale, axis: timeAxis },\n dates: dateLabels,\n log: { scale: log, domain: logDomain, ticks: logTicks },\n decimate: lttbIndices,\n line: { linePath, areaPath },\n annotations: { layers: annotationLayers, values: annotationValues },\n patterns: patternFills,\n 'point-shapes': markerPath,\n swatch: markerClip,\n hydrate,\n morph,\n})\n\n// The step that finishes the content: value labels over the marks.\naddPost(labelsStep)\n\nexport { Chart } from './chart-default.ts'\nexport { types } from './chart-types.ts'\nexport * from './core.ts'\nexport type { DownloadOptions, ExportOptions, ExportTarget, ImageOptions } from './export-chart.ts'\nexport { downloadChart, exportImage, exportSVG } from './export-chart.ts'\nexport type { LogScaleOptions } from './scales/log.ts'\nexport type { TimeScale, TimeScaleOptions, TimeValue } from './scales/time.ts'\nexport { log, lttb, lttbIndices, time, timePointScale }\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAa,QAAb,cAAsDA,cAAAA,MAAa;CACjE,YAAY,QAA8B,QAAwB;EAChE,MAAM,QAAQ,QAAQC,aAAAA,eAAe,CAAC;CACxC;AACF;;;;;;;ACOA,MAAa,QAAoD;CAC/DC,MAAAA,aAAAA;CACAC,MAAAA,aAAAA;CACAC,KAAAA,YAAAA;CACAC,KAAAA,YAAAA;CACAC,OAAAA,YAAAA;CACAC,SAAAA,gBAAAA;CACAC,WAAAA,kBAAAA;CACAC,OAAAA,cAAAA;CACAC,SAAAA,gBAAAA;CACAC,UAAAA,iBAAAA;CACAC,KAAAA,YAAAA;CACAC,aAAAA,oBAAAA;CACAC,OAAAA,cAAAA;CACAC,QAAAA,eAAAA;CACAC,YAAAA,mBAAAA;CACAC,SAAAA,gBAAAA;CACA,kBAAkBC,uBAAAA;CAClBC,QAAAA,eAAAA;AACF;;;;;;;;;;AClBAC,iBAAAA,SAAS;CACP,MAAM;EAAE,OAAOC,kBAAAA;EAAM,QAAQC,kBAAAA;EAAgB,MAAMC,kBAAAA;CAAS;CAC5D,OAAOC,cAAAA;CACP,KAAK;EAAE,OAAOC,iBAAAA;EAAK,QAAQC,iBAAAA;EAAW,OAAOC,iBAAAA;CAAS;CACtD,UAAUC,iBAAAA;CACV,MAAM;EAAEC,UAAAA,aAAAA;EAAUC,UAAAA,aAAAA;CAAS;CAC3B,aAAa;EAAE,QAAQC,oBAAAA;EAAkB,QAAQC,oBAAAA;CAAiB;CAClE,UAAUC,iBAAAA;CACV,gBAAgBC,qBAAAA;CAChB,QAAQC,qBAAAA;CACRC,SAAAA,gBAAAA;CACAC,OAAAA,cAAAA;AACF,CAAC;AAGDC,iBAAAA,QAAQC,qBAAAA,UAAU"}
package/dist/index.d.cts CHANGED
@@ -1,25 +1,29 @@
1
- import { a as InsetsInput, c as estimateTextWidth, i as Insets, l as innerRect, o as LINE_HEIGHT, s as Rect, t as Annotation, u as insets } from "./annotations-lyt0I3HU.cjs";
2
- import { a as point, i as band, n as BandScale, r as BandScaleOptions, t as BandKey } from "./band-DTcNDAFO.cjs";
3
- import { a as ClassValue, c as StyleValue, d as normalizeClass, f as normalizeStyle, i as ChildInput, l as VNode, n as Attrs, o as Key, r as Child, s as Props, t as AttrValue, u as h } from "./vnode-BUflsBsa.cjs";
4
- import { $ as CartesianOptions, B as downloadChart, C as DownloadOption, Ct as HitTester, D as ChartPlugin, E as BeforeRenderState, F as register, H as exportSVG, I as DownloadOptions, J as LegendItem, L as ExportOptions, M as Features, N as feature, O as PluginInstance, P as features, Q as CartesianData, R as ExportTarget, S as DownloadMenuOptions, St as HitItem, T as AfterRenderState, V as exportImage, X as defaultHidden, Y as LegendOptions, Z as legendContent, _ as TooltipPlacement, _t as thinTicks, a as ChartType, at as domainOf, b as tooltipContent, bt as tableContent, c as Size, ct as seriesTable, d as chartLabel, dt as LinearTicksOptions, et as CategoryAxisOptions, f as chartToString, ft as Tick, g as TooltipOptions, gt as linearTicks, h as resolveSize, ht as bandTicks, i as ChartEvents, it as categoryInteraction, l as buildChart, lt as AxisOptions, m as resolveLegend, mt as axisSize, n as Chart$1, nt as Series, o as RenderContext, ot as seriesKey, p as renderContext, pt as axis, r as ChartConfig, rt as ValueAxisOptions, s as ResolvedLegend, st as seriesLegend, t as BaseOptions, tt as Label, u as chartEvents, ut as AxisPosition, v as hitAnchor, vt as DataTable, w as download, wt as Interaction, x as DownloadFormat, xt as Hit, y as placeTooltip, yt as describeHit, z as ImageOptions } from "./chart-D7ooEFnk.cjs";
5
- import { a as timePointScale, c as NumberFormat, d as formatDetail, f as formatNumber, g as stepPrecision, h as getNumberFormat, i as time, l as NumberFormatOptions, m as getDateFormat, n as TimeScaleOptions, o as DateFormat, p as formatTicks, r as TimeValue, s as Locale, t as TimeScale, u as formatDate } from "./time-CNVnt-B2.cjs";
6
- import { a as linear, i as LinearScaleOptions, n as log, r as LinearScale, t as LogScaleOptions } from "./log-CaofN3-n.cjs";
7
- import { A as arcCentroid, C as keyboard, D as GridOptions, E as hoverUnderlay, M as padAngleForGap, O as grid, S as legend, T as hoverOverlay, _ as defaultPlugins, a as flush, b as sync, c as tickIncrement, d as extent, f as RenderToStringOptions, g as render, h as renderToString, i as cancel, j as arcPathStable, k as ArcOptions, l as tickStep, m as escapeText, n as barPath, o as schedule, p as escapeAttr, r as hbarPath, s as niceDomain, t as VERSION, u as ticks, v as tooltip, w as highlight, x as pointer, y as dataTable } from "./core-D1vO1LrC.cjs";
8
- import { a as linePath, i as areaPath, n as PathOptions, r as Point, t as Curve } from "./path-CwB28da0.cjs";
9
- import { n as line, t as LineOptions } from "./line-W7VD_qs1.cjs";
10
- import { n as area, t as AreaOptions } from "./area-DIxaAbYZ.cjs";
11
- import { n as bar, t as BarOptions } from "./bar-CRKLDg98.cjs";
12
- import { n as CandlestickOptions, r as candlestick, t as Candle } from "./candlestick-__pXl_pV.cjs";
13
- import { n as GaugeRing, r as gauge, t as GaugeOptions } from "./gauge-DP_EB2z3.cjs";
14
- import { n as HeatmapRange, r as heatmap, t as HeatmapOptions } from "./heatmap-CCso6m61.cjs";
15
- import { n as ParliamentParty, r as parliament, t as ParliamentOptions } from "./parliament-DdrLVZwt.cjs";
16
- import { i as pie, n as PieSlice, r as donut, t as PieOptions } from "./pie-BF9yI5mE.cjs";
17
- import { n as RadialAxisOptions, r as radar, t as RadarOptions } from "./radar-DBW4O0Vt.cjs";
18
- import { a as sankey, i as SankeyOptions, n as SankeyLink, r as SankeyNode, t as SankeyData } from "./sankey-DuGI3Qc5.cjs";
19
- import { i as scatter, n as ScatterPoint, r as ScatterSeries, t as ScatterOptions } from "./scatter-DbxLyZX0.cjs";
20
- import { n as sparkline, t as SparklineOptions } from "./sparkline-CWlJDKyh.cjs";
21
- import { n as lttbIndices, t as lttb } from "./decimate-CNSpgGa5.cjs";
22
- //#region src/chart-default.d.ts
1
+ import { a as linear, i as LinearScaleOptions, n as log, r as LinearScale, t as LogScaleOptions } from "./log-CI41TmcU.cjs";
2
+ import { a as timePointScale, c as NumberFormat, d as formatDetail, f as formatNumber, g as stepPrecision, h as getNumberFormat, i as time, l as NumberFormatOptions, m as getDateFormat, n as TimeScaleOptions, o as DateFormat, p as formatTicks, r as TimeValue, s as Locale, t as TimeScale, u as formatDate } from "./time-B4oxWHQI.cjs";
3
+ import { a as point, i as band, n as BandScale, r as BandScaleOptions, t as BandKey } from "./band-CNKvdnTC.cjs";
4
+ import { a as linePath, i as areaPath, n as PathOptions, r as Point, t as Curve } from "./path-YeUiOfG8.cjs";
5
+ import { n as lttbIndices, t as lttb } from "./decimate-BxxYBJJk.cjs";
6
+ import { a as InsetsInput, c as estimateTextWidth, i as Insets, l as innerRect, o as LINE_HEIGHT, s as Rect, t as Annotation, u as insets } from "./annotations-CHafaGd4.cjs";
7
+ import { A as download, At as describeHit, B as features, C as TooltipPlacement, Ct as Tick, D as DownloadFormat, Dt as linearTicks, E as tooltipContent, Et as bandTicks, Ft as HitTester, G as padAngleForGap, H as ArcOptions, It as Interaction, J as ExportTarget, K as DownloadOptions, M as BeforeRenderState, Mt as Highlight, N as ChartPlugin, Nt as Hit, O as DownloadMenuOptions, Ot as thinTicks, P as PluginInstance, Pt as HitItem, Q as exportSVG, R as Features, S as TooltipOptions, St as LinearTicksOptions, T as placeTooltip, Tt as axisSize, U as arcCentroid, V as register, W as arcPathStable, X as downloadChart, Y as ImageOptions, Z as exportImage, _ as chartToString, _t as seriesKey, a as ChartEvents, at as LegendItem, b as resolveLegend, bt as AxisOptions, c as RenderContext, ct as legendContent, d as Size, dt as CategoryAxisOptions, f as TableContext, ft as Label, g as chartModel, gt as domainOf, h as chartLabel, ht as categoryInteraction, i as ChartConfig, j as AfterRenderState, jt as tableContent, k as DownloadOption, kt as DataTable, l as RenderResult, lt as CartesianData, m as chartEvents, mt as ValueAxisOptions, n as BuiltChart, o as ChartType, ot as LegendOptions, p as buildChart, pt as Series, q as ExportOptions, r as Chart$1, s as ContextOptions, st as defaultHidden, t as BaseOptions, u as ResolvedLegend, ut as CartesianOptions, v as renderChart, vt as seriesLegend, w as hitAnchor, wt as axis, x as resolveSize, xt as AxisPosition, y as renderContext, yt as seriesTable, z as feature } from "./chart-CbPzP5Dp.cjs";
8
+ import { a as ClassValue, c as StyleValue, d as normalizeClass, f as normalizeStyle, i as ChildInput, l as VNode, n as Attrs, o as Key, r as Child, s as Props, t as AttrValue, u as h } from "./vnode-Du2cC8Fm.cjs";
9
+ import { n as line, t as LineOptions } from "./line-vyWO030v.cjs";
10
+ import { n as area, t as AreaOptions } from "./area-h_FvieFb.cjs";
11
+ import { n as bar, t as BarOptions } from "./bar-DZCQ-kyf.cjs";
12
+ import { a as calendar, i as CalendarSeries, n as CalendarEntry, r as CalendarOptions, t as CalendarData } from "./calendar-BSvO8nRb.cjs";
13
+ import { n as CandlestickOptions, r as candlestick, t as Candle } from "./candlestick-BcomxeVG.cjs";
14
+ import { n as FunnelStage, r as funnel, t as FunnelOptions } from "./funnel-CarOh8w_.cjs";
15
+ import { n as GaugeRing, r as gauge, t as GaugeOptions } from "./gauge-Ds9k1UV2.cjs";
16
+ import { n as HeatmapRange, r as heatmap, t as HeatmapOptions } from "./heatmap-CJ-0dfhJ.cjs";
17
+ import { a as MapOptions, c as map, i as MapMarker, l as MapLayout, n as MapHit, o as MapRegion, r as MapLine, s as addMap, t as MapData, u as MapView } from "./map-49FcfdmJ.cjs";
18
+ import { n as ParliamentParty, r as parliament, t as ParliamentOptions } from "./parliament-C7V8UJj1.cjs";
19
+ import { n as PercentageBarSegment, r as percentageBar, t as PercentageBarOptions } from "./percentage-bar-R1--2grK.cjs";
20
+ import { i as pie, n as PieSlice, r as donut, t as PieOptions } from "./pie-vD5-g8je.cjs";
21
+ import { n as RadialAxisOptions, r as radar, t as RadarOptions } from "./radar-7I6hsY_h.cjs";
22
+ import { a as sankey, i as SankeyOptions, n as SankeyLink, r as SankeyNode, t as SankeyData } from "./sankey-DqiuxUx7.cjs";
23
+ import { i as scatter, n as ScatterPoint, r as ScatterSeries, t as ScatterOptions } from "./scatter-DL0zAV09.cjs";
24
+ import { n as sparkline, t as SparklineOptions } from "./sparkline-RYly7bR0.cjs";
25
+ import { n as TreemapOptions, r as treemap, t as TreemapNode } from "./treemap-25vHO_UK.cjs";
26
+ import { C as keyboard, D as GridOptions, E as hoverUnderlay, O as grid, S as legend, T as hoverOverlay, _ as defaultPlugins, a as flush, b as sync, c as tickIncrement, d as extent, f as RenderToStringOptions, g as render, h as renderToString, i as cancel, l as tickStep, m as escapeText, n as barPath, o as schedule, p as escapeAttr, r as hbarPath, s as niceDomain, t as VERSION, u as ticks, v as tooltip, w as highlight, x as pointer, y as dataTable } from "./core-9BnLEW4K.cjs";
23
27
  /**
24
28
  * A chart with every built-in plugin installed: hover highlight, legend,
25
29
  * tooltip, data table and keyboard navigation. Each can be switched off in
@@ -31,16 +35,12 @@ import { n as lttbIndices, t as lttb } from "./decimate-CNSpgGa5.cjs";
31
35
  * ```
32
36
  */
33
37
  export declare class Chart<O extends object = object> extends Chart$1<O> {
34
- constructor(target: Element | string, config: ChartConfig<O>);
38
+ constructor(target: HTMLElement | string, config: ChartConfig<O>);
35
39
  }
36
- //#endregion
37
- //#region src/chart-types.d.ts
38
40
  /**
39
41
  * Every built-in chart type by its name, for charts declared in markup
40
42
  * (`<tabler-chart type="line">`, `data-tc-chart="line"`). Importing it
41
43
  * brings every type along: code that knows its types imports them directly.
42
44
  */
43
45
  export declare const types: Readonly<Record<string, ChartType<never>>>;
44
- //#endregion
45
- export { type AfterRenderState, type Annotation, type ArcOptions, type AreaOptions, type AttrValue, type Attrs, type AxisOptions, type AxisPosition, type BandKey, type BandScale, type BandScaleOptions, type BarOptions, type BaseOptions, type BeforeRenderState, type Candle, type CandlestickOptions, type CartesianData, type CartesianOptions, type CategoryAxisOptions, type ChartConfig, type ChartEvents, type ChartPlugin, type ChartType, type Child, type ChildInput, type ClassValue, type Curve, type DataTable, type DateFormat, type DownloadFormat, type DownloadMenuOptions, type DownloadOption, type DownloadOptions, type ExportOptions, type ExportTarget, type Features, type GaugeOptions, type GaugeRing, type GridOptions, type HeatmapOptions, type HeatmapRange, type Hit, type HitItem, type HitTester, type ImageOptions, type Insets, type InsetsInput, type Interaction, type Key, LINE_HEIGHT, type Label, type LegendItem, type LegendOptions, type LineOptions, type LinearScale, type LinearScaleOptions, type LinearTicksOptions, type Locale, type LogScaleOptions, type NumberFormat, type NumberFormatOptions, type ParliamentOptions, type ParliamentParty, type PathOptions, type PieOptions, type PieSlice, type PluginInstance, type Point, type Props, type RadarOptions, type RadialAxisOptions, type Rect, type RenderContext, type RenderToStringOptions, type ResolvedLegend, type SankeyData, type SankeyLink, type SankeyNode, type SankeyOptions, type ScatterOptions, type ScatterPoint, type ScatterSeries, type Series, type Size, type SparklineOptions, type StyleValue, type Tick, type TimeScale, type TimeScaleOptions, type TimeValue, type TooltipOptions, type TooltipPlacement, VERSION, type VNode, type ValueAxisOptions, arcCentroid, arcPathStable, area, areaPath, axis, axisSize, band, bandTicks, bar, barPath, buildChart, cancel, candlestick, categoryInteraction, chartEvents, chartLabel, chartToString, dataTable, defaultHidden, defaultPlugins, describeHit, domainOf, donut, download, downloadChart, escapeAttr, escapeText, estimateTextWidth, exportImage, exportSVG, extent, feature, features, flush, formatDate, formatDetail, formatNumber, formatTicks, gauge, getDateFormat, getNumberFormat, grid, h, hbarPath, heatmap, highlight, hitAnchor, hoverOverlay, hoverUnderlay, innerRect, insets, keyboard, legend, legendContent, line, linePath, linear, linearTicks, log, lttb, lttbIndices, niceDomain, normalizeClass, normalizeStyle, padAngleForGap, parliament, pie, placeTooltip, point, pointer, radar, register, render, renderContext, renderToString, resolveLegend, resolveSize, sankey, scatter, schedule, seriesKey, seriesLegend, seriesTable, sparkline, stepPrecision, sync, tableContent, thinTicks, tickIncrement, tickStep, ticks, time, timePointScale, tooltip, tooltipContent };
46
- //# sourceMappingURL=index.d.cts.map
46
+ export { type AfterRenderState, type Annotation, type ArcOptions, type AreaOptions, type AttrValue, type Attrs, type AxisOptions, type AxisPosition, type BandKey, type BandScale, type BandScaleOptions, type BarOptions, type BaseOptions, type BeforeRenderState, type BuiltChart, type CalendarData, type CalendarEntry, type CalendarOptions, type CalendarSeries, type Candle, type CandlestickOptions, type CartesianData, type CartesianOptions, type CategoryAxisOptions, type ChartConfig, type ChartEvents, type ChartPlugin, type ChartType, type Child, type ChildInput, type ClassValue, type ContextOptions, type Curve, type DataTable, type DateFormat, type DownloadFormat, type DownloadMenuOptions, type DownloadOption, type DownloadOptions, type ExportOptions, type ExportTarget, type Features, type FunnelOptions, type FunnelStage, type GaugeOptions, type GaugeRing, type GridOptions, type HeatmapOptions, type HeatmapRange, type Highlight, type Hit, type HitItem, type HitTester, type ImageOptions, type Insets, type InsetsInput, type Interaction, type Key, LINE_HEIGHT, type Label, type LegendItem, type LegendOptions, type LineOptions, type LinearScale, type LinearScaleOptions, type LinearTicksOptions, type Locale, type LogScaleOptions, type MapData, type MapHit, type MapLayout, type MapLine, type MapMarker, type MapOptions, type MapRegion, type MapView, type NumberFormat, type NumberFormatOptions, type ParliamentOptions, type ParliamentParty, type PathOptions, type PercentageBarOptions, type PercentageBarSegment, type PieOptions, type PieSlice, type PluginInstance, type Point, type Props, type RadarOptions, type RadialAxisOptions, type Rect, type RenderContext, type RenderResult, type RenderToStringOptions, type ResolvedLegend, type SankeyData, type SankeyLink, type SankeyNode, type SankeyOptions, type ScatterOptions, type ScatterPoint, type ScatterSeries, type Series, type Size, type SparklineOptions, type StyleValue, type TableContext, type Tick, type TimeScale, type TimeScaleOptions, type TimeValue, type TooltipOptions, type TooltipPlacement, type TreemapNode, type TreemapOptions, VERSION, type VNode, type ValueAxisOptions, addMap, arcCentroid, arcPathStable, area, areaPath, axis, axisSize, band, bandTicks, bar, barPath, buildChart, calendar, cancel, candlestick, categoryInteraction, chartEvents, chartLabel, chartModel, chartToString, dataTable, defaultHidden, defaultPlugins, describeHit, domainOf, donut, download, downloadChart, escapeAttr, escapeText, estimateTextWidth, exportImage, exportSVG, extent, feature, features, flush, formatDate, formatDetail, formatNumber, formatTicks, funnel, gauge, getDateFormat, getNumberFormat, grid, h, hbarPath, heatmap, highlight, hitAnchor, hoverOverlay, hoverUnderlay, innerRect, insets, keyboard, legend, legendContent, line, linePath, linear, linearTicks, log, lttb, lttbIndices, map, niceDomain, normalizeClass, normalizeStyle, padAngleForGap, parliament, percentageBar, pie, placeTooltip, point, pointer, radar, register, render, renderChart, renderContext, renderToString, resolveLegend, resolveSize, sankey, scatter, schedule, seriesKey, seriesLegend, seriesTable, sparkline, stepPrecision, sync, tableContent, thinTicks, tickIncrement, tickStep, ticks, time, timePointScale, tooltip, tooltipContent, treemap };
package/dist/index.d.ts CHANGED
@@ -1,25 +1,29 @@
1
- import { a as InsetsInput, c as estimateTextWidth, i as Insets, l as innerRect, o as LINE_HEIGHT, s as Rect, t as Annotation, u as insets } from "./annotations-Bp7HwtF5.js";
2
- import { a as point, i as band, n as BandScale, r as BandScaleOptions, t as BandKey } from "./band-DTcNDAFO.js";
3
- import { a as ClassValue, c as StyleValue, d as normalizeClass, f as normalizeStyle, i as ChildInput, l as VNode, n as Attrs, o as Key, r as Child, s as Props, t as AttrValue, u as h } from "./vnode-BUflsBsa.js";
4
- import { $ as CartesianOptions, B as downloadChart, C as DownloadOption, Ct as HitTester, D as ChartPlugin, E as BeforeRenderState, F as register, H as exportSVG, I as DownloadOptions, J as LegendItem, L as ExportOptions, M as Features, N as feature, O as PluginInstance, P as features, Q as CartesianData, R as ExportTarget, S as DownloadMenuOptions, St as HitItem, T as AfterRenderState, V as exportImage, X as defaultHidden, Y as LegendOptions, Z as legendContent, _ as TooltipPlacement, _t as thinTicks, a as ChartType, at as domainOf, b as tooltipContent, bt as tableContent, c as Size, ct as seriesTable, d as chartLabel, dt as LinearTicksOptions, et as CategoryAxisOptions, f as chartToString, ft as Tick, g as TooltipOptions, gt as linearTicks, h as resolveSize, ht as bandTicks, i as ChartEvents, it as categoryInteraction, l as buildChart, lt as AxisOptions, m as resolveLegend, mt as axisSize, n as Chart$1, nt as Series, o as RenderContext, ot as seriesKey, p as renderContext, pt as axis, r as ChartConfig, rt as ValueAxisOptions, s as ResolvedLegend, st as seriesLegend, t as BaseOptions, tt as Label, u as chartEvents, ut as AxisPosition, v as hitAnchor, vt as DataTable, w as download, wt as Interaction, x as DownloadFormat, xt as Hit, y as placeTooltip, yt as describeHit, z as ImageOptions } from "./chart-DyN7bcx8.js";
5
- import { a as timePointScale, c as NumberFormat, d as formatDetail, f as formatNumber, g as stepPrecision, h as getNumberFormat, i as time, l as NumberFormatOptions, m as getDateFormat, n as TimeScaleOptions, o as DateFormat, p as formatTicks, r as TimeValue, s as Locale, t as TimeScale, u as formatDate } from "./time-CHjiY9Q4.js";
6
- import { a as linear, i as LinearScaleOptions, n as log, r as LinearScale, t as LogScaleOptions } from "./log-CaofN3-n.js";
7
- import { A as arcCentroid, C as keyboard, D as GridOptions, E as hoverUnderlay, M as padAngleForGap, O as grid, S as legend, T as hoverOverlay, _ as defaultPlugins, a as flush, b as sync, c as tickIncrement, d as extent, f as RenderToStringOptions, g as render, h as renderToString, i as cancel, j as arcPathStable, k as ArcOptions, l as tickStep, m as escapeText, n as barPath, o as schedule, p as escapeAttr, r as hbarPath, s as niceDomain, t as VERSION, u as ticks, v as tooltip, w as highlight, x as pointer, y as dataTable } from "./core-DcbemzGf.js";
8
- import { a as linePath, i as areaPath, n as PathOptions, r as Point, t as Curve } from "./path-CwB28da0.js";
9
- import { n as line, t as LineOptions } from "./line-CN4uZ9ZX.js";
10
- import { n as area, t as AreaOptions } from "./area-CF__HOwL.js";
11
- import { n as bar, t as BarOptions } from "./bar-BBM8RhoL.js";
12
- import { n as CandlestickOptions, r as candlestick, t as Candle } from "./candlestick-D_vV0_XZ.js";
13
- import { n as GaugeRing, r as gauge, t as GaugeOptions } from "./gauge-zpia05t2.js";
14
- import { n as HeatmapRange, r as heatmap, t as HeatmapOptions } from "./heatmap-BectCEeE.js";
15
- import { n as ParliamentParty, r as parliament, t as ParliamentOptions } from "./parliament-1Zv2Xh0D.js";
16
- import { i as pie, n as PieSlice, r as donut, t as PieOptions } from "./pie-5z1fDdKO.js";
17
- import { n as RadialAxisOptions, r as radar, t as RadarOptions } from "./radar-1-EryihA.js";
18
- import { a as sankey, i as SankeyOptions, n as SankeyLink, r as SankeyNode, t as SankeyData } from "./sankey-OV_WoPrl.js";
19
- import { i as scatter, n as ScatterPoint, r as ScatterSeries, t as ScatterOptions } from "./scatter-BqzgJqdX.js";
20
- import { n as sparkline, t as SparklineOptions } from "./sparkline-BfyO_oNM.js";
21
- import { n as lttbIndices, t as lttb } from "./decimate-BGg9XgF0.js";
22
- //#region src/chart-default.d.ts
1
+ import { a as InsetsInput, c as estimateTextWidth, i as Insets, l as innerRect, o as LINE_HEIGHT, s as Rect, t as Annotation, u as insets } from "./annotations-B02GR_KU.js";
2
+ import { a as point, i as band, n as BandScale, r as BandScaleOptions, t as BandKey } from "./band-CNKvdnTC.js";
3
+ import { a as ClassValue, c as StyleValue, d as normalizeClass, f as normalizeStyle, i as ChildInput, l as VNode, n as Attrs, o as Key, r as Child, s as Props, t as AttrValue, u as h } from "./vnode-Du2cC8Fm.js";
4
+ import { a as linear, i as LinearScaleOptions, n as log, r as LinearScale, t as LogScaleOptions } from "./log-CI41TmcU.js";
5
+ import { a as timePointScale, c as NumberFormat, d as formatDetail, f as formatNumber, g as stepPrecision, h as getNumberFormat, i as time, l as NumberFormatOptions, m as getDateFormat, n as TimeScaleOptions, o as DateFormat, p as formatTicks, r as TimeValue, s as Locale, t as TimeScale, u as formatDate } from "./time-DRIDgv2a.js";
6
+ import { n as lttbIndices, t as lttb } from "./decimate-Du87fMLG.js";
7
+ import { A as download, At as HitItem, B as features, C as TooltipPlacement, Ct as linearTicks, D as DownloadFormat, Dt as tableContent, E as tooltipContent, Et as describeHit, G as ImageOptions, H as DownloadOptions, J as exportSVG, K as downloadChart, M as BeforeRenderState, Mt as Interaction, N as ChartPlugin, O as DownloadMenuOptions, Ot as Highlight, P as PluginInstance, R as Features, S as TooltipOptions, St as bandTicks, T as placeTooltip, Tt as DataTable, U as ExportOptions, V as register, W as ExportTarget, _ as chartToString, _t as AxisPosition, a as ChartEvents, at as CartesianData, b as resolveLegend, bt as axis, c as RenderContext, ct as Label, d as Size, dt as categoryInteraction, f as TableContext, ft as domainOf, g as chartModel, gt as AxisOptions, h as chartLabel, ht as seriesTable, i as ChartConfig, it as legendContent, j as AfterRenderState, jt as HitTester, k as DownloadOption, kt as Hit, l as RenderResult, lt as Series, m as chartEvents, mt as seriesLegend, n as BuiltChart, nt as LegendOptions, o as ChartType, ot as CartesianOptions, p as buildChart, pt as seriesKey, q as exportImage, r as Chart$1, rt as defaultHidden, s as ContextOptions, st as CategoryAxisOptions, t as BaseOptions, tt as LegendItem, u as ResolvedLegend, ut as ValueAxisOptions, v as renderChart, vt as LinearTicksOptions, w as hitAnchor, wt as thinTicks, x as resolveSize, xt as axisSize, y as renderContext, yt as Tick, z as feature } from "./chart-CYrrUCi3.js";
8
+ import { a as linePath, i as areaPath, n as PathOptions, r as Point, t as Curve } from "./path-YeUiOfG8.js";
9
+ import { n as line, t as LineOptions } from "./line-Bpr5uVLQ.js";
10
+ import { n as area, t as AreaOptions } from "./area-DEFQm_SQ.js";
11
+ import { n as bar, t as BarOptions } from "./bar-D9B_arKf.js";
12
+ import { a as calendar, i as CalendarSeries, n as CalendarEntry, r as CalendarOptions, t as CalendarData } from "./calendar-Bq3vFzPl.js";
13
+ import { n as CandlestickOptions, r as candlestick, t as Candle } from "./candlestick-B3WcLzph.js";
14
+ import { n as FunnelStage, r as funnel, t as FunnelOptions } from "./funnel-BdcfUkb5.js";
15
+ import { n as GaugeRing, r as gauge, t as GaugeOptions } from "./gauge-Zy25jfps.js";
16
+ import { n as HeatmapRange, r as heatmap, t as HeatmapOptions } from "./heatmap-Jp5sHRTo.js";
17
+ import { a as MapOptions, c as map, i as MapMarker, l as MapLayout, n as MapHit, o as MapRegion, r as MapLine, s as addMap, t as MapData, u as MapView } from "./map-BMC61J-P.js";
18
+ import { n as ParliamentParty, r as parliament, t as ParliamentOptions } from "./parliament-Cz9n_DoK.js";
19
+ import { n as PercentageBarSegment, r as percentageBar, t as PercentageBarOptions } from "./percentage-bar-cSeiLdwU.js";
20
+ import { i as pie, n as PieSlice, r as donut, t as PieOptions } from "./pie-BQQkvy1N.js";
21
+ import { n as RadialAxisOptions, r as radar, t as RadarOptions } from "./radar-vLxilcr4.js";
22
+ import { a as sankey, i as SankeyOptions, n as SankeyLink, r as SankeyNode, t as SankeyData } from "./sankey-7As41Fo4.js";
23
+ import { i as scatter, n as ScatterPoint, r as ScatterSeries, t as ScatterOptions } from "./scatter-BXkXGgM_.js";
24
+ import { n as sparkline, t as SparklineOptions } from "./sparkline-BElUSd0r.js";
25
+ import { n as TreemapOptions, r as treemap, t as TreemapNode } from "./treemap-BCXUbixd.js";
26
+ import { A as arcCentroid, C as keyboard, D as GridOptions, E as hoverUnderlay, M as padAngleForGap, O as grid, S as legend, T as hoverOverlay, _ as defaultPlugins, a as flush, b as sync, c as tickIncrement, d as extent, f as RenderToStringOptions, g as render, h as renderToString, i as cancel, j as arcPathStable, k as ArcOptions, l as tickStep, m as escapeText, n as barPath, o as schedule, p as escapeAttr, r as hbarPath, s as niceDomain, t as VERSION, u as ticks, v as tooltip, w as highlight, x as pointer, y as dataTable } from "./core-C3qEppSm.js";
23
27
  /**
24
28
  * A chart with every built-in plugin installed: hover highlight, legend,
25
29
  * tooltip, data table and keyboard navigation. Each can be switched off in
@@ -31,16 +35,12 @@ import { n as lttbIndices, t as lttb } from "./decimate-BGg9XgF0.js";
31
35
  * ```
32
36
  */
33
37
  export declare class Chart<O extends object = object> extends Chart$1<O> {
34
- constructor(target: Element | string, config: ChartConfig<O>);
38
+ constructor(target: HTMLElement | string, config: ChartConfig<O>);
35
39
  }
36
- //#endregion
37
- //#region src/chart-types.d.ts
38
40
  /**
39
41
  * Every built-in chart type by its name, for charts declared in markup
40
42
  * (`<tabler-chart type="line">`, `data-tc-chart="line"`). Importing it
41
43
  * brings every type along: code that knows its types imports them directly.
42
44
  */
43
45
  export declare const types: Readonly<Record<string, ChartType<never>>>;
44
- //#endregion
45
- export { type AfterRenderState, type Annotation, type ArcOptions, type AreaOptions, type AttrValue, type Attrs, type AxisOptions, type AxisPosition, type BandKey, type BandScale, type BandScaleOptions, type BarOptions, type BaseOptions, type BeforeRenderState, type Candle, type CandlestickOptions, type CartesianData, type CartesianOptions, type CategoryAxisOptions, type ChartConfig, type ChartEvents, type ChartPlugin, type ChartType, type Child, type ChildInput, type ClassValue, type Curve, type DataTable, type DateFormat, type DownloadFormat, type DownloadMenuOptions, type DownloadOption, type DownloadOptions, type ExportOptions, type ExportTarget, type Features, type GaugeOptions, type GaugeRing, type GridOptions, type HeatmapOptions, type HeatmapRange, type Hit, type HitItem, type HitTester, type ImageOptions, type Insets, type InsetsInput, type Interaction, type Key, LINE_HEIGHT, type Label, type LegendItem, type LegendOptions, type LineOptions, type LinearScale, type LinearScaleOptions, type LinearTicksOptions, type Locale, type LogScaleOptions, type NumberFormat, type NumberFormatOptions, type ParliamentOptions, type ParliamentParty, type PathOptions, type PieOptions, type PieSlice, type PluginInstance, type Point, type Props, type RadarOptions, type RadialAxisOptions, type Rect, type RenderContext, type RenderToStringOptions, type ResolvedLegend, type SankeyData, type SankeyLink, type SankeyNode, type SankeyOptions, type ScatterOptions, type ScatterPoint, type ScatterSeries, type Series, type Size, type SparklineOptions, type StyleValue, type Tick, type TimeScale, type TimeScaleOptions, type TimeValue, type TooltipOptions, type TooltipPlacement, VERSION, type VNode, type ValueAxisOptions, arcCentroid, arcPathStable, area, areaPath, axis, axisSize, band, bandTicks, bar, barPath, buildChart, cancel, candlestick, categoryInteraction, chartEvents, chartLabel, chartToString, dataTable, defaultHidden, defaultPlugins, describeHit, domainOf, donut, download, downloadChart, escapeAttr, escapeText, estimateTextWidth, exportImage, exportSVG, extent, feature, features, flush, formatDate, formatDetail, formatNumber, formatTicks, gauge, getDateFormat, getNumberFormat, grid, h, hbarPath, heatmap, highlight, hitAnchor, hoverOverlay, hoverUnderlay, innerRect, insets, keyboard, legend, legendContent, line, linePath, linear, linearTicks, log, lttb, lttbIndices, niceDomain, normalizeClass, normalizeStyle, padAngleForGap, parliament, pie, placeTooltip, point, pointer, radar, register, render, renderContext, renderToString, resolveLegend, resolveSize, sankey, scatter, schedule, seriesKey, seriesLegend, seriesTable, sparkline, stepPrecision, sync, tableContent, thinTicks, tickIncrement, tickStep, ticks, time, timePointScale, tooltip, tooltipContent };
46
- //# sourceMappingURL=index.d.ts.map
46
+ export { type AfterRenderState, type Annotation, type ArcOptions, type AreaOptions, type AttrValue, type Attrs, type AxisOptions, type AxisPosition, type BandKey, type BandScale, type BandScaleOptions, type BarOptions, type BaseOptions, type BeforeRenderState, type BuiltChart, type CalendarData, type CalendarEntry, type CalendarOptions, type CalendarSeries, type Candle, type CandlestickOptions, type CartesianData, type CartesianOptions, type CategoryAxisOptions, type ChartConfig, type ChartEvents, type ChartPlugin, type ChartType, type Child, type ChildInput, type ClassValue, type ContextOptions, type Curve, type DataTable, type DateFormat, type DownloadFormat, type DownloadMenuOptions, type DownloadOption, type DownloadOptions, type ExportOptions, type ExportTarget, type Features, type FunnelOptions, type FunnelStage, type GaugeOptions, type GaugeRing, type GridOptions, type HeatmapOptions, type HeatmapRange, type Highlight, type Hit, type HitItem, type HitTester, type ImageOptions, type Insets, type InsetsInput, type Interaction, type Key, LINE_HEIGHT, type Label, type LegendItem, type LegendOptions, type LineOptions, type LinearScale, type LinearScaleOptions, type LinearTicksOptions, type Locale, type LogScaleOptions, type MapData, type MapHit, type MapLayout, type MapLine, type MapMarker, type MapOptions, type MapRegion, type MapView, type NumberFormat, type NumberFormatOptions, type ParliamentOptions, type ParliamentParty, type PathOptions, type PercentageBarOptions, type PercentageBarSegment, type PieOptions, type PieSlice, type PluginInstance, type Point, type Props, type RadarOptions, type RadialAxisOptions, type Rect, type RenderContext, type RenderResult, type RenderToStringOptions, type ResolvedLegend, type SankeyData, type SankeyLink, type SankeyNode, type SankeyOptions, type ScatterOptions, type ScatterPoint, type ScatterSeries, type Series, type Size, type SparklineOptions, type StyleValue, type TableContext, type Tick, type TimeScale, type TimeScaleOptions, type TimeValue, type TooltipOptions, type TooltipPlacement, type TreemapNode, type TreemapOptions, VERSION, type VNode, type ValueAxisOptions, addMap, arcCentroid, arcPathStable, area, areaPath, axis, axisSize, band, bandTicks, bar, barPath, buildChart, calendar, cancel, candlestick, categoryInteraction, chartEvents, chartLabel, chartModel, chartToString, dataTable, defaultHidden, defaultPlugins, describeHit, domainOf, donut, download, downloadChart, escapeAttr, escapeText, estimateTextWidth, exportImage, exportSVG, extent, feature, features, flush, formatDate, formatDetail, formatNumber, formatTicks, funnel, gauge, getDateFormat, getNumberFormat, grid, h, hbarPath, heatmap, highlight, hitAnchor, hoverOverlay, hoverUnderlay, innerRect, insets, keyboard, legend, legendContent, line, linePath, linear, linearTicks, log, lttb, lttbIndices, map, niceDomain, normalizeClass, normalizeStyle, padAngleForGap, parliament, percentageBar, pie, placeTooltip, point, pointer, radar, register, render, renderChart, renderContext, renderToString, resolveLegend, resolveSize, sankey, scatter, schedule, seriesKey, seriesLegend, seriesTable, sparkline, stepPrecision, sync, tableContent, thinTicks, tickIncrement, tickStep, ticks, time, timePointScale, tooltip, tooltipContent, treemap };