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
|
@@ -12,32 +12,32 @@ import {
|
|
|
12
12
|
roundingUnavailable,
|
|
13
13
|
shareRoundingNotes,
|
|
14
14
|
sumConsistentShares
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YHLKL4R5.js";
|
|
16
16
|
import {
|
|
17
17
|
accumulateStack
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MTJZT6F2.js";
|
|
19
19
|
import {
|
|
20
20
|
digitSeat,
|
|
21
21
|
digitSeatEdge
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XBASXPUJ.js";
|
|
23
23
|
import {
|
|
24
24
|
warnIncompleteComposition
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4SK4IGMK.js";
|
|
26
26
|
import {
|
|
27
27
|
rowLabelBand
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OCANU74G.js";
|
|
29
29
|
import {
|
|
30
30
|
fittedLabel
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-GNSAYVND.js";
|
|
32
32
|
import {
|
|
33
33
|
chartPalette
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
35
35
|
import {
|
|
36
36
|
yearSpanFromLabels
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-7JSGG67J.js";
|
|
38
38
|
import {
|
|
39
39
|
structureCount
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-IHZNRJEV.js";
|
|
41
41
|
import {
|
|
42
42
|
fieldHeadFont,
|
|
43
43
|
fieldHeadText,
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
headRule,
|
|
46
46
|
totalGround,
|
|
47
47
|
totalRule
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IMKHDTEQ.js";
|
|
49
49
|
import {
|
|
50
50
|
tableRuleInk
|
|
51
51
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -58,9 +58,10 @@ import {
|
|
|
58
58
|
chartSizing,
|
|
59
59
|
fixedHeightCanvas,
|
|
60
60
|
heightOmitted,
|
|
61
|
+
requestMemo,
|
|
61
62
|
rowDrivenHeight,
|
|
62
63
|
rowSizing
|
|
63
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
64
65
|
import {
|
|
65
66
|
PRIORITY,
|
|
66
67
|
authoredNotes,
|
|
@@ -75,12 +76,12 @@ import {
|
|
|
75
76
|
normalizeLegendOption,
|
|
76
77
|
solveFrame,
|
|
77
78
|
solveLabels
|
|
78
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
79
80
|
import {
|
|
80
81
|
disclosureNote,
|
|
81
82
|
footerType,
|
|
82
83
|
quietMethodNote
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-I3UJHKCS.js";
|
|
84
85
|
import {
|
|
85
86
|
RULE_SET,
|
|
86
87
|
formatWithSpec,
|
|
@@ -89,16 +90,18 @@ import {
|
|
|
89
90
|
roundedAt,
|
|
90
91
|
roundedNumber,
|
|
91
92
|
seriesRasterFormatter
|
|
92
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-BHO5H4AF.js";
|
|
93
94
|
import {
|
|
94
95
|
cagr,
|
|
95
96
|
chartStrings,
|
|
97
|
+
currentSmallValues,
|
|
96
98
|
formatAutomaticPercent,
|
|
99
|
+
formatScopeKey,
|
|
97
100
|
formatShare,
|
|
98
101
|
numberRange,
|
|
99
102
|
printedShare,
|
|
100
103
|
shareSetFormatter
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-5OUURZ2T.js";
|
|
102
105
|
import {
|
|
103
106
|
canvasMargin,
|
|
104
107
|
cleanSum,
|
|
@@ -117,7 +120,7 @@ import {
|
|
|
117
120
|
textScaleOf,
|
|
118
121
|
themeForWidth,
|
|
119
122
|
withSegmentSeams
|
|
120
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-4NGKSJBX.js";
|
|
121
124
|
import {
|
|
122
125
|
NormalizeError,
|
|
123
126
|
TARGET_SIZE,
|
|
@@ -125,10 +128,13 @@ import {
|
|
|
125
128
|
resolveSize,
|
|
126
129
|
resolveSubtitle
|
|
127
130
|
} from "./chunk-RJICOOB3.js";
|
|
131
|
+
import {
|
|
132
|
+
hasCompleteTableWidths
|
|
133
|
+
} from "./chunk-3KYSWAEH.js";
|
|
128
134
|
import {
|
|
129
135
|
defaultMeasurer,
|
|
130
136
|
splitNameBreaks
|
|
131
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-77LQEREO.js";
|
|
132
138
|
import {
|
|
133
139
|
maxOf,
|
|
134
140
|
minOf,
|
|
@@ -513,14 +519,16 @@ function layoutBarTable(authored, options = {}) {
|
|
|
513
519
|
"under cascade the combined share prints beside a bracket over its rows, and these rows do not stand together",
|
|
514
520
|
"name rows that follow one another, such as the first five"
|
|
515
521
|
);
|
|
516
|
-
let bracketLabel = bracketRows ? combinedLabel(options.combinedShare.label, bracketRows.map((r) => rows[r].label), options) : void 0, comboRowLabel = bracketRows && options.combinedShare.label === void 0 && bracketRows[0] === 0 ? chartString(options, "combinedRowLabel", { v1: bracketRows.length }) : bracketLabel, cascade
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
522
|
+
let bracketLabel = bracketRows ? combinedLabel(options.combinedShare.label, bracketRows.map((r) => rows[r].label), options) : void 0, comboRowLabel = bracketRows && options.combinedShare.label === void 0 && bracketRows[0] === 0 ? chartString(options, "combinedRowLabel", { v1: bracketRows.length }) : bracketLabel, cascade;
|
|
523
|
+
if (cascadeOptions) {
|
|
524
|
+
let growth2 = cascadeOptions.growth, sumConsistent = options.rounding === "sum-consistent", calculate = () => deriveCascade(rows, data.panels.map((panel) => ({
|
|
525
|
+
id: panel.id,
|
|
526
|
+
label: panel.label ?? panel.id,
|
|
527
|
+
values: panel.values[series[0].id].map((value) => value)
|
|
528
|
+
})), { combined: bracketRows, growth: growth2, sumConsistent, locale });
|
|
529
|
+
cascade = measure === defaultMeasurer || hasCompleteTableWidths(measure) ? requestMemo(authored, JSON.stringify(["bartable-cascade", bracketRows, growth2, sumConsistent, locale, currentSmallValues(), formatScopeKey(options)]), calculate) : calculate();
|
|
530
|
+
for (let warning of cascade.warnings) warnings.push({ ...warning });
|
|
531
|
+
}
|
|
524
532
|
let showShare = cascadeOptions !== void 0 && cascadeOptions.share !== !1, margin = { ...canvasMargin(theme, size.width), ...options.margin }, noteFont = { family: theme.type.family, ...footerType(theme.type.footnote, options.target, textScaleOf(options)) }, noteW = Math.max(1, size.width - (margin.left ?? 0) - (margin.right ?? 0)), partsPrinted = panels.map((entry) => !cascade && series.length > 1 && options.segmentValues !== !1 && valuesPrinted && entry.spec.decimals <= PART_DECIMALS), partsMissTotal = panels.some((entry, p) => partsPrinted[p] && entry.rowSums.some((sum, r) => {
|
|
525
533
|
if (sum === null || entry.ranges[r]) return !1;
|
|
526
534
|
let rounded = series.reduce((acc, s) => acc + roundedNumber(Math.max(0, entry.panel.values[s.id]?.[r] ?? 0), entry.spec), 0);
|
|
@@ -989,9 +997,9 @@ function layoutBarTable(authored, options = {}) {
|
|
|
989
997
|
rowOrder: rows.map((row) => row.id),
|
|
990
998
|
...cascade ? {
|
|
991
999
|
...bracketLabel ? { combinedLabel: bracketLabel } : {},
|
|
992
|
-
cascade: cascade.panels.map((c, p) => ({ id: panels[p].panel.id, starts: c.starts, shares: c.shares, ...c.combined ? { combined: c.combined.value } : {} })),
|
|
993
|
-
...cascade.growth ? { growth: cascade.growth.values } : {},
|
|
994
|
-
...cascade.adjustments.length > 0 ? { roundingAdjustments: cascade.adjustments } : {}
|
|
1000
|
+
cascade: cascade.panels.map((c, p) => ({ id: panels[p].panel.id, starts: [...c.starts], shares: [...c.shares], ...c.combined ? { combined: c.combined.value } : {} })),
|
|
1001
|
+
...cascade.growth ? { growth: [...cascade.growth.values] } : {},
|
|
1002
|
+
...cascade.adjustments.length > 0 ? { roundingAdjustments: cascade.adjustments.map((adjustment) => ({ ...adjustment })) } : {}
|
|
995
1003
|
} : {}
|
|
996
1004
|
},
|
|
997
1005
|
a11y: {
|
|
@@ -4,16 +4,16 @@ import {
|
|
|
4
4
|
optionsTake,
|
|
5
5
|
rememberDiagnosticSource,
|
|
6
6
|
sourceSchemaDiagnostic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ZYJZ624V.js";
|
|
8
8
|
import {
|
|
9
9
|
DocExpansionError,
|
|
10
10
|
expandDoc,
|
|
11
11
|
missingChartName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RFUSBITY.js";
|
|
13
13
|
import {
|
|
14
14
|
diagnosedSafeParse,
|
|
15
15
|
idRecord
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
17
17
|
import {
|
|
18
18
|
isBareChart
|
|
19
19
|
} from "./chunk-YWP7XFKD.js";
|
|
@@ -31,12 +31,12 @@ import {
|
|
|
31
31
|
checkThemeShape,
|
|
32
32
|
linkThemeShapeRules,
|
|
33
33
|
unknownThemeKeyRepair
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-4XDWZJUX.js";
|
|
35
35
|
import {
|
|
36
36
|
adoptTheme,
|
|
37
37
|
resolveTheme,
|
|
38
38
|
themes
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4NGKSJBX.js";
|
|
40
40
|
import {
|
|
41
41
|
retiredThemeKeyWarning,
|
|
42
42
|
withoutRetiredThemeKeys
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys7
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5LUHGXXE.js";
|
|
6
6
|
import {
|
|
7
7
|
optionKeyCheck
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useResolvedChartRequest,
|
|
31
31
|
useRowsInput,
|
|
32
32
|
watchPrint
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-MDGVRYXX.js";
|
|
34
34
|
import {
|
|
35
35
|
useIsomorphicLayoutEffect
|
|
36
36
|
} from "./chunk-A4QZXLXF.js";
|
|
@@ -50,16 +50,16 @@ import {
|
|
|
50
50
|
} from "./chunk-VDAKTZQP.js";
|
|
51
51
|
import {
|
|
52
52
|
useBoardplotTheme
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-3Z4I6LNK.js";
|
|
54
54
|
import {
|
|
55
55
|
tableCore
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-2P5KBQLT.js";
|
|
57
57
|
import {
|
|
58
58
|
emitSparkline,
|
|
59
59
|
sparklineDomains,
|
|
60
60
|
sparklineSourceValues,
|
|
61
61
|
tableScrollRung
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZG46HLGN.js";
|
|
63
63
|
import {
|
|
64
64
|
heatEncodingRefusals
|
|
65
65
|
} from "./chunk-ZF43WRG3.js";
|
|
@@ -71,22 +71,22 @@ import {
|
|
|
71
71
|
tablePresentation,
|
|
72
72
|
tableRenderTheme,
|
|
73
73
|
tableStylesheet
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-V4NJTLJP.js";
|
|
75
75
|
import {
|
|
76
76
|
publishTableChart
|
|
77
77
|
} from "./chunk-OQEBOVUO.js";
|
|
78
78
|
import {
|
|
79
79
|
registeredType,
|
|
80
80
|
withRegistered
|
|
81
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-D2I2BUR6.js";
|
|
82
82
|
import {
|
|
83
83
|
measureResolvedRequest,
|
|
84
84
|
resolveChartRequest
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-K3METEEY.js";
|
|
86
86
|
import {
|
|
87
87
|
belowTableViewportFloor,
|
|
88
88
|
columnHeadText
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-ZDQ2EWWH.js";
|
|
90
90
|
import {
|
|
91
91
|
arrowGlyph,
|
|
92
92
|
arrowKey,
|
|
@@ -115,10 +115,10 @@ import {
|
|
|
115
115
|
visibleColumns,
|
|
116
116
|
visibleInlineRows,
|
|
117
117
|
visibleRows
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-TGTKAIDU.js";
|
|
119
119
|
import {
|
|
120
120
|
lastObservedIndex
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-2MK5437T.js";
|
|
122
122
|
import {
|
|
123
123
|
ENGINE_NOTES,
|
|
124
124
|
LABEL_WRAP_FLOOR,
|
|
@@ -129,19 +129,19 @@ import {
|
|
|
129
129
|
pinnedColumns,
|
|
130
130
|
trackTemplate,
|
|
131
131
|
trackTotal
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-ELFF5YO7.js";
|
|
133
133
|
import {
|
|
134
134
|
chartString
|
|
135
|
-
} from "./chunk-
|
|
135
|
+
} from "./chunk-OJLXBFI3.js";
|
|
136
136
|
import {
|
|
137
137
|
hasPolarityBadge,
|
|
138
138
|
isFigureCell,
|
|
139
139
|
polarityBadgeInk
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-MUYU6KTM.js";
|
|
141
141
|
import {
|
|
142
142
|
DEFAULT_EMPTY_MESSAGE,
|
|
143
143
|
hasNoDataRows
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-BFHAYXUU.js";
|
|
145
145
|
import {
|
|
146
146
|
chartRefusals,
|
|
147
147
|
isSizeDependentRefusal,
|
|
@@ -149,19 +149,19 @@ import {
|
|
|
149
149
|
} from "./chunk-YKYK6C7F.js";
|
|
150
150
|
import {
|
|
151
151
|
resolvePaint
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
153
153
|
import {
|
|
154
154
|
AUTHORED_EXAMPLES,
|
|
155
155
|
UNIT_STAND_INS
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-5OUURZ2T.js";
|
|
157
157
|
import {
|
|
158
158
|
canvasMargin,
|
|
159
159
|
textScaleOf
|
|
160
|
-
} from "./chunk-
|
|
160
|
+
} from "./chunk-4NGKSJBX.js";
|
|
161
161
|
import {
|
|
162
162
|
DeferredCoreError,
|
|
163
163
|
asFirstFrame
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-6RRK3VFP.js";
|
|
165
165
|
import {
|
|
166
166
|
resolveCanvasOptions,
|
|
167
167
|
resolveSize
|
|
@@ -170,7 +170,7 @@ import {
|
|
|
170
170
|
defaultMeasurer,
|
|
171
171
|
splitNameBreaks,
|
|
172
172
|
wrapText
|
|
173
|
-
} from "./chunk-
|
|
173
|
+
} from "./chunk-77LQEREO.js";
|
|
174
174
|
import {
|
|
175
175
|
plainText
|
|
176
176
|
} from "./chunk-SRUV7AT6.js";
|
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
sharedKeys10,
|
|
5
5
|
sharedKeys5,
|
|
6
6
|
sharedKeys9
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5LUHGXXE.js";
|
|
8
8
|
import {
|
|
9
9
|
optionKeyCheck
|
|
10
10
|
} from "./chunk-Z6H5ED2I.js";
|
|
11
11
|
import {
|
|
12
12
|
createChartComponent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-35JGEMCK.js";
|
|
14
14
|
import {
|
|
15
15
|
comboCore
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ISNWAYX2.js";
|
|
17
17
|
import {
|
|
18
18
|
registeredType
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-D2I2BUR6.js";
|
|
20
20
|
|
|
21
21
|
// src/react/charts/combo.ts
|
|
22
22
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, categoryLabels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, categoryAxis: { dateTicks: 0 }, secondaryAxis: { acknowledge: 0, domain: 0, format: 0, show: 0, ruler: { of: 0, total: 0, ticks: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0 }, window: { last: 0 }, anomaly: { method: 0, k: 0, baseline: 0, label: 0, low: 0, high: 0 }, axisTitles: { primary: 0, secondary: 0 }, interpolate: 0, dualAxis: { anatomy: 0, growth: 0 }, valueLabels: 0, latestPoint: 0, averageMarker: { scope: 0, includePartial: 0 }, referenceStyle: 0, referenceTick: { width: 0, color: 0 }, events: sharedKeys1 }, labels: ["category", "segment", "point", "grandTotal", "tick", "axisTitle"] }), ComboChart = createChartComponent(registeredType(comboCore), checkOptionKeys);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bandFloorSizing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HV6OKHM6.js";
|
|
4
4
|
import {
|
|
5
5
|
positionBarLabel,
|
|
6
6
|
refuseLabelPosition
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MYDVNJAA.js";
|
|
8
8
|
import {
|
|
9
9
|
valueLineExtent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XKGZWQF7.js";
|
|
11
11
|
import {
|
|
12
12
|
warnMissingValue
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4SK4IGMK.js";
|
|
14
14
|
import {
|
|
15
15
|
percentLevels,
|
|
16
16
|
runAnnotatePass
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KWKJYMXJ.js";
|
|
18
18
|
import {
|
|
19
19
|
breakUnsupported,
|
|
20
20
|
chartTheme
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
22
22
|
import {
|
|
23
23
|
topNCut,
|
|
24
24
|
topNOmitted,
|
|
25
25
|
topNRestUnsupported
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HCAPGTEA.js";
|
|
27
27
|
import {
|
|
28
28
|
VALUE_LINE_RESERVE,
|
|
29
29
|
hiddenValueLineReserve
|
|
30
30
|
} from "./chunk-R4MVXUAG.js";
|
|
31
31
|
import {
|
|
32
32
|
structureCount
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IHZNRJEV.js";
|
|
34
34
|
import {
|
|
35
35
|
PLOT_FLOOR_RECT,
|
|
36
36
|
applyAxisBounds,
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
valueAxisTitleRequest,
|
|
56
56
|
yearRowRequests,
|
|
57
57
|
yieldToRotatedName
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
59
59
|
import {
|
|
60
60
|
prepareFractionData
|
|
61
61
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -90,10 +90,10 @@ import {
|
|
|
90
90
|
toDateRoom,
|
|
91
91
|
withAuthoredFootnotes,
|
|
92
92
|
withUnprintedClaims
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
94
94
|
import {
|
|
95
95
|
disclosureNote
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-I3UJHKCS.js";
|
|
97
97
|
import {
|
|
98
98
|
emptyIdRecord
|
|
99
99
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -111,12 +111,12 @@ import {
|
|
|
111
111
|
signedFormatterFromExample,
|
|
112
112
|
specUnitKind,
|
|
113
113
|
withUnit
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-BHO5H4AF.js";
|
|
115
115
|
import {
|
|
116
116
|
PERCENTAGE_POINTS,
|
|
117
117
|
chartStrings,
|
|
118
118
|
formatAutomaticPercent
|
|
119
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-5OUURZ2T.js";
|
|
120
120
|
import {
|
|
121
121
|
cellMeta,
|
|
122
122
|
cellValue,
|
|
@@ -146,7 +146,7 @@ import {
|
|
|
146
146
|
signedFillPaint,
|
|
147
147
|
strokeToken,
|
|
148
148
|
textScaleOf
|
|
149
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-4NGKSJBX.js";
|
|
150
150
|
import {
|
|
151
151
|
DEFAULT_TARGET,
|
|
152
152
|
NormalizeError,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
} from "./chunk-RJICOOB3.js";
|
|
162
162
|
import {
|
|
163
163
|
defaultMeasurer
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-77LQEREO.js";
|
|
165
165
|
import {
|
|
166
166
|
maxOf,
|
|
167
167
|
pushAll
|
|
@@ -6,25 +6,25 @@ import {
|
|
|
6
6
|
formattedValueText,
|
|
7
7
|
ownerContains,
|
|
8
8
|
signedPercentText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-476R7YF4.js";
|
|
10
10
|
import {
|
|
11
11
|
eventHeading,
|
|
12
12
|
eventReading
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-6QQPQ2TX.js";
|
|
14
14
|
import {
|
|
15
15
|
composedTextRole,
|
|
16
16
|
fitText,
|
|
17
17
|
lineBox
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
19
19
|
import {
|
|
20
20
|
parseFormatExample,
|
|
21
21
|
roundedNumber,
|
|
22
22
|
unitMagnitude
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BHO5H4AF.js";
|
|
24
24
|
import {
|
|
25
25
|
chartStrings,
|
|
26
26
|
joinSentences
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-5OUURZ2T.js";
|
|
28
28
|
import {
|
|
29
29
|
boxGap,
|
|
30
30
|
panelTypeClass,
|
|
@@ -33,16 +33,16 @@ import {
|
|
|
33
33
|
resolveSurface,
|
|
34
34
|
resolveTheme,
|
|
35
35
|
strokeToken
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-4NGKSJBX.js";
|
|
37
37
|
import {
|
|
38
38
|
mixColors,
|
|
39
39
|
parseColor,
|
|
40
40
|
relativeLuminance
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-6RRK3VFP.js";
|
|
42
42
|
import {
|
|
43
43
|
defaultMeasurer,
|
|
44
44
|
graphemes
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-77LQEREO.js";
|
|
46
46
|
import {
|
|
47
47
|
maxOf,
|
|
48
48
|
pushAll
|
|
@@ -653,10 +653,16 @@ function overlayInputs(request, geometry) {
|
|
|
653
653
|
}), visit(child.geometry, fullPath, origin, theme);
|
|
654
654
|
}
|
|
655
655
|
};
|
|
656
|
-
|
|
656
|
+
visit(geometry, request.scope.panel, { x: 0, y: 0 });
|
|
657
|
+
let stack = geometry.derived?.metricStack;
|
|
658
|
+
return {
|
|
657
659
|
plot: { ...geometry.plot },
|
|
658
660
|
occupied: geometry.debug.occupied.map((item) => ({ ...item, rect: { ...item.rect }, owner: { ...item.owner } })),
|
|
659
|
-
...panels.length ? { panels } : {}
|
|
661
|
+
...panels.length ? { panels } : {},
|
|
662
|
+
...stack?.focusBand ? { focusBand: {
|
|
663
|
+
rect: { ...stack.focusBand },
|
|
664
|
+
panels: stack.panels.map((panel) => ({ panel: panel.id, plot: { ...panel.plot } }))
|
|
665
|
+
} } : {}
|
|
660
666
|
};
|
|
661
667
|
}
|
|
662
668
|
function panelOverlayTheme(panel, inherited) {
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
COLUMN_GAP,
|
|
6
6
|
COLUMN_MIN_WIDTH,
|
|
7
7
|
columnWidth
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U4PDXI67.js";
|
|
9
9
|
import {
|
|
10
10
|
layoutBar
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KU5WGRQJ.js";
|
|
12
12
|
import {
|
|
13
13
|
DEFER_ADJACENT,
|
|
14
14
|
EXACT_DOMAIN,
|
|
@@ -21,22 +21,22 @@ import {
|
|
|
21
21
|
} from "./chunk-4PKUS5MG.js";
|
|
22
22
|
import {
|
|
23
23
|
INSIDE_MIN_H
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-XBASXPUJ.js";
|
|
25
25
|
import {
|
|
26
26
|
marginBracketLayout
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-YJGZ3AOW.js";
|
|
28
28
|
import {
|
|
29
29
|
shareDrift
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4SK4IGMK.js";
|
|
31
31
|
import {
|
|
32
32
|
BAND_PAD
|
|
33
33
|
} from "./chunk-R4MVXUAG.js";
|
|
34
34
|
import {
|
|
35
35
|
labelOn
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-OQGSYQLE.js";
|
|
37
37
|
import {
|
|
38
38
|
structureCount
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IHZNRJEV.js";
|
|
40
40
|
import {
|
|
41
41
|
alignedRight,
|
|
42
42
|
authoredTrackWidth,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
chartSizing,
|
|
52
52
|
heightOmitted,
|
|
53
53
|
rowSizing
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
55
55
|
import {
|
|
56
56
|
HOST_CLAIMS,
|
|
57
57
|
PRIORITY,
|
|
@@ -63,12 +63,12 @@ import {
|
|
|
63
63
|
resolvePaintWarnings,
|
|
64
64
|
withAuthoredFootnotes,
|
|
65
65
|
withUnprintedClaims
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
67
67
|
import {
|
|
68
68
|
disclosureNote,
|
|
69
69
|
keepShownNotes,
|
|
70
70
|
methodNote
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-I3UJHKCS.js";
|
|
72
72
|
import {
|
|
73
73
|
emptyIdRecord
|
|
74
74
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -81,10 +81,10 @@ import {
|
|
|
81
81
|
roundedNumber,
|
|
82
82
|
ruleFormatter,
|
|
83
83
|
withChartMarks
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-BHO5H4AF.js";
|
|
85
85
|
import {
|
|
86
86
|
chartStrings
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-5OUURZ2T.js";
|
|
88
88
|
import {
|
|
89
89
|
canvasMargin,
|
|
90
90
|
colorblindPaint,
|
|
@@ -98,10 +98,10 @@ import {
|
|
|
98
98
|
signedFillPaint,
|
|
99
99
|
themeForWidth,
|
|
100
100
|
unionRect
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-4NGKSJBX.js";
|
|
102
102
|
import {
|
|
103
103
|
PALETTE_NORMAL_FLOOR
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-6RRK3VFP.js";
|
|
105
105
|
import {
|
|
106
106
|
NormalizeError,
|
|
107
107
|
TARGET_SIZE,
|
|
@@ -110,8 +110,9 @@ import {
|
|
|
110
110
|
} from "./chunk-RJICOOB3.js";
|
|
111
111
|
import {
|
|
112
112
|
defaultMeasurer,
|
|
113
|
+
isCachedTextMeasurer,
|
|
113
114
|
wrapText
|
|
114
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-77LQEREO.js";
|
|
115
116
|
import {
|
|
116
117
|
maxOf,
|
|
117
118
|
minOf,
|
|
@@ -599,7 +600,7 @@ function layoutLikert(data, options) {
|
|
|
599
600
|
...positiveIndices.map((i) => seriesIdOf(i))
|
|
600
601
|
], legend = resolveLegend(opts.legend, legendOrder, warnings), netExample = `+${formatExampleText(opts.format ?? DEFAULT_SHARE_FORMAT).replace(/%/g, "")}`, netLabelExample = netExample, halves = oddScale && neutralMode === "split" ? { neg: seriesIdOf(neutralIndex, "neg"), pos: seriesIdOf(neutralIndex, "pos") } : void 0, optionOf = new Map(halves ? [[halves.neg, scale[neutralIndex].id], [halves.pos, scale[neutralIndex].id]] : []);
|
|
601
602
|
scale.forEach((option, i) => optionOf.set(seriesIdOf(i), option.id));
|
|
602
|
-
let likertClaims = ({ kind, owner: { seriesId, categoryId } }) => kind === "grandTotal" && summary === "net" ? [`likert:net:${categoryId}`] : kind === "segment" && optionOf.has(seriesId ?? "") ? [claimId("likert:share", categoryId, optionOf.get(seriesId))] : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text: baseFmt(item.base) }]) : [], { label: labelOverride, net: netOverride, base: baseOverride } = opts.columnOverrides ?? {}, baseHeadText = baseOverride?.label ?? chartString(opts, "baseHead"), baseNaturalW = baseTexts.length === 0 ? 0 : columnWidth(measure, baseTexts.map((cell) => ({ text: cell.text, font: statementFont })), { text: baseHeadText, font: statementFont }), netDrawn = summary === "net" && !comparing, nameDrawn = !stacked && labelOn(opts, "category"), plotFloor = trackPlotFloor(statementW), netRoom = netDrawn ? measure(netOverride?.label ?? chartString(opts, "netPp"), statementFont).width + COLUMN_GAP : 0, baseNaturalRoom = baseNaturalW > 0 ? baseNaturalW + COLUMN_GAP : 0, nameTrack = !nameDrawn || labelOverride?.width === void 0 ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, statementW - plotFloor - netRoom - baseNaturalRoom, warnings), baseW = baseNaturalW === 0 || baseOverride?.width === void 0 ? baseNaturalW : authoredTrackWidth("base", baseOverride.width, baseNaturalW, statementW - plotFloor - COLUMN_GAP - netRoom - (nameTrack ?? 0), warnings), baseReserve = baseW > 0 ? baseW + COLUMN_GAP : 0;
|
|
603
|
+
let likertClaims = ({ kind, owner: { seriesId, categoryId } }) => kind === "grandTotal" && summary === "net" ? [`likert:net:${categoryId}`] : kind === "segment" && optionOf.has(seriesId ?? "") ? [claimId("likert:share", categoryId, optionOf.get(seriesId))] : void 0, comparing = (opts.annotations ?? []).some((annotation) => annotation.kind === "cagr" || annotation.kind === "diff"), rightRoom = comparing ? 0 : void 0, brackets = {}, canvas = resolveSize(opts.size), fixedRows = theme.space.barRow !== void 0, stacked = canvas.width <= STACKED_MAX_WIDTH && !fixedRows && opts.bandFraction === void 0 && panelTypeClass(opts) === void 0, checkBarNaturalHeight = !stacked || !!opts.annotations?.length || !isCachedTextMeasurer(measure), defaultFraction = fixedRows ? void 0 : BAND_FRACTION, statementFont = { family: theme.type.family, ...theme.type.label }, statementLineH = statementFont.size * (statementFont.lineHeight ?? 1.2), margin = { ...canvasMargin(theme, canvas.width), ...opts.margin }, statementW = Math.max(40, canvas.width - margin.left - margin.right), statements = stacked ? ordered.map((item) => wrapText(item.label, statementFont, statementW, 8, measure).lines) : [], statementH = statements.length ? maxOf(statements.map((lines) => lines.length)) * statementLineH : 0, rowBases = ordered.flatMap((item) => item.base === void 0 ? [] : [item.base]), baseWanted = (opts.base ?? "column") === "column" && rowBases.length > 0 && canvas.width >= COLUMN_MIN_WIDTH && !comparing, sharedBase = baseWanted && rowBases.length === ordered.length && maxOf(rowBases) === minOf(rowBases) ? rowBases[0] : void 0, baseTexts = baseWanted && sharedBase === void 0 ? ordered.flatMap((item) => item.base === void 0 ? [] : [{ id: item.id, text: baseFmt(item.base) }]) : [], { label: labelOverride, net: netOverride, base: baseOverride } = opts.columnOverrides ?? {}, baseHeadText = baseOverride?.label ?? chartString(opts, "baseHead"), baseNaturalW = baseTexts.length === 0 ? 0 : columnWidth(measure, baseTexts.map((cell) => ({ text: cell.text, font: statementFont })), { text: baseHeadText, font: statementFont }), netDrawn = summary === "net" && !comparing, nameDrawn = !stacked && labelOn(opts, "category"), plotFloor = trackPlotFloor(statementW), netRoom = netDrawn ? measure(netOverride?.label ?? chartString(opts, "netPp"), statementFont).width + COLUMN_GAP : 0, baseNaturalRoom = baseNaturalW > 0 ? baseNaturalW + COLUMN_GAP : 0, nameTrack = !nameDrawn || labelOverride?.width === void 0 ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, statementW - plotFloor - netRoom - baseNaturalRoom, warnings), baseW = baseNaturalW === 0 || baseOverride?.width === void 0 ? baseNaturalW : authoredTrackWidth("base", baseOverride.width, baseNaturalW, statementW - plotFloor - COLUMN_GAP - netRoom - (nameTrack ?? 0), warnings), baseReserve = baseW > 0 ? baseW + COLUMN_GAP : 0;
|
|
603
604
|
columnOverrideWarnings("likert", opts.columnOverrides, [...nameDrawn ? ["label"] : [], ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []], ["net", "base"], warnings);
|
|
604
605
|
let blockIds = ["plot", ...netDrawn ? ["net"] : [], ...baseW > 0 ? ["base"] : []];
|
|
605
606
|
warnings.push(...generatedIdWarnings("likert", "columnOrder", opts.columnOrder, blockIds));
|
|
@@ -644,7 +645,8 @@ function layoutLikert(data, options) {
|
|
|
644
645
|
...netDrawn ? { [TOTAL_COLUMN]: tracks?.rights.net ?? canvas.width - margin.right - baseReserve } : {},
|
|
645
646
|
...rows2.bandPad ? { [BAND_PAD]: rows2.bandPad } : {}
|
|
646
647
|
},
|
|
647
|
-
likertAnnotationPass(data, shares, net, opts.format, brackets)
|
|
648
|
+
likertAnnotationPass(data, shares, net, opts.format, brackets),
|
|
649
|
+
checkBarNaturalHeight
|
|
648
650
|
));
|
|
649
651
|
for (let label of drawn.labels) label.kind === "segment" && label.hidden === "density" && delete label.owed;
|
|
650
652
|
return drawn;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fitBand
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GNSAYVND.js";
|
|
4
4
|
import {
|
|
5
5
|
footnoteSuffix
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
7
7
|
import {
|
|
8
8
|
wrapText
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-77LQEREO.js";
|
|
10
10
|
import {
|
|
11
11
|
maxOf
|
|
12
12
|
} from "./chunk-WYJEOMNY.js";
|