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
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
requireDeferred,
|
|
30
30
|
swatchApart,
|
|
31
31
|
tint
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-6RRK3VFP.js";
|
|
33
33
|
import {
|
|
34
34
|
DEFAULT_THEME,
|
|
35
35
|
fmtPathNumber,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
AUTHORED_TYPE_SIZE,
|
|
51
51
|
hasAuthoredTypeSize,
|
|
52
52
|
measureText
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-77LQEREO.js";
|
|
54
54
|
import {
|
|
55
55
|
maxOf,
|
|
56
56
|
minOf
|
|
@@ -568,6 +568,20 @@ function statusToneSearch(theme, source) {
|
|
|
568
568
|
}
|
|
569
569
|
return base;
|
|
570
570
|
}
|
|
571
|
+
var FOCUS_RAMP_STEP = { focus: 10, base: 10, rest: 3 };
|
|
572
|
+
function focusRampColors(theme, state, count) {
|
|
573
|
+
let page = theme.color.background, ink = theme.color.ink, accent = paintColor(theme, { token: "focus" }), strong = paintColor(theme, { token: "neutralMark" }), light = paintColor(theme, { token: "rest" });
|
|
574
|
+
if (count < 2) return [state === "focus" ? accent : state === "base" ? strong : light];
|
|
575
|
+
let at = (from, to) => Array.from({ length: count }, (_, i) => mixColors(to, from, i / (count - 1))), apart = (colors, step) => colors.every((color, i) => i === 0 || palettePerceptualDistance(colors[i - 1], color, "normal") >= step), spreads = Array.from({ length: 11 }, (_, i) => i * 0.05), first = (make, ok) => spreads.map(make).find(ok) ?? make(0), base = first((spread) => at(mixColors(strong, ink, 1 - 1.6 * spread), light), (colors) => apart(colors, FOCUS_RAMP_STEP.base));
|
|
576
|
+
if (state === "base") return base;
|
|
577
|
+
if (state === "rest") return first((spread) => at(mixColors(strong, light, 0.1 + spread), mixColors(light, page, 0.35 + spread)), (colors) => apart(colors, FOCUS_RAMP_STEP.rest));
|
|
578
|
+
let focus = (deep) => (spread) => Array.from({ length: count }, (_, i) => i === 0 ? mixColors(accent, ink, deep) : i === count - 1 ? light : mixColors(accent, page, 1 - (0.55 + spread) * i / (count - 2 || 1)));
|
|
579
|
+
for (let deep of [0.75, 0.85, 1]) {
|
|
580
|
+
let colors = first(focus(deep), (colors2) => apart(colors2, FOCUS_RAMP_STEP.focus));
|
|
581
|
+
if (palettePerceptualDistance(colors[0], base[0], "normal") >= FOCUS_RAMP_STEP.focus) return colors;
|
|
582
|
+
}
|
|
583
|
+
return first(focus(1), (colors) => apart(colors, FOCUS_RAMP_STEP.focus));
|
|
584
|
+
}
|
|
571
585
|
function adaptivePaintColor(theme, source) {
|
|
572
586
|
switch (source.kind) {
|
|
573
587
|
case "status-tone":
|
|
@@ -576,6 +590,8 @@ function adaptivePaintColor(theme, source) {
|
|
|
576
590
|
return paintColor(theme, bumpStoryPaints(theme, source.count)[source.index]);
|
|
577
591
|
case "segment-apart":
|
|
578
592
|
return paintColor(theme, segmentApartPaints(theme, source.plain, source.others)[source.index]);
|
|
593
|
+
case "focus-ramp":
|
|
594
|
+
return focusRampColors(theme, source.state, source.count)[source.index];
|
|
579
595
|
case "total-apart":
|
|
580
596
|
return totalApartColor(theme, source.apartFrom);
|
|
581
597
|
case "line-apart":
|
|
@@ -601,7 +617,19 @@ function cellRange(rect, pad, range) {
|
|
|
601
617
|
return range[0] = x0, range[1] = x1, range[2] = y0, range[3] = y1, range;
|
|
602
618
|
}
|
|
603
619
|
function createOccupiedIndex(_plot) {
|
|
604
|
-
let rects = [], scratchRange = [0, 0, 0, 0], released = /* @__PURE__ */ new Set(), cells = /* @__PURE__ */ new Map(), wide = [], polygonTests = [],
|
|
620
|
+
let rects = [], scratchRange = [0, 0, 0, 0], released = /* @__PURE__ */ new Set(), cells = /* @__PURE__ */ new Map(), wide = [], polygonTests = [], indexed = 0, indexPendingClaims = () => {
|
|
621
|
+
for (; indexed < rects.length; ) {
|
|
622
|
+
let index = indexed++, range = cellRange(rects[index].rect, 0, scratchRange);
|
|
623
|
+
if (range === void 0) wide.push(index);
|
|
624
|
+
else {
|
|
625
|
+
let [x0, x1, y0, y1] = range;
|
|
626
|
+
for (let x = x0; x <= x1; x++) for (let y = y0; y <= y1; y++) {
|
|
627
|
+
let key = x * 65536 + y, cell = cells.get(key);
|
|
628
|
+
cell === void 0 ? cells.set(key, [index]) : cell.push(index);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}, hit = (index, rect, pad) => {
|
|
605
633
|
let claim = rects[index];
|
|
606
634
|
return rectsOverlap(claim.rect, rect, pad) && (claim.polygon === void 0 || (polygonTests[index] ??= prepareConvexPolygon(claim.polygon))(rect, pad));
|
|
607
635
|
}, seen = [], stamp = 0, visiting = !1, visitNear = (rect, pad, visit) => {
|
|
@@ -613,6 +641,7 @@ function createOccupiedIndex(_plot) {
|
|
|
613
641
|
visiting = !1;
|
|
614
642
|
}
|
|
615
643
|
}, visitClaims = (rect, pad, visit) => {
|
|
644
|
+
indexed < rects.length && indexPendingClaims();
|
|
616
645
|
let range = cellRange(rect, pad, scratchRange);
|
|
617
646
|
if (range === void 0) {
|
|
618
647
|
for (let i = 0; i < rects.length; i++) if (visit(i)) return !0;
|
|
@@ -636,16 +665,7 @@ function createOccupiedIndex(_plot) {
|
|
|
636
665
|
return {
|
|
637
666
|
claim(rect, kind, owner, part, polygon) {
|
|
638
667
|
let claimed = part === void 0 ? { rect: { ...rect }, kind, owner } : { rect: { ...rect }, kind, owner, part };
|
|
639
|
-
polygon !== void 0 && (claimed.polygon = polygon.map((point) => ({ ...point })));
|
|
640
|
-
let index = rects.push(claimed) - 1, range = cellRange(rect, 0, scratchRange);
|
|
641
|
-
if (range === void 0) wide.push(index);
|
|
642
|
-
else {
|
|
643
|
-
let [x0, x1, y0, y1] = range;
|
|
644
|
-
for (let x = x0; x <= x1; x++) for (let y = y0; y <= y1; y++) {
|
|
645
|
-
let key = x * 65536 + y, cell = cells.get(key);
|
|
646
|
-
cell === void 0 ? cells.set(key, [index]) : cell.push(index);
|
|
647
|
-
}
|
|
648
|
-
}
|
|
668
|
+
polygon !== void 0 && (claimed.polygon = polygon.map((point) => ({ ...point }))), rects.push(claimed), visiting && indexPendingClaims();
|
|
649
669
|
},
|
|
650
670
|
hits(rect, pad = 0, skip) {
|
|
651
671
|
return visitNear(rect, pad, (i) => !skip?.(rects[i]) && hit(i, rect, pad));
|
|
@@ -657,12 +677,12 @@ function createOccupiedIndex(_plot) {
|
|
|
657
677
|
let found = [];
|
|
658
678
|
return visitNear(rect, pad, (i) => (!skip?.(rects[i]) && hit(i, rect, pad) && found.push(i), !1)), found.sort((a, b) => a - b).map((i) => rects[i]);
|
|
659
679
|
},
|
|
660
|
-
snapshot() {
|
|
680
|
+
snapshot(keep) {
|
|
661
681
|
let copy = (entry) => ({ ...entry, rect: { ...entry.rect } });
|
|
662
|
-
if (released.size === 0) return rects.map(copy);
|
|
682
|
+
if (!keep && released.size === 0) return rects.map(copy);
|
|
663
683
|
let kept = [];
|
|
664
684
|
return rects.forEach((entry, index) => {
|
|
665
|
-
released.has(index) || kept.push(copy(entry));
|
|
685
|
+
!released.has(index) && (!keep || keep(entry)) && kept.push(copy(entry));
|
|
666
686
|
}), kept;
|
|
667
687
|
},
|
|
668
688
|
release(claim) {
|
|
@@ -1522,6 +1542,10 @@ var boardroom_default = {
|
|
|
1522
1542
|
footnote: 10.5,
|
|
1523
1543
|
micro: 9.5
|
|
1524
1544
|
}
|
|
1545
|
+
},
|
|
1546
|
+
display: {
|
|
1547
|
+
size: 36,
|
|
1548
|
+
lineHeight: 1.11
|
|
1525
1549
|
}
|
|
1526
1550
|
},
|
|
1527
1551
|
space: {
|
|
@@ -1680,6 +1704,10 @@ var bridge_default = {
|
|
|
1680
1704
|
micro: 9.5
|
|
1681
1705
|
}
|
|
1682
1706
|
},
|
|
1707
|
+
display: {
|
|
1708
|
+
size: 36,
|
|
1709
|
+
lineHeight: 1.11
|
|
1710
|
+
},
|
|
1683
1711
|
numeric: "tabular",
|
|
1684
1712
|
emphasis: {
|
|
1685
1713
|
weight: 600
|
|
@@ -1907,6 +1935,10 @@ var bridge_dark_default = {
|
|
|
1907
1935
|
micro: 9.5
|
|
1908
1936
|
}
|
|
1909
1937
|
},
|
|
1938
|
+
display: {
|
|
1939
|
+
size: 36,
|
|
1940
|
+
lineHeight: 1.11
|
|
1941
|
+
},
|
|
1910
1942
|
numeric: "tabular",
|
|
1911
1943
|
emphasis: {
|
|
1912
1944
|
weight: 600
|
|
@@ -2126,6 +2158,10 @@ var capital_default = {
|
|
|
2126
2158
|
footnote: 10.5,
|
|
2127
2159
|
micro: 9.5
|
|
2128
2160
|
}
|
|
2161
|
+
},
|
|
2162
|
+
display: {
|
|
2163
|
+
size: 36,
|
|
2164
|
+
lineHeight: 1.11
|
|
2129
2165
|
}
|
|
2130
2166
|
},
|
|
2131
2167
|
space: {
|
|
@@ -2271,6 +2307,10 @@ var studio_default = {
|
|
|
2271
2307
|
footnote: 10.5,
|
|
2272
2308
|
micro: 9.5
|
|
2273
2309
|
}
|
|
2310
|
+
},
|
|
2311
|
+
display: {
|
|
2312
|
+
size: 36,
|
|
2313
|
+
lineHeight: 1.11
|
|
2274
2314
|
}
|
|
2275
2315
|
},
|
|
2276
2316
|
space: {
|
|
@@ -2414,6 +2454,10 @@ var glass_default = {
|
|
|
2414
2454
|
footnote: 10.5,
|
|
2415
2455
|
micro: 9.5
|
|
2416
2456
|
}
|
|
2457
|
+
},
|
|
2458
|
+
display: {
|
|
2459
|
+
size: 36,
|
|
2460
|
+
lineHeight: 1.11
|
|
2417
2461
|
}
|
|
2418
2462
|
},
|
|
2419
2463
|
space: {
|
|
@@ -2462,7 +2506,7 @@ function resolveColors(value) {
|
|
|
2462
2506
|
}
|
|
2463
2507
|
|
|
2464
2508
|
// src/core/theme.ts
|
|
2465
|
-
registerDeferredLoader("theme-rules", () => import("./themeShapeRules-
|
|
2509
|
+
registerDeferredLoader("theme-rules", () => import("./themeShapeRules-NDEXKFC7.js").then((module) => module.linkThemeShapeRules()));
|
|
2466
2510
|
var ATLANTIC_SERIES = ["#075A8E", "#55BEF7", "#2AB1A9", "#838CDA", "#208668", "#9259AC"], ATLANTIC_DARK_SERIES = ["#55BEFB", "#087397", "#25AAA2", "#828BD9", "#1E9240", "#A054C4"], NOTATION_DARK_SERIES = ["#FFFFFF", "#858585", "#D5D5D5", "#606060", "#ACACAC"], DARK_WARN = "#F2C14E", LIGHT_WARN_FILL = "#F5A800", LIGHT_CB_BAD_FILL = "#A0431A";
|
|
2467
2511
|
function canonicalType(family) {
|
|
2468
2512
|
return {
|
|
@@ -2476,7 +2520,8 @@ function canonicalType(family) {
|
|
|
2476
2520
|
scale: {
|
|
2477
2521
|
S: { title: 15, subtitle: 10.5, label: 10, axis: 9.5, footnote: 8.5, micro: 9 },
|
|
2478
2522
|
L: { title: 22, subtitle: 14, label: 13, axis: 12, footnote: 10.5, micro: 9.5 }
|
|
2479
|
-
}
|
|
2523
|
+
},
|
|
2524
|
+
display: { size: 36, lineHeight: 1.11 }
|
|
2480
2525
|
};
|
|
2481
2526
|
}
|
|
2482
2527
|
function typeWidthClass(width) {
|
|
@@ -2484,6 +2529,9 @@ function typeWidthClass(width) {
|
|
|
2484
2529
|
return classCap !== void 0 && CLASS_ORDER.indexOf(cls) > CLASS_ORDER.indexOf(classCap) ? classCap : cls;
|
|
2485
2530
|
}
|
|
2486
2531
|
var CLASS_ORDER = ["S", "M", "L"], classCap;
|
|
2532
|
+
function typeClassCap() {
|
|
2533
|
+
return classCap;
|
|
2534
|
+
}
|
|
2487
2535
|
function withTypeClassCap(cap, run) {
|
|
2488
2536
|
let outer = classCap;
|
|
2489
2537
|
classCap = cap;
|
|
@@ -2906,7 +2954,8 @@ function scaledTextTheme(theme, textScale, target) {
|
|
|
2906
2954
|
...type,
|
|
2907
2955
|
...roles,
|
|
2908
2956
|
...type.scale ? { scale: { ...type.scale.S ? { S: step(type.scale.S) } : {}, ...type.scale.L ? { L: step(type.scale.L) } : {} } } : {},
|
|
2909
|
-
...type.eyebrow ? { eyebrow: face(type.eyebrow, floors.micro) } : {}
|
|
2957
|
+
...type.eyebrow ? { eyebrow: face(type.eyebrow, floors.micro) } : {},
|
|
2958
|
+
...type.display ? { display: face(type.display, floors.label) } : {}
|
|
2910
2959
|
},
|
|
2911
2960
|
...table ? { table: {
|
|
2912
2961
|
...table,
|
|
@@ -3013,6 +3062,42 @@ function familyFollows(base, overrides) {
|
|
|
3013
3062
|
base.type[role]?.family === base.type.family && typeof type[role]?.family != "string" && (roles[role] = { ...type[role], family: type.family });
|
|
3014
3063
|
return { ...overrides, type: { ...type, ...roles } };
|
|
3015
3064
|
}
|
|
3065
|
+
var OPTIONAL_TYPE_ROLES = ["secondary", "micro"], TYPE_ROLE_FIELDS = ["family", "size", "weight", "lineHeight"];
|
|
3066
|
+
function completedRoles(base, overrides, merged) {
|
|
3067
|
+
let type = overrides.type;
|
|
3068
|
+
if (!isPlainObject(type)) return merged;
|
|
3069
|
+
let out = merged;
|
|
3070
|
+
for (let role of OPTIONAL_TYPE_ROLES) {
|
|
3071
|
+
let current = out.type[role];
|
|
3072
|
+
if (base.type[role] !== void 0 || !isPlainObject(type[role]) || !current || current.size !== void 0 && current.weight !== void 0) continue;
|
|
3073
|
+
let rest = { ...out.type };
|
|
3074
|
+
delete rest[role];
|
|
3075
|
+
let drawn = role === "secondary" ? rest.axis : microType({ ...out, type: rest }), completed = { ...drawn, ...current };
|
|
3076
|
+
for (let field of TYPE_ROLE_FIELDS)
|
|
3077
|
+
current[field] === void 0 && (drawn?.[field] === void 0 ? delete completed[field] : completed[field] = drawn[field]);
|
|
3078
|
+
let scale = role === "secondary" && current.size === void 0 ? unsizedSteps(out.type.scale, drawn, type.scale) : out.type.scale;
|
|
3079
|
+
out = { ...out, type: { ...out.type, [role]: completed, scale } };
|
|
3080
|
+
}
|
|
3081
|
+
return out;
|
|
3082
|
+
}
|
|
3083
|
+
function unsizedSteps(scale, axis, patchScale) {
|
|
3084
|
+
if (!isPlainObject(scale)) return scale;
|
|
3085
|
+
let out = scale;
|
|
3086
|
+
for (let column of ["S", "L"]) {
|
|
3087
|
+
let steps = scale[column];
|
|
3088
|
+
if (!isPlainObject(steps)) continue;
|
|
3089
|
+
let patchSteps = isPlainObject(patchScale) ? patchScale[column] : void 0;
|
|
3090
|
+
if (isPlainObject(patchSteps) && patchSteps.secondary != null) continue;
|
|
3091
|
+
let size = steps.axis === void 0 ? axis?.size : steps.axis;
|
|
3092
|
+
typeof size == "number" && (out = { ...out, [column]: { ...steps, secondary: size } });
|
|
3093
|
+
}
|
|
3094
|
+
return out;
|
|
3095
|
+
}
|
|
3096
|
+
function isPlainObject(value) {
|
|
3097
|
+
if (typeof value != "object" || value === null) return !1;
|
|
3098
|
+
let proto = Object.getPrototypeOf(value);
|
|
3099
|
+
return proto === null || Object.getPrototypeOf(proto) === null;
|
|
3100
|
+
}
|
|
3016
3101
|
function checkedOverride(base, overrides, presetName) {
|
|
3017
3102
|
if (ownThemes.has(overrides) || libraryPatches.has(overrides)) return own(mergeDeep(base, overrides));
|
|
3018
3103
|
let series = overrides.color?.series, authored = Array.isArray(series) ? series.filter((value) => typeof value == "string") : [];
|
|
@@ -3025,7 +3110,7 @@ function checkedOverride(base, overrides, presetName) {
|
|
|
3025
3110
|
}
|
|
3026
3111
|
overrides = { ...overrides, color: { ...overrides.color, series: ramp } };
|
|
3027
3112
|
}
|
|
3028
|
-
let merged = withoutRetiredThemeKeys(mergeDeep(base, familyFollows(base, authoredSizesHold(base, overrides)))).theme, rules = requireDeferred("theme-rules"), issues = rules.checkThemeShape(merged);
|
|
3113
|
+
let merged = completedRoles(base, overrides, withoutRetiredThemeKeys(mergeDeep(base, familyFollows(base, authoredSizesHold(base, overrides)))).theme), rules = requireDeferred("theme-rules"), issues = rules.checkThemeShape(merged);
|
|
3029
3114
|
if (issues.length > 0) {
|
|
3030
3115
|
let repair = rules.unknownThemeKeyRepair(issues, "/options/theme/overrides");
|
|
3031
3116
|
throw new NormalizeError(
|
|
@@ -3197,9 +3282,9 @@ function soloGroundedHatch(theme, fill, authored, allowed = () => !0, grounding)
|
|
|
3197
3282
|
return solved;
|
|
3198
3283
|
}
|
|
3199
3284
|
function solveGroundedHatch(theme, fill, authored, allowed, stripeTarget) {
|
|
3200
|
-
let page = theme.color.background, floor = markVisibilityFloor(page), cellTarget = floor === 3 ? 1 : floor + 0.12, coverage = hatchRuleCoverage(theme), fixed = theme.pattern.hatchColor === "ink" ? theme.color.ink : authored ? fill : void 0, start = fixed ?? fill, markInk = paintTokenColor(theme, "markInk"), lightestGround = (stripe) => {
|
|
3285
|
+
let page = theme.color.background, floor = markVisibilityFloor(page), cellTarget = floor === 3 ? 1 : floor + 0.12, coverage = hatchRuleCoverage(theme), fixed = theme.pattern.hatchColor === "ink" ? theme.color.ink : authored ? fill : void 0, start = fixed ?? fill, markInk = paintTokenColor(theme, "markInk"), grounds = [], groundAt = (step) => grounds[step] ??= mixColors(fill, page, step / 50), lightestGround = (stripe) => {
|
|
3201
3286
|
for (let step = HATCH_GROUND_SHARE * 50; step > 0; step--) {
|
|
3202
|
-
let ground =
|
|
3287
|
+
let ground = groundAt(step);
|
|
3203
3288
|
if (contrastRatio(stripe, ground) >= stripeTarget) return ground;
|
|
3204
3289
|
}
|
|
3205
3290
|
return page;
|
|
@@ -3209,7 +3294,7 @@ function solveGroundedHatch(theme, fill, authored, allowed, stripeTarget) {
|
|
|
3209
3294
|
if (deepen > 0 && !allowed(stripe)) return { stripe: last, ground: lightestGround(last) };
|
|
3210
3295
|
last = stripe;
|
|
3211
3296
|
for (let step = HATCH_GROUND_SHARE * 50; step >= 0; step--) {
|
|
3212
|
-
let ground =
|
|
3297
|
+
let ground = groundAt(step);
|
|
3213
3298
|
if (!(contrastRatio(stripe, ground) < stripeTarget)) {
|
|
3214
3299
|
if (contrastRatio(mixColors(stripe, ground, coverage), page) >= cellTarget) return { stripe, ground };
|
|
3215
3300
|
break;
|
|
@@ -3958,6 +4043,7 @@ export {
|
|
|
3958
4043
|
adoptTheme,
|
|
3959
4044
|
themeColors,
|
|
3960
4045
|
typeWidthClass,
|
|
4046
|
+
typeClassCap,
|
|
3961
4047
|
withTypeClassCap,
|
|
3962
4048
|
layoutStepKey,
|
|
3963
4049
|
withMarginStepBelow,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
chartString
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6WEJGZVQ.js";
|
|
4
4
|
import {
|
|
5
5
|
printedShare,
|
|
6
6
|
shareDecimals
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5OUURZ2T.js";
|
|
8
8
|
import {
|
|
9
9
|
strokeToken
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4NGKSJBX.js";
|
|
11
11
|
|
|
12
12
|
// src/core/dataGaps.ts
|
|
13
13
|
var quoted = (names) => names.map((name) => `'${name}'`).join(", ");
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
judgmentErasure,
|
|
14
14
|
parseColor,
|
|
15
15
|
publishDeferred
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6RRK3VFP.js";
|
|
17
17
|
import {
|
|
18
18
|
toJsonPointer
|
|
19
19
|
} from "./chunk-ZQ4VFQID.js";
|
|
@@ -91,6 +91,7 @@ var opt = (node, doc) => ({ ...node, opt: !0, ...doc ? { doc } : {} }), named =
|
|
|
91
91
|
scale: opt(object(each(["S", "L"], () => opt(object(each(TYPE_ROLES, () => optNum(6, 64, "type.scale.<column>.<role>"))), "type.scale.<column>")))),
|
|
92
92
|
numeric: optOneOf("tabular", "proportional"),
|
|
93
93
|
figure: opt(object({ family: opt(fontFamily), weight: optWeight })),
|
|
94
|
+
display: opt(object({ size: optNum(8, 160), lineHeight: optNum(0.9, 2) })),
|
|
94
95
|
eyebrow: opt(object({
|
|
95
96
|
size: optNum(6, 24),
|
|
96
97
|
weight: optWeight,
|
|
@@ -181,6 +182,7 @@ var opt = (node, doc) => ({ ...node, opt: !0, ...doc ? { doc } : {} }), named =
|
|
|
181
182
|
head: opt(object({ ...tableFace, case: optOneOf("upper", "asis") })),
|
|
182
183
|
section: opt(object({ ...tableFace, ink: optOneOf("ink", "inkMuted", "inkMeta"), case: optOneOf("upper", "asis"), spaceBefore: optNum(0, 48), rule: optOneOf("heavy", "hair") })),
|
|
183
184
|
fixedType: flag,
|
|
185
|
+
compactStep: optNum(0, 8),
|
|
184
186
|
noPrevious: optOneOf("na", "missing"),
|
|
185
187
|
ofWhich: optOneOf("muted", "ink"),
|
|
186
188
|
groupGround: optOneOf("expanded", "always", "none"),
|
|
@@ -3,19 +3,19 @@ import {
|
|
|
3
3
|
sharedKeys10,
|
|
4
4
|
sharedKeys5,
|
|
5
5
|
sharedKeys9
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5LUHGXXE.js";
|
|
7
7
|
import {
|
|
8
8
|
optionKeyCheck
|
|
9
9
|
} from "./chunk-Z6H5ED2I.js";
|
|
10
10
|
import {
|
|
11
11
|
createChartComponent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-35JGEMCK.js";
|
|
13
13
|
import {
|
|
14
14
|
dotCore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-F2IGRFYM.js";
|
|
16
16
|
import {
|
|
17
17
|
registeredType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-D2I2BUR6.js";
|
|
19
19
|
|
|
20
20
|
// src/react/charts/dot.ts
|
|
21
21
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, rowLabels: { align: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, axisTitles: { primary: 0 }, variant: 0, averageMarker: { scope: 0 }, arrow: 0, gapColumn: 0, methodNote: 0, range: { label: 0, values: 0, midLabel: 0 } }, labels: ["category", "point"] }), DotChart = createChartComponent(registeredType(dotCore), checkOptionKeys);
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys4,
|
|
4
4
|
sharedKeys5
|
|
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
|
histogramCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-WXGBSBHQ.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D2I2BUR6.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/histogram.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, valueAxis: sharedKeys4, 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, axisTitles: { y: 0 }, bins: { width: 0, anchor: 0, openAbove: 0 }, binSnap: 0, methodNote: 0 }, labels: ["category", "point", "axisTitle"] }), HistogramChart = createChartComponent(registeredType(histogramCore), checkOptionKeys);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/react/optionKeyTrees.ts
|
|
2
|
-
var sharedKeys0 = { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, gridlines: 0 }, sharedKeys1 = { placement: 0, rows: 0, groups: { "[]": { id: 0, label: 0, tone: 0, glyph: 0 } }, keyTitle: 0 }, sharedKeys2 = { id: 0, label: 0, numeratorSeriesId: 0, denominatorSeriesId: 0, at: 0, format: 0, direction: 0 }, sharedKeys3 = { seriesId: 0, categoryId: 0, segmentId: 0, pointId: 0, valueLineId: 0, annotationId: 0, rowId: 0, colId: 0 }, sharedKeys4 = { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, gridlines: 0, break: { from: 0, to: 0, style: 0 } }, sharedKeys5 = { owner: sharedKeys3 }, sharedKeys6 = { type: 0, scale: 0, cap: { pct: 0, abs: 0 }, alpha: 0, excludeTotals: 0, steps: 0, bins: 0, span: 0, center: 0, tolerance: { pct: 0, abs: 0 }, columns: 0 }, sharedKeys7 = { "*": sharedKeys6 }, sharedKeys8 = { kind: 0, id: 0, text: 0, format: 0, priority: 0, icon: 0, status: 0, shape: 0, "*": 0, from: 0, to: 0, label: 0, tone: 0, style: 0, divider: 0, low: 0, high: 0, value: 0, seriesId: 0, scenario: 0, direction: 0 }, sharedKeys9 = { "[]": sharedKeys8 }, sharedKeys10 = { newItems: 0, lostItems: 0, cohortMeasure: 0, cohortFormula: 0, others: 0, total: 0, source: 0, notApplicable: 0, partial: 0, better: 0, worse: 0, positiveTotal: 0, rangeMidNote: 0, sensitivityNote: 0, hatchedBaseNote: 0, missingSwingNote: 0, rankOmitted: 0, noRank: 0, rankMethod: 0, higherBetter: 0, lowerBetter: 0, rankFormat: 0, rankRing: 0, nearZeroNote: 0, flagged: 0, corridor: 0, corridorBounds: 0, median: 0, anomalySmallSample: 0, anomalyZeroMad: 0, anomalyMadRule: 0, anomalyCentreZero: 0, anomalyCentreMedian: 0, anomalyThresholdRule: 0, outsideBounds: 0, belowBound: 0, aboveBound: 0, lowerBound: 0, upperBound: 0, undrawnBounds: 0, hiddenLabels: 0, noteOne: 0, noteMany: 0, notesAndSources: 0, close: 0, mapCredit: 0, gapBetween: 0, aboveSeries: 0, belowSeries: 0, average: 0, valueLineRange: 0, toDate: 0, forecast: 0, plan: 0, forecastHeader: 0, net: 0, incomplete: 0, range: 0, valuesNotOnColumns: 0, valuesNotBesideMarks: 0, partialTotals: 0, knownPartsTotals: 0, without: 0, and: 0, aboveZero: 0, belowZero: 0, declaredBounds: 0, tied: 0, tiedSymbol: 0, currentValue: 0, baseCase: 0, swingOutsideBase: 0, fanGap: 0, mixedShares: 0, heatBelow: 0, heatAround: 0, heatAbove: 0, bandKey: 0, moreListed: 0, cellNote: 0, storyBack: 0, storyNext: 0, storyCounter: 0, storyStep: 0, axisLow: 0, axisHigh: 0, target: 0, actualColumn: 0, shareColumn: 0, deltaColumn: 0, targetColumn: 0, gapColumn: 0, gapBelow: 0, gapAbove: 0, gapOn: 0, nearZeroChange: 0, mixedCoverage: 0, hiddenPeriods: 0, share: 0, histogramBins: 0, histogramAbout: 0, histogramMethod: 0, histogramRuleCount: 0, histogramRuleWidth: 0, histogramSnapped: 0, histogramRounded: 0, histogramSmallSample: 0, missingStack: 0, incompleteStacks: 0, knownPartsShares: 0, rebaseZero: 0, rebaseMissing: 0 };
|
|
2
|
+
var sharedKeys0 = { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, gridlines: 0 }, sharedKeys1 = { placement: 0, rows: 0, groups: { "[]": { id: 0, label: 0, tone: 0, glyph: 0 } }, keyTitle: 0 }, sharedKeys2 = { id: 0, label: 0, numeratorSeriesId: 0, denominatorSeriesId: 0, at: 0, format: 0, direction: 0 }, sharedKeys3 = { seriesId: 0, categoryId: 0, segmentId: 0, pointId: 0, valueLineId: 0, annotationId: 0, rowId: 0, colId: 0 }, sharedKeys4 = { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, gridlines: 0, break: { from: 0, to: 0, style: 0 } }, sharedKeys5 = { owner: sharedKeys3 }, sharedKeys6 = { type: 0, scale: 0, cap: { pct: 0, abs: 0 }, alpha: 0, excludeTotals: 0, steps: 0, bins: 0, span: 0, center: 0, tolerance: { pct: 0, abs: 0 }, columns: 0 }, sharedKeys7 = { "*": sharedKeys6 }, sharedKeys8 = { kind: 0, id: 0, text: 0, format: 0, priority: 0, icon: 0, status: 0, shape: 0, "*": 0, from: 0, to: 0, label: 0, tone: 0, style: 0, divider: 0, low: 0, high: 0, value: 0, seriesId: 0, scenario: 0, direction: 0 }, sharedKeys9 = { "[]": sharedKeys8 }, sharedKeys10 = { newItems: 0, lostItems: 0, cohortMeasure: 0, cohortFormula: 0, others: 0, total: 0, source: 0, notApplicable: 0, partial: 0, better: 0, worse: 0, positiveTotal: 0, rangeMidNote: 0, sensitivityNote: 0, hatchedBaseNote: 0, missingSwingNote: 0, rankOmitted: 0, noRank: 0, rankMethod: 0, higherBetter: 0, lowerBetter: 0, rankFormat: 0, rankRing: 0, nearZeroNote: 0, flagged: 0, corridor: 0, corridorBounds: 0, median: 0, anomalySmallSample: 0, anomalyZeroMad: 0, anomalyMadRule: 0, anomalyCentreZero: 0, anomalyCentreMedian: 0, anomalyThresholdRule: 0, outsideBounds: 0, belowBound: 0, aboveBound: 0, lowerBound: 0, upperBound: 0, undrawnBounds: 0, hiddenLabels: 0, noteOne: 0, noteMany: 0, notesAndSources: 0, close: 0, mapCredit: 0, gapBetween: 0, aboveSeries: 0, belowSeries: 0, average: 0, valueLineRange: 0, valueLineRangeKey: 0, valueLineRangeKeyPlain: 0, toDate: 0, forecast: 0, plan: 0, forecastHeader: 0, net: 0, incomplete: 0, range: 0, valuesNotOnColumns: 0, valuesNotBesideMarks: 0, partialTotals: 0, knownPartsTotals: 0, without: 0, and: 0, aboveZero: 0, belowZero: 0, declaredBounds: 0, tied: 0, tiedSymbol: 0, currentValue: 0, baseCase: 0, swingOutsideBase: 0, fanGap: 0, mixedShares: 0, heatBelow: 0, heatAround: 0, heatAbove: 0, bandKey: 0, moreListed: 0, cellNote: 0, storyBack: 0, storyNext: 0, storyCounter: 0, storyStep: 0, axisLow: 0, axisHigh: 0, target: 0, actualColumn: 0, shareColumn: 0, deltaColumn: 0, targetColumn: 0, gapColumn: 0, gapBelow: 0, gapAbove: 0, gapOn: 0, nearZeroChange: 0, mixedCoverage: 0, hiddenPeriods: 0, share: 0, histogramBins: 0, histogramAbout: 0, histogramMethod: 0, histogramRuleCount: 0, histogramRuleWidth: 0, histogramSnapped: 0, histogramRounded: 0, histogramSmallSample: 0, missingStack: 0, incompleteStacks: 0, knownPartsShares: 0, rebaseZero: 0, rebaseMissing: 0, stackFrom: 0, stackAgainst: 0, stackAverages: 0 };
|
|
3
3
|
|
|
4
4
|
export {
|
|
5
5
|
sharedKeys0,
|
|
@@ -15,55 +15,6 @@ function chartString(...args) {
|
|
|
15
15
|
return getWording().chartString(...args);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
// src/core/numberMarks.ts
|
|
19
|
-
var PRIVATE = "-x-marks-", CODE = { ".": "p", ",": "c", " ": "s", "'": "a" }, MARK = { p: ".", c: ",", s: " ", a: "'" }, SMALL_CODE = { bound: "b", zero: "z", scientific: "e", "p-value": "v" }, SMALL = { b: "bound", z: "zero", e: "scientific", v: "p-value" };
|
|
20
|
-
function chartNumberMarks(locale) {
|
|
21
|
-
let requested = locale?.thousands === "\u2019" ? "'" : locale?.thousands === "\u202F" ? " " : locale?.thousands, decimal = locale?.decimal ?? ".";
|
|
22
|
-
return { decimal, thousands: requested !== void 0 && requested !== decimal ? requested : decimal === "," ? "." : "," };
|
|
23
|
-
}
|
|
24
|
-
function splitNumberMarks(tag) {
|
|
25
|
-
let match = /^(.+)-x-marks-([pc])([pcsa])([bzev])?$/.exec(tag);
|
|
26
|
-
return match ? { language: match[1], marks: { decimal: MARK[match[2]], thousands: MARK[match[3]] }, ...match[4] ? { small: SMALL[match[4]] } : {} } : { language: tag };
|
|
27
|
-
}
|
|
28
|
-
function wordLanguage(tag) {
|
|
29
|
-
return tag === void 0 ? void 0 : splitNumberMarks(tag).language;
|
|
30
|
-
}
|
|
31
|
-
function withNumberMarks(options) {
|
|
32
|
-
let marks = chartNumberMarks(options.locale), split = splitNumberMarks(options.locale?.language ?? "en"), small = options.smallValues ?? split.small, locale = { ...options.locale, language: `${split.language}${PRIVATE}${CODE[marks.decimal]}${CODE[marks.thousands]}${small ? SMALL_CODE[small] : ""}` };
|
|
33
|
-
return AUTHORED.set(locale, AUTHORED.has(options.locale ?? {}) ? AUTHORED.get(options.locale) : options.locale), { ...options, locale };
|
|
34
|
-
}
|
|
35
|
-
var AUTHORED = /* @__PURE__ */ new WeakMap();
|
|
36
|
-
function authoredLocale(locale) {
|
|
37
|
-
return locale !== void 0 && AUTHORED.has(locale) ? AUTHORED.get(locale) : locale;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// src/core/numberFormatCache.ts
|
|
41
|
-
var MAX_FORMATTERS = 256, MAX_TEXTS = 16384, cachedTexts = 0, textMaps = /* @__PURE__ */ new Set(), formatters = /* @__PURE__ */ new Map();
|
|
42
|
-
function numberFormat(locale, options) {
|
|
43
|
-
let key = `${locale}\0${JSON.stringify(options)}`, formatter = formatters.get(key);
|
|
44
|
-
if (!formatter) {
|
|
45
|
-
let { language, marks } = splitNumberMarks(locale), intl = new Intl.NumberFormat(marks ? "en-US" : language, options), group = marks?.thousands === " " ? "\xA0" : marks?.thousands, base = marks && (marks.decimal !== "." || marks.thousands !== ",") ? { format: (value) => intl.formatToParts(value).map((part) => part.type === "group" ? group : part.type === "decimal" ? marks.decimal : part.value).join("") } : intl, texts = /* @__PURE__ */ new Map();
|
|
46
|
-
formatter = { format: (value) => {
|
|
47
|
-
if (typeof value != "number" || Object.is(value, -0)) return base.format(value);
|
|
48
|
-
let text = texts.get(value);
|
|
49
|
-
if (text === void 0) {
|
|
50
|
-
if (text = base.format(value), cachedTexts >= MAX_TEXTS) {
|
|
51
|
-
for (let map of textMaps) map.clear();
|
|
52
|
-
textMaps.clear(), cachedTexts = 0;
|
|
53
|
-
}
|
|
54
|
-
texts.set(value, text), textMaps.add(texts), cachedTexts++;
|
|
55
|
-
}
|
|
56
|
-
return text;
|
|
57
|
-
} }, formatters.size >= MAX_FORMATTERS && formatters.clear(), formatters.set(key, formatter);
|
|
58
|
-
}
|
|
59
|
-
return formatter;
|
|
60
|
-
}
|
|
61
|
-
var fractionFormatters = /* @__PURE__ */ new Map(), fractionCount = 0;
|
|
62
|
-
function fractionFormat(locale, decimals, grouping) {
|
|
63
|
-
let slot = decimals * 3 + (grouping === void 0 ? 0 : grouping ? 1 : 2), byLocale = fractionFormatters.get(locale), formatter = byLocale?.get(slot);
|
|
64
|
-
return formatter === void 0 && (formatter = numberFormat(locale, grouping === void 0 ? { minimumFractionDigits: decimals, maximumFractionDigits: decimals } : { minimumFractionDigits: decimals, maximumFractionDigits: decimals, useGrouping: grouping }), fractionCount >= MAX_FORMATTERS && (fractionFormatters.clear(), fractionCount = 0, byLocale = void 0), byLocale || fractionFormatters.set(locale, byLocale = /* @__PURE__ */ new Map()), byLocale.set(slot, formatter), fractionCount++), formatter;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
18
|
// src/core/formatPrecision.ts
|
|
68
19
|
function distinctDecimalLift(entries) {
|
|
69
20
|
for (let extra = 0; extra < 2; extra++) {
|
|
@@ -238,6 +189,64 @@ function roundsToZero(value, decimals) {
|
|
|
238
189
|
return Number(roundHalfUp(Math.abs(value), decimals)) === 0;
|
|
239
190
|
}
|
|
240
191
|
|
|
192
|
+
// src/core/numberMarks.ts
|
|
193
|
+
var PRIVATE = "-x-marks-", CODE = { ".": "p", ",": "c", " ": "s", "'": "a" }, MARK = { p: ".", c: ",", s: " ", a: "'" }, SMALL_CODE = { bound: "b", zero: "z", scientific: "e", "p-value": "v" }, SMALL = { b: "bound", z: "zero", e: "scientific", v: "p-value" };
|
|
194
|
+
function chartNumberMarks(locale) {
|
|
195
|
+
let requested = locale?.thousands === "\u2019" ? "'" : locale?.thousands === "\u202F" ? " " : locale?.thousands, decimal = locale?.decimal ?? ".";
|
|
196
|
+
return { decimal, thousands: requested !== void 0 && requested !== decimal ? requested : decimal === "," ? "." : "," };
|
|
197
|
+
}
|
|
198
|
+
function markedDecimal(text, decimals, grouped, locale) {
|
|
199
|
+
if (text.length > 15 || !/^-?\d+(?:\.\d+)?$/.test(text)) return;
|
|
200
|
+
let [integer, fraction = ""] = text.split(".");
|
|
201
|
+
if (fraction.length !== decimals) return;
|
|
202
|
+
let { marks } = splitNumberMarks(locale);
|
|
203
|
+
if (!marks) return;
|
|
204
|
+
let leading = grouped ? groupInteger(integer, marks.thousands === " " ? "\xA0" : marks.thousands) : integer;
|
|
205
|
+
return fraction ? leading + marks.decimal + fraction : leading;
|
|
206
|
+
}
|
|
207
|
+
function splitNumberMarks(tag) {
|
|
208
|
+
let match = /^(.+)-x-marks-([pc])([pcsa])([bzev])?$/.exec(tag);
|
|
209
|
+
return match ? { language: match[1], marks: { decimal: MARK[match[2]], thousands: MARK[match[3]] }, ...match[4] ? { small: SMALL[match[4]] } : {} } : { language: tag };
|
|
210
|
+
}
|
|
211
|
+
function wordLanguage(tag) {
|
|
212
|
+
return tag === void 0 ? void 0 : splitNumberMarks(tag).language;
|
|
213
|
+
}
|
|
214
|
+
function withNumberMarks(options) {
|
|
215
|
+
let marks = chartNumberMarks(options.locale), split = splitNumberMarks(options.locale?.language ?? "en"), small = options.smallValues ?? split.small, locale = { ...options.locale, language: `${split.language}${PRIVATE}${CODE[marks.decimal]}${CODE[marks.thousands]}${small ? SMALL_CODE[small] : ""}` };
|
|
216
|
+
return AUTHORED.set(locale, AUTHORED.has(options.locale ?? {}) ? AUTHORED.get(options.locale) : options.locale), { ...options, locale };
|
|
217
|
+
}
|
|
218
|
+
var AUTHORED = /* @__PURE__ */ new WeakMap();
|
|
219
|
+
function authoredLocale(locale) {
|
|
220
|
+
return locale !== void 0 && AUTHORED.has(locale) ? AUTHORED.get(locale) : locale;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// src/core/numberFormatCache.ts
|
|
224
|
+
var MAX_FORMATTERS = 256, MAX_TEXTS = 16384, cachedTexts = 0, textMaps = /* @__PURE__ */ new Set(), formatters = /* @__PURE__ */ new Map();
|
|
225
|
+
function numberFormat(locale, options) {
|
|
226
|
+
let key = `${locale}\0${JSON.stringify(options)}`, formatter = formatters.get(key);
|
|
227
|
+
if (!formatter) {
|
|
228
|
+
let { language, marks } = splitNumberMarks(locale), intl = new Intl.NumberFormat(marks ? "en-US" : language, options), group = marks?.thousands === " " ? "\xA0" : marks?.thousands, base = marks && (marks.decimal !== "." || marks.thousands !== ",") ? { format: (value) => intl.formatToParts(value).map((part) => part.type === "group" ? group : part.type === "decimal" ? marks.decimal : part.value).join("") } : intl, texts = /* @__PURE__ */ new Map();
|
|
229
|
+
formatter = { format: (value) => {
|
|
230
|
+
if (typeof value != "number" || Object.is(value, -0)) return base.format(value);
|
|
231
|
+
let text = texts.get(value);
|
|
232
|
+
if (text === void 0) {
|
|
233
|
+
if (text = base.format(value), cachedTexts >= MAX_TEXTS) {
|
|
234
|
+
for (let map of textMaps) map.clear();
|
|
235
|
+
textMaps.clear(), cachedTexts = 0;
|
|
236
|
+
}
|
|
237
|
+
texts.set(value, text), textMaps.add(texts), cachedTexts++;
|
|
238
|
+
}
|
|
239
|
+
return text;
|
|
240
|
+
} }, formatters.size >= MAX_FORMATTERS && formatters.clear(), formatters.set(key, formatter);
|
|
241
|
+
}
|
|
242
|
+
return formatter;
|
|
243
|
+
}
|
|
244
|
+
var fractionFormatters = /* @__PURE__ */ new Map(), fractionCount = 0;
|
|
245
|
+
function fractionFormat(locale, decimals, grouping) {
|
|
246
|
+
let slot = decimals * 3 + (grouping === void 0 ? 0 : grouping ? 1 : 2), byLocale = fractionFormatters.get(locale), formatter = byLocale?.get(slot);
|
|
247
|
+
return formatter === void 0 && (formatter = numberFormat(locale, grouping === void 0 ? { minimumFractionDigits: decimals, maximumFractionDigits: decimals } : { minimumFractionDigits: decimals, maximumFractionDigits: decimals, useGrouping: grouping }), fractionCount >= MAX_FORMATTERS && (fractionFormatters.clear(), fractionCount = 0, byLocale = void 0), byLocale || fractionFormatters.set(locale, byLocale = /* @__PURE__ */ new Map()), byLocale.set(slot, formatter), fractionCount++), formatter;
|
|
248
|
+
}
|
|
249
|
+
|
|
241
250
|
// src/core/format.ts
|
|
242
251
|
var MINUS = "\u2212", PERCENTAGE_POINTS = "pp", NOT_AVAILABLE = "n/a", NOT_MEANINGFUL = "n.m.";
|
|
243
252
|
function notApplicableGlyph(strings) {
|
|
@@ -325,7 +334,7 @@ function formattedNumber(value, opts, automatic) {
|
|
|
325
334
|
}
|
|
326
335
|
mode === "scientific" && (scientific = scientificText(abs, (mantissa) => numberFormatter(locale, 1).format(mantissa)));
|
|
327
336
|
}
|
|
328
|
-
let underflow = automatic && v === 0 && value !== 0 ? underflowScientificText(value, MAGNITUDES.find((entry) => entry.key === magSuffix).value) : void 0, body = underflow ?? scientific ?? numberFormatter(locale, usedDecimals).format(Number(roundedAbs)), isZero = !underflow && !scientific && Number(roundedAbs) === 0, text = `${value < 0 && !isZero ? MINUS : signed && value > 0 && !isZero ? "+" : ""}${prefix}${body}${magSuffix ? magnitudeSuffix(magSuffix, opts.locale) : ""}${suffix}`;
|
|
337
|
+
let underflow = automatic && v === 0 && value !== 0 ? underflowScientificText(value, MAGNITUDES.find((entry) => entry.key === magSuffix).value) : void 0, body = underflow ?? scientific ?? markedDecimal(roundedAbs, usedDecimals, !0, locale) ?? numberFormatter(locale, usedDecimals).format(Number(roundedAbs)), isZero = !underflow && !scientific && Number(roundedAbs) === 0, text = `${value < 0 && !isZero ? MINUS : signed && value > 0 && !isZero ? "+" : ""}${prefix}${body}${magSuffix ? magnitudeSuffix(magSuffix, opts.locale) : ""}${suffix}`;
|
|
329
338
|
return pValue ? withoutLeadingZero(text) : text;
|
|
330
339
|
}
|
|
331
340
|
function formatAutomaticNumber(value, opts = {}) {
|
|
@@ -335,7 +344,9 @@ function lowBaseKeyLabel(minBase, locale) {
|
|
|
335
344
|
return `n < ${formatAutomaticNumber(minBase, { locale })}`;
|
|
336
345
|
}
|
|
337
346
|
function formatExactNumber(value, locale) {
|
|
338
|
-
|
|
347
|
+
if (!Number.isFinite(value)) return formatNumber(value, { locale });
|
|
348
|
+
let text = String(value);
|
|
349
|
+
return locale ? ((Number.isSafeInteger(value) && !Object.is(value, -0) ? markedDecimal(text, 0, !0, locale) : void 0) ?? numberFormatter(locale, "exact").format(value)).replace(/^-/, MINUS) : text;
|
|
339
350
|
}
|
|
340
351
|
function formatPercent(value, decimals = 0, signed = !1, locale, automatic = !1) {
|
|
341
352
|
return formatNumber(value, { decimals, suffix: "%", signed, locale, automatic });
|
|
@@ -647,13 +658,6 @@ function chartStrings(en, de) {
|
|
|
647
658
|
}
|
|
648
659
|
|
|
649
660
|
export {
|
|
650
|
-
chartNumberMarks,
|
|
651
|
-
splitNumberMarks,
|
|
652
|
-
wordLanguage,
|
|
653
|
-
withNumberMarks,
|
|
654
|
-
authoredLocale,
|
|
655
|
-
numberFormat,
|
|
656
|
-
fractionFormat,
|
|
657
661
|
distinctDecimalLift,
|
|
658
662
|
checkedDecimals,
|
|
659
663
|
autoDecimals,
|
|
@@ -686,6 +690,14 @@ export {
|
|
|
686
690
|
groupInteger,
|
|
687
691
|
roundSignificant,
|
|
688
692
|
roundsToZero,
|
|
693
|
+
chartNumberMarks,
|
|
694
|
+
markedDecimal,
|
|
695
|
+
splitNumberMarks,
|
|
696
|
+
wordLanguage,
|
|
697
|
+
withNumberMarks,
|
|
698
|
+
authoredLocale,
|
|
699
|
+
numberFormat,
|
|
700
|
+
fractionFormat,
|
|
689
701
|
MINUS,
|
|
690
702
|
PERCENTAGE_POINTS,
|
|
691
703
|
NOT_AVAILABLE,
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sharedKeys10,
|
|
3
3
|
sharedKeys5
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5LUHGXXE.js";
|
|
5
5
|
import {
|
|
6
6
|
optionKeyCheck
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-35JGEMCK.js";
|
|
11
11
|
import {
|
|
12
12
|
tilemapCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JV3S3OCN.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-D2I2BUR6.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/tilemap.ts
|
|
19
19
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, scale: { kind: 0, midpoint: 0, polarity: 0 }, classes: 0, steps: 0, overlayTones: { good: 0, bad: 0, warn: 0, neutral: 0, info: 0 }, overlayMeasure: 0, regionValues: 0 }, labels: ["category"] }), TilemapChart = createChartComponent(registeredType(tilemapCore), checkOptionKeys);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rangeCellSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OQQGM2TM.js";
|
|
4
4
|
import {
|
|
5
5
|
columnOverridesOption
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6PR23T2O.js";
|
|
7
7
|
import {
|
|
8
8
|
CONNECTOR_STYLE_DESCRIPTION
|
|
9
9
|
} from "./chunk-2EQE4E3I.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
refusedBaseOptions,
|
|
24
24
|
scenarioField,
|
|
25
25
|
valueKindSchema
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EPS7N5ZS.js";
|
|
27
27
|
|
|
28
28
|
// src/core/charts/bar/schema.ts
|
|
29
29
|
import * as z from "zod";
|
|
@@ -40,7 +40,7 @@ var categorySchema = categorySchemaOf({
|
|
|
40
40
|
}), seriesSchema = z.strictObject({
|
|
41
41
|
valueKind: valueKindSchema,
|
|
42
42
|
id: idSchema.describe("Series identity used by keyed options, annotations and legend entries."),
|
|
43
|
-
label: z.string().optional().describe(
|
|
43
|
+
label: z.string().optional().describe('Displayed series name; defaults to the series id. The hover card names each value with it ("North: 65.8").'),
|
|
44
44
|
values: z.array(
|
|
45
45
|
z.union([rangeCellSchema, z.strictObject({ categoryId: idSchema.describe("Category id identifying this value independently of array position."), value: rangeCellSchema.describe("Cell assigned to the named category in this series.") })])
|
|
46
46
|
).describe("Values in category order, or keyed entries pairing a categoryId with its value. In a football field, null cells and cells without a range are left out with a warning and a note, provided at least one method has a range."),
|