@sheetxl/sdk 0.8.0-beta.15 → 0.8.0-beta.17

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/{DDQtExVGSoCzAf6-.mjs → B-Q1-7RgSnA75J32.mjs} +506 -502
  3. package/browser/esm/{Cl3jq6y4Idilod82.mjs → BI6NwRrdLCbPdz6f.mjs} +3 -3
  4. package/browser/esm/{Blo0Hwg2ojXt99Dl.mjs → BWNQcQyx8wt6huOq.mjs} +2 -2
  5. package/browser/esm/{Do8TQqQvnFXRlFu-.mjs → BY_-BTa5h6HnnZ1W.mjs} +3 -3
  6. package/browser/esm/{D4ZCoKyNCJvDQAkx.mjs → BlkstmZEklk6Y1QD.mjs} +23 -22
  7. package/browser/esm/{DpaqR081c-Q7WemN.mjs → BuKA3E-Ev8Dp5W2I.mjs} +2 -2
  8. package/browser/esm/{Bbrhl946_QbCz5WS.mjs → Byp_bvP9G-tN6hcz.mjs} +588 -587
  9. package/browser/esm/{CMSeF5rGzeuMUydM.mjs → C0o6WpBojS7XhV5m.mjs} +3 -3
  10. package/browser/esm/CAjITJT3eLst9Rhi.mjs +686 -0
  11. package/browser/esm/{CZ_ZPliIkoh8BViV.mjs → CFywn1iiD35nNNUP.mjs} +10 -10
  12. package/browser/esm/{DJNLo8Rd_5UQP0U5.mjs → CHByUyHFA3ESf7DX.mjs} +2 -2
  13. package/browser/esm/CLT3qGy_brDIwbYd.mjs +2017 -0
  14. package/browser/esm/{Blo0jHze0bQxnKh4.mjs → CVV4xqwD8gIjYj1E.mjs} +78 -78
  15. package/browser/esm/{FHp0QfwZMIfP0Sry.mjs → CWkaF7gYWCkW7vDA.mjs} +2 -2
  16. package/browser/esm/{CNM5d4p0Y7In0rTf.mjs → DCs7bk-yx0UhCvQ4.mjs} +3 -3
  17. package/browser/esm/{BsGN0Tk0jVc2n0hy.mjs → DDNerAeet8uDYKhf.mjs} +3 -3
  18. package/browser/esm/{D6OqcO9IWPaY211T.mjs → DGUOlgm1_WFmf_xO.mjs} +2 -2
  19. package/browser/esm/{Dp4OIVjjAVhpD815.mjs → DJTEQZiR9IFTuN_4.mjs} +3 -3
  20. package/browser/esm/{KgTozk3nvOZzEG27.mjs → DJrnSjYjFxJvpQiH.mjs} +2 -2
  21. package/browser/esm/{D0KMmRjGOQUs7Ls-.mjs → DTXsi--x2wgqgwtf.mjs} +3 -3
  22. package/browser/esm/{CPUobTehcKZllBDS.mjs → DUB6Oj_aiV3f8s5_.mjs} +51 -49
  23. package/browser/esm/{Bw66vzKThXKvXvPI.mjs → DW3kFc5t4Wnh5E9S.mjs} +2 -2
  24. package/browser/esm/{BzG0p8RdGDWHttVr.mjs → DkmqFp_-iUIy_l3D.mjs} +4 -4
  25. package/browser/esm/{zjEXdQiQruTkUyf5.mjs → Dlk1kRgkiBIpUxd9.mjs} +22 -22
  26. package/browser/esm/{tm7XJ-Zd_04xWKG6.mjs → DnMFW_oKYQxRjP1l.mjs} +2 -2
  27. package/browser/esm/{DA4S5eqog20pG7b2.mjs → DrmOaEx6CQ91zBsP.mjs} +29 -29
  28. package/browser/esm/{D8PxKK6OrmancpLT.mjs → DsWDvmky7CgzX_7W.mjs} +3 -3
  29. package/browser/esm/{DMbcmIZ-G2fbWn8v.mjs → Dx_dZ7jrw5Hxeoot.mjs} +2 -2
  30. package/browser/esm/{BN1MW1nuBndrzryn.mjs → Dy0TAi9WafVT8eke.mjs} +3 -3
  31. package/browser/esm/{L7SKr6r1tmMwFx6Q.mjs → JmmPE8Vsj85wdV8H.mjs} +2 -2
  32. package/browser/esm/{CIab4UYcHQQKTHeD.mjs → O970I8lbI7okqG7N.mjs} +404 -404
  33. package/browser/esm/{DwH4H_p6gTAcpQ17.mjs → WR3-xqcK1gF3ewAR.mjs} +4 -4
  34. package/browser/esm/XHhDDWrJiZJgWxPM.mjs +165 -0
  35. package/browser/esm/{KsfZhE6ocmYobGjY.mjs → YwDdO4YwcIE4OB0D.mjs} +2 -2
  36. package/browser/esm/aYpwVCDSwMUuz147.mjs +527 -0
  37. package/browser/esm/{BGPT-k25jo0UhtT5.mjs → gQzj95vSMXdKhpWf.mjs} +29032 -24101
  38. package/browser/esm/index.mjs +886 -578
  39. package/browser/esm/{CxhXbk-5XhaK8UNs.mjs → jotvQFBWO2jXAhWx.mjs} +2 -2
  40. package/browser/esm/{CWyzk_3eDCR9bKq6.mjs → mufbL88lyIKJEWyP.mjs} +1528 -1433
  41. package/browser/esm/{BVsG6Vpvb1ZzpURJ.mjs → qNv1x-Ny9TPbvZzj.mjs} +2 -2
  42. package/browser/esm/{XrasOsWQ-64jwMn1.mjs → taTjDyUIIxq2eClH.mjs} +4 -4
  43. package/browser/esm/{CqzKBrmmV-fWRoK7.mjs → yudASWe8CWXYcGt3.mjs} +22 -22
  44. package/licenses/dependencies.txt +69 -69
  45. package/node/esm/{CjwmkzMtjj6OMJbO.mjs → -q1xF3_2jmk3QHIY.mjs} +487 -483
  46. package/node/esm/{DDIiQZTdeY4vdK8_.mjs → 7ZwdVIsOdcziHpMD.mjs} +189 -189
  47. package/node/esm/{C7h7SvhWNwQ9TfGh.mjs → B6BQYUDRxbRnzca4.mjs} +4 -4
  48. package/node/esm/{DjsOfZn5vYpB7L6U.mjs → B8MYgBe4XICBSROW.mjs} +52 -50
  49. package/node/esm/{B8KEX44VZTFTTKb3.mjs → BBUVvO9Ma1RzbKux.mjs} +3 -3
  50. package/node/esm/{D9RwzPR5s2mWrbCQ.mjs → BQko-9y6mf2oQK7u.mjs} +2 -2
  51. package/node/esm/{BNiG1ISiMjs-G2mE.mjs → BSlFO0_8UZ38gfeE.mjs} +22 -22
  52. package/node/esm/{DUft-qpAS4MMANwG.mjs → Bgy7uWJVGwkN7AlD.mjs} +3 -3
  53. package/node/esm/{DyIASfKKPuNl5Xx-.mjs → BhosJbKOPgbJSZMY.mjs} +2 -2
  54. package/node/esm/BoLecFnIxhYKGor-.mjs +2040 -0
  55. package/node/esm/{WBHD7ECKG6HZ5UpY.mjs → BwyoLlHutolJw7OW.mjs} +2 -2
  56. package/node/esm/{Dh8o-woVpmUL50BD.mjs → CDgUHRW6vSASfqNr.mjs} +2 -2
  57. package/node/esm/{BZ0IRjh2hYuI86xW.mjs → CHS84ZGEoH6aeHsZ.mjs} +31 -30
  58. package/node/esm/{BRnNpoS8VpkAhdVk.mjs → CIlH2fSEpdYBZwUA.mjs} +2 -2
  59. package/node/esm/{BlzPuXtKvF3Qfr0p.mjs → CIxb44vA81H9lRip.mjs} +2 -2
  60. package/node/esm/{Cx9nQSsuyqhayyBS.mjs → Cb1-r2RCxcJZB6fM.mjs} +32675 -27215
  61. package/node/esm/{DKdFasYVvjAitASZ.mjs → CjCqcGyCYGkaMQI9.mjs} +2 -2
  62. package/node/esm/{D7ia4o3y5Wvl__9Y.mjs → ClJJC8tBpgsqHwdn.mjs} +2 -2
  63. package/node/esm/{C-JEySqMuKdpcKe0.mjs → Cle-_21jebWv_-D4.mjs} +3 -3
  64. package/node/esm/{j8DqCwPgfIPICFtf.mjs → D51xu0rubo34Ppeg.mjs} +1005 -1004
  65. package/node/esm/{Ddd1y3TP0kqnnSs7.mjs → DCSJKgcCQzOV-dMJ.mjs} +3 -3
  66. package/node/esm/{ZtF9EuipL7Z9Iwfs.mjs → DCaLNIs-_4Y6hJ8S.mjs} +2 -2
  67. package/node/esm/DTkV7IK2_ODMJAP5.mjs +115 -0
  68. package/node/esm/DfbVTAhNutxM74E8.mjs +169 -0
  69. package/node/esm/{DVejVdSBXzAFQbqo.mjs → DfrxGbxxowFmm3SF.mjs} +2 -2
  70. package/node/esm/{DW3u4bBJIUaHZ6m-.mjs → DgsBYF3xbjgx9Mzp.mjs} +2 -2
  71. package/node/esm/{CHBlLTJaoPUVxA2J.mjs → DxnBYzOueAKEqaQT.mjs} +22 -22
  72. package/node/esm/M3jahkTgfUxGyeZv.mjs +530 -0
  73. package/node/esm/{-afI0SRg_vgXtea7.mjs → NnrDjio_xwTBs05n.mjs} +3 -3
  74. package/node/esm/{BqvqbFsPQB0gEvwF.mjs → OCrS6pBT6lGRu82d.mjs} +1762 -1674
  75. package/node/esm/XhDjStxKy-dd3WKa.mjs +199 -0
  76. package/node/esm/{D9zb5xVRehABdbXL.mjs → Yo7_havHbr9VL8R4.mjs} +2 -2
  77. package/node/esm/{MtRwC1PMkOEb1Nty.mjs → btVWSwUwMjM0J5fS.mjs} +3 -3
  78. package/node/esm/{DQqXPS05dvF0F-gh.mjs → cRz94rkuvDrA8mr9.mjs} +2 -2
  79. package/node/esm/{BfXLtDqsXXYeZ6LX.mjs → fwfAgq8qIADcHmY4.mjs} +78 -78
  80. package/node/esm/index.mjs +913 -598
  81. package/node/esm/{OnkJkCGFDjamqIUQ.mjs → jqBKdf9DG54xqpaw.mjs} +3 -3
  82. package/node/esm/{C6b4rM62pIWIywlM.mjs → nxxwAZZF8NsdErJW.mjs} +2 -2
  83. package/node/esm/{B07QPde9GloqsW8e.mjs → oGGVbqahqfK45-Uz.mjs} +4 -4
  84. package/node/esm/{BlHlBRvKGt-4CS0A.mjs → zh6vcRzFqdV1aYh5.mjs} +2 -2
  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/BrHplg4RuI5jOmmr.mjs +0 -357
  190. package/browser/esm/eImPONkfn5DstmS8.mjs +0 -184
  191. package/node/esm/03AYPvCda2x9EOlY.mjs +0 -360
  192. package/node/esm/BmVQRGAijOHzgHmz.mjs +0 -199
  193. package/node/esm/Dk4KLs5GoRRuD8J4.mjs +0 -115
  194. package/types/src/pivot/_PivotXml.d.ts +0 -24
  195. package/types/src/primitives/Grouping.d.ts +0 -65
@@ -1,11 +1,11 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 } from "./D7ia4o3y5Wvl__9Y.mjs";
8
- import { ut as n } from "./j8DqCwPgfIPICFtf.mjs";
7
+ import { t } from "./ClJJC8tBpgsqHwdn.mjs";
8
+ import { ut as n } from "./D51xu0rubo34Ppeg.mjs";
9
9
  var r = t({
10
10
  toConcreteCSS: () => o,
11
11
  toConcreteFill: () => u
@@ -1,16 +1,18 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 t, Er as o, Hi as r, Vi as n, ia as l, n as e, na as a, ra as c } from "./Cx9nQSsuyqhayyBS.mjs";
7
+ import { Fa as t, Pa as o, Xa as r, Ya as n, Za as l, dr as e, n as a, vi as c } from "./Cb1-r2RCxcJZB6fM.mjs";
8
8
  import { FormulaError as s, IRange as u } from "@sheetxl/primitives";
9
9
  import { CommonUtils as d } from "@sheetxl/utils";
10
10
  var i = (t) => {
11
11
  let o = t.ext;
12
12
  return null === o && (o = t.ext = {
13
13
  spillDependents: d.EmptyArray,
14
+ spillRowStart: -1,
15
+ spillColStart: -1,
14
16
  spillRowEnd: -1,
15
17
  spillColEnd: -1,
16
18
  fixedRef: null,
@@ -26,63 +28,63 @@ var i = (t) => {
26
28
  const o = t.precedents;
27
29
  return null !== o ? o.length : t.block.paramLength;
28
30
  }, S = (t) => {
29
- if (t instanceof n) return new l(t);
30
- const o = !0 === t.isIRepeatingList ? t : null, r = o ? o.getPeriod() : t.length, e = Array.isArray(t);
31
- if (!o && !e && !m(t)) return new l(t);
32
- let a = null;
33
- for (let o = 0; o < r; o++) if (h(e ? t[o] : t.at(o))) {
34
- if (null === a) {
35
- a = new Array(r);
36
- for (let o = 0; o < r; o++) a[o] = e ? t[o] : t.at(o);
31
+ if (t instanceof o) return new l(t);
32
+ const n = !0 === t.isIRepeatingList ? t : null, e = n ? n.getPeriod() : t.length, a = Array.isArray(t);
33
+ if (!n && !a && !m(t)) return new l(t);
34
+ let c = null;
35
+ for (let o = 0; o < e; o++) if (h(a ? t[o] : t.at(o))) {
36
+ if (null === c) {
37
+ c = new Array(e);
38
+ for (let o = 0; o < e; o++) c[o] = a ? t[o] : t.at(o);
37
39
  }
38
- a[o] = s.BuiltIn.Calc;
40
+ c[o] = s.BuiltIn.Calc;
39
41
  }
40
- return new l(null === a ? t : o ? new c(a, t.length) : a);
41
- }, h = (t) => null !== t && "object" == typeof t && !s.isError(t) && !0 !== t.isIRichData && !o(t), m = (t) => {
42
- let o = !1;
43
- return l.forEachLeaf(t, (t, r, l, e) => {
44
- if (o || t instanceof n) return;
45
- let a = r + e - l;
46
- !0 === t.isIRepeatingList && (a = Math.min(a, r + t.getPeriod() - 1));
47
- for (let n = r; !o && n <= a; n++) o = h(t.at(n));
48
- }), o;
49
- }, g = class extends t {
42
+ return new l(null === c ? t : n ? new r(c, t.length) : c);
43
+ }, h = (t) => null !== t && "object" == typeof t && !s.isError(t) && !0 !== t.isIRichData && !c(t), m = (t) => {
44
+ let r = !1;
45
+ return l.forEachLeaf(t, (t, n, l, e) => {
46
+ if (r || t instanceof o) return;
47
+ let a = n + e - l;
48
+ !0 === t.isIRepeatingList && (a = Math.min(a, n + t.getPeriod() - 1));
49
+ for (let o = n; !r && o <= a; o++) r = h(t.at(o));
50
+ }), r;
51
+ }, g = class extends e {
50
52
  constructor(t, o) {
51
53
  super(), this.nodes = t, this.count = o;
52
54
  }
53
- }, I = class extends t {
55
+ }, I = class extends e {
54
56
  constructor(t) {
55
57
  super(), this.node = t;
56
58
  }
57
- }, E = class extends t {
59
+ }, E = class extends e {
58
60
  constructor(t) {
59
61
  super(), this.node = t;
60
62
  }
61
63
  };
62
64
  function p(t, o = 0, r = 0) {
63
- const n = (t = t._materializeEmpty())._values, l = t._coords, e = n.getRuns({ bounds: l }), c = n.getAxis() !== u.Axis.Row, s = c ? l.colStart : l.rowStart, d = c ? l.rowStart : l.colStart, i = new a.Builder(null, o, r);
64
- let w = e.next();
65
+ const l = (t = t._materializeEmpty())._values, e = t._coords, a = l.getRuns({ bounds: e }), c = l.getAxis() !== u.Axis.Row, s = c ? e.colStart : e.rowStart, d = c ? e.rowStart : e.colStart, i = new n.Builder(null, o, r);
66
+ let w = a.next();
65
67
  for (; !w.done;) {
66
68
  const t = w.value;
67
- i.pushMultipleAt(t[0] - s, t[1] - d, t[2]), w = e.next();
69
+ i.pushMultipleAt(t[0] - s, t[1] - d, t[2]), w = a.next();
68
70
  }
69
71
  return i.build();
70
72
  }
71
- function x(t) {
72
- if (null === t || "object" != typeof t || !0 !== t.isIRange) return t;
73
- const o = t, n = o._values, l = new r({
73
+ function x(o) {
74
+ if (null === o || "object" != typeof o || !0 !== o.isIRange) return o;
75
+ const r = o, n = r._values, l = new t({
74
76
  axis: n.getAxis(),
75
77
  createRun: S
76
- }), a = p(o);
77
- return a && l.setValues(a.tuples), new e(o._runtime, l, {
78
+ }), e = p(r);
79
+ return e && l.setValues(e.tuples), new a(r._runtime, l, {
78
80
  colStart: 0,
79
81
  rowStart: 0,
80
- colEnd: o.getColumnCount() - 1,
81
- rowEnd: o.getRowCount() - 1
82
+ colEnd: r.getColumnCount() - 1,
83
+ rowEnd: r.getRowCount() - 1
82
84
  });
83
85
  }
84
86
  function b(t, o, r) {
85
- const n = o.rowEnd - o.rowStart + 1, l = o.colEnd - o.colStart + 1, e = function(t, o, r) {
87
+ const l = o.rowEnd - o.rowStart + 1, e = o.colEnd - o.colStart + 1, a = function(t, o, r) {
86
88
  const n = t?.isIRange ? t : null, l = n ? n.getRowCount() : 1, e = n ? n.getColumnCount() : 1, a = new Array(o);
87
89
  for (let c = 0; c < o; c++) {
88
90
  const o = new Array(r), u = 1 === l ? 0 : c < l ? c : -1;
@@ -93,13 +95,13 @@ function b(t, o, r) {
93
95
  a[c] = o;
94
96
  }
95
97
  return a;
96
- }(t, n, l), c = r ? l : n, u = r ? n : l, d = r ? o.colStart : o.rowStart, i = r ? o.rowStart : o.colStart, w = new a.Builder(null);
98
+ }(t, l, e), c = r ? e : l, u = r ? l : e, d = r ? o.colStart : o.rowStart, i = r ? o.rowStart : o.colStart, w = new n.Builder(null);
97
99
  let f = !0;
98
100
  for (let t = 0; t < c; t++) {
99
101
  let o = null, n = 0;
100
102
  for (let l = 0; l < u; l++) {
101
- const a = r ? e[l][t] : e[t][l];
102
- null != a ? (o || (o = [], n = l, f = !1), o.push(a)) : o && (w.pushMultipleAt(d + t, i + n, o), o = null);
103
+ const e = r ? a[l][t] : a[t][l];
104
+ null != e ? (o || (o = [], n = l, f = !1), o.push(e)) : o && (w.pushMultipleAt(d + t, i + n, o), o = null);
103
105
  }
104
106
  o && w.pushMultipleAt(d + t, i + n, o);
105
107
  }
@@ -130,23 +132,23 @@ function R(t, o, r, n, l, e) {
130
132
  const p = h <= d.rowStart && m >= d.rowEnd && g <= d.colStart && I >= d.colEnd;
131
133
  !p && g === E.colFrom && I === E.colTo && h <= E.rowTo + 1 && m >= E.rowFrom - 1 ? (h < E.rowFrom && l(u, h, E.rowFrom - 1, g, I, n), m > E.rowTo && l(u, E.rowTo + 1, m, g, I, n), h < E.rowFrom && (E.rowFrom = h), m > E.rowTo && (E.rowTo = m)) : !p && h === E.rowFrom && m === E.rowTo && g <= E.colTo + 1 && I >= E.colFrom - 1 ? (g < E.colFrom && l(u, h, m, g, E.colFrom - 1, n), I > E.colTo && l(u, h, m, E.colTo + 1, I, n), g < E.colFrom && (E.colFrom = g), I > E.colTo && (E.colTo = I)) : (l(u, h, m, g, I, n), (m - h + 1) * (I - g + 1) > (E.rowTo - E.rowFrom + 1) * (E.colTo - E.colFrom + 1) && (E.rowFrom = h, E.rowTo = m, E.colFrom = g, E.colTo = I));
132
134
  }
133
- function y(t, o, r, n, l, e, a = null) {
134
- const c = t.value, s = c.formulaBlockWidth, u = c.formulaBlockHeight, d = Math.max(o, t.rowStart), i = Math.min(n, t.rowEnd);
135
- if (d > i) return;
136
- const w = Math.max(r, t.colStart), f = Math.min(l, t.colEnd);
135
+ function y(t, o, r, n, l, e, a, c, s = null) {
136
+ const u = t.value, d = u.formulaBlockWidth, i = u.formulaBlockHeight, w = Math.max(n, t.rowStart), f = Math.min(e, t.rowEnd);
137
137
  if (w > f) return;
138
- const S = t.rowEnd - t.rowStart - (u - 1), h = t.colEnd - t.colStart - (s - 1), m = c.$absRowEnd ? 0 : Math.max(0, d - t.rowStart - S), g = c.$absRowStart ? u - 1 : Math.min(u - 1, i - t.rowStart), I = c.$absColEnd ? 0 : Math.max(0, w - t.colStart - h), E = c.$absColStart ? s - 1 : Math.min(s - 1, f - t.colStart);
139
- if (m > g || I > E) return;
140
- let p = 1, x = 0, b = 1, C = 0;
138
+ const S = Math.max(l, t.colStart), h = Math.min(a, t.colEnd);
139
+ if (S > h) return;
140
+ const m = t.rowEnd - t.rowStart - (i - 1), g = t.colEnd - t.colStart - (d - 1), I = u.$absRowEnd ? 0 : Math.max(0, w - t.rowStart - m), E = u.$absRowStart ? i - 1 : Math.min(i - 1, f - t.rowStart), p = u.$absColEnd ? 0 : Math.max(0, S - t.colStart - g), x = u.$absColStart ? d - 1 : Math.min(d - 1, h - t.colStart);
141
+ if (I > E || p > x) return;
142
+ let b = 1, C = 0, M = 1, R = 0;
141
143
  if (o >= t.rowStart && o <= t.rowEnd && r >= t.colStart && r <= t.colEnd) {
142
144
  const n = o - t.rowStart, l = r - t.colStart;
143
- p = c.$absRowEnd ? 0 : Math.max(0, n - S), x = c.$absRowStart ? u - 1 : Math.min(u - 1, n), b = c.$absColEnd ? 0 : Math.max(0, l - h), C = c.$absColStart ? s - 1 : Math.min(s - 1, l);
145
+ b = u.$absRowEnd ? 0 : Math.max(0, n - m), C = u.$absRowStart ? i - 1 : Math.min(i - 1, n), M = u.$absColEnd ? 0 : Math.max(0, l - g), R = u.$absColStart ? d - 1 : Math.min(d - 1, l);
144
146
  }
145
- const M = c.formulaEntry.value, R = M.ref, y = (t) => {
146
- const o = t.rowIndex - R.rowStart, r = t.colIndex - R.colStart;
147
- o >= p && o <= x && r >= b && r <= C || e(t);
147
+ const y = u.formulaEntry.value, $ = y.ref, v = (t) => {
148
+ const o = t.rowIndex - $.rowStart, r = t.colIndex - $.colStart;
149
+ o >= b && o <= C && r >= M && r <= R || c(t);
148
150
  };
149
- null !== a ? a(M, R.rowStart + m, R.rowStart + g, R.colStart + I, R.colStart + E, y) : M.forEachNodeIn(R.rowStart + m, R.rowStart + g, R.colStart + I, R.colStart + E, y);
151
+ null !== s ? s(y, $.rowStart + I, $.rowStart + E, $.colStart + p, $.colStart + x, v) : y.forEachNodeIn($.rowStart + I, $.rowStart + E, $.colStart + p, $.colStart + x, v);
150
152
  }
151
153
  function $(t) {
152
154
  const { row: o, col: r, rows: n, cols: l, rowInput: e, colInput: a } = t, c = (t, o, r, n) => ({
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 A } from "./D7ia4o3y5Wvl__9Y.mjs";
7
+ import { t as A } from "./ClJJC8tBpgsqHwdn.mjs";
8
8
  import { instantiateWasmBindgen as I } from "@sheetxl/utils";
9
9
  var Q = A({
10
10
  FaceInfo: () => g,
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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
  function t(t, e, n) {
8
8
  const i = t.metrics(e);
@@ -1,14 +1,14 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 "./DKdFasYVvjAitASZ.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 "./Cx9nQSsuyqhayyBS.mjs";
9
- import { g as c, v as l, w as h, x as u } from "./j8DqCwPgfIPICFtf.mjs";
7
+ import { t as e } from "./CjCqcGyCYGkaMQI9.mjs";
8
+ import { B as t, Jn as n, Kn as o, ho as r, qn as s, wi as i, z as a } from "./Cb1-r2RCxcJZB6fM.mjs";
9
+ import { g as c, v as l, w as h, x as u } from "./D51xu0rubo34Ppeg.mjs";
10
10
  import { CommonUtils as d, CoordUtils as m, ExpectedError as p, messageKey as g, t as _ } from "@sheetxl/utils";
11
- var b = class extends s {
11
+ var b = class extends o {
12
12
  constructor(e) {
13
13
  super(e), this._optionsMember = e;
14
14
  }
@@ -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 n.Type.Absolute;
28
+ return i.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 t = e.anchor?.tl ?? d.EmptyObject, o = e.anchor?.br ?? d.EmptyObject;
130
+ const t = e.anchor?.tl ?? d.EmptyObject, n = e.anchor?.br ?? d.EmptyObject;
131
131
  this._updateState({
132
132
  offsets: {
133
133
  tl: {
@@ -145,12 +145,12 @@ 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: n.Type.Absolute,
148
+ anchorType: i.Type.Absolute,
149
149
  pixelBounds: {
150
150
  x: t.x ?? 0,
151
151
  y: t.y ?? 0,
152
- width: o.x ?? 0,
153
- height: o.y ?? 0
152
+ width: n.x ?? 0,
153
+ height: n.y ?? 0
154
154
  }
155
155
  }, { description: g("op.loadMovable") });
156
156
  }
@@ -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 i({
415
+ return this._protectionCheck(g("op.insertDrawing")), await n({
416
416
  type: e.type,
417
417
  json: e.json
418
418
  }), e;
@@ -541,12 +541,12 @@ 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, r = e.content?.type ?? "custom", s = this._createOptions;
544
+ const n = this, o = e.content?.type ?? "custom", r = this._createOptions;
545
545
  let i;
546
546
  const a = {
547
- type: r,
548
- transactions: s.transactions,
549
- beginPersistResource: s.beginPersistResource,
547
+ type: o,
548
+ transactions: r.transactions,
549
+ beginPersistResource: r.beginPersistResource,
550
550
  fromResourceId: t,
551
551
  json: e.content?.json,
552
552
  name: e.content?.name ?? null,
@@ -556,10 +556,10 @@ var b = class extends s {
556
556
  i?._deleteFromContent();
557
557
  },
558
558
  getMovable: () => i,
559
- getStyles: s.getStyles,
560
- getRange: s.getRange,
561
- addWatch: s.addWatch
562
- }, l = o(r, a, {
559
+ getStyles: r.getStyles,
560
+ getRange: r.getRange,
561
+ addWatch: r.addWatch
562
+ }, l = s(o, a, {
563
563
  getMovable: () => i,
564
564
  amend: (e) => n._amend(e),
565
565
  isClosed: () => n._closed
@@ -568,8 +568,8 @@ var b = class extends s {
568
568
  return i = new b({
569
569
  content: l,
570
570
  json: e,
571
- transactions: s.transactions,
572
- beginPersistResource: s.beginPersistResource,
571
+ transactions: r.transactions,
572
+ beginPersistResource: r.beginPersistResource,
573
573
  fromResourceId: t,
574
574
  getParent: h,
575
575
  onMemberPlacementChange: () => n._rebound(),
@@ -1,10 +1,10 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 { r as e } from "./DjsOfZn5vYpB7L6U.mjs";
7
+ import { r as e } from "./B8MYgBe4XICBSROW.mjs";
8
8
  import { FormulaError as r, ScalarType as t } from "@sheetxl/primitives";
9
9
  function n(e, r, n) {
10
10
  const l = (e) => {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.15
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.17
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 x = [], y = Object.freeze({
8
8
  bentConnector2: { paths: [{