@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
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  async function e(e) {
8
- let t = "@0.8.0-beta.12";
8
+ let t = "@0.8.0-beta.13";
9
9
  t !== "@local" && t !== "@0.0.0" || (t = "");
10
10
  let n = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${t}/types/${e}`, r = await fetch(n);
11
11
  if (!r.ok) throw Error(`Unable to load ${e} (${r.status}) from ${n}.`);
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./fXWUMDhZ5yMSO629.mjs";
7
+ import { t as e } from "./CSJuIjYUOE387FIP.mjs";
8
8
  var t = e((e, t) => {
9
9
  var n = e, r = function e() {
10
10
  var t = typeof self < "u" ? self : typeof window < "u" ? window : t === void 0 ? {} : t, n = !t.document && !!t.postMessage, r = t.IS_PAPA_WORKER || !1, i = {}, a = 0, o = {};
@@ -1,7 +1,7 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./BIHrHjRGWVlJglcp.mjs";
7
+ export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./Cdw0mGuoV3IU2LhR.mjs";
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./B3wf5vZCsWfWsDbj.mjs";
7
+ import { t as e } from "./Ci_LJ4S_GvYX0STI.mjs";
8
8
  var t = 2 * Math.PI;
9
9
  function n(e, t) {
10
10
  let n = Math.cos(t), r = Math.sin(t), i = Math.cos(e.phi), a = Math.sin(e.phi);
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { Jn as e, Xr as t, Zn as n, Zr as r, br as i, ht as a, mn as o, pt as s, rr as c, zn as l } from "./BudSIfXBAsTxvu-K.mjs";
8
- import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./w6Jea0TiclPrYZ2M.mjs";
9
- import { n as y, r as b, t as x } from "./CndRBvVfQUJIYRRj.mjs";
10
- import { i as S, r as C } from "./C9u8FUewte5ugUjH.mjs";
11
- import { a as w, n as T } from "./CdEO8CEee6lEhabA.mjs";
7
+ import { Bn as e, Qn as t, Xr as n, Yn as r, Zr as i, gt as a, hn as o, ir as s, mt as c, xr as l } from "./Dz86-De57bv2VYIi.mjs";
8
+ import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./C5j0IdwtYkWlOftv.mjs";
9
+ import { n as y, r as b, t as x } from "./zZngLMg6mg6nnNGX.mjs";
10
+ import { i as S, r as C } from "./Bax5aOzQkbHKXW_X.mjs";
11
+ import { a as w, n as T } from "./pm00uZZu_H3gxHFx.mjs";
12
12
  import { ScalarType as E } from "@sheetxl/primitives";
13
13
  import D from "@sheetxl/formulas/declarations";
14
14
  import O from "@sheetxl/formulas-extended/declarations";
@@ -49,17 +49,17 @@ function A(e) {
49
49
  var j = null, M = Object.freeze({
50
50
  rowStart: 0,
51
51
  colStart: 0,
52
- rowEnd: r,
53
- colEnd: t
52
+ rowEnd: i,
53
+ colEnd: n
54
54
  }), N = (e) => A(e);
55
55
  function P(e, t) {
56
56
  if (typeof e != "string" || e.length === 0) return null;
57
57
  j ||= new C();
58
58
  let n = t?.anchor, r;
59
59
  try {
60
- let a = j.parse(n?.rowIndex ?? 0, n?.colIndex ?? 0, e);
61
- if (a.errors.length > 0 || !a.root || a.root.type === i.Unparsed) return null;
62
- if (r = a.root, t?.normalize) {
60
+ let i = j.parse(n?.rowIndex ?? 0, n?.colIndex ?? 0, e);
61
+ if (i.errors.length > 0 || !i.root || i.root.type === l.Unparsed) return null;
62
+ if (r = i.root, t?.normalize) {
63
63
  let e = g(r, N);
64
64
  typeof e != "string" && (r = e), r = d(r, N), r = h(r, N), r = v(r), r = f(r), r = u(r), r = m(r), r = _(r);
65
65
  }
@@ -73,38 +73,38 @@ function F(e, t) {
73
73
  }
74
74
  function I(e, t) {
75
75
  let n = p(h(v(x(e)), N)), r = t?.entireCoords ?? M, i = !0 === t?.r1c1;
76
- return (e) => i ? a(n, r) : s(n, r, e?.rowIndex ?? 0, e?.colIndex ?? 0);
76
+ return (e) => i ? a(n, r) : c(n, r, e?.rowIndex ?? 0, e?.colIndex ?? 0);
77
77
  }
78
- function L(t) {
79
- let r = t.trim();
80
- if (!r) return;
81
- let i;
78
+ function L(n) {
79
+ let i = n.trim();
80
+ if (!i) return;
81
+ let a;
82
82
  try {
83
- let e = S.shared().tokenize(r, !1);
83
+ let e = S.shared().tokenize(i, !1);
84
84
  if (e.errors.length > 0) return;
85
- i = e.tokens;
85
+ a = e.tokens;
86
86
  } catch {
87
87
  return;
88
88
  }
89
- let a = 0, o = 0;
90
- if (i.length === 2) {
91
- let e = i[0].tokenType?.name;
92
- e === "MinOp" ? (a = -1, o = 1) : e === "PlusOp" && (a = 1, o = 1);
89
+ let o = 0, c = 0;
90
+ if (a.length === 2) {
91
+ let e = a[0].tokenType?.name;
92
+ e === "MinOp" ? (o = -1, c = 1) : e === "PlusOp" && (o = 1, c = 1);
93
93
  }
94
- if (i.length - o !== 1) return;
95
- let s = i[o], u = s.image;
94
+ if (a.length - c !== 1) return;
95
+ let l = a[c], u = l.image;
96
96
  try {
97
- switch (s.tokenType?.name) {
97
+ switch (l.tokenType?.name) {
98
98
  case "NumberToken":
99
99
  case "ScientificDigit":
100
100
  case "DigitToken": {
101
- let e = n(u).value;
102
- return a === 0 ? e : a * e;
101
+ let e = t(u).value;
102
+ return o === 0 ? e : o * e;
103
103
  }
104
- case "StringToken": return a === 0 ? c(u).value : void 0;
105
- case "BooleanToken": return a === 0 ? l(u).value : void 0;
104
+ case "StringToken": return o === 0 ? s(u).value : void 0;
105
+ case "BooleanToken": return o === 0 ? e(u).value : void 0;
106
106
  case "LiteralError":
107
- case "RefError": return a === 0 ? e(u).value : void 0;
107
+ case "RefError": return o === 0 ? r(u).value : void 0;
108
108
  default: return;
109
109
  }
110
110
  } catch {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,18 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./DobHLF6VjHr7Xi40.mjs";
8
- import { An as t, Dn as n, En as r, Mr as i, On as a, ji as o, kn as s, kr as c } from "./BudSIfXBAsTxvu-K.mjs";
7
+ import { t as e } from "./BTgWtqdQoh2cB6DL.mjs";
8
+ import { An as t, Dn as n, Mi as r, Mr as i, On as a, jn as o, kn as s, kr as c } from "./Dz86-De57bv2VYIi.mjs";
9
9
  import { ExpectedError as l, messageKey as u, t as d } from "@sheetxl/utils";
10
10
  var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h = u("op.setSlicerCaption"), g = u("op.setSlicerStyle"), _ = u("op.setSlicerLayout"), v = u("op.setSlicerSort"), y = u("op.selectSlicerItems"), b = c.BuiltInSelectorNames.Display, x = Object.freeze({
11
11
  selector: b,
12
12
  scope: "column"
13
13
  }), S = Object.freeze({ transactional: !1 }), C = class extends e {
14
14
  constructor(e) {
15
- let t = a(e.json?.source)?.column ?? "", n = e.name;
15
+ let t = s(e.json?.source)?.column ?? "", n = e.name;
16
16
  !n && e.getMovable && (n = t || null), super({
17
17
  ...e,
18
18
  name: n
@@ -42,8 +42,8 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
42
42
  return this._resolve()?.column ?? null;
43
43
  }
44
44
  setName(e) {
45
- let n = this._getWorkbook();
46
- if (n && t(n, e, this) !== e) throw new l(d("error.slicer.nameTaken", { name: e }));
45
+ let t = this._getWorkbook();
46
+ if (t && o(t, e, this) !== e) throw new l(d("error.slicer.nameTaken", { name: e }));
47
47
  return super.setName(e);
48
48
  }
49
49
  getCaption() {
@@ -59,7 +59,7 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
59
59
  return this._set({ hiddenCaption: !e || void 0 }, h, t);
60
60
  }
61
61
  getCacheName() {
62
- return this._data()?.cacheName || (s(this._getWorkbook()).get(this) ?? r(this._getColumnName()));
62
+ return this._data()?.cacheName || (t(this._getWorkbook()).get(this) ?? n(this._getColumnName()));
63
63
  }
64
64
  getStyle() {
65
65
  return this._data()?.style ?? f;
@@ -105,7 +105,7 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
105
105
  async getItems() {
106
106
  let e = this.getColumn()?.getFilter();
107
107
  if (!e) return w;
108
- let t = await e.getItems(x), n = e.getCondition(), r = n ? function(e, t) {
108
+ let t = await e.getItems(x), n = e.getCondition(), i = n ? function(e, t) {
109
109
  let n = e.toJSON();
110
110
  if (n.operator !== c.BuiltInOperatorNames.InSet) return () => !1;
111
111
  let r = n.param ?? {}, i = /* @__PURE__ */ new Set(), a = r.items ?? [];
@@ -124,25 +124,25 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
124
124
  for (let e = 0; e < o.length; e++) if (D(o[e], n)) return !0;
125
125
  return !1;
126
126
  };
127
- }(n, t) : null, i = [];
127
+ }(n, t) : null, a = [];
128
128
  for (let e = 0; e < t.items.length; e++) {
129
- let n = t.items[e], a = !0 === n.passesOthers;
130
- i.push({
129
+ let n = t.items[e], r = !0 === n.passesOthers;
130
+ a.push({
131
131
  item: {
132
132
  key: n.text,
133
133
  name: n.text,
134
134
  value: n.value,
135
- hasData: a,
136
- isSelected: !r || (a ? n.checked : r(e))
135
+ hasData: r,
136
+ isSelected: !i || (r ? n.checked : i(e))
137
137
  },
138
138
  firstRow: n.firstRow
139
139
  });
140
140
  }
141
- let a = this.getSortOrder();
142
- if (a === "dataSource") i.sort((e, t) => e.firstRow - t.firstRow);
141
+ let o = this.getSortOrder();
142
+ if (o === "dataSource") a.sort((e, t) => e.firstRow - t.firstRow);
143
143
  else {
144
- let t = e.getRange().getWorksheet().getRuntime().getLocaleProfile(), n = a === "descending" ? -1 : 1;
145
- i.sort((e, r) => n * (o.compare(e.item.value, r.item.value, t) || o.compare(e.item.key, r.item.key, t)));
144
+ let t = e.getRange().getWorksheet().getRuntime().getLocaleProfile(), n = o === "descending" ? -1 : 1;
145
+ a.sort((e, i) => n * (r.compare(e.item.value, i.item.value, t) || r.compare(e.item.key, i.item.key, t)));
146
146
  }
147
147
  let s = null;
148
148
  if (t.hasBlanks) {
@@ -152,17 +152,17 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
152
152
  name: d("slicer.blankItem"),
153
153
  value: null,
154
154
  hasData: e,
155
- isSelected: !r || (e ? t.blanksChecked : r(-1))
155
+ isSelected: !i || (e ? t.blanksChecked : i(-1))
156
156
  };
157
157
  }
158
158
  let l = [], u = this.getCrossFilter();
159
159
  if (u === "showItemsWithNoData") {
160
- for (let e = 0; e < i.length; e++) l.push(i[e].item);
160
+ for (let e = 0; e < a.length; e++) l.push(a[e].item);
161
161
  return s && l.push(s), l;
162
162
  }
163
- for (let e = 0; e < i.length; e++) i[e].item.hasData && l.push(i[e].item);
163
+ for (let e = 0; e < a.length; e++) a[e].item.hasData && l.push(a[e].item);
164
164
  if (s?.hasData && l.push(s), u === "none") return l;
165
- for (let e = 0; e < i.length; e++) i[e].item.hasData || l.push(i[e].item);
165
+ for (let e = 0; e < a.length; e++) a[e].item.hasData || l.push(a[e].item);
166
166
  return s && !s.hasData && l.push(s), l;
167
167
  }
168
168
  async getItem(e) {
@@ -244,12 +244,12 @@ var f = "SlicerStyleLight1", p = "ascending", m = "showItemsWithDataAtTop", h =
244
244
  }
245
245
  _resolve() {
246
246
  if (this._closed) return null;
247
- let e = a(this.getSource());
247
+ let e = s(this.getSource());
248
248
  if (!e) return null;
249
- let t = n(this._getWorkbook(), e.table), r = t?.getColumnByName(e.column) ?? null;
250
- return r ? (this._columnName = r.getName(), {
249
+ let t = a(this._getWorkbook(), e.table), n = t?.getColumnByName(e.column) ?? null;
250
+ return n ? (this._columnName = n.getName(), {
251
251
  table: t,
252
- column: r
252
+ column: n
253
253
  }) : null;
254
254
  }
255
255
  _getColumnName() {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { t as e } from "./DobHLF6VjHr7Xi40.mjs";
7
+ import { t as e } from "./BTgWtqdQoh2cB6DL.mjs";
8
8
  import { FormulaError as t } from "@sheetxl/primitives";
9
9
  import { messageKey as n } from "@sheetxl/utils";
10
10
  var r = ["linkedCell", "listFillRange"], i = /^(?:'((?:[^']|'')+)'|([^'!]+))!([^!]+)$/, a = Object.freeze([]), o = n("op.setControlCaption"), s = n("op.setControlMacro"), c = n("op.setControlLink"), l = n("op.setControlValue"), u = n("op.setControlRange"), d = n("op.setControlItems"), f = class extends e {
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
- import { Bi as e, Er as t, Sn as n, Vi as r, n as i, na as a, ra as o, ta as s } from "./BudSIfXBAsTxvu-K.mjs";
7
+ import { Cn as e, Er as t, Hi as n, Vi as r, ia as i, n as a, na as o, ra as s } from "./Dz86-De57bv2VYIi.mjs";
8
8
  import { FormulaError as c, IRange as l } from "@sheetxl/primitives";
9
9
  import { CommonUtils as u } from "@sheetxl/utils";
10
10
  var d = (e) => {
@@ -25,42 +25,42 @@ var d = (e) => {
25
25
  }, p = (e) => {
26
26
  let t = e.precedents;
27
27
  return t === null ? e.block.paramLength : t.length;
28
- }, m = (t) => {
29
- if (t instanceof e) return new o(t);
30
- let n = !0 === t.isIRepeatingList ? t : null, r = n ? n.getPeriod() : t.length, i = Array.isArray(t);
31
- if (!n && !i && !g(t)) return new o(t);
32
- let s = null;
33
- for (let e = 0; e < r; e++) if (h(i ? t[e] : t.at(e))) {
34
- if (s === null) {
35
- s = Array(r);
36
- for (let e = 0; e < r; e++) s[e] = i ? t[e] : t.at(e);
28
+ }, m = (e) => {
29
+ if (e instanceof r) return new i(e);
30
+ let t = !0 === e.isIRepeatingList ? e : null, n = t ? t.getPeriod() : e.length, a = Array.isArray(e);
31
+ if (!t && !a && !g(e)) return new i(e);
32
+ let o = null;
33
+ for (let t = 0; t < n; t++) if (h(a ? e[t] : e.at(t))) {
34
+ if (o === null) {
35
+ o = Array(n);
36
+ for (let t = 0; t < n; t++) o[t] = a ? e[t] : e.at(t);
37
37
  }
38
- s[e] = c.BuiltIn.Calc;
38
+ o[t] = c.BuiltIn.Calc;
39
39
  }
40
- return new o(s === null ? t : n ? new a(s, t.length) : s);
41
- }, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !t(e), g = (t) => {
42
- let n = !1;
43
- return o.forEachLeaf(t, (t, r, i, a) => {
44
- if (n || t instanceof e) return;
45
- let o = r + a - i;
46
- !0 === t.isIRepeatingList && (o = Math.min(o, r + t.getPeriod() - 1));
47
- for (let e = r; !n && e <= o; e++) n = h(t.at(e));
48
- }), n;
49
- }, _ = class extends n {
40
+ return new i(o === null ? e : t ? new s(o, e.length) : o);
41
+ }, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !t(e), g = (e) => {
42
+ let t = !1;
43
+ return i.forEachLeaf(e, (e, n, i, a) => {
44
+ if (t || e instanceof r) return;
45
+ let o = n + a - i;
46
+ !0 === e.isIRepeatingList && (o = Math.min(o, n + e.getPeriod() - 1));
47
+ for (let r = n; !t && r <= o; r++) t = h(e.at(r));
48
+ }), t;
49
+ }, _ = class extends e {
50
50
  constructor(e, t) {
51
51
  super(), this.nodes = e, this.count = t;
52
52
  }
53
- }, v = class extends n {
53
+ }, v = class extends e {
54
54
  constructor(e) {
55
55
  super(), this.node = e;
56
56
  }
57
- }, y = class extends n {
57
+ }, y = class extends e {
58
58
  constructor(e) {
59
59
  super(), this.node = e;
60
60
  }
61
61
  };
62
62
  function b(e, t = 0, n = 0) {
63
- let r = (e = e._materializeEmpty())._values, i = e._coords, a = r.getRuns({ bounds: i }), o = r.getAxis() !== l.Axis.Row, c = o ? i.colStart : i.rowStart, u = o ? i.rowStart : i.colStart, d = new s.Builder(null, t, n), f = a.next();
63
+ let r = (e = e._materializeEmpty())._values, i = e._coords, a = r.getRuns({ bounds: i }), s = r.getAxis() !== l.Axis.Row, c = s ? i.colStart : i.rowStart, u = s ? i.rowStart : i.colStart, d = new o.Builder(null, t, n), f = a.next();
64
64
  for (; !f.done;) {
65
65
  let e = f.value;
66
66
  d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f = a.next();
@@ -69,11 +69,11 @@ function b(e, t = 0, n = 0) {
69
69
  }
70
70
  function x(e) {
71
71
  if (typeof e != "object" || !e || !0 !== e.isIRange) return e;
72
- let t = e, n = t._values, a = new r({
73
- axis: n.getAxis(),
72
+ let t = e, r = t._values, i = new n({
73
+ axis: r.getAxis(),
74
74
  createRun: m
75
75
  }), o = b(t);
76
- return o && a.setValues(o.tuples), new i(t._runtime, a, {
76
+ return o && i.setValues(o.tuples), new a(t._runtime, i, {
77
77
  colStart: 0,
78
78
  rowStart: 0,
79
79
  colEnd: t.getColumnCount() - 1,
@@ -92,8 +92,8 @@ function S(e, t, n) {
92
92
  o[s] = t;
93
93
  }
94
94
  return o;
95
- }(e, r, i), o = n ? i : r, l = n ? r : i, u = n ? t.colStart : t.rowStart, d = n ? t.rowStart : t.colStart, f = new s.Builder(null), p = !0;
96
- for (let e = 0; e < o; e++) {
95
+ }(e, r, i), s = n ? i : r, l = n ? r : i, u = n ? t.colStart : t.rowStart, d = n ? t.rowStart : t.colStart, f = new o.Builder(null), p = !0;
96
+ for (let e = 0; e < s; e++) {
97
97
  let t = null, r = 0;
98
98
  for (let i = 0; i < l; i++) {
99
99
  let o = n ? a[i][e] : a[e][i];
@@ -103,11 +103,32 @@ function S(e, t, n) {
103
103
  }
104
104
  return p ? null : f.build();
105
105
  }
106
- function C(e, t, n, r, i = null) {
106
+ function C(e) {
107
+ let t = e.value;
108
+ if (t.$absRowStart !== t.$absRowEnd || t.$absColStart !== t.$absColEnd) return !1;
109
+ let n = e.rowEnd - e.rowStart - (t.$absRowEnd ? 0 : t.formulaBlockHeight - 1), r = e.colEnd - e.colStart - (t.$absColEnd ? 0 : t.formulaBlockWidth - 1);
110
+ return n === 0 && r === 0;
111
+ }
112
+ function w(e, t, n, r, i = null) {
107
113
  let a = e.value, o = a.formulaBlockWidth, s = a.formulaBlockHeight, c = a.formulaEntry.value, l = n - e.colStart, u = t - e.rowStart, d = e.rowEnd - e.rowStart - (s - 1), f = e.colEnd - e.colStart - (o - 1), p = a.$absRowEnd ? 0 : Math.max(0, u - d), m = a.$absRowStart ? s - 1 : Math.min(s - 1, u), h = a.$absColEnd ? 0 : Math.max(0, l - f), g = a.$absColStart ? o - 1 : Math.min(o - 1, l), _ = c.ref;
108
114
  i === null ? c.forEachNodeIn(_.rowStart + p, _.rowStart + m, _.colStart + h, _.colStart + g, r) : i(c, _.rowStart + p, _.rowStart + m, _.colStart + h, _.colStart + g, r);
109
115
  }
110
- function w(e, t, n, r, i, a, o = null) {
116
+ function T(e, t, n, r, i, a) {
117
+ if (C(e)) return void w(e, t, n, r, i);
118
+ let o = e.value, s = o.formulaBlockWidth, c = o.formulaBlockHeight, l = o.formulaEntry.value, u = l.ref, d = n - e.colStart, f = t - e.rowStart, p = e.rowEnd - e.rowStart - (c - 1), m = e.colEnd - e.colStart - (s - 1), h = u.rowStart + (o.$absRowEnd ? 0 : Math.max(0, f - p)), g = u.rowStart + (o.$absRowStart ? c - 1 : Math.min(c - 1, f)), _ = u.colStart + (o.$absColEnd ? 0 : Math.max(0, d - m)), v = u.colStart + (o.$absColStart ? s - 1 : Math.min(s - 1, d));
119
+ if (h > g || _ > v) return;
120
+ let y = a.get(o);
121
+ if (y === void 0) return a.set(o, {
122
+ rowFrom: h,
123
+ rowTo: g,
124
+ colFrom: _,
125
+ colTo: v
126
+ }), void i(l, h, g, _, v, r);
127
+ if (h >= y.rowFrom && g <= y.rowTo && _ >= y.colFrom && v <= y.colTo) return;
128
+ let b = h <= u.rowStart && g >= u.rowEnd && _ <= u.colStart && v >= u.colEnd;
129
+ !b && _ === y.colFrom && v === y.colTo && h <= y.rowTo + 1 && g >= y.rowFrom - 1 ? (h < y.rowFrom && i(l, h, y.rowFrom - 1, _, v, r), g > y.rowTo && i(l, y.rowTo + 1, g, _, v, r), h < y.rowFrom && (y.rowFrom = h), g > y.rowTo && (y.rowTo = g)) : !b && h === y.rowFrom && g === y.rowTo && _ <= y.colTo + 1 && v >= y.colFrom - 1 ? (_ < y.colFrom && i(l, h, g, _, y.colFrom - 1, r), v > y.colTo && i(l, h, g, y.colTo + 1, v, r), _ < y.colFrom && (y.colFrom = _), v > y.colTo && (y.colTo = v)) : (i(l, h, g, _, v, r), (g - h + 1) * (v - _ + 1) > (y.rowTo - y.rowFrom + 1) * (y.colTo - y.colFrom + 1) && (y.rowFrom = h, y.rowTo = g, y.colFrom = _, y.colTo = v));
130
+ }
131
+ function E(e, t, n, r, i, a, o = null) {
111
132
  let s = e.value, c = s.formulaBlockWidth, l = s.formulaBlockHeight, u = Math.max(t, e.rowStart), d = Math.min(r, e.rowEnd);
112
133
  if (u > d) return;
113
134
  let f = Math.max(n, e.colStart), p = Math.min(i, e.colEnd);
@@ -125,7 +146,7 @@ function w(e, t, n, r, i, a, o = null) {
125
146
  };
126
147
  o === null ? w.forEachNodeIn(T.rowStart + g, T.rowStart + _, T.colStart + v, T.colStart + y, E) : o(w, T.rowStart + g, T.rowStart + _, T.colStart + v, T.colStart + y, E);
127
148
  }
128
- function T(e) {
149
+ function D(e) {
129
150
  let { row: t, col: n, rows: r, cols: i, rowInput: a, colInput: o } = e, s = (e, t, n, r) => ({
130
151
  rowStart: e,
131
152
  colStart: t,
@@ -138,7 +159,7 @@ function T(e) {
138
159
  l
139
160
  ] : o === null ? [l, c] : [c, l];
140
161
  }
141
- var E = (e, t, n) => {
162
+ var O = (e, t, n) => {
142
163
  let { gridId: r, row: i, col: a } = e;
143
164
  return e.rowInput !== null && e.colInput !== null ? {
144
165
  gridId: r,
@@ -153,16 +174,16 @@ var E = (e, t, n) => {
153
174
  row: i - 1,
154
175
  col: a + n
155
176
  };
156
- }, D = (e, t) => ({
177
+ }, k = (e, t) => ({
157
178
  gridId: e.gridId,
158
179
  row: e.row - 1,
159
180
  col: e.col + t
160
- }), O = (e, t) => ({
181
+ }), A = (e, t) => ({
161
182
  gridId: e.gridId,
162
183
  row: e.row + t,
163
184
  col: e.col - 1
164
- }), k = (e, t) => 32768 * e + t;
165
- function A(e, t) {
185
+ }), j = (e, t) => 32768 * e + t;
186
+ function M(e, t) {
166
187
  let n = e.getPrecedents(), r = e.getDynamics(), i = /* @__PURE__ */ new Map(), a = [], o = !1, s = [], l = (e) => {
167
188
  if (e.block.hasDataTable()) return;
168
189
  let t = e.gridId;
@@ -172,7 +193,7 @@ function A(e, t) {
172
193
  byCell: /* @__PURE__ */ new Map(),
173
194
  spills: []
174
195
  }, i.set(t, n));
175
- let r = k(e.rowIndex, e.colIndex);
196
+ let r = j(e.rowIndex, e.colIndex);
176
197
  n.byCell.has(r) || (n.byCell.set(r, e), e.cachedValue?.isIRange && n.spills.push(e), a.push(e));
177
198
  }, u = (e, t, n, r, i) => {
178
199
  if (e.unanchored) return;
@@ -213,14 +234,14 @@ function A(e, t) {
213
234
  }
214
235
  if (a.length === 0) return a;
215
236
  let _ = [], v = (e) => {
216
- let t = i.get(e.gridId)?.byCell.get(k(e.row, e.col)) ?? null;
237
+ let t = i.get(e.gridId)?.byCell.get(j(e.row, e.col)) ?? null;
217
238
  t === null || _.includes(t) || _.push(t);
218
239
  };
219
240
  for (let e = 0; e < t.rows; e++) {
220
- g && v(O(t, e));
221
- for (let n = 0; n < t.cols; n++) v(E(t, e, n));
241
+ g && v(A(t, e));
242
+ for (let n = 0; n < t.cols; n++) v(O(t, e, n));
222
243
  }
223
- if (h) for (let e = 0; e < t.cols; e++) v(D(t, e));
244
+ if (h) for (let e = 0; e < t.cols; e++) v(k(t, e));
224
245
  if (_.length === 0) return [];
225
246
  let y = [], b = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set(), S = (e) => {
226
247
  if (b.has(e) || x.has(e)) return;
@@ -234,7 +255,7 @@ function A(e, t) {
234
255
  if (!o) continue;
235
256
  let s = a.rowStart, l = a.colStart, u = a.rowEnd, d = a.colEnd;
236
257
  if (s === u && l === d) {
237
- let e = o.byCell.get(k(s, l));
258
+ let e = o.byCell.get(j(s, l));
238
259
  e && !t.includes(e) && t.push(e);
239
260
  } else for (let e of o.byCell.values()) {
240
261
  let n = e.rowIndex, r = e.colIndex;
@@ -255,7 +276,7 @@ function A(e, t) {
255
276
  else for (let e = 0; e < _.length; e++) S(_[e]);
256
277
  return y;
257
278
  }
258
- function j(e, t, n) {
279
+ function N(e, t, n) {
259
280
  let { rows: r, cols: i, rowInput: a, colInput: o, gridId: s } = t, c = Array(r);
260
281
  for (let e = 0; e < r; e++) c[e] = Array(i);
261
282
  let l = (t) => e.layerFor(t.gridId).getValueAt(t.row, t.col) ?? null, u = (t, n) => {
@@ -273,9 +294,9 @@ function j(e, t, n) {
273
294
  }
274
295
  };
275
296
  for (let e = 0; e < r; e++) {
276
- o !== null && (u(o, l(O(t, e))), a === null && f());
277
- for (let n = 0; n < i; n++) a !== null && (u(a, l(D(t, n))), f()), c[e][n] = l(E(t, e, n));
297
+ o !== null && (u(o, l(A(t, e))), a === null && f());
298
+ for (let n = 0; n < i; n++) a !== null && (u(a, l(k(t, n))), f()), c[e][n] = l(O(t, e, n));
278
299
  }
279
300
  return c;
280
301
  }
281
- export { y as a, x as c, w as d, m as f, f as h, v as i, b as l, p as m, A as n, _ as o, d as p, T as r, S as s, j as t, C as u };
302
+ export { f as _, y as a, S as c, C as d, w as f, p as g, d as h, v as i, x as l, m, M as n, _ as o, E as p, D as r, T as s, N as t, b as u };
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.13
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
5
  * License: The license can be found at https://www.sheetxl.com/license.
6
6
  */
7
7
  async function e() {
8
- let e = "@0.8.0-beta.12";
8
+ let e = "@0.8.0-beta.13";
9
9
  e !== "@local" && e !== "@0.0.0" || (e = "");
10
10
  let t = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${e}/types/scripting-enums.json`, n = await fetch(t);
11
11
  if (!n.ok) throw Error(`Unable to load script enum runtime (${n.status}) from ${t}.`);