@sheetxl/sdk 0.8.0-beta.12 → 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 (290) hide show
  1. package/THIRD-PARTY-NOTICES.md +172 -0
  2. package/browser/esm/{DwwR3O2sEZApPSTF.mjs → -GEhXGMfNcWmHPby.mjs} +3 -3
  3. package/browser/esm/{DPhGQLNGmDZwODwJ.mjs → 9WXf_BTKjW1cQisZ.mjs} +94 -94
  4. package/browser/esm/{CRkYR-siY2C994KV.mjs → B2SgIPPBX0wjzuq8.mjs} +1 -1
  5. package/browser/esm/{CBYMTDzMf1Vh7pkw.mjs → BC2RwlNwCdRywkoD.mjs} +1 -1
  6. package/browser/esm/{-Jx-jNHmtIQQfLvK.mjs → BEqhm9xAUPiHUCFv.mjs} +1 -1
  7. package/browser/esm/BHgqi7KNrl7Vjr0W.mjs +348 -0
  8. package/browser/esm/{D64dM68B1pKYFzdP.mjs → BJKH0tDRx2FeSWvt.mjs} +2 -2
  9. package/browser/esm/{DobHLF6VjHr7Xi40.mjs → BTgWtqdQoh2cB6DL.mjs} +1 -1
  10. package/browser/esm/{CNdjyofiRu6CYOrr.mjs → BVshV1iY3bcUH9_E.mjs} +50 -48
  11. package/browser/esm/{qO-ujUrgq6H3TQix.mjs → BYQ63XU7JzB4_itX.mjs} +1 -1
  12. package/browser/esm/{C9u8FUewte5ugUjH.mjs → Bax5aOzQkbHKXW_X.mjs} +725 -716
  13. package/browser/esm/{Tah7cnFb_HNZdLtj.mjs → BiDGKhtzV6yIy66o.mjs} +3 -3
  14. package/browser/esm/BmYrWK5OmHRtgyqM.mjs +367 -0
  15. package/browser/esm/{DgrAuRD2qr2DvFeJ.mjs → BoAlHgjPQ6mxb_oO.mjs} +44 -44
  16. package/browser/esm/{CUzYuYTTGsChC_kZ.mjs → C0mjTq8lhrX3HiPa.mjs} +2052 -1583
  17. package/browser/esm/{w6Jea0TiclPrYZ2M.mjs → C5j0IdwtYkWlOftv.mjs} +509 -509
  18. package/browser/esm/{hCQJcmIzPDxDEv2q.mjs → CL84-iL2QeKlLzo5.mjs} +2 -2
  19. package/browser/esm/{2mIwPy2D2JUX-9wx.mjs → CLkBe-6n-pStQhnz.mjs} +2 -2
  20. package/browser/esm/{DZiivy0NmO1Vnyzk.mjs → CPzfhTPX2Y4dHX2p.mjs} +2 -2
  21. package/browser/esm/{fXWUMDhZ5yMSO629.mjs → CSJuIjYUOE387FIP.mjs} +1 -1
  22. package/browser/esm/{BIHrHjRGWVlJglcp.mjs → Cdw0mGuoV3IU2LhR.mjs} +2 -2
  23. package/browser/esm/{yuhcOYw6SHQ-RCm3.mjs → Ced5uyofOWHuL_Jy.mjs} +30 -30
  24. package/browser/esm/{B3wf5vZCsWfWsDbj.mjs → Ci_LJ4S_GvYX0STI.mjs} +1 -1
  25. package/browser/esm/{DK899HhWX1HINMC1.mjs → CwygVKP_RXmne5Ot.mjs} +25 -25
  26. package/browser/esm/{BdCJNawfifyPupCP.mjs → D-mfK0noQrM2jZLT.mjs} +1 -1
  27. package/browser/esm/{CwOPLXU3-9ZHGyOT.mjs → D9SH_8v3FYCnxOFK.mjs} +1 -1
  28. package/browser/esm/{D9xNz46kAfXMZzp4.mjs → DPD8fop6az9HZNiK.mjs} +2 -2
  29. package/browser/esm/{D2RZh0O9neOsyLAE.mjs → DW-MmlgMH87l-_cw.mjs} +69 -48
  30. package/browser/esm/{DwZCT7DZiiXoTweg.mjs → DctIlUsO78-OU2ht.mjs} +2 -2
  31. package/browser/esm/DdcKkVb4jM6Y_epY.mjs +184 -0
  32. package/browser/esm/{Cxjxk0ncRKx80I-w.mjs → DfKzE0IY0TjaEIxG.mjs} +1 -1
  33. package/browser/esm/{BnC4-27Igwb8oDf2.mjs → DkloMquaR1pbZCER.mjs} +44 -43
  34. package/browser/esm/{BudSIfXBAsTxvu-K.mjs → Dz86-De57bv2VYIi.mjs} +10111 -9269
  35. package/browser/esm/{BTFBedJMRWGvZyCE.mjs → HApSgmV2FXRRwQac.mjs} +1 -1
  36. package/browser/esm/{Bt8_m94tBdks209L.mjs → IbVAQU4YqtFqLwYk.mjs} +1 -1
  37. package/browser/esm/index.mjs +482 -440
  38. package/browser/esm/mHQ95RAfxHzcUN2r.mjs +18 -0
  39. package/browser/esm/{CdEO8CEee6lEhabA.mjs → pm00uZZu_H3gxHFx.mjs} +2 -2
  40. package/browser/esm/{Bg5Di9GLNAkbqQ1P.mjs → quEvwgrEuOb0h3q-.mjs} +1926 -1298
  41. package/browser/esm/{CndRBvVfQUJIYRRj.mjs → zZngLMg6mg6nnNGX.mjs} +50 -50
  42. package/licenses/dependencies.txt +71 -1
  43. package/node/esm/{C14-R6tifRh7pc0p.mjs → -K4Cek-bTUItkB_8.mjs} +1 -1
  44. package/node/esm/{D3ptRKzASqBut1DE.mjs → -b8yNV4v9qiq8EMY.mjs} +2 -2
  45. package/node/esm/{CBuEu5Jk-LfaDy-H.mjs → 1V-m67YHbxmg3xk2.mjs} +44 -44
  46. package/node/esm/{DhTya_mhmN53vskv.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/{Vocy-I9dKzZMr0Ct.mjs → BQ2XqExomMceAjfe.mjs} +10977 -10744
  50. package/node/esm/{Btw4148Ot8ifhNc1.mjs → Bfg7qjCXCwXbzW3K.mjs} +1 -1
  51. package/node/esm/{BNXLOEddJ6O9gYws.mjs → BtMeAB_dqJnOfzJM.mjs} +2 -2
  52. package/node/esm/{Q_S1g46ZOTrdhTae.mjs → Byc_bxU_MdjYtt0x.mjs} +1 -1
  53. package/node/esm/{Ci_zLYmCD7e-C79O.mjs → Bzrl292TNCK3Cpid.mjs} +1 -1
  54. package/node/esm/{DdoiuKg9BKubtF1V.mjs → C0P9zspoypRAj7yv.mjs} +1 -1
  55. package/node/esm/{C_aL7CGS1lrNn1Ng.mjs → C9gpMN3galHGZyoK.mjs} +1 -1
  56. package/node/esm/CKCG2peOkTq0gIIW.mjs +310 -0
  57. package/node/esm/{C99zzq8DImQXi4BQ.mjs → CWBS90g3Hz-kQDkY.mjs} +10 -10
  58. package/node/esm/{BskP3b8vUoIOGLY6.mjs → CoGSVnn-hNMtTEus.mjs} +2 -2
  59. package/node/esm/{DhS6yWjrrSNIJMsn.mjs → CzrLqStvrcPE2-hb.mjs} +234 -225
  60. package/node/esm/{CRt3vXe6YmXzqk3H.mjs → D16EdlZG1hX5WUUK.mjs} +102 -102
  61. package/node/esm/{DUTmDHbFbhLDT4F3.mjs → D1mDga2K5sjs8y07.mjs} +1 -1
  62. package/node/esm/{D4ROK9UwDpS6jO3Z.mjs → D2jtztjE6c23RKvZ.mjs} +1 -1
  63. package/node/esm/{icn2nX5Z8e_3mNAv.mjs → D9nRcWsYk3M82iD8.mjs} +1 -1
  64. package/node/esm/{CG-qBU5BAaVz7e-P.mjs → DALYzTxZ9Ur9C69Q.mjs} +1 -1
  65. package/node/esm/{DrCf6ITcBhVOFpRj.mjs → DF0nL7s01dp7n0Bx.mjs} +7 -7
  66. package/node/esm/{BL2iiEoqxDEV2Xrg.mjs → DO5ldLqhTvIfPXLW.mjs} +3348 -2610
  67. package/node/esm/DQz8J8ci7EJdqbuB.mjs +351 -0
  68. package/node/esm/{CiIymQN6aJCul62g.mjs → DR2OQTKqqyIkZnse.mjs} +9 -9
  69. package/node/esm/{eimUGjiIP-b8HiM6.mjs → DSTLPBgpsGW6qP9e.mjs} +52 -52
  70. package/node/esm/{DV5CU37aEbFbWFL0.mjs → DiXp7KSOZUSWXaZ5.mjs} +1 -1
  71. package/node/esm/{C_xf5Bz30VqiJjXn.mjs → DwvXHsycOQR219c7.mjs} +1 -1
  72. package/node/esm/{B-HUPAcqvK0eeeCz.mjs → Hc6B04OyVzHx2F5I.mjs} +38 -37
  73. package/node/esm/{lGJ42sHqg5if2bba.mjs → NkPNHsq2T3DXg76x.mjs} +458 -458
  74. package/node/esm/{-TA0MneBDKdGhsib.mjs → Nl_IIkO1jbk0s9i-.mjs} +3329 -2852
  75. package/node/esm/{DxazKtROyaI51dWl.mjs → OQT5lGqq8a4r5xNa.mjs} +1 -1
  76. package/node/esm/OTaaFGhF-k_iwobp.mjs +18 -0
  77. package/node/esm/{pYtP7wPyS96NQyXS.mjs → Z1elC_roIu7LhceZ.mjs} +25 -25
  78. package/node/esm/{CkRYLed8Mmn3giNg.mjs → e3F3OVXCxLJrSukW.mjs} +2 -2
  79. package/node/esm/index.mjs +584 -540
  80. package/node/esm/{D8hO07ToAibIuniw.mjs → suOBVUz-pca6ilJH.mjs} +138 -136
  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 +4 -0
  141. package/resources/locales/en/model.msg.json +4 -0
  142. package/types/scripting-api.json +9339 -9320
  143. package/types/scripting.d.ts +322 -200
  144. package/types/src/.generated/wasm/sdk.d.ts +5 -27
  145. package/types/src/address/AddressUtils.d.ts +8 -0
  146. package/types/src/address/_SheetNameQuoteChars.d.ts +3 -0
  147. package/types/src/anomalies/_FocusTable.d.ts +0 -6
  148. package/types/src/calculation/Calculation.d.ts +20 -95
  149. package/types/src/calculation/ExternalBookBindings.d.ts +0 -26
  150. package/types/src/calculation/NamedFormulaCollection.d.ts +6 -2
  151. package/types/src/calculation/TokenType.d.ts +0 -10
  152. package/types/src/calculation/_CloneBoundary.d.ts +0 -24
  153. package/types/src/calculation/_FormulaToolkit.d.ts +0 -5
  154. package/types/src/calculation/compiler/ASTTypes.d.ts +0 -13
  155. package/types/src/calculation/compiler/CompilerUtils.d.ts +0 -227
  156. package/types/src/calculation/compiler/FormulaLexer.d.ts +0 -8
  157. package/types/src/calculation/compiler/FormulaParser.d.ts +0 -61
  158. package/types/src/calculation/compiler/ParserUtils.d.ts +0 -24
  159. package/types/src/calculation/compiler/Types.d.ts +0 -52
  160. package/types/src/calculation/engine/CalcBackend.d.ts +15 -157
  161. package/types/src/calculation/engine/index.d.ts +0 -8
  162. package/types/src/calculation/executor/CalcExecutor.d.ts +13 -130
  163. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +30 -11
  164. package/types/src/calculation/executor/CircularReference.d.ts +0 -17
  165. package/types/src/calculation/executor/_BlockOrder.d.ts +29 -0
  166. package/types/src/calculation/executor/_WhatIf.d.ts +0 -19
  167. package/types/src/calculation/formula/FormulaBlock.d.ts +0 -28
  168. package/types/src/calculation/formula/FormulaRecordView.d.ts +0 -15
  169. package/types/src/calculation/formula/IFormulaBlock.d.ts +0 -12
  170. package/types/src/calculation/formula/LambdaValue.d.ts +0 -15
  171. package/types/src/calculation/formula/TokenUtils.d.ts +1 -8
  172. package/types/src/calculation/grid/CalcGrid.d.ts +5 -59
  173. package/types/src/calculation/grid/CalcGridBackend.d.ts +8 -9
  174. package/types/src/calculation/grid/CalcGridProxy.d.ts +0 -13
  175. package/types/src/calculation/grid/CalcGridUtils.d.ts +18 -22
  176. package/types/src/calculation/grid/ICalcGrid.d.ts +13 -98
  177. package/types/src/calculation/grid/_CalcRequest.d.ts +1 -29
  178. package/types/src/calculation/spatial/CircularEntry.d.ts +0 -10
  179. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +52 -82
  180. package/types/src/calculation/spatial/SpillEntry.d.ts +10 -7
  181. package/types/src/calculation/state/CalcScope.d.ts +0 -9
  182. package/types/src/calculation/state/CalcState.d.ts +0 -12
  183. package/types/src/calculation/state/CalculationContext.d.ts +4 -37
  184. package/types/src/calculation/state/DeferredCalls.d.ts +11 -64
  185. package/types/src/calculation/state/IContextContainer.d.ts +4 -60
  186. package/types/src/calculation/state/_KeepBlanks.d.ts +5 -0
  187. package/types/src/calculation/state/_PendingOverlayGrid.d.ts +46 -33
  188. package/types/src/calculation/state/_WhatIfLayer.d.ts +0 -14
  189. package/types/src/calculation/symbol/ExternalSheetSymbols.d.ts +0 -42
  190. package/types/src/calculation/symbol/ISymbolRegistry.d.ts +0 -6
  191. package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +0 -12
  192. package/types/src/calculation/symbol/SymbolRegistry.d.ts +0 -9
  193. package/types/src/calculation/toolkit/index.d.ts +0 -8
  194. package/types/src/cell/ICell.d.ts +14 -28
  195. package/types/src/cellRange/ICellRange.d.ts +22 -11
  196. package/types/src/chart/Chart.d.ts +0 -16
  197. package/types/src/chart/_ChartParts.d.ts +0 -39
  198. package/types/src/chart/_ChartSource.d.ts +0 -14
  199. package/types/src/chart/createChart.d.ts +1 -1
  200. package/types/src/chart/kinds/ChartKind.d.ts +4 -4
  201. package/types/src/chart/kinds/_Placeholder.d.ts +0 -1
  202. package/types/src/chart/layout/TextMeasurer.d.ts +0 -20
  203. package/types/src/chart/layout/_LayoutUtils.d.ts +0 -16
  204. package/types/src/chart/math/BoxStats.d.ts +0 -8
  205. package/types/src/chart/math/DateUnitCalcs.d.ts +0 -10
  206. package/types/src/chart/math/Histogram.d.ts +0 -17
  207. package/types/src/chart/math/OrdUnitCalcs.d.ts +0 -53
  208. package/types/src/chart/math/Treemap.d.ts +0 -15
  209. package/types/src/chart/math/Trendlines.d.ts +0 -8
  210. package/types/src/chart/math/UnitCalcs.d.ts +0 -22
  211. package/types/src/chart/model/_Edits.d.ts +0 -33
  212. package/types/src/chart/model/_Grouping.d.ts +0 -25
  213. package/types/src/chart/model/_Inference.d.ts +0 -18
  214. package/types/src/chart/model/_NewChart.d.ts +0 -41
  215. package/types/src/chart/model/_OfPie.d.ts +0 -7
  216. package/types/src/chart/resolve/_LegacyStyles.d.ts +0 -20
  217. package/types/src/chart/resolve/_Resolve.d.ts +0 -19
  218. package/types/src/chart/resolve/_ResolvedChart.d.ts +0 -6
  219. package/types/src/collections/_GridUtils.d.ts +0 -10
  220. package/types/src/comment/_NoteBox.d.ts +0 -15
  221. package/types/src/condition/AnchoredConditional.d.ts +1 -23
  222. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +0 -49
  223. package/types/src/condition/BuiltinSelectors/DisplaySelector.d.ts +0 -10
  224. package/types/src/condition/ICondition.d.ts +2 -2
  225. package/types/src/condition/_ConditionUtils.d.ts +0 -38
  226. package/types/src/externalBook/ExternalBookCollection.d.ts +0 -15
  227. package/types/src/externalBook/ExternalBookName.d.ts +2 -3
  228. package/types/src/externalBook/IExternalBook.d.ts +13 -14
  229. package/types/src/fetch/IFetcher.d.ts +2 -1
  230. package/types/src/fetch/_WorkbookFetch.d.ts +1 -1
  231. package/types/src/font/AdvanceTable.d.ts +16 -42
  232. package/types/src/font/IFont.d.ts +32 -9
  233. package/types/src/font/TableFileAdvanceBuilder.d.ts +6 -3
  234. package/types/src/font/_FontUtils.d.ts +0 -8
  235. package/types/src/font/_StandIns.d.ts +33 -0
  236. package/types/src/io/IWorkbookIO.d.ts +3 -3
  237. package/types/src/io/WorkbookOrigin.d.ts +2 -2
  238. package/types/src/license/LicenseManager.d.ts +2 -1
  239. package/types/src/license/_Utils.d.ts +4 -3
  240. package/types/src/license/details.d.ts +3 -1
  241. package/types/src/license/keys.d.ts +6 -0
  242. package/types/src/license/license-key.d.ts +15 -33
  243. package/types/src/license/token.d.ts +55 -0
  244. package/types/src/picture/IPicture.d.ts +45 -0
  245. package/types/src/picture/Picture.d.ts +12 -0
  246. package/types/src/pivot/PivotTable.d.ts +0 -7
  247. package/types/src/primitives/AsyncValue.d.ts +0 -12
  248. package/types/src/primitives/PrimitiveUtils.d.ts +1 -110
  249. package/types/src/primitives/Range.d.ts +0 -60
  250. package/types/src/primitives/ScalarCollation.d.ts +0 -106
  251. package/types/src/primitives/stats/AggregateStats.d.ts +0 -19
  252. package/types/src/print/PageLayout.d.ts +0 -6
  253. package/types/src/reference/ReferenceUtils.d.ts +4 -2
  254. package/types/src/richData/RichDataRegistry.d.ts +6 -0
  255. package/types/src/scripting/TypedFunction.d.ts +0 -109
  256. package/types/src/sheet/IWorksheet.d.ts +2 -5
  257. package/types/src/sheet/NamedCellRange.d.ts +0 -21
  258. package/types/src/sheet/SheetCell.d.ts +8 -2
  259. package/types/src/sheet/Worksheet.d.ts +7 -48
  260. package/types/src/sheet/_DelimitedText.d.ts +13 -0
  261. package/types/src/sheet/_IgnoredErrors.d.ts +0 -12
  262. package/types/src/sheet/_ScalarListFactory.d.ts +0 -19
  263. package/types/src/sheet/_SheetCoords.d.ts +0 -7
  264. package/types/src/sheet/_SheetFilterUtils.d.ts +0 -8
  265. package/types/src/sheet/_SheetStateReader.d.ts +0 -10
  266. package/types/src/sheet/_SheetStateTypes.d.ts +0 -3
  267. package/types/src/sheet/_SheetUtils.d.ts +1 -1
  268. package/types/src/sheet/style/_RowLine.d.ts +32 -0
  269. package/types/src/sheet/style/_StyleUtils.d.ts +6 -14
  270. package/types/src/sheetView/_SheetViewUtils.d.ts +0 -1
  271. package/types/src/slicer/_BuiltInSlicerStyles.d.ts +0 -5
  272. package/types/src/style/ICellStyle.d.ts +4 -0
  273. package/types/src/table/AnchoredTable.d.ts +0 -147
  274. package/types/src/text/TextFrame.d.ts +4 -1
  275. package/types/src/text/TextStacked.d.ts +0 -24
  276. package/types/src/text/TextWrapper.d.ts +3 -5
  277. package/types/src/text/_LineBox.d.ts +24 -0
  278. package/types/src/text/_TextUtils.d.ts +5 -2
  279. package/types/src/text/_TextWrapperFallback.d.ts +2 -1
  280. package/types/src/wasm/sdkWasm.d.ts +1 -1
  281. package/types/src/workbook/Workbook.d.ts +0 -10
  282. package/browser/esm/2WuhYrIpYmOR5H73.mjs +0 -698
  283. package/browser/esm/CTe2qfmIUEad6FJv.mjs +0 -199
  284. package/browser/esm/CfRqiPDg6RBTg1EN.mjs +0 -367
  285. package/browser/esm/DVroRnhi-5IDXNgM.mjs +0 -210
  286. package/node/esm/BSvOluusoDM4z_dx.mjs +0 -811
  287. package/node/esm/CPI58duc0j0a-HpJ.mjs +0 -115
  288. package/node/esm/DggQ23jKMpwhENfa.mjs +0 -372
  289. package/node/esm/Dn1M7YWi25DeeYUb.mjs +0 -210
  290. package/node/esm/ZXPFcsT2zrALCZux.mjs +0 -289
@@ -23,11 +23,6 @@ export class MetricsTable {
23
23
  * characters measured on demand after [`Self::fill`].
24
24
  */
25
25
  fill_per_em(codepoints: Uint32Array, per_em: Float32Array): void;
26
- /**
27
- * Records Excel's row pitch at every integer ppem from `first_ppem`, from a `.rows.json`;
28
- * `line_pitch` and `wrap` size lines by it from then on. `false` with fewer than two sizes.
29
- */
30
- fill_rows(first_ppem: number, pitches: Uint16Array): boolean;
31
26
  /**
32
27
  * Whether nothing has been recorded.
33
28
  */
@@ -36,10 +31,6 @@ export class MetricsTable {
36
31
  * The number of characters recorded.
37
32
  */
38
33
  len(): number;
39
- /**
40
- * Excel's row height for this face at `px` pixels per em.
41
- */
42
- line_pitch(px: number): number;
43
34
  /**
44
35
  * An empty table for a face with these vertical metrics per em (`usWinAscent / unitsPerEm`,
45
36
  * `usWinDescent / unitsPerEm`): what the host's own table keeps, whether it came from a
@@ -51,48 +42,35 @@ export class MetricsTable {
51
42
  */
52
43
  text_width(text: string, px: number, letter_spacing: number, super_sub: boolean): number;
53
44
  /**
54
- * Wraps `text`; `max_width` and `max_height` of zero or less mean none. Returns the lines
55
- * flat, eight numbers each (`sheetxl_text::wrap::Wrapped::flatten`).
45
+ * Wraps `text` in lines `line_height` px tall, the font's box centered in each; `max_width`
46
+ * and `max_height` of zero or less mean none. Returns the lines flat, eight numbers each
47
+ * (`sheetxl_text::wrap::Wrapped::flatten`).
56
48
  *
57
49
  * Scalars rather than an options object, deliberately: each crosses for free, an object
58
50
  * would be marshalled.
59
51
  */
60
- wrap(text: string, px: number, max_width: number, max_height: number, indent: number, letter_spacing: number, super_sub: boolean): Float32Array;
52
+ wrap(text: string, px: number, line_height: number, max_width: number, max_height: number, indent: number, letter_spacing: number, super_sub: boolean): Float32Array;
61
53
  }
62
54
 
63
- /**
64
- * The alphabetic baseline's offset from the top of a line box of [`line_pitch`] height.
65
- */
66
- export function baseline(ascent: number, descent: number): number;
67
-
68
55
  /**
69
56
  * The number of Unicode scalar values in `text` (not `text.length`, which counts UTF-16 units).
70
57
  */
71
58
  export function char_count(text: string): number;
72
59
 
73
- /**
74
- * Excel's line pitch for a font: `ascent + descent + 2`, in whole pixels.
75
- */
76
- export function line_pitch(ascent: number, descent: number): number;
77
-
78
60
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
79
61
 
80
62
  export interface InitOutput {
81
63
  readonly memory: WebAssembly.Memory;
82
64
  readonly __wbg_metricstable_free: (a: number, b: number) => void;
83
- readonly baseline: (a: number, b: number) => number;
84
65
  readonly char_count: (a: number, b: number) => number;
85
- readonly line_pitch: (a: number, b: number) => number;
86
66
  readonly metricstable_fill: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
87
67
  readonly metricstable_fill_hinting: (a: number, b: number, c: number, d: number, e: number, f: number) => void;
88
68
  readonly metricstable_fill_per_em: (a: number, b: number, c: number, d: number, e: number) => void;
89
- readonly metricstable_fill_rows: (a: number, b: number, c: number, d: number) => number;
90
69
  readonly metricstable_is_empty: (a: number) => number;
91
70
  readonly metricstable_len: (a: number) => number;
92
- readonly metricstable_line_pitch: (a: number, b: number) => number;
93
71
  readonly metricstable_new: (a: number, b: number) => number;
94
72
  readonly metricstable_text_width: (a: number, b: number, c: number, d: number, e: number, f: number) => number;
95
- readonly metricstable_wrap: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number) => void;
73
+ readonly metricstable_wrap: (a: number, b: number, c: number, d: number, e: number, f: number, g: number, h: number, i: number, j: number, k: number) => void;
96
74
  readonly __wbindgen_export: (a: number, b: number) => number;
97
75
  readonly __wbindgen_export2: (a: number, b: number, c: number, d: number) => number;
98
76
  readonly __wbindgen_add_to_stack_pointer: (a: number) => number;
@@ -94,6 +94,14 @@ export declare function stringToCoordsArray(str: string, defaultRange: Readonly<
94
94
  export declare function coordsArrayToStringArray(coords: readonly (Partial<IRange.Coords | IRange.CellCoords> | string)[], defaultRange?: Readonly<IRange.Coords>, toStringRange?: RangeToString, //fixableRangeToString,
95
95
  toStringCell?: CellToString, r1c1?: boolean): string[] | null;
96
96
  export declare function coordsArrayToString(coords: readonly (Partial<IRange.Coords | IRange.CellCoords> | string)[], defaultRange?: Readonly<IRange.Coords>, toStringRange?: RangeToString, toStringCell?: CellToString, r1c1?: boolean): string;
97
+ /**
98
+ * Reads the arguments of `getRange(rowStart, colStart, rowEnd, colEnd)`: zero-based, ends inclusive.
99
+ *
100
+ * @remarks
101
+ * Left out of the declarations on purpose. There is one documented way to say this, the coords
102
+ * object; this is for scripts that guess, which should get the range they meant, or an error.
103
+ */
104
+ export declare function indexesToCoords(args: ArrayLike<unknown>): IRange.Coords;
97
105
  export declare function rangesAddressToRangesCoords<R extends IRange.Coords = IRange.Coords, C extends IRange.CellCoords = IRange.CellCoords>(address: ICellRanges.Address | ICell.Address, defaultRange: Readonly<R>, toRange?: StringToRange, onNoParse?: (coord: Partial<C | R> | string) => readonly R[], allowR1C1?: boolean): R[];
98
106
  /** `Fast` just scans through each character. */
99
107
  export declare function fastStringToCell(address: string, reuse?: IRange.CellCoords): IRange.CellCoords | undefined;
@@ -0,0 +1,3 @@
1
+ /** Whether Excel quotes a sheet name for containing this UTF-16 code unit. Only meaningful above U+007F. */
2
+ export declare function isQuotedSheetNameChar(code: number): boolean;
3
+ //# sourceMappingURL=_SheetNameQuoteChars.d.ts.map
@@ -1,9 +1,3 @@
1
- /**
2
- * Per focus, the share of a class of finding's regions that held a planted defect of that kind on the
3
- * SpreadsheetBench v2 Debugging inputs, and `prior`, the kind's rate over every region. A class is
4
- * `check/evidence key/repeats` (`ICellRange.AnomalyFocus`).
5
- * @internal
6
- */
7
1
  export declare const ANOMALY_FOCUS_TABLE: Readonly<Record<string, {
8
2
  readonly prior: number;
9
3
  readonly classes: Readonly<Record<string, number>>;
@@ -1,4 +1,4 @@
1
- import { IRange, IFunction, IRuntime, Scalar } from '@sheetxl/primitives';
1
+ import { IRange, IFormulaContext, IFunction, IRuntime, Scalar } from '@sheetxl/primitives';
2
2
  import { IListener } from '../listener';
3
3
  import { FunctionProvider } from '@sheetxl/scripting';
4
4
  import { AbstractModel, IModel } from '../model';
@@ -27,7 +27,6 @@ import { INamedFormulasCollection } from './INamedFormulasCollection';
27
27
  export declare class Calculation extends AbstractModel<AbstractModel.State, ICalculation.JSON, ICalculation.IListeners> implements ICalculation {
28
28
  protected _backend: CalcBackend | null;
29
29
  protected _startReplica: CalcBackend.Replica | null;
30
- /** The symbols formulas bind through (DESIGN-CALC-SERVICE §8): the model's, handed to the backend. */
31
30
  protected _symbols: ISymbolRegistry;
32
31
  protected _status: ICalculation.Status;
33
32
  protected _statusTransition: Promise<void> | null;
@@ -51,7 +50,6 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
51
50
  /** The current handle of every formula host's grid, by grid id. */
52
51
  protected _formulaHosts: Map<string, FormulaHost>;
53
52
  protected _modelStore: ITransaction.IStore | null;
54
- /** The model-side grids, by grid id (DESIGN-CALC-SERVICE §13.23): what a copy lands on, what a start seeds from. */
55
53
  protected readonly _fronts: Map<string, CalcGrid>;
56
54
  /** What each model grid is, for the `create` a start sends for it (its size is read then). */
57
55
  protected readonly _gridSpecs: Map<string, CalcGridSpec>;
@@ -82,6 +80,12 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
82
80
  /** `ready()` calls waiting for work in flight to end: woken on every check. */
83
81
  protected _calculationStateWaiters: (() => void)[] | null;
84
82
  protected _bootFull: boolean;
83
+ /** The full boot pass is the load's own, not one a caller asked for: see {@link _calculateForLoad}. */
84
+ protected _bootFullForLoad: boolean;
85
+ /** Something was edited ahead of the boot pass, so what a cell was saved with may be out of date. */
86
+ protected _bootEdited: boolean;
87
+ /** The next pass is the one a load owes: see `CalcExecutor.ExecuteOptions.load`. */
88
+ protected _passForLoad: boolean;
85
89
  /** Consumer work not yet settled: see {@link waitUntil}. */
86
90
  protected _consumerWork: number;
87
91
  protected _bootExplicit: boolean;
@@ -213,11 +217,6 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
213
217
  * only inside a calculation. The drain is a safe point, not a synchronization point.
214
218
  */
215
219
  _whenSafe(action: () => Promise<unknown>, priority?: boolean): void;
216
- /**
217
- * Sends a grid request through the channel (DESIGN-CALC-SERVICE §4): applied now on a `Running`
218
- * engine, held in send order while `Starting`, and neither recorded nor sent on an `Off` one -
219
- * the caller's own view is the truth there, and a start is seeded from it.
220
- */
221
220
  protected _sendRequest(gridId: string, landingId: string | undefined, request: CalcRequest): Promise<ICalcGrid.Results>;
222
221
  protected _sendRequestNow(gridId: string, landingId: string | undefined, request: CalcRequest): Promise<CalcResponse>;
223
222
  /** Re-judges every held request: `dead` is what `isDead` answers for it now. */
@@ -243,41 +242,7 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
243
242
  * batch is the engine's answer to what the model already holds.
244
243
  */
245
244
  protected _underOneModelOperation<R>(batch: () => R): R;
246
- /**
247
- * @internal
248
- * Resolves once the engine can compile: at once when `Running`; when the batch has applied the
249
- * seeds, ahead of the boot pass, while `Starting`; and, when `Off`, once something else starts
250
- * it. It never starts the engine itself.
251
- *
252
- * @remarks
253
- * What an owner that registers a formula asynchronously waits on (a condition formula's
254
- * evaluation). Waiting on {@link ready} instead resolves after the boot pass, and the
255
- * registration then costs a pass of its own (design §6.5: a boot owes one).
256
- *
257
- * An `Off` engine stays off (DESIGN-CALC-ON-LOAD: under `calcOnLoad: 'none'` a read starts
258
- * nothing, and a conditional format or data validation evaluating on load is a read). Starting it
259
- * here ran the boot pass, and the pass moved cached values — every volatile, every iterating
260
- * cycle — in a workbook that was only being opened and saved. The waiter is released by the
261
- * start the first mutation (or an explicit calculation) makes, and by {@link close}.
262
- */
263
245
  _whenCanCompile(): Promise<void>;
264
- /**
265
- * The start batch (DESIGN-CALC-SERVICE §6.3), in the order the service owns: service-level
266
- * content first (the names, wired from the priority queue), then the channel in send order
267
- * (every seed and every request made while the engine was coming up), then the owners that
268
- * hold a formula of their own (a host whose grid lost its body writes it again; a watch held for
269
- * the engine registers inside `onReady`), then the one pass the boot owes.
270
- *
271
- * @remarks
272
- * `isLoading()` holds for the whole batch, so a grid seeded here owes its pass rather than
273
- * running one against siblings not yet seeded. The pass itself runs on a task of its own
274
- * ({@link _runBoot}): a consumer whose registration chains through promises resolved here (a
275
- * data validation's, a conditional format's) lands ahead of it, and N of them cost one pass.
276
- *
277
- * A held request lands under the engine's current commit: the snapshot it named has been
278
- * mirrored already, so its writes belong to the tip, and the maps are versioned under that key.
279
- * One whose snapshot the model has undone since is skipped.
280
- */
281
246
  protected _boot(): Promise<void>;
282
247
  /**
283
248
  * Posts the boot pass on a task of its own, and answers the promise `start()`, `ready()` and a
@@ -286,6 +251,13 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
286
251
  protected _scheduleBoot(): Promise<void>;
287
252
  /** The boot pass: what the batch, and the consumers that registered since, owe - once. */
288
253
  protected _runBoot(): Promise<void>;
254
+ /**
255
+ * The full pass a load owes: a file that asks for one, or one whose `calcId` says it needs one.
256
+ * It evaluates what the file holds without reaching for anything outside the workbook, where a
257
+ * full calculation a caller asks for does.
258
+ * @internal
259
+ */
260
+ _calculateForLoad(): Promise<ICalculation.Status>;
289
261
  /**
290
262
  * Posts a microtask drain, if one is not already coming.
291
263
  *
@@ -385,10 +357,6 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
385
357
  protected _calculate(options?: ICalculation.CalculateOptions, gridId?: string, settle?: boolean): Promise<ICalculation.Status>;
386
358
  /** A pass, counted while it runs: what the calculation state reads as a pass in flight. */
387
359
  protected _calculateNow(options?: ICalculation.CalculateOptions, gridId?: string, settle?: boolean): Promise<ICalculation.Status>;
388
- /**
389
- * @param settle The settle pass (DESIGN-ASYNC §4.5): seeded from what a settle marked only;
390
- * volatiles and the dirty set are left for the pass that owes them.
391
- */
392
360
  protected _runCalculation(options?: ICalculation.CalculateOptions, gridId?: string, settle?: boolean): Promise<ICalculation.Status>;
393
361
  /**
394
362
  * The model commit the last pass recalculated for, `null` before the first: what a sheet
@@ -448,14 +416,6 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
448
416
  * @internal
449
417
  */
450
418
  protected _evaluateOver(options: Calculation.EvaluateOverOptions): Promise<IRange>;
451
- /**
452
- * A grid for a model to hold (DESIGN-CALC-SERVICE §13.23): the synchronous half, versioned in
453
- * the model's store, forwarding every verb as a request. The engine's grid is made by the
454
- * grid's first request, `create`, which an `Off` engine drops: a start makes it then, from this
455
- * one. What the engine pushes reaches the owner through the grid's events. It opens empty: the
456
- * owner attaches its listeners, then seeds it.
457
- * @internal
458
- */
459
419
  _createCalcGrid(options: Calculation.CalcGridOptions): CalcGrid;
460
420
  /** What a `create` for a model grid carries: its description. */
461
421
  protected _specOf(front: CalcGrid): CalcGridSpec;
@@ -494,20 +454,6 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
494
454
  protected _heldSheets(): Calculation.SheetList['sheets'];
495
455
  /** One sheet of {@link _heldSheets} by its grid id, or `undefined` for a grid that is no sheet. */
496
456
  protected _heldSheetAt(id: string): Calculation.SheetList['sheets'][number] | undefined;
497
- /**
498
- * The owner's sheet list as it is now: every sheet's grid id and name, in tab order, hidden ones
499
- * included (DESIGN-CALC-SERVICE §8). The owner calls this whenever its list changes - a sheet
500
- * added, deleted, moved, copied or renamed - and before any grid that names a sheet in it
501
- * seeds. Not on a restore: this record is restored with the owner's own, and the engine's
502
- * replica with the engine's store.
503
- *
504
- * @remarks
505
- * Held in the caller's operation (folded into the current commit when none is open) and sent
506
- * to the engine as one `sheets` message: applied at once on a `Running` engine, held in order
507
- * while `Starting`. An `Off` engine is told nothing; its next start seeds the replica from this
508
- * record, and owes a full pass only when a sheet already listed was renamed, moved or removed.
509
- * @internal
510
- */
511
457
  _setSheets(sheets: readonly (readonly [id: string, name: string | null, gridless?: boolean])[]): void;
512
458
  /**
513
459
  * Compiles every loaded name whose text mentions the sheet, ahead of a change a compiled body
@@ -579,18 +525,7 @@ export declare class Calculation extends AbstractModel<AbstractModel.State, ICal
579
525
  _replicaNameId(name: string, scope: string | null | undefined): string | undefined;
580
526
  /** See {@link _modelSymbols}. */
581
527
  protected _modelSymbolRegistry: ISymbolRegistry;
582
- /**
583
- * The model's symbol map (DESIGN-CALC-SERVICE §8): what the facade images the engine's records
584
- * against. Sheets answer from the model's live list; the rest from the engine's providers.
585
- * @internal
586
- */
587
528
  _modelSymbols(): ISymbolRegistry;
588
- /**
589
- * What images a grid's records for the model (DESIGN-CALC-SERVICE §8): the model's symbol map,
590
- * the grid as home scope, its bounds and the reader's locale, both read live so a rename or a
591
- * locale switch shows without a recompile.
592
- * @internal
593
- */
594
529
  _imagerFor(gridId: string): FormulaImager;
595
530
  /** Every sheet's grid id in tab order, from the replica. */
596
531
  protected _sheetIds(): readonly string[];
@@ -860,17 +795,6 @@ export declare namespace Calculation {
860
795
  names?: INamed.JSON[];
861
796
  getRanges?: (address: ICellRanges.Address, options?: ICellRange.GetRangeOptions) => ICellRanges;
862
797
  getRange?: (address: ICellRange.Address, options?: ICellRange.GetRangeOptions) => ICellRange;
863
- /**
864
- * Builds ONE `ICellRanges` graph answer out of cell coords plus defined-name nodes.
865
- *
866
- * @internal
867
- *
868
- * @remarks
869
- * The seam that keeps the layers apart: the calculation layer knows WHICH names belong in a
870
- * precedents/dependents answer, the range layer knows how a name rides in one (an anchored
871
- * `INamedRange` — see DESIGN-NAMED-FORMULAS.md §4). Structural like `getRange`/`getRanges`,
872
- * and like them supplied by the workbook. Without it, graph answers fall back to cells only.
873
- */
874
798
  createGraphRanges?: (cells: readonly IRange.Coords[], names: readonly NamedNodeInfo[]) => ICellRanges | null;
875
799
  getSheetIndex?: (sheetName?: string) => number;
876
800
  getSheetCount?: () => number;
@@ -880,10 +804,15 @@ export declare namespace Calculation {
880
804
  */
881
805
  resources?: IResourceCollection;
882
806
  /**
883
- * The workbook's fetch, for async functions (`IFormulaContext.IBatchContext.fetch`). Omitted,
807
+ * The workbook's fetch, for async functions (`IFormulaContext.IDeferContext.fetch`). Omitted,
884
808
  * the global `fetch`.
885
809
  */
886
810
  fetch?: (input: string, init?: RequestInit) => Promise<Response>;
811
+ /**
812
+ * How async functions read delimited text (`IFormulaContext.IDeferContext.parseText`), as the
813
+ * workbook reads typed entry. Omitted, it rejects.
814
+ */
815
+ parseText?: (text: string, options?: IFormulaContext.IDeferContext.ParseTextOptions) => Promise<Scalar[][]>;
887
816
  /**
888
817
  * Whether to perform iterative calculations when there are circular dependencies.
889
818
  *
@@ -907,10 +836,6 @@ export declare namespace Calculation {
907
836
  /**
908
837
  * Transaction State for Calculation
909
838
  */
910
- /**
911
- * A grid request the channel holds while the engine is `Starting` (DESIGN-CALC-SERVICE §4): the
912
- * request as data, the snapshot it names, and the caller's continuation.
913
- */
914
839
  interface HeldRequest {
915
840
  gridId: string;
916
841
  request: CalcRequest;
@@ -19,32 +19,6 @@ export interface ExternalNamedItem {
19
19
  /** The cached body as written; replaced in place when a refresh changes it. */
20
20
  refersTo: string;
21
21
  }
22
- /**
23
- * What an external book's cache is to the engine: one read-only grid per sheet, and one virtual
24
- * grid per cached defined name — reconciled against the collection on every change.
25
- *
26
- * @remarks
27
- * DESIGN-EXTERNAL-LINKS §5 steps 15 and 16. The measured rule (§6 items 1 and 2) is that an
28
- * external cell the cache does not hold is a BLANK CELL, so a sheet's grid is simply the sparse
29
- * cache loaded at its real coordinates with the ordinary sheet extent: every cell it does not hold
30
- * is already empty, and a whole-column citation walks the cache's used cells like any sheet's.
31
- * A sheet with no cache at all gets an empty grid for the same reason — Excel answers blank there
32
- * too, and the alternative (`#REF!`) is the value damage this phase exists to remove.
33
- *
34
- * Grids are keyed by the `ext:` stable id the sheet symbol binds to, so `container.getGrid(scope)`
35
- * finds them with no change to the executor. A book's removal unregisters its grids WITHOUT the
36
- * `delete()` a dropped sheet gets: a citation keeps the slot's id and computes `#REF!`, and an undo,
37
- * which restores the slot with its id, rebuilds the grids and heals it (see
38
- * `IExternalBook.delete`).
39
- *
40
- * A cached name's body is compiled INSIDE the book (`SheetCtx.book`), so `'Alpha'!$A$1` names the
41
- * book's sheet; a bare reference anchors to the scoping sheet, else the book's first. A name is
42
- * found under exactly the scope it was cached with — Excel flattens a sheet-scoped source name
43
- * into the book's namespace on caching and then answers `#NAME?` to the sheet-qualified citation
44
- * of it (measured 2026-09-11, `externalLinksNames.xlsx` + `probe-external-names-recalc.ps1`:
45
- * `'Data Sheet'!Local` is cached with no `sheetId`, and `'[1]Data Sheet'!Local` rebuilds to
46
- * `#NAME?` with the source absent), so there is no sheet-to-book fallback here.
47
- */
48
22
  export declare class ExternalBookBindings {
49
23
  private readonly _options;
50
24
  /** Every registered name, by the provider's key: `<scopeId>::<lowercase name>`. */
@@ -630,8 +630,10 @@ declare class NamedFormula extends Formula implements ICalculation.INamedFormula
630
630
  * @remarks
631
631
  * Called by the collection once the item is IN the collection, so the notification the answer
632
632
  * brings describes a set that already contains it. `getRanges()` answers once the engine has.
633
+ *
634
+ * @param loaded The body is the one the file holds: see `ICalcGrid.BodyOptions.recompile`.
633
635
  */
634
- _wireNow(): void;
636
+ _wireNow(loaded?: boolean): void;
635
637
  /**
636
638
  * A loaded name that answers from its text: no host, or one whose grid a restore has left
637
639
  * without state (see `CalcGrid._revive`), so no compiled body.
@@ -651,8 +653,10 @@ declare class NamedFormula extends Formula implements ICalculation.INamedFormula
651
653
  * past the edit whose reader compiled the name leaves the item without a body in its grid - the
652
654
  * unmaterialized state again, with the host object still held - and the next use writes the body
653
655
  * once more rather than assuming it is there.
656
+ *
657
+ * @param loaded `false` when the text is a new definition rather than the one loaded.
654
658
  */
655
- _materialize(): void;
659
+ _materialize(loaded?: boolean): void;
656
660
  /**
657
661
  * {@link _materialize} at the next safe point: for a caller inside the engine's own work (the
658
662
  * compile of a formula that mentions this name), where a body cannot be written.
@@ -30,16 +30,6 @@ export declare const TokenType: {
30
30
  * A function call, e.g. `SUM(...)`. `value` is the function name.
31
31
  */
32
32
  readonly Function: "function";
33
- /**
34
- * Function application where the callee is an EXPRESSION rather than a name — an immediately
35
- * invoked lambda, `LAMBDA(a,b,a+b)(1,2)`.
36
- *
37
- * `inputs[0]` is the callee; `inputs[1..]` are the arguments. `value` is `null` — unlike
38
- * {@link Function} there is no name to carry.
39
- *
40
- * A `(` binds as a call ONLY when it touches the callee's last token: `LAMBDA(x,x+1) (3)` with a
41
- * space is an implicit intersection, and Excel refuses it. See DESIGN-FORMULA-APPLICATION.md.
42
- */
43
33
  readonly Call: "call";
44
34
  /**
45
35
  * An error literal, e.g. `#DIV/0!` or `#REF!`.
@@ -1,27 +1,3 @@
1
- /**
2
- * The clone boundary: a test mode that treats the model/engine crossing as if it were a wire
3
- * (DESIGN-CALC-SERVICE §11, goal G1).
4
- *
5
- * @remarks
6
- * Every request into a grid and every {@link ICalcGrid.Results} out of one passes through here.
7
- * With the mode `off` - always, outside a test - it is an identity call and costs nothing.
8
- *
9
- * Two things it finds, and they are different:
10
- *
11
- * - What a walk can see: a function, a class instance, a value `structuredClone` refuses or
12
- * silently downgrades. Each is recorded as a {@link Violation} with the PATH it sat at, which
13
- * is the point: a payload that degrades silently fails somewhere else entirely, and the path
14
- * is what names the field to convert.
15
- * - What only running can see: a reference the two sides SHARE. A walk cannot tell a run array
16
- * the sheet also holds from one minted for the message; a clone does, because the sides stop
17
- * agreeing. That is what `clone` mode is for, and why `audit` alone is not the exit criterion.
18
- *
19
- * Not a boundary for READS. `getValues`, `getFormulas`, `getSnapshot` and the graph walks answer
20
- * synchronously out of engine objects; making them push or await is §11's list, not this one.
21
- * This covers what is already message-shaped.
22
- *
23
- * @internal Test-mode only. Deliberately not exported from the barrel.
24
- */
25
1
  export declare namespace CloneBoundary {
26
2
  /**
27
3
  * `off` is the default and the only mode outside a test.
@@ -1,9 +1,4 @@
1
1
  /** The formula toolkit's code (`./toolkit`). */
2
2
  export type FormulaToolkitModule = typeof import('./toolkit');
3
- /**
4
- * The one loader of the formula toolkit, shared by `FormulaText`, `parseFormulaLiteral` and
5
- * `FunctionDeclarations`: each answers from {@link FormulaToolkit.peek} and gives the answer it
6
- * gives for text it cannot read until the toolkit is loaded (DESIGN-CALC-SERVICE §13.25).
7
- */
8
3
  export declare const FormulaToolkit: import('@sheetxl/utils').LazyModule<typeof import("./toolkit")>;
9
4
  //# sourceMappingURL=_FormulaToolkit.d.ts.map
@@ -43,20 +43,7 @@ export interface ASTNode<T extends TokenType = TokenType, V = any> {
43
43
  * @see {@link ICalculation.FormulaToken.evalIndex}
44
44
  */
45
45
  evalIndex?: number;
46
- /**
47
- * Compile-time: the implicit-intersection MODE this call is evaluated in — `true` VALUE mode
48
- * (a multi-cell reference at a single-value slot intersects with the formula cell), `false`
49
- * ARRAY mode (it reads its first cell). Set on `Function` and `Call` nodes by
50
- * `CompilerUtils.annotateImplicitIntersect` (DESIGN-IMPLICIT-INTERSECTION §2).
51
- */
52
46
  implicitIntersect?: boolean;
53
- /**
54
- * Compile-time: under a first-cell DEMAND (a block whose every cell is its own 1x1 array-entered
55
- * extent — a conditional-format body), only element `[0,0]` of this node's result is ever read,
56
- * so a lift or an operator here builds that one element. Set on every node reachable from the
57
- * root through elementwise positions by `CompilerUtils.annotateFirstCell`
58
- * (DESIGN-LIFT-AND-DEMAND §2); inert unless the block evaluating the formula demands it.
59
- */
60
47
  firstCell?: boolean;
61
48
  /**
62
49
  * Compile-time: this `+`/`-` is the root of a formula body — the formula's own root or a