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
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
parseFormatExample,
|
|
17
17
|
parseISODate,
|
|
18
18
|
specUnitKind
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BHO5H4AF.js";
|
|
20
20
|
import {
|
|
21
21
|
levenshtein
|
|
22
22
|
} from "./chunk-NMTWUYUF.js";
|
|
@@ -880,7 +880,7 @@ var topNFields = {
|
|
|
880
880
|
z2.literal(!1).describe("Suppress the visible title while retaining the accessible chart name.")
|
|
881
881
|
]).optional().describe("Visible title override. `**text**` draws bold and a single `*` stays literal. Omission retains the chart-specific title behaviour."),
|
|
882
882
|
subtitle: subtitleSchema.optional().describe("Measure subtitle below the title. Strings expand to the measure field. `**text**` draws bold in company, measure and period. A single `*` stays literal."),
|
|
883
|
-
unit: z2.string().optional().describe("Chart unit, composed into the subtitle where supported; individual series may declare their own units. A unit prints as text after the number, so unit 'USD' reads 2,456 USD. For a currency sign, set format instead, such as '$1,234'; a unit the format already prints warns unit-in-format, and a unit that names another currency than the format's sign warns unit-format-conflict."),
|
|
883
|
+
unit: z2.string().optional().describe("Chart unit, composed into the subtitle where supported; individual series may declare their own units. A unit prints as text after the number, so unit 'USD' reads 2,456 USD. For a currency sign, set format instead, such as '$1,234'; a unit the format already prints warns unit-in-format, and a unit that names another currency than the format's sign warns unit-format-conflict. A unit in words, such as 'orders', names the number on the hover card ('Orders: 76'); a sign, code or scale such as '%', 'kg' or 'k orders' stays on the number."),
|
|
884
884
|
unitShown: z2.boolean().optional().describe("True when the host prints the unit beside the chart: no unit line, no unit beside a kpi value; line end labels, a table head and the legend check treat the unit as shown. Number formatting does not change. Default false."),
|
|
885
885
|
source: optionShapeSchema("source", z2.string(), z2.array(z2.string())).optional().describe("Source credit rendered in the chart frame. An array of strings joins with '; ' in one source line. An empty array prints no source. `**text**` draws bold and a single `*` stays literal."),
|
|
886
886
|
footnotes: optionShapeSchema("footnotes", z2.union([
|
|
@@ -970,6 +970,8 @@ var topNFields = {
|
|
|
970
970
|
belowSeries: z2.string().optional().describe("Negative line gap key."),
|
|
971
971
|
average: z2.string().min(1).optional().describe("Name before a computed mean; English Average, German \xD8."),
|
|
972
972
|
valueLineRange: z2.string().min(1, "valueLineRange must not be empty; use {v1} and {v2} for the formatted bounds").optional().describe("Tolerance-band bounds; {v1} and {v2} are the formatted bounds."),
|
|
973
|
+
valueLineRangeKey: z2.string().min(1).optional().describe("Key of a tolerance band on a column, bar or dot chart; {name} is the line's name and {range} the bounds."),
|
|
974
|
+
valueLineRangeKeyPlain: z2.string().min(1).optional().describe("Key of a tolerance band whose line has no name; {range} is the bounds."),
|
|
973
975
|
toDate: z2.string().min(1).optional().describe("Text after a running category name in its key or note."),
|
|
974
976
|
forecast: z2.string().min(1).optional().describe("Key for the forecast pattern."),
|
|
975
977
|
plan: z2.string().min(1).optional().describe("Key for the plan outline."),
|
|
@@ -1031,7 +1033,10 @@ var topNFields = {
|
|
|
1031
1033
|
incompleteStacks: z2.string().min(1).optional().describe("Incomplete bar stack note (bar only; column and combo use knownPartsTotals); {categories} is replaced."),
|
|
1032
1034
|
knownPartsShares: z2.string().min(1).optional().describe("Incomplete 100% stack note without total100; {categories} is replaced."),
|
|
1033
1035
|
rebaseZero: z2.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a zero or negative base; {series} and {period} are replaced."),
|
|
1034
|
-
rebaseMissing: z2.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a missing base; {series} and {period} are replaced.")
|
|
1036
|
+
rebaseMissing: z2.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a missing base; {series} and {period} are replaced."),
|
|
1037
|
+
stackFrom: z2.string().min(1).optional().describe("Metric stack focus look: the base value after the change; {v1} is the base value. English from {v1}."),
|
|
1038
|
+
stackAgainst: z2.string().min(1).optional().describe("Metric stack focus look: the word between the focus and the base window in the header line. English against."),
|
|
1039
|
+
stackAverages: z2.string().min(1).optional().describe("Metric stack focus look: the header sentence when a window holds more than one category; {v1} is the grain.")
|
|
1035
1040
|
}).strict().optional().describe("Wording of built-in labels. These are the labels the renderer composes itself: author chart text stays unchanged and an explicit option still wins per label; host-level wording comes from the theme provider."),
|
|
1036
1041
|
format: formatExample.optional().describe(`Chart-level format-by-example, such as 1,234.5 or 1.2pp. A currency sign comes from here: '$1,234' prints $2,456. Its decimals are preserved; series and cell formats can override it. Without a format, every number prints by the default rule: scale words from 10,000 (cells from 100,000), three digits of the largest value, no more decimals than the data carry. ${MAGNITUDE_WORDS_DOC} ${PERCENT_FORMAT_UNITS} A separator followed by exactly three digits after a nonzero integer part is a thousands mark: 1.000 groups thousands with a dot and prints decimals with a comma; write 0.000 for three decimals.`),
|
|
1037
1042
|
detailFields: detailFieldsSchema.optional().describe("Label, format, unit and order of the cell details keys, the extra facts a value's hover card lists after it: [{ key: 'deals', label: 'Deals', format: '1,234' }]. Declared keys print first, in this order; a details key it does not declare prints after them, labelled with its key. Default: every key, labelled with itself."),
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
olsFit,
|
|
5
5
|
olsMoments,
|
|
6
6
|
trendRateTexts
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OF4VHET3.js";
|
|
8
8
|
import {
|
|
9
9
|
preparePolyline
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XJSI7ZO2.js";
|
|
11
11
|
import {
|
|
12
12
|
INTERVAL_TICK
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XLHURGH3.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_OTHERS_SHADE
|
|
16
16
|
} from "./chunk-RQ5DNYLG.js";
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
} from "./chunk-EKQK5D6G.js";
|
|
20
20
|
import {
|
|
21
21
|
warnSliverLabels
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XBASXPUJ.js";
|
|
23
23
|
import {
|
|
24
24
|
gapMarkerNode
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4SK4IGMK.js";
|
|
26
26
|
import {
|
|
27
27
|
chartString as chartString2,
|
|
28
28
|
localeStrings,
|
|
29
29
|
planNearZeroTails
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-Z3VCVPYX.js";
|
|
31
31
|
import {
|
|
32
32
|
categoryBandFromCenters
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-WM65Q3AL.js";
|
|
34
34
|
import {
|
|
35
35
|
trendTimeUnit
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-FXQH2QJN.js";
|
|
37
37
|
import {
|
|
38
38
|
categoryLineAlign,
|
|
39
39
|
dayUnit,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
valueAxisTitleRequest,
|
|
48
48
|
warnSpreadOverflow,
|
|
49
49
|
yearRowRequests
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
51
51
|
import {
|
|
52
52
|
AREA_FILL_PART,
|
|
53
53
|
LAST_RESORT_PENALTY,
|
|
@@ -64,10 +64,10 @@ import {
|
|
|
64
64
|
toDateFits,
|
|
65
65
|
toDateLabel,
|
|
66
66
|
unitPrinted
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
68
68
|
import {
|
|
69
69
|
disclosureNote
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-I3UJHKCS.js";
|
|
71
71
|
import {
|
|
72
72
|
defaultAnnotationId
|
|
73
73
|
} from "./chunk-PPOUKS24.js";
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
ruleFormatter,
|
|
84
84
|
seriesRasterFormatter,
|
|
85
85
|
withUnit
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-BHO5H4AF.js";
|
|
87
87
|
import {
|
|
88
88
|
NOT_AVAILABLE,
|
|
89
89
|
NOT_MEANINGFUL,
|
|
@@ -95,7 +95,7 @@ import {
|
|
|
95
95
|
numberRange,
|
|
96
96
|
shareDecimals,
|
|
97
97
|
stringFields
|
|
98
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-5OUURZ2T.js";
|
|
99
99
|
import {
|
|
100
100
|
HATCH_STRENGTH_DEFAULT,
|
|
101
101
|
LABEL_PLATE_RADIUS,
|
|
@@ -129,11 +129,11 @@ import {
|
|
|
129
129
|
sideAwayFrom,
|
|
130
130
|
strokeToken,
|
|
131
131
|
textScaleOf
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-4NGKSJBX.js";
|
|
133
133
|
import {
|
|
134
134
|
PALETTE_NORMAL_FLOOR,
|
|
135
135
|
palettePerceptualDistance
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-6RRK3VFP.js";
|
|
137
137
|
import {
|
|
138
138
|
cubicPoint,
|
|
139
139
|
curvePathFromSegments,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PR23T2O.js";
|
|
4
4
|
import {
|
|
5
5
|
REFUSED_OPTIONS
|
|
6
6
|
} from "./chunk-M4YLED7M.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
colorRoleField,
|
|
11
11
|
idSchema,
|
|
12
12
|
refusedBaseOptions
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
14
14
|
|
|
15
15
|
// src/core/charts/pyramid/schema.ts
|
|
16
16
|
import * as z from "zod";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
columnHeadText,
|
|
6
6
|
columnWidth,
|
|
7
7
|
differenceFormatter
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U4PDXI67.js";
|
|
9
9
|
import {
|
|
10
10
|
seatsPastBlockers
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-DCFK2BUL.js";
|
|
12
12
|
import {
|
|
13
13
|
prepareRangeData,
|
|
14
14
|
resolveCellRange
|
|
@@ -16,53 +16,65 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
averageMarkerLine,
|
|
18
18
|
averageMarkerScope
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MTJZT6F2.js";
|
|
20
20
|
import {
|
|
21
21
|
overValueLines
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XBASXPUJ.js";
|
|
23
|
+
import {
|
|
24
|
+
drawnToleranceBands,
|
|
25
|
+
toleranceKeyed,
|
|
26
|
+
toleranceLegendKeys,
|
|
27
|
+
valueLineExtent
|
|
28
|
+
} from "./chunk-XKGZWQF7.js";
|
|
23
29
|
import {
|
|
24
30
|
warnMissingValue
|
|
25
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4SK4IGMK.js";
|
|
26
32
|
import {
|
|
27
33
|
HEAD_PREFIX,
|
|
28
34
|
asColumnHeads,
|
|
29
35
|
columnHeadFont,
|
|
30
36
|
fitHead,
|
|
31
37
|
headRequest
|
|
32
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-MAA5IGGT.js";
|
|
33
39
|
import {
|
|
34
40
|
percentCellsOnly,
|
|
35
41
|
percentLevels,
|
|
36
42
|
runAnnotatePass
|
|
37
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-KWKJYMXJ.js";
|
|
38
44
|
import {
|
|
39
45
|
rowLabelBand
|
|
40
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-OCANU74G.js";
|
|
41
47
|
import {
|
|
42
48
|
fittedLabel,
|
|
43
49
|
gutterBudget,
|
|
44
50
|
pinnedRowFont,
|
|
45
51
|
stepDownFont
|
|
46
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-GNSAYVND.js";
|
|
47
53
|
import {
|
|
48
54
|
breakUnsupported,
|
|
49
55
|
chartPalette,
|
|
50
56
|
chartTheme
|
|
51
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
52
58
|
import {
|
|
53
59
|
topNCut,
|
|
54
60
|
topNOmitted,
|
|
55
61
|
topNRestUnsupported
|
|
56
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-HCAPGTEA.js";
|
|
57
63
|
import {
|
|
58
64
|
namedLineText
|
|
59
65
|
} from "./chunk-R4MVXUAG.js";
|
|
66
|
+
import {
|
|
67
|
+
categoryTargetFields,
|
|
68
|
+
spliceAnnotationNodes,
|
|
69
|
+
valueLineHasTargetExtras,
|
|
70
|
+
valueLineNeedsSharedPass
|
|
71
|
+
} from "./chunk-WM65Q3AL.js";
|
|
60
72
|
import {
|
|
61
73
|
labelOn
|
|
62
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-OQGSYQLE.js";
|
|
63
75
|
import {
|
|
64
76
|
structureCount
|
|
65
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-IHZNRJEV.js";
|
|
66
78
|
import {
|
|
67
79
|
alignedRight,
|
|
68
80
|
authoredTrackWidth,
|
|
@@ -84,7 +96,7 @@ import {
|
|
|
84
96
|
planValueAxisTitle,
|
|
85
97
|
shownTickStep,
|
|
86
98
|
valueAxisTitleRequest
|
|
87
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
88
100
|
import {
|
|
89
101
|
prepareFractionData
|
|
90
102
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -104,10 +116,10 @@ import {
|
|
|
104
116
|
solveFrame,
|
|
105
117
|
solveLabels,
|
|
106
118
|
unitPrinted
|
|
107
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
108
120
|
import {
|
|
109
121
|
disclosureNote
|
|
110
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-I3UJHKCS.js";
|
|
111
123
|
import {
|
|
112
124
|
emptyIdRecord
|
|
113
125
|
} from "./chunk-LINZPU5D.js";
|
|
@@ -116,10 +128,10 @@ import {
|
|
|
116
128
|
formatWithSpec,
|
|
117
129
|
formatterFromExample,
|
|
118
130
|
seriesRasterFormatter
|
|
119
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-BHO5H4AF.js";
|
|
120
132
|
import {
|
|
121
133
|
chartStrings
|
|
122
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-5OUURZ2T.js";
|
|
123
135
|
import {
|
|
124
136
|
cellMeta,
|
|
125
137
|
cellValue,
|
|
@@ -147,12 +159,12 @@ import {
|
|
|
147
159
|
strokeToken,
|
|
148
160
|
textScaleOf,
|
|
149
161
|
unionRect
|
|
150
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-4NGKSJBX.js";
|
|
151
163
|
import {
|
|
152
164
|
MARK_CONTRAST_FLOOR,
|
|
153
165
|
hueSaturation,
|
|
154
166
|
palettePerceptualDistance
|
|
155
|
-
} from "./chunk-
|
|
167
|
+
} from "./chunk-6RRK3VFP.js";
|
|
156
168
|
import {
|
|
157
169
|
DEFAULT_TARGET,
|
|
158
170
|
NormalizeError,
|
|
@@ -167,7 +179,7 @@ import {
|
|
|
167
179
|
} from "./chunk-RJICOOB3.js";
|
|
168
180
|
import {
|
|
169
181
|
defaultMeasurer
|
|
170
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-77LQEREO.js";
|
|
171
183
|
import {
|
|
172
184
|
maxOf,
|
|
173
185
|
minOf,
|
|
@@ -285,7 +297,7 @@ function layoutDot(data, options = {}) {
|
|
|
285
297
|
throw new NormalizeError("no-data-series", "series", "dot requires at least one data-role series", void 0, void 0, ["data", "series"]);
|
|
286
298
|
let valueSpec = seriesRasterFormatter(options.format, normSeries.flatMap(
|
|
287
299
|
(s) => s.cells.flatMap((cell) => [cell.v, cell.range?.low, cell.range?.high, cell.range?.mid])
|
|
288
|
-
), options.locale?.language, options.unit), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), percentSpec = { ...valueSpec.percentSpec, suffix: "%" }, referenceFmt = percent && !options.format ? (v) => formatWithSpec(v, percentSpec) : fmt, meanFmt = percent && !options.format ? (v) => formatStatWithSpec(v, percentSpec) : (v) => formatStatWithSpec(v, valueSpec.spec);
|
|
300
|
+
), options.locale?.language, options.unit), fmt = valueSpec.fmt, percent = options.unit === "%" || percentLevels(dataSeries.map((series) => ({ vals: series.cells }))), percentAxis = percentCellsOnly(dataSeries.map((series) => ({ vals: series.cells.map((cell) => ({ ...cell, format: cell.meta?.format })), format: series.format }))), percentSpec = { ...valueSpec.percentSpec, suffix: "%" }, passText = { format: options.format, locale: options.locale?.language, levelSpec: percent ? percentSpec : valueSpec.spec, strings: options.strings }, referenceFmt = percent && !options.format ? (v) => formatWithSpec(v, percentSpec) : fmt, meanFmt = percent && !options.format ? (v) => formatStatWithSpec(v, percentSpec) : (v) => formatStatWithSpec(v, valueSpec.spec);
|
|
289
301
|
if (variant === "dumbbell" && dataSeries.length !== 2)
|
|
290
302
|
throw new NormalizeError(
|
|
291
303
|
"dumbbell-two-series",
|
|
@@ -349,11 +361,11 @@ function layoutDot(data, options = {}) {
|
|
|
349
361
|
averageIds.add(marker.id), annotationsAll.push(marker);
|
|
350
362
|
}
|
|
351
363
|
}
|
|
352
|
-
let localAnns = annotationsAll.filter((a) => a.kind === "valueLine"), passAnns = annotationsAll.filter((a) => a.
|
|
364
|
+
let localAnns = annotationsAll.filter((a) => a.kind === "valueLine" && !valueLineNeedsSharedPass(a)), passAnns = annotationsAll.filter((a) => !localAnns.includes(a)).map((a) => attainmentSeries(a, dataSeries, highlights, variant)), allDotValues = [];
|
|
353
365
|
for (let s of dataSeries) for (let c of s.cells) c.v !== null && allDotValues.push(c.v);
|
|
354
366
|
let allRangeValues = dataSeries.flatMap(
|
|
355
367
|
(series) => series.cells.flatMap((cell) => cell.range ? [cell.range.low, cell.range.high] : [])
|
|
356
|
-
), meanValue = allDotValues.length > 0 ? allDotValues.reduce((a, b) => a + b, 0) / allDotValues.length : void 0, valueLineValue = (a) => a.value === void 0 || a.value === "mean" ? meanValue : a.value, lo = Number.POSITIVE_INFINITY, hi = Number.NEGATIVE_INFINITY;
|
|
368
|
+
), meanValue = allDotValues.length > 0 ? allDotValues.reduce((a, b) => a + b, 0) / allDotValues.length : void 0, valueLineValue = (a) => a.value === void 0 || a.value === "mean" ? meanValue : a.value, passLines = [valueLineExtent(passAnns), ...drawnToleranceBands(passAnns, meanValue, cats.map((c) => c.id))].reduce((all, e) => e ? all ? { lo: Math.min(all.lo, e.lo), hi: Math.max(all.hi, e.hi) } : e : all, null), lo = Number.POSITIVE_INFINITY, hi = Number.NEGATIVE_INFINITY;
|
|
357
369
|
for (let v of [...allDotValues, ...allRangeValues])
|
|
358
370
|
lo = Math.min(lo, v), hi = Math.max(hi, v);
|
|
359
371
|
Number.isFinite(lo) || (lo = 0, hi = 1), (variant === "lollipop" || options.valueAxis?.includeZero) && (lo = Math.min(lo, 0), hi = Math.max(hi, 0));
|
|
@@ -362,7 +374,7 @@ function layoutDot(data, options = {}) {
|
|
|
362
374
|
let v = valueLineValue(a);
|
|
363
375
|
v !== void 0 && (lo = Math.min(lo, v), hi = Math.max(hi, v));
|
|
364
376
|
}
|
|
365
|
-
[lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings);
|
|
377
|
+
passLines && (lo = Math.min(lo, passLines.lo), hi = Math.max(hi, passLines.hi)), [lo, hi] = applyAxisBounds([lo, hi], [lo, hi], options.valueAxis, warnings);
|
|
366
378
|
let tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, textFrom = (cell, base) => {
|
|
367
379
|
let { meta } = cell;
|
|
368
380
|
return meta?.label === !1 ? null : typeof meta?.label == "string" ? meta.label.replace(/\$\{value\}/g, base) : base;
|
|
@@ -420,7 +432,7 @@ function layoutDot(data, options = {}) {
|
|
|
420
432
|
measure
|
|
421
433
|
},
|
|
422
434
|
occupied
|
|
423
|
-
), plot0 = frameResult.plot, autoAxis = variant === "lollipop" && options.valueAxis?.show === void 0 && labelOn2("point") && dataSeries.every((s) => s.cells.every((cell) => cell.v === null || textFor(cell.v, cell, s) !== null)), axisShown = autoAxis ? !1 : options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, annPad = localAnns.length > 0 ? 26 : 8, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0;
|
|
435
|
+
), plot0 = frameResult.plot, autoAxis = variant === "lollipop" && options.valueAxis?.show === void 0 && labelOn2("point") && dataSeries.every((s) => s.cells.every((cell) => cell.v === null || textFor(cell.v, cell, s) !== null)), axisShown = autoAxis ? !1 : options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, annPad = localAnns.length > 0 || passAnns.some(valueLineHasTargetExtras) ? 26 : 8, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0;
|
|
424
436
|
fixedPlotChrome(frameResult, annPad + axisH);
|
|
425
437
|
let availH = plotHeightAfter(frameResult, size.height, plot0.h - annPad - axisH), lineH = tickFont.size * 1.2, stepEst = availH / cats.length, openHeight = options[TARGET_SIZE]?.fixed.height === !1, labelOverride = options.columnOverrides?.label, rowHeaders = variant === "dumbbell" && labelOn2("category") && options.rowLabels === void 0 && labelOverride === void 0 && size.width <= HEADER_ROWS_MAX_WIDTH && (openHeight || stepEst >= 2 * lineH + 8), headerH = rowHeaders ? lineH + 3 : 0, air = options[HARD_MINIMUM] === !0 ? 1 : 4, catMaxLines = rowHeaders ? 1 : openHeight ? 1 / 0 : stepEst >= 2 * lineH + 4 ? 2 : 1, gapW = gapHead === void 0 ? 0 : gapOverride?.width === void 0 ? gapNaturalW : authoredTrackWidth("gap", gapOverride.width, gapNaturalW, plot0.w - (labelOn2("category") ? 24 + CAT_BAND_GAP : 0) - COLUMN_GAP - trackPlotFloor(plot0.w), warnings), gapReserve = gapW > 0 ? gapW + COLUMN_GAP : 0, nameTrack = labelOverride?.width === void 0 || !labelOn2("category") ? void 0 : authoredTrackWidth("label", labelOverride.width, 24, plot0.w - CAT_BAND_GAP - gapReserve - trackPlotFloor(plot0.w), warnings);
|
|
426
438
|
columnOverrideWarnings("dot", options.columnOverrides, [...labelOn2("category") && !rowHeaders ? ["label"] : [], ...gapHead === void 0 ? [] : ["gap"]], ["gap"], warnings);
|
|
@@ -472,6 +484,7 @@ function layoutDot(data, options = {}) {
|
|
|
472
484
|
let v = valueLineValue(ann);
|
|
473
485
|
return v === void 0 ? [] : [v];
|
|
474
486
|
}),
|
|
487
|
+
...passLines ? [passLines.lo, passLines.hi] : [],
|
|
475
488
|
...options.valueAxis?.min !== void 0 ? [options.valueAxis.min] : [],
|
|
476
489
|
...options.valueAxis?.max !== void 0 ? [options.valueAxis.max] : []
|
|
477
490
|
];
|
|
@@ -957,23 +970,25 @@ function layoutDot(data, options = {}) {
|
|
|
957
970
|
resolve: (ref) => withPrinted(resolve(ref)),
|
|
958
971
|
deltaAcrossRows: !0,
|
|
959
972
|
valueAxis: "horizontal",
|
|
960
|
-
// For the drawing annotations' value points
|
|
973
|
+
// For the drawing annotations' value points and the target lines this pass draws.
|
|
961
974
|
xScale: x,
|
|
975
|
+
// Only a target's tolerance and attainment read the rows; the other annotations keep their anchors.
|
|
976
|
+
valueLineCategories: categoryTargetFields(cats.map((c) => c.id), plot, (i) => band.position(i) + band.bandwidth / 2, "y"),
|
|
977
|
+
// A target prints in the unit of the dots, as the local lines do (referenceFmt).
|
|
978
|
+
valueLinePercentLevels: percent,
|
|
962
979
|
defaultSpan: cats.length >= 2 ? { from: cats[0].id, to: cats[cats.length - 1].id } : void 0,
|
|
963
980
|
occupied,
|
|
964
981
|
plot,
|
|
965
982
|
theme,
|
|
966
983
|
measure,
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
levelSpec: percent ? percentSpec : valueSpec.spec,
|
|
970
|
-
strings: options.strings,
|
|
984
|
+
...passText,
|
|
985
|
+
toleranceKeyed: toleranceKeyed(passAnns, frameResult.legend?.items),
|
|
971
986
|
solveCtx,
|
|
972
987
|
meanValue
|
|
973
988
|
});
|
|
974
989
|
pushAll(warnings, annResult.warnings);
|
|
975
990
|
let allLabels = [...solved.placed, ...annResult.labels];
|
|
976
|
-
|
|
991
|
+
spliceAnnotationNodes(nodes, annResult.nodes, new Set(passAnns.flatMap((a) => a.kind === "valueLine" ? [a.id] : []))), pushAll(
|
|
977
992
|
nodes,
|
|
978
993
|
labelsToNodes(
|
|
979
994
|
theme,
|
|
@@ -1129,7 +1144,9 @@ function layoutDot(data, options = {}) {
|
|
|
1129
1144
|
label: d === "rose" ? chartString(options, "rose") : chartString(options, "fell"),
|
|
1130
1145
|
key: "line",
|
|
1131
1146
|
paint: { token: d === "rose" == (dataSeries[1]?.direction === "higherIsBetter") ? "good" : "bad" }
|
|
1132
|
-
}))
|
|
1147
|
+
})),
|
|
1148
|
+
// A tolerance band says nothing about itself: the key names it and prints its bounds.
|
|
1149
|
+
...toleranceLegendKeys(passAnns, meanValue, cats.map((c) => c.id), passText)
|
|
1133
1150
|
];
|
|
1134
1151
|
if (l === "none" || l === "auto" || !l && extras.length === 0) return;
|
|
1135
1152
|
let legendOptions = normalizeLegendOption(l ?? "top"), keyUnit = options.mode === "compact" && !unitPrinted({ ...options, subtitle: resolveSubtitle(options.subtitle) }) ? options.unit : void 0, items = [...l || rangesDrawn ? dataSeries.map((s) => {
|
|
@@ -1145,6 +1162,13 @@ function layoutDot(data, options = {}) {
|
|
|
1145
1162
|
return { options: legendOptions, items };
|
|
1146
1163
|
}
|
|
1147
1164
|
}
|
|
1165
|
+
function attainmentSeries(ann, dataSeries, highlights, variant) {
|
|
1166
|
+
if (ann.kind !== "valueLine" || !ann.attainment || dataSeries.length < 2) return ann;
|
|
1167
|
+
let spec = ann.attainment === !0 ? {} : ann.attainment;
|
|
1168
|
+
if (spec.seriesId !== void 0) return ann;
|
|
1169
|
+
let seriesId = variant === "dumbbell" ? dataSeries[dataSeries.length - 1].id : (dataSeries.find((s) => highlights.has(s.id)) ?? dataSeries[0]).id;
|
|
1170
|
+
return { ...ann, attainment: { ...spec, seriesId } };
|
|
1171
|
+
}
|
|
1148
1172
|
|
|
1149
1173
|
// src/core/charts/dot/core.ts
|
|
1150
1174
|
var dotCore = {
|
|
@@ -4,11 +4,11 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
eyebrowFont,
|
|
6
6
|
figureRole
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KDRI3KHH.js";
|
|
8
8
|
import {
|
|
9
9
|
fittedLabel,
|
|
10
10
|
stepDownFont
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GNSAYVND.js";
|
|
12
12
|
import {
|
|
13
13
|
cardSize,
|
|
14
14
|
emitKpiSpark,
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
lastObservedIndex,
|
|
18
18
|
lastObservedLabel,
|
|
19
19
|
lastObservedPriority
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2MK5437T.js";
|
|
21
21
|
import {
|
|
22
22
|
structureCount
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IHZNRJEV.js";
|
|
24
24
|
import {
|
|
25
25
|
alignedLeft,
|
|
26
26
|
authoredTrackWidth,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-GKDUIDU6.js";
|
|
29
29
|
import {
|
|
30
30
|
chipPaints
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MUYU6KTM.js";
|
|
32
32
|
import {
|
|
33
33
|
bandFor
|
|
34
34
|
} from "./chunk-263SZKIL.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
chartSizing,
|
|
37
37
|
resolveSizing,
|
|
38
38
|
rowDrivenHeight
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
40
40
|
import {
|
|
41
41
|
PRIORITY,
|
|
42
42
|
composedTextRole,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
solveLabels,
|
|
50
50
|
textCarriesUnit,
|
|
51
51
|
unitPrinted
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
53
53
|
import {
|
|
54
54
|
RULE_SET,
|
|
55
55
|
defaultSetSpec,
|
|
@@ -64,12 +64,12 @@ import {
|
|
|
64
64
|
sameScale,
|
|
65
65
|
specUnitKind,
|
|
66
66
|
withUnit
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-BHO5H4AF.js";
|
|
68
68
|
import {
|
|
69
69
|
MINUS,
|
|
70
70
|
chartStrings,
|
|
71
71
|
formatAutomaticPercent
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-5OUURZ2T.js";
|
|
73
73
|
import {
|
|
74
74
|
cellMeta
|
|
75
75
|
} from "./chunk-O3VN6BTL.js";
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
resolveSurface,
|
|
87
87
|
resolveTheme,
|
|
88
88
|
textScaleOf
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-4NGKSJBX.js";
|
|
90
90
|
import {
|
|
91
91
|
DEFAULT_TARGET,
|
|
92
92
|
NormalizeError,
|
|
@@ -100,7 +100,7 @@ import {
|
|
|
100
100
|
} from "./chunk-RJICOOB3.js";
|
|
101
101
|
import {
|
|
102
102
|
defaultMeasurer
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-77LQEREO.js";
|
|
104
104
|
import {
|
|
105
105
|
maxOf,
|
|
106
106
|
pushAll
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6PR23T2O.js";
|
|
4
4
|
import {
|
|
5
5
|
addCanvasBoundsIssues,
|
|
6
6
|
addDuplicateIdIssues,
|
|
7
7
|
baseOptionsSchema,
|
|
8
8
|
refusedBaseOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
10
10
|
import {
|
|
11
11
|
isIconName,
|
|
12
12
|
listIcons
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutButterfly
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FXKGNJYB.js";
|
|
4
4
|
import {
|
|
5
5
|
calendarCategories,
|
|
6
6
|
chartSizing,
|
|
7
7
|
sideKeyGivesWay
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
9
9
|
import {
|
|
10
10
|
prepareFractionData
|
|
11
11
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -4,20 +4,20 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
eyebrowFont,
|
|
6
6
|
figureRole
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KDRI3KHH.js";
|
|
8
8
|
import {
|
|
9
9
|
chartPalette
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YE6B7P6Q.js";
|
|
11
11
|
import {
|
|
12
12
|
structureCount
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IHZNRJEV.js";
|
|
14
14
|
import {
|
|
15
15
|
NARROW_FORM,
|
|
16
16
|
SIZE_TOLERANCE,
|
|
17
17
|
heightOmitted,
|
|
18
18
|
resolveSizing,
|
|
19
19
|
rowDrivenHeight
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PM5D5KYQ.js";
|
|
21
21
|
import {
|
|
22
22
|
prepareFractionData
|
|
23
23
|
} from "./chunk-QXHFELIA.js";
|
|
@@ -36,11 +36,11 @@ import {
|
|
|
36
36
|
solveLabels,
|
|
37
37
|
textRole,
|
|
38
38
|
withUnprintedClaims
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-ZLIVUVIV.js";
|
|
40
40
|
import {
|
|
41
41
|
disclosureNote,
|
|
42
42
|
engineNote
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-I3UJHKCS.js";
|
|
44
44
|
import {
|
|
45
45
|
defaultSetSpec,
|
|
46
46
|
engineNumberSpec,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
formatWithSpec,
|
|
49
49
|
roundedNumber,
|
|
50
50
|
zeroText
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BHO5H4AF.js";
|
|
52
52
|
import {
|
|
53
53
|
authoredDecimals,
|
|
54
54
|
autoDecimals,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
formatAutomaticPercent,
|
|
57
57
|
localeStrings,
|
|
58
58
|
shareText
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-5OUURZ2T.js";
|
|
60
60
|
import {
|
|
61
61
|
cellMeta,
|
|
62
62
|
cellValue
|
|
@@ -82,7 +82,7 @@ import {
|
|
|
82
82
|
surfaceFloorPaint,
|
|
83
83
|
textScaleOf,
|
|
84
84
|
themeForWidth
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-4NGKSJBX.js";
|
|
86
86
|
import {
|
|
87
87
|
DEFAULT_TARGET,
|
|
88
88
|
NormalizeError,
|
|
@@ -96,8 +96,9 @@ import {
|
|
|
96
96
|
} from "./chunk-RJICOOB3.js";
|
|
97
97
|
import {
|
|
98
98
|
defaultMeasurer,
|
|
99
|
+
isCachedTextMeasurer,
|
|
99
100
|
wrapText
|
|
100
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-77LQEREO.js";
|
|
101
102
|
import {
|
|
102
103
|
maxOf,
|
|
103
104
|
minOf,
|
|
@@ -175,11 +176,11 @@ function layoutWaffle(data, options = {}) {
|
|
|
175
176
|
}
|
|
176
177
|
function leanFloor(data, options, geometry) {
|
|
177
178
|
if (!geometry.derived.reference || !geometry.legend?.items.some((item) => /^_*__reference$/.test(item.id))) return geometry;
|
|
178
|
-
let
|
|
179
|
+
let atSize = { ...options, size: geometry.size }, lean = isCachedTextMeasurer(options.measure ?? defaultMeasurer) ? layoutPass(data, atSize, "heightFloor") : layoutPass(data, atSize, !0).geometry.sizing;
|
|
179
180
|
return !lean || !geometry.sizing || lean.minHeight >= geometry.sizing.minHeight ? geometry : { ...geometry, sizing: { ...geometry.sizing, minHeight: lean.minHeight, measuredMinHeight: lean.measuredMinHeight, comfortableHeight: Math.ceil(lean.minHeight * 1.25) } };
|
|
180
181
|
}
|
|
181
|
-
function layoutPass(data, options,
|
|
182
|
-
let warnings = [], size = resolveSize(options.size, options.target), theme = themeForWidth(resolveTheme(options.theme), panelTypeClass(options) ?? size.width), palette = chartPalette(theme, options.palette, warnings), measure = options.measure ?? defaultMeasurer, strings = localeStrings(options.locale?.language), target = options.target ?? DEFAULT_TARGET, grid = options.grid ?? DEFAULT_GRID, fillFrom = options.fillFrom ?? "bottom", gridOk = (n2) => Number.isInteger(n2) && n2 >= 1 && n2 <= 50;
|
|
182
|
+
function layoutPass(data, options, mode = !1, oneRow = !1) {
|
|
183
|
+
let lean = mode !== !1, warnings = [], size = resolveSize(options.size, options.target), theme = themeForWidth(resolveTheme(options.theme), panelTypeClass(options) ?? size.width), palette = chartPalette(theme, options.palette, warnings), measure = options.measure ?? defaultMeasurer, strings = localeStrings(options.locale?.language), target = options.target ?? DEFAULT_TARGET, grid = options.grid ?? DEFAULT_GRID, fillFrom = options.fillFrom ?? "bottom", gridOk = (n2) => Number.isInteger(n2) && n2 >= 1 && n2 <= 50;
|
|
183
184
|
if (!(gridOk(grid.rows) && gridOk(grid.columns)))
|
|
184
185
|
throw new NormalizeError(
|
|
185
186
|
"invalid-grid",
|
|
@@ -389,7 +390,9 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
|
|
|
389
390
|
}), rowCaptionH = panelRows.map((_, ri) => {
|
|
390
391
|
let lines = Math.max(0, maxOf(groupSpans.filter((span) => span.row === ri).map((span) => span.wrap?.lines.length ?? 0)));
|
|
391
392
|
return panelRows.length === 1 ? captionH : lines === 0 ? 0 : measure("0", captionFont).height + (lines - 1) * lineH(captionFont);
|
|
392
|
-
}), rowTopH = rowLabelH.map((h) => topBlockH - labelBlockH + h), gapBelow = square && !lean ? SQUARE_HEADLINE_GAP : space.gapSubtitlePlot, belowH = square && headlineH > 0 ? gapBelow + headlineH : 0, requiredBottomH = belowH + (captionH > 0 ? captionGap + captionH : 0) + bottomReadoutH, rowRequiredBottomH = rowCaptionH.map((h) => requiredBottomH - (captionH > 0 ? captionGap + captionH : 0) + (h > 0 ? captionGap + h : 0)), blocksH = (bottom) => rowTopH.reduce((sum, top, ri) => sum + top + bottom[ri], 0), valuesH = !heightOmitted(options.size) && plot.h - (rowCount - 1) * gutter - blocksH(rowRequiredBottomH) - rowCount * preferredValuesH < rowCount * grid.rows * MIN_PITCH ? 0 : preferredValuesH, rowBottomH = rowRequiredBottomH.map((h) => h + valuesH), pitch = Math.max(1, Math.min(panelW / grid.columns, (plot.h - (panelRows.length - 1) * gutter - blocksH(rowBottomH)) / panelRows.length / grid.rows)), gap = square ? 0 : Math.min(readout || valueSide ? READOUT_GAP : 4, Math.max(1, Math.round(pitch * 0.1))), side = pitch - gap, gridW = round2(grid.columns * pitch - gap), gridH = round2(grid.rows * pitch - gap), frameH = size.height - plot.h, naturalPitch = keyColumns > 0 ? panelW / grid.columns : Math.min(panelW / grid.columns, readoutSide || valueSide ? SIDE_NATURAL_PITCH : NATURAL_PITCH), keyH = readoutSide ? Math.max(entries.length * entryStep, subLineH + 4 + lineH(keyFont)) : valueSide ? sideValueH + sideLabelH : 0,
|
|
393
|
+
}), rowTopH = rowLabelH.map((h) => topBlockH - labelBlockH + h), gapBelow = square && !lean ? SQUARE_HEADLINE_GAP : space.gapSubtitlePlot, belowH = square && headlineH > 0 ? gapBelow + headlineH : 0, requiredBottomH = belowH + (captionH > 0 ? captionGap + captionH : 0) + bottomReadoutH, rowRequiredBottomH = rowCaptionH.map((h) => requiredBottomH - (captionH > 0 ? captionGap + captionH : 0) + (h > 0 ? captionGap + h : 0)), blocksH = (bottom) => rowTopH.reduce((sum, top, ri) => sum + top + bottom[ri], 0), valuesH = !heightOmitted(options.size) && plot.h - (rowCount - 1) * gutter - blocksH(rowRequiredBottomH) - rowCount * preferredValuesH < rowCount * grid.rows * MIN_PITCH ? 0 : preferredValuesH, rowBottomH = rowRequiredBottomH.map((h) => h + valuesH), pitch = Math.max(1, Math.min(panelW / grid.columns, (plot.h - (panelRows.length - 1) * gutter - blocksH(rowBottomH)) / panelRows.length / grid.rows)), gap = square ? 0 : Math.min(readout || valueSide ? READOUT_GAP : 4, Math.max(1, Math.round(pitch * 0.1))), side = pitch - gap, gridW = round2(grid.columns * pitch - gap), gridH = round2(grid.rows * pitch - gap), frameH = size.height - plot.h, naturalPitch = keyColumns > 0 ? panelW / grid.columns : Math.min(panelW / grid.columns, readoutSide || valueSide ? SIDE_NATURAL_PITCH : NATURAL_PITCH), keyH = readoutSide ? Math.max(entries.length * entryStep, subLineH + 4 + lineH(keyFont)) : valueSide ? sideValueH + sideLabelH : 0, floorGridH = square ? Math.min(grid.rows * MIN_PITCH, panelW) : grid.rows * MIN_PITCH, minHeight = frameH + Math.max(blocksH(rowRequiredBottomH) + panelRows.length * floorGridH + (panelRows.length - 1) * gutter, topBlockH + keyH);
|
|
394
|
+
if (mode === "heightFloor") return resolveSizing(WAFFLE_SIZING, size, { minHeight });
|
|
395
|
+
let naturalHeight = Math.ceil(frameH + Math.max(blocksH(rowBottomH) + panelRows.length * naturalPitch * grid.rows + (panelRows.length - 1) * gutter, topBlockH + keyH) - 1e-6), rowY = panelRows.map((_, ri) => plot.y + rowTopH.slice(0, ri).reduce((sum, top, rj) => sum + top + gridH + rowBottomH[rj] + gutter, 0)), rowGridTop = (ri) => rowY[ri] + rowTopH[ri];
|
|
393
396
|
(square ? pitch * grid.columns < SQUARE_MIN_SIDE : pitch < MIN_PITCH) && warnings.push({
|
|
394
397
|
code: "waffle-cells-small",
|
|
395
398
|
severity: "warn",
|
|
@@ -627,7 +630,7 @@ function layoutPass(data, options, lean = !1, oneRow = !1) {
|
|
|
627
630
|
let headlineMin = showHeadline ? Math.max(0, maxOf(headlineValues.map((text) => text === void 0 ? 0 : measure(text, { ...headlineFont, size: hero.minimum }).width))) : 0, minPanelW = square ? Math.max(SQUARE_MIN_SIDE, Math.ceil(headlineMin), Math.ceil(Math.max(0, maxOf(longestWord)))) : Math.max(grid.columns * MIN_PITCH, Math.ceil(headlineMin)), floorColumns = square ? minColumns : Math.min(n, columns), floorGutter = square && !arrows && floorColumns > 1 ? COMPACT_GUTTER : gutter, minWidth = size.width - plot.w + Math.max(
|
|
628
631
|
floorColumns * minPanelW + (floorColumns - 1) * floorGutter,
|
|
629
632
|
readout ? Math.ceil(Math.max(entryW, subtotal ? subValueW + 6 + subLabelW : 0)) : 0
|
|
630
|
-
),
|
|
633
|
+
), reading = panels.map((panel, pi) => describePanel(panel, series.map((s) => s.label), headlineFormat(pi), cellCount, options)), geometry = withUnprintedClaims({
|
|
631
634
|
type: "waffle",
|
|
632
635
|
size,
|
|
633
636
|
sizing: resolveSizing({ ...WAFFLE_SIZING, minWidth: 0 }, size, { minWidth, minHeight, naturalHeight }),
|