@sheetxl/sdk 0.8.0-beta.12 → 0.8.0-beta.14
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/THIRD-PARTY-NOTICES.md +172 -0
- package/browser/esm/{CBYMTDzMf1Vh7pkw.mjs → 3t4S9eda2I6jFad0.mjs} +1 -1
- package/browser/esm/{Bg5Di9GLNAkbqQ1P.mjs → AXlD9K1gCwPU4gCO.mjs} +1926 -1298
- package/browser/esm/{w6Jea0TiclPrYZ2M.mjs → B1aH_qa-czVyEVHd.mjs} +509 -509
- package/browser/esm/{DZiivy0NmO1Vnyzk.mjs → BEDfJP2tcuRy2Y2E.mjs} +2 -2
- package/browser/esm/{BdCJNawfifyPupCP.mjs → BLYl-afJe_3std8i.mjs} +1 -1
- package/browser/esm/{D2RZh0O9neOsyLAE.mjs → BPPMKyMn65i1a1mE.mjs} +69 -48
- package/browser/esm/{yuhcOYw6SHQ-RCm3.mjs → BSXQAXwZdJKYTO4P.mjs} +30 -30
- package/browser/esm/{-Jx-jNHmtIQQfLvK.mjs → BVqIknGhQCLUB_7Q.mjs} +1 -1
- package/browser/esm/{fXWUMDhZ5yMSO629.mjs → BWoz4kQdA5KKJfl6.mjs} +1 -1
- package/browser/esm/{DwwR3O2sEZApPSTF.mjs → Bdcd3QOzsc0aVMjN.mjs} +3 -3
- package/browser/esm/{2mIwPy2D2JUX-9wx.mjs → BpwULQPKbb4R9Jew.mjs} +2 -2
- package/browser/esm/{CwOPLXU3-9ZHGyOT.mjs → C7hpfT-sX2lyLS-D.mjs} +1 -1
- package/browser/esm/{BIHrHjRGWVlJglcp.mjs → CImFKFaYToUH-bSE.mjs} +2 -2
- package/browser/esm/{BTFBedJMRWGvZyCE.mjs → CM_X1zZYzEUPaNJL.mjs} +1 -1
- package/browser/esm/CPIWV3Enlh_BF2TY.mjs +19 -0
- package/browser/esm/{CndRBvVfQUJIYRRj.mjs → ChYgQL-8qIDFmX31.mjs} +50 -50
- package/browser/esm/{BudSIfXBAsTxvu-K.mjs → CtC__ALh4I8PKIln.mjs} +10071 -9246
- package/browser/esm/{qO-ujUrgq6H3TQix.mjs → Cy8uYCggktF83278.mjs} +1 -1
- package/browser/esm/D2NFcBM4xsv0JJ1q.mjs +184 -0
- package/browser/esm/{D9xNz46kAfXMZzp4.mjs → D39XcmtPXVtMN4yF.mjs} +2 -2
- package/browser/esm/{CdEO8CEee6lEhabA.mjs → DBvu0tdSf-5vol4e.mjs} +2 -2
- package/browser/esm/{Tah7cnFb_HNZdLtj.mjs → DIfAk63CvaOZ3QKi.mjs} +3 -3
- package/browser/esm/{B3wf5vZCsWfWsDbj.mjs → D_XMi4_5iO2rkET5.mjs} +1 -1
- package/browser/esm/{DgrAuRD2qr2DvFeJ.mjs → Dh84MDs-OhdCPCIg.mjs} +44 -44
- package/browser/esm/{DPhGQLNGmDZwODwJ.mjs → Dhw5XEJYFrkYjdU2.mjs} +94 -94
- package/browser/esm/{Cxjxk0ncRKx80I-w.mjs → DiXeQjc0WJGLSVEo.mjs} +1 -1
- package/browser/esm/DnR0xY7_iE3TmMcg.mjs +348 -0
- package/browser/esm/{DK899HhWX1HINMC1.mjs → DnqwX3-2NfGBaXXl.mjs} +25 -25
- package/browser/esm/{D64dM68B1pKYFzdP.mjs → DonQz2Tc3k9lNT8E.mjs} +2 -2
- package/browser/esm/{Bt8_m94tBdks209L.mjs → DvvqmUQ9Z0NFm1-4.mjs} +1 -1
- package/browser/esm/{BnC4-27Igwb8oDf2.mjs → Ln4gsmhqH1LyoANj.mjs} +44 -43
- package/browser/esm/{CUzYuYTTGsChC_kZ.mjs → MuNBN02MyZ558c_K.mjs} +2052 -1583
- package/browser/esm/{CRkYR-siY2C994KV.mjs → SwLp-iElwDjfcJtv.mjs} +1 -1
- package/browser/esm/{C9u8FUewte5ugUjH.mjs → UMQTbO0zNmBpzW1V.mjs} +725 -716
- package/browser/esm/aRXqxIzjuSLwawMh.mjs +18 -0
- package/browser/esm/index.mjs +482 -440
- package/browser/esm/{hCQJcmIzPDxDEv2q.mjs → oSCy1X5CJ1iYtGDp.mjs} +2 -2
- package/browser/esm/{DobHLF6VjHr7Xi40.mjs → qCqzZW74-fhaIG2V.mjs} +1 -1
- package/browser/esm/{CNdjyofiRu6CYOrr.mjs → r_EZapMBdyS4gUd-.mjs} +50 -48
- package/browser/esm/yuF8SbWfjBfrxcq5.mjs +367 -0
- package/licenses/dependencies.txt +71 -1
- package/node/esm/99miMotf3dOuG5Jk.mjs +372 -0
- package/node/esm/{-TA0MneBDKdGhsib.mjs → B3hBxzqJ2_hUylNr.mjs} +3329 -2852
- package/node/esm/{BNXLOEddJ6O9gYws.mjs → B5VmOC0jO9Zbh9Mq.mjs} +2 -2
- package/node/esm/{DhS6yWjrrSNIJMsn.mjs → B6jhx5pHPs2W5GE7.mjs} +234 -225
- package/node/esm/{DUTmDHbFbhLDT4F3.mjs → BCjHRVU8tC5lYypg.mjs} +1 -1
- package/node/esm/BEBt5fo__rvT2q_u.mjs +310 -0
- package/node/esm/{icn2nX5Z8e_3mNAv.mjs → BELc5aQ_pFPgbiso.mjs} +1 -1
- package/node/esm/{DrCf6ITcBhVOFpRj.mjs → BEdxa3I4VOiCsvy7.mjs} +7 -7
- package/node/esm/{D3ptRKzASqBut1DE.mjs → BLPrFp_jKGYgWPX1.mjs} +2 -2
- package/node/esm/{BskP3b8vUoIOGLY6.mjs → BSVttk12GXNfKZ9k.mjs} +2 -2
- package/node/esm/{D4ROK9UwDpS6jO3Z.mjs → BXg-D8Rc_iyB8p7X.mjs} +1 -1
- package/node/esm/{DV5CU37aEbFbWFL0.mjs → BfEdeOg4iYXaYTlh.mjs} +1 -1
- package/node/esm/BuyAYLI4s33-vmgG.mjs +18 -0
- package/node/esm/{C_xf5Bz30VqiJjXn.mjs → C-5JLSNof0FhkuFd.mjs} +1 -1
- package/node/esm/{eimUGjiIP-b8HiM6.mjs → C3S4hF1vn0NyJPPd.mjs} +52 -52
- package/node/esm/{BL2iiEoqxDEV2Xrg.mjs → CI8UIWR01z9QDlzH.mjs} +3348 -2610
- package/node/esm/{pYtP7wPyS96NQyXS.mjs → CPsGyt3vnOdLTShj.mjs} +25 -25
- package/node/esm/{CG-qBU5BAaVz7e-P.mjs → Ccocd9DTvOnlOE9D.mjs} +1 -1
- package/node/esm/{C14-R6tifRh7pc0p.mjs → CdSTmD2ZvG9NesNR.mjs} +1 -1
- package/node/esm/{Q_S1g46ZOTrdhTae.mjs → Crn6dnSQQRCQAnQ-.mjs} +1 -1
- package/node/esm/{DdoiuKg9BKubtF1V.mjs → Cyeq1rDslIqF1LKz.mjs} +1 -1
- package/node/esm/{Ci_zLYmCD7e-C79O.mjs → D30rC6AWaGGf3CaC.mjs} +1 -1
- package/node/esm/D4Y1WJgjiFEgbWrW.mjs +115 -0
- package/node/esm/{Vocy-I9dKzZMr0Ct.mjs → DLdXl0O0TXuyqLU4.mjs} +10898 -10685
- package/node/esm/{D8hO07ToAibIuniw.mjs → DbPUG2DcQ3T_QhcJ.mjs} +138 -136
- package/node/esm/{lGJ42sHqg5if2bba.mjs → DeFE8QfuCeGw-mvd.mjs} +458 -458
- package/node/esm/{CiIymQN6aJCul62g.mjs → DiCMnYA2bttmrX3q.mjs} +9 -9
- package/node/esm/{DhTya_mhmN53vskv.mjs → Dlk2ZYExFgQ0xE2H.mjs} +1 -1
- package/node/esm/{Btw4148Ot8ifhNc1.mjs → I-FZojIFWluC6X-j.mjs} +1 -1
- package/node/esm/{C99zzq8DImQXi4BQ.mjs → Lj98EH6coGdKUzuS.mjs} +10 -10
- package/node/esm/{B-HUPAcqvK0eeeCz.mjs → NA-8urR7T1NCwrgD.mjs} +38 -37
- package/node/esm/{DxazKtROyaI51dWl.mjs → YpOpRyciqQLIY1-G.mjs} +1 -1
- package/node/esm/{CkRYLed8Mmn3giNg.mjs → b3XnssSr9lmvAC2N.mjs} +2 -2
- package/node/esm/clgEkmEwfB28nkz2.mjs +351 -0
- package/node/esm/index.mjs +584 -540
- package/node/esm/{CRt3vXe6YmXzqk3H.mjs → pF2vCOTmrxPAB41Q.mjs} +102 -102
- package/node/esm/{CBuEu5Jk-LfaDy-H.mjs → uLrulyR7IXq0SF4j.mjs} +44 -44
- package/node/esm/{C_aL7CGS1lrNn1Ng.mjs → xRGObcoaGDnAZFnj.mjs} +1 -1
- package/package.json +10 -7
- package/resources/contents.json +108 -0
- package/resources/fonts/aptos-bold-italic.hinted.json +125 -0
- package/resources/fonts/aptos-bold-italic.metrics.json +221 -0
- package/resources/fonts/aptos-bold-italic.rows.json +8 -0
- package/resources/fonts/aptos-bold.hinted.json +125 -0
- package/resources/fonts/aptos-bold.metrics.json +221 -0
- package/resources/fonts/aptos-bold.rows.json +8 -0
- package/resources/fonts/aptos-display-bold-italic.hinted.json +125 -0
- package/resources/fonts/aptos-display-bold-italic.metrics.json +221 -0
- package/resources/fonts/aptos-display-bold-italic.rows.json +8 -0
- package/resources/fonts/aptos-display-bold.hinted.json +125 -0
- package/resources/fonts/aptos-display-bold.metrics.json +221 -0
- package/resources/fonts/aptos-display-bold.rows.json +8 -0
- package/resources/fonts/aptos-display-italic.hinted.json +124 -0
- package/resources/fonts/aptos-display-italic.metrics.json +221 -0
- package/resources/fonts/aptos-display-italic.rows.json +8 -0
- package/resources/fonts/aptos-display-regular.hinted.json +125 -0
- package/resources/fonts/aptos-display-regular.metrics.json +221 -0
- package/resources/fonts/aptos-display-regular.rows.json +8 -0
- package/resources/fonts/aptos-italic.hinted.json +125 -0
- package/resources/fonts/aptos-italic.metrics.json +221 -0
- package/resources/fonts/aptos-italic.rows.json +8 -0
- package/resources/fonts/aptos-narrow-bold-italic.hinted.json +125 -0
- package/resources/fonts/aptos-narrow-bold-italic.metrics.json +221 -0
- package/resources/fonts/aptos-narrow-bold-italic.rows.json +8 -0
- package/resources/fonts/aptos-narrow-bold.hinted.json +125 -0
- package/resources/fonts/aptos-narrow-bold.metrics.json +221 -0
- package/resources/fonts/aptos-narrow-bold.rows.json +8 -0
- package/resources/fonts/aptos-narrow-italic.hinted.json +125 -0
- package/resources/fonts/aptos-narrow-italic.metrics.json +221 -0
- package/resources/fonts/aptos-narrow-italic.rows.json +8 -0
- package/resources/fonts/aptos-narrow-regular.hinted.json +125 -0
- package/resources/fonts/aptos-narrow-regular.metrics.json +221 -0
- package/resources/fonts/aptos-narrow-regular.rows.json +8 -0
- package/resources/fonts/aptos-regular.hinted.json +125 -0
- package/resources/fonts/aptos-regular.metrics.json +221 -0
- package/resources/fonts/aptos-regular.rows.json +8 -0
- package/resources/fonts/arial-bold-italic.rows.json +0 -1
- package/resources/fonts/arial-bold.rows.json +0 -1
- package/resources/fonts/arial-italic.rows.json +0 -1
- package/resources/fonts/arial-regular.rows.json +0 -1
- package/resources/fonts/calibri-bold-italic.rows.json +0 -1
- package/resources/fonts/calibri-bold.rows.json +0 -1
- package/resources/fonts/calibri-italic.rows.json +0 -1
- package/resources/fonts/calibri-regular.rows.json +0 -1
- package/resources/fonts/cambria-bold-italic.rows.json +0 -1
- package/resources/fonts/cambria-bold.rows.json +0 -1
- package/resources/fonts/cambria-italic.rows.json +0 -1
- package/resources/fonts/cambria-regular.rows.json +0 -1
- package/resources/fonts/contents.json +240 -0
- package/resources/fonts/courier-new-bold-italic.rows.json +0 -1
- package/resources/fonts/courier-new-bold.rows.json +0 -1
- package/resources/fonts/courier-new-italic.rows.json +0 -1
- package/resources/fonts/courier-new-regular.rows.json +0 -1
- package/resources/fonts/times-new-roman-bold-italic.rows.json +0 -1
- package/resources/fonts/times-new-roman-bold.rows.json +0 -1
- package/resources/fonts/times-new-roman-italic.rows.json +0 -1
- package/resources/fonts/times-new-roman-regular.rows.json +0 -1
- package/resources/locales/de/model.msg.json +4 -0
- package/resources/locales/en/model.msg.json +4 -0
- package/types/scripting-api.json +9339 -9320
- package/types/scripting.d.ts +322 -200
- package/types/src/.generated/wasm/sdk.d.ts +5 -27
- package/types/src/address/AddressUtils.d.ts +8 -0
- package/types/src/address/_SheetNameQuoteChars.d.ts +3 -0
- package/types/src/anomalies/_FocusTable.d.ts +0 -6
- package/types/src/calculation/Calculation.d.ts +20 -95
- package/types/src/calculation/ExternalBookBindings.d.ts +0 -26
- package/types/src/calculation/NamedFormulaCollection.d.ts +6 -2
- package/types/src/calculation/TokenType.d.ts +0 -10
- package/types/src/calculation/_CloneBoundary.d.ts +0 -24
- package/types/src/calculation/_FormulaToolkit.d.ts +0 -5
- package/types/src/calculation/compiler/ASTTypes.d.ts +0 -13
- package/types/src/calculation/compiler/CompilerUtils.d.ts +0 -227
- package/types/src/calculation/compiler/FormulaLexer.d.ts +0 -8
- package/types/src/calculation/compiler/FormulaParser.d.ts +0 -61
- package/types/src/calculation/compiler/ParserUtils.d.ts +0 -24
- package/types/src/calculation/compiler/Types.d.ts +0 -52
- package/types/src/calculation/engine/CalcBackend.d.ts +15 -157
- package/types/src/calculation/engine/index.d.ts +0 -8
- package/types/src/calculation/executor/CalcExecutor.d.ts +13 -130
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +30 -11
- package/types/src/calculation/executor/CircularReference.d.ts +0 -17
- package/types/src/calculation/executor/_BlockOrder.d.ts +29 -0
- package/types/src/calculation/executor/_WhatIf.d.ts +0 -19
- package/types/src/calculation/formula/FormulaBlock.d.ts +0 -28
- package/types/src/calculation/formula/FormulaRecordView.d.ts +0 -15
- package/types/src/calculation/formula/IFormulaBlock.d.ts +0 -12
- package/types/src/calculation/formula/LambdaValue.d.ts +0 -15
- package/types/src/calculation/formula/TokenUtils.d.ts +1 -8
- package/types/src/calculation/grid/CalcGrid.d.ts +5 -59
- package/types/src/calculation/grid/CalcGridBackend.d.ts +8 -9
- package/types/src/calculation/grid/CalcGridProxy.d.ts +0 -13
- package/types/src/calculation/grid/CalcGridUtils.d.ts +18 -22
- package/types/src/calculation/grid/ICalcGrid.d.ts +13 -98
- package/types/src/calculation/grid/_CalcRequest.d.ts +1 -29
- package/types/src/calculation/spatial/CircularEntry.d.ts +0 -10
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +52 -82
- package/types/src/calculation/spatial/SpillEntry.d.ts +10 -7
- package/types/src/calculation/state/CalcScope.d.ts +0 -9
- package/types/src/calculation/state/CalcState.d.ts +0 -12
- package/types/src/calculation/state/CalculationContext.d.ts +4 -37
- package/types/src/calculation/state/DeferredCalls.d.ts +11 -64
- package/types/src/calculation/state/IContextContainer.d.ts +4 -60
- package/types/src/calculation/state/_KeepBlanks.d.ts +5 -0
- package/types/src/calculation/state/_PendingOverlayGrid.d.ts +46 -33
- package/types/src/calculation/state/_WhatIfLayer.d.ts +0 -14
- package/types/src/calculation/symbol/ExternalSheetSymbols.d.ts +0 -42
- package/types/src/calculation/symbol/ISymbolRegistry.d.ts +0 -6
- package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +0 -12
- package/types/src/calculation/symbol/SymbolRegistry.d.ts +0 -9
- package/types/src/calculation/toolkit/index.d.ts +0 -8
- package/types/src/cell/ICell.d.ts +14 -28
- package/types/src/cellRange/ICellRange.d.ts +22 -11
- package/types/src/chart/Chart.d.ts +0 -16
- package/types/src/chart/_ChartParts.d.ts +0 -39
- package/types/src/chart/_ChartSource.d.ts +0 -14
- package/types/src/chart/createChart.d.ts +1 -1
- package/types/src/chart/kinds/ChartKind.d.ts +4 -4
- package/types/src/chart/kinds/_Placeholder.d.ts +0 -1
- package/types/src/chart/layout/TextMeasurer.d.ts +0 -20
- package/types/src/chart/layout/_LayoutUtils.d.ts +0 -16
- package/types/src/chart/math/BoxStats.d.ts +0 -8
- package/types/src/chart/math/DateUnitCalcs.d.ts +0 -10
- package/types/src/chart/math/Histogram.d.ts +0 -17
- package/types/src/chart/math/OrdUnitCalcs.d.ts +0 -53
- package/types/src/chart/math/Treemap.d.ts +0 -15
- package/types/src/chart/math/Trendlines.d.ts +0 -8
- package/types/src/chart/math/UnitCalcs.d.ts +0 -22
- package/types/src/chart/model/_Edits.d.ts +0 -33
- package/types/src/chart/model/_Grouping.d.ts +0 -25
- package/types/src/chart/model/_Inference.d.ts +0 -18
- package/types/src/chart/model/_NewChart.d.ts +0 -41
- package/types/src/chart/model/_OfPie.d.ts +0 -7
- package/types/src/chart/resolve/_LegacyStyles.d.ts +0 -20
- package/types/src/chart/resolve/_Resolve.d.ts +0 -19
- package/types/src/chart/resolve/_ResolvedChart.d.ts +0 -6
- package/types/src/collections/_GridUtils.d.ts +0 -10
- package/types/src/comment/_NoteBox.d.ts +0 -15
- package/types/src/condition/AnchoredConditional.d.ts +1 -23
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +0 -49
- package/types/src/condition/BuiltinSelectors/DisplaySelector.d.ts +0 -10
- package/types/src/condition/ICondition.d.ts +2 -2
- package/types/src/condition/_ConditionUtils.d.ts +0 -38
- package/types/src/externalBook/ExternalBookCollection.d.ts +0 -15
- package/types/src/externalBook/ExternalBookName.d.ts +2 -3
- package/types/src/externalBook/IExternalBook.d.ts +13 -14
- package/types/src/fetch/IFetcher.d.ts +2 -1
- package/types/src/fetch/_WorkbookFetch.d.ts +1 -1
- package/types/src/font/AdvanceTable.d.ts +16 -42
- package/types/src/font/IFont.d.ts +32 -9
- package/types/src/font/TableFileAdvanceBuilder.d.ts +6 -3
- package/types/src/font/_FontUtils.d.ts +0 -8
- package/types/src/font/_StandIns.d.ts +33 -0
- package/types/src/io/IWorkbookIO.d.ts +3 -3
- package/types/src/io/WorkbookOrigin.d.ts +2 -2
- package/types/src/license/LicenseManager.d.ts +2 -1
- package/types/src/license/_Utils.d.ts +4 -3
- package/types/src/license/details.d.ts +3 -1
- package/types/src/license/keys.d.ts +6 -0
- package/types/src/license/license-key.d.ts +15 -33
- package/types/src/license/token.d.ts +55 -0
- package/types/src/picture/IPicture.d.ts +45 -0
- package/types/src/picture/Picture.d.ts +12 -0
- package/types/src/pivot/PivotTable.d.ts +0 -7
- package/types/src/primitives/AsyncValue.d.ts +0 -12
- package/types/src/primitives/PrimitiveUtils.d.ts +1 -110
- package/types/src/primitives/Range.d.ts +0 -60
- package/types/src/primitives/ScalarCollation.d.ts +0 -106
- package/types/src/primitives/stats/AggregateStats.d.ts +0 -19
- package/types/src/print/PageLayout.d.ts +0 -6
- package/types/src/reference/ReferenceUtils.d.ts +4 -2
- package/types/src/richData/RichDataRegistry.d.ts +6 -0
- package/types/src/scripting/TypedFunction.d.ts +0 -109
- package/types/src/scripting/enumManifest.browser.d.ts +7 -2
- package/types/src/sheet/IWorksheet.d.ts +2 -5
- package/types/src/sheet/NamedCellRange.d.ts +0 -21
- package/types/src/sheet/SheetCell.d.ts +8 -2
- package/types/src/sheet/Worksheet.d.ts +7 -48
- package/types/src/sheet/_DelimitedText.d.ts +13 -0
- package/types/src/sheet/_IgnoredErrors.d.ts +0 -12
- package/types/src/sheet/_ScalarListFactory.d.ts +0 -19
- package/types/src/sheet/_SheetCoords.d.ts +0 -7
- package/types/src/sheet/_SheetFilterUtils.d.ts +0 -8
- package/types/src/sheet/_SheetStateReader.d.ts +0 -10
- package/types/src/sheet/_SheetStateTypes.d.ts +0 -3
- package/types/src/sheet/_SheetUtils.d.ts +1 -1
- package/types/src/sheet/style/_RowLine.d.ts +32 -0
- package/types/src/sheet/style/_StyleUtils.d.ts +6 -14
- package/types/src/sheetView/_SheetViewUtils.d.ts +0 -1
- package/types/src/slicer/_BuiltInSlicerStyles.d.ts +0 -5
- package/types/src/style/ICellStyle.d.ts +4 -0
- package/types/src/table/AnchoredTable.d.ts +0 -147
- package/types/src/text/TextFrame.d.ts +4 -1
- package/types/src/text/TextStacked.d.ts +0 -24
- package/types/src/text/TextWrapper.d.ts +3 -5
- package/types/src/text/_LineBox.d.ts +24 -0
- package/types/src/text/_TextUtils.d.ts +5 -2
- package/types/src/text/_TextWrapperFallback.d.ts +2 -1
- package/types/src/wasm/sdkWasm.d.ts +1 -1
- package/types/src/workbook/Workbook.d.ts +0 -10
- package/browser/esm/2WuhYrIpYmOR5H73.mjs +0 -698
- package/browser/esm/CTe2qfmIUEad6FJv.mjs +0 -199
- package/browser/esm/CfRqiPDg6RBTg1EN.mjs +0 -367
- package/browser/esm/DVroRnhi-5IDXNgM.mjs +0 -210
- package/browser/esm/DwZCT7DZiiXoTweg.mjs +0 -14
- package/node/esm/BSvOluusoDM4z_dx.mjs +0 -811
- package/node/esm/CPI58duc0j0a-HpJ.mjs +0 -115
- package/node/esm/DggQ23jKMpwhENfa.mjs +0 -372
- package/node/esm/Dn1M7YWi25DeeYUb.mjs +0 -210
- package/node/esm/ZXPFcsT2zrALCZux.mjs +0 -289
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
7
|
async function e(e) {
|
|
8
|
-
let t = "@0.8.0-beta.
|
|
8
|
+
let t = "@0.8.0-beta.14";
|
|
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}.`);
|
|
@@ -1,5 +1,5 @@
|
|
|
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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -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.14
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
6
|
*/
|
|
7
|
-
import { t as e } from "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { i as x, r as S, t as C } from "./
|
|
7
|
+
import { t as e } from "./qCqzZW74-fhaIG2V.mjs";
|
|
8
|
+
import { Ni as t, ei as n, fi as r, nn as i, pi as a, ui as o, zr as s } from "./CtC__ALh4I8PKIln.mjs";
|
|
9
|
+
import { Bt as c, Ft as l, Mt as u, Rt as d, T as f, Y as p, Yt as m, Zt as h, et as g, lt as _, mt as v, xt as y, zt as b } from "./AXlD9K1gCwPU4gCO.mjs";
|
|
10
|
+
import { i as x, r as S, t as C } from "./Bdcd3QOzsc0aVMjN.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 = {
|
|
@@ -869,7 +869,7 @@ var Xe = (e, t, n) => {
|
|
|
869
869
|
} : t);
|
|
870
870
|
}
|
|
871
871
|
} else {
|
|
872
|
-
if (t.length >= 2) throw Error("This move needs a third pair of axes
|
|
872
|
+
if (t.length >= 2) throw Error("This move needs a third pair of axes, which is not supported.");
|
|
873
873
|
let e = mt(s, r, t.length === 0);
|
|
874
874
|
l = [...l, ...e.axes], u = e.axIds;
|
|
875
875
|
}
|
|
@@ -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 v.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 : _.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 !== m.ThemeFamily.Body ? e === m.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", _.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) {
|
|
@@ -2153,8 +2153,10 @@ function Yt(e = t.getShared()) {
|
|
|
2153
2153
|
return i * n;
|
|
2154
2154
|
}(n(t), e, t.size),
|
|
2155
2155
|
lineHeight: (e) => {
|
|
2156
|
-
let t = n(e)
|
|
2157
|
-
|
|
2156
|
+
let t = n(e);
|
|
2157
|
+
if (t.typoLine !== null) return t.typoLine * e.size;
|
|
2158
|
+
let r = t.metrics(1e4);
|
|
2159
|
+
return (r.ascent + r.descent) / 1e4 * e.size;
|
|
2158
2160
|
}
|
|
2159
2161
|
};
|
|
2160
2162
|
}
|
|
@@ -4064,23 +4066,23 @@ function Qn(e) {
|
|
|
4064
4066
|
function $n(e, t = "days", n = !1) {
|
|
4065
4067
|
let r = Math.floor(e);
|
|
4066
4068
|
if (t === "days") return r;
|
|
4067
|
-
let i = r - (
|
|
4069
|
+
let i = r - (u(r, n) - 1);
|
|
4068
4070
|
if (t === "months") return i;
|
|
4069
|
-
let a =
|
|
4070
|
-
return
|
|
4071
|
+
let a = l(i, n) % 12;
|
|
4072
|
+
return y(i, -a, !1, n);
|
|
4071
4073
|
}
|
|
4072
4074
|
function er(e, t, n, r = !1) {
|
|
4073
|
-
return n === "days" ? e + t :
|
|
4075
|
+
return n === "days" ? e + t : y(e, n === "months" ? t : 12 * t, !1, r);
|
|
4074
4076
|
}
|
|
4075
4077
|
function tr(e, t, n, r = !1) {
|
|
4076
4078
|
if (n === "days") return Math.floor(t) - Math.floor(e);
|
|
4077
|
-
let i =
|
|
4078
|
-
return n === "months" ? i : Math.floor(
|
|
4079
|
+
let i = l(Math.floor(t), r) - l(Math.floor(e), r);
|
|
4080
|
+
return n === "months" ? i : Math.floor(l(Math.floor(t), r) / 12) - Math.floor(l(Math.floor(e), r) / 12);
|
|
4079
4081
|
}
|
|
4080
4082
|
function nr(e, t = !1) {
|
|
4081
4083
|
let n = [...new Set(e.filter(Number.isFinite).map((e) => Math.floor(e)))].sort((e, t) => e - t), r = "years";
|
|
4082
4084
|
for (let e = 1; e < n.length; e++) {
|
|
4083
|
-
let i =
|
|
4085
|
+
let i = l(n[e - 1], t), a = l(n[e], t);
|
|
4084
4086
|
if (i === a) return "days";
|
|
4085
4087
|
Math.floor(i / 12) === Math.floor(a / 12) && (r = "months");
|
|
4086
4088
|
}
|
|
@@ -6132,9 +6134,9 @@ var Hr = (e) => C.get(e.type === "custom" ? `custom:${e.kind}` : e.type), Ur = (
|
|
|
6132
6134
|
...n ? { letterSpacing: 0 } : {},
|
|
6133
6135
|
baseline: 0,
|
|
6134
6136
|
color: W(r),
|
|
6135
|
-
latin:
|
|
6136
|
-
eastAsian:
|
|
6137
|
-
complexScript:
|
|
6137
|
+
latin: m.ThemeFamily.Body,
|
|
6138
|
+
eastAsian: m.ThemeFamily.Body,
|
|
6139
|
+
complexScript: m.ThemeFamily.Body
|
|
6138
6140
|
} },
|
|
6139
6141
|
endRun: { language: "en-US" }
|
|
6140
6142
|
}]
|
|
@@ -7552,7 +7554,7 @@ var Vi = 500000001, Hi = 500000002, Ui = [
|
|
|
7552
7554
|
type: "solid",
|
|
7553
7555
|
color: t.color
|
|
7554
7556
|
})), t.family !== void 0) {
|
|
7555
|
-
let e = t.family ??
|
|
7557
|
+
let e = t.family ?? m.ThemeFamily.Body;
|
|
7556
7558
|
n = J(n, "latin", e), n = J(n, "eastAsian", e), n = J(n, "complexScript", e);
|
|
7557
7559
|
}
|
|
7558
7560
|
return t.fallbacks !== void 0 && (n = J(n, "fallbacks", t.fallbacks?.length ? [...t.fallbacks] : void 0)), n;
|
|
@@ -8191,9 +8193,9 @@ function Wo(e) {
|
|
|
8191
8193
|
return n;
|
|
8192
8194
|
}
|
|
8193
8195
|
var Go = (e, t) => {
|
|
8194
|
-
let n =
|
|
8195
|
-
return n === void 0 ? e : (typeof n == "number" ?
|
|
8196
|
-
}, Ko = (e, t) => e == null ? "blank" : typeof e == "string" ? "text" : typeof e == "number" && t &&
|
|
8196
|
+
let n = d[e];
|
|
8197
|
+
return n === void 0 ? e : (typeof n == "number" ? b(n, t) : void 0) ?? c(n);
|
|
8198
|
+
}, Ko = (e, t) => e == null ? "blank" : typeof e == "string" ? "text" : typeof e == "number" && t && v.getEngine().isDateFormat(t) ? "date" : "number", qo = class {
|
|
8197
8199
|
constructor(e) {
|
|
8198
8200
|
this._sheet = e, this._blocks = [];
|
|
8199
8201
|
}
|
|
@@ -8236,8 +8238,8 @@ var Go = (e, t) => {
|
|
|
8236
8238
|
return this._at(e, t).format;
|
|
8237
8239
|
}
|
|
8238
8240
|
}, Jo = (e, t) => {
|
|
8239
|
-
let i =
|
|
8240
|
-
return `${i}!${t.rowStart === t.rowEnd && t.colStart === t.colEnd ? s : `${s}:${
|
|
8241
|
+
let i = r(e.getName()), a = (e, t) => `$${n(t)}$${o(e)}`, s = a(t.rowStart, t.colStart);
|
|
8242
|
+
return `${i}!${t.rowStart === t.rowEnd && t.colStart === t.colEnd ? s : `${s}:${a(t.rowEnd, t.colEnd)}`}`;
|
|
8241
8243
|
}, Yo = (e) => Jo(e.getWorksheet(), e.getCoords()), Xo = (e) => {
|
|
8242
8244
|
let t = /^\{(.*)\}$/s.exec(e.trim());
|
|
8243
8245
|
if (!t) return null;
|
|
@@ -8281,7 +8283,7 @@ var Go = (e, t) => {
|
|
|
8281
8283
|
};
|
|
8282
8284
|
};
|
|
8283
8285
|
function $o(e, t, n) {
|
|
8284
|
-
let r,
|
|
8286
|
+
let r, i = null;
|
|
8285
8287
|
if (typeof e == "string") {
|
|
8286
8288
|
let o = e.trim().replace(/^=/, ""), s = Xo(o);
|
|
8287
8289
|
if (s) {
|
|
@@ -8296,13 +8298,13 @@ function $o(e, t, n) {
|
|
|
8296
8298
|
return s.numbers || t === "values" ? { numLit: e } : { strLit: e };
|
|
8297
8299
|
}
|
|
8298
8300
|
if (!o) throw new T(D("error.chart.noData"));
|
|
8299
|
-
|
|
8300
|
-
} else
|
|
8301
|
+
i = Zo(o, n), r = i && a(o) ? Yo(i) : o;
|
|
8302
|
+
} else i = e, r = Yo(e);
|
|
8301
8303
|
if (t === "values") return { numRef: { f: r } };
|
|
8302
|
-
if (!
|
|
8303
|
-
let o =
|
|
8304
|
+
if (!i || i.isInvalid()) return { strRef: { f: r } };
|
|
8305
|
+
let o = i.getCoords();
|
|
8304
8306
|
if (o.rowEnd > o.rowStart && o.colEnd > o.colStart) return { multiLvlStrRef: { f: r } };
|
|
8305
|
-
let s =
|
|
8307
|
+
let s = i.getValues(), c = i.getNumberFormats(), l = 0;
|
|
8306
8308
|
for (let e = 0; e < s.length; e++) for (let t = 0; t < s[e].length; t++) {
|
|
8307
8309
|
let n = Ko(s[e][t], c[e]?.[t] ?? "");
|
|
8308
8310
|
if (n === "text") return { strRef: { f: r } };
|
|
@@ -8399,7 +8401,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8399
8401
|
}, Q = (e) => ({
|
|
8400
8402
|
type: "solid",
|
|
8401
8403
|
color: e
|
|
8402
|
-
}), $ = (e, t, n, r, i) => new
|
|
8404
|
+
}), $ = (e, t, n, r, i) => new f({
|
|
8403
8405
|
getData: () => {
|
|
8404
8406
|
let e = t();
|
|
8405
8407
|
return {
|
|
@@ -8428,7 +8430,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8428
8430
|
}
|
|
8429
8431
|
getFamily() {
|
|
8430
8432
|
let e = this._pick("latin");
|
|
8431
|
-
return e && e !==
|
|
8433
|
+
return e && e !== m.ThemeFamily.Body ? e === m.ThemeFamily.Heading ? this._host.theme().majorFont() : e : this._host.theme().minorFont();
|
|
8432
8434
|
}
|
|
8433
8435
|
setFamily(e, t) {
|
|
8434
8436
|
return this.update({ family: e }, t);
|
|
@@ -8441,7 +8443,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8441
8443
|
}
|
|
8442
8444
|
getThemeFamily() {
|
|
8443
8445
|
let e = this._pick("latin");
|
|
8444
|
-
return e && e !==
|
|
8446
|
+
return e && e !== m.ThemeFamily.Body ? e === m.ThemeFamily.Heading ? e : null : m.ThemeFamily.Body;
|
|
8445
8447
|
}
|
|
8446
8448
|
getFallbacks() {
|
|
8447
8449
|
return this._pick("fallbacks") ?? [];
|
|
@@ -8541,11 +8543,11 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
8541
8543
|
}
|
|
8542
8544
|
toCSS(e, t = 1) {
|
|
8543
8545
|
return {
|
|
8544
|
-
fontFamily:
|
|
8546
|
+
fontFamily: p(this.getFamily(), this.getFallbacks()),
|
|
8545
8547
|
fontSize: this.getSize() * h.getDeviceScale() * t + "px",
|
|
8546
8548
|
fontWeight: this.getWeight(),
|
|
8547
8549
|
fontStyle: this.getItalic() ? h.Style.Italic : h.Style.Normal,
|
|
8548
|
-
textDecoration:
|
|
8550
|
+
textDecoration: g(this.getUnderline(), this.getStrike()),
|
|
8549
8551
|
letterSpacing: `${this.getLetterSpacing()}pt`,
|
|
8550
8552
|
color: this.getColor().toCSS(e)
|
|
8551
8553
|
};
|
|
@@ -10019,7 +10021,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
10019
10021
|
if (!lt(Qe(a), ct({
|
|
10020
10022
|
...e,
|
|
10021
10023
|
groups: l
|
|
10022
|
-
}, d))) throw Error("Those axes hold groups this series cannot share them with
|
|
10024
|
+
}, d))) throw Error("Those axes hold groups this series cannot share them with.");
|
|
10023
10025
|
} else {
|
|
10024
10026
|
let e = mt(Qe(a), r, !1);
|
|
10025
10027
|
u = [...u, ...e.axes], d = e.axIds;
|
|
@@ -11761,7 +11763,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
11761
11763
|
return t;
|
|
11762
11764
|
}, Bc = class n extends e {
|
|
11763
11765
|
constructor(e) {
|
|
11764
|
-
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 = i.fromJSON(e.json.part, e.fromResourceId), this._updateState({ data: e.json }), this._partModel = e.json.model ?? null), this._syncHolds();
|
|
11765
11767
|
}
|
|
11766
11768
|
_syncHolds() {
|
|
11767
11769
|
if (!this._canHold) return;
|
|
@@ -11859,7 +11861,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
11859
11861
|
}
|
|
11860
11862
|
_rangeAt(e) {
|
|
11861
11863
|
let t = this._formulaAt(e);
|
|
11862
|
-
if (!t || !
|
|
11864
|
+
if (!t || !a(t)) return null;
|
|
11863
11865
|
try {
|
|
11864
11866
|
return this._resolveRange(t);
|
|
11865
11867
|
} catch {
|
|
@@ -12781,12 +12783,12 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12781
12783
|
toJSON(e) {
|
|
12782
12784
|
let t = this._getState();
|
|
12783
12785
|
if (!t?.data) return null;
|
|
12784
|
-
let n = { ...t.data }, r = this._getModel(),
|
|
12785
|
-
if (r &&
|
|
12786
|
-
else if (r &&
|
|
12786
|
+
let n = { ...t.data }, r = this._getModel(), a = this._getRead()?.slots, o = (e) => this._movedAt(e);
|
|
12787
|
+
if (r && a && !M(r)) n.model = we(r, a, { movedAt: o });
|
|
12788
|
+
else if (r && a) {
|
|
12787
12789
|
let e = /* @__PURE__ */ new Map();
|
|
12788
|
-
n.model = we(r,
|
|
12789
|
-
movedAt:
|
|
12790
|
+
n.model = we(r, a, {
|
|
12791
|
+
movedAt: o,
|
|
12790
12792
|
cacheOf: (t, n) => {
|
|
12791
12793
|
let r = n === "multiLvlStr" ? null : this._plotRange(t);
|
|
12792
12794
|
if (!r) return this._cacheOf(t, n);
|
|
@@ -12795,7 +12797,7 @@ var bs = E("op.deleteChartSeries"), xs = E("op.setChartSeriesOrder"), Ss = E("op
|
|
|
12795
12797
|
}
|
|
12796
12798
|
});
|
|
12797
12799
|
}
|
|
12798
|
-
let s =
|
|
12800
|
+
let s = i.toJSON(this._part, e);
|
|
12799
12801
|
return s ? ((n.model ?? null) !== this._partModel && delete s.xml, n.part = s) : delete n.part, n;
|
|
12800
12802
|
}
|
|
12801
12803
|
getTypeDescription() {
|