@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
|
function t(t, e, n) {
|
|
8
8
|
const i = t.metrics(e);
|
|
@@ -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 } from "./
|
|
7
|
+
import { t } from "./5OfKfTRX2_y2NwpU.mjs";
|
|
8
8
|
var c = 2 * Math.PI;
|
|
9
9
|
function n(t, c) {
|
|
10
10
|
const n = Math.cos(c), e = Math.sin(c), s = Math.cos(t.phi), y = Math.sin(t.phi);
|
|
@@ -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 { i as t, n as e, r as n, t as r } from "./
|
|
7
|
+
import { i as t, n as e, r as n, t as r } from "./BfPBiAgVmWhuFgFP.mjs";
|
|
8
8
|
var s = 6e4, a = Math.PI / 180 / s, c = 108e5 / Math.PI, o = /^[+-]?\d+$/, u = (t) => o.test(t) ? Number(t) : t, i = /* @__PURE__ */ new WeakMap();
|
|
9
9
|
function h(t) {
|
|
10
10
|
let e = i.get(t);
|
|
@@ -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.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 "./
|
|
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 "./BH8J6vKSO5zI_TWo.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 "./CVPieTgKCwkL21nD.mjs";
|
|
9
|
+
import { g as c, v as l, w as h, x as u } from "./bIGdvfpnijWeCac6.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,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 { t } from "./
|
|
8
|
-
import { D as e, E as n, T as s, _ as o, a as r, c as i, d as a, h as c, i as h, k as d, m as l, r as u, u as g, ut as _ } from "./
|
|
7
|
+
import { t } from "./BH8J6vKSO5zI_TWo.mjs";
|
|
8
|
+
import { D as e, E as n, T as s, _ as o, a as r, c as i, d as a, h as c, i as h, k as d, m as l, r as u, u as g, ut as _ } from "./bIGdvfpnijWeCac6.mjs";
|
|
9
9
|
import { ExpectedError as p, messageKey as m } from "@sheetxl/utils";
|
|
10
10
|
var y = Object.freeze({}), S = /^(line|lineInv|straightConnector\d|bentConnector\d|curvedConnector\d)$/, w = () => {}, C = class extends t {
|
|
11
11
|
constructor(t) {
|
|
@@ -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 x = [], y = Object.freeze({
|
|
8
8
|
mathDivide: {
|
|
@@ -1,30 +1,30 @@
|
|
|
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 {
|
|
8
|
-
import { D as r, E as s, a, c as o, d as l, f as i, l as c, m as u, n as p, o as d, p as f, r as h, s as g, u as m, v as x, w as y } from "./
|
|
9
|
-
import { n as v, r as I, t as
|
|
10
|
-
import { FormulaError as
|
|
7
|
+
import { jt as e, mi as t, pi as n } from "./CVPieTgKCwkL21nD.mjs";
|
|
8
|
+
import { D as r, E as s, a, c as o, d as l, f as i, l as c, m as u, n as p, o as d, p as f, r as h, s as g, u as m, v as x, w as y } from "./Cxak8i2NidZ4Uv6v.mjs";
|
|
9
|
+
import { n as v, r as I, t as b } from "./CDHY-0OyQ9348Brb.mjs";
|
|
10
|
+
import { FormulaError as _ } from "@sheetxl/primitives";
|
|
11
11
|
import { CommonUtils as T } from "@sheetxl/utils";
|
|
12
12
|
var P = class {
|
|
13
13
|
constructor(e) {
|
|
14
14
|
e = { ...e }, this._editing = "editing" === e.profile, this._parser = new I(e);
|
|
15
15
|
}
|
|
16
|
-
compile(
|
|
16
|
+
compile(e, n, p, I, T, P, k, E, w) {
|
|
17
17
|
if (0 === I.length) {
|
|
18
|
-
const
|
|
19
|
-
return this._compileUnparsed(
|
|
18
|
+
const t = new _.Parse(b);
|
|
19
|
+
return this._compileUnparsed(e, T, I, {
|
|
20
20
|
input: I,
|
|
21
|
-
cause:
|
|
22
|
-
causes: [
|
|
21
|
+
cause: t,
|
|
22
|
+
causes: [t]
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
-
if (I.length >
|
|
26
|
-
const n = new
|
|
27
|
-
return this._compileUnparsed(
|
|
25
|
+
if (I.length > t.MAX_EXPRESSION_LENGTH) {
|
|
26
|
+
const n = new _.Parse(v(I.length, t.MAX_EXPRESSION_LENGTH));
|
|
27
|
+
return this._compileUnparsed(e, T, I, {
|
|
28
28
|
input: I,
|
|
29
29
|
cause: n,
|
|
30
30
|
causes: [n]
|
|
@@ -35,21 +35,21 @@ var P = class {
|
|
|
35
35
|
const e = this._parser.parse(n, p, I);
|
|
36
36
|
F = e.root, U = e.errors, E && F && 0 === U.length && (F.legacyIntersect = !0);
|
|
37
37
|
} catch (e) {
|
|
38
|
-
C =
|
|
38
|
+
C = _.isError(e, _.Code.Parse) ? e : new _.Parse(e.message, e);
|
|
39
39
|
}
|
|
40
40
|
const z = [];
|
|
41
41
|
for (const e of U) z.push(u(e));
|
|
42
42
|
if (F) {
|
|
43
43
|
const e = y(F, P ?? null);
|
|
44
|
-
"string" == typeof e ? z.push(new
|
|
44
|
+
"string" == typeof e ? z.push(new _.Parse(e)) : F = e, l(F, P ?? null) && z.push(new _.Parse("The implicit intersection operator ' ' requires a cell or range on both sides")), m(F, P ?? null) && z.push(new _.Parse("The spill anchor operator '#' requires a cell or range")), f(F, P ?? null) && z.push(new _.Parse("Expected a reference; a value cannot be converted to one."));
|
|
45
45
|
const t = d(F, P ?? null);
|
|
46
|
-
t && z.push(new
|
|
46
|
+
t && z.push(new _.Parse(t));
|
|
47
47
|
const n = g(F, P ?? null);
|
|
48
|
-
n && z.push(new
|
|
48
|
+
n && z.push(new _.Parse(n));
|
|
49
49
|
const r = o(F, P ?? null);
|
|
50
|
-
r && z.push(new
|
|
50
|
+
r && z.push(new _.Parse(r));
|
|
51
51
|
const s = c(F);
|
|
52
|
-
s && z.push(new
|
|
52
|
+
s && z.push(new _.Parse(s));
|
|
53
53
|
}
|
|
54
54
|
z.length > 0 && !C && (C = z[0]);
|
|
55
55
|
let R = null;
|
|
@@ -59,10 +59,10 @@ var P = class {
|
|
|
59
59
|
causes: z.length > 0 ? z : [C]
|
|
60
60
|
}), !F) {
|
|
61
61
|
if (this._editing) {
|
|
62
|
-
const
|
|
63
|
-
if (
|
|
62
|
+
const t = this._recoverCompiled(e, n, p, I, T, R, k);
|
|
63
|
+
if (t) return t;
|
|
64
64
|
}
|
|
65
|
-
return this._compileUnparsed(
|
|
65
|
+
return this._compileUnparsed(e, T, I, R, this._editing, () => A(T, k, n, p));
|
|
66
66
|
}
|
|
67
67
|
if (F = s(F, P ?? null), F = h(F, P ?? null), T) {
|
|
68
68
|
const e = this._editing ? w : {
|
|
@@ -75,7 +75,7 @@ var P = class {
|
|
|
75
75
|
});
|
|
76
76
|
const t = i(F, T);
|
|
77
77
|
if (t) {
|
|
78
|
-
const e = new
|
|
78
|
+
const e = new _.Parse(t);
|
|
79
79
|
z.push(e), R = {
|
|
80
80
|
input: I,
|
|
81
81
|
cause: R?.cause ?? e,
|
|
@@ -83,8 +83,8 @@ var P = class {
|
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
|
-
const S = a(
|
|
87
|
-
if (this._editing && R && r(S.getTokens(), T) !== I) return this._recoverCompiled(
|
|
86
|
+
const S = a(e, T, F, this._editing, R, P ?? null);
|
|
87
|
+
if (this._editing && R && r(S.getTokens(), T) !== I) return this._recoverCompiled(e, n, p, I, T, R, k) || this._compileUnparsed(e, T, I, R, !0);
|
|
88
88
|
return S;
|
|
89
89
|
}
|
|
90
90
|
autoCorrect(e) {
|
|
@@ -139,6 +139,7 @@ var P = class {
|
|
|
139
139
|
namedIds: T.EmptyArray,
|
|
140
140
|
symbolIds: T.EmptyArray,
|
|
141
141
|
hasTotals: !1,
|
|
142
|
+
hasPivotData: !1,
|
|
142
143
|
hasDataTable: !1,
|
|
143
144
|
hasVolatile: !1,
|
|
144
145
|
isBlankCacheable: !1,
|
|
@@ -267,14 +268,14 @@ var P = class {
|
|
|
267
268
|
c >= 0 && !/[A-Za-z0-9_.]/.test(u) ? (c > 0 && l(t.slice(0, c)), l(t.slice(c), !0)) : l(t);
|
|
268
269
|
}
|
|
269
270
|
};
|
|
270
|
-
function A(
|
|
271
|
-
if (!
|
|
272
|
-
const a =
|
|
271
|
+
function A(t, n, r, s) {
|
|
272
|
+
if (!t || !n) return;
|
|
273
|
+
const a = t.bind(e.Table, "", { at: {
|
|
273
274
|
scope: n,
|
|
274
275
|
rowIndex: r,
|
|
275
276
|
colIndex: s
|
|
276
277
|
} });
|
|
277
|
-
return a ?
|
|
278
|
+
return a ? t.resolve(e.Table, a)?.toString() : void 0;
|
|
278
279
|
}
|
|
279
280
|
var k = /[A-Za-z_\\\u007F-\uFFFF][A-Za-z0-9_.\u007F-\uFFFF]*$/, E = /[A-Za-z0-9_.)\]}"'!#\u007F-\uFFFF]/;
|
|
280
281
|
function w(e, t) {
|
|
@@ -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
|
import { readFile as t } from "node:fs/promises";
|
|
8
8
|
import { fileURLToPath as r } from "node:url";
|