@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.
- package/LICENSE.md +8 -7
- package/browser/esm/{DDQtExVGSoCzAf6-.mjs → B-Q1-7RgSnA75J32.mjs} +506 -502
- package/browser/esm/{Cl3jq6y4Idilod82.mjs → BI6NwRrdLCbPdz6f.mjs} +3 -3
- package/browser/esm/{Blo0Hwg2ojXt99Dl.mjs → BWNQcQyx8wt6huOq.mjs} +2 -2
- package/browser/esm/{Do8TQqQvnFXRlFu-.mjs → BY_-BTa5h6HnnZ1W.mjs} +3 -3
- package/browser/esm/{D4ZCoKyNCJvDQAkx.mjs → BlkstmZEklk6Y1QD.mjs} +23 -22
- package/browser/esm/{DpaqR081c-Q7WemN.mjs → BuKA3E-Ev8Dp5W2I.mjs} +2 -2
- package/browser/esm/{Bbrhl946_QbCz5WS.mjs → Byp_bvP9G-tN6hcz.mjs} +588 -587
- package/browser/esm/{CMSeF5rGzeuMUydM.mjs → C0o6WpBojS7XhV5m.mjs} +3 -3
- package/browser/esm/CAjITJT3eLst9Rhi.mjs +686 -0
- package/browser/esm/{CZ_ZPliIkoh8BViV.mjs → CFywn1iiD35nNNUP.mjs} +10 -10
- package/browser/esm/{DJNLo8Rd_5UQP0U5.mjs → CHByUyHFA3ESf7DX.mjs} +2 -2
- package/browser/esm/CLT3qGy_brDIwbYd.mjs +2017 -0
- package/browser/esm/{Blo0jHze0bQxnKh4.mjs → CVV4xqwD8gIjYj1E.mjs} +78 -78
- package/browser/esm/{FHp0QfwZMIfP0Sry.mjs → CWkaF7gYWCkW7vDA.mjs} +2 -2
- package/browser/esm/{CNM5d4p0Y7In0rTf.mjs → DCs7bk-yx0UhCvQ4.mjs} +3 -3
- package/browser/esm/{BsGN0Tk0jVc2n0hy.mjs → DDNerAeet8uDYKhf.mjs} +3 -3
- package/browser/esm/{D6OqcO9IWPaY211T.mjs → DGUOlgm1_WFmf_xO.mjs} +2 -2
- package/browser/esm/{Dp4OIVjjAVhpD815.mjs → DJTEQZiR9IFTuN_4.mjs} +3 -3
- package/browser/esm/{KgTozk3nvOZzEG27.mjs → DJrnSjYjFxJvpQiH.mjs} +2 -2
- package/browser/esm/{D0KMmRjGOQUs7Ls-.mjs → DTXsi--x2wgqgwtf.mjs} +3 -3
- package/browser/esm/{CPUobTehcKZllBDS.mjs → DUB6Oj_aiV3f8s5_.mjs} +51 -49
- package/browser/esm/{Bw66vzKThXKvXvPI.mjs → DW3kFc5t4Wnh5E9S.mjs} +2 -2
- package/browser/esm/{BzG0p8RdGDWHttVr.mjs → DkmqFp_-iUIy_l3D.mjs} +4 -4
- package/browser/esm/{zjEXdQiQruTkUyf5.mjs → Dlk1kRgkiBIpUxd9.mjs} +22 -22
- package/browser/esm/{tm7XJ-Zd_04xWKG6.mjs → DnMFW_oKYQxRjP1l.mjs} +2 -2
- package/browser/esm/{DA4S5eqog20pG7b2.mjs → DrmOaEx6CQ91zBsP.mjs} +29 -29
- package/browser/esm/{D8PxKK6OrmancpLT.mjs → DsWDvmky7CgzX_7W.mjs} +3 -3
- package/browser/esm/{DMbcmIZ-G2fbWn8v.mjs → Dx_dZ7jrw5Hxeoot.mjs} +2 -2
- package/browser/esm/{BN1MW1nuBndrzryn.mjs → Dy0TAi9WafVT8eke.mjs} +3 -3
- package/browser/esm/{L7SKr6r1tmMwFx6Q.mjs → JmmPE8Vsj85wdV8H.mjs} +2 -2
- package/browser/esm/{CIab4UYcHQQKTHeD.mjs → O970I8lbI7okqG7N.mjs} +404 -404
- package/browser/esm/{DwH4H_p6gTAcpQ17.mjs → WR3-xqcK1gF3ewAR.mjs} +4 -4
- package/browser/esm/XHhDDWrJiZJgWxPM.mjs +165 -0
- package/browser/esm/{KsfZhE6ocmYobGjY.mjs → YwDdO4YwcIE4OB0D.mjs} +2 -2
- package/browser/esm/aYpwVCDSwMUuz147.mjs +527 -0
- package/browser/esm/{BGPT-k25jo0UhtT5.mjs → gQzj95vSMXdKhpWf.mjs} +29032 -24101
- package/browser/esm/index.mjs +886 -578
- package/browser/esm/{CxhXbk-5XhaK8UNs.mjs → jotvQFBWO2jXAhWx.mjs} +2 -2
- package/browser/esm/{CWyzk_3eDCR9bKq6.mjs → mufbL88lyIKJEWyP.mjs} +1528 -1433
- package/browser/esm/{BVsG6Vpvb1ZzpURJ.mjs → qNv1x-Ny9TPbvZzj.mjs} +2 -2
- package/browser/esm/{XrasOsWQ-64jwMn1.mjs → taTjDyUIIxq2eClH.mjs} +4 -4
- package/browser/esm/{CqzKBrmmV-fWRoK7.mjs → yudASWe8CWXYcGt3.mjs} +22 -22
- package/licenses/dependencies.txt +69 -69
- package/node/esm/{CjwmkzMtjj6OMJbO.mjs → -q1xF3_2jmk3QHIY.mjs} +487 -483
- package/node/esm/{DDIiQZTdeY4vdK8_.mjs → 7ZwdVIsOdcziHpMD.mjs} +189 -189
- package/node/esm/{C7h7SvhWNwQ9TfGh.mjs → B6BQYUDRxbRnzca4.mjs} +4 -4
- package/node/esm/{DjsOfZn5vYpB7L6U.mjs → B8MYgBe4XICBSROW.mjs} +52 -50
- package/node/esm/{B8KEX44VZTFTTKb3.mjs → BBUVvO9Ma1RzbKux.mjs} +3 -3
- package/node/esm/{D9RwzPR5s2mWrbCQ.mjs → BQko-9y6mf2oQK7u.mjs} +2 -2
- package/node/esm/{BNiG1ISiMjs-G2mE.mjs → BSlFO0_8UZ38gfeE.mjs} +22 -22
- package/node/esm/{DUft-qpAS4MMANwG.mjs → Bgy7uWJVGwkN7AlD.mjs} +3 -3
- package/node/esm/{DyIASfKKPuNl5Xx-.mjs → BhosJbKOPgbJSZMY.mjs} +2 -2
- package/node/esm/BoLecFnIxhYKGor-.mjs +2040 -0
- package/node/esm/{WBHD7ECKG6HZ5UpY.mjs → BwyoLlHutolJw7OW.mjs} +2 -2
- package/node/esm/{Dh8o-woVpmUL50BD.mjs → CDgUHRW6vSASfqNr.mjs} +2 -2
- package/node/esm/{BZ0IRjh2hYuI86xW.mjs → CHS84ZGEoH6aeHsZ.mjs} +31 -30
- package/node/esm/{BRnNpoS8VpkAhdVk.mjs → CIlH2fSEpdYBZwUA.mjs} +2 -2
- package/node/esm/{BlzPuXtKvF3Qfr0p.mjs → CIxb44vA81H9lRip.mjs} +2 -2
- package/node/esm/{Cx9nQSsuyqhayyBS.mjs → Cb1-r2RCxcJZB6fM.mjs} +32675 -27215
- package/node/esm/{DKdFasYVvjAitASZ.mjs → CjCqcGyCYGkaMQI9.mjs} +2 -2
- package/node/esm/{D7ia4o3y5Wvl__9Y.mjs → ClJJC8tBpgsqHwdn.mjs} +2 -2
- package/node/esm/{C-JEySqMuKdpcKe0.mjs → Cle-_21jebWv_-D4.mjs} +3 -3
- package/node/esm/{j8DqCwPgfIPICFtf.mjs → D51xu0rubo34Ppeg.mjs} +1005 -1004
- package/node/esm/{Ddd1y3TP0kqnnSs7.mjs → DCSJKgcCQzOV-dMJ.mjs} +3 -3
- package/node/esm/{ZtF9EuipL7Z9Iwfs.mjs → DCaLNIs-_4Y6hJ8S.mjs} +2 -2
- package/node/esm/DTkV7IK2_ODMJAP5.mjs +115 -0
- package/node/esm/DfbVTAhNutxM74E8.mjs +169 -0
- package/node/esm/{DVejVdSBXzAFQbqo.mjs → DfrxGbxxowFmm3SF.mjs} +2 -2
- package/node/esm/{DW3u4bBJIUaHZ6m-.mjs → DgsBYF3xbjgx9Mzp.mjs} +2 -2
- package/node/esm/{CHBlLTJaoPUVxA2J.mjs → DxnBYzOueAKEqaQT.mjs} +22 -22
- package/node/esm/M3jahkTgfUxGyeZv.mjs +530 -0
- package/node/esm/{-afI0SRg_vgXtea7.mjs → NnrDjio_xwTBs05n.mjs} +3 -3
- package/node/esm/{BqvqbFsPQB0gEvwF.mjs → OCrS6pBT6lGRu82d.mjs} +1762 -1674
- package/node/esm/XhDjStxKy-dd3WKa.mjs +199 -0
- package/node/esm/{D9zb5xVRehABdbXL.mjs → Yo7_havHbr9VL8R4.mjs} +2 -2
- package/node/esm/{MtRwC1PMkOEb1Nty.mjs → btVWSwUwMjM0J5fS.mjs} +3 -3
- package/node/esm/{DQqXPS05dvF0F-gh.mjs → cRz94rkuvDrA8mr9.mjs} +2 -2
- package/node/esm/{BfXLtDqsXXYeZ6LX.mjs → fwfAgq8qIADcHmY4.mjs} +78 -78
- package/node/esm/index.mjs +913 -598
- package/node/esm/{OnkJkCGFDjamqIUQ.mjs → jqBKdf9DG54xqpaw.mjs} +3 -3
- package/node/esm/{C6b4rM62pIWIywlM.mjs → nxxwAZZF8NsdErJW.mjs} +2 -2
- package/node/esm/{B07QPde9GloqsW8e.mjs → oGGVbqahqfK45-Uz.mjs} +4 -4
- package/node/esm/{BlHlBRvKGt-4CS0A.mjs → zh6vcRzFqdV1aYh5.mjs} +2 -2
- package/package.json +7 -7
- package/resources/locales/de/model.msg.json +82 -1
- package/resources/locales/en/model.msg.json +80 -1
- package/types/scripting-api.json +9967 -9497
- package/types/scripting-enums.json +27 -0
- package/types/scripting.d.ts +2282 -166
- package/types/src/.generated/wasm/sdk.d.ts +332 -0
- package/types/src/calculation/Calculation.d.ts +8 -0
- package/types/src/calculation/ICalculation.d.ts +51 -0
- package/types/src/calculation/compiler/Types.d.ts +5 -0
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +1 -1
- package/types/src/calculation/formula/FormulaBlock.d.ts +2 -0
- package/types/src/calculation/formula/IFormulaBlock.d.ts +18 -0
- package/types/src/calculation/grid/CalcGrid.d.ts +5 -1
- package/types/src/calculation/grid/CalcGridBackend.d.ts +36 -1
- package/types/src/calculation/grid/CalcGridProxy.d.ts +2 -0
- package/types/src/calculation/grid/CalcGridUtils.d.ts +4 -2
- package/types/src/calculation/grid/FormulaHost.d.ts +3 -1
- package/types/src/calculation/grid/ICalcGrid.d.ts +88 -0
- package/types/src/calculation/grid/_CalcRequest.d.ts +9 -0
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +2 -0
- package/types/src/calculation/spatial/SpillEntry.d.ts +55 -4
- package/types/src/calculation/state/CalcNode.d.ts +6 -3
- package/types/src/calculation/state/CalculationContext.d.ts +4 -2
- package/types/src/calculation/state/_PivotView.d.ts +22 -0
- package/types/src/cell/ICell.d.ts +1 -21
- package/types/src/cellRange/ICellRange.d.ts +18 -2
- package/types/src/collections/MixedTypedArrayList.d.ts +16 -2
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +10 -0
- package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +3 -0
- package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +3 -0
- package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +3 -0
- package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +3 -0
- package/types/src/condition/BuiltInOperators/MatchesOperator.d.ts +10 -0
- package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/index.d.ts +2 -0
- package/types/src/condition/Condition.d.ts +1 -0
- package/types/src/condition/ICondition.d.ts +15 -0
- package/types/src/condition/_ConditionUtils.d.ts +14 -0
- package/types/src/conditionalFormat/ConditionalFormat.d.ts +2 -1
- package/types/src/conditionalFormat/IConditionalFormat.d.ts +4 -3
- package/types/src/license/LicenseDetails.d.ts +27 -0
- package/types/src/license/LicenseManager.d.ts +24 -7
- package/types/src/license/_Utils.d.ts +34 -3
- package/types/src/license/index.d.ts +1 -0
- package/types/src/license/runtime.browser.d.ts +32 -4
- package/types/src/license/runtime.node.d.ts +8 -5
- package/types/src/license/summary.d.ts +18 -0
- package/types/src/pivot/IPivotTable.d.ts +1549 -13
- package/types/src/pivot/IPivotTableCollection.d.ts +70 -4
- package/types/src/pivot/PivotCache.d.ts +95 -11
- package/types/src/pivot/PivotDataField.d.ts +73 -0
- package/types/src/pivot/PivotField.d.ts +142 -0
- package/types/src/pivot/PivotTable.d.ts +548 -14
- package/types/src/pivot/PivotTableCollection.d.ts +18 -3
- package/types/src/pivot/_PivotAreas.d.ts +48 -0
- package/types/src/pivot/_PivotControls.d.ts +140 -0
- package/types/src/pivot/_PivotEngine.d.ts +9 -0
- package/types/src/pivot/_PivotGroups.d.ts +25 -0
- package/types/src/pivot/_PivotItems.d.ts +167 -0
- package/types/src/pivot/_PivotStructure.d.ts +237 -0
- package/types/src/pivot/_PivotStylePreview.d.ts +21 -0
- package/types/src/pivot/_PivotUtils.d.ts +37 -0
- package/types/src/pivot/engine/PivotAdd.d.ts +37 -0
- package/types/src/pivot/engine/PivotData.d.ts +65 -0
- package/types/src/pivot/engine/PivotEdit.d.ts +45 -0
- package/types/src/pivot/engine/PivotFilters.d.ts +50 -0
- package/types/src/pivot/engine/PivotFormulas.d.ts +72 -0
- package/types/src/pivot/engine/PivotLayout.d.ts +133 -0
- package/types/src/pivot/engine/PivotMove.d.ts +24 -0
- package/types/src/pivot/engine/PivotRefresh.d.ts +87 -0
- package/types/src/pivot/engine/PivotSort.d.ts +26 -0
- package/types/src/pivot/engine/PivotViewBuilder.d.ts +22 -0
- package/types/src/pivot/engine/index.d.ts +15 -0
- package/types/src/pivot/index.d.ts +4 -0
- package/types/src/pivot/kernel/KernelPivot.d.ts +63 -0
- package/types/src/pivot/kernel/_KernelLeaves.d.ts +100 -0
- package/types/src/pivot/kernel/_PivotAxisTree.d.ts +71 -0
- package/types/src/primitives/Range.d.ts +12 -1
- package/types/src/sheet/IWorksheet.d.ts +35 -0
- package/types/src/sheet/SheetCell.d.ts +21 -14
- package/types/src/sheet/SheetRange.d.ts +3 -0
- package/types/src/sheet/Worksheet.d.ts +175 -7
- package/types/src/sheet/_PivotFootprint.d.ts +42 -0
- package/types/src/sheet/_SheetAutoFitUtils.d.ts +12 -1
- package/types/src/sheet/_SheetMutations.d.ts +47 -0
- package/types/src/sheet/_SheetStateTypes.d.ts +11 -0
- package/types/src/sheet/style/SheetCellStyle.d.ts +6 -0
- package/types/src/sheet/style/SheetPivotStyle.d.ts +83 -0
- package/types/src/sheet/style/_IndentUnit.d.ts +14 -0
- package/types/src/sheetHeader/SheetCellHeader.d.ts +1 -1
- package/types/src/slicer/ISlicer.d.ts +114 -34
- package/types/src/slicer/ITimeline.d.ts +61 -0
- package/types/src/slicer/Slicer.d.ts +76 -3
- package/types/src/slicer/_PivotSlicer.d.ts +51 -0
- package/types/src/slicer/index.d.ts +1 -0
- package/types/src/table/AnchoredTable.d.ts +11 -1
- package/types/src/table/ITable.d.ts +5 -6
- package/types/src/table/ITableStyle.d.ts +50 -34
- package/types/src/table/_BuiltInPivotStyles.d.ts +8 -0
- package/types/src/table/_BuiltInTableStyles.d.ts +0 -1
- package/types/src/type/ITypes.d.ts +5 -1
- package/types/src/workbook/IWorkbook.d.ts +8 -2
- package/types/src/workbook/Workbook.d.ts +72 -6
- package/browser/esm/BrHplg4RuI5jOmmr.mjs +0 -357
- package/browser/esm/eImPONkfn5DstmS8.mjs +0 -184
- package/node/esm/03AYPvCda2x9EOlY.mjs +0 -360
- package/node/esm/BmVQRGAijOHzgHmz.mjs +0 -199
- package/node/esm/Dk4KLs5GoRRuD8J4.mjs +0 -115
- package/types/src/pivot/_PivotXml.d.ts +0 -24
- 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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t } from "./
|
|
8
|
-
import { ut as n } from "./
|
|
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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
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
|
|
30
|
-
const
|
|
31
|
-
if (!
|
|
32
|
-
let
|
|
33
|
-
for (let o = 0; o <
|
|
34
|
-
if (null ===
|
|
35
|
-
|
|
36
|
-
for (let o = 0; 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
|
-
|
|
40
|
+
c[o] = s.BuiltIn.Calc;
|
|
39
41
|
}
|
|
40
|
-
return new l(null ===
|
|
41
|
-
}, h = (t) => null !== t && "object" == typeof t && !s.isError(t) && !0 !== t.isIRichData && !
|
|
42
|
-
let
|
|
43
|
-
return l.forEachLeaf(t, (t,
|
|
44
|
-
if (
|
|
45
|
-
let a =
|
|
46
|
-
!0 === t.isIRepeatingList && (a = Math.min(a,
|
|
47
|
-
for (let
|
|
48
|
-
}),
|
|
49
|
-
}, g = class extends
|
|
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
|
|
55
|
+
}, I = class extends e {
|
|
54
56
|
constructor(t) {
|
|
55
57
|
super(), this.node = t;
|
|
56
58
|
}
|
|
57
|
-
}, E = class extends
|
|
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
|
|
64
|
-
let w =
|
|
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 =
|
|
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(
|
|
72
|
-
if (null ===
|
|
73
|
-
const
|
|
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
|
-
}),
|
|
77
|
-
return
|
|
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:
|
|
81
|
-
rowEnd:
|
|
82
|
+
colEnd: r.getColumnCount() - 1,
|
|
83
|
+
rowEnd: r.getRowCount() - 1
|
|
82
84
|
});
|
|
83
85
|
}
|
|
84
86
|
function b(t, o, r) {
|
|
85
|
-
const
|
|
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,
|
|
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
|
|
102
|
-
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
|
|
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 =
|
|
139
|
-
if (
|
|
140
|
-
|
|
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
|
-
|
|
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
|
|
146
|
-
const o = t.rowIndex -
|
|
147
|
-
o >=
|
|
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 !==
|
|
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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as A } from "./
|
|
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.
|
|
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:
|
|
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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import { B as t,
|
|
9
|
-
import { g as c, v as l, w as h, x as u } from "./
|
|
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
|
|
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
|
|
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,
|
|
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:
|
|
148
|
+
anchorType: i.Type.Absolute,
|
|
149
149
|
pixelBounds: {
|
|
150
150
|
x: t.x ?? 0,
|
|
151
151
|
y: t.y ?? 0,
|
|
152
|
-
width:
|
|
153
|
-
height:
|
|
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
|
|
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,
|
|
544
|
+
const n = this, o = e.content?.type ?? "custom", r = this._createOptions;
|
|
545
545
|
let i;
|
|
546
546
|
const a = {
|
|
547
|
-
type:
|
|
548
|
-
transactions:
|
|
549
|
-
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:
|
|
560
|
-
getRange:
|
|
561
|
-
addWatch:
|
|
562
|
-
}, l = o
|
|
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:
|
|
572
|
-
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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { r as e } from "./
|
|
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.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
7
|
var x = [], y = Object.freeze({
|
|
8
8
|
bentConnector2: { paths: [{
|