@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
|
"0 r vc",
|
|
@@ -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 { CommonUtils as e, ProtectedError as t, messageKey as n, t as r } from "@sheetxl/utils";
|
|
8
8
|
var i = (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
|
var e = [
|
|
8
8
|
[
|
|
@@ -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 { r as e, t } from "./
|
|
8
|
-
import { t as n } from "./
|
|
7
|
+
import { r as e, t } from "./Dx9Fya60meMpuHqm.mjs";
|
|
8
|
+
import { t as n } from "./C2PvZwqK-uvsugVS.mjs";
|
|
9
9
|
var r = t((e, t) => {
|
|
10
10
|
function n() {
|
|
11
11
|
this.table = /* @__PURE__ */ new Uint16Array(16), this.trans = /* @__PURE__ */ new Uint16Array(288);
|
|
@@ -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 {
|
|
8
|
-
import { a as n, i as r, n as i, r as a, t as o } from "./
|
|
7
|
+
import { ir as e, ka as t } from "./CkZoDPUCK5jMUaeJ.mjs";
|
|
8
|
+
import { a as n, i as r, n as i, r as a, t as o } from "./BMo2_9Ul36IwRm3S.mjs";
|
|
9
9
|
import { ScalarType as s } from "@sheetxl/primitives";
|
|
10
10
|
import { CommonUtils as c, DefaultLanguagePackService as l, fetchLocaleResource as u } from "@sheetxl/utils";
|
|
11
11
|
import d from "@sheetxl/formulas";
|
|
@@ -42,16 +42,16 @@ function g(e) {
|
|
|
42
42
|
}
|
|
43
43
|
var _ = !1, v = /* @__PURE__ */ new WeakMap();
|
|
44
44
|
function y() {
|
|
45
|
-
let
|
|
46
|
-
if (!
|
|
47
|
-
let r = v.get(
|
|
45
|
+
let e = t(), n = e?.functionHelp;
|
|
46
|
+
if (!e || !n) return Promise.resolve(null);
|
|
47
|
+
let r = v.get(e);
|
|
48
48
|
return r || (r = n().then((e) => e && typeof e == "object" ? "default" in e ? {
|
|
49
49
|
functions: e.default,
|
|
50
50
|
enums: e.enums
|
|
51
51
|
} : {
|
|
52
52
|
functions: e,
|
|
53
53
|
enums: void 0
|
|
54
|
-
} : null).catch(() => null), v.set(
|
|
54
|
+
} : null).catch(() => null), v.set(e, r)), r;
|
|
55
55
|
}
|
|
56
56
|
function b(e, t) {
|
|
57
57
|
_ || (_ = !0, g(l.getActive()), l.addChangeListener((e) => g(e)));
|
|
@@ -74,7 +74,7 @@ var x = (r, i, a, o, l, u, d) => {
|
|
|
74
74
|
return t;
|
|
75
75
|
}, m = Object.keys(o);
|
|
76
76
|
for (let s of m) {
|
|
77
|
-
let d = o[s], f = s, { decl: m, enumIds: h } = n(f, d, p), g = a[d.fn ?? f], _, v, b = new
|
|
77
|
+
let d = o[s], f = s, { decl: m, enumIds: h } = n(f, d, p), g = a[d.fn ?? f], _, v, b = new e(m, g, i, async (e) => {
|
|
78
78
|
if (!l) return null;
|
|
79
79
|
let n;
|
|
80
80
|
if (_) n = _;
|
|
@@ -95,7 +95,7 @@ var x = (r, i, a, o, l, u, d) => {
|
|
|
95
95
|
}
|
|
96
96
|
let p = {
|
|
97
97
|
name: f,
|
|
98
|
-
nameLocal:
|
|
98
|
+
nameLocal: t()?.functions?.[f] ?? f,
|
|
99
99
|
summary: a?.s ?? r.s ?? "",
|
|
100
100
|
category: a?.c ?? r.c ?? u ?? null,
|
|
101
101
|
parameters: s,
|
|
@@ -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 u, x as d } from "./
|
|
7
|
+
import { t as e } from "./D807piM0VSokWz-L.mjs";
|
|
8
|
+
import { B as t, Jn as n, Kn as r, ho as i, qn as a, wi as o, z as s } from "./CkZoDPUCK5jMUaeJ.mjs";
|
|
9
|
+
import { g as c, v as l, w as u, x as d } from "./CMChv-fCFh68VQQt.mjs";
|
|
10
10
|
import { CommonUtils as f, CoordUtils as p, ExpectedError as m, messageKey as h, t as g } from "@sheetxl/utils";
|
|
11
|
-
var _ = class extends
|
|
11
|
+
var _ = class extends r {
|
|
12
12
|
constructor(e) {
|
|
13
13
|
super(e), this._optionsMember = e;
|
|
14
14
|
}
|
|
@@ -25,7 +25,7 @@ var _ = class extends a {
|
|
|
25
25
|
return !!super.isDeleted() || ((this._optionsMovable?.getParent?.())?.isDeleted() ?? !1);
|
|
26
26
|
}
|
|
27
27
|
getAnchorType() {
|
|
28
|
-
return
|
|
28
|
+
return o.Type.Absolute;
|
|
29
29
|
}
|
|
30
30
|
setAnchorType(e) {
|
|
31
31
|
return this;
|
|
@@ -127,7 +127,7 @@ var _ = class extends a {
|
|
|
127
127
|
this._getEmitter().notify("onBoundsChange"), this._forwardLayout();
|
|
128
128
|
}
|
|
129
129
|
_fromJSON(e) {
|
|
130
|
-
let t = e.anchor?.tl ?? f.EmptyObject,
|
|
130
|
+
let t = e.anchor?.tl ?? f.EmptyObject, n = e.anchor?.br ?? f.EmptyObject;
|
|
131
131
|
this._updateState({
|
|
132
132
|
offsets: {
|
|
133
133
|
tl: {
|
|
@@ -145,12 +145,12 @@ var _ = class extends a {
|
|
|
145
145
|
flipV: e.flipV ?? !1,
|
|
146
146
|
lockAspectRatio: e.lockAspect ?? null,
|
|
147
147
|
locks: e.locks ?? null,
|
|
148
|
-
anchorType:
|
|
148
|
+
anchorType: o.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: h("op.loadMovable") });
|
|
156
156
|
}
|
|
@@ -409,7 +409,7 @@ var _ = class extends a {
|
|
|
409
409
|
}
|
|
410
410
|
async _prepareMember(e) {
|
|
411
411
|
if (!e?.type) throw new m("A member needs a type.");
|
|
412
|
-
return this._protectionCheck(h("op.insertDrawing")), await
|
|
412
|
+
return this._protectionCheck(h("op.insertDrawing")), await n({
|
|
413
413
|
type: e.type,
|
|
414
414
|
json: e.json
|
|
415
415
|
}), e;
|
|
@@ -537,10 +537,10 @@ var _ = class extends a {
|
|
|
537
537
|
a.splice(i, 1), a.splice(t, 0, e), this._updateState({ members: a }, { description: n }), this._members._notifyChange();
|
|
538
538
|
}
|
|
539
539
|
_createMember(e, t) {
|
|
540
|
-
let n = this,
|
|
541
|
-
type:
|
|
542
|
-
transactions:
|
|
543
|
-
beginPersistResource:
|
|
540
|
+
let n = this, r = e.content?.type ?? "custom", i = this._createOptions, o, s = {
|
|
541
|
+
type: r,
|
|
542
|
+
transactions: i.transactions,
|
|
543
|
+
beginPersistResource: i.beginPersistResource,
|
|
544
544
|
fromResourceId: t,
|
|
545
545
|
json: e.content?.json,
|
|
546
546
|
name: e.content?.name ?? null,
|
|
@@ -550,10 +550,10 @@ var _ = class extends a {
|
|
|
550
550
|
o?._deleteFromContent();
|
|
551
551
|
},
|
|
552
552
|
getMovable: () => o,
|
|
553
|
-
getStyles:
|
|
554
|
-
getRange:
|
|
555
|
-
addWatch:
|
|
556
|
-
}, l = r
|
|
553
|
+
getStyles: i.getStyles,
|
|
554
|
+
getRange: i.getRange,
|
|
555
|
+
addWatch: i.addWatch
|
|
556
|
+
}, l = a(r, s, {
|
|
557
557
|
getMovable: () => o,
|
|
558
558
|
amend: (e) => n._amend(e),
|
|
559
559
|
isClosed: () => n._closed
|
|
@@ -561,8 +561,8 @@ var _ = class extends a {
|
|
|
561
561
|
return o = new _({
|
|
562
562
|
content: l,
|
|
563
563
|
json: e,
|
|
564
|
-
transactions:
|
|
565
|
-
beginPersistResource:
|
|
564
|
+
transactions: i.transactions,
|
|
565
|
+
beginPersistResource: i.beginPersistResource,
|
|
566
566
|
fromResourceId: t,
|
|
567
567
|
getParent: u,
|
|
568
568
|
onMemberPlacementChange: () => n._rebound(),
|
|
@@ -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 = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), s = (e, n) => {
|
|
8
8
|
let r = {};
|
|
@@ -1,13 +1,13 @@
|
|
|
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 {
|
|
9
|
-
import { Bt as c,
|
|
10
|
-
import { i as x, r as S, t as C } from "./
|
|
7
|
+
import { t as e } from "./D807piM0VSokWz-L.mjs";
|
|
8
|
+
import { Ki as t, Ta as n, aa as r, ia as i, ji as a, na as o, on as s } from "./CkZoDPUCK5jMUaeJ.mjs";
|
|
9
|
+
import { Bt as c, Ct as l, Ht as u, Lt as d, Pt as f, Qt as p, T as m, Ut as h, Y as g, en as _, et as v, lt as y, mt as b } from "./CMChv-fCFh68VQQt.mjs";
|
|
10
|
+
import { i as x, r as S, t as C } from "./Zp5-cTJ0Llb6EfGi.mjs";
|
|
11
11
|
import { FormulaError as w } from "@sheetxl/primitives";
|
|
12
12
|
import { ExpectedError as T, messageKey as E, t as D } from "@sheetxl/utils";
|
|
13
13
|
var O = /<!\[CDATA\[([\s\S]*?)\]\]>|<!--[\s\S]*?-->|<\?[\s\S]*?\?>|<(\/?)([^\s/>]+)((?:\s+[^\s=/>]+\s*=\s*(?:"[^"]*"|'[^']*'))*)\s*(\/?)>|([^<]+)/g, ee = {
|
|
@@ -1093,7 +1093,7 @@ var Et = [
|
|
|
1093
1093
|
color: e
|
|
1094
1094
|
}), Nt = (e) => e?.paragraphs?.[0]?.pPr?.defaultRun, Pt = (e, t) => !(t.type !== "scatter" && t.type !== "bubble" || e.axPos !== "b" && e.axPos !== "t"), Ft = (e, t, n) => {
|
|
1095
1095
|
try {
|
|
1096
|
-
return
|
|
1096
|
+
return b.getEngine().format(e || "General", t, {
|
|
1097
1097
|
date1904: n,
|
|
1098
1098
|
placeholders: !0
|
|
1099
1099
|
}).text ?? "";
|
|
@@ -1184,7 +1184,7 @@ var Gt = class {
|
|
|
1184
1184
|
if (!e) return t;
|
|
1185
1185
|
let n = this.fill(e.fill);
|
|
1186
1186
|
if (n === null) return null;
|
|
1187
|
-
let r = e.lineCap, i = e.dash === void 0 ? t?.dash :
|
|
1187
|
+
let r = e.lineCap, i = e.dash === void 0 ? t?.dash : y.toDashLengths(e.dash) ? e.dash : void 0;
|
|
1188
1188
|
return {
|
|
1189
1189
|
fill: n ?? t?.fill ?? F(this.color("tx1")),
|
|
1190
1190
|
width: typeof e.width == "number" ? e.width : t?.width ?? .75,
|
|
@@ -1216,7 +1216,7 @@ var Gt = class {
|
|
|
1216
1216
|
};
|
|
1217
1217
|
}
|
|
1218
1218
|
typeface(e) {
|
|
1219
|
-
return e && e !==
|
|
1219
|
+
return e && e !== p.ThemeFamily.Body ? e === p.ThemeFamily.Heading ? this._theme.majorFont() : e : this._theme.minorFont();
|
|
1220
1220
|
}
|
|
1221
1221
|
textFont(e, t) {
|
|
1222
1222
|
let n = e.tx?.rich;
|
|
@@ -1479,7 +1479,7 @@ var Gt = class {
|
|
|
1479
1479
|
}(o, i, a, {
|
|
1480
1480
|
order: e.order,
|
|
1481
1481
|
intercept: e.intercept
|
|
1482
|
-
}), c = e.period ?? 2, l = Math.max(0, e.forward ?? 0), u = Math.max(0, e.backward ?? 0), d = e.name ?? `${o === "movingAvg" ? `${c} per. Mov. Avg.` : Ot[o]} (${t.name})`, f = e.spPr ? this.stroke(e.spPr.stroke, this.line(n, 1.5, "round",
|
|
1482
|
+
}), c = e.period ?? 2, l = Math.max(0, e.forward ?? 0), u = Math.max(0, e.backward ?? 0), d = e.name ?? `${o === "movingAvg" ? `${c} per. Mov. Avg.` : Ot[o]} (${t.name})`, f = e.spPr ? this.stroke(e.spPr.stroke, this.line(n, 1.5, "round", y.DashStyle.SysDot)) : this.stroke(void 0, this.line("#000000", this._c14 ? 1 : .5, "round")), p = null;
|
|
1483
1483
|
if (s && (e.dispEq || e.dispRSqr)) {
|
|
1484
1484
|
let t = e.trendlineLbl, n = t?.numFmt?.formatCode, r = n && n !== "General" ? (e) => Ft(n, e, this._date1904) : Ne, i = [];
|
|
1485
1485
|
e.dispEq && i.push(function(e, t) {
|
|
@@ -2140,22 +2140,22 @@ function qt(e, t, n) {
|
|
|
2140
2140
|
return new Gt(e, t, n ?? null).resolve();
|
|
2141
2141
|
}
|
|
2142
2142
|
var Jt = /^\p{White_Space}$/u;
|
|
2143
|
-
function Yt(e =
|
|
2144
|
-
let
|
|
2143
|
+
function Yt(e = n.getShared()) {
|
|
2144
|
+
let t = (t) => e.getByName(t.family, {
|
|
2145
2145
|
bold: t.bold,
|
|
2146
2146
|
italic: t.italic
|
|
2147
2147
|
}).table;
|
|
2148
2148
|
return {
|
|
2149
|
-
width: (e,
|
|
2149
|
+
width: (e, n) => function(e, t, n) {
|
|
2150
2150
|
if (!e.isHinted) return e.width(t, n);
|
|
2151
2151
|
let r = e.advance(32) ?? 0, i = 0;
|
|
2152
2152
|
for (let n of t) i += e.advance(n.codePointAt(0)) ?? (Jt.test(n) ? r : 0);
|
|
2153
2153
|
return i * n;
|
|
2154
|
-
}(n
|
|
2154
|
+
}(t(n), e, n.size),
|
|
2155
2155
|
lineHeight: (e) => {
|
|
2156
|
-
let
|
|
2157
|
-
if (
|
|
2158
|
-
let r =
|
|
2156
|
+
let n = t(e);
|
|
2157
|
+
if (n.typoLine !== null) return n.typoLine * e.size;
|
|
2158
|
+
let r = n.metrics(1e4);
|
|
2159
2159
|
return (r.ascent + r.descent) / 1e4 * e.size;
|
|
2160
2160
|
}
|
|
2161
2161
|
};
|
|
@@ -4066,23 +4066,23 @@ function Qn(e) {
|
|
|
4066
4066
|
function $n(e, t = "days", n = !1) {
|
|
4067
4067
|
let r = Math.floor(e);
|
|
4068
4068
|
if (t === "days") return r;
|
|
4069
|
-
let i = r - (
|
|
4069
|
+
let i = r - (f(r, n) - 1);
|
|
4070
4070
|
if (t === "months") return i;
|
|
4071
|
-
let a =
|
|
4072
|
-
return
|
|
4071
|
+
let a = d(i, n) % 12;
|
|
4072
|
+
return l(i, -a, !1, n);
|
|
4073
4073
|
}
|
|
4074
4074
|
function er(e, t, n, r = !1) {
|
|
4075
|
-
return n === "days" ? e + t :
|
|
4075
|
+
return n === "days" ? e + t : l(e, n === "months" ? t : 12 * t, !1, r);
|
|
4076
4076
|
}
|
|
4077
4077
|
function tr(e, t, n, r = !1) {
|
|
4078
4078
|
if (n === "days") return Math.floor(t) - Math.floor(e);
|
|
4079
|
-
let i =
|
|
4080
|
-
return n === "months" ? i : Math.floor(
|
|
4079
|
+
let i = d(Math.floor(t), r) - d(Math.floor(e), r);
|
|
4080
|
+
return n === "months" ? i : Math.floor(d(Math.floor(t), r) / 12) - Math.floor(d(Math.floor(e), r) / 12);
|
|
4081
4081
|
}
|
|
4082
4082
|
function nr(e, t = !1) {
|
|
4083
4083
|
let n = [...new Set(e.filter(Number.isFinite).map((e) => Math.floor(e)))].sort((e, t) => e - t), r = "years";
|
|
4084
4084
|
for (let e = 1; e < n.length; e++) {
|
|
4085
|
-
let i =
|
|
4085
|
+
let i = d(n[e - 1], t), a = d(n[e], t);
|
|
4086
4086
|
if (i === a) return "days";
|
|
4087
4087
|
Math.floor(i / 12) === Math.floor(a / 12) && (r = "months");
|
|
4088
4088
|
}
|
|
@@ -6134,9 +6134,9 @@ var Hr = (e) => C.get(e.type === "custom" ? `custom:${e.kind}` : e.type), Ur = (
|
|
|
6134
6134
|
...n ? { letterSpacing: 0 } : {},
|
|
6135
6135
|
baseline: 0,
|
|
6136
6136
|
color: W(r),
|
|
6137
|
-
latin:
|
|
6138
|
-
eastAsian:
|
|
6139
|
-
complexScript:
|
|
6137
|
+
latin: p.ThemeFamily.Body,
|
|
6138
|
+
eastAsian: p.ThemeFamily.Body,
|
|
6139
|
+
complexScript: p.ThemeFamily.Body
|
|
6140
6140
|
} },
|
|
6141
6141
|
endRun: { language: "en-US" }
|
|
6142
6142
|
}]
|
|
@@ -7554,7 +7554,7 @@ var Vi = 500000001, Hi = 500000002, Ui = [
|
|
|
7554
7554
|
type: "solid",
|
|
7555
7555
|
color: t.color
|
|
7556
7556
|
})), t.family !== void 0) {
|
|
7557
|
-
let e = t.family ??
|
|
7557
|
+
let e = t.family ?? p.ThemeFamily.Body;
|
|
7558
7558
|
n = J(n, "latin", e), n = J(n, "eastAsian", e), n = J(n, "complexScript", e);
|
|
7559
7559
|
}
|
|
7560
7560
|
return t.fallbacks !== void 0 && (n = J(n, "fallbacks", t.fallbacks?.length ? [...t.fallbacks] : void 0)), n;
|
|
@@ -8193,9 +8193,9 @@ function Wo(e) {
|
|
|
8193
8193
|
return n;
|
|
8194
8194
|
}
|
|
8195
8195
|
var Go = (e, t) => {
|
|
8196
|
-
let n =
|
|
8197
|
-
return n === void 0 ? e : (typeof n == "number" ?
|
|
8198
|
-
}, Ko = (e, t) => e == null ? "blank" : typeof e == "string" ? "text" : typeof e == "number" && t &&
|
|
8196
|
+
let n = c[e];
|
|
8197
|
+
return n === void 0 ? e : (typeof n == "number" ? u(n, t) : void 0) ?? h(n);
|
|
8198
|
+
}, Ko = (e, t) => e == null ? "blank" : typeof e == "string" ? "text" : typeof e == "number" && t && b.getEngine().isDateFormat(t) ? "date" : "number", qo = class {
|
|
8199
8199
|
constructor(e) {
|
|
8200
8200
|
this._sheet = e, this._blocks = [];
|
|
8201
8201
|
}
|
|
@@ -8237,9 +8237,9 @@ var Go = (e, t) => {
|
|
|
8237
8237
|
format(e, t) {
|
|
8238
8238
|
return this._at(e, t).format;
|
|
8239
8239
|
}
|
|
8240
|
-
}, Jo = (e,
|
|
8241
|
-
let
|
|
8242
|
-
return `${
|
|
8240
|
+
}, Jo = (e, n) => {
|
|
8241
|
+
let r = i(e.getName()), a = (e, n) => `$${t(n)}$${o(e)}`, s = a(n.rowStart, n.colStart);
|
|
8242
|
+
return `${r}!${n.rowStart === n.rowEnd && n.colStart === n.colEnd ? s : `${s}:${a(n.rowEnd, n.colEnd)}`}`;
|
|
8243
8243
|
}, Yo = (e) => Jo(e.getWorksheet(), e.getCoords()), Xo = (e) => {
|
|
8244
8244
|
let t = /^\{(.*)\}$/s.exec(e.trim());
|
|
8245
8245
|
if (!t) return null;
|
|
@@ -8283,7 +8283,7 @@ var Go = (e, t) => {
|
|
|
8283
8283
|
};
|
|
8284
8284
|
};
|
|
8285
8285
|
function $o(e, t, n) {
|
|
8286
|
-
let
|
|
8286
|
+
let i, a = null;
|
|
8287
8287
|
if (typeof e == "string") {
|
|
8288
8288
|
let o = e.trim().replace(/^=/, ""), s = Xo(o);
|
|
8289
8289
|
if (s) {
|
|
@@ -8298,19 +8298,19 @@ function $o(e, t, n) {
|
|
|
8298
8298
|
return s.numbers || t === "values" ? { numLit: e } : { strLit: e };
|
|
8299
8299
|
}
|
|
8300
8300
|
if (!o) throw new T(D("error.chart.noData"));
|
|
8301
|
-
|
|
8302
|
-
} else
|
|
8303
|
-
if (t === "values") return { numRef: { f:
|
|
8304
|
-
if (!
|
|
8305
|
-
let o =
|
|
8306
|
-
if (o.rowEnd > o.rowStart && o.colEnd > o.colStart) return { multiLvlStrRef: { f:
|
|
8307
|
-
let s =
|
|
8301
|
+
a = Zo(o, n), i = a && r(o) ? Yo(a) : o;
|
|
8302
|
+
} else a = e, i = Yo(e);
|
|
8303
|
+
if (t === "values") return { numRef: { f: i } };
|
|
8304
|
+
if (!a || a.isInvalid()) return { strRef: { f: i } };
|
|
8305
|
+
let o = a.getCoords();
|
|
8306
|
+
if (o.rowEnd > o.rowStart && o.colEnd > o.colStart) return { multiLvlStrRef: { f: i } };
|
|
8307
|
+
let s = a.getValues(), c = a.getNumberFormats(), l = 0;
|
|
8308
8308
|
for (let e = 0; e < s.length; e++) for (let t = 0; t < s[e].length; t++) {
|
|
8309
8309
|
let n = Ko(s[e][t], c[e]?.[t] ?? "");
|
|
8310
|
-
if (n === "text") return { strRef: { f:
|
|
8310
|
+
if (n === "text") return { strRef: { f: i } };
|
|
8311
8311
|
n !== "blank" && l++;
|
|
8312
8312
|
}
|
|
8313
|
-
return l > 0 ? { numRef: { f:
|
|
8313
|
+
return l > 0 ? { numRef: { f: i } } : { strRef: { f: i } };
|
|
8314
8314
|
}
|
|
8315
8315
|
function es(e, t) {
|
|
8316
8316
|
if (typeof e != "string") return e.isInvalid() ? 0 : e.size;
|
|
@@ -8401,7 +8401,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8401
8401
|
}, Q = (e) => ({
|
|
8402
8402
|
type: "solid",
|
|
8403
8403
|
color: e
|
|
8404
|
-
}), $ = (e, t, n, r, i) => new
|
|
8404
|
+
}), $ = (e, t, n, r, i) => new m({
|
|
8405
8405
|
getData: () => {
|
|
8406
8406
|
let e = t();
|
|
8407
8407
|
return {
|
|
@@ -8430,7 +8430,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8430
8430
|
}
|
|
8431
8431
|
getFamily() {
|
|
8432
8432
|
let e = this._pick("latin");
|
|
8433
|
-
return e && e !==
|
|
8433
|
+
return e && e !== p.ThemeFamily.Body ? e === p.ThemeFamily.Heading ? this._host.theme().majorFont() : e : this._host.theme().minorFont();
|
|
8434
8434
|
}
|
|
8435
8435
|
setFamily(e, t) {
|
|
8436
8436
|
return this.update({ family: e }, t);
|
|
@@ -8443,7 +8443,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8443
8443
|
}
|
|
8444
8444
|
getThemeFamily() {
|
|
8445
8445
|
let e = this._pick("latin");
|
|
8446
|
-
return e && e !==
|
|
8446
|
+
return e && e !== p.ThemeFamily.Body ? e === p.ThemeFamily.Heading ? e : null : p.ThemeFamily.Body;
|
|
8447
8447
|
}
|
|
8448
8448
|
getFallbacks() {
|
|
8449
8449
|
return this._pick("fallbacks") ?? [];
|
|
@@ -8470,19 +8470,19 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8470
8470
|
return this.update({ bold: e }, t);
|
|
8471
8471
|
}
|
|
8472
8472
|
getItalic() {
|
|
8473
|
-
return this._pick("style") ===
|
|
8473
|
+
return this._pick("style") === _.Style.Italic;
|
|
8474
8474
|
}
|
|
8475
8475
|
setItalic(e, t) {
|
|
8476
8476
|
return this.update({ italic: e }, t);
|
|
8477
8477
|
}
|
|
8478
8478
|
getUnderline() {
|
|
8479
|
-
return this._pick("underline") ??
|
|
8479
|
+
return this._pick("underline") ?? _.UnderlineStyle.None;
|
|
8480
8480
|
}
|
|
8481
8481
|
setUnderline(e, t) {
|
|
8482
8482
|
return this.update({ underline: e }, t);
|
|
8483
8483
|
}
|
|
8484
8484
|
getStrike() {
|
|
8485
|
-
return this._pick("strike") ??
|
|
8485
|
+
return this._pick("strike") ?? _.StrikeStyle.None;
|
|
8486
8486
|
}
|
|
8487
8487
|
setStrike(e, t) {
|
|
8488
8488
|
return this.update({ strike: e }, t);
|
|
@@ -8513,14 +8513,14 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8513
8513
|
e.family !== void 0 && (r.family = e.family), e.fallbacks !== void 0 && (r.fallbacks = e.fallbacks), e.size !== void 0 && (r.size = n(e.size, (e) => e > 0) ?? this._defaults.size);
|
|
8514
8514
|
let i = e.weight ?? (e.bold === void 0 || e.bold === null ? e.bold : e.bold ? 700 : 400);
|
|
8515
8515
|
i !== void 0 && (r.weight = n(typeof i == "string" ? i === "bold" ? 700 : i === "normal" ? 400 : Number(i) : i, (e) => e >= 1 && e <= 1e3) ?? (this._defaults.bold ? 700 : 400));
|
|
8516
|
-
let a = e.style ?? (e.italic === void 0 || e.italic === null ? e.italic : e.italic ?
|
|
8517
|
-
if (a !== void 0 && (r.italic = a ===
|
|
8518
|
-
let n = !0 === e.underline ?
|
|
8519
|
-
n !==
|
|
8516
|
+
let a = e.style ?? (e.italic === void 0 || e.italic === null ? e.italic : e.italic ? _.Style.Italic : _.Style.Normal);
|
|
8517
|
+
if (a !== void 0 && (r.italic = a === _.Style.Italic), e.color !== void 0 && (r.color = e.color === null ? null : Ms(this._host, String(e.color))), e.underline !== void 0) {
|
|
8518
|
+
let n = !0 === e.underline ? _.UnderlineStyle.Single : e.underline || _.UnderlineStyle.None;
|
|
8519
|
+
n !== _.UnderlineStyle.SingleAccounting && n !== _.UnderlineStyle.DoubleAccounting && Object.values(_.UnderlineStyle).includes(n) || t(n), r.underline = n;
|
|
8520
8520
|
}
|
|
8521
8521
|
if (e.strike !== void 0) {
|
|
8522
|
-
let n = e.strike ??
|
|
8523
|
-
Object.values(
|
|
8522
|
+
let n = e.strike ?? _.StrikeStyle.None;
|
|
8523
|
+
Object.values(_.StrikeStyle).includes(n) || t(n), r.strike = n;
|
|
8524
8524
|
}
|
|
8525
8525
|
return e.letterSpacing !== void 0 && (r.letterSpacing = n(e.letterSpacing, (e) => Math.abs(e) <= 4e3) ?? 0), e.baseline !== void 0 && (r.baseline = n(e.baseline, () => !0) ?? 0), this._write(r);
|
|
8526
8526
|
}
|
|
@@ -8543,11 +8543,11 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8543
8543
|
}
|
|
8544
8544
|
toCSS(e, t = 1) {
|
|
8545
8545
|
return {
|
|
8546
|
-
fontFamily:
|
|
8547
|
-
fontSize: this.getSize() *
|
|
8546
|
+
fontFamily: g(this.getFamily(), this.getFallbacks()),
|
|
8547
|
+
fontSize: this.getSize() * _.getDeviceScale() * t + "px",
|
|
8548
8548
|
fontWeight: this.getWeight(),
|
|
8549
|
-
fontStyle: this.getItalic() ?
|
|
8550
|
-
textDecoration:
|
|
8549
|
+
fontStyle: this.getItalic() ? _.Style.Italic : _.Style.Normal,
|
|
8550
|
+
textDecoration: v(this.getUnderline(), this.getStrike()),
|
|
8551
8551
|
letterSpacing: `${this.getLetterSpacing()}pt`,
|
|
8552
8552
|
color: this.getColor().toCSS(e)
|
|
8553
8553
|
};
|
|
@@ -8557,7 +8557,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8557
8557
|
family: this.getThemeFamily() ?? this.getFamily(),
|
|
8558
8558
|
size: this.getSize(),
|
|
8559
8559
|
weight: this.getWeight(),
|
|
8560
|
-
style: this.getItalic() ?
|
|
8560
|
+
style: this.getItalic() ? _.Style.Italic : _.Style.Normal,
|
|
8561
8561
|
color: String(this.getColor()),
|
|
8562
8562
|
underline: this.getUnderline(),
|
|
8563
8563
|
strike: this.getStrike(),
|
|
@@ -11761,9 +11761,9 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
11761
11761
|
let t = {};
|
|
11762
11762
|
for (let [n, r] of Object.entries(e ?? {})) r !== void 0 && (t[n] = r);
|
|
11763
11763
|
return t;
|
|
11764
|
-
}, Bc = class
|
|
11764
|
+
}, Bc = class t extends e {
|
|
11765
11765
|
constructor(e) {
|
|
11766
|
-
super(e), this._part = null, this._readSource = null, this._read = null, this._partModel = null, this._series = null, this._parts = null, this._held = null, this._heldModel = null, this._heldBefore = /* @__PURE__ */ new WeakMap(), this._layoutListeners = 0, this._layoutSources = null, this._dataListeners = /* @__PURE__ */ new Map(), this._sheetListeners = /* @__PURE__ */ new Map(), this._layoutQueued = !1, this._getStyles = e.getStyles ?? null, this._canHold = !!e.addWatch, e.json && (this._part =
|
|
11766
|
+
super(e), this._part = null, this._readSource = null, this._read = null, this._partModel = null, this._series = null, this._parts = null, this._held = null, this._heldModel = null, this._heldBefore = /* @__PURE__ */ new WeakMap(), this._layoutListeners = 0, this._layoutSources = null, this._dataListeners = /* @__PURE__ */ new Map(), this._sheetListeners = /* @__PURE__ */ new Map(), this._layoutQueued = !1, this._getStyles = e.getStyles ?? null, this._canHold = !!e.addWatch, e.json && (this._part = s.fromJSON(e.json.part, e.fromResourceId), this._updateState({ data: e.json }), this._partModel = e.json.model ?? null), this._syncHolds();
|
|
11767
11767
|
}
|
|
11768
11768
|
_syncHolds() {
|
|
11769
11769
|
if (!this._canHold) return;
|
|
@@ -11861,7 +11861,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
11861
11861
|
}
|
|
11862
11862
|
_rangeAt(e) {
|
|
11863
11863
|
let t = this._formulaAt(e);
|
|
11864
|
-
if (!t || !
|
|
11864
|
+
if (!t || !r(t)) return null;
|
|
11865
11865
|
try {
|
|
11866
11866
|
return this._resolveRange(t);
|
|
11867
11867
|
} catch {
|
|
@@ -12163,10 +12163,10 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12163
12163
|
return e && "groups" in e ? e : this._getLayout(e);
|
|
12164
12164
|
}
|
|
12165
12165
|
_hitNames(e) {
|
|
12166
|
-
let
|
|
12167
|
-
if (
|
|
12166
|
+
let n = t._hitNamesOf.get(e);
|
|
12167
|
+
if (n) return n;
|
|
12168
12168
|
let r = this._nameHits();
|
|
12169
|
-
return
|
|
12169
|
+
return t._hitNamesOf.set(e, r), r;
|
|
12170
12170
|
}
|
|
12171
12171
|
_nameHits() {
|
|
12172
12172
|
let e = this._getParts(), t = /* @__PURE__ */ new Map();
|
|
@@ -12502,7 +12502,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12502
12502
|
return e && fe(e) ? qt(e, Tt(this._styles()), this._dataReader()) : null;
|
|
12503
12503
|
}
|
|
12504
12504
|
_styles() {
|
|
12505
|
-
return this._getStyles?.() ?? (
|
|
12505
|
+
return this._getStyles?.() ?? (t._defaultStyles ??= new a());
|
|
12506
12506
|
}
|
|
12507
12507
|
getPivotSource() {
|
|
12508
12508
|
return this._getFacts()?.pivotSource ?? null;
|
|
@@ -12665,17 +12665,17 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12665
12665
|
if (this._layoutListeners += e, this._layoutListeners > 0 && !this._layoutSources && !this._closed) {
|
|
12666
12666
|
let e = () => {
|
|
12667
12667
|
this._closed || this._emitter.notify("onLayoutChange");
|
|
12668
|
-
},
|
|
12668
|
+
}, t = this.getMovable(), r = () => JSON.stringify(t?.getBounds() ?? null), i = r(), a = [
|
|
12669
12669
|
this._emitter.addListeners({
|
|
12670
12670
|
onAnyChange: e,
|
|
12671
12671
|
onReferencesChange: () => this._syncDataListeners()
|
|
12672
12672
|
}),
|
|
12673
|
-
|
|
12673
|
+
t?.addListeners({ onBoundsChange: () => {
|
|
12674
12674
|
let t = r();
|
|
12675
12675
|
t !== i && (i = t, e());
|
|
12676
12676
|
} }),
|
|
12677
12677
|
this._getStyles?.()?.addListeners({ onThemeChange: e }),
|
|
12678
|
-
|
|
12678
|
+
n.getShared().addListeners({ onCollectionChange: e })
|
|
12679
12679
|
];
|
|
12680
12680
|
this._layoutSources = a.filter((e) => !!e), this._syncDataListeners();
|
|
12681
12681
|
} else this._layoutListeners <= 0 && this._layoutSources && this._releaseLayoutSources();
|
|
@@ -12783,12 +12783,12 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12783
12783
|
toJSON(e) {
|
|
12784
12784
|
let t = this._getState();
|
|
12785
12785
|
if (!t?.data) return null;
|
|
12786
|
-
let n = { ...t.data }, r = this._getModel(),
|
|
12787
|
-
if (r &&
|
|
12788
|
-
else if (r &&
|
|
12786
|
+
let n = { ...t.data }, r = this._getModel(), i = this._getRead()?.slots, a = (e) => this._movedAt(e);
|
|
12787
|
+
if (r && i && !M(r)) n.model = we(r, i, { movedAt: a });
|
|
12788
|
+
else if (r && i) {
|
|
12789
12789
|
let e = /* @__PURE__ */ new Map();
|
|
12790
|
-
n.model = we(r,
|
|
12791
|
-
movedAt:
|
|
12790
|
+
n.model = we(r, i, {
|
|
12791
|
+
movedAt: a,
|
|
12792
12792
|
cacheOf: (t, n) => {
|
|
12793
12793
|
let r = n === "multiLvlStr" ? null : this._plotRange(t);
|
|
12794
12794
|
if (!r) return this._cacheOf(t, n);
|
|
@@ -12797,8 +12797,8 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12797
12797
|
}
|
|
12798
12798
|
});
|
|
12799
12799
|
}
|
|
12800
|
-
let
|
|
12801
|
-
return
|
|
12800
|
+
let o = s.toJSON(this._part, e);
|
|
12801
|
+
return o ? ((n.model ?? null) !== this._partModel && delete o.xml, n.part = o) : delete n.part, n;
|
|
12802
12802
|
}
|
|
12803
12803
|
getTypeDescription() {
|
|
12804
12804
|
return "Chart";
|
|
@@ -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 = [], t = Object.freeze({
|
|
8
8
|
mathDivide: {
|
|
@@ -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
7
|
async function e() {
|
|
8
8
|
try {
|
|
9
9
|
return (await import("@sheetxl/sdk/scripting-enums.json", { with: { type: "json" } })).default;
|
|
10
10
|
} catch {
|
|
11
|
-
let e = "@0.8.0-beta.
|
|
11
|
+
let e = "@0.8.0-beta.16";
|
|
12
12
|
return e !== "@local" && e !== "@0.0.0" || (e = ""), async function(e) {
|
|
13
13
|
let t = await fetch(e);
|
|
14
14
|
if (!t.ok) throw Error(`Unable to load script enum runtime (${t.status}) from ${e}.`);
|