boardplot 0.58.2 → 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 +61 -0
  2. package/dist/{ReaderBox-WVOT7VVJ.js → ReaderBox-4PNFZO56.js} +4 -4
  3. package/dist/{annotateEngine-IJ7RDLUI.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-DZUF4V4F.js → chunk-266ENWFM.js} +3 -3
  7. package/dist/{chunk-FRR7BJ3B.js → chunk-2E2MK4XM.js} +2 -2
  8. package/dist/{chunk-K5LIUWJO.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-JQSDRXLX.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-LX6X33C7.js → chunk-3WFJDXZO.js} +3 -3
  16. package/dist/{chunk-OGWZT3PH.js → chunk-3ZR7ZE64.js} +2 -2
  17. package/dist/{chunk-UISHXPGJ.js → chunk-4DLIXTDH.js} +5 -5
  18. package/dist/{chunk-FL57NWM7.js → chunk-4EEK4AMC.js} +2 -2
  19. package/dist/{chunk-5OBA4IKC.js → chunk-4LCQO46F.js} +144 -55
  20. package/dist/{chunk-DXNVL67C.js → chunk-4NIIQFDA.js} +147 -104
  21. package/dist/{chunk-ED7GLWTF.js → chunk-4PKUS5MG.js} +2 -1
  22. package/dist/{chunk-ECL7CSPJ.js → chunk-4WH2YGO6.js} +3 -3
  23. package/dist/{chunk-MXUPMGRY.js → chunk-4YKS2JDE.js} +3 -3
  24. package/dist/{chunk-ZQHMZUFD.js → chunk-4YZQY3AA.js} +1 -1
  25. package/dist/{chunk-ZDITBL4Z.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-DIN62FP4.js → chunk-5UXK5BAA.js} +37 -38
  31. package/dist/{chunk-7Q4T5TPZ.js → chunk-5YULK4DY.js} +6 -10
  32. package/dist/{chunk-QRIEJAM5.js → chunk-5ZE7SHRM.js} +3 -3
  33. package/dist/{chunk-KNT3GSVB.js → chunk-67744WKZ.js} +1 -1
  34. package/dist/{chunk-HTY6XK32.js → chunk-6CZGFTGK.js} +51 -47
  35. package/dist/{chunk-FVQRFBOP.js → chunk-6IIYLDSQ.js} +3 -3
  36. package/dist/{chunk-U5CBQHTX.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-IU2PONEI.js → chunk-7IONS4Z7.js} +3 -3
  40. package/dist/{chunk-ETUKDEGL.js → chunk-7QUWM5W6.js} +6 -6
  41. package/dist/{chunk-24PMVRVW.js → chunk-7SIZGM5S.js} +78 -53
  42. package/dist/{chunk-QVLHI3BE.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-U5D5NUFA.js → chunk-7YJSSPQX.js} +31 -28
  46. package/dist/{chunk-4GKVFHJH.js → chunk-7ZXIHEZS.js} +4 -4
  47. package/dist/{chunk-FJA5EUE7.js → chunk-A3SOYL6F.js} +3 -3
  48. package/dist/{chunk-CAE6E3NW.js → chunk-ADLKZEML.js} +31 -64
  49. package/dist/{chunk-KNGC2STY.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-D3UPBA4R.js → chunk-AUSZDYGE.js} +9 -7
  54. package/dist/{chunk-ZUG7EYEM.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-COQSFON4.js → chunk-BJJYNTVJ.js} +1 -1
  58. package/dist/{chunk-NS4SBO47.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-JDLT4YV6.js → chunk-CV5KCQD3.js} +72 -79
  62. package/dist/{chunk-QRQFHNRF.js → chunk-CX7WUNMO.js} +22 -18
  63. package/dist/{chunk-YWPBYL6P.js → chunk-DANKUHCX.js} +41 -40
  64. package/dist/{chunk-IDXYHDQY.js → chunk-DBKMJWPO.js} +1 -1
  65. package/dist/{chunk-K672I6R6.js → chunk-DEJ27Y2P.js} +138 -91
  66. package/dist/{chunk-HTQGJQZN.js → chunk-DITI57ZB.js} +1 -1
  67. package/dist/{chunk-WRI44CHA.js → chunk-DO7MMF4C.js} +86 -43
  68. package/dist/{chunk-NTUTJY33.js → chunk-DUDVHQD6.js} +7 -7
  69. package/dist/{chunk-RKPN6KN7.js → chunk-DXLWMK24.js} +3 -3
  70. package/dist/{chunk-DQECTZPF.js → chunk-DYD7W3Y6.js} +15 -16
  71. package/dist/{chunk-AU5PXIE3.js → chunk-DZBT7AWJ.js} +2 -2
  72. package/dist/{chunk-I7V6LXHD.js → chunk-E4KHHC46.js} +16 -16
  73. package/dist/{chunk-K2AOKBGW.js → chunk-E62SXDRT.js} +2 -2
  74. package/dist/{chunk-BAT77TKB.js → chunk-EADD6NNQ.js} +73 -79
  75. package/dist/{chunk-CMPHT2LS.js → chunk-EH23CIC5.js} +4 -4
  76. package/dist/{chunk-DTIV2NIZ.js → chunk-EJA5EANI.js} +47 -26
  77. package/dist/{chunk-VZWIRNQ4.js → chunk-EWGFOEJB.js} +126 -65
  78. package/dist/{chunk-SVPSNDLL.js → chunk-EWMPUCIG.js} +37 -37
  79. package/dist/{chunk-H6WX7J5M.js → chunk-EZ5KUBYF.js} +38 -27
  80. package/dist/{chunk-IUEUVLT3.js → chunk-F2N5BUBK.js} +12 -13
  81. package/dist/{chunk-VJ7VBB6S.js → chunk-F7QCIJAY.js} +1 -1
  82. package/dist/{chunk-ANKBTBWD.js → chunk-FB36HSY2.js} +4 -4
  83. package/dist/{chunk-F3XOBFS4.js → chunk-FBIMTKYK.js} +3 -10
  84. package/dist/{chunk-4NEXP7IB.js → chunk-FMVXXKSW.js} +3 -3
  85. package/dist/{chunk-GOJI2HVL.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-L3BVYKA6.js → chunk-GDE2JINW.js} +11 -11
  89. package/dist/{chunk-RLB7QCTK.js → chunk-GEEHXLFQ.js} +7 -6
  90. package/dist/{chunk-S6XM22RZ.js → chunk-GGFT6IIM.js} +3 -3
  91. package/dist/{chunk-KTOWOMQP.js → chunk-GIJM4MP4.js} +5 -5
  92. package/dist/{chunk-UY34DDUM.js → chunk-GNK7RTO4.js} +3 -3
  93. package/dist/{chunk-BAOUMAH6.js → chunk-GSHRYDJM.js} +1 -1
  94. package/dist/{chunk-RXDCT5TD.js → chunk-GWDKUKOJ.js} +96 -321
  95. package/dist/{chunk-XMX4PCFL.js → chunk-GZYMHC44.js} +2 -2
  96. package/dist/{chunk-RK5JTZFI.js → chunk-HBKZC5BH.js} +2 -2
  97. package/dist/{chunk-WXMH66N5.js → chunk-HC4UW7MB.js} +4 -4
  98. package/dist/{chunk-ZRI6VYNF.js → chunk-HFDU2E7C.js} +27 -21
  99. package/dist/{chunk-M6PYA4FO.js → chunk-HW67YGJC.js} +1 -1
  100. package/dist/{chunk-C4DN27QI.js → chunk-I65BCUVH.js} +3 -3
  101. package/dist/{chunk-SHFXHUKJ.js → chunk-ICERP2YF.js} +3 -3
  102. package/dist/{chunk-KG7LKHD7.js → chunk-ICJUN47O.js} +2 -2
  103. package/dist/{chunk-QMUCI2UU.js → chunk-ID5PE4KM.js} +3 -3
  104. package/dist/{chunk-DOYJ2O2C.js → chunk-IDJVUZAA.js} +3 -3
  105. package/dist/{chunk-WDDPQUT2.js → chunk-IQRRT32Q.js} +2 -2
  106. package/dist/{chunk-WHIO5L6Z.js → chunk-ISMFUWOP.js} +3 -3
  107. package/dist/{chunk-4X7FNGGM.js → chunk-IX2SLULO.js} +3 -3
  108. package/dist/{chunk-4G5QQ5TH.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-UK5LXRUN.js → chunk-JIB74SQS.js} +6 -6
  112. package/dist/{chunk-ZIVCPXXL.js → chunk-JOX252XQ.js} +5 -5
  113. package/dist/{chunk-YC6W7EVG.js → chunk-JRM22ULA.js} +54 -45
  114. package/dist/{chunk-V5CWUATF.js → chunk-JYSS5ZZF.js} +5 -5
  115. package/dist/{chunk-OJ5CCTNY.js → chunk-KRIYGX3N.js} +3 -3
  116. package/dist/{chunk-XRRG4MBM.js → chunk-KWMQNKGX.js} +2 -2
  117. package/dist/{chunk-4EDPXQR7.js → chunk-LADFOYH7.js} +40 -27
  118. package/dist/{chunk-P6KEM5N7.js → chunk-LC4KDLUE.js} +3 -3
  119. package/dist/{chunk-SAMTYEWB.js → chunk-LLECS747.js} +4 -4
  120. package/dist/{chunk-XO4DJM33.js → chunk-LM4GVVPM.js} +16 -10
  121. package/dist/{chunk-EHRRHSPV.js → chunk-LPLRXEOT.js} +55 -19
  122. package/dist/{chunk-S4L7LXWX.js → chunk-M2FF4IPF.js} +16 -7
  123. package/dist/{chunk-4JGBCBDZ.js → chunk-MF6XGFHB.js} +1 -1
  124. package/dist/{chunk-O3U6IOIO.js → chunk-MOBRWYUQ.js} +2 -2
  125. package/dist/{chunk-CDUR3KWV.js → chunk-MOPY5REE.js} +2 -2
  126. package/dist/{chunk-LLEDONMT.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-NM6IWRTB.js → chunk-NIL6TYAN.js} +4 -4
  130. package/dist/{chunk-VGEHOB25.js → chunk-NPDF7HEH.js} +2 -2
  131. package/dist/{chunk-JMMKOICP.js → chunk-NUASZPS7.js} +1 -1
  132. package/dist/{chunk-QI47HSZD.js → chunk-NWUEA42V.js} +3 -3
  133. package/dist/{chunk-O4FCIOOY.js → chunk-NZGQLR4X.js} +8 -8
  134. package/dist/{chunk-TRGQLVJV.js → chunk-O32L5FK2.js} +3 -3
  135. package/dist/{chunk-DJRPY7AR.js → chunk-O623CYPA.js} +3 -3
  136. package/dist/{chunk-7OZCLJAG.js → chunk-OJR5GPCN.js} +3 -3
  137. package/dist/{chunk-C47POAC5.js → chunk-OL6HVC6K.js} +1 -1
  138. package/dist/{chunk-3MGXQARA.js → chunk-OM5MAJST.js} +68 -57
  139. package/dist/{chunk-CLJWE3JQ.js → chunk-OTOASFG4.js} +92 -35
  140. package/dist/{chunk-KF2HYUXN.js → chunk-P3N74SZ5.js} +3 -3
  141. package/dist/{chunk-J3GUMT27.js → chunk-PHQGGR5O.js} +3 -3
  142. package/dist/{chunk-YQZCMPN7.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-CRTRY3IQ.js → chunk-QDFX2KAP.js} +2 -2
  149. package/dist/{chunk-RAPIBQ6W.js → chunk-QKDDGDRF.js} +10 -10
  150. package/dist/{chunk-P2WZQQCC.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-BYPUPHRW.js → chunk-REIIGIJG.js} +3 -3
  156. package/dist/{chunk-K4OR5AP5.js → chunk-RF2REMRV.js} +6 -6
  157. package/dist/{chunk-3MFVJMP6.js → chunk-RF6ZHX5F.js} +1 -1
  158. package/dist/{chunk-AYIK7HVV.js → chunk-RLX6VODQ.js} +9 -2
  159. package/dist/{chunk-KWIP5YRA.js → chunk-RPS7G77V.js} +3 -3
  160. package/dist/{chunk-LBCSRQGW.js → chunk-RSDGBNXP.js} +5 -5
  161. package/dist/{chunk-MP5UOUGM.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-V7MFF5A4.js → chunk-SE6LBMRJ.js} +137 -62
  165. package/dist/{chunk-MCRRURTO.js → chunk-SFRMBCVY.js} +3 -3
  166. package/dist/{chunk-UUK73ZCT.js → chunk-SNJ3FZXC.js} +14 -12
  167. package/dist/{chunk-H7GFUA6G.js → chunk-SXCFMPNM.js} +3 -3
  168. package/dist/{chunk-SGDWLXUC.js → chunk-SY7JC3PH.js} +1 -1
  169. package/dist/{chunk-UXPR6TEZ.js → chunk-T4CFY4YT.js} +4 -4
  170. package/dist/{chunk-5SVGTQTW.js → chunk-TASEX7VA.js} +1 -1
  171. package/dist/{chunk-UB7LT72S.js → chunk-TCWJQIVQ.js} +123 -71
  172. package/dist/{chunk-SFBB4GVQ.js → chunk-TEZWFQB7.js} +6 -6
  173. package/dist/{chunk-GHCU6OSE.js → chunk-TLKRYDH3.js} +2 -2
  174. package/dist/{chunk-MH6MGYPS.js → chunk-TMVERETB.js} +23 -332
  175. package/dist/{chunk-5LPLVLLA.js → chunk-TQFBLSZJ.js} +44 -27
  176. package/dist/{chunk-5FOB6QGF.js → chunk-U4WG46QP.js} +117 -43
  177. package/dist/{chunk-LJDATBPB.js → chunk-U75MMLNQ.js} +3 -6
  178. package/dist/{chunk-SB7MASJU.js → chunk-UFGJNSSL.js} +1 -1
  179. package/dist/{chunk-FB6X7QHA.js → chunk-UGHJHJKY.js} +1 -1
  180. package/dist/{chunk-MIJPESMQ.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-OCPVQZCC.js → chunk-UV77Y7QK.js} +11 -5
  185. package/dist/{chunk-PMT75APP.js → chunk-UXJXA4NP.js} +1 -1
  186. package/dist/{chunk-CPPFF3OB.js → chunk-UZDQFUHO.js} +3 -3
  187. package/dist/{chunk-S3I6F4IO.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-YFQW73AV.js → chunk-VLMKGQ33.js} +13 -13
  191. package/dist/{chunk-3AWE5535.js → chunk-VMLVZW4F.js} +39 -36
  192. package/dist/{chunk-YT5MTKED.js → chunk-VT6PDWUA.js} +78 -78
  193. package/dist/{chunk-GQYT7G4F.js → chunk-VTUSC24F.js} +2 -2
  194. package/dist/{chunk-NMQH4S2F.js → chunk-VVWTD4XP.js} +9 -9
  195. package/dist/{chunk-OQA3DJH4.js → chunk-VZVPN7NT.js} +3 -3
  196. package/dist/{chunk-Z3WQXVFV.js → chunk-W4ZLMK6Z.js} +1 -1
  197. package/dist/{chunk-LOFR5HOQ.js → chunk-W6NEWQZU.js} +20 -18
  198. package/dist/{chunk-DZYTXZNS.js → chunk-WD5NJHZG.js} +2 -2
  199. package/dist/{chunk-2WQSH3HV.js → chunk-WTH3KQDM.js} +2 -2
  200. package/dist/{chunk-UQBNY2UU.js → chunk-WTWM4RK6.js} +1 -1
  201. package/dist/{chunk-XJC37XXA.js → chunk-WZNO3LUF.js} +3 -3
  202. package/dist/{chunk-GQ3CMAOD.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-IJU5PAIS.js → chunk-XETSLYFD.js} +3 -3
  206. package/dist/{chunk-Z7EAEWR3.js → chunk-XFDNAR4S.js} +16 -27
  207. package/dist/{chunk-IXQNKI6G.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-ESSNZ3VQ.js → chunk-XMII3G47.js} +3 -3
  211. package/dist/{chunk-QNEVEBIR.js → chunk-XRPZJDAK.js} +101 -72
  212. package/dist/{chunk-IPBOREIY.js → chunk-XUEX5WTR.js} +1 -1
  213. package/dist/{chunk-ZYCB2CJJ.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-36RTBB37.js → chunk-XWUHUTXX.js} +24 -18
  217. package/dist/{chunk-AIU3Y4L5.js → chunk-XXYV5UEM.js} +50 -49
  218. package/dist/{chunk-KVIWD6MV.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-46JPQLR2.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-F6IPP33V.js → chunk-YM4MVABU.js} +56 -24
  225. package/dist/{chunk-GOFS336W.js → chunk-YM7MO7WI.js} +1 -1
  226. package/dist/{chunk-A64R244B.js → chunk-YOUYJHW3.js} +3 -3
  227. package/dist/{chunk-Z7LBIXNV.js → chunk-YPELB4Q7.js} +3 -3
  228. package/dist/{chunk-HXGSNLIW.js → chunk-YRCIG4IO.js} +8 -7
  229. package/dist/{chunk-B6BEPKEE.js → chunk-ZIQR2CNM.js} +7 -7
  230. package/dist/{chunk-ZHGFJL3O.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-VA3SBRCT.js → core-2PT7IROA.js} +2 -1
  237. package/dist/{core-JDNTWP3D.js → core-34YTH4KN.js} +1 -1
  238. package/dist/{core-VVHFCKCO.js → core-4ZEVWU43.js} +1 -1
  239. package/dist/{core-QWG23TDT.js → core-64EHPUVV.js} +1 -1
  240. package/dist/{core-SQUKC752.js → core-6KO5AEUH.js} +1 -1
  241. package/dist/{core-Y7Q7FR65.js → core-7WLD237S.js} +1 -1
  242. package/dist/{core-TBPO7LER.js → core-A2MERE3C.js} +1 -1
  243. package/dist/{core-PARPIO5L.js → core-AVNB2Q3G.js} +2 -1
  244. package/dist/{core-DIVRGZGD.js → core-B7KOBTRL.js} +1 -1
  245. package/dist/{core-HEQ4MJA5.js → core-BOOD7ZUQ.js} +1 -1
  246. package/dist/{core-QRRWZUTR.js → core-BOU34T23.js} +1 -1
  247. package/dist/{core-G2TWJHKM.js → core-BQ2I77OF.js} +2 -1
  248. package/dist/{core-6YHAYDG2.js → core-BSEXRZD6.js} +1 -1
  249. package/dist/{core-DSI2ZK5C.js → core-CXEEM26F.js} +1 -1
  250. package/dist/{core-YMX3VETP.js → core-EHMPBG6Q.js} +1 -1
  251. package/dist/{core-B3AVFEWH.js → core-FXC4TB2K.js} +1 -1
  252. package/dist/{core-PJHQY3CR.js → core-HMS72VO6.js} +1 -1
  253. package/dist/{core-LZF7CC2E.js → core-I2GPMB2B.js} +1 -1
  254. package/dist/{core-PL2T5XOC.js → core-IQC6H4A7.js} +1 -1
  255. package/dist/{core-HKKPL444.js → core-IYEFTP6C.js} +1 -1
  256. package/dist/{core-HWDAFGAI.js → core-J2QTOU4D.js} +1 -1
  257. package/dist/{core-FS3AFDBX.js → core-JJLIPTEW.js} +1 -1
  258. package/dist/{core-I23MMHHJ.js → core-LCP44UYI.js} +1 -2
  259. package/dist/{core-Y74GS6HN.js → core-MBNVENCZ.js} +1 -1
  260. package/dist/{core-VZT7F5AI.js → core-MVIK7FAJ.js} +2 -1
  261. package/dist/{core-FKW6RSGU.js → core-N4OKPNXQ.js} +1 -1
  262. package/dist/{core-7K35DCB7.js → core-Q4IILTGO.js} +1 -1
  263. package/dist/{core-WXPK24YD.js → core-QCPDOQEJ.js} +2 -1
  264. package/dist/{core-7UMZLBSB.js → core-RVTF336C.js} +1 -1
  265. package/dist/{core-JWYT46N3.js → core-VGMMKEU4.js} +1 -1
  266. package/dist/{core-PVD4MX3R.js → core-VUVJOMUC.js} +1 -1
  267. package/dist/{core-3TLA5IU3.js → core-VWISBHXE.js} +1 -1
  268. package/dist/{core-LCK3P3DS.js → core-W3UBWZR3.js} +1 -1
  269. package/dist/{core-XYTCGP3I.js → core-XYQRB5WF.js} +1 -1
  270. package/dist/{core-SVIYWQVR.js → core-Y6DJHIYT.js} +1 -1
  271. package/dist/{core-NRNTVPSJ.js → core-YHWVJULU.js} +1 -1
  272. package/dist/{core-RHYZULNG.js → core-YJXOVNIE.js} +1 -1
  273. package/dist/{dataTable-HTQMPQB6.js → dataTable-3ZK3ZEZP.js} +3 -2
  274. package/dist/{engine-RHDMQS7T.js → engine-FSWLRWZR.js} +19 -17
  275. package/dist/fixtures.js +1 -1
  276. package/dist/index.js +14 -13
  277. package/dist/{main-7SMEJF5Q.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-YBW6OQUZ.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-YRLZRQ2F.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-FYY72W63.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-PWS6G27I.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 +12 -6
  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-RYFRYLU6.js +0 -89
  412. package/dist/chunk-VAR3DPXR.js +0 -125
  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
@@ -5,38 +5,38 @@ import {
5
5
  } from "./chunk-VXZFQKBJ.js";
6
6
  import {
7
7
  marginBracketLayout
8
- } from "./chunk-OGWZT3PH.js";
8
+ } from "./chunk-3ZR7ZE64.js";
9
9
  import {
10
10
  axisBreakInvalid,
11
11
  breakStyleRefusal
12
- } from "./chunk-JMMKOICP.js";
12
+ } from "./chunk-NUASZPS7.js";
13
13
  import {
14
14
  HEAD_PREFIX,
15
15
  asColumnHeads,
16
16
  columnHeadFont,
17
17
  fitHead,
18
18
  headRequest
19
- } from "./chunk-KG7LKHD7.js";
19
+ } from "./chunk-ICJUN47O.js";
20
20
  import {
21
21
  runAnnotatePass
22
- } from "./chunk-CRTRY3IQ.js";
22
+ } from "./chunk-QDFX2KAP.js";
23
23
  import {
24
24
  rowLabelBand
25
- } from "./chunk-LLEDONMT.js";
25
+ } from "./chunk-MTOBNHAU.js";
26
26
  import {
27
27
  fittedLabel,
28
28
  gutterBudget,
29
29
  stepDownFont
30
- } from "./chunk-O3U6IOIO.js";
30
+ } from "./chunk-MOBRWYUQ.js";
31
31
  import {
32
32
  chartTheme
33
- } from "./chunk-WFBN2HXR.js";
33
+ } from "./chunk-AIPOSNVG.js";
34
34
  import {
35
35
  labelOn
36
- } from "./chunk-TMEUK2WS.js";
36
+ } from "./chunk-77L6QGIG.js";
37
37
  import {
38
38
  structureCount
39
- } from "./chunk-KW4JXWHO.js";
39
+ } from "./chunk-YDYZWCUQ.js";
40
40
  import {
41
41
  alignedRight,
42
42
  authoredTrackWidth,
@@ -59,7 +59,7 @@ import {
59
59
  planValueAxisTitle,
60
60
  straightBreakGlyph,
61
61
  valueAxisTitleRequest
62
- } from "./chunk-F6IPP33V.js";
62
+ } from "./chunk-YM4MVABU.js";
63
63
  import {
64
64
  PRIORITY,
65
65
  authoredFootnoteCount,
@@ -73,27 +73,27 @@ import {
73
73
  solveFrame,
74
74
  solveLabels,
75
75
  withUnprintedClaims
76
- } from "./chunk-D3UPBA4R.js";
76
+ } from "./chunk-AUSZDYGE.js";
77
77
  import {
78
78
  disclosureNote
79
- } from "./chunk-DZYTXZNS.js";
79
+ } from "./chunk-WD5NJHZG.js";
80
80
  import {
81
81
  emptyIdRecord
82
82
  } from "./chunk-LINZPU5D.js";
83
83
  import {
84
+ defaultSetSpec,
85
+ engineFormatterFromExample,
86
+ formatWithSpec,
84
87
  formatterFromExample,
85
- seriesRasterFormatter
86
- } from "./chunk-Z6DUNKFU.js";
88
+ ruleFormatter,
89
+ statisticFormatter
90
+ } from "./chunk-3JG764MI.js";
87
91
  import {
88
- autoDecimals,
89
92
  chartStrings,
90
- formatAutomaticNumber,
91
93
  numberRange,
92
- seriesFormatterAt,
93
94
  seriesValueDecimals,
94
- seriesValueFormatter,
95
95
  splitNumberMarks
96
- } from "./chunk-MSYTF3DZ.js";
96
+ } from "./chunk-FYFXOLWI.js";
97
97
  import {
98
98
  canvasMargin,
99
99
  createOccupiedIndex,
@@ -105,7 +105,7 @@ import {
105
105
  semanticPalettePaint,
106
106
  strokeToken,
107
107
  textScaleOf
108
- } from "./chunk-TX5FSNAU.js";
108
+ } from "./chunk-XAH4EWJT.js";
109
109
  import {
110
110
  pickInk
111
111
  } from "./chunk-BQBD6Q5J.js";
@@ -348,7 +348,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
348
348
  chartTheme(options),
349
349
  options.palette,
350
350
  warnings
351
- ), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, authoredFmt = options.format ? formatterFromExample(options.format, options.locale?.language) : void 0, labelsOff = options.labels === !1, labelOn2 = (kind) => labelOn(options, kind), highlights = new Set(resolveHighlight(options.highlight));
351
+ ), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, authoredFmt = options.format ? formatterFromExample(options.format, options.locale?.language) : void 0, engineFmt = options.format ? engineFormatterFromExample(options.format, options.locale?.language) : void 0, labelsOff = options.labels === !1, labelOn2 = (kind) => labelOn(options, kind), highlights = new Set(resolveHighlight(options.highlight));
352
352
  if (!data || !Array.isArray(data.groups) || data.groups.length === 0)
353
353
  throw new NormalizeError("empty-data", "groups", "box requires at least one group", "add groups[].observations", void 0, ["data", "groups"]);
354
354
  if (data.groups.every((group) => (group.observations?.length ?? 0) === 0))
@@ -376,20 +376,10 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
376
376
  return am === null && bm === null ? a - b : am === null ? 1 : bm === null ? -1 : (am - bm) * direction || a - b;
377
377
  });
378
378
  }
379
- let rows = order.map((index) => summaries[index]), printed = [
379
+ let rows = order.map((index) => summaries[index]), observationSpec = engineFmt ? void 0 : defaultSetSpec(data.groups.flatMap((group) => group.observations ?? []), options.locale?.language, options.unit), percentileWhiskers = whiskerRule === "p10p90", ruleStat = observationSpec ? statisticFormatter(rows.flatMap((row) => [row.q1, row.median, row.q3, ...percentileWhiskers ? [row.whiskerLow, row.whiskerHigh] : []]), observationSpec) : void 0, ruleObservation = observationSpec ? (value) => formatWithSpec(value, observationSpec) : void 0, printed = [
380
380
  ...data.groups.flatMap((group) => group.observations ?? []),
381
381
  ...rows.flatMap((row) => [row.min, row.q1, row.median, row.q3, row.max, row.whiskerLow, row.whiskerHigh])
382
- ], labelled = rows.flatMap((row, index) => [
383
- row.min,
384
- row.q1,
385
- row.median,
386
- row.q3,
387
- row.max,
388
- row.whiskerLow,
389
- row.whiskerHigh,
390
- ...showOutliers ? row.beyondWhiskers : [],
391
- ...row.state === "points" && showObservations === "small-n" ? data.groups[order[index]].observations ?? [] : []
392
- ]), engine = authoredFmt || options.target === void 0 || !labelled.some((value) => value != null && Math.abs(value) >= 1e6) ? void 0 : seriesRasterFormatter(void 0, labelled, options.locale?.language, options.unit, options.target), scaled = engine?.spec.autoMagnitude ? engine : void 0, axisFmt = authoredFmt ?? scaled?.fmt ?? ((value) => formatAutomaticNumber(value, { locale: options.locale?.language, decimals: autoDecimals(value) })), labelDecimals = seriesValueDecimals(printed), fmt = authoredFmt ?? scaled?.fmt ?? seriesFormatterAt(labelDecimals, options.locale?.language), fmtMedian = authoredFmt || scaled ? fmt : seriesValueFormatter(rows.map((row) => row.median), options.locale?.language, options.unit, options.target);
382
+ ], axisFmt = engineFmt ?? ruleObservation, labelDecimals = seriesValueDecimals(printed), fmt = engineFmt ?? ruleStat, whiskerFmt = engineFmt ?? (percentileWhiskers ? ruleStat : ruleObservation), observationFmt = authoredFmt ?? ruleObservation, fmtMedian = fmt, statText = (row, stat) => (stat === "min" || stat === "max" ? engineFmt ?? ruleObservation : stat === "whiskerLow" || stat === "whiskerHigh" ? whiskerFmt : fmt)(row[stat]);
393
383
  whiskerRule === "minmax" && options.showOutliers !== void 0 && warnings.push({
394
384
  code: "box-outliers-ignored",
395
385
  severity: "info",
@@ -513,8 +503,8 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
513
503
  occupied
514
504
  ), plot0 = frameResult.plot, axisShown = options.valueAxis?.show !== !1, axisTitle = axisShown && labelOn2("axisTitle") ? planValueAxisTitle(options.axisTitles?.primary, theme, measure, plot0.w) : void 0, axisH = axisShown ? measure("0", tickFont).height + 8 + (axisTitle ? axisTitle.height + 2 : 0) : 0, valueLabelH = measure("0", labelFont).height, topPad = labelOn2("point") ? valueLabelH + 4 : 0;
515
505
  fixedPlotChrome(frameResult, topPad + axisH);
516
- let availH = plotHeightAfter(frameResult, size.height, plot0.h - topPad - axisH), lineH = tickFont.size * 1.2, nText = (row) => {
517
- let n = `n = ${formatAutomaticNumber(row.n, { locale: options.locale?.language, decimals: 0 })}`, withheld = withheldBeyond[row.id], hidden = withheld ? chartString2(options, "boxHiddenCount", { v1: withheld }) : "";
506
+ let availH = plotHeightAfter(frameResult, size.height, plot0.h - topPad - axisH), lineH = tickFont.size * 1.2, baseFmt = ruleFormatter(rows.map((row) => row.n), options.locale?.language), nText = (row) => {
507
+ let n = `n = ${baseFmt(row.n)}`, withheld = withheldBeyond[row.id], hidden = withheld ? chartString2(options, "boxHiddenCount", { v1: withheld }) : "";
518
508
  return row.state === "empty" ? chartString2(options, "boxEmptyN", { v1: n }) : row.state === "points" ? showObservations === "small-n" ? chartString2(options, "boxPointsN", { v1: n }) : chartString2(options, "boxSmallN", { v1: n }) : row.state === "median-only" ? `${n} \xB7 IQR = 0${hidden}` : `${n}${hidden}`;
519
509
  }, nTexts = rows.map(nText), nSplit = nTexts.map((text) => {
520
510
  let at = text.indexOf(" \xB7 ");
@@ -539,7 +529,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
539
529
  let rawH = plot0.h - topPad - axisH;
540
530
  frameResult.frame.plotMinHeight = Math.max(frameResult.frame.plotMinHeight ?? 0, size.height + (frameResult.deficit ?? 0) - rawH + rows.length * (2 * lineH + 4));
541
531
  }
542
- let parkLabel = parked === void 0 ? "" : axisFmt(parked), parkRoom = parked === void 0 ? 0 : PARK_GAP + Math.max(POINT_R, measure(parkLabel, tickFont).width / 2);
532
+ let parkLabel = parked === void 0 ? "" : (ruleObservation ?? axisFmt)(parked), parkRoom = parked === void 0 ? 0 : PARK_GAP + Math.max(POINT_R, measure(parkLabel, tickFont).width / 2);
543
533
  overrides?.n?.width !== void 0 && !nUnder && !labelsOff && (nBandTotal = authoredTrackWidth("n", overrides.n.width, nBandTotal - N_BAND_GAP, plot0.w - catBandTotal - bracketRoom - parkRoom - N_BAND_GAP - plotKeeps, warnings) + N_BAND_GAP, nFloorTotal = nBandTotal);
544
534
  let denseRows = availH / rows.length < valueLabelH + MEDIAN_OFFSET + MEDIAN_CLEAR + 8, medianRows = rows.filter((row) => row.median !== null && row.state !== "points"), medianWanted = denseRows && labelOn2("point") && options.boxValues !== "all" && medianRows.length > 0, headFont = columnHeadFont(theme, options.target ?? DEFAULT_TARGET, textScaleOf(options)), medianBodyW = medianWanted ? maxOf(medianRows.map((row) => measure(fmtMedian(row.median), labelFont).width)) : 0, medianHeadFit = medianWanted ? fitHead(overrides?.median?.label ?? "Median", headFont, medianBodyW, measure, { target: options.target ?? DEFAULT_TARGET, textScale: textScaleOf(options) }) : void 0, medianNaturalW = medianHeadFit ? Math.max(medianHeadFit.w, medianBodyW) : 0, medianColW = medianHeadFit ? N_BAND_GAP + (overrides?.median?.width === void 0 ? medianNaturalW : authoredTrackWidth("median", overrides.median.width, medianNaturalW, plot0.w - catBandTotal - nBandTotal - N_BAND_GAP - bracketRoom - parkRoom - plotKeeps, warnings)) : 0, medianCol = medianWanted && plot0.w - catBandTotal - nBandTotal - medianColW - bracketRoom - parkRoom >= MIN_VALUE_RUN, medianHead = medianCol ? medianHeadFit : void 0, medianColRight = plot0.x + plot0.w - nBandTotal, medianColTotal = medianCol ? medianColW : 0;
545
535
  columnOverrideWarnings("box", overrides, [...labelOn2("category") ? ["label"] : [], ...!nUnder && !labelsOff ? ["n"] : [], ...medianCol ? ["median"] : []], medianCol ? ["median"] : [], warnings), nBandTotal += medianColTotal;
@@ -569,7 +559,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
569
559
  ...scaleEnd - plot.x < 320 ? { tickCount: 3 } : {},
570
560
  gridlines: options.valueAxis?.gridlines ?? !1,
571
561
  format: axisFmt,
572
- ...scaled ? { formatSpec: scaled.spec } : {},
562
+ ...observationSpec ? { formatSpec: observationSpec } : {},
573
563
  theme,
574
564
  measure,
575
565
  canvasWidth: size.width
@@ -627,7 +617,12 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
627
617
  if (value === null || row.median === null) return !0;
628
618
  let width = measure(fmt(value), labelFont).width;
629
619
  return stat === "q1" ? x(value) + 3 + width < x(row.median) - 3 : x(value) - 3 - width > x(row.median) + 3;
630
- }, quartilesInside = rows.every((row) => row.state !== "box" || quartileFits(row, "q1") && quartileFits(row, "q3")), unresolvedCollisions = 0;
620
+ }, quartilesInside = rows.every((row) => row.state !== "box" || quartileFits(row, "q1") && quartileFits(row, "q3")), observationShows = (index, value, text) => {
621
+ let shows = {}, occurrence = 0;
622
+ for (let observation of data.groups[order[index]].observations)
623
+ observation === value && (shows[`field:${JSON.stringify(["observation", value, occurrence++])}`] = text);
624
+ return shows;
625
+ }, unresolvedCollisions = 0;
631
626
  if (rows.forEach((row, index) => {
632
627
  let rowCenter = band.center(index), rowY = rowCenter - boxH / 2, owner = { categoryId: row.id }, rowRect = { x: plot.x, y: band.position(index), w: plot.w, h: band.bandwidth }, mark = {
633
628
  id: row.id,
@@ -635,8 +630,19 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
635
630
  rect: rowRect,
636
631
  whiskerNodeIds: [],
637
632
  beyondNodeIds: [],
638
- observationNodeIds: []
639
- }, isHighlighted = highlights.has(row.id), boxFill = semanticPalettePaint(
633
+ observationNodeIds: [],
634
+ ...observationSpec ? { texts: Object.fromEntries(["q1", "q3", "whiskerLow", "whiskerHigh"].flatMap((stat) => row[stat] === null ? [] : [[stat, statText(row, stat)]])) } : {}
635
+ };
636
+ if (ruleObservation) {
637
+ let shows = {}, seen = /* @__PURE__ */ new Map();
638
+ for (let observation of data.groups[order[index]].observations ?? []) {
639
+ if (!Number.isFinite(observation)) continue;
640
+ let occurrence = seen.get(observation) ?? 0;
641
+ seen.set(observation, occurrence + 1), shows[`field:["observation",${observation},${occurrence}]`] = ruleObservation(observation);
642
+ }
643
+ (marks.shown ??= []).push({ owner, shows });
644
+ }
645
+ let isHighlighted = highlights.has(row.id), boxFill = semanticPalettePaint(
640
646
  theme,
641
647
  options.palette,
642
648
  isHighlighted ? "focus" : "neutralLight"
@@ -648,7 +654,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
648
654
  if (row.state === "box" || row.state === "median-only") {
649
655
  let xLow = x(row.whiskerLow), xHigh = x(row.whiskerHigh), xQ1 = x(row.q1), xQ3 = x(row.q3);
650
656
  if (xLow < xQ1) {
651
- let id = `box:whiskerLow:${row.id}`;
657
+ let lowText = whiskerFmt(row.whiskerLow), id = `box:whiskerLow:${row.id}`;
652
658
  nodes.push({
653
659
  t: "line",
654
660
  id,
@@ -660,7 +666,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
660
666
  width: strokeToken(theme, "rule"),
661
667
  owner,
662
668
  part: "boxWhisker",
663
- display: { ...display, value: fmt(row.whiskerLow) }
669
+ display: { ...display, value: lowText, shows: observationSpec && percentileWhiskers ? {} : observationShows(index, row.whiskerLow, lowText) }
664
670
  }), occupied.claim({ x: xLow, y: rowCenter - 0.5, w: xQ1 - xLow, h: 1 }, "mark", owner, "boxWhisker");
665
671
  let capId = `box:capLow:${row.id}`;
666
672
  nodes.push({
@@ -674,7 +680,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
674
680
  width: strokeToken(theme, "rule"),
675
681
  owner,
676
682
  part: "boxWhiskerCap",
677
- display: { ...display, value: fmt(row.whiskerLow) }
683
+ display: { ...display, value: lowText }
678
684
  }), occupied.claim(
679
685
  { x: xLow - 0.5, y: rowCenter - capH / 2, w: 1, h: capH },
680
686
  "mark",
@@ -683,7 +689,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
683
689
  ), mark.whiskerNodeIds.push(id, capId);
684
690
  }
685
691
  if (xHigh > xQ3) {
686
- let id = `box:whiskerHigh:${row.id}`;
692
+ let highText = whiskerFmt(row.whiskerHigh), id = `box:whiskerHigh:${row.id}`;
687
693
  nodes.push({
688
694
  t: "line",
689
695
  id,
@@ -695,7 +701,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
695
701
  width: strokeToken(theme, "rule"),
696
702
  owner,
697
703
  part: "boxWhisker",
698
- display: { ...display, value: fmt(row.whiskerHigh) }
704
+ display: { ...display, value: highText, shows: observationSpec && percentileWhiskers ? {} : observationShows(index, row.whiskerHigh, highText) }
699
705
  }), occupied.claim({ x: xQ3, y: rowCenter - 0.5, w: xHigh - xQ3, h: 1 }, "mark", owner, "boxWhisker");
700
706
  let capId = `box:capHigh:${row.id}`;
701
707
  nodes.push({
@@ -709,7 +715,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
709
715
  width: strokeToken(theme, "rule"),
710
716
  owner,
711
717
  part: "boxWhiskerCap",
712
- display: { ...display, value: fmt(row.whiskerHigh) }
718
+ display: { ...display, value: highText }
713
719
  }), occupied.claim(
714
720
  { x: xHigh - 0.5, y: rowCenter - capH / 2, w: 1, h: capH },
715
721
  "mark",
@@ -744,7 +750,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
744
750
  width: strokeToken(theme, "mark"),
745
751
  owner,
746
752
  part: "boxMedian",
747
- display: { ...display, value: fmtMedian(row.median) }
753
+ display: { ...display, value: fmtMedian(row.median), shows: { value: statText(row, "median") } }
748
754
  }), occupied.claim(
749
755
  { x: medianX - 0.75, y: rowY, w: 1.5, h: boxH },
750
756
  "mark",
@@ -776,7 +782,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
776
782
  strokeWidth: strokeToken(theme, "mark"),
777
783
  owner,
778
784
  part: "boxBeyondGroup",
779
- display: { ...display, value: chartString2(options, "boxValuesSpan", { v1: count, v2: fmt(members[0].point.value), v3: fmt(members.at(-1).point.value) }) }
785
+ display: { ...display, value: chartString2(options, "boxValuesSpan", { v1: count, v2: observationFmt(members[0].point.value), v3: observationFmt(members.at(-1).point.value) }) }
780
786
  }), occupied.claim(rect, "mark", owner, "boxBeyond"), mark.beyondNodeIds.push(id);
781
787
  let text = chartString2(options, "boxValuesCount", { v1: count }), size2 = measure(text, labelFont), cx = (left + right) / 2, low = members[0].point.value < (row.median ?? 0), sideXs = sortedPoints.filter((entry) => entry.point.value < (row.median ?? 0) === low).map((entry) => xp(entry.point.value)), outer = low ? Math.min(left, minOf(sideXs.map((dx) => dx - POINT_R))) - 4 - size2.width : Math.max(right, maxOf(sideXs.map((dx) => dx + POINT_R))) + 4;
782
788
  labelRequests.push({
@@ -803,7 +809,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
803
809
  if (rowPoints.forEach((entry, i) => {
804
810
  let { point, k, kind } = entry, cx = xp(point.value), cy = rowCenter + laneOffset(lanes[i]);
805
811
  totalPoints += 1, lanes[i] > 0 && (dodgedPoints += 1), painted.minX = Math.min(painted.minX, cx - POINT_R), painted.maxX = Math.max(painted.maxX, cx + POINT_R), painted.minY = Math.min(painted.minY, cy - POINT_R), painted.maxY = Math.max(painted.maxY, cy + POINT_R);
806
- let id = kind === "obs" ? `box:obs:${row.id}:${k}` : `box:beyond:${row.id}:${k}`, value = point.count > 1 ? `${fmt(point.value)} (\xD7${point.count})` : fmt(point.value);
812
+ let id = kind === "obs" ? `box:obs:${row.id}:${k}` : `box:beyond:${row.id}:${k}`, pointText = observationFmt(point.value), value = point.count > 1 ? `${pointText} (\xD7${point.count})` : pointText;
807
813
  if (nodes.push(
808
814
  kind === "obs" ? {
809
815
  t: "circle",
@@ -814,7 +820,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
814
820
  fill: pointFill,
815
821
  owner,
816
822
  part: "boxObservation",
817
- display: { ...display, value }
823
+ display: { ...display, value, shows: observationShows(index, point.value, pointText) }
818
824
  } : {
819
825
  t: "circle",
820
826
  id,
@@ -842,6 +848,8 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
842
848
  owner,
843
849
  text: value,
844
850
  lines: [value],
851
+ // '4.0 (×2)' prints the value of both observations.
852
+ shows: observationShows(index, point.value, pointText),
845
853
  font: labelFont,
846
854
  priority: PRIORITY.interior,
847
855
  candidates: [
@@ -854,7 +862,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
854
862
  let medianX = x(row.median), stats = [["q1", row.q1, -1], ["q3", row.q3, 1], ["whiskerLow", row.whiskerLow, -1], ["whiskerHigh", row.whiskerHigh, 1]];
855
863
  for (let [stat, value, outward] of stats) {
856
864
  if (value === null || stat.startsWith("whisker") && value === (stat === "whiskerLow" ? row.q1 : row.q3)) continue;
857
- let text = fmt(value), size2 = measure(text, labelFont), statX = x(value), under = rowY + boxH + 4, onRow = rowCenter - size2.height / 2, inside = stat === "q1" ? statX + 3 : statX - 3 - size2.width, insideFits = quartilesInside && (stat === "q1" ? inside + size2.width < medianX - 3 : inside > medianX + 3), candidates = [
865
+ let text = statText(row, stat), size2 = measure(text, labelFont), statX = x(value), under = rowY + boxH + 4, onRow = rowCenter - size2.height / 2, inside = stat === "q1" ? statX + 3 : statX - 3 - size2.width, insideFits = quartilesInside && (stat === "q1" ? inside + size2.width < medianX - 3 : inside > medianX + 3), candidates = [
858
866
  ...stat.startsWith("q") && insideFits ? [{ slot: "insideBox", rect: { x: inside, y: onRow, w: size2.width, h: size2.height }, penalty: 0, insideFill: paintColor(theme, boxFill), insidePaint: boxFill }] : [],
859
867
  // Beyond the cap only where no dot of the row lies, since the
860
868
  // solver lets a label sit on its own row's small marks.
@@ -867,7 +875,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
867
875
  })(),
868
876
  { slot: "under", rect: { x: statX - size2.width / 2, y: under, w: size2.width, h: size2.height }, penalty: 1 },
869
877
  { slot: "underOutward", rect: { x: outward < 0 ? statX - size2.width : statX, y: under, w: size2.width, h: size2.height }, penalty: 2 }
870
- ];
878
+ ], shows = observationSpec && (stat === "q1" || stat === "q3" || percentileWhiskers) ? {} : observationShows(index, value, text);
871
879
  labelRequests.push({
872
880
  id: `stat:${row.id}:${stat}`,
873
881
  kind: "point",
@@ -876,6 +884,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
876
884
  text,
877
885
  lines: [text],
878
886
  font: labelFont,
887
+ ...Object.keys(shows).length > 0 ? { shows } : {},
879
888
  ...stat === "q1" || stat === "q3" ? { claimIds: [`box:${stat}:${row.id}`] } : {},
880
889
  priority: PRIORITY.interior,
881
890
  candidates
@@ -969,7 +978,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
969
978
  });
970
979
  }
971
980
  if (labelOn2("point") && row.median !== null && row.state !== "points") {
972
- let text = `${index === firstMedianRow && !medianCol ? "Median " : ""}${fmtMedian(row.median)}`, textSize = measure(text, labelFont), medianX = x(row.median), hasPoints = painted.maxX > -1 / 0, clearHigh = Math.max(row.whiskerHigh === null ? medianX : x(row.whiskerHigh), hasPoints ? painted.maxX : -1 / 0), clearLow = Math.min(row.whiskerLow === null ? medianX : x(row.whiskerLow), hasPoints ? painted.minX : 1 / 0), clearTop = Math.min(rowY, hasPoints ? painted.minY : 1 / 0), clearBottom = Math.max(rowY + boxH, hasPoints ? painted.maxY : -1 / 0);
981
+ let text = `${index === firstMedianRow && !medianCol ? "Median " : ""}${statText(row, "median")}`, textSize = measure(text, labelFont), medianX = x(row.median), hasPoints = painted.maxX > -1 / 0, clearHigh = Math.max(row.whiskerHigh === null ? medianX : x(row.whiskerHigh), hasPoints ? painted.maxX : -1 / 0), clearLow = Math.min(row.whiskerLow === null ? medianX : x(row.whiskerLow), hasPoints ? painted.minX : 1 / 0), clearTop = Math.min(rowY, hasPoints ? painted.minY : 1 / 0), clearBottom = Math.max(rowY + boxH, hasPoints ? painted.maxY : -1 / 0);
973
982
  labelRequests.push({
974
983
  id: `median:${row.id}`,
975
984
  claimIds: [`box:median:${row.id}`],
@@ -977,6 +986,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
977
986
  role: composedTextRole(text),
978
987
  owner,
979
988
  text,
989
+ shows: { value: statText(row, "median") },
980
990
  lines: [text],
981
991
  font: labelFont,
982
992
  priority: PRIORITY.endpoint,
@@ -1097,7 +1107,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
1097
1107
  ]),
1098
1108
  ...withheldTotal > 0 ? [structureCount("observations", withheldTotal, chartString2(options, "boxWithheldCount", { v1: withheldTotal }))] : []
1099
1109
  ],
1100
- desc: chartString2(options, "boxDescStart", { v1: METHOD_BY_RULE[whiskerRule] }) + rows.map((row) => describeRow(row, fmt, fmtMedian, whiskerRule, options)).join(" ") + chartString2(options, "boxRuleDesc", { v1: whiskerRule, v2: chartString2(options, { tukey: "boxBeyondMeaningtukey", minmax: "boxBeyondMeaningminmax", p10p90: "boxBeyondMeaningp10p90" }[whiskerRule]) }) + (withheldTotal > 0 ? chartString2(options, "boxWithheldDesc", { v1: withheldTotal }) : "")
1110
+ desc: chartString2(options, "boxDescStart", { v1: METHOD_BY_RULE[whiskerRule] }) + rows.map((row) => describeRow(row, statText, whiskerRule, options)).join(" ") + chartString2(options, "boxRuleDesc", { v1: whiskerRule, v2: chartString2(options, { tukey: "boxBeyondMeaningtukey", minmax: "boxBeyondMeaningminmax", p10p90: "boxBeyondMeaningp10p90" }[whiskerRule]) }) + (withheldTotal > 0 ? chartString2(options, "boxWithheldDesc", { v1: withheldTotal }) : "")
1101
1111
  },
1102
1112
  warnings,
1103
1113
  debug: {
@@ -1110,6 +1120,7 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
1110
1120
  measure,
1111
1121
  solveCtx,
1112
1122
  xScale: x,
1123
+ levelSpec: observationSpec,
1113
1124
  bracketRight: plot.x + plot.w + BRACKET_CLEAR,
1114
1125
  wrapLead,
1115
1126
  // The floor holds the brackets at their narrowest: wrapped where they can wrap.
@@ -1122,12 +1133,12 @@ function layoutBox(data, options = {}, bracketRoom = 0, wrapLead = !1) {
1122
1133
  }
1123
1134
  });
1124
1135
  }
1125
- function describeRow(row, fmt, fmtMedian, rule, options) {
1136
+ function describeRow(row, text, rule, options) {
1126
1137
  if (row.state === "empty") return chartString2(options, "emptyBoxRow", { v1: row.label });
1127
1138
  if (row.state === "points")
1128
- return chartString2(options, "pointsBoxRow", { v1: row.label, v2: row.n, v3: fmt(row.min), v4: fmt(row.max), v5: fmtMedian(row.median) });
1139
+ return chartString2(options, "pointsBoxRow", { v1: row.label, v2: row.n, v3: text(row, "min"), v4: text(row, "max"), v5: text(row, "median") });
1129
1140
  let beyond = row.beyondWhiskers.length === 0 ? "" : `, ${row.beyondWhiskers.length} ${chartString2(options, { tukey: "boxBeyondNountukey", minmax: "boxBeyondNounminmax", p10p90: "boxBeyondNounp10p90" }[rule])}`;
1130
- return row.state === "median-only" ? chartString2(options, "medianBoxRow", { v1: row.label, v2: row.n, v3: fmtMedian(row.median), v4: beyond }) : chartString2(options, "fullBoxRow", { v1: row.label, v2: row.n, v3: fmt(row.q1), v4: fmtMedian(row.median), v5: fmt(row.q3), v6: fmt(row.whiskerLow), v7: fmt(row.whiskerHigh), v8: beyond });
1141
+ return row.state === "median-only" ? chartString2(options, "medianBoxRow", { v1: row.label, v2: row.n, v3: text(row, "median"), v4: beyond }) : chartString2(options, "fullBoxRow", { v1: row.label, v2: row.n, v3: text(row, "q1"), v4: text(row, "median"), v5: text(row, "q3"), v6: text(row, "whiskerLow"), v7: text(row, "whiskerHigh"), v8: beyond });
1131
1142
  }
1132
1143
 
1133
1144
  // src/core/charts/box/core.ts