@sheetxl/sdk 0.8.0-beta.15 → 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/{zjEXdQiQruTkUyf5.mjs → 9YWdxmSjzLN4j_ts.mjs} +22 -22
  4. package/browser/esm/B6BdiHigbUdbZp3J.mjs +686 -0
  5. package/browser/esm/{D8PxKK6OrmancpLT.mjs → BF_QwkZ_hs2rFoTT.mjs} +3 -3
  6. package/browser/esm/{Do8TQqQvnFXRlFu-.mjs → BMo2_9Ul36IwRm3S.mjs} +3 -3
  7. package/browser/esm/{DDQtExVGSoCzAf6-.mjs → BWY1qiidTUBVPJoD.mjs} +506 -502
  8. package/browser/esm/{DA4S5eqog20pG7b2.mjs → Bf80epSsm_RyAOb9.mjs} +29 -29
  9. package/browser/esm/{FHp0QfwZMIfP0Sry.mjs → BfoE6Dn_GQCIkQD3.mjs} +2 -2
  10. package/browser/esm/{D4ZCoKyNCJvDQAkx.mjs → BlMYYQZP-QM-iBHz.mjs} +23 -22
  11. package/browser/esm/{CWyzk_3eDCR9bKq6.mjs → BqT-ASHP0NVSUUnY.mjs} +1528 -1433
  12. package/browser/esm/{DwH4H_p6gTAcpQ17.mjs → BtNuoQIrrHw_jnbJ.mjs} +4 -4
  13. package/browser/esm/BxFzcCYhvo9NXFjC.mjs +527 -0
  14. package/browser/esm/{BsGN0Tk0jVc2n0hy.mjs → BxYuRTSF9ykc-Tpz.mjs} +3 -3
  15. package/browser/esm/{KgTozk3nvOZzEG27.mjs → C2PvZwqK-uvsugVS.mjs} +2 -2
  16. package/browser/esm/C3JOjQwdG9kAig7i.mjs +2017 -0
  17. package/browser/esm/{Blo0Hwg2ojXt99Dl.mjs → C5x0EzqElYGTiTQc.mjs} +2 -2
  18. package/browser/esm/{Bbrhl946_QbCz5WS.mjs → CMChv-fCFh68VQQt.mjs} +588 -587
  19. package/browser/esm/{Cl3jq6y4Idilod82.mjs → CRbQATfI0yZxe1kX.mjs} +3 -3
  20. package/browser/esm/{CxhXbk-5XhaK8UNs.mjs → CUu3zeHqcwMRYiov.mjs} +2 -2
  21. package/browser/esm/{CNM5d4p0Y7In0rTf.mjs → C_jLGkFemj55_BP3.mjs} +3 -3
  22. package/browser/esm/{BGPT-k25jo0UhtT5.mjs → CkZoDPUCK5jMUaeJ.mjs} +26901 -22016
  23. package/browser/esm/{DMbcmIZ-G2fbWn8v.mjs → D-iHJ3q4nwOLcn1D.mjs} +2 -2
  24. package/browser/esm/{KsfZhE6ocmYobGjY.mjs → D807piM0VSokWz-L.mjs} +2 -2
  25. package/browser/esm/{BVsG6Vpvb1ZzpURJ.mjs → DW3oQ39IF0bsc_lm.mjs} +2 -2
  26. package/browser/esm/{BzG0p8RdGDWHttVr.mjs → DcB52JPBPmkc3l1m.mjs} +4 -4
  27. package/browser/esm/{CZ_ZPliIkoh8BViV.mjs → DlVnybrgwZWxWN3_.mjs} +10 -10
  28. package/browser/esm/{CqzKBrmmV-fWRoK7.mjs → DvVhatd0J1ch3OCO.mjs} +22 -22
  29. package/browser/esm/{tm7XJ-Zd_04xWKG6.mjs → Dx9Fya60meMpuHqm.mjs} +2 -2
  30. package/browser/esm/{Blo0jHze0bQxnKh4.mjs → HV0FkJ6k3Ils318J.mjs} +78 -78
  31. package/browser/esm/{DJNLo8Rd_5UQP0U5.mjs → JV9Szh5qTssjxJoE.mjs} +2 -2
  32. package/browser/esm/{D0KMmRjGOQUs7Ls-.mjs → KpuD1kEcWB7cT0VM.mjs} +3 -3
  33. package/browser/esm/{Bw66vzKThXKvXvPI.mjs → U4FL-QeC0bRUhTEo.mjs} +2 -2
  34. package/browser/esm/{Dp4OIVjjAVhpD815.mjs → WLlpmgLN5OVLoLrC.mjs} +3 -3
  35. package/browser/esm/{D6OqcO9IWPaY211T.mjs → WR146UAqrsUsL39e.mjs} +2 -2
  36. package/browser/esm/{CPUobTehcKZllBDS.mjs → WcHfawW2lkTHtWUd.mjs} +51 -49
  37. package/browser/esm/{XrasOsWQ-64jwMn1.mjs → Zp5-cTJ0Llb6EfGi.mjs} +4 -4
  38. package/browser/esm/{CMSeF5rGzeuMUydM.mjs → ad9PX897hYE4Srkc.mjs} +3 -3
  39. package/browser/esm/{CIab4UYcHQQKTHeD.mjs → d_t-7d5BD1AdHg3u.mjs} +404 -404
  40. package/browser/esm/{L7SKr6r1tmMwFx6Q.mjs → dwGdnbV-CykjNrlm.mjs} +2 -2
  41. package/browser/esm/{DpaqR081c-Q7WemN.mjs → e69NcYnKMLnAmqyA.mjs} +2 -2
  42. package/browser/esm/index.mjs +886 -578
  43. package/browser/esm/{BN1MW1nuBndrzryn.mjs → r-o0UCm7KtluNmyK.mjs} +3 -3
  44. package/licenses/dependencies.txt +69 -69
  45. package/node/esm/{DjsOfZn5vYpB7L6U.mjs → 446KYBjJQa8g-8Gg.mjs} +52 -50
  46. package/node/esm/{BlHlBRvKGt-4CS0A.mjs → 5OfKfTRX2_y2NwpU.mjs} +2 -2
  47. package/node/esm/{BRnNpoS8VpkAhdVk.mjs → A3PEHO1HJvkHfb5n.mjs} +2 -2
  48. package/node/esm/{ZtF9EuipL7Z9Iwfs.mjs → B4WUGzJBkQu7BXRm.mjs} +2 -2
  49. package/node/esm/{DKdFasYVvjAitASZ.mjs → BH8J6vKSO5zI_TWo.mjs} +2 -2
  50. package/node/esm/BLmdKnkLwkb3wWe6.mjs +2040 -0
  51. package/node/esm/{D9RwzPR5s2mWrbCQ.mjs → BZSxu_ZqX8-Uczzn.mjs} +2 -2
  52. package/node/esm/{-afI0SRg_vgXtea7.mjs → BfPBiAgVmWhuFgFP.mjs} +3 -3
  53. package/node/esm/{OnkJkCGFDjamqIUQ.mjs → Bknw7zWZhl2-w1pi.mjs} +3 -3
  54. package/node/esm/{BNiG1ISiMjs-G2mE.mjs → BvIPsPiHhMclZ1kH.mjs} +22 -22
  55. package/node/esm/{B07QPde9GloqsW8e.mjs → By2TFKOjA1HekZap.mjs} +4 -4
  56. package/node/esm/{D9zb5xVRehABdbXL.mjs → BywIhvYkWk2o7MSW.mjs} +2 -2
  57. package/node/esm/{BZ0IRjh2hYuI86xW.mjs → C3zyhnMwQ2hRQBz7.mjs} +31 -30
  58. package/node/esm/{DVejVdSBXzAFQbqo.mjs → C884edhUf9yMqpPp.mjs} +2 -2
  59. package/node/esm/{DDIiQZTdeY4vdK8_.mjs → CDHY-0OyQ9348Brb.mjs} +189 -189
  60. package/node/esm/{BlzPuXtKvF3Qfr0p.mjs → CERNLhFrAwtu_p-q.mjs} +2 -2
  61. package/node/esm/{BfXLtDqsXXYeZ6LX.mjs → CFkX_Cn6avQqQiVC.mjs} +78 -78
  62. package/node/esm/CJDV8P3hI8lu--3Z.mjs +530 -0
  63. package/node/esm/{C6b4rM62pIWIywlM.mjs → CKwiipdPJGzAiPjg.mjs} +2 -2
  64. package/node/esm/{DUft-qpAS4MMANwG.mjs → CLtUMJfKsy4SevWE.mjs} +3 -3
  65. package/node/esm/{Cx9nQSsuyqhayyBS.mjs → CVPieTgKCwkL21nD.mjs} +32752 -27295
  66. package/node/esm/{DW3u4bBJIUaHZ6m-.mjs → C_fYuynP2a_70WdL.mjs} +2 -2
  67. package/node/esm/{C-JEySqMuKdpcKe0.mjs → CgdNA3B_GFG_yJiN.mjs} +3 -3
  68. package/node/esm/Cs3ibv6YHCDwLRlk.mjs +115 -0
  69. package/node/esm/{CjwmkzMtjj6OMJbO.mjs → Cxak8i2NidZ4Uv6v.mjs} +487 -483
  70. package/node/esm/{MtRwC1PMkOEb1Nty.mjs → D88A3UpCyGRjcX3U.mjs} +3 -3
  71. package/node/esm/{B8KEX44VZTFTTKb3.mjs → DBIUe2BC9xU7qMHR.mjs} +3 -3
  72. package/node/esm/{C7h7SvhWNwQ9TfGh.mjs → DELfV5HQZo1mInBd.mjs} +4 -4
  73. package/node/esm/{WBHD7ECKG6HZ5UpY.mjs → DOt3t-13tsnM7Fj6.mjs} +2 -2
  74. package/node/esm/{BqvqbFsPQB0gEvwF.mjs → DfWc3nW_Z_qqc_Wf.mjs} +1762 -1674
  75. package/node/esm/DgnwKbUEyQN5_gWT.mjs +169 -0
  76. package/node/esm/{D7ia4o3y5Wvl__9Y.mjs → Dhv9JymnXqcF54oo.mjs} +2 -2
  77. package/node/esm/{CHBlLTJaoPUVxA2J.mjs → DvtyKKzOnoOM80NB.mjs} +22 -22
  78. package/node/esm/{Dh8o-woVpmUL50BD.mjs → KDGrIa9R5XzWfjM2.mjs} +2 -2
  79. package/node/esm/{DyIASfKKPuNl5Xx-.mjs → RTwm9ge1KoPdlBNt.mjs} +2 -2
  80. package/node/esm/{DQqXPS05dvF0F-gh.mjs → _RIAmJI98l6bIFfZ.mjs} +2 -2
  81. package/node/esm/{j8DqCwPgfIPICFtf.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/{Ddd1y3TP0kqnnSs7.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/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,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.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 { Bn as e, Qn as t, Xr as n, Yn as r, Zr as i, gt as a, hn as o, ir as s, mt as c, xr as l } from "./BGPT-k25jo0UhtT5.mjs";
8
- import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./DDQtExVGSoCzAf6-.mjs";
9
- import { n as y, r as b, t as x } from "./zjEXdQiQruTkUyf5.mjs";
10
- import { i as S, r as C } from "./CIab4UYcHQQKTHeD.mjs";
11
- import { a as w, n as T } from "./Do8TQqQvnFXRlFu-.mjs";
7
+ import { Hi as e, Mr as t, Ui as n, Vr as r, Wr as i, Xr as a, gt as o, mt as s, pi as c, rr as l } from "./CkZoDPUCK5jMUaeJ.mjs";
8
+ import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./BWY1qiidTUBVPJoD.mjs";
9
+ import { n as y, r as b, t as x } from "./9YWdxmSjzLN4j_ts.mjs";
10
+ import { i as S, r as C } from "./d_t-7d5BD1AdHg3u.mjs";
11
+ import { a as w, n as T } from "./BMo2_9Ul36IwRm3S.mjs";
12
12
  import { ScalarType as E } from "@sheetxl/primitives";
13
13
  import D from "@sheetxl/formulas/declarations";
14
14
  import O from "@sheetxl/formulas-extended/declarations";
@@ -35,7 +35,7 @@ function A(e) {
35
35
  return n;
36
36
  };
37
37
  for (let t of Object.keys(n)) {
38
- let { decl: r } = w(t, n[t], i), a = new o(r);
38
+ let { decl: r } = w(t, n[t], i), a = new l(r);
39
39
  e.set(t.toUpperCase(), {
40
40
  getName: () => t,
41
41
  getDeclaration: () => a,
@@ -49,8 +49,8 @@ function A(e) {
49
49
  var j = null, M = Object.freeze({
50
50
  rowStart: 0,
51
51
  colStart: 0,
52
- rowEnd: i,
53
- colEnd: n
52
+ rowEnd: n,
53
+ colEnd: e
54
54
  }), N = (e) => A(e);
55
55
  function P(e, t) {
56
56
  if (typeof e != "string" || e.length === 0) return null;
@@ -58,7 +58,7 @@ function P(e, t) {
58
58
  let n = t?.anchor, r;
59
59
  try {
60
60
  let i = j.parse(n?.rowIndex ?? 0, n?.colIndex ?? 0, e);
61
- if (i.errors.length > 0 || !i.root || i.root.type === l.Unparsed) return null;
61
+ if (i.errors.length > 0 || !i.root || i.root.type === c.Unparsed) return null;
62
62
  if (r = i.root, t?.normalize) {
63
63
  let e = g(r, N);
64
64
  typeof e != "string" && (r = e), r = d(r, N), r = h(r, N), r = v(r), r = f(r), r = u(r), r = m(r), r = _(r);
@@ -73,38 +73,38 @@ function F(e, t) {
73
73
  }
74
74
  function I(e, t) {
75
75
  let n = p(h(v(x(e)), N)), r = t?.entireCoords ?? M, i = !0 === t?.r1c1;
76
- return (e) => i ? a(n, r) : c(n, r, e?.rowIndex ?? 0, e?.colIndex ?? 0);
76
+ return (e) => i ? o(n, r) : s(n, r, e?.rowIndex ?? 0, e?.colIndex ?? 0);
77
77
  }
78
- function L(n) {
79
- let i = n.trim();
80
- if (!i) return;
81
- let a;
78
+ function L(e) {
79
+ let n = e.trim();
80
+ if (!n) return;
81
+ let o;
82
82
  try {
83
- let e = S.shared().tokenize(i, !1);
83
+ let e = S.shared().tokenize(n, !1);
84
84
  if (e.errors.length > 0) return;
85
- a = e.tokens;
85
+ o = e.tokens;
86
86
  } catch {
87
87
  return;
88
88
  }
89
- let o = 0, c = 0;
90
- if (a.length === 2) {
91
- let e = a[0].tokenType?.name;
92
- e === "MinOp" ? (o = -1, c = 1) : e === "PlusOp" && (o = 1, c = 1);
89
+ let s = 0, c = 0;
90
+ if (o.length === 2) {
91
+ let e = o[0].tokenType?.name;
92
+ e === "MinOp" ? (s = -1, c = 1) : e === "PlusOp" && (s = 1, c = 1);
93
93
  }
94
- if (a.length - c !== 1) return;
95
- let l = a[c], u = l.image;
94
+ if (o.length - c !== 1) return;
95
+ let l = o[c], u = l.image;
96
96
  try {
97
97
  switch (l.tokenType?.name) {
98
98
  case "NumberToken":
99
99
  case "ScientificDigit":
100
100
  case "DigitToken": {
101
- let e = t(u).value;
102
- return o === 0 ? e : o * e;
101
+ let e = i(u).value;
102
+ return s === 0 ? e : s * e;
103
103
  }
104
- case "StringToken": return o === 0 ? s(u).value : void 0;
105
- case "BooleanToken": return o === 0 ? e(u).value : void 0;
104
+ case "StringToken": return s === 0 ? a(u).value : void 0;
105
+ case "BooleanToken": return s === 0 ? t(u).value : void 0;
106
106
  case "LiteralError":
107
- case "RefError": return o === 0 ? r(u).value : void 0;
107
+ case "RefError": return s === 0 ? r(u).value : void 0;
108
108
  default: return;
109
109
  }
110
110
  } catch {
@@ -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.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
  function e(e, t) {
8
8
  if (!Number.isFinite(e)) return "0";
@@ -1,30 +1,30 @@
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.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 { Sr as e, jt as t, xr as n } from "./BGPT-k25jo0UhtT5.mjs";
8
- import { D as r, E as i, a, c as o, d as s, f as c, l, m as u, n as d, o as f, p, r as m, s as h, u as g, v as _, w as v } from "./DDQtExVGSoCzAf6-.mjs";
9
- import { n as y, r as b, t as x } from "./CIab4UYcHQQKTHeD.mjs";
7
+ import { jt as e, mi as t, pi as n } from "./CkZoDPUCK5jMUaeJ.mjs";
8
+ import { D as r, E as i, a, c as o, d as s, f as c, l, m as u, n as d, o as f, p, r as m, s as h, u as g, v as _, w as v } from "./BWY1qiidTUBVPJoD.mjs";
9
+ import { n as y, r as b, t as x } from "./d_t-7d5BD1AdHg3u.mjs";
10
10
  import { FormulaError as S } from "@sheetxl/primitives";
11
11
  import { CommonUtils as C } from "@sheetxl/utils";
12
12
  var w = class {
13
13
  constructor(e) {
14
14
  e = { ...e }, this._editing = e.profile === "editing", this._parser = new b(e);
15
15
  }
16
- compile(t, n, d, b, C, w, E, D, O) {
16
+ compile(e, n, d, b, C, w, E, D, O) {
17
17
  if (b.length === 0) {
18
- let e = new S.Parse(x);
19
- return this._compileUnparsed(t, C, b, {
18
+ let t = new S.Parse(x);
19
+ return this._compileUnparsed(e, C, b, {
20
20
  input: b,
21
- cause: e,
22
- causes: [e]
21
+ cause: t,
22
+ causes: [t]
23
23
  });
24
24
  }
25
- if (b.length > e.MAX_EXPRESSION_LENGTH) {
26
- let n = new S.Parse(y(b.length, e.MAX_EXPRESSION_LENGTH));
27
- return this._compileUnparsed(t, C, b, {
25
+ if (b.length > t.MAX_EXPRESSION_LENGTH) {
26
+ let n = new S.Parse(y(b.length, t.MAX_EXPRESSION_LENGTH));
27
+ return this._compileUnparsed(e, C, b, {
28
28
  input: b,
29
29
  cause: n,
30
30
  causes: [n]
@@ -59,10 +59,10 @@ var w = class {
59
59
  causes: M.length > 0 ? M : [A]
60
60
  }), !k) {
61
61
  if (this._editing) {
62
- let e = this._recoverCompiled(t, n, d, b, C, N, E);
63
- if (e) return e;
62
+ let t = this._recoverCompiled(e, n, d, b, C, N, E);
63
+ if (t) return t;
64
64
  }
65
- return this._compileUnparsed(t, C, b, N, this._editing, () => T(C, E, n, d));
65
+ return this._compileUnparsed(e, C, b, N, this._editing, () => T(C, E, n, d));
66
66
  }
67
67
  if (k = i(k, w ?? null), k = m(k, w ?? null), C) {
68
68
  let e = this._editing ? O : {
@@ -83,8 +83,8 @@ var w = class {
83
83
  };
84
84
  }
85
85
  }
86
- let P = a(t, C, k, this._editing, N, w ?? null);
87
- return this._editing && N && r(P.getTokens(), C) !== b ? this._recoverCompiled(t, n, d, b, C, N, E) || this._compileUnparsed(t, C, b, N, !0) : P;
86
+ let P = a(e, C, k, this._editing, N, w ?? null);
87
+ return this._editing && N && r(P.getTokens(), C) !== b ? this._recoverCompiled(e, n, d, b, C, N, E) || this._compileUnparsed(e, C, b, N, !0) : P;
88
88
  }
89
89
  autoCorrect(e) {
90
90
  let t = function(e) {
@@ -137,6 +137,7 @@ var w = class {
137
137
  namedIds: C.EmptyArray,
138
138
  symbolIds: C.EmptyArray,
139
139
  hasTotals: !1,
140
+ hasPivotData: !1,
140
141
  hasDataTable: !1,
141
142
  hasVolatile: !1,
142
143
  isBlankCacheable: !1,
@@ -259,14 +260,14 @@ var w = class {
259
260
  l >= 0 && !/[A-Za-z0-9_.]/.test(u) ? (l > 0 && s(t.slice(0, l)), s(t.slice(l), !0)) : s(t);
260
261
  }
261
262
  };
262
- function T(e, n, r, i) {
263
- if (!e || !n) return;
264
- let a = e.bind(t.Table, "", { at: {
263
+ function T(t, n, r, i) {
264
+ if (!t || !n) return;
265
+ let a = t.bind(e.Table, "", { at: {
265
266
  scope: n,
266
267
  rowIndex: r,
267
268
  colIndex: i
268
269
  } });
269
- return a ? e.resolve(t.Table, a)?.toString() : void 0;
270
+ return a ? t.resolve(e.Table, a)?.toString() : void 0;
270
271
  }
271
272
  var E = /[A-Za-z_\\\u007F-\uFFFF][A-Za-z0-9_.\u007F-\uFFFF]*$/, D = /[A-Za-z0-9_.)\]}"'!#\u007F-\uFFFF]/;
272
273
  function O(e, t) {