@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,208 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/primitives';
|
|
2
|
+
import { ICollection } from '../type';
|
|
3
|
+
import { IListener } from '../listener';
|
|
4
|
+
/**
|
|
5
|
+
* Collections of {@link IFunction}.
|
|
6
|
+
*/
|
|
7
|
+
export interface IFunctionCollection extends ICollection<IFunction> {
|
|
8
|
+
/**
|
|
9
|
+
* Add a custom function to the collection.
|
|
10
|
+
*
|
|
11
|
+
* @param option Either TypeScript source, a pre-built {@link IFunction},
|
|
12
|
+
* or {@link IFunctionCollection.AddOptions}.
|
|
13
|
+
*
|
|
14
|
+
* @returns The registered function. When source is supplied and defines multiple functions, all
|
|
15
|
+
* are registered and the first (primary) one is returned.
|
|
16
|
+
*/
|
|
17
|
+
add(option: string | IFunction | IFunctionCollection.AddOptions): Promise<IFunction>;
|
|
18
|
+
/**
|
|
19
|
+
* Returns functions that match the filter criteria.
|
|
20
|
+
*
|
|
21
|
+
* If no filter criteria is provided, all items will be returned.
|
|
22
|
+
*
|
|
23
|
+
* @param options {@link IFunctionCollection.SearchOptions}
|
|
24
|
+
*
|
|
25
|
+
* @remarks
|
|
26
|
+
* ### Ordering
|
|
27
|
+
* A search that reads DESCRIPTORS ({@link SearchOptions.text} / {@link SearchOptions.category},
|
|
28
|
+
* see below) returns results ordered — by relevance when there is `text`, alphabetically by
|
|
29
|
+
* canonical name otherwise. Every other search returns them in registration order.
|
|
30
|
+
*
|
|
31
|
+
* With `text`, relevance is: an exact name, then a name prefix, then a name substring, then the
|
|
32
|
+
* same three for the LOCALIZED name (each one tier behind its canonical counterpart), and finally
|
|
33
|
+
* a summary substring. Matching is case-insensitive "contains" — never fuzzy.
|
|
34
|
+
*
|
|
35
|
+
* ### Cost
|
|
36
|
+
* `name`- and `type`-only searches are a cheap scan. `text`, `category` and an explicit
|
|
37
|
+
* {@link SearchOptions.includeDeprecated} read each function's {@link IFunction.IDescriptor},
|
|
38
|
+
* which loads (once, lazily, per language) the descriptor chunk of every module — pennies for a
|
|
39
|
+
* search box, but not something to put on a hot path.
|
|
40
|
+
*/
|
|
41
|
+
search(options?: IFunctionCollection.SearchOptions): Promise<IFunction[]>;
|
|
42
|
+
/**
|
|
43
|
+
* The categories the collection's functions declare, each with how many functions carry it.
|
|
44
|
+
*
|
|
45
|
+
* @param options {@link IFunctionCollection.GetCategoryOptions}
|
|
46
|
+
*
|
|
47
|
+
* @returns The categories, ordered by name. Never contains an empty category — a category exists
|
|
48
|
+
* because a function is in it.
|
|
49
|
+
*
|
|
50
|
+
* @remarks
|
|
51
|
+
* The category is a display string owned by the descriptor (`Math & Trig`, `Date & Time`, …), so
|
|
52
|
+
* this is a descriptor-reading call with the same lazy cost as a `text` search — and, being
|
|
53
|
+
* per-language, it re-derives when the language changes. It exists so a function picker can build
|
|
54
|
+
* its category list from what is actually registered (custom functions included) rather than from
|
|
55
|
+
* a hard-coded table that silently drifts.
|
|
56
|
+
*/
|
|
57
|
+
getCategories(options?: IFunctionCollection.GetCategoryOptions): Promise<IFunctionCollection.Category[]>;
|
|
58
|
+
/**
|
|
59
|
+
* Convenience method for filter by name.
|
|
60
|
+
* This is functionally equivalent to getItems({ name });
|
|
61
|
+
*
|
|
62
|
+
* @param name The name to search for This is case insensitive.
|
|
63
|
+
* @param options {@link IFunctionCollection.GetByNameOptions}
|
|
64
|
+
*
|
|
65
|
+
* @remarks
|
|
66
|
+
* With `options.sheet`, returns a NEW instance bound to that sheet, for calling the function
|
|
67
|
+
* as a regular API outside the calculation graph — reference arguments and address strings
|
|
68
|
+
* resolve against the bound sheet with no evaluation current, and the instance is safe to
|
|
69
|
+
* hold across awaits. Without options, the shared registry instance is returned (the one the
|
|
70
|
+
* engine evaluates with); its reference resolution requires an active evaluation.
|
|
71
|
+
*/
|
|
72
|
+
getByName(name: string, options?: IFunctionCollection.GetByNameOptions): IFunction | null;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* {@inheritDoc IFunctionCollection}
|
|
76
|
+
* @see
|
|
77
|
+
* ### **Interface**
|
|
78
|
+
*
|
|
79
|
+
* {@link IFunctionCollection}
|
|
80
|
+
*/
|
|
81
|
+
export declare namespace IFunctionCollection {
|
|
82
|
+
/**
|
|
83
|
+
* Options for {@link IFunctionCollection.getByName}.
|
|
84
|
+
*/
|
|
85
|
+
interface GetByNameOptions {
|
|
86
|
+
/**
|
|
87
|
+
* A sheet name to bind the returned function to. Vends a NEW instance whose evaluation
|
|
88
|
+
* context resolves references against this sheet even when no calculation is running —
|
|
89
|
+
* the public-API calling convention. Throws for an unknown sheet or a function that
|
|
90
|
+
* cannot be scoped (macros).
|
|
91
|
+
*/
|
|
92
|
+
sheet?: string;
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Options for searching a function in the collection.
|
|
96
|
+
*/
|
|
97
|
+
interface SearchOptions {
|
|
98
|
+
/**
|
|
99
|
+
* Search with the given name. This is case insensitive.
|
|
100
|
+
*/
|
|
101
|
+
name?: string;
|
|
102
|
+
/**
|
|
103
|
+
* Search all function descriptors for the given text. This is case insensitive.
|
|
104
|
+
*
|
|
105
|
+
* @remarks
|
|
106
|
+
* If this is specified this will also search the name.
|
|
107
|
+
*/
|
|
108
|
+
text?: string;
|
|
109
|
+
/**
|
|
110
|
+
* Search with the given name. This is case insensitive.
|
|
111
|
+
*/
|
|
112
|
+
category?: string;
|
|
113
|
+
type?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Include functions their descriptor marks deprecated (or hidden).
|
|
116
|
+
*
|
|
117
|
+
* @defaultValue `false` — but only where it can be read; see the remarks.
|
|
118
|
+
*
|
|
119
|
+
* @remarks
|
|
120
|
+
* Deprecation lives in the descriptor ({@link IFunction.IDescriptor.isDeprecated}), so honoring
|
|
121
|
+
* this means loading descriptors. To keep a `name`/`type` lookup free, the filter applies only
|
|
122
|
+
* when the search is already reading them — with {@link text} or {@link category}, or when this
|
|
123
|
+
* option is passed EXPLICITLY (either value forces the read).
|
|
124
|
+
*/
|
|
125
|
+
includeDeprecated?: boolean;
|
|
126
|
+
/**
|
|
127
|
+
* Return at most this many functions.
|
|
128
|
+
*
|
|
129
|
+
* @remarks
|
|
130
|
+
* Applied AFTER ordering, so a limited search is the top N by relevance — not an arbitrary N.
|
|
131
|
+
* A search box wanting "the best 50 of 400" should use this rather than slicing the result, so
|
|
132
|
+
* the caller never pays to materialize the rest.
|
|
133
|
+
*/
|
|
134
|
+
limit?: number;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* Options for {@link IFunctionCollection.getCategories}.
|
|
138
|
+
*/
|
|
139
|
+
interface GetCategoryOptions {
|
|
140
|
+
/**
|
|
141
|
+
* Count only functions of this type (`'formula'`, `'macro'`, `'autoRun'`).
|
|
142
|
+
*
|
|
143
|
+
* @defaultValue every type.
|
|
144
|
+
*/
|
|
145
|
+
type?: string;
|
|
146
|
+
/**
|
|
147
|
+
* Count functions their descriptor marks deprecated (or hidden).
|
|
148
|
+
*
|
|
149
|
+
* @defaultValue `false`
|
|
150
|
+
*/
|
|
151
|
+
includeDeprecated?: boolean;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* One category and its population, as returned by {@link IFunctionCollection.getCategories}.
|
|
155
|
+
*/
|
|
156
|
+
interface Category {
|
|
157
|
+
/**
|
|
158
|
+
* The category as the descriptor spells it — `Math & Trig`, `Date & Time`, `Text`, …
|
|
159
|
+
*
|
|
160
|
+
* @remarks
|
|
161
|
+
* This is the IDENTITY (what {@link SearchOptions.category} matches, case-insensitively) and
|
|
162
|
+
* today it is also the display string. Localizing the label is a presentation concern: a picker
|
|
163
|
+
* maps the categories it knows to its own translated label + icon and falls back to this text
|
|
164
|
+
* for one it does not (a custom function's category, most likely).
|
|
165
|
+
*/
|
|
166
|
+
name: string;
|
|
167
|
+
/** How many functions are in it, after {@link GetCategoryOptions} filtering. */
|
|
168
|
+
count: number;
|
|
169
|
+
}
|
|
170
|
+
interface Events {
|
|
171
|
+
/**
|
|
172
|
+
* Called when the collection changes.
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* This is not used to capture individual item changes.
|
|
176
|
+
*/
|
|
177
|
+
onCollectionChange?(source: IFunctionCollection): void;
|
|
178
|
+
/**
|
|
179
|
+
* Transaction items have a close event.
|
|
180
|
+
*/
|
|
181
|
+
onClose?(source: IFunctionCollection): void;
|
|
182
|
+
}
|
|
183
|
+
interface IListeners extends IListener.Callbacks<IFunctionCollection, IFunctionCollection.Events> {
|
|
184
|
+
}
|
|
185
|
+
/**
|
|
186
|
+
* Add a custom function.
|
|
187
|
+
*/
|
|
188
|
+
interface AddOptions {
|
|
189
|
+
/**
|
|
190
|
+
* Required.
|
|
191
|
+
*
|
|
192
|
+
* @param args
|
|
193
|
+
* @returns the value of the function.
|
|
194
|
+
*/
|
|
195
|
+
execute: (args: any[]) => any;
|
|
196
|
+
/**
|
|
197
|
+
* Required.
|
|
198
|
+
*/
|
|
199
|
+
declaration: IFunction.DeclarationJSON;
|
|
200
|
+
/**
|
|
201
|
+
* Configuration for UI descriptor.
|
|
202
|
+
* @param locale
|
|
203
|
+
* @returns
|
|
204
|
+
*/
|
|
205
|
+
descriptor?: IFunction.DescriptorJSON | ((locale?: string) => Promise<IFunction.DescriptorJSON>);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
//# sourceMappingURL=IFunctionCollection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFunctionCollection.d.ts","sourceRoot":"","sources":["../../../../src/scripting/IFunctionCollection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,WAAW,CAAC,SAAS,CAAC;IACjE;;;;;;;;OAQG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,GAAG,mBAAmB,CAAC,UAAU,GAAG,OAAO,CAAC,SAAS,CAAC,CAAC;IACrF;;;;;;;;;;;;;;;;;;;;;;OAsBG;IACH,MAAM,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC,aAAa,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IAC1E;;;;;;;;;;;;;;OAcG;IACH,aAAa,CAAC,OAAO,CAAC,EAAE,mBAAmB,CAAC,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,CAAC;IACzG;;;;;;;;;;;;;OAaG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,CAAC,gBAAgB,GAAG,SAAS,GAAG,IAAI,CAAC;CAC3F;AAED;;;;;;GAMG;AACH,yBAAiB,mBAAmB,CAAC;IAEnC;;OAEG;IACH,UAAiB,gBAAgB;QAC/B;;;;;WAKG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,aAAa;QAC5B;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;;;;WAKG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;WAEG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAGlB,IAAI,CAAC,EAAE,MAAM,CAAC;QAId;;;;;;;;;;WAUG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;QAC5B;;;;;;;WAOG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,kBAAkB;QACjC;;;;WAIG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;;;WAIG;QACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;KAC7B;IAED;;OAEG;IACH,UAAiB,QAAQ;QACvB;;;;;;;;WAQG;QACH,IAAI,EAAE,MAAM,CAAC;QACb,gFAAgF;QAChF,KAAK,EAAE,MAAM,CAAC;KACf;IAED,UAAiB,MAAM;QACrB;;;;;WAKG;QACH,kBAAkB,CAAC,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC;QACvD;;WAEG;QACH,OAAO,CAAC,CAAC,MAAM,EAAE,mBAAmB,GAAG,IAAI,CAAC;KAC7C;IAED,UAAiB,UAAW,SAAQ,SAAS,CAAC,SAAS,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,MAAM,CAAC;KAAG;IAE3G;;OAEG;IAGH,UAAiB,UAAU;QACzB;;;;;WAKG;QACH,OAAO,EAAE,CAAC,IAAI,EAAE,GAAG,EAAE,KAAK,GAAG,CAAC;QAC9B;;WAEG;QACH,WAAW,EAAE,SAAS,CAAC,eAAe,CAAC;QACvC;;;;WAIG;QACH,UAAU,CAAC,EAAE,SAAS,CAAC,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,CAAC;KAClG;CACF"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { CompileOptions as _CompileOptions, CompileResult as _CompileResult, CompiledModule, Diagnostic as _Diagnostic } from '@sheetxl/scripting';
|
|
2
|
+
import { IListener } from '../listener';
|
|
3
|
+
import { IFunctionCollection } from './IFunctionCollection';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a collection of functions. This is analogous to a file.
|
|
6
|
+
*/
|
|
7
|
+
export interface IModule {
|
|
8
|
+
/**
|
|
9
|
+
* Returns the functions in the module.
|
|
10
|
+
*
|
|
11
|
+
* @remarks
|
|
12
|
+
* This maybe be empty even if there is source. It is possible that a script might contain only comments or other non-executable code.
|
|
13
|
+
*/
|
|
14
|
+
getFunctions(): IFunctionCollection;
|
|
15
|
+
/**
|
|
16
|
+
* The human-readable source code of the script.
|
|
17
|
+
*
|
|
18
|
+
* @remarks
|
|
19
|
+
* If this property is null, the module may still have compiled functions.
|
|
20
|
+
*/
|
|
21
|
+
getSource(): string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The language the function is written in.
|
|
24
|
+
*/
|
|
25
|
+
getLanguage(): string;
|
|
26
|
+
/**
|
|
27
|
+
* Returns the error-severity diagnostics for the module (a subset of {@link IModule.getDiagnostics}).
|
|
28
|
+
*/
|
|
29
|
+
getErrors(): any[];
|
|
30
|
+
/**
|
|
31
|
+
* Returns all positioned diagnostics (errors + warnings) produced when the module was compiled.
|
|
32
|
+
*/
|
|
33
|
+
getDiagnostics(): _Diagnostic[];
|
|
34
|
+
getId?(): string;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the module.
|
|
37
|
+
*/
|
|
38
|
+
getName(): string;
|
|
39
|
+
/**
|
|
40
|
+
* Remove the module from the collection.
|
|
41
|
+
*/
|
|
42
|
+
delete(): void;
|
|
43
|
+
/**
|
|
44
|
+
* Returns a JSON representation of the module.
|
|
45
|
+
*/
|
|
46
|
+
toJSON(): IModule.JSON;
|
|
47
|
+
addListeners(listeners: IModule.IListeners, options?: IListener.Options): IListener.Remove;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* {@inheritDoc IModule}
|
|
51
|
+
* @see
|
|
52
|
+
* ### **Interface**
|
|
53
|
+
*
|
|
54
|
+
* {@link IModule}
|
|
55
|
+
*/
|
|
56
|
+
export declare namespace IModule {
|
|
57
|
+
/**
|
|
58
|
+
* Results for compiling a module.
|
|
59
|
+
*/
|
|
60
|
+
type CompileResult = _CompileResult;
|
|
61
|
+
/**
|
|
62
|
+
* Options for compiling a module.
|
|
63
|
+
*/
|
|
64
|
+
type CompileOptions = _CompileOptions;
|
|
65
|
+
/**
|
|
66
|
+
* Used to serialize a module.
|
|
67
|
+
*/
|
|
68
|
+
type JSON = CompiledModule;
|
|
69
|
+
/**
|
|
70
|
+
* A positioned compile diagnostic (error or warning).
|
|
71
|
+
*/
|
|
72
|
+
type Diagnostic = _Diagnostic;
|
|
73
|
+
interface Events {
|
|
74
|
+
/**
|
|
75
|
+
* When delete is called
|
|
76
|
+
*/
|
|
77
|
+
onDelete?(source: IModule): void;
|
|
78
|
+
}
|
|
79
|
+
interface IListeners extends IListener.Callbacks<IModule, IModule.Events> {
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
//# sourceMappingURL=IModule.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IModule.d.ts","sourceRoot":"","sources":["../../../../src/scripting/IModule.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,IAAI,eAAe,EACtC,KAAK,aAAa,IAAI,cAAc,EACpC,KAAK,cAAc,EAAE,KAAK,UAAU,IAAI,WAAW,EACpD,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;;;;OAKG;IACH,YAAY,IAAI,mBAAmB,CAAC;IACpC;;;;;OAKG;IACH,SAAS,IAAI,MAAM,GAAG,IAAI,CAAC;IAC3B;;OAEG;IACH,WAAW,IAAI,MAAM,CAAC;IAEtB;;OAEG;IACH,SAAS,IAAI,GAAG,EAAE,CAAC;IAEnB;;OAEG;IACH,cAAc,IAAI,WAAW,EAAE,CAAC;IAEhC,KAAK,CAAC,IAAI,MAAM,CAAC;IACjB;;OAEG;IACH,OAAO,IAAI,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,IAAI,IAAI,CAAC;IAEf;;OAEG;IACH,MAAM,IAAK,OAAO,CAAC,IAAI,CAAC;IAExB,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC;CAK5F;AAED;;;;;;GAMG;AACH,yBAAiB,OAAO,CAAC;IAEvB;;OAEG;IACH,KAAY,aAAa,GAAG,cAAc,CAAC;IAE3C;;OAEG;IACH,KAAY,cAAc,GAAG,eAAe,CAAC;IAE7C;;OAEG;IACH,KAAY,IAAI,GAAG,cAAc,CAAC;IAElC;;OAEG;IACH,KAAY,UAAU,GAAG,WAAW,CAAC;IAErC,UAAiB,MAAM;QACrB;;WAEG;QACH,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;KAClC;IAED,UAAiB,UAAW,SAAQ,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC;KAAG;CACpF"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { ICollection } from '../type';
|
|
2
|
+
import { IListener } from '../listener';
|
|
3
|
+
import { IModule } from './IModule';
|
|
4
|
+
/**
|
|
5
|
+
* Represents a collection of functions. This is analogous to a file.
|
|
6
|
+
*/
|
|
7
|
+
export interface IModuleCollection extends ICollection<IModule> {
|
|
8
|
+
/**
|
|
9
|
+
* Adds the module to the collection.
|
|
10
|
+
*
|
|
11
|
+
* @param uid A unique identifier for the module. This can be either a name, a fully qualified path, or a url (e.g., a file name, a Git url with commit ID).
|
|
12
|
+
* @param module The module to add. This will generally come from IScript.createModule.
|
|
13
|
+
* @param options The options for adding the module.
|
|
14
|
+
*/
|
|
15
|
+
add(uid: string, module: IModule, options?: IModuleCollection.AddOptions): void;
|
|
16
|
+
/**
|
|
17
|
+
* Returns functions that match the filter criteria.
|
|
18
|
+
*
|
|
19
|
+
* If no filter criteria is provided, all items will be returned.
|
|
20
|
+
*
|
|
21
|
+
* @param options {@link IModuleCollection.GetItemsOptions}
|
|
22
|
+
*/
|
|
23
|
+
getItems(options?: IModuleCollection.GetItemsOptions): IModule[];
|
|
24
|
+
/**
|
|
25
|
+
* Convenience method for filtering by name.
|
|
26
|
+
* This is functionally equivalent to getItems({ name });
|
|
27
|
+
*
|
|
28
|
+
* @param name The name to search for This is case insensitive.
|
|
29
|
+
*/
|
|
30
|
+
getByName(name: string): IModule | null;
|
|
31
|
+
/**
|
|
32
|
+
* Add Listeners.
|
|
33
|
+
*
|
|
34
|
+
* @see
|
|
35
|
+
* {@link IListener.ISource.addListeners}
|
|
36
|
+
*/
|
|
37
|
+
addListeners(listeners: IModuleCollection.IListeners, options?: IListener.Options): IListener.Remove;
|
|
38
|
+
/**
|
|
39
|
+
* Returns a JSON representation of the module collection.
|
|
40
|
+
*/
|
|
41
|
+
toJSON(): Record<string, IModule.JSON>;
|
|
42
|
+
}
|
|
43
|
+
export declare namespace IModuleCollection {
|
|
44
|
+
interface AddOptions {
|
|
45
|
+
/**
|
|
46
|
+
* If true, the module will be added to the collection even if it already exists.
|
|
47
|
+
*/
|
|
48
|
+
replace?: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* If true, the module will be added to the collection even if it has errors.
|
|
51
|
+
*/
|
|
52
|
+
ignoreErrors?: boolean;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Options for filtering a function in the collection.
|
|
56
|
+
*/
|
|
57
|
+
interface GetItemsOptions extends ICollection.GetItemsOptions {
|
|
58
|
+
/**
|
|
59
|
+
* Search with the given name. This is case insensitive.
|
|
60
|
+
*/
|
|
61
|
+
name?: string;
|
|
62
|
+
}
|
|
63
|
+
interface Events {
|
|
64
|
+
/**
|
|
65
|
+
* Called when the collection changes.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* This is not used to capture individual item changes.
|
|
69
|
+
*/
|
|
70
|
+
onCollectionChange?(source: IModuleCollection): void;
|
|
71
|
+
/**
|
|
72
|
+
* Transaction items have a close event.
|
|
73
|
+
*/
|
|
74
|
+
onClose?(source: IModuleCollection): void;
|
|
75
|
+
}
|
|
76
|
+
interface IListeners extends IListener.Callbacks<IModuleCollection, IModuleCollection.Events> {
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=IModuleCollection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IModuleCollection.d.ts","sourceRoot":"","sources":["../../../../src/scripting/IModuleCollection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,SAAS,CAAC;AAC3C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,WAAW,CAAC,OAAO,CAAC;IAC7D;;;;;;OAMG;IACH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GAAG,IAAI,CAAC;IAChF;;;;;;OAMG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC,eAAe,GAAG,OAAO,EAAE,CAAC;IACjE;;;;;OAKG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI,CAAC;IACxC;;;;;OAKG;IACH,YAAY,CAAC,SAAS,EAAE,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC;IAErG;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CACxC;AAED,yBAAiB,iBAAiB,CAAC;IACjC,UAAiB,UAAU;QACzB;;WAEG;QAEH,OAAO,CAAC,EAAE,OAAO,CAAC;QAClB;;WAEG;QACH,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB;IAEC;;KAEC;IACH,UAAiB,eAAgB,SAAQ,WAAW,CAAC,eAAe;QAClE;;WAEG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;KAGf;IAED,UAAiB,MAAM;QACrB;;;;;WAKG;QACH,kBAAkB,CAAC,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;QACrD;;WAEG;QACH,OAAO,CAAC,CAAC,MAAM,EAAE,iBAAiB,GAAG,IAAI,CAAC;KAC3C;IAED,UAAiB,UAAW,SAAQ,SAAS,CAAC,SAAS,CAAC,iBAAiB,EAAE,iBAAiB,CAAC,MAAM,CAAC;KAAG;CACxG"}
|
|
@@ -0,0 +1,289 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/primitives';
|
|
2
|
+
import { ILogger, LogRenderer } from '@sheetxl/utils';
|
|
3
|
+
import { IListener } from '../listener';
|
|
4
|
+
import { IWorkbook } from '../workbook';
|
|
5
|
+
import { ITransaction } from '../transaction';
|
|
6
|
+
import { IFunctionCollection } from './IFunctionCollection';
|
|
7
|
+
import { IModule } from './IModule';
|
|
8
|
+
import { IModuleCollection } from './IModuleCollection';
|
|
9
|
+
/**
|
|
10
|
+
* Contains interfaces for working with scripts.
|
|
11
|
+
*
|
|
12
|
+
* @remarks
|
|
13
|
+
* Scripts are collections of modules that contain functions.
|
|
14
|
+
*
|
|
15
|
+
* Modules are analogous to files, and functions are the executable code within those modules.
|
|
16
|
+
*/
|
|
17
|
+
export interface IScript {
|
|
18
|
+
/**
|
|
19
|
+
* Returns a collection of modules.
|
|
20
|
+
*/
|
|
21
|
+
getModules(): IModuleCollection;
|
|
22
|
+
/**
|
|
23
|
+
* Creates a module from the source code.
|
|
24
|
+
*
|
|
25
|
+
* @param options
|
|
26
|
+
*/
|
|
27
|
+
createModule(options?: IModule.CompileOptions): Promise<IModule | null>;
|
|
28
|
+
/**
|
|
29
|
+
* Adds a module to the script.
|
|
30
|
+
* @param uid
|
|
31
|
+
* @param module
|
|
32
|
+
* @param options
|
|
33
|
+
*/
|
|
34
|
+
addModule(uid: string, module: IModule, options?: IModuleCollection.AddOptions): void;
|
|
35
|
+
/**
|
|
36
|
+
* Registers a **pre-compiled** module from its {@link IModule.JSON} (the execute-half of
|
|
37
|
+
* {@link createModule}, with NO TypeScript compiler loaded).
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* Builds the module via the compiler-free `data:` URL path (same as {@link run} with a `IModule.JSON`) and adds it
|
|
41
|
+
* to the collection. This is how a CSP-restricted host (the VS Code webview, which cannot compile)
|
|
42
|
+
* persists an edited macro into the live workbook: the editor compiles on Node and ships the
|
|
43
|
+
* compiled module here to register.
|
|
44
|
+
*
|
|
45
|
+
* @param uid Stable id the module is stored/serialized under.
|
|
46
|
+
* @param json A compiled module ({@link IModule.JSON}) — the `module` of a `CompileResult`.
|
|
47
|
+
* @param options {@link IModuleCollection.AddOptions}
|
|
48
|
+
*/
|
|
49
|
+
addModuleFromJSON(uid: string, json: IModule.JSON, options?: IModuleCollection.AddOptions): Promise<IModule>;
|
|
50
|
+
/**
|
|
51
|
+
* Executes a macro function - the **user-invoked** entry point.
|
|
52
|
+
*
|
|
53
|
+
* @remarks
|
|
54
|
+
* The macro's target comes from the selection (the sheet, the ranges, the range - whichever its
|
|
55
|
+
* first parameter declares), and so does where its result goes: a returned value is written into
|
|
56
|
+
* the selection ({@link IScript.RunOptions.applyResult}, on by default here and only here). To run
|
|
57
|
+
* a script for its *answer* rather than its effect, use {@link run}.
|
|
58
|
+
*
|
|
59
|
+
* @param functionName The name of the function to execute.
|
|
60
|
+
* @param moduleId The ID of the module containing the function.
|
|
61
|
+
* @param options {@link IScript.RunOptions}
|
|
62
|
+
*/
|
|
63
|
+
executeMacro(functionName: string, moduleId?: string, options?: IScript.RunOptions): Promise<IScript.MacroResults>;
|
|
64
|
+
/**
|
|
65
|
+
* Runs a script's entry once against the workbook - the "make a change" primitive.
|
|
66
|
+
*
|
|
67
|
+
* @remarks
|
|
68
|
+
* Unlike {@link IFunctionCollection.add} (which registers a reusable function), this is a one-shot:
|
|
69
|
+
* the entry runs inside a single transaction and nothing is registered. That transaction becomes
|
|
70
|
+
* an undo entry only if the entry actually wrote something - a run that only reads elides, so
|
|
71
|
+
* there is no commit id, no event and nothing on the undo stack. The entry's return value is the
|
|
72
|
+
* caller's *result*: it is reported back, never written into the workbook (contrast
|
|
73
|
+
* {@link executeMacro}, the user-invoked path, which puts it at the selection). The entry
|
|
74
|
+
* is the default export, authored as `export default function (ctx: IScript.ScriptContext) { ... }`
|
|
75
|
+
* — one parameter, with the workbook as `ctx.wb`. A macro that wants "the selected" sheet/range
|
|
76
|
+
* instead takes that target first and the context second (`(sheet: ISheet, ctx)`).
|
|
77
|
+
* Changes are made via the workbook API in the body; observation is via `ctx.log`.
|
|
78
|
+
*
|
|
79
|
+
* Accepts either form of the same script:
|
|
80
|
+
* - **source** (`string`) — TypeScript, compiled here (needs the TS compiler).
|
|
81
|
+
* - **compiled** ({@link IModule.JSON}) — an already-compiled module, run with NO compiler. This is
|
|
82
|
+
* the CSP-safe path for hosts that compile elsewhere: the VS Code webview's CSP blocks the
|
|
83
|
+
* CDN-loaded compiler, so the MCP server compiles on Node and ships the compiled module here for
|
|
84
|
+
* execution via a `data:` URL. (The compiler filters error-severity diagnostics before shipping,
|
|
85
|
+
* so a compiled module passed here is expected to be runnable.)
|
|
86
|
+
*
|
|
87
|
+
* @param script TypeScript source, or a compiled {@link IModule.JSON} (the `module` of a `CompileResult`).
|
|
88
|
+
* @param options {@link IScript.RunOptions}
|
|
89
|
+
*/
|
|
90
|
+
run(script: string | IModule.JSON, options?: IScript.RunOptions): Promise<IScript.RunResults>;
|
|
91
|
+
/**
|
|
92
|
+
* Will start scripting engine and autoRun scripts.
|
|
93
|
+
*/
|
|
94
|
+
start(): Promise<void>;
|
|
95
|
+
/**
|
|
96
|
+
* Returns if the script is readonly.
|
|
97
|
+
*/
|
|
98
|
+
isReadOnly(): boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Convenience method for creating a module from a file.
|
|
101
|
+
*
|
|
102
|
+
* @remarks
|
|
103
|
+
* equivalent to `getModules().search( { type: 'macro', name } )`
|
|
104
|
+
*
|
|
105
|
+
* Searches every loaded module and — with {@link IScript.SearchOptions.includeBuiltIn} — the
|
|
106
|
+
* built-in functions, as ONE list: {@link IScript.SearchOptions.limit} and the relevance ordering
|
|
107
|
+
* of {@link IFunctionCollection.search} apply to the union, not to each source separately.
|
|
108
|
+
*/
|
|
109
|
+
searchFunctions(options?: IScript.SearchOptions): Promise<IFunction[]>;
|
|
110
|
+
/**
|
|
111
|
+
* The categories the searchable functions declare, each with how many functions carry it.
|
|
112
|
+
*
|
|
113
|
+
* @param options {@link IScript.GetCategoryOptions}
|
|
114
|
+
*
|
|
115
|
+
* @returns The categories, ordered by name; counts are summed across every source searched.
|
|
116
|
+
*
|
|
117
|
+
* @remarks
|
|
118
|
+
* The workbook-level {@link IFunctionCollection.getCategories} — a function picker builds its
|
|
119
|
+
* category list from this, so a module's custom functions show up in it (in their own category, or
|
|
120
|
+
* swelling the count of a built-in one they declare).
|
|
121
|
+
*/
|
|
122
|
+
getFunctionCategories(options?: IScript.GetCategoryOptions): Promise<IFunctionCollection.Category[]>;
|
|
123
|
+
/**
|
|
124
|
+
* Add Listeners.
|
|
125
|
+
*
|
|
126
|
+
* @see
|
|
127
|
+
* {@link IListener.ISource.addListeners}
|
|
128
|
+
*/
|
|
129
|
+
addListeners(listeners: IScript.IListeners, options?: IListener.Options): IListener.Remove;
|
|
130
|
+
/**
|
|
131
|
+
* Returns a JSON representation of the script.
|
|
132
|
+
*/
|
|
133
|
+
toJSON(): Record<string, IModule.JSON>;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* {@inheritDoc IFunctionCollection}
|
|
137
|
+
* @see
|
|
138
|
+
* ### **Interface**
|
|
139
|
+
*
|
|
140
|
+
* {@link IFunctionCollection}
|
|
141
|
+
*/
|
|
142
|
+
export declare namespace IScript {
|
|
143
|
+
/**
|
|
144
|
+
* Events for {@link ISheet}.
|
|
145
|
+
*/
|
|
146
|
+
interface Events {
|
|
147
|
+
/**
|
|
148
|
+
* Called before search.
|
|
149
|
+
*/
|
|
150
|
+
onBeforeSearch?(source: IScript): Promise<void> | void;
|
|
151
|
+
/**
|
|
152
|
+
* Called after load.
|
|
153
|
+
*/
|
|
154
|
+
onChange?(source: IScript): void;
|
|
155
|
+
/**
|
|
156
|
+
* Called before load. If any exception is thrown this
|
|
157
|
+
* exception will be returned to the client and delete will be aborted.
|
|
158
|
+
*/
|
|
159
|
+
onBeforeSave?(source: IScript): Promise<void> | void;
|
|
160
|
+
/**
|
|
161
|
+
* Called after save.
|
|
162
|
+
*/
|
|
163
|
+
onSave?(source: IScript): void;
|
|
164
|
+
}
|
|
165
|
+
interface IListeners extends IListener.Callbacks<IScript, IScript.Events> {
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* The results from a macro script
|
|
169
|
+
*/
|
|
170
|
+
interface MacroResults {
|
|
171
|
+
params: any[];
|
|
172
|
+
results: any;
|
|
173
|
+
/**
|
|
174
|
+
* The id of the transaction this macro committed - use with
|
|
175
|
+
* {@link ITransaction.IStore.revert}/`restore` to undo or reapply.
|
|
176
|
+
*/
|
|
177
|
+
commitId?: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* The execution context passed as the second argument to a script entry
|
|
181
|
+
* (`export default function (workbook, ctx)`).
|
|
182
|
+
*
|
|
183
|
+
* @remarks
|
|
184
|
+
* These five members are the run context on every transport — and the implicit
|
|
185
|
+
* globals of an inline snippet: `wb`, `log`, `warn`, `error`, `args`.
|
|
186
|
+
*/
|
|
187
|
+
interface ScriptContext {
|
|
188
|
+
/** The workbook the script is running against. */
|
|
189
|
+
wb: IWorkbook;
|
|
190
|
+
/**
|
|
191
|
+
* The reporting channel - findings and results.
|
|
192
|
+
*
|
|
193
|
+
* @remarks
|
|
194
|
+
* Variadic and value-taking, like `console.log`: `log('rows:', n)` and `log(range.getStats())`
|
|
195
|
+
* both work. An SDK object (workbook, sheet, range, cell, stats, regions, style) renders as its
|
|
196
|
+
* markdown report - the same report returning it would produce.
|
|
197
|
+
*/
|
|
198
|
+
log(...args: any[]): void;
|
|
199
|
+
/** Diagnostics: something surprising but survivable. Travels separately from {@link log}. */
|
|
200
|
+
warn(...args: any[]): void;
|
|
201
|
+
/** Diagnostics: something wrong. Travels separately from {@link log}. */
|
|
202
|
+
error(...args: any[]): void;
|
|
203
|
+
/** Optional caller-supplied arguments (CLI: everything after `--`; MCP: the `args` object). */
|
|
204
|
+
args?: Record<string, any>;
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Options for {@link IScript.run}.
|
|
208
|
+
*
|
|
209
|
+
* @remarks
|
|
210
|
+
* Extends {@link ITransaction.OperationOptions}, so a caller can name the resulting transaction
|
|
211
|
+
* (`description`) - this is the label the UI shows for undo/redo - and control `autoSelect`. When
|
|
212
|
+
* `description` is omitted the label falls to the entry's JSDoc summary, then to
|
|
213
|
+
* {@link defaultDescription}, then to the entry's name.
|
|
214
|
+
*/
|
|
215
|
+
interface RunOptions extends ITransaction.OperationOptions {
|
|
216
|
+
/**
|
|
217
|
+
* The label to use when neither the caller nor the code names the change — a FLOOR, not an
|
|
218
|
+
* override.
|
|
219
|
+
*
|
|
220
|
+
* @remarks
|
|
221
|
+
* `description` outranks the entry's JSDoc summary, which is right for a caller naming a specific
|
|
222
|
+
* change and wrong for a host supplying a generic default: passing "Agent Update" as the
|
|
223
|
+
* `description` throws away the summary of every documented script it runs. Hence two options and
|
|
224
|
+
* one order — `description`, then the summary, then this, then the entry's name.
|
|
225
|
+
*/
|
|
226
|
+
defaultDescription?: string;
|
|
227
|
+
/** Output channel; defaults to a console logger. A host may pass a `BufferLogger` to capture. */
|
|
228
|
+
logger?: ILogger;
|
|
229
|
+
/** Arguments exposed to the script via `ctx.args`. */
|
|
230
|
+
args?: Record<string, any>;
|
|
231
|
+
/**
|
|
232
|
+
* Writes the entry's return value into the current selection.
|
|
233
|
+
*
|
|
234
|
+
* @defaultValue false
|
|
235
|
+
*
|
|
236
|
+
* @remarks
|
|
237
|
+
* The user-invoked macro affordance: a macro run from the UI that returns a value (or an
|
|
238
|
+
* {@link ICell}/{@link ICellRange}) puts it where the user is. {@link IScript.executeMacro} sets
|
|
239
|
+
* it; {@link IScript.run} does not, because a programmatic caller's return value is its
|
|
240
|
+
* *answer* - `run("wb.getRange('A1:B2').getValues()")` is a read, and pasting its result at the
|
|
241
|
+
* selection would make every read an edit.
|
|
242
|
+
*/
|
|
243
|
+
applyResult?: boolean;
|
|
244
|
+
/**
|
|
245
|
+
* Renders an SDK object logged by the script as its markdown report.
|
|
246
|
+
*
|
|
247
|
+
* @remarks
|
|
248
|
+
* Injected because the renderer registry lives in `@sheetxl/query`, which depends on this
|
|
249
|
+
* package. Hosts pass a closure over `renderMarkdown` and its workbook; without it, logged
|
|
250
|
+
* objects fall back to JSON.
|
|
251
|
+
*/
|
|
252
|
+
render?: LogRenderer;
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* The result of {@link IScript.run}.
|
|
256
|
+
*/
|
|
257
|
+
interface RunResults {
|
|
258
|
+
/** True if the script ran without throwing. */
|
|
259
|
+
ok: boolean;
|
|
260
|
+
/** The script entry's return value, if any. */
|
|
261
|
+
result?: any;
|
|
262
|
+
/** The committed transaction id (for revert/restore), if a change was made. */
|
|
263
|
+
commitId?: string;
|
|
264
|
+
/** The error, if `ok` is false. */
|
|
265
|
+
error?: any;
|
|
266
|
+
/**
|
|
267
|
+
* Positioned compile diagnostics, if the script failed to compile.
|
|
268
|
+
*
|
|
269
|
+
* @remarks
|
|
270
|
+
* Present when `ok` is false due to compile errors. Lets callers render `line:col` + code rather
|
|
271
|
+
* than only the flattened {@link RunResults.error} message.
|
|
272
|
+
*/
|
|
273
|
+
diagnostics?: IModule.Diagnostic[];
|
|
274
|
+
}
|
|
275
|
+
interface SearchOptions extends IFunctionCollection.SearchOptions {
|
|
276
|
+
moduleName?: string;
|
|
277
|
+
includeBuiltIn?: boolean;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Options for {@link IScript.getFunctionCategories}.
|
|
281
|
+
*/
|
|
282
|
+
interface GetCategoryOptions extends IFunctionCollection.GetCategoryOptions {
|
|
283
|
+
/** Restrict to one module's functions. */
|
|
284
|
+
moduleName?: string;
|
|
285
|
+
/** Include the categories of the built-in functions. */
|
|
286
|
+
includeBuiltIn?: boolean;
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
//# sourceMappingURL=IScript.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IScript.d.ts","sourceRoot":"","sources":["../../../../src/scripting/IScript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAEhE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;;;;;;GAOG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,UAAU,IAAI,iBAAiB,CAAC;IAEhC;;;;OAIG;IACH,YAAY,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAExE;;;;;OAKG;IACH,SAAS,CACP,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GACrC,IAAI,CAAC;IAER;;;;;;;;;;;;;OAaG;IACH,iBAAiB,CACf,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GACrC,OAAO,CAAC,OAAO,CAAC,CAAC;IAEpB;;;;;;;;;;;;OAYG;IACH,YAAY,CACV,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,GAC3B,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;IAEjC;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC;IAE9F;;OAEG;IAEH,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAQvB;;OAEG;IAEH,UAAU,IAAI,OAAO,CAAC;IACtB;;;;;;;;;OASG;IACH,eAAe,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;IACvE;;;;;;;;;;;OAWG;IACH,qBAAqB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC,CAAC;IAErG;;;;;OAKG;IACH,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM,CAAC;IAE3F;;OAEG;IACH,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;CACxC;AAED;;;;;;GAMG;AACH,yBAAiB,OAAO,CAAC;IAEvB;;OAEG;IACH,UAAiB,MAAM;QACrB;;WAEG;QACH,cAAc,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;QACvD;;WAEG;QACH,QAAQ,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;QACjC;;;WAGG;QACH,YAAY,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,GAAG,IAAI,CAAC;QACrD;;WAEG;QACH,MAAM,CAAC,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI,CAAC;KAChC;IAED,UAAiB,UAAW,SAAQ,SAAS,CAAC,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,MAAM,CAAC;KAAG;IAEnF;;OAEG;IACH,UAAiB,YAAY;QAC3B,MAAM,EAAE,GAAG,EAAE,CAAC;QACd,OAAO,EAAE,GAAG,CAAC;QACb;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;KACnB;IAED;;;;;;;OAOG;IACH,UAAiB,aAAa;QAC5B,kDAAkD;QAClD,EAAE,EAAE,SAAS,CAAC;QACd;;;;;;;WAOG;QACH,GAAG,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC1B,6FAA6F;QAC7F,IAAI,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC3B,yEAAyE;QACzE,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QAC5B,+FAA+F;QAC/F,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC5B;IAED;;;;;;;;OAQG;IACH,UAAiB,UAAW,SAAQ,YAAY,CAAC,gBAAgB;QAC/D;;;;;;;;;WASG;QACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;QAC5B,iGAAiG;QACjG,MAAM,CAAC,EAAE,OAAO,CAAC;QACjB,sDAAsD;QACtD,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC3B;;;;;;;;;;;WAWG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;QACtB;;;;;;;WAOG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,UAAU;QACzB,+CAA+C;QAC/C,EAAE,EAAE,OAAO,CAAC;QACZ,+CAA+C;QAC/C,MAAM,CAAC,EAAE,GAAG,CAAC;QACb,+EAA+E;QAC/E,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,mCAAmC;QACnC,KAAK,CAAC,EAAE,GAAG,CAAC;QACZ;;;;;;WAMG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC,UAAU,EAAE,CAAC;KACpC;IAcD,UAAiB,aAAc,SAAQ,mBAAmB,CAAC,aAAa;QAEtE,UAAU,CAAC,EAAE,MAAM,CAAA;QAEnB,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B;IAED;;OAEG;IACH,UAAiB,kBAAmB,SAAQ,mBAAmB,CAAC,kBAAkB;QAChF,0CAA0C;QAC1C,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,wDAAwD;QACxD,cAAc,CAAC,EAAE,OAAO,CAAC;KAC1B;CACF"}
|