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
|
@@ -15,6 +15,7 @@ import {
|
|
|
15
15
|
isPercentagePointUnit,
|
|
16
16
|
isUnitStandIn,
|
|
17
17
|
magnitudeSuffix,
|
|
18
|
+
markedDecimal,
|
|
18
19
|
nonFiniteGlyph,
|
|
19
20
|
nonzeroDecimals,
|
|
20
21
|
numberFormat,
|
|
@@ -34,7 +35,7 @@ import {
|
|
|
34
35
|
withoutLeadingZero,
|
|
35
36
|
wordLanguage,
|
|
36
37
|
zeroLifts
|
|
37
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5OUURZ2T.js";
|
|
38
39
|
import {
|
|
39
40
|
toJsonPointer
|
|
40
41
|
} from "./chunk-ZQ4VFQID.js";
|
|
@@ -246,6 +247,11 @@ function withUnit(text, unit, deduplicatePercent = !1, locale) {
|
|
|
246
247
|
let sign = text.startsWith(MINUS) || text.startsWith("-") || text.startsWith("+") ? text[0] : "";
|
|
247
248
|
return `${sign}${prefix}${text.slice(sign.length)}${suffix}`;
|
|
248
249
|
}
|
|
250
|
+
function unitOnNumber(unit) {
|
|
251
|
+
let trimmed = unit?.trim() ?? "";
|
|
252
|
+
if (!(!trimmed || isPercentagePointUnit(trimmed)))
|
|
253
|
+
return SYMBOL_UNIT.test(trimmed) ? trimmed : SIGN_WORD.exec(trimmed)?.[1];
|
|
254
|
+
}
|
|
249
255
|
|
|
250
256
|
// src/core/formatSpec.ts
|
|
251
257
|
var AUTOMATIC_FORMAT = /* @__PURE__ */ Symbol("automatic-format"), MAGNITUDE_GROUP = /* @__PURE__ */ Symbol("magnitude-group"), MAGNITUDE_FIGURES = /* @__PURE__ */ Symbol("magnitude-figures"), PERIOD_FIGURES = /* @__PURE__ */ Symbol("period-figures"), ENGINE_SCALE = /* @__PURE__ */ Symbol("engine-scale"), LABEL_ONLY_ROW = /* @__PURE__ */ Symbol("label-only-row"), RULE_SET = /* @__PURE__ */ Symbol("rule-set"), SCALE_MAGNITUDE = { 0: "none", 3: "k", 6: "m", 9: "bn", 12: "t" };
|
|
@@ -380,15 +386,8 @@ function parseExample(example, keepWord) {
|
|
|
380
386
|
}
|
|
381
387
|
let lead;
|
|
382
388
|
[lead, after] = exampleSigns(spec, before, after, s), /[+]/.test(lead) && (spec.signed = !0, lead = lead.replace(/\+/g, "")), lead = lead.replace(new RegExp(`[-${MINUS}]`, "g"), ""), spec.prefix = lead.trimStart();
|
|
383
|
-
let tail = after.trimEnd(), tailTrimmed = tail.trimStart();
|
|
384
|
-
|
|
385
|
-
let word = magnitudeAfterNumber(m, lead, tail, tailTrimmed);
|
|
386
|
-
if (word) {
|
|
387
|
-
spec.magnitude = m.key, keepWord && (spec.magnitudeWord = { magnitude: m.key, text: tail.slice(0, tail.length - tailTrimmed.length) + word[0] }), tail = tailTrimmed.replace(m.re, "");
|
|
388
|
-
break;
|
|
389
|
-
}
|
|
390
|
-
}
|
|
391
|
-
return spec.suffix = tail, affixMagnitude(spec), analyzeBody(body, spec), exampleNumberStyle(spec, body), checkedDecimals(spec.decimals), spec.magnitude !== "none" && spec.thousandsSep !== "" && (spec.rollMagnitude = !1), spec;
|
|
389
|
+
let tail = after.trimEnd(), tailTrimmed = tail.trimStart(), magnitude = magnitudeAfterNumber(lead, tail, tailTrimmed);
|
|
390
|
+
return magnitude && (spec.magnitude = magnitude.key, keepWord && (spec.magnitudeWord = { magnitude: magnitude.key, text: tail.slice(0, tail.length - tailTrimmed.length) + magnitude.word }), tail = tailTrimmed.slice(magnitude.word.length)), spec.suffix = tail, affixMagnitude(spec), analyzeBody(body, spec), exampleNumberStyle(spec, body), checkedDecimals(spec.decimals), spec.magnitude !== "none" && spec.thousandsSep !== "" && (spec.rollMagnitude = !1), spec;
|
|
392
391
|
}
|
|
393
392
|
var SPREADSHEET_CODE = /[#?][#?,.]|[,.][#?]|;/, SPREADSHEET_BRACKET = /^\[(?:Black|Blue|Cyan|Green|Magenta|Red|White|Yellow|Color(?:[1-9]|[1-4][0-9]|5[0-6])|[<>=][^\]]*|\$[^\]]*)\]$/i, SPREADSHEET_SCALE_COMMAS = /[0#?](,+)(?=\s*(?:$|["\\_[;]))/;
|
|
394
393
|
function withoutSpreadsheetBrackets(text) {
|
|
@@ -520,9 +519,29 @@ function exampleSigns(spec, before, after, example) {
|
|
|
520
519
|
}
|
|
521
520
|
return [before, after];
|
|
522
521
|
}
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
var SINGLE_MAGNITUDES = /* @__PURE__ */ new Map([
|
|
523
|
+
["k", "k"],
|
|
524
|
+
["K", "k"],
|
|
525
|
+
["m", "m"],
|
|
526
|
+
["M", "m"],
|
|
527
|
+
["b", "bn"],
|
|
528
|
+
["B", "bn"],
|
|
529
|
+
["T", "t"]
|
|
530
|
+
]);
|
|
531
|
+
function magnitudeAfterNumber(lead, tail, trimmed) {
|
|
532
|
+
if (trimmed === "" || trimmed === "%" || trimmed === "pp") return;
|
|
533
|
+
let single = SINGLE_MAGNITUDES.get(trimmed);
|
|
534
|
+
if (single) return tail === trimmed || isCurrency(lead) ? { key: single, word: trimmed } : void 0;
|
|
535
|
+
for (let entry of MAGNITUDE_SUFFIXES) {
|
|
536
|
+
let word = entry.re.exec(trimmed)?.[0];
|
|
537
|
+
if (word) {
|
|
538
|
+
if (entry.glued && tail !== trimmed) {
|
|
539
|
+
let rest = trimmed.slice(word.length);
|
|
540
|
+
if (rest.startsWith("/") || !(isCurrency(lead) || isCurrency(rest))) continue;
|
|
541
|
+
}
|
|
542
|
+
return { key: entry.key, word };
|
|
543
|
+
}
|
|
544
|
+
}
|
|
526
545
|
}
|
|
527
546
|
function affixWithoutScale(affix) {
|
|
528
547
|
let text = affix.trim();
|
|
@@ -954,8 +973,16 @@ function formatWithSpecUncached(value, spec) {
|
|
|
954
973
|
}
|
|
955
974
|
let underflow = spec.automatic && scaled === 0 && value !== 0 ? underflowScientificText(value, MAGNITUDE_DIVISOR[magnitude]) : void 0;
|
|
956
975
|
underflow && zeroLifts.count++;
|
|
957
|
-
let isZero = !underflow && !scientific && Number(rounded.text) === 0, negative = value < 0 && !isZero,
|
|
958
|
-
|
|
976
|
+
let isZero = !underflow && !scientific && Number(rounded.text) === 0, negative = value < 0 && !isZero, num;
|
|
977
|
+
if (scientific) num = scientific;
|
|
978
|
+
else if (spec.locale) {
|
|
979
|
+
let grouped = spec.thousandsSep !== "";
|
|
980
|
+
num = markedDecimal(rounded.text, rounded.decimals, grouped, spec.locale) ?? fractionFormat(spec.locale, rounded.decimals, grouped).format(Number(rounded.text));
|
|
981
|
+
} else {
|
|
982
|
+
let [intPart, fracPart] = rounded.text.split(".");
|
|
983
|
+
num = groupInteger(intPart, spec.thousandsSep === " " ? "\xA0" : spec.thousandsSep), rounded.decimals > 0 && (num += spec.decimalSep + (fracPart ?? ""));
|
|
984
|
+
}
|
|
985
|
+
underflow && (num = underflow), pValue && (num = withoutLeadingZero(num)), num += magnitudeText(spec, magnitude, num, Number(rounded.text)), spec.ordinal && (num += ordinalText(Number(rounded.text), spec.ordinal));
|
|
959
986
|
let core = `${spec.prefix}${num}${spec.suffix}`;
|
|
960
987
|
return signedText(core, negative, isZero, spec);
|
|
961
988
|
}
|
|
@@ -1620,6 +1647,7 @@ export {
|
|
|
1620
1647
|
ruleFormatter,
|
|
1621
1648
|
statisticSet,
|
|
1622
1649
|
withUnit,
|
|
1650
|
+
unitOnNumber,
|
|
1623
1651
|
AUTOMATIC_FORMAT,
|
|
1624
1652
|
MAGNITUDE_GROUP,
|
|
1625
1653
|
MAGNITUDE_FIGURES,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PR23T2O.js";
|
|
4
4
|
import {
|
|
5
5
|
baseOptionsSchema,
|
|
6
6
|
cellSchema,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
primaryAxisTitleSchema,
|
|
10
10
|
refusedBaseOptions,
|
|
11
11
|
scenarioField
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
13
13
|
|
|
14
14
|
// src/core/charts/waterfall/schema.ts
|
|
15
15
|
import * as z from "zod";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
refusedBaseOptions,
|
|
23
23
|
scenarioField,
|
|
24
24
|
valueKindSchema
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
26
26
|
|
|
27
27
|
// src/core/charts/combo/schema.ts
|
|
28
28
|
import * as z from "zod";
|
|
@@ -41,7 +41,7 @@ var categorySchema = categorySchemaOf({
|
|
|
41
41
|
}), seriesSchema = z.strictObject({
|
|
42
42
|
valueKind: valueKindSchema,
|
|
43
43
|
id: idSchema.describe("Series identity used by keyed options, annotations and legend entries."),
|
|
44
|
-
label: z.string().optional().describe(
|
|
44
|
+
label: z.string().optional().describe('Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").'),
|
|
45
45
|
values: z.array(z.union([detailCellSchema, z.strictObject({ categoryId: idSchema.describe("Category id identifying this value independently of array position."), value: detailCellSchema.describe("Cell assigned to the named category in this series.") })])).describe("Values in category order, or keyed entries pairing a categoryId with its value."),
|
|
46
46
|
scenario: scenarioField("Controls scenario labels and paint conventions."),
|
|
47
47
|
role: z.enum(["data", "reference"]).optional().describe("Data series or comparison-only reference series; references are excluded from the main plotted data."),
|
|
@@ -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
|
pvmCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-L6T7FXEM.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D2I2BUR6.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/pvm.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: { point: 0 }, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, valueAxis: { break: { from: 0, to: 0, style: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, interaction: 0, volumeMix: 0, methodNote: 0, netChange: 0, columnOverrides: { "*": { width: 0 } } }, labels: ["point"] }), PvmChart = createChartComponent(registeredType(pvmCore), checkOptionKeys);
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
getChart,
|
|
6
6
|
inferLinearYDomain,
|
|
7
7
|
invalidLinearBreakReason
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
9
9
|
import {
|
|
10
10
|
compareText
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-77LQEREO.js";
|
|
12
12
|
import {
|
|
13
13
|
maxOf,
|
|
14
14
|
minOf
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dimswitchClaims
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QMZPQU65.js";
|
|
4
4
|
import {
|
|
5
5
|
printsInCell,
|
|
6
6
|
tableCellNodeId
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TGTKAIDU.js";
|
|
8
8
|
import {
|
|
9
9
|
AVERAGE_ROW_ID,
|
|
10
10
|
missingCohortRate
|
|
11
11
|
} from "./chunk-EILNJQMN.js";
|
|
12
12
|
import {
|
|
13
13
|
claimId
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
15
15
|
|
|
16
16
|
// src/core/charts/creative/claims.ts
|
|
17
17
|
function deltaClaims(geometry) {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CARD_CLASS_WIDTH,
|
|
3
3
|
heightOmitted
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
5
5
|
import {
|
|
6
6
|
TEXT_ASCENT,
|
|
7
7
|
chartString,
|
|
8
8
|
fittedNote,
|
|
9
9
|
footnoteMark,
|
|
10
10
|
localeStrings
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
12
12
|
import {
|
|
13
13
|
INTERACTIVE_LAYOUT,
|
|
14
14
|
allQuiet,
|
|
@@ -26,16 +26,16 @@ import {
|
|
|
26
26
|
staticFrame,
|
|
27
27
|
unprintedNotes,
|
|
28
28
|
wrapFootnote
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-I3UJHKCS.js";
|
|
30
30
|
import {
|
|
31
31
|
emphasisWeight,
|
|
32
32
|
panelTypeClass,
|
|
33
33
|
round2,
|
|
34
34
|
spaceTokens
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4NGKSJBX.js";
|
|
36
36
|
import {
|
|
37
37
|
publishDeferred
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-6RRK3VFP.js";
|
|
39
39
|
import {
|
|
40
40
|
maxOf
|
|
41
41
|
} from "./chunk-WYJEOMNY.js";
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-PWROWDZS.js";
|
|
11
11
|
import {
|
|
12
12
|
figureRole
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KDRI3KHH.js";
|
|
14
14
|
import {
|
|
15
15
|
chartPalette
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
17
17
|
import {
|
|
18
18
|
structureCount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IHZNRJEV.js";
|
|
20
20
|
import {
|
|
21
21
|
CARD_HEIGHT_MEMO,
|
|
22
22
|
CARD_MIN_WIDTH,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
resolveSizing,
|
|
27
27
|
spread1DResult,
|
|
28
28
|
warnSpreadOverflow
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
30
30
|
import {
|
|
31
31
|
NOTED_LABELS,
|
|
32
32
|
PRIORITY,
|
|
@@ -43,20 +43,20 @@ import {
|
|
|
43
43
|
solveFrame,
|
|
44
44
|
solveLabels,
|
|
45
45
|
valueNoteLine
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
47
47
|
import {
|
|
48
48
|
disclosureNote
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-I3UJHKCS.js";
|
|
50
50
|
import {
|
|
51
51
|
formatterFromExample,
|
|
52
52
|
parseFormatExample,
|
|
53
53
|
seriesRasterFormatter,
|
|
54
54
|
withUnit
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-BHO5H4AF.js";
|
|
56
56
|
import {
|
|
57
57
|
chartStrings,
|
|
58
58
|
shareSetFormatter
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-5OUURZ2T.js";
|
|
60
60
|
import {
|
|
61
61
|
canvasMargin,
|
|
62
62
|
colorRolePaints,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
strokeToken,
|
|
73
73
|
textSizeOf,
|
|
74
74
|
themeForWidth
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-4NGKSJBX.js";
|
|
76
76
|
import {
|
|
77
77
|
NormalizeError,
|
|
78
78
|
TARGET_SIZE,
|
|
@@ -84,7 +84,7 @@ import {
|
|
|
84
84
|
graphemes,
|
|
85
85
|
splitNameBreaks,
|
|
86
86
|
wrapText
|
|
87
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-77LQEREO.js";
|
|
88
88
|
import {
|
|
89
89
|
maxOf,
|
|
90
90
|
minOf,
|
|
@@ -599,7 +599,7 @@ function layoutTreemapAt(data, options, memo) {
|
|
|
599
599
|
groups: groupsDerived,
|
|
600
600
|
items: itemsDerived,
|
|
601
601
|
maxAreaError: round6(maxAreaError),
|
|
602
|
-
...unitIterations ? { iterations: unitIterations } : {}
|
|
602
|
+
...unitIterations ? { iterations: { ...unitIterations } } : {}
|
|
603
603
|
},
|
|
604
604
|
a11y: {
|
|
605
605
|
title: accessibleTitle(options.title, chartString(options, "treemapTitle", { v1: ordered.length, v2: fmt(total) })),
|
|
@@ -658,9 +658,11 @@ ${chars.slice(split).join("")}`;
|
|
|
658
658
|
function brokeWord(label, lines) {
|
|
659
659
|
return lines.some((line, i) => line.endsWith("-") && !label.includes(`${line}${(lines[i + 1] ?? "").split(" ")[0]}`));
|
|
660
660
|
}
|
|
661
|
+
var lastCircleUnit;
|
|
661
662
|
function circleUnitCells(groups, total, byValue) {
|
|
662
|
-
let
|
|
663
|
-
|
|
663
|
+
let key = JSON.stringify([byValue, groups.map((group) => group.items.map((item) => item.value))]);
|
|
664
|
+
if (lastCircleUnit?.key === key) return lastCircleUnit.unit;
|
|
665
|
+
let circle = circlePolygon(0, 0, 1), shares = groups.map((g) => g.total / total), top = voronoiTreemap(circle, shares, seedSites(circle, shares)), itemIterations = 0, unit = { cells: groups.flatMap((g, gi) => {
|
|
664
666
|
let region = top.cells[gi], own = g.items.map((i) => i.value / g.total), seeds = seedSites(region, own);
|
|
665
667
|
if (byValue && own.length > 2) {
|
|
666
668
|
let order = [...own.keys()].sort((a, b) => (a % 2 === 0 ? -a : a) - (b % 2 === 0 ? -b : b)), c = polygonCentroid(region), inward = Math.atan2(-c.x, c.y), before = order.slice(0, order.indexOf(0)).reduce((sum, i) => sum + own[i], 0) + own[0] / 2, placed = seedSites(region, order.map((i) => own[i]), inward - before * 2 * Math.PI);
|
|
@@ -669,6 +671,7 @@ function circleUnitCells(groups, total, byValue) {
|
|
|
669
671
|
let level = voronoiTreemap(region, own, seeds);
|
|
670
672
|
return itemIterations = Math.max(itemIterations, level.iterations), level.cells;
|
|
671
673
|
}), groups: top.cells, iterations: { groups: top.iterations, items: itemIterations } };
|
|
674
|
+
return lastCircleUnit = { key, unit }, unit;
|
|
672
675
|
}
|
|
673
676
|
function rectPoly(r) {
|
|
674
677
|
return [{ x: r.x, y: r.y }, { x: r.x + r.w, y: r.y }, { x: r.x + r.w, y: r.y + r.h }, { x: r.x, y: r.y + r.h }];
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PR23T2O.js";
|
|
4
4
|
import {
|
|
5
5
|
DIVERGING_COLUMN_OVERRIDES_REFUSAL
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7OT6CVQT.js";
|
|
7
7
|
import {
|
|
8
8
|
TYPE_REFUSED_REASONS,
|
|
9
9
|
addCategorySeriesIdIssues,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
refusedBaseOptions,
|
|
18
18
|
scenarioField,
|
|
19
19
|
valueKindSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
21
21
|
|
|
22
22
|
// src/core/charts/slope/schema.ts
|
|
23
23
|
import * as z from "zod";
|
|
@@ -27,7 +27,7 @@ var categorySchema = categorySchemaOf({
|
|
|
27
27
|
}), seriesSchema = z.strictObject({
|
|
28
28
|
valueKind: valueKindSchema,
|
|
29
29
|
id: idSchema.describe("Series identity used by keyed options, annotations and legend entries."),
|
|
30
|
-
label: z.string().optional().describe(
|
|
30
|
+
label: z.string().optional().describe('Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").'),
|
|
31
31
|
values: z.array(z.union([detailCellSchema, z.strictObject({ categoryId: idSchema.describe("Category id identifying this value independently of array position."), value: detailCellSchema.describe("Cell assigned to the named category in this series.") })])).describe("Values in category order, or keyed entries pairing a categoryId with its value."),
|
|
32
32
|
scenario: scenarioField(""),
|
|
33
33
|
role: z.enum(["data", "reference"]).optional().describe("Declares a plotted data series or a comparison reference series."),
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.62.0";
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var BOARDPLOT_VERSION = "0.
|
|
5
|
+
var BOARDPLOT_VERSION = "0.62.0-engine.135.git.g669272cf8f05.src.hc20937d46d6eb2d1";
|
|
6
6
|
|
|
7
7
|
// src/core/engine.ts
|
|
8
8
|
var CLAIMS_SCHEMA = 2, ENGINE_REV = 135, CANONICALIZER = 1, ENGINE_VERSION = BOARDPLOT_VERSION;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
segmentLabelCandidates
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XBASXPUJ.js";
|
|
4
4
|
import {
|
|
5
5
|
rectsOverlap
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4NGKSJBX.js";
|
|
7
7
|
|
|
8
8
|
// src/core/label/slots.ts
|
|
9
9
|
function stackSegmentCandidates(rect, tsize, fits, fillCss, opts = {}) {
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
geoStepsSchema,
|
|
9
9
|
overlayMeasureSchema,
|
|
10
10
|
overlayTonesSchema
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UOTZH4TG.js";
|
|
12
12
|
import {
|
|
13
13
|
REGION_VALUES_WITHOUT_CODES_REFUSED
|
|
14
14
|
} from "./chunk-V5IFI3FV.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
addGeoIdIssues,
|
|
17
17
|
baseOptionsSchema,
|
|
18
18
|
refusedBaseOptions
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
20
20
|
|
|
21
21
|
// src/core/charts/tilemap/schema.ts
|
|
22
22
|
import * as z from "zod";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PR23T2O.js";
|
|
4
4
|
import {
|
|
5
5
|
addDuplicateIdIssues,
|
|
6
6
|
baseOptionsSchema,
|
|
7
7
|
idSchema,
|
|
8
8
|
refusedBaseOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
10
10
|
|
|
11
11
|
// src/core/charts/pvm/schema.ts
|
|
12
12
|
import * as z from "zod";
|
|
@@ -2,23 +2,23 @@ import {
|
|
|
2
2
|
PRIORITY,
|
|
3
3
|
composedTextRole,
|
|
4
4
|
fitText
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
6
6
|
import {
|
|
7
7
|
formatterFromExample,
|
|
8
8
|
parseFormatExample,
|
|
9
9
|
specUnitKind
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BHO5H4AF.js";
|
|
11
11
|
import {
|
|
12
12
|
NOT_AVAILABLE,
|
|
13
13
|
NOT_MEANINGFUL
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5OUURZ2T.js";
|
|
15
15
|
import {
|
|
16
16
|
arrowHeadPath,
|
|
17
17
|
resolveSurface
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4NGKSJBX.js";
|
|
19
19
|
import {
|
|
20
20
|
tint
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6RRK3VFP.js";
|
|
22
22
|
import {
|
|
23
23
|
DEFAULT_TARGET
|
|
24
24
|
} from "./chunk-RJICOOB3.js";
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
sankeyShareFormat,
|
|
8
8
|
segmentBands,
|
|
9
9
|
weightedCrossings
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2YXO645A.js";
|
|
11
11
|
import {
|
|
12
12
|
chartPalette
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
14
14
|
import {
|
|
15
15
|
widthsThatFit
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-C2X6NYMY.js";
|
|
17
17
|
import {
|
|
18
18
|
structureCount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IHZNRJEV.js";
|
|
20
20
|
import {
|
|
21
21
|
generatedIdWarnings
|
|
22
22
|
} from "./chunk-SXAZDIGM.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
heightOmitted,
|
|
27
27
|
resolveSizing,
|
|
28
28
|
spread1DResult
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
30
30
|
import {
|
|
31
31
|
PRIORITY,
|
|
32
32
|
authoredNotes,
|
|
@@ -39,18 +39,18 @@ import {
|
|
|
39
39
|
markNotedLabels,
|
|
40
40
|
solveFrame,
|
|
41
41
|
solveLabels
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
43
43
|
import {
|
|
44
44
|
valueNote
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-I3UJHKCS.js";
|
|
46
46
|
import {
|
|
47
47
|
formatterFromExample,
|
|
48
48
|
seriesRasterFormatter
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-BHO5H4AF.js";
|
|
50
50
|
import {
|
|
51
51
|
chartStrings,
|
|
52
52
|
shareSetFormatter
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-5OUURZ2T.js";
|
|
54
54
|
import {
|
|
55
55
|
canvasMargin,
|
|
56
56
|
createOccupiedIndex,
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
round2,
|
|
65
65
|
seriesPaint,
|
|
66
66
|
themeForWidth
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-4NGKSJBX.js";
|
|
68
68
|
import {
|
|
69
69
|
TARGET_SIZE,
|
|
70
70
|
accessibleTitle,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
import {
|
|
75
75
|
defaultMeasurer,
|
|
76
76
|
graphemes
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-77LQEREO.js";
|
|
78
78
|
import {
|
|
79
79
|
pushAll
|
|
80
80
|
} from "./chunk-WYJEOMNY.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
statusSquare
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MUYU6KTM.js";
|
|
4
4
|
import {
|
|
5
5
|
fieldHeadText
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-IMKHDTEQ.js";
|
|
7
7
|
import {
|
|
8
8
|
qualifierFont
|
|
9
9
|
} from "./chunk-Z2MGTKDR.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
readerFloorPx,
|
|
13
13
|
tableEmphasis,
|
|
14
14
|
tableHeadFloorPx
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4NGKSJBX.js";
|
|
16
16
|
import {
|
|
17
17
|
scaleTextPx
|
|
18
18
|
} from "./chunk-RJICOOB3.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
lineBlockWidth,
|
|
21
21
|
twoLineWidth,
|
|
22
22
|
wrapText
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-77LQEREO.js";
|
|
24
24
|
import {
|
|
25
25
|
maxOf
|
|
26
26
|
} from "./chunk-WYJEOMNY.js";
|
|
@@ -153,15 +153,15 @@ function encodingTrackWidth(column, rows, ctx) {
|
|
|
153
153
|
return Math.max(ENCODING_WIDTH, Math.ceil(widest / 0.42));
|
|
154
154
|
}
|
|
155
155
|
function intrinsicBodyWidths(column, rows, ctx, figuresOnly) {
|
|
156
|
-
let slot = ctx.bodyWidths?.columnIndex.get(column.id), variants = slot === void 0 ? void 0 : ctx.bodyWidths.columns[slot], authored = column.width !== void 0, hinted = ctx.hint !== void 0, known = variants?.find((value) => value.authored === authored && value.maxTextWidth === column.maxTextWidth && value.labelLines === ctx.labelLines && value.figuresOnly === figuresOnly && value.hinted === hinted && value.inlineIndent === ctx.inlineIndent);
|
|
156
|
+
let slot = ctx.bodyWidths?.columnIndex.get(column.id), variants = slot === void 0 ? void 0 : ctx.bodyWidths.columns[slot], authored = column.width !== void 0, hinted = ctx.hint !== void 0, known = variants?.find((value) => value.authored === authored && value.maxTextWidth === column.maxTextWidth && value.labelLines === ctx.labelLines && (!value.hasCellNotes || value.figuresOnly === figuresOnly) && value.hinted === hinted && value.inlineIndent === ctx.inlineIndent);
|
|
157
157
|
if (known) return known;
|
|
158
|
-
let isRowLabel = column.kind === "rowLabel", levels = [], widths = [];
|
|
158
|
+
let isRowLabel = column.kind === "rowLabel", hasCellNotes = !1, levels = [], widths = [];
|
|
159
159
|
for (let row of rows) {
|
|
160
160
|
if (row.inline === !0 || isRowLabel && row.role === "section") continue;
|
|
161
161
|
let cell = row.cells[column.id];
|
|
162
162
|
if (!cell) continue;
|
|
163
163
|
let font = ctx.cellFont(cell), width = (isRowLabel || column.kind === "text") && ctx.labelLines !== void 0 && ctx.labelLines > 1 ? lineBlockWidth(cell.displayed, ctx.labelLines, font, ctx.measure, isRowLabel) : ctx.measure(cell.displayed, figureFont(font, ctx.figures?.(column, cell.displayed))).width;
|
|
164
|
-
if (width += ctx.slack?.(font, width) ?? 0, isRowLabel && column.width === void 0 && column.maxTextWidth !== void 0 && (width = Math.min(width, column.maxTextWidth)), isRowLabel && row.unitAffix !== void 0 && (width += ctx.theme?.table?.qualifier ? ctx.measure(row.unitAffix, qualifierFont(font, ctx.theme)).width + (ctx.theme.table.qualifier.gap ?? 4) : ctx.measure(` ${row.unitAffix}`, ctx.inlineFont(row.step, !1)).width), isRowLabel && (width += ctx.hint?.(row) ?? 0), cell.note && !figuresOnly) {
|
|
164
|
+
if (width += ctx.slack?.(font, width) ?? 0, isRowLabel && column.width === void 0 && column.maxTextWidth !== void 0 && (width = Math.min(width, column.maxTextWidth)), isRowLabel && row.unitAffix !== void 0 && (width += ctx.theme?.table?.qualifier ? ctx.measure(row.unitAffix, qualifierFont(font, ctx.theme)).width + (ctx.theme.table.qualifier.gap ?? 4) : ctx.measure(` ${row.unitAffix}`, ctx.inlineFont(row.step, !1)).width), isRowLabel && (width += ctx.hint?.(row) ?? 0), cell.note && (hasCellNotes = !0), cell.note && !figuresOnly) {
|
|
165
165
|
let underFigure = isRowLabel || column.noteLine === !0, note = ctx.measure(
|
|
166
166
|
underFigure ? cell.note : ` ${cell.note}`,
|
|
167
167
|
underFigure ? ctx.inlineFont(row.step, !1) : ctx.fonts.note
|
|
@@ -190,7 +190,7 @@ function intrinsicBodyWidths(column, rows, ctx, figuresOnly) {
|
|
|
190
190
|
}
|
|
191
191
|
widths[index] = cellMax;
|
|
192
192
|
}
|
|
193
|
-
let result = { authored, maxTextWidth: column.maxTextWidth, labelLines: ctx.labelLines, figuresOnly, hinted, inlineIndent: ctx.inlineIndent, levels, widths };
|
|
193
|
+
let result = { authored, maxTextWidth: column.maxTextWidth, labelLines: ctx.labelLines, figuresOnly, hasCellNotes, hinted, inlineIndent: ctx.inlineIndent, levels, widths };
|
|
194
194
|
return variants && variants.length >= 64 && variants.shift(), variants?.push(result), result;
|
|
195
195
|
}
|
|
196
196
|
function intrinsicColumnWidth(column, rows, ctx, figuresOnly = !1) {
|