boardplot 0.61.0 → 0.62.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 +19 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-75LYQMSA.js → ReaderBox-5QFALZHR.js} +5 -5
- package/dist/{annotateEngine-CL6ZSRGG.js → annotateEngine-ONWZYNEM.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-CWP5ZYVQ.js → chunk-23YYVMWH.js} +1 -1
- package/dist/{chunk-MNPNLXSI.js → chunk-2MK5437T.js} +7 -7
- package/dist/{chunk-V3YQQDR4.js → chunk-2P5KBQLT.js} +4 -4
- package/dist/{chunk-WVYC6MR6.js → chunk-2VUEIEUO.js} +2 -2
- package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
- package/dist/{chunk-36KGPRMX.js → chunk-35JGEMCK.js} +35 -28
- package/dist/{chunk-VITZVVCD.js → chunk-3DXOZRRW.js} +3 -3
- package/dist/{chunk-RV6JDD6S.js → chunk-3H72EFNC.js} +4 -4
- package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
- package/dist/{chunk-WQPMBAG2.js → chunk-3QJVBKRX.js} +37 -37
- package/dist/{chunk-T2DGSOAH.js → chunk-3YSLEJPV.js} +1 -1
- package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
- package/dist/{chunk-OYCEFOIW.js → chunk-476R7YF4.js} +16 -16
- package/dist/{chunk-P3CZFAFA.js → chunk-47IEMR6C.js} +22 -18
- package/dist/{chunk-757IKZZU.js → chunk-4HZKH4HS.js} +2 -2
- package/dist/{chunk-BKUTKQMT.js → chunk-4NGKSJBX.js} +72 -22
- package/dist/{chunk-ZT5Q6BRT.js → chunk-4SK4IGMK.js} +3 -3
- package/dist/{chunk-QK2OFTEB.js → chunk-4TTNLFTJ.js} +1 -1
- package/dist/{chunk-RD24ORGR.js → chunk-4XDWZJUX.js} +2 -1
- package/dist/{chunk-TS472T4D.js → chunk-5FG24HFB.js} +4 -4
- package/dist/{chunk-2X6672YL.js → chunk-5J2PQ5EZ.js} +4 -4
- package/dist/{chunk-IXCDKCYE.js → chunk-5LUHGXXE.js} +1 -1
- package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
- package/dist/{chunk-OLEUVUH3.js → chunk-64D7CHCE.js} +4 -4
- package/dist/{chunk-WOTRCVA5.js → chunk-6LYMOF2S.js} +3 -3
- package/dist/{chunk-6R6LM337.js → chunk-6MXRNA4Z.js} +17 -17
- package/dist/{chunk-3GL23VOF.js → chunk-6OM5IYNK.js} +65 -10
- package/dist/{chunk-JTCXK7AG.js → chunk-6PR23T2O.js} +1 -1
- package/dist/{chunk-VGOZOBNB.js → chunk-6QQPQ2TX.js} +1 -1
- package/dist/{chunk-BQBD6Q5J.js → chunk-6RRK3VFP.js} +1 -1
- package/dist/{chunk-YM7MO7WI.js → chunk-6WEJGZVQ.js} +1 -1
- package/dist/{chunk-SJORKHHL.js → chunk-6XDX3MIU.js} +5 -5
- package/dist/{chunk-Y7O3T4DF.js → chunk-75OLP5KB.js} +32 -32
- package/dist/{chunk-UIHGGWES.js → chunk-77LQEREO.js} +1 -1
- package/dist/{chunk-PRVX4PAO.js → chunk-7JSGG67J.js} +1 -1
- package/dist/{chunk-57XHIICM.js → chunk-7NUNEVOU.js} +14 -9
- package/dist/{chunk-7ZPHJOG6.js → chunk-7OT6CVQT.js} +1 -1
- package/dist/{chunk-EU45YU5W.js → chunk-7R43Y35G.js} +1 -1
- package/dist/{chunk-HTLEHU5D.js → chunk-7RAF2HJA.js} +2 -2
- package/dist/{chunk-5JZQXMXU.js → chunk-7S57SH2K.js} +9 -9
- package/dist/{chunk-HS4DLZ6H.js → chunk-7ZYGEPY2.js} +52 -28
- package/dist/{chunk-2KGF6AIK.js → chunk-ABUJPENV.js} +53 -42
- package/dist/{chunk-EV3GY7Y3.js → chunk-ADVFTNDL.js} +4 -4
- package/dist/{chunk-NNOKYAFB.js → chunk-AFONROHX.js} +2 -2
- package/dist/{chunk-MYYDNK72.js → chunk-AO73FLJT.js} +4 -4
- package/dist/{chunk-L6OMA45Q.js → chunk-AU2TQN6F.js} +3 -3
- package/dist/{chunk-NJKUODK3.js → chunk-BFHAYXUU.js} +2 -2
- package/dist/{chunk-6U4J3T2G.js → chunk-BFJKH4AX.js} +1 -1
- package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
- package/dist/{chunk-E7FWHKCI.js → chunk-BKZF27CE.js} +2 -2
- package/dist/{chunk-VFXGAEUO.js → chunk-BR2ADMLU.js} +1 -1
- package/dist/{chunk-OP7K5NSS.js → chunk-BZUHBKMK.js} +4 -4
- package/dist/{chunk-RTSSUQ25.js → chunk-C2X6NYMY.js} +1 -1
- package/dist/{chunk-R3IPQHWC.js → chunk-C3ULVZI7.js} +2 -2
- package/dist/{chunk-ESZIJ5Z6.js → chunk-CFT6W2QY.js} +3 -3
- package/dist/{chunk-2BF6HZV7.js → chunk-CPBJII5T.js} +5 -5
- package/dist/{chunk-B62SEOJC.js → chunk-CTRPRU4Y.js} +16 -13
- package/dist/{chunk-7D65YEEY.js → chunk-CWBM7MXM.js} +3 -3
- package/dist/{chunk-OIMT2SSN.js → chunk-CZZXZFYL.js} +2 -2
- package/dist/{chunk-7SSN5ECA.js → chunk-D2I2BUR6.js} +1 -1
- package/dist/{chunk-ASRICUAD.js → chunk-DCFK2BUL.js} +2 -2
- package/dist/{chunk-JXHTZVSV.js → chunk-DVQR5SFL.js} +2 -2
- package/dist/{chunk-6JOLPUTW.js → chunk-DWEVPNNE.js} +2 -2
- package/dist/{chunk-NCKINI7K.js → chunk-DYG4XMCC.js} +5 -5
- package/dist/{chunk-ZMZNMVPR.js → chunk-E46KFVP5.js} +11 -11
- package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
- package/dist/{chunk-PH274WAF.js → chunk-ELFF5YO7.js} +8 -8
- package/dist/{chunk-YO7LCXKN.js → chunk-EPRJX5BI.js} +2 -2
- package/dist/{chunk-OGD23BIK.js → chunk-EPS7N5ZS.js} +5 -2
- package/dist/{chunk-MM2ADIPB.js → chunk-ERIMFXE3.js} +1 -1
- package/dist/{chunk-IKTAVMF2.js → chunk-ESS7GAO5.js} +15 -15
- package/dist/{chunk-TIVUSWGT.js → chunk-EW77WN7V.js} +2 -2
- package/dist/{chunk-56PPEORW.js → chunk-F2IGRFYM.js} +23 -23
- package/dist/{chunk-XGJZRPHC.js → chunk-F7LDXGWD.js} +11 -11
- package/dist/{chunk-JZK6ZPUM.js → chunk-FC6H5ATA.js} +2 -2
- package/dist/{chunk-FTIQ6TI2.js → chunk-FI5VGWUQ.js} +2 -2
- package/dist/{chunk-YSKLERPF.js → chunk-FPF73SCJ.js} +18 -15
- package/dist/{chunk-JEAUVQTV.js → chunk-FSRAPSO7.js} +25 -25
- package/dist/{chunk-JLJ4QRAE.js → chunk-FXKGNJYB.js} +17 -17
- package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
- package/dist/{chunk-EL5E6O3K.js → chunk-GA7CIH6N.js} +23 -18
- package/dist/{chunk-KTFUYWN2.js → chunk-GCOFMXFJ.js} +5 -5
- package/dist/{chunk-OQKVFWAO.js → chunk-GGWYJNHH.js} +4 -4
- package/dist/{chunk-352V2W5P.js → chunk-GNSAYVND.js} +2 -2
- package/dist/{chunk-UFKLGMYZ.js → chunk-H7K3RXBQ.js} +1 -1
- package/dist/{chunk-EAMZDY55.js → chunk-HCAPGTEA.js} +1 -1
- package/dist/{chunk-2T22INLD.js → chunk-HUU76QHF.js} +1 -1
- package/dist/{chunk-CVUHCNQO.js → chunk-HV6OKHM6.js} +1 -1
- package/dist/{chunk-SSVOJXFR.js → chunk-HYBGISXA.js} +3 -3
- package/dist/{chunk-EWG3PCYJ.js → chunk-I37SEVQ4.js} +104 -68
- package/dist/{chunk-B76O5YXI.js → chunk-I3UJHKCS.js} +3 -3
- package/dist/{chunk-IIKM6NXU.js → chunk-I56NIVFF.js} +4 -4
- package/dist/{chunk-5DH5ACTO.js → chunk-IDMGFWB7.js} +132 -114
- package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
- package/dist/{chunk-RT4V47U6.js → chunk-IMKHDTEQ.js} +1 -1
- package/dist/{chunk-LEPXK7RN.js → chunk-ISNWAYX2.js} +3 -3
- package/dist/{chunk-G3CVCW5K.js → chunk-ITPXKZXT.js} +82 -79
- package/dist/{chunk-L5RZFP5B.js → chunk-J233F6JA.js} +3 -3
- package/dist/{chunk-EQDLZGZO.js → chunk-J6WWK4VC.js} +1 -1
- package/dist/{chunk-NJVXE2DU.js → chunk-J77EYTIA.js} +2 -2
- package/dist/{chunk-YZW4VLSO.js → chunk-JCZ64D4G.js} +4 -4
- package/dist/{chunk-VE6P436Y.js → chunk-JEC6YG2C.js} +34 -20
- package/dist/{chunk-GRMAYSIG.js → chunk-JV3S3OCN.js} +19 -18
- package/dist/{chunk-F2IHSUPI.js → chunk-K2ZDFPYP.js} +5 -5
- package/dist/{chunk-RXC3XU62.js → chunk-K3METEEY.js} +131 -30
- package/dist/{chunk-JLZFXNUE.js → chunk-K464WFSQ.js} +4 -4
- package/dist/{chunk-CYMSES53.js → chunk-KDRI3KHH.js} +7 -2
- package/dist/{chunk-QSMKLDAO.js → chunk-KK7UXU2E.js} +3 -3
- package/dist/{chunk-LLHCEZV2.js → chunk-KNTNUQNS.js} +8 -8
- package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
- package/dist/{chunk-T6XSXJDQ.js → chunk-KU5WGRQJ.js} +26 -26
- package/dist/{chunk-KY5MSTME.js → chunk-KWBG3P7W.js} +4 -4
- package/dist/{chunk-U2YWY6FH.js → chunk-KWKJYMXJ.js} +3 -3
- package/dist/{chunk-THKVAXTQ.js → chunk-KWTVCTWS.js} +246 -83
- package/dist/{chunk-7ZHM37LQ.js → chunk-KZ7ECRPL.js} +3 -3
- package/dist/{chunk-HUCUNGHB.js → chunk-L46NAICE.js} +5 -5
- package/dist/{chunk-64577PGJ.js → chunk-L4VGGSB3.js} +4 -4
- package/dist/{chunk-YXHSM7QL.js → chunk-L6T7FXEM.js} +6 -6
- package/dist/{chunk-XMI7SCPX.js → chunk-LE6QYQRU.js} +2 -2
- package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
- package/dist/{chunk-H5YDEIY2.js → chunk-LK5V7U6C.js} +5 -5
- package/dist/{chunk-533SNVDD.js → chunk-LNBYRD5Q.js} +4 -4
- package/dist/{chunk-USK77VAZ.js → chunk-LTEGXWSU.js} +4 -4
- package/dist/{chunk-TB734IYI.js → chunk-LUIHCUMB.js} +4 -4
- package/dist/{chunk-TL5ICZT2.js → chunk-MAA5IGGT.js} +2 -2
- package/dist/{chunk-MNVMTW7K.js → chunk-MDGVRYXX.js} +18 -18
- package/dist/{chunk-M2LYZUQA.js → chunk-MEIDC7ZF.js} +4 -4
- package/dist/{chunk-XTECBM5K.js → chunk-MTJZT6F2.js} +5 -5
- package/dist/{chunk-P3TOPI3M.js → chunk-MUYU6KTM.js} +1 -1
- package/dist/{chunk-F2WMTUWC.js → chunk-MVA2JWM4.js} +2 -2
- package/dist/{chunk-EIQTUVJT.js → chunk-MYDVNJAA.js} +1 -1
- package/dist/{chunk-I3GRAQHO.js → chunk-NFEVGJJ6.js} +13 -13
- package/dist/{chunk-JUTMQGKU.js → chunk-NFSG2WBI.js} +4 -4
- package/dist/{chunk-UERGJOG4.js → chunk-NFYF7P6H.js} +36 -28
- package/dist/{chunk-E6IN6QDF.js → chunk-NL2K3CZM.js} +5 -5
- package/dist/{chunk-VJAZFGBY.js → chunk-NTONEZH5.js} +20 -20
- package/dist/{chunk-QER2YJHC.js → chunk-NTSJ2RXB.js} +4 -4
- package/dist/{chunk-OIPBVU7G.js → chunk-NVPORMKX.js} +15 -15
- package/dist/{chunk-PGKGK43I.js → chunk-NXA2CNVU.js} +16 -10
- package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
- package/dist/{chunk-IKH3DWS2.js → chunk-NZHIXLKM.js} +19 -17
- package/dist/{chunk-5ZGCGIHG.js → chunk-OCANU74G.js} +3 -3
- package/dist/{chunk-EM33NXGZ.js → chunk-OF4VHET3.js} +4 -4
- package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
- package/dist/{chunk-BJ5GI5ZB.js → chunk-OLXZXEKQ.js} +1 -1
- package/dist/{chunk-FKRL2ZB2.js → chunk-OQGSYQLE.js} +1 -1
- package/dist/{chunk-A4UL5GIM.js → chunk-OQQGM2TM.js} +1 -1
- package/dist/{chunk-EOPDGMDS.js → chunk-OQRTTGYP.js} +22 -1
- package/dist/{chunk-35RSAHLK.js → chunk-OQTD4GN4.js} +1 -1
- package/dist/{chunk-UXAON5DO.js → chunk-OXWIBDJP.js} +2 -2
- package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
- package/dist/{chunk-OR7KKODW.js → chunk-PDUF6EII.js} +9 -9
- package/dist/{chunk-XLP6U3FG.js → chunk-PHRQAWK4.js} +2 -2
- package/dist/{chunk-FY3VV7TF.js → chunk-PM5D5KYQ.js} +67 -30
- package/dist/{chunk-TI5PPS3L.js → chunk-Q5BD6PMX.js} +19 -19
- package/dist/{chunk-LMDU5MNF.js → chunk-QEEE2WH5.js} +4 -4
- package/dist/{chunk-OUSYBIGE.js → chunk-QMGCL5FR.js} +4 -4
- package/dist/{chunk-M4IIJ24E.js → chunk-QMZPQU65.js} +2 -2
- package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
- package/dist/{chunk-LT7IY2L3.js → chunk-QSWLPQCW.js} +27 -23
- package/dist/{chunk-FBUAKQAI.js → chunk-R55LS2W2.js} +24 -24
- package/dist/{chunk-TWMVAPG2.js → chunk-RDXJAEZ4.js} +4 -4
- package/dist/{chunk-VR3HLYAT.js → chunk-RDZNRSAB.js} +2 -2
- package/dist/{chunk-K2RZKPQ2.js → chunk-RFUSBITY.js} +1 -1
- package/dist/{chunk-NSQBT4CM.js → chunk-RIGQU57Y.js} +7 -7
- package/dist/{chunk-YBMYW7LD.js → chunk-RNA5GO3B.js} +2 -2
- package/dist/{chunk-LH5URXDJ.js → chunk-RODV3OHP.js} +294 -180
- package/dist/{chunk-EKYVRXTE.js → chunk-RPK657TE.js} +16 -2
- package/dist/{chunk-KJF7SLOA.js → chunk-SAVO62PW.js} +1 -1
- package/dist/{chunk-JE54IO26.js → chunk-SB2DHY53.js} +18 -18
- package/dist/{chunk-NHQKHMIS.js → chunk-SBHPRHKB.js} +4 -4
- package/dist/{chunk-JIVNJBXI.js → chunk-SBPFCQNK.js} +4 -4
- package/dist/{chunk-GSR6UO7H.js → chunk-SFPHP3CC.js} +2 -2
- package/dist/{chunk-GCZHZVNX.js → chunk-SIZW5V4G.js} +16 -12
- package/dist/{chunk-S7AHPU2N.js → chunk-SJ5KVLTG.js} +1 -1
- package/dist/{chunk-4ORV4RGE.js → chunk-SJZLWRRY.js} +8 -8
- package/dist/{chunk-RMBWY5JE.js → chunk-SOAB4G33.js} +4 -4
- package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
- package/dist/{chunk-6U7VIQLV.js → chunk-T33R2CM3.js} +7 -7
- package/dist/{chunk-3553PK6F.js → chunk-T4ZE7AIX.js} +2 -2
- package/dist/{chunk-NWJ4DXAZ.js → chunk-TCQ733WC.js} +15 -15
- package/dist/{chunk-X4NDN6PQ.js → chunk-TGTKAIDU.js} +15 -10
- package/dist/{chunk-W2QJDTAR.js → chunk-U4PDXI67.js} +4 -4
- package/dist/{chunk-5EU5DLA3.js → chunk-UGTYYTPP.js} +2 -2
- package/dist/{chunk-PCHV6KYJ.js → chunk-UL3RNOYB.js} +3 -3
- package/dist/{chunk-6QUQEN75.js → chunk-UOTZH4TG.js} +2 -2
- package/dist/{chunk-LHQFDRQV.js → chunk-UQSH52UJ.js} +4 -4
- package/dist/{chunk-SGTSTGIP.js → chunk-UWT66OAR.js} +1 -1
- package/dist/{chunk-GNB4JQTB.js → chunk-V4NJTLJP.js} +12 -12
- package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
- package/dist/{chunk-YUEJZBME.js → chunk-V5Y3CXSU.js} +4 -4
- package/dist/{chunk-H26UA4UM.js → chunk-VZFPQMYN.js} +9 -9
- package/dist/{chunk-ULXSTWJF.js → chunk-W35C2SL3.js} +2 -2
- package/dist/{chunk-TFYVBPGR.js → chunk-W6ZCXWOK.js} +1 -1
- package/dist/{chunk-P2QIWGFU.js → chunk-WDP7IDGF.js} +13 -13
- package/dist/{chunk-RZQU5DHD.js → chunk-WDQJ2DRZ.js} +14 -14
- package/dist/{chunk-DOVEWKJ6.js → chunk-WKBW4JFU.js} +1 -1
- package/dist/{chunk-OLAPTOUH.js → chunk-WM65Q3AL.js} +1 -1
- package/dist/{chunk-55BVHNZQ.js → chunk-WO6ZJCAO.js} +4 -4
- package/dist/chunk-WSRGEK5T.js +89 -0
- package/dist/{chunk-MBRVSKFJ.js → chunk-WXGBSBHQ.js} +13 -12
- package/dist/{chunk-7JM235F7.js → chunk-WXOSGKMS.js} +8 -8
- package/dist/{chunk-V4XTBNZD.js → chunk-XBASXPUJ.js} +2 -2
- package/dist/{chunk-BVE5LPOA.js → chunk-XDDFM3BH.js} +6 -6
- package/dist/{chunk-7WC2N4QZ.js → chunk-XJOCPL6R.js} +2 -2
- package/dist/{chunk-24O6BRKD.js → chunk-XJSI7ZO2.js} +1 -1
- package/dist/{chunk-4ZIFMZO4.js → chunk-XKGZWQF7.js} +3 -3
- package/dist/{chunk-WY7FHINS.js → chunk-XLHURGH3.js} +5 -5
- package/dist/{chunk-UGH3CLTZ.js → chunk-XWQDNJ36.js} +4 -4
- package/dist/{chunk-QJPI55S5.js → chunk-YBQ4F27M.js} +4 -4
- package/dist/{chunk-WK6LQCUT.js → chunk-YDT6QZZK.js} +9 -9
- package/dist/{chunk-YRWJBS6C.js → chunk-YE6B7P6Q.js} +1 -1
- package/dist/{chunk-WSHSR3B2.js → chunk-YERTQ576.js} +4 -4
- package/dist/{chunk-GEQSZ5RE.js → chunk-YF4DIQJR.js} +3 -3
- package/dist/{chunk-LFL4KMKF.js → chunk-YHLKL4R5.js} +3 -3
- package/dist/{chunk-I4A4MY3S.js → chunk-YHSY6CVM.js} +4 -4
- package/dist/{chunk-XC53YNZG.js → chunk-YJGZ3AOW.js} +2 -2
- package/dist/{chunk-F37PADCM.js → chunk-YKK25QM4.js} +4 -4
- package/dist/{chunk-YUJK6ZYO.js → chunk-YMBJHKTY.js} +2 -2
- package/dist/{chunk-EV7AATQM.js → chunk-YTFU2B5K.js} +2 -2
- package/dist/{chunk-GZ6MPJKY.js → chunk-YUIITZCO.js} +3 -3
- package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
- package/dist/{chunk-FNDDKZ4Z.js → chunk-ZB4WVG7Q.js} +1 -1
- package/dist/{chunk-JG35YUYX.js → chunk-ZCB5MLPW.js} +3 -3
- package/dist/{chunk-BF6KECQD.js → chunk-ZDQ2EWWH.js} +32 -28
- package/dist/{chunk-LL7ZU6BT.js → chunk-ZG46HLGN.js} +108 -81
- package/dist/chunk-ZGL2P56Z.js +11 -0
- package/dist/{chunk-WBIMWGV7.js → chunk-ZIAPNZ6R.js} +4 -4
- package/dist/{chunk-Z2WGJH2P.js → chunk-ZLIVUVIV.js} +28 -16
- package/dist/{chunk-32FGSRR3.js → chunk-ZMCTTTR2.js} +4 -4
- package/dist/{chunk-LTYDEWKW.js → chunk-ZYJZ624V.js} +5 -5
- package/dist/cli/index.js +2 -2
- package/dist/{core-NL6TMYOZ.js → core-2DRDBSL7.js} +2 -1
- package/dist/{core-CTI37JP5.js → core-2VAPYQDA.js} +2 -1
- package/dist/{core-XINQIYQ6.js → core-3JGHUUZZ.js} +2 -1
- package/dist/{core-LCX7EK3Y.js → core-3KMBTZ32.js} +2 -1
- package/dist/{core-EQP4ERQK.js → core-4HEB3CRT.js} +2 -1
- package/dist/{core-3H2PZVYN.js → core-4WT74WGL.js} +2 -1
- package/dist/{core-UPPUXBWO.js → core-4ZUNKYYC.js} +2 -1
- package/dist/{core-4SX63YE4.js → core-5VCTJDQM.js} +2 -1
- package/dist/{core-NPCHUGTV.js → core-AJANHLTB.js} +2 -1
- package/dist/{core-OO22DXBW.js → core-AL3TDBHQ.js} +5 -1
- package/dist/{core-76KPBWTL.js → core-ATBNPTR5.js} +2 -1
- package/dist/{core-QACGDEDF.js → core-BIEUVBZK.js} +2 -1
- package/dist/{core-RZ5ZDSQL.js → core-C2CCLPE5.js} +2 -1
- package/dist/{core-BEBRTX5W.js → core-C3VC6YEV.js} +2 -1
- package/dist/{core-LSN2YKO4.js → core-DCWAUTD4.js} +2 -1
- package/dist/{core-7LODBY2T.js → core-GYDBZC7Q.js} +2 -1
- package/dist/{core-SERUDXVA.js → core-H3RRJPQK.js} +2 -1
- package/dist/{core-GGKGWGHO.js → core-HAMHEP3M.js} +2 -1
- package/dist/{core-FZJOKAFE.js → core-HRBOWCHO.js} +2 -1
- package/dist/{core-ZYLCLTFQ.js → core-IHG5XK6Q.js} +2 -1
- package/dist/{core-2SCAWP7F.js → core-JNA7L23P.js} +2 -1
- package/dist/{core-UOATHRZG.js → core-JTHVZEC4.js} +2 -1
- package/dist/{core-2ZRSLX2J.js → core-JXCXTDYK.js} +2 -1
- package/dist/{core-DZVYQFBX.js → core-LL2O5PBD.js} +2 -1
- package/dist/{core-S56FGRAT.js → core-NNHCWP3B.js} +2 -1
- package/dist/{core-E6Q3H52Q.js → core-OM3DGO6B.js} +2 -1
- package/dist/{core-7PNZRGK7.js → core-QH3H6ZPI.js} +2 -1
- package/dist/{core-V55HGH7X.js → core-QKDNA6KJ.js} +2 -1
- package/dist/{core-2IWCOLCX.js → core-R6OE3ORL.js} +2 -1
- package/dist/{core-Y3WI32MB.js → core-RZI7LRK3.js} +2 -1
- package/dist/{core-J7ZHSASB.js → core-SXBMOZ3W.js} +2 -1
- package/dist/{core-W5WF7FHA.js → core-TXADFQ3I.js} +2 -1
- package/dist/{core-UYTRLCZY.js → core-UOB4JKCT.js} +2 -1
- package/dist/{core-7RSXZIVD.js → core-WIV43MFA.js} +2 -1
- package/dist/{core-B7TS5HK6.js → core-XDPELH2B.js} +2 -1
- package/dist/{core-DICZFWV4.js → core-YKHQUOAW.js} +2 -1
- package/dist/{core-ZFXHFRWI.js → core-ZXGKAECT.js} +2 -1
- package/dist/{dataTable-72HO6PCW.js → dataTable-JBVSQNJX.js} +3 -2
- package/dist/{engine-UCMXMWGA.js → engine-QUEIPS7M.js} +26 -13
- package/dist/fixtures.js +2 -1
- package/dist/fonts.js +4 -4
- package/dist/index.js +21 -20
- package/dist/{main-NS5NPNQ7.js → main-V264O3WR.js} +8 -7
- package/dist/mcp/server.js +14 -13
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +3 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +3 -1
- package/dist/react/butterfly.js +3 -1
- package/dist/react/choropleth.js +3 -1
- package/dist/react/cohort.js +3 -1
- package/dist/react/column.js +3 -1
- package/dist/react/combo.js +3 -1
- package/dist/react/creative.js +3 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +2 -1
- package/dist/react/dot.js +3 -1
- package/dist/react/export.js +19 -18
- package/dist/react/funnel.js +3 -1
- package/dist/react/gantt.js +3 -1
- package/dist/react/grid.js +5 -1
- package/dist/react/heatmap.js +3 -1
- package/dist/react/histogram.js +3 -1
- package/dist/react/index.js +86 -84
- package/dist/react/kpi.js +3 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +3 -1
- package/dist/react/mekko.js +3 -1
- package/dist/react/pareto.js +3 -1
- package/dist/react/pie.js +3 -1
- package/dist/react/prepare.js +23 -21
- package/dist/react/pvm.js +3 -1
- package/dist/react/pyramid.js +3 -1
- package/dist/react/sankey.js +3 -1
- package/dist/react/scatter.js +3 -1
- package/dist/react/slope.js +3 -1
- package/dist/react/sparkline.js +3 -1
- package/dist/react/spec.js +12 -10
- package/dist/react/status.js +3 -1
- package/dist/react/story.js +4 -3
- package/dist/react/table.js +2 -1
- package/dist/react/theme.js +4 -3
- package/dist/react/tilemap.js +3 -1
- package/dist/react/treemap.js +3 -1
- package/dist/react/variance.js +3 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +3 -1
- package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
- package/dist/{rowsModule-QGCXTE6X.js → rowsModule-6UL4SSUC.js} +1 -1
- package/dist/{schema-CWOPBOK4.js → schema-3FSG2YXY.js} +1 -1
- package/dist/{schema-4SRLAXUP.js → schema-5PQPGEZQ.js} +1 -1
- package/dist/{schema-GAUZZRA4.js → schema-6LUORZNN.js} +1 -1
- package/dist/{schema-AGKSRVXN.js → schema-6MDHX2E7.js} +1 -1
- package/dist/{schema-UEZQN4WK.js → schema-7HXHGBUN.js} +1 -1
- package/dist/{schema-G6KGEQRD.js → schema-ACOD4XKI.js} +1 -1
- package/dist/{schema-C3PYINCY.js → schema-B3I7XBP3.js} +1 -1
- package/dist/{schema-MCA4J2BP.js → schema-CCOTGURZ.js} +1 -1
- package/dist/{schema-FSX7WR7M.js → schema-E5O7M5KM.js} +1 -1
- package/dist/{schema-RRZXOF5G.js → schema-EWATAK6Z.js} +1 -1
- package/dist/{schema-2BFNQ5GW.js → schema-FEBMLOZG.js} +1 -1
- package/dist/{schema-WWWWEQAR.js → schema-FL57LIU2.js} +1 -1
- package/dist/{schema-YUMFWHIE.js → schema-FTRAVEX3.js} +2 -1
- package/dist/{schema-E2WWDYU5.js → schema-GSKCG2WP.js} +1 -1
- package/dist/{schema-6WNG4LCV.js → schema-HVDY6QXK.js} +1 -1
- package/dist/{schema-3IXLM7X4.js → schema-I267TVQ4.js} +1 -1
- package/dist/{schema-6PLNMFVY.js → schema-IG2WGTQO.js} +1 -1
- package/dist/{schema-ZFUX3UIO.js → schema-ITZQDKSE.js} +1 -1
- package/dist/{schema-JKZBRZSI.js → schema-LCOGZNQF.js} +1 -1
- package/dist/{schema-7WNRP7FW.js → schema-MC3CQNPR.js} +1 -1
- package/dist/{schema-AMIFJ2JX.js → schema-MP2QNFCN.js} +1 -1
- package/dist/{schema-FOBGNU5I.js → schema-NYCMLGOW.js} +1 -1
- package/dist/{schema-ENLWEZOI.js → schema-OML7XS7J.js} +1 -1
- package/dist/{schema-7XQMEJII.js → schema-QAAVXXYR.js} +1 -1
- package/dist/{schema-XQSP5QAX.js → schema-QPYFXSEQ.js} +1 -1
- package/dist/{schema-JJIXQIBN.js → schema-RJBIXN5U.js} +1 -1
- package/dist/{schema-MM7JPYI7.js → schema-RW47HWVO.js} +1 -1
- package/dist/{schema-PVUWOLUB.js → schema-S7Q4YR7R.js} +1 -1
- package/dist/{schema-OIY565PO.js → schema-SWVWMZY3.js} +1 -1
- package/dist/{schema-EAYC5DVH.js → schema-T3RSFE2V.js} +1 -1
- package/dist/{schema-O5HGNE3W.js → schema-T4CGWZLB.js} +4 -2
- package/dist/{schema-2XGHH7PU.js → schema-TXYKZ5NT.js} +1 -1
- package/dist/{schema-ZBIIPJAI.js → schema-U6CZI6XG.js} +1 -1
- package/dist/{schema-BK2TU6XT.js → schema-XE4WY64H.js} +1 -1
- package/dist/{schema-ETH6WXZU.js → schema-YDWVXQPK.js} +1 -1
- package/dist/{schema-GQPXSWIR.js → schema-YPGXVI22.js} +1 -1
- package/dist/{schema-GFRB4BJW.js → schema-ZMOIP2BK.js} +1 -1
- package/dist/{specValidation-5AI56FM3.js → specValidation-6LVTTHZI.js} +2 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-GGBYWZY7.js → themeShapeRules-NDEXKFC7.js} +1 -1
- package/dist/types/core/charts/bar/layout.d.ts +1 -1
- package/dist/types/core/charts/column/model.d.ts +3 -1
- package/dist/types/core/charts/grid/metricStack.d.ts +35 -3
- package/dist/types/core/charts/grid/metricStackSchema.d.ts +8 -0
- package/dist/types/core/charts/grid/schema.d.ts +5 -0
- package/dist/types/core/charts/scatter/layout.d.ts +18 -1
- package/dist/types/core/charts/scatter/marks.d.ts +94 -0
- package/dist/types/core/charts/scatter/zones.d.ts +52 -0
- package/dist/types/core/fontMetrics/index.d.ts +3 -1
- package/dist/types/core/fontMetrics/injected.d.ts +1 -0
- package/dist/types/core/frame.d.ts +7 -2
- package/dist/types/core/label/occupied.d.ts +1 -1
- package/dist/types/core/registry.d.ts +2 -0
- package/dist/types/core/request.d.ts +7 -0
- package/dist/types/core/sizing.d.ts +9 -0
- package/dist/types/core/themeGeometry.d.ts +184 -0
- package/dist/types/core/types/options.d.ts +6 -0
- package/dist/types/core/types/scene.d.ts +11 -0
- package/dist/types/core/types/theme.d.ts +11 -0
- package/dist/types/react/hover/placement.d.ts +11 -0
- package/dist/types/react/prepare.d.ts +2 -1
- package/dist/types/react/useHover.d.ts +1 -0
- package/dist/validate.js +8 -6
- package/docs/manual.md +4 -2
- package/docs/reference/fixtures.md +3 -0
- package/docs/reference/grid.md +23 -10
- package/docs/reference/options.md +3 -0
- package/docs/reference/react.md +2 -0
- package/docs/reference/theme.md +4 -1
- package/package.json +1 -1
- package/dist/chunk-BOQQARLT.js +0 -89
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chartTheme
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
solveTableWidthRung,
|
|
5
|
+
prepareTableWidthFit,
|
|
7
6
|
tableWidths
|
|
8
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZDQ2EWWH.js";
|
|
9
8
|
import {
|
|
10
9
|
ZERO_LIFT,
|
|
11
10
|
arrowKey,
|
|
@@ -38,23 +37,24 @@ import {
|
|
|
38
37
|
visibleColumns,
|
|
39
38
|
visibleInlineRows,
|
|
40
39
|
visibleRows
|
|
41
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-TGTKAIDU.js";
|
|
42
41
|
import {
|
|
43
42
|
TABLE_SPARK_STYLE,
|
|
44
43
|
emitSparklineMarks,
|
|
45
44
|
lastObservedIndex,
|
|
46
45
|
plotSparkline,
|
|
47
46
|
sparklineDomain
|
|
48
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-2MK5437T.js";
|
|
49
48
|
import {
|
|
50
49
|
structureCount
|
|
51
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IHZNRJEV.js";
|
|
52
51
|
import {
|
|
53
52
|
liftOrFallback,
|
|
54
53
|
missesSize,
|
|
54
|
+
reportWidthFloor,
|
|
55
55
|
tightAdvice,
|
|
56
56
|
tightSpacingWarning
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RPK657TE.js";
|
|
58
58
|
import {
|
|
59
59
|
CHIP_PAD_X,
|
|
60
60
|
ENGINE_NOTES,
|
|
@@ -77,10 +77,10 @@ import {
|
|
|
77
77
|
kindFont,
|
|
78
78
|
rowFont,
|
|
79
79
|
strongColumnFont
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-ELFF5YO7.js";
|
|
81
81
|
import {
|
|
82
82
|
chartString
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-OJLXBFI3.js";
|
|
84
84
|
import {
|
|
85
85
|
chipHeight,
|
|
86
86
|
chipPaints,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
statusSquarePaint,
|
|
93
93
|
tableGround,
|
|
94
94
|
toneTextPaint
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-MUYU6KTM.js";
|
|
96
96
|
import {
|
|
97
97
|
qualifierFont,
|
|
98
98
|
tableInk,
|
|
@@ -101,12 +101,14 @@ import {
|
|
|
101
101
|
import {
|
|
102
102
|
DEFAULT_EMPTY_MESSAGE,
|
|
103
103
|
hasNoDataRows
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-BFHAYXUU.js";
|
|
105
105
|
import {
|
|
106
106
|
ACCEPTANCE_PROBE,
|
|
107
107
|
FIXED_SIZE_PROBE,
|
|
108
108
|
FORCE_COMPACT,
|
|
109
109
|
PLAN_ONLY,
|
|
110
|
+
SIZE_TOLERANCE,
|
|
111
|
+
TABLE_WIDTH_TEST,
|
|
110
112
|
VERIFY_ADVICE,
|
|
111
113
|
WIDTH_PROBE,
|
|
112
114
|
copyPlannedValue,
|
|
@@ -118,14 +120,16 @@ import {
|
|
|
118
120
|
materializeLayout,
|
|
119
121
|
optionKey,
|
|
120
122
|
plannedCutCount,
|
|
123
|
+
requestMemo,
|
|
121
124
|
rowDrivenHeight,
|
|
122
125
|
rowSizing,
|
|
123
126
|
spareShare,
|
|
124
127
|
tableTextMeasure,
|
|
125
128
|
withPlanInputs
|
|
126
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
127
130
|
import {
|
|
128
131
|
authoredNotes,
|
|
132
|
+
collectFrameClaims,
|
|
129
133
|
composedTextRole,
|
|
130
134
|
cutWithTitle,
|
|
131
135
|
distinctCut,
|
|
@@ -135,22 +139,22 @@ import {
|
|
|
135
139
|
legendOff,
|
|
136
140
|
legendRequired,
|
|
137
141
|
solveFrame
|
|
138
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
139
143
|
import {
|
|
140
144
|
disclosureNote,
|
|
141
145
|
staticFrame
|
|
142
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-I3UJHKCS.js";
|
|
143
147
|
import {
|
|
144
148
|
parseFormatExample
|
|
145
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-BHO5H4AF.js";
|
|
146
150
|
import {
|
|
147
151
|
formatExactNumber,
|
|
148
152
|
zeroLifts
|
|
149
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-5OUURZ2T.js";
|
|
150
154
|
import {
|
|
151
155
|
canvasMargin,
|
|
152
156
|
colorblindRoles,
|
|
153
|
-
|
|
157
|
+
layoutStepKey,
|
|
154
158
|
markRolePaint,
|
|
155
159
|
panelTypeClass,
|
|
156
160
|
resolveSemanticPaletteTheme,
|
|
@@ -160,8 +164,9 @@ import {
|
|
|
160
164
|
signedFillPaint,
|
|
161
165
|
strokeToken,
|
|
162
166
|
textScaleOf,
|
|
167
|
+
typeClassCap,
|
|
163
168
|
typeWidthClass
|
|
164
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-4NGKSJBX.js";
|
|
165
170
|
import {
|
|
166
171
|
TARGET_SIZE,
|
|
167
172
|
accessibleTitle,
|
|
@@ -171,7 +176,7 @@ import {
|
|
|
171
176
|
WIDTH_SAFETY,
|
|
172
177
|
defaultMeasurer,
|
|
173
178
|
ellipsize
|
|
174
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-77LQEREO.js";
|
|
175
180
|
import {
|
|
176
181
|
maxOf,
|
|
177
182
|
minOf,
|
|
@@ -229,10 +234,9 @@ function compactTable(authoredData, options, full, margin, cellPadX2, heads, res
|
|
|
229
234
|
}, tightens = (geometry) => {
|
|
230
235
|
let across = 2 * Math.max(0, cellPadX2 - TIGHT_PAD) * geometry.marks.columns.length + Math.max(0, geometry.plot.x - TIGHT_PAD * 2) + Math.max(0, geometry.size.width - geometry.plot.x - geometry.plot.w - TIGHT_PAD * 2) + (authoredData.columnGroups ?? []).reduce((sum, group) => sum + Math.max(0, (group.spacer ?? 0) - TIGHT_PAD * 2), 0) + 6 + 4 * Math.max(0, maxOf(resolved.rows.map((row) => row.level))) + 4, missed = missesSize(geometry, options), reachable = !missed.width || (geometry.sizing?.minWidth ?? 0) - geometry.size.width <= across;
|
|
231
236
|
return !options[REGULAR_SPACING] && geometry.sizing !== void 0 && (missed.width || missed.height) && reachable;
|
|
232
|
-
}, compact = run(compactOptions, sizingOnly, (geometry) => !tightens(geometry)), misses = missesSize(compact, options), { width: missesWidth, height: missesHeight } = misses, lastOptions = compactOptions;
|
|
233
|
-
if (
|
|
234
|
-
let
|
|
235
|
-
if (compact = run(lastOptions = {
|
|
237
|
+
}, compact = run(compactOptions, sizingOnly, (geometry) => !tightens(geometry)), misses = missesSize(compact, options), { width: missesWidth, height: missesHeight } = misses, lastOptions = compactOptions, tighten = tightens(compact), hint = reportWidthFloor && missesWidth && !missesHeight && typeClassCap() === "S" && options[TARGET_SIZE]?.fixed.height === !1 && !options[REGULAR_SPACING] ? reportWidthFloor : void 0;
|
|
238
|
+
if ((tighten || hint) && compact.sizing) {
|
|
239
|
+
let tightOptions = {
|
|
236
240
|
...compactOptions,
|
|
237
241
|
[TIGHT_SPACING]: { columns: missesWidth, rows: missesHeight },
|
|
238
242
|
...missesWidth ? {
|
|
@@ -244,11 +248,18 @@ function compactTable(authoredData, options, full, margin, cellPadX2, heads, res
|
|
|
244
248
|
...margin,
|
|
245
249
|
...missesWidth ? { left: Math.min(margin.left ?? CARD_GUTTER, TIGHT_PAD * 2), right: Math.min(margin.right ?? CARD_GUTTER, TIGHT_PAD * 2) } : {}
|
|
246
250
|
}
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
|
|
251
|
+
};
|
|
252
|
+
if (hint && !tighten) {
|
|
253
|
+
let tight = run(tightOptions, !0, void 0, "regular-rung");
|
|
254
|
+
tight.sizing && hint(tight.sizing.minWidth);
|
|
255
|
+
} else {
|
|
256
|
+
let tightWarning = tightSpacingWarning(misses, { width: "cell air, column gaps and side margins", height: "row air and top and bottom margins" }, "the table", "compact", { ...compact, sizing: compact.sizing }, options);
|
|
257
|
+
if (compact = run(lastOptions = tightOptions, sizingOnly), missesSize(compact, options).width && resolved.columns.some((col) => / \S{1,2}$/u.test(col.label ?? ""))) {
|
|
258
|
+
let loose = run({ ...lastOptions, [HEAD_LOOSE]: !0 }, sizingOnly);
|
|
259
|
+
missesSize(loose, options).width || (compact = loose, lastOptions = { ...lastOptions, [HEAD_LOOSE]: !0 });
|
|
260
|
+
}
|
|
261
|
+
hint && compact.sizing && hint(compact.sizing.minWidth), compact.warnings.push(tightWarning);
|
|
250
262
|
}
|
|
251
|
-
compact.warnings.push(tightWarning);
|
|
252
263
|
}
|
|
253
264
|
if (missesHeight && compact.sizing && compact.size.height + 0.5 < compact.sizing.minHeight && resolved.columns.some((col) => col.subLabel !== void 0)) {
|
|
254
265
|
let warnings = compact.warnings;
|
|
@@ -504,7 +515,7 @@ function prepareTableExecutor(authoredData, initialOptions = {}, initialResolved
|
|
|
504
515
|
let current = Object.keys(candidate).length === 0 && Object.getOwnPropertySymbols(candidate).length === 0 ? variant : { ...variant, ...candidate }, { size: _candidateSize, [COMPACT_RETRY]: _candidateHeight, ...spacing } = candidate, typeClass = panelTypeClass(current) ?? typeWidthClass(resolveSize(current.size).width), key = variantKey + ":" + optionKey(spacing) + ":" + typeClass + (givesSectionAir(current) ? ":air" : ""), byKey = candidates.get(model);
|
|
505
516
|
byKey || candidates.set(model, byKey = /* @__PURE__ */ new Map());
|
|
506
517
|
let prepared = byKey.get(key);
|
|
507
|
-
return prepared || (prepared = prepareTableCandidate(input.source, current, model), byKey.size >= 256 && byKey.delete(byKey.keys().next().value), byKey.set(key, prepared)), prepared(current, sizingOnly, selected, widthOnlyOnMiss);
|
|
518
|
+
return prepared || (prepared = requestMemo(model, key, () => prepareTableCandidate(input.source, current, model)), byKey.size >= 256 && byKey.delete(byKey.keys().next().value), byKey.set(key, prepared)), prepared(current, sizingOnly, selected, widthOnlyOnMiss);
|
|
508
519
|
}
|
|
509
520
|
} });
|
|
510
521
|
}, (lifted, plain) => costsWidth(lifted.undrawn, plain.undrawn, options), resolved.lifted);
|
|
@@ -513,7 +524,7 @@ function prepareTableExecutor(authoredData, initialOptions = {}, initialResolved
|
|
|
513
524
|
return options[PLAN_ONLY] || options[SIZING_ONLY] ? geometry : materializeLayout(geometry);
|
|
514
525
|
}), runCard = (options = initialOptions) => withPlanInputs(() => {
|
|
515
526
|
let input = prepareTableData(authoredData, options), { [WIDTH_PROBE]: _width, ...keyOptions } = options;
|
|
516
|
-
return typeof options.theme != "string" && (keyOptions.theme = { preset: options.theme?.preset, overrides: resolveTheme(options.theme) }), memoLayout(input, keyOptions, () => {
|
|
527
|
+
return _width === TABLE_WIDTH_TEST && (keyOptions[WIDTH_PROBE] = TABLE_WIDTH_TEST), typeof options.theme != "string" && (keyOptions.theme = { preset: options.theme?.preset, overrides: resolveTheme(options.theme) }), memoLayout(input, keyOptions, () => {
|
|
517
528
|
let planned = { ...snapshotTableOptions(options), [PLAN_ONLY]: !0 }, geometry = run(planned, !1, void 0, input), sized = options[SIZING_ONLY] || options[VERIFY_ADVICE] || missesFrame(geometry, options) ? classFloor((_data, frame) => run(frame, !1, void 0, input), input.source, planned, geometry) : geometry;
|
|
518
529
|
return widthRepairHeight(input.source, planned, sized, runCard);
|
|
519
530
|
}, 8);
|
|
@@ -598,9 +609,17 @@ function layoutTableCard(data, options = {}) {
|
|
|
598
609
|
var layouts = /* @__PURE__ */ new WeakMap();
|
|
599
610
|
function memoLayout(data, options, layout, limit = 32) {
|
|
600
611
|
return withPlanInputs(() => {
|
|
601
|
-
let finish = (value) =>
|
|
612
|
+
let finish = (value) => {
|
|
613
|
+
let geometry = value;
|
|
614
|
+
if (isPlanned(geometry)) return options[PLAN_ONLY] ? { ...value, warnings: [...geometry.warnings] } : materializeLayout(geometry);
|
|
615
|
+
let widthTrial = options[PLAN_ONLY] && options[WIDTH_PROBE] === TABLE_WIDTH_TEST;
|
|
616
|
+
return copyPlannedValue(value, widthTrial ? /* @__PURE__ */ new Map([[geometry.derived, geometry.derived]]) : void 0);
|
|
617
|
+
};
|
|
602
618
|
if (typeof options.theme == "string") return finish(layout());
|
|
603
|
-
let { [PLAN_ONLY]: _plan, ...answerOptions } = options, key = layoutKey(data, answerOptions)
|
|
619
|
+
let { [PLAN_ONLY]: _plan, ...answerOptions } = options, key = layoutKey(data, answerOptions);
|
|
620
|
+
if (options[WIDTH_PROBE] === TABLE_WIDTH_TEST)
|
|
621
|
+
return finish(requestMemo(data, "table-width-trial:" + key, layout));
|
|
622
|
+
let byKey = layouts.get(data);
|
|
604
623
|
return byKey || layouts.set(data, byKey = /* @__PURE__ */ new Map()), byKey.size >= limit && !byKey.has(key) && byKey.delete(byKey.keys().next().value), byKey.has(key) || byKey.set(key, layout()), finish(byKey.get(key));
|
|
605
624
|
});
|
|
606
625
|
}
|
|
@@ -661,15 +680,22 @@ function sharedTableView(data, options, table) {
|
|
|
661
680
|
return (!known || known.key !== key) && tableViews.set(table, known = { key, view: prepareTableView(data, options, table) }), known.view.notes.forEach(disclosureNote), known.view;
|
|
662
681
|
}
|
|
663
682
|
var tableFrames = /* @__PURE__ */ new WeakMap();
|
|
664
|
-
function
|
|
665
|
-
let
|
|
666
|
-
frames || tableFrames.set(table, frames = /* @__PURE__ */ new Map())
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
683
|
+
function prepareTableFrames(table, content) {
|
|
684
|
+
let furniture = optionKey(content), frames = tableFrames.get(table);
|
|
685
|
+
return frames || tableFrames.set(table, frames = /* @__PURE__ */ new Map()), (size, margin, inset, notes) => {
|
|
686
|
+
let key = `${layoutStepKey()}:${staticFrame.pinned}:${staticFrame.live}:${size.width}:${size.height}:${margin.top}:${margin.right}:${margin.bottom}:${margin.left}:${inset}:${notes.length ? JSON.stringify(notes) : ""}:${furniture}`, plan = frames.get(key);
|
|
687
|
+
if (!plan) {
|
|
688
|
+
let claims = [];
|
|
689
|
+
plan = { frame: solveFrame({
|
|
690
|
+
...content,
|
|
691
|
+
size,
|
|
692
|
+
margin,
|
|
693
|
+
footerInset: inset,
|
|
694
|
+
footnotes: notes.length ? [...content.footnotes, ...notes] : content.footnotes
|
|
695
|
+
}, collectFrameClaims(claims)), claims }, frames.size >= 64 && frames.delete(frames.keys().next().value), frames.set(key, plan);
|
|
696
|
+
}
|
|
697
|
+
return plan;
|
|
698
|
+
};
|
|
673
699
|
}
|
|
674
700
|
function givesSectionAir(options) {
|
|
675
701
|
return options[COMPACT_RETRY] !== void 0 && !heightOmitted(options.size) && options[TARGET_SIZE]?.fixed.height !== !1;
|
|
@@ -706,7 +732,14 @@ function prepareTableCandidate(authoredData, options, initialResolved) {
|
|
|
706
732
|
headLines: options[HEAD_LINES],
|
|
707
733
|
subLines: options[SUB_LINES],
|
|
708
734
|
headGlue: options[HEAD_LOOSE] !== !0
|
|
709
|
-
}, preparedWidth = options.
|
|
735
|
+
}, preparedWidth = options.columnHeads !== !1 ? prepareTableWidthFit(table, theme, measure, options, widthViewBase) : void 0, recentWidths = [];
|
|
736
|
+
function widthsAt(available, frame, size, probe) {
|
|
737
|
+
if (!preparedWidth) return sharedWidthPlan(table, theme, measure, frame, { ...widthViewBase, available }, probe);
|
|
738
|
+
let warningHeight = frame[TARGET_SIZE]?.fixed.height === !1 || heightOmitted(frame.size) ? void 0 : size.height, partial = probe !== void 0, previous = recentWidths.find((entry) => entry.available === available && entry.canvasWidth === size.width && entry.warningHeight === warningHeight && entry.probe === partial);
|
|
739
|
+
if (previous) return previous.plan;
|
|
740
|
+
let plan = preparedWidth(available, frame, probe);
|
|
741
|
+
return recentWidths.length === 2 && recentWidths.shift(), recentWidths.push({ available, canvasWidth: size.width, warningHeight, probe: partial, plan }), plan;
|
|
742
|
+
}
|
|
710
743
|
function prepareRows(options2, widthPlan, size, plot) {
|
|
711
744
|
let gridX = Math.round(plot.x), cellPadX2 = widthPlan.cellPadX, { fonts, regularFonts, columnHeaderText, cellFont, indentStep, rowIndent, hasChanges: hasChangesById } = widthPlan, statusCuts = /* @__PURE__ */ new Map(), statusFits = /* @__PURE__ */ new Map(), rowFont2 = (role, level, hasChildren, hasChanges = !1) => rowFont(theme, ladder, regularFonts, role, level, hasChildren, hasChanges), sectionInk = theme.table?.section?.ink, ofWhichMuted = theme.table?.ofWhich !== "ink";
|
|
712
745
|
function rowHeight(row) {
|
|
@@ -883,11 +916,36 @@ function prepareTableCandidate(authoredData, options, initialResolved) {
|
|
|
883
916
|
value
|
|
884
917
|
}, value;
|
|
885
918
|
}
|
|
919
|
+
let frameLegend = keyEntries.length + arrowEntries.length > 0 ? {
|
|
920
|
+
legend: {
|
|
921
|
+
options: legendRequired(options.legend, warnings, "table", theme, keyEntries.length > 0 ? "its heat bands cut at edges no cell prints" : "its arrow shapes stand for shares no cell prints"),
|
|
922
|
+
items: [
|
|
923
|
+
...keyEntries.map((entry) => ({ id: entry.id, label: entry.label, paint: entry.fill, key: "box", stroke: { token: "grid" } })),
|
|
924
|
+
...arrowEntries.map((entry) => ({ id: entry.id, label: entry.label, paint: { token: "ink" }, key: "glyph", glyph: entry.glyph }))
|
|
925
|
+
]
|
|
926
|
+
},
|
|
927
|
+
legendFont: "footnote"
|
|
928
|
+
} : {}, framesByMode = /* @__PURE__ */ new Map();
|
|
929
|
+
function framesFor(options2) {
|
|
930
|
+
let frameAt = framesByMode.get(options2.mode);
|
|
931
|
+
return frameAt || (frameAt = prepareTableFrames(table, {
|
|
932
|
+
...frameTextOptions(options2),
|
|
933
|
+
unit: tableFrameUnit(table, options2),
|
|
934
|
+
// Hidden rows and columns have no mark that can point to a footnote.
|
|
935
|
+
footnotes: [...tableNotes, ...authored],
|
|
936
|
+
numberedFootnotes: authored,
|
|
937
|
+
unreferencedNotes: authored.map((_, i) => i + 1),
|
|
938
|
+
footnoteInk: "inkMeta",
|
|
939
|
+
...frameLegend,
|
|
940
|
+
theme,
|
|
941
|
+
measure
|
|
942
|
+
}), framesByMode.set(options2.mode, frameAt)), frameAt;
|
|
943
|
+
}
|
|
886
944
|
let preparedWarnings = warnings, liftedByFormatting = resolved !== initialResolved && resolved.lifted;
|
|
887
945
|
return function(options2, sizingOnly, wantsScene, widthOnlyOnMiss = !1) {
|
|
888
946
|
liftedByFormatting && zeroLifts.count++;
|
|
889
947
|
for (let note of tableNotes) disclosureNote(note);
|
|
890
|
-
let size = resolveSize(options2.size), engineNotes = options2[ENGINE_NOTES] ?? [];
|
|
948
|
+
let size = resolveSize(options2.size), engineNotes = options2[ENGINE_NOTES] ?? [], frameAt = framesFor(options2);
|
|
891
949
|
for (; ; ) {
|
|
892
950
|
let sizingProbe2 = function(sizing2, marks, pad = cellPadX2) {
|
|
893
951
|
let probe = {
|
|
@@ -909,40 +967,7 @@ function prepareTableCandidate(authoredData, options, initialResolved) {
|
|
|
909
967
|
return cellPads.set(probe, pad), probe;
|
|
910
968
|
};
|
|
911
969
|
var sizingProbe = sizingProbe2;
|
|
912
|
-
let warnings2 = [...preparedWarnings], cellPadX2 = initialCellPadX,
|
|
913
|
-
size,
|
|
914
|
-
margin: { ...canvasMargin(theme, size.width), ...options2.margin },
|
|
915
|
-
...frameTextOptions(options2),
|
|
916
|
-
// uniform money unit hoisted out of every cell → the frame slot
|
|
917
|
-
// (solveFrame prepends 'in' itself)
|
|
918
|
-
unit: tableFrameUnit(table, options2),
|
|
919
|
-
// rows/cols, not table.rows/table.columns: this surface is static, so a
|
|
920
|
-
// marker inside a collapsed row or a hidden column is unreachable here
|
|
921
|
-
// and its footnote would point at nothing
|
|
922
|
-
footnotes: [...tableNotes, ...authored, ...engineNotes],
|
|
923
|
-
// Nothing in a table points at a note: no head or cell carries a
|
|
924
|
-
// mark, so a "1)" before the note is a number the reader cannot follow
|
|
925
|
-
// (the same rule as for the engine's own notes). The author's
|
|
926
|
-
// notes stay notes and print without a number.
|
|
927
|
-
numberedFootnotes: authored,
|
|
928
|
-
unreferencedNotes: authored.map((_, i) => i + 1),
|
|
929
|
-
// A table's notes read in the tertiary ink where the theme names one.
|
|
930
|
-
footnoteInk: "inkMeta",
|
|
931
|
-
// The notes and the source keep the cell air in from both edges, as on React, also at canvas margin 0.
|
|
932
|
-
footerInset: cellPadX2,
|
|
933
|
-
...keyEntries.length + arrowEntries.length > 0 ? {
|
|
934
|
-
legend: {
|
|
935
|
-
options: legendRequired(options2.legend, warnings2, "table", theme, keyEntries.length > 0 ? "its heat bands cut at edges no cell prints" : "its arrow shapes stand for shares no cell prints"),
|
|
936
|
-
items: [
|
|
937
|
-
...keyEntries.map((entry) => ({ id: entry.id, label: entry.label, paint: entry.fill, key: "box", stroke: { token: "grid" } })),
|
|
938
|
-
...arrowEntries.map((entry) => ({ id: entry.id, label: entry.label, paint: { token: "ink" }, key: "glyph", glyph: entry.glyph }))
|
|
939
|
-
]
|
|
940
|
-
},
|
|
941
|
-
legendFont: "footnote"
|
|
942
|
-
} : {},
|
|
943
|
-
theme,
|
|
944
|
-
measure
|
|
945
|
-
}, framePlan = sharedTableFrame(table, frameInput), frame = framePlan.frame, plot = frame.plot, groundTexts = /* @__PURE__ */ new Map(), widthView = { ...widthViewBase, available: plot.w }, widthProbe = widthOnlyOnMiss === "regular-rung" && options2[TARGET_SIZE]?.fixed.width !== !1 ? { canvasWidth: size.width, footerInset: cellPadX2 } : void 0, widthPlan = preparedWidth ? solveTableWidthRung(preparedWidth, plot.w, options2, widthProbe) : sharedWidthPlan(table, theme, measure, options2, widthView, widthProbe);
|
|
970
|
+
let warnings2 = [...preparedWarnings], cellPadX2 = initialCellPadX, margin = { ...canvasMargin(theme, size.width), ...options2.margin }, framePlan = frameAt(size, margin, cellPadX2, engineNotes), frame = framePlan.frame, plot = frame.plot, groundTexts = /* @__PURE__ */ new Map(), widthProbe = widthOnlyOnMiss === "regular-rung" && options2[TARGET_SIZE]?.fixed.width !== !1 ? { canvasWidth: size.width, footerInset: cellPadX2 } : void 0, widthPlan = widthsAt(plot.w, options2, size, widthProbe);
|
|
946
971
|
if ("widthMiss" in widthPlan) {
|
|
947
972
|
let sizing2 = tableSizing(size, plot, plot.y, widthPlan.totalW, widthPlan.minimumW);
|
|
948
973
|
if (size.width < sizing2.minWidth) {
|
|
@@ -954,11 +979,13 @@ function prepareTableCandidate(authoredData, options, initialResolved) {
|
|
|
954
979
|
headerBand: { x, y: y2, w: widthPlan.totalW, h: 0 }
|
|
955
980
|
}, widthPlan.cellPadX);
|
|
956
981
|
}
|
|
957
|
-
widthPlan =
|
|
982
|
+
widthPlan = widthsAt(plot.w, options2, size);
|
|
958
983
|
}
|
|
959
|
-
cellPadX2 = widthPlan.cellPadX,
|
|
984
|
+
cellPadX2 = widthPlan.cellPadX, initialCellPadX !== cellPadX2 && (framePlan = frameAt(size, margin, cellPadX2, engineNotes), frame = framePlan.frame, plot = frame.plot);
|
|
960
985
|
let gridX = Math.round(plot.x), gridY = Math.round(plot.y), { sizingMinimums, totalW, minimumW, fonts, columnHeaderText, cellFont, indentStep, rowIndent, operatorSlot, childCount } = widthPlan, sumOf = (map) => [...map.values()].reduce((a, b) => a + b, spacerTotal);
|
|
961
|
-
|
|
986
|
+
pushAll(warnings2, widthPlan.warnings);
|
|
987
|
+
let tableMiss = options2[WIDTH_PROBE] === TABLE_WIDTH_TEST && size.width + SIZE_TOLERANCE < size.width - plot.w + minimumW;
|
|
988
|
+
if (sizingOnly && options2[TARGET_SIZE]?.fixed.height === !1 && !heightOmitted(options2.size) || (widthOnlyOnMiss || tableMiss) && options2[TARGET_SIZE]?.fixed.width !== !1 && size.width < size.width - plot.w + minimumW)
|
|
962
989
|
return sizingProbe2(tableSizing(size, plot, plot.y, totalW, minimumW), {
|
|
963
990
|
table: { x: gridX, y: gridY, w: totalW, h: 0 },
|
|
964
991
|
columns: cols.map((col) => ({ id: col.id, x: gridX, w: widthAt(widthPlan, col.id) })),
|
|
@@ -995,7 +1022,7 @@ function prepareTableCandidate(authoredData, options, initialResolved) {
|
|
|
995
1022
|
if (!sizingOnly && targetSize?.fixed.height === !1 && size.width === targetSize.sizePx.width && size.height === targetSize.sizePx.height) {
|
|
996
1023
|
let height = tableSizing(size, plot, y, totalW, 0).naturalHeight;
|
|
997
1024
|
if (height !== size.height) {
|
|
998
|
-
let nextSize = { width: size.width, height }, nextFramePlan =
|
|
1025
|
+
let nextSize = { width: size.width, height }, nextFramePlan = frameAt(nextSize, margin, cellPadX2, engineNotes), nextFrame = nextFramePlan.frame;
|
|
999
1026
|
nextFrame.plot.x === plot.x && nextFrame.plot.y === plot.y && nextFrame.plot.w === plot.w && tableSizing(nextSize, nextFrame.plot, y, totalW, 0).naturalHeight === height && (size = nextSize, framePlan = nextFramePlan, frame = nextFrame, plot = frame.plot);
|
|
1000
1027
|
}
|
|
1001
1028
|
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/core/stackFocus.ts
|
|
2
|
+
var STACK_FOCUS = /* @__PURE__ */ Symbol.for("boardplot.metricStackFocus");
|
|
3
|
+
function withStackFocus(options, category) {
|
|
4
|
+
let stack = options.stack;
|
|
5
|
+
return category === void 0 || stack === void 0 ? options : { ...options, stack: { ...stack, [STACK_FOCUS]: category } };
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export {
|
|
9
|
+
STACK_FOCUS,
|
|
10
|
+
withStackFocus
|
|
11
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5LUHGXXE.js";
|
|
5
5
|
import {
|
|
6
6
|
optionKeyCheck
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-35JGEMCK.js";
|
|
11
11
|
import {
|
|
12
12
|
bartableCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NFYF7P6H.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D2I2BUR6.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/bartable.ts
|
|
19
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, labels: { point: 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, total: 0, totalPosition: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, combinedShare: { rows: 0, label: 0 }, segmentValues: 0, variant: 0, cascade: { totalApart: 0, share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0, heightFill: 0 }, labels: ["point"] }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
|
|
@@ -25,10 +25,10 @@ import {
|
|
|
25
25
|
staticFrame,
|
|
26
26
|
valueNote,
|
|
27
27
|
wrapFootnote
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-I3UJHKCS.js";
|
|
29
29
|
import {
|
|
30
30
|
ENGINE_REV
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-CZZXZFYL.js";
|
|
32
32
|
import {
|
|
33
33
|
dateNames
|
|
34
34
|
} from "./chunk-QBR6IKIX.js";
|
|
@@ -40,14 +40,14 @@ import {
|
|
|
40
40
|
parseISODate,
|
|
41
41
|
unitOfSpec,
|
|
42
42
|
utcDate
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-BHO5H4AF.js";
|
|
44
44
|
import {
|
|
45
45
|
chartString,
|
|
46
46
|
chartStrings,
|
|
47
47
|
currencySign,
|
|
48
48
|
localeStrings,
|
|
49
49
|
withLocaleStrings
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5OUURZ2T.js";
|
|
51
51
|
import {
|
|
52
52
|
cellValue
|
|
53
53
|
} from "./chunk-O3VN6BTL.js";
|
|
@@ -105,7 +105,7 @@ import {
|
|
|
105
105
|
textSizeOf,
|
|
106
106
|
unionRect,
|
|
107
107
|
visibleTintAmount
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-4NGKSJBX.js";
|
|
109
109
|
import {
|
|
110
110
|
COLOR_FIX,
|
|
111
111
|
FILL_SEPARATION_FLOOR,
|
|
@@ -119,7 +119,7 @@ import {
|
|
|
119
119
|
parseColor,
|
|
120
120
|
pickInk,
|
|
121
121
|
readsAsLoss
|
|
122
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-6RRK3VFP.js";
|
|
123
123
|
import {
|
|
124
124
|
fmtPathNumber
|
|
125
125
|
} from "./chunk-6IUK6PAH.js";
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
ellipsize,
|
|
138
138
|
hasAuthoredTypeSize,
|
|
139
139
|
wrapText
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-77LQEREO.js";
|
|
141
141
|
import {
|
|
142
142
|
maxOf,
|
|
143
143
|
pushAll
|
|
@@ -429,12 +429,15 @@ var NAMED_PARTS = [
|
|
|
429
429
|
function textRole(node) {
|
|
430
430
|
return node.role !== void 0 && ROLES.has(node.role) ? node.role : node.part === "title" || node.part === "subtitle" || node.part === "source" ? node.part : node.part === "credit" ? "source" : PART_ROLES.get(node.part) ?? "value";
|
|
431
431
|
}
|
|
432
|
-
var CURRENCY_SIGN = "$\u20AC\xA3\xA5\u20B9\u20BD\xA2\u20A9", CURRENCY_CODE = "EUR|USD|GBP|CHF|JPY|CNY|SEK|NOK|DKK|PLN|CZK|HUF|CAD|AUD|NZD|INR|BRL|MXN|ZAR|SGD|HKD|KRW", MAGNITUDE = "(?:k|K|m|M|bn|Bn|BN|b|B|t|T|Mio|Mrd)", CURRENCY = `(?:[${CURRENCY_SIGN}]|(?:${CURRENCY_CODE})\\b)`, DIGITS = "\\p{Nd}[\\p{Nd}.,'\u2019\xA0\u202F\u066B\u066C\u060C ]*", SIGN = "[+\\-\u2013\u2212\u061C\u200E\u200F]*", PERCENT = "(?:%|\u066A|\u2030|pp|x|\xD7)", ONE_NUMBER = `${SIGN}\\s?${CURRENCY}?\\s?${SIGN}${DIGITS}${MAGNITUDE}?\\s?${PERCENT}?[\u061C\u200E\u200F]?\\s?${CURRENCY}?\\s?${MAGNITUDE}?`, NUMBER_ALONE = new RegExp(`^${ONE_NUMBER}$`, "u"), NUMBER_PLACEHOLDER = /^(?:n\/a|n\.m\.|[-–—])
|
|
432
|
+
var CURRENCY_SIGN = "$\u20AC\xA3\xA5\u20B9\u20BD\xA2\u20A9", CURRENCY_CODE = "EUR|USD|GBP|CHF|JPY|CNY|SEK|NOK|DKK|PLN|CZK|HUF|CAD|AUD|NZD|INR|BRL|MXN|ZAR|SGD|HKD|KRW", MAGNITUDE = "(?:k|K|m|M|bn|Bn|BN|b|B|t|T|Mio|Mrd)", CURRENCY = `(?:[${CURRENCY_SIGN}]|(?:${CURRENCY_CODE})\\b)`, DIGITS = "\\p{Nd}[\\p{Nd}.,'\u2019\xA0\u202F\u066B\u066C\u060C ]*", SIGN = "[+\\-\u2013\u2212\u061C\u200E\u200F]*", PERCENT = "(?:%|\u066A|\u2030|pp|x|\xD7)", ONE_NUMBER = `${SIGN}\\s?${CURRENCY}?\\s?${SIGN}${DIGITS}${MAGNITUDE}?\\s?${PERCENT}?[\u061C\u200E\u200F]?\\s?${CURRENCY}?\\s?${MAGNITUDE}?`, NUMBER_ALONE = new RegExp(`^${ONE_NUMBER}$`, "u"), NUMBER_PLACEHOLDER = /^(?:n\/a|n\.m\.|[-–—])$/, SIMPLE_FIGURE = /^[+−–-]?[0-9][0-9.,]*%?$/, NUMBER_START = new RegExp(`^[\\sA-Z${CURRENCY_SIGN}+\\-\u2013\u2212\u061C\u200E\u200F\\p{Nd}]`, "u");
|
|
433
|
+
function numberPart(text) {
|
|
434
|
+
return SIMPLE_FIGURE.test(text) || NUMBER_START.test(text) && NUMBER_ALONE.test(text);
|
|
435
|
+
}
|
|
433
436
|
function isNumberAlone(text) {
|
|
434
437
|
let trimmed = text.replace(/\s+/g, " ").trim();
|
|
435
438
|
if (trimmed === "" || NUMBER_PLACEHOLDER.test(trimmed)) return !0;
|
|
436
439
|
let open = trimmed.indexOf("(");
|
|
437
|
-
return open < 0 ?
|
|
440
|
+
return open < 0 ? numberPart(trimmed) : trimmed.endsWith(")") ? numberPart(trimmed.slice(open + 1, -1)) && (open === 0 || numberPart(trimmed.slice(0, open).trimEnd())) : !1;
|
|
438
441
|
}
|
|
439
442
|
function composedTextRole(text, prose = "caption") {
|
|
440
443
|
return isNumberAlone(text) ? "value" : prose;
|
|
@@ -651,9 +654,9 @@ function solveLabelPass(requests, occupied, ctx) {
|
|
|
651
654
|
req.leaderAvoidsLabels && label.leader && !moved.includes(label.id) && leaderRuns.push(...leaderPieces(label.leader.d, 64));
|
|
652
655
|
}, onLeader = (rect, padding) => leaderRuns.some(([a, b]) => segmentHitsRect(a, b, rect, padding));
|
|
653
656
|
for (let queued of order) {
|
|
654
|
-
let runClear = (from, to) => occupied.hitsWhich({ x: from.x - 0.5, y: Math.min(from.y, to) + 0.5, w: 1, h: Math.max(0, Math.abs(to - from.y) - 1) }, 0).every((o) => o.kind !== "mark" || isOwnMark(o.owner, queued.owner, queued.kind, o.part)), req = withLiftLeaders(queued, ownedPoint(queued), runClear), slots = req.candidates.map((c) => c.slot), first = req.candidates[0], markValue = isMarkValue(req), naturals = naturalSeats(req), withinMarkBand = (cand) => {
|
|
657
|
+
let runClear = (from, to) => occupied.hitsWhich({ x: from.x - 0.5, y: Math.min(from.y, to) + 0.5, w: 1, h: Math.max(0, Math.abs(to - from.y) - 1) }, 0).every((o) => o.kind !== "mark" || isOwnMark(o.owner, queued.owner, queued.kind, o.part)), req = withLiftLeaders(queued, ownedPoint(queued), runClear), slots = req.candidates.map((c) => c.slot), first = req.candidates[0], markValue = isMarkValue(req), naturals = markValue ? naturalSeats(req) : void 0, withinMarkBand = (cand) => {
|
|
655
658
|
if (!markValue || cand.outsidePlot || req.kind === "point" && req.anchor && /^(right|left)(Step[+-]?\d+)?$/.test(cand.slot)) return !0;
|
|
656
|
-
let side = sideOf2(cand.slot), natural = side ? naturals
|
|
659
|
+
let side = sideOf2(cand.slot), natural = side ? naturals?.get(side) : void 0;
|
|
657
660
|
if (/Shifted|Step/.test(cand.slot)) {
|
|
658
661
|
let slack = 2 * (cand.rect.h + 4);
|
|
659
662
|
if (!(side === "side" ? cand.rect.y >= ctx.plot.y - slack && cand.rect.y + cand.rect.h <= ctx.plot.y + ctx.plot.h + slack : rectContains({ x: ctx.plot.x, y: ctx.plot.y - slack, w: ctx.plot.w, h: ctx.plot.h + 2 * slack }, cand.rect, 0))) return !1;
|
|
@@ -1270,7 +1273,10 @@ function valueEdgeToward(value, text) {
|
|
|
1270
1273
|
};
|
|
1271
1274
|
}
|
|
1272
1275
|
function leaderCrossesLabel(d, occupied) {
|
|
1273
|
-
return leaderPieces(d, 32).some(([a, b]) =>
|
|
1276
|
+
return leaderPieces(d, 32).some(([a, b]) => {
|
|
1277
|
+
let rect = { x: Math.min(a.x, b.x), y: Math.min(a.y, b.y), w: Math.abs(b.x - a.x), h: Math.abs(b.y - a.y) }, crosses = (claim) => claim.kind === "label" && segmentHitsRect(a, b, claim.rect);
|
|
1278
|
+
return occupied.some ? occupied.some(rect, 0, crosses) : occupied.hitsWhich(rect, 0).some(crosses);
|
|
1279
|
+
});
|
|
1274
1280
|
}
|
|
1275
1281
|
function leadersOffAnchorValues(labels, anchors, occupied) {
|
|
1276
1282
|
for (let label of labels) {
|
|
@@ -3498,10 +3504,15 @@ function keyRowStarts(widths, headings, rowW) {
|
|
|
3498
3504
|
return walk(0, rows, [], 0), best ? widths.map((_, i) => best.cuts.includes(i)) : starts;
|
|
3499
3505
|
}
|
|
3500
3506
|
var KEY_NOTE_GAP = 8;
|
|
3507
|
+
function collectFrameClaims(claims) {
|
|
3508
|
+
return { claim(rect, kind, owner) {
|
|
3509
|
+
claims.push({ rect: { ...rect }, kind, owner });
|
|
3510
|
+
} };
|
|
3511
|
+
}
|
|
3501
3512
|
function solveFrame(input, occupied) {
|
|
3502
3513
|
input[CUT_LABEL_NOTES]?.length && (input = { ...input, footnotes: [...input.footnotes ?? [], ...input[CUT_LABEL_NOTES]] });
|
|
3503
|
-
let destination = occupied;
|
|
3504
|
-
|
|
3514
|
+
let destination = occupied, pendingClaims = input.autoHeight ? [] : void 0;
|
|
3515
|
+
pendingClaims && (occupied = collectFrameClaims(pendingClaims)), input[COLLECT_IDENTITIES]?.([...input.legend?.items ?? [], ...input.eventKey?.legend ?? []]);
|
|
3505
3516
|
let { size, margin, theme, measure } = input, tokens = input.cardGaps ? (
|
|
3506
3517
|
// The compact card frame's own gaps (see FrameInput.cardGaps).
|
|
3507
3518
|
{
|
|
@@ -3764,8 +3775,8 @@ function solveFrame(input, occupied) {
|
|
|
3764
3775
|
bottomY -= block.height, moved.set(block.node.y, bottomY), block.node.y = bottomY, bottomY -= block.gap;
|
|
3765
3776
|
frame.footerRect && (liveFooterH > size.height - margin.bottom - bottomY + 0.01 && (bottomY = size.height - margin.bottom - liveFooterH), bottomY = hitRoom(bottomY), frame.footerRect.y = bottomY, frame.footerRect.h = size.height - margin.bottom - bottomY, bottomY -= footGap), legendGeom && legendInput?.options.position === "bottom" && (drawBottomLegend(bottomY), legendGeom.rect.y = bottomY - legendGeom.rect.h, bottomY -= legendBand), plot.h = Math.max(MIN_PLOT_H, bottomY - topY);
|
|
3766
3777
|
}
|
|
3767
|
-
if (
|
|
3768
|
-
dy !== 0 && claim.kind === "frame" && moved.has(claim.rect.y) && (claim.rect.y = moved.get(claim.rect.y)), dy !== 0 && claim.kind === "legend" && legendInput?.options.position === "bottom" && claim.rect.y === legendY && (claim.rect.y = legendGeom.rect.y), destination.claim(claim.rect, claim.kind, claim.owner
|
|
3778
|
+
if (pendingClaims) for (let claim of pendingClaims)
|
|
3779
|
+
dy !== 0 && claim.kind === "frame" && moved.has(claim.rect.y) && (claim.rect.y = moved.get(claim.rect.y)), dy !== 0 && claim.kind === "legend" && legendInput?.options.position === "bottom" && claim.rect.y === legendY && (claim.rect.y = legendGeom.rect.y), destination.claim(claim.rect, claim.kind, claim.owner);
|
|
3769
3780
|
frame.plotRect = { ...plot }, frameChrome.set(frame, topY + size.height - bottomY);
|
|
3770
3781
|
let deficit = Math.max(MIN_PLOT_H - (bottomY - topY), rightLegendBottom > 0 ? rightLegendBottom - bottomY : -1 / 0);
|
|
3771
3782
|
return frame.minHeight = size.height + deficit, warnings.length > 0 && (frame.warnings = warnings), { plot, nodes, frame, legend: legendGeom, ...deficit > 0 ? { deficit } : {}, ...legendBand > 0 ? { legendBand } : {} };
|
|
@@ -4213,6 +4224,7 @@ export {
|
|
|
4213
4224
|
textCarriesUnit,
|
|
4214
4225
|
textCarriesCohortUnit,
|
|
4215
4226
|
stringsIn,
|
|
4227
|
+
collectFrameClaims,
|
|
4216
4228
|
solveFrame,
|
|
4217
4229
|
readDateFormat,
|
|
4218
4230
|
formatDate,
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5LUHGXXE.js";
|
|
6
6
|
import {
|
|
7
7
|
optionKeyCheck
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-35JGEMCK.js";
|
|
12
12
|
import {
|
|
13
13
|
ganttCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-GA7CIH6N.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D2I2BUR6.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/gantt.ts
|
|
20
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, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, calendar: { weeks: 0, span: 0 }, colHeaders: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
annotationSchema,
|
|
4
4
|
diagnosedSafeParse,
|
|
5
5
|
refusalSuggest
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
7
7
|
import {
|
|
8
8
|
ownedDocumentCopy
|
|
9
9
|
} from "./chunk-U52PNFPX.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZBOOMLHD.js";
|
|
13
13
|
import {
|
|
14
14
|
timeAnnotationAnchors
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FXQH2QJN.js";
|
|
16
16
|
import {
|
|
17
17
|
allowedValues,
|
|
18
18
|
expectedTypes,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
EMPTY_DATA,
|
|
40
40
|
isEmptyDataIssue
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BFHAYXUU.js";
|
|
42
42
|
import {
|
|
43
43
|
canonicalChartType,
|
|
44
44
|
caseInsensitiveValue,
|
|
@@ -47,13 +47,13 @@ import {
|
|
|
47
47
|
inputConversion,
|
|
48
48
|
replaceInputValue,
|
|
49
49
|
unsupported
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
51
51
|
import {
|
|
52
52
|
retireChartSettings
|
|
53
53
|
} from "./chunk-JF743NNC.js";
|
|
54
54
|
import {
|
|
55
55
|
literalColor
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-6RRK3VFP.js";
|
|
57
57
|
import {
|
|
58
58
|
normalizeOptionShapes,
|
|
59
59
|
optionShape
|
package/dist/cli/index.js
CHANGED
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
// src/cli/index.ts
|
|
4
4
|
import module from "module";
|
|
5
5
|
module.enableCompileCache?.();
|
|
6
|
-
var { main } = await import("../main-
|
|
6
|
+
var { main } = await import("../main-V264O3WR.js"), { parseFlags } = await import("../flags-BVLSAXT3.js"), args = process.argv.slice(2);
|
|
7
7
|
args[0] === "fonts" && await (await import("../fontTables-JUW7ZTQY.js")).loadFontReader();
|
|
8
|
-
var { drawsPng, loadRasterFonts } = await import("../resvg-
|
|
8
|
+
var { drawsPng, loadRasterFonts } = await import("../resvg-M5HJ3ME3.js"), flags;
|
|
9
9
|
try {
|
|
10
10
|
flags = parseFlags(args[0], args.slice(1));
|
|
11
11
|
} catch {
|