@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,55 +1,55 @@
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 { At as e, br as t, xr as n } from "./Vocy-I9dKzZMr0Ct.mjs";
8
- import { D as r, E as s, a, c as o, d as l, f as i, l as c, m as u, n as p, o as d, p as f, r as h, s as g, u as m, v as x, w as y } from "./lGJ42sHqg5if2bba.mjs";
9
- import { n as v, r as I, t as b } from "./DhS6yWjrrSNIJMsn.mjs";
10
- import { FormulaError as _ } from "@sheetxl/primitives";
7
+ import { Sr as e, jt as t, xr as n } from "./DLdXl0O0TXuyqLU4.mjs";
8
+ import { D as r, E as s, a, c as o, d as l, f as i, l as c, m as u, n as p, o as d, p as f, r as h, s as g, u as m, v as x, w as y } from "./DeFE8QfuCeGw-mvd.mjs";
9
+ import { n as v, r as I, t as _ } from "./B6jhx5pHPs2W5GE7.mjs";
10
+ import { FormulaError as b } from "@sheetxl/primitives";
11
11
  import { CommonUtils as T } from "@sheetxl/utils";
12
12
  var P = class {
13
13
  constructor(e) {
14
14
  e = { ...e }, this._editing = "editing" === e.profile, this._parser = new I(e);
15
15
  }
16
- compile(e, t, p, I, T, P, k, E, w) {
16
+ compile(t, n, p, I, T, P, k, E, w) {
17
17
  if (0 === I.length) {
18
- const t = new _.Parse(b);
19
- return this._compileUnparsed(e, T, I, {
18
+ const e = new b.Parse(_);
19
+ return this._compileUnparsed(t, T, I, {
20
20
  input: I,
21
- cause: t,
22
- causes: [t]
21
+ cause: e,
22
+ causes: [e]
23
23
  });
24
24
  }
25
- if (I.length > n.MAX_EXPRESSION_LENGTH) {
26
- const t = new _.Parse(v(I.length, n.MAX_EXPRESSION_LENGTH));
27
- return this._compileUnparsed(e, T, I, {
25
+ if (I.length > e.MAX_EXPRESSION_LENGTH) {
26
+ const n = new b.Parse(v(I.length, e.MAX_EXPRESSION_LENGTH));
27
+ return this._compileUnparsed(t, T, I, {
28
28
  input: I,
29
- cause: t,
30
- causes: [t]
29
+ cause: n,
30
+ causes: [n]
31
31
  });
32
32
  }
33
33
  let F, C, U = [];
34
34
  try {
35
- const e = this._parser.parse(t, p, I);
35
+ const e = this._parser.parse(n, p, I);
36
36
  F = e.root, U = e.errors, E && F && 0 === U.length && (F.legacyIntersect = !0);
37
37
  } catch (e) {
38
- C = _.isError(e, _.Code.Parse) ? e : new _.Parse(e.message, e);
38
+ C = b.isError(e, b.Code.Parse) ? e : new b.Parse(e.message, e);
39
39
  }
40
40
  const z = [];
41
41
  for (const e of U) z.push(u(e));
42
42
  if (F) {
43
43
  const e = y(F, P ?? null);
44
- "string" == typeof e ? z.push(new _.Parse(e)) : F = e, l(F, P ?? null) && z.push(new _.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), m(F, P ?? null) && z.push(new _.Parse("The spill anchor operator '#' requires a cell or range")), f(F, P ?? null) && z.push(new _.Parse("Expected a reference; a value cannot be converted to one."));
44
+ "string" == typeof e ? z.push(new b.Parse(e)) : F = e, l(F, P ?? null) && z.push(new b.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), m(F, P ?? null) && z.push(new b.Parse("The spill anchor operator '#' requires a cell or range")), f(F, P ?? null) && z.push(new b.Parse("Expected a reference; a value cannot be converted to one."));
45
45
  const t = d(F, P ?? null);
46
- t && z.push(new _.Parse(t));
46
+ t && z.push(new b.Parse(t));
47
47
  const n = g(F, P ?? null);
48
- n && z.push(new _.Parse(n));
48
+ n && z.push(new b.Parse(n));
49
49
  const r = o(F, P ?? null);
50
- r && z.push(new _.Parse(r));
50
+ r && z.push(new b.Parse(r));
51
51
  const s = c(F);
52
- s && z.push(new _.Parse(s));
52
+ s && z.push(new b.Parse(s));
53
53
  }
54
54
  z.length > 0 && !C && (C = z[0]);
55
55
  let R = null;
@@ -59,10 +59,10 @@ var P = class {
59
59
  causes: z.length > 0 ? z : [C]
60
60
  }), !F) {
61
61
  if (this._editing) {
62
- const n = this._recoverCompiled(e, t, p, I, T, R, k);
63
- if (n) return n;
62
+ const e = this._recoverCompiled(t, n, p, I, T, R, k);
63
+ if (e) return e;
64
64
  }
65
- return this._compileUnparsed(e, T, I, R, this._editing, () => A(T, k, t, p));
65
+ return this._compileUnparsed(t, T, I, R, this._editing, () => A(T, k, n, p));
66
66
  }
67
67
  if (F = s(F, P ?? null), F = h(F, P ?? null), T) {
68
68
  const e = this._editing ? w : {
@@ -70,12 +70,12 @@ var P = class {
70
70
  ...w
71
71
  };
72
72
  F = x(F, T, k, e, {
73
- rowIndex: t,
73
+ rowIndex: n,
74
74
  colIndex: p
75
75
  });
76
- const n = i(F, T);
77
- if (n) {
78
- const e = new _.Parse(n);
76
+ const t = i(F, T);
77
+ if (t) {
78
+ const e = new b.Parse(t);
79
79
  z.push(e), R = {
80
80
  input: I,
81
81
  cause: R?.cause ?? e,
@@ -83,8 +83,8 @@ var P = class {
83
83
  };
84
84
  }
85
85
  }
86
- const S = a(e, T, F, this._editing, R, P ?? null);
87
- if (this._editing && R && r(S.getTokens(), T) !== I) return this._recoverCompiled(e, t, p, I, T, R, k) || this._compileUnparsed(e, T, I, R, !0);
86
+ const S = a(t, T, F, this._editing, R, P ?? null);
87
+ if (this._editing && R && r(S.getTokens(), T) !== I) return this._recoverCompiled(t, n, p, I, T, R, k) || this._compileUnparsed(t, T, I, R, !0);
88
88
  return S;
89
89
  }
90
90
  autoCorrect(e) {
@@ -113,10 +113,10 @@ var P = class {
113
113
  }
114
114
  return 0 === s.length && 0 === t ? null : n + s.reverse().join("");
115
115
  }
116
- _compileUnparsed(e, n, r, s, a = !1, o) {
116
+ _compileUnparsed(e, t, r, s, a = !1, o) {
117
117
  const l = {
118
118
  runtime: e,
119
- symbols: n,
119
+ symbols: t,
120
120
  getFunction: null,
121
121
  ast: null,
122
122
  evaluations: T.EmptyArray,
@@ -131,7 +131,7 @@ var P = class {
131
131
  getTokens: () => {
132
132
  const e = [];
133
133
  return a && F(e, r, void 0, o) ? e : [{
134
- type: t.Unparsed,
134
+ type: n.Unparsed,
135
135
  value: r,
136
136
  text: r
137
137
  }];
@@ -149,7 +149,7 @@ var P = class {
149
149
  };
150
150
  return l;
151
151
  }
152
- _recoverCompiled(e, n, s, o, l, i, c) {
152
+ _recoverCompiled(e, t, s, o, l, i, c) {
153
153
  let u, p = o.length;
154
154
  try {
155
155
  const e = this._parser.getLexer().tokenize(o, !1);
@@ -166,16 +166,16 @@ var P = class {
166
166
  const p = o.slice(0, u);
167
167
  let d, f;
168
168
  try {
169
- d = this._parser.parse(n, s, p).root;
169
+ d = this._parser.parse(t, s, p).root;
170
170
  } catch {
171
171
  continue;
172
172
  }
173
- if (!d || d.type === t.Unparsed) continue;
173
+ if (!d || d.type === n.Unparsed) continue;
174
174
  try {
175
- const t = h(d, null), r = l ? x(t, l, c, void 0, {
176
- rowIndex: n,
175
+ const n = h(d, null), r = l ? x(n, l, c, void 0, {
176
+ rowIndex: t,
177
177
  colIndex: s
178
- }) : t;
178
+ }) : n;
179
179
  f = a(e, l, r, !0, i);
180
180
  } catch {
181
181
  continue;
@@ -186,25 +186,25 @@ var P = class {
186
186
  let m;
187
187
  const y = {
188
188
  ...f,
189
- getTokens: () => (m || (m = [...f.getTokens()], this._appendUnparsedTail(m, g, () => A(l, c, n, s))), m),
189
+ getTokens: () => (m || (m = [...f.getTokens()], this._appendUnparsedTail(m, g, () => A(l, c, t, s))), m),
190
190
  transform: () => y
191
191
  };
192
192
  return y;
193
193
  }
194
194
  return null;
195
195
  }
196
- _appendUnparsedTail(e, n, r) {
196
+ _appendUnparsedTail(e, t, r) {
197
197
  const s = [];
198
- for (const n of e) {
199
- if (n.type === t.Whitespace) continue;
200
- const e = n.type === t.Paren || n.type === t.Type ? n.text : void 0, r = s.length > 0 ? s[s.length - 1] : void 0;
201
- if (n.type === t.Separator && r) {
198
+ for (const t of e) {
199
+ if (t.type === n.Whitespace) continue;
200
+ const e = t.type === n.Paren || t.type === n.Type ? t.text : void 0, r = s.length > 0 ? s[s.length - 1] : void 0;
201
+ if (t.type === n.Separator && r) {
202
202
  const e = r.declared[r.declared.length - 1];
203
203
  "let" === r.ctx?.type && -1 === r.ctx.argIndex && r.lambda?.argTokens === r.argTokens && e?.argIndex === r.argIndex - 1 && (e.params = r.lambda.params), r.argIndex++, r.argTokens = 0, r.lambda = void 0;
204
204
  continue;
205
205
  }
206
206
  if (r && r.argTokens++, "(" === e || "[" === e || "{" === e) s.push({
207
- ctx: n.context,
207
+ ctx: t.context,
208
208
  argIndex: 0,
209
209
  declared: [],
210
210
  argTokens: 0,
@@ -219,8 +219,8 @@ var P = class {
219
219
  } : { name: e }),
220
220
  argTokens: t.argTokens
221
221
  });
222
- } else if (n.type === t.Parameter && r && n.value?.declaration) {
223
- const e = n.value;
222
+ } else if (t.type === n.Parameter && r && t.value?.declaration) {
223
+ const e = t.value;
224
224
  r.declared.push(e.optional ? {
225
225
  name: e.name,
226
226
  argIndex: r.argIndex,
@@ -248,33 +248,33 @@ var P = class {
248
248
  }
249
249
  t && (o.bound = t);
250
250
  }
251
- const l = (n, r) => {
251
+ const l = (t, r) => {
252
252
  const s = r ? {
253
- type: t.Named,
254
- value: { name: n },
255
- text: n
253
+ type: n.Named,
254
+ value: { name: t },
255
+ text: t
256
256
  } : {
257
- type: t.Unparsed,
258
- value: n,
259
- text: n
257
+ type: n.Unparsed,
258
+ value: t,
259
+ text: t
260
260
  };
261
261
  o && (s.context = o), e.push(s);
262
262
  };
263
- if (F(e, n, o, r)) return;
264
- const i = /[A-Za-z_][A-Za-z0-9_]*$/.exec(n), c = i ? i.index : -1;
265
- let u = c > 0 ? n[c - 1] : "";
263
+ if (F(e, t, o, r)) return;
264
+ const i = /[A-Za-z_][A-Za-z0-9_]*$/.exec(t), c = i ? i.index : -1;
265
+ let u = c > 0 ? t[c - 1] : "";
266
266
  for (let t = e.length - 1; 0 === c && t >= 0 && !u; t--) u = e[t].text?.at(-1) ?? "";
267
- c >= 0 && !/[A-Za-z0-9_.]/.test(u) ? (c > 0 && l(n.slice(0, c)), l(n.slice(c), !0)) : l(n);
267
+ c >= 0 && !/[A-Za-z0-9_.]/.test(u) ? (c > 0 && l(t.slice(0, c)), l(t.slice(c), !0)) : l(t);
268
268
  }
269
269
  };
270
- function A(t, n, r, s) {
271
- if (!t || !n) return;
272
- const a = t.bind(e.Table, "", { at: {
270
+ function A(e, n, r, s) {
271
+ if (!e || !n) return;
272
+ const a = e.bind(t.Table, "", { at: {
273
273
  scope: n,
274
274
  rowIndex: r,
275
275
  colIndex: s
276
276
  } });
277
- return a ? t.resolve(e.Table, a)?.toString() : void 0;
277
+ return a ? e.resolve(t.Table, a)?.toString() : void 0;
278
278
  }
279
279
  var k = /[A-Za-z_\\\u007F-\uFFFF][A-Za-z0-9_.\u007F-\uFFFF]*$/, E = /[A-Za-z0-9_.)\]}"'!#\u007F-\uFFFF]/;
280
280
  function w(e, t) {
@@ -287,14 +287,14 @@ function w(e, t) {
287
287
  }
288
288
  return -1;
289
289
  }
290
- function F(e, n, r, s) {
290
+ function F(e, t, r, s) {
291
291
  let a = 0, o = -1;
292
- for (let e = 0; e < n.length; e++) {
293
- const t = n[e];
294
- a > 0 && "'" === t ? e++ : "[" === t ? (0 === a && (o = e), a++) : "]" === t && a > 0 && a--;
292
+ for (let e = 0; e < t.length; e++) {
293
+ const n = t[e];
294
+ a > 0 && "'" === n ? e++ : "[" === n ? (0 === a && (o = e), a++) : "]" === n && a > 0 && a--;
295
295
  }
296
296
  if (0 === a) return !1;
297
- let l = n.slice(0, o);
297
+ let l = t.slice(0, o);
298
298
  if ((l.split("\"").length - 1) % 2 == 1) return !1;
299
299
  const i = e.length > 0 ? e[e.length - 1] : void 0;
300
300
  let c = "", u = !1;
@@ -303,7 +303,7 @@ function F(e, n, r, s) {
303
303
  const e = p.index > 0 ? l[p.index - 1] : i?.text?.at(-1) ?? "";
304
304
  if (/[A-Za-z0-9_.]/.test(e)) return !1;
305
305
  c = p[0], l = l.slice(0, p.index);
306
- } else 0 === l.length && i?.text && 0 === k.exec(i.text)?.index && (i.type === t.Named && !i.value?.scope || i.type === t.TableReference) && (c = i.text, u = !0);
306
+ } else 0 === l.length && i?.text && 0 === k.exec(i.text)?.index && (i.type === n.Named && !i.value?.scope || i.type === n.TableReference) && (c = i.text, u = !0);
307
307
  if (!u) {
308
308
  const e = l.length > 0 ? l[l.length - 1] : i?.text?.at(-1) ?? "";
309
309
  if (e && E.test(e)) return !1;
@@ -319,7 +319,7 @@ function F(e, n, r, s) {
319
319
  type: "table"
320
320
  }
321
321
  });
322
- }, g = (e, n, r, s) => {
322
+ }, g = (e, t, r, s) => {
323
323
  const a = e.startsWith("#"), o = r ? s ? "column" : a ? "specifier" : e ? "column" : "any" : void 0, l = o ? {
324
324
  table: d,
325
325
  name: e,
@@ -329,76 +329,76 @@ function F(e, n, r, s) {
329
329
  name: e
330
330
  };
331
331
  f.push({
332
- type: a ? t.TableSpecifier : t.TableColumn,
332
+ type: a ? n.TableSpecifier : n.TableColumn,
333
333
  value: l,
334
334
  text: e,
335
335
  context: {
336
336
  name: d,
337
- argIndex: n,
337
+ argIndex: t,
338
338
  type: "table"
339
339
  }
340
340
  });
341
- }, m = (e, n, r, s) => {
342
- h(t.Paren, "[", r), g(e.slice(1, n ? -1 : void 0), r, !n, s), n && h(t.Paren, "]", r);
341
+ }, m = (e, t, r, s) => {
342
+ h(n.Paren, "[", r), g(e.slice(1, t ? -1 : void 0), r, !t, s), t && h(n.Paren, "]", r);
343
343
  };
344
- h(t.Paren, "[", -1);
345
- const x = n.slice(o + 1);
344
+ h(n.Paren, "[", -1);
345
+ const x = t.slice(o + 1);
346
346
  if (x.startsWith("[")) {
347
- let e = 0, n = !1, r = 0;
347
+ let e = 0, t = !1, r = 0;
348
348
  for (; r < x.length;) {
349
349
  const s = x[r];
350
350
  if ("[" === s) {
351
- const t = w(x, r);
352
- if (null === t) return !1;
353
- const s = -1 !== t;
354
- if (m(x.slice(r, s ? t : x.length), s, e, n), n = !1, !s) break;
355
- r = t;
356
- } else if ("," === s) h(t.Separator, ",", e++), r++;
357
- else if (":" === s) h(t.Infix, ":", e), r++;
358
- else if ("@" === s) h(t.Prefix, "@", e), n = !0, r++;
351
+ const n = w(x, r);
352
+ if (null === n) return !1;
353
+ const s = -1 !== n;
354
+ if (m(x.slice(r, s ? n : x.length), s, e, t), t = !1, !s) break;
355
+ r = n;
356
+ } else if ("," === s) h(n.Separator, ",", e++), r++;
357
+ else if (":" === s) h(n.Infix, ":", e), r++;
358
+ else if ("@" === s) h(n.Prefix, "@", e), t = !0, r++;
359
359
  else {
360
360
  if (" " !== s) return !1;
361
361
  {
362
- let n = r;
363
- for (; " " === x[n];) n++;
364
- h(t.Whitespace, x.slice(r, n), e), r = n;
362
+ let t = r;
363
+ for (; " " === x[t];) t++;
364
+ h(n.Whitespace, x.slice(r, t), e), r = t;
365
365
  }
366
366
  }
367
367
  }
368
368
  } else {
369
369
  let e = x;
370
- const n = e.startsWith("@");
371
- if (n && (h(t.Prefix, "@", 0), e = e.slice(1)), e.startsWith("[")) {
370
+ const t = e.startsWith("@");
371
+ if (t && (h(n.Prefix, "@", 0), e = e.slice(1)), e.startsWith("[")) {
372
372
  if (-1 !== w(e, 0)) return !1;
373
- m(e, !1, 0, n);
373
+ m(e, !1, 0, t);
374
374
  } else {
375
375
  if (/(^|[^'])[[\]]/.test(e) || e.startsWith("#") && e.includes(",")) return !1;
376
- g(e, 0, !0, n);
376
+ g(e, 0, !0, t);
377
377
  }
378
378
  }
379
379
  if (l) {
380
- const n = {
381
- type: t.Unparsed,
380
+ const t = {
381
+ type: n.Unparsed,
382
382
  value: l,
383
383
  text: l
384
384
  };
385
- r && (n.context = r), e.push(n);
385
+ r && (t.context = r), e.push(t);
386
386
  }
387
387
  if (u) {
388
- const n = {
388
+ const t = {
389
389
  ...i,
390
- type: t.TableReference,
390
+ type: n.TableReference,
391
391
  value: c,
392
392
  text: c
393
393
  };
394
- delete n.referenceIndex, e[e.length - 1] = n;
394
+ delete t.referenceIndex, e[e.length - 1] = t;
395
395
  } else if (c) {
396
- const n = {
397
- type: t.TableReference,
396
+ const t = {
397
+ type: n.TableReference,
398
398
  value: c,
399
399
  text: c
400
400
  };
401
- r && (n.context = r), e.push(n);
401
+ r && (t.context = r), e.push(t);
402
402
  }
403
403
  for (const t of f) e.push(t);
404
404
  return !0;
@@ -1,12 +1,12 @@
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 "./Btw4148Ot8ifhNc1.mjs";
8
- import { Mr as t, R as n, an as o, in as r, rn as s, ya as i, z as a } from "./Vocy-I9dKzZMr0Ct.mjs";
9
- import { g as c, v as l, w as h, x as u } from "./BL2iiEoqxDEV2Xrg.mjs";
7
+ import { t as e } from "./I-FZojIFWluC6X-j.mjs";
8
+ import { B as t, Mr as n, an as o, ba as r, in as s, on as i, z as a } from "./DLdXl0O0TXuyqLU4.mjs";
9
+ import { g as c, v as l, w as h, x as u } from "./CI8UIWR01z9QDlzH.mjs";
10
10
  import { CommonUtils as d, CoordUtils as m, ExpectedError as p, messageKey as g, t as _ } from "@sheetxl/utils";
11
11
  var b = class extends s {
12
12
  constructor(e) {
@@ -25,7 +25,7 @@ var b = class extends s {
25
25
  return !!super.isDeleted() || ((this._optionsMovable?.getParent?.())?.isDeleted() ?? !1);
26
26
  }
27
27
  getAnchorType() {
28
- return t.Type.Absolute;
28
+ return n.Type.Absolute;
29
29
  }
30
30
  setAnchorType(e) {
31
31
  return this;
@@ -127,7 +127,7 @@ var b = class extends s {
127
127
  this._getEmitter().notify("onBoundsChange"), this._forwardLayout();
128
128
  }
129
129
  _fromJSON(e) {
130
- const n = e.anchor?.tl ?? d.EmptyObject, o = e.anchor?.br ?? d.EmptyObject;
130
+ const t = e.anchor?.tl ?? d.EmptyObject, o = e.anchor?.br ?? d.EmptyObject;
131
131
  this._updateState({
132
132
  offsets: {
133
133
  tl: {
@@ -145,10 +145,10 @@ var b = class extends s {
145
145
  flipV: e.flipV ?? !1,
146
146
  lockAspectRatio: e.lockAspect ?? null,
147
147
  locks: e.locks ?? null,
148
- anchorType: t.Type.Absolute,
148
+ anchorType: n.Type.Absolute,
149
149
  pixelBounds: {
150
- x: n.x ?? 0,
151
- y: n.y ?? 0,
150
+ x: t.x ?? 0,
151
+ y: t.y ?? 0,
152
152
  width: o.x ?? 0,
153
153
  height: o.y ?? 0
154
154
  }
@@ -176,7 +176,7 @@ var b = class extends s {
176
176
  const t = super.toJSON(e);
177
177
  return delete t.anchorType, t;
178
178
  }
179
- }, f = class extends i {
179
+ }, f = class extends r {
180
180
  constructor(e, t) {
181
181
  super(t), this._group = e;
182
182
  }
@@ -333,19 +333,19 @@ var b = class extends s {
333
333
  return !0;
334
334
  }
335
335
  async ungroup(e) {
336
- const t = this.getMovable();
337
- if (!t || this.isDeleted()) return [];
336
+ const n = this.getMovable();
337
+ if (!n || this.isDeleted()) return [];
338
338
  const o = e?.description ?? g("op.ungroupDrawings");
339
339
  this._protectionCheck(o);
340
- const r = t.getRange().getWorksheet(), s = n(r.getView().getMovableSelection());
340
+ const r = n.getRange().getWorksheet(), s = a(r.getView().getMovableSelection());
341
341
  return await this.doBatch(() => {
342
- const t = this._free(this._members_(), o);
342
+ const n = this._free(this._members_(), o);
343
343
  this.delete(e);
344
- const n = this._transactions.getPendingTransaction();
345
- return n && a(n, r, t, {
344
+ const i = this._transactions.getPendingTransaction();
345
+ return i && t(i, r, n, {
346
346
  autoSelect: e?.autoSelect ?? !0,
347
347
  autoSelectRestore: e?.autoSelectRestore
348
- }, s), t;
348
+ }, s), n;
349
349
  }, { description: o });
350
350
  }
351
351
  _free(e, t) {
@@ -412,7 +412,7 @@ var b = class extends s {
412
412
  }
413
413
  async _prepareMember(e) {
414
414
  if (!e?.type) throw new p("A member needs a type.");
415
- return this._protectionCheck(g("op.insertDrawing")), await o({
415
+ return this._protectionCheck(g("op.insertDrawing")), await i({
416
416
  type: e.type,
417
417
  json: e.json
418
418
  }), e;
@@ -464,8 +464,8 @@ var b = class extends s {
464
464
  throw i.rollback(), e;
465
465
  }
466
466
  }
467
- async _groupMembers(e, t) {
468
- const o = t?.description ?? g("op.groupDrawings");
467
+ async _groupMembers(e, n) {
468
+ const o = n?.description ?? g("op.groupDrawings");
469
469
  if (this._protectionCheck(o), !e || e.length < 2) throw new p(_("error.movable.groupTooFew"));
470
470
  const r = this._members_();
471
471
  for (const t of e) if (!r.includes(t)) throw new p(_("error.movable.groupNotSameGroup"));
@@ -473,7 +473,7 @@ var b = class extends s {
473
473
  if (s.length === r.length) throw new p(_("error.movable.groupWholeGroup"));
474
474
  const i = this.getMovable();
475
475
  if (!i) throw new p("The group is not placed.");
476
- const l = i.getRange().getWorksheet(), u = n(l.getView().getMovableSelection()), d = c.unionBounds(s.map((e) => {
476
+ const l = i.getRange().getWorksheet(), u = a(l.getView().getMovableSelection()), d = c.unionBounds(s.map((e) => {
477
477
  const t = e._getLocalPlacement();
478
478
  return h(t.bounds, t.rotation);
479
479
  })), m = this._createOptions.beginPersistResource();
@@ -497,39 +497,39 @@ var b = class extends s {
497
497
  }
498
498
  }
499
499
  };
500
- t?.name && (e.content.name = t.name);
501
- const n = this._beginCommit(o);
500
+ n?.name && (e.content.name = n.name);
501
+ const i = this._beginCommit(o);
502
502
  try {
503
503
  for (const e of s) e.unselect();
504
- const o = this._createMember(e, m.fromResourceId.bind(m)), i = s[s.length - 1], c = [];
505
- for (const e of r) e === i ? c.push(o) : s.includes(e) || c.push(e);
504
+ const o = this._createMember(e, m.fromResourceId.bind(m)), a = s[s.length - 1], c = [];
505
+ for (const e of r) e === a ? c.push(o) : s.includes(e) || c.push(e);
506
506
  this._updateState({ members: c });
507
507
  for (const e of s) e.getContent().delete();
508
- return this._rebound(), a(n, l, [o], {
509
- autoSelect: t?.autoSelect ?? !0,
510
- autoSelectRestore: t?.autoSelectRestore
511
- }, u), n.commit(), this._members._notifyChange(), o;
508
+ return this._rebound(), t(i, l, [o], {
509
+ autoSelect: n?.autoSelect ?? !0,
510
+ autoSelectRestore: n?.autoSelectRestore
511
+ }, u), i.commit(), this._members._notifyChange(), o;
512
512
  } catch (e) {
513
- throw n.rollback(), e;
513
+ throw i.rollback(), e;
514
514
  }
515
515
  } finally {
516
516
  m.endPersist();
517
517
  }
518
518
  }
519
- _removeMember(e, t) {
520
- const n = this._members_();
521
- if (!n.includes(e)) return;
519
+ _removeMember(e, n) {
520
+ const o = this._members_();
521
+ if (!o.includes(e)) return;
522
522
  e.unselect();
523
- const o = this._beginCommit(t?.description ?? g("op.deleteDrawing"));
523
+ const r = this._beginCommit(n?.description ?? g("op.deleteDrawing"));
524
524
  try {
525
- const r = n.filter((t) => t !== e);
526
- if (this._updateState({ members: r }), 1 === r.length && this.getMovable()) {
527
- const e = r[0], n = e.isSelected(), [s] = this._free(r, t?.description ?? g("op.deleteDrawing"));
528
- this.delete(t), n && a(o, s.getRange().getWorksheet(), [s], { autoSelect: !0 }, [e]);
529
- } else 0 === r.length ? this.delete(t) : this._rebound();
530
- o.commit(), this._members._notifyChange();
525
+ const s = o.filter((t) => t !== e);
526
+ if (this._updateState({ members: s }), 1 === s.length && this.getMovable()) {
527
+ const e = s[0], o = e.isSelected(), [i] = this._free(s, n?.description ?? g("op.deleteDrawing"));
528
+ this.delete(n), o && t(r, i.getRange().getWorksheet(), [i], { autoSelect: !0 }, [e]);
529
+ } else 0 === s.length ? this.delete(n) : this._rebound();
530
+ r.commit(), this._members._notifyChange();
531
531
  } catch (e) {
532
- throw o.rollback(), e;
532
+ throw r.rollback(), e;
533
533
  }
534
534
  }
535
535
  _moveMember(e, t, n) {
@@ -541,10 +541,10 @@ var b = class extends s {
541
541
  s.splice(r, 1), s.splice(t, 0, e), this._updateState({ members: s }, { description: n }), this._members._notifyChange();
542
542
  }
543
543
  _createMember(e, t) {
544
- const n = this, o = e.content?.type ?? "custom", s = this._createOptions;
544
+ const n = this, r = e.content?.type ?? "custom", s = this._createOptions;
545
545
  let i;
546
546
  const a = {
547
- type: o,
547
+ type: r,
548
548
  transactions: s.transactions,
549
549
  beginPersistResource: s.beginPersistResource,
550
550
  fromResourceId: t,
@@ -559,7 +559,7 @@ var b = class extends s {
559
559
  getStyles: s.getStyles,
560
560
  getRange: s.getRange,
561
561
  addWatch: s.addWatch
562
- }, l = r(o, a, {
562
+ }, l = o(r, a, {
563
563
  getMovable: () => i,
564
564
  amend: (e) => n._amend(e),
565
565
  isClosed: () => n._closed
@@ -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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@sheetxl/sdk",
3
3
  "description": "SDK - A high-performance, embeddable spreadsheet engine.",
4
- "version": "0.8.0-beta.12",
4
+ "version": "0.8.0-beta.14",
5
5
  "license": "SEE LICENSE IN <LICENSE>",
6
6
  "type": "module",
7
7
  "exports": {
@@ -10,7 +10,8 @@
10
10
  "browser": "./browser/esm/index.mjs",
11
11
  "node": "./node/esm/index.mjs",
12
12
  "default": "./browser/esm/index.mjs"
13
- }
13
+ },
14
+ "./scripting-enums.json": "./types/scripting-enums.json"
14
15
  },
15
16
  "types": "./types/index.d.ts",
16
17
  "module": "./browser/esm/index.mjs",
@@ -42,11 +43,13 @@
42
43
  "automation"
43
44
  ],
44
45
  "dependencies": {
45
- "@sheetxl/formulas": "^0.8.0-beta.12",
46
- "@sheetxl/formulas-extended": "^0.8.0-beta.12",
47
- "@sheetxl/primitives": "^0.8.0-beta.12",
48
- "@sheetxl/scripting": "^0.8.0-beta.12",
49
- "@sheetxl/utils": "^0.8.0-beta.12",
46
+ "@noble/ed25519": "^3.2.0",
47
+ "@noble/hashes": "^2.4.0",
48
+ "@sheetxl/formulas": "^0.8.0-beta.14",
49
+ "@sheetxl/formulas-extended": "^0.8.0-beta.14",
50
+ "@sheetxl/primitives": "^0.8.0-beta.14",
51
+ "@sheetxl/scripting": "^0.8.0-beta.14",
52
+ "@sheetxl/utils": "^0.8.0-beta.14",
50
53
  "bahttext": "^2.4.0",
51
54
  "bessel": "^1.0.2",
52
55
  "chalk": "^6.0.1",