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,8 +1,8 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.
|
|
2
|
+
var version = "0.58.0";
|
|
3
3
|
|
|
4
4
|
// src/version.ts
|
|
5
|
-
var BOARDPLOT_VERSION = "0.
|
|
5
|
+
var BOARDPLOT_VERSION = "0.58.0-engine.135.git.g56390da60455.src.h84020208e638f9b9";
|
|
6
6
|
|
|
7
7
|
// src/core/engine.ts
|
|
8
8
|
var CLAIMS_SCHEMA = 2, ENGINE_REV = 135, CANONICALIZER = 1, ENGINE_VERSION = BOARDPLOT_VERSION;
|
|
@@ -2,72 +2,98 @@ import {
|
|
|
2
2
|
interactionTokens
|
|
3
3
|
} from "./chunk-TNEHPP3H.js";
|
|
4
4
|
import {
|
|
5
|
+
columnHeadText,
|
|
6
|
+
tableDisplayFloor,
|
|
7
|
+
tableFrameMode
|
|
8
|
+
} from "./chunk-3DOVXJ6K.js";
|
|
9
|
+
import {
|
|
10
|
+
EMPTY_ROW_ID,
|
|
5
11
|
INLINE_LINE_RATIO,
|
|
6
12
|
LINE_BOX_EPSILON,
|
|
7
13
|
LINE_RATIO,
|
|
8
14
|
levelLadder,
|
|
9
|
-
tableDisplayFloor,
|
|
10
15
|
tableFootnotes,
|
|
11
|
-
|
|
12
|
-
} from "./chunk-
|
|
16
|
+
tableFrameUnit
|
|
17
|
+
} from "./chunk-OSJXIW6I.js";
|
|
13
18
|
import {
|
|
14
19
|
CHANGE_LINE_MIN_PX,
|
|
15
20
|
CHANGE_LINE_SIZE_STEP_PX,
|
|
16
21
|
ENGINE_NOTES,
|
|
17
22
|
INLINE_LABEL_INDENT,
|
|
23
|
+
SORT_BUTTON_MIN,
|
|
18
24
|
changeLineFont,
|
|
19
25
|
tableFonts
|
|
20
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-F3XOBFS4.js";
|
|
27
|
+
import {
|
|
28
|
+
chartString
|
|
29
|
+
} from "./chunk-PMT75APP.js";
|
|
21
30
|
import {
|
|
22
31
|
chipPaints,
|
|
23
32
|
onTableGround,
|
|
24
33
|
tableGround,
|
|
25
34
|
toneTextPaint
|
|
26
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-4ROZ4TFL.js";
|
|
27
36
|
import {
|
|
28
37
|
tableInk
|
|
29
38
|
} from "./chunk-Z2MGTKDR.js";
|
|
30
39
|
import {
|
|
40
|
+
omittedCompactNotes
|
|
41
|
+
} from "./chunk-ETRAPN5G.js";
|
|
42
|
+
import {
|
|
43
|
+
authoredNotes,
|
|
44
|
+
frameText,
|
|
31
45
|
isSafeSvgColor,
|
|
32
46
|
numericVariant,
|
|
33
|
-
resolvePaint
|
|
34
|
-
|
|
47
|
+
resolvePaint,
|
|
48
|
+
unitUnprinted
|
|
49
|
+
} from "./chunk-I5VDW2XZ.js";
|
|
35
50
|
import {
|
|
36
|
-
|
|
51
|
+
footerParts,
|
|
37
52
|
footerType,
|
|
38
|
-
|
|
39
|
-
|
|
53
|
+
notesPanelLabel,
|
|
54
|
+
notesPointer,
|
|
55
|
+
shownNoteKinds
|
|
56
|
+
} from "./chunk-DZYTXZNS.js";
|
|
40
57
|
import {
|
|
41
58
|
localeStrings
|
|
42
59
|
} from "./chunk-MSYTF3DZ.js";
|
|
43
60
|
import {
|
|
44
61
|
cellGrounds,
|
|
45
62
|
colorblindTheme,
|
|
63
|
+
emphasisWeight,
|
|
46
64
|
farGround,
|
|
47
65
|
panelTypeClass,
|
|
48
66
|
resolveSurface,
|
|
67
|
+
resolveTheme,
|
|
49
68
|
sameRecipe,
|
|
50
69
|
smallestTitleSize,
|
|
51
70
|
strokeToken,
|
|
52
71
|
tableEmphasis,
|
|
53
72
|
tableInkColor,
|
|
73
|
+
textScaleOf,
|
|
54
74
|
themeForWidth,
|
|
55
75
|
warnColor
|
|
56
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-TX5FSNAU.js";
|
|
57
77
|
import {
|
|
58
78
|
checkedFontFamily,
|
|
59
79
|
checkedMotionEasing,
|
|
60
80
|
compositeColor,
|
|
61
81
|
contrastRatio,
|
|
62
82
|
mixColors
|
|
63
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-BQBD6Q5J.js";
|
|
64
84
|
import {
|
|
65
85
|
DEFAULT_TARGET,
|
|
66
|
-
formatScenarios,
|
|
67
86
|
resolveCanvasOptions,
|
|
87
|
+
resolveSize,
|
|
68
88
|
resolveSubtitle,
|
|
69
89
|
scaleTextPx
|
|
70
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-RJICOOB3.js";
|
|
91
|
+
import {
|
|
92
|
+
defaultMeasurer
|
|
93
|
+
} from "./chunk-UIHGGWES.js";
|
|
94
|
+
import {
|
|
95
|
+
plainText
|
|
96
|
+
} from "./chunk-SRUV7AT6.js";
|
|
71
97
|
|
|
72
98
|
// src/react/tablePresentation.ts
|
|
73
99
|
function tableRenderTheme(request) {
|
|
@@ -90,37 +116,68 @@ var COHORT_GROWTH = `
|
|
|
90
116
|
.bp-table-grid[data-bp-density^="cohort"] [role="row"]:not(.bp-total)>[role="rowheader"] .bp-value{line-height:round(up,1.2em,1px);margin-block:calc((var(--bp-row-h) - round(up,1.2em,1px) - var(--bp-rule-top,var(--bp-stroke-hair)))/2)}
|
|
91
117
|
.bp-table-grid[data-bp-density^="cohort"] :is([data-bp-rowgroup="body"],[data-bp-row-page="0"])>.bp-rowwrap:first-child>[role="row"]>*,.bp-table-grid[data-bp-density^="cohort"] [role="row"][data-bp-spacer]:not(.bp-total)>*,.bp-table-grid[data-bp-density^="cohort"] .bp-rowwrap:has(>.bp-total)+.bp-rowwrap>[role="row"]>*{--bp-rule-top:0px}`, MANY_LABEL_LINES = `
|
|
92
118
|
.bp-table-grid[data-bp-label-lines]:not([data-bp-label-lines="1"]) [role="rowheader"] .bp-value{-webkit-line-clamp:var(--bp-label-lines)}
|
|
93
|
-
.bp-table-grid[data-bp-label-lines] [data-bp-defer-row]{contain-intrinsic-size:auto calc(var(--bp-label-size)*var(--bp-line-ratio) + 2*var(--bp-pad-anchor) + 1px + var(--bp-defer-lines,0)*(var(--bp-inline-box) + var(--bp-inline-gap)) + var(--bp-defer-label-lines,0)*round(up,calc(var(--bp-label-size)*var(--bp-line-ratio)),1px))}
|
|
94
|
-
function tableFrame(table, options, rows = table.rows, columns = table.columns) {
|
|
119
|
+
.bp-table-grid[data-bp-label-lines] [data-bp-defer-row]{contain-intrinsic-size:auto calc(var(--bp-label-size)*var(--bp-line-ratio) + 2*var(--bp-pad-anchor) + 1px + var(--bp-defer-lines,0)*(var(--bp-inline-box) + var(--bp-inline-gap)) + var(--bp-defer-label-lines,0)*round(up,calc(var(--bp-label-size)*var(--bp-line-ratio)),1px))}`, ENGINE_NOTE_KINDS = /* @__PURE__ */ Symbol("tableEngineNoteKinds");
|
|
120
|
+
function tableFrame(table, options, rows = table.rows, columns = table.columns, footer) {
|
|
95
121
|
options = resolveCanvasOptions(options);
|
|
96
|
-
let title = options.title === !1 ? void 0 : options.title, padding = options.margin ? `${options.margin.top ?? 0}px ${options.margin.right ?? 0}px ${options.margin.bottom ?? 0}px ${options.margin.left ?? 0}px` : void 0, mode = tableFrameMode(options),
|
|
122
|
+
let title = options.title === !1 ? void 0 : options.title, padding = options.margin ? `${options.margin.top ?? 0}px ${options.margin.right ?? 0}px ${options.margin.bottom ?? 0}px ${options.margin.left ?? 0}px` : void 0, mode = tableFrameMode(options), language = options.locale?.language, markerNotes = mode === "compact" ? omittedCompactNotes("table", options) : [], authored = markerNotes.length > 0 ? [] : authoredNotes(options), engine = options[ENGINE_NOTES] ?? [], kinds = options[ENGINE_NOTE_KINDS], theme = footer?.theme ?? resolveTheme(options.theme), width = resolveSize(options.size).width, authoredSubtitle = resolveSubtitle(options.subtitle), unitLine = authoredSubtitle === void 0 && panelTypeClass(options) === void 0 && unitUnprinted(options, {
|
|
123
|
+
type: "table",
|
|
124
|
+
derived: { table },
|
|
125
|
+
*texts() {
|
|
126
|
+
title && (yield title);
|
|
127
|
+
for (let column of columns) yield columnHeadText(column, theme);
|
|
128
|
+
for (let row of rows) {
|
|
129
|
+
yield row.label;
|
|
130
|
+
for (let column of columns) {
|
|
131
|
+
let cell = row.cells[column.id];
|
|
132
|
+
cell && (yield cell.displayed);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
yield* authored, options.source && (yield options.source);
|
|
136
|
+
}
|
|
137
|
+
}), subtitle = authoredSubtitle ?? (unitLine ? { measure: options.unit.trim() } : void 0), text = frameText({
|
|
138
|
+
target: options.target,
|
|
139
|
+
title,
|
|
140
|
+
subtitle,
|
|
141
|
+
unit: tableFrameUnit(table, options),
|
|
142
|
+
source: options.source,
|
|
143
|
+
// The core line budget: notes.maxLines, else the target default, in wrapped lines of the React footer.
|
|
144
|
+
notes: { ...options.notes, show: shownNoteKinds(options) },
|
|
145
|
+
notesShowAuthored: options.notes?.show !== void 0,
|
|
146
|
+
strings: { ...localeStrings(language), ...options.strings },
|
|
147
|
+
footnotes: [
|
|
148
|
+
...tableFootnotes(table, rows, columns, language).map((note) => ({ text: note, meta: { kind: "disclosure" } })),
|
|
149
|
+
...authored.map((note) => ({ text: note })),
|
|
150
|
+
...engine.map((note) => ({ text: note, meta: kinds?.get(note) ?? { kind: "disclosure" } }))
|
|
151
|
+
],
|
|
152
|
+
footnotesOff: options.footnotes === !1,
|
|
153
|
+
numberedFootnotes: authored,
|
|
154
|
+
unreferencedNotes: authored.map((_, i) => i + 1),
|
|
155
|
+
width,
|
|
156
|
+
footWidth: footer?.width ?? width,
|
|
157
|
+
footFont: { family: theme.type.family, ...footerType(theme.type.footnote, options.target, textScaleOf(options)) },
|
|
158
|
+
boldWeight: emphasisWeight(theme),
|
|
159
|
+
measure: footer?.measure ?? defaultMeasurer,
|
|
160
|
+
// The React grid is a live surface: under 'info' its button lists every note the footer leaves off.
|
|
161
|
+
policy: { pinned: !1, live: !0 }
|
|
162
|
+
}), words = { ...localeStrings(language), ...options.strings }, { shown, panel } = footerParts(text.noteList, text.placement, shownNoteKinds(options), text.pointerOn);
|
|
97
163
|
return {
|
|
98
164
|
mode,
|
|
99
165
|
title,
|
|
100
|
-
subtitle,
|
|
101
|
-
source:
|
|
102
|
-
footnotes,
|
|
166
|
+
subtitle: text.subtitle,
|
|
167
|
+
source: text.sourceOff ? void 0 : text.sourceText,
|
|
103
168
|
padding,
|
|
104
|
-
|
|
105
|
-
|
|
169
|
+
// The frame's own findings (notes left out, notes switched off), as the SVG table reports them.
|
|
170
|
+
warnings: text.warnings,
|
|
171
|
+
footnotes: shown,
|
|
172
|
+
listed: panel,
|
|
173
|
+
pointer: panel.length === 0 ? void 0 : text.placement === "info" ? notesPanelLabel(panel.length, words.notesAndSources) : notesPointer(panel.length, words),
|
|
106
174
|
markerNotes: markerNotes.join(" "),
|
|
107
175
|
// The author's accessible description replaces the generated summary, as it does in the SVG.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
`Table with ${table.rows.length} rows and ${table.columns.length} columns.`
|
|
112
|
-
].filter((part) => !!part).join(" \xB7 ")
|
|
176
|
+
// The SVG table's description, counted on the view on screen: the expanded rows and the shown columns,
|
|
177
|
+
// without the row an empty table draws. The grid carries the title as its name, so this does not repeat it.
|
|
178
|
+
summary: plainText(options.a11y?.description ?? options.caption ?? chartString(options, "tableDesc", { v1: String(rows.filter((row) => row.id !== EMPTY_ROW_ID).length), v2: String(columns.length) }))
|
|
113
179
|
};
|
|
114
180
|
}
|
|
115
|
-
function sourceLine(source, word) {
|
|
116
|
-
return source.slice(0, word.length).toLowerCase() === word.toLowerCase() && /^\p{L}*\s*:/u.test(source.slice(word.length)) ? source : `${word}: ${source}`;
|
|
117
|
-
}
|
|
118
|
-
function subtitleText(subtitle, unit) {
|
|
119
|
-
let sub = resolveSubtitle(subtitle);
|
|
120
|
-
if (sub === void 0) return;
|
|
121
|
-
let measure = unit ? `${sub.measure} in ${unit}` : sub.measure;
|
|
122
|
-
return [sub.company, measure, sub.period, sub.scenarios?.length ? formatScenarios(sub.scenarios) : void 0].filter((part) => !!part).join(" \xB7 ");
|
|
123
|
-
}
|
|
124
181
|
function headPadVars(theme) {
|
|
125
182
|
return [
|
|
126
183
|
["head-pad-top", theme.table?.headPad?.top],
|
|
@@ -131,7 +188,7 @@ function headPadVars(theme) {
|
|
|
131
188
|
}
|
|
132
189
|
function headPadRules() {
|
|
133
190
|
return `
|
|
134
|
-
.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*{padding-top:var(--bp-head-pad-top,0px);padding-bottom:var(--bp-head-pad-bottom,7px)}.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*{padding-top:var(--bp-group-pad-top,6px);padding-bottom:var(--bp-group-pad-bottom,2px)}.bp-table-grid [data-bp-rowgroup="head"] [role="row"]>*{height:auto;white-space:normal;overflow-wrap:
|
|
191
|
+
.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*{padding-top:var(--bp-head-pad-top,0px);padding-bottom:var(--bp-head-pad-bottom,7px)}.bp-table-grid [data-bp-rowgroup="head"] .bp-groups>*{padding-top:var(--bp-group-pad-top,6px);padding-bottom:var(--bp-group-pad-bottom,2px)}.bp-table-grid [data-bp-rowgroup="head"] [role="row"]>*{height:auto;white-space:normal;overflow-wrap:normal}.bp-table-grid [role="row"]>:is([data-bp-hidden],[data-bp-opening]),.bp-table-grid [role="row"]>:is([data-bp-hidden],[data-bp-opening]) *{white-space:nowrap}.bp-table-grid .bp-head-label{min-width:0;max-width:calc(100% + var(--bp-header-tracking,0px));margin-inline-end:calc(-1*var(--bp-header-tracking,0px))}.bp-table-grid .bp-sort>span,.bp-table-grid .bp-head-sub{min-width:0;white-space:normal;overflow-wrap:break-word;text-overflow:clip}`;
|
|
135
192
|
}
|
|
136
193
|
var insetTint = (color) => ({
|
|
137
194
|
backgroundImage: `linear-gradient(${color},${color})`,
|
|
@@ -288,7 +345,7 @@ figure.bp-table[data-bp-fill-height]{box-sizing:border-box;display:flex;flex-dir
|
|
|
288
345
|
.bp-table-grid .bp-children[data-bp-collapsed]{max-height:0;opacity:0;pointer-events:none}
|
|
289
346
|
.bp-table-grid [data-bp-rowgroup="head"] [role="row"]>*{font-size:var(--bp-header-size,var(--bp-head-size));font-weight:${cssValue(String(headFace.weight))};line-height:round(up,calc(var(--bp-header-size,var(--bp-head-size))*var(--bp-head-ratio) - ${LINE_BOX_EPSILON}px),1px);justify-content:flex-end;border-bottom:0;background:transparent;color:var(--bp-ink)}
|
|
290
347
|
.bp-table-grid [data-bp-rowgroup="head"]{border-bottom:${theme.table?.ruleWidths?.head ?? strokeToken(theme, "hair")}px solid var(--bp-rule)}.bp-table-grid [data-bp-rowgroup="head"] .bp-columns>*{letter-spacing:var(--bp-header-tracking,normal)}
|
|
291
|
-
.bp-table-grid .bp-sort{min-width
|
|
348
|
+
.bp-table-grid .bp-sort{min-width:${SORT_BUTTON_MIN}px;min-height:${SORT_BUTTON_MIN}px;display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:0;margin:0;color:inherit;background:transparent;border:0;font:inherit;letter-spacing:inherit;text-transform:inherit;cursor:pointer}.bp-table-grid .bp-sort>span{overflow:hidden;text-overflow:ellipsis}.bp-table-grid .bp-sort svg{flex:none;color:var(--bp-ink-2)}
|
|
292
349
|
.bp-table-grid [aria-sort="ascending"] .bp-sort,.bp-table-grid [aria-sort="descending"] .bp-sort{font-weight:${cssValue(String(headFace.weight))}}.bp-table-grid [aria-sort="ascending"] .bp-sort svg,.bp-table-grid [aria-sort="descending"] .bp-sort svg{color:var(--bp-ink)}
|
|
293
350
|
.bp-table-grid .bp-sort:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:2px}
|
|
294
351
|
.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]) svg{visibility:hidden}.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]):hover svg,.bp-table-grid[data-bp-sort-indicator="sorted"] .bp-sort:not([data-bp-sort-direction]):focus-visible svg{visibility:visible}
|
|
@@ -336,7 +393,7 @@ ${theme.table?.ofWhich === "ink" ? "" : `.bp-table-grid [role="row"][data-relati
|
|
|
336
393
|
.bp-table-grid a{color:inherit;text-decoration-thickness:.08em;text-underline-offset:.14em}.bp-table-grid[data-bp-variant="status"] .bp-chip{border-radius:0}.bp-table-grid .bp-label-line{position:relative;align-self:stretch;max-width:100%;min-width:0}.bp-table-grid .bp-section-line{position:relative;align-self:stretch;display:flex;align-items:center;max-width:100%;min-width:0}.bp-table-grid .bp-num>.bp-section-line{justify-content:flex-end}.bp-table-grid .bp-center>.bp-section-line{justify-content:center}.bp-table-grid .bp-section-line>.bp-value{min-width:0}.bp-table-grid .bp-section-badge{display:flex;flex:none;margin-inline-start:8px;text-transform:none;letter-spacing:normal}.bp-table-grid .bp-chip{display:inline-block;vertical-align:top;padding:.16em .52em;border-radius:var(--bp-chip-radius);background:var(--bp-chip-neutral-bg);color:var(--bp-chip-neutral-ink);font-size:var(--bp-footnote-size);font-weight:${theme.type.label.weight};line-height:var(--bp-axis-line-height);white-space:nowrap;max-width:100%;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis}${["good", "bad", "warn"].map((tone) => `.bp-table-grid [data-tone="${tone}"] .bp-chip{background:var(--bp-chip-${tone}-bg);color:var(--bp-chip-${tone}-ink)}`).join("")}.bp-table-grid .bp-status-mark{display:inline-flex;align-items:center;gap:.4em;max-width:100%;font-size:calc(var(--bp-label-size) + var(--bp-size-step));color:var(--bp-ink);font-weight:${theme.type.label.weight};white-space:nowrap}.bp-table-grid .bp-status-text{min-width:0;overflow:hidden;text-overflow:ellipsis}.bp-table-grid .bp-status-square{flex:none;width:.6em;height:.6em;background:var(--bp-ink-muted)}${["good", "bad", "warn"].map((tone) => `.bp-table-grid [data-tone="${tone}"] .bp-status-square{background:var(--bp-${tone})}`).join("")}
|
|
337
394
|
.bp-table-grid [role="gridcell"]:focus-visible,.bp-table-grid [role="rowheader"]:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:-2px}
|
|
338
395
|
figure.bp-table>.bp-col-toolbar .bp-col-toggle:focus-visible,.bp-table .bp-col-toggle:focus-visible,.bp-table-grid .bp-tree-toggle:focus-visible,figure.bp-table>.bp-expand:focus-visible{outline:2px solid var(--bp-highlight);outline-offset:2px}
|
|
339
|
-
figure.bp-table>.bp-col-toolbar{display:inline-flex;flex-wrap:wrap;gap:2px;padding:2px;align-items:center;margin:.15em 0 .6em;background:var(--bp-emphasis);isolation:isolate}figure.bp-table>.bp-col-toolbar .bp-col-toggle{margin-inline-start:0}.bp-table .bp-col-toggle{position:relative;margin-inline-start:.65em;padding:3px 10px;color:var(--bp-ink-muted);background:transparent;border:0;font:inherit;font-weight:${theme.type.axis.weight};font-size:var(--bp-axis-size);cursor:pointer;transition:background var(--bp-motion-fade) var(--bp-motion-easing),color var(--bp-motion-fade) var(--bp-motion-easing),box-shadow var(--bp-motion-fade) var(--bp-motion-easing)}.bp-table .bp-col-toggle[aria-pressed="true"]{color:var(--bp-background);background:var(--bp-ink);box-shadow:0 0 0 .5px var(--bp-grid),0 1px 2px var(--bp-tile-shadow)}@media (pointer:coarse){.bp-table .bp-col-toggle::before{content:"";position:absolute;z-index:-1;top:50%;left:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
|
|
396
|
+
figure.bp-table>.bp-col-toolbar{display:inline-flex;flex-wrap:wrap;gap:2px;padding:2px;align-items:center;margin:.15em 0 .6em;background:var(--bp-emphasis);isolation:isolate}figure.bp-table>.bp-col-toolbar .bp-col-toggle{margin-inline-start:0}.bp-table .bp-col-toggle{position:relative;min-height:24px;margin-inline-start:.65em;padding:3px 10px;color:var(--bp-ink-muted);background:transparent;border:0;font:inherit;font-weight:${theme.type.axis.weight};font-size:var(--bp-axis-size);cursor:pointer;transition:background var(--bp-motion-fade) var(--bp-motion-easing),color var(--bp-motion-fade) var(--bp-motion-easing),box-shadow var(--bp-motion-fade) var(--bp-motion-easing)}.bp-table .bp-col-toggle[aria-pressed="true"]{color:var(--bp-background);background:var(--bp-ink);box-shadow:0 0 0 .5px var(--bp-grid),0 1px 2px var(--bp-tile-shadow)}@media (pointer:coarse){.bp-table .bp-col-toggle::before{content:"";position:absolute;z-index:-1;top:50%;left:50%;width:max(100%,44px);height:max(100%,44px);transform:translate(-50%,-50%)}}
|
|
340
397
|
.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"]{position:sticky;top:0;z-index:3;background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"] [role="row"]>*{background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin]{position:sticky;left:var(--bp-pin-left,0px);z-index:2;background:var(--bp-background)}.bp-table-grid[data-bp-sticky] [role="row"][data-bp-ground]>[data-bp-pin]{background:linear-gradient(var(--bp-row-ground),var(--bp-row-ground)),var(--bp-background)}.bp-table-grid[data-bp-sticky] [data-bp-rowgroup="head"] [role="row"]>[data-bp-pin]{z-index:4}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin-last]{box-shadow:1px 0 0 var(--bp-rule-row)}.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-section-pin]{overflow:clip}.bp-table-grid[data-bp-sticky] [data-bp-section-pin]>*{position:sticky;left:calc(var(--bp-pin-left,0px) + var(--bp-cell-pad-x));align-self:flex-start}.bp-table-grid[data-bp-sticky] [role="row"][data-role="section"]>[data-bp-pin]{overflow:visible}.bp-table-grid[data-bp-sticky] [role="row"][data-role="section"]>[data-bp-pin]>:not(.bp-section-rule){align-self:flex-start;width:calc(100% + var(--bp-section-spill,0px));max-width:none}
|
|
341
398
|
.bp-table-grid[data-bp-sticky] [role="row"]>[data-bp-pin][data-bp-band]{background:var(--bp-emphasis)}
|
|
342
399
|
.bp-table-grid[data-bp-sticky] [role="row"][data-bp-ground="emphasis"]>[data-bp-pin][data-bp-band]{background:var(--bp-column-band-strong)}
|
|
@@ -562,6 +619,7 @@ function cssValue(value) {
|
|
|
562
619
|
export {
|
|
563
620
|
tableRenderTheme,
|
|
564
621
|
tablePresentation,
|
|
622
|
+
ENGINE_NOTE_KINDS,
|
|
565
623
|
tableFrame,
|
|
566
624
|
insetTint,
|
|
567
625
|
tableStylesheet,
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hostedLayout
|
|
3
|
+
} from "./chunk-NZ7FX3AE.js";
|
|
1
4
|
import {
|
|
2
5
|
FIRST_END_BELOW_TOTALS,
|
|
3
6
|
HIGHLIGHT_KEY,
|
|
4
7
|
SECONDARY_FULL_DOMAIN,
|
|
5
8
|
layoutCombo
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PL6NWB5U.js";
|
|
7
10
|
import {
|
|
8
11
|
FORCE_CATEGORY_RANKS
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FWTUGNSF.js";
|
|
10
13
|
import {
|
|
11
14
|
structureCount
|
|
12
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-KW4JXWHO.js";
|
|
13
16
|
import {
|
|
14
17
|
CARD_CLASS_WIDTH,
|
|
15
18
|
CATEGORY_ROW_FROM_END,
|
|
@@ -17,24 +20,26 @@ import {
|
|
|
17
20
|
chartSizing,
|
|
18
21
|
crowdedTailCut,
|
|
19
22
|
valueAxisTitleText
|
|
20
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-ETRAPN5G.js";
|
|
21
24
|
import {
|
|
25
|
+
HOST_CLAIMS,
|
|
22
26
|
authoredNotes,
|
|
23
27
|
legendRequired,
|
|
24
|
-
withAuthoredFootnotes
|
|
25
|
-
|
|
28
|
+
withAuthoredFootnotes,
|
|
29
|
+
withUnprintedClaims
|
|
30
|
+
} from "./chunk-I5VDW2XZ.js";
|
|
26
31
|
import {
|
|
27
32
|
disclosureNote,
|
|
28
33
|
keepShownNotes,
|
|
29
34
|
rankKeyShown
|
|
30
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-DZYTXZNS.js";
|
|
31
36
|
import {
|
|
32
37
|
emptyIdRecord
|
|
33
38
|
} from "./chunk-LINZPU5D.js";
|
|
34
39
|
import {
|
|
35
40
|
formatterFromExample,
|
|
36
41
|
seriesRasterFormatter
|
|
37
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-Z6DUNKFU.js";
|
|
38
43
|
import {
|
|
39
44
|
authoredDecimals,
|
|
40
45
|
autoDecimals,
|
|
@@ -50,13 +55,13 @@ import {
|
|
|
50
55
|
import {
|
|
51
56
|
paintTokenColor,
|
|
52
57
|
resolveTheme
|
|
53
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-TX5FSNAU.js";
|
|
54
59
|
import {
|
|
55
60
|
NormalizeError,
|
|
56
61
|
TARGET_SIZE,
|
|
57
62
|
accessibleTitle,
|
|
58
63
|
resolveSize
|
|
59
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-RJICOOB3.js";
|
|
60
65
|
|
|
61
66
|
// src/core/strings/pareto.ts
|
|
62
67
|
var EN = {
|
|
@@ -179,14 +184,14 @@ function countWord(n) {
|
|
|
179
184
|
function layoutPareto(data, options = {}) {
|
|
180
185
|
let warnings = [];
|
|
181
186
|
if (!data || !Array.isArray(data.items) || data.items.length === 0)
|
|
182
|
-
throw new NormalizeError("empty-data", "items", "pareto requires at least one item");
|
|
187
|
+
throw new NormalizeError("empty-data", "items", "pareto requires at least one item", void 0, void 0, ["data", "items"]);
|
|
183
188
|
let seen = /* @__PURE__ */ new Set();
|
|
184
189
|
data.items.forEach((item, i) => {
|
|
185
190
|
let path = `items[${i}]`;
|
|
186
191
|
if (!item || typeof item != "object" || !item.id)
|
|
187
|
-
throw new NormalizeError("missing-id", path, "each pareto item requires an id");
|
|
192
|
+
throw new NormalizeError("missing-id", path, "each pareto item requires an id", void 0, void 0, ["data", "items", i]);
|
|
188
193
|
if (seen.has(item.id))
|
|
189
|
-
throw new NormalizeError("duplicate-id", path, `duplicate item id '${item.id}'
|
|
194
|
+
throw new NormalizeError("duplicate-id", path, `duplicate item id '${item.id}'`, void 0, void 0, ["data", "items", i]);
|
|
190
195
|
seen.add(item.id);
|
|
191
196
|
let raw = item.value;
|
|
192
197
|
if (isPctCell(raw))
|
|
@@ -194,28 +199,36 @@ function layoutPareto(data, options = {}) {
|
|
|
194
199
|
"pareto-percent-input",
|
|
195
200
|
`${path}.value`,
|
|
196
201
|
`item '${item.id}' supplies a share; a Pareto derives every share from the plotted values`,
|
|
197
|
-
"supply counts or amounts \u2014 cumulative shares are computed, never authored"
|
|
202
|
+
"supply counts or amounts \u2014 cumulative shares are computed, never authored",
|
|
203
|
+
void 0,
|
|
204
|
+
["data", "items", i, "value"]
|
|
198
205
|
);
|
|
199
206
|
if (raw == null)
|
|
200
207
|
throw new NormalizeError(
|
|
201
208
|
"pareto-missing-value",
|
|
202
209
|
`${path}.value`,
|
|
203
210
|
`item '${item.id}' has no value; a missing cause cannot be part of a total`,
|
|
204
|
-
"drop the item, or state 0 if the cause was measured and did not occur"
|
|
211
|
+
"drop the item, or state 0 if the cause was measured and did not occur",
|
|
212
|
+
void 0,
|
|
213
|
+
["data", "items", i, "value"]
|
|
205
214
|
);
|
|
206
215
|
if (typeof raw != "number" || Number.isNaN(raw) || !Number.isFinite(raw))
|
|
207
216
|
throw new NormalizeError(
|
|
208
217
|
"pareto-nonfinite-value",
|
|
209
218
|
`${path}.value`,
|
|
210
219
|
`item '${item.id}' has a non-finite value (${String(raw)})`,
|
|
211
|
-
"supply a finite number"
|
|
220
|
+
"supply a finite number",
|
|
221
|
+
void 0,
|
|
222
|
+
["data", "items", i, "value"]
|
|
212
223
|
);
|
|
213
224
|
if (raw < 0)
|
|
214
225
|
throw new NormalizeError(
|
|
215
226
|
"pareto-negative-value",
|
|
216
227
|
`${path}.value`,
|
|
217
228
|
`item '${item.id}' is negative (${raw}); cumulative share stops being monotone, so the curve would descend`,
|
|
218
|
-
"use a waterfall or a variance chart for signed contributions"
|
|
229
|
+
"use a waterfall or a variance chart for signed contributions",
|
|
230
|
+
void 0,
|
|
231
|
+
["data", "items", i, "value"]
|
|
219
232
|
);
|
|
220
233
|
});
|
|
221
234
|
let threshold = options.threshold ?? 80;
|
|
@@ -233,7 +246,7 @@ function layoutPareto(data, options = {}) {
|
|
|
233
246
|
i
|
|
234
247
|
})), authoredRest = authored.filter((item) => item.rest), hasAuthoredRest = authoredRest.length > 0, ranked = authored.filter((item) => !item.rest).sort((a, b) => b.value - a.value || a.i - b.i), plotted = [...ranked, ...authoredRest], restBucket, foldedRestId, autoFold = options.topN === void 0 ? crowdedTailCut(ranked) : void 0;
|
|
235
248
|
autoFold !== void 0 && warnings.push({
|
|
236
|
-
code: "pareto-tail-
|
|
249
|
+
code: "pareto-tail-folded",
|
|
237
250
|
severity: "info",
|
|
238
251
|
message: `${ranked.length - autoFold} of ${ranked.length} causes are under ${2}% of the total each \u2014 they are folded into 'Rest' so the remaining ${autoFold} columns keep their names`,
|
|
239
252
|
suggest: `set topN: { n: ${ranked.length} } to keep every cause as its own column, or another topN.n to cut the tail elsewhere`
|
|
@@ -265,7 +278,9 @@ function layoutPareto(data, options = {}) {
|
|
|
265
278
|
"pareto-zero-total",
|
|
266
279
|
"items",
|
|
267
280
|
`the plotted values sum to ${total}; every cumulative share would be 0/0`,
|
|
268
|
-
"a Pareto needs at least one positive value"
|
|
281
|
+
"a Pareto needs at least one positive value",
|
|
282
|
+
void 0,
|
|
283
|
+
["data", "items"]
|
|
269
284
|
);
|
|
270
285
|
let order = plotted.map((p) => p.id), values = emptyIdRecord(), cumulative = emptyIdRecord(), cumulativeShare = emptyIdRecord(), running = 0, cumSeries = [];
|
|
271
286
|
for (let p of plotted)
|
|
@@ -296,7 +311,7 @@ function layoutPareto(data, options = {}) {
|
|
|
296
311
|
message: `threshold is ${thresholdText(threshold, options.locale?.language)}, not the conventional 80% \u2014 the vital-few set and the reference rule follow the stated threshold`
|
|
297
312
|
}), plotted.length > 15 && !restBucket && warnings.push({
|
|
298
313
|
code: "pareto-tail-crowded",
|
|
299
|
-
severity: "
|
|
314
|
+
severity: "advice",
|
|
300
315
|
message: `${plotted.length} columns: the tail is too narrow to read and adds nothing to the vital-few answer`,
|
|
301
316
|
suggest: "set topN: { n: 10, rest: true } to keep the total intact while showing the tail as one bucket"
|
|
302
317
|
}), plotted.length === 1 && warnings.push({
|
|
@@ -380,9 +395,14 @@ function layoutPareto(data, options = {}) {
|
|
|
380
395
|
language: options.locale?.language,
|
|
381
396
|
fmt
|
|
382
397
|
}) : []
|
|
383
|
-
], primaryTitle = valueAxisTitleText(resolveTheme(options.theme), options.axisTitles?.primary, options, options.unit), curveTitled = drawCumulative && highlighted.length === 0, topKey = (curveShows) => chartString(options, "paretoTop", { v1: /^de(?:[-_]|$)/i.test(options.locale?.language ?? "") ? chartString(options, "numberCount", { v1: highlighted.length }) : countWord(highlighted.length), v2: curveShows ? "" : `: ${curveShareText(populationShare[highlighted.at(-1)])}` }), totalScaled = drawCumulative && (options.totalScale ?? (concentrated && options.valueAxis?.min === void 0 && options.valueAxis?.max === void 0)),
|
|
398
|
+
], primaryTitle = valueAxisTitleText(resolveTheme(options.theme), options.axisTitles?.primary, options, options.unit), curveTitled = drawCumulative && highlighted.length === 0, topKey = (curveShows) => chartString(options, "paretoTop", { v1: /^de(?:[-_]|$)/i.test(options.locale?.language ?? "") ? chartString(options, "numberCount", { v1: highlighted.length }) : countWord(highlighted.length), v2: curveShows ? "" : `: ${curveShareText(populationShare[highlighted.at(-1)])}` }), totalScaled = drawCumulative && (options.totalScale ?? (concentrated && options.valueAxis?.min === void 0 && options.valueAxis?.max === void 0)), shareClaims = (id) => [`pareto:cumshare:${id}`, ...id === crossingId ? ["pareto:vitalFew"] : []], plottedAt = new Map(plotted.map((p, i) => [p.id, i])), curvePrinted = (id) => curvePrints(curve, plottedAt.get(id) ?? -1, options.labels), ruleCarries = /* @__PURE__ */ new Set(), claimsOf = (request) => {
|
|
399
|
+
let id = request.owner.categoryId;
|
|
400
|
+
if (request.kind === "point" && request.owner.seriesId === CUMULATIVE_SERIES_ID && id !== void 0) return curvePrinted(id) ? shareClaims(id) : void 0;
|
|
401
|
+
if (request.id === `valueLine:${THRESHOLD_ANNOTATION_ID}` && ruleCarries.size > 0) return [...ruleCarries].flatMap(shareClaims);
|
|
402
|
+
}, comboOptions = {
|
|
384
403
|
[SECONDARY_FULL_DOMAIN]: totalScaled ? [0, total] : void 0,
|
|
385
404
|
...stripParetoOnly(options),
|
|
405
|
+
[HOST_CLAIMS]: claimsOf,
|
|
386
406
|
[CATEGORY_ROW_FROM_END]: !1,
|
|
387
407
|
// Cause names that must rotate stand vertical, whole, each in its column.
|
|
388
408
|
// Only on a pinned height: with the height left to the chart, the taller vertical row moves the
|
|
@@ -429,14 +449,13 @@ function layoutPareto(data, options = {}) {
|
|
|
429
449
|
}, comboData = {
|
|
430
450
|
categories: plotted.map((p) => ({ id: p.id, label: p.label, date: p.date })),
|
|
431
451
|
series
|
|
432
|
-
}, render = (extra) =>
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
);
|
|
452
|
+
}, render = (extra) => {
|
|
453
|
+
let inner = withAuthoredFootnotes(comboOptions, [...footnotes, ...extra], options.authoredFootnotes ?? options.footnotes);
|
|
454
|
+
return hostedLayout(options, inner, () => layoutCombo(comboData, inner));
|
|
455
|
+
};
|
|
437
456
|
thresholdLine && threshold !== !1 && curve.forEach((cell, i) => {
|
|
438
457
|
let value = typeof cell == "number" ? cell : cell !== null && typeof cell == "object" && "number" in cell ? cell.number : void 0;
|
|
439
|
-
(typeof cell == "number" || cell !== null && typeof cell == "object" && "label" in cell && cell.label === "${value}") && value !== void 0 && curveShareText(value) === thresholdText(threshold) && (curve[i] = { number: value, label: !1 });
|
|
458
|
+
(typeof cell == "number" || cell !== null && typeof cell == "object" && "label" in cell && cell.label === "${value}") && value !== void 0 && curveShareText(value) === thresholdText(threshold) && (curve[i] = { number: value, label: !1 }, ruleCarries.add(plotted[i].id));
|
|
440
459
|
});
|
|
441
460
|
let geo = render([]);
|
|
442
461
|
if (thresholdLine?.side === "left") {
|
|
@@ -466,7 +485,7 @@ function layoutPareto(data, options = {}) {
|
|
|
466
485
|
unnamed = after, noteApplied = !1;
|
|
467
486
|
}
|
|
468
487
|
if (unnamed.length > 0) {
|
|
469
|
-
let
|
|
488
|
+
let printed2 = pageText(geo), lost = unnamed.filter((u) => !printed2.includes(u.label));
|
|
470
489
|
warnings.push({
|
|
471
490
|
code: "pareto-category-label-omitted",
|
|
472
491
|
severity: lost.length > 0 ? "warn" : "info",
|
|
@@ -495,8 +514,11 @@ function layoutPareto(data, options = {}) {
|
|
|
495
514
|
...node.stroke ? { stroke: cumulativePaint(node.stroke, seriesId) } : {}
|
|
496
515
|
} : node.t === "text" ? { ...node, ink: cumulativePaint(node.ink, seriesId) } : node;
|
|
497
516
|
});
|
|
498
|
-
let labelOf = (id) => ranked.find((r) => r.id === id)?.label ?? id, vitalFewLabels = vitalFew.map(labelOf).join(", "), desc = chartString(options, "paretoDescStart", { v1: populationCount }) + (restBucket ? chartString(options, "paretoColumnsClause", { v1: plotted.length - (hideRestColumn ? 1 : 0) }) : "") + chartString(options, "totalClause", { v1: fmt(total) }) + (hasAuthoredRest ? chartString(options, "paretoAuthoredRestDesc") : "") + (threshold === !1 ? chartString(options, "paretoNoThresholdDesc") : crossingId === void 0 ? chartString(options, "paretoNoReachDesc") : concentrated ? chartString(options, "paretoReachDesc", { v1: vitalFew.length, v2: populationCount, v3: vitalFewLabels, v4: curveShareText(populationShare[crossingId]), v5: thresholdText(threshold, options.locale?.language), v6: labelOf(crossingId) }) : chartString(options, "paretoNotConcentratedDesc", { v1: vitalFew.length, v2: populationCount, v3: thresholdText(threshold, options.locale?.language) })) + (restBucket ? chartString(options, "paretoRestDesc", { v1: hasAuthoredRest ? chartString(options, "authoredRestHolds") : chartString(options, "lastElement", { v1: hideRestColumn ? drawCumulative ? chartString(options, "curvePoint") : chartString(options, "category2") : chartString(options, "columnName") }), v2: restBucket.memberIds.length, v3: fmt(restBucket.value) }) : "") + (drawCumulative ? chartString(options, "paretoCurveDesc") : chartString(options, "paretoCurveOffDesc"))
|
|
499
|
-
|
|
517
|
+
let labelOf = (id) => ranked.find((r) => r.id === id)?.label ?? id, vitalFewLabels = vitalFew.map(labelOf).join(", "), desc = chartString(options, "paretoDescStart", { v1: populationCount }) + (restBucket ? chartString(options, "paretoColumnsClause", { v1: plotted.length - (hideRestColumn ? 1 : 0) }) : "") + chartString(options, "totalClause", { v1: fmt(total) }) + (hasAuthoredRest ? chartString(options, "paretoAuthoredRestDesc") : "") + (threshold === !1 ? chartString(options, "paretoNoThresholdDesc") : crossingId === void 0 ? chartString(options, "paretoNoReachDesc") : concentrated ? chartString(options, "paretoReachDesc", { v1: vitalFew.length, v2: populationCount, v3: vitalFewLabels, v4: curveShareText(populationShare[crossingId]), v5: thresholdText(threshold, options.locale?.language), v6: labelOf(crossingId) }) : chartString(options, "paretoNotConcentratedDesc", { v1: vitalFew.length, v2: populationCount, v3: thresholdText(threshold, options.locale?.language) })) + (restBucket ? chartString(options, "paretoRestDesc", { v1: hasAuthoredRest ? chartString(options, "authoredRestHolds") : chartString(options, "lastElement", { v1: hideRestColumn ? drawCumulative ? chartString(options, "curvePoint") : chartString(options, "category2") : chartString(options, "columnName") }), v2: restBucket.memberIds.length, v3: fmt(restBucket.value) }) : "") + (drawCumulative ? chartString(options, "paretoCurveDesc") : chartString(options, "paretoCurveOffDesc")), keyShareNodeId = key && key.highlighted === topKey(!1) && crossingId !== void 0 && highlighted.at(-1) === crossingId ? geo.legend?.items.find((item) => highlighted.some((id) => item.id === `key:${VALUE_SERIES_ID}:${id}`))?.labelId : void 0, printed = (id) => curvePrinted(id) || ruleCarries.has(id) || keyShareNodeId !== void 0 && id === crossingId, unprinted = [
|
|
518
|
+
...order.filter((id) => !printed(id)).map((id) => `pareto:cumshare:${id}`),
|
|
519
|
+
...crossingId !== void 0 && !printed(crossingId) ? ["pareto:vitalFew"] : []
|
|
520
|
+
];
|
|
521
|
+
return withUnprintedClaims({
|
|
500
522
|
...geo,
|
|
501
523
|
type: "pareto",
|
|
502
524
|
// No value-label floor. At a narrow card the pareto staggers its values into two
|
|
@@ -513,6 +535,7 @@ function layoutPareto(data, options = {}) {
|
|
|
513
535
|
populationValue,
|
|
514
536
|
vitalFew,
|
|
515
537
|
...crossingId === void 0 ? {} : { crossingId },
|
|
538
|
+
...keyShareNodeId === void 0 ? {} : { keyShareNodeId },
|
|
516
539
|
threshold,
|
|
517
540
|
concentrated,
|
|
518
541
|
highlighted,
|
|
@@ -542,7 +565,7 @@ function layoutPareto(data, options = {}) {
|
|
|
542
565
|
// author, acknowledged the axis. Every other combo warning passes
|
|
543
566
|
// through untouched.
|
|
544
567
|
warnings: [...geo.warnings.filter((w) => w.code !== "dual-axis"), ...warnings]
|
|
545
|
-
};
|
|
568
|
+
}, unprinted);
|
|
546
569
|
}
|
|
547
570
|
function methodFootnotes(input) {
|
|
548
571
|
let { restBucket, populationCount, threshold, language, fmt } = input, rule = threshold === !1 ? "" : thresholdText(threshold, language), denominator = restBucket ? chartString(input.options, "observedCausesDrawn", { v1: populationCount, v2: input.plotted }) : chartString(input.options, "observedCauses", { v1: populationCount });
|
|
@@ -603,7 +626,7 @@ var paretoCore = {
|
|
|
603
626
|
aliases: ["pareto-chart"],
|
|
604
627
|
layout: layoutPareto,
|
|
605
628
|
defaults: { threshold: 80, cumulative: !0, methodNote: !1 },
|
|
606
|
-
annotationKinds: ["note", "callout", "cagr", "diff", "delta"]
|
|
629
|
+
annotationKinds: ["note", "callout", "cagr", "diff", "delta", "text", "line", "arrow", "box"]
|
|
607
630
|
};
|
|
608
631
|
|
|
609
632
|
export {
|