@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,444 @@
|
|
|
1
|
+
import { IFill } from '../../fill/IFill';
|
|
2
|
+
import { IStroke } from '../../fill/IStroke';
|
|
3
|
+
import { ChartModel } from '../model/ChartModel';
|
|
4
|
+
import { HistogramBin } from '../math/Histogram';
|
|
5
|
+
import { BoxStats, QuartileMethod } from '../math/BoxStats';
|
|
6
|
+
import { TrendlineFit, TrendlineTextRun, TrendlineType } from '../math/Trendlines';
|
|
7
|
+
/**
|
|
8
|
+
* A chart with every property concrete: what it states, else its style's, else Excel's default.
|
|
9
|
+
* Every color is concrete CSS (`#RRGGBB` or `rgba()`, `PaintUtils.toConcreteCSS`), in the fills and
|
|
10
|
+
* lines the model states: a gradient keeps its stops and a pattern its two colors. Lengths and font
|
|
11
|
+
* sizes are points, and labels are text.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* The input of layout. Values come from the model's caches.
|
|
15
|
+
*/
|
|
16
|
+
export interface ResolvedChart {
|
|
17
|
+
/** The chart's type, by Office Scripts' names: what `IChart.getChartType` answers. */
|
|
18
|
+
chartType: string;
|
|
19
|
+
/** A 2016 chart (`cx:chartSpace`): its chrome is that style's, not a classic chart's. */
|
|
20
|
+
chartEx?: boolean;
|
|
21
|
+
/** The chart's own text font: what text with no font of its own is drawn in. */
|
|
22
|
+
font: ResolvedChart.Font;
|
|
23
|
+
/** `cornerRadius` in points: 0 for square corners. */
|
|
24
|
+
chartArea: {
|
|
25
|
+
fill: IFill.JSON | null;
|
|
26
|
+
border: ResolvedChart.Stroke | null;
|
|
27
|
+
cornerRadius: number;
|
|
28
|
+
};
|
|
29
|
+
title: ResolvedChart.Text | null;
|
|
30
|
+
plotArea: {
|
|
31
|
+
fill: IFill.JSON | null;
|
|
32
|
+
border: ResolvedChart.Stroke | null;
|
|
33
|
+
};
|
|
34
|
+
/** In the chart's order. */
|
|
35
|
+
axes: ResolvedChart.Axis[];
|
|
36
|
+
/** In the chart's order. */
|
|
37
|
+
groups: ResolvedChart.Group[];
|
|
38
|
+
legend: ResolvedChart.Legend | null;
|
|
39
|
+
/** Dates are serials of the 1904 system. */
|
|
40
|
+
date1904: boolean;
|
|
41
|
+
/** Whether a line is drawn across a blank point rather than broken at it (`dispBlanksAs span`). */
|
|
42
|
+
spanBlanks: boolean;
|
|
43
|
+
}
|
|
44
|
+
export declare namespace ResolvedChart {
|
|
45
|
+
interface Font {
|
|
46
|
+
family: string;
|
|
47
|
+
/** In pt. */
|
|
48
|
+
size: number;
|
|
49
|
+
bold: boolean;
|
|
50
|
+
italic: boolean;
|
|
51
|
+
/** What the text is filled with: a solid color, or a gradient. */
|
|
52
|
+
color: IFill.JSON;
|
|
53
|
+
}
|
|
54
|
+
/** A line as the model states it, with its fill concrete and its width (in pt) stated. */
|
|
55
|
+
type Stroke = IStroke.JSON & {
|
|
56
|
+
fill: IFill.JSON;
|
|
57
|
+
width: number;
|
|
58
|
+
};
|
|
59
|
+
interface Text {
|
|
60
|
+
text: string;
|
|
61
|
+
font: Font;
|
|
62
|
+
fill: IFill.JSON | null;
|
|
63
|
+
border: Stroke | null;
|
|
64
|
+
overlay: boolean;
|
|
65
|
+
/** The text's angle in degrees counterclockwise: 90 reads up, as an axis title up a side does. */
|
|
66
|
+
rotation?: number;
|
|
67
|
+
}
|
|
68
|
+
/** Where a data label sits by its point: DrawingML's `dLblPos`. */
|
|
69
|
+
type LabelPosition = 'bestFit' | 'b' | 'ctr' | 'inBase' | 'inEnd' | 'l' | 'outEnd' | 'r' | 't';
|
|
70
|
+
/** The label of one point. */
|
|
71
|
+
interface DataLabel {
|
|
72
|
+
/** Its lines joined by `
|
|
73
|
+
`. */
|
|
74
|
+
text: string;
|
|
75
|
+
position: LabelPosition;
|
|
76
|
+
font: Font;
|
|
77
|
+
fill: IFill.JSON | null;
|
|
78
|
+
border: Stroke | null;
|
|
79
|
+
}
|
|
80
|
+
interface Axis {
|
|
81
|
+
id: number;
|
|
82
|
+
crossAx: number;
|
|
83
|
+
type: ChartModel.AxisType;
|
|
84
|
+
position: 'b' | 'l' | 'r' | 't';
|
|
85
|
+
deleted: boolean;
|
|
86
|
+
line: Stroke | null;
|
|
87
|
+
majorGridlines: Stroke | null;
|
|
88
|
+
minorGridlines: Stroke | null;
|
|
89
|
+
majorTickMark: ChartModel.TickMark;
|
|
90
|
+
minorTickMark: ChartModel.TickMark;
|
|
91
|
+
tickLblPos: 'high' | 'low' | 'nextTo' | 'none';
|
|
92
|
+
labelFont: Font;
|
|
93
|
+
/** The labels' stated angle, in degrees counterclockwise; absent when Excel chooses. */
|
|
94
|
+
labelRotation?: number;
|
|
95
|
+
/** A category axis: the stated interval between labels (`tickLblSkip`); absent when Excel chooses. */
|
|
96
|
+
labelSkip?: number;
|
|
97
|
+
/**
|
|
98
|
+
* A category axis over multi-level categories draws each level (`noMultiLvlLbl` off), rather
|
|
99
|
+
* than one label of all of a category's levels.
|
|
100
|
+
*/
|
|
101
|
+
multiLevel: boolean;
|
|
102
|
+
/** The format the labels are written in: the axis's own, or its data's when linked to source. */
|
|
103
|
+
formatCode: string;
|
|
104
|
+
orientation: 'minMax' | 'maxMin';
|
|
105
|
+
/** Stated bounds and units; absent ones are automatic. */
|
|
106
|
+
min?: number;
|
|
107
|
+
max?: number;
|
|
108
|
+
majorUnit?: number;
|
|
109
|
+
minorUnit?: number;
|
|
110
|
+
logBase?: number;
|
|
111
|
+
/** A date axis: the stated unit of its slots, and the stated units of its major and minor ticks. */
|
|
112
|
+
baseTimeUnit?: ChartModel.TimeUnit;
|
|
113
|
+
majorTimeUnit?: ChartModel.TimeUnit;
|
|
114
|
+
minorTimeUnit?: ChartModel.TimeUnit;
|
|
115
|
+
crosses: 'autoZero' | 'max' | 'min';
|
|
116
|
+
crossesAt?: number;
|
|
117
|
+
/** A value axis: whether the axis crossing it lays its categories out between ticks or on them. */
|
|
118
|
+
crossBetween: 'between' | 'midCat';
|
|
119
|
+
/** A built-in unit's name or a divisor. */
|
|
120
|
+
displayUnit?: string | number;
|
|
121
|
+
/** The display unit's label, shown beside the axis; `null` when the values are not shown in a unit or it is hidden. */
|
|
122
|
+
displayUnitLabel: Text | null;
|
|
123
|
+
/** A category axis's `lblOffset`: the labels' distance from the axis as a percentage of the default, 100. */
|
|
124
|
+
labelOffset: number;
|
|
125
|
+
/** The labels are stacked letter over letter (`a:bodyPr vert="wordArtVert"`). */
|
|
126
|
+
labelVertical: boolean;
|
|
127
|
+
title: Text | null;
|
|
128
|
+
}
|
|
129
|
+
interface Marker {
|
|
130
|
+
symbol: 'circle' | 'square' | 'diamond' | 'triangle' | 'x' | 'star' | 'plus' | 'dot' | 'dash';
|
|
131
|
+
/** In pt. */
|
|
132
|
+
size: number;
|
|
133
|
+
fill: IFill.JSON | null;
|
|
134
|
+
stroke: Stroke | null;
|
|
135
|
+
}
|
|
136
|
+
interface Series {
|
|
137
|
+
/**
|
|
138
|
+
* `s` and the key the chart names the series by: its `idx`, or `#` and its place among the
|
|
139
|
+
* chart's series where it states none (a 2016 chart's).
|
|
140
|
+
*/
|
|
141
|
+
id: string;
|
|
142
|
+
idx: number;
|
|
143
|
+
order: number;
|
|
144
|
+
name: string;
|
|
145
|
+
/** By point; `null` is blank. */
|
|
146
|
+
values: (number | null)[];
|
|
147
|
+
/** Scatter groups: the x of each point, `1..n` when the series states none. */
|
|
148
|
+
xValues?: (number | null)[];
|
|
149
|
+
/** Bubble groups: each point's bubble size; `null` is blank. */
|
|
150
|
+
bubbleSizes?: (number | null)[];
|
|
151
|
+
/** By point, as text: the innermost level of multi-level categories. */
|
|
152
|
+
categories: string[];
|
|
153
|
+
/**
|
|
154
|
+
* Multi-level categories: by level, the innermost first, each by point with `''` for a blank (a
|
|
155
|
+
* blank in an outer level continues the group before it). Absent for categories of one level.
|
|
156
|
+
*/
|
|
157
|
+
categoryLevels?: string[][];
|
|
158
|
+
/** By point, as numbers, where the categories are numbers (dates): what a date axis places them by. */
|
|
159
|
+
categoryValues?: (number | null)[];
|
|
160
|
+
/** The values' format: the cache's. */
|
|
161
|
+
formatCode: string;
|
|
162
|
+
fill: IFill.JSON | null;
|
|
163
|
+
stroke: Stroke | null;
|
|
164
|
+
marker: Marker | null;
|
|
165
|
+
smooth: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Pie, doughnut, of-pie and waterfall groups: how each point is drawn, by point; an of-pie's has
|
|
168
|
+
* one more, its slice for the points of the second plot (Excel's "Other").
|
|
169
|
+
*/
|
|
170
|
+
points?: PointStyle[];
|
|
171
|
+
/** By point, the label drawn by it; `null` for a point without one. Absent when no point has one. */
|
|
172
|
+
labels?: (DataLabel | null)[];
|
|
173
|
+
/** The marker's size in pt, stated or Excel's 5, whether or not a marker is drawn: a label keeps clear of it. */
|
|
174
|
+
markerSize: number;
|
|
175
|
+
/** The series' trendlines, in the order it lists them. Absent when it has none. */
|
|
176
|
+
trendlines?: Trendline[];
|
|
177
|
+
/** The series' error bars, in the order it lists them. Absent when it has none. */
|
|
178
|
+
errorBars?: ErrorBars[];
|
|
179
|
+
/** Histogram groups: the values as read, which the group's bins index, before they were counted into `values`. */
|
|
180
|
+
raw?: (number | null)[];
|
|
181
|
+
/** Box and whisker groups: by category, the statistics of the series' values there; `null` for a category with none. */
|
|
182
|
+
boxes?: (BoxStats | null)[];
|
|
183
|
+
/** Box and whisker groups: what of each box is drawn, and the line it is drawn with. */
|
|
184
|
+
box?: BoxOptions;
|
|
185
|
+
}
|
|
186
|
+
/** How a box and whisker series draws its boxes (DESIGN-CHART §4.17). */
|
|
187
|
+
interface BoxOptions {
|
|
188
|
+
quartileMethod: QuartileMethod;
|
|
189
|
+
/** An x at each box's mean. */
|
|
190
|
+
meanMarker: boolean;
|
|
191
|
+
/** A line from each box's mean to the next's. */
|
|
192
|
+
meanLine: boolean;
|
|
193
|
+
/** A dot at each value beyond the whiskers. */
|
|
194
|
+
outliers: boolean;
|
|
195
|
+
/** A dot at each value within the whiskers. */
|
|
196
|
+
innerPoints: boolean;
|
|
197
|
+
/** The box's outline, its median, its whiskers and its marks: the fill's darker shade. */
|
|
198
|
+
line: Stroke;
|
|
199
|
+
}
|
|
200
|
+
/** A series' error bars: a bar about each point, of an amount below and above. */
|
|
201
|
+
interface ErrorBars {
|
|
202
|
+
/** Which of the points' values the bars are of: `y`, along the value axis, or a scatter's `x`. */
|
|
203
|
+
direction: 'x' | 'y';
|
|
204
|
+
/** What the bars are about: each point's value, or (standard deviations) the series' mean. */
|
|
205
|
+
about: 'point' | number;
|
|
206
|
+
/** By point, how far below and above the bar runs; `null` for a point with no bar. */
|
|
207
|
+
amounts: ({
|
|
208
|
+
minus: number;
|
|
209
|
+
plus: number;
|
|
210
|
+
} | null)[];
|
|
211
|
+
/** The bar's far ends are capped: an end of no amount is not. */
|
|
212
|
+
cap: boolean;
|
|
213
|
+
stroke: Stroke | null;
|
|
214
|
+
}
|
|
215
|
+
/** A trendline of a series, fitted to the series' points. */
|
|
216
|
+
interface Trendline {
|
|
217
|
+
/** Its entry in the legend. */
|
|
218
|
+
name: string;
|
|
219
|
+
type: TrendlineType;
|
|
220
|
+
/** The fit; `null` for a moving average, or where the points allow none (nothing is drawn). */
|
|
221
|
+
fit: TrendlineFit | null;
|
|
222
|
+
/** A moving average's points, in the series' x. */
|
|
223
|
+
average?: {
|
|
224
|
+
x: number;
|
|
225
|
+
y: number;
|
|
226
|
+
}[];
|
|
227
|
+
/**
|
|
228
|
+
* The x the line runs over: the series' first and last point's, `backward` before and
|
|
229
|
+
* `forward` past them. On a category axis x is the category's number, from 1.
|
|
230
|
+
*/
|
|
231
|
+
from: number;
|
|
232
|
+
to: number;
|
|
233
|
+
/** How far past the last point it runs: on a category axis, the categories it adds. */
|
|
234
|
+
forward: number;
|
|
235
|
+
stroke: Stroke | null;
|
|
236
|
+
label: TrendlineLabel | null;
|
|
237
|
+
}
|
|
238
|
+
/** A trendline's label: its equation and R², a line each. */
|
|
239
|
+
interface TrendlineLabel {
|
|
240
|
+
/** Each line's runs, an exponent raised. */
|
|
241
|
+
lines: TrendlineTextRun[][];
|
|
242
|
+
/**
|
|
243
|
+
* Where it was moved by hand (`c:manualLayout`): a fraction of the chart's width and height, by
|
|
244
|
+
* which it is moved from its own place (`factor`), or its position from the chart's top left
|
|
245
|
+
* (`edge`). Absent where it sits in its own place.
|
|
246
|
+
*/
|
|
247
|
+
moved?: {
|
|
248
|
+
x: number;
|
|
249
|
+
y: number;
|
|
250
|
+
xEdge: boolean;
|
|
251
|
+
yEdge: boolean;
|
|
252
|
+
};
|
|
253
|
+
font: Font;
|
|
254
|
+
fill: IFill.JSON | null;
|
|
255
|
+
border: Stroke | null;
|
|
256
|
+
}
|
|
257
|
+
/** One point of a pie, doughnut or of-pie. */
|
|
258
|
+
interface PointStyle {
|
|
259
|
+
fill: IFill.JSON | null;
|
|
260
|
+
stroke: Stroke | null;
|
|
261
|
+
/** How far the slice is pulled out, as a percentage of the radius. */
|
|
262
|
+
explosion: number;
|
|
263
|
+
/** A waterfall's point that is a total: its bar runs from zero to its value, which the steps after it start from. */
|
|
264
|
+
total?: boolean;
|
|
265
|
+
}
|
|
266
|
+
interface Group {
|
|
267
|
+
type: ChartModel.GroupType;
|
|
268
|
+
/** A custom group's kind and options, as the model states them. */
|
|
269
|
+
custom?: ChartModel.CustomGroup;
|
|
270
|
+
barDir: 'bar' | 'col';
|
|
271
|
+
grouping: 'clustered' | 'stacked' | 'percentStacked' | 'standard';
|
|
272
|
+
/** Percent of a bar's width. */
|
|
273
|
+
gapWidth: number;
|
|
274
|
+
/** -100..100. */
|
|
275
|
+
overlap: number;
|
|
276
|
+
varyColors: boolean;
|
|
277
|
+
/** Pie and doughnut: where the first slice starts, in degrees clockwise from 12 o'clock. */
|
|
278
|
+
firstSliceAng: number;
|
|
279
|
+
/** Doughnut: the hole, as a percentage of the radius. */
|
|
280
|
+
holeSize: number;
|
|
281
|
+
axIds: number[];
|
|
282
|
+
/** In plot order. */
|
|
283
|
+
series: Series[];
|
|
284
|
+
/** Line and stock groups: a bar in each category from the first series' value to the last's. */
|
|
285
|
+
upDownBars?: UpDownBars;
|
|
286
|
+
/** Line and stock groups: a line in each category from its lowest value to its highest. */
|
|
287
|
+
hiLowLines?: Stroke | null;
|
|
288
|
+
/** Line, area and stock groups: a line from each category's values to the category axis. */
|
|
289
|
+
dropLines?: Stroke | null;
|
|
290
|
+
/** Stacked bar groups: a line joining each series' ends in neighboring categories; an of-pie's lines to its second plot. */
|
|
291
|
+
seriesLines?: Stroke | null;
|
|
292
|
+
/** Of-pie groups: the second plot and the points it takes. */
|
|
293
|
+
ofPie?: OfPie;
|
|
294
|
+
/** Surface groups: the value bands they are drawn in. */
|
|
295
|
+
surface?: Surface;
|
|
296
|
+
/** Radar groups: lines and markers, or filled. */
|
|
297
|
+
radarStyle?: 'standard' | 'marker' | 'filled';
|
|
298
|
+
/** Bubble groups: how the bubbles are sized. */
|
|
299
|
+
bubble?: Bubble;
|
|
300
|
+
/** Waterfall groups: how steps up, steps down and totals are drawn, and the lines between bars. */
|
|
301
|
+
waterfall?: Waterfall;
|
|
302
|
+
/** Sunburst and treemap groups: the colors of the hierarchy's branches and the line between its segments. */
|
|
303
|
+
hierarchy?: Hierarchy;
|
|
304
|
+
/** Histogram groups: the bins the values were counted in, and a pareto's line. */
|
|
305
|
+
histogram?: Histogram;
|
|
306
|
+
/** Treemap groups: how the top-level categories are labeled, the font their names are in, and a banner's fill. */
|
|
307
|
+
treemap?: {
|
|
308
|
+
parentLabels: 'none' | 'banner' | 'overlapping';
|
|
309
|
+
font: Font;
|
|
310
|
+
bannerFill: IFill.JSON | null;
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
/**
|
|
314
|
+
* How a histogram's values were counted (DESIGN-CHART §4.16): each series' `values` are its
|
|
315
|
+
* counts by bin and its `categories` the bins' labels; a pareto's are its sums by category,
|
|
316
|
+
* largest first, with a line of the running share on an axis of its own.
|
|
317
|
+
*/
|
|
318
|
+
interface Histogram {
|
|
319
|
+
/** The first series' bins, each with the indexes of its `raw` values. */
|
|
320
|
+
bins: HistogramBin[];
|
|
321
|
+
intervalClosed: 'l' | 'r';
|
|
322
|
+
/** The values were summed by category (`aggregation`) rather than binned. */
|
|
323
|
+
byCategory: boolean;
|
|
324
|
+
/** A pareto's line: the series the chart lists it as, the axis it is drawn against, and its line. */
|
|
325
|
+
cumulative?: {
|
|
326
|
+
id: string;
|
|
327
|
+
name: string;
|
|
328
|
+
axisId: number;
|
|
329
|
+
stroke: Stroke | null;
|
|
330
|
+
};
|
|
331
|
+
}
|
|
332
|
+
/**
|
|
333
|
+
* How a hierarchy (a sunburst) is drawn: each top-level category, a branch, with everything under
|
|
334
|
+
* it in the branch's fill; every segment outlined in `border`.
|
|
335
|
+
*/
|
|
336
|
+
interface Hierarchy {
|
|
337
|
+
branches: {
|
|
338
|
+
name: string;
|
|
339
|
+
fill: IFill.JSON | null;
|
|
340
|
+
}[];
|
|
341
|
+
border: Stroke | null;
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* How a waterfall draws its bars: a step up (a positive value), a step down (a negative one) and a
|
|
345
|
+
* total, each where the series and its points state nothing; the lines from each bar's end to the
|
|
346
|
+
* next bar, `null` where they are hidden.
|
|
347
|
+
*/
|
|
348
|
+
interface Waterfall {
|
|
349
|
+
increase: {
|
|
350
|
+
fill: IFill.JSON | null;
|
|
351
|
+
stroke: Stroke | null;
|
|
352
|
+
};
|
|
353
|
+
decrease: {
|
|
354
|
+
fill: IFill.JSON | null;
|
|
355
|
+
stroke: Stroke | null;
|
|
356
|
+
};
|
|
357
|
+
total: {
|
|
358
|
+
fill: IFill.JSON | null;
|
|
359
|
+
stroke: Stroke | null;
|
|
360
|
+
};
|
|
361
|
+
connectorLines: Stroke | null;
|
|
362
|
+
}
|
|
363
|
+
/** How a bubble group sizes its bubbles. */
|
|
364
|
+
interface Bubble {
|
|
365
|
+
/** The largest bubble's size, as a percentage of Excel's default: 0 to 300. */
|
|
366
|
+
scale: number;
|
|
367
|
+
/** A bubble's size is its area's (`area`) or its width's (`w`). */
|
|
368
|
+
sizeRepresents: 'area' | 'w';
|
|
369
|
+
/** A negative size draws a bubble of its size's magnitude; else none. */
|
|
370
|
+
showNegative: boolean;
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* A surface's value bands: one between each major tick of its value axis and the next, each drawn in
|
|
374
|
+
* its own color, or its own line for a wireframe.
|
|
375
|
+
*/
|
|
376
|
+
interface Surface {
|
|
377
|
+
wireframe: boolean;
|
|
378
|
+
/** A 3-D surface, which Excel draws in perspective; drawn flat from above. */
|
|
379
|
+
flat: boolean;
|
|
380
|
+
/** The value axis's scale. */
|
|
381
|
+
min: number;
|
|
382
|
+
max: number;
|
|
383
|
+
majorUnit: number;
|
|
384
|
+
bands: {
|
|
385
|
+
from: number;
|
|
386
|
+
to: number;
|
|
387
|
+
text: string;
|
|
388
|
+
fill: IFill.JSON | null;
|
|
389
|
+
stroke: Stroke | null;
|
|
390
|
+
}[];
|
|
391
|
+
}
|
|
392
|
+
/** A pie of pie or bar of pie's second plot. */
|
|
393
|
+
interface OfPie {
|
|
394
|
+
of: 'pie' | 'bar';
|
|
395
|
+
/** How the points of the second plot are chosen, and by what. */
|
|
396
|
+
splitType: 'auto' | 'cust' | 'percent' | 'pos' | 'val';
|
|
397
|
+
splitPos?: number;
|
|
398
|
+
/** `cust`: the indexes of the points in the second plot. */
|
|
399
|
+
custSplit: number[];
|
|
400
|
+
/** The second plot's size, as a percentage of the first pie's. */
|
|
401
|
+
secondSize: number;
|
|
402
|
+
}
|
|
403
|
+
/** A line or stock group's up/down bars. */
|
|
404
|
+
interface UpDownBars {
|
|
405
|
+
/** Percent of a bar's width. */
|
|
406
|
+
gapWidth: number;
|
|
407
|
+
/** Where the last series' value is above the first's. */
|
|
408
|
+
up: {
|
|
409
|
+
fill: IFill.JSON | null;
|
|
410
|
+
stroke: Stroke | null;
|
|
411
|
+
};
|
|
412
|
+
/** Where it is not: below or equal. */
|
|
413
|
+
down: {
|
|
414
|
+
fill: IFill.JSON | null;
|
|
415
|
+
stroke: Stroke | null;
|
|
416
|
+
};
|
|
417
|
+
}
|
|
418
|
+
interface LegendEntry {
|
|
419
|
+
seriesId: string;
|
|
420
|
+
/** An entry for one point of the series (a pie's slice), rather than for the series. */
|
|
421
|
+
pointIndex?: number;
|
|
422
|
+
/** An entry for the series' trendline of this index, rather than for the series. */
|
|
423
|
+
trendlineIndex?: number;
|
|
424
|
+
/** An entry for a surface's value band of this index, rather than for a series. */
|
|
425
|
+
bandIndex?: number;
|
|
426
|
+
text: string;
|
|
427
|
+
/** The kind of key the entry shows. */
|
|
428
|
+
key: 'bar' | 'line';
|
|
429
|
+
/** The key's colors, where they are not its series' (a waterfall's increase, decrease and total). */
|
|
430
|
+
swatch?: {
|
|
431
|
+
fill: IFill.JSON | null;
|
|
432
|
+
stroke: Stroke | null;
|
|
433
|
+
};
|
|
434
|
+
}
|
|
435
|
+
interface Legend {
|
|
436
|
+
position: 'b' | 'tr' | 'l' | 'r' | 't';
|
|
437
|
+
overlay: boolean;
|
|
438
|
+
font: Font;
|
|
439
|
+
fill: IFill.JSON | null;
|
|
440
|
+
border: Stroke | null;
|
|
441
|
+
entries: LegendEntry[];
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
//# sourceMappingURL=_ResolvedChart.d.ts.map
|
|
@@ -23,7 +23,7 @@ export declare class ArraysGrid<T = any> implements IGrid<T> {
|
|
|
23
23
|
getCoords(): RangeCoords | null;
|
|
24
24
|
/** {@inheritDoc IGrid.setValues} */
|
|
25
25
|
setValues(_values: Tuple.GridTuple): this;
|
|
26
|
-
getValues(coords?: RangeCoords): Tuple.
|
|
26
|
+
getValues(coords?: RangeCoords): Tuple.Region<T> | null;
|
|
27
27
|
/** {@inheritDoc IGrid.getAxis} */
|
|
28
28
|
getAxis(): RangeAxis;
|
|
29
29
|
/** {@inheritDoc IGrid.delete} */
|
|
@@ -42,7 +42,7 @@ export interface IGrid<T = any> {
|
|
|
42
42
|
* * Results `null` if there are no values
|
|
43
43
|
* * If `coords` is not provided then all values will be retrieved.
|
|
44
44
|
*/
|
|
45
|
-
getValues(coords?: RangeCoords): Tuple.
|
|
45
|
+
getValues(coords?: RangeCoords): Tuple.Region<T> | null;
|
|
46
46
|
/**
|
|
47
47
|
* Returns an iterator for traversing entries in the IGrid.
|
|
48
48
|
*
|
|
@@ -12,6 +12,15 @@ export interface ISparseGrid<T = any> extends IGrid<T> {
|
|
|
12
12
|
* Sparse grids are stored as virtual tuples of [major, minor, value].
|
|
13
13
|
*/
|
|
14
14
|
getRuns(options?: ISparseGrid.RunIteratorOptions): ISparseGrid.RunIterableIterator<T>;
|
|
15
|
+
/**
|
|
16
|
+
* `true` when the grid reports which cells are read.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* A consumer that could answer from a structure derived off the stored runs — an index that
|
|
20
|
+
* opens no cell — must instead read the cells it stands for, so that the report stays exact.
|
|
21
|
+
* The calculation sets this on the grid a formula reads while its reads decide circularity.
|
|
22
|
+
*/
|
|
23
|
+
readonly observesReads?: boolean;
|
|
15
24
|
}
|
|
16
25
|
/**
|
|
17
26
|
* {@inheritDoc ISparseGrid}
|
|
@@ -55,14 +55,21 @@ export interface ISpatialMap<T = any> extends ISpatialQuery<T> {
|
|
|
55
55
|
*/
|
|
56
56
|
insertNonOverlapping(entry: ISpatialMap.Entry<T>, options?: ISpatialMap.InsertNonOverlappingOptions<T>): this;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* {@link insertNonOverlapping} for several entries, merging once for all of them.
|
|
59
59
|
*
|
|
60
|
-
* @param entries
|
|
61
|
-
* @param
|
|
60
|
+
* @param entries The entries to add, applied in order.
|
|
61
|
+
* @param options Options for adding non overlapping options.
|
|
62
|
+
*
|
|
63
|
+
* @remarks
|
|
64
|
+
* Equivalent to calling {@link insertNonOverlapping} for each entry in turn - a later entry wins
|
|
65
|
+
* over an earlier one where they overlap - but the merge pass runs once over the entries' union
|
|
66
|
+
* rather than once per entry. Each merge pass searches the entries' neighborhood, so this is
|
|
67
|
+
* worth reaching for when the entries are near one another, as the pieces of one region are.
|
|
62
68
|
*
|
|
63
|
-
* @
|
|
69
|
+
* * As with {@link insertNonOverlapping}, `load` is far cheaper when the entries are known not to
|
|
70
|
+
* overlap anything already in the map.
|
|
64
71
|
*/
|
|
65
|
-
|
|
72
|
+
insertAllNonOverlapping(entries: readonly ISpatialMap.Entry<T>[], options?: ISpatialMap.InsertNonOverlappingOptions<T>): this;
|
|
66
73
|
/**
|
|
67
74
|
* Returns a set of non overlapping inserts and removes that would represent a copy.
|
|
68
75
|
*
|
|
@@ -141,10 +148,6 @@ export declare namespace ISpatialMap {
|
|
|
141
148
|
interface Entry<T = any> extends RangeCoords {
|
|
142
149
|
value?: T;
|
|
143
150
|
uuid?: string;
|
|
144
|
-
/**
|
|
145
|
-
* If the entry is the results of a split or a merge.
|
|
146
|
-
*/
|
|
147
|
-
lastId?: string;
|
|
148
151
|
}
|
|
149
152
|
/**
|
|
150
153
|
* Optional interface for spatial map values that need custom behavior
|
|
@@ -330,13 +333,6 @@ export declare namespace ISpatialMap {
|
|
|
330
333
|
* Called when a group of ranges are merged together.
|
|
331
334
|
*/
|
|
332
335
|
onMerged?(onMerges: ISpatialMap.Entry<T>[]): void;
|
|
333
|
-
/**
|
|
334
|
-
* Called when a group is updated.
|
|
335
|
-
*
|
|
336
|
-
* @param entries All entries in the group.
|
|
337
|
-
* @param uuid Any params argument passed a modification option.
|
|
338
|
-
*/
|
|
339
|
-
onGroupUpdate?(entries: ISpatialMap.Entry<T>[], uuid?: string): void;
|
|
340
336
|
/**
|
|
341
337
|
* Called after structure has been updated with for any reason with all
|
|
342
338
|
* inserts and removes.
|
|
@@ -355,14 +351,42 @@ export declare namespace ISpatialMap {
|
|
|
355
351
|
*/
|
|
356
352
|
isTrailingEdge?: boolean;
|
|
357
353
|
/**
|
|
358
|
-
*
|
|
354
|
+
* Whether an insert that lands INSIDE an entry cuts it in two rather than growing it.
|
|
359
355
|
*
|
|
360
|
-
* @defaultValue `false`
|
|
356
|
+
* @defaultValue `false` - the entry expands to cover the inserted cells.
|
|
361
357
|
*
|
|
362
358
|
* @remarks
|
|
363
|
-
*
|
|
359
|
+
* Insert a column at `B` under an entry on `A1:C3`: `true` leaves `A1:A3` and `C1:D3`, `false`
|
|
360
|
+
* leaves `A1:D3`. A comment or a hyperlink is per-cell and cuts; a table grows, which is what
|
|
361
|
+
* a spreadsheet does when you insert a column inside one.
|
|
362
|
+
*
|
|
363
|
+
* Only asked of an entry that {@link isSplittable}, and only of an insert.
|
|
364
364
|
*/
|
|
365
365
|
isSplitOnExpand?: boolean;
|
|
366
|
+
/**
|
|
367
|
+
* Whether an entry may be cut into pieces at all.
|
|
368
|
+
*
|
|
369
|
+
* @defaultValue `true`
|
|
370
|
+
*
|
|
371
|
+
* @remarks
|
|
372
|
+
* A property of what the entries ARE, not of any one operation. `false` says this entry is
|
|
373
|
+
* indivisible: it moves, it grows and it dies, but it never becomes two.
|
|
374
|
+
*
|
|
375
|
+
* It decides what a PARTIAL shift does. Insert one cell at `A1`, shifting down, under an entry
|
|
376
|
+
* on `A1:C3` - only the cells in the band moved, so:
|
|
377
|
+
*
|
|
378
|
+
* * splittable, the entry fragments into the part that moved and the part that did not:
|
|
379
|
+
* `$A$2:$A$4,$B$1:$C$3`. A style, a comment, a conditional format's applies-to.
|
|
380
|
+
* * indivisible, the whole entry moves, per axis: `A2:C4`. That is what a formula precedent
|
|
381
|
+
* does, and a range listener's anchor is the same kind of thing.
|
|
382
|
+
*
|
|
383
|
+
* Both shift. The difference is only whether the entry can come apart.
|
|
384
|
+
*
|
|
385
|
+
* TODO - the shift path is the only one that asks. A partial CLEAR fragments an entry through
|
|
386
|
+
* the model's own `setCoords` without ever reaching here, so an indivisible entry is only
|
|
387
|
+
* indivisible under a shift.
|
|
388
|
+
*/
|
|
389
|
+
isSplittable?: boolean;
|
|
366
390
|
/**
|
|
367
391
|
* If `true` then after shift any shift entries will attempt to be merged to their nearest neighbors.
|
|
368
392
|
*
|
|
@@ -421,10 +445,15 @@ export declare namespace ISpatialMap {
|
|
|
421
445
|
*/
|
|
422
446
|
interface InsertNonOverlappingOptions<T> {
|
|
423
447
|
/**
|
|
424
|
-
*
|
|
448
|
+
* Decides what each piece of the insert becomes, against what was there.
|
|
425
449
|
*
|
|
426
450
|
* @remarks
|
|
427
|
-
*
|
|
451
|
+
* Called for EVERY piece the insert is cut into, not only the intersecting ones: `orig` is the
|
|
452
|
+
* entry the piece lands on, or the piece itself with a `null` value where nothing was there.
|
|
453
|
+
* `adj` is the piece with the inserted value. The returned entry is what the map keeps at
|
|
454
|
+
* that piece; a `null` value (or `null`) culls it. So a callback that keeps the existing value
|
|
455
|
+
* must supply one where there is none - `orig.value ?? adj.value` - or the insert silently
|
|
456
|
+
* lands nowhere. The default replaces the value and keeps the piece.
|
|
428
457
|
*/
|
|
429
458
|
onIntersect?: (orig: ISpatialMap.Entry<T>, adj: ISpatialMap.Entry<T>) => ISpatialMap.Entry<T>;
|
|
430
459
|
onUpdates?(inserts: ISpatialMap.Entry<T>[], removes: ISpatialMap.Entry<T>[], spatial: ISpatialMap): void;
|
|
@@ -477,12 +506,21 @@ export declare namespace ISpatialMap {
|
|
|
477
506
|
interface IConflatingEntries<T = any> {
|
|
478
507
|
/**
|
|
479
508
|
* Append a major minor value with an optional value. The value can be left empty if the value is not needed or can be derived from the major and minor.
|
|
509
|
+
*
|
|
510
|
+
* Appends are ordered. The last cell may be appended again only if the entries were made to
|
|
511
|
+
* combine its values; it then leaves the run it was conflated into.
|
|
480
512
|
*/
|
|
481
513
|
append: (major: number, minor: number, value?: T) => void;
|
|
482
514
|
/**
|
|
483
515
|
* Returns the conflated entries. If `merge` is `true` then adjacent entries will be merged into a single entry with a range that covers both entries. If `false` then each entry will be returned as-is.
|
|
484
516
|
*/
|
|
485
517
|
done: (merge?: boolean) => ISpatialMap.Entry<T>[];
|
|
518
|
+
/**
|
|
519
|
+
* The entry appended so far that covers a position, before {@link done}.
|
|
520
|
+
*
|
|
521
|
+
* @returns `undefined` if nothing was appended there.
|
|
522
|
+
*/
|
|
523
|
+
find: (major: number, minor: number) => ISpatialMap.Entry<T> | undefined;
|
|
486
524
|
}
|
|
487
525
|
}
|
|
488
526
|
export interface ISpatialQuery<T = any> {
|
|
@@ -23,6 +23,8 @@ export declare class ImmutableList<T> implements IReadableList<T> {
|
|
|
23
23
|
private _length;
|
|
24
24
|
/** Single-entry cache of the last-accessed run, to skip binary search on sequential reads. */
|
|
25
25
|
private _runCache;
|
|
26
|
+
/** See {@link getUniformRuns}. `undefined` = not looked yet, `null` = looked, there are none. */
|
|
27
|
+
private _uniform;
|
|
26
28
|
constructor(values?: T[] | IListLike<T>);
|
|
27
29
|
/**
|
|
28
30
|
* Returns the value at a given index.
|
|
@@ -42,6 +44,32 @@ export declare class ImmutableList<T> implements IReadableList<T> {
|
|
|
42
44
|
/** {@inheritDoc IReadableList.length} */
|
|
43
45
|
get length(): number;
|
|
44
46
|
[Symbol.iterator](): IterableIterator<T>;
|
|
47
|
+
/**
|
|
48
|
+
* The stretches of this list that hold ONE value throughout, as `[from, to, value]` triples in
|
|
49
|
+
* index order, or `null` when there are none.
|
|
50
|
+
*
|
|
51
|
+
* @remarks
|
|
52
|
+
* A stretch is a period-1 `RepeatingList` (`isIRepeatingList`, the house brand convention)
|
|
53
|
+
* backing the whole list or one of its slices: a run written as "this value, this many times"
|
|
54
|
+
* stays recognizable after the list has been sliced or merged with its neighbors, so a reader
|
|
55
|
+
* can act on the stretch once instead of asking `at` for every position. Anything else — an
|
|
56
|
+
* array, a cyclic repeat — is not a stretch and is read per position. Computed once and held:
|
|
57
|
+
* the list is immutable.
|
|
58
|
+
*/
|
|
59
|
+
getUniformRuns(): readonly (readonly [from: number, to: number, value: T])[] | null;
|
|
60
|
+
/**
|
|
61
|
+
* Calls `fn` for each stretch of `list` that one leaf list backs, in index order, over
|
|
62
|
+
* `[from, to]` (inclusive). In a stretch `[stretchFrom, stretchTo]`, the value at list index `i`
|
|
63
|
+
* is `leaf.at(leafFrom + i - stretchFrom)`. Anything that is not an `ImmutableList` is its own
|
|
64
|
+
* leaf.
|
|
65
|
+
*
|
|
66
|
+
* @remarks
|
|
67
|
+
* For a reader that can do better with a leaf than ask `at` of the wrapper: a typed leaf's
|
|
68
|
+
* buffer, a repeat's one value.
|
|
69
|
+
*/
|
|
70
|
+
static forEachLeaf<T>(list: IListLike<T>, fn: (leaf: IListLike<T>, leafFrom: number, stretchFrom: number, stretchTo: number) => void, from?: number, to?: number): void;
|
|
71
|
+
/** {@link forEachLeaf} over `[from, to]` of `list`, reported `shift` further on. */
|
|
72
|
+
private static _forEachLeaf;
|
|
45
73
|
/** {@inheritDoc IReadableList.isIReadableList} */
|
|
46
74
|
get isIReadableList(): true;
|
|
47
75
|
/** {@inheritDoc IList.isIList} */
|