boardplot 0.57.0 → 0.58.1
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 +311 -0
- package/README.md +48 -14
- package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-FXNTFSA4.js} +2 -2
- package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-WVOT7VVJ.js} +8 -7
- package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-57L26X77.js} +2 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-6LQKU6YN.js → chunk-23FT7RLN.js} +11 -10
- package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
- package/dist/chunk-2DS4MT7T.js +25 -0
- package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
- package/dist/{chunk-JMOBA5ES.js → chunk-2IRMGCYE.js} +2 -2
- package/dist/{chunk-JKXJWCJ5.js → chunk-2SWSUNA4.js} +116 -54
- package/dist/{chunk-O7Y6RJ4D.js → chunk-33EBLJVZ.js} +11 -11
- package/dist/{chunk-EHQLLZCQ.js → chunk-34PKJZRY.js} +59 -34
- package/dist/{chunk-SHAAMKN7.js → chunk-35ZJUZUO.js} +18 -18
- package/dist/{chunk-TGR6PRKG.js → chunk-3BMPYY26.js} +6 -3
- package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
- package/dist/{chunk-H3EWFSWI.js → chunk-3ESWPMDW.js} +43 -29
- package/dist/{chunk-6KHRMK3I.js → chunk-3M2F7KSS.js} +158 -75
- package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
- package/dist/{chunk-MOQFYJ3F.js → chunk-3OSQ32GN.js} +5 -5
- package/dist/{chunk-HGPFEG2L.js → chunk-3RXUA6VY.js} +5 -5
- package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
- package/dist/{chunk-FAFUMSPR.js → chunk-4DK67I3B.js} +83 -51
- package/dist/{chunk-EEBMK6T6.js → chunk-4DMRIL5K.js} +8 -8
- package/dist/chunk-4M3UADCM.js +602 -0
- package/dist/{chunk-WSKZZ2ZB.js → chunk-4OJF6DXL.js} +538 -503
- package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
- package/dist/{chunk-I7KDPCC7.js → chunk-4TUU3UGY.js} +18 -10
- package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
- package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
- package/dist/{chunk-BQIADGJB.js → chunk-5CYLT6FJ.js} +5 -5
- package/dist/{chunk-IVQT2E3Y.js → chunk-5I4RPBNE.js} +13 -13
- package/dist/{chunk-LW4ZQGVL.js → chunk-5KAYLRRP.js} +7 -8
- package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
- package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
- package/dist/{chunk-4RN4OM6I.js → chunk-63JUV7NR.js} +3 -3
- package/dist/chunk-645BGVPP.js +26 -0
- package/dist/{chunk-JIH52I36.js → chunk-65U6ZBZZ.js} +119 -85
- package/dist/{chunk-3DUGZ7ML.js → chunk-6ALORYH7.js} +46 -31
- package/dist/{chunk-HB3TH7GY.js → chunk-6AVUTZ6W.js} +10 -6
- package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
- package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
- package/dist/{chunk-IZRTNCJQ.js → chunk-6JTCFPAD.js} +5 -5
- package/dist/{chunk-5TUDYKNL.js → chunk-6NGKQNTB.js} +42 -29
- package/dist/{chunk-IUVJVMKS.js → chunk-6V3A3MTG.js} +55 -32
- package/dist/{chunk-FJKFYQ5I.js → chunk-6YBNVI5I.js} +36 -28
- package/dist/chunk-76GPN6AT.js +72 -0
- package/dist/{chunk-SHCW2TCA.js → chunk-7GRR72MY.js} +25 -23
- package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
- package/dist/{chunk-Y5IKCXQR.js → chunk-7YZZCQT3.js} +5 -5
- package/dist/chunk-A65B23JK.js +113 -0
- package/dist/{chunk-2WTD3GCR.js → chunk-A6N24NGW.js} +3 -3
- package/dist/{chunk-72OJBDRB.js → chunk-AAQWFTDM.js} +52 -41
- package/dist/{chunk-4JNHF6JW.js → chunk-AGJ2QL4A.js} +84 -40
- package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
- package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
- package/dist/{chunk-7P7D6WXR.js → chunk-AKZOQGF3.js} +3 -3
- package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
- package/dist/{chunk-VY67Q6CJ.js → chunk-AMBQ6SWU.js} +36 -33
- package/dist/{chunk-73O6AOAA.js → chunk-AQ2PQ7FK.js} +241 -140
- package/dist/{chunk-XFCBH3TI.js → chunk-BHLNSJG7.js} +3 -3
- package/dist/{chunk-6XU5XGYV.js → chunk-BQ7SN7AW.js} +5 -5
- package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
- package/dist/{chunk-LSR3SBJ4.js → chunk-BSZOQJXB.js} +234 -136
- package/dist/{chunk-KJLH5EHD.js → chunk-BVIJCUWW.js} +175 -110
- package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
- package/dist/{chunk-AOIZJ7GR.js → chunk-C4SQU2PB.js} +6 -6
- package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
- package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
- package/dist/{chunk-T5MBORBK.js → chunk-CFESVCZR.js} +1 -1
- package/dist/{chunk-EEL2N4Y6.js → chunk-CKEFAD4R.js} +5 -5
- 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-NCCDEUHD.js → chunk-CSMVKG2C.js} +1 -1
- package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
- package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
- package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
- package/dist/{chunk-AFA32LHN.js → chunk-DUOGEFLG.js} +62 -36
- package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
- package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
- package/dist/{chunk-6EE6XEMA.js → chunk-EB4PQEI3.js} +26 -17
- package/dist/{chunk-ANNQJWDX.js → chunk-EBWMTQ4U.js} +285 -34
- package/dist/{chunk-EHNGPUTO.js → chunk-EDW5HQND.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-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-LO3AGGE3.js → chunk-FJNZ7NWD.js} +5 -5
- package/dist/{chunk-IRXTNSZL.js → chunk-FPFRLRQO.js} +40 -22
- package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
- package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
- package/dist/{chunk-A33MFWHW.js → chunk-G7BCLYL4.js} +2 -2
- package/dist/{chunk-2KCK63DD.js → chunk-G7CXJPEN.js} +2 -2
- package/dist/{chunk-2X6XY4K4.js → chunk-GB3RZYTK.js} +39 -19
- package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
- package/dist/{chunk-AFGQXMKT.js → chunk-GNMB72V7.js} +161 -67
- package/dist/chunk-GOFS336W.js +24 -0
- package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
- package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
- package/dist/{chunk-JRRSKCGG.js → chunk-H4EDDGGX.js} +3 -3
- package/dist/{chunk-5H4HFRDO.js → chunk-H7BCNS5J.js} +5 -5
- package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
- package/dist/chunk-HF4BCPIV.js +26 -0
- package/dist/{chunk-YCUNFAEE.js → chunk-HM4AJ5U4.js} +238 -127
- package/dist/{chunk-7FAO4ICF.js → chunk-HO4ILCW7.js} +2 -2
- package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
- package/dist/{chunk-G5BUGYIL.js → chunk-I52OMC5B.js} +192 -113
- package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
- package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
- package/dist/{chunk-SSZB3VXG.js → chunk-IFUAPFL5.js} +102 -47
- package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
- package/dist/{chunk-KF3ZHLHQ.js → chunk-IMUMPKXF.js} +5 -5
- package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
- package/dist/{chunk-76UL4CT4.js → chunk-IPZJCBWD.js} +27 -22
- package/dist/{chunk-5P4MXWKP.js → chunk-ITEJQHXE.js} +4 -4
- package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
- package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
- package/dist/{chunk-K6Y4HBK7.js → chunk-IXU5C3YY.js} +1000 -904
- package/dist/{chunk-EDBUVDRI.js → chunk-JBAVMO56.js} +372 -93
- package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
- package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
- package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
- package/dist/{chunk-VT7PBGL2.js → chunk-JYSFAH7C.js} +23 -36
- package/dist/chunk-K7XPTQBJ.js +267 -0
- package/dist/{chunk-2I76VFMZ.js → chunk-KI7VCHNZ.js} +49 -37
- package/dist/{chunk-YB6QGOCO.js → chunk-KUWIRCYJ.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-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
- package/dist/{chunk-TDDSWNGD.js → chunk-LOXZSTIM.js} +30 -28
- package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
- package/dist/{chunk-IXM6BAM4.js → chunk-LXH4RPY4.js} +1 -1
- package/dist/{chunk-D5G67OER.js → chunk-LYAT62UT.js} +1 -1
- package/dist/{chunk-EFKFZNQC.js → chunk-M5LPP2GQ.js} +34 -20
- package/dist/{chunk-QZMLSK43.js → chunk-MALSSEXO.js} +294 -145
- package/dist/{chunk-XN7JDII2.js → chunk-MB5EX2YG.js} +230 -107
- package/dist/{chunk-PSYPB22T.js → chunk-MGXHFRQK.js} +5 -5
- package/dist/{chunk-GADI2DU7.js → chunk-MVR7YKBF.js} +152 -27
- package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
- package/dist/{chunk-C5SQEYTQ.js → chunk-NFGV5OAR.js} +153 -65
- package/dist/{chunk-RZNYW7UP.js → chunk-NNIZG3TH.js} +8 -0
- package/dist/{chunk-AKJO6N4K.js → chunk-NQPJWQTW.js} +11 -4
- package/dist/{chunk-YFI5PN5O.js → chunk-NSMYIUBZ.js} +34 -11
- package/dist/{chunk-H6EJ63QN.js → chunk-NT3HCXQC.js} +144 -83
- package/dist/chunk-NZ7FX3AE.js +65 -0
- package/dist/chunk-O3LT4TAI.js +34 -0
- package/dist/{chunk-L2XRUG4P.js → chunk-OELB7MTE.js} +5 -5
- package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
- package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
- package/dist/{chunk-CEMXGMQN.js → chunk-OQUH7I5T.js} +3 -3
- package/dist/{chunk-Q7VPTN5X.js → chunk-OS7C2KMQ.js} +4 -4
- package/dist/{chunk-NRYERHEI.js → chunk-OTWIW2L3.js} +5 -5
- package/dist/chunk-OUNYHYJL.js +27 -0
- package/dist/{chunk-54HEIM2A.js → chunk-OUR5ZHCB.js} +2 -2
- package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
- package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
- package/dist/{chunk-YGPLUENN.js → chunk-P3NMDPDP.js} +132 -83
- package/dist/{chunk-NINK4G7U.js → chunk-P5RCP4NK.js} +2 -2
- package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
- package/dist/{chunk-J22ETKDJ.js → chunk-P7UOOMXE.js} +2 -2
- package/dist/chunk-PMT75APP.js +94 -0
- package/dist/{chunk-KLQKHA3T.js → chunk-PNYWBY4K.js} +5 -5
- package/dist/{chunk-XNV7VOIT.js → chunk-PVGJM2HP.js} +4 -4
- package/dist/{chunk-4U2WSW6F.js → chunk-Q2I3QLE3.js} +65 -36
- package/dist/{chunk-LGMV7ZV4.js → chunk-QATOOZMH.js} +5 -5
- package/dist/{chunk-H2POQ4LB.js → chunk-QFNWGSCT.js} +4 -4
- package/dist/{chunk-CIDOL4FO.js → chunk-QQMESIDA.js} +5 -5
- package/dist/{chunk-OTGNVAI4.js → chunk-R3VSWOTI.js} +4 -4
- package/dist/{chunk-UCIAHSJK.js → chunk-R5SGE2NS.js} +7 -3
- package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
- package/dist/{chunk-RMVCKO6N.js → chunk-RLH2CQCD.js} +458 -136
- package/dist/{chunk-VFLMBA2M.js → chunk-RPGEB3Z5.js} +19 -18
- package/dist/{chunk-KIXNHDXS.js → chunk-RQKDEJFQ.js} +5 -5
- package/dist/chunk-SBKM6XFS.js +211 -0
- package/dist/{chunk-TQ5HHNM3.js → chunk-SCAYWQZK.js} +2 -2
- package/dist/{chunk-Y5WHM2Q5.js → chunk-SH4FLUAD.js} +1 -1
- package/dist/{chunk-7EQU2TUN.js → chunk-SH4UGK5U.js} +84 -53
- package/dist/{chunk-EY4OA4OF.js → chunk-SHYS52VO.js} +370 -785
- package/dist/{chunk-ZSYU6LIH.js → chunk-SKPOXLG5.js} +5 -5
- package/dist/{chunk-OAT6FWKL.js → chunk-T7PRG6AO.js} +5 -5
- package/dist/chunk-TBZT5WUT.js +39 -0
- package/dist/{chunk-5HTGSB6Y.js → chunk-TKH655ON.js} +3 -3
- 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-OKM5LYYP.js → chunk-U6QZOMYC.js} +5 -5
- package/dist/{chunk-F4JAGDPD.js → chunk-UBYDY4B7.js} +8 -8
- package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
- package/dist/{chunk-NO7GRVUU.js → chunk-UOOXWGBU.js} +8 -8
- package/dist/{chunk-LFX5BERN.js → chunk-USMKNNOU.js} +47 -33
- package/dist/chunk-USSG6TJV.js +23 -0
- package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
- package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
- package/dist/{chunk-62JZL6FW.js → chunk-V7JFT7NQ.js} +56 -42
- package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
- package/dist/{chunk-FERP4WS3.js → chunk-VACZGW5R.js} +16 -18
- package/dist/{chunk-BO5EJBLH.js → chunk-VC62V7CX.js} +82 -47
- package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
- package/dist/chunk-VJULLJLN.js +70 -0
- package/dist/{chunk-QLWUFEKR.js → chunk-VKNQOSGW.js} +8 -8
- package/dist/{chunk-BFDPY7JM.js → chunk-VTY6YHQZ.js} +11 -6
- package/dist/{chunk-UFZXZJJG.js → chunk-W2QILXAL.js} +5 -5
- package/dist/{chunk-QHPJ5ZKS.js → chunk-W6XSIBLR.js} +5 -5
- package/dist/{chunk-DJBMA4FW.js → chunk-WDJSDJLV.js} +4 -6
- package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
- package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
- package/dist/chunk-WGJIYFVQ.js +24 -0
- package/dist/{chunk-43PCSBVQ.js → chunk-WKXLJNHW.js} +634 -8
- package/dist/{chunk-EWR6WVOV.js → chunk-WLH5IBFY.js} +6 -6
- package/dist/{chunk-RHVP62HI.js → chunk-WMQ57FOP.js} +5 -5
- package/dist/{chunk-GKQLKUMF.js → chunk-WNTUBGBB.js} +41 -32
- package/dist/{chunk-RHBQ2Q5H.js → chunk-WOICFLOJ.js} +60 -43
- package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
- package/dist/chunk-WVCDISZP.js +89 -0
- package/dist/{chunk-CT4RFZO4.js → chunk-WW4KLAVO.js} +38 -23
- package/dist/{chunk-I5ZADE2U.js → chunk-X3QUASBR.js} +1 -1
- package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
- package/dist/{chunk-Z2BDTZDT.js → chunk-XC32OSCD.js} +97 -39
- package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
- package/dist/chunk-XLLWIHN2.js +24 -0
- package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
- package/dist/{chunk-BM2A3IGQ.js → chunk-XO44IJGZ.js} +1 -1
- package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
- package/dist/chunk-XSC4IXXC.js +24 -0
- package/dist/{chunk-D5RAVZ5C.js → chunk-XSEETONJ.js} +10 -9
- package/dist/{chunk-YBYV56FS.js → chunk-XZOFKLTD.js} +3 -3
- package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
- package/dist/{chunk-W7Q6PLT4.js → chunk-Y6E4JU3U.js} +37 -37
- package/dist/{chunk-XR7VOF2V.js → chunk-YGWPOYDE.js} +25 -13
- package/dist/{chunk-HDSHS2QZ.js → chunk-YJUBX3QF.js} +70 -47
- package/dist/{chunk-BDCKHLUB.js → chunk-YLRAAJYV.js} +72 -304
- package/dist/{chunk-I6QGYRY4.js → chunk-YW35KSXR.js} +2 -2
- package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
- package/dist/{chunk-WKWCNS6K.js → chunk-Z62TJQO5.js} +5 -5
- package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
- package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
- package/dist/{chunk-TWRFVW3J.js → chunk-ZB3JIL3L.js} +138 -89
- package/dist/{chunk-KUMJI5B6.js → chunk-ZBCCJPGW.js} +17 -14
- package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
- package/dist/{chunk-QRZESG66.js → chunk-ZCHKIR7C.js} +64 -239
- package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
- package/dist/{chunk-KQ2WZ6BY.js → chunk-ZG4BMJRL.js} +1 -1
- package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
- package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
- package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
- package/dist/cli/index.js +8 -3
- package/dist/{core-5S5CJHBG.js → core-2GWH3ED7.js} +2 -1
- package/dist/{core-ZSERZGK6.js → core-3LCSHMKN.js} +3 -1
- package/dist/{core-FTQBESDS.js → core-3NQ5TXOJ.js} +3 -1
- package/dist/{core-D2OIGYC7.js → core-3XGQBHJI.js} +4 -1
- package/dist/{core-T3OSZOVV.js → core-4N6WH3IF.js} +3 -1
- package/dist/{core-VRVL6LIM.js → core-5CRTPVYA.js} +3 -1
- package/dist/{core-7XKNJM7Y.js → core-5K4HRIHX.js} +5 -1
- package/dist/{core-CCB3IXGD.js → core-743ZXTWK.js} +3 -1
- package/dist/{core-4M4RY7MX.js → core-7OAGK7ZJ.js} +3 -1
- package/dist/{core-VT35VDVS.js → core-7YDNMUU3.js} +6 -1
- package/dist/{core-4PW4MXWR.js → core-AAPPZSSZ.js} +4 -1
- package/dist/{core-OBPTBKX6.js → core-AC5AKSCM.js} +2 -1
- package/dist/{core-QFAVWFI3.js → core-AEALAFRA.js} +2 -1
- package/dist/{core-WXZJ7V7S.js → core-BEK6EPVF.js} +4 -1
- package/dist/{core-WP73P4CW.js → core-BRBJ3LPF.js} +5 -1
- package/dist/{core-AVA4XLQ2.js → core-EGTJOQK7.js} +2 -1
- package/dist/{core-XKXDXALI.js → core-FE4THVV3.js} +6 -1
- package/dist/{core-MAW4S3KA.js → core-FEBNVNVE.js} +5 -1
- package/dist/{core-L3UR75IJ.js → core-HIONDJGC.js} +4 -1
- package/dist/{core-GS4DXDDG.js → core-HMBMMF5Z.js} +4 -1
- package/dist/{core-QM34237W.js → core-LSYX4UQQ.js} +2 -1
- package/dist/{core-N2JEWJ7D.js → core-MIERUUUT.js} +2 -1
- package/dist/{core-A7HXVSKB.js → core-NTOOJZRA.js} +2 -1
- package/dist/{core-JDZDBTID.js → core-O5S2NETE.js} +2 -1
- package/dist/{core-OFPPRHYY.js → core-Q2Y3JEWL.js} +3 -1
- package/dist/{core-BJZEJ63L.js → core-RTBPKALG.js} +3 -1
- package/dist/{core-WNT6ZMRO.js → core-T7CKLMT2.js} +2 -1
- package/dist/{core-VWYXK2R3.js → core-TIIPSEK3.js} +4 -1
- package/dist/{core-EMSJRGSE.js → core-VBMWBPKM.js} +2 -1
- package/dist/{core-WPEYRK6Y.js → core-VLXOQ5CK.js} +4 -1
- package/dist/{core-7TTM4KRP.js → core-VYHQ5JY6.js} +3 -1
- package/dist/{core-DMDAXVMY.js → core-XJZWD43V.js} +2 -1
- package/dist/{core-AMWCZTOT.js → core-XUNZB6BM.js} +5 -1
- package/dist/{core-UNX4ZV4M.js → core-YKDDPMWW.js} +5 -1
- package/dist/{core-SKMHEA4Y.js → core-YN2VVGUL.js} +3 -1
- package/dist/{core-ZACFV6XR.js → core-YP4MNIMV.js} +5 -1
- package/dist/{core-FCSA74RT.js → core-ZETBHLSV.js} +3 -1
- package/dist/{dataTable-7IO546LM.js → dataTable-FEQZSDUZ.js} +7 -2
- package/dist/{engine-US3N6UCH.js → engine-SCQVNSAM.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-7UKLXCIL.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-WJH4QNXZ.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-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-XIHAKX3B.js → schema-JIAQE7WO.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-PHIHMDVB.js → schema-KCJ6WTGV.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-Q5DACE4I.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-6PL46VXZ.js → schema-WZOSDDDJ.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-DC4TVHWD.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/diagnostics/describe.d.ts +6 -1
- 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 +37 -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
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chartTypeAliases,
|
|
3
|
+
schemaLoaders
|
|
4
|
+
} from "./chunk-Y6E4JU3U.js";
|
|
5
|
+
import {
|
|
6
|
+
registeredType
|
|
7
|
+
} from "./chunk-LYAT62UT.js";
|
|
8
|
+
import {
|
|
9
|
+
caseInsensitiveValue,
|
|
10
|
+
getChart,
|
|
11
|
+
getChartSchemas,
|
|
12
|
+
registerChartSchemas
|
|
13
|
+
} from "./chunk-GNMB72V7.js";
|
|
14
|
+
import {
|
|
15
|
+
registerChartCoreLoader
|
|
16
|
+
} from "./chunk-BQBD6Q5J.js";
|
|
17
|
+
|
|
18
|
+
// src/react/coreLoaders.ts
|
|
19
|
+
var coreLoaders = {
|
|
20
|
+
bar: () => import("./core-YKDDPMWW.js").then((module) => module.barCore),
|
|
21
|
+
bartable: () => import("./core-5CRTPVYA.js").then((module) => module.bartableCore),
|
|
22
|
+
box: () => import("./core-EGTJOQK7.js").then((module) => module.boxCore),
|
|
23
|
+
bullet: () => import("./core-YN2VVGUL.js").then((module) => module.bulletCore),
|
|
24
|
+
butterfly: () => import("./core-TIIPSEK3.js").then((module) => module.butterflyCore),
|
|
25
|
+
choropleth: () => import("./core-T7CKLMT2.js").then((module) => module.choroplethCore),
|
|
26
|
+
cohort: () => import("./core-VYHQ5JY6.js").then((module) => module.cohortCore),
|
|
27
|
+
column: () => import("./core-FEBNVNVE.js").then((module) => module.columnCore),
|
|
28
|
+
combo: () => import("./core-3XGQBHJI.js").then((module) => module.comboCore),
|
|
29
|
+
creative: () => import("./core-RTBPKALG.js").then((module) => module.creativeCore),
|
|
30
|
+
diagram: () => import("./core-NTOOJZRA.js").then((module) => module.diagramCore),
|
|
31
|
+
dimswitch: () => import("./core-FE4THVV3.js").then((module) => module.dimswitchCore),
|
|
32
|
+
dot: () => import("./core-7OAGK7ZJ.js").then((module) => module.dotCore),
|
|
33
|
+
funnel: () => import("./core-743ZXTWK.js").then((module) => module.funnelCore),
|
|
34
|
+
gantt: () => import("./core-AEALAFRA.js").then((module) => module.ganttCore),
|
|
35
|
+
grid: () => import("./core-BRBJ3LPF.js").then((module) => module.gridCore),
|
|
36
|
+
heatmap: () => import("./core-VBMWBPKM.js").then((module) => module.heatmapCore),
|
|
37
|
+
histogram: () => import("./core-YP4MNIMV.js").then((module) => module.histogramCore),
|
|
38
|
+
kpi: () => import("./core-Q2Y3JEWL.js").then((module) => module.kpiCore),
|
|
39
|
+
likert: () => import("./core-7YDNMUU3.js").then((module) => module.likertCore),
|
|
40
|
+
line: () => import("./core-4N6WH3IF.js").then((module) => module.lineCore),
|
|
41
|
+
mekko: () => import("./core-VLXOQ5CK.js").then((module) => module.mekkoCore),
|
|
42
|
+
pareto: () => import("./core-XUNZB6BM.js").then((module) => module.paretoCore),
|
|
43
|
+
pie: () => import("./core-ZETBHLSV.js").then((module) => module.pieCore),
|
|
44
|
+
pvm: () => import("./core-5K4HRIHX.js").then((module) => module.pvmCore),
|
|
45
|
+
pyramid: () => import("./core-AAPPZSSZ.js").then((module) => module.pyramidCore),
|
|
46
|
+
sankey: () => import("./core-2GWH3ED7.js").then((module) => module.sankeyCore),
|
|
47
|
+
scatter: () => import("./core-O5S2NETE.js").then((module) => module.scatterCore),
|
|
48
|
+
slope: () => import("./core-3LCSHMKN.js").then((module) => module.slopeCore),
|
|
49
|
+
sparkline: () => import("./core-3NQ5TXOJ.js").then((module) => module.sparklineCore),
|
|
50
|
+
status: () => import("./core-LSYX4UQQ.js").then((module) => module.statusCore),
|
|
51
|
+
table: () => import("./core-BEK6EPVF.js").then((module) => module.tableCore),
|
|
52
|
+
tilemap: () => import("./core-AC5AKSCM.js").then((module) => module.tilemapCore),
|
|
53
|
+
treemap: () => import("./core-XJZWD43V.js").then((module) => module.treemapCore),
|
|
54
|
+
variance: () => import("./core-HIONDJGC.js").then((module) => module.varianceCore),
|
|
55
|
+
waffle: () => import("./core-MIERUUUT.js").then((module) => module.waffleCore),
|
|
56
|
+
waterfall: () => import("./core-HMBMMF5Z.js").then((module) => module.waterfallCore)
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
// src/react/loadChartTypes.ts
|
|
60
|
+
var aliasOwners = /* @__PURE__ */ new Map();
|
|
61
|
+
for (let [type, aliases] of Object.entries(chartTypeAliases))
|
|
62
|
+
for (let alias of aliases) aliasOwners.set(alias, type);
|
|
63
|
+
function knownChartType(name) {
|
|
64
|
+
return name = caseInsensitiveValue(name, [...Object.keys(coreLoaders), ...aliasOwners.keys()]) ?? name, Object.hasOwn(coreLoaders, name) ? name : aliasOwners.get(name);
|
|
65
|
+
}
|
|
66
|
+
async function loadChartTypes(names, parts) {
|
|
67
|
+
let types = [...new Set(names.map(knownChartType).filter((type) => type !== void 0))];
|
|
68
|
+
await Promise.all(types.flatMap((type) => [
|
|
69
|
+
parts.schemas && getChartSchemas(type) === void 0 ? schemaLoaders[type]().then((schemas) => {
|
|
70
|
+
registerChartSchemas(schemas, chartTypeAliases[type]);
|
|
71
|
+
}) : void 0,
|
|
72
|
+
parts.cores && getChart(type) === void 0 ? coreLoaders[type]().then((core) => {
|
|
73
|
+
registeredType(core);
|
|
74
|
+
}) : void 0
|
|
75
|
+
]));
|
|
76
|
+
}
|
|
77
|
+
registerChartCoreLoader({
|
|
78
|
+
knows: (type) => knownChartType(type) !== void 0,
|
|
79
|
+
load: (type) => loadChartTypes([type], { schemas: !1, cores: !0 })
|
|
80
|
+
});
|
|
81
|
+
function registeredTypeWithPanelCores(core) {
|
|
82
|
+
return registeredType(core);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
export {
|
|
86
|
+
knownChartType,
|
|
87
|
+
loadChartTypes,
|
|
88
|
+
registeredTypeWithPanelCores
|
|
89
|
+
};
|
|
@@ -4,23 +4,26 @@ import {
|
|
|
4
4
|
optionsTake,
|
|
5
5
|
rememberDiagnosticSource,
|
|
6
6
|
sourceSchemaDiagnostic
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MVR7YKBF.js";
|
|
8
8
|
import {
|
|
9
9
|
DocExpansionError,
|
|
10
|
-
diagnosedSafeParse,
|
|
11
10
|
expandDoc,
|
|
12
11
|
missingChartName
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-K7XPTQBJ.js";
|
|
13
|
+
import {
|
|
14
|
+
diagnosedSafeParse,
|
|
15
|
+
idRecord
|
|
16
|
+
} from "./chunk-ZIVCPXXL.js";
|
|
14
17
|
import {
|
|
15
18
|
isBareChart
|
|
16
19
|
} from "./chunk-YWP7XFKD.js";
|
|
17
20
|
import {
|
|
18
21
|
ownedDocumentCopy
|
|
19
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-U52PNFPX.js";
|
|
20
23
|
import {
|
|
21
24
|
atPath,
|
|
22
25
|
messageText
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-NNIZG3TH.js";
|
|
24
27
|
import {
|
|
25
28
|
isRecord
|
|
26
29
|
} from "./chunk-MCYM3RNF.js";
|
|
@@ -28,26 +31,26 @@ import {
|
|
|
28
31
|
checkThemeShape,
|
|
29
32
|
linkThemeShapeRules,
|
|
30
33
|
unknownThemeKeyRepair
|
|
31
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-IXOBDDMW.js";
|
|
32
35
|
import {
|
|
33
36
|
adoptTheme,
|
|
34
37
|
resolveTheme,
|
|
35
38
|
themes
|
|
36
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-TX5FSNAU.js";
|
|
37
40
|
import {
|
|
38
41
|
retiredThemeKeyWarning,
|
|
39
42
|
withoutRetiredThemeKeys
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-CCAAI56H.js";
|
|
41
44
|
import {
|
|
42
45
|
themeShape
|
|
43
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-6IUK6PAH.js";
|
|
44
47
|
import {
|
|
45
48
|
toJsonPointer
|
|
46
49
|
} from "./chunk-ZQ4VFQID.js";
|
|
47
50
|
import {
|
|
48
51
|
NormalizeError,
|
|
49
52
|
canonicalLanguage
|
|
50
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RJICOOB3.js";
|
|
51
54
|
|
|
52
55
|
// src/core/doc/document.ts
|
|
53
56
|
import * as z from "zod";
|
|
@@ -99,7 +102,7 @@ ${envelopeErrors.map((issue) => ` ${issue.displayPath || issue.path || "(root)"
|
|
|
99
102
|
name: z.string({ error: missingChartName }).min(1).describe("Unique chart name within the document, used for chart selection and output identity."),
|
|
100
103
|
type: z.string().min(1).describe("Registered chart type or alias; selects the data and options schemas."),
|
|
101
104
|
data: z.unknown().describe("Chart data; the selected chart data schema validates the contents."),
|
|
102
|
-
options:
|
|
105
|
+
options: idRecord(z.string(), z.unknown().describe("Option value checked by the selected chart options schema.")).optional().describe("Chart-specific options overriding inherited document settings."),
|
|
103
106
|
annotations: z.array(z.unknown().describe("Data-bound annotation checked by the selected chart and annotation pass.")).optional().describe("Top-level chart annotations folded into chart options by the document loader.")
|
|
104
107
|
}).describe("Named chart specification within the document.")
|
|
105
108
|
).min(1).describe("One or more charts in authored order; names must be unique.")
|
|
@@ -149,8 +152,11 @@ function unknownField(input, segments, where, edit = { suggest: `Remove '${segme
|
|
|
149
152
|
}, input, segments, "docs/manual.md#the-spec");
|
|
150
153
|
}
|
|
151
154
|
var MOVABLE_KEYS = ["title", "subtitle", "unit", "source", "locale"];
|
|
155
|
+
function isMovableValue(value) {
|
|
156
|
+
return typeof value == "string" || Array.isArray(value) || isRecord(value);
|
|
157
|
+
}
|
|
152
158
|
function movableKeys(input, strays, accepts) {
|
|
153
|
-
let { options, type } = input, candidates = typeof type == "string" ? strays.filter((key) => MOVABLE_KEYS.includes(key) &&
|
|
159
|
+
let { options, type } = input, candidates = typeof type == "string" ? strays.filter((key) => MOVABLE_KEYS.includes(key) && isMovableValue(input[key]) && optionsTake(type, key) && (options === void 0 || isRecord(options) && !Object.hasOwn(options, key))) : [];
|
|
154
160
|
if (candidates.length === 0) return /* @__PURE__ */ new Set();
|
|
155
161
|
let moved = (keys) => {
|
|
156
162
|
let rest = Object.fromEntries(Object.entries(input).filter(([key]) => !strays.includes(key) && key !== "version" && key !== "name"));
|
|
@@ -185,7 +191,7 @@ function unknownDocFields(raw, accepts) {
|
|
|
185
191
|
return Object.hasOwn(raw, "locale") && typeof raw.locale != "string" && warnings.push(completeDiagnostic({
|
|
186
192
|
code: "locale-ignored",
|
|
187
193
|
severity: "warn",
|
|
188
|
-
message: "root 'locale' must be a language tag such as 'de'; anything else has no effect; explicit chart formats override the language tag"
|
|
194
|
+
message: "root 'locale' must be a language tag such as 'de'; anything else has no effect; set a locale object on each chart's options.locale; explicit chart formats override the language tag"
|
|
189
195
|
}, raw, ["locale"])), Array.isArray(raw.charts) && raw.charts.forEach((chart, index) => {
|
|
190
196
|
if (isRecord(chart))
|
|
191
197
|
for (let key of Object.keys(chart))
|
|
@@ -309,19 +315,28 @@ function contentHash(text) {
|
|
|
309
315
|
function rootContextErrors(root) {
|
|
310
316
|
let errors = [];
|
|
311
317
|
if (typeof root.locale == "string" && canonicalLanguage(root.locale) === null && errors.push({ code: "invalid-locale", message: `'${root.locale}' is not a BCP 47 language tag`, path: "/locale", suggest: 'use a tag such as "de" or "de-DE"', docs: "docs/reference/options.md#options" }), root.theme !== void 0)
|
|
312
|
-
|
|
313
|
-
resolveTheme(root.theme);
|
|
314
|
-
} catch (error) {
|
|
315
|
-
if (!(error instanceof NormalizeError)) throw error;
|
|
318
|
+
if (typeof root.theme != "string" && !isRecord(root.theme))
|
|
316
319
|
errors.push({
|
|
317
|
-
code:
|
|
318
|
-
message:
|
|
319
|
-
path:
|
|
320
|
-
|
|
321
|
-
...error.fix ? { fix: error.fix.map((operation) => ({ ...operation, path: operation.path.replace(/^\/options/, "") })) } : {},
|
|
320
|
+
code: "invalid-theme",
|
|
321
|
+
message: "theme: expected a preset name, a full theme object, { preset, overrides } or { overrides }",
|
|
322
|
+
path: "/theme",
|
|
323
|
+
suggest: "Send a preset name, a full theme object, { preset, overrides } or { overrides }, or remove theme.",
|
|
322
324
|
docs: "docs/reference/theme.md#theme"
|
|
323
325
|
});
|
|
324
|
-
|
|
326
|
+
else
|
|
327
|
+
try {
|
|
328
|
+
resolveTheme(root.theme);
|
|
329
|
+
} catch (error) {
|
|
330
|
+
if (!(error instanceof NormalizeError)) throw error;
|
|
331
|
+
errors.push({
|
|
332
|
+
code: error.code,
|
|
333
|
+
message: error.message,
|
|
334
|
+
path: `/${error.path.replace(/^options\./, "").split(".").join("/")}`,
|
|
335
|
+
...error.suggest ? { suggest: error.suggest } : {},
|
|
336
|
+
...error.fix ? { fix: error.fix.map((operation) => ({ ...operation, path: operation.path.replace(/^\/options/, "") })) } : {},
|
|
337
|
+
docs: "docs/reference/theme.md#theme"
|
|
338
|
+
});
|
|
339
|
+
}
|
|
325
340
|
return errors;
|
|
326
341
|
}
|
|
327
342
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bandSizing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GNMB72V7.js";
|
|
4
4
|
|
|
5
5
|
// src/core/charts/waterfall/bandFloor.ts
|
|
6
6
|
var LABEL_AIR = 8, COMPACT_ROW_AIR = 4, BAR_AIR = 2, STAGGER_AIR = BAR_AIR, centre = (rect) => rect.x + rect.w / 2, sameHeight = (a, b) => a.y < b.y + b.h && b.y < a.y + a.h, oneRow = (a, b) => Math.min(a.y + a.h, b.y + b.h) - Math.max(a.y, b.y) >= Math.min(a.h, b.h) / 2;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
colorVariableWarnings
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WDLWWEHZ.js";
|
|
4
4
|
import {
|
|
5
5
|
parseThemeShape,
|
|
6
6
|
unknownThemeKeyRepair
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IXOBDDMW.js";
|
|
8
8
|
import {
|
|
9
9
|
themeColors
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-TX5FSNAU.js";
|
|
11
11
|
import {
|
|
12
12
|
retiredThemeKeyWarning,
|
|
13
13
|
withoutRetiredThemeKeys
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CCAAI56H.js";
|
|
15
15
|
import {
|
|
16
16
|
validateTheme
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-BQBD6Q5J.js";
|
|
18
18
|
import {
|
|
19
19
|
NormalizeError
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-RJICOOB3.js";
|
|
21
21
|
|
|
22
22
|
// src/core/themeValidate.ts
|
|
23
23
|
function parseThemeJson(raw) {
|
|
@@ -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-4M3UADCM.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-SHYS52VO.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-GNMB72V7.js";
|
|
42
|
+
import {
|
|
43
|
+
authoredNotes,
|
|
44
|
+
frameText,
|
|
31
45
|
isSafeSvgColor,
|
|
32
46
|
numericVariant,
|
|
33
|
-
resolvePaint
|
|
34
|
-
|
|
47
|
+
resolvePaint,
|
|
48
|
+
unitUnprinted
|
|
49
|
+
} from "./chunk-4OJF6DXL.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,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sharedKeys10,
|
|
3
|
+
sharedKeys5,
|
|
4
|
+
sharedKeys9
|
|
5
|
+
} from "./chunk-7BQK2UDV.js";
|
|
6
|
+
import {
|
|
7
|
+
optionKeyCheck
|
|
8
|
+
} from "./chunk-Z6H5ED2I.js";
|
|
9
|
+
import {
|
|
10
|
+
createChartComponent
|
|
11
|
+
} from "./chunk-YLRAAJYV.js";
|
|
12
|
+
import {
|
|
13
|
+
pvmCore
|
|
14
|
+
} from "./chunk-FPFRLRQO.js";
|
|
15
|
+
import {
|
|
16
|
+
registeredType
|
|
17
|
+
} from "./chunk-LYAT62UT.js";
|
|
18
|
+
|
|
19
|
+
// src/react/charts/pvm.ts
|
|
20
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: { point: 0 }, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, valueAxis: { break: { from: 0, to: 0, style: 0 } }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, interaction: 0, volumeMix: 0, methodNote: 0, netChange: 0, columnOverrides: { "*": { width: 0 } } }, labels: ["point"] }), PvmChart = createChartComponent(registeredType(pvmCore), checkOptionKeys);
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
PvmChart
|
|
24
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
columnOverridesOption
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-H3VICNTN.js";
|
|
4
4
|
import {
|
|
5
5
|
addDuplicateIdIssues,
|
|
6
6
|
baseOptionsSchema,
|
|
7
7
|
idSchema,
|
|
8
8
|
refusedBaseOptions
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-ZIVCPXXL.js";
|
|
10
10
|
|
|
11
11
|
// src/core/charts/pvm/schema.ts
|
|
12
12
|
import * as z from "zod";
|
|
@@ -15,7 +15,7 @@ var periodSchema = z.strictObject({
|
|
|
15
15
|
revenue: z.number().finite().describe("Revenue for those units. Price is derived as revenue / qty.")
|
|
16
16
|
}), itemSchema = z.strictObject({
|
|
17
17
|
id: idSchema.describe("Unique item identity binding prior and current decomposition inputs."),
|
|
18
|
-
label: z.string().optional().describe("
|
|
18
|
+
label: z.string().optional().describe("Item name for the author. The bridge draws effect bars, not items, so no item name prints."),
|
|
19
19
|
prior: periodSchema.describe("Base period."),
|
|
20
20
|
current: periodSchema.describe("Comparison period.")
|
|
21
21
|
}), pvmDataSchema = z.strictObject({
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
columnOrderOption,
|
|
3
3
|
columnOverridesOption,
|
|
4
4
|
columnVisibilityOption
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H3VICNTN.js";
|
|
6
6
|
import {
|
|
7
7
|
compactBulletRefusals
|
|
8
8
|
} from "./chunk-LE3LSEUL.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
idSchema,
|
|
16
16
|
primaryAxisTitleSchema,
|
|
17
17
|
refusedBaseOptions
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZIVCPXXL.js";
|
|
19
19
|
|
|
20
20
|
// src/core/charts/bullet/schema.ts
|
|
21
21
|
import * as z from "zod";
|
|
@@ -62,7 +62,7 @@ var rowSchema = z.strictObject({
|
|
|
62
62
|
}).superRefine((options, ctx) => {
|
|
63
63
|
for (let refusal of compactBulletRefusals(options))
|
|
64
64
|
ctx.addIssue({ code: "custom", path: refusal.field.slice(1), message: refusal.message, params: { refused: !0 } });
|
|
65
|
-
}).describe("Bullet rows use at most their natural 44px pitch (more when target values print above their ticks), enlarged for measured fonts. Target deltas use the label token; explicit canvas dimensions remain unchanged.");
|
|
65
|
+
}).describe("Bullet rows use at most their natural 44px pitch (more when target values print above their ticks), enlarged for measured fonts. A frame taller than the rows need keeps that pitch and leaves the extra height empty below the chart. Target deltas use the label token; explicit canvas dimensions remain unchanged.");
|
|
66
66
|
|
|
67
67
|
export {
|
|
68
68
|
bulletDataSchema,
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
sharedKeys10,
|
|
3
|
+
sharedKeys5,
|
|
4
|
+
sharedKeys9
|
|
5
|
+
} from "./chunk-7BQK2UDV.js";
|
|
6
|
+
import {
|
|
7
|
+
optionKeyCheck
|
|
8
|
+
} from "./chunk-Z6H5ED2I.js";
|
|
9
|
+
import {
|
|
10
|
+
createChartComponent
|
|
11
|
+
} from "./chunk-YLRAAJYV.js";
|
|
12
|
+
import {
|
|
13
|
+
scatterCore
|
|
14
|
+
} from "./chunk-3M2F7KSS.js";
|
|
15
|
+
import {
|
|
16
|
+
registeredType
|
|
17
|
+
} from "./chunk-LYAT62UT.js";
|
|
18
|
+
|
|
19
|
+
// src/react/charts/scatter.ts
|
|
20
|
+
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 0 }, mode: 0, belowMinimum: 0, size: { width: 0, height: 0, unit: 0 }, embed: { width: 0 }, margin: { top: 0, right: 0, bottom: 0, left: 0 }, canvas: { margin: { top: 0, right: 0, bottom: 0, left: 0 } }, title: 0, subtitle: { company: 0, measure: 0, period: 0, scenarios: 0 }, unit: 0, unitShown: 0, source: 0, footnotes: 0, notes: { maxListed: 0, placement: 0, maxLines: 0, show: 0, pointer: 0 }, theme: { preset: 0, overrides: 0 }, locale: { language: 0, decimal: 0, thousands: 0, minusGlyph: 0, weekStartsOn: 0 }, strings: sharedKeys10, format: 0, smallValues: 0, palette: 0, labelDensity: 0, labels: { value: 0, "*": 0 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: { show: 0, min: 0, max: 0, tickStep: 0, includeZero: 0, percent: 0, log: 0, reverse: 0, gridlines: 0, clamp: { min: 0, max: 0, x: { min: 0, max: 0 }, y: { min: 0, max: 0 } } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, viewDomain: { x: 0, y: 0 }, axisTitles: { x: 0, y: 0 }, axisFormat: { x: 0, y: 0 }, minCount: 0, sizeBy: 0, maxPointLabels: 0, quadrants: { x: { stat: 0 }, y: { stat: 0 }, labels: { tl: 0, tr: 0, bl: 0, br: 0 }, tint: 0, captionPlacement: 0, axisNames: { x: 0, y: 0 } }, zones: { grid: { x: 0, y: 0, cells: { "[]": { id: 0, column: 0, row: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } }, xLabels: 0, yLabels: 0 }, regions: { "[]": { id: 0, points: { "[]": { x: 0, y: 0 } }, smooth: 0, label: 0, tone: 0, labelAt: 0, a11y: 0 } } }, trend: { groups: 0, label: 0 }, frontier: { x: 0, y: 0, label: 0, extend: 0, groups: 0 }, sizeLegend: { values: 0, label: 0 }, qualitativeAxes: 0, methodNote: 0 }, labels: ["point", "value"] }), ScatterChart = createChartComponent(registeredType(scatterCore), checkOptionKeys);
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
ScatterChart
|
|
24
|
+
};
|