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

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 (195) hide show
  1. package/LICENSE.md +8 -7
  2. package/browser/esm/4MbBwfmW2hDXk9_w.mjs +165 -0
  3. package/browser/esm/{ChYgQL-8qIDFmX31.mjs → 9YWdxmSjzLN4j_ts.mjs} +22 -22
  4. package/browser/esm/B6BdiHigbUdbZp3J.mjs +686 -0
  5. package/browser/esm/{CImFKFaYToUH-bSE.mjs → BF_QwkZ_hs2rFoTT.mjs} +3 -3
  6. package/browser/esm/{DBvu0tdSf-5vol4e.mjs → BMo2_9Ul36IwRm3S.mjs} +3 -3
  7. package/browser/esm/{B1aH_qa-czVyEVHd.mjs → BWY1qiidTUBVPJoD.mjs} +506 -502
  8. package/browser/esm/{BSXQAXwZdJKYTO4P.mjs → Bf80epSsm_RyAOb9.mjs} +29 -29
  9. package/browser/esm/{D_XMi4_5iO2rkET5.mjs → BfoE6Dn_GQCIkQD3.mjs} +2 -2
  10. package/browser/esm/{Dhw5XEJYFrkYjdU2.mjs → BlMYYQZP-QM-iBHz.mjs} +23 -22
  11. package/browser/esm/{MuNBN02MyZ558c_K.mjs → BqT-ASHP0NVSUUnY.mjs} +1528 -1433
  12. package/browser/esm/{DnR0xY7_iE3TmMcg.mjs → BtNuoQIrrHw_jnbJ.mjs} +4 -4
  13. package/browser/esm/BxFzcCYhvo9NXFjC.mjs +527 -0
  14. package/browser/esm/{DonQz2Tc3k9lNT8E.mjs → BxYuRTSF9ykc-Tpz.mjs} +3 -3
  15. package/browser/esm/{aRXqxIzjuSLwawMh.mjs → C2PvZwqK-uvsugVS.mjs} +2 -2
  16. package/browser/esm/C3JOjQwdG9kAig7i.mjs +2017 -0
  17. package/browser/esm/{SwLp-iElwDjfcJtv.mjs → C5x0EzqElYGTiTQc.mjs} +2 -2
  18. package/browser/esm/{AXlD9K1gCwPU4gCO.mjs → CMChv-fCFh68VQQt.mjs} +588 -587
  19. package/browser/esm/{BpwULQPKbb4R9Jew.mjs → CRbQATfI0yZxe1kX.mjs} +3 -3
  20. package/browser/esm/{CM_X1zZYzEUPaNJL.mjs → CUu3zeHqcwMRYiov.mjs} +2 -2
  21. package/{node/esm/b3XnssSr9lmvAC2N.mjs → browser/esm/C_jLGkFemj55_BP3.mjs} +3 -3
  22. package/browser/esm/{CtC__ALh4I8PKIln.mjs → CkZoDPUCK5jMUaeJ.mjs} +26955 -22064
  23. package/browser/esm/{DvvqmUQ9Z0NFm1-4.mjs → D-iHJ3q4nwOLcn1D.mjs} +2 -2
  24. package/browser/esm/{qCqzZW74-fhaIG2V.mjs → D807piM0VSokWz-L.mjs} +2 -2
  25. package/browser/esm/{BLYl-afJe_3std8i.mjs → DW3oQ39IF0bsc_lm.mjs} +2 -2
  26. package/browser/esm/{Ln4gsmhqH1LyoANj.mjs → DcB52JPBPmkc3l1m.mjs} +4 -4
  27. package/browser/esm/{DIfAk63CvaOZ3QKi.mjs → DlVnybrgwZWxWN3_.mjs} +10 -10
  28. package/browser/esm/{Dh84MDs-OhdCPCIg.mjs → DvVhatd0J1ch3OCO.mjs} +22 -22
  29. package/browser/esm/{BWoz4kQdA5KKJfl6.mjs → Dx9Fya60meMpuHqm.mjs} +2 -2
  30. package/browser/esm/{r_EZapMBdyS4gUd-.mjs → HV0FkJ6k3Ils318J.mjs} +78 -78
  31. package/browser/esm/{C7hpfT-sX2lyLS-D.mjs → JV9Szh5qTssjxJoE.mjs} +2 -2
  32. package/browser/esm/{CPIWV3Enlh_BF2TY.mjs → KpuD1kEcWB7cT0VM.mjs} +3 -3
  33. package/browser/esm/{3t4S9eda2I6jFad0.mjs → U4FL-QeC0bRUhTEo.mjs} +2 -2
  34. package/browser/esm/{D39XcmtPXVtMN4yF.mjs → WLlpmgLN5OVLoLrC.mjs} +3 -3
  35. package/browser/esm/{Cy8uYCggktF83278.mjs → WR146UAqrsUsL39e.mjs} +2 -2
  36. package/browser/esm/{BPPMKyMn65i1a1mE.mjs → WcHfawW2lkTHtWUd.mjs} +51 -49
  37. package/browser/esm/{Bdcd3QOzsc0aVMjN.mjs → Zp5-cTJ0Llb6EfGi.mjs} +4 -4
  38. package/browser/esm/{oSCy1X5CJ1iYtGDp.mjs → ad9PX897hYE4Srkc.mjs} +3 -3
  39. package/browser/esm/{UMQTbO0zNmBpzW1V.mjs → d_t-7d5BD1AdHg3u.mjs} +404 -404
  40. package/browser/esm/{BVqIknGhQCLUB_7Q.mjs → dwGdnbV-CykjNrlm.mjs} +2 -2
  41. package/browser/esm/{DiXeQjc0WJGLSVEo.mjs → e69NcYnKMLnAmqyA.mjs} +2 -2
  42. package/browser/esm/index.mjs +886 -578
  43. package/browser/esm/{yuF8SbWfjBfrxcq5.mjs → r-o0UCm7KtluNmyK.mjs} +3 -3
  44. package/licenses/dependencies.txt +69 -69
  45. package/node/esm/{BEBt5fo__rvT2q_u.mjs → 446KYBjJQa8g-8Gg.mjs} +52 -50
  46. package/node/esm/{BELc5aQ_pFPgbiso.mjs → 5OfKfTRX2_y2NwpU.mjs} +2 -2
  47. package/node/esm/{C-5JLSNof0FhkuFd.mjs → A3PEHO1HJvkHfb5n.mjs} +2 -2
  48. package/node/esm/{YpOpRyciqQLIY1-G.mjs → B4WUGzJBkQu7BXRm.mjs} +2 -2
  49. package/node/esm/{I-FZojIFWluC6X-j.mjs → BH8J6vKSO5zI_TWo.mjs} +2 -2
  50. package/node/esm/BLmdKnkLwkb3wWe6.mjs +2040 -0
  51. package/node/esm/{BuyAYLI4s33-vmgG.mjs → BZSxu_ZqX8-Uczzn.mjs} +2 -2
  52. package/node/esm/{DiCMnYA2bttmrX3q.mjs → BfPBiAgVmWhuFgFP.mjs} +3 -3
  53. package/node/esm/{BSVttk12GXNfKZ9k.mjs → Bknw7zWZhl2-w1pi.mjs} +3 -3
  54. package/node/esm/{uLrulyR7IXq0SF4j.mjs → BvIPsPiHhMclZ1kH.mjs} +22 -22
  55. package/node/esm/{clgEkmEwfB28nkz2.mjs → By2TFKOjA1HekZap.mjs} +4 -4
  56. package/node/esm/{BXg-D8Rc_iyB8p7X.mjs → BywIhvYkWk2o7MSW.mjs} +2 -2
  57. package/node/esm/{pF2vCOTmrxPAB41Q.mjs → C3zyhnMwQ2hRQBz7.mjs} +31 -30
  58. package/node/esm/{BCjHRVU8tC5lYypg.mjs → C884edhUf9yMqpPp.mjs} +2 -2
  59. package/node/esm/{B6jhx5pHPs2W5GE7.mjs → CDHY-0OyQ9348Brb.mjs} +189 -189
  60. package/node/esm/{xRGObcoaGDnAZFnj.mjs → CERNLhFrAwtu_p-q.mjs} +2 -2
  61. package/node/esm/{DbPUG2DcQ3T_QhcJ.mjs → CFkX_Cn6avQqQiVC.mjs} +78 -78
  62. package/node/esm/CJDV8P3hI8lu--3Z.mjs +530 -0
  63. package/node/esm/{Cyeq1rDslIqF1LKz.mjs → CKwiipdPJGzAiPjg.mjs} +2 -2
  64. package/node/esm/{BLPrFp_jKGYgWPX1.mjs → CLtUMJfKsy4SevWE.mjs} +3 -3
  65. package/node/esm/{DLdXl0O0TXuyqLU4.mjs → CVPieTgKCwkL21nD.mjs} +28573 -23108
  66. package/node/esm/{Dlk2ZYExFgQ0xE2H.mjs → C_fYuynP2a_70WdL.mjs} +2 -2
  67. package/{browser/esm/BEDfJP2tcuRy2Y2E.mjs → node/esm/CgdNA3B_GFG_yJiN.mjs} +3 -3
  68. package/node/esm/Cs3ibv6YHCDwLRlk.mjs +115 -0
  69. package/node/esm/{DeFE8QfuCeGw-mvd.mjs → Cxak8i2NidZ4Uv6v.mjs} +487 -483
  70. package/node/esm/{NA-8urR7T1NCwrgD.mjs → D88A3UpCyGRjcX3U.mjs} +3 -3
  71. package/node/esm/{99miMotf3dOuG5Jk.mjs → DBIUe2BC9xU7qMHR.mjs} +3 -3
  72. package/node/esm/{BEdxa3I4VOiCsvy7.mjs → DELfV5HQZo1mInBd.mjs} +4 -4
  73. package/node/esm/{BfEdeOg4iYXaYTlh.mjs → DOt3t-13tsnM7Fj6.mjs} +2 -2
  74. package/node/esm/{B3hBxzqJ2_hUylNr.mjs → DfWc3nW_Z_qqc_Wf.mjs} +1762 -1674
  75. package/node/esm/DgnwKbUEyQN5_gWT.mjs +169 -0
  76. package/node/esm/{Ccocd9DTvOnlOE9D.mjs → Dhv9JymnXqcF54oo.mjs} +2 -2
  77. package/node/esm/{Lj98EH6coGdKUzuS.mjs → DvtyKKzOnoOM80NB.mjs} +22 -22
  78. package/node/esm/{Crn6dnSQQRCQAnQ-.mjs → KDGrIa9R5XzWfjM2.mjs} +2 -2
  79. package/node/esm/{D30rC6AWaGGf3CaC.mjs → RTwm9ge1KoPdlBNt.mjs} +2 -2
  80. package/node/esm/{CdSTmD2ZvG9NesNR.mjs → _RIAmJI98l6bIFfZ.mjs} +2 -2
  81. package/node/esm/{CI8UIWR01z9QDlzH.mjs → bIGdvfpnijWeCac6.mjs} +1005 -1004
  82. package/node/esm/index.mjs +913 -598
  83. package/node/esm/kaiXmn0AA5WDsLPo.mjs +199 -0
  84. package/node/esm/{B5VmOC0jO9Zbh9Mq.mjs → mTIhoz1gEcaEm7s1.mjs} +3 -3
  85. package/package.json +7 -7
  86. package/resources/locales/de/model.msg.json +82 -1
  87. package/resources/locales/en/model.msg.json +80 -1
  88. package/types/scripting-api.json +9967 -9497
  89. package/types/scripting-enums.json +27 -0
  90. package/types/scripting.d.ts +2282 -166
  91. package/types/src/.generated/wasm/sdk.d.ts +332 -0
  92. package/types/src/calculation/Calculation.d.ts +8 -0
  93. package/types/src/calculation/ICalculation.d.ts +51 -0
  94. package/types/src/calculation/compiler/Types.d.ts +5 -0
  95. package/types/src/calculation/executor/CalcExecutorUtils.d.ts +1 -1
  96. package/types/src/calculation/formula/FormulaBlock.d.ts +2 -0
  97. package/types/src/calculation/formula/IFormulaBlock.d.ts +18 -0
  98. package/types/src/calculation/grid/CalcGrid.d.ts +5 -1
  99. package/types/src/calculation/grid/CalcGridBackend.d.ts +36 -1
  100. package/types/src/calculation/grid/CalcGridProxy.d.ts +2 -0
  101. package/types/src/calculation/grid/CalcGridUtils.d.ts +4 -2
  102. package/types/src/calculation/grid/FormulaHost.d.ts +3 -1
  103. package/types/src/calculation/grid/ICalcGrid.d.ts +88 -0
  104. package/types/src/calculation/grid/_CalcRequest.d.ts +9 -0
  105. package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +2 -0
  106. package/types/src/calculation/spatial/SpillEntry.d.ts +55 -4
  107. package/types/src/calculation/state/CalcNode.d.ts +6 -3
  108. package/types/src/calculation/state/CalculationContext.d.ts +4 -2
  109. package/types/src/calculation/state/_PivotView.d.ts +22 -0
  110. package/types/src/cell/ICell.d.ts +1 -21
  111. package/types/src/cellRange/ICellRange.d.ts +18 -2
  112. package/types/src/collections/MixedTypedArrayList.d.ts +16 -2
  113. package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +10 -0
  114. package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +3 -0
  115. package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +3 -0
  116. package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +3 -0
  117. package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +3 -0
  118. package/types/src/condition/BuiltInOperators/MatchesOperator.d.ts +10 -0
  119. package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +2 -0
  120. package/types/src/condition/BuiltInOperators/index.d.ts +2 -0
  121. package/types/src/condition/Condition.d.ts +1 -0
  122. package/types/src/condition/ICondition.d.ts +15 -0
  123. package/types/src/condition/_ConditionUtils.d.ts +14 -0
  124. package/types/src/conditionalFormat/ConditionalFormat.d.ts +2 -1
  125. package/types/src/conditionalFormat/IConditionalFormat.d.ts +4 -3
  126. package/types/src/license/LicenseDetails.d.ts +27 -0
  127. package/types/src/license/LicenseManager.d.ts +24 -7
  128. package/types/src/license/_Utils.d.ts +34 -3
  129. package/types/src/license/index.d.ts +1 -0
  130. package/types/src/license/runtime.browser.d.ts +32 -4
  131. package/types/src/license/runtime.node.d.ts +8 -5
  132. package/types/src/license/summary.d.ts +18 -0
  133. package/types/src/pivot/IPivotTable.d.ts +1549 -13
  134. package/types/src/pivot/IPivotTableCollection.d.ts +70 -4
  135. package/types/src/pivot/PivotCache.d.ts +95 -11
  136. package/types/src/pivot/PivotDataField.d.ts +73 -0
  137. package/types/src/pivot/PivotField.d.ts +142 -0
  138. package/types/src/pivot/PivotTable.d.ts +548 -14
  139. package/types/src/pivot/PivotTableCollection.d.ts +18 -3
  140. package/types/src/pivot/_PivotAreas.d.ts +48 -0
  141. package/types/src/pivot/_PivotControls.d.ts +140 -0
  142. package/types/src/pivot/_PivotEngine.d.ts +9 -0
  143. package/types/src/pivot/_PivotGroups.d.ts +25 -0
  144. package/types/src/pivot/_PivotItems.d.ts +167 -0
  145. package/types/src/pivot/_PivotStructure.d.ts +237 -0
  146. package/types/src/pivot/_PivotStylePreview.d.ts +21 -0
  147. package/types/src/pivot/_PivotUtils.d.ts +37 -0
  148. package/types/src/pivot/engine/PivotAdd.d.ts +37 -0
  149. package/types/src/pivot/engine/PivotData.d.ts +65 -0
  150. package/types/src/pivot/engine/PivotEdit.d.ts +45 -0
  151. package/types/src/pivot/engine/PivotFilters.d.ts +50 -0
  152. package/types/src/pivot/engine/PivotFormulas.d.ts +72 -0
  153. package/types/src/pivot/engine/PivotLayout.d.ts +133 -0
  154. package/types/src/pivot/engine/PivotMove.d.ts +24 -0
  155. package/types/src/pivot/engine/PivotRefresh.d.ts +87 -0
  156. package/types/src/pivot/engine/PivotSort.d.ts +26 -0
  157. package/types/src/pivot/engine/PivotViewBuilder.d.ts +22 -0
  158. package/types/src/pivot/engine/index.d.ts +15 -0
  159. package/types/src/pivot/index.d.ts +4 -0
  160. package/types/src/pivot/kernel/KernelPivot.d.ts +63 -0
  161. package/types/src/pivot/kernel/_KernelLeaves.d.ts +100 -0
  162. package/types/src/pivot/kernel/_PivotAxisTree.d.ts +71 -0
  163. package/types/src/primitives/Range.d.ts +12 -1
  164. package/types/src/sheet/IWorksheet.d.ts +35 -0
  165. package/types/src/sheet/SheetCell.d.ts +21 -14
  166. package/types/src/sheet/SheetRange.d.ts +3 -0
  167. package/types/src/sheet/Worksheet.d.ts +175 -7
  168. package/types/src/sheet/_PivotFootprint.d.ts +42 -0
  169. package/types/src/sheet/_SheetAutoFitUtils.d.ts +12 -1
  170. package/types/src/sheet/_SheetMutations.d.ts +47 -0
  171. package/types/src/sheet/_SheetStateTypes.d.ts +11 -0
  172. package/types/src/sheet/style/SheetCellStyle.d.ts +6 -0
  173. package/types/src/sheet/style/SheetPivotStyle.d.ts +83 -0
  174. package/types/src/sheet/style/_IndentUnit.d.ts +14 -0
  175. package/types/src/sheetHeader/SheetCellHeader.d.ts +1 -1
  176. package/types/src/slicer/ISlicer.d.ts +114 -34
  177. package/types/src/slicer/ITimeline.d.ts +61 -0
  178. package/types/src/slicer/Slicer.d.ts +76 -3
  179. package/types/src/slicer/_PivotSlicer.d.ts +51 -0
  180. package/types/src/slicer/index.d.ts +1 -0
  181. package/types/src/table/AnchoredTable.d.ts +11 -1
  182. package/types/src/table/ITable.d.ts +5 -6
  183. package/types/src/table/ITableStyle.d.ts +50 -34
  184. package/types/src/table/_BuiltInPivotStyles.d.ts +8 -0
  185. package/types/src/table/_BuiltInTableStyles.d.ts +0 -1
  186. package/types/src/type/ITypes.d.ts +5 -1
  187. package/types/src/workbook/IWorkbook.d.ts +8 -2
  188. package/types/src/workbook/Workbook.d.ts +72 -6
  189. package/browser/esm/D2NFcBM4xsv0JJ1q.mjs +0 -184
  190. package/browser/esm/DnqwX3-2NfGBaXXl.mjs +0 -357
  191. package/node/esm/C3S4hF1vn0NyJPPd.mjs +0 -199
  192. package/node/esm/CPsGyt3vnOdLTShj.mjs +0 -360
  193. package/node/esm/D4Y1WJgjiFEgbWrW.mjs +0 -115
  194. package/types/src/pivot/_PivotXml.d.ts +0 -24
  195. package/types/src/primitives/Grouping.d.ts +0 -65
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
7
  var e = [[
8
8
  "3cd4 hc t",
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { t as e } from "./qCqzZW74-fhaIG2V.mjs";
7
+ import { t as e } from "./D807piM0VSokWz-L.mjs";
8
8
  import { FormulaError as t } from "@sheetxl/primitives";
9
9
  import { messageKey as n } from "@sheetxl/utils";
10
10
  var r = ["linkedCell", "listFillRange"], i = /^(?:'((?:[^']|'')+)'|([^'!]+))!([^!]+)$/, a = Object.freeze([]), o = n("op.setControlCaption"), s = n("op.setControlMacro"), c = n("op.setControlLink"), l = n("op.setControlValue"), u = n("op.setControlRange"), d = n("op.setControlItems"), f = class extends e {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
7
  var e = [[
8
8
  "0 r vc",
@@ -1,16 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
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";
7
+ import { Fa as e, Pa as t, Xa as n, Ya as r, Za as i, dr as a, n as o, vi as s } from "./CkZoDPUCK5jMUaeJ.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) => {
11
11
  let t = e.ext;
12
12
  return t === null && (t = e.ext = {
13
13
  spillDependents: u.EmptyArray,
14
+ spillRowStart: -1,
15
+ spillColStart: -1,
14
16
  spillRowEnd: -1,
15
17
  spillColEnd: -1,
16
18
  fixedRef: null,
@@ -26,62 +28,62 @@ var d = (e) => {
26
28
  let t = e.precedents;
27
29
  return t === null ? e.block.paramLength : t.length;
28
30
  }, 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);
31
+ if (e instanceof t) return new i(e);
32
+ let r = !0 === e.isIRepeatingList ? e : null, a = r ? r.getPeriod() : e.length, o = Array.isArray(e);
33
+ if (!r && !o && !g(e)) return new i(e);
34
+ let s = null;
35
+ for (let t = 0; t < a; t++) if (h(o ? e[t] : e.at(t))) {
36
+ if (s === null) {
37
+ s = Array(a);
38
+ for (let t = 0; t < a; t++) s[t] = o ? e[t] : e.at(t);
37
39
  }
38
- o[t] = c.BuiltIn.Calc;
40
+ s[t] = c.BuiltIn.Calc;
39
41
  }
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 {
42
+ return new i(s === null ? e : r ? new n(s, e.length) : s);
43
+ }, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !s(e), g = (e) => {
44
+ let n = !1;
45
+ return i.forEachLeaf(e, (e, r, i, a) => {
46
+ if (n || e instanceof t) return;
47
+ let o = r + a - i;
48
+ !0 === e.isIRepeatingList && (o = Math.min(o, r + e.getPeriod() - 1));
49
+ for (let t = r; !n && t <= o; t++) n = h(e.at(t));
50
+ }), n;
51
+ }, _ = class extends a {
50
52
  constructor(e, t) {
51
53
  super(), this.nodes = e, this.count = t;
52
54
  }
53
- }, v = class extends e {
55
+ }, v = class extends a {
54
56
  constructor(e) {
55
57
  super(), this.node = e;
56
58
  }
57
- }, y = class extends e {
59
+ }, y = class extends a {
58
60
  constructor(e) {
59
61
  super(), this.node = e;
60
62
  }
61
63
  };
62
64
  function b(e, t = 0, n = 0) {
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();
65
+ let i = (e = e._materializeEmpty())._values, a = e._coords, o = i.getRuns({ bounds: a }), s = i.getAxis() !== l.Axis.Row, c = s ? a.colStart : a.rowStart, u = s ? a.rowStart : a.colStart, d = new r.Builder(null, t, n), f = o.next();
64
66
  for (; !f.done;) {
65
67
  let e = f.value;
66
- d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f = a.next();
68
+ d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f = o.next();
67
69
  }
68
70
  return d.build();
69
71
  }
70
- function x(e) {
71
- if (typeof e != "object" || !e || !0 !== e.isIRange) return e;
72
- let t = e, r = t._values, i = new n({
72
+ function x(t) {
73
+ if (typeof t != "object" || !t || !0 !== t.isIRange) return t;
74
+ let n = t, r = n._values, i = new e({
73
75
  axis: r.getAxis(),
74
76
  createRun: m
75
- }), o = b(t);
76
- return o && i.setValues(o.tuples), new a(t._runtime, i, {
77
+ }), a = b(n);
78
+ return a && i.setValues(a.tuples), new o(n._runtime, i, {
77
79
  colStart: 0,
78
80
  rowStart: 0,
79
- colEnd: t.getColumnCount() - 1,
80
- rowEnd: t.getRowCount() - 1
81
+ colEnd: n.getColumnCount() - 1,
82
+ rowEnd: n.getRowCount() - 1
81
83
  });
82
84
  }
83
85
  function S(e, t, n) {
84
- let r = t.rowEnd - t.rowStart + 1, i = t.colEnd - t.colStart + 1, a = function(e, t, n) {
86
+ let i = t.rowEnd - t.rowStart + 1, a = t.colEnd - t.colStart + 1, o = function(e, t, n) {
85
87
  let r = e?.isIRange ? e : null, i = r ? r.getRowCount() : 1, a = r ? r.getColumnCount() : 1, o = Array(t);
86
88
  for (let s = 0; s < t; s++) {
87
89
  let t = Array(n), l = i === 1 ? 0 : s < i ? s : -1;
@@ -92,12 +94,12 @@ function S(e, t, n) {
92
94
  o[s] = t;
93
95
  }
94
96
  return o;
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;
97
+ }(e, i, a), s = n ? a : i, l = n ? i : a, u = n ? t.colStart : t.rowStart, d = n ? t.rowStart : t.colStart, f = new r.Builder(null), p = !0;
96
98
  for (let e = 0; e < s; e++) {
97
99
  let t = null, r = 0;
98
100
  for (let i = 0; i < l; i++) {
99
- let o = n ? a[i][e] : a[e][i];
100
- o == null ? t &&= (f.pushMultipleAt(u + e, d + r, t), null) : (t || (t = [], r = i, p = !1), t.push(o));
101
+ let a = n ? o[i][e] : o[e][i];
102
+ a == null ? t &&= (f.pushMultipleAt(u + e, d + r, t), null) : (t || (t = [], r = i, p = !1), t.push(a));
101
103
  }
102
104
  t && f.pushMultipleAt(u + e, d + r, t);
103
105
  }
@@ -128,23 +130,23 @@ function T(e, t, n, r, i, a) {
128
130
  let b = h <= u.rowStart && g >= u.rowEnd && _ <= u.colStart && v >= u.colEnd;
129
131
  !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
132
  }
131
- function E(e, t, n, r, i, a, o = null) {
132
- let s = e.value, c = s.formulaBlockWidth, l = s.formulaBlockHeight, u = Math.max(t, e.rowStart), d = Math.min(r, e.rowEnd);
133
- if (u > d) return;
134
- let f = Math.max(n, e.colStart), p = Math.min(i, e.colEnd);
133
+ function E(e, t, n, r, i, a, o, s, c = null) {
134
+ let l = e.value, u = l.formulaBlockWidth, d = l.formulaBlockHeight, f = Math.max(r, e.rowStart), p = Math.min(a, e.rowEnd);
135
135
  if (f > p) return;
136
- let m = e.rowEnd - e.rowStart - (l - 1), h = e.colEnd - e.colStart - (c - 1), g = s.$absRowEnd ? 0 : Math.max(0, u - e.rowStart - m), _ = s.$absRowStart ? l - 1 : Math.min(l - 1, d - e.rowStart), v = s.$absColEnd ? 0 : Math.max(0, f - e.colStart - h), y = s.$absColStart ? c - 1 : Math.min(c - 1, p - e.colStart);
137
- if (g > _ || v > y) return;
138
- let b = 1, x = 0, S = 1, C = 0;
136
+ let m = Math.max(i, e.colStart), h = Math.min(o, e.colEnd);
137
+ if (m > h) return;
138
+ let g = e.rowEnd - e.rowStart - (d - 1), _ = e.colEnd - e.colStart - (u - 1), v = l.$absRowEnd ? 0 : Math.max(0, f - e.rowStart - g), y = l.$absRowStart ? d - 1 : Math.min(d - 1, p - e.rowStart), b = l.$absColEnd ? 0 : Math.max(0, m - e.colStart - _), x = l.$absColStart ? u - 1 : Math.min(u - 1, h - e.colStart);
139
+ if (v > y || b > x) return;
140
+ let S = 1, C = 0, w = 1, T = 0;
139
141
  if (t >= e.rowStart && t <= e.rowEnd && n >= e.colStart && n <= e.colEnd) {
140
142
  let r = t - e.rowStart, i = n - e.colStart;
141
- b = s.$absRowEnd ? 0 : Math.max(0, r - m), x = s.$absRowStart ? l - 1 : Math.min(l - 1, r), S = s.$absColEnd ? 0 : Math.max(0, i - h), C = s.$absColStart ? c - 1 : Math.min(c - 1, i);
143
+ S = l.$absRowEnd ? 0 : Math.max(0, r - g), C = l.$absRowStart ? d - 1 : Math.min(d - 1, r), w = l.$absColEnd ? 0 : Math.max(0, i - _), T = l.$absColStart ? u - 1 : Math.min(u - 1, i);
142
144
  }
143
- let w = s.formulaEntry.value, T = w.ref, E = (e) => {
144
- let t = e.rowIndex - T.rowStart, n = e.colIndex - T.colStart;
145
- t >= b && t <= x && n >= S && n <= C || a(e);
145
+ let E = l.formulaEntry.value, D = E.ref, O = (e) => {
146
+ let t = e.rowIndex - D.rowStart, n = e.colIndex - D.colStart;
147
+ t >= S && t <= C && n >= w && n <= T || s(e);
146
148
  };
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);
149
+ c === null ? E.forEachNodeIn(D.rowStart + v, D.rowStart + y, D.colStart + b, D.colStart + x, O) : c(E, D.rowStart + v, D.rowStart + y, D.colStart + b, D.colStart + x, O);
148
150
  }
149
151
  function D(e) {
150
152
  let { row: t, col: n, rows: r, cols: i, rowInput: a, colInput: o } = e, s = (e, t, n, r) => ({
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
- import { n as e } from "./BWoz4kQdA5KKJfl6.mjs";
8
- import { ut as t } from "./AXlD9K1gCwPU4gCO.mjs";
7
+ import { n as e } from "./Dx9Fya60meMpuHqm.mjs";
8
+ import { ut as t } from "./CMChv-fCFh68VQQt.mjs";
9
9
  var n = e({
10
10
  toConcreteCSS: () => i,
11
11
  toConcreteFill: () => a
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
3
  *
4
4
  * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
- * License: The license can be found at https://www.sheetxl.com/license.
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
6
  */
7
7
  async function e(e) {
8
- let t = "@0.8.0-beta.14";
8
+ let t = "@0.8.0-beta.16";
9
9
  t !== "@local" && t !== "@0.0.0" || (t = "");
10
10
  let n = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${t}/types/${e}`, r = await fetch(n);
11
11
  if (!r.ok) throw Error(`Unable to load ${e} (${r.status}) from ${n}.`);