boardplot 0.57.0 → 0.58.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 (494) hide show
  1. package/CHANGELOG.md +298 -0
  2. package/README.md +48 -14
  3. package/dist/{DiagnosticDetails-JFBBXOT2.js → DiagnosticDetails-VGSL4NJK.js} +1 -1
  4. package/dist/{ReaderBox-GCIITQCX.js → ReaderBox-MHMXIDAJ.js} +8 -7
  5. package/dist/{annotateEngine-JMZI6QEG.js → annotateEngine-753KQBNN.js} +2 -1
  6. package/dist/build-identity.json +3 -3
  7. package/dist/{chunk-5WSIH4SR.js → chunk-2CQBBN7M.js} +4 -4
  8. package/dist/{chunk-Q7VPTN5X.js → chunk-2ETK5TSA.js} +4 -4
  9. package/dist/{chunk-NO7GRVUU.js → chunk-2ETSI2EL.js} +8 -8
  10. package/dist/{chunk-4RN4OM6I.js → chunk-2GRXHWRH.js} +3 -3
  11. package/dist/{chunk-QFIRPOXR.js → chunk-2HII2B6S.js} +3 -3
  12. package/dist/{chunk-K6Y4HBK7.js → chunk-2LC2H3ZM.js} +1000 -904
  13. package/dist/{chunk-KF3ZHLHQ.js → chunk-2NX7EO7H.js} +5 -5
  14. package/dist/{chunk-D5G67OER.js → chunk-2QI2PK2O.js} +1 -1
  15. package/dist/{chunk-AFA32LHN.js → chunk-2VKQQLP7.js} +62 -36
  16. package/dist/chunk-3DOVXJ6K.js +602 -0
  17. package/dist/{chunk-XJUZC53Y.js → chunk-3E6NLODZ.js} +1 -1
  18. package/dist/{chunk-D5RAVZ5C.js → chunk-3HA4IJTO.js} +9 -8
  19. package/dist/{chunk-OTGNVAI4.js → chunk-3HPPTQEW.js} +4 -4
  20. package/dist/{chunk-TGR6PRKG.js → chunk-3KT2647F.js} +4 -2
  21. package/dist/{chunk-UBXIGE2P.js → chunk-3MFVJMP6.js} +2 -2
  22. package/dist/{chunk-JKXJWCJ5.js → chunk-3P3FKPFN.js} +116 -54
  23. package/dist/{chunk-JMOBA5ES.js → chunk-3XAJSMYD.js} +2 -2
  24. package/dist/{chunk-I65OLJ2X.js → chunk-42QKUSHJ.js} +13 -3
  25. package/dist/{chunk-Y5IKCXQR.js → chunk-44JU3VOT.js} +5 -5
  26. package/dist/{chunk-YBYV56FS.js → chunk-44K75CYE.js} +3 -3
  27. package/dist/{chunk-WKWCNS6K.js → chunk-4FNM4D57.js} +5 -5
  28. package/dist/{chunk-UD6U4EF5.js → chunk-4ROZ4TFL.js} +1 -1
  29. package/dist/{chunk-LO3AGGE3.js → chunk-4VV3KUFT.js} +5 -5
  30. package/dist/{chunk-6ZN2XJFI.js → chunk-54YO56IK.js} +1 -1
  31. package/dist/{chunk-JMGB444D.js → chunk-5ACFYNA4.js} +8 -4
  32. package/dist/{chunk-SHAAMKN7.js → chunk-5JEU6MWC.js} +18 -18
  33. package/dist/{chunk-I7KDPCC7.js → chunk-5JIB4VJA.js} +18 -10
  34. package/dist/{chunk-C5SQEYTQ.js → chunk-5OP3E2ZD.js} +153 -65
  35. package/dist/{chunk-BDCKHLUB.js → chunk-5SLBD4BT.js} +72 -304
  36. package/dist/{chunk-2BHLRHF2.js → chunk-5SVGTQTW.js} +4 -4
  37. package/dist/chunk-5U567TYU.js +23 -0
  38. package/dist/{chunk-BFDPY7JM.js → chunk-5ZLF4S7X.js} +11 -6
  39. package/dist/{chunk-73O6AOAA.js → chunk-5ZMTQATF.js} +241 -140
  40. package/dist/{chunk-5JTRCSBN.js → chunk-62BDQTO6.js} +2 -2
  41. package/dist/chunk-64K3V4VN.js +25 -0
  42. package/dist/{chunk-BM2A3IGQ.js → chunk-67YJJJIB.js} +1 -1
  43. package/dist/{chunk-TDDSWNGD.js → chunk-6DJNFT2K.js} +30 -28
  44. package/dist/{chunk-JYAZPMSA.js → chunk-6IUK6PAH.js} +7 -6
  45. package/dist/{chunk-W5SVS4B6.js → chunk-6JFQCVNN.js} +4 -4
  46. package/dist/{chunk-H2POQ4LB.js → chunk-6XPV6M3Q.js} +4 -4
  47. package/dist/{chunk-XFCBH3TI.js → chunk-6ZDSEITW.js} +3 -3
  48. package/dist/{chunk-LFX5BERN.js → chunk-72HVDLMT.js} +46 -32
  49. package/dist/chunk-75NU5RLX.js +24 -0
  50. package/dist/chunk-76GPN6AT.js +72 -0
  51. package/dist/{chunk-EFKFZNQC.js → chunk-7CAYRPJV.js} +34 -20
  52. package/dist/{chunk-EWR6WVOV.js → chunk-7GWWBHVQ.js} +6 -6
  53. package/dist/{chunk-H6EJ63QN.js → chunk-7NYUFMLJ.js} +143 -82
  54. package/dist/{chunk-D2B3KP35.js → chunk-7VWXXBTC.js} +4 -0
  55. package/dist/chunk-A65B23JK.js +113 -0
  56. package/dist/{chunk-XNV7VOIT.js → chunk-A7R6FUS6.js} +4 -4
  57. package/dist/{chunk-KIXNHDXS.js → chunk-AEVGUOPB.js} +5 -5
  58. package/dist/{chunk-IXM6BAM4.js → chunk-AHIK2N72.js} +1 -1
  59. package/dist/{chunk-I3DLERI7.js → chunk-AICO24HJ.js} +5 -2
  60. package/dist/{chunk-LSKCKGCF.js → chunk-AJGSCVVW.js} +2 -2
  61. package/dist/{chunk-RSCRIWAH.js → chunk-AL62JJTB.js} +10 -3
  62. package/dist/{chunk-CT4RFZO4.js → chunk-AN2V2LC4.js} +37 -22
  63. package/dist/{chunk-T5MBORBK.js → chunk-AOFUA5XP.js} +1 -1
  64. package/dist/{chunk-7FAO4ICF.js → chunk-BCMEGJRX.js} +2 -2
  65. package/dist/{chunk-H3EWFSWI.js → chunk-BDIKWR45.js} +43 -29
  66. package/dist/{chunk-DJBMA4FW.js → chunk-BG6AIWAK.js} +4 -6
  67. package/dist/{chunk-6XU5XGYV.js → chunk-BOT6W3VB.js} +5 -5
  68. package/dist/{chunk-DRHQG44U.js → chunk-BQBD6Q5J.js} +6 -2
  69. package/dist/{chunk-6LQKU6YN.js → chunk-BZ67BJBH.js} +11 -10
  70. package/dist/{chunk-2AJWRVZ2.js → chunk-C47POAC5.js} +1 -1
  71. package/dist/{chunk-FJKFYQ5I.js → chunk-C5OBPO4Z.js} +36 -28
  72. package/dist/{chunk-Y7Q3VEYC.js → chunk-CCAAI56H.js} +30 -10
  73. package/dist/{chunk-T3WCDDIL.js → chunk-CDUR3KWV.js} +2 -2
  74. package/dist/{chunk-WE5WVQE4.js → chunk-CMPHT2LS.js} +3 -3
  75. package/dist/{chunk-FHA3KMFC.js → chunk-CQBPNE7Z.js} +5 -1
  76. package/dist/{chunk-JSA3ESEJ.js → chunk-CR5FP5SF.js} +1 -1
  77. package/dist/{chunk-JHWDTV4K.js → chunk-D2TQX7UJ.js} +2 -2
  78. package/dist/{chunk-5TUDYKNL.js → chunk-DEANHDXU.js} +42 -29
  79. package/dist/{chunk-GHFTKVJN.js → chunk-DHGE46UK.js} +1 -1
  80. package/dist/{chunk-ZSYU6LIH.js → chunk-DIHX6NUB.js} +5 -5
  81. package/dist/{chunk-W7Q6PLT4.js → chunk-DILQ34NW.js} +37 -37
  82. package/dist/{chunk-IZRTNCJQ.js → chunk-DJKRYJP7.js} +5 -5
  83. package/dist/{chunk-43PCSBVQ.js → chunk-DKLC6QLF.js} +634 -8
  84. package/dist/{chunk-I6QGYRY4.js → chunk-DNHTMCUP.js} +2 -2
  85. package/dist/{chunk-26WNBTWB.js → chunk-DORE2RHL.js} +5 -5
  86. package/dist/{chunk-WZB6R2ZX.js → chunk-DZYTXZNS.js} +11 -3
  87. package/dist/chunk-E262NRFP.js +39 -0
  88. package/dist/{chunk-O4D27FKH.js → chunk-E5YF236N.js} +4 -1
  89. package/dist/{chunk-5H4HFRDO.js → chunk-EBUK7HJP.js} +5 -5
  90. package/dist/{chunk-YGPLUENN.js → chunk-ECBHC272.js} +132 -83
  91. package/dist/{chunk-KLQKHA3T.js → chunk-EFW43JQJ.js} +5 -5
  92. package/dist/{chunk-VM5CQ7CG.js → chunk-EHRRHSPV.js} +2 -2
  93. package/dist/{chunk-PYGEIPPH.js → chunk-EILNJQMN.js} +32 -12
  94. package/dist/{chunk-KGS5Z7SL.js → chunk-ERDKMZ7O.js} +2 -2
  95. package/dist/{chunk-AFGQXMKT.js → chunk-ETRAPN5G.js} +143 -62
  96. package/dist/{chunk-USFIDSTO.js → chunk-ETUKDEGL.js} +18 -11
  97. package/dist/chunk-F2ET5ZTT.js +49 -0
  98. package/dist/{chunk-HVX2E26J.js → chunk-F3XOBFS4.js} +9 -8
  99. package/dist/{chunk-I4NUYVP5.js → chunk-FB6X7QHA.js} +1 -1
  100. package/dist/{chunk-LW4ZQGVL.js → chunk-FGW54I23.js} +7 -8
  101. package/dist/{chunk-UCIAHSJK.js → chunk-FP5B5XIL.js} +7 -3
  102. package/dist/{chunk-QRZESG66.js → chunk-FRHQGA5Q.js} +64 -239
  103. package/dist/{chunk-YTEJYLU7.js → chunk-FRR7BJ3B.js} +2 -2
  104. package/dist/{chunk-DPUCT567.js → chunk-FVWHEM2N.js} +7 -5
  105. package/dist/{chunk-54HEIM2A.js → chunk-FWSMENKH.js} +2 -2
  106. package/dist/{chunk-F4JAGDPD.js → chunk-FWTUGNSF.js} +8 -8
  107. package/dist/{chunk-HB3TH7GY.js → chunk-FZKDZQ6U.js} +10 -6
  108. package/dist/{chunk-6EE6XEMA.js → chunk-G4FF6G3I.js} +25 -16
  109. package/dist/{chunk-72OJBDRB.js → chunk-GB6BZSTL.js} +52 -41
  110. package/dist/{chunk-QLWUFEKR.js → chunk-GCIHRRDJ.js} +8 -8
  111. package/dist/{chunk-MTCDGSYW.js → chunk-GHCU6OSE.js} +2 -2
  112. package/dist/chunk-GO66OCN7.js +24 -0
  113. package/dist/chunk-GOFS336W.js +24 -0
  114. package/dist/{chunk-JMXNXLAC.js → chunk-GQYT7G4F.js} +2 -2
  115. package/dist/{chunk-TWRFVW3J.js → chunk-GUTLXO7Q.js} +138 -89
  116. package/dist/{chunk-RRPTQGRU.js → chunk-H3VICNTN.js} +1 -1
  117. package/dist/{chunk-GC4WOLV3.js → chunk-HAG3K6PQ.js} +14 -2
  118. package/dist/{chunk-7P7D6WXR.js → chunk-HBQHSZ6S.js} +3 -3
  119. package/dist/{chunk-ZV3SNRJI.js → chunk-HTQGJQZN.js} +4 -2
  120. package/dist/{chunk-VY67Q6CJ.js → chunk-HUQRO6VF.js} +36 -33
  121. package/dist/{chunk-WSKZZ2ZB.js → chunk-I5VDW2XZ.js} +538 -503
  122. package/dist/{chunk-TMXRTYGT.js → chunk-I5VNHDPR.js} +3 -2
  123. package/dist/{chunk-M74H7QYD.js → chunk-IDXYHDQY.js} +1 -1
  124. package/dist/{chunk-IPWUBZ4P.js → chunk-IIWZJ5ZM.js} +1 -1
  125. package/dist/{chunk-HC6WHTBX.js → chunk-IPBOREIY.js} +1 -1
  126. package/dist/chunk-IU335UO7.js +27 -0
  127. package/dist/{chunk-WDAZ2MT4.js → chunk-IVDTP6SV.js} +4 -4
  128. package/dist/{chunk-BDGLMWPO.js → chunk-IXOBDDMW.js} +11 -2
  129. package/dist/{chunk-PSYPB22T.js → chunk-J4QRB6DQ.js} +5 -5
  130. package/dist/{chunk-CEMXGMQN.js → chunk-JCMGKQVS.js} +3 -3
  131. package/dist/{chunk-XR7VOF2V.js → chunk-JM7UTLF3.js} +25 -13
  132. package/dist/{chunk-VY2NPB2Q.js → chunk-JNDWRV34.js} +4 -4
  133. package/dist/{chunk-SHCW2TCA.js → chunk-JSRQTDZZ.js} +25 -23
  134. package/dist/{chunk-XYUXB5VK.js → chunk-JT3UTEWZ.js} +3 -3
  135. package/dist/{chunk-BO5EJBLH.js → chunk-JUYRDZSV.js} +63 -43
  136. package/dist/{chunk-I5ZADE2U.js → chunk-JVGL2SCN.js} +1 -1
  137. package/dist/{chunk-A6XCVOC5.js → chunk-JY4LTPOV.js} +1 -1
  138. package/dist/chunk-K7XPTQBJ.js +267 -0
  139. package/dist/{chunk-JIH52I36.js → chunk-KGBUXMFP.js} +119 -85
  140. package/dist/{chunk-2KCK63DD.js → chunk-KIE5V3DA.js} +2 -2
  141. package/dist/{chunk-A33MFWHW.js → chunk-KU4PCG4W.js} +2 -2
  142. package/dist/{chunk-MQ5EKWIG.js → chunk-KVBLTAO7.js} +5 -5
  143. package/dist/{chunk-XCROSJ2Z.js → chunk-KW4JXWHO.js} +1 -1
  144. package/dist/{chunk-BY5JGQFZ.js → chunk-KWIP5YRA.js} +4 -4
  145. package/dist/{chunk-JRRSKCGG.js → chunk-LG6M2JTH.js} +3 -3
  146. package/dist/{chunk-KUMJI5B6.js → chunk-LIE2WSB4.js} +17 -14
  147. package/dist/{chunk-KAAB2DIV.js → chunk-LJDATBPB.js} +6 -6
  148. package/dist/{chunk-EHNGPUTO.js → chunk-LMMS675D.js} +5 -5
  149. package/dist/{chunk-ANNQJWDX.js → chunk-LPKGZ664.js} +285 -34
  150. package/dist/{chunk-ZTSJ7NY6.js → chunk-LPMSGO7L.js} +3 -3
  151. package/dist/chunk-LQWINE7K.js +211 -0
  152. package/dist/{chunk-RHBQ2Q5H.js → chunk-MKMMQDIY.js} +60 -43
  153. package/dist/{chunk-RMVCKO6N.js → chunk-MQ4IEDM5.js} +458 -136
  154. package/dist/{chunk-J22ETKDJ.js → chunk-MRM4KJ2O.js} +2 -2
  155. package/dist/{chunk-Z2BDTZDT.js → chunk-MX2OZHIT.js} +97 -39
  156. package/dist/{chunk-IFURKTOL.js → chunk-MXUPMGRY.js} +2 -2
  157. package/dist/{chunk-IUVJVMKS.js → chunk-NHU26HQ7.js} +55 -32
  158. package/dist/{chunk-6KHRMK3I.js → chunk-NQVJ4FPY.js} +158 -75
  159. package/dist/chunk-NZ7FX3AE.js +65 -0
  160. package/dist/{chunk-L2XRUG4P.js → chunk-OALBVELJ.js} +5 -5
  161. package/dist/{chunk-3DUGZ7ML.js → chunk-OGZ4UPYK.js} +46 -31
  162. package/dist/{chunk-7MYJUJZV.js → chunk-OMNB27GM.js} +4 -4
  163. package/dist/{chunk-GS5UG6QD.js → chunk-OO63YP35.js} +1 -1
  164. package/dist/{chunk-RHVP62HI.js → chunk-OPYDTW5Q.js} +5 -5
  165. package/dist/{chunk-4U2WSW6F.js → chunk-OSJN7KDS.js} +65 -36
  166. package/dist/{chunk-EY4OA4OF.js → chunk-OSJXIW6I.js} +370 -785
  167. package/dist/{chunk-NRYERHEI.js → chunk-OVVE42P4.js} +5 -5
  168. package/dist/{chunk-Z257SH5U.js → chunk-OZA7HA6L.js} +1 -1
  169. package/dist/{chunk-WJQX7HBH.js → chunk-OZLKEBCD.js} +2 -2
  170. package/dist/{chunk-DYSEZVIJ.js → chunk-P6DEFCMQ.js} +2 -2
  171. package/dist/{chunk-CIDOL4FO.js → chunk-PDTIQL3B.js} +5 -5
  172. package/dist/{chunk-TQ5HHNM3.js → chunk-PJ5BYZPN.js} +2 -2
  173. package/dist/{chunk-EHQLLZCQ.js → chunk-PK7Z7WRJ.js} +59 -34
  174. package/dist/{chunk-KJLH5EHD.js → chunk-PL6NWB5U.js} +175 -110
  175. package/dist/chunk-PMT75APP.js +94 -0
  176. package/dist/{chunk-KQ2WZ6BY.js → chunk-PP6A4X55.js} +1 -1
  177. package/dist/{chunk-O7Y6RJ4D.js → chunk-PPCH3PLO.js} +11 -11
  178. package/dist/{chunk-IRXTNSZL.js → chunk-PPE6S7WU.js} +40 -22
  179. package/dist/{chunk-VT7PBGL2.js → chunk-PT7KSIEO.js} +23 -36
  180. package/dist/{chunk-GADI2DU7.js → chunk-QAUGRVRU.js} +121 -23
  181. package/dist/{chunk-2X6XY4K4.js → chunk-QMFWZG2P.js} +39 -19
  182. package/dist/{chunk-YB6QGOCO.js → chunk-QZGGCE45.js} +2 -2
  183. package/dist/{chunk-5P4MXWKP.js → chunk-R2RJQ3BM.js} +4 -4
  184. package/dist/{chunk-FAFUMSPR.js → chunk-R7HBIQ63.js} +83 -51
  185. package/dist/{chunk-76UL4CT4.js → chunk-RBNDZLYS.js} +27 -22
  186. package/dist/{chunk-XN7JDII2.js → chunk-RCSY4CT4.js} +230 -107
  187. package/dist/{chunk-OAT6FWKL.js → chunk-RHQRPJHS.js} +5 -5
  188. package/dist/chunk-RI6XQKWJ.js +26 -0
  189. package/dist/{chunk-FX5VZK5F.js → chunk-RJICOOB3.js} +14 -8
  190. package/dist/{chunk-NINK4G7U.js → chunk-RLAVNCQJ.js} +2 -2
  191. package/dist/{chunk-FERP4WS3.js → chunk-ROPPWJQB.js} +11 -10
  192. package/dist/{chunk-SSZB3VXG.js → chunk-SELOV32X.js} +102 -47
  193. package/dist/{chunk-EEBMK6T6.js → chunk-SQI4NWTQ.js} +8 -8
  194. package/dist/{chunk-2WTD3GCR.js → chunk-SRJ74CMG.js} +2 -2
  195. package/dist/{chunk-LSR3SBJ4.js → chunk-STWOURLG.js} +234 -136
  196. package/dist/{chunk-BQIADGJB.js → chunk-SWMFXSVW.js} +5 -5
  197. package/dist/{chunk-5HTGSB6Y.js → chunk-SZ5VGWDY.js} +3 -3
  198. package/dist/{chunk-EDBUVDRI.js → chunk-T26G23RS.js} +359 -86
  199. package/dist/chunk-T7GPIJ4L.js +89 -0
  200. package/dist/{chunk-LGMV7ZV4.js → chunk-TAEB3RU6.js} +5 -5
  201. package/dist/{chunk-YFI5PN5O.js → chunk-TBDIMTRD.js} +34 -11
  202. package/dist/{chunk-HDSHS2QZ.js → chunk-TFFPEWNP.js} +70 -47
  203. package/dist/{chunk-YO5UKKCQ.js → chunk-TMEUK2WS.js} +6 -2
  204. package/dist/{chunk-X5OVVMZX.js → chunk-TVOMGNFQ.js} +1 -1
  205. package/dist/{chunk-JARJP576.js → chunk-TX5FSNAU.js} +435 -29
  206. package/dist/{chunk-LUZ7HXBT.js → chunk-U52PNFPX.js} +1 -1
  207. package/dist/chunk-U74AWJ3X.js +24 -0
  208. package/dist/chunk-UC7LBW7N.js +26 -0
  209. package/dist/{chunk-V3UE3TB7.js → chunk-UCKUAKYQ.js} +2 -2
  210. package/dist/{chunk-62JZL6FW.js → chunk-UCYL3YA7.js} +56 -42
  211. package/dist/{chunk-AKJO6N4K.js → chunk-UD2GI3CS.js} +11 -4
  212. package/dist/{chunk-MOQFYJ3F.js → chunk-ULQIC76A.js} +5 -5
  213. package/dist/{chunk-HFFKN7PA.js → chunk-UY34DDUM.js} +3 -3
  214. package/dist/{chunk-2I76VFMZ.js → chunk-UYMFLWM6.js} +49 -37
  215. package/dist/{chunk-3LNVEE5Z.js → chunk-V7FV66KL.js} +1 -1
  216. package/dist/{chunk-UP4JSNDR.js → chunk-V7NUJEJE.js} +1 -1
  217. package/dist/{chunk-53OEKS4L.js → chunk-VESSIKBG.js} +6 -3
  218. package/dist/{chunk-HGPFEG2L.js → chunk-VRFJAF3R.js} +5 -5
  219. package/dist/chunk-VS2R3OGN.js +34 -0
  220. package/dist/{chunk-EEL2N4Y6.js → chunk-VS5B4J2D.js} +5 -5
  221. package/dist/{chunk-G5BUGYIL.js → chunk-W4R6SGU3.js} +192 -113
  222. package/dist/{chunk-JKOEHRGV.js → chunk-WDLWWEHZ.js} +1 -1
  223. package/dist/{chunk-IW3YUMPI.js → chunk-WFBN2HXR.js} +2 -2
  224. package/dist/{chunk-YCUNFAEE.js → chunk-WJS6SAWA.js} +238 -127
  225. package/dist/{chunk-VFLMBA2M.js → chunk-WQYNKF33.js} +19 -18
  226. package/dist/{chunk-QNLESRH6.js → chunk-WUP6C4ZD.js} +2 -2
  227. package/dist/{chunk-4JNHF6JW.js → chunk-X24WAHHV.js} +84 -40
  228. package/dist/{chunk-GKQLKUMF.js → chunk-X3UCQPVV.js} +41 -32
  229. package/dist/{chunk-TXMS7QUJ.js → chunk-X46PSAJ7.js} +6 -6
  230. package/dist/{chunk-M2OQK2FO.js → chunk-XD5XB22R.js} +2 -2
  231. package/dist/{chunk-AOIZJ7GR.js → chunk-XDIAQEYK.js} +6 -6
  232. package/dist/{chunk-7EQU2TUN.js → chunk-XFPNYHX3.js} +84 -53
  233. package/dist/{chunk-NCCDEUHD.js → chunk-XIBVAKCO.js} +1 -1
  234. package/dist/{chunk-SD6ENKTO.js → chunk-XMX4PCFL.js} +3 -3
  235. package/dist/{chunk-2HD5RY2U.js → chunk-XRRG4MBM.js} +3 -3
  236. package/dist/{chunk-Y5WHM2Q5.js → chunk-XTFO6D4L.js} +1 -1
  237. package/dist/chunk-XWRI3N5O.js +70 -0
  238. package/dist/{chunk-IVQT2E3Y.js → chunk-XXPLPSOE.js} +13 -13
  239. package/dist/{chunk-YNHPPZ7S.js → chunk-XZXZNI7A.js} +1 -1
  240. package/dist/{chunk-QZMLSK43.js → chunk-YEJZ2OYS.js} +294 -145
  241. package/dist/{chunk-GAFEN3H7.js → chunk-Z3WQXVFV.js} +2 -2
  242. package/dist/{chunk-D3PQAVFW.js → chunk-Z6DUNKFU.js} +152 -29
  243. package/dist/{chunk-FF7MV4D4.js → chunk-Z6H5ED2I.js} +1 -1
  244. package/dist/{chunk-CV3NC75L.js → chunk-ZBOOMLHD.js} +1 -1
  245. package/dist/{chunk-ZDD3MJ2H.js → chunk-ZDJ7C64T.js} +1 -1
  246. package/dist/{chunk-OKM5LYYP.js → chunk-ZGZLEUKM.js} +5 -5
  247. package/dist/{chunk-QHPJ5ZKS.js → chunk-ZHRGX225.js} +5 -5
  248. package/dist/{chunk-QYOZ46ZQ.js → chunk-ZIVCPXXL.js} +467 -650
  249. package/dist/{chunk-V62B23VC.js → chunk-ZNRSYS76.js} +8 -2
  250. package/dist/{chunk-UFZXZJJG.js → chunk-ZSLTSCTI.js} +5 -5
  251. package/dist/{chunk-NIDH22DI.js → chunk-ZSYFQSPF.js} +12 -2
  252. package/dist/cli/index.js +8 -3
  253. package/dist/{core-UNX4ZV4M.js → core-43GLGBOY.js} +5 -1
  254. package/dist/{core-T3OSZOVV.js → core-5GI3ERXO.js} +3 -1
  255. package/dist/{core-AMWCZTOT.js → core-5L7TMK7I.js} +5 -1
  256. package/dist/{core-5S5CJHBG.js → core-7TO4OVY5.js} +2 -1
  257. package/dist/{core-BJZEJ63L.js → core-BJVENHFQ.js} +3 -1
  258. package/dist/{core-A7HXVSKB.js → core-BX4MFWKC.js} +2 -1
  259. package/dist/{core-4PW4MXWR.js → core-C3KXTOIZ.js} +4 -1
  260. package/dist/{core-SKMHEA4Y.js → core-C5Y6BFLL.js} +3 -1
  261. package/dist/{core-FTQBESDS.js → core-CLUSJ2SK.js} +3 -1
  262. package/dist/{core-QM34237W.js → core-E3IN2VVH.js} +2 -1
  263. package/dist/{core-4M4RY7MX.js → core-FD67NQOV.js} +3 -1
  264. package/dist/{core-WXZJ7V7S.js → core-FDKMLRAK.js} +4 -1
  265. package/dist/{core-L3UR75IJ.js → core-FL6Z3VVX.js} +4 -1
  266. package/dist/{core-XKXDXALI.js → core-JC7JUFPY.js} +6 -1
  267. package/dist/{core-WP73P4CW.js → core-JF33TADA.js} +5 -1
  268. package/dist/{core-DMDAXVMY.js → core-JH32ZAKM.js} +2 -1
  269. package/dist/{core-GS4DXDDG.js → core-JYYZPPQV.js} +4 -1
  270. package/dist/{core-N2JEWJ7D.js → core-KJTKCV4U.js} +2 -1
  271. package/dist/{core-7XKNJM7Y.js → core-LCQPE5Y6.js} +5 -1
  272. package/dist/{core-ZACFV6XR.js → core-LHVGWE54.js} +5 -1
  273. package/dist/{core-VT35VDVS.js → core-OVSNBOCE.js} +6 -1
  274. package/dist/{core-AVA4XLQ2.js → core-PPEC236B.js} +2 -1
  275. package/dist/{core-QFAVWFI3.js → core-QTJZDK5H.js} +2 -1
  276. package/dist/{core-VWYXK2R3.js → core-R3YZCOUZ.js} +4 -1
  277. package/dist/{core-OFPPRHYY.js → core-RIBW5XU4.js} +3 -1
  278. package/dist/{core-MAW4S3KA.js → core-RJFILBWL.js} +5 -1
  279. package/dist/{core-FCSA74RT.js → core-RWSXEKTE.js} +3 -1
  280. package/dist/{core-WPEYRK6Y.js → core-SOPPZLEH.js} +4 -1
  281. package/dist/{core-EMSJRGSE.js → core-TBUZCXLX.js} +2 -1
  282. package/dist/{core-OBPTBKX6.js → core-TZ5QLTAX.js} +2 -1
  283. package/dist/{core-JDZDBTID.js → core-U7E5W4MY.js} +2 -1
  284. package/dist/{core-ZSERZGK6.js → core-UBNVSL44.js} +3 -1
  285. package/dist/{core-WNT6ZMRO.js → core-UDRD4WIU.js} +2 -1
  286. package/dist/{core-VRVL6LIM.js → core-UVJZ4HY2.js} +3 -1
  287. package/dist/{core-7TTM4KRP.js → core-X7WWYQH4.js} +3 -1
  288. package/dist/{core-D2OIGYC7.js → core-XP56X47I.js} +4 -1
  289. package/dist/{core-CCB3IXGD.js → core-XQG54CYG.js} +3 -1
  290. package/dist/{dataTable-7IO546LM.js → dataTable-U7W4I6IF.js} +7 -2
  291. package/dist/{engine-US3N6UCH.js → engine-O5V26MGR.js} +23 -18
  292. package/dist/fixtures.js +2 -1
  293. package/dist/flags-BVLSAXT3.js +10 -0
  294. package/dist/{fontTables-ZPZQ6IR3.js → fontTables-JUW7ZTQY.js} +3 -1
  295. package/dist/geo/dach.js +1 -1
  296. package/dist/geo/de-states.js +1 -1
  297. package/dist/geo/eu27.js +1 -1
  298. package/dist/geo/europe.js +1 -1
  299. package/dist/geo/index.js +2 -2
  300. package/dist/geo/us-states.js +1 -1
  301. package/dist/geo/world.js +1 -1
  302. package/dist/index.js +27 -20
  303. package/dist/{main-2UWKGUHR.js → main-35GS47XC.js} +50 -119
  304. package/dist/mcp/server.js +121 -118
  305. package/dist/react/bar.js +5 -1
  306. package/dist/react/bartable.js +3 -1
  307. package/dist/react/box.js +3 -1
  308. package/dist/react/bullet.js +4 -1
  309. package/dist/react/butterfly.js +5 -1
  310. package/dist/react/choropleth.js +3 -1
  311. package/dist/react/cohort.js +3 -1
  312. package/dist/react/column.js +5 -1
  313. package/dist/react/combo.js +5 -1
  314. package/dist/react/creative.js +4 -1
  315. package/dist/react/diagram.js +3 -1
  316. package/dist/react/dimswitch.js +6 -1
  317. package/dist/react/dot.js +4 -1
  318. package/dist/react/export.js +29 -18
  319. package/dist/react/funnel.js +4 -1
  320. package/dist/react/gantt.js +3 -1
  321. package/dist/react/grid.js +6 -1
  322. package/dist/react/heatmap.js +3 -1
  323. package/dist/react/histogram.js +6 -1
  324. package/dist/react/index.js +92 -85
  325. package/dist/react/kpi.js +4 -1
  326. package/dist/react/likert.js +6 -1
  327. package/dist/react/line.js +4 -1
  328. package/dist/react/mekko.js +5 -1
  329. package/dist/react/pareto.js +6 -1
  330. package/dist/react/pie.js +4 -1
  331. package/dist/react/prepare.js +35 -22
  332. package/dist/react/pvm.js +6 -1
  333. package/dist/react/pyramid.js +5 -1
  334. package/dist/react/sankey.js +3 -1
  335. package/dist/react/scatter.js +3 -1
  336. package/dist/react/slope.js +4 -1
  337. package/dist/react/sparkline.js +4 -1
  338. package/dist/react/spec.js +17 -13
  339. package/dist/react/status.js +3 -1
  340. package/dist/react/story.js +3 -2
  341. package/dist/react/table.js +4 -1
  342. package/dist/react/theme.js +5 -3
  343. package/dist/react/tilemap.js +3 -1
  344. package/dist/react/treemap.js +3 -1
  345. package/dist/react/variance.js +5 -1
  346. package/dist/react/waffle.js +3 -1
  347. package/dist/react/waterfall.js +5 -1
  348. package/dist/{resvg-VB7S5HRF.js → resvg-ZYEZTSUO.js} +3 -1
  349. package/dist/rows.js +2 -2
  350. package/dist/{rowsModule-DYDVHBAX.js → rowsModule-H2S6WW4D.js} +1 -1
  351. package/dist/{schema-YDZCGL56.js → schema-2R32F6AW.js} +1 -3
  352. package/dist/{schema-A2XUZUCV.js → schema-2TPGJGVR.js} +1 -3
  353. package/dist/{schema-MD22QYZU.js → schema-47BG2TZA.js} +1 -3
  354. package/dist/{schema-HEB6ZDI5.js → schema-56MOEOVR.js} +1 -3
  355. package/dist/{schema-K4V4PYBO.js → schema-5MSR4LNN.js} +1 -3
  356. package/dist/{schema-NOBNFD2F.js → schema-5RIYEWE6.js} +1 -3
  357. package/dist/{schema-PHIHMDVB.js → schema-A26ZNGTZ.js} +1 -3
  358. package/dist/{schema-OXO2XY4Y.js → schema-ALBF6V7Y.js} +1 -3
  359. package/dist/{schema-F2Q6MH7W.js → schema-BA6WP5YZ.js} +1 -3
  360. package/dist/{schema-G5KSSI5W.js → schema-CBL2SMVR.js} +1 -3
  361. package/dist/{schema-WFGDVBJK.js → schema-CWKGLDSR.js} +1 -3
  362. package/dist/{schema-DHMMGDTI.js → schema-DBIQFL56.js} +1 -3
  363. package/dist/{schema-626QXX4G.js → schema-DL7V6NN2.js} +1 -3
  364. package/dist/{schema-FC6J6KZC.js → schema-DUVJMFKQ.js} +1 -3
  365. package/dist/{schema-LGLQBRC4.js → schema-ECJERHKF.js} +1 -2
  366. package/dist/{schema-4JRNXEZF.js → schema-EDSEKZDJ.js} +1 -3
  367. package/dist/{schema-I44IDRGD.js → schema-ESR6ZIK4.js} +1 -3
  368. package/dist/{schema-FSYDLMGD.js → schema-F7TWGLRZ.js} +1 -3
  369. package/dist/{schema-JCU6LTYD.js → schema-FGB6IGZM.js} +1 -3
  370. package/dist/{schema-MGETMQYC.js → schema-FKGGTM4Z.js} +1 -2
  371. package/dist/{schema-6PL46VXZ.js → schema-FU2AFIEE.js} +1 -3
  372. package/dist/{schema-XIHAKX3B.js → schema-JNJFCYBM.js} +1 -1
  373. package/dist/{schema-6V5K3J2V.js → schema-JYZ4RF6S.js} +1 -3
  374. package/dist/{schema-GXOG4MXL.js → schema-K7F6TEDK.js} +1 -2
  375. package/dist/{schema-NMIYKGHE.js → schema-KAK6DZX4.js} +1 -3
  376. package/dist/{schema-XRSORYBI.js → schema-MOKWIGF7.js} +1 -3
  377. package/dist/{schema-3KMU5737.js → schema-MQT6BMNK.js} +1 -3
  378. package/dist/{schema-JJWORI7D.js → schema-MR3BPPQR.js} +1 -3
  379. package/dist/{schema-IFTIMTS3.js → schema-OPXZYIW7.js} +1 -3
  380. package/dist/{schema-UXWKA3PI.js → schema-PV7JGX5H.js} +1 -3
  381. package/dist/{schema-CNJ4Y6CT.js → schema-PWPQF5RC.js} +1 -3
  382. package/dist/{schema-WBOPCTPC.js → schema-PYQEUC5P.js} +1 -3
  383. package/dist/{schema-J4HCSD5C.js → schema-QPIC5MAG.js} +6 -2
  384. package/dist/{schema-IUY7VYHJ.js → schema-R42VXFIS.js} +1 -3
  385. package/dist/{schema-WX2RS4OU.js → schema-TVUJNEX7.js} +1 -3
  386. package/dist/{schema-FGE5YK3S.js → schema-Y4TI2T3T.js} +1 -3
  387. package/dist/{schema-MQB6CE5V.js → schema-ZU2EU2VP.js} +1 -3
  388. package/dist/{specValidation-XGELWQUU.js → specValidation-2NHJT7TQ.js} +3 -1
  389. package/dist/theme.js +4 -3
  390. package/dist/{themeShapeRules-PW4BQHKL.js → themeShapeRules-G7UZX6GJ.js} +1 -1
  391. package/dist/types/core/annotate.d.ts +27 -2
  392. package/dist/types/core/annotateArms.d.ts +3 -1
  393. package/dist/types/core/annotateTargets.d.ts +4 -0
  394. package/dist/types/core/annotationOrigin.d.ts +13 -0
  395. package/dist/types/core/axis.d.ts +2 -2
  396. package/dist/types/core/charts/band/stacks.d.ts +7 -1
  397. package/dist/types/core/charts/column/model.d.ts +13 -0
  398. package/dist/types/core/charts/combo/layout.d.ts +7 -0
  399. package/dist/types/core/charts/gantt/calendar.d.ts +4 -0
  400. package/dist/types/core/charts/grid/normalize.d.ts +5 -0
  401. package/dist/types/core/charts/grid/schema.d.ts +2 -2
  402. package/dist/types/core/charts/pareto/layout.d.ts +2 -0
  403. package/dist/types/core/charts/pvm/types.d.ts +1 -0
  404. package/dist/types/core/charts/scatter/clamp.d.ts +2 -1
  405. package/dist/types/core/charts/scatter/model.d.ts +5 -0
  406. package/dist/types/core/charts/scatter/valueLines.d.ts +3 -1
  407. package/dist/types/core/charts/table/resolve.d.ts +8 -3
  408. package/dist/types/core/charts/table/view.d.ts +24 -1
  409. package/dist/types/core/claims/browser.d.ts +2 -0
  410. package/dist/types/core/claims/ids.d.ts +38 -0
  411. package/dist/types/core/deferred.d.ts +1 -0
  412. package/dist/types/core/doc/diagnostics.d.ts +3 -2
  413. package/dist/types/core/formatSpec.d.ts +33 -14
  414. package/dist/types/core/frame.d.ts +25 -58
  415. package/dist/types/core/frameText.d.ts +203 -0
  416. package/dist/types/core/geometry.d.ts +2 -0
  417. package/dist/types/core/label/categoryRow.d.ts +19 -2
  418. package/dist/types/core/label/solver.d.ts +23 -2
  419. package/dist/types/core/normalize/shared.d.ts +12 -2
  420. package/dist/types/core/notes.d.ts +15 -2
  421. package/dist/types/core/reading.d.ts +12 -1
  422. package/dist/types/core/request.d.ts +1 -1
  423. package/dist/types/core/schema/capability.d.ts +12 -0
  424. package/dist/types/core/seriesIdentity.d.ts +4 -1
  425. package/dist/types/core/sizing.d.ts +32 -1
  426. package/dist/types/core/structureCounts.d.ts +3 -1
  427. package/dist/types/core/theme.d.ts +33 -4
  428. package/dist/types/core/themeRules.d.ts +2 -0
  429. package/dist/types/core/types/annotations.d.ts +74 -4
  430. package/dist/types/core/types/options.d.ts +35 -3
  431. package/dist/types/core/types/scene.d.ts +30 -2
  432. package/dist/types/core/types/table.d.ts +6 -0
  433. package/dist/types/core/types/theme.d.ts +23 -0
  434. package/dist/types/react/TableChart.d.ts +5 -0
  435. package/dist/validate.js +13 -6
  436. package/docs/TELEMETRY.md +2 -2
  437. package/docs/manual.md +252 -62
  438. package/docs/reference/bar.md +12 -4
  439. package/docs/reference/bartable.md +2 -2
  440. package/docs/reference/box.md +8 -4
  441. package/docs/reference/bullet.md +9 -5
  442. package/docs/reference/butterfly.md +10 -5
  443. package/docs/reference/choropleth.md +3 -5
  444. package/docs/reference/cohort.md +1 -1
  445. package/docs/reference/column.md +18 -4
  446. package/docs/reference/combo.md +10 -5
  447. package/docs/reference/creative.md +3 -7
  448. package/docs/reference/diagram.md +1 -1
  449. package/docs/reference/dimswitch.md +23 -88
  450. package/docs/reference/dot.md +9 -5
  451. package/docs/reference/fixtures.md +37 -1
  452. package/docs/reference/funnel.md +9 -5
  453. package/docs/reference/gantt.md +8 -15
  454. package/docs/reference/grid.md +5 -2
  455. package/docs/reference/heatmap.md +10 -6
  456. package/docs/reference/kpi.md +1 -1
  457. package/docs/reference/likert.md +9 -4
  458. package/docs/reference/line.md +18 -5
  459. package/docs/reference/mekko.md +10 -5
  460. package/docs/reference/options.md +17 -13
  461. package/docs/reference/pareto.md +8 -4
  462. package/docs/reference/pie.md +9 -5
  463. package/docs/reference/pvm.md +9 -5
  464. package/docs/reference/pyramid.md +8 -4
  465. package/docs/reference/react.md +5 -5
  466. package/docs/reference/sankey.md +2 -2
  467. package/docs/reference/scatter.md +8 -4
  468. package/docs/reference/slope.md +9 -5
  469. package/docs/reference/sparkline.md +1 -1
  470. package/docs/reference/status.md +1 -1
  471. package/docs/reference/table.md +33 -114
  472. package/docs/reference/theme.md +12 -4
  473. package/docs/reference/tilemap.md +2 -4
  474. package/docs/reference/treemap.md +1 -1
  475. package/docs/reference/variance.md +12 -6
  476. package/docs/reference/waffle.md +1 -1
  477. package/docs/reference/warnings.md +1077 -0
  478. package/docs/reference/waterfall.md +16 -4
  479. package/docs/use-cases.md +25 -13
  480. package/llms.txt +19 -6
  481. package/package.json +18 -3
  482. package/dist/chunk-5RHP7YTL.js +0 -24
  483. package/dist/chunk-6VU2XI3W.js +0 -89
  484. package/dist/chunk-6WJOHZPW.js +0 -26
  485. package/dist/chunk-FL3FQ2YA.js +0 -27
  486. package/dist/chunk-G5CELEUR.js +0 -26
  487. package/dist/chunk-M4SPKUZE.js +0 -7
  488. package/dist/chunk-OF7FMGH5.js +0 -24
  489. package/dist/chunk-S2TSXUYP.js +0 -24
  490. package/dist/chunk-TKERVBJ3.js +0 -23
  491. package/dist/chunk-VMGTNB6H.js +0 -25
  492. package/dist/chunk-WZL4EEBS.js +0 -11
  493. package/dist/chunk-YJGFT63R.js +0 -27
  494. package/dist/chunk-ZNX5J7D7.js +0 -47
@@ -6,24 +6,29 @@ import {
6
6
  normalizeMetricStack,
7
7
  stackError,
8
8
  stackRange
9
- } from "./chunk-VM5CQ7CG.js";
9
+ } from "./chunk-EHRRHSPV.js";
10
+ import {
11
+ rebaseRefusal,
12
+ rebaseWarning,
13
+ sameField
14
+ } from "./chunk-NZ7FX3AE.js";
10
15
  import {
11
16
  scalePanelSemantics
12
- } from "./chunk-OTGNVAI4.js";
17
+ } from "./chunk-3HPPTQEW.js";
13
18
  import {
14
19
  STACK_ROOM
15
- } from "./chunk-5HTGSB6Y.js";
20
+ } from "./chunk-SZ5VGWDY.js";
16
21
  import {
17
22
  normalizeGridData,
18
23
  parseGridLegendPanelData,
19
24
  parseGridTextPanelData
20
- } from "./chunk-YFI5PN5O.js";
25
+ } from "./chunk-TBDIMTRD.js";
21
26
  import {
22
27
  categoryBandFromCenters
23
28
  } from "./chunk-CDZHNLO6.js";
24
29
  import {
25
30
  structureCount
26
- } from "./chunk-XCROSJ2Z.js";
31
+ } from "./chunk-KW4JXWHO.js";
27
32
  import {
28
33
  lineBoxes
29
34
  } from "./chunk-B5A7X2BA.js";
@@ -35,8 +40,11 @@ import {
35
40
  } from "./chunk-SXAZDIGM.js";
36
41
  import {
37
42
  CARD_CLASS_WIDTH,
43
+ CARD_HEIGHT_MEMO,
38
44
  CARD_MIN_WIDTH,
39
45
  DIGIT_SEAT,
46
+ LAYOUT_CALL,
47
+ NARROW_FORM,
40
48
  NARROW_SHARE_WIDTH,
41
49
  PLOT_FLOOR_RECT,
42
50
  VARIANCE_TIER,
@@ -50,19 +58,19 @@ import {
50
58
  keysNeedNames,
51
59
  legendIsCovered,
52
60
  normalizedName,
61
+ optionKey,
53
62
  prepareFitLayout,
63
+ requestMemo,
54
64
  resolveSizing,
55
65
  sizeRefusal,
56
66
  stackedColumnPlotPx,
57
67
  varianceTierWeights,
58
68
  withCalendarLabels
59
- } from "./chunk-AFGQXMKT.js";
69
+ } from "./chunk-ETRAPN5G.js";
60
70
  import {
61
71
  LEFT_OUT_OF_NOTE,
62
72
  PRIORITY,
63
- boundsOf,
64
73
  collectSeriesIdentities,
65
- createOccupiedIndex,
66
74
  frameTextOptions,
67
75
  identityAppearance,
68
76
  labelCtx,
@@ -76,20 +84,28 @@ import {
76
84
  solveFrame,
77
85
  solveLabels,
78
86
  stringsIn,
79
- valueNoteLine
80
- } from "./chunk-WSKZZ2ZB.js";
87
+ unprintedClaims,
88
+ valueNoteLine,
89
+ withUnprintedClaims
90
+ } from "./chunk-I5VDW2XZ.js";
81
91
  import {
82
92
  disclosureNote,
83
93
  disclosuresShown,
84
94
  slotDemandHeight
85
- } from "./chunk-WZB6R2ZX.js";
95
+ } from "./chunk-DZYTXZNS.js";
96
+ import {
97
+ withAnnotationOrigins,
98
+ withoutAnnotationOrigins
99
+ } from "./chunk-F2ET5ZTT.js";
86
100
  import {
87
101
  emptyIdRecord
88
102
  } from "./chunk-LINZPU5D.js";
103
+ import {
104
+ unitMagnitude
105
+ } from "./chunk-Z6DUNKFU.js";
89
106
  import {
90
107
  authoredStrings,
91
108
  chartStrings,
92
- currentSmallValues,
93
109
  localeStrings,
94
110
  notApplicableGlyph
95
111
  } from "./chunk-MSYTF3DZ.js";
@@ -102,9 +118,12 @@ import {
102
118
  KPI_HOST_TEXT,
103
119
  KPI_VALUE_SIZE,
104
120
  WIDE_CANVAS_MIN_WIDTH,
121
+ boundsOf,
105
122
  canvasMargin,
123
+ createOccupiedIndex,
106
124
  dashToken,
107
125
  emphasisWeight,
126
+ layoutStepKey,
108
127
  markRolePaint,
109
128
  panelTypeClass,
110
129
  resolveTheme,
@@ -114,13 +133,13 @@ import {
114
133
  themeForWidth,
115
134
  themeRegistrations,
116
135
  typeWidthClass
117
- } from "./chunk-JARJP576.js";
136
+ } from "./chunk-TX5FSNAU.js";
118
137
  import {
119
138
  requireChartCores
120
- } from "./chunk-DRHQG44U.js";
139
+ } from "./chunk-BQBD6Q5J.js";
121
140
  import {
122
141
  fmtPathNumber
123
- } from "./chunk-JYAZPMSA.js";
142
+ } from "./chunk-6IUK6PAH.js";
124
143
  import {
125
144
  DEFAULT_TARGET,
126
145
  NormalizeError,
@@ -132,16 +151,16 @@ import {
132
151
  resolveCanvasOptions,
133
152
  resolveHighlight,
134
153
  resolveSize
135
- } from "./chunk-FX5VZK5F.js";
154
+ } from "./chunk-RJICOOB3.js";
155
+ import {
156
+ defaultMeasurer,
157
+ wrapText
158
+ } from "./chunk-UIHGGWES.js";
136
159
  import {
137
160
  maxOf,
138
161
  minOf,
139
162
  pushAll
140
163
  } from "./chunk-WYJEOMNY.js";
141
- import {
142
- defaultMeasurer,
143
- wrapText
144
- } from "./chunk-UIHGGWES.js";
145
164
 
146
165
  // src/core/grid/gridKey.ts
147
166
  var GRID_KEY_ONLY = /* @__PURE__ */ Symbol("gridKeyOnly");
@@ -259,7 +278,7 @@ function gridRequiredKey(baseline, data, options, fitKeyed) {
259
278
  let names = keyed === candidate ? [] : (keyed.legend?.items ?? []).map((item) => keyName(keyed, item.labelId) || item.id);
260
279
  return hidden && keyed.warnings.push({
261
280
  code: "grid-legend-required",
262
- severity: "info",
281
+ severity: "warn",
263
282
  message: names.length > 0 ? `grid legend cannot be hidden: no direct label names ${names.join(", ")}, so the key row lists ${names.length === 1 ? "that series" : "those series"} only` : "grid legend cannot be hidden because no direct label names the colours and markers it keys"
264
283
  }), keyed;
265
284
  }
@@ -372,31 +391,7 @@ var EN = {
372
391
  }, { chartString } = chartStrings(EN, DE);
373
392
 
374
393
  // src/core/charts/grid/metricStackLayout.ts
375
- var neutral = { token: "markInk" }, muted = { token: "inkMuted" }, accent = { token: "focus" }, wash = (base, weight, pageFloor) => ({ token: "markInk", theme: { kind: "mix", from: base, to: { token: "background" }, weight, ...pageFloor === void 0 ? {} : { pageFloor } } }), NO_WIDER_SEARCH = /* @__PURE__ */ Symbol("boardplot.metricStackNoWiderSearch"), COMPACT_READOUT = /* @__PURE__ */ Symbol("boardplot.metricStackCompactReadout"), GUTTER_LIMIT = /* @__PURE__ */ Symbol("boardplot.metricStackGutterLimit");
376
- function widerThatPlaces(raw, options, size, automatic) {
377
- let draws = (width) => {
378
- try {
379
- return layoutMetricStack(raw, { ...options, size: automatic ? { width } : { width, height: size.height }, [NO_WIDER_SEARCH]: !0 }).scene.length > 0;
380
- } catch (error) {
381
- if (error instanceof NormalizeError) return !1;
382
- throw error;
383
- }
384
- }, base = Math.floor(size.width), low = base, high;
385
- for (let step = 4; step <= 512; step *= 2) {
386
- if (draws(base + step)) {
387
- high = base + step;
388
- break;
389
- }
390
- low = base + step;
391
- }
392
- if (high !== void 0) {
393
- for (; high - low > 1; ) {
394
- let mid = Math.floor((low + high) / 2);
395
- draws(mid) ? high = mid : low = mid;
396
- }
397
- return high;
398
- }
399
- }
394
+ var neutral = { token: "markInk" }, muted = { token: "inkMuted" }, accent = { token: "focus" }, wash = (base, weight, pageFloor) => ({ token: "markInk", theme: { kind: "mix", from: base, to: { token: "background" }, weight, ...pageFloor === void 0 ? {} : { pageFloor } } }), GUTTER_PROBE = /* @__PURE__ */ Symbol("boardplot.metricStackGutterProbe"), COMPACT_READOUT = /* @__PURE__ */ Symbol("boardplot.metricStackCompactReadout"), GUTTER_LIMIT = /* @__PURE__ */ Symbol("boardplot.metricStackGutterLimit");
400
395
  function printedReadout(readout, showHeadline, showSpan) {
401
396
  if (showHeadline && showSpan) return readout;
402
397
  let byId = new Map(readout.claims.map((claim) => [claim.id, claim])), kept = /* @__PURE__ */ new Set(), keep = (id) => {
@@ -462,10 +457,19 @@ function layoutMetricStack(raw, options) {
462
457
  stateNotes[state] = notes.length + 1, authored === void 0 && engineNumbers.push(notes.length + 1), notes.push(authored ?? engine());
463
458
  };
464
459
  computed.maturing.length && stateNote("maturing", data.states?.maturing?.footnote, () => chartString(options, "maturingCohortNote")), partial.size && stateNote("partial", data.states?.partial?.footnote, () => partialFootnotes(data.categories, options.strings)[0]);
465
- let marker = (value) => value === void 0 || notesOff ? "" : String(value).split("").map((c) => "\u2070\xB9\xB2\xB3\u2074\u2075\u2076\u2077\u2078\u2079"[Number(c)]).join(""), visibleValue = (p, i) => p.values[i] !== null, hasProvisional = computed.panels.some((p) => p.states.some((state, i) => state !== "mature" && visibleValue(p, i))), hasMatureLine = (p) => p.panel.type === "line" && p.states.some((state, i) => i > 0 && state === "mature" && p.states[i - 1] === "mature" && visibleValue(p, i) && visibleValue(p, i - 1)), measureIndexes = /* @__PURE__ */ new Map(), emphasizedMeasures = /* @__PURE__ */ new Set();
460
+ let marker = (value) => value === void 0 || notesOff ? "" : String(value).split("").map((c) => "\u2070\xB9\xB2\xB3\u2074\u2075\u2076\u2077\u2078\u2079"[Number(c)]).join(""), visibleValue = (p, i) => p.values[i] !== null, hasProvisional = computed.panels.some((p) => p.states.some((state, i) => state !== "mature" && visibleValue(p, i))), hasMatureLine = (p) => p.panel.type === "line" && p.states.some((state, i) => i > 0 && state === "mature" && p.states[i - 1] === "mature" && visibleValue(p, i) && visibleValue(p, i - 1)), measureIndexes = /* @__PURE__ */ new Map(), emphasizedMeasures = /* @__PURE__ */ new Set(), companions = /* @__PURE__ */ new Map();
466
461
  for (let p of computed.panels) if (p.panel.type === "column" && "sum" in p.panel.measure && p.parts.length > 1)
467
- for (let id of p.panel.measure.sum)
468
- measureIndexes.has(id) || measureIndexes.set(id, measureIndexes.size), p.panel.emphasis && emphasizedMeasures.add(id);
462
+ for (let id of p.panel.measure.sum) {
463
+ let set = companions.get(id) ?? /* @__PURE__ */ new Set();
464
+ p.panel.measure.sum.forEach((other) => {
465
+ other !== id && set.add(other);
466
+ }), companions.set(id, set), p.panel.emphasis && emphasizedMeasures.add(id);
467
+ }
468
+ for (let [id, others] of companions) {
469
+ let taken = new Set([...others].flatMap((other) => measureIndexes.has(other) ? [measureIndexes.get(other)] : [])), i = 0;
470
+ for (; taken.has(i); ) i++;
471
+ measureIndexes.set(id, i);
472
+ }
469
473
  let columnFill = seriesPaint(0, options.palette), emphasizedFill = markRolePaint("focus", !0), measurePaints = new Map([...measureIndexes].map(([id, i]) => {
470
474
  let base2 = emphasizedMeasures.has(id) ? emphasizedFill : columnFill;
471
475
  return [id, {
@@ -563,9 +567,11 @@ function layoutMetricStack(raw, options) {
563
567
  let factor = maxOf(minimumHeights.map((h, i) => h / options.rows[i]));
564
568
  heights = options.rows.map((w) => w * factor);
565
569
  }
566
- heights.forEach((h, i) => {
567
- (!Number.isFinite(h) || h < minimumHeights[i]) && spacingError(`options.stack.heights.${i}`, `Panel '${data.panels[i].id}' needs at least ${minimumHeights[i]} px for its readout and value labels`, heightFix(i, minimumHeights[i]));
568
- });
570
+ let short = heights.flatMap((h, i) => !Number.isFinite(h) || h < minimumHeights[i] ? [i] : []);
571
+ if (short.length) {
572
+ let fix = stack.heights ? short.flatMap((i) => heightFix(i, minimumHeights[i])) : void 0;
573
+ spacingError(`options.stack.heights.${short[0]}`, `${short.map((i) => `Panel '${data.panels[i].id}' needs at least ${minimumHeights[i]} px`).join(", ")} for its readout and value labels`, fix);
574
+ }
569
575
  let headRoom = heads?.reduce((sum2, head) => sum2 + head.h, 0) ?? 0, partialOnValues = computed.panels.some((p) => p.panel.type === "column" && computed.partial.some((i) => p.values[i] !== null)), partialMark = marker(stateNotes.partial), toDate = ` ${options.strings?.toDate ?? localeStrings(options.locale?.language).toDate}`, categoryName = (c) => c.label + (c.partial ? partialMark ? partialOnValues ? "" : partialMark : saysToDate(c.label, toDate.trim()) ? "" : toDate : ""), categoryBoxes = data.categories.map((c) => textBox(categoryName(c), keyFont, (thin ? 2 : 1) * step - 3)), categoryHeight = maxOf(categoryBoxes.map((b) => b.h)), periodBoxes = data.periods?.map((period) => {
570
576
  let indexes = stackRange(data, period), bold = data.windows ? [data.windows.base, data.windows.compare].some((w) => w.from === period.from && w.to === period.to) : indexes.every((i) => computed.mature.includes(i)), f = { ...keyFont, weight: bold ? 700 : keyFont.weight };
571
577
  return { ...textBox(period.label, f, indexes.length * step - 4), indexes, bold, font: f };
@@ -608,7 +614,7 @@ function layoutMetricStack(raw, options) {
608
614
  let scene = [...frame.nodes], requests = [], inks = /* @__PURE__ */ new Map(), put = (id, text, f, rect, owner, ink, role = "label", kind = "point", lines = [text], claimId, below) => {
609
615
  if (rect.w > 0 && rect.h > 0) {
610
616
  let candidates = [{ slot: "fixed", rect, penalty: 0 }, ...below === void 0 ? [] : [{ slot: "fixed", rect: { ...rect, y: below }, penalty: 1 }]];
611
- requests.push({ id, kind, owner, text, lines, font: f, typeRole: role, priority: PRIORITY.total, pad: 0, candidates, ...claimId ? { claimId } : {} }), inks.set(id, ink);
617
+ requests.push({ id, kind, owner, text, lines, font: f, typeRole: role, priority: PRIORITY.total, pad: 0, candidates, ...claimId ? { claimIds: [claimId] } : {} }), inks.set(id, ink);
612
618
  }
613
619
  }, centerText = (id, text, f, x, y2, owner, ink, role = "label", kind = "point", claimId, below) => {
614
620
  let box = measure(text, f);
@@ -702,6 +708,8 @@ function layoutMetricStack(raw, options) {
702
708
  } else
703
709
  emit({ t: "circle", id: `${p.panel.id}:point:${category.id}`, cx: x, cy: top, r: 4.5, fill: provisional ? { token: "background" } : color, ...provisional ? { stroke: muted, strokeWidth: strokeToken(theme, "mark") } : {}, owner: cellOwner, part: provisional ? "provisionalPoint" : "point" }, ci), occupied.claim({ x: x - 4.5, y: top - 4.5, w: 9, h: 9 }, "mark", cellOwner, "point");
704
710
  valued(ci) && centerText(`${p.panel.id}:value:${category.id}`, labelText, valueFont, x, top - labelGap - heightOf(valueFont), cellOwner, provisional ? muted : { token: "ink" }, "label", "point", void 0, p.panel.type === "line" && top + labelGap + heightOf(valueFont) < baseline - 2 ? top + labelGap : void 0);
711
+ let valueRequest = requests.at(-1);
712
+ p.panel.type === "line" && valueRequest?.id === `${p.panel.id}:value:${category.id}` && (valueRequest.priority = ci === latest ? PRIORITY.endpoint : PRIORITY.interior);
705
713
  }), emit({ t: "line", id: `${p.panel.id}:baseline`, x1: plotX, x2: plotX + plotW, y1: baseline, y2: baseline, stroke: { token: "axis" }, width: strokeToken(theme, "rule"), owner, part: "baseline" }), occupied.claim({ x: plotX, y: baseline - 0.5, w: plotW, h: 1 }, "axis", owner, "baseline");
706
714
  });
707
715
  let axisY = plots.at(-1).y + plots.at(-1).h + 8;
@@ -717,33 +725,28 @@ function layoutMetricStack(raw, options) {
717
725
  put(`stack:period:${i}`, period.label, f, { x: x + 2, y: y2 + 4, w: box.w, h: box.h }, { categoryId: period.from }, bold ? { token: "ink" } : muted, "secondary", "category", box.lines), scene.push({ t: "line", id: `stack:period:rule:${i}`, x1: x + 1.5, x2: x + indexes.length * step - 1.5, y1: y2, y2, stroke: bold ? { token: "ink" } : { token: "grid" }, width: strokeToken(theme, bold ? "data" : "rule"), owner: {}, part: "periodRule" });
718
726
  });
719
727
  for (let request of requests) yielding.has(request.id) && (request.priority = PRIORITY.interior);
720
- let solved = solveLabels(requests, occupied, { density: "full", pins: options.labelPlacements ?? {}, measure, plot: frame.plot, canvas: { x: 0, y: 0, w: size.width, h: size.height }, darkInk: theme.color.ink, lightInk: theme.color.inkInverse, labelPad: 0 }), fonts = new Map(requests.map((request) => [request.id, request.font]));
728
+ let solved = solveLabels(requests, occupied, { focus: options.focus, density: options.labelDensity ?? "full", pins: options.labelPlacements ?? {}, labelOffsets: options.labelOffsets, measure, plot: frame.plot, canvas: { x: 0, y: 0, w: size.width, h: size.height }, darkInk: theme.color.ink, lightInk: theme.color.inkInverse, labelPad: 0 }), fonts = new Map(requests.map((request) => [request.id, request.font]));
721
729
  for (let label of solved.placed)
722
730
  label.ink = inks.get(label.id) ?? label.ink, label.font = fonts.get(label.id);
723
- let hidden = solved.placed.filter((l) => l.hidden && !yielding.has(l.id));
724
- if (hidden.length) {
725
- if (gutter > defaultGutter && !options[NO_WIDER_SEARCH]) {
726
- let places = (width2) => {
727
- try {
728
- return layoutMetricStack(raw, { ...options, [GUTTER_LIMIT]: width2, [NO_WIDER_SEARCH]: !0 }).scene.length > 0;
729
- } catch (error) {
730
- if (error instanceof NormalizeError) return !1;
731
- throw error;
732
- }
733
- }, low = defaultGutter, high = gutter;
734
- for (; high - low > 1; ) {
735
- let mid = Math.floor((low + high) / 2);
736
- places(mid) ? low = mid : high = mid;
731
+ let hidden = solved.placed.filter((l) => (l.hidden === "collision" || l.hidden === "tooSmall") && !yielding.has(l.id)), probe = options[GUTTER_PROBE] === !0;
732
+ if (hidden.length && probe && spacingError("options.size", `Metric stack cannot place ${hidden.map((l) => `'${l.text}'`).join(", ")} at ${size.width} \xD7 ${size.height} px`), hidden.length && gutter > defaultGutter) {
733
+ let places = (width) => {
734
+ try {
735
+ return layoutMetricStack(raw, { ...options, [GUTTER_LIMIT]: width, [GUTTER_PROBE]: !0 }).scene.length > 0;
736
+ } catch (error) {
737
+ if (error instanceof NormalizeError) return !1;
738
+ throw error;
737
739
  }
738
- return layoutMetricStack(raw, { ...options, [GUTTER_LIMIT]: low });
740
+ }, low = defaultGutter, high = gutter;
741
+ for (; high - low > 1; ) {
742
+ let mid = Math.floor((low + high) / 2);
743
+ places(mid) ? low = mid : high = mid;
739
744
  }
740
- let width = options[NO_WIDER_SEARCH] ? void 0 : widerThatPlaces(raw, options, size, automatic);
741
- if (width !== void 0) return needsWidth(width);
742
- spacingError("options.size", `Metric stack cannot place ${hidden.map((l) => `'${l.text}'`).join(", ")} at ${size.width} \xD7 ${size.height} px`);
745
+ return layoutMetricStack(raw, { ...options, [GUTTER_LIMIT]: low });
743
746
  }
744
747
  pushAll(scene, labelsToNodes(theme, solved.placed, () => valueFont));
745
- let counts = [structureCount("panels", data.panels.length, void 0, options), structureCount("categories", data.categories.length, void 0, options), structureCount("series", data.measures.length, chartString(options, "sourceMeasures", { v1: data.measures.length }))];
746
- return {
748
+ let counts = [structureCount("panels", data.panels.length, void 0, options), structureCount("categories", data.categories.length, void 0, options), structureCount("series", data.measures.length, chartString(options, "sourceMeasures", { v1: data.measures.length }))], requested = new Set(requests.flatMap((request) => request.claimIds ?? [])), unprinted = derived.readouts.flatMap((readout) => readout.claims.filter((claim) => !requested.has(claim.id)).map((claim) => claim.id));
749
+ return withUnprintedClaims({
747
750
  type: "grid",
748
751
  size,
749
752
  plot: frame.plot,
@@ -759,7 +762,7 @@ function layoutMetricStack(raw, options) {
759
762
  a11y: { title: accessibleTitle(options.title, chartString(options, "metricStackTitle", { v1: data.panels.length })), counts, desc: chartString(options, "metricStackDesc", { v1: counts.map((c) => c.text).join(", "), v2: data.panels.map((p) => p.title).join("; "), v3: hasMethod ? computed.panels.map((p) => `${p.panel.title}: ${[...showHeadline ? [p.readout.headlineText] : [], ...showSpan ? [p.readout.spanText] : []].join("; ")}.`).join(" ") : "" }) },
760
763
  warnings: [...solved.warnings, ...stackColumnWarnings(stack, narrow, gutterFloored, gutterCapped)],
761
764
  debug: { occupied: occupied.snapshot(), decisions: solved.decisions }
762
- };
765
+ }, unprinted);
763
766
  }
764
767
 
765
768
  // src/core/strings/layoutGrid.ts
@@ -791,7 +794,34 @@ function smallestKpiValueSize(children) {
791
794
  let figures = (child) => child.scene.filter((node) => (child.type === "kpi" ? node.id === "label:total:value" : node.id.startsWith("label:total:")) && node.t === "text"), sizes = children.filter((child) => hasKpiFigure(child.type)).map((child) => ({ type: child.type, nodes: figures(child) })).filter(({ type, nodes }) => type !== "waffle" || nodes.length <= 1).flatMap(({ nodes }) => nodes.map((node) => node.t === "text" ? node.font.size : 1 / 0));
792
795
  return sizes.length > 1 && maxOf(sizes) > minOf(sizes) ? minOf(sizes) : void 0;
793
796
  }
794
- function layoutChildChart(data, options, layout) {
797
+ var namesUnit = (value) => Array.isArray(value) ? value.some(namesUnit) : typeof value == "object" && value !== null && Object.entries(value).some(([key, entry]) => key === "unit" ? typeof entry == "string" : namesUnit(entry));
798
+ function inheritedScaleUnit(panelOptions, panelData, gridUnit) {
799
+ return panelOptions.unit === void 0 && !namesUnit(panelData) && unitMagnitude(gridUnit) !== void 0 ? { unit: gridUnit, unitShown: !0 } : {};
800
+ }
801
+ var refusedPanels = /* @__PURE__ */ new WeakMap();
802
+ function takeRefusedPanel(error) {
803
+ let panel = refusedPanels.get(error);
804
+ return refusedPanels.delete(error), panel;
805
+ }
806
+ function panelAnnotations(panel) {
807
+ if (panel.annotations) return { annotations: withAnnotationOrigins(panel.annotations, ["annotations"]) };
808
+ let own = panel.options?.annotations;
809
+ return Array.isArray(own) ? { annotations: withAnnotationOrigins(own, ["options", "annotations"]) } : {};
810
+ }
811
+ function recordedPanelOptions(options) {
812
+ let { measure: _measure, ...rest } = options;
813
+ return withoutAnnotationOrigins(rest);
814
+ }
815
+ var laidOutPanels = /* @__PURE__ */ new WeakMap(), panelInput = (geometry) => laidOutPanels.get(geometry);
816
+ function layoutChildChart(data, options, layout, panelId) {
817
+ try {
818
+ let geometry = childLayout(data, options, layout);
819
+ return geometry.warnings.some((warning) => warning.field || warning.fix) && laidOutPanels.set(geometry, { data, options }), geometry;
820
+ } catch (error) {
821
+ throw error instanceof NormalizeError && !refusedPanels.has(error) && refusedPanels.set(error, { panelId, data, options }), error;
822
+ }
823
+ }
824
+ function childLayout(data, options, layout) {
795
825
  let geometry = layout(data, options);
796
826
  if (geometry.refused) return geometry;
797
827
  if (geometry.sizing?.fit === "content") {
@@ -871,10 +901,6 @@ var GridChildRefusal = class extends Error {
871
901
  };
872
902
 
873
903
  // src/core/grid/layoutGrid.ts
874
- function serializableOptions(options) {
875
- let { measure: _measure, ...rest } = options;
876
- return rest;
877
- }
878
904
  var TIER_WEIGHT_FIRST = 2.2, TIER_SLACK_PASSES = 32, TIER_SLACK_BACKOFFS = 8, TIER_PLOT_FLOOR = 10.5, DROPPED_VALUE_WARNINGS = /* @__PURE__ */ new Set(["label-hidden", "values-in-note", "value-labels-dropped-series"]);
879
905
  function sharedYGroup(panels) {
880
906
  let group = null;
@@ -902,14 +928,17 @@ function measuredCaption(text, font, width, measure) {
902
928
  };
903
929
  }
904
930
  function sharedCategoryLabelOwner(panels) {
905
- return panels.findIndex((panel) => {
931
+ let labelled = (panel) => {
906
932
  let options = isRecord(panel.options) ? panel.options : {};
907
933
  return options.labels === !1 ? !1 : !isRecord(options.labels) || options.labels.category !== !1;
908
- });
934
+ }, column = varianceTierWeights(panels) ? panels.findIndex((panel) => panel.type === "column" && labelled(panel)) : -1;
935
+ return column >= 0 ? column : panels.findIndex(labelled);
909
936
  }
910
- function bottomUpTierOrder(panels) {
911
- let owner = sharedCategoryLabelOwner(panels), indexes = panels.map((_, index) => index);
912
- return owner < 0 ? indexes : [owner, ...indexes.filter((index) => index !== owner)];
937
+ function bottomUpTierOrder(panels, position = "above") {
938
+ let owner = sharedCategoryLabelOwner(panels), indexes = panels.map((_, index) => index), anchor = owner >= 0 ? owner : position === "below" ? panels.findIndex((panel) => panel.type === "column") : -1;
939
+ if (anchor < 0) return indexes;
940
+ let others = indexes.filter((index) => index !== anchor);
941
+ return position === "below" ? [...others.reverse(), anchor] : [anchor, ...others];
913
942
  }
914
943
  function gridShare(panels, share) {
915
944
  return share ?? (varianceTierWeights(panels) ? "category" : "none");
@@ -981,7 +1010,7 @@ function layoutGridPass(data, options = {}) {
981
1010
  measure
982
1011
  },
983
1012
  occupied
984
- ), area = frameResult.plot, n = data.panels.length, categoryOwner = compactTiers ? sharedCategoryLabelOwner(data.panels) : -1, bottomUpOrder = bottomUpTierOrder(data.panels), columns = share === "category" ? 1 : Math.max(1, options.columns ?? 1), rows = Math.ceil(n / columns), facetGaps = options[FACET_GAPS], gap = columns === 1 ? theme.space.tierGap : facetGaps?.column ?? theme.space.facetGap, rowGap = columns === 1 ? gap : facetGaps?.row ?? gap, slots = [];
1013
+ ), area = frameResult.plot, n = data.panels.length, categoryOwner = compactTiers ? sharedCategoryLabelOwner(data.panels) : -1, bottomUpOrder = bottomUpTierOrder(data.panels, options.variancePosition), columns = share === "category" ? 1 : Math.max(1, options.columns ?? 1), rows = Math.ceil(n / columns), facetGaps = options[FACET_GAPS], gap = columns === 1 ? theme.space.tierGap : facetGaps?.column ?? theme.space.facetGap, rowGap = columns === 1 ? gap : facetGaps?.row ?? gap, slots = [];
985
1014
  if (share === "category") {
986
1015
  let gap2 = theme.space.tierGap, weights = tierWeights(data.panels), wSum = weights.reduce((a, b) => a + b, 0), usable = area.h - gap2 * (n - 1), y = area.y + area.h;
987
1016
  for (let i of bottomUpOrder) {
@@ -1021,9 +1050,10 @@ function layoutGridPass(data, options = {}) {
1021
1050
  // The value is the panel count, so a tier knows whether it is the only one (isSingleVarianceTier).
1022
1051
  ...varianceTiers && def.type === "variance" ? { [VARIANCE_TIER]: data.panels.length } : {},
1023
1052
  ...compactTiers ? { ...suppressTitle ? { title: "" } : {}, ...labels !== void 0 ? { labels } : {} } : {},
1024
- ...panel.annotations ? { annotations: panel.annotations } : {},
1053
+ ...panelAnnotations(panel),
1025
1054
  ...legendInput && def.type === "column" ? { [/* @__PURE__ */ Symbol.for("boardplot.panelKeyed")]: !0 } : {},
1026
1055
  ...uniformLineEndpointLegend && def.type === "line" ? { gridEndpointIdentity: "legend" } : {},
1056
+ ...inheritedScaleUnit(panelOpts, panel.data, options.unit),
1027
1057
  target: options.target,
1028
1058
  theme: panelOpts.theme ?? options.theme,
1029
1059
  locale: panelOpts.locale ?? options.locale,
@@ -1033,21 +1063,21 @@ function layoutGridPass(data, options = {}) {
1033
1063
  ...marginLR ? { margin: { ...panelOpts.margin, ...marginLR } } : {},
1034
1064
  measure,
1035
1065
  typeClass: panelTypeClass(options) ?? typeWidthClass(resolveSize(options.size).width)
1036
- }, probe = layoutChildChart(panel.data, opts, def.layout);
1066
+ }, probe = layoutChildChart(panel.data, opts, def.layout, panel.id);
1037
1067
  if (probe.refused) throw new GridChildRefusal(panel.id, probe);
1038
- let autoTierName = probe.derived.tierName, tierCaption = compactTiers && panelOpts.title !== !1 ? authoredTitle ?? (typeof autoTierName == "string" ? autoTierName : void 0) : void 0, tierFont = { family: theme.type.family, ...theme.type.axis }, tierReserve = compactTiers ? (tierCaption ? measuredCaption(tierCaption, tierFont, slot.w, measure).height : 0) + (tierCaption && tierDetail ? theme.space.labelPad : 0) + (tierDetail ? measuredCaption(tierDetail, tierFont, slot.w, measure).height : 0) + (tierCaption || tierDetail ? theme.space.labelPad : 0) : 0, childMargin = isRecord(opts.margin) ? opts.margin : {}, marginTop = typeof childMargin.top == "number" ? childMargin.top : 20, finalOptions = tierReserve > 0 ? { ...opts, margin: { ...childMargin, top: Math.max(marginTop, tierReserve) } } : opts, geo = tierReserve > marginTop ? layoutChildChart(panel.data, finalOptions, def.layout) : probe;
1068
+ let autoTierName = probe.derived.tierName, tierCaption = compactTiers && panelOpts.title !== !1 ? authoredTitle ?? (typeof autoTierName == "string" ? autoTierName : void 0) : void 0, tierFont = { family: theme.type.family, ...theme.type.axis }, tierReserve = compactTiers ? (tierCaption ? measuredCaption(tierCaption, tierFont, slot.w, measure).height : 0) + (tierCaption && tierDetail ? theme.space.labelPad : 0) + (tierDetail ? measuredCaption(tierDetail, tierFont, slot.w, measure).height : 0) + (tierCaption || tierDetail ? theme.space.labelPad : 0) : 0, childMargin = isRecord(opts.margin) ? opts.margin : {}, marginTop = typeof childMargin.top == "number" ? childMargin.top : 20, finalOptions = tierReserve > 0 ? { ...opts, margin: { ...childMargin, top: Math.max(marginTop, tierReserve) } } : opts, geo = tierReserve > marginTop ? layoutChildChart(panel.data, finalOptions, def.layout, panel.id) : probe;
1039
1069
  if (geo.refused) throw new GridChildRefusal(panel.id, geo);
1040
1070
  if (options.target && tierReserve > 0)
1041
1071
  for (let pass = 0; pass < 3; pass++) {
1042
1072
  let missing = Math.ceil(tierReserve - occupiedBounds(geo, measure).y);
1043
1073
  if (missing <= 0) break;
1044
1074
  let margin2 = finalOptions.margin;
1045
- if (finalOptions = { ...finalOptions, margin: { ...margin2, top: (margin2?.top ?? marginTop) + missing } }, geo = layoutChildChart(panel.data, finalOptions, def.layout), geo.refused) throw new GridChildRefusal(panel.id, geo);
1075
+ if (finalOptions = { ...finalOptions, margin: { ...margin2, top: (margin2?.top ?? marginTop) + missing } }, geo = layoutChildChart(panel.data, finalOptions, def.layout, panel.id), geo.refused) throw new GridChildRefusal(panel.id, geo);
1046
1076
  }
1047
1077
  return {
1048
1078
  def,
1049
1079
  geo,
1050
- recordOptions: serializableOptions(finalOptions),
1080
+ recordOptions: recordedPanelOptions(finalOptions),
1051
1081
  tierCaption,
1052
1082
  ...tierDetail ? { tierDetail } : {}
1053
1083
  };
@@ -1257,7 +1287,7 @@ function layoutGridPass(data, options = {}) {
1257
1287
  ...noteText === void 0 ? {} : { noteText },
1258
1288
  ...noteTexts.leftOut.has(label.id) ? { [LEFT_OUT_OF_NOTE]: !0 } : {},
1259
1289
  id: prefix + label.id,
1260
- ...label.claimId ? { claimId: prefix + label.claimId } : {},
1290
+ ...label.claimIds ? { claimIds: label.claimIds.map((id) => prefix + id) } : {},
1261
1291
  nodeId: label.nodeId ? prefix + label.nodeId : void 0,
1262
1292
  rect: { ...label.rect, x: label.rect.x + dx, y: label.rect.y + dy },
1263
1293
  backing: label.backing ? { ...label.backing, x: label.backing.x + dx, y: label.backing.y + dy } : void 0
@@ -1297,13 +1327,13 @@ function layoutGridPass(data, options = {}) {
1297
1327
  decisions.push({ ...d, labelId: prefix + d.labelId });
1298
1328
  let warningOffset = warnings.length;
1299
1329
  for (let w of geo.warnings)
1300
- warnings.push({ ...w, message: `[${panel.id}] ${w.message}` });
1330
+ warnings.push({ ...w, message: `[${panel.id}] ${w.message}`, detail: { ...w.detail, panelId: panel.id } });
1301
1331
  let tier = tierLabels[i], titleNodeId, captionNodeId;
1302
1332
  for (let label of tier?.solved.placed ?? []) {
1303
1333
  let moved = {
1304
1334
  ...label,
1305
1335
  id: prefix + label.id,
1306
- ...label.claimId ? { claimId: prefix + label.claimId } : {},
1336
+ ...label.claimIds ? { claimIds: label.claimIds.map((id) => prefix + id) } : {},
1307
1337
  rect: { ...label.rect, x: label.rect.x + dx, y: label.rect.y + dy }
1308
1338
  };
1309
1339
  if (label.hidden) {
@@ -1454,24 +1484,75 @@ function normalizeGridWithTheme(data, options) {
1454
1484
  return normalizeGridData(data, { palette: options.palette, themeFacts });
1455
1485
  }
1456
1486
  function layoutGrid2(data, options = {}) {
1457
- options = resolveCanvasOptions(options), assertTrackLimits(options);
1458
- let metricStack = isMetricStackData(data), formatWarnings = options.format === void 0 ? [] : [{
1459
- code: "format-unused",
1460
- severity: "warn",
1461
- field: ["options", "format"],
1462
- message: "Grid-level options.format is ignored",
1463
- suggest: metricStack ? "Set decimals and divisor on each metric stack panel; remove the grid-level format." : "Set format on each numeric panel in data.panels[].options.format; remove the grid-level format.",
1464
- fix: [{ op: "remove", path: "/options/format" }]
1465
- }];
1466
- if (metricStack)
1467
- return requireChartCores(data.panels.map((panel) => panel.type), (type) => getChart(type) !== void 0), withWarnings(layoutMetricStack(data, options), formatWarnings);
1487
+ try {
1488
+ return layoutGridOnce(data, options);
1489
+ } catch (error) {
1490
+ throw error instanceof NormalizeError && authoredPanelRefusal(error, data, options), error;
1491
+ }
1492
+ }
1493
+ var GRID_HANDED_DOWN = /* @__PURE__ */ new Set(["palette", "colorblindSafe", "theme", "unit", "hatchStrength"]);
1494
+ function authoredPanelRebase(child, data, options) {
1495
+ let grid = data, panels = Object.hasOwn(grid, "panels") && grid.repeated !== !0 && Array.isArray(grid.panels) ? grid.panels : [], matches = panels.filter((panel2) => panel2.id === child.panelId), panel = matches.length === 1 ? matches[0] : void 0, at = ["data", "panels", panels.indexOf(panel)], childOptions = child.options;
1496
+ return (segments) => {
1497
+ if (!panel) return;
1498
+ let [head, ...rest] = segments;
1499
+ if (head === "data") return sameField(child.data, panel.data, rest) ? [...at, ...segments] : void 0;
1500
+ if (head === "annotations" || head === "options" && rest[0] === "annotations") {
1501
+ let own = head === "annotations", list = own ? panel.annotations : panel.options?.annotations, field = own ? rest : rest.slice(1);
1502
+ return own === Object.hasOwn(panel, "annotations") && sameField(childOptions.annotations, list, field) ? [...at, ...segments] : void 0;
1503
+ }
1504
+ let path = head === "options" ? rest : void 0;
1505
+ if (!(!path || path[0] === "size"))
1506
+ return sameField(childOptions, panel.options, path) ? [...at, "options", ...path] : GRID_HANDED_DOWN.has(path[0]) && sameField(childOptions, options, path) ? ["options", ...path] : void 0;
1507
+ };
1508
+ }
1509
+ function authoredPanelRefusal(error, data, options) {
1510
+ let child = takeRefusedPanel(error);
1511
+ child && (rebaseRefusal(error, authoredPanelRebase(child, data, options)), error.path = `panels[${child.panelId}]${error.path ? `.${error.path}` : ""}`);
1512
+ }
1513
+ function panelSizeNeed(fix) {
1514
+ for (let operation of fix ?? []) {
1515
+ if (operation.op !== "replace" && operation.op !== "add") continue;
1516
+ let value = operation.value, size = operation.path === "/options/size" ? value : operation.path === "/options/size/width" ? { width: value } : operation.path === "/options/size/height" ? { height: value } : void 0, width = typeof size?.width == "number" ? size.width : void 0, height = typeof size?.height == "number" ? size.height : void 0;
1517
+ if (width !== void 0 && height !== void 0) return `${width} \xD7 ${height} px`;
1518
+ if (width !== void 0) return `a width of ${width} px`;
1519
+ if (height !== void 0) return `a height of ${height} px`;
1520
+ }
1521
+ }
1522
+ function authoredPanelWarnings(geometry, data, options) {
1523
+ if (geometry.refused || !geometry.warnings.some((warning) => warning.detail?.panelId !== void 0 && (warning.field || warning.fix))) return geometry;
1524
+ let spans = /* @__PURE__ */ new Map();
1525
+ for (let panel of geometry.marks.panels) {
1526
+ let chart = panel.chart;
1527
+ if (chart?.warningOffset === void 0) continue;
1528
+ let input = panelInput(chart.geometry), rebase = input ? authoredPanelRebase({ panelId: panel.id, ...input }, data, options) : () => {
1529
+ };
1530
+ for (let index = 0; index < chart.geometry.warnings.length; index++) spans.set(chart.warningOffset + index, rebase);
1531
+ }
1532
+ return { ...geometry, warnings: geometry.warnings.map((warning, index) => {
1533
+ let panelId = warning.detail?.panelId;
1534
+ if (panelId === void 0 || !warning.field && !warning.fix) return warning;
1535
+ let moved = rebaseWarning(warning, spans.get(index) ?? (() => {
1536
+ }));
1537
+ if (moved.fix && geometry.marks.panels.length > 1 && !moved.fix.every((operation) => operation.path.startsWith("/data/panels/"))) {
1538
+ let { fix: _dropped, ...rest } = moved;
1539
+ moved = rest;
1540
+ }
1541
+ let need = moved.fix ? void 0 : panelSizeNeed(warning.fix);
1542
+ return need ? { ...moved, suggest: `Panel ${String(panelId)} needs ${need}. Give the grid more room.` } : moved;
1543
+ }) };
1544
+ }
1545
+ function layoutGridOnce(data, options) {
1546
+ let authoredOptions = options;
1547
+ if (options = resolveCanvasOptions(options), assertTrackLimits(options), isMetricStackData(data))
1548
+ return requireChartCores(data.panels.map((panel) => panel.type), (type) => getChart(type) !== void 0), layoutMetricStack(data, options);
1468
1549
  options.stack && stackError("data", "Metric stack mode needs shared categories and measures");
1469
1550
  let normalized = normalizeGridWithTheme(data, options);
1470
1551
  requireChartCores(normalized.panels.map((panel) => panel.type), (type) => getChart(type) !== void 0), assertTrackLimits(options, normalized.panels), normalized.panels = normalized.panels.map((panel) => panel.options ? { ...panel, options: resolveCanvasOptions(panel.options) } : panel);
1471
1552
  let authored = usesAuthoredLayout(normalized.panels, options);
1472
1553
  authored && normalized.rowCaption && (normalized.panels = normalized.panels.map((panel) => ({ ...panel, caption: panel.caption ?? normalized.rowCaption })), delete normalized.rowCaption), options = { ...options, sharedAxis: gridShare(normalized.panels, options.sharedAxis) };
1473
1554
  let ordered = orderPanels(normalized.panels, options, authored);
1474
- if (pushAll(ordered.warnings, formatWarnings), options.sharedScale === !0) {
1555
+ if (options.sharedScale === !0) {
1475
1556
  let charts = ordered.panels.filter((panel) => panel.type !== "text" && panel.type !== "legend"), semantics = charts.map(panelScaleSemantics), first = semantics[0], matching = first != null && semantics.every((candidate) => candidate !== null && candidate.unit === first.unit && candidate.format === first.format);
1476
1557
  if (charts.length > 1 && !matching)
1477
1558
  throw new NormalizeError(
@@ -1481,24 +1562,49 @@ function layoutGrid2(data, options = {}) {
1481
1562
  "drop sharedScale, set sharedScale:false, or give every panel the same unit and format"
1482
1563
  );
1483
1564
  }
1484
- let legacy = (at) => layoutLegacyGrid({ ...normalized, panels: ordered.panels }, at), legacyGrid = (at) => withSliverRoom(withOnePanelContent(withTierPlot(legacy(at), ordered.panels, at), legacy, ordered.panels, at), legacy, at, data), geometry = withWarnings(authored ? layoutAuthoredGrid(ordered.panels, options, normalized.repeatFacet === !0) : legacyGrid(reflowed(legacyGrid, ordered.panels, options, data)), ordered.warnings);
1485
- return !geometry.refused && heightOmitted(options.size) && geometry.sizing?.fit === "content" && Math.abs(geometry.size.height - geometry.sizing.naturalHeight) > 1 ? layoutGrid2(data, { ...options, size: { width: geometry.size.width, height: geometry.sizing.naturalHeight } }) : withCardFloor(geometry, ordered.panels.map((panel) => panel.type), options);
1565
+ let legacy = (at) => layoutLegacyGrid({ ...normalized, panels: ordered.panels }, at), legacyGrid = (at) => withNoteRoom(withSliverRoom(withOnePanelContent(withTierPlot(legacy(at), ordered.panels, at), legacy, ordered.panels, at), legacy, at, data), legacy, ordered.panels, at), geometry = withWarnings(authored ? layoutAuthoredGrid(ordered.panels, options, normalized.repeatFacet === !0) : legacyGrid(reflowed(legacyGrid, ordered.panels, options, data)), ordered.warnings);
1566
+ if (!geometry.refused && heightOmitted(options.size) && geometry.sizing?.fit === "content" && Math.abs(geometry.size.height - geometry.sizing.naturalHeight) > 1)
1567
+ return layoutGrid2(data, { ...options, size: { width: geometry.size.width, height: geometry.sizing.naturalHeight } });
1568
+ let floored = withCardFloor(authoredPanelWarnings(geometry, data, authoredOptions), ordered.panels.map((panel) => panel.type), options);
1569
+ return floored.refused ? floored : withUnprintedClaims(floored, floored.marks.panels.flatMap((panel) => panel.chart ? unprintedClaims(panel.chart.geometry).map((id) => `${panel.id}/${id}`) : []));
1570
+ }
1571
+ function withNoteRoom(geometry, relayout, panels, options) {
1572
+ let sizing = geometry.sizing, open = options[TARGET_SIZE]?.fixed.height === !1, authored = panels.some((panel) => [...panel.annotations ?? [], ...panel.options?.annotations ?? []].some((annotation) => ["callout", "note"].includes(annotation.kind ?? "")));
1573
+ if (!open || !authored || !sizing || geometry.refused) return geometry;
1574
+ let hidden = (layout) => layout.refused ? [] : layout.labels.filter((label) => label.hidden === "collision" && label.id.includes("/annotation:")), at = (height2) => relayout({ ...options, size: { ...resolveSize(options.size), width: geometry.size.width, height: height2 } }), notes = hidden(geometry), content = (naturalHeight) => ({ ...geometry, sizing: { ...sizing, fit: "content", naturalHeight } });
1575
+ if (notes.length === 0) {
1576
+ if (heightOmitted(options.size) || geometry.size.height <= sizing.naturalHeight + 1) return geometry;
1577
+ let natural = at(sizing.naturalHeight), settles = natural.refused ? void 0 : natural.sizing?.naturalHeight;
1578
+ return hidden(natural).length > 0 || settles !== void 0 && Math.abs(settles - sizing.naturalHeight) > 1 && settles < geometry.size.height && hidden(at(settles)).length > 0 ? content(geometry.size.height) : geometry;
1579
+ }
1580
+ if (geometry.size.height < sizing.naturalHeight - 1) return geometry;
1581
+ let plots = geometry.marks.panels.map((panel) => panel.chart?.geometry.plot.h ?? 0), total = plots.reduce((sum2, plot) => sum2 + plot, 0), need = Math.max(...notes.map((label) => {
1582
+ let plot = plots[panels.findIndex((panel) => label.id.startsWith(`${panel.id}/`))] ?? 0;
1583
+ return plot > 0 ? (2 * label.rect.h + 8) * total / plot : 0;
1584
+ }));
1585
+ if (!(need > 0)) return geometry;
1586
+ let height = Math.ceil(Math.max(geometry.size.height, sizing.naturalHeight) + need), probe = at(height);
1587
+ return probe.refused || hidden(probe).length > 0 ? geometry : content(height);
1486
1588
  }
1487
1589
  var seats = (geometry, height) => !geometry.refused && (geometry.sizing?.minHeight ?? 0) <= height, strideLosses = (geometry) => geometry.refused ? Number.POSITIVE_INFINITY : geometry.warnings.filter((warning) => warning.code === "category-stride").length;
1488
1590
  function reflowed(relayout, panels, options, data) {
1489
1591
  let columns = options.columns, width = resolveSize(options.size).width;
1490
- if (options.reflow === !1 || typeof columns != "number" || columns < 3 || panels.length <= columns || width >= CARD_CLASS_WIDTH || legacyGridForm(panels, options) !== "facets") return options;
1592
+ if (options.reflow === !1 || typeof columns != "number" || columns < 3 || panels.length <= columns || !cardForm(width, options) || legacyGridForm(panels, options) !== "facets") return options;
1491
1593
  let height = options[TARGET_SIZE]?.fixed.height ?? !heightOmitted(options.size) ? resolveSize(options.size).height : void 0, choose = () => {
1492
1594
  let open = (count) => strideLosses(relayout({ ...options, columns: count, size: { width } }));
1493
1595
  if (open(columns) === 0) return columns;
1494
1596
  for (let fewer = columns - 1; fewer >= 2; fewer--)
1495
1597
  if (open(fewer) === 0 && (height === void 0 || seats(relayout({ ...options, columns: fewer }), height))) return fewer;
1496
1598
  return columns;
1497
- }, { size: _size, measure, ...rest } = options, key = `${width}:${height ?? "auto"}:${currentSmallValues()}:${themeRegistrations()}:${JSON.stringify(rest)}:${JSON.stringify(data)}`, cache = REFLOW_CACHE.get(measure ?? DEFAULT_MEASURER);
1599
+ }, { measure } = options, key = `${width}:${height ?? "auto"}:${layoutCacheKey(options)}:${JSON.stringify(data)}`, cache = REFLOW_CACHE.get(measure ?? DEFAULT_MEASURER);
1498
1600
  cache || REFLOW_CACHE.set(measure ?? DEFAULT_MEASURER, cache = /* @__PURE__ */ new Map()), cache.has(key) || (cache.size >= REFLOW_CACHE_SIZE && cache.delete(cache.keys().next().value), cache.set(key, choose()));
1499
1601
  let chosen = cache.get(key);
1500
1602
  return chosen === columns ? options : { ...options, columns: chosen };
1501
1603
  }
1604
+ function layoutCacheKey(options) {
1605
+ let { size: _size, measure: _measure, [CARD_HEIGHT_MEMO]: _card, [LAYOUT_CALL]: _call, ...rest } = options;
1606
+ return `${layoutStepKey()}:${themeRegistrations()}:${optionKey(rest)}`;
1607
+ }
1502
1608
  var REFLOW_CACHE = /* @__PURE__ */ new WeakMap(), DEFAULT_MEASURER = {}, REFLOW_CACHE_SIZE = 64, SLIVER_HIDDEN = "sliver-labels-hidden";
1503
1609
  function sliversHidden(probe) {
1504
1610
  return probe.warnings.some((warning) => warning.code === SLIVER_HIDDEN) || (probe.labels ?? []).some((label) => label[DIGIT_SEAT] !== void 0);
@@ -1507,7 +1613,7 @@ var SLIVER_ROOM_STEP = 4, SLIVER_ROOM_MAX = 1.3;
1507
1613
  function withSliverRoom(geometry, relayout, options, data) {
1508
1614
  let sizing = geometry.sizing, hides = sliversHidden;
1509
1615
  if (!sizing || sizing.fit === "content" || geometry.refused || !hides(geometry) || (options.sharedAxis === "category" || options.sharedAxis === void 0 ? 1 : Math.max(1, Number(options.columns ?? 1))) > 1 || geometry.marks.panels.filter((panel) => panel.chart).length !== 1) return geometry;
1510
- let { width, height } = geometry.size, at = (h) => relayout({ ...options, size: { ...resolveSize(options.size), width, height: h } }), start = Math.max(height, sizing.naturalHeight), withNatural = (found) => found === void 0 ? geometry : { ...geometry, sizing: { ...sizing, naturalHeight: found } }, { size: _size, measure, ...rest } = options, key = `${width}:${start}:${currentSmallValues()}:${themeRegistrations()}:${JSON.stringify(rest)}:${JSON.stringify(data)}`, cache = SLIVER_ROOM_CACHE.get(measure ?? DEFAULT_MEASURER);
1616
+ let { width, height } = geometry.size, at = (h) => relayout({ ...options, size: { ...resolveSize(options.size), width, height: h } }), start = Math.max(height, sizing.naturalHeight), withNatural = (found) => found === void 0 ? geometry : { ...geometry, sizing: { ...sizing, naturalHeight: found } }, { measure } = options, key = `${width}:${start}:${layoutCacheKey(options)}:${JSON.stringify(data)}`, cache = SLIVER_ROOM_CACHE.get(measure ?? DEFAULT_MEASURER);
1511
1617
  return cache || SLIVER_ROOM_CACHE.set(measure ?? DEFAULT_MEASURER, cache = /* @__PURE__ */ new Map()), cache.has(key) || (cache.size >= SLIVER_ROOM_CACHE_SIZE && cache.delete(cache.keys().next().value), cache.set(key, sliverRoomHeight(start, height, at, hides))), withNatural(cache.get(key));
1512
1618
  }
1513
1619
  var SLIVER_ROOM_CACHE = /* @__PURE__ */ new WeakMap(), SLIVER_ROOM_CACHE_SIZE = 64;
@@ -1529,15 +1635,18 @@ var STANDALONE_COMPACT = /* @__PURE__ */ new Set(["bullet", "pie", "slope"]), pa
1529
1635
  function withCardFloor(geometry, types, options) {
1530
1636
  if (geometry.refused) return geometry;
1531
1637
  let sizing = geometry.sizing;
1532
- if (sizing && options.mode === "compact" && geometry.size.width < CARD_CLASS_WIDTH && sizing.minWidth > Math.max(CARD_MIN_WIDTH, sizing.measuredMinWidth)) {
1638
+ if (sizing && options.mode === "compact" && cardForm(geometry.size.width, options) && sizing.minWidth > Math.max(CARD_MIN_WIDTH, sizing.measuredMinWidth)) {
1533
1639
  let minWidth = Math.max(CARD_MIN_WIDTH, sizing.measuredMinWidth);
1534
1640
  return { ...geometry, sizing: { ...sizing, minWidth, comfortableWidth: Math.ceil(minWidth * 1.25) } };
1535
1641
  }
1536
1642
  let charts = types.filter((type) => type !== "text" && type !== "legend");
1537
1643
  return !sizing || sizing.minWidth <= CARD_MIN_WIDTH || charts.length === 0 || !charts.every(panelCompacts) ? geometry : { ...geometry, sizing: { ...sizing, minWidth: CARD_MIN_WIDTH, measuredMinWidth: Math.min(sizing.measuredMinWidth, CARD_MIN_WIDTH), comfortableWidth: Math.ceil(CARD_MIN_WIDTH * 1.25) } };
1538
1644
  }
1539
- function compactPanelMode(panel, canvasWidth) {
1540
- return panel.type === "text" || panel.type === "legend" || panel.options?.mode !== void 0 ? {} : panelCompacts(panel.type) && canvasWidth < CARD_CLASS_WIDTH ? { mode: "compact" } : {};
1645
+ function compactPanelMode(panel, canvasWidth, options) {
1646
+ return panel.type === "text" || panel.type === "legend" || panel.options?.mode !== void 0 ? {} : panelCompacts(panel.type) && cardForm(canvasWidth, options) ? { mode: "compact" } : {};
1647
+ }
1648
+ function cardForm(width, options) {
1649
+ return width < CARD_CLASS_WIDTH || options[NARROW_FORM] === !0;
1541
1650
  }
1542
1651
  function withWarnings(geometry, warnings) {
1543
1652
  return warnings.length === 0 ? geometry : { ...geometry, warnings: [...geometry.warnings ?? [], ...warnings] };
@@ -1560,7 +1669,7 @@ function orderPanels(panels, options, authored) {
1560
1669
  let key = (panel) => {
1561
1670
  let data = panel.data, series = data?.series;
1562
1671
  if (!Array.isArray(series)) return null;
1563
- let categories = Array.isArray(data?.categories) ? data.categories.map(normalizeCategory) : void 0, normalized = categories ? series.map((entry, si) => ({ ...entry, values: normalizeSeriesValues(entry, categories, si) })) : series;
1672
+ let categories = Array.isArray(data?.categories) ? data.categories.map(normalizeCategory) : void 0, normalized = categories ? series.map((entry, si) => ({ ...entry, values: normalizeSeriesValues(entry, categories, si, "values", null) })) : series;
1564
1673
  categories && (panel.data = { ...data, categories, series: normalized });
1565
1674
  let measured = normalized.filter((entry) => entry?.role !== "reference"), total = null;
1566
1675
  for (let entry of measured) {
@@ -1691,11 +1800,11 @@ function layoutLegacyGrid(normalized, options, headPull = FACET_HEAD_PULL) {
1691
1800
  ...sharedAxis ? { valueAxis: { ...axis, gridlines: axis.gridlines ?? !0, ...index % columns === 0 ? {} : { show: !1 } } } : {},
1692
1801
  ...compactTiers && panelOptions.title === void 0 && panelTitle ? { title: panelTitle } : {},
1693
1802
  ...options.palette !== void 0 && panelOptions.palette === void 0 ? { palette: options.palette } : {},
1694
- ...compactPanelMode(panel, canvasWidth),
1803
+ ...compactPanelMode(panel, canvasWidth, options),
1695
1804
  // Facets: the grid's canvas margin and gutter are the panel's side margins; a
1696
1805
  // facet adds none of its own, so its plot spans the panel.
1697
1806
  // A compact panel on a narrow card spends no width on side margins either.
1698
- margin: { ...facets ? { left: 0, right: 0, bottom: 0 } : compactPanelMode(panel, canvasWidth).mode ? { left: 0, right: 0 } : {}, ...margin, top: numeric(margin.top, firstRow && rowCaptionHeight > 0 ? ROW_CAPTION_TOP : headTop) + captionHeight + (firstRow ? rowCaptionHeight : 0) - pull }
1807
+ margin: { ...facets ? { left: 0, right: 0, bottom: 0 } : compactPanelMode(panel, canvasWidth, options).mode ? { left: 0, right: 0 } : {}, ...margin, top: numeric(margin.top, firstRow && rowCaptionHeight > 0 ? ROW_CAPTION_TOP : headTop) + captionHeight + (firstRow ? rowCaptionHeight : 0) - pull }
1699
1808
  }
1700
1809
  };
1701
1810
  }), members = Object.fromEntries(Object.entries(groupResult.members).filter(([group]) => group !== DEFAULT_Y_GROUP && groupResult.domains[group])), composeOptions = { ...options, [SCALE_GROUP_MEMBERS]: members, ...headedGaps ? { [FACET_GAPS]: headedGaps } : {} }, geometry = layoutGrid(
@@ -1816,7 +1925,7 @@ function isAuthoredVarianceStack(panels, options) {
1816
1925
  function layoutAuthoredGrid(rawPanels, options, repeatFacet) {
1817
1926
  let theme = themeForWidth(resolveTheme(options.theme), gridTypeClass(options)), size = resolveSize(options.size), measure = options.measure ?? defaultMeasurer, warnings = [], automaticRows = options.rows === void 0, naturalTierWeights = options.sharedAxis === "category" && options.rows === void 0 && sharedYGroup(rawPanels) === null ? varianceTierWeights(rawPanels) : void 0;
1818
1927
  if (options.sharedAxis === "category") {
1819
- let bottomUp = bottomUpTierOrder(rawPanels), weights = tierWeights(rawPanels);
1928
+ let bottomUp = bottomUpTierOrder(rawPanels, options.variancePosition), weights = tierWeights(rawPanels);
1820
1929
  (((Array.isArray(options.columns) ? options.columns.length : options.columns) ?? 1) !== 1 || options.panelOrder !== void 0 || rawPanels.some((panel) => panel.row !== void 0 || panel.column !== void 0 || panel.span !== void 0) || options.rows !== void 0 && options.rows.length !== rawPanels.length) && warnings.push({
1821
1930
  code: "grid-tier-order",
1822
1931
  severity: "warn",
@@ -1880,7 +1989,9 @@ function layoutAuthoredGrid(rawPanels, options, repeatFacet) {
1880
1989
  "grid-cell-overlap",
1881
1990
  `panels[${index}]`,
1882
1991
  `panels '${rawPanels[first].id}' and '${rawPanels[index].id}' both occupy row ${r}, column ${c}`,
1883
- "move a panel or reduce its span"
1992
+ "move a panel or reduce its span",
1993
+ void 0,
1994
+ ["data", "panels", index]
1884
1995
  );
1885
1996
  occupant.set(`${r}:${c}`, index);
1886
1997
  }
@@ -2033,13 +2144,13 @@ function layoutAuthoredGrid(rawPanels, options, repeatFacet) {
2033
2144
  slot.y = rowBands[provisional[index].row].start;
2034
2145
  });
2035
2146
  let bottom = area.y + area.h;
2036
- for (let index of packed ? bottomUpTierOrder(panels) : []) {
2147
+ for (let index of packed ? bottomUpTierOrder(panels, options.variancePosition) : []) {
2037
2148
  let child = children[index], bounds = occupiedBounds(child.geometry, measure);
2038
2149
  child.slot.y = bottom - bounds.y - bounds.h, rowBands[child.placement.row] = { start: bottom - bounds.h, size: bounds.h }, bottom -= bounds.h + (rowGaps[child.placement.row - 1] ?? 0);
2039
2150
  }
2040
2151
  }
2041
2152
  let rowRects = rowBands.map((band) => ({ x: area.x, y: band.start, w: area.w, h: band.size }));
2042
- (options.anchors?.categories === "column" || options.anchors?.categories === "all") && recordCategoryColumnAnchors(children, columnBands, sharedAnchors, warnings), options.anchors?.baselines && (children = alignBaselines(children, options.anchors.baselines, sharedAnchors));
2153
+ (options.anchors?.categories === "column" || options.anchors?.categories === "all") && recordCategoryColumnAnchors(children, columnBands, sharedAnchors, warnings), options.anchors?.baselines && (children = alignBaselines(children, options.anchors.baselines, sharedAnchors, warnings));
2043
2154
  let keepBaselines = options.anchors?.baselines ? {
2044
2155
  top: (child) => child.margin.top ?? numeric(isRecord(child.panel.options?.margin) ? child.panel.options.margin.top : void 0, 20),
2045
2156
  above: (child) => {
@@ -2212,24 +2323,24 @@ function layoutAuthoredChild(panel, placement, slot, panels, parentOptions, allL
2212
2323
  ...hasKpiFigure(panel.type) && kpiValueSize !== void 0 ? { [KPI_VALUE_SIZE]: kpiValueSize } : {},
2213
2324
  ...panel.type === "kpi" ? { [KPI_HOST_TEXT]: stringsIn([panel.title, panel.caption, parentOptions.title, parentOptions.subtitle, parentOptions.footnotes, parentOptions.source]) } : {},
2214
2325
  ...panel.type === "variance" && isAuthoredVarianceStack(panels, parentOptions) ? { [VARIANCE_TIER]: panels.length } : {},
2215
- ...panel.annotations ? { annotations: panel.annotations } : {},
2326
+ ...panelAnnotations(panel),
2216
2327
  ...parentOptions.palette !== void 0 && panelOptions.palette === void 0 ? { palette: parentOptions.palette } : {},
2217
2328
  ...parentOptions.colorblindSafe !== void 0 && panelOptions.colorblindSafe === void 0 ? { colorblindSafe: parentOptions.colorblindSafe } : {},
2218
2329
  // A status panel resolves its hatch strength in its own layout.
2219
2330
  ...hatchStrengthFor(panelOptions, parentOptions),
2331
+ ...inheritedScaleUnit(panelOptions, panel.data, parentOptions.unit),
2220
2332
  theme: panelOptions.theme ?? parentOptions.theme,
2221
2333
  target: parentOptions.target,
2222
2334
  size: { width: slot.w, height: slot.h },
2223
2335
  margin: { ...authoredMargin, ...margin2, top: compactTiers ? Math.max(marginTop, captionHeight()) : marginTop + measureCaptionBand({ ...panel, options: { ...panelOptions, margin: { ...authoredMargin, ...margin2 } } }, theme, measure, slot.w) },
2224
2336
  measure,
2225
2337
  typeClass: gridTypeClass(parentOptions)
2226
- }, geometry = layoutChildChart(panel.data, resolvedOptions, definition.layout);
2338
+ }, geometry = layoutChildChart(panel.data, resolvedOptions, definition.layout, panel.id);
2227
2339
  if (geometry.refused) throw new GridChildRefusal(panel.id, geometry);
2228
2340
  let tierName = geometry.derived.tierName;
2229
- if (compactTiers && panelOptions.title !== !1 && !captionPanel.title && tierName && (captionPanel.title = tierName, captionHeight() > resolvedOptions.margin.top && (resolvedOptions.margin.top = captionHeight(), geometry = layoutChildChart(panel.data, resolvedOptions, definition.layout), geometry.refused)))
2341
+ if (compactTiers && panelOptions.title !== !1 && !captionPanel.title && tierName && (captionPanel.title = tierName, captionHeight() > resolvedOptions.margin.top && (resolvedOptions.margin.top = captionHeight(), geometry = layoutChildChart(panel.data, resolvedOptions, definition.layout, panel.id), geometry.refused)))
2230
2342
  throw new GridChildRefusal(panel.id, geometry);
2231
- let { measure: _measure, ...serializable } = resolvedOptions;
2232
- recordOptions = serializable;
2343
+ recordOptions = recordedPanelOptions(resolvedOptions);
2233
2344
  let captionY = compactTiers && isAuthoredVarianceStack(panels, parentOptions) ? authoredOccupiedBounds(geometry).y - resolvedOptions.margin.top - theme.space.labelPad : 0, band = panelCaptionBand({ ...captionPanel, options: resolvedOptions }, theme, measure, { x: 0, y: captionY, w: slot.w, h: slot.h }, new Set(resolveHighlight(parentOptions.highlight)), compactTiers);
2234
2345
  return pushAll(geometry.scene, band.nodes), pushAll(geometry.debug.occupied, band.claims), geometry;
2235
2346
  }, margin = { ...authoredMargin };
@@ -2249,7 +2360,7 @@ function readoutIndents(children, columns) {
2249
2360
  }
2250
2361
  function stackNarrowReadouts(panels, options, theme, measure, width) {
2251
2362
  let anchored = options.anchors?.categories === "column" || options.anchors?.categories === "all", columns = Array.isArray(options.columns) ? options.columns.length : typeof options.columns == "number" ? options.columns : void 0;
2252
- if (!anchored || columns === void 0 || columns < 2 || width >= CARD_CLASS_WIDTH) return { panels, options };
2363
+ if (!anchored || columns === void 0 || columns < 2 || !cardForm(width, options)) return { panels, options };
2253
2364
  let chart = panels.find((panel) => panel.type !== "text" && panel.type !== "legend" && (panel.column ?? 0) === 0 && panel.span?.columns === columns && (panel.span?.rows ?? 1) === 1), categories = chart && isRecord(chart.data) && Array.isArray(chart.data.categories) ? chart.data.categories : [];
2254
2365
  if (!chart || categories.length !== columns) return { panels, options };
2255
2366
  let readouts = panels.filter((panel) => panel.type === "text" && panel.row !== void 0 && panel.row > (chart.row ?? 0) && panel.column !== void 0 && (panel.span?.columns ?? 1) === 1 && (panel.span?.rows ?? 1) === 1), row = readouts[0]?.row, inRow = readouts.filter((panel) => panel.row === row);
@@ -2274,7 +2385,7 @@ function stackNarrowReadouts(panels, options, theme, measure, width) {
2274
2385
  }
2275
2386
  function stackCompactPanels(panels, options, width) {
2276
2387
  let authored = Array.isArray(options.columns) ? options.columns.length : options.columns ?? (options.rows ? Math.ceil(panels.length / options.rows.length) : Math.ceil(Math.sqrt(panels.length))), columns = Math.max(authored, ...panels.map((panel) => (panel.column ?? 0) + (panel.span?.columns ?? 1)));
2277
- if (options.mode !== "compact" || panelTypeClass(options) !== void 0 || width >= CARD_CLASS_WIDTH || columns < 2 || options.anchors !== void 0 || options.alignmentRules !== void 0) return { panels, options };
2388
+ if (options.mode !== "compact" || panelTypeClass(options) !== void 0 || !cardForm(width, options) || columns < 2 || options.anchors !== void 0 || options.alignmentRules !== void 0) return { panels, options };
2278
2389
  let { rows: _rows, columns: _gutterColumns, ...gutters } = options.gutters ?? {};
2279
2390
  return {
2280
2391
  options: { ...options, columns: 1, rows: void 0, gutters },
@@ -2455,13 +2566,30 @@ function alignInside(raw, align) {
2455
2566
  let horizontal = align.horizontal ?? "stretch", vertical = align.vertical ?? "stretch", w = horizontal === "stretch" ? raw.w : Math.min(raw.w, align.width ?? raw.w), h = vertical === "stretch" ? raw.h : Math.min(raw.h, align.height ?? raw.h), x = horizontal === "end" ? raw.x + raw.w - w : horizontal === "center" ? raw.x + (raw.w - w) / 2 : raw.x, y = vertical === "end" ? raw.y + raw.h - h : vertical === "center" ? raw.y + (raw.h - h) / 2 : raw.y;
2456
2567
  return { x, y, w, h };
2457
2568
  }
2458
- function scopeGroups(children, scope) {
2569
+ function scopeGroups(children, scope, skipped) {
2459
2570
  if (scope === "all") return [children];
2460
- let groups = /* @__PURE__ */ new Map();
2571
+ let startOf = (child) => scope === "row" ? child.placement.row : child.placement.column, spanOf = (child) => scope === "row" ? child.placement.rowSpan : child.placement.columnSpan, groups = /* @__PURE__ */ new Map();
2461
2572
  for (let child of children) {
2462
- let key = scope === "row" ? child.placement.row : child.placement.column, members = groups.get(key) ?? [];
2573
+ let key = `${startOf(child)}:${spanOf(child)}`, members = groups.get(key) ?? [];
2463
2574
  members.push(child), groups.set(key, members);
2464
2575
  }
2576
+ if (skipped) {
2577
+ let tracks = (child) => spanOf(child) === 1 ? `${scope} ${startOf(child) + 1}` : `${scope}s ${startOf(child) + 1}\u2013${startOf(child) + spanOf(child)}`, first = /* @__PURE__ */ new Map();
2578
+ for (let group of groups.values()) {
2579
+ let lead = group.find(skipped.eligible);
2580
+ if (!lead) continue;
2581
+ let other = first.get(startOf(lead));
2582
+ if (!other) {
2583
+ first.set(startOf(lead), lead);
2584
+ continue;
2585
+ }
2586
+ skipped.warnings.push({
2587
+ code: "grid-anchor-incompatible",
2588
+ severity: "warn",
2589
+ message: `${scope} ${skipped.anchor} alignment leaves panel '${lead.panel.id}' (${tracks(lead)}) out of the group of panel '${other.panel.id}' (${tracks(other)}) \u2014 only panels that cover the same ${scope}s are aligned`
2590
+ });
2591
+ }
2592
+ }
2465
2593
  return [...groups.values()];
2466
2594
  }
2467
2595
  function categoryColumnBands(children, columnBands, columnGaps, warnings) {
@@ -2527,9 +2655,9 @@ function recordCategoryColumnAnchors(children, columnBands, derived, warnings) {
2527
2655
  }
2528
2656
  }
2529
2657
  function alignPlotEdges(input, scope, derived, warnings, theme) {
2530
- let children = [...input];
2531
- for (let [groupIndex, group] of scopeGroups(children, scope).entries()) {
2532
- let candidates = group.filter((child) => child.relayout !== void 0);
2658
+ let children = [...input], eligible = (child) => child.relayout !== void 0;
2659
+ for (let [groupIndex, group] of scopeGroups(children, scope, { anchor: "plot-edge", warnings, eligible }).entries()) {
2660
+ let candidates = group.filter(eligible);
2533
2661
  if (candidates.length < 2) continue;
2534
2662
  let left = maxOf(candidates.map((child) => child.slot.x + child.geometry.plot.x)), right = minOf(candidates.map((child) => child.slot.x + child.geometry.plot.x + child.geometry.plot.w));
2535
2663
  if (!(right > left)) {
@@ -2548,9 +2676,9 @@ function alignPlotEdges(input, scope, derived, warnings, theme) {
2548
2676
  }
2549
2677
  return children;
2550
2678
  }
2551
- function alignBaselines(input, scope, derived) {
2552
- let children = [...input];
2553
- for (let [groupIndex, group] of scopeGroups(children, scope).entries()) {
2679
+ function alignBaselines(input, scope, derived, warnings) {
2680
+ let children = [...input], eligible = (child) => child.relayout !== void 0 && baselineY(child.geometry) !== null;
2681
+ for (let [groupIndex, group] of scopeGroups(children, scope, { anchor: "baseline", warnings, eligible }).entries()) {
2554
2682
  let candidates = group.flatMap((child) => {
2555
2683
  let baseline = baselineY(child.geometry);
2556
2684
  return baseline === null || !child.relayout ? [] : [{ child, baseline: child.slot.y + baseline }];
@@ -2647,9 +2775,10 @@ function appendAuthoredChild(child, scene, labels, axes, annotations, occupied,
2647
2775
  let warningOffset = warnings.length;
2648
2776
  pushAll(
2649
2777
  warnings,
2650
- child.geometry.warnings.map(({ field: _field, fix: _fix, ...warning }) => ({
2778
+ child.geometry.warnings.map((warning) => ({
2651
2779
  ...warning,
2652
2780
  message: `[${child.panel.id}] ${warning.message}`,
2781
+ detail: { ...warning.detail, panelId: child.panel.id },
2653
2782
  owner: warning.owner ? prefixPanelOwner(warning.owner, prefix) : void 0
2654
2783
  }))
2655
2784
  );
@@ -2677,7 +2806,7 @@ function translatePlacedLabel(label, prefix, dx, dy) {
2677
2806
  return {
2678
2807
  ...label,
2679
2808
  id: prefix + label.id,
2680
- ...label.claimId ? { claimId: prefix + label.claimId } : {},
2809
+ ...label.claimIds ? { claimIds: label.claimIds.map((id) => prefix + id) } : {},
2681
2810
  nodeId: label.nodeId ? prefix + label.nodeId : void 0,
2682
2811
  owner: prefixPanelOwner(label.owner, prefix),
2683
2812
  rect: translateRect(label.rect, dx, dy),
@@ -2758,13 +2887,33 @@ function probePanelGeometry(panel, options, valueAxis) {
2758
2887
  return layoutChildChart(panel.data, {
2759
2888
  ...definition.defaults,
2760
2889
  ...panelOptions,
2761
- ...panel.annotations ? { annotations: panel.annotations } : {},
2890
+ ...panelAnnotations(panel),
2762
2891
  theme: panelOptions.theme ?? options.theme,
2763
2892
  size: { width: 720, height: 405 },
2764
2893
  valueAxis,
2765
2894
  measure: options.measure,
2766
2895
  typeClass: gridTypeClass(options)
2767
- }, definition.layout);
2896
+ }, definition.layout, panel.id);
2897
+ }
2898
+ function probedPanelDomain(panel, options, valueAxis) {
2899
+ let key = optionKey({
2900
+ type: panel.type,
2901
+ data: panel.data,
2902
+ options: panel.options,
2903
+ annotations: panel.annotations,
2904
+ theme: options.theme,
2905
+ measure: options.measure,
2906
+ typeClass: gridTypeClass(options),
2907
+ valueAxis
2908
+ });
2909
+ return requestMemo(probedPanelDomain, key, () => {
2910
+ let probe = probePanelGeometry(panel, options, valueAxis);
2911
+ return probe && !probe.refused ? inferLinearYDomain(probe, panelValueAxis(panel)) : null;
2912
+ });
2913
+ }
2914
+ function panelValueAxis(panel) {
2915
+ let type = getChart(panel.type)?.type, variant = panel.options?.variant;
2916
+ return type === "dot" || type === "bar" && variant !== "tornado" && variant !== "football-field" ? "x" : "y";
2768
2917
  }
2769
2918
  function panelValueAxisBreak(panel) {
2770
2919
  let valueAxis = isRecord(panel.options?.valueAxis) ? panel.options.valueAxis : void 0, raw = valueAxis && isRecord(valueAxis.break) ? valueAxis.break : null;
@@ -2794,7 +2943,7 @@ function groupHonorsSharedBreak(panels, indexes, domain, axisBreak, options) {
2794
2943
  } catch {
2795
2944
  return !1;
2796
2945
  }
2797
- if (!geometry || geometry.refused || !geometry.axes.some((axis) => axis.axis === "y" && axis.break !== void 0)) return !1;
2946
+ if (!geometry || geometry.refused || !geometry.axes.some((axis) => axis.axis === panelValueAxis(panel) && axis.break !== void 0)) return !1;
2798
2947
  }
2799
2948
  return !0;
2800
2949
  }
@@ -2807,8 +2956,8 @@ function resolveSharedYDomains(panels, options, repeatFacet) {
2807
2956
  members.push(index), groups.set(scaleGroup.y, members);
2808
2957
  });
2809
2958
  let panelDomains = panels.map((panel) => {
2810
- let panelOptions = panel.options ?? {}, valueAxis = isRecord(panelOptions.valueAxis) ? panelOptions.valueAxis : {}, { break: _ignoredBreak, ...axisWithoutBreak } = valueAxis, probe = probePanelGeometry(panel, options, { ...axisWithoutBreak, show: !0 });
2811
- return probe && !probe.refused ? inferLinearYDomain(probe) : null;
2959
+ let panelOptions = panel.options ?? {}, valueAxis = isRecord(panelOptions.valueAxis) ? panelOptions.valueAxis : {}, { break: _ignoredBreak, ...axisWithoutBreak } = valueAxis, domain = probedPanelDomain(panel, options, { ...axisWithoutBreak, show: !0 });
2960
+ return domain && [domain[0], domain[1]];
2812
2961
  }), authoredGroups = groups.size > 0, semantics = panels.map(panelScaleSemantics), firstSemantics = semantics[0], matchingSemantics = firstSemantics != null && semantics.every(
2813
2962
  (candidate) => candidate !== null && candidate.unit === firstSemantics.unit && candidate.format === firstSemantics.format
2814
2963
  ), sameMeasure = options.sharedScale === !0 || repeatFacet || firstSemantics?.unit != null || !!options.unit?.trim(), defaultShareEligible = panels.length > 1 && panelDomains.every((domain) => domain !== null) && matchingSemantics && sameMeasure;
@@ -2864,7 +3013,7 @@ function unionSharedYGroups(groups, panels, panelDomains, options) {
2864
3013
  }
2865
3014
  if (memberDomains.length !== indexes.length) {
2866
3015
  group !== DEFAULT_Y_GROUP && warnings.push({
2867
- code: "scale-mix",
3016
+ code: "scale-group-not-numeric",
2868
3017
  severity: "warn",
2869
3018
  message: `y scale group '${group}' contains a panel without a numeric linear y scale`
2870
3019
  });