boardplot 0.60.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 +49 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-JJX4J7GC.js → ReaderBox-5QFALZHR.js} +5 -5
- package/dist/{annotateEngine-KNRKDLY3.js → annotateEngine-ONWZYNEM.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-D4SXBDA4.js → chunk-23YYVMWH.js} +1 -1
- package/dist/{chunk-OMUW75ZR.js → chunk-2MK5437T.js} +7 -7
- package/dist/{chunk-CDFZV6LR.js → chunk-2P5KBQLT.js} +4 -4
- package/dist/{chunk-EH23CIC5.js → chunk-2VUEIEUO.js} +2 -2
- package/dist/{chunk-TASEX7VA.js → chunk-2YXO645A.js} +1 -1
- package/dist/{chunk-YHIBABKS.js → chunk-35JGEMCK.js} +35 -28
- package/dist/{chunk-XWGAANY4.js → chunk-3DXOZRRW.js} +3 -3
- package/dist/{chunk-PP23D6QV.js → chunk-3H72EFNC.js} +4 -4
- package/dist/{chunk-RDJ3ZU6O.js → chunk-3KYSWAEH.js} +13 -8
- package/dist/{chunk-XMRLQDOR.js → chunk-3QJVBKRX.js} +37 -37
- package/dist/{chunk-XVFUJRRC.js → chunk-3YSLEJPV.js} +1 -1
- package/dist/{chunk-DBKMJWPO.js → chunk-3Z4I6LNK.js} +1 -1
- package/dist/{chunk-J5QVU7GS.js → chunk-476R7YF4.js} +24 -20
- package/dist/{chunk-MA57XWZA.js → chunk-47IEMR6C.js} +85 -79
- package/dist/{chunk-ZNA4JHHG.js → chunk-4HZKH4HS.js} +2 -2
- package/dist/{chunk-CQ6WHTRL.js → chunk-4NGKSJBX.js} +109 -23
- package/dist/{chunk-DEJKDFS3.js → chunk-4SK4IGMK.js} +3 -3
- package/dist/{chunk-OL6HVC6K.js → chunk-4TTNLFTJ.js} +1 -1
- package/dist/{chunk-L2VWHKTJ.js → chunk-4XDWZJUX.js} +3 -1
- package/dist/{chunk-66FOKRUF.js → chunk-5FG24HFB.js} +4 -4
- package/dist/{chunk-HLQ74GAX.js → chunk-5J2PQ5EZ.js} +4 -4
- package/dist/{chunk-7BQK2UDV.js → chunk-5LUHGXXE.js} +1 -1
- package/dist/{chunk-FYFXOLWI.js → chunk-5OUURZ2T.js} +70 -58
- package/dist/{chunk-UNO3WZR2.js → chunk-64D7CHCE.js} +4 -4
- package/dist/{chunk-SBYKLBDV.js → chunk-6LYMOF2S.js} +4 -4
- package/dist/{chunk-52YYGKXG.js → chunk-6MXRNA4Z.js} +17 -17
- package/dist/{chunk-IDVHLD2L.js → chunk-6OM5IYNK.js} +68 -11
- package/dist/{chunk-B7UWG6XJ.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-OYLZRQTX.js → chunk-6XDX3MIU.js} +5 -5
- package/dist/{chunk-5XAU6JH5.js → chunk-75OLP5KB.js} +35 -35
- package/dist/{chunk-UIHGGWES.js → chunk-77LQEREO.js} +1 -1
- package/dist/{chunk-PRVX4PAO.js → chunk-7JSGG67J.js} +1 -1
- package/dist/{chunk-RTN422GQ.js → chunk-7NUNEVOU.js} +14 -9
- package/dist/{chunk-2ZDFX75P.js → chunk-7OT6CVQT.js} +1 -1
- package/dist/{chunk-QCDJGYFU.js → chunk-7R43Y35G.js} +1 -1
- package/dist/{chunk-XLX3TUFO.js → chunk-7RAF2HJA.js} +2 -2
- package/dist/{chunk-CROGQZFW.js → chunk-7S57SH2K.js} +9 -9
- package/dist/{chunk-LWRLVDFU.js → chunk-7ZYGEPY2.js} +52 -28
- package/dist/{chunk-N5DPRWQ6.js → chunk-ABUJPENV.js} +53 -42
- package/dist/{chunk-C63YFMCB.js → chunk-ADVFTNDL.js} +4 -4
- package/dist/{chunk-MOPY5REE.js → chunk-AFONROHX.js} +3 -3
- package/dist/{chunk-EGCELTRX.js → chunk-AO73FLJT.js} +4 -4
- package/dist/{chunk-U75MMLNQ.js → chunk-AU2TQN6F.js} +4 -4
- package/dist/{chunk-34XJCEPN.js → chunk-BFHAYXUU.js} +2 -2
- package/dist/{chunk-UKEI7JDA.js → chunk-BFJKH4AX.js} +3 -2
- package/dist/{chunk-3JG764MI.js → chunk-BHO5H4AF.js} +43 -15
- package/dist/{chunk-T73SF424.js → chunk-BKZF27CE.js} +2 -2
- package/dist/{chunk-BXZNLMMH.js → chunk-BR2ADMLU.js} +2 -2
- package/dist/{chunk-BIRB4FIZ.js → chunk-BZUHBKMK.js} +4 -4
- package/dist/{chunk-N7BPP6ZZ.js → chunk-C2X6NYMY.js} +1 -1
- package/dist/{chunk-NOC5PYN3.js → chunk-C3ULVZI7.js} +2 -2
- package/dist/{chunk-JUVSZGY7.js → chunk-CFT6W2QY.js} +3 -3
- package/dist/{chunk-7KIULDTU.js → chunk-CPBJII5T.js} +5 -5
- package/dist/{chunk-LUYV7PHY.js → chunk-CTRPRU4Y.js} +16 -13
- package/dist/{chunk-3HKY4LAR.js → chunk-CWBM7MXM.js} +4 -4
- package/dist/{chunk-ZQ6AEWKM.js → chunk-CZZXZFYL.js} +2 -2
- package/dist/{chunk-TDVNIVU4.js → chunk-D2I2BUR6.js} +1 -1
- package/dist/{chunk-VRG7GG7T.js → chunk-DCFK2BUL.js} +2 -2
- package/dist/{chunk-5OV7VOGV.js → chunk-DVQR5SFL.js} +2 -2
- package/dist/{chunk-GZYMHC44.js → chunk-DWEVPNNE.js} +2 -2
- package/dist/{chunk-RQT52BP4.js → chunk-DYG4XMCC.js} +5 -5
- package/dist/{chunk-PCITI5ED.js → chunk-E46KFVP5.js} +11 -11
- package/dist/{chunk-DITI57ZB.js → chunk-EKKRDPVW.js} +1 -1
- package/dist/{chunk-UGAZT73S.js → chunk-ELFF5YO7.js} +8 -8
- package/dist/{chunk-2KICOGFN.js → chunk-EPRJX5BI.js} +2 -2
- package/dist/{chunk-JOX252XQ.js → chunk-EPS7N5ZS.js} +8 -3
- package/dist/{chunk-AGR4VJ2Y.js → chunk-ERIMFXE3.js} +1 -1
- package/dist/{chunk-TSGSZAAN.js → chunk-ESS7GAO5.js} +15 -15
- package/dist/{chunk-VTUSC24F.js → chunk-EW77WN7V.js} +2 -2
- package/dist/{chunk-CLZPPLDA.js → chunk-F2IGRFYM.js} +57 -33
- package/dist/{chunk-WQ2TZNGR.js → chunk-F7LDXGWD.js} +11 -11
- package/dist/{chunk-SDAVHADX.js → chunk-FC6H5ATA.js} +2 -2
- package/dist/{chunk-ISNHKFCU.js → chunk-FI5VGWUQ.js} +2 -2
- package/dist/{chunk-Q53IWBTJ.js → chunk-FPF73SCJ.js} +18 -15
- package/dist/{chunk-4S3DTNEQ.js → chunk-FSRAPSO7.js} +28 -28
- package/dist/{chunk-ID65JMYY.js → chunk-FXKGNJYB.js} +17 -17
- package/dist/{chunk-25JXYOSX.js → chunk-FXQH2QJN.js} +1 -1
- package/dist/{chunk-GDS7LEGY.js → chunk-GA7CIH6N.js} +23 -18
- package/dist/{chunk-GYEBEF4S.js → chunk-GCOFMXFJ.js} +5 -5
- package/dist/{chunk-Q4SQGAEI.js → chunk-GGWYJNHH.js} +4 -4
- package/dist/{chunk-64M7YDMJ.js → chunk-GNSAYVND.js} +2 -2
- package/dist/{chunk-X725AGYP.js → chunk-H7K3RXBQ.js} +2 -2
- package/dist/{chunk-I5LFCHNQ.js → chunk-HCAPGTEA.js} +1 -1
- package/dist/{chunk-RF6ZHX5F.js → chunk-HUU76QHF.js} +1 -1
- package/dist/{chunk-TZOHCW4R.js → chunk-HV6OKHM6.js} +1 -1
- package/dist/{chunk-7OLE7R46.js → chunk-HYBGISXA.js} +3 -3
- package/dist/{chunk-E7GO4KFZ.js → chunk-I37SEVQ4.js} +127 -79
- package/dist/{chunk-ZCOGCNT7.js → chunk-I3UJHKCS.js} +3 -3
- package/dist/{chunk-VSAX2PYB.js → chunk-I56NIVFF.js} +4 -4
- package/dist/{chunk-2KDELDD4.js → chunk-IDMGFWB7.js} +134 -116
- package/dist/{chunk-YDYZWCUQ.js → chunk-IHZNRJEV.js} +1 -1
- package/dist/{chunk-EFU2RCCR.js → chunk-IMKHDTEQ.js} +1 -1
- package/dist/{chunk-PYJZ7CCP.js → chunk-ISNWAYX2.js} +3 -3
- package/dist/{chunk-6IRPZUWJ.js → chunk-ITPXKZXT.js} +83 -79
- package/dist/{chunk-PS45RNDC.js → chunk-J233F6JA.js} +3 -3
- package/dist/{chunk-PSUSHJFV.js → chunk-J6WWK4VC.js} +1 -1
- package/dist/{chunk-DXKMCMIH.js → chunk-J77EYTIA.js} +2 -2
- package/dist/{chunk-D7FFMBHF.js → chunk-JCZ64D4G.js} +4 -4
- package/dist/{chunk-LUIHWUZB.js → chunk-JEC6YG2C.js} +34 -20
- package/dist/{chunk-BNBCHZ6D.js → chunk-JV3S3OCN.js} +19 -18
- package/dist/{chunk-7KZN3TXQ.js → chunk-K2ZDFPYP.js} +5 -5
- package/dist/{chunk-WPHEUEO3.js → chunk-K3METEEY.js} +133 -30
- package/dist/{chunk-WWFUZXCW.js → chunk-K464WFSQ.js} +4 -4
- package/dist/{chunk-T52ZPSGL.js → chunk-KDRI3KHH.js} +7 -2
- package/dist/{chunk-K7CONTAT.js → chunk-KK7UXU2E.js} +3 -3
- package/dist/{chunk-5SPL5QEB.js → chunk-KNTNUQNS.js} +8 -8
- package/dist/{chunk-QZAT46PP.js → chunk-KRSI6U6L.js} +1 -0
- package/dist/{chunk-SC2363Q7.js → chunk-KU5WGRQJ.js} +72 -44
- package/dist/{chunk-C7SY7RYQ.js → chunk-KWBG3P7W.js} +4 -4
- package/dist/{chunk-ZXT3OS6U.js → chunk-KWKJYMXJ.js} +3 -3
- package/dist/{chunk-XKKII2K5.js → chunk-KWTVCTWS.js} +246 -83
- package/dist/{chunk-ZOQRX5V7.js → chunk-KZ7ECRPL.js} +4 -4
- package/dist/{chunk-VCENIUYM.js → chunk-L46NAICE.js} +5 -5
- package/dist/{chunk-2OKDNNCY.js → chunk-L4VGGSB3.js} +4 -4
- package/dist/{chunk-76IZNTNL.js → chunk-L6T7FXEM.js} +6 -6
- package/dist/{chunk-2E2MK4XM.js → chunk-LE6QYQRU.js} +2 -2
- package/dist/{chunk-WDLWWEHZ.js → chunk-LIMLKOX7.js} +1 -1
- package/dist/{chunk-2FSJFKUH.js → chunk-LK5V7U6C.js} +5 -5
- package/dist/{chunk-6RQCZA7X.js → chunk-LNBYRD5Q.js} +4 -4
- package/dist/{chunk-CVLTU3T4.js → chunk-LTEGXWSU.js} +4 -4
- package/dist/{chunk-MXC5QMPC.js → chunk-LUIHCUMB.js} +4 -4
- package/dist/{chunk-GOVRBONO.js → chunk-MAA5IGGT.js} +2 -2
- package/dist/{chunk-RLRVSX4I.js → chunk-MDGVRYXX.js} +20 -20
- package/dist/{chunk-7TGG57QF.js → chunk-MEIDC7ZF.js} +4 -4
- package/dist/{chunk-RWVM4EVE.js → chunk-MTJZT6F2.js} +5 -5
- package/dist/{chunk-AXKZLSON.js → chunk-MUYU6KTM.js} +1 -1
- package/dist/{chunk-RPS7G77V.js → chunk-MVA2JWM4.js} +2 -2
- package/dist/{chunk-LCTLW4ZW.js → chunk-MYDVNJAA.js} +1 -1
- package/dist/{chunk-3PFNYRBD.js → chunk-NFEVGJJ6.js} +13 -13
- package/dist/{chunk-HXAWJC32.js → chunk-NFSG2WBI.js} +4 -4
- package/dist/{chunk-K7NCVUIB.js → chunk-NFYF7P6H.js} +36 -28
- package/dist/{chunk-ZT7QX7UQ.js → chunk-NL2K3CZM.js} +5 -5
- package/dist/{chunk-A2RKEC66.js → chunk-NTONEZH5.js} +20 -20
- package/dist/{chunk-GGXAAOKT.js → chunk-NTSJ2RXB.js} +4 -4
- package/dist/{chunk-OJWJMG6B.js → chunk-NVPORMKX.js} +15 -15
- package/dist/{chunk-NJNMKQHG.js → chunk-NXA2CNVU.js} +125 -31
- package/dist/{chunk-R2RLERPT.js → chunk-NYROTVGH.js} +1 -1
- package/dist/{chunk-W74Y5AUG.js → chunk-NZHIXLKM.js} +19 -17
- package/dist/{chunk-UIOZDIUB.js → chunk-OCANU74G.js} +3 -3
- package/dist/{chunk-IF4PERIE.js → chunk-OF4VHET3.js} +4 -4
- package/dist/{chunk-UXJXA4NP.js → chunk-OJLXBFI3.js} +1 -1
- package/dist/{chunk-5HOIOQK3.js → chunk-OLXZXEKQ.js} +1 -1
- package/dist/{chunk-UNBUFCQT.js → chunk-OQGSYQLE.js} +1 -1
- package/dist/{chunk-MZCJ22O4.js → chunk-OQQGM2TM.js} +1 -1
- package/dist/{chunk-FPWADEL6.js → chunk-OQRTTGYP.js} +22 -1
- package/dist/{chunk-XUEX5WTR.js → chunk-OQTD4GN4.js} +1 -1
- package/dist/{chunk-HOQJIUTX.js → chunk-OXWIBDJP.js} +2 -2
- package/dist/{chunk-F7QCIJAY.js → chunk-OYDZO5BR.js} +1 -1
- package/dist/{chunk-5PC6VOEW.js → chunk-PDUF6EII.js} +9 -9
- package/dist/{chunk-GEFUIQUO.js → chunk-PHRQAWK4.js} +2 -2
- package/dist/{chunk-NF74JTTK.js → chunk-PM5D5KYQ.js} +67 -30
- package/dist/{chunk-QF6NFIBD.js → chunk-Q5BD6PMX.js} +22 -22
- package/dist/{chunk-UHFSDVW2.js → chunk-QEEE2WH5.js} +4 -4
- package/dist/{chunk-BG2RBCJP.js → chunk-QMGCL5FR.js} +4 -4
- package/dist/{chunk-DXSYY6XR.js → chunk-QMZPQU65.js} +2 -2
- package/dist/{chunk-7VWXXBTC.js → chunk-QSNEZ4UR.js} +1 -1
- package/dist/{chunk-BHYY6VMQ.js → chunk-QSWLPQCW.js} +27 -23
- package/dist/{chunk-LVC2YJGV.js → chunk-R55LS2W2.js} +28 -28
- package/dist/{chunk-BLTQ2L6U.js → chunk-RDXJAEZ4.js} +4 -4
- package/dist/{chunk-OVYQJDRW.js → chunk-RDZNRSAB.js} +2 -2
- package/dist/{chunk-VHZ4MXJO.js → chunk-RFUSBITY.js} +1 -1
- package/dist/{chunk-4VKYFELK.js → chunk-RIGQU57Y.js} +7 -7
- package/dist/{chunk-DEUOC3IL.js → chunk-RNA5GO3B.js} +2 -2
- package/dist/{chunk-IFRDI7EF.js → chunk-RODV3OHP.js} +294 -180
- package/dist/{chunk-CPKPQQV6.js → chunk-RPK657TE.js} +16 -2
- package/dist/{chunk-HMWN6FTW.js → chunk-SAVO62PW.js} +1 -1
- package/dist/{chunk-3ADWX4BM.js → chunk-SB2DHY53.js} +18 -18
- package/dist/{chunk-BIQ5LJEC.js → chunk-SBHPRHKB.js} +4 -4
- package/dist/{chunk-TMY4PWDQ.js → chunk-SBPFCQNK.js} +4 -4
- package/dist/{chunk-PZZAVTLQ.js → chunk-SFPHP3CC.js} +2 -2
- package/dist/{chunk-PLVYTK2H.js → chunk-SIZW5V4G.js} +18 -14
- package/dist/{chunk-Y4BJ7D5F.js → chunk-SJ5KVLTG.js} +1 -1
- package/dist/{chunk-PGZGBVTS.js → chunk-SJZLWRRY.js} +8 -8
- package/dist/{chunk-A3AKNPLZ.js → chunk-SOAB4G33.js} +4 -4
- package/dist/{chunk-LPLRXEOT.js → chunk-ST2IQX7U.js} +57 -17
- package/dist/{chunk-E4XQSRH6.js → chunk-T33R2CM3.js} +7 -7
- package/dist/{chunk-FWPPZB4G.js → chunk-T4ZE7AIX.js} +2 -2
- package/dist/{chunk-HTXICOSJ.js → chunk-TCQ733WC.js} +15 -15
- package/dist/{chunk-J3GYX5BJ.js → chunk-TGTKAIDU.js} +20 -15
- package/dist/{chunk-AE6X6RRH.js → chunk-U4PDXI67.js} +4 -4
- package/dist/{chunk-JXMOPQXC.js → chunk-UGTYYTPP.js} +2 -2
- package/dist/{chunk-Y5ROVCMQ.js → chunk-UL3RNOYB.js} +3 -3
- package/dist/{chunk-MYBBZNYN.js → chunk-UOTZH4TG.js} +2 -2
- package/dist/{chunk-ZH4DRVFN.js → chunk-UQSH52UJ.js} +4 -4
- package/dist/{chunk-PL43U5GM.js → chunk-UWT66OAR.js} +1 -1
- package/dist/{chunk-QTT4AJY5.js → chunk-V4NJTLJP.js} +14 -14
- package/dist/{chunk-SY7JC3PH.js → chunk-V4YJRZHE.js} +1 -1
- package/dist/{chunk-FP4INYSU.js → chunk-V5Y3CXSU.js} +4 -4
- package/dist/{chunk-TTY4CA7M.js → chunk-VZFPQMYN.js} +9 -9
- package/dist/{chunk-C26Z5AEW.js → chunk-W35C2SL3.js} +3 -3
- package/dist/{chunk-X5I3LGHD.js → chunk-W6ZCXWOK.js} +1 -1
- package/dist/{chunk-TUYKMVYV.js → chunk-WDP7IDGF.js} +13 -13
- package/dist/{chunk-L3B46VGP.js → chunk-WDQJ2DRZ.js} +14 -14
- package/dist/{chunk-3HKL6KJ6.js → chunk-WKBW4JFU.js} +1 -1
- package/dist/chunk-WM65Q3AL.js +69 -0
- package/dist/{chunk-HPNQ3GKK.js → chunk-WO6ZJCAO.js} +4 -4
- package/dist/chunk-WSRGEK5T.js +89 -0
- package/dist/{chunk-NGKZRGQL.js → chunk-WXGBSBHQ.js} +13 -12
- package/dist/{chunk-XDGAJVCG.js → chunk-WXOSGKMS.js} +8 -8
- package/dist/{chunk-6BAUUBP2.js → chunk-XBASXPUJ.js} +2 -2
- package/dist/{chunk-O6E2LWGK.js → chunk-XDDFM3BH.js} +6 -6
- package/dist/{chunk-ENVV7LI4.js → chunk-XJOCPL6R.js} +2 -2
- package/dist/{chunk-ETSWVJB6.js → chunk-XJSI7ZO2.js} +1 -1
- package/dist/chunk-XKGZWQF7.js +63 -0
- package/dist/{chunk-ZLH7XSHV.js → chunk-XLHURGH3.js} +5 -5
- package/dist/{chunk-LGNAFFIL.js → chunk-XWQDNJ36.js} +4 -4
- package/dist/{chunk-ZS24JHBP.js → chunk-YBQ4F27M.js} +4 -4
- package/dist/{chunk-ZIC22PSH.js → chunk-YDT6QZZK.js} +9 -9
- package/dist/{chunk-BJS6TLLE.js → chunk-YE6B7P6Q.js} +1 -1
- package/dist/{chunk-UF7OWARN.js → chunk-YERTQ576.js} +4 -4
- package/dist/{chunk-GNK7RTO4.js → chunk-YF4DIQJR.js} +4 -4
- package/dist/{chunk-7XO74NDR.js → chunk-YHLKL4R5.js} +3 -3
- package/dist/{chunk-E6KUWZ5W.js → chunk-YHSY6CVM.js} +4 -4
- package/dist/{chunk-RYH3JFCL.js → chunk-YJGZ3AOW.js} +2 -2
- package/dist/{chunk-5DTMIKDX.js → chunk-YKK25QM4.js} +4 -4
- package/dist/{chunk-3WC2TA6C.js → chunk-YMBJHKTY.js} +3 -3
- package/dist/{chunk-TLKRYDH3.js → chunk-YTFU2B5K.js} +2 -2
- package/dist/{chunk-AH2L44TR.js → chunk-YUIITZCO.js} +3 -3
- package/dist/{chunk-XHEG2BG6.js → chunk-Z3VCVPYX.js} +1 -1
- package/dist/{chunk-MF6XGFHB.js → chunk-ZB4WVG7Q.js} +7 -3
- package/dist/{chunk-YCTBPRV4.js → chunk-ZCB5MLPW.js} +3 -3
- package/dist/{chunk-DP5CXMZW.js → chunk-ZDQ2EWWH.js} +32 -28
- package/dist/{chunk-FG2VET62.js → chunk-ZG46HLGN.js} +108 -81
- package/dist/chunk-ZGL2P56Z.js +11 -0
- package/dist/{chunk-6USMWXB3.js → chunk-ZIAPNZ6R.js} +4 -4
- package/dist/{chunk-Q7GDGSTK.js → chunk-ZLIVUVIV.js} +28 -16
- package/dist/{chunk-IRCLNPLJ.js → chunk-ZMCTTTR2.js} +4 -4
- package/dist/{chunk-STRN4XOX.js → chunk-ZYJZ624V.js} +5 -5
- package/dist/cli/index.js +2 -2
- package/dist/{core-32KM4AJG.js → core-2DRDBSL7.js} +2 -1
- package/dist/{core-OZLK2EJW.js → core-2VAPYQDA.js} +2 -1
- package/dist/{core-STATMGC7.js → core-3JGHUUZZ.js} +2 -1
- package/dist/{core-6N5ONDKG.js → core-3KMBTZ32.js} +3 -1
- package/dist/{core-J5DSGZZR.js → core-4HEB3CRT.js} +2 -1
- package/dist/{core-2JHH5LLH.js → core-4WT74WGL.js} +3 -1
- package/dist/{core-JFORSZQS.js → core-4ZUNKYYC.js} +2 -1
- package/dist/{core-RYEENVFZ.js → core-5VCTJDQM.js} +2 -1
- package/dist/{core-FRVHGKYW.js → core-AJANHLTB.js} +2 -1
- package/dist/{core-7II27MGX.js → core-AL3TDBHQ.js} +5 -1
- package/dist/{core-AAC2ESXF.js → core-ATBNPTR5.js} +2 -1
- package/dist/{core-REYW2XB3.js → core-BIEUVBZK.js} +3 -1
- package/dist/{core-COGECGZY.js → core-C2CCLPE5.js} +2 -1
- package/dist/{core-XHSGRJDP.js → core-C3VC6YEV.js} +3 -1
- package/dist/{core-V2RMMBMO.js → core-DCWAUTD4.js} +2 -1
- package/dist/{core-X4SPCV6G.js → core-GYDBZC7Q.js} +3 -1
- package/dist/{core-255NAAUA.js → core-H3RRJPQK.js} +2 -1
- package/dist/{core-BTKBKGCU.js → core-HAMHEP3M.js} +3 -1
- package/dist/{core-CELQJZJB.js → core-HRBOWCHO.js} +2 -1
- package/dist/{core-WU6DBIAM.js → core-IHG5XK6Q.js} +2 -1
- package/dist/{core-L4EGZ73S.js → core-JNA7L23P.js} +3 -1
- package/dist/{core-QYAXEGWD.js → core-JTHVZEC4.js} +2 -1
- package/dist/{core-YTTTVHUH.js → core-JXCXTDYK.js} +3 -1
- package/dist/{core-TBQAFBDU.js → core-LL2O5PBD.js} +3 -1
- package/dist/{core-HRHUGQNB.js → core-NNHCWP3B.js} +2 -1
- package/dist/{core-FLCLKSGA.js → core-OM3DGO6B.js} +2 -1
- package/dist/{core-GCYDQRFM.js → core-QH3H6ZPI.js} +2 -1
- package/dist/{core-YVWLKGAN.js → core-QKDNA6KJ.js} +2 -1
- package/dist/{core-W4NG6WON.js → core-R6OE3ORL.js} +2 -1
- package/dist/{core-NARJSEGI.js → core-RZI7LRK3.js} +5 -1
- package/dist/{core-6GE3EMCB.js → core-SXBMOZ3W.js} +2 -1
- package/dist/{core-GETUMW6I.js → core-TXADFQ3I.js} +3 -1
- package/dist/{core-SUFLQLWC.js → core-UOB4JKCT.js} +2 -1
- package/dist/{core-56KTQ7DK.js → core-WIV43MFA.js} +2 -1
- package/dist/{core-W3XIUTU7.js → core-XDPELH2B.js} +4 -1
- package/dist/{core-F7ASDBXB.js → core-YKHQUOAW.js} +2 -1
- package/dist/{core-QLJQOZGJ.js → core-ZXGKAECT.js} +4 -1
- package/dist/{dataTable-OI4CVMFJ.js → dataTable-JBVSQNJX.js} +3 -2
- package/dist/{engine-3SQQ2S5U.js → engine-QUEIPS7M.js} +44 -18
- package/dist/fixtures.js +2 -1
- package/dist/fonts.js +4 -4
- package/dist/index.js +21 -20
- package/dist/{main-TWTT3Q2R.js → main-V264O3WR.js} +8 -7
- package/dist/mcp/server.js +14 -13
- package/dist/react/bar.js +5 -1
- package/dist/react/bartable.js +3 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +4 -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 +4 -1
- package/dist/react/combo.js +4 -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 +6 -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 +4 -1
- package/dist/react/index.js +86 -84
- package/dist/react/kpi.js +3 -1
- package/dist/react/likert.js +5 -1
- package/dist/react/line.js +3 -1
- package/dist/react/mekko.js +4 -1
- package/dist/react/pareto.js +3 -1
- package/dist/react/pie.js +3 -1
- package/dist/react/prepare.js +24 -22
- package/dist/react/pvm.js +4 -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 +4 -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 +4 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +4 -1
- package/dist/{resvg-ZYEZTSUO.js → resvg-M5HJ3ME3.js} +1 -1
- package/dist/{rowsModule-BULW5KS2.js → rowsModule-6UL4SSUC.js} +1 -1
- package/dist/{schema-D3ELHESU.js → schema-3FSG2YXY.js} +1 -1
- package/dist/{schema-PBMYZKBK.js → schema-5PQPGEZQ.js} +1 -1
- package/dist/{schema-SUDJBIHX.js → schema-6LUORZNN.js} +1 -1
- package/dist/{schema-LGYHJPXU.js → schema-6MDHX2E7.js} +1 -1
- package/dist/{schema-4HGZZNUL.js → schema-7HXHGBUN.js} +1 -1
- package/dist/{schema-5SVPR3EU.js → schema-ACOD4XKI.js} +1 -1
- package/dist/{schema-AM2KS6ZC.js → schema-B3I7XBP3.js} +1 -1
- package/dist/{schema-4YIYGGOJ.js → schema-CCOTGURZ.js} +1 -1
- package/dist/{schema-GYVYJEL3.js → schema-E5O7M5KM.js} +1 -1
- package/dist/{schema-PAKZIYQF.js → schema-EWATAK6Z.js} +1 -1
- package/dist/{schema-NNNG7CWG.js → schema-FEBMLOZG.js} +1 -1
- package/dist/{schema-GYTWCCNA.js → schema-FL57LIU2.js} +1 -1
- package/dist/{schema-NI5B642U.js → schema-FTRAVEX3.js} +2 -1
- package/dist/{schema-FBIEOKO2.js → schema-GSKCG2WP.js} +1 -1
- package/dist/{schema-FPDLOIA6.js → schema-HVDY6QXK.js} +1 -1
- package/dist/{schema-XKPUXAVB.js → schema-I267TVQ4.js} +1 -1
- package/dist/{schema-IYLRZNFB.js → schema-IG2WGTQO.js} +1 -1
- package/dist/{schema-YCKUQ3FF.js → schema-ITZQDKSE.js} +1 -1
- package/dist/{schema-C25ECGJL.js → schema-LCOGZNQF.js} +1 -1
- package/dist/{schema-A4U4RDKJ.js → schema-MC3CQNPR.js} +1 -1
- package/dist/{schema-FQWENOJY.js → schema-MP2QNFCN.js} +1 -1
- package/dist/{schema-CBLNGK2F.js → schema-NYCMLGOW.js} +1 -1
- package/dist/{schema-GTLGAPCU.js → schema-OML7XS7J.js} +1 -1
- package/dist/{schema-IYBZPCM4.js → schema-QAAVXXYR.js} +1 -1
- package/dist/{schema-3LRC5TOZ.js → schema-QPYFXSEQ.js} +1 -1
- package/dist/{schema-WDKBCN3V.js → schema-RJBIXN5U.js} +1 -1
- package/dist/{schema-P2JYSV32.js → schema-RW47HWVO.js} +1 -1
- package/dist/{schema-TRPPZCIR.js → schema-S7Q4YR7R.js} +1 -1
- package/dist/{schema-YVBUY7NH.js → schema-SWVWMZY3.js} +1 -1
- package/dist/{schema-LX4EXDTI.js → schema-T3RSFE2V.js} +1 -1
- package/dist/{schema-KPZVLE6A.js → schema-T4CGWZLB.js} +4 -2
- package/dist/{schema-VH4AW62Z.js → schema-TXYKZ5NT.js} +1 -1
- package/dist/{schema-5OLQ54J5.js → schema-U6CZI6XG.js} +1 -1
- package/dist/{schema-SQ2GYLMI.js → schema-XE4WY64H.js} +1 -1
- package/dist/{schema-HAMPGUH3.js → schema-YDWVXQPK.js} +1 -1
- package/dist/{schema-KBV2JB2A.js → schema-YPGXVI22.js} +1 -1
- package/dist/{schema-2ACHQTR3.js → schema-ZMOIP2BK.js} +1 -1
- package/dist/{specValidation-5J6DDCHF.js → specValidation-6LVTTHZI.js} +2 -1
- package/dist/theme.js +3 -3
- package/dist/{themeShapeRules-MOUDTDUB.js → themeShapeRules-NDEXKFC7.js} +1 -1
- package/dist/types/core/annotate.d.ts +9 -0
- package/dist/types/core/annotateFields.d.ts +36 -1
- package/dist/types/core/annotateTargets.d.ts +2 -0
- 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/data.d.ts +2 -0
- package/dist/types/core/types/options.d.ts +10 -0
- package/dist/types/core/types/scene.d.ts +11 -0
- package/dist/types/core/types/theme.d.ts +26 -2
- package/dist/types/react/hover/engine.d.ts +5 -1
- package/dist/types/react/hover/labelCard.d.ts +33 -2
- 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/types/theme.d.ts +1 -1
- package/dist/validate.js +8 -6
- package/docs/manual.md +4 -2
- package/docs/reference/bar.md +2 -2
- package/docs/reference/bullet.md +1 -1
- 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 +3 -0
- package/docs/reference/grid.md +25 -12
- 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 +6 -1
- package/docs/reference/pvm.md +1 -1
- package/docs/reference/react.md +4 -2
- 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 +5 -1
- package/docs/reference/variance.md +1 -1
- package/docs/reference/waterfall.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-6AIHN5S6.js +0 -89
- package/dist/chunk-CDZHNLO6.js +0 -42
- package/dist/chunk-QPWRHDLZ.js +0 -17
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
ratioTierCanRender,
|
|
7
7
|
ratioTierMetrics,
|
|
8
8
|
ratioTierSpacingWarnings
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DYG4XMCC.js";
|
|
10
10
|
import {
|
|
11
11
|
FORCE_CATEGORY_RANKS,
|
|
12
12
|
KEY_EDGE_SERIES,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
tickKeyed,
|
|
44
44
|
toDateOnValues,
|
|
45
45
|
withCategoryRanks
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ABUJPENV.js";
|
|
47
47
|
import {
|
|
48
48
|
ANOMALY_FLAG_GAP,
|
|
49
49
|
ANOMALY_FLAG_H,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
bandedCrossesBetween,
|
|
55
55
|
chartString as chartString2,
|
|
56
56
|
columnCorridorPaint
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XLHURGH3.js";
|
|
58
58
|
import {
|
|
59
59
|
DEFAULT_OTHERS_SHADE
|
|
60
60
|
} from "./chunk-RQ5DNYLG.js";
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
signColorOverrides,
|
|
66
66
|
signPaint,
|
|
67
67
|
totalLabelCandidates
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-7R43Y35G.js";
|
|
69
69
|
import {
|
|
70
70
|
REFERENCE_MARKER_R,
|
|
71
71
|
chosenValueIndices,
|
|
@@ -75,7 +75,7 @@ import {
|
|
|
75
75
|
referenceMarkerKey,
|
|
76
76
|
withBandValueNotes,
|
|
77
77
|
withValueLabelDefaults
|
|
78
|
-
} from "./chunk-
|
|
78
|
+
} from "./chunk-KNTNUQNS.js";
|
|
79
79
|
import {
|
|
80
80
|
restValueHiding,
|
|
81
81
|
restValuesHidden
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
hasLabelPosition,
|
|
85
85
|
positionBarLabel,
|
|
86
86
|
refuseLabelPosition
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-MYDVNJAA.js";
|
|
88
88
|
import {
|
|
89
89
|
netLineName,
|
|
90
90
|
onePartDrawn,
|
|
@@ -92,7 +92,7 @@ import {
|
|
|
92
92
|
sk,
|
|
93
93
|
stackParts,
|
|
94
94
|
withoutShareAnnotations
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-MTJZT6F2.js";
|
|
96
96
|
import {
|
|
97
97
|
STACK_ROOM,
|
|
98
98
|
acrossValueLines,
|
|
@@ -113,39 +113,43 @@ import {
|
|
|
113
113
|
valueShareLines,
|
|
114
114
|
warnShareParts,
|
|
115
115
|
warnSliverLabels
|
|
116
|
-
} from "./chunk-
|
|
116
|
+
} from "./chunk-XBASXPUJ.js";
|
|
117
117
|
import {
|
|
118
118
|
axisBreakHeightOrderWarning,
|
|
119
119
|
stackBreakReversesOrder
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-SAVO62PW.js";
|
|
121
|
+
import {
|
|
122
|
+
toleranceKeyed,
|
|
123
|
+
toleranceLegendKeys
|
|
124
|
+
} from "./chunk-XKGZWQF7.js";
|
|
121
125
|
import {
|
|
122
126
|
emitEventLane,
|
|
123
127
|
percentCellsOnly,
|
|
124
128
|
percentLevels,
|
|
125
129
|
runAnnotatePass,
|
|
126
130
|
settleEventLane
|
|
127
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-KWKJYMXJ.js";
|
|
128
132
|
import {
|
|
129
133
|
stepDownFont
|
|
130
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-GNSAYVND.js";
|
|
131
135
|
import {
|
|
132
136
|
noTotal
|
|
133
137
|
} from "./chunk-KZKWDFIS.js";
|
|
134
|
-
import {
|
|
135
|
-
categoryTargetFields,
|
|
136
|
-
spliceAnnotationNodes
|
|
137
|
-
} from "./chunk-CDZHNLO6.js";
|
|
138
138
|
import {
|
|
139
139
|
BAND_PAD,
|
|
140
140
|
VALUE_LINE_RESERVE,
|
|
141
141
|
hiddenValueLineReserve
|
|
142
142
|
} from "./chunk-R4MVXUAG.js";
|
|
143
|
+
import {
|
|
144
|
+
categoryTargetFields,
|
|
145
|
+
spliceAnnotationNodes
|
|
146
|
+
} from "./chunk-WM65Q3AL.js";
|
|
143
147
|
import {
|
|
144
148
|
valueLineLabelsOn
|
|
145
|
-
} from "./chunk-
|
|
149
|
+
} from "./chunk-OQGSYQLE.js";
|
|
146
150
|
import {
|
|
147
151
|
structureCount
|
|
148
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-IHZNRJEV.js";
|
|
149
153
|
import {
|
|
150
154
|
DIGIT_SEAT,
|
|
151
155
|
PLOT_FLOOR_PX,
|
|
@@ -175,7 +179,7 @@ import {
|
|
|
175
179
|
verticalNameRect,
|
|
176
180
|
yearRowRequests,
|
|
177
181
|
yieldToRotatedName
|
|
178
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
179
183
|
import {
|
|
180
184
|
PARTIAL_KEY,
|
|
181
185
|
POINTED_NOTES,
|
|
@@ -213,13 +217,13 @@ import {
|
|
|
213
217
|
toDateFont,
|
|
214
218
|
toDateLabel,
|
|
215
219
|
toDateRoom
|
|
216
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
217
221
|
import {
|
|
218
222
|
disclosuresShown,
|
|
219
223
|
knownPartsLead,
|
|
220
224
|
rankKeyShown,
|
|
221
225
|
recordFreedChrome
|
|
222
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-I3UJHKCS.js";
|
|
223
227
|
import {
|
|
224
228
|
NOT_AVAILABLE,
|
|
225
229
|
chartString,
|
|
@@ -229,7 +233,7 @@ import {
|
|
|
229
233
|
numberRange,
|
|
230
234
|
stringFields,
|
|
231
235
|
withLocaleStrings
|
|
232
|
-
} from "./chunk-
|
|
236
|
+
} from "./chunk-5OUURZ2T.js";
|
|
233
237
|
import {
|
|
234
238
|
cellMeta
|
|
235
239
|
} from "./chunk-O3VN6BTL.js";
|
|
@@ -265,7 +269,7 @@ import {
|
|
|
265
269
|
textBreaksLine,
|
|
266
270
|
textScaleOf,
|
|
267
271
|
withSegmentSeams
|
|
268
|
-
} from "./chunk-
|
|
272
|
+
} from "./chunk-4NGKSJBX.js";
|
|
269
273
|
import {
|
|
270
274
|
fmtPathNumber
|
|
271
275
|
} from "./chunk-6IUK6PAH.js";
|
|
@@ -274,6 +278,9 @@ import {
|
|
|
274
278
|
accessibleTitle,
|
|
275
279
|
scaleTextPx
|
|
276
280
|
} from "./chunk-RJICOOB3.js";
|
|
281
|
+
import {
|
|
282
|
+
isCachedTextMeasurer
|
|
283
|
+
} from "./chunk-77LQEREO.js";
|
|
277
284
|
import {
|
|
278
285
|
maxOf,
|
|
279
286
|
minOf,
|
|
@@ -559,7 +566,7 @@ function anomalyRuleRequest(domain, area, requests, warnings) {
|
|
|
559
566
|
});
|
|
560
567
|
}
|
|
561
568
|
function categoryRequests(domain, area, requests) {
|
|
562
|
-
let { cats, anomaly } = domain, {
|
|
569
|
+
let { cats, anomaly } = domain, { band } = area, catPlan = area.catPlan(), dateTicks = catPlan.dateNumeric, categoryLabelGap = anomaly ? 4 : 6, catX = catPlan.x, keep = catPlan.keep, namesLost = !dateTicks && catPlan.warnings.some((w) => w.code === "category-stride" && w.severity === "warn"), rotated = catPlan.rotation !== 0, rowY = area.catRowY + categoryLabelGap;
|
|
563
570
|
cats.forEach((c, ci) => {
|
|
564
571
|
let info = catPlan.infos[ci], bold = !rotated && (c.role === "total" || domain.highlights.has(c.id)), boldFont = { ...catPlan.font, weight: emphasisWeight(domain.theme) }, w = bold ? Math.max(info.w, ...info.lines.map((line) => domain.measure(line, boldFont).width)) : info.w, at = (yy) => ({ x: catX(ci) - (w - info.w) / 2, y: yy, w, h: info.h }), below = { slot: "below", rect: at(rowY), penalty: 0 }, belowShifted = { slot: "belowShifted", rect: at(rowY + area.gtH + 4), penalty: 1 };
|
|
565
572
|
requests.push({
|
|
@@ -746,9 +753,9 @@ function planColumnLabels(domain, area, scene, requests, warnings) {
|
|
|
746
753
|
}), growthPoints;
|
|
747
754
|
}
|
|
748
755
|
function extremeNameRequest(domain, area, scene, requests) {
|
|
749
|
-
if (domain.options.labels === !1 || !area.showCatRow || area.catPlan.dateNumeric || area.catPlan.keep.every(Boolean)) return;
|
|
756
|
+
if (domain.options.labels === !1 || !area.showCatRow || area.catPlan().dateNumeric || area.catPlan().keep.every(Boolean)) return;
|
|
750
757
|
let extreme = scene.bars.reduce((best, place) => !best || Math.abs(place.v) > Math.abs(best.v) ? place : best, void 0);
|
|
751
|
-
if (!extreme || area.catPlan.keep[extreme.ci]) return;
|
|
758
|
+
if (!extreme || area.catPlan().keep[extreme.ci]) return;
|
|
752
759
|
let { c, s, v, rect } = extreme, text = domain.variant === "grouped" && contentOf(domain.options, "point", ["absolute"]) !== null ? c.label ?? c.id : `${c.label ?? c.id} ${domain.valueSpec.forSeries(s)(v)}`, font = { ...area.labelFont, weight: emphasisWeight(domain.theme) }, size = domain.measure(text, font), cx = rect.x + rect.w / 2, endY = v < 0 ? rect.y + rect.h + 4 : rect.y - size.height - 4, box = (x, y) => ({ x, y, w: size.width, h: size.height });
|
|
753
760
|
requests.push({
|
|
754
761
|
id: `extreme:${s.id}:${c.id}`,
|
|
@@ -881,7 +888,10 @@ function columnPaints(domain, warnings) {
|
|
|
881
888
|
let { options, theme, palette, highlights, cats, dataSeries, variant, plottedOf, othersId, signColor, uniformScenario } = domain, resolved = /* @__PURE__ */ new Map(), paintCss = (paint) => {
|
|
882
889
|
let key = JSON.stringify(paint), css = resolved.get(key);
|
|
883
890
|
return css === void 0 && resolved.set(key, css = paintColor(theme, paint)), css;
|
|
884
|
-
}, authored = domain.seriesNorm.filter((s) => dataSeries.includes(s)),
|
|
891
|
+
}, authored = domain.seriesNorm.filter((s) => dataSeries.includes(s)), seriesRoles = new Map(dataSeries.map((s) => [s, seriesScenarioRole(
|
|
892
|
+
s.scenario,
|
|
893
|
+
s.vals.filter((val) => val.v !== null).map((val) => val.scenario)
|
|
894
|
+
)])), roleOf = (s) => seriesRoles.get(s), stackLike = variant === "stacked" || variant === "stacked100", ownPaint = (x) => !!x.fill || !!x.colorRole || highlights.has(x.id), scenarioPartner = stackLike ? scenarioPartners(dataSeries, (x) => x.scenario, ownPaint, !0) : scenarioPartners(authored, roleOf, ownPaint, !1), roles = colorRolePaints(authored), ownPaints = authored.map((s) => s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) : highlights.has(s.id) ? { token: "focus" } : void 0), dealt = authored.filter((s) => stackLike || ownPaint(s) || !scenarioPartner.has(s.id)), authoredSlots = rampSlots(theme, dealt.map((s) => ownPaints[authored.indexOf(s)]), palette, { labels: dealt.map((s) => s.label), warnings }), stackOwn = (variant === "stacked" || variant === "stacked100") && ownPaints.some(Boolean) ? ownPaints : void 0, quietRest = !!options.seriesRamp && (options.othersShade ?? DEFAULT_OTHERS_SHADE) === "quietest" && authored.some((s) => s.colorRole === "others" && !s.fill);
|
|
885
895
|
quietRest && warnings.push(...othersShadeUnavailableWarnings(theme, { token: "markInk" }));
|
|
886
896
|
let slotOf = new Map(dealt.map((s, i) => [s.id, authoredSlots[i] ?? i])), receding = recedingSeriesId(dataSeries, highlights), slots = dataSeries.map((s, i) => slotOf.get(s.id) ?? i), rampIds = stackLike && !options.seriesRamp ? recedingRampIds(authored.filter((s) => !scenarioPartner.has(s.id)), highlights) : [], marked = authored.some((s) => s.colorRole !== void 0 || highlights.has(s.id) || s.id === receding), stackPlain = (variant === "stacked" || variant === "stacked100") && palette === void 0 && !marked ? authored.filter((s) => !s.fill) : [], seriesIdentityPaint = (s, dataIdx, scenario = roleOf(s)) => {
|
|
887
897
|
if (s.fill) return { css: s.fill };
|
|
@@ -895,7 +905,7 @@ function columnPaints(domain, warnings) {
|
|
|
895
905
|
if (partner) return seriesIdentityPaint(partner, dataSeries.indexOf(partner), scenario);
|
|
896
906
|
let slot = slots[dataIdx] ?? dataIdx;
|
|
897
907
|
return dataSeries.length === 1 ? seriesPaint(slot, palette, scenario, !0) : stackPlain.length > 1 && stackPlain.includes(s) ? stackRampPaint(stackPlain.indexOf(s), stackPlain.length, slot) : stackOwn && authored.includes(s) ? stackApartPaint(stackOwn, authored.indexOf(s), slot, palette) : stackLike ? seriesPaint(slot, palette) : scenarioSlotPaint(slot, palette, scenario);
|
|
898
|
-
}, restRecedes = dataSeries.length === 1 && cats.some((c, ci) => highlights.has(c.id) && (plottedOf(dataSeries[0], ci) ?? 0) !== 0),
|
|
908
|
+
}, restRecedes = dataSeries.length === 1 && cats.some((c, ci) => highlights.has(c.id) && (plottedOf(dataSeries[0], ci) ?? 0) !== 0), basePaints = dataSeries.map((s, dataIdx) => restRecedes && !s.fill && !s.colorRole && !s.scenario ? { token: "rest" } : seriesIdentityPaint(s, dataIdx)), seriesBasePaint = (_s, dataIdx) => basePaints[dataIdx], cellPaint = (s, val, cat, dataIdx) => val.fill ? { css: val.fill } : othersId !== null && cat.id === othersId ? { token: "othersMark" } : highlights.has(s.id) || highlights.has(cat.id) && dataSeries.length === 1 ? s.fill ? { css: s.fill } : s.colorRole ? roles.get(s.id) ?? markRolePaint(s.colorRole, !0) : markRolePaint("focus", !0) : signColor ? signPaint(s, val.v, options.colorblindSafe) : uniformScenario.has(cat.id) ? seriesIdentityPaint(s, dataIdx, val.scenario ?? s.scenario) : val.scenario ? seriesIdentityPaint(s, dataIdx, val.scenario) : seriesBasePaint(s, dataIdx), scenarioPattern = (s, val, cat) => {
|
|
899
909
|
let sc = val.scenario ?? s.scenario;
|
|
900
910
|
if (uniformScenario.get(cat.id) !== "PL")
|
|
901
911
|
return sc === "FC" ? "hatch45" : sc === "PL" ? "outline" : void 0;
|
|
@@ -929,11 +939,15 @@ function columnPaints(domain, warnings) {
|
|
|
929
939
|
// src/core/charts/column/plot.ts
|
|
930
940
|
var TILED_BANDS = /* @__PURE__ */ Symbol("tiledBands"), SEGMENT_NOTE = /* @__PURE__ */ Symbol("segmentNote"), CATEGORY_NOTES = /* @__PURE__ */ Symbol("categoryNotes"), CAGR_PAD = /* @__PURE__ */ Symbol("cagrPad");
|
|
931
941
|
function uniformCellLook(domain, paints, s, i) {
|
|
932
|
-
let
|
|
942
|
+
let first;
|
|
943
|
+
for (let [ci, c] of domain.cats.entries()) {
|
|
933
944
|
let v = domain.plottedOf(s, ci);
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
945
|
+
if (v === null || domain.variant !== "grouped" && v === 0) continue;
|
|
946
|
+
let val = s.vals[ci], paint = paints.cell(s, val, c, i), pattern = paints.pattern(s, val, c);
|
|
947
|
+
if (!first) first = { paint, pattern };
|
|
948
|
+
else if (pattern !== first.pattern || paint !== first.paint && paints.css(paint) !== paints.css(first.paint)) return {};
|
|
949
|
+
}
|
|
950
|
+
if (!first) return {};
|
|
937
951
|
let hatchGround = segmentHatchGround(domain.variant === "grouped" ? "bar" : "segment", first.pattern, first.paint);
|
|
938
952
|
return { paint: first.paint, pattern: first.pattern, ...hatchGround ? { hatchGround } : {} };
|
|
939
953
|
}
|
|
@@ -999,17 +1013,28 @@ function referenceKeyLabel(domain, s) {
|
|
|
999
1013
|
function rangeDrawn(domain) {
|
|
1000
1014
|
return panelTypeClass(domain.options) === void 0 && domain.dataSeries.some((s) => domain.cats.some((_, ci) => domain.rangeOf(s, ci) !== void 0));
|
|
1001
1015
|
}
|
|
1016
|
+
function columnPassAnnotations(domain) {
|
|
1017
|
+
return domain.annList.filter((annotation) => annotation.kind !== "event");
|
|
1018
|
+
}
|
|
1019
|
+
function columnPassText(domain) {
|
|
1020
|
+
return {
|
|
1021
|
+
format: domain.options.format,
|
|
1022
|
+
locale: domain.options.locale?.language,
|
|
1023
|
+
levelSpec: percentLevels(domain.dataSeries) ? { ...domain.valueSpec.percentSpec, suffix: "" } : domain.valueSpec.spec,
|
|
1024
|
+
strings: domain.options.strings
|
|
1025
|
+
};
|
|
1026
|
+
}
|
|
1002
1027
|
function columnLegend(domain, paints, warnings) {
|
|
1003
|
-
let { options, signColor, anomaly } = domain, referenceDrawn = domain.variant !== "stacked100" && panelTypeClass(options) === void 0 && domain.refSeries.some((s) => s.vals.some((val) => val.v !== null)), legendForcedByEncoding = signColor || anomaly !== void 0 || referenceDrawn || rangeDrawn(domain);
|
|
1028
|
+
let { options, signColor, anomaly } = domain, referenceDrawn = domain.variant !== "stacked100" && panelTypeClass(options) === void 0 && domain.refSeries.some((s) => s.vals.some((val) => val.v !== null)), toleranceKeys = panelTypeClass(options) === void 0 ? toleranceLegendKeys(columnPassAnnotations(domain), domain.meanValue, domain.cats.map((c) => c.id), columnPassText(domain)) : [], legendForcedByEncoding = signColor || anomaly !== void 0 || referenceDrawn || rangeDrawn(domain);
|
|
1004
1029
|
legendForcedByEncoding && options.legend === "none" && warnings.push({
|
|
1005
1030
|
code: "legend-suppressed-encoding",
|
|
1006
1031
|
severity: "warn",
|
|
1007
1032
|
message: `legend: 'none' suppressed the only key naming this exhibit's encodings (${[signColor ? "sign colour" : "", anomaly ? "the anomaly corridor and flag marker" : "", referenceDrawn ? "the reference mark" : ""].filter(Boolean).join(", ")}) \u2014 the reader is left to infer them`,
|
|
1008
1033
|
suggest: "drop legend: 'none', or drop signColor/anomaly/the reference series"
|
|
1009
1034
|
});
|
|
1010
|
-
let effectiveLegend = options.legend === void 0 && legendForcedByEncoding ? "top" : options.legend;
|
|
1035
|
+
let effectiveLegend = options.legend === void 0 && (legendForcedByEncoding || toleranceKeys.length > 0) ? "top" : options.legend;
|
|
1011
1036
|
if (!effectiveLegend || effectiveLegend === "none" || effectiveLegend === "auto") return;
|
|
1012
|
-
let legendOpts = normalizeLegendOption(effectiveLegend), items = columnLegendItems(domain, paints);
|
|
1037
|
+
let legendOpts = normalizeLegendOption(effectiveLegend), single = options.legend === void 0 && !legendForcedByEncoding && domain.dataSeries.length === 1 ? domain.dataSeries[0].id : void 0, items = [...columnLegendItems(domain, paints).filter((item) => item.id !== single), ...toleranceKeys];
|
|
1013
1038
|
if (!(items.length === 0 && edgeNamesReplaceKey(domain))) {
|
|
1014
1039
|
if (legendOpts.order) {
|
|
1015
1040
|
let oi = (id) => {
|
|
@@ -1026,8 +1051,8 @@ function bandKeyRow(domain, paints, eventKey) {
|
|
|
1026
1051
|
let single = domain.dataSeries.length === 1 ? domain.dataSeries[0].id : void 0, items = columnLegendItems(domain, paints).filter((item) => item.id !== single);
|
|
1027
1052
|
return { options: { position: "top" }, items };
|
|
1028
1053
|
}
|
|
1029
|
-
function
|
|
1030
|
-
let { options, theme, size, measure, anomaly, corridorShown, statFmt, netLineOn, netLineSeries, variant } = domain,
|
|
1054
|
+
function columnFrameFurniture(domain, paints, warnings, eventKey) {
|
|
1055
|
+
let { options, theme, size, measure, anomaly, corridorShown, statFmt, netLineOn, netLineSeries, variant } = domain, decorationFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, anomalyRuleLabelWidth = anomaly?.usable ? anomalyRuleReserve(anomalyRuleLines(theme, anomaly, corridorShown, { statFmt, corridorFmt: domain.corridorFmt }, { token: "warn" }, options.strings), { family: theme.type.family, ...theme.type.label }, measure) : 0, decorationRight = Math.max(
|
|
1031
1056
|
netLineOn ? measure(netLineName(domain.dataSeries, netLineSeries, domain.stacks, options.strings), decorationFont).width + 12 : 0,
|
|
1032
1057
|
anomalyRuleLabelWidth
|
|
1033
1058
|
), tokenMargin = canvasMargin(theme, size.width), edgeNamesRight = options.seriesLabels?.at !== "left-edge" && rightEdgeSeriesLabels(domain).length > 0, margin = {
|
|
@@ -1046,7 +1071,11 @@ function solveColumnFrame(domain, paints, warnings, eventKey) {
|
|
|
1046
1071
|
options[TICK_LABEL_RESERVE] ?? 0
|
|
1047
1072
|
);
|
|
1048
1073
|
let legend = columnLegend(domain, paints, warnings) ?? bandKeyRow(domain, paints, eventKey);
|
|
1049
|
-
return {
|
|
1074
|
+
return { margin, legend };
|
|
1075
|
+
}
|
|
1076
|
+
function solveColumnFrame(domain, paints, warnings, eventKey, memo) {
|
|
1077
|
+
let { options, theme, size, measure } = domain, claims = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), cached = !eventKey && memo?.furniture, before = warnings.length, { margin, legend } = cached || columnFrameFurniture(domain, paints, warnings, eventKey);
|
|
1078
|
+
return cached ? pushAll(warnings, cached.warnings) : !eventKey && memo && (memo.furniture = { margin, legend, warnings: warnings.slice(before) }), { frame: solveFrame(
|
|
1050
1079
|
{
|
|
1051
1080
|
size,
|
|
1052
1081
|
margin,
|
|
@@ -1092,18 +1121,18 @@ function widestSegmentValue(domain, font = { family: domain.theme.type.family, .
|
|
|
1092
1121
|
});
|
|
1093
1122
|
return widest;
|
|
1094
1123
|
}
|
|
1095
|
-
function
|
|
1096
|
-
let { options, theme, measure, cats, va } = domain, plotX0 = frame.plot.x + (va.show ? valueAxisReserve : 0), plotW0 = va.show ? Math.max(10, frame.plot.w - valueAxisReserve) : frame.plot.w, narrow = domain.ribbonsOn && domain.ribbonRank, ribbonColumn = narrow ? Math.min(0.15, Math.max(RIBBON_COLUMN, (widestSegmentValue(domain) + 8) / plotW0)) : 0, ribbonFraction = ribbonColumn * (cats.length - 1) / (1 - 2 * ribbonColumn), grouped = domain.variant === "grouped" && domain.dataSeries.length > 1, panelGroup = options.bandFraction === void 0 && !narrow && grouped && panelTypeClass(options) !== void 0, bandFraction = panelGroup ? PANEL_GROUP_FRACTION : options.bandFraction ?? (narrow ? Math.min(0.7, Math.max(ribbonColumn, ribbonFraction)) : domain.pyRef ? pyTickKeyed(domain, frame.legend) ? 0.5 : 0.42 : grouped ? COLUMN_FRACTION_MAX : columnBandFraction(plotW0, cats.length)),
|
|
1124
|
+
function columnBandWidth(domain, frame, valueAxisReserve, tickFont, stair) {
|
|
1125
|
+
let { options, theme, measure, cats, va } = domain, plotX0 = frame.plot.x + (va.show ? valueAxisReserve : 0), plotW0 = va.show ? Math.max(10, frame.plot.w - valueAxisReserve) : frame.plot.w, narrow = domain.ribbonsOn && domain.ribbonRank, ribbonColumn = narrow ? Math.min(0.15, Math.max(RIBBON_COLUMN, (widestSegmentValue(domain) + 8) / plotW0)) : 0, ribbonFraction = ribbonColumn * (cats.length - 1) / (1 - 2 * ribbonColumn), grouped = domain.variant === "grouped" && domain.dataSeries.length > 1, panelGroup = options.bandFraction === void 0 && !narrow && grouped && panelTypeClass(options) !== void 0, bandFraction = panelGroup ? PANEL_GROUP_FRACTION : options.bandFraction ?? (narrow ? Math.min(0.7, Math.max(ribbonColumn, ribbonFraction)) : domain.pyRef ? pyTickKeyed(domain, frame.legend) ? 0.5 : 0.42 : grouped ? COLUMN_FRACTION_MAX : columnBandFraction(plotW0, cats.length)), gapAfter = cats.map((c, ci) => {
|
|
1126
|
+
let authored = c.gapAfter === !0 ? 0.5 : typeof c.gapAfter == "number" ? Math.max(0, c.gapAfter) : 0, gap = cats[ci + 1]?.role === "total" ? Math.max(authored, 0.5) : authored;
|
|
1127
|
+
return c.breakAfter ? Math.max(gap, 0.5) : gap;
|
|
1128
|
+
}), bandFor = (x0, w) => bandScale(cats.length, [x0, x0 + w], {
|
|
1097
1129
|
paddingInner: 1 - bandFraction,
|
|
1098
1130
|
// Histogram bins tile the number line: the plot ends at the outer bin edges.
|
|
1099
1131
|
paddingOuter: narrow ? bandFraction / 2 : options[TILED_BANDS] === !0 ? (1 - bandFraction) / 2 : (1 - bandFraction) / 2 + 0.05,
|
|
1100
|
-
gapAfter
|
|
1101
|
-
let authored2 = c.gapAfter === !0 ? 0.5 : typeof c.gapAfter == "number" ? Math.max(0, c.gapAfter) : 0, gap = cats[ci + 1]?.role === "total" ? Math.max(authored2, 0.5) : authored2;
|
|
1102
|
-
return c.breakAfter ? Math.max(gap, 0.5) : gap;
|
|
1103
|
-
})
|
|
1132
|
+
gapAfter
|
|
1104
1133
|
}), edgeNames = rightEdgeSeriesLabels(domain), edgeLeft = options.seriesLabels?.at === "left-edge", edgeNeed = edgeNames.length === 0 ? 0 : maxOf(edgeNames.map((series) => measure(series.label, edgeNameFont({ family: theme.type.family, ...theme.type.label }, domain)).width)) + RIGHT_EDGE_GAP, edgeGiven = 0, edgePad = (x0, w) => {
|
|
1105
|
-
let
|
|
1106
|
-
return edgeLeft ?
|
|
1134
|
+
let band = bandFor(x0, w);
|
|
1135
|
+
return edgeLeft ? band.position(0) - x0 : x0 + w - (band.position(cats.length - 1) + band.bandwidth);
|
|
1107
1136
|
}, giveEdgeRoom = () => {
|
|
1108
1137
|
if (edgeNeed === 0 || edgeGiven > 0 && edgeGiven + edgePad(plotX0, plotW0) >= edgeNeed) return;
|
|
1109
1138
|
let room = edgeNeed - edgeGiven;
|
|
@@ -1191,13 +1220,18 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
|
|
|
1191
1220
|
if (giveEdgeRoom(), plotW0 === before) break;
|
|
1192
1221
|
fitColumnWidth();
|
|
1193
1222
|
}
|
|
1194
|
-
|
|
1223
|
+
return { band: bandFor(plotX0, plotW0), plotX0, plotW0, bandFor };
|
|
1224
|
+
}
|
|
1225
|
+
function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow, memo) {
|
|
1226
|
+
let { options, theme, measure, cats } = domain, cached = stair && memo ? memo.width : void 0, keyed = !!(stair && memo && domain.pyRef) && pyTickKeyed(domain, frame.legend), same = cached && cached.x === frame.plot.x && cached.w === frame.plot.w && cached.axis === valueAxisReserve && cached.keyed === keyed, width = same ? cached.plan : columnBandWidth(domain, frame, valueAxisReserve, tickFont, stair);
|
|
1227
|
+
stair && memo && !same && (memo.width = { x: frame.plot.x, w: frame.plot.w, axis: valueAxisReserve, keyed, plan: width });
|
|
1228
|
+
let { plotX0, plotW0, bandFor } = width, band = width.band;
|
|
1195
1229
|
beforeCategoryRow?.(band.bandwidth);
|
|
1196
1230
|
let authored = authoredDateTicks(cats, options, warnings);
|
|
1197
1231
|
bandedCrossesBetween(options, warnings);
|
|
1198
|
-
let planRow = (b,
|
|
1232
|
+
let planRow = (b, ticked, rotate) => {
|
|
1199
1233
|
let row = categoryLabelsAndMarks(cats, { count: authoredFootnoteCount(options), warnings }, partialAxisWords(options.strings, options, frame.legend?.items.some((item) => item.id === "__partial") || partialNamedOnValues(domain)));
|
|
1200
|
-
|
|
1234
|
+
ticked?.name(row);
|
|
1201
1235
|
let plan = withCategoryRanks(planCategoryRow({
|
|
1202
1236
|
target: options.target,
|
|
1203
1237
|
textScale: textScaleOf(options),
|
|
@@ -1216,9 +1250,9 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
|
|
|
1216
1250
|
// Without the rank key, nominal names keep one name per column (rotate, then ellipsis).
|
|
1217
1251
|
// Under notes.show 'ranks' alone a cut name takes no mark, since its note does not print.
|
|
1218
1252
|
...disclosuresShown(options) ? { cutMarkFrom: authoredFootnoteCount(options) + 1 } : rankKeyShown(options) ? {} : { everyName: !0 },
|
|
1219
|
-
...
|
|
1253
|
+
...ticked?.plan,
|
|
1220
1254
|
// An authored interval counts back from the latest period, as on a line.
|
|
1221
|
-
...
|
|
1255
|
+
...ticked !== void 0 && ticked === authored ? { ordered: !0, strideFromEnd: !0 } : {},
|
|
1222
1256
|
...rotate === !1 ? { rotate } : {}
|
|
1223
1257
|
}), measure, cats.map((c) => c.label ?? c.id), options[FORCE_CATEGORY_RANKS] === !0, rankKeyShown(options));
|
|
1224
1258
|
if (plan.rotation !== 0) {
|
|
@@ -1226,8 +1260,13 @@ function columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair,
|
|
|
1226
1260
|
plan.infos = plan.infos.map((info, ci) => cats[ci].role === "total" || domain.highlights.has(cats[ci].id) ? { ...info, w: Math.max(info.w, ...info.lines.map((line) => measure(line, boldFont).width)) } : info), plan.rowHeight += (widest() - before) * (plan.rotation === 90 ? 1 : Math.SQRT1_2);
|
|
1227
1261
|
}
|
|
1228
1262
|
return plan;
|
|
1229
|
-
}, catPlan =
|
|
1230
|
-
|
|
1263
|
+
}, planned, catPlan = () => {
|
|
1264
|
+
if (planned) return planned;
|
|
1265
|
+
planned = planRow(band, authored);
|
|
1266
|
+
let ticked = authored ?? longDayMonths(cats, planned.stride, options.locale?.language);
|
|
1267
|
+
return ticked && ticked !== authored && (planned = planRow(band, ticked)), stair || ({ plan: planned, band } = yieldToRotatedName(planned, band, cats.length, plotX0, plotW0, bandFor, (b, rotate) => planRow(b, ticked, rotate))), planned;
|
|
1268
|
+
};
|
|
1269
|
+
return (!stair || cats.some((c) => c.footnote !== void 0)) && catPlan(), { band, catPlan, ...authored?.ticks ? { intervalTicks: authored.ticks } : {} };
|
|
1231
1270
|
}
|
|
1232
1271
|
var CAGR_ON_ARM_ROOM = 26, STACKED100_COLUMN_MAX = 110, CAGR_ON_ARM_MIN = 16;
|
|
1233
1272
|
function bracketsOverColumns(annotation, domain) {
|
|
@@ -1238,7 +1277,7 @@ function bracketsOverColumns(annotation, domain) {
|
|
|
1238
1277
|
}, [i, j] = [index(from), index(to)];
|
|
1239
1278
|
return i >= 0 && j >= 0 && Math.abs(i - j) > 1;
|
|
1240
1279
|
}
|
|
1241
|
-
function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
|
|
1280
|
+
function columnPlotArea(domain, frame, warnings, beforeCategoryRow, widthMemo) {
|
|
1242
1281
|
let { options, theme, size, measure, variant, va, fmt, valueSpec, cats, dLo, dHi } = domain, percentAxis = variant !== "stacked100" && percentCellsOnly(domain.dataSeries), axisFmt = variant === "stacked100" ? (v) => formatAutomaticPercent(v, 0, !1, options.locale?.language) : percentAxis ? valueSpec.fmtPercent : fmt, axisSpec = variant === "stacked100" ? void 0 : percentAxis ? valueSpec.percentSpec : valueSpec.spec, valueAxisReserve = va.show ? measureValueAxisWidth([dLo, dHi], axisFmt, theme, measure, 5, axisSpec) : 0, ratioTierPrepared = prepareRatioTier(
|
|
1243
1282
|
options.ratioTier,
|
|
1244
1283
|
cats,
|
|
@@ -1260,9 +1299,9 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
|
|
|
1260
1299
|
options.axisTitles?.primary,
|
|
1261
1300
|
options,
|
|
1262
1301
|
valueAxisUnit(options.unit, domain.dataSeries, variant === "stacked100")
|
|
1263
|
-
), theme, measure, frame.plot.w) : void 0, stair = staircaseOn(options.categoryLabels, options) && kindSetting(options, "category") !== !1 && cats.length > 1, { band, catPlan, intervalTicks } = columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow), showCatRow = kindSetting(options, "category") !== !1 && cats.length > 0 && !stair;
|
|
1264
|
-
showCatRow && pushAll(warnings, catPlan.warnings), showCatRow && catPlan.step === "ranks" && warnings.push(categoryRanksLint(cats.map((c) => c.label ?? c.id), band.step));
|
|
1265
|
-
let tickReserve = showCatRow ? catPlan.rowHeight + 8 : 0, catBandH = tier ? 6 + catPlan.rowHeight + ratioTierMetrics.categoryCaptionGap - theme.space.tierGap : tickReserve, ratioTierHeight = tier?.reserveHeight ?? 0, lowest = Math.min(0, minOf(domain.negBotP)), pointsHang = variant === "grouped" && (kindSetting(options, "point") !== !1 || domain.anomaly !== void 0), hangingEnd = Math.min(0, minOf(cats.map((_, ci) => pointsHang || domain.gtContent && domain.posTopP[ci] <= 0 ? domain.negBotP[ci] : 0))), hangingRoom = showCatRow && options.labels !== !1 ? Math.max(measure("0", labelFont).height, gtH) + 4 + (domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0) : 0, axisTitleH = valueAxisTitleBand(axisTitle, theme, measure), cagrRoom = Math.max(CAGR_ON_ARM_MIN, CAGR_ON_ARM_ROOM - axisTitleH - ruleH - integratedGrowthH);
|
|
1302
|
+
), theme, measure, frame.plot.w) : void 0, stair = staircaseOn(options.categoryLabels, options) && kindSetting(options, "category") !== !1 && cats.length > 1, { band, catPlan, intervalTicks } = columnBand(domain, frame, valueAxisReserve, tickFont, warnings, stair, beforeCategoryRow, widthMemo), showCatRow = kindSetting(options, "category") !== !1 && cats.length > 0 && !stair;
|
|
1303
|
+
showCatRow && pushAll(warnings, catPlan().warnings), showCatRow && catPlan().step === "ranks" && warnings.push(categoryRanksLint(cats.map((c) => c.label ?? c.id), band.step));
|
|
1304
|
+
let tickReserve = showCatRow ? catPlan().rowHeight + 8 : 0, catBandH = tier ? 6 + catPlan().rowHeight + ratioTierMetrics.categoryCaptionGap - theme.space.tierGap : tickReserve, ratioTierHeight = tier?.reserveHeight ?? 0, lowest = Math.min(0, minOf(domain.negBotP)), pointsHang = variant === "grouped" && (kindSetting(options, "point") !== !1 || domain.anomaly !== void 0), hangingEnd = Math.min(0, minOf(cats.map((_, ci) => pointsHang || domain.gtContent && domain.posTopP[ci] <= 0 ? domain.negBotP[ci] : 0))), hangingRoom = showCatRow && options.labels !== !1 ? Math.max(measure("0", labelFont).height, gtH) + 4 + (domain.anomaly ? ANOMALY_FLAG_GAP + ANOMALY_FLAG_H : 0) : 0, axisTitleH = valueAxisTitleBand(axisTitle, theme, measure), cagrRoom = Math.max(CAGR_ON_ARM_MIN, CAGR_ON_ARM_ROOM - axisTitleH - ruleH - integratedGrowthH);
|
|
1266
1305
|
hasCagr && cagrRoom < 30 && recordFreedChrome(frame.frame, "cagr-headroom", 30 - cagrRoom);
|
|
1267
1306
|
let cagrPad = options[CAGR_PAD] ?? 0;
|
|
1268
1307
|
hasCagr && cagrPad > 0 && recordFreedChrome(frame.frame, "cagr-pad", cagrPad);
|
|
@@ -1270,7 +1309,7 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
|
|
|
1270
1309
|
for (; bandPad > 0 && frame.plot.h - catBandH - ratioTierHeight - (baseTopPad + bandPad) - hangingLabelReserve(frame.plot.h - catBandH - ratioTierHeight - (baseTopPad + bandPad), [dLo, dHi], hangingEnd, hangingRoom) < minRawH; )
|
|
1271
1310
|
bandPad--;
|
|
1272
1311
|
let topPad = baseTopPad + bandPad, plotH0 = frame.plot.h - catBandH - ratioTierHeight - topPad, hangingReserve = hangingLabelReserve(plotH0, [dLo, dHi], hangingEnd, hangingRoom);
|
|
1273
|
-
if (!stair && options.categoryLabels !== "staircase" && ["fit", "wrap", "font-down", "stride"].includes(catPlan.step) && !options.annotations?.some((annotation) => annotation.kind === "cagr" || annotation.kind === "event" || bracketsOverColumns(annotation, domain)) && ![CAGR_PAD, VALUE_LINE_RESERVE, TICK_LABEL_RESERVE, BAND_PAD].some((marker) => marker in options)) {
|
|
1312
|
+
if (!stair && options.categoryLabels !== "staircase" && ["fit", "wrap", "font-down", "stride"].includes(catPlan().step) && !options.annotations?.some((annotation) => annotation.kind === "cagr" || annotation.kind === "event" || bracketsOverColumns(annotation, domain)) && ![CAGR_PAD, VALUE_LINE_RESERVE, TICK_LABEL_RESERVE, BAND_PAD].some((marker) => marker in options)) {
|
|
1274
1313
|
fixedPlotChrome(frame);
|
|
1275
1314
|
let chrome = plotChromeFloor.get(frame.frame);
|
|
1276
1315
|
if (chrome !== void 0) {
|
|
@@ -1319,7 +1358,9 @@ function columnPlotArea(domain, frame, warnings, beforeCategoryRow) {
|
|
|
1319
1358
|
...stair ? { stairTop: frame.plot.y + ruleH + (axisTitle ? axisTitle.height + 8 : 0) } : {},
|
|
1320
1359
|
// A date row stays at the plot's bottom band; prose reads under the
|
|
1321
1360
|
// lowest column and the value hanging under it.
|
|
1322
|
-
catRowY
|
|
1361
|
+
get catRowY() {
|
|
1362
|
+
return catPlan().dateNumeric ? plot.y + plot.h + hangingReserve : categoryRowTop(y, lowest, hangingEnd, hangingRoom);
|
|
1363
|
+
},
|
|
1323
1364
|
plot,
|
|
1324
1365
|
y,
|
|
1325
1366
|
y0: y(0)
|
|
@@ -1466,8 +1507,8 @@ function annotateColumn(domain, area, scene, occupied, solveCtx, printedLabels)
|
|
|
1466
1507
|
target: domain.options.target,
|
|
1467
1508
|
// The growth bracket seats its label on its run.
|
|
1468
1509
|
cagrLabelOnArm: !0,
|
|
1469
|
-
|
|
1470
|
-
|
|
1510
|
+
annotations: columnPassAnnotations(domain),
|
|
1511
|
+
toleranceKeyed: toleranceKeyed(columnPassAnnotations(domain), area.frame.legend?.items),
|
|
1471
1512
|
resolve: resolveAnchor,
|
|
1472
1513
|
printedLabels,
|
|
1473
1514
|
defaultSpan: cats.length >= 2 ? { from: cats[0].id, to: cats[cats.length - 1].id } : void 0,
|
|
@@ -1477,10 +1518,7 @@ function annotateColumn(domain, area, scene, occupied, solveCtx, printedLabels)
|
|
|
1477
1518
|
ceilingRects,
|
|
1478
1519
|
theme: domain.theme,
|
|
1479
1520
|
measure: domain.measure,
|
|
1480
|
-
|
|
1481
|
-
locale: domain.options.locale?.language,
|
|
1482
|
-
levelSpec: percentLevels(dataSeries) ? { ...domain.valueSpec.percentSpec, suffix: "" } : domain.valueSpec.spec,
|
|
1483
|
-
strings: domain.options.strings,
|
|
1521
|
+
...columnPassText(domain),
|
|
1484
1522
|
percentLevels: percentLevels(dataSeries),
|
|
1485
1523
|
sharesFormat: domain.variant === "stacked100",
|
|
1486
1524
|
valueLinePercentLevels: domain.variant === "stacked100" || domain.options.unit === "%" || domain.pctLevels,
|
|
@@ -1558,7 +1596,7 @@ function assembleColumnGeometry(domain, area, scene, solved, annotated, tierStat
|
|
|
1558
1596
|
domain.theme,
|
|
1559
1597
|
allLabels,
|
|
1560
1598
|
(l) => tierState?.fontByLabelId.get(l.id) ?? // A total column (categories[].role 'total') prints its head and values bold.
|
|
1561
|
-
(totalIds.has(l.owner.categoryId ?? "") && (l.kind === "segment" || l.kind === "category") ? { ...l.kind === "category" ? catPlan.font : strongFont, weight: emphasisWeight(domain.theme) } : void 0) ?? (bandLabelIds.has(l.id) ? tickFont : l.kind === "grandTotal" || l.kind === "total" ? strongFont : l.kind === "category" ? area.stairTop !== void 0 ? tickFont : catPlan.font : l.kind === "tick" ? tickFont : l.kind === "annotation" || l.kind === "valueLine" ? { ...labelFont, weight: emphasisWeight(domain.theme) } : l.kind === "point" ? pointFont : labelFont),
|
|
1599
|
+
(totalIds.has(l.owner.categoryId ?? "") && (l.kind === "segment" || l.kind === "category") ? { ...l.kind === "category" ? catPlan().font : strongFont, weight: emphasisWeight(domain.theme) } : void 0) ?? (bandLabelIds.has(l.id) ? tickFont : l.kind === "grandTotal" || l.kind === "total" ? strongFont : l.kind === "category" ? area.stairTop !== void 0 ? tickFont : catPlan().font : l.kind === "tick" ? tickFont : l.kind === "annotation" || l.kind === "valueLine" ? { ...labelFont, weight: emphasisWeight(domain.theme) } : l.kind === "point" ? pointFont : labelFont),
|
|
1562
1600
|
nodes
|
|
1563
1601
|
);
|
|
1564
1602
|
return pushAll(nodes, labelNodes.filter((node) => node.part === "leader")), pushAll(nodes, labelNodes.filter((node) => node.part !== "leader")), lane && pushAll(nodes, lane.nodes), axes.unshift({
|
|
@@ -1601,11 +1639,11 @@ function assembleColumnGeometry(domain, area, scene, solved, annotated, tierStat
|
|
|
1601
1639
|
...showCatRow ? {
|
|
1602
1640
|
tickBand: {
|
|
1603
1641
|
reserved: area.tickReserve,
|
|
1604
|
-
measuredLines: catPlan.maxLines,
|
|
1605
|
-
lineHeight: catPlan.font.size * 1.2,
|
|
1642
|
+
measuredLines: catPlan().maxLines,
|
|
1643
|
+
lineHeight: catPlan().font.size * 1.2,
|
|
1606
1644
|
// Rotated rows reserve more than lines × line height; the receipt names it.
|
|
1607
|
-
extra: catPlan.rowHeight - catPlan.maxLines * catPlan.font.size * 1.2,
|
|
1608
|
-
dateNumeric: catPlan.dateNumeric,
|
|
1645
|
+
extra: catPlan().rowHeight - catPlan().maxLines * catPlan().font.size * 1.2,
|
|
1646
|
+
dateNumeric: catPlan().dateNumeric,
|
|
1609
1647
|
position: "below"
|
|
1610
1648
|
}
|
|
1611
1649
|
} : {},
|
|
@@ -1677,8 +1715,10 @@ function layoutColumnWithNotes(data, options, keepEachValue, axis = { on: !1 })
|
|
|
1677
1715
|
}
|
|
1678
1716
|
function layoutColumnSettled(data, options, keepEachValue, probe, stopAfterFirst) {
|
|
1679
1717
|
let named = /* @__PURE__ */ new Map(), pass, minimumChrome = 1 / 0, first = !0, run = (next) => {
|
|
1680
|
-
|
|
1681
|
-
|
|
1718
|
+
let staircase = next.categoryLabels === "staircase" ? {} : void 0, draw = (o) => {
|
|
1719
|
+
let trial = layoutColumnPass(data, o, keepEachValue, first ? probe : void 0, first && stopAfterFirst !== void 0, staircase);
|
|
1720
|
+
return first = !1, "retry" in trial ? trial.retry : (pass = trial, pass.staircase);
|
|
1721
|
+
}, settled = settleStaircase(next, draw, draw(next));
|
|
1682
1722
|
return minimumChrome = Math.min(minimumChrome, plotChromeFloor.get(pass.geometry.frame) ?? NaN), settled;
|
|
1683
1723
|
}, settleBandHeadroom = (next) => {
|
|
1684
1724
|
let bandPad = next[BAND_PAD] ?? 0;
|
|
@@ -1726,10 +1766,12 @@ function layoutColumnSettled(data, options, keepEachValue, probe, stopAfterFirst
|
|
|
1726
1766
|
return item !== void 0 && (node.t === "rect" || node.t === "path") && node.separation ? { ...node, separation: { ...node.separation, notedAs: item } } : node;
|
|
1727
1767
|
}), Number.isFinite(minimumChrome) ? plotChromeFloor.set(pass.geometry.frame, minimumChrome) : plotChromeFloor.delete(pass.geometry.frame), pass.geometry;
|
|
1728
1768
|
}
|
|
1729
|
-
function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !1) {
|
|
1730
|
-
let prepared = axisProbe?.prepared;
|
|
1769
|
+
function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !1, staircaseInputs) {
|
|
1770
|
+
let retry = staircaseInputs?.prepared, prepared = retry ?? axisProbe?.prepared;
|
|
1731
1771
|
axisProbe && (axisProbe.prepared = void 0);
|
|
1732
|
-
let warnings = prepared ? [...prepared.warnings] : [], domain = prepared ? { ...prepared.domain, options: { ...prepared.domain.options, valueAxis: options.valueAxis }, va: options.valueAxis } : resolveColumnDomain(data, options, warnings), paints = prepared?.paints ?? columnPaints(domain, warnings)
|
|
1772
|
+
let warnings = prepared ? [...prepared.warnings] : [], domain = retry ? { ...retry.domain, options } : prepared ? { ...prepared.domain, options: { ...prepared.domain.options, valueAxis: options.valueAxis }, va: options.valueAxis } : resolveColumnDomain(data, options, warnings), paints = prepared?.paints ?? columnPaints(domain, warnings);
|
|
1773
|
+
staircaseInputs && !retry && domain.options === options && (staircaseInputs.prepared = { domain: { ...domain }, paints, warnings: [...warnings] });
|
|
1774
|
+
let preparedWarnings = warnings.length, fallback = () => {
|
|
1733
1775
|
throw axisProbe.prepared = { domain, paints, warnings: warnings.slice(0, preparedWarnings) }, AXIS_FALLBACK;
|
|
1734
1776
|
}, { size, theme } = domain, probe = probeAxis && options.valueAxis?.show === void 0 && panelTypeClass(options) === void 0 && domain.variant === "grouped" && kindSetting(options, "point") !== !1 && !options.ratioTier && options.categoryLabels !== "staircase" && !domain.cats.some((c) => c.partial) && !domain.annList.some((a) => a.kind === "event"), beforeCategoryRow = probe && domain.dataSeries.length > 1 ? (bandwidth) => {
|
|
1735
1777
|
let font = compactValueLabelFont({ family: theme.type.family, ...theme.type.label }, theme.type.footnote, options.target, textScaleOf(options));
|
|
@@ -1743,7 +1785,7 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
|
|
|
1743
1785
|
).firstSeriesOnly) return;
|
|
1744
1786
|
let off = new Set(data.series.flatMap((s) => s.values.flatMap((cell, ci) => cellMeta(cell)?.label === !1 ? [`${s.id}|${data.categories[ci]?.id}`] : [])));
|
|
1745
1787
|
domain.dataSeries.slice(1).some((s) => !domain.highlights.has(s.id) && domain.cats.some((c, ci) => domain.plottedOf(s, ci) !== null && !off.has(`${s.id}|${c.id}`) && !domain.highlights.has(c.id) && !domain.anomaly?.flagByCategory.has(c.id))) && fallback();
|
|
1746
|
-
} : void 0, areaWarningsAt = 0, settled = settleEventLane({
|
|
1788
|
+
} : void 0, staircaseMemo = staircaseInputs?.prepared && isCachedTextMeasurer(domain.measure) ? staircaseInputs : void 0, areaWarningsAt = 0, settled = settleEventLane({
|
|
1747
1789
|
annotations: domain.annList,
|
|
1748
1790
|
categories: domain.cats,
|
|
1749
1791
|
events: options.events,
|
|
@@ -1755,8 +1797,8 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
|
|
|
1755
1797
|
measure: domain.measure,
|
|
1756
1798
|
size,
|
|
1757
1799
|
compact: options.mode === "compact",
|
|
1758
|
-
solve: (key, w) => solveColumnFrame(domain, paints, w, key),
|
|
1759
|
-
area: (framed2, w) => (areaWarningsAt = w.length, columnPlotArea(domain, framed2.frame, w, beforeCategoryRow)),
|
|
1800
|
+
solve: (key, w) => solveColumnFrame(domain, paints, w, key, staircaseMemo),
|
|
1801
|
+
area: (framed2, w) => (areaWarningsAt = w.length, columnPlotArea(domain, framed2.frame, w, beforeCategoryRow, staircaseMemo)),
|
|
1760
1802
|
axis: (area2) => ({ x: (ci) => area2.band.center(ci), step: area2.band.step, plot: area2.plot }),
|
|
1761
1803
|
warnings
|
|
1762
1804
|
}), framed = settled.framed, occupied = framed.claims, area = settled.area;
|
|
@@ -1785,7 +1827,13 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
|
|
|
1785
1827
|
cap: STAIRCASE_MAX_PAD * area.frame.plot.h,
|
|
1786
1828
|
occupied,
|
|
1787
1829
|
requests
|
|
1788
|
-
})
|
|
1830
|
+
});
|
|
1831
|
+
if (stair && domain.annList.length === 0 && !domain.cats.some((c) => c.partial) && isCachedTextMeasurer(domain.measure)) {
|
|
1832
|
+
if ("failed" in stair) return { retry: { deficit: 0, failed: stair.failed } };
|
|
1833
|
+
if (stair.deficit > 0.5) return { retry: { deficit: stair.deficit } };
|
|
1834
|
+
}
|
|
1835
|
+
scene.paintStack && (scene.nodes = scene.paintStack());
|
|
1836
|
+
let noted = { items: /* @__PURE__ */ new Map(), slivers: /* @__PURE__ */ new Set() }, digits = { requests: [], slivers: [], warningAt: 0 }, pointFont = planColumnValueLabels(domain, paints, area, scene, requests, warnings, noted, digits), paintWarningRules = [];
|
|
1789
1837
|
pushAll(warnings, rectSeriesAdjacentWarnings(scene.nodes, paints.css, "vertical", domain.highlights, theme, { rules: paintWarningRules, before: warnings.filter((warning) => !["pie-ramp-crowded", "likert-ramp-invisible", "band-lightness-insufficient", "series-adjacent-similar", "highlight-reads-as-loss"].includes(warning.code)).length }));
|
|
1790
1838
|
let growthPoints = planColumnLabels(domain, area, scene, requests, warnings), solveCtx = labelCtx(theme, size, options, {
|
|
1791
1839
|
density: domain.density,
|
|
@@ -1838,7 +1886,7 @@ function layoutColumnPass(data, options, keepEachValue, axisProbe, probeAxis = !
|
|
|
1838
1886
|
let unprinted = new Map([...noted.items].filter(([id]) => !pointedAt.has(id) && // The note names what is not drawn: a sliver a pin placed is drawn, and so is one whose total prints its value.
|
|
1839
1887
|
solved.placed.some((label) => label.id === id && (label.hidden === "collision" || label.hidden !== void 0 && label.printedIn === void 0 && noted.slivers.has(id))))), geometry = assembleColumnGeometry(domain, area, scene, solved, annotated, tierState, pointFont, growthPoints, ratioTierResult, occupied, warnings, paintWarningRules, lane);
|
|
1840
1888
|
geometry.scene = raiseOverRules(geometry.scene, crossed);
|
|
1841
|
-
let planNotes = area.showCatRow ? area.catPlan.step === "ranks" ? rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options) : area.catPlan.cutNotes : [], categoryNotes = options[CATEGORY_NOTES] ? [] : planNotes, valueLineReserve = hiddenValueLineReserve(geometry.labels, (text) => domain.measure(text, { ...area.labelFont, weight: emphasisWeight(domain.theme) }).width, size.width), lastCategory = domain.cats.at(-1), lastTick = domain.pyRef && lastCategory ? geometry.labels.find((label) => label.id === `tick:${domain.pyRef.id}:${lastCategory.id}` && (label.hidden === "collision" || label.hidden === "note")) : void 0, lastBar = lastTick && lastCategory ? area.band.position(domain.cats.length - 1) + area.band.bandwidth : 0, tickReserve = lastTick ? Math.max(0, Math.ceil(lastBar + PY_TICK_LEAD + domain.measure(lastTick.text, area.tickFont).width + 2 - size.width)) : 0, rankKey = () => rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options), unseatedLabels = domain.variant === "stacked100" ? annotated.placed.flatMap((entry) => (entry.kind === "callout" || entry.kind === "note") && entry.labelId !== void 0 ? geometry.labels.filter((label) => label.id === entry.labelId && label.hidden !== void 0) : []) : [], seatNeed = Math.ceil(maxOf(unseatedLabels.map((label) => label.rect.h))) + CALLOUT_SEAT_AIR;
|
|
1889
|
+
let planNotes = area.showCatRow ? area.catPlan().step === "ranks" ? rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options) : area.catPlan().cutNotes : [], categoryNotes = options[CATEGORY_NOTES] ? [] : planNotes, valueLineReserve = hiddenValueLineReserve(geometry.labels, (text) => domain.measure(text, { ...area.labelFont, weight: emphasisWeight(domain.theme) }).width, size.width), lastCategory = domain.cats.at(-1), lastTick = domain.pyRef && lastCategory ? geometry.labels.find((label) => label.id === `tick:${domain.pyRef.id}:${lastCategory.id}` && (label.hidden === "collision" || label.hidden === "note")) : void 0, lastBar = lastTick && lastCategory ? area.band.position(domain.cats.length - 1) + area.band.bandwidth : 0, tickReserve = lastTick ? Math.max(0, Math.ceil(lastBar + PY_TICK_LEAD + domain.measure(lastTick.text, area.tickFont).width + 2 - size.width)) : 0, rankKey = () => rankNotes(domain.cats.map((c) => c.label ?? c.id), domain.options), unseatedLabels = domain.variant === "stacked100" ? annotated.placed.flatMap((entry) => (entry.kind === "callout" || entry.kind === "note") && entry.labelId !== void 0 ? geometry.labels.filter((label) => label.id === entry.labelId && label.hidden !== void 0) : []) : [], seatNeed = Math.ceil(maxOf(unseatedLabels.map((label) => label.rect.h))) + CALLOUT_SEAT_AIR;
|
|
1842
1890
|
return { geometry, unprinted, categoryNotes, planNotes, rankKey, legDeficit: annotated.legDeficit, bandNeed: annotated.bandNeed, valueLineReserve, tickReserve: tickReserve <= size.width / 3 ? tickReserve : 0, unseated: unseatedLabels.length, seatNeed: unseatedLabels.length > 0 ? seatNeed : 0, ...staircase ? { staircase } : {} };
|
|
1843
1891
|
}
|
|
1844
1892
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
localeStrings,
|
|
3
3
|
stringFields
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5OUURZ2T.js";
|
|
5
5
|
import {
|
|
6
6
|
typeWidthClass
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4NGKSJBX.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_TARGET,
|
|
10
10
|
scaleTextAtFloor,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
hasAuthoredTypeSize,
|
|
16
16
|
wrapText
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-77LQEREO.js";
|
|
18
18
|
import {
|
|
19
19
|
plainText
|
|
20
20
|
} from "./chunk-SRUV7AT6.js";
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5,
|
|
4
4
|
sharedKeys9
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5LUHGXXE.js";
|
|
6
6
|
import {
|
|
7
7
|
optionKeyCheck
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-35JGEMCK.js";
|
|
12
12
|
import {
|
|
13
13
|
heatmapCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-OXWIBDJP.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D2I2BUR6.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/heatmap.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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, scale: 0, variant: 0, cap: { pct: 0, abs: 0 }, breaks: 0, bubble: { levels: 0, sizeLabel: 0, colorLabel: 0, track: 0 }, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, minBase: 0, missing: 0 }, labels: ["category", "series", "point"] }), HeatmapChart = createChartComponent(registeredType(heatmapCore), checkOptionKeys);
|