boardplot 0.56.0 → 0.57.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/CHANGELOG.md +110 -0
- package/README.md +3 -3
- package/dist/{ReaderBox-GLCKYXBU.js → ReaderBox-GCIITQCX.js} +4 -4
- package/dist/{annotateEngine-QVNAE3EH.js → annotateEngine-JMZI6QEG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-CKGSGRP7.js → chunk-26WNBTWB.js} +20 -4
- package/dist/{chunk-UBCVBBJJ.js → chunk-2AJWRVZ2.js} +4 -3
- package/dist/{chunk-XMP2DNLI.js → chunk-2BHLRHF2.js} +2 -2
- package/dist/{chunk-2NRHD2G7.js → chunk-2HD5RY2U.js} +11 -3
- package/dist/{chunk-6QDMRPXI.js → chunk-2I76VFMZ.js} +184 -239
- package/dist/{chunk-XC5IRUEL.js → chunk-2KCK63DD.js} +2 -2
- package/dist/{chunk-ZEYBI47P.js → chunk-2WTD3GCR.js} +11 -3
- package/dist/{chunk-BTDGWHGJ.js → chunk-2X6XY4K4.js} +4 -4
- package/dist/{chunk-5S3JQ5AT.js → chunk-3DUGZ7ML.js} +149 -118
- package/dist/{chunk-JTFKRDDA.js → chunk-3LNVEE5Z.js} +1 -1
- package/dist/{chunk-JCAGVAB3.js → chunk-43PCSBVQ.js} +563 -10
- package/dist/{chunk-F2EVCJ4U.js → chunk-4JNHF6JW.js} +10 -10
- package/dist/{chunk-ECBUFKCP.js → chunk-4RN4OM6I.js} +3 -3
- package/dist/{chunk-A2GAWGVJ.js → chunk-4U2WSW6F.js} +20 -20
- package/dist/{chunk-CCDXK5NA.js → chunk-53OEKS4L.js} +5 -3
- package/dist/{chunk-YPYD6OJ3.js → chunk-54HEIM2A.js} +2 -2
- package/dist/{chunk-IGJ2G5C6.js → chunk-5H4HFRDO.js} +6 -6
- package/dist/{chunk-EMFUZKYK.js → chunk-5HTGSB6Y.js} +3 -3
- package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
- package/dist/{chunk-67QSW5RW.js → chunk-5P4MXWKP.js} +3 -3
- package/dist/{chunk-EBB4PYBN.js → chunk-5RHP7YTL.js} +5 -5
- package/dist/{chunk-VVXKFU72.js → chunk-5TUDYKNL.js} +35 -27
- package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
- package/dist/{chunk-KF7HD3EH.js → chunk-62JZL6FW.js} +43 -35
- package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
- package/dist/chunk-6JXBLQJ2.js +32 -0
- package/dist/{chunk-KBJMLXNW.js → chunk-6KHRMK3I.js} +14 -14
- package/dist/{chunk-2DOEZ5QY.js → chunk-6LQKU6YN.js} +4 -4
- package/dist/chunk-6VU2XI3W.js +89 -0
- package/dist/{chunk-DQ7YMQVX.js → chunk-6WJOHZPW.js} +5 -5
- package/dist/{chunk-ZMPH2OC4.js → chunk-6XU5XGYV.js} +7 -8
- package/dist/{chunk-MAFPVR4G.js → chunk-6ZN2XJFI.js} +10 -5
- package/dist/{chunk-PQLAZEQV.js → chunk-72OJBDRB.js} +204 -59
- package/dist/{chunk-T2YDWT54.js → chunk-73O6AOAA.js} +43 -30
- package/dist/{chunk-4JHMCXOB.js → chunk-76UL4CT4.js} +60 -24
- package/dist/chunk-7BQK2UDV.js +13 -0
- package/dist/{chunk-7PPMT5EJ.js → chunk-7EQU2TUN.js} +300 -64
- package/dist/{chunk-2HTYGMMG.js → chunk-7FAO4ICF.js} +2 -2
- package/dist/{chunk-6WHWXCHJ.js → chunk-7MYJUJZV.js} +6 -2
- package/dist/{chunk-CB4CERXZ.js → chunk-7P7D6WXR.js} +11 -2
- package/dist/{chunk-RT66UTLJ.js → chunk-A33MFWHW.js} +2 -2
- package/dist/{chunk-4JC3SE4G.js → chunk-A6XCVOC5.js} +1 -1
- package/dist/{chunk-QWCLWFKC.js → chunk-AFA32LHN.js} +132 -36
- package/dist/{chunk-T2CYNDYU.js → chunk-AFGQXMKT.js} +235 -80
- package/dist/{chunk-HOU2MZHC.js → chunk-AKJO6N4K.js} +2 -2
- package/dist/{chunk-MRAP2UVV.js → chunk-ANNQJWDX.js} +10 -10
- package/dist/{chunk-LGNJCPFP.js → chunk-AOIZJ7GR.js} +7 -7
- package/dist/chunk-B5A7X2BA.js +44 -0
- package/dist/{chunk-SS4YGK3E.js → chunk-BDCKHLUB.js} +15 -15
- package/dist/{chunk-XHRUXZD7.js → chunk-BFDPY7JM.js} +10 -3
- package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
- package/dist/{chunk-GQT2SY2S.js → chunk-BO5EJBLH.js} +247 -127
- package/dist/chunk-BQIADGJB.js +23 -0
- package/dist/{chunk-PJBEJR2U.js → chunk-BY5JGQFZ.js} +24 -7
- package/dist/{chunk-SXD3OYAR.js → chunk-C5SQEYTQ.js} +76 -55
- package/dist/{chunk-3465633G.js → chunk-CEMXGMQN.js} +2 -2
- package/dist/{chunk-AMR4SUAN.js → chunk-CIDOL4FO.js} +5 -5
- package/dist/{chunk-E7V3OHQQ.js → chunk-CT4RFZO4.js} +6 -6
- package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
- package/dist/{chunk-FFJGC2DX.js → chunk-D3PQAVFW.js} +22 -12
- package/dist/{chunk-52WNCUIN.js → chunk-D5G67OER.js} +1 -1
- package/dist/{chunk-MOS6WFWM.js → chunk-D5RAVZ5C.js} +6 -7
- package/dist/{chunk-FNRPQIQE.js → chunk-DJBMA4FW.js} +4 -4
- package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
- package/dist/{chunk-TE4M52AA.js → chunk-DYSEZVIJ.js} +18 -2
- package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
- package/dist/{chunk-R5MEBBAA.js → chunk-EDBUVDRI.js} +117 -67
- package/dist/{chunk-TUW5IYGA.js → chunk-EEBMK6T6.js} +6 -6
- package/dist/{chunk-RLMC5CUP.js → chunk-EEL2N4Y6.js} +7 -8
- package/dist/{chunk-CF4NMRN7.js → chunk-EFKFZNQC.js} +24 -18
- package/dist/{chunk-UPTXFTKH.js → chunk-EHNGPUTO.js} +6 -6
- package/dist/{chunk-BISJK67O.js → chunk-EHQLLZCQ.js} +48 -21
- package/dist/{chunk-U3A6FMSI.js → chunk-EWR6WVOV.js} +6 -6
- package/dist/{chunk-RMC4OONA.js → chunk-EY4OA4OF.js} +985 -663
- package/dist/{chunk-YYJORENB.js → chunk-F4JAGDPD.js} +5 -5
- package/dist/{chunk-ZY72LSQK.js → chunk-FAFUMSPR.js} +33 -24
- package/dist/{chunk-CYKXROFG.js → chunk-FERP4WS3.js} +19 -9
- package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
- package/dist/{chunk-O7REHICC.js → chunk-FJKFYQ5I.js} +10 -10
- package/dist/chunk-FL3FQ2YA.js +27 -0
- package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
- package/dist/{chunk-7M2GK7XQ.js → chunk-G5BUGYIL.js} +68 -16
- package/dist/{chunk-QZIHKQRH.js → chunk-G5CELEUR.js} +6 -6
- package/dist/{chunk-ZJFJ2IKQ.js → chunk-GADI2DU7.js} +11 -10
- package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
- package/dist/{chunk-GM3EGUYW.js → chunk-GHFTKVJN.js} +1 -1
- package/dist/chunk-GKDUIDU6.js +138 -0
- package/dist/{chunk-OJ5CQV7H.js → chunk-GKQLKUMF.js} +186 -82
- package/dist/{chunk-EGGDPDYJ.js → chunk-GS5UG6QD.js} +1 -1
- package/dist/{chunk-5TWY3ZIC.js → chunk-H2POQ4LB.js} +5 -5
- package/dist/{chunk-KD5GOR2K.js → chunk-H3EWFSWI.js} +93 -52
- package/dist/{chunk-CHAS5A5B.js → chunk-H6EJ63QN.js} +18 -16
- package/dist/{chunk-GIHH6VC2.js → chunk-HB3TH7GY.js} +3 -3
- package/dist/{chunk-FMDNJ6PC.js → chunk-HC6WHTBX.js} +2 -2
- package/dist/{chunk-63Y3ROZ7.js → chunk-HDSHS2QZ.js} +45 -30
- package/dist/{chunk-KTHFHD6C.js → chunk-HFFKN7PA.js} +11 -6
- package/dist/{chunk-QSMGZOT5.js → chunk-HGPFEG2L.js} +7 -8
- package/dist/{chunk-2YO4WRJN.js → chunk-HVX2E26J.js} +35 -25
- package/dist/{chunk-KLB2QC24.js → chunk-I3DLERI7.js} +1 -1
- package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
- package/dist/{chunk-LKMFMNQX.js → chunk-I5ZADE2U.js} +1 -1
- package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
- package/dist/{chunk-SRAV6FPB.js → chunk-I6QGYRY4.js} +3 -3
- package/dist/{chunk-NCLRZQR6.js → chunk-I7KDPCC7.js} +3 -3
- package/dist/{chunk-6EYTD777.js → chunk-IFURKTOL.js} +2 -2
- package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
- package/dist/{chunk-BIGQKCU7.js → chunk-IRXTNSZL.js} +9 -9
- package/dist/{chunk-2FKEF2AC.js → chunk-IUVJVMKS.js} +11 -11
- package/dist/{chunk-ZKJ5L35C.js → chunk-IVQT2E3Y.js} +28 -17
- package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
- package/dist/chunk-IXM6BAM4.js +53 -0
- package/dist/{chunk-YMTXTQCN.js → chunk-IZRTNCJQ.js} +5 -5
- package/dist/{chunk-QGFKSDQO.js → chunk-J22ETKDJ.js} +2 -2
- package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
- package/dist/{chunk-DD6RVD3S.js → chunk-JHWDTV4K.js} +5 -1
- package/dist/{chunk-P4SMC4BY.js → chunk-JIH52I36.js} +79 -79
- package/dist/{chunk-KQCKK3LD.js → chunk-JKXJWCJ5.js} +69 -34
- package/dist/{chunk-WI5VOSQX.js → chunk-JMOBA5ES.js} +2 -2
- package/dist/{chunk-AGDDH6XY.js → chunk-JMXNXLAC.js} +5 -1
- package/dist/{chunk-R2IKOLBK.js → chunk-JRRSKCGG.js} +3 -3
- package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
- package/dist/{chunk-WBETBGSC.js → chunk-K6Y4HBK7.js} +31 -31
- package/dist/{chunk-Z55DXFWS.js → chunk-KAAB2DIV.js} +23 -13
- package/dist/{chunk-UZLR25BW.js → chunk-KF3ZHLHQ.js} +7 -8
- package/dist/{chunk-GELSK76Y.js → chunk-KGS5Z7SL.js} +3 -3
- package/dist/{chunk-E2ZUBP4Q.js → chunk-KIXNHDXS.js} +7 -8
- package/dist/{chunk-7VMEM3LN.js → chunk-KJLH5EHD.js} +26 -26
- package/dist/{chunk-KLIZXSBK.js → chunk-KLQKHA3T.js} +6 -6
- package/dist/chunk-KQ2WZ6BY.js +11 -0
- package/dist/{chunk-DF3XEFQ7.js → chunk-KUMJI5B6.js} +10 -10
- package/dist/{chunk-SE7MJ2LQ.js → chunk-L2XRUG4P.js} +7 -8
- package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
- package/dist/{chunk-75WIUG2W.js → chunk-LFX5BERN.js} +140 -60
- package/dist/{chunk-MJPXHCBW.js → chunk-LGMV7ZV4.js} +4 -4
- package/dist/{chunk-3V62N3Z7.js → chunk-LO3AGGE3.js} +7 -8
- package/dist/{chunk-7KSUMFBK.js → chunk-LSKCKGCF.js} +5 -1
- package/dist/{chunk-NHC2ADGI.js → chunk-LSR3SBJ4.js} +45 -34
- package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
- package/dist/{chunk-5PPQIF4D.js → chunk-LW4ZQGVL.js} +2 -2
- package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
- package/dist/{chunk-4LTN7SND.js → chunk-M74H7QYD.js} +1 -1
- package/dist/{chunk-TXBO2LWM.js → chunk-MOQFYJ3F.js} +6 -6
- package/dist/{chunk-VPL3JYC6.js → chunk-MQ5EKWIG.js} +51 -9
- package/dist/{chunk-X3KCQEYZ.js → chunk-MTCDGSYW.js} +9 -1
- package/dist/{chunk-FCECYJVA.js → chunk-NCCDEUHD.js} +1 -1
- package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
- package/dist/{chunk-5DTCOOLU.js → chunk-NINK4G7U.js} +2 -2
- package/dist/{chunk-HHXIVFAU.js → chunk-NO7GRVUU.js} +10 -8
- package/dist/{chunk-X23SZHV5.js → chunk-NRYERHEI.js} +6 -6
- package/dist/{chunk-V5JQQMFQ.js → chunk-O4D27FKH.js} +1 -1
- package/dist/{chunk-I7H5DU34.js → chunk-O7Y6RJ4D.js} +21 -9
- package/dist/{chunk-2NN676RI.js → chunk-OAT6FWKL.js} +7 -8
- package/dist/{chunk-JHWYG7V5.js → chunk-OF7FMGH5.js} +6 -6
- package/dist/{chunk-GLQ3KCTY.js → chunk-OKM5LYYP.js} +7 -8
- package/dist/{chunk-JCIXYOND.js → chunk-OTGNVAI4.js} +2 -2
- package/dist/{chunk-EIL3KHAL.js → chunk-PSYPB22T.js} +3 -3
- package/dist/{chunk-JXBZIJCG.js → chunk-PYGEIPPH.js} +1 -1
- package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
- package/dist/{chunk-K3VZ5QJK.js → chunk-Q7VPTN5X.js} +4 -4
- package/dist/{chunk-ZVM5TFGR.js → chunk-QFIRPOXR.js} +6 -2
- package/dist/{chunk-YHD2FZFP.js → chunk-QHPJ5ZKS.js} +6 -6
- package/dist/{chunk-QLANK3VN.js → chunk-QLWUFEKR.js} +6 -6
- package/dist/{chunk-64LJDGJH.js → chunk-QNLESRH6.js} +3 -1
- package/dist/{chunk-RJGCYGC3.js → chunk-QRZESG66.js} +38 -27
- package/dist/{chunk-76Q7E3TM.js → chunk-QYOZ46ZQ.js} +70 -23
- package/dist/{chunk-E555EDOQ.js → chunk-QZMLSK43.js} +221 -62
- package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
- package/dist/{chunk-6MJUW5R5.js → chunk-RHBQ2Q5H.js} +95 -44
- package/dist/{chunk-ZYQYX66L.js → chunk-RHVP62HI.js} +6 -6
- package/dist/{chunk-F5BYLT3M.js → chunk-RMVCKO6N.js} +13 -11
- package/dist/chunk-RRPTQGRU.js +47 -0
- package/dist/{chunk-IRXVV65V.js → chunk-S2TSXUYP.js} +6 -6
- package/dist/{chunk-OG2YUVBW.js → chunk-SD6ENKTO.js} +7 -2
- package/dist/{chunk-6AMN7IKJ.js → chunk-SHAAMKN7.js} +43 -22
- package/dist/{chunk-DLUNQHFO.js → chunk-SHCW2TCA.js} +9 -9
- package/dist/{chunk-54ROMBU7.js → chunk-SSZB3VXG.js} +17 -17
- package/dist/chunk-SXAZDIGM.js +84 -0
- package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
- package/dist/{chunk-RPIKNMZA.js → chunk-T3WCDDIL.js} +7 -2
- package/dist/{chunk-JIEVDGAF.js → chunk-T5MBORBK.js} +1 -1
- package/dist/{chunk-32LLDRPI.js → chunk-TDDSWNGD.js} +23 -15
- package/dist/{chunk-7VVHTOE7.js → chunk-TGR6PRKG.js} +2 -2
- package/dist/{chunk-QJWLNP64.js → chunk-TKERVBJ3.js} +7 -8
- package/dist/{chunk-43GGVT7W.js → chunk-TMXRTYGT.js} +10 -4
- package/dist/{chunk-BIVL764T.js → chunk-TQ5HHNM3.js} +2 -2
- package/dist/{chunk-WN3HEU3P.js → chunk-TWRFVW3J.js} +4 -2
- package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
- package/dist/{chunk-O6ZTIDWB.js → chunk-UBXIGE2P.js} +3 -2
- package/dist/{chunk-JTC5SEAQ.js → chunk-UCIAHSJK.js} +2 -2
- package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
- package/dist/{chunk-DMAMWUYY.js → chunk-UFZXZJJG.js} +5 -5
- package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
- package/dist/{chunk-27OIGDRK.js → chunk-UP4JSNDR.js} +1 -1
- package/dist/{chunk-JEUL777U.js → chunk-USFIDSTO.js} +7 -5
- package/dist/{chunk-PZ46S2SY.js → chunk-V3UE3TB7.js} +2 -2
- package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
- package/dist/{chunk-BSATR6ZO.js → chunk-V62B23VC.js} +13 -1
- package/dist/{chunk-WWGPTEQB.js → chunk-VFLMBA2M.js} +66 -16
- package/dist/{chunk-5P2TTHBZ.js → chunk-VM5CQ7CG.js} +2 -2
- package/dist/{chunk-UREXN6WG.js → chunk-VMGTNB6H.js} +6 -6
- package/dist/{chunk-2NSQIPAA.js → chunk-VT7PBGL2.js} +6 -6
- package/dist/{chunk-CXETOLPX.js → chunk-VY2NPB2Q.js} +1 -1
- package/dist/{chunk-F77TMAUY.js → chunk-VY67Q6CJ.js} +18 -18
- package/dist/{chunk-7STMIK2X.js → chunk-W5SVS4B6.js} +2 -2
- package/dist/{chunk-MD6DCQMA.js → chunk-W7Q6PLT4.js} +37 -37
- package/dist/{chunk-JVZTKQFS.js → chunk-WDAZ2MT4.js} +8 -4
- package/dist/{chunk-MZACASZY.js → chunk-WE5WVQE4.js} +13 -1
- package/dist/chunk-WJQX7HBH.js +54 -0
- package/dist/{chunk-MS7O3KDJ.js → chunk-WKWCNS6K.js} +6 -6
- package/dist/{chunk-4KQHKPB3.js → chunk-WSKZZ2ZB.js} +11 -12
- package/dist/{chunk-SMHZXHHD.js → chunk-WZB6R2ZX.js} +6 -4
- package/dist/{chunk-37PKNVLS.js → chunk-X5OVVMZX.js} +1 -1
- package/dist/{chunk-MPO5TVGF.js → chunk-XFCBH3TI.js} +3 -3
- package/dist/{chunk-CAJ54IEP.js → chunk-XJUZC53Y.js} +1 -1
- package/dist/chunk-XN7JDII2.js +2047 -0
- package/dist/{chunk-4KMZAK6J.js → chunk-XNV7VOIT.js} +4 -4
- package/dist/{chunk-YK2KWNTU.js → chunk-XR7VOF2V.js} +9 -7
- package/dist/{chunk-WTQAG2OT.js → chunk-XYUXB5VK.js} +8 -3
- package/dist/{chunk-QB5HV4IY.js → chunk-Y5IKCXQR.js} +7 -8
- package/dist/{chunk-FNMH5WEY.js → chunk-Y5WHM2Q5.js} +1 -1
- package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
- package/dist/{chunk-L6YVK6VC.js → chunk-YB6QGOCO.js} +1 -1
- package/dist/{chunk-BYCJ6TKI.js → chunk-YBYV56FS.js} +3 -3
- package/dist/{chunk-DLDDRXAI.js → chunk-YCUNFAEE.js} +77 -37
- package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
- package/dist/{chunk-ZL6IHMOW.js → chunk-YGPLUENN.js} +88 -58
- package/dist/chunk-YGZEG3JV.js +123 -0
- package/dist/{chunk-JGFHNAHS.js → chunk-YJGFT63R.js} +8 -3
- package/dist/{chunk-XQMYQ4TN.js → chunk-YNHPPZ7S.js} +1 -1
- package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
- package/dist/{chunk-YZZLIYPA.js → chunk-YTEJYLU7.js} +5 -1
- package/dist/{chunk-CCJP6QZO.js → chunk-Z257SH5U.js} +1 -1
- package/dist/{chunk-ETMHDCEH.js → chunk-Z2BDTZDT.js} +13 -11
- package/dist/{chunk-MOK3ZS6P.js → chunk-ZDD3MJ2H.js} +1 -1
- package/dist/{chunk-6364WO5D.js → chunk-ZNX5J7D7.js} +2 -2
- package/dist/{chunk-UZTQUPTB.js → chunk-ZSYU6LIH.js} +4 -4
- package/dist/{chunk-JFFREZGT.js → chunk-ZTSJ7NY6.js} +6 -2
- package/dist/chunk-ZV3SNRJI.js +122 -0
- package/dist/cli/index.js +1 -1
- package/dist/{core-MU4ALRR7.js → core-4M4RY7MX.js} +4 -1
- package/dist/{core-XW7UJFJZ.js → core-4PW4MXWR.js} +4 -1
- package/dist/{core-LB5M7XL4.js → core-5S5CJHBG.js} +5 -1
- package/dist/{core-LGJZUP6H.js → core-7TTM4KRP.js} +6 -1
- package/dist/{core-GSILPKUR.js → core-7XKNJM7Y.js} +4 -1
- package/dist/{core-JDFUZFRH.js → core-A7HXVSKB.js} +5 -1
- package/dist/{core-K3JX5WPM.js → core-AMWCZTOT.js} +2 -1
- package/dist/{core-BLHEJ5OK.js → core-AVA4XLQ2.js} +4 -1
- package/dist/{core-ILPXXC2Z.js → core-BJZEJ63L.js} +5 -1
- package/dist/{core-3KLQSYWB.js → core-CCB3IXGD.js} +4 -1
- package/dist/{core-BBNY2BX4.js → core-D2OIGYC7.js} +2 -1
- package/dist/{core-4RR6VSXM.js → core-DMDAXVMY.js} +3 -1
- package/dist/{core-HDNWVLJW.js → core-EMSJRGSE.js} +4 -1
- package/dist/{core-A5AKUB7H.js → core-FCSA74RT.js} +2 -1
- package/dist/{core-WZ4CHVYL.js → core-FTQBESDS.js} +3 -1
- package/dist/{core-G3LXHW73.js → core-GS4DXDDG.js} +4 -1
- package/dist/{core-H5HO2CED.js → core-JDZDBTID.js} +2 -1
- package/dist/{core-VKZSQFRG.js → core-L3UR75IJ.js} +2 -1
- package/dist/{core-AR2T32Y3.js → core-MAW4S3KA.js} +4 -1
- package/dist/{core-4HFVG4CP.js → core-N2JEWJ7D.js} +3 -1
- package/dist/{core-BOG33BFD.js → core-OBPTBKX6.js} +4 -1
- package/dist/{core-HTD5RHE7.js → core-OFPPRHYY.js} +5 -1
- package/dist/{core-ZLSQHZ3I.js → core-QFAVWFI3.js} +4 -1
- package/dist/{core-TCSW24N6.js → core-QM34237W.js} +4 -1
- package/dist/{core-WJNK7F2J.js → core-SKMHEA4Y.js} +5 -1
- package/dist/{core-7S3XMW5O.js → core-T3OSZOVV.js} +2 -1
- package/dist/{core-7Y5BZZON.js → core-UNX4ZV4M.js} +4 -1
- package/dist/{core-DFZMOO7E.js → core-VRVL6LIM.js} +5 -1
- package/dist/{core-J2JD5ODO.js → core-VT35VDVS.js} +4 -1
- package/dist/{core-TKZZZ6UW.js → core-VWYXK2R3.js} +4 -1
- package/dist/{core-E2XOSHPR.js → core-WNT6ZMRO.js} +5 -1
- package/dist/{core-RR2CAZC5.js → core-WP73P4CW.js} +4 -1
- package/dist/{core-DD62MWEW.js → core-WPEYRK6Y.js} +2 -1
- package/dist/{core-YMXYUGF5.js → core-WXZJ7V7S.js} +2 -1
- package/dist/{core-5UF44NDI.js → core-XKXDXALI.js} +3 -1
- package/dist/{core-GLOZY6Z7.js → core-ZACFV6XR.js} +2 -1
- package/dist/{core-QPSAYRFT.js → core-ZSERZGK6.js} +5 -1
- package/dist/{dataTable-CNDRVGA5.js → dataTable-7IO546LM.js} +10 -2
- package/dist/{engine-FVEIM3WV.js → engine-US3N6UCH.js} +17 -9
- package/dist/fixtures.js +3 -1
- package/dist/fonts.js +1 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +31 -19
- package/dist/{main-THU6VIVU.js → main-2UWKGUHR.js} +27 -13
- package/dist/mcp/server.js +23 -13
- package/dist/react/bar.js +6 -1
- package/dist/react/bartable.js +8 -1
- package/dist/react/box.js +6 -1
- package/dist/react/bullet.js +7 -1
- package/dist/react/butterfly.js +6 -1
- package/dist/react/choropleth.js +8 -1
- package/dist/react/cohort.js +9 -1
- package/dist/react/column.js +6 -1
- package/dist/react/combo.js +6 -1
- package/dist/react/creative.js +8 -1
- package/dist/react/diagram.js +8 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +6 -1
- package/dist/react/export.js +25 -18
- package/dist/react/funnel.js +6 -1
- package/dist/react/gantt.js +7 -1
- package/dist/react/grid.js +5 -1
- package/dist/react/heatmap.js +7 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +93 -84
- package/dist/react/kpi.js +7 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +6 -1
- package/dist/react/mekko.js +6 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +6 -1
- package/dist/react/prepare.js +35 -20
- package/dist/react/pvm.js +7 -1
- package/dist/react/pyramid.js +6 -1
- package/dist/react/sankey.js +8 -1
- package/dist/react/scatter.js +6 -1
- package/dist/react/slope.js +7 -1
- package/dist/react/sparkline.js +7 -1
- package/dist/react/spec.js +17 -11
- package/dist/react/status.js +7 -1
- package/dist/react/story.js +4 -2
- package/dist/react/table.js +6 -1
- package/dist/react/theme.js +8 -3
- package/dist/react/tilemap.js +7 -1
- package/dist/react/treemap.js +7 -1
- package/dist/react/variance.js +6 -1
- package/dist/react/waffle.js +7 -1
- package/dist/react/waterfall.js +7 -1
- package/dist/rows.js +3 -2
- package/dist/{rowsModule-LI6KOS46.js → rowsModule-DYDVHBAX.js} +2 -1
- package/dist/{schema-ZQSIR5UC.js → schema-3KMU5737.js} +1 -1
- package/dist/{schema-YLE4XXQQ.js → schema-4JRNXEZF.js} +3 -1
- package/dist/{schema-KPEPBGAX.js → schema-626QXX4G.js} +3 -1
- package/dist/{schema-72EEMYS3.js → schema-6PL46VXZ.js} +3 -1
- package/dist/{schema-JH57NFXJ.js → schema-6V5K3J2V.js} +4 -1
- package/dist/{schema-H2EC4GAQ.js → schema-A2XUZUCV.js} +3 -1
- package/dist/{schema-QPOBZUAR.js → schema-CNJ4Y6CT.js} +3 -1
- package/dist/{schema-5KDEQBBT.js → schema-DHMMGDTI.js} +3 -1
- package/dist/{schema-BKUFZLLI.js → schema-F2Q6MH7W.js} +3 -1
- package/dist/{schema-PL3EU6EQ.js → schema-FC6J6KZC.js} +5 -1
- package/dist/{schema-AXRDF6ND.js → schema-FGE5YK3S.js} +3 -1
- package/dist/{schema-5DUTAVO7.js → schema-FSYDLMGD.js} +1 -1
- package/dist/{schema-PQZWO3BP.js → schema-G5KSSI5W.js} +1 -1
- package/dist/{schema-25INXAMY.js → schema-GXOG4MXL.js} +1 -1
- package/dist/{schema-AMT7P7KB.js → schema-HEB6ZDI5.js} +3 -1
- package/dist/{schema-HH5HOORE.js → schema-I44IDRGD.js} +1 -1
- package/dist/{schema-VYECMPON.js → schema-IFTIMTS3.js} +1 -1
- package/dist/{schema-QCIE6M2P.js → schema-IUY7VYHJ.js} +3 -1
- package/dist/{schema-M5JBHQIV.js → schema-J4HCSD5C.js} +5 -2
- package/dist/{schema-B2GCEYXD.js → schema-JCU6LTYD.js} +1 -1
- package/dist/{schema-FDFQKIO5.js → schema-JJWORI7D.js} +3 -1
- package/dist/{schema-GNTKL5DN.js → schema-K4V4PYBO.js} +3 -1
- package/dist/{schema-L5U4OROI.js → schema-LGLQBRC4.js} +3 -1
- package/dist/{schema-THXXFY6I.js → schema-MD22QYZU.js} +1 -1
- package/dist/{schema-7NSV542V.js → schema-MGETMQYC.js} +3 -1
- package/dist/{schema-ZG6ZKFRZ.js → schema-MQB6CE5V.js} +3 -1
- package/dist/{schema-OU35XA3Z.js → schema-NMIYKGHE.js} +3 -1
- package/dist/{schema-5ZTGVQAJ.js → schema-NOBNFD2F.js} +3 -1
- package/dist/{schema-MMVPMJEF.js → schema-OXO2XY4Y.js} +1 -1
- package/dist/{schema-LOQ3AFC7.js → schema-PHIHMDVB.js} +1 -1
- package/dist/{schema-ZEVJMFLV.js → schema-UXWKA3PI.js} +3 -1
- package/dist/{schema-GN6GAIU5.js → schema-WBOPCTPC.js} +1 -1
- package/dist/{schema-BBTXTWYI.js → schema-WFGDVBJK.js} +1 -1
- package/dist/{schema-J7TNCZIP.js → schema-WX2RS4OU.js} +3 -1
- package/dist/{schema-QORUB6EK.js → schema-XIHAKX3B.js} +18 -1
- package/dist/{schema-R5Y6NVBH.js → schema-XRSORYBI.js} +3 -1
- package/dist/{schema-CGQID64D.js → schema-YDZCGL56.js} +3 -1
- package/dist/{specValidation-VHLGDEME.js → specValidation-XGELWQUU.js} +2 -1
- package/dist/theme.js +5 -1
- package/dist/types/core/charts/bartable/types.d.ts +14 -1
- package/dist/types/core/charts/box/types.d.ts +3 -1
- package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
- package/dist/types/core/charts/choropleth/types.d.ts +19 -0
- package/dist/types/core/charts/cohort/types.d.ts +16 -3
- package/dist/types/core/charts/creative/types.d.ts +21 -0
- package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
- package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
- package/dist/types/core/charts/gantt/calendar.d.ts +20 -0
- package/dist/types/core/charts/gantt/columns.d.ts +56 -0
- package/dist/types/core/charts/gantt/layout.d.ts +8 -2
- package/dist/types/core/charts/gantt/model.d.ts +296 -0
- package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -0
- package/dist/types/core/charts/histogram/types.d.ts +8 -0
- package/dist/types/core/charts/likert/layout.d.ts +10 -8
- package/dist/types/core/charts/pvm/types.d.ts +9 -1
- package/dist/types/core/charts/pyramid/types.d.ts +3 -1
- package/dist/types/core/charts/sankey/types.d.ts +5 -1
- package/dist/types/core/charts/status/layout.d.ts +3 -0
- package/dist/types/core/charts/table/resolve.d.ts +14 -0
- package/dist/types/core/footer.d.ts +2 -0
- package/dist/types/core/formatSpec.d.ts +10 -0
- package/dist/types/core/frame.d.ts +1 -1
- package/dist/types/core/geo/types.d.ts +2 -0
- package/dist/types/core/geometry.d.ts +1 -1
- package/dist/types/core/normalize/shared.d.ts +2 -0
- package/dist/types/core/registry.d.ts +4 -5
- package/dist/types/core/request.d.ts +6 -0
- package/dist/types/core/schema/capability.d.ts +20 -7
- package/dist/types/core/schema/generatedColumns.d.ts +168 -0
- package/dist/types/core/text.d.ts +16 -0
- package/dist/types/core/themeGeometry.d.ts +9 -0
- package/dist/types/core/timeAxis.d.ts +6 -1
- package/dist/types/core/types/diagram.d.ts +7 -0
- package/dist/types/core/types/options.d.ts +83 -12
- package/dist/types/core/types/table.d.ts +21 -3
- package/dist/types/index.d.ts +2 -0
- package/dist/types/react/barrelCharts.d.ts +16 -5
- package/dist/types/react/charts/butterfly.d.ts +2 -2
- package/dist/types/react/charts/dot.d.ts +7 -1
- package/dist/types/react/charts/pareto.d.ts +4 -1
- package/dist/types/react/charts/variance.d.ts +3 -1
- package/dist/types/react/hover/labelCard.d.ts +11 -2
- package/dist/types/react/prepare.d.ts +7 -1
- package/dist/types/theme.d.ts +2 -0
- package/dist/validate.js +15 -5
- package/docs/manual.md +31 -3
- package/docs/reference/bar.md +3 -0
- package/docs/reference/bartable.md +16 -1
- package/docs/reference/box.md +8 -1
- package/docs/reference/bullet.md +12 -1
- package/docs/reference/butterfly.md +7 -1
- package/docs/reference/choropleth.md +14 -1
- package/docs/reference/cohort.md +25 -5
- package/docs/reference/column.md +1 -0
- package/docs/reference/combo.md +1 -0
- package/docs/reference/creative.md +13 -0
- package/docs/reference/diagram.md +5 -0
- package/docs/reference/dimswitch.md +50 -32
- package/docs/reference/dot.md +7 -2
- package/docs/reference/fixtures.md +57 -0
- package/docs/reference/funnel.md +5 -0
- package/docs/reference/gantt.md +10 -2
- package/docs/reference/grid.md +9 -2
- package/docs/reference/heatmap.md +6 -0
- package/docs/reference/histogram.md +2 -2
- package/docs/reference/kpi.md +5 -1
- package/docs/reference/likert.md +8 -0
- package/docs/reference/options.md +4 -3
- package/docs/reference/pareto.md +1 -1
- package/docs/reference/pvm.md +7 -1
- package/docs/reference/pyramid.md +6 -0
- package/docs/reference/react.md +1 -2
- package/docs/reference/sankey.md +6 -2
- package/docs/reference/slope.md +6 -0
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +7 -1
- package/docs/reference/table.md +16 -4
- package/docs/reference/tilemap.md +1 -1
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/waterfall.md +4 -1
- package/package.json +1 -1
- package/dist/chunk-FG5L2LUK.js +0 -89
- package/dist/chunk-IFQN4GKK.js +0 -1852
- package/dist/chunk-O36WX56O.js +0 -13
- package/dist/chunk-WIVFIVFZ.js +0 -27
- package/dist/chunk-ZWNRLIFT.js +0 -24
|
@@ -5,67 +5,70 @@ import {
|
|
|
5
5
|
columnHeadText,
|
|
6
6
|
columnWidth,
|
|
7
7
|
differenceFormatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-AKJO6N4K.js";
|
|
9
9
|
import {
|
|
10
10
|
seatsPastBlockers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7FAO4ICF.js";
|
|
12
12
|
import {
|
|
13
13
|
prepareRangeData,
|
|
14
14
|
resolveCellRange
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DPUCT567.js";
|
|
16
16
|
import {
|
|
17
17
|
averageMarkerLine,
|
|
18
18
|
averageMarkerScope
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-USFIDSTO.js";
|
|
20
20
|
import {
|
|
21
21
|
overValueLines
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5HTGSB6Y.js";
|
|
23
23
|
import {
|
|
24
24
|
warnMissingValue
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-I3DLERI7.js";
|
|
26
26
|
import {
|
|
27
27
|
HEAD_PREFIX,
|
|
28
28
|
asColumnHeads,
|
|
29
29
|
columnHeadFont,
|
|
30
30
|
fitHead,
|
|
31
31
|
headRequest
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import {
|
|
34
|
-
labelOn
|
|
35
|
-
} from "./chunk-EZZ533MH.js";
|
|
32
|
+
} from "./chunk-2KCK63DD.js";
|
|
36
33
|
import {
|
|
37
34
|
percentCellsOnly,
|
|
38
35
|
percentLevels,
|
|
39
36
|
runAnnotatePass
|
|
40
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UCIAHSJK.js";
|
|
41
38
|
import {
|
|
42
39
|
rowLabelBand
|
|
43
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-PSYPB22T.js";
|
|
44
41
|
import {
|
|
45
42
|
fittedLabel,
|
|
46
43
|
gutterBudget,
|
|
47
44
|
pinnedRowFont,
|
|
48
45
|
stepDownFont
|
|
49
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-XFCBH3TI.js";
|
|
50
47
|
import {
|
|
51
48
|
breakUnsupported,
|
|
52
49
|
chartPalette,
|
|
53
50
|
chartTheme
|
|
54
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IW3YUMPI.js";
|
|
55
52
|
import {
|
|
56
53
|
topNCut,
|
|
57
54
|
topNOmitted,
|
|
58
55
|
topNRestUnsupported
|
|
59
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-W5SVS4B6.js";
|
|
60
57
|
import {
|
|
61
58
|
namedLineText
|
|
62
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-O4D27FKH.js";
|
|
60
|
+
import {
|
|
61
|
+
labelOn
|
|
62
|
+
} from "./chunk-YO5UKKCQ.js";
|
|
63
63
|
import {
|
|
64
64
|
structureCount
|
|
65
65
|
} from "./chunk-XCROSJ2Z.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
alignedRight,
|
|
68
|
+
authoredTrackWidth,
|
|
69
|
+
columnOverrideWarnings,
|
|
70
|
+
trackPlotFloor
|
|
71
|
+
} from "./chunk-GKDUIDU6.js";
|
|
69
72
|
import {
|
|
70
73
|
CONTENT_PLOT_HEIGHT,
|
|
71
74
|
HARD_MINIMUM,
|
|
@@ -81,10 +84,10 @@ import {
|
|
|
81
84
|
planValueAxisTitle,
|
|
82
85
|
shownTickStep,
|
|
83
86
|
valueAxisTitleRequest
|
|
84
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-AFGQXMKT.js";
|
|
85
88
|
import {
|
|
86
89
|
prepareFractionData
|
|
87
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-I65OLJ2X.js";
|
|
88
91
|
import {
|
|
89
92
|
PRIORITY,
|
|
90
93
|
authoredFootnoteCount,
|
|
@@ -107,16 +110,19 @@ import {
|
|
|
107
110
|
solveLabels,
|
|
108
111
|
unionRect,
|
|
109
112
|
unitPrinted
|
|
110
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
111
114
|
import {
|
|
112
115
|
disclosureNote
|
|
113
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
117
|
+
import {
|
|
118
|
+
emptyIdRecord
|
|
119
|
+
} from "./chunk-LINZPU5D.js";
|
|
114
120
|
import {
|
|
115
121
|
formatStatWithSpec,
|
|
116
122
|
formatterFromExample,
|
|
117
123
|
neededDecimals,
|
|
118
124
|
seriesRasterFormatter
|
|
119
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-D3PQAVFW.js";
|
|
120
126
|
import {
|
|
121
127
|
autoDecimals,
|
|
122
128
|
chartStrings,
|
|
@@ -143,7 +149,7 @@ import {
|
|
|
143
149
|
seriesPaint,
|
|
144
150
|
strokeToken,
|
|
145
151
|
textScaleOf
|
|
146
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-JARJP576.js";
|
|
147
153
|
import {
|
|
148
154
|
MARK_CONTRAST_FLOOR,
|
|
149
155
|
hueSaturation,
|
|
@@ -160,7 +166,7 @@ import {
|
|
|
160
166
|
resolveHighlight,
|
|
161
167
|
resolveSize,
|
|
162
168
|
resolveSubtitle
|
|
163
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-FX5VZK5F.js";
|
|
164
170
|
import {
|
|
165
171
|
maxOf,
|
|
166
172
|
minOf,
|
|
@@ -168,7 +174,7 @@ import {
|
|
|
168
174
|
} from "./chunk-WYJEOMNY.js";
|
|
169
175
|
import {
|
|
170
176
|
defaultMeasurer
|
|
171
|
-
} from "./chunk-
|
|
177
|
+
} from "./chunk-UIHGGWES.js";
|
|
172
178
|
|
|
173
179
|
// src/core/strings/dot.ts
|
|
174
180
|
var EN = {
|
|
@@ -391,7 +397,7 @@ function layoutDot(data, options = {}) {
|
|
|
391
397
|
a !== null && b !== null && gapText.set(c.id, signedGap(b, a));
|
|
392
398
|
});
|
|
393
399
|
}
|
|
394
|
-
let gapHead = gapText.size === 0 ? void 0 : columnHeadText(chartString(options, "gapHead"), percent), gapHeadFont = columnHeadFont(theme, options.target ?? DEFAULT_TARGET, textScaleOf(options)), gapFont = (id) => highlights.has(id) ? strongFont : labelFont,
|
|
400
|
+
let gapOverride = options.columnOverrides?.gap, gapHead = gapText.size === 0 ? void 0 : gapOverride?.label ?? columnHeadText(chartString(options, "gapHead"), percent), gapHeadFont = columnHeadFont(theme, options.target ?? DEFAULT_TARGET, textScaleOf(options)), gapFont = (id) => highlights.has(id) ? strongFont : labelFont, gapNaturalW = gapHead === void 0 ? 0 : columnWidth(measure, [...gapText].map(([id, text]) => ({ text, font: gapFont(id) })), { text: gapHead, font: gapHeadFont }), occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), margin = { ...canvasMargin(theme, size.width), ...options.margin }, legendInput = buildLegend(), frameResult = solveFrame(
|
|
395
401
|
{
|
|
396
402
|
size,
|
|
397
403
|
margin,
|
|
@@ -411,8 +417,10 @@ function layoutDot(data, options = {}) {
|
|
|
411
417
|
occupied
|
|
412
418
|
), plot0 = frameResult.plot, autoAxis = variant === "lollipop" && options.valueAxis?.show === void 0 && labelOn2("point") && dataSeries.every((s) => s.cells.every((cell) => cell.v === null || textFor(cell.v, cell, s) !== null)), axisShown = autoAxis ? !1 : options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, annPad = localAnns.length > 0 ? 26 : 8, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0;
|
|
413
419
|
fixedPlotChrome(frameResult, annPad + axisH);
|
|
414
|
-
let availH = plotHeightAfter(frameResult, size.height, plot0.h - annPad - axisH), lineH = tickFont.size * 1.2, stepEst = availH / cats.length, openHeight = options[TARGET_SIZE]?.fixed.height === !1, rowHeaders = variant === "dumbbell" && labelOn2("category") && options.rowLabels === void 0 && size.width <= HEADER_ROWS_MAX_WIDTH && (openHeight || stepEst >= 2 * lineH + 8), headerH = rowHeaders ? lineH + 3 : 0, air = options[HARD_MINIMUM] === !0 ? 1 : 4, catMaxLines = rowHeaders ? 1 : openHeight ? 1 / 0 : stepEst >= 2 * lineH + 4 ? 2 : 1,
|
|
415
|
-
|
|
420
|
+
let availH = plotHeightAfter(frameResult, size.height, plot0.h - annPad - axisH), lineH = tickFont.size * 1.2, stepEst = availH / cats.length, openHeight = options[TARGET_SIZE]?.fixed.height === !1, labelOverride = options.columnOverrides?.label, rowHeaders = variant === "dumbbell" && labelOn2("category") && options.rowLabels === void 0 && labelOverride === void 0 && size.width <= HEADER_ROWS_MAX_WIDTH && (openHeight || stepEst >= 2 * lineH + 8), headerH = rowHeaders ? lineH + 3 : 0, air = options[HARD_MINIMUM] === !0 ? 1 : 4, catMaxLines = rowHeaders ? 1 : openHeight ? 1 / 0 : stepEst >= 2 * lineH + 4 ? 2 : 1, gapW = gapHead === void 0 ? 0 : gapOverride?.width === void 0 ? gapNaturalW : authoredTrackWidth("gap", gapOverride.width, gapNaturalW, plot0.w - (labelOn2("category") ? 24 + CAT_BAND_GAP : 0) - COLUMN_GAP - trackPlotFloor(plot0.w), warnings), gapReserve = gapW > 0 ? gapW + COLUMN_GAP : 0, nameTrack = labelOverride?.width === void 0 || !labelOn2("category") ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, plot0.w - CAT_BAND_GAP - gapReserve - trackPlotFloor(plot0.w), warnings);
|
|
421
|
+
columnOverrideWarnings("dot", options.columnOverrides, [...labelOn2("category") && !rowHeaders ? ["label"] : [], ...gapHead === void 0 ? [] : ["gap"]], ["gap"], warnings);
|
|
422
|
+
let capW = nameTrack ?? (rowHeaders ? plot0.w : Math.max(24, plot0.w * 0.28)), nameWider = nameTrack ?? gutterBudget(24, plot0.w), { labels: catLines, width: catColumnW } = rowLabelBand(cats, tickFont, capW, catMaxLines, lineH, measure, {
|
|
423
|
+
wider: nameWider,
|
|
416
424
|
...rowHeaders ? {} : { tightLines: Math.floor((stepEst - air) / lineH) },
|
|
417
425
|
target: options.target,
|
|
418
426
|
textScale: textScaleOf(options),
|
|
@@ -422,7 +430,7 @@ function layoutDot(data, options = {}) {
|
|
|
422
430
|
}), pinnedFont = !rowHeaders && !openHeight && catLines.some((label) => label.title !== void 0) ? pinnedRowFont(theme, tickFont, "axis", options.target, textScaleOf(options)) : void 0;
|
|
423
431
|
if (pinnedFont && stepEst >= 2 * pinnedFont.size * pinnedFont.lineHeight + air) {
|
|
424
432
|
let pinned = rowLabelBand(cats, pinnedFont, capW, 2, pinnedFont.size * pinnedFont.lineHeight, measure, {
|
|
425
|
-
wider:
|
|
433
|
+
wider: nameWider,
|
|
426
434
|
target: options.target,
|
|
427
435
|
textScale: textScaleOf(options),
|
|
428
436
|
typeRole: "axis",
|
|
@@ -435,7 +443,7 @@ function layoutDot(data, options = {}) {
|
|
|
435
443
|
frameResult.frame.plotMinHeight ?? 0,
|
|
436
444
|
size.height + (frameResult.deficit ?? 0) + cats.length * rowHeight - (plot0.h - annPad - axisH)
|
|
437
445
|
);
|
|
438
|
-
let catBandW = rowHeaders ? 0 : catColumnW, catGap = rowHeaders ? 0 : CAT_BAND_GAP, valueBody = {
|
|
446
|
+
let catBandW = rowHeaders ? 0 : nameTrack ?? catColumnW, catGap = rowHeaders ? 0 : CAT_BAND_GAP, valueBody = {
|
|
439
447
|
x: plot0.x + catBandW + catGap,
|
|
440
448
|
y: plot0.y + annPad,
|
|
441
449
|
w: Math.max(10, plot0.w - catBandW - catGap - gapReserve),
|
|
@@ -524,7 +532,7 @@ function layoutDot(data, options = {}) {
|
|
|
524
532
|
let anchorByDot = /* @__PURE__ */ new Map(), keyValues = cats.map((_, ci) => sortKey(ci)), maxKey = maxOf(keyValues), minKey = minOf(keyValues), bonus = (catId, seriesId) => highlights.has(catId) || seriesId !== void 0 && highlights.has(seriesId) ? PRIORITY.highlightBonus : 0, rowBasePriority = (ci, v) => ci === 0 || ci === cats.length - 1 ? PRIORITY.endpoint : keyValues[ci] === maxKey || keyValues[ci] === minKey ? PRIORITY.extreme : PRIORITY.interior + Math.min(99, Math.abs(v));
|
|
525
533
|
cats.forEach((cat, ci) => {
|
|
526
534
|
let cy = band.position(ci) + band.bandwidth / 2 + headerH / 2;
|
|
527
|
-
gapText.has(cat.id) && labelRequests.push(columnCellRequest({ id: `gap:${cat.id}`, owner: { categoryId: cat.id }, text: gapText.get(cat.id), font: gapFont(cat.id), measure, right: plot0.x + plot0.w, cy }));
|
|
535
|
+
gapText.has(cat.id) && labelRequests.push(columnCellRequest({ id: `gap:${cat.id}`, owner: { categoryId: cat.id }, text: gapText.get(cat.id), font: gapFont(cat.id), measure, right: alignedRight(plot0.x + plot0.w, gapW, measure(gapText.get(cat.id), gapFont(cat.id)).width, gapOverride?.align ?? "right"), cy }));
|
|
528
536
|
let row = { categoryId: cat.id, dots: [] }, rowSceneStart = nodes.length;
|
|
529
537
|
if (variant === "dumbbell") {
|
|
530
538
|
let a = dataSeries[0].cells[ci].v, b = dataSeries[1].cells[ci].v;
|
|
@@ -792,7 +800,7 @@ function layoutDot(data, options = {}) {
|
|
|
792
800
|
// A header clears the value labels beside its pair, solver padding included.
|
|
793
801
|
rect: rowHeaders ? { x: plot0.x, y: cy - Math.max(r, measure("0", labelFont).height / 2) - 3 - cl.h, w: cl.w, h: cl.h } : {
|
|
794
802
|
// Names sit right-aligned against the axis by default.
|
|
795
|
-
x: rowLabelX(plot0.x, catBandW, cl.w, options.rowLabels?.align ?? "right"),
|
|
803
|
+
x: rowLabelX(plot0.x, catBandW, cl.w, labelOverride?.align ?? options.rowLabels?.align ?? "right"),
|
|
796
804
|
y: cy - cl.h / 2,
|
|
797
805
|
w: cl.w,
|
|
798
806
|
h: cl.h
|
|
@@ -860,9 +868,9 @@ function layoutDot(data, options = {}) {
|
|
|
860
868
|
});
|
|
861
869
|
}
|
|
862
870
|
for (let seat of pointSeats) seat();
|
|
863
|
-
if (gapHead
|
|
871
|
+
if (gapHead) {
|
|
864
872
|
let head = fitHead(gapHead, gapHeadFont, gapW, measure, { target: options.target ?? DEFAULT_TARGET, textScale: textScaleOf(options) }), first = band.position(0) + band.bandwidth / 2, headH = measure(head.lines[0], gapHeadFont).height;
|
|
865
|
-
labelRequests.push(headRequest("gap", 0, head, plot0.x + plot0.w, Math.min(valueBody.y - 2, first - labelFont.size * 0.6 - headH - 2), headH, !1));
|
|
873
|
+
labelRequests.push(headRequest("gap", 0, head, alignedRight(plot0.x + plot0.w, gapW, head.w, gapOverride?.headAlign ?? gapOverride?.align ?? "right"), Math.min(valueBody.y - 2, first - labelFont.size * 0.6 - headH - 2), headH, !1));
|
|
866
874
|
}
|
|
867
875
|
let solveCtx = labelCtx(theme, size, options, {
|
|
868
876
|
measure,
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
claimedRegionIds,
|
|
6
6
|
geoRegionIdIndex,
|
|
7
7
|
resolveGeoRegionId
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PZ3TQFSY.js";
|
|
9
9
|
import {
|
|
10
10
|
getGeoPack
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-JSA3ESEJ.js";
|
|
12
12
|
import {
|
|
13
13
|
WRITTEN_NUMBER,
|
|
14
14
|
adaptNamedColumns
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5JTRCSBN.js";
|
|
16
16
|
import {
|
|
17
17
|
receivedDescription
|
|
18
18
|
} from "./chunk-RZNYW7UP.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-O3VN6BTL.js";
|
|
24
24
|
import {
|
|
25
25
|
NormalizeError
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-FX5VZK5F.js";
|
|
27
27
|
|
|
28
28
|
// src/core/inputError.ts
|
|
29
29
|
function parseSpecString(spec, warnings) {
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// src/core/charts/cohort/optionRefusals.ts
|
|
2
|
+
var EXHIBIT_ONLY = ["columnVisibility", "columnOverrides", "columnOrder", "columnHeads", "totalPosition"];
|
|
3
|
+
function cohortKeyRefusals(options) {
|
|
4
|
+
return [
|
|
5
|
+
...options.variant === void 0 || options.variant === "heatmap" ? EXHIBIT_ONLY.filter((key) => options[key] !== void 0).map((key) => ({
|
|
6
|
+
key,
|
|
7
|
+
message: `'${key}' sets a part of the exhibit table, and the heatmap variant has none; set variant 'pure' or 'stepped', or drop '${key}'`
|
|
8
|
+
})) : [],
|
|
9
|
+
...options.figures !== void 0 && options.variant !== "stepped" ? [{
|
|
10
|
+
key: "figures",
|
|
11
|
+
message: "'figures' stops the numbers on stepped fills, and only variant 'stepped' draws them; set variant 'stepped', or drop 'figures'"
|
|
12
|
+
}] : [],
|
|
13
|
+
...options.designatedPeriod === !1 && options.variant !== "pure" ? [{
|
|
14
|
+
key: "designatedPeriod",
|
|
15
|
+
message: "designatedPeriod false turns off the column tint of variant 'pure', and only that variant draws one; set variant 'pure', or drop 'designatedPeriod'"
|
|
16
|
+
}] : []
|
|
17
|
+
];
|
|
18
|
+
}
|
|
19
|
+
function cohortOptionRefusals(options) {
|
|
20
|
+
return cohortKeyRefusals(options).map(({ key, message }) => ({
|
|
21
|
+
code: "invalid-options",
|
|
22
|
+
severity: "error",
|
|
23
|
+
message,
|
|
24
|
+
field: ["options", key],
|
|
25
|
+
fix: [{ op: "remove", path: `/options/${key}` }]
|
|
26
|
+
}));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export {
|
|
30
|
+
cohortKeyRefusals,
|
|
31
|
+
cohortOptionRefusals
|
|
32
|
+
};
|
|
@@ -9,24 +9,21 @@ import {
|
|
|
9
9
|
logTickTiers,
|
|
10
10
|
olsFit,
|
|
11
11
|
olsMoments
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-JMOBA5ES.js";
|
|
13
13
|
import {
|
|
14
14
|
numericViewportRange
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-VY2NPB2Q.js";
|
|
16
16
|
import {
|
|
17
17
|
runAnnotatePass
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-UCIAHSJK.js";
|
|
19
19
|
import {
|
|
20
20
|
breakUnsupported,
|
|
21
21
|
chartPalette,
|
|
22
22
|
chartTheme
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IW3YUMPI.js";
|
|
24
24
|
import {
|
|
25
25
|
structureCount
|
|
26
26
|
} from "./chunk-XCROSJ2Z.js";
|
|
27
|
-
import {
|
|
28
|
-
emptyIdRecord
|
|
29
|
-
} from "./chunk-LINZPU5D.js";
|
|
30
27
|
import {
|
|
31
28
|
HARD_COMPACT_PLOT,
|
|
32
29
|
applyAxisBounds,
|
|
@@ -38,7 +35,7 @@ import {
|
|
|
38
35
|
measureValueAxisWidth,
|
|
39
36
|
niceDomain,
|
|
40
37
|
plotFloorRows
|
|
41
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-AFGQXMKT.js";
|
|
42
39
|
import {
|
|
43
40
|
PRIORITY,
|
|
44
41
|
authoredNotes,
|
|
@@ -63,14 +60,17 @@ import {
|
|
|
63
60
|
seatLeader,
|
|
64
61
|
solveFrame,
|
|
65
62
|
solveLabels
|
|
66
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
67
64
|
import {
|
|
68
65
|
disclosureNote,
|
|
69
66
|
disclosuresShown,
|
|
70
67
|
staticFrame,
|
|
71
68
|
storyFrameFit,
|
|
72
69
|
withEngineNotes
|
|
73
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
71
|
+
import {
|
|
72
|
+
emptyIdRecord
|
|
73
|
+
} from "./chunk-LINZPU5D.js";
|
|
74
74
|
import {
|
|
75
75
|
MAGNITUDE_DIVISOR,
|
|
76
76
|
exampleSpec,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
roundedNumber,
|
|
81
81
|
seriesRasterFormatter,
|
|
82
82
|
trendRateFormatter
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-D3PQAVFW.js";
|
|
84
84
|
import {
|
|
85
85
|
autoDecimals,
|
|
86
86
|
chartStrings,
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
seriesPaint,
|
|
109
109
|
spaceTokens,
|
|
110
110
|
strokeToken
|
|
111
|
-
} from "./chunk-
|
|
111
|
+
} from "./chunk-JARJP576.js";
|
|
112
112
|
import {
|
|
113
113
|
PALETTE_NORMAL_FLOOR
|
|
114
114
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
normalizeScenario,
|
|
126
126
|
resolveHighlight,
|
|
127
127
|
resolveSize
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-FX5VZK5F.js";
|
|
129
129
|
import {
|
|
130
130
|
maxOf,
|
|
131
131
|
minOf,
|
|
@@ -134,7 +134,7 @@ import {
|
|
|
134
134
|
import {
|
|
135
135
|
defaultMeasurer,
|
|
136
136
|
wrapText
|
|
137
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-UIHGGWES.js";
|
|
138
138
|
|
|
139
139
|
// src/core/strings/scatter.ts
|
|
140
140
|
var EN = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CARD_CLASS_WIDTH,
|
|
3
3
|
heightOmitted
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AFGQXMKT.js";
|
|
5
5
|
import {
|
|
6
6
|
TEXT_ASCENT,
|
|
7
7
|
chartString,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
footnoteMark,
|
|
10
10
|
localeStrings,
|
|
11
11
|
round2
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
13
13
|
import {
|
|
14
14
|
INTERACTIVE_LAYOUT,
|
|
15
15
|
allQuiet,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
staticFrame,
|
|
27
27
|
unprintedNotes,
|
|
28
28
|
wrapFootnote
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
30
30
|
import {
|
|
31
31
|
emphasisWeight,
|
|
32
32
|
panelTypeClass,
|
|
33
33
|
spaceTokens
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-JARJP576.js";
|
|
35
35
|
import {
|
|
36
36
|
publishDeferred
|
|
37
37
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chartTypeAliases,
|
|
3
|
+
schemaLoaders
|
|
4
|
+
} from "./chunk-W7Q6PLT4.js";
|
|
5
|
+
import {
|
|
6
|
+
registeredType
|
|
7
|
+
} from "./chunk-D5G67OER.js";
|
|
8
|
+
import {
|
|
9
|
+
caseInsensitiveValue,
|
|
10
|
+
getChart,
|
|
11
|
+
getChartSchemas,
|
|
12
|
+
registerChartSchemas
|
|
13
|
+
} from "./chunk-AFGQXMKT.js";
|
|
14
|
+
import {
|
|
15
|
+
registerChartCoreLoader
|
|
16
|
+
} from "./chunk-DRHQG44U.js";
|
|
17
|
+
|
|
18
|
+
// src/react/coreLoaders.ts
|
|
19
|
+
var coreLoaders = {
|
|
20
|
+
bar: () => import("./core-UNX4ZV4M.js").then((module) => module.barCore),
|
|
21
|
+
bartable: () => import("./core-VRVL6LIM.js").then((module) => module.bartableCore),
|
|
22
|
+
box: () => import("./core-AVA4XLQ2.js").then((module) => module.boxCore),
|
|
23
|
+
bullet: () => import("./core-SKMHEA4Y.js").then((module) => module.bulletCore),
|
|
24
|
+
butterfly: () => import("./core-VWYXK2R3.js").then((module) => module.butterflyCore),
|
|
25
|
+
choropleth: () => import("./core-WNT6ZMRO.js").then((module) => module.choroplethCore),
|
|
26
|
+
cohort: () => import("./core-7TTM4KRP.js").then((module) => module.cohortCore),
|
|
27
|
+
column: () => import("./core-MAW4S3KA.js").then((module) => module.columnCore),
|
|
28
|
+
combo: () => import("./core-D2OIGYC7.js").then((module) => module.comboCore),
|
|
29
|
+
creative: () => import("./core-BJZEJ63L.js").then((module) => module.creativeCore),
|
|
30
|
+
diagram: () => import("./core-A7HXVSKB.js").then((module) => module.diagramCore),
|
|
31
|
+
dimswitch: () => import("./core-XKXDXALI.js").then((module) => module.dimswitchCore),
|
|
32
|
+
dot: () => import("./core-4M4RY7MX.js").then((module) => module.dotCore),
|
|
33
|
+
funnel: () => import("./core-CCB3IXGD.js").then((module) => module.funnelCore),
|
|
34
|
+
gantt: () => import("./core-QFAVWFI3.js").then((module) => module.ganttCore),
|
|
35
|
+
grid: () => import("./core-WP73P4CW.js").then((module) => module.gridCore),
|
|
36
|
+
heatmap: () => import("./core-EMSJRGSE.js").then((module) => module.heatmapCore),
|
|
37
|
+
histogram: () => import("./core-ZACFV6XR.js").then((module) => module.histogramCore),
|
|
38
|
+
kpi: () => import("./core-OFPPRHYY.js").then((module) => module.kpiCore),
|
|
39
|
+
likert: () => import("./core-VT35VDVS.js").then((module) => module.likertCore),
|
|
40
|
+
line: () => import("./core-T3OSZOVV.js").then((module) => module.lineCore),
|
|
41
|
+
mekko: () => import("./core-WPEYRK6Y.js").then((module) => module.mekkoCore),
|
|
42
|
+
pareto: () => import("./core-AMWCZTOT.js").then((module) => module.paretoCore),
|
|
43
|
+
pie: () => import("./core-FCSA74RT.js").then((module) => module.pieCore),
|
|
44
|
+
pvm: () => import("./core-7XKNJM7Y.js").then((module) => module.pvmCore),
|
|
45
|
+
pyramid: () => import("./core-4PW4MXWR.js").then((module) => module.pyramidCore),
|
|
46
|
+
sankey: () => import("./core-5S5CJHBG.js").then((module) => module.sankeyCore),
|
|
47
|
+
scatter: () => import("./core-JDZDBTID.js").then((module) => module.scatterCore),
|
|
48
|
+
slope: () => import("./core-ZSERZGK6.js").then((module) => module.slopeCore),
|
|
49
|
+
sparkline: () => import("./core-FTQBESDS.js").then((module) => module.sparklineCore),
|
|
50
|
+
status: () => import("./core-QM34237W.js").then((module) => module.statusCore),
|
|
51
|
+
table: () => import("./core-WXZJ7V7S.js").then((module) => module.tableCore),
|
|
52
|
+
tilemap: () => import("./core-OBPTBKX6.js").then((module) => module.tilemapCore),
|
|
53
|
+
treemap: () => import("./core-DMDAXVMY.js").then((module) => module.treemapCore),
|
|
54
|
+
variance: () => import("./core-L3UR75IJ.js").then((module) => module.varianceCore),
|
|
55
|
+
waffle: () => import("./core-N2JEWJ7D.js").then((module) => module.waffleCore),
|
|
56
|
+
waterfall: () => import("./core-GS4DXDDG.js").then((module) => module.waterfallCore)
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// src/react/loadChartTypes.ts
|
|
60
|
+
var aliasOwners = /* @__PURE__ */ new Map();
|
|
61
|
+
for (let [type, aliases] of Object.entries(chartTypeAliases))
|
|
62
|
+
for (let alias of aliases) aliasOwners.set(alias, type);
|
|
63
|
+
function knownChartType(name) {
|
|
64
|
+
return name = caseInsensitiveValue(name, [...Object.keys(coreLoaders), ...aliasOwners.keys()]) ?? name, Object.hasOwn(coreLoaders, name) ? name : aliasOwners.get(name);
|
|
65
|
+
}
|
|
66
|
+
async function loadChartTypes(names, parts) {
|
|
67
|
+
let types = [...new Set(names.map(knownChartType).filter((type) => type !== void 0))];
|
|
68
|
+
await Promise.all(types.flatMap((type) => [
|
|
69
|
+
parts.schemas && getChartSchemas(type) === void 0 ? schemaLoaders[type]().then((schemas) => {
|
|
70
|
+
registerChartSchemas(schemas, chartTypeAliases[type]);
|
|
71
|
+
}) : void 0,
|
|
72
|
+
parts.cores && getChart(type) === void 0 ? coreLoaders[type]().then((core) => {
|
|
73
|
+
registeredType(core);
|
|
74
|
+
}) : void 0
|
|
75
|
+
]));
|
|
76
|
+
}
|
|
77
|
+
registerChartCoreLoader({
|
|
78
|
+
knows: (type) => knownChartType(type) !== void 0,
|
|
79
|
+
load: (type) => loadChartTypes([type], { schemas: !1, cores: !0 })
|
|
80
|
+
});
|
|
81
|
+
function registeredTypeWithPanelCores(core) {
|
|
82
|
+
return registeredType(core);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
knownChartType,
|
|
87
|
+
loadChartTypes,
|
|
88
|
+
registeredTypeWithPanelCores
|
|
89
|
+
};
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
sharedKeys2,
|
|
5
5
|
sharedKeys5,
|
|
6
6
|
sharedKeys9
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7BQK2UDV.js";
|
|
8
8
|
import {
|
|
9
9
|
optionKeyCheck
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-FF7MV4D4.js";
|
|
11
11
|
import {
|
|
12
12
|
createChartComponent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BDCKHLUB.js";
|
|
14
14
|
import {
|
|
15
15
|
lineCore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-73O6AOAA.js";
|
|
17
17
|
import {
|
|
18
18
|
registeredType
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D5G67OER.js";
|
|
20
20
|
|
|
21
21
|
// src/react/charts/line.ts
|
|
22
22
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, log: 0, reverse: 0, gridlines: 0 }, categoryAxis: { crossesBetween: 0, dateTicks: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, trend: { label: 0 }, window: { last: 0, decimate: 0, maxPoints: 0 }, viewDomain: { x: 0 }, xAxis: { type: 0, zone: 0, min: 0, max: 0, tickStep: { unit: 0, step: 0 }, ticks: { "[]": { value: 0, label: 0 } }, format: 0, title: 0, unit: 0, maxTicks: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, events: sharedKeys1, axisTitles: { primary: 0 }, endLabelPlacement: 0, variant: 0, bump: { direction: 0, focus: 0 }, seriesLabels: { only: 0 }, valueLabels: 0, latestPoint: { series: 0, marker: 0 }, emphasis: 0, othersShade: 0, highlightMode: 0, scenarioStyle: { "*": { width: 0, ink: 0 } }, rebase100: { at: 0 }, ratioTier: sharedKeys2, interpolate: 0, phases: { "[]": { id: 0, label: 0, from: 0, to: 0, tone: 0, rank: 0 } }, gapFill: { between: 0, positiveTone: 0, negativeTone: 0 }, fan: { of: 0, bands: { "[]": { low: 0, high: 0, label: 0 } }, showBounds: 0 }, targets: { "[]": { at: 0, value: 0, label: 0, seriesId: 0 } }, methodNote: 0, referenceBands: { "[]": { id: 0, value: 0, low: 0, high: 0, label: 0, description: 0 } } }, labels: ["category", "series", "point", "restSeries", "percentIndicator", "axisTitle"] }), LineChart = createChartComponent(registeredType(lineCore), checkOptionKeys);
|
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
|
-
sharedKeys5
|
|
4
|
-
|
|
5
|
-
} from "./chunk-O36WX56O.js";
|
|
3
|
+
sharedKeys5
|
|
4
|
+
} from "./chunk-7BQK2UDV.js";
|
|
6
5
|
import {
|
|
7
6
|
optionKeyCheck
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FF7MV4D4.js";
|
|
9
8
|
import {
|
|
10
9
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BDCKHLUB.js";
|
|
12
11
|
import {
|
|
13
12
|
waffleCore
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FJKFYQ5I.js";
|
|
15
14
|
import {
|
|
16
15
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D5G67OER.js";
|
|
18
17
|
|
|
19
18
|
// src/react/charts/waffle.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0,
|
|
19
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labelPlacements: 0, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, includeZero: 0, percent: 0, gridlines: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, grid: { rows: 0, columns: 0 }, fillFrom: 0, headline: 0, heightFill: 0, cellNote: 0, variant: 0, reference: { categoryId: 0, value: 0, label: 0 }, arrows: 0, panelGroups: { "[]": { id: 0, panels: 0, label: 0, colorRole: 0 } }, subtotal: { series: 0, label: 0 } } }), WaffleChart = createChartComponent(registeredType(waffleCore), checkOptionKeys);
|
|
21
20
|
|
|
22
21
|
export {
|
|
23
22
|
WaffleChart
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-MSYTF3DZ.js";
|
|
11
11
|
import {
|
|
12
12
|
NormalizeError
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-FX5VZK5F.js";
|
|
14
14
|
|
|
15
15
|
// src/core/timeAxis.ts
|
|
16
16
|
function timeAnnotationAnchors(raw) {
|
|
@@ -222,8 +222,12 @@ var UNIT_MS = { millisecond: 1, second: 1e3, minute: MINUTE, hour: HOUR };
|
|
|
222
222
|
function stepLength(step) {
|
|
223
223
|
return { millisecond: 1, second: 1e3, minute: MINUTE, hour: HOUR, day: DAY, week: 7 * DAY, month: 30.44 * DAY, year: 365.25 * DAY }[step.unit] * step.n;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
|
|
225
|
+
function timeStepOutrunsPlot(lo, hi, step, pixels) {
|
|
226
|
+
let subDay = UNIT_MS[step.unit];
|
|
227
|
+
return subDay !== void 0 && subDay * step.n > DAY && (hi - lo) / DAY > pixels;
|
|
228
|
+
}
|
|
229
|
+
function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400, pixels = 1 / 0) {
|
|
230
|
+
if (!(hi >= lo) || (hi - lo) / stepLength(step) > limit || timeStepOutrunsPlot(lo, hi, step, pixels)) return;
|
|
227
231
|
let walls = [], wallLo = lo + clock.offsetAt(lo) - DAY, wallHi = hi + clock.offsetAt(hi) + DAY, subDay = UNIT_MS[step.unit];
|
|
228
232
|
if (subDay !== void 0) {
|
|
229
233
|
let size = subDay * step.n;
|
|
@@ -232,7 +236,7 @@ function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400) {
|
|
|
232
236
|
for (let at = Math.ceil(lo / size) * size; at <= hi; at += size) ticks2.push(at);
|
|
233
237
|
return ticks2;
|
|
234
238
|
}
|
|
235
|
-
let offLo = clock.offsetAt(lo), offHi = clock.offsetAt(hi), from = lo + Math.min(offLo, offHi) -
|
|
239
|
+
let offLo = clock.offsetAt(lo), offHi = clock.offsetAt(hi), margin = Math.min(size, DAY), from = lo + Math.min(offLo, offHi) - margin, to = hi + Math.max(offLo, offHi) + margin;
|
|
236
240
|
for (let day = Math.floor(from / DAY) * DAY; day <= to; day += DAY) {
|
|
237
241
|
let end = Math.min(day + DAY, to + size);
|
|
238
242
|
for (let at = day + Math.max(0, Math.floor((from - day) / size) * size); at < end; at += size) walls.push(at);
|
|
@@ -246,7 +250,7 @@ function timeTicks(lo, hi, step, clock, weekStartsOn = 1, limit = 400) {
|
|
|
246
250
|
let months = step.unit === "year" ? 12 * step.n : step.n, start = new Date(wallLo), index = start.getUTCFullYear() * 12 + start.getUTCMonth();
|
|
247
251
|
for (index = Math.floor(index / months) * months; ; index += months) {
|
|
248
252
|
let date = /* @__PURE__ */ new Date(0);
|
|
249
|
-
if (date.setUTCFullYear(Math.floor(index / 12), index % 12, 1), date.getTime()
|
|
253
|
+
if (date.setUTCFullYear(Math.floor(index / 12), index % 12, 1), !(date.getTime() <= wallHi)) break;
|
|
250
254
|
walls.push(date.getTime());
|
|
251
255
|
}
|
|
252
256
|
}
|
|
@@ -379,6 +383,7 @@ export {
|
|
|
379
383
|
instantName,
|
|
380
384
|
timeReadingUnit,
|
|
381
385
|
authoredTimeStep,
|
|
386
|
+
timeStepOutrunsPlot,
|
|
382
387
|
timeTicks,
|
|
383
388
|
timeTickText,
|
|
384
389
|
timeContextRow,
|