boardplot 0.52.5 → 0.53.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 +31 -0
- package/README.md +2 -2
- package/dist/{ReaderBox-VUNSFKZY.js → ReaderBox-VOJSJ66R.js} +5 -5
- package/dist/{annotateEngine-H7OW4H3W.js → annotateEngine-DLMFJZ67.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-HAAUJDGB.js → chunk-24BHMKDD.js} +2 -2
- package/dist/{chunk-HJXXFPOL.js → chunk-27QADBDV.js} +2 -2
- package/dist/{chunk-V4VC25UL.js → chunk-2CVH5E57.js} +4 -4
- package/dist/{chunk-CCQNL33L.js → chunk-2DOR5SS6.js} +9 -9
- package/dist/{chunk-WRHFBCVY.js → chunk-2FNNAPCI.js} +3 -3
- package/dist/{chunk-OH7FA4TF.js → chunk-2L2Q53EP.js} +1 -1
- package/dist/{chunk-JRPI64AQ.js → chunk-2ND7ZITT.js} +17 -14
- package/dist/{chunk-QG6MOQLI.js → chunk-2QT5ZUHO.js} +17 -14
- package/dist/{chunk-YKO3VCTF.js → chunk-2RSG7JYI.js} +3 -3
- package/dist/{chunk-ERAIVAK5.js → chunk-2V6CLH33.js} +36 -3
- package/dist/{chunk-FGAGGPFF.js → chunk-2VWJ5BGO.js} +8 -8
- package/dist/{chunk-KPMGGE4W.js → chunk-2WNYRWHG.js} +1 -1
- package/dist/{chunk-R3WI7ZLE.js → chunk-323YZWYJ.js} +12 -9
- package/dist/{chunk-JA755JHN.js → chunk-33PB4V6K.js} +10 -7
- package/dist/{chunk-JLCAWQ3H.js → chunk-3A2IEBCN.js} +3 -3
- package/dist/{chunk-EKQMYG2B.js → chunk-3H2W76TB.js} +17 -17
- package/dist/{chunk-KFFNCDX6.js → chunk-3JEQGGVD.js} +3 -3
- package/dist/{chunk-SXGTRZFN.js → chunk-3QWZAEW5.js} +1 -1
- package/dist/{chunk-CYDZP5W6.js → chunk-3SQCCESO.js} +26 -23
- package/dist/{chunk-XW5J5JAX.js → chunk-3XHJHQWU.js} +2 -2
- package/dist/{chunk-JY4R3GML.js → chunk-4G2O2ZPJ.js} +1 -1
- package/dist/{chunk-COKHNEJP.js → chunk-4JLBVIGW.js} +3 -3
- package/dist/{chunk-M6KTNAND.js → chunk-4RRNJLCM.js} +8 -8
- package/dist/{chunk-A3ULWR5N.js → chunk-4UVW5WU6.js} +1 -1
- package/dist/{chunk-JSX3C6LL.js → chunk-4X66BTP5.js} +5 -5
- package/dist/{chunk-YQ2B3YVF.js → chunk-53OYF4ZT.js} +1 -1
- package/dist/{chunk-JL5BRMDT.js → chunk-57ZGVAU3.js} +1 -1
- package/dist/{chunk-S7VDRUED.js → chunk-5HECRVXJ.js} +1 -1
- package/dist/{chunk-7QDAHY5M.js → chunk-5LGSRWFC.js} +2 -2
- package/dist/{chunk-W7UZXD5D.js → chunk-5LYXD6ME.js} +18 -15
- package/dist/{chunk-QXILAMAU.js → chunk-66RFKRGO.js} +1 -1
- package/dist/{chunk-H57TJD3B.js → chunk-6OCR6ITN.js} +1 -1
- package/dist/{chunk-3GZECHOK.js → chunk-6RBTTCQD.js} +12 -12
- package/dist/{chunk-GH3ZMBFX.js → chunk-6Y7EXYLR.js} +11 -11
- package/dist/{chunk-RNOD2UWF.js → chunk-7CTKTIPF.js} +12 -12
- package/dist/{chunk-3W23F7EY.js → chunk-7EVIIADO.js} +1 -1
- package/dist/{chunk-ZSLGN6CO.js → chunk-7X2ZYVAX.js} +1 -1
- package/dist/{chunk-PEN2DK7T.js → chunk-A6CQPJWR.js} +2 -2
- package/dist/{chunk-ELYU6TRQ.js → chunk-ADKCLH3Z.js} +1 -1
- package/dist/{chunk-62FR4FYJ.js → chunk-ADWSGPH5.js} +2 -2
- package/dist/{chunk-TXINIAFL.js → chunk-AG2CJ4JY.js} +10 -5
- package/dist/{chunk-R5SWC3EW.js → chunk-AHQ4L3BE.js} +1 -1
- package/dist/{chunk-NLOMCLKI.js → chunk-AQROQDLR.js} +8 -8
- package/dist/{chunk-LC6DYCTG.js → chunk-AWTG3RFF.js} +1 -1
- package/dist/{chunk-E2HEVF23.js → chunk-B54RN2FD.js} +10 -10
- package/dist/{chunk-JFG4DHKQ.js → chunk-B67K6OWJ.js} +1 -1
- package/dist/{chunk-SGSPYHFE.js → chunk-B6GFKYBZ.js} +2 -2
- package/dist/{chunk-IZCOG3FS.js → chunk-BBRBCMNR.js} +4 -4
- package/dist/{chunk-KSYVTEKR.js → chunk-BMRD6MAH.js} +3 -3
- package/dist/{chunk-YTSSXSZR.js → chunk-BPKXEMRE.js} +3 -3
- package/dist/{chunk-CAE2HK2G.js → chunk-BWGRWGVA.js} +1 -1
- package/dist/{chunk-W2RGSGRR.js → chunk-BWLOXQDV.js} +6 -6
- package/dist/{chunk-EQT3EPTB.js → chunk-BWTX7LUG.js} +1 -1
- package/dist/{chunk-BKYMLFUG.js → chunk-C54QLNE4.js} +1 -1
- package/dist/{chunk-HFG76JTS.js → chunk-CAQ5P4VN.js} +3 -3
- package/dist/{chunk-HZQEQ34U.js → chunk-CCCEBIUZ.js} +3 -3
- package/dist/{chunk-DGDOGOTQ.js → chunk-CJGSJKPO.js} +3 -3
- package/dist/{chunk-AFK47A6O.js → chunk-CN7JRHST.js} +3 -3
- package/dist/{chunk-XDLQRSSH.js → chunk-CNX7EGSU.js} +2 -2
- package/dist/{chunk-DFKTS6XJ.js → chunk-COYOTQC2.js} +1 -1
- package/dist/{chunk-YFG4E3N2.js → chunk-CRNMNZJD.js} +14 -14
- package/dist/{chunk-3HHNQPAH.js → chunk-CUVUDK4O.js} +1 -1
- package/dist/{chunk-II7652VA.js → chunk-CWDHCSL2.js} +5 -4
- package/dist/{chunk-24WB3HMB.js → chunk-CYOJZ3GQ.js} +16 -6
- package/dist/{chunk-CRZKGHZ6.js → chunk-D7SHZDA3.js} +17 -19
- package/dist/chunk-DAVHGK27.js +657 -0
- package/dist/{chunk-NT3HAZYT.js → chunk-DCTCUZ5L.js} +1 -1
- package/dist/{chunk-S5ADHIZK.js → chunk-DDCB7ZA5.js} +28 -25
- package/dist/{chunk-7VXZDB45.js → chunk-DDI2W4TR.js} +1 -1
- package/dist/{chunk-KU4YS6HN.js → chunk-DIHUGBZO.js} +1 -1
- package/dist/{chunk-6UBEGKIQ.js → chunk-DJHIQWSG.js} +3 -3
- package/dist/{chunk-LO2DANS6.js → chunk-DO5OZJAO.js} +5 -5
- package/dist/{chunk-4SM2ONUC.js → chunk-DOFYKPTC.js} +1 -1
- package/dist/{chunk-3I6RANBJ.js → chunk-DRW6KGBK.js} +36 -32
- package/dist/{chunk-2UVTHU7A.js → chunk-DU4A5AOY.js} +37 -27
- package/dist/{chunk-5KWXRYAT.js → chunk-DYS7EIXY.js} +6 -6
- package/dist/{chunk-YP3I6W7T.js → chunk-E4IQ6M4S.js} +3 -3
- package/dist/{chunk-2AKWCMS4.js → chunk-EFUWFB64.js} +3 -3
- package/dist/{chunk-C64FBRJO.js → chunk-EHBB2Z4D.js} +5 -5
- package/dist/{chunk-FT3F72C3.js → chunk-EHVESNLV.js} +1 -1
- package/dist/{chunk-6JUJ2DU3.js → chunk-EJPVVGD7.js} +37 -37
- package/dist/{chunk-XEGRWWNO.js → chunk-EUADDXAV.js} +2 -2
- package/dist/{chunk-WVSNSWBJ.js → chunk-F6CNPC4L.js} +1 -1
- package/dist/{chunk-33CBPK5Q.js → chunk-FBAYZSFC.js} +51 -45
- package/dist/{chunk-QETGGFH2.js → chunk-FBB4BWKN.js} +3 -3
- package/dist/{chunk-TSR5YDPS.js → chunk-FF23FYQD.js} +23 -20
- package/dist/{chunk-DLC23CKC.js → chunk-FG6EDGMI.js} +1 -1
- package/dist/{chunk-PTVOXB5T.js → chunk-FHA3KMFC.js} +6 -2
- package/dist/{chunk-WDUNR2VI.js → chunk-FV3VF36K.js} +21 -18
- package/dist/{chunk-S4F27M7N.js → chunk-G5FMTRG5.js} +2 -2
- package/dist/{chunk-WHSTEAVP.js → chunk-GCBOHVDZ.js} +1 -1
- package/dist/{chunk-YHTO46W2.js → chunk-GTG3IGLF.js} +35 -31
- package/dist/{chunk-COYPDRJK.js → chunk-GZTNTHSW.js} +2 -2
- package/dist/{chunk-3XQ635KD.js → chunk-H5G7T35P.js} +3 -3
- package/dist/{chunk-UZF3G2FN.js → chunk-H63XQ3OO.js} +5 -5
- package/dist/{chunk-F77BNDAT.js → chunk-H67RTX46.js} +2 -2
- package/dist/{chunk-2MTWKMEG.js → chunk-HA4IPWMM.js} +1 -1
- package/dist/{chunk-XY5O74BH.js → chunk-HKYTOJLV.js} +3 -3
- package/dist/{chunk-ZVTFZF4V.js → chunk-HOAH5XBR.js} +8 -8
- package/dist/{chunk-S62M63LU.js → chunk-HYY5V2KL.js} +3 -3
- package/dist/{chunk-5C7TWNYZ.js → chunk-HZI56ASJ.js} +1 -1
- package/dist/{chunk-2DHJJ2EN.js → chunk-I6VAWNNU.js} +3 -3
- package/dist/{chunk-QVABTUDS.js → chunk-IBXXZVG7.js} +7 -7
- package/dist/{chunk-JETXFF3M.js → chunk-IK4BHOPZ.js} +1 -1
- package/dist/{chunk-Z256ACGC.js → chunk-IL5T7I2A.js} +2 -2
- package/dist/{chunk-A7A4PDG5.js → chunk-ILSXT6KT.js} +3 -3
- package/dist/{chunk-Y4PXIJMD.js → chunk-IYMI7YI4.js} +14 -14
- package/dist/{chunk-5DJXJXDE.js → chunk-J6I2YFJH.js} +1 -1
- package/dist/{chunk-KS7DXCXH.js → chunk-JR7Y5ONB.js} +3 -3
- package/dist/{chunk-GZ4RHGIW.js → chunk-JSEYUJUQ.js} +19 -19
- package/dist/{chunk-3ZCKEANJ.js → chunk-K3HSQPSM.js} +3 -3
- package/dist/{chunk-VB2MJLET.js → chunk-KPKXJYQH.js} +1 -1
- package/dist/{chunk-XDS4UZGR.js → chunk-KSJVENRU.js} +3 -3
- package/dist/{chunk-2SGIHKKU.js → chunk-KZJOV4QW.js} +1 -1
- package/dist/{chunk-GQS46LC3.js → chunk-KZS46KDY.js} +11 -3
- package/dist/{chunk-XTNV2YMB.js → chunk-L3JWM7FR.js} +1 -1
- package/dist/{chunk-HX3MQ3H4.js → chunk-L4S6UFTL.js} +3 -3
- package/dist/{chunk-K2HNV4LE.js → chunk-L6DJ4ZY5.js} +12 -12
- package/dist/{chunk-Z5VSLLNY.js → chunk-L7RHB734.js} +1 -1
- package/dist/{chunk-YI2ZVTCB.js → chunk-LCWJS34U.js} +1 -1
- package/dist/{chunk-MEISCROL.js → chunk-LFTAMH7I.js} +3 -3
- package/dist/{chunk-B2EBEXIS.js → chunk-LFX7W4B7.js} +1 -1
- package/dist/chunk-LINZPU5D.js +8 -0
- package/dist/{chunk-ORUJI3VB.js → chunk-LIWLBLCT.js} +1 -1
- package/dist/{chunk-HUF6TQ2J.js → chunk-LS7HVBI7.js} +3 -3
- package/dist/{chunk-TTR7EWNH.js → chunk-M4EUXOLU.js} +4 -4
- package/dist/{chunk-A2FHZH7E.js → chunk-MBKZYJRC.js} +35 -21
- package/dist/{chunk-76ANFJOI.js → chunk-MCYM3RNF.js} +1 -1
- package/dist/{chunk-MDYLOIS2.js → chunk-MF6IVSBJ.js} +1 -1
- package/dist/{chunk-FOKEGVPB.js → chunk-MIAPBQCA.js} +3 -3
- package/dist/{chunk-D4BIV6WG.js → chunk-MJZHFH5R.js} +19 -16
- package/dist/{chunk-A5JWFZVU.js → chunk-MQFCG4KS.js} +79 -79
- package/dist/{chunk-CS4DHFNG.js → chunk-MVV6RQMG.js} +2 -2
- package/dist/{chunk-NG5IGZXC.js → chunk-MYMT5KJL.js} +23 -20
- package/dist/{chunk-GULJ6KVT.js → chunk-MZL6LGKO.js} +14 -14
- package/dist/{chunk-5T5YW52S.js → chunk-N23YFPPI.js} +1 -1
- package/dist/{chunk-UEU46Q3D.js → chunk-N3G2FYDL.js} +6 -6
- package/dist/{chunk-7IFLQMJL.js → chunk-N3TPMXS3.js} +5 -4
- package/dist/{chunk-B67K5X4M.js → chunk-N73IBH55.js} +1 -1
- package/dist/{chunk-QHFQHQDC.js → chunk-N7J7CZS6.js} +2 -2
- package/dist/{chunk-7JVAQX6C.js → chunk-NCB3YLHF.js} +4 -4
- package/dist/{chunk-NEVSQGOI.js → chunk-NHQGRKEA.js} +2 -2
- package/dist/{chunk-GWQIXU37.js → chunk-NKIYLFXZ.js} +12 -12
- package/dist/{chunk-4DNOEV3Q.js → chunk-NOSDEJ3K.js} +79 -2
- package/dist/{chunk-V4DYVLOO.js → chunk-NQDVMUHX.js} +5 -5
- package/dist/{chunk-TXZBBZOG.js → chunk-NSSNYY6Y.js} +2 -2
- package/dist/{chunk-6XE3GVGU.js → chunk-NY5NUFDZ.js} +3 -2
- package/dist/{chunk-TPZB2YWR.js → chunk-O3S2KNIW.js} +2 -2
- package/dist/{chunk-OAPCJO6W.js → chunk-O3VN6BTL.js} +1 -0
- package/dist/chunk-ONZLC47B.js +88 -0
- package/dist/{chunk-RSWVH7DB.js → chunk-OUEGGWH7.js} +3 -3
- package/dist/{chunk-AZOUSKZD.js → chunk-OURX73UJ.js} +1 -1
- package/dist/{chunk-XPWRD424.js → chunk-P25VEGGX.js} +3 -3
- package/dist/{chunk-NMCOUVN5.js → chunk-P26Z62UV.js} +3 -3
- package/dist/{chunk-WMJPFLF3.js → chunk-P5RNWMZC.js} +29 -25
- package/dist/{chunk-XYONCO5Q.js → chunk-P6KZIZDV.js} +19 -16
- package/dist/{chunk-S53OGZL6.js → chunk-PEUSKIFV.js} +1 -1
- package/dist/{chunk-GZ2VNM4L.js → chunk-PFVTYFSL.js} +3 -3
- package/dist/{chunk-ALKTNXMR.js → chunk-Q3CV2JJ2.js} +31 -31
- package/dist/{chunk-X7TXGKRX.js → chunk-QO6HEXIZ.js} +6 -6
- package/dist/{chunk-EC2NAYPQ.js → chunk-QOIVXZUF.js} +3 -3
- package/dist/{chunk-JMH5MD5A.js → chunk-QSXK6PJL.js} +1 -1
- package/dist/{chunk-MCOIEWW6.js → chunk-QTZVVZ2A.js} +1 -1
- package/dist/{chunk-27QQEWNV.js → chunk-QWXWVPNE.js} +2 -2
- package/dist/{chunk-LC3PSQJJ.js → chunk-QY5ZKUWY.js} +1 -1
- package/dist/{chunk-PUVGWJQ5.js → chunk-RA66JA3D.js} +4 -4
- package/dist/{chunk-SLTMRTXV.js → chunk-REOPXBUR.js} +15 -12
- package/dist/{chunk-ASAON7G4.js → chunk-RGZGLKFB.js} +4 -4
- package/dist/{chunk-GQPESFAF.js → chunk-RL3NUWMY.js} +7 -7
- package/dist/{chunk-ETHWK2RZ.js → chunk-RNOJSEES.js} +1 -1
- package/dist/{chunk-KYELSLDJ.js → chunk-RPIW5T55.js} +1 -1
- package/dist/{chunk-XO5ONLVM.js → chunk-S32YYDIB.js} +1 -1
- package/dist/{chunk-QN6JHMGU.js → chunk-S4QSJAGY.js} +1 -1
- package/dist/{chunk-UQSVWO7Z.js → chunk-S6UX7KB6.js} +8 -7
- package/dist/{chunk-IZ35GMGB.js → chunk-SDSONLMZ.js} +13 -10
- package/dist/{chunk-S4ONWRJE.js → chunk-SKRSCTT5.js} +2 -2
- package/dist/{chunk-TVHLKVUO.js → chunk-SMCDXUIO.js} +3 -3
- package/dist/{chunk-JLZM7XMZ.js → chunk-SPTPFY4S.js} +14 -11
- package/dist/{chunk-A6XCAQ52.js → chunk-SREWFAAJ.js} +7 -6
- package/dist/{chunk-2JAWQ7VV.js → chunk-SS42FJVN.js} +11 -10
- package/dist/{chunk-I322G5UG.js → chunk-SVZDXFPX.js} +17 -14
- package/dist/{chunk-627P6T25.js → chunk-TBGUEF3M.js} +21 -18
- package/dist/{chunk-OLNORNCT.js → chunk-TGK6KUGN.js} +4 -4
- package/dist/{chunk-PGIQMQRU.js → chunk-TJSND556.js} +227 -94
- package/dist/{chunk-V422EKLW.js → chunk-TKOJZQAJ.js} +3 -3
- package/dist/{chunk-DVKBU23L.js → chunk-TM4OC53S.js} +1 -1
- package/dist/{chunk-ZJKOLOVF.js → chunk-TWOREVKJ.js} +26 -20
- package/dist/{chunk-IDTLHPTK.js → chunk-TXS3U77A.js} +2 -2
- package/dist/{chunk-VYMGZ27S.js → chunk-UB6ODJHO.js} +3 -2
- package/dist/{chunk-RNXITK5M.js → chunk-UBZXQIDR.js} +3 -3
- package/dist/{chunk-IN4QT33I.js → chunk-ULTSSIOU.js} +1 -1
- package/dist/{chunk-QNHZXFRA.js → chunk-V6O6KVOA.js} +3 -3
- package/dist/{chunk-TPYV2FTV.js → chunk-VERLFNWR.js} +3 -3
- package/dist/{chunk-ATTE3FYC.js → chunk-VH2UUU7K.js} +3 -3
- package/dist/{chunk-V667FCIJ.js → chunk-VJ3FCGQF.js} +1 -1
- package/dist/{chunk-FT47HQ5U.js → chunk-VK5ZDV67.js} +4 -4
- package/dist/{chunk-RJQ5YS3Q.js → chunk-VKQNDOAI.js} +4 -4
- package/dist/{chunk-5ENRZX6I.js → chunk-VTEV3WVF.js} +19 -16
- package/dist/{chunk-35DZP2R2.js → chunk-WI5ITCOH.js} +2 -2
- package/dist/{chunk-A372DLQX.js → chunk-X4YNDLVA.js} +3 -3
- package/dist/{chunk-GDQ3NGDZ.js → chunk-X6SUFTD7.js} +2 -2
- package/dist/{chunk-NYEY6W5R.js → chunk-XJI6SWFS.js} +8 -8
- package/dist/{chunk-Q6XJOJTY.js → chunk-XJP5DKIL.js} +2 -2
- package/dist/{chunk-BVWU6GOB.js → chunk-XN4ARQ2W.js} +2 -2
- package/dist/{chunk-MJMJEURO.js → chunk-XN7MQO45.js} +10 -10
- package/dist/{chunk-HUFCSX2Y.js → chunk-XQCQZBGX.js} +17 -6
- package/dist/{chunk-MFLH5ZDQ.js → chunk-XXOHXA3A.js} +2 -2
- package/dist/{chunk-WJMUMN3I.js → chunk-XZOHR765.js} +2 -2
- package/dist/{chunk-IXSZ7OKR.js → chunk-YCNLQYTC.js} +1 -1
- package/dist/{chunk-MNJ2DHU6.js → chunk-YCRGWQBS.js} +8 -8
- package/dist/{chunk-YEDYBMCW.js → chunk-YF2PYLC4.js} +1 -1
- package/dist/{chunk-MIXKQJ64.js → chunk-YG5GUELW.js} +17 -17
- package/dist/{chunk-RTJXOIIQ.js → chunk-YWP7XFKD.js} +1 -1
- package/dist/{chunk-WYJMV62X.js → chunk-Z6CL7AR6.js} +3 -3
- package/dist/{chunk-A5LZUYK4.js → chunk-ZMF7WEGG.js} +3 -2
- package/dist/{chunk-NXNQQ3DS.js → chunk-ZNHFLJSY.js} +7 -14
- package/dist/{chunk-EWVKBRLV.js → chunk-ZQF34VPS.js} +2 -2
- package/dist/{chunk-H7UZZ7KP.js → chunk-ZU425HNM.js} +3 -3
- package/dist/{chunk-YAYRRKC7.js → chunk-ZZU5R5UU.js} +3 -3
- package/dist/cli/index.js +2 -2
- package/dist/{core-KBH3EJZV.js → core-3VCCUFVX.js} +1 -1
- package/dist/{core-E6YD7VU4.js → core-4BZQQSHS.js} +2 -1
- package/dist/{core-6LLJNZ4O.js → core-4VT4MHNB.js} +2 -1
- package/dist/{core-ZH7XTJTD.js → core-5535KXRD.js} +2 -1
- package/dist/{core-JQV7STNF.js → core-5HQBPCHL.js} +2 -1
- package/dist/{core-QUYSNTC7.js → core-6RYHWUJO.js} +2 -1
- package/dist/{core-SCWEVNUY.js → core-7BZJCIXN.js} +2 -1
- package/dist/{core-KFBW5PRT.js → core-AJTVU6X7.js} +2 -1
- package/dist/{core-EE55P6XK.js → core-C6YUSTZI.js} +2 -1
- package/dist/{core-IV26EL5C.js → core-EEB7HTCL.js} +2 -1
- package/dist/{core-DBRILYNB.js → core-EFMVDWNH.js} +1 -1
- package/dist/{core-IZVZ2B7Y.js → core-ETAGQBZO.js} +1 -1
- package/dist/{core-RY6IFRKM.js → core-FVR3WZEC.js} +2 -1
- package/dist/{core-RE3L6YCM.js → core-GCTFVYMH.js} +1 -1
- package/dist/{core-CPN2HF75.js → core-GES44OTS.js} +1 -1
- package/dist/{core-WLVU2HWX.js → core-GGQREDSI.js} +2 -1
- package/dist/{core-ZJYLJWZQ.js → core-HRYOV6QD.js} +1 -1
- package/dist/{core-KWGXHBJE.js → core-IKD3EE3S.js} +2 -1
- package/dist/{core-MZMR2DF4.js → core-JM4R426L.js} +1 -1
- package/dist/{core-RUA3EWW3.js → core-KKQS3WI2.js} +2 -1
- package/dist/{core-6ANZ2OWO.js → core-LA6XDYG7.js} +1 -1
- package/dist/{core-CS7AKNME.js → core-MJ7JWQT5.js} +1 -1
- package/dist/{core-XXIOJY2X.js → core-MLROKJ2M.js} +2 -1
- package/dist/{core-5Z6UW5DS.js → core-MR52YBRX.js} +1 -1
- package/dist/{core-OK2ZY5OJ.js → core-NP4VHWXL.js} +1 -1
- package/dist/{core-OW5V74Q4.js → core-NQLNZDX5.js} +2 -1
- package/dist/{core-OV5MPTZP.js → core-NSIJEKLI.js} +2 -1
- package/dist/{core-DU77ZYPR.js → core-OJUQLIQ5.js} +2 -1
- package/dist/{core-T5Q4DSH2.js → core-PB3VUQSS.js} +1 -1
- package/dist/{core-SE67HHFG.js → core-Q6VLFFYC.js} +2 -1
- package/dist/{core-ZHE7N4NS.js → core-QY7AVIKZ.js} +2 -1
- package/dist/{core-WQPHNVNY.js → core-SBQMHWTA.js} +2 -1
- package/dist/{core-TJX3I7KH.js → core-UHECQHJ2.js} +2 -1
- package/dist/{core-ULUA5ZB2.js → core-V5FV4NWL.js} +2 -1
- package/dist/{core-PL64QPOH.js → core-WGM4XUN3.js} +2 -1
- package/dist/{core-PVINU5JJ.js → core-WUQVFARS.js} +2 -1
- package/dist/{core-FFLPH5XK.js → core-Z2F3IGSR.js} +2 -1
- package/dist/{dataTable-IL7HVDHL.js → dataTable-3CPPIHB3.js} +2 -2
- package/dist/{engine-MYLZI5VH.js → engine-FXFBCWHB.js} +11 -11
- package/dist/fixtures.js +2 -1
- package/dist/{fontTables-ZYBUCJ5N.js → fontTables-WYCZNRE7.js} +1 -1
- package/dist/fonts.js +1 -1
- package/dist/index.js +19 -18
- package/dist/{main-ISJ53IS5.js → main-YLKBTHJP.js} +11 -10
- package/dist/mcp/server.js +16 -14
- package/dist/react/bar.js +2 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +2 -1
- package/dist/react/bullet.js +2 -1
- package/dist/react/butterfly.js +2 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +2 -1
- package/dist/react/column.js +2 -1
- package/dist/react/combo.js +2 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +2 -1
- package/dist/react/dot.js +2 -1
- package/dist/react/export.js +18 -17
- package/dist/react/funnel.js +2 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +2 -1
- package/dist/react/heatmap.js +2 -1
- package/dist/react/histogram.js +2 -1
- package/dist/react/index.js +85 -84
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +2 -1
- package/dist/react/line.js +2 -1
- package/dist/react/mekko.js +2 -1
- package/dist/react/pareto.js +2 -1
- package/dist/react/pie.js +2 -1
- package/dist/react/prepare.js +19 -18
- package/dist/react/pvm.js +2 -1
- package/dist/react/pyramid.js +2 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +2 -1
- package/dist/react/slope.js +2 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +35 -26
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +3 -3
- package/dist/react/table.js +2 -1
- package/dist/react/theme.js +3 -3
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +2 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +2 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-3Y4I3M3E.js → rowsModule-YVLAROIP.js} +1 -1
- package/dist/{schema-QJJPRRE7.js → schema-2K6C3U24.js} +2 -1
- package/dist/{schema-STGL44TL.js → schema-2KIHLTYI.js} +2 -1
- package/dist/{schema-4735XAZX.js → schema-4HY2MWZC.js} +2 -1
- package/dist/{schema-PDZ6256H.js → schema-4S5CXHAO.js} +2 -1
- package/dist/{schema-XYYDUUHS.js → schema-5BKQV56C.js} +2 -1
- package/dist/{schema-JJYJOQTT.js → schema-5HA5DSYN.js} +2 -1
- package/dist/{schema-W376PAJG.js → schema-5NKJPSBD.js} +2 -1
- package/dist/{schema-IF5N3J56.js → schema-65FOKNHK.js} +2 -1
- package/dist/{schema-TQYTESG3.js → schema-6OHZWHUI.js} +2 -1
- package/dist/{schema-IG7JIR4H.js → schema-6RYJS2GM.js} +2 -1
- package/dist/{schema-P7LJFJAJ.js → schema-6W4M3WJ4.js} +2 -1
- package/dist/{schema-GH7IKSOU.js → schema-7TLSFG6M.js} +2 -1
- package/dist/{schema-2GUBWOBC.js → schema-AMFRKUFS.js} +2 -1
- package/dist/{schema-7J3NAIN2.js → schema-B7CZPPB4.js} +2 -1
- package/dist/{schema-34ZELWRQ.js → schema-BNRNHGHQ.js} +2 -1
- package/dist/{schema-PA2MXYY4.js → schema-E4MRCGPZ.js} +2 -1
- package/dist/{schema-L7263JMT.js → schema-F3WYTR65.js} +2 -1
- package/dist/{schema-3BHL2B76.js → schema-FA6XIHTW.js} +2 -1
- package/dist/{schema-5YTNQ6JY.js → schema-GZNOW4LX.js} +2 -1
- package/dist/{schema-QEVSIMGO.js → schema-HEIDGCSL.js} +2 -1
- package/dist/{schema-EQQB43AY.js → schema-JB2H6KPA.js} +2 -1
- package/dist/{schema-2BMZOHXI.js → schema-MPXZNWV3.js} +2 -1
- package/dist/{schema-G4KFMQBL.js → schema-NHNQK6XO.js} +2 -1
- package/dist/{schema-CVMV4LRA.js → schema-NN6UPDPW.js} +2 -1
- package/dist/{schema-AOJJ7JZB.js → schema-O4YNAGIY.js} +2 -1
- package/dist/{schema-E6YOSOWB.js → schema-O7AKK232.js} +2 -1
- package/dist/{schema-E2ISJ65D.js → schema-OJCML6LV.js} +2 -1
- package/dist/{schema-P63S63GE.js → schema-ORTRMYI6.js} +2 -1
- package/dist/{schema-EYZVD73N.js → schema-PJ6P52BC.js} +2 -1
- package/dist/{schema-S3EQKVOT.js → schema-RTWES6NR.js} +2 -1
- package/dist/{schema-EYQ5IBLF.js → schema-S36SRYGO.js} +2 -1
- package/dist/{schema-D3RCMN3T.js → schema-S3TCLTYD.js} +2 -1
- package/dist/{schema-MEAFRXVH.js → schema-SWWMOLOR.js} +3 -2
- package/dist/{schema-PNC3Z7AH.js → schema-WOSEZNKG.js} +2 -1
- package/dist/{schema-T4NE2EAO.js → schema-Y6KBWUUR.js} +2 -1
- package/dist/{schema-EVLLL5UF.js → schema-YQYTLKSW.js} +2 -1
- package/dist/{schema-KFC4WYH4.js → schema-ZUUUY3QS.js} +2 -1
- package/dist/{specValidation-NVBIZMEE.js → specValidation-VNWIKLHH.js} +2 -1
- package/dist/theme.js +2 -2
- package/dist/{themeShapeRules-5C2463YH.js → themeShapeRules-2D3KWSPQ.js} +1 -1
- package/dist/types/core/charts/gantt/layout.d.ts +7 -0
- package/dist/types/core/charts/grid/schema.d.ts +1 -1
- package/dist/types/core/formatSpec.d.ts +2 -0
- package/dist/types/core/label/solver.d.ts +5 -1
- package/dist/types/core/rows.d.ts +2 -0
- package/dist/types/core/types/annotations.d.ts +6 -2
- package/dist/types/core/types/data.d.ts +8 -3
- package/dist/types/react/spec.d.ts +17 -0
- package/dist/types/rows.d.ts +6 -1
- package/dist/validate.js +7 -6
- package/docs/manual.md +14 -2
- package/docs/reference/box.md +1 -1
- package/docs/reference/fixtures.md +1 -0
- package/docs/reference/gantt.md +11 -5
- package/docs/reference/histogram.md +1 -1
- package/docs/reference/line.md +1 -1
- package/docs/reference/react.md +3 -0
- package/docs/reference/table.md +1 -1
- package/llms.txt +3 -3
- package/package.json +1 -1
- package/dist/chunk-2GELJH37.js +0 -88
- package/dist/chunk-4GB7TBY7.js +0 -373
|
@@ -8,16 +8,16 @@ import {
|
|
|
8
8
|
} from "./chunk-H4H4O62O.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YG5GUELW.js";
|
|
12
12
|
import {
|
|
13
13
|
ganttCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TJSND556.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DOFYKPTC.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/gantt.ts
|
|
20
|
-
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 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, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, colHeaders: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
|
|
20
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 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, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, today: 0, elapsed: 0, weekends: 0, rowTint: 0, calendar: { weeks: 0, span: 0 }, colHeaders: 0 }, labels: ["valueLine", "annotation", "activity", "item"] }), GanttChart = createChartComponent(registeredType(ganttCore), checkOptionKeys);
|
|
21
21
|
|
|
22
22
|
export {
|
|
23
23
|
GanttChart
|
|
@@ -3,13 +3,16 @@ import {
|
|
|
3
3
|
HIGHLIGHT_KEY,
|
|
4
4
|
SECONDARY_FULL_DOMAIN,
|
|
5
5
|
layoutCombo
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DDCB7ZA5.js";
|
|
7
7
|
import {
|
|
8
8
|
FORCE_CATEGORY_RANKS
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QO6HEXIZ.js";
|
|
10
10
|
import {
|
|
11
11
|
structureCount
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LFX7W4B7.js";
|
|
13
|
+
import {
|
|
14
|
+
emptyIdRecord
|
|
15
|
+
} from "./chunk-LINZPU5D.js";
|
|
13
16
|
import {
|
|
14
17
|
CARD_CLASS_WIDTH,
|
|
15
18
|
CATEGORY_ROW_FROM_END,
|
|
@@ -17,21 +20,21 @@ import {
|
|
|
17
20
|
chartSizing,
|
|
18
21
|
crowdedTailCut,
|
|
19
22
|
valueAxisTitleText
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RL3NUWMY.js";
|
|
21
24
|
import {
|
|
22
25
|
authoredNotes,
|
|
23
26
|
legendRequired,
|
|
24
27
|
withAuthoredFootnotes
|
|
25
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-SS42FJVN.js";
|
|
26
29
|
import {
|
|
27
30
|
disclosureNote,
|
|
28
31
|
keepShownNotes,
|
|
29
32
|
rankKeyShown
|
|
30
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BPKXEMRE.js";
|
|
31
34
|
import {
|
|
32
35
|
formatterFromExample,
|
|
33
36
|
seriesRasterFormatter
|
|
34
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-RGZGLKFB.js";
|
|
35
38
|
import {
|
|
36
39
|
authoredDecimals,
|
|
37
40
|
autoDecimals,
|
|
@@ -40,14 +43,14 @@ import {
|
|
|
40
43
|
currencyWholeNumbers,
|
|
41
44
|
formatAutomaticNumber,
|
|
42
45
|
formatAutomaticPercent
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-53OYF4ZT.js";
|
|
44
47
|
import {
|
|
45
48
|
isPctCell
|
|
46
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-O3VN6BTL.js";
|
|
47
50
|
import {
|
|
48
51
|
paintTokenColor,
|
|
49
52
|
resolveTheme
|
|
50
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-CWDHCSL2.js";
|
|
51
54
|
import {
|
|
52
55
|
NormalizeError,
|
|
53
56
|
TARGET_SIZE,
|
|
@@ -264,10 +267,10 @@ function layoutPareto(data, options = {}) {
|
|
|
264
267
|
`the plotted values sum to ${total}; every cumulative share would be 0/0`,
|
|
265
268
|
"a Pareto needs at least one positive value"
|
|
266
269
|
);
|
|
267
|
-
let order = plotted.map((p) => p.id), values =
|
|
270
|
+
let order = plotted.map((p) => p.id), values = emptyIdRecord(), cumulative = emptyIdRecord(), cumulativeShare = emptyIdRecord(), running = 0, cumSeries = [];
|
|
268
271
|
for (let p of plotted)
|
|
269
272
|
running += p.value, values[p.id] = p.value, cumulative[p.id] = running, cumulativeShare[p.id] = running / total * 100, cumSeries.push(running);
|
|
270
|
-
let populationOrder = ranked.map((r) => r.id), populationShare =
|
|
273
|
+
let populationOrder = ranked.map((r) => r.id), populationShare = emptyIdRecord(), populationValue = emptyIdRecord(), popRunning = 0;
|
|
271
274
|
for (let r of ranked)
|
|
272
275
|
popRunning += r.value, populationShare[r.id] = popRunning / total * 100, populationValue[r.id] = r.value;
|
|
273
276
|
let crossIdx = -1;
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
withoutLeadingZero,
|
|
30
30
|
wordLanguage,
|
|
31
31
|
zeroLifts
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-53OYF4ZT.js";
|
|
33
33
|
import {
|
|
34
34
|
NormalizeError
|
|
35
35
|
} from "./chunk-SGD3ZHID.js";
|
|
@@ -87,9 +87,9 @@ function parseFormatExample(example, keepWord = !1) {
|
|
|
87
87
|
}, hasParens = /[()]/.test(s), bodyMatch = numericBody(s);
|
|
88
88
|
if (!bodyMatch)
|
|
89
89
|
throw new NormalizeError("invalid-format", "format", "invalid-format-example: format examples must contain at least one digit", "write an example number as it should print, e.g. '1,234' or '12.5%'");
|
|
90
|
-
let body = bodyMatch.text.
|
|
90
|
+
let body = bodyMatch.text.trimEnd(), before = s.slice(0, bodyMatch.index), after = s.slice(bodyMatch.index + body.length);
|
|
91
91
|
if (hasParens) {
|
|
92
|
-
let open = before.lastIndexOf("("), close = after.indexOf(")"), pairs = (text) => /^[^()]*(?:\([^()]*\)[^()]*)*$/.test(text), accounting = open >= 0 && close >= 0 && !before.slice(open).includes(")") && !after.slice(0, close).includes("("), outside = (before.slice(0, open) + after.slice(close + 1)).replace(/(
|
|
92
|
+
let open = before.lastIndexOf("("), close = after.indexOf(")"), pairs = (text) => /^[^()]*(?:\([^()]*\)[^()]*)*$/.test(text), accounting = open >= 0 && close >= 0 && !before.slice(open).includes(")") && !after.slice(0, close).includes("("), outside = (before.slice(0, open) + after.slice(close + 1)).replace(/[0-9]+/g, (run, at, text) => /\p{L}$/u.test(text.slice(Math.max(0, at - 2), at)) || /^\p{L}/u.test(text.slice(at + run.length, at + run.length + 2)) ? "" : run);
|
|
93
93
|
if (accounting ? /[()0-9]/.test(outside) : !pairs(before) || !pairs(after))
|
|
94
94
|
throw new NormalizeError("invalid-format", "format", "invalid-format-example: parentheses must enclose one example number and its units, or sit beside it as balanced text", "write an example number as it should print, e.g. '($1,234)' for negatives in parentheses or '1,234 (kg)' for a unit");
|
|
95
95
|
accounting && !/[=:]/.test(before.slice(open)) && (spec.negative = "parens", before = before.slice(0, open) + before.slice(open + 1), after = after.slice(0, close) + after.slice(close + 1));
|
|
@@ -572,7 +572,7 @@ function seriesRasterFormatter(example, values, locale, unit, target, defaultExa
|
|
|
572
572
|
let wholeFrom = !defaultExample && unitMagnitude(series.unit) ? 100 : void 0, currencyWhole = currencyWholeNumbers(series.unit, target), unscaled = autoMagnitude && unitMagnitude(series.unit) !== void 0, base = example || series.unit === void 0 || wholeFrom === spec.wholeFrom && currencyWhole === !!spec.currencyWhole && !unscaled ? spec : { ...unscaled ? { ...spec, magnitude: "none", autoMagnitude: void 0, rollMagnitude: void 0 } : spec, wholeFrom, currencyWhole }, own = ownPrecision(series, base);
|
|
573
573
|
return formatter = own === spec ? fmt : (value) => face(value, own), seriesFormatters.set(series, formatter), formatter;
|
|
574
574
|
};
|
|
575
|
-
return { spec, fmt, fmtSigned, fmtPercent, forSeries, roundsToZeroAt: (value, series = {}, cellFormat) => {
|
|
575
|
+
return { spec, fmt, fmtSigned, fmtPercent, percentSpec: example ? spec : percentSpec, forSeries, roundsToZeroAt: (value, series = {}, cellFormat) => {
|
|
576
576
|
if (example || cellFormat || series.format) {
|
|
577
577
|
let formatter = forSeries(series, cellFormat);
|
|
578
578
|
return formatter(value) === formatter(0);
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
withDensityNotes,
|
|
51
51
|
withHiddenLabelNote,
|
|
52
52
|
withNoteInA11y
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-SS42FJVN.js";
|
|
54
54
|
import {
|
|
55
55
|
COMPACT_OMITTED_NOTES,
|
|
56
56
|
copyFrame,
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
rankKeyShown,
|
|
62
62
|
staticFrame,
|
|
63
63
|
withEngineNotes
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-BPKXEMRE.js";
|
|
65
65
|
import {
|
|
66
66
|
DATE_NAME_LANGUAGES,
|
|
67
67
|
dateNames
|
|
@@ -76,7 +76,7 @@ import {
|
|
|
76
76
|
formatWithSpec,
|
|
77
77
|
neededDecimals,
|
|
78
78
|
parseISODate
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-RGZGLKFB.js";
|
|
80
80
|
import {
|
|
81
81
|
AUTO_MAX_DECIMALS,
|
|
82
82
|
chartString,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
withNumberMarks,
|
|
87
87
|
withSmallValues,
|
|
88
88
|
wordLanguage
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-53OYF4ZT.js";
|
|
90
90
|
import {
|
|
91
91
|
GRAMMAR_STROKE,
|
|
92
92
|
REMOVED_NAMES,
|
|
@@ -112,10 +112,10 @@ import {
|
|
|
112
112
|
textSizeOf,
|
|
113
113
|
typeWidthClass,
|
|
114
114
|
withoutOrphanAnnotationMarks
|
|
115
|
-
} from "./chunk-
|
|
115
|
+
} from "./chunk-CWDHCSL2.js";
|
|
116
116
|
import {
|
|
117
117
|
loadedDeferred
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-HA4IPWMM.js";
|
|
119
119
|
import {
|
|
120
120
|
addWhereAbsent
|
|
121
121
|
} from "./chunk-ZQ4VFQID.js";
|
|
@@ -141,7 +141,7 @@ import {
|
|
|
141
141
|
defaultMeasurer,
|
|
142
142
|
measureText,
|
|
143
143
|
wrapText
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
145
145
|
|
|
146
146
|
// src/core/themeDensity.ts
|
|
147
147
|
var COMPACT_SPACE_RATIO = 22 / 27, LABEL_PAD = { min: 1, max: 16 }, TIER_FACET = { min: 4, max: 64 }, LEGEND_ROW = { min: 12, max: 28 }, GAP = { min: 0, max: 32 }, CANVAS = { min: 0, max: 96 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
valueBandsSchema
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QSXK6PJL.js";
|
|
4
4
|
import {
|
|
5
5
|
heatOptionsWithoutEffect
|
|
6
6
|
} from "./chunk-ZF43WRG3.js";
|
|
@@ -10,8 +10,9 @@ import {
|
|
|
10
10
|
baseOptionsSchema,
|
|
11
11
|
boundedNumber,
|
|
12
12
|
formatExample,
|
|
13
|
+
idRecord,
|
|
13
14
|
refusedBaseOptions
|
|
14
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2V6CLH33.js";
|
|
15
16
|
import {
|
|
16
17
|
BADGE_SECTION_ONLY,
|
|
17
18
|
BADGE_TEXT_EMPTY,
|
|
@@ -153,7 +154,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
153
154
|
text: z.string().trim().min(1, BADGE_TEXT_EMPTY).describe("Text."),
|
|
154
155
|
tone: z.enum(["good", "warn", "bad", "neutral"]).optional().describe("Default neutral.")
|
|
155
156
|
}).optional().describe("Section chip. Refused on other rows."),
|
|
156
|
-
cells:
|
|
157
|
+
cells: idRecord(idSchema.describe("Column id for this cell."), cellSchema).optional().describe("Cells by column id; computed columns and calc rows use their calculation."),
|
|
157
158
|
children: z.array(rowSchema).optional().describe("Child rows; normalized to parentId.")
|
|
158
159
|
}).describe("One authored table row and optional descendants.").refine((row) => row.inline !== !0 || row.relation === "displayOnly" || row.kind === "result" || row.kind === "driver", {
|
|
159
160
|
message: "inline requires relation 'displayOnly': a line printed inside its parent's cell must never be summed into it",
|
|
@@ -173,7 +174,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
173
174
|
}).describe("One control showing or hiding a group of columns.")
|
|
174
175
|
).optional().describe("Column toggle groups. Every member must exist, belong to one toggle, and stay inside one columnGroup."),
|
|
175
176
|
columns: z.array(columnSchema).min(1).describe("Display order; exactly one rowLabel column."),
|
|
176
|
-
rows: z.array(rowSchema).min(1).describe("Row hierarchy; totalPosition determines resolved display order."),
|
|
177
|
+
rows: z.array(rowSchema).min(1).describe("Row hierarchy; totalPosition determines resolved display order. Rows: optional label,id; each value, text, status or date column reads the source field named like its id."),
|
|
177
178
|
levelNouns: z.array(
|
|
178
179
|
z.strictObject({
|
|
179
180
|
one: z.string().min(1).describe('Singular noun, e.g. "market".'),
|
|
@@ -222,7 +223,7 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
222
223
|
driverTones: z.enum(["grouped", "always", "never"]).optional().describe("Driver tones. 'grouped' (default): drivers with a parentId whose parent is not a section heading do, as statement lines do. 'always': every driver. 'never': driver ink only, as before 0.28. Neutral figures and labels keep the driver ink."),
|
|
223
224
|
judgements: z.enum(["all", "exceptions"]).optional().describe("Which tones show. exceptions: strong good and bad only."),
|
|
224
225
|
variant: z.enum(["steering", "benchmark", "status", "receipts", "hierarchy"]).optional().describe("Variant defaults only; no variant changes what a cell accepts. Default 'hierarchy'. 'steering': total on top, no group band. 'benchmark': strong row labels, no group band. 'status': square status chips. 'receipts': dates align right. A status cell, in any variant, takes a status-column key; for free status text use a text column with a cell tone."),
|
|
225
|
-
encodings:
|
|
226
|
+
encodings: idRecord(
|
|
226
227
|
idSchema,
|
|
227
228
|
z.union([
|
|
228
229
|
z.literal("polarityBadge").describe("Tinted polarity badge behind a signed value."),
|
|
@@ -266,8 +267,8 @@ var idSchema = z.string().min(1).describe("Nonempty reference id."), calcRefSche
|
|
|
266
267
|
expanded: z.array(idSchema).optional().describe("Row-id overrides applied last; they win over collapsed."),
|
|
267
268
|
rootsHidden: z.boolean().optional().describe("Hide level-0 data rows and subtrees. The totals and the section headings stay: this is the totals-only step of a depth control, which collapsing a parent cannot reach, because a collapsed parent still draws its own row.")
|
|
268
269
|
}).optional().describe("Expansion order: depth, collapsed, expanded."),
|
|
269
|
-
columnVisibility:
|
|
270
|
-
inlineVisibility:
|
|
270
|
+
columnVisibility: idRecord(idSchema.describe("Column-toggle group id."), z.boolean().describe("True shows the group; false hides it.")).optional().describe("Visibility by column-toggle id."),
|
|
271
|
+
inlineVisibility: idRecord(idSchema.describe("Inline-line group id."), z.boolean().describe("True shows the lines of that group; false hides them.")).optional().describe("Visibility by inlineGroup. An absent group is visible, so a Changes control hides every MoM line of a table with one entry."),
|
|
271
272
|
magnitude: z.enum(["auto", "thousand", "million"]).optional().describe("Money scale for all rows and columns. 'thousand' prints whole thousands, 'million' keeps the example's decimals, and no column rolls up on its own. The scale letter leaves the cells and hoists to the frame, the column header or, where the format sits on the row, the row label. 'auto' (the default) lets each column and money row pick from its own largest value."),
|
|
272
273
|
foldOn: z.enum(["row", "toggle"]).optional().describe("React only. What folds a parent row. 'row': a click on the row folds it, and selects it too where the host made it selectable. 'toggle': only the fold mark folds; a row click only selects. Default: 'toggle' for a selectable row, else 'row'. Enter and Space follow the click."),
|
|
273
274
|
groupGround: z.enum(["expanded", "always", "none"]).optional().describe("Group row ground. 'expanded' (default): only an open group's header row. 'always': folded or open, as before 0.28. 'none': no group ground. The Total keeps its ground. Absent: theme table.groupGround."),
|
|
@@ -36,10 +36,10 @@ import {
|
|
|
36
36
|
sectionChipFloor,
|
|
37
37
|
tableFonts,
|
|
38
38
|
wrapFloorWidth
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-V6O6KVOA.js";
|
|
40
40
|
import {
|
|
41
41
|
toneTextPaint
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-4UVW5WU6.js";
|
|
43
43
|
import {
|
|
44
44
|
operatorWidth,
|
|
45
45
|
qualifierFont
|
|
@@ -47,11 +47,14 @@ import {
|
|
|
47
47
|
import {
|
|
48
48
|
bandFor
|
|
49
49
|
} from "./chunk-263SZKIL.js";
|
|
50
|
+
import {
|
|
51
|
+
emptyIdRecord
|
|
52
|
+
} from "./chunk-LINZPU5D.js";
|
|
50
53
|
import {
|
|
51
54
|
chartSizing,
|
|
52
55
|
fitsSize,
|
|
53
56
|
resolveSizing
|
|
54
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RL3NUWMY.js";
|
|
55
58
|
import {
|
|
56
59
|
clamp,
|
|
57
60
|
datePatternFromExample,
|
|
@@ -59,12 +62,12 @@ import {
|
|
|
59
62
|
isNumberAlone,
|
|
60
63
|
numericVariant,
|
|
61
64
|
unitPrinted
|
|
62
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-SS42FJVN.js";
|
|
63
66
|
import {
|
|
64
67
|
disclosureNote,
|
|
65
68
|
disclosuresShown,
|
|
66
69
|
footerType
|
|
67
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-BPKXEMRE.js";
|
|
68
71
|
import {
|
|
69
72
|
AUTOMATIC_FORMAT,
|
|
70
73
|
MAGNITUDE_DIVISOR,
|
|
@@ -79,7 +82,7 @@ import {
|
|
|
79
82
|
specUnitKind,
|
|
80
83
|
unitOfSpec,
|
|
81
84
|
withChartMarks
|
|
82
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-RGZGLKFB.js";
|
|
83
86
|
import {
|
|
84
87
|
MINUS,
|
|
85
88
|
chartNumberMarks,
|
|
@@ -91,7 +94,7 @@ import {
|
|
|
91
94
|
typicalDecimals,
|
|
92
95
|
withSmallValues,
|
|
93
96
|
zeroLifts
|
|
94
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-53OYF4ZT.js";
|
|
95
98
|
import {
|
|
96
99
|
canvasMargin,
|
|
97
100
|
contrastInkPaint,
|
|
@@ -107,7 +110,7 @@ import {
|
|
|
107
110
|
tableEmphasis,
|
|
108
111
|
tableHeadFloorPx,
|
|
109
112
|
textScaleOf
|
|
110
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-CWDHCSL2.js";
|
|
111
114
|
import {
|
|
112
115
|
DEFAULT_TARGET,
|
|
113
116
|
NormalizeError,
|
|
@@ -126,7 +129,7 @@ import {
|
|
|
126
129
|
} from "./chunk-WYJEOMNY.js";
|
|
127
130
|
import {
|
|
128
131
|
twoLineWidth
|
|
129
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
130
133
|
|
|
131
134
|
// src/core/charts/table/ladder.ts
|
|
132
135
|
var COHORT_GRID = {
|
|
@@ -1161,7 +1164,7 @@ function resolveTableIn(data, options, magnitudeSource) {
|
|
|
1161
1164
|
return driverToneMode !== "grouped" ? driverToneMode === "always" : row.parentId !== null && flatById.get(row.parentId)?.role !== "section";
|
|
1162
1165
|
}
|
|
1163
1166
|
let resolvedRows = flat.map((row) => {
|
|
1164
|
-
let cells =
|
|
1167
|
+
let cells = emptyIdRecord();
|
|
1165
1168
|
for (let col of columns)
|
|
1166
1169
|
cells[col.id] = resolveCell(row, col);
|
|
1167
1170
|
let hasChildren = (treeChildrenOf.get(row.id) ?? []).length > 0;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutHeatmap
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MYMT5KJL.js";
|
|
4
4
|
import {
|
|
5
5
|
calendarCategories,
|
|
6
6
|
chartSizing
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-RL3NUWMY.js";
|
|
8
8
|
import {
|
|
9
9
|
prepareFractionData
|
|
10
10
|
} from "./chunk-3EZRM4YM.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-H4H4O62O.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YG5GUELW.js";
|
|
12
12
|
import {
|
|
13
13
|
cohortCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CRNMNZJD.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DOFYKPTC.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/cohort.ts
|
|
20
20
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 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, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, interactive: 0, annotations: sharedKeys9, basis: 0, averages: 0, methodNote: 0, variant: 0, formatScope: 0, steps: 0, visiblePeriods: 0, cohortSizeLabel: 0, showPercentSign: 0, threshold: 0, designatedPeriod: 0, total: 0, excludeCurrentPeriod: 0, exhibitLabel: 0 }, labels: ["category", "series", "point"] }), CohortChart = createChartComponent(registeredType(cohortCore), checkOptionKeys);
|
|
@@ -3,38 +3,41 @@ import {
|
|
|
3
3
|
} from "./chunk-M4YLED7M.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutButterfly
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VTEV3WVF.js";
|
|
7
7
|
import {
|
|
8
8
|
structureCount
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LFX7W4B7.js";
|
|
10
|
+
import {
|
|
11
|
+
emptyIdRecord
|
|
12
|
+
} from "./chunk-LINZPU5D.js";
|
|
10
13
|
import {
|
|
11
14
|
chartSizing
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RL3NUWMY.js";
|
|
13
16
|
import {
|
|
14
17
|
authoredNotes,
|
|
15
18
|
withAuthoredFootnotes
|
|
16
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SS42FJVN.js";
|
|
17
20
|
import {
|
|
18
21
|
disclosureNote,
|
|
19
22
|
keepShownNotes
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BPKXEMRE.js";
|
|
21
24
|
import {
|
|
22
25
|
formatterFromExample,
|
|
23
26
|
seriesRasterFormatter
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-RGZGLKFB.js";
|
|
25
28
|
import {
|
|
26
29
|
chartStrings,
|
|
27
30
|
formatAutomaticPercent
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-53OYF4ZT.js";
|
|
29
32
|
import {
|
|
30
33
|
isPctCell
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-O3VN6BTL.js";
|
|
32
35
|
import {
|
|
33
36
|
panelTypeClass,
|
|
34
37
|
resolveTheme,
|
|
35
38
|
strokeToken,
|
|
36
39
|
themeForWidth
|
|
37
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-CWDHCSL2.js";
|
|
38
41
|
import {
|
|
39
42
|
NormalizeError,
|
|
40
43
|
TARGET_SIZE,
|
|
@@ -145,7 +148,7 @@ function layoutPyramid(data, options = {}) {
|
|
|
145
148
|
let counts = [
|
|
146
149
|
readValues(groups[0], 0, bands),
|
|
147
150
|
readValues(groups[1], 1, bands)
|
|
148
|
-
], values =
|
|
151
|
+
], values = emptyIdRecord(), ratio = emptyIdRecord(), totals = { [groupIds[0]]: 0, [groupIds[1]]: 0 };
|
|
149
152
|
bands.forEach((band, i) => {
|
|
150
153
|
let a = counts[0][i], b = counts[1][i];
|
|
151
154
|
values[band.id] = { [groupIds[0]]: a, [groupIds[1]]: b }, ratio[band.id] = b === 0 ? null : a / b, totals[groupIds[0]] = totals[groupIds[0]] + a, totals[groupIds[1]] = totals[groupIds[1]] + b;
|
|
@@ -159,7 +162,7 @@ function layoutPyramid(data, options = {}) {
|
|
|
159
162
|
`both groups sum to ${grandTotal} across every band, so every share would be 0/0`,
|
|
160
163
|
"supply at least one positive count, or use basis: 'count'"
|
|
161
164
|
);
|
|
162
|
-
shares =
|
|
165
|
+
shares = emptyIdRecord();
|
|
163
166
|
for (let band of bands)
|
|
164
167
|
shares[band.id] = {
|
|
165
168
|
[groupIds[0]]: values[band.id][groupIds[0]] / grandTotal * 100,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tableOptionsObject
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-S6UX7KB6.js";
|
|
4
4
|
import {
|
|
5
5
|
valueBandsSchema
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QSXK6PJL.js";
|
|
7
7
|
import {
|
|
8
8
|
formatExample,
|
|
9
|
+
idRecord,
|
|
9
10
|
refusedBaseOptions
|
|
10
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2V6CLH33.js";
|
|
11
12
|
|
|
12
13
|
// src/core/charts/dimswitch/schema.ts
|
|
13
14
|
import * as z from "zod";
|
|
@@ -21,10 +22,10 @@ var id = z.string().min(1).describe("Stable id or display label."), expression =
|
|
|
21
22
|
z.strictObject({ measure: id.describe("Driver measure id; its value may use Total operands.") }),
|
|
22
23
|
z.number().finite().describe("Constant."),
|
|
23
24
|
z.strictObject({ op: z.enum(["add", "sub", "mul", "div"]).describe("Arithmetic over driver measure values."), a: driverExpression, b: driverExpression, factor: z.number().finite().optional().describe("Multiplier of the result.") })
|
|
24
|
-
])).describe("Driver formula over measure references and constants only."), sums =
|
|
25
|
+
])).describe("Driver formula over measure references and constants only."), sums = idRecord(id, z.number().finite().nullable().describe("Additive sum, or null for a missing value.")).describe("Sums by field: an absent field drops its measures, null is missing, 0 is data. Absent means absent from every fact of the member."), measureRefs = (e) => typeof e == "number" || "field" in e ? [] : "measure" in e ? [e.measure] : "total" in e ? measureRefs(e.total) : [...measureRefs(e.a), ...measureRefs(e.b)], judgeBase = z.union([id, z.tuple([id], id).refine((v) => new Set(v).size === v.length, { message: "Sample base fields must be unique." })]).describe("One field or a nonempty list of unique fields. All listed fields must meet their own minimumSample floor in every required member and Total window."), thresholdPair = z.tuple([z.number().finite().nonnegative(), z.number().finite().nonnegative()]).refine((v) => v[0] <= v[1], { message: "Thresholds must satisfy 0 <= first <= second." }), thresholdFamilies = { volume: thresholdPair.optional().describe("Relative percent change thresholds for volume; default [2,10]."), cost: thresholdPair.optional().describe("Relative percent change thresholds for cost; default [5,15], lower is better."), rate: thresholdPair.optional().describe("Relative percent change thresholds for rate; default [3,10]."), effect: thresholdPair.optional().describe("Effect thresholds in the statement unit. An explicit pair must resolve for each used comparison kind.") }, dimswitchDataSchema = z.strictObject({
|
|
25
26
|
dimension: z.strictObject({ label: id.describe("Dimension name, such as Channel. It heads the label column and the member section in by-member."), total: z.strictObject({ id: id.describe("Total member id in facts."), label: id.describe("Total row label."), heading: id.optional().describe("by-measure: section heading over the measures before the first group. Absent, the total label."), fields: z.array(id).optional().describe("Fields that apply even when the drawn windows hold only null.") }).describe("Source total member."), members: z.array(z.strictObject({ id, label: id, parentId: id.optional().describe("Parent member id; absent for a top-level member."), fields: z.array(id).optional().describe("Fields that apply even when the drawn windows hold only null.") })).describe("One hierarchy of dimension members."), headline: z.array(id).min(1).describe("Folded by-member row figure: the first measure id here that applies to the member."), sums: z.boolean().optional().describe("True derives parent and total sums from children (default false: supplied sums). True records differences from supplied sums; with false, members need not add up.") }).describe("One hierarchical dimension."),
|
|
26
27
|
measures: z.array(z.strictObject({ id, label: id, value: expression.optional().describe("Required, except on a subtotal (a measure that other measures name in partOf): absent, Boardplot adds up its parts with their signs."), scale: z.enum(["money", "perUnit", "count", "percent"]).optional().describe("Precision rule from the largest absolute Range or period value; changes do not count. Money and count take it over every member row of the measure, so the measure prints in one magnitude: a member at 210k under a 1.2M total prints 0.21M, not 210.0k. Per unit and percent take it per row. Money: k, M or B with one decimal at 1000 or more, else whole units; every member row prints at the precision of the measure: a nonzero figure below it prints the bound (<0.01M), an exact zero prints 0, and a count never gains decimals. Per unit: fractional values keep authored precision. Without a format, start whole at 10 or more, else one decimal, then raise precision for rounding error above 1%, up to 20 decimals. Integer-only rows keep those defaults. Money and per unit drop format affixes; put the currency in unit. Count and percent keep the format; defaults 1,234 and 1.2%. Scaled money and automatic count rows add decimals for rounding error above 1% of the largest value of the measure, up to 20; held whole thousands stay whole. Nonzero values never print as zero. Absent keeps the format."), bands: valueBandsSchema.optional().describe("Range and period value bands in original units; percent levels use percentage points. Select the first value <= to, or the last band above all bounds. Missing tone means neutral. Bands replace level change colours; judge still colours comparisons. Partial windows and failed sample floors stay neutral."), format: formatExample.optional().describe("Format example, such as 1.2% or 1,234; see scale."), unit: id.optional().describe("Unit after the KPI label, such as EUR. A % or pp unit beside a percent format is left out."), parentId: id.optional().describe("Split of this root measure: drawn under it only with splits on."), splitOf: id.optional().describe("Dual-role measure (a root with splits off, a split of this root with splits on). Cannot combine with parentId."), change: z.enum(["relative", "pp", "absolute"]).optional().describe("Change shown: relative percent (default); pp, the difference of percent levels; absolute, current minus reference in the measure format with a sign (statement lines: the changes then add up down the statement)."), judge: z.union([z.strictObject({ family: z.enum(["volume", "cost", "rate"]).describe("Threshold family (cost is lower-is-better)."), base: judgeBase }), z.strictObject({ family: z.literal("effect").describe("Effect on the statement result, in thresholds.effect units."), base: judgeBase.optional() })]).optional().describe("Judge the change against thresholds (unjudged money and count rows outside a statement draw bars)."), partOf: id.optional().describe("Statement: the subtotal line this measure adds up into (a measure id). The subtotal value is the signed sum of its parts unless it has its own value."), sign: z.literal(-1).optional().describe("Statement: the line subtracts (a cost authored as a positive amount). options.signs decides how it prints."), result: z.literal(!0).optional().describe("Statement: a result line. Its value names its lines, e.g. { op: 'sub', a: { measure: 'income' }, b: { measure: 'costs' } }. No sign, no partOf."), drivers: driverExpression.optional().describe("Statement: how this line follows from driver measures, as a formula over { measure } and numbers, e.g. (AOV - returns) x margin. The named measures are drivers: printed under the same subtotal (or their own partOf), never added, judged by their effect."), group: id.optional().describe("Group label. by-measure heads each group with a section row; by-member nests the group under a label row in every member block."), divider: z.literal(!0).optional().describe("The measure opens a family of KPIs: its rows take the rule above them."), inTotalBlock: z.boolean().optional().describe("false leaves the measure out of the total block in by-member; by-measure keeps its total row. Default true.") })).min(1).describe("KPI rows (a measure with parentId or splitOf is a split)."),
|
|
27
|
-
groupHeadings:
|
|
28
|
+
groupHeadings: idRecord(id, id).optional().describe("by-measure section heading per measure group label. Absent, the group label heads its section."),
|
|
28
29
|
effectLabel: id.optional().describe("Tag of a driver's effect in the cell hover text, such as Margin effect. Absent: no effect line. The line is hidden in the cell (inlineVisibility effect false) and shows in the hover."),
|
|
29
30
|
changeLabel: id.optional().describe("Tag of the change line under each period value, such as WoW; it also opens the hover text of the cell."),
|
|
30
31
|
periods: z.array(z.strictObject({ id, label: id.describe("Column head (prior or plan: head of the comparison column, such as vs prior or vs plan)."), subLabel: id.optional().describe("Second head line, such as W38 or dates."), partial: z.boolean().optional().describe("Cut or running window (muted, never judged). Its ref covers the same days one period earlier."), kind: z.enum(["range", "prior", "plan"]).optional().describe("Block role: range is the selection, prior the window of equal length before it. plan adds the Range vs-plan column (pl), without prorating. Absent for a displayed period.") })).min(3).describe("One range, one prior, zero or one plan, then at least one displayed period in order. The host owns dates and reference windows."),
|
|
@@ -80,7 +81,7 @@ var id = z.string().min(1).describe("Stable id or display label."), expression =
|
|
|
80
81
|
show: z.enum(["always", "withData"]).optional().describe("withData hides a member only when every field of every measure that applies to it is zero or empty in Range; a member with any value there stays, because it still counts in the Total. Its child members hide with it."),
|
|
81
82
|
thresholds: z.strictObject({ ...thresholdFamilies, period: z.strictObject(thresholdFamilies).optional().describe("Family overrides for displayed-period changes. Unset families use the family setting or default."), prior: z.strictObject(thresholdFamilies).optional().describe("Family overrides for pp, the Range vs-prior column."), plan: z.strictObject(thresholdFamilies).optional().describe("Family overrides for pl, the Range vs-plan column.") }).optional().describe("Change thresholds, separate from value bands. Resolve each family: kind override, family setting, default (volume [2,10], cost [5,15], rate [3,10]). period controls displayed changes, prior controls pp, plan controls pl. Cost is lower-is-better; pp changes use relative levels. Effect needs an explicit pair for each used kind. Pairs satisfy 0 <= first <= second."),
|
|
82
83
|
widths: z.strictObject({ label: z.number().positive().optional().describe("Width of the whole label track in px, indent and affix included. It stays fixed when the frame has room. Absent, the label text adds up to 320 px, indent and affix on top; wider content lets labels use the room."), range: z.number().positive().optional().describe("Range track in px; default 110."), change: z.number().positive().optional().describe("Change track in px; default 92."), period: z.number().positive().optional().describe("Track of each period in px; default 94.") }).optional().describe("Fixed track widths of the value columns."),
|
|
83
|
-
minimumSample:
|
|
84
|
+
minimumSample: idRecord(id, z.number().nonnegative()).optional().describe("Minimum judge base per sum field in BOTH windows (below it: neutral). Default none.")
|
|
84
85
|
});
|
|
85
86
|
|
|
86
87
|
export {
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
staticFrame,
|
|
22
22
|
valueNote,
|
|
23
23
|
wrapFootnote
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BPKXEMRE.js";
|
|
25
25
|
import {
|
|
26
26
|
ENGINE_REV
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-X6SUFTD7.js";
|
|
28
28
|
import {
|
|
29
29
|
dateNames
|
|
30
30
|
} from "./chunk-QBR6IKIX.js";
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
parseFormatExample,
|
|
33
33
|
parseISODate,
|
|
34
34
|
unitOfSpec
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-RGZGLKFB.js";
|
|
36
36
|
import {
|
|
37
37
|
chartString,
|
|
38
38
|
chartStrings,
|
|
39
39
|
currencySign,
|
|
40
40
|
localeStrings,
|
|
41
41
|
withLocaleStrings
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-53OYF4ZT.js";
|
|
43
43
|
import {
|
|
44
44
|
cellValue
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-O3VN6BTL.js";
|
|
46
46
|
import {
|
|
47
47
|
LABEL_PLATE_RADIUS,
|
|
48
48
|
PLAN_MUTED_PAINT,
|
|
@@ -89,7 +89,7 @@ import {
|
|
|
89
89
|
textScaleOf,
|
|
90
90
|
textSizeOf,
|
|
91
91
|
visibleTintAmount
|
|
92
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-CWDHCSL2.js";
|
|
93
93
|
import {
|
|
94
94
|
COLOR_FIX,
|
|
95
95
|
FILL_SEPARATION_FLOOR,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
parseColor,
|
|
104
104
|
pickInk,
|
|
105
105
|
readsAsLoss
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-HA4IPWMM.js";
|
|
107
107
|
import {
|
|
108
108
|
DEFAULT_TARGET,
|
|
109
109
|
NormalizeError,
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
ellipsize,
|
|
124
124
|
hasAuthoredTypeSize,
|
|
125
125
|
wrapText
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
127
127
|
|
|
128
128
|
// src/core/geometry.ts
|
|
129
129
|
function rectsOverlap(a, b, pad = 0) {
|
|
@@ -823,7 +823,7 @@ function solveLabelPass(requests, occupied, ctx) {
|
|
|
823
823
|
value = "hard";
|
|
824
824
|
else {
|
|
825
825
|
let sawLabel = !1;
|
|
826
|
-
anyHit(occupied, rect, padding, (o) => o.kind === "annotation" && selfAnn && o.owner.annotationId === selfAnn || overRules && o.part === "referenceLine" || overLegend && o.kind === "legend" || o.kind === "mark" && (isOwnMark(o.owner, req.owner, req.kind, o.part) || overColumns && isColumnPart(o.part) && rectContains(o.rect, rect, 0)) || o.kind === "mark" && o.part === AREA_FILL_PART && req.candidates[index].onFill?.seriesId === o.owner.seriesId || req.ownStrokeClear && o.kind === "mark" && (o.part === void 0 || o.part === AREA_FILL_PART) && !o.polygon && o.owner.seriesId === req.owner.seriesId && !rectsOverlap(o.rect, rect) || o.kind === "mark" && req.owner.seriesId !== void 0 && o.owner.seriesId === req.owner.seriesId && req.candidates[index].slot.startsWith("inside") && (req.candidates[index].slot.startsWith("insideBand") || !rectsOverlap(o.rect, rect, 0)) || o.kind === "mark" && o.part === AREA_FILL_PART && (req.candidates[index].slot.startsWith("insideBand") || req.candidates[index].insideFill !== void 0) ? !1 : o.kind === "label" ? (sawLabel = !0, !1) : !0) ? value = "hard" : sawLabel && (value = "label"), value !== "hard" && inTickColumn(rect, req.candidates[index].tickAir) && (value = "hard");
|
|
826
|
+
anyHit(occupied, rect, padding, (o) => o.kind === "annotation" && selfAnn && o.owner.annotationId === selfAnn || overRules && (o.part === "referenceLine" || o.part === CROSSABLE_RULE_PART) || overLegend && o.kind === "legend" || o.kind === "mark" && (isOwnMark(o.owner, req.owner, req.kind, o.part) || overColumns && isColumnPart(o.part) && rectContains(o.rect, rect, 0)) || o.kind === "mark" && o.part === AREA_FILL_PART && req.candidates[index].onFill?.seriesId === o.owner.seriesId || req.ownStrokeClear && o.kind === "mark" && (o.part === void 0 || o.part === AREA_FILL_PART) && !o.polygon && o.owner.seriesId === req.owner.seriesId && !rectsOverlap(o.rect, rect) || o.kind === "mark" && req.owner.seriesId !== void 0 && o.owner.seriesId === req.owner.seriesId && req.candidates[index].slot.startsWith("inside") && (req.candidates[index].slot.startsWith("insideBand") || !rectsOverlap(o.rect, rect, 0)) || o.kind === "mark" && o.part === AREA_FILL_PART && (req.candidates[index].slot.startsWith("insideBand") || req.candidates[index].insideFill !== void 0) ? !1 : o.kind === "label" ? (sawLabel = !0, !1) : !0) ? value = "hard" : sawLabel && (value = "label"), value !== "hard" && inTickColumn(rect, req.candidates[index].tickAir) && (value = "hard");
|
|
827
827
|
let tickAir = req.candidates[index].tickAir;
|
|
828
828
|
value !== "hard" && tickAir && anyHit(occupied, rect, tickAir, (o) => o.kind === "axis" && o.rect.w > 2 && o.rect.h > 2) && (value = "hard"), value === "free" && onLeader(rect, padding) && (value = "label"), value === "free" && pinOf(req) !== req.candidates[index].slot && crowdsSeriesValue(req.candidates[index]) && (value = "label");
|
|
829
829
|
}
|
|
@@ -1075,7 +1075,7 @@ function withLiftLeaders(req, ownedPoint, runClear) {
|
|
|
1075
1075
|
});
|
|
1076
1076
|
return changed ? { ...req, candidates, ...req.leaderClear ? {} : { leaderClear: !0 } } : req;
|
|
1077
1077
|
}
|
|
1078
|
-
var LED_PENALTY = 100, LAST_RESORT_PENALTY = 200;
|
|
1078
|
+
var LED_PENALTY = 100, CROSSABLE_RULE_PART = "crossableRule", LAST_RESORT_PENALTY = 200;
|
|
1079
1079
|
function withOwnedSeats(requests, model, pinOf) {
|
|
1080
1080
|
return requests.map((req) => {
|
|
1081
1081
|
if (req.kind !== "point" || req.owner.annotationId !== void 0 || req.rotate !== void 0) return req;
|
|
@@ -3769,6 +3769,7 @@ export {
|
|
|
3769
3769
|
labelCtx,
|
|
3770
3770
|
solveLabels,
|
|
3771
3771
|
leaderPieces,
|
|
3772
|
+
CROSSABLE_RULE_PART,
|
|
3772
3773
|
LAST_RESORT_PENALTY,
|
|
3773
3774
|
isOwnMark,
|
|
3774
3775
|
leaderTerminus,
|