@sheetxl/sdk 0.8.0-beta.14 → 0.8.0-beta.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.md +8 -7
- package/browser/esm/4MbBwfmW2hDXk9_w.mjs +165 -0
- package/browser/esm/{ChYgQL-8qIDFmX31.mjs → 9YWdxmSjzLN4j_ts.mjs} +22 -22
- package/browser/esm/B6BdiHigbUdbZp3J.mjs +686 -0
- package/browser/esm/{CImFKFaYToUH-bSE.mjs → BF_QwkZ_hs2rFoTT.mjs} +3 -3
- package/browser/esm/{DBvu0tdSf-5vol4e.mjs → BMo2_9Ul36IwRm3S.mjs} +3 -3
- package/browser/esm/{B1aH_qa-czVyEVHd.mjs → BWY1qiidTUBVPJoD.mjs} +506 -502
- package/browser/esm/{BSXQAXwZdJKYTO4P.mjs → Bf80epSsm_RyAOb9.mjs} +29 -29
- package/browser/esm/{D_XMi4_5iO2rkET5.mjs → BfoE6Dn_GQCIkQD3.mjs} +2 -2
- package/browser/esm/{Dhw5XEJYFrkYjdU2.mjs → BlMYYQZP-QM-iBHz.mjs} +23 -22
- package/browser/esm/{MuNBN02MyZ558c_K.mjs → BqT-ASHP0NVSUUnY.mjs} +1528 -1433
- package/browser/esm/{DnR0xY7_iE3TmMcg.mjs → BtNuoQIrrHw_jnbJ.mjs} +4 -4
- package/browser/esm/BxFzcCYhvo9NXFjC.mjs +527 -0
- package/browser/esm/{DonQz2Tc3k9lNT8E.mjs → BxYuRTSF9ykc-Tpz.mjs} +3 -3
- package/browser/esm/{aRXqxIzjuSLwawMh.mjs → C2PvZwqK-uvsugVS.mjs} +2 -2
- package/browser/esm/C3JOjQwdG9kAig7i.mjs +2017 -0
- package/browser/esm/{SwLp-iElwDjfcJtv.mjs → C5x0EzqElYGTiTQc.mjs} +2 -2
- package/browser/esm/{AXlD9K1gCwPU4gCO.mjs → CMChv-fCFh68VQQt.mjs} +588 -587
- package/browser/esm/{BpwULQPKbb4R9Jew.mjs → CRbQATfI0yZxe1kX.mjs} +3 -3
- package/browser/esm/{CM_X1zZYzEUPaNJL.mjs → CUu3zeHqcwMRYiov.mjs} +2 -2
- package/{node/esm/b3XnssSr9lmvAC2N.mjs → browser/esm/C_jLGkFemj55_BP3.mjs} +3 -3
- package/browser/esm/{CtC__ALh4I8PKIln.mjs → CkZoDPUCK5jMUaeJ.mjs} +26955 -22064
- package/browser/esm/{DvvqmUQ9Z0NFm1-4.mjs → D-iHJ3q4nwOLcn1D.mjs} +2 -2
- package/browser/esm/{qCqzZW74-fhaIG2V.mjs → D807piM0VSokWz-L.mjs} +2 -2
- package/browser/esm/{BLYl-afJe_3std8i.mjs → DW3oQ39IF0bsc_lm.mjs} +2 -2
- package/browser/esm/{Ln4gsmhqH1LyoANj.mjs → DcB52JPBPmkc3l1m.mjs} +4 -4
- package/browser/esm/{DIfAk63CvaOZ3QKi.mjs → DlVnybrgwZWxWN3_.mjs} +10 -10
- package/browser/esm/{Dh84MDs-OhdCPCIg.mjs → DvVhatd0J1ch3OCO.mjs} +22 -22
- package/browser/esm/{BWoz4kQdA5KKJfl6.mjs → Dx9Fya60meMpuHqm.mjs} +2 -2
- package/browser/esm/{r_EZapMBdyS4gUd-.mjs → HV0FkJ6k3Ils318J.mjs} +78 -78
- package/browser/esm/{C7hpfT-sX2lyLS-D.mjs → JV9Szh5qTssjxJoE.mjs} +2 -2
- package/browser/esm/{CPIWV3Enlh_BF2TY.mjs → KpuD1kEcWB7cT0VM.mjs} +3 -3
- package/browser/esm/{3t4S9eda2I6jFad0.mjs → U4FL-QeC0bRUhTEo.mjs} +2 -2
- package/browser/esm/{D39XcmtPXVtMN4yF.mjs → WLlpmgLN5OVLoLrC.mjs} +3 -3
- package/browser/esm/{Cy8uYCggktF83278.mjs → WR146UAqrsUsL39e.mjs} +2 -2
- package/browser/esm/{BPPMKyMn65i1a1mE.mjs → WcHfawW2lkTHtWUd.mjs} +51 -49
- package/browser/esm/{Bdcd3QOzsc0aVMjN.mjs → Zp5-cTJ0Llb6EfGi.mjs} +4 -4
- package/browser/esm/{oSCy1X5CJ1iYtGDp.mjs → ad9PX897hYE4Srkc.mjs} +3 -3
- package/browser/esm/{UMQTbO0zNmBpzW1V.mjs → d_t-7d5BD1AdHg3u.mjs} +404 -404
- package/browser/esm/{BVqIknGhQCLUB_7Q.mjs → dwGdnbV-CykjNrlm.mjs} +2 -2
- package/browser/esm/{DiXeQjc0WJGLSVEo.mjs → e69NcYnKMLnAmqyA.mjs} +2 -2
- package/browser/esm/index.mjs +886 -578
- package/browser/esm/{yuF8SbWfjBfrxcq5.mjs → r-o0UCm7KtluNmyK.mjs} +3 -3
- package/licenses/dependencies.txt +69 -69
- package/node/esm/{BEBt5fo__rvT2q_u.mjs → 446KYBjJQa8g-8Gg.mjs} +52 -50
- package/node/esm/{BELc5aQ_pFPgbiso.mjs → 5OfKfTRX2_y2NwpU.mjs} +2 -2
- package/node/esm/{C-5JLSNof0FhkuFd.mjs → A3PEHO1HJvkHfb5n.mjs} +2 -2
- package/node/esm/{YpOpRyciqQLIY1-G.mjs → B4WUGzJBkQu7BXRm.mjs} +2 -2
- package/node/esm/{I-FZojIFWluC6X-j.mjs → BH8J6vKSO5zI_TWo.mjs} +2 -2
- package/node/esm/BLmdKnkLwkb3wWe6.mjs +2040 -0
- package/node/esm/{BuyAYLI4s33-vmgG.mjs → BZSxu_ZqX8-Uczzn.mjs} +2 -2
- package/node/esm/{DiCMnYA2bttmrX3q.mjs → BfPBiAgVmWhuFgFP.mjs} +3 -3
- package/node/esm/{BSVttk12GXNfKZ9k.mjs → Bknw7zWZhl2-w1pi.mjs} +3 -3
- package/node/esm/{uLrulyR7IXq0SF4j.mjs → BvIPsPiHhMclZ1kH.mjs} +22 -22
- package/node/esm/{clgEkmEwfB28nkz2.mjs → By2TFKOjA1HekZap.mjs} +4 -4
- package/node/esm/{BXg-D8Rc_iyB8p7X.mjs → BywIhvYkWk2o7MSW.mjs} +2 -2
- package/node/esm/{pF2vCOTmrxPAB41Q.mjs → C3zyhnMwQ2hRQBz7.mjs} +31 -30
- package/node/esm/{BCjHRVU8tC5lYypg.mjs → C884edhUf9yMqpPp.mjs} +2 -2
- package/node/esm/{B6jhx5pHPs2W5GE7.mjs → CDHY-0OyQ9348Brb.mjs} +189 -189
- package/node/esm/{xRGObcoaGDnAZFnj.mjs → CERNLhFrAwtu_p-q.mjs} +2 -2
- package/node/esm/{DbPUG2DcQ3T_QhcJ.mjs → CFkX_Cn6avQqQiVC.mjs} +78 -78
- package/node/esm/CJDV8P3hI8lu--3Z.mjs +530 -0
- package/node/esm/{Cyeq1rDslIqF1LKz.mjs → CKwiipdPJGzAiPjg.mjs} +2 -2
- package/node/esm/{BLPrFp_jKGYgWPX1.mjs → CLtUMJfKsy4SevWE.mjs} +3 -3
- package/node/esm/{DLdXl0O0TXuyqLU4.mjs → CVPieTgKCwkL21nD.mjs} +28573 -23108
- package/node/esm/{Dlk2ZYExFgQ0xE2H.mjs → C_fYuynP2a_70WdL.mjs} +2 -2
- package/{browser/esm/BEDfJP2tcuRy2Y2E.mjs → node/esm/CgdNA3B_GFG_yJiN.mjs} +3 -3
- package/node/esm/Cs3ibv6YHCDwLRlk.mjs +115 -0
- package/node/esm/{DeFE8QfuCeGw-mvd.mjs → Cxak8i2NidZ4Uv6v.mjs} +487 -483
- package/node/esm/{NA-8urR7T1NCwrgD.mjs → D88A3UpCyGRjcX3U.mjs} +3 -3
- package/node/esm/{99miMotf3dOuG5Jk.mjs → DBIUe2BC9xU7qMHR.mjs} +3 -3
- package/node/esm/{BEdxa3I4VOiCsvy7.mjs → DELfV5HQZo1mInBd.mjs} +4 -4
- package/node/esm/{BfEdeOg4iYXaYTlh.mjs → DOt3t-13tsnM7Fj6.mjs} +2 -2
- package/node/esm/{B3hBxzqJ2_hUylNr.mjs → DfWc3nW_Z_qqc_Wf.mjs} +1762 -1674
- package/node/esm/DgnwKbUEyQN5_gWT.mjs +169 -0
- package/node/esm/{Ccocd9DTvOnlOE9D.mjs → Dhv9JymnXqcF54oo.mjs} +2 -2
- package/node/esm/{Lj98EH6coGdKUzuS.mjs → DvtyKKzOnoOM80NB.mjs} +22 -22
- package/node/esm/{Crn6dnSQQRCQAnQ-.mjs → KDGrIa9R5XzWfjM2.mjs} +2 -2
- package/node/esm/{D30rC6AWaGGf3CaC.mjs → RTwm9ge1KoPdlBNt.mjs} +2 -2
- package/node/esm/{CdSTmD2ZvG9NesNR.mjs → _RIAmJI98l6bIFfZ.mjs} +2 -2
- package/node/esm/{CI8UIWR01z9QDlzH.mjs → bIGdvfpnijWeCac6.mjs} +1005 -1004
- package/node/esm/index.mjs +913 -598
- package/node/esm/kaiXmn0AA5WDsLPo.mjs +199 -0
- package/node/esm/{B5VmOC0jO9Zbh9Mq.mjs → mTIhoz1gEcaEm7s1.mjs} +3 -3
- 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/D2NFcBM4xsv0JJ1q.mjs +0 -184
- package/browser/esm/DnqwX3-2NfGBaXXl.mjs +0 -357
- package/node/esm/C3S4hF1vn0NyJPPd.mjs +0 -199
- package/node/esm/CPsGyt3vnOdLTShj.mjs +0 -360
- package/node/esm/D4Y1WJgjiFEgbWrW.mjs +0 -115
- package/types/src/pivot/_PivotXml.d.ts +0 -24
- package/types/src/primitives/Grouping.d.ts +0 -65
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
7
|
var e = [[
|
|
8
8
|
"3cd4 hc t",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
7
|
+
import { t as e } from "./D807piM0VSokWz-L.mjs";
|
|
8
8
|
import { FormulaError as t } from "@sheetxl/primitives";
|
|
9
9
|
import { messageKey as n } from "@sheetxl/utils";
|
|
10
10
|
var r = ["linkedCell", "listFillRange"], i = /^(?:'((?:[^']|'')+)'|([^'!]+))!([^!]+)$/, a = Object.freeze([]), o = n("op.setControlCaption"), s = n("op.setControlMacro"), c = n("op.setControlLink"), l = n("op.setControlValue"), u = n("op.setControlRange"), d = n("op.setControlItems"), f = class extends e {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
7
|
var e = [[
|
|
8
8
|
"0 r vc",
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import {
|
|
7
|
+
import { Fa as e, Pa as t, Xa as n, Ya as r, Za as i, dr as a, n as o, vi as s } from "./CkZoDPUCK5jMUaeJ.mjs";
|
|
8
8
|
import { FormulaError as c, IRange as l } from "@sheetxl/primitives";
|
|
9
9
|
import { CommonUtils as u } from "@sheetxl/utils";
|
|
10
10
|
var d = (e) => {
|
|
11
11
|
let t = e.ext;
|
|
12
12
|
return t === null && (t = e.ext = {
|
|
13
13
|
spillDependents: u.EmptyArray,
|
|
14
|
+
spillRowStart: -1,
|
|
15
|
+
spillColStart: -1,
|
|
14
16
|
spillRowEnd: -1,
|
|
15
17
|
spillColEnd: -1,
|
|
16
18
|
fixedRef: null,
|
|
@@ -26,62 +28,62 @@ var d = (e) => {
|
|
|
26
28
|
let t = e.precedents;
|
|
27
29
|
return t === null ? e.block.paramLength : t.length;
|
|
28
30
|
}, m = (e) => {
|
|
29
|
-
if (e instanceof
|
|
30
|
-
let
|
|
31
|
-
if (!
|
|
32
|
-
let
|
|
33
|
-
for (let t = 0; t <
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
for (let t = 0; t <
|
|
31
|
+
if (e instanceof t) return new i(e);
|
|
32
|
+
let r = !0 === e.isIRepeatingList ? e : null, a = r ? r.getPeriod() : e.length, o = Array.isArray(e);
|
|
33
|
+
if (!r && !o && !g(e)) return new i(e);
|
|
34
|
+
let s = null;
|
|
35
|
+
for (let t = 0; t < a; t++) if (h(o ? e[t] : e.at(t))) {
|
|
36
|
+
if (s === null) {
|
|
37
|
+
s = Array(a);
|
|
38
|
+
for (let t = 0; t < a; t++) s[t] = o ? e[t] : e.at(t);
|
|
37
39
|
}
|
|
38
|
-
|
|
40
|
+
s[t] = c.BuiltIn.Calc;
|
|
39
41
|
}
|
|
40
|
-
return new i(
|
|
41
|
-
}, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !
|
|
42
|
-
let
|
|
43
|
-
return i.forEachLeaf(e, (e,
|
|
44
|
-
if (
|
|
45
|
-
let o =
|
|
46
|
-
!0 === e.isIRepeatingList && (o = Math.min(o,
|
|
47
|
-
for (let
|
|
48
|
-
}),
|
|
49
|
-
}, _ = class extends
|
|
42
|
+
return new i(s === null ? e : r ? new n(s, e.length) : s);
|
|
43
|
+
}, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !s(e), g = (e) => {
|
|
44
|
+
let n = !1;
|
|
45
|
+
return i.forEachLeaf(e, (e, r, i, a) => {
|
|
46
|
+
if (n || e instanceof t) return;
|
|
47
|
+
let o = r + a - i;
|
|
48
|
+
!0 === e.isIRepeatingList && (o = Math.min(o, r + e.getPeriod() - 1));
|
|
49
|
+
for (let t = r; !n && t <= o; t++) n = h(e.at(t));
|
|
50
|
+
}), n;
|
|
51
|
+
}, _ = class extends a {
|
|
50
52
|
constructor(e, t) {
|
|
51
53
|
super(), this.nodes = e, this.count = t;
|
|
52
54
|
}
|
|
53
|
-
}, v = class extends
|
|
55
|
+
}, v = class extends a {
|
|
54
56
|
constructor(e) {
|
|
55
57
|
super(), this.node = e;
|
|
56
58
|
}
|
|
57
|
-
}, y = class extends
|
|
59
|
+
}, y = class extends a {
|
|
58
60
|
constructor(e) {
|
|
59
61
|
super(), this.node = e;
|
|
60
62
|
}
|
|
61
63
|
};
|
|
62
64
|
function b(e, t = 0, n = 0) {
|
|
63
|
-
let
|
|
65
|
+
let i = (e = e._materializeEmpty())._values, a = e._coords, o = i.getRuns({ bounds: a }), s = i.getAxis() !== l.Axis.Row, c = s ? a.colStart : a.rowStart, u = s ? a.rowStart : a.colStart, d = new r.Builder(null, t, n), f = o.next();
|
|
64
66
|
for (; !f.done;) {
|
|
65
67
|
let e = f.value;
|
|
66
|
-
d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f =
|
|
68
|
+
d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f = o.next();
|
|
67
69
|
}
|
|
68
70
|
return d.build();
|
|
69
71
|
}
|
|
70
|
-
function x(
|
|
71
|
-
if (typeof
|
|
72
|
-
let
|
|
72
|
+
function x(t) {
|
|
73
|
+
if (typeof t != "object" || !t || !0 !== t.isIRange) return t;
|
|
74
|
+
let n = t, r = n._values, i = new e({
|
|
73
75
|
axis: r.getAxis(),
|
|
74
76
|
createRun: m
|
|
75
|
-
}),
|
|
76
|
-
return
|
|
77
|
+
}), a = b(n);
|
|
78
|
+
return a && i.setValues(a.tuples), new o(n._runtime, i, {
|
|
77
79
|
colStart: 0,
|
|
78
80
|
rowStart: 0,
|
|
79
|
-
colEnd:
|
|
80
|
-
rowEnd:
|
|
81
|
+
colEnd: n.getColumnCount() - 1,
|
|
82
|
+
rowEnd: n.getRowCount() - 1
|
|
81
83
|
});
|
|
82
84
|
}
|
|
83
85
|
function S(e, t, n) {
|
|
84
|
-
let
|
|
86
|
+
let i = t.rowEnd - t.rowStart + 1, a = t.colEnd - t.colStart + 1, o = function(e, t, n) {
|
|
85
87
|
let r = e?.isIRange ? e : null, i = r ? r.getRowCount() : 1, a = r ? r.getColumnCount() : 1, o = Array(t);
|
|
86
88
|
for (let s = 0; s < t; s++) {
|
|
87
89
|
let t = Array(n), l = i === 1 ? 0 : s < i ? s : -1;
|
|
@@ -92,12 +94,12 @@ function S(e, t, n) {
|
|
|
92
94
|
o[s] = t;
|
|
93
95
|
}
|
|
94
96
|
return o;
|
|
95
|
-
}(e,
|
|
97
|
+
}(e, i, a), s = n ? a : i, l = n ? i : a, u = n ? t.colStart : t.rowStart, d = n ? t.rowStart : t.colStart, f = new r.Builder(null), p = !0;
|
|
96
98
|
for (let e = 0; e < s; e++) {
|
|
97
99
|
let t = null, r = 0;
|
|
98
100
|
for (let i = 0; i < l; i++) {
|
|
99
|
-
let
|
|
100
|
-
|
|
101
|
+
let a = n ? o[i][e] : o[e][i];
|
|
102
|
+
a == null ? t &&= (f.pushMultipleAt(u + e, d + r, t), null) : (t || (t = [], r = i, p = !1), t.push(a));
|
|
101
103
|
}
|
|
102
104
|
t && f.pushMultipleAt(u + e, d + r, t);
|
|
103
105
|
}
|
|
@@ -128,23 +130,23 @@ function T(e, t, n, r, i, a) {
|
|
|
128
130
|
let b = h <= u.rowStart && g >= u.rowEnd && _ <= u.colStart && v >= u.colEnd;
|
|
129
131
|
!b && _ === y.colFrom && v === y.colTo && h <= y.rowTo + 1 && g >= y.rowFrom - 1 ? (h < y.rowFrom && i(l, h, y.rowFrom - 1, _, v, r), g > y.rowTo && i(l, y.rowTo + 1, g, _, v, r), h < y.rowFrom && (y.rowFrom = h), g > y.rowTo && (y.rowTo = g)) : !b && h === y.rowFrom && g === y.rowTo && _ <= y.colTo + 1 && v >= y.colFrom - 1 ? (_ < y.colFrom && i(l, h, g, _, y.colFrom - 1, r), v > y.colTo && i(l, h, g, y.colTo + 1, v, r), _ < y.colFrom && (y.colFrom = _), v > y.colTo && (y.colTo = v)) : (i(l, h, g, _, v, r), (g - h + 1) * (v - _ + 1) > (y.rowTo - y.rowFrom + 1) * (y.colTo - y.colFrom + 1) && (y.rowFrom = h, y.rowTo = g, y.colFrom = _, y.colTo = v));
|
|
130
132
|
}
|
|
131
|
-
function E(e, t, n, r, i, a, o = null) {
|
|
132
|
-
let
|
|
133
|
-
if (u > d) return;
|
|
134
|
-
let f = Math.max(n, e.colStart), p = Math.min(i, e.colEnd);
|
|
133
|
+
function E(e, t, n, r, i, a, o, s, c = null) {
|
|
134
|
+
let l = e.value, u = l.formulaBlockWidth, d = l.formulaBlockHeight, f = Math.max(r, e.rowStart), p = Math.min(a, e.rowEnd);
|
|
135
135
|
if (f > p) return;
|
|
136
|
-
let m =
|
|
137
|
-
if (
|
|
138
|
-
let
|
|
136
|
+
let m = Math.max(i, e.colStart), h = Math.min(o, e.colEnd);
|
|
137
|
+
if (m > h) return;
|
|
138
|
+
let g = e.rowEnd - e.rowStart - (d - 1), _ = e.colEnd - e.colStart - (u - 1), v = l.$absRowEnd ? 0 : Math.max(0, f - e.rowStart - g), y = l.$absRowStart ? d - 1 : Math.min(d - 1, p - e.rowStart), b = l.$absColEnd ? 0 : Math.max(0, m - e.colStart - _), x = l.$absColStart ? u - 1 : Math.min(u - 1, h - e.colStart);
|
|
139
|
+
if (v > y || b > x) return;
|
|
140
|
+
let S = 1, C = 0, w = 1, T = 0;
|
|
139
141
|
if (t >= e.rowStart && t <= e.rowEnd && n >= e.colStart && n <= e.colEnd) {
|
|
140
142
|
let r = t - e.rowStart, i = n - e.colStart;
|
|
141
|
-
|
|
143
|
+
S = l.$absRowEnd ? 0 : Math.max(0, r - g), C = l.$absRowStart ? d - 1 : Math.min(d - 1, r), w = l.$absColEnd ? 0 : Math.max(0, i - _), T = l.$absColStart ? u - 1 : Math.min(u - 1, i);
|
|
142
144
|
}
|
|
143
|
-
let
|
|
144
|
-
let t = e.rowIndex -
|
|
145
|
-
t >=
|
|
145
|
+
let E = l.formulaEntry.value, D = E.ref, O = (e) => {
|
|
146
|
+
let t = e.rowIndex - D.rowStart, n = e.colIndex - D.colStart;
|
|
147
|
+
t >= S && t <= C && n >= w && n <= T || s(e);
|
|
146
148
|
};
|
|
147
|
-
|
|
149
|
+
c === null ? E.forEachNodeIn(D.rowStart + v, D.rowStart + y, D.colStart + b, D.colStart + x, O) : c(E, D.rowStart + v, D.rowStart + y, D.colStart + b, D.colStart + x, O);
|
|
148
150
|
}
|
|
149
151
|
function D(e) {
|
|
150
152
|
let { row: t, col: n, rows: r, cols: i, rowInput: a, colInput: o } = e, s = (e, t, n, r) => ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
|
-
import { n as e } from "./
|
|
8
|
-
import { ut as t } from "./
|
|
7
|
+
import { n as e } from "./Dx9Fya60meMpuHqm.mjs";
|
|
8
|
+
import { ut as t } from "./CMChv-fCFh68VQQt.mjs";
|
|
9
9
|
var n = e({
|
|
10
10
|
toConcreteCSS: () => i,
|
|
11
11
|
toConcreteFill: () => a
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.
|
|
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:
|
|
5
|
+
* License: SheetXL EULA — https://www.sheetxl.com/eula
|
|
6
6
|
*/
|
|
7
7
|
async function e(e) {
|
|
8
|
-
let t = "@0.8.0-beta.
|
|
8
|
+
let t = "@0.8.0-beta.16";
|
|
9
9
|
t !== "@local" && t !== "@0.0.0" || (t = "");
|
|
10
10
|
let n = `https://cdn.jsdelivr.net/npm/@sheetxl/sdk${t}/types/${e}`, r = await fetch(n);
|
|
11
11
|
if (!r.ok) throw Error(`Unable to load ${e} (${r.status}) from ${n}.`);
|