@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
@@ -0,0 +1,169 @@
1
+ /**
2
+ * @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.16
3
+ *
4
+ * (C) 2026-present SheetXL Inc. & Michael T. Ford
5
+ * License: SheetXL EULA — https://www.sheetxl.com/eula
6
+ */
7
+ import { Pa as t, gi as e, n as s } from "./CVPieTgKCwkL21nD.mjs";
8
+ import { FormulaError as n } from "@sheetxl/primitives";
9
+ var i = t.Type, o = 4294967295, r = {
10
+ SUM: 0,
11
+ COUNT: 1,
12
+ COUNTA: 2,
13
+ AVERAGE: 3,
14
+ MIN: 4,
15
+ MAX: 5,
16
+ PRODUCT: 6,
17
+ "VAR.S": 7,
18
+ VAR: 7,
19
+ "VAR.P": 8,
20
+ VARP: 8,
21
+ "STDEV.S": 9,
22
+ STDEV: 9,
23
+ "STDEV.P": 10,
24
+ STDEVP: 10
25
+ }, l = class {
26
+ constructor() {
27
+ this._next = 1, this._numbers = /* @__PURE__ */ new Map(), this._keys = /* @__PURE__ */ new Map(), this._strings = /* @__PURE__ */ new Map(), this.values = [null];
28
+ }
29
+ of(t) {
30
+ if (null == t) return 0;
31
+ if ("number" == typeof t) return this._number(t);
32
+ const s = e(t);
33
+ let n = this._keys.get(s);
34
+ return void 0 === n && (n = this._next++, this._keys.set(s, n), this.values[n] = t), n;
35
+ }
36
+ fill(t, e) {
37
+ if (t instanceof s && t._visitColumnRuns((t, s, n, i) => this._run(e, t, s, n, i))) return;
38
+ const n = e.length;
39
+ for (const s of t.entries()) {
40
+ const t = s.coords.rowIndex;
41
+ t < n && (e[t] = this.of(s.value));
42
+ }
43
+ }
44
+ _number(t) {
45
+ let e = this._numbers.get(t);
46
+ return void 0 === e && (e = this._next++, this._numbers.set(t, e), this.values[e] = t), e;
47
+ }
48
+ _run(e, s, n, o, r) {
49
+ if (!(n instanceof t && n.codec)) {
50
+ for (let t = o, i = s; t <= r; t++, i++) e[i] = this.of(n.at(t));
51
+ return;
52
+ }
53
+ const l = n.codec;
54
+ let a = this._strings.get(l);
55
+ a || this._strings.set(l, a = /* @__PURE__ */ new Map());
56
+ const { types: u, defaultType: c, ints: d, doubles: f, intShift: h, intOffset: p } = n.getViews();
57
+ for (let t = o, _ = s; t <= r; t++, _++) {
58
+ const s = u ? u[t] : c;
59
+ if (s === i.Int32) e[_] = this._number(d[(t << h) + p]);
60
+ else if (s === i.Float64) e[_] = this._number(f[t]);
61
+ else if (s === i.String) {
62
+ const s = d[(t << h) + p];
63
+ let n = a.get(s);
64
+ void 0 === n && a.set(s, n = this.of(l.decodeString(s))), e[_] = n;
65
+ } else s === i.Blank ? e[_] = 0 : e[_] = this.of(n.at(t));
66
+ }
67
+ }
68
+ }, a = class {
69
+ constructor() {
70
+ this.table = [n.BuiltIn.Div0], this._codes = /* @__PURE__ */ new Map();
71
+ }
72
+ codeOf(t) {
73
+ let e = this._codes.get(t);
74
+ return void 0 === e && (e = this.table.length, this.table.push(t), this._codes.set(t, e)), e;
75
+ }
76
+ }, u = (e, n, o) => {
77
+ const r = n.types.length, l = {
78
+ ok: !0,
79
+ numeric: !0
80
+ }, a = (t, e) => c(n, t, e, o, l);
81
+ if (!(e instanceof s && e._visitColumnRuns((e, s, o, r) => {
82
+ if (!(s instanceof t && s.codec)) {
83
+ for (let t = o, n = e; t <= r; t++, n++) a(n, s.at(t));
84
+ return;
85
+ }
86
+ const { types: l, defaultType: u, ints: c, doubles: d, intShift: f, intOffset: h } = s.getViews();
87
+ if (!l && u === i.Float64) return n.doubles.set(d.subarray(o, r + 1), e), void n.types.fill(i.Float64, e, e + r - o + 1);
88
+ for (let t = o, p = e; t <= r; t++, p++) {
89
+ const e = l ? l[t] : u;
90
+ e === i.Int32 ? (n.ints[p << 1] = c[(t << f) + h], n.types[p] = i.Int32) : e === i.Float64 ? (n.doubles[p] = d[t], n.types[p] = i.Float64) : e !== i.Blank && a(p, s.at(t));
91
+ }
92
+ }))) for (const t of e.entries()) {
93
+ const e = t.coords.rowIndex;
94
+ e < r && a(e, t.value);
95
+ }
96
+ return l;
97
+ }, c = (t, e, s, o, r) => {
98
+ if (null != s) {
99
+ switch (typeof s) {
100
+ case "number":
101
+ t.doubles[e] = s, t.types[e] = i.Float64;
102
+ return;
103
+ case "string":
104
+ t.types[e] = i.String, r.numeric = !1;
105
+ return;
106
+ case "boolean":
107
+ t.types[e] = s ? i.True : i.False, r.numeric = !1;
108
+ return;
109
+ }
110
+ if (n.isError(s)) return t.ints[e << 1] = o.codeOf(s), void (t.types[e] = i.Error);
111
+ r.ok = !1;
112
+ }
113
+ }, d = (e, s, o) => {
114
+ const r = o.table, l = new t(((t, e, s, n) => {
115
+ const o = !!(n & n - 1), r = 1 << i.Blank | 1 << i.False | 1 << i.True;
116
+ return {
117
+ buffer: t,
118
+ byteOffset: e,
119
+ length: s,
120
+ width: n & 1 << i.Float64 ? 8 : 4,
121
+ defaultType: o ? i.Blank : 31 - Math.clz32(n),
122
+ typeMask: n,
123
+ hasTypes: o,
124
+ hasSlots: 0 !== (n & ~r)
125
+ };
126
+ })(e, s.ptr(), s.length(), s.type_mask()), {
127
+ isError: () => !1,
128
+ encodeString: () => 0,
129
+ decodeString: () => null,
130
+ encodeError: () => 0,
131
+ decodeError: (t) => r[t] ?? null
132
+ });
133
+ return (t) => {
134
+ const e = l.at(t) ?? null;
135
+ return "number" != typeof e || Number.isFinite(e) ? e : n.BuiltIn.Num;
136
+ };
137
+ }, f = (t, e) => `${t}|${e.join(",")}`, h = class {
138
+ constructor(t, e) {
139
+ this._json = t, this._values = new Map(t.values), this._mode = e;
140
+ }
141
+ getDataFields() {
142
+ return this._json.dataFields;
143
+ }
144
+ getFields() {
145
+ return this._json.fields;
146
+ }
147
+ getValue(t, e) {
148
+ const s = this._json.fields, i = [];
149
+ for (let t = 0; t < s.length; t++) {
150
+ const n = s[t].page, o = e.get(t);
151
+ if (void 0 === n) i.push(o ?? -1);
152
+ else if (void 0 !== o && o !== n) return;
153
+ }
154
+ const o = f(t, i);
155
+ return "blocked" === this._mode ? o === this._json.block?.first ? n.BuiltIn.Spill : void 0 : "wanted" !== this._mode ? this._values.get(o) : void 0;
156
+ }
157
+ isComputed() {
158
+ return !1 !== this._json.computed;
159
+ }
160
+ }, p = {
161
+ placed: /* @__PURE__ */ new WeakMap(),
162
+ blocked: /* @__PURE__ */ new WeakMap(),
163
+ wanted: /* @__PURE__ */ new WeakMap()
164
+ }, _ = (t, e = "placed") => {
165
+ const s = p[e];
166
+ let n = s.get(t);
167
+ return n || (n = new h(t, e), s.set(t, n)), n;
168
+ };
169
+ export { r as a, c, l as i, u as l, _ as n, o, a as r, d as s, f as t };
@@ -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
  var e = Object.defineProperty, r = (r, t) => {
8
8
  let a = {};
@@ -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.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 { Ii as e, gn as t } from "./Cx9nQSsuyqhayyBS.mjs";
8
- import { a as n, i as s, n as o, r, t as i } from "./DUft-qpAS4MMANwG.mjs";
7
+ import { ir as e, ka as t } from "./CVPieTgKCwkL21nD.mjs";
8
+ import { a as n, i as s, n as o, r, t as i } from "./CLtUMJfKsy4SevWE.mjs";
9
9
  import { ScalarType as a } from "@sheetxl/primitives";
10
10
  import { CommonUtils as c, DefaultLanguagePackService as f, fetchLocaleResource as l } from "@sheetxl/utils";
11
11
  import m from "@sheetxl/formulas";
@@ -27,7 +27,7 @@ var d = [
27
27
  files: ["grammar.json"]
28
28
  }
29
29
  ], p = /* @__PURE__ */ new Set();
30
- function g(e, t) {
30
+ function h(e, t) {
31
31
  const n = `${e.id}\0${t}`;
32
32
  p.has(n) || (p.add(n), f.registerPack(e.id, t, async () => {
33
33
  const n = { tag: t };
@@ -37,30 +37,30 @@ function g(e, t) {
37
37
  })), n;
38
38
  }));
39
39
  }
40
- function h(e) {
41
- if (e && "en" !== e && !e.startsWith("en-")) for (const t of d) g(t, e);
40
+ function g(e) {
41
+ if (e && "en" !== e && !e.startsWith("en-")) for (const t of d) h(t, e);
42
42
  }
43
43
  var x = !1;
44
44
  var y = /* @__PURE__ */ new WeakMap();
45
45
  function j() {
46
- const t = e(), n = t?.functionHelp;
47
- if (!t || !n) return Promise.resolve(null);
48
- let s = y.get(t);
46
+ const e = t(), n = e?.functionHelp;
47
+ if (!e || !n) return Promise.resolve(null);
48
+ let s = y.get(e);
49
49
  return s || (s = n().then((e) => e && "object" == typeof e ? "default" in e ? {
50
50
  functions: e.default,
51
51
  enums: e.enums
52
52
  } : {
53
53
  functions: e,
54
54
  enums: void 0
55
- } : null).catch(() => null), y.set(t, s)), s;
55
+ } : null).catch(() => null), y.set(e, s)), s;
56
56
  }
57
- function v(e, t) {
58
- x || (x = !0, h(f.getActive()), f.addChangeListener((e) => h(e)));
59
- const n = m(e, k);
60
- if (u(e, k, n), k(n, e, s(e), o.declarations, r, i), t) for (const s of t) s(e, k, n);
57
+ function k(e, t) {
58
+ x || (x = !0, g(f.getActive()), f.addChangeListener((e) => g(e)));
59
+ const n = m(e, v);
60
+ if (u(e, v, n), v(n, e, s(e), o.declarations, r, i), t) for (const s of t) s(e, v, n);
61
61
  return n;
62
62
  }
63
- var k = (s, o, r, i, f, l, m) => {
63
+ var v = (s, o, r, i, f, l, m) => {
64
64
  const u = /* @__PURE__ */ new Map(), d = (e) => {
65
65
  let t = u.get(e);
66
66
  if (!t) {
@@ -75,9 +75,9 @@ var k = (s, o, r, i, f, l, m) => {
75
75
  return t;
76
76
  }, p = Object.keys(i);
77
77
  for (const a of p) {
78
- const m = i[a], u = a, { decl: p, enumIds: g } = n(u, m, d), h = r[m.fn ?? u];
78
+ const m = i[a], u = a, { decl: p, enumIds: h } = n(u, m, d), g = r[m.fn ?? u];
79
79
  let x, y;
80
- const v = new t(p, h, o, async (t) => {
80
+ const k = new e(p, g, o, async (e) => {
81
81
  if (!f) return null;
82
82
  let n;
83
83
  if (x) n = x;
@@ -100,14 +100,14 @@ var k = (s, o, r, i, f, l, m) => {
100
100
  }
101
101
  const d = {
102
102
  name: u,
103
- nameLocal: e()?.functions?.[u] ?? u,
103
+ nameLocal: t()?.functions?.[u] ?? u,
104
104
  summary: r?.s ?? s.s ?? "",
105
105
  category: r?.c ?? s.c ?? l ?? null,
106
106
  parameters: a,
107
107
  deprecated: s.h ?? !1,
108
108
  links: s.l ?? c.EmptyArray
109
109
  };
110
- for (const e of g) {
110
+ for (const e of h) {
111
111
  const t = [
112
112
  o?.enums?.[`${u}:${e}`],
113
113
  o?.enums?.[e],
@@ -127,7 +127,7 @@ var k = (s, o, r, i, f, l, m) => {
127
127
  }
128
128
  return d;
129
129
  }, !0);
130
- s.set(u, v);
130
+ s.set(u, k);
131
131
  }
132
132
  };
133
- export { v as initializeFunctions };
133
+ export { k as initializeFunctions };
@@ -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
  var d = [[
8
8
  "3cd4 hc t",
@@ -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
  var x = [], y = Object.freeze({
8
8
  bentConnector2: { paths: [{
@@ -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
  var x = [[
8
8
  "3cd4 hc t",