boardplot 0.52.5 → 0.54.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 +58 -0
- package/README.md +13 -12
- package/dist/{ReaderBox-VUNSFKZY.js → ReaderBox-YXC5XK7D.js} +6 -5
- package/dist/{annotateEngine-H7OW4H3W.js → annotateEngine-5O3IRSQL.js} +3 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-ZSLGN6CO.js → chunk-23RWLBZF.js} +1 -1
- package/dist/{chunk-HAAUJDGB.js → chunk-24BHMKDD.js} +2 -2
- package/dist/{chunk-MDYLOIS2.js → chunk-26P4WRQC.js} +1 -1
- package/dist/{chunk-EWVKBRLV.js → chunk-2DR5MMDY.js} +2 -2
- package/dist/{chunk-3ZCKEANJ.js → chunk-2HXKW6U6.js} +3 -3
- package/dist/{chunk-GWQIXU37.js → chunk-2IXDYW6O.js} +30 -28
- package/dist/{chunk-OLNORNCT.js → chunk-2THWIKRB.js} +4 -4
- package/dist/{chunk-JRPI64AQ.js → chunk-32X7JGH3.js} +18 -15
- package/dist/{chunk-PUVGWJQ5.js → chunk-35ZTANEK.js} +4 -4
- package/dist/{chunk-FOKEGVPB.js → chunk-3CLLHMFF.js} +3 -3
- package/dist/{chunk-XYONCO5Q.js → chunk-3FNY7ZCG.js} +19 -16
- package/dist/{chunk-X7TXGKRX.js → chunk-3P4PJJND.js} +6 -6
- package/dist/{chunk-4DNOEV3Q.js → chunk-3RMTPAEJ.js} +79 -2
- package/dist/{chunk-NYEY6W5R.js → chunk-3UBTO342.js} +8 -8
- package/dist/{chunk-MCOIEWW6.js → chunk-3V7AA3IZ.js} +1 -1
- package/dist/{chunk-RJQ5YS3Q.js → chunk-43OQ26TL.js} +10 -6
- package/dist/{chunk-V422EKLW.js → chunk-46ZPFJAM.js} +3 -3
- package/dist/{chunk-W7UZXD5D.js → chunk-47BO6MYI.js} +18 -15
- package/dist/{chunk-5T5YW52S.js → chunk-4FFCIQDG.js} +1 -1
- package/dist/{chunk-KU4YS6HN.js → chunk-4MREJWRM.js} +1 -1
- package/dist/{chunk-IDTLHPTK.js → chunk-4TPHMIE5.js} +2 -2
- package/dist/{chunk-2MTWKMEG.js → chunk-4WK3CNW5.js} +13 -6
- package/dist/{chunk-ORUJI3VB.js → chunk-4WQ2MBE7.js} +1 -1
- package/dist/chunk-4ZGN4ZUN.js +164 -0
- package/dist/{chunk-YQ2B3YVF.js → chunk-53OYF4ZT.js} +1 -1
- package/dist/{chunk-JL5BRMDT.js → chunk-57ZGVAU3.js} +1 -1
- package/dist/{chunk-VYMGZ27S.js → chunk-5A6MO4AR.js} +3 -2
- package/dist/{chunk-WHSTEAVP.js → chunk-5PCCSSII.js} +1 -1
- package/dist/{chunk-Z256ACGC.js → chunk-5SJQOPL7.js} +2 -2
- package/dist/{chunk-RNOD2UWF.js → chunk-6BJQULXR.js} +12 -12
- package/dist/{chunk-2DHJJ2EN.js → chunk-6BWSF5PS.js} +3 -3
- package/dist/{chunk-CAE2HK2G.js → chunk-6I7YZTY7.js} +3 -11
- package/dist/{chunk-XW5J5JAX.js → chunk-6K2TMVPF.js} +2 -2
- package/dist/{chunk-IZ35GMGB.js → chunk-6NLH6TEP.js} +13 -10
- package/dist/{chunk-TTR7EWNH.js → chunk-6TJDWMZV.js} +4 -4
- package/dist/{chunk-KSYVTEKR.js → chunk-6ZXMA4TY.js} +3 -3
- package/dist/{chunk-OH7FA4TF.js → chunk-7EOLHBI6.js} +1 -1
- package/dist/{chunk-3W23F7EY.js → chunk-7EVIIADO.js} +1 -1
- package/dist/{chunk-EC2NAYPQ.js → chunk-7HFUG25L.js} +3 -3
- package/dist/{chunk-DLC23CKC.js → chunk-7JQAUJOL.js} +1 -1
- package/dist/{chunk-3I6RANBJ.js → chunk-7NWFKHSG.js} +36 -32
- package/dist/{chunk-RNXITK5M.js → chunk-7R5EV5MS.js} +3 -3
- package/dist/{chunk-ELYU6TRQ.js → chunk-7X3UZM7F.js} +1 -1
- package/dist/{chunk-UZF3G2FN.js → chunk-A5TY7H5T.js} +5 -5
- package/dist/{chunk-XEGRWWNO.js → chunk-AA4U62G6.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-35DZP2R2.js → chunk-AJHYXD5U.js} +2 -2
- package/dist/{chunk-TPYV2FTV.js → chunk-ATUZTGZI.js} +3 -3
- package/dist/{chunk-S53OGZL6.js → chunk-AVMKRVNP.js} +1 -1
- package/dist/{chunk-R3WI7ZLE.js → chunk-AZIRTSVP.js} +14 -11
- package/dist/{chunk-II7652VA.js → chunk-B3F4TS3V.js} +47 -20
- package/dist/{chunk-DCCJRLAJ.js → chunk-B6LHZLLK.js} +5 -0
- package/dist/{chunk-M6KTNAND.js → chunk-BRPOSOK5.js} +17 -11
- package/dist/{chunk-EQT3EPTB.js → chunk-BWTX7LUG.js} +1 -1
- package/dist/{chunk-BVWU6GOB.js → chunk-BXEM2CVW.js} +2 -2
- package/dist/{chunk-A7A4PDG5.js → chunk-BYD7VLAI.js} +3 -3
- package/dist/{chunk-JFG4DHKQ.js → chunk-C3O45JWU.js} +1 -1
- package/dist/{chunk-BKYMLFUG.js → chunk-C54QLNE4.js} +1 -1
- package/dist/{chunk-7JVAQX6C.js → chunk-CEY646NZ.js} +4 -4
- package/dist/{chunk-GZ4RHGIW.js → chunk-CICWSCLC.js} +19 -19
- package/dist/{chunk-QHFQHQDC.js → chunk-CPKHL7FK.js} +2 -2
- package/dist/{chunk-NXNQQ3DS.js → chunk-D3D7XHBI.js} +7 -14
- package/dist/{chunk-RSWVH7DB.js → chunk-D7GZPMHW.js} +3 -3
- package/dist/chunk-DAVHGK27.js +657 -0
- package/dist/{chunk-7VXZDB45.js → chunk-DDI2W4TR.js} +1 -1
- package/dist/{chunk-JLCAWQ3H.js → chunk-DHWCFQNO.js} +3 -3
- package/dist/{chunk-GQS46LC3.js → chunk-DSZUV3TM.js} +11 -3
- package/dist/{chunk-H57TJD3B.js → chunk-E42JZ2DA.js} +1 -1
- package/dist/{chunk-YTSSXSZR.js → chunk-E64MTTBC.js} +3 -3
- package/dist/{chunk-NT3HAZYT.js → chunk-EHDWWFNV.js} +1 -1
- package/dist/{chunk-FT3F72C3.js → chunk-EHVESNLV.js} +1 -1
- package/dist/{chunk-W2RGSGRR.js → chunk-ELPQZIGR.js} +13 -10
- package/dist/{chunk-7IFLQMJL.js → chunk-ENOCOA3F.js} +5 -4
- package/dist/{chunk-KPMGGE4W.js → chunk-EP54VZI5.js} +1 -1
- package/dist/{chunk-QG6MOQLI.js → chunk-EYLWVI26.js} +17 -14
- package/dist/{chunk-NEVSQGOI.js → chunk-EYZ6SLF3.js} +2 -2
- package/dist/{chunk-HFG76JTS.js → chunk-F35DA442.js} +3 -3
- package/dist/{chunk-A372DLQX.js → chunk-F7X53SZM.js} +3 -3
- package/dist/{chunk-PTVOXB5T.js → chunk-FHA3KMFC.js} +6 -2
- package/dist/{chunk-S4F27M7N.js → chunk-FILDYFT4.js} +2 -2
- package/dist/{chunk-WMJPFLF3.js → chunk-FMFCGYCE.js} +29 -25
- package/dist/{chunk-TPZB2YWR.js → chunk-FPPN5NAR.js} +2 -2
- package/dist/{chunk-5DJXJXDE.js → chunk-FV32N6AF.js} +1 -1
- package/dist/{chunk-MJMJEURO.js → chunk-G57ZO7DB.js} +10 -10
- package/dist/{chunk-WDUNR2VI.js → chunk-G63ROSY5.js} +22 -19
- package/dist/{chunk-V4VC25UL.js → chunk-G6XCUX3I.js} +4 -4
- package/dist/{chunk-JLZM7XMZ.js → chunk-GEBGBJBD.js} +14 -11
- package/dist/{chunk-FT47HQ5U.js → chunk-GGO43PHB.js} +4 -4
- package/dist/{chunk-XDLQRSSH.js → chunk-GSMWHKOW.js} +2 -2
- package/dist/{chunk-2JAWQ7VV.js → chunk-GVKFFJ23.js} +11 -10
- package/dist/{chunk-Q6XJOJTY.js → chunk-GYNZ72GO.js} +2 -2
- package/dist/{chunk-WRHFBCVY.js → chunk-H4SYN3QA.js} +3 -3
- package/dist/{chunk-MEISCROL.js → chunk-HC4NDND6.js} +3 -3
- package/dist/{chunk-I322G5UG.js → chunk-HDZGZJKR.js} +17 -14
- package/dist/{chunk-3GZECHOK.js → chunk-HGGLJYPZ.js} +12 -12
- package/dist/{chunk-B67K5X4M.js → chunk-HHS6333D.js} +1 -1
- package/dist/{chunk-6UBEGKIQ.js → chunk-HNVW3YDS.js} +3 -3
- package/dist/{chunk-GZ2VNM4L.js → chunk-HW7BPJNQ.js} +3 -3
- package/dist/{chunk-NG5IGZXC.js → chunk-HZG5NB7Q.js} +23 -20
- package/dist/{chunk-S7VDRUED.js → chunk-HZZH3MQI.js} +1 -1
- package/dist/{chunk-CS4DHFNG.js → chunk-I2E3YDNZ.js} +3 -3
- package/dist/{chunk-YAYRRKC7.js → chunk-I5L3QTKQ.js} +3 -3
- package/dist/{chunk-KYELSLDJ.js → chunk-IDT7DJ7F.js} +1 -1
- package/dist/{chunk-JETXFF3M.js → chunk-IK4BHOPZ.js} +1 -1
- package/dist/{chunk-GDQ3NGDZ.js → chunk-IM4WUIR7.js} +2 -2
- package/dist/chunk-IMJXJHFW.js +88 -0
- package/dist/{chunk-5C7TWNYZ.js → chunk-ISWU5YB3.js} +1 -1
- package/dist/{chunk-5KWXRYAT.js → chunk-J2ROMB7J.js} +17 -11
- package/dist/{chunk-WJMUMN3I.js → chunk-J33RA3YO.js} +2 -2
- package/dist/{chunk-627P6T25.js → chunk-JAKRPSWP.js} +21 -18
- package/dist/{chunk-PEN2DK7T.js → chunk-JB4YPOMT.js} +2 -2
- package/dist/{chunk-YP3I6W7T.js → chunk-JDEVGTSX.js} +3 -3
- package/dist/{chunk-JSX3C6LL.js → chunk-JEL6665C.js} +5 -5
- package/dist/{chunk-DFKTS6XJ.js → chunk-JEYJRJ7M.js} +1 -1
- package/dist/{chunk-JA755JHN.js → chunk-JJJ2KAHR.js} +10 -7
- package/dist/{chunk-SGSPYHFE.js → chunk-JTJNQKPM.js} +8 -5
- package/dist/{chunk-DGDOGOTQ.js → chunk-K2KU4HHT.js} +3 -3
- package/dist/{chunk-CRZKGHZ6.js → chunk-K4K6KGEF.js} +17 -19
- package/dist/{chunk-QVABTUDS.js → chunk-K4RCWNLC.js} +7 -7
- package/dist/{chunk-GULJ6KVT.js → chunk-KAQH75T6.js} +14 -14
- package/dist/{chunk-2UVTHU7A.js → chunk-KBFPMESI.js} +37 -27
- package/dist/{chunk-S5ADHIZK.js → chunk-KFWEO4UA.js} +28 -25
- package/dist/{chunk-MIXKQJ64.js → chunk-KJEZFOO6.js} +18 -18
- package/dist/{chunk-NLOMCLKI.js → chunk-KL2XJQAA.js} +8 -8
- package/dist/{chunk-2AKWCMS4.js → chunk-KNZD53L4.js} +3 -3
- package/dist/{chunk-DVKBU23L.js → chunk-KORHKDJW.js} +1 -1
- package/dist/{chunk-NMCOUVN5.js → chunk-KSQEG6DX.js} +3 -3
- package/dist/{chunk-TVHLKVUO.js → chunk-KVSJ2O4Q.js} +3 -3
- package/dist/{chunk-XTNV2YMB.js → chunk-L3JWM7FR.js} +1 -1
- package/dist/{chunk-IZCOG3FS.js → chunk-L7FSCT4M.js} +4 -4
- package/dist/{chunk-Z5VSLLNY.js → chunk-L7RHB734.js} +1 -1
- package/dist/{chunk-B2EBEXIS.js → chunk-LFX7W4B7.js} +1 -1
- package/dist/chunk-LINZPU5D.js +8 -0
- package/dist/{chunk-COKHNEJP.js → chunk-LMPZKCDM.js} +3 -3
- package/dist/{chunk-ZVTFZF4V.js → chunk-LTMF75MR.js} +8 -8
- package/dist/{chunk-A6XCAQ52.js → chunk-LVXOY5WL.js} +7 -6
- package/dist/{chunk-3HHNQPAH.js → chunk-LYVOL4TQ.js} +1 -1
- package/dist/{chunk-HJXXFPOL.js → chunk-MBVXROCI.js} +2 -2
- package/dist/{chunk-76ANFJOI.js → chunk-MCYM3RNF.js} +1 -1
- package/dist/{chunk-F77BNDAT.js → chunk-MEG4NMSI.js} +2 -2
- package/dist/{chunk-C64FBRJO.js → chunk-MKVV7GVJ.js} +5 -5
- package/dist/{chunk-XPWRD424.js → chunk-MONVTUHR.js} +3 -3
- package/dist/{chunk-YI2ZVTCB.js → chunk-MT4MP3UZ.js} +1 -1
- package/dist/{chunk-V4DYVLOO.js → chunk-MYCLO35J.js} +5 -5
- package/dist/{chunk-4SM2ONUC.js → chunk-MZJBPDIL.js} +1 -1
- package/dist/{chunk-CYDZP5W6.js → chunk-NGRIT3CY.js} +26 -23
- package/dist/{chunk-2SGIHKKU.js → chunk-NQSDIDRO.js} +1 -1
- package/dist/{chunk-WVSNSWBJ.js → chunk-NRF223FR.js} +1 -1
- package/dist/{chunk-QXILAMAU.js → chunk-NRHTC2SQ.js} +1 -1
- package/dist/{chunk-H7UZZ7KP.js → chunk-NWQTSZYC.js} +3 -3
- package/dist/{chunk-OAPCJO6W.js → chunk-O3VN6BTL.js} +1 -0
- package/dist/{chunk-LO2DANS6.js → chunk-OD3IH6FG.js} +5 -5
- package/dist/{chunk-S62M63LU.js → chunk-OM67S6S4.js} +3 -3
- package/dist/{chunk-UEU46Q3D.js → chunk-OMNQXHFF.js} +7 -7
- package/dist/{chunk-HZQEQ34U.js → chunk-OMVYFSOM.js} +3 -3
- package/dist/{chunk-COYPDRJK.js → chunk-OTW5SEFS.js} +2 -2
- package/dist/{chunk-GH3ZMBFX.js → chunk-OU5K2JPF.js} +11 -11
- package/dist/{chunk-AZOUSKZD.js → chunk-OURX73UJ.js} +1 -1
- package/dist/{chunk-27QQEWNV.js → chunk-OZUTYDV4.js} +2 -2
- package/dist/{chunk-TSR5YDPS.js → chunk-P52JHUUM.js} +23 -20
- package/dist/{chunk-YFG4E3N2.js → chunk-PBYUJSEY.js} +14 -14
- package/dist/{chunk-A3ULWR5N.js → chunk-PDG4IM3L.js} +1 -1
- package/dist/{chunk-AFK47A6O.js → chunk-PGV25HTX.js} +3 -3
- package/dist/{chunk-A5JWFZVU.js → chunk-PJWLKCFX.js} +80 -81
- package/dist/{chunk-MNJ2DHU6.js → chunk-QJ4WGAC6.js} +8 -8
- package/dist/{chunk-VB2MJLET.js → chunk-QQNPU27R.js} +1 -1
- package/dist/{chunk-6JUJ2DU3.js → chunk-QR35TD2B.js} +37 -37
- package/dist/{chunk-LC3PSQJJ.js → chunk-QY5ZKUWY.js} +1 -1
- package/dist/{chunk-ASAON7G4.js → chunk-RGZGLKFB.js} +4 -4
- package/dist/{chunk-S4ONWRJE.js → chunk-RK4S3VPS.js} +2 -2
- package/dist/{chunk-TXZBBZOG.js → chunk-RKITD2UJ.js} +2 -2
- package/dist/{chunk-ETHWK2RZ.js → chunk-RNOJSEES.js} +1 -1
- package/dist/{chunk-PGIQMQRU.js → chunk-RZB4RPPD.js} +228 -95
- package/dist/{chunk-XO5ONLVM.js → chunk-S32YYDIB.js} +1 -1
- package/dist/{chunk-QN6JHMGU.js → chunk-S4QSJAGY.js} +1 -1
- package/dist/{chunk-IXSZ7OKR.js → chunk-S6CRZKPO.js} +1 -1
- package/dist/{chunk-YHTO46W2.js → chunk-SFQ5ADIG.js} +35 -31
- package/dist/{chunk-Y4PXIJMD.js → chunk-SHH2AHIU.js} +14 -14
- package/dist/{chunk-HUF6TQ2J.js → chunk-SZCPKGYG.js} +3 -3
- package/dist/{chunk-K2HNV4LE.js → chunk-T3PNYRDM.js} +12 -12
- package/dist/{chunk-QNHZXFRA.js → chunk-T7ZCYYQZ.js} +3 -3
- package/dist/{chunk-JY4R3GML.js → chunk-TKQKXBGC.js} +1 -1
- package/dist/{chunk-XDS4UZGR.js → chunk-TNHD4UTC.js} +3 -3
- package/dist/{chunk-FGAGGPFF.js → chunk-TNNK4IIY.js} +8 -8
- package/dist/{chunk-LC6DYCTG.js → chunk-TSPWXAAI.js} +1 -1
- package/dist/{chunk-HX3MQ3H4.js → chunk-U2ES66IN.js} +3 -3
- package/dist/{chunk-MFLH5ZDQ.js → chunk-U2HQELXL.js} +2 -2
- package/dist/{chunk-SXGTRZFN.js → chunk-U4P6TQRW.js} +3 -2
- package/dist/{chunk-KFFNCDX6.js → chunk-U6CJPTOB.js} +3 -3
- package/dist/{chunk-GQPESFAF.js → chunk-U7LLQ7XM.js} +11 -11
- package/dist/{chunk-IN4QT33I.js → chunk-ULTSSIOU.js} +1 -1
- package/dist/{chunk-HUFCSX2Y.js → chunk-UTQGZF37.js} +17 -6
- package/dist/{chunk-CCQNL33L.js → chunk-UYNAL3Y3.js} +9 -9
- package/dist/{chunk-7QDAHY5M.js → chunk-V7RAPZHX.js} +2 -2
- package/dist/{chunk-6XE3GVGU.js → chunk-VAEC53B3.js} +3 -2
- package/dist/{chunk-YKO3VCTF.js → chunk-VDVXGAIP.js} +3 -3
- package/dist/{chunk-WYJMV62X.js → chunk-VGWWUCAB.js} +3 -3
- package/dist/{chunk-5ENRZX6I.js → chunk-VNLSTZES.js} +19 -16
- package/dist/{chunk-D4BIV6WG.js → chunk-VWYUUBBP.js} +19 -16
- package/dist/{chunk-JMH5MD5A.js → chunk-WDONXBQE.js} +1 -1
- package/dist/{chunk-62FR4FYJ.js → chunk-WEPAE4KG.js} +2 -2
- package/dist/{chunk-A5LZUYK4.js → chunk-WGIO6AHP.js} +3 -2
- package/dist/{chunk-UQSVWO7Z.js → chunk-WJKVNRCR.js} +8 -7
- package/dist/{chunk-24WB3HMB.js → chunk-WKWMOZNE.js} +22 -7
- package/dist/{chunk-V667FCIJ.js → chunk-WMZCOGD6.js} +1 -1
- package/dist/{chunk-33CBPK5Q.js → chunk-WQ55QPEB.js} +51 -45
- package/dist/{chunk-SLTMRTXV.js → chunk-WUKSZNHL.js} +15 -12
- package/dist/{chunk-QETGGFH2.js → chunk-WZBMTZBM.js} +3 -3
- package/dist/{chunk-XY5O74BH.js → chunk-X4U6PT3Z.js} +3 -3
- package/dist/{chunk-E2HEVF23.js → chunk-XNA6DATU.js} +10 -10
- package/dist/{chunk-ALKTNXMR.js → chunk-XTGWCYAR.js} +37 -37
- package/dist/{chunk-3XQ635KD.js → chunk-XXNLNZ7E.js} +3 -3
- package/dist/{chunk-YEDYBMCW.js → chunk-YF2PYLC4.js} +1 -1
- package/dist/{chunk-ZJKOLOVF.js → chunk-YS56RSTZ.js} +26 -20
- package/dist/{chunk-RTJXOIIQ.js → chunk-YWP7XFKD.js} +1 -1
- package/dist/{chunk-ATTE3FYC.js → chunk-ZBJNEJSL.js} +3 -3
- package/dist/{chunk-A2FHZH7E.js → chunk-ZNHF2XCP.js} +35 -21
- package/dist/{chunk-ERAIVAK5.js → chunk-ZTH6YSVA.js} +37 -4
- package/dist/{chunk-KS7DXCXH.js → chunk-ZWJTHFWB.js} +3 -3
- package/dist/{chunk-EKQMYG2B.js → chunk-ZXOD37BE.js} +18 -18
- package/dist/cli/index.js +2 -2
- package/dist/{core-5Z6UW5DS.js → core-34KIMTK6.js} +2 -1
- package/dist/{core-XXIOJY2X.js → core-3CWPIFAL.js} +3 -1
- package/dist/{core-WLVU2HWX.js → core-7R3ARYNI.js} +3 -1
- package/dist/{core-DU77ZYPR.js → core-7YKLT7KY.js} +3 -1
- package/dist/{core-QUYSNTC7.js → core-AEYGGH7X.js} +3 -1
- package/dist/{core-CPN2HF75.js → core-ASBJZZTP.js} +2 -1
- package/dist/{core-JQV7STNF.js → core-CJ7FFPDU.js} +3 -1
- package/dist/{core-PL64QPOH.js → core-CJZXX2V3.js} +3 -1
- package/dist/{core-T5Q4DSH2.js → core-DAFZ7YJW.js} +2 -1
- package/dist/{core-RUA3EWW3.js → core-DJPGSTXB.js} +3 -1
- package/dist/{core-KBH3EJZV.js → core-DKJUX7Q4.js} +2 -1
- package/dist/{core-FFLPH5XK.js → core-EAIFSTDE.js} +3 -1
- package/dist/{core-E6YD7VU4.js → core-GEUPUZUY.js} +3 -1
- package/dist/{core-OK2ZY5OJ.js → core-JLJTP7P6.js} +2 -1
- package/dist/{core-RY6IFRKM.js → core-JLXFDYHX.js} +3 -1
- package/dist/{core-ZH7XTJTD.js → core-KCORN7F7.js} +3 -1
- package/dist/{core-IZVZ2B7Y.js → core-KF6GJOGW.js} +2 -1
- package/dist/{core-DBRILYNB.js → core-KII4CH3W.js} +2 -1
- package/dist/{core-TJX3I7KH.js → core-KZK3WCUG.js} +3 -1
- package/dist/{core-RE3L6YCM.js → core-L5KTPXHC.js} +2 -1
- package/dist/{core-CS7AKNME.js → core-L7Y7YXWR.js} +2 -1
- package/dist/{core-IV26EL5C.js → core-MN45UFF4.js} +3 -1
- package/dist/{core-PVINU5JJ.js → core-MNUVP5IJ.js} +3 -1
- package/dist/{core-OW5V74Q4.js → core-O2K4BDYH.js} +3 -1
- package/dist/{core-ZHE7N4NS.js → core-ONNGSKWQ.js} +3 -1
- package/dist/{core-KFBW5PRT.js → core-PFXIBWLD.js} +3 -1
- package/dist/{core-ZJYLJWZQ.js → core-QXIAQFHM.js} +2 -1
- package/dist/{core-KWGXHBJE.js → core-R27R6J5M.js} +3 -1
- package/dist/{core-OV5MPTZP.js → core-RCFFJANI.js} +3 -1
- package/dist/{core-WQPHNVNY.js → core-RGLOYY73.js} +3 -1
- package/dist/{core-SE67HHFG.js → core-V7I4F6JW.js} +3 -1
- package/dist/{core-6LLJNZ4O.js → core-W7AZNHOX.js} +3 -1
- package/dist/{core-MZMR2DF4.js → core-WHI4ABF2.js} +2 -1
- package/dist/{core-6ANZ2OWO.js → core-WJSKT5XM.js} +2 -1
- package/dist/{core-EE55P6XK.js → core-XKV7GMPG.js} +3 -1
- package/dist/{core-ULUA5ZB2.js → core-YPH723Z7.js} +3 -1
- package/dist/{core-SCWEVNUY.js → core-YVNOHIQ4.js} +3 -1
- package/dist/{dataTable-IL7HVDHL.js → dataTable-VKEHFLJM.js} +3 -2
- package/dist/{engine-MYLZI5VH.js → engine-PPXKJJFI.js} +12 -11
- package/dist/fixtures.js +3 -1
- package/dist/{fontTables-ZYBUCJ5N.js → fontTables-WYCZNRE7.js} +1 -1
- package/dist/fonts.js +1 -1
- package/dist/index.js +21 -19
- package/dist/{main-ISJ53IS5.js → main-53MXACOU.js} +12 -10
- package/dist/mcp/server.js +18 -15
- package/dist/react/bar.js +3 -1
- package/dist/react/bartable.js +2 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +3 -1
- package/dist/react/butterfly.js +3 -1
- package/dist/react/choropleth.js +2 -1
- package/dist/react/cohort.js +3 -1
- package/dist/react/column.js +3 -1
- package/dist/react/combo.js +3 -1
- package/dist/react/creative.js +2 -1
- package/dist/react/diagram.js +2 -1
- package/dist/react/dimswitch.js +3 -1
- package/dist/react/dot.js +3 -1
- package/dist/react/export.js +20 -18
- package/dist/react/funnel.js +3 -1
- package/dist/react/gantt.js +2 -1
- package/dist/react/grid.js +3 -1
- package/dist/react/heatmap.js +3 -1
- package/dist/react/histogram.js +3 -1
- package/dist/react/index.js +86 -84
- package/dist/react/kpi.js +2 -1
- package/dist/react/likert.js +3 -1
- package/dist/react/line.js +3 -1
- package/dist/react/mekko.js +3 -1
- package/dist/react/pareto.js +3 -1
- package/dist/react/pie.js +3 -1
- package/dist/react/prepare.js +20 -18
- package/dist/react/pvm.js +3 -1
- package/dist/react/pyramid.js +3 -1
- package/dist/react/sankey.js +2 -1
- package/dist/react/scatter.js +3 -1
- package/dist/react/slope.js +3 -1
- package/dist/react/sparkline.js +2 -1
- package/dist/react/spec.js +36 -26
- package/dist/react/status.js +2 -1
- package/dist/react/story.js +4 -3
- package/dist/react/table.js +3 -1
- package/dist/react/theme.js +4 -3
- package/dist/react/tilemap.js +2 -1
- package/dist/react/treemap.js +2 -1
- package/dist/react/variance.js +3 -1
- package/dist/react/waffle.js +2 -1
- package/dist/react/waterfall.js +3 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-3Y4I3M3E.js → rowsModule-L3MBGPBH.js} +2 -1
- package/dist/{schema-STGL44TL.js → schema-26YUL3MG.js} +4 -1
- package/dist/{schema-5YTNQ6JY.js → schema-33ZF6WKL.js} +4 -1
- package/dist/{schema-E6YOSOWB.js → schema-3W7IFXVN.js} +3 -1
- package/dist/{schema-G4KFMQBL.js → schema-4ZXJCRZR.js} +4 -1
- package/dist/{schema-QJJPRRE7.js → schema-5E5J43CF.js} +4 -1
- package/dist/{schema-34ZELWRQ.js → schema-6ZV532RM.js} +4 -1
- package/dist/{schema-P63S63GE.js → schema-733PO52K.js} +4 -1
- package/dist/{schema-QEVSIMGO.js → schema-AQD3H5VV.js} +4 -1
- package/dist/{schema-EVLLL5UF.js → schema-B4GFRYIP.js} +4 -1
- package/dist/{schema-EQQB43AY.js → schema-CMXL5F5L.js} +4 -1
- package/dist/{schema-IF5N3J56.js → schema-FT37ZEYY.js} +4 -1
- package/dist/{schema-2GUBWOBC.js → schema-GK6MD4EG.js} +4 -1
- package/dist/{schema-MEAFRXVH.js → schema-GSE3QXUK.js} +4 -2
- package/dist/{schema-4735XAZX.js → schema-GVHM2HEF.js} +4 -1
- package/dist/{schema-E2ISJ65D.js → schema-H7RKVTVO.js} +4 -1
- package/dist/{schema-XYYDUUHS.js → schema-HGUBNXUY.js} +4 -1
- package/dist/{schema-KFC4WYH4.js → schema-HRHNGOFC.js} +3 -1
- package/dist/{schema-PNC3Z7AH.js → schema-HWU55RJL.js} +4 -1
- package/dist/{schema-3BHL2B76.js → schema-IOKAZVL7.js} +4 -1
- package/dist/{schema-7J3NAIN2.js → schema-IOWE3RQO.js} +4 -1
- package/dist/{schema-2BMZOHXI.js → schema-KFXLS67Q.js} +4 -1
- package/dist/{schema-EYQ5IBLF.js → schema-KH62LDYK.js} +4 -1
- package/dist/{schema-S3EQKVOT.js → schema-KHCLVE2V.js} +4 -1
- package/dist/{schema-PA2MXYY4.js → schema-KORNUIC6.js} +4 -1
- package/dist/{schema-AOJJ7JZB.js → schema-LYBOPAGQ.js} +4 -1
- package/dist/{schema-GH7IKSOU.js → schema-MNG24WU2.js} +4 -1
- package/dist/{schema-PDZ6256H.js → schema-NOPOI5G2.js} +4 -1
- package/dist/{schema-T4NE2EAO.js → schema-PNUC54GC.js} +4 -1
- package/dist/{schema-P7LJFJAJ.js → schema-Q4IPIR6W.js} +4 -1
- package/dist/{schema-TQYTESG3.js → schema-QLH2DZFI.js} +4 -1
- package/dist/{schema-D3RCMN3T.js → schema-QNI6MNQ2.js} +4 -1
- package/dist/{schema-W376PAJG.js → schema-SLQPM32G.js} +4 -1
- package/dist/{schema-EYZVD73N.js → schema-SY3MKF5S.js} +4 -1
- package/dist/{schema-JJYJOQTT.js → schema-WAKLKLBB.js} +4 -1
- package/dist/{schema-IG7JIR4H.js → schema-WCDYWS4K.js} +4 -1
- package/dist/{schema-CVMV4LRA.js → schema-ZCZCY34J.js} +4 -1
- package/dist/{schema-L7263JMT.js → schema-ZSYX76MO.js} +4 -1
- package/dist/{specValidation-NVBIZMEE.js → specValidation-H5B4MQST.js} +3 -1
- package/dist/theme.js +3 -2
- package/dist/{themeShapeRules-5C2463YH.js → themeShapeRules-54U5EIZR.js} +1 -1
- package/dist/types/core/annotateEngine.d.ts +14 -0
- 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/deferred.d.ts +6 -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/theme.d.ts +3 -1
- package/dist/types/core/themeShape.d.ts +3 -3
- package/dist/types/core/themeValidate.d.ts +3 -3
- package/dist/types/core/types/annotations.d.ts +6 -2
- package/dist/types/core/types/data.d.ts +8 -3
- package/dist/types/core/types/theme.d.ts +2 -1
- package/dist/types/react/rowsStore.d.ts +5 -0
- package/dist/types/react/spec.d.ts +17 -0
- package/dist/types/rows.d.ts +6 -1
- package/dist/validate.js +8 -6
- package/docs/manual.md +19 -5
- 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/docs/reference/theme.md +2 -3
- package/docs/use-cases.md +198 -0
- package/llms.txt +4 -3
- package/package.json +2 -1
- package/dist/chunk-2GELJH37.js +0 -88
- package/dist/chunk-4GB7TBY7.js +0 -373
|
@@ -9,35 +9,35 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
crc32,
|
|
11
11
|
withPhysicalSize
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EP54VZI5.js";
|
|
13
13
|
import {
|
|
14
14
|
themeFieldReference
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PJWLKCFX.js";
|
|
16
16
|
import {
|
|
17
17
|
createMetricTablesMeasurer,
|
|
18
18
|
measurableFamilies
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-C54QLNE4.js";
|
|
20
20
|
import {
|
|
21
21
|
parseFontMetricTables
|
|
22
22
|
} from "./chunk-TA3TFKYZ.js";
|
|
23
23
|
import {
|
|
24
24
|
getFixtures
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3RMTPAEJ.js";
|
|
26
26
|
import {
|
|
27
27
|
gridFormOf
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-G63ROSY5.js";
|
|
29
29
|
import {
|
|
30
30
|
spaceDocLints
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FMFCGYCE.js";
|
|
32
32
|
import {
|
|
33
33
|
comboDrawsSecondaryAxis
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KFWEO4UA.js";
|
|
35
35
|
import {
|
|
36
36
|
lineLabelModes
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-32X7JGH3.js";
|
|
38
38
|
import {
|
|
39
39
|
resolveSharedScale
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-OMVYFSOM.js";
|
|
41
41
|
import {
|
|
42
42
|
getTilePack
|
|
43
43
|
} from "./chunk-QHRE2M6V.js";
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
isThemeObject,
|
|
52
52
|
parseDocumentInput,
|
|
53
53
|
rootContextErrors
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-J2ROMB7J.js";
|
|
55
55
|
import {
|
|
56
56
|
completeChartDiagnostic,
|
|
57
57
|
completeDiagnostic,
|
|
@@ -59,33 +59,33 @@ import {
|
|
|
59
59
|
gridPanelOptionTargets,
|
|
60
60
|
unsupportedSuggestion,
|
|
61
61
|
validateChartInput
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-WKWMOZNE.js";
|
|
63
63
|
import {
|
|
64
64
|
baseOptionsSchema,
|
|
65
65
|
renderTargetSchema
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-ZTH6YSVA.js";
|
|
67
67
|
import {
|
|
68
68
|
InputError,
|
|
69
69
|
adaptRows,
|
|
70
70
|
assertSpecObject,
|
|
71
71
|
rewriteRowsDiagnostics
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-DAVHGK27.js";
|
|
73
73
|
import {
|
|
74
74
|
isBareChart
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-YWP7XFKD.js";
|
|
76
76
|
import {
|
|
77
77
|
CLAIM_KIND_GROUPS,
|
|
78
78
|
claimsForChart
|
|
79
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-OURX73UJ.js";
|
|
80
80
|
import {
|
|
81
81
|
interactionRecords,
|
|
82
82
|
interactionValueText
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-K4K6KGEF.js";
|
|
84
84
|
import {
|
|
85
85
|
layoutResolvedRequest,
|
|
86
86
|
measureLayout,
|
|
87
87
|
resolveChartRequest
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-BRPOSOK5.js";
|
|
89
89
|
import {
|
|
90
90
|
ownedDocumentCopy
|
|
91
91
|
} from "./chunk-BW5VLBSZ.js";
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "./chunk-6KWIQ5KF.js";
|
|
95
95
|
import {
|
|
96
96
|
STRUCTURE_COUNT_KINDS
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-LFX7W4B7.js";
|
|
98
98
|
import {
|
|
99
99
|
WORDING_KEYS
|
|
100
100
|
} from "./chunk-XB4KZ6WO.js";
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
scenarioCodes,
|
|
116
116
|
seriesOf,
|
|
117
117
|
warning
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-MCYM3RNF.js";
|
|
119
119
|
import {
|
|
120
120
|
VERIFY_ADVICE,
|
|
121
121
|
canonicalChartType,
|
|
@@ -129,7 +129,7 @@ import {
|
|
|
129
129
|
typeDocLints,
|
|
130
130
|
unsupported,
|
|
131
131
|
verifiedSizeRepair
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-U7LLQ7XM.js";
|
|
133
133
|
import {
|
|
134
134
|
ANNOTATION_KIND_PURPOSES,
|
|
135
135
|
ASPECT_CAPS,
|
|
@@ -156,36 +156,31 @@ import {
|
|
|
156
156
|
textNames,
|
|
157
157
|
unitInFormatLints,
|
|
158
158
|
unitNotShownLints
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-GVKFFJ23.js";
|
|
160
160
|
import {
|
|
161
161
|
chartNotes
|
|
162
|
-
} from "./chunk-
|
|
162
|
+
} from "./chunk-E64MTTBC.js";
|
|
163
163
|
import {
|
|
164
164
|
ENGINE_REV,
|
|
165
165
|
version
|
|
166
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-IM4WUIR7.js";
|
|
167
167
|
import {
|
|
168
168
|
chartRefusals
|
|
169
|
-
} from "./chunk-
|
|
169
|
+
} from "./chunk-B6LHZLLK.js";
|
|
170
170
|
import {
|
|
171
171
|
formatExampleProblem,
|
|
172
172
|
parseFormatExample,
|
|
173
173
|
unscaledFormatLint
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-RGZGLKFB.js";
|
|
175
175
|
import {
|
|
176
176
|
resolveTheme,
|
|
177
177
|
resolvedPaintToken,
|
|
178
178
|
seriesColorIndex,
|
|
179
179
|
themes
|
|
180
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-B3F4TS3V.js";
|
|
181
181
|
import {
|
|
182
182
|
validateTheme
|
|
183
|
-
} from "./chunk-
|
|
184
|
-
import {
|
|
185
|
-
patchApplies,
|
|
186
|
-
readJsonPointer,
|
|
187
|
-
toJsonPointer
|
|
188
|
-
} from "./chunk-ZQ4VFQID.js";
|
|
183
|
+
} from "./chunk-4WK3CNW5.js";
|
|
189
184
|
import {
|
|
190
185
|
DEFAULT_TARGET,
|
|
191
186
|
normalizeCategory,
|
|
@@ -193,6 +188,11 @@ import {
|
|
|
193
188
|
resolveSize,
|
|
194
189
|
toLayoutPx
|
|
195
190
|
} from "./chunk-SGD3ZHID.js";
|
|
191
|
+
import {
|
|
192
|
+
patchApplies,
|
|
193
|
+
readJsonPointer,
|
|
194
|
+
toJsonPointer
|
|
195
|
+
} from "./chunk-ZQ4VFQID.js";
|
|
196
196
|
import {
|
|
197
197
|
maxOf,
|
|
198
198
|
minOf,
|
|
@@ -200,7 +200,7 @@ import {
|
|
|
200
200
|
} from "./chunk-WYJEOMNY.js";
|
|
201
201
|
import {
|
|
202
202
|
compareText
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
204
204
|
import {
|
|
205
205
|
familiesOf,
|
|
206
206
|
resolveFace
|
|
@@ -878,7 +878,7 @@ function schemaReference(schema, defaults) {
|
|
|
878
878
|
var CATALOG = {
|
|
879
879
|
bar: { summary: "Horizontal bars per item", useCases: ["Ranking items", "Tornado or football-field ranges", "Values with long category names"] },
|
|
880
880
|
bartable: { summary: "Table rows with stacked bars, one panel per measure", useCases: ["One measure per row as a stacked bar beside number columns: one panel", "The same split in two units side by side, $bn and % of EBITDA: two panels", "Impact ranges by sector with a Total row", "Share of a total over 2 to 4 periods, such as category revenue share by year: cascade"] },
|
|
881
|
-
box: { summary: "Box plots of raw observations", useCases: ["Spread per group", "Outliers by team or region", "Response times by service"] },
|
|
881
|
+
box: { summary: "Box plots of raw observations; rows category,value[,categoryLabel,date]", useCases: ["Spread per group", "Outliers by team or region", "Response times by service"] },
|
|
882
882
|
bullet: { summary: "KPI rows with bands and target", useCases: ["KPIs against target", "Plan attainment per unit", "Scorecard of several metrics"] },
|
|
883
883
|
butterfly: { summary: "Two mirrored bar panes", useCases: ["Two measures per category", "Before and after by segment", "Imports and exports by country"] },
|
|
884
884
|
choropleth: { summary: "Region map coloured by value", useCases: ["A value per country or state", "Regional penetration", "Growth rate by region"] },
|
|
@@ -892,7 +892,7 @@ var CATALOG = {
|
|
|
892
892
|
gantt: { summary: "Timeline with spans and events", useCases: ["Project plan with milestones", "Rollout by workstream", "Campaign calendar"] },
|
|
893
893
|
grid: { summary: "Facets and metric stacks on one category axis", useCases: ["Small multiples per region", "Actuals with a variance tier", "Metric stacks with computed readouts"] },
|
|
894
894
|
heatmap: { summary: "Row by column matrix", useCases: ["A value by row and column", "Harvey-ball scoring", "Sales by weekday and hour"] },
|
|
895
|
-
histogram: { summary: "Equal-width bins of raw values", useCases: ["Order value distribution", "Spread of lead times", "Deal size distribution"] },
|
|
895
|
+
histogram: { summary: "Equal-width bins of raw values; rows value", useCases: ["Order value distribution", "Spread of lead times", "Deal size distribution"] },
|
|
896
896
|
kpi: { summary: "Single-metric card", useCases: ["Headline metric with trend", "Metric against PY and plan", "Dashboard tile"] },
|
|
897
897
|
likert: { summary: "Diverging bars for survey scales", useCases: ["Agreement by statement", "Net sentiment per question", "Employee survey results"] },
|
|
898
898
|
line: { summary: "Lines and areas over time", useCases: ["Trend over time", "Actual against forecast", "Indexed growth of several series"] },
|
|
@@ -907,7 +907,7 @@ var CATALOG = {
|
|
|
907
907
|
sparkline: { summary: "One series as a mini line", useCases: ["Trend inside a KPI card", "Shape beside a table row", "A strip of metrics on one board"] },
|
|
908
908
|
status: { summary: "Entity by period state matrix", useCases: ["Project status by period", "RAG matrix", "Milestone tracking"] },
|
|
909
909
|
dimswitch: { summary: "KPIs by one dimension and period, from sums", useCases: ["Weekly KPIs by channel", "Channels by KPI with changes", "Changes judged against the period before"] },
|
|
910
|
-
table: { summary: "Management table with totals", useCases: ["Table with totals", "P&L with variances", "Ranked list with status chips"] },
|
|
910
|
+
table: { summary: "Management table with totals; rows [label,id]", useCases: ["Table with totals", "P&L with variances", "Ranked list with status chips"] },
|
|
911
911
|
tilemap: { summary: "Equal-size region tiles", useCases: ["A value per state", "Regions without area bias", "Results by US state"] },
|
|
912
912
|
treemap: { summary: "Part of a whole as nested areas", useCases: ["Many parts of one total, in groups", "A few items take most of the total"] },
|
|
913
913
|
variance: { summary: "Variance tier against PY, PL or FC", useCases: ["Actual against plan or PY", "Variance in value and percent", "Budget deviation by cost centre"] },
|
|
@@ -1973,7 +1973,7 @@ var BARE_NAME_FIELD = {
|
|
|
1973
1973
|
items: { meaning: "{ label, detail? }[]. More changes on the same date, after this event's own label and detail. The lane and the key draw a compact +N after the title; the hover card, the SVG title and description, and the interaction records list every item in full.", types: LANE_TYPES },
|
|
1974
1974
|
placement: { meaning: "auto | key, default options.events.placement. key numbers this event into the key below the plot.", types: LANE_TYPES },
|
|
1975
1975
|
tone: "neutral | bad | good, default the group tone, else neutral. Column, combo and line paint the glyph, the marker ring and the period bar in it; gantt paints a bad rule.",
|
|
1976
|
-
labelPlacement: { meaning: "top | inline, default top. inline sets the block beside its rule inside the plot.", types: ["line"] }
|
|
1976
|
+
labelPlacement: { meaning: "top | inline | badge, default top. inline (line) sets the block beside its rule inside the plot. badge (gantt) draws the label, at most 3 characters, in a filled circle at the top of its rule; badge events never go to the numbered key.", types: ["line", "gantt"] }
|
|
1977
1977
|
}
|
|
1978
1978
|
};
|
|
1979
1979
|
function optionalFields(kind, type) {
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-H4H4O62O.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KJEZFOO6.js";
|
|
12
12
|
import {
|
|
13
13
|
bartableCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CICWSCLC.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MZJBPDIL.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/bartable.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, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, rounding: 0, interactive: 0, annotations: sharedKeys9, total: 0, combinedShare: { rows: 0, label: 0 }, variant: 0, cascade: { share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0 } }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
|
|
@@ -27,7 +27,7 @@ function advanceWidths(font, codePoints, scale) {
|
|
|
27
27
|
} catch {
|
|
28
28
|
advance = font.glyphForCodePoint(cp).advanceWidth;
|
|
29
29
|
}
|
|
30
|
-
return Number.isFinite(advance) ? Math.round(advance * scale) : 0;
|
|
30
|
+
return Number.isFinite(advance) ? Math.max(0, Math.round(advance * scale)) : 0;
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
function errorText(e) {
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
liftOrFallback,
|
|
3
3
|
missesSize,
|
|
4
4
|
tightSpacingWarning
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BXEM2CVW.js";
|
|
6
6
|
import {
|
|
7
7
|
chartTheme
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U4P6TQRW.js";
|
|
9
9
|
import {
|
|
10
10
|
ZERO_LIFT,
|
|
11
11
|
arrowKey,
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
visibleColumns,
|
|
33
33
|
visibleInlineRows,
|
|
34
34
|
visibleRows
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6NLH6TEP.js";
|
|
36
36
|
import {
|
|
37
37
|
tableCellKey,
|
|
38
38
|
tableCellNodeId
|
|
@@ -43,13 +43,13 @@ import {
|
|
|
43
43
|
lastObservedIndex,
|
|
44
44
|
plotSparkline,
|
|
45
45
|
sparklineDomain
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-3UBTO342.js";
|
|
47
47
|
import {
|
|
48
48
|
rowDrivenHeight
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-OTW5SEFS.js";
|
|
50
50
|
import {
|
|
51
51
|
structureCount
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LFX7W4B7.js";
|
|
53
53
|
import {
|
|
54
54
|
CHIP_PAD_X,
|
|
55
55
|
ENGINE_NOTES,
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
kindFont,
|
|
72
72
|
rowFont,
|
|
73
73
|
tableFonts
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-T7ZCYYQZ.js";
|
|
75
75
|
import {
|
|
76
76
|
chipHeight,
|
|
77
77
|
chipPaints,
|
|
@@ -83,22 +83,25 @@ import {
|
|
|
83
83
|
statusSquarePaint,
|
|
84
84
|
tableGround,
|
|
85
85
|
toneTextPaint
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-PDG4IM3L.js";
|
|
87
87
|
import {
|
|
88
88
|
qualifierFont,
|
|
89
89
|
tableInk,
|
|
90
90
|
tableRuleInk
|
|
91
91
|
} from "./chunk-Z2MGTKDR.js";
|
|
92
|
+
import {
|
|
93
|
+
emptyIdRecord
|
|
94
|
+
} from "./chunk-LINZPU5D.js";
|
|
92
95
|
import {
|
|
93
96
|
DEFAULT_EMPTY_MESSAGE,
|
|
94
97
|
hasNoDataRows
|
|
95
|
-
} from "./chunk-
|
|
98
|
+
} from "./chunk-MEG4NMSI.js";
|
|
96
99
|
import {
|
|
97
100
|
CARD_CLASS_WIDTH,
|
|
98
101
|
VERIFY_ADVICE,
|
|
99
102
|
heightOmitted,
|
|
100
103
|
rowSizing
|
|
101
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-U7LLQ7XM.js";
|
|
102
105
|
import {
|
|
103
106
|
authoredNotes,
|
|
104
107
|
composedTextRole,
|
|
@@ -111,12 +114,12 @@ import {
|
|
|
111
114
|
legendOff,
|
|
112
115
|
legendRequired,
|
|
113
116
|
solveFrame
|
|
114
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-GVKFFJ23.js";
|
|
115
118
|
import {
|
|
116
119
|
copyFrame,
|
|
117
120
|
disclosureNote,
|
|
118
121
|
footerPlans
|
|
119
|
-
} from "./chunk-
|
|
122
|
+
} from "./chunk-E64MTTBC.js";
|
|
120
123
|
import {
|
|
121
124
|
AUTOMATIC_FORMAT,
|
|
122
125
|
MAGNITUDE_DIVISOR,
|
|
@@ -127,7 +130,7 @@ import {
|
|
|
127
130
|
parseFormatExample,
|
|
128
131
|
specUnitKind,
|
|
129
132
|
unitOfSpec
|
|
130
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-RGZGLKFB.js";
|
|
131
134
|
import {
|
|
132
135
|
currentSmallValues,
|
|
133
136
|
formatExactNumber,
|
|
@@ -135,7 +138,7 @@ import {
|
|
|
135
138
|
roundHalfUp,
|
|
136
139
|
roundsToZero,
|
|
137
140
|
zeroLifts
|
|
138
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-53OYF4ZT.js";
|
|
139
142
|
import {
|
|
140
143
|
canvasMargin,
|
|
141
144
|
colorblindRoles,
|
|
@@ -149,7 +152,7 @@ import {
|
|
|
149
152
|
tableEmphasis,
|
|
150
153
|
textScaleOf,
|
|
151
154
|
typeWidthClass
|
|
152
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-B3F4TS3V.js";
|
|
153
156
|
import {
|
|
154
157
|
TARGET_SIZE,
|
|
155
158
|
accessibleTitle,
|
|
@@ -164,7 +167,7 @@ import {
|
|
|
164
167
|
WIDTH_SAFETY,
|
|
165
168
|
defaultMeasurer,
|
|
166
169
|
ellipsize
|
|
167
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
168
171
|
|
|
169
172
|
// src/core/charts/table/encodings/inCellBar.ts
|
|
170
173
|
var TEXT_GAP = 8, BAR_HEIGHT = 10;
|
|
@@ -444,7 +447,7 @@ function fitTableFormats(data, options, resolved, columns, ctx) {
|
|
|
444
447
|
}
|
|
445
448
|
if (unified.size > 0) {
|
|
446
449
|
for (let id of unified.keys()) fittedRows.add(id);
|
|
447
|
-
current = { ...current, rows: withRowFormats(current.rows, unified) }, fitted = resolveTable(current, unlifted, data)
|
|
450
|
+
current = { ...current, rows: withRowFormats(current.rows, unified) }, fitted = resolveTable(current, unlifted, data);
|
|
448
451
|
}
|
|
449
452
|
}
|
|
450
453
|
let lifts = zeroFigureFormats(current, fitted.table, fittedRows, fittedColumns, fittedCells, decimal, options, data);
|
|
@@ -570,10 +573,13 @@ function layoutTableLadder(authoredData, options, resolved) {
|
|
|
570
573
|
if (widthFits(full)) return withWidthRepair(compactTable(authoredData, options, full, margin, Math.min(pad, 6), void 0, resolved, sizingOnly, formatFits));
|
|
571
574
|
let rung = (step) => once({ ...base, margin, cellPadX: step.pad, ...step.heads === void 0 ? {} : { [HEAD_LINES]: step.heads } }), narrowest = rung({ pad: Math.min(pad, 3), heads: 2 });
|
|
572
575
|
if (narrowest.sizing !== void 0 && !widthFits(narrowest)) return withWidthRepair(compactTable(authoredData, options, full, margin, Math.min(pad, 3), 2, resolved, sizingOnly, formatFits));
|
|
573
|
-
let
|
|
576
|
+
let tried = new Set(gutterHelps ? [] : [`${pad}`]);
|
|
574
577
|
for (let step of [{ pad }, { pad: Math.min(pad, 6) }, { pad: Math.min(pad, 3) }, { pad: Math.min(pad, 3), heads: 2 }]) {
|
|
575
578
|
let key = `${step.pad}${step.heads === void 0 ? "" : `:${step.heads}`}`;
|
|
576
|
-
if (
|
|
579
|
+
if (tried.has(key)) continue;
|
|
580
|
+
tried.add(key);
|
|
581
|
+
let last = step.heads === void 0 ? rung(step) : narrowest;
|
|
582
|
+
if (last.sizing === void 0 || widthFits(last) && heightFits(last))
|
|
577
583
|
return withFloor(last), last.warnings.push({ code: "table-compact-fallback", severity: "info", message: `The full table did not fit. ${step.pad === pad && step.heads === void 0 ? "12 px side margins were" : `${step.pad} px cell air${step.heads === void 0 ? "" : ", heads on two lines"} and 12 px side margins were`} used.` }), last;
|
|
578
584
|
}
|
|
579
585
|
return withWidthRepair(compactTable(authoredData, options, full, margin, Math.min(pad, 3), 2, resolved, sizingOnly, formatFits));
|
|
@@ -613,7 +619,7 @@ function deepCopy(value, copies = /* @__PURE__ */ new Map()) {
|
|
|
613
619
|
return copy2;
|
|
614
620
|
}
|
|
615
621
|
if (Object.getPrototypeOf(value) !== Object.prototype && Object.getPrototypeOf(value) !== null) return value;
|
|
616
|
-
let copy = footerPlans.has(value) ? copyFrame(value) : {};
|
|
622
|
+
let copy = footerPlans.has(value) ? copyFrame(value) : Object.getPrototypeOf(value) === null ? emptyIdRecord() : {};
|
|
617
623
|
copies.set(value, copy);
|
|
618
624
|
for (let key of Reflect.ownKeys(value)) copy[key] = deepCopy(value[key], copies);
|
|
619
625
|
return copy;
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-H4H4O62O.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KJEZFOO6.js";
|
|
12
12
|
import {
|
|
13
13
|
sankeyCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-G57ZO7DB.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MZJBPDIL.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/sankey.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, labelPlacements: 0, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, focus: sharedKeys5, interactive: 0, annotations: sharedKeys9, linkColor: 0, order: 0, other: { share: 0, label: 0 }, nodeValue: 0 } }), SankeyChart = createChartComponent(registeredType(sankeyCore), checkOptionKeys);
|
|
@@ -1,31 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
INSIDE_MIN_H,
|
|
3
3
|
INSIDE_MIN_W
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-MBVXROCI.js";
|
|
5
5
|
import {
|
|
6
6
|
warnMissingValue
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-V7RAPZHX.js";
|
|
8
8
|
import {
|
|
9
9
|
labelOn
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WMZCOGD6.js";
|
|
11
11
|
import {
|
|
12
12
|
annotateEngine,
|
|
13
13
|
runAnnotatePass
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-DSZUV3TM.js";
|
|
15
15
|
import {
|
|
16
16
|
chartPalette,
|
|
17
17
|
chartTheme
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-U4P6TQRW.js";
|
|
19
19
|
import {
|
|
20
20
|
structureCount
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-LFX7W4B7.js";
|
|
22
|
+
import {
|
|
23
|
+
emptyIdRecord
|
|
24
|
+
} from "./chunk-LINZPU5D.js";
|
|
22
25
|
import {
|
|
23
26
|
calendarCategories,
|
|
24
27
|
chartSizing,
|
|
25
28
|
linearScale,
|
|
26
29
|
rowSizing,
|
|
27
30
|
warnSpreadOverflow
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U7LLQ7XM.js";
|
|
29
32
|
import {
|
|
30
33
|
prepareFractionData
|
|
31
34
|
} from "./chunk-3EZRM4YM.js";
|
|
@@ -50,14 +53,14 @@ import {
|
|
|
50
53
|
retainAdjacentWarningRule,
|
|
51
54
|
solveFrame,
|
|
52
55
|
solveLabels
|
|
53
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-GVKFFJ23.js";
|
|
54
57
|
import {
|
|
55
58
|
disclosureNote
|
|
56
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-E64MTTBC.js";
|
|
57
60
|
import {
|
|
58
61
|
formatterFromExample,
|
|
59
62
|
seriesRasterFormatter
|
|
60
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-RGZGLKFB.js";
|
|
61
64
|
import {
|
|
62
65
|
MINUS,
|
|
63
66
|
chartStrings,
|
|
@@ -65,11 +68,12 @@ import {
|
|
|
65
68
|
formatAutomaticPercent,
|
|
66
69
|
notApplicableGlyph,
|
|
67
70
|
smallRateDecimals
|
|
68
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-53OYF4ZT.js";
|
|
69
72
|
import {
|
|
70
73
|
cellMeta,
|
|
71
|
-
cellValue
|
|
72
|
-
|
|
74
|
+
cellValue,
|
|
75
|
+
isPctCell
|
|
76
|
+
} from "./chunk-O3VN6BTL.js";
|
|
73
77
|
import {
|
|
74
78
|
PLAN_MUTED_PAINT,
|
|
75
79
|
STAGE_SHADE_MAX,
|
|
@@ -85,7 +89,7 @@ import {
|
|
|
85
89
|
solidMutedPlan,
|
|
86
90
|
strokeToken,
|
|
87
91
|
withSegmentSeams
|
|
88
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-B3F4TS3V.js";
|
|
89
93
|
import {
|
|
90
94
|
NormalizeError,
|
|
91
95
|
accessibleTitle,
|
|
@@ -101,7 +105,7 @@ import {
|
|
|
101
105
|
} from "./chunk-WYJEOMNY.js";
|
|
102
106
|
import {
|
|
103
107
|
defaultMeasurer
|
|
104
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-AG2CJ4JY.js";
|
|
105
109
|
|
|
106
110
|
// src/core/strings/funnel.ts
|
|
107
111
|
var EN = {
|
|
@@ -157,6 +161,16 @@ var EN = {
|
|
|
157
161
|
}, { chartString } = chartStrings(EN, DE);
|
|
158
162
|
|
|
159
163
|
// src/core/charts/funnel/derive.ts
|
|
164
|
+
function funnelValueFormats(plotted, cells, formats, totalRaster) {
|
|
165
|
+
let percentOnly = cells.every((row, si) => !plotted[si].format && row.every((cell) => cell === null || isPctCell(cell) && !cell.format)) && cells.some((row) => row.some((cell) => cell !== null));
|
|
166
|
+
return {
|
|
167
|
+
valueText: (si, ci, value) => {
|
|
168
|
+
let cell = cells[si][ci];
|
|
169
|
+
return (isPctCell(cell) && !cell.format && !plotted[si].format ? formats[ci].fmtPercent : formats[ci].forSeries(plotted[si], cellMeta(cell)?.format))(value);
|
|
170
|
+
},
|
|
171
|
+
totalFmt: percentOnly ? totalRaster.fmtPercent : totalRaster.fmt
|
|
172
|
+
};
|
|
173
|
+
}
|
|
160
174
|
function clampedNote(clamped, options) {
|
|
161
175
|
return clamped === 0 ? [] : [disclosureNote(chartString(options, "clampedFunnelNote", { v1: clamped, v2: clamped === 1 ? "value" : "values" }))];
|
|
162
176
|
}
|
|
@@ -178,7 +192,7 @@ function deriveFunnel(plotted, stages, fmt, warnings) {
|
|
|
178
192
|
owner
|
|
179
193
|
}), clamped++, 0) : v;
|
|
180
194
|
})
|
|
181
|
-
), stageTotals =
|
|
195
|
+
), stageTotals = emptyIdRecord(), shownTotals = emptyIdRecord(), clampedStage = stages.map((_c, ci) => raw.some((row) => (row[ci] ?? 0) < 0)), known = stages.map((c, ci) => {
|
|
182
196
|
let cells = values.map((row) => row[ci] ?? null), sum = cells.reduce((a, v) => a + (v ?? 0), 0);
|
|
183
197
|
return stageTotals[c.id] = cells.includes(null) ? null : sum, shownTotals[c.id] = cells.includes(null) ? null : raw.reduce((a, row) => a + row[ci], 0), sum;
|
|
184
198
|
}), conversions = [], undefinedSteps = [];
|
|
@@ -289,9 +303,9 @@ function layoutCenteredFunnel(data, options) {
|
|
|
289
303
|
message: "values[].label has no effect on a centered funnel with several series because each stage prints its total, not segment values.",
|
|
290
304
|
suggest: "Set variant: 'rows' to show the cell labels, or remove values[].label."
|
|
291
305
|
});
|
|
292
|
-
let formats = stages.map((_, ci) => seriesRasterFormatter(options.format, plotted.length === 1 ? numbers.values[0] : plotted.map((_2, si) => numbers.values[si][ci]), options.locale?.language, options.unit, options.target, void 0, !0)), totalRaster = seriesRasterFormatter(options.format, Object.values(stageTotals), options.locale?.language, options.unit, options.target)
|
|
306
|
+
let formats = stages.map((_, ci) => seriesRasterFormatter(options.format, plotted.length === 1 ? numbers.values[0] : plotted.map((_2, si) => numbers.values[si][ci]), options.locale?.language, options.unit, options.target, void 0, !0)), totalRaster = seriesRasterFormatter(options.format, Object.values(stageTotals), options.locale?.language, options.unit, options.target);
|
|
293
307
|
if (!options.format) for (let format of [...formats, totalRaster]) format.spec.wholeCounts = !0;
|
|
294
|
-
let valueText = (
|
|
308
|
+
let { valueText, totalFmt } = funnelValueFormats(plotted, cells, formats, totalRaster), firstTotal = stageTotals[stages[0].id] ?? null, cumulativeCvrs = stages.map((stage, ci) => {
|
|
295
309
|
let total = stageTotals[stage.id] ?? null, measurable = !numbers.clampedStages[0] && !numbers.clampedStages[ci];
|
|
296
310
|
return { stageId: stage.id, rate: measurable && firstTotal !== null && firstTotal > 0 && total !== null ? total / firstTotal : null };
|
|
297
311
|
}), totalText = (stage) => {
|
|
@@ -356,7 +370,7 @@ function layoutCenteredFunnel(data, options) {
|
|
|
356
370
|
if (narrowestFunnel = Math.min(narrowestFunnel, w + outside), outside === 0) break;
|
|
357
371
|
}
|
|
358
372
|
narrowestFunnel = Math.min(narrowestFunnel, minFunnelW + columnW);
|
|
359
|
-
let axisX = funnelLeft + funnelWidth / 2, stepX = funnelLeft + funnelWidth + cagrReserve + 8, cvrX = stepX + stepBlockWidth, headY = (h) => inner.y + Math.max(0, headerReserve - 8 - h), flushRight = (x, block, w) => x + Math.max(0, block - colPad) - w, boundaryWidths =
|
|
373
|
+
let axisX = funnelLeft + funnelWidth / 2, stepX = funnelLeft + funnelWidth + cagrReserve + 8, cvrX = stepX + stepBlockWidth, headY = (h) => inner.y + Math.max(0, headerReserve - 8 - h), flushRight = (x, block, w) => x + Math.max(0, block - colPad) - w, boundaryWidths = emptyIdRecord();
|
|
360
374
|
stages.forEach((stage, categoryIndex) => {
|
|
361
375
|
boundaryWidths[stage.id] = boundaryWidthFor(categoryIndex, funnelWidth);
|
|
362
376
|
});
|
|
@@ -870,9 +884,9 @@ function layoutFunnel(data, options = {}) {
|
|
|
870
884
|
let stages = data.categories.map((c, i) => normalizeCategory(c, i)), plotted = data.series.filter((s) => s.role !== "reference");
|
|
871
885
|
if (plotted.length === 0)
|
|
872
886
|
throw new NormalizeError("empty-data", "series", "funnel requires at least one data-role series");
|
|
873
|
-
let { values, known, stageTotals, shownTotals, conversions, worstDrop, undefinedSteps, clamped } = deriveFunnel(plotted, stages, fmt, warnings), glyph = missingGlyph(theme), cells = plotted.map((series, si) => normalizeSeriesValues(series, stages, si)), formats = stages.map((_, ci) => seriesRasterFormatter(options.format, plotted.length === 1 ? values[0] : plotted.map((_2, si) => values[si][ci]), options.locale?.language, options.unit, options.target, void 0, !0)), totalRaster = seriesRasterFormatter(options.format, Object.values(stageTotals), options.locale?.language, options.unit, options.target)
|
|
887
|
+
let { values, known, stageTotals, shownTotals, conversions, worstDrop, undefinedSteps, clamped } = deriveFunnel(plotted, stages, fmt, warnings), glyph = missingGlyph(theme), cells = plotted.map((series, si) => normalizeSeriesValues(series, stages, si)), formats = stages.map((_, ci) => seriesRasterFormatter(options.format, plotted.length === 1 ? values[0] : plotted.map((_2, si) => values[si][ci]), options.locale?.language, options.unit, options.target, void 0, !0)), totalRaster = seriesRasterFormatter(options.format, Object.values(stageTotals), options.locale?.language, options.unit, options.target);
|
|
874
888
|
if (!options.format) for (let format of [...formats, totalRaster]) format.spec.wholeCounts = !0;
|
|
875
|
-
let valueText = (
|
|
889
|
+
let { valueText, totalFmt } = funnelValueFormats(plotted, cells, formats, totalRaster), cellText = (si, ci, value) => {
|
|
876
890
|
let label = cellMeta(cells[si][ci])?.label;
|
|
877
891
|
return label === !1 ? null : typeof label == "string" ? label.replace(/\$\{value\}/g, valueText(si, ci, value)) : valueText(si, ci, value);
|
|
878
892
|
}, occupied = createOccupiedIndex({ x: 0, y: 0, w: size.width, h: size.height }), margin = { ...canvasMargin(theme, size.width), ...options.margin }, legendOpts = normalizeLegendOption(options.legend, plotted.length > 1 ? { position: "top" } : void 0), legendItems = plotted.map((s, si) => ({
|