@sheetxl/sdk 0.8.0-beta.12 → 0.8.0-beta.14

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 (292) hide show
  1. package/THIRD-PARTY-NOTICES.md +172 -0
  2. package/browser/esm/{CBYMTDzMf1Vh7pkw.mjs → 3t4S9eda2I6jFad0.mjs} +1 -1
  3. package/browser/esm/{Bg5Di9GLNAkbqQ1P.mjs → AXlD9K1gCwPU4gCO.mjs} +1926 -1298
  4. package/browser/esm/{w6Jea0TiclPrYZ2M.mjs → B1aH_qa-czVyEVHd.mjs} +509 -509
  5. package/browser/esm/{DZiivy0NmO1Vnyzk.mjs → BEDfJP2tcuRy2Y2E.mjs} +2 -2
  6. package/browser/esm/{BdCJNawfifyPupCP.mjs → BLYl-afJe_3std8i.mjs} +1 -1
  7. package/browser/esm/{D2RZh0O9neOsyLAE.mjs → BPPMKyMn65i1a1mE.mjs} +69 -48
  8. package/browser/esm/{yuhcOYw6SHQ-RCm3.mjs → BSXQAXwZdJKYTO4P.mjs} +30 -30
  9. package/browser/esm/{-Jx-jNHmtIQQfLvK.mjs → BVqIknGhQCLUB_7Q.mjs} +1 -1
  10. package/browser/esm/{fXWUMDhZ5yMSO629.mjs → BWoz4kQdA5KKJfl6.mjs} +1 -1
  11. package/browser/esm/{DwwR3O2sEZApPSTF.mjs → Bdcd3QOzsc0aVMjN.mjs} +3 -3
  12. package/browser/esm/{2mIwPy2D2JUX-9wx.mjs → BpwULQPKbb4R9Jew.mjs} +2 -2
  13. package/browser/esm/{CwOPLXU3-9ZHGyOT.mjs → C7hpfT-sX2lyLS-D.mjs} +1 -1
  14. package/browser/esm/{BIHrHjRGWVlJglcp.mjs → CImFKFaYToUH-bSE.mjs} +2 -2
  15. package/browser/esm/{BTFBedJMRWGvZyCE.mjs → CM_X1zZYzEUPaNJL.mjs} +1 -1
  16. package/browser/esm/CPIWV3Enlh_BF2TY.mjs +19 -0
  17. package/browser/esm/{CndRBvVfQUJIYRRj.mjs → ChYgQL-8qIDFmX31.mjs} +50 -50
  18. package/browser/esm/{BudSIfXBAsTxvu-K.mjs → CtC__ALh4I8PKIln.mjs} +10071 -9246
  19. package/browser/esm/{qO-ujUrgq6H3TQix.mjs → Cy8uYCggktF83278.mjs} +1 -1
  20. package/browser/esm/D2NFcBM4xsv0JJ1q.mjs +184 -0
  21. package/browser/esm/{D9xNz46kAfXMZzp4.mjs → D39XcmtPXVtMN4yF.mjs} +2 -2
  22. package/browser/esm/{CdEO8CEee6lEhabA.mjs → DBvu0tdSf-5vol4e.mjs} +2 -2
  23. package/browser/esm/{Tah7cnFb_HNZdLtj.mjs → DIfAk63CvaOZ3QKi.mjs} +3 -3
  24. package/browser/esm/{B3wf5vZCsWfWsDbj.mjs → D_XMi4_5iO2rkET5.mjs} +1 -1
  25. package/browser/esm/{DgrAuRD2qr2DvFeJ.mjs → Dh84MDs-OhdCPCIg.mjs} +44 -44
  26. package/browser/esm/{DPhGQLNGmDZwODwJ.mjs → Dhw5XEJYFrkYjdU2.mjs} +94 -94
  27. package/browser/esm/{Cxjxk0ncRKx80I-w.mjs → DiXeQjc0WJGLSVEo.mjs} +1 -1
  28. package/browser/esm/DnR0xY7_iE3TmMcg.mjs +348 -0
  29. package/browser/esm/{DK899HhWX1HINMC1.mjs → DnqwX3-2NfGBaXXl.mjs} +25 -25
  30. package/browser/esm/{D64dM68B1pKYFzdP.mjs → DonQz2Tc3k9lNT8E.mjs} +2 -2
  31. package/browser/esm/{Bt8_m94tBdks209L.mjs → DvvqmUQ9Z0NFm1-4.mjs} +1 -1
  32. package/browser/esm/{BnC4-27Igwb8oDf2.mjs → Ln4gsmhqH1LyoANj.mjs} +44 -43
  33. package/browser/esm/{CUzYuYTTGsChC_kZ.mjs → MuNBN02MyZ558c_K.mjs} +2052 -1583
  34. package/browser/esm/{CRkYR-siY2C994KV.mjs → SwLp-iElwDjfcJtv.mjs} +1 -1
  35. package/browser/esm/{C9u8FUewte5ugUjH.mjs → UMQTbO0zNmBpzW1V.mjs} +725 -716
  36. package/browser/esm/aRXqxIzjuSLwawMh.mjs +18 -0
  37. package/browser/esm/index.mjs +482 -440
  38. package/browser/esm/{hCQJcmIzPDxDEv2q.mjs → oSCy1X5CJ1iYtGDp.mjs} +2 -2
  39. package/browser/esm/{DobHLF6VjHr7Xi40.mjs → qCqzZW74-fhaIG2V.mjs} +1 -1
  40. package/browser/esm/{CNdjyofiRu6CYOrr.mjs → r_EZapMBdyS4gUd-.mjs} +50 -48
  41. package/browser/esm/yuF8SbWfjBfrxcq5.mjs +367 -0
  42. package/licenses/dependencies.txt +71 -1
  43. package/node/esm/99miMotf3dOuG5Jk.mjs +372 -0
  44. package/node/esm/{-TA0MneBDKdGhsib.mjs → B3hBxzqJ2_hUylNr.mjs} +3329 -2852
  45. package/node/esm/{BNXLOEddJ6O9gYws.mjs → B5VmOC0jO9Zbh9Mq.mjs} +2 -2
  46. package/node/esm/{DhS6yWjrrSNIJMsn.mjs → B6jhx5pHPs2W5GE7.mjs} +234 -225
  47. package/node/esm/{DUTmDHbFbhLDT4F3.mjs → BCjHRVU8tC5lYypg.mjs} +1 -1
  48. package/node/esm/BEBt5fo__rvT2q_u.mjs +310 -0
  49. package/node/esm/{icn2nX5Z8e_3mNAv.mjs → BELc5aQ_pFPgbiso.mjs} +1 -1
  50. package/node/esm/{DrCf6ITcBhVOFpRj.mjs → BEdxa3I4VOiCsvy7.mjs} +7 -7
  51. package/node/esm/{D3ptRKzASqBut1DE.mjs → BLPrFp_jKGYgWPX1.mjs} +2 -2
  52. package/node/esm/{BskP3b8vUoIOGLY6.mjs → BSVttk12GXNfKZ9k.mjs} +2 -2
  53. package/node/esm/{D4ROK9UwDpS6jO3Z.mjs → BXg-D8Rc_iyB8p7X.mjs} +1 -1
  54. package/node/esm/{DV5CU37aEbFbWFL0.mjs → BfEdeOg4iYXaYTlh.mjs} +1 -1
  55. package/node/esm/BuyAYLI4s33-vmgG.mjs +18 -0
  56. package/node/esm/{C_xf5Bz30VqiJjXn.mjs → C-5JLSNof0FhkuFd.mjs} +1 -1
  57. package/node/esm/{eimUGjiIP-b8HiM6.mjs → C3S4hF1vn0NyJPPd.mjs} +52 -52
  58. package/node/esm/{BL2iiEoqxDEV2Xrg.mjs → CI8UIWR01z9QDlzH.mjs} +3348 -2610
  59. package/node/esm/{pYtP7wPyS96NQyXS.mjs → CPsGyt3vnOdLTShj.mjs} +25 -25
  60. package/node/esm/{CG-qBU5BAaVz7e-P.mjs → Ccocd9DTvOnlOE9D.mjs} +1 -1
  61. package/node/esm/{C14-R6tifRh7pc0p.mjs → CdSTmD2ZvG9NesNR.mjs} +1 -1
  62. package/node/esm/{Q_S1g46ZOTrdhTae.mjs → Crn6dnSQQRCQAnQ-.mjs} +1 -1
  63. package/node/esm/{DdoiuKg9BKubtF1V.mjs → Cyeq1rDslIqF1LKz.mjs} +1 -1
  64. package/node/esm/{Ci_zLYmCD7e-C79O.mjs → D30rC6AWaGGf3CaC.mjs} +1 -1
  65. package/node/esm/D4Y1WJgjiFEgbWrW.mjs +115 -0
  66. package/node/esm/{Vocy-I9dKzZMr0Ct.mjs → DLdXl0O0TXuyqLU4.mjs} +10898 -10685
  67. package/node/esm/{D8hO07ToAibIuniw.mjs → DbPUG2DcQ3T_QhcJ.mjs} +138 -136
  68. package/node/esm/{lGJ42sHqg5if2bba.mjs → DeFE8QfuCeGw-mvd.mjs} +458 -458
  69. package/node/esm/{CiIymQN6aJCul62g.mjs → DiCMnYA2bttmrX3q.mjs} +9 -9
  70. package/node/esm/{DhTya_mhmN53vskv.mjs → Dlk2ZYExFgQ0xE2H.mjs} +1 -1
  71. package/node/esm/{Btw4148Ot8ifhNc1.mjs → I-FZojIFWluC6X-j.mjs} +1 -1
  72. package/node/esm/{C99zzq8DImQXi4BQ.mjs → Lj98EH6coGdKUzuS.mjs} +10 -10
  73. package/node/esm/{B-HUPAcqvK0eeeCz.mjs → NA-8urR7T1NCwrgD.mjs} +38 -37
  74. package/node/esm/{DxazKtROyaI51dWl.mjs → YpOpRyciqQLIY1-G.mjs} +1 -1
  75. package/node/esm/{CkRYLed8Mmn3giNg.mjs → b3XnssSr9lmvAC2N.mjs} +2 -2
  76. package/node/esm/clgEkmEwfB28nkz2.mjs +351 -0
  77. package/node/esm/index.mjs +584 -540
  78. package/node/esm/{CRt3vXe6YmXzqk3H.mjs → pF2vCOTmrxPAB41Q.mjs} +102 -102
  79. package/node/esm/{CBuEu5Jk-LfaDy-H.mjs → uLrulyR7IXq0SF4j.mjs} +44 -44
  80. package/node/esm/{C_aL7CGS1lrNn1Ng.mjs → xRGObcoaGDnAZFnj.mjs} +1 -1
  81. package/package.json +10 -7
  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/scripting/enumManifest.browser.d.ts +7 -2
  257. package/types/src/sheet/IWorksheet.d.ts +2 -5
  258. package/types/src/sheet/NamedCellRange.d.ts +0 -21
  259. package/types/src/sheet/SheetCell.d.ts +8 -2
  260. package/types/src/sheet/Worksheet.d.ts +7 -48
  261. package/types/src/sheet/_DelimitedText.d.ts +13 -0
  262. package/types/src/sheet/_IgnoredErrors.d.ts +0 -12
  263. package/types/src/sheet/_ScalarListFactory.d.ts +0 -19
  264. package/types/src/sheet/_SheetCoords.d.ts +0 -7
  265. package/types/src/sheet/_SheetFilterUtils.d.ts +0 -8
  266. package/types/src/sheet/_SheetStateReader.d.ts +0 -10
  267. package/types/src/sheet/_SheetStateTypes.d.ts +0 -3
  268. package/types/src/sheet/_SheetUtils.d.ts +1 -1
  269. package/types/src/sheet/style/_RowLine.d.ts +32 -0
  270. package/types/src/sheet/style/_StyleUtils.d.ts +6 -14
  271. package/types/src/sheetView/_SheetViewUtils.d.ts +0 -1
  272. package/types/src/slicer/_BuiltInSlicerStyles.d.ts +0 -5
  273. package/types/src/style/ICellStyle.d.ts +4 -0
  274. package/types/src/table/AnchoredTable.d.ts +0 -147
  275. package/types/src/text/TextFrame.d.ts +4 -1
  276. package/types/src/text/TextStacked.d.ts +0 -24
  277. package/types/src/text/TextWrapper.d.ts +3 -5
  278. package/types/src/text/_LineBox.d.ts +24 -0
  279. package/types/src/text/_TextUtils.d.ts +5 -2
  280. package/types/src/text/_TextWrapperFallback.d.ts +2 -1
  281. package/types/src/wasm/sdkWasm.d.ts +1 -1
  282. package/types/src/workbook/Workbook.d.ts +0 -10
  283. package/browser/esm/2WuhYrIpYmOR5H73.mjs +0 -698
  284. package/browser/esm/CTe2qfmIUEad6FJv.mjs +0 -199
  285. package/browser/esm/CfRqiPDg6RBTg1EN.mjs +0 -367
  286. package/browser/esm/DVroRnhi-5IDXNgM.mjs +0 -210
  287. package/browser/esm/DwZCT7DZiiXoTweg.mjs +0 -14
  288. package/node/esm/BSvOluusoDM4z_dx.mjs +0 -811
  289. package/node/esm/CPI58duc0j0a-HpJ.mjs +0 -115
  290. package/node/esm/DggQ23jKMpwhENfa.mjs +0 -372
  291. package/node/esm/Dn1M7YWi25DeeYUb.mjs +0 -210
  292. package/node/esm/ZXPFcsT2zrALCZux.mjs +0 -289
@@ -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.14
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.
@@ -0,0 +1,310 @@
1
+ /**
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ import { Cn as t, Er as o, Hi as r, Vi as n, ia as l, n as e, na as a, ra as c } from "./DLdXl0O0TXuyqLU4.mjs";
8
+ import { FormulaError as s, IRange as u } from "@sheetxl/primitives";
9
+ import { CommonUtils as d } from "@sheetxl/utils";
10
+ var i = (t) => {
11
+ let o = t.ext;
12
+ return null === o && (o = t.ext = {
13
+ spillDependents: d.EmptyArray,
14
+ spillRowEnd: -1,
15
+ spillColEnd: -1,
16
+ fixedRef: null,
17
+ demandValue: void 0,
18
+ cycleGroup: 0,
19
+ cycleNext: null,
20
+ shownGroup: 0
21
+ }), o;
22
+ }, w = (t) => {
23
+ const o = t.precedents;
24
+ return null !== o ? o : t.block.getPrecedentsAt(t.rowIndex, t.colIndex);
25
+ }, f = (t) => {
26
+ const o = t.precedents;
27
+ return null !== o ? o.length : t.block.paramLength;
28
+ }, S = (t) => {
29
+ if (t instanceof n) return new l(t);
30
+ const o = !0 === t.isIRepeatingList ? t : null, r = o ? o.getPeriod() : t.length, e = Array.isArray(t);
31
+ if (!o && !e && !m(t)) return new l(t);
32
+ let a = null;
33
+ for (let o = 0; o < r; o++) if (h(e ? t[o] : t.at(o))) {
34
+ if (null === a) {
35
+ a = new Array(r);
36
+ for (let o = 0; o < r; o++) a[o] = e ? t[o] : t.at(o);
37
+ }
38
+ a[o] = s.BuiltIn.Calc;
39
+ }
40
+ return new l(null === a ? t : o ? new c(a, t.length) : a);
41
+ }, h = (t) => null !== t && "object" == typeof t && !s.isError(t) && !0 !== t.isIRichData && !o(t), m = (t) => {
42
+ let o = !1;
43
+ return l.forEachLeaf(t, (t, r, l, e) => {
44
+ if (o || t instanceof n) return;
45
+ let a = r + e - l;
46
+ !0 === t.isIRepeatingList && (a = Math.min(a, r + t.getPeriod() - 1));
47
+ for (let n = r; !o && n <= a; n++) o = h(t.at(n));
48
+ }), o;
49
+ }, g = class extends t {
50
+ constructor(t, o) {
51
+ super(), this.nodes = t, this.count = o;
52
+ }
53
+ }, I = class extends t {
54
+ constructor(t) {
55
+ super(), this.node = t;
56
+ }
57
+ }, E = class extends t {
58
+ constructor(t) {
59
+ super(), this.node = t;
60
+ }
61
+ };
62
+ function p(t, o = 0, r = 0) {
63
+ const n = (t = t._materializeEmpty())._values, l = t._coords, e = n.getRuns({ bounds: l }), c = n.getAxis() !== u.Axis.Row, s = c ? l.colStart : l.rowStart, d = c ? l.rowStart : l.colStart, i = new a.Builder(null, o, r);
64
+ let w = e.next();
65
+ for (; !w.done;) {
66
+ const t = w.value;
67
+ i.pushMultipleAt(t[0] - s, t[1] - d, t[2]), w = e.next();
68
+ }
69
+ return i.build();
70
+ }
71
+ function x(t) {
72
+ if (null === t || "object" != typeof t || !0 !== t.isIRange) return t;
73
+ const o = t, n = o._values, l = new r({
74
+ axis: n.getAxis(),
75
+ createRun: S
76
+ }), a = p(o);
77
+ return a && l.setValues(a.tuples), new e(o._runtime, l, {
78
+ colStart: 0,
79
+ rowStart: 0,
80
+ colEnd: o.getColumnCount() - 1,
81
+ rowEnd: o.getRowCount() - 1
82
+ });
83
+ }
84
+ function b(t, o, r) {
85
+ const n = o.rowEnd - o.rowStart + 1, l = o.colEnd - o.colStart + 1, e = function(t, o, r) {
86
+ const n = t?.isIRange ? t : null, l = n ? n.getRowCount() : 1, e = n ? n.getColumnCount() : 1, a = new Array(o);
87
+ for (let c = 0; c < o; c++) {
88
+ const o = new Array(r), u = 1 === l ? 0 : c < l ? c : -1;
89
+ for (let l = 0; l < r; l++) {
90
+ const r = 1 === e ? 0 : l < e ? l : -1;
91
+ o[l] = u < 0 || r < 0 ? s.BuiltIn.NA : n ? n.getValueAt(u, r) : t;
92
+ }
93
+ a[c] = o;
94
+ }
95
+ return a;
96
+ }(t, n, l), c = r ? l : n, u = r ? n : l, d = r ? o.colStart : o.rowStart, i = r ? o.rowStart : o.colStart, w = new a.Builder(null);
97
+ let f = !0;
98
+ for (let t = 0; t < c; t++) {
99
+ let o = null, n = 0;
100
+ for (let l = 0; l < u; l++) {
101
+ const a = r ? e[l][t] : e[t][l];
102
+ null != a ? (o || (o = [], n = l, f = !1), o.push(a)) : o && (w.pushMultipleAt(d + t, i + n, o), o = null);
103
+ }
104
+ o && w.pushMultipleAt(d + t, i + n, o);
105
+ }
106
+ return f ? null : w.build();
107
+ }
108
+ function C(t) {
109
+ const o = t.value;
110
+ if (o.$absRowStart !== o.$absRowEnd || o.$absColStart !== o.$absColEnd) return !1;
111
+ const r = t.rowEnd - t.rowStart - (o.$absRowEnd ? 0 : o.formulaBlockHeight - 1), n = t.colEnd - t.colStart - (o.$absColEnd ? 0 : o.formulaBlockWidth - 1);
112
+ return 0 === r && 0 === n;
113
+ }
114
+ function M(t, o, r, n, l = null) {
115
+ const e = t.value, a = e.formulaBlockWidth, c = e.formulaBlockHeight, s = e.formulaEntry.value, u = r - t.colStart, d = o - t.rowStart, i = t.rowEnd - t.rowStart - (c - 1), w = t.colEnd - t.colStart - (a - 1), f = e.$absRowEnd ? 0 : Math.max(0, d - i), S = e.$absRowStart ? c - 1 : Math.min(c - 1, d), h = e.$absColEnd ? 0 : Math.max(0, u - w), m = e.$absColStart ? a - 1 : Math.min(a - 1, u), g = s.ref;
116
+ null !== l ? l(s, g.rowStart + f, g.rowStart + S, g.colStart + h, g.colStart + m, n) : s.forEachNodeIn(g.rowStart + f, g.rowStart + S, g.colStart + h, g.colStart + m, n);
117
+ }
118
+ function R(t, o, r, n, l, e) {
119
+ if (C(t)) return void M(t, o, r, n, l);
120
+ const a = t.value, c = a.formulaBlockWidth, s = a.formulaBlockHeight, u = a.formulaEntry.value, d = u.ref, i = r - t.colStart, w = o - t.rowStart, f = t.rowEnd - t.rowStart - (s - 1), S = t.colEnd - t.colStart - (c - 1), h = d.rowStart + (a.$absRowEnd ? 0 : Math.max(0, w - f)), m = d.rowStart + (a.$absRowStart ? s - 1 : Math.min(s - 1, w)), g = d.colStart + (a.$absColEnd ? 0 : Math.max(0, i - S)), I = d.colStart + (a.$absColStart ? c - 1 : Math.min(c - 1, i));
121
+ if (h > m || g > I) return;
122
+ const E = e.get(a);
123
+ if (void 0 === E) return e.set(a, {
124
+ rowFrom: h,
125
+ rowTo: m,
126
+ colFrom: g,
127
+ colTo: I
128
+ }), void l(u, h, m, g, I, n);
129
+ if (h >= E.rowFrom && m <= E.rowTo && g >= E.colFrom && I <= E.colTo) return;
130
+ const p = h <= d.rowStart && m >= d.rowEnd && g <= d.colStart && I >= d.colEnd;
131
+ !p && g === E.colFrom && I === E.colTo && h <= E.rowTo + 1 && m >= E.rowFrom - 1 ? (h < E.rowFrom && l(u, h, E.rowFrom - 1, g, I, n), m > E.rowTo && l(u, E.rowTo + 1, m, g, I, n), h < E.rowFrom && (E.rowFrom = h), m > E.rowTo && (E.rowTo = m)) : !p && h === E.rowFrom && m === E.rowTo && g <= E.colTo + 1 && I >= E.colFrom - 1 ? (g < E.colFrom && l(u, h, m, g, E.colFrom - 1, n), I > E.colTo && l(u, h, m, E.colTo + 1, I, n), g < E.colFrom && (E.colFrom = g), I > E.colTo && (E.colTo = I)) : (l(u, h, m, g, I, n), (m - h + 1) * (I - g + 1) > (E.rowTo - E.rowFrom + 1) * (E.colTo - E.colFrom + 1) && (E.rowFrom = h, E.rowTo = m, E.colFrom = g, E.colTo = I));
132
+ }
133
+ function y(t, o, r, n, l, e, a = null) {
134
+ const c = t.value, s = c.formulaBlockWidth, u = c.formulaBlockHeight, d = Math.max(o, t.rowStart), i = Math.min(n, t.rowEnd);
135
+ if (d > i) return;
136
+ const w = Math.max(r, t.colStart), f = Math.min(l, t.colEnd);
137
+ if (w > f) return;
138
+ const S = t.rowEnd - t.rowStart - (u - 1), h = t.colEnd - t.colStart - (s - 1), m = c.$absRowEnd ? 0 : Math.max(0, d - t.rowStart - S), g = c.$absRowStart ? u - 1 : Math.min(u - 1, i - t.rowStart), I = c.$absColEnd ? 0 : Math.max(0, w - t.colStart - h), E = c.$absColStart ? s - 1 : Math.min(s - 1, f - t.colStart);
139
+ if (m > g || I > E) return;
140
+ let p = 1, x = 0, b = 1, C = 0;
141
+ if (o >= t.rowStart && o <= t.rowEnd && r >= t.colStart && r <= t.colEnd) {
142
+ const n = o - t.rowStart, l = r - t.colStart;
143
+ p = c.$absRowEnd ? 0 : Math.max(0, n - S), x = c.$absRowStart ? u - 1 : Math.min(u - 1, n), b = c.$absColEnd ? 0 : Math.max(0, l - h), C = c.$absColStart ? s - 1 : Math.min(s - 1, l);
144
+ }
145
+ const M = c.formulaEntry.value, R = M.ref, y = (t) => {
146
+ const o = t.rowIndex - R.rowStart, r = t.colIndex - R.colStart;
147
+ o >= p && o <= x && r >= b && r <= C || e(t);
148
+ };
149
+ null !== a ? a(M, R.rowStart + m, R.rowStart + g, R.colStart + I, R.colStart + E, y) : M.forEachNodeIn(R.rowStart + m, R.rowStart + g, R.colStart + I, R.colStart + E, y);
150
+ }
151
+ function $(t) {
152
+ const { row: o, col: r, rows: n, cols: l, rowInput: e, colInput: a } = t, c = (t, o, r, n) => ({
153
+ rowStart: t,
154
+ colStart: o,
155
+ rowEnd: r,
156
+ colEnd: n
157
+ }), s = c(o - 1, r, o - 1, r + l - 1), u = c(o, r - 1, o + n - 1, r - 1);
158
+ return null !== e && null !== a ? [
159
+ c(o - 1, r - 1, o - 1, r - 1),
160
+ s,
161
+ u
162
+ ] : null !== a ? [s, u] : [u, s];
163
+ }
164
+ var v = (t, o, r) => {
165
+ const { gridId: n, row: l, col: e } = t;
166
+ return null !== t.rowInput && null !== t.colInput ? {
167
+ gridId: n,
168
+ row: l - 1,
169
+ col: e - 1
170
+ } : null !== t.colInput ? {
171
+ gridId: n,
172
+ row: l - 1,
173
+ col: e + r
174
+ } : {
175
+ gridId: n,
176
+ row: l + o,
177
+ col: e - 1
178
+ };
179
+ }, F = (t, o) => ({
180
+ gridId: t.gridId,
181
+ row: t.row - 1,
182
+ col: t.col + o
183
+ }), T = (t, o) => ({
184
+ gridId: t.gridId,
185
+ row: t.row + o,
186
+ col: t.col - 1
187
+ }), A = (t, o) => 32768 * t + o;
188
+ function k(t, o) {
189
+ const r = t.getPrecedents(), n = t.getDynamics(), l = /* @__PURE__ */ new Map(), e = [];
190
+ let a = !1;
191
+ const c = [], u = (t) => {
192
+ if (t.block.hasDataTable()) return;
193
+ const o = t.gridId;
194
+ if (!o) return;
195
+ let r = l.get(o);
196
+ r || (r = {
197
+ byCell: /* @__PURE__ */ new Map(),
198
+ spills: []
199
+ }, l.set(o, r));
200
+ const n = A(t.rowIndex, t.colIndex);
201
+ r.byCell.has(n) || (r.byCell.set(n, t), t.cachedValue?.isIRange && r.spills.push(t), e.push(t));
202
+ }, d = (t, o, r, n, l) => {
203
+ if (t.unanchored) return;
204
+ const e = t.ref;
205
+ t.mintNodesIn(e.rowStart + o, e.rowStart + r, e.colStart + n, e.colStart + l, u);
206
+ }, i = (t, o) => {
207
+ if (o.unanchored || o.hasDataTable()) return;
208
+ a = !0;
209
+ const r = o.ref;
210
+ o.mintNodesIn(r.rowStart, r.rowEnd, r.colStart, r.colEnd, u);
211
+ }, f = {
212
+ colStart: 0,
213
+ rowStart: 0,
214
+ colEnd: 0,
215
+ rowEnd: 0,
216
+ scope: o.gridId
217
+ }, S = (t, o, n, l, e) => {
218
+ f.rowStart = o, f.colStart = n, f.rowEnd = l, f.colEnd = e, f.scope = t, function(t, o, r, n, l) {
219
+ r.length = 0, t.search(o, !1, !1, r);
220
+ const e = r.length;
221
+ if (0 === e) return;
222
+ const a = o.colStart, c = o.rowStart, s = o.colEnd - a, u = o.rowEnd - c;
223
+ for (let t = 0; t < e; t++) {
224
+ const o = r[t], e = o.value, d = e.formulaEntry.value;
225
+ if (e.index < 0) {
226
+ l(o, d);
227
+ continue;
228
+ }
229
+ const i = d.ref, w = i.colEnd - i.colStart, f = i.rowEnd - i.rowStart, S = o.colEnd - o.colStart - w, h = o.rowEnd - o.rowStart - f;
230
+ let m = 0, g = f, I = 0, E = w;
231
+ const p = c - o.rowStart, x = a - o.colStart;
232
+ e.$absRowEnd || (m = Math.min(Math.max(p - h, 0), f)), e.$absRowStart || (g = Math.min(p + u, f)), e.$absColEnd || (I = Math.min(Math.max(x - S, 0), w)), e.$absColStart || (E = Math.min(s + x, w)), n(d, m, g, I, E);
233
+ }
234
+ }(r, f, c, d, i);
235
+ }, { rowInput: h, colInput: m } = o;
236
+ h && S(o.gridId, h.rowIndex, h.colIndex, h.rowIndex, h.colIndex), m && S(o.gridId, m.rowIndex, m.colIndex, m.rowIndex, m.colIndex);
237
+ for (let t = 0; t < e.length; t++) {
238
+ const o = e[t], r = o.gridId, l = o.rowIndex, c = o.colIndex, s = o.cachedValue;
239
+ s?.isIRange ? S(r, l, c, l + s.getRowCount() - 1, c + s.getColumnCount() - 1) : S(r, l, c, l, c), !a && n.has(o.block) && (a = !0);
240
+ }
241
+ if (0 === e.length) return e;
242
+ const g = [], I = (t) => {
243
+ const o = l.get(t.gridId)?.byCell.get(A(t.row, t.col)) ?? null;
244
+ null === o || g.includes(o) || g.push(o);
245
+ };
246
+ for (let t = 0; t < o.rows; t++) {
247
+ m && I(T(o, t));
248
+ for (let r = 0; r < o.cols; r++) I(v(o, t, r));
249
+ }
250
+ if (h) for (let t = 0; t < o.cols; t++) I(F(o, t));
251
+ if (0 === g.length) return [];
252
+ const E = [], p = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set(), b = (t) => {
253
+ if (p.has(t) || x.has(t)) return;
254
+ x.add(t);
255
+ const o = ((t) => {
256
+ const o = [], r = w(t);
257
+ for (let n = 0; n < r.length; n++) {
258
+ const e = r[n];
259
+ if (s.isError(e)) continue;
260
+ const a = l.get(e.scope ?? t.gridId);
261
+ if (!a) continue;
262
+ const c = e.rowStart, u = e.colStart, d = e.rowEnd, i = e.colEnd;
263
+ if (c === d && u === i) {
264
+ const t = a.byCell.get(A(c, u));
265
+ t && !o.includes(t) && o.push(t);
266
+ } else for (const t of a.byCell.values()) {
267
+ const r = t.rowIndex, n = t.colIndex;
268
+ r >= c && r <= d && n >= u && n <= i && !o.includes(t) && o.push(t);
269
+ }
270
+ const w = a.spills;
271
+ for (let t = 0; t < w.length; t++) {
272
+ const r = w[t], n = r.cachedValue, l = r.rowIndex, e = r.colIndex;
273
+ l <= d && l + n.getRowCount() - 1 >= c && e <= i && e + n.getColumnCount() - 1 >= u && !o.includes(r) && o.push(r);
274
+ }
275
+ }
276
+ return o;
277
+ })(t);
278
+ for (let t = 0; t < o.length; t++) b(o[t]);
279
+ x.delete(t), p.add(t), E.push(t);
280
+ };
281
+ if (a) for (let t = 0; t < e.length; t++) b(e[t]);
282
+ else for (let t = 0; t < g.length; t++) b(g[t]);
283
+ return E;
284
+ }
285
+ function B(t, o, r) {
286
+ const { rows: n, cols: l, rowInput: e, colInput: a, gridId: c } = o, s = new Array(n);
287
+ for (let t = 0; t < n; t++) s[t] = new Array(l);
288
+ const u = (o) => t.layerFor(o.gridId).getValueAt(o.row, o.col) ?? null, d = (o, r) => {
289
+ t.layerFor(c).set(o.rowIndex, o.colIndex, r);
290
+ }, i = (o, r) => {
291
+ const n = t.layerFor(o.gridId), l = o.rowIndex, e = o.colIndex, a = r;
292
+ if (a?.isIRange) {
293
+ const t = a.getRowCount(), o = a.getColumnCount();
294
+ for (let r = 0; r < t; r++) for (let t = 0; t < o; t++) n.set(l + r, e + t, a.getValueAt(r, t) ?? null);
295
+ return;
296
+ }
297
+ n.set(l, e, r);
298
+ }, w = () => {
299
+ for (let o = 0; o < r.length; o++) {
300
+ const n = r[o];
301
+ i(n, t.evaluate(n));
302
+ }
303
+ };
304
+ for (let t = 0; t < n; t++) {
305
+ null !== a && (d(a, u(T(o, t))), null === e && w());
306
+ for (let r = 0; r < l; r++) null !== e && (d(e, u(F(o, r))), w()), s[t][r] = u(v(o, t, r));
307
+ }
308
+ return s;
309
+ }
310
+ export { w as _, E as a, b as c, C as d, M as f, f as g, i as h, I as i, x as l, S as m, k as n, g as o, y as p, $ as r, R as s, B as t, p as u };
@@ -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.14
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,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.14
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 } from "./CG-qBU5BAaVz7e-P.mjs";
8
- import { ct as n } from "./BL2iiEoqxDEV2Xrg.mjs";
7
+ import { t } from "./Ccocd9DTvOnlOE9D.mjs";
8
+ import { ut as n } from "./CI8UIWR01z9QDlzH.mjs";
9
9
  var r = t({
10
10
  toConcreteCSS: () => o,
11
11
  toConcreteFill: () => u
@@ -54,8 +54,8 @@ function u(t, r) {
54
54
  default: return null;
55
55
  }
56
56
  }
57
- var s, l = /* @__PURE__ */ new Map(), c = !1;
58
- function a(t) {
57
+ var s, l = /* @__PURE__ */ new Map(), a = !1;
58
+ function c(t) {
59
59
  for (const n of t.types) l.set(n, t);
60
60
  return () => {
61
61
  for (const n of t.types) l.get(n) === t && l.delete(n);
@@ -69,13 +69,13 @@ function a(t) {
69
69
  return "custom" === t.type ? `custom:${t.custom?.kind ?? ""}` : t.type;
70
70
  }
71
71
  t.register = function(t) {
72
- return a(t);
72
+ return c(t);
73
73
  }, t.get = n, t.has = function(t) {
74
74
  return l.has(t);
75
75
  }, t.getTypes = function() {
76
76
  return [...l.keys()];
77
77
  }, t.registerBuiltIns = function(t) {
78
- c || (c = !0, t((t) => a({
78
+ a || (a = !0, t((t) => c({
79
79
  ...t,
80
80
  types: t.types.filter((t) => !l.has(t))
81
81
  })));
@@ -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.14
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 { r as e } from "./ZXPFcsT2zrALCZux.mjs";
7
+ import { r as e } from "./BEBt5fo__rvT2q_u.mjs";
8
8
  import { FormulaError as r, ScalarType as t } from "@sheetxl/primitives";
9
9
  function n(e, r, n) {
10
10
  const l = (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.14
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 { i as t, n as e, r as n, t as r } from "./CiIymQN6aJCul62g.mjs";
7
+ import { i as t, n as e, r as n, t as r } from "./DiCMnYA2bttmrX3q.mjs";
8
8
  var s = 6e4, a = Math.PI / 180 / s, c = 108e5 / Math.PI, o = /^[+-]?\d+$/, u = (t) => o.test(t) ? Number(t) : t, i = /* @__PURE__ */ new WeakMap();
9
9
  function h(t) {
10
10
  let e = i.get(t);
@@ -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.14
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.14
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.
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: The license can be found at https://www.sheetxl.com/license.
6
+ */
7
+ function t(t, e, n) {
8
+ const i = t.metrics(e);
9
+ return function(t, e) {
10
+ const n = Math.max(0, e - (t.ascent + t.descent));
11
+ return {
12
+ lineHeight: e,
13
+ lineGap: n,
14
+ baseline: Math.floor(n / 2) + t.ascent
15
+ };
16
+ }(i, n ? n(t, e) : i.lineHeight);
17
+ }
18
+ export { t };
@@ -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.14
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,75 +1,75 @@
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.14
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 { $n as e, At as n, Gn as t, Kn as r, Qn as s, Rn as o, Vn as l, Xn as c, br as i, lr as a } from "./Vocy-I9dKzZMr0Ct.mjs";
8
- var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.value"), p = Symbol("sheetxl.formulaNode.replaced"), g = { canonical: !0 }, v = (e, t) => {
9
- const r = e.inputs;
10
- let s = null;
11
- if (r) {
12
- const e = r.length;
13
- s = new Array(e);
14
- for (let n = 0; n < e; n++) {
15
- const e = r[n];
16
- s[n] = e ? v(e, t) : e;
7
+ import { $n as e, Hn as n, Kn as t, Zn as r, er as s, jt as o, qn as l, ur as c, xr as i, zn as a } from "./DLdXl0O0TXuyqLU4.mjs";
8
+ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.value"), p = Symbol("sheetxl.formulaNode.replaced"), g = { canonical: !0 }, v = (e, n) => {
9
+ const t = e.inputs;
10
+ let r = null;
11
+ if (t) {
12
+ const e = t.length;
13
+ r = new Array(e);
14
+ for (let s = 0; s < e; s++) {
15
+ const e = t[s];
16
+ r[s] = e ? v(e, n) : e;
17
17
  }
18
18
  }
19
- const o = ((e, t) => {
20
- const r = e.type, s = e.value;
21
- if (r === i.Named) {
22
- const r = s;
23
- let o = r?.nameId, l = r?.scope ?? null;
24
- return t && (o = t.resolve(n.NamedFormula, o)?.toString() ?? o, l && (l = t.resolve(n.Sheet, l)?.toString() ?? l)), e.binding?.declaration && e.binding.optional ? {
25
- name: o,
19
+ const s = ((e, n) => {
20
+ const t = e.type, r = e.value;
21
+ if (t === i.Named) {
22
+ const t = r;
23
+ let s = t?.nameId, l = t?.scope ?? null;
24
+ return n && (s = n.resolve(o.NamedFormula, s)?.toString() ?? s, l && (l = n.resolve(o.Sheet, l)?.toString() ?? l)), e.binding?.declaration && e.binding.optional ? {
25
+ name: s,
26
26
  scope: l,
27
27
  optional: !0
28
28
  } : {
29
- name: o,
29
+ name: s,
30
30
  scope: l
31
31
  };
32
32
  }
33
- if (r === i.TableReference) {
34
- const e = "string" == typeof s ? s : s?.tableId;
35
- return e ? t ? t.resolve(n.Table, e)?.toString() ?? e : e : "";
33
+ if (t === i.TableReference) {
34
+ const e = "string" == typeof r ? r : r?.tableId;
35
+ return e ? n ? n.resolve(o.Table, e)?.toString() ?? e : e : "";
36
36
  }
37
- if (!t) return s;
38
- switch (r) {
39
- case i.Function: return t.resolve(n.Function, s, g)?.toString() ?? s;
40
- case i.TableColumn: return t.resolve(n.TableColumn, s)?.toString() ?? s;
37
+ if (!n) return r;
38
+ switch (t) {
39
+ case i.Function: return n.resolve(o.Function, r, g)?.toString() ?? r;
40
+ case i.TableColumn: return n.resolve(o.TableColumn, r)?.toString() ?? r;
41
41
  case i.Cell: {
42
- const e = s;
42
+ const e = r;
43
43
  if (e?.scope) {
44
- const r = t.resolve(n.Sheet, e.scope)?.toString() ?? e.scope;
44
+ const t = n.resolve(o.Sheet, e.scope)?.toString() ?? e.scope;
45
45
  return {
46
46
  ...e,
47
- scope: r
47
+ scope: t
48
48
  };
49
49
  }
50
- return s;
50
+ return r;
51
51
  }
52
52
  case i.Error: {
53
- const e = s;
53
+ const e = r;
54
54
  if (e?.scope) {
55
- const r = t.resolve(n.Sheet, e.scope)?.toString() ?? e.scope;
55
+ const t = n.resolve(o.Sheet, e.scope)?.toString() ?? e.scope;
56
56
  return {
57
57
  ...e,
58
- scope: r
58
+ scope: t
59
59
  };
60
60
  }
61
- return s;
61
+ return r;
62
62
  }
63
- default: return s;
63
+ default: return r;
64
64
  }
65
- })(e, t);
65
+ })(e, n);
66
66
  return {
67
67
  type: e.type,
68
- value: o,
69
- inputs: s,
68
+ value: s,
69
+ inputs: r,
70
70
  isReference: e.isReference,
71
71
  [u]: e,
72
- [f]: o
72
+ [f]: s
73
73
  };
74
74
  }, m = (e, n, t) => {
75
75
  const r = e.inputs;
@@ -96,15 +96,15 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
96
96
  ".:",
97
97
  ":.",
98
98
  " "
99
- ], b = (n, o) => {
100
- const u = n.type, f = n.value;
99
+ ], b = (o, a) => {
100
+ const u = o.type, f = o.value;
101
101
  switch (u) {
102
- case i.Function: return t(String(f), o);
103
- case i.Infix: return r(f, o[0], o[1], n.isReference ?? y.includes(f));
104
- case i.Prefix: return e(f, o?.[0], n.isReference ?? "@" === f);
105
- case i.Postfix: return s(f, o?.[0], n.isReference ?? "#" === f);
102
+ case i.Function: return t(String(f), a);
103
+ case i.Infix: return l(f, a[0], a[1], o.isReference ?? y.includes(f));
104
+ case i.Prefix: return s(f, a?.[0], o.isReference ?? "@" === f);
105
+ case i.Postfix: return e(f, a?.[0], o.isReference ?? "#" === f);
106
106
  case i.Named: {
107
- const e = c("string" == typeof f ? f : f?.name), n = "object" == typeof f ? f?.scope : null;
107
+ const e = r("string" == typeof f ? f : f?.name), n = "object" == typeof f ? f?.scope : null;
108
108
  return n && (e.value = {
109
109
  ...e.value,
110
110
  scope: n
@@ -113,11 +113,11 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
113
113
  optional: !0
114
114
  }), e;
115
115
  }
116
- case i.Cell: return l(f);
116
+ case i.Cell: return n(f);
117
117
  case i.TableReference: return {
118
118
  type: i.TableReference,
119
119
  value: f,
120
- inputs: o ?? null,
120
+ inputs: a ?? null,
121
121
  isReference: !0
122
122
  };
123
123
  case i.TableSpecifier: return {
@@ -128,7 +128,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
128
128
  isReference: !0
129
129
  };
130
130
  case i.TableColumn: {
131
- const e = "string" == typeof f && f.startsWith("[") ? f : `[${a(String(f))}]`;
131
+ const e = "string" == typeof f && f.startsWith("[") ? f : `[${c(String(f))}]`;
132
132
  return {
133
133
  type: i.TableColumn,
134
134
  value: f,
@@ -148,8 +148,8 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
148
148
  default: return {
149
149
  type: u,
150
150
  value: f,
151
- inputs: o ?? null,
152
- isReference: n.isReference
151
+ inputs: a ?? null,
152
+ isReference: o.isReference
153
153
  };
154
154
  }
155
155
  }, d = (e) => {
@@ -184,7 +184,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), f = Symbol("sheetxl.formulaNode.
184
184
  const s = b(e, r), o = e[p];
185
185
  return o && S(s, o), s;
186
186
  }, S = (e, n) => {
187
- o(e, n), e.type !== n.type && void 0 !== e.image && (e.image = void 0);
187
+ a(e, n), e.type !== n.type && void 0 !== e.image && (e.image = void 0);
188
188
  };
189
189
  function h(e, n) {
190
190
  return v(e, n);