boardplot 0.57.0 → 0.58.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 +298 -0
- package/README.md +48 -14
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-VGSL4NJK.js} +1 -1
- package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-MHMXIDAJ.js} +8 -7
- package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-753KQBNN.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/{chunk-Q7VPTN5X.js → chunk-2ETK5TSA.js} +4 -4
- package/dist/{chunk-NO7GRVUU.js → chunk-2ETSI2EL.js} +8 -8
- package/dist/{chunk-4RN4OM6I.js → chunk-2GRXHWRH.js} +3 -3
- package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
- package/dist/{chunk-K6Y4HBK7.js → chunk-2LC2H3ZM.js} +1000 -904
- package/dist/{chunk-KF3ZHLHQ.js → chunk-2NX7EO7H.js} +5 -5
- package/dist/{chunk-D5G67OER.js → chunk-2QI2PK2O.js} +1 -1
- package/dist/{chunk-AFA32LHN.js → chunk-2VKQQLP7.js} +62 -36
- package/dist/chunk-3DOVXJ6K.js +602 -0
- package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-D5RAVZ5C.js → chunk-3HA4IJTO.js} +9 -8
- package/dist/{chunk-OTGNVAI4.js → chunk-3HPPTQEW.js} +4 -4
- package/dist/{chunk-TGR6PRKG.js → chunk-3KT2647F.js} +4 -2
- package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
- package/dist/{chunk-JKXJWCJ5.js → chunk-3P3FKPFN.js} +116 -54
- package/dist/{chunk-JMOBA5ES.js → chunk-3XAJSMYD.js} +2 -2
- package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-Y5IKCXQR.js → chunk-44JU3VOT.js} +5 -5
- package/dist/{chunk-YBYV56FS.js → chunk-44K75CYE.js} +3 -3
- package/dist/{chunk-WKWCNS6K.js → chunk-4FNM4D57.js} +5 -5
- package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-LO3AGGE3.js → chunk-4VV3KUFT.js} +5 -5
- package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-SHAAMKN7.js → chunk-5JEU6MWC.js} +18 -18
- package/dist/{chunk-I7KDPCC7.js → chunk-5JIB4VJA.js} +18 -10
- package/dist/{chunk-C5SQEYTQ.js → chunk-5OP3E2ZD.js} +153 -65
- package/dist/{chunk-BDCKHLUB.js → chunk-5SLBD4BT.js} +72 -304
- package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/chunk-5U567TYU.js +23 -0
- package/dist/{chunk-BFDPY7JM.js → chunk-5ZLF4S7X.js} +11 -6
- package/dist/{chunk-73O6AOAA.js → chunk-5ZMTQATF.js} +241 -140
- package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
- package/dist/chunk-64K3V4VN.js +25 -0
- package/dist/{chunk-BM2A3IGQ.js → chunk-67YJJJIB.js} +1 -1
- package/dist/{chunk-TDDSWNGD.js → chunk-6DJNFT2K.js} +30 -28
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/{chunk-H2POQ4LB.js → chunk-6XPV6M3Q.js} +4 -4
- package/dist/{chunk-XFCBH3TI.js → chunk-6ZDSEITW.js} +3 -3
- package/dist/{chunk-LFX5BERN.js → chunk-72HVDLMT.js} +46 -32
- package/dist/chunk-75NU5RLX.js +24 -0
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/{chunk-EFKFZNQC.js → chunk-7CAYRPJV.js} +34 -20
- package/dist/{chunk-EWR6WVOV.js → chunk-7GWWBHVQ.js} +6 -6
- package/dist/{chunk-H6EJ63QN.js → chunk-7NYUFMLJ.js} +143 -82
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-XNV7VOIT.js → chunk-A7R6FUS6.js} +4 -4
- package/dist/{chunk-KIXNHDXS.js → chunk-AEVGUOPB.js} +5 -5
- package/dist/{chunk-IXM6BAM4.js → chunk-AHIK2N72.js} +1 -1
- package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-CT4RFZO4.js → chunk-AN2V2LC4.js} +37 -22
- package/dist/{chunk-T5MBORBK.js → chunk-AOFUA5XP.js} +1 -1
- package/dist/{chunk-7FAO4ICF.js → chunk-BCMEGJRX.js} +2 -2
- package/dist/{chunk-H3EWFSWI.js → chunk-BDIKWR45.js} +43 -29
- package/dist/{chunk-DJBMA4FW.js → chunk-BG6AIWAK.js} +4 -6
- package/dist/{chunk-6XU5XGYV.js → chunk-BOT6W3VB.js} +5 -5
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-6LQKU6YN.js → chunk-BZ67BJBH.js} +11 -10
- package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
- package/dist/{chunk-FJKFYQ5I.js → chunk-C5OBPO4Z.js} +36 -28
- package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
- package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
- package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
- package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
- package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
- package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
- package/dist/{chunk-5TUDYKNL.js → chunk-DEANHDXU.js} +42 -29
- package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-ZSYU6LIH.js → chunk-DIHX6NUB.js} +5 -5
- package/dist/{chunk-W7Q6PLT4.js → chunk-DILQ34NW.js} +37 -37
- package/dist/{chunk-IZRTNCJQ.js → chunk-DJKRYJP7.js} +5 -5
- package/dist/{chunk-43PCSBVQ.js → chunk-DKLC6QLF.js} +634 -8
- package/dist/{chunk-I6QGYRY4.js → chunk-DNHTMCUP.js} +2 -2
- package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
- package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
- package/dist/chunk-E262NRFP.js +39 -0
- package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-5H4HFRDO.js → chunk-EBUK7HJP.js} +5 -5
- package/dist/{chunk-YGPLUENN.js → chunk-ECBHC272.js} +132 -83
- package/dist/{chunk-KLQKHA3T.js → chunk-EFW43JQJ.js} +5 -5
- package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
- package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
- package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
- package/dist/{chunk-AFGQXMKT.js → chunk-ETRAPN5G.js} +143 -62
- package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
- package/dist/chunk-F2ET5ZTT.js +49 -0
- package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
- package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
- package/dist/{chunk-LW4ZQGVL.js → chunk-FGW54I23.js} +7 -8
- package/dist/{chunk-UCIAHSJK.js → chunk-FP5B5XIL.js} +7 -3
- package/dist/{chunk-QRZESG66.js → chunk-FRHQGA5Q.js} +64 -239
- package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
- package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-54HEIM2A.js → chunk-FWSMENKH.js} +2 -2
- package/dist/{chunk-F4JAGDPD.js → chunk-FWTUGNSF.js} +8 -8
- package/dist/{chunk-HB3TH7GY.js → chunk-FZKDZQ6U.js} +10 -6
- package/dist/{chunk-6EE6XEMA.js → chunk-G4FF6G3I.js} +25 -16
- package/dist/{chunk-72OJBDRB.js → chunk-GB6BZSTL.js} +52 -41
- package/dist/{chunk-QLWUFEKR.js → chunk-GCIHRRDJ.js} +8 -8
- package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
- package/dist/chunk-GO66OCN7.js +24 -0
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
- package/dist/{chunk-TWRFVW3J.js → chunk-GUTLXO7Q.js} +138 -89
- package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/{chunk-7P7D6WXR.js → chunk-HBQHSZ6S.js} +3 -3
- package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
- package/dist/{chunk-VY67Q6CJ.js → chunk-HUQRO6VF.js} +36 -33
- package/dist/{chunk-WSKZZ2ZB.js → chunk-I5VDW2XZ.js} +538 -503
- package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
- package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
- package/dist/chunk-IU335UO7.js +27 -0
- package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-PSYPB22T.js → chunk-J4QRB6DQ.js} +5 -5
- package/dist/{chunk-CEMXGMQN.js → chunk-JCMGKQVS.js} +3 -3
- package/dist/{chunk-XR7VOF2V.js → chunk-JM7UTLF3.js} +25 -13
- package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-SHCW2TCA.js → chunk-JSRQTDZZ.js} +25 -23
- package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
- package/dist/{chunk-BO5EJBLH.js → chunk-JUYRDZSV.js} +63 -43
- package/dist/{chunk-I5ZADE2U.js → chunk-JVGL2SCN.js} +1 -1
- package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-JIH52I36.js → chunk-KGBUXMFP.js} +119 -85
- package/dist/{chunk-2KCK63DD.js → chunk-KIE5V3DA.js} +2 -2
- package/dist/{chunk-A33MFWHW.js → chunk-KU4PCG4W.js} +2 -2
- package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
- package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
- package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
- package/dist/{chunk-JRRSKCGG.js → chunk-LG6M2JTH.js} +3 -3
- package/dist/{chunk-KUMJI5B6.js → chunk-LIE2WSB4.js} +17 -14
- package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
- package/dist/{chunk-EHNGPUTO.js → chunk-LMMS675D.js} +5 -5
- package/dist/{chunk-ANNQJWDX.js → chunk-LPKGZ664.js} +285 -34
- package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
- package/dist/chunk-LQWINE7K.js +211 -0
- package/dist/{chunk-RHBQ2Q5H.js → chunk-MKMMQDIY.js} +60 -43
- package/dist/{chunk-RMVCKO6N.js → chunk-MQ4IEDM5.js} +458 -136
- package/dist/{chunk-J22ETKDJ.js → chunk-MRM4KJ2O.js} +2 -2
- package/dist/{chunk-Z2BDTZDT.js → chunk-MX2OZHIT.js} +97 -39
- package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-IUVJVMKS.js → chunk-NHU26HQ7.js} +55 -32
- package/dist/{chunk-6KHRMK3I.js → chunk-NQVJ4FPY.js} +158 -75
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/{chunk-L2XRUG4P.js → chunk-OALBVELJ.js} +5 -5
- package/dist/{chunk-3DUGZ7ML.js → chunk-OGZ4UPYK.js} +46 -31
- package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
- package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-RHVP62HI.js → chunk-OPYDTW5Q.js} +5 -5
- package/dist/{chunk-4U2WSW6F.js → chunk-OSJN7KDS.js} +65 -36
- package/dist/{chunk-EY4OA4OF.js → chunk-OSJXIW6I.js} +370 -785
- package/dist/{chunk-NRYERHEI.js → chunk-OVVE42P4.js} +5 -5
- package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
- package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
- package/dist/{chunk-CIDOL4FO.js → chunk-PDTIQL3B.js} +5 -5
- package/dist/{chunk-TQ5HHNM3.js → chunk-PJ5BYZPN.js} +2 -2
- package/dist/{chunk-EHQLLZCQ.js → chunk-PK7Z7WRJ.js} +59 -34
- package/dist/{chunk-KJLH5EHD.js → chunk-PL6NWB5U.js} +175 -110
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/{chunk-KQ2WZ6BY.js → chunk-PP6A4X55.js} +1 -1
- package/dist/{chunk-O7Y6RJ4D.js → chunk-PPCH3PLO.js} +11 -11
- package/dist/{chunk-IRXTNSZL.js → chunk-PPE6S7WU.js} +40 -22
- package/dist/{chunk-VT7PBGL2.js → chunk-PT7KSIEO.js} +23 -36
- package/dist/{chunk-GADI2DU7.js → chunk-QAUGRVRU.js} +121 -23
- package/dist/{chunk-2X6XY4K4.js → chunk-QMFWZG2P.js} +39 -19
- package/dist/{chunk-YB6QGOCO.js → chunk-QZGGCE45.js} +2 -2
- package/dist/{chunk-5P4MXWKP.js → chunk-R2RJQ3BM.js} +4 -4
- package/dist/{chunk-FAFUMSPR.js → chunk-R7HBIQ63.js} +83 -51
- package/dist/{chunk-76UL4CT4.js → chunk-RBNDZLYS.js} +27 -22
- package/dist/{chunk-XN7JDII2.js → chunk-RCSY4CT4.js} +230 -107
- package/dist/{chunk-OAT6FWKL.js → chunk-RHQRPJHS.js} +5 -5
- package/dist/chunk-RI6XQKWJ.js +26 -0
- package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
- package/dist/{chunk-NINK4G7U.js → chunk-RLAVNCQJ.js} +2 -2
- package/dist/{chunk-FERP4WS3.js → chunk-ROPPWJQB.js} +11 -10
- package/dist/{chunk-SSZB3VXG.js → chunk-SELOV32X.js} +102 -47
- package/dist/{chunk-EEBMK6T6.js → chunk-SQI4NWTQ.js} +8 -8
- package/dist/{chunk-2WTD3GCR.js → chunk-SRJ74CMG.js} +2 -2
- package/dist/{chunk-LSR3SBJ4.js → chunk-STWOURLG.js} +234 -136
- package/dist/{chunk-BQIADGJB.js → chunk-SWMFXSVW.js} +5 -5
- package/dist/{chunk-5HTGSB6Y.js → chunk-SZ5VGWDY.js} +3 -3
- package/dist/{chunk-EDBUVDRI.js → chunk-T26G23RS.js} +359 -86
- package/dist/chunk-T7GPIJ4L.js +89 -0
- package/dist/{chunk-LGMV7ZV4.js → chunk-TAEB3RU6.js} +5 -5
- package/dist/{chunk-YFI5PN5O.js → chunk-TBDIMTRD.js} +34 -11
- package/dist/{chunk-HDSHS2QZ.js → chunk-TFFPEWNP.js} +70 -47
- package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
- package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
- package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
- package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
- package/dist/chunk-U74AWJ3X.js +24 -0
- package/dist/chunk-UC7LBW7N.js +26 -0
- package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-62JZL6FW.js → chunk-UCYL3YA7.js} +56 -42
- package/dist/{chunk-AKJO6N4K.js → chunk-UD2GI3CS.js} +11 -4
- package/dist/{chunk-MOQFYJ3F.js → chunk-ULQIC76A.js} +5 -5
- package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
- package/dist/{chunk-2I76VFMZ.js → chunk-UYMFLWM6.js} +49 -37
- package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
- package/dist/{chunk-HGPFEG2L.js → chunk-VRFJAF3R.js} +5 -5
- package/dist/chunk-VS2R3OGN.js +34 -0
- package/dist/{chunk-EEL2N4Y6.js → chunk-VS5B4J2D.js} +5 -5
- package/dist/{chunk-G5BUGYIL.js → chunk-W4R6SGU3.js} +192 -113
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/{chunk-YCUNFAEE.js → chunk-WJS6SAWA.js} +238 -127
- package/dist/{chunk-VFLMBA2M.js → chunk-WQYNKF33.js} +19 -18
- package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
- package/dist/{chunk-4JNHF6JW.js → chunk-X24WAHHV.js} +84 -40
- package/dist/{chunk-GKQLKUMF.js → chunk-X3UCQPVV.js} +41 -32
- package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
- package/dist/{chunk-AOIZJ7GR.js → chunk-XDIAQEYK.js} +6 -6
- package/dist/{chunk-7EQU2TUN.js → chunk-XFPNYHX3.js} +84 -53
- package/dist/{chunk-NCCDEUHD.js → chunk-XIBVAKCO.js} +1 -1
- package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
- package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
- package/dist/{chunk-Y5WHM2Q5.js → chunk-XTFO6D4L.js} +1 -1
- package/dist/chunk-XWRI3N5O.js +70 -0
- package/dist/{chunk-IVQT2E3Y.js → chunk-XXPLPSOE.js} +13 -13
- package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-QZMLSK43.js → chunk-YEJZ2OYS.js} +294 -145
- package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
- package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-OKM5LYYP.js → chunk-ZGZLEUKM.js} +5 -5
- package/dist/{chunk-QHPJ5ZKS.js → chunk-ZHRGX225.js} +5 -5
- package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
- package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
- package/dist/{chunk-UFZXZJJG.js → chunk-ZSLTSCTI.js} +5 -5
- package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
- package/dist/cli/index.js +8 -3
- package/dist/{core-UNX4ZV4M.js → core-43GLGBOY.js} +5 -1
- package/dist/{core-T3OSZOVV.js → core-5GI3ERXO.js} +3 -1
- package/dist/{core-AMWCZTOT.js → core-5L7TMK7I.js} +5 -1
- package/dist/{core-5S5CJHBG.js → core-7TO4OVY5.js} +2 -1
- package/dist/{core-BJZEJ63L.js → core-BJVENHFQ.js} +3 -1
- package/dist/{core-A7HXVSKB.js → core-BX4MFWKC.js} +2 -1
- package/dist/{core-4PW4MXWR.js → core-C3KXTOIZ.js} +4 -1
- package/dist/{core-SKMHEA4Y.js → core-C5Y6BFLL.js} +3 -1
- package/dist/{core-FTQBESDS.js → core-CLUSJ2SK.js} +3 -1
- package/dist/{core-QM34237W.js → core-E3IN2VVH.js} +2 -1
- package/dist/{core-4M4RY7MX.js → core-FD67NQOV.js} +3 -1
- package/dist/{core-WXZJ7V7S.js → core-FDKMLRAK.js} +4 -1
- package/dist/{core-L3UR75IJ.js → core-FL6Z3VVX.js} +4 -1
- package/dist/{core-XKXDXALI.js → core-JC7JUFPY.js} +6 -1
- package/dist/{core-WP73P4CW.js → core-JF33TADA.js} +5 -1
- package/dist/{core-DMDAXVMY.js → core-JH32ZAKM.js} +2 -1
- package/dist/{core-GS4DXDDG.js → core-JYYZPPQV.js} +4 -1
- package/dist/{core-N2JEWJ7D.js → core-KJTKCV4U.js} +2 -1
- package/dist/{core-7XKNJM7Y.js → core-LCQPE5Y6.js} +5 -1
- package/dist/{core-ZACFV6XR.js → core-LHVGWE54.js} +5 -1
- package/dist/{core-VT35VDVS.js → core-OVSNBOCE.js} +6 -1
- package/dist/{core-AVA4XLQ2.js → core-PPEC236B.js} +2 -1
- package/dist/{core-QFAVWFI3.js → core-QTJZDK5H.js} +2 -1
- package/dist/{core-VWYXK2R3.js → core-R3YZCOUZ.js} +4 -1
- package/dist/{core-OFPPRHYY.js → core-RIBW5XU4.js} +3 -1
- package/dist/{core-MAW4S3KA.js → core-RJFILBWL.js} +5 -1
- package/dist/{core-FCSA74RT.js → core-RWSXEKTE.js} +3 -1
- package/dist/{core-WPEYRK6Y.js → core-SOPPZLEH.js} +4 -1
- package/dist/{core-EMSJRGSE.js → core-TBUZCXLX.js} +2 -1
- package/dist/{core-OBPTBKX6.js → core-TZ5QLTAX.js} +2 -1
- package/dist/{core-JDZDBTID.js → core-U7E5W4MY.js} +2 -1
- package/dist/{core-ZSERZGK6.js → core-UBNVSL44.js} +3 -1
- package/dist/{core-WNT6ZMRO.js → core-UDRD4WIU.js} +2 -1
- package/dist/{core-VRVL6LIM.js → core-UVJZ4HY2.js} +3 -1
- package/dist/{core-7TTM4KRP.js → core-X7WWYQH4.js} +3 -1
- package/dist/{core-D2OIGYC7.js → core-XP56X47I.js} +4 -1
- package/dist/{core-CCB3IXGD.js → core-XQG54CYG.js} +3 -1
- package/dist/{dataTable-7IO546LM.js → dataTable-U7W4I6IF.js} +7 -2
- package/dist/{engine-US3N6UCH.js → engine-O5V26MGR.js} +23 -18
- package/dist/fixtures.js +2 -1
- package/dist/flags-BVLSAXT3.js +10 -0
- package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
- package/dist/geo/dach.js +1 -1
- package/dist/geo/de-states.js +1 -1
- package/dist/geo/eu27.js +1 -1
- package/dist/geo/europe.js +1 -1
- package/dist/geo/index.js +2 -2
- package/dist/geo/us-states.js +1 -1
- package/dist/geo/world.js +1 -1
- package/dist/index.js +27 -20
- package/dist/{main-2UWKGUHR.js → main-35GS47XC.js} +50 -119
- package/dist/mcp/server.js +121 -118
- package/dist/react/bar.js +5 -1
- package/dist/react/bartable.js +3 -1
- package/dist/react/box.js +3 -1
- package/dist/react/bullet.js +4 -1
- package/dist/react/butterfly.js +5 -1
- package/dist/react/choropleth.js +3 -1
- package/dist/react/cohort.js +3 -1
- package/dist/react/column.js +5 -1
- package/dist/react/combo.js +5 -1
- package/dist/react/creative.js +4 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +6 -1
- package/dist/react/dot.js +4 -1
- package/dist/react/export.js +29 -18
- package/dist/react/funnel.js +4 -1
- package/dist/react/gantt.js +3 -1
- package/dist/react/grid.js +6 -1
- package/dist/react/heatmap.js +3 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +92 -85
- package/dist/react/kpi.js +4 -1
- package/dist/react/likert.js +6 -1
- package/dist/react/line.js +4 -1
- package/dist/react/mekko.js +5 -1
- package/dist/react/pareto.js +6 -1
- package/dist/react/pie.js +4 -1
- package/dist/react/prepare.js +35 -22
- package/dist/react/pvm.js +6 -1
- package/dist/react/pyramid.js +5 -1
- package/dist/react/sankey.js +3 -1
- package/dist/react/scatter.js +3 -1
- package/dist/react/slope.js +4 -1
- package/dist/react/sparkline.js +4 -1
- package/dist/react/spec.js +17 -13
- package/dist/react/status.js +3 -1
- package/dist/react/story.js +3 -2
- package/dist/react/table.js +4 -1
- package/dist/react/theme.js +5 -3
- package/dist/react/tilemap.js +3 -1
- package/dist/react/treemap.js +3 -1
- package/dist/react/variance.js +5 -1
- package/dist/react/waffle.js +3 -1
- package/dist/react/waterfall.js +5 -1
- package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-DYDVHBAX.js → rowsModule-H2S6WW4D.js} +1 -1
- package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
- package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
- package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
- package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
- package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
- package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
- package/dist/{schema-PHIHMDVB.js → schema-A26ZNGTZ.js} +1 -3
- package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
- package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
- package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
- package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
- package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
- package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
- package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
- package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
- package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
- package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
- package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
- package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
- package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
- package/dist/{schema-6PL46VXZ.js → schema-FU2AFIEE.js} +1 -3
- package/dist/{schema-XIHAKX3B.js → schema-JNJFCYBM.js} +1 -1
- package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
- package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
- package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
- package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
- package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
- package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
- package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
- package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
- package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
- package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
- package/dist/{schema-J4HCSD5C.js → schema-QPIC5MAG.js} +6 -2
- package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
- package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
- package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
- package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
- package/dist/{specValidation-XGELWQUU.js → specValidation-2NHJT7TQ.js} +3 -1
- package/dist/theme.js +4 -3
- package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
- package/dist/types/core/annotate.d.ts +27 -2
- package/dist/types/core/annotateArms.d.ts +3 -1
- package/dist/types/core/annotateTargets.d.ts +4 -0
- package/dist/types/core/annotationOrigin.d.ts +13 -0
- package/dist/types/core/axis.d.ts +2 -2
- package/dist/types/core/charts/band/stacks.d.ts +7 -1
- package/dist/types/core/charts/column/model.d.ts +13 -0
- package/dist/types/core/charts/combo/layout.d.ts +7 -0
- package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
- package/dist/types/core/charts/grid/normalize.d.ts +5 -0
- package/dist/types/core/charts/grid/schema.d.ts +2 -2
- package/dist/types/core/charts/pareto/layout.d.ts +2 -0
- package/dist/types/core/charts/pvm/types.d.ts +1 -0
- package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
- package/dist/types/core/charts/scatter/model.d.ts +5 -0
- package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
- package/dist/types/core/charts/table/resolve.d.ts +8 -3
- package/dist/types/core/charts/table/view.d.ts +24 -1
- package/dist/types/core/claims/browser.d.ts +2 -0
- package/dist/types/core/claims/ids.d.ts +38 -0
- package/dist/types/core/deferred.d.ts +1 -0
- package/dist/types/core/doc/diagnostics.d.ts +3 -2
- package/dist/types/core/formatSpec.d.ts +33 -14
- package/dist/types/core/frame.d.ts +25 -58
- package/dist/types/core/frameText.d.ts +203 -0
- package/dist/types/core/geometry.d.ts +2 -0
- package/dist/types/core/label/categoryRow.d.ts +19 -2
- package/dist/types/core/label/solver.d.ts +23 -2
- package/dist/types/core/normalize/shared.d.ts +12 -2
- package/dist/types/core/notes.d.ts +15 -2
- package/dist/types/core/reading.d.ts +12 -1
- package/dist/types/core/request.d.ts +1 -1
- package/dist/types/core/schema/capability.d.ts +12 -0
- package/dist/types/core/seriesIdentity.d.ts +4 -1
- package/dist/types/core/sizing.d.ts +32 -1
- package/dist/types/core/structureCounts.d.ts +3 -1
- package/dist/types/core/theme.d.ts +33 -4
- package/dist/types/core/themeRules.d.ts +2 -0
- package/dist/types/core/types/annotations.d.ts +74 -4
- package/dist/types/core/types/options.d.ts +35 -3
- package/dist/types/core/types/scene.d.ts +30 -2
- package/dist/types/core/types/table.d.ts +6 -0
- package/dist/types/core/types/theme.d.ts +23 -0
- package/dist/types/react/TableChart.d.ts +5 -0
- package/dist/validate.js +13 -6
- package/docs/TELEMETRY.md +2 -2
- package/docs/manual.md +252 -62
- package/docs/reference/bar.md +12 -4
- package/docs/reference/bartable.md +2 -2
- package/docs/reference/box.md +8 -4
- package/docs/reference/bullet.md +9 -5
- package/docs/reference/butterfly.md +10 -5
- package/docs/reference/choropleth.md +3 -5
- package/docs/reference/cohort.md +1 -1
- package/docs/reference/column.md +18 -4
- package/docs/reference/combo.md +10 -5
- package/docs/reference/creative.md +3 -7
- package/docs/reference/diagram.md +1 -1
- package/docs/reference/dimswitch.md +23 -88
- package/docs/reference/dot.md +9 -5
- package/docs/reference/fixtures.md +37 -1
- package/docs/reference/funnel.md +9 -5
- package/docs/reference/gantt.md +8 -15
- package/docs/reference/grid.md +5 -2
- package/docs/reference/heatmap.md +10 -6
- package/docs/reference/kpi.md +1 -1
- package/docs/reference/likert.md +9 -4
- package/docs/reference/line.md +18 -5
- package/docs/reference/mekko.md +10 -5
- package/docs/reference/options.md +17 -13
- package/docs/reference/pareto.md +8 -4
- package/docs/reference/pie.md +9 -5
- package/docs/reference/pvm.md +9 -5
- package/docs/reference/pyramid.md +8 -4
- package/docs/reference/react.md +5 -5
- package/docs/reference/sankey.md +2 -2
- package/docs/reference/scatter.md +8 -4
- package/docs/reference/slope.md +9 -5
- package/docs/reference/sparkline.md +1 -1
- package/docs/reference/status.md +1 -1
- package/docs/reference/table.md +33 -114
- package/docs/reference/theme.md +12 -4
- package/docs/reference/tilemap.md +2 -4
- package/docs/reference/treemap.md +1 -1
- package/docs/reference/variance.md +12 -6
- package/docs/reference/waffle.md +1 -1
- package/docs/reference/warnings.md +1077 -0
- package/docs/reference/waterfall.md +16 -4
- package/docs/use-cases.md +25 -13
- package/llms.txt +19 -6
- package/package.json +18 -3
- package/dist/chunk-5RHP7YTL.js +0 -24
- package/dist/chunk-6VU2XI3W.js +0 -89
- package/dist/chunk-6WJOHZPW.js +0 -26
- package/dist/chunk-FL3FQ2YA.js +0 -27
- package/dist/chunk-G5CELEUR.js +0 -26
- package/dist/chunk-M4SPKUZE.js +0 -7
- package/dist/chunk-OF7FMGH5.js +0 -24
- package/dist/chunk-S2TSXUYP.js +0 -24
- package/dist/chunk-TKERVBJ3.js +0 -23
- package/dist/chunk-VMGTNB6H.js +0 -25
- package/dist/chunk-WZL4EEBS.js +0 -11
- package/dist/chunk-YJGFT63R.js +0 -27
- package/dist/chunk-ZNX5J7D7.js +0 -47
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
liftOrFallback,
|
|
3
|
-
missesSize,
|
|
4
|
-
tightSpacingWarning
|
|
5
|
-
} from "./chunk-ZNX5J7D7.js";
|
|
6
1
|
import {
|
|
7
2
|
chartTheme
|
|
8
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WFBN2HXR.js";
|
|
4
|
+
import {
|
|
5
|
+
prepareTableWidthRung,
|
|
6
|
+
solveTableWidthRung,
|
|
7
|
+
tableWidths
|
|
8
|
+
} from "./chunk-3DOVXJ6K.js";
|
|
9
9
|
import {
|
|
10
10
|
ZERO_LIFT,
|
|
11
11
|
arrowKey,
|
|
@@ -22,25 +22,24 @@ import {
|
|
|
22
22
|
heatKey,
|
|
23
23
|
heatRanges,
|
|
24
24
|
isCohortDensity,
|
|
25
|
+
isTotalRow,
|
|
26
|
+
labelOnlyRow,
|
|
25
27
|
levelLadder,
|
|
28
|
+
noteLineIndex,
|
|
26
29
|
prepareTableData,
|
|
27
|
-
prepareTableWidthRung,
|
|
28
30
|
presetLanguage,
|
|
29
31
|
printsFigures,
|
|
30
32
|
resolvePreparedTable,
|
|
31
33
|
resolveTable,
|
|
32
34
|
rowGrounds,
|
|
33
|
-
|
|
35
|
+
tableCellKey,
|
|
36
|
+
tableCellNodeId,
|
|
34
37
|
tableFootnotes,
|
|
35
|
-
|
|
38
|
+
tableFrameUnit,
|
|
36
39
|
visibleColumns,
|
|
37
40
|
visibleInlineRows,
|
|
38
41
|
visibleRows
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import {
|
|
41
|
-
tableCellKey,
|
|
42
|
-
tableCellNodeId
|
|
43
|
-
} from "./chunk-M4SPKUZE.js";
|
|
42
|
+
} from "./chunk-OSJXIW6I.js";
|
|
44
43
|
import {
|
|
45
44
|
columnOwnsFormat
|
|
46
45
|
} from "./chunk-X3YP4DUV.js";
|
|
@@ -50,10 +49,16 @@ import {
|
|
|
50
49
|
lastObservedIndex,
|
|
51
50
|
plotSparkline,
|
|
52
51
|
sparklineDomain
|
|
53
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-PT7KSIEO.js";
|
|
54
53
|
import {
|
|
55
54
|
structureCount
|
|
56
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-KW4JXWHO.js";
|
|
56
|
+
import {
|
|
57
|
+
liftOrFallback,
|
|
58
|
+
missesSize,
|
|
59
|
+
tightAdvice,
|
|
60
|
+
tightSpacingWarning
|
|
61
|
+
} from "./chunk-XWRI3N5O.js";
|
|
57
62
|
import {
|
|
58
63
|
CHIP_PAD_X,
|
|
59
64
|
ENGINE_NOTES,
|
|
@@ -63,6 +68,7 @@ import {
|
|
|
63
68
|
INLINE_LABEL_INDENT,
|
|
64
69
|
MARK_SIZE,
|
|
65
70
|
SECTION_CHIP_GAP,
|
|
71
|
+
SORT_BUTTON_MIN,
|
|
66
72
|
cellPadX,
|
|
67
73
|
changeLineFitFont,
|
|
68
74
|
changeLineFont,
|
|
@@ -77,7 +83,10 @@ import {
|
|
|
77
83
|
rowFont,
|
|
78
84
|
strongColumnFont,
|
|
79
85
|
tableFonts
|
|
80
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-F3XOBFS4.js";
|
|
87
|
+
import {
|
|
88
|
+
chartString
|
|
89
|
+
} from "./chunk-PMT75APP.js";
|
|
81
90
|
import {
|
|
82
91
|
chipHeight,
|
|
83
92
|
chipPaints,
|
|
@@ -89,7 +98,7 @@ import {
|
|
|
89
98
|
statusSquarePaint,
|
|
90
99
|
tableGround,
|
|
91
100
|
toneTextPaint
|
|
92
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-4ROZ4TFL.js";
|
|
93
102
|
import {
|
|
94
103
|
qualifierFont,
|
|
95
104
|
tableInk,
|
|
@@ -98,7 +107,7 @@ import {
|
|
|
98
107
|
import {
|
|
99
108
|
DEFAULT_EMPTY_MESSAGE,
|
|
100
109
|
hasNoDataRows
|
|
101
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-QZGGCE45.js";
|
|
102
111
|
import {
|
|
103
112
|
ACCEPTANCE_PROBE,
|
|
104
113
|
FIXED_SIZE_PROBE,
|
|
@@ -120,11 +129,10 @@ import {
|
|
|
120
129
|
spareShare,
|
|
121
130
|
tableTextMeasure,
|
|
122
131
|
withPlanInputs
|
|
123
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-ETRAPN5G.js";
|
|
124
133
|
import {
|
|
125
134
|
authoredNotes,
|
|
126
135
|
composedTextRole,
|
|
127
|
-
createOccupiedIndex,
|
|
128
136
|
cutWithTitle,
|
|
129
137
|
distinctCut,
|
|
130
138
|
fitText,
|
|
@@ -133,11 +141,11 @@ import {
|
|
|
133
141
|
legendOff,
|
|
134
142
|
legendRequired,
|
|
135
143
|
solveFrame
|
|
136
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-I5VDW2XZ.js";
|
|
137
145
|
import {
|
|
138
146
|
disclosureNote,
|
|
139
147
|
staticFrame
|
|
140
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-DZYTXZNS.js";
|
|
141
149
|
import {
|
|
142
150
|
AUTOMATIC_FORMAT,
|
|
143
151
|
MAGNITUDE_DIVISOR,
|
|
@@ -148,7 +156,7 @@ import {
|
|
|
148
156
|
parseFormatExample,
|
|
149
157
|
specUnitKind,
|
|
150
158
|
unitOfSpec
|
|
151
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
152
160
|
import {
|
|
153
161
|
formatExactNumber,
|
|
154
162
|
nonzeroDecimals,
|
|
@@ -159,6 +167,7 @@ import {
|
|
|
159
167
|
import {
|
|
160
168
|
canvasMargin,
|
|
161
169
|
colorblindRoles,
|
|
170
|
+
createOccupiedIndex,
|
|
162
171
|
markRolePaint,
|
|
163
172
|
panelTypeClass,
|
|
164
173
|
resolveSemanticPaletteTheme,
|
|
@@ -169,22 +178,22 @@ import {
|
|
|
169
178
|
strokeToken,
|
|
170
179
|
textScaleOf,
|
|
171
180
|
typeWidthClass
|
|
172
|
-
} from "./chunk-
|
|
181
|
+
} from "./chunk-TX5FSNAU.js";
|
|
173
182
|
import {
|
|
174
183
|
TARGET_SIZE,
|
|
175
184
|
accessibleTitle,
|
|
176
185
|
resolveSize
|
|
177
|
-
} from "./chunk-
|
|
178
|
-
import {
|
|
179
|
-
maxOf,
|
|
180
|
-
minOf,
|
|
181
|
-
pushAll
|
|
182
|
-
} from "./chunk-WYJEOMNY.js";
|
|
186
|
+
} from "./chunk-RJICOOB3.js";
|
|
183
187
|
import {
|
|
184
188
|
WIDTH_SAFETY,
|
|
185
189
|
defaultMeasurer,
|
|
186
190
|
ellipsize
|
|
187
191
|
} from "./chunk-UIHGGWES.js";
|
|
192
|
+
import {
|
|
193
|
+
maxOf,
|
|
194
|
+
minOf,
|
|
195
|
+
pushAll
|
|
196
|
+
} from "./chunk-WYJEOMNY.js";
|
|
188
197
|
|
|
189
198
|
// src/core/charts/table/fitPolicy.ts
|
|
190
199
|
var COMPACT_RETRY = /* @__PURE__ */ Symbol("tableCompactRetry"), SIZING_ONLY = /* @__PURE__ */ Symbol("tableSizingOnly"), HEAD_LINES = /* @__PURE__ */ Symbol("tableHeadLines"), TIGHT_SPACING = /* @__PURE__ */ Symbol("tableTightSpacing"), HEAD_AIR_MIN = /* @__PURE__ */ Symbol("tableHeadAirMin"), HEAD_LOOSE = /* @__PURE__ */ Symbol("tableHeadLoose"), TIGHT_PAD = 2, SUB_LINES = /* @__PURE__ */ Symbol("tableSubLines"), REGULAR_SPACING = /* @__PURE__ */ Symbol("tableRegularSpacing"), CARD_GUTTER = 12;
|
|
@@ -266,6 +275,118 @@ function compactTable(authoredData, options, full, margin, cellPadX2, heads, res
|
|
|
266
275
|
return compact.warnings.push({ code: "table-compact-fallback", severity: "info", message: `The full table did not fit. Compact spacing and tight margins${heightOmitted(options.size) ? " and automatic height" : ""} were used.` }), compact;
|
|
267
276
|
}
|
|
268
277
|
|
|
278
|
+
// src/core/charts/table/need.ts
|
|
279
|
+
function tableRung({ table, surface }) {
|
|
280
|
+
let rungs = /* @__PURE__ */ new WeakMap(), fullPad, run = (candidate2, ...rest) => {
|
|
281
|
+
let geometry = surface.run(candidate2, ...rest);
|
|
282
|
+
return rungs.set(geometry, candidate2), fullPad ??= surface.cellPadOf(geometry), geometry;
|
|
283
|
+
}, undrawn = executeTableFit(surface.data, surface.options, table, surface.preserveCompactFloor, run, surface.cutCount, surface.hasHeadAir), candidate = rungs.get(undrawn) ?? {}, cellPadX2 = surface.cellPadOf(undrawn);
|
|
284
|
+
return { rung: rungOf(candidate, cellPadX2 < fullPad), cellPadX: cellPadX2, headLines: candidate[HEAD_LINES] ?? 1, undrawn };
|
|
285
|
+
}
|
|
286
|
+
function tableNeed(choice, drawn) {
|
|
287
|
+
let { size, plot, sizing, marks, warnings } = drawn;
|
|
288
|
+
return {
|
|
289
|
+
rung: choice.rung,
|
|
290
|
+
cellPadX: choice.cellPadX,
|
|
291
|
+
headLines: choice.headLines,
|
|
292
|
+
tracks: marks.columns.map((column) => ({ id: column.id, width: column.w })),
|
|
293
|
+
margins: { left: plot.x, right: size.width - plot.x - plot.w },
|
|
294
|
+
minWidth: sizing?.minWidth ?? size.width,
|
|
295
|
+
naturalWidth: sizing?.naturalWidth ?? size.width,
|
|
296
|
+
height: size.height,
|
|
297
|
+
warnings,
|
|
298
|
+
advice: advisedSize(warnings),
|
|
299
|
+
geometry: drawn
|
|
300
|
+
};
|
|
301
|
+
}
|
|
302
|
+
function rungOf(candidate, lessAir) {
|
|
303
|
+
return candidate[TIGHT_SPACING] !== void 0 ? "tight" : candidate[COMPACT_RETRY] !== void 0 ? "compact" : candidate[HEAD_AIR_MIN] ? "head-air" : lessAir || candidate[HEAD_LINES] !== void 0 ? "cell-air" : candidate.margin === void 0 ? "full" : "gutter";
|
|
304
|
+
}
|
|
305
|
+
function advisedSize(warnings) {
|
|
306
|
+
let overflow = warnings.find((warning) => warning.code === "table-overflow")?.fix?.[0];
|
|
307
|
+
return tightAdvice(warnings.find((warning) => warning.code === "table-tight-spacing")) ?? (overflow !== void 0 && "value" in overflow ? overflow.value : void 0);
|
|
308
|
+
}
|
|
309
|
+
var ADVICE_PASSES = 3;
|
|
310
|
+
function tableScrollNeed({ table, surface }) {
|
|
311
|
+
let { theme, measure, options, view, at } = surface, plan = tableWidths(table, theme, measure, options, { ...view, scroll: !0 }), warnings = at === void 0 ? plan.warnings : plan.warnings.map((warning) => warning.code === "table-overflow" ? checkedOverflow(warning, (width) => {
|
|
312
|
+
let frame = at(width), size = { ...overflowSize(warning), width };
|
|
313
|
+
return tableWidths(table, frame.theme, measure, { ...options, size }, { ...view, scroll: !0, available: frame.available, scrollBox: frame.scrollBox }).warnings.find((next) => next.code === "table-overflow");
|
|
314
|
+
}) : warning), sides = surface.margins.left + surface.margins.right;
|
|
315
|
+
return {
|
|
316
|
+
rung: "full",
|
|
317
|
+
tracks: plan.tracks.map(({ id, width }) => ({ id, width })),
|
|
318
|
+
cellPadX: plan.cellPadX,
|
|
319
|
+
margins: surface.margins,
|
|
320
|
+
headLines: 1,
|
|
321
|
+
// The host draws every track at its natural width and scrolls under it.
|
|
322
|
+
minWidth: Math.ceil(plan.tracks.reduce((sum, track) => sum + track.natural, plan.spacerTotal)) + sides,
|
|
323
|
+
naturalWidth: Math.ceil(plan.totalW) + sides,
|
|
324
|
+
height: void 0,
|
|
325
|
+
warnings,
|
|
326
|
+
advice: overflowSize(warnings.find((warning) => warning.code === "table-overflow")),
|
|
327
|
+
plan
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
function tableScrollRung({ table, data, surface }) {
|
|
331
|
+
let full = { ...tableScrollNeed({ table, surface }), density: surface.options.density }, available = surface.view.available;
|
|
332
|
+
if (available === void 0 || !full.warnings.some((warning) => warning.code === "table-overflow")) return full;
|
|
333
|
+
let { theme, measure, view, margins: sides } = surface, host = available + sides.left + sides.right, box = view.scrollBox?.width ?? available, run = (candidate2) => {
|
|
334
|
+
let left = candidate2.margin?.left ?? sides.left, room = Math.min(host - left - (candidate2.margin?.right ?? sides.right), box), plan2 = tableWidths(table, theme, measure, {
|
|
335
|
+
...surface.options,
|
|
336
|
+
...candidate2.density === void 0 ? {} : { density: candidate2.density },
|
|
337
|
+
...candidate2.cellPadX === void 0 ? {} : { cellPadX: candidate2.cellPadX },
|
|
338
|
+
...candidate2.labelIndent === void 0 ? {} : { labelIndent: candidate2.labelIndent }
|
|
339
|
+
}, { ...view, scroll: !0, available: room, headLines: candidate2[HEAD_LINES], headGlue: candidate2[HEAD_LOOSE] !== !0 }), drawn = plan2.tracks.reduce((sum, track) => sum + track.width, plan2.spacerTotal), sortRoom = (track) => track.width === 0 || !view.sortable?.has(track.id) || track.width - plan2.cellPadX - (view.groupStart?.has(track.id) ? 1 : 0) - (view.groupEnd?.has(track.id) ? 1 : 0) >= SORT_BUTTON_MIN, fits2 = !plan2.warnings.some((warning) => warning.code === "table-overflow") && drawn <= box && plan2.tracks.every(sortRoom);
|
|
340
|
+
return {
|
|
341
|
+
size: { width: host, height: 0 },
|
|
342
|
+
plot: { x: left, w: room },
|
|
343
|
+
sizing: { minWidth: fits2 ? host : host + Math.max(1, Math.ceil(drawn - box)), minHeight: 0 },
|
|
344
|
+
marks: { columns: plan2.tracks },
|
|
345
|
+
warnings: [...plan2.warnings],
|
|
346
|
+
plan: plan2,
|
|
347
|
+
candidate: candidate2,
|
|
348
|
+
fits: fits2
|
|
349
|
+
};
|
|
350
|
+
}, options = { ...surface.options, size: { width: host }, ...view.withMarks ? { outlineMarks: !0 } : {} }, choice = tableRung({ table, surface: { data, options, run, cutCount: () => 0, hasHeadAir: () => !1, preserveCompactFloor: !1, cellPadOf: (rung) => rung.plan.cellPadX } }), { plan, candidate, fits, plot } = choice.undrawn;
|
|
351
|
+
return fits ? {
|
|
352
|
+
...full,
|
|
353
|
+
rung: choice.rung,
|
|
354
|
+
cellPadX: plan.cellPadX,
|
|
355
|
+
headLines: choice.headLines,
|
|
356
|
+
margins: { left: plot.x, right: host - plot.x - plot.w },
|
|
357
|
+
plan,
|
|
358
|
+
warnings: plan.warnings,
|
|
359
|
+
advice: void 0,
|
|
360
|
+
density: candidate.density ?? surface.options.density
|
|
361
|
+
} : full;
|
|
362
|
+
}
|
|
363
|
+
function overflowSize(warning) {
|
|
364
|
+
let op = warning?.fix?.[0];
|
|
365
|
+
return op !== void 0 && "value" in op ? op.value : void 0;
|
|
366
|
+
}
|
|
367
|
+
function checkedOverflow(warning, overflowAt) {
|
|
368
|
+
let asked = overflowSize(warning);
|
|
369
|
+
if (asked === void 0) return warning;
|
|
370
|
+
let width = asked.width;
|
|
371
|
+
for (let pass = 0; pass < ADVICE_PASSES; pass++) {
|
|
372
|
+
let next = overflowSize(overflowAt(width));
|
|
373
|
+
if (next === void 0) {
|
|
374
|
+
if (width === asked.width) return warning;
|
|
375
|
+
let swap = (text) => text.replaceAll(`${asked.width} px`, `${width} px`);
|
|
376
|
+
return {
|
|
377
|
+
...warning,
|
|
378
|
+
message: swap(warning.message),
|
|
379
|
+
...warning.suggest === void 0 ? {} : { suggest: swap(warning.suggest) },
|
|
380
|
+
detail: { ...warning.detail, naturalWidth: width },
|
|
381
|
+
fix: [{ op: "add", path: "/options/size", value: { ...asked, width } }]
|
|
382
|
+
};
|
|
383
|
+
}
|
|
384
|
+
width = next.width;
|
|
385
|
+
}
|
|
386
|
+
let { fix: _unsettled, ...rest } = warning;
|
|
387
|
+
return { ...rest, suggest: "No frame width was found at which the table fits without scrolling. Reduce the content or change the table settings." };
|
|
388
|
+
}
|
|
389
|
+
|
|
269
390
|
// src/core/charts/table/encodings/inCellBar.ts
|
|
270
391
|
var TEXT_GAP = 8, BAR_HEIGHT = 10;
|
|
271
392
|
function emitInCellBar(context, metrics) {
|
|
@@ -348,7 +469,8 @@ function emitSparkline(context, values, metrics) {
|
|
|
348
469
|
style: TABLE_SPARK_STYLE,
|
|
349
470
|
nodeId: context.nodeId,
|
|
350
471
|
owner: context.owner,
|
|
351
|
-
partPrefix: "table"
|
|
472
|
+
partPrefix: "table",
|
|
473
|
+
language: metrics.language
|
|
352
474
|
}).map((node) => node.t === "text" ? { ...node, typeRole: "label" } : node);
|
|
353
475
|
}
|
|
354
476
|
|
|
@@ -623,7 +745,7 @@ var CRISP = 0.5, NOTE_BASELINE_LOCK = 0.88, HEADER_RULE_GAP = 7, GROUP_PAD_TOP =
|
|
|
623
745
|
function cellRole(kind, text) {
|
|
624
746
|
return cellHoldsNumber(kind, text) ? {} : { role: "category" };
|
|
625
747
|
}
|
|
626
|
-
var TABLE_PAD_MAX = 16, STANDOFF_BELOW = 12, isLeafRow = (row) => row.role !== "total" && row.role !== "section" && !row.hasChildren;
|
|
748
|
+
var TABLE_PAD_MAX = 16, STANDOFF_BELOW = 12, isLeafRow = (row) => row.role !== "total" && row.role !== "section" && !row.hasChildren, cellPads = /* @__PURE__ */ new WeakMap(), cellPadOf = (geometry) => cellPads.get(geometry);
|
|
627
749
|
function cutCount(geometry) {
|
|
628
750
|
return plannedCutCount(geometry) ?? geometry.scene.filter((node) => node.t === "text" && node.id.startsWith("cell:") && node.title !== void 0).length;
|
|
629
751
|
}
|
|
@@ -635,45 +757,42 @@ function snapshotTableOptions(options) {
|
|
|
635
757
|
return { ...copyPlannedValue({ ...options, theme: void 0 }), theme };
|
|
636
758
|
}
|
|
637
759
|
function prepareTableExecutor(authoredData, initialOptions = {}, initialResolved) {
|
|
638
|
-
let candidates = /* @__PURE__ */ new WeakMap(), run = (options = initialOptions, preserveCompactFloor = !1, suppliedResolved, preparedInput) => withPlanInputs(() => {
|
|
760
|
+
let candidates = /* @__PURE__ */ new WeakMap(), run = (options = initialOptions, preserveCompactFloor = !1, suppliedResolved, preparedInput, answer) => withPlanInputs(() => {
|
|
639
761
|
let input = preparedInput ?? prepareTableData(authoredData, options), resolved = suppliedResolved ?? (options === initialOptions && initialResolved ? initialResolved : resolvePreparedTable(input, options));
|
|
640
762
|
preparedInput || (options = snapshotTableOptions(options));
|
|
641
|
-
let
|
|
642
|
-
(
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
resolved.lifted,
|
|
675
|
-
(bound, plain) => missesFrame(bound, options) && !missesFrame(plain, options)
|
|
676
|
-
);
|
|
763
|
+
let choice = liftOrFallback((mode) => {
|
|
764
|
+
let variant = mode === "full" ? options : { ...options, [ZERO_LIFT]: mode }, model = mode === "full" ? resolved : resolvedForSize(authoredData, variant), formatFits = /* @__PURE__ */ new Map(), {
|
|
765
|
+
size: _size,
|
|
766
|
+
mode: _mode,
|
|
767
|
+
belowMinimum: _below,
|
|
768
|
+
[TARGET_SIZE]: _target,
|
|
769
|
+
[PLAN_ONLY]: _plan,
|
|
770
|
+
[WIDTH_PROBE]: _width,
|
|
771
|
+
[FIXED_SIZE_PROBE]: _fixed,
|
|
772
|
+
[FORCE_COMPACT]: _forced,
|
|
773
|
+
[ACCEPTANCE_PROBE]: _accept,
|
|
774
|
+
[SIZING_ONLY]: _sizing,
|
|
775
|
+
[COMPACT_RETRY]: _retry,
|
|
776
|
+
[ENGINE_NOTES]: _notes,
|
|
777
|
+
...stable
|
|
778
|
+
} = variant, variantKey = optionKey(stable);
|
|
779
|
+
return tableRung({ table: model.table, surface: {
|
|
780
|
+
data: input.source,
|
|
781
|
+
options: variant,
|
|
782
|
+
preserveCompactFloor,
|
|
783
|
+
cutCount,
|
|
784
|
+
hasHeadAir,
|
|
785
|
+
cellPadOf,
|
|
786
|
+
run: (candidate, sizingOnly, selected, widthOnlyOnMiss = !1) => {
|
|
787
|
+
let current = Object.keys(candidate).length === 0 && Object.getOwnPropertySymbols(candidate).length === 0 ? variant : { ...variant, ...candidate }, { size: _candidateSize, [COMPACT_RETRY]: _candidateHeight, ...spacing } = candidate, typeClass = panelTypeClass(current) ?? typeWidthClass(resolveSize(current.size).width), key = variantKey + ":" + optionKey(spacing) + ":" + typeClass + (givesSectionAir(current) ? ":air" : ""), byKey = candidates.get(model);
|
|
788
|
+
byKey || candidates.set(model, byKey = /* @__PURE__ */ new Map());
|
|
789
|
+
let prepared = byKey.get(key);
|
|
790
|
+
return prepared || (prepared = prepareTableCandidate(input.source, current, model, formatFits), byKey.size >= 256 && byKey.delete(byKey.keys().next().value), byKey.set(key, prepared)), prepared(current, sizingOnly, selected, widthOnlyOnMiss);
|
|
791
|
+
}
|
|
792
|
+
} });
|
|
793
|
+
}, (lifted, plain) => costsWidth(lifted.undrawn, plain.undrawn, options), resolved.lifted);
|
|
794
|
+
answer?.(choice);
|
|
795
|
+
let geometry = choice.undrawn;
|
|
677
796
|
return options[PLAN_ONLY] || options[SIZING_ONLY] ? geometry : materializeLayout(geometry);
|
|
678
797
|
}), runCard = (options = initialOptions) => withPlanInputs(() => {
|
|
679
798
|
let input = prepareTableData(authoredData, options), { [WIDTH_PROBE]: _width, ...keyOptions } = options;
|
|
@@ -682,7 +801,12 @@ function prepareTableExecutor(authoredData, initialOptions = {}, initialResolved
|
|
|
682
801
|
return widthRepairHeight(input.source, planned, sized, runCard);
|
|
683
802
|
}, 8);
|
|
684
803
|
});
|
|
685
|
-
return { run, runCard
|
|
804
|
+
return { run, runCard, need: (options = initialOptions) => {
|
|
805
|
+
let choice, geometry = run(options, !1, void 0, void 0, (found) => {
|
|
806
|
+
choice = found;
|
|
807
|
+
});
|
|
808
|
+
return tableNeed(choice, isPlanned(geometry) ? materializeLayout(geometry) : geometry);
|
|
809
|
+
} };
|
|
686
810
|
}
|
|
687
811
|
function prepareTableCardExecutor(data) {
|
|
688
812
|
return prepareTableExecutor(data).runCard;
|
|
@@ -801,13 +925,20 @@ function prepareTableView(data, options, table) {
|
|
|
801
925
|
spans,
|
|
802
926
|
bandedColumnRuns,
|
|
803
927
|
heatLanes: heatRanges(cols, rows),
|
|
804
|
-
arrowShapes: arrowKey(cols, rows),
|
|
805
|
-
notes: tableFootnotes(table, rows, cols),
|
|
928
|
+
arrowShapes: arrowKey(cols, rows, options.locale?.language),
|
|
929
|
+
notes: tableFootnotes(table, rows, cols, options.locale?.language),
|
|
806
930
|
textColumns: cols.filter((col) => col.kind === "rowLabel" || col.kind === "text"),
|
|
807
931
|
statusColumns: cols.filter((col) => col.kind === "status")
|
|
808
932
|
};
|
|
809
933
|
}
|
|
810
934
|
var tableViews = /* @__PURE__ */ new WeakMap();
|
|
935
|
+
function tableA11y(options, rowCount, columnCount) {
|
|
936
|
+
return {
|
|
937
|
+
title: accessibleTitle(options.title, chartString(options, "tableTitle")),
|
|
938
|
+
counts: [structureCount("rows", rowCount, void 0, options), structureCount("columns", columnCount, void 0, options)],
|
|
939
|
+
desc: chartString(options, "tableDesc", { v1: String(rowCount), v2: String(columnCount) })
|
|
940
|
+
};
|
|
941
|
+
}
|
|
811
942
|
function sharedTableView(data, options, table) {
|
|
812
943
|
let key = layoutKey(data, { expansion: options.expansion, topN: options.topN }), known = tableViews.get(table);
|
|
813
944
|
return (!known || known.key !== key) && tableViews.set(table, known = { key, view: prepareTableView(data, options, table) }), known.view.notes.forEach(disclosureNote), known.view;
|
|
@@ -823,8 +954,11 @@ function sharedTableFrame(table, input) {
|
|
|
823
954
|
}
|
|
824
955
|
return value;
|
|
825
956
|
}
|
|
957
|
+
function givesSectionAir(options) {
|
|
958
|
+
return options[COMPACT_RETRY] !== void 0 && !heightOmitted(options.size) && options[TARGET_SIZE]?.fixed.height !== !1;
|
|
959
|
+
}
|
|
826
960
|
function prepareTableCandidate(authoredData, options, initialResolved, formatFits) {
|
|
827
|
-
let tight = options[TIGHT_SPACING]?.columns === !0, tightRows = options[TIGHT_SPACING]?.rows === !0, measure = tableTextMeasure(options.measure ?? defaultMeasurer), data = authoredData, resolved = initialResolved, warnings = [...resolved.warnings], theme = resolveSemanticPaletteTheme(
|
|
961
|
+
let tight = options[TIGHT_SPACING]?.columns === !0, tightRows = options[TIGHT_SPACING]?.rows === !0, sectionAirGiven = givesSectionAir(options), measure = tableTextMeasure(options.measure ?? defaultMeasurer), data = authoredData, resolved = initialResolved, warnings = [...resolved.warnings], theme = resolveSemanticPaletteTheme(
|
|
828
962
|
chartTheme(options),
|
|
829
963
|
options.palette,
|
|
830
964
|
warnings
|
|
@@ -886,7 +1020,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
886
1020
|
if (row.role === "total" && row.kind !== "result" && row.kind !== "driver")
|
|
887
1021
|
return ladder.totalPad * 2 + lineBox(fonts.total.size) + 2 * ruleSpace;
|
|
888
1022
|
if (row.role === "section") {
|
|
889
|
-
if (tightRows ||
|
|
1023
|
+
if (tightRows || sectionAirGiven) return sectionNatural();
|
|
890
1024
|
let space = theme.table?.section?.spaceBefore ?? lineBox(ladder.label);
|
|
891
1025
|
return sectionNatural() + Math.round(row.id === rows[0]?.id ? Math.min(space, lineBox(ladder.label) / 4) : space);
|
|
892
1026
|
}
|
|
@@ -896,10 +1030,6 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
896
1030
|
function sectionNatural() {
|
|
897
1031
|
return levelPad(1, !1) * 2 + ladder.sectionBox(fonts.section.size) + sectionRuleSpace;
|
|
898
1032
|
}
|
|
899
|
-
function lineHoldsValue(line, colId) {
|
|
900
|
-
let cell = line.cells[colId];
|
|
901
|
-
return cell !== void 0 && cell.state === "value" && cell.displayed !== "";
|
|
902
|
-
}
|
|
903
1033
|
let labelColumnId = cols.find((col) => col.kind === "rowLabel")?.id;
|
|
904
1034
|
function labelNoteOf(row) {
|
|
905
1035
|
if (!(labelColumnId === void 0 || row.role === "section"))
|
|
@@ -912,12 +1042,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
912
1042
|
let lines = visibleInlineRows(row, options2.inlineVisibility), box = ladder.inlineBox(Math.max(ladder.inlineSize(), lines.length ? changeLineFont(theme, ladder, row.step).size : 0)), note = labelNoteOf(row), base = note === void 0 ? 0 : 1, stacked = base + lines.length, noteSlots = /* @__PURE__ */ new Map();
|
|
913
1043
|
for (let col of cols) {
|
|
914
1044
|
if (col.noteLine !== !0 || col.kind === "rowLabel" || row.cells[col.id]?.note === void 0) continue;
|
|
915
|
-
let slot = base + lines.
|
|
916
|
-
for (let [index, line] of lines.entries())
|
|
917
|
-
if (!lineHoldsValue(line, col.id)) {
|
|
918
|
-
slot = base + index;
|
|
919
|
-
break;
|
|
920
|
-
}
|
|
1045
|
+
let slot = base + noteLineIndex(lines, col.id);
|
|
921
1046
|
noteSlots.set(col.id, slot), stacked = Math.max(stacked, slot + 1);
|
|
922
1047
|
}
|
|
923
1048
|
let block = {
|
|
@@ -1021,8 +1146,8 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1021
1146
|
}
|
|
1022
1147
|
let plannedCellText = /* @__PURE__ */ new Map(), cuts = 0;
|
|
1023
1148
|
for (let row of rows) for (let col of statusColumns) {
|
|
1024
|
-
let cell = row.cells[col.id]
|
|
1025
|
-
if (!cell || col.kind === "encoding" || (
|
|
1149
|
+
let cell = row.cells[col.id];
|
|
1150
|
+
if (!cell || col.kind === "encoding" || labelOnlyRow(row, expandedIds) && col.kind !== "rowLabel") continue;
|
|
1026
1151
|
let track = colX.get(col.id);
|
|
1027
1152
|
if (cell.kind === "status" && cell.state === "value") {
|
|
1028
1153
|
let square = col.statusMark === "square" ? statusSquare(fonts.body.size) : void 0, reserve = square ? square.side + square.gap : 2 * CHIP_PAD_X, fit = statusFit(col, cell.displayed, square ? fonts.body : fonts.chip, track.w - 2 * cellPadX2 - reserve, track.w - reserve);
|
|
@@ -1035,7 +1160,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1035
1160
|
cellsFitted = !0;
|
|
1036
1161
|
for (let row of rows) for (let col of textColumns) {
|
|
1037
1162
|
let cell = row.cells[col.id], isSection = row.role === "section";
|
|
1038
|
-
if (!cell || col.kind === "encoding" || (
|
|
1163
|
+
if (!cell || col.kind === "encoding" || labelOnlyRow(row, expandedIds) && col.kind !== "rowLabel") continue;
|
|
1039
1164
|
let track = colX.get(col.id);
|
|
1040
1165
|
if (col.kind !== "rowLabel" && col.kind !== "text") continue;
|
|
1041
1166
|
let font = cellFont(cell), indent = cell.kind === "rowLabel" ? rowIndent(indentStep(cell)) : 0, badge = isSection && col.kind === "rowLabel" ? row.badge : void 0, badgeW = badge === void 0 ? 0 : Math.round(measure(badge.text, fonts.chip).width + 2 * CHIP_PAD_X), affixFont = theme.table?.qualifier === void 0 ? { ...inlineFont2(row.step, !1), weight: theme.type.label.weight, ...font.style ? { style: font.style } : {} } : qualifierFont(font, theme), affixWidth = col.kind === "rowLabel" && row.unitAffix !== void 0 && !(row.kind === "member" && expandedIds.has(row.id)) ? theme.table?.qualifier === void 0 ? measure(` ${row.unitAffix}`, affixFont).width : measure(row.unitAffix, affixFont).width + (theme.table.qualifier.gap ?? 4) : 0, maxW = (isSection ? tableW - (track.x - gridX) : track.w) - 2 * cellPadX2 - indent - (badgeW === 0 ? 0 : badgeW + SECTION_CHIP_GAP) - (affixBelow.has(row.id) ? 0 : affixWidth) - (cell.note && col.kind !== "rowLabel" && col.noteLine !== !0 ? measure(` ${cell.note}`, fonts.note).width : 0), key = tableCellKey(row.id, col.id), fit = cellText(cell, col.kind, isSection, font, maxW, wrappedLines.get(key), cutTitles.get(key), measure, theme.table?.section?.case);
|
|
@@ -1071,8 +1196,8 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1071
1196
|
for (let note of tableNotes) disclosureNote(note);
|
|
1072
1197
|
let size = resolveSize(options2.size), engineNotes = options2[ENGINE_NOTES] ?? [];
|
|
1073
1198
|
for (; ; ) {
|
|
1074
|
-
let sizingProbe2 = function(sizing2, marks) {
|
|
1075
|
-
|
|
1199
|
+
let sizingProbe2 = function(sizing2, marks, pad = cellPadX2) {
|
|
1200
|
+
let probe = {
|
|
1076
1201
|
type: "table",
|
|
1077
1202
|
size,
|
|
1078
1203
|
sizing: sizing2,
|
|
@@ -1088,6 +1213,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1088
1213
|
warnings: warnings2,
|
|
1089
1214
|
debug: { occupied: [], decisions: [] }
|
|
1090
1215
|
};
|
|
1216
|
+
return cellPads.set(probe, pad), probe;
|
|
1091
1217
|
};
|
|
1092
1218
|
var sizingProbe = sizingProbe2;
|
|
1093
1219
|
let warnings2 = [...preparedWarnings], cellPadX2 = initialCellPadX, frameInput = {
|
|
@@ -1096,7 +1222,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1096
1222
|
...frameTextOptions(options2),
|
|
1097
1223
|
// uniform money unit hoisted out of every cell → the frame slot
|
|
1098
1224
|
// (solveFrame prepends 'in' itself)
|
|
1099
|
-
unit: table
|
|
1225
|
+
unit: tableFrameUnit(table, options2),
|
|
1100
1226
|
// rows/cols, not table.rows/table.columns: this surface is static, so a
|
|
1101
1227
|
// marker inside a collapsed row or a hidden column is unreachable here
|
|
1102
1228
|
// and its footnote would point at nothing
|
|
@@ -1133,7 +1259,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1133
1259
|
columns: [],
|
|
1134
1260
|
rows: [],
|
|
1135
1261
|
headerBand: { x, y: y2, w: widthPlan.totalW, h: 0 }
|
|
1136
|
-
});
|
|
1262
|
+
}, widthPlan.cellPadX);
|
|
1137
1263
|
}
|
|
1138
1264
|
widthPlan = preparedWidth ? solveTableWidthRung(preparedWidth, plot.w, options2) : sharedWidthPlan(table, theme, measure, options2, widthView);
|
|
1139
1265
|
}
|
|
@@ -1229,12 +1355,12 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1229
1355
|
rows: rows.map((row) => ({ id: row.id, ...rowY.get(row.id) }))
|
|
1230
1356
|
},
|
|
1231
1357
|
derived: { table, computedCells: resolved.computedCells },
|
|
1232
|
-
a11y:
|
|
1358
|
+
a11y: tableA11y(options2, dataRows.length, cols.length),
|
|
1233
1359
|
warnings: warnings2,
|
|
1234
1360
|
paintWarningRules: void 0,
|
|
1235
1361
|
debug: { occupied: [], decisions: [] }
|
|
1236
1362
|
}, plannedWarnings = [...warnings2];
|
|
1237
|
-
return deferLayout(geometry, () => {
|
|
1363
|
+
return cellPads.set(geometry, cellPadX2), deferLayout(geometry, () => {
|
|
1238
1364
|
warnings2 = [...plannedWarnings];
|
|
1239
1365
|
let nodes = [...frame.nodes];
|
|
1240
1366
|
plannedCuts();
|
|
@@ -1260,7 +1386,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1260
1386
|
let headingFrom = -1 / 0, headingEnd = -1 / 0;
|
|
1261
1387
|
for (let [groupIndex, g] of table.columnGroups.entries()) {
|
|
1262
1388
|
if (spans[groupIndex].span === 0 || g.heading === !1) continue;
|
|
1263
|
-
let tracks = g.columnIds.filter((columnId) => colX.has(columnId)).map((columnId) => colX.get(columnId)), first = tracks.reduce((a, b) => b.x < a.x ? b : a), last = tracks.reduce((a, b) => b.x + b.w > a.x + a.w ? b : a), cx = Math.round(first.x + (last.x + last.w - first.x) / 2), bracketY = groupPad === void 0 ? gridY + headerGroupH - 3 + CRISP : gridY + groupPad.top + groupExtraH + ladder.headBox(fonts.group.size) + CRISP, label = groupHeadingLabel(g.label), lineCount = groupLineCount(g.id), labelY = groupPad === void 0 ? bracketY - 4 - fonts.group.size * 1.2 - (lineCount - 1) * groupLineH : gridY + groupPad.top + groupExtraH - (lineCount - 1) * groupLineH + (ladder.headBox(fonts.group.size) - fonts.group.size * 1.2) / 2,
|
|
1389
|
+
let tracks = g.columnIds.filter((columnId) => colX.has(columnId)).map((columnId) => colX.get(columnId)), first = tracks.reduce((a, b) => b.x < a.x ? b : a), last = tracks.reduce((a, b) => b.x + b.w > a.x + a.w ? b : a), cx = Math.round(first.x + (last.x + last.w - first.x) / 2), bracketY = groupPad === void 0 ? gridY + headerGroupH - 3 + CRISP : gridY + groupPad.top + groupExtraH + ladder.headBox(fonts.group.size) + CRISP, label = groupHeadingLabel(g.label), lineCount = groupLineCount(g.id), labelY = groupPad === void 0 ? bracketY - 4 - fonts.group.size * 1.2 - (lineCount - 1) * groupLineH : gridY + groupPad.top + groupExtraH - (lineCount - 1) * groupLineH + (ladder.headBox(fonts.group.size) - fonts.group.size * 1.2) / 2, spacedNote = groupHeadingNote(g.note), faces = groupHeadingFaces(fonts.group), noteFont = faces.note, measured = groupHeadingWidth(g, faces, measure), note = spacedNote?.trimStart(), noteOffset = measured.label + (note === void 0 ? 0 : measured.note - measure(note, noteFont).width), labelW = measured.label + measured.note, spanStart = Math.round(first.x + cellPadX2), spanEnd = Math.round(last.x + last.w - cellPadX2), wrap = groupWraps.get(g.id);
|
|
1264
1390
|
if (wrap !== void 0) {
|
|
1265
1391
|
let align = groupAlign === "left" ? "start" : groupAlign === "right" ? "end" : "middle", anchorX = align === "start" ? spanStart : align === "end" ? spanEnd : cx;
|
|
1266
1392
|
nodes.push({
|
|
@@ -1335,7 +1461,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1335
1461
|
t: "text",
|
|
1336
1462
|
typeRole: "footnote",
|
|
1337
1463
|
id: `group-note:${g.id}`,
|
|
1338
|
-
x: startX +
|
|
1464
|
+
x: startX + noteOffset,
|
|
1339
1465
|
y: labelY,
|
|
1340
1466
|
lines: [note],
|
|
1341
1467
|
align: "start",
|
|
@@ -1359,7 +1485,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1359
1485
|
t: "text",
|
|
1360
1486
|
typeRole: "footnote",
|
|
1361
1487
|
id: `group-note:${g.id}`,
|
|
1362
|
-
x: startX +
|
|
1488
|
+
x: startX + noteOffset,
|
|
1363
1489
|
y: labelY,
|
|
1364
1490
|
lines: [note],
|
|
1365
1491
|
align: "start",
|
|
@@ -1489,18 +1615,18 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1489
1615
|
), strongColumnBandPaint = {
|
|
1490
1616
|
token: "neutral",
|
|
1491
1617
|
theme: { kind: "mix", from: { token: "ink" }, to: totalGroundPaint, weight: surface.bandTint }
|
|
1492
|
-
}, grounds = rowGrounds(table), columnBandFills = /* @__PURE__ */ new Map(), rowWashes = /* @__PURE__ */ new Map(), bandedGroups = table.columnGroups.filter((g) => g.band === !0), bandRect = (g) => {
|
|
1618
|
+
}, grounds = rowGrounds(table), columnBandFills = /* @__PURE__ */ new Map(), rowWashes = /* @__PURE__ */ new Map(), bandedGroups = table.columnGroups.filter((g) => g.band === !0), dividerXs = new Set(nodes.flatMap((node) => node.t === "line" && node.part === "tableGroupDivider" && node.width > 0 ? [node.x1] : [])), bandRect = (g) => {
|
|
1493
1619
|
let visible = g.columnIds.filter((columnId) => colX.has(columnId));
|
|
1494
1620
|
if (visible.length === 0) return;
|
|
1495
|
-
let first = colX.get(visible[0]), last = colX.get(visible[visible.length - 1]);
|
|
1496
|
-
return { x
|
|
1621
|
+
let first = colX.get(visible[0]), last = colX.get(visible[visible.length - 1]), x = dividerXs.has(Math.round(first.x) + CRISP) ? Math.round(first.x) + 1 : first.x;
|
|
1622
|
+
return { x, w: last.x + last.w - x };
|
|
1497
1623
|
}, groundMode = options2.groupGround ?? theme.table?.groupGround ?? "expanded", groundShown = (open) => groundMode === "always" || groundMode === "expanded" && open, closers = finalClosers(rows), totalGroundless = theme.table?.grounds?.total !== void 0 && transparentCss(theme.table.grounds.total), rowById = new Map(rows.map((row) => [row.id, row])), topOf = (row) => {
|
|
1498
1624
|
let top = row;
|
|
1499
1625
|
for (; top.parentId !== void 0 && rowById.has(top.parentId); ) top = rowById.get(top.parentId);
|
|
1500
1626
|
return top;
|
|
1501
1627
|
}, blockRuled = /* @__PURE__ */ new Set(), opensBlock = (row) => row.parentId === void 0 && row.role !== "section" && expandedIds.has(row.id), blockRuleAbove = (row, next) => theme.table?.blockRule === "rule" && next.parentId === void 0 && (opensBlock(next) || next.id !== topOf(row).id && opensBlock(topOf(row))), lastRow = rows[rows.length - 1];
|
|
1502
1628
|
rows.forEach((row, ri) => {
|
|
1503
|
-
let { y: ry, h: rh } = rowY.get(row.id), isTotal = row
|
|
1629
|
+
let { y: ry, h: rh } = rowY.get(row.id), isTotal = isTotalRow(row), isSection = row.role === "section", ground = row.kind === "member" ? expandedIds.has(row.id) && groundMode !== "none" ? "band" : void 0 : row.kind === "measure" || row.kind === "detail" || row.kind === "split" || row.kind === "subtotal" || row.kind === "result" || row.kind === "driver" ? void 0 : isTotal ? "emphasis" : language.groupBand && groundShown(expandedIds.has(row.id)) ? grounds.get(row.id) : void 0;
|
|
1504
1630
|
ri > 0 && row.kind === "member" ? nodes.push(rule(`rule:member:${row.id}`, ry, { token: "rule" }, strokeToken(theme, "rule"), "tableMemberRule")) : ri > 0 && row.divider && nodes.push(rule(`rule:divider:${row.id}`, ry, { token: "rule" }, strokeToken(theme, "rule"), "tableDividerRule"));
|
|
1505
1631
|
let customGround = authoredGround(row, isTotal);
|
|
1506
1632
|
if (customGround !== void 0 && nodes.push({ t: "rect", id: `statementground:${row.id}`, rect: { x: rowX, y: ry, w: rowW, h: rh }, fill: { css: customGround }, owner: { rowId: row.id }, part: "tableStatementGround" }), row.kind === "result" && theme.table?.resultRule !== "none" && nodes.push(rule(`rule:result:${row.id}`, ry, { token: theme.table?.resultRule === "rule" ? "rule" : "ink" }, strokeToken(theme, "hair"), "tableResultRule")), ground !== void 0 && customGround === void 0 && !(isTotal && totalGroundless)) {
|
|
@@ -1566,7 +1692,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1566
1692
|
);
|
|
1567
1693
|
continue;
|
|
1568
1694
|
}
|
|
1569
|
-
if ((
|
|
1695
|
+
if (labelOnlyRow(row, expandedIds) && col.kind !== "rowLabel") continue;
|
|
1570
1696
|
let drop = isSection ? Math.max(0, rh - sectionNatural() - (rowExtra.get(row.id) ?? 0)) : 0;
|
|
1571
1697
|
emitCell(cell, row, col.id, cx, w, ry + drop, rh - drop, isTotal, isSection);
|
|
1572
1698
|
}
|
|
@@ -1967,11 +2093,7 @@ function prepareTableCandidate(authoredData, options, initialResolved, formatFit
|
|
|
1967
2093
|
frame: frame.frame,
|
|
1968
2094
|
marks,
|
|
1969
2095
|
derived: { table, computedCells: resolved.computedCells },
|
|
1970
|
-
a11y:
|
|
1971
|
-
title: accessibleTitle(options2.title, "Table"),
|
|
1972
|
-
counts: [structureCount("rows", dataRows.length), structureCount("columns", cols.length)],
|
|
1973
|
-
desc: `Table with ${dataRows.length} rows and ${cols.length} columns`
|
|
1974
|
-
},
|
|
2096
|
+
a11y: tableA11y(options2, dataRows.length, cols.length),
|
|
1975
2097
|
warnings: warnings2,
|
|
1976
2098
|
...paintWarningRules.length > 0 ? { paintWarningRules } : {},
|
|
1977
2099
|
debug: { occupied, decisions: [] }
|
|
@@ -2034,6 +2156,7 @@ function transparentCss(css) {
|
|
|
2034
2156
|
|
|
2035
2157
|
export {
|
|
2036
2158
|
REGULAR_SPACING,
|
|
2159
|
+
tableScrollRung,
|
|
2037
2160
|
sparklineSourceValues,
|
|
2038
2161
|
sparklineDomains,
|
|
2039
2162
|
emitSparkline,
|