@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,915 @@
|
|
|
1
|
+
import { Scalar, InteropScalar, IRange, InteropScalarType } from '@sheetxl/primitives';
|
|
2
|
+
import { MaybePromise } from '@sheetxl/utils';
|
|
3
|
+
import { IAnchored } from '../anchored';
|
|
4
|
+
import { ICalculation } from '../calculation';
|
|
5
|
+
import { IStyle } from '../style';
|
|
6
|
+
import { ParsedDateTime } from '../date/_DateUtils';
|
|
7
|
+
/**
|
|
8
|
+
* Interface that captures the selector, operator, and param.
|
|
9
|
+
*/
|
|
10
|
+
export interface ICondition<P = any> {
|
|
11
|
+
/**
|
|
12
|
+
* Returns the selector.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* The selector is responsible for transforming the cell value before it is passed to the operator predicate.
|
|
16
|
+
* If `null` is returned then the raw cell value is used (identity selector).
|
|
17
|
+
* This allows operators to focus on their core logic and delegate any necessary value transformation to the selector.
|
|
18
|
+
* For example, a "Text Contains" operator might use a selector that converts values to lowercase strings, enabling case-insensitive matching.
|
|
19
|
+
*/
|
|
20
|
+
getSelector(): ICondition.ISelector | null;
|
|
21
|
+
/**
|
|
22
|
+
* Returns the operator.
|
|
23
|
+
*
|
|
24
|
+
* @remarks
|
|
25
|
+
* The operator is responsible for evaluating the condition param against the transformed value from the selector.
|
|
26
|
+
* Return null if there is no operator and the condition is purely based on the selector transformation (e.g. "Is Blank" could be a selector that checks for blank values without needing an operator).
|
|
27
|
+
*/
|
|
28
|
+
getOperator(): ICondition.IOperator | null;
|
|
29
|
+
/**
|
|
30
|
+
* Returns the param for the condition.
|
|
31
|
+
*
|
|
32
|
+
* @remarks
|
|
33
|
+
* This is operator-specific and not all operators require a param.
|
|
34
|
+
*/
|
|
35
|
+
getParam(): P;
|
|
36
|
+
/**
|
|
37
|
+
* Whether to include blank cells when applying the condition.
|
|
38
|
+
*
|
|
39
|
+
* @remarks
|
|
40
|
+
* **Evaluation Behavior:**
|
|
41
|
+
* - If `false` (default): Blank cells evaluate to FALSE (fail the condition test)
|
|
42
|
+
* - If `true`: Blank cells evaluate to TRUE (pass the condition test)
|
|
43
|
+
*
|
|
44
|
+
* **Why This Matters:**
|
|
45
|
+
*
|
|
46
|
+
* Different consumers interpret condition results differently:
|
|
47
|
+
*
|
|
48
|
+
* **DataValidation (acts on FALSE = invalid):**
|
|
49
|
+
* - `includeBlanks: false` → Blanks FAIL validation (are invalid/rejected)
|
|
50
|
+
* - `includeBlanks: true` → Blanks PASS validation (are valid/allowed)
|
|
51
|
+
* - Example: "Allow dates, ignore blanks" needs `includeBlanks: true` so blank cells are allowed
|
|
52
|
+
*
|
|
53
|
+
* **ConditionalFormat & TableFilter (act on TRUE = show/format):**
|
|
54
|
+
* - `includeBlanks: false` → Blanks are NOT formatted/shown (natural behavior)
|
|
55
|
+
* - `includeBlanks: true` → Blanks ARE formatted/shown (rarely needed)
|
|
56
|
+
* - Example: "Highlight dates" with `includeBlanks: false` correctly excludes blanks
|
|
57
|
+
*
|
|
58
|
+
* **UI Guidance:**
|
|
59
|
+
* - Show "Ignore Blanks" checkbox for DataValidation (common use case)
|
|
60
|
+
* - Hide for ConditionalFormat/TableFilter (default behavior is usually correct)
|
|
61
|
+
*/
|
|
62
|
+
isIncludeBlanks(): boolean;
|
|
63
|
+
/**
|
|
64
|
+
* Returns a string representation of the selector, operator, and param.
|
|
65
|
+
*/
|
|
66
|
+
toString(): string;
|
|
67
|
+
/**
|
|
68
|
+
* Returns the JSON representation of the condition.
|
|
69
|
+
*/
|
|
70
|
+
toJSON(): ICondition.JSON<P>;
|
|
71
|
+
/**
|
|
72
|
+
* For runtime introspection.
|
|
73
|
+
*/
|
|
74
|
+
get isICondition(): true;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Capabilities for applying and managing conditions.
|
|
78
|
+
*
|
|
79
|
+
* Conditions enable dynamic filtering of data based on param specified per column,
|
|
80
|
+
* allowing users to quickly focus on relevant information.
|
|
81
|
+
*
|
|
82
|
+
* Key features include:
|
|
83
|
+
* - Applying conditions to specific columns within a range.
|
|
84
|
+
* - Defining condition param using various operators (e.g., equals, greater than, contains).
|
|
85
|
+
* - Hiding rows that don't match the condition param.
|
|
86
|
+
* - Clearing or modifying conditions.
|
|
87
|
+
*/
|
|
88
|
+
export declare namespace ICondition {
|
|
89
|
+
/**
|
|
90
|
+
* A single condition applied to a range.
|
|
91
|
+
*/
|
|
92
|
+
interface Stateful {
|
|
93
|
+
/**
|
|
94
|
+
* Return the condition, or `null` if none is set.
|
|
95
|
+
*/
|
|
96
|
+
getCondition(): ICondition | null;
|
|
97
|
+
/**
|
|
98
|
+
* Applies the condition.
|
|
99
|
+
*/
|
|
100
|
+
apply(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Clear the condition
|
|
103
|
+
*/
|
|
104
|
+
delete(): void;
|
|
105
|
+
}
|
|
106
|
+
interface Events extends IAnchored.Events {
|
|
107
|
+
/**
|
|
108
|
+
* Called when the condition changes.
|
|
109
|
+
*/
|
|
110
|
+
onConditionChange?(source: ICondition.Stateful): void;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Selectors
|
|
114
|
+
*/
|
|
115
|
+
const BuiltInSelectorNames: {
|
|
116
|
+
readonly List: "list";
|
|
117
|
+
readonly Logical: "logical";
|
|
118
|
+
readonly Date: "date";
|
|
119
|
+
readonly DateTime: "dateTime";
|
|
120
|
+
readonly Time: "time";
|
|
121
|
+
readonly Text: "text";
|
|
122
|
+
readonly TextLength: "textLength";
|
|
123
|
+
readonly Number: "number";
|
|
124
|
+
readonly Whole: "wholeNumber";
|
|
125
|
+
};
|
|
126
|
+
type BuiltInSelectorNames = typeof BuiltInSelectorNames[keyof typeof BuiltInSelectorNames];
|
|
127
|
+
const BuiltInOperatorNames: {
|
|
128
|
+
/**
|
|
129
|
+
* And operator that returns true if all param are met.
|
|
130
|
+
*
|
|
131
|
+
* @remarks
|
|
132
|
+
* Accepts a `readonly ICondition.Input[]`
|
|
133
|
+
*/
|
|
134
|
+
readonly And: "and";
|
|
135
|
+
/**
|
|
136
|
+
* Checks for values above or below average.
|
|
137
|
+
*
|
|
138
|
+
* * Accepts `ICondition.AverageOption`.
|
|
139
|
+
*/
|
|
140
|
+
readonly Average: "average";
|
|
141
|
+
/**
|
|
142
|
+
* Checks for values between two values.
|
|
143
|
+
*
|
|
144
|
+
* * Accepts `ICondition.BetweenOption`.
|
|
145
|
+
*/
|
|
146
|
+
readonly Between: "between";
|
|
147
|
+
/**
|
|
148
|
+
* Checks for color.
|
|
149
|
+
*
|
|
150
|
+
* @remarks
|
|
151
|
+
* Accepts `ICondition.ColorOption`
|
|
152
|
+
*/
|
|
153
|
+
readonly Color: "color";
|
|
154
|
+
/**
|
|
155
|
+
* Checks any value is equal to.
|
|
156
|
+
*/
|
|
157
|
+
readonly EqualTo: "equalTo";
|
|
158
|
+
/**
|
|
159
|
+
* Checks any value is greater than.
|
|
160
|
+
*/
|
|
161
|
+
readonly GreaterThan: "greaterThan";
|
|
162
|
+
/**
|
|
163
|
+
* Checks any value is greater than.
|
|
164
|
+
*/
|
|
165
|
+
readonly GreaterThanEqualTo: "greaterThanEqualTo";
|
|
166
|
+
/**
|
|
167
|
+
* Checks any value is less than.
|
|
168
|
+
*/
|
|
169
|
+
readonly LessThan: "lessThan";
|
|
170
|
+
/**
|
|
171
|
+
* Checks any value is less than or equal to.
|
|
172
|
+
*/
|
|
173
|
+
readonly LessThanEqualTo: "lessThanEqualTo";
|
|
174
|
+
/**
|
|
175
|
+
* Checks date is after.
|
|
176
|
+
*/
|
|
177
|
+
readonly After: "after";
|
|
178
|
+
/**
|
|
179
|
+
* Checks date is after or equal to.
|
|
180
|
+
*/
|
|
181
|
+
readonly AfterEqualTo: "afterEqualTo";
|
|
182
|
+
/**
|
|
183
|
+
* Checks date is before
|
|
184
|
+
*/
|
|
185
|
+
readonly Before: "before";
|
|
186
|
+
/**
|
|
187
|
+
* Checks date is before or equal to.
|
|
188
|
+
*/
|
|
189
|
+
readonly BeforeEqualTo: "beforeEqualTo";
|
|
190
|
+
/**
|
|
191
|
+
* Checks that value is unique.
|
|
192
|
+
*/
|
|
193
|
+
readonly Unique: "unique";
|
|
194
|
+
/**
|
|
195
|
+
* Checks that value is blank.
|
|
196
|
+
*/
|
|
197
|
+
readonly Blank: "blank";
|
|
198
|
+
/**
|
|
199
|
+
* Checks that value is an error.
|
|
200
|
+
*/
|
|
201
|
+
readonly Error: "error";
|
|
202
|
+
/**
|
|
203
|
+
* An operator that filters by specific items (values).
|
|
204
|
+
*
|
|
205
|
+
* @remarks
|
|
206
|
+
* * Accepts `ICondition.InSetOption`
|
|
207
|
+
*/
|
|
208
|
+
readonly InSet: "inSet";
|
|
209
|
+
/**
|
|
210
|
+
* An operator that filters by icon sets.
|
|
211
|
+
*
|
|
212
|
+
* @remarks
|
|
213
|
+
* * Accepts `ICondition.IconOption`
|
|
214
|
+
*/
|
|
215
|
+
readonly Icon: "icon";
|
|
216
|
+
/**
|
|
217
|
+
* Negates another condition.
|
|
218
|
+
*
|
|
219
|
+
* @remarks
|
|
220
|
+
* * Accepts `ICondition.Input`.
|
|
221
|
+
*/
|
|
222
|
+
readonly Not: "not";
|
|
223
|
+
/**
|
|
224
|
+
* Checks any text matches an email pattern.
|
|
225
|
+
*/
|
|
226
|
+
readonly TextEmail: "textEmail";
|
|
227
|
+
/**
|
|
228
|
+
* Checks any text matches a url pattern.
|
|
229
|
+
*/
|
|
230
|
+
readonly TextIsUrl: "textUrl";
|
|
231
|
+
/**
|
|
232
|
+
* Checks any text value starts with.
|
|
233
|
+
*/
|
|
234
|
+
readonly TextStartsWith: "textStartsWith";
|
|
235
|
+
/**
|
|
236
|
+
* Checks any text value is greater than.
|
|
237
|
+
*/
|
|
238
|
+
readonly TextEndsWith: "textEndsWith";
|
|
239
|
+
/**
|
|
240
|
+
* Checks any text value is greater than or equal to.
|
|
241
|
+
*/
|
|
242
|
+
readonly TextContains: "textContains";
|
|
243
|
+
/**
|
|
244
|
+
* Evaluates a formula expression.
|
|
245
|
+
*
|
|
246
|
+
* @remarks
|
|
247
|
+
* * Accepts a formula `string`.
|
|
248
|
+
*
|
|
249
|
+
* Backs conditional formatting's `expression` rule and data validation's `type="custom"`.
|
|
250
|
+
*/
|
|
251
|
+
readonly Expression: "expression";
|
|
252
|
+
/**
|
|
253
|
+
* An operator that filters dates for time periods.
|
|
254
|
+
*
|
|
255
|
+
* @remarks
|
|
256
|
+
* * Accepts `ICondition.TimePeriodOption`
|
|
257
|
+
*/
|
|
258
|
+
readonly TimePeriod: "timePeriod";
|
|
259
|
+
/**
|
|
260
|
+
* An operator that filters by top N or bottom N values.
|
|
261
|
+
*
|
|
262
|
+
* @remarks
|
|
263
|
+
* * Accepts `ICondition.TopNOption`
|
|
264
|
+
*/
|
|
265
|
+
readonly TopN: "topN";
|
|
266
|
+
/**
|
|
267
|
+
* Or operator that returns true if any param are met.
|
|
268
|
+
*
|
|
269
|
+
* @remarks
|
|
270
|
+
* Accepts a `readonly ICondition.Input[]`
|
|
271
|
+
*/
|
|
272
|
+
readonly Or: "or";
|
|
273
|
+
};
|
|
274
|
+
type BuiltInOperatorNames = typeof BuiltInOperatorNames[keyof typeof BuiltInOperatorNames];
|
|
275
|
+
const AverageType: {
|
|
276
|
+
readonly Above: "above";
|
|
277
|
+
readonly Below: "below";
|
|
278
|
+
/**
|
|
279
|
+
* Equal to or above average (>=). Maps to OOXML `equalAverage=true` + `aboveAverage=true`.
|
|
280
|
+
*/
|
|
281
|
+
readonly AboveOrEqual: "aboveOrEqual";
|
|
282
|
+
/**
|
|
283
|
+
* Equal to or below average (<=). Maps to OOXML `equalAverage=true` + `aboveAverage=false`.
|
|
284
|
+
*/
|
|
285
|
+
readonly BelowOrEqual: "belowOrEqual";
|
|
286
|
+
};
|
|
287
|
+
type AverageType = typeof AverageType[keyof typeof AverageType];
|
|
288
|
+
interface AverageOption {
|
|
289
|
+
/**
|
|
290
|
+
* @defaultValue `AverageType.Above`
|
|
291
|
+
*/
|
|
292
|
+
type?: AverageType;
|
|
293
|
+
stdDevs?: number;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* Options for specifying a value within a range.
|
|
297
|
+
*
|
|
298
|
+
* @remarks
|
|
299
|
+
* Purely convenience. This is logically equivalent to `operator: 'and', [{ operator: 'greaterThan', param: value }]` but it's common enough that it's worth having a dedicated operator+option for it.
|
|
300
|
+
*/
|
|
301
|
+
interface BetweenOption {
|
|
302
|
+
/**
|
|
303
|
+
* The lower bound value — a number, or a `=`-prefixed formula whose result is compared
|
|
304
|
+
* per cell.
|
|
305
|
+
*/
|
|
306
|
+
from: number | string;
|
|
307
|
+
/**
|
|
308
|
+
* The upper bound value — a number, or a `=`-prefixed formula whose result is compared
|
|
309
|
+
* per cell.
|
|
310
|
+
*/
|
|
311
|
+
to: number | string;
|
|
312
|
+
}
|
|
313
|
+
interface ColorOption {
|
|
314
|
+
/**
|
|
315
|
+
* Indicated whether to filter by cell's fill color.
|
|
316
|
+
*
|
|
317
|
+
* @defaultValue true
|
|
318
|
+
*/
|
|
319
|
+
cellColor?: boolean;
|
|
320
|
+
/**
|
|
321
|
+
* If filtered then the id.
|
|
322
|
+
*/
|
|
323
|
+
styleId?: number;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Types of time-periods.
|
|
327
|
+
*/
|
|
328
|
+
const TimePeriodType: {
|
|
329
|
+
/**
|
|
330
|
+
* The seven days ending today.
|
|
331
|
+
*
|
|
332
|
+
* @remarks
|
|
333
|
+
* Conditional formatting only — OOXML's `ST_TimePeriod` has it, `ST_DateTimeGrouping` (the
|
|
334
|
+
* AutoFilter domain) does not.
|
|
335
|
+
*/
|
|
336
|
+
readonly Last7Days: "last7Days";
|
|
337
|
+
readonly LastMonth: "lastMonth";
|
|
338
|
+
readonly LastQuarter: "lastQuarter";
|
|
339
|
+
readonly LastWeek: "lastWeek";
|
|
340
|
+
readonly LastYear: "lastYear";
|
|
341
|
+
readonly M1: "M1";
|
|
342
|
+
readonly M2: "M2";
|
|
343
|
+
readonly M3: "M3";
|
|
344
|
+
readonly M4: "M4";
|
|
345
|
+
readonly M5: "M5";
|
|
346
|
+
readonly M6: "M6";
|
|
347
|
+
readonly M7: "M7";
|
|
348
|
+
readonly M8: "M8";
|
|
349
|
+
readonly M9: "M9";
|
|
350
|
+
readonly M10: "M10";
|
|
351
|
+
readonly M11: "M11";
|
|
352
|
+
readonly M12: "M12";
|
|
353
|
+
readonly NextMonth: "nextMonth";
|
|
354
|
+
readonly NextQuarter: "nextQuarter";
|
|
355
|
+
readonly NextWeek: "nextWeek";
|
|
356
|
+
readonly Null: "null";
|
|
357
|
+
readonly Q1: "Q1";
|
|
358
|
+
readonly Q2: "Q2";
|
|
359
|
+
readonly Q3: "Q3";
|
|
360
|
+
readonly Q4: "Q4";
|
|
361
|
+
readonly ThisMonth: "thisMonth";
|
|
362
|
+
readonly ThisQuarter: "thisQuarter";
|
|
363
|
+
readonly ThisWeek: "thisWeek";
|
|
364
|
+
readonly Today: "today";
|
|
365
|
+
readonly Tomorrow: "tomorrow";
|
|
366
|
+
readonly YearToDate: "yearToDate";
|
|
367
|
+
readonly Yesterday: "yesterday";
|
|
368
|
+
};
|
|
369
|
+
type TimePeriodType = typeof TimePeriodType[keyof typeof TimePeriodType];
|
|
370
|
+
interface TimePeriodOption {
|
|
371
|
+
/**
|
|
372
|
+
* The time-period to compare against (e.g. "today", "lastWeek").
|
|
373
|
+
*/
|
|
374
|
+
type?: TimePeriodType;
|
|
375
|
+
/**
|
|
376
|
+
* Optional anchor date (serial) used as "today" for relative periods.
|
|
377
|
+
*
|
|
378
|
+
* @remarks
|
|
379
|
+
* If omitted, the operator uses `ICondition.IContext.getNow()`.
|
|
380
|
+
*/
|
|
381
|
+
anchorDate?: number;
|
|
382
|
+
/**
|
|
383
|
+
* Optional precomputed max value for the period.
|
|
384
|
+
*
|
|
385
|
+
* This is required for:
|
|
386
|
+
* today, yesterday, tomorrow, nextWeek, thisWeek, lastWeek, nextMonth, thisMonth,
|
|
387
|
+
* lastMonth, nextQuarter, thisQuarter, lastQuarter, nextYear, thisYear,
|
|
388
|
+
* lastYear, and yearToDate.
|
|
389
|
+
*
|
|
390
|
+
* @remarks
|
|
391
|
+
* This is an optimization only.
|
|
392
|
+
*/
|
|
393
|
+
maxVal?: number;
|
|
394
|
+
}
|
|
395
|
+
const DateItemGroupingType: {
|
|
396
|
+
readonly Day: "day";
|
|
397
|
+
readonly Hour: "hour";
|
|
398
|
+
readonly Minute: "minute";
|
|
399
|
+
readonly Month: "month";
|
|
400
|
+
readonly Second: "second";
|
|
401
|
+
readonly Year: "year";
|
|
402
|
+
};
|
|
403
|
+
type DateItemGroupingType = typeof DateItemGroupingType[keyof typeof DateItemGroupingType];
|
|
404
|
+
interface DateGroupItem {
|
|
405
|
+
/**
|
|
406
|
+
* Grouping level.
|
|
407
|
+
*/
|
|
408
|
+
group?: DateItemGroupingType;
|
|
409
|
+
/**
|
|
410
|
+
* Day 1 - 31.
|
|
411
|
+
*/
|
|
412
|
+
day?: number;
|
|
413
|
+
/**
|
|
414
|
+
* Hour 0-23.
|
|
415
|
+
*/
|
|
416
|
+
hour?: number;
|
|
417
|
+
/**
|
|
418
|
+
* Minute 0-59.
|
|
419
|
+
*/
|
|
420
|
+
minute?: number;
|
|
421
|
+
/**
|
|
422
|
+
* Month 1-12.
|
|
423
|
+
*/
|
|
424
|
+
month?: number;
|
|
425
|
+
/**
|
|
426
|
+
* Minute 0-59.
|
|
427
|
+
*/
|
|
428
|
+
second?: number;
|
|
429
|
+
/**
|
|
430
|
+
* 4 Digits.
|
|
431
|
+
*/
|
|
432
|
+
year?: number;
|
|
433
|
+
}
|
|
434
|
+
interface InSetOption {
|
|
435
|
+
/**
|
|
436
|
+
* If true this filter by blank.
|
|
437
|
+
*/
|
|
438
|
+
blank?: boolean;
|
|
439
|
+
/**
|
|
440
|
+
* List of item filters
|
|
441
|
+
*
|
|
442
|
+
* @remarks
|
|
443
|
+
* If this is a string that is a formula then the formula is evaluated to get the list of items.
|
|
444
|
+
*/
|
|
445
|
+
items?: Scalar[] | string;
|
|
446
|
+
/**
|
|
447
|
+
* List of date group filters.
|
|
448
|
+
*/
|
|
449
|
+
dateGroups?: DateGroupItem[];
|
|
450
|
+
/**
|
|
451
|
+
* Calendar type for date group items.
|
|
452
|
+
*/
|
|
453
|
+
calendarType?: string;
|
|
454
|
+
}
|
|
455
|
+
interface IconOption {
|
|
456
|
+
/**
|
|
457
|
+
* 0-based index of an icon from an icon set. If missing then no icon.
|
|
458
|
+
*/
|
|
459
|
+
iconId?: number;
|
|
460
|
+
/**
|
|
461
|
+
* Specifies which icon set to use.
|
|
462
|
+
*/
|
|
463
|
+
iconSet?: IStyle.IconSet;
|
|
464
|
+
}
|
|
465
|
+
interface TopNOption {
|
|
466
|
+
/**
|
|
467
|
+
* Top or bottom value to use as the filter param. For example "Filter by Top 10 Percent" or "Filter by Top 5 Items".
|
|
468
|
+
*
|
|
469
|
+
* @defaultValue `Determined by Rule - Builtin 'Top10' is 10`
|
|
470
|
+
*/
|
|
471
|
+
limit?: number;
|
|
472
|
+
/**
|
|
473
|
+
* Flag indicating whether or not to filter by percent value. A `false` value filters by number of items.
|
|
474
|
+
*/
|
|
475
|
+
percent?: boolean;
|
|
476
|
+
/**
|
|
477
|
+
* Flag indicating whether or not to filter by top order. A `false` value filters by bottom order.
|
|
478
|
+
*/
|
|
479
|
+
top?: boolean;
|
|
480
|
+
/**
|
|
481
|
+
* The actual cell value in the range which is used to perform the comparison for this filter.
|
|
482
|
+
*
|
|
483
|
+
* @remarks
|
|
484
|
+
* This is internal cache value used during filtering.
|
|
485
|
+
*/
|
|
486
|
+
filterVal?: number;
|
|
487
|
+
}
|
|
488
|
+
/**
|
|
489
|
+
* The context provided to condition predicates during evaluation.
|
|
490
|
+
*
|
|
491
|
+
* @remarks
|
|
492
|
+
* Includes information about the current cell being evaluated, the range,
|
|
493
|
+
* and utility methods for value transformation and formula resolution.
|
|
494
|
+
*/
|
|
495
|
+
interface IContext {
|
|
496
|
+
/**
|
|
497
|
+
* Returns the raw cell type for the current cell being evaluated.
|
|
498
|
+
*/
|
|
499
|
+
getType(value: Scalar): InteropScalarType;
|
|
500
|
+
/**
|
|
501
|
+
* Return the current location in the sheet.
|
|
502
|
+
*/
|
|
503
|
+
getPosition(): Readonly<IRange.CellCoords>;
|
|
504
|
+
/**
|
|
505
|
+
* Returns the range for the entire area being valuated.
|
|
506
|
+
*
|
|
507
|
+
* @remarks
|
|
508
|
+
* Convenience method for `getRange().getCoords()`.
|
|
509
|
+
*/
|
|
510
|
+
getCoords(): Readonly<IRange.Coords>;
|
|
511
|
+
/**
|
|
512
|
+
* Return the range for the condition.
|
|
513
|
+
*/
|
|
514
|
+
getRange(): IRange;
|
|
515
|
+
/**
|
|
516
|
+
* Convert the value to the specified scalar type.
|
|
517
|
+
*/
|
|
518
|
+
toType<T extends InteropScalar>(value: Scalar, type: InteropScalarType): T;
|
|
519
|
+
/**
|
|
520
|
+
* Resolves a condition input to a fully-built ICondition instance.
|
|
521
|
+
*
|
|
522
|
+
* @param input Any valid condition input (ICondition, properties, predicate function, string)
|
|
523
|
+
* @returns A resolved ICondition ready for evaluation, or `null` if the input could not be resolved
|
|
524
|
+
*
|
|
525
|
+
* @remarks
|
|
526
|
+
* **For Combinator Authors:**
|
|
527
|
+
* - Call this to recursively resolve child conditions
|
|
528
|
+
* - Handles all input formats (objects, strings, functions)
|
|
529
|
+
* - Enables composition without type worries
|
|
530
|
+
*
|
|
531
|
+
* **Why This Exists:**
|
|
532
|
+
* - Uniform handling of condition inputs
|
|
533
|
+
* - Enables recursive composition (AND/OR/NOT)
|
|
534
|
+
* - Keeps combinator code clean
|
|
535
|
+
*/
|
|
536
|
+
resolveInput<C = any>(input: ICondition.Input<C>): Promise<ICondition | null>;
|
|
537
|
+
/**
|
|
538
|
+
* Gets now as a serial number.
|
|
539
|
+
*/
|
|
540
|
+
getNow(): number;
|
|
541
|
+
/**
|
|
542
|
+
* Returns an SerialDate value from a date. This is used for date calculations.
|
|
543
|
+
*
|
|
544
|
+
* @param date A date as a javascript object.
|
|
545
|
+
*/
|
|
546
|
+
toSerialDate(date: Date): number;
|
|
547
|
+
/**
|
|
548
|
+
* Returns a date from an SerialDate value. This is used for date calculations.
|
|
549
|
+
*
|
|
550
|
+
* @param serialDate A serialized date as a number.
|
|
551
|
+
*/
|
|
552
|
+
fromSerialDate(serialDate: number): Date;
|
|
553
|
+
/**
|
|
554
|
+
* Splits a serial date into its calendar and clock fields, without constructing a `Date`.
|
|
555
|
+
*
|
|
556
|
+
* @param serialDate The serial date to split.
|
|
557
|
+
* @param reuseParts Avoids allocating a fresh `ParsedDateTime`:
|
|
558
|
+
* - An object: the fields are written into THIS object, which is returned. The caller owns
|
|
559
|
+
* the buffer's lifetime — do not hold onto a previous result across a reused call, each
|
|
560
|
+
* call overwrites it in place. For an operator that calls this once per cell over a large
|
|
561
|
+
* range (e.g. matching a date-group filter).
|
|
562
|
+
* - `true`: the fields are written into a shared scratch object and returned — for a
|
|
563
|
+
* one-off caller that just wants to avoid the allocation without owning a buffer itself.
|
|
564
|
+
* The result must be consumed immediately (read a field, done).
|
|
565
|
+
*
|
|
566
|
+
* @remarks
|
|
567
|
+
* Prefer this to {@link fromSerialDate} for calendar-field comparisons (year/month/day/…) —
|
|
568
|
+
* it skips the `Date` allocation entirely, not just the reuse of one.
|
|
569
|
+
*/
|
|
570
|
+
getDateParts(serialDate: number, reuseParts?: ParsedDateTime | boolean): ParsedDateTime;
|
|
571
|
+
/**
|
|
572
|
+
* Defers evaluation of the current value so it can be processed in a
|
|
573
|
+
* batched call to {@link ICondition.IOperator.doBatch}.
|
|
574
|
+
*
|
|
575
|
+
* @param key A grouping key used to batch or deduplicate values.
|
|
576
|
+
* The key can be any value; typical choices are:
|
|
577
|
+
* - The raw cell value (to dedupe identical values).
|
|
578
|
+
* - A normalized form (e.g. lower-cased email, trimmed address).
|
|
579
|
+
* - A composite object if the operator needs multiple fields for batching.
|
|
580
|
+
*
|
|
581
|
+
* @remarks
|
|
582
|
+
* This method is intended for advanced operators that want to:
|
|
583
|
+
*
|
|
584
|
+
* - Call external services (e.g. email verification, address lookup).
|
|
585
|
+
* - Perform expensive computations once per unique value or per batch.
|
|
586
|
+
*
|
|
587
|
+
* When a predicate calls `ctx.deferBatch(key)`:
|
|
588
|
+
*
|
|
589
|
+
* - The engine records the current value (and its cell context) into a batch
|
|
590
|
+
* associated with the active operator.
|
|
591
|
+
* - The **immediate boolean return value of the predicate is ignored** for
|
|
592
|
+
* that call; the final result will come from the operator’s
|
|
593
|
+
* {@link ICondition.IOperator.doBatch} implementation.
|
|
594
|
+
* - After the scan, the engine invokes `doBatch` once with the collected
|
|
595
|
+
* values and uses its boolean results as the actual condition outcomes.
|
|
596
|
+
*
|
|
597
|
+
* Rules that do not use batching can ignore this API entirely.
|
|
598
|
+
*
|
|
599
|
+
* @throws Error
|
|
600
|
+
* Throws if `deferBatch` is called but the active operator does not implement
|
|
601
|
+
* {@link ICondition.IOperator.doBatch}. This protects against accidentally
|
|
602
|
+
* deferring work for a operator that has no batch handler.
|
|
603
|
+
*/
|
|
604
|
+
deferBatch(key?: any): void;
|
|
605
|
+
/**
|
|
606
|
+
* Returns a formula instance if calculations are available.
|
|
607
|
+
*
|
|
608
|
+
* @remarks
|
|
609
|
+
* This can be used by operators that need to create temporary formulas
|
|
610
|
+
* for evaluating expressions or other complex logic.
|
|
611
|
+
*/
|
|
612
|
+
createFormula(expression: string, coords?: IRange.CellCoords | null): ICalculation.IFormula | null;
|
|
613
|
+
/**
|
|
614
|
+
* Declares that this condition depends on `expression`, and resolves to its values across
|
|
615
|
+
* {@link getCoords}.
|
|
616
|
+
*
|
|
617
|
+
* @param expression The formula this operator needs, exactly as authored.
|
|
618
|
+
*
|
|
619
|
+
* @returns One value per cell of {@link getCoords}, read with LOCAL coordinates
|
|
620
|
+
* (`getValueAt(0, 0)` is the coords' top-left), or `null` when there is no engine to
|
|
621
|
+
* answer with. Already-delivered values come back without awaiting anything.
|
|
622
|
+
*
|
|
623
|
+
* @remarks
|
|
624
|
+
* The ONLY way an operator should reach a formula. Await it in `createPredicate` — which is
|
|
625
|
+
* itself awaited — and the predicate that comes out is a plain synchronous read of the values.
|
|
626
|
+
* No operator needs to compile, evaluate, or batch anything.
|
|
627
|
+
*
|
|
628
|
+
* What happens behind it depends on who is asking, and an operator neither knows nor cares:
|
|
629
|
+
*
|
|
630
|
+
* - A long-lived owner (a conditional format, a data validation) **watches**. The first call
|
|
631
|
+
* registers, so that when anything the formula reads changes — including cells outside the
|
|
632
|
+
* rule's own ranges, which its range listener cannot see — the rule re-runs and this returns
|
|
633
|
+
* the new values. The owner holds the registration, because a watch outlives the predicate.
|
|
634
|
+
* - A one-shot caller (`Range.filter()`) has no lifetime to keep fresh, so it simply evaluates
|
|
635
|
+
* once and resolves. Correct there, and identical from here.
|
|
636
|
+
*/
|
|
637
|
+
watchFormula(expression: string): MaybePromise<IRange | null>;
|
|
638
|
+
/**
|
|
639
|
+
* Resolves a formula string or scalar value to its evaluated result.
|
|
640
|
+
*
|
|
641
|
+
* @param formula A formula string (e.g., "=A1+B1") or a scalar value
|
|
642
|
+
* @returns The evaluated scalar value
|
|
643
|
+
*
|
|
644
|
+
* @remarks
|
|
645
|
+
* - Call this during `createPredicate` to resolve formula-based param
|
|
646
|
+
* - Returns immediately if value is already a scalar
|
|
647
|
+
* - Handles formula parsing, evaluation, and dependency tracking
|
|
648
|
+
* - Example: `const threshold = await ctx.resolveFormula(param);`
|
|
649
|
+
*
|
|
650
|
+
* **Why This Exists:**
|
|
651
|
+
* - Keeps operators simple - they work with values, not formulas
|
|
652
|
+
* - Centralizes formula evaluation infrastructure
|
|
653
|
+
* - Enables formula references in validation rules (e.g., "greater than A1")
|
|
654
|
+
*/
|
|
655
|
+
resolveFormula(formula: Scalar | string): Promise<Scalar>;
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* Predicate function used to evaluate condition matches.
|
|
659
|
+
*/
|
|
660
|
+
interface Predicate {
|
|
661
|
+
(value: Scalar, ctx: ICondition.IContext): boolean;
|
|
662
|
+
}
|
|
663
|
+
/**
|
|
664
|
+
* Used for defining condition operators.
|
|
665
|
+
*/
|
|
666
|
+
interface IOperator<P = any> {
|
|
667
|
+
/**
|
|
668
|
+
* The name of the operator.
|
|
669
|
+
*/
|
|
670
|
+
getName(): string;
|
|
671
|
+
/**
|
|
672
|
+
* Called once per evaluation to build the operator predicate.
|
|
673
|
+
*
|
|
674
|
+
* @remarks
|
|
675
|
+
* - May be async: callers must await the result before evaluation.
|
|
676
|
+
* - `ctx` is scoped to the condition block (same one you’ll see inside the predicate),
|
|
677
|
+
* so you can safely use it for one-time initialization, stats, etc.
|
|
678
|
+
* - The createPredicate pattern is used to enable batching and async.
|
|
679
|
+
* - May return `null` to indicate no predicate (the condition always evaluates to true).
|
|
680
|
+
*/
|
|
681
|
+
createPredicate(param: P, ctx: ICondition.IContext): MaybePromise<ICondition.Predicate | null>;
|
|
682
|
+
/**
|
|
683
|
+
* Return types of scalars this operator supports.
|
|
684
|
+
*
|
|
685
|
+
* @remarks
|
|
686
|
+
* * If not specified or `null` is returns all types will be passed.
|
|
687
|
+
* * A `null` entry indicates untyped/variant values.
|
|
688
|
+
* * Value is stable and should not change between calls for the same operator instance.
|
|
689
|
+
*/
|
|
690
|
+
getAcceptsTypes?(): readonly (InteropScalarType | null)[] | null;
|
|
691
|
+
/**
|
|
692
|
+
* Returns true if operator works with list selectors.
|
|
693
|
+
* Expects param to have { values: Scalar[] }
|
|
694
|
+
*/
|
|
695
|
+
acceptsList?(): boolean;
|
|
696
|
+
/**
|
|
697
|
+
* Composes other conditions (param is ICondition or ICondition[])
|
|
698
|
+
*/
|
|
699
|
+
isCombinator?(): boolean;
|
|
700
|
+
/**
|
|
701
|
+
* Get selector type for param (RHS).
|
|
702
|
+
*
|
|
703
|
+
* @param lhsSelector - The current LHS selector (for context)
|
|
704
|
+
* @returns The selector type for the param.
|
|
705
|
+
*
|
|
706
|
+
* @remarks
|
|
707
|
+
* If `null` then this is a 'unary' operator (no param).
|
|
708
|
+
*/
|
|
709
|
+
getParamType?(lhsSelector?: ICondition.ISelector): string | null;
|
|
710
|
+
/**
|
|
711
|
+
* Creates the default param for this operator type.
|
|
712
|
+
*/
|
|
713
|
+
createDefaultParam?(lhsSelector?: ICondition.ISelector): P | null | undefined;
|
|
714
|
+
/**
|
|
715
|
+
* Returns a human-readable title of the operator.
|
|
716
|
+
*/
|
|
717
|
+
getTitle?(): string | undefined;
|
|
718
|
+
/**
|
|
719
|
+
* Returns a human-readable description of the operator.
|
|
720
|
+
*/
|
|
721
|
+
getDescription?(): string | null;
|
|
722
|
+
/**
|
|
723
|
+
* Optional hook that allows this operator to evaluate multiple values in a single
|
|
724
|
+
* batched operation instead of one-by-one predicate calls.
|
|
725
|
+
*
|
|
726
|
+
* @param keys A set of batch **keys** previously passed to
|
|
727
|
+
* {@link ICondition.IContext.deferBatch}. The interpretation of each
|
|
728
|
+
* key is operator-specific:
|
|
729
|
+
* - Many operators use the value itself as the key (e.g. ticker symbol, email).
|
|
730
|
+
* - Some operators may use an accumulator object (e.g. a single SparseBuilder).
|
|
731
|
+
*
|
|
732
|
+
* @param param
|
|
733
|
+
* The same param object originally passed to {@link ICondition.IOperator.createPredicate}.
|
|
734
|
+
*
|
|
735
|
+
* @param ctx
|
|
736
|
+
* A shared {@link ICondition.IContext} instance that can be used to:
|
|
737
|
+
* - Inspect range statistics via {@link ICondition.IContext.getRangeStats}.
|
|
738
|
+
* - Coerce values via {@link ICondition.IContext.toScalarType}.
|
|
739
|
+
* - Access today’s date, the condition coordinates, current workbook calculation
|
|
740
|
+
* engine, etc.
|
|
741
|
+
*
|
|
742
|
+
* @returns An `IRange<boolean>` whose shape matches the condition range.
|
|
743
|
+
*
|
|
744
|
+
* @remarks
|
|
745
|
+
* Typical pattern:
|
|
746
|
+
*
|
|
747
|
+
* 1. `createPredicate` constructs one or more accumulator objects (e.g., a
|
|
748
|
+
* range updater or a per-key bucket).
|
|
749
|
+
* 2. Each predicate call:
|
|
750
|
+
* - records its input in the relevant accumulator,
|
|
751
|
+
* - calls `ctx.deferBatch(accumulatorKey)`,
|
|
752
|
+
* - and returns a dummy boolean (ignored for batched cases).
|
|
753
|
+
* 3. After all predicate calls complete for this condition, the engine calls
|
|
754
|
+
* `doBatch` once with the set of accumulator keys. The operator then:
|
|
755
|
+
* - finalizes its accumulators, and
|
|
756
|
+
* - produces an `IRange<boolean>` giving the final in/out result per cell.
|
|
757
|
+
*
|
|
758
|
+
* Rules that do not implement `doBatch` must not call
|
|
759
|
+
* {@link ICondition.IContext.deferBatch}. The engine will throw in that case.
|
|
760
|
+
*/
|
|
761
|
+
doBatch?(keys: Set<any>, param: P, ctx: ICondition.IContext): MaybePromise<IRange<boolean> | null> | undefined;
|
|
762
|
+
/**
|
|
763
|
+
* Optional function to convert the param to a string representation.
|
|
764
|
+
*
|
|
765
|
+
* @returns A string representation of the param, or `undefined` if not implemented.
|
|
766
|
+
*
|
|
767
|
+
* @remarks
|
|
768
|
+
* This can be used for displaying the operator and param in a human-readable format.
|
|
769
|
+
*/
|
|
770
|
+
toString?(param?: P, lhsSelector?: ICondition.ISelector | null): string | undefined;
|
|
771
|
+
}
|
|
772
|
+
interface Transformer<T extends Scalar, I extends Scalar = T> {
|
|
773
|
+
(value: I, ctx: ICondition.IContext): T;
|
|
774
|
+
}
|
|
775
|
+
/**
|
|
776
|
+
* Used for defining condition selectors.
|
|
777
|
+
*/
|
|
778
|
+
interface ISelector<T extends Scalar = Scalar, I extends Scalar = T> {
|
|
779
|
+
/**
|
|
780
|
+
* Called once per evaluation to build the selector predicate.
|
|
781
|
+
*
|
|
782
|
+
* @remarks
|
|
783
|
+
* - May be async: callers must await the result before evaluation.
|
|
784
|
+
* - `ctx` is scoped to the condition block (same one you’ll see inside the predicate),
|
|
785
|
+
* so you can safely use it for one-time initialization, stats, etc.
|
|
786
|
+
* - An example of where we would want to batch is 'address or 'in list'.
|
|
787
|
+
* - Return `null` for identity selectors (no transformation needed — value passes through as-is).
|
|
788
|
+
*/
|
|
789
|
+
createTransformer(ctx: ICondition.IContext): MaybePromise<ICondition.Transformer<T, I> | null>;
|
|
790
|
+
/**
|
|
791
|
+
* The name of the selector.
|
|
792
|
+
*/
|
|
793
|
+
getName(): string;
|
|
794
|
+
/**
|
|
795
|
+
* Return type of scalar this selector returns.
|
|
796
|
+
*
|
|
797
|
+
* @remarks
|
|
798
|
+
* * If not specified or `null` is returns all types will be passed.
|
|
799
|
+
* * Value is stable and should not change between calls for the same selector instance.
|
|
800
|
+
*/
|
|
801
|
+
getSelectType(): InteropScalarType | null;
|
|
802
|
+
/**
|
|
803
|
+
* Return type of scalar this selector accepts.
|
|
804
|
+
*
|
|
805
|
+
* @remarks
|
|
806
|
+
* * If not specified or `null` is returns all types will be passed.
|
|
807
|
+
* * Value is stable and should not change between calls for the same selector instance.
|
|
808
|
+
*/
|
|
809
|
+
getInputType(): InteropScalarType | null;
|
|
810
|
+
/**
|
|
811
|
+
* Returns a human-readable title of the selector.
|
|
812
|
+
*/
|
|
813
|
+
getTitle?(): string;
|
|
814
|
+
/**
|
|
815
|
+
* Returns a human-readable description of the selector.
|
|
816
|
+
*/
|
|
817
|
+
getDescription?(): string;
|
|
818
|
+
/**
|
|
819
|
+
* Optional function to provide a hint for rendering the condition in the UI.
|
|
820
|
+
*
|
|
821
|
+
* @returns A string hint for rendering the condition.
|
|
822
|
+
*
|
|
823
|
+
* @remarks
|
|
824
|
+
* This can be used to provide additional context or guidance for users when displaying the condition in the UI.
|
|
825
|
+
* Some examples of built-in hints are:
|
|
826
|
+
*
|
|
827
|
+
* Examples:
|
|
828
|
+
* * The `Items` operator might return `"list"` to suggest a list-style editor.
|
|
829
|
+
* * The `Boolean` operator might return `"checkbox"`.
|
|
830
|
+
*/
|
|
831
|
+
getRenderHints?(): readonly string[] | null;
|
|
832
|
+
}
|
|
833
|
+
/**
|
|
834
|
+
* A selector that operates on lists of values, such as "is in list" or "contains".
|
|
835
|
+
*/
|
|
836
|
+
interface IListSelector<T extends Scalar = Scalar, I extends Scalar = T> extends ISelector<T, I> {
|
|
837
|
+
/**
|
|
838
|
+
* Returns true to indicate this is a list selector.
|
|
839
|
+
*/
|
|
840
|
+
readonly isList: true;
|
|
841
|
+
}
|
|
842
|
+
/**
|
|
843
|
+
* This is a a simple object that has the operator and param for a filter.
|
|
844
|
+
*/
|
|
845
|
+
interface Properties<P = any> {
|
|
846
|
+
/**
|
|
847
|
+
* The selector.
|
|
848
|
+
*/
|
|
849
|
+
selector?: string | ICondition.ISelector | null;
|
|
850
|
+
/**
|
|
851
|
+
* The operator.
|
|
852
|
+
*/
|
|
853
|
+
operator?: string | ICondition.IOperator | null;
|
|
854
|
+
/**
|
|
855
|
+
* The param for the condition.
|
|
856
|
+
*
|
|
857
|
+
* @remarks
|
|
858
|
+
* This is operator-specific and not all operators require param.
|
|
859
|
+
*/
|
|
860
|
+
param?: P;
|
|
861
|
+
/**
|
|
862
|
+
* Whether to include blank cells when applying the condition.
|
|
863
|
+
*
|
|
864
|
+
* @defaultValue `false`
|
|
865
|
+
*
|
|
866
|
+
* @remarks
|
|
867
|
+
* If `includeBlanks` is `false` (default), blanks are treated as non-matches,
|
|
868
|
+
* even if the operator would otherwise match them.
|
|
869
|
+
*/
|
|
870
|
+
includeBlanks?: boolean;
|
|
871
|
+
}
|
|
872
|
+
type Input<P = any> = ICondition<P> | ICondition.IndexedProperties<P> | ICondition.Predicate | string;
|
|
873
|
+
interface IndexedProperties<P = any> extends ICondition.Properties<P> {
|
|
874
|
+
/**
|
|
875
|
+
* The zero-based index within the consumer to which this condition applies.
|
|
876
|
+
*/
|
|
877
|
+
index?: number;
|
|
878
|
+
}
|
|
879
|
+
/**
|
|
880
|
+
* Options for applying conditions across multiple spans (rows or columns).
|
|
881
|
+
*/
|
|
882
|
+
interface RangeOptions {
|
|
883
|
+
/**
|
|
884
|
+
* The condition.
|
|
885
|
+
*/
|
|
886
|
+
conditions: ICondition.Input[];
|
|
887
|
+
/**
|
|
888
|
+
* The axis to hide.
|
|
889
|
+
*/
|
|
890
|
+
axis?: IRange.Axis;
|
|
891
|
+
/**
|
|
892
|
+
* If filtering should include the hidden row/columns
|
|
893
|
+
*
|
|
894
|
+
* @defaultValue false
|
|
895
|
+
*/
|
|
896
|
+
includeHidden?: boolean | IRange.Axis;
|
|
897
|
+
/**
|
|
898
|
+
* Indicate if the range has a header. If `true` the first row/column (per {@link axis}) is
|
|
899
|
+
* never evaluated or hidden.
|
|
900
|
+
*
|
|
901
|
+
* @defaultValue false
|
|
902
|
+
*
|
|
903
|
+
* @remarks
|
|
904
|
+
* Mirrors `ISort.RangeOptions.hasHeader`, but unlike sort this never guesses — a filter
|
|
905
|
+
* with no explicit `hasHeader` evaluates the entire range, header row included.
|
|
906
|
+
*/
|
|
907
|
+
hasHeader?: boolean;
|
|
908
|
+
}
|
|
909
|
+
/**
|
|
910
|
+
* JSON for serialization and round-tripping.
|
|
911
|
+
*/
|
|
912
|
+
interface JSON<C = any> extends IndexedProperties<C> {
|
|
913
|
+
}
|
|
914
|
+
}
|
|
915
|
+
//# sourceMappingURL=ICondition.d.ts.map
|