boardplot 0.54.0 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +491 -0
- package/README.md +4 -4
- package/dist/{ReaderBox-YXC5XK7D.js → ReaderBox-GLCKYXBU.js} +14 -10
- package/dist/{annotateEngine-5O3IRSQL.js → annotateEngine-QVNAE3EH.js} +3 -1
- package/dist/build-identity.json +3 -3
- package/dist/{chunk-MT4MP3UZ.js → chunk-27OIGDRK.js} +1 -1
- package/dist/{chunk-OD3IH6FG.js → chunk-2DOEZ5QY.js} +39 -21
- package/dist/{chunk-WUKSZNHL.js → chunk-2FKEF2AC.js} +32 -21
- package/dist/{chunk-GYNZ72GO.js → chunk-2HTYGMMG.js} +2 -2
- package/dist/chunk-2NN676RI.js +25 -0
- package/dist/{chunk-4MREJWRM.js → chunk-2NRHD2G7.js} +5 -4
- package/dist/{chunk-3UBTO342.js → chunk-2NSQIPAA.js} +77 -38
- package/dist/{chunk-T7ZCYYQZ.js → chunk-2YO4WRJN.js} +25 -7
- package/dist/{chunk-SHH2AHIU.js → chunk-32LLDRPI.js} +64 -42
- package/dist/{chunk-WEPAE4KG.js → chunk-3465633G.js} +4 -4
- package/dist/{chunk-WGIO6AHP.js → chunk-37PKNVLS.js} +3 -3
- package/dist/chunk-3V62N3Z7.js +24 -0
- package/dist/{chunk-S6CRZKPO.js → chunk-43GGVT7W.js} +5 -5
- package/dist/{chunk-VDAZPGR2.js → chunk-4DZFR52I.js} +2 -2
- package/dist/{chunk-WDONXBQE.js → chunk-4JC3SE4G.js} +1 -1
- package/dist/{chunk-EHVESNLV.js → chunk-4JGBCBDZ.js} +1 -1
- package/dist/{chunk-G6XCUX3I.js → chunk-4JHMCXOB.js} +60 -13
- package/dist/{chunk-GGO43PHB.js → chunk-4KMZAK6J.js} +6 -5
- package/dist/{chunk-GVKFFJ23.js → chunk-4KQHKPB3.js} +462 -149
- package/dist/{chunk-AHQ4L3BE.js → chunk-4LTN7SND.js} +2 -2
- package/dist/{chunk-MZJBPDIL.js → chunk-52WNCUIN.js} +1 -1
- package/dist/{chunk-JAKRPSWP.js → chunk-54ROMBU7.js} +164 -51
- package/dist/{chunk-OZUTYDV4.js → chunk-5DTCOOLU.js} +2 -2
- package/dist/{chunk-DDI2W4TR.js → chunk-5P2TTHBZ.js} +3 -3
- package/dist/{chunk-U2HQELXL.js → chunk-5PPQIF4D.js} +2 -2
- package/dist/{chunk-K4K6KGEF.js → chunk-5S3JQ5AT.js} +241 -195
- package/dist/chunk-5TWY3ZIC.js +19 -0
- package/dist/{chunk-BXEM2CVW.js → chunk-6364WO5D.js} +3 -3
- package/dist/{chunk-ZNHF2XCP.js → chunk-63Y3ROZ7.js} +50 -36
- package/dist/{chunk-VAEC53B3.js → chunk-64LJDGJH.js} +3 -3
- package/dist/{chunk-WZBMTZBM.js → chunk-67QSW5RW.js} +4 -4
- package/dist/{chunk-HGGLJYPZ.js → chunk-6AMN7IKJ.js} +89 -57
- package/dist/{chunk-24BHMKDD.js → chunk-6EYTD777.js} +25 -2
- package/dist/{chunk-HZG5NB7Q.js → chunk-6MJUW5R5.js} +159 -86
- package/dist/{chunk-NGRIT3CY.js → chunk-6QDMRPXI.js} +113 -128
- package/dist/{chunk-HZZH3MQI.js → chunk-6WHWXCHJ.js} +7 -3
- package/dist/{chunk-T3PNYRDM.js → chunk-75WIUG2W.js} +394 -141
- package/dist/{chunk-ZTH6YSVA.js → chunk-76Q7E3TM.js} +117 -102
- package/dist/chunk-7ADUVRG5.js +14 -0
- package/dist/{chunk-U4P6TQRW.js → chunk-7DAH2E4T.js} +2 -2
- package/dist/{chunk-43OQ26TL.js → chunk-7FKY6YWU.js} +8 -8
- package/dist/{chunk-CPKHL7FK.js → chunk-7KSUMFBK.js} +1 -1
- package/dist/{chunk-KL2XJQAA.js → chunk-7M2GK7XQ.js} +1729 -196
- package/dist/{chunk-RZB4RPPD.js → chunk-7PPMT5EJ.js} +155 -151
- package/dist/{chunk-JFBEAUJ6.js → chunk-7Q37C6GZ.js} +1 -1
- package/dist/chunk-7STMIK2X.js +94 -0
- package/dist/{chunk-KFWEO4UA.js → chunk-7VMEM3LN.js} +254 -142
- package/dist/{chunk-GSMWHKOW.js → chunk-7VVHTOE7.js} +7 -7
- package/dist/{chunk-KBFPMESI.js → chunk-A2GAWGVJ.js} +246 -79
- package/dist/{chunk-23RWLBZF.js → chunk-AGDDH6XY.js} +3 -3
- package/dist/chunk-AMR4SUAN.js +25 -0
- package/dist/{chunk-6I7YZTY7.js → chunk-BDGLMWPO.js} +12 -4
- package/dist/{chunk-JJJ2KAHR.js → chunk-BIGQKCU7.js} +20 -9
- package/dist/{chunk-LTMF75MR.js → chunk-BISJK67O.js} +208 -62
- package/dist/{chunk-FILDYFT4.js → chunk-BIVL764T.js} +2 -2
- package/dist/{chunk-RNOJSEES.js → chunk-BK6P6KMW.js} +1 -1
- package/dist/{chunk-XB4KZ6WO.js → chunk-BSATR6ZO.js} +40 -13
- package/dist/{chunk-MYCLO35J.js → chunk-BTDGWHGJ.js} +50 -12
- package/dist/{chunk-PDG4IM3L.js → chunk-BVYIKLQ5.js} +1 -1
- package/dist/{chunk-TNHD4UTC.js → chunk-BYCJ6TKI.js} +13 -3
- package/dist/{chunk-NQSDIDRO.js → chunk-CAJ54IEP.js} +5 -5
- package/dist/{chunk-E42JZ2DA.js → chunk-CB4CERXZ.js} +4 -5
- package/dist/{chunk-ENOCOA3F.js → chunk-CCDXK5NA.js} +5 -5
- package/dist/{chunk-7X3UZM7F.js → chunk-CCJP6QZO.js} +1 -1
- package/dist/{chunk-ELPQZIGR.js → chunk-CF4NMRN7.js} +37 -13
- package/dist/{chunk-32X7JGH3.js → chunk-CHAS5A5B.js} +89 -69
- package/dist/{chunk-AVMKRVNP.js → chunk-CKGSGRP7.js} +14 -24
- package/dist/{chunk-3EZRM4YM.js → chunk-CPGASWNN.js} +25 -1
- package/dist/{chunk-BWTX7LUG.js → chunk-CXETOLPX.js} +9 -4
- package/dist/{chunk-D3D7XHBI.js → chunk-CYKXROFG.js} +6 -6
- package/dist/{chunk-DRTA6JG5.js → chunk-D2B3KP35.js} +26 -15
- package/dist/{chunk-TSPWXAAI.js → chunk-DD6RVD3S.js} +6 -7
- package/dist/{chunk-A5TY7H5T.js → chunk-DF3XEFQ7.js} +159 -53
- package/dist/{chunk-P52JHUUM.js → chunk-DLDDRXAI.js} +198 -88
- package/dist/{chunk-XNA6DATU.js → chunk-DLUNQHFO.js} +99 -56
- package/dist/{chunk-2THWIKRB.js → chunk-DMAMWUYY.js} +33 -16
- package/dist/chunk-DQ7YMQVX.js +26 -0
- package/dist/{chunk-4WK3CNW5.js → chunk-DRHQG44U.js} +11 -0
- package/dist/{chunk-WZGJSQKN.js → chunk-DZ3S4RPI.js} +15 -1
- package/dist/chunk-E2ZUBP4Q.js +24 -0
- package/dist/{chunk-G63ROSY5.js → chunk-E555EDOQ.js} +139 -72
- package/dist/{chunk-A7IEVBYI.js → chunk-E76U5H52.js} +1 -5
- package/dist/{chunk-J2ROMB7J.js → chunk-E7V3OHQQ.js} +64 -26
- package/dist/chunk-EBB4PYBN.js +24 -0
- package/dist/{chunk-FPPN5NAR.js → chunk-ECBUFKCP.js} +3 -3
- package/dist/{chunk-5PCCSSII.js → chunk-EGGDPDYJ.js} +1 -1
- package/dist/{chunk-F7X53SZM.js → chunk-EIL3KHAL.js} +12 -7
- package/dist/{chunk-MBVXROCI.js → chunk-EMFUZKYK.js} +20 -3
- package/dist/{chunk-TNNK4IIY.js → chunk-ETMHDCEH.js} +13 -12
- package/dist/{chunk-WMZCOGD6.js → chunk-EZZ533MH.js} +1 -1
- package/dist/{chunk-GEBGBJBD.js → chunk-F2EVCJ4U.js} +41 -34
- package/dist/{chunk-2IXDYW6O.js → chunk-F5BYLT3M.js} +195 -57
- package/dist/{chunk-NRHTC2SQ.js → chunk-F6OLHND5.js} +2 -2
- package/dist/{chunk-3FNY7ZCG.js → chunk-F77TMAUY.js} +141 -79
- package/dist/{chunk-QQNPU27R.js → chunk-FCECYJVA.js} +1 -1
- package/dist/{chunk-RGZGLKFB.js → chunk-FFJGC2DX.js} +418 -62
- package/dist/chunk-FG5L2LUK.js +89 -0
- package/dist/chunk-FMDNJ6PC.js +47 -0
- package/dist/{chunk-4WQ2MBE7.js → chunk-FNMH5WEY.js} +1 -1
- package/dist/{chunk-F35DA442.js → chunk-FNRPQIQE.js} +46 -27
- package/dist/{chunk-7EVIIADO.js → chunk-GC4WOLV3.js} +3 -1
- package/dist/{chunk-JB4YPOMT.js → chunk-GELSK76Y.js} +6 -7
- package/dist/{chunk-5SJQOPL7.js → chunk-GIHH6VC2.js} +4 -4
- package/dist/chunk-GLQ3KCTY.js +24 -0
- package/dist/{chunk-HHS6333D.js → chunk-GM3EGUYW.js} +2 -2
- package/dist/{chunk-PBYUJSEY.js → chunk-GQT2SY2S.js} +66 -43
- package/dist/{chunk-BUPLB3EX.js → chunk-H3IBJQ5A.js} +6 -2
- package/dist/{chunk-K4RCWNLC.js → chunk-HHXIVFAU.js} +11 -8
- package/dist/{chunk-B3F4TS3V.js → chunk-HJRNBKIT.js} +768 -69
- package/dist/chunk-HOU2MZHC.js +61 -0
- package/dist/{chunk-S4QSJAGY.js → chunk-HZUAEMN5.js} +1 -1
- package/dist/chunk-I7H5DU34.js +132 -0
- package/dist/{chunk-YS56RSTZ.js → chunk-IFQN4GKK.js} +161 -69
- package/dist/chunk-IGJ2G5C6.js +24 -0
- package/dist/{chunk-4ZGN4ZUN.js → chunk-IGNBQT23.js} +87 -3
- package/dist/{chunk-B6LHZLLK.js → chunk-IGVAWAOK.js} +31 -101
- package/dist/chunk-INHDHZNP.js +8 -0
- package/dist/chunk-IRXVV65V.js +24 -0
- package/dist/{chunk-IDDA5INB.js → chunk-IVRYF7QA.js} +7 -4
- package/dist/{chunk-3RMTPAEJ.js → chunk-JCAGVAB3.js} +810 -73
- package/dist/{chunk-OMVYFSOM.js → chunk-JCIXYOND.js} +2 -2
- package/dist/{chunk-6TJDWMZV.js → chunk-JEUL777U.js} +83 -9
- package/dist/{chunk-J33RA3YO.js → chunk-JFFREZGT.js} +5 -5
- package/dist/{chunk-AJHYXD5U.js → chunk-JGFHNAHS.js} +2 -2
- package/dist/chunk-JHWYG7V5.js +24 -0
- package/dist/{chunk-EP54VZI5.js → chunk-JIEVDGAF.js} +1 -1
- package/dist/{chunk-IDT7DJ7F.js → chunk-JKOEHRGV.js} +1 -1
- package/dist/chunk-JMGB444D.js +26 -0
- package/dist/{chunk-DSZUV3TM.js → chunk-JTC5SEAQ.js} +3 -3
- package/dist/chunk-JTFKRDDA.js +53 -0
- package/dist/{chunk-RKITD2UJ.js → chunk-JVZTKQFS.js} +6 -3
- package/dist/{chunk-BBL3R5YZ.js → chunk-JXBZIJCG.js} +1 -1
- package/dist/{chunk-WLZ54FWG.js → chunk-JYAZPMSA.js} +70 -1
- package/dist/chunk-K3VZ5QJK.js +19 -0
- package/dist/{chunk-EYLWVI26.js → chunk-KBJMLXNW.js} +165 -124
- package/dist/{chunk-KAQH75T6.js → chunk-KD5GOR2K.js} +82 -48
- package/dist/{chunk-LNKY5Z2X.js → chunk-KDSYZLF6.js} +2 -3
- package/dist/{chunk-7NWFKHSG.js → chunk-KF7HD3EH.js} +116 -42
- package/dist/{chunk-V7RAPZHX.js → chunk-KLB2QC24.js} +3 -3
- package/dist/chunk-KLIZXSBK.js +24 -0
- package/dist/{chunk-HDZGZJKR.js → chunk-KQCKK3LD.js} +100 -36
- package/dist/{chunk-4TPHMIE5.js → chunk-KTHFHD6C.js} +4 -2
- package/dist/{chunk-IYEFEBRN.js → chunk-KZJ5VM6E.js} +14 -3
- package/dist/{chunk-MEG4NMSI.js → chunk-L6YVK6VC.js} +2 -2
- package/dist/chunk-LGNJCPFP.js +28 -0
- package/dist/{chunk-7JQAUJOL.js → chunk-LKMFMNQX.js} +1 -1
- package/dist/{chunk-QY5ZKUWY.js → chunk-MAFPVR4G.js} +9 -3
- package/dist/{chunk-QR35TD2B.js → chunk-MD6DCQMA.js} +37 -37
- package/dist/{chunk-AA4U62G6.js → chunk-MJPXHCBW.js} +4 -4
- package/dist/{chunk-LYVOL4TQ.js → chunk-MOK3ZS6P.js} +2 -1
- package/dist/{chunk-MKVV7GVJ.js → chunk-MOS6WFWM.js} +13 -7
- package/dist/{chunk-2DR5MMDY.js → chunk-MPO5TVGF.js} +12 -6
- package/dist/{chunk-OU5K2JPF.js → chunk-MRAP2UVV.js} +102 -32
- package/dist/chunk-MS7O3KDJ.js +24 -0
- package/dist/{chunk-53OYF4ZT.js → chunk-MSYTF3DZ.js} +26 -11
- package/dist/{chunk-5A6MO4AR.js → chunk-MZACASZY.js} +7 -4
- package/dist/{chunk-H4H4O62O.js → chunk-N5HN5QGH.js} +1 -1
- package/dist/chunk-NCLRZQR6.js +211 -0
- package/dist/{chunk-C54QLNE4.js → chunk-NGA7ICG4.js} +1 -1
- package/dist/{chunk-SFQ5ADIG.js → chunk-NHC2ADGI.js} +315 -151
- package/dist/chunk-NMTWUYUF.js +30 -0
- package/dist/chunk-O36WX56O.js +13 -0
- package/dist/{chunk-FV32N6AF.js → chunk-O6ZTIDWB.js} +6 -4
- package/dist/{chunk-6BJQULXR.js → chunk-O7REHICC.js} +85 -39
- package/dist/{chunk-4FFCIQDG.js → chunk-OG2YUVBW.js} +4 -1
- package/dist/{chunk-CICWSCLC.js → chunk-OJ5CQV7H.js} +146 -69
- package/dist/{chunk-ULTSSIOU.js → chunk-OQQMDSCC.js} +1 -1
- package/dist/{chunk-PJWLKCFX.js → chunk-P4SMC4BY.js} +98 -90
- package/dist/{chunk-JEYJRJ7M.js → chunk-PJBEJR2U.js} +5 -4
- package/dist/{chunk-AZIRTSVP.js → chunk-PQLAZEQV.js} +122 -52
- package/dist/chunk-PZ46S2SY.js +69 -0
- package/dist/chunk-QB5HV4IY.js +24 -0
- package/dist/{chunk-IM4WUIR7.js → chunk-QGFKSDQO.js} +2 -2
- package/dist/chunk-QJWLNP64.js +24 -0
- package/dist/chunk-QLANK3VN.js +24 -0
- package/dist/chunk-QSMGZOT5.js +24 -0
- package/dist/{chunk-UYNAL3Y3.js → chunk-QWCLWFKC.js} +142 -68
- package/dist/chunk-QZIHKQRH.js +26 -0
- package/dist/{chunk-SZCPKGYG.js → chunk-R2IKOLBK.js} +3 -3
- package/dist/{chunk-BRPOSOK5.js → chunk-R5MEBBAA.js} +144 -71
- package/dist/{chunk-47BO6MYI.js → chunk-RJGCYGC3.js} +137 -70
- package/dist/chunk-RLMC5CUP.js +24 -0
- package/dist/{chunk-6NLH6TEP.js → chunk-RMC4OONA.js} +331 -143
- package/dist/{chunk-26P4WRQC.js → chunk-RPIKNMZA.js} +6 -3
- package/dist/{chunk-YF2PYLC4.js → chunk-RSCRIWAH.js} +1 -1
- package/dist/{chunk-DHWCFQNO.js → chunk-RT66UTLJ.js} +4 -18
- package/dist/{chunk-DAVHGK27.js → chunk-S7NRL66K.js} +46 -23
- package/dist/{chunk-VABRPZVC.js → chunk-SA46CNMS.js} +5 -1
- package/dist/chunk-SE7MJ2LQ.js +24 -0
- package/dist/{chunk-L7RHB734.js → chunk-SGDWLXUC.js} +1 -1
- package/dist/{chunk-E64MTTBC.js → chunk-SMHZXHHD.js} +45 -14
- package/dist/{chunk-AG2CJ4JY.js → chunk-SNQ7D5R7.js} +18 -1
- package/dist/{chunk-3V7AA3IZ.js → chunk-SPSGUFTI.js} +11 -3
- package/dist/{chunk-I2E3YDNZ.js → chunk-SRAV6FPB.js} +33 -9
- package/dist/chunk-SRUV7AT6.js +51 -0
- package/dist/{chunk-KJEZFOO6.js → chunk-SS4YGK3E.js} +91 -48
- package/dist/{chunk-WQ55QPEB.js → chunk-SXD3OYAR.js} +241 -118
- package/dist/{chunk-U7LLQ7XM.js → chunk-T2CYNDYU.js} +473 -109
- package/dist/{chunk-FMFCGYCE.js → chunk-T2YDWT54.js} +289 -300
- package/dist/{chunk-KORHKDJW.js → chunk-TE4M52AA.js} +2 -1
- package/dist/chunk-TUW5IYGA.js +24 -0
- package/dist/chunk-TXBO2LWM.js +25 -0
- package/dist/chunk-U3A6FMSI.js +28 -0
- package/dist/{chunk-EHDWWFNV.js → chunk-UBCVBBJJ.js} +3 -3
- package/dist/chunk-UPTXFTKH.js +25 -0
- package/dist/chunk-UREXN6WG.js +25 -0
- package/dist/chunk-UZLR25BW.js +24 -0
- package/dist/{chunk-JEL6665C.js → chunk-UZTQUPTB.js} +6 -6
- package/dist/{chunk-ISWU5YB3.js → chunk-V5JQQMFQ.js} +11 -5
- package/dist/chunk-V634AXDM.js +31 -0
- package/dist/{chunk-57ZGVAU3.js → chunk-V7F4F6JA.js} +39 -6
- package/dist/chunk-VJ7VBB6S.js +58 -0
- package/dist/{chunk-LVXOY5WL.js → chunk-VPL3JYC6.js} +6 -5
- package/dist/{chunk-VWYUUBBP.js → chunk-VVXKFU72.js} +83 -32
- package/dist/{chunk-XTGWCYAR.js → chunk-WBETBGSC.js} +430 -256
- package/dist/chunk-WI5VOSQX.js +125 -0
- package/dist/chunk-WIVFIVFZ.js +27 -0
- package/dist/{chunk-OURX73UJ.js → chunk-WN3HEU3P.js} +13 -11
- package/dist/{chunk-7EOLHBI6.js → chunk-WTQAG2OT.js} +81 -21
- package/dist/{chunk-G57ZO7DB.js → chunk-WWGPTEQB.js} +66 -26
- package/dist/{chunk-33PLBIMA.js → chunk-WXJ5MHLH.js} +3 -2
- package/dist/chunk-X23SZHV5.js +25 -0
- package/dist/{chunk-TKQKXBGC.js → chunk-X3KCQEYZ.js} +10 -8
- package/dist/chunk-X3YP4DUV.js +76 -0
- package/dist/chunk-XC5IRUEL.js +48 -0
- package/dist/{chunk-LFX7W4B7.js → chunk-XCROSJ2Z.js} +1 -1
- package/dist/{chunk-RK4S3VPS.js → chunk-XHRUXZD7.js} +3 -3
- package/dist/{chunk-S32YYDIB.js → chunk-XMP2DNLI.js} +4 -3
- package/dist/{chunk-C3O45JWU.js → chunk-XQMYQ4TN.js} +4 -4
- package/dist/{chunk-QKL7IY42.js → chunk-Y54LU4CU.js} +1 -1
- package/dist/chunk-YHD2FZFP.js +24 -0
- package/dist/{chunk-OMNQXHFF.js → chunk-YK2KWNTU.js} +31 -20
- package/dist/chunk-YMTXTQCN.js +24 -0
- package/dist/{chunk-SGD3ZHID.js → chunk-YOOHNQ3L.js} +15 -4
- package/dist/{chunk-JTJNQKPM.js → chunk-YPYD6OJ3.js} +2 -2
- package/dist/{chunk-3P4PJJND.js → chunk-YYJORENB.js} +6 -6
- package/dist/{chunk-NRF223FR.js → chunk-YZZLIYPA.js} +1 -1
- package/dist/{chunk-WJKVNRCR.js → chunk-Z55DXFWS.js} +18 -17
- package/dist/{chunk-UTQGZF37.js → chunk-ZEYBI47P.js} +1 -1
- package/dist/{chunk-WKWMOZNE.js → chunk-ZJFJ2IKQ.js} +226 -61
- package/dist/{chunk-QJ4WGAC6.js → chunk-ZKJ5L35C.js} +94 -21
- package/dist/{chunk-ZXOD37BE.js → chunk-ZL6IHMOW.js} +73 -39
- package/dist/chunk-ZMPH2OC4.js +24 -0
- package/dist/{chunk-EYZ6SLF3.js → chunk-ZVM5TFGR.js} +7 -7
- package/dist/chunk-ZWNRLIFT.js +24 -0
- package/dist/{chunk-VNLSTZES.js → chunk-ZY72LSQK.js} +314 -92
- package/dist/chunk-ZYQYX66L.js +24 -0
- package/dist/cli/index.js +3 -3
- package/dist/{core-MN45UFF4.js → core-3KLQSYWB.js} +3 -1
- package/dist/{core-DAFZ7YJW.js → core-4HFVG4CP.js} +2 -1
- package/dist/{core-34KIMTK6.js → core-4RR6VSXM.js} +2 -1
- package/dist/{core-7R3ARYNI.js → core-5UF44NDI.js} +5 -1
- package/dist/{core-3CWPIFAL.js → core-7S3XMW5O.js} +3 -1
- package/dist/{core-ONNGSKWQ.js → core-7Y5BZZON.js} +5 -1
- package/dist/{core-AEYGGH7X.js → core-A5AKUB7H.js} +4 -1
- package/dist/{core-YPH723Z7.js → core-AR2T32Y3.js} +8 -1
- package/dist/{core-CJZXX2V3.js → core-BBNY2BX4.js} +2 -1
- package/dist/{core-CJ7FFPDU.js → core-BLHEJ5OK.js} +5 -1
- package/dist/{core-KII4CH3W.js → core-BOG33BFD.js} +3 -1
- package/dist/{core-O2K4BDYH.js → core-DD62MWEW.js} +4 -1
- package/dist/{core-WJSKT5XM.js → core-DFZMOO7E.js} +5 -1
- package/dist/{core-QXIAQFHM.js → core-E2XOSHPR.js} +3 -1
- package/dist/{core-R27R6J5M.js → core-G3LXHW73.js} +3 -1
- package/dist/{core-V7I4F6JW.js → core-GLOZY6Z7.js} +5 -1
- package/dist/{core-KZK3WCUG.js → core-GSILPKUR.js} +3 -1
- package/dist/{core-GEUPUZUY.js → core-H5HO2CED.js} +3 -1
- package/dist/{core-W7AZNHOX.js → core-HDNWVLJW.js} +3 -1
- package/dist/{core-L7Y7YXWR.js → core-HTD5RHE7.js} +1 -1
- package/dist/{core-WHI4ABF2.js → core-ILPXXC2Z.js} +1 -1
- package/dist/{core-RGLOYY73.js → core-J2JD5ODO.js} +6 -1
- package/dist/{core-ASBJZZTP.js → core-JDFUZFRH.js} +2 -1
- package/dist/{core-XKV7GMPG.js → core-K3JX5WPM.js} +2 -1
- package/dist/{core-L5KTPXHC.js → core-LB5M7XL4.js} +3 -1
- package/dist/{core-KCORN7F7.js → core-LGJZUP6H.js} +3 -1
- package/dist/{core-DJPGSTXB.js → core-MU4ALRR7.js} +8 -1
- package/dist/{core-MNUVP5IJ.js → core-QPSAYRFT.js} +5 -1
- package/dist/{core-YVNOHIQ4.js → core-RR2CAZC5.js} +3 -1
- package/dist/{core-KF6GJOGW.js → core-TCSW24N6.js} +7 -1
- package/dist/{core-JLXFDYHX.js → core-TKZZZ6UW.js} +4 -1
- package/dist/{core-7YKLT7KY.js → core-VKZSQFRG.js} +4 -1
- package/dist/{core-EAIFSTDE.js → core-WJNK7F2J.js} +3 -1
- package/dist/{core-JLJTP7P6.js → core-WZ4CHVYL.js} +3 -1
- package/dist/{core-PFXIBWLD.js → core-XW7UJFJZ.js} +4 -1
- package/dist/{core-RCFFJANI.js → core-YMXYUGF5.js} +5 -1
- package/dist/{core-DKJUX7Q4.js → core-ZLSQHZ3I.js} +3 -1
- package/dist/{dataTable-VKEHFLJM.js → dataTable-CNDRVGA5.js} +4 -2
- package/dist/{engine-PPXKJJFI.js → engine-FVEIM3WV.js} +59 -32
- package/dist/fixtures.js +6 -1
- package/dist/{fontTables-WYCZNRE7.js → fontTables-ZPZQ6IR3.js} +1 -1
- package/dist/fonts.js +2 -1
- package/dist/geo/dach.js +3 -1
- package/dist/geo/de-states.js +3 -1
- package/dist/geo/eu27.js +3 -1
- package/dist/geo/europe.js +3 -1
- package/dist/geo/index.js +4 -2
- package/dist/geo/us-states.js +3 -1
- package/dist/geo/world.js +3 -1
- package/dist/index.js +31 -26
- package/dist/{main-53MXACOU.js → main-THU6VIVU.js} +55 -24
- package/dist/mcp/server.js +50 -22
- package/dist/{module-SVEW5ZUE.js → module-ZSR7KTAS.js} +1 -1
- package/dist/react/bar.js +6 -1
- package/dist/react/bartable.js +6 -1
- package/dist/react/box.js +6 -1
- package/dist/react/bullet.js +4 -1
- package/dist/react/butterfly.js +5 -1
- package/dist/react/choropleth.js +4 -1
- package/dist/react/cohort.js +4 -1
- package/dist/react/column.js +9 -1
- package/dist/react/combo.js +3 -1
- package/dist/react/creative.js +2 -1
- package/dist/react/diagram.js +3 -1
- package/dist/react/dimswitch.js +4 -1
- package/dist/react/dot.js +9 -1
- package/dist/react/export.js +33 -30
- package/dist/react/funnel.js +4 -1
- package/dist/react/gantt.js +4 -1
- package/dist/react/grid.js +4 -1
- package/dist/react/heatmap.js +4 -1
- package/dist/react/histogram.js +6 -1
- package/dist/react/index.js +95 -90
- package/dist/react/kpi.js +2 -1
- package/dist/react/likert.js +7 -1
- package/dist/react/line.js +4 -1
- package/dist/react/mekko.js +5 -1
- package/dist/react/pareto.js +3 -1
- package/dist/react/pie.js +5 -1
- package/dist/react/prepare.js +33 -27
- package/dist/react/pvm.js +4 -1
- package/dist/react/pyramid.js +5 -1
- package/dist/react/sankey.js +4 -1
- package/dist/react/scatter.js +4 -1
- package/dist/react/slope.js +6 -1
- package/dist/react/sparkline.js +4 -1
- package/dist/react/spec.js +25 -32
- package/dist/react/status.js +8 -1
- package/dist/react/story.js +6 -4
- package/dist/react/table.js +4 -1
- package/dist/react/theme.js +6 -3
- package/dist/react/tilemap.js +4 -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 +4 -1
- package/dist/{resvg-ZOVDIZTV.js → resvg-VB7S5HRF.js} +1 -1
- package/dist/rows.js +2 -3
- package/dist/{rowsModule-L3MBGPBH.js → rowsModule-LI6KOS46.js} +2 -1
- package/dist/{schema-GVHM2HEF.js → schema-25INXAMY.js} +1 -1
- package/dist/{schema-ZCZCY34J.js → schema-5DUTAVO7.js} +1 -1
- package/dist/{schema-26YUL3MG.js → schema-5KDEQBBT.js} +1 -1
- package/dist/{schema-FT37ZEYY.js → schema-5ZTGVQAJ.js} +1 -3
- package/dist/{schema-CMXL5F5L.js → schema-72EEMYS3.js} +1 -1
- package/dist/{schema-6ZV532RM.js → schema-7NSV542V.js} +1 -1
- package/dist/{schema-HWU55RJL.js → schema-AMT7P7KB.js} +1 -1
- package/dist/{schema-AQD3H5VV.js → schema-AXRDF6ND.js} +1 -1
- package/dist/{schema-SY3MKF5S.js → schema-B2GCEYXD.js} +1 -1
- package/dist/{schema-QLH2DZFI.js → schema-BBTXTWYI.js} +1 -1
- package/dist/{schema-SLQPM32G.js → schema-BKUFZLLI.js} +1 -1
- package/dist/{schema-LYBOPAGQ.js → schema-CGQID64D.js} +1 -1
- package/dist/{schema-QNI6MNQ2.js → schema-FDFQKIO5.js} +1 -1
- package/dist/{schema-KH62LDYK.js → schema-GN6GAIU5.js} +1 -1
- package/dist/{schema-733PO52K.js → schema-GNTKL5DN.js} +1 -1
- package/dist/{schema-ZSYX76MO.js → schema-H2EC4GAQ.js} +1 -1
- package/dist/{schema-H7RKVTVO.js → schema-HH5HOORE.js} +1 -1
- package/dist/{schema-NOPOI5G2.js → schema-J7TNCZIP.js} +1 -1
- package/dist/{schema-WAKLKLBB.js → schema-JH57NFXJ.js} +1 -1
- package/dist/{schema-KFXLS67Q.js → schema-KPEPBGAX.js} +1 -1
- package/dist/{schema-GK6MD4EG.js → schema-L5U4OROI.js} +1 -1
- package/dist/{schema-IOWE3RQO.js → schema-LOQ3AFC7.js} +1 -1
- package/dist/{schema-GSE3QXUK.js → schema-M5JBHQIV.js} +5 -3
- package/dist/{schema-IOKAZVL7.js → schema-MMVPMJEF.js} +1 -1
- package/dist/{schema-B4GFRYIP.js → schema-OU35XA3Z.js} +1 -1
- package/dist/{schema-HRHNGOFC.js → schema-PL3EU6EQ.js} +2 -2
- package/dist/{schema-MNG24WU2.js → schema-PQZWO3BP.js} +1 -1
- package/dist/{schema-5E5J43CF.js → schema-QCIE6M2P.js} +2 -1
- package/dist/{schema-Q4IPIR6W.js → schema-QORUB6EK.js} +1 -1
- package/dist/{schema-33ZF6WKL.js → schema-QPOBZUAR.js} +1 -1
- package/dist/{schema-3W7IFXVN.js → schema-R5Y6NVBH.js} +1 -1
- package/dist/{schema-KHCLVE2V.js → schema-THXXFY6I.js} +1 -1
- package/dist/{schema-HGUBNXUY.js → schema-VYECMPON.js} +1 -1
- package/dist/{schema-PNUC54GC.js → schema-YLE4XXQQ.js} +1 -1
- package/dist/{schema-KORNUIC6.js → schema-ZEVJMFLV.js} +1 -1
- package/dist/{schema-4ZXJCRZR.js → schema-ZG6ZKFRZ.js} +1 -1
- package/dist/{schema-WCDYWS4K.js → schema-ZQSIR5UC.js} +1 -1
- package/dist/{specValidation-H5B4MQST.js → specValidation-VHLGDEME.js} +3 -1
- package/dist/theme.js +4 -2
- package/dist/{themeShapeRules-54U5EIZR.js → themeShapeRules-PW4BQHKL.js} +1 -1
- package/dist/types/core/a11y/recordsShared.d.ts +4 -0
- package/dist/types/core/annotate.d.ts +39 -0
- package/dist/types/core/annotateArms.d.ts +1 -1
- package/dist/types/core/axis.d.ts +2 -0
- package/dist/types/core/calendarLabels.d.ts +15 -0
- package/dist/types/core/charts/band/stacks.d.ts +71 -2
- package/dist/types/core/charts/bartable/types.d.ts +10 -0
- package/dist/types/core/charts/box/types.d.ts +2 -0
- package/dist/types/core/charts/choropleth/index.d.ts +7 -0
- package/dist/types/core/charts/choropleth/layout.d.ts +7 -0
- package/dist/types/core/charts/choropleth/schema.d.ts +36 -0
- package/dist/types/core/charts/cohort/types.d.ts +8 -1
- package/dist/types/core/charts/column/layout.d.ts +1 -1
- package/dist/types/core/charts/column/model.d.ts +4 -0
- package/dist/types/core/charts/combo/endpoints.d.ts +1 -1
- package/dist/types/core/charts/creative/types.d.ts +1 -1
- package/dist/types/core/charts/dimswitch/compile.d.ts +2 -0
- package/dist/types/core/charts/dimswitch/types.d.ts +8 -0
- package/dist/types/core/charts/grid/normalize.d.ts +18 -1
- package/dist/types/core/charts/heatmap/fixtures.d.ts +2 -2
- package/dist/types/core/charts/histogram/types.d.ts +14 -2
- package/dist/types/core/charts/likert/layout.d.ts +14 -9
- package/dist/types/core/charts/logAxis.d.ts +55 -0
- package/dist/types/core/charts/pvm/types.d.ts +6 -0
- package/dist/types/core/charts/pyramid/types.d.ts +7 -4
- package/dist/types/core/charts/sankey/types.d.ts +3 -1
- package/dist/types/core/charts/scatter/clamp.d.ts +155 -0
- package/dist/types/core/charts/scatter/frontier.d.ts +21 -0
- package/dist/types/core/charts/scatter/index.d.ts +9 -0
- package/dist/types/core/charts/scatter/layout.d.ts +26 -0
- package/dist/types/core/charts/scatter/logAxis.d.ts +14 -0
- package/dist/types/core/charts/scatter/model.d.ts +258 -0
- package/dist/types/core/charts/scatter/schema.d.ts +57 -0
- package/dist/types/core/charts/scatter/trend.d.ts +54 -0
- package/dist/types/core/charts/scatter/valueLines.d.ts +47 -0
- package/dist/types/core/charts/sparkline/fixtures.d.ts +1 -1
- package/dist/types/core/charts/status/layout.d.ts +5 -3
- package/dist/types/core/charts/table/resolve.d.ts +0 -7
- package/dist/types/core/charts/tilemap/index.d.ts +6 -0
- package/dist/types/core/charts/tilemap/layout.d.ts +5 -0
- package/dist/types/core/charts/tilemap/schema.d.ts +4 -0
- package/dist/types/core/charts/treemap/types.d.ts +2 -2
- package/dist/types/core/charts/variance/fixtures.d.ts +2 -1
- package/dist/types/core/charts/waffle/types.d.ts +2 -0
- package/dist/types/core/dateFormat.d.ts +1 -1
- package/dist/types/core/doc/diagnostics.d.ts +8 -0
- package/dist/types/core/doc/document.d.ts +9 -1
- package/dist/types/core/doc/ownedDocumentCopy.d.ts +2 -1
- package/dist/types/core/fontMetrics/index.d.ts +1 -1
- package/dist/types/core/footer.d.ts +9 -1
- package/dist/types/core/format.d.ts +8 -1
- package/dist/types/core/formatSpec.d.ts +84 -6
- package/dist/types/core/frame.d.ts +41 -8
- package/dist/types/core/geo/packs/registry.d.ts +3 -2
- package/dist/types/core/geometry.d.ts +19 -0
- package/dist/types/core/icons.d.ts +11 -0
- package/dist/types/core/inputError.d.ts +3 -0
- package/dist/types/core/isoDate.d.ts +2 -0
- package/dist/types/core/label/categoryRow.d.ts +9 -1
- package/dist/types/core/label/occupied.d.ts +5 -0
- package/dist/types/core/label/solver.d.ts +31 -2
- package/dist/types/core/notes.d.ts +13 -1
- package/dist/types/core/ols.d.ts +38 -0
- package/dist/types/core/periodYears.d.ts +5 -1
- package/dist/types/core/registry.d.ts +12 -0
- package/dist/types/core/request.d.ts +3 -2
- package/dist/types/core/scale.d.ts +7 -0
- package/dist/types/core/schema/capability.d.ts +17 -20
- package/dist/types/core/schema/namedColumns.d.ts +6 -0
- package/dist/types/core/schema/refusals.d.ts +1 -4
- package/dist/types/core/shareRounding.d.ts +8 -0
- package/dist/types/core/sizing.d.ts +17 -12
- package/dist/types/core/story.d.ts +3 -0
- package/dist/types/core/target.d.ts +6 -0
- package/dist/types/core/text.d.ts +8 -0
- package/dist/types/core/theme.d.ts +52 -1
- package/dist/types/core/types/annotations.d.ts +15 -3
- package/dist/types/core/types/data.d.ts +4 -1
- package/dist/types/core/types/diagram.d.ts +81 -2
- package/dist/types/core/types/optionInput.d.ts +13 -0
- package/dist/types/core/types/options.d.ts +65 -24
- package/dist/types/core/types/scene.d.ts +79 -2
- package/dist/types/core/types/table.d.ts +11 -0
- package/dist/types/core/types/theme.d.ts +48 -3
- package/dist/types/index.d.ts +28 -27
- package/dist/types/optionTypes.d.ts +44 -0
- package/dist/types/react/DimSwitchChart.d.ts +2 -1
- package/dist/types/react/RefusalBoundary.d.ts +25 -0
- package/dist/types/react/SceneRenderer.d.ts +3 -1
- package/dist/types/react/SizePlaceholder.d.ts +2 -1
- package/dist/types/react/TableChart.d.ts +8 -4
- package/dist/types/react/barrelCharts.d.ts +1521 -1012
- package/dist/types/react/charts/bar.d.ts +36 -25
- package/dist/types/react/charts/bartable.d.ts +36 -25
- package/dist/types/react/charts/box.d.ts +36 -25
- package/dist/types/react/charts/bullet.d.ts +36 -25
- package/dist/types/react/charts/butterfly.d.ts +36 -25
- package/dist/types/react/charts/choropleth.d.ts +36 -25
- package/dist/types/react/charts/cohort.d.ts +76 -50
- package/dist/types/react/charts/column.d.ts +36 -25
- package/dist/types/react/charts/combo.d.ts +2 -1
- package/dist/types/react/charts/creative.d.ts +31 -25
- package/dist/types/react/charts/diagram.d.ts +302 -160
- package/dist/types/react/charts/dot.d.ts +36 -25
- package/dist/types/react/charts/funnel.d.ts +36 -25
- package/dist/types/react/charts/gantt.d.ts +36 -25
- package/dist/types/react/charts/grid.d.ts +38 -27
- package/dist/types/react/charts/heatmap.d.ts +36 -25
- package/dist/types/react/charts/histogram.d.ts +36 -25
- package/dist/types/react/charts/kpi.d.ts +36 -25
- package/dist/types/react/charts/likert.d.ts +36 -25
- package/dist/types/react/charts/line.d.ts +36 -25
- package/dist/types/react/charts/mekko.d.ts +36 -25
- package/dist/types/react/charts/pareto.d.ts +33 -25
- package/dist/types/react/charts/pie.d.ts +36 -25
- package/dist/types/react/charts/pvm.d.ts +36 -25
- package/dist/types/react/charts/pyramid.d.ts +33 -25
- package/dist/types/react/charts/sankey.d.ts +36 -25
- package/dist/types/react/charts/scatter.d.ts +36 -25
- package/dist/types/react/charts/slope.d.ts +36 -25
- package/dist/types/react/charts/sparkline.d.ts +36 -25
- package/dist/types/react/charts/status.d.ts +36 -25
- package/dist/types/react/charts/tilemap.d.ts +36 -25
- package/dist/types/react/charts/treemap.d.ts +36 -25
- package/dist/types/react/charts/variance.d.ts +36 -25
- package/dist/types/react/charts/waffle.d.ts +36 -25
- package/dist/types/react/charts/waterfall.d.ts +36 -25
- package/dist/types/react/createChartComponent.d.ts +11 -9
- package/dist/types/react/footerFrame.d.ts +1 -1
- package/dist/types/react/hover/engine.d.ts +2 -1
- package/dist/types/react/hover/labelCard.d.ts +20 -2
- package/dist/types/react/prepare.d.ts +2 -2
- package/dist/types/react/prepared.d.ts +5 -1
- package/dist/types/react/useContainerSize.d.ts +2 -0
- package/dist/types/rows.d.ts +1 -1
- package/dist/validate.js +13 -8
- package/docs/manual.md +139 -35
- package/docs/reference/bar.md +10 -7
- package/docs/reference/bartable.md +7 -3
- package/docs/reference/box.md +5 -2
- package/docs/reference/bullet.md +7 -5
- package/docs/reference/butterfly.md +12 -5
- package/docs/reference/choropleth.md +10 -8
- package/docs/reference/cohort.md +3 -2
- package/docs/reference/column.md +14 -7
- package/docs/reference/combo.md +8 -6
- package/docs/reference/creative.md +1 -1
- package/docs/reference/diagram.md +94 -18
- package/docs/reference/dimswitch.md +16 -13
- package/docs/reference/dot.md +7 -4
- package/docs/reference/fixtures.md +49 -5
- package/docs/reference/funnel.md +4 -3
- package/docs/reference/gantt.md +1 -1
- package/docs/reference/grid.md +1 -1
- package/docs/reference/heatmap.md +6 -4
- package/docs/reference/histogram.md +7 -4
- package/docs/reference/kpi.md +11 -8
- package/docs/reference/likert.md +7 -3
- package/docs/reference/line.md +9 -8
- package/docs/reference/mekko.md +4 -4
- package/docs/reference/options.md +34 -32
- package/docs/reference/pareto.md +4 -4
- package/docs/reference/pie.md +8 -7
- package/docs/reference/pvm.md +4 -2
- package/docs/reference/pyramid.md +4 -4
- package/docs/reference/react.md +20 -11
- package/docs/reference/sankey.md +5 -3
- package/docs/reference/scatter.md +3 -3
- package/docs/reference/slope.md +7 -6
- package/docs/reference/sparkline.md +6 -5
- package/docs/reference/status.md +6 -4
- package/docs/reference/table.md +28 -26
- package/docs/reference/theme.md +93 -85
- package/docs/reference/tilemap.md +8 -7
- package/docs/reference/treemap.md +6 -5
- package/docs/reference/variance.md +8 -5
- package/docs/reference/waffle.md +2 -1
- package/docs/reference/waterfall.md +12 -9
- package/docs/use-cases.md +25 -2
- package/llms.txt +1 -1
- package/package.json +1 -1
- package/dist/chunk-2HXKW6U6.js +0 -24
- package/dist/chunk-35ZTANEK.js +0 -24
- package/dist/chunk-3CLLHMFF.js +0 -24
- package/dist/chunk-46ZPFJAM.js +0 -24
- package/dist/chunk-6BWSF5PS.js +0 -24
- package/dist/chunk-6K2TMVPF.js +0 -42
- package/dist/chunk-6KWIQ5KF.js +0 -18
- package/dist/chunk-6ZXMA4TY.js +0 -24
- package/dist/chunk-7HFUG25L.js +0 -24
- package/dist/chunk-7R5EV5MS.js +0 -24
- package/dist/chunk-7X65ZQN4.js +0 -38
- package/dist/chunk-ATUZTGZI.js +0 -25
- package/dist/chunk-BW5VLBSZ.js +0 -15
- package/dist/chunk-BYD7VLAI.js +0 -24
- package/dist/chunk-CEY646NZ.js +0 -28
- package/dist/chunk-D7GZPMHW.js +0 -24
- package/dist/chunk-FIANWJXX.js +0 -19
- package/dist/chunk-H4SYN3QA.js +0 -24
- package/dist/chunk-HC4NDND6.js +0 -24
- package/dist/chunk-HNVW3YDS.js +0 -25
- package/dist/chunk-HW7BPJNQ.js +0 -24
- package/dist/chunk-I5L3QTKQ.js +0 -24
- package/dist/chunk-IK4BHOPZ.js +0 -33
- package/dist/chunk-IMJXJHFW.js +0 -88
- package/dist/chunk-JDEVGTSX.js +0 -24
- package/dist/chunk-K2KU4HHT.js +0 -25
- package/dist/chunk-KDMKHR5A.js +0 -32
- package/dist/chunk-KNZD53L4.js +0 -24
- package/dist/chunk-KOJ5QETJ.js +0 -8
- package/dist/chunk-KSQEG6DX.js +0 -24
- package/dist/chunk-KVSJ2O4Q.js +0 -24
- package/dist/chunk-L3JWM7FR.js +0 -50
- package/dist/chunk-L7FSCT4M.js +0 -28
- package/dist/chunk-LMPZKCDM.js +0 -24
- package/dist/chunk-MONVTUHR.js +0 -24
- package/dist/chunk-NWQTSZYC.js +0 -24
- package/dist/chunk-OM67S6S4.js +0 -19
- package/dist/chunk-OTW5SEFS.js +0 -21
- package/dist/chunk-PGV25HTX.js +0 -25
- package/dist/chunk-QGCEHR6S.js +0 -13
- package/dist/chunk-T3IGJARD.js +0 -22
- package/dist/chunk-U2ES66IN.js +0 -26
- package/dist/chunk-U6CJPTOB.js +0 -19
- package/dist/chunk-VDVXGAIP.js +0 -24
- package/dist/chunk-VGWWUCAB.js +0 -24
- package/dist/chunk-X4U6PT3Z.js +0 -33
- package/dist/chunk-XXNLNZ7E.js +0 -24
- package/dist/chunk-ZBJNEJSL.js +0 -24
- package/dist/chunk-ZWJTHFWB.js +0 -27
- /package/dist/{DiagnosticDetails-UNYNYCAH.js → DiagnosticDetails-JFBBXOT2.js} +0 -0
|
@@ -1,37 +1,40 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ownedDocumentCopy
|
|
3
|
+
} from "./chunk-V634AXDM.js";
|
|
1
4
|
import {
|
|
2
5
|
isIconName,
|
|
3
6
|
listIcons
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
ownedDocumentCopy
|
|
7
|
-
} from "./chunk-BW5VLBSZ.js";
|
|
7
|
+
} from "./chunk-H3IBJQ5A.js";
|
|
8
8
|
import {
|
|
9
9
|
parseTimeText
|
|
10
10
|
} from "./chunk-GDOW2KNP.js";
|
|
11
11
|
import {
|
|
12
12
|
isRecord
|
|
13
13
|
} from "./chunk-MCYM3RNF.js";
|
|
14
|
-
import {
|
|
15
|
-
levenshtein
|
|
16
|
-
} from "./chunk-FIANWJXX.js";
|
|
17
14
|
import {
|
|
18
15
|
emptyIdRecord
|
|
19
16
|
} from "./chunk-LINZPU5D.js";
|
|
20
17
|
import {
|
|
18
|
+
levenshtein
|
|
19
|
+
} from "./chunk-NMTWUYUF.js";
|
|
20
|
+
import {
|
|
21
|
+
formatExampleProblem,
|
|
22
|
+
parseFormatExample,
|
|
23
|
+
parseISODate,
|
|
24
|
+
specUnitKind
|
|
25
|
+
} from "./chunk-FFJGC2DX.js";
|
|
26
|
+
import {
|
|
27
|
+
optionShape
|
|
28
|
+
} from "./chunk-JYAZPMSA.js";
|
|
29
|
+
import {
|
|
30
|
+
IGNORED_OPTION_KEYS,
|
|
21
31
|
LEGEND_DRAWS,
|
|
22
32
|
LEGEND_REFUSED,
|
|
23
33
|
OPTION_CAPABILITY,
|
|
24
|
-
SIDE_KEY_REFUSED,
|
|
25
34
|
legendDrawsNothing,
|
|
26
35
|
valueAxisOnly,
|
|
27
36
|
valueAxisRefusal
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
formatExampleProblem,
|
|
31
|
-
parseFormatExample,
|
|
32
|
-
parseISODate,
|
|
33
|
-
specUnitKind
|
|
34
|
-
} from "./chunk-RGZGLKFB.js";
|
|
37
|
+
} from "./chunk-IGVAWAOK.js";
|
|
35
38
|
import {
|
|
36
39
|
MAGNITUDE_CEILING,
|
|
37
40
|
NormalizeError,
|
|
@@ -43,7 +46,7 @@ import {
|
|
|
43
46
|
resolveCanvasOptions,
|
|
44
47
|
resolveSize,
|
|
45
48
|
toLayoutPx
|
|
46
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-YOOHNQ3L.js";
|
|
47
50
|
import {
|
|
48
51
|
maxOf,
|
|
49
52
|
pushAll
|
|
@@ -307,24 +310,23 @@ var OPTION_REASONS = {
|
|
|
307
310
|
animate: "no chart type implements 'animate' \u2014 this library emits static, deterministic SVG; use 'interactive: true' for data-bp-* hover/focus semantics, or animate the emitted SVG downstream",
|
|
308
311
|
debug: "no chart type implements 'debug'; drop the key. The CLI refuses '--debug' as not supported in v1",
|
|
309
312
|
rowLabels: "only the horizontal row-label families read rowLabels (bar, bullet, box, dot, likert). A vertical category axis prints its labels under the bands, where they already share one baseline and there is nothing to align",
|
|
310
|
-
categoryAxis: "only 'line'
|
|
313
|
+
categoryAxis: "only 'line', 'column' and 'combo' accept categoryAxis; dateTicks picks a calendar interval for the tick labels of a dated row, and crossesBetween selects bands or points on a line. Other banded category types print their own category rows",
|
|
311
314
|
categoryLabels: "staircase category names sit in the free space over columns sorted by height, and only the vertical column family reads categoryLabels (column, combo, pareto). A horizontal bar prints each name beside its row already; a waterfall or variance keeps its bridge order and its delta labels in that space; histogram bins and mekko widths have no free triangle over sorted columns",
|
|
312
315
|
secondaryAxis: "only 'combo' and 'box' have a second value scale to acknowledge; a single-scale chart has no second axis, so declaring one acknowledges nothing",
|
|
313
316
|
labels: "this type never consults the per-kind label toggle map. On waterfall/pvm use labelDensity ('minimal' keeps totals and endpoints, dropping delta and segment values); on grid author labels on each panel's own options; table and diagram have their own display models",
|
|
314
|
-
colorblindSafe: "colorblindSafe swaps a SEMANTIC good/bad pair for the colour-vision-safe one; bar, column, variance and status swap their signed marks, heatmap its valence cells, table its tones, grounds, bars and badges, and choropleth and tilemap the poles of a diverging scale. This type paints no good/bad pair; on a categorical ramp the equivalent control is a colorblind-safe 'palette'",
|
|
315
317
|
hatchStrength: "this type draws no forecast, partial-period or no-data hatch, so there is nothing to strengthen or soften. Drop hatchStrength",
|
|
316
|
-
sort: "sort reorders categories on bar, box, column, dot, heatmap, mekko, pie and
|
|
317
|
-
topN: "topN keeps the n largest categories and folds the rest on bar, butterfly, column, mekko, pareto, pie and table
|
|
318
|
+
sort: "sort reorders categories on bar, box, bullet, butterfly, column, dimswitch, dot, heatmap, likert, mekko, pie, table and variance, and cohort takes sort.segments. A time sequence, funnel stages, bridge steps and histogram bins keep their meaningful order. Maps keep geographic positions, and a Pareto ranks contributions itself. Send the data in the order to draw",
|
|
319
|
+
topN: "topN keeps the n largest categories and folds the rest on bar, butterfly, column, mekko, pareto, pie and table. Dot and variance keep the n largest by size without a rest bucket, and a choropleth world map picks labelled regions. Time sequences, stages, bridge steps, matrix axes/cells, histogram bins and box groups keep their full structure because dropping entries would change its meaning. Filter the data before sending it",
|
|
318
320
|
rounding: "rounding changes how computed shares of one whole print, on a bar, column or combo stack, a bartable cascade, a stacked100 area, a mekko and a pie. This type prints no share of a whole, or prints them through its own rules. Drop rounding",
|
|
319
321
|
bandFraction: "bandFraction sets how much of a category band a bar, column, bridge step or dot row fills. This type sets its own: a line or slope runs through points, mekko column widths come from the data, a box row takes the height its labels need, and a pie, map, matrix or table has no band. Drop the key",
|
|
320
322
|
highlight: "no mark here takes emphasis; a map colours every region by its value. Name the region in the title or an annotation, or rank the regions in a bar chart with highlight",
|
|
321
323
|
detailFields: "cell details and their detailFields reach the hover card on bar, butterfly, column, combo, dot, funnel, heatmap, line, mekko, pie and slope. This type's cells carry no details. Drop detailFields, or name the extra facts in a category label or an annotation",
|
|
322
324
|
story: "this type has no story layer. Drop story, or tell the story over a type that takes it, such as scatter, column or line"
|
|
323
325
|
}, VALUE_AXIS_REASONS = {
|
|
324
|
-
tickStep: "
|
|
326
|
+
tickStep: "this type has no independent linear value-axis ticks; pareto keeps its count and cumulative-percent scales tied to the total. Drop tickStep",
|
|
325
327
|
reverse: "only line and scatter reverse the value axis; bars, columns and bridge steps grow from their baseline, and a reversed axis would read gains as losses. Drop reverse",
|
|
326
|
-
break: "only bar, column, histogram and waterfall draw a value-axis break; this type would accept it and draw an unbroken axis. Drop break, or draw the data as a column or bar chart",
|
|
327
|
-
log: "only scatter
|
|
328
|
+
break: "only bar, box, column, histogram and waterfall draw a value-axis break; this type would accept it and draw an unbroken axis. Drop break, or draw the data as a column or bar chart",
|
|
329
|
+
log: "only line and scatter draw a log scale; bars and columns would distort mark lengths. Drop log, or plot the data as a line or scatter"
|
|
328
330
|
}, VALUE_AXIS_ONLY_REASONS = {
|
|
329
331
|
sankey: "a sankey has no value axis; node heights and ribbon widths share one scale, and the node labels carry the numbers",
|
|
330
332
|
waterfall: "a waterfall scales to its running levels and draws no value axis; only valueAxis.break applies",
|
|
@@ -351,7 +353,7 @@ var OPTION_REASONS = {
|
|
|
351
353
|
}, LEGEND_REFUSED_REASONS = {
|
|
352
354
|
box: "a box plot names every row beside its box and its method note explains the box, whiskers and dots; drop legend"
|
|
353
355
|
}, LEGEND_DRAWS_REASONS = {
|
|
354
|
-
slope: "a slope chart names every line at both ends, so 'none' and 'auto' draw what the chart draws without them; drop legend, or name 'top' or '
|
|
356
|
+
slope: "a slope chart names every line at both ends, so 'none' and 'auto' draw what the chart draws without them; drop legend, or name 'top', 'bottom', 'right' or 'left' for a key"
|
|
355
357
|
}, TRANSPOSE_REFUSED = "no chart type implements 'transpose' \u2014 orientation is a type, not a flag: use 'bar' for horizontal categories, 'column' for vertical, 'butterfly' for mirrored panes (waterfall has its own 'variant')", TYPE_REFUSED_REASONS = {
|
|
356
358
|
slope: {
|
|
357
359
|
seriesLabels: "'seriesLabels' is not accepted on a slope: it labels both ends of every line itself, name and value together; labels.series sets what the end labels show",
|
|
@@ -359,6 +361,20 @@ var OPTION_REASONS = {
|
|
|
359
361
|
}
|
|
360
362
|
};
|
|
361
363
|
function notImplemented(key, type, suggest) {
|
|
364
|
+
if (key === "sort" || key === "topN") {
|
|
365
|
+
let structure = {
|
|
366
|
+
line: "a time sequence",
|
|
367
|
+
sparkline: "a time sequence",
|
|
368
|
+
waterfall: "bridge steps",
|
|
369
|
+
pvm: "bridge steps",
|
|
370
|
+
funnel: "stages",
|
|
371
|
+
heatmap: "matrix axes/cells",
|
|
372
|
+
status: "matrix axes/cells",
|
|
373
|
+
histogram: "histogram bins",
|
|
374
|
+
box: "box groups"
|
|
375
|
+
};
|
|
376
|
+
structure[type] && (suggest = `order carries meaning in ${structure[type]}. ${key === "sort" ? "Reordering" : "Dropping"} entries would change that meaning. ${key === "sort" ? "Send the data in the order to draw" : "Filter the data before sending it"}`);
|
|
377
|
+
}
|
|
362
378
|
return `'${key}' is not implemented by '${type}' \u2014 ${suggest}`;
|
|
363
379
|
}
|
|
364
380
|
var SLOPE_REVERSE_REASON = "a slope draws no value axis to reverse. Ranks with 1 on top are a bump chart: type 'line' with variant 'bump', and bump.direction 'lowerIsBetter' ranks the smallest value first. A numeric scale flips on type 'line' with valueAxis.reverse";
|
|
@@ -375,7 +391,7 @@ var ALTERNATIVES = {
|
|
|
375
391
|
ribbons: { bar: "bar rows are items, not a sequence, and ribbons draw a rank flow from period to period; type 'column' with variant 'stacked' draws them" },
|
|
376
392
|
rowLabels: { "*": "aligned row labels belong to horizontal rows such as type 'bar'; this type prints its category labels on one baseline already" },
|
|
377
393
|
categoryLabels: { "*": "type 'column', 'combo' or 'pareto' over columns sorted by height takes categoryLabels 'staircase'", bar: "a horizontal bar prints each name beside its row already" },
|
|
378
|
-
categoryAxis: { "*": "
|
|
394
|
+
categoryAxis: { "*": "dateTicks is a setting of types 'line', 'column' and 'combo', and crossesBetween one of type 'line'; a banded type crosses between its bands already" },
|
|
379
395
|
secondaryAxis: { "*": "a second value scale needs type 'combo'" },
|
|
380
396
|
labels: {
|
|
381
397
|
"*": "options.labelDensity 'minimal' keeps the totals and endpoints",
|
|
@@ -386,23 +402,17 @@ var ALTERNATIVES = {
|
|
|
386
402
|
creative: "the card prints the figures it is given",
|
|
387
403
|
diagram: "a diagram prints its own node and edge text"
|
|
388
404
|
},
|
|
389
|
-
colorblindSafe: {
|
|
390
|
-
"*": "this type paints no good/bad pair; options.palette names a colorblind-safe categorical ramp",
|
|
391
|
-
likert: "a likert always paints its agree side in color.colorblind.goodFill, so its sides stay apart without the option",
|
|
392
|
-
slope: "variant 'diverging' always paints its better side in color.colorblind.good and goodFill, so its sides stay apart without the option; the other variants paint no good/bad pair"
|
|
393
|
-
},
|
|
394
405
|
hatchStrength: {
|
|
395
406
|
"*": "this type draws no forecast, partial-period or no-data hatch"
|
|
396
407
|
},
|
|
397
408
|
sort: {
|
|
398
409
|
"*": "send the categories in the order to draw",
|
|
399
|
-
butterfly: "options.sortBy ranks the rows",
|
|
400
|
-
likert: "order the questions in the data",
|
|
401
410
|
pyramid: "send the bands in their age order",
|
|
402
411
|
pareto: "a Pareto sorts by contribution itself",
|
|
403
412
|
choropleth: "a map places its regions by geography",
|
|
404
413
|
tilemap: "a map places its regions by geography"
|
|
405
414
|
},
|
|
415
|
+
"sort.segments": { likert: "keep the response scale in its ordered axis; sort.categories orders statements" },
|
|
406
416
|
topN: {
|
|
407
417
|
"*": "filter the data before sending it",
|
|
408
418
|
likert: "options.neutral 'exclude' drops the midpoint; filter the questions in the data",
|
|
@@ -429,13 +439,16 @@ var ALTERNATIVES = {
|
|
|
429
439
|
pvm: "options.valueAxis.break is the one value-axis setting a pvm bridge reads",
|
|
430
440
|
slope: "options.valueAxis.min and options.valueAxis.max widen the domain"
|
|
431
441
|
},
|
|
432
|
-
"valueAxis.tickStep": {
|
|
442
|
+
"valueAxis.tickStep": {
|
|
443
|
+
"*": "this type has no independent linear value-axis ticks",
|
|
444
|
+
pareto: "the count and cumulative-percent scales stay tied to the total; options.valueAxis.min and options.valueAxis.max widen the count domain"
|
|
445
|
+
},
|
|
433
446
|
"valueAxis.reverse": {
|
|
434
447
|
"*": "this type grows its marks from a baseline, where a reversed axis reads gains as losses; type 'line' and type 'scatter' reverse",
|
|
435
448
|
slope: "for ranks with 1 on top, draw type 'line' with options.variant 'bump' and options.bump.direction 'lowerIsBetter'; to flip a numeric scale, draw type 'line' with options.valueAxis.reverse"
|
|
436
449
|
},
|
|
437
|
-
"valueAxis.break": { "*": "type 'column', 'bar', 'histogram' and 'waterfall' draw a break; draw the data as type 'column' or 'bar' to cut a tall value" },
|
|
438
|
-
"valueAxis.log": { "*": "type '
|
|
450
|
+
"valueAxis.break": { "*": "type 'column', 'bar', 'box', 'histogram' and 'waterfall' draw a break; draw the data as type 'column' or 'bar' to cut a tall value" },
|
|
451
|
+
"valueAxis.log": { "*": "type 'line' and type 'scatter' draw log scales" },
|
|
439
452
|
"scaleGroup.x": { "*": "options.scaleGroup.y shares the value scale; no chart type shares an x scale" },
|
|
440
453
|
"window.decimate": { "*": "keep options.window.last, or narrow the periods with options.viewDomain" },
|
|
441
454
|
"window.maxPoints": { "*": "keep options.window.last, or narrow the periods with options.viewDomain" }
|
|
@@ -447,7 +460,10 @@ function refusalSuggest(type, path) {
|
|
|
447
460
|
|
|
448
461
|
// src/core/schema/shared.ts
|
|
449
462
|
import * as z3 from "zod";
|
|
450
|
-
|
|
463
|
+
function optionShapeSchema(key, canonical, short) {
|
|
464
|
+
return z3.union([canonical, short]).transform((value) => optionShape(key, value));
|
|
465
|
+
}
|
|
466
|
+
var languageSchema = z3.string().min(2).max(35).refine((tag) => canonicalLanguage(tag) !== null, { message: 'not a BCP 47 language tag; use a tag such as "de" or "de-DE"' }), annotationIconNames = listIcons(), annotationIconSchema = z3.string().superRefine((name, ctx) => {
|
|
451
467
|
isIconName(name) || ctx.addIssue({
|
|
452
468
|
code: "custom",
|
|
453
469
|
message: `unknown annotation icon '${name}' \u2014 valid icons: ${annotationIconNames.join(", ")}`
|
|
@@ -586,7 +602,9 @@ function parseData(schema, raw) {
|
|
|
586
602
|
var formatField = (withFix) => z3.string().superRefine((value, ctx) => {
|
|
587
603
|
let problem = formatExampleProblem(value);
|
|
588
604
|
problem && ctx.addIssue({ code: "custom", message: problem.message, params: { code: "invalid-format", ...withFix ? { replaceWith: problem.replacement } : {} } });
|
|
589
|
-
}), formatExample = formatField(!0), contextFormatExample = formatField(!1), valueKindSchema = z3.literal("fraction").optional().describe("Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units."), dataValueKindSchema = valueKindSchema.describe("Default valueKind for all series."), PERCENT_FORMAT_UNITS = "A % example expects values in percent units: 3.53 prints 3.53%, a fraction 0.0353 prints 0.04%.", MAGNITUDE_WORDS_DOC = "A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10\xB3); m, M, mn, mm, million(s), Mio., Million(en) (10\u2076); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10\u2079);
|
|
605
|
+
}), formatExample = formatField(!0), contextFormatExample = formatField(!1), valueKindSchema = z3.literal("fraction").optional().describe("Multiply numbers by 100 into pct cells; explicit pct cells stay in percent units."), dataValueKindSchema = valueKindSchema.describe("Default valueKind for all series."), PERCENT_FORMAT_UNITS = "A % example expects values in percent units: 3.53 prints 3.53%, a fraction 0.0353 prints 0.04%.", MAGNITUDE_WORDS_DOC = "A magnitude after the number divides the raw value: k, thousand, Tsd., Tausend (10\xB3); m, M, mn, mm, million(s), Mio., Million(en) (10\u2076); b, B, bn, billion(s), Mrd., Milliarde(n), milliard(s) (10\u2079); tn, trillion(s), Bio., Billionen (10\xB9\xB2). The letters k, m, M, mm, b, B and T scale when glued to the number or spaced beside a currency ('$1.2 k'); '12 m/s' and '50 B' keep their unit. A scale inside a currency affix ('USDm 1.2', '1.2 \u20ACm') holds that divisor. A value of 1000 or more in a free scale rolls up and one that would print as 0 rolls down, in the example's spelling; a German or French chart prints its own words (Mrd., Bio.; Md, Bn). A unit alone ('$M', '\u20ACbn', '%', 'x') picks precision from the data. Spreadsheet number codes translate to examples with warning format-spreadsheet-code; percent values stay percent points. Direction glyphs (\u25B2/\u25BC, \u2191/\u2193) at the start or end of the example carry a sign. A glyph inside the prefix or unit stays literal text. \xB1 carries a sign. A trailing minus marks negatives, '1st' prints English ordinals, and '1.2E+06' prints scientific notation. With no digit, one run of 1\u201315 @ fixes significant figures: '$@@@M' prints 4,270,000 as $4.27M.", scenarioField = (meaning) => z3.string().superRefine((value, ctx) => {
|
|
606
|
+
/^ly$/i.test(value) && ctx.addIssue({ code: "custom", message: "LY is drawn as PY", params: { scenarioAlias: !0 } });
|
|
607
|
+
}).optional().describe(`AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case.${meaning ? ` ${meaning}` : ""}`), cellMetaSchema = {
|
|
590
608
|
fill: z3.string().optional().describe("Authored cell fill colour; overrides the inherited series fill where supported."),
|
|
591
609
|
format: formatExample.optional().describe("Format-by-example for this value, overriding the series or chart format."),
|
|
592
610
|
label: z3.union([
|
|
@@ -724,15 +742,16 @@ var eventOptionsSchema = z3.strictObject({
|
|
|
724
742
|
function addCalloutHeadIssues(annotation, ctx) {
|
|
725
743
|
for (let field of ["headline", "arrow"]) {
|
|
726
744
|
if (!Object.hasOwn(annotation, field)) continue;
|
|
727
|
-
let
|
|
728
|
-
annotation.kind !== "callout" ? ctx.addIssue({ code: "custom", path: [field], message: `${field} belongs to a callout; a ${String(annotation.kind)} draws none` }) : (field === "headline" ? typeof
|
|
745
|
+
let given = annotation[field];
|
|
746
|
+
annotation.kind !== "callout" ? ctx.addIssue({ code: "custom", path: [field], message: `${field} belongs to a callout; a ${String(annotation.kind)} draws none` }) : (field === "headline" ? typeof given != "string" || given.trim() === "" : typeof given != "boolean") && ctx.addIssue({ code: "custom", path: [field], message: field === "headline" ? "a callout headline is non-empty text, such as '${value}'" : "a callout arrow is true or false" });
|
|
729
747
|
}
|
|
730
748
|
annotation.kind === "callout" && annotation.arrow === !0 && (annotation.icon !== void 0 || annotation.status !== void 0) && ctx.addIssue({ code: "custom", path: ["arrow"], message: "a callout with an icon or status leads from its chip, so the arrow would draw nothing; drop arrow or the glyph" });
|
|
731
749
|
}
|
|
732
750
|
var ANNOTATION_FIELDS = {
|
|
733
751
|
diff: ["from", "to", "mode", "placement", "caption"],
|
|
734
|
-
cagr: ["from", "to", "suffix", "period"],
|
|
752
|
+
cagr: ["from", "to", "suffix", "period", "shape"],
|
|
735
753
|
delta: ["at", "vs", "placement", "caption"],
|
|
754
|
+
bracket: ["from", "to", "label"],
|
|
736
755
|
abs: ["at"],
|
|
737
756
|
note: ["at", "icon", "status"],
|
|
738
757
|
callout: ["at", "preferSide", "headline", "arrow", "icon", "status"],
|
|
@@ -740,7 +759,7 @@ var ANNOTATION_FIELDS = {
|
|
|
740
759
|
indicator100: ["side"],
|
|
741
760
|
event: ["at", "date", "to", "end", "label", "detail", "items", "group", "tone", "placement", "labelPlacement"],
|
|
742
761
|
band: ["from", "to", "label", "tone", "style", "divider", "low", "high", "value", "seriesId", "scenario", "direction"]
|
|
743
|
-
}, SHARED_ANNOTATION_FIELDS = ["kind", "id", "text", "format", "priority", "icon", "status", "headline", "arrow"], ANCHOR_FIELDS = { diff: ["from", "to"], cagr: ["from", "to"], delta: ["at", "vs"], abs: ["at"], note: ["at"], callout: ["at"], event: ["at"] }, ANCHOR_SHAPE = "a category id such as 'c1', { categoryId, seriesId? }, { pointId } on scatter, or { valueLineId }", ANCHOR_KEYS = ["categoryId", "seriesId", "segmentId", "edge", "pointId", "valueLineId"];
|
|
762
|
+
}, SHARED_ANNOTATION_FIELDS = ["kind", "id", "text", "format", "priority", "icon", "status", "headline", "arrow"], ANCHOR_FIELDS = { diff: ["from", "to"], bracket: ["from", "to"], cagr: ["from", "to"], delta: ["at", "vs"], abs: ["at"], note: ["at"], callout: ["at"], event: ["at"] }, ANCHOR_SHAPE = "a category id such as 'c1', { categoryId, seriesId? }, { pointId } on scatter, or { valueLineId }", ANCHOR_KEYS = ["categoryId", "seriesId", "segmentId", "edge", "pointId", "valueLineId"];
|
|
744
763
|
function isAnchorRef(value, timeX = !1) {
|
|
745
764
|
return typeof value == "string" ? value !== "" : timeX && typeof value == "number" ? Number.isFinite(value) : typeof value == "object" && value !== null && !Array.isArray(value) && ["categoryId", "pointId", "valueLineId"].some((key) => typeof value[key] == "string" || timeX && key === "categoryId" && typeof value[key] == "number" && Number.isFinite(value[key]));
|
|
746
765
|
}
|
|
@@ -782,13 +801,14 @@ function addAnnotationFieldIssues(annotation, ctx, timeX = !1) {
|
|
|
782
801
|
kind === "valueLine" && Object.hasOwn(annotation, "value") && annotation.value !== "mean" && !(typeof annotation.value == "number" && Number.isFinite(annotation.value)) && ctx.addIssue({ code: "custom", path: ["value"], message: "a valueLine value is a finite number or 'mean'" });
|
|
783
802
|
}
|
|
784
803
|
var existingAnnotationSchema = (timeX = !1) => z3.object({
|
|
785
|
-
kind: z3.enum(["diff", "cagr", "delta", "abs", "note", "callout", "valueLine", "indicator100", "event"]).describe("Annotation operation; its anchors and additional fields are checked by the chart annotation pass."),
|
|
804
|
+
kind: z3.enum(["diff", "cagr", "delta", "bracket", "abs", "note", "callout", "valueLine", "indicator100", "event"]).describe("Annotation operation; its anchors and additional fields are checked by the chart annotation pass."),
|
|
786
805
|
id: z3.string().optional().describe("Stable annotation identity; omission generates an id from kind and authored order."),
|
|
787
|
-
text: z3.string().optional().describe("Authored annotation text;
|
|
806
|
+
text: z3.string().optional().describe("Authored annotation text; on valueLine, text is read as label with an info warning when label is absent or equal. Refused on indicator100. ${value} prints the computed number in it: a cagr's rate with its suffix, a diff's change, a delta's difference, the anchored value of an abs, note or callout; a note or callout on a mark that prints the same number leaves it to the mark and reports annotation-value-on-mark. Without ${value}, text on a cagr, diff, delta or abs replaces the number, warns annotation-authored-override and the claim record marks the override."),
|
|
788
807
|
format: z3.string().optional().describe("Number format: annotation > anchored series > chart. Diff uses to, then from. CAGR and relative/reversed diff need a percent example; value differences use pp for percent levels. Refused on event and indicator100."),
|
|
789
808
|
priority: z3.number().optional().describe("Annotation label priority during collision resolution."),
|
|
790
809
|
icon: annotationIconSchema.optional().describe("Registered icon for note or callout annotations; cannot be combined with status."),
|
|
791
|
-
status: z3.enum(["good", "bad", "warn", "info"]).optional().describe("Semantic status glyph for a note or callout; cannot be combined with icon.")
|
|
810
|
+
status: z3.enum(["good", "bad", "warn", "info"]).optional().describe("Semantic status glyph for a note or callout; cannot be combined with icon."),
|
|
811
|
+
shape: z3.enum(["bracket", "arrow"]).optional().describe("A cagr's form: 'bracket', the default, runs over the marks, and 'arrow' is one straight arrow with the rate in an oval on it.")
|
|
792
812
|
}).catchall(z3.unknown().describe("Kind-specific annotation field, such as at, from or to; the annotation pass validates anchors and other requirements.")).superRefine((annotation, ctx) => {
|
|
793
813
|
if (addAnnotationFieldIssues(annotation, ctx, timeX), annotation.icon && annotation.status && ctx.addIssue({
|
|
794
814
|
code: "custom",
|
|
@@ -810,16 +830,12 @@ var existingAnnotationSchema = (timeX = !1) => z3.object({
|
|
|
810
830
|
let { placement, caption } = annotation;
|
|
811
831
|
Object.hasOwn(annotation, "placement") && placement !== "auto" && placement !== "label" && placement !== "bracket" && ctx.addIssue({ code: "custom", path: ["placement"], message: `${annotation.kind} placement is 'auto', 'label' or 'bracket'` }), Object.hasOwn(annotation, "caption") && (typeof caption != "string" || caption.trim() === "") && ctx.addIssue({ code: "custom", path: ["caption"], message: `${annotation.kind} caption is a non-empty string` });
|
|
812
832
|
}
|
|
813
|
-
if ((annotation.kind === "
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
params: rename ? { renameTo: "label" } : { refused: !0 }
|
|
820
|
-
});
|
|
821
|
-
}
|
|
822
|
-
if (addCalloutHeadIssues(annotation, ctx), annotation.format !== void 0 && addAnnotationFormatIssues(annotation, ctx), annotation.kind === "cagr" && Object.hasOwn(annotation, "period") && typeof annotation.period != "boolean" && ctx.addIssue({ code: "custom", path: ["period"], message: "cagr period is true or false" }), annotation.kind === "valueLine") {
|
|
833
|
+
if ((annotation.kind === "indicator100" || annotation.kind === "valueLine" && Object.hasOwn(annotation, "label") && annotation.label !== annotation.text) && Object.hasOwn(annotation, "text") && ctx.addIssue({
|
|
834
|
+
code: "custom",
|
|
835
|
+
path: ["text"],
|
|
836
|
+
message: annotation.kind === "valueLine" ? "a valueLine prints label, not text; drop 'text', label is set" : "an indicator100 prints a fixed '100%' and no authored text; drop 'text'",
|
|
837
|
+
params: { refused: !0 }
|
|
838
|
+
}), addCalloutHeadIssues(annotation, ctx), annotation.format !== void 0 && addAnnotationFormatIssues(annotation, ctx), annotation.kind === "cagr" && Object.hasOwn(annotation, "period") && typeof annotation.period != "boolean" && ctx.addIssue({ code: "custom", path: ["period"], message: "cagr period is true or false" }), annotation.kind === "valueLine") {
|
|
823
839
|
Object.hasOwn(annotation, "valueKind") && (annotation.valueKind !== "fraction" || typeof annotation.value != "number") && ctx.addIssue({ code: "custom", path: ["valueKind"], message: "valueLine valueKind 'fraction' needs a numeric value" });
|
|
824
840
|
let rec = annotation;
|
|
825
841
|
if (Object.hasOwn(annotation, "tolerance")) {
|
|
@@ -863,7 +879,7 @@ var existingAnnotationSchema = (timeX = !1) => z3.object({
|
|
|
863
879
|
high: z3.number().finite().optional().describe("Upper value-axis bound for corridor and tolerance bands."),
|
|
864
880
|
value: z3.number().finite().optional().describe("Plan value for attainment shading; actuals are resolved per category."),
|
|
865
881
|
seriesId: idSchema.optional().describe("Series whose actuals are shaded for attainment; omission uses the category total."),
|
|
866
|
-
scenario: z3.enum(["AC", "PY", "PL", "FC"]).optional().describe("Scenario notation for a plan corridor; default PL."),
|
|
882
|
+
scenario: z3.enum(["AC", "PY", "PL", "FC"]).optional().describe("Scenario notation for a plan corridor; default PL. LY means PY (last year); codes accept any case."),
|
|
867
883
|
direction: z3.enum(["higherIsBetter", "lowerIsBetter"]).optional().describe("Whether exceeding the plan is favorable for attainment shading; default higherIsBetter.")
|
|
868
884
|
}).catchall(z3.unknown()).superRefine((band, ctx) => {
|
|
869
885
|
addAnnotationFieldIssues(band, ctx, timeX);
|
|
@@ -983,10 +999,10 @@ var valueAxisSchema = z3.object({
|
|
|
983
999
|
show: z3.boolean().optional().describe("Draw the value axis with its ticks. Default: shown unless every value is labelled; true keeps it beside the labels, false hides it."),
|
|
984
1000
|
min: z3.number().optional().describe("Requested lower domain bound; chart data can widen it to avoid clipping values."),
|
|
985
1001
|
max: z3.number().optional().describe("Requested upper domain bound; chart data can widen it to avoid clipping values."),
|
|
986
|
-
tickStep: z3.number().positive().optional().describe("
|
|
1002
|
+
tickStep: z3.number().positive().optional().describe("Positive linear value-axis tick step. Ticks stand at multiples of the step and the domain extends to the next multiples without cutting data. Dot keeps its domain ends when at least two multiples fit inside. Steps giving fewer than 1 or more than 20 intervals use nice ticks and warn tick-step-ignored. Scatter applies it to Y only and warns on a log Y axis. Box ignores it with a warning; pareto and types without independent value-axis ticks refuse it."),
|
|
987
1003
|
includeZero: z3.boolean().optional().describe("Include zero in the value domain; zero-based marks can require it even when false."),
|
|
988
1004
|
percent: z3.boolean().optional().describe("Request the chart percent-axis or percentage presentation where supported; meanings and support follow the chart-specific schema."),
|
|
989
|
-
log: z3.union([z3.boolean(), z3.enum(["x", "y", "both"])]).optional().describe("
|
|
1005
|
+
log: z3.union([z3.boolean(), z3.enum(["x", "y", "both"])]).optional().describe("A log10 scale on scatter and line. Scatter takes 'x', 'y', 'both' or true; line takes 'y' or true on its vertical axis. Ticks print numbers in the chart format at 1, 2 and 5 of each decade (3, 4, 6 and 8 too under one decade), down to the decades alone where labels would touch. Without authored bounds the domain normally ends on the nearest round number past the data. Every value on a log axis must be above zero. Line area and bump variants, percent, trend and phases cannot use a log axis."),
|
|
990
1006
|
reverse: z3.boolean().optional().describe("Reverse the value-axis direction on line and scatter; box ignores it with a warning, and every other type refuses it."),
|
|
991
1007
|
gridlines: z3.boolean().optional().describe("Show value-axis gridlines where supported; default false."),
|
|
992
1008
|
break: z3.union([z3.literal("auto"), z3.literal(!1), z3.object({
|
|
@@ -997,13 +1013,8 @@ var valueAxisSchema = z3.object({
|
|
|
997
1013
|
v.from < v.to || ctx.addIssue({ code: "custom", message: "break requires from < to" });
|
|
998
1014
|
}).describe(
|
|
999
1015
|
"Straight value-axis break; the omitted span collapses to a fixed 12px gap when valid."
|
|
1000
|
-
)]).describe("No break by default or with false. Waterfall and pvm alone accept 'auto' to choose a safe break; { from, to, style? } sets the omitted span. A valid straight break uses a fixed 12px gap and discloses the omitted range. Totals and levels stay visibly longer than smaller steps or segments and no shorter than equal ones. Unsafe automatic breaks move down when valid; unsafe authored breaks are ignored with a warning. An unbroken positive bridge gets an info hint when its smallest total divided by its largest step exceeds 10.").optional()
|
|
1001
|
-
});
|
|
1002
|
-
function sideKeyError(issue) {
|
|
1003
|
-
let input = issue.input;
|
|
1004
|
-
return input === "right" || typeof input == "object" && input !== null && input.position === "right" ? SIDE_KEY_REFUSED : void 0;
|
|
1005
|
-
}
|
|
1006
|
-
var keyPositionSchema = z3.enum(["top", "bottom"], { error: sideKeyError }).describe("Key position: 'top', one row above the plot, or 'bottom'. A key beside the plot ('right') is refused.");
|
|
1016
|
+
)]).describe("No break by default or with false. Waterfall and pvm alone accept 'auto' to choose a safe break; pvm defaults to 'auto' when its smaller total exceeds 10 times its largest step or its running levels span under 20% of the larger total; { from, to, style? } sets the omitted span. A valid straight break uses a fixed 12px gap and discloses the omitted range. Totals and levels stay visibly longer than smaller steps or segments and no shorter than equal ones. Unsafe automatic breaks move down when valid; unsafe authored breaks are ignored with a warning. An unbroken positive bridge gets an info hint when its smallest total divided by its largest step exceeds 10.").optional()
|
|
1017
|
+
}), keyPositionSchema = z3.enum(["top", "bottom", "right", "left"]).describe("Key position: 'top', one row above the plot, 'bottom', one row under it, or 'right' or 'left', a column beside the plot. A column beside the plot takes the plot's width: where the plot block would keep under 68% of the chart width, or the column does not fit the height, the key goes to the row above the plot with a legend-side-fallback warning.");
|
|
1007
1018
|
function keyOptionSchema(values) {
|
|
1008
1019
|
return z3.union([
|
|
1009
1020
|
z3.enum(values).describe("Suppress keys, select explicit placement, or let visible series names determine whether automatic keys are needed."),
|
|
@@ -1011,7 +1022,7 @@ function keyOptionSchema(values) {
|
|
|
1011
1022
|
position: keyPositionSchema,
|
|
1012
1023
|
order: z3.array(idSchema).optional().describe("Legend item ids in the requested order; unspecified items follow.")
|
|
1013
1024
|
}).describe("Explicit legend placement and optional item order.")
|
|
1014
|
-
]
|
|
1025
|
+
]);
|
|
1015
1026
|
}
|
|
1016
1027
|
var baseOptionsSchema = z3.object({
|
|
1017
1028
|
target: renderTargetSchema.optional(),
|
|
@@ -1019,6 +1030,7 @@ var baseOptionsSchema = z3.object({
|
|
|
1019
1030
|
textSize: textSizeSchema.optional(),
|
|
1020
1031
|
a11y: z3.strictObject({
|
|
1021
1032
|
title: z3.boolean().optional().describe("Emit an SVG title element for hover text; default false. Accessible naming remains available."),
|
|
1033
|
+
description: z3.string().min(1).optional().describe("Accessible description of the chart, in place of the generated one, in the SVG desc element and the React chart. Omitted: the description comes from the chart."),
|
|
1022
1034
|
table: z3.enum(["hidden", "toggle", "below"]).optional().describe("Record-derived accessible data table rendered by the React chart components: 'hidden' keeps it available to assistive technology only, 'toggle' adds a disclosure control, 'below' renders it visibly under the chart. BoardplotChart includes it in the server output; a per-type component adds it after mount. Omitted: no table. The SVG is unchanged.")
|
|
1023
1035
|
}).optional().describe("Accessible presentation options; visible chart title is controlled separately by title."),
|
|
1024
1036
|
mode: z3.enum(["full", "compact"]).optional().describe("Presentation framing. Omitted: full at or above the chart minimum width, compact below it where the type draws there. Compact keeps the title at the theme smallest title size. Some chart-specific schemas use a different mode vocabulary."),
|
|
@@ -1031,17 +1043,17 @@ var baseOptionsSchema = z3.object({
|
|
|
1031
1043
|
margin: marginSchema.optional().describe("Outer canvas margins in pixels; omitted sides use chart or theme defaults. canvas.margin overrides supplied sides."),
|
|
1032
1044
|
canvas: z3.strictObject({ margin: marginSchema.optional().describe("Per-side outer margins overriding margin, then chart or theme defaults.") }).optional().describe("Canvas framing overrides applied before chart furniture is laid out."),
|
|
1033
1045
|
title: z3.union([
|
|
1034
|
-
z3.string().describe("Visible chart title text."),
|
|
1046
|
+
z3.string().describe("Visible chart title text. `**text**` draws bold and a single `*` stays literal."),
|
|
1035
1047
|
z3.literal(!1).describe("Suppress the visible title while retaining the accessible chart name.")
|
|
1036
|
-
]).optional().describe("Visible title override
|
|
1037
|
-
subtitle: subtitleSchema.optional().describe("Measure subtitle below the title
|
|
1048
|
+
]).optional().describe("Visible title override. `**text**` draws bold and a single `*` stays literal. Omission retains the chart-specific title behaviour."),
|
|
1049
|
+
subtitle: subtitleSchema.optional().describe("Measure subtitle below the title. Strings expand to the measure field. `**text**` draws bold in company, measure and period. A single `*` stays literal."),
|
|
1038
1050
|
unit: z3.string().optional().describe("Chart unit, composed into the subtitle where supported; individual series may declare their own units. A unit prints as text after the number, so unit 'USD' reads 2,456 USD. For a currency sign, set format instead, such as '$1,234'; a unit the format already prints warns unit-in-format, and a unit that names another currency than the format's sign warns unit-format-conflict."),
|
|
1039
1051
|
unitShown: z3.boolean().optional().describe("True when the host prints the unit beside the chart: no unit line, no unit beside a kpi value; line end labels, a table head and the legend check treat the unit as shown. Number formatting does not change. Default false."),
|
|
1040
|
-
source: z3.string().optional().describe("Source credit rendered in the chart frame."),
|
|
1041
|
-
footnotes: z3.union([
|
|
1042
|
-
z3.array(z3.string().describe("Authored footnote text.")).describe("Footnotes in authored order; compact framing leaves optional notes off the canvas, keeps them in the accessible description and lists them in the info lint compact-notes-omitted."),
|
|
1052
|
+
source: optionShapeSchema("source", z3.string(), z3.array(z3.string())).optional().describe("Source credit rendered in the chart frame. An array of strings joins with '; ' in one source line. An empty array prints no source. `**text**` draws bold and a single `*` stays literal."),
|
|
1053
|
+
footnotes: optionShapeSchema("footnotes", z3.union([
|
|
1054
|
+
z3.array(z3.string().describe("Authored footnote text. `**text**` draws bold and a single `*` stays literal.")).describe("Footnotes in authored order; compact framing leaves optional notes off the canvas, keeps them in the accessible description and lists them in the info lint compact-notes-omitted."),
|
|
1043
1055
|
z3.literal(!1).describe('No notes in the frame: authored notes, method notes, event keys and the "+N notes" pointer are left off. Disclosures that notes.show prints (rounding, partial periods, unlabelled values), the source line and a required map credit stay; leave source out for no source line. For a host that carries the notes in its own frame; the info lint footnotes-off lists what was left off and the render result lists every note in notes.')
|
|
1044
|
-
]).optional().describe("Footnotes in authored order
|
|
1056
|
+
]), z3.string()).optional().describe("A string is one footnote. Footnotes in authored order. `**text**` draws bold and a single `*` stays literal. The frame prints them within notes.maxLines and the rest go to the notes list. false leaves notes and the pointer off the frame; disclosures that notes.show prints, the source line and a required map credit stay."),
|
|
1045
1057
|
notes: z3.object({
|
|
1046
1058
|
maxListed: z3.union([
|
|
1047
1059
|
z3.number().int().min(0).describe("Most items a note line names; the rest are counted. 0 names none and only counts them."),
|
|
@@ -1054,23 +1066,25 @@ var baseOptionsSchema = z3.object({
|
|
|
1054
1066
|
}).strict().optional().describe("Notes; the footer rule: where the notes under the chart go, how many lines they take, and the note lines for what the drawing leaves out."),
|
|
1055
1067
|
// any registered theme name (presets + registerTheme customs); existence
|
|
1056
1068
|
// is checked at resolve time with a helpful error
|
|
1057
|
-
theme: z3.union([
|
|
1069
|
+
theme: optionShapeSchema("theme", z3.union([
|
|
1058
1070
|
z3.string().min(1).describe("Registered theme name; existence is checked when resolving the theme."),
|
|
1059
1071
|
z3.object({
|
|
1060
1072
|
preset: z3.string().min(1).describe("Registered base theme whose tokens are overridden."),
|
|
1061
1073
|
overrides: z3.record(z3.string(), z3.unknown().describe("Theme token override value; validated by theme resolution.")).optional().describe("Partial theme token tree merged with the named preset.")
|
|
1062
1074
|
}).describe("Named theme with explicit token overrides.")
|
|
1063
|
-
])
|
|
1064
|
-
|
|
1065
|
-
|
|
1075
|
+
]), z3.strictObject({
|
|
1076
|
+
overrides: z3.record(z3.string(), z3.unknown()).describe("Partial token tree applied to the default preset.")
|
|
1077
|
+
})).optional().describe("Theme preset or preset with overrides. An object with only overrides uses the default preset. Request context may supply a theme, otherwise resolution uses bridge."),
|
|
1078
|
+
locale: optionShapeSchema("locale", z3.object({
|
|
1079
|
+
language: languageSchema.optional().describe('BCP 47 language tag. Changes words only, such as notes and month names. It never changes the decimal or grouping marks; they come only from locale.decimal and locale.thousands. E.g. "de"; "de_DE" is read as "de-DE"; "en-US" puts the month first (Sep 4).'),
|
|
1066
1080
|
decimal: z3.enum([".", ","]).optional().describe("Decimal mark of every number the chart prints. Default '.'. The language does not change it."),
|
|
1067
|
-
thousands: z3.enum([",", ".", "\u2019", " "]).optional().describe("Grouping mark of every number the chart prints. Default ',', or '.' with decimal ','. The language does not change it. A value equal to the decimal mark uses that fallback."),
|
|
1081
|
+
thousands: z3.enum([",", ".", "\u2019", "'", " ", "\u202F"]).optional().describe("Grouping mark of every number the chart prints. The apostrophe ' is the same as \u2019, and the narrow no-break space is the same as the space. Default ',', or '.' with decimal ','. The language does not change it. A value equal to the decimal mark uses that fallback."),
|
|
1068
1082
|
minusGlyph: z3.enum(["\u2212", "-"]).optional().describe("Minus glyph for locale-derived table formats; default Unicode minus."),
|
|
1069
1083
|
weekStartsOn: z3.union([
|
|
1070
1084
|
z3.literal(0).describe("Sunday as the requested first weekday."),
|
|
1071
1085
|
z3.literal(1).describe("Monday as the requested first weekday.")
|
|
1072
1086
|
]).optional().describe("First weekday for week-granularity date ticks; default Monday. Line date ticks read this field, other layouts ignore it and report it.")
|
|
1073
|
-
}).optional().describe("Language and number marks. decimal and thousands set the marks of every number, as in a spreadsheet (default 1,234.5); a format example gives only the shape. language changes words only, never the marks."),
|
|
1087
|
+
}), languageSchema).optional().describe("A string sets language only. Language and number marks. decimal and thousands set the marks of every number, as in a spreadsheet (default 1,234.5); a format example gives only the shape. language changes words only, never the marks."),
|
|
1074
1088
|
strings: z3.object({
|
|
1075
1089
|
newItems: z3.string().min(1).optional().describe("PVM entry-bar name; default New items."),
|
|
1076
1090
|
lostItems: z3.string().min(1).optional().describe("PVM exit-bar name; default Lost items."),
|
|
@@ -1078,7 +1092,7 @@ var baseOptionsSchema = z3.object({
|
|
|
1078
1092
|
cohortFormula: z3.string().trim().min(1).optional().describe("Complete cohort formula sentence for method notes and accessible descriptions. Wording only: rates still use the count and denominator selected by basis."),
|
|
1079
1093
|
others: z3.string().min(1).optional().describe("Name of the aggregated rest bucket; default Others, and an explicit topN.restLabel still wins."),
|
|
1080
1094
|
total: z3.string().min(1).optional().describe("Label of a computed total row; default Total."),
|
|
1081
|
-
source: z3.string().
|
|
1095
|
+
source: z3.string().optional().describe("Word introducing the authored source credit; default Source. An empty string prints the source without a prefix or colon."),
|
|
1082
1096
|
notApplicable: z3.string().optional().describe("Not applicable text; n/a, German k. A."),
|
|
1083
1097
|
legendCount: z3.string().optional().describe(`Legend disclosure wording; '{count}' becomes "2 of 4". Default depends on the legend subject.`),
|
|
1084
1098
|
partial: z3.string().min(1).optional().describe("Word after the labels of partial categories in the column, bar, line and combo footnote, also the hatch key label; default Partial; a named key uses toDate."),
|
|
@@ -1151,7 +1165,7 @@ var baseOptionsSchema = z3.object({
|
|
|
1151
1165
|
heatAround: z3.string().min(1).optional().describe("Key label of the warn band of a table's traffic-light heat lane; default Around average, or Around total."),
|
|
1152
1166
|
heatAbove: z3.string().min(1).optional().describe("Key label of the good side of a table's traffic-light heat lane; default Above average, or Above total."),
|
|
1153
1167
|
bandKey: z3.array(z3.string().trim().min(1)).min(2).max(5).optional().describe("Words of the bullet worse-to-better band key, worst first, one for each band (2 to 5). A list of another length than the bands keeps the built-in words (Worse ... Better; German with locale.language de)."),
|
|
1154
|
-
moreListed: z3.string().trim().min(1).optional().describe("Last item of a capped note line; '{count}' is the number left out. Default 'and {count} more'; a React chart with hover on reads 'and {count} more (hover shows each value)' unless this is set."),
|
|
1168
|
+
moreListed: z3.string().trim().min(1).optional().describe("Last item of a capped note line; '{count}' is the number left out. Default 'and {count} more'; a React chart with hover on reads 'and {count} more (tap or hover shows each value)' unless this is set."),
|
|
1155
1169
|
cellNote: z3.string().trim().min(1).optional().describe("Waffle note that names the share of one cell; '{value}' becomes the percent, such as 5%. Default 'One cell = {value}'."),
|
|
1156
1170
|
storyBack: z3.string().min(1).optional().describe("Story Back button; default '\u2039 Back'."),
|
|
1157
1171
|
storyNext: z3.string().min(1).optional().describe("Story Next button; default 'Next \u203A'."),
|
|
@@ -1184,7 +1198,7 @@ var baseOptionsSchema = z3.object({
|
|
|
1184
1198
|
missingStack: z3.string().min(1).optional().describe("StackedArea source-null note; {categories} is replaced."),
|
|
1185
1199
|
incompleteStacks: z3.string().min(1).optional().describe("Incomplete bar stack note (bar only; column and combo use knownPartsTotals); {categories} is replaced."),
|
|
1186
1200
|
knownPartsShares: z3.string().min(1).optional().describe("Incomplete 100% stack note without total100; {categories} is replaced."),
|
|
1187
|
-
rebaseZero: z3.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a zero base; {series} and {period} are replaced."),
|
|
1201
|
+
rebaseZero: z3.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a zero or negative base; {series} and {period} are replaced."),
|
|
1188
1202
|
rebaseMissing: z3.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a missing base; {series} and {period} are replaced.")
|
|
1189
1203
|
}).strict().optional().describe("Wording of built-in labels. These are the labels the renderer composes itself: author chart text stays unchanged and an explicit option still wins per label; host-level wording comes from the theme provider."),
|
|
1190
1204
|
format: formatExample.optional().describe(`Chart-level format-by-example, such as 1,234.5 or 1.2pp. A currency sign comes from here: '$1,234' prints $2,456. Its decimals are preserved; series and cell formats can override it. Without a format, precision follows the data. ${MAGNITUDE_WORDS_DOC} ${PERCENT_FORMAT_UNITS} A separator followed by exactly three digits after a nonzero integer part is a thousands mark: 1.000 groups thousands with a dot and prints decimals with a comma; write 0.000 for three decimals.`),
|
|
@@ -1198,17 +1212,17 @@ var baseOptionsSchema = z3.object({
|
|
|
1198
1212
|
z3.boolean().describe("Enable or suppress this label kind."),
|
|
1199
1213
|
z3.array(z3.string().describe("Requested label content, such as absolute, percent, category or series; supported values depend on the chart.")).describe("Ordered content parts for this label kind.")
|
|
1200
1214
|
]).describe("Visibility or requested content for the named label kind.")).describe("Per-kind label settings, keyed by label kind.")
|
|
1201
|
-
]).optional().describe("Label visibility and content overrides; omission uses the selected chart policy. Unsupported chart types refuse this shared option. false turns optional labels off. An object maps a label kind (category, series, segment, point, total, grandTotal, insidePie, outsidePie, percentIndicator, restSeries, tick, axisTitle, valueLine, annotation, growth, activity, item; each chart reads its own, and a kind it does not read is refused) to true, false or content parts from absolute, percent, category and series. On a stacked column with one PY reference series, { growth: false } drops the growth arrows over the totals (\u2191 6.1%) and keeps the PY ticks and their labels; { percentIndicator: false } drops the 100% marker of a 100% chart. On bar, box, column, combo, dot, line, Mekko, slope and variance, false keeps category names; { category: false } hides them. On bullet, butterfly, funnel, heatmap, pyramid and status, false keeps the row, column and stage names; on kpi it keeps the main number and the card name. Grid panels can leave category names to the grid. On a line, series false turns the series names off and point sets what each printed value shows, so { point: ['category', 'absolute'] } prints 08-16 44.7 at the point. On a stacked column or combo, { segment: ['absolute', 'percent'] } prints each segment value over its share of the stack; a stack with a negative or missing part prints the value alone and warns. restSeries sets the values of a stacked column, bar or area series whose colorRole is others: absent, they print everywhere except the dashboard target, where the hover card and the note line carry them; true prints them, false hides and notes them on every target."),
|
|
1215
|
+
]).optional().describe("Label visibility and content overrides; omission uses the selected chart policy. Unsupported chart types refuse this shared option. false turns optional labels off. An object maps a label kind (category, series, segment, point, total, grandTotal, insidePie, outsidePie, percentIndicator, restSeries, tick, axisTitle, valueLine, annotation, growth, activity, item; each chart reads its own, and a kind it does not read is refused) to true, false or content parts from absolute, percent, category and series. Another part is dropped with a warning; value draws as absolute. On a stacked column with one PY reference series, { growth: false } drops the growth arrows over the totals (\u2191 6.1%) and keeps the PY ticks and their labels; { percentIndicator: false } drops the 100% marker of a 100% chart. On bar, box, column, combo, dot, line, Mekko, slope and variance, false keeps category names; { category: false } hides them. On bullet, butterfly, funnel, heatmap, pyramid and status, false keeps the row, column and stage names; on kpi it keeps the main number and the card name. Grid panels can leave category names to the grid. On a line, series false turns the series names off and point sets what each printed value shows, so { point: ['category', 'absolute'] } prints 08-16 44.7 at the point. On a stacked column or combo, { segment: ['absolute', 'percent'] } prints each segment value over its share of the stack; a stack with a negative or missing part prints the value alone and warns. restSeries sets the values of a stacked column, bar or area series whose colorRole is others: absent, they print everywhere except the dashboard target, where the hover card and the note line carry them; true prints them, false hides and notes them on every target."),
|
|
1202
1216
|
categoryLabels: categoryLabelsSchema,
|
|
1203
1217
|
labelPlacements: z3.record(z3.string(), z3.string().describe("Requested solver slot id, such as insideCenter.")).optional().describe("Authored placement pins keyed by label id; the solver checks each requested slot. On a line, a pinned end label removes the legend step of the end-label ladder. The slots a label can take depend on the chart and its data; a wrong slot warns unknown-slot and lists the valid and free slots of that render."),
|
|
1204
|
-
legend: keyOptionSchema(["top", "bottom", "none", "auto"]).optional().describe(
|
|
1205
|
-
"A key without a named position sits in one row above the plot, flush with it, under the subtitle; more items wrap to further rows and move the plot down. 'bottom' puts the row under the plot. 'right'
|
|
1218
|
+
legend: keyOptionSchema(["top", "bottom", "right", "left", "none", "auto"]).optional().describe(
|
|
1219
|
+
"A key without a named position sits in one row above the plot, flush with it, under the subtitle; more items wrap to further rows and move the plot down. 'bottom' puts the row under the plot. 'right' and 'left' put the key in a column beside the plot where the plot block keeps at least 68% of the chart width and the column fits the height; otherwise the key stays in the row above the plot and a legend-side-fallback warning says so. 'auto' adds keys when visible labels do not name every drawn series. A displayed subtitle measure or unit can name one primary series, matching the complete phrase without case sensitivity. Required explanatory keys remain, except the keys of a table, heatmap, cohort and variance, which 'none' drops for a host that draws its own. Automatic keys use footnote type in the top row. Explicit settings override theme.legend.auto, which defaults to false. Multi-series column, bar, combo, dot and scatter charts add a key when direct names are missing. A series key explains its scenario styling. Grids keep a required key under 'none' when direct names are incomplete."
|
|
1206
1220
|
),
|
|
1207
1221
|
valueAxis: valueAxisSchema.optional().describe("Value-axis display and domain settings; each chart schema narrows the supported fields."),
|
|
1208
1222
|
categoryAxis: z3.object({
|
|
1209
|
-
crossesBetween: z3.boolean().optional().describe("Line-chart category placement: default true centres categories in bands; false places the end categories at the plot edges."),
|
|
1210
|
-
dateTicks: z3.enum(["years", "quarters", "months", "weeks", "days"]).optional().describe("
|
|
1211
|
-
}).optional().describe("Category-axis settings
|
|
1223
|
+
crossesBetween: z3.boolean().optional().describe("Line-chart category placement: default true centres categories in bands; false places the end categories at the plot edges. Column and combo always centre their categories in bands: false is ignored there and reports cross-between-ignored."),
|
|
1224
|
+
dateTicks: z3.enum(["years", "quarters", "months", "weeks", "days"]).optional().describe("Date tick interval on line, column and combo. A short tick under the plot marks the first category of each calendar interval; on column and combo it stands at the middle of the band, and every column keeps its place. 'years', 'quarters' and 'months' name those ticks on the calendar: quarters read Jan, Apr, Jul, Oct. A row too narrow for every name keeps a larger round step counted from January (years 2, 5, 10, 20, 25, 50 or 100, so every tenth year from 1980; quarters 2, 4, 8, 20 or 40; months 2, 3, 6, 12, 24, 60 or 120), at most eight names. The latest period is always named; if it collides with the tick before it, that tick drops. 'weeks' and 'days' count equal steps back from the latest period (weeks 2, 4, 13, 26 or 52; days 2, 7, 14 or 28) and name it too. 'years' names the year alone ('Jan 1980' reads 1980) where the label carries it. 'months' over day dates the engine labels names the month ('1 Apr 2025' reads Apr 2025, then May, Jun). A monthly series through July 2026 with 'years' reads 1980, 1990, 2000, 2010, 2020, Jul 2026. Without dateTicks, column, stacked column, line, area and combo pick tick months by the same calendar rule for rows of months and quarters (step 3: Jan, Apr, Jul, Oct; step 6: Jan, Jul; step 12: Jan; plus the latest period) and count back from the latest period for days and weeks, so side-by-side panels with the same categories show the same months. A line or area day row that would step past 28 days names months as 'months' does. Categories without an ISO date, or not in date order (sorted by value), leave the option unused and report date-ticks-unsupported.")
|
|
1225
|
+
}).optional().describe("Category-axis settings: dateTicks on line, column and combo, crossesBetween on line; other shared-base charts ignore this option with an option-ignored warning."),
|
|
1212
1226
|
secondaryAxis: z3.object({ acknowledge: z3.literal(!0).describe("Explicitly acknowledge that the chart uses an independent second value scale.") }).optional().describe("Opt in to a second value scale on supported charts; combo adds chart-specific secondary-axis options."),
|
|
1213
1227
|
scaleGroup: z3.object({
|
|
1214
1228
|
// x shares nothing: no type reads back or pins its x domain, so it is refused.
|
|
@@ -1221,17 +1235,17 @@ var baseOptionsSchema = z3.object({
|
|
|
1221
1235
|
"Row-label alignment on a horizontal category axis; defaults to 'left' (one shared left edge), and to 'right' on a dot chart. 'right' pushes each label block against the plot."
|
|
1222
1236
|
)
|
|
1223
1237
|
}).optional().describe("Row-label alignment for the horizontal families (bar, bullet, box, dot, likert)."),
|
|
1224
|
-
sort: z3.object({
|
|
1238
|
+
sort: optionShapeSchema("sort", z3.object({
|
|
1225
1239
|
categories: z3.enum(["sheet", "asc", "desc", "reverse"]).optional().describe("Category order: sheet preserves authored order, reverse reverses it, asc and desc use the chart category ranking value."),
|
|
1226
1240
|
segments: z3.enum(["sheet", "asc", "desc", "reverse"]).optional().describe("Segment order: sheet preserves authored order, reverse reverses it, asc and desc use the chart segment ranking value.")
|
|
1227
|
-
}).optional().describe("Sorting requests for charts that support them; omitted settings preserve the chart default ordering."),
|
|
1228
|
-
topN: z3.object({
|
|
1241
|
+
}), z3.union([z3.enum(["sheet", "asc", "desc", "reverse"]), z3.literal(!0)])).optional().describe("A string sets categories to sheet, asc, desc or reverse. true means categories: 'desc'. Sorting requests for charts that support them; omitted settings preserve the chart default ordering."),
|
|
1242
|
+
topN: optionShapeSchema("topN", z3.object({
|
|
1229
1243
|
n: z3.number().int().positive().describe("Maximum number of individually retained categories after chart-specific ranking."),
|
|
1230
|
-
rest: z3.boolean().optional().describe("Aggregate remaining categories into a rest bucket by default; false omits them where supported. Pareto retains the bucket to preserve its population."),
|
|
1244
|
+
rest: z3.boolean().optional().describe("Aggregate remaining categories into a rest bucket by default; false omits them where supported. On a bar mekko the rest bucket is the width-weighted mean of its rates. Pareto retains the bucket to preserve its population."),
|
|
1231
1245
|
restLabel: z3.string().optional().describe("Authored rest-bucket name; ordinary charts default to Others and Pareto to Rest."),
|
|
1232
1246
|
showRestCount: z3.boolean().optional().describe("Append the number of aggregated categories; ordinary charts default to false, while Pareto always discloses the count."),
|
|
1233
1247
|
threshold: z3.number().optional().describe("Bar-chart minimum absolute category total after the rank cut; not a universal Top-N threshold. Pareto warns that it ignores this field.")
|
|
1234
|
-
}).optional().describe("Chart-specific Top-N selection and rest aggregation; omission retains all categories. On a choropleth world map, topN.n picks the n regions it labels, largest absolute value first; other maps label every region."),
|
|
1248
|
+
}), z3.number().int().positive()).optional().describe("A positive integer n means { n }. Chart-specific Top-N selection and rest aggregation; omission retains all categories. On a choropleth world map, topN.n picks the n regions it labels, largest absolute value first; other maps label every region."),
|
|
1235
1249
|
// No registered layout implements this. Accepting it on the shared base
|
|
1236
1250
|
// would let every type answer `ok:true` to `transpose: true` and draw the
|
|
1237
1251
|
// identical chart.
|
|
@@ -1256,11 +1270,11 @@ var baseOptionsSchema = z3.object({
|
|
|
1256
1270
|
}).describe("Source owner to emphasise. A label is selected when its own owner carries every key named here with the same value, so a seriesId alone selects that series and a seriesId+categoryId pair selects one point.")
|
|
1257
1271
|
}).nullable().optional().describe("Active source focus: labels whose owner the focus selects sort ahead in the solve order, because the focus adds a 250-point bonus to the label's sort key on top of its authored priority. The bonus can carry a focused label past a higher authored band, which is the point: a focused series or category wins contested label space. Layout only \u2014 totals, shares, scales and claims are unchanged, and a focused label still loses to the density gate, to an owned pin and to a collision. Omit the key (or set null) for byte-identical layout; null clears an inherited focus explicitly. On a grid, set it on the panel options that own the focus; sibling panels are separate layouts and never see it."),
|
|
1258
1272
|
hatchStrength: z3.number().min(0, { error: "hatchStrength runs from 0 to 100; set 0 for the faintest hatch that still reads, 100 for the theme's recipe" }).max(100, { error: "hatchStrength runs from 0 to 100; set 100 for the theme's recipe, lower for a lighter hatch" }).optional().describe("How strongly forecast, partial-period and no-data hatches draw, 0 to 100; 100 is the theme's recipe. Lower values fade the stripes toward their ground and, on a line or area forecast, spread them up to 2.5 times the theme's gap. The fade stops at a floor: where the hatch is the only cue (a forecast column or bar, a partial period, a no-data cell) the stripes keep 3:1 on their ground and their spacing; on a line or area forecast, where the dashed line, the divider and the key already mark the forecast, they keep 2:1. A status cell lays its stripes on its own tone: there 60 is the theme's recipe at 3:1, 100 deepens the stripes to 4.5:1 on the same ground, and lower values fade them only as far as the cell stays apart from a cell with no status. Default 60 on a line or area forecast and a status cell, 100 elsewhere. The key swatch draws the same hatch."),
|
|
1259
|
-
colorblindSafe: z3.boolean().optional().describe("Paint the semantic good/bad pair from theme.color.colorblind,
|
|
1273
|
+
colorblindSafe: z3.boolean().optional().describe("Paint the semantic good/bad pair from theme.color.colorblind: signed bars and columns, variance bars, KPI deltas, chips and bands, waterfall and pvm steps, legend keys and signed labels, status cells, heatmap valence cells, table tones, grounds, bars and badges, and diverging choropleth or tilemap poles. A type without a good/bad pair draws the same with or without this option. Use palette for categorical colours."),
|
|
1260
1274
|
rounding: z3.enum(["nearest", "sum-consistent"]).optional().describe("How computed shares print. nearest rounds each share separately. sum-consistent uses largest remainders to total 100%. For equal remainders, when the sum must go up, round up the smaller share first; when the sum must go down, take the step from the larger share first. Equal-size ties use the first input index. reading.rounding lists changes. Use format: 1.0% for one decimal. Mekko cell, series and chart share formats set the precision. Bar, column and combo stacks default to sum-consistent for each complete stack; a column's shares keep the chart's one share precision or shareLabels.format. Incompatible precisions or more than 13 decimals warn and keep the requested formats without sum-consistent rounding."),
|
|
1261
|
-
animate: z3.boolean().optional().describe("
|
|
1275
|
+
animate: z3.boolean().optional().describe("Motion flag ignored with an option-ignored warning because charts emit static geometry."),
|
|
1262
1276
|
interactive: z3.boolean().optional().describe("Emit data-bp-* semantics for dependency-free web interactivity; static output is unchanged by default."),
|
|
1263
|
-
debug: z3.boolean().optional().describe("
|
|
1277
|
+
debug: z3.boolean().optional().describe("Layout debug flag ignored with an option-ignored warning."),
|
|
1264
1278
|
annotations: annotationArraySchema(annotationSchema).optional().describe("Data-bound annotations in authored order; explicit ids must be unique and each chart advertises its supported kinds.")
|
|
1265
1279
|
}).superRefine(addCanvasBoundsIssues).describe("Shared JSON chart options; selected chart schemas narrow unsupported fields and add chart-specific settings."), anomalyOptionSchema = z3.union([
|
|
1266
1280
|
z3.object({
|
|
@@ -1284,7 +1298,8 @@ var baseOptionsSchema = z3.object({
|
|
|
1284
1298
|
]), averageMarkerSchema = z3.union([
|
|
1285
1299
|
z3.boolean(),
|
|
1286
1300
|
z3.object({
|
|
1287
|
-
scope: z3.union([z3.literal("all"), z3.array(idSchema).min(1)]).describe("Series included in the computed average; defaults to 'all'.")
|
|
1301
|
+
scope: z3.union([z3.literal("all"), z3.array(idSchema).min(1)]).optional().describe("Series included in the computed average; defaults to 'all'."),
|
|
1302
|
+
includePartial: z3.boolean().optional().describe("true averages the categories marked partial too. By default they are left out, and the label names the periods the average covers. Column, bar and combo.")
|
|
1288
1303
|
})
|
|
1289
1304
|
]).optional();
|
|
1290
1305
|
function narrowValueAxis(type, base) {
|
|
@@ -1293,7 +1308,7 @@ function narrowValueAxis(type, base) {
|
|
|
1293
1308
|
let why = valueAxisRefusal(type, key);
|
|
1294
1309
|
if (why === void 0) continue;
|
|
1295
1310
|
let suggest = valueAxisReason(type, key, why);
|
|
1296
|
-
refusals[key] = z3.never({ error: notImplemented(`valueAxis.${key}`, type, suggest) }).optional().describe(`Refused on '${type}': ${suggest}`);
|
|
1311
|
+
refusals[key] = z3.never({ error: notImplemented(`valueAxis.${key}`, type, suggest) }).optional().describe(`${key === "show" || key === "gridlines" ? `Ignored on '${type}' with an option-ignored warning` : `Refused on '${type}'`}: ${suggest}`);
|
|
1297
1312
|
}
|
|
1298
1313
|
if (valueAxisRefusal(type, "break") === void 0 && type !== "waterfall" && type !== "pvm") {
|
|
1299
1314
|
let [, noBreak, authoredBreak] = valueAxisSchema.shape.break.unwrap().options;
|
|
@@ -1306,17 +1321,17 @@ function refusedBaseOptions(type) {
|
|
|
1306
1321
|
for (let [key, capability] of Object.entries(OPTION_CAPABILITY)) {
|
|
1307
1322
|
if (capability.implementedBy.includes(type) || "unsupportedSeverity" in capability && capability.unsupportedSeverity === "warn") continue;
|
|
1308
1323
|
let suggest = OPTION_REASONS[key];
|
|
1309
|
-
out[key] = z3.never({ error: notImplemented(key, type, suggest) }).optional().describe(`Refused on '${type}': ${suggest}`);
|
|
1324
|
+
out[key] = z3.never({ error: notImplemented(key, type, suggest) }).optional().describe(`${IGNORED_OPTION_KEYS.has(key) ? `Ignored on '${type}' with an option-ignored warning` : `Refused on '${type}'`}: ${suggest}`);
|
|
1310
1325
|
}
|
|
1311
1326
|
if (Object.hasOwn(LEGEND_DRAWS, type)) {
|
|
1312
1327
|
let values = LEGEND_DRAWS[type], why = LEGEND_DRAWS_REASONS[type];
|
|
1313
1328
|
out.legend = baseOptionsSchema.shape.legend.unwrap().superRefine((value, ctx) => {
|
|
1314
1329
|
legendDrawsNothing(type, value) && ctx.addIssue({ code: "custom", message: `legend '${String(value)}' draws nothing on '${type}' \u2014 ${why}`, params: { refused: !0 } });
|
|
1315
|
-
}).optional().describe(`On '${type}' only ${values.map((value) => `'${value}'`).join(" and ")} or a position object draw a key: ${why}.`);
|
|
1330
|
+
}).optional().describe(`On '${type}' only ${values.map((value) => `'${value}'`).join(" and ")} or a position object draw a key. 'none' and 'auto' are ignored with an option-ignored warning at info level: ${why}. 'right' stays refused.`);
|
|
1316
1331
|
}
|
|
1317
|
-
LEGEND_REFUSED.includes(type) && (out.legend = z3.never({ error: notImplemented("legend", type, LEGEND_REFUSED_REASONS[type]) }).optional().describe(`
|
|
1332
|
+
LEGEND_REFUSED.includes(type) && (out.legend = z3.never({ error: notImplemented("legend", type, LEGEND_REFUSED_REASONS[type]) }).optional().describe(`Ignored on '${type}' with an option-ignored warning: ${LEGEND_REFUSED_REASONS[type]}`));
|
|
1318
1333
|
let only = valueAxisOnly(type), valueAxis = narrowValueAxis(type, valueAxisSchema);
|
|
1319
|
-
return only?.keys.length === 0 ? out.valueAxis = z3.never({ error: notImplemented("valueAxis", type, VALUE_AXIS_ONLY_REASONS[type]) }).optional().describe(`
|
|
1334
|
+
return only?.keys.length === 0 ? out.valueAxis = z3.never({ error: notImplemented("valueAxis", type, VALUE_AXIS_ONLY_REASONS[type]) }).optional().describe(`Ignored on '${type}' with an option-ignored warning: valueAxis.show and valueAxis.gridlines. Other valueAxis settings are refused: ${VALUE_AXIS_ONLY_REASONS[type]}`) : valueAxis !== valueAxisSchema && (out.valueAxis = valueAxis.optional().describe(baseOptionsSchema.shape.valueAxis.description)), out;
|
|
1320
1335
|
}
|
|
1321
1336
|
function refuseUnstackedShares(options, ctx) {
|
|
1322
1337
|
options.sharesOfOneWhole === void 0 || options.variant === "stacked" || options.variant === "stacked100" || ctx.addIssue({
|
|
@@ -1345,6 +1360,7 @@ export {
|
|
|
1345
1360
|
TYPE_REFUSED_REASONS,
|
|
1346
1361
|
notImplemented,
|
|
1347
1362
|
refusalSuggest,
|
|
1363
|
+
optionShapeSchema,
|
|
1348
1364
|
idSchema,
|
|
1349
1365
|
idRecord,
|
|
1350
1366
|
categoryDateSchema,
|
|
@@ -1380,7 +1396,6 @@ export {
|
|
|
1380
1396
|
derivedRatioTierSchema,
|
|
1381
1397
|
primaryAxisTitleSchema,
|
|
1382
1398
|
valueAxisSchema,
|
|
1383
|
-
sideKeyError,
|
|
1384
1399
|
keyPositionSchema,
|
|
1385
1400
|
baseOptionsSchema,
|
|
1386
1401
|
anomalyOptionSchema,
|