@sheetxl/sdk 0.8.0-beta.11 → 0.8.0-beta.13

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 (349) hide show
  1. package/THIRD-PARTY-NOTICES.md +172 -0
  2. package/browser/esm/{BMyDRQ716j79h_bH.mjs → -GEhXGMfNcWmHPby.mjs} +6 -6
  3. package/browser/esm/{B7aUIvgUjncMMD_i.mjs → 9WXf_BTKjW1cQisZ.mjs} +95 -94
  4. package/browser/esm/{PcHFjNzQsE54POri.mjs → B2SgIPPBX0wjzuq8.mjs} +1 -1
  5. package/browser/esm/{DEiPS3Dr-s4fPbVZ.mjs → BC2RwlNwCdRywkoD.mjs} +1 -1
  6. package/browser/esm/{BpgskG1Er_lGQ_yS.mjs → BEqhm9xAUPiHUCFv.mjs} +1 -1
  7. package/browser/esm/BHgqi7KNrl7Vjr0W.mjs +348 -0
  8. package/browser/esm/{BkBhLS0l6z8sxI6D.mjs → BJKH0tDRx2FeSWvt.mjs} +2 -2
  9. package/browser/esm/{CU3DmJ-YnVVrC1_k.mjs → BTgWtqdQoh2cB6DL.mjs} +1 -1
  10. package/browser/esm/{Dyq_ivuHvlXLwPCl.mjs → BVshV1iY3bcUH9_E.mjs} +1135 -1129
  11. package/browser/esm/{BFagR2JeWs74iAG3.mjs → BYQ63XU7JzB4_itX.mjs} +1 -1
  12. package/browser/esm/{DvAaxH6z_tGvrRzl.mjs → Bax5aOzQkbHKXW_X.mjs} +239 -230
  13. package/browser/esm/{DLLE0FZNsKxbBzRn.mjs → BiDGKhtzV6yIy66o.mjs} +45 -45
  14. package/browser/esm/BmYrWK5OmHRtgyqM.mjs +367 -0
  15. package/browser/esm/{ClPfI4lODvCece29.mjs → BoAlHgjPQ6mxb_oO.mjs} +74 -74
  16. package/browser/esm/{BoV6zPBnfqCBCqZ7.mjs → C0mjTq8lhrX3HiPa.mjs} +4328 -3166
  17. package/browser/esm/{nvU0ClAbf0g94YBK.mjs → C5j0IdwtYkWlOftv.mjs} +604 -596
  18. package/browser/esm/{DWNzqw7DUKwoxjri.mjs → CL84-iL2QeKlLzo5.mjs} +2 -2
  19. package/browser/esm/{Ctjb0SsxV4K4MMqG.mjs → CLkBe-6n-pStQhnz.mjs} +2 -2
  20. package/{node/esm/CZICGK_ss0HoGHCP.mjs → browser/esm/CPzfhTPX2Y4dHX2p.mjs} +2 -2
  21. package/browser/esm/{Dlmig06rIo7cInRk.mjs → CSJuIjYUOE387FIP.mjs} +1 -1
  22. package/browser/esm/{BjkCiv5Jz6WYKZeu.mjs → Cdw0mGuoV3IU2LhR.mjs} +2 -2
  23. package/browser/esm/Ced5uyofOWHuL_Jy.mjs +114 -0
  24. package/browser/esm/{CkxWugaJFjDGZNZ-.mjs → Ci_LJ4S_GvYX0STI.mjs} +1 -1
  25. package/browser/esm/{zlLuW405RSguy4Kn.mjs → CwygVKP_RXmne5Ot.mjs} +47 -47
  26. package/browser/esm/{C4MqfLn9Dm-l3OIk.mjs → D-mfK0noQrM2jZLT.mjs} +1 -1
  27. package/browser/esm/{BnG31I6Oj_HEtSPS.mjs → D9SH_8v3FYCnxOFK.mjs} +1 -1
  28. package/browser/esm/{BVDiOXGMc5_FMGfy.mjs → DPD8fop6az9HZNiK.mjs} +2 -2
  29. package/browser/esm/DW-MmlgMH87l-_cw.mjs +302 -0
  30. package/browser/esm/{CaB7J-xgfKO2uAkG.mjs → DctIlUsO78-OU2ht.mjs} +2 -2
  31. package/browser/esm/DdcKkVb4jM6Y_epY.mjs +184 -0
  32. package/browser/esm/{CHU6iu_WGlm7fLET.mjs → DfKzE0IY0TjaEIxG.mjs} +1 -1
  33. package/browser/esm/{C2VbEI_XVAoseAwa.mjs → DkloMquaR1pbZCER.mjs} +44 -43
  34. package/browser/esm/{C16ycKja6zG0crV_.mjs → Dz86-De57bv2VYIi.mjs} +19447 -16481
  35. package/browser/esm/{BtvLTTfSBdAKplVG.mjs → HApSgmV2FXRRwQac.mjs} +1 -1
  36. package/browser/esm/{CQYjO777cmAznUzK.mjs → IbVAQU4YqtFqLwYk.mjs} +1 -1
  37. package/browser/esm/index.mjs +823 -644
  38. package/browser/esm/mHQ95RAfxHzcUN2r.mjs +18 -0
  39. package/browser/esm/pm00uZZu_H3gxHFx.mjs +117 -0
  40. package/browser/esm/{CV5EGEjG5_-CPpP0.mjs → quEvwgrEuOb0h3q-.mjs} +1926 -1298
  41. package/browser/esm/{ClbvFbFzFzXLBKNN.mjs → zZngLMg6mg6nnNGX.mjs} +66 -66
  42. package/licenses/dependencies.txt +71 -1
  43. package/node/esm/{BqiexuA89caYnAPz.mjs → -K4Cek-bTUItkB_8.mjs} +1 -1
  44. package/node/esm/-b8yNV4v9qiq8EMY.mjs +117 -0
  45. package/node/esm/{D8zEN-6ZdDqDvTxM.mjs → 1V-m67YHbxmg3xk2.mjs} +74 -74
  46. package/node/esm/{D_t5AUxSm7_icjzq.mjs → 4ROAfJC1mokmqubv.mjs} +1 -1
  47. package/node/esm/B89et7t3uRmtxk4v.mjs +115 -0
  48. package/node/esm/BKBkCBNGhMU0nQdY.mjs +372 -0
  49. package/node/esm/{OVfaSb506tNSIvbv.mjs → BQ2XqExomMceAjfe.mjs} +20822 -18373
  50. package/node/esm/{2Kihw_-5lVTEnwMa.mjs → Bfg7qjCXCwXbzW3K.mjs} +1 -1
  51. package/node/esm/{D1TKBVmoKGAXf37B.mjs → BtMeAB_dqJnOfzJM.mjs} +2 -2
  52. package/node/esm/{D6e2z7eZpxOJXHc7.mjs → Byc_bxU_MdjYtt0x.mjs} +1 -1
  53. package/node/esm/{CNCNJNg890KdgkWh.mjs → Bzrl292TNCK3Cpid.mjs} +1 -1
  54. package/node/esm/{De2IONBxQhz-Qbyh.mjs → C0P9zspoypRAj7yv.mjs} +1 -1
  55. package/node/esm/{CzXT00vrQa1_gvW9.mjs → C9gpMN3galHGZyoK.mjs} +1 -1
  56. package/node/esm/CKCG2peOkTq0gIIW.mjs +310 -0
  57. package/node/esm/{DUTskXCXref-IJnI.mjs → CWBS90g3Hz-kQDkY.mjs} +46 -46
  58. package/node/esm/{BIwObuhTJYf0jpUa.mjs → CoGSVnn-hNMtTEus.mjs} +2 -2
  59. package/node/esm/{CwePQwTILHHjGDkZ.mjs → CzrLqStvrcPE2-hb.mjs} +194 -185
  60. package/node/esm/{CCN5vD410obwdz38.mjs → D16EdlZG1hX5WUUK.mjs} +96 -95
  61. package/node/esm/{CDHdgJXH2vS71WMc.mjs → D1mDga2K5sjs8y07.mjs} +1 -1
  62. package/node/esm/{cGwrLA1RCE-WhJ7w.mjs → D2jtztjE6c23RKvZ.mjs} +1 -1
  63. package/node/esm/{Bbf1Pm9Gk7YpLTvg.mjs → D9nRcWsYk3M82iD8.mjs} +1 -1
  64. package/node/esm/{yavzZOiZW_EjG9lE.mjs → DALYzTxZ9Ur9C69Q.mjs} +1 -1
  65. package/node/esm/{DkwIPzKc3UwdUIfM.mjs → DF0nL7s01dp7n0Bx.mjs} +10 -10
  66. package/node/esm/{DNRhGK-8Tr9xcRyc.mjs → DO5ldLqhTvIfPXLW.mjs} +3348 -2610
  67. package/node/esm/DQz8J8ci7EJdqbuB.mjs +351 -0
  68. package/node/esm/{BIRq1kT7lLRzns9t.mjs → DR2OQTKqqyIkZnse.mjs} +2 -2
  69. package/node/esm/{857CIBgQgGpnqrXk.mjs → DSTLPBgpsGW6qP9e.mjs} +73 -73
  70. package/node/esm/{CGp6VZL-gZa9Uezx.mjs → DiXp7KSOZUSWXaZ5.mjs} +1 -1
  71. package/node/esm/{CZiqiay42tFTrLI4.mjs → DwvXHsycOQR219c7.mjs} +1 -1
  72. package/node/esm/{B21JjOLghRoDOrkx.mjs → Hc6B04OyVzHx2F5I.mjs} +38 -37
  73. package/node/esm/{Ct3h15sCus4Tgt6M.mjs → NkPNHsq2T3DXg76x.mjs} +561 -553
  74. package/node/esm/{B084DssTcdBheTp_.mjs → Nl_IIkO1jbk0s9i-.mjs} +4552 -3373
  75. package/node/esm/{D2KBymQJd1XhpeQD.mjs → OQT5lGqq8a4r5xNa.mjs} +1 -1
  76. package/node/esm/OTaaFGhF-k_iwobp.mjs +18 -0
  77. package/node/esm/{CdJHUJSBRHZoryPe.mjs → Z1elC_roIu7LhceZ.mjs} +53 -53
  78. package/{browser/esm/D5np__Jb1euAyaLw.mjs → node/esm/e3F3OVXCxLJrSukW.mjs} +2 -2
  79. package/node/esm/index.mjs +806 -625
  80. package/node/esm/{mFiBSM7XgBHV9AY7.mjs → suOBVUz-pca6ilJH.mjs} +1607 -1601
  81. package/package.json +8 -6
  82. package/resources/contents.json +108 -0
  83. package/resources/fonts/aptos-bold-italic.hinted.json +125 -0
  84. package/resources/fonts/aptos-bold-italic.metrics.json +221 -0
  85. package/resources/fonts/aptos-bold-italic.rows.json +8 -0
  86. package/resources/fonts/aptos-bold.hinted.json +125 -0
  87. package/resources/fonts/aptos-bold.metrics.json +221 -0
  88. package/resources/fonts/aptos-bold.rows.json +8 -0
  89. package/resources/fonts/aptos-display-bold-italic.hinted.json +125 -0
  90. package/resources/fonts/aptos-display-bold-italic.metrics.json +221 -0
  91. package/resources/fonts/aptos-display-bold-italic.rows.json +8 -0
  92. package/resources/fonts/aptos-display-bold.hinted.json +125 -0
  93. package/resources/fonts/aptos-display-bold.metrics.json +221 -0
  94. package/resources/fonts/aptos-display-bold.rows.json +8 -0
  95. package/resources/fonts/aptos-display-italic.hinted.json +124 -0
  96. package/resources/fonts/aptos-display-italic.metrics.json +221 -0
  97. package/resources/fonts/aptos-display-italic.rows.json +8 -0
  98. package/resources/fonts/aptos-display-regular.hinted.json +125 -0
  99. package/resources/fonts/aptos-display-regular.metrics.json +221 -0
  100. package/resources/fonts/aptos-display-regular.rows.json +8 -0
  101. package/resources/fonts/aptos-italic.hinted.json +125 -0
  102. package/resources/fonts/aptos-italic.metrics.json +221 -0
  103. package/resources/fonts/aptos-italic.rows.json +8 -0
  104. package/resources/fonts/aptos-narrow-bold-italic.hinted.json +125 -0
  105. package/resources/fonts/aptos-narrow-bold-italic.metrics.json +221 -0
  106. package/resources/fonts/aptos-narrow-bold-italic.rows.json +8 -0
  107. package/resources/fonts/aptos-narrow-bold.hinted.json +125 -0
  108. package/resources/fonts/aptos-narrow-bold.metrics.json +221 -0
  109. package/resources/fonts/aptos-narrow-bold.rows.json +8 -0
  110. package/resources/fonts/aptos-narrow-italic.hinted.json +125 -0
  111. package/resources/fonts/aptos-narrow-italic.metrics.json +221 -0
  112. package/resources/fonts/aptos-narrow-italic.rows.json +8 -0
  113. package/resources/fonts/aptos-narrow-regular.hinted.json +125 -0
  114. package/resources/fonts/aptos-narrow-regular.metrics.json +221 -0
  115. package/resources/fonts/aptos-narrow-regular.rows.json +8 -0
  116. package/resources/fonts/aptos-regular.hinted.json +125 -0
  117. package/resources/fonts/aptos-regular.metrics.json +221 -0
  118. package/resources/fonts/aptos-regular.rows.json +8 -0
  119. package/resources/fonts/arial-bold-italic.rows.json +0 -1
  120. package/resources/fonts/arial-bold.rows.json +0 -1
  121. package/resources/fonts/arial-italic.rows.json +0 -1
  122. package/resources/fonts/arial-regular.rows.json +0 -1
  123. package/resources/fonts/calibri-bold-italic.rows.json +0 -1
  124. package/resources/fonts/calibri-bold.rows.json +0 -1
  125. package/resources/fonts/calibri-italic.rows.json +0 -1
  126. package/resources/fonts/calibri-regular.rows.json +0 -1
  127. package/resources/fonts/cambria-bold-italic.rows.json +0 -1
  128. package/resources/fonts/cambria-bold.rows.json +0 -1
  129. package/resources/fonts/cambria-italic.rows.json +0 -1
  130. package/resources/fonts/cambria-regular.rows.json +0 -1
  131. package/resources/fonts/contents.json +240 -0
  132. package/resources/fonts/courier-new-bold-italic.rows.json +0 -1
  133. package/resources/fonts/courier-new-bold.rows.json +0 -1
  134. package/resources/fonts/courier-new-italic.rows.json +0 -1
  135. package/resources/fonts/courier-new-regular.rows.json +0 -1
  136. package/resources/fonts/times-new-roman-bold-italic.rows.json +0 -1
  137. package/resources/fonts/times-new-roman-bold.rows.json +0 -1
  138. package/resources/fonts/times-new-roman-italic.rows.json +0 -1
  139. package/resources/fonts/times-new-roman-regular.rows.json +0 -1
  140. package/resources/locales/de/model.msg.json +12 -2
  141. package/resources/locales/en/model.msg.json +13 -2
  142. package/types/scripting-api.json +10638 -10446
  143. package/types/scripting-enums.json +20 -1
  144. package/types/scripting.d.ts +1536 -477
  145. package/types/src/.generated/wasm/sdk.d.ts +5 -27
  146. package/types/src/address/AddressUtils.d.ts +8 -0
  147. package/types/src/address/_SheetNameQuoteChars.d.ts +3 -0
  148. package/types/src/{sheet → anomalies}/_Anomalies.d.ts +3 -3
  149. package/types/src/anomalies/_FocusTable.d.ts +5 -0
  150. package/types/src/{sheet/_AnomalyFormulaChecks.d.ts → anomalies/_FormulaChecks.d.ts} +10 -2
  151. package/types/src/{sheet/_AnomalyLabelChecks.d.ts → anomalies/_LabelChecks.d.ts} +1 -1
  152. package/types/src/anomalies/_LiteralChecks.d.ts +35 -0
  153. package/types/src/anomalies/_SeriesChecks.d.ts +13 -0
  154. package/types/src/calculation/Calculation.d.ts +61 -98
  155. package/types/src/calculation/ExternalBookBindings.d.ts +2 -29
  156. package/types/src/calculation/ICalculation.d.ts +96 -9
  157. package/types/src/calculation/NamedFormulaCollection.d.ts +110 -10
  158. package/types/src/calculation/TokenType.d.ts +0 -10
  159. package/types/src/calculation/_CloneBoundary.d.ts +0 -24
  160. package/types/src/calculation/_FormulaToolkit.d.ts +0 -5
  161. package/types/src/calculation/compiler/ASTTypes.d.ts +6 -15
  162. package/types/src/calculation/compiler/CompilerUtils.d.ts +0 -227
  163. package/types/src/calculation/compiler/FormulaLexer.d.ts +0 -8
  164. package/types/src/calculation/compiler/FormulaParser.d.ts +0 -61
  165. package/types/src/calculation/compiler/ParserUtils.d.ts +0 -24
  166. package/types/src/calculation/compiler/Types.d.ts +1 -45
  167. package/types/src/calculation/engine/CalcBackend.d.ts +83 -127
  168. package/types/src/calculation/engine/index.d.ts +0 -8
  169. package/types/src/calculation/executor/CalcExecutor.d.ts +50 -116
  170. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +47 -12
  171. package/types/src/calculation/executor/CircularReference.d.ts +0 -17
  172. package/types/src/calculation/executor/_BlockOrder.d.ts +29 -0
  173. package/types/src/calculation/executor/_WhatIf.d.ts +31 -0
  174. package/types/src/calculation/formula/FormulaBlock.d.ts +4 -31
  175. package/types/src/calculation/formula/FormulaRecordView.d.ts +0 -15
  176. package/types/src/calculation/formula/IFormulaBlock.d.ts +5 -12
  177. package/types/src/calculation/formula/LambdaValue.d.ts +0 -15
  178. package/types/src/calculation/formula/TokenUtils.d.ts +1 -8
  179. package/types/src/calculation/functions/_DataTableFunction.d.ts +14 -0
  180. package/types/src/calculation/grid/CalcGrid.d.ts +8 -64
  181. package/types/src/calculation/grid/CalcGridBackend.d.ts +12 -35
  182. package/types/src/calculation/grid/CalcGridProxy.d.ts +0 -15
  183. package/types/src/calculation/grid/CalcGridUtils.d.ts +21 -23
  184. package/types/src/calculation/grid/ICalcGrid.d.ts +28 -109
  185. package/types/src/calculation/grid/_CalcRequest.d.ts +17 -33
  186. package/types/src/calculation/spatial/CircularEntry.d.ts +0 -10
  187. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +54 -82
  188. package/types/src/calculation/spatial/SpillEntry.d.ts +20 -3
  189. package/types/src/calculation/state/CalcNode.d.ts +0 -1
  190. package/types/src/calculation/state/CalcScope.d.ts +29 -9
  191. package/types/src/calculation/state/CalcState.d.ts +19 -9
  192. package/types/src/calculation/state/CalculationContext.d.ts +32 -38
  193. package/types/src/calculation/state/DeferredCalls.d.ts +207 -0
  194. package/types/src/calculation/state/IContextContainer.d.ts +19 -55
  195. package/types/src/calculation/state/_KeepBlanks.d.ts +5 -0
  196. package/types/src/calculation/state/_PendingOverlayGrid.d.ts +52 -33
  197. package/types/src/calculation/state/_WhatIfLayer.d.ts +77 -0
  198. package/types/src/calculation/symbol/ExternalSheetSymbols.d.ts +0 -42
  199. package/types/src/calculation/symbol/ISymbolRegistry.d.ts +0 -6
  200. package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +0 -12
  201. package/types/src/calculation/symbol/SymbolRegistry.d.ts +0 -9
  202. package/types/src/calculation/toolkit/index.d.ts +0 -8
  203. package/types/src/cell/ICell.d.ts +59 -54
  204. package/types/src/cellControl/CellControl.d.ts +67 -0
  205. package/types/src/cellControl/CellControlCollection.d.ts +29 -0
  206. package/types/src/cellControl/CellControlRegistry.d.ts +47 -0
  207. package/types/src/cellControl/ICellControl.d.ts +99 -0
  208. package/types/src/cellControl/ICellControlCollection.d.ts +67 -0
  209. package/types/src/cellControl/index.d.ts +4 -0
  210. package/types/src/cellRange/ICellRange.d.ts +226 -67
  211. package/types/src/cellRange/ICellRanges.d.ts +4 -3
  212. package/types/src/chart/Chart.d.ts +0 -16
  213. package/types/src/chart/_ChartParts.d.ts +0 -39
  214. package/types/src/chart/_ChartSource.d.ts +0 -14
  215. package/types/src/chart/createChart.d.ts +1 -1
  216. package/types/src/chart/kinds/ChartKind.d.ts +4 -4
  217. package/types/src/chart/kinds/_Placeholder.d.ts +0 -1
  218. package/types/src/chart/layout/ChartLayout.d.ts +5 -1
  219. package/types/src/chart/layout/TextMeasurer.d.ts +0 -20
  220. package/types/src/chart/layout/_LayoutUtils.d.ts +0 -16
  221. package/types/src/chart/math/BoxStats.d.ts +0 -8
  222. package/types/src/chart/math/DateUnitCalcs.d.ts +0 -10
  223. package/types/src/chart/math/Histogram.d.ts +0 -17
  224. package/types/src/chart/math/OrdUnitCalcs.d.ts +0 -53
  225. package/types/src/chart/math/Treemap.d.ts +0 -15
  226. package/types/src/chart/math/Trendlines.d.ts +0 -8
  227. package/types/src/chart/math/UnitCalcs.d.ts +0 -22
  228. package/types/src/chart/model/_Edits.d.ts +0 -33
  229. package/types/src/chart/model/_Grouping.d.ts +0 -25
  230. package/types/src/chart/model/_Inference.d.ts +0 -18
  231. package/types/src/chart/model/_NewChart.d.ts +0 -41
  232. package/types/src/chart/model/_OfPie.d.ts +0 -7
  233. package/types/src/chart/resolve/_LegacyStyles.d.ts +0 -20
  234. package/types/src/chart/resolve/_Resolve.d.ts +3 -12
  235. package/types/src/chart/resolve/_ResolvedChart.d.ts +5 -8
  236. package/types/src/collections/ISparseGrid.d.ts +11 -2
  237. package/types/src/collections/MixedTypedArrayList.d.ts +8 -2
  238. package/types/src/collections/SparseGrid.d.ts +3 -8
  239. package/types/src/collections/_GridUtils.d.ts +0 -10
  240. package/types/src/comment/_NoteBox.d.ts +0 -15
  241. package/types/src/condition/AnchoredConditional.d.ts +3 -25
  242. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +0 -49
  243. package/types/src/condition/BuiltinSelectors/DisplaySelector.d.ts +0 -10
  244. package/types/src/condition/ICondition.d.ts +2 -2
  245. package/types/src/condition/_ConditionUtils.d.ts +0 -38
  246. package/types/src/externalBook/ExternalBookCollection.d.ts +0 -15
  247. package/types/src/externalBook/ExternalBookName.d.ts +2 -3
  248. package/types/src/externalBook/IExternalBook.d.ts +16 -18
  249. package/types/src/fetch/Fetcher.d.ts +15 -0
  250. package/types/src/fetch/IFetcher.d.ts +48 -0
  251. package/types/src/fetch/_WorkbookFetch.d.ts +43 -0
  252. package/types/src/fetch/index.d.ts +3 -0
  253. package/types/src/fill/PaintUtils.d.ts +3 -1
  254. package/types/src/font/AdvanceTable.d.ts +16 -42
  255. package/types/src/font/IFont.d.ts +32 -9
  256. package/types/src/font/TableFileAdvanceBuilder.d.ts +6 -3
  257. package/types/src/font/_FontUtils.d.ts +0 -8
  258. package/types/src/font/_StandIns.d.ts +33 -0
  259. package/types/src/hyperlink/IHyperlink.d.ts +10 -0
  260. package/types/src/hyperlink/_Hyperlink.d.ts +4 -1
  261. package/types/src/index.d.ts +2 -1
  262. package/types/src/io/IWorkbookIO.d.ts +3 -3
  263. package/types/src/io/WorkbookOrigin.d.ts +2 -2
  264. package/types/src/license/LicenseManager.d.ts +2 -1
  265. package/types/src/license/_Utils.d.ts +4 -3
  266. package/types/src/license/details.d.ts +3 -1
  267. package/types/src/license/keys.d.ts +6 -0
  268. package/types/src/license/license-key.d.ts +15 -33
  269. package/types/src/license/token.d.ts +55 -0
  270. package/types/src/named/INamedCollection.d.ts +36 -0
  271. package/types/src/named/NamedCollection.d.ts +18 -0
  272. package/types/src/picture/IPicture.d.ts +45 -0
  273. package/types/src/picture/Picture.d.ts +12 -0
  274. package/types/src/pivot/PivotTable.d.ts +0 -7
  275. package/types/src/primitives/AsyncValue.d.ts +46 -0
  276. package/types/src/primitives/PrimitiveUtils.d.ts +1 -110
  277. package/types/src/primitives/Range.d.ts +0 -60
  278. package/types/src/primitives/ScalarCollation.d.ts +0 -106
  279. package/types/src/primitives/stats/AggregateStats.d.ts +0 -19
  280. package/types/src/print/PageLayout.d.ts +0 -6
  281. package/types/src/reference/ReferenceUtils.d.ts +4 -2
  282. package/types/src/resource/IResource.d.ts +9 -0
  283. package/types/src/resource/IResourceCollection.d.ts +4 -0
  284. package/types/src/resource/Resource.d.ts +2 -0
  285. package/types/src/resource/_AddResource.d.ts +13 -0
  286. package/types/src/richData/CellImage.d.ts +95 -0
  287. package/types/src/richData/Hyperlink.d.ts +49 -0
  288. package/types/src/richData/IRichDataCollection.d.ts +76 -0
  289. package/types/src/richData/IRichDataKind.d.ts +55 -11
  290. package/types/src/richData/RichArray.d.ts +42 -0
  291. package/types/src/richData/RichDataCollection.d.ts +23 -0
  292. package/types/src/richData/RichDataRegistry.d.ts +52 -14
  293. package/types/src/richData/RichDataValues.d.ts +20 -0
  294. package/types/src/richData/RichRecord.d.ts +68 -0
  295. package/types/src/richData/RichText.d.ts +5 -5
  296. package/types/src/richData/index.d.ts +6 -0
  297. package/types/src/scripting/FunctionArguments.d.ts +17 -1
  298. package/types/src/scripting/FunctionCollection.d.ts +8 -0
  299. package/types/src/scripting/Scripts.d.ts +10 -0
  300. package/types/src/scripting/TypedFunction.d.ts +2 -109
  301. package/types/src/sheet/ICellContainerOptions.d.ts +6 -0
  302. package/types/src/sheet/IWorksheet.d.ts +26 -22
  303. package/types/src/sheet/NamedCellRange.d.ts +0 -21
  304. package/types/src/sheet/SheetCell.d.ts +25 -3
  305. package/types/src/sheet/SheetRange.d.ts +8 -2
  306. package/types/src/sheet/SheetRanges.d.ts +2 -2
  307. package/types/src/sheet/Worksheet.d.ts +117 -104
  308. package/types/src/sheet/_DelimitedText.d.ts +13 -0
  309. package/types/src/sheet/_IgnoredErrors.d.ts +0 -12
  310. package/types/src/sheet/_ListenerAnchor.d.ts +7 -1
  311. package/types/src/sheet/_ScalarListFactory.d.ts +46 -17
  312. package/types/src/sheet/_SheetCoords.d.ts +0 -7
  313. package/types/src/sheet/_SheetFilterUtils.d.ts +0 -8
  314. package/types/src/sheet/_SheetMutations.d.ts +4 -1
  315. package/types/src/sheet/_SheetStateReader.d.ts +0 -10
  316. package/types/src/sheet/_SheetStateTypes.d.ts +23 -14
  317. package/types/src/sheet/_SheetUtils.d.ts +1 -1
  318. package/types/src/sheet/style/_RowLine.d.ts +32 -0
  319. package/types/src/sheet/style/_StyleUtils.d.ts +6 -14
  320. package/types/src/sheetView/_SheetViewUtils.d.ts +0 -1
  321. package/types/src/slicer/_BuiltInSlicerStyles.d.ts +0 -5
  322. package/types/src/style/ICellStyle.d.ts +4 -0
  323. package/types/src/table/AnchoredTable.d.ts +0 -147
  324. package/types/src/text/TextFrame.d.ts +4 -1
  325. package/types/src/text/TextStacked.d.ts +0 -24
  326. package/types/src/text/TextWrapper.d.ts +3 -5
  327. package/types/src/text/_LineBox.d.ts +24 -0
  328. package/types/src/text/_TextUtils.d.ts +5 -2
  329. package/types/src/text/_TextWrapperFallback.d.ts +2 -1
  330. package/types/src/wasm/sdkWasm.d.ts +1 -1
  331. package/types/src/workbook/IWorkbook.d.ts +40 -1
  332. package/types/src/workbook/Workbook.d.ts +25 -13
  333. package/types/src/workbook/WorkbookRanges.d.ts +1 -1
  334. package/browser/esm/BGOFfpxr2jPIdqmV.mjs +0 -40
  335. package/browser/esm/BLoUBId2xZpXAK_H.mjs +0 -698
  336. package/browser/esm/C5E6zSGAALWf61n4.mjs +0 -199
  337. package/browser/esm/S2dNNx1a5ydRnARM.mjs +0 -367
  338. package/browser/esm/f1IoRb7tEb0QmCSt.mjs +0 -110
  339. package/browser/esm/gssVX_FH1XFN-twD.mjs +0 -210
  340. package/node/esm/BrCKGFRsX_ezFJ4B.mjs +0 -811
  341. package/node/esm/DOU54VsOjG-m-NyQ.mjs +0 -210
  342. package/node/esm/Db0v7zXNnyjBIjjI.mjs +0 -372
  343. package/node/esm/Df1bL6VFvrqIdSLB.mjs +0 -40
  344. package/node/esm/DrTZbfemSLq2mseG.mjs +0 -111
  345. package/types/src/dataTable/DataTable.d.ts +0 -67
  346. package/types/src/dataTable/DataTableCollection.d.ts +0 -19
  347. package/types/src/dataTable/IDataTable.d.ts +0 -99
  348. package/types/src/dataTable/IDataTableCollection.d.ts +0 -18
  349. package/types/src/dataTable/index.d.ts +0 -6
@@ -15,14 +15,6 @@ export declare function newChartType(type: IChart.Type | string | undefined): Ne
15
15
  export declare const toFormatCode: (format: string, locale?: string) => string;
16
16
  /** A range as a chart's formula names it: sheet-qualified and absolute. */
17
17
  export declare const formulaOfRange: (range: ICellRange) => string;
18
- /**
19
- * What a series setter's input states for a dimension: an array constant as values written into the
20
- * chart, else a reference. Values are always numbers (`numRef`); categories are numbers when every
21
- * cell they name holds a number or a date, two lines deep a multi-level reference, else text, as a
22
- * new chart states them (DESIGN-CHART §3.5).
23
- *
24
- * @param host The sheet a bare address is on.
25
- */
26
18
  export declare function sourceFromInput(input: ICellRange | string, dimension: 'values' | 'categories', host: IWorksheet): ChartModel.DataSource;
27
19
  /** How many cells (or array values) a setter's input names; 0 where it names none. */
28
20
  export declare function cellCountOf(input: ICellRange | string, host: IWorksheet | null): number;
@@ -37,11 +29,5 @@ export declare function categoriesFromInput(input: ICellRange | string, host: IW
37
29
  source: ChartModel.DataSource;
38
30
  axis: CategoryAxisFields | null;
39
31
  };
40
- /**
41
- * The series of a chart of `type` over `source`, and the chart's model, as Excel makes a new chart
42
- * (DESIGN-CHART §3.5).
43
- *
44
- * @param host The sheet a bare address is on.
45
- */
46
32
  export declare function createModelFromSource(type: NewChartType, source: ICellRange | ICellRanges | string, host: IWorksheet, seriesBy?: IChart.SeriesBy): ChartModel.ChartSpace;
47
33
  //# sourceMappingURL=_ChartSource.d.ts.map
@@ -20,7 +20,7 @@ export interface CreateChartOptions {
20
20
  * of {@link IChart} works, `getLayout` lays it out at a size, and `@sheetxl/react`'s `ChartElement`
21
21
  * draws it. Its writes are not undoable: it has no transaction store.
22
22
  *
23
- * The chart's code is loaded with the first chart, so this is asynchronous (DESIGN-CHART §7).
23
+ * The chart's code is loaded with the first chart, so this is asynchronous.
24
24
  */
25
25
  export declare function createChart(json: IChart.JSON, options?: CreateChartOptions): Promise<IChart>;
26
26
  //# sourceMappingURL=createChart.d.ts.map
@@ -15,8 +15,8 @@ import { DateSlots } from '../math/DateUnitCalcs';
15
15
  * asks each group's kind for the group: where its bars, points, slices or whatever it draws go.
16
16
  *
17
17
  * @beta The context a kind is given speaks the layout's frame units today: points from the frame's
18
- * origin, as the layout works in them (DESIGN-CHART §4), with `at` and `px` to convert. It will
19
- * speak px, as {@link ChartLayout} does, before the contract is settled.
18
+ * origin, as the layout works in them, with `at` and `px` to convert. This may change to px, as
19
+ * {@link ChartLayout} uses, while the API is in beta.
20
20
  *
21
21
  * `coordinates` says what the chrome lays out for the kind: `cartesian`, a pair of axes
22
22
  * (category and value, or a scatter's two value axes) whose scales are fit to what
@@ -177,7 +177,7 @@ export declare namespace ChartKind {
177
177
  xOfValue(scale: ValueScale, axis: ResolvedChart.Axis, value: number): number;
178
178
  /** The series layout every kind states: id, name, values, slots, fill, stroke and trendlines. */
179
179
  base(series: ResolvedChart.Series): Omit<ChartLayout.SeriesLayout, 'marker'>;
180
- /** A line or area group's up/down bars, high-low lines and drop lines (DESIGN-CHART §4.7). */
180
+ /** A line or area group's up/down bars, high-low lines and drop lines. */
181
181
  analysisLines(scale: ValueScale, tops: (number | null)[][], baseValue: number): Pick<ChartLayout.LineGroupLayout, 'upDownBars' | 'hiLowLines' | 'dropLines'>;
182
182
  /** Lines in the frame cut to the plot, in px. */
183
183
  segments(lines: Pt[][]): ChartLayout.Segment[];
@@ -219,7 +219,7 @@ export declare namespace ChartKind {
219
219
  * The kinds of chart group, by group type: the built-ins, and any a host registers.
220
220
  *
221
221
  * @remarks
222
- * The built-in kinds register when the chart module loads (with the first chart, DESIGN-CHART §7),
222
+ * The built-in kinds register when the chart module loads (with the first chart),
223
223
  * so before that {@link get} answers `undefined` for `'bar'`; a host's kind registered under a
224
224
  * built-in type keeps its place when they do. A registration is a call, never a side effect of an
225
225
  * import: the package declares no side effects, so a bundler drops a module imported only for one.
@@ -1,5 +1,4 @@
1
1
  import { ChartKind } from './ChartKind';
2
- /** The 2016 types not drawn: the region map, laid out as a placeholder (PLAN-CHART §4). */
3
2
  export declare const PLACEHOLDER_TYPES: readonly ["regionMap"];
4
3
  /** A region map: a label in the plot saying the type is not drawn. */
5
4
  export declare const PlaceholderKind: ChartKind;
@@ -24,7 +24,11 @@ export interface ChartLayout {
24
24
  width: number;
25
25
  height: number;
26
26
  chartArea: {
27
- fill: IFill.JSON | null;
27
+ /**
28
+ * `undefined` where the chart states no fill: the chart area is the background of where it is
29
+ * drawn (Excel draws it in the theme's background color).
30
+ */
31
+ fill: IFill.JSON | null | undefined;
28
32
  border: IStroke.JSON | null;
29
33
  /** The radius of the chart area's corners, measured along the border's path; 0 for square corners. */
30
34
  cornerRadius: number;
@@ -1,14 +1,4 @@
1
1
  import { IFontCollection } from '../../font/IFontCollection';
2
- /**
3
- * How chart layout measures text: one line's advance width and its height, in points.
4
- *
5
- * @remarks
6
- * Excel lays chart text out with DirectWrite's numbers, not GDI's: advances unhinted and unkerned,
7
- * and a line as tall as the font's ascent plus descent at the exact size, from the typo metrics
8
- * when the font sets `USE_TYPO_METRICS` and from `usWinAscent`/`usWinDescent` otherwise (measured,
9
- * DESIGN-CHART §4). Every host measures through this one interface, so a server and a browser lay
10
- * a chart out alike.
11
- */
12
2
  export interface TextMeasurer {
13
3
  /** The advance width of `text` on one line, in pt. */
14
4
  width(text: string, font: TextMeasurer.Font): number;
@@ -24,15 +14,5 @@ export declare namespace TextMeasurer {
24
14
  italic?: boolean;
25
15
  }
26
16
  }
27
- /**
28
- * Measures with the font tables of `fonts`: the family's own table, a related family's, or a
29
- * built-in one (DESIGN-FONTS §3).
30
- *
31
- * @remarks
32
- * A table keeps `usWinAscent`/`usWinDescent` only, so a family that sets `USE_TYPO_METRICS` and has
33
- * typo metrics that differ from them measures taller than Excel draws it. Aptos Narrow, the default
34
- * chart font, has no table: it is measured with Calibri's, whose width differs by up to 8% per
35
- * string and whose line height (1.2207 em) is Aptos Narrow's.
36
- */
37
17
  export declare function createTableMeasurer(fonts?: IFontCollection): TextMeasurer;
38
18
  //# sourceMappingURL=TextMeasurer.d.ts.map
@@ -5,26 +5,10 @@ import { ChartLayout } from './ChartLayout';
5
5
  import { ResolvedChart } from '../resolve/_ResolvedChart';
6
6
  import { AxisLimits } from '../math/UnitCalcs';
7
7
  import { TrendlineTextRun } from '../math/Trendlines';
8
- /**
9
- * What the layout and the kinds share: the frame's units and the conversions to px, and the small
10
- * questions every kind asks of an axis or a group.
11
- *
12
- * @remarks
13
- * Lengths are points until the end, where they become px. Element positions are relative to a
14
- * frame inset {@link FRAME_INSET} from the chart on every side: COM reports them in it, the title
15
- * centers in it, and the margins are symmetric about it, at every chart size and border width
16
- * probed (DESIGN-CHART §4, `probe-chart-layout.ps1`, Excel 16.0, 2026-10-16).
17
- */
18
8
  export declare const FRAME_INSET = 4;
19
9
  export declare const PX_PER_PT: number;
20
10
  /** How far a value axis's end labels may reach past the plot area's outer rect. */
21
11
  export declare const LABEL_OVERHANG = 6;
22
- /**
23
- * The band axis labels take beside the plot: the widest label (vertical value axis) or one line
24
- * (horizontal axis) plus `perLine` lines, less 4.5 pt. Fit on Aptos Narrow from 6 to 28 pt to
25
- * 0.012 pt; Calibri and Arial at 18 pt fall within 0.15 pt and 0.54 pt. A scatter's x axis takes the
26
- * horizontal band too (`probe-chart-area-scatter.ps1` S0).
27
- */
28
12
  export declare const VALUE_LABEL_BAND: {
29
13
  perLine: number;
30
14
  offset: number;
@@ -1,11 +1,3 @@
1
- /**
2
- * The statistics a box and whisker draws for one set of values, as Excel computes them (measured
3
- * 2026-10-22, `probe-chart-2016-types.ps1` B01-B13 and `probe-chart-2016-types-reopen.ps1` B05-B07;
4
- * DESIGN-CHART §4.17): quartiles by Excel's exclusive (`QUARTILE.EXC`) or inclusive
5
- * (`QUARTILE.INC`) method, the median the same either way; whiskers to the furthest values within
6
- * 1.5 interquartile ranges of the box, and the values beyond them outliers (B09: 60 beyond a box of
7
- * 15..25).
8
- */
9
1
  export type QuartileMethod = 'inclusive' | 'exclusive';
10
2
  export interface BoxStats {
11
3
  count: number;
@@ -1,13 +1,3 @@
1
- /**
2
- * Excel's date axis (measured 2026-10-17, `probe-chart-dates.ps1` and `probe-chart-dates-units.ps1`,
3
- * DESIGN-CHART §4.2). Dates are serials, in the 1900 or 1904 system; lengths are points.
4
- *
5
- * @remarks
6
- * A date axis has one slot per base unit (a day, a month or a year) from its first date, snapped to
7
- * the start of its unit, to its last; each point is drawn in the slot of its date, so a gap in the
8
- * dates is a gap on the axis and two points of one date share a slot. Labels are drawn on the
9
- * major ticks only, from the first slot on, in the axis's number format.
10
- */
11
1
  export type TimeUnit = 'days' | 'months' | 'years';
12
2
  /** A length of time: `count` of `unit`. */
13
3
  export interface DateUnit {
@@ -1,20 +1,3 @@
1
- /**
2
- * How a histogram bins its values, as Excel does (measured 2026-10-22,
3
- * `probe-chart-2016-types.ps1` H01-H16 and `probe-chart-2016-types-reopen.ps1` H04-H07, H13;
4
- * DESIGN-CHART §4.16).
5
- *
6
- * - The automatic bin width is Scott's rule, 3.5·s/∛n for the sample standard deviation s, rounded
7
- * to two significant digits (27.32 → 27, 14.75 → 15, 18.88 → 19, 0.4001 → 0.40, 81.32 → 81);
8
- * {@link REPEATED_VALUE_WIDTH} when every value is the same (H15: one value, [7, 12]).
9
- * - A stated bin count divides the values' range into that many bins (H05: 81/5 = 16.2).
10
- * - The bins start at the minimum, or at the underflow bound where one is stated, and run up by
11
- * the width until they reach the maximum, or the overflow bound, where the last bin is cut
12
- * (H06: (30, 57], (57, 60]; H07: [12, 39], (39, 60]). An underflow bin takes the values at or
13
- * below its bound, an overflow bin those above (`intervalClosed r`), or below and at or above
14
- * (`l`).
15
- * - Closed on the right, the first bin takes its lower bound too, `[12, 39]`, the others `(39, 66]`;
16
- * closed on the left, every bin is `[30, 40)` (H13), and a value at the maximum has a bin of its own.
17
- */
18
1
  /** The bin width when the values have no spread: belief, from one value repeated (H15). */
19
2
  export declare const REPEATED_VALUE_WIDTH = 5;
20
3
  export interface HistogramOptions {
@@ -1,14 +1,4 @@
1
1
  import { TextMeasurer } from '../layout/TextMeasurer';
2
- /**
3
- * Excel's fit of category axis labels: as they are, wrapped, turned to 45 and then 90 degrees, and
4
- * then only every nth one shown (measured 2026-10-17, `probe-chart-categories.ps1`, DESIGN-CHART
5
- * §4.1). Lengths are points.
6
- *
7
- * @remarks
8
- * Rescued from exhibit-master's `OrdUnitCalcs.js` and typed over {@link TextMeasurer}: the same
9
- * order of trials, with the spacing each angle needs taken from {@link calcDistanceNeededAtAxis}
10
- * of the labels' own width, and the label interval from how many labels the axis holds.
11
- */
12
2
  /** What is drawn for a label cut short. */
13
3
  export declare const LABEL_ELLIPSIS = "\u2026";
14
4
  /** How to fit one axis's labels. */
@@ -35,11 +25,6 @@ export interface CategoryFitOptions {
35
25
  reversed?: boolean;
36
26
  /** The labels are stacked letter over letter (`vert="wordArtVert"`). */
37
27
  vertical?: boolean;
38
- /**
39
- * The labels are the innermost level of multi-level categories. Excel then turns them straight
40
- * to 90 degrees when it chooses, never 45 (measured 2026-10-17, `probe-chart-multilevel.ps1`: every
41
- * turn of four sweeps, where 45 degrees would have fit; a stated 45 is kept).
42
- */
43
28
  innermost?: boolean;
44
29
  }
45
30
  /** An axis's labels as fitted. */
@@ -74,18 +59,6 @@ export declare function findLargestWord(text: string, measure: (text: string) =>
74
59
  * line).
75
60
  */
76
61
  export declare function wrapLabel(text: string, width: number, measure: (text: string) => number, breakWords?: boolean): string[];
77
- /**
78
- * Stacked labels (`vert="wordArtVert"`, measured 2026-10-22, `probe-chart-axes.ps1` V01-V09): each
79
- * letter on its own line, {@link STACKED_LETTER_PITCH} lines apart (12.82 pt at 9 pt, fitted there
80
- * and held within 0.2 pt at 6, 14 and 18 pt); along the bottom a label taller than half the plot's
81
- * outer height breaks into columns of as many letters as fit, {@link STACKED_COLUMN_PITCH} font
82
- * sizes apart (from the pictures at 9 and 14 pt), centered on the category. The last label reaches
83
- * past its category along the axis by {@link STACKED_REACH} of its own column's height, the
84
- * letters' drawn pitch (V01, V02, V06, V07, V09: 0.939 to 0.940 at 9, 14 and 18 pt); the first
85
- * reaches nowhere (V02, V06, V09: two columns over the value axis's band, which stays).
86
- * Up a side, a label is one column as deep as a letter's pitch, whatever its letters (V03, V04 at
87
- * 9 pt: 12.82 pt for "Jan".."Jun" and for "0".."30").
88
- */
89
62
  export declare const STACKED_LETTER_PITCH: number;
90
63
  export declare const STACKED_COLUMN_PITCH = 0.95;
91
64
  /**
@@ -109,13 +82,6 @@ export interface CategoryGroup {
109
82
  /** The label; `null` for the blanks before a level's first label, a group with none. */
110
83
  text: string | null;
111
84
  }
112
- /**
113
- * The groups of each level of multi-level categories beyond the innermost, the nearest the axis
114
- * first. `levels` are by level, the innermost first, each by category with `''` for a blank. A
115
- * label starts a group, and a blank continues the one before it; blanks before a level's first
116
- * label are a group with no label (measured 2026-10-17, `probe-chart-multilevel.ps1` L21). A group
117
- * also ends where a group of a level further out does (believed).
118
- */
119
85
  export declare function groupCategories(levels: readonly (readonly string[])[], count: number): CategoryGroup[][];
120
86
  /** How to fit one outer level of multi-level categories. */
121
87
  export interface LevelFitOptions {
@@ -137,30 +103,11 @@ export interface LevelFit {
137
103
  /** How far the level's labels reach away from the axis: their lines' height. */
138
104
  depth: number;
139
105
  }
140
- /**
141
- * Fits the labels of one outer level of multi-level categories to their groups, a group having its
142
- * categories' share of the axis (measured 2026-10-17, `probe-chart-multilevel.ps1`):
143
- * - Along the bottom, each label wraps between words to its group's share, its lines centered,
144
- * when every word of the level fits its group; else every label of the level wraps to
145
- * {@link OVERRUN_WRAP} of the axis and may overrun its group (the long outer sweep).
146
- * - Up a side, the labels are turned to read up and wrap to their group's share, inside words too
147
- * (L16, the bar height sweep).
148
- * - A stated interval shows a group's label only where its first category's label is shown (L27,
149
- * L38-L41); Excel's own interval leaves every outer label shown (L4).
150
- */
151
106
  export declare function fitCategoryLevel(groups: readonly CategoryGroup[], font: TextMeasurer.Font, measurer: TextMeasurer, options: LevelFitOptions): LevelFit;
152
107
  /** How to fit a date axis's labels. */
153
108
  export interface DateFitOptions extends Omit<CategoryFitOptions, 'skip'> {
154
109
  /** A wide date in the axis's format (December 13th, 2000): what Excel measures to decide whether labels stay level. */
155
110
  sample: string;
156
111
  }
157
- /**
158
- * Fits a date axis's labels, `texts` one per slot and `null` for a slot with no major tick
159
- * (measured 2026-10-17, `probe-chart-dates.ps1`), by the room the labels have: level
160
- * when each has room for {@link DATE_LEVEL}, at 45 degrees when two ticks are √2 × {@link DATE_LABEL_SPAN}
161
- * × the size apart, else at 90 degrees, which needs the span the major unit is fit to (every move between
162
- * 45 and 90 degrees in the sweeps within 0.2 pt). A level label stays on one line (believed). Up a
163
- * side the labels stay level.
164
- */
165
112
  export declare function fitDateLabels(texts: readonly (string | null)[], font: TextMeasurer.Font, measurer: TextMeasurer, options: DateFitOptions): CategoryLabelFit;
166
113
  //# sourceMappingURL=OrdUnitCalcs.d.ts.map
@@ -1,18 +1,3 @@
1
- /**
2
- * How Excel tiles a treemap (measured 2026-10-22, `probe-chart-2016-types.ps1` T01-T11 and the
3
- * 168 pictures of `probe-chart-treemap-sweep.ps1`; DESIGN-CHART §4.18). The children of a node,
4
- * largest first, each take a strip of the rect left: a column of the rect's full height as wide
5
- * as the child's share, unless the rect is taller than wide and a row of its full width would be no
6
- * wider than {@link TREEMAP_ASPECT} times its height, when the child takes that row. The last child
7
- * takes what is left.
8
- *
9
- * @remarks
10
- * The rule is not squarified: two near-equal children of a rect 1.12 times taller than wide sit
11
- * side by side (T01's Europe, T06), as a squarified layout never would, while children of 50 and
12
- * 30 stack in a square (the sweep). Across the sweep's eight pairs the row's aspect at which the
13
- * children turn from side by side to stacked lies between 1.587 and 1.639 for every pair: the
14
- * golden ratio.
15
- */
16
1
  export declare const TREEMAP_ASPECT = 1.618;
17
2
  export interface TreemapRect {
18
3
  x: number;
@@ -1,11 +1,3 @@
1
- /**
2
- * Excel's trendlines: the fits, their R², the moving average, and the label's equation.
3
- *
4
- * @remarks
5
- * Measured against Excel 16.0 (DESIGN-CHART §4.5, `probe-chart-trendlines.ps1`): every coefficient
6
- * of the nine types on a line chart and a scatter, a set intercept, and a sweep of numbers through
7
- * the label's General format.
8
- */
9
1
  export type TrendlineType = 'exp' | 'linear' | 'log' | 'movingAvg' | 'poly' | 'power';
10
2
  /** A fitted trendline. */
11
3
  export interface TrendlineFit {
@@ -1,12 +1,3 @@
1
- /**
2
- * Excel's automatic axis scales: bounds, major and minor units, and ticks for linear, logarithmic
3
- * and percent value axes.
4
- *
5
- * @remarks
6
- * Rescued from exhibit-master and typed. The linear rules are KB 214075's (the 16.667% zero rule,
7
- * 5% headroom, the straddling cases), checked by `unitCalcs.test.ts` against values observed in
8
- * Excel. Label fitting ({@link fitMajorUnitLinear}) follows the probe in DESIGN-CHART §4.
9
- */
10
1
  /** `undefined` and `null` both mean "not stated". */
11
2
  type Maybe = number | null | undefined;
12
3
  /** The scale of one axis. */
@@ -57,19 +48,6 @@ export declare function calcAxisLimitsLog(minIn?: number, maxIn?: number, explic
57
48
  * - the bounds snap outward to whole major units.
58
49
  */
59
50
  export declare function calcAxisLimitsLinear(minIn: Maybe, maxIn: Maybe, explicitMin?: Maybe, explicitMax?: Maybe, explicitMinorUnits?: Maybe, explicitMajorUnits?: Maybe, isScatterOrBubble?: boolean, headroom?: number, majorHeadroom?: number): AxisLimits;
60
- /**
61
- * The major unit at which the labels of a linear axis fit: the automatic unit, else the next on
62
- * Excel's 1, 2, 5 ladder ({@link nextMajorUnit}), until `fits` accepts the ticks.
63
- *
64
- * @param majorUnit The automatic major unit.
65
- * @param boundsAt The axis's bounds at a major unit: they snap to it.
66
- * @param fits Whether labels at these tick values fit along the axis.
67
- *
68
- * @remarks
69
- * Measured (DESIGN-CHART §4): at 16 pt the K1 secondary axis goes from 0.1 to 0.2; at 28 pt the
70
- * primary goes 50 → 100 → 200 and the secondary 0.1 → 0.2 → 0.5. A unit that leaves two ticks or
71
- * fewer is the last one tried.
72
- */
73
51
  export declare function fitMajorUnitLinear(majorUnit: number, boundsAt: (unit: number) => {
74
52
  min: number;
75
53
  max: number;
@@ -93,11 +93,6 @@ export declare const setSeriesMarker: (idx: number, marker: {
93
93
  }) => ModelEdit;
94
94
  /** A group option set through one of its series, as Office Scripts sets it: gap width, overlap, an of-pie's second plot size. */
95
95
  export declare const setGroupOption: <K extends "gapWidth" | "overlap" | "secondPieSize">(idx: number, key: K, value: number) => ModelEdit;
96
- /**
97
- * A bubble group's option set through one of its series, as Excel writes it (`probe-chart-bubble.ps1`
98
- * B02, B04, B06): `bubbleScale`, `showNegBubbles`, and `sizeRepresents` `w` (by area, Excel's
99
- * default, it states none: by belief, as B01 states none).
100
- */
101
96
  export declare const setBubbleOption: (idx: number, option: {
102
97
  bubbleScale?: number;
103
98
  showNegBubbles?: boolean;
@@ -111,17 +106,6 @@ export type OfPieSplitChange = {
111
106
  } | {
112
107
  points: readonly number[];
113
108
  };
114
- /**
115
- * An of-pie's split changed as Excel writes it (measured 2026-10-18, `probe-chart-ofpie.ps1`), worked
116
- * out from the group it is applied to, so a type and a value set together compose as Excel's two
117
- * writes do (O03-O05). `values` are the series' points, by which the points now in the second plot
118
- * are found:
119
- * - a type: by value writes a split value of 1 (O27; by percent, and from a type other than the
120
- * automatic, the same by belief); by position the number of points in the second plot now (by
121
- * belief); by hand, the points in the second plot now (O29);
122
- * - a value: on the automatic split it becomes one by position (O28);
123
- * - the points: a split by hand of them (O30: one point moved there adds it to those there).
124
- */
125
109
  export declare const setOfPieSplit: (idx: number, change: OfPieSplitChange, values: readonly (number | null)[]) => ModelEdit;
126
110
  /** The flags a data label shows. */
127
111
  export type LabelFlag = 'showVal' | 'showCatName' | 'showSerName' | 'showPercent' | 'showBubbleSize' | 'showLegendKey';
@@ -133,10 +117,6 @@ export declare const showsLabels: (labels: ChartModel.DataLabelOptions | undefin
133
117
  * Excel's own markup for a label turned off is not measured.
134
118
  */
135
119
  export declare const setLabelsVisible: (idx: number, visible: boolean, chartLevel?: boolean) => ModelEdit;
136
- /**
137
- * What a group's own labels state, set with every series' by `SetElement` (`probe-chart-elements.ps1`
138
- * E201, E202: the group's `showVal 1` and `dLblPos`); `ApplyDataLabels` leaves the group's alone (L01).
139
- */
140
120
  export declare const setGroupLabels: (idx: number, options: {
141
121
  showVal?: boolean;
142
122
  dLblPos?: ChartModel.DataLabelOptions["dLblPos"];
@@ -222,10 +202,6 @@ export declare const setErrorBarsShape: (idx: number, direction: ErrorBarsDirect
222
202
  }) => ModelEdit;
223
203
  /** A group's lines of one kind: `c:hiLowLines`, `c:dropLines`, `c:serLines`. */
224
204
  export type GroupLinesKind = 'hiLowLines' | 'dropLines' | 'serLines';
225
- /**
226
- * The line of the lines Excel adds (`probe-chart-lines.ps1` H01, D01, D03, V01, V03): 0.75 pt with
227
- * flat ends, high-low lines darker than drop and series lines.
228
- */
229
205
  export declare const LINES_COLORS: Readonly<Record<GroupLinesKind, string>>;
230
206
  /** The lines of `kind` Excel adds: its line, no fill. */
231
207
  export declare const newGroupLines: (kind: GroupLinesKind) => ChartModel.ChartLines;
@@ -361,10 +337,6 @@ export declare const setAxisShape: (axId: number, patch: {
361
337
  }) => ModelEdit;
362
338
  /** The axis labels' font (X38-X42, X59). */
363
339
  export declare const setAxisFont: (axId: number, patch: FontPatch) => ModelEdit;
364
- /**
365
- * Shows the axis's title with Excel's own text (`probe-chart-elements.ps1` 301-311: a title with
366
- * no `tx`, 10 pt, read up a side), or removes it.
367
- */
368
340
  export declare const setAxisTitleVisible: (axId: number, visible: boolean) => ModelEdit;
369
341
  /** Whether the axis title is drawn over the plot area (`c:overlay`, as the chart title's). */
370
342
  export declare const setAxisTitleOverlay: (axId: number, overlay: boolean) => ModelEdit;
@@ -375,7 +347,6 @@ export declare const setAxisTitleShape: (axId: number, patch: {
375
347
  fill?: IFill.JSON;
376
348
  stroke?: IStroke.JSON;
377
349
  }) => ModelEdit;
378
- /** The axis title's orientation (`probe-chart-elements.ps1` 301-311: rotated reads up, vertical is stacked, horizontal level). */
379
350
  export declare const setAxisTitleRotation: (axId: number, rotation: number | "vertical" | "auto") => ModelEdit;
380
351
  /** A category axis's label or tick mark spacing (X43, X44: `tickLblSkip`, `tickMarkSkip`); `null` for automatic. */
381
352
  export declare const setAxisSkip: (axId: number, which: "tickLblSkip" | "tickMarkSkip", count: number | null) => ModelEdit;
@@ -477,10 +448,6 @@ export declare const setLabelsFont: (idx: number, patch: FontPatch) => ModelEdit
477
448
  export declare const setLabelsRotation: (idx: number, rotation: number | "vertical" | "auto") => ModelEdit;
478
449
  /** Whether a series' labels take the values' format (L15: off writes `General` unlinked). */
479
450
  export declare const setLabelsLinkNumberFormat: (idx: number, linked: boolean) => ModelEdit;
480
- /**
481
- * The cells a series' labels show (Excel's "Value From Cells", L07 and `probe-chart-values.ps1`
482
- * W8): the series' `c15:datalabelsRange` and its labels' `c15:showDataLabelsRange`; `null` removes both.
483
- */
484
451
  export declare const setLabelsRange: (idx: number, source: ChartModel.DataReference | null) => ModelEdit;
485
452
  /** The `c:ext` uri of a series' `c15:datalabelsRange`, and of its labels' `c15:showDataLabelsRange`. */
486
453
  export declare const DATALABELS_RANGE_URI = "{02D57815-91ED-43cb-92C2-25804820EDAC}";
@@ -9,13 +9,6 @@ export interface GroupTarget {
9
9
  export type AxisGroup = 'primary' | 'secondary';
10
10
  /** Makes an `axId` no axis of the chart has. */
11
11
  export type NewAxisId = () => number;
12
- /**
13
- * Types that do not combine. Measured: setting one series of a chart to bubble, a 3-D type or
14
- * surface converts every series, and setting one series of such a chart to anything converts every
15
- * series too. Of-pie is treated the same way; that is a belief, not measured. Stock is not: no
16
- * series can be given a stock type (Excel refuses), and a stock series given another type leaves
17
- * the stock group alone (measured 2026-10-18, `probe-chart-stock-refusals.ps1`).
18
- */
19
12
  export declare const isWholeChartType: (group: GroupTarget) => boolean;
20
13
  /**
21
14
  * The axis group a group draws against, or `null` for a group with no axes (a pie).
@@ -50,24 +43,6 @@ export declare const seriesKeys: (plotArea: ChartModel.PlotArea | undefined) =>
50
43
  * leaves them all on the primary axes in one group).
51
44
  */
52
45
  export declare const tidyPlotArea: (plotArea: ChartModel.PlotArea) => ChartModel.PlotArea;
53
- /**
54
- * Gives the series `idx` the type `target`, moving it to the group of that type on the axes it can
55
- * share, as Excel does.
56
- *
57
- * @remarks
58
- * - Changing only a group option (clustered to stacked, area to stacked area) changes the whole
59
- * group, every series in it (measured): grouping is per group.
60
- * - The series joins the group of the target type on its own axes when it can share them, else on
61
- * the other pair; when neither fits it gets the secondary axes, made for it. A pie or doughnut has
62
- * no axes.
63
- * - A category series added to a scatter chart shares the scatter group's axes, whose horizontal
64
- * axis becomes a category axis (measured).
65
- * - Joining an existing column group this way drops that group's `overlap` (measured, and odd:
66
- * moving a series back by its axis group keeps it).
67
- * - The group it leaves is removed when empty, and with it any axes no group uses.
68
- *
69
- * @throws When the move is one the probes did not measure: a third pair of axes would be needed.
70
- */
71
46
  export declare const setSeriesType: (plotArea: ChartModel.PlotArea, idx: number, target: GroupTarget, newAxisId: NewAxisId) => ChartModel.PlotArea;
72
47
  /**
73
48
  * Moves the series `idx` to the primary or secondary axes, keeping its type.
@@ -1,15 +1,4 @@
1
1
  import { IRange } from '@sheetxl/primitives';
2
- /**
3
- * Which series a chart makes of a selection, as Excel's Insert Chart decides (measured 2026-10-17,
4
- * `probe-chart-insert.ps1`, 83 selections through `AddChart2`, DESIGN-CHART §3.5). Ported from
5
- * exhibit-master's `ChartSelection.ts`, whose header scan Excel agrees with; what it lacked (several
6
- * areas side by side, a bubble's sizes) is Excel's measured behavior.
7
- *
8
- * @remarks
9
- * Pure: it reads the cells through a {@link CellKind} callback and answers coordinates, so it runs
10
- * on any grid. The caller turns a selection into areas first (a single cell becomes its current
11
- * region, whole rows or columns their used cells).
12
- */
13
2
  /** A cell as inference reads it: a date is a number in a date format. */
14
3
  export type CellKind = 'blank' | 'text' | 'number' | 'date';
15
4
  /** Whether each series is a row or a column of the data. */
@@ -41,12 +30,5 @@ export interface Inference {
41
30
  * @param seriesBy The direction, or `undefined` to let the cells decide.
42
31
  */
43
32
  export declare function inferSeries(areas: readonly IRange.Coords[], kindAt: (rowIndex: number, colIndex: number) => CellKind, family?: InferenceFamily, seriesBy?: SeriesBy): Inference;
44
- /**
45
- * The cells around `cell` up to blank rows and columns on every side, diagonals included: what
46
- * Excel charts when one cell is selected (Excel's `CurrentRegion`, measured on a table, I21). A
47
- * blank cell with nothing around it is itself.
48
- *
49
- * @param last The last row and column that hold anything; nothing past them is read.
50
- */
51
33
  export declare function currentRegion(cell: IRange.CellCoords, kindAt: (rowIndex: number, colIndex: number) => CellKind, last: IRange.CellCoords): IRange.Coords;
52
34
  //# sourceMappingURL=_Inference.d.ts.map
@@ -3,12 +3,6 @@ import { IFill } from '../../fill/IFill';
3
3
  import { IStroke } from '../../fill/IStroke';
4
4
  import { ChartModel } from './ChartModel';
5
5
  import { CellKind, Inference, InferenceFamily } from './_Inference';
6
- /**
7
- * The model Excel makes for a new chart (measured 2026-10-17, `probe-chart-insert.ps1`: the part
8
- * Excel 16 writes for each gallery type through `AddChart2`, `fixtures/insert/parts/`; held to them by
9
- * io-xlsx's `chart.insert.node.test.ts`). Excel's chart style for the type (`c14:style` 102, the
10
- * series fills of `colors10`, the text sizes of T1) is stated on every element, as Excel states it.
11
- */
12
6
  /** The gallery types a new chart can be, by Office Scripts' names. */
13
7
  export type NewChartType = 'columnClustered' | 'columnStacked' | 'columnStacked100' | 'barClustered' | 'barStacked' | 'barStacked100' | 'line' | 'lineStacked' | 'lineStacked100' | 'lineMarkers' | 'lineMarkersStacked' | 'lineMarkersStacked100' | 'pie' | 'pieExploded' | 'doughnut' | 'pieOfPie' | 'barOfPie' | 'area' | 'areaStacked' | 'areaStacked100' | 'xyscatter' | 'xyscatterLines' | 'xyscatterLinesNoMarkers' | 'xyscatterSmooth' | 'xyscatterSmoothNoMarkers' | 'bubble' | 'bubble3DEffect' | 'radar' | 'radarMarkers' | 'radarFilled' | 'stockHLC' | 'stockOHLC' | 'stockVHLC' | 'stockVOHLC' | 'doughnutExploded' | 'surface' | 'surfaceWireframe' | 'surfaceTopView' | 'surfaceTopViewWireframe' | '3DColumn' | '3DColumnClustered' | '3DColumnStacked' | '3DColumnStacked100' | '3DBarClustered' | '3DBarStacked' | '3DBarStacked100' | '3DLine' | '3DPie' | '3DPieExploded' | '3DArea' | '3DAreaStacked' | '3DAreaStacked100' | 'waterfall' | 'treemap' | 'sunburst' | 'histogram' | 'pareto' | 'boxwhisker' | 'funnel' | 'regionMap';
14
8
  /** What the builder reads of the cells the series name. */
@@ -66,13 +60,7 @@ export interface TypeSpec {
66
60
  export declare const typeSpec: (type: NewChartType) => TypeSpec;
67
61
  /** Whether `type` is a gallery type a new chart can be. */
68
62
  export declare const isNewChartType: (type: string) => type is NewChartType;
69
- /** A stock type, which no series can be given (Excel refuses one, `probe-chart-stock-refusals.ps1`). */
70
63
  export declare const isStockType: (type: NewChartType) => boolean;
71
- /**
72
- * How many series a new chart of a stock type is made of: its volume, open, high, low and close as
73
- * it has them. Excel makes a stock chart of no other count (`probe-chart-stock-refusals.ps1`);
74
- * `null` for any other type.
75
- */
76
64
  export declare const stockSeriesCount: (type: NewChartType) => number | null;
77
65
  /** How a type takes its series from the cells. */
78
66
  export declare const familyOf: (type: NewChartType) => InferenceFamily;
@@ -131,13 +119,6 @@ export interface SeriesTypeTarget {
131
119
  }
132
120
  /** The group a series of `type` is drawn in, as `_Grouping` takes it. */
133
121
  export declare const seriesTypeTarget: (type: NewChartType) => SeriesTypeTarget;
134
- /**
135
- * `series` drawn as a series of `type` in its own color, as Excel restates it when one series of a
136
- * chart changes type (measured 2026-10-17, `probe-chart-edits.ps1` SD5: a column series made a line
137
- * with markers states a 2.25 pt line of its fill's color, a 5 pt circle marker of it, `smooth 0`, and
138
- * no `invertIfNegative`). The other directions restate what a new chart of `type` states: believed.
139
- * A series whose drawing already belongs to `type` is returned as it is.
140
- */
141
122
  export declare const drawSeriesAsType: (series: ChartModel.Series, type: NewChartType, valueCount: number) => ChartModel.Series;
142
123
  /** What a category axis states of its categories. */
143
124
  export type CategoryAxisFields = Pick<ChartModel.Axis, 'type' | 'numFmt' | 'lblAlgn' | 'lblOffset' | 'noMultiLvlLbl' | 'baseTimeUnit'>;
@@ -147,16 +128,6 @@ export type CategoryAxisFields = Pick<ChartModel.Axis, 'type' | 'numFmt' | 'lblA
147
128
  * linked, where there are categories (I03).
148
129
  */
149
130
  export declare function categoryAxisOf(areas: readonly IRange.Coords[] | null, cells: NewChartCells): CategoryAxisFields;
150
- /**
151
- * The model of a new chart of `type` over the series `inference` found.
152
- *
153
- * @remarks
154
- * Every series states its fill (Excel's `colors10` in order), the axes and text state Excel's
155
- * style, a chart of two series or more or a pie has a legend at the bottom (at the top for radar), and the
156
- * title is automatic: it shows a single series' name, else "Chart Title" (I01-B23). Categories that
157
- * are all dates make a date axis with the base unit Excel chooses (DESIGN-CHART §4.2). The caches
158
- * are left out: a save restates them from the cells.
159
- */
160
131
  export declare function createChartModel(type: NewChartType, inference: Inference, cells: NewChartCells): ChartModel.ChartSpace;
161
132
  /**
162
133
  * The series axis of a 3-D column, line or area, or of a surface: along the bottom, crossing the
@@ -176,18 +147,6 @@ export interface ChartExEntry {
176
147
  /** The formula of the cell at the categories' head: what a region map names its categories by. */
177
148
  catName?: string;
178
149
  }
179
- /**
180
- * A 2016 chart's model, as Excel makes it for the type (measured 2026-10-22, `probe-chart-insert.ps1`,
181
- * the gallery; `chart-insert-gallery.xlsx`): one series drawn and the rest hidden (a box and
182
- * whisker draws them all), each with the type's labels and layout options; a treemap's and a
183
- * sunburst's values are their tiles' sizes, and a region map colors its regions by its values.
184
- * Only a waterfall, a histogram and a box and whisker state a value axis; a treemap, a sunburst
185
- * and a region map no axis at all. A pareto's series sum by category and each draws its running
186
- * total on a percentage axis. Its title and legend are Excel's; the part's style and colors are the
187
- * writer's.
188
- *
189
- * @param rows Whether the series read their cells along rows, which each reference says.
190
- */
191
150
  export declare function chartExModel(spec: TypeSpec, entries: readonly ChartExEntry[], rows: boolean): ChartModel.ChartSpace;
192
151
  /** A value axis: a scatter's two, or a category chart's one. `formatCode` `null` states no number format. */
193
152
  export declare function valueAxis(axId: number, crossAx: number, axPos: 'b' | 'l' | 'r', formatCode: string | null, xy: boolean): ChartModel.Axis;
@@ -7,12 +7,5 @@ export interface OfPieSplit {
7
7
  }
8
8
  /** How many points Excel's automatic split puts in the second plot: the last third, rounded up. */
9
9
  export declare const automaticSplitCount: (count: number) => number;
10
- /**
11
- * By point, whether it is in an of-pie's second plot (measured 2026-10-18, `probe-chart-ofpie.ps1`):
12
- * the last `splitPos` by position, those of a value less than `splitPos`, or less than `splitPos`
13
- * percent of the total, or those listed (`custSplit`). Excel's automatic split takes the last third
14
- * by position, rounded up (O01, O17, O21-O24: 3 of 7, 2 of 4, 4 of 10, 2 of 6, 1 of 3 and of 2; COM
15
- * reads it as a split by position).
16
- */
17
10
  export declare const secondPlotPoints: (split: OfPieSplit, values: readonly (number | null)[]) => boolean[];
18
11
  //# sourceMappingURL=_OfPie.d.ts.map
@@ -1,15 +1,3 @@
1
- /**
2
- * The legacy chart styles (`c:style` 1-48): the colors Excel draws for what a chart does not state.
3
- *
4
- * @remarks
5
- * Measured (DESIGN-CHART §3.4, S3): a series with no fill of its own takes its color from these
6
- * tables, not from the chart's `colorsN.xml`, even when that part is present. With more series than
7
- * a style has colors, the colors repeat in bands, and the bands fade: the middle band is the plain
8
- * color, bands before it are shaded and bands after it tinted, by a step that shrinks as bands are
9
- * added. Rescued from exhibit-master's `ChartStyles.js`.
10
- *
11
- * Colors are written as the shapes model writes them (`accent1 shade 54`), for the theme to resolve.
12
- */
13
1
  /**
14
2
  * The fill of series `offset` (its `c:idx`) of `total` in a chart drawn in a legacy style, as a
15
3
  * color string for the theme.
@@ -36,13 +24,5 @@ export interface LegacyElementDefaults {
36
24
  * border, and gridlines take that border's color too; the resolver states those itself.
37
25
  */
38
26
  export declare function legacyElementDefaults(style: number | undefined): LegacyElementDefaults;
39
- /**
40
- * The width of a line series that states none, in pt, by the style's row of Excel's gallery (1-8,
41
- * 9-16, ... 41-48): 3 in the first, 7 in the fourth, 5 in the others.
42
- *
43
- * @remarks
44
- * Measured on lines and scatters in styles 2, 7, 10, 18, 26, 34 and 42 (DESIGN-CHART §3.4,
45
- * `probe-chart-markers.ps1`).
46
- */
47
27
  export declare function legacyLineWidth(style: number | undefined): number;
48
28
  //# sourceMappingURL=_LegacyStyles.d.ts.map