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
|
@@ -2,40 +2,53 @@ import {
|
|
|
2
2
|
COLUMN_GAP,
|
|
3
3
|
COLUMN_MIN_WIDTH,
|
|
4
4
|
columnWidth
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AKJO6N4K.js";
|
|
6
6
|
import {
|
|
7
7
|
layoutBar
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C5SQEYTQ.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFER_ADJACENT,
|
|
11
11
|
EXACT_DOMAIN,
|
|
12
|
+
LEFT_ROOM,
|
|
13
|
+
NAME_TRACK,
|
|
12
14
|
NO_NAME_COLUMN,
|
|
13
15
|
RIGHT_ROOM,
|
|
14
|
-
TOTAL_COLUMN
|
|
15
|
-
|
|
16
|
+
TOTAL_COLUMN,
|
|
17
|
+
TOTAL_TRACK
|
|
18
|
+
} from "./chunk-ED7GLWTF.js";
|
|
16
19
|
import {
|
|
17
20
|
INSIDE_MIN_H
|
|
18
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5HTGSB6Y.js";
|
|
19
22
|
import {
|
|
20
23
|
marginBracketLayout
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-LW4ZQGVL.js";
|
|
22
25
|
import {
|
|
23
26
|
shareDrift
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-I3DLERI7.js";
|
|
25
28
|
import {
|
|
26
29
|
BAND_PAD
|
|
27
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-O4D27FKH.js";
|
|
31
|
+
import {
|
|
32
|
+
labelOn
|
|
33
|
+
} from "./chunk-YO5UKKCQ.js";
|
|
28
34
|
import {
|
|
29
35
|
structureCount
|
|
30
36
|
} from "./chunk-XCROSJ2Z.js";
|
|
31
37
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
38
|
+
alignedRight,
|
|
39
|
+
authoredTrackWidth,
|
|
40
|
+
columnOverrideWarnings,
|
|
41
|
+
orderedBlocks,
|
|
42
|
+
trackPlotFloor
|
|
43
|
+
} from "./chunk-GKDUIDU6.js";
|
|
44
|
+
import {
|
|
45
|
+
generatedIdWarnings
|
|
46
|
+
} from "./chunk-SXAZDIGM.js";
|
|
34
47
|
import {
|
|
35
48
|
chartSizing,
|
|
36
49
|
heightOmitted,
|
|
37
50
|
rowSizing
|
|
38
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-AFGQXMKT.js";
|
|
39
52
|
import {
|
|
40
53
|
PRIORITY,
|
|
41
54
|
authoredNotes,
|
|
@@ -45,12 +58,15 @@ import {
|
|
|
45
58
|
resolvePaintWarnings,
|
|
46
59
|
unionRect,
|
|
47
60
|
withAuthoredFootnotes
|
|
48
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
49
62
|
import {
|
|
50
63
|
disclosureNote,
|
|
51
64
|
keepShownNotes,
|
|
52
65
|
methodNote
|
|
53
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
67
|
+
import {
|
|
68
|
+
emptyIdRecord
|
|
69
|
+
} from "./chunk-LINZPU5D.js";
|
|
54
70
|
import {
|
|
55
71
|
differenceExample,
|
|
56
72
|
formatExampleText,
|
|
@@ -59,7 +75,7 @@ import {
|
|
|
59
75
|
parseFormatExample,
|
|
60
76
|
roundedNumber,
|
|
61
77
|
withChartMarks
|
|
62
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-D3PQAVFW.js";
|
|
63
79
|
import {
|
|
64
80
|
chartStrings,
|
|
65
81
|
formatAutomaticNumber
|
|
@@ -76,7 +92,7 @@ import {
|
|
|
76
92
|
semanticPalettePaint,
|
|
77
93
|
signedFillPaint,
|
|
78
94
|
themeForWidth
|
|
79
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-JARJP576.js";
|
|
80
96
|
import {
|
|
81
97
|
PALETTE_NORMAL_FLOOR
|
|
82
98
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -85,7 +101,7 @@ import {
|
|
|
85
101
|
TARGET_SIZE,
|
|
86
102
|
accessibleTitle,
|
|
87
103
|
resolveSize
|
|
88
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-FX5VZK5F.js";
|
|
89
105
|
import {
|
|
90
106
|
maxOf,
|
|
91
107
|
minOf,
|
|
@@ -94,7 +110,7 @@ import {
|
|
|
94
110
|
import {
|
|
95
111
|
defaultMeasurer,
|
|
96
112
|
wrapText
|
|
97
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-UIHGGWES.js";
|
|
98
114
|
|
|
99
115
|
// src/core/strings/likert.ts
|
|
100
116
|
var EN = {
|
|
@@ -555,7 +571,11 @@ function layoutLikert(data, options) {
|
|
|
555
571
|
...negativeIndices.map((i) => seriesIdOf(i)),
|
|
556
572
|
...oddScale && neutralMode !== "exclude" ? neutralMode === "split" ? [seriesIdOf(neutralIndex, "neg"), seriesIdOf(neutralIndex, "pos")] : [seriesIdOf(neutralIndex)] : [],
|
|
557
573
|
...positiveIndices.map((i) => seriesIdOf(i))
|
|
558
|
-
], legend = resolveLegend(opts.legend, legendOrder, warnings), netExample = `+${formatExampleText(opts.format ?? DEFAULT_SHARE_FORMAT).replace(/%/g, "")}`, netLabelExample = netExample, halves = oddScale && neutralMode === "split" ? { neg: seriesIdOf(neutralIndex, "neg"), pos: seriesIdOf(neutralIndex, "pos") } : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text: trimNumber(item.base) }]) : [], baseHeadText = chartString(opts, "baseHead"),
|
|
574
|
+
], legend = resolveLegend(opts.legend, legendOrder, warnings), netExample = `+${formatExampleText(opts.format ?? DEFAULT_SHARE_FORMAT).replace(/%/g, "")}`, netLabelExample = netExample, halves = oddScale && neutralMode === "split" ? { neg: seriesIdOf(neutralIndex, "neg"), pos: seriesIdOf(neutralIndex, "pos") } : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text: trimNumber(item.base) }]) : [], { label: labelOverride, net: netOverride, base: baseOverride } = opts.columnOverrides ?? {}, baseHeadText = baseOverride?.label ?? chartString(opts, "baseHead"), baseNaturalW = baseTexts.length === 0 ? 0 : columnWidth(measure, baseTexts.map((cell) => ({ text: cell.text, font: statementFont })), { text: baseHeadText, font: statementFont }), netDrawn = summary === "net" && !comparing, nameDrawn = !stacked && labelOn(opts, "category"), plotFloor = trackPlotFloor(statementW), netRoom = netDrawn ? measure(netOverride?.label ?? chartString(opts, "netPp"), statementFont).width + COLUMN_GAP : 0, baseNaturalRoom = baseNaturalW > 0 ? baseNaturalW + COLUMN_GAP : 0, nameTrack = !nameDrawn || labelOverride?.width === void 0 ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, statementW - plotFloor - netRoom - baseNaturalRoom, warnings), baseW = baseNaturalW === 0 || baseOverride?.width === void 0 ? baseNaturalW : authoredTrackWidth("base", baseOverride.width, baseNaturalW, statementW - plotFloor - COLUMN_GAP - netRoom - (nameTrack ?? 0), warnings), baseReserve = baseW > 0 ? baseW + COLUMN_GAP : 0;
|
|
575
|
+
columnOverrideWarnings("likert", opts.columnOverrides, [...nameDrawn ? ["label"] : [], ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []], ["net", "base"], warnings);
|
|
576
|
+
let blockIds = ["plot", ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []];
|
|
577
|
+
warnings.push(...generatedIdWarnings("likert", "columnOrder", opts.columnOrder, blockIds));
|
|
578
|
+
let blocks = orderedBlocks(blockIds, opts.columnOrder), ownTracks = blocks.join() !== blockIds.join() || netDrawn && netOverride?.width !== void 0, tracks, headH = summary === "net" || baseWanted ? measure(chartString(opts, "netPp"), statementFont).height + 4 : 0, narrowNote = !1, layoutWith = (rows2) => {
|
|
559
579
|
let footnotes = [
|
|
560
580
|
...authoredNotes(opts),
|
|
561
581
|
...methodNotes(),
|
|
@@ -577,20 +597,22 @@ function layoutLikert(data, options) {
|
|
|
577
597
|
...halves ? { halves } : {},
|
|
578
598
|
...opts.bandFraction === void 0 && rows2.bandFraction !== void 0 ? { bandFraction: rows2.bandFraction } : {},
|
|
579
599
|
// Stacked statements are drawn here, above the bars; bar keeps no name column.
|
|
580
|
-
...stacked ? { labels: { ...typeof opts.labels == "object" ? opts.labels : {}, category: !1 } } : {}
|
|
600
|
+
...stacked ? { labels: { ...typeof opts.labels == "object" ? opts.labels : {}, category: !1 } } : {},
|
|
601
|
+
...labelOverride?.align !== void 0 ? { rowLabels: { ...opts.rowLabels, align: labelOverride.align } } : {}
|
|
581
602
|
}, footnotes, opts.footnotes), drawn = layoutBar(
|
|
582
603
|
barData,
|
|
583
604
|
{
|
|
584
605
|
...barOptions,
|
|
585
606
|
// Stacked statements are drawn by likert, so bar keeps no name column.
|
|
586
607
|
...stacked ? { [NO_NAME_COLUMN]: !0 } : {},
|
|
608
|
+
...nameTrack !== void 0 ? { [NAME_TRACK]: nameTrack } : {},
|
|
587
609
|
// No value axis is drawn, so the bars fill the row (the data extent, not round ticks).
|
|
588
610
|
[EXACT_DOMAIN]: !0,
|
|
589
611
|
// The adjacent-colour check runs once, from the rebound rules, on the layout kept.
|
|
590
612
|
[DEFER_ADJACENT]: !0,
|
|
591
|
-
...rightRoom !== void 0 || baseReserve > 0 ? { [RIGHT_ROOM]: (rightRoom ?? 0) + baseReserve } : {},
|
|
613
|
+
...tracks ? { [RIGHT_ROOM]: tracks.rightRoom, [LEFT_ROOM]: tracks.leftRoom, ...netDrawn ? { [TOTAL_TRACK]: !0 } : {} } : rightRoom !== void 0 || baseReserve > 0 ? { [RIGHT_ROOM]: (rightRoom ?? 0) + baseReserve } : {},
|
|
592
614
|
// The nets stand in their column (netColumn), not at the bars' ends.
|
|
593
|
-
...
|
|
615
|
+
...netDrawn ? { [TOTAL_COLUMN]: tracks?.rights.net ?? canvas.width - margin.right - baseReserve } : {},
|
|
594
616
|
...rows2.bandPad ? { [BAND_PAD]: rows2.bandPad } : {}
|
|
595
617
|
},
|
|
596
618
|
likertAnnotationPass(data, shares, net, opts.format, brackets)
|
|
@@ -604,6 +626,15 @@ function layoutLikert(data, options) {
|
|
|
604
626
|
let thickness = Math.min(bar, step * 0.6);
|
|
605
627
|
return { bandFraction: Math.min(0.9, thickness / step), bandPad: pad };
|
|
606
628
|
}, rows = { bandFraction: defaultFraction }, geo = layoutWith(rows);
|
|
629
|
+
if (ownTracks) {
|
|
630
|
+
let start = geo.plot.x, end = canvas.width - margin.right, netHead = measure(netOverride?.label ?? chartString(opts, "netPp"), statementFont).width, netNaturalW = netDrawn ? Math.ceil(Math.max(netHead, maxOf(geo.labels.filter((label) => label.kind === "grandTotal").map((label) => label.rect.w)))) : 0, widths = { net: !netDrawn || netOverride?.width === void 0 ? netNaturalW : authoredTrackWidth("net", netOverride.width, netNaturalW, end - start - baseReserve - COLUMN_GAP - plotFloor, warnings), base: baseW }, plotAt = blocks.indexOf("plot"), rights = {}, leftAt = start;
|
|
631
|
+
for (let id of blocks.slice(0, plotAt))
|
|
632
|
+
rights[id] = leftAt + widths[id], leftAt += widths[id] + COLUMN_GAP;
|
|
633
|
+
let rightAt = end;
|
|
634
|
+
for (let id of blocks.slice(plotAt + 1).reverse())
|
|
635
|
+
rights[id] = rightAt, rightAt -= widths[id] + COLUMN_GAP;
|
|
636
|
+
tracks = { rights, leftRoom: leftAt - start, rightRoom: (rightRoom ?? 0) + end - rightAt, widths }, geo = layoutWith(rows);
|
|
637
|
+
}
|
|
607
638
|
if (stacked)
|
|
608
639
|
rows = stackedRows(geo.plot.h), geo = layoutWith(rows);
|
|
609
640
|
else if (defaultFraction !== void 0 && opts.bandFraction === void 0) {
|
|
@@ -623,10 +654,11 @@ function layoutLikert(data, options) {
|
|
|
623
654
|
theme,
|
|
624
655
|
measure,
|
|
625
656
|
opts,
|
|
626
|
-
comparing ? -1 / 0 : canvas.width - margin.right - baseReserve,
|
|
657
|
+
comparing ? -1 / 0 : tracks?.rights.net ?? canvas.width - margin.right - baseReserve,
|
|
627
658
|
statementTop,
|
|
628
|
-
sharedBase === void 0 ? void 0 : chartString(opts, "baseShared", { v1: trimNumber(sharedBase) })
|
|
629
|
-
|
|
659
|
+
sharedBase === void 0 ? void 0 : chartString(opts, "baseShared", { v1: trimNumber(sharedBase) }),
|
|
660
|
+
tracks?.widths.net
|
|
661
|
+
), sharedBase !== void 0 && summary !== "net" && baseColumn(geo, theme, measure, canvas.width - margin.right, statementTop, [], chartString(opts, "baseShared", { v1: trimNumber(sharedBase) })), baseReserve > 0 && baseColumn(geo, theme, measure, tracks?.rights.base ?? canvas.width - margin.right, statementTop, baseTexts, baseHeadText, { width: baseW, ...baseOverride?.align ? { align: baseOverride.align } : {}, ...baseOverride?.headAlign ?? baseOverride?.align ? { headAlign: baseOverride?.headAlign ?? baseOverride?.align } : {} });
|
|
630
662
|
let chromeH = geo.size.height - geo.plot.h - (rows.bandPad ?? 0), rowsOf = (bar, air) => ordered.length * (statementH + STATEMENT_GAP + bar + air) + headH, stackedMin = stacked ? chromeH + rowsOf(Math.ceil(statementLineH + 4), ROW_GAP_MIN) : 0, stackedNatural = stacked ? Math.max(stackedMin, chromeH + rowsOf(Math.ceil(statementLineH + 8), 2 * ROW_GAP_MIN + 4)) : 0;
|
|
631
663
|
return {
|
|
632
664
|
...geo,
|
|
@@ -705,17 +737,18 @@ function layoutLikert(data, options) {
|
|
|
705
737
|
return formatterFromExample(netExample, options?.locale?.language, void 0, Object.values(net))(value);
|
|
706
738
|
}
|
|
707
739
|
}
|
|
708
|
-
function netColumn(geo, theme, measure, options, contentRight, statementTop, sharedBase) {
|
|
740
|
+
function netColumn(geo, theme, measure, options, contentRight, statementTop, sharedBase, trackW) {
|
|
709
741
|
let nets = geo.labels.filter((label) => label.kind === "grandTotal" && !label.hidden);
|
|
710
742
|
if (nets.length === 0) return;
|
|
711
|
-
let right = Math.max(contentRight, maxOf(nets.map((label) => label.rect.x + label.rect.w)));
|
|
743
|
+
let right = trackW === void 0 ? Math.max(contentRight, maxOf(nets.map((label) => label.rect.x + label.rect.w))) : contentRight, override = options.columnOverrides?.net, headWord = override?.label ?? chartString(options, "netPp"), font = { family: theme.type.family, ...theme.type.label }, text = sharedBase === void 0 ? headWord : headWord ? `${headWord} \xB7 ${sharedBase}` : sharedBase, size = measure(text, font), track = trackW ?? Math.max(size.width, maxOf(nets.map((label) => label.rect.w)));
|
|
712
744
|
for (let label of nets) {
|
|
713
|
-
let dx = right - (label.rect.x + label.rect.w);
|
|
745
|
+
let dx = alignedRight(right, track, label.rect.w, override?.align ?? "right") - (label.rect.x + label.rect.w);
|
|
714
746
|
label.rect = { ...label.rect, x: label.rect.x + dx };
|
|
715
747
|
let node = geo.scene.find((n) => n.id === `label:${label.id}`);
|
|
716
748
|
node?.t === "text" && (node.x += dx);
|
|
717
749
|
}
|
|
718
|
-
|
|
750
|
+
if (!text) return;
|
|
751
|
+
let top = statementTop ?? minOf(geo.marks.rows.flatMap((row) => row.bars.map((bar) => bar.rect.y))), head = {
|
|
719
752
|
id: "likert:netHead",
|
|
720
753
|
kind: "series",
|
|
721
754
|
owner: {},
|
|
@@ -726,12 +759,12 @@ function netColumn(geo, theme, measure, options, contentRight, statementTop, sha
|
|
|
726
759
|
pinned: !1,
|
|
727
760
|
priority: PRIORITY.endpoint,
|
|
728
761
|
ink: { token: "inkMuted" },
|
|
729
|
-
rect: { x: right - size.width, y: top - 4 - size.height, w: size.width, h: size.height }
|
|
762
|
+
rect: { x: alignedRight(right, track, size.width, override?.headAlign ?? override?.align ?? "right") - size.width, y: top - 4 - size.height, w: size.width, h: size.height }
|
|
730
763
|
};
|
|
731
764
|
geo.labels.push(head), geo.scene.push(...labelsToNodes(theme, [head], () => font));
|
|
732
765
|
}
|
|
733
|
-
function baseColumn(geo, theme, measure, right, statementTop, cells, headText) {
|
|
734
|
-
let font = { family: theme.type.family, ...theme.type.label }, top = statementTop ?? minOf(geo.marks.rows.flatMap((row) => row.bars.map((bar) => bar.rect.y))), size = measure(headText, font), labels = [{
|
|
766
|
+
function baseColumn(geo, theme, measure, right, statementTop, cells, headText, track = { width: 0 }) {
|
|
767
|
+
let font = { family: theme.type.family, ...theme.type.label }, top = statementTop ?? minOf(geo.marks.rows.flatMap((row) => row.bars.map((bar) => bar.rect.y))), size = measure(headText, font), labels = headText ? [{
|
|
735
768
|
id: "likert:baseHead",
|
|
736
769
|
kind: "series",
|
|
737
770
|
owner: {},
|
|
@@ -742,8 +775,8 @@ function baseColumn(geo, theme, measure, right, statementTop, cells, headText) {
|
|
|
742
775
|
pinned: !1,
|
|
743
776
|
priority: PRIORITY.endpoint,
|
|
744
777
|
ink: { token: "inkMuted" },
|
|
745
|
-
rect: { x: right - size.width, y: top - 4 - size.height, w: size.width, h: size.height }
|
|
746
|
-
}];
|
|
778
|
+
rect: { x: alignedRight(right, track.width, size.width, track.headAlign ?? "right") - size.width, y: top - 4 - size.height, w: size.width, h: size.height }
|
|
779
|
+
}] : [];
|
|
747
780
|
for (let cell of cells) {
|
|
748
781
|
let bar = geo.marks.rows.find((r) => r.id === cell.id)?.bars[0];
|
|
749
782
|
if (!bar) continue;
|
|
@@ -761,7 +794,7 @@ function baseColumn(geo, theme, measure, right, statementTop, cells, headText) {
|
|
|
761
794
|
printsFor: [],
|
|
762
795
|
...measure.capHeight?.(font) !== void 0 ? { capHeight: measure.capHeight(font) } : {},
|
|
763
796
|
ink: { token: "inkMuted" },
|
|
764
|
-
rect: { x: right - cellSize.width, y: bar.rect.y + bar.rect.h / 2 - cellSize.height / 2, w: cellSize.width, h: cellSize.height }
|
|
797
|
+
rect: { x: alignedRight(right, track.width, cellSize.width, track.align ?? "right") - cellSize.width, y: bar.rect.y + bar.rect.h / 2 - cellSize.height / 2, w: cellSize.width, h: cellSize.height }
|
|
765
798
|
});
|
|
766
799
|
}
|
|
767
800
|
geo.labels.push(...labels), geo.scene.push(...labelsToNodes(theme, labels, () => font));
|
|
@@ -933,6 +966,8 @@ function likertBarOptions(options, labelSize) {
|
|
|
933
966
|
footnotes: _footnotes,
|
|
934
967
|
legend: _legend,
|
|
935
968
|
valueAxis: _valueAxis,
|
|
969
|
+
columnOverrides: _columnOverrides,
|
|
970
|
+
columnOrder: _columnOrder,
|
|
936
971
|
...rest
|
|
937
972
|
} = options, out = keepShownNotes(options, { ...rest });
|
|
938
973
|
return delete out.sort, delete out.topN, { ...out, theme: statementLabelTheme(options.theme, labelSize) };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sweepHide
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFGQXMKT.js";
|
|
4
4
|
import {
|
|
5
5
|
MAGNITUDE_DIVISOR,
|
|
6
6
|
formatWithSpec,
|
|
7
7
|
neededDecimals
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-D3PQAVFW.js";
|
|
9
9
|
|
|
10
10
|
// src/core/ols.ts
|
|
11
11
|
function olsMoments(points) {
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
columnOverridesOption
|
|
3
|
+
} from "./chunk-RRPTQGRU.js";
|
|
1
4
|
import {
|
|
2
5
|
REFUSED_OPTIONS
|
|
3
6
|
} from "./chunk-M4YLED7M.js";
|
|
@@ -7,7 +10,7 @@ import {
|
|
|
7
10
|
colorRoleField,
|
|
8
11
|
idSchema,
|
|
9
12
|
refusedBaseOptions
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QYOZ46ZQ.js";
|
|
11
14
|
|
|
12
15
|
// src/core/charts/pyramid/schema.ts
|
|
13
16
|
import * as z from "zod";
|
|
@@ -60,6 +63,7 @@ var valueSchema = z.union([z.number(), z.null()]), bandSchema = z.object({
|
|
|
60
63
|
topN: z.never({
|
|
61
64
|
error: "'topN' is not accepted on a pyramid: the bands are a contiguous ordered axis, and folding the tail into a rest bucket leaves a hole in it \u2014 widen the bands in the data instead"
|
|
62
65
|
}).optional().describe("Refused: bands are a contiguous ordered axis; a rest bucket leaves a hole in it."),
|
|
66
|
+
columnOverrides: columnOverridesOption("pyramid", ["width", "align"]),
|
|
63
67
|
basis: z.enum(["count", "shareOfTotal", "shareOfGroup"]).optional().describe(
|
|
64
68
|
"Default 'count'. 'shareOfTotal' divides by the grand total across BOTH groups and all bands \u2014 never per group, which would hide the group-size imbalance a pyramid is read for. 'shareOfGroup' divides each side by its own total, so each side sums to 100%; 'shareOfTotal' on two groups that both carry a date draws 'shareOfGroup', because two snapshots have no common whole."
|
|
65
69
|
),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
beginSpecParse
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D5RAVZ5C.js";
|
|
4
4
|
import {
|
|
5
5
|
referencedChartTypes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GADI2DU7.js";
|
|
7
7
|
import {
|
|
8
8
|
knownChartType,
|
|
9
9
|
loadChartTypes
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6VU2XI3W.js";
|
|
11
11
|
|
|
12
12
|
// src/react/parseChartSpec.ts
|
|
13
13
|
async function parseChartSpec(spec, chart) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NormalizeError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FX5VZK5F.js";
|
|
4
4
|
|
|
5
5
|
// src/core/geo/packs/registry.ts
|
|
6
6
|
var PACK_ORDER = ["de-states", "eu27", "dach", "europe", "world", "us-states"], registered = /* @__PURE__ */ new Map(), LEDGER_KEY = /* @__PURE__ */ Symbol.for("boardplot.geo-pack-registry.diagnostics.v1"), globalScope = globalThis, ledger = globalScope[LEDGER_KEY] ??= {
|
|
@@ -9,38 +9,38 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
crc32,
|
|
11
11
|
withPhysicalSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-T5MBORBK.js";
|
|
13
13
|
import {
|
|
14
14
|
themeFieldReference
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JIH52I36.js";
|
|
16
16
|
import {
|
|
17
17
|
createMetricTablesMeasurer,
|
|
18
18
|
measurableFamilies
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RDJ3ZU6O.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFontMetricTables
|
|
22
22
|
} from "./chunk-TA3TFKYZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getFixtures
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-43PCSBVQ.js";
|
|
26
26
|
import {
|
|
27
27
|
gridFormOf
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QZMLSK43.js";
|
|
29
29
|
import {
|
|
30
30
|
spaceDocLints
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-I7KDPCC7.js";
|
|
32
32
|
import {
|
|
33
33
|
comboDrawsSecondaryAxis
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KJLH5EHD.js";
|
|
35
35
|
import {
|
|
36
36
|
lineLabelModes
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H6EJ63QN.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveSharedScale
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OTGNVAI4.js";
|
|
41
41
|
import {
|
|
42
42
|
getTilePack
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-T2L5H2WW.js";
|
|
44
44
|
import {
|
|
45
45
|
BARE_CHART_NAME,
|
|
46
46
|
DocumentSchemaError,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
isThemeObject,
|
|
52
52
|
parseDocumentInput,
|
|
53
53
|
rootContextErrors
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-CT4RFZO4.js";
|
|
55
55
|
import {
|
|
56
56
|
completeChartDiagnostic,
|
|
57
57
|
completeDiagnostic,
|
|
@@ -59,43 +59,43 @@ import {
|
|
|
59
59
|
gridPanelOptionTargets,
|
|
60
60
|
unsupportedSuggestion,
|
|
61
61
|
validateChartInput
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-GADI2DU7.js";
|
|
63
63
|
import {
|
|
64
64
|
baseOptionsSchema,
|
|
65
65
|
renderTargetSchema
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-QYOZ46ZQ.js";
|
|
67
67
|
import {
|
|
68
68
|
InputError,
|
|
69
69
|
adaptRows,
|
|
70
70
|
assertSpecObject,
|
|
71
71
|
rewriteRowsDiagnostics
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-6EE6XEMA.js";
|
|
73
73
|
import {
|
|
74
74
|
isBareChart
|
|
75
75
|
} from "./chunk-YWP7XFKD.js";
|
|
76
76
|
import {
|
|
77
77
|
CLAIM_KIND_GROUPS,
|
|
78
78
|
claimsForChart
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-TWRFVW3J.js";
|
|
80
80
|
import {
|
|
81
81
|
interactionRecords,
|
|
82
82
|
interactionValueText
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-3DUGZ7ML.js";
|
|
84
84
|
import {
|
|
85
85
|
layoutResolvedRequest,
|
|
86
86
|
measureLayout,
|
|
87
87
|
resolveChartRequest
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-EDBUVDRI.js";
|
|
89
89
|
import {
|
|
90
90
|
drawnRequest
|
|
91
91
|
} from "./chunk-INHDHZNP.js";
|
|
92
92
|
import {
|
|
93
93
|
ownedDocumentCopy
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-LUZ7HXBT.js";
|
|
95
95
|
import {
|
|
96
96
|
DEFAULT_REST_MIN,
|
|
97
97
|
DEFAULT_TOP_N
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-W5SVS4B6.js";
|
|
99
99
|
import {
|
|
100
100
|
statedInPercent
|
|
101
101
|
} from "./chunk-JMGB444D.js";
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
} from "./chunk-MCYM3RNF.js";
|
|
123
123
|
import {
|
|
124
124
|
WORDING_KEYS
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-V62B23VC.js";
|
|
126
126
|
import {
|
|
127
127
|
CROWDED_NAMES,
|
|
128
128
|
VERIFY_ADVICE,
|
|
@@ -139,10 +139,10 @@ import {
|
|
|
139
139
|
typeDocLints,
|
|
140
140
|
unsupported,
|
|
141
141
|
verifiedSizeRepair
|
|
142
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-AFGQXMKT.js";
|
|
143
143
|
import {
|
|
144
144
|
chartRefusals
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-V3UE3TB7.js";
|
|
146
146
|
import {
|
|
147
147
|
ANNOTATION_KIND_PURPOSES,
|
|
148
148
|
ASPECT_CAPS,
|
|
@@ -169,28 +169,28 @@ import {
|
|
|
169
169
|
textNames,
|
|
170
170
|
unitInFormatLints,
|
|
171
171
|
unitNotShownLints
|
|
172
|
-
} from "./chunk-
|
|
172
|
+
} from "./chunk-WSKZZ2ZB.js";
|
|
173
173
|
import {
|
|
174
174
|
chartNotes
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-WZB6R2ZX.js";
|
|
176
176
|
import {
|
|
177
177
|
ENGINE_REV,
|
|
178
178
|
version
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-J22ETKDJ.js";
|
|
180
180
|
import {
|
|
181
181
|
formatExampleProblem,
|
|
182
182
|
parseFormatExample,
|
|
183
183
|
unscaledFormatLint
|
|
184
|
-
} from "./chunk-
|
|
184
|
+
} from "./chunk-D3PQAVFW.js";
|
|
185
185
|
import {
|
|
186
186
|
resolveTheme,
|
|
187
187
|
resolvedPaintToken,
|
|
188
188
|
seriesColorIndex,
|
|
189
189
|
themes
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-JARJP576.js";
|
|
191
191
|
import {
|
|
192
192
|
ignoreChartSettings
|
|
193
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-Y7Q3VEYC.js";
|
|
194
194
|
import {
|
|
195
195
|
validateTheme
|
|
196
196
|
} from "./chunk-DRHQG44U.js";
|
|
@@ -202,7 +202,7 @@ import {
|
|
|
202
202
|
LEGEND_DRAWS,
|
|
203
203
|
schemaRefusedKeys,
|
|
204
204
|
valueAxisRefusal
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-NIDH22DI.js";
|
|
206
206
|
import {
|
|
207
207
|
patchApplies,
|
|
208
208
|
readJsonPointer,
|
|
@@ -214,7 +214,7 @@ import {
|
|
|
214
214
|
normalizeSeriesValues,
|
|
215
215
|
resolveSize,
|
|
216
216
|
toLayoutPx
|
|
217
|
-
} from "./chunk-
|
|
217
|
+
} from "./chunk-FX5VZK5F.js";
|
|
218
218
|
import {
|
|
219
219
|
maxOf,
|
|
220
220
|
minOf,
|
|
@@ -222,7 +222,7 @@ import {
|
|
|
222
222
|
} from "./chunk-WYJEOMNY.js";
|
|
223
223
|
import {
|
|
224
224
|
compareText
|
|
225
|
-
} from "./chunk-
|
|
225
|
+
} from "./chunk-UIHGGWES.js";
|
|
226
226
|
import {
|
|
227
227
|
familiesOf,
|
|
228
228
|
resolveFace
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
valueBandsSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-A6XCVOC5.js";
|
|
4
|
+
import {
|
|
5
|
+
columnHeadsOption,
|
|
6
|
+
columnVisibilityOption
|
|
7
|
+
} from "./chunk-RRPTQGRU.js";
|
|
4
8
|
import {
|
|
5
9
|
heatOptionsWithoutEffect
|
|
6
10
|
} from "./chunk-ZF43WRG3.js";
|
|
@@ -12,7 +16,7 @@ import {
|
|
|
12
16
|
formatExample,
|
|
13
17
|
idRecord,
|
|
14
18
|
refusedBaseOptions
|
|
15
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QYOZ46ZQ.js";
|
|
16
20
|
import {
|
|
17
21
|
BADGE_SECTION_ONLY,
|
|
18
22
|
BADGE_TEXT_EMPTY,
|
|
@@ -56,6 +60,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
56
60
|
subLabel: z.string().min(1).optional().describe("Second header line. At the micro step in muted ink: a weekday under a date, an ISO week under a week start. Primary labels keep one baseline."),
|
|
57
61
|
width: z.number().positive().optional().describe("Width in px. React keeps it and scrolls. SVG narrows authored tracks only when the fixed frame needs it, with table-overflow and a wider-size fix. Value and computed tracks widen for figures, and a row-label track for its labels up to 180 px (table-column-widened). Other content may cut (table-column-clipped); remove width for automatic content sizing."),
|
|
58
62
|
align: z.enum(["left", "right", "center"]).optional().describe("Cell alignment. Numeric left alignment is accepted but linted."),
|
|
63
|
+
headAlign: z.enum(["left", "right", "center"]).optional().describe("Head alignment; defaults to align."),
|
|
59
64
|
emphasis: z.enum(["strong", "muted"]).optional().describe("Header and cell emphasis. 'strong' sets the header and its cells to the emphasis weight (700 by default), 'muted' paints them in the muted ink. A strong column is measured in the bold weight; muted is paint only."),
|
|
60
65
|
band: z.boolean().optional().describe("Column band ground. Neighbouring banded columns read as one block and the first of the run takes the left hairline, so a block inside a column group needs no group of its own. Paint only."),
|
|
61
66
|
fitFormat: z.literal(!1).optional().describe("false: options.fitFormats leaves this column's format as authored."),
|
|
@@ -173,7 +178,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
173
178
|
defaultVisible: z.boolean().optional().describe("Visible before options.columnVisibility; defaults false.")
|
|
174
179
|
}).describe("One control showing or hiding a group of columns.")
|
|
175
180
|
).optional().describe("Column toggle groups. Every member must exist, belong to one toggle, and stay inside one columnGroup."),
|
|
176
|
-
columns: z.array(columnSchema).min(1).describe("Display order; exactly one rowLabel column."),
|
|
181
|
+
columns: z.array(columnSchema).min(1).describe("Display order; exactly one rowLabel column. Width, alignment, label and order of a column are authored here, so table takes no columnOverrides or columnOrder."),
|
|
177
182
|
rows: z.array(rowSchema).min(1).describe("Row hierarchy; totalPosition determines resolved display order. Rows: optional label,id; each value, text, status or date column reads the source field named like its id."),
|
|
178
183
|
levelNouns: z.array(
|
|
179
184
|
z.strictObject({
|
|
@@ -217,8 +222,17 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
217
222
|
}
|
|
218
223
|
}).describe(
|
|
219
224
|
'Consulting-grade table. Percent values in POINTS (6.2 = 6.2%). null cell = missing \u2192 "\u2014"; explicit states: na/nm/suppressed. ' + FORMAT_DOC
|
|
220
|
-
)
|
|
225
|
+
);
|
|
226
|
+
function figuresNeedHeat(options, ctx) {
|
|
227
|
+
options.figures === !1 && (Object.values(options.encodings ?? {}).some((entry) => entry === "heat" || typeof entry == "object") || ctx.addIssue({
|
|
228
|
+
code: "custom",
|
|
229
|
+
path: ["figures"],
|
|
230
|
+
message: "figures: false needs a heat column: give a column a heat lane in encodings, or drop 'figures'"
|
|
231
|
+
}));
|
|
232
|
+
}
|
|
233
|
+
var tableOptionsObject = baseOptionsSchema.safeExtend(refusedBaseOptions("table")).safeExtend({
|
|
221
234
|
mountCollapsed: z.boolean().optional().describe("Default true. false removes closed descendants from the React DOM and defers offscreen leaf paint."),
|
|
235
|
+
paintOffscreenRows: z.boolean().optional().describe("React only. true paints every mounted row at once, so a capture of a long table has no blank rows, and a long table paints slower. Default false. Closed rows follow mountCollapsed."),
|
|
222
236
|
signs: z.enum(["signed", "operators", "plain"]).optional().describe("How sign -1 rows print. signed (default) negates them; operators draws + \u2212 \xD7 =; plain draws neither."),
|
|
223
237
|
driverTones: z.enum(["grouped", "always", "never"]).optional().describe("Driver tones. 'grouped' (default): drivers with a parentId whose parent is not a section heading do, as statement lines do. 'always': every driver. 'never': driver ink only, as before 0.28. Neutral figures and labels keep the driver ink."),
|
|
224
238
|
judgements: z.enum(["all", "exceptions"]).optional().describe("Which tones show. exceptions: strong good and bad only."),
|
|
@@ -267,7 +281,8 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
267
281
|
expanded: z.array(idSchema).optional().describe("Row-id overrides applied last; they win over collapsed."),
|
|
268
282
|
rootsHidden: z.boolean().optional().describe("Hide level-0 data rows and subtrees. The totals and the section headings stay: this is the totals-only step of a depth control, which collapsing a parent cannot reach, because a collapsed parent still draws its own row.")
|
|
269
283
|
}).optional().describe("Expansion order: depth, collapsed, expanded."),
|
|
270
|
-
columnVisibility:
|
|
284
|
+
columnVisibility: columnVisibilityOption("table"),
|
|
285
|
+
columnHeads: columnHeadsOption(),
|
|
271
286
|
inlineVisibility: idRecord(idSchema.describe("Inline-line group id."), z.boolean().describe("True shows the lines of that group; false hides them.")).optional().describe("Visibility by inlineGroup. An absent group is visible, so a Changes control hides every MoM line of a table with one entry."),
|
|
272
287
|
magnitude: z.enum(["auto", "thousand", "million"]).optional().describe("Money scale for all rows and columns. 'thousand' prints whole thousands, 'million' keeps the example's decimals, and no column rolls up on its own. The scale letter leaves the cells and hoists to the frame, the column header or, where the format sits on the row, the row label. 'auto' (the default) lets each column and money row pick from its own largest value."),
|
|
273
288
|
foldOn: z.enum(["row", "toggle"]).optional().describe("React only. What folds a parent row. 'row': a click on the row folds it, and selects it too where the host made it selectable. 'toggle': only the fold mark folds; a row click only selects. Default: 'toggle' for a selectable row, else 'row'. Enter and Space follow the click."),
|
|
@@ -288,7 +303,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
288
303
|
]).optional().describe("Pin header and columns. React only; static output shows the whole table. true pins one column, a number pins that many (2 for a cohort grid), and the last carries a hairline shadow. The object form sets head, columns, top and sections. Page mode is refused with React fillHeight. Off in print."),
|
|
289
304
|
frameFill: z.enum(["values", "none"]).optional().meta({ default: "values" }).describe("Under rowExtent 'frame'. 'values' (default): automatic value tracks grow in whole pixels, up to maxGrowth (default 2.5). An unauthored label track takes the rest. 'none': columns keep their widths; an empty track carries the row ground and rules to the edge."),
|
|
290
305
|
heightFill: z.enum(["rows", "none"]).optional().meta({ default: "rows" }).describe("Spare canvas height. 'rows' (default) spreads it over leaf rows as air, up to 16 px a side. 'none' leaves it empty."),
|
|
291
|
-
rowLabelLines: z.
|
|
306
|
+
rowLabelLines: z.number().int().positive().optional().meta({ default: 2 }).describe("Lines a row label may take before a cut (default 2). A label breaks at a space or after _ - / or a dot, so a long campaign name wraps instead of ending in '\u2026'. 1 keeps every label on one line; a higher count lets a row grow to its lines. A cut label keeps its full name in its title."),
|
|
292
307
|
lastTrackFlex: z.boolean().optional().describe("Last unauthored track takes the spare frame width when rowExtent is tracks. Default false."),
|
|
293
308
|
rowExtent: z.enum(["tracks", "frame"]).optional().meta({ default: "frame" }).describe("Where rows end. 'frame' (default) fills the width inside the frame margins. An explicit 'frame' also carries row grounds and rules through authored side margins. frameFill controls track growth. 'tracks' stops rows at the last column. Column bands stop at their columns. Tables use horizontal rules and explicit column separators; there is no single vertical end rule."),
|
|
294
309
|
sortIndicator: z.enum(["all", "sorted"]).optional().describe("Sortable headers with a chevron. 'all' (the default) draws one on every sortable header; 'sorted' draws it on the sorted one alone and keeps the others' reserve, so no track moves."),
|
|
@@ -300,13 +315,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
300
315
|
maxGrowth: z.union([z.number().min(1), z.literal(!1)]).optional().meta({ default: 2.5 }).describe("Value-track growth cap; default 2.5, false removes the cap. Applies to SVG and React frame fill; the label track takes the remaining width. Also caps React container fit growth."),
|
|
301
316
|
labelIndent: z.strictObject({ base: z.number().min(0).max(120).describe("Level-0 start from row edge, padding included."), step: z.number().min(0).max(48).optional().describe("px per rung; default 16.") }).optional().describe("Tree indent from row edge. Absent: cell air without marks; cell air plus 24 with outlineMarks: true or interactive fold buttons. Then 16 per rung."),
|
|
302
317
|
outlineMarks: z.boolean().optional().meta({ default: !1 }).describe("Fold marks beside parent rows. Drawn in static SVG/PNG and read-only grids. Default false: no marks or gutter. true draws the marks and reserves their gutter. Interactive grids keep their fold buttons either way.")
|
|
303
|
-
}).superRefine((
|
|
304
|
-
options.figures === !1 && (Object.values(options.encodings ?? {}).some((entry) => entry === "heat" || typeof entry == "object") || ctx.addIssue({
|
|
305
|
-
code: "custom",
|
|
306
|
-
path: ["figures"],
|
|
307
|
-
message: "figures: false needs a heat column: give a column a heat lane in encodings, or drop 'figures'"
|
|
308
|
-
}));
|
|
309
|
-
}).describe("Table framing, presentation, encodings, hierarchy visibility, sibling sort and top-N. sort.categories reorders data rows within each parent; sort.segments is refused. topN nests the remaining siblings under Others and reuses resolve and claims."), tableOptionsSchema = tableOptionsObject, tableDataSchema = baseTableDataSchema.superRefine((data, ctx) => {
|
|
318
|
+
}).superRefine(figuresNeedHeat).describe("Table framing, presentation, encodings, hierarchy visibility, sibling sort and top-N. sort.categories reorders data rows within each parent; sort.segments is refused. topN nests the remaining siblings under Others and reuses resolve and claims."), tableOptionsSchema = tableOptionsObject, tableDataSchema = baseTableDataSchema.superRefine((data, ctx) => {
|
|
310
319
|
addDuplicateIdIssues(ctx, data.columnGroups ?? [], ["columnGroups"], {
|
|
311
320
|
name: "column group",
|
|
312
321
|
keys: "group membership and header scene identities"
|
|
@@ -330,6 +339,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
330
339
|
});
|
|
331
340
|
|
|
332
341
|
export {
|
|
342
|
+
figuresNeedHeat,
|
|
333
343
|
tableOptionsObject,
|
|
334
344
|
tableOptionsSchema,
|
|
335
345
|
tableDataSchema
|