boardplot 0.59.0 → 0.61.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 +64 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-4PNFZO56.js → ReaderBox-75LYQMSA.js} +3 -3
- package/dist/{annotateEngine-DL4KRQ6B.js → annotateEngine-CL6ZSRGG.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-7UZUXPFM.js → chunk-24O6BRKD.js} +1 -1
- package/dist/{chunk-HC4UW7MB.js → chunk-2BF6HZV7.js} +4 -4
- package/dist/chunk-2KGF6AIK.js +1483 -0
- package/dist/{chunk-RF6ZHX5F.js → chunk-2T22INLD.js} +1 -1
- package/dist/{chunk-3WFJDXZO.js → chunk-2X6672YL.js} +4 -4
- package/dist/{chunk-LC4KDLUE.js → chunk-32FGSRR3.js} +4 -4
- package/dist/{chunk-MOBRWYUQ.js → chunk-352V2W5P.js} +2 -2
- package/dist/{chunk-FWPPZB4G.js → chunk-3553PK6F.js} +2 -2
- package/dist/{chunk-XUEX5WTR.js → chunk-35RSAHLK.js} +1 -1
- package/dist/{chunk-E4KHHC46.js → chunk-36KGPRMX.js} +9 -9
- package/dist/{chunk-BOUZKVIY.js → chunk-3GL23VOF.js} +31 -3
- package/dist/{chunk-SNJ3FZXC.js → chunk-4ORV4RGE.js} +5 -5
- package/dist/chunk-4ZIFMZO4.js +63 -0
- package/dist/{chunk-FMVXXKSW.js → chunk-533SNVDD.js} +4 -4
- package/dist/{chunk-UZDQFUHO.js → chunk-55BVHNZQ.js} +4 -4
- package/dist/{chunk-JRM22ULA.js → chunk-56PPEORW.js} +52 -28
- package/dist/{chunk-DUDVHQD6.js → chunk-57XHIICM.js} +5 -5
- package/dist/{chunk-EJA5EANI.js → chunk-5DH5ACTO.js} +90 -83
- package/dist/{chunk-4EEK4AMC.js → chunk-5EU5DLA3.js} +2 -2
- package/dist/{chunk-XFDNAR4S.js → chunk-5JZQXMXU.js} +6 -6
- package/dist/{chunk-MTOBNHAU.js → chunk-5ZGCGIHG.js} +2 -2
- package/dist/{chunk-PHQGGR5O.js → chunk-64577PGJ.js} +4 -4
- package/dist/{chunk-GZYMHC44.js → chunk-6JOLPUTW.js} +2 -2
- package/dist/{chunk-MYBBZNYN.js → chunk-6QUQEN75.js} +2 -2
- package/dist/{chunk-OM5MAJST.js → chunk-6R6LM337.js} +12 -12
- package/dist/{chunk-UKEI7JDA.js → chunk-6U4J3T2G.js} +3 -2
- package/dist/{chunk-NZGQLR4X.js → chunk-6U7VIQLV.js} +6 -6
- package/dist/{chunk-ZNA4JHHG.js → chunk-757IKZZU.js} +2 -2
- package/dist/{chunk-V3XYFLOZ.js → chunk-7D65YEEY.js} +4 -4
- package/dist/{chunk-XWUHUTXX.js → chunk-7JM235F7.js} +8 -8
- package/dist/{chunk-4YZQY3AA.js → chunk-7SSN5ECA.js} +1 -1
- package/dist/{chunk-DZBT7AWJ.js → chunk-7WC2N4QZ.js} +2 -2
- package/dist/{chunk-ZOQRX5V7.js → chunk-7ZHM37LQ.js} +3 -3
- package/dist/{chunk-HW67YGJC.js → chunk-7ZPHJOG6.js} +1 -1
- package/dist/{chunk-MZCJ22O4.js → chunk-A4UL5GIM.js} +1 -1
- package/dist/{chunk-XUGEYHOQ.js → chunk-ASRICUAD.js} +2 -2
- package/dist/{chunk-XZBX6LIC.js → chunk-B62SEOJC.js} +6 -6
- package/dist/{chunk-WD5NJHZG.js → chunk-B76O5YXI.js} +1 -1
- package/dist/{chunk-RF2REMRV.js → chunk-BF6KECQD.js} +6 -6
- package/dist/{chunk-5HOIOQK3.js → chunk-BJ5GI5ZB.js} +1 -1
- package/dist/{chunk-XAH4EWJT.js → chunk-BKUTKQMT.js} +38 -2
- package/dist/chunk-BOQQARLT.js +89 -0
- package/dist/{chunk-VVWTD4XP.js → chunk-BVE5LPOA.js} +4 -4
- package/dist/{chunk-BJJYNTVJ.js → chunk-CVUHCNQO.js} +1 -1
- package/dist/{chunk-WTWM4RK6.js → chunk-CWP5ZYVQ.js} +1 -1
- package/dist/{chunk-W4ZLMK6Z.js → chunk-CYMSES53.js} +1 -1
- package/dist/{chunk-B5FT4YAX.js → chunk-DOVEWKJ6.js} +1 -1
- package/dist/{chunk-4DLIXTDH.js → chunk-E6IN6QDF.js} +5 -5
- package/dist/{chunk-6TZDPQDE.js → chunk-E7FWHKCI.js} +14 -7
- package/dist/{chunk-USATDW6O.js → chunk-EAMZDY55.js} +1 -1
- package/dist/{chunk-7UUSHA7H.js → chunk-EIQTUVJT.js} +1 -1
- package/dist/{chunk-56CDMSE5.js → chunk-EKYVRXTE.js} +1 -1
- package/dist/{chunk-GDE2JINW.js → chunk-EL5E6O3K.js} +7 -7
- package/dist/{chunk-QMQZC2KW.js → chunk-EM33NXGZ.js} +2 -2
- package/dist/{chunk-3V7Y7CHI.js → chunk-EOPDGMDS.js} +1 -1
- package/dist/{chunk-PSUSHJFV.js → chunk-EQDLZGZO.js} +1 -1
- package/dist/{chunk-5YULK4DY.js → chunk-ESZIJ5Z6.js} +3 -3
- package/dist/chunk-EU45YU5W.js +96 -0
- package/dist/{chunk-O32L5FK2.js → chunk-EV3GY7Y3.js} +4 -4
- package/dist/{chunk-TLKRYDH3.js → chunk-EV7AATQM.js} +2 -2
- package/dist/{chunk-XRPZJDAK.js → chunk-EWG3PCYJ.js} +72 -1188
- package/dist/{chunk-M2FF4IPF.js → chunk-F2IHSUPI.js} +2 -2
- package/dist/{chunk-RPS7G77V.js → chunk-F2WMTUWC.js} +2 -2
- package/dist/{chunk-7TZIPGFH.js → chunk-F37PADCM.js} +2 -2
- package/dist/{chunk-SE6LBMRJ.js → chunk-FBUAKQAI.js} +25 -23
- package/dist/{chunk-77L6QGIG.js → chunk-FKRL2ZB2.js} +1 -1
- package/dist/{chunk-MF6XGFHB.js → chunk-FNDDKZ4Z.js} +6 -2
- package/dist/{chunk-IX2SLULO.js → chunk-FTIQ6TI2.js} +2 -2
- package/dist/{chunk-YM4MVABU.js → chunk-FY3VV7TF.js} +5 -4
- package/dist/{chunk-VT6PDWUA.js → chunk-G3CVCW5K.js} +81 -79
- package/dist/{chunk-TEZWFQB7.js → chunk-GCZHZVNX.js} +6 -6
- package/dist/{chunk-GNK7RTO4.js → chunk-GEQSZ5RE.js} +4 -4
- package/dist/{chunk-QKDDGDRF.js → chunk-GNB4JQTB.js} +10 -10
- package/dist/{chunk-W6NEWQZU.js → chunk-GRMAYSIG.js} +8 -8
- package/dist/{chunk-PZZAVTLQ.js → chunk-GSR6UO7H.js} +2 -2
- package/dist/{chunk-AH2L44TR.js → chunk-GZ6MPJKY.js} +3 -3
- package/dist/{chunk-POHML4N4.js → chunk-H26UA4UM.js} +6 -6
- package/dist/{chunk-VZVPN7NT.js → chunk-H5YDEIY2.js} +4 -4
- package/dist/{chunk-EADD6NNQ.js → chunk-HS4DLZ6H.js} +17 -12
- package/dist/{chunk-XLX3TUFO.js → chunk-HTLEHU5D.js} +2 -2
- package/dist/{chunk-JYSS5ZZF.js → chunk-HUCUNGHB.js} +5 -5
- package/dist/{chunk-FP3ORYCG.js → chunk-I3GRAQHO.js} +9 -9
- package/dist/{chunk-2GVW5WDD.js → chunk-I4A4MY3S.js} +4 -4
- package/dist/{chunk-XGTSZ7NC.js → chunk-IIKM6NXU.js} +4 -4
- package/dist/{chunk-AVYRC2T3.js → chunk-IKH3DWS2.js} +11 -11
- package/dist/{chunk-U4WG46QP.js → chunk-IKTAVMF2.js} +31 -15
- package/dist/{chunk-7BQK2UDV.js → chunk-IXCDKCYE.js} +1 -1
- package/dist/{chunk-IXZI4SN4.js → chunk-JE54IO26.js} +15 -15
- package/dist/{chunk-TCWJQIVQ.js → chunk-JEAUVQTV.js} +65 -29
- package/dist/{chunk-RYYB7REV.js → chunk-JG35YUYX.js} +3 -3
- package/dist/{chunk-X3AMBFGF.js → chunk-JIVNJBXI.js} +4 -4
- package/dist/{chunk-7YJSSPQX.js → chunk-JLJ4QRAE.js} +12 -12
- package/dist/{chunk-6IIYLDSQ.js → chunk-JLZFXNUE.js} +4 -4
- package/dist/{chunk-B7UWG6XJ.js → chunk-JTCXK7AG.js} +1 -1
- package/dist/{chunk-NWUEA42V.js → chunk-JUTMQGKU.js} +4 -4
- package/dist/{chunk-5OV7VOGV.js → chunk-JXHTZVSV.js} +2 -2
- package/dist/{chunk-SDAVHADX.js → chunk-JZK6ZPUM.js} +2 -2
- package/dist/{chunk-VHZ4MXJO.js → chunk-K2RZKPQ2.js} +1 -1
- package/dist/{chunk-NUASZPS7.js → chunk-KJF7SLOA.js} +1 -1
- package/dist/{chunk-KRIYGX3N.js → chunk-KTFUYWN2.js} +5 -5
- package/dist/{chunk-O623CYPA.js → chunk-KY5MSTME.js} +4 -4
- package/dist/{chunk-5ACFYNA4.js → chunk-KZKWDFIS.js} +4 -0
- package/dist/{chunk-ID5PE4KM.js → chunk-L5RZFP5B.js} +3 -3
- package/dist/{chunk-U75MMLNQ.js → chunk-L6OMA45Q.js} +4 -4
- package/dist/{chunk-LLECS747.js → chunk-LEPXK7RN.js} +2 -2
- package/dist/{chunk-4YKS2JDE.js → chunk-LFL4KMKF.js} +1 -1
- package/dist/{chunk-5UXK5BAA.js → chunk-LH5URXDJ.js} +10 -10
- package/dist/{chunk-33SPSKTP.js → chunk-LHQFDRQV.js} +4 -4
- package/dist/{chunk-TMVERETB.js → chunk-LL7ZU6BT.js} +12 -12
- package/dist/{chunk-GEEHXLFQ.js → chunk-LLHCEZV2.js} +110 -86
- package/dist/{chunk-YJXIHVNK.js → chunk-LMDU5MNF.js} +2 -2
- package/dist/{chunk-GWDKUKOJ.js → chunk-LT7IY2L3.js} +7 -7
- package/dist/{chunk-RSDGBNXP.js → chunk-LTYDEWKW.js} +3 -3
- package/dist/{chunk-NIL6TYAN.js → chunk-M2LYZUQA.js} +10 -7
- package/dist/{chunk-IQRRT32Q.js → chunk-M4IIJ24E.js} +2 -2
- package/dist/{chunk-VMLVZW4F.js → chunk-MBRVSKFJ.js} +6 -6
- package/dist/{chunk-AGR4VJ2Y.js → chunk-MM2ADIPB.js} +1 -1
- package/dist/{chunk-LM4GVVPM.js → chunk-MNPNLXSI.js} +3 -3
- package/dist/{chunk-VLMKGQ33.js → chunk-MNVMTW7K.js} +11 -11
- package/dist/{chunk-P3N74SZ5.js → chunk-MYYDNK72.js} +4 -4
- package/dist/{chunk-AFQZBCME.js → chunk-NCKINI7K.js} +2 -2
- package/dist/{chunk-4WH2YGO6.js → chunk-NHQKHMIS.js} +4 -4
- package/dist/{chunk-E62SXDRT.js → chunk-NJKUODK3.js} +1 -1
- package/dist/{chunk-HBKZC5BH.js → chunk-NJVXE2DU.js} +2 -2
- package/dist/{chunk-MOPY5REE.js → chunk-NNOKYAFB.js} +3 -3
- package/dist/{chunk-JIB74SQS.js → chunk-NSQBT4CM.js} +4 -4
- package/dist/{chunk-HFDU2E7C.js → chunk-NWJ4DXAZ.js} +11 -11
- package/dist/{chunk-JOX252XQ.js → chunk-OGD23BIK.js} +3 -1
- package/dist/{chunk-WTH3KQDM.js → chunk-OIMT2SSN.js} +2 -2
- package/dist/{chunk-6CZGFTGK.js → chunk-OIPBVU7G.js} +11 -11
- package/dist/chunk-OLAPTOUH.js +69 -0
- package/dist/{chunk-I65BCUVH.js → chunk-OLEUVUH3.js} +4 -4
- package/dist/{chunk-XMII3G47.js → chunk-OP7K5NSS.js} +4 -4
- package/dist/{chunk-GGFT6IIM.js → chunk-OQKVFWAO.js} +4 -4
- package/dist/{chunk-F2N5BUBK.js → chunk-OR7KKODW.js} +9 -9
- package/dist/{chunk-YOUYJHW3.js → chunk-OUSYBIGE.js} +4 -4
- package/dist/{chunk-DEJ27Y2P.js → chunk-OYCEFOIW.js} +54 -26
- package/dist/{chunk-DANKUHCX.js → chunk-P2QIWGFU.js} +9 -9
- package/dist/{chunk-4LCQO46F.js → chunk-P3CZFAFA.js} +79 -75
- package/dist/{chunk-2HRDOBPS.js → chunk-P3TOPI3M.js} +1 -1
- package/dist/{chunk-DXLWMK24.js → chunk-PCHV6KYJ.js} +3 -3
- package/dist/{chunk-YRCIG4IO.js → chunk-PGKGK43I.js} +112 -24
- package/dist/{chunk-FBIMTKYK.js → chunk-PH274WAF.js} +3 -3
- package/dist/{chunk-266ENWFM.js → chunk-QER2YJHC.js} +4 -4
- package/dist/{chunk-XETSLYFD.js → chunk-QJPI55S5.js} +4 -4
- package/dist/{chunk-OL6HVC6K.js → chunk-QK2OFTEB.js} +1 -1
- package/dist/{chunk-5AXWSGS7.js → chunk-QSMKLDAO.js} +2 -2
- package/dist/{chunk-UFGJNSSL.js → chunk-R3IPQHWC.js} +1 -1
- package/dist/{chunk-IXOBDDMW.js → chunk-RD24ORGR.js} +2 -0
- package/dist/{chunk-QM6IW5BL.js → chunk-RMBWY5JE.js} +4 -4
- package/dist/{chunk-UGHJHJKY.js → chunk-RT4V47U6.js} +1 -1
- package/dist/{chunk-UI2MKLON.js → chunk-RTSSUQ25.js} +1 -1
- package/dist/{chunk-PP23D6QV.js → chunk-RV6JDD6S.js} +4 -4
- package/dist/{chunk-6TH5NVKS.js → chunk-RXC3XU62.js} +33 -8
- package/dist/{chunk-CV5KCQD3.js → chunk-RZQU5DHD.js} +10 -10
- package/dist/{chunk-Y4BJ7D5F.js → chunk-S7AHPU2N.js} +1 -1
- package/dist/{chunk-67744WKZ.js → chunk-SGTSTGIP.js} +1 -1
- package/dist/{chunk-FB36HSY2.js → chunk-SJORKHHL.js} +5 -5
- package/dist/{chunk-7IONS4Z7.js → chunk-SSVOJXFR.js} +3 -3
- package/dist/{chunk-XVFUJRRC.js → chunk-T2DGSOAH.js} +1 -1
- package/dist/{chunk-EWGFOEJB.js → chunk-T6XSXJDQ.js} +76 -48
- package/dist/{chunk-ZK22I3NF.js → chunk-TB734IYI.js} +4 -4
- package/dist/{chunk-GSHRYDJM.js → chunk-TFYVBPGR.js} +1 -1
- package/dist/{chunk-DYD7W3Y6.js → chunk-THKVAXTQ.js} +43 -26
- package/dist/{chunk-7SIZGM5S.js → chunk-TI5PPS3L.js} +89 -42
- package/dist/{chunk-VTUSC24F.js → chunk-TIVUSWGT.js} +2 -2
- package/dist/{chunk-ICJUN47O.js → chunk-TL5ICZT2.js} +2 -2
- package/dist/{chunk-YPELB4Q7.js → chunk-TS472T4D.js} +4 -4
- package/dist/{chunk-ISMFUWOP.js → chunk-TWMVAPG2.js} +4 -4
- package/dist/{chunk-QDFX2KAP.js → chunk-U2YWY6FH.js} +1 -1
- package/dist/{chunk-XXYV5UEM.js → chunk-UERGJOG4.js} +12 -12
- package/dist/{chunk-X725AGYP.js → chunk-UFKLGMYZ.js} +2 -2
- package/dist/{chunk-SXCFMPNM.js → chunk-UGH3CLTZ.js} +4 -4
- package/dist/{chunk-C26Z5AEW.js → chunk-ULXSTWJF.js} +3 -3
- package/dist/{chunk-IDJVUZAA.js → chunk-USK77VAZ.js} +4 -4
- package/dist/{chunk-ICERP2YF.js → chunk-UXAON5DO.js} +2 -2
- package/dist/{chunk-7ZXIHEZS.js → chunk-V3YQQDR4.js} +4 -4
- package/dist/{chunk-RLX6VODQ.js → chunk-V4XTBNZD.js} +2 -2
- package/dist/{chunk-YJN54OZS.js → chunk-VE6P436Y.js} +12 -12
- package/dist/{chunk-BXZNLMMH.js → chunk-VFXGAEUO.js} +2 -2
- package/dist/{chunk-XWGAANY4.js → chunk-VITZVVCD.js} +2 -2
- package/dist/{chunk-ADLKZEML.js → chunk-VJAZFGBY.js} +15 -15
- package/dist/{chunk-KWMQNKGX.js → chunk-VR3HLYAT.js} +6 -5
- package/dist/{chunk-UV77Y7QK.js → chunk-W2QJDTAR.js} +2 -2
- package/dist/{chunk-A3SOYL6F.js → chunk-WBIMWGV7.js} +4 -4
- package/dist/{chunk-OTOASFG4.js → chunk-WK6LQCUT.js} +6 -6
- package/dist/{chunk-SBYKLBDV.js → chunk-WOTRCVA5.js} +4 -4
- package/dist/{chunk-EWMPUCIG.js → chunk-WQPMBAG2.js} +37 -37
- package/dist/{chunk-WZNO3LUF.js → chunk-WSHSR3B2.js} +4 -4
- package/dist/{chunk-EH23CIC5.js → chunk-WVYC6MR6.js} +2 -2
- package/dist/{chunk-EZ5KUBYF.js → chunk-WY7FHINS.js} +3 -3
- package/dist/{chunk-4NIIQFDA.js → chunk-X4NDN6PQ.js} +10 -10
- package/dist/{chunk-3ZR7ZE64.js → chunk-XC53YNZG.js} +2 -2
- package/dist/{chunk-TQFBLSZJ.js → chunk-XGJZRPHC.js} +7 -7
- package/dist/{chunk-T4CFY4YT.js → chunk-XLP6U3FG.js} +2 -2
- package/dist/{chunk-2E2MK4XM.js → chunk-XMI7SCPX.js} +2 -2
- package/dist/{chunk-7QUWM5W6.js → chunk-XTECBM5K.js} +3 -3
- package/dist/{chunk-DO7MMF4C.js → chunk-Y7O3T4DF.js} +27 -26
- package/dist/{chunk-NPDF7HEH.js → chunk-YBMYW7LD.js} +1 -1
- package/dist/{chunk-5ZE7SHRM.js → chunk-YO7LCXKN.js} +2 -2
- package/dist/{chunk-AIPOSNVG.js → chunk-YRWJBS6C.js} +1 -1
- package/dist/{chunk-LADFOYH7.js → chunk-YSKLERPF.js} +6 -6
- package/dist/{chunk-OJR5GPCN.js → chunk-YUEJZBME.js} +4 -4
- package/dist/{chunk-3WC2TA6C.js → chunk-YUJK6ZYO.js} +2 -2
- package/dist/{chunk-ZIQR2CNM.js → chunk-YXHSM7QL.js} +5 -5
- package/dist/{chunk-SFRMBCVY.js → chunk-YZW4VLSO.js} +4 -4
- package/dist/{chunk-AUSZDYGE.js → chunk-Z2WGJH2P.js} +3 -3
- package/dist/{chunk-CX7WUNMO.js → chunk-ZMZNMVPR.js} +6 -6
- package/dist/{chunk-5QMM354E.js → chunk-ZT5Q6BRT.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-A2MERE3C.js → core-2IWCOLCX.js} +1 -1
- package/dist/{core-BOU34T23.js → core-2SCAWP7F.js} +2 -1
- package/dist/{core-Y6DJHIYT.js → core-2ZRSLX2J.js} +2 -1
- package/dist/{core-BSEXRZD6.js → core-3H2PZVYN.js} +2 -1
- package/dist/{core-JJLIPTEW.js → core-4SX63YE4.js} +1 -1
- package/dist/{core-FXC4TB2K.js → core-76KPBWTL.js} +1 -1
- package/dist/{core-BOOD7ZUQ.js → core-7LODBY2T.js} +2 -1
- package/dist/{core-AVNB2Q3G.js → core-7PNZRGK7.js} +1 -1
- package/dist/{core-Q4IILTGO.js → core-7RSXZIVD.js} +1 -1
- package/dist/{core-W3UBWZR3.js → core-B7TS5HK6.js} +3 -1
- package/dist/{core-34YTH4KN.js → core-BEBRTX5W.js} +2 -1
- package/dist/{core-CXEEM26F.js → core-CTI37JP5.js} +1 -1
- package/dist/{core-HMS72VO6.js → core-DICZFWV4.js} +1 -1
- package/dist/{core-XYQRB5WF.js → core-DZVYQFBX.js} +2 -1
- package/dist/{core-IYEFTP6C.js → core-E6Q3H52Q.js} +1 -1
- package/dist/{core-MVIK7FAJ.js → core-EQP4ERQK.js} +1 -1
- package/dist/{core-6KO5AEUH.js → core-FZJOKAFE.js} +1 -1
- package/dist/{core-VGMMKEU4.js → core-GGKGWGHO.js} +2 -1
- package/dist/{core-2PT7IROA.js → core-J7ZHSASB.js} +1 -1
- package/dist/{core-YJXOVNIE.js → core-LCX7EK3Y.js} +2 -1
- package/dist/{core-QCPDOQEJ.js → core-LSN2YKO4.js} +1 -1
- package/dist/{core-VWISBHXE.js → core-NL6TMYOZ.js} +1 -1
- package/dist/{core-RVTF336C.js → core-NPCHUGTV.js} +1 -1
- package/dist/{core-MBNVENCZ.js → core-OO22DXBW.js} +1 -1
- package/dist/{core-J2QTOU4D.js → core-QACGDEDF.js} +7 -1
- package/dist/{core-VUVJOMUC.js → core-RZ5ZDSQL.js} +1 -1
- package/dist/{core-N4OKPNXQ.js → core-S56FGRAT.js} +1 -1
- package/dist/{core-YHWVJULU.js → core-SERUDXVA.js} +1 -1
- package/dist/{core-7WLD237S.js → core-UOATHRZG.js} +1 -1
- package/dist/{core-LCP44UYI.js → core-UPPUXBWO.js} +1 -1
- package/dist/{core-IQC6H4A7.js → core-UYTRLCZY.js} +1 -1
- package/dist/{core-I2GPMB2B.js → core-V55HGH7X.js} +1 -1
- package/dist/{core-B7KOBTRL.js → core-W5WF7FHA.js} +7 -1
- package/dist/{core-BQ2I77OF.js → core-XINQIYQ6.js} +1 -1
- package/dist/{core-EHMPBG6Q.js → core-Y3WI32MB.js} +4 -1
- package/dist/{core-4ZEVWU43.js → core-ZFXHFRWI.js} +3 -1
- package/dist/{core-64EHPUVV.js → core-ZYLCLTFQ.js} +1 -1
- package/dist/{dataTable-3ZK3ZEZP.js → dataTable-72HO6PCW.js} +2 -2
- package/dist/{engine-FSWLRWZR.js → engine-UCMXMWGA.js} +26 -13
- package/dist/fixtures.js +1 -1
- package/dist/index.js +12 -12
- package/dist/{main-NYMXWJGJ.js → main-NS5NPNQ7.js} +6 -6
- package/dist/mcp/server.js +11 -11
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +2 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +1 -1
- package/dist/react/column.js +2 -1
- package/dist/react/combo.js +7 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +1 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +15 -15
- package/dist/react/funnel.js +1 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +1 -1
- package/dist/react/heatmap.js +1 -1
- package/dist/react/histogram.js +2 -1
- package/dist/react/index.js +83 -83
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +1 -1
- package/dist/react/mekko.js +2 -1
- package/dist/react/pareto.js +5 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +20 -20
- package/dist/react/pvm.js +2 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +1 -1
- package/dist/react/slope.js +2 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +8 -8
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +1 -1
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +2 -2
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +2 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +2 -1
- package/dist/{rowsModule-43LCK2Q7.js → rowsModule-QGCXTE6X.js} +1 -1
- package/dist/{schema-NNNG7CWG.js → schema-2BFNQ5GW.js} +1 -1
- package/dist/{schema-VH4AW62Z.js → schema-2XGHH7PU.js} +1 -1
- package/dist/{schema-KWCIIIGP.js → schema-3IXLM7X4.js} +1 -1
- package/dist/{schema-LDF6HORS.js → schema-4SRLAXUP.js} +1 -1
- package/dist/{schema-IYLRZNFB.js → schema-6PLNMFVY.js} +1 -1
- package/dist/{schema-FPDLOIA6.js → schema-6WNG4LCV.js} +1 -1
- package/dist/{schema-A4U4RDKJ.js → schema-7WNRP7FW.js} +1 -1
- package/dist/{schema-IYBZPCM4.js → schema-7XQMEJII.js} +1 -1
- package/dist/{schema-LGYHJPXU.js → schema-AGKSRVXN.js} +1 -1
- package/dist/{schema-FQWENOJY.js → schema-AMIFJ2JX.js} +1 -1
- package/dist/{schema-SQ2GYLMI.js → schema-BK2TU6XT.js} +1 -1
- package/dist/{schema-AM2KS6ZC.js → schema-C3PYINCY.js} +1 -1
- package/dist/{schema-D3ELHESU.js → schema-CWOPBOK4.js} +1 -1
- package/dist/{schema-FBIEOKO2.js → schema-E2WWDYU5.js} +1 -1
- package/dist/{schema-LX4EXDTI.js → schema-EAYC5DVH.js} +1 -1
- package/dist/{schema-GTLGAPCU.js → schema-ENLWEZOI.js} +1 -1
- package/dist/{schema-HAMPGUH3.js → schema-ETH6WXZU.js} +1 -1
- package/dist/{schema-CBLNGK2F.js → schema-FOBGNU5I.js} +1 -1
- package/dist/{schema-GYVYJEL3.js → schema-FSX7WR7M.js} +1 -1
- package/dist/{schema-5SVPR3EU.js → schema-G6KGEQRD.js} +1 -1
- package/dist/{schema-SUDJBIHX.js → schema-GAUZZRA4.js} +1 -1
- package/dist/{schema-2ACHQTR3.js → schema-GFRB4BJW.js} +1 -1
- package/dist/{schema-KBV2JB2A.js → schema-GQPXSWIR.js} +1 -1
- package/dist/{schema-WDKBCN3V.js → schema-JJIXQIBN.js} +1 -1
- package/dist/{schema-C25ECGJL.js → schema-JKZBRZSI.js} +1 -1
- package/dist/{schema-4YIYGGOJ.js → schema-MCA4J2BP.js} +1 -1
- package/dist/{schema-P2JYSV32.js → schema-MM7JPYI7.js} +1 -1
- package/dist/{schema-GUDG343K.js → schema-O5HGNE3W.js} +2 -2
- package/dist/{schema-YVBUY7NH.js → schema-OIY565PO.js} +1 -1
- package/dist/{schema-TRPPZCIR.js → schema-PVUWOLUB.js} +1 -1
- package/dist/{schema-PAKZIYQF.js → schema-RRZXOF5G.js} +1 -1
- package/dist/{schema-4HGZZNUL.js → schema-UEZQN4WK.js} +1 -1
- package/dist/{schema-GYTWCCNA.js → schema-WWWWEQAR.js} +1 -1
- package/dist/{schema-3LRC5TOZ.js → schema-XQSP5QAX.js} +1 -1
- package/dist/{schema-UNYDUIL5.js → schema-YUMFWHIE.js} +1 -1
- package/dist/{schema-5OLQ54J5.js → schema-ZBIIPJAI.js} +1 -1
- package/dist/{schema-YCKUQ3FF.js → schema-ZFUX3UIO.js} +1 -1
- package/dist/{specValidation-FKHSTMMR.js → specValidation-5AI56FM3.js} +1 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-G7UZX6GJ.js → themeShapeRules-GGBYWZY7.js} +1 -1
- package/dist/types/core/annotate.d.ts +12 -3
- package/dist/types/core/annotateFields.d.ts +36 -1
- package/dist/types/core/annotateTargets.d.ts +2 -0
- package/dist/types/core/types/data.d.ts +6 -0
- package/dist/types/core/types/options.d.ts +4 -0
- package/dist/types/core/types/theme.d.ts +17 -2
- package/dist/types/react/hover/engine.d.ts +5 -1
- package/dist/types/react/hover/labelCard.d.ts +33 -2
- package/dist/types/theme.d.ts +1 -1
- package/dist/validate.js +5 -5
- package/docs/manual.md +1 -1
- package/docs/reference/bar.md +2 -2
- package/docs/reference/bullet.md +6 -4
- package/docs/reference/butterfly.md +1 -1
- package/docs/reference/column.md +2 -2
- package/docs/reference/combo.md +2 -2
- package/docs/reference/dot.md +2 -2
- package/docs/reference/fixtures.md +2 -0
- package/docs/reference/grid.md +2 -2
- package/docs/reference/heatmap.md +1 -1
- package/docs/reference/line.md +2 -2
- package/docs/reference/mekko.md +2 -2
- package/docs/reference/options.md +3 -1
- package/docs/reference/pvm.md +1 -1
- package/docs/reference/react.md +7 -3
- package/docs/reference/scatter.md +1 -1
- package/docs/reference/slope.md +2 -2
- package/docs/reference/sparkline.md +1 -0
- package/docs/reference/table.md +1 -1
- package/docs/reference/theme.md +2 -0
- package/docs/reference/variance.md +1 -1
- package/docs/reference/warnings.md +3 -2
- package/docs/reference/waterfall.md +6 -4
- package/package.json +1 -1
- package/dist/chunk-CDZHNLO6.js +0 -42
- package/dist/chunk-GIJM4MP4.js +0 -272
- package/dist/chunk-J6LGZPKI.js +0 -89
- package/dist/chunk-QPWRHDLZ.js +0 -17
- package/dist/chunk-REIIGIJG.js +0 -123
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-EB4PQEI3.js";
|
|
6
6
|
import {
|
|
7
7
|
publishRowsModule
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-NJVXE2DU.js";
|
|
9
9
|
|
|
10
10
|
// src/react/rowsModule.ts
|
|
11
11
|
var dotted = (pointer) => pointer.replace(/^\//, "").split("/").map((part) => part.replace(/~1/g, "/").replace(/~0/g, "~")).join(".");
|
|
@@ -2,22 +2,22 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IXCDKCYE.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-36KGPRMX.js";
|
|
12
12
|
import {
|
|
13
13
|
paretoCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5JZQXMXU.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
import {
|
|
19
19
|
linkAnnotateEngine
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-P3CZFAFA.js";
|
|
21
21
|
|
|
22
22
|
// src/react/charts/pareto.ts
|
|
23
23
|
linkAnnotateEngine();
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-Z6H5ED2I.js";
|
|
4
4
|
import {
|
|
5
5
|
createChartComponent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-36KGPRMX.js";
|
|
7
7
|
import {
|
|
8
8
|
diagramCore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-57XHIICM.js";
|
|
10
10
|
import {
|
|
11
11
|
registeredType
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7SSN5ECA.js";
|
|
13
13
|
|
|
14
14
|
// src/react/charts/diagram.ts
|
|
15
15
|
var checkOptionKeys = optionKeyCheck({ tree: { a11y: { title: 0, description: 0, table: 0 }, target: 0, textScale: 0, textSize: 0, size: { width: 0, height: 0, unit: 0 }, mode: 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 }, 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 }, palette: 0, colorblindSafe: 0, interactive: 0, variant: 0, flow: 0, heightFill: 0, highlight: 0 } }), DiagramChart = createChartComponent(registeredType(diagramCore), checkOptionKeys);
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
chosenValueIndices,
|
|
3
|
-
emitBarMark,
|
|
4
|
-
groupedOffsets,
|
|
5
|
-
pickedValues,
|
|
6
|
-
rangeWhisker,
|
|
7
2
|
scenarioPartners,
|
|
8
3
|
scenarioSlotPaint,
|
|
9
4
|
seriesScenarioRole,
|
|
10
5
|
signColorOverrides,
|
|
11
6
|
signPaint,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
withValueLabelDefaults
|
|
15
|
-
} from "./chunk-GEEHXLFQ.js";
|
|
7
|
+
totalLabelCandidates
|
|
8
|
+
} from "./chunk-EU45YU5W.js";
|
|
16
9
|
import {
|
|
17
10
|
REFERENCE_MARKER_R,
|
|
18
11
|
breakAxisScale,
|
|
12
|
+
chosenValueIndices,
|
|
13
|
+
emitBarMark,
|
|
14
|
+
groupedOffsets,
|
|
15
|
+
pickedValues,
|
|
16
|
+
rangeWhisker,
|
|
19
17
|
rankValueLabels,
|
|
20
18
|
referenceCasing,
|
|
21
19
|
referenceMarkerKey,
|
|
22
20
|
referenceMarkerPaint,
|
|
23
21
|
referenceTickGeometry,
|
|
22
|
+
stackConnectors,
|
|
24
23
|
stepFitsAxisBreak,
|
|
25
|
-
withBandValueNotes
|
|
26
|
-
|
|
24
|
+
withBandValueNotes,
|
|
25
|
+
withValueLabelDefaults
|
|
26
|
+
} from "./chunk-LLHCEZV2.js";
|
|
27
27
|
import {
|
|
28
28
|
restValueHiding,
|
|
29
29
|
restValuesHidden
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
hasLabelPosition,
|
|
39
39
|
positionBarLabel,
|
|
40
40
|
refuseLabelPosition
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-EIQTUVJT.js";
|
|
42
42
|
import {
|
|
43
43
|
rangeMidUndrawn,
|
|
44
44
|
resolveCellRange
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
roundingUnavailable,
|
|
73
73
|
shareRoundingNotes,
|
|
74
74
|
sumConsistentShares
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-LFL4KMKF.js";
|
|
76
76
|
import {
|
|
77
77
|
accumulateStack,
|
|
78
78
|
averageMarkerId,
|
|
@@ -97,7 +97,7 @@ import {
|
|
|
97
97
|
warnShareFormatIgnored,
|
|
98
98
|
withoutShareAnnotations,
|
|
99
99
|
withoutShareMean
|
|
100
|
-
} from "./chunk-
|
|
100
|
+
} from "./chunk-XTECBM5K.js";
|
|
101
101
|
import {
|
|
102
102
|
INSIDE_MIN_H,
|
|
103
103
|
acrossValueLines,
|
|
@@ -112,60 +112,67 @@ import {
|
|
|
112
112
|
segmentTooShort,
|
|
113
113
|
steppedInsideSeat,
|
|
114
114
|
warnSliverLabels
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-V4XTBNZD.js";
|
|
116
116
|
import {
|
|
117
117
|
axisBreakHeightOrderWarning,
|
|
118
118
|
axisBreakInvalid,
|
|
119
119
|
breakStyleRefusal,
|
|
120
120
|
stackBreakReversesOrder
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-KJF7SLOA.js";
|
|
122
|
+
import {
|
|
123
|
+
drawnToleranceBands,
|
|
124
|
+
toleranceKeyed,
|
|
125
|
+
toleranceLegendKeys,
|
|
126
|
+
valueLineExtent
|
|
127
|
+
} from "./chunk-4ZIFMZO4.js";
|
|
122
128
|
import {
|
|
123
129
|
isIncomplete,
|
|
124
130
|
warnShareRoundingDrift
|
|
125
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ZT5Q6BRT.js";
|
|
126
132
|
import {
|
|
127
133
|
percentCellsOnly,
|
|
128
134
|
percentLevels,
|
|
129
135
|
runAnnotatePass
|
|
130
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-U2YWY6FH.js";
|
|
131
137
|
import {
|
|
132
138
|
rowLabelBand
|
|
133
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-5ZGCGIHG.js";
|
|
134
140
|
import {
|
|
135
141
|
fittedLabel,
|
|
136
142
|
gutterBudget,
|
|
137
143
|
stepDownFont
|
|
138
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-352V2W5P.js";
|
|
139
145
|
import {
|
|
140
146
|
chartPalette,
|
|
141
147
|
chartTheme
|
|
142
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-YRWJBS6C.js";
|
|
143
149
|
import {
|
|
144
150
|
restDetailsWarning,
|
|
145
151
|
restLabel,
|
|
146
152
|
restSum,
|
|
147
153
|
topNCut
|
|
148
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-EAMZDY55.js";
|
|
149
155
|
import {
|
|
150
156
|
NO_STACK_MEAN,
|
|
151
157
|
SHARES_OF_ONE_WHOLE_FIX,
|
|
152
158
|
noTotal,
|
|
153
159
|
stackAdds
|
|
154
|
-
} from "./chunk-
|
|
155
|
-
import {
|
|
156
|
-
categoryTargetFields,
|
|
157
|
-
spliceAnnotationNodes,
|
|
158
|
-
valueLineHasTargetExtras
|
|
159
|
-
} from "./chunk-CDZHNLO6.js";
|
|
160
|
+
} from "./chunk-KZKWDFIS.js";
|
|
160
161
|
import {
|
|
161
162
|
BAND_PAD,
|
|
162
163
|
namedLineText,
|
|
163
164
|
pruneOrphanAnnotationArms
|
|
164
165
|
} from "./chunk-R4MVXUAG.js";
|
|
166
|
+
import {
|
|
167
|
+
categoryTargetFields,
|
|
168
|
+
spliceAnnotationNodes,
|
|
169
|
+
valueLineHasTargetExtras,
|
|
170
|
+
valueLineNeedsSharedPass
|
|
171
|
+
} from "./chunk-OLAPTOUH.js";
|
|
165
172
|
import {
|
|
166
173
|
labelOn,
|
|
167
174
|
valueLineLabelsOn
|
|
168
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-FKRL2ZB2.js";
|
|
169
176
|
import {
|
|
170
177
|
structureCount
|
|
171
178
|
} from "./chunk-YDYZWCUQ.js";
|
|
@@ -202,7 +209,7 @@ import {
|
|
|
202
209
|
valueAxisTitleRequest,
|
|
203
210
|
valueAxisTitleText,
|
|
204
211
|
valueAxisUnit
|
|
205
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-FY3VV7TF.js";
|
|
206
213
|
import {
|
|
207
214
|
COLLECT_IDENTITIES,
|
|
208
215
|
PARTIAL_KEY,
|
|
@@ -234,11 +241,11 @@ import {
|
|
|
234
241
|
solveLabels,
|
|
235
242
|
toDateLabel,
|
|
236
243
|
toDateRoom
|
|
237
|
-
} from "./chunk-
|
|
244
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
238
245
|
import {
|
|
239
246
|
disclosureNote,
|
|
240
247
|
disclosuresShown
|
|
241
|
-
} from "./chunk-
|
|
248
|
+
} from "./chunk-B76O5YXI.js";
|
|
242
249
|
import {
|
|
243
250
|
emptyIdRecord
|
|
244
251
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -298,7 +305,7 @@ import {
|
|
|
298
305
|
typeWidthClass,
|
|
299
306
|
unionRect,
|
|
300
307
|
withSegmentSeams
|
|
301
|
-
} from "./chunk-
|
|
308
|
+
} from "./chunk-BKUTKQMT.js";
|
|
302
309
|
import {
|
|
303
310
|
DEFAULT_TARGET,
|
|
304
311
|
NormalizeError,
|
|
@@ -564,7 +571,7 @@ function barNetLine(options, variant, dataSeries, warnings) {
|
|
|
564
571
|
function barAnnotations(options, variant, averageMarkerValue, statFmt, averageSpan) {
|
|
565
572
|
let annotationInput = [...options.annotations ?? []];
|
|
566
573
|
averageMarkerValue !== void 0 && annotationInput.push(averageMarkerLine(annotationInput, averageMarkerValue, statFmt, averageSpan, options.strings?.average));
|
|
567
|
-
let annotationsAll = annotationInput.map((a, n) => ({ ...a, id: a.id ?? `${a.kind}-${n + 1}` })), localAnns = annotationsAll.filter((a) => a.kind === "indicator100" || a.kind === "valueLine" && !
|
|
574
|
+
let annotationsAll = annotationInput.map((a, n) => ({ ...a, id: a.id ?? `${a.kind}-${n + 1}` })), localAnns = annotationsAll.filter((a) => a.kind === "indicator100" || a.kind === "valueLine" && !valueLineNeedsSharedPass(a)), passAnns = annotationsAll.filter((a) => !localAnns.includes(a));
|
|
568
575
|
return variant === "stacked100" && labelOn(options, "percentIndicator") && !localAnns.some((a) => a.kind === "indicator100") && localAnns.push({ kind: "indicator100", id: "indicator100-auto", priority: PRIORITY.endpoint }), { localAnns, passAnns, ...averageMarkerValue === void 0 ? {} : { averageMarkerId: averageMarkerId(options.annotations ?? []) } };
|
|
569
576
|
}
|
|
570
577
|
function barValueExtent(domain, warnings) {
|
|
@@ -595,7 +602,9 @@ function barValueExtent(domain, warnings) {
|
|
|
595
602
|
rendered.push(v), lo = Math.min(lo, v), hi = Math.max(hi, v);
|
|
596
603
|
} else
|
|
597
604
|
rendered.push(100), hi = Math.max(hi, 100);
|
|
598
|
-
|
|
605
|
+
for (let a of domain.passAnns) a.kind === "valueLine" && typeof a.value == "number" && Number.isFinite(a.value) && rendered.push(a.value);
|
|
606
|
+
let passLines = valueLineExtent(domain.passAnns);
|
|
607
|
+
return passLines && (lo = Math.min(lo, passLines.lo), hi = Math.max(hi, passLines.hi)), [lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings), { lo, hi, rendered };
|
|
599
608
|
}
|
|
600
609
|
function resolveBarDomain(data, options, warnings) {
|
|
601
610
|
let size = resolveSize(options.size), theme = themeForWidth(resolveTheme(options.theme), panelTypeClass(options) ?? size.width), paletteRamp = chartPalette(theme, options.palette, warnings), variant = options.variant ?? "grouped", connectorsOn = options.connectors !== void 0 && options.connectors !== !1;
|
|
@@ -1409,7 +1418,7 @@ function buildLegend(domain, paints, warnings) {
|
|
|
1409
1418
|
message: `legend: 'none' suppressed the only key naming this exhibit's encodings (${signColor ? "sign colour" : "the reference mark"}), so the reader is left to infer them`,
|
|
1410
1419
|
suggest: `drop legend: 'none', or drop ${signColor ? "signColor" : "the reference series"}`
|
|
1411
1420
|
});
|
|
1412
|
-
let netLineKeyed = domain.netLineOn && panelTypeClass(options) === void 0, l = options.legend ?? (signColor || referenceDrawn || netLineKeyed ? "top" : void 0);
|
|
1421
|
+
let netLineKeyed = domain.netLineOn && panelTypeClass(options) === void 0, toleranceKeys = panelTypeClass(options) === void 0 ? toleranceLegendKeys(domain.passAnns, domain.meanValue, cats.map((c) => c.id), barPassText(domain)) : [], l = options.legend ?? (signColor || referenceDrawn || netLineKeyed || toleranceKeys.length > 0 ? "top" : void 0);
|
|
1413
1422
|
if (!l || l === "none" || l === "auto") return;
|
|
1414
1423
|
let legendOptions = normalizeLegendOption(l), seriesItems = signColor ? dataSeries.flatMap((s) => [!0, !1].map((above) => ({
|
|
1415
1424
|
id: `${s.id}:${above ? "above" : "below"}`,
|
|
@@ -1434,7 +1443,7 @@ function buildLegend(domain, paints, warnings) {
|
|
|
1434
1443
|
return partialPattern(cats[ci], pattern, outline) !== pattern;
|
|
1435
1444
|
})
|
|
1436
1445
|
), items = [
|
|
1437
|
-
...seriesItems,
|
|
1446
|
+
...options.legend !== void 0 || signColor || referenceDrawn || netLineKeyed || dataSeries.length > 1 ? seriesItems : [],
|
|
1438
1447
|
// In the subtitle's order, AC PY PL FC: the plan row before the forecast hatch.
|
|
1439
1448
|
...domain.variant !== "stacked100" ? refSeries.map((s) => ({
|
|
1440
1449
|
id: s.id,
|
|
@@ -1460,7 +1469,8 @@ function buildLegend(domain, paints, warnings) {
|
|
|
1460
1469
|
paint: { token: "neutralMark" },
|
|
1461
1470
|
strings: domain.options.strings
|
|
1462
1471
|
}),
|
|
1463
|
-
...partialLegendKeys(partialHatchPainted && !partialNamedOnValues(domain), options.strings, cats)
|
|
1472
|
+
...partialLegendKeys(partialHatchPainted && !partialNamedOnValues(domain), options.strings, cats),
|
|
1473
|
+
...toleranceKeys
|
|
1464
1474
|
];
|
|
1465
1475
|
if (items = dedupeLegendKeys(items, (item) => paints.css(item.paint, item.pattern)).items, legendOptions.order) {
|
|
1466
1476
|
let rank = new Map(legendOptions.order.map((id, i) => [id, i]));
|
|
@@ -1470,6 +1480,9 @@ function buildLegend(domain, paints, warnings) {
|
|
|
1470
1480
|
}
|
|
1471
1481
|
return { options: legendOptions, items };
|
|
1472
1482
|
}
|
|
1483
|
+
function barPassText(domain) {
|
|
1484
|
+
return { format: domain.options.format, locale: domain.options.locale?.language, levelSpec: domain.valueSpec.spec, strings: domain.options.strings };
|
|
1485
|
+
}
|
|
1473
1486
|
function solveBarFrame(domain, paints, warnings) {
|
|
1474
1487
|
let { options, theme, size, measure, cats } = domain, claims = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), legend = buildLegend(domain, paints, warnings);
|
|
1475
1488
|
return { frame: solveFrame(
|
|
@@ -1559,7 +1572,7 @@ function barPlotArea(domain, frame, warnings) {
|
|
|
1559
1572
|
return area ? (pushAll(warnings, shared), area) : barPlotAreaWith(domain, frame, warnings, !0);
|
|
1560
1573
|
}
|
|
1561
1574
|
function barPlotAreaWith(domain, frame, warnings, titleRow) {
|
|
1562
|
-
let { options, theme, size, measure, variant, cats, dataSeries, lo, hi } = domain, plot0 = frame.plot, tickFont = { family: theme.type.family, ...theme.type.axis }, normalLabelFont = { family: theme.type.family, ...theme.type.label }, labelFont = domain.incompleteRows.size > 0 && options.mode === "compact" && options[HARD_MINIMUM] ? compactValueLabelFont(normalLabelFont, theme.type.footnote, options.target, textScaleOf(options)) : normalLabelFont, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, { maxPosW, maxNegW } = outsideLabelWidths(domain, labelFont, strongFont), annPad = domain.localAnns.length > 0 ? 26 : 8, axisTitle = options.valueAxis?.show && axisTitleAllowed(options.labels) ? planValueAxisTitle(valueAxisTitleText(
|
|
1575
|
+
let { options, theme, size, measure, variant, cats, dataSeries } = domain, { lo, hi } = domain, plot0 = frame.plot, tickFont = { family: theme.type.family, ...theme.type.axis }, normalLabelFont = { family: theme.type.family, ...theme.type.label }, labelFont = domain.incompleteRows.size > 0 && options.mode === "compact" && options[HARD_MINIMUM] ? compactValueLabelFont(normalLabelFont, theme.type.footnote, options.target, textScaleOf(options)) : normalLabelFont, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, { maxPosW, maxNegW } = outsideLabelWidths(domain, labelFont, strongFont), annPad = domain.localAnns.length > 0 || domain.passAnns.some(valueLineHasTargetExtras) ? 26 : 8, axisTitle = options.valueAxis?.show && axisTitleAllowed(options.labels) ? planValueAxisTitle(valueAxisTitleText(
|
|
1563
1576
|
theme,
|
|
1564
1577
|
options.axisTitles?.primary,
|
|
1565
1578
|
options,
|
|
@@ -1588,10 +1601,27 @@ function barPlotAreaWith(domain, frame, warnings, titleRow) {
|
|
|
1588
1601
|
// Fixed rows never stretch; a shorter canvas (a grid panel) packs them.
|
|
1589
1602
|
h: fixedRowsH === void 0 ? availH - bandPad : Math.min(availH - bandPad, fixedRowsH)
|
|
1590
1603
|
}, outsideOnly = theme.marks?.barLabels === "outside" && variant === "grouped", negativeLabelsAcross = outsideOnly && lo < 0 && hi > 0 && domain.localAnns.length === 0, fullBars = variant === "stacked100" && maxPosW === 0 && lo >= 0 && !options.valueAxis?.show && domain.localAnns.length === 0 && domain.passAnns.length === 0 && // An authored label on a zero part prints in the share row past the bar's end.
|
|
1591
|
-
!dataSeries.some((s) => s.cells.some((cell) => cell.v === 0 && typeof cell.meta?.label == "string")), callerExact = options[EXACT_DOMAIN] === !0 && !options.valueAxis?.show, exactDomain = outsideOnly && !options.valueAxis?.show || callerExact, fP = Math.min(0.35, (Math.max(maxPosW, negativeLabelsAcross ? maxNegW : 0) + LABEL_GAP + 8) / plot.w),
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1604
|
+
!dataSeries.some((s) => s.cells.some((cell) => cell.v === 0 && typeof cell.meta?.label == "string")), callerExact = options[EXACT_DOMAIN] === !0 && !options.valueAxis?.show, exactDomain = outsideOnly && !options.valueAxis?.show || callerExact, fP = Math.min(0.35, (Math.max(maxPosW, negativeLabelsAcross ? maxNegW : 0) + LABEL_GAP + 8) / plot.w), axisOf = (lo2, hi2) => {
|
|
1605
|
+
let fN = lo2 < 0 && !negativeLabelsAcross && !(callerExact && maxNegW === 0) ? Math.min(0.35, (maxNegW + LABEL_GAP + 8) / plot.w) : 0, span = hi2 - lo2 || 1, denom = Math.max(0.3, 1 - fP - fN), hiExt = hi2 + span * fP / denom, loExt = lo2 < 0 ? lo2 - span * fN / denom : 0, nice2 = fullBars ? [0, hi2 || 100] : exactDomain ? [loExt, hiExt || 1] : niceDomain(loExt, hiExt || 1, 5, {
|
|
1606
|
+
dataExtent: [loExt, hiExt || 1],
|
|
1607
|
+
maxWasteFraction: 0.15
|
|
1608
|
+
}), said = [], stepped2 = applyTickStep(nice2, shownTickStep(options.valueAxis?.tickStep, options.valueAxis?.show === !0, said), said);
|
|
1609
|
+
return { nice: nice2, stepped: stepped2, said };
|
|
1610
|
+
}, axis = axisOf(lo, hi), dataAxis = axis, bands = variant === "stacked100" ? [] : drawnToleranceBands(domain.passAnns, domain.meanValue, cats.map((c) => c.id));
|
|
1611
|
+
for (let round = 0; round < bands.length; round++) {
|
|
1612
|
+
let inside = (d, band2) => band2.lo >= d[0] && band2.hi <= d[1], shown = axis.stepped.domain, cut2 = bands.filter((band2) => band2.hi > shown[0] && band2.lo < shown[1] && !(inside(axis.nice, band2) && inside(shown, band2)));
|
|
1613
|
+
if (cut2.length === 0) break;
|
|
1614
|
+
lo = Math.min(lo, ...cut2.map((band2) => band2.lo)), hi = Math.max(hi, ...cut2.map((band2) => band2.hi)), axis = axisOf(lo, hi);
|
|
1615
|
+
}
|
|
1616
|
+
if (lo < domain.lo || hi > domain.hi) {
|
|
1617
|
+
let va = options.valueAxis;
|
|
1618
|
+
applyAxisBounds([lo, hi], [lo, hi], {
|
|
1619
|
+
...lo < domain.lo && va?.min === domain.lo ? { min: va.min } : {},
|
|
1620
|
+
...hi > domain.hi && va?.max === domain.hi ? { max: va.max } : {}
|
|
1621
|
+
}, warnings);
|
|
1622
|
+
}
|
|
1623
|
+
warnings.push(...axis.said);
|
|
1624
|
+
let { nice, stepped } = axis, [dLo, dHi] = stepped.domain, stepTicks = stepped.ticks, activeBreak = axis !== dataAxis && !barAxisBreak(domain, dataAxis.stepped.domain[0], dataAxis.stepped.domain[1], warnings) ? void 0 : barAxisBreak(domain, dLo, dHi, warnings);
|
|
1595
1625
|
if (!stepFitsAxisBreak(stepTicks, activeBreak, options.valueAxis?.tickStep, warnings)) {
|
|
1596
1626
|
[dLo, dHi] = nice, stepTicks = void 0;
|
|
1597
1627
|
let checks = [];
|
|
@@ -1612,7 +1642,7 @@ function barPlotAreaWith(domain, frame, warnings, titleRow) {
|
|
|
1612
1642
|
suggest: "give the chart more height, or fewer categories, to label every series"
|
|
1613
1643
|
});
|
|
1614
1644
|
let scale = x;
|
|
1615
|
-
if (inset && !options.valueAxis?.show && !activeBreak && lo >= 0 && hi > 0 && domain.refSeries.length === 0) {
|
|
1645
|
+
if (inset && !options.valueAxis?.show && !activeBreak && lo >= 0 && hi > 0 && domain.refSeries.length === 0 && bands.every((b) => b.hi <= hi)) {
|
|
1616
1646
|
let exact = linearScale([0, hi], [plot.x, plot.x + plot.w]), thick = groupSlots[0]?.size ?? band.bandwidth, valueFont = { ...compact ? compactLabelFont : labelFont, weight: emphasisWeight(theme) };
|
|
1617
1647
|
(!labelOn(options, "point") || dataSeries.every((s) => s.cells.every((cell) => {
|
|
1618
1648
|
if (cell.v === null) return !0;
|
|
@@ -1806,10 +1836,8 @@ function annotateBar(domain, area, scene, occupied, solveCtx, annotationPass) {
|
|
|
1806
1836
|
bandCeiling: area.frame.plot.y,
|
|
1807
1837
|
theme: domain.theme,
|
|
1808
1838
|
measure: domain.measure,
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
levelSpec: domain.valueSpec.spec,
|
|
1812
|
-
strings: domain.options.strings,
|
|
1839
|
+
...barPassText(domain),
|
|
1840
|
+
toleranceKeyed: toleranceKeyed(domain.passAnns, area.frame.legend?.items),
|
|
1813
1841
|
sharesFormat: domain.variant === "stacked100",
|
|
1814
1842
|
valueLinePercentLevels: domain.variant === "stacked100" || domain.options.unit === "%" || percentLevels(domain.dataSeries.map((series) => ({ vals: series.cells }))),
|
|
1815
1843
|
valueLineLabels: valueLineLabelsOn(domain.options),
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-IXCDKCYE.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-36KGPRMX.js";
|
|
12
12
|
import {
|
|
13
13
|
pyramidCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4ORV4RGE.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7SSN5ECA.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/pyramid.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, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPosition: 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, columnOverrides: { "*": { width: 0, align: 0 } }, basis: 0, methodNote: 0 }, labels: ["category", "series", "point"] }), PyramidChart = createChartComponent(registeredType(pyramidCore), checkOptionKeys);
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
} from "./chunk-ZQ5ILQ5A.js";
|
|
14
14
|
import {
|
|
15
15
|
scalePanelSemantics
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R3IPQHWC.js";
|
|
17
17
|
import {
|
|
18
18
|
STACK_ROOM
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V4XTBNZD.js";
|
|
20
20
|
import {
|
|
21
21
|
normalizeGridData,
|
|
22
22
|
parseGridLegendPanelData,
|
|
23
23
|
parseGridTextPanelData
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DOVEWKJ6.js";
|
|
25
25
|
import {
|
|
26
26
|
categoryBandFromCenters
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OLAPTOUH.js";
|
|
28
28
|
import {
|
|
29
29
|
structureCount
|
|
30
30
|
} from "./chunk-YDYZWCUQ.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
stackedColumnPlotPx,
|
|
66
66
|
varianceTierWeights,
|
|
67
67
|
withCalendarLabels
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-FY3VV7TF.js";
|
|
69
69
|
import {
|
|
70
70
|
LEFT_OUT_OF_NOTE,
|
|
71
71
|
PRIORITY,
|
|
@@ -86,12 +86,12 @@ import {
|
|
|
86
86
|
unprintedClaims,
|
|
87
87
|
valueNoteLine,
|
|
88
88
|
withUnprintedClaims
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-Z2WGJH2P.js";
|
|
90
90
|
import {
|
|
91
91
|
disclosureNote,
|
|
92
92
|
disclosuresShown,
|
|
93
93
|
slotDemandHeight
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-B76O5YXI.js";
|
|
95
95
|
import {
|
|
96
96
|
withAnnotationOrigins,
|
|
97
97
|
withoutAnnotationOrigins
|
|
@@ -132,7 +132,7 @@ import {
|
|
|
132
132
|
themeForWidth,
|
|
133
133
|
themeRegistrations,
|
|
134
134
|
typeWidthClass
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-BKUTKQMT.js";
|
|
136
136
|
import {
|
|
137
137
|
requireChartCores
|
|
138
138
|
} from "./chunk-BQBD6Q5J.js";
|
|
@@ -310,18 +310,29 @@ function alignCategoryPanels(children, theme) {
|
|
|
310
310
|
return Math.max(Math.abs(x2 - x), Math.abs(x2 + child.geometry.plot.w - x - w));
|
|
311
311
|
})));
|
|
312
312
|
}
|
|
313
|
+
var floorsOf = (geometry) => ({
|
|
314
|
+
minHeight: geometry.sizing?.minHeight,
|
|
315
|
+
measuredMinHeight: geometry.sizing?.measuredMinHeight,
|
|
316
|
+
frameMinHeight: geometry.frame.minHeight,
|
|
317
|
+
plotMinHeight: geometry.frame.plotMinHeight
|
|
318
|
+
});
|
|
319
|
+
function keepFloors(geometry, floors) {
|
|
320
|
+
let lower = (current, before) => current === void 0 || before === void 0 ? current : Math.min(current, before);
|
|
321
|
+
geometry.sizing && (geometry.sizing.minHeight = lower(geometry.sizing.minHeight, floors.minHeight), geometry.sizing.measuredMinHeight = lower(geometry.sizing.measuredMinHeight, floors.measuredMinHeight)), geometry.frame.minHeight = lower(geometry.frame.minHeight, floors.frameMinHeight), geometry.frame.plotMinHeight = lower(geometry.frame.plotMinHeight, floors.plotMinHeight);
|
|
322
|
+
}
|
|
313
323
|
function alignValuePanels(children, theme, keep) {
|
|
314
324
|
let members = children.filter((child) => child.relayout !== void 0);
|
|
315
325
|
if (members.length < 2) return;
|
|
316
|
-
let heightOf = (child) => (child.geometry[PLOT_FLOOR_RECT] ?? child.geometry.plot).h;
|
|
326
|
+
let before = /* @__PURE__ */ new Map(), heightOf = (child) => (child.geometry[PLOT_FLOOR_RECT] ?? child.geometry.plot).h;
|
|
317
327
|
for (let pass = 0; pass < 3; pass++) {
|
|
318
328
|
let height = minOf(members.map(heightOf)), off = members.filter((child) => heightOf(child) - height > 0.01);
|
|
319
329
|
if (off.length === 0) break;
|
|
320
330
|
for (let child of off) {
|
|
321
331
|
let cut = heightOf(child) - height, above = keep ? keep.above(child) : 0, bottom = child.margin.bottom ?? canvasMargin(theme, child.slot.w).bottom;
|
|
322
|
-
child.margin = { ...child.margin, bottom: bottom + cut * (1 - above), ...keep ? { top: keep.top(child) + cut * above } : {} }, child.geometry = child.relayout(child.margin);
|
|
332
|
+
child.margin = { ...child.margin, bottom: bottom + cut * (1 - above), ...keep ? { top: keep.top(child) + cut * above } : {} }, before.has(child) || before.set(child, floorsOf(child.geometry)), child.geometry = child.relayout(child.margin);
|
|
323
333
|
}
|
|
324
334
|
}
|
|
335
|
+
for (let [child, floors] of before) keepFloors(child.geometry, floors);
|
|
325
336
|
}
|
|
326
337
|
|
|
327
338
|
// src/core/strings/grid.ts
|
|
@@ -1182,7 +1193,10 @@ function layoutGridPass(data, options = {}) {
|
|
|
1182
1193
|
}), children = layoutChildren();
|
|
1183
1194
|
}
|
|
1184
1195
|
children = balanceVarianceTierPlots(slots, children, varianceWeights, layoutChildren);
|
|
1185
|
-
let tierContents = measureTierContents(children), effectiveTierGap = theme.space.tierGap,
|
|
1196
|
+
let tierContents = measureTierContents(children), effectiveTierGap = theme.space.tierGap, headingAir = Math.max(0, (theme.space.tierHeadingGap ?? theme.space.tierGap + 3 * theme.space.labelPad) - theme.space.tierGap), topTier = bottomUpOrder[bottomUpOrder.length - 1], headed = (i) => packedTiers && i !== topTier && !!(children[i].tierCaption || children[i].tierDetail), headedCount = () => data.panels.filter((_, i) => headed(i)).length, airTotal = () => headingAir * headedCount(), tierAir = headingAir, gapAbove = (i) => effectiveTierGap + (headed(i) ? tierAir : 0), absorb = (slack) => {
|
|
1197
|
+
let deficit = Math.max(0, -slack), air = airTotal();
|
|
1198
|
+
tierAir = air > 0 && deficit <= air ? headingAir - deficit / headedCount() : 0, effectiveTierGap = theme.space.tierGap - (n > 1 ? Math.max(0, deficit - air) / (n - 1) : 0);
|
|
1199
|
+
}, requirements = () => gridSizing(
|
|
1186
1200
|
size,
|
|
1187
1201
|
area,
|
|
1188
1202
|
sizingChildren(),
|
|
@@ -1211,16 +1225,19 @@ function layoutGridPass(data, options = {}) {
|
|
|
1211
1225
|
return settle(slots.map((slot, i) => Math.max(Math.min(slot.h, floors[i]), slot.h - deficit * give[i] / giveSum))), contentTotal() < before.total - 0.5 ? !0 : (before.slots.forEach((slot, i) => {
|
|
1212
1226
|
slots[i] = slot;
|
|
1213
1227
|
}), { children, tierContents, sharedX, sharedW } = before, !1);
|
|
1214
|
-
}, slackNow = () => area.h - packReserve - theme.space.tierGap * (n - 1) - contentTotal();
|
|
1215
|
-
plainFits = () => slackNow() >= -gapCapacity - 1;
|
|
1228
|
+
}, slackNow = () => area.h - packReserve - theme.space.tierGap * (n - 1) - airTotal() - contentTotal();
|
|
1229
|
+
plainFits = () => slackNow() >= -gapCapacity - airTotal() - 1;
|
|
1216
1230
|
for (let pass = 0; pass < TIER_SLACK_PASSES; pass++) {
|
|
1217
1231
|
let slack = slackNow();
|
|
1218
|
-
if (slack < 0 && slack >= -gapCapacity) {
|
|
1219
|
-
|
|
1232
|
+
if (slack < 0 && slack >= -gapCapacity - airTotal()) {
|
|
1233
|
+
absorb(slack);
|
|
1220
1234
|
break;
|
|
1221
1235
|
}
|
|
1222
|
-
if (slack < -gapCapacity) {
|
|
1223
|
-
if (!repair || !squeeze(-slack - gapCapacity))
|
|
1236
|
+
if (slack < -gapCapacity - airTotal()) {
|
|
1237
|
+
if (!repair || !squeeze(-slack - gapCapacity - airTotal())) {
|
|
1238
|
+
tierAir = 0;
|
|
1239
|
+
break;
|
|
1240
|
+
}
|
|
1224
1241
|
continue;
|
|
1225
1242
|
}
|
|
1226
1243
|
if (slack <= theme.space.tierGap) break;
|
|
@@ -1233,9 +1250,9 @@ function layoutGridPass(data, options = {}) {
|
|
|
1233
1250
|
for (let i = 0; i < n; i++)
|
|
1234
1251
|
slots[i] = { ...slots[i], h: slots[i].h + growth * fraction * weights[i] / wSum };
|
|
1235
1252
|
children = balanceVarianceTierPlots(slots, layoutChildren(), varianceWeights, layoutChildren), tierContents = measureTierContents(children);
|
|
1236
|
-
let remaining = area.h - packReserve - theme.space.tierGap * (n - 1) - tierContents.localContent.reduce((sum2, bounds) => sum2 + bounds.h, 0);
|
|
1253
|
+
let remaining = area.h - packReserve - theme.space.tierGap * (n - 1) - airTotal() - tierContents.localContent.reduce((sum2, bounds) => sum2 + bounds.h, 0);
|
|
1237
1254
|
if (remaining >= -gapCapacity) {
|
|
1238
|
-
|
|
1255
|
+
absorb(remaining), accepted = !0;
|
|
1239
1256
|
break;
|
|
1240
1257
|
}
|
|
1241
1258
|
}
|
|
@@ -1246,18 +1263,18 @@ function layoutGridPass(data, options = {}) {
|
|
|
1246
1263
|
break;
|
|
1247
1264
|
}
|
|
1248
1265
|
}
|
|
1249
|
-
repair && slackNow() < -gapCapacity - 1 && warnings.push({
|
|
1266
|
+
repair && slackNow() < -gapCapacity - airTotal() - 1 && warnings.push({
|
|
1250
1267
|
code: "grid-panel-too-short",
|
|
1251
1268
|
severity: "warn",
|
|
1252
|
-
message: `the tiers need ${Math.ceil(-slackNow() - gapCapacity)} px more height than the canvas gives, so the top tier runs into the frame above it`,
|
|
1269
|
+
message: `the tiers need ${Math.ceil(-slackNow() - gapCapacity - airTotal())} px more height than the canvas gives, so the top tier runs into the frame above it`,
|
|
1253
1270
|
suggest: "increase the grid height"
|
|
1254
1271
|
});
|
|
1255
1272
|
};
|
|
1256
1273
|
if (packedTiers && requirements().minHeight <= size.height) {
|
|
1257
|
-
let state = () => ({ slots: slots.map((slot) => ({ ...slot })), children, tierContents, sharedX, sharedW, gap: effectiveTierGap, warnings: warnings.slice() }), restore = (saved) => {
|
|
1274
|
+
let state = () => ({ slots: slots.map((slot) => ({ ...slot })), children, tierContents, sharedX, sharedW, gap: effectiveTierGap, air: tierAir, warnings: warnings.slice() }), restore = (saved) => {
|
|
1258
1275
|
saved.slots.forEach((slot, i) => {
|
|
1259
1276
|
slots[i] = slot;
|
|
1260
|
-
}), { children, tierContents, sharedX, sharedW } = saved, effectiveTierGap = saved.gap, warnings.length = 0, warnings.push(...saved.warnings);
|
|
1277
|
+
}), { children, tierContents, sharedX, sharedW } = saved, effectiveTierGap = saved.gap, tierAir = saved.air, warnings.length = 0, warnings.push(...saved.warnings);
|
|
1261
1278
|
}, start = state();
|
|
1262
1279
|
if (tierRepaired = !1, packTiers(!0), tierRepaired) {
|
|
1263
1280
|
let repaired = state(), raised = requirements().minHeight > size.height, droppedValues = () => children.reduce((sum2, child) => sum2 + child.geo.warnings.filter((warning) => DROPPED_VALUE_WARNINGS.has(warning.code)).length, 0), repairedDrops = droppedValues();
|
|
@@ -1265,13 +1282,13 @@ function layoutGridPass(data, options = {}) {
|
|
|
1265
1282
|
let fits = plainFits();
|
|
1266
1283
|
!raised && !(fits && droppedValues() < repairedDrops) && restore(repaired);
|
|
1267
1284
|
}
|
|
1268
|
-
}
|
|
1269
|
-
let
|
|
1285
|
+
} else tierAir = 0;
|
|
1286
|
+
let required = requirements(), sizing = required.naturalHeight < required.minHeight + airTotal() ? { ...required, naturalHeight: required.minHeight + airTotal() } : required, { tierLabels, localContent } = tierContents, panelY = slots.map((slot) => slot.y);
|
|
1270
1287
|
if (packedTiers) {
|
|
1271
1288
|
let cursor = area.y + area.h;
|
|
1272
1289
|
for (let i of bottomUpOrder) {
|
|
1273
1290
|
let bounds = localContent[i];
|
|
1274
|
-
panelY[i] = cursor - (bounds.y + bounds.h), cursor = bounds.y + panelY[i] -
|
|
1291
|
+
panelY[i] = cursor - (bounds.y + bounds.h), cursor = bounds.y + panelY[i] - gapAbove(i);
|
|
1275
1292
|
}
|
|
1276
1293
|
}
|
|
1277
1294
|
let scene = [...frameResult.nodes], labels = [], axes = [], annotations = [], occupiedAll = occupied.snapshot().slice(), decisions = [], marks = { panels: [] };
|