boardplot 0.55.0 → 0.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (342) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/dist/{ReaderBox-3FFPHWSI.js → ReaderBox-GLCKYXBU.js} +3 -3
  3. package/dist/{annotateEngine-ET4DM2OK.js → annotateEngine-QVNAE3EH.js} +1 -1
  4. package/dist/build-identity.json +3 -3
  5. package/dist/{chunk-CKNOLGRR.js → chunk-27OIGDRK.js} +1 -1
  6. package/dist/{chunk-3OZRODC4.js → chunk-2DOEZ5QY.js} +3 -3
  7. package/dist/{chunk-GD5TYS5R.js → chunk-2FKEF2AC.js} +8 -8
  8. package/dist/{chunk-FS6ZE5TG.js → chunk-2HTYGMMG.js} +2 -2
  9. package/dist/{chunk-2C4SYWZ3.js → chunk-2NN676RI.js} +3 -3
  10. package/dist/{chunk-CZ3WCG55.js → chunk-2NRHD2G7.js} +1 -1
  11. package/dist/{chunk-WWIY6BBY.js → chunk-2NSQIPAA.js} +5 -5
  12. package/dist/{chunk-7Z73MM35.js → chunk-2YO4WRJN.js} +11 -1
  13. package/dist/{chunk-OY2UJ4XK.js → chunk-32LLDRPI.js} +7 -7
  14. package/dist/{chunk-NCZWLV7T.js → chunk-3465633G.js} +2 -2
  15. package/dist/{chunk-MEMPP7VZ.js → chunk-37PKNVLS.js} +1 -1
  16. package/dist/{chunk-H4VDQ7OE.js → chunk-3V62N3Z7.js} +3 -3
  17. package/dist/{chunk-6C64IBOG.js → chunk-43GGVT7W.js} +1 -1
  18. package/dist/{chunk-3C24WWUQ.js → chunk-4JC3SE4G.js} +1 -1
  19. package/dist/{chunk-WEMUCDPK.js → chunk-4JGBCBDZ.js} +1 -1
  20. package/dist/{chunk-DEYAI662.js → chunk-4JHMCXOB.js} +4 -4
  21. package/dist/{chunk-RUWNG2JC.js → chunk-4KMZAK6J.js} +4 -4
  22. package/dist/{chunk-2ALFFOKB.js → chunk-4KQHKPB3.js} +6 -5
  23. package/dist/{chunk-AZM4YNRE.js → chunk-4LTN7SND.js} +1 -1
  24. package/dist/{chunk-GMJFCBR6.js → chunk-52WNCUIN.js} +1 -1
  25. package/dist/{chunk-3ZAH24P6.js → chunk-54ROMBU7.js} +11 -11
  26. package/dist/{chunk-IF2ZABAM.js → chunk-5DTCOOLU.js} +2 -2
  27. package/dist/{chunk-32IKJMUF.js → chunk-5P2TTHBZ.js} +1 -1
  28. package/dist/{chunk-B3AXM3MT.js → chunk-5PPQIF4D.js} +1 -1
  29. package/dist/{chunk-MJMOKPTF.js → chunk-5S3JQ5AT.js} +140 -113
  30. package/dist/{chunk-BWVNCLUS.js → chunk-5TWY3ZIC.js} +3 -3
  31. package/dist/{chunk-APQPYM2Z.js → chunk-6364WO5D.js} +2 -2
  32. package/dist/{chunk-X7XTIM6U.js → chunk-63Y3ROZ7.js} +9 -9
  33. package/dist/{chunk-COQEHO7B.js → chunk-64LJDGJH.js} +1 -1
  34. package/dist/{chunk-4Y7BA2NW.js → chunk-67QSW5RW.js} +3 -3
  35. package/dist/{chunk-75TWO5B2.js → chunk-6AMN7IKJ.js} +9 -9
  36. package/dist/{chunk-UF3HSFAE.js → chunk-6EYTD777.js} +3 -3
  37. package/dist/{chunk-AF7EB6N6.js → chunk-6MJUW5R5.js} +18 -12
  38. package/dist/{chunk-HR2BKLS3.js → chunk-6QDMRPXI.js} +12 -12
  39. package/dist/{chunk-LSF76AS3.js → chunk-6WHWXCHJ.js} +1 -1
  40. package/dist/{chunk-RTXRIZYU.js → chunk-75WIUG2W.js} +35 -18
  41. package/dist/{chunk-KND4OM4B.js → chunk-76Q7E3TM.js} +1 -1
  42. package/dist/{chunk-UNMIUILK.js → chunk-7KSUMFBK.js} +1 -1
  43. package/dist/{chunk-37A6CLR5.js → chunk-7M2GK7XQ.js} +4 -4
  44. package/dist/{chunk-NHYKSPL4.js → chunk-7PPMT5EJ.js} +10 -61
  45. package/dist/{chunk-W45AR6EW.js → chunk-7STMIK2X.js} +1 -1
  46. package/dist/{chunk-ILFQ75N4.js → chunk-7VMEM3LN.js} +21 -21
  47. package/dist/{chunk-5DMHMQFP.js → chunk-7VVHTOE7.js} +3 -3
  48. package/dist/{chunk-Z7NHFNH3.js → chunk-A2GAWGVJ.js} +98 -17
  49. package/dist/{chunk-2TAK2ELB.js → chunk-AGDDH6XY.js} +1 -1
  50. package/dist/{chunk-6H3OSHEY.js → chunk-AMR4SUAN.js} +3 -3
  51. package/dist/{chunk-IQDMZ33D.js → chunk-BIGQKCU7.js} +5 -5
  52. package/dist/{chunk-ZBSNF5F7.js → chunk-BISJK67O.js} +6 -6
  53. package/dist/{chunk-RNIYG6PI.js → chunk-BIVL764T.js} +1 -1
  54. package/dist/{chunk-EBC5TMI2.js → chunk-BTDGWHGJ.js} +25 -8
  55. package/dist/{chunk-AM2CG7VX.js → chunk-BYCJ6TKI.js} +2 -2
  56. package/dist/{chunk-XMN3Z43K.js → chunk-CAJ54IEP.js} +1 -1
  57. package/dist/{chunk-D2QMNHCC.js → chunk-CB4CERXZ.js} +1 -1
  58. package/dist/{chunk-6D4EO3S7.js → chunk-CCDXK5NA.js} +3 -3
  59. package/dist/{chunk-33FCWTGT.js → chunk-CCJP6QZO.js} +1 -1
  60. package/dist/{chunk-PYV6ZIR6.js → chunk-CF4NMRN7.js} +5 -5
  61. package/dist/{chunk-XPOMQWXY.js → chunk-CHAS5A5B.js} +12 -12
  62. package/dist/{chunk-RO2PSSAI.js → chunk-CKGSGRP7.js} +2 -2
  63. package/dist/{chunk-3L2VXXM4.js → chunk-CXETOLPX.js} +1 -1
  64. package/dist/{chunk-63L35UCI.js → chunk-CYKXROFG.js} +3 -3
  65. package/dist/{chunk-4YHZSPAJ.js → chunk-DD6RVD3S.js} +1 -1
  66. package/dist/{chunk-5SLJGRUO.js → chunk-DF3XEFQ7.js} +24 -10
  67. package/dist/{chunk-O4WJWHCH.js → chunk-DLDDRXAI.js} +23 -15
  68. package/dist/{chunk-NB7M4KX4.js → chunk-DLUNQHFO.js} +6 -6
  69. package/dist/{chunk-4CJ6UCX4.js → chunk-DMAMWUYY.js} +3 -3
  70. package/dist/{chunk-E6HDUEGK.js → chunk-DQ7YMQVX.js} +3 -3
  71. package/dist/{chunk-AIU4GZV5.js → chunk-E2ZUBP4Q.js} +3 -3
  72. package/dist/{chunk-HLOXWM2O.js → chunk-E555EDOQ.js} +29 -18
  73. package/dist/{chunk-WAPCCJUB.js → chunk-E7V3OHQQ.js} +2 -2
  74. package/dist/{chunk-MLW72KWN.js → chunk-EBB4PYBN.js} +3 -3
  75. package/dist/{chunk-4X3HNETE.js → chunk-ECBUFKCP.js} +2 -2
  76. package/dist/{chunk-LLDKKEUD.js → chunk-EGGDPDYJ.js} +1 -1
  77. package/dist/{chunk-HFRQLMKK.js → chunk-EIL3KHAL.js} +2 -2
  78. package/dist/{chunk-SFG7NG23.js → chunk-EMFUZKYK.js} +1 -1
  79. package/dist/{chunk-O7W35PT3.js → chunk-ETMHDCEH.js} +5 -5
  80. package/dist/{chunk-7UPZPFHQ.js → chunk-F2EVCJ4U.js} +7 -7
  81. package/dist/{chunk-EAR43REB.js → chunk-F5BYLT3M.js} +8 -8
  82. package/dist/{chunk-QEP3X3OV.js → chunk-F77TMAUY.js} +12 -12
  83. package/dist/{chunk-KHRAJDBM.js → chunk-FCECYJVA.js} +1 -1
  84. package/dist/{chunk-GDVR3XHT.js → chunk-FFJGC2DX.js} +1 -1
  85. package/dist/chunk-FG5L2LUK.js +89 -0
  86. package/dist/{chunk-MLGEBFEX.js → chunk-FMDNJ6PC.js} +1 -1
  87. package/dist/{chunk-YLC42C3M.js → chunk-FNMH5WEY.js} +1 -1
  88. package/dist/{chunk-FQF7GSJK.js → chunk-FNRPQIQE.js} +2 -2
  89. package/dist/{chunk-EXDMYV5W.js → chunk-GC4WOLV3.js} +1 -1
  90. package/dist/{chunk-3XOWXLLQ.js → chunk-GELSK76Y.js} +2 -2
  91. package/dist/{chunk-Q3E74U2W.js → chunk-GIHH6VC2.js} +2 -2
  92. package/dist/{chunk-V3MSLNSD.js → chunk-GLQ3KCTY.js} +3 -3
  93. package/dist/{chunk-WFSOKGGA.js → chunk-GM3EGUYW.js} +1 -1
  94. package/dist/{chunk-H3AEYPRP.js → chunk-GQT2SY2S.js} +9 -9
  95. package/dist/{chunk-F5V7YFKS.js → chunk-HHXIVFAU.js} +5 -5
  96. package/dist/{chunk-ZTMZOKVC.js → chunk-HOU2MZHC.js} +3 -3
  97. package/dist/{chunk-RYPJB3RO.js → chunk-I7H5DU34.js} +5 -5
  98. package/dist/{chunk-ZLYQWUNR.js → chunk-IFQN4GKK.js} +89 -31
  99. package/dist/{chunk-CLGUFVHM.js → chunk-IGJ2G5C6.js} +3 -3
  100. package/dist/{chunk-IF76JRXT.js → chunk-IRXVV65V.js} +3 -3
  101. package/dist/{chunk-DB2JKPOX.js → chunk-JCAGVAB3.js} +6 -6
  102. package/dist/{chunk-QKWBDH2L.js → chunk-JCIXYOND.js} +1 -1
  103. package/dist/{chunk-3B3K7TD5.js → chunk-JEUL777U.js} +5 -5
  104. package/dist/{chunk-2YNF6AHH.js → chunk-JFFREZGT.js} +2 -2
  105. package/dist/{chunk-WG5CJGLU.js → chunk-JGFHNAHS.js} +2 -2
  106. package/dist/{chunk-VL7WLE4H.js → chunk-JHWYG7V5.js} +3 -3
  107. package/dist/{chunk-OOFSQ5AS.js → chunk-JIEVDGAF.js} +1 -1
  108. package/dist/{chunk-7Q2WV6D2.js → chunk-JTC5SEAQ.js} +2 -2
  109. package/dist/{chunk-N5TZL74Y.js → chunk-JTFKRDDA.js} +1 -1
  110. package/dist/{chunk-7GVYMGLK.js → chunk-JVZTKQFS.js} +2 -2
  111. package/dist/{chunk-MQYIBGZE.js → chunk-K3VZ5QJK.js} +3 -3
  112. package/dist/{chunk-BGJRCG7N.js → chunk-KBJMLXNW.js} +39 -19
  113. package/dist/{chunk-WSJDLZSZ.js → chunk-KD5GOR2K.js} +12 -9
  114. package/dist/{chunk-YTCIGJUU.js → chunk-KF7HD3EH.js} +17 -17
  115. package/dist/{chunk-KAYBRD4F.js → chunk-KLB2QC24.js} +1 -1
  116. package/dist/{chunk-UIYXMPDW.js → chunk-KLIZXSBK.js} +3 -3
  117. package/dist/{chunk-LFUJTEJO.js → chunk-KQCKK3LD.js} +12 -12
  118. package/dist/{chunk-QBJDHFJJ.js → chunk-KTHFHD6C.js} +2 -2
  119. package/dist/{chunk-O6NJDRXE.js → chunk-L6YVK6VC.js} +2 -2
  120. package/dist/{chunk-KFGZMHIB.js → chunk-LGNJCPFP.js} +4 -4
  121. package/dist/{chunk-OHGEDG46.js → chunk-LKMFMNQX.js} +1 -1
  122. package/dist/{chunk-QOWE55RR.js → chunk-MAFPVR4G.js} +1 -1
  123. package/dist/{chunk-U7W7GYXP.js → chunk-MD6DCQMA.js} +37 -37
  124. package/dist/{chunk-D7G27EYZ.js → chunk-MJPXHCBW.js} +2 -2
  125. package/dist/{chunk-EQRFSVDD.js → chunk-MOK3ZS6P.js} +1 -1
  126. package/dist/{chunk-BFFPYT3Y.js → chunk-MOS6WFWM.js} +5 -5
  127. package/dist/{chunk-ROLR7HRB.js → chunk-MPO5TVGF.js} +1 -1
  128. package/dist/{chunk-P6TA7M3G.js → chunk-MRAP2UVV.js} +8 -8
  129. package/dist/{chunk-EC2PGJ64.js → chunk-MS7O3KDJ.js} +3 -3
  130. package/dist/{chunk-LHKDZAWN.js → chunk-MSYTF3DZ.js} +10 -3
  131. package/dist/{chunk-T5Y4HXYO.js → chunk-MZACASZY.js} +1 -1
  132. package/dist/{chunk-N7N5NIAU.js → chunk-NCLRZQR6.js} +2 -2
  133. package/dist/{chunk-CVIW2MV4.js → chunk-NHC2ADGI.js} +53 -23
  134. package/dist/{chunk-H5L2P2GO.js → chunk-O6ZTIDWB.js} +1 -1
  135. package/dist/{chunk-G63WXSQP.js → chunk-O7REHICC.js} +17 -12
  136. package/dist/{chunk-O2KKQNGW.js → chunk-OG2YUVBW.js} +1 -1
  137. package/dist/{chunk-LA5OYJ5P.js → chunk-OJ5CQV7H.js} +14 -14
  138. package/dist/{chunk-YV5KYGE5.js → chunk-OQQMDSCC.js} +1 -1
  139. package/dist/{chunk-PQYJZMCR.js → chunk-P4SMC4BY.js} +78 -78
  140. package/dist/{chunk-F6CVYNDY.js → chunk-PJBEJR2U.js} +1 -1
  141. package/dist/{chunk-4WT3T5SH.js → chunk-PQLAZEQV.js} +6 -6
  142. package/dist/{chunk-SC42DPNV.js → chunk-QB5HV4IY.js} +3 -3
  143. package/dist/{chunk-KZH2QI6S.js → chunk-QGFKSDQO.js} +2 -2
  144. package/dist/{chunk-EGPXEY2K.js → chunk-QJWLNP64.js} +3 -3
  145. package/dist/{chunk-R27IDIJI.js → chunk-QLANK3VN.js} +3 -3
  146. package/dist/{chunk-K5S3K6QK.js → chunk-QSMGZOT5.js} +3 -3
  147. package/dist/{chunk-O7DVW3IE.js → chunk-QWCLWFKC.js} +7 -6
  148. package/dist/{chunk-JU7S52HI.js → chunk-QZIHKQRH.js} +3 -3
  149. package/dist/{chunk-Z5V6ZM76.js → chunk-R2IKOLBK.js} +3 -3
  150. package/dist/{chunk-YXM4W3TN.js → chunk-R5MEBBAA.js} +6 -6
  151. package/dist/{chunk-5UVJKB7L.js → chunk-RJGCYGC3.js} +10 -10
  152. package/dist/{chunk-CYKIX3IQ.js → chunk-RLMC5CUP.js} +3 -3
  153. package/dist/{chunk-MTRV3BJL.js → chunk-RMC4OONA.js} +37 -20
  154. package/dist/{chunk-ODZJ4LW7.js → chunk-RPIKNMZA.js} +1 -1
  155. package/dist/{chunk-GCSCHK5Y.js → chunk-RT66UTLJ.js} +3 -3
  156. package/dist/{chunk-XYYRHGQI.js → chunk-SE7MJ2LQ.js} +3 -3
  157. package/dist/{chunk-J5PL6JLL.js → chunk-SGDWLXUC.js} +1 -1
  158. package/dist/{chunk-5SHI57XD.js → chunk-SMHZXHHD.js} +1 -1
  159. package/dist/{chunk-LAVVML3X.js → chunk-SRAV6FPB.js} +1 -1
  160. package/dist/{chunk-HGT3UKDW.js → chunk-SS4YGK3E.js} +13 -13
  161. package/dist/{chunk-WDIVAU5U.js → chunk-SXD3OYAR.js} +18 -18
  162. package/dist/{chunk-WALYNKBN.js → chunk-T2CYNDYU.js} +32 -11
  163. package/dist/{chunk-GFIT3FRE.js → chunk-T2YDWT54.js} +37 -34
  164. package/dist/{chunk-ZHFUMVW7.js → chunk-TE4M52AA.js} +1 -1
  165. package/dist/{chunk-JBMWRXDS.js → chunk-TUW5IYGA.js} +3 -3
  166. package/dist/{chunk-M427S3G7.js → chunk-TXBO2LWM.js} +3 -3
  167. package/dist/{chunk-ONKSGT2M.js → chunk-U3A6FMSI.js} +3 -3
  168. package/dist/{chunk-3AJY353W.js → chunk-UBCVBBJJ.js} +1 -1
  169. package/dist/{chunk-IOKWBUQP.js → chunk-UPTXFTKH.js} +3 -3
  170. package/dist/{chunk-6WZZADRL.js → chunk-UREXN6WG.js} +3 -3
  171. package/dist/{chunk-GM2HIU6C.js → chunk-UZLR25BW.js} +3 -3
  172. package/dist/{chunk-VBVG6NEL.js → chunk-UZTQUPTB.js} +3 -3
  173. package/dist/{chunk-OJ2BPQGQ.js → chunk-V5JQQMFQ.js} +1 -1
  174. package/dist/chunk-VJ7VBB6S.js +58 -0
  175. package/dist/{chunk-QRVIS2QB.js → chunk-VPL3JYC6.js} +3 -3
  176. package/dist/{chunk-AB35GVPG.js → chunk-VVXKFU72.js} +16 -14
  177. package/dist/{chunk-NOCIN2EM.js → chunk-WBETBGSC.js} +21 -21
  178. package/dist/{chunk-2BP6X5GX.js → chunk-WI5VOSQX.js} +2 -2
  179. package/dist/{chunk-FI5EXISD.js → chunk-WIVFIVFZ.js} +3 -3
  180. package/dist/{chunk-LF6RTFNK.js → chunk-WN3HEU3P.js} +1 -1
  181. package/dist/{chunk-Z2X4JQNY.js → chunk-WTQAG2OT.js} +1 -1
  182. package/dist/{chunk-NA6WLZ66.js → chunk-WWGPTEQB.js} +7 -7
  183. package/dist/{chunk-EBVJCVXL.js → chunk-X23SZHV5.js} +3 -3
  184. package/dist/{chunk-LD4LML5P.js → chunk-X3KCQEYZ.js} +1 -1
  185. package/dist/{chunk-3B3CFJ2H.js → chunk-XC5IRUEL.js} +1 -1
  186. package/dist/{chunk-UDKYY27B.js → chunk-XCROSJ2Z.js} +1 -1
  187. package/dist/{chunk-NUCYUKVH.js → chunk-XHRUXZD7.js} +2 -2
  188. package/dist/{chunk-NVGAEQ6M.js → chunk-XMP2DNLI.js} +1 -1
  189. package/dist/{chunk-KEDNHCGB.js → chunk-XQMYQ4TN.js} +1 -1
  190. package/dist/{chunk-QBRRJ5OR.js → chunk-YHD2FZFP.js} +3 -3
  191. package/dist/{chunk-KC52E5G4.js → chunk-YK2KWNTU.js} +3 -3
  192. package/dist/{chunk-XVUQMZWV.js → chunk-YMTXTQCN.js} +3 -3
  193. package/dist/{chunk-E44W4EEG.js → chunk-YPYD6OJ3.js} +2 -2
  194. package/dist/{chunk-Y3L655X6.js → chunk-YYJORENB.js} +4 -4
  195. package/dist/{chunk-SZXKV3BX.js → chunk-YZZLIYPA.js} +1 -1
  196. package/dist/{chunk-WQT6HIIY.js → chunk-Z55DXFWS.js} +2 -2
  197. package/dist/{chunk-GDZI5ZJ7.js → chunk-ZEYBI47P.js} +1 -1
  198. package/dist/{chunk-EW47LNWH.js → chunk-ZJFJ2IKQ.js} +4 -4
  199. package/dist/{chunk-E5OEWMNX.js → chunk-ZKJ5L35C.js} +49 -30
  200. package/dist/{chunk-SBR2RLEQ.js → chunk-ZL6IHMOW.js} +13 -13
  201. package/dist/{chunk-XJQXFVXY.js → chunk-ZMPH2OC4.js} +3 -3
  202. package/dist/{chunk-XZLU3G23.js → chunk-ZVM5TFGR.js} +2 -2
  203. package/dist/{chunk-ZGHBDMYF.js → chunk-ZWNRLIFT.js} +3 -3
  204. package/dist/{chunk-LRCO4G7C.js → chunk-ZY72LSQK.js} +13 -13
  205. package/dist/{chunk-Y2CAIAUI.js → chunk-ZYQYX66L.js} +3 -3
  206. package/dist/cli/index.js +1 -1
  207. package/dist/{core-PTRQPQTO.js → core-3KLQSYWB.js} +1 -1
  208. package/dist/{core-T4ZH3FAU.js → core-4HFVG4CP.js} +1 -1
  209. package/dist/{core-NTWHFDM4.js → core-4RR6VSXM.js} +1 -1
  210. package/dist/{core-KEB5PBCO.js → core-5UF44NDI.js} +1 -1
  211. package/dist/{core-VBR253SM.js → core-7S3XMW5O.js} +1 -1
  212. package/dist/{core-7JKE7H32.js → core-7Y5BZZON.js} +1 -1
  213. package/dist/{core-MEC6A5DD.js → core-A5AKUB7H.js} +1 -1
  214. package/dist/{core-JMYMIH6Z.js → core-AR2T32Y3.js} +1 -1
  215. package/dist/{core-HJUGHAX7.js → core-BBNY2BX4.js} +1 -1
  216. package/dist/{core-2YTKFBNZ.js → core-BLHEJ5OK.js} +1 -1
  217. package/dist/{core-T2KHX5LG.js → core-BOG33BFD.js} +1 -1
  218. package/dist/{core-ULZ7XUQP.js → core-DD62MWEW.js} +1 -1
  219. package/dist/{core-2SICIP63.js → core-DFZMOO7E.js} +1 -1
  220. package/dist/{core-YEFGEW3Z.js → core-E2XOSHPR.js} +1 -1
  221. package/dist/{core-GRWI22NS.js → core-G3LXHW73.js} +1 -1
  222. package/dist/{core-OWCTIPHD.js → core-GLOZY6Z7.js} +1 -1
  223. package/dist/{core-EYJ3WJK4.js → core-GSILPKUR.js} +1 -1
  224. package/dist/{core-CAL7YNFC.js → core-H5HO2CED.js} +1 -1
  225. package/dist/{core-SKRADU7T.js → core-HDNWVLJW.js} +1 -1
  226. package/dist/{core-CTZLHGXE.js → core-HTD5RHE7.js} +1 -1
  227. package/dist/{core-UAY2G7LN.js → core-ILPXXC2Z.js} +1 -1
  228. package/dist/{core-OIC5KJSD.js → core-J2JD5ODO.js} +1 -1
  229. package/dist/{core-3IJPBNGC.js → core-JDFUZFRH.js} +1 -1
  230. package/dist/{core-CLLIG7ZU.js → core-K3JX5WPM.js} +1 -1
  231. package/dist/{core-MV6KGAUV.js → core-LB5M7XL4.js} +1 -1
  232. package/dist/{core-XMTKUXLO.js → core-LGJZUP6H.js} +1 -1
  233. package/dist/{core-6HMJHFRR.js → core-MU4ALRR7.js} +1 -1
  234. package/dist/{core-BMY7OL76.js → core-QPSAYRFT.js} +1 -1
  235. package/dist/{core-VMIBBHXI.js → core-RR2CAZC5.js} +1 -1
  236. package/dist/{core-FX7HRKTF.js → core-TCSW24N6.js} +6 -1
  237. package/dist/{core-3647Z25D.js → core-TKZZZ6UW.js} +1 -1
  238. package/dist/{core-H7KMWYP5.js → core-VKZSQFRG.js} +1 -1
  239. package/dist/{core-GQC6VDW5.js → core-WJNK7F2J.js} +1 -1
  240. package/dist/{core-CBEGB2NO.js → core-WZ4CHVYL.js} +1 -1
  241. package/dist/{core-RPQBIOU4.js → core-XW7UJFJZ.js} +1 -1
  242. package/dist/{core-PMYCLXT7.js → core-YMXYUGF5.js} +1 -1
  243. package/dist/{core-QABTVASG.js → core-ZLSQHZ3I.js} +2 -1
  244. package/dist/{dataTable-2ZXK54TP.js → dataTable-CNDRVGA5.js} +3 -2
  245. package/dist/{engine-HGXSWGOI.js → engine-FVEIM3WV.js} +40 -12
  246. package/dist/fixtures.js +1 -1
  247. package/dist/index.js +11 -10
  248. package/dist/{main-PVT6FMGC.js → main-THU6VIVU.js} +6 -5
  249. package/dist/mcp/server.js +10 -9
  250. package/dist/react/bar.js +1 -1
  251. package/dist/react/bartable.js +1 -1
  252. package/dist/react/box.js +1 -1
  253. package/dist/react/bullet.js +1 -1
  254. package/dist/react/butterfly.js +1 -1
  255. package/dist/react/choropleth.js +1 -1
  256. package/dist/react/cohort.js +1 -1
  257. package/dist/react/column.js +1 -1
  258. package/dist/react/combo.js +1 -1
  259. package/dist/react/creative.js +1 -1
  260. package/dist/react/diagram.js +1 -1
  261. package/dist/react/dimswitch.js +1 -1
  262. package/dist/react/dot.js +1 -1
  263. package/dist/react/export.js +16 -15
  264. package/dist/react/funnel.js +1 -1
  265. package/dist/react/gantt.js +2 -1
  266. package/dist/react/grid.js +1 -1
  267. package/dist/react/heatmap.js +1 -1
  268. package/dist/react/histogram.js +1 -1
  269. package/dist/react/index.js +84 -83
  270. package/dist/react/kpi.js +1 -1
  271. package/dist/react/likert.js +1 -1
  272. package/dist/react/line.js +1 -1
  273. package/dist/react/mekko.js +1 -1
  274. package/dist/react/pareto.js +1 -1
  275. package/dist/react/pie.js +1 -1
  276. package/dist/react/prepare.js +18 -17
  277. package/dist/react/pvm.js +1 -1
  278. package/dist/react/pyramid.js +1 -1
  279. package/dist/react/sankey.js +1 -1
  280. package/dist/react/scatter.js +1 -1
  281. package/dist/react/slope.js +1 -1
  282. package/dist/react/sparkline.js +1 -1
  283. package/dist/react/spec.js +8 -8
  284. package/dist/react/status.js +6 -1
  285. package/dist/react/story.js +3 -3
  286. package/dist/react/table.js +1 -1
  287. package/dist/react/theme.js +3 -3
  288. package/dist/react/tilemap.js +1 -1
  289. package/dist/react/treemap.js +1 -1
  290. package/dist/react/variance.js +1 -1
  291. package/dist/react/waffle.js +1 -1
  292. package/dist/react/waterfall.js +1 -1
  293. package/dist/{rowsModule-JTDPTWXG.js → rowsModule-LI6KOS46.js} +1 -1
  294. package/dist/{schema-V3BPW4LA.js → schema-25INXAMY.js} +1 -1
  295. package/dist/{schema-WZLWHOMY.js → schema-5DUTAVO7.js} +1 -1
  296. package/dist/{schema-BKHQ3ZUH.js → schema-5KDEQBBT.js} +1 -1
  297. package/dist/{schema-MT6NA5AL.js → schema-5ZTGVQAJ.js} +1 -1
  298. package/dist/{schema-BMD5JR3Y.js → schema-72EEMYS3.js} +1 -1
  299. package/dist/{schema-2M3LXR35.js → schema-7NSV542V.js} +1 -1
  300. package/dist/{schema-76XRTBCJ.js → schema-AMT7P7KB.js} +1 -1
  301. package/dist/{schema-ZE7WUNFS.js → schema-AXRDF6ND.js} +1 -1
  302. package/dist/{schema-WIZ2TZAT.js → schema-B2GCEYXD.js} +1 -1
  303. package/dist/{schema-TA3MSAPQ.js → schema-BBTXTWYI.js} +1 -1
  304. package/dist/{schema-XHKSGMUH.js → schema-BKUFZLLI.js} +1 -1
  305. package/dist/{schema-FNTAAXQ3.js → schema-CGQID64D.js} +1 -1
  306. package/dist/{schema-5KHDHTIX.js → schema-FDFQKIO5.js} +1 -1
  307. package/dist/{schema-J53LCIY3.js → schema-GN6GAIU5.js} +1 -1
  308. package/dist/{schema-BUTNGYTT.js → schema-GNTKL5DN.js} +1 -1
  309. package/dist/{schema-3XLO43SX.js → schema-H2EC4GAQ.js} +1 -1
  310. package/dist/{schema-HIDW4BA4.js → schema-HH5HOORE.js} +1 -1
  311. package/dist/{schema-MUTAVQMI.js → schema-J7TNCZIP.js} +1 -1
  312. package/dist/{schema-2Q7IJ22V.js → schema-JH57NFXJ.js} +1 -1
  313. package/dist/{schema-7CPGNCOL.js → schema-KPEPBGAX.js} +1 -1
  314. package/dist/{schema-LHMEXFLY.js → schema-L5U4OROI.js} +1 -1
  315. package/dist/{schema-G2PLJCYL.js → schema-LOQ3AFC7.js} +1 -1
  316. package/dist/{schema-C7NVOQNV.js → schema-M5JBHQIV.js} +1 -1
  317. package/dist/{schema-3OLBUVMZ.js → schema-MMVPMJEF.js} +1 -1
  318. package/dist/{schema-U26KG42U.js → schema-OU35XA3Z.js} +1 -1
  319. package/dist/{schema-GGG2VOY7.js → schema-PL3EU6EQ.js} +1 -1
  320. package/dist/{schema-FYULDJFB.js → schema-PQZWO3BP.js} +1 -1
  321. package/dist/{schema-KIJA53MB.js → schema-QCIE6M2P.js} +1 -1
  322. package/dist/{schema-XATDKZPW.js → schema-QORUB6EK.js} +1 -1
  323. package/dist/{schema-XKY2EQFH.js → schema-QPOBZUAR.js} +1 -1
  324. package/dist/{schema-LEQNLBNG.js → schema-R5Y6NVBH.js} +1 -1
  325. package/dist/{schema-5753NOAL.js → schema-THXXFY6I.js} +1 -1
  326. package/dist/{schema-BOGTPL7F.js → schema-VYECMPON.js} +1 -1
  327. package/dist/{schema-NVMEOHAW.js → schema-YLE4XXQQ.js} +1 -1
  328. package/dist/{schema-UHHFTVGS.js → schema-ZEVJMFLV.js} +1 -1
  329. package/dist/{schema-FZKNIAIH.js → schema-ZG6ZKFRZ.js} +1 -1
  330. package/dist/{schema-GLN7IHSH.js → schema-ZQSIR5UC.js} +1 -1
  331. package/dist/{specValidation-X5XJBPTP.js → specValidation-VHLGDEME.js} +1 -1
  332. package/dist/types/core/charts/box/types.d.ts +2 -0
  333. package/dist/types/core/format.d.ts +4 -0
  334. package/dist/types/core/label/categoryRow.d.ts +1 -1
  335. package/dist/types/core/types/table.d.ts +2 -0
  336. package/dist/types/react/hover/labelCard.d.ts +9 -3
  337. package/dist/validate.js +4 -3
  338. package/docs/reference/choropleth.md +1 -1
  339. package/docs/reference/line.md +1 -1
  340. package/docs/reference/tilemap.md +1 -1
  341. package/package.json +1 -1
  342. package/dist/chunk-YGTNVZJE.js +0 -89
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveChartRequest
3
- } from "./chunk-YXM4W3TN.js";
3
+ } from "./chunk-R5MEBBAA.js";
4
4
  import {
5
5
  drawnRequest
6
6
  } from "./chunk-INHDHZNP.js";
@@ -10,23 +10,27 @@ import {
10
10
  } from "./chunk-X3YP4DUV.js";
11
11
  import {
12
12
  chartString
13
- } from "./chunk-WEMUCDPK.js";
13
+ } from "./chunk-4JGBCBDZ.js";
14
+ import {
15
+ chartString as chartString3
16
+ } from "./chunk-VJ7VBB6S.js";
14
17
  import {
15
18
  normalizeGridData
16
19
  } from "./chunk-V7F4F6JA.js";
17
20
  import {
21
+ chartString as chartString2,
18
22
  creativeMetrics
19
- } from "./chunk-O7DVW3IE.js";
23
+ } from "./chunk-QWCLWFKC.js";
20
24
  import {
21
25
  sharedEndLabelId
22
- } from "./chunk-EXDMYV5W.js";
26
+ } from "./chunk-GC4WOLV3.js";
23
27
  import {
24
28
  eventHeading
25
- } from "./chunk-YV5KYGE5.js";
29
+ } from "./chunk-OQQMDSCC.js";
26
30
  import {
27
31
  mekkoStackingMode,
28
32
  poolMekkoCell
29
- } from "./chunk-W45AR6EW.js";
33
+ } from "./chunk-7STMIK2X.js";
30
34
  import {
31
35
  stackAdds
32
36
  } from "./chunk-JMGB444D.js";
@@ -35,16 +39,16 @@ import {
35
39
  kpiSparkSeries,
36
40
  lastObservedIndex,
37
41
  sparklinePointId
38
- } from "./chunk-WWIY6BBY.js";
42
+ } from "./chunk-2NSQIPAA.js";
39
43
  import {
40
44
  calendarNames
41
- } from "./chunk-WALYNKBN.js";
45
+ } from "./chunk-T2CYNDYU.js";
42
46
  import {
43
47
  datePatternFromExample,
44
48
  formatDate,
45
49
  rectCenter,
46
50
  textRole
47
- } from "./chunk-2ALFFOKB.js";
51
+ } from "./chunk-4KQHKPB3.js";
48
52
  import {
49
53
  differenceExample,
50
54
  exampleSpec,
@@ -55,7 +59,7 @@ import {
55
59
  specUnitKind,
56
60
  unitOfSpec,
57
61
  withUnit
58
- } from "./chunk-GDVR3XHT.js";
62
+ } from "./chunk-FFJGC2DX.js";
59
63
  import {
60
64
  NOT_AVAILABLE,
61
65
  NOT_MEANINGFUL,
@@ -72,7 +76,7 @@ import {
72
76
  wholeCurrencyValue,
73
77
  withLocaleStrings,
74
78
  withSmallValues
75
- } from "./chunk-LHKDZAWN.js";
79
+ } from "./chunk-MSYTF3DZ.js";
76
80
  import {
77
81
  cellMeta,
78
82
  cellValue,
@@ -130,10 +134,10 @@ var EN = {
130
134
  reasonAComparisonOperandIsUnavailable: "Ein Vergleichswert ist nicht verf\xFCgbar",
131
135
  reasonComparisonRequiresNumericValues: "Vergleich braucht Zahlenwerte",
132
136
  reasonRelativeChangeIsNotMeaningfulForANonpositiveReference: "Relative \xC4nderung bei einer nichtpositiven Referenz nicht aussagekr\xE4ftig"
133
- }, { chartString: chartString2 } = chartStrings(EN, DE), reasonKeys = ["reasonSegmentOperandsNotRetained", "reasonReferenceIsNonpositive", "reasonValueOrTargetMissing", "reasonPositiveReferenceAndValueRequired", "reasonNonzeroCompositionBasisRequired", "reasonNoSourceCategoryForThisMark", "reasonASignedCompositionHasNoShareOfANonnegativeTotal", "reasonShareRequiresAPositiveTotal", "reasonTheObservationIsUnavailable", "reasonCurrentTotalCombinesIncompatibleUnits", "reasonRelativeChangeRequiresAPositiveReference", "reasonNoObservation", "reasonNoObservationDrawnAsZeroInTheStack", "reasonNonfiniteValue", "reasonIncompatibleUnits", "reasonAComparisonOperandIsUnavailable", "reasonComparisonRequiresNumericValues", "reasonRelativeChangeIsNotMeaningfulForANonpositiveReference"], reasonByEnglish;
137
+ }, { chartString: chartString4 } = chartStrings(EN, DE), reasonKeys = ["reasonSegmentOperandsNotRetained", "reasonReferenceIsNonpositive", "reasonValueOrTargetMissing", "reasonPositiveReferenceAndValueRequired", "reasonNonzeroCompositionBasisRequired", "reasonNoSourceCategoryForThisMark", "reasonASignedCompositionHasNoShareOfANonnegativeTotal", "reasonShareRequiresAPositiveTotal", "reasonTheObservationIsUnavailable", "reasonCurrentTotalCombinesIncompatibleUnits", "reasonRelativeChangeRequiresAPositiveReference", "reasonNoObservation", "reasonNoObservationDrawnAsZeroInTheStack", "reasonNonfiniteValue", "reasonIncompatibleUnits", "reasonAComparisonOperandIsUnavailable", "reasonComparisonRequiresNumericValues", "reasonRelativeChangeIsNotMeaningfulForANonpositiveReference"], reasonByEnglish;
134
138
  function localizedRecordReason(reason, language) {
135
139
  let key = (reasonByEnglish ??= new Map(reasonKeys.map((key2) => [EN[key2], key2]))).get(reason);
136
- return key === void 0 ? reason : chartString2({ locale: { language } }, key);
140
+ return key === void 0 ? reason : chartString4({ locale: { language } }, key);
137
141
  }
138
142
 
139
143
  // src/core/strings/a11y-valueText.ts
@@ -147,7 +151,7 @@ var EN2 = {
147
151
  valueWithheld: "Wert zur\xFCckgehalten",
148
152
  valueUnavailable: "Nicht verf\xFCgbar ({v1})",
149
153
  observationUnavailable: "Nicht verf\xFCgbar (keine Beobachtung)"
150
- }, { chartString: chartString3 } = chartStrings(EN2, DE2);
154
+ }, { chartString: chartString5 } = chartStrings(EN2, DE2);
151
155
 
152
156
  // src/core/a11y/valueText.ts
153
157
  function decimalPrecision(raw) {
@@ -228,11 +232,11 @@ function displayedValueText(value, locale) {
228
232
  return withUnit(sourceNumberText(value.raw, locale, value.derived === "number", value.format ? void 0 : value.unit, value.renderTarget), rawUnit(value));
229
233
  }
230
234
  function interactionValueText(value, locale) {
231
- if (value.state === "suppressed") return chartString3({ locale: { language: locale } }, "valueWithheld");
235
+ if (value.state === "suppressed") return chartString5({ locale: { language: locale } }, "valueWithheld");
232
236
  if (value.state === "na") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || NOT_AVAILABLE;
233
237
  if (value.state === "nm") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || NOT_MEANINGFUL;
234
- if (value.state !== "value") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || chartString3({ locale: { language: locale } }, "valueUnavailable", { v1: value.state });
235
- if (value.raw === null) return chartString3({ locale: { language: locale } }, "observationUnavailable");
238
+ if (value.state !== "value") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || chartString5({ locale: { language: locale } }, "valueUnavailable", { v1: value.state });
239
+ if (value.raw === null) return chartString5({ locale: { language: locale } }, "observationUnavailable");
236
240
  if (value.kind === "date") {
237
241
  if (typeof value.raw != "string") return String(value.raw);
238
242
  let parsed = parseISODate(value.raw);
@@ -281,7 +285,7 @@ var EN3 = {
281
285
  notMeaningful: "Nicht aussagekr\xE4ftig",
282
286
  notApplicableName: "Nicht anwendbar",
283
287
  spanText: "{v1} bis {v2}"
284
- }, { chartString: chartString4 } = chartStrings(EN3, DE3);
288
+ }, { chartString: chartString6 } = chartStrings(EN3, DE3);
285
289
 
286
290
  // src/core/a11y/recordsShared.ts
287
291
  function ownerKey(owner) {
@@ -322,7 +326,7 @@ function statedValue(value, state, options) {
322
326
  ...value,
323
327
  raw: null,
324
328
  state,
325
- reason: chartString4(options, state === "suppressed" ? "valueWithheld" : state === "nm" ? "notMeaningful" : "notApplicableName")
329
+ reason: chartString6(options, state === "suppressed" ? "valueWithheld" : state === "nm" ? "notMeaningful" : "notApplicableName")
326
330
  };
327
331
  }
328
332
  function cellRecordValue(cell, unit, format) {
@@ -474,7 +478,7 @@ var EN4 = {
474
478
  recordTarget: "Ziel",
475
479
  maturingHidden: "Noch nicht ausgereifter Wert nicht gezeigt",
476
480
  categoryState: "Zustand der Kategorie"
477
- }, { chartString: chartString5 } = chartStrings(EN4, DE4);
481
+ }, { chartString: chartString7 } = chartStrings(EN4, DE4);
478
482
 
479
483
  // src/core/a11y/structuralRecords.ts
480
484
  function tableValue(options, cell, column, row = {}, columnFormatAuthored = !1) {
@@ -495,7 +499,7 @@ function tableValue(options, cell, column, row = {}, columnFormatAuthored = !1)
495
499
  ...unit && column.unitScaled && unscaledUnit(unit) !== unit ? { scaledUnit: !0 } : {},
496
500
  ...computed ? { derived: "number" } : {}
497
501
  },
498
- ...cell.state !== "value" ? { reason: cell.state === "suppressed" ? chartString5(options, "valueWithheld") : cell.state === "open" ? chartString5(options, "openPeriod") : cell.state } : {}
502
+ ...cell.state !== "value" ? { reason: cell.state === "suppressed" ? chartString7(options, "valueWithheld") : cell.state === "open" ? chartString7(options, "openPeriod") : cell.state } : {}
499
503
  };
500
504
  }
501
505
  function suppressedTableCells(data) {
@@ -526,7 +530,7 @@ function tableRecordCells(table, data, options = {}) {
526
530
  }));
527
531
  }
528
532
  function bandFields(options, cell) {
529
- return cell.band?.label === void 0 || cell.state !== "value" ? [] : [{ key: "band", label: chartString5(options, "band"), value: textValue(cell.band.label) }];
533
+ return cell.band?.label === void 0 || cell.state !== "value" ? [] : [{ key: "band", label: chartString7(options, "band"), value: textValue(cell.band.label) }];
530
534
  }
531
535
  function preparedTableRecords(table, data, scope, options = {}) {
532
536
  return tableRecordCells(table, data, options).map(({ row, column, cell, value }) => {
@@ -565,7 +569,7 @@ function statusRecords(ctx) {
565
569
  textValue(mark.sourceState ?? (mark.missing ? null : mark.state)),
566
570
  {
567
571
  label: `${row?.label ?? mark.row} / ${col?.label ?? mark.col}`,
568
- fields: state ? [{ key: "stateLabel", label: chartString5(ctx.request.options, "state"), value: textValue(state.label) }] : [],
572
+ fields: state ? [{ key: "stateLabel", label: chartString7(ctx.request.options, "state"), value: textValue(state.label) }] : [],
569
573
  nodeIds: [mark.nodeId],
570
574
  anchor: mark.rect
571
575
  }
@@ -596,12 +600,12 @@ function bartableRecords(ctx) {
596
600
  mark.rect
597
601
  )), cells = marks.cells.filter((mark) => !mark.combined && (mark.rowId ?? BARTABLE_TOTAL_ROW) === row.id && mark.colId === track.id).map((mark) => {
598
602
  let owner = { categoryId: row.id, colId: track.id };
599
- if (mark.value === null && mark.kind === "total") return at(track.name, owner, { ...number2(null, mark.text, track), reason: chartString5(ctx.request.options, "rowMissing") }, mark.rect);
603
+ if (mark.value === null && mark.kind === "total") return at(track.name, owner, { ...number2(null, mark.text, track), reason: chartString7(ctx.request.options, "rowMissing") }, mark.rect);
600
604
  if (!mark.range) return at(track.name, owner, number2(mark.value, mark.text, mark.kind === "total" ? { ...track, computed: !0 } : track), mark.rect);
601
605
  let range = { kind: "text", raw: mark.text, state: "value", ...track.unit === void 0 ? {} : { unit: track.unit } };
602
606
  return at(track.name, owner, range, mark.rect, [
603
- { key: "low", label: chartString5(ctx.request.options, "low"), value: numericValue(mark.range.low, track.unit, track.format) },
604
- { key: "high", label: chartString5(ctx.request.options, "high"), value: numericValue(mark.range.high, track.unit, track.format) }
607
+ { key: "low", label: chartString7(ctx.request.options, "low"), value: numericValue(mark.range.low, track.unit, track.format) },
608
+ { key: "high", label: chartString7(ctx.request.options, "high"), value: numericValue(mark.range.high, track.unit, track.format) }
605
609
  ]);
606
610
  });
607
611
  return [...segments, ...cells];
@@ -617,12 +621,15 @@ function bartableRecords(ctx) {
617
621
  return [...perRow, ...combined];
618
622
  }
619
623
  function ganttItemRecord(ctx, rowId, rowLabel, item) {
620
- let mark = ctx.geometry.marks.rows.find((row) => row.id === rowId)?.itemNodes.find((node) => node.id === item.id), start = mark ? textValue(mark.start, "date") : item.anchor ? { kind: "date", raw: null, state: "unavailable", reason: chartString5(ctx.request.options, "anchoredDateUnavailable") } : textValue(item.start, "date");
621
- return makeRecord(ctx, { categoryId: rowId, segmentId: item.id }, textValue(item.label ?? item.kind), {
622
- label: `${rowLabel} / ${item.label ?? item.id}`,
624
+ let mark = ctx.geometry.marks.rows.find((row) => row.id === rowId)?.itemNodes.find((node) => node.id === item.id), start = mark ? textValue(mark.start, "date") : item.anchor ? { kind: "date", raw: null, state: "unavailable", reason: chartString7(ctx.request.options, "anchoredDateUnavailable") } : textValue(item.start, "date"), what = item.label ?? item.colorLabel ?? chartString3(
625
+ ctx.request.options,
626
+ item.kind === "bracket" ? "overallSpan" : item.kind === "milestone" ? "milestone" : "task"
627
+ );
628
+ return makeRecord(ctx, { categoryId: rowId, segmentId: item.id }, textValue(what), {
629
+ label: item.label ? `${rowLabel} / ${item.label}` : rowLabel,
623
630
  fields: [
624
- { key: "start", label: chartString5(ctx.request.options, "start"), value: start },
625
- ...mark || item.end ? [{ key: "end", label: chartString5(ctx.request.options, "end"), value: textValue(mark?.end ?? item.end, "date") }] : []
631
+ { key: "start", label: chartString7(ctx.request.options, "start"), value: start },
632
+ ...mark || item.end ? [{ key: "end", label: chartString7(ctx.request.options, "end"), value: textValue(mark?.end ?? item.end, "date") }] : []
626
633
  ],
627
634
  ...mark ? { nodeIds: [mark.nodeId], anchor: mark.rect } : {}
628
635
  });
@@ -639,8 +646,8 @@ function diagramRecords(ctx) {
639
646
  return !label || label.hidden !== void 0 || label.title !== void 0;
640
647
  }, nodes = marks.nodes.map((mark) => {
641
648
  let node = data.nodes.find((item) => item.id === mark.id), fields = [
642
- ...node.secondaryLabel ? [{ key: "secondaryLabel", label: chartString5(ctx.request.options, "description"), value: textValue(node.secondaryLabel), labelId: `secondary-label:${node.id}` }] : [],
643
- ...node.caption ? [{ key: "caption", label: chartString5(ctx.request.options, "caption"), value: textValue(node.caption), labelId: `caption-label:${node.id}` }] : []
649
+ ...node.secondaryLabel ? [{ key: "secondaryLabel", label: chartString7(ctx.request.options, "description"), value: textValue(node.secondaryLabel), labelId: `secondary-label:${node.id}` }] : [],
650
+ ...node.caption ? [{ key: "caption", label: chartString7(ctx.request.options, "caption"), value: textValue(node.caption), labelId: `caption-label:${node.id}` }] : []
644
651
  ];
645
652
  return makeRecord(ctx, { pointId: mark.id }, textValue(node.label), {
646
653
  label: node.label,
@@ -656,8 +663,8 @@ function diagramRecords(ctx) {
656
663
  nodeIds: mark.sceneNodeIds,
657
664
  anchor: mark.route.bounds,
658
665
  fields: [
659
- { key: "source", label: chartString5(ctx.request.options, "recordSource"), value: textValue(mark.source.nodeId) },
660
- { key: "target", label: chartString5(ctx.request.options, "recordTarget"), value: textValue(mark.target.nodeId) }
666
+ { key: "source", label: chartString7(ctx.request.options, "recordSource"), value: textValue(mark.source.nodeId) },
667
+ { key: "target", label: chartString7(ctx.request.options, "recordTarget"), value: textValue(mark.target.nodeId) }
661
668
  ],
662
669
  cardFields: []
663
670
  });
@@ -677,8 +684,8 @@ function gridRecords(ctx, childRecords) {
677
684
  seriesLabel: source.title,
678
685
  categoryLabel: category.label,
679
686
  // Every stack figure is an expression over the measures: computed, so it reads without float residue.
680
- value: { ...hidden ? numericValue(null, source.unit) : derivedValue(raw, source.unit), displayed: panel.displayed[i], ...hidden ? { state: "unavailable", reason: chartString5(ctx.request.options, "maturingHidden") } : {} },
681
- fields: [{ key: "state", label: chartString5(ctx.request.options, "categoryState"), value: { kind: "text", state: "value", raw: panel.states[i] } }],
687
+ value: { ...hidden ? numericValue(null, source.unit) : derivedValue(raw, source.unit), displayed: panel.displayed[i], ...hidden ? { state: "unavailable", reason: chartString7(ctx.request.options, "maturingHidden") } : {} },
688
+ fields: [{ key: "state", label: chartString7(ctx.request.options, "categoryState"), value: { kind: "text", state: "value", raw: panel.states[i] } }],
682
689
  comparisons: [],
683
690
  annotations: [],
684
691
  claimIds: [],
@@ -749,7 +756,7 @@ var EN5 = {
749
756
  baselineObservations: "Beobachtungen im Basiszeitraum",
750
757
  currentObservations: "Beobachtungen im aktuellen Zeitraum",
751
758
  dailyMetric: "T\xE4glich {v1}"
752
- }, { chartString: chartString6 } = chartStrings(EN5, DE5);
759
+ }, { chartString: chartString8 } = chartStrings(EN5, DE5);
753
760
 
754
761
  // src/core/a11y/creativeRecords.ts
755
762
  function creativeRecords(ctx) {
@@ -757,37 +764,39 @@ function creativeRecords(ctx) {
757
764
  let data = ctx.request.data, marks = ctx.geometry.marks, fatigue = ctx.geometry.derived.fatigue, records = creativeMetrics.map(([key, label, suffix]) => {
758
765
  let unit = suffix === "currency" ? data.facts.currency : suffix, owner = { seriesId: key, categoryId: data.id };
759
766
  return makeRecord(ctx, owner, numericValue(data.metrics[key].value, unit), {
767
+ // The value is the creative's own, beside the account median: it carries the column's name.
760
768
  label,
761
769
  seriesLabel: label,
762
770
  categoryLabel: data.facts.name,
771
+ valueLabel: chartString2(ctx.request.options, "creativeColumn"),
763
772
  anchor: marks.metrics[key],
764
773
  nodeIds: [`creative:row:${key}`, `label:creative:metric:${key}`, `label:creative:value:${key}`, `label:creative:median:${key}`],
765
774
  fields: [
766
- { key: "accountMedian", label: chartString6(ctx.request.options, "accountMedian"), value: numericValue(data.metrics[key].accountMedian, unit) },
767
- { key: "population", label: chartString6(ctx.request.options, "medianPopulation"), value: textValue(data.comparison.population) },
768
- { key: "window", label: chartString6(ctx.request.options, "medianWindow"), value: textValue(`${data.comparison.startDate} to ${data.comparison.endDate}`) }
775
+ { key: "accountMedian", label: chartString8(ctx.request.options, "accountMedian"), value: numericValue(data.metrics[key].accountMedian, unit) },
776
+ { key: "population", label: chartString8(ctx.request.options, "medianPopulation"), value: textValue(data.comparison.population) },
777
+ { key: "window", label: chartString8(ctx.request.options, "medianWindow"), value: textValue(`${data.comparison.startDate} to ${data.comparison.endDate}`) }
769
778
  ]
770
779
  });
771
780
  });
772
781
  records.push(makeRecord(ctx, { pointId: data.id }, textValue(data.media.alt), {
773
782
  label: data.facts.name,
774
783
  anchor: marks.media,
775
- fields: [{ key: "spendToDate", label: chartString6(ctx.request.options, "spendToDate"), value: numericValue(data.facts.spendToDate, data.facts.currency) }]
784
+ fields: [{ key: "spendToDate", label: chartString8(ctx.request.options, "spendToDate"), value: numericValue(data.facts.spendToDate, data.facts.currency) }]
776
785
  })), records.push(makeRecord(ctx, { seriesId: "fatigue", categoryId: data.id }, fatigue.status === "unavailable" ? { kind: "text", raw: null, state: "unavailable", reason: fatigue.reason } : textValue(fatigue.status), {
777
- label: chartString6(ctx.request.options, "fatigueRule"),
786
+ label: chartString8(ctx.request.options, "fatigueRule"),
778
787
  nodeIds: ["label:creative:fatigue:0"],
779
788
  claimIds: ctx.claims.filter((claim) => claim.id.startsWith("creative:fatigue:")).map((claim) => claim.id),
780
789
  fields: [
781
- { key: "changePct", label: chartString6(ctx.request.options, "dailyMeanChange"), value: derivedPercent(fatigue.changePct) },
782
- { key: "baselineN", label: chartString6(ctx.request.options, "baselineObservations"), value: numericValue(fatigue.baseline.inputs.length) },
783
- { key: "currentN", label: chartString6(ctx.request.options, "currentObservations"), value: numericValue(fatigue.current.inputs.length) }
790
+ { key: "changePct", label: chartString8(ctx.request.options, "dailyMeanChange"), value: derivedPercent(fatigue.changePct) },
791
+ { key: "baselineN", label: chartString8(ctx.request.options, "baselineObservations"), value: numericValue(fatigue.baseline.inputs.length) },
792
+ { key: "currentN", label: chartString8(ctx.request.options, "currentObservations"), value: numericValue(fatigue.current.inputs.length) }
784
793
  ]
785
794
  }));
786
795
  for (let row of data.observations) for (let key of ["spend", "cpa", "ctr"]) records.push(makeRecord(
787
796
  ctx,
788
797
  { seriesId: `daily:${key}`, categoryId: row.date },
789
798
  numericValue(row[key], key === "ctr" ? "%" : data.facts.currency),
790
- { label: `${row.date} ${key.toUpperCase()}`, categoryLabel: row.date, seriesLabel: chartString6(ctx.request.options, "dailyMetric", { v1: key.toUpperCase() }) }
799
+ { label: `${row.date} ${key.toUpperCase()}`, categoryLabel: row.date, seriesLabel: chartString8(ctx.request.options, "dailyMetric", { v1: key.toUpperCase() }) }
791
800
  ));
792
801
  return records;
793
802
  }
@@ -810,6 +819,7 @@ var EN6 = {
810
819
  cumulativeAmount: "Cumulative amount",
811
820
  cells: "Cells",
812
821
  responseShare: "Response share",
822
+ responses: "Responses",
813
823
  sampleSize: "Sample size",
814
824
  sampleSizeMissing: "Sample size not supplied",
815
825
  inflow: "Inflow",
@@ -835,6 +845,7 @@ var EN6 = {
835
845
  cumulativeAmount: "Kumulierter Betrag",
836
846
  cells: "Zellen",
837
847
  responseShare: "Antwortanteil",
848
+ responses: "Antworten",
838
849
  sampleSize: "Stichprobengr\xF6\xDFe",
839
850
  sampleSizeMissing: "Stichprobengr\xF6\xDFe nicht angegeben",
840
851
  inflow: "Zufluss",
@@ -843,7 +854,7 @@ var EN6 = {
843
854
  includes: "Umfasst",
844
855
  shareOfSource: "Anteil am Abfluss der Quelle",
845
856
  shareOfTarget: "Anteil am Zufluss des Ziels"
846
- }, { chartString: chartString7 } = chartStrings(EN6, DE6);
857
+ }, { chartString: chartString9 } = chartStrings(EN6, DE6);
847
858
 
848
859
  // src/core/a11y/details.ts
849
860
  function detailRecordFields(options, cell) {
@@ -863,6 +874,18 @@ function detailRecordFields(options, cell) {
863
874
  });
864
875
  }
865
876
 
877
+ // src/core/a11y/comparison.ts
878
+ function isPercentLevel(value) {
879
+ return value.unit !== void 0 ? value.unit === "%" : value.format !== void 0 && specUnitKind(parseFormatExample(value.format)) === "percent";
880
+ }
881
+ function unavailableValue(reason, unit) {
882
+ return { kind: "number", raw: null, state: "unavailable", reason, ...unit === void 0 ? {} : { unit } };
883
+ }
884
+ function compareValues(current, reference, label, scenario, incompatible) {
885
+ let reason = incompatible ?? (current.unit !== reference.unit ? "Incompatible units" : void 0) ?? (current.state !== "value" || reference.state !== "value" ? "A comparison operand is unavailable" : void 0) ?? (typeof current.raw != "number" || typeof reference.raw != "number" ? "Comparison requires numeric values" : void 0), deltaUnit = isPercentLevel(current) && isPercentLevel(reference) ? "pp" : current.unit, delta = reason ? unavailableValue(reason, deltaUnit) : derivedValue(current.raw - reference.raw, deltaUnit, current.format), percent = reason ? unavailableValue(reason, "%") : reference.raw <= 0 ? unavailableValue("Relative change requires a positive reference", "%") : derivedPercent(delta.raw / reference.raw * 100);
886
+ return { label, ...scenario ? { scenario } : {}, current, reference, delta, percent };
887
+ }
888
+
866
889
  // src/core/a11y/businessRecords.ts
867
890
  var unavailable = (reason) => ({ kind: "number", raw: null, state: "unavailable", reason }), field = (key, label, value) => ({ key, label, value }), share = (value, denominator2, percent) => ({
868
891
  numerator: value,
@@ -919,7 +942,7 @@ function segmentSpan(ctx, start, parts, id, end) {
919
942
  let from = parts.slice(0, index).reduce((sum, part) => sum + part.value, start);
920
943
  start = from, end = from + parts[index].value;
921
944
  }
922
- return [field("start", chartString7(ctx.request.options, "start"), derived(ctx, start)), field("end", chartString7(ctx.request.options, "end"), derived(ctx, end))];
945
+ return [field("start", chartString9(ctx.request.options, "start"), derived(ctx, start)), field("end", chartString9(ctx.request.options, "end"), derived(ctx, end))];
923
946
  }
924
947
  function waterfallCases(ctx, data, geo) {
925
948
  let cases = data.cases;
@@ -932,8 +955,8 @@ function waterfallCases(ctx, data, geo) {
932
955
  anchor: bar.rect,
933
956
  scenario,
934
957
  fields: [
935
- field("start", chartString7(ctx.request.options, "start"), derived(ctx, geo.derived.levels[key]?.start)),
936
- field("end", chartString7(ctx.request.options, "end"), derived(ctx, geo.derived.levels[key]?.end))
958
+ field("start", chartString9(ctx.request.options, "start"), derived(ctx, geo.derived.levels[key]?.start)),
959
+ field("end", chartString9(ctx.request.options, "end"), derived(ctx, geo.derived.levels[key]?.end))
937
960
  ]
938
961
  })];
939
962
  }));
@@ -956,17 +979,17 @@ function kpi(ctx) {
956
979
  nodeIds,
957
980
  comparisons: comparisons2,
958
981
  fields: [
959
- ...geo.derived.band?.label ? [field("band", chartString7(ctx.request.options, "band"), textValue(geo.derived.band.label))] : [],
982
+ ...geo.derived.band?.label ? [field("band", chartString9(ctx.request.options, "band"), textValue(geo.derived.band.label))] : [],
960
983
  ...attainment ? [
961
984
  field("target", attainment.label, numericValue(attainment.vs, value.unit, value.format)),
962
- field("attainment", chartString7(ctx.request.options, "attainment"), attainment.pct === null ? unavailable(chartString7(ctx.request.options, "referenceNonpositive")) : derivedPercent(attainment.pct))
985
+ field("attainment", chartString9(ctx.request.options, "attainment"), attainment.pct === null ? unavailable(chartString9(ctx.request.options, "referenceNonpositive")) : derivedPercent(attainment.pct))
963
986
  ] : []
964
987
  ]
965
988
  });
966
989
  if (!data.spark || !geo.scene.some((node) => node.id === "label:spark:last")) return [card];
967
990
  let { cells, values } = kpiSparkSeries(data.spark), index = lastObservedIndex(values), dot = geo.scene.find((node) => node.id === "mark:spark:dot" || node.id === "mark:sparkColLast");
968
991
  return [card, makeRecord(ctx, { seriesId: "spark", segmentId: "sparkLast" }, cellRecordValue(cells[index], value.unit, value.format), {
969
- label: `${data.label}, ${data.spark.labels?.[index] ?? chartString7(ctx.request.options, "latest")}`,
992
+ label: `${data.label}, ${data.spark.labels?.[index] ?? chartString9(ctx.request.options, "latest")}`,
970
993
  nodeIds: dot ? [dot.id] : []
971
994
  })];
972
995
  }
@@ -981,7 +1004,7 @@ function sparkline(ctx) {
981
1004
  label: point.label ?? point.id,
982
1005
  ...point.label === void 0 ? {} : { categoryLabel: point.label },
983
1006
  anchor: { x: point.x - SPARKLINE_RING_RADIUS, y: point.y - SPARKLINE_RING_RADIUS, w: 2 * SPARKLINE_RING_RADIUS, h: 2 * SPARKLINE_RING_RADIUS },
984
- fields: [field("position", chartString7(ctx.request.options, "position"), numericValue(point.index + 1))]
1007
+ fields: [field("position", chartString9(ctx.request.options, "position"), numericValue(point.index + 1))]
985
1008
  });
986
1009
  });
987
1010
  }
@@ -997,7 +1020,8 @@ function bullet(ctx) {
997
1020
  label: name,
998
1021
  current: value,
999
1022
  reference: target,
1000
- delta: typeof value.raw == "number" && typeof target.raw == "number" ? numericValue(value.raw - target.raw, value.unit, value.format) : unavailable("Value or target missing"),
1023
+ // A gap between two percentages is in points: 78% against 85% is −7pp, as for every other comparison (compareValues).
1024
+ delta: typeof value.raw == "number" && typeof target.raw == "number" ? numericValue(value.raw - target.raw, isPercentLevel(value) && isPercentLevel(target) ? "pp" : value.unit, value.format) : unavailable("Value or target missing"),
1001
1025
  percent: typeof value.raw == "number" && typeof target.raw == "number" && target.raw > 0 ? derivedPercent((value.raw - target.raw) / target.raw * 100) : unavailable("Positive reference and value required")
1002
1026
  }]
1003
1027
  });
@@ -1020,14 +1044,15 @@ function seriesSource(ctx) {
1020
1044
  function funnel(ctx) {
1021
1045
  let source = seriesSource(ctx), geo = geometry(ctx);
1022
1046
  return geo.marks.rows.flatMap((row) => row.segments.map((segment) => {
1023
- let value = source.cell(row.categoryId, segment.id), conversion = geo.derived.conversions.find((conversion2) => conversion2.toId === row.categoryId);
1047
+ let value = source.cell(row.categoryId, segment.id), conversion = geo.derived.conversions.find((conversion2) => conversion2.toId === row.categoryId), segmentLabel = row.segments.length > 1 ? source.series.find((series) => series.id === segment.id)?.label ?? segment.id : void 0;
1024
1048
  return makeRecord(ctx, { categoryId: row.categoryId, seriesId: segment.id }, value, {
1025
1049
  label: source.categories.find((category) => category.id === row.categoryId)?.label ?? row.categoryId,
1050
+ ...segmentLabel === void 0 ? {} : { valueLabel: segmentLabel },
1026
1051
  anchor: segment.rect,
1027
1052
  scenario: source.series.find((series) => series.id === segment.id)?.scenario,
1028
1053
  fields: [
1029
- field("stageTotal", chartString7(ctx.request.options, "stageTotal"), derived(ctx, geo.derived.stageTotals[row.categoryId] ?? void 0)),
1030
- field("conversion", chartString7(ctx.request.options, "stageConversion"), conversion ? derivedPercent(conversion.rate * 100) : unavailable(chartString7(ctx.request.options, "noPrecedingStage"))),
1054
+ field("stageTotal", chartString9(ctx.request.options, "stageTotal"), derived(ctx, geo.derived.stageTotals[row.categoryId] ?? void 0)),
1055
+ field("conversion", chartString9(ctx.request.options, "stageConversion"), conversion ? derivedPercent(conversion.rate * 100) : unavailable(chartString9(ctx.request.options, "noPrecedingStage"))),
1031
1056
  ...source.details(row.categoryId, segment.id)
1032
1057
  ]
1033
1058
  });
@@ -1099,7 +1124,7 @@ function pareto(ctx) {
1099
1124
  ...details(column.categoryId),
1100
1125
  anchor: segment.rect,
1101
1126
  share: share(value, geo.derived.total, geo.derived.total > 0 ? geo.derived.values[column.categoryId] / geo.derived.total * 100 : void 0),
1102
- fields: [field("cumulative", chartString7(ctx.request.options, "cumulativeShare"), derivedPercent(geo.derived.cumulativeShare[column.categoryId]))]
1127
+ fields: [field("cumulative", chartString9(ctx.request.options, "cumulativeShare"), derivedPercent(geo.derived.cumulativeShare[column.categoryId]))]
1103
1128
  });
1104
1129
  })), ...geo.marks.lines.flatMap((line) => line.points.map((point) => makeRecord(
1105
1130
  ctx,
@@ -1109,7 +1134,7 @@ function pareto(ctx) {
1109
1134
  ...details(point.categoryId),
1110
1135
  anchor: { x: point.x, y: point.y },
1111
1136
  nodeIds: point.markerNodeId ? [point.markerNodeId] : [line.nodeId],
1112
- fields: [field("cumulative", chartString7(ctx.request.options, "cumulativeAmount"), derived(ctx, geo.derived.cumulative[point.categoryId]))]
1137
+ fields: [field("cumulative", chartString9(ctx.request.options, "cumulativeAmount"), derived(ctx, geo.derived.cumulative[point.categoryId]))]
1113
1138
  }
1114
1139
  )))];
1115
1140
  }
@@ -1132,7 +1157,7 @@ function waffle(ctx) {
1132
1157
  label: many ? `${panel.label} / ${series?.label ?? segment.seriesId}` : panel.label,
1133
1158
  anchor: mark.rect,
1134
1159
  ...node ? { nodeIds: [node] } : {},
1135
- fields: square ? [] : [field("cells", chartString7(ctx.request.options, "cells"), textValue(segment.reading))]
1160
+ fields: square ? [] : [field("cells", chartString9(ctx.request.options, "cells"), textValue(segment.reading))]
1136
1161
  });
1137
1162
  }));
1138
1163
  }
@@ -1144,7 +1169,7 @@ function treemap(ctx) {
1144
1169
  label: item.label,
1145
1170
  ...nodeId ? { nodeIds: [nodeId] } : {},
1146
1171
  share: share(value, geo.derived.total, item.share),
1147
- ...group !== void 0 ? { fields: [field("group", chartString7(ctx.request.options, "group"), textValue(group))] } : {}
1172
+ ...group !== void 0 ? { fields: [field("group", chartString9(ctx.request.options, "group"), textValue(group))] } : {}
1148
1173
  });
1149
1174
  });
1150
1175
  }
@@ -1159,12 +1184,12 @@ function sankey(chart) {
1159
1184
  ...mark ? { nodeIds: [mark.nodeId], anchor: mark.rect } : {},
1160
1185
  share: share(value, geo.derived.stages[node.column]?.total, node.share),
1161
1186
  fields: [
1162
- ...stage !== void 0 ? [field("stage", chartString7(options, "stage"), textValue(stage))] : [],
1187
+ ...stage !== void 0 ? [field("stage", chartString9(options, "stage"), textValue(stage))] : [],
1163
1188
  ...node.in > 0 && node.out > 0 && node.in !== node.out ? [
1164
- field("inflow", chartString7(options, "inflow"), derived(ctx, node.in)),
1165
- field("outflow", chartString7(options, "outflow"), derived(ctx, node.out))
1189
+ field("inflow", chartString9(options, "inflow"), derived(ctx, node.in)),
1190
+ field("outflow", chartString9(options, "outflow"), derived(ctx, node.out))
1166
1191
  ] : [],
1167
- ...node.members ? [field("includes", chartString7(options, "includes"), textValue(node.members.map((member) => member.label).join(", ")))] : []
1192
+ ...node.members ? [field("includes", chartString9(options, "includes"), textValue(node.members.map((member) => member.label).join(", ")))] : []
1168
1193
  ]
1169
1194
  }), outgoing = geo.derived.links.filter((link) => link.source === node.key).sort((a, b) => rank.get(a.target) - rank.get(b.target));
1170
1195
  return [record, ...outgoing.map((link) => {
@@ -1173,8 +1198,8 @@ function sankey(chart) {
1173
1198
  label: `${name(link.source)} \u2192 ${name(link.target)}`,
1174
1199
  ...linkMark ? { nodeIds: [linkMark.nodeId], anchor: linkMark.at } : {},
1175
1200
  fields: [
1176
- field("shareOfSource", chartString7(options, "shareOfSource"), percent(link.shareOfSource)),
1177
- field("shareOfTarget", chartString7(options, "shareOfTarget"), percent(link.shareOfTarget))
1201
+ field("shareOfSource", chartString9(options, "shareOfSource"), percent(link.shareOfSource)),
1202
+ field("shareOfTarget", chartString9(options, "shareOfTarget"), percent(link.shareOfTarget))
1178
1203
  ]
1179
1204
  });
1180
1205
  })];
@@ -1195,18 +1220,30 @@ function shareValue(share2, format, authored) {
1195
1220
  return format !== void 0 || authored || share2 === void 0 ? numericValue(share2, "%", format) : derivedPercent(share2);
1196
1221
  }
1197
1222
  function likert(ctx) {
1198
- let data = ctx.request.data, options = ctx.request.options, geo = geometry(ctx);
1199
- return geo.marks.rows.flatMap((row) => row.bars.map((bar) => {
1223
+ let data = ctx.request.data, options = ctx.request.options, geo = geometry(ctx), records = geo.marks.rows.flatMap((row) => row.bars.map((bar) => {
1200
1224
  let option = data.scale.find((option2) => [`likert:${option2.id}`, `likert:${option2.id}:neg`, `likert:${option2.id}:pos`].includes(bar.seriesId)), item = data.items.find((item2) => item2.id === row.id), index = data.scale.indexOf(option), entry = item.values[index], raw = typeof entry == "object" && entry !== null ? item.values.find((value2) => value2.optionId === option.id)?.value : entry, value = numericValue(raw, options.values === "percent" ? "%" : ctx.request.options.unit);
1201
1225
  return makeRecord(ctx, { categoryId: row.id, seriesId: bar.seriesId }, value, {
1202
1226
  label: `${item.label ?? item.id} / ${option.label ?? option.id}`,
1203
1227
  anchor: bar.rect,
1228
+ // A count of answers says what it counts; a percent value is the response share itself.
1229
+ ...options.values === "percent" ? {} : { valueLabel: chartString9(ctx.request.options, "responses") },
1204
1230
  fields: [
1205
- field("share", chartString7(ctx.request.options, "responseShare"), shareValue(geo.derived.shares[row.id]?.[option.id], options.format, options.values === "percent")),
1206
- field("base", chartString7(ctx.request.options, "sampleSize"), row.id in geo.derived.base ? numericValue(geo.derived.base[row.id]) : unavailable(chartString7(ctx.request.options, "sampleSizeMissing")))
1231
+ field("share", chartString9(ctx.request.options, "responseShare"), shareValue(geo.derived.shares[row.id]?.[option.id], options.format, options.values === "percent")),
1232
+ field("base", chartString9(ctx.request.options, "sampleSize"), row.id in geo.derived.base ? numericValue(geo.derived.base[row.id]) : unavailable(chartString9(ctx.request.options, "sampleSizeMissing")))
1207
1233
  ]
1208
1234
  });
1209
- }));
1235
+ })), halves = /* @__PURE__ */ new Map();
1236
+ for (let record of records) {
1237
+ let { categoryId, seriesId } = record.target.owner, whole = seriesId?.match(/^(.*):(?:neg|pos)$/)?.[1];
1238
+ if (whole === void 0 || categoryId === void 0) continue;
1239
+ let key = JSON.stringify([categoryId, whole]);
1240
+ halves.set(key, [...halves.get(key) ?? [], record]);
1241
+ }
1242
+ for (let pair of halves.values()) {
1243
+ let nodeIds = [...new Set(pair.flatMap((record) => record.nodeIds))];
1244
+ if (pair.length > 1) for (let record of pair) record.nodeIds = nodeIds;
1245
+ }
1246
+ return records;
1210
1247
  }
1211
1248
  function businessRecords(ctx) {
1212
1249
  switch (ctx.request.type) {
@@ -1254,7 +1291,7 @@ var EN7 = {
1254
1291
  date: "Datum",
1255
1292
  footnote: "Fu\xDFnote",
1256
1293
  shareOfTotal: "Anteil an der Summe"
1257
- }, { chartString: chartString8 } = chartStrings(EN7, DE7);
1294
+ }, { chartString: chartString10 } = chartStrings(EN7, DE7);
1258
1295
 
1259
1296
  // src/core/a11y/categoryMarks.ts
1260
1297
  function withLineEndLabels(ctx, cells) {
@@ -1337,18 +1374,6 @@ function categoryMarks(ctx) {
1337
1374
  return cells;
1338
1375
  }
1339
1376
 
1340
- // src/core/a11y/comparison.ts
1341
- function isPercentLevel(value) {
1342
- return value.unit !== void 0 ? value.unit === "%" : value.format !== void 0 && specUnitKind(parseFormatExample(value.format)) === "percent";
1343
- }
1344
- function unavailableValue(reason, unit) {
1345
- return { kind: "number", raw: null, state: "unavailable", reason, ...unit === void 0 ? {} : { unit } };
1346
- }
1347
- function compareValues(current, reference, label, scenario, incompatible) {
1348
- let reason = incompatible ?? (current.unit !== reference.unit ? "Incompatible units" : void 0) ?? (current.state !== "value" || reference.state !== "value" ? "A comparison operand is unavailable" : void 0) ?? (typeof current.raw != "number" || typeof reference.raw != "number" ? "Comparison requires numeric values" : void 0), deltaUnit = isPercentLevel(current) && isPercentLevel(reference) ? "pp" : current.unit, delta = reason ? unavailableValue(reason, deltaUnit) : derivedValue(current.raw - reference.raw, deltaUnit, current.format), percent = reason ? unavailableValue(reason, "%") : reference.raw <= 0 ? unavailableValue("Relative change requires a positive reference", "%") : derivedPercent(delta.raw / reference.raw * 100);
1349
- return { label, ...scenario ? { scenario } : {}, current, reference, delta, percent };
1350
- }
1351
-
1352
1377
  // src/core/a11y/categoryRecords.ts
1353
1378
  function valueFor(ctx, matrix, series, categoryId) {
1354
1379
  let index = matrix.categoryIndex.get(categoryId) ?? -1;
@@ -1395,10 +1420,10 @@ function shareFor(ctx, matrix, mark, value) {
1395
1420
  }
1396
1421
  function cellFacts(ctx, cell, category, unit) {
1397
1422
  let fields = [];
1398
- if (category?.date && fields.push({ key: "date", label: chartString8(ctx.request.options, "date"), value: textValue(category.date, "date") }), cell && typeof cell == "object" && "range" in cell && cell.range)
1423
+ if (category?.date && fields.push({ key: "date", label: chartString10(ctx.request.options, "date"), value: textValue(category.date, "date") }), cell && typeof cell == "object" && "range" in cell && cell.range)
1399
1424
  for (let key of ["low", "high", "mid"]) cell.range[key] !== void 0 && fields.push({ key, label: key, value: numericValue(cell.range[key], unit) });
1400
1425
  let footnote = cell ? cellMeta(cell)?.footnote ?? category?.footnote : category?.footnote;
1401
- return footnote !== void 0 && fields.push({ key: "footnote", label: chartString8(ctx.request.options, "footnote"), value: numericValue(footnote) }), fields.push(...detailRecordFields(ctx.request.options, cell)), fields;
1426
+ return footnote !== void 0 && fields.push({ key: "footnote", label: chartString10(ctx.request.options, "footnote"), value: numericValue(footnote) }), fields.push(...detailRecordFields(ctx.request.options, cell)), fields;
1402
1427
  }
1403
1428
  function categoryRecord(ctx, matrix, mark) {
1404
1429
  let series = matrix.seriesIndex.get(mark.seriesId), ci = matrix.categoryIndex.get(mark.categoryId) ?? -1, category = matrix.categories[ci], found = valueFor(ctx, matrix, series, mark.categoryId), variant = ctx.request.options.variant, cellState = ctx.request.type === "heatmap" && found.state === "missing" ? series.states?.[ci] : void 0, value = cellState ? statedValue(found, cellState, ctx.request.options) : found.state === "missing" && ctx.request.type === "line" && (variant === "stacked-area" || variant === "stacked100-area") ? { ...found, reason: "No observation; drawn as 0 in the stack" } : found, scenario = normalizeScenario(cellMeta(series.cells[ci])?.scenario ?? series.scenario, "scenario"), othersLabel = ctx.request.options.topN?.restLabel ?? ctx.request.options.strings?.others ?? "Others", record = makeRecord(ctx, { categoryId: mark.categoryId, seriesId: mark.seriesId }, value, {
@@ -1437,7 +1462,7 @@ function slopeOtherRecords(ctx, marks, categories) {
1437
1462
  seriesLabel,
1438
1463
  nodeIds: mark.nodeIds,
1439
1464
  anchor: mark.anchor,
1440
- fields: [{ key: "share", label: chartString8(ctx.request.options, "shareOfTotal"), value: derivedPercent(end.share * 100) }],
1465
+ fields: [{ key: "share", label: chartString10(ctx.request.options, "shareOfTotal"), value: derivedPercent(end.share * 100) }],
1441
1466
  members: folded.memberIds.map((seriesId) => ({ seriesId, categoryId: mark.categoryId }))
1442
1467
  })] : [];
1443
1468
  });
@@ -1497,7 +1522,7 @@ var EN8 = {
1497
1522
  date: "Datum",
1498
1523
  category: "Kategorie",
1499
1524
  recordKind: "Art"
1500
- }, { chartString: chartString9 } = chartStrings(EN8, DE8);
1525
+ }, { chartString: chartString11 } = chartStrings(EN8, DE8);
1501
1526
 
1502
1527
  // src/core/a11y/eventRecords.ts
1503
1528
  function eventRecords(ctx) {
@@ -1511,9 +1536,9 @@ function eventRecords(ctx) {
1511
1536
  label: eventHeading(event) || event.items[0].title,
1512
1537
  value: textValue(event.items[0].title),
1513
1538
  fields: [
1514
- ...event.dateText ? [{ key: "date", label: chartString9(ctx.request.options, "date"), value: textValue(event.dateText) }] : [],
1515
- ...event.place ? [{ key: "place", label: chartString9(ctx.request.options, "category"), value: textValue(event.place) }] : [],
1516
- ...event.group ? [{ key: "group", label: chartString9(ctx.request.options, "recordKind"), value: textValue(event.group) }] : []
1539
+ ...event.dateText ? [{ key: "date", label: chartString11(ctx.request.options, "date"), value: textValue(event.dateText) }] : [],
1540
+ ...event.place ? [{ key: "place", label: chartString11(ctx.request.options, "category"), value: textValue(event.place) }] : [],
1541
+ ...event.group ? [{ key: "group", label: chartString11(ctx.request.options, "recordKind"), value: textValue(event.group) }] : []
1517
1542
  ],
1518
1543
  comparisons: [],
1519
1544
  annotations: [],
@@ -1582,7 +1607,7 @@ var EN9 = {
1582
1607
  highCase: "Hoher Fall",
1583
1608
  baseCaseName: "Basisfall",
1584
1609
  current: "Aktuell"
1585
- }, { chartString: chartString10 } = chartStrings(EN9, DE9);
1610
+ }, { chartString: chartString12 } = chartStrings(EN9, DE9);
1586
1611
 
1587
1612
  // src/core/a11y/categoryVariants.ts
1588
1613
  function tornadoRecords(ctx) {
@@ -1595,9 +1620,9 @@ function tornadoRecords(ctx) {
1595
1620
  label: categories.find((category) => category.id === row.id)?.label ?? row.id,
1596
1621
  anchor: mark?.rect,
1597
1622
  fields: [
1598
- { key: "low", label: chartString10(ctx.request.options, "lowCase"), value: number2(row.low) },
1599
- { key: "high", label: chartString10(ctx.request.options, "highCase"), value: number2(row.high) },
1600
- { key: "base", label: chartString10(ctx.request.options, "baseCaseName"), value: number2(derived2.tornado.baseValue) }
1623
+ { key: "low", label: chartString12(ctx.request.options, "lowCase"), value: number2(row.low) },
1624
+ { key: "high", label: chartString12(ctx.request.options, "highCase"), value: number2(row.high) },
1625
+ { key: "base", label: chartString12(ctx.request.options, "baseCaseName"), value: number2(derived2.tornado.baseValue) }
1601
1626
  ],
1602
1627
  members: data.series.map((series) => ({ categoryId: row.id, seriesId: series.id })),
1603
1628
  ...rank ? { rank: { value: rank, of: derived2.tornado.rows.length, policy: "competition", direction: "desc" } } : {}
@@ -1617,7 +1642,7 @@ function categoryVariantRecords(ctx) {
1617
1642
  comparisons: [comparison],
1618
1643
  // the fields carry the series' own labels; a sum of several reads 'Current'.
1619
1644
  fields: [
1620
- { key: "current", label: sources.length === 1 ? sources[0].label ?? sources[0].id : chartString10(ctx.request.options, "current"), value: current },
1645
+ { key: "current", label: sources.length === 1 ? sources[0].label ?? sources[0].id : chartString12(ctx.request.options, "current"), value: current },
1621
1646
  { key: "reference", label: referenceSeries.label ?? referenceSeries.id, value: reference }
1622
1647
  ],
1623
1648
  ...options.variance.of === void 0 || options.variance.of === "total" ? { members: data.series.filter((series) => series.role !== "reference").map((series) => ({ categoryId: category.id, seriesId: series.id })) } : {}
@@ -1648,7 +1673,7 @@ function scatterRecords(ctx) {
1648
1673
  let data = ctx.request.data, marks = ctx.geometry.marks, byId = new Map(marks.points.map((point) => [point.id, point])), { unit, format } = ctx.request.options;
1649
1674
  return data.points.map((point) => {
1650
1675
  let mark = byId.get(point.id), x = cellRecordValue(normalizeCell(point.x, `points[${point.id}].x`), unit, format), y = cellRecordValue(normalizeCell(point.y, `points[${point.id}].y`), unit, format), fields = [field2("x", "x", x), field2("y", "y", y)];
1651
- return point.size !== void 0 && fields.push(numberField("size", point.size)), point.group !== void 0 && fields.push(field2("group", chartString4(ctx.request.options, "group"), textValue(point.group))), makeRecord(ctx, { pointId: point.id }, y, {
1676
+ return point.size !== void 0 && fields.push(numberField("size", point.size)), point.group !== void 0 && fields.push(field2("group", chartString6(ctx.request.options, "group"), textValue(point.group))), makeRecord(ctx, { pointId: point.id }, y, {
1652
1677
  label: point.label ?? point.id,
1653
1678
  fields,
1654
1679
  ...point.scenario ? { scenario: normalizeScenario(point.scenario, `points[${point.id}].scenario`) } : {},
@@ -1668,20 +1693,22 @@ function observations(values, owner = {}) {
1668
1693
  function computedValue(value, observed) {
1669
1694
  return value === null || observed.has(value) ? value : withoutResidue(value);
1670
1695
  }
1671
- function spanValue(low, high, unit, format, locale) {
1672
- return low === null || high === null ? numericValue(null) : textValue(chartString4({ locale: { language: locale } }, "spanText", { v1: ((raw) => displayedValueText(numericValue(raw, void 0, format), locale))(low), v2: displayedValueText(numericValue(high, unit, format), locale) }));
1696
+ function spanValue(low, high, decimals, unit, format, locale) {
1697
+ if (low === null || high === null) return numericValue(null);
1698
+ let end = (raw) => format ? displayedValueText(numericValue(raw, unit, format), locale) : derivedValueText(numericValue(raw, unit), decimals, !1, locale);
1699
+ return textValue(chartString6({ locale: { language: locale } }, "spanText", { v1: end(low), v2: end(high) }));
1673
1700
  }
1674
1701
  function boxRecords(ctx) {
1675
- let data = ctx.request.data, marks = ctx.geometry.marks, derived2 = ctx.geometry.derived, { unit, format } = ctx.request.options, locale = ctx.request.locale?.language;
1702
+ let data = ctx.request.data, marks = ctx.geometry.marks, derived2 = ctx.geometry.derived, { unit, format } = ctx.request.options, locale = ctx.request.locale?.language, decimals = marks.labelDecimals;
1676
1703
  return derived2.groups.map((group) => {
1677
- let mark = marks.rows.find((row) => row.id === group.id), input = data.groups.find((row) => row.id === group.id), members = observations(input?.observations ?? [], { categoryId: group.id }), observed = new Set(input?.observations ?? []), stat = (key) => computedValue(group[key], observed);
1704
+ let mark = marks.rows.find((row) => row.id === group.id), input = data.groups.find((row) => row.id === group.id), members = observations(input?.observations ?? [], { categoryId: group.id }), observed = new Set(input?.observations ?? []), stat = (key) => computedValue(group[key], observed), span = (low, high) => spanValue(low, high, decimals, unit, format, locale);
1678
1705
  return makeRecord(ctx, { categoryId: group.id }, numericValue(stat("median"), unit, format), {
1679
1706
  label: group.label,
1680
- valueLabel: chartString4(ctx.request.options, "medianName"),
1707
+ valueLabel: chartString6(ctx.request.options, "medianName"),
1681
1708
  ...mark ? { anchor: mark.rect } : {},
1682
1709
  fields: [
1683
- field2("quartiles", chartString4(ctx.request.options, "quartiles"), spanValue(stat("q1"), stat("q3"), unit, format, locale)),
1684
- field2("whiskers", chartString4(ctx.request.options, "whiskers"), spanValue(stat("whiskerLow"), stat("whiskerHigh"), unit, format, locale)),
1710
+ field2("quartiles", chartString6(ctx.request.options, "quartiles"), span(stat("q1"), stat("q3"))),
1711
+ field2("whiskers", chartString6(ctx.request.options, "whiskers"), span(stat("whiskerLow"), stat("whiskerHigh"))),
1685
1712
  field2("n", "n", numericValue(group.n)),
1686
1713
  ...members.map((item) => numberField(item.owner.pointId, item.value, unit, format))
1687
1714
  ],
@@ -1690,7 +1717,7 @@ function boxRecords(ctx) {
1690
1717
  });
1691
1718
  }
1692
1719
  function histogramRecords(ctx) {
1693
- let data = ctx.request.data, marks = ctx.geometry.marks, derived2 = ctx.geometry.derived, { unit, format } = ctx.request.options, noun = ctx.request.options.axisTitles?.y?.trim().toLowerCase() || chartString4(ctx.request.options, "observationsLower"), observationsByBin = /* @__PURE__ */ new Map();
1720
+ let data = ctx.request.data, marks = ctx.geometry.marks, derived2 = ctx.geometry.derived, { unit, format } = ctx.request.options, noun = ctx.request.options.axisTitles?.y?.trim().toLowerCase() || chartString6(ctx.request.options, "observationsLower"), observationsByBin = /* @__PURE__ */ new Map();
1694
1721
  for (let item of observations(data.observations)) {
1695
1722
  let firstHigher = derived2.binning.edges.slice(1, -1).findIndex((edge) => item.value < edge), index = firstHigher < 0 ? derived2.counts.length - 1 : firstHigher, members = observationsByBin.get(index) ?? [];
1696
1723
  members.push(item), observationsByBin.set(index, members);
@@ -1701,7 +1728,7 @@ function histogramRecords(ctx) {
1701
1728
  return makeRecord(ctx, { categoryId: JSON.stringify(["bin", bin.lo, bin.hi]) }, numericValue(bin.count, counted), {
1702
1729
  // One bin per whole value names that value, "3 days", not "2.5 to under 3.5".
1703
1730
  // The open last bin reads "1,600 or more", its upper edge is only the largest observation.
1704
- label: last && derived2.binning.openAbove !== void 0 ? chartString4(ctx.request.options, "intervalAtLeast", { v1: edge(void 0, derived2.binning.perValue ? Math.ceil(derived2.binning.openAbove) : bin.lo, !0) }) : derived2.binning.perValue ? edge(derived2.binLabels[bin.index], (bin.lo + bin.hi) / 2, !0) : intervalText(edge(low, bin.lo, !1), edge(high, bin.hi, !0), last, ctx.request.options),
1731
+ label: last && derived2.binning.openAbove !== void 0 ? chartString6(ctx.request.options, "intervalAtLeast", { v1: edge(void 0, derived2.binning.perValue ? Math.ceil(derived2.binning.openAbove) : bin.lo, !0) }) : derived2.binning.perValue ? edge(derived2.binLabels[bin.index], (bin.lo + bin.hi) / 2, !0) : intervalText(edge(low, bin.lo, !1), edge(high, bin.hi, !0), last, ctx.request.options),
1705
1732
  anchor: bin.rect,
1706
1733
  annotations: makeRecord(ctx, { categoryId: bin.id }, numericValue(bin.count)).annotations,
1707
1734
  nodeIds: bin.nodeId ? [bin.nodeId] : [],
@@ -1723,7 +1750,7 @@ function retentionValue(value, observed, options) {
1723
1750
  format: DERIVED_PERCENT_FORMAT,
1724
1751
  derived: "percent",
1725
1752
  state: observed ? "nm" : "missing",
1726
- reason: observed ? chartString4(options, "retentionNotMeaningful") : chartString4(options, "periodObservationMissing")
1753
+ reason: observed ? chartString6(options, "retentionNotMeaningful") : chartString6(options, "periodObservationMissing")
1727
1754
  };
1728
1755
  }
1729
1756
  function missingCohortRate(row, period, basis) {
@@ -1744,7 +1771,7 @@ function cohortCell(ctx, mark, derived2, displayed) {
1744
1771
  numberField("active", observed && !(aggregate && missing) ? numerator : null, "count"),
1745
1772
  numberField("denominator", observed && !(aggregate && missing) ? den : null, "count"),
1746
1773
  numberField("base", row?.base ?? (aggregate && !missing ? contributors.reduce((sum, item) => sum + item.base, 0) : void 0), "count"),
1747
- field2("basis", chartString4(ctx.request.options, "basis"), textValue(derived2.basis)),
1774
+ field2("basis", chartString6(ctx.request.options, "basis"), textValue(derived2.basis)),
1748
1775
  ...aggregate ? [numberField("support", contributors.length)] : []
1749
1776
  ],
1750
1777
  ...aggregate ? { members: contributors.map((item) => ({ seriesId: item.id, categoryId: mark.periodId })) } : {}
@@ -1756,7 +1783,7 @@ function cohortRecords(ctx) {
1756
1783
  { seriesId: mark.rowId, categoryId: "cohort-size" },
1757
1784
  numericValue(mark.value, "count"),
1758
1785
  {
1759
- label: chartString4(ctx.request.options, "cohortSizeLabel", { v1: mark.rowLabel }),
1786
+ label: chartString6(ctx.request.options, "cohortSizeLabel", { v1: mark.rowLabel }),
1760
1787
  anchor: mark.rect,
1761
1788
  ...mark.kind === "total" ? { members: derived2.cohorts.map((row) => ({ seriesId: row.id, categoryId: "cohort-size" })) } : {}
1762
1789
  }
@@ -1765,7 +1792,7 @@ function cohortRecords(ctx) {
1765
1792
  }
1766
1793
  function overlayRecord(ctx, input, mark) {
1767
1794
  let fields = [];
1768
- "lon" in input.at ? fields.push(numberField("longitude", input.at.lon, "degrees"), numberField("latitude", input.at.lat, "degrees")) : fields.push(field2("region", chartString4(ctx.request.options, "region"), textValue(input.at.region)));
1795
+ "lon" in input.at ? fields.push(numberField("longitude", input.at.lon, "degrees"), numberField("latitude", input.at.lat, "degrees")) : fields.push(field2("region", chartString6(ctx.request.options, "region"), textValue(input.at.region)));
1769
1796
  let glyph = input.glyph, value = textValue(input.label);
1770
1797
  return glyph.kind === "harvey" && (value = numericValue(glyph.value, "fraction")), glyph.kind === "status" && (value = textValue(glyph.status)), glyph.kind === "pie" && pushAll(fields, glyph.shares.map((share2) => numberField(`share:${share2.label}`, share2.value))), makeRecord(ctx, { categoryId: `overlay:${input.id}` }, value, {
1771
1798
  label: input.label,