boardplot 0.58.1 → 0.59.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.
Files changed (415) hide show
  1. package/CHANGELOG.md +67 -0
  2. package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
  3. package/dist/{annotateEngine-57L26X77.js → annotateEngine-DL4KRQ6B.js} +1 -1
  4. package/dist/build-identity.json +3 -3
  5. package/dist/{chunk-54YO56IK.js → chunk-25JXYOSX.js} +1 -1
  6. package/dist/{chunk-HF4BCPIV.js → chunk-266ENWFM.js} +3 -3
  7. package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
  8. package/dist/{chunk-2DS4MT7T.js → chunk-2GVW5WDD.js} +3 -3
  9. package/dist/{chunk-4ROZ4TFL.js → chunk-2HRDOBPS.js} +1 -1
  10. package/dist/chunk-2Q7IAWON.js +18 -0
  11. package/dist/{chunk-PVGJM2HP.js → chunk-33SPSKTP.js} +4 -4
  12. package/dist/{chunk-Z6DUNKFU.js → chunk-3JG764MI.js} +688 -140
  13. package/dist/{chunk-OZLKEBCD.js → chunk-3V7Y7CHI.js} +1 -1
  14. package/dist/{chunk-3BMPYY26.js → chunk-3WC2TA6C.js} +4 -4
  15. package/dist/{chunk-T7PRG6AO.js → chunk-3WFJDXZO.js} +3 -3
  16. package/dist/{chunk-5KAYLRRP.js → chunk-3ZR7ZE64.js} +2 -2
  17. package/dist/{chunk-WW4KLAVO.js → chunk-4DLIXTDH.js} +5 -5
  18. package/dist/{chunk-OQUH7I5T.js → chunk-4EEK4AMC.js} +2 -2
  19. package/dist/{chunk-RLH2CQCD.js → chunk-4LCQO46F.js} +144 -55
  20. package/dist/{chunk-SHYS52VO.js → chunk-4NIIQFDA.js} +147 -104
  21. package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
  22. package/dist/{chunk-645BGVPP.js → chunk-4WH2YGO6.js} +3 -3
  23. package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
  24. package/dist/{chunk-LYAT62UT.js → chunk-4YZQY3AA.js} +1 -1
  25. package/dist/{chunk-VJULLJLN.js → chunk-56CDMSE5.js} +2 -2
  26. package/dist/{chunk-SBKM6XFS.js → chunk-5AXWSGS7.js} +3 -3
  27. package/dist/{chunk-XZXZNI7A.js → chunk-5HOIOQK3.js} +1 -1
  28. package/dist/{chunk-ERDKMZ7O.js → chunk-5OV7VOGV.js} +2 -2
  29. package/dist/{chunk-AICO24HJ.js → chunk-5QMM354E.js} +6 -5
  30. package/dist/{chunk-USMKNNOU.js → chunk-5UXK5BAA.js} +37 -38
  31. package/dist/{chunk-ZB3JIL3L.js → chunk-5YULK4DY.js} +6 -10
  32. package/dist/{chunk-63JUV7NR.js → chunk-5ZE7SHRM.js} +3 -3
  33. package/dist/{chunk-SCAYWQZK.js → chunk-67744WKZ.js} +1 -1
  34. package/dist/{chunk-IFUAPFL5.js → chunk-6CZGFTGK.js} +51 -47
  35. package/dist/{chunk-7YZZCQT3.js → chunk-6IIYLDSQ.js} +3 -3
  36. package/dist/{chunk-JBAVMO56.js → chunk-6TH5NVKS.js} +19 -14
  37. package/dist/{chunk-I5VNHDPR.js → chunk-6TZDPQDE.js} +2 -2
  38. package/dist/{chunk-TMEUK2WS.js → chunk-77L6QGIG.js} +1 -1
  39. package/dist/{chunk-OS7C2KMQ.js → chunk-7IONS4Z7.js} +3 -3
  40. package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
  41. package/dist/{chunk-KI7VCHNZ.js → chunk-7SIZGM5S.js} +78 -53
  42. package/dist/{chunk-G7BCLYL4.js → chunk-7TZIPGFH.js} +8 -6
  43. package/dist/{chunk-76GPN6AT.js → chunk-7UUSHA7H.js} +1 -1
  44. package/dist/{chunk-OZA7HA6L.js → chunk-7UZUXPFM.js} +1 -1
  45. package/dist/{chunk-4DK67I3B.js → chunk-7YJSSPQX.js} +31 -28
  46. package/dist/{chunk-TBZT5WUT.js → chunk-7ZXIHEZS.js} +4 -4
  47. package/dist/{chunk-IMUMPKXF.js → chunk-A3SOYL6F.js} +3 -3
  48. package/dist/{chunk-P3NMDPDP.js → chunk-ADLKZEML.js} +31 -64
  49. package/dist/{chunk-SKPOXLG5.js → chunk-AFQZBCME.js} +4 -4
  50. package/dist/{chunk-TVOMGNFQ.js → chunk-AGR4VJ2Y.js} +1 -1
  51. package/dist/{chunk-2HII2B6S.js → chunk-AH2L44TR.js} +3 -3
  52. package/dist/{chunk-WFBN2HXR.js → chunk-AIPOSNVG.js} +1 -1
  53. package/dist/{chunk-4OJF6DXL.js → chunk-AUSZDYGE.js} +9 -7
  54. package/dist/{chunk-2SWSUNA4.js → chunk-AVYRC2T3.js} +50 -28
  55. package/dist/{chunk-NSMYIUBZ.js → chunk-B5FT4YAX.js} +1 -1
  56. package/dist/{chunk-H3VICNTN.js → chunk-B7UWG6XJ.js} +1 -1
  57. package/dist/{chunk-X3QUASBR.js → chunk-BJJYNTVJ.js} +1 -1
  58. package/dist/{chunk-WKXLJNHW.js → chunk-BOUZKVIY.js} +17 -19
  59. package/dist/{chunk-WUP6C4ZD.js → chunk-BXZNLMMH.js} +1 -1
  60. package/dist/{chunk-OMNB27GM.js → chunk-C26Z5AEW.js} +3 -3
  61. package/dist/{chunk-VC62V7CX.js → chunk-CV5KCQD3.js} +72 -79
  62. package/dist/{chunk-RPGEB3Z5.js → chunk-CX7WUNMO.js} +22 -18
  63. package/dist/{chunk-YJUBX3QF.js → chunk-DANKUHCX.js} +41 -40
  64. package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
  65. package/dist/{chunk-6ALORYH7.js → chunk-DEJ27Y2P.js} +138 -91
  66. package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
  67. package/dist/{chunk-IXU5C3YY.js → chunk-DO7MMF4C.js} +86 -43
  68. package/dist/{chunk-I52OMC5B.js → chunk-DUDVHQD6.js} +7 -7
  69. package/dist/{chunk-4TUU3UGY.js → chunk-DXLWMK24.js} +3 -3
  70. package/dist/{chunk-MALSSEXO.js → chunk-DYD7W3Y6.js} +20 -21
  71. package/dist/{chunk-P5RCP4NK.js → chunk-DZBT7AWJ.js} +2 -2
  72. package/dist/{chunk-YLRAAJYV.js → chunk-E4KHHC46.js} +16 -16
  73. package/dist/{chunk-KUWIRCYJ.js → chunk-E62SXDRT.js} +2 -2
  74. package/dist/{chunk-WOICFLOJ.js → chunk-EADD6NNQ.js} +73 -79
  75. package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
  76. package/dist/{chunk-HM4AJ5U4.js → chunk-EJA5EANI.js} +47 -26
  77. package/dist/{chunk-NFGV5OAR.js → chunk-EWGFOEJB.js} +126 -65
  78. package/dist/{chunk-Y6E4JU3U.js → chunk-EWMPUCIG.js} +37 -37
  79. package/dist/{chunk-GB3RZYTK.js → chunk-EZ5KUBYF.js} +38 -27
  80. package/dist/{chunk-M5LPP2GQ.js → chunk-F2N5BUBK.js} +12 -13
  81. package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
  82. package/dist/{chunk-C4SQU2PB.js → chunk-FB36HSY2.js} +4 -4
  83. package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
  84. package/dist/{chunk-XSC4IXXC.js → chunk-FMVXXKSW.js} +3 -3
  85. package/dist/{chunk-3ESWPMDW.js → chunk-FP3ORYCG.js} +22 -21
  86. package/dist/{chunk-P6DEFCMQ.js → chunk-FWPPZB4G.js} +2 -2
  87. package/dist/{chunk-MSYTF3DZ.js → chunk-FYFXOLWI.js} +116 -89
  88. package/dist/{chunk-SH4UGK5U.js → chunk-GDE2JINW.js} +11 -11
  89. package/dist/{chunk-WDJSDJLV.js → chunk-GEEHXLFQ.js} +7 -6
  90. package/dist/{chunk-EDW5HQND.js → chunk-GGFT6IIM.js} +3 -3
  91. package/dist/{chunk-UBYDY4B7.js → chunk-GIJM4MP4.js} +5 -5
  92. package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
  93. package/dist/{chunk-CFESVCZR.js → chunk-GSHRYDJM.js} +1 -1
  94. package/dist/{chunk-3M2F7KSS.js → chunk-GWDKUKOJ.js} +96 -321
  95. package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
  96. package/dist/{chunk-OUR5ZHCB.js → chunk-HBKZC5BH.js} +2 -2
  97. package/dist/{chunk-23FT7RLN.js → chunk-HC4UW7MB.js} +4 -4
  98. package/dist/{chunk-AMBQ6SWU.js → chunk-HFDU2E7C.js} +27 -21
  99. package/dist/{chunk-ZG4BMJRL.js → chunk-HW67YGJC.js} +1 -1
  100. package/dist/{chunk-FJNZ7NWD.js → chunk-I65BCUVH.js} +3 -3
  101. package/dist/{chunk-VTY6YHQZ.js → chunk-ICERP2YF.js} +3 -3
  102. package/dist/{chunk-G7CXJPEN.js → chunk-ICJUN47O.js} +2 -2
  103. package/dist/{chunk-H4EDDGGX.js → chunk-ID5PE4KM.js} +3 -3
  104. package/dist/{chunk-BQ7SN7AW.js → chunk-IDJVUZAA.js} +3 -3
  105. package/dist/{chunk-O3LT4TAI.js → chunk-IQRRT32Q.js} +2 -2
  106. package/dist/{chunk-WGJIYFVQ.js → chunk-ISMFUWOP.js} +3 -3
  107. package/dist/{chunk-6AVUTZ6W.js → chunk-IX2SLULO.js} +3 -3
  108. package/dist/{chunk-Q2I3QLE3.js → chunk-IXZI4SN4.js} +116 -46
  109. package/dist/chunk-J6LGZPKI.js +89 -0
  110. package/dist/{chunk-CCAAI56H.js → chunk-JF743NNC.js} +7 -0
  111. package/dist/{chunk-YGWPOYDE.js → chunk-JIB74SQS.js} +6 -6
  112. package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
  113. package/dist/{chunk-V7JFT7NQ.js → chunk-JRM22ULA.js} +54 -45
  114. package/dist/{chunk-XSEETONJ.js → chunk-JYSS5ZZF.js} +5 -5
  115. package/dist/{chunk-WLH5IBFY.js → chunk-KRIYGX3N.js} +3 -3
  116. package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
  117. package/dist/{chunk-6YBNVI5I.js → chunk-LADFOYH7.js} +40 -27
  118. package/dist/{chunk-VKNQOSGW.js → chunk-LC4KDLUE.js} +3 -3
  119. package/dist/{chunk-ITEJQHXE.js → chunk-LLECS747.js} +4 -4
  120. package/dist/{chunk-JYSFAH7C.js → chunk-LM4GVVPM.js} +16 -10
  121. package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
  122. package/dist/{chunk-ZBCCJPGW.js → chunk-M2FF4IPF.js} +16 -7
  123. package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
  124. package/dist/{chunk-BHLNSJG7.js → chunk-MOBRWYUQ.js} +2 -2
  125. package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
  126. package/dist/{chunk-MGXHFRQK.js → chunk-MTOBNHAU.js} +2 -2
  127. package/dist/{chunk-DORE2RHL.js → chunk-MYBBZNYN.js} +2 -2
  128. package/dist/{chunk-V7NUJEJE.js → chunk-MZCJ22O4.js} +1 -1
  129. package/dist/{chunk-W2QILXAL.js → chunk-NIL6TYAN.js} +4 -4
  130. package/dist/{chunk-YW35KSXR.js → chunk-NPDF7HEH.js} +2 -2
  131. package/dist/{chunk-SH4FLUAD.js → chunk-NUASZPS7.js} +1 -1
  132. package/dist/{chunk-Z62TJQO5.js → chunk-NWUEA42V.js} +3 -3
  133. package/dist/{chunk-UOOXWGBU.js → chunk-NZGQLR4X.js} +8 -8
  134. package/dist/{chunk-RQKDEJFQ.js → chunk-O32L5FK2.js} +3 -3
  135. package/dist/{chunk-OUNYHYJL.js → chunk-O623CYPA.js} +3 -3
  136. package/dist/{chunk-OELB7MTE.js → chunk-OJR5GPCN.js} +3 -3
  137. package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
  138. package/dist/{chunk-6NGKQNTB.js → chunk-OM5MAJST.js} +68 -57
  139. package/dist/{chunk-AAQWFTDM.js → chunk-OTOASFG4.js} +92 -35
  140. package/dist/{chunk-6JTCFPAD.js → chunk-P3N74SZ5.js} +3 -3
  141. package/dist/{chunk-CKEFAD4R.js → chunk-PHQGGR5O.js} +3 -3
  142. package/dist/{chunk-DUOGEFLG.js → chunk-POHML4N4.js} +107 -50
  143. package/dist/{chunk-KVBLTAO7.js → chunk-PP23D6QV.js} +4 -5
  144. package/dist/{chunk-F2ET5ZTT.js → chunk-PPOUKS24.js} +0 -1
  145. package/dist/{chunk-V7FV66KL.js → chunk-PRVX4PAO.js} +1 -1
  146. package/dist/{chunk-JY4LTPOV.js → chunk-PSUSHJFV.js} +1 -1
  147. package/dist/{chunk-AJGSCVVW.js → chunk-PZZAVTLQ.js} +2 -2
  148. package/dist/{chunk-R5SGE2NS.js → chunk-QDFX2KAP.js} +2 -2
  149. package/dist/{chunk-XC32OSCD.js → chunk-QKDDGDRF.js} +10 -10
  150. package/dist/{chunk-U6QZOMYC.js → chunk-QM6IW5BL.js} +3 -3
  151. package/dist/chunk-QMQZC2KW.js +408 -0
  152. package/dist/{chunk-42QKUSHJ.js → chunk-QXHFELIA.js} +1 -1
  153. package/dist/{chunk-JNDWRV34.js → chunk-R2RLERPT.js} +1 -1
  154. package/dist/{chunk-E5YF236N.js → chunk-R4MVXUAG.js} +1 -1
  155. package/dist/{chunk-XZOFKLTD.js → chunk-REIIGIJG.js} +3 -3
  156. package/dist/{chunk-4M3UADCM.js → chunk-RF2REMRV.js} +6 -6
  157. package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
  158. package/dist/{chunk-TKH655ON.js → chunk-RLX6VODQ.js} +9 -2
  159. package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
  160. package/dist/{chunk-MVR7YKBF.js → chunk-RSDGBNXP.js} +5 -5
  161. package/dist/{chunk-QFNWGSCT.js → chunk-RYYB7REV.js} +3 -3
  162. package/dist/{chunk-LPMSGO7L.js → chunk-SBYKLBDV.js} +3 -3
  163. package/dist/{chunk-JT3UTEWZ.js → chunk-SDAVHADX.js} +2 -2
  164. package/dist/{chunk-AQ2PQ7FK.js → chunk-SE6LBMRJ.js} +137 -62
  165. package/dist/{chunk-3OSQ32GN.js → chunk-SFRMBCVY.js} +3 -3
  166. package/dist/{chunk-AGJ2QL4A.js → chunk-SNJ3FZXC.js} +14 -12
  167. package/dist/{chunk-USSG6TJV.js → chunk-SXCFMPNM.js} +3 -3
  168. package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
  169. package/dist/{chunk-QATOOZMH.js → chunk-T4CFY4YT.js} +4 -4
  170. package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
  171. package/dist/{chunk-BVIJCUWW.js → chunk-TCWJQIVQ.js} +123 -71
  172. package/dist/{chunk-VACZGW5R.js → chunk-TEZWFQB7.js} +7 -7
  173. package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
  174. package/dist/{chunk-MB5EX2YG.js → chunk-TMVERETB.js} +23 -332
  175. package/dist/{chunk-LOXZSTIM.js → chunk-TQFBLSZJ.js} +44 -27
  176. package/dist/{chunk-NT3HCXQC.js → chunk-U4WG46QP.js} +117 -43
  177. package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
  178. package/dist/{chunk-R3VSWOTI.js → chunk-UFGJNSSL.js} +1 -1
  179. package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
  180. package/dist/{chunk-LXH4RPY4.js → chunk-UI2MKLON.js} +1 -1
  181. package/dist/{chunk-3E6NLODZ.js → chunk-UKEI7JDA.js} +1 -1
  182. package/dist/{chunk-6JFQCVNN.js → chunk-USATDW6O.js} +1 -1
  183. package/dist/{chunk-CQBPNE7Z.js → chunk-UTWLJ6AZ.js} +6 -5
  184. package/dist/{chunk-NQPJWQTW.js → chunk-UV77Y7QK.js} +11 -5
  185. package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
  186. package/dist/{chunk-3RXUA6VY.js → chunk-UZDQFUHO.js} +3 -3
  187. package/dist/{chunk-AKZOQGF3.js → chunk-V3XYFLOZ.js} +3 -3
  188. package/dist/{chunk-OQQMDSCC.js → chunk-VGOZOBNB.js} +1 -1
  189. package/dist/{chunk-K7XPTQBJ.js → chunk-VHZ4MXJO.js} +1 -1
  190. package/dist/{chunk-EBWMTQ4U.js → chunk-VLMKGQ33.js} +13 -13
  191. package/dist/{chunk-34PKJZRY.js → chunk-VMLVZW4F.js} +39 -36
  192. package/dist/{chunk-65U6ZBZZ.js → chunk-VT6PDWUA.js} +78 -78
  193. package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
  194. package/dist/{chunk-33EBLJVZ.js → chunk-VVWTD4XP.js} +9 -9
  195. package/dist/{chunk-5CYLT6FJ.js → chunk-VZVPN7NT.js} +3 -3
  196. package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
  197. package/dist/{chunk-35ZJUZUO.js → chunk-W6NEWQZU.js} +20 -18
  198. package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
  199. package/dist/{chunk-P7UOOMXE.js → chunk-WTH3KQDM.js} +2 -2
  200. package/dist/{chunk-CSMVKG2C.js → chunk-WTWM4RK6.js} +1 -1
  201. package/dist/{chunk-W6XSIBLR.js → chunk-WZNO3LUF.js} +3 -3
  202. package/dist/{chunk-QQMESIDA.js → chunk-X3AMBFGF.js} +3 -3
  203. package/dist/{chunk-DHGE46UK.js → chunk-X725AGYP.js} +1 -1
  204. package/dist/{chunk-TX5FSNAU.js → chunk-XAH4EWJT.js} +1 -1
  205. package/dist/{chunk-4DMRIL5K.js → chunk-XETSLYFD.js} +3 -3
  206. package/dist/{chunk-6V3A3MTG.js → chunk-XFDNAR4S.js} +16 -27
  207. package/dist/{chunk-WMQ57FOP.js → chunk-XGTSZ7NC.js} +3 -3
  208. package/dist/{chunk-HAG3K6PQ.js → chunk-XHEG2BG6.js} +1 -1
  209. package/dist/{chunk-D2TQX7UJ.js → chunk-XLX3TUFO.js} +2 -2
  210. package/dist/{chunk-XLLWIHN2.js → chunk-XMII3G47.js} +3 -3
  211. package/dist/{chunk-BSZOQJXB.js → chunk-XRPZJDAK.js} +101 -72
  212. package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
  213. package/dist/{chunk-HO4ILCW7.js → chunk-XUGEYHOQ.js} +2 -2
  214. package/dist/{chunk-OO63YP35.js → chunk-XVFUJRRC.js} +1 -1
  215. package/dist/{chunk-IVDTP6SV.js → chunk-XWGAANY4.js} +3 -3
  216. package/dist/{chunk-IPZJCBWD.js → chunk-XWUHUTXX.js} +24 -18
  217. package/dist/{chunk-WNTUBGBB.js → chunk-XXYV5UEM.js} +50 -49
  218. package/dist/{chunk-7GRR72MY.js → chunk-XZBX6LIC.js} +20 -12
  219. package/dist/{chunk-ZDJ7C64T.js → chunk-Y4BJ7D5F.js} +1 -1
  220. package/dist/{chunk-KW4JXWHO.js → chunk-YDYZWCUQ.js} +1 -1
  221. package/dist/{chunk-ZCHKIR7C.js → chunk-YJN54OZS.js} +52 -41
  222. package/dist/{chunk-X46PSAJ7.js → chunk-YJXIHVNK.js} +2 -2
  223. package/dist/{chunk-UCKUAKYQ.js → chunk-YKYK6C7F.js} +1 -1
  224. package/dist/{chunk-GNMB72V7.js → chunk-YM4MVABU.js} +56 -24
  225. package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
  226. package/dist/{chunk-PNYWBY4K.js → chunk-YOUYJHW3.js} +3 -3
  227. package/dist/{chunk-OTWIW2L3.js → chunk-YPELB4Q7.js} +3 -3
  228. package/dist/{chunk-5I4RPBNE.js → chunk-YRCIG4IO.js} +8 -7
  229. package/dist/{chunk-FPFRLRQO.js → chunk-ZIQR2CNM.js} +7 -7
  230. package/dist/{chunk-H7BCNS5J.js → chunk-ZK22I3NF.js} +3 -3
  231. package/dist/{chunk-A6N24NGW.js → chunk-ZNA4JHHG.js} +2 -2
  232. package/dist/{chunk-VESSIKBG.js → chunk-ZOQRX5V7.js} +4 -4
  233. package/dist/{chunk-FVWHEM2N.js → chunk-ZPQ3VOAE.js} +1 -1
  234. package/dist/{chunk-NZ7FX3AE.js → chunk-ZQ5ILQ5A.js} +1 -1
  235. package/dist/cli/index.js +1 -1
  236. package/dist/{core-LSYX4UQQ.js → core-2PT7IROA.js} +2 -1
  237. package/dist/{core-YN2VVGUL.js → core-34YTH4KN.js} +1 -1
  238. package/dist/{core-7YDNMUU3.js → core-4ZEVWU43.js} +1 -1
  239. package/dist/{core-743ZXTWK.js → core-64EHPUVV.js} +1 -1
  240. package/dist/{core-ZETBHLSV.js → core-6KO5AEUH.js} +1 -1
  241. package/dist/{core-2GWH3ED7.js → core-7WLD237S.js} +1 -1
  242. package/dist/{core-AC5AKSCM.js → core-A2MERE3C.js} +1 -1
  243. package/dist/{core-O5S2NETE.js → core-AVNB2Q3G.js} +2 -1
  244. package/dist/{core-XUNZB6BM.js → core-B7KOBTRL.js} +1 -1
  245. package/dist/{core-HIONDJGC.js → core-BOOD7ZUQ.js} +1 -1
  246. package/dist/{core-3LCSHMKN.js → core-BOU34T23.js} +1 -1
  247. package/dist/{core-VYHQ5JY6.js → core-BQ2I77OF.js} +2 -1
  248. package/dist/{core-HMBMMF5Z.js → core-BSEXRZD6.js} +1 -1
  249. package/dist/{core-Q2Y3JEWL.js → core-CXEEM26F.js} +1 -1
  250. package/dist/{core-7OAGK7ZJ.js → core-EHMPBG6Q.js} +1 -1
  251. package/dist/{core-BEK6EPVF.js → core-FXC4TB2K.js} +1 -1
  252. package/dist/{core-MIERUUUT.js → core-HMS72VO6.js} +1 -1
  253. package/dist/{core-EGTJOQK7.js → core-I2GPMB2B.js} +1 -1
  254. package/dist/{core-XJZWD43V.js → core-IQC6H4A7.js} +1 -1
  255. package/dist/{core-RTBPKALG.js → core-IYEFTP6C.js} +1 -1
  256. package/dist/{core-3XGQBHJI.js → core-J2QTOU4D.js} +1 -1
  257. package/dist/{core-AEALAFRA.js → core-JJLIPTEW.js} +1 -1
  258. package/dist/{core-5CRTPVYA.js → core-LCP44UYI.js} +1 -2
  259. package/dist/{core-BRBJ3LPF.js → core-MBNVENCZ.js} +1 -1
  260. package/dist/{core-VBMWBPKM.js → core-MVIK7FAJ.js} +2 -1
  261. package/dist/{core-TIIPSEK3.js → core-N4OKPNXQ.js} +1 -1
  262. package/dist/{core-FE4THVV3.js → core-Q4IILTGO.js} +1 -1
  263. package/dist/{core-4N6WH3IF.js → core-QCPDOQEJ.js} +2 -1
  264. package/dist/{core-AAPPZSSZ.js → core-RVTF336C.js} +1 -1
  265. package/dist/{core-5K4HRIHX.js → core-VGMMKEU4.js} +1 -1
  266. package/dist/{core-3NQ5TXOJ.js → core-VUVJOMUC.js} +1 -1
  267. package/dist/{core-T7CKLMT2.js → core-VWISBHXE.js} +1 -1
  268. package/dist/{core-YKDDPMWW.js → core-W3UBWZR3.js} +1 -1
  269. package/dist/{core-FEBNVNVE.js → core-XYQRB5WF.js} +1 -1
  270. package/dist/{core-YP4MNIMV.js → core-Y6DJHIYT.js} +1 -1
  271. package/dist/{core-NTOOJZRA.js → core-YHWVJULU.js} +1 -1
  272. package/dist/{core-VLXOQ5CK.js → core-YJXOVNIE.js} +1 -1
  273. package/dist/{dataTable-FEQZSDUZ.js → dataTable-3ZK3ZEZP.js} +3 -2
  274. package/dist/{engine-SCQVNSAM.js → engine-FSWLRWZR.js} +19 -17
  275. package/dist/fixtures.js +1 -1
  276. package/dist/index.js +14 -13
  277. package/dist/{main-7UKLXCIL.js → main-NYMXWJGJ.js} +6 -5
  278. package/dist/mcp/server.js +11 -10
  279. package/dist/react/bar.js +1 -1
  280. package/dist/react/bartable.js +1 -1
  281. package/dist/react/box.js +1 -1
  282. package/dist/react/bullet.js +1 -1
  283. package/dist/react/butterfly.js +1 -1
  284. package/dist/react/choropleth.js +1 -1
  285. package/dist/react/cohort.js +2 -1
  286. package/dist/react/column.js +1 -1
  287. package/dist/react/combo.js +1 -1
  288. package/dist/react/creative.js +1 -1
  289. package/dist/react/diagram.js +1 -1
  290. package/dist/react/dimswitch.js +1 -1
  291. package/dist/react/dot.js +1 -1
  292. package/dist/react/export.js +24 -19
  293. package/dist/react/funnel.js +1 -1
  294. package/dist/react/gantt.js +1 -1
  295. package/dist/react/grid.js +1 -1
  296. package/dist/react/heatmap.js +2 -1
  297. package/dist/react/histogram.js +1 -1
  298. package/dist/react/index.js +84 -83
  299. package/dist/react/kpi.js +1 -1
  300. package/dist/react/likert.js +1 -1
  301. package/dist/react/line.js +2 -1
  302. package/dist/react/mekko.js +1 -1
  303. package/dist/react/pareto.js +1 -1
  304. package/dist/react/pie.js +1 -1
  305. package/dist/react/prepare.js +22 -20
  306. package/dist/react/pvm.js +1 -1
  307. package/dist/react/pyramid.js +1 -1
  308. package/dist/react/sankey.js +1 -1
  309. package/dist/react/scatter.js +2 -1
  310. package/dist/react/slope.js +1 -1
  311. package/dist/react/sparkline.js +1 -1
  312. package/dist/react/spec.js +10 -10
  313. package/dist/react/status.js +2 -1
  314. package/dist/react/story.js +3 -3
  315. package/dist/react/table.js +1 -1
  316. package/dist/react/theme.js +3 -3
  317. package/dist/react/tilemap.js +1 -1
  318. package/dist/react/treemap.js +1 -1
  319. package/dist/react/variance.js +1 -1
  320. package/dist/react/waffle.js +1 -1
  321. package/dist/react/waterfall.js +1 -1
  322. package/dist/{rowsModule-WJH4QNXZ.js → rowsModule-43LCK2Q7.js} +1 -1
  323. package/dist/{schema-MQT6BMNK.js → schema-2ACHQTR3.js} +1 -1
  324. package/dist/{schema-WZOSDDDJ.js → schema-3LRC5TOZ.js} +1 -1
  325. package/dist/{schema-F7TWGLRZ.js → schema-4HGZZNUL.js} +1 -1
  326. package/dist/{schema-PWPQF5RC.js → schema-4YIYGGOJ.js} +1 -1
  327. package/dist/{schema-ECJERHKF.js → schema-5OLQ54J5.js} +1 -1
  328. package/dist/{schema-CWKGLDSR.js → schema-5SVPR3EU.js} +1 -1
  329. package/dist/{schema-BA6WP5YZ.js → schema-A4U4RDKJ.js} +1 -1
  330. package/dist/{schema-JYZ4RF6S.js → schema-AM2KS6ZC.js} +1 -1
  331. package/dist/{schema-PYQEUC5P.js → schema-C25ECGJL.js} +1 -1
  332. package/dist/{schema-56MOEOVR.js → schema-CBLNGK2F.js} +1 -1
  333. package/dist/{schema-ESR6ZIK4.js → schema-D3ELHESU.js} +1 -1
  334. package/dist/{schema-5MSR4LNN.js → schema-FBIEOKO2.js} +1 -1
  335. package/dist/{schema-DUVJMFKQ.js → schema-FPDLOIA6.js} +1 -1
  336. package/dist/{schema-ALBF6V7Y.js → schema-FQWENOJY.js} +1 -1
  337. package/dist/{schema-DBIQFL56.js → schema-GTLGAPCU.js} +1 -1
  338. package/dist/{schema-Q5DACE4I.js → schema-GUDG343K.js} +2 -2
  339. package/dist/{schema-47BG2TZA.js → schema-GYTWCCNA.js} +1 -1
  340. package/dist/{schema-DL7V6NN2.js → schema-GYVYJEL3.js} +1 -1
  341. package/dist/{schema-ZU2EU2VP.js → schema-HAMPGUH3.js} +1 -1
  342. package/dist/{schema-TVUJNEX7.js → schema-IYBZPCM4.js} +1 -1
  343. package/dist/{schema-2TPGJGVR.js → schema-IYLRZNFB.js} +1 -1
  344. package/dist/{schema-KAK6DZX4.js → schema-KBV2JB2A.js} +1 -1
  345. package/dist/{schema-PV7JGX5H.js → schema-KWCIIIGP.js} +1 -1
  346. package/dist/{schema-Y4TI2T3T.js → schema-LDF6HORS.js} +1 -1
  347. package/dist/{schema-FKGGTM4Z.js → schema-LGYHJPXU.js} +1 -1
  348. package/dist/{schema-CBL2SMVR.js → schema-LX4EXDTI.js} +1 -1
  349. package/dist/{schema-2R32F6AW.js → schema-NNNG7CWG.js} +1 -1
  350. package/dist/{schema-OPXZYIW7.js → schema-P2JYSV32.js} +1 -1
  351. package/dist/{schema-FGB6IGZM.js → schema-PAKZIYQF.js} +1 -1
  352. package/dist/{schema-R42VXFIS.js → schema-SQ2GYLMI.js} +1 -1
  353. package/dist/{schema-KCJ6WTGV.js → schema-SUDJBIHX.js} +1 -1
  354. package/dist/{schema-MR3BPPQR.js → schema-TRPPZCIR.js} +1 -1
  355. package/dist/{schema-JIAQE7WO.js → schema-UNYDUIL5.js} +1 -1
  356. package/dist/{schema-5RIYEWE6.js → schema-VH4AW62Z.js} +1 -1
  357. package/dist/{schema-EDSEKZDJ.js → schema-WDKBCN3V.js} +1 -1
  358. package/dist/{schema-MOKWIGF7.js → schema-YCKUQ3FF.js} +1 -1
  359. package/dist/{schema-K7F6TEDK.js → schema-YVBUY7NH.js} +1 -1
  360. package/dist/{specValidation-DC4TVHWD.js → specValidation-FKHSTMMR.js} +1 -1
  361. package/dist/theme.js +2 -2
  362. package/dist/types/core/a11y/recordsShared.d.ts +15 -4
  363. package/dist/types/core/a11y/types.d.ts +0 -3
  364. package/dist/types/core/annotate.d.ts +17 -1
  365. package/dist/types/core/annotateTargets.d.ts +8 -0
  366. package/dist/types/core/charts/band/stacks.d.ts +4 -3
  367. package/dist/types/core/charts/bar/layout.d.ts +3 -1
  368. package/dist/types/core/charts/bartable/types.d.ts +3 -0
  369. package/dist/types/core/charts/box/types.d.ts +5 -0
  370. package/dist/types/core/charts/column/anomaly.d.ts +12 -5
  371. package/dist/types/core/charts/column/model.d.ts +4 -0
  372. package/dist/types/core/charts/combo/endpoints.d.ts +11 -1
  373. package/dist/types/core/charts/combo/layout.d.ts +7 -1
  374. package/dist/types/core/charts/dimswitch/compile.d.ts +20 -3
  375. package/dist/types/core/charts/grid/metricStack.d.ts +2 -4
  376. package/dist/types/core/charts/histogram/types.d.ts +3 -0
  377. package/dist/types/core/charts/likert/layout.d.ts +5 -2
  378. package/dist/types/core/charts/logAxis.d.ts +0 -5
  379. package/dist/types/core/charts/scatter/logAxis.d.ts +1 -1
  380. package/dist/types/core/charts/scatter/model.d.ts +10 -1
  381. package/dist/types/core/charts/scatter/trend.d.ts +19 -0
  382. package/dist/types/core/charts/table/view.d.ts +7 -0
  383. package/dist/types/core/charts/waffle/types.d.ts +8 -0
  384. package/dist/types/core/formatPrecision.d.ts +24 -0
  385. package/dist/types/core/formatSpec.d.ts +213 -61
  386. package/dist/types/core/label/solver.d.ts +3 -1
  387. package/dist/types/core/numberRule.d.ts +109 -0
  388. package/dist/types/core/numberSets.d.ts +43 -0
  389. package/dist/types/core/shownMarks.d.ts +16 -0
  390. package/dist/types/core/types/options.d.ts +8 -8
  391. package/dist/types/core/types/scene.d.ts +24 -0
  392. package/dist/types/core/types/table.d.ts +0 -13
  393. package/dist/types/react/TableChart.d.ts +9 -7
  394. package/dist/types/react/hover/engine.d.ts +6 -4
  395. package/dist/types/react/hover/labelCard.d.ts +4 -3
  396. package/dist/validate.js +5 -4
  397. package/docs/manual.md +15 -7
  398. package/docs/reference/bartable.md +2 -2
  399. package/docs/reference/cohort.md +1 -1
  400. package/docs/reference/column.md +1 -1
  401. package/docs/reference/dimswitch.md +2 -3
  402. package/docs/reference/fixtures.md +1 -1
  403. package/docs/reference/grid.md +13 -7
  404. package/docs/reference/heatmap.md +1 -1
  405. package/docs/reference/line.md +2 -2
  406. package/docs/reference/options.md +3 -3
  407. package/docs/reference/react.md +1 -1
  408. package/docs/reference/table.md +5 -8
  409. package/docs/reference/warnings.md +0 -1
  410. package/package.json +1 -1
  411. package/dist/chunk-2IRMGCYE.js +0 -125
  412. package/dist/chunk-WVCDISZP.js +0 -89
  413. package/dist/types/core/charts/table/fitFormats.d.ts +0 -67
  414. package/dist/types/core/charts/table/resolve.d.ts +0 -84
  415. package/dist/types/core/format.d.ts +0 -156
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  seatsPastBlockers,
3
3
  stackSegmentCandidates
4
- } from "./chunk-HO4ILCW7.js";
4
+ } from "./chunk-XUGEYHOQ.js";
5
5
  import {
6
6
  cellFields,
7
7
  normalizeCategorySeries
@@ -10,10 +10,10 @@ import {
10
10
  hasLabelPosition,
11
11
  positionBarLabel,
12
12
  refuseLabelPosition
13
- } from "./chunk-76GPN6AT.js";
13
+ } from "./chunk-7UUSHA7H.js";
14
14
  import {
15
15
  roundWholes
16
- } from "./chunk-MXUPMGRY.js";
16
+ } from "./chunk-4YKS2JDE.js";
17
17
  import {
18
18
  compositionBasis,
19
19
  mixedSignsWarning,
@@ -22,10 +22,10 @@ import {
22
22
  sk,
23
23
  stackParts,
24
24
  withoutShareMean
25
- } from "./chunk-ETUKDEGL.js";
25
+ } from "./chunk-7QUWM5W6.js";
26
26
  import {
27
27
  segmentTooShort
28
- } from "./chunk-TKH655ON.js";
28
+ } from "./chunk-RLX6VODQ.js";
29
29
  import {
30
30
  valueLineExtent
31
31
  } from "./chunk-QPWRHDLZ.js";
@@ -33,15 +33,15 @@ import {
33
33
  isIncomplete,
34
34
  warnIncompleteComposition,
35
35
  warnShareRoundingDrift
36
- } from "./chunk-AICO24HJ.js";
36
+ } from "./chunk-5QMM354E.js";
37
37
  import {
38
38
  runAnnotatePass
39
- } from "./chunk-R5SGE2NS.js";
39
+ } from "./chunk-QDFX2KAP.js";
40
40
  import {
41
41
  breakUnsupported,
42
42
  chartPalette,
43
43
  chartTheme
44
- } from "./chunk-WFBN2HXR.js";
44
+ } from "./chunk-AIPOSNVG.js";
45
45
  import {
46
46
  mekkoAmount,
47
47
  mekkoStackingMode,
@@ -50,13 +50,13 @@ import {
50
50
  restLabel,
51
51
  restSum,
52
52
  topNCut
53
- } from "./chunk-6JFQCVNN.js";
53
+ } from "./chunk-USATDW6O.js";
54
54
  import {
55
55
  noTotal
56
56
  } from "./chunk-5ACFYNA4.js";
57
57
  import {
58
58
  structureCount
59
- } from "./chunk-KW4JXWHO.js";
59
+ } from "./chunk-YDYZWCUQ.js";
60
60
  import {
61
61
  PLOT_FLOOR_PX,
62
62
  PLOT_FLOOR_RECT,
@@ -80,10 +80,10 @@ import {
80
80
  tickFormatter,
81
81
  valueAxisTitleBand,
82
82
  valueAxisTitleRequest
83
- } from "./chunk-GNMB72V7.js";
83
+ } from "./chunk-YM4MVABU.js";
84
84
  import {
85
85
  prepareFractionData
86
- } from "./chunk-42QKUSHJ.js";
86
+ } from "./chunk-QXHFELIA.js";
87
87
  import {
88
88
  PRIORITY,
89
89
  authoredFootnoteCount,
@@ -105,34 +105,38 @@ import {
105
105
  solveLabels,
106
106
  unitPrinted,
107
107
  withAuthoredFootnotes
108
- } from "./chunk-4OJF6DXL.js";
108
+ } from "./chunk-AUSZDYGE.js";
109
109
  import {
110
110
  disclosureNote,
111
111
  disclosuresShown
112
- } from "./chunk-DZYTXZNS.js";
112
+ } from "./chunk-WD5NJHZG.js";
113
113
  import {
114
114
  emptyIdRecord
115
115
  } from "./chunk-LINZPU5D.js";
116
116
  import {
117
117
  defaultFormatSpec,
118
+ defaultSetSpec,
119
+ engineFormatterFromExample,
118
120
  exampleSpec,
119
121
  formatNonzeroWithSpec,
122
+ formatWithSpec,
120
123
  formatterFromExample,
121
124
  normalizedSeriesNumbers,
122
125
  parseFormatExample,
126
+ roundedNumber,
123
127
  specUnitKind,
124
128
  withUnit
125
- } from "./chunk-Z6DUNKFU.js";
129
+ } from "./chunk-3JG764MI.js";
126
130
  import {
131
+ authoredDecimals,
127
132
  chartStrings,
128
- formatAuthoredPercent,
129
- formatAutomaticNumber,
130
133
  formatAutomaticPercent,
131
134
  formatShare,
132
135
  notApplicableGlyph,
133
- shareSetDecimals,
136
+ printedShare,
137
+ shareDecimals,
134
138
  shareSetFormatter
135
- } from "./chunk-MSYTF3DZ.js";
139
+ } from "./chunk-FYFXOLWI.js";
136
140
  import {
137
141
  canvasMargin,
138
142
  cleanFloat,
@@ -162,7 +166,7 @@ import {
162
166
  textScaleOf,
163
167
  typeWidthClass,
164
168
  withSegmentSeams
165
- } from "./chunk-TX5FSNAU.js";
169
+ } from "./chunk-XAH4EWJT.js";
166
170
  import {
167
171
  DEFAULT_TARGET,
168
172
  NormalizeError,
@@ -224,24 +228,41 @@ var EN = {
224
228
  // src/core/charts/mekko/domain.ts
225
229
  function resolveMekkoEnv(options, warnings, data) {
226
230
  breakUnsupported("mekko", options, warnings);
227
- let theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), autoDecimals = (v) => Number.isInteger(v) || Math.abs(v) >= 100 ? 0 : 1, lang = options.locale?.language, plainFmt = (v) => formatAutomaticNumber(v, { locale: lang, decimals: autoDecimals(v) }), percentExample = options.format && specUnitKind(parseFormatExample(options.format)) === "percent", sharesOnly = percentExample && ((options.variant ?? "stacked100") === "stacked100" || options.valueAxis?.percent), printed = (data?.series ?? []).flatMap((series) => normalizedSeriesNumbers(series) ?? []), columns = printed.length > 0 ? data.series.map((series) => normalizedSeriesNumbers(series) ?? []) : [], totals = (data?.categories ?? []).map((_, c) => columns.reduce((sum, values) => sum + (values[c] ?? 0), 0)), totalSpec = options.format && !sharesOnly ? exampleSpec(options.format, lang, void 0, [...printed, ...totals]) : void 0;
231
+ let theme = chartTheme(options), paletteRamp = chartPalette(theme, options.palette, warnings), lang = options.locale?.language, percentExample = options.format && specUnitKind(parseFormatExample(options.format)) === "percent", sharesOnly = percentExample && ((options.variant ?? "stacked100") === "stacked100" || options.valueAxis?.percent), printed = (data?.series ?? []).flatMap((series) => normalizedSeriesNumbers(series) ?? []), columns = printed.length > 0 ? data.series.map((series) => normalizedSeriesNumbers(series) ?? []) : [], totals = (data?.categories ?? []).map((_, c) => columns.reduce((sum, values) => sum + (values[c] ?? 0), 0)), totalSpec = options.format && !sharesOnly ? exampleSpec(options.format, lang, void 0, [...printed, ...totals]) : void 0, sets = mekkoRuleSets(options, data), rule = options.format && !sharesOnly ? void 0 : sets, byRule = (spec) => (v) => formatWithSpec(v, spec);
228
232
  return {
229
233
  options,
230
234
  theme,
231
235
  palette: paletteRamp ? options.palette : void 0,
232
236
  size: resolveSize(options.size),
233
237
  measure: options.measure ?? defaultMeasurer,
234
- fmt: options.format && !sharesOnly ? formatterFromExample(options.format, lang, void 0, [...printed, ...totals]) : plainFmt,
235
- totalFmt: totalSpec ? (v) => formatNonzeroWithSpec(v, totalSpec) : plainFmt,
236
- widthFmt: plainFmt,
238
+ fmt: options.format && !sharesOnly ? formatterFromExample(options.format, lang, void 0, [...printed, ...totals]) : byRule(rule.levels),
239
+ ...rule ? { fmtFor: (seriesId) => {
240
+ let own = rule.series.get(seriesId);
241
+ return byRule(own || rule.levels);
242
+ }, levelSpec: rule.levels, pctCellSpec: rule.percent } : {},
243
+ tickFmt: options.format && !sharesOnly ? engineFormatterFromExample(options.format, lang, void 0, [...printed, ...totals]) : byRule(rule.levels),
244
+ totalFmt: totalSpec ? (v) => formatNonzeroWithSpec(v, totalSpec) : byRule(rule.totals),
245
+ widthFmt: byRule(sets.width),
237
246
  pctFmt: percentExample ? formatterFromExample(options.format, lang) : (p) => formatShare(p, lang),
238
- cellPctFmt: percentExample ? formatterFromExample(options.format, lang) : (p) => formatAutomaticPercent(p, autoDecimals(p), !1, lang),
239
- authoredPctFmt: percentExample ? formatterFromExample(options.format, lang) : (p) => formatAuthoredPercent(p, lang),
247
+ cellPctFmt: percentExample ? formatterFromExample(options.format, lang) : byRule(sets.percent),
248
+ authoredPctFmt: percentExample ? formatterFromExample(options.format, lang) : byRule(sets.percent),
240
249
  highlights: new Set(resolveHighlight(options.highlight)),
241
250
  density: options.labelDensity ?? "smart",
242
251
  va: options.valueAxis ?? {}
243
252
  };
244
253
  }
254
+ function seriesPercents(series) {
255
+ let out = [];
256
+ for (let item of Array.isArray(series.values) ? series.values : []) {
257
+ let cell = item !== null && typeof item == "object" && "categoryId" in item && "value" in item ? item.value : item, pct = cell !== null && typeof cell == "object" ? cell.pct : void 0;
258
+ typeof pct == "number" && Number.isFinite(pct) && out.push(pct);
259
+ }
260
+ return out;
261
+ }
262
+ function mekkoRuleSets(options, data) {
263
+ let lang = options.locale?.language, all = data?.series ?? [], widthSeries = all.find((s) => s.id === options.widthSeriesId), plotted = all.filter((s) => s !== widthSeries), ownUnit = (s) => typeof s.unit == "string" && s.unit !== options.unit, numbersOf = (s) => normalizedSeriesNumbers(s) ?? [], chartSeries = plotted.filter((s) => !ownUnit(s)), columns = plotted.map((s) => numbersOf(s)), totals = (data?.categories ?? []).map((_, c) => columns.reduce((sum, values) => sum + (values[c] ?? 0), 0)), totalsJoin = chartSeries.length === plotted.length, levels = defaultSetSpec([...chartSeries.flatMap(numbersOf), ...totalsJoin ? totals : []], lang, options.unit), series = new Map(plotted.filter(ownUnit).map((s) => [s.id, defaultSetSpec(numbersOf(s), lang, s.unit)])), common = new Set(plotted.map((s) => ownUnit(s) ? s.unit : options.unit)), totalsSpec = totalsJoin ? levels : defaultSetSpec(totals, lang, common.size === 1 ? [...common][0] : void 0), width = defaultSetSpec(widthSeries ? numbersOf(widthSeries) : [], lang, widthSeries?.unit ?? options.unit), percent = { ...defaultSetSpec(plotted.flatMap(seriesPercents), lang, void 0, { kind: "percent" }), suffix: "%" };
264
+ return { levels, series, totals: totalsSpec, width, percent };
265
+ }
245
266
  function normalizeMekkoData(data) {
246
267
  let { cats, series } = normalizeCategorySeries("mekko", data, (s, cells) => ({
247
268
  id: s.id,
@@ -473,21 +494,29 @@ function resolveMekkoDomain(data, env, warnings) {
473
494
  plottedAt: fns.plottedAt,
474
495
  absAt: fns.absAt,
475
496
  invalidAt: fns.invalidAt,
476
- shareTexts: rounded?.texts ?? (options.format && specUnitKind(parseFormatExample(options.format)) === "percent" ? /* @__PURE__ */ new Map() : oneColumnPrecision(st, fns, incomplete, options.locale?.language)),
497
+ ...shareLabels(rounded?.texts, options, st, fns, incomplete),
477
498
  ...rounded ? { roundingAdjustments: rounded.adjustments } : {}
478
499
  };
479
500
  }
501
+ function shareLabels(rounded, options, st, fns, incomplete) {
502
+ if (rounded) return { shareTexts: rounded, shareDecimals: /* @__PURE__ */ new Map() };
503
+ let authored = options.format ? parseFormatExample(options.format) : void 0;
504
+ if (authored && specUnitKind(authored) === "percent") return { shareTexts: /* @__PURE__ */ new Map(), shareDecimals: new Map(st.cats.map((c) => [c.id, authored.decimals])) };
505
+ let columns = oneColumnPrecision(st, fns, incomplete, options.locale?.language);
506
+ return { shareTexts: columns.texts, shareDecimals: columns.decimals };
507
+ }
480
508
  function oneColumnPrecision(st, fns, incomplete, locale) {
481
- let texts = /* @__PURE__ */ new Map();
482
- return st.mode === "bar" || st.cats.forEach((c, ci) => {
509
+ let texts = /* @__PURE__ */ new Map(), decimals = /* @__PURE__ */ new Map();
510
+ return st.mode === "bar" ? { texts, decimals } : (st.cats.forEach((c, ci) => {
483
511
  if (fns.invalidAt(ci) || incomplete.has(c.id)) return;
484
512
  let total = st.series.reduce((sum, s) => sum + (fns.absAt(s, ci) ?? 0), 0), shares = st.series.flatMap((s) => {
485
513
  if (s.vals[ci].isPct) return [];
486
514
  let share = st.mode === "percent" ? fns.plottedAt(s, ci) : total !== 0 && fns.absAt(s, ci) !== null ? fns.absAt(s, ci) / total * 100 : null;
487
515
  return share === null ? [] : [{ id: s.id, share }];
488
516
  }), set = shareSetFormatter(shares.map((entry) => entry.share), locale);
517
+ decimals.set(c.id, set.decimals);
489
518
  for (let { id, share } of shares) texts.set(`${c.id}\0${id}`, set.format(share));
490
- }), texts;
519
+ }), { texts, decimals });
491
520
  }
492
521
 
493
522
  // src/core/charts/mekko/model.ts
@@ -557,7 +586,7 @@ function kindSetting(env, kind) {
557
586
  return v === void 0 ? !0 : v;
558
587
  }
559
588
  function mekkoPlotArea(env, domain, frame, warnings) {
560
- let { theme, measure, va, options } = env, { mode, cats, weights, totalWeight, dLo, dHi } = domain, tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, totalH = measure("0", strongFont).height, hasCagr = (options.annotations ?? []).some((a) => a.kind === "cagr"), catsOnTop = mode === "percent", showCats = kindSetting(env, "category") !== !1, showTotals = kindSetting(env, "total") !== !1 && domain.cats.some((c) => !domain.wholeUnknown.has(c.id)), percentCells = mode === "unit" && domain.series.every((s) => s.vals.every((cell) => cell.v === null || cell.isPct)), axisSpec = percentCells && !(options.format && specUnitKind(parseFormatExample(options.format)) === "percent") ? { ...defaultFormatSpec(options.locale?.language), suffix: "%" } : void 0, stepSpec = mode === "percent" ? { ...defaultFormatSpec(options.locale?.language), suffix: "%" } : axisSpec ?? (options.format ? exampleSpec(options.format, options.locale?.language) : defaultFormatSpec(options.locale?.language)), axisFmt = domain.stepTicks ? tickFormatter(stepSpec, domain.stepTicks) : mode === "percent" ? (v) => formatAutomaticPercent(v, 0, !1, options.locale?.language) : percentCells ? env.cellPctFmt : env.fmt, segmentSetting = kindSetting(env, "segment"), valuesPrinted = (part) => segmentSetting === !0 || Array.isArray(segmentSetting) && segmentSetting.includes(part), smallCard = va.show === void 0 && (panelTypeClass(options) ?? typeWidthClass(env.size.width)) === "S", compactPercent = smallCard && mode === "percent" && valuesPrinted("percent"), compactUnit = smallCard && mode === "unit" && showTotals && (valuesPrinted("absolute") || domain.series.length === 1), showAxis = va.show ?? (mode !== "bar" && !compactPercent && !compactUnit), axisTitle = (showAxis || compactPercent) && axisTitleAllowed(options.labels) ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, frame.plot.w) : void 0, axisTitleBand = valueAxisTitleBand(axisTitle, theme, measure, catsOnTop ? measure("0", tickFont).height : 0), axisReserve = showAxis ? measureValueAxisWidth([dLo, dHi], axisFmt, theme, measure, 5, axisSpec, domain.stepTicks) : 0, plotX0 = frame.plot.x + axisReserve, plotWFull = showAxis ? Math.max(10, frame.plot.w - axisReserve) : frame.plot.w, edgesFor = (plotW) => {
589
+ let { theme, measure, va, options } = env, { mode, cats, weights, totalWeight, dLo, dHi } = domain, tickFont = { family: theme.type.family, ...theme.type.axis }, labelFont = { family: theme.type.family, ...theme.type.label }, strongFont = { family: theme.type.family, ...theme.type.label, weight: emphasisWeight(theme) }, totalH = measure("0", strongFont).height, hasCagr = (options.annotations ?? []).some((a) => a.kind === "cagr"), catsOnTop = mode === "percent", showCats = kindSetting(env, "category") !== !1, showTotals = kindSetting(env, "total") !== !1 && domain.cats.some((c) => !domain.wholeUnknown.has(c.id)), percentCells = mode === "unit" && domain.series.every((s) => s.vals.every((cell) => cell.v === null || cell.isPct)), axisSpec = (mode === "unit" ? percentCells ? env.pctCellSpec : env.levelSpec : void 0) ?? (percentCells && !(options.format && specUnitKind(parseFormatExample(options.format)) === "percent") ? { ...defaultFormatSpec(options.locale?.language), suffix: "%" } : void 0), stepSpec = mode === "percent" ? { ...defaultFormatSpec(options.locale?.language), suffix: "%" } : axisSpec ?? (options.format ? exampleSpec(options.format, options.locale?.language) : defaultFormatSpec(options.locale?.language)), axisFmt = domain.stepTicks ? tickFormatter(stepSpec, domain.stepTicks) : mode === "percent" ? (v) => formatAutomaticPercent(v, 0, !1, options.locale?.language) : percentCells ? env.cellPctFmt : env.tickFmt, segmentSetting = kindSetting(env, "segment"), valuesPrinted = (part) => segmentSetting === !0 || Array.isArray(segmentSetting) && segmentSetting.includes(part), smallCard = va.show === void 0 && (panelTypeClass(options) ?? typeWidthClass(env.size.width)) === "S", compactPercent = smallCard && mode === "percent" && valuesPrinted("percent"), compactUnit = smallCard && mode === "unit" && showTotals && (valuesPrinted("absolute") || domain.series.length === 1), showAxis = va.show ?? (mode !== "bar" && !compactPercent && !compactUnit), axisTitle = (showAxis || compactPercent) && axisTitleAllowed(options.labels) ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, frame.plot.w) : void 0, axisTitleBand = valueAxisTitleBand(axisTitle, theme, measure, catsOnTop ? measure("0", tickFont).height : 0), axisReserve = showAxis ? measureValueAxisWidth([dLo, dHi], axisFmt, theme, measure, 5, axisSpec, domain.stepTicks) : 0, plotX0 = frame.plot.x + axisReserve, plotWFull = showAxis ? Math.max(10, frame.plot.w - axisReserve) : frame.plot.w, edgesFor = (plotW) => {
561
590
  let edges = [plotX0], cumW = 0;
562
591
  return cats.forEach((_, ci) => {
563
592
  cumW += totalWeight > 0 ? weights[ci] : 1;
@@ -799,11 +828,29 @@ function contentOf(env, kind, dflt) {
799
828
  let s = kindSetting(env, kind);
800
829
  return s === !1 ? null : Array.isArray(s) ? s : dflt;
801
830
  }
802
- function composeText(env, content, values, catLabel, serLabel, example, absFmt = env.fmt) {
831
+ function composeParts(env, content, values, catLabel, serLabel, example, absFmt = env.fmt) {
803
832
  let parts = [];
804
833
  for (let c of content)
805
- c === "absolute" && values.abs !== null ? parts.push(example ? formatterFromExample(example, env.options.locale?.language)(values.abs) : values.absIsPct ? env.cellPctFmt(values.abs) : absFmt(values.abs)) : c === "percent" && values.pct !== null ? parts.push((env.options.rounding === "sum-consistent" ? values.pctText : void 0) ?? (example ? formatterFromExample(example, env.options.locale?.language)(values.pct) : values.authoredPct ? env.authoredPctFmt(values.pct) : values.pctText ?? env.pctFmt(values.pct))) : c === "category" && catLabel ? parts.push(catLabel) : c === "series" && serLabel && parts.push(serLabel);
806
- return parts.join(" ");
834
+ c === "absolute" && values.abs !== null ? parts.push([c, example ? formatterFromExample(example, env.options.locale?.language)(values.abs) : values.absIsPct ? env.cellPctFmt(values.abs) : absFmt(values.abs)]) : c === "percent" && values.pct !== null ? parts.push([c, (env.options.rounding === "sum-consistent" ? values.pctText : void 0) ?? (example ? formatterFromExample(example, env.options.locale?.language)(values.pct) : values.authoredPct ? env.authoredPctFmt(values.pct) : values.pctText ?? env.pctFmt(values.pct))]) : c === "category" && catLabel ? parts.push([c, catLabel]) : c === "series" && serLabel && parts.push([c, serLabel]);
835
+ return parts;
836
+ }
837
+ function printedSegmentShare(env, domain, s, ci, share) {
838
+ let example = s.vals[ci].format ?? s.format;
839
+ return example ? roundedNumber(share, exampleSpec(example, env.options.locale?.language)) : printedShare(share, domain.shareDecimals.get(domain.cats[ci].id) ?? shareDecimals(share));
840
+ }
841
+ function composeText(...args) {
842
+ return composeParts(...args).map(([, text]) => text).join(" ");
843
+ }
844
+ function shownParts(parts, override, absIsValue) {
845
+ if (override === !1 || typeof override == "string" && !override.includes("${value}")) return;
846
+ let value = absIsValue ? parts.find(([kind]) => kind === "absolute")?.[1] : void 0, share = parts.find(([kind]) => kind === "percent")?.[1];
847
+ if (!(value === void 0 && share === void 0))
848
+ return { ...value === void 0 ? {} : { value }, ...share === void 0 ? {} : { "share.percent": share } };
849
+ }
850
+ function segmentValueText(env, domain, s, ci) {
851
+ if (domain.mode === "bar") return s === domain.series[0] && domain.plottedAt(s, ci) !== null ? columnShownText(env, domain, ci) : null;
852
+ let val = s.vals[ci], abs = domain.absAt(s, ci);
853
+ return abs === null || domain.mode === "percent" && val.isPct ? null : composeParts(env, ["absolute"], { abs, pct: null, absIsPct: val.isPct }, "", "", val.format ?? s.format, env.fmtFor?.(s.id))[0]?.[1] ?? null;
807
854
  }
808
855
  function valueLineRules(env, domain, area) {
809
856
  return (env.options.annotations ?? []).flatMap((annotation) => {
@@ -828,13 +875,13 @@ function segmentLabels(ctx, geometry) {
828
875
  if (!baseContent) return;
829
876
  let last = cats.length - 1;
830
877
  for (let { s, si, ci, v, rect } of geometry.segments) {
831
- let c = cats[ci], val = s.vals[ci], content = ci === area.namedCol && !baseContent.includes("series") ? ["series", ...baseContent] : baseContent, pct = domain.incomplete.has(c.id) && (mode !== "percent" || c.total100 === void 0) ? null : mode === "percent" ? v : domain.shares[c.id][s.id] ?? null, text = composeText(env, content, {
878
+ let c = cats[ci], val = s.vals[ci], content = ci === area.namedCol && !baseContent.includes("series") ? ["series", ...baseContent] : baseContent, pct = domain.incomplete.has(c.id) && (mode !== "percent" || c.total100 === void 0) ? null : mode === "percent" ? v : domain.shares[c.id][s.id] ?? null, parts = composeParts(env, content, {
832
879
  abs: domain.absAt(s, ci),
833
880
  pct,
834
881
  authoredPct: mode === "percent" && val.isPct,
835
882
  absIsPct: mode !== "percent" && val.isPct,
836
883
  pctText: domain.shareTexts.get(`${c.id}\0${s.id}`)
837
- }, c.label ?? c.id, s.label, val.format ?? s.format);
884
+ }, c.label ?? c.id, s.label, val.format ?? s.format, env.fmtFor?.(s.id)), text = parts.map(([, part]) => part).join(" "), shows = shownParts(parts, val.labelOverride, !(mode === "percent" && val.isPct));
838
885
  if (typeof val.labelOverride == "string" && (text = val.labelOverride.replace(/\$\{value\}/g, text)), !text && val.labelOverride !== !1) continue;
839
886
  let tsize = env.measure(text || "0", area.labelFont), bw = colW(area, ci), fits = tsize.height + 4 <= rect.h && tsize.width + 4 <= bw, pin = env.options.labelPlacements?.[`segment:${s.id}:${c.id}`], inGutter = area.gutter > 0 && ci === last, topSegment = Math.abs(rect.y - area.y(Math.max(domain.posTop[ci], 0))) < 0.5, air = topSegment ? 2 : 4, tooShort = env.density === "smart" ? !pin && rect.h < tsize.height + air : segmentTooShort(env.density, rect.h, tsize.height, pin), topSeat = (candidates2) => {
840
887
  let tight = topSegment && rect.h < tsize.height + 4 ? candidates2.find((candidate) => candidate.slot === "insideTight") : void 0, y = rect.y + rect.h - 2.01 - tsize.height;
@@ -851,6 +898,7 @@ function segmentLabels(ctx, geometry) {
851
898
  // A label that carries its series name ("Acme 44%") is composed: its role follows the string.
852
899
  ...content.includes("series") ? { role: composedTextRole(text) } : {},
853
900
  text,
901
+ ...shows ? { shows } : {},
854
902
  lines: [text],
855
903
  font: area.labelFont,
856
904
  priority,
@@ -880,6 +928,10 @@ function columnTotalText(env, domain, ci, value = domain.columnTotals[domain.cat
880
928
  let series = domain.series[0], example = domain.mode === "bar" ? series.vals[ci].format ?? series.format : void 0;
881
929
  return example ? formatterFromExample(example, env.options.locale?.language)(value) : (domain.mode === "bar" || domain.mode === "unit" && domain.series.length === 1) && series.vals[ci].isPct ? (domain.mode === "bar" ? env.authoredPctFmt : env.cellPctFmt)(value) : env.totalFmt(value);
882
930
  }
931
+ function columnShownText(env, domain, ci) {
932
+ let bar = domain.mode === "bar" ? domain.plottedAt(domain.series[0], ci) : null;
933
+ return bar === null ? columnTotalText(env, domain, ci) : columnTotalText(env, domain, ci, bar);
934
+ }
883
935
  var TOTAL_RULE_AIR = 2.05, gutterColumn = (area, ci) => area.gutter > 0 && ci === area.xEdge.length - 2;
884
936
  function headLeft(area, ci, w) {
885
937
  let left = gutterColumn(area, ci) ? area.xEdge[ci] + 3 : colCx(area, ci) - w / 2;
@@ -887,8 +939,8 @@ function headLeft(area, ci, w) {
887
939
  }
888
940
  function totalLabel(ctx, ci, visibleCol, edges, unit) {
889
941
  let { env, domain, area, paints } = ctx, { mode } = domain, c = domain.cats[ci], s0 = domain.series[0], val0 = s0.vals[ci], barV = mode === "bar" ? domain.plottedAt(s0, ci) : null, totalContent = contentOf(env, "total", ["absolute"]), text = "";
890
- totalContent && (mode === "bar" ? barV !== null && (text = columnTotalText(env, domain, ci, barV)) : text = composeText(env, totalContent, { abs: domain.columnTotals[c.id], pct: null, absIsPct: mode === "unit" && domain.series.length === 1 && val0.isPct }, c.label ?? c.id, "", void 0, env.totalFmt)), text && unit && (text = withUnit(text, unit, !1, env.options.locale?.language));
891
- let net = !!text && mode === "unit" && domain.posTop[ci] > 0 && domain.negBot[ci] < 0;
942
+ totalContent && (mode === "bar" ? barV !== null && (text = columnShownText(env, domain, ci)) : text = composeText(env, totalContent, { abs: domain.columnTotals[c.id], pct: null, absIsPct: mode === "unit" && domain.series.length === 1 && val0.isPct }, c.label ?? c.id, "", void 0, env.totalFmt)), text && unit && (text = withUnit(text, unit, !1, env.options.locale?.language));
943
+ let shows = mode === "bar" && barV !== null && text ? { value: text } : void 0, net = !!text && mode === "unit" && domain.posTop[ci] > 0 && domain.negBot[ci] < 0;
892
944
  if (net && (text = chartString(env.options, "netValue", { v1: text })), !text || !visibleCol || domain.invalidAt(ci) || domain.incomplete.has(c.id) || domain.wholeUnknown.has(c.id) || mode !== "bar" && domain.unknownTotals.has(c.id)) return;
893
945
  let tsize = env.measure(text, area.strongFont), negative = mode === "bar" ? barV !== null && barV < 0 : mode === "unit" && domain.columnTotals[c.id] < 0, owner = mode === "bar" ? { seriesId: s0.id, categoryId: c.id } : { categoryId: c.id }, candidates = totalCandidates(
894
946
  negative,
@@ -919,6 +971,7 @@ function totalLabel(ctx, ci, visibleCol, edges, unit) {
919
971
  ...mode === "bar" ? {} : namesOnly(totalContent?.filter((part) => part !== "percent"), void 0),
920
972
  ...net ? { role: composedTextRole(text) } : {},
921
973
  text,
974
+ ...shows ? { shows } : {},
922
975
  lines: [text],
923
976
  font: area.strongFont,
924
977
  priority: PRIORITY.total + (env.highlights.has(c.id) ? PRIORITY.highlightBonus : 0),
@@ -981,7 +1034,14 @@ function planMekkoLabels(env, domain, area, geometry, paints, warnings) {
981
1034
  warnings,
982
1035
  domain.cats.filter((c) => domain.incomplete.has(c.id)).map((c) => c.label ?? c.id),
983
1036
  `their ${withheld} would describe the known parts only and are not printed`
984
- ), sharesOn && domain.mode === "percent" && env.options.rounding !== "sum-consistent" && warnShareRoundingDrift(warnings, domain.cats.flatMap((c, ci) => domain.invalidAt(ci) || domain.incomplete.has(c.id) || c.total100 !== void 0 || domain.series.some((s) => s.vals[ci].isPct) ? [] : [((shares) => ({ name: c.label ?? c.id, shares, decimals: shareSetDecimals(shares) }))(domain.series.flatMap((s) => domain.plottedAt(s, ci) ?? []))])), segmentLabels(ctx, geometry), area.widthTitle) {
1037
+ ), sharesOn && domain.mode === "percent" && env.options.rounding !== "sum-consistent" && warnShareRoundingDrift(warnings, domain.cats.flatMap((c, ci) => {
1038
+ if (domain.invalidAt(ci) || domain.incomplete.has(c.id) || c.total100 !== void 0 || domain.series.some((s) => s.vals[ci].isPct)) return [];
1039
+ let shares = domain.series.flatMap((s) => {
1040
+ let share = domain.plottedAt(s, ci);
1041
+ return share === null ? [] : [printedSegmentShare(env, domain, s, ci, share)];
1042
+ });
1043
+ return [{ name: c.label ?? c.id, shares, decimals: Math.max(0, ...shares.map(authoredDecimals)) }];
1044
+ })), segmentLabels(ctx, geometry), area.widthTitle) {
985
1045
  let title = planValueAxisTitle(area.widthTitle.text, env.theme, env.measure, area.frame.plot.w, 2);
986
1046
  ctx.requests.push(valueAxisTitleRequest(title, { x: area.frame.plot.x, y: area.widthTitle.y }, "start", "axis:x:title"));
987
1047
  }
@@ -1009,7 +1069,16 @@ function planMekkoLabels(env, domain, area, geometry, paints, warnings) {
1009
1069
  insidePattern: paints.pattern(s, val)
1010
1070
  });
1011
1071
  }
1012
- return ctx.requests;
1072
+ return stateWouldBeTexts(env, domain, geometry, ctx.requests), ctx.requests;
1073
+ }
1074
+ function stateWouldBeTexts(env, domain, geometry, requests) {
1075
+ let carried = /* @__PURE__ */ new Set();
1076
+ for (let request of requests) request.shows?.value !== void 0 && carried.add(`${request.owner.seriesId}\0${request.owner.categoryId}`);
1077
+ for (let { s, ci, node } of geometry.segments) {
1078
+ if (carried.has(`${s.id}\0${domain.cats[ci].id}`)) continue;
1079
+ let wouldBe = segmentValueText(env, domain, s, ci);
1080
+ wouldBe !== null && (node.display = { ...node.display, shows: { value: wouldBe } });
1081
+ }
1013
1082
  }
1014
1083
 
1015
1084
  // src/core/charts/mekko/marks.ts
@@ -1025,8 +1094,7 @@ function stackColumn(ci, input, out) {
1025
1094
  if (v === null) continue;
1026
1095
  let vTop, vBot;
1027
1096
  if (v >= 0 ? (vTop = posSum - posCursor, vBot = vTop - v, posCursor += v) : (vTop = negCursor, vBot = negCursor + v, negCursor = vBot), out.segEdges.set(sk(s.id, c.id), { top: vTop, bot: vBot, v, abs: domain.absAt(s, ci) }), v === 0 || !visibleCol) continue;
1028
- let sy = y(vTop), rect = { x: bx, y: sy, w: bw, h: Math.max(y(vBot) - sy, 0.5) }, nodeId = `mark:${s.id}:${c.id}`, cellFill = paints.cell(s, val, c, si, v), cellPat = paints.pattern(s, val), cellSep = cellPat || markOutlineOff(cellFill, env.theme) ? void 0 : separationStroke(paints.css(cellFill), env.theme.color.background, env.theme);
1029
- out.nodes.push({
1097
+ let sy = y(vTop), rect = { x: bx, y: sy, w: bw, h: Math.max(y(vBot) - sy, 0.5) }, nodeId = `mark:${s.id}:${c.id}`, cellFill = paints.cell(s, val, c, si, v), cellPat = paints.pattern(s, val), cellSep = cellPat || markOutlineOff(cellFill, env.theme) ? void 0 : separationStroke(paints.css(cellFill), env.theme.color.background, env.theme), node = {
1030
1098
  t: "rect",
1031
1099
  id: nodeId,
1032
1100
  rect,
@@ -1037,9 +1105,10 @@ function stackColumn(ci, input, out) {
1037
1105
  owner: { seriesId: s.id, categoryId: c.id },
1038
1106
  part: mode === "bar" ? "bar" : "segment",
1039
1107
  display: {
1040
- value: (mode === "percent" && env.options.rounding === "sum-consistent" ? domain.shareTexts.get(`${c.id}\0${s.id}`) : void 0) ?? (val.format ?? s.format ? formatterFromExample(val.format ?? s.format, env.options.locale?.language)(mode === "percent" || val.isPct ? v : domain.absAt(s, ci)) : val.isPct ? (mode === "unit" ? env.cellPctFmt : env.authoredPctFmt)(v) : mode === "percent" ? domain.shareTexts.get(`${c.id}\0${s.id}`) ?? env.pctFmt(v) : env.fmt(domain.absAt(s, ci)))
1108
+ value: (mode === "percent" && env.options.rounding === "sum-consistent" ? domain.shareTexts.get(`${c.id}\0${s.id}`) : void 0) ?? (val.format ?? s.format ? formatterFromExample(val.format ?? s.format, env.options.locale?.language)(mode === "percent" || val.isPct ? v : domain.absAt(s, ci)) : val.isPct ? (mode === "unit" ? env.cellPctFmt : env.authoredPctFmt)(v) : mode === "percent" ? domain.shareTexts.get(`${c.id}\0${s.id}`) ?? env.pctFmt(v) : (env.fmtFor?.(s.id) ?? env.fmt)(domain.absAt(s, ci)))
1041
1109
  }
1042
- }), out.claims.claim(rect, "mark", { seriesId: s.id, categoryId: c.id }, "bar"), segs.push({ seriesId: s.id, rect, nodeId }), out.segments.push({ s, si, ci, v, rect });
1110
+ };
1111
+ out.nodes.push(node), out.claims.claim(rect, "mark", { seriesId: s.id, categoryId: c.id }, "bar"), segs.push({ seriesId: s.id, rect, nodeId }), out.segments.push({ s, si, ci, v, rect, node });
1043
1112
  }
1044
1113
  let colTop = y(Math.max(posSum, 0)), colBot = y(Math.min(negCursor, 0));
1045
1114
  if (out.marks.columns.push({
@@ -1178,6 +1247,7 @@ function annotateMekko(env, domain, area, geometry, occupied, solveCtx) {
1178
1247
  measure: env.measure,
1179
1248
  format: env.options.format,
1180
1249
  locale: env.options.locale?.language,
1250
+ levelSpec: env.levelSpec,
1181
1251
  strings: env.options.strings,
1182
1252
  sharesFormat: domain.mode === "percent",
1183
1253
  valueLinePercentLevels: env.options.unit === "%" || domain.mode === "percent",
@@ -1189,8 +1259,8 @@ function annotateMekko(env, domain, area, geometry, occupied, solveCtx) {
1189
1259
  function mekkoDescription(env, domain) {
1190
1260
  let { mode, cats, series, widthSer, nm, na } = domain, modeName = mode === "percent" ? chartString(env.options, "mekkoPercentAxis") : mode === "unit" ? chartString(env.options, "mekkoUnitAxis") : chartString(env.options, "barMekko"), widthText = widthSer ? `'${widthSer.label}'` : chartString(env.options, "categoryTotals");
1191
1261
  if (mode === "percent" && (nm.size > 0 || na.size > 0))
1192
- return chartString(env.options, "mekkoValidDesc", { v1: modeName, v2: domain.validCount, v3: series.length }) + widthText + chartString(env.options, "mekkoInvalidDesc", { v1: cats.flatMap((c, ci) => domain.invalidAt(ci) || totalUnknown(domain, ci) ? [] : [`${c.label ?? c.id} ${columnTotalText(env, domain, ci)}`]).join(", ") || "none", v2: cats.filter((_, ci) => domain.invalidAt(ci)).map((c) => `${c.label ?? c.id} (${nm.has(c.id) ? "n.m." : "n/a"})`).join(", ") });
1193
- let totals = cats.flatMap((c, ci) => totalUnknown(domain, ci) ? [] : [`${c.label ?? c.id} ${columnTotalText(env, domain, ci)}`]);
1262
+ return chartString(env.options, "mekkoValidDesc", { v1: modeName, v2: domain.validCount, v3: series.length }) + widthText + chartString(env.options, "mekkoInvalidDesc", { v1: cats.flatMap((c, ci) => domain.invalidAt(ci) || totalUnknown(domain, ci) ? [] : [`${c.label ?? c.id} ${columnShownText(env, domain, ci)}`]).join(", ") || "none", v2: cats.filter((_, ci) => domain.invalidAt(ci)).map((c) => `${c.label ?? c.id} (${nm.has(c.id) ? "n.m." : "n/a"})`).join(", ") });
1263
+ let totals = cats.flatMap((c, ci) => totalUnknown(domain, ci) ? [] : [`${c.label ?? c.id} ${columnShownText(env, domain, ci)}`]);
1194
1264
  return chartString(env.options, "mekkoDesc", { v1: modeName, v2: cats.length, v3: series.length }) + widthText + (totals.length > 0 ? chartString(env.options, "totalsSentence", { v1: totals.join(", ") }) : ".");
1195
1265
  }
1196
1266
  function assembleMekkoGeometry(input) {
@@ -0,0 +1,89 @@
1
+ import {
2
+ chartTypeAliases,
3
+ schemaLoaders
4
+ } from "./chunk-EWMPUCIG.js";
5
+ import {
6
+ registeredType
7
+ } from "./chunk-4YZQY3AA.js";
8
+ import {
9
+ caseInsensitiveValue,
10
+ getChart,
11
+ getChartSchemas,
12
+ registerChartSchemas
13
+ } from "./chunk-YM4MVABU.js";
14
+ import {
15
+ registerChartCoreLoader
16
+ } from "./chunk-BQBD6Q5J.js";
17
+
18
+ // src/react/coreLoaders.ts
19
+ var coreLoaders = {
20
+ bar: () => import("./core-W3UBWZR3.js").then((module) => module.barCore),
21
+ bartable: () => import("./core-LCP44UYI.js").then((module) => module.bartableCore),
22
+ box: () => import("./core-I2GPMB2B.js").then((module) => module.boxCore),
23
+ bullet: () => import("./core-34YTH4KN.js").then((module) => module.bulletCore),
24
+ butterfly: () => import("./core-N4OKPNXQ.js").then((module) => module.butterflyCore),
25
+ choropleth: () => import("./core-VWISBHXE.js").then((module) => module.choroplethCore),
26
+ cohort: () => import("./core-BQ2I77OF.js").then((module) => module.cohortCore),
27
+ column: () => import("./core-XYQRB5WF.js").then((module) => module.columnCore),
28
+ combo: () => import("./core-J2QTOU4D.js").then((module) => module.comboCore),
29
+ creative: () => import("./core-IYEFTP6C.js").then((module) => module.creativeCore),
30
+ diagram: () => import("./core-YHWVJULU.js").then((module) => module.diagramCore),
31
+ dimswitch: () => import("./core-Q4IILTGO.js").then((module) => module.dimswitchCore),
32
+ dot: () => import("./core-EHMPBG6Q.js").then((module) => module.dotCore),
33
+ funnel: () => import("./core-64EHPUVV.js").then((module) => module.funnelCore),
34
+ gantt: () => import("./core-JJLIPTEW.js").then((module) => module.ganttCore),
35
+ grid: () => import("./core-MBNVENCZ.js").then((module) => module.gridCore),
36
+ heatmap: () => import("./core-MVIK7FAJ.js").then((module) => module.heatmapCore),
37
+ histogram: () => import("./core-Y6DJHIYT.js").then((module) => module.histogramCore),
38
+ kpi: () => import("./core-CXEEM26F.js").then((module) => module.kpiCore),
39
+ likert: () => import("./core-4ZEVWU43.js").then((module) => module.likertCore),
40
+ line: () => import("./core-QCPDOQEJ.js").then((module) => module.lineCore),
41
+ mekko: () => import("./core-YJXOVNIE.js").then((module) => module.mekkoCore),
42
+ pareto: () => import("./core-B7KOBTRL.js").then((module) => module.paretoCore),
43
+ pie: () => import("./core-6KO5AEUH.js").then((module) => module.pieCore),
44
+ pvm: () => import("./core-VGMMKEU4.js").then((module) => module.pvmCore),
45
+ pyramid: () => import("./core-RVTF336C.js").then((module) => module.pyramidCore),
46
+ sankey: () => import("./core-7WLD237S.js").then((module) => module.sankeyCore),
47
+ scatter: () => import("./core-AVNB2Q3G.js").then((module) => module.scatterCore),
48
+ slope: () => import("./core-BOU34T23.js").then((module) => module.slopeCore),
49
+ sparkline: () => import("./core-VUVJOMUC.js").then((module) => module.sparklineCore),
50
+ status: () => import("./core-2PT7IROA.js").then((module) => module.statusCore),
51
+ table: () => import("./core-FXC4TB2K.js").then((module) => module.tableCore),
52
+ tilemap: () => import("./core-A2MERE3C.js").then((module) => module.tilemapCore),
53
+ treemap: () => import("./core-IQC6H4A7.js").then((module) => module.treemapCore),
54
+ variance: () => import("./core-BOOD7ZUQ.js").then((module) => module.varianceCore),
55
+ waffle: () => import("./core-HMS72VO6.js").then((module) => module.waffleCore),
56
+ waterfall: () => import("./core-BSEXRZD6.js").then((module) => module.waterfallCore)
57
+ };
58
+
59
+ // src/react/loadChartTypes.ts
60
+ var aliasOwners = /* @__PURE__ */ new Map();
61
+ for (let [type, aliases] of Object.entries(chartTypeAliases))
62
+ for (let alias of aliases) aliasOwners.set(alias, type);
63
+ function knownChartType(name) {
64
+ return name = caseInsensitiveValue(name, [...Object.keys(coreLoaders), ...aliasOwners.keys()]) ?? name, Object.hasOwn(coreLoaders, name) ? name : aliasOwners.get(name);
65
+ }
66
+ async function loadChartTypes(names, parts) {
67
+ let types = [...new Set(names.map(knownChartType).filter((type) => type !== void 0))];
68
+ await Promise.all(types.flatMap((type) => [
69
+ parts.schemas && getChartSchemas(type) === void 0 ? schemaLoaders[type]().then((schemas) => {
70
+ registerChartSchemas(schemas, chartTypeAliases[type]);
71
+ }) : void 0,
72
+ parts.cores && getChart(type) === void 0 ? coreLoaders[type]().then((core) => {
73
+ registeredType(core);
74
+ }) : void 0
75
+ ]));
76
+ }
77
+ registerChartCoreLoader({
78
+ knows: (type) => knownChartType(type) !== void 0,
79
+ load: (type) => loadChartTypes([type], { schemas: !1, cores: !0 })
80
+ });
81
+ function registeredTypeWithPanelCores(core) {
82
+ return registeredType(core);
83
+ }
84
+
85
+ export {
86
+ knownChartType,
87
+ loadChartTypes,
88
+ registeredTypeWithPanelCores
89
+ };
@@ -67,6 +67,13 @@ var removed = (types, at, use) => at.map((path) => ({ at: path, types, ...use ?
67
67
  ...removed(["pareto"], ["options.highlight"], "The highlight encodes the derived vital few."),
68
68
  ...removed(["pareto"], ["options.topN.showRestCount"], "A Pareto always prints the count, because the concentration verdict rests on it."),
69
69
  ...removed(["pareto"], ["options.topN.threshold"], "The rank cut is topN.n."),
70
+ ...removed(["table", "dimswitch"], ["options.fitFormats"], "A figure prints the same text at every width, and its track widens to hold it. To print fewer digits, set a shorter format example."),
71
+ // A table row nests through children: the key is retired on the rows of the first eight levels.
72
+ ...removed(
73
+ ["table"],
74
+ ["data.columns.[].fitFormat", ...Array.from({ length: 8 }, (_, depth) => `data.rows.[].${"children.[].".repeat(depth)}fitFormat`)],
75
+ "No format is fitted to a width any more."
76
+ ),
70
77
  { at: "data.pack", types: ["choropleth"], values: { "de-laender": "de-states" } },
71
78
  {
72
79
  at: "options.density",
@@ -3,24 +3,24 @@ import {
3
3
  } from "./chunk-TNEHPP3H.js";
4
4
  import {
5
5
  sizeRefusal
6
- } from "./chunk-GNMB72V7.js";
6
+ } from "./chunk-YM4MVABU.js";
7
7
  import {
8
8
  isRefused
9
- } from "./chunk-UCKUAKYQ.js";
9
+ } from "./chunk-YKYK6C7F.js";
10
10
  import {
11
11
  STORY_NAVIGATION,
12
12
  copyFrame,
13
13
  footerPlans,
14
14
  storyFrameFit
15
- } from "./chunk-DZYTXZNS.js";
15
+ } from "./chunk-WD5NJHZG.js";
16
16
  import {
17
17
  chartStrings,
18
18
  localeStrings,
19
19
  stringFields
20
- } from "./chunk-MSYTF3DZ.js";
20
+ } from "./chunk-FYFXOLWI.js";
21
21
  import {
22
22
  presentationInfo
23
- } from "./chunk-OZLKEBCD.js";
23
+ } from "./chunk-3V7Y7CHI.js";
24
24
  import {
25
25
  canvasMargin,
26
26
  panelTypeClass,
@@ -30,7 +30,7 @@ import {
30
30
  textSizeOf,
31
31
  themeForWidth,
32
32
  typeWidthClass
33
- } from "./chunk-TX5FSNAU.js";
33
+ } from "./chunk-XAH4EWJT.js";
34
34
  import {
35
35
  publishDeferred
36
36
  } from "./chunk-BQBD6Q5J.js";
@@ -16,7 +16,7 @@ import {
16
16
  parseFormatExample,
17
17
  parseISODate,
18
18
  specUnitKind
19
- } from "./chunk-Z6DUNKFU.js";
19
+ } from "./chunk-3JG764MI.js";
20
20
  import {
21
21
  levenshtein
22
22
  } from "./chunk-NMTWUYUF.js";
@@ -366,7 +366,7 @@ function parseData(schema, raw) {
366
366
  var formatField = (withFix) => z2.string().superRefine((value, ctx) => {
367
367
  let problem = formatExampleProblem(value);
368
368
  problem && ctx.addIssue({ code: "custom", message: problem.message, params: { code: "invalid-format", ...withFix ? { replaceWith: problem.replacement } : {} } });
369
- }), formatExample = formatField(!0), contextFormatExample = formatField(!1), valueKindSchema = z2.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) => z2.string().superRefine((value, ctx) => {
369
+ }), formatExample = formatField(!0), contextFormatExample = formatField(!1), valueKindSchema = z2.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. The example's scale word and decimals hold for every value, totals included: '$1.2M' prints 4 as $0.0M and warns format-hides-values with a finer example. A German or French chart prints the scale in its own words (Mrd., Bio.; Md, Bn). Axis ticks take their digits from their spacing, and a statistic such as a mean takes up to one decimal more. A unit alone ('$M', '\u20ACbn', '%', 'x') states the prefix, the suffix and any scale word: the default number rule fills the decimals, and the scale words where the unit names none ('$M' prints 15,060,000 and 14,800,000 as $15.06M and $14.80M). A table column moves the unit into its head and picks the cell 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) => z2.string().superRefine((value, ctx) => {
370
370
  /^ly$/i.test(value) && ctx.addIssue({ code: "custom", message: "LY is drawn as PY", params: { scenarioAlias: !0 } });
371
371
  }).optional().describe(`AC, PY, PL, FC (or ACT, BUD, FCST, LY for last year). Codes and aliases accept any case.${meaning ? ` ${meaning}` : ""}`), cellMetaSchema = {
372
372
  fill: z2.string().optional().describe("Authored cell fill colour; overrides the inherited series fill where supported."),
@@ -1033,9 +1033,9 @@ var topNFields = {
1033
1033
  rebaseZero: z2.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."),
1034
1034
  rebaseMissing: z2.string().min(1).optional().describe("Line or stacked-area series left out by rebase100 for a missing base; {series} and {period} are replaced.")
1035
1035
  }).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."),
1036
- 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.`),
1036
+ 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, every number prints by the default rule: scale words from 10,000 (cells from 100,000), three digits of the largest value, no more decimals than the data carry. ${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.`),
1037
1037
  detailFields: detailFieldsSchema.optional().describe("Label, format, unit and order of the cell details keys, the extra facts a value's hover card lists after it: [{ key: 'deals', label: 'Deals', format: '1,234' }]. Declared keys print first, in this order; a details key it does not declare prints after them, labelled with its key. Default: every key, labelled with itself."),
1038
- smallValues: z2.enum(["bound", "zero", "scientific", "p-value"]).optional().describe("How an automatic number format prints a nonzero value below its last shown digit. Without a format, each table column and chart series takes one precision from its largest value: two significant digits below 1, at most 4 decimals. bound (default): the bound, <0.01 at two decimals, >\u22120.01 below zero, <1 for whole numbers; a signed change label keeps its sign, <+0.01; below 0.0001 a value prints in scientific form instead. zero: spreadsheet style, the format's own 0.00. scientific: two significant digits and a power of ten, 1.2 \xD7 10\u207B\u2079. p-value: every value from 0 to 1 prints as APA 7 writes a p-value, three decimals without the leading zero, .042, and <.001 below; larger values keep the rule above. A format the author sets prints as set."),
1038
+ smallValues: z2.enum(["bound", "zero", "scientific", "p-value"]).optional().describe("How the default rule prints a nonzero value that needs more than four decimals. Without the option the rule prints its own digits, never a bound. bound and zero round such a value at the decimals of the set's first group, at most four, and print its digits where it is nonzero there (0.0003), else the bound (bound: <0.001, >\u22120.001 below zero) or the set's zero (zero: 0.000). scientific: two significant digits and a power of ten, 1.2 \xD7 10\u207B\u2076. p-value: every value from 0 to 1 prints as APA 7 writes a p-value, three decimals without the leading zero, .042, and <.001 below; larger values keep the rule. A format the author sets prints as set."),
1039
1039
  palette: z2.string().min(1).optional().describe("Named identity ramp from theme color.palettes; every chart family takes its data ink from it, while good, bad and highlight stay the theme colours."),
1040
1040
  labelDensity: z2.enum(["full", "smart", "minimal"]).optional().describe("Label selection policy, default smart. full: every value label competes for a slot, and a segment value that does not fit its segment moves outside on a leader. smart: as full, but a stacked column or combo segment value prints inside its segment or not at all (where one is wider than its column, the stacked column values step down a size, to the floor; still too wide, none prints), and a segment value drops when the segment is shorter than the label height plus 4 px padding (the label width on a horizontal bar); mekko also drops segment values in columns narrower than 24 px. A labelPlacements pin keeps its label. minimal: keeps only the chart's essential labels (totals, endpoints, highlights). Collision suppression applies at every level."),
1041
1041
  labels: z2.union([
@@ -1102,7 +1102,7 @@ var topNFields = {
1102
1102
  }).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."),
1103
1103
  hatchStrength: z2.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."),
1104
1104
  colorblindSafe: z2.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."),
1105
- rounding: z2.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."),
1105
+ rounding: z2.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. By default every chart rounds each share on its own; under sum-consistent 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."),
1106
1106
  animate: z2.boolean().optional().describe("Motion flag ignored with an option-ignored warning because charts emit static geometry."),
1107
1107
  interactive: z2.boolean().optional().describe("Emit data-bp-* semantics for dependency-free web interactivity; static output is unchanged by default."),
1108
1108
  debug: z2.boolean().optional().describe("Layout debug flag ignored with an option-ignored warning."),