@sheetxl/sdk 0.8.0-beta.12 → 0.8.0-beta.13
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/{DwwR3O2sEZApPSTF.mjs → -GEhXGMfNcWmHPby.mjs} +3 -3
- package/browser/esm/{DPhGQLNGmDZwODwJ.mjs → 9WXf_BTKjW1cQisZ.mjs} +94 -94
- package/browser/esm/{CRkYR-siY2C994KV.mjs → B2SgIPPBX0wjzuq8.mjs} +1 -1
- package/browser/esm/{CBYMTDzMf1Vh7pkw.mjs → BC2RwlNwCdRywkoD.mjs} +1 -1
- package/browser/esm/{-Jx-jNHmtIQQfLvK.mjs → BEqhm9xAUPiHUCFv.mjs} +1 -1
- package/browser/esm/BHgqi7KNrl7Vjr0W.mjs +348 -0
- package/browser/esm/{D64dM68B1pKYFzdP.mjs → BJKH0tDRx2FeSWvt.mjs} +2 -2
- package/browser/esm/{DobHLF6VjHr7Xi40.mjs → BTgWtqdQoh2cB6DL.mjs} +1 -1
- package/browser/esm/{CNdjyofiRu6CYOrr.mjs → BVshV1iY3bcUH9_E.mjs} +50 -48
- package/browser/esm/{qO-ujUrgq6H3TQix.mjs → BYQ63XU7JzB4_itX.mjs} +1 -1
- package/browser/esm/{C9u8FUewte5ugUjH.mjs → Bax5aOzQkbHKXW_X.mjs} +725 -716
- package/browser/esm/{Tah7cnFb_HNZdLtj.mjs → BiDGKhtzV6yIy66o.mjs} +3 -3
- package/browser/esm/BmYrWK5OmHRtgyqM.mjs +367 -0
- package/browser/esm/{DgrAuRD2qr2DvFeJ.mjs → BoAlHgjPQ6mxb_oO.mjs} +44 -44
- package/browser/esm/{CUzYuYTTGsChC_kZ.mjs → C0mjTq8lhrX3HiPa.mjs} +2052 -1583
- package/browser/esm/{w6Jea0TiclPrYZ2M.mjs → C5j0IdwtYkWlOftv.mjs} +509 -509
- package/browser/esm/{hCQJcmIzPDxDEv2q.mjs → CL84-iL2QeKlLzo5.mjs} +2 -2
- package/browser/esm/{2mIwPy2D2JUX-9wx.mjs → CLkBe-6n-pStQhnz.mjs} +2 -2
- package/browser/esm/{DZiivy0NmO1Vnyzk.mjs → CPzfhTPX2Y4dHX2p.mjs} +2 -2
- package/browser/esm/{fXWUMDhZ5yMSO629.mjs → CSJuIjYUOE387FIP.mjs} +1 -1
- package/browser/esm/{BIHrHjRGWVlJglcp.mjs → Cdw0mGuoV3IU2LhR.mjs} +2 -2
- package/browser/esm/{yuhcOYw6SHQ-RCm3.mjs → Ced5uyofOWHuL_Jy.mjs} +30 -30
- package/browser/esm/{B3wf5vZCsWfWsDbj.mjs → Ci_LJ4S_GvYX0STI.mjs} +1 -1
- package/browser/esm/{DK899HhWX1HINMC1.mjs → CwygVKP_RXmne5Ot.mjs} +25 -25
- package/browser/esm/{BdCJNawfifyPupCP.mjs → D-mfK0noQrM2jZLT.mjs} +1 -1
- package/browser/esm/{CwOPLXU3-9ZHGyOT.mjs → D9SH_8v3FYCnxOFK.mjs} +1 -1
- package/browser/esm/{D9xNz46kAfXMZzp4.mjs → DPD8fop6az9HZNiK.mjs} +2 -2
- package/browser/esm/{D2RZh0O9neOsyLAE.mjs → DW-MmlgMH87l-_cw.mjs} +69 -48
- package/browser/esm/{DwZCT7DZiiXoTweg.mjs → DctIlUsO78-OU2ht.mjs} +2 -2
- package/browser/esm/DdcKkVb4jM6Y_epY.mjs +184 -0
- package/browser/esm/{Cxjxk0ncRKx80I-w.mjs → DfKzE0IY0TjaEIxG.mjs} +1 -1
- package/browser/esm/{BnC4-27Igwb8oDf2.mjs → DkloMquaR1pbZCER.mjs} +44 -43
- package/browser/esm/{BudSIfXBAsTxvu-K.mjs → Dz86-De57bv2VYIi.mjs} +10111 -9269
- package/browser/esm/{BTFBedJMRWGvZyCE.mjs → HApSgmV2FXRRwQac.mjs} +1 -1
- package/browser/esm/{Bt8_m94tBdks209L.mjs → IbVAQU4YqtFqLwYk.mjs} +1 -1
- package/browser/esm/index.mjs +482 -440
- package/browser/esm/mHQ95RAfxHzcUN2r.mjs +18 -0
- package/browser/esm/{CdEO8CEee6lEhabA.mjs → pm00uZZu_H3gxHFx.mjs} +2 -2
- package/browser/esm/{Bg5Di9GLNAkbqQ1P.mjs → quEvwgrEuOb0h3q-.mjs} +1926 -1298
- package/browser/esm/{CndRBvVfQUJIYRRj.mjs → zZngLMg6mg6nnNGX.mjs} +50 -50
- package/licenses/dependencies.txt +71 -1
- package/node/esm/{C14-R6tifRh7pc0p.mjs → -K4Cek-bTUItkB_8.mjs} +1 -1
- package/node/esm/{D3ptRKzASqBut1DE.mjs → -b8yNV4v9qiq8EMY.mjs} +2 -2
- package/node/esm/{CBuEu5Jk-LfaDy-H.mjs → 1V-m67YHbxmg3xk2.mjs} +44 -44
- package/node/esm/{DhTya_mhmN53vskv.mjs → 4ROAfJC1mokmqubv.mjs} +1 -1
- package/node/esm/B89et7t3uRmtxk4v.mjs +115 -0
- package/node/esm/BKBkCBNGhMU0nQdY.mjs +372 -0
- package/node/esm/{Vocy-I9dKzZMr0Ct.mjs → BQ2XqExomMceAjfe.mjs} +10977 -10744
- package/node/esm/{Btw4148Ot8ifhNc1.mjs → Bfg7qjCXCwXbzW3K.mjs} +1 -1
- package/node/esm/{BNXLOEddJ6O9gYws.mjs → BtMeAB_dqJnOfzJM.mjs} +2 -2
- package/node/esm/{Q_S1g46ZOTrdhTae.mjs → Byc_bxU_MdjYtt0x.mjs} +1 -1
- package/node/esm/{Ci_zLYmCD7e-C79O.mjs → Bzrl292TNCK3Cpid.mjs} +1 -1
- package/node/esm/{DdoiuKg9BKubtF1V.mjs → C0P9zspoypRAj7yv.mjs} +1 -1
- package/node/esm/{C_aL7CGS1lrNn1Ng.mjs → C9gpMN3galHGZyoK.mjs} +1 -1
- package/node/esm/CKCG2peOkTq0gIIW.mjs +310 -0
- package/node/esm/{C99zzq8DImQXi4BQ.mjs → CWBS90g3Hz-kQDkY.mjs} +10 -10
- package/node/esm/{BskP3b8vUoIOGLY6.mjs → CoGSVnn-hNMtTEus.mjs} +2 -2
- package/node/esm/{DhS6yWjrrSNIJMsn.mjs → CzrLqStvrcPE2-hb.mjs} +234 -225
- package/node/esm/{CRt3vXe6YmXzqk3H.mjs → D16EdlZG1hX5WUUK.mjs} +102 -102
- package/node/esm/{DUTmDHbFbhLDT4F3.mjs → D1mDga2K5sjs8y07.mjs} +1 -1
- package/node/esm/{D4ROK9UwDpS6jO3Z.mjs → D2jtztjE6c23RKvZ.mjs} +1 -1
- package/node/esm/{icn2nX5Z8e_3mNAv.mjs → D9nRcWsYk3M82iD8.mjs} +1 -1
- package/node/esm/{CG-qBU5BAaVz7e-P.mjs → DALYzTxZ9Ur9C69Q.mjs} +1 -1
- package/node/esm/{DrCf6ITcBhVOFpRj.mjs → DF0nL7s01dp7n0Bx.mjs} +7 -7
- package/node/esm/{BL2iiEoqxDEV2Xrg.mjs → DO5ldLqhTvIfPXLW.mjs} +3348 -2610
- package/node/esm/DQz8J8ci7EJdqbuB.mjs +351 -0
- package/node/esm/{CiIymQN6aJCul62g.mjs → DR2OQTKqqyIkZnse.mjs} +9 -9
- package/node/esm/{eimUGjiIP-b8HiM6.mjs → DSTLPBgpsGW6qP9e.mjs} +52 -52
- package/node/esm/{DV5CU37aEbFbWFL0.mjs → DiXp7KSOZUSWXaZ5.mjs} +1 -1
- package/node/esm/{C_xf5Bz30VqiJjXn.mjs → DwvXHsycOQR219c7.mjs} +1 -1
- package/node/esm/{B-HUPAcqvK0eeeCz.mjs → Hc6B04OyVzHx2F5I.mjs} +38 -37
- package/node/esm/{lGJ42sHqg5if2bba.mjs → NkPNHsq2T3DXg76x.mjs} +458 -458
- package/node/esm/{-TA0MneBDKdGhsib.mjs → Nl_IIkO1jbk0s9i-.mjs} +3329 -2852
- package/node/esm/{DxazKtROyaI51dWl.mjs → OQT5lGqq8a4r5xNa.mjs} +1 -1
- package/node/esm/OTaaFGhF-k_iwobp.mjs +18 -0
- package/node/esm/{pYtP7wPyS96NQyXS.mjs → Z1elC_roIu7LhceZ.mjs} +25 -25
- package/node/esm/{CkRYLed8Mmn3giNg.mjs → e3F3OVXCxLJrSukW.mjs} +2 -2
- package/node/esm/index.mjs +584 -540
- package/node/esm/{D8hO07ToAibIuniw.mjs → suOBVUz-pca6ilJH.mjs} +138 -136
- package/package.json +8 -6
- 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/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/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,210 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
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
|
-
var r, t, o = Object.freeze({
|
|
8
|
-
AccentBorderCallout1: "accentBorderCallout1",
|
|
9
|
-
AccentBorderCallout2: "accentBorderCallout2",
|
|
10
|
-
AccentBorderCallout3: "accentBorderCallout3",
|
|
11
|
-
AccentCallout1: "accentCallout1",
|
|
12
|
-
AccentCallout2: "accentCallout2",
|
|
13
|
-
AccentCallout3: "accentCallout3",
|
|
14
|
-
ActionButtonBackPrevious: "actionButtonBackPrevious",
|
|
15
|
-
ActionButtonBeginning: "actionButtonBeginning",
|
|
16
|
-
ActionButtonBlank: "actionButtonBlank",
|
|
17
|
-
ActionButtonDocument: "actionButtonDocument",
|
|
18
|
-
ActionButtonEnd: "actionButtonEnd",
|
|
19
|
-
ActionButtonForwardNext: "actionButtonForwardNext",
|
|
20
|
-
ActionButtonHelp: "actionButtonHelp",
|
|
21
|
-
ActionButtonHome: "actionButtonHome",
|
|
22
|
-
ActionButtonInformation: "actionButtonInformation",
|
|
23
|
-
ActionButtonMovie: "actionButtonMovie",
|
|
24
|
-
ActionButtonReturn: "actionButtonReturn",
|
|
25
|
-
ActionButtonSound: "actionButtonSound",
|
|
26
|
-
Arc: "arc",
|
|
27
|
-
BentArrow: "bentArrow",
|
|
28
|
-
BentConnector2: "bentConnector2",
|
|
29
|
-
BentConnector3: "bentConnector3",
|
|
30
|
-
BentConnector4: "bentConnector4",
|
|
31
|
-
BentConnector5: "bentConnector5",
|
|
32
|
-
BentUpArrow: "bentUpArrow",
|
|
33
|
-
Bevel: "bevel",
|
|
34
|
-
BlockArc: "blockArc",
|
|
35
|
-
BorderCallout1: "borderCallout1",
|
|
36
|
-
BorderCallout2: "borderCallout2",
|
|
37
|
-
BorderCallout3: "borderCallout3",
|
|
38
|
-
BracePair: "bracePair",
|
|
39
|
-
BracketPair: "bracketPair",
|
|
40
|
-
Callout1: "callout1",
|
|
41
|
-
Callout2: "callout2",
|
|
42
|
-
Callout3: "callout3",
|
|
43
|
-
Can: "can",
|
|
44
|
-
ChartPlus: "chartPlus",
|
|
45
|
-
ChartStar: "chartStar",
|
|
46
|
-
ChartX: "chartX",
|
|
47
|
-
Chevron: "chevron",
|
|
48
|
-
Chord: "chord",
|
|
49
|
-
CircularArrow: "circularArrow",
|
|
50
|
-
Cloud: "cloud",
|
|
51
|
-
CloudCallout: "cloudCallout",
|
|
52
|
-
Corner: "corner",
|
|
53
|
-
CornerTabs: "cornerTabs",
|
|
54
|
-
Cube: "cube",
|
|
55
|
-
CurvedConnector2: "curvedConnector2",
|
|
56
|
-
CurvedConnector3: "curvedConnector3",
|
|
57
|
-
CurvedConnector4: "curvedConnector4",
|
|
58
|
-
CurvedConnector5: "curvedConnector5",
|
|
59
|
-
CurvedDownArrow: "curvedDownArrow",
|
|
60
|
-
CurvedLeftArrow: "curvedLeftArrow",
|
|
61
|
-
CurvedRightArrow: "curvedRightArrow",
|
|
62
|
-
CurvedUpArrow: "curvedUpArrow",
|
|
63
|
-
Decagon: "decagon",
|
|
64
|
-
DiagStripe: "diagStripe",
|
|
65
|
-
Diamond: "diamond",
|
|
66
|
-
Dodecagon: "dodecagon",
|
|
67
|
-
Donut: "donut",
|
|
68
|
-
DoubleWave: "doubleWave",
|
|
69
|
-
DownArrow: "downArrow",
|
|
70
|
-
DownArrowCallout: "downArrowCallout",
|
|
71
|
-
Ellipse: "ellipse",
|
|
72
|
-
EllipseRibbon: "ellipseRibbon",
|
|
73
|
-
EllipseRibbon2: "ellipseRibbon2",
|
|
74
|
-
FlowChartAlternateProcess: "flowChartAlternateProcess",
|
|
75
|
-
FlowChartCollate: "flowChartCollate",
|
|
76
|
-
FlowChartConnector: "flowChartConnector",
|
|
77
|
-
FlowChartDecision: "flowChartDecision",
|
|
78
|
-
FlowChartDelay: "flowChartDelay",
|
|
79
|
-
FlowChartDisplay: "flowChartDisplay",
|
|
80
|
-
FlowChartDocument: "flowChartDocument",
|
|
81
|
-
FlowChartExtract: "flowChartExtract",
|
|
82
|
-
FlowChartInputOutput: "flowChartInputOutput",
|
|
83
|
-
FlowChartInternalStorage: "flowChartInternalStorage",
|
|
84
|
-
FlowChartMagneticDisk: "flowChartMagneticDisk",
|
|
85
|
-
FlowChartMagneticDrum: "flowChartMagneticDrum",
|
|
86
|
-
FlowChartMagneticTape: "flowChartMagneticTape",
|
|
87
|
-
FlowChartManualInput: "flowChartManualInput",
|
|
88
|
-
FlowChartManualOperation: "flowChartManualOperation",
|
|
89
|
-
FlowChartMerge: "flowChartMerge",
|
|
90
|
-
FlowChartMultidocument: "flowChartMultidocument",
|
|
91
|
-
FlowChartOfflineStorage: "flowChartOfflineStorage",
|
|
92
|
-
FlowChartOffpageConnector: "flowChartOffpageConnector",
|
|
93
|
-
FlowChartOnlineStorage: "flowChartOnlineStorage",
|
|
94
|
-
FlowChartOr: "flowChartOr",
|
|
95
|
-
FlowChartPredefinedProcess: "flowChartPredefinedProcess",
|
|
96
|
-
FlowChartPreparation: "flowChartPreparation",
|
|
97
|
-
FlowChartProcess: "flowChartProcess",
|
|
98
|
-
FlowChartPunchedCard: "flowChartPunchedCard",
|
|
99
|
-
FlowChartPunchedTape: "flowChartPunchedTape",
|
|
100
|
-
FlowChartSort: "flowChartSort",
|
|
101
|
-
FlowChartSummingJunction: "flowChartSummingJunction",
|
|
102
|
-
FlowChartTerminator: "flowChartTerminator",
|
|
103
|
-
FoldedCorner: "foldedCorner",
|
|
104
|
-
Frame: "frame",
|
|
105
|
-
Funnel: "funnel",
|
|
106
|
-
Gear6: "gear6",
|
|
107
|
-
Gear9: "gear9",
|
|
108
|
-
HalfFrame: "halfFrame",
|
|
109
|
-
Heart: "heart",
|
|
110
|
-
Heptagon: "heptagon",
|
|
111
|
-
Hexagon: "hexagon",
|
|
112
|
-
HomePlate: "homePlate",
|
|
113
|
-
HorizontalScroll: "horizontalScroll",
|
|
114
|
-
IrregularSeal1: "irregularSeal1",
|
|
115
|
-
IrregularSeal2: "irregularSeal2",
|
|
116
|
-
LeftArrow: "leftArrow",
|
|
117
|
-
LeftArrowCallout: "leftArrowCallout",
|
|
118
|
-
LeftBrace: "leftBrace",
|
|
119
|
-
LeftBracket: "leftBracket",
|
|
120
|
-
LeftCircularArrow: "leftCircularArrow",
|
|
121
|
-
LeftRightArrow: "leftRightArrow",
|
|
122
|
-
LeftRightArrowCallout: "leftRightArrowCallout",
|
|
123
|
-
LeftRightCircularArrow: "leftRightCircularArrow",
|
|
124
|
-
LeftRightRibbon: "leftRightRibbon",
|
|
125
|
-
LeftRightUpArrow: "leftRightUpArrow",
|
|
126
|
-
LeftUpArrow: "leftUpArrow",
|
|
127
|
-
LightningBolt: "lightningBolt",
|
|
128
|
-
Line: "line",
|
|
129
|
-
LineInv: "lineInv",
|
|
130
|
-
MathDivide: "mathDivide",
|
|
131
|
-
MathEqual: "mathEqual",
|
|
132
|
-
MathMinus: "mathMinus",
|
|
133
|
-
MathMultiply: "mathMultiply",
|
|
134
|
-
MathNotEqual: "mathNotEqual",
|
|
135
|
-
MathPlus: "mathPlus",
|
|
136
|
-
Moon: "moon",
|
|
137
|
-
NoSmoking: "noSmoking",
|
|
138
|
-
NonIsoscelesTrapezoid: "nonIsoscelesTrapezoid",
|
|
139
|
-
NotchedRightArrow: "notchedRightArrow",
|
|
140
|
-
Octagon: "octagon",
|
|
141
|
-
Parallelogram: "parallelogram",
|
|
142
|
-
Pentagon: "pentagon",
|
|
143
|
-
Pie: "pie",
|
|
144
|
-
PieWedge: "pieWedge",
|
|
145
|
-
Plaque: "plaque",
|
|
146
|
-
PlaqueTabs: "plaqueTabs",
|
|
147
|
-
Plus: "plus",
|
|
148
|
-
QuadArrow: "quadArrow",
|
|
149
|
-
QuadArrowCallout: "quadArrowCallout",
|
|
150
|
-
Rect: "rect",
|
|
151
|
-
Ribbon: "ribbon",
|
|
152
|
-
Ribbon2: "ribbon2",
|
|
153
|
-
RightArrow: "rightArrow",
|
|
154
|
-
RightArrowCallout: "rightArrowCallout",
|
|
155
|
-
RightBrace: "rightBrace",
|
|
156
|
-
RightBracket: "rightBracket",
|
|
157
|
-
Round1Rect: "round1Rect",
|
|
158
|
-
Round2DiagRect: "round2DiagRect",
|
|
159
|
-
Round2SameRect: "round2SameRect",
|
|
160
|
-
RoundRect: "roundRect",
|
|
161
|
-
RtTriangle: "rtTriangle",
|
|
162
|
-
SmileyFace: "smileyFace",
|
|
163
|
-
Snip1Rect: "snip1Rect",
|
|
164
|
-
Snip2DiagRect: "snip2DiagRect",
|
|
165
|
-
Snip2SameRect: "snip2SameRect",
|
|
166
|
-
SnipRoundRect: "snipRoundRect",
|
|
167
|
-
SquareTabs: "squareTabs",
|
|
168
|
-
Star10: "star10",
|
|
169
|
-
Star12: "star12",
|
|
170
|
-
Star16: "star16",
|
|
171
|
-
Star24: "star24",
|
|
172
|
-
Star32: "star32",
|
|
173
|
-
Star4: "star4",
|
|
174
|
-
Star5: "star5",
|
|
175
|
-
Star6: "star6",
|
|
176
|
-
Star7: "star7",
|
|
177
|
-
Star8: "star8",
|
|
178
|
-
StraightConnector1: "straightConnector1",
|
|
179
|
-
StripedRightArrow: "stripedRightArrow",
|
|
180
|
-
Sun: "sun",
|
|
181
|
-
SwooshArrow: "swooshArrow",
|
|
182
|
-
Teardrop: "teardrop",
|
|
183
|
-
Trapezoid: "trapezoid",
|
|
184
|
-
Triangle: "triangle",
|
|
185
|
-
UpArrow: "upArrow",
|
|
186
|
-
UpArrowCallout: "upArrowCallout",
|
|
187
|
-
UpDownArrow: "upDownArrow",
|
|
188
|
-
UpDownArrowCallout: "upDownArrowCallout",
|
|
189
|
-
UturnArrow: "uturnArrow",
|
|
190
|
-
VerticalScroll: "verticalScroll",
|
|
191
|
-
Wave: "wave",
|
|
192
|
-
WedgeEllipseCallout: "wedgeEllipseCallout",
|
|
193
|
-
WedgeRectCallout: "wedgeRectCallout",
|
|
194
|
-
WedgeRoundRectCallout: "wedgeRoundRectCallout"
|
|
195
|
-
});
|
|
196
|
-
(t = r || (r = {})).Preset = o, t.PathLayer = {
|
|
197
|
-
Fill: "fill",
|
|
198
|
-
Stroke: "stroke",
|
|
199
|
-
Marker: "marker"
|
|
200
|
-
}, t.FillTransfer = Object.freeze({
|
|
201
|
-
norm: [1, 0],
|
|
202
|
-
darken: [.6, 0],
|
|
203
|
-
darkenLess: [.8, 0],
|
|
204
|
-
lighten: [.6, .4],
|
|
205
|
-
lightenLess: [.8, .2]
|
|
206
|
-
}), t.HandleType = {
|
|
207
|
-
XY: "xy",
|
|
208
|
-
Polar: "polar"
|
|
209
|
-
};
|
|
210
|
-
export { r as t };
|
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license @sheetxl/sdk - SDK - A high-performance, embeddable spreadsheet engine. - v0.8.0-beta.12
|
|
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
|
-
import { Bi as t, Er as o, Sn as r, Vi as n, n as l, na as e, ra as a, ta as s } from "./Vocy-I9dKzZMr0Ct.mjs";
|
|
8
|
-
import { FormulaError as c, IRange as u } from "@sheetxl/primitives";
|
|
9
|
-
import { CommonUtils as d } from "@sheetxl/utils";
|
|
10
|
-
var i = (t) => {
|
|
11
|
-
let o = t.ext;
|
|
12
|
-
return null === o && (o = t.ext = {
|
|
13
|
-
spillDependents: d.EmptyArray,
|
|
14
|
-
spillRowEnd: -1,
|
|
15
|
-
spillColEnd: -1,
|
|
16
|
-
fixedRef: null,
|
|
17
|
-
demandValue: void 0,
|
|
18
|
-
cycleGroup: 0,
|
|
19
|
-
cycleNext: null,
|
|
20
|
-
shownGroup: 0
|
|
21
|
-
}), o;
|
|
22
|
-
}, w = (t) => {
|
|
23
|
-
const o = t.precedents;
|
|
24
|
-
return null !== o ? o : t.block.getPrecedentsAt(t.rowIndex, t.colIndex);
|
|
25
|
-
}, f = (t) => {
|
|
26
|
-
const o = t.precedents;
|
|
27
|
-
return null !== o ? o.length : t.block.paramLength;
|
|
28
|
-
}, S = (o) => {
|
|
29
|
-
if (o instanceof t) return new a(o);
|
|
30
|
-
const r = !0 === o.isIRepeatingList ? o : null, n = r ? r.getPeriod() : o.length, l = Array.isArray(o);
|
|
31
|
-
if (!r && !l && !g(o)) return new a(o);
|
|
32
|
-
let s = null;
|
|
33
|
-
for (let t = 0; t < n; t++) if (h(l ? o[t] : o.at(t))) {
|
|
34
|
-
if (null === s) {
|
|
35
|
-
s = new Array(n);
|
|
36
|
-
for (let t = 0; t < n; t++) s[t] = l ? o[t] : o.at(t);
|
|
37
|
-
}
|
|
38
|
-
s[t] = c.BuiltIn.Calc;
|
|
39
|
-
}
|
|
40
|
-
return new a(null === s ? o : r ? new e(s, o.length) : s);
|
|
41
|
-
}, h = (t) => null !== t && "object" == typeof t && !c.isError(t) && !0 !== t.isIRichData && !o(t), g = (o) => {
|
|
42
|
-
let r = !1;
|
|
43
|
-
return a.forEachLeaf(o, (o, n, l, e) => {
|
|
44
|
-
if (r || o instanceof t) return;
|
|
45
|
-
let a = n + e - l;
|
|
46
|
-
!0 === o.isIRepeatingList && (a = Math.min(a, n + o.getPeriod() - 1));
|
|
47
|
-
for (let t = n; !r && t <= a; t++) r = h(o.at(t));
|
|
48
|
-
}), r;
|
|
49
|
-
}, I = class extends r {
|
|
50
|
-
constructor(t, o) {
|
|
51
|
-
super(), this.nodes = t, this.count = o;
|
|
52
|
-
}
|
|
53
|
-
}, p = class extends r {
|
|
54
|
-
constructor(t) {
|
|
55
|
-
super(), this.node = t;
|
|
56
|
-
}
|
|
57
|
-
}, m = class extends r {
|
|
58
|
-
constructor(t) {
|
|
59
|
-
super(), this.node = t;
|
|
60
|
-
}
|
|
61
|
-
};
|
|
62
|
-
function x(t, o = 0, r = 0) {
|
|
63
|
-
const n = (t = t._materializeEmpty())._values, l = t._coords, e = n.getRuns({ bounds: l }), a = n.getAxis() !== u.Axis.Row, c = a ? l.colStart : l.rowStart, d = a ? l.rowStart : l.colStart, i = new s.Builder(null, o, r);
|
|
64
|
-
let w = e.next();
|
|
65
|
-
for (; !w.done;) {
|
|
66
|
-
const t = w.value;
|
|
67
|
-
i.pushMultipleAt(t[0] - c, t[1] - d, t[2]), w = e.next();
|
|
68
|
-
}
|
|
69
|
-
return i.build();
|
|
70
|
-
}
|
|
71
|
-
function E(t) {
|
|
72
|
-
if (null === t || "object" != typeof t || !0 !== t.isIRange) return t;
|
|
73
|
-
const o = t, r = o._values, e = new n({
|
|
74
|
-
axis: r.getAxis(),
|
|
75
|
-
createRun: S
|
|
76
|
-
}), a = x(o);
|
|
77
|
-
return a && e.setValues(a.tuples), new l(o._runtime, e, {
|
|
78
|
-
colStart: 0,
|
|
79
|
-
rowStart: 0,
|
|
80
|
-
colEnd: o.getColumnCount() - 1,
|
|
81
|
-
rowEnd: o.getRowCount() - 1
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
function b(t, o, r) {
|
|
85
|
-
const n = o.rowEnd - o.rowStart + 1, l = o.colEnd - o.colStart + 1, e = function(t, o, r) {
|
|
86
|
-
const n = t?.isIRange ? t : null, l = n ? n.getRowCount() : 1, e = n ? n.getColumnCount() : 1, a = new Array(o);
|
|
87
|
-
for (let s = 0; s < o; s++) {
|
|
88
|
-
const o = new Array(r), u = 1 === l ? 0 : s < l ? s : -1;
|
|
89
|
-
for (let l = 0; l < r; l++) {
|
|
90
|
-
const r = 1 === e ? 0 : l < e ? l : -1;
|
|
91
|
-
o[l] = u < 0 || r < 0 ? c.BuiltIn.NA : n ? n.getValueAt(u, r) : t;
|
|
92
|
-
}
|
|
93
|
-
a[s] = o;
|
|
94
|
-
}
|
|
95
|
-
return a;
|
|
96
|
-
}(t, n, l), a = r ? l : n, u = r ? n : l, d = r ? o.colStart : o.rowStart, i = r ? o.rowStart : o.colStart, w = new s.Builder(null);
|
|
97
|
-
let f = !0;
|
|
98
|
-
for (let t = 0; t < a; t++) {
|
|
99
|
-
let o = null, n = 0;
|
|
100
|
-
for (let l = 0; l < u; l++) {
|
|
101
|
-
const a = r ? e[l][t] : e[t][l];
|
|
102
|
-
null != a ? (o || (o = [], n = l, f = !1), o.push(a)) : o && (w.pushMultipleAt(d + t, i + n, o), o = null);
|
|
103
|
-
}
|
|
104
|
-
o && w.pushMultipleAt(d + t, i + n, o);
|
|
105
|
-
}
|
|
106
|
-
return f ? null : w.build();
|
|
107
|
-
}
|
|
108
|
-
function C(t, o, r, n, l = null) {
|
|
109
|
-
const e = t.value, a = e.formulaBlockWidth, s = e.formulaBlockHeight, c = e.formulaEntry.value, u = r - t.colStart, d = o - t.rowStart, i = t.rowEnd - t.rowStart - (s - 1), w = t.colEnd - t.colStart - (a - 1), f = e.$absRowEnd ? 0 : Math.max(0, d - i), S = e.$absRowStart ? s - 1 : Math.min(s - 1, d), h = e.$absColEnd ? 0 : Math.max(0, u - w), g = e.$absColStart ? a - 1 : Math.min(a - 1, u), I = c.ref;
|
|
110
|
-
null !== l ? l(c, I.rowStart + f, I.rowStart + S, I.colStart + h, I.colStart + g, n) : c.forEachNodeIn(I.rowStart + f, I.rowStart + S, I.colStart + h, I.colStart + g, n);
|
|
111
|
-
}
|
|
112
|
-
function M(t, o, r, n, l, e, a = null) {
|
|
113
|
-
const s = t.value, c = s.formulaBlockWidth, u = s.formulaBlockHeight, d = Math.max(o, t.rowStart), i = Math.min(n, t.rowEnd);
|
|
114
|
-
if (d > i) return;
|
|
115
|
-
const w = Math.max(r, t.colStart), f = Math.min(l, t.colEnd);
|
|
116
|
-
if (w > f) return;
|
|
117
|
-
const S = t.rowEnd - t.rowStart - (u - 1), h = t.colEnd - t.colStart - (c - 1), g = s.$absRowEnd ? 0 : Math.max(0, d - t.rowStart - S), I = s.$absRowStart ? u - 1 : Math.min(u - 1, i - t.rowStart), p = s.$absColEnd ? 0 : Math.max(0, w - t.colStart - h), m = s.$absColStart ? c - 1 : Math.min(c - 1, f - t.colStart);
|
|
118
|
-
if (g > I || p > m) return;
|
|
119
|
-
let x = 1, E = 0, b = 1, C = 0;
|
|
120
|
-
if (o >= t.rowStart && o <= t.rowEnd && r >= t.colStart && r <= t.colEnd) {
|
|
121
|
-
const n = o - t.rowStart, l = r - t.colStart;
|
|
122
|
-
x = s.$absRowEnd ? 0 : Math.max(0, n - S), E = s.$absRowStart ? u - 1 : Math.min(u - 1, n), b = s.$absColEnd ? 0 : Math.max(0, l - h), C = s.$absColStart ? c - 1 : Math.min(c - 1, l);
|
|
123
|
-
}
|
|
124
|
-
const M = s.formulaEntry.value, y = M.ref, R = (t) => {
|
|
125
|
-
const o = t.rowIndex - y.rowStart, r = t.colIndex - y.colStart;
|
|
126
|
-
o >= x && o <= E && r >= b && r <= C || e(t);
|
|
127
|
-
};
|
|
128
|
-
null !== a ? a(M, y.rowStart + g, y.rowStart + I, y.colStart + p, y.colStart + m, R) : M.forEachNodeIn(y.rowStart + g, y.rowStart + I, y.colStart + p, y.colStart + m, R);
|
|
129
|
-
}
|
|
130
|
-
function y(t) {
|
|
131
|
-
const { row: o, col: r, rows: n, cols: l, rowInput: e, colInput: a } = t, s = (t, o, r, n) => ({
|
|
132
|
-
rowStart: t,
|
|
133
|
-
colStart: o,
|
|
134
|
-
rowEnd: r,
|
|
135
|
-
colEnd: n
|
|
136
|
-
}), c = s(o - 1, r, o - 1, r + l - 1), u = s(o, r - 1, o + n - 1, r - 1);
|
|
137
|
-
return null !== e && null !== a ? [
|
|
138
|
-
s(o - 1, r - 1, o - 1, r - 1),
|
|
139
|
-
c,
|
|
140
|
-
u
|
|
141
|
-
] : null !== a ? [c, u] : [u, c];
|
|
142
|
-
}
|
|
143
|
-
var R = (t, o, r) => {
|
|
144
|
-
const { gridId: n, row: l, col: e } = t;
|
|
145
|
-
return null !== t.rowInput && null !== t.colInput ? {
|
|
146
|
-
gridId: n,
|
|
147
|
-
row: l - 1,
|
|
148
|
-
col: e - 1
|
|
149
|
-
} : null !== t.colInput ? {
|
|
150
|
-
gridId: n,
|
|
151
|
-
row: l - 1,
|
|
152
|
-
col: e + r
|
|
153
|
-
} : {
|
|
154
|
-
gridId: n,
|
|
155
|
-
row: l + o,
|
|
156
|
-
col: e - 1
|
|
157
|
-
};
|
|
158
|
-
}, A = (t, o) => ({
|
|
159
|
-
gridId: t.gridId,
|
|
160
|
-
row: t.row - 1,
|
|
161
|
-
col: t.col + o
|
|
162
|
-
}), $ = (t, o) => ({
|
|
163
|
-
gridId: t.gridId,
|
|
164
|
-
row: t.row + o,
|
|
165
|
-
col: t.col - 1
|
|
166
|
-
}), v = (t, o) => 32768 * t + o;
|
|
167
|
-
function B(t, o) {
|
|
168
|
-
const r = t.getPrecedents(), n = t.getDynamics(), l = /* @__PURE__ */ new Map(), e = [];
|
|
169
|
-
let a = !1;
|
|
170
|
-
const s = [], u = (t) => {
|
|
171
|
-
if (t.block.hasDataTable()) return;
|
|
172
|
-
const o = t.gridId;
|
|
173
|
-
if (!o) return;
|
|
174
|
-
let r = l.get(o);
|
|
175
|
-
r || (r = {
|
|
176
|
-
byCell: /* @__PURE__ */ new Map(),
|
|
177
|
-
spills: []
|
|
178
|
-
}, l.set(o, r));
|
|
179
|
-
const n = v(t.rowIndex, t.colIndex);
|
|
180
|
-
r.byCell.has(n) || (r.byCell.set(n, t), t.cachedValue?.isIRange && r.spills.push(t), e.push(t));
|
|
181
|
-
}, d = (t, o, r, n, l) => {
|
|
182
|
-
if (t.unanchored) return;
|
|
183
|
-
const e = t.ref;
|
|
184
|
-
t.mintNodesIn(e.rowStart + o, e.rowStart + r, e.colStart + n, e.colStart + l, u);
|
|
185
|
-
}, i = (t, o) => {
|
|
186
|
-
if (o.unanchored || o.hasDataTable()) return;
|
|
187
|
-
a = !0;
|
|
188
|
-
const r = o.ref;
|
|
189
|
-
o.mintNodesIn(r.rowStart, r.rowEnd, r.colStart, r.colEnd, u);
|
|
190
|
-
}, f = {
|
|
191
|
-
colStart: 0,
|
|
192
|
-
rowStart: 0,
|
|
193
|
-
colEnd: 0,
|
|
194
|
-
rowEnd: 0,
|
|
195
|
-
scope: o.gridId
|
|
196
|
-
}, S = (t, o, n, l, e) => {
|
|
197
|
-
f.rowStart = o, f.colStart = n, f.rowEnd = l, f.colEnd = e, f.scope = t, function(t, o, r, n, l) {
|
|
198
|
-
r.length = 0, t.search(o, !1, !1, r);
|
|
199
|
-
const e = r.length;
|
|
200
|
-
if (0 === e) return;
|
|
201
|
-
const a = o.colStart, s = o.rowStart, c = o.colEnd - a, u = o.rowEnd - s;
|
|
202
|
-
for (let t = 0; t < e; t++) {
|
|
203
|
-
const o = r[t], e = o.value, d = e.formulaEntry.value;
|
|
204
|
-
if (e.index < 0) {
|
|
205
|
-
l(o, d);
|
|
206
|
-
continue;
|
|
207
|
-
}
|
|
208
|
-
const i = d.ref, w = i.colEnd - i.colStart, f = i.rowEnd - i.rowStart, S = o.colEnd - o.colStart - w, h = o.rowEnd - o.rowStart - f;
|
|
209
|
-
let g = 0, I = f, p = 0, m = w;
|
|
210
|
-
const x = s - o.rowStart, E = a - o.colStart;
|
|
211
|
-
e.$absRowEnd || (g = Math.min(Math.max(x - h, 0), f)), e.$absRowStart || (I = Math.min(x + u, f)), e.$absColEnd || (p = Math.min(Math.max(E - S, 0), w)), e.$absColStart || (m = Math.min(c + E, w)), n(d, g, I, p, m);
|
|
212
|
-
}
|
|
213
|
-
}(r, f, s, d, i);
|
|
214
|
-
}, { rowInput: h, colInput: g } = o;
|
|
215
|
-
h && S(o.gridId, h.rowIndex, h.colIndex, h.rowIndex, h.colIndex), g && S(o.gridId, g.rowIndex, g.colIndex, g.rowIndex, g.colIndex);
|
|
216
|
-
for (let t = 0; t < e.length; t++) {
|
|
217
|
-
const o = e[t], r = o.gridId, l = o.rowIndex, s = o.colIndex, c = o.cachedValue;
|
|
218
|
-
c?.isIRange ? S(r, l, s, l + c.getRowCount() - 1, s + c.getColumnCount() - 1) : S(r, l, s, l, s), !a && n.has(o.block) && (a = !0);
|
|
219
|
-
}
|
|
220
|
-
if (0 === e.length) return e;
|
|
221
|
-
const I = [], p = (t) => {
|
|
222
|
-
const o = l.get(t.gridId)?.byCell.get(v(t.row, t.col)) ?? null;
|
|
223
|
-
null === o || I.includes(o) || I.push(o);
|
|
224
|
-
};
|
|
225
|
-
for (let t = 0; t < o.rows; t++) {
|
|
226
|
-
g && p($(o, t));
|
|
227
|
-
for (let r = 0; r < o.cols; r++) p(R(o, t, r));
|
|
228
|
-
}
|
|
229
|
-
if (h) for (let t = 0; t < o.cols; t++) p(A(o, t));
|
|
230
|
-
if (0 === I.length) return [];
|
|
231
|
-
const m = [], x = /* @__PURE__ */ new Set(), E = /* @__PURE__ */ new Set(), b = (t) => {
|
|
232
|
-
if (x.has(t) || E.has(t)) return;
|
|
233
|
-
E.add(t);
|
|
234
|
-
const o = ((t) => {
|
|
235
|
-
const o = [], r = w(t);
|
|
236
|
-
for (let n = 0; n < r.length; n++) {
|
|
237
|
-
const e = r[n];
|
|
238
|
-
if (c.isError(e)) continue;
|
|
239
|
-
const a = l.get(e.scope ?? t.gridId);
|
|
240
|
-
if (!a) continue;
|
|
241
|
-
const s = e.rowStart, u = e.colStart, d = e.rowEnd, i = e.colEnd;
|
|
242
|
-
if (s === d && u === i) {
|
|
243
|
-
const t = a.byCell.get(v(s, u));
|
|
244
|
-
t && !o.includes(t) && o.push(t);
|
|
245
|
-
} else for (const t of a.byCell.values()) {
|
|
246
|
-
const r = t.rowIndex, n = t.colIndex;
|
|
247
|
-
r >= s && r <= d && n >= u && n <= i && !o.includes(t) && o.push(t);
|
|
248
|
-
}
|
|
249
|
-
const w = a.spills;
|
|
250
|
-
for (let t = 0; t < w.length; t++) {
|
|
251
|
-
const r = w[t], n = r.cachedValue, l = r.rowIndex, e = r.colIndex;
|
|
252
|
-
l <= d && l + n.getRowCount() - 1 >= s && e <= i && e + n.getColumnCount() - 1 >= u && !o.includes(r) && o.push(r);
|
|
253
|
-
}
|
|
254
|
-
}
|
|
255
|
-
return o;
|
|
256
|
-
})(t);
|
|
257
|
-
for (let t = 0; t < o.length; t++) b(o[t]);
|
|
258
|
-
E.delete(t), x.add(t), m.push(t);
|
|
259
|
-
};
|
|
260
|
-
if (a) for (let t = 0; t < e.length; t++) b(e[t]);
|
|
261
|
-
else for (let t = 0; t < I.length; t++) b(I[t]);
|
|
262
|
-
return m;
|
|
263
|
-
}
|
|
264
|
-
function V(t, o, r) {
|
|
265
|
-
const { rows: n, cols: l, rowInput: e, colInput: a, gridId: s } = o, c = new Array(n);
|
|
266
|
-
for (let t = 0; t < n; t++) c[t] = new Array(l);
|
|
267
|
-
const u = (o) => t.layerFor(o.gridId).getValueAt(o.row, o.col) ?? null, d = (o, r) => {
|
|
268
|
-
t.layerFor(s).set(o.rowIndex, o.colIndex, r);
|
|
269
|
-
}, i = (o, r) => {
|
|
270
|
-
const n = t.layerFor(o.gridId), l = o.rowIndex, e = o.colIndex, a = r;
|
|
271
|
-
if (a?.isIRange) {
|
|
272
|
-
const t = a.getRowCount(), o = a.getColumnCount();
|
|
273
|
-
for (let r = 0; r < t; r++) for (let t = 0; t < o; t++) n.set(l + r, e + t, a.getValueAt(r, t) ?? null);
|
|
274
|
-
return;
|
|
275
|
-
}
|
|
276
|
-
n.set(l, e, r);
|
|
277
|
-
}, w = () => {
|
|
278
|
-
for (let o = 0; o < r.length; o++) {
|
|
279
|
-
const n = r[o];
|
|
280
|
-
i(n, t.evaluate(n));
|
|
281
|
-
}
|
|
282
|
-
};
|
|
283
|
-
for (let t = 0; t < n; t++) {
|
|
284
|
-
null !== a && (d(a, u($(o, t))), null === e && w());
|
|
285
|
-
for (let r = 0; r < l; r++) null !== e && (d(e, u(A(o, r))), w()), c[t][r] = u(R(o, t, r));
|
|
286
|
-
}
|
|
287
|
-
return c;
|
|
288
|
-
}
|
|
289
|
-
export { m as a, E as c, M as d, S as f, w as h, p as i, x as l, f as m, B as n, I as o, i as p, y as r, b as s, V as t, C as u };
|