boardplot 0.58.0 → 0.58.2
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 +19 -0
- package/dist/{DiagnosticDetails-VGSL4NJK.js → DiagnosticDetails-FXNTFSA4.js} +1 -1
- package/dist/{ReaderBox-MHMXIDAJ.js → ReaderBox-WVOT7VVJ.js} +1 -1
- package/dist/{annotateEngine-753KQBNN.js → annotateEngine-IJ7RDLUI.js} +1 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-UYMFLWM6.js → chunk-24PMVRVW.js} +7 -7
- package/dist/{chunk-MRM4KJ2O.js → chunk-2WQSH3HV.js} +2 -2
- package/dist/{chunk-RBNDZLYS.js → chunk-36RTBB37.js} +6 -6
- package/dist/{chunk-PK7Z7WRJ.js → chunk-3AWE5535.js} +3 -3
- package/dist/{chunk-3KT2647F.js → chunk-3BMPYY26.js} +2 -1
- package/dist/{chunk-DEANHDXU.js → chunk-3MGXQARA.js} +8 -8
- package/dist/{chunk-FRHQGA5Q.js → chunk-46JPQLR2.js} +8 -8
- package/dist/{chunk-C5OBPO4Z.js → chunk-4EDPXQR7.js} +2 -2
- package/dist/{chunk-OSJN7KDS.js → chunk-4G5QQ5TH.js} +5 -5
- package/dist/{chunk-E262NRFP.js → chunk-4GKVFHJH.js} +4 -4
- package/dist/{chunk-75NU5RLX.js → chunk-4NEXP7IB.js} +3 -3
- package/dist/{chunk-FZKDZQ6U.js → chunk-4X7FNGGM.js} +2 -2
- package/dist/{chunk-7NYUFMLJ.js → chunk-5FOB6QGF.js} +6 -6
- package/dist/{chunk-6DJNFT2K.js → chunk-5LPLVLLA.js} +4 -4
- package/dist/{chunk-MQ4IEDM5.js → chunk-5OBA4IKC.js} +1 -1
- package/dist/{chunk-OALBVELJ.js → chunk-7OZCLJAG.js} +3 -3
- package/dist/{chunk-GUTLXO7Q.js → chunk-7Q4T5TPZ.js} +3 -3
- package/dist/{chunk-EFW43JQJ.js → chunk-A64R244B.js} +3 -3
- package/dist/{chunk-SRJ74CMG.js → chunk-A6N24NGW.js} +1 -1
- package/dist/{chunk-X3UCQPVV.js → chunk-AIU3Y4L5.js} +6 -6
- package/dist/{chunk-XDIAQEYK.js → chunk-ANKBTBWD.js} +4 -4
- package/dist/{chunk-RLAVNCQJ.js → chunk-AU5PXIE3.js} +2 -2
- package/dist/{chunk-SZ5VGWDY.js → chunk-AYIK7HVV.js} +1 -1
- package/dist/{chunk-PPE6S7WU.js → chunk-B6BEPKEE.js} +3 -3
- package/dist/{chunk-AOFUA5XP.js → chunk-BAOUMAH6.js} +1 -1
- package/dist/{chunk-MKMMQDIY.js → chunk-BAT77TKB.js} +6 -6
- package/dist/{chunk-44K75CYE.js → chunk-BYPUPHRW.js} +2 -2
- package/dist/{chunk-4VV3KUFT.js → chunk-C4DN27QI.js} +3 -3
- package/dist/{chunk-ECBHC272.js → chunk-CAE6E3NW.js} +11 -11
- package/dist/{chunk-GB6BZSTL.js → chunk-CLJWE3JQ.js} +2 -2
- package/dist/{chunk-JVGL2SCN.js → chunk-COQSFON4.js} +1 -1
- package/dist/{chunk-VRFJAF3R.js → chunk-CPPFF3OB.js} +3 -3
- package/dist/{chunk-FP5B5XIL.js → chunk-CRTRY3IQ.js} +1 -1
- package/dist/{chunk-I5VDW2XZ.js → chunk-D3UPBA4R.js} +1 -1
- package/dist/{chunk-72HVDLMT.js → chunk-DIN62FP4.js} +7 -7
- package/dist/{chunk-IU335UO7.js → chunk-DJRPY7AR.js} +3 -3
- package/dist/{chunk-BOT6W3VB.js → chunk-DOYJ2O2C.js} +3 -3
- package/dist/{chunk-YEJZ2OYS.js → chunk-DQECTZPF.js} +10 -10
- package/dist/{chunk-WJS6SAWA.js → chunk-DTIV2NIZ.js} +9 -9
- package/dist/{chunk-OSJXIW6I.js → chunk-DXNVL67C.js} +2 -2
- package/dist/{chunk-UC7LBW7N.js → chunk-DZUF4V4F.js} +3 -3
- package/dist/{chunk-G4FF6G3I.js → chunk-EB4PQEI3.js} +1 -1
- package/dist/{chunk-RI6XQKWJ.js → chunk-ECL7CSPJ.js} +3 -3
- package/dist/{chunk-U74AWJ3X.js → chunk-ESSNZ3VQ.js} +3 -3
- package/dist/{chunk-ETRAPN5G.js → chunk-F6IPP33V.js} +19 -6
- package/dist/{chunk-2NX7EO7H.js → chunk-FJA5EUE7.js} +3 -3
- package/dist/{chunk-JCMGKQVS.js → chunk-FL57NWM7.js} +2 -2
- package/dist/{chunk-44JU3VOT.js → chunk-FVQRFBOP.js} +3 -3
- package/dist/{chunk-BDIKWR45.js → chunk-GOJI2HVL.js} +5 -5
- package/dist/{chunk-PDTIQL3B.js → chunk-GQ3CMAOD.js} +3 -3
- package/dist/{chunk-QMFWZG2P.js → chunk-H6WX7J5M.js} +2 -2
- package/dist/{chunk-5U567TYU.js → chunk-H7GFUA6G.js} +3 -3
- package/dist/{chunk-SELOV32X.js → chunk-HTY6XK32.js} +4 -4
- package/dist/{chunk-XXPLPSOE.js → chunk-HXGSNLIW.js} +2 -2
- package/dist/{chunk-5SLBD4BT.js → chunk-I7V6LXHD.js} +8 -8
- package/dist/{chunk-SQI4NWTQ.js → chunk-IJU5PAIS.js} +3 -3
- package/dist/{chunk-2ETK5TSA.js → chunk-IU2PONEI.js} +3 -3
- package/dist/{chunk-7CAYRPJV.js → chunk-IUEUVLT3.js} +6 -6
- package/dist/{chunk-OPYDTW5Q.js → chunk-IXQNKI6G.js} +3 -3
- package/dist/{chunk-VS5B4J2D.js → chunk-J3GUMT27.js} +3 -3
- package/dist/{chunk-JUYRDZSV.js → chunk-JDLT4YV6.js} +27 -12
- package/dist/{chunk-XTFO6D4L.js → chunk-JMMKOICP.js} +1 -1
- package/dist/{chunk-A7R6FUS6.js → chunk-JQSDRXLX.js} +3 -3
- package/dist/{chunk-QZGGCE45.js → chunk-K2AOKBGW.js} +1 -1
- package/dist/{chunk-3DOVXJ6K.js → chunk-K4OR5AP5.js} +2 -2
- package/dist/{chunk-64K3V4VN.js → chunk-K5LIUWJO.js} +3 -3
- package/dist/{chunk-OGZ4UPYK.js → chunk-K672I6R6.js} +6 -6
- package/dist/{chunk-DJKRYJP7.js → chunk-KF2HYUXN.js} +3 -3
- package/dist/{chunk-KIE5V3DA.js → chunk-KG7LKHD7.js} +1 -1
- package/dist/{chunk-DIHX6NUB.js → chunk-KNGC2STY.js} +1 -1
- package/dist/{chunk-PJ5BYZPN.js → chunk-KNT3GSVB.js} +2 -2
- package/dist/{chunk-FWTUGNSF.js → chunk-KTOWOMQP.js} +2 -2
- package/dist/{chunk-JSRQTDZZ.js → chunk-KVIWD6MV.js} +2 -2
- package/dist/{chunk-XFPNYHX3.js → chunk-L3BVYKA6.js} +4 -4
- package/dist/{chunk-QAUGRVRU.js → chunk-LBCSRQGW.js} +33 -6
- package/dist/{chunk-J4QRB6DQ.js → chunk-LLEDONMT.js} +2 -2
- package/dist/{chunk-5JEU6MWC.js → chunk-LOFR5HOQ.js} +5 -5
- package/dist/{chunk-RHQRPJHS.js → chunk-LX6X33C7.js} +3 -3
- package/dist/{chunk-PP6A4X55.js → chunk-M6PYA4FO.js} +1 -1
- package/dist/{chunk-ULQIC76A.js → chunk-MCRRURTO.js} +3 -3
- package/dist/{chunk-RCSY4CT4.js → chunk-MH6MGYPS.js} +7 -7
- package/dist/{chunk-AHIK2N72.js → chunk-MIJPESMQ.js} +1 -1
- package/dist/{chunk-6XPV6M3Q.js → chunk-MP5UOUGM.js} +3 -3
- package/dist/{chunk-ZSLTSCTI.js → chunk-NM6IWRTB.js} +2 -2
- package/dist/{chunk-PPCH3PLO.js → chunk-NMQH4S2F.js} +3 -3
- package/dist/{chunk-RZNYW7UP.js → chunk-NNIZG3TH.js} +8 -0
- package/dist/{chunk-DKLC6QLF.js → chunk-NS4SBO47.js} +2 -2
- package/dist/{chunk-TBDIMTRD.js → chunk-NSMYIUBZ.js} +1 -1
- package/dist/{chunk-W4R6SGU3.js → chunk-NTUTJY33.js} +3 -3
- package/dist/{chunk-6ZDSEITW.js → chunk-O3U6IOIO.js} +1 -1
- package/dist/{chunk-2ETSI2EL.js → chunk-O4FCIOOY.js} +4 -4
- package/dist/{chunk-UD2GI3CS.js → chunk-OCPVQZCC.js} +1 -1
- package/dist/{chunk-FGW54I23.js → chunk-OGWZT3PH.js} +1 -1
- package/dist/{chunk-7GWWBHVQ.js → chunk-OJ5CCTNY.js} +3 -3
- package/dist/{chunk-SWMFXSVW.js → chunk-OQA3DJH4.js} +3 -3
- package/dist/{chunk-ZGZLEUKM.js → chunk-P2WZQQCC.js} +3 -3
- package/dist/{chunk-GCIHRRDJ.js → chunk-P6KEM5N7.js} +3 -3
- package/dist/{chunk-4FNM4D57.js → chunk-QI47HSZD.js} +3 -3
- package/dist/{chunk-LG6M2JTH.js → chunk-QMUCI2UU.js} +3 -3
- package/dist/{chunk-STWOURLG.js → chunk-QNEVEBIR.js} +11 -11
- package/dist/{chunk-2GRXHWRH.js → chunk-QRIEJAM5.js} +2 -2
- package/dist/{chunk-WQYNKF33.js → chunk-QRQFHNRF.js} +3 -3
- package/dist/{chunk-KU4PCG4W.js → chunk-QVLHI3BE.js} +2 -2
- package/dist/{chunk-MX2OZHIT.js → chunk-RAPIBQ6W.js} +4 -4
- package/dist/{chunk-FWSMENKH.js → chunk-RK5JTZFI.js} +2 -2
- package/dist/{chunk-5JIB4VJA.js → chunk-RKPN6KN7.js} +2 -2
- package/dist/{chunk-BG6AIWAK.js → chunk-RLB7QCTK.js} +1 -1
- package/dist/{chunk-NQVJ4FPY.js → chunk-RXDCT5TD.js} +4 -4
- package/dist/chunk-RYFRYLU6.js +89 -0
- package/dist/{chunk-HBQHSZ6S.js → chunk-S3I6F4IO.js} +1 -1
- package/dist/{chunk-LIE2WSB4.js → chunk-S4L7LXWX.js} +1 -1
- package/dist/{chunk-LMMS675D.js → chunk-S6XM22RZ.js} +3 -3
- package/dist/{chunk-R2RJQ3BM.js → chunk-SAMTYEWB.js} +2 -2
- package/dist/{chunk-3HPPTQEW.js → chunk-SB7MASJU.js} +1 -1
- package/dist/{chunk-LQWINE7K.js → chunk-SBKM6XFS.js} +1 -1
- package/dist/{chunk-ROPPWJQB.js → chunk-SFBB4GVQ.js} +8 -11
- package/dist/{chunk-5ZLF4S7X.js → chunk-SHFXHUKJ.js} +2 -2
- package/dist/{chunk-DILQ34NW.js → chunk-SVPSNDLL.js} +4 -4
- package/dist/{chunk-AEVGUOPB.js → chunk-TRGQLVJV.js} +3 -3
- package/dist/{chunk-T26G23RS.js → chunk-U5CBQHTX.js} +16 -10
- package/dist/{chunk-R7HBIQ63.js → chunk-U5D5NUFA.js} +7 -7
- package/dist/{chunk-PL6NWB5U.js → chunk-UB7LT72S.js} +10 -10
- package/dist/{chunk-AN2V2LC4.js → chunk-UISHXPGJ.js} +2 -2
- package/dist/{chunk-JM7UTLF3.js → chunk-UK5LXRUN.js} +1 -1
- package/dist/{chunk-XIBVAKCO.js → chunk-UQBNY2UU.js} +1 -1
- package/dist/{chunk-X24WAHHV.js → chunk-UUK73ZCT.js} +3 -3
- package/dist/{chunk-TAEB3RU6.js → chunk-UXPR6TEZ.js} +2 -2
- package/dist/{chunk-3HA4IJTO.js → chunk-V5CWUATF.js} +5 -5
- package/dist/{chunk-5ZMTQATF.js → chunk-V7MFF5A4.js} +9 -9
- package/dist/{chunk-3XAJSMYD.js → chunk-VAR3DPXR.js} +1 -1
- package/dist/{chunk-DNHTMCUP.js → chunk-VGEHOB25.js} +1 -1
- package/dist/{chunk-5OP3E2ZD.js → chunk-VZWIRNQ4.js} +9 -9
- package/dist/{chunk-VS2R3OGN.js → chunk-WDDPQUT2.js} +2 -2
- package/dist/{chunk-GO66OCN7.js → chunk-WHIO5L6Z.js} +3 -3
- package/dist/{chunk-2LC2H3ZM.js → chunk-WRI44CHA.js} +17 -17
- package/dist/{chunk-BZ67BJBH.js → chunk-WXMH66N5.js} +2 -2
- package/dist/{chunk-ZHRGX225.js → chunk-XJC37XXA.js} +3 -3
- package/dist/{chunk-67YJJJIB.js → chunk-XO44IJGZ.js} +1 -1
- package/dist/{chunk-PT7KSIEO.js → chunk-XO4DJM33.js} +2 -2
- package/dist/{chunk-UCYL3YA7.js → chunk-YC6W7EVG.js} +9 -9
- package/dist/{chunk-LPKGZ664.js → chunk-YFQW73AV.js} +7 -7
- package/dist/{chunk-2VKQQLP7.js → chunk-YQZCMPN7.js} +4 -4
- package/dist/{chunk-KGBUXMFP.js → chunk-YT5MTKED.js} +44 -44
- package/dist/{chunk-TFFPEWNP.js → chunk-YWPBYL6P.js} +4 -4
- package/dist/{chunk-NHU26HQ7.js → chunk-Z7EAEWR3.js} +4 -4
- package/dist/{chunk-OVVE42P4.js → chunk-Z7LBIXNV.js} +3 -3
- package/dist/{chunk-XWRI3N5O.js → chunk-ZDITBL4Z.js} +1 -1
- package/dist/{chunk-EBUK7HJP.js → chunk-ZHGFJL3O.js} +3 -3
- package/dist/{chunk-2QI2PK2O.js → chunk-ZQHMZUFD.js} +1 -1
- package/dist/{chunk-HUQRO6VF.js → chunk-ZRI6VYNF.js} +5 -5
- package/dist/{chunk-3P3FKPFN.js → chunk-ZUG7EYEM.js} +6 -6
- package/dist/{chunk-BCMEGJRX.js → chunk-ZYCB2CJJ.js} +1 -1
- package/dist/cli/index.js +1 -1
- package/dist/{core-UDRD4WIU.js → core-3TLA5IU3.js} +1 -1
- package/dist/{core-JYYZPPQV.js → core-6YHAYDG2.js} +1 -1
- package/dist/{core-JC7JUFPY.js → core-7K35DCB7.js} +1 -1
- package/dist/{core-C3KXTOIZ.js → core-7UMZLBSB.js} +1 -1
- package/dist/{core-FDKMLRAK.js → core-B3AVFEWH.js} +1 -1
- package/dist/{core-5L7TMK7I.js → core-DIVRGZGD.js} +1 -1
- package/dist/{core-RIBW5XU4.js → core-DSI2ZK5C.js} +1 -1
- package/dist/{core-R3YZCOUZ.js → core-FKW6RSGU.js} +1 -1
- package/dist/{core-QTJZDK5H.js → core-FS3AFDBX.js} +1 -1
- package/dist/{core-X7WWYQH4.js → core-G2TWJHKM.js} +1 -1
- package/dist/{core-FL6Z3VVX.js → core-HEQ4MJA5.js} +1 -1
- package/dist/{core-BJVENHFQ.js → core-HKKPL444.js} +1 -1
- package/dist/{core-XP56X47I.js → core-HWDAFGAI.js} +1 -1
- package/dist/{core-UVJZ4HY2.js → core-I23MMHHJ.js} +1 -1
- package/dist/{core-C5Y6BFLL.js → core-JDNTWP3D.js} +1 -1
- package/dist/{core-LCQPE5Y6.js → core-JWYT46N3.js} +1 -1
- package/dist/{core-43GLGBOY.js → core-LCK3P3DS.js} +1 -1
- package/dist/{core-PPEC236B.js → core-LZF7CC2E.js} +1 -1
- package/dist/{core-BX4MFWKC.js → core-NRNTVPSJ.js} +1 -1
- package/dist/{core-U7E5W4MY.js → core-PARPIO5L.js} +1 -1
- package/dist/{core-KJTKCV4U.js → core-PJHQY3CR.js} +1 -1
- package/dist/{core-JH32ZAKM.js → core-PL2T5XOC.js} +1 -1
- package/dist/{core-CLUSJ2SK.js → core-PVD4MX3R.js} +1 -1
- package/dist/{core-UBNVSL44.js → core-QRRWZUTR.js} +1 -1
- package/dist/{core-XQG54CYG.js → core-QWG23TDT.js} +1 -1
- package/dist/{core-SOPPZLEH.js → core-RHYZULNG.js} +1 -1
- package/dist/{core-RWSXEKTE.js → core-SQUKC752.js} +1 -1
- package/dist/{core-LHVGWE54.js → core-SVIYWQVR.js} +1 -1
- package/dist/{core-TZ5QLTAX.js → core-TBPO7LER.js} +1 -1
- package/dist/{core-E3IN2VVH.js → core-VA3SBRCT.js} +1 -1
- package/dist/{core-OVSNBOCE.js → core-VVHFCKCO.js} +1 -1
- package/dist/{core-TBUZCXLX.js → core-VZT7F5AI.js} +1 -1
- package/dist/{core-5GI3ERXO.js → core-WXPK24YD.js} +1 -1
- package/dist/{core-RJFILBWL.js → core-XYTCGP3I.js} +1 -1
- package/dist/{core-JF33TADA.js → core-Y74GS6HN.js} +1 -1
- package/dist/{core-7TO4OVY5.js → core-Y7Q7FR65.js} +1 -1
- package/dist/{core-FD67NQOV.js → core-YMX3VETP.js} +1 -1
- package/dist/{dataTable-U7W4I6IF.js → dataTable-HTQMPQB6.js} +2 -2
- package/dist/{engine-O5V26MGR.js → engine-RHDMQS7T.js} +6 -6
- package/dist/fixtures.js +1 -1
- package/dist/index.js +11 -11
- package/dist/{main-35GS47XC.js → main-7SMEJF5Q.js} +5 -5
- package/dist/mcp/server.js +9 -9
- package/dist/react/bar.js +1 -1
- package/dist/react/bartable.js +1 -1
- package/dist/react/box.js +1 -1
- package/dist/react/bullet.js +1 -1
- package/dist/react/butterfly.js +1 -1
- package/dist/react/choropleth.js +1 -1
- package/dist/react/cohort.js +1 -1
- package/dist/react/column.js +1 -1
- package/dist/react/combo.js +1 -1
- package/dist/react/creative.js +1 -1
- package/dist/react/diagram.js +1 -1
- package/dist/react/dimswitch.js +1 -1
- package/dist/react/dot.js +1 -1
- package/dist/react/export.js +12 -12
- package/dist/react/funnel.js +1 -1
- package/dist/react/gantt.js +1 -1
- package/dist/react/grid.js +1 -1
- package/dist/react/heatmap.js +1 -1
- package/dist/react/histogram.js +1 -1
- package/dist/react/index.js +82 -82
- package/dist/react/kpi.js +1 -1
- package/dist/react/likert.js +1 -1
- package/dist/react/line.js +1 -1
- package/dist/react/mekko.js +1 -1
- package/dist/react/pareto.js +1 -1
- package/dist/react/pie.js +1 -1
- package/dist/react/prepare.js +18 -18
- package/dist/react/pvm.js +1 -1
- package/dist/react/pyramid.js +1 -1
- package/dist/react/sankey.js +1 -1
- package/dist/react/scatter.js +1 -1
- package/dist/react/slope.js +1 -1
- package/dist/react/sparkline.js +1 -1
- package/dist/react/spec.js +7 -7
- package/dist/react/status.js +1 -1
- package/dist/react/story.js +1 -1
- package/dist/react/table.js +1 -1
- package/dist/react/theme.js +2 -2
- package/dist/react/tilemap.js +1 -1
- package/dist/react/treemap.js +1 -1
- package/dist/react/variance.js +1 -1
- package/dist/react/waffle.js +1 -1
- package/dist/react/waterfall.js +1 -1
- package/dist/rows.js +2 -2
- package/dist/{rowsModule-H2S6WW4D.js → rowsModule-YBW6OQUZ.js} +1 -1
- package/dist/{schema-JNJFCYBM.js → schema-FYY72W63.js} +1 -1
- package/dist/{schema-A26ZNGTZ.js → schema-KCJ6WTGV.js} +1 -1
- package/dist/{schema-FU2AFIEE.js → schema-WZOSDDDJ.js} +1 -1
- package/dist/{schema-QPIC5MAG.js → schema-YRLZRQ2F.js} +2 -2
- package/dist/{specValidation-2NHJT7TQ.js → specValidation-PWS6G27I.js} +1 -1
- package/dist/types/core/diagnostics/describe.d.ts +6 -1
- package/dist/types/core/sizing.d.ts +5 -0
- package/dist/validate.js +3 -3
- package/docs/reference/grid.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-T7GPIJ4L.js +0 -89
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
withDensityNotes,
|
|
53
53
|
withHiddenLabelNote,
|
|
54
54
|
withNoteInA11y
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-D3UPBA4R.js";
|
|
56
56
|
import {
|
|
57
57
|
COMPACT_OMITTED_NOTES,
|
|
58
58
|
copyFrame,
|
|
@@ -2003,8 +2003,11 @@ function sizeRefusal(type, title, size, sizing) {
|
|
|
2003
2003
|
}]
|
|
2004
2004
|
};
|
|
2005
2005
|
}
|
|
2006
|
+
function sizeSearchLimit(initial) {
|
|
2007
|
+
return { width: Math.ceil(initial.width * 4), height: Math.ceil(Math.max(initial.height * 4, initial.height + 4096)) };
|
|
2008
|
+
}
|
|
2006
2009
|
function verifiedSizeRepair(initial, accepts) {
|
|
2007
|
-
let limit =
|
|
2010
|
+
let limit = sizeSearchLimit(initial);
|
|
2008
2011
|
for (let width = initial.width; width <= limit.width; width *= 2) {
|
|
2009
2012
|
let low = initial.height, height = initial.height;
|
|
2010
2013
|
for (let pass = 0; pass < 8; pass++) {
|
|
@@ -3422,7 +3425,7 @@ function registerChart(def) {
|
|
|
3422
3425
|
if (geo.refused) {
|
|
3423
3426
|
if (densityFixed || isWidthProbe(def.type, options) || options[FIXED_SIZE_PROBE] === !0 || compactReplacesRefusal(def, options, data)) return geo;
|
|
3424
3427
|
if (!nested && geo.warnings[0]?.code === "size-below-floor") {
|
|
3425
|
-
let floor = geo.sizing, compactCall = compactFallbackApplies(def, options, data) && (options[FORCE_COMPACT] === !0 || !fitsSize(resolved.sizePx, declaredSizing(def, options))), hostView = (runOptions, probeHeight) => {
|
|
3428
|
+
let floor = geo.sizing, limit = sizeSearchLimit({ width: Math.max(geo.size.width, floor.minWidth), height: Math.max(geo.size.height, floor.minHeight) }), unbounded = !1, compactCall = compactFallbackApplies(def, options, data) && (options[FORCE_COMPACT] === !0 || !fitsSize(resolved.sizePx, declaredSizing(def, options))), hostView = (runOptions, probeHeight) => {
|
|
3426
3429
|
let size = runOptions?.size;
|
|
3427
3430
|
if (!compactCall || !fitsSize(size, declaredSizing(def, options))) return named(withoutForcedCompact(runOptions), probeHeight).geo;
|
|
3428
3431
|
let compact = named({ ...runOptions, [FORCE_COMPACT]: !0 }, probeHeight).geo;
|
|
@@ -3443,6 +3446,7 @@ function registerChart(def) {
|
|
|
3443
3446
|
}, def.type === "gantt"));
|
|
3444
3447
|
for (!resolved.fixed.height && accepts(low + 1) && (high = low + 1); high - low > 1; ) {
|
|
3445
3448
|
let mid = Math.floor((low + high) / 2);
|
|
3449
|
+
if (mid <= low || mid >= high) break;
|
|
3446
3450
|
accepts(mid) ? high = mid : low = mid;
|
|
3447
3451
|
}
|
|
3448
3452
|
return sizeRefusal(def.type, def.title, geo.size, sClassMinimum({ ...floor, minHeight: high, measuredMinHeight: Math.min(floor.measuredMinHeight, high) }, geo.size));
|
|
@@ -3456,13 +3460,22 @@ function registerChart(def) {
|
|
|
3456
3460
|
}
|
|
3457
3461
|
let next = probe.sizing;
|
|
3458
3462
|
if (next.minWidth <= floor.minWidth && next.minHeight <= floor.minHeight) break;
|
|
3459
|
-
floor = { ...next, minWidth: Math.max(floor.minWidth, next.minWidth), minHeight: Math.max(floor.minHeight, next.minHeight) }
|
|
3463
|
+
if (floor = { ...next, minWidth: Math.max(floor.minWidth, next.minWidth), minHeight: Math.max(floor.minHeight, next.minHeight) }, floor.minWidth > limit.width || floor.minHeight > limit.height) {
|
|
3464
|
+
unbounded = !0;
|
|
3465
|
+
break;
|
|
3466
|
+
}
|
|
3460
3467
|
}
|
|
3461
|
-
|
|
3468
|
+
if (lastGeometry) return { ...hiddenLabelCollision(
|
|
3462
3469
|
def.title,
|
|
3463
3470
|
lastGeometry,
|
|
3464
3471
|
owedHiddenLabels(lastGeometry, data, pins, options?.annotations, minimal)
|
|
3465
|
-
), size: geo.size }
|
|
3472
|
+
), size: geo.size };
|
|
3473
|
+
let wide = unbounded && floor.minWidth > limit.width, tall = unbounded && floor.minHeight > limit.height, own = geo.sizing, sizing2 = !own || !(wide || tall) ? own : {
|
|
3474
|
+
...own,
|
|
3475
|
+
...wide ? { minWidth: Math.min(own.minWidth, geo.size.width), measuredMinWidth: Math.min(own.measuredMinWidth, geo.size.width), naturalWidth: Math.min(own.naturalWidth, geo.size.width) } : {},
|
|
3476
|
+
...tall ? { minHeight: Math.min(own.minHeight, geo.size.height), measuredMinHeight: Math.min(own.measuredMinHeight, geo.size.height), naturalHeight: Math.min(own.naturalHeight, geo.size.height) } : {}
|
|
3477
|
+
};
|
|
3478
|
+
return { ...geo, sizing: sizing2, warnings: [{
|
|
3466
3479
|
code: "label-collision",
|
|
3467
3480
|
severity: "error",
|
|
3468
3481
|
message: "The frame blocks the layout; no repair size passed the layout probe.",
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7V6LXHD.js";
|
|
11
11
|
import {
|
|
12
12
|
bartableCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-AIU3Y4L5.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/bartable.ts
|
|
19
19
|
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 }, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, colorblindSafe: 0, rounding: 0, interactive: 0, total: 0, totalPosition: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, combinedShare: { rows: 0, label: 0 }, segmentValues: 0, variant: 0, cascade: { totalApart: 0, share: 0, growth: { measure: 0, years: 0, label: 0 } }, sharedScale: 0, heightFill: 0 }, labels: ["point"] }), BarTableChart = createChartComponent(registeredType(bartableCore), checkOptionKeys);
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7V6LXHD.js";
|
|
11
11
|
import {
|
|
12
12
|
sparklineCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-QRIEJAM5.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/sparkline.ts
|
|
19
19
|
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, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, scaleGroup: { y: 0, id: 0 }, highlight: 0, focus: sharedKeys5, colorblindSafe: 0, interactive: 0, ring: 0, endLabels: 0, valueLabel: 0, stroke: 0, reference: 0, ringTone: 0 } }), SparklineChart = createChartComponent(registeredType(sparklineCore), checkOptionKeys);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bareGridPlot
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BAT77TKB.js";
|
|
4
4
|
import {
|
|
5
5
|
matrixTracks,
|
|
6
6
|
nameTrackRefusals,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
} from "./chunk-YGZEG3JV.js";
|
|
11
11
|
import {
|
|
12
12
|
rowLabelBand
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LLEDONMT.js";
|
|
14
14
|
import {
|
|
15
15
|
fittedLabel,
|
|
16
16
|
gutterBudget,
|
|
17
17
|
pinnedRowFont,
|
|
18
18
|
stepDownFont
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O3U6IOIO.js";
|
|
20
20
|
import {
|
|
21
21
|
chartTheme
|
|
22
22
|
} from "./chunk-WFBN2HXR.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
rowDrivenHeight,
|
|
42
42
|
rowSizing,
|
|
43
43
|
sweepHide
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-F6IPP33V.js";
|
|
45
45
|
import {
|
|
46
46
|
PRIORITY,
|
|
47
47
|
authoredFootnoteCount,
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
solveFrame,
|
|
54
54
|
solveLabels,
|
|
55
55
|
withUnprintedClaims
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-D3UPBA4R.js";
|
|
57
57
|
import {
|
|
58
58
|
formatNonzeroWithSpec,
|
|
59
59
|
formatterFromExample,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-Z6H5ED2I.js";
|
|
10
10
|
import {
|
|
11
11
|
createChartComponent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I7V6LXHD.js";
|
|
13
13
|
import {
|
|
14
14
|
mekkoCore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4G5QQ5TH.js";
|
|
16
16
|
import {
|
|
17
17
|
registeredType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
19
19
|
|
|
20
20
|
// src/react/charts/mekko.ts
|
|
21
21
|
var checkOptionKeys = optionKeyCheck({ tree: { target: 0, textScale: 0, textSize: 0, a11y: { title: 0, description: 0, table: 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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys0, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, axisTitles: { primary: 0 }, variant: 0, widthSeriesId: 0, ridge: 0 }, labels: ["category", "segment", "total", "axisTitle"] }), MekkoChart = createChartComponent(registeredType(mekkoCore), checkOptionKeys);
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-KW4JXWHO.js";
|
|
4
4
|
import {
|
|
5
5
|
spread1DResult
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-F6IPP33V.js";
|
|
7
7
|
import {
|
|
8
8
|
composedTextRole
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D3UPBA4R.js";
|
|
10
10
|
import {
|
|
11
11
|
chartStrings,
|
|
12
12
|
formatAutomaticNumber,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7V6LXHD.js";
|
|
11
11
|
import {
|
|
12
12
|
cohortCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JDLT4YV6.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/cohort.ts
|
|
19
19
|
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: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, basis: 0, averages: 0, methodNote: 0, variant: 0, formatScope: 0, steps: 0, visiblePeriods: 0, cohortSizeLabel: 0, showPercentSign: 0, threshold: 0, designatedPeriod: 0, total: 0, totalPosition: 0, columnVisibility: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, columnOrder: 0, columnHeads: 0, figures: 0, excludeCurrentPeriod: 0, exhibitLabel: 0, heightFill: 0 }, labels: ["category", "series", "point"] }), CohortChart = createChartComponent(registeredType(cohortCore), checkOptionKeys);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
bandFloorSizing
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-COQSFON4.js";
|
|
4
4
|
import {
|
|
5
5
|
positionBarLabel,
|
|
6
6
|
refuseLabelPosition
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
percentLevels,
|
|
16
16
|
runAnnotatePass
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CRTRY3IQ.js";
|
|
18
18
|
import {
|
|
19
19
|
breakUnsupported,
|
|
20
20
|
chartTheme
|
|
@@ -55,7 +55,7 @@ import {
|
|
|
55
55
|
valueAxisTitleRequest,
|
|
56
56
|
yearRowRequests,
|
|
57
57
|
yieldToRotatedName
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-F6IPP33V.js";
|
|
59
59
|
import {
|
|
60
60
|
prepareFractionData
|
|
61
61
|
} from "./chunk-42QKUSHJ.js";
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
toDateRoom,
|
|
91
91
|
withAuthoredFootnotes,
|
|
92
92
|
withUnprintedClaims
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-D3UPBA4R.js";
|
|
94
94
|
import {
|
|
95
95
|
disclosureNote
|
|
96
96
|
} from "./chunk-DZYTXZNS.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
displayedValueText,
|
|
6
6
|
ownerContains,
|
|
7
7
|
signedPercentText
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-K672I6R6.js";
|
|
9
9
|
import {
|
|
10
10
|
eventHeading,
|
|
11
11
|
eventReading
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
composedTextRole,
|
|
15
15
|
fitText,
|
|
16
16
|
lineBox
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-D3UPBA4R.js";
|
|
18
18
|
import {
|
|
19
19
|
parseFormatExample,
|
|
20
20
|
roundedNumber
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
useRefusalSettle,
|
|
26
26
|
useResolvedChartRequest,
|
|
27
27
|
useRowsInput
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-YFQW73AV.js";
|
|
29
29
|
import {
|
|
30
30
|
useIsomorphicLayoutEffect
|
|
31
31
|
} from "./chunk-A4QZXLXF.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-D4SOADBD.js";
|
|
38
38
|
import {
|
|
39
39
|
SceneRenderer
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-NM6IWRTB.js";
|
|
41
41
|
import {
|
|
42
42
|
useStableValue
|
|
43
43
|
} from "./chunk-CQBPNE7Z.js";
|
|
@@ -52,12 +52,12 @@ import {
|
|
|
52
52
|
containerFit,
|
|
53
53
|
containerHostlessHeight,
|
|
54
54
|
layoutContainerRequest
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-JQSDRXLX.js";
|
|
56
56
|
import {
|
|
57
57
|
isFullGeometry,
|
|
58
58
|
preparedResult,
|
|
59
59
|
withoutSvgFooter
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-VGEHOB25.js";
|
|
61
61
|
import {
|
|
62
62
|
drawnRequest
|
|
63
63
|
} from "./chunk-INHDHZNP.js";
|
|
@@ -68,11 +68,11 @@ import {
|
|
|
68
68
|
} from "./chunk-54YO56IK.js";
|
|
69
69
|
import {
|
|
70
70
|
layoutRefusal
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-K2AOKBGW.js";
|
|
72
72
|
import {
|
|
73
73
|
SIZE_TOLERANCE,
|
|
74
74
|
getChart
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-F6IPP33V.js";
|
|
76
76
|
import {
|
|
77
77
|
chartRefusals,
|
|
78
78
|
isSizeDependentRefusal,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
} from "./chunk-UCKUAKYQ.js";
|
|
82
82
|
import {
|
|
83
83
|
formatDate
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-D3UPBA4R.js";
|
|
85
85
|
import {
|
|
86
86
|
chartNotes,
|
|
87
87
|
shownNoteKinds
|
|
@@ -108,7 +108,7 @@ import {
|
|
|
108
108
|
// src/react/hover/HoverSurface.tsx
|
|
109
109
|
import { createContext, useContext, useId, useMemo } from "react";
|
|
110
110
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
111
|
-
var DataTableContext = createContext(void 0), loadDataTable = () => import("./dataTable-
|
|
111
|
+
var DataTableContext = createContext(void 0), loadDataTable = () => import("./dataTable-HTQMPQB6.js");
|
|
112
112
|
function HoverSurface({ geometry, request, prepared, hover, table, responsive, background, styleNonce, extraCss = "", onSeriesClick, onRecordClick, renderHoverContent }) {
|
|
113
113
|
let { engine, view, origin, handlers, focusStops, keys, cursor, cardRef } = useHover({
|
|
114
114
|
request,
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I7V6LXHD.js";
|
|
12
12
|
import {
|
|
13
13
|
funnelCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-YWPBYL6P.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/funnel.ts
|
|
20
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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0, headAlign: 0, label: 0 } }, variant: 0, totalCvr: 0, stageShade: 0, worstDropCallout: 0 }, labels: ["category", "segment", "point", "total", "annotation"] }), FunnelChart = createChartComponent(registeredType(funnelCore), checkOptionKeys);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-Z6H5ED2I.js";
|
|
4
4
|
import {
|
|
5
5
|
createChartComponent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-I7V6LXHD.js";
|
|
7
7
|
import {
|
|
8
8
|
diagramCore
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NTUTJY33.js";
|
|
10
10
|
import {
|
|
11
11
|
registeredType
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
13
13
|
|
|
14
14
|
// src/react/charts/diagram.ts
|
|
15
15
|
var checkOptionKeys = optionKeyCheck({ tree: { a11y: { title: 0, description: 0, table: 0 }, target: 0, textScale: 0, textSize: 0, size: { width: 0, height: 0, unit: 0 }, mode: 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 }, 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 }, palette: 0, colorblindSafe: 0, interactive: 0, variant: 0, flow: 0, heightFill: 0, highlight: 0 } }), DiagramChart = createChartComponent(registeredType(diagramCore), checkOptionKeys);
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TableChart,
|
|
3
3
|
TableFloorRequestContext,
|
|
4
4
|
useRowsGate
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CAE6E3NW.js";
|
|
6
6
|
import {
|
|
7
7
|
sharedKeys10,
|
|
8
8
|
sharedKeys5,
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
frameSize,
|
|
19
19
|
linkedBinding,
|
|
20
20
|
rebindable
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-YFQW73AV.js";
|
|
22
22
|
import {
|
|
23
23
|
freezeValue,
|
|
24
24
|
useStableValue
|
|
25
25
|
} from "./chunk-CQBPNE7Z.js";
|
|
26
26
|
import {
|
|
27
27
|
dimswitchCore
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-36RTBB37.js";
|
|
29
29
|
import {
|
|
30
30
|
LABELS_ONLY,
|
|
31
31
|
PARTIAL_NOTE_OFF_FRAME,
|
|
@@ -34,14 +34,14 @@ import {
|
|
|
34
34
|
foreignRowId,
|
|
35
35
|
hiddenTotalFoldWarnings,
|
|
36
36
|
partialNoteWarning
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-CLJWE3JQ.js";
|
|
38
38
|
import {
|
|
39
39
|
ENGINE_NOTE_KINDS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-RAPIBQ6W.js";
|
|
41
41
|
import {
|
|
42
42
|
registeredType,
|
|
43
43
|
withRegistered
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
45
45
|
import {
|
|
46
46
|
ENGINE_NOTES
|
|
47
47
|
} from "./chunk-F3XOBFS4.js";
|
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
} from "./chunk-Z6H5ED2I.js";
|
|
9
9
|
import {
|
|
10
10
|
createChartComponent
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-I7V6LXHD.js";
|
|
12
12
|
import {
|
|
13
13
|
heatmapCore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-SHFXHUKJ.js";
|
|
15
15
|
import {
|
|
16
16
|
registeredType
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
18
18
|
|
|
19
19
|
// src/react/charts/heatmap.ts
|
|
20
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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, scaleGroup: { y: 0, id: 0 }, sort: { categories: 0, segments: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, annotations: sharedKeys9, scale: 0, variant: 0, cap: { pct: 0, abs: 0 }, breaks: 0, bubble: { levels: 0, sizeLabel: 0, colorLabel: 0, track: 0 }, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } }, minBase: 0, missing: 0 }, labels: ["category", "series", "point"] }), HeatmapChart = createChartComponent(registeredType(heatmapCore), checkOptionKeys);
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
} from "./chunk-Z6H5ED2I.js";
|
|
8
8
|
import {
|
|
9
9
|
createChartComponent
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-I7V6LXHD.js";
|
|
11
11
|
import {
|
|
12
12
|
statusCore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-GOJI2HVL.js";
|
|
14
14
|
import {
|
|
15
15
|
registeredType
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
17
17
|
|
|
18
18
|
// src/react/charts/status.ts
|
|
19
19
|
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: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0 }, scaleGroup: { y: 0, id: 0 }, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, interactive: 0, states: { "[]": { id: 0, label: 0, tone: { role: 0 }, pattern: 0 } }, columnLabels: 0, columnOverrides: { "*": { width: 0, align: 0, headAlign: 0, label: 0 } } }, labels: ["category", "series"] }), StatusChart = createChartComponent(registeredType(statusCore), checkOptionKeys);
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-6JXBLQJ2.js";
|
|
4
4
|
import {
|
|
5
5
|
layoutHeatmap
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BAT77TKB.js";
|
|
7
7
|
import {
|
|
8
8
|
hostedLayout
|
|
9
9
|
} from "./chunk-NZ7FX3AE.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
fittedLabel,
|
|
17
17
|
gutterBudget,
|
|
18
18
|
stepDownFont
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-O3U6IOIO.js";
|
|
20
20
|
import {
|
|
21
21
|
chartTheme
|
|
22
22
|
} from "./chunk-WFBN2HXR.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
fitsRoom,
|
|
30
30
|
widthsThatFit,
|
|
31
31
|
withoutWidths
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-MIJPESMQ.js";
|
|
33
33
|
import {
|
|
34
34
|
structureCount
|
|
35
35
|
} from "./chunk-KW4JXWHO.js";
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
liftOrFallback,
|
|
38
38
|
missesSize,
|
|
39
39
|
tightSpacingWarning
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ZDITBL4Z.js";
|
|
41
41
|
import {
|
|
42
42
|
fieldHeadFont,
|
|
43
43
|
fieldHeadText,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
rowSizing,
|
|
63
63
|
sideKeyGivesWay,
|
|
64
64
|
spareShare
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-F6IPP33V.js";
|
|
66
66
|
import {
|
|
67
67
|
HOST_CLAIMS,
|
|
68
68
|
PRIORITY,
|
|
@@ -81,7 +81,7 @@ import {
|
|
|
81
81
|
textCarriesCohortUnit,
|
|
82
82
|
withAuthoredFootnotes,
|
|
83
83
|
withUnprintedClaims
|
|
84
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-D3UPBA4R.js";
|
|
85
85
|
import {
|
|
86
86
|
disclosureNote,
|
|
87
87
|
keepShownNotes,
|
|
@@ -763,7 +763,22 @@ function buildExhibit(data, derived, visible, options, warnings, exclusion) {
|
|
|
763
763
|
let nameAlign = alignOf("label", "start"), unprinted = [
|
|
764
764
|
...derived.cohorts.flatMap((row) => Array.from({ length: row.observedPeriods }, (_, period) => period).filter((period) => !visible.includes(period)).map((period) => claimId("cohort", row.id, `t${period}`))),
|
|
765
765
|
...derived.total?.retention.flatMap((_, period) => visible.includes(period) ? [] : [claimId("cohort-total", `t${period}`)]) ?? []
|
|
766
|
-
], cellClaim = (row, period) => row.kind === "total" ? claimId("cohort-total", `t${period}`) : claimId("cohort", row.id, `t${period}`)
|
|
766
|
+
], cellClaim = (row, period) => row.kind === "total" ? claimId("cohort-total", `t${period}`) : claimId("cohort", row.id, `t${period}`), cohortById = new Map(derived.cohorts.map((cohort) => [cohort.id, cohort])), cells = rowData.map((row) => visible.map((period) => {
|
|
767
|
+
let retention = period < row.observedPeriods ? row.retention[period] ?? null : null, missing = row.kind === "total" ? derived.cohorts.some((cohort) => missingCohortRate(cohort, period, derived.basis)) : missingCohortRate(cohortById.get(row.id), period, derived.basis);
|
|
768
|
+
if (retention === null && !missing || options.figures === !1 && style === "stepped" && retention !== null && period !== 0)
|
|
769
|
+
return { retention, missing, printed: void 0 };
|
|
770
|
+
let text = missing ? "\u2014" : formatValue(retention, period), highlighted = style === "pure" && retention !== null && pureEmphasis(options, period, retention), font = row.kind === "total" && style !== "pure" ? totalFont : highlighted ? strongFont : cellFont;
|
|
771
|
+
return { retention, missing, printed: { text, highlighted, font, measured: measure(text, font) } };
|
|
772
|
+
})), periodColumns = overrides?.periods?.align === void 0 ? visible.map((_, column) => {
|
|
773
|
+
let widths = cells.flatMap((row) => {
|
|
774
|
+
let cell = row[column].printed;
|
|
775
|
+
return cell ? [cell.measured.width] : [];
|
|
776
|
+
});
|
|
777
|
+
return {
|
|
778
|
+
right: columnAt(column, "middle") + Math.max(0, maxOf(widths)) / 2,
|
|
779
|
+
flush: new Set(widths.map((width) => Math.round(width * 100))).size > 1
|
|
780
|
+
};
|
|
781
|
+
}) : void 0;
|
|
767
782
|
if (rowData.forEach((row, rowIndex) => {
|
|
768
783
|
let y = tableTop + headerH + rowIndex * rowH + (totalOnTop ? row.kind === "total" ? 0 : baseLineH + totalGap : row.kind === "total" ? totalGap : 0), rowFont = row.kind === "total" ? totalFont : cellFont;
|
|
769
784
|
if (style === "pure" && rowIndex > 0 && row.kind !== "total" && rowData[rowIndex - 1].kind !== "total" && addLine(`cohort-row-rule:${row.id}`, tableLeft, y, tableRight, y, theme.table?.ruleWidths?.row ?? strokeToken(theme, "hair"), tableRuleInk(), "rowRule"), row.kind === "total") {
|
|
@@ -796,7 +811,7 @@ function buildExhibit(data, derived, visible, options, warnings, exclusion) {
|
|
|
796
811
|
);
|
|
797
812
|
}
|
|
798
813
|
visible.forEach((period, column) => {
|
|
799
|
-
let
|
|
814
|
+
let { retention, missing, printed } = cells[rowIndex][column], rect = {
|
|
800
815
|
x: monthLeft + column * monthW,
|
|
801
816
|
y,
|
|
802
817
|
w: style === "stepped" ? Math.max(0, monthW - 1) : monthW,
|
|
@@ -820,22 +835,22 @@ function buildExhibit(data, derived, visible, options, warnings, exclusion) {
|
|
|
820
835
|
rect,
|
|
821
836
|
nodeId,
|
|
822
837
|
retention
|
|
823
|
-
}),
|
|
838
|
+
}), !printed) {
|
|
824
839
|
period < row.observedPeriods && unprinted.push(cellClaim(row, period));
|
|
825
840
|
return;
|
|
826
841
|
}
|
|
827
|
-
let text
|
|
842
|
+
let { text, highlighted, font, measured } = printed, ink = period === 0 ? mutedInk : highlighted ? emphasisInk(theme, paint) : style === "stepped" && (bin ?? 0) >= 3 ? { token: "inkInverse" } : { token: "ink" }, periodColumn = periodColumns?.[column], labelRect = periodColumn ? { x: periodColumn.right - measured.width, y: y + (rowH - measured.height) / 2, w: measured.width, h: measured.height } : measuredRect(text, font, periodCellAlign === "middle" ? rect.x + rect.w / 2 : anchorIn(periodCellAlign, rect.x, rect.w), y, periodCellAlign);
|
|
828
843
|
addLabel(
|
|
829
844
|
`cohort-cell:${row.id}:t${period}`,
|
|
830
845
|
text,
|
|
831
|
-
|
|
846
|
+
labelRect,
|
|
832
847
|
font,
|
|
833
848
|
ink,
|
|
834
849
|
{ seriesId: row.id, categoryId: `t${period}` },
|
|
835
850
|
row.kind === "total" ? "total" : "point",
|
|
836
851
|
paint,
|
|
837
852
|
void 0,
|
|
838
|
-
void 0,
|
|
853
|
+
periodColumn?.flush ? "end" : void 0,
|
|
839
854
|
cellClaim(row, period)
|
|
840
855
|
);
|
|
841
856
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
layoutResolvedRequest,
|
|
3
3
|
measureLayout
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U5CBQHTX.js";
|
|
5
5
|
import {
|
|
6
6
|
linkStaticFooter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WXMH66N5.js";
|
|
8
8
|
import {
|
|
9
9
|
chartSizing,
|
|
10
10
|
getChart,
|
|
11
11
|
hostlessHeight
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F6IPP33V.js";
|
|
13
13
|
import {
|
|
14
14
|
INTERACTIVE_LAYOUT,
|
|
15
15
|
LIVE_NOTE_SHOW,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
visibleColumns,
|
|
10
10
|
visibleInlineRows,
|
|
11
11
|
visibleRows
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DXNVL67C.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_TRACK_GROWTH,
|
|
15
15
|
DENSE_COLUMNS,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
chartSizing,
|
|
53
53
|
fitsSize,
|
|
54
54
|
resolveSizing
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-F6IPP33V.js";
|
|
56
56
|
import {
|
|
57
57
|
footerType
|
|
58
58
|
} from "./chunk-DZYTXZNS.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
} from "./chunk-Z6H5ED2I.js";
|
|
10
10
|
import {
|
|
11
11
|
createChartComponent
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-I7V6LXHD.js";
|
|
13
13
|
import {
|
|
14
14
|
barCore
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UXPR6TEZ.js";
|
|
16
16
|
import {
|
|
17
17
|
registeredType
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ZQHMZUFD.js";
|
|
19
19
|
|
|
20
20
|
// src/react/charts/bar.ts
|
|
21
21
|
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, detailFields: { "[]": { key: 0, label: 0, format: 0, unit: 0 } }, smallValues: 0, palette: 0, labelDensity: 0, labels: 0, labelPosition: 0, labelPlacements: 0, labelOffsets: { "*": { x: 0, y: 0 } }, legend: { position: 0, order: 0 }, valueAxis: sharedKeys4, scaleGroup: { y: 0, id: 0 }, rowLabels: { align: 0 }, sort: { categories: 0, segments: 0 }, topN: { n: 0, rest: 0, restLabel: 0, showRestCount: 0, threshold: 0 }, bandFraction: 0, highlight: 0, story: { steps: { "[]": { id: 0, title: 0, body: 0, highlight: 0 } }, step: 0 }, focus: sharedKeys5, hatchStrength: 0, colorblindSafe: 0, rounding: 0, interactive: 0, annotations: sharedKeys9, columnOverrides: { "*": { width: 0 } }, axisTitles: { primary: 0 }, valueLabels: 0, variant: 0, sharesOfOneWhole: 0, baseValue: { value: 0, label: 0 }, tornado: { low: 0, high: 0 }, currentValue: { value: 0, label: 0 }, methodNote: 0, grandTotalLabels: 0, referenceStyle: 0, referenceTick: { width: 0, color: 0 }, signColor: 0, netLine: { seriesId: 0, connectors: 0 }, averageMarker: { scope: 0, includePartial: 0 }, connectors: { style: 0, scope: 0 } }, labels: ["category", "segment", "restSeries", "point", "grandTotal", "percentIndicator", "tick", "axisTitle", "valueLine"] }), BarChart = createChartComponent(registeredType(barCore), checkOptionKeys);
|