@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,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Provides interfaces for defining and working with functions at runtime, including metadata for
|
|
3
|
+
* function declarations and execution scripts.
|
|
4
|
+
*/
|
|
5
|
+
export declare namespace ITypedFunction {
|
|
6
|
+
/**
|
|
7
|
+
* Describes the execution context required by the function.
|
|
8
|
+
*/
|
|
9
|
+
const Context: {
|
|
10
|
+
/**
|
|
11
|
+
* The selected workbook.
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* `IWorkbook` will be passed as the first argument to `execute`.
|
|
15
|
+
*/
|
|
16
|
+
readonly Workbook: "workbook";
|
|
17
|
+
/**
|
|
18
|
+
* The selected sheet.
|
|
19
|
+
*
|
|
20
|
+
* @remarks
|
|
21
|
+
* `ISheet` will be passed as the first argument to `execute`.
|
|
22
|
+
*/
|
|
23
|
+
readonly Sheet: "sheet";
|
|
24
|
+
/**
|
|
25
|
+
* The selected ranges.
|
|
26
|
+
*
|
|
27
|
+
* @remarks
|
|
28
|
+
* `ICellRanges` will be passed as the first argument to `execute`.
|
|
29
|
+
*/
|
|
30
|
+
readonly Ranges: "ranges";
|
|
31
|
+
/**
|
|
32
|
+
* The selected ranges.
|
|
33
|
+
*
|
|
34
|
+
* @remarks
|
|
35
|
+
* `ICellRange` will be passed as the first argument to `execute`.
|
|
36
|
+
*/
|
|
37
|
+
readonly Range: "range";
|
|
38
|
+
/**
|
|
39
|
+
* The script context alone - no target argument.
|
|
40
|
+
*
|
|
41
|
+
* @remarks
|
|
42
|
+
* `IScript.ScriptContext` will be passed as the ONLY argument to `execute`, so the entry reads
|
|
43
|
+
* `export default function main(ctx: IScript.ScriptContext)`. The workbook is still reachable
|
|
44
|
+
* (`ctx.wb`), which is what makes this signature portable: the same one-parameter entry runs as
|
|
45
|
+
* a macro here and as a runner script on the CLI.
|
|
46
|
+
*
|
|
47
|
+
* The other contexts pass their target first and the script context after it; this one is the
|
|
48
|
+
* degenerate case where the target *is* the context.
|
|
49
|
+
*/
|
|
50
|
+
readonly Script: "script";
|
|
51
|
+
/**
|
|
52
|
+
* The calculation context.
|
|
53
|
+
*
|
|
54
|
+
* @remarks
|
|
55
|
+
* `ICalculation.IContext` will be passed as the first argument to `execute`.
|
|
56
|
+
*/
|
|
57
|
+
readonly Calculation: "calculation";
|
|
58
|
+
};
|
|
59
|
+
type Context = typeof Context[keyof typeof Context];
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=ITypedFunction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ITypedFunction.d.ts","sourceRoot":"","sources":["../../../../src/scripting/ITypedFunction.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,yBAAiB,cAAc,CAAC;IAE9B;;OAEG;IACI,MAAM,OAAO;QAClB;;;;;WAKG;;QAEH;;;;;WAKG;;QAEH;;;;;WAKG;;QAEH;;;;;WAKG;;QAEH;;;;;;;;;;;WAWG;;QAEH;;;;;WAKG;;KAEK,CAAC;IACX,KAAY,OAAO,GAAG,OAAO,OAAO,CAAC,MAAM,OAAO,OAAO,CAAC,CAAC;CAE5D"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { IFunction, IFormulaContext } from '@sheetxl/primitives';
|
|
2
|
+
import { TypedFunction } from './TypedFunction';
|
|
3
|
+
export declare class MacroFunction extends TypedFunction {
|
|
4
|
+
/**
|
|
5
|
+
* When set, the compiled body is loaded lazily on first {@link execute} instead of at construction —
|
|
6
|
+
* so opening a workbook doesn't import or run the JS of macros the user hasn't invoked. Resolved once.
|
|
7
|
+
*/
|
|
8
|
+
private _fnLoader?;
|
|
9
|
+
constructor(json: IFunction.DeclarationJSON, fn: (...args: any) => any, getContext: () => IFormulaContext | null | undefined, desc?: IFunction.DescriptorJSON | ((locale?: string) => Promise<IFunction.DescriptorJSON>) | null, builtIn?: boolean, fnLoader?: () => Promise<(...args: any) => any>);
|
|
10
|
+
/** Resolves the deferred compiled body (if any) and binds it as `_fn`. Safe to call repeatedly. */
|
|
11
|
+
private _ensureLoaded;
|
|
12
|
+
/** @inheritdoc IFunction.execute */
|
|
13
|
+
execute<T = any>(...args: any[]): T;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=MacroFunction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MacroFunction.d.ts","sourceRoot":"","sources":["../../../../src/scripting/MacroFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,KAAK,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAa3E,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAiBhD,qBAAa,aAAc,SAAQ,aAAa;IAE9C;;;OAGG;IACH,OAAO,CAAC,SAAS,CAAC,CAAuC;gBAGvD,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,EACzB,UAAU,EAAE,MAAM,eAAe,GAAG,IAAI,GAAG,SAAS,EACpD,IAAI,GAAE,SAAS,CAAC,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,GAAG,IAAW,EACvG,OAAO,GAAE,OAAa,EACtB,QAAQ,CAAC,EAAE,MAAM,OAAO,CAAC,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IAYjD,mGAAmG;YACrF,aAAa;IAO3B,oCAAoC;IACpC,OAAO,CAAC,CAAC,GAAC,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC;CA8MlC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/primitives';
|
|
2
|
+
import { Diagnostic } from '@sheetxl/scripting';
|
|
3
|
+
import { IListener } from '../listener/';
|
|
4
|
+
import { ListenerEmitter } from '../listener/ListenerEmitter';
|
|
5
|
+
import { IModule } from './IModule';
|
|
6
|
+
import { IFunctionCollection } from './IFunctionCollection';
|
|
7
|
+
export declare class Module implements IModule {
|
|
8
|
+
protected _json: IModule.JSON;
|
|
9
|
+
protected _functions: IFunctionCollection;
|
|
10
|
+
/** Diagnostics are NOT part of the persisted JSON artifact; they are supplied by the compile. */
|
|
11
|
+
protected _diagnostics: Diagnostic[];
|
|
12
|
+
protected _emitter: ListenerEmitter<IModule, IModule.IListeners>;
|
|
13
|
+
protected _name: string;
|
|
14
|
+
constructor(options: {
|
|
15
|
+
json: IModule.JSON;
|
|
16
|
+
readonlyFunctions: Map<string, IFunction>;
|
|
17
|
+
name: string;
|
|
18
|
+
diagnostics?: Diagnostic[];
|
|
19
|
+
});
|
|
20
|
+
/** {@inheritDoc IModule.getName} */
|
|
21
|
+
getName(): string;
|
|
22
|
+
/** {@inheritDoc IModule.getFunctions} */
|
|
23
|
+
getFunctions(): IFunctionCollection;
|
|
24
|
+
/** {@inheritDoc IModule.getSource} */
|
|
25
|
+
getSource(): string | null;
|
|
26
|
+
/** {@inheritDoc IModule.getLanguage} */
|
|
27
|
+
getLanguage(): string;
|
|
28
|
+
/** {@inheritDoc IModule.getErrors} */
|
|
29
|
+
getErrors(): any[];
|
|
30
|
+
/** {@inheritDoc IModule.getDiagnostics} */
|
|
31
|
+
getDiagnostics(): Diagnostic[];
|
|
32
|
+
/** {@inheritDoc IModule.delete} */
|
|
33
|
+
delete(): void;
|
|
34
|
+
/** {@inheritDoc IModule.addListeners} */
|
|
35
|
+
addListeners(listeners: IModule.IListeners, options?: IListener.Options): IListener.Remove;
|
|
36
|
+
/** {@inheritDoc IModule.toJSON} */
|
|
37
|
+
toJSON(): IModule.JSON;
|
|
38
|
+
}
|
|
39
|
+
//# sourceMappingURL=Module.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Module.d.ts","sourceRoot":"","sources":["../../../../src/scripting/Module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAErD,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAIjE,qBAAa,MAAO,YAAW,OAAO;IACpC,SAAS,CAAC,KAAK,EAAE,OAAO,CAAC,IAAI,CAAC;IAC9B,SAAS,CAAC,UAAU,EAAE,mBAAmB,CAAC;IAC1C,iGAAiG;IACjG,SAAS,CAAC,YAAY,EAAE,UAAU,EAAE,CAAC;IAErC,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;IACjE,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC;gBAEZ,OAAO,EAAE;QAAE,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC;QAAC,iBAAiB,EAAE,GAAG,CAAC,MAAM,EAAE,SAAS,CAAC,CAAC;QAAC,IAAI,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;KAAE;IAgBhI,oCAAoC;IACpC,OAAO,IAAI,MAAM;IAIjB,yCAAyC;IACzC,YAAY,IAAI,mBAAmB;IAInC,sCAAsC;IACtC,SAAS,IAAI,MAAM,GAAG,IAAI;IAI1B,wCAAwC;IACxC,WAAW,IAAI,MAAM;IAIrB,sCAAsC;IACtC,SAAS,IAAI,GAAG,EAAE;IAIlB,2CAA2C;IAC3C,cAAc,IAAI,UAAU,EAAE;IAI9B,mCAAmC;IACnC,MAAM,IAAI,IAAI;IAId,yCAAyC;IACzC,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM;IAI1F,mCAAmC;IACnC,MAAM,IAAI,OAAO,CAAC,IAAI;CAGvB"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { ITransaction } from '../transaction';
|
|
2
|
+
import { IListener } from '../listener';
|
|
3
|
+
import { ListenerEmitter } from '../listener/ListenerEmitter';
|
|
4
|
+
import { IModule } from './IModule';
|
|
5
|
+
import { IModuleCollection } from './IModuleCollection';
|
|
6
|
+
/**
|
|
7
|
+
* Implementation for `IModuleCollection`.
|
|
8
|
+
*/
|
|
9
|
+
export declare class ModuleCollection implements IModuleCollection {
|
|
10
|
+
protected _emitter: ListenerEmitter<this, IModuleCollection.IListeners>;
|
|
11
|
+
private _options;
|
|
12
|
+
private _transactions;
|
|
13
|
+
private _stateId;
|
|
14
|
+
private _transactionsRemoveListener;
|
|
15
|
+
private _closed;
|
|
16
|
+
constructor(options: ModuleCollection.ConstructorOptions);
|
|
17
|
+
/** {@inheritDoc IModuleCollection.add} */
|
|
18
|
+
add(uid: string, module: IModule, options?: IModuleCollection.AddOptions): void;
|
|
19
|
+
/** {@inheritDoc ICollection.[Symbol.iterator]} */
|
|
20
|
+
[Symbol.iterator](): IterableIterator<IModule>;
|
|
21
|
+
/** {@inheritDoc IModuleCollection.getItems} */
|
|
22
|
+
getItems(options?: IModuleCollection.GetItemsOptions): IModule[];
|
|
23
|
+
/** {@inheritDoc IModuleCollection.getByName} */
|
|
24
|
+
getByName(name: string): IModule | null;
|
|
25
|
+
/** {@inheritDoc ICollection.getCount} */
|
|
26
|
+
getCount(): number;
|
|
27
|
+
/** {@inheritDoc ITransaction.ITransactional.beginCommit} */
|
|
28
|
+
beginCommit(options?: string | ITransaction.OperationOptions): ITransaction;
|
|
29
|
+
private _getState;
|
|
30
|
+
private _beginCommit;
|
|
31
|
+
private _updateState;
|
|
32
|
+
protected _initState(initial?: Record<string, IModule>): void;
|
|
33
|
+
/** {@inheritDoc IListener.ISource.addListeners} */
|
|
34
|
+
addListeners(listeners: IModuleCollection.IListeners, options?: IListener.Options): IListener.Remove;
|
|
35
|
+
/** {@inheritDoc IModuleCollection.toJSON} */
|
|
36
|
+
toJSON(): Record<string, IModule.JSON>;
|
|
37
|
+
isClosed(): boolean;
|
|
38
|
+
close(): void;
|
|
39
|
+
get isFunctionCollection(): true;
|
|
40
|
+
}
|
|
41
|
+
export declare namespace ModuleCollection {
|
|
42
|
+
interface ConstructorOptions {
|
|
43
|
+
/**
|
|
44
|
+
* A transaction store that can be used to undo/redo changes to the names.
|
|
45
|
+
*/
|
|
46
|
+
transactions?: ITransaction.IStore;
|
|
47
|
+
/**
|
|
48
|
+
* The initial modules.
|
|
49
|
+
*/
|
|
50
|
+
initial?: Record<string, IModule>;
|
|
51
|
+
/** `module` is `null` when the removal came from saving empty content. */
|
|
52
|
+
onRemove?: (moduleId: string, module: IModule | null) => void;
|
|
53
|
+
onAdd?: (moduleId: string, module: IModule) => void;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=ModuleCollection.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ModuleCollection.d.ts","sourceRoot":"","sources":["../../../../src/scripting/ModuleCollection.ts"],"names":[],"mappings":"AAEA,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACrE,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAI7C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAI9D,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAW7D;;GAEG;AAEH,qBAAa,gBAAiB,YAAW,iBAAiB;IAExD,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC,IAAI,EAAE,iBAAiB,CAAC,UAAU,CAAC,CAAC;IAExE,OAAO,CAAC,QAAQ,CAAsC;IAEtD,OAAO,CAAC,aAAa,CAAsB;IAC3C,OAAO,CAAC,QAAQ,CAAS;IACzB,OAAO,CAAC,2BAA2B,CAAmB;IAEtD,OAAO,CAAC,OAAO,CAAkB;gBAErB,OAAO,EAAE,gBAAgB,CAAC,kBAAkB;IAoBxD,0CAA0C;IAC1C,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GAAG,IAAI;IA0C/E,kDAAkD;IACjD,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,gBAAgB,CAAC,OAAO,CAAC;IAI/C,+CAA+C;IAC/C,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC,eAAe,GAAG,OAAO,EAAE;IAwBhE,gDAAgD;IAChD,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,GAAG,IAAI;IAgBvC,yCAAyC;IACzC,QAAQ,IAAI,MAAM;IAMlB,4DAA4D;IAC5D,WAAW,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,YAAY,CAAC,gBAAgB,GAAG,YAAY;IAI3E,OAAO,CAAC,SAAS;IAMjB,OAAO,CAAC,YAAY;IAIpB,OAAO,CAAC,YAAY;IAmBpB,SAAS,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI;IAiB7D,mDAAmD;IACnD,YAAY,CAAC,SAAS,EAAE,iBAAiB,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM;IAIpG,6CAA6C;IAC7C,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;IAetC,QAAQ,IAAI,OAAO;IAInB,KAAK;IASL,IAAI,oBAAoB,IAAI,IAAI,CAE/B;CACF;AAED,yBAAiB,gBAAgB,CAAC;IAChC,UAAiB,kBAAkB;QACjC;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;QACnC;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QAElC,0EAA0E;QAC1E,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,GAAG,IAAI,KAAK,IAAI,CAAC;QAE9D,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;KACrD;CACF"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The global variable name the generated ambient `declare global { namespace SheetXL }` surface
|
|
3
|
+
* (`scripting.d.ts`) is authored against. At execution we install a matching runtime value here so
|
|
4
|
+
* that `SheetXL.IColor.Named.Red` / `SheetXL.ISheet.Visibility.Visible` resolve to the SAME literal
|
|
5
|
+
* the author (or AI) saw at authoring time.
|
|
6
|
+
*/
|
|
7
|
+
export declare const GLOBAL_SCRIPT_VARIABLE = "SheetXL";
|
|
8
|
+
/**
|
|
9
|
+
* Resolve (once) the frozen runtime value of the `SheetXL` global. Async because the manifest is a
|
|
10
|
+
* runtime asset; memoized so repeated macro runs share a single load. On failure the cache is
|
|
11
|
+
* cleared so a later run can retry.
|
|
12
|
+
*/
|
|
13
|
+
export declare function getRuntime(): Promise<any>;
|
|
14
|
+
export declare function setGlobalRuntime(): Promise<void>;
|
|
15
|
+
export declare function clearGlobalRuntime(): void;
|
|
16
|
+
//# sourceMappingURL=Runtime.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Runtime.d.ts","sourceRoot":"","sources":["../../../../src/scripting/Runtime.ts"],"names":[],"mappings":"AAEA;;;;;GAKG;AACH,eAAO,MAAM,sBAAsB,YAAY,CAAC;AAwBhD;;;;GAIG;AACH,wBAAgB,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,CAOzC;AAGD,wBAAsB,gBAAgB,IAAI,OAAO,CAAC,IAAI,CAAC,CAItD;AAED,wBAAgB,kBAAkB,IAAI,IAAI,CAOzC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/primitives';
|
|
2
|
+
import { IListener } from '../listener';
|
|
3
|
+
import { ListenerEmitter } from '../listener/ListenerEmitter';
|
|
4
|
+
import { ITransaction } from '../transaction';
|
|
5
|
+
import { IWorkbook } from '../workbook';
|
|
6
|
+
import { IModule } from './IModule';
|
|
7
|
+
import { IModuleCollection } from './IModuleCollection';
|
|
8
|
+
import { IScript } from './IScript';
|
|
9
|
+
import { IFunctionCollection } from './IFunctionCollection';
|
|
10
|
+
export declare class Scripts implements IScript {
|
|
11
|
+
private _options;
|
|
12
|
+
private _modules;
|
|
13
|
+
/** In-flight {@link start} run, so concurrent callers share one attempt (and one error). */
|
|
14
|
+
private _startPromise?;
|
|
15
|
+
protected _emitter: ListenerEmitter<IScript, IScript.IListeners>;
|
|
16
|
+
constructor(options: Scripts.ConstructorOptions);
|
|
17
|
+
protected _initState(): void;
|
|
18
|
+
/** {@inheritDoc IScript.getModules} */
|
|
19
|
+
getModules(): IModuleCollection;
|
|
20
|
+
/**
|
|
21
|
+
* The names a calculation function may not take, read from the workbook's own registry.
|
|
22
|
+
*
|
|
23
|
+
* @remarks
|
|
24
|
+
* The live registry rather than the static build list: a host may bind its own functions, and
|
|
25
|
+
* only the registry knows what this workbook actually has. Custom functions are excluded - they
|
|
26
|
+
* are replaceable (re-saving a module recompiles its own functions), only built-ins are owned.
|
|
27
|
+
* An empty list simply leaves the rule off, which is what a registry that has not started yet
|
|
28
|
+
* honestly reports.
|
|
29
|
+
*/
|
|
30
|
+
private _builtInNames;
|
|
31
|
+
/** {@inheritDoc IScript.createModule} */
|
|
32
|
+
createModule(options?: IModule.CompileOptions): Promise<IModule | null>;
|
|
33
|
+
/** {@inheritDoc IScript.createModule} */
|
|
34
|
+
addModule(uid: string, module: IModule, options?: IModuleCollection.AddOptions): void;
|
|
35
|
+
/** {@inheritDoc IScript.addModuleFromJSON} */
|
|
36
|
+
addModuleFromJSON(uid: string, json: IModule.JSON, options?: IModuleCollection.AddOptions): Promise<IModule>;
|
|
37
|
+
/** {@inheritDoc IScript.search} */
|
|
38
|
+
executeMacro(functionName: string, moduleId?: string, options?: IScript.RunOptions): Promise<IScript.MacroResults>;
|
|
39
|
+
/** {@inheritDoc IScript.run} */
|
|
40
|
+
run(script: string | IModule.JSON, options?: IScript.RunOptions): Promise<IScript.RunResults>;
|
|
41
|
+
/**
|
|
42
|
+
* Shared post-build half of {@link run}: surfaces compile diagnostics, finds the runnable entry, and
|
|
43
|
+
* executes it once against the workbook. `source` is used only to format diagnostic positions.
|
|
44
|
+
*/
|
|
45
|
+
private _runModule;
|
|
46
|
+
/**
|
|
47
|
+
* The collections {@link searchFunctions} and {@link getFunctionCategories} span: the built-ins
|
|
48
|
+
* (when asked for) followed by each loaded module's — built-ins first, so a name they share
|
|
49
|
+
* resolves to the built-in, the way `getByName` does.
|
|
50
|
+
*/
|
|
51
|
+
private _searchable;
|
|
52
|
+
/** {@inheritDoc IScript.searchFunctions} */
|
|
53
|
+
searchFunctions(options?: IScript.SearchOptions): Promise<IFunction[]>;
|
|
54
|
+
/** {@inheritDoc IScript.getFunctionCategories} */
|
|
55
|
+
getFunctionCategories(options?: IScript.GetCategoryOptions): Promise<IFunctionCollection.Category[]>;
|
|
56
|
+
/** {@inheritDoc IScript.start} */
|
|
57
|
+
start(): Promise<void>;
|
|
58
|
+
private _doStart;
|
|
59
|
+
/** {@inheritDoc IListener.ISource.addListeners} */
|
|
60
|
+
addListeners(listeners: IScript.IListeners, options?: IListener.Options): IListener.Remove;
|
|
61
|
+
/** {@inheritDoc IScript.isReadOnly} */
|
|
62
|
+
isReadOnly(): boolean;
|
|
63
|
+
/** {@inheritDoc IScript.toJSON} */
|
|
64
|
+
toJSON(): Record<string, IModule.JSON>;
|
|
65
|
+
}
|
|
66
|
+
export declare namespace Scripts {
|
|
67
|
+
interface ConstructorOptions {
|
|
68
|
+
/**
|
|
69
|
+
* A transaction store that can be used to undo/redo changes to the names.
|
|
70
|
+
*/
|
|
71
|
+
transactions?: ITransaction.IStore;
|
|
72
|
+
json?: Record<string, IModule.JSON>;
|
|
73
|
+
workbook: IWorkbook;
|
|
74
|
+
onRemove?: (moduleId: string, module: IModule) => void;
|
|
75
|
+
onAdd?: (moduleId: string, module: IModule) => void;
|
|
76
|
+
getBuiltInFunctions?(): IFunctionCollection;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
//# sourceMappingURL=Scripts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Scripts.d.ts","sourceRoot":"","sources":["../../../../src/scripting/Scripts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAIrD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAE9D,OAAO,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AA6BhE,qBAAa,OAAQ,YAAW,OAAO;IACrC,OAAO,CAAC,QAAQ,CAA6B;IAC7C,OAAO,CAAC,QAAQ,CAAqB;IACrC,4FAA4F;IAC5F,OAAO,CAAC,aAAa,CAAC,CAAgB;IACtC,SAAS,CAAC,QAAQ,EAAE,eAAe,CAAC,OAAO,EAAE,OAAO,CAAC,UAAU,CAAC,CAAC;gBAOrD,OAAO,EAAE,OAAO,CAAC,kBAAkB;IAkB/C,SAAS,CAAC,UAAU,IAAI,IAAI;IAI5B,uCAAuC;IACvC,UAAU,IAAI,iBAAiB;IAI/B;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAa;IAcrB,yCAAyC;IACnC,YAAY,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAe7E,yCAAyC;IACzC,SAAS,CACP,GAAG,EAAE,MAAM,EACX,MAAM,EAAE,OAAO,EACf,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GACrC,IAAI;IAIP,8CAA8C;IACxC,iBAAiB,CACrB,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,OAAO,CAAC,EAAE,iBAAiB,CAAC,UAAU,GACrC,OAAO,CAAC,OAAO,CAAC;IAOnB,mCAAmC;IACnC,YAAY,CACV,YAAY,EAAE,MAAM,EACpB,QAAQ,CAAC,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,GAC3B,OAAO,CAAC,OAAO,CAAC,YAAY,CAAC;IAchC,gCAAgC;IAC1B,GAAG,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,EAAE,OAAO,CAAC,UAAU,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC;IAenG;;;OAGG;YACW,UAAU;IAwCxB;;;;OAIG;YACW,WAAW;IAuBzB,4CAA4C;IACtC,eAAe,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,aAAa,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAwC5E,kDAAkD;IAC5C,qBAAqB,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC,QAAQ,EAAE,CAAC;IAkD1G,kCAAkC;IAC5B,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;YAWd,QAAQ;IA0DtB,mDAAmD;IACnD,YAAY,CAAC,SAAS,EAAE,OAAO,CAAC,UAAU,EAAE,OAAO,CAAC,EAAE,SAAS,CAAC,OAAO,GAAG,SAAS,CAAC,MAAM;IAI1F,uCAAuC;IACvC,UAAU,IAAI,OAAO;IAIrB,mCAAmC;IACnC,MAAM,IAAI,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC;CAOvC;AAED,yBAAiB,OAAO,CAAC;IACvB,UAAiB,kBAAkB;QACjC;;WAEG;QACH,YAAY,CAAC,EAAE,YAAY,CAAC,MAAM,CAAC;QAEnC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,IAAI,CAAC,CAAC;QAEpC,QAAQ,EAAE,SAAS,CAAC;QAEpB,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;QAEvD,KAAK,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;QAEpD,mBAAmB,CAAC,IAAI,mBAAmB,CAAC;KAC7C;CACF"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import { ScalarType, IRange, IFunction, IFormulaContext } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* The per-call shape of a declaration that carries a repeating group, resolved from the ARGUMENT
|
|
4
|
+
* COUNT alone (`Repeating<T>`; DESIGN-ENUM §5). Excel is measured never to disambiguate by type —
|
|
5
|
+
* `SORTBY(array, by1, by2, o2)` is refused where a type-directed parse would have read argument 2
|
|
6
|
+
* as `by_array2` — so the arithmetic is the whole rule.
|
|
7
|
+
*/
|
|
8
|
+
interface RepeatPlan {
|
|
9
|
+
/**
|
|
10
|
+
* The parameter list the coercion loop runs against.
|
|
11
|
+
*
|
|
12
|
+
* Period 2+ expands to one entry per ARGUMENT — prefix, the slots cycled `n` times, then suffix
|
|
13
|
+
* — because each slot has its own type and each argument must bind to exactly one.
|
|
14
|
+
*
|
|
15
|
+
* Period 1 does NOT expand. It ends at a single slot marked `rest`, so the marshaller's rest
|
|
16
|
+
* branch consumes the tail exactly as `...p: T[]` always did. That is not an optimization: a
|
|
17
|
+
* reference union in a range-typed slot contributes one entry PER AREA, so the coerced count is
|
|
18
|
+
* argument count plus extra areas and no 1:1 expansion can describe it. Marshalling it as a
|
|
19
|
+
* single reference instead answers `#REF!` (PrimitiveUtils `isMultiAreaValue`), which is how
|
|
20
|
+
* `SUMPRODUCT(A1:A3,(A1:A3,C1:C3))` briefly started failing.
|
|
21
|
+
*/
|
|
22
|
+
params: IFunction.ParameterTypeJSON[];
|
|
23
|
+
/** Number of parameters before the group. */
|
|
24
|
+
prefix: number;
|
|
25
|
+
/** Group period (the slot count). */
|
|
26
|
+
period: number;
|
|
27
|
+
/** Repetitions. */
|
|
28
|
+
n: number;
|
|
29
|
+
/**
|
|
30
|
+
* The last repetition dropped the group's trailing optional slot — the one short form, legal
|
|
31
|
+
* only at `n === 1` (SORTBY: arities 2 and 1+2n, nothing else).
|
|
32
|
+
*/
|
|
33
|
+
short: boolean;
|
|
34
|
+
/** Period 1 hands the body `T[]`; period 2+ hands it tuples. */
|
|
35
|
+
tuples: boolean;
|
|
36
|
+
}
|
|
37
|
+
export declare class TypedFunction implements IFunction {
|
|
38
|
+
protected _n: string;
|
|
39
|
+
protected _d: IFunction.IDeclaration;
|
|
40
|
+
protected _p: readonly IFunction.IParameterType[];
|
|
41
|
+
protected _ct: string;
|
|
42
|
+
protected _cf: () => IFormulaContext | null | undefined;
|
|
43
|
+
protected _fn: (...args: any) => any;
|
|
44
|
+
protected _descFn: (locale?: string) => Promise<IFunction.DescriptorJSON>;
|
|
45
|
+
protected _desc: IFunction.IDescriptor | undefined;
|
|
46
|
+
/** The language the cached {@link _desc} was derived for (descriptors carry localized copy). */
|
|
47
|
+
protected _descLanguage: string | undefined;
|
|
48
|
+
protected _builtIn: boolean;
|
|
49
|
+
protected _cfp: {
|
|
50
|
+
argsValues: any[] | null;
|
|
51
|
+
argsLength: number;
|
|
52
|
+
};
|
|
53
|
+
protected _lc: boolean;
|
|
54
|
+
protected _rlc: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* The declared return scalar type, normalized (`'*'`/null → null).
|
|
57
|
+
*
|
|
58
|
+
* Needed by the single-argument lift: `Range.map` clones the SOURCE range's read options, so a
|
|
59
|
+
* function whose return type differs from its parameter type would have its results read back
|
|
60
|
+
* through the parameter's coercion.
|
|
61
|
+
*/
|
|
62
|
+
protected _rs: ScalarType | null;
|
|
63
|
+
protected _json: IFunction.DeclarationJSON;
|
|
64
|
+
protected _pj: IFunction.ParameterTypeJSON[] | null | undefined;
|
|
65
|
+
/** Index of the repeating-group parameter, or `-1`. */
|
|
66
|
+
protected _gi: number;
|
|
67
|
+
/** Resolved {@link RepeatPlan} per argument count (`null` = an arity the declaration refuses). */
|
|
68
|
+
protected _gc: Map<number, RepeatPlan | null> | null;
|
|
69
|
+
constructor(json: IFunction.DeclarationJSON, fn: (...args: any) => any, getContext: () => IFormulaContext | null | undefined, desc?: IFunction.DescriptorJSON | ((locale?: string) => Promise<IFunction.DescriptorJSON>) | null, builtIn?: boolean);
|
|
70
|
+
/** @inheritdoc IFunction.execute */
|
|
71
|
+
execute<R = any>(...args: any[]): R;
|
|
72
|
+
/**
|
|
73
|
+
* Resolves this call's {@link RepeatPlan} from the argument count, or `null` when the count is
|
|
74
|
+
* one the declaration refuses.
|
|
75
|
+
*
|
|
76
|
+
* `n = (argc − prefix − suffix) / period` and a non-zero remainder is an error, with ONE
|
|
77
|
+
* exception: a group whose last slot is optional also accepts `period − 1` variable arguments,
|
|
78
|
+
* which is `n = 1` with that slot omitted. Those two rules produce SORTBY's measured arities
|
|
79
|
+
* exactly — 2 and 1+2n, with 4 refused (probe rows H7/H10).
|
|
80
|
+
*
|
|
81
|
+
* A trailing suffix may be OPTIONAL, so `suffix` is solved for alongside `n` rather than fixed.
|
|
82
|
+
* SWITCH is the case: `prefix 1, period 2, one optional suffix` yields argument parity as the
|
|
83
|
+
* whole rule — odd is pairs alone, even is pairs plus a default — and refuses argc 2, because
|
|
84
|
+
* dropping the suffix still leaves the group owing its one repetition. That matches Excel row
|
|
85
|
+
* for row (probe-switch-arity.ps1: 3/4/5/6 legal, 1 and 2 refused). The group's minimum stays
|
|
86
|
+
* 1 regardless of the suffix; nothing here ever resolves `n = 0`.
|
|
87
|
+
*
|
|
88
|
+
* Period 1 ends at one rest-marked slot instead — see {@link RepeatPlan.params}.
|
|
89
|
+
*
|
|
90
|
+
* Must stay in step with `CompilerUtils.resolveRepeat`, its COMPILE-TIME twin. That one decides
|
|
91
|
+
* `#PARSE!` and the per-argument binding, so a rule added only here is simply never reached: the
|
|
92
|
+
* formula is refused before it ever executes.
|
|
93
|
+
*/
|
|
94
|
+
protected _plan(argsLength: number): RepeatPlan | null;
|
|
95
|
+
/**
|
|
96
|
+
* Folds the flat, per-argument-position values back into the shape the BODY declares: the group
|
|
97
|
+
* becomes one array argument, of tuples when the period is 2+ and of bare values when it is 1
|
|
98
|
+
* (`Repeating<IRange>` hands the body `IRange[]`, the same shape a rest parameter would).
|
|
99
|
+
*/
|
|
100
|
+
protected _regroup(values: any[], length: number, plan: RepeatPlan): any[];
|
|
101
|
+
/**
|
|
102
|
+
* The body of {@link execute} after argument-source resolution. Split out so the reference
|
|
103
|
+
* lift (`_refLift`) can invoke the function once per element with a substituted argument list,
|
|
104
|
+
* without re-reading the engine's fast-path slot. Safe to re-enter: the shared `_reuseCoerced`
|
|
105
|
+
* buffer is reset on entry, and the ref-lift recursion happens BEFORE this call's own coercion
|
|
106
|
+
* writes anything into it.
|
|
107
|
+
*/
|
|
108
|
+
protected _exec<R = any>(argsEval: any[], argsLength: number): R;
|
|
109
|
+
/**
|
|
110
|
+
* The consumer half of the lift (CALC-ISSUES item 22 change 2). Each `refLifts` entry is a
|
|
111
|
+
* reference-only (r:'p') argument holding a producer lift's preserved per-element results.
|
|
112
|
+
* The function runs once per output cell through {@link _exec} — a full re-invocation, so
|
|
113
|
+
* every other argument re-coerces and the body re-runs per element (measured:
|
|
114
|
+
* `SUBTOTAL(9,OFFSET(A1,{0;1},0,1,1),B1:B2)` = 31|32 — the plain range is consumed WHOLE in
|
|
115
|
+
* each call). Shape rules are the scalar lift's: output dims = max over entries, dim-1 tiles,
|
|
116
|
+
* a shorter dim pads `#N/A` (probe-lift-member-coercion.ps1: 2×1 beside 1×2 → 2×2).
|
|
117
|
+
*
|
|
118
|
+
* An element that is not a reference (a plain value in a reference-only position) is not
|
|
119
|
+
* special-cased: the per-element coercion answers exactly as it would for the unlifted call
|
|
120
|
+
* (item 23b's `#PARSE!`), which becomes that member of the output.
|
|
121
|
+
*/
|
|
122
|
+
protected _refLift<R>(context: IFormulaContext, argsEval: any[], argsLength: number, refLifts: RefLiftEntry[]): R;
|
|
123
|
+
/**
|
|
124
|
+
* @hidden
|
|
125
|
+
* Vends a NEW instance whose evaluation context comes from `getContext` — the public-API
|
|
126
|
+
* scope vend behind `IFunctionCollection.getByName(name, { sheet })` (CALC-ISSUES item 35).
|
|
127
|
+
* The registry instance is what the ENGINE holds and its evaluation path stays
|
|
128
|
+
* allocation-free; a vended instance additionally owns a private fast-path slot the engine
|
|
129
|
+
* never loads, so callers may hold it across awaits (or re-enter it) without racing the
|
|
130
|
+
* engine's synchronous argument hand-off.
|
|
131
|
+
*/
|
|
132
|
+
_withContext(getContext: () => IFormulaContext | null | undefined): TypedFunction;
|
|
133
|
+
/** @inheritdoc IFunction.getName */
|
|
134
|
+
getName(): string;
|
|
135
|
+
/** @inheritdoc IFunction.getDeclaration */
|
|
136
|
+
getDeclaration(): IFunction.IDeclaration;
|
|
137
|
+
/** @inheritdoc IFunction.getDescriptor */
|
|
138
|
+
getDescriptor(locale?: string): Promise<IFunction.IDescriptor>;
|
|
139
|
+
/** @inheritdoc IFunction.isBuiltIn */
|
|
140
|
+
isBuiltIn(): boolean;
|
|
141
|
+
/** @inheritdoc IFunction.getContext() */
|
|
142
|
+
getContext(): string | null;
|
|
143
|
+
get [Symbol.toStringTag](): string;
|
|
144
|
+
toString(): string;
|
|
145
|
+
/** @inheritdoc IFunction.isIFunction */
|
|
146
|
+
get isIFunction(): true;
|
|
147
|
+
/** @inheritdoc ITypedFunction.isITypedFunction */
|
|
148
|
+
get isITypedFunction(): true;
|
|
149
|
+
}
|
|
150
|
+
type LiftedFnResults = {
|
|
151
|
+
elements: any[];
|
|
152
|
+
rows: number;
|
|
153
|
+
cols: number;
|
|
154
|
+
};
|
|
155
|
+
/** A reference-only argument holding preserved lift elements, found by `_exec`'s pre-pass. */
|
|
156
|
+
type RefLiftEntry = LiftedFnResults & {
|
|
157
|
+
argIndex: number;
|
|
158
|
+
collapsed: IRange;
|
|
159
|
+
};
|
|
160
|
+
export {};
|
|
161
|
+
//# sourceMappingURL=TypedFunction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TypedFunction.d.ts","sourceRoot":"","sources":["../../../../src/scripting/TypedFunction.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EAAgC,KAAK,MAAM,EAAe,KAAK,SAAS,EAAE,KAAK,eAAe,EACzG,MAAM,qBAAqB,CAAC;AAiH7B;;;;;GAKG;AACH,UAAU,UAAU;IAClB;;;;;;;;;;;;OAYG;IACH,MAAM,EAAE,SAAS,CAAC,iBAAiB,EAAE,CAAC;IACtC,6CAA6C;IAC7C,MAAM,EAAE,MAAM,CAAC;IACf,qCAAqC;IACrC,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB;IACnB,CAAC,EAAE,MAAM,CAAC;IACV;;;OAGG;IACH,KAAK,EAAE,OAAO,CAAC;IACf,gEAAgE;IAChE,MAAM,EAAE,OAAO,CAAC;CACjB;AAED,qBAAa,aAAc,YAAW,SAAS;IAC7C,SAAS,CAAC,EAAE,EAAE,MAAM,CAAC;IAErB,SAAS,CAAC,EAAE,EAAE,SAAS,CAAC,YAAY,CAAC;IACrC,SAAS,CAAC,EAAE,EAAG,SAAS,SAAS,CAAC,cAAc,EAAE,CAAC;IACnD,SAAS,CAAC,GAAG,EAAE,MAAM,CAAsC;IAC3D,SAAS,CAAC,GAAG,EAAE,MAAM,eAAe,GAAG,IAAI,GAAG,SAAS,CAAC;IACxD,SAAS,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,CAAC;IACrC,SAAS,CAAC,OAAO,EAAE,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;IAC1E,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,WAAW,GAAG,SAAS,CAAC;IACnD,gGAAgG;IAChG,SAAS,CAAC,aAAa,EAAE,MAAM,GAAG,SAAS,CAAC;IAC5C,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAS;IAEpC,SAAS,CAAC,IAAI,EAAE;QACd,UAAU,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;QACzB,UAAU,EAAE,MAAM,CAAA;KACnB,CAAA;IAED,SAAS,CAAC,GAAG,EAAE,OAAO,CAAS;IAE/B,SAAS,CAAC,IAAI,EAAE,OAAO,CAAS;IAChC;;;;;;OAMG;IACH,SAAS,CAAC,GAAG,EAAE,UAAU,GAAG,IAAI,CAAQ;IAExC,SAAS,CAAC,KAAK,EAAE,SAAS,CAAC,eAAe,CAAC;IAC3C,SAAS,CAAC,GAAG,EAAE,SAAS,CAAC,iBAAiB,EAAE,GAAG,IAAI,GAAG,SAAS,CAAQ;IACvE,uDAAuD;IACvD,SAAS,CAAC,GAAG,EAAE,MAAM,CAAM;IAC3B,kGAAkG;IAClG,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI,CAAC,GAAG,IAAI,CAAQ;gBAG1D,IAAI,EAAE,SAAS,CAAC,eAAe,EAC/B,EAAE,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,KAAK,GAAG,EACzB,UAAU,EAAE,MAAM,eAAe,GAAG,IAAI,GAAG,SAAS,EACpD,IAAI,GAAE,SAAS,CAAC,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,MAAM,KAAK,OAAO,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC,GAAG,IAAW,EACvG,OAAO,GAAE,OAAa;IAkGxB,oCAAoC;IACpC,OAAO,CAAC,CAAC,GAAC,GAAG,EAAE,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,CAAC;IA6CjC;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,SAAS,CAAC,KAAK,CAAC,UAAU,EAAE,MAAM,GAAG,UAAU,GAAG,IAAI;IAsEtD;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,GAAG,EAAE,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,GAAG,EAAE;IA4B1E;;;;;;OAMG;IACH,SAAS,CAAC,KAAK,CAAC,CAAC,GAAC,GAAG,EAAE,QAAQ,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,MAAM,GAAG,CAAC;IA0sB9D;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,QAAQ,CAAC,CAAC,EAClB,OAAO,EAAE,eAAe,EACxB,QAAQ,EAAE,GAAG,EAAE,EACf,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,YAAY,EAAE,GACvB,CAAC;IAyDJ;;;;;;;;OAQG;IACH,YAAY,CAAC,UAAU,EAAE,MAAM,eAAe,GAAG,IAAI,GAAG,SAAS,GAAG,aAAa;IAIjF,oCAAoC;IACpC,OAAO,IAAI,MAAM;IAIjB,2CAA2C;IAC3C,cAAc,IAAI,SAAS,CAAC,YAAY;IAIxC,0CAA0C;IACpC,aAAa,CAAC,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,WAAW,CAAC;IAWpE,sCAAsC;IACtC,SAAS,IAAI,OAAO;IAIpB,yCAAyC;IACzC,UAAU,IAAI,MAAM,GAAG,IAAI;IAiB3B,IAAI,CAAC,MAAM,CAAC,WAAW,CAAC,IAAI,MAAM,CAEjC;IAED,QAAQ,IAAI,MAAM;IAyClB,wCAAwC;IACxC,IAAI,WAAW,IAAI,IAAI,CAAiB;IAExC,kDAAkD;IAClD,IAAI,gBAAgB,IAAI,IAAI,CAAiB;CAC9C;AA0WD,KAAK,eAAe,GAAG;IAAE,QAAQ,EAAE,GAAG,EAAE,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE,CAAC;AAEvE,8FAA8F;AAC9F,KAAK,YAAY,GAAG,eAAe,GAAG;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,MAAM,CAAA;CAAE,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { IFunction } from '@sheetxl/primitives';
|
|
2
|
+
/**
|
|
3
|
+
* The descriptor-derived metadata for ONE function, upper-cased once at build time so a
|
|
4
|
+
* search-as-you-type box compares against pre-folded strings rather than re-casing 400+
|
|
5
|
+
* summaries per keystroke.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Everything here comes from {@link IFunction.IDescriptor}, which is **per language** — hence
|
|
9
|
+
* {@link FunctionIndex}'s per-language cache. The canonical {@link name} is the identity;
|
|
10
|
+
* {@link nameLocal} is the active pack's display name (`SUMME` for `SUM`) and equals `name`
|
|
11
|
+
* when the language does not translate it.
|
|
12
|
+
*/
|
|
13
|
+
export interface FunctionIndexEntry {
|
|
14
|
+
/** The function this entry describes. */
|
|
15
|
+
fn: IFunction;
|
|
16
|
+
/** The canonical name, UPPER-cased (the identity — matches the collection's map key). */
|
|
17
|
+
name: string;
|
|
18
|
+
/** The active language's display name, UPPER-cased; equals {@link name} when untranslated. */
|
|
19
|
+
nameLocal: string;
|
|
20
|
+
/** The summary, UPPER-cased. Empty when the function ships no descriptor. */
|
|
21
|
+
summary: string;
|
|
22
|
+
/** The category as the descriptor spells it — the DISPLAY form, kept verbatim. */
|
|
23
|
+
category: string;
|
|
24
|
+
/** {@link category}, UPPER-cased (category matching is case-insensitive). */
|
|
25
|
+
categoryUpper: string;
|
|
26
|
+
/** Whether the descriptor marks this deprecated/hidden (the string form is a label, still truthy). */
|
|
27
|
+
deprecated: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** One search hit: the function, its relevance {@link scoreEntry} and the key results order by. */
|
|
30
|
+
export interface FunctionMatch {
|
|
31
|
+
fn: IFunction;
|
|
32
|
+
/** LOWER is better; `0` when the search carried no text. */
|
|
33
|
+
score: number;
|
|
34
|
+
/** The canonical UPPER name — the tie-breaker, so equal scores read alphabetically. */
|
|
35
|
+
name: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* The "did not match" score. Positive infinity rather than `-1` so every comparison stays a plain
|
|
39
|
+
* `<` (a lower score is a better match) and a non-match can never sort ahead of a real one.
|
|
40
|
+
*/
|
|
41
|
+
export declare const NO_MATCH: number;
|
|
42
|
+
/**
|
|
43
|
+
* Relevance of `textUpper` against a function NAME — the ranking that needs no descriptor, so it
|
|
44
|
+
* also serves {@link rankByName} when results from several collections merge.
|
|
45
|
+
*
|
|
46
|
+
* Tiers: exact (0) → prefix (2) → substring (4). The gaps leave room for the localized name to
|
|
47
|
+
* rank one step behind its canonical counterpart in {@link scoreEntry} (exact-local 1,
|
|
48
|
+
* prefix-local 3, …) — an English `SUM` beats a German `SUMME` on the query `SUM`, but both beat
|
|
49
|
+
* a mere summary hit.
|
|
50
|
+
*/
|
|
51
|
+
export declare const scoreName: (nameUpper: string, textUpper: string) => number;
|
|
52
|
+
/**
|
|
53
|
+
* Relevance of `textUpper` against a whole entry: the canonical name, the localized name, then the
|
|
54
|
+
* summary — {@link NO_MATCH} when none of the three contains it.
|
|
55
|
+
*
|
|
56
|
+
* @remarks
|
|
57
|
+
* Excel's Insert-Function search is a plain "contains" over name + description; the ranking is what
|
|
58
|
+
* makes typing `SUM` put `SUM` above `SUMIF` above `DSUM` above the 30-odd functions that merely
|
|
59
|
+
* mention summing. No fuzzy matching — a typo finding nothing is easier to understand than a typo
|
|
60
|
+
* finding something surprising.
|
|
61
|
+
*/
|
|
62
|
+
export declare const scoreEntry: (entry: FunctionIndexEntry, textUpper: string) => number;
|
|
63
|
+
/** Orders matches: best score first, then alphabetically by canonical name. */
|
|
64
|
+
export declare const compareMatches: (a: FunctionMatch, b: FunctionMatch) => number;
|
|
65
|
+
/**
|
|
66
|
+
* Re-ranks an ALREADY-merged list (built-ins + each module's functions) by canonical name relevance.
|
|
67
|
+
*
|
|
68
|
+
* @remarks
|
|
69
|
+
* Used where the merge crosses collections and no shared index exists. Name-only by design: it must
|
|
70
|
+
* not force every collection's descriptors to load just to interleave two lists. The sort is stable,
|
|
71
|
+
* so entries with no NAME match (localized-name and summary hits) keep the order their own
|
|
72
|
+
* collection ranked them in and land after the name hits.
|
|
73
|
+
*
|
|
74
|
+
* Sorts `functions` IN PLACE (and returns it) — callers pass the freshly merged array.
|
|
75
|
+
*/
|
|
76
|
+
export declare const rankByName: (functions: IFunction[], textUpper: string) => IFunction[];
|
|
77
|
+
/**
|
|
78
|
+
* The LAZY, per-language descriptor index behind {@link IFunctionCollection.search} and
|
|
79
|
+
* {@link IFunctionCollection.getCategories}.
|
|
80
|
+
*
|
|
81
|
+
* @remarks
|
|
82
|
+
* Descriptors are the expensive half of a function: each built-in module's copy is a separate
|
|
83
|
+
* dynamically-imported chunk, and the active language pack overlays it per field. Resolving all of
|
|
84
|
+
* them costs one import per module — worth paying for a search box, wasteful for the
|
|
85
|
+
* `getByName`/`search({ name })` lookups that dominate everything else. So this builds on FIRST
|
|
86
|
+
* descriptor-dependent search and never before:
|
|
87
|
+
*
|
|
88
|
+
* - a `name`- or `type`-only search never touches it;
|
|
89
|
+
* - the build is memoized per language, and a language switch re-derives (each function's own
|
|
90
|
+
* `getDescriptor` cache is also per language, so re-deriving is cheap after the first time);
|
|
91
|
+
* - {@link invalidate} drops it when the collection's contents change.
|
|
92
|
+
*
|
|
93
|
+
* A function whose descriptor fails to resolve still gets an entry (name only, `Uncategorized`) —
|
|
94
|
+
* a broken descriptor must not make a function un-findable.
|
|
95
|
+
*/
|
|
96
|
+
export declare class FunctionIndex {
|
|
97
|
+
/** Enumerates what to index; called afresh on every build so it always sees current contents. */
|
|
98
|
+
private _source;
|
|
99
|
+
private _entries;
|
|
100
|
+
/** The language {@link _entries} was built for (and the one {@link _building} is building for). */
|
|
101
|
+
private _language;
|
|
102
|
+
/** The in-flight build, so concurrent searches share one pass rather than each starting their own. */
|
|
103
|
+
private _building;
|
|
104
|
+
constructor(source: () => Iterable<IFunction>);
|
|
105
|
+
/** Drop the cache — the collection changed. The next search rebuilds. */
|
|
106
|
+
invalidate(): void;
|
|
107
|
+
/** The indexed entries for the ACTIVE language, building (once) if needed. */
|
|
108
|
+
entries(): Promise<readonly FunctionIndexEntry[]>;
|
|
109
|
+
private _build;
|
|
110
|
+
}
|
|
111
|
+
//# sourceMappingURL=_FunctionIndex.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_FunctionIndex.d.ts","sourceRoot":"","sources":["../../../../src/scripting/_FunctionIndex.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,qBAAqB,CAAC;AAGrD;;;;;;;;;;GAUG;AACH,MAAM,WAAW,kBAAkB;IACjC,yCAAyC;IACzC,EAAE,EAAE,SAAS,CAAC;IACd,yFAAyF;IACzF,IAAI,EAAE,MAAM,CAAC;IACb,8FAA8F;IAC9F,SAAS,EAAE,MAAM,CAAC;IAClB,6EAA6E;IAC7E,OAAO,EAAE,MAAM,CAAC;IAChB,kFAAkF;IAClF,QAAQ,EAAE,MAAM,CAAC;IACjB,6EAA6E;IAC7E,aAAa,EAAE,MAAM,CAAC;IACtB,sGAAsG;IACtG,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,mGAAmG;AACnG,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,SAAS,CAAC;IACd,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;IACd,uFAAuF;IACvF,IAAI,EAAE,MAAM,CAAC;CACd;AAED;;;GAGG;AACH,eAAO,MAAM,QAAQ,QAA2B,CAAC;AAEjD;;;;;;;;GAQG;AACH,eAAO,MAAM,SAAS,GAAI,WAAW,MAAM,EAAE,WAAW,MAAM,KAAG,MAKhE,CAAC;AAKF;;;;;;;;;GASG;AACH,eAAO,MAAM,UAAU,GAAI,OAAO,kBAAkB,EAAE,WAAW,MAAM,KAAG,MAQzE,CAAC;AAEF,+EAA+E;AAC/E,eAAO,MAAM,cAAc,GAAI,GAAG,aAAa,EAAE,GAAG,aAAa,KAAG,MAGnE,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,UAAU,GAAI,WAAW,SAAS,EAAE,EAAE,WAAW,MAAM,KAAG,SAAS,EAgB/E,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,qBAAa,aAAa;IACxB,iGAAiG;IACjG,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,QAAQ,CAA8C;IAC9D,mGAAmG;IACnG,OAAO,CAAC,SAAS,CAAuB;IACxC,sGAAsG;IACtG,OAAO,CAAC,SAAS,CAAuD;gBAE5D,MAAM,EAAE,MAAM,QAAQ,CAAC,SAAS,CAAC;IAI7C,yEAAyE;IACzE,UAAU,IAAI,IAAI;IAKlB,8EAA8E;IAC9E,OAAO,IAAI,OAAO,CAAC,SAAS,kBAAkB,EAAE,CAAC;YAoBnC,MAAM;CAgCrB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const ERROR_FUNCTION_REQUIRED = "Item must be specified.";
|
|
2
|
+
export declare const ERROR_NO_FUNCTION_SCOPE = "No function scope.";
|
|
3
|
+
export declare const ERROR_NO_SCOPED_CONTEXT = "This collection cannot vend sheet-scoped functions (no scoped-context factory).";
|
|
4
|
+
export declare const ERROR_NOT_SCOPEABLE = "This function cannot be sheet-scoped.";
|
|
5
|
+
export declare const ERROR_UNKNOWN_SCOPE_SHEET = "Unknown sheet for function scope.";
|
|
6
|
+
//# sourceMappingURL=_FunctionMessages.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_FunctionMessages.d.ts","sourceRoot":"","sources":["../../../../src/scripting/_FunctionMessages.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,uBAAuB,4BAA4B,CAAC;AAGjE,eAAO,MAAM,uBAAuB,uBAAuB,CAAC;AAG5D,eAAO,MAAM,uBAAuB,oFAAoF,CAAC;AAGzH,eAAO,MAAM,mBAAmB,0CAA0C,CAAC;AAG3E,eAAO,MAAM,yBAAyB,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Diagnostic } from '@sheetxl/scripting';
|
|
2
|
+
import { IModule } from './IModule';
|
|
3
|
+
export declare function jsonToModule(name: string, json: IModule.JSON, declarationsOnly?: boolean, diagnostics?: Diagnostic[]): Promise<IModule>;
|
|
4
|
+
export declare function runAsyncGenerator<T>(generator: AsyncGenerator<any, T, any>): Promise<T>;
|
|
5
|
+
//# sourceMappingURL=_ModuleUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_ModuleUtils.d.ts","sourceRoot":"","sources":["../../../../src/scripting/_ModuleUtils.ts"],"names":[],"mappings":"AAEA,OAAO,EAAa,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhE,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,WAAW,CAAC;AAmDzC,wBAAsB,YAAY,CAChC,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,gBAAgB,GAAE,OAAa,EAC/B,WAAW,GAAE,UAAU,EAAK,GAC3B,OAAO,CAAC,OAAO,CAAC,CAwClB;AAgBD,wBAAsB,iBAAiB,CAAC,CAAC,EAAE,SAAS,EAAE,cAAc,CAAC,GAAG,EAAE,CAAC,EAAE,GAAG,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAY7F"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IRange, FormulaError, Observable, IFormulaContext } from '@sheetxl/primitives';
|
|
2
|
+
export declare const _ReuseGlobalContext: {
|
|
3
|
+
FormulaContext: IFormulaContext | undefined;
|
|
4
|
+
ScalarType: {
|
|
5
|
+
readonly Number: "number";
|
|
6
|
+
readonly String: "string";
|
|
7
|
+
readonly Boolean: "boolean";
|
|
8
|
+
readonly Error: "error";
|
|
9
|
+
readonly RichData: "richData";
|
|
10
|
+
readonly Null: "null";
|
|
11
|
+
};
|
|
12
|
+
IRange: typeof IRange;
|
|
13
|
+
FormulaError: typeof FormulaError;
|
|
14
|
+
Observable: typeof Observable;
|
|
15
|
+
};
|
|
16
|
+
export declare function setGlobalScope(scope: Partial<IFormulaContext> | null | undefined): void;
|
|
17
|
+
export declare function clearGlobalScope(): void;
|
|
18
|
+
//# sourceMappingURL=_ScriptUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_ScriptUtils.d.ts","sourceRoot":"","sources":["../../../../src/scripting/_ScriptUtils.ts"],"names":[],"mappings":"AAAA,OAAO,EACO,MAAM,EAAE,YAAY,EAAE,UAAU,EAAE,KAAK,eAAe,EACnE,MAAM,qBAAqB,CAAC;AAQ7B,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;CAM/B,CAAC;AAUF,wBAAgB,cAAc,CAAC,KAAK,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,CAWvF;AAED,wBAAgB,gBAAgB,IAAI,IAAI,CAkBvC"}
|