@sheetxl/sdk 0.7.21 → 0.7.23-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD-PARTY-NOTICES.md +34 -0
- package/browser/cjs/A5-b-7zx2sEOEcvl.cjs +33 -0
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +1 -0
- package/browser/cjs/Ccctey_HrpWuagT6.cjs +1 -0
- package/browser/cjs/CniTOg7oLRZwmgyM.cjs +57 -0
- package/browser/cjs/Dv3x6zut1ZRUt3IF.cjs +10 -0
- package/browser/cjs/E1pJfQiTbMva4WCz.cjs +1 -0
- package/browser/cjs/Y8ZGOM8g4sbsbA1Y.cjs +1 -0
- package/browser/cjs/index.cjs +3 -6
- package/browser/esm/BBJT6wXyXEvBQZKA.mjs +24 -0
- package/browser/esm/Ba8ViNCurmu-pQzB.mjs +818 -0
- package/browser/esm/Cnay4yeRx2XxT4Yp.mjs +50007 -0
- package/browser/esm/CrUqWGb8XSOVpWCS.mjs +109 -0
- package/browser/esm/DIqScru4YD2CC9q7.mjs +4436 -0
- package/browser/esm/DvShgCfX0MBnppXt.mjs +503 -0
- package/browser/esm/VD1vENLIu7_1r1UY.mjs +14 -0
- package/browser/esm/index.mjs +3225 -62
- package/licenses/dependencies.txt +74 -193
- package/node/esm/AiAlZ5mkssqXTadr.mjs +22 -0
- package/node/esm/Pg7h7EA11A6iLSIA.mjs +837 -0
- package/node/esm/index.mjs +53637 -23246
- package/node/esm/k4ZdzJqmTRplKGLv.mjs +114 -0
- package/package.json +19 -14
- package/resources/contents.json +21 -0
- package/resources/locales/contents.json +19 -0
- package/resources/locales/de/grammar.json +16 -0
- package/resources/locales/de/model.msg.json +510 -0
- package/resources/locales/en/model.msg.json +525 -0
- package/types/index.d.ts +2 -21284
- package/types/scripting-enums.json +1009 -0
- package/types/scripting.d.ts +26139 -31019
- package/types/src/address/AddressUtils.d.ts +252 -0
- package/types/src/address/AddressUtils.d.ts.map +1 -0
- package/types/src/address/_AddressMessages.d.ts +7 -0
- package/types/src/address/_AddressMessages.d.ts.map +1 -0
- package/types/src/address/index.d.ts +35 -0
- package/types/src/address/index.d.ts.map +1 -0
- package/types/src/anchored/AbstractAnchored.d.ts +200 -0
- package/types/src/anchored/AbstractAnchored.d.ts.map +1 -0
- package/types/src/anchored/Anchored.d.ts +154 -0
- package/types/src/anchored/Anchored.d.ts.map +1 -0
- package/types/src/anchored/AnchoredMap.d.ts +178 -0
- package/types/src/anchored/AnchoredMap.d.ts.map +1 -0
- package/types/src/anchored/IAnchored.d.ts +118 -0
- package/types/src/anchored/IAnchored.d.ts.map +1 -0
- package/types/src/anchored/IAnchoredMap.d.ts +207 -0
- package/types/src/anchored/IAnchoredMap.d.ts.map +1 -0
- package/types/src/anchored/_AnchorMessages.d.ts +3 -0
- package/types/src/anchored/_AnchorMessages.d.ts.map +1 -0
- package/types/src/anchored/index.d.ts +2 -0
- package/types/src/anchored/index.d.ts.map +1 -0
- package/types/src/autoFill/AutoFill.d.ts +161 -0
- package/types/src/autoFill/AutoFill.d.ts.map +1 -0
- package/types/src/autoFill/IAutoFill.d.ts +117 -0
- package/types/src/autoFill/IAutoFill.d.ts.map +1 -0
- package/types/src/autoFill/index.d.ts +3 -0
- package/types/src/autoFill/index.d.ts.map +1 -0
- package/types/src/border/IBorder.d.ts +284 -0
- package/types/src/border/IBorder.d.ts.map +1 -0
- package/types/src/border/index.d.ts +2 -0
- package/types/src/border/index.d.ts.map +1 -0
- package/types/src/calculation/Calculation.d.ts +440 -0
- package/types/src/calculation/Calculation.d.ts.map +1 -0
- package/types/src/calculation/FormulaLiterals.d.ts +18 -0
- package/types/src/calculation/FormulaLiterals.d.ts.map +1 -0
- package/types/src/calculation/ICalculation.d.ts +1016 -0
- package/types/src/calculation/ICalculation.d.ts.map +1 -0
- package/types/src/calculation/INamedFormulasCollection.d.ts +141 -0
- package/types/src/calculation/INamedFormulasCollection.d.ts.map +1 -0
- package/types/src/calculation/NamedFormulaCollection.d.ts +671 -0
- package/types/src/calculation/NamedFormulaCollection.d.ts.map +1 -0
- package/types/src/calculation/TokenType.d.ts +117 -0
- package/types/src/calculation/TokenType.d.ts.map +1 -0
- package/types/src/calculation/Types.d.ts +110 -0
- package/types/src/calculation/Types.d.ts.map +1 -0
- package/types/src/calculation/_CalculationMessages.d.ts +3 -0
- package/types/src/calculation/_CalculationMessages.d.ts.map +1 -0
- package/types/src/calculation/builtInNames.d.ts +2 -0
- package/types/src/calculation/builtInNames.d.ts.map +1 -0
- package/types/src/calculation/compiler/ASTTypes.d.ts +180 -0
- package/types/src/calculation/compiler/ASTTypes.d.ts.map +1 -0
- package/types/src/calculation/compiler/CompilerLocale.d.ts +69 -0
- package/types/src/calculation/compiler/CompilerLocale.d.ts.map +1 -0
- package/types/src/calculation/compiler/CompilerUtils.d.ts +331 -0
- package/types/src/calculation/compiler/CompilerUtils.d.ts.map +1 -0
- package/types/src/calculation/compiler/FormulaCompiler.d.ts +69 -0
- package/types/src/calculation/compiler/FormulaCompiler.d.ts.map +1 -0
- package/types/src/calculation/compiler/FormulaLexer.d.ts +85 -0
- package/types/src/calculation/compiler/FormulaLexer.d.ts.map +1 -0
- package/types/src/calculation/compiler/FormulaParser.d.ts +270 -0
- package/types/src/calculation/compiler/FormulaParser.d.ts.map +1 -0
- package/types/src/calculation/compiler/FormulaSeparators.d.ts +35 -0
- package/types/src/calculation/compiler/FormulaSeparators.d.ts.map +1 -0
- package/types/src/calculation/compiler/LiteTransform.d.ts +15 -0
- package/types/src/calculation/compiler/LiteTransform.d.ts.map +1 -0
- package/types/src/calculation/compiler/ParserUtils.d.ts +167 -0
- package/types/src/calculation/compiler/ParserUtils.d.ts.map +1 -0
- package/types/src/calculation/compiler/SRLexer.d.ts +19 -0
- package/types/src/calculation/compiler/SRLexer.d.ts.map +1 -0
- package/types/src/calculation/compiler/SRParser.d.ts +38 -0
- package/types/src/calculation/compiler/SRParser.d.ts.map +1 -0
- package/types/src/calculation/compiler/Types.d.ts +274 -0
- package/types/src/calculation/compiler/Types.d.ts.map +1 -0
- package/types/src/calculation/compiler/index.d.ts +3 -0
- package/types/src/calculation/compiler/index.d.ts.map +1 -0
- package/types/src/calculation/executor/CalcExecutor.d.ts +115 -0
- package/types/src/calculation/executor/CalcExecutor.d.ts.map +1 -0
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +11 -0
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts.map +1 -0
- package/types/src/calculation/executor/index.d.ts +3 -0
- package/types/src/calculation/executor/index.d.ts.map +1 -0
- package/types/src/calculation/formula/Formula.d.ts +168 -0
- package/types/src/calculation/formula/Formula.d.ts.map +1 -0
- package/types/src/calculation/formula/FormulaBlock.d.ts +207 -0
- package/types/src/calculation/formula/FormulaBlock.d.ts.map +1 -0
- package/types/src/calculation/formula/IFormulaBlock.d.ts +181 -0
- package/types/src/calculation/formula/IFormulaBlock.d.ts.map +1 -0
- package/types/src/calculation/formula/LambdaValue.d.ts +166 -0
- package/types/src/calculation/formula/LambdaValue.d.ts.map +1 -0
- package/types/src/calculation/formula/TokenUtils.d.ts +26 -0
- package/types/src/calculation/formula/TokenUtils.d.ts.map +1 -0
- package/types/src/calculation/formula/index.d.ts +4 -0
- package/types/src/calculation/formula/index.d.ts.map +1 -0
- package/types/src/calculation/functions/Operators.d.ts +30 -0
- package/types/src/calculation/functions/Operators.d.ts.map +1 -0
- package/types/src/calculation/functions/index.d.ts +2 -0
- package/types/src/calculation/functions/index.d.ts.map +1 -0
- package/types/src/calculation/functions/initializeFunctions.d.ts +22 -0
- package/types/src/calculation/functions/initializeFunctions.d.ts.map +1 -0
- package/types/src/calculation/grid/CalcGrid.d.ts +205 -0
- package/types/src/calculation/grid/CalcGrid.d.ts.map +1 -0
- package/types/src/calculation/grid/CalcGridUtils.d.ts +172 -0
- package/types/src/calculation/grid/CalcGridUtils.d.ts.map +1 -0
- package/types/src/calculation/grid/ICalcGrid.d.ts +500 -0
- package/types/src/calculation/grid/ICalcGrid.d.ts.map +1 -0
- package/types/src/calculation/grid/index.d.ts +3 -0
- package/types/src/calculation/grid/index.d.ts.map +1 -0
- package/types/src/calculation/index.d.ts +5 -0
- package/types/src/calculation/index.d.ts.map +1 -0
- package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts +25 -0
- package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts.map +1 -0
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +120 -0
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts.map +1 -0
- package/types/src/calculation/spatial/PrecedentSpatialValue.d.ts +115 -0
- package/types/src/calculation/spatial/PrecedentSpatialValue.d.ts.map +1 -0
- package/types/src/calculation/spatial/SpillEntry.d.ts +40 -0
- package/types/src/calculation/spatial/SpillEntry.d.ts.map +1 -0
- package/types/src/calculation/spatial/index.d.ts +5 -0
- package/types/src/calculation/spatial/index.d.ts.map +1 -0
- package/types/src/calculation/state/CalcNode.d.ts +71 -0
- package/types/src/calculation/state/CalcNode.d.ts.map +1 -0
- package/types/src/calculation/state/CalcScope.d.ts +35 -0
- package/types/src/calculation/state/CalcScope.d.ts.map +1 -0
- package/types/src/calculation/state/CalcState.d.ts +28 -0
- package/types/src/calculation/state/CalcState.d.ts.map +1 -0
- package/types/src/calculation/state/CalculationContext.d.ts +125 -0
- package/types/src/calculation/state/CalculationContext.d.ts.map +1 -0
- package/types/src/calculation/state/IContextContainer.d.ts +320 -0
- package/types/src/calculation/state/IContextContainer.d.ts.map +1 -0
- package/types/src/calculation/state/index.d.ts +6 -0
- package/types/src/calculation/state/index.d.ts.map +1 -0
- package/types/src/calculation/symbol/FunctionSymbolProvider.d.ts +44 -0
- package/types/src/calculation/symbol/FunctionSymbolProvider.d.ts.map +1 -0
- package/types/src/calculation/symbol/ISymbolRegistry.d.ts +93 -0
- package/types/src/calculation/symbol/ISymbolRegistry.d.ts.map +1 -0
- package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts +144 -0
- package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts.map +1 -0
- package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +18 -0
- package/types/src/calculation/symbol/SheetSymbolProvider.d.ts.map +1 -0
- package/types/src/calculation/symbol/SymbolRegistry.d.ts +19 -0
- package/types/src/calculation/symbol/SymbolRegistry.d.ts.map +1 -0
- package/types/src/calculation/symbol/TableColumnSymbolProvider.d.ts +21 -0
- package/types/src/calculation/symbol/TableColumnSymbolProvider.d.ts.map +1 -0
- package/types/src/calculation/symbol/TableSymbolProvider.d.ts +19 -0
- package/types/src/calculation/symbol/TableSymbolProvider.d.ts.map +1 -0
- package/types/src/calculation/symbol/index.d.ts +9 -0
- package/types/src/calculation/symbol/index.d.ts.map +1 -0
- package/types/src/cell/ICell.d.ts +672 -0
- package/types/src/cell/ICell.d.ts.map +1 -0
- package/types/src/cell/ICellHeader.d.ts +142 -0
- package/types/src/cell/ICellHeader.d.ts.map +1 -0
- package/types/src/cell/ICellProtection.d.ts +41 -0
- package/types/src/cell/ICellProtection.d.ts.map +1 -0
- package/types/src/cell/index.d.ts +4 -0
- package/types/src/cell/index.d.ts.map +1 -0
- package/types/src/cellRange/ICellHeaderRange.d.ts +306 -0
- package/types/src/cellRange/ICellHeaderRange.d.ts.map +1 -0
- package/types/src/cellRange/ICellHeaderRanges.d.ts +107 -0
- package/types/src/cellRange/ICellHeaderRanges.d.ts.map +1 -0
- package/types/src/cellRange/ICellRange.d.ts +2509 -0
- package/types/src/cellRange/ICellRange.d.ts.map +1 -0
- package/types/src/cellRange/ICellRanges.d.ts +407 -0
- package/types/src/cellRange/ICellRanges.d.ts.map +1 -0
- package/types/src/cellRange/ICellRegion.d.ts +133 -0
- package/types/src/cellRange/ICellRegion.d.ts.map +1 -0
- package/types/src/cellRange/_GraphNode.d.ts +38 -0
- package/types/src/cellRange/_GraphNode.d.ts.map +1 -0
- package/types/src/cellRange/index.d.ts +6 -0
- package/types/src/cellRange/index.d.ts.map +1 -0
- package/types/src/chart/Chart.d.ts +53 -0
- package/types/src/chart/Chart.d.ts.map +1 -0
- package/types/src/chart/IChart.d.ts +42 -0
- package/types/src/chart/IChart.d.ts.map +1 -0
- package/types/src/chart/index.d.ts +5 -0
- package/types/src/chart/index.d.ts.map +1 -0
- package/types/src/collections/ArraysGrid.d.ts +72 -0
- package/types/src/collections/ArraysGrid.d.ts.map +1 -0
- package/types/src/collections/BooleanList.d.ts +67 -0
- package/types/src/collections/BooleanList.d.ts.map +1 -0
- package/types/src/collections/GridMap.d.ts +47 -0
- package/types/src/collections/GridMap.d.ts.map +1 -0
- package/types/src/collections/HashMap.d.ts +15 -0
- package/types/src/collections/HashMap.d.ts.map +1 -0
- package/types/src/collections/IGrid.d.ts +278 -0
- package/types/src/collections/IGrid.d.ts.map +1 -0
- package/types/src/collections/IList.d.ts +89 -0
- package/types/src/collections/IList.d.ts.map +1 -0
- package/types/src/collections/IMap.d.ts +45 -0
- package/types/src/collections/IMap.d.ts.map +1 -0
- package/types/src/collections/IReadableList.d.ts +120 -0
- package/types/src/collections/IReadableList.d.ts.map +1 -0
- package/types/src/collections/ISortedMap.d.ts +171 -0
- package/types/src/collections/ISortedMap.d.ts.map +1 -0
- package/types/src/collections/ISparseGrid.d.ts +61 -0
- package/types/src/collections/ISparseGrid.d.ts.map +1 -0
- package/types/src/collections/ISparseList.d.ts +103 -0
- package/types/src/collections/ISparseList.d.ts.map +1 -0
- package/types/src/collections/ISpatialMap.d.ts +515 -0
- package/types/src/collections/ISpatialMap.d.ts.map +1 -0
- package/types/src/collections/ISpatialMap3D.d.ts +116 -0
- package/types/src/collections/ISpatialMap3D.d.ts.map +1 -0
- package/types/src/collections/IWritableList.d.ts +41 -0
- package/types/src/collections/IWritableList.d.ts.map +1 -0
- package/types/src/collections/ImmutableList.d.ts +52 -0
- package/types/src/collections/ImmutableList.d.ts.map +1 -0
- package/types/src/collections/IteratorUtils.d.ts +91 -0
- package/types/src/collections/IteratorUtils.d.ts.map +1 -0
- package/types/src/collections/MixedTypedArrayList.d.ts +140 -0
- package/types/src/collections/MixedTypedArrayList.d.ts.map +1 -0
- package/types/src/collections/OverlappingRangeIterator.d.ts +91 -0
- package/types/src/collections/OverlappingRangeIterator.d.ts.map +1 -0
- package/types/src/collections/RTree.d.ts +111 -0
- package/types/src/collections/RTree.d.ts.map +1 -0
- package/types/src/collections/RepeatingList.d.ts +20 -0
- package/types/src/collections/RepeatingList.d.ts.map +1 -0
- package/types/src/collections/SortedMap.d.ts +396 -0
- package/types/src/collections/SortedMap.d.ts.map +1 -0
- package/types/src/collections/SparseGrid.d.ts +99 -0
- package/types/src/collections/SparseGrid.d.ts.map +1 -0
- package/types/src/collections/SparseList.d.ts +90 -0
- package/types/src/collections/SparseList.d.ts.map +1 -0
- package/types/src/collections/SpatialMap.d.ts +102 -0
- package/types/src/collections/SpatialMap.d.ts.map +1 -0
- package/types/src/collections/SpatialMap3D.d.ts +64 -0
- package/types/src/collections/SpatialMap3D.d.ts.map +1 -0
- package/types/src/collections/Tuple.d.ts +160 -0
- package/types/src/collections/Tuple.d.ts.map +1 -0
- package/types/src/collections/_CollectionUtils.d.ts +25 -0
- package/types/src/collections/_CollectionUtils.d.ts.map +1 -0
- package/types/src/collections/_GridUtils.d.ts +268 -0
- package/types/src/collections/_GridUtils.d.ts.map +1 -0
- package/types/src/collections/_RunUtils.d.ts +170 -0
- package/types/src/collections/_RunUtils.d.ts.map +1 -0
- package/types/src/collections/_SpatialUtils.d.ts +115 -0
- package/types/src/collections/_SpatialUtils.d.ts.map +1 -0
- package/types/src/collections/index.d.ts +21 -0
- package/types/src/collections/index.d.ts.map +1 -0
- package/types/src/color/Color.d.ts +120 -0
- package/types/src/color/Color.d.ts.map +1 -0
- package/types/src/color/ColorSpace.d.ts +45 -0
- package/types/src/color/ColorSpace.d.ts.map +1 -0
- package/types/src/color/IColor.d.ts +1110 -0
- package/types/src/color/IColor.d.ts.map +1 -0
- package/types/src/color/_BuiltInIndexDefs.d.ts +4 -0
- package/types/src/color/_BuiltInIndexDefs.d.ts.map +1 -0
- package/types/src/color/_BuiltInNamedDefs.d.ts +29 -0
- package/types/src/color/_BuiltInNamedDefs.d.ts.map +1 -0
- package/types/src/color/_BuiltInSchemeDefs.d.ts +7 -0
- package/types/src/color/_BuiltInSchemeDefs.d.ts.map +1 -0
- package/types/src/color/_ColorUtils.d.ts +93 -0
- package/types/src/color/_ColorUtils.d.ts.map +1 -0
- package/types/src/color/index.d.ts +3 -0
- package/types/src/color/index.d.ts.map +1 -0
- package/types/src/comment/IComment.d.ts +108 -0
- package/types/src/comment/IComment.d.ts.map +1 -0
- package/types/src/comment/index.d.ts +2 -0
- package/types/src/comment/index.d.ts.map +1 -0
- package/types/src/condition/AnchoredConditional.d.ts +263 -0
- package/types/src/condition/AnchoredConditional.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +83 -0
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/AfterOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/AfterOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/AndOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/AndOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/AverageOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/AverageOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/BlankOperator.d.ts +9 -0
- package/types/src/condition/BuiltInOperators/BlankOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ColorOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/ColorOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts +11 -0
- package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ErrorOperator.d.ts +9 -0
- package/types/src/condition/BuiltInOperators/ErrorOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts +17 -0
- package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/IconOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/IconOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/InSetOperator.d.ts +14 -0
- package/types/src/condition/BuiltInOperators/InSetOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/NotOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/NotOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/OrOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/OrOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +13 -0
- package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/TopNOperator.d.ts +12 -0
- package/types/src/condition/BuiltInOperators/TopNOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/UniqueOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/UniqueOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ValidEmailOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/ValidEmailOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/ValidUrlOperator.d.ts +8 -0
- package/types/src/condition/BuiltInOperators/ValidUrlOperator.d.ts.map +1 -0
- package/types/src/condition/BuiltInOperators/index.d.ts +59 -0
- package/types/src/condition/BuiltInOperators/index.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts +43 -0
- package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/DateSelector.d.ts +14 -0
- package/types/src/condition/BuiltinSelectors/DateSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/ListSelector.d.ts +12 -0
- package/types/src/condition/BuiltinSelectors/ListSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts +16 -0
- package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts +14 -0
- package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts +14 -0
- package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts.map +1 -0
- package/types/src/condition/BuiltinSelectors/index.d.ts +18 -0
- package/types/src/condition/BuiltinSelectors/index.d.ts.map +1 -0
- package/types/src/condition/Condition.d.ts +123 -0
- package/types/src/condition/Condition.d.ts.map +1 -0
- package/types/src/condition/ICondition.d.ts +915 -0
- package/types/src/condition/ICondition.d.ts.map +1 -0
- package/types/src/condition/_ConditionUtils.d.ts +190 -0
- package/types/src/condition/_ConditionUtils.d.ts.map +1 -0
- package/types/src/condition/index.d.ts +3 -0
- package/types/src/condition/index.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalEntry.d.ts +20 -0
- package/types/src/conditionalFormat/ConditionalEntry.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormat.d.ts +190 -0
- package/types/src/conditionalFormat/ConditionalFormat.d.ts.map +1 -0
- package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts +20 -0
- package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts.map +1 -0
- package/types/src/conditionalFormat/IConditionalFormat.d.ts +518 -0
- package/types/src/conditionalFormat/IConditionalFormat.d.ts.map +1 -0
- package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts +70 -0
- package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts.map +1 -0
- package/types/src/conditionalFormat/_ConditionalMessages.d.ts +2 -0
- package/types/src/conditionalFormat/_ConditionalMessages.d.ts.map +1 -0
- package/types/src/conditionalFormat/index.d.ts +3 -0
- package/types/src/conditionalFormat/index.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidation.d.ts +121 -0
- package/types/src/dataValidation/DataValidation.d.ts.map +1 -0
- package/types/src/dataValidation/DataValidationCollection.d.ts +20 -0
- package/types/src/dataValidation/DataValidationCollection.d.ts.map +1 -0
- package/types/src/dataValidation/IDataValidation.d.ts +327 -0
- package/types/src/dataValidation/IDataValidation.d.ts.map +1 -0
- package/types/src/dataValidation/IDataValidationCollection.d.ts +63 -0
- package/types/src/dataValidation/IDataValidationCollection.d.ts.map +1 -0
- package/types/src/dataValidation/_DataValidationMessages.d.ts +2 -0
- package/types/src/dataValidation/_DataValidationMessages.d.ts.map +1 -0
- package/types/src/dataValidation/_Utils.d.ts +10 -0
- package/types/src/dataValidation/_Utils.d.ts.map +1 -0
- package/types/src/dataValidation/index.d.ts +3 -0
- package/types/src/dataValidation/index.d.ts.map +1 -0
- package/types/src/date/DateUtils.d.ts +8 -0
- package/types/src/date/DateUtils.d.ts.map +1 -0
- package/types/src/date/_DateUtils.d.ts +122 -0
- package/types/src/date/_DateUtils.d.ts.map +1 -0
- package/types/src/date/index.d.ts +2 -0
- package/types/src/date/index.d.ts.map +1 -0
- package/types/src/externalBook/ExternalBookCollection.d.ts +36 -0
- package/types/src/externalBook/ExternalBookCollection.d.ts.map +1 -0
- package/types/src/externalBook/IExternalBook.d.ts +97 -0
- package/types/src/externalBook/IExternalBook.d.ts.map +1 -0
- package/types/src/externalBook/IExternalBookCollection.d.ts +29 -0
- package/types/src/externalBook/IExternalBookCollection.d.ts.map +1 -0
- package/types/src/externalBook/index.d.ts +3 -0
- package/types/src/externalBook/index.d.ts.map +1 -0
- package/types/src/fill/IEffect.d.ts +389 -0
- package/types/src/fill/IEffect.d.ts.map +1 -0
- package/types/src/fill/IFill.d.ts +597 -0
- package/types/src/fill/IFill.d.ts.map +1 -0
- package/types/src/fill/IStroke.d.ts +265 -0
- package/types/src/fill/IStroke.d.ts.map +1 -0
- package/types/src/fill/_BuiltInPatterns.d.ts +27 -0
- package/types/src/fill/_BuiltInPatterns.d.ts.map +1 -0
- package/types/src/fill/index.d.ts +4 -0
- package/types/src/fill/index.d.ts.map +1 -0
- package/types/src/filter/IFilter.d.ts +83 -0
- package/types/src/filter/IFilter.d.ts.map +1 -0
- package/types/src/filter/index.d.ts +2 -0
- package/types/src/filter/index.d.ts.map +1 -0
- package/types/src/font/CanvasFontMeasurer.d.ts +25 -0
- package/types/src/font/CanvasFontMeasurer.d.ts.map +1 -0
- package/types/src/font/ExtendedTextMetrics.d.ts +1 -0
- package/types/src/font/ExtendedTextMetrics.d.ts.map +1 -0
- package/types/src/font/Font.d.ts +19 -0
- package/types/src/font/Font.d.ts.map +1 -0
- package/types/src/font/FontKitFontMeasurer.d.ts +11 -0
- package/types/src/font/FontKitFontMeasurer.d.ts.map +1 -0
- package/types/src/font/FontUtils.d.ts +9 -0
- package/types/src/font/FontUtils.d.ts.map +1 -0
- package/types/src/font/IFont.d.ts +261 -0
- package/types/src/font/IFont.d.ts.map +1 -0
- package/types/src/font/IFontCollection.d.ts +31 -0
- package/types/src/font/IFontCollection.d.ts.map +1 -0
- package/types/src/font/SimpleFontMeasurer.d.ts +4 -0
- package/types/src/font/SimpleFontMeasurer.d.ts.map +1 -0
- package/types/src/font/_FontUtils.d.ts +22 -0
- package/types/src/font/_FontUtils.d.ts.map +1 -0
- package/types/src/font/index.d.ts +5 -0
- package/types/src/font/index.d.ts.map +1 -0
- package/types/src/history/IHistory.d.ts +110 -0
- package/types/src/history/IHistory.d.ts.map +1 -0
- package/types/src/history/index.d.ts +2 -0
- package/types/src/history/index.d.ts.map +1 -0
- package/types/src/hyperlink/IHyperlink.d.ts +96 -0
- package/types/src/hyperlink/IHyperlink.d.ts.map +1 -0
- package/types/src/hyperlink/_Hyperlink.d.ts +21 -0
- package/types/src/hyperlink/_Hyperlink.d.ts.map +1 -0
- package/types/src/hyperlink/index.d.ts +2 -0
- package/types/src/hyperlink/index.d.ts.map +1 -0
- package/types/src/i18n/LanguagePack.d.ts +97 -0
- package/types/src/i18n/LanguagePack.d.ts.map +1 -0
- package/types/src/i18n/LocaleProfile.d.ts +15 -0
- package/types/src/i18n/LocaleProfile.d.ts.map +1 -0
- package/types/src/i18n/_CurrencyData.d.ts +20 -0
- package/types/src/i18n/_CurrencyData.d.ts.map +1 -0
- package/types/src/i18n/functionLocales.d.ts +6 -0
- package/types/src/i18n/functionLocales.d.ts.map +1 -0
- package/types/src/i18n/index.d.ts +4 -0
- package/types/src/i18n/index.d.ts.map +1 -0
- package/types/src/i18n/locales.d.ts +3 -0
- package/types/src/i18n/locales.d.ts.map +1 -0
- package/types/src/index.d.ts +71 -0
- package/types/src/index.d.ts.map +1 -0
- package/types/src/io/AbstractBackingStore.d.ts +53 -0
- package/types/src/io/AbstractBackingStore.d.ts.map +1 -0
- package/types/src/io/ArrayBackingStore.d.ts +34 -0
- package/types/src/io/ArrayBackingStore.d.ts.map +1 -0
- package/types/src/io/IWorkbookIO.d.ts +1322 -0
- package/types/src/io/IWorkbookIO.d.ts.map +1 -0
- package/types/src/io/WorkbookIO.d.ts +91 -0
- package/types/src/io/WorkbookIO.d.ts.map +1 -0
- package/types/src/io/WorkbookOrigin.d.ts +114 -0
- package/types/src/io/WorkbookOrigin.d.ts.map +1 -0
- package/types/src/io/WorkbookRegistry.d.ts +49 -0
- package/types/src/io/WorkbookRegistry.d.ts.map +1 -0
- package/types/src/io/index.d.ts +5 -0
- package/types/src/io/index.d.ts.map +1 -0
- package/types/src/lib/file/file.browser.d.ts +41 -0
- package/types/src/lib/file/file.browser.d.ts.map +1 -0
- package/types/src/lib/file/file.node.d.ts +25 -0
- package/types/src/lib/file/file.node.d.ts.map +1 -0
- package/types/src/lib/utils/_Utils.d.ts +20 -0
- package/types/src/lib/utils/_Utils.d.ts.map +1 -0
- package/types/src/lib/utils/banner.d.ts +6 -0
- package/types/src/lib/utils/banner.d.ts.map +1 -0
- package/types/src/lib/utils/utils.browser.d.ts +28 -0
- package/types/src/lib/utils/utils.browser.d.ts.map +1 -0
- package/types/src/lib/utils/utils.node.d.ts +42 -0
- package/types/src/lib/utils/utils.node.d.ts.map +1 -0
- package/types/src/license/LicenseDetails.d.ts +22 -0
- package/types/src/license/LicenseDetails.d.ts.map +1 -0
- package/types/src/license/LicenseManager.d.ts +63 -0
- package/types/src/license/LicenseManager.d.ts.map +1 -0
- package/types/src/license/index.d.ts +3 -0
- package/types/src/license/index.d.ts.map +1 -0
- package/types/src/license/license-key.d.ts +33 -0
- package/types/src/license/license-key.d.ts.map +1 -0
- package/types/src/listener/IListener.d.ts +62 -0
- package/types/src/listener/IListener.d.ts.map +1 -0
- package/types/src/listener/ListenerEmitter.d.ts +47 -0
- package/types/src/listener/ListenerEmitter.d.ts.map +1 -0
- package/types/src/listener/index.d.ts +2 -0
- package/types/src/listener/index.d.ts.map +1 -0
- package/types/src/model/AbstractModel.d.ts +90 -0
- package/types/src/model/AbstractModel.d.ts.map +1 -0
- package/types/src/model/IModel.d.ts +108 -0
- package/types/src/model/IModel.d.ts.map +1 -0
- package/types/src/model/_ModelMessages.d.ts +2 -0
- package/types/src/model/_ModelMessages.d.ts.map +1 -0
- package/types/src/model/index.d.ts +3 -0
- package/types/src/model/index.d.ts.map +1 -0
- package/types/src/movable/CustomElement.d.ts +42 -0
- package/types/src/movable/CustomElement.d.ts.map +1 -0
- package/types/src/movable/ICustomElement.d.ts +29 -0
- package/types/src/movable/ICustomElement.d.ts.map +1 -0
- package/types/src/movable/IGroup.d.ts +30 -0
- package/types/src/movable/IGroup.d.ts.map +1 -0
- package/types/src/movable/IMovable.d.ts +327 -0
- package/types/src/movable/IMovable.d.ts.map +1 -0
- package/types/src/movable/IMovableCollection.d.ts +129 -0
- package/types/src/movable/IMovableCollection.d.ts.map +1 -0
- package/types/src/movable/IMovableSelection.d.ts +49 -0
- package/types/src/movable/IMovableSelection.d.ts.map +1 -0
- package/types/src/movable/Movable.d.ts +221 -0
- package/types/src/movable/Movable.d.ts.map +1 -0
- package/types/src/movable/MovableCollection.d.ts +29 -0
- package/types/src/movable/MovableCollection.d.ts.map +1 -0
- package/types/src/movable/_MovableUtils.d.ts +4 -0
- package/types/src/movable/_MovableUtils.d.ts.map +1 -0
- package/types/src/movable/index.d.ts +4 -0
- package/types/src/movable/index.d.ts.map +1 -0
- package/types/src/named/AbstractNamed.d.ts +41 -0
- package/types/src/named/AbstractNamed.d.ts.map +1 -0
- package/types/src/named/INamed.d.ts +225 -0
- package/types/src/named/INamed.d.ts.map +1 -0
- package/types/src/named/INamedCollection.d.ts +230 -0
- package/types/src/named/INamedCollection.d.ts.map +1 -0
- package/types/src/named/NamedCollection.d.ts +302 -0
- package/types/src/named/NamedCollection.d.ts.map +1 -0
- package/types/src/named/_BuiltInNamed.d.ts +6 -0
- package/types/src/named/_BuiltInNamed.d.ts.map +1 -0
- package/types/src/named/index.d.ts +3 -0
- package/types/src/named/index.d.ts.map +1 -0
- package/types/src/numFmt/BuiltInFormats.d.ts +49 -0
- package/types/src/numFmt/BuiltInFormats.d.ts.map +1 -0
- package/types/src/numFmt/IFormatEngine.d.ts +149 -0
- package/types/src/numFmt/IFormatEngine.d.ts.map +1 -0
- package/types/src/numFmt/NumberFormatBuilder.d.ts +46 -0
- package/types/src/numFmt/NumberFormatBuilder.d.ts.map +1 -0
- package/types/src/numFmt/NumberFormatParser.d.ts +168 -0
- package/types/src/numFmt/NumberFormatParser.d.ts.map +1 -0
- package/types/src/numFmt/NumberFormatStyles.d.ts +43 -0
- package/types/src/numFmt/NumberFormatStyles.d.ts.map +1 -0
- package/types/src/numFmt/NumberFormatType.d.ts +79 -0
- package/types/src/numFmt/NumberFormatType.d.ts.map +1 -0
- package/types/src/numFmt/NumfmtFormatEngine.d.ts +33 -0
- package/types/src/numFmt/NumfmtFormatEngine.d.ts.map +1 -0
- package/types/src/numFmt/_BuiltInNumberFormats.d.ts +12 -0
- package/types/src/numFmt/_BuiltInNumberFormats.d.ts.map +1 -0
- package/types/src/numFmt/_FormatCell.d.ts +52 -0
- package/types/src/numFmt/_FormatCell.d.ts.map +1 -0
- package/types/src/numFmt/_NumFmtUtils.d.ts +102 -0
- package/types/src/numFmt/_NumFmtUtils.d.ts.map +1 -0
- package/types/src/numFmt/index.d.ts +105 -0
- package/types/src/numFmt/index.d.ts.map +1 -0
- package/types/src/numFmt/vendor/numfmt/_sheetxl.d.ts +15 -0
- package/types/src/numFmt/vendor/numfmt/index.d.ts +721 -0
- package/types/src/picture/IPicture.d.ts +69 -0
- package/types/src/picture/IPicture.d.ts.map +1 -0
- package/types/src/picture/Picture.d.ts +67 -0
- package/types/src/picture/Picture.d.ts.map +1 -0
- package/types/src/picture/index.d.ts +2 -0
- package/types/src/picture/index.d.ts.map +1 -0
- package/types/src/primitives/CompositeRangeStats.d.ts +63 -0
- package/types/src/primitives/CompositeRangeStats.d.ts.map +1 -0
- package/types/src/primitives/Criteria.d.ts +35 -0
- package/types/src/primitives/Criteria.d.ts.map +1 -0
- package/types/src/primitives/FormulaContext.d.ts +2 -0
- package/types/src/primitives/FormulaContext.d.ts.map +1 -0
- package/types/src/primitives/PrimitiveUtils.d.ts +255 -0
- package/types/src/primitives/PrimitiveUtils.d.ts.map +1 -0
- package/types/src/primitives/Range.d.ts +221 -0
- package/types/src/primitives/Range.d.ts.map +1 -0
- package/types/src/primitives/RangeStats.d.ts +48 -0
- package/types/src/primitives/RangeStats.d.ts.map +1 -0
- package/types/src/primitives/ReferenceRange.d.ts +19 -0
- package/types/src/primitives/ReferenceRange.d.ts.map +1 -0
- package/types/src/primitives/Runtime.d.ts +55 -0
- package/types/src/primitives/Runtime.d.ts.map +1 -0
- package/types/src/primitives/ScalarCollation.d.ts +174 -0
- package/types/src/primitives/ScalarCollation.d.ts.map +1 -0
- package/types/src/primitives/TextFold.d.ts +62 -0
- package/types/src/primitives/TextFold.d.ts.map +1 -0
- package/types/src/primitives/_PrimitiveMessages.d.ts +3 -0
- package/types/src/primitives/_PrimitiveMessages.d.ts.map +1 -0
- package/types/src/primitives/index.d.ts +7 -0
- package/types/src/primitives/index.d.ts.map +1 -0
- package/types/src/primitives/stats/AggregateStats.d.ts +119 -0
- package/types/src/primitives/stats/AggregateStats.d.ts.map +1 -0
- package/types/src/primitives/stats/Cancellation.d.ts +43 -0
- package/types/src/primitives/stats/Cancellation.d.ts.map +1 -0
- package/types/src/primitives/stats/FrequencyStats.d.ts +94 -0
- package/types/src/primitives/stats/FrequencyStats.d.ts.map +1 -0
- package/types/src/primitives/stats/Ranked.d.ts +26 -0
- package/types/src/primitives/stats/Ranked.d.ts.map +1 -0
- package/types/src/primitives/stats/ScalarOrder.d.ts +18 -0
- package/types/src/primitives/stats/ScalarOrder.d.ts.map +1 -0
- package/types/src/primitives/stats/SortedNumbers.d.ts +48 -0
- package/types/src/primitives/stats/SortedNumbers.d.ts.map +1 -0
- package/types/src/primitives/stats/index.d.ts +7 -0
- package/types/src/primitives/stats/index.d.ts.map +1 -0
- package/types/src/print/IPrint.d.ts +234 -0
- package/types/src/print/IPrint.d.ts.map +1 -0
- package/types/src/print/index.d.ts +2 -0
- package/types/src/print/index.d.ts.map +1 -0
- package/types/src/protectedRange/IProtectedRange.d.ts +239 -0
- package/types/src/protectedRange/IProtectedRange.d.ts.map +1 -0
- package/types/src/protectedRange/IProtectedRangeCollection.d.ts +73 -0
- package/types/src/protectedRange/IProtectedRangeCollection.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRange.d.ts +101 -0
- package/types/src/protectedRange/ProtectedRange.d.ts.map +1 -0
- package/types/src/protectedRange/ProtectedRangeCollection.d.ts +21 -0
- package/types/src/protectedRange/ProtectedRangeCollection.d.ts.map +1 -0
- package/types/src/protectedRange/index.d.ts +3 -0
- package/types/src/protectedRange/index.d.ts.map +1 -0
- package/types/src/protection/DefaultProtection.d.ts +43 -0
- package/types/src/protection/DefaultProtection.d.ts.map +1 -0
- package/types/src/protection/IProtection.d.ts +170 -0
- package/types/src/protection/IProtection.d.ts.map +1 -0
- package/types/src/protection/PasswordHasher.d.ts +35 -0
- package/types/src/protection/PasswordHasher.d.ts.map +1 -0
- package/types/src/protection/index.d.ts +6 -0
- package/types/src/protection/index.d.ts.map +1 -0
- package/types/src/resource/IResource.d.ts +98 -0
- package/types/src/resource/IResource.d.ts.map +1 -0
- package/types/src/resource/IResourceCollection.d.ts +96 -0
- package/types/src/resource/IResourceCollection.d.ts.map +1 -0
- package/types/src/resource/Resource.d.ts +39 -0
- package/types/src/resource/Resource.d.ts.map +1 -0
- package/types/src/resource/ResourceCollection.d.ts +19 -0
- package/types/src/resource/ResourceCollection.d.ts.map +1 -0
- package/types/src/resource/_ResourceMessages.d.ts +4 -0
- package/types/src/resource/_ResourceMessages.d.ts.map +1 -0
- package/types/src/resource/index.d.ts +5 -0
- package/types/src/resource/index.d.ts.map +1 -0
- package/types/src/resource/resourceKinds.d.ts +23 -0
- package/types/src/resource/resourceKinds.d.ts.map +1 -0
- package/types/src/richData/index.d.ts +1 -0
- package/types/src/richData/index.d.ts.map +1 -0
- package/types/src/scripting/FunctionCollection.d.ts +88 -0
- package/types/src/scripting/FunctionCollection.d.ts.map +1 -0
- package/types/src/scripting/IFunctionCollection.d.ts +208 -0
- package/types/src/scripting/IFunctionCollection.d.ts.map +1 -0
- package/types/src/scripting/IModule.d.ts +82 -0
- package/types/src/scripting/IModule.d.ts.map +1 -0
- package/types/src/scripting/IModuleCollection.d.ts +79 -0
- package/types/src/scripting/IModuleCollection.d.ts.map +1 -0
- package/types/src/scripting/IScript.d.ts +289 -0
- package/types/src/scripting/IScript.d.ts.map +1 -0
- package/types/src/scripting/ITypedFunction.d.ts +61 -0
- package/types/src/scripting/ITypedFunction.d.ts.map +1 -0
- package/types/src/scripting/MacroFunction.d.ts +15 -0
- package/types/src/scripting/MacroFunction.d.ts.map +1 -0
- package/types/src/scripting/Module.d.ts +39 -0
- package/types/src/scripting/Module.d.ts.map +1 -0
- package/types/src/scripting/ModuleCollection.d.ts +56 -0
- package/types/src/scripting/ModuleCollection.d.ts.map +1 -0
- package/types/src/scripting/Runtime.d.ts +16 -0
- package/types/src/scripting/Runtime.d.ts.map +1 -0
- package/types/src/scripting/Scripts.d.ts +79 -0
- package/types/src/scripting/Scripts.d.ts.map +1 -0
- package/types/src/scripting/TypedFunction.d.ts +161 -0
- package/types/src/scripting/TypedFunction.d.ts.map +1 -0
- package/types/src/scripting/_FunctionIndex.d.ts +111 -0
- package/types/src/scripting/_FunctionIndex.d.ts.map +1 -0
- package/types/src/scripting/_FunctionMessages.d.ts +6 -0
- package/types/src/scripting/_FunctionMessages.d.ts.map +1 -0
- package/types/src/scripting/_ModuleUtils.d.ts +5 -0
- package/types/src/scripting/_ModuleUtils.d.ts.map +1 -0
- package/types/src/scripting/_ScriptUtils.d.ts +18 -0
- package/types/src/scripting/_ScriptUtils.d.ts.map +1 -0
- package/types/src/scripting/enumManifest.browser.d.ts +9 -0
- package/types/src/scripting/enumManifest.browser.d.ts.map +1 -0
- package/types/src/scripting/enumManifest.node.d.ts +13 -0
- package/types/src/scripting/enumManifest.node.d.ts.map +1 -0
- package/types/src/scripting/index.d.ts +4 -0
- package/types/src/scripting/index.d.ts.map +1 -0
- package/types/src/selection/IRangeSelection.d.ts +307 -0
- package/types/src/selection/IRangeSelection.d.ts.map +1 -0
- package/types/src/selection/RangeSelection.d.ts +144 -0
- package/types/src/selection/RangeSelection.d.ts.map +1 -0
- package/types/src/selection/_RangeSelectionUtils.d.ts +32 -0
- package/types/src/selection/_RangeSelectionUtils.d.ts.map +1 -0
- package/types/src/selection/index.d.ts +2 -0
- package/types/src/selection/index.d.ts.map +1 -0
- package/types/src/shape/IShape.d.ts +279 -0
- package/types/src/shape/IShape.d.ts.map +1 -0
- package/types/src/shape/Shape.d.ts +54 -0
- package/types/src/shape/Shape.d.ts.map +1 -0
- package/types/src/shape/index.d.ts +2 -0
- package/types/src/shape/index.d.ts.map +1 -0
- package/types/src/sheet/CellRegion.d.ts +106 -0
- package/types/src/sheet/CellRegion.d.ts.map +1 -0
- package/types/src/sheet/ICellContainerOptions.d.ts +97 -0
- package/types/src/sheet/ICellContainerOptions.d.ts.map +1 -0
- package/types/src/sheet/ISheet.d.ts +1074 -0
- package/types/src/sheet/ISheet.d.ts.map +1 -0
- package/types/src/sheet/ISheetCollection.d.ts +70 -0
- package/types/src/sheet/ISheetCollection.d.ts.map +1 -0
- package/types/src/sheet/NamedCellRange.d.ts +45 -0
- package/types/src/sheet/NamedCellRange.d.ts.map +1 -0
- package/types/src/sheet/NamedRange.d.ts +30 -0
- package/types/src/sheet/NamedRange.d.ts.map +1 -0
- package/types/src/sheet/Sheet.d.ts +1068 -0
- package/types/src/sheet/Sheet.d.ts.map +1 -0
- package/types/src/sheet/SheetCell.d.ts +335 -0
- package/types/src/sheet/SheetCell.d.ts.map +1 -0
- package/types/src/sheet/SheetCollection.d.ts +18 -0
- package/types/src/sheet/SheetCollection.d.ts.map +1 -0
- package/types/src/sheet/SheetRange.d.ts +362 -0
- package/types/src/sheet/SheetRange.d.ts.map +1 -0
- package/types/src/sheet/SheetRanges.d.ts +225 -0
- package/types/src/sheet/SheetRanges.d.ts.map +1 -0
- package/types/src/sheet/_CopyUtils.d.ts +33 -0
- package/types/src/sheet/_CopyUtils.d.ts.map +1 -0
- package/types/src/sheet/_InvalidSheetRange.d.ts +70 -0
- package/types/src/sheet/_InvalidSheetRange.d.ts.map +1 -0
- package/types/src/sheet/_SheetAutoFitUtils.d.ts +18 -0
- package/types/src/sheet/_SheetAutoFitUtils.d.ts.map +1 -0
- package/types/src/sheet/_SheetCoords.d.ts +54 -0
- package/types/src/sheet/_SheetCoords.d.ts.map +1 -0
- package/types/src/sheet/_SheetFilterUtils.d.ts +9 -0
- package/types/src/sheet/_SheetFilterUtils.d.ts.map +1 -0
- package/types/src/sheet/_SheetMessages.d.ts +11 -0
- package/types/src/sheet/_SheetMessages.d.ts.map +1 -0
- package/types/src/sheet/_SheetMutations.d.ts +137 -0
- package/types/src/sheet/_SheetMutations.d.ts.map +1 -0
- package/types/src/sheet/_SheetSortUtils.d.ts +9 -0
- package/types/src/sheet/_SheetSortUtils.d.ts.map +1 -0
- package/types/src/sheet/_SheetStateReader.d.ts +161 -0
- package/types/src/sheet/_SheetStateReader.d.ts.map +1 -0
- package/types/src/sheet/_SheetStateTypes.d.ts +446 -0
- package/types/src/sheet/_SheetStateTypes.d.ts.map +1 -0
- package/types/src/sheet/_SheetUtils.d.ts +265 -0
- package/types/src/sheet/_SheetUtils.d.ts.map +1 -0
- package/types/src/sheet/clipboard/IHTMLParser.d.ts +92 -0
- package/types/src/sheet/clipboard/IHTMLParser.d.ts.map +1 -0
- package/types/src/sheet/clipboard/RangeClipboardItems.d.ts +55 -0
- package/types/src/sheet/clipboard/RangeClipboardItems.d.ts.map +1 -0
- package/types/src/sheet/clipboard/SheetHTMLTableParser.d.ts +29 -0
- package/types/src/sheet/clipboard/SheetHTMLTableParser.d.ts.map +1 -0
- package/types/src/sheet/clipboard/SheetHTMLTableWriter.d.ts +46 -0
- package/types/src/sheet/clipboard/SheetHTMLTableWriter.d.ts.map +1 -0
- package/types/src/sheet/clipboard/_ClipboardUtils.d.ts +10 -0
- package/types/src/sheet/clipboard/_ClipboardUtils.d.ts.map +1 -0
- package/types/src/sheet/clipboard/index.d.ts +2 -0
- package/types/src/sheet/clipboard/index.d.ts.map +1 -0
- package/types/src/sheet/index.d.ts +6 -0
- package/types/src/sheet/index.d.ts.map +1 -0
- package/types/src/sheet/listener/RangesListener.d.ts +32 -0
- package/types/src/sheet/listener/RangesListener.d.ts.map +1 -0
- package/types/src/sheet/listener/RangesListenerEntry.d.ts +19 -0
- package/types/src/sheet/listener/RangesListenerEntry.d.ts.map +1 -0
- package/types/src/sheet/listener/index.d.ts +3 -0
- package/types/src/sheet/listener/index.d.ts.map +1 -0
- package/types/src/sheet/spatial/MergeEntry.d.ts +17 -0
- package/types/src/sheet/spatial/MergeEntry.d.ts.map +1 -0
- package/types/src/sheet/spatial/index.d.ts +2 -0
- package/types/src/sheet/spatial/index.d.ts.map +1 -0
- package/types/src/sheet/style/SheetCellStyle.d.ts +540 -0
- package/types/src/sheet/style/SheetCellStyle.d.ts.map +1 -0
- package/types/src/sheet/style/SheetDirectStyle.d.ts +130 -0
- package/types/src/sheet/style/SheetDirectStyle.d.ts.map +1 -0
- package/types/src/sheet/style/SheetNamedStyle.d.ts +47 -0
- package/types/src/sheet/style/SheetNamedStyle.d.ts.map +1 -0
- package/types/src/sheet/style/SheetTableStyle.d.ts +47 -0
- package/types/src/sheet/style/SheetTableStyle.d.ts.map +1 -0
- package/types/src/sheet/style/UsedRangeSpatialMap.d.ts +80 -0
- package/types/src/sheet/style/UsedRangeSpatialMap.d.ts.map +1 -0
- package/types/src/sheet/style/_Resolvers.d.ts +41 -0
- package/types/src/sheet/style/_Resolvers.d.ts.map +1 -0
- package/types/src/sheet/style/_StyleUtils.d.ts +69 -0
- package/types/src/sheet/style/_StyleUtils.d.ts.map +1 -0
- package/types/src/sheet/style/index.d.ts +1 -0
- package/types/src/sheet/style/index.d.ts.map +1 -0
- package/types/src/sheetHeader/ISheetHeader.d.ts +217 -0
- package/types/src/sheetHeader/ISheetHeader.d.ts.map +1 -0
- package/types/src/sheetHeader/SheetCellHeader.d.ts +61 -0
- package/types/src/sheetHeader/SheetCellHeader.d.ts.map +1 -0
- package/types/src/sheetHeader/SheetCellHeaderRange.d.ts +54 -0
- package/types/src/sheetHeader/SheetCellHeaderRange.d.ts.map +1 -0
- package/types/src/sheetHeader/SheetCellHeaderRanges.d.ts +46 -0
- package/types/src/sheetHeader/SheetCellHeaderRanges.d.ts.map +1 -0
- package/types/src/sheetHeader/SheetHeader.d.ts +257 -0
- package/types/src/sheetHeader/SheetHeader.d.ts.map +1 -0
- package/types/src/sheetHeader/_HeaderUtils.d.ts +94 -0
- package/types/src/sheetHeader/_HeaderUtils.d.ts.map +1 -0
- package/types/src/sheetHeader/_InvalidSheetHeaderRange.d.ts +7 -0
- package/types/src/sheetHeader/_InvalidSheetHeaderRange.d.ts.map +1 -0
- package/types/src/sheetHeader/index.d.ts +2 -0
- package/types/src/sheetHeader/index.d.ts.map +1 -0
- package/types/src/sheetProtection/ISheetProtection.d.ts +150 -0
- package/types/src/sheetProtection/ISheetProtection.d.ts.map +1 -0
- package/types/src/sheetProtection/SheetProtection.d.ts +39 -0
- package/types/src/sheetProtection/SheetProtection.d.ts.map +1 -0
- package/types/src/sheetProtection/index.d.ts +2 -0
- package/types/src/sheetProtection/index.d.ts.map +1 -0
- package/types/src/sheetView/ISheetView.d.ts +439 -0
- package/types/src/sheetView/ISheetView.d.ts.map +1 -0
- package/types/src/sheetView/SheetView.d.ts +113 -0
- package/types/src/sheetView/SheetView.d.ts.map +1 -0
- package/types/src/sheetView/_SheetViewUtils.d.ts +19 -0
- package/types/src/sheetView/_SheetViewUtils.d.ts.map +1 -0
- package/types/src/sheetView/index.d.ts +2 -0
- package/types/src/sheetView/index.d.ts.map +1 -0
- package/types/src/slicer/ISlicer.d.ts +38 -0
- package/types/src/slicer/ISlicer.d.ts.map +1 -0
- package/types/src/slicer/Slicer.d.ts +41 -0
- package/types/src/slicer/Slicer.d.ts.map +1 -0
- package/types/src/slicer/index.d.ts +2 -0
- package/types/src/slicer/index.d.ts.map +1 -0
- package/types/src/sort/ISort.d.ts +318 -0
- package/types/src/sort/ISort.d.ts.map +1 -0
- package/types/src/sort/Sort.d.ts +48 -0
- package/types/src/sort/Sort.d.ts.map +1 -0
- package/types/src/sort/_SortUtils.d.ts +12 -0
- package/types/src/sort/_SortUtils.d.ts.map +1 -0
- package/types/src/sort/index.d.ts +3 -0
- package/types/src/sort/index.d.ts.map +1 -0
- package/types/src/string/IStringCollection.d.ts +50 -0
- package/types/src/string/IStringCollection.d.ts.map +1 -0
- package/types/src/string/StringCollection.d.ts +26 -0
- package/types/src/string/StringCollection.d.ts.map +1 -0
- package/types/src/string/index.d.ts +3 -0
- package/types/src/string/index.d.ts.map +1 -0
- package/types/src/style/IStyle.d.ts +485 -0
- package/types/src/style/IStyle.d.ts.map +1 -0
- package/types/src/style/IStyleCollection.d.ts +292 -0
- package/types/src/style/IStyleCollection.d.ts.map +1 -0
- package/types/src/style/StyleCollection.d.ts +125 -0
- package/types/src/style/StyleCollection.d.ts.map +1 -0
- package/types/src/style/_BuiltInStyleDefs.d.ts +18 -0
- package/types/src/style/_BuiltInStyleDefs.d.ts.map +1 -0
- package/types/src/style/_BuiltInStyleNames.d.ts +20 -0
- package/types/src/style/_BuiltInStyleNames.d.ts.map +1 -0
- package/types/src/style/index.d.ts +5 -0
- package/types/src/style/index.d.ts.map +1 -0
- package/types/src/table/AnchoredTable.d.ts +349 -0
- package/types/src/table/AnchoredTable.d.ts.map +1 -0
- package/types/src/table/AutoTable.d.ts +64 -0
- package/types/src/table/AutoTable.d.ts.map +1 -0
- package/types/src/table/ITable.d.ts +714 -0
- package/types/src/table/ITable.d.ts.map +1 -0
- package/types/src/table/ITableCollection.d.ts +88 -0
- package/types/src/table/ITableCollection.d.ts.map +1 -0
- package/types/src/table/ITableStyle.d.ts +318 -0
- package/types/src/table/ITableStyle.d.ts.map +1 -0
- package/types/src/table/Table.d.ts +8 -0
- package/types/src/table/Table.d.ts.map +1 -0
- package/types/src/table/TableCollection.d.ts +20 -0
- package/types/src/table/TableCollection.d.ts.map +1 -0
- package/types/src/table/_AutoTableColumn.d.ts +27 -0
- package/types/src/table/_AutoTableColumn.d.ts.map +1 -0
- package/types/src/table/_BuiltInTableStyles.d.ts +9 -0
- package/types/src/table/_BuiltInTableStyles.d.ts.map +1 -0
- package/types/src/table/_FilterField.d.ts +30 -0
- package/types/src/table/_FilterField.d.ts.map +1 -0
- package/types/src/table/_NamedTable.d.ts +84 -0
- package/types/src/table/_NamedTable.d.ts.map +1 -0
- package/types/src/table/_NamedTableSource.d.ts +57 -0
- package/types/src/table/_NamedTableSource.d.ts.map +1 -0
- package/types/src/table/_SortField.d.ts +29 -0
- package/types/src/table/_SortField.d.ts.map +1 -0
- package/types/src/table/_TableColumn.d.ts +51 -0
- package/types/src/table/_TableColumn.d.ts.map +1 -0
- package/types/src/table/_TableMessages.d.ts +5 -0
- package/types/src/table/_TableMessages.d.ts.map +1 -0
- package/types/src/table/_TableUtils.d.ts +94 -0
- package/types/src/table/_TableUtils.d.ts.map +1 -0
- package/types/src/table/index.d.ts +5 -0
- package/types/src/table/index.d.ts.map +1 -0
- package/types/src/text/AutoNumberingScheme.d.ts +175 -0
- package/types/src/text/AutoNumberingScheme.d.ts.map +1 -0
- package/types/src/text/Bullet.d.ts +34 -0
- package/types/src/text/Bullet.d.ts.map +1 -0
- package/types/src/text/IText.d.ts +53 -0
- package/types/src/text/IText.d.ts.map +1 -0
- package/types/src/text/ITextFrame.d.ts +313 -0
- package/types/src/text/ITextFrame.d.ts.map +1 -0
- package/types/src/text/TextBoxAlignment.d.ts +141 -0
- package/types/src/text/TextBoxAlignment.d.ts.map +1 -0
- package/types/src/text/TextFrame.d.ts +43 -0
- package/types/src/text/TextFrame.d.ts.map +1 -0
- package/types/src/text/TextLine.d.ts +24 -0
- package/types/src/text/TextLine.d.ts.map +1 -0
- package/types/src/text/TextParagraph.d.ts +61 -0
- package/types/src/text/TextParagraph.d.ts.map +1 -0
- package/types/src/text/TextRotation.d.ts +106 -0
- package/types/src/text/TextRotation.d.ts.map +1 -0
- package/types/src/text/TextRun.d.ts +85 -0
- package/types/src/text/TextRun.d.ts.map +1 -0
- package/types/src/text/TextUtils.d.ts +165 -0
- package/types/src/text/TextUtils.d.ts.map +1 -0
- package/types/src/text/TextVisitor.d.ts +11 -0
- package/types/src/text/TextVisitor.d.ts.map +1 -0
- package/types/src/text/TextWrapper.d.ts +78 -0
- package/types/src/text/TextWrapper.d.ts.map +1 -0
- package/types/src/text/_TextUtils.d.ts +90 -0
- package/types/src/text/_TextUtils.d.ts.map +1 -0
- package/types/src/text/impl/Phrase.d.ts +3 -0
- package/types/src/text/impl/Phrase.d.ts.map +1 -0
- package/types/src/text/impl/TabStrategy.d.ts +9 -0
- package/types/src/text/impl/TabStrategy.d.ts.map +1 -0
- package/types/src/text/impl/WordWrapUtils.d.ts +6 -0
- package/types/src/text/impl/WordWrapUtils.d.ts.map +1 -0
- package/types/src/text/index.d.ts +7 -0
- package/types/src/text/index.d.ts.map +1 -0
- package/types/src/text/richtext/IStyledFont.d.ts +330 -0
- package/types/src/text/richtext/IStyledFont.d.ts.map +1 -0
- package/types/src/text/richtext/index.d.ts +2 -0
- package/types/src/text/richtext/index.d.ts.map +1 -0
- package/types/src/theme/ITheme.d.ts +252 -0
- package/types/src/theme/ITheme.d.ts.map +1 -0
- package/types/src/theme/IThemeCollection.d.ts +84 -0
- package/types/src/theme/IThemeCollection.d.ts.map +1 -0
- package/types/src/theme/ThemeCollection.d.ts +62 -0
- package/types/src/theme/ThemeCollection.d.ts.map +1 -0
- package/types/src/theme/_BuiltInColorSchemes.d.ts +3 -0
- package/types/src/theme/_BuiltInColorSchemes.d.ts.map +1 -0
- package/types/src/theme/_BuiltInFontSchemes.d.ts +3 -0
- package/types/src/theme/_BuiltInFontSchemes.d.ts.map +1 -0
- package/types/src/theme/_BuiltInThemeDefs.d.ts +3 -0
- package/types/src/theme/_BuiltInThemeDefs.d.ts.map +1 -0
- package/types/src/theme/_ThemeMessages.d.ts +3 -0
- package/types/src/theme/_ThemeMessages.d.ts.map +1 -0
- package/types/src/theme/_ThemeUtils.d.ts +3 -0
- package/types/src/theme/_ThemeUtils.d.ts.map +1 -0
- package/types/src/theme/index.d.ts +4 -0
- package/types/src/theme/index.d.ts.map +1 -0
- package/types/src/transaction/ITransaction.d.ts +594 -0
- package/types/src/transaction/ITransaction.d.ts.map +1 -0
- package/types/src/transaction/Transaction.d.ts +184 -0
- package/types/src/transaction/Transaction.d.ts.map +1 -0
- package/types/src/transaction/TransactionSaveStateManager.d.ts +85 -0
- package/types/src/transaction/TransactionSaveStateManager.d.ts.map +1 -0
- package/types/src/transaction/TransactionUndoManager.d.ts +60 -0
- package/types/src/transaction/TransactionUndoManager.d.ts.map +1 -0
- package/types/src/transaction/index.d.ts +5 -0
- package/types/src/transaction/index.d.ts.map +1 -0
- package/types/src/type/ICollection.d.ts +110 -0
- package/types/src/type/ICollection.d.ts.map +1 -0
- package/types/src/type/IProperties.d.ts +51 -0
- package/types/src/type/IProperties.d.ts.map +1 -0
- package/types/src/type/ITypes.d.ts +69 -0
- package/types/src/type/ITypes.d.ts.map +1 -0
- package/types/src/type/Registry.d.ts +66 -0
- package/types/src/type/Registry.d.ts.map +1 -0
- package/types/src/type/index.d.ts +5 -0
- package/types/src/type/index.d.ts.map +1 -0
- package/types/src/utils/GeomUtils.d.ts +61 -0
- package/types/src/utils/GeomUtils.d.ts.map +1 -0
- package/types/src/utils/ObjectPath.d.ts +9 -0
- package/types/src/utils/ObjectPath.d.ts.map +1 -0
- package/types/src/utils/Profiler.d.ts +38 -0
- package/types/src/utils/Profiler.d.ts.map +1 -0
- package/types/src/utils/_CSSUtils.d.ts +156 -0
- package/types/src/utils/_CSSUtils.d.ts.map +1 -0
- package/types/src/utils/_GeomUtils.d.ts +14 -0
- package/types/src/utils/_GeomUtils.d.ts.map +1 -0
- package/types/src/utils/_RangeCoordUtils.d.ts +84 -0
- package/types/src/utils/_RangeCoordUtils.d.ts.map +1 -0
- package/types/src/utils/_RangeSetUtils.d.ts +55 -0
- package/types/src/utils/_RangeSetUtils.d.ts.map +1 -0
- package/types/src/utils/index.d.ts +2 -0
- package/types/src/utils/index.d.ts.map +1 -0
- package/types/src/workbook/IWorkbook.d.ts +711 -0
- package/types/src/workbook/IWorkbook.d.ts.map +1 -0
- package/types/src/workbook/Workbook.d.ts +342 -0
- package/types/src/workbook/Workbook.d.ts.map +1 -0
- package/types/src/workbook/WorkbookRange.d.ts +25 -0
- package/types/src/workbook/WorkbookRange.d.ts.map +1 -0
- package/types/src/workbook/WorkbookRanges.d.ts +39 -0
- package/types/src/workbook/WorkbookRanges.d.ts.map +1 -0
- package/types/src/workbook/_WorkbookMessages.d.ts +8 -0
- package/types/src/workbook/_WorkbookMessages.d.ts.map +1 -0
- package/types/src/workbook/_WorkbookUtils.d.ts +35 -0
- package/types/src/workbook/_WorkbookUtils.d.ts.map +1 -0
- package/types/src/workbook/index.d.ts +3 -0
- package/types/src/workbook/index.d.ts.map +1 -0
- package/types/src/workbookProtection/IWorkbookProtection.d.ts +57 -0
- package/types/src/workbookProtection/IWorkbookProtection.d.ts.map +1 -0
- package/types/src/workbookProtection/WorkbookProtection.d.ts +14 -0
- package/types/src/workbookProtection/WorkbookProtection.d.ts.map +1 -0
- package/types/src/workbookProtection/index.d.ts +2 -0
- package/types/src/workbookProtection/index.d.ts.map +1 -0
- package/types/src/workbookView/IWorkbookView.d.ts +134 -0
- package/types/src/workbookView/IWorkbookView.d.ts.map +1 -0
- package/types/src/workbookView/WorkbookView.d.ts +49 -0
- package/types/src/workbookView/WorkbookView.d.ts.map +1 -0
- package/types/src/workbookView/index.d.ts +3 -0
- package/types/src/workbookView/index.d.ts.map +1 -0
- package/browser/cjs/B1wkCHMcDuFkMcC_.cjs +0 -6
- package/browser/cjs/B6GPcN051NmcYcIT.cjs +0 -124
- package/browser/cjs/BLBAZ-Bmj0EAhunn.cjs +0 -6
- package/browser/cjs/BP8dBZEDNeacQUNp.cjs +0 -7
- package/browser/cjs/BhNultME1o9xbmcX.cjs +0 -15
- package/browser/cjs/Bm_Mc6TDFCZ1OJNj.cjs +0 -6
- package/browser/cjs/Bo1CE3hgxUD5DGqu.cjs +0 -6
- package/browser/cjs/Btp8A0kzb6cHSEMD.cjs +0 -6
- package/browser/cjs/BvS2Hclafqxj6DCP.cjs +0 -6
- package/browser/cjs/CASsDxt2bA8JHiEW.cjs +0 -6
- package/browser/cjs/CI7HTC82ehwZZ7G9.cjs +0 -55
- package/browser/cjs/CNw4tHphpF3kplDH.cjs +0 -6
- package/browser/cjs/CO7SAK1ru6qnh7fr.cjs +0 -6
- package/browser/cjs/CdLUUmZCUY5uWnq5.cjs +0 -6
- package/browser/cjs/Cegi9isUAUZKUYFl.cjs +0 -6
- package/browser/cjs/CnlnOI_NWWeETB4i.cjs +0 -6
- package/browser/cjs/CphmaCdyCfgLRsS0.cjs +0 -6
- package/browser/cjs/D0Qme7PcsKfdtShi.cjs +0 -6
- package/browser/cjs/D74bWkyzhU8E2TDh.cjs +0 -6
- package/browser/cjs/DFQA35q7KQ-zS2eo.cjs +0 -6
- package/browser/cjs/DK27kwlwz0N4_IpD.cjs +0 -6
- package/browser/cjs/DMfUZBX5dMS-QcFB.cjs +0 -6
- package/browser/cjs/DTrbxLKRbIsj3mPI.cjs +0 -6
- package/browser/cjs/DUbyVNEdEpgkjI-U.cjs +0 -6
- package/browser/cjs/DUiZ8WcVcUyjfILT.cjs +0 -6
- package/browser/cjs/DzZ_6y4OF7HzFZLT.cjs +0 -6
- package/browser/cjs/vQgVD2EniUvkeXnq.cjs +0 -6
- package/browser/esm/B8depZMfw4f8vJ6H.mjs +0 -10
- package/browser/esm/B9z2sURkI9ThbLxE.mjs +0 -10
- package/browser/esm/BDSqdyFcw4FRrODg.mjs +0 -23823
- package/browser/esm/BLoU0uz84A8fWYom.mjs +0 -10
- package/browser/esm/BgKy-xWSJeSV_EyO.mjs +0 -10
- package/browser/esm/Bi2_8iLEY_M-v_34.mjs +0 -10
- package/browser/esm/Bzs_r45vqhZAtTZK.mjs +0 -10
- package/browser/esm/C39Yfk__mPOF8auo.mjs +0 -10
- package/browser/esm/C4EnSMaP8fTEJmhu.mjs +0 -10
- package/browser/esm/CWj2Ts01muSR6zp-.mjs +0 -12
- package/browser/esm/Cd2b3Z4DxOR0M3qa.mjs +0 -4022
- package/browser/esm/Cg7YNnt2uhmFG_3d.mjs +0 -10
- package/browser/esm/CkU9J_RtpNfpxh0y.mjs +0 -10
- package/browser/esm/D0Mb17_7UFEFNmkU.mjs +0 -426
- package/browser/esm/D6VvBNUOfq8QUBY5.mjs +0 -10
- package/browser/esm/DE0iHIHhP7sczC_y.mjs +0 -10
- package/browser/esm/DORXFXgRUsjkR1kA.mjs +0 -10
- package/browser/esm/DTPLUnlOvF2feqR4.mjs +0 -10
- package/browser/esm/DTzUiMAnLD_Zuf0f.mjs +0 -10
- package/browser/esm/D_lQo-PErOoj-8tN.mjs +0 -10
- package/browser/esm/DbK0GAKpj9hwwFwY.mjs +0 -10
- package/browser/esm/DflesN5VzS43jsHK.mjs +0 -5653
- package/browser/esm/DoMqoQP6F7OPue_g.mjs +0 -10
- package/browser/esm/DrIkV6ixO7gbuv7Q.mjs +0 -10
- package/browser/esm/mxYovIi79sCzcZtQ.mjs +0 -10
- package/browser/esm/oRsIla0R_H7slM9k.mjs +0 -10
- package/browser/esm/u5XTTNCFdsbCZ-ud.mjs +0 -10
- package/node/esm/3vOMW8PI4UI73pTa.mjs +0 -10
- package/node/esm/B9z2sURkI9ThbLxE.mjs +0 -10
- package/node/esm/BE2XMKirjoBI9zkt.mjs +0 -1072
- package/node/esm/BL_7m0SH43tASZc8.mjs +0 -10
- package/node/esm/BLoU0uz84A8fWYom.mjs +0 -10
- package/node/esm/BNoPG6CBaybfp_G7.mjs +0 -10
- package/node/esm/BgKy-xWSJeSV_EyO.mjs +0 -10
- package/node/esm/Bi2_8iLEY_M-v_34.mjs +0 -10
- package/node/esm/C4EnSMaP8fTEJmhu.mjs +0 -10
- package/node/esm/CS080xy3HgmgAFgx.mjs +0 -10
- package/node/esm/Cg7YNnt2uhmFG_3d.mjs +0 -10
- package/node/esm/D6VvBNUOfq8QUBY5.mjs +0 -10
- package/node/esm/D7cm1_99nK7c_-6L.mjs +0 -13
- package/node/esm/DE0iHIHhP7sczC_y.mjs +0 -10
- package/node/esm/DElHitSTYjDdkUx1.mjs +0 -10
- package/node/esm/DORXFXgRUsjkR1kA.mjs +0 -10
- package/node/esm/DP7a0Jrz8vTZnv2W.mjs +0 -10
- package/node/esm/DTzUiMAnLD_Zuf0f.mjs +0 -10
- package/node/esm/D_lQo-PErOoj-8tN.mjs +0 -10
- package/node/esm/DbK0GAKpj9hwwFwY.mjs +0 -10
- package/node/esm/DoMqoQP6F7OPue_g.mjs +0 -10
- package/node/esm/mxYovIi79sCzcZtQ.mjs +0 -10
- package/node/esm/oRsIla0R_H7slM9k.mjs +0 -10
- package/node/esm/sVuz1UjytOtK5gck.mjs +0 -2458
- package/node/esm/u5XTTNCFdsbCZ-ud.mjs +0 -10
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
import { IRange, IFormulaContext, IRuntime, Scalar } from '@sheetxl/primitives';
|
|
2
|
+
import { FunctionProvider } from '@sheetxl/scripting';
|
|
3
|
+
import { AbstractModel, IModel } from '../model';
|
|
4
|
+
import { IStringCollection } from '../string';
|
|
5
|
+
import { IFunctionCollection } from '../scripting';
|
|
6
|
+
import { ISpatialMap, ISpatialMap3D } from '../collections';
|
|
7
|
+
import { INamed, INamedCollection } from '../named';
|
|
8
|
+
import { ICellRange, ICellRanges } from '../cellRange';
|
|
9
|
+
import { _NamedGraphNode } from '../cellRange/_GraphNode';
|
|
10
|
+
import { FormulaBlockResolvers } from './formula';
|
|
11
|
+
import { IFormulaCompiler } from './compiler';
|
|
12
|
+
import { CalculationContext, IContextContainer, CalcNode } from './state';
|
|
13
|
+
import { FormulaSpatialValue, PrecedentSpatialValue } from './spatial';
|
|
14
|
+
import { CalcGrid, ICalcGrid } from './grid';
|
|
15
|
+
import { CalcExecutor } from './executor';
|
|
16
|
+
import { ICalculation } from './ICalculation';
|
|
17
|
+
import { NamedFormulaCollection } from './NamedFormulaCollection';
|
|
18
|
+
import { INamedFormulasCollection } from './INamedFormulasCollection';
|
|
19
|
+
/**
|
|
20
|
+
* Implementation for {@link ICalculation}.
|
|
21
|
+
*/
|
|
22
|
+
export declare class Calculation extends AbstractModel<State, ICalculation.JSON, CommitView, ICalculation.IListeners> implements ICalculation {
|
|
23
|
+
protected _container: IContextContainer;
|
|
24
|
+
protected _context: CalculationContext & IFormulaContext;
|
|
25
|
+
protected _status: ICalculation.Status;
|
|
26
|
+
protected _statusTransition: Promise<void> | null;
|
|
27
|
+
protected _runtime: IRuntime;
|
|
28
|
+
protected _functions: IFunctionCollection;
|
|
29
|
+
protected _namedFormulas: NamedFormulaCollection;
|
|
30
|
+
/** `json.names` held from construction until {@link hydrateNames} — see it for why. */
|
|
31
|
+
protected _pendingNames: INamed.JSON[] | null;
|
|
32
|
+
protected _compiler: IFormulaCompiler;
|
|
33
|
+
protected _compilerEditing: IFormulaCompiler;
|
|
34
|
+
protected _compilerEditingSig: string;
|
|
35
|
+
protected _compilerModule: typeof import('./compiler/FormulaCompiler');
|
|
36
|
+
protected _getActiveCell: () => IRange.CellCoords | null;
|
|
37
|
+
protected _getRange: (address: ICellRange.Address, options?: ICellRange.GetRangeOptions) => ICellRange;
|
|
38
|
+
protected _getRanges: (address: ICellRanges.Address, options?: ICellRange.GetRangeOptions) => ICellRanges;
|
|
39
|
+
protected _calcExecutor: CalcExecutor;
|
|
40
|
+
protected _cycleId: number;
|
|
41
|
+
protected _volatiles: Set<CalcNode>;
|
|
42
|
+
protected _calculatedCommitId: string | null;
|
|
43
|
+
protected _pendingActions: (() => Promise<unknown>)[] | null;
|
|
44
|
+
protected _pendingPriority: (() => Promise<unknown>)[] | null;
|
|
45
|
+
protected _draining: boolean;
|
|
46
|
+
protected _drainScheduled: boolean;
|
|
47
|
+
protected _removeNamedItemsListeners: (() => void) | null;
|
|
48
|
+
protected _namedDependents: Map<string, IRange.Coords[]> | null;
|
|
49
|
+
protected _namedDependentsOf: ISpatialMap3D<FormulaSpatialValue> | null;
|
|
50
|
+
/**
|
|
51
|
+
* Resolver callbacks passed to every {@link FormulaBlock} at creation time.
|
|
52
|
+
* Populated from {@link Calculation.ConstructorOptions} during `_initialize`.
|
|
53
|
+
*/
|
|
54
|
+
protected _resolvers: FormulaBlockResolvers | null;
|
|
55
|
+
constructor(options?: Calculation.ConstructorOptions);
|
|
56
|
+
protected _initialize(options?: Calculation.ConstructorOptions): void;
|
|
57
|
+
/**
|
|
58
|
+
* Reverse-invalidates only the formulas that reference any of `changedIds` — the stable name/table
|
|
59
|
+
* fake ids reported by `IndirectSymbolProvider.reconcile()` (add/heal, delete, rename).
|
|
60
|
+
*
|
|
61
|
+
* @remarks
|
|
62
|
+
* Replaces the old `isFullCalcRequired` blanket. `bind()` assigns a stable fake id at compile time
|
|
63
|
+
* regardless of whether the symbol resolves, and reconcile() reports that same id — so matching a
|
|
64
|
+
* formula's `getReferencedSymbolIds()` catches the "heal" case (`#NAME?`/`#REF!` → valid) that a
|
|
65
|
+
* precedent-range markDirty can't, because an unresolved reference has no precedent range.
|
|
66
|
+
*
|
|
67
|
+
* Marking the direct referencers is not enough where the referencer is another NAME. Downstream
|
|
68
|
+
* of a cell, the dependency graph carries transitivity for free; downstream of a name it carries
|
|
69
|
+
* nothing, because a name registers no precedent range for the formulas that mention it. So the
|
|
70
|
+
* ids are first expanded over the symbol graph ({@link _namedTargets}), and only from the cells
|
|
71
|
+
* that land in are the ordinary edges left to do the rest.
|
|
72
|
+
*
|
|
73
|
+
* O(formulas) all3D scan — same cost/scale as `recompileNamed`.
|
|
74
|
+
*
|
|
75
|
+
* @returns `true` if any formula was marked dirty.
|
|
76
|
+
*/
|
|
77
|
+
protected _markDirtyReferencing(changedIds: Set<string>): boolean;
|
|
78
|
+
/**
|
|
79
|
+
* {@inheritDoc IContextContainer.getNamedDependents}
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* The memo is keyed on the formula spatial's IDENTITY, which is the whole invalidation story:
|
|
83
|
+
* the map is copy-on-write (`getFormulas().clone()` before any mutation, `setFormulas` to
|
|
84
|
+
* publish), so a formula added, removed, shifted or recompiled necessarily replaces it — and an
|
|
85
|
+
* undo, which restores an earlier map, replaces it too. Nothing has to remember to clear this.
|
|
86
|
+
*
|
|
87
|
+
* The sweep is the same `all3D` walk `recompileNamed` and {@link _markDirtyReferencing} already
|
|
88
|
+
* do, done once for every name instead of once per name.
|
|
89
|
+
*/
|
|
90
|
+
protected _getNamedDependents(nameId: string): readonly IRange.Coords[];
|
|
91
|
+
/**
|
|
92
|
+
* {@inheritDoc IContextContainer.getNamedDependentNames}
|
|
93
|
+
*
|
|
94
|
+
* @remarks
|
|
95
|
+
* A block that depends on a name and lives on a VIRTUAL grid is another name's BODY, and that
|
|
96
|
+
* grid's id is that name's id — `add` binds the two together and `delete` keeps the grid rather
|
|
97
|
+
* than dropping it. So the hop is a bucket lookup on the id itself; a sheet grid id is never a
|
|
98
|
+
* name id, which is what {@link NamedFormulaCollection.getById} is asked to confirm before the
|
|
99
|
+
* walk continues through one.
|
|
100
|
+
*
|
|
101
|
+
* Expands each id once. That is the cycle guard (`A = B+1`, `B = A+1` reaches `A` again on its
|
|
102
|
+
* second hop) and the diamond guard both.
|
|
103
|
+
*/
|
|
104
|
+
protected _getNamedDependentNames(nameId: string): ReadonlySet<string>;
|
|
105
|
+
/**
|
|
106
|
+
* `changedIds` widened to everything a change to them reaches through the SYMBOL graph: each id
|
|
107
|
+
* plus, for the names among them, every name transitively referencing it.
|
|
108
|
+
*
|
|
109
|
+
* @remarks
|
|
110
|
+
* The one expansion both `recompileNamed` and {@link _markDirtyReferencing} apply before their
|
|
111
|
+
* all3D scan, so a formula naming an intermediate name is matched by the same pass that matches
|
|
112
|
+
* one naming the changed name directly. Ids that are not names (a table's) expand to themselves.
|
|
113
|
+
*/
|
|
114
|
+
protected _namedTargets(changedIds: Set<string>): ReadonlySet<string>;
|
|
115
|
+
/** @inheritdoc ICalculation.start */
|
|
116
|
+
start(): Promise<void>;
|
|
117
|
+
/**
|
|
118
|
+
* Queues an action to run at the next safe point, and schedules that point.
|
|
119
|
+
*
|
|
120
|
+
* @remarks
|
|
121
|
+
* Callers need no precondition: queuing schedules its own drain. There is no state the engine can
|
|
122
|
+
* be in where an action queued here is silently dropped.
|
|
123
|
+
*
|
|
124
|
+
* - `Starting` — held for `start()`'s drain, which always follows and loops until empty.
|
|
125
|
+
* - Inside a drain — picked up by the loop already running.
|
|
126
|
+
* - `Ready` and settled — a microtask drain is posted (see {@link _scheduleDrain}).
|
|
127
|
+
*
|
|
128
|
+
* That last case is why this is no longer called `whenStarting`. It only ever handled work that
|
|
129
|
+
* arrived while starting: queuing scheduled nothing, and the array was pumped as a side effect of
|
|
130
|
+
* `start`/`ready`/`calculate` — so an action queued on a settled engine waited for a calculation
|
|
131
|
+
* that might never come and was dropped for the life of the workbook, not merely run late. Since
|
|
132
|
+
* any cell write drains as a side effect of `Sheet._calculate`, that failed only for changes that
|
|
133
|
+
* write no cells: `recompileNamed` after defining a name nothing yet references left
|
|
134
|
+
* `A1 = SUM(Sales)` at `#NAME?` indefinitely.
|
|
135
|
+
*
|
|
136
|
+
* What callers still owe: an action must be safe to run at an arbitrary microtask boundary, not
|
|
137
|
+
* only inside a calculation. The drain is a safe point, not a synchronization point.
|
|
138
|
+
*/
|
|
139
|
+
_whenSafe(action: () => Promise<unknown>, priority?: boolean): void;
|
|
140
|
+
/**
|
|
141
|
+
* Posts a microtask drain, if one is not already coming.
|
|
142
|
+
*
|
|
143
|
+
* @remarks
|
|
144
|
+
* A no-op in the two cases where a drain is already guaranteed to reach this action:
|
|
145
|
+
*
|
|
146
|
+
* - not `Ready` — `start()` drains at the tail of its transition, and does so inline so
|
|
147
|
+
* `await start()` covers the queued work. Posting here would race that.
|
|
148
|
+
* - already draining — `_drainPending` loops until the queue is empty, so an action appended
|
|
149
|
+
* during a drain is picked up by the pass in flight.
|
|
150
|
+
*
|
|
151
|
+
* A microtask rather than a task: it is the earliest point at which the synchronous work that
|
|
152
|
+
* queued the action (a commit, a name definition) has finished, which is the whole reason these
|
|
153
|
+
* actions are deferred at all. Waiting for a macrotask would leave the workbook observably wrong
|
|
154
|
+
* across a turn of the event loop for no gain.
|
|
155
|
+
*/
|
|
156
|
+
protected _scheduleDrain(): void;
|
|
157
|
+
/**
|
|
158
|
+
* A drain with nothing after it: the queue, then the calculation the queue is owed.
|
|
159
|
+
*
|
|
160
|
+
* @remarks
|
|
161
|
+
* Every other drain site is *followed* by a calculation — that is what a drain site was. The
|
|
162
|
+
* queue was only ever pumped by `start`/`ready`/`calculate`, so an action always ran with a pass
|
|
163
|
+
* behind it, and could dirty freely knowing something would pick it up. `recompileNamed` is built
|
|
164
|
+
* on exactly that: it re-derives its dependents by writing their formula text back through
|
|
165
|
+
* `grid.setInputs`, which marks dirty and stops there. Unlike a cell write there is no sheet layer
|
|
166
|
+
* above it to notice and call `calculate()` (`Sheet._calculate`).
|
|
167
|
+
*
|
|
168
|
+
* So a drain that nothing scheduled a calculation for has to be the whole unit, or it is not a
|
|
169
|
+
* faithful substitute for the drain an action used to get: the repro recompiles against the newly
|
|
170
|
+
* wired name and still displays the `#NAME?` it evaluated to before.
|
|
171
|
+
*
|
|
172
|
+
* This is deliberately not folded into {@link _drainPending}. The other three sites would then
|
|
173
|
+
* calculate twice, and `start()` would calculate mid-load — which is the thing `isLoading()`
|
|
174
|
+
* exists to prevent.
|
|
175
|
+
*/
|
|
176
|
+
protected _drainStandalone(): Promise<void>;
|
|
177
|
+
/**
|
|
178
|
+
* Runs queued actions until the queue is empty. The one drain, used by every site that drains.
|
|
179
|
+
*
|
|
180
|
+
* @remarks
|
|
181
|
+
* Draining only runs the actions. Something has to calculate what they dirtied, and each of the
|
|
182
|
+
* four sites answers that for itself: `_calculate` runs the pass it drained for, `ready()`
|
|
183
|
+
* calculates its dirty grids, `start()` leaves it to the load path, and the microtask drain has
|
|
184
|
+
* nothing after it so it calculates itself ({@link _drainStandalone}).
|
|
185
|
+
*
|
|
186
|
+
* Loops rather than taking a single snapshot, because a drained action can enqueue more: wiring a
|
|
187
|
+
* name enqueues the `recompileNamed` that re-derives its dependents' precedents. A snapshot pass
|
|
188
|
+
* left that follow-up for whoever drained next, so a formula referencing a name wired in the same
|
|
189
|
+
* pass evaluated against a not-yet-compiled body and stuck at `#NAME?`. `ready()` had exactly that
|
|
190
|
+
* shape, and got away with it only because it goes on to call `grid.calculate()` per dirty grid —
|
|
191
|
+
* which loop-drains. It held if something was dirty and did not if nothing was.
|
|
192
|
+
*
|
|
193
|
+
* `_draining` is restored rather than cleared, so a nested drain (an action that calculates)
|
|
194
|
+
* leaves the outer one's window intact.
|
|
195
|
+
*
|
|
196
|
+
* **Call this under `if (this._pendingActions?.length)`, not unconditionally.** `await` on an
|
|
197
|
+
* async call yields to the microtask queue even when the callee does nothing, and a calculation
|
|
198
|
+
* with an empty queue has no other await in it — it runs to completion synchronously, so a
|
|
199
|
+
* `setValue` is followed by a `getValue` that reads the calculated value with nothing awaited in
|
|
200
|
+
* between. An unconditional drain here pushes the whole pass past a microtask boundary and that
|
|
201
|
+
* read returns the raw text instead (`use-signs.test.ts`).
|
|
202
|
+
*/
|
|
203
|
+
protected _drainPending(): Promise<void>;
|
|
204
|
+
/** @inheritdoc ICalculation.calculate */
|
|
205
|
+
calculate(options?: ICalculation.CalculateOptions | boolean): Promise<ICalculation.Status>;
|
|
206
|
+
/**
|
|
207
|
+
* @returns The status the engine is in once the pass has run — `Starting` if the request was
|
|
208
|
+
* deferred to the start-up drain, and whatever non-`Ready` status turned it away
|
|
209
|
+
* otherwise. Never `undefined`: it used to resolve that on every path including the
|
|
210
|
+
* successful one (the tail simply fell off the end), and two call sites cast the result
|
|
211
|
+
* to `Status` to satisfy {@link ICalculation.calculate}.
|
|
212
|
+
*/
|
|
213
|
+
protected _calculate(options?: ICalculation.CalculateOptions, gridId?: string): Promise<ICalculation.Status>;
|
|
214
|
+
protected _createCalcGrid(options?: CalcGrid.ConstructorOptions): ICalcGrid;
|
|
215
|
+
protected _registerGrid(grid: ICalcGrid): void;
|
|
216
|
+
protected _unregisterGrid(gridId: string): void;
|
|
217
|
+
/** @inheritdoc ICalculation.stop */
|
|
218
|
+
stop(): Promise<void>;
|
|
219
|
+
/** @inheritdoc ICalculation.getStatus */
|
|
220
|
+
getStatus(): ICalculation.Status;
|
|
221
|
+
/** @inheritdoc ICalculation.ready */
|
|
222
|
+
ready(options?: ICalculation.CalculateOptions): Promise<ICalculation.Status>;
|
|
223
|
+
/**
|
|
224
|
+
* The locale-aware editing compiler, (re)built when the workbook locale (separators, Plane 1) or
|
|
225
|
+
* active spreadsheet-language pack (boolean literals, Plane 3) has changed since it was last built.
|
|
226
|
+
* Only the editing path uses locale-specific separators; the calc path (`_compiler`) is always
|
|
227
|
+
* canonical because it only ever parses stored/API text.
|
|
228
|
+
*/
|
|
229
|
+
protected _getEditingCompiler(): IFormulaCompiler;
|
|
230
|
+
/** @inheritdoc ICalculation.createFormula */
|
|
231
|
+
createFormula(expression: string, coords?: Partial<IRange.CellCoords>): ICalculation.IFormula;
|
|
232
|
+
/** {@inheritDoc ICalculation.evaluate} */
|
|
233
|
+
evaluate(expression: string, options?: number | ICalculation.EvaluateOptions & Partial<IRange.CellCoords>): Promise<Scalar | IRange>;
|
|
234
|
+
/** @inheritdoc ICalculation.getFunctions */
|
|
235
|
+
getFunctions(): IFunctionCollection;
|
|
236
|
+
/** @inheritdoc ICalculation.getNamedFormulas */
|
|
237
|
+
getNamedFormulas(): INamedFormulasCollection;
|
|
238
|
+
/**
|
|
239
|
+
* Loads the `json.names` supplied at construction. Idempotent; a no-op when there were none.
|
|
240
|
+
*
|
|
241
|
+
* @internal
|
|
242
|
+
*
|
|
243
|
+
* @remarks
|
|
244
|
+
* Hydration has two preconditions, and the constructor can only meet one of them.
|
|
245
|
+
*
|
|
246
|
+
* 1. The named-formula symbol provider must be registered — `add()` binds each name the symbol id
|
|
247
|
+
* that IS the virtual grid it compiles into, so hydrating earlier loads names that list but
|
|
248
|
+
* never resolve. The constructor does satisfy this.
|
|
249
|
+
* 2. **The sheets must exist.** A name carries the scope it is private to, and that scope is a
|
|
250
|
+
* SHEET, resolved to the sheet's stableId on the way in (see `NamedFormula.getScope`) so a
|
|
251
|
+
* later rename carries it. `Workbook` builds its sheets *after* constructing the calculation,
|
|
252
|
+
* so during the constructor the sheet lookup does not merely miss — it throws — and every
|
|
253
|
+
* hydrated name would be left holding a display name that goes stale on the first rename.
|
|
254
|
+
*
|
|
255
|
+
* So the workbook calls this once its sheets are in place. A calculation constructed standalone
|
|
256
|
+
* (tests, a headless engine) has no sheets to wait for and hydrates at the tail of `start()`.
|
|
257
|
+
*/
|
|
258
|
+
hydrateNames(): void;
|
|
259
|
+
/** @inheritdoc IFormulaContext.getRuntime */
|
|
260
|
+
getRuntime(): IRuntime;
|
|
261
|
+
protected _checkReady(): void;
|
|
262
|
+
protected _statusMessage(): string;
|
|
263
|
+
get [Symbol.toStringTag](): string;
|
|
264
|
+
toString(): string;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* Interfaces for creating `Calculation` items.
|
|
268
|
+
*
|
|
269
|
+
* @see
|
|
270
|
+
* ### **Interface**
|
|
271
|
+
*
|
|
272
|
+
* {@link Calculation}
|
|
273
|
+
*/
|
|
274
|
+
export declare namespace Calculation {
|
|
275
|
+
/**
|
|
276
|
+
* Options available when creating a Calculation Service.
|
|
277
|
+
*/
|
|
278
|
+
interface ConstructorOptions extends IModel.ConstructorOptions<ICalculation.JSON> {
|
|
279
|
+
/**
|
|
280
|
+
* Callback for the runtime.
|
|
281
|
+
*/
|
|
282
|
+
runtime?: IRuntime;
|
|
283
|
+
/**
|
|
284
|
+
* Additional custom formula function providers, bound after the built-ins (so they override
|
|
285
|
+
* built-ins on name collision). Each provider is the `initialize` binder produced by the
|
|
286
|
+
* FormulaCompiler (`@sheetxl/scripting`) for a folder of formula sources.
|
|
287
|
+
*
|
|
288
|
+
* @see {@link FunctionProvider}
|
|
289
|
+
*/
|
|
290
|
+
functions?: readonly FunctionProvider[];
|
|
291
|
+
/**
|
|
292
|
+
* Returns the active cell — the current selection anchor — with its sheet id as `scope`.
|
|
293
|
+
* Supplies the default scope for temporary / named-formula resolution, and the default
|
|
294
|
+
* defining cell when a named formula is added without an explicit `cell` (mirrors Excel).
|
|
295
|
+
*/
|
|
296
|
+
getActiveCell?: () => IRange.CellCoords | null;
|
|
297
|
+
/**
|
|
298
|
+
* Returns a sheet handle given an id.
|
|
299
|
+
*/
|
|
300
|
+
/**
|
|
301
|
+
* `getRange`/`getRanges` are OPTIONAL and structural on purpose — this keeps `Calculation` decoupled
|
|
302
|
+
* from `ISheet` while letting a real sheet hand over its own address resolvers. A temporary formula
|
|
303
|
+
* anchored to that sheet uses them so an unscoped (same-sheet) reference resolves THERE rather than
|
|
304
|
+
* against the workbook's active sheet. See `createFormula`.
|
|
305
|
+
*/
|
|
306
|
+
getSheetById?: (sheetId: string) => {
|
|
307
|
+
getId(): string;
|
|
308
|
+
getName(): string;
|
|
309
|
+
getEntireCoords: () => IRange.Coords | null;
|
|
310
|
+
getRange?: (address: ICellRange.Address, options?: ICellRange.GetRangeOptions) => ICellRange;
|
|
311
|
+
getRanges?: (address: ICellRanges.Address, options?: ICellRange.GetRangeOptions) => ICellRanges;
|
|
312
|
+
} | null;
|
|
313
|
+
/**
|
|
314
|
+
* Returns a sheet handle given a name.
|
|
315
|
+
*/
|
|
316
|
+
getSheetByName?: (sheetName: string) => {
|
|
317
|
+
getId(): string;
|
|
318
|
+
getName(): string;
|
|
319
|
+
getEntireCoords: () => IRange.Coords | null;
|
|
320
|
+
} | null;
|
|
321
|
+
/**
|
|
322
|
+
* Named item collection shared with the workbook.
|
|
323
|
+
*
|
|
324
|
+
* @remarks
|
|
325
|
+
* Used to resolve table symbols (and later named formulas) by name and id.
|
|
326
|
+
* {@link IndirectSymbolProvider} subscribes to `onCollectionChange` to keep
|
|
327
|
+
* proxy references current and trigger dirty-marking of dependent formula nodes.
|
|
328
|
+
*/
|
|
329
|
+
namedCollection?: INamedCollection;
|
|
330
|
+
/**
|
|
331
|
+
* Defined names to hydrate at construction, in `IWorkbook.JSON.names` form.
|
|
332
|
+
*
|
|
333
|
+
* @remarks
|
|
334
|
+
* The engine owns defined names, so they load directly here rather than into an
|
|
335
|
+
* `INamedCollection` that would then have to project them across. Taken at construction so the
|
|
336
|
+
* engine has no pre-load lifecycle state.
|
|
337
|
+
*/
|
|
338
|
+
names?: INamed.JSON[];
|
|
339
|
+
/**
|
|
340
|
+
* A structural transform applied to each hydrated name's expression as it compiles — the READ
|
|
341
|
+
* half of the format-dialect hook (see `IWorkbook.ConstructorOptions.formulaTransform`).
|
|
342
|
+
* Applies only to {@link names}; formulas added later compile without it.
|
|
343
|
+
*/
|
|
344
|
+
formulaTransform?: ICalculation.FormulaTransform;
|
|
345
|
+
getRanges?: (address: ICellRanges.Address, options?: ICellRange.GetRangeOptions) => ICellRanges;
|
|
346
|
+
getRange?: (address: ICellRange.Address, options?: ICellRange.GetRangeOptions) => ICellRange;
|
|
347
|
+
/**
|
|
348
|
+
* Builds ONE `ICellRanges` graph answer out of cell coords plus defined-name nodes.
|
|
349
|
+
*
|
|
350
|
+
* @internal
|
|
351
|
+
*
|
|
352
|
+
* @remarks
|
|
353
|
+
* The seam that keeps the layers apart: the calculation layer knows WHICH names belong in a
|
|
354
|
+
* precedents/dependents answer, the range layer knows how a name rides in one (an anchored
|
|
355
|
+
* `INamedRange` — see DESIGN-NAMED-FORMULAS.md §4). Structural like `getRange`/`getRanges`,
|
|
356
|
+
* and like them supplied by the workbook. Without it, graph answers fall back to cells only.
|
|
357
|
+
*/
|
|
358
|
+
createGraphRanges?: (cells: readonly IRange.Coords[], names: readonly _NamedGraphNode[]) => ICellRanges | null;
|
|
359
|
+
getSheetIndex?: (sheetName?: string) => number;
|
|
360
|
+
getSheetCount?: () => number;
|
|
361
|
+
strings?: IStringCollection;
|
|
362
|
+
/**
|
|
363
|
+
* Whether to perform iterative calculations when there are circular dependencies.
|
|
364
|
+
*
|
|
365
|
+
* @defaultValue false
|
|
366
|
+
*/
|
|
367
|
+
enableIterativeCalculations?: boolean;
|
|
368
|
+
/**
|
|
369
|
+
* The maximum number of iterations to perform when calculating.
|
|
370
|
+
*
|
|
371
|
+
* @defaultValue 100
|
|
372
|
+
*/
|
|
373
|
+
maxIterations?: number;
|
|
374
|
+
/**
|
|
375
|
+
* The maximum change allowed between iterations when performing iterative calculations.
|
|
376
|
+
*
|
|
377
|
+
* @defaultValue 0.001
|
|
378
|
+
*/
|
|
379
|
+
maxIterateChange?: number;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
/**
|
|
383
|
+
* Transaction State for Calculation
|
|
384
|
+
*/
|
|
385
|
+
interface State extends AbstractModel.State {
|
|
386
|
+
/**
|
|
387
|
+
* Top down evaluation and marking dirty.
|
|
388
|
+
* This is the only spatial map that is completely updated via api.
|
|
389
|
+
*
|
|
390
|
+
* @remarks
|
|
391
|
+
* For top down evaluation and marking formulas dirty.
|
|
392
|
+
*/
|
|
393
|
+
formulaSpatial: ISpatialMap3D<FormulaSpatialValue>;
|
|
394
|
+
/**
|
|
395
|
+
* Tracks the inputs to formulas.
|
|
396
|
+
*
|
|
397
|
+
* @remarks
|
|
398
|
+
* * For bottom up marking dirty.
|
|
399
|
+
* * Contains a back-pointer to the formula.
|
|
400
|
+
*
|
|
401
|
+
*/
|
|
402
|
+
precedentSpatial: ISpatialMap3D<PrecedentSpatialValue>;
|
|
403
|
+
/**
|
|
404
|
+
* Tracks dynamic precedents by block.
|
|
405
|
+
* Used to remove old dynamic precedents when a block is re-evaluated and to add new ones after evaluation.
|
|
406
|
+
*/
|
|
407
|
+
dynamicByBlock: Map<FormulaSpatialValue, ISpatialMap.Entry<PrecedentSpatialValue>[]>;
|
|
408
|
+
/**
|
|
409
|
+
* Dirty regions
|
|
410
|
+
*/
|
|
411
|
+
dirtySpatial: ISpatialMap3D;
|
|
412
|
+
/**
|
|
413
|
+
* If true, the next calculation will be a full calc regardless of dirty state. Used for example when the engine detects a circular dependency and needs to fallback to iterative calculation or when the user explicitly requests a full calc.
|
|
414
|
+
*/
|
|
415
|
+
isFullCalcRequired: boolean;
|
|
416
|
+
/**
|
|
417
|
+
* All registered grids.
|
|
418
|
+
*/
|
|
419
|
+
gridsAll: Map<string, ICalcGrid>;
|
|
420
|
+
/**
|
|
421
|
+
* Listeners to individual named items
|
|
422
|
+
*/
|
|
423
|
+
itemRemoveListeners: (() => void)[];
|
|
424
|
+
/**
|
|
425
|
+
* Indicates if calculation will do iterative calcs
|
|
426
|
+
*/
|
|
427
|
+
iterate: boolean;
|
|
428
|
+
/**
|
|
429
|
+
* The maximum number of iterations to perform when calculating.
|
|
430
|
+
*/
|
|
431
|
+
maxIterations: number;
|
|
432
|
+
/**
|
|
433
|
+
* The maximum change allowed between iterations when performing iterative calculations.
|
|
434
|
+
*/
|
|
435
|
+
maxIterateChange: number;
|
|
436
|
+
}
|
|
437
|
+
interface CommitView extends AbstractModel.CommitView {
|
|
438
|
+
}
|
|
439
|
+
export {};
|
|
440
|
+
//# sourceMappingURL=Calculation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Calculation.d.ts","sourceRoot":"","sources":["../../../../src/calculation/Calculation.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Scalar } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* Parses formula text that is exactly ONE literal — a number (optionally signed), a quoted
|
|
4
|
+
* string, `TRUE`/`FALSE`, or an error label — to its value.
|
|
5
|
+
*
|
|
6
|
+
* @param text The formula text, without a leading `=`.
|
|
7
|
+
* @returns The literal's value, or `undefined` when the text is anything else — a reference, a
|
|
8
|
+
* function call, an expression, or text that does not lex at all.
|
|
9
|
+
*
|
|
10
|
+
* @remarks
|
|
11
|
+
* Backed by the calculation compiler's own lexer and literal actions (canonical locale: `.`
|
|
12
|
+
* decimal, English booleans, canonical error labels), so what counts as a literal here is exactly
|
|
13
|
+
* what counts as one in a formula. The IO borders use this to fold OOXML `<formula>` operands
|
|
14
|
+
* (`cellIs` / data-validation bounds) into condition params — a parallel grammar that drifted
|
|
15
|
+
* from the compiler's would corrupt exactly the operands it was meant to preserve.
|
|
16
|
+
*/
|
|
17
|
+
export declare function parseFormulaLiteral(text: string): Scalar | undefined;
|
|
18
|
+
//# sourceMappingURL=FormulaLiterals.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FormulaLiterals.d.ts","sourceRoot":"","sources":["../../../../src/calculation/FormulaLiterals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAOlD;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CA+CpE"}
|