@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.
- package/README.md +92 -4
- package/dist/{annotations-Bp7HwtF5.d.ts → annotations-B02GR_KU.d.ts} +3 -8
- package/dist/{annotations-BszTTjf9.js → annotations-BQ8l-qHs.js} +6 -7
- package/dist/{annotations-BszTTjf9.js.map → annotations-BQ8l-qHs.js.map} +1 -1
- package/dist/{annotations-lyt0I3HU.d.cts → annotations-CHafaGd4.d.cts} +3 -8
- package/dist/{annotations-DpETO8dE.cjs → annotations-CpCWA29b.cjs} +6 -7
- package/dist/{annotations-DpETO8dE.cjs.map → annotations-CpCWA29b.cjs.map} +1 -1
- package/dist/annotations.cjs +3 -5
- package/dist/annotations.cjs.map +1 -1
- package/dist/annotations.d.cts +2 -1
- package/dist/annotations.d.ts +2 -1
- package/dist/annotations.js +3 -4
- package/dist/{arc-a1tRTEw7.js → arc-B3V5IR0w.js} +2 -3
- package/dist/{arc-a1tRTEw7.js.map → arc-B3V5IR0w.js.map} +1 -1
- package/dist/{arc-BXpLrt9b.cjs → arc-CYhI62kO.cjs} +2 -3
- package/dist/{arc-BXpLrt9b.cjs.map → arc-CYhI62kO.cjs.map} +1 -1
- package/dist/{area-CF__HOwL.d.ts → area-DEFQm_SQ.d.ts} +3 -6
- package/dist/{area-sHCE3pg5.cjs → area-DYdQ_sMV.cjs} +5 -6
- package/dist/{area-sHCE3pg5.cjs.map → area-DYdQ_sMV.cjs.map} +1 -1
- package/dist/{area-DQsLERhx.js → area-WdtfqvhX.js} +5 -6
- package/dist/{area-DQsLERhx.js.map → area-WdtfqvhX.js.map} +1 -1
- package/dist/{area-DIxaAbYZ.d.cts → area-h_FvieFb.d.cts} +3 -6
- package/dist/area.cjs +1 -1
- package/dist/area.d.cts +2 -1
- package/dist/area.d.ts +2 -1
- package/dist/area.js +1 -2
- package/dist/axis-MMaVoSWB.js +235 -0
- package/dist/axis-MMaVoSWB.js.map +1 -0
- package/dist/axis-YfAerNBA.cjs +300 -0
- package/dist/axis-YfAerNBA.cjs.map +1 -0
- package/dist/{band-DTcNDAFO.d.ts → band-CNKvdnTC.d.cts} +1 -4
- package/dist/{band-DTcNDAFO.d.cts → band-CNKvdnTC.d.ts} +1 -4
- package/dist/{bar-jZEoao74.js → bar-BOcRcArc.js} +80 -62
- package/dist/bar-BOcRcArc.js.map +1 -0
- package/dist/{bar-C-7zR2qp.cjs → bar-CVkOJ7WA.cjs} +82 -64
- package/dist/bar-CVkOJ7WA.cjs.map +1 -0
- package/dist/{bar-DM16NUvV.js → bar-CgpC2EpX.js} +3 -4
- package/dist/{bar-DM16NUvV.js.map → bar-CgpC2EpX.js.map} +1 -1
- package/dist/{bar-BBM8RhoL.d.ts → bar-D9B_arKf.d.ts} +4 -7
- package/dist/{bar-CRKLDg98.d.cts → bar-DZCQ-kyf.d.cts} +4 -7
- package/dist/{bar-DGuUN3nc.cjs → bar-wVykm1us.cjs} +3 -4
- package/dist/{bar-DGuUN3nc.cjs.map → bar-wVykm1us.cjs.map} +1 -1
- package/dist/bar.cjs +1 -1
- package/dist/bar.d.cts +2 -1
- package/dist/bar.d.ts +2 -1
- package/dist/bar.js +1 -2
- package/dist/calendar-BSvO8nRb.d.cts +106 -0
- package/dist/calendar-BXgIX5H1.js +502 -0
- package/dist/calendar-BXgIX5H1.js.map +1 -0
- package/dist/calendar-Bq3vFzPl.d.ts +106 -0
- package/dist/calendar-DAFXjV99.cjs +507 -0
- package/dist/calendar-DAFXjV99.cjs.map +1 -0
- package/dist/calendar.cjs +3 -0
- package/dist/calendar.d.cts +3 -0
- package/dist/calendar.d.ts +3 -0
- package/dist/calendar.js +1 -0
- package/dist/{candlestick-D_vV0_XZ.d.ts → candlestick-B3WcLzph.d.ts} +3 -6
- package/dist/{candlestick-__pXl_pV.d.cts → candlestick-BcomxeVG.d.cts} +3 -6
- package/dist/{candlestick-DuXwAFID.js → candlestick-BtT9glp9.js} +19 -18
- package/dist/{candlestick-DuXwAFID.js.map → candlestick-BtT9glp9.js.map} +1 -1
- package/dist/{candlestick-B5r1w3kc.cjs → candlestick-CSmRuZ4v.cjs} +19 -18
- package/dist/{candlestick-B5r1w3kc.cjs.map → candlestick-CSmRuZ4v.cjs.map} +1 -1
- package/dist/candlestick.cjs +4 -5
- package/dist/candlestick.d.cts +1 -1
- package/dist/candlestick.d.ts +1 -1
- package/dist/candlestick.js +4 -6
- package/dist/{cartesian-Cr0AF0nG.js → cartesian-BrPqb5Qn.js} +138 -264
- package/dist/cartesian-BrPqb5Qn.js.map +1 -0
- package/dist/{cartesian-BoDfgBCV.cjs → cartesian-DRSXHxWe.cjs} +162 -324
- package/dist/cartesian-DRSXHxWe.cjs.map +1 -0
- package/dist/{chart-BF2CK9I_.js → chart-B6TTY4Kr.js} +120 -77
- package/dist/chart-B6TTY4Kr.js.map +1 -0
- package/dist/{chart-DyN7bcx8.d.ts → chart-CYrrUCi3.d.ts} +222 -102
- package/dist/{chart-D7ooEFnk.d.cts → chart-CbPzP5Dp.d.cts} +248 -102
- package/dist/{chart-CowF_lWY.cjs → chart-D_lyOy-M.cjs} +132 -83
- package/dist/chart-D_lyOy-M.cjs.map +1 -0
- package/dist/{circle-BQMuAfls.cjs → circle-Bwxy5j7B.cjs} +2 -3
- package/dist/{circle-BQMuAfls.cjs.map → circle-Bwxy5j7B.cjs.map} +1 -1
- package/dist/{circle-Z7YfCoCM.js → circle-YRDaOBpk.js} +2 -3
- package/dist/{circle-Z7YfCoCM.js.map → circle-YRDaOBpk.js.map} +1 -1
- package/dist/{clean-o1vDEhFV.js → clean-CkoQobGv.js} +3 -4
- package/dist/{clean-o1vDEhFV.js.map → clean-CkoQobGv.js.map} +1 -1
- package/dist/{clean-Byl6kzf0.cjs → clean-Die2iCNc.cjs} +8 -3
- package/dist/{clean-Byl6kzf0.cjs.map → clean-Die2iCNc.cjs.map} +1 -1
- package/dist/{core-D1vO1LrC.d.cts → core-9BnLEW4K.d.cts} +31 -72
- package/dist/{core-DcbemzGf.d.ts → core-C3qEppSm.d.ts} +10 -46
- package/dist/{core-CegR_j55.js → core-CQ0FaJ4G.js} +138 -99
- package/dist/core-CQ0FaJ4G.js.map +1 -0
- package/dist/{core-RzS9IQO5.cjs → core-D2PSked3.cjs} +139 -100
- package/dist/core-D2PSked3.cjs.map +1 -0
- package/dist/core.cjs +47 -33
- package/dist/core.d.cts +26 -21
- package/dist/core.d.ts +26 -21
- package/dist/core.js +31 -25
- package/dist/{dates-CG-FvioW.js → dates-DLe2Ww64.js} +4 -5
- package/dist/{dates-CG-FvioW.js.map → dates-DLe2Ww64.js.map} +1 -1
- package/dist/{dates-Btm7Zm6W.cjs → dates-DerXTb1J.cjs} +4 -5
- package/dist/{dates-Btm7Zm6W.cjs.map → dates-DerXTb1J.cjs.map} +1 -1
- package/dist/{decimate-tLhDk1ys.cjs → decimate-BS3x8g-f.cjs} +2 -3
- package/dist/{decimate-tLhDk1ys.cjs.map → decimate-BS3x8g-f.cjs.map} +1 -1
- package/dist/{decimate-BGg9XgF0.d.ts → decimate-BxxYBJJk.d.cts} +2 -5
- package/dist/{decimate-C87cl_Sp.js → decimate-CapfgiDY.js} +2 -3
- package/dist/{decimate-C87cl_Sp.js.map → decimate-CapfgiDY.js.map} +1 -1
- package/dist/{decimate-CNSpgGa5.d.cts → decimate-Du87fMLG.d.ts} +2 -5
- package/dist/decimate.cjs +3 -4
- package/dist/decimate.d.cts +1 -1
- package/dist/decimate.d.ts +1 -1
- package/dist/decimate.js +3 -4
- package/dist/{dom-CLF868Qs.cjs → dom-C33zvtPo.cjs} +5 -11
- package/dist/dom-C33zvtPo.cjs.map +1 -0
- package/dist/{dom-vP3IcMak.js → dom-CTse6Rvd.js} +5 -11
- package/dist/dom-CTse6Rvd.js.map +1 -0
- package/dist/{export-chart-BhhYgksr.cjs → export-chart-CPtXmZvi.cjs} +18 -14
- package/dist/export-chart-CPtXmZvi.cjs.map +1 -0
- package/dist/{export-chart-9w8t3rjZ.js → export-chart-DoeiAyR2.js} +18 -14
- package/dist/export-chart-DoeiAyR2.js.map +1 -0
- package/dist/export.cjs +3 -5
- package/dist/export.cjs.map +1 -1
- package/dist/export.d.cts +8 -1
- package/dist/export.d.ts +8 -1
- package/dist/export.js +3 -4
- package/dist/{extent-BAMZo0Nq.js → extent-DOV8rs-6.js} +2 -3
- package/dist/{extent-BAMZo0Nq.js.map → extent-DOV8rs-6.js.map} +1 -1
- package/dist/{extent-DsFWvAHJ.cjs → extent-DuYDcvM9.cjs} +2 -3
- package/dist/{extent-DsFWvAHJ.cjs.map → extent-DuYDcvM9.cjs.map} +1 -1
- package/dist/{fade-D3NxH5Qg.js → fade-CDrQjnDz.js} +59 -83
- package/dist/fade-CDrQjnDz.js.map +1 -0
- package/dist/{fade-Cs74puQS.cjs → fade-CRqcKMWY.cjs} +59 -83
- package/dist/fade-CRqcKMWY.cjs.map +1 -0
- package/dist/{features-wASyHGic.js → features-B55rwpQC.js} +5 -4
- package/dist/features-B55rwpQC.js.map +1 -0
- package/dist/{features-BclHgg2W.cjs → features-DEDP5CEQ.cjs} +10 -3
- package/dist/features-DEDP5CEQ.cjs.map +1 -0
- package/dist/fit-BPyPRnsK.js +16 -0
- package/dist/fit-BPyPRnsK.js.map +1 -0
- package/dist/fit-D4MIIQQz.cjs +21 -0
- package/dist/fit-D4MIIQQz.cjs.map +1 -0
- package/dist/{format-B0yKXBTH.cjs → format-CAE5ruy6.cjs} +2 -3
- package/dist/{format-B0yKXBTH.cjs.map → format-CAE5ruy6.cjs.map} +1 -1
- package/dist/{format-lStwuc1L.js → format-it1kepFG.js} +2 -3
- package/dist/{format-lStwuc1L.js.map → format-it1kepFG.js.map} +1 -1
- package/dist/funnel-BdcfUkb5.d.ts +50 -0
- package/dist/funnel-CFEEulw_.cjs +244 -0
- package/dist/funnel-CFEEulw_.cjs.map +1 -0
- package/dist/funnel-CYCv8cq2.js +239 -0
- package/dist/funnel-CYCv8cq2.js.map +1 -0
- package/dist/funnel-CarOh8w_.d.cts +50 -0
- package/dist/funnel.cjs +3 -0
- package/dist/funnel.d.cts +3 -0
- package/dist/funnel.d.ts +3 -0
- package/dist/funnel.js +1 -0
- package/dist/{gauge-D-FYhuds.cjs → gauge-6HfDcLMJ.cjs} +35 -36
- package/dist/gauge-6HfDcLMJ.cjs.map +1 -0
- package/dist/{gauge-Dh423FHh.js → gauge-DiTk5aWO.js} +35 -36
- package/dist/gauge-DiTk5aWO.js.map +1 -0
- package/dist/{gauge-zpia05t2.d.ts → gauge-Ds9k1UV2.d.cts} +5 -8
- package/dist/{gauge-DP_EB2z3.d.cts → gauge-Zy25jfps.d.ts} +5 -8
- package/dist/gauge.cjs +1 -1
- package/dist/gauge.d.cts +2 -1
- package/dist/gauge.d.ts +2 -1
- package/dist/gauge.js +1 -2
- package/dist/{heatmap-DSZ2bVIa.js → heatmap-C1v8bwpq.js} +43 -43
- package/dist/heatmap-C1v8bwpq.js.map +1 -0
- package/dist/{heatmap-BectCEeE.d.ts → heatmap-CJ-0dfhJ.d.cts} +4 -7
- package/dist/{heatmap-BK18EBgJ.cjs → heatmap-Dcc_bsoQ.cjs} +47 -47
- package/dist/heatmap-Dcc_bsoQ.cjs.map +1 -0
- package/dist/{heatmap-CCso6m61.d.cts → heatmap-Jp5sHRTo.d.ts} +4 -7
- package/dist/heatmap.cjs +1 -1
- package/dist/heatmap.d.cts +2 -1
- package/dist/heatmap.d.ts +2 -1
- package/dist/heatmap.js +1 -2
- package/dist/{hydrate-DDNIHYv_.js → hydrate-BB3MlR36.js} +3 -4
- package/dist/{hydrate-DDNIHYv_.js.map → hydrate-BB3MlR36.js.map} +1 -1
- package/dist/{hydrate-CzfxLfTv.d.ts → hydrate-BtAZf_5K.d.cts} +2 -5
- package/dist/{hydrate-CTTmQy0x.d.cts → hydrate-OjM1pIUG.d.ts} +2 -5
- package/dist/{hydrate-CxwTXDqO.cjs → hydrate-m0I5m6ue.cjs} +3 -4
- package/dist/hydrate-m0I5m6ue.cjs.map +1 -0
- package/dist/hydrate.cjs +3 -4
- package/dist/hydrate.cjs.map +1 -1
- package/dist/hydrate.d.cts +1 -1
- package/dist/hydrate.d.ts +1 -1
- package/dist/hydrate.js +3 -4
- package/dist/index.cjs +72 -56
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -28
- package/dist/index.d.ts +28 -28
- package/dist/index.js +52 -44
- package/dist/index.js.map +1 -1
- package/dist/interaction-DXYSjgnP.cjs +32 -0
- package/dist/interaction-DXYSjgnP.cjs.map +1 -0
- package/dist/interaction-En1KlwFO.js +21 -0
- package/dist/interaction-En1KlwFO.js.map +1 -0
- package/dist/{layout-CtMBhNd9.cjs → layout-Cfg9x1k2.cjs} +45 -3
- package/dist/layout-Cfg9x1k2.cjs.map +1 -0
- package/dist/{layout-B3hiqVEw.js → layout-DqAte3H8.js} +34 -4
- package/dist/layout-DqAte3H8.js.map +1 -0
- package/dist/{line-CN4uZ9ZX.d.ts → line-Bpr5uVLQ.d.ts} +4 -7
- package/dist/{line-B3Ed6u7j.js → line-CxR4tg1Q.js} +49 -38
- package/dist/line-CxR4tg1Q.js.map +1 -0
- package/dist/{line-fQbtP_jL.cjs → line-YiCuhVMI.cjs} +49 -38
- package/dist/line-YiCuhVMI.cjs.map +1 -0
- package/dist/{line-W7VD_qs1.d.cts → line-vyWO030v.d.cts} +4 -7
- package/dist/line.cjs +4 -5
- package/dist/line.cjs.map +1 -1
- package/dist/line.d.cts +1 -1
- package/dist/line.d.ts +1 -1
- package/dist/line.js +4 -6
- package/dist/{log-CaofN3-n.d.ts → log-CI41TmcU.d.cts} +1 -6
- package/dist/{log-CaofN3-n.d.cts → log-CI41TmcU.d.ts} +1 -6
- package/dist/{log-axis-83rSpvL5.cjs → log-axis-DdRNyAq8.cjs} +6 -8
- package/dist/{log-axis-83rSpvL5.cjs.map → log-axis-DdRNyAq8.cjs.map} +1 -1
- package/dist/{log-axis-B_uvvOFc.js → log-axis-DhthtHFk.js} +6 -8
- package/dist/{log-axis-B_uvvOFc.js.map → log-axis-DhthtHFk.js.map} +1 -1
- package/dist/log.cjs +3 -5
- package/dist/log.cjs.map +1 -1
- package/dist/log.d.cts +1 -1
- package/dist/log.d.ts +1 -1
- package/dist/log.js +3 -4
- package/dist/map-49FcfdmJ.d.cts +156 -0
- package/dist/map-BMC61J-P.d.ts +156 -0
- package/dist/map-BqrZ80vT.cjs +818 -0
- package/dist/map-BqrZ80vT.cjs.map +1 -0
- package/dist/map-C15NC7kW.js +807 -0
- package/dist/map-C15NC7kW.js.map +1 -0
- package/dist/map.cjs +4 -0
- package/dist/map.d.cts +3 -0
- package/dist/map.d.ts +3 -0
- package/dist/map.js +1 -0
- package/dist/maps/world.cjs +875 -0
- package/dist/maps/world.cjs.map +1 -0
- package/dist/maps/world.d.cts +2 -0
- package/dist/maps/world.d.ts +2 -0
- package/dist/maps/world.js +874 -0
- package/dist/maps/world.js.map +1 -0
- package/dist/{morph-CqYDu1bY.cjs → morph-3I1Nf_tR.cjs} +4 -5
- package/dist/morph-3I1Nf_tR.cjs.map +1 -0
- package/dist/{morph-BMxz3X2b.d.ts → morph-Dh7gJkV4.d.cts} +1 -4
- package/dist/{morph-BMxz3X2b.d.cts → morph-Dh7gJkV4.d.ts} +1 -4
- package/dist/{morph-Bgg-24l8.js → morph-GfBab-b3.js} +4 -5
- package/dist/{morph-Bgg-24l8.js.map → morph-GfBab-b3.js.map} +1 -1
- package/dist/morph.cjs +3 -4
- package/dist/morph.cjs.map +1 -1
- package/dist/morph.d.cts +1 -1
- package/dist/morph.d.ts +1 -1
- package/dist/morph.js +3 -4
- package/dist/{named-BWWb5LQJ.cjs → named-BBASc8dW.cjs} +2 -3
- package/dist/{named-BWWb5LQJ.cjs.map → named-BBASc8dW.cjs.map} +1 -1
- package/dist/{named-DE15TOgh.js → named-BOiBah6I.js} +2 -3
- package/dist/{named-DE15TOgh.js.map → named-BOiBah6I.js.map} +1 -1
- package/dist/others-DBIGE6jr.js +57 -0
- package/dist/others-DBIGE6jr.js.map +1 -0
- package/dist/others-DBO4Kjwl.d.ts +29 -0
- package/dist/others-WfjCsjqT.cjs +68 -0
- package/dist/others-WfjCsjqT.cjs.map +1 -0
- package/dist/others-ls5eKtZ4.d.cts +31 -0
- package/dist/{parliament-Dw0sOERi.js → parliament-BKN6ikBJ.js} +36 -36
- package/dist/parliament-BKN6ikBJ.js.map +1 -0
- package/dist/{parliament-1Zv2Xh0D.d.ts → parliament-C7V8UJj1.d.cts} +5 -8
- package/dist/{parliament-DdrLVZwt.d.cts → parliament-Cz9n_DoK.d.ts} +5 -8
- package/dist/{parliament-CpWnoEvG.cjs → parliament-DhxAaIZ3.cjs} +36 -36
- package/dist/parliament-DhxAaIZ3.cjs.map +1 -0
- package/dist/parliament.cjs +1 -1
- package/dist/parliament.d.cts +2 -1
- package/dist/parliament.d.ts +2 -1
- package/dist/parliament.js +1 -2
- package/dist/{path-CwB28da0.d.ts → path-YeUiOfG8.d.cts} +1 -4
- package/dist/{path-CwB28da0.d.cts → path-YeUiOfG8.d.ts} +1 -4
- package/dist/{patterns-DtgcnA8o.js → patterns-BMUINoka.js} +4 -5
- package/dist/{patterns-DtgcnA8o.js.map → patterns-BMUINoka.js.map} +1 -1
- package/dist/{patterns-LfcQAWCy.cjs → patterns-Dw7OMD_2.cjs} +4 -5
- package/dist/{patterns-LfcQAWCy.cjs.map → patterns-Dw7OMD_2.cjs.map} +1 -1
- package/dist/patterns.cjs +3 -5
- package/dist/patterns.cjs.map +1 -1
- package/dist/patterns.d.cts +5 -1
- package/dist/patterns.d.ts +5 -1
- package/dist/patterns.js +3 -4
- package/dist/percentage-bar-BChkTRoz.cjs +164 -0
- package/dist/percentage-bar-BChkTRoz.cjs.map +1 -0
- package/dist/percentage-bar-CaInxrL8.js +159 -0
- package/dist/percentage-bar-CaInxrL8.js.map +1 -0
- package/dist/percentage-bar-R1--2grK.d.cts +58 -0
- package/dist/percentage-bar-cSeiLdwU.d.ts +58 -0
- package/dist/percentage-bar.cjs +3 -0
- package/dist/percentage-bar.d.cts +3 -0
- package/dist/percentage-bar.d.ts +3 -0
- package/dist/percentage-bar.js +1 -0
- package/dist/{pie-BF9yI5mE.d.cts → pie-BQQkvy1N.d.ts} +11 -11
- package/dist/{pie-DzUXDTcn.js → pie-Bd8wyrtY.js} +52 -55
- package/dist/pie-Bd8wyrtY.js.map +1 -0
- package/dist/{pie-BxTZt6Go.cjs → pie-BseZlCgP.cjs} +52 -55
- package/dist/pie-BseZlCgP.cjs.map +1 -0
- package/dist/{pie-5z1fDdKO.d.ts → pie-vD5-g8je.d.cts} +11 -11
- package/dist/pie.cjs +1 -1
- package/dist/pie.d.cts +2 -1
- package/dist/pie.d.ts +2 -1
- package/dist/pie.js +1 -2
- package/dist/{point-shapes-CGl4dugc.cjs → point-shapes-BRawRM78.cjs} +24 -24
- package/dist/point-shapes-BRawRM78.cjs.map +1 -0
- package/dist/{point-shapes-DI84NNpI.js → point-shapes-DI6GhcI7.js} +19 -25
- package/dist/point-shapes-DI6GhcI7.js.map +1 -0
- package/dist/point-shapes.cjs +7 -6
- package/dist/point-shapes.cjs.map +1 -1
- package/dist/point-shapes.d.cts +6 -2
- package/dist/point-shapes.d.ts +6 -2
- package/dist/point-shapes.js +8 -7
- package/dist/point-shapes.js.map +1 -1
- package/dist/{radar-1-EryihA.d.ts → radar-7I6hsY_h.d.cts} +4 -7
- package/dist/{radar-CYPab_I4.js → radar-D6XqkFWQ.js} +25 -27
- package/dist/radar-D6XqkFWQ.js.map +1 -0
- package/dist/{radar-CoGUNNSb.cjs → radar-DjISDnSf.cjs} +26 -28
- package/dist/radar-DjISDnSf.cjs.map +1 -0
- package/dist/{radar-DBW4O0Vt.d.cts → radar-vLxilcr4.d.ts} +4 -7
- package/dist/radar.cjs +1 -1
- package/dist/radar.d.cts +2 -1
- package/dist/radar.d.ts +2 -1
- package/dist/radar.js +1 -2
- package/dist/rect-CZTNvMlf.js +11 -0
- package/dist/rect-CZTNvMlf.js.map +1 -0
- package/dist/rect-DPr9QRxl.cjs +16 -0
- package/dist/rect-DPr9QRxl.cjs.map +1 -0
- package/dist/{sankey-Bacx4fVe.cjs → sankey-0CSp_Er9.cjs} +100 -95
- package/dist/sankey-0CSp_Er9.cjs.map +1 -0
- package/dist/{sankey-OV_WoPrl.d.ts → sankey-7As41Fo4.d.ts} +4 -7
- package/dist/{sankey-B4PNKusJ.js → sankey-Dp4CuLVe.js} +100 -95
- package/dist/sankey-Dp4CuLVe.js.map +1 -0
- package/dist/{sankey-DuGI3Qc5.d.cts → sankey-DqiuxUx7.d.cts} +4 -7
- package/dist/sankey.cjs +1 -1
- package/dist/sankey.d.cts +2 -1
- package/dist/sankey.d.ts +2 -1
- package/dist/sankey.js +1 -2
- package/dist/{scatter-DbxLyZX0.d.cts → scatter-BXkXGgM_.d.ts} +14 -9
- package/dist/{scatter-DgMN9zRy.cjs → scatter-Bwkblr4L.cjs} +47 -42
- package/dist/scatter-Bwkblr4L.cjs.map +1 -0
- package/dist/{scatter-kgtgR318.js → scatter-DCMAtt5L.js} +45 -40
- package/dist/scatter-DCMAtt5L.js.map +1 -0
- package/dist/{scatter-BqzgJqdX.d.ts → scatter-DL0zAV09.d.cts} +14 -9
- package/dist/scatter.cjs +1 -1
- package/dist/scatter.d.cts +2 -1
- package/dist/scatter.d.ts +2 -1
- package/dist/scatter.js +1 -2
- package/dist/{sparkline-BfyO_oNM.d.ts → sparkline-BElUSd0r.d.ts} +5 -8
- package/dist/{sparkline-BS9-hltA.cjs → sparkline-BMSuEPHP.cjs} +22 -23
- package/dist/sparkline-BMSuEPHP.cjs.map +1 -0
- package/dist/{sparkline-BQzt27Fr.js → sparkline-NDmq90kP.js} +22 -23
- package/dist/sparkline-NDmq90kP.js.map +1 -0
- package/dist/{sparkline-CWlJDKyh.d.cts → sparkline-RYly7bR0.d.cts} +5 -8
- package/dist/sparkline.cjs +1 -1
- package/dist/sparkline.d.cts +2 -1
- package/dist/sparkline.d.ts +2 -1
- package/dist/sparkline.js +1 -2
- package/dist/{stack-DVhJWaki.cjs → stack-BO4624CY.cjs} +3 -4
- package/dist/{stack-DVhJWaki.cjs.map → stack-BO4624CY.cjs.map} +1 -1
- package/dist/{stack-CpR6RGKd.d.ts → stack-BTWYIwLO.d.cts} +2 -4
- package/dist/{stack-CpR6RGKd.d.cts → stack-DR0eQTsB.d.ts} +1 -4
- package/dist/{stack-DRbwTeF3.js → stack-jVKvg2x_.js} +3 -4
- package/dist/{stack-DRbwTeF3.js.map → stack-jVKvg2x_.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{sweep-CbfR7--d.js → sweep-BpRPlhs6.js} +5 -6
- package/dist/{sweep-CbfR7--d.js.map → sweep-BpRPlhs6.js.map} +1 -1
- package/dist/{sweep-DaTEDDuC.cjs → sweep-Dnp6LDBz.cjs} +5 -6
- package/dist/sweep-Dnp6LDBz.cjs.map +1 -0
- package/dist/{time-CNVnt-B2.d.cts → time-B4oxWHQI.d.cts} +2 -7
- package/dist/{time-CHjiY9Q4.d.ts → time-DRIDgv2a.d.ts} +2 -7
- package/dist/{time-axis-VSX34_Tb.cjs → time-axis-B3VekUfX.cjs} +11 -11
- package/dist/{time-axis-VSX34_Tb.cjs.map → time-axis-B3VekUfX.cjs.map} +1 -1
- package/dist/{time-axis-Bc9eHX1r.js → time-axis-CLjqOakA.js} +10 -10
- package/dist/{time-axis-Bc9eHX1r.js.map → time-axis-CLjqOakA.js.map} +1 -1
- package/dist/time.cjs +4 -6
- package/dist/time.cjs.map +1 -1
- package/dist/time.d.cts +1 -1
- package/dist/time.d.ts +1 -1
- package/dist/time.js +4 -5
- package/dist/treemap-25vHO_UK.d.cts +65 -0
- package/dist/treemap-BCXUbixd.d.ts +65 -0
- package/dist/treemap-C4glsx-g.js +293 -0
- package/dist/treemap-C4glsx-g.js.map +1 -0
- package/dist/treemap-CZk8kKFD.cjs +298 -0
- package/dist/treemap-CZk8kKFD.cjs.map +1 -0
- package/dist/treemap.cjs +3 -0
- package/dist/treemap.d.cts +3 -0
- package/dist/treemap.d.ts +3 -0
- package/dist/treemap.js +1 -0
- package/dist/{tween-BCYd0RTY.js → tween-BdQqUmmv.js} +2 -3
- package/dist/{tween-BCYd0RTY.js.map → tween-BdQqUmmv.js.map} +1 -1
- package/dist/{tween-CIGBlryn.cjs → tween-c3aOmfKE.cjs} +2 -3
- package/dist/{tween-CIGBlryn.cjs.map → tween-c3aOmfKE.cjs.map} +1 -1
- package/dist/{value-labels-IZIQPhfk.js → value-labels-C7GrhOXJ.js} +30 -10
- package/dist/value-labels-C7GrhOXJ.js.map +1 -0
- package/dist/{value-labels-B0WJoJ7x.cjs → value-labels-DzaKIWKp.cjs} +30 -10
- package/dist/value-labels-DzaKIWKp.cjs.map +1 -0
- package/dist/value-labels.cjs +3 -5
- package/dist/value-labels.cjs.map +1 -1
- package/dist/value-labels.d.cts +5 -1
- package/dist/value-labels.d.ts +5 -1
- package/dist/value-labels.js +3 -4
- package/dist/{vnode-CkQ27Cxe.cjs → vnode-ClAiw28x.cjs} +2 -3
- package/dist/{vnode-CkQ27Cxe.cjs.map → vnode-ClAiw28x.cjs.map} +1 -1
- package/dist/{vnode-BUflsBsa.d.ts → vnode-Du2cC8Fm.d.cts} +1 -4
- package/dist/{vnode-BUflsBsa.d.cts → vnode-Du2cC8Fm.d.ts} +1 -4
- package/dist/{vnode-tCWItoUH.js → vnode-_EMUqysL.js} +2 -3
- package/dist/{vnode-tCWItoUH.js.map → vnode-_EMUqysL.js.map} +1 -1
- package/package.json +94 -214
- package/dist/bar-C-7zR2qp.cjs.map +0 -1
- package/dist/bar-jZEoao74.js.map +0 -1
- package/dist/cartesian-BoDfgBCV.cjs.map +0 -1
- package/dist/cartesian-Cr0AF0nG.js.map +0 -1
- package/dist/chart-BF2CK9I_.js.map +0 -1
- package/dist/chart-CowF_lWY.cjs.map +0 -1
- package/dist/core-CegR_j55.js.map +0 -1
- package/dist/core-RzS9IQO5.cjs.map +0 -1
- package/dist/dom-CLF868Qs.cjs.map +0 -1
- package/dist/dom-vP3IcMak.js.map +0 -1
- package/dist/export-chart-9w8t3rjZ.js.map +0 -1
- package/dist/export-chart-BhhYgksr.cjs.map +0 -1
- package/dist/fade-Cs74puQS.cjs.map +0 -1
- package/dist/fade-D3NxH5Qg.js.map +0 -1
- package/dist/features-BclHgg2W.cjs.map +0 -1
- package/dist/features-wASyHGic.js.map +0 -1
- package/dist/gauge-D-FYhuds.cjs.map +0 -1
- package/dist/gauge-Dh423FHh.js.map +0 -1
- package/dist/heatmap-BK18EBgJ.cjs.map +0 -1
- package/dist/heatmap-DSZ2bVIa.js.map +0 -1
- package/dist/hydrate-CxwTXDqO.cjs.map +0 -1
- package/dist/layout-B3hiqVEw.js.map +0 -1
- package/dist/layout-CtMBhNd9.cjs.map +0 -1
- package/dist/line-B3Ed6u7j.js.map +0 -1
- package/dist/line-fQbtP_jL.cjs.map +0 -1
- package/dist/morph-CqYDu1bY.cjs.map +0 -1
- package/dist/parliament-CpWnoEvG.cjs.map +0 -1
- package/dist/parliament-Dw0sOERi.js.map +0 -1
- package/dist/pie-BxTZt6Go.cjs.map +0 -1
- package/dist/pie-DzUXDTcn.js.map +0 -1
- package/dist/point-shapes-CGl4dugc.cjs.map +0 -1
- package/dist/point-shapes-DI84NNpI.js.map +0 -1
- package/dist/radar-CYPab_I4.js.map +0 -1
- package/dist/radar-CoGUNNSb.cjs.map +0 -1
- package/dist/sankey-B4PNKusJ.js.map +0 -1
- package/dist/sankey-Bacx4fVe.cjs.map +0 -1
- package/dist/scatter-DgMN9zRy.cjs.map +0 -1
- package/dist/scatter-kgtgR318.js.map +0 -1
- package/dist/sparkline-BQzt27Fr.js.map +0 -1
- package/dist/sparkline-BS9-hltA.cjs.map +0 -1
- package/dist/sweep-DaTEDDuC.cjs.map +0 -1
- package/dist/value-labels-B0WJoJ7x.cjs.map +0 -1
- package/dist/value-labels-IZIQPhfk.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-
|
|
1
|
+
{"version":3,"file":"clean-CkoQobGv.js","names":[],"sources":["../src/charts/clean.ts"],"sourcesContent":["/**\n * Data from users, APIs and JSON is often not what the types say. Each chart\n * type cleans its data as it comes in, annotations as they render, axis bounds where read\n * (`ChartType.clean`): numbers\n * that are not finite become gaps, names become text, colors that are not\n * strings are dropped, and lists or records of the wrong kind are left out.\n * What is already clean keeps its identity, so large arrays are not copied.\n */\nimport type { Label } from './cartesian.ts'\n\ntype Rec = Record<string, unknown>\n\n/**\n * A number the chart can draw, or `null`: finite and at most 1e300 in size, so\n * spans stay finite; below 1e-300 it is 0, so tick steps do not underflow.\n */\nexport const finite = (v: unknown): number | null =>\n typeof v === 'number' && Math.abs(v) <= 1e300 ? (Math.abs(v) < 1e-300 ? 0 : v) : null\n\n/** A finite number, or `undefined` (an option left out). */\nconst optional = (v: unknown): number | undefined => finite(v) ?? undefined\n\nexport const isRecord = (v: unknown): v is Rec => !!v && typeof v === 'object' && !Array.isArray(v)\n\n/** The array, or an empty one. */\nexport const list = (v: unknown): readonly unknown[] => (Array.isArray(v) ? v : [])\n\n/** Strings as they are, finite numbers as digits, anything else as ''. */\nexport const text = (v: unknown): string =>\n typeof v === 'string' ? v : finite(v) === null ? '' : String(v)\n\n/** A category label: a string, a finite number or a valid date; else ''. */\nexport const label = (v: unknown): Label =>\n typeof v === 'string' || finite(v instanceof Date ? +v : v) !== null ? (v as Label) : ''\n\n/** Values with gaps for anything that is not a finite number (the same array when clean). */\nexport const numbers = (v: unknown): readonly (number | null)[] => {\n const values = list(v)\n return (\n values.every((x) => x == null || finite(x) === x) ? values : values.map(finite)\n ) as readonly (number | null)[]\n}\n\n/** The records of a list, each fixed by `fix`; other items are left out. */\nexport const records = <T>(v: unknown, fix: (r: Rec) => T): T[] => list(v).filter(isRecord).map(fix)\n\n/** What every named item has: text for its name, a string id and color. */\nexport const named = (r: Rec): Rec => ({\n ...r,\n name: text(r.name),\n id: typeof r.id === 'string' ? r.id : undefined,\n color: typeof r.color === 'string' ? r.color : undefined,\n})\n\n/** Labels and series of the cartesian types (line, area, bar, heatmap, radar). */\nexport const cleanSeries = (data: unknown): unknown => {\n const d = isRecord(data) ? data : {}\n return {\n ...d,\n labels: Array.isArray(d.labels) ? d.labels.map(label) : undefined,\n series: records(d.series, (s) => ({\n ...named(s),\n values: numbers(s.values),\n })),\n }\n}\n\n/** Options with their data cleaned by `data` (axis bounds are checked where they are read). */\nexport const cleanData =\n (data: (v: unknown) => unknown) =>\n <O>(options: O): O => ({ ...options, data: data((options as Rec).data) })\n\n/** Slices or rings: records with a finite value (0 when it is not). */\nexport const cleanItems = (data: unknown): unknown =>\n records(data, (r) => ({ ...named(r), value: finite(r.value) ?? 0, max: optional(r.max) }))\n"],"mappings":";;;;;AAgBA,MAAa,UAAU,MACrB,OAAO,MAAM,YAAY,KAAK,IAAI,CAAC,KAAK,QAAS,KAAK,IAAI,CAAC,IAAI,SAAS,IAAI,IAAK;;AAGnF,MAAM,YAAY,MAAmC,OAAO,CAAC,KAAK,KAAA;AAElE,MAAa,YAAY,MAAyB,CAAC,CAAC,KAAK,OAAO,MAAM,YAAY,CAAC,MAAM,QAAQ,CAAC;;AAGlG,MAAa,QAAQ,MAAoC,MAAM,QAAQ,CAAC,IAAI,IAAI,CAAC;;AAGjF,MAAa,QAAQ,MACnB,OAAO,MAAM,WAAW,IAAI,OAAO,CAAC,MAAM,OAAO,KAAK,OAAO,CAAC;;AAGhE,MAAa,SAAS,MACpB,OAAO,MAAM,YAAY,OAAO,aAAa,OAAO,CAAC,IAAI,CAAC,MAAM,OAAQ,IAAc;;AAGxF,MAAa,WAAW,MAA2C;CACjE,MAAM,SAAS,KAAK,CAAC;CACrB,OACE,OAAO,OAAO,MAAM,KAAK,QAAQ,OAAO,CAAC,MAAM,CAAC,IAAI,SAAS,OAAO,IAAI,MAAM;AAElF;;AAGA,MAAa,WAAc,GAAY,QAA4B,KAAK,CAAC,CAAC,CAAC,OAAO,QAAQ,CAAC,CAAC,IAAI,GAAG;;AAGnG,MAAa,SAAS,OAAiB;CACrC,GAAG;CACH,MAAM,KAAK,EAAE,IAAI;CACjB,IAAI,OAAO,EAAE,OAAO,WAAW,EAAE,KAAK,KAAA;CACtC,OAAO,OAAO,EAAE,UAAU,WAAW,EAAE,QAAQ,KAAA;AACjD;;AAGA,MAAa,eAAe,SAA2B;CACrD,MAAM,IAAI,SAAS,IAAI,IAAI,OAAO,CAAC;CACnC,OAAO;EACL,GAAG;EACH,QAAQ,MAAM,QAAQ,EAAE,MAAM,IAAI,EAAE,OAAO,IAAI,KAAK,IAAI,KAAA;EACxD,QAAQ,QAAQ,EAAE,SAAS,OAAO;GAChC,GAAG,MAAM,CAAC;GACV,QAAQ,QAAQ,EAAE,MAAM;EAC1B,EAAE;CACJ;AACF;;AAGA,MAAa,aACV,UACG,aAAmB;CAAE,GAAG;CAAS,MAAM,KAAM,QAAgB,IAAI;AAAE;;AAGzE,MAAa,cAAc,SACzB,QAAQ,OAAO,OAAO;CAAE,GAAG,MAAM,CAAC;CAAG,OAAO,OAAO,EAAE,KAAK,KAAK;CAAG,KAAK,SAAS,EAAE,GAAG;AAAE,EAAE"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/charts/clean.ts
|
|
2
2
|
/**
|
|
3
3
|
* A number the chart can draw, or `null`: finite and at most 1e300 in size, so
|
|
4
4
|
* spans stay finite; below 1e-300 it is 0, so tick steps do not underflow.
|
|
@@ -50,7 +50,6 @@ const cleanItems = (data) => records(data, (r) => ({
|
|
|
50
50
|
value: finite(r.value) ?? 0,
|
|
51
51
|
max: optional(r.max)
|
|
52
52
|
}));
|
|
53
|
-
//#endregion
|
|
54
53
|
Object.defineProperty(exports, "cleanData", {
|
|
55
54
|
enumerable: true,
|
|
56
55
|
get: function() {
|
|
@@ -87,6 +86,12 @@ Object.defineProperty(exports, "label", {
|
|
|
87
86
|
return label;
|
|
88
87
|
}
|
|
89
88
|
});
|
|
89
|
+
Object.defineProperty(exports, "list", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function() {
|
|
92
|
+
return list;
|
|
93
|
+
}
|
|
94
|
+
});
|
|
90
95
|
Object.defineProperty(exports, "named", {
|
|
91
96
|
enumerable: true,
|
|
92
97
|
get: function() {
|
|
@@ -112,4 +117,4 @@ Object.defineProperty(exports, "text", {
|
|
|
112
117
|
}
|
|
113
118
|
});
|
|
114
119
|
|
|
115
|
-
//# sourceMappingURL=clean-
|
|
120
|
+
//# sourceMappingURL=clean-Die2iCNc.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clean-
|
|
1
|
+
{"version":3,"file":"clean-Die2iCNc.cjs","names":[],"sources":["../src/charts/clean.ts"],"sourcesContent":["/**\n * Data from users, APIs and JSON is often not what the types say. Each chart\n * type cleans its data as it comes in, annotations as they render, axis bounds where read\n * (`ChartType.clean`): numbers\n * that are not finite become gaps, names become text, colors that are not\n * strings are dropped, and lists or records of the wrong kind are left out.\n * What is already clean keeps its identity, so large arrays are not copied.\n */\nimport type { Label } from './cartesian.ts'\n\ntype Rec = Record<string, unknown>\n\n/**\n * A number the chart can draw, or `null`: finite and at most 1e300 in size, so\n * spans stay finite; below 1e-300 it is 0, so tick steps do not underflow.\n */\nexport const finite = (v: unknown): number | null =>\n typeof v === 'number' && Math.abs(v) <= 1e300 ? (Math.abs(v) < 1e-300 ? 0 : v) : null\n\n/** A finite number, or `undefined` (an option left out). */\nconst optional = (v: unknown): number | undefined => finite(v) ?? undefined\n\nexport const isRecord = (v: unknown): v is Rec => !!v && typeof v === 'object' && !Array.isArray(v)\n\n/** The array, or an empty one. */\nexport const list = (v: unknown): readonly unknown[] => (Array.isArray(v) ? v : [])\n\n/** Strings as they are, finite numbers as digits, anything else as ''. */\nexport const text = (v: unknown): string =>\n typeof v === 'string' ? v : finite(v) === null ? '' : String(v)\n\n/** A category label: a string, a finite number or a valid date; else ''. */\nexport const label = (v: unknown): Label =>\n typeof v === 'string' || finite(v instanceof Date ? +v : v) !== null ? (v as Label) : ''\n\n/** Values with gaps for anything that is not a finite number (the same array when clean). */\nexport const numbers = (v: unknown): readonly (number | null)[] => {\n const values = list(v)\n return (\n values.every((x) => x == null || finite(x) === x) ? values : values.map(finite)\n ) as readonly (number | null)[]\n}\n\n/** The records of a list, each fixed by `fix`; other items are left out. */\nexport const records = <T>(v: unknown, fix: (r: Rec) => T): T[] => list(v).filter(isRecord).map(fix)\n\n/** What every named item has: text for its name, a string id and color. */\nexport const named = (r: Rec): Rec => ({\n ...r,\n name: text(r.name),\n id: typeof r.id === 'string' ? r.id : undefined,\n color: typeof r.color === 'string' ? r.color : undefined,\n})\n\n/** Labels and series of the cartesian types (line, area, bar, heatmap, radar). */\nexport const cleanSeries = (data: unknown): unknown => {\n const d = isRecord(data) ? data : {}\n return {\n ...d,\n labels: Array.isArray(d.labels) ? d.labels.map(label) : undefined,\n series: records(d.series, (s) => ({\n ...named(s),\n values: numbers(s.values),\n })),\n }\n}\n\n/** Options with their data cleaned by `data` (axis bounds are checked where they are read). */\nexport const cleanData =\n (data: (v: unknown) => unknown) =>\n <O>(options: O): O => ({ ...options, data: data((options as Rec).data) })\n\n/** Slices or rings: records with a finite value (0 when it is not). */\nexport const cleanItems = (data: unknown): unknown =>\n records(data, (r) => ({ ...named(r), value: finite(r.value) ?? 0, max: optional(r.max) }))\n"],"mappings":";;;;;AAgBA,MAAa,UAAU,MACrB,OAAO,MAAM,YAAY,KAAK,IAAI,CAAC,KAAK,QAAS,KAAK,IAAI,CAAC,IAAI,SAAS,IAAI,IAAK;;AAGnF,MAAM,YAAY,MAAmC,OAAO,CAAC,KAAK,KAAA;AAElE,MAAa,YAAY,MAAyB,CAAC,CAAC,KAAK,OAAO,MAAM,YAAY,CAAC,MAAM,QAAQ,CAAC;;AAGlG,MAAa,QAAQ,MAAoC,MAAM,QAAQ,CAAC,IAAI,IAAI,CAAC;;AAGjF,MAAa,QAAQ,MACnB,OAAO,MAAM,WAAW,IAAI,OAAO,CAAC,MAAM,OAAO,KAAK,OAAO,CAAC;;AAGhE,MAAa,SAAS,MACpB,OAAO,MAAM,YAAY,OAAO,aAAa,OAAO,CAAC,IAAI,CAAC,MAAM,OAAQ,IAAc;;AAGxF,MAAa,WAAW,MAA2C;CACjE,MAAM,SAAS,KAAK,CAAC;CACrB,OACE,OAAO,OAAO,MAAM,KAAK,QAAQ,OAAO,CAAC,MAAM,CAAC,IAAI,SAAS,OAAO,IAAI,MAAM;AAElF;;AAGA,MAAa,WAAc,GAAY,QAA4B,KAAK,CAAC,CAAC,CAAC,OAAO,QAAQ,CAAC,CAAC,IAAI,GAAG;;AAGnG,MAAa,SAAS,OAAiB;CACrC,GAAG;CACH,MAAM,KAAK,EAAE,IAAI;CACjB,IAAI,OAAO,EAAE,OAAO,WAAW,EAAE,KAAK,KAAA;CACtC,OAAO,OAAO,EAAE,UAAU,WAAW,EAAE,QAAQ,KAAA;AACjD;;AAGA,MAAa,eAAe,SAA2B;CACrD,MAAM,IAAI,SAAS,IAAI,IAAI,OAAO,CAAC;CACnC,OAAO;EACL,GAAG;EACH,QAAQ,MAAM,QAAQ,EAAE,MAAM,IAAI,EAAE,OAAO,IAAI,KAAK,IAAI,KAAA;EACxD,QAAQ,QAAQ,EAAE,SAAS,OAAO;GAChC,GAAG,MAAM,CAAC;GACV,QAAQ,QAAQ,EAAE,MAAM;EAC1B,EAAE;CACJ;AACF;;AAGA,MAAa,aACV,UACG,aAAmB;CAAE,GAAG;CAAS,MAAM,KAAM,QAAgB,IAAI;AAAE;;AAGzE,MAAa,cAAc,SACzB,QAAQ,OAAO,OAAO;CAAE,GAAG,MAAM,CAAC;CAAG,OAAO,OAAO,EAAE,KAAK,KAAK;CAAG,KAAK,SAAS,EAAE,GAAG;AAAE,EAAE"}
|
|
@@ -1,35 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
* every corner is always present (zero length when there is none) and each
|
|
26
|
-
* ring is split into two half arcs, so the large-arc flag never flips.
|
|
27
|
-
* Paths of different angles therefore keep their commands while an arc is
|
|
28
|
-
* redrawn frame by frame, turning to its new angles (see `sweep`).
|
|
29
|
-
*/
|
|
30
|
-
declare function arcPathStable(options: ArcOptions): string;
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/grid.d.ts
|
|
1
|
+
import { Ct as Tick, N as ChartPlugin, Nt as Hit } from "./chart-CbPzP5Dp.cjs";
|
|
2
|
+
import { s as Rect } from "./annotations-CHafaGd4.cjs";
|
|
3
|
+
import "./area-h_FvieFb.cjs";
|
|
4
|
+
import "./bar-DZCQ-kyf.cjs";
|
|
5
|
+
import "./calendar-BSvO8nRb.cjs";
|
|
6
|
+
import "./candlestick-BcomxeVG.cjs";
|
|
7
|
+
import "./funnel-CarOh8w_.cjs";
|
|
8
|
+
import "./gauge-Ds9k1UV2.cjs";
|
|
9
|
+
import "./heatmap-CJ-0dfhJ.cjs";
|
|
10
|
+
import "./line-vyWO030v.cjs";
|
|
11
|
+
import "./map-49FcfdmJ.cjs";
|
|
12
|
+
import "./parliament-C7V8UJj1.cjs";
|
|
13
|
+
import "./percentage-bar-R1--2grK.cjs";
|
|
14
|
+
import "./pie-vD5-g8je.cjs";
|
|
15
|
+
import "./radar-7I6hsY_h.cjs";
|
|
16
|
+
import "./sankey-DqiuxUx7.cjs";
|
|
17
|
+
import "./scatter-DL0zAV09.cjs";
|
|
18
|
+
import "./sparkline-RYly7bR0.cjs";
|
|
19
|
+
import "./treemap-25vHO_UK.cjs";
|
|
20
|
+
import { l as VNode, r as Child } from "./vnode-Du2cC8Fm.cjs";
|
|
21
|
+
import "./time-B4oxWHQI.cjs";
|
|
22
|
+
import "./band-CNKvdnTC.cjs";
|
|
23
|
+
import "./log-CI41TmcU.cjs";
|
|
24
|
+
import "./path-YeUiOfG8.cjs";
|
|
33
25
|
interface GridOptions {
|
|
34
26
|
/** `'y'` draws horizontal lines at y ticks, `'x'` vertical lines at x ticks. */
|
|
35
27
|
direction: "x" | "y";
|
|
@@ -41,45 +33,34 @@ interface GridOptions {
|
|
|
41
33
|
* value `0` also gets `tc-grid-line-zero`, so the baseline can be emphasized.
|
|
42
34
|
*/
|
|
43
35
|
declare function grid(options: GridOptions): VNode;
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/components/hover.d.ts
|
|
46
36
|
/**
|
|
47
|
-
* Hover marks drawn below the series:
|
|
48
|
-
*
|
|
37
|
+
* Hover marks drawn below the series: the band behind the hovered category
|
|
38
|
+
* (bars), a crosshair through it (point charts; a spoke in radars), or a
|
|
39
|
+
* halo that asks to stay `under` the chart (sankey flows).
|
|
49
40
|
*/
|
|
50
41
|
declare function hoverUnderlay(hit: Hit, crosshair?: boolean): VNode;
|
|
51
42
|
/**
|
|
52
|
-
* Hover marks drawn above the series:
|
|
53
|
-
*
|
|
43
|
+
* Hover marks drawn above the series: a halo (pie slices), or an active dot
|
|
44
|
+
* on every value of point charts (of the series' `shape`, if given).
|
|
54
45
|
*/
|
|
55
46
|
declare function hoverOverlay(hit: Hit, radius?: number, shape?: (slot: number, x: number, y: number, r: number) => string): VNode;
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region src/plugins/highlight.d.ts
|
|
58
47
|
/**
|
|
59
48
|
* Draws the highlighted category: a crosshair (or a band behind bars) under
|
|
60
49
|
* the series and active dots above them. `crosshair: false` keeps the dots.
|
|
61
50
|
*/
|
|
62
51
|
declare function highlight(): ChartPlugin;
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region src/plugins/keyboard.d.ts
|
|
65
52
|
declare function keyboard(): ChartPlugin;
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region src/plugins/legend.d.ts
|
|
68
53
|
/**
|
|
69
|
-
* An HTML legend (`.tc-legend`) with toggle buttons, above or
|
|
54
|
+
* An HTML legend (`.tc-legend`) with toggle buttons, above, below or beside the SVG.
|
|
70
55
|
* Shown for two or more entries unless the `legend` option says otherwise.
|
|
71
56
|
*/
|
|
72
57
|
declare function legend(): ChartPlugin;
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/plugins/pointer.d.ts
|
|
75
58
|
/**
|
|
76
59
|
* Pointer input: hovering highlights what is under the pointer and emits
|
|
77
60
|
* `hover`, clicking emits `click`. The highlight and tooltip plugins turn it
|
|
78
61
|
* on themselves; add it to a bare `Chart` that only needs the events.
|
|
79
62
|
*/
|
|
80
63
|
declare function pointer(): ChartPlugin;
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region src/plugins/sync.d.ts
|
|
83
64
|
/**
|
|
84
65
|
* Shared hover across charts: charts with the same `sync` group highlight
|
|
85
66
|
* the category under the pointer in any of them (with its crosshair and
|
|
@@ -87,23 +68,15 @@ declare function pointer(): ChartPlugin;
|
|
|
87
68
|
* highlights stay in their own chart.
|
|
88
69
|
*/
|
|
89
70
|
declare function sync(): ChartPlugin;
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/plugins/table.d.ts
|
|
92
71
|
declare function dataTable(): ChartPlugin;
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region src/plugins/tooltip.d.ts
|
|
95
72
|
/**
|
|
96
73
|
* An HTML tooltip (`.tc-tooltip`) for the highlighted category, placed next
|
|
97
74
|
* to it inside the chart element. Configure it with the `tooltip` option;
|
|
98
75
|
* `theme: 'light'` adds `.tc-tooltip-light` for the white variant.
|
|
99
76
|
*/
|
|
100
77
|
declare function tooltip(): ChartPlugin;
|
|
101
|
-
//#endregion
|
|
102
|
-
//#region src/plugins/index.d.ts
|
|
103
78
|
/** The built-in plugins installed by the default `Chart` from `@tabler/charts`. */
|
|
104
79
|
declare function defaultPlugins(): ChartPlugin[];
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region src/render/dom.d.ts
|
|
107
80
|
/**
|
|
108
81
|
* Render a VNode tree into `container`.
|
|
109
82
|
*
|
|
@@ -120,8 +93,6 @@ declare function defaultPlugins(): ChartPlugin[];
|
|
|
120
93
|
* Otherwise the root takes its place.
|
|
121
94
|
*/
|
|
122
95
|
declare function render(container: Element, vnode: VNode | null, replace?: Element | null): Element | null;
|
|
123
|
-
//#endregion
|
|
124
|
-
//#region src/render/string.d.ts
|
|
125
96
|
interface RenderToStringOptions {
|
|
126
97
|
/**
|
|
127
98
|
* Add `xmlns` to a root `<svg>` that has none, so the output is a valid
|
|
@@ -149,15 +120,11 @@ declare function renderToString(node: Child, options?: RenderToStringOptions): s
|
|
|
149
120
|
declare function escapeText(value: string): string;
|
|
150
121
|
/** Escape a double-quoted attribute value. */
|
|
151
122
|
declare function escapeAttr(value: string): string;
|
|
152
|
-
//#endregion
|
|
153
|
-
//#region src/scales/extent.d.ts
|
|
154
123
|
/**
|
|
155
124
|
* Minimum and maximum of `values`, skipping `null`, `undefined` and
|
|
156
125
|
* non-finite numbers. Returns `undefined` when nothing is left.
|
|
157
126
|
*/
|
|
158
127
|
declare function extent(values: Iterable<number | null | undefined>): [number, number] | undefined;
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region src/scales/ticks.d.ts
|
|
161
128
|
/**
|
|
162
129
|
* Roughly `count` evenly spaced, "nice" values (multiples of 1, 2 or 5 × 10ⁿ)
|
|
163
130
|
* between `start` and `stop`, inclusive. Order follows `start → stop`.
|
|
@@ -177,8 +144,6 @@ declare function tickStep(start: number, stop: number, count?: number): number;
|
|
|
177
144
|
* domain is returned unchanged, matching d3.
|
|
178
145
|
*/
|
|
179
146
|
declare function niceDomain(start: number, stop: number, count?: number): [number, number];
|
|
180
|
-
//#endregion
|
|
181
|
-
//#region src/scheduler.d.ts
|
|
182
147
|
/** Run `task` in the next frame, replacing any task already queued for `key`. */
|
|
183
148
|
declare function schedule(key: object, task: () => void): void;
|
|
184
149
|
/** Drop the task queued for `key`, if any. */
|
|
@@ -190,8 +155,6 @@ declare function cancel(key: object): void;
|
|
|
190
155
|
* frame, instead of looping in this one and freezing the page.
|
|
191
156
|
*/
|
|
192
157
|
declare function flush(): number;
|
|
193
|
-
//#endregion
|
|
194
|
-
//#region src/shapes/bar.d.ts
|
|
195
158
|
/**
|
|
196
159
|
* Path of a vertical bar from `baseline` to `value` (both y in pixels),
|
|
197
160
|
* `x`…`x + width` wide. Only the data end is rounded, with `radius` clamped
|
|
@@ -211,10 +174,6 @@ declare function barPath(x: number, width: number, baseline: number, value: numb
|
|
|
211
174
|
* Same commands as `barPath`, so a chart can morph between orientations.
|
|
212
175
|
*/
|
|
213
176
|
declare function hbarPath(y: number, height: number, baseline: number, value: number, radius?: number): string;
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region src/core.d.ts
|
|
216
177
|
/** Version of the `@tabler/charts` package. */
|
|
217
178
|
declare const VERSION: string;
|
|
218
|
-
|
|
219
|
-
export { arcCentroid as A, keyboard as C, GridOptions as D, hoverUnderlay as E, padAngleForGap as M, grid as O, legend as S, hoverOverlay as T, defaultPlugins as _, flush as a, sync as b, tickIncrement as c, extent as d, RenderToStringOptions as f, render as g, renderToString as h, cancel as i, arcPathStable as j, ArcOptions as k, tickStep as l, escapeText as m, barPath as n, schedule as o, escapeAttr as p, hbarPath as r, niceDomain as s, VERSION as t, ticks as u, tooltip as v, highlight as w, pointer as x, dataTable as y };
|
|
220
|
-
//# sourceMappingURL=core-D1vO1LrC.d.cts.map
|
|
179
|
+
export { keyboard as C, GridOptions as D, hoverUnderlay as E, grid as O, legend as S, hoverOverlay as T, defaultPlugins as _, flush as a, sync as b, tickIncrement as c, extent as d, RenderToStringOptions as f, render as g, renderToString as h, cancel as i, tickStep as l, escapeText as m, barPath as n, schedule as o, escapeAttr as p, hbarPath as r, niceDomain as s, VERSION as t, ticks as u, tooltip as v, highlight as w, pointer as x, dataTable as y };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { s as Rect } from "./annotations-
|
|
2
|
-
import { l as VNode, r as Child } from "./vnode-
|
|
3
|
-
import {
|
|
4
|
-
//#region src/shapes/arc.d.ts
|
|
1
|
+
import { s as Rect } from "./annotations-B02GR_KU.js";
|
|
2
|
+
import { l as VNode, r as Child } from "./vnode-Du2cC8Fm.js";
|
|
3
|
+
import { N as ChartPlugin, kt as Hit, yt as Tick } from "./chart-CYrrUCi3.js";
|
|
5
4
|
interface ArcOptions {
|
|
6
5
|
innerRadius: number;
|
|
7
6
|
outerRadius: number;
|
|
@@ -28,8 +27,6 @@ declare function padAngleForGap(gap: number, innerRadius: number, outerRadius: n
|
|
|
28
27
|
* redrawn frame by frame, turning to its new angles (see `sweep`).
|
|
29
28
|
*/
|
|
30
29
|
declare function arcPathStable(options: ArcOptions): string;
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/grid.d.ts
|
|
33
30
|
interface GridOptions {
|
|
34
31
|
/** `'y'` draws horizontal lines at y ticks, `'x'` vertical lines at x ticks. */
|
|
35
32
|
direction: "x" | "y";
|
|
@@ -41,45 +38,34 @@ interface GridOptions {
|
|
|
41
38
|
* value `0` also gets `tc-grid-line-zero`, so the baseline can be emphasized.
|
|
42
39
|
*/
|
|
43
40
|
declare function grid(options: GridOptions): VNode;
|
|
44
|
-
//#endregion
|
|
45
|
-
//#region src/components/hover.d.ts
|
|
46
41
|
/**
|
|
47
|
-
* Hover marks drawn below the series:
|
|
48
|
-
*
|
|
42
|
+
* Hover marks drawn below the series: the band behind the hovered category
|
|
43
|
+
* (bars), a crosshair through it (point charts; a spoke in radars), or a
|
|
44
|
+
* halo that asks to stay `under` the chart (sankey flows).
|
|
49
45
|
*/
|
|
50
46
|
declare function hoverUnderlay(hit: Hit, crosshair?: boolean): VNode;
|
|
51
47
|
/**
|
|
52
|
-
* Hover marks drawn above the series:
|
|
53
|
-
*
|
|
48
|
+
* Hover marks drawn above the series: a halo (pie slices), or an active dot
|
|
49
|
+
* on every value of point charts (of the series' `shape`, if given).
|
|
54
50
|
*/
|
|
55
51
|
declare function hoverOverlay(hit: Hit, radius?: number, shape?: (slot: number, x: number, y: number, r: number) => string): VNode;
|
|
56
|
-
//#endregion
|
|
57
|
-
//#region src/plugins/highlight.d.ts
|
|
58
52
|
/**
|
|
59
53
|
* Draws the highlighted category: a crosshair (or a band behind bars) under
|
|
60
54
|
* the series and active dots above them. `crosshair: false` keeps the dots.
|
|
61
55
|
*/
|
|
62
56
|
declare function highlight(): ChartPlugin;
|
|
63
|
-
//#endregion
|
|
64
|
-
//#region src/plugins/keyboard.d.ts
|
|
65
57
|
declare function keyboard(): ChartPlugin;
|
|
66
|
-
//#endregion
|
|
67
|
-
//#region src/plugins/legend.d.ts
|
|
68
58
|
/**
|
|
69
|
-
* An HTML legend (`.tc-legend`) with toggle buttons, above or
|
|
59
|
+
* An HTML legend (`.tc-legend`) with toggle buttons, above, below or beside the SVG.
|
|
70
60
|
* Shown for two or more entries unless the `legend` option says otherwise.
|
|
71
61
|
*/
|
|
72
62
|
declare function legend(): ChartPlugin;
|
|
73
|
-
//#endregion
|
|
74
|
-
//#region src/plugins/pointer.d.ts
|
|
75
63
|
/**
|
|
76
64
|
* Pointer input: hovering highlights what is under the pointer and emits
|
|
77
65
|
* `hover`, clicking emits `click`. The highlight and tooltip plugins turn it
|
|
78
66
|
* on themselves; add it to a bare `Chart` that only needs the events.
|
|
79
67
|
*/
|
|
80
68
|
declare function pointer(): ChartPlugin;
|
|
81
|
-
//#endregion
|
|
82
|
-
//#region src/plugins/sync.d.ts
|
|
83
69
|
/**
|
|
84
70
|
* Shared hover across charts: charts with the same `sync` group highlight
|
|
85
71
|
* the category under the pointer in any of them (with its crosshair and
|
|
@@ -87,23 +73,15 @@ declare function pointer(): ChartPlugin;
|
|
|
87
73
|
* highlights stay in their own chart.
|
|
88
74
|
*/
|
|
89
75
|
declare function sync(): ChartPlugin;
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/plugins/table.d.ts
|
|
92
76
|
declare function dataTable(): ChartPlugin;
|
|
93
|
-
//#endregion
|
|
94
|
-
//#region src/plugins/tooltip.d.ts
|
|
95
77
|
/**
|
|
96
78
|
* An HTML tooltip (`.tc-tooltip`) for the highlighted category, placed next
|
|
97
79
|
* to it inside the chart element. Configure it with the `tooltip` option;
|
|
98
80
|
* `theme: 'light'` adds `.tc-tooltip-light` for the white variant.
|
|
99
81
|
*/
|
|
100
82
|
declare function tooltip(): ChartPlugin;
|
|
101
|
-
//#endregion
|
|
102
|
-
//#region src/plugins/index.d.ts
|
|
103
83
|
/** The built-in plugins installed by the default `Chart` from `@tabler/charts`. */
|
|
104
84
|
declare function defaultPlugins(): ChartPlugin[];
|
|
105
|
-
//#endregion
|
|
106
|
-
//#region src/render/dom.d.ts
|
|
107
85
|
/**
|
|
108
86
|
* Render a VNode tree into `container`.
|
|
109
87
|
*
|
|
@@ -120,8 +98,6 @@ declare function defaultPlugins(): ChartPlugin[];
|
|
|
120
98
|
* Otherwise the root takes its place.
|
|
121
99
|
*/
|
|
122
100
|
declare function render(container: Element, vnode: VNode | null, replace?: Element | null): Element | null;
|
|
123
|
-
//#endregion
|
|
124
|
-
//#region src/render/string.d.ts
|
|
125
101
|
interface RenderToStringOptions {
|
|
126
102
|
/**
|
|
127
103
|
* Add `xmlns` to a root `<svg>` that has none, so the output is a valid
|
|
@@ -149,15 +125,11 @@ declare function renderToString(node: Child, options?: RenderToStringOptions): s
|
|
|
149
125
|
declare function escapeText(value: string): string;
|
|
150
126
|
/** Escape a double-quoted attribute value. */
|
|
151
127
|
declare function escapeAttr(value: string): string;
|
|
152
|
-
//#endregion
|
|
153
|
-
//#region src/scales/extent.d.ts
|
|
154
128
|
/**
|
|
155
129
|
* Minimum and maximum of `values`, skipping `null`, `undefined` and
|
|
156
130
|
* non-finite numbers. Returns `undefined` when nothing is left.
|
|
157
131
|
*/
|
|
158
132
|
declare function extent(values: Iterable<number | null | undefined>): [number, number] | undefined;
|
|
159
|
-
//#endregion
|
|
160
|
-
//#region src/scales/ticks.d.ts
|
|
161
133
|
/**
|
|
162
134
|
* Roughly `count` evenly spaced, "nice" values (multiples of 1, 2 or 5 × 10ⁿ)
|
|
163
135
|
* between `start` and `stop`, inclusive. Order follows `start → stop`.
|
|
@@ -177,8 +149,6 @@ declare function tickStep(start: number, stop: number, count?: number): number;
|
|
|
177
149
|
* domain is returned unchanged, matching d3.
|
|
178
150
|
*/
|
|
179
151
|
declare function niceDomain(start: number, stop: number, count?: number): [number, number];
|
|
180
|
-
//#endregion
|
|
181
|
-
//#region src/scheduler.d.ts
|
|
182
152
|
/** Run `task` in the next frame, replacing any task already queued for `key`. */
|
|
183
153
|
declare function schedule(key: object, task: () => void): void;
|
|
184
154
|
/** Drop the task queued for `key`, if any. */
|
|
@@ -190,8 +160,6 @@ declare function cancel(key: object): void;
|
|
|
190
160
|
* frame, instead of looping in this one and freezing the page.
|
|
191
161
|
*/
|
|
192
162
|
declare function flush(): number;
|
|
193
|
-
//#endregion
|
|
194
|
-
//#region src/shapes/bar.d.ts
|
|
195
163
|
/**
|
|
196
164
|
* Path of a vertical bar from `baseline` to `value` (both y in pixels),
|
|
197
165
|
* `x`…`x + width` wide. Only the data end is rounded, with `radius` clamped
|
|
@@ -211,10 +179,6 @@ declare function barPath(x: number, width: number, baseline: number, value: numb
|
|
|
211
179
|
* Same commands as `barPath`, so a chart can morph between orientations.
|
|
212
180
|
*/
|
|
213
181
|
declare function hbarPath(y: number, height: number, baseline: number, value: number, radius?: number): string;
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region src/core.d.ts
|
|
216
182
|
/** Version of the `@tabler/charts` package. */
|
|
217
183
|
declare const VERSION: string;
|
|
218
|
-
|
|
219
|
-
export { arcCentroid as A, keyboard as C, GridOptions as D, hoverUnderlay as E, padAngleForGap as M, grid as O, legend as S, hoverOverlay as T, defaultPlugins as _, flush as a, sync as b, tickIncrement as c, extent as d, RenderToStringOptions as f, render as g, renderToString as h, cancel as i, arcPathStable as j, ArcOptions as k, tickStep as l, escapeText as m, barPath as n, schedule as o, escapeAttr as p, hbarPath as r, niceDomain as s, VERSION as t, ticks as u, tooltip as v, highlight as w, pointer as x, dataTable as y };
|
|
220
|
-
//# sourceMappingURL=core-DcbemzGf.d.ts.map
|
|
184
|
+
export { arcCentroid as A, keyboard as C, GridOptions as D, hoverUnderlay as E, padAngleForGap as M, grid as O, legend as S, hoverOverlay as T, defaultPlugins as _, flush as a, sync as b, tickIncrement as c, extent as d, RenderToStringOptions as f, render as g, renderToString as h, cancel as i, arcPathStable as j, ArcOptions as k, tickStep as l, escapeText as m, barPath as n, schedule as o, escapeAttr as p, hbarPath as r, niceDomain as s, VERSION as t, ticks as u, tooltip as v, highlight as w, pointer as x, dataTable as y };
|