boardplot 0.55.0 → 0.57.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 (479) hide show
  1. package/CHANGELOG.md +153 -0
  2. package/README.md +3 -3
  3. package/dist/{ReaderBox-3FFPHWSI.js → ReaderBox-GCIITQCX.js} +5 -5
  4. package/dist/{annotateEngine-ET4DM2OK.js → annotateEngine-JMZI6QEG.js} +1 -1
  5. package/dist/build-identity.json +3 -3
  6. package/dist/{chunk-RO2PSSAI.js → chunk-26WNBTWB.js} +21 -5
  7. package/dist/{chunk-3AJY353W.js → chunk-2AJWRVZ2.js} +4 -3
  8. package/dist/{chunk-NVGAEQ6M.js → chunk-2BHLRHF2.js} +2 -2
  9. package/dist/{chunk-CZ3WCG55.js → chunk-2HD5RY2U.js} +11 -3
  10. package/dist/{chunk-HR2BKLS3.js → chunk-2I76VFMZ.js} +186 -241
  11. package/dist/{chunk-3B3CFJ2H.js → chunk-2KCK63DD.js} +2 -2
  12. package/dist/{chunk-GDZI5ZJ7.js → chunk-2WTD3GCR.js} +11 -3
  13. package/dist/{chunk-EBC5TMI2.js → chunk-2X6XY4K4.js} +27 -10
  14. package/dist/{chunk-MJMOKPTF.js → chunk-3DUGZ7ML.js} +196 -138
  15. package/dist/{chunk-N5TZL74Y.js → chunk-3LNVEE5Z.js} +1 -1
  16. package/dist/{chunk-DB2JKPOX.js → chunk-43PCSBVQ.js} +567 -14
  17. package/dist/{chunk-WEMUCDPK.js → chunk-4JGBCBDZ.js} +1 -1
  18. package/dist/{chunk-7UPZPFHQ.js → chunk-4JNHF6JW.js} +12 -12
  19. package/dist/{chunk-4X3HNETE.js → chunk-4RN4OM6I.js} +3 -3
  20. package/dist/{chunk-Z7NHFNH3.js → chunk-4U2WSW6F.js} +107 -26
  21. package/dist/{chunk-6D4EO3S7.js → chunk-53OEKS4L.js} +5 -3
  22. package/dist/{chunk-E44W4EEG.js → chunk-54HEIM2A.js} +2 -2
  23. package/dist/{chunk-CLGUFVHM.js → chunk-5H4HFRDO.js} +6 -6
  24. package/dist/{chunk-SFG7NG23.js → chunk-5HTGSB6Y.js} +3 -3
  25. package/dist/{chunk-WXJ5MHLH.js → chunk-5JTRCSBN.js} +1 -1
  26. package/dist/{chunk-4Y7BA2NW.js → chunk-5P4MXWKP.js} +4 -4
  27. package/dist/{chunk-MLW72KWN.js → chunk-5RHP7YTL.js} +5 -5
  28. package/dist/{chunk-AB35GVPG.js → chunk-5TUDYKNL.js} +41 -31
  29. package/dist/{chunk-HZUAEMN5.js → chunk-5WSIH4SR.js} +1 -1
  30. package/dist/{chunk-YTCIGJUU.js → chunk-62JZL6FW.js} +45 -37
  31. package/dist/{chunk-S7NRL66K.js → chunk-6EE6XEMA.js} +4 -4
  32. package/dist/chunk-6JXBLQJ2.js +32 -0
  33. package/dist/{chunk-BGJRCG7N.js → chunk-6KHRMK3I.js} +46 -26
  34. package/dist/{chunk-3OZRODC4.js → chunk-6LQKU6YN.js} +4 -4
  35. package/dist/chunk-6VU2XI3W.js +89 -0
  36. package/dist/{chunk-E6HDUEGK.js → chunk-6WJOHZPW.js} +5 -5
  37. package/dist/{chunk-XJQXFVXY.js → chunk-6XU5XGYV.js} +7 -8
  38. package/dist/{chunk-QOWE55RR.js → chunk-6ZN2XJFI.js} +11 -6
  39. package/dist/{chunk-4WT3T5SH.js → chunk-72OJBDRB.js} +205 -60
  40. package/dist/{chunk-GFIT3FRE.js → chunk-73O6AOAA.js} +63 -47
  41. package/dist/{chunk-DEYAI662.js → chunk-76UL4CT4.js} +60 -24
  42. package/dist/chunk-7BQK2UDV.js +13 -0
  43. package/dist/{chunk-NHYKSPL4.js → chunk-7EQU2TUN.js} +304 -119
  44. package/dist/{chunk-FS6ZE5TG.js → chunk-7FAO4ICF.js} +2 -2
  45. package/dist/{chunk-LSF76AS3.js → chunk-7MYJUJZV.js} +6 -2
  46. package/dist/{chunk-D2QMNHCC.js → chunk-7P7D6WXR.js} +11 -2
  47. package/dist/{chunk-GCSCHK5Y.js → chunk-A33MFWHW.js} +3 -3
  48. package/dist/{chunk-3C24WWUQ.js → chunk-A6XCVOC5.js} +1 -1
  49. package/dist/{chunk-O7DVW3IE.js → chunk-AFA32LHN.js} +134 -37
  50. package/dist/{chunk-WALYNKBN.js → chunk-AFGQXMKT.js} +264 -88
  51. package/dist/{chunk-ZTMZOKVC.js → chunk-AKJO6N4K.js} +3 -3
  52. package/dist/{chunk-P6TA7M3G.js → chunk-ANNQJWDX.js} +11 -11
  53. package/dist/{chunk-KFGZMHIB.js → chunk-AOIZJ7GR.js} +7 -7
  54. package/dist/chunk-B5A7X2BA.js +44 -0
  55. package/dist/{chunk-HGT3UKDW.js → chunk-BDCKHLUB.js} +16 -16
  56. package/dist/{chunk-NUCYUKVH.js → chunk-BFDPY7JM.js} +10 -3
  57. package/dist/{chunk-BK6P6KMW.js → chunk-BM2A3IGQ.js} +1 -1
  58. package/dist/{chunk-H3AEYPRP.js → chunk-BO5EJBLH.js} +249 -129
  59. package/dist/chunk-BQIADGJB.js +23 -0
  60. package/dist/{chunk-F6CVYNDY.js → chunk-BY5JGQFZ.js} +24 -7
  61. package/dist/{chunk-WDIVAU5U.js → chunk-C5SQEYTQ.js} +78 -57
  62. package/dist/{chunk-NCZWLV7T.js → chunk-CEMXGMQN.js} +2 -2
  63. package/dist/{chunk-6H3OSHEY.js → chunk-CIDOL4FO.js} +5 -5
  64. package/dist/{chunk-WAPCCJUB.js → chunk-CT4RFZO4.js} +6 -6
  65. package/dist/{chunk-7Q37C6GZ.js → chunk-CV3NC75L.js} +1 -1
  66. package/dist/{chunk-GDVR3XHT.js → chunk-D3PQAVFW.js} +23 -13
  67. package/dist/{chunk-GMJFCBR6.js → chunk-D5G67OER.js} +1 -1
  68. package/dist/{chunk-BFFPYT3Y.js → chunk-D5RAVZ5C.js} +6 -7
  69. package/dist/{chunk-FQF7GSJK.js → chunk-DJBMA4FW.js} +4 -4
  70. package/dist/{chunk-4DZFR52I.js → chunk-DPUCT567.js} +2 -2
  71. package/dist/{chunk-ZHFUMVW7.js → chunk-DYSEZVIJ.js} +18 -2
  72. package/dist/{chunk-SA46CNMS.js → chunk-ED7GLWTF.js} +4 -1
  73. package/dist/{chunk-YXM4W3TN.js → chunk-EDBUVDRI.js} +118 -68
  74. package/dist/{chunk-JBMWRXDS.js → chunk-EEBMK6T6.js} +6 -6
  75. package/dist/{chunk-CYKIX3IQ.js → chunk-EEL2N4Y6.js} +7 -8
  76. package/dist/{chunk-PYV6ZIR6.js → chunk-EFKFZNQC.js} +24 -18
  77. package/dist/{chunk-IOKWBUQP.js → chunk-EHNGPUTO.js} +6 -6
  78. package/dist/{chunk-ZBSNF5F7.js → chunk-EHQLLZCQ.js} +49 -22
  79. package/dist/{chunk-ONKSGT2M.js → chunk-EWR6WVOV.js} +6 -6
  80. package/dist/{chunk-MTRV3BJL.js → chunk-EY4OA4OF.js} +1005 -666
  81. package/dist/{chunk-Y3L655X6.js → chunk-F4JAGDPD.js} +6 -6
  82. package/dist/{chunk-LRCO4G7C.js → chunk-FAFUMSPR.js} +35 -26
  83. package/dist/{chunk-63L35UCI.js → chunk-FERP4WS3.js} +19 -9
  84. package/dist/{chunk-N5HN5QGH.js → chunk-FF7MV4D4.js} +1 -1
  85. package/dist/{chunk-G63WXSQP.js → chunk-FJKFYQ5I.js} +23 -18
  86. package/dist/chunk-FL3FQ2YA.js +27 -0
  87. package/dist/{chunk-YOOHNQ3L.js → chunk-FX5VZK5F.js} +4 -0
  88. package/dist/{chunk-37A6CLR5.js → chunk-G5BUGYIL.js} +70 -18
  89. package/dist/{chunk-JU7S52HI.js → chunk-G5CELEUR.js} +6 -6
  90. package/dist/{chunk-EW47LNWH.js → chunk-GADI2DU7.js} +11 -10
  91. package/dist/{chunk-F6OLHND5.js → chunk-GAFEN3H7.js} +2 -2
  92. package/dist/{chunk-EXDMYV5W.js → chunk-GC4WOLV3.js} +1 -1
  93. package/dist/{chunk-WFSOKGGA.js → chunk-GHFTKVJN.js} +1 -1
  94. package/dist/chunk-GKDUIDU6.js +138 -0
  95. package/dist/{chunk-LA5OYJ5P.js → chunk-GKQLKUMF.js} +188 -84
  96. package/dist/{chunk-LLDKKEUD.js → chunk-GS5UG6QD.js} +1 -1
  97. package/dist/{chunk-BWVNCLUS.js → chunk-H2POQ4LB.js} +5 -5
  98. package/dist/{chunk-WSJDLZSZ.js → chunk-H3EWFSWI.js} +97 -53
  99. package/dist/{chunk-XPOMQWXY.js → chunk-H6EJ63QN.js} +20 -18
  100. package/dist/{chunk-Q3E74U2W.js → chunk-HB3TH7GY.js} +3 -3
  101. package/dist/{chunk-MLGEBFEX.js → chunk-HC6WHTBX.js} +2 -2
  102. package/dist/{chunk-X7XTIM6U.js → chunk-HDSHS2QZ.js} +47 -32
  103. package/dist/{chunk-QBJDHFJJ.js → chunk-HFFKN7PA.js} +11 -6
  104. package/dist/{chunk-K5S3K6QK.js → chunk-HGPFEG2L.js} +7 -8
  105. package/dist/{chunk-7Z73MM35.js → chunk-HVX2E26J.js} +46 -26
  106. package/dist/{chunk-KAYBRD4F.js → chunk-I3DLERI7.js} +2 -2
  107. package/dist/{chunk-SPSGUFTI.js → chunk-I4NUYVP5.js} +1 -1
  108. package/dist/{chunk-OHGEDG46.js → chunk-I5ZADE2U.js} +1 -1
  109. package/dist/{chunk-CPGASWNN.js → chunk-I65OLJ2X.js} +1 -1
  110. package/dist/{chunk-LAVVML3X.js → chunk-I6QGYRY4.js} +3 -3
  111. package/dist/{chunk-N7N5NIAU.js → chunk-I7KDPCC7.js} +3 -3
  112. package/dist/{chunk-UF3HSFAE.js → chunk-IFURKTOL.js} +3 -3
  113. package/dist/{chunk-Y54LU4CU.js → chunk-IPWUBZ4P.js} +1 -1
  114. package/dist/{chunk-IQDMZ33D.js → chunk-IRXTNSZL.js} +10 -10
  115. package/dist/{chunk-GD5TYS5R.js → chunk-IUVJVMKS.js} +13 -13
  116. package/dist/{chunk-E5OEWMNX.js → chunk-IVQT2E3Y.js} +66 -36
  117. package/dist/{chunk-7DAH2E4T.js → chunk-IW3YUMPI.js} +2 -2
  118. package/dist/chunk-IXM6BAM4.js +53 -0
  119. package/dist/{chunk-XVUQMZWV.js → chunk-IZRTNCJQ.js} +5 -5
  120. package/dist/{chunk-KZH2QI6S.js → chunk-J22ETKDJ.js} +2 -2
  121. package/dist/{chunk-HJRNBKIT.js → chunk-JARJP576.js} +3 -3
  122. package/dist/{chunk-4YHZSPAJ.js → chunk-JHWDTV4K.js} +5 -1
  123. package/dist/{chunk-PQYJZMCR.js → chunk-JIH52I36.js} +79 -79
  124. package/dist/{chunk-LFUJTEJO.js → chunk-JKXJWCJ5.js} +71 -36
  125. package/dist/{chunk-2BP6X5GX.js → chunk-JMOBA5ES.js} +2 -2
  126. package/dist/{chunk-2TAK2ELB.js → chunk-JMXNXLAC.js} +5 -1
  127. package/dist/{chunk-Z5V6ZM76.js → chunk-JRRSKCGG.js} +3 -3
  128. package/dist/{chunk-IVRYF7QA.js → chunk-JSA3ESEJ.js} +1 -1
  129. package/dist/{chunk-NOCIN2EM.js → chunk-K6Y4HBK7.js} +32 -32
  130. package/dist/{chunk-WQT6HIIY.js → chunk-KAAB2DIV.js} +23 -13
  131. package/dist/{chunk-GM2HIU6C.js → chunk-KF3ZHLHQ.js} +7 -8
  132. package/dist/{chunk-3XOWXLLQ.js → chunk-KGS5Z7SL.js} +3 -3
  133. package/dist/{chunk-AIU4GZV5.js → chunk-KIXNHDXS.js} +7 -8
  134. package/dist/{chunk-ILFQ75N4.js → chunk-KJLH5EHD.js} +29 -29
  135. package/dist/{chunk-UIYXMPDW.js → chunk-KLQKHA3T.js} +6 -6
  136. package/dist/chunk-KQ2WZ6BY.js +11 -0
  137. package/dist/{chunk-5SLJGRUO.js → chunk-KUMJI5B6.js} +32 -18
  138. package/dist/{chunk-XYYRHGQI.js → chunk-L2XRUG4P.js} +7 -8
  139. package/dist/{chunk-JYBT2JNY.js → chunk-LE3LSEUL.js} +27 -2
  140. package/dist/{chunk-RTXRIZYU.js → chunk-LFX5BERN.js} +167 -70
  141. package/dist/{chunk-D7G27EYZ.js → chunk-LGMV7ZV4.js} +4 -4
  142. package/dist/{chunk-H4VDQ7OE.js → chunk-LO3AGGE3.js} +7 -8
  143. package/dist/{chunk-UNMIUILK.js → chunk-LSKCKGCF.js} +5 -1
  144. package/dist/{chunk-CVIW2MV4.js → chunk-LSR3SBJ4.js} +78 -37
  145. package/dist/{chunk-V634AXDM.js → chunk-LUZ7HXBT.js} +1 -1
  146. package/dist/{chunk-B3AXM3MT.js → chunk-LW4ZQGVL.js} +2 -2
  147. package/dist/{chunk-H3IBJQ5A.js → chunk-M2OQK2FO.js} +1 -1
  148. package/dist/{chunk-AZM4YNRE.js → chunk-M74H7QYD.js} +2 -2
  149. package/dist/{chunk-M427S3G7.js → chunk-MOQFYJ3F.js} +6 -6
  150. package/dist/{chunk-QRVIS2QB.js → chunk-MQ5EKWIG.js} +51 -9
  151. package/dist/{chunk-LHKDZAWN.js → chunk-MSYTF3DZ.js} +10 -3
  152. package/dist/{chunk-LD4LML5P.js → chunk-MTCDGSYW.js} +9 -1
  153. package/dist/{chunk-KHRAJDBM.js → chunk-NCCDEUHD.js} +1 -1
  154. package/dist/{chunk-IGVAWAOK.js → chunk-NIDH22DI.js} +31 -7
  155. package/dist/{chunk-IF2ZABAM.js → chunk-NINK4G7U.js} +2 -2
  156. package/dist/{chunk-F5V7YFKS.js → chunk-NO7GRVUU.js} +10 -8
  157. package/dist/{chunk-EBVJCVXL.js → chunk-NRYERHEI.js} +6 -6
  158. package/dist/{chunk-OJ2BPQGQ.js → chunk-O4D27FKH.js} +1 -1
  159. package/dist/{chunk-RYPJB3RO.js → chunk-O7Y6RJ4D.js} +23 -11
  160. package/dist/{chunk-2C4SYWZ3.js → chunk-OAT6FWKL.js} +7 -8
  161. package/dist/{chunk-VL7WLE4H.js → chunk-OF7FMGH5.js} +6 -6
  162. package/dist/{chunk-V3MSLNSD.js → chunk-OKM5LYYP.js} +7 -8
  163. package/dist/{chunk-YV5KYGE5.js → chunk-OQQMDSCC.js} +1 -1
  164. package/dist/{chunk-QKWBDH2L.js → chunk-OTGNVAI4.js} +2 -2
  165. package/dist/{chunk-HFRQLMKK.js → chunk-PSYPB22T.js} +3 -3
  166. package/dist/{chunk-JXBZIJCG.js → chunk-PYGEIPPH.js} +1 -1
  167. package/dist/{chunk-KZJ5VM6E.js → chunk-PZ3TQFSY.js} +15 -1
  168. package/dist/{chunk-MQYIBGZE.js → chunk-Q7VPTN5X.js} +4 -4
  169. package/dist/{chunk-XZLU3G23.js → chunk-QFIRPOXR.js} +6 -2
  170. package/dist/{chunk-QBRRJ5OR.js → chunk-QHPJ5ZKS.js} +6 -6
  171. package/dist/{chunk-R27IDIJI.js → chunk-QLWUFEKR.js} +6 -6
  172. package/dist/{chunk-COQEHO7B.js → chunk-QNLESRH6.js} +3 -1
  173. package/dist/{chunk-5UVJKB7L.js → chunk-QRZESG66.js} +40 -29
  174. package/dist/{chunk-KND4OM4B.js → chunk-QYOZ46ZQ.js} +70 -23
  175. package/dist/{chunk-HLOXWM2O.js → chunk-QZMLSK43.js} +244 -74
  176. package/dist/{chunk-NGA7ICG4.js → chunk-RDJ3ZU6O.js} +16 -13
  177. package/dist/{chunk-AF7EB6N6.js → chunk-RHBQ2Q5H.js} +104 -47
  178. package/dist/{chunk-Y2CAIAUI.js → chunk-RHVP62HI.js} +6 -6
  179. package/dist/{chunk-EAR43REB.js → chunk-RMVCKO6N.js} +16 -14
  180. package/dist/chunk-RRPTQGRU.js +47 -0
  181. package/dist/{chunk-IF76JRXT.js → chunk-S2TSXUYP.js} +6 -6
  182. package/dist/{chunk-O2KKQNGW.js → chunk-SD6ENKTO.js} +7 -2
  183. package/dist/{chunk-J5PL6JLL.js → chunk-SGDWLXUC.js} +1 -1
  184. package/dist/{chunk-75TWO5B2.js → chunk-SHAAMKN7.js} +45 -24
  185. package/dist/{chunk-NB7M4KX4.js → chunk-SHCW2TCA.js} +11 -11
  186. package/dist/{chunk-3ZAH24P6.js → chunk-SSZB3VXG.js} +19 -19
  187. package/dist/chunk-SXAZDIGM.js +84 -0
  188. package/dist/{chunk-QHRE2M6V.js → chunk-T2L5H2WW.js} +4 -3
  189. package/dist/{chunk-ODZJ4LW7.js → chunk-T3WCDDIL.js} +7 -2
  190. package/dist/{chunk-OOFSQ5AS.js → chunk-T5MBORBK.js} +1 -1
  191. package/dist/{chunk-OY2UJ4XK.js → chunk-TDDSWNGD.js} +25 -17
  192. package/dist/{chunk-5DMHMQFP.js → chunk-TGR6PRKG.js} +3 -3
  193. package/dist/{chunk-EGPXEY2K.js → chunk-TKERVBJ3.js} +7 -8
  194. package/dist/{chunk-6C64IBOG.js → chunk-TMXRTYGT.js} +10 -4
  195. package/dist/{chunk-RNIYG6PI.js → chunk-TQ5HHNM3.js} +2 -2
  196. package/dist/{chunk-LF6RTFNK.js → chunk-TWRFVW3J.js} +5 -3
  197. package/dist/{chunk-7FKY6YWU.js → chunk-TXMS7QUJ.js} +3 -3
  198. package/dist/{chunk-H5L2P2GO.js → chunk-UBXIGE2P.js} +3 -2
  199. package/dist/{chunk-7Q2WV6D2.js → chunk-UCIAHSJK.js} +2 -2
  200. package/dist/{chunk-BVYIKLQ5.js → chunk-UD6U4EF5.js} +1 -1
  201. package/dist/{chunk-4CJ6UCX4.js → chunk-UFZXZJJG.js} +5 -5
  202. package/dist/{chunk-SNQ7D5R7.js → chunk-UIHGGWES.js} +51 -11
  203. package/dist/{chunk-CKNOLGRR.js → chunk-UP4JSNDR.js} +1 -1
  204. package/dist/{chunk-3B3K7TD5.js → chunk-USFIDSTO.js} +8 -6
  205. package/dist/{chunk-PZ46S2SY.js → chunk-V3UE3TB7.js} +2 -2
  206. package/dist/{chunk-KDSYZLF6.js → chunk-V5IFI3FV.js} +8 -1
  207. package/dist/{chunk-BSATR6ZO.js → chunk-V62B23VC.js} +13 -1
  208. package/dist/{chunk-NA6WLZ66.js → chunk-VFLMBA2M.js} +68 -18
  209. package/dist/chunk-VJ7VBB6S.js +58 -0
  210. package/dist/{chunk-32IKJMUF.js → chunk-VM5CQ7CG.js} +3 -3
  211. package/dist/{chunk-6WZZADRL.js → chunk-VMGTNB6H.js} +6 -6
  212. package/dist/{chunk-WWIY6BBY.js → chunk-VT7PBGL2.js} +8 -8
  213. package/dist/{chunk-3L2VXXM4.js → chunk-VY2NPB2Q.js} +2 -2
  214. package/dist/{chunk-QEP3X3OV.js → chunk-VY67Q6CJ.js} +20 -20
  215. package/dist/{chunk-W45AR6EW.js → chunk-W5SVS4B6.js} +2 -2
  216. package/dist/{chunk-U7W7GYXP.js → chunk-W7Q6PLT4.js} +37 -37
  217. package/dist/{chunk-7GVYMGLK.js → chunk-WDAZ2MT4.js} +8 -4
  218. package/dist/{chunk-T5Y4HXYO.js → chunk-WE5WVQE4.js} +13 -1
  219. package/dist/chunk-WJQX7HBH.js +54 -0
  220. package/dist/{chunk-EC2PGJ64.js → chunk-WKWCNS6K.js} +6 -6
  221. package/dist/{chunk-2ALFFOKB.js → chunk-WSKZZ2ZB.js} +14 -14
  222. package/dist/{chunk-5SHI57XD.js → chunk-WZB6R2ZX.js} +7 -5
  223. package/dist/{chunk-MEMPP7VZ.js → chunk-X5OVVMZX.js} +1 -1
  224. package/dist/{chunk-UDKYY27B.js → chunk-XCROSJ2Z.js} +1 -1
  225. package/dist/{chunk-ROLR7HRB.js → chunk-XFCBH3TI.js} +3 -3
  226. package/dist/{chunk-XMN3Z43K.js → chunk-XJUZC53Y.js} +1 -1
  227. package/dist/chunk-XN7JDII2.js +2047 -0
  228. package/dist/{chunk-RUWNG2JC.js → chunk-XNV7VOIT.js} +4 -4
  229. package/dist/{chunk-KC52E5G4.js → chunk-XR7VOF2V.js} +10 -8
  230. package/dist/{chunk-Z2X4JQNY.js → chunk-XYUXB5VK.js} +8 -3
  231. package/dist/{chunk-SC42DPNV.js → chunk-Y5IKCXQR.js} +7 -8
  232. package/dist/{chunk-YLC42C3M.js → chunk-Y5WHM2Q5.js} +1 -1
  233. package/dist/{chunk-IGNBQT23.js → chunk-Y7Q3VEYC.js} +96 -5
  234. package/dist/{chunk-O6NJDRXE.js → chunk-YB6QGOCO.js} +2 -2
  235. package/dist/{chunk-AM2CG7VX.js → chunk-YBYV56FS.js} +3 -3
  236. package/dist/{chunk-O4WJWHCH.js → chunk-YCUNFAEE.js} +90 -42
  237. package/dist/{chunk-V7F4F6JA.js → chunk-YFI5PN5O.js} +5 -7
  238. package/dist/{chunk-SBR2RLEQ.js → chunk-YGPLUENN.js} +89 -59
  239. package/dist/chunk-YGZEG3JV.js +123 -0
  240. package/dist/{chunk-WG5CJGLU.js → chunk-YJGFT63R.js} +8 -3
  241. package/dist/{chunk-KEDNHCGB.js → chunk-YNHPPZ7S.js} +1 -1
  242. package/dist/{chunk-EZZ533MH.js → chunk-YO5UKKCQ.js} +1 -1
  243. package/dist/{chunk-SZXKV3BX.js → chunk-YTEJYLU7.js} +5 -1
  244. package/dist/{chunk-33FCWTGT.js → chunk-Z257SH5U.js} +1 -1
  245. package/dist/{chunk-O7W35PT3.js → chunk-Z2BDTZDT.js} +14 -12
  246. package/dist/{chunk-EQRFSVDD.js → chunk-ZDD3MJ2H.js} +1 -1
  247. package/dist/{chunk-APQPYM2Z.js → chunk-ZNX5J7D7.js} +3 -3
  248. package/dist/{chunk-VBVG6NEL.js → chunk-ZSYU6LIH.js} +5 -5
  249. package/dist/{chunk-2YNF6AHH.js → chunk-ZTSJ7NY6.js} +6 -2
  250. package/dist/chunk-ZV3SNRJI.js +122 -0
  251. package/dist/cli/index.js +1 -1
  252. package/dist/{core-6HMJHFRR.js → core-4M4RY7MX.js} +4 -1
  253. package/dist/{core-RPQBIOU4.js → core-4PW4MXWR.js} +4 -1
  254. package/dist/{core-MV6KGAUV.js → core-5S5CJHBG.js} +5 -1
  255. package/dist/{core-XMTKUXLO.js → core-7TTM4KRP.js} +6 -1
  256. package/dist/{core-EYJ3WJK4.js → core-7XKNJM7Y.js} +4 -1
  257. package/dist/{core-3IJPBNGC.js → core-A7HXVSKB.js} +5 -1
  258. package/dist/{core-CLLIG7ZU.js → core-AMWCZTOT.js} +2 -1
  259. package/dist/{core-2YTKFBNZ.js → core-AVA4XLQ2.js} +4 -1
  260. package/dist/{core-UAY2G7LN.js → core-BJZEJ63L.js} +5 -1
  261. package/dist/{core-PTRQPQTO.js → core-CCB3IXGD.js} +4 -1
  262. package/dist/{core-HJUGHAX7.js → core-D2OIGYC7.js} +2 -1
  263. package/dist/{core-NTWHFDM4.js → core-DMDAXVMY.js} +3 -1
  264. package/dist/{core-2SICIP63.js → core-EMSJRGSE.js} +3 -4
  265. package/dist/{core-MEC6A5DD.js → core-FCSA74RT.js} +2 -1
  266. package/dist/{core-CBEGB2NO.js → core-FTQBESDS.js} +3 -1
  267. package/dist/{core-GRWI22NS.js → core-GS4DXDDG.js} +4 -1
  268. package/dist/{core-CAL7YNFC.js → core-JDZDBTID.js} +2 -1
  269. package/dist/{core-H7KMWYP5.js → core-L3UR75IJ.js} +2 -1
  270. package/dist/{core-JMYMIH6Z.js → core-MAW4S3KA.js} +4 -1
  271. package/dist/{core-T4ZH3FAU.js → core-N2JEWJ7D.js} +3 -1
  272. package/dist/{core-T2KHX5LG.js → core-OBPTBKX6.js} +4 -1
  273. package/dist/{core-CTZLHGXE.js → core-OFPPRHYY.js} +5 -1
  274. package/dist/{core-QABTVASG.js → core-QFAVWFI3.js} +5 -1
  275. package/dist/{core-FX7HRKTF.js → core-QM34237W.js} +9 -1
  276. package/dist/{core-GQC6VDW5.js → core-SKMHEA4Y.js} +5 -1
  277. package/dist/{core-VBR253SM.js → core-T3OSZOVV.js} +2 -1
  278. package/dist/{core-7JKE7H32.js → core-UNX4ZV4M.js} +4 -1
  279. package/dist/core-VRVL6LIM.js +49 -0
  280. package/dist/{core-OIC5KJSD.js → core-VT35VDVS.js} +4 -1
  281. package/dist/{core-3647Z25D.js → core-VWYXK2R3.js} +4 -1
  282. package/dist/{core-YEFGEW3Z.js → core-WNT6ZMRO.js} +5 -1
  283. package/dist/{core-VMIBBHXI.js → core-WP73P4CW.js} +4 -1
  284. package/dist/{core-ULZ7XUQP.js → core-WPEYRK6Y.js} +2 -1
  285. package/dist/{core-PMYCLXT7.js → core-WXZJ7V7S.js} +2 -1
  286. package/dist/{core-KEB5PBCO.js → core-XKXDXALI.js} +3 -1
  287. package/dist/{core-OWCTIPHD.js → core-ZACFV6XR.js} +2 -1
  288. package/dist/{core-BMY7OL76.js → core-ZSERZGK6.js} +5 -1
  289. package/dist/{dataTable-2ZXK54TP.js → dataTable-7IO546LM.js} +11 -2
  290. package/dist/{engine-HGXSWGOI.js → engine-US3N6UCH.js} +51 -15
  291. package/dist/fixtures.js +3 -1
  292. package/dist/fonts.js +1 -1
  293. package/dist/geo/dach.js +1 -1
  294. package/dist/geo/de-states.js +1 -1
  295. package/dist/geo/eu27.js +1 -1
  296. package/dist/geo/europe.js +1 -1
  297. package/dist/geo/index.js +2 -2
  298. package/dist/geo/us-states.js +1 -1
  299. package/dist/geo/world.js +1 -1
  300. package/dist/index.js +32 -19
  301. package/dist/{main-PVT6FMGC.js → main-2UWKGUHR.js} +28 -13
  302. package/dist/mcp/server.js +24 -13
  303. package/dist/react/bar.js +6 -1
  304. package/dist/react/bartable.js +8 -1
  305. package/dist/react/box.js +6 -1
  306. package/dist/react/bullet.js +7 -1
  307. package/dist/react/butterfly.js +6 -1
  308. package/dist/react/choropleth.js +8 -1
  309. package/dist/react/cohort.js +9 -1
  310. package/dist/react/column.js +6 -1
  311. package/dist/react/combo.js +6 -1
  312. package/dist/react/creative.js +8 -1
  313. package/dist/react/diagram.js +8 -1
  314. package/dist/react/dimswitch.js +6 -1
  315. package/dist/react/dot.js +6 -1
  316. package/dist/react/export.js +27 -19
  317. package/dist/react/funnel.js +6 -1
  318. package/dist/react/gantt.js +8 -1
  319. package/dist/react/grid.js +5 -1
  320. package/dist/react/heatmap.js +7 -1
  321. package/dist/react/histogram.js +6 -1
  322. package/dist/react/index.js +94 -84
  323. package/dist/react/kpi.js +7 -1
  324. package/dist/react/likert.js +6 -1
  325. package/dist/react/line.js +6 -1
  326. package/dist/react/mekko.js +6 -1
  327. package/dist/react/pareto.js +6 -1
  328. package/dist/react/pie.js +6 -1
  329. package/dist/react/prepare.js +36 -20
  330. package/dist/react/pvm.js +7 -1
  331. package/dist/react/pyramid.js +6 -1
  332. package/dist/react/sankey.js +8 -1
  333. package/dist/react/scatter.js +6 -1
  334. package/dist/react/slope.js +7 -1
  335. package/dist/react/sparkline.js +7 -1
  336. package/dist/react/spec.js +17 -11
  337. package/dist/react/status.js +12 -1
  338. package/dist/react/story.js +5 -3
  339. package/dist/react/table.js +6 -1
  340. package/dist/react/theme.js +8 -3
  341. package/dist/react/tilemap.js +7 -1
  342. package/dist/react/treemap.js +7 -1
  343. package/dist/react/variance.js +6 -1
  344. package/dist/react/waffle.js +7 -1
  345. package/dist/react/waterfall.js +7 -1
  346. package/dist/rows.js +3 -2
  347. package/dist/{rowsModule-JTDPTWXG.js → rowsModule-DYDVHBAX.js} +2 -1
  348. package/dist/{schema-GLN7IHSH.js → schema-3KMU5737.js} +1 -1
  349. package/dist/{schema-NVMEOHAW.js → schema-4JRNXEZF.js} +3 -1
  350. package/dist/{schema-7CPGNCOL.js → schema-626QXX4G.js} +3 -1
  351. package/dist/{schema-BMD5JR3Y.js → schema-6PL46VXZ.js} +3 -1
  352. package/dist/{schema-2Q7IJ22V.js → schema-6V5K3J2V.js} +4 -1
  353. package/dist/{schema-3XLO43SX.js → schema-A2XUZUCV.js} +3 -1
  354. package/dist/{schema-XKY2EQFH.js → schema-CNJ4Y6CT.js} +3 -1
  355. package/dist/{schema-BKHQ3ZUH.js → schema-DHMMGDTI.js} +3 -1
  356. package/dist/{schema-XHKSGMUH.js → schema-F2Q6MH7W.js} +3 -1
  357. package/dist/{schema-GGG2VOY7.js → schema-FC6J6KZC.js} +5 -1
  358. package/dist/{schema-ZE7WUNFS.js → schema-FGE5YK3S.js} +3 -1
  359. package/dist/{schema-WZLWHOMY.js → schema-FSYDLMGD.js} +1 -1
  360. package/dist/{schema-FYULDJFB.js → schema-G5KSSI5W.js} +1 -1
  361. package/dist/{schema-V3BPW4LA.js → schema-GXOG4MXL.js} +1 -1
  362. package/dist/{schema-76XRTBCJ.js → schema-HEB6ZDI5.js} +3 -1
  363. package/dist/{schema-HIDW4BA4.js → schema-I44IDRGD.js} +1 -1
  364. package/dist/{schema-BOGTPL7F.js → schema-IFTIMTS3.js} +1 -1
  365. package/dist/{schema-KIJA53MB.js → schema-IUY7VYHJ.js} +3 -1
  366. package/dist/{schema-C7NVOQNV.js → schema-J4HCSD5C.js} +5 -2
  367. package/dist/{schema-WIZ2TZAT.js → schema-JCU6LTYD.js} +1 -1
  368. package/dist/{schema-5KHDHTIX.js → schema-JJWORI7D.js} +3 -1
  369. package/dist/{schema-BUTNGYTT.js → schema-K4V4PYBO.js} +3 -1
  370. package/dist/{schema-LHMEXFLY.js → schema-LGLQBRC4.js} +3 -1
  371. package/dist/{schema-5753NOAL.js → schema-MD22QYZU.js} +1 -1
  372. package/dist/{schema-2M3LXR35.js → schema-MGETMQYC.js} +3 -1
  373. package/dist/{schema-FZKNIAIH.js → schema-MQB6CE5V.js} +3 -1
  374. package/dist/{schema-U26KG42U.js → schema-NMIYKGHE.js} +3 -1
  375. package/dist/{schema-MT6NA5AL.js → schema-NOBNFD2F.js} +3 -1
  376. package/dist/{schema-3OLBUVMZ.js → schema-OXO2XY4Y.js} +1 -1
  377. package/dist/{schema-G2PLJCYL.js → schema-PHIHMDVB.js} +1 -1
  378. package/dist/{schema-UHHFTVGS.js → schema-UXWKA3PI.js} +3 -1
  379. package/dist/{schema-J53LCIY3.js → schema-WBOPCTPC.js} +1 -1
  380. package/dist/{schema-TA3MSAPQ.js → schema-WFGDVBJK.js} +1 -1
  381. package/dist/{schema-MUTAVQMI.js → schema-WX2RS4OU.js} +3 -1
  382. package/dist/{schema-XATDKZPW.js → schema-XIHAKX3B.js} +18 -1
  383. package/dist/{schema-LEQNLBNG.js → schema-XRSORYBI.js} +3 -1
  384. package/dist/{schema-FNTAAXQ3.js → schema-YDZCGL56.js} +3 -1
  385. package/dist/{specValidation-X5XJBPTP.js → specValidation-XGELWQUU.js} +2 -1
  386. package/dist/theme.js +5 -1
  387. package/dist/types/core/charts/bartable/types.d.ts +14 -1
  388. package/dist/types/core/charts/box/types.d.ts +5 -1
  389. package/dist/types/core/charts/choropleth/layout.d.ts +1 -5
  390. package/dist/types/core/charts/choropleth/types.d.ts +19 -0
  391. package/dist/types/core/charts/cohort/types.d.ts +16 -3
  392. package/dist/types/core/charts/creative/types.d.ts +21 -0
  393. package/dist/types/core/charts/dimswitch/compile.d.ts +15 -2
  394. package/dist/types/core/charts/dimswitch/types.d.ts +24 -1
  395. package/dist/types/core/charts/gantt/calendar.d.ts +20 -0
  396. package/dist/types/core/charts/gantt/columns.d.ts +56 -0
  397. package/dist/types/core/charts/gantt/layout.d.ts +8 -2
  398. package/dist/types/core/charts/gantt/model.d.ts +296 -0
  399. package/dist/types/core/charts/grid/metricStack.d.ts +9 -0
  400. package/dist/types/core/charts/grid/metricStackSchema.d.ts +13 -0
  401. package/dist/types/core/charts/histogram/types.d.ts +8 -0
  402. package/dist/types/core/charts/likert/layout.d.ts +10 -8
  403. package/dist/types/core/charts/pvm/types.d.ts +9 -1
  404. package/dist/types/core/charts/pyramid/types.d.ts +3 -1
  405. package/dist/types/core/charts/sankey/types.d.ts +5 -1
  406. package/dist/types/core/charts/status/layout.d.ts +3 -0
  407. package/dist/types/core/charts/table/resolve.d.ts +14 -0
  408. package/dist/types/core/footer.d.ts +2 -0
  409. package/dist/types/core/format.d.ts +4 -0
  410. package/dist/types/core/formatSpec.d.ts +10 -0
  411. package/dist/types/core/frame.d.ts +1 -1
  412. package/dist/types/core/geo/types.d.ts +2 -0
  413. package/dist/types/core/geometry.d.ts +1 -1
  414. package/dist/types/core/label/categoryRow.d.ts +1 -1
  415. package/dist/types/core/normalize/shared.d.ts +2 -0
  416. package/dist/types/core/registry.d.ts +4 -5
  417. package/dist/types/core/request.d.ts +6 -0
  418. package/dist/types/core/schema/capability.d.ts +20 -7
  419. package/dist/types/core/schema/generatedColumns.d.ts +168 -0
  420. package/dist/types/core/text.d.ts +16 -0
  421. package/dist/types/core/themeGeometry.d.ts +9 -0
  422. package/dist/types/core/timeAxis.d.ts +6 -1
  423. package/dist/types/core/types/diagram.d.ts +7 -0
  424. package/dist/types/core/types/options.d.ts +83 -12
  425. package/dist/types/core/types/table.d.ts +23 -3
  426. package/dist/types/index.d.ts +2 -0
  427. package/dist/types/react/barrelCharts.d.ts +16 -5
  428. package/dist/types/react/charts/butterfly.d.ts +2 -2
  429. package/dist/types/react/charts/dot.d.ts +7 -1
  430. package/dist/types/react/charts/pareto.d.ts +4 -1
  431. package/dist/types/react/charts/variance.d.ts +3 -1
  432. package/dist/types/react/hover/labelCard.d.ts +18 -3
  433. package/dist/types/react/prepare.d.ts +7 -1
  434. package/dist/types/theme.d.ts +2 -0
  435. package/dist/validate.js +16 -5
  436. package/docs/manual.md +31 -3
  437. package/docs/reference/bar.md +3 -0
  438. package/docs/reference/bartable.md +16 -1
  439. package/docs/reference/box.md +8 -1
  440. package/docs/reference/bullet.md +12 -1
  441. package/docs/reference/butterfly.md +7 -1
  442. package/docs/reference/choropleth.md +15 -2
  443. package/docs/reference/cohort.md +25 -5
  444. package/docs/reference/column.md +1 -0
  445. package/docs/reference/combo.md +1 -0
  446. package/docs/reference/creative.md +13 -0
  447. package/docs/reference/diagram.md +5 -0
  448. package/docs/reference/dimswitch.md +50 -32
  449. package/docs/reference/dot.md +7 -2
  450. package/docs/reference/fixtures.md +57 -0
  451. package/docs/reference/funnel.md +5 -0
  452. package/docs/reference/gantt.md +10 -2
  453. package/docs/reference/grid.md +9 -2
  454. package/docs/reference/heatmap.md +6 -0
  455. package/docs/reference/histogram.md +2 -2
  456. package/docs/reference/kpi.md +5 -1
  457. package/docs/reference/likert.md +8 -0
  458. package/docs/reference/line.md +1 -1
  459. package/docs/reference/options.md +4 -3
  460. package/docs/reference/pareto.md +1 -1
  461. package/docs/reference/pvm.md +7 -1
  462. package/docs/reference/pyramid.md +6 -0
  463. package/docs/reference/react.md +1 -2
  464. package/docs/reference/sankey.md +6 -2
  465. package/docs/reference/slope.md +6 -0
  466. package/docs/reference/sparkline.md +1 -1
  467. package/docs/reference/status.md +7 -1
  468. package/docs/reference/table.md +16 -4
  469. package/docs/reference/tilemap.md +2 -2
  470. package/docs/reference/treemap.md +1 -1
  471. package/docs/reference/waffle.md +1 -1
  472. package/docs/reference/waterfall.md +4 -1
  473. package/package.json +1 -1
  474. package/dist/chunk-FI5EXISD.js +0 -27
  475. package/dist/chunk-O36WX56O.js +0 -13
  476. package/dist/chunk-YGTNVZJE.js +0 -89
  477. package/dist/chunk-ZGHBDMYF.js +0 -24
  478. package/dist/chunk-ZLYQWUNR.js +0 -1794
  479. package/dist/core-SKRADU7T.js +0 -41
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveChartRequest
3
- } from "./chunk-YXM4W3TN.js";
3
+ } from "./chunk-EDBUVDRI.js";
4
4
  import {
5
5
  drawnRequest
6
6
  } from "./chunk-INHDHZNP.js";
@@ -10,42 +10,53 @@ 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 chartString4
16
+ } from "./chunk-VJ7VBB6S.js";
14
17
  import {
15
18
  normalizeGridData
16
- } from "./chunk-V7F4F6JA.js";
19
+ } from "./chunk-YFI5PN5O.js";
17
20
  import {
18
- creativeMetrics
19
- } from "./chunk-O7DVW3IE.js";
21
+ chartString as chartString3,
22
+ tablePlan
23
+ } from "./chunk-AFA32LHN.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-W5SVS4B6.js";
30
34
  import {
31
35
  stackAdds
32
36
  } from "./chunk-JMGB444D.js";
37
+ import {
38
+ chartString as chartString2
39
+ } from "./chunk-ZV3SNRJI.js";
33
40
  import {
34
41
  SPARKLINE_RING_RADIUS,
35
42
  kpiSparkSeries,
36
43
  lastObservedIndex,
37
44
  sparklinePointId
38
- } from "./chunk-WWIY6BBY.js";
45
+ } from "./chunk-VT7PBGL2.js";
46
+ import {
47
+ labelOn
48
+ } from "./chunk-YO5UKKCQ.js";
39
49
  import {
40
50
  calendarNames
41
- } from "./chunk-WALYNKBN.js";
51
+ } from "./chunk-AFGQXMKT.js";
42
52
  import {
43
53
  datePatternFromExample,
44
54
  formatDate,
45
55
  rectCenter,
46
56
  textRole
47
- } from "./chunk-2ALFFOKB.js";
57
+ } from "./chunk-WSKZZ2ZB.js";
48
58
  import {
59
+ LABEL_ONLY_ROW,
49
60
  differenceExample,
50
61
  exampleSpec,
51
62
  formatNonzeroWithSpec,
@@ -55,7 +66,7 @@ import {
55
66
  specUnitKind,
56
67
  unitOfSpec,
57
68
  withUnit
58
- } from "./chunk-GDVR3XHT.js";
69
+ } from "./chunk-D3PQAVFW.js";
59
70
  import {
60
71
  NOT_AVAILABLE,
61
72
  NOT_MEANINGFUL,
@@ -72,7 +83,7 @@ import {
72
83
  wholeCurrencyValue,
73
84
  withLocaleStrings,
74
85
  withSmallValues
75
- } from "./chunk-LHKDZAWN.js";
86
+ } from "./chunk-MSYTF3DZ.js";
76
87
  import {
77
88
  cellMeta,
78
89
  cellValue,
@@ -84,7 +95,7 @@ import {
84
95
  normalizeCell,
85
96
  normalizeScenario,
86
97
  normalizeSeriesValues
87
- } from "./chunk-YOOHNQ3L.js";
98
+ } from "./chunk-FX5VZK5F.js";
88
99
  import {
89
100
  pushAll
90
101
  } from "./chunk-WYJEOMNY.js";
@@ -130,10 +141,10 @@ var EN = {
130
141
  reasonAComparisonOperandIsUnavailable: "Ein Vergleichswert ist nicht verf\xFCgbar",
131
142
  reasonComparisonRequiresNumericValues: "Vergleich braucht Zahlenwerte",
132
143
  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;
144
+ }, { chartString: chartString5 } = chartStrings(EN, DE), reasonKeys = ["reasonSegmentOperandsNotRetained", "reasonReferenceIsNonpositive", "reasonValueOrTargetMissing", "reasonPositiveReferenceAndValueRequired", "reasonNonzeroCompositionBasisRequired", "reasonNoSourceCategoryForThisMark", "reasonASignedCompositionHasNoShareOfANonnegativeTotal", "reasonShareRequiresAPositiveTotal", "reasonTheObservationIsUnavailable", "reasonCurrentTotalCombinesIncompatibleUnits", "reasonRelativeChangeRequiresAPositiveReference", "reasonNoObservation", "reasonNoObservationDrawnAsZeroInTheStack", "reasonNonfiniteValue", "reasonIncompatibleUnits", "reasonAComparisonOperandIsUnavailable", "reasonComparisonRequiresNumericValues", "reasonRelativeChangeIsNotMeaningfulForANonpositiveReference"], reasonByEnglish;
134
145
  function localizedRecordReason(reason, language) {
135
146
  let key = (reasonByEnglish ??= new Map(reasonKeys.map((key2) => [EN[key2], key2]))).get(reason);
136
- return key === void 0 ? reason : chartString2({ locale: { language } }, key);
147
+ return key === void 0 ? reason : chartString5({ locale: { language } }, key);
137
148
  }
138
149
 
139
150
  // src/core/strings/a11y-valueText.ts
@@ -147,7 +158,7 @@ var EN2 = {
147
158
  valueWithheld: "Wert zur\xFCckgehalten",
148
159
  valueUnavailable: "Nicht verf\xFCgbar ({v1})",
149
160
  observationUnavailable: "Nicht verf\xFCgbar (keine Beobachtung)"
150
- }, { chartString: chartString3 } = chartStrings(EN2, DE2);
161
+ }, { chartString: chartString6 } = chartStrings(EN2, DE2);
151
162
 
152
163
  // src/core/a11y/valueText.ts
153
164
  function decimalPrecision(raw) {
@@ -228,11 +239,11 @@ function displayedValueText(value, locale) {
228
239
  return withUnit(sourceNumberText(value.raw, locale, value.derived === "number", value.format ? void 0 : value.unit, value.renderTarget), rawUnit(value));
229
240
  }
230
241
  function interactionValueText(value, locale) {
231
- if (value.state === "suppressed") return chartString3({ locale: { language: locale } }, "valueWithheld");
242
+ if (value.state === "suppressed") return chartString6({ locale: { language: locale } }, "valueWithheld");
232
243
  if (value.state === "na") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || NOT_AVAILABLE;
233
244
  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");
245
+ if (value.state !== "value") return (value.reason ? localizedRecordReason(value.reason, locale) : void 0) || chartString6({ locale: { language: locale } }, "valueUnavailable", { v1: value.state });
246
+ if (value.raw === null) return chartString6({ locale: { language: locale } }, "observationUnavailable");
236
247
  if (value.kind === "date") {
237
248
  if (typeof value.raw != "string") return String(value.raw);
238
249
  let parsed = parseISODate(value.raw);
@@ -281,7 +292,7 @@ var EN3 = {
281
292
  notMeaningful: "Nicht aussagekr\xE4ftig",
282
293
  notApplicableName: "Nicht anwendbar",
283
294
  spanText: "{v1} bis {v2}"
284
- }, { chartString: chartString4 } = chartStrings(EN3, DE3);
295
+ }, { chartString: chartString7 } = chartStrings(EN3, DE3);
285
296
 
286
297
  // src/core/a11y/recordsShared.ts
287
298
  function ownerKey(owner) {
@@ -322,7 +333,7 @@ function statedValue(value, state, options) {
322
333
  ...value,
323
334
  raw: null,
324
335
  state,
325
- reason: chartString4(options, state === "suppressed" ? "valueWithheld" : state === "nm" ? "notMeaningful" : "notApplicableName")
336
+ reason: chartString7(options, state === "suppressed" ? "valueWithheld" : state === "nm" ? "notMeaningful" : "notApplicableName")
326
337
  };
327
338
  }
328
339
  function cellRecordValue(cell, unit, format) {
@@ -474,7 +485,7 @@ var EN4 = {
474
485
  recordTarget: "Ziel",
475
486
  maturingHidden: "Noch nicht ausgereifter Wert nicht gezeigt",
476
487
  categoryState: "Zustand der Kategorie"
477
- }, { chartString: chartString5 } = chartStrings(EN4, DE4);
488
+ }, { chartString: chartString8 } = chartStrings(EN4, DE4);
478
489
 
479
490
  // src/core/a11y/structuralRecords.ts
480
491
  function tableValue(options, cell, column, row = {}, columnFormatAuthored = !1) {
@@ -495,7 +506,7 @@ function tableValue(options, cell, column, row = {}, columnFormatAuthored = !1)
495
506
  ...unit && column.unitScaled && unscaledUnit(unit) !== unit ? { scaledUnit: !0 } : {},
496
507
  ...computed ? { derived: "number" } : {}
497
508
  },
498
- ...cell.state !== "value" ? { reason: cell.state === "suppressed" ? chartString5(options, "valueWithheld") : cell.state === "open" ? chartString5(options, "openPeriod") : cell.state } : {}
509
+ ...cell.state !== "value" ? { reason: cell.state === "suppressed" ? chartString8(options, "valueWithheld") : cell.state === "open" ? chartString8(options, "openPeriod") : cell.state } : {}
499
510
  };
500
511
  }
501
512
  function suppressedTableCells(data) {
@@ -508,13 +519,13 @@ function suppressedTableCells(data) {
508
519
  }
509
520
  function authoredRowSpecs(data) {
510
521
  let specs = /* @__PURE__ */ new Map(), visit = (row) => {
511
- specs.set(row.id, { ...row.format === void 0 ? {} : { format: row.format }, ...row.calc === void 0 ? {} : { calc: row.calc }, cells: row.cells }), row.children?.forEach(visit);
522
+ specs.set(row.id, { ...row.format === void 0 ? {} : { format: row.format }, ...row.calc === void 0 ? {} : { calc: row.calc }, ...row[LABEL_ONLY_ROW] ? { labelOnly: !0 } : {}, cells: row.cells }), row.children?.forEach(visit);
512
523
  };
513
524
  return data.rows.forEach(visit), specs;
514
525
  }
515
526
  function tableRecordCells(table, data, options = {}) {
516
527
  let withheld = suppressedTableCells(data), rowSpecs = authoredRowSpecs(data), authoredFormat = new Set(data.columns.filter(columnOwnsFormat).map((column) => column.id));
517
- return table.rows.flatMap((row) => table.columns.flatMap((column) => {
528
+ return table.rows.flatMap((row) => rowSpecs.get(row.id)?.labelOnly ? [] : table.columns.flatMap((column) => {
518
529
  let resolved = row.cells[column.id], cell = resolved && withheld.has(JSON.stringify([row.id, column.id])) ? { ...resolved, raw: null, state: "suppressed", displayed: resolved.state === "suppressed" ? resolved.displayed : "\u2014*", note: void 0, href: void 0 } : resolved;
519
530
  if (!cell || column.kind === "rowLabel") return [];
520
531
  let spec = rowSpecs.get(row.id), rollUp = row.hasChildren && spec?.cells?.[column.id] === void 0, value = tableValue(options, cell, column, { ...spec, rollUp }, authoredFormat.has(column.id)), sourceColumn = data.columns.find((item) => item.id === column.id);
@@ -526,7 +537,7 @@ function tableRecordCells(table, data, options = {}) {
526
537
  }));
527
538
  }
528
539
  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) }];
540
+ return cell.band?.label === void 0 || cell.state !== "value" ? [] : [{ key: "band", label: chartString8(options, "band"), value: textValue(cell.band.label) }];
530
541
  }
531
542
  function preparedTableRecords(table, data, scope, options = {}) {
532
543
  return tableRecordCells(table, data, options).map(({ row, column, cell, value }) => {
@@ -558,14 +569,14 @@ function tableRecords(ctx) {
558
569
  function statusRecords(ctx) {
559
570
  let data = ctx.request.data, options = ctx.request.options;
560
571
  return ctx.geometry.marks.cells.map((mark) => {
561
- let state = options.states.find((item) => item.id === mark.state), row = data.rows.find((item) => item.id === mark.row), col = data.columns.find((item) => item.id === mark.col);
572
+ let state = options.states.find((item) => item.id === mark.state), row = data.rows.find((item) => item.id === mark.row), col = data.columns.find((item) => item.id === mark.col), colName = options.columnOverrides?.[mark.col]?.label ?? col?.label ?? mark.col;
562
573
  return makeRecord(
563
574
  ctx,
564
575
  { seriesId: mark.row, categoryId: mark.col },
565
576
  textValue(mark.sourceState ?? (mark.missing ? null : mark.state)),
566
577
  {
567
- label: `${row?.label ?? mark.row} / ${col?.label ?? mark.col}`,
568
- fields: state ? [{ key: "stateLabel", label: chartString5(ctx.request.options, "state"), value: textValue(state.label) }] : [],
578
+ label: `${row?.label ?? mark.row} / ${colName}`,
579
+ fields: state ? [{ key: "stateLabel", label: chartString8(ctx.request.options, "state"), value: textValue(state.label) }] : [],
569
580
  nodeIds: [mark.nodeId],
570
581
  anchor: mark.rect
571
582
  }
@@ -574,12 +585,12 @@ function statusRecords(ctx) {
574
585
  }
575
586
  var BARTABLE_TOTAL_ROW = "__total";
576
587
  function bartableRecords(ctx) {
577
- let data = ctx.request.data, marks = ctx.geometry.marks, options = ctx.request.options, tracks = [
578
- ...(data.columns ?? []).map((column) => ({ id: column.id, name: column.label ?? column.id, format: column.format })),
588
+ let data = ctx.request.data, marks = ctx.geometry.marks, options = ctx.request.options, overrides = options.columnOverrides, tracks = [
589
+ ...(data.columns ?? []).map((column) => ({ id: column.id, name: overrides?.[column.id]?.label ?? column.label ?? column.id, format: column.format })),
579
590
  ...data.panels.flatMap((panel) => [
580
- { id: panel.id, name: panel.label ?? panel.id, unit: panel.unit, format: panel.format ?? options.format },
591
+ { id: panel.id, name: overrides?.[panel.id]?.label ?? panel.label ?? panel.id, unit: panel.unit, format: panel.format ?? options.format },
581
592
  // Under cascade: the computed share column of each panel.
582
- ...options.variant === "cascade" ? [{ id: `share:${panel.id}`, name: `${panel.label ?? panel.id} share`, unit: "%", computed: !0 }] : []
593
+ ...options.variant === "cascade" ? [{ id: `share:${panel.id}`, name: `${overrides?.[panel.id]?.label ?? panel.label ?? panel.id} share`, unit: "%", computed: !0 }] : []
583
594
  ]),
584
595
  ...options.variant === "cascade" && options.cascade?.growth ? [{ id: "growth", name: options.cascade.growth.label ?? (options.cascade.growth.measure === "cagr" ? "CAGR" : "Share change"), unit: options.cascade.growth.measure === "cagr" ? "%" : "pp", computed: !0 }] : []
585
596
  ], derived2 = ctx.geometry.derived, rows = [
@@ -596,12 +607,12 @@ function bartableRecords(ctx) {
596
607
  mark.rect
597
608
  )), cells = marks.cells.filter((mark) => !mark.combined && (mark.rowId ?? BARTABLE_TOTAL_ROW) === row.id && mark.colId === track.id).map((mark) => {
598
609
  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);
610
+ if (mark.value === null && mark.kind === "total") return at(track.name, owner, { ...number2(null, mark.text, track), reason: chartString8(ctx.request.options, "rowMissing") }, mark.rect);
600
611
  if (!mark.range) return at(track.name, owner, number2(mark.value, mark.text, mark.kind === "total" ? { ...track, computed: !0 } : track), mark.rect);
601
612
  let range = { kind: "text", raw: mark.text, state: "value", ...track.unit === void 0 ? {} : { unit: track.unit } };
602
613
  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) }
614
+ { key: "low", label: chartString8(ctx.request.options, "low"), value: numericValue(mark.range.low, track.unit, track.format) },
615
+ { key: "high", label: chartString8(ctx.request.options, "high"), value: numericValue(mark.range.high, track.unit, track.format) }
605
616
  ]);
606
617
  });
607
618
  return [...segments, ...cells];
@@ -617,12 +628,15 @@ function bartableRecords(ctx) {
617
628
  return [...perRow, ...combined];
618
629
  }
619
630
  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}`,
631
+ 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: chartString8(ctx.request.options, "anchoredDateUnavailable") } : textValue(item.start, "date"), what = item.label ?? item.colorLabel ?? chartString4(
632
+ ctx.request.options,
633
+ item.kind === "bracket" ? "overallSpan" : item.kind === "milestone" ? "milestone" : "task"
634
+ );
635
+ return makeRecord(ctx, { categoryId: rowId, segmentId: item.id }, textValue(what), {
636
+ label: item.label ? `${rowLabel} / ${item.label}` : rowLabel,
623
637
  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") }] : []
638
+ { key: "start", label: chartString8(ctx.request.options, "start"), value: start },
639
+ ...mark || item.end ? [{ key: "end", label: chartString8(ctx.request.options, "end"), value: textValue(mark?.end ?? item.end, "date") }] : []
626
640
  ],
627
641
  ...mark ? { nodeIds: [mark.nodeId], anchor: mark.rect } : {}
628
642
  });
@@ -639,8 +653,8 @@ function diagramRecords(ctx) {
639
653
  return !label || label.hidden !== void 0 || label.title !== void 0;
640
654
  }, nodes = marks.nodes.map((mark) => {
641
655
  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}` }] : []
656
+ ...node.secondaryLabel ? [{ key: "secondaryLabel", label: chartString8(ctx.request.options, "description"), value: textValue(node.secondaryLabel), labelId: `secondary-label:${node.id}` }] : [],
657
+ ...node.caption ? [{ key: "caption", label: chartString8(ctx.request.options, "caption"), value: textValue(node.caption), labelId: `caption-label:${node.id}` }] : []
644
658
  ];
645
659
  return makeRecord(ctx, { pointId: mark.id }, textValue(node.label), {
646
660
  label: node.label,
@@ -656,8 +670,8 @@ function diagramRecords(ctx) {
656
670
  nodeIds: mark.sceneNodeIds,
657
671
  anchor: mark.route.bounds,
658
672
  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) }
673
+ { key: "source", label: chartString8(ctx.request.options, "recordSource"), value: textValue(mark.source.nodeId) },
674
+ { key: "target", label: chartString8(ctx.request.options, "recordTarget"), value: textValue(mark.target.nodeId) }
661
675
  ],
662
676
  cardFields: []
663
677
  });
@@ -677,8 +691,8 @@ function gridRecords(ctx, childRecords) {
677
691
  seriesLabel: source.title,
678
692
  categoryLabel: category.label,
679
693
  // 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] } }],
694
+ value: { ...hidden ? numericValue(null, source.unit) : derivedValue(raw, source.unit), displayed: panel.displayed[i], ...hidden ? { state: "unavailable", reason: chartString8(ctx.request.options, "maturingHidden") } : {} },
695
+ fields: [{ key: "state", label: chartString8(ctx.request.options, "categoryState"), value: { kind: "text", state: "value", raw: panel.states[i] } }],
682
696
  comparisons: [],
683
697
  annotations: [],
684
698
  claimIds: [],
@@ -749,45 +763,55 @@ var EN5 = {
749
763
  baselineObservations: "Beobachtungen im Basiszeitraum",
750
764
  currentObservations: "Beobachtungen im aktuellen Zeitraum",
751
765
  dailyMetric: "T\xE4glich {v1}"
752
- }, { chartString: chartString6 } = chartStrings(EN5, DE5);
766
+ }, { chartString: chartString9 } = chartStrings(EN5, DE5);
753
767
 
754
768
  // src/core/a11y/creativeRecords.ts
769
+ function printedChange(delta) {
770
+ let value = derivedPercent(delta?.pct);
771
+ return delta?.pct === null || delta === void 0 ? value : { ...value, displayed: delta.text };
772
+ }
755
773
  function creativeRecords(ctx) {
756
774
  if (ctx.request.type !== "creative") return;
757
- let data = ctx.request.data, marks = ctx.geometry.marks, fatigue = ctx.geometry.derived.fatigue, records = creativeMetrics.map(([key, label, suffix]) => {
758
- let unit = suffix === "currency" ? data.facts.currency : suffix, owner = { seriesId: key, categoryId: data.id };
759
- return makeRecord(ctx, owner, numericValue(data.metrics[key].value, unit), {
760
- label,
761
- seriesLabel: label,
775
+ let data = ctx.request.data, marks = ctx.geometry.marks, fatigue = ctx.geometry.derived.fatigue, options = ctx.request.options, plan = tablePlan(options), overrides = options.columnOverrides, drawn = { value: plan.columns.includes("value"), median: plan.columns.includes("median"), delta: plan.columns.includes("delta") }, medianLabel = overrides?.median?.label ?? chartString9(ctx.request.options, "accountMedian"), deltaLabel = overrides?.delta?.label ?? chartString3(ctx.request.options, "vsMedianColumn"), deltas = ctx.geometry.derived.deltas ?? [], drawnIds = new Set(ctx.geometry.scene.map((node) => node.id)), records = plan.columns.length === 0 ? [] : plan.rows.map(([key, label, suffix]) => {
776
+ let unit = suffix === "currency" ? data.facts.currency : suffix, owner = { seriesId: key, categoryId: data.id }, name = options.rowOverrides?.[key]?.label || label, metric = data.metrics[key], primary = drawn.value ? { value: numericValue(metric.value, unit), valueLabel: overrides?.value?.label ?? chartString3(ctx.request.options, "creativeColumn") } : drawn.median ? { value: numericValue(metric.accountMedian, unit), valueLabel: medianLabel } : { value: printedChange(deltas.find((delta) => delta.key === key)), valueLabel: deltaLabel };
777
+ return makeRecord(ctx, owner, primary.value, {
778
+ // The value is the creative's own, beside the account median: it carries the column's name.
779
+ label: name,
780
+ seriesLabel: name,
762
781
  categoryLabel: data.facts.name,
782
+ valueLabel: primary.valueLabel,
763
783
  anchor: marks.metrics[key],
764
- nodeIds: [`creative:row:${key}`, `label:creative:metric:${key}`, `label:creative:value:${key}`, `label:creative:median:${key}`],
784
+ nodeIds: [`creative:row:${key}`, `label:creative:metric:${key}`, `label:creative:value:${key}`, `label:creative:median:${key}`].filter((id) => drawnIds.has(id)),
765
785
  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}`) }
786
+ ...drawn.median && drawn.value ? [{ key: "accountMedian", label: medianLabel, value: numericValue(metric.accountMedian, unit) }] : [],
787
+ // A printed change keeps its source in the record once the value or the median it divides is hidden.
788
+ ...drawn.delta && drawn.value !== drawn.median ? [{ key: "delta", label: deltaLabel, value: printedChange(deltas.find((delta) => delta.key === key)) }] : [],
789
+ ...drawn.median || drawn.delta ? [
790
+ { key: "population", label: chartString9(ctx.request.options, "medianPopulation"), value: textValue(data.comparison.population) },
791
+ { key: "window", label: chartString9(ctx.request.options, "medianWindow"), value: textValue(`${data.comparison.startDate} to ${data.comparison.endDate}`) }
792
+ ] : []
769
793
  ]
770
794
  });
771
795
  });
772
796
  records.push(makeRecord(ctx, { pointId: data.id }, textValue(data.media.alt), {
773
797
  label: data.facts.name,
774
798
  anchor: marks.media,
775
- fields: [{ key: "spendToDate", label: chartString6(ctx.request.options, "spendToDate"), value: numericValue(data.facts.spendToDate, data.facts.currency) }]
799
+ fields: [{ key: "spendToDate", label: chartString9(ctx.request.options, "spendToDate"), value: numericValue(data.facts.spendToDate, data.facts.currency) }]
776
800
  })), 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"),
801
+ label: chartString9(ctx.request.options, "fatigueRule"),
778
802
  nodeIds: ["label:creative:fatigue:0"],
779
803
  claimIds: ctx.claims.filter((claim) => claim.id.startsWith("creative:fatigue:")).map((claim) => claim.id),
780
804
  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) }
805
+ { key: "changePct", label: chartString9(ctx.request.options, "dailyMeanChange"), value: derivedPercent(fatigue.changePct) },
806
+ { key: "baselineN", label: chartString9(ctx.request.options, "baselineObservations"), value: numericValue(fatigue.baseline.inputs.length) },
807
+ { key: "currentN", label: chartString9(ctx.request.options, "currentObservations"), value: numericValue(fatigue.current.inputs.length) }
784
808
  ]
785
809
  }));
786
810
  for (let row of data.observations) for (let key of ["spend", "cpa", "ctr"]) records.push(makeRecord(
787
811
  ctx,
788
812
  { seriesId: `daily:${key}`, categoryId: row.date },
789
813
  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() }) }
814
+ { label: `${row.date} ${key.toUpperCase()}`, categoryLabel: row.date, seriesLabel: chartString9(ctx.request.options, "dailyMetric", { v1: key.toUpperCase() }) }
791
815
  ));
792
816
  return records;
793
817
  }
@@ -810,6 +834,7 @@ var EN6 = {
810
834
  cumulativeAmount: "Cumulative amount",
811
835
  cells: "Cells",
812
836
  responseShare: "Response share",
837
+ responses: "Responses",
813
838
  sampleSize: "Sample size",
814
839
  sampleSizeMissing: "Sample size not supplied",
815
840
  inflow: "Inflow",
@@ -835,6 +860,7 @@ var EN6 = {
835
860
  cumulativeAmount: "Kumulierter Betrag",
836
861
  cells: "Zellen",
837
862
  responseShare: "Antwortanteil",
863
+ responses: "Antworten",
838
864
  sampleSize: "Stichprobengr\xF6\xDFe",
839
865
  sampleSizeMissing: "Stichprobengr\xF6\xDFe nicht angegeben",
840
866
  inflow: "Zufluss",
@@ -843,7 +869,7 @@ var EN6 = {
843
869
  includes: "Umfasst",
844
870
  shareOfSource: "Anteil am Abfluss der Quelle",
845
871
  shareOfTarget: "Anteil am Zufluss des Ziels"
846
- }, { chartString: chartString7 } = chartStrings(EN6, DE6);
872
+ }, { chartString: chartString10 } = chartStrings(EN6, DE6);
847
873
 
848
874
  // src/core/a11y/details.ts
849
875
  function detailRecordFields(options, cell) {
@@ -863,6 +889,18 @@ function detailRecordFields(options, cell) {
863
889
  });
864
890
  }
865
891
 
892
+ // src/core/a11y/comparison.ts
893
+ function isPercentLevel(value) {
894
+ return value.unit !== void 0 ? value.unit === "%" : value.format !== void 0 && specUnitKind(parseFormatExample(value.format)) === "percent";
895
+ }
896
+ function unavailableValue(reason, unit) {
897
+ return { kind: "number", raw: null, state: "unavailable", reason, ...unit === void 0 ? {} : { unit } };
898
+ }
899
+ function compareValues(current, reference, label, scenario, incompatible) {
900
+ 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);
901
+ return { label, ...scenario ? { scenario } : {}, current, reference, delta, percent };
902
+ }
903
+
866
904
  // src/core/a11y/businessRecords.ts
867
905
  var unavailable = (reason) => ({ kind: "number", raw: null, state: "unavailable", reason }), field = (key, label, value) => ({ key, label, value }), share = (value, denominator2, percent) => ({
868
906
  numerator: value,
@@ -919,7 +957,7 @@ function segmentSpan(ctx, start, parts, id, end) {
919
957
  let from = parts.slice(0, index).reduce((sum, part) => sum + part.value, start);
920
958
  start = from, end = from + parts[index].value;
921
959
  }
922
- return [field("start", chartString7(ctx.request.options, "start"), derived(ctx, start)), field("end", chartString7(ctx.request.options, "end"), derived(ctx, end))];
960
+ return [field("start", chartString10(ctx.request.options, "start"), derived(ctx, start)), field("end", chartString10(ctx.request.options, "end"), derived(ctx, end))];
923
961
  }
924
962
  function waterfallCases(ctx, data, geo) {
925
963
  let cases = data.cases;
@@ -932,8 +970,8 @@ function waterfallCases(ctx, data, geo) {
932
970
  anchor: bar.rect,
933
971
  scenario,
934
972
  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))
973
+ field("start", chartString10(ctx.request.options, "start"), derived(ctx, geo.derived.levels[key]?.start)),
974
+ field("end", chartString10(ctx.request.options, "end"), derived(ctx, geo.derived.levels[key]?.end))
937
975
  ]
938
976
  })];
939
977
  }));
@@ -956,17 +994,17 @@ function kpi(ctx) {
956
994
  nodeIds,
957
995
  comparisons: comparisons2,
958
996
  fields: [
959
- ...geo.derived.band?.label ? [field("band", chartString7(ctx.request.options, "band"), textValue(geo.derived.band.label))] : [],
997
+ ...geo.derived.band?.label ? [field("band", chartString10(ctx.request.options, "band"), textValue(geo.derived.band.label))] : [],
960
998
  ...attainment ? [
961
999
  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))
1000
+ field("attainment", chartString10(ctx.request.options, "attainment"), attainment.pct === null ? unavailable(chartString10(ctx.request.options, "referenceNonpositive")) : derivedPercent(attainment.pct))
963
1001
  ] : []
964
1002
  ]
965
1003
  });
966
1004
  if (!data.spark || !geo.scene.some((node) => node.id === "label:spark:last")) return [card];
967
1005
  let { cells, values } = kpiSparkSeries(data.spark), index = lastObservedIndex(values), dot = geo.scene.find((node) => node.id === "mark:spark:dot" || node.id === "mark:sparkColLast");
968
1006
  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")}`,
1007
+ label: `${data.label}, ${data.spark.labels?.[index] ?? chartString10(ctx.request.options, "latest")}`,
970
1008
  nodeIds: dot ? [dot.id] : []
971
1009
  })];
972
1010
  }
@@ -981,25 +1019,42 @@ function sparkline(ctx) {
981
1019
  label: point.label ?? point.id,
982
1020
  ...point.label === void 0 ? {} : { categoryLabel: point.label },
983
1021
  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))]
1022
+ fields: [field("position", chartString10(ctx.request.options, "position"), numericValue(point.index + 1))]
985
1023
  });
986
1024
  });
987
1025
  }
988
1026
  function bullet(ctx) {
989
- let data = ctx.request.data;
990
- return geometry(ctx).marks.rows.map((mark) => {
991
- let row = data.rows.find((row2) => row2.id === mark.id), value = cellRecordValue(normalizeCell(row.value, "value"), ctx.request.options.unit, ctx.request.options.format), target = cellRecordValue(normalizeCell(row.target, "target"), value.unit, value.format), word = ctx.request.options.strings?.target ?? "target", name = word[0].toUpperCase() + word.slice(1);
992
- return makeRecord(ctx, { categoryId: row.id }, value, {
1027
+ let data = ctx.request.data, options = ctx.request.options, geo = geometry(ctx), cells = data.rows.map((row) => {
1028
+ let value = cellRecordValue(normalizeCell(row.value, "value"), options.unit, options.format);
1029
+ return { row, value, target: cellRecordValue(normalizeCell(row.target, "target"), value.unit, value.format) };
1030
+ }), pointOn = labelOn(options, "point"), noteOn = labelOn(options, "annotation"), drawn = options.sharedScale === "percentOfTarget" ? [...pointOn ? ["actual", "share"] : [], ...noteOn ? ["delta"] : []] : [
1031
+ ...pointOn && cells.some(({ value }) => value.raw !== null) ? ["actual"] : [],
1032
+ ...noteOn && cells.some(({ target }) => target.raw !== null) ? ["target", "gap"] : []
1033
+ ], removed = (id) => drawn.includes(id) && options.columnVisibility?.[id] === !1, shown = drawn.filter((id) => !removed(id));
1034
+ if (drawn.length > 0 && shown.length === 0) return [];
1035
+ let leads = removed("actual") ? ["target", "gap", "share", "delta"].find((id) => shown.includes(id)) : void 0, head = (id, key) => options.columnOverrides?.[id]?.label ?? chartString2(options, key, { v1: chartString2(options, "target") });
1036
+ return geo.marks.rows.map((mark) => {
1037
+ let { row, value, target } = cells.find(({ row: row2 }) => row2.id === mark.id), word = options.strings?.target ?? "target", name = word[0].toUpperCase() + word.slice(1), deltaOf = (raw) => numericValue(raw, isPercentLevel(value) && isPercentLevel(target) ? "pp" : value.unit, value.format), delta = typeof value.raw == "number" && typeof target.raw == "number" ? deltaOf(value.raw - target.raw) : unavailable("Value or target missing"), gapShown = geo.derived.deltaVsTarget[row.id], drawnDelta = gapShown === void 0 ? delta : deltaOf(gapShown), share2 = geo.derived.percentOfTarget?.[row.id], shareValue2 = share2 === void 0 ? unavailable("Positive reference and value required") : derivedPercent(share2), printed = [
1038
+ { id: "gap", label: head("gap", "gapColumn"), value: drawnDelta },
1039
+ { id: "share", label: head("share", "shareColumn"), value: shareValue2 },
1040
+ { id: "delta", label: head("delta", "deltaColumn"), value: drawnDelta }
1041
+ ].filter((column) => shown.includes(column.id)), led = printed.find((column) => column.id === leads), lead = leads === "target" ? { value: target, valueLabel: head("target", "targetColumn") } : led ? { value: led.value, valueLabel: led.label } : { value }, compares = !["actual", "target", "gap", "share", "delta"].some(removed);
1042
+ return makeRecord(ctx, { categoryId: row.id }, lead.value, {
993
1043
  label: row.label ?? row.id,
994
1044
  anchor: mark.rect,
995
- fields: [field("target", name, target)],
996
- comparisons: [{
1045
+ ..."valueLabel" in lead ? { valueLabel: lead.valueLabel } : {},
1046
+ fields: [
1047
+ ...removed("target") || leads === "target" ? [] : [field("target", name, target)],
1048
+ // With the comparison gone, a column that still prints its number keeps it here.
1049
+ ...compares ? [] : printed.flatMap((column) => column.id === leads || column.value.raw === null ? [] : [field(column.id, column.label, column.value)])
1050
+ ],
1051
+ comparisons: compares ? [{
997
1052
  label: name,
998
1053
  current: value,
999
1054
  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"),
1055
+ delta,
1001
1056
  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
- }]
1057
+ }] : []
1003
1058
  });
1004
1059
  });
1005
1060
  }
@@ -1020,14 +1075,15 @@ function seriesSource(ctx) {
1020
1075
  function funnel(ctx) {
1021
1076
  let source = seriesSource(ctx), geo = geometry(ctx);
1022
1077
  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);
1078
+ 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
1079
  return makeRecord(ctx, { categoryId: row.categoryId, seriesId: segment.id }, value, {
1025
1080
  label: source.categories.find((category) => category.id === row.categoryId)?.label ?? row.categoryId,
1081
+ ...segmentLabel === void 0 ? {} : { valueLabel: segmentLabel },
1026
1082
  anchor: segment.rect,
1027
1083
  scenario: source.series.find((series) => series.id === segment.id)?.scenario,
1028
1084
  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"))),
1085
+ field("stageTotal", chartString10(ctx.request.options, "stageTotal"), derived(ctx, geo.derived.stageTotals[row.categoryId] ?? void 0)),
1086
+ field("conversion", chartString10(ctx.request.options, "stageConversion"), conversion ? derivedPercent(conversion.rate * 100) : unavailable(chartString10(ctx.request.options, "noPrecedingStage"))),
1031
1087
  ...source.details(row.categoryId, segment.id)
1032
1088
  ]
1033
1089
  });
@@ -1099,7 +1155,7 @@ function pareto(ctx) {
1099
1155
  ...details(column.categoryId),
1100
1156
  anchor: segment.rect,
1101
1157
  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]))]
1158
+ fields: [field("cumulative", chartString10(ctx.request.options, "cumulativeShare"), derivedPercent(geo.derived.cumulativeShare[column.categoryId]))]
1103
1159
  });
1104
1160
  })), ...geo.marks.lines.flatMap((line) => line.points.map((point) => makeRecord(
1105
1161
  ctx,
@@ -1109,7 +1165,7 @@ function pareto(ctx) {
1109
1165
  ...details(point.categoryId),
1110
1166
  anchor: { x: point.x, y: point.y },
1111
1167
  nodeIds: point.markerNodeId ? [point.markerNodeId] : [line.nodeId],
1112
- fields: [field("cumulative", chartString7(ctx.request.options, "cumulativeAmount"), derived(ctx, geo.derived.cumulative[point.categoryId]))]
1168
+ fields: [field("cumulative", chartString10(ctx.request.options, "cumulativeAmount"), derived(ctx, geo.derived.cumulative[point.categoryId]))]
1113
1169
  }
1114
1170
  )))];
1115
1171
  }
@@ -1132,7 +1188,7 @@ function waffle(ctx) {
1132
1188
  label: many ? `${panel.label} / ${series?.label ?? segment.seriesId}` : panel.label,
1133
1189
  anchor: mark.rect,
1134
1190
  ...node ? { nodeIds: [node] } : {},
1135
- fields: square ? [] : [field("cells", chartString7(ctx.request.options, "cells"), textValue(segment.reading))]
1191
+ fields: square ? [] : [field("cells", chartString10(ctx.request.options, "cells"), textValue(segment.reading))]
1136
1192
  });
1137
1193
  }));
1138
1194
  }
@@ -1144,7 +1200,7 @@ function treemap(ctx) {
1144
1200
  label: item.label,
1145
1201
  ...nodeId ? { nodeIds: [nodeId] } : {},
1146
1202
  share: share(value, geo.derived.total, item.share),
1147
- ...group !== void 0 ? { fields: [field("group", chartString7(ctx.request.options, "group"), textValue(group))] } : {}
1203
+ ...group !== void 0 ? { fields: [field("group", chartString10(ctx.request.options, "group"), textValue(group))] } : {}
1148
1204
  });
1149
1205
  });
1150
1206
  }
@@ -1159,12 +1215,12 @@ function sankey(chart) {
1159
1215
  ...mark ? { nodeIds: [mark.nodeId], anchor: mark.rect } : {},
1160
1216
  share: share(value, geo.derived.stages[node.column]?.total, node.share),
1161
1217
  fields: [
1162
- ...stage !== void 0 ? [field("stage", chartString7(options, "stage"), textValue(stage))] : [],
1218
+ ...stage !== void 0 ? [field("stage", chartString10(options, "stage"), textValue(stage))] : [],
1163
1219
  ...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))
1220
+ field("inflow", chartString10(options, "inflow"), derived(ctx, node.in)),
1221
+ field("outflow", chartString10(options, "outflow"), derived(ctx, node.out))
1166
1222
  ] : [],
1167
- ...node.members ? [field("includes", chartString7(options, "includes"), textValue(node.members.map((member) => member.label).join(", ")))] : []
1223
+ ...node.members ? [field("includes", chartString10(options, "includes"), textValue(node.members.map((member) => member.label).join(", ")))] : []
1168
1224
  ]
1169
1225
  }), outgoing = geo.derived.links.filter((link) => link.source === node.key).sort((a, b) => rank.get(a.target) - rank.get(b.target));
1170
1226
  return [record, ...outgoing.map((link) => {
@@ -1173,8 +1229,8 @@ function sankey(chart) {
1173
1229
  label: `${name(link.source)} \u2192 ${name(link.target)}`,
1174
1230
  ...linkMark ? { nodeIds: [linkMark.nodeId], anchor: linkMark.at } : {},
1175
1231
  fields: [
1176
- field("shareOfSource", chartString7(options, "shareOfSource"), percent(link.shareOfSource)),
1177
- field("shareOfTarget", chartString7(options, "shareOfTarget"), percent(link.shareOfTarget))
1232
+ field("shareOfSource", chartString10(options, "shareOfSource"), percent(link.shareOfSource)),
1233
+ field("shareOfTarget", chartString10(options, "shareOfTarget"), percent(link.shareOfTarget))
1178
1234
  ]
1179
1235
  });
1180
1236
  })];
@@ -1195,18 +1251,30 @@ function shareValue(share2, format, authored) {
1195
1251
  return format !== void 0 || authored || share2 === void 0 ? numericValue(share2, "%", format) : derivedPercent(share2);
1196
1252
  }
1197
1253
  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) => {
1254
+ let data = ctx.request.data, options = ctx.request.options, geo = geometry(ctx), records = geo.marks.rows.flatMap((row) => row.bars.map((bar) => {
1200
1255
  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
1256
  return makeRecord(ctx, { categoryId: row.id, seriesId: bar.seriesId }, value, {
1202
1257
  label: `${item.label ?? item.id} / ${option.label ?? option.id}`,
1203
1258
  anchor: bar.rect,
1259
+ // A count of answers says what it counts; a percent value is the response share itself.
1260
+ ...options.values === "percent" ? {} : { valueLabel: chartString10(ctx.request.options, "responses") },
1204
1261
  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")))
1262
+ field("share", chartString10(ctx.request.options, "responseShare"), shareValue(geo.derived.shares[row.id]?.[option.id], options.format, options.values === "percent")),
1263
+ field("base", chartString10(ctx.request.options, "sampleSize"), row.id in geo.derived.base ? numericValue(geo.derived.base[row.id]) : unavailable(chartString10(ctx.request.options, "sampleSizeMissing")))
1207
1264
  ]
1208
1265
  });
1209
- }));
1266
+ })), halves = /* @__PURE__ */ new Map();
1267
+ for (let record of records) {
1268
+ let { categoryId, seriesId } = record.target.owner, whole = seriesId?.match(/^(.*):(?:neg|pos)$/)?.[1];
1269
+ if (whole === void 0 || categoryId === void 0) continue;
1270
+ let key = JSON.stringify([categoryId, whole]);
1271
+ halves.set(key, [...halves.get(key) ?? [], record]);
1272
+ }
1273
+ for (let pair of halves.values()) {
1274
+ let nodeIds = [...new Set(pair.flatMap((record) => record.nodeIds))];
1275
+ if (pair.length > 1) for (let record of pair) record.nodeIds = nodeIds;
1276
+ }
1277
+ return records;
1210
1278
  }
1211
1279
  function businessRecords(ctx) {
1212
1280
  switch (ctx.request.type) {
@@ -1254,7 +1322,7 @@ var EN7 = {
1254
1322
  date: "Datum",
1255
1323
  footnote: "Fu\xDFnote",
1256
1324
  shareOfTotal: "Anteil an der Summe"
1257
- }, { chartString: chartString8 } = chartStrings(EN7, DE7);
1325
+ }, { chartString: chartString11 } = chartStrings(EN7, DE7);
1258
1326
 
1259
1327
  // src/core/a11y/categoryMarks.ts
1260
1328
  function withLineEndLabels(ctx, cells) {
@@ -1337,18 +1405,6 @@ function categoryMarks(ctx) {
1337
1405
  return cells;
1338
1406
  }
1339
1407
 
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
1408
  // src/core/a11y/categoryRecords.ts
1353
1409
  function valueFor(ctx, matrix, series, categoryId) {
1354
1410
  let index = matrix.categoryIndex.get(categoryId) ?? -1;
@@ -1395,13 +1451,13 @@ function shareFor(ctx, matrix, mark, value) {
1395
1451
  }
1396
1452
  function cellFacts(ctx, cell, category, unit) {
1397
1453
  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)
1454
+ if (category?.date && fields.push({ key: "date", label: chartString11(ctx.request.options, "date"), value: textValue(category.date, "date") }), cell && typeof cell == "object" && "range" in cell && cell.range)
1399
1455
  for (let key of ["low", "high", "mid"]) cell.range[key] !== void 0 && fields.push({ key, label: key, value: numericValue(cell.range[key], unit) });
1400
1456
  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;
1457
+ return footnote !== void 0 && fields.push({ key: "footnote", label: chartString11(ctx.request.options, "footnote"), value: numericValue(footnote) }), fields.push(...detailRecordFields(ctx.request.options, cell)), fields;
1402
1458
  }
1403
1459
  function categoryRecord(ctx, matrix, mark) {
1404
- 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, {
1460
+ let series = matrix.seriesIndex.get(mark.seriesId), ci = matrix.categoryIndex.get(mark.categoryId) ?? -1, authored = matrix.categories[ci], heatmapName = ctx.request.type === "heatmap" ? ctx.request.options.columnOverrides?.[mark.categoryId]?.label : void 0, category = authored && heatmapName !== void 0 ? { ...authored, label: heatmapName } : authored, 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, {
1405
1461
  label: `${category?.label ?? othersLabel} / ${series.label ?? series.id}`,
1406
1462
  categoryLabel: category?.label ?? othersLabel,
1407
1463
  seriesLabel: series.label ?? series.id,
@@ -1437,7 +1493,7 @@ function slopeOtherRecords(ctx, marks, categories) {
1437
1493
  seriesLabel,
1438
1494
  nodeIds: mark.nodeIds,
1439
1495
  anchor: mark.anchor,
1440
- fields: [{ key: "share", label: chartString8(ctx.request.options, "shareOfTotal"), value: derivedPercent(end.share * 100) }],
1496
+ fields: [{ key: "share", label: chartString11(ctx.request.options, "shareOfTotal"), value: derivedPercent(end.share * 100) }],
1441
1497
  members: folded.memberIds.map((seriesId) => ({ seriesId, categoryId: mark.categoryId }))
1442
1498
  })] : [];
1443
1499
  });
@@ -1497,7 +1553,7 @@ var EN8 = {
1497
1553
  date: "Datum",
1498
1554
  category: "Kategorie",
1499
1555
  recordKind: "Art"
1500
- }, { chartString: chartString9 } = chartStrings(EN8, DE8);
1556
+ }, { chartString: chartString12 } = chartStrings(EN8, DE8);
1501
1557
 
1502
1558
  // src/core/a11y/eventRecords.ts
1503
1559
  function eventRecords(ctx) {
@@ -1511,9 +1567,9 @@ function eventRecords(ctx) {
1511
1567
  label: eventHeading(event) || event.items[0].title,
1512
1568
  value: textValue(event.items[0].title),
1513
1569
  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) }] : []
1570
+ ...event.dateText ? [{ key: "date", label: chartString12(ctx.request.options, "date"), value: textValue(event.dateText) }] : [],
1571
+ ...event.place ? [{ key: "place", label: chartString12(ctx.request.options, "category"), value: textValue(event.place) }] : [],
1572
+ ...event.group ? [{ key: "group", label: chartString12(ctx.request.options, "recordKind"), value: textValue(event.group) }] : []
1517
1573
  ],
1518
1574
  comparisons: [],
1519
1575
  annotations: [],
@@ -1582,7 +1638,7 @@ var EN9 = {
1582
1638
  highCase: "Hoher Fall",
1583
1639
  baseCaseName: "Basisfall",
1584
1640
  current: "Aktuell"
1585
- }, { chartString: chartString10 } = chartStrings(EN9, DE9);
1641
+ }, { chartString: chartString13 } = chartStrings(EN9, DE9);
1586
1642
 
1587
1643
  // src/core/a11y/categoryVariants.ts
1588
1644
  function tornadoRecords(ctx) {
@@ -1595,9 +1651,9 @@ function tornadoRecords(ctx) {
1595
1651
  label: categories.find((category) => category.id === row.id)?.label ?? row.id,
1596
1652
  anchor: mark?.rect,
1597
1653
  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) }
1654
+ { key: "low", label: chartString13(ctx.request.options, "lowCase"), value: number2(row.low) },
1655
+ { key: "high", label: chartString13(ctx.request.options, "highCase"), value: number2(row.high) },
1656
+ { key: "base", label: chartString13(ctx.request.options, "baseCaseName"), value: number2(derived2.tornado.baseValue) }
1601
1657
  ],
1602
1658
  members: data.series.map((series) => ({ categoryId: row.id, seriesId: series.id })),
1603
1659
  ...rank ? { rank: { value: rank, of: derived2.tornado.rows.length, policy: "competition", direction: "desc" } } : {}
@@ -1617,7 +1673,7 @@ function categoryVariantRecords(ctx) {
1617
1673
  comparisons: [comparison],
1618
1674
  // the fields carry the series' own labels; a sum of several reads 'Current'.
1619
1675
  fields: [
1620
- { key: "current", label: sources.length === 1 ? sources[0].label ?? sources[0].id : chartString10(ctx.request.options, "current"), value: current },
1676
+ { key: "current", label: sources.length === 1 ? sources[0].label ?? sources[0].id : chartString13(ctx.request.options, "current"), value: current },
1621
1677
  { key: "reference", label: referenceSeries.label ?? referenceSeries.id, value: reference }
1622
1678
  ],
1623
1679
  ...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 +1704,7 @@ function scatterRecords(ctx) {
1648
1704
  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
1705
  return data.points.map((point) => {
1650
1706
  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, {
1707
+ return point.size !== void 0 && fields.push(numberField("size", point.size)), point.group !== void 0 && fields.push(field2("group", chartString7(ctx.request.options, "group"), textValue(point.group))), makeRecord(ctx, { pointId: point.id }, y, {
1652
1708
  label: point.label ?? point.id,
1653
1709
  fields,
1654
1710
  ...point.scenario ? { scenario: normalizeScenario(point.scenario, `points[${point.id}].scenario`) } : {},
@@ -1668,20 +1724,22 @@ function observations(values, owner = {}) {
1668
1724
  function computedValue(value, observed) {
1669
1725
  return value === null || observed.has(value) ? value : withoutResidue(value);
1670
1726
  }
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) }));
1727
+ function spanValue(low, high, decimals, unit, format, locale) {
1728
+ if (low === null || high === null) return numericValue(null);
1729
+ let end = (raw) => format ? displayedValueText(numericValue(raw, unit, format), locale) : derivedValueText(numericValue(raw, unit), decimals, !1, locale);
1730
+ return textValue(chartString7({ locale: { language: locale } }, "spanText", { v1: end(low), v2: end(high) }));
1673
1731
  }
1674
1732
  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;
1733
+ 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
1734
  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);
1735
+ 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
1736
  return makeRecord(ctx, { categoryId: group.id }, numericValue(stat("median"), unit, format), {
1679
1737
  label: group.label,
1680
- valueLabel: chartString4(ctx.request.options, "medianName"),
1738
+ valueLabel: chartString7(ctx.request.options, "medianName"),
1681
1739
  ...mark ? { anchor: mark.rect } : {},
1682
1740
  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)),
1741
+ field2("quartiles", chartString7(ctx.request.options, "quartiles"), span(stat("q1"), stat("q3"))),
1742
+ field2("whiskers", chartString7(ctx.request.options, "whiskers"), span(stat("whiskerLow"), stat("whiskerHigh"))),
1685
1743
  field2("n", "n", numericValue(group.n)),
1686
1744
  ...members.map((item) => numberField(item.owner.pointId, item.value, unit, format))
1687
1745
  ],
@@ -1690,7 +1748,7 @@ function boxRecords(ctx) {
1690
1748
  });
1691
1749
  }
1692
1750
  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();
1751
+ 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() || chartString7(ctx.request.options, "observationsLower"), observationsByBin = /* @__PURE__ */ new Map();
1694
1752
  for (let item of observations(data.observations)) {
1695
1753
  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
1754
  members.push(item), observationsByBin.set(index, members);
@@ -1701,7 +1759,7 @@ function histogramRecords(ctx) {
1701
1759
  return makeRecord(ctx, { categoryId: JSON.stringify(["bin", bin.lo, bin.hi]) }, numericValue(bin.count, counted), {
1702
1760
  // One bin per whole value names that value, "3 days", not "2.5 to under 3.5".
1703
1761
  // 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),
1762
+ label: last && derived2.binning.openAbove !== void 0 ? chartString7(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
1763
  anchor: bin.rect,
1706
1764
  annotations: makeRecord(ctx, { categoryId: bin.id }, numericValue(bin.count)).annotations,
1707
1765
  nodeIds: bin.nodeId ? [bin.nodeId] : [],
@@ -1723,7 +1781,7 @@ function retentionValue(value, observed, options) {
1723
1781
  format: DERIVED_PERCENT_FORMAT,
1724
1782
  derived: "percent",
1725
1783
  state: observed ? "nm" : "missing",
1726
- reason: observed ? chartString4(options, "retentionNotMeaningful") : chartString4(options, "periodObservationMissing")
1784
+ reason: observed ? chartString7(options, "retentionNotMeaningful") : chartString7(options, "periodObservationMissing")
1727
1785
  };
1728
1786
  }
1729
1787
  function missingCohortRate(row, period, basis) {
@@ -1744,7 +1802,7 @@ function cohortCell(ctx, mark, derived2, displayed) {
1744
1802
  numberField("active", observed && !(aggregate && missing) ? numerator : null, "count"),
1745
1803
  numberField("denominator", observed && !(aggregate && missing) ? den : null, "count"),
1746
1804
  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)),
1805
+ field2("basis", chartString7(ctx.request.options, "basis"), textValue(derived2.basis)),
1748
1806
  ...aggregate ? [numberField("support", contributors.length)] : []
1749
1807
  ],
1750
1808
  ...aggregate ? { members: contributors.map((item) => ({ seriesId: item.id, categoryId: mark.periodId })) } : {}
@@ -1756,7 +1814,7 @@ function cohortRecords(ctx) {
1756
1814
  { seriesId: mark.rowId, categoryId: "cohort-size" },
1757
1815
  numericValue(mark.value, "count"),
1758
1816
  {
1759
- label: chartString4(ctx.request.options, "cohortSizeLabel", { v1: mark.rowLabel }),
1817
+ label: chartString7(ctx.request.options, "cohortSizeLabel", { v1: mark.rowLabel }),
1760
1818
  anchor: mark.rect,
1761
1819
  ...mark.kind === "total" ? { members: derived2.cohorts.map((row) => ({ seriesId: row.id, categoryId: "cohort-size" })) } : {}
1762
1820
  }
@@ -1765,7 +1823,7 @@ function cohortRecords(ctx) {
1765
1823
  }
1766
1824
  function overlayRecord(ctx, input, mark) {
1767
1825
  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)));
1826
+ "lon" in input.at ? fields.push(numberField("longitude", input.at.lon, "degrees"), numberField("latitude", input.at.lat, "degrees")) : fields.push(field2("region", chartString7(ctx.request.options, "region"), textValue(input.at.region)));
1769
1827
  let glyph = input.glyph, value = textValue(input.label);
1770
1828
  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
1829
  label: input.label,