@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,7 +1,7 @@
|
|
|
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
|
-
export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./
|
|
7
|
+
export { n as addSubpathsBounds, t as decorateSubpaths, r as emptyBox, i as subpathsToSVG } from "./CImFKFaYToUH-bSE.mjs";
|
|
@@ -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,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.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 {
|
|
7
|
+
import { Cn as e, Er as t, Hi as n, Vi as r, ia as i, n as a, na as o, ra as s } from "./CtC__ALh4I8PKIln.mjs";
|
|
8
8
|
import { FormulaError as c, IRange as l } from "@sheetxl/primitives";
|
|
9
9
|
import { CommonUtils as u } from "@sheetxl/utils";
|
|
10
10
|
var d = (e) => {
|
|
@@ -25,42 +25,42 @@ var d = (e) => {
|
|
|
25
25
|
}, p = (e) => {
|
|
26
26
|
let t = e.precedents;
|
|
27
27
|
return t === null ? e.block.paramLength : t.length;
|
|
28
|
-
}, m = (
|
|
29
|
-
if (
|
|
30
|
-
let
|
|
31
|
-
if (!
|
|
32
|
-
let
|
|
33
|
-
for (let
|
|
34
|
-
if (
|
|
35
|
-
|
|
36
|
-
for (let
|
|
28
|
+
}, m = (e) => {
|
|
29
|
+
if (e instanceof r) return new i(e);
|
|
30
|
+
let t = !0 === e.isIRepeatingList ? e : null, n = t ? t.getPeriod() : e.length, a = Array.isArray(e);
|
|
31
|
+
if (!t && !a && !g(e)) return new i(e);
|
|
32
|
+
let o = null;
|
|
33
|
+
for (let t = 0; t < n; t++) if (h(a ? e[t] : e.at(t))) {
|
|
34
|
+
if (o === null) {
|
|
35
|
+
o = Array(n);
|
|
36
|
+
for (let t = 0; t < n; t++) o[t] = a ? e[t] : e.at(t);
|
|
37
37
|
}
|
|
38
|
-
|
|
38
|
+
o[t] = c.BuiltIn.Calc;
|
|
39
39
|
}
|
|
40
|
-
return new o
|
|
41
|
-
}, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !t(e), g = (
|
|
42
|
-
let
|
|
43
|
-
return
|
|
44
|
-
if (
|
|
45
|
-
let o =
|
|
46
|
-
!0 ===
|
|
47
|
-
for (let
|
|
48
|
-
}),
|
|
49
|
-
}, _ = class extends
|
|
40
|
+
return new i(o === null ? e : t ? new s(o, e.length) : o);
|
|
41
|
+
}, h = (e) => typeof e == "object" && !!e && !c.isError(e) && !0 !== e.isIRichData && !t(e), g = (e) => {
|
|
42
|
+
let t = !1;
|
|
43
|
+
return i.forEachLeaf(e, (e, n, i, a) => {
|
|
44
|
+
if (t || e instanceof r) return;
|
|
45
|
+
let o = n + a - i;
|
|
46
|
+
!0 === e.isIRepeatingList && (o = Math.min(o, n + e.getPeriod() - 1));
|
|
47
|
+
for (let r = n; !t && r <= o; r++) t = h(e.at(r));
|
|
48
|
+
}), t;
|
|
49
|
+
}, _ = class extends e {
|
|
50
50
|
constructor(e, t) {
|
|
51
51
|
super(), this.nodes = e, this.count = t;
|
|
52
52
|
}
|
|
53
|
-
}, v = class extends
|
|
53
|
+
}, v = class extends e {
|
|
54
54
|
constructor(e) {
|
|
55
55
|
super(), this.node = e;
|
|
56
56
|
}
|
|
57
|
-
}, y = class extends
|
|
57
|
+
}, y = class extends e {
|
|
58
58
|
constructor(e) {
|
|
59
59
|
super(), this.node = e;
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
62
|
function b(e, t = 0, n = 0) {
|
|
63
|
-
let r = (e = e._materializeEmpty())._values, i = e._coords, a = r.getRuns({ bounds: i }),
|
|
63
|
+
let r = (e = e._materializeEmpty())._values, i = e._coords, a = r.getRuns({ bounds: i }), s = r.getAxis() !== l.Axis.Row, c = s ? i.colStart : i.rowStart, u = s ? i.rowStart : i.colStart, d = new o.Builder(null, t, n), f = a.next();
|
|
64
64
|
for (; !f.done;) {
|
|
65
65
|
let e = f.value;
|
|
66
66
|
d.pushMultipleAt(e[0] - c, e[1] - u, e[2]), f = a.next();
|
|
@@ -69,11 +69,11 @@ function b(e, t = 0, n = 0) {
|
|
|
69
69
|
}
|
|
70
70
|
function x(e) {
|
|
71
71
|
if (typeof e != "object" || !e || !0 !== e.isIRange) return e;
|
|
72
|
-
let t = e,
|
|
73
|
-
axis:
|
|
72
|
+
let t = e, r = t._values, i = new n({
|
|
73
|
+
axis: r.getAxis(),
|
|
74
74
|
createRun: m
|
|
75
75
|
}), o = b(t);
|
|
76
|
-
return o &&
|
|
76
|
+
return o && i.setValues(o.tuples), new a(t._runtime, i, {
|
|
77
77
|
colStart: 0,
|
|
78
78
|
rowStart: 0,
|
|
79
79
|
colEnd: t.getColumnCount() - 1,
|
|
@@ -92,8 +92,8 @@ function S(e, t, n) {
|
|
|
92
92
|
o[s] = t;
|
|
93
93
|
}
|
|
94
94
|
return o;
|
|
95
|
-
}(e, r, i),
|
|
96
|
-
for (let e = 0; e <
|
|
95
|
+
}(e, r, i), s = n ? i : r, l = n ? r : i, u = n ? t.colStart : t.rowStart, d = n ? t.rowStart : t.colStart, f = new o.Builder(null), p = !0;
|
|
96
|
+
for (let e = 0; e < s; e++) {
|
|
97
97
|
let t = null, r = 0;
|
|
98
98
|
for (let i = 0; i < l; i++) {
|
|
99
99
|
let o = n ? a[i][e] : a[e][i];
|
|
@@ -103,11 +103,32 @@ function S(e, t, n) {
|
|
|
103
103
|
}
|
|
104
104
|
return p ? null : f.build();
|
|
105
105
|
}
|
|
106
|
-
function C(e
|
|
106
|
+
function C(e) {
|
|
107
|
+
let t = e.value;
|
|
108
|
+
if (t.$absRowStart !== t.$absRowEnd || t.$absColStart !== t.$absColEnd) return !1;
|
|
109
|
+
let n = e.rowEnd - e.rowStart - (t.$absRowEnd ? 0 : t.formulaBlockHeight - 1), r = e.colEnd - e.colStart - (t.$absColEnd ? 0 : t.formulaBlockWidth - 1);
|
|
110
|
+
return n === 0 && r === 0;
|
|
111
|
+
}
|
|
112
|
+
function w(e, t, n, r, i = null) {
|
|
107
113
|
let a = e.value, o = a.formulaBlockWidth, s = a.formulaBlockHeight, c = a.formulaEntry.value, l = n - e.colStart, u = t - e.rowStart, d = e.rowEnd - e.rowStart - (s - 1), f = e.colEnd - e.colStart - (o - 1), p = a.$absRowEnd ? 0 : Math.max(0, u - d), m = a.$absRowStart ? s - 1 : Math.min(s - 1, u), h = a.$absColEnd ? 0 : Math.max(0, l - f), g = a.$absColStart ? o - 1 : Math.min(o - 1, l), _ = c.ref;
|
|
108
114
|
i === null ? c.forEachNodeIn(_.rowStart + p, _.rowStart + m, _.colStart + h, _.colStart + g, r) : i(c, _.rowStart + p, _.rowStart + m, _.colStart + h, _.colStart + g, r);
|
|
109
115
|
}
|
|
110
|
-
function
|
|
116
|
+
function T(e, t, n, r, i, a) {
|
|
117
|
+
if (C(e)) return void w(e, t, n, r, i);
|
|
118
|
+
let o = e.value, s = o.formulaBlockWidth, c = o.formulaBlockHeight, l = o.formulaEntry.value, u = l.ref, d = n - e.colStart, f = t - e.rowStart, p = e.rowEnd - e.rowStart - (c - 1), m = e.colEnd - e.colStart - (s - 1), h = u.rowStart + (o.$absRowEnd ? 0 : Math.max(0, f - p)), g = u.rowStart + (o.$absRowStart ? c - 1 : Math.min(c - 1, f)), _ = u.colStart + (o.$absColEnd ? 0 : Math.max(0, d - m)), v = u.colStart + (o.$absColStart ? s - 1 : Math.min(s - 1, d));
|
|
119
|
+
if (h > g || _ > v) return;
|
|
120
|
+
let y = a.get(o);
|
|
121
|
+
if (y === void 0) return a.set(o, {
|
|
122
|
+
rowFrom: h,
|
|
123
|
+
rowTo: g,
|
|
124
|
+
colFrom: _,
|
|
125
|
+
colTo: v
|
|
126
|
+
}), void i(l, h, g, _, v, r);
|
|
127
|
+
if (h >= y.rowFrom && g <= y.rowTo && _ >= y.colFrom && v <= y.colTo) return;
|
|
128
|
+
let b = h <= u.rowStart && g >= u.rowEnd && _ <= u.colStart && v >= u.colEnd;
|
|
129
|
+
!b && _ === y.colFrom && v === y.colTo && h <= y.rowTo + 1 && g >= y.rowFrom - 1 ? (h < y.rowFrom && i(l, h, y.rowFrom - 1, _, v, r), g > y.rowTo && i(l, y.rowTo + 1, g, _, v, r), h < y.rowFrom && (y.rowFrom = h), g > y.rowTo && (y.rowTo = g)) : !b && h === y.rowFrom && g === y.rowTo && _ <= y.colTo + 1 && v >= y.colFrom - 1 ? (_ < y.colFrom && i(l, h, g, _, y.colFrom - 1, r), v > y.colTo && i(l, h, g, y.colTo + 1, v, r), _ < y.colFrom && (y.colFrom = _), v > y.colTo && (y.colTo = v)) : (i(l, h, g, _, v, r), (g - h + 1) * (v - _ + 1) > (y.rowTo - y.rowFrom + 1) * (y.colTo - y.colFrom + 1) && (y.rowFrom = h, y.rowTo = g, y.colFrom = _, y.colTo = v));
|
|
130
|
+
}
|
|
131
|
+
function E(e, t, n, r, i, a, o = null) {
|
|
111
132
|
let s = e.value, c = s.formulaBlockWidth, l = s.formulaBlockHeight, u = Math.max(t, e.rowStart), d = Math.min(r, e.rowEnd);
|
|
112
133
|
if (u > d) return;
|
|
113
134
|
let f = Math.max(n, e.colStart), p = Math.min(i, e.colEnd);
|
|
@@ -125,7 +146,7 @@ function w(e, t, n, r, i, a, o = null) {
|
|
|
125
146
|
};
|
|
126
147
|
o === null ? w.forEachNodeIn(T.rowStart + g, T.rowStart + _, T.colStart + v, T.colStart + y, E) : o(w, T.rowStart + g, T.rowStart + _, T.colStart + v, T.colStart + y, E);
|
|
127
148
|
}
|
|
128
|
-
function
|
|
149
|
+
function D(e) {
|
|
129
150
|
let { row: t, col: n, rows: r, cols: i, rowInput: a, colInput: o } = e, s = (e, t, n, r) => ({
|
|
130
151
|
rowStart: e,
|
|
131
152
|
colStart: t,
|
|
@@ -138,7 +159,7 @@ function T(e) {
|
|
|
138
159
|
l
|
|
139
160
|
] : o === null ? [l, c] : [c, l];
|
|
140
161
|
}
|
|
141
|
-
var
|
|
162
|
+
var O = (e, t, n) => {
|
|
142
163
|
let { gridId: r, row: i, col: a } = e;
|
|
143
164
|
return e.rowInput !== null && e.colInput !== null ? {
|
|
144
165
|
gridId: r,
|
|
@@ -153,16 +174,16 @@ var E = (e, t, n) => {
|
|
|
153
174
|
row: i - 1,
|
|
154
175
|
col: a + n
|
|
155
176
|
};
|
|
156
|
-
},
|
|
177
|
+
}, k = (e, t) => ({
|
|
157
178
|
gridId: e.gridId,
|
|
158
179
|
row: e.row - 1,
|
|
159
180
|
col: e.col + t
|
|
160
|
-
}),
|
|
181
|
+
}), A = (e, t) => ({
|
|
161
182
|
gridId: e.gridId,
|
|
162
183
|
row: e.row + t,
|
|
163
184
|
col: e.col - 1
|
|
164
|
-
}),
|
|
165
|
-
function
|
|
185
|
+
}), j = (e, t) => 32768 * e + t;
|
|
186
|
+
function M(e, t) {
|
|
166
187
|
let n = e.getPrecedents(), r = e.getDynamics(), i = /* @__PURE__ */ new Map(), a = [], o = !1, s = [], l = (e) => {
|
|
167
188
|
if (e.block.hasDataTable()) return;
|
|
168
189
|
let t = e.gridId;
|
|
@@ -172,7 +193,7 @@ function A(e, t) {
|
|
|
172
193
|
byCell: /* @__PURE__ */ new Map(),
|
|
173
194
|
spills: []
|
|
174
195
|
}, i.set(t, n));
|
|
175
|
-
let r =
|
|
196
|
+
let r = j(e.rowIndex, e.colIndex);
|
|
176
197
|
n.byCell.has(r) || (n.byCell.set(r, e), e.cachedValue?.isIRange && n.spills.push(e), a.push(e));
|
|
177
198
|
}, u = (e, t, n, r, i) => {
|
|
178
199
|
if (e.unanchored) return;
|
|
@@ -213,14 +234,14 @@ function A(e, t) {
|
|
|
213
234
|
}
|
|
214
235
|
if (a.length === 0) return a;
|
|
215
236
|
let _ = [], v = (e) => {
|
|
216
|
-
let t = i.get(e.gridId)?.byCell.get(
|
|
237
|
+
let t = i.get(e.gridId)?.byCell.get(j(e.row, e.col)) ?? null;
|
|
217
238
|
t === null || _.includes(t) || _.push(t);
|
|
218
239
|
};
|
|
219
240
|
for (let e = 0; e < t.rows; e++) {
|
|
220
|
-
g && v(
|
|
221
|
-
for (let n = 0; n < t.cols; n++) v(
|
|
241
|
+
g && v(A(t, e));
|
|
242
|
+
for (let n = 0; n < t.cols; n++) v(O(t, e, n));
|
|
222
243
|
}
|
|
223
|
-
if (h) for (let e = 0; e < t.cols; e++) v(
|
|
244
|
+
if (h) for (let e = 0; e < t.cols; e++) v(k(t, e));
|
|
224
245
|
if (_.length === 0) return [];
|
|
225
246
|
let y = [], b = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set(), S = (e) => {
|
|
226
247
|
if (b.has(e) || x.has(e)) return;
|
|
@@ -234,7 +255,7 @@ function A(e, t) {
|
|
|
234
255
|
if (!o) continue;
|
|
235
256
|
let s = a.rowStart, l = a.colStart, u = a.rowEnd, d = a.colEnd;
|
|
236
257
|
if (s === u && l === d) {
|
|
237
|
-
let e = o.byCell.get(
|
|
258
|
+
let e = o.byCell.get(j(s, l));
|
|
238
259
|
e && !t.includes(e) && t.push(e);
|
|
239
260
|
} else for (let e of o.byCell.values()) {
|
|
240
261
|
let n = e.rowIndex, r = e.colIndex;
|
|
@@ -255,7 +276,7 @@ function A(e, t) {
|
|
|
255
276
|
else for (let e = 0; e < _.length; e++) S(_[e]);
|
|
256
277
|
return y;
|
|
257
278
|
}
|
|
258
|
-
function
|
|
279
|
+
function N(e, t, n) {
|
|
259
280
|
let { rows: r, cols: i, rowInput: a, colInput: o, gridId: s } = t, c = Array(r);
|
|
260
281
|
for (let e = 0; e < r; e++) c[e] = Array(i);
|
|
261
282
|
let l = (t) => e.layerFor(t.gridId).getValueAt(t.row, t.col) ?? null, u = (t, n) => {
|
|
@@ -273,9 +294,9 @@ function j(e, t, n) {
|
|
|
273
294
|
}
|
|
274
295
|
};
|
|
275
296
|
for (let e = 0; e < r; e++) {
|
|
276
|
-
o !== null && (u(o, l(
|
|
277
|
-
for (let n = 0; n < i; n++) a !== null && (u(a, l(
|
|
297
|
+
o !== null && (u(o, l(A(t, e))), a === null && f());
|
|
298
|
+
for (let n = 0; n < i; n++) a !== null && (u(a, l(k(t, n))), f()), c[e][n] = l(O(t, e, n));
|
|
278
299
|
}
|
|
279
300
|
return c;
|
|
280
301
|
}
|
|
281
|
-
export { y as a,
|
|
302
|
+
export { f as _, y as a, S as c, C as d, w as f, p as g, d as h, v as i, x as l, m, M as n, _ as o, E as p, D as r, T as s, N as t, b as u };
|
|
@@ -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.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 {
|
|
8
|
-
import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./
|
|
9
|
-
import { n as y, r as b, t as x } from "./
|
|
10
|
-
import { i as S, r as C } from "./
|
|
11
|
-
import { a as w, n as T } from "./
|
|
7
|
+
import { Bn as e, Qn as t, Xr as n, Yn as r, Zr as i, gt as a, hn as o, ir as s, mt as c, xr as l } from "./CtC__ALh4I8PKIln.mjs";
|
|
8
|
+
import { C as u, E as d, T as f, h as p, i as m, r as h, w as g, x as _, y as v } from "./B1aH_qa-czVyEVHd.mjs";
|
|
9
|
+
import { n as y, r as b, t as x } from "./ChYgQL-8qIDFmX31.mjs";
|
|
10
|
+
import { i as S, r as C } from "./UMQTbO0zNmBpzW1V.mjs";
|
|
11
|
+
import { a as w, n as T } from "./DBvu0tdSf-5vol4e.mjs";
|
|
12
12
|
import { ScalarType as E } from "@sheetxl/primitives";
|
|
13
13
|
import D from "@sheetxl/formulas/declarations";
|
|
14
14
|
import O from "@sheetxl/formulas-extended/declarations";
|
|
@@ -49,17 +49,17 @@ function A(e) {
|
|
|
49
49
|
var j = null, M = Object.freeze({
|
|
50
50
|
rowStart: 0,
|
|
51
51
|
colStart: 0,
|
|
52
|
-
rowEnd:
|
|
53
|
-
colEnd:
|
|
52
|
+
rowEnd: i,
|
|
53
|
+
colEnd: n
|
|
54
54
|
}), N = (e) => A(e);
|
|
55
55
|
function P(e, t) {
|
|
56
56
|
if (typeof e != "string" || e.length === 0) return null;
|
|
57
57
|
j ||= new C();
|
|
58
58
|
let n = t?.anchor, r;
|
|
59
59
|
try {
|
|
60
|
-
let
|
|
61
|
-
if (
|
|
62
|
-
if (r =
|
|
60
|
+
let i = j.parse(n?.rowIndex ?? 0, n?.colIndex ?? 0, e);
|
|
61
|
+
if (i.errors.length > 0 || !i.root || i.root.type === l.Unparsed) return null;
|
|
62
|
+
if (r = i.root, t?.normalize) {
|
|
63
63
|
let e = g(r, N);
|
|
64
64
|
typeof e != "string" && (r = e), r = d(r, N), r = h(r, N), r = v(r), r = f(r), r = u(r), r = m(r), r = _(r);
|
|
65
65
|
}
|
|
@@ -73,38 +73,38 @@ function F(e, t) {
|
|
|
73
73
|
}
|
|
74
74
|
function I(e, t) {
|
|
75
75
|
let n = p(h(v(x(e)), N)), r = t?.entireCoords ?? M, i = !0 === t?.r1c1;
|
|
76
|
-
return (e) => i ? a(n, r) :
|
|
76
|
+
return (e) => i ? a(n, r) : c(n, r, e?.rowIndex ?? 0, e?.colIndex ?? 0);
|
|
77
77
|
}
|
|
78
|
-
function L(
|
|
79
|
-
let
|
|
80
|
-
if (!
|
|
81
|
-
let
|
|
78
|
+
function L(n) {
|
|
79
|
+
let i = n.trim();
|
|
80
|
+
if (!i) return;
|
|
81
|
+
let a;
|
|
82
82
|
try {
|
|
83
|
-
let e = S.shared().tokenize(
|
|
83
|
+
let e = S.shared().tokenize(i, !1);
|
|
84
84
|
if (e.errors.length > 0) return;
|
|
85
|
-
|
|
85
|
+
a = e.tokens;
|
|
86
86
|
} catch {
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
|
-
let
|
|
90
|
-
if (
|
|
91
|
-
let e =
|
|
92
|
-
e === "MinOp" ? (
|
|
89
|
+
let o = 0, c = 0;
|
|
90
|
+
if (a.length === 2) {
|
|
91
|
+
let e = a[0].tokenType?.name;
|
|
92
|
+
e === "MinOp" ? (o = -1, c = 1) : e === "PlusOp" && (o = 1, c = 1);
|
|
93
93
|
}
|
|
94
|
-
if (
|
|
95
|
-
let
|
|
94
|
+
if (a.length - c !== 1) return;
|
|
95
|
+
let l = a[c], u = l.image;
|
|
96
96
|
try {
|
|
97
|
-
switch (
|
|
97
|
+
switch (l.tokenType?.name) {
|
|
98
98
|
case "NumberToken":
|
|
99
99
|
case "ScientificDigit":
|
|
100
100
|
case "DigitToken": {
|
|
101
|
-
let e =
|
|
102
|
-
return
|
|
101
|
+
let e = t(u).value;
|
|
102
|
+
return o === 0 ? e : o * e;
|
|
103
103
|
}
|
|
104
|
-
case "StringToken": return
|
|
105
|
-
case "BooleanToken": return
|
|
104
|
+
case "StringToken": return o === 0 ? s(u).value : void 0;
|
|
105
|
+
case "BooleanToken": return o === 0 ? e(u).value : void 0;
|
|
106
106
|
case "LiteralError":
|
|
107
|
-
case "RefError": return
|
|
107
|
+
case "RefError": return o === 0 ? r(u).value : void 0;
|
|
108
108
|
default: return;
|
|
109
109
|
}
|
|
110
110
|
} catch {
|
|
@@ -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,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,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
|
-
import { n as e } from "./
|
|
8
|
-
import {
|
|
7
|
+
import { n as e } from "./BWoz4kQdA5KKJfl6.mjs";
|
|
8
|
+
import { ut as t } from "./AXlD9K1gCwPU4gCO.mjs";
|
|
9
9
|
var n = e({
|
|
10
10
|
toConcreteCSS: () => i,
|
|
11
11
|
toConcreteFill: () => a
|
|
@@ -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.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 "./
|
|
7
|
+
import { t as e } from "./BWoz4kQdA5KKJfl6.mjs";
|
|
8
8
|
var t = e((e, t) => {
|
|
9
9
|
var n = e, r = function e() {
|
|
10
10
|
var t = typeof self < "u" ? self : typeof window < "u" ? window : t === void 0 ? {} : t, n = !t.document && !!t.postMessage, r = t.IS_PAPA_WORKER || !1, i = {}, a = 0, o = {};
|
|
@@ -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,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.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 "./
|
|
7
|
+
import { t as e } from "./D_XMi4_5iO2rkET5.mjs";
|
|
8
8
|
var t = 2 * Math.PI;
|
|
9
9
|
function n(e, t) {
|
|
10
10
|
let n = Math.cos(t), r = Math.sin(t), i = Math.cos(e.phi), a = Math.sin(e.phi);
|
|
@@ -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.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.14
|
|
3
|
+
*
|
|
4
|
+
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
|
+
* License: The license can be found at https://www.sheetxl.com/license.
|
|
6
|
+
*/
|
|
7
|
+
async function e() {
|
|
8
|
+
try {
|
|
9
|
+
return (await import("@sheetxl/sdk/scripting-enums.json", { with: { type: "json" } })).default;
|
|
10
|
+
} catch {
|
|
11
|
+
let e = "@0.8.0-beta.14";
|
|
12
|
+
return e !== "@local" && e !== "@0.0.0" || (e = ""), async function(e) {
|
|
13
|
+
let t = await fetch(e);
|
|
14
|
+
if (!t.ok) throw Error(`Unable to load script enum runtime (${t.status}) from ${e}.`);
|
|
15
|
+
return t.json();
|
|
16
|
+
}(`https://cdn.jsdelivr.net/npm/@sheetxl/sdk${e}/types/scripting-enums.json`);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export { e as loadEnumManifest };
|
|
@@ -1,73 +1,73 @@
|
|
|
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 { $n as e,
|
|
8
|
-
var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.value"), f = Symbol("sheetxl.formulaNode.replaced"), p = { canonical: !0 }, m = (e,
|
|
9
|
-
let
|
|
10
|
-
if (
|
|
11
|
-
let e =
|
|
12
|
-
|
|
13
|
-
for (let
|
|
14
|
-
let e =
|
|
15
|
-
i
|
|
7
|
+
import { $n as e, Hn as t, Kn as n, Zn as r, er as i, jt as a, qn as o, ur as s, xr as c, zn as l } from "./CtC__ALh4I8PKIln.mjs";
|
|
8
|
+
var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.value"), f = Symbol("sheetxl.formulaNode.replaced"), p = { canonical: !0 }, m = (e, t) => {
|
|
9
|
+
let n = e.inputs, r = null;
|
|
10
|
+
if (n) {
|
|
11
|
+
let e = n.length;
|
|
12
|
+
r = Array(e);
|
|
13
|
+
for (let i = 0; i < e; i++) {
|
|
14
|
+
let e = n[i];
|
|
15
|
+
r[i] = e && m(e, t);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
let
|
|
20
|
-
if (
|
|
21
|
-
let
|
|
22
|
-
return
|
|
23
|
-
name:
|
|
18
|
+
let i = ((e, t) => {
|
|
19
|
+
let n = e.type, r = e.value;
|
|
20
|
+
if (n === c.Named) {
|
|
21
|
+
let n = r, i = n?.nameId, o = n?.scope ?? null;
|
|
22
|
+
return t && (i = t.resolve(a.NamedFormula, i)?.toString() ?? i, o &&= t.resolve(a.Sheet, o)?.toString() ?? o), e.binding?.declaration && e.binding.optional ? {
|
|
23
|
+
name: i,
|
|
24
24
|
scope: o,
|
|
25
25
|
optional: !0
|
|
26
26
|
} : {
|
|
27
|
-
name:
|
|
27
|
+
name: i,
|
|
28
28
|
scope: o
|
|
29
29
|
};
|
|
30
30
|
}
|
|
31
|
-
if (
|
|
32
|
-
let e = typeof
|
|
33
|
-
return e ?
|
|
31
|
+
if (n === c.TableReference) {
|
|
32
|
+
let e = typeof r == "string" ? r : r?.tableId;
|
|
33
|
+
return e ? t ? t.resolve(a.Table, e)?.toString() ?? e : e : "";
|
|
34
34
|
}
|
|
35
|
-
if (!
|
|
36
|
-
switch (
|
|
37
|
-
case c.Function: return
|
|
38
|
-
case c.TableColumn: return
|
|
35
|
+
if (!t) return r;
|
|
36
|
+
switch (n) {
|
|
37
|
+
case c.Function: return t.resolve(a.Function, r, p)?.toString() ?? r;
|
|
38
|
+
case c.TableColumn: return t.resolve(a.TableColumn, r)?.toString() ?? r;
|
|
39
39
|
case c.Cell: {
|
|
40
|
-
let e =
|
|
40
|
+
let e = r;
|
|
41
41
|
if (e?.scope) {
|
|
42
|
-
let
|
|
42
|
+
let n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
|
|
43
43
|
return {
|
|
44
44
|
...e,
|
|
45
|
-
scope:
|
|
45
|
+
scope: n
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
|
-
return
|
|
48
|
+
return r;
|
|
49
49
|
}
|
|
50
50
|
case c.Error: {
|
|
51
|
-
let e =
|
|
51
|
+
let e = r;
|
|
52
52
|
if (e?.scope) {
|
|
53
|
-
let
|
|
53
|
+
let n = t.resolve(a.Sheet, e.scope)?.toString() ?? e.scope;
|
|
54
54
|
return {
|
|
55
55
|
...e,
|
|
56
|
-
scope:
|
|
56
|
+
scope: n
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
return
|
|
59
|
+
return r;
|
|
60
60
|
}
|
|
61
|
-
default: return
|
|
61
|
+
default: return r;
|
|
62
62
|
}
|
|
63
|
-
})(e,
|
|
63
|
+
})(e, t);
|
|
64
64
|
return {
|
|
65
65
|
type: e.type,
|
|
66
|
-
value:
|
|
67
|
-
inputs:
|
|
66
|
+
value: i,
|
|
67
|
+
inputs: r,
|
|
68
68
|
isReference: e.isReference,
|
|
69
69
|
[u]: e,
|
|
70
|
-
[d]:
|
|
70
|
+
[d]: i
|
|
71
71
|
};
|
|
72
72
|
}, h = (e, t, n) => {
|
|
73
73
|
let r = e.inputs, i;
|
|
@@ -93,15 +93,15 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
|
|
|
93
93
|
".:",
|
|
94
94
|
":.",
|
|
95
95
|
" "
|
|
96
|
-
], _ = (
|
|
97
|
-
let u =
|
|
96
|
+
], _ = (a, l) => {
|
|
97
|
+
let u = a.type, d = a.value;
|
|
98
98
|
switch (u) {
|
|
99
|
-
case c.Function: return n(String(d),
|
|
100
|
-
case c.Infix: return
|
|
101
|
-
case c.Prefix: return
|
|
102
|
-
case c.Postfix: return
|
|
99
|
+
case c.Function: return n(String(d), l);
|
|
100
|
+
case c.Infix: return o(d, l[0], l[1], a.isReference ?? g.includes(d));
|
|
101
|
+
case c.Prefix: return i(d, l?.[0], a.isReference ?? d === "@");
|
|
102
|
+
case c.Postfix: return e(d, l?.[0], a.isReference ?? d === "#");
|
|
103
103
|
case c.Named: {
|
|
104
|
-
let e =
|
|
104
|
+
let e = r(typeof d == "string" ? d : d?.name), t = typeof d == "object" ? d?.scope : null;
|
|
105
105
|
return t && (e.value = {
|
|
106
106
|
...e.value,
|
|
107
107
|
scope: t
|
|
@@ -110,11 +110,11 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
|
|
|
110
110
|
optional: !0
|
|
111
111
|
}), e;
|
|
112
112
|
}
|
|
113
|
-
case c.Cell: return
|
|
113
|
+
case c.Cell: return t(d);
|
|
114
114
|
case c.TableReference: return {
|
|
115
115
|
type: c.TableReference,
|
|
116
116
|
value: d,
|
|
117
|
-
inputs:
|
|
117
|
+
inputs: l ?? null,
|
|
118
118
|
isReference: !0
|
|
119
119
|
};
|
|
120
120
|
case c.TableSpecifier: return {
|
|
@@ -125,7 +125,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
|
|
|
125
125
|
isReference: !0
|
|
126
126
|
};
|
|
127
127
|
case c.TableColumn: {
|
|
128
|
-
let e = typeof d == "string" && d.startsWith("[") ? d : `[${
|
|
128
|
+
let e = typeof d == "string" && d.startsWith("[") ? d : `[${s(String(d))}]`;
|
|
129
129
|
return {
|
|
130
130
|
type: c.TableColumn,
|
|
131
131
|
value: d,
|
|
@@ -145,8 +145,8 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
|
|
|
145
145
|
default: return {
|
|
146
146
|
type: u,
|
|
147
147
|
value: d,
|
|
148
|
-
inputs:
|
|
149
|
-
isReference:
|
|
148
|
+
inputs: l ?? null,
|
|
149
|
+
isReference: a.isReference
|
|
150
150
|
};
|
|
151
151
|
}
|
|
152
152
|
}, v = (e) => {
|
|
@@ -178,7 +178,7 @@ var u = Symbol("sheetxl.formulaNode.internal"), d = Symbol("sheetxl.formulaNode.
|
|
|
178
178
|
let i = _(e, r), a = e[f];
|
|
179
179
|
return a && y(i, a), i;
|
|
180
180
|
}, y = (e, t) => {
|
|
181
|
-
|
|
181
|
+
l(e, t), e.type !== t.type && e.image !== void 0 && (e.image = void 0);
|
|
182
182
|
};
|
|
183
183
|
function b(e, t) {
|
|
184
184
|
return m(e, t);
|