@sheetxl/sdk 0.8.0-beta.1 → 0.8.0-beta.11
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/README.md +1 -1
- package/THIRD-PARTY-NOTICES.md +1 -1
- package/browser/esm/B7aUIvgUjncMMD_i.mjs +394 -0
- package/browser/esm/BFagR2JeWs74iAG3.mjs +171 -0
- package/browser/esm/BGOFfpxr2jPIdqmV.mjs +40 -0
- package/browser/esm/BLoUBId2xZpXAK_H.mjs +698 -0
- package/browser/esm/BMyDRQ716j79h_bH.mjs +86 -0
- package/browser/esm/BVDiOXGMc5_FMGfy.mjs +400 -0
- package/browser/esm/BjkCiv5Jz6WYKZeu.mjs +598 -0
- package/browser/esm/BkBhLS0l6z8sxI6D.mjs +441 -0
- package/browser/esm/BnG31I6Oj_HEtSPS.mjs +167 -0
- package/browser/esm/BoV6zPBnfqCBCqZ7.mjs +7729 -0
- package/browser/esm/BpgskG1Er_lGQ_yS.mjs +142 -0
- package/browser/esm/BtvLTTfSBdAKplVG.mjs +466 -0
- package/browser/esm/C16ycKja6zG0crV_.mjs +55580 -0
- package/browser/esm/C2VbEI_XVAoseAwa.mjs +1552 -0
- package/browser/esm/C4MqfLn9Dm-l3OIk.mjs +540 -0
- package/browser/esm/C5E6zSGAALWf61n4.mjs +199 -0
- package/browser/esm/CHU6iu_WGlm7fLET.mjs +1001 -0
- package/browser/esm/CQYjO777cmAznUzK.mjs +527 -0
- package/browser/esm/CU3DmJ-YnVVrC1_k.mjs +1123 -0
- package/browser/esm/CV5EGEjG5_-CPpP0.mjs +8212 -0
- package/browser/esm/{uyWBMSIxMlt8n5Z3.mjs → CaB7J-xgfKO2uAkG.mjs} +2 -2
- package/browser/esm/CkxWugaJFjDGZNZ-.mjs +12 -0
- package/browser/esm/ClPfI4lODvCece29.mjs +632 -0
- package/browser/esm/ClbvFbFzFzXLBKNN.mjs +193 -0
- package/browser/esm/{DlPMeIyxT9tG_WDk.mjs → Ctjb0SsxV4K4MMqG.mjs} +179 -202
- package/browser/esm/D5np__Jb1euAyaLw.mjs +7 -0
- package/browser/esm/DEiPS3Dr-s4fPbVZ.mjs +607 -0
- package/browser/esm/DLLE0FZNsKxbBzRn.mjs +128 -0
- package/browser/esm/DWNzqw7DUKwoxjri.mjs +20 -0
- package/browser/esm/{B0HS42a7lga1k1U_.mjs → Dlmig06rIo7cInRk.mjs} +2 -2
- package/browser/esm/{f2G3QRgEbvFJcoa2.mjs → DvAaxH6z_tGvrRzl.mjs} +1704 -1008
- package/browser/esm/Dyq_ivuHvlXLwPCl.mjs +12831 -0
- package/browser/esm/PcHFjNzQsE54POri.mjs +1141 -0
- package/browser/esm/S2dNNx1a5ydRnARM.mjs +367 -0
- package/browser/esm/f1IoRb7tEb0QmCSt.mjs +110 -0
- package/browser/esm/gssVX_FH1XFN-twD.mjs +210 -0
- package/browser/esm/index.mjs +1759 -1161
- package/browser/esm/nvU0ClAbf0g94YBK.mjs +1695 -0
- package/browser/esm/zlLuW405RSguy4Kn.mjs +357 -0
- package/licenses/dependencies.txt +141 -141
- package/node/esm/2Kihw_-5lVTEnwMa.mjs +1132 -0
- package/node/esm/857CIBgQgGpnqrXk.mjs +199 -0
- package/node/esm/B084DssTcdBheTp_.mjs +7966 -0
- package/node/esm/B21JjOLghRoDOrkx.mjs +134 -0
- package/node/esm/BIRq1kT7lLRzns9t.mjs +610 -0
- package/node/esm/BIwObuhTJYf0jpUa.mjs +451 -0
- package/node/esm/Bbf1Pm9Gk7YpLTvg.mjs +12 -0
- package/node/esm/BqiexuA89caYnAPz.mjs +1135 -0
- package/node/esm/BrCKGFRsX_ezFJ4B.mjs +811 -0
- package/node/esm/CCN5vD410obwdz38.mjs +405 -0
- package/node/esm/{Cku7XiUvw1xrRasi.mjs → CDHdgJXH2vS71WMc.mjs} +1 -1
- package/node/esm/CGp6VZL-gZa9Uezx.mjs +1860 -0
- package/node/esm/CNCNJNg890KdgkWh.mjs +142 -0
- package/node/esm/CZICGK_ss0HoGHCP.mjs +7 -0
- package/node/esm/CZiqiay42tFTrLI4.mjs +171 -0
- package/node/esm/CdJHUJSBRHZoryPe.mjs +360 -0
- package/node/esm/Ct3h15sCus4Tgt6M.mjs +1762 -0
- package/node/esm/CwePQwTILHHjGDkZ.mjs +1033 -0
- package/node/esm/CzXT00vrQa1_gvW9.mjs +28 -0
- package/node/esm/D1TKBVmoKGAXf37B.mjs +402 -0
- package/node/esm/D2KBymQJd1XhpeQD.mjs +540 -0
- package/node/esm/D6e2z7eZpxOJXHc7.mjs +1783 -0
- package/node/esm/D8zEN-6ZdDqDvTxM.mjs +639 -0
- package/node/esm/DNRhGK-8Tr9xcRyc.mjs +8320 -0
- package/node/esm/DOU54VsOjG-m-NyQ.mjs +210 -0
- package/node/esm/DUTskXCXref-IJnI.mjs +133 -0
- package/node/esm/D_t5AUxSm7_icjzq.mjs +638 -0
- package/node/esm/Db0v7zXNnyjBIjjI.mjs +372 -0
- package/node/esm/De2IONBxQhz-Qbyh.mjs +596 -0
- package/node/esm/Df1bL6VFvrqIdSLB.mjs +40 -0
- package/node/esm/DkwIPzKc3UwdUIfM.mjs +86 -0
- package/node/esm/DrTZbfemSLq2mseG.mjs +111 -0
- package/node/esm/OVfaSb506tNSIvbv.mjs +57107 -0
- package/node/esm/cGwrLA1RCE-WhJ7w.mjs +255 -0
- package/node/esm/index.mjs +2873 -53929
- package/node/esm/mFiBSM7XgBHV9AY7.mjs +13010 -0
- package/node/esm/yavzZOiZW_EjG9lE.mjs +15 -0
- package/package.json +15 -17
- package/resources/contents.json +184 -0
- package/resources/fonts/arial-bold-italic.hinted.json +125 -0
- package/resources/fonts/arial-bold-italic.metrics.json +139 -0
- package/resources/fonts/arial-bold-italic.rows.json +9 -0
- package/resources/fonts/arial-bold.hinted.json +125 -0
- package/resources/fonts/arial-bold.metrics.json +139 -0
- package/resources/fonts/arial-bold.rows.json +9 -0
- package/resources/fonts/arial-italic.hinted.json +125 -0
- package/resources/fonts/arial-italic.metrics.json +139 -0
- package/resources/fonts/arial-italic.rows.json +9 -0
- package/resources/fonts/arial-regular.hinted.json +125 -0
- package/resources/fonts/arial-regular.metrics.json +139 -0
- package/resources/fonts/arial-regular.rows.json +9 -0
- package/resources/fonts/calibri-bold-italic.hinted.json +122 -0
- package/resources/fonts/calibri-bold-italic.metrics.json +137 -0
- package/resources/fonts/calibri-bold-italic.rows.json +9 -0
- package/resources/fonts/calibri-bold.hinted.json +122 -0
- package/resources/fonts/calibri-bold.metrics.json +137 -0
- package/resources/fonts/calibri-bold.rows.json +9 -0
- package/resources/fonts/calibri-italic.hinted.json +121 -0
- package/resources/fonts/calibri-italic.metrics.json +137 -0
- package/resources/fonts/calibri-italic.rows.json +9 -0
- package/resources/fonts/calibri-regular.hinted.json +121 -0
- package/resources/fonts/calibri-regular.metrics.json +137 -0
- package/resources/fonts/calibri-regular.rows.json +9 -0
- package/resources/fonts/cambria-bold-italic.hinted.json +105 -0
- package/resources/fonts/cambria-bold-italic.metrics.json +66 -0
- package/resources/fonts/cambria-bold-italic.rows.json +9 -0
- package/resources/fonts/cambria-bold.hinted.json +108 -0
- package/resources/fonts/cambria-bold.metrics.json +66 -0
- package/resources/fonts/cambria-bold.rows.json +9 -0
- package/resources/fonts/cambria-italic.hinted.json +102 -0
- package/resources/fonts/cambria-italic.metrics.json +66 -0
- package/resources/fonts/cambria-italic.rows.json +9 -0
- package/resources/fonts/cambria-regular.hinted.json +110 -0
- package/resources/fonts/cambria-regular.metrics.json +66 -0
- package/resources/fonts/cambria-regular.rows.json +9 -0
- package/resources/fonts/contents.json +406 -0
- package/resources/fonts/courier-new-bold-italic.hinted.json +11 -0
- package/resources/fonts/courier-new-bold-italic.metrics.json +143 -0
- package/resources/fonts/courier-new-bold-italic.rows.json +9 -0
- package/resources/fonts/courier-new-bold.hinted.json +11 -0
- package/resources/fonts/courier-new-bold.metrics.json +143 -0
- package/resources/fonts/courier-new-bold.rows.json +9 -0
- package/resources/fonts/courier-new-italic.hinted.json +11 -0
- package/resources/fonts/courier-new-italic.metrics.json +143 -0
- package/resources/fonts/courier-new-italic.rows.json +9 -0
- package/resources/fonts/courier-new-regular.hinted.json +11 -0
- package/resources/fonts/courier-new-regular.metrics.json +143 -0
- package/resources/fonts/courier-new-regular.rows.json +9 -0
- package/resources/fonts/times-new-roman-bold-italic.hinted.json +125 -0
- package/resources/fonts/times-new-roman-bold-italic.metrics.json +141 -0
- package/resources/fonts/times-new-roman-bold-italic.rows.json +9 -0
- package/resources/fonts/times-new-roman-bold.hinted.json +125 -0
- package/resources/fonts/times-new-roman-bold.metrics.json +141 -0
- package/resources/fonts/times-new-roman-bold.rows.json +9 -0
- package/resources/fonts/times-new-roman-italic.hinted.json +125 -0
- package/resources/fonts/times-new-roman-italic.metrics.json +143 -0
- package/resources/fonts/times-new-roman-italic.rows.json +9 -0
- package/resources/fonts/times-new-roman-regular.hinted.json +125 -0
- package/resources/fonts/times-new-roman-regular.metrics.json +141 -0
- package/resources/fonts/times-new-roman-regular.rows.json +9 -0
- package/resources/locales/de/model.msg.json +199 -21
- package/resources/locales/en/model.msg.json +207 -23
- package/types/scripting-api.json +10663 -0
- package/types/scripting-enums.json +435 -130
- package/types/scripting.d.ts +33010 -15730
- package/types/src/.generated/wasm/fonts.d.ts +161 -0
- package/types/src/.generated/wasm/fonts_bg.inline.d.ts +3 -0
- package/types/src/.generated/wasm/sdk.d.ts +122 -0
- package/types/src/.generated/wasm/sdk_bg.inline.d.ts +3 -0
- package/types/src/address/AddressUtils.d.ts +10 -1
- package/types/src/address/_StructuredAddress.d.ts +58 -0
- package/types/src/anchored/AbstractAnchored.d.ts +18 -8
- package/types/src/anchored/AnchoredMap.d.ts +2 -0
- package/types/src/anchored/IAnchoredMap.d.ts +52 -4
- package/types/src/autoFill/AutoFill.d.ts +316 -32
- package/types/src/autoFill/IAutoFill.d.ts +232 -15
- package/types/src/border/{IBorder.d.ts → IBorders.d.ts} +58 -41
- package/types/src/border/index.d.ts +1 -1
- package/types/src/calculation/Calculation.d.ts +584 -149
- package/types/src/calculation/ExternalBookBindings.d.ts +118 -0
- package/types/src/calculation/FormulaLiterals.d.ts +2 -1
- package/types/src/calculation/FormulaText.d.ts +98 -0
- package/types/src/calculation/ICalculation.d.ts +353 -88
- package/types/src/calculation/INamedFormulasCollection.d.ts +9 -8
- package/types/src/calculation/NamedFormulaCollection.d.ts +322 -115
- package/types/src/calculation/NamedLambdaFunction.d.ts +28 -0
- package/types/src/calculation/TokenType.d.ts +9 -0
- package/types/src/calculation/Types.d.ts +83 -2
- package/types/src/calculation/_CloneBoundary.d.ts +80 -0
- package/types/src/calculation/_FormulaToolkit.d.ts +9 -0
- package/types/src/calculation/_TableExtent.d.ts +60 -0
- package/types/src/calculation/_TableRename.d.ts +13 -0
- package/types/src/calculation/compiler/ASTTypes.d.ts +71 -0
- package/types/src/calculation/compiler/CompilerUtils.d.ts +152 -44
- package/types/src/calculation/compiler/FormulaCompiler.d.ts +29 -4
- package/types/src/calculation/compiler/FormulaParser.d.ts +1 -2
- package/types/src/calculation/compiler/LiteTransform.d.ts +17 -0
- package/types/src/calculation/compiler/ParserUtils.d.ts +42 -1
- package/types/src/calculation/compiler/SRParser.d.ts +2 -1
- package/types/src/calculation/compiler/Types.d.ts +79 -9
- package/types/src/calculation/engine/CalcBackend.d.ts +855 -0
- package/types/src/calculation/engine/index.d.ts +10 -0
- package/types/src/calculation/executor/CalcExecutor.d.ts +331 -33
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +49 -2
- package/types/src/calculation/executor/CircularReference.d.ts +2 -0
- package/types/src/calculation/formula/Formula.d.ts +67 -21
- package/types/src/calculation/formula/FormulaBlock.d.ts +131 -23
- package/types/src/calculation/formula/FormulaRecordView.d.ts +79 -0
- package/types/src/calculation/formula/FunctionValues.d.ts +10 -0
- package/types/src/calculation/formula/IFormulaBlock.d.ts +277 -67
- package/types/src/calculation/formula/LambdaValue.d.ts +51 -26
- package/types/src/calculation/formula/LazyValue.d.ts +96 -0
- package/types/src/calculation/formula/TokenUtils.d.ts +25 -1
- package/types/src/calculation/formula/index.d.ts +1 -0
- package/types/src/calculation/functions/FunctionDeclarations.d.ts +35 -0
- package/types/src/calculation/functions/Operators.d.ts +8 -0
- package/types/src/calculation/functions/expandDeclaration.d.ts +15 -0
- package/types/src/calculation/functions/initializeFunctions.d.ts +3 -2
- package/types/src/calculation/grid/CalcGrid.d.ts +443 -158
- package/types/src/calculation/grid/CalcGridBackend.d.ts +523 -0
- package/types/src/calculation/grid/CalcGridProxy.d.ts +135 -0
- package/types/src/calculation/grid/CalcGridUtils.d.ts +69 -12
- package/types/src/calculation/grid/FormulaEntry.d.ts +129 -0
- package/types/src/calculation/grid/FormulaHost.d.ts +284 -0
- package/types/src/calculation/grid/ICalcGrid.d.ts +528 -141
- package/types/src/calculation/grid/_CalcRequest.d.ts +299 -0
- package/types/src/calculation/grid/_CellValueRun.d.ts +21 -0
- package/types/src/calculation/grid/index.d.ts +4 -0
- package/types/src/calculation/index.d.ts +2 -0
- package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts +6 -2
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +364 -11
- package/types/src/calculation/spatial/SpillEntry.d.ts +20 -5
- package/types/src/calculation/spatial/TouchedWindows.d.ts +86 -0
- package/types/src/calculation/spatial/index.d.ts +1 -0
- package/types/src/calculation/state/CalcInputs.d.ts +41 -0
- package/types/src/calculation/state/CalcNode.d.ts +141 -30
- package/types/src/calculation/state/CalcScope.d.ts +46 -0
- package/types/src/calculation/state/CalcState.d.ts +32 -1
- package/types/src/calculation/state/CalculationContext.d.ts +50 -3
- package/types/src/calculation/state/IContextContainer.d.ts +141 -27
- package/types/src/calculation/state/_PendingOverlayGrid.d.ts +163 -0
- package/types/src/calculation/state/_ReadObservedGrid.d.ts +74 -8
- package/types/src/calculation/state/index.d.ts +1 -0
- package/types/src/calculation/symbol/ExternalSheetSymbols.d.ts +80 -0
- package/types/src/calculation/symbol/ISymbolRegistry.d.ts +23 -0
- package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts +16 -2
- package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +63 -3
- package/types/src/calculation/symbol/SymbolRegistry.d.ts +20 -0
- package/types/src/calculation/symbol/index.d.ts +3 -2
- package/types/src/calculation/toolkit/FormulaLiteralReader.d.ts +4 -0
- package/types/src/calculation/toolkit/FormulaTextParser.d.ts +10 -0
- package/types/src/calculation/toolkit/FunctionDeclarationTable.d.ts +4 -0
- package/types/src/calculation/toolkit/index.d.ts +12 -0
- package/types/src/cell/ICell.d.ts +357 -33
- package/types/src/cell/ICellHeader.d.ts +31 -8
- package/types/src/cell/ICellProtection.d.ts +50 -10
- package/types/src/cellRange/ICellHeaderRange.d.ts +6 -9
- package/types/src/cellRange/ICellHeaderRanges.d.ts +5 -0
- package/types/src/cellRange/ICellRange.d.ts +737 -130
- package/types/src/cellRange/ICellRanges.d.ts +31 -24
- package/types/src/chart/Chart.d.ts +246 -16
- package/types/src/chart/ChartCollection.d.ts +31 -0
- package/types/src/chart/IChart.d.ts +2058 -18
- package/types/src/chart/IChartCollection.d.ts +50 -0
- package/types/src/chart/_ChartParts.d.ts +1066 -0
- package/types/src/chart/_ChartSource.d.ts +47 -0
- package/types/src/chart/createChart.d.ts +26 -0
- package/types/src/chart/index.d.ts +5 -3
- package/types/src/chart/kinds/ChartKind.d.ts +252 -0
- package/types/src/chart/kinds/_Area.d.ts +3 -0
- package/types/src/chart/kinds/_Bar.d.ts +4 -0
- package/types/src/chart/kinds/_BoxWhisker.d.ts +4 -0
- package/types/src/chart/kinds/_Bubble.d.ts +3 -0
- package/types/src/chart/kinds/_Funnel.d.ts +4 -0
- package/types/src/chart/kinds/_Hierarchy.d.ts +31 -0
- package/types/src/chart/kinds/_Histogram.d.ts +4 -0
- package/types/src/chart/kinds/_HitKinds.d.ts +23 -0
- package/types/src/chart/kinds/_Line.d.ts +4 -0
- package/types/src/chart/kinds/_OfPie.d.ts +4 -0
- package/types/src/chart/kinds/_Pie.d.ts +4 -0
- package/types/src/chart/kinds/_Placeholder.d.ts +6 -0
- package/types/src/chart/kinds/_Radar.d.ts +4 -0
- package/types/src/chart/kinds/_Scatter.d.ts +8 -0
- package/types/src/chart/kinds/_Sunburst.d.ts +4 -0
- package/types/src/chart/kinds/_Surface.d.ts +4 -0
- package/types/src/chart/kinds/_Treemap.d.ts +4 -0
- package/types/src/chart/kinds/_Waterfall.d.ts +18 -0
- package/types/src/chart/kinds/_builtIns.d.ts +11 -0
- package/types/src/chart/layout/ChartLayout.d.ts +825 -0
- package/types/src/chart/layout/TextMeasurer.d.ts +38 -0
- package/types/src/chart/layout/_HitGeometry.d.ts +50 -0
- package/types/src/chart/layout/_HitTest.d.ts +36 -0
- package/types/src/chart/layout/_Layout.d.ts +25 -0
- package/types/src/chart/layout/_LayoutUtils.d.ts +97 -0
- package/types/src/chart/math/BoxStats.d.ts +35 -0
- package/types/src/chart/math/DateUnitCalcs.d.ts +80 -0
- package/types/src/chart/math/DisplayUnits.d.ts +53 -0
- package/types/src/chart/math/Histogram.d.ts +48 -0
- package/types/src/chart/math/OrdUnitCalcs.d.ts +166 -0
- package/types/src/chart/math/Treemap.d.ts +28 -0
- package/types/src/chart/math/Trendlines.d.ts +71 -0
- package/types/src/chart/math/UnitCalcs.d.ts +98 -0
- package/types/src/chart/model/ChartModel.d.ts +681 -0
- package/types/src/chart/model/_ChartType.d.ts +14 -0
- package/types/src/chart/model/_Edits.d.ts +489 -0
- package/types/src/chart/model/_Grouping.d.ts +83 -0
- package/types/src/chart/model/_Inference.d.ts +52 -0
- package/types/src/chart/model/_ModelFacts.d.ts +112 -0
- package/types/src/chart/model/_NewChart.d.ts +208 -0
- package/types/src/chart/model/_OfPie.d.ts +18 -0
- package/types/src/chart/resolve/_LegacyStyles.d.ts +48 -0
- package/types/src/chart/resolve/_Resolve.d.ts +51 -0
- package/types/src/chart/resolve/_ResolvedChart.d.ts +444 -0
- package/types/src/collections/ArraysGrid.d.ts +1 -1
- package/types/src/collections/IGrid.d.ts +1 -1
- package/types/src/collections/ISparseGrid.d.ts +9 -0
- package/types/src/collections/ISpatialMap.d.ts +59 -21
- package/types/src/collections/ImmutableList.d.ts +28 -0
- package/types/src/collections/MixedTypedArrayList.d.ts +168 -108
- package/types/src/collections/RTree.d.ts +116 -36
- package/types/src/collections/RepeatingList.d.ts +7 -0
- package/types/src/collections/ScalarGrid.d.ts +50 -0
- package/types/src/collections/SparseGrid.d.ts +7 -4
- package/types/src/collections/SpatialMap.d.ts +15 -29
- package/types/src/collections/SpatialMap3D.d.ts +2 -0
- package/types/src/collections/Tuple.d.ts +128 -16
- package/types/src/collections/_GridUtils.d.ts +19 -6
- package/types/src/collections/_SpatialUtils.d.ts +20 -2
- package/types/src/collections/index.d.ts +2 -1
- package/types/src/color/_BuiltInIndexDefs.d.ts +6 -0
- package/types/src/comment/Comment.d.ts +246 -0
- package/types/src/comment/CommentCollection.d.ts +40 -0
- package/types/src/comment/IComment.d.ts +377 -50
- package/types/src/comment/ICommentCollection.d.ts +90 -0
- package/types/src/comment/NoteMovable.d.ts +26 -0
- package/types/src/comment/_CommentUtils.d.ts +50 -0
- package/types/src/comment/_NoteBox.d.ts +67 -0
- package/types/src/comment/index.d.ts +1 -0
- package/types/src/condition/AnchoredConditional.d.ts +110 -19
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +42 -12
- package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/AfterOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/AndOperator.d.ts +3 -1
- package/types/src/condition/BuiltInOperators/AverageOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/ColorOperator.d.ts +4 -0
- package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts +4 -1
- package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts +5 -6
- package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/IconOperator.d.ts +4 -0
- package/types/src/condition/BuiltInOperators/InSetOperator.d.ts +22 -5
- package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/NotOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/OrOperator.d.ts +3 -1
- package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/TopNOperator.d.ts +6 -0
- package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts +21 -6
- package/types/src/condition/BuiltinSelectors/DateSelector.d.ts +4 -5
- package/types/src/condition/BuiltinSelectors/DisplaySelector.d.ts +20 -0
- package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts +7 -5
- package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts +3 -5
- package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts +3 -5
- package/types/src/condition/BuiltinSelectors/index.d.ts +12 -6
- package/types/src/condition/Condition.d.ts +19 -1
- package/types/src/condition/ICondition.d.ts +296 -75
- package/types/src/condition/_ConditionFormula.d.ts +152 -0
- package/types/src/condition/_ConditionUtils.d.ts +167 -13
- package/types/src/conditionalFormat/ConditionalEntry.d.ts +3 -3
- package/types/src/conditionalFormat/ConditionalFormat.d.ts +34 -17
- package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts +19 -8
- package/types/src/conditionalFormat/IConditionalFormat.d.ts +16 -13
- package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts +2 -0
- package/types/src/dataTable/DataTable.d.ts +67 -0
- package/types/src/dataTable/DataTableCollection.d.ts +19 -0
- package/types/src/dataTable/IDataTable.d.ts +99 -0
- package/types/src/dataTable/IDataTableCollection.d.ts +18 -0
- package/types/src/dataTable/index.d.ts +6 -0
- package/types/src/dataValidation/DataValidation.d.ts +70 -4
- package/types/src/dataValidation/DataValidationCollection.d.ts +23 -9
- package/types/src/dataValidation/IDataValidation.d.ts +150 -31
- package/types/src/dataValidation/IDataValidationCollection.d.ts +34 -2
- package/types/src/date/DateUtils.d.ts +20 -0
- package/types/src/date/_DateUtils.d.ts +91 -7
- package/types/src/documentProperties/DocumentProperties.d.ts +66 -0
- package/types/src/documentProperties/ICustomProperty.d.ts +69 -0
- package/types/src/documentProperties/IDocumentProperties.d.ts +110 -0
- package/types/src/documentProperties/index.d.ts +3 -0
- package/types/src/externalBook/ExternalBookCollection.d.ts +145 -12
- package/types/src/externalBook/ExternalBookName.d.ts +96 -0
- package/types/src/externalBook/IExternalBook.d.ts +171 -19
- package/types/src/externalBook/IExternalBookCollection.d.ts +79 -7
- package/types/src/externalBook/index.d.ts +1 -0
- package/types/src/{lib/file → file}/file.browser.d.ts +22 -8
- package/types/src/{lib/file → file}/file.node.d.ts +7 -2
- package/types/src/fill/IEffect.d.ts +5 -5
- package/types/src/fill/IFill.d.ts +129 -77
- package/types/src/fill/IFillable.d.ts +47 -0
- package/types/src/fill/IStroke.d.ts +204 -64
- package/types/src/fill/PaintUtils.d.ts +22 -0
- package/types/src/fill/RectAlignment.d.ts +20 -0
- package/types/src/fill/_Fills.d.ts +187 -0
- package/types/src/fill/_Stroke.d.ts +89 -0
- package/types/src/fill/index.d.ts +3 -0
- package/types/src/filter/IFilter.d.ts +188 -5
- package/types/src/font/AdvanceBuilder.d.ts +59 -0
- package/types/src/font/AdvanceTable.d.ts +228 -0
- package/types/src/font/CanvasAdvanceBuilder.d.ts +54 -0
- package/types/src/font/FontCapture.d.ts +4 -0
- package/types/src/font/FontCollection.d.ts +108 -0
- package/types/src/font/FontPlatform.d.ts +20 -0
- package/types/src/font/FontUtils.d.ts +5 -0
- package/types/src/font/IFont.d.ts +208 -61
- package/types/src/font/IFontCollection.d.ts +126 -22
- package/types/src/font/IFontStyle.d.ts +207 -0
- package/types/src/font/TableFileAdvanceBuilder.d.ts +36 -0
- package/types/src/font/_BuiltinFontTables.d.ts +10 -0
- package/types/src/font/_FontUtils.d.ts +11 -4
- package/types/src/font/_FontsVersion.d.ts +7 -0
- package/types/src/font/index.d.ts +2 -1
- package/types/src/font/platform.browser.d.ts +15 -0
- package/types/src/font/platform.node.d.ts +5 -0
- package/types/src/group/Group.d.ts +141 -0
- package/types/src/group/GroupMovableCollection.d.ts +41 -0
- package/types/src/group/IGroup.d.ts +129 -0
- package/types/src/group/index.d.ts +2 -0
- package/types/src/history/IHistory.d.ts +21 -3
- package/types/src/hyperlink/IHyperlink.d.ts +20 -1
- package/types/src/hyperlink/_Hyperlink.d.ts +5 -1
- package/types/src/i18n/LanguagePack.d.ts +12 -4
- package/types/src/index.d.ts +8 -0
- package/types/src/io/AbstractBackingStore.d.ts +24 -1
- package/types/src/io/ArrayBackingStore.d.ts +1 -1
- package/types/src/io/EmbeddedPart.d.ts +20 -0
- package/types/src/io/IEmbeddedPart.d.ts +63 -0
- package/types/src/io/IWorkbookIO.d.ts +185 -18
- package/types/src/io/WorkbookIO.d.ts +9 -0
- package/types/src/io/WorkbookOrigin.d.ts +20 -11
- package/types/src/io/WorkbookOriginProvider.d.ts +46 -0
- package/types/src/io/_XmlFragment.d.ts +49 -0
- package/types/src/io/index.d.ts +1 -0
- package/types/src/license/LicenseDetails.d.ts +1 -0
- package/types/src/license/LicenseManager.d.ts +25 -1
- package/types/src/license/Types.d.ts +38 -0
- package/types/src/license/_Utils.d.ts +39 -0
- package/types/src/license/details.d.ts +24 -0
- package/types/src/license/license-key.d.ts +49 -2
- package/types/src/license/runtime.browser.d.ts +46 -0
- package/types/src/{lib/utils/utils.node.d.ts → license/runtime.node.d.ts} +19 -12
- package/types/src/listener/IListener.d.ts +23 -6
- package/types/src/listener/ListenerEmitter.d.ts +55 -6
- package/types/src/model/AbstractModel.d.ts +14 -5
- package/types/src/movable/AbstractMovableContent.d.ts +182 -0
- package/types/src/movable/CustomElement.d.ts +4 -5
- package/types/src/movable/ErrorContent.d.ts +49 -0
- package/types/src/movable/FormControl.d.ts +285 -0
- package/types/src/movable/GroupMember.d.ts +87 -0
- package/types/src/movable/ICustomElement.d.ts +7 -2
- package/types/src/movable/IErrorContent.d.ts +23 -0
- package/types/src/movable/IFormControl.d.ts +455 -0
- package/types/src/movable/IMovable.d.ts +405 -60
- package/types/src/movable/IMovableCollection.d.ts +64 -4
- package/types/src/movable/Movable.d.ts +161 -50
- package/types/src/movable/MovableCollection.d.ts +21 -10
- package/types/src/movable/MovableContentRegistry.d.ts +113 -0
- package/types/src/movable/_BuiltInContents.d.ts +14 -0
- package/types/src/movable/_ContentFactory.d.ts +35 -0
- package/types/src/movable/_DrawnBounds.d.ts +37 -0
- package/types/src/movable/_InsertableCollection.d.ts +39 -0
- package/types/src/movable/_MovableUtils.d.ts +5 -0
- package/types/src/movable/_PendingContent.d.ts +25 -0
- package/types/src/movable/_PlacementUtils.d.ts +55 -0
- package/types/src/movable/_RotatedFrame.d.ts +20 -0
- package/types/src/movable/index.d.ts +7 -1
- package/types/src/named/AbstractNamed.d.ts +1 -1
- package/types/src/named/INamed.d.ts +34 -1
- package/types/src/named/INamedCollection.d.ts +28 -2
- package/types/src/named/NamedCollection.d.ts +32 -19
- package/types/src/numFmt/BuiltInFormats.d.ts +20 -7
- package/types/src/numFmt/IFormatEngine.d.ts +2 -0
- package/types/src/numFmt/NumberFormatParser.d.ts +5 -0
- package/types/src/numFmt/NumfmtFormatEngine.d.ts +2 -0
- package/types/src/numFmt/_FormatCell.d.ts +11 -2
- package/types/src/numFmt/_NumFmtUtils.d.ts +0 -1
- package/types/src/numFmt/vendor/numfmt/_sheetxl.d.ts +6 -0
- package/types/src/outline/IOutline.d.ts +186 -0
- package/types/src/outline/Outline.d.ts +157 -0
- package/types/src/outline/index.d.ts +2 -0
- package/types/src/person/IPerson.d.ts +99 -0
- package/types/src/person/IPersonCollection.d.ts +51 -0
- package/types/src/person/Person.d.ts +32 -0
- package/types/src/person/PersonCollection.d.ts +49 -0
- package/types/src/person/index.d.ts +4 -0
- package/types/src/picture/IPicture.d.ts +131 -4
- package/types/src/picture/Picture.d.ts +42 -14
- package/types/src/pivot/IPivotTable.d.ts +72 -0
- package/types/src/pivot/IPivotTableCollection.d.ts +25 -0
- package/types/src/pivot/PivotCache.d.ts +34 -0
- package/types/src/pivot/PivotTable.d.ts +61 -0
- package/types/src/pivot/PivotTableCollection.d.ts +25 -0
- package/types/src/pivot/_PivotXml.d.ts +24 -0
- package/types/src/pivot/index.d.ts +6 -0
- package/types/src/primitives/CompositeRangeStats.d.ts +2 -0
- package/types/src/primitives/Criteria.d.ts +1 -1
- package/types/src/primitives/Grouping.d.ts +65 -0
- package/types/src/primitives/LambdaBrand.d.ts +26 -0
- package/types/src/primitives/PrimitiveUtils.d.ts +56 -19
- package/types/src/primitives/Range.d.ts +133 -25
- package/types/src/primitives/RangeStats.d.ts +30 -2
- package/types/src/primitives/ReferenceRange.d.ts +44 -0
- package/types/src/primitives/Runtime.d.ts +15 -2
- package/types/src/primitives/environment.browser.d.ts +9 -0
- package/types/src/primitives/environment.node.d.ts +10 -0
- package/types/src/primitives/stats/AggregateStats.d.ts +49 -15
- package/types/src/primitives/stats/Cancellation.d.ts +13 -0
- package/types/src/primitives/stats/FrequencyStats.d.ts +10 -1
- package/types/src/primitives/stats/LookupIndex.d.ts +46 -0
- package/types/src/primitives/stats/Ranked.d.ts +1 -1
- package/types/src/primitives/stats/SortedNumbers.d.ts +4 -2
- package/types/src/primitives/stats/index.d.ts +1 -0
- package/types/src/print/IPageLayout.d.ts +635 -0
- package/types/src/print/PageLayout.d.ts +258 -0
- package/types/src/print/index.d.ts +1 -1
- package/types/src/protectedRange/IProtectedRange.d.ts +6 -2
- package/types/src/protectedRange/IProtectedRangeCollection.d.ts +2 -0
- package/types/src/protectedRange/ProtectedRange.d.ts +1 -4
- package/types/src/protectedRange/ProtectedRangeCollection.d.ts +19 -8
- package/types/src/protection/DefaultProtection.d.ts +12 -1
- package/types/src/protection/IProtection.d.ts +42 -2
- package/types/src/protection/PasswordHasher.d.ts +13 -0
- package/types/src/reference/ReferenceUtils.d.ts +80 -0
- package/types/src/reference/index.d.ts +2 -0
- package/types/src/resource/IResource.d.ts +21 -1
- package/types/src/resource/IResourceCollection.d.ts +9 -1
- package/types/src/resource/ResourceCollection.d.ts +6 -6
- package/types/src/richData/IRichDataKind.d.ts +22 -0
- package/types/src/richData/RichDataRegistry.d.ts +57 -0
- package/types/src/richData/RichText.d.ts +59 -0
- package/types/src/richData/index.d.ts +3 -0
- package/types/src/scripting/FunctionCollection.d.ts +49 -15
- package/types/src/scripting/IFunctionCollection.d.ts +62 -32
- package/types/src/scripting/IModule.d.ts +25 -0
- package/types/src/scripting/IModuleCollection.d.ts +17 -0
- package/types/src/scripting/IScript.d.ts +30 -28
- package/types/src/scripting/ITypedFunction.d.ts +1 -1
- package/types/src/scripting/Module.d.ts +34 -6
- package/types/src/scripting/ModuleCollection.d.ts +17 -12
- package/types/src/scripting/Runtime.d.ts +15 -0
- package/types/src/scripting/Scripts.d.ts +3 -7
- package/types/src/scripting/TypedFunction.d.ts +154 -18
- package/types/src/scripting/_FunctionIndex.d.ts +8 -3
- package/types/src/scripting/_ModuleUtils.d.ts +11 -1
- package/types/src/scripting/_ScriptUtils.d.ts +3 -0
- package/types/src/scripting/declarations.browser.d.ts +10 -0
- package/types/src/scripting/declarations.d.ts +52 -0
- package/types/src/scripting/declarations.node.d.ts +9 -0
- package/types/src/scripting/index.d.ts +3 -0
- package/types/src/selection/ChartElementSelection.d.ts +39 -0
- package/types/src/selection/IChartElementSelection.d.ts +103 -0
- package/types/src/selection/IItemSelection.d.ts +131 -0
- package/types/src/selection/IMovableSelection.d.ts +120 -0
- package/types/src/selection/IRangeSelection.d.ts +13 -8
- package/types/src/selection/ItemSelection.d.ts +49 -0
- package/types/src/selection/MovableSelection.d.ts +29 -0
- package/types/src/selection/RangeSelection.d.ts +19 -4
- package/types/src/selection/index.d.ts +4 -0
- package/types/src/shape/GeometryPreset.d.ts +197 -0
- package/types/src/shape/IGeometry.d.ts +380 -0
- package/types/src/shape/IShape.d.ts +342 -194
- package/types/src/shape/IShapeStyle.d.ts +109 -0
- package/types/src/shape/ITextBoxStyle.d.ts +85 -0
- package/types/src/shape/Shape.d.ts +107 -21
- package/types/src/shape/ShapeStyleUtils.d.ts +66 -0
- package/types/src/shape/_ConnectorFrame.d.ts +32 -0
- package/types/src/shape/_ConnectorRoute.d.ts +33 -0
- package/types/src/shape/_Connectors.d.ts +108 -0
- package/types/src/shape/_Geometry.d.ts +14 -0
- package/types/src/shape/_GeometryLoader.d.ts +21 -0
- package/types/src/shape/_ShapeStyle.d.ts +79 -0
- package/types/src/shape/_builtIn/_BuiltInChunks.d.ts +10 -0
- package/types/src/shape/_builtIn/_BuiltInDef.d.ts +9 -0
- package/types/src/shape/_builtIn/arrows.d.ts +6 -0
- package/types/src/shape/_builtIn/basic.d.ts +6 -0
- package/types/src/shape/_builtIn/callouts.d.ts +6 -0
- package/types/src/shape/_builtIn/flowchart.d.ts +6 -0
- package/types/src/shape/_builtIn/lines.d.ts +6 -0
- package/types/src/shape/_builtIn/math.d.ts +6 -0
- package/types/src/shape/_builtIn/other.d.ts +6 -0
- package/types/src/shape/_builtIn/rectangles.d.ts +6 -0
- package/types/src/shape/_builtIn/starsBanners.d.ts +6 -0
- package/types/src/shape/geometry/_strokeEnds.d.ts +7 -0
- package/types/src/shape/geometry/format.d.ts +3 -0
- package/types/src/shape/geometry/geometry.d.ts +85 -0
- package/types/src/shape/geometry/guides.d.ts +54 -0
- package/types/src/shape/geometry/handles.d.ts +14 -0
- package/types/src/shape/geometry/index.d.ts +7 -0
- package/types/src/shape/geometry/lineEnds.d.ts +54 -0
- package/types/src/shape/geometry/paths.d.ts +35 -0
- package/types/src/shape/geometry/segments.d.ts +114 -0
- package/types/src/shape/index.d.ts +4 -0
- package/types/src/sheet/CellRegion.d.ts +43 -3
- package/types/src/sheet/ICellContainerOptions.d.ts +50 -0
- package/types/src/sheet/IOpaqueSheet.d.ts +46 -0
- package/types/src/sheet/ISheet.d.ts +81 -931
- package/types/src/sheet/IWorksheet.d.ts +1514 -0
- package/types/src/sheet/{ISheetCollection.d.ts → IWorksheetCollection.d.ts} +38 -16
- package/types/src/sheet/NamedCellRange.d.ts +17 -8
- package/types/src/sheet/NamedRange.d.ts +10 -2
- package/types/src/sheet/OpaqueSheet.d.ts +114 -0
- package/types/src/sheet/SheetCell.d.ts +96 -39
- package/types/src/sheet/SheetRange.d.ts +130 -27
- package/types/src/sheet/SheetRanges.d.ts +33 -18
- package/types/src/sheet/Worksheet.d.ts +2250 -0
- package/types/src/sheet/WorksheetCollection.d.ts +39 -0
- package/types/src/sheet/_Anomalies.d.ts +109 -0
- package/types/src/sheet/_AnomalyFormulaChecks.d.ts +125 -0
- package/types/src/sheet/_AnomalyLabelChecks.d.ts +21 -0
- package/types/src/sheet/_CellBuffer.d.ts +224 -0
- package/types/src/sheet/_CopyUtils.d.ts +13 -6
- package/types/src/sheet/_HeldFormula.d.ts +69 -0
- package/types/src/sheet/_IgnoredErrors.d.ts +46 -0
- package/types/src/sheet/_InvalidSheetRange.d.ts +10 -9
- package/types/src/sheet/_Kinds.d.ts +34 -0
- package/types/src/sheet/_Labels.d.ts +38 -0
- package/types/src/sheet/_ListenerAnchor.d.ts +104 -0
- package/types/src/sheet/_RangeStateSweep.d.ts +15 -0
- package/types/src/sheet/_ScalarListFactory.d.ts +61 -0
- package/types/src/sheet/_SheetAutoFillUtils.d.ts +74 -0
- package/types/src/sheet/_SheetAutoFitUtils.d.ts +5 -5
- package/types/src/sheet/_SheetChangeEvent.d.ts +72 -0
- package/types/src/sheet/_SheetCoords.d.ts +3 -3
- package/types/src/sheet/_SheetEvents.d.ts +43 -0
- package/types/src/sheet/_SheetFilterUtils.d.ts +51 -3
- package/types/src/sheet/_SheetIntents.d.ts +314 -0
- package/types/src/sheet/_SheetMessages.d.ts +1 -1
- package/types/src/sheet/_SheetMutations.d.ts +185 -66
- package/types/src/sheet/_SheetSortUtils.d.ts +2 -2
- package/types/src/sheet/_SheetStateReader.d.ts +35 -11
- package/types/src/sheet/_SheetStateTypes.d.ts +143 -79
- package/types/src/sheet/_SheetUtils.d.ts +59 -41
- package/types/src/sheet/_WatchAnchor.d.ts +106 -0
- package/types/src/sheet/clipboard/RangeClipboardItems.d.ts +4 -4
- package/types/src/sheet/clipboard/SheetHTMLTableParser.d.ts +3 -3
- package/types/src/sheet/clipboard/SheetHTMLTableWriter.d.ts +3 -3
- package/types/src/sheet/index.d.ts +5 -2
- package/types/src/sheet/spatial/HeldFormulaEntry.d.ts +36 -0
- package/types/src/sheet/spatial/index.d.ts +1 -0
- package/types/src/sheet/style/SheetCellStyle.d.ts +223 -337
- package/types/src/sheet/style/SheetDirectStyle.d.ts +31 -20
- package/types/src/sheet/style/SheetNamedStyle.d.ts +19 -17
- package/types/src/sheet/style/SheetTableStyle.d.ts +5 -5
- package/types/src/sheet/style/_DigitWidth.d.ts +7 -0
- package/types/src/sheet/style/_Resolvers.d.ts +17 -10
- package/types/src/sheet/style/_StyleUtils.d.ts +34 -40
- package/types/src/sheetHeader/ISheetHeader.d.ts +96 -55
- package/types/src/sheetHeader/SheetCellHeader.d.ts +6 -0
- package/types/src/sheetHeader/SheetCellHeaderRange.d.ts +2 -0
- package/types/src/sheetHeader/SheetCellHeaderRanges.d.ts +2 -0
- package/types/src/sheetHeader/SheetHeader.d.ts +48 -27
- package/types/src/sheetHeader/_HeaderMetrics.d.ts +37 -0
- package/types/src/sheetHeader/_HeaderUtils.d.ts +5 -4
- package/types/src/sheetProtection/{ISheetProtection.d.ts → IWorksheetProtection.d.ts} +64 -30
- package/types/src/sheetProtection/WorksheetProtection.d.ts +51 -0
- package/types/src/sheetProtection/index.d.ts +1 -1
- package/types/src/sheetView/{ISheetView.d.ts → IWorksheetView.d.ts} +230 -69
- package/types/src/sheetView/WorksheetView.d.ts +139 -0
- package/types/src/sheetView/_SheetViewUtils.d.ts +5 -3
- package/types/src/sheetView/index.d.ts +1 -1
- package/types/src/slicer/ISlicer.d.ts +304 -17
- package/types/src/slicer/ISlicerStyle.d.ts +109 -0
- package/types/src/slicer/Slicer.d.ts +128 -13
- package/types/src/slicer/SlicerStyle.d.ts +25 -0
- package/types/src/slicer/_BuiltInSlicerStyles.d.ts +13 -0
- package/types/src/slicer/_SlicerUtils.d.ts +30 -0
- package/types/src/slicer/index.d.ts +1 -0
- package/types/src/sort/ISort.d.ts +39 -7
- package/types/src/string/IStringCollection.d.ts +5 -0
- package/types/src/string/StringCollection.d.ts +6 -6
- package/types/src/style/{IStyle.d.ts → ICellStyle.d.ts} +117 -85
- package/types/src/style/INamedStyleCollection.d.ts +72 -0
- package/types/src/style/ISlicerStyleCollection.d.ts +77 -0
- package/types/src/style/IStyleCollection.d.ts +91 -60
- package/types/src/style/ITableStyleCollection.d.ts +89 -0
- package/types/src/style/NamedStyleCollection.d.ts +39 -0
- package/types/src/style/SlicerStyleCollection.d.ts +46 -0
- package/types/src/style/StyleCollection.d.ts +81 -26
- package/types/src/style/TableStyleCollection.d.ts +49 -0
- package/types/src/style/_BuiltInStyleDefs.d.ts +9 -8
- package/types/src/style/_BuiltInStyleNames.d.ts +2 -2
- package/types/src/style/index.d.ts +7 -1
- package/types/src/table/AnchoredTable.d.ts +723 -78
- package/types/src/table/AutoTable.d.ts +8 -6
- package/types/src/table/ITable.d.ts +289 -49
- package/types/src/table/ITableCollection.d.ts +12 -0
- package/types/src/table/ITableStyle.d.ts +37 -37
- package/types/src/table/TableCollection.d.ts +19 -8
- package/types/src/table/_FilterField.d.ts +19 -6
- package/types/src/table/_NamedTable.d.ts +20 -4
- package/types/src/table/_NamedTableSource.d.ts +3 -2
- package/types/src/table/_SortField.d.ts +2 -0
- package/types/src/table/_TableColumn.d.ts +13 -2
- package/types/src/table/_TableMessages.d.ts +1 -0
- package/types/src/table/_TableUtils.d.ts +40 -0
- package/types/src/text/Bullet.d.ts +4 -0
- package/types/src/text/IText.d.ts +150 -15
- package/types/src/text/ITextFrame.d.ts +110 -1
- package/types/src/text/TextBoxAlignment.d.ts +25 -16
- package/types/src/text/TextEngine.d.ts +34 -0
- package/types/src/text/TextFrame.d.ts +8 -2
- package/types/src/text/TextLine.d.ts +4 -0
- package/types/src/text/TextParagraph.d.ts +4 -0
- package/types/src/text/TextRotation.d.ts +3 -3
- package/types/src/text/TextRun.d.ts +12 -2
- package/types/src/text/TextStacked.d.ts +83 -0
- package/types/src/text/TextWrapper.d.ts +32 -26
- package/types/src/text/_TextUtils.d.ts +5 -5
- package/types/src/text/_TextWrapperFallback.d.ts +49 -0
- package/types/src/text/impl/TabStrategy.d.ts +3 -1
- package/types/src/text/index.d.ts +1 -0
- package/types/src/text/richtext/IRichText.d.ts +50 -0
- package/types/src/text/richtext/index.d.ts +1 -1
- package/types/src/theme/ITheme.d.ts +153 -11
- package/types/src/theme/IThemeCollection.d.ts +2 -0
- package/types/src/theme/ThemeCollection.d.ts +16 -7
- package/types/src/theme/_OfficeFontScheme.d.ts +8 -0
- package/types/src/theme/_OfficeFormatScheme.d.ts +3 -0
- package/types/src/transaction/ITransaction.d.ts +277 -45
- package/types/src/transaction/Transaction.d.ts +108 -11
- package/types/src/transaction/TransactionUndoManager.d.ts +4 -1
- package/types/src/transaction/_BatchHandle.d.ts +118 -0
- package/types/src/type/AbstractCollection.d.ts +92 -0
- package/types/src/type/ICollection.d.ts +131 -1
- package/types/src/type/IProperties.d.ts +1 -1
- package/types/src/type/ITypes.d.ts +9 -7
- package/types/src/type/index.d.ts +1 -0
- package/types/src/utils/_CSSUtils.d.ts +4 -4
- package/types/src/wasm/_fontsWasm.d.ts +7 -0
- package/types/src/wasm/_sdkWasm.d.ts +7 -0
- package/types/src/wasm/fontsWasm.d.ts +32 -0
- package/types/src/wasm/index.d.ts +3 -0
- package/types/src/wasm/loader.browser.d.ts +9 -0
- package/types/src/wasm/loader.node.d.ts +9 -0
- package/types/src/wasm/sdkWasm.d.ts +32 -0
- package/types/src/workbook/IWorkbook.d.ts +404 -73
- package/types/src/workbook/Workbook.d.ts +196 -28
- package/types/src/workbook/WorkbookRange.d.ts +2 -2
- package/types/src/workbook/WorkbookRanges.d.ts +2 -2
- package/types/src/workbook/_WorkbookIntents.d.ts +36 -0
- package/types/src/workbook/_WorkbookMessages.d.ts +5 -0
- package/types/src/workbookProtection/IWorkbookProtection.d.ts +7 -0
- package/types/src/workbookProtection/WorkbookProtection.d.ts +3 -0
- package/types/src/workbookView/IWorkbookView.d.ts +94 -0
- package/types/src/workbookView/WorkbookView.d.ts +26 -0
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +0 -1
- package/browser/cjs/BatsV2UUraVDCRXm.cjs +0 -57
- package/browser/cjs/CUz53T65cRGQRgvv.cjs +0 -33
- package/browser/cjs/DU0kYUtdFa3jK-im.cjs +0 -1
- package/browser/cjs/Dv3x6zut1ZRUt3IF.cjs +0 -10
- package/browser/cjs/Dv4yIPLV98M5zLHa.cjs +0 -1
- package/browser/cjs/a0Z-SXs_N71CtqYb.cjs +0 -1
- package/browser/cjs/index.cjs +0 -3
- package/browser/esm/6JKSOvc5czaQB2Bj.mjs +0 -109
- package/browser/esm/BtuJ9AGzeURtAsGo.mjs +0 -51241
- package/browser/esm/DGU6sM25u0EWCKl1.mjs +0 -824
- package/node/esm/-pxdn3M3tc6PLHs7.mjs +0 -114
- package/node/esm/0n5bslM9jhO1JnI2.mjs +0 -843
- package/types/src/cellRange/_GraphNode.d.ts +0 -38
- package/types/src/collections/OverlappingRangeIterator.d.ts +0 -91
- package/types/src/condition/BuiltinSelectors/ListSelector.d.ts +0 -12
- package/types/src/dataValidation/_Utils.d.ts +0 -10
- package/types/src/font/CanvasFontMeasurer.d.ts +0 -25
- package/types/src/font/FontKitFontMeasurer.d.ts +0 -11
- package/types/src/font/SimpleFontMeasurer.d.ts +0 -4
- package/types/src/lib/utils/_Utils.d.ts +0 -27
- package/types/src/lib/utils/utils.browser.d.ts +0 -33
- package/types/src/movable/IGroup.d.ts +0 -30
- package/types/src/movable/IMovableSelection.d.ts +0 -49
- package/types/src/print/IPrint.d.ts +0 -234
- package/types/src/sheet/Sheet.d.ts +0 -1107
- package/types/src/sheet/SheetCollection.d.ts +0 -18
- package/types/src/sheet/listener/RangesListener.d.ts +0 -32
- package/types/src/sheet/listener/RangesListenerEntry.d.ts +0 -19
- package/types/src/sheet/listener/index.d.ts +0 -3
- package/types/src/sheetProtection/SheetProtection.d.ts +0 -39
- package/types/src/sheetView/SheetView.d.ts +0 -113
- package/types/src/text/richtext/IStyledFont.d.ts +0 -330
- /package/types/src/{lib/utils → license}/banner.d.ts +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ICollection, AbstractCollection } from '../type';
|
|
2
|
+
import { IListener } from '../listener';
|
|
3
|
+
import { IWorksheetCollection } from './IWorksheetCollection';
|
|
4
|
+
import { IWorksheet } from './IWorksheet';
|
|
5
|
+
import { ISheet } from './ISheet';
|
|
6
|
+
/**
|
|
7
|
+
* Implementation for {@link IWorksheetCollection}.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* A front over the workbook's own sheet state — the workbook keeps the store and the events,
|
|
11
|
+
* this class keeps the API. `onCollectionChange` is the workbook's `onSheetsChange`, forwarded
|
|
12
|
+
* with this collection as the source.
|
|
13
|
+
*/
|
|
14
|
+
export declare class WorksheetCollection extends AbstractCollection<IWorksheet, IWorksheetCollection.GetItemsOptions> implements IWorksheetCollection {
|
|
15
|
+
private _add;
|
|
16
|
+
private _get;
|
|
17
|
+
private _addListeners;
|
|
18
|
+
private _getSelected;
|
|
19
|
+
constructor(add: (options: IWorksheetCollection.AddOptions | string | number) => IWorksheet, get: (name?: string, visibility?: ISheet.Visibility) => IWorksheet[], addListeners: (listeners: ICollection.IListeners, options?: IListener.Options) => IListener.Remove, getSelected: () => IWorksheet | null);
|
|
20
|
+
/** {@inheritDoc IWorksheetCollection.getActive} */
|
|
21
|
+
getActive(): IWorksheet | null;
|
|
22
|
+
/** {@inheritDoc IWorksheetCollection.getAt} */
|
|
23
|
+
getAt(index: number): IWorksheet | null;
|
|
24
|
+
/** {@inheritDoc IWorksheetCollection.getByIndex} */
|
|
25
|
+
getByIndex(index: number): IWorksheet | null;
|
|
26
|
+
/** {@inheritDoc IWorksheetCollection.getAll} */
|
|
27
|
+
getAll(): IWorksheet[];
|
|
28
|
+
/** {@inheritDoc IWorksheetCollection.add} */
|
|
29
|
+
add(options?: IWorksheetCollection.AddOptions | string | number): IWorksheet;
|
|
30
|
+
/** {@inheritDoc AbstractCollection._getItems} */
|
|
31
|
+
protected _getItems(options?: IWorksheetCollection.GetItemsOptions): IWorksheet[];
|
|
32
|
+
/** {@inheritDoc IWorksheetCollection.getByName} */
|
|
33
|
+
getByName(name: string): IWorksheet;
|
|
34
|
+
/** {@inheritDoc ICollection.addListeners} */
|
|
35
|
+
addListeners(listeners: ICollection.IListeners, options?: IListener.Options): IListener.Remove;
|
|
36
|
+
/** {@inheritDoc IWorksheetCollection.isIWorksheetCollection} */
|
|
37
|
+
get isIWorksheetCollection(): true;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=WorksheetCollection.d.ts.map
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { IRange } from '@sheetxl/primitives';
|
|
2
|
+
import { ICell } from '../cell';
|
|
3
|
+
import { ISpatialMap, ISpatialQuery } from '../collections';
|
|
4
|
+
import { ICellStyle, IStyleCollection } from '../style';
|
|
5
|
+
import { IProperties } from '../type';
|
|
6
|
+
import { IWorksheet } from './IWorksheet';
|
|
7
|
+
import { IgnoredErrors } from './_IgnoredErrors';
|
|
8
|
+
import { CellKind } from './_Kinds';
|
|
9
|
+
/**
|
|
10
|
+
* The findings at a cell, interned per map: equal findings are one object, in rank order, so a
|
|
11
|
+
* region's payload identity is its content and the fragments of one finding regroup.
|
|
12
|
+
* @internal
|
|
13
|
+
*/
|
|
14
|
+
export type AnomalySet = readonly ICell.Anomaly[];
|
|
15
|
+
type StyleMap = ISpatialQuery<IProperties.ICellRanged<ICellStyle.Properties>>;
|
|
16
|
+
/** What the role layer is read from: a sheet's content and its formulas, as they are now. @internal */
|
|
17
|
+
export interface RoleSource {
|
|
18
|
+
readonly sheet: IWorksheet;
|
|
19
|
+
/** The extent the checks run over; `null` for an empty sheet. */
|
|
20
|
+
readonly bounds: IRange.Coords | null;
|
|
21
|
+
/** What each cell holds (`ICellRange.Feature.Kind`). */
|
|
22
|
+
readonly kinds: ISpatialQuery<CellKind>;
|
|
23
|
+
readonly contentful: ISpatialQuery<unknown>;
|
|
24
|
+
readonly formulas: ISpatialQuery<unknown>;
|
|
25
|
+
}
|
|
26
|
+
/** What the checks read. Everything is the sheet as it is now; nothing here is written. @internal */
|
|
27
|
+
export interface AnomalySource extends RoleSource {
|
|
28
|
+
/** Each cell's job (`ICellRange.Feature.Role`), the layer the pairing reads. */
|
|
29
|
+
readonly roles: ISpatialQuery<ICell.Role>;
|
|
30
|
+
/** The direct styles that carry font, number format and alignment. */
|
|
31
|
+
readonly contentStyles: StyleMap;
|
|
32
|
+
/** The direct fills. */
|
|
33
|
+
readonly fillStyles: StyleMap;
|
|
34
|
+
/** Where the named styles, Normal among them, are read. */
|
|
35
|
+
readonly styles: IStyleCollection;
|
|
36
|
+
readonly ignored: IgnoredErrors;
|
|
37
|
+
/** Excel draws no unlocked-formula indicator on a protected sheet. */
|
|
38
|
+
readonly isProtected: boolean;
|
|
39
|
+
/** The font colors the workbook's other sheets write their roles in ({@link roleColorsOf}). */
|
|
40
|
+
readonly workbookRoleColors: () => ReadonlySet<string>;
|
|
41
|
+
}
|
|
42
|
+
type Rect = IRange.Coords;
|
|
43
|
+
/** @internal */
|
|
44
|
+
export type Evidence = ICell.Anomaly['evidence'];
|
|
45
|
+
/** One sheet's findings at their first-pass rank, before the workbook's repeats are counted. @internal */
|
|
46
|
+
export interface AnomalyFindings {
|
|
47
|
+
readonly entries: readonly ISpatialMap.Entry<ICell.Anomaly>[];
|
|
48
|
+
/** For each repeat-ranked finding, its identity across sheets and the rectangles it holds here. */
|
|
49
|
+
readonly repeats: ReadonlyMap<ICell.Anomaly, {
|
|
50
|
+
readonly key: string;
|
|
51
|
+
readonly count: number;
|
|
52
|
+
}>;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* The first pass: where the error checks fire on one sheet, each finding ranked alone.
|
|
56
|
+
*
|
|
57
|
+
* @remarks
|
|
58
|
+
* Every check reads the sheet's partitions and its formulas' references, at the altitude of a
|
|
59
|
+
* region: a formula region is one authored formula, so its references are a function of the
|
|
60
|
+
* cell's position, and the cells a check names are found by rectangle arithmetic against the
|
|
61
|
+
* partitions. No check reads a cell.
|
|
62
|
+
* @internal
|
|
63
|
+
*/
|
|
64
|
+
export declare function findAnomalies(source: AnomalySource): AnomalyFindings;
|
|
65
|
+
/** How often each repeat-ranked finding occurs over the sheets given, by identity. @internal */
|
|
66
|
+
export declare function repeatsOf(sheets: readonly AnomalyFindings[]): Map<string, number>;
|
|
67
|
+
/**
|
|
68
|
+
* The second pass: one sheet's map, each repeat-ranked finding's rank divided by how often it
|
|
69
|
+
* occurs in the workbook (`repeats`), so the exception ranks above the pattern.
|
|
70
|
+
* @internal
|
|
71
|
+
*/
|
|
72
|
+
export declare function buildAnomalies(own: AnomalyFindings, repeats: ReadonlyMap<string, number>, ignored: IgnoredErrors): ISpatialMap<AnomalySet>;
|
|
73
|
+
/** The findings so far, one rectangle list per distinct finding. @internal */
|
|
74
|
+
export declare class _Findings {
|
|
75
|
+
private readonly _groups;
|
|
76
|
+
/** The rank of a check's finding before its evidence scales it. */
|
|
77
|
+
weightOf(check: ICell.ErrorCheck): number;
|
|
78
|
+
/** `rank` is a function of the check and the evidence, so one finding has one. */
|
|
79
|
+
add(check: ICell.ErrorCheck, evidence: Evidence, rect: Rect, rank?: number): void;
|
|
80
|
+
/**
|
|
81
|
+
* One entry per merged rectangle of each finding (a finding's rectangles may overlap), and the
|
|
82
|
+
* count of those rectangles for the repeat-ranked ones.
|
|
83
|
+
*/
|
|
84
|
+
result(): AnomalyFindings;
|
|
85
|
+
}
|
|
86
|
+
/** A formula region: one authored formula over a rectangle. @internal */
|
|
87
|
+
export interface FormulaRegion {
|
|
88
|
+
readonly coords: Rect;
|
|
89
|
+
/** The formula in R1C1, which is what agrees between two cells of one run. */
|
|
90
|
+
readonly r1c1: string;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* The role layer (`ICellRange.Feature.Role`): the kind layer refined by what a formula reads and
|
|
94
|
+
* by who reads a cell. Typed cells are `label` (nothing reads them) or `input` (something does); a
|
|
95
|
+
* formula is a `link`, a `reference`, else `computed` where something reads it and `output` where
|
|
96
|
+
* nothing does. "Who reads it" is this sheet's own formulas (`referencesOf`); a reader on another
|
|
97
|
+
* sheet is not seen, so a cell only another sheet reads is a `label` or an `output` here.
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
export declare function buildRoles(source: RoleSource): ISpatialMap<ICell.Role>;
|
|
101
|
+
/**
|
|
102
|
+
* The font colors a sheet's roles are written in: the plurality color of each role, typed cells'
|
|
103
|
+
* among them. A workbook's role colors are the union over its sheets, which is what tells the
|
|
104
|
+
* inputs' blue from a decorative red on a sheet whose own typed numbers are mostly black years.
|
|
105
|
+
* @internal
|
|
106
|
+
*/
|
|
107
|
+
export declare function roleColorsOf(source: AnomalySource): ReadonlySet<string>;
|
|
108
|
+
export {};
|
|
109
|
+
//# sourceMappingURL=_Anomalies.d.ts.map
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
import { IRange } from '@sheetxl/primitives';
|
|
2
|
+
import { ICalculation } from '../calculation';
|
|
3
|
+
import { SpatialMap } from '../collections';
|
|
4
|
+
import { IWorksheet } from './IWorksheet';
|
|
5
|
+
import { AnomalySource, FormulaRegion, RoleSource, _Findings } from './_Anomalies';
|
|
6
|
+
type Node = ICalculation.FormulaNode;
|
|
7
|
+
type Rect = IRange.Coords;
|
|
8
|
+
type At = IRange.CellCoords;
|
|
9
|
+
/**
|
|
10
|
+
* `repeatedReference`: the same cell or range counted twice in one sum — `SUM(F24:F29)+F25`,
|
|
11
|
+
* `N20-N23-N23-N26`. Two references overlap when they share a cell; they count twice when they
|
|
12
|
+
* carry the same sign, so `SUM(B2:B9)-B5` (taking one out) does not fire.
|
|
13
|
+
*/
|
|
14
|
+
export declare function checkRepeatedReference(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
15
|
+
/**
|
|
16
|
+
* `degenerateCall`: an aggregate that aggregates nothing — `AVERAGE(J96)` over one cell, or
|
|
17
|
+
* `SUM(360,365)` over typed numbers.
|
|
18
|
+
*/
|
|
19
|
+
export declare function checkDegenerateCall(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
20
|
+
/**
|
|
21
|
+
* `sumIncludesSubtotal`: a sum that holds a cell that is itself a sum of the sum's own cells
|
|
22
|
+
* (`SUM(F17:F21)` where F21 sums F17:F20; `=F21+F18` likewise), or a summed range holding a
|
|
23
|
+
* percent-formatted ratio (`=F19/F18`, a margin row inside a total). The cell may be on the sheet
|
|
24
|
+
* the sum reads. A ratio of a typed divisor (`=F3/12`) is an allocation and does not fire, nor
|
|
25
|
+
* does a ratio the sheet does not show as a percent (a per-unit line item).
|
|
26
|
+
*/
|
|
27
|
+
export declare function checkSumIncludesSubtotal(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
28
|
+
/**
|
|
29
|
+
* `misalignedReference`: a formula in the row that closes (or opens) its block sums the block and
|
|
30
|
+
* also adds a cell outside it — `=SUM(K51:K53)+J46`. A block is the contentful lines in the
|
|
31
|
+
* region's own columns (rows) between blank lines that span them; a row-wise total reads the
|
|
32
|
+
* same with the axes swapped. A term is aligned when it lands inside the block in the cell's own
|
|
33
|
+
* column. Only a sum with an aligned term fires, so a grand total of other blocks' totals does not;
|
|
34
|
+
* and only a term added the way an aligned one is, so `=D20-D18` (a deduction) does not.
|
|
35
|
+
*/
|
|
36
|
+
export declare function checkMisalignedReference(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
37
|
+
/**
|
|
38
|
+
* `approximateMatch`: a lookup that matches the nearest key rather than the key — `MATCH` with a
|
|
39
|
+
* type of `1` or `-1` or none, `VLOOKUP` / `HLOOKUP` without `FALSE`, `XMATCH` / `XLOOKUP` with a
|
|
40
|
+
* match mode of `1` or `-1`. Fires even on a sorted selector: the type is the fact. A type read
|
|
41
|
+
* from a cell is not known here and does not fire.
|
|
42
|
+
*/
|
|
43
|
+
export declare function checkApproximateMatch(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
44
|
+
/**
|
|
45
|
+
* `lookupShape`: a lookup whose two arrays do not line up — `INDEX(M30:M32,MATCH(x,L29:L31,0))`, or
|
|
46
|
+
* `XLOOKUP(x,L29:L31,M30:M32)`. The position found in one is read from the other, so a different
|
|
47
|
+
* start or end along the vector's axis reads the wrong line.
|
|
48
|
+
*/
|
|
49
|
+
export declare function checkLookupShape(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
50
|
+
/**
|
|
51
|
+
* `externalReference`: a formula that reads outside this workbook or nowhere — `[1]Sheet!A1` to
|
|
52
|
+
* another workbook (`kind: 'workbook'`), a `#REF!` left by a deletion (`'deleted'`), a function
|
|
53
|
+
* a converter wrapped as unknown (`_XLUDF.`, `'udf'`).
|
|
54
|
+
*/
|
|
55
|
+
export declare function checkExternalReference(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
56
|
+
/** One term of a sum: a reference, added (`1`) or taken away (`-1`). */
|
|
57
|
+
export interface Leaf {
|
|
58
|
+
readonly node: Node;
|
|
59
|
+
readonly sign: 1 | -1;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Every sum in a tree, as the references it adds and takes away. A sum is a `SUM` or a run of
|
|
63
|
+
* `+` and `-`, with parentheses read through; anything else (`*`, `IF`, `AVERAGE`) ends it, and
|
|
64
|
+
* its arguments start sums of their own. A reference that is not summed (`AVERAGE(B2:B9)`,
|
|
65
|
+
* `INDEX(B2:B9,3)`) is in no sum.
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
export declare function additiveChains(root: Node): Leaf[][];
|
|
69
|
+
/** Every node of a tree, the root first. @internal */
|
|
70
|
+
export declare function nodesOf(root: Node): Generator<Node>;
|
|
71
|
+
/** @internal */
|
|
72
|
+
export declare function treeOf(sheet: IWorksheet, region: FormulaRegion): Node | null;
|
|
73
|
+
/** A sheet's formula regions, indexed by where they lie. @internal */
|
|
74
|
+
export interface SheetFormulas {
|
|
75
|
+
readonly sheet: IWorksheet;
|
|
76
|
+
readonly regions: readonly FormulaRegion[];
|
|
77
|
+
readonly index: SpatialMap<FormulaRegion>;
|
|
78
|
+
}
|
|
79
|
+
/**
|
|
80
|
+
* The sheets a build's references land on, by lower-case name: this one, and each other sheet of
|
|
81
|
+
* the workbook read once, as its formula partition.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
export declare class _Sheets {
|
|
85
|
+
private readonly _source;
|
|
86
|
+
readonly own: string;
|
|
87
|
+
private readonly _formulas;
|
|
88
|
+
private readonly _sheets;
|
|
89
|
+
constructor(_source: AnomalySource, regions: readonly FormulaRegion[]);
|
|
90
|
+
/** The worksheet a reference's sheet name names, or `null` when the workbook has none. */
|
|
91
|
+
sheetOf(name: string): IWorksheet | null;
|
|
92
|
+
formulasOf(name: string): SheetFormulas | null;
|
|
93
|
+
}
|
|
94
|
+
/** The sheet reader of one build, shared by its checks. @internal */
|
|
95
|
+
export declare function sheetsOf(source: AnomalySource, regions: readonly FormulaRegion[]): _Sheets;
|
|
96
|
+
/** `SUM`, with the file format's `_xlfn.` / `_xlws.` spelling taken off. @internal */
|
|
97
|
+
export declare const functionName: (node: Node) => string;
|
|
98
|
+
/** @internal */
|
|
99
|
+
export declare const firstCellOf: (region: FormulaRegion) => At;
|
|
100
|
+
/**
|
|
101
|
+
* Where a fact found at a region's first cell holds: the whole region when it holds at its last
|
|
102
|
+
* cell as well, otherwise the first cell alone; `null` when it does not hold at the first cell.
|
|
103
|
+
* A filled formula moves every relative reference by the same step, so the two ends decide it.
|
|
104
|
+
* @internal
|
|
105
|
+
*/
|
|
106
|
+
export declare function extentOf(region: FormulaRegion, holds: (at: At) => boolean): Rect | null;
|
|
107
|
+
/** A reference in R1C1, read from `at`, with its sheet when it names one. @internal */
|
|
108
|
+
export declare const imageOf: (node: Node, at: At) => string;
|
|
109
|
+
/** @internal */
|
|
110
|
+
export declare const isReference: (node: Node) => boolean;
|
|
111
|
+
/** Strips parentheses. @internal */
|
|
112
|
+
export declare function unwrap(node: Node): Node;
|
|
113
|
+
/** The number a literal argument is (`-1`, `(1)`, `TRUE` as `1`), or `undefined`. @internal */
|
|
114
|
+
export declare function numberOf(node: Node): number | undefined;
|
|
115
|
+
/** The sheet name references are compared under. @internal */
|
|
116
|
+
export declare const ownSheetName: (source: RoleSource) => string;
|
|
117
|
+
/** A reference read from a cell: its sheet (lower case) and its cells. @internal */
|
|
118
|
+
export interface Resolved {
|
|
119
|
+
readonly sheet: string;
|
|
120
|
+
readonly rect: Rect;
|
|
121
|
+
}
|
|
122
|
+
/** Where a cell or range reference lands when its formula sits at `at`; `null` for anything else. @internal */
|
|
123
|
+
export declare function resolve(node: Node, at: At, own: string): Resolved | null;
|
|
124
|
+
export {};
|
|
125
|
+
//# sourceMappingURL=_AnomalyFormulaChecks.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { AnomalySource, FormulaRegion, _Findings } from './_Anomalies';
|
|
2
|
+
/**
|
|
3
|
+
* `linkLabelMismatch`: a link to another sheet whose target row is labeled other than the row it
|
|
4
|
+
* sits in — the row labeled Interest reading the row labeled Tax. Labels compare after case,
|
|
5
|
+
* punctuation and spacing are dropped; a row with no label on either side says nothing.
|
|
6
|
+
*
|
|
7
|
+
* Rows only: column headers differ between a model's sheets as a matter of layout (`2026P` against
|
|
8
|
+
* `Millions`), and on the v2 goldens the column pair found no planted link the row pair missed.
|
|
9
|
+
*/
|
|
10
|
+
export declare function checkLinkLabelMismatch(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
11
|
+
/**
|
|
12
|
+
* `keyLabelMismatch`: a lookup keyed by a typed string that is neither the label of the row nor
|
|
13
|
+
* of the column the formula sits in — `MATCH("Tax",…)` in the row labeled Interest.
|
|
14
|
+
*/
|
|
15
|
+
export declare function checkKeyLabelMismatch(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
16
|
+
/**
|
|
17
|
+
* `signVsSiblings`: a link into a row that the sheet's other links into that row read with the
|
|
18
|
+
* other sign — `=-'Debt'!C20` where two other links read `='Debt'!D20`, `='Debt'!E20`.
|
|
19
|
+
*/
|
|
20
|
+
export declare function checkSignVsSiblings(source: AnomalySource, regions: readonly FormulaRegion[], findings: _Findings): void;
|
|
21
|
+
//# sourceMappingURL=_AnomalyLabelChecks.d.ts.map
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
import { Scalar, IRange } from '@sheetxl/primitives';
|
|
2
|
+
import { CoordUtils } from '@sheetxl/utils';
|
|
3
|
+
import { ITransaction } from '../transaction';
|
|
4
|
+
import { Tuple, ISpatialMap } from '../collections';
|
|
5
|
+
import { ICellRange } from '../cellRange';
|
|
6
|
+
import { ICell } from '../cell';
|
|
7
|
+
import { ICellStyle } from '../style';
|
|
8
|
+
import { InternalTupleUpdate } from './_SheetStateTypes';
|
|
9
|
+
import { SheetMutationContext } from './Worksheet';
|
|
10
|
+
import { ScanStyleUpdate } from './_SheetMutations';
|
|
11
|
+
/**
|
|
12
|
+
* What {@link CellBuffer} needs from its sheet.
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
export interface CellBufferContext {
|
|
16
|
+
readonly isDataColumn: boolean;
|
|
17
|
+
readonly transactions: ITransaction.IStore;
|
|
18
|
+
/**
|
|
19
|
+
* The records a flush writes: the sheet's, and the calculation's it marks dirty. A read of one
|
|
20
|
+
* from the store makes the held writes first.
|
|
21
|
+
*/
|
|
22
|
+
readonly writes: readonly string[];
|
|
23
|
+
isClosed(): boolean;
|
|
24
|
+
getEntireCoords(): IRange.Coords | null;
|
|
25
|
+
/**
|
|
26
|
+
* The sheet's spills as `transaction` sees them - a read that does not flush: nothing a held
|
|
27
|
+
* write makes changes them.
|
|
28
|
+
*/
|
|
29
|
+
getSpills(transaction: ITransaction): ISpatialMap;
|
|
30
|
+
/**
|
|
31
|
+
* Whether a style update written to one cell changes that cell alone, as `transaction` sees the
|
|
32
|
+
* sheet; see {@link CellBuffer.holdStyle}.
|
|
33
|
+
*/
|
|
34
|
+
isLocalStyle(transaction: ITransaction, rowIndex: number, colIndex: number, update: ICellStyle.Update): boolean;
|
|
35
|
+
/** What the sheet's cell writes are made through; the held ones are scanned and written with it. */
|
|
36
|
+
getMutations(): SheetMutationContext;
|
|
37
|
+
/**
|
|
38
|
+
* Whether a write is to be made as it comes: a batch it would be held in is told of each of its
|
|
39
|
+
* steps, and a held write would be told late.
|
|
40
|
+
*/
|
|
41
|
+
isMadeAsItComes(): boolean;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Single-cell writes made inside an open transaction, held and made as ONE write when something
|
|
45
|
+
* needs them made.
|
|
46
|
+
*
|
|
47
|
+
* @remarks
|
|
48
|
+
* A loop that writes a cell per call makes one full write per cell, and leaves one formula block
|
|
49
|
+
* per cell. Held, the loop is one write, and the formulas in it conflate into runs as they do in
|
|
50
|
+
* one `setValues`.
|
|
51
|
+
*
|
|
52
|
+
* A held run IS that one write, left open: each cell goes through the write's own scan as it
|
|
53
|
+
* comes ({@link scanCell}), and making the run is the scan's finish ({@link finishTupleScan}). So
|
|
54
|
+
* a cell is resolved once, by the rules of any other write, and what the scan refuses it refuses
|
|
55
|
+
* at the call.
|
|
56
|
+
*
|
|
57
|
+
* Holding has no outward behavior. Inside a transaction the events and the undo step are the
|
|
58
|
+
* transaction's anyway, and everything that could see the difference makes the held writes first
|
|
59
|
+
* (`ITransaction.Hooks`): a read of a record they change - the sheet's, or the calculation's they
|
|
60
|
+
* mark dirty - a transaction beginning inside the one that holds them, and its commit. Only what
|
|
61
|
+
* cannot fail once scanned is held: a write that is part of an array, or that carries a merge, a
|
|
62
|
+
* hyperlink or comments, is made as it comes, after the held ones. A LOCKED sheet is held like any
|
|
63
|
+
* other: the scan rules on every cell against its exemptions and throws at the call, and the run
|
|
64
|
+
* it makes stands its commit-time catch-all down exactly as one `setValues` over those cells does.
|
|
65
|
+
*
|
|
66
|
+
* A scan asks for its cells in one order. The sheet stores along its major axis and a loop usually
|
|
67
|
+
* writes across it (row by row into a column-major sheet), so the order is decided by the second
|
|
68
|
+
* cell written, and the scan and the {@link Tuple.IBuilder} the values are placed in follow it. A
|
|
69
|
+
* write that does not continue that order - a step back, a second value to the same cell, a change
|
|
70
|
+
* between `updateCells` and `setValue` - flushes what is held and starts a new run.
|
|
71
|
+
*
|
|
72
|
+
* A style set on a cell on its own ({@link holdStyle}) is held in the same run: styling the cell
|
|
73
|
+
* just written, or styling it again, continues it. The styles of a cell styled more than once are
|
|
74
|
+
* written in the order they were set.
|
|
75
|
+
*
|
|
76
|
+
* The first write of a run is scanned on its own, within its one cell. The second begins the scan
|
|
77
|
+
* the run keeps - over the whole sheet, since where the run ends is not known - and the first
|
|
78
|
+
* cell goes through it again. A loop that makes every write as it comes never pays for the sheet.
|
|
79
|
+
*
|
|
80
|
+
* A read of a held cell answers from what the scan has: the value from the builder it was placed
|
|
81
|
+
* in, and a clear, a formula or a style from the scan's collectors. Nothing is kept by cell.
|
|
82
|
+
* @internal
|
|
83
|
+
*/
|
|
84
|
+
export declare class CellBuffer {
|
|
85
|
+
private readonly _ctx;
|
|
86
|
+
private _transaction;
|
|
87
|
+
private _count;
|
|
88
|
+
private _isCell;
|
|
89
|
+
private _scan;
|
|
90
|
+
private _isBeginning;
|
|
91
|
+
private _isOriented;
|
|
92
|
+
private _isTransposed;
|
|
93
|
+
private _builder;
|
|
94
|
+
private _changes;
|
|
95
|
+
private _firstWrites;
|
|
96
|
+
private _firstValue;
|
|
97
|
+
private _lastMajor;
|
|
98
|
+
private _lastMinor;
|
|
99
|
+
private _isValueAtLast;
|
|
100
|
+
private _hasValues;
|
|
101
|
+
private _majorMin;
|
|
102
|
+
private _majorMax;
|
|
103
|
+
private _minorMin;
|
|
104
|
+
private _minorMax;
|
|
105
|
+
private _generation;
|
|
106
|
+
constructor(ctx: CellBufferContext);
|
|
107
|
+
/** Whether any write is held. */
|
|
108
|
+
isHolding(): boolean;
|
|
109
|
+
/**
|
|
110
|
+
* Holds a write if it can be held.
|
|
111
|
+
*
|
|
112
|
+
* @returns `true` if the write is held; `false` if it is to be made as it comes.
|
|
113
|
+
*/
|
|
114
|
+
hold(boundedTuples: Tuple.Region<ICell.Update> | null, options: ICellRange.UpdateCellsOptions | undefined, coordValidator: CoordUtils.CoordValidator | null | undefined, internalOptions: InternalTupleUpdate | null): boolean;
|
|
115
|
+
/**
|
|
116
|
+
* Holds a style set on one cell on its own, if it can be held.
|
|
117
|
+
*
|
|
118
|
+
* @param isLocal Whether the update changes only its cell - asked only once the rest allows the
|
|
119
|
+
* hold. A border changes the neighbor's edge and a continuous alignment is drawn across the
|
|
120
|
+
* neighbors, and a read of a neighbor does not see a held write.
|
|
121
|
+
* @returns `true` if the style is held; `false` if it is to be written as it comes.
|
|
122
|
+
*/
|
|
123
|
+
holdStyle(rowIndex: number, colIndex: number, update: ICellStyle.Update, options: ICellStyle.UpdateOptions | undefined, isLocal: () => boolean): boolean;
|
|
124
|
+
private _holdIn;
|
|
125
|
+
/**
|
|
126
|
+
* The transaction the held writes are made into. While any is held it is the innermost one, and
|
|
127
|
+
* a read through it sees the sheet without them and does not make them.
|
|
128
|
+
*/
|
|
129
|
+
getTransaction(): ITransaction | null;
|
|
130
|
+
/**
|
|
131
|
+
* What a read of a cell's value returns once the held writes are made, answered without making
|
|
132
|
+
* them.
|
|
133
|
+
*
|
|
134
|
+
* @remarks
|
|
135
|
+
* The answer is the value the scan stores: a number as the write normalizes it, text as the
|
|
136
|
+
* write coerced and cut it, `null` for a cleared cell - and for a formula, which has no value
|
|
137
|
+
* until it is calculated.
|
|
138
|
+
*
|
|
139
|
+
* @returns The value; {@link CellBuffer.NotHeld} if no held write is to the cell's value - none
|
|
140
|
+
* is to the cell, or it writes a style alone, or it is a merged cell other than its first - so
|
|
141
|
+
* the sheet as it is answers.
|
|
142
|
+
*/
|
|
143
|
+
read(rowIndex: number, colIndex: number): Scalar | typeof CellBuffer.NotHeld;
|
|
144
|
+
/** {@link read}, at `major`/`minor` in the scan's orientation. */
|
|
145
|
+
private _valueAt;
|
|
146
|
+
/**
|
|
147
|
+
* What a held write leaves in its cell, answered without making the held writes.
|
|
148
|
+
*
|
|
149
|
+
* @returns The value, the formula text (`null` for none) and the style update; {@link
|
|
150
|
+
* CellBuffer.NotHeld} if no held write is to the cell; `undefined` if the held write has to be
|
|
151
|
+
* made to know - it clears the cell's style, link and comments.
|
|
152
|
+
*/
|
|
153
|
+
readCell(rowIndex: number, colIndex: number): CellBuffer.HeldCell | typeof CellBuffer.NotHeld | undefined;
|
|
154
|
+
/**
|
|
155
|
+
* The style update a held write carries to its cell - an implied one included, such as the
|
|
156
|
+
* number format of text that reads as a date - or the styles set on it on their own, in order.
|
|
157
|
+
*
|
|
158
|
+
* @returns The update; `undefined` if the held writes leave the cell's style as it is.
|
|
159
|
+
*/
|
|
160
|
+
readStyleUpdate(rowIndex: number, colIndex: number): ScanStyleUpdate | undefined;
|
|
161
|
+
/**
|
|
162
|
+
* Whether the run `generation` counted is still held: neither made nor dropped.
|
|
163
|
+
*
|
|
164
|
+
* @see {@link getGeneration}
|
|
165
|
+
*/
|
|
166
|
+
isHeldGeneration(generation: number): boolean;
|
|
167
|
+
/** Identifies the run being held; see {@link isHeldGeneration}. */
|
|
168
|
+
getGeneration(): number;
|
|
169
|
+
/** Makes the held writes, as one. */
|
|
170
|
+
flush(): void;
|
|
171
|
+
/**
|
|
172
|
+
* Makes the held writes and closes the transaction they were held in, so what is written next is
|
|
173
|
+
* not nested in it. A transaction still open inside that one keeps it open.
|
|
174
|
+
*/
|
|
175
|
+
release(): void;
|
|
176
|
+
/** Drops the held writes: the transaction they were made in rolled back, or the sheet closed. */
|
|
177
|
+
discard(): void;
|
|
178
|
+
private _toRange;
|
|
179
|
+
/**
|
|
180
|
+
* Whether a write at `major`/`minor`, in the sheet's orientation, continues the run held.
|
|
181
|
+
*
|
|
182
|
+
* @param isCell The kind of value write; `null` for a style set on its own, which may also be to
|
|
183
|
+
* the cell last written.
|
|
184
|
+
*/
|
|
185
|
+
private _continues;
|
|
186
|
+
/** Begins a scan for the run. */
|
|
187
|
+
private _begin;
|
|
188
|
+
/** Scans one cell; `major`/`minor` in the scan's orientation. */
|
|
189
|
+
private _scanCell;
|
|
190
|
+
private _beginRun;
|
|
191
|
+
private _orientTo;
|
|
192
|
+
/**
|
|
193
|
+
* Scans and holds one write that continues the run, at `major`/`minor` in the sheet's
|
|
194
|
+
* orientation.
|
|
195
|
+
*
|
|
196
|
+
* @returns `false` if the scan refused it; it is not held then, and the run is as it was.
|
|
197
|
+
*/
|
|
198
|
+
private _push;
|
|
199
|
+
/** Holds a style set on its own, continuing the run, at `major`/`minor` in the sheet's orientation. */
|
|
200
|
+
private _pushStyle;
|
|
201
|
+
/**
|
|
202
|
+
* The second cell written decides the run's order: the run's scan begins, over the whole sheet,
|
|
203
|
+
* and the writes to the first cell go through it again, in order.
|
|
204
|
+
*/
|
|
205
|
+
private _orient;
|
|
206
|
+
private _clear;
|
|
207
|
+
}
|
|
208
|
+
/** @internal */
|
|
209
|
+
export declare namespace CellBuffer {
|
|
210
|
+
/** {@link CellBuffer.read}: no held write is to the cell. */
|
|
211
|
+
const NotHeld: unique symbol;
|
|
212
|
+
/** {@link CellBuffer.readCell}: what the held writes leave in their cell. */
|
|
213
|
+
interface HeldCell {
|
|
214
|
+
/** The value written; `null` too when {@link isValueHeld} is `false`. */
|
|
215
|
+
value: Scalar;
|
|
216
|
+
/** `false` if no held write is to the cell's value: the sheet's stands. */
|
|
217
|
+
isValueHeld: boolean;
|
|
218
|
+
/** The run's formula imaged at the cell, without a leading `=`; `null` for none. */
|
|
219
|
+
formula: string | null;
|
|
220
|
+
/** The style updates held for the cell, an implied one included; `undefined` for none. */
|
|
221
|
+
style: ScanStyleUpdate | undefined;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
//# sourceMappingURL=_CellBuffer.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IRange } from '@sheetxl/primitives';
|
|
2
2
|
import { IMovable } from '../movable';
|
|
3
3
|
import { ICellRange, ICellHeaderRange } from '../cellRange';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { IWorksheet } from './IWorksheet';
|
|
5
|
+
import { Worksheet } from './Worksheet';
|
|
6
6
|
/**
|
|
7
7
|
* The pasted images of `areas` (absolute ranges within the marked source `coordFrom`):
|
|
8
8
|
* each area's offset within the source, tiled across the fitted destination `rangeTo` with
|
|
@@ -15,19 +15,26 @@ import { Sheet } from './Sheet';
|
|
|
15
15
|
* is already LCM-expanded or clipped, so tiling here is a pure function of the two ranges.
|
|
16
16
|
*/
|
|
17
17
|
export declare function tileMarkedAreas(areas: readonly IRange.Coords[], coordFrom: Readonly<IRange.Coords>, rangeTo: Readonly<IRange.Coords>, transpose?: boolean): IRange.Coords[];
|
|
18
|
+
/**
|
|
19
|
+
* Runs every part's `prepare`, and waits only when one of them has something to wait for: with
|
|
20
|
+
* nothing to prepare, the paste stays in its caller's synchronous extent.
|
|
21
|
+
*/
|
|
22
|
+
export declare function prepareParts<D, O>(parts: readonly {
|
|
23
|
+
prepare?(destination: D, options?: O): Promise<void> | void;
|
|
24
|
+
}[], destination: D, options?: O): Promise<void> | void;
|
|
18
25
|
/**
|
|
19
26
|
* Converts a header snapshot to sheet.
|
|
20
27
|
*/
|
|
21
28
|
export declare function headerToSheetSnapshot(rangeMark: ICellHeaderRange, coordMark: IRange.Coords, optionsMark: ICellHeaderRange.CopyOptions): Partial<ICellRange.ISnapshot>;
|
|
22
29
|
/**
|
|
23
|
-
* Wraps a copySheetTo function into a
|
|
30
|
+
* Wraps a copySheetTo function into a IWorksheet.ISnapshot.
|
|
24
31
|
* * This will error if snapshot is a cut and called a second.
|
|
25
32
|
* @internal
|
|
26
33
|
*/
|
|
27
|
-
export declare function callbackToSheetSnapshot(sheetFrom:
|
|
34
|
+
export declare function callbackToSheetSnapshot(sheetFrom: IWorksheet, sheetMark: IWorksheet, coordsFrom: readonly IRange.Coords[], description: string, optionsMark: ICellRange.CopyOptions, copySheetTo: (sheetRange: ICellRange, options?: ICellRange.CopyOptions) => IRange.Coords): ICellRange.ISnapshot;
|
|
28
35
|
/**
|
|
29
36
|
* Converts an array of Snapshots into a single snapshot.
|
|
30
37
|
*/
|
|
31
|
-
export declare function arrToSheetSnapshot(snapshots: Partial<ICellRange.ISnapshot>[], sheet:
|
|
32
|
-
export declare function movablesToSheetSnapshot(sheetMark:
|
|
38
|
+
export declare function arrToSheetSnapshot(snapshots: Partial<ICellRange.ISnapshot>[], sheet: IWorksheet, sheetMark: IWorksheet, coordsMark: IRange.Coords, optionsMark: ICellRange.CopyOptions, descriptionMark: string, snapshotNative?: ICellRange.ISnapshot | null): ICellRange.ISnapshot;
|
|
39
|
+
export declare function movablesToSheetSnapshot(sheetMark: Worksheet, coordsMark: readonly IRange.Coords[], movablesSelectionMark: readonly IMovable[], markOptions: ICellRange.CopyOptions): ICellRange.ISnapshot<IWorksheet> | null;
|
|
33
40
|
//# sourceMappingURL=_CopyUtils.d.ts.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { IRange } from '@sheetxl/primitives';
|
|
2
|
+
import { ITransaction } from '../transaction';
|
|
3
|
+
import { ICellRanges, ICellRange } from '../cellRange';
|
|
4
|
+
import { ICalculation } from '../calculation/ICalculation';
|
|
5
|
+
import { FormulaHost } from '../calculation/grid';
|
|
6
|
+
import { Formula, IFormulaBlockView } from '../calculation/formula';
|
|
7
|
+
/**
|
|
8
|
+
* A formula a content names, as the engine holds it: a live view over the host's body.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Every read goes to the host's grid in the snapshot the store is at, as a defined name's does
|
|
12
|
+
* (`NamedFormula`), so an insert, a sheet rename, a cut and an undo are all answered on the next
|
|
13
|
+
* read, with no delivery in between. The body is authored at the content's anchor
|
|
14
|
+
* ({@link getAnchor}), which is where a relative endpoint is read from.
|
|
15
|
+
*
|
|
16
|
+
* The host's grid can be gone — the content was deleted, or the commit that registered the
|
|
17
|
+
* watch was undone — and the formula then answers the last text the engine delivered for it,
|
|
18
|
+
* with no references: what a restore re-holds from.
|
|
19
|
+
*
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export declare class HeldFormula extends Formula {
|
|
23
|
+
private readonly _host;
|
|
24
|
+
private _last;
|
|
25
|
+
/**
|
|
26
|
+
* @param host The host holding the body.
|
|
27
|
+
* @param origin Where the body is authored: the content's anchor.
|
|
28
|
+
* @param text The body's text as delivered, kept for when the grid is gone.
|
|
29
|
+
*/
|
|
30
|
+
constructor(host: FormulaHost, origin: IRange.CellCoords, text: string, options: Formula.ConstructorOptions);
|
|
31
|
+
/** The body as the model's grid holds it now: the engine's text once answered, as written until then. */
|
|
32
|
+
protected get _block(): IFormulaBlockView;
|
|
33
|
+
private _view;
|
|
34
|
+
/** The id of the grid the body lives in, which a re-hold attaches to. @internal */
|
|
35
|
+
_getHostId(): string;
|
|
36
|
+
/** The text as the engine last delivered it, so the formula still answers once the grid is gone. @internal */
|
|
37
|
+
_setLast(text: string): void;
|
|
38
|
+
/** {@inheritDoc ICalculation.IFormula.isCompiled} */
|
|
39
|
+
isCompiled(): boolean;
|
|
40
|
+
/** {@inheritDoc ICalculation.IFormula.getCalculationStatus} */
|
|
41
|
+
getCalculationStatus(): ICalculation.ResultStatus;
|
|
42
|
+
/** {@inheritDoc ICalculation.IFormula.getExpression} */
|
|
43
|
+
getExpression(options?: ICalculation.FormulaTextOptions): string;
|
|
44
|
+
/** {@inheritDoc ICalculation.IFormula.getTokens} */
|
|
45
|
+
getTokens(evalIndex?: number): readonly ICalculation.FormulaToken[];
|
|
46
|
+
/** {@inheritDoc ICalculation.IFormula.isValid} */
|
|
47
|
+
isValid(): boolean;
|
|
48
|
+
/** {@inheritDoc ICalculation.IFormula.isReferenceOnly} */
|
|
49
|
+
isReferenceOnly(): boolean;
|
|
50
|
+
/** {@inheritDoc ICalculation.IFormula.getReferences} */
|
|
51
|
+
getReferences(): ICellRanges | null;
|
|
52
|
+
/** {@inheritDoc ICalculation.IFormula.hasRefError} */
|
|
53
|
+
hasRefError(): boolean;
|
|
54
|
+
/** A held formula is rewritten by the engine, never through this handle. */
|
|
55
|
+
setReferenceAt(_index: number, _reference: ICellRange.Address, _options?: string | ITransaction.OperationOptions): Promise<this>;
|
|
56
|
+
/** A held formula is rewritten by the engine, never through this handle. */
|
|
57
|
+
setReferenceModeAt(_index: number, _side?: ICalculation.ReferenceSide, _mode?: number, _options?: string | ITransaction.OperationOptions): Promise<this>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* The sheet a reference names and the rest of it, or `null` for an unqualified one. The engine
|
|
61
|
+
* names every sheet in a held formula's text; a content that writes a reference where the sheet
|
|
62
|
+
* is implied, or kept apart, splits it here.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
export declare function splitSheetQualifier(text: string): {
|
|
66
|
+
sheet: string;
|
|
67
|
+
reference: string;
|
|
68
|
+
} | null;
|
|
69
|
+
//# sourceMappingURL=_HeldFormula.d.ts.map
|