@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,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.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
- 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 "./CImFKFaYToUH-bSE.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.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,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 { 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 "./CtC__ALh4I8PKIln.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,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.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 { 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 "./CtC__ALh4I8PKIln.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 "./B1aH_qa-czVyEVHd.mjs";
9
+ import { n as y, r as b, t as x } from "./ChYgQL-8qIDFmX31.mjs";
10
+ import { i as S, r as C } from "./UMQTbO0zNmBpzW1V.mjs";
11
+ import { a as w, n as T } from "./DBvu0tdSf-5vol4e.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.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.
@@ -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 { n as e } from "./fXWUMDhZ5yMSO629.mjs";
8
- import { ct as t } from "./Bg5Di9GLNAkbqQ1P.mjs";
7
+ import { n as e } from "./BWoz4kQdA5KKJfl6.mjs";
8
+ import { ut as t } from "./AXlD9K1gCwPU4gCO.mjs";
9
9
  var n = e({
10
10
  toConcreteCSS: () => i,
11
11
  toConcreteFill: () => a
@@ -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 { t as e } from "./fXWUMDhZ5yMSO629.mjs";
7
+ import { t as e } from "./BWoz4kQdA5KKJfl6.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,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,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 { t as e } from "./B3wf5vZCsWfWsDbj.mjs";
7
+ import { t as e } from "./D_XMi4_5iO2rkET5.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,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,19 @@
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
+ async function e() {
8
+ try {
9
+ return (await import("@sheetxl/sdk/scripting-enums.json", { with: { type: "json" } })).default;
10
+ } catch {
11
+ let e = "@0.8.0-beta.14";
12
+ return e !== "@local" && e !== "@0.0.0" || (e = ""), async function(e) {
13
+ let t = await fetch(e);
14
+ if (!t.ok) throw Error(`Unable to load script enum runtime (${t.status}) from ${e}.`);
15
+ return t.json();
16
+ }(`https://cdn.jsdelivr.net/npm/@sheetxl/sdk${e}/types/scripting-enums.json`);
17
+ }
18
+ }
19
+ export { e as loadEnumManifest };
@@ -1,73 +1,73 @@
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 t, Gn as n, Kn as r, Qn as i, Rn as a, Vn as o, Xn as s, br as c, lr as l } from "./BudSIfXBAsTxvu-K.mjs";
8
- var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.value"), f = Symbol("sheetxl.formulaNode.replaced"), p = { canonical: !0 }, m = (e, n) => {
9
- let r = e.inputs, i = null;
10
- if (r) {
11
- let e = r.length;
12
- i = Array(e);
13
- for (let t = 0; t < e; t++) {
14
- let e = r[t];
15
- i[t] = e && m(e, n);
7
+ import { $n as e, Hn as t, Kn as n, Zn as r, er as i, jt as a, qn as o, ur as s, xr as c, zn as l } from "./CtC__ALh4I8PKIln.mjs";
8
+ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.value"), f = Symbol("sheetxl.formulaNode.replaced"), p = { canonical: !0 }, m = (e, t) => {
9
+ let n = e.inputs, r = null;
10
+ if (n) {
11
+ let e = n.length;
12
+ r = Array(e);
13
+ for (let i = 0; i < e; i++) {
14
+ let e = n[i];
15
+ r[i] = e && m(e, t);
16
16
  }
17
17
  }
18
- let a = ((e, n) => {
19
- let r = e.type, i = e.value;
20
- if (r === c.Named) {
21
- let r = i, a = r?.nameId, o = r?.scope ?? null;
22
- return n && (a = n.resolve(t.NamedFormula, a)?.toString() ?? a, o &&= n.resolve(t.Sheet, o)?.toString() ?? o), e.binding?.declaration && e.binding.optional ? {
23
- name: a,
18
+ let i = ((e, t) => {
19
+ let n = e.type, r = e.value;
20
+ if (n === c.Named) {
21
+ let n = r, i = n?.nameId, o = n?.scope ?? null;
22
+ return t && (i = t.resolve(a.NamedFormula, i)?.toString() ?? i, o &&= t.resolve(a.Sheet, o)?.toString() ?? o), e.binding?.declaration && e.binding.optional ? {
23
+ name: i,
24
24
  scope: o,
25
25
  optional: !0
26
26
  } : {
27
- name: a,
27
+ name: i,
28
28
  scope: o
29
29
  };
30
30
  }
31
- if (r === c.TableReference) {
32
- let e = typeof i == "string" ? i : i?.tableId;
33
- return e ? n ? n.resolve(t.Table, e)?.toString() ?? e : e : "";
31
+ if (n === c.TableReference) {
32
+ let e = typeof r == "string" ? r : r?.tableId;
33
+ return e ? t ? t.resolve(a.Table, e)?.toString() ?? e : e : "";
34
34
  }
35
- if (!n) return i;
36
- switch (r) {
37
- case c.Function: return n.resolve(t.Function, i, p)?.toString() ?? i;
38
- case c.TableColumn: return n.resolve(t.TableColumn, i)?.toString() ?? i;
35
+ if (!t) return r;
36
+ switch (n) {
37
+ case c.Function: return t.resolve(a.Function, r, p)?.toString() ?? r;
38
+ case c.TableColumn: return t.resolve(a.TableColumn, r)?.toString() ?? r;
39
39
  case c.Cell: {
40
- let e = i;
40
+ let e = r;
41
41
  if (e?.scope) {
42
- let r = n.resolve(t.Sheet, e.scope)?.toString() ?? e.scope;
42
+ let n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
43
43
  return {
44
44
  ...e,
45
- scope: r
45
+ scope: n
46
46
  };
47
47
  }
48
- return i;
48
+ return r;
49
49
  }
50
50
  case c.Error: {
51
- let e = i;
51
+ let e = r;
52
52
  if (e?.scope) {
53
- let r = n.resolve(t.Sheet, e.scope)?.toString() ?? e.scope;
53
+ let n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
54
54
  return {
55
55
  ...e,
56
- scope: r
56
+ scope: n
57
57
  };
58
58
  }
59
- return i;
59
+ return r;
60
60
  }
61
- default: return i;
61
+ default: return r;
62
62
  }
63
- })(e, n);
63
+ })(e, t);
64
64
  return {
65
65
  type: e.type,
66
- value: a,
67
- inputs: i,
66
+ value: i,
67
+ inputs: r,
68
68
  isReference: e.isReference,
69
69
  [u]: e,
70
- [d]: a
70
+ [d]: i
71
71
  };
72
72
  }, h = (e, t, n) => {
73
73
  let r = e.inputs, i;
@@ -93,15 +93,15 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
93
93
  ".:",
94
94
  ":.",
95
95
  " "
96
- ], _ = (t, a) => {
97
- let u = t.type, d = t.value;
96
+ ], _ = (a, l) => {
97
+ let u = a.type, d = a.value;
98
98
  switch (u) {
99
- case c.Function: return n(String(d), a);
100
- case c.Infix: return r(d, a[0], a[1], t.isReference ?? g.includes(d));
101
- case c.Prefix: return e(d, a?.[0], t.isReference ?? d === "@");
102
- case c.Postfix: return i(d, a?.[0], t.isReference ?? d === "#");
99
+ case c.Function: return n(String(d), l);
100
+ case c.Infix: return o(d, l[0], l[1], a.isReference ?? g.includes(d));
101
+ case c.Prefix: return i(d, l?.[0], a.isReference ?? d === "@");
102
+ case c.Postfix: return e(d, l?.[0], a.isReference ?? d === "#");
103
103
  case c.Named: {
104
- let e = s(typeof d == "string" ? d : d?.name), t = typeof d == "object" ? d?.scope : null;
104
+ let e = r(typeof d == "string" ? d : d?.name), t = typeof d == "object" ? d?.scope : null;
105
105
  return t && (e.value = {
106
106
  ...e.value,
107
107
  scope: t
@@ -110,11 +110,11 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
110
110
  optional: !0
111
111
  }), e;
112
112
  }
113
- case c.Cell: return o(d);
113
+ case c.Cell: return t(d);
114
114
  case c.TableReference: return {
115
115
  type: c.TableReference,
116
116
  value: d,
117
- inputs: a ?? null,
117
+ inputs: l ?? null,
118
118
  isReference: !0
119
119
  };
120
120
  case c.TableSpecifier: return {
@@ -125,7 +125,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
125
125
  isReference: !0
126
126
  };
127
127
  case c.TableColumn: {
128
- let e = typeof d == "string" && d.startsWith("[") ? d : `[${l(String(d))}]`;
128
+ let e = typeof d == "string" && d.startsWith("[") ? d : `[${s(String(d))}]`;
129
129
  return {
130
130
  type: c.TableColumn,
131
131
  value: d,
@@ -145,8 +145,8 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
145
145
  default: return {
146
146
  type: u,
147
147
  value: d,
148
- inputs: a ?? null,
149
- isReference: t.isReference
148
+ inputs: l ?? null,
149
+ isReference: a.isReference
150
150
  };
151
151
  }
152
152
  }, v = (e) => {
@@ -178,7 +178,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
178
178
  let i = _(e, r), a = e[f];
179
179
  return a && y(i, a), i;
180
180
  }, y = (e, t) => {
181
- a(e, t), e.type !== t.type && e.image !== void 0 && (e.image = void 0);
181
+ l(e, t), e.type !== t.type && e.image !== void 0 && (e.image = void 0);
182
182
  };
183
183
  function b(e, t) {
184
184
  return m(e, t);