@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,5 +1,5 @@
|
|
|
1
|
-
const require_dom = require("./dom-
|
|
2
|
-
|
|
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-
|
|
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-
|
|
3
|
-
const require_hydrate = require("./hydrate-
|
|
4
|
-
|
|
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
|
package/dist/hydrate.cjs.map
CHANGED
|
@@ -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,
|
|
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"}
|
package/dist/hydrate.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as hydrate } from "./hydrate-
|
|
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-
|
|
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-
|
|
2
|
-
import { t as hydrate } from "./hydrate-
|
|
3
|
-
|
|
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-
|
|
3
|
-
const require_vnode = require("./vnode-
|
|
4
|
-
const require_format = require("./format-
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const
|
|
9
|
-
const require_dates = require("./dates-
|
|
10
|
-
const require_log_axis = require("./log-axis-
|
|
11
|
-
const
|
|
12
|
-
const
|
|
13
|
-
const
|
|
14
|
-
const
|
|
15
|
-
const
|
|
16
|
-
const
|
|
17
|
-
const require_hydrate = require("./hydrate-
|
|
18
|
-
const require_morph = require("./morph-
|
|
19
|
-
const require_decimate = require("./decimate-
|
|
20
|
-
const require_fade = require("./fade-
|
|
21
|
-
const
|
|
22
|
-
const
|
|
23
|
-
const require_area = require("./area-
|
|
24
|
-
const require_bar = require("./bar-
|
|
25
|
-
const require_bar$1 = require("./bar-
|
|
26
|
-
const
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
const
|
|
30
|
-
const
|
|
31
|
-
const
|
|
32
|
-
const
|
|
33
|
-
const
|
|
34
|
-
const
|
|
35
|
-
const
|
|
36
|
-
const
|
|
37
|
-
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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 =
|
|
122
|
-
exports.axisSize =
|
|
130
|
+
exports.axis = require_axis.axis;
|
|
131
|
+
exports.axisSize = require_axis.axisSize;
|
|
123
132
|
exports.band = require_cartesian.band;
|
|
124
|
-
exports.bandTicks =
|
|
125
|
-
exports.bar = require_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 =
|
|
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.
|
|
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 =
|
|
205
|
-
exports.tickIncrement =
|
|
206
|
-
exports.tickStep =
|
|
207
|
-
exports.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
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":["CoreChart","defaultPlugins","register","time","timePointScale","timeAxis","dateLabels","log","logDomain","logTicks","lttbIndices","annotationLayers","annotationValues","patternFills","markerPath","
|
|
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
|
|
2
|
-
import { a as
|
|
3
|
-
import { a as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { a as
|
|
7
|
-
import { A as
|
|
8
|
-
import { a as
|
|
9
|
-
import { n as line, t as LineOptions } from "./line-
|
|
10
|
-
import { n as area, t as AreaOptions } from "./area-
|
|
11
|
-
import { n as bar, t as BarOptions } from "./bar-
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import { n as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
|
|
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:
|
|
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
|
-
|
|
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-
|
|
2
|
-
import { a as point, i as band, n as BandScale, r as BandScaleOptions, t as BandKey } from "./band-
|
|
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-
|
|
4
|
-
import {
|
|
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-
|
|
6
|
-
import {
|
|
7
|
-
import { A as
|
|
8
|
-
import { a as linePath, i as areaPath, n as PathOptions, r as Point, t as Curve } from "./path-
|
|
9
|
-
import { n as line, t as LineOptions } from "./line-
|
|
10
|
-
import { n as area, t as AreaOptions } from "./area-
|
|
11
|
-
import { n as bar, t as BarOptions } from "./bar-
|
|
12
|
-
import { n as
|
|
13
|
-
import { n as
|
|
14
|
-
import { n as
|
|
15
|
-
import { n as
|
|
16
|
-
import {
|
|
17
|
-
import { n as
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { n as
|
|
21
|
-
import { n as
|
|
22
|
-
|
|
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:
|
|
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
|
-
|
|
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 };
|