@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,149 @@
|
|
|
1
|
+
import { NumberFormatRef } from './BuiltInFormats';
|
|
2
|
+
/**
|
|
3
|
+
* The number-format engine boundary.
|
|
4
|
+
*
|
|
5
|
+
* Everything that renders an Excel format code — cell rendering, commands,
|
|
6
|
+
* `TEXT()`, IO, clipboard — goes through this one interface.
|
|
7
|
+
*/
|
|
8
|
+
/** Options for {@link IFormatEngine.format}. */
|
|
9
|
+
export interface FormatEngineOptions {
|
|
10
|
+
/**
|
|
11
|
+
* Use the 1904 date system.
|
|
12
|
+
* @defaultValue false
|
|
13
|
+
*/
|
|
14
|
+
date1904?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* BCP-47 locale tag used for locale-dependent presets
|
|
17
|
+
* (`Short Date`, `[$-F800]`, ...).
|
|
18
|
+
* @defaultValue 'en-US'
|
|
19
|
+
*/
|
|
20
|
+
locale?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Collect fill/skip placeholders for width-aware cell rendering.
|
|
23
|
+
*
|
|
24
|
+
* When `true`:
|
|
25
|
+
* - `_x` (skip) and `?` (digit align) emit NOTHING into `text`; each records
|
|
26
|
+
* a placeholder whose `char` is the width-reference character
|
|
27
|
+
* (`'0'` for digit placeholders).
|
|
28
|
+
* - `*x` (fill) emits nothing and records a placeholder.
|
|
29
|
+
* - The section/conditional color is computed.
|
|
30
|
+
*
|
|
31
|
+
* When `false`/omitted (plain text output — TEXT(), clipboard, tooltips):
|
|
32
|
+
* - `_x` and `?` emit a single space; `*x` emits nothing.
|
|
33
|
+
* - `fills`/`skips`/`color` are `null`.
|
|
34
|
+
*
|
|
35
|
+
* @defaultValue false
|
|
36
|
+
*/
|
|
37
|
+
placeholders?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Structural metadata about a format code, for dialogs/classification.
|
|
41
|
+
* Mirrors numfmt's `getFormatInfo` (see {@link IFormatEngine.getFormatInfo}).
|
|
42
|
+
*/
|
|
43
|
+
export interface FormatInfo {
|
|
44
|
+
/** Coarse category: `general|number|grouped|currency|percent|scientific|fraction|date|time|datetime|text`. */
|
|
45
|
+
readonly type: string;
|
|
46
|
+
/** True if the format renders a date/time. */
|
|
47
|
+
readonly isDate: boolean;
|
|
48
|
+
/** True if the format is text-only (`@`). */
|
|
49
|
+
readonly isText: boolean;
|
|
50
|
+
/** True if the format scales by 100 and appends `%`. */
|
|
51
|
+
readonly isPercent: boolean;
|
|
52
|
+
/** Maximum number of decimal places any section emits. */
|
|
53
|
+
readonly maxDecimals: number;
|
|
54
|
+
/** Value multiplier implied by the format (e.g. 100 for percent, 0.001 for `#,##0,`). */
|
|
55
|
+
readonly scale: number;
|
|
56
|
+
/** Section color index, or 0. */
|
|
57
|
+
readonly color: number;
|
|
58
|
+
/** Non-zero if negatives are parenthesized. */
|
|
59
|
+
readonly parentheses: number;
|
|
60
|
+
/** Non-zero if the integer part is thousands-grouped. */
|
|
61
|
+
readonly grouped: number;
|
|
62
|
+
}
|
|
63
|
+
/** Which date/time components a format renders (numfmt `getFormatDateInfo`). */
|
|
64
|
+
export interface FormatDateInfo {
|
|
65
|
+
readonly year: boolean;
|
|
66
|
+
readonly month: boolean;
|
|
67
|
+
readonly day: boolean;
|
|
68
|
+
readonly hours: boolean;
|
|
69
|
+
readonly minutes: boolean;
|
|
70
|
+
readonly seconds: boolean;
|
|
71
|
+
/** 12 or 24. */
|
|
72
|
+
readonly clockType: number;
|
|
73
|
+
}
|
|
74
|
+
/** A fill/skip position within {@link FormatEngineResult.text}. */
|
|
75
|
+
export interface FormatPlaceholder {
|
|
76
|
+
/** Character offset into the result text. */
|
|
77
|
+
readonly offset: number;
|
|
78
|
+
/** The width-reference (skip) or repeated (fill) character. */
|
|
79
|
+
readonly char: string;
|
|
80
|
+
}
|
|
81
|
+
/** Result of {@link IFormatEngine.format}. */
|
|
82
|
+
export interface FormatEngineResult {
|
|
83
|
+
/**
|
|
84
|
+
* The formatted display text, or `null` to signal a display error
|
|
85
|
+
* (e.g. an out-of-bounds date serial) — the cell renderer shows the
|
|
86
|
+
* `#` overflow placeholder for `null`.
|
|
87
|
+
*/
|
|
88
|
+
readonly text: string | null;
|
|
89
|
+
/**
|
|
90
|
+
* The section/conditional color as a resolvable color string
|
|
91
|
+
* (e.g. `'Index9'` for legacy palette colors), or `null`.
|
|
92
|
+
* Only computed when {@link FormatEngineOptions.placeholders} is set.
|
|
93
|
+
*/
|
|
94
|
+
readonly color: string | null;
|
|
95
|
+
/** `*` fill placeholders, or `null`. See {@link FormatEngineOptions.placeholders}. */
|
|
96
|
+
readonly fills: readonly FormatPlaceholder[] | null;
|
|
97
|
+
/** `_`/`?` skip placeholders, or `null`. See {@link FormatEngineOptions.placeholders}. */
|
|
98
|
+
readonly skips: readonly FormatPlaceholder[] | null;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* A number-format engine. Stateless, and safe to share.
|
|
102
|
+
*
|
|
103
|
+
* Formats are {@link NumberFormatRef}s: either a format-code string or an
|
|
104
|
+
* ECMA-376 built-in id (the stored form for built-ins — Excel's own model).
|
|
105
|
+
* Ids are resolved AFTER the locale-adaptive interception (ids 14/22 render
|
|
106
|
+
* per the viewer locale, not their canonical codes).
|
|
107
|
+
*/
|
|
108
|
+
export interface IFormatEngine {
|
|
109
|
+
/** Stable identifier for diagnostics and conformance reports. */
|
|
110
|
+
readonly key: string;
|
|
111
|
+
/**
|
|
112
|
+
* Format a value with an Excel format code or built-in id.
|
|
113
|
+
*
|
|
114
|
+
* @throws On malformed/unsupported format codes — callers own the fallback
|
|
115
|
+
* policy (cell rendering warns and shows empty; conformance records it).
|
|
116
|
+
*/
|
|
117
|
+
format(format: NumberFormatRef, value: string | number, options?: FormatEngineOptions): FormatEngineResult;
|
|
118
|
+
/** True if the format contains date tokens. */
|
|
119
|
+
isDateFormat(format: NumberFormatRef): boolean;
|
|
120
|
+
/** True if the format contains time tokens. */
|
|
121
|
+
isTimeFormat(format: NumberFormatRef): boolean;
|
|
122
|
+
/** True if the format contains fraction formatting. */
|
|
123
|
+
isFractionFormat(format: NumberFormatRef): boolean;
|
|
124
|
+
/**
|
|
125
|
+
* Adjust the decimal places in a format by `amount` (toolbar
|
|
126
|
+
* increase/decrease decimal). Returns the rewritten format code.
|
|
127
|
+
*/
|
|
128
|
+
adjustDecimalPlaces(format: NumberFormatRef, amount: number): string;
|
|
129
|
+
/**
|
|
130
|
+
* Structural metadata for a format code (category, decimals, grouping, ...),
|
|
131
|
+
* for format dialogs and classification. `null` if the format is invalid.
|
|
132
|
+
*/
|
|
133
|
+
getFormatInfo(format: NumberFormatRef): FormatInfo | null;
|
|
134
|
+
/**
|
|
135
|
+
* Which date/time components a (date) format renders. `null` for non-date
|
|
136
|
+
* formats or invalid codes.
|
|
137
|
+
*/
|
|
138
|
+
getFormatDateInfo(format: NumberFormatRef): FormatDateInfo | null;
|
|
139
|
+
/** True if the format code parses (usable for live custom-code validation). */
|
|
140
|
+
isValidFormat(format: NumberFormatRef): boolean;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* The number-format engine.
|
|
144
|
+
*
|
|
145
|
+
* Created on first use — this module sits in an import cycle with the engine's
|
|
146
|
+
* own helpers, so construction must not happen at module-evaluation time.
|
|
147
|
+
*/
|
|
148
|
+
export declare function getFormatEngine(): IFormatEngine;
|
|
149
|
+
//# sourceMappingURL=IFormatEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IFormatEngine.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/IFormatEngine.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,gDAAgD;AAChD,MAAM,WAAW,mBAAmB;IAClC;;;OAGG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;;;;;;;;;;;;OAeG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB;AAED;;;GAGG;AACH,MAAM,WAAW,UAAU;IACzB,8GAA8G;IAC9G,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,8CAA8C;IAC9C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,6CAA6C;IAC7C,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,wDAAwD;IACxD,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,yFAAyF;IACzF,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,iCAAiC;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,+CAA+C;IAC/C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,yDAAyD;IACzD,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;CAC1B;AAED,gFAAgF;AAChF,MAAM,WAAW,cAAc;IAC7B,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,GAAG,EAAE,OAAO,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,gBAAgB;IAChB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC5B;AAED,mEAAmE;AACnE,MAAM,WAAW,iBAAiB;IAChC,6CAA6C;IAC7C,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,+DAA+D;IAC/D,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED,8CAA8C;AAC9C,MAAM,WAAW,kBAAkB;IACjC;;;;OAIG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B;;;;OAIG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,sFAAsF;IACtF,QAAQ,CAAC,KAAK,EAAE,SAAS,iBAAiB,EAAE,GAAG,IAAI,CAAC;IACpD,0FAA0F;IAC1F,QAAQ,CAAC,KAAK,EAAE,SAAS,iBAAiB,EAAE,GAAG,IAAI,CAAC;CACrD;AAED,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAExD;;;;;;;GAOG;AACH,MAAM,WAAW,aAAa;IAC5B,iEAAiE;IACjE,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB;;;;;OAKG;IACH,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;IAC3G,+CAA+C;IAC/C,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC;IAC/C,+CAA+C;IAC/C,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC;IAC/C,uDAAuD;IACvD,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC;IACnD;;;OAGG;IACH,mBAAmB,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACrE;;;OAGG;IACH,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU,GAAG,IAAI,CAAC;IAC1D;;;OAGG;IACH,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,IAAI,CAAC;IAClE,+EAA+E;IAC/E,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC;CACjD;AAMD;;;;;GAKG;AACH,wBAAgB,eAAe,IAAI,aAAa,CAE/C"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/** Top-level dialog categories (Date/Time group the Short/Medium/Long variants). */
|
|
2
|
+
export type NumberFormatCategory = 'General' | 'Number' | 'Currency' | 'Accounting' | 'Date' | 'Time' | 'Percentage' | 'Fraction' | 'Scientific' | 'Text' | 'Special' | 'Custom';
|
|
3
|
+
export declare const CATEGORIES: readonly NumberFormatCategory[];
|
|
4
|
+
export declare function isParametricCategory(category: NumberFormatCategory): boolean;
|
|
5
|
+
/** Parameters describing a number format for the dialog. */
|
|
6
|
+
export interface NumberFormatParams {
|
|
7
|
+
category: NumberFormatCategory;
|
|
8
|
+
/** Number, Currency, Accounting, Percentage, Scientific. */
|
|
9
|
+
decimalPlaces?: number;
|
|
10
|
+
/** Number: thousands separator. */
|
|
11
|
+
useSeparator?: boolean;
|
|
12
|
+
/** Currency, Accounting: symbol literal (e.g. `$`). */
|
|
13
|
+
currencySymbol?: string;
|
|
14
|
+
/** Number, Currency: negative-number style index (see {@link NEGATIVE_STYLES}). */
|
|
15
|
+
negativeStyle?: number;
|
|
16
|
+
/** Date, Time, Fraction, Special, Custom: the chosen/typed format code. */
|
|
17
|
+
code?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Negative-number presentation options (Number/Currency), matching Excel's list.
|
|
21
|
+
* The dialog renders a live sample per entry by building + formatting a negative.
|
|
22
|
+
*/
|
|
23
|
+
export declare const NEGATIVE_STYLES: readonly {
|
|
24
|
+
key: string;
|
|
25
|
+
label: string;
|
|
26
|
+
red: boolean;
|
|
27
|
+
parens: boolean;
|
|
28
|
+
}[];
|
|
29
|
+
/** Common currency symbols for the Currency/Accounting symbol picker. */
|
|
30
|
+
export declare const CURRENCY_SYMBOLS: readonly string[];
|
|
31
|
+
/** Preset code lists for the list categories (locale-adaptive later — Plane 1). */
|
|
32
|
+
export declare const DATE_PRESETS: readonly string[];
|
|
33
|
+
export declare const TIME_PRESETS: readonly string[];
|
|
34
|
+
export declare const FRACTION_PRESETS: readonly string[];
|
|
35
|
+
export declare const SPECIAL_PRESETS: readonly string[];
|
|
36
|
+
/** Default code seeded when switching to a category. */
|
|
37
|
+
export declare function defaultCodeForCategory(category: NumberFormatCategory): string;
|
|
38
|
+
/** Synthesize an Excel format code from dialog parameters. */
|
|
39
|
+
export declare function build(params: NumberFormatParams): string;
|
|
40
|
+
/**
|
|
41
|
+
* Best-effort reverse of {@link build}: classify a code and recover the dialog
|
|
42
|
+
* controls. Round-trips stably for builder-produced codes; for arbitrary codes
|
|
43
|
+
* it lands on the closest category (Custom as the fallback).
|
|
44
|
+
*/
|
|
45
|
+
export declare function parse(code: string): NumberFormatParams;
|
|
46
|
+
//# sourceMappingURL=NumberFormatBuilder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFormatBuilder.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/NumberFormatBuilder.ts"],"names":[],"mappings":"AAmBA,oFAAoF;AACpF,MAAM,MAAM,oBAAoB,GAC5B,SAAS,GAAG,QAAQ,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,MAAM,GAClE,YAAY,GAAG,UAAU,GAAG,YAAY,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE7E,eAAO,MAAM,UAAU,EAAE,SAAS,oBAAoB,EAGpD,CAAC;AAMH,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,oBAAoB,GAAG,OAAO,CAE5E;AAED,4DAA4D;AAC5D,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,4DAA4D;IAC5D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mCAAmC;IACnC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,uDAAuD;IACvD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mFAAmF;IACnF,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,2EAA2E;IAC3E,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;GAK1B,CAAC;AAEH,yEAAyE;AACzE,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAE5C,CAAC;AAEH,mFAAmF;AACnF,eAAO,MAAM,YAAY,EAAE,SAAS,MAAM,EAGxC,CAAC;AACH,eAAO,MAAM,YAAY,EAAE,SAAS,MAAM,EAGxC,CAAC;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,MAAM,EAG5C,CAAC;AACH,eAAO,MAAM,eAAe,EAAE,SAAS,MAAM,EAE3C,CAAC;AAEH,wDAAwD;AACxD,wBAAgB,sBAAsB,CAAC,QAAQ,EAAE,oBAAoB,GAAG,MAAM,CAe7E;AAsBD,8DAA8D;AAC9D,wBAAgB,KAAK,CAAC,MAAM,EAAE,kBAAkB,GAAG,MAAM,CA4BxD;AAyDD;;;;GAIG;AACH,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,kBAAkB,CAgCtD"}
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { IColor } from '../color';
|
|
2
|
+
import { formatValue as _formatValue } from './_NumFmtUtils';
|
|
3
|
+
import { FormatInfo, FormatDateInfo } from './IFormatEngine';
|
|
4
|
+
/**
|
|
5
|
+
* Options for parsing a NumberFormat.
|
|
6
|
+
*/
|
|
7
|
+
export interface ParserOptions {
|
|
8
|
+
/**
|
|
9
|
+
* Call when a repeat char
|
|
10
|
+
*/
|
|
11
|
+
onRepeatChar?: (offset: number, character: string) => void;
|
|
12
|
+
/**
|
|
13
|
+
* The character to add to the formatted string when a spacing character is
|
|
14
|
+
* introduced.
|
|
15
|
+
*
|
|
16
|
+
* @defaultValue ' '
|
|
17
|
+
*/
|
|
18
|
+
spacingCharacter?: string;
|
|
19
|
+
/**
|
|
20
|
+
* When '_' is encountered this is called.
|
|
21
|
+
*/
|
|
22
|
+
onSpacingChar?: (offset: number, character: string) => void;
|
|
23
|
+
/**
|
|
24
|
+
* When '?' this encountered this is called.
|
|
25
|
+
*
|
|
26
|
+
* @defaultValue ' '
|
|
27
|
+
*/
|
|
28
|
+
digitCharacter?: string;
|
|
29
|
+
onDigitChar?: (offset: number) => void;
|
|
30
|
+
}
|
|
31
|
+
export interface ParsedCharPlaceHolder {
|
|
32
|
+
offset: number;
|
|
33
|
+
char: string;
|
|
34
|
+
}
|
|
35
|
+
export declare const ParseRunType: {
|
|
36
|
+
/**
|
|
37
|
+
* Contains text.
|
|
38
|
+
*/
|
|
39
|
+
readonly Text: "text";
|
|
40
|
+
/**
|
|
41
|
+
* Indicates the text at this run should repeat.
|
|
42
|
+
*/
|
|
43
|
+
readonly Repeat: "repeat";
|
|
44
|
+
/**
|
|
45
|
+
* Indicates the text at this run should not be displayed but used for measuring white-space.
|
|
46
|
+
*/
|
|
47
|
+
readonly Spacing: "spacing";
|
|
48
|
+
};
|
|
49
|
+
export type ParseRunType = typeof ParseRunType[keyof typeof ParseRunType];
|
|
50
|
+
export interface ParsedRun {
|
|
51
|
+
type: ParseRunType;
|
|
52
|
+
width: number;
|
|
53
|
+
text: string;
|
|
54
|
+
}
|
|
55
|
+
export interface ParsedRuns {
|
|
56
|
+
runs: readonly ParsedRun[];
|
|
57
|
+
readonly length: number;
|
|
58
|
+
readonly width: number;
|
|
59
|
+
readonly lastRepeatIndex: number;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* This interface returns rendering information about the formatted text based on the numberFormat.
|
|
63
|
+
*
|
|
64
|
+
* @see
|
|
65
|
+
* * {@link https://customformats.com/}
|
|
66
|
+
* * {@link https://exceljet.net/custom-number-formats}
|
|
67
|
+
* * {@link https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.numberingformats?view=openxml-2.8.1}
|
|
68
|
+
*/
|
|
69
|
+
export interface Parsed {
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* Never null
|
|
73
|
+
*/
|
|
74
|
+
readonly displayText: string;
|
|
75
|
+
/**
|
|
76
|
+
* If provided then there was a formatting error.
|
|
77
|
+
*
|
|
78
|
+
* @remarks
|
|
79
|
+
* If this is not `null` then a character should be displayed.
|
|
80
|
+
*
|
|
81
|
+
* This is different then repeatChars in that it will only display the value
|
|
82
|
+
* and not any additional.
|
|
83
|
+
*/
|
|
84
|
+
readonly errorPlaceholder: string | null;
|
|
85
|
+
/**
|
|
86
|
+
* If there is a conditional color then this is the color to use.
|
|
87
|
+
*/
|
|
88
|
+
readonly conditionalColor: IColor | null;
|
|
89
|
+
/**
|
|
90
|
+
* From the '*' formatChar.
|
|
91
|
+
* A single character (usually a ' ' but can be anything)
|
|
92
|
+
*
|
|
93
|
+
* Repeats the next character in the format enough times to fill the column to its current width.
|
|
94
|
+
* There shall not be more than one asterisk in one section of the format. If more than one asterisk
|
|
95
|
+
* appears in one section of the format, all but the last asterisk shall be ignored.
|
|
96
|
+
* [Example: if the number format is 0*x, and the value 3 is in the cell, the value 3xxxxxx is displayed.
|
|
97
|
+
* The number of x characters that are displayed in the cell varies based on the width of the column. end example]
|
|
98
|
+
*/
|
|
99
|
+
readonly repeatChars: ParsedCharPlaceHolder[];
|
|
100
|
+
/**
|
|
101
|
+
* From the '_' formatChar.
|
|
102
|
+
* An array of single characters.
|
|
103
|
+
*
|
|
104
|
+
* Skips the width of the next character.
|
|
105
|
+
* Useful for lining up negative and positive values in different cells of the same column.
|
|
106
|
+
* [Example: The number format _(0.0_);(0.0) aligns the numbers 2.3 and the column even though the
|
|
107
|
+
* negative number is enclosed by parentheses. end example]
|
|
108
|
+
*/
|
|
109
|
+
readonly spacingChars: ParsedCharPlaceHolder[];
|
|
110
|
+
/**
|
|
111
|
+
* The displayText broken down into runs. Useful for more complex layouts.
|
|
112
|
+
*/
|
|
113
|
+
readonly formattedRuns: ParsedRuns;
|
|
114
|
+
/**
|
|
115
|
+
* If true then the text could wrap if it doesn't fit.
|
|
116
|
+
*/
|
|
117
|
+
readonly canWrap: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* Returns the value as a javascript date if possible. Will
|
|
120
|
+
* return null if not possible.
|
|
121
|
+
*/
|
|
122
|
+
readonly asDate: Date | null;
|
|
123
|
+
/**
|
|
124
|
+
* If the format is a date format then this is true.
|
|
125
|
+
*/
|
|
126
|
+
readonly isDateFormat: boolean;
|
|
127
|
+
/**
|
|
128
|
+
* If the format is a time format then this is true.
|
|
129
|
+
*/
|
|
130
|
+
readonly isTimeFormat: boolean;
|
|
131
|
+
}
|
|
132
|
+
export declare const Parser: Readonly<{
|
|
133
|
+
/**
|
|
134
|
+
* Language Code Identifier (LCIDs) are 'embedded' within numberFormat.
|
|
135
|
+
*
|
|
136
|
+
* There is the original (being deprecated) format and the new 'locale names' format.
|
|
137
|
+
* The original format (most widely used at time of writing but being deprecated). Is an 8 digit hex number (xxyyzzzz). If the number is less than this then it is assumed to have
|
|
138
|
+
* leading 0s. The hex is broken down into 3 parts.
|
|
139
|
+
* xx - appearance of the number (see)
|
|
140
|
+
*
|
|
141
|
+
* Also modern Excel 365 now allows this syntax: [$-lg-CN,xxyy] where lg-CN is the language and country of the locale (replacing zzzz), and xxyy are as defined in the prior answer. Leading zeros are not needed and the whole ,xxyy part is optional.
|
|
142
|
+
* In addition, a gannen suffix -x-gannen is allowed on Japanese locale codes, which replaces a 1 value (first year of emperor reign) for e formats with 元. For example:
|
|
143
|
+
*/
|
|
144
|
+
formatValue: typeof _formatValue;
|
|
145
|
+
/**
|
|
146
|
+
* Returns true if the format contains fraction formatting.
|
|
147
|
+
*/
|
|
148
|
+
isFractionFormat: (format: string) => boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Adjust the decimal in a format by an amount.
|
|
151
|
+
*
|
|
152
|
+
* @param format The format string.
|
|
153
|
+
* @param amount The number of decimals to adjust by.
|
|
154
|
+
*/
|
|
155
|
+
adjustDecimalPlaces: (format: string, amount: number) => string;
|
|
156
|
+
/**
|
|
157
|
+
* Structural metadata about a format code (category, decimals, grouping, ...),
|
|
158
|
+
* for format dialogs and classification. `null` if the code is invalid.
|
|
159
|
+
*/
|
|
160
|
+
getFormatInfo: (format: string) => FormatInfo | null;
|
|
161
|
+
/**
|
|
162
|
+
* Which date/time components a date format renders. `null` for non-date codes.
|
|
163
|
+
*/
|
|
164
|
+
getFormatDateInfo: (format: string) => FormatDateInfo | null;
|
|
165
|
+
/** True if a format code parses (for live custom-code validation). */
|
|
166
|
+
isValidFormat: (format: string) => boolean;
|
|
167
|
+
}>;
|
|
168
|
+
//# sourceMappingURL=NumberFormatParser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFormatParser.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/NumberFormatParser.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,WAAW,IAAI,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC7D,OAAO,EAAmB,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,iBAAiB,CAAC;AAExF;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAE3D;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,aAAa,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,IAAI,CAAC;IAE5D;;;;OAIG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,WAAW,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;CACxC;AAED,MAAM,WAAW,qBAAqB;IACpC,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd;AAED,eAAO,MAAM,YAAY;IACvB;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC;AAE1E,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,SAAS,SAAS,EAAE,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CAClC;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,MAAM;IAWrB;;;OAGG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;;;;;;;OAQG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC;;;;;;;;;OASG;IACH,QAAQ,CAAC,WAAW,EAAE,qBAAqB,EAAE,CAAC;IAC9C;;;;;;;;OAQG;IACH,QAAQ,CAAC,YAAY,EAAE,qBAAqB,EAAE,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,UAAU,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B;;;OAGG;IACH,QAAQ,CAAC,MAAM,EAAE,IAAI,GAAG,IAAI,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC;CAChC;AAED,eAAO,MAAM,MAAM;IACjB;;;;;;;;;;OAUG;;IAGH;;OAEG;+BACwB,MAAM,KAAG,OAAO;IAI3C;;;;;OAKG;kCAC2B,MAAM,UAAU,MAAM,KAAG,MAAM;IAI7D;;;OAGG;4BACqB,MAAM,KAAG,UAAU,GAAG,IAAI;IAIlD;;OAEG;gCACyB,MAAM,KAAG,cAAc,GAAG,IAAI;IAI1D,sEAAsE;4BAC9C,MAAM,KAAG,OAAO;EAGxC,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { Type } from './NumberFormatType';
|
|
2
|
+
/**
|
|
3
|
+
* These are only returned if all segments have the same values.
|
|
4
|
+
*/
|
|
5
|
+
export interface StyleConfig {
|
|
6
|
+
separator?: boolean;
|
|
7
|
+
decimalPlaces?: number;
|
|
8
|
+
currencySymbol?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* Returns meta data about the number format.
|
|
12
|
+
*/
|
|
13
|
+
export interface Style {
|
|
14
|
+
numberFormat: string;
|
|
15
|
+
/**
|
|
16
|
+
* Category of format/
|
|
17
|
+
*/
|
|
18
|
+
formatType: Type;
|
|
19
|
+
/**
|
|
20
|
+
* If used in a menu it's the sort oder.
|
|
21
|
+
* TODO - enrich this since excel and drawMl (charts are slightly different. Union these?)
|
|
22
|
+
*/
|
|
23
|
+
primary?: number;
|
|
24
|
+
args?: StyleConfig;
|
|
25
|
+
regMatch?: RegExp;
|
|
26
|
+
}
|
|
27
|
+
export declare class Styles {
|
|
28
|
+
/**
|
|
29
|
+
* Find the style for a numberFormat.
|
|
30
|
+
*/
|
|
31
|
+
lookupStyle(numberFormat: string | number): Style;
|
|
32
|
+
/**
|
|
33
|
+
* Returns an ordered list of a select set of the builtIn FormatCodes.
|
|
34
|
+
*/
|
|
35
|
+
lookupPrimary(): Style[];
|
|
36
|
+
/**
|
|
37
|
+
* Returns all catalog styles for a category (`formatType`), in catalog order.
|
|
38
|
+
* Used by the format dialog to list a category's preset variants.
|
|
39
|
+
*/
|
|
40
|
+
lookupByType(formatType: string | Type): Style[];
|
|
41
|
+
lookupDefault(numberFormatKey: string | Type): string | undefined;
|
|
42
|
+
}
|
|
43
|
+
//# sourceMappingURL=NumberFormatStyles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFormatStyles.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/NumberFormatStyles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAI1C;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,IAAI,CAAC;IACjB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,IAAI,CAAC,EAAE,WAAW,CAAC;IAEnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAmKD,qBAAa,MAAM;IACjB;;OAEG;IACH,WAAW,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,GAAG,KAAK;IAyCjD;;OAEG;IAEH,aAAa,IAAI,KAAK,EAAE;IAIxB;;;OAGG;IACH,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,GAAG,KAAK,EAAE;IAKhD,aAAa,CAAC,eAAe,EAAE,MAAM,GAAG,IAAI,GAAG,MAAM,GAAG,SAAS;CAMlE"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Represents the built-in categorization of a number format, or 'Custom' if the format is not recognized as a built-in type.
|
|
3
|
+
*
|
|
4
|
+
* Excel has the following:
|
|
5
|
+
* @see
|
|
6
|
+
* {@link https://docs.microsoft.com/en-us/dotnet/api/documentformat.openxml.spreadsheet.numberingformats?view=openxml-2.8.1}
|
|
7
|
+
*/
|
|
8
|
+
export declare const Type: {
|
|
9
|
+
/**
|
|
10
|
+
* The default format, displays numbers as entered.
|
|
11
|
+
*/
|
|
12
|
+
readonly General: "General";
|
|
13
|
+
/**
|
|
14
|
+
* Displays numbers with a thousands separator and two decimal places.
|
|
15
|
+
*/
|
|
16
|
+
readonly Number: "Number";
|
|
17
|
+
/**
|
|
18
|
+
* Formats numbers as currency with a currency symbol and two decimal places.
|
|
19
|
+
*/
|
|
20
|
+
readonly Currency: "Currency";
|
|
21
|
+
/**
|
|
22
|
+
* Formats numbers as currency, aligning currency symbols and decimal points in a column.
|
|
23
|
+
*/
|
|
24
|
+
readonly Accounting: "Accounting";
|
|
25
|
+
/**
|
|
26
|
+
* Displays dates in a short format (e.g., "M/d/yyyy").
|
|
27
|
+
*/
|
|
28
|
+
readonly ShortDate: "Short Date";
|
|
29
|
+
/**
|
|
30
|
+
* Displays dates in a long format (e.g., "dddd, MMMM d, yyyy").
|
|
31
|
+
*/
|
|
32
|
+
readonly LongDate: "Long Date";
|
|
33
|
+
/**
|
|
34
|
+
* Displays dates in a medium format (e.g., "d-mmm-yy").
|
|
35
|
+
*/
|
|
36
|
+
readonly MediumDate: "Medium Date";
|
|
37
|
+
/**
|
|
38
|
+
* Displays times in a short format (e.g., "h:mm AM/PM").
|
|
39
|
+
*/
|
|
40
|
+
readonly ShortTime: "Short Time";
|
|
41
|
+
/**
|
|
42
|
+
* Displays times in a medium format (e.g., "h:mm:ss AM/PM").
|
|
43
|
+
*/
|
|
44
|
+
readonly MediumTime: "Medium Time";
|
|
45
|
+
/**
|
|
46
|
+
* Displays times in a long format (e.g., "h:mm:ss.000 AM/PM").
|
|
47
|
+
*/
|
|
48
|
+
readonly LongTime: "Long Time";
|
|
49
|
+
/**
|
|
50
|
+
* Displays numbers with a thousands separator.
|
|
51
|
+
*/
|
|
52
|
+
readonly Comma: "Comma";
|
|
53
|
+
/**
|
|
54
|
+
* Displays numbers as percentages with a percent symbol.
|
|
55
|
+
*/
|
|
56
|
+
readonly Percentage: "Percentage";
|
|
57
|
+
/**
|
|
58
|
+
* Displays numbers as fractions.
|
|
59
|
+
*/
|
|
60
|
+
readonly Fraction: "Fraction";
|
|
61
|
+
/**
|
|
62
|
+
* Displays numbers in scientific notation.
|
|
63
|
+
*/
|
|
64
|
+
readonly Scientific: "Scientific";
|
|
65
|
+
/**
|
|
66
|
+
* Treats the cell content as text, even if it appears to be a number.
|
|
67
|
+
*/
|
|
68
|
+
readonly Text: "Text";
|
|
69
|
+
/**
|
|
70
|
+
* A placeholder for special or custom number formats.
|
|
71
|
+
*/
|
|
72
|
+
readonly Special: "Special";
|
|
73
|
+
/**
|
|
74
|
+
* Indicates a user-defined or custom number format.
|
|
75
|
+
*/
|
|
76
|
+
readonly Custom: "Custom";
|
|
77
|
+
};
|
|
78
|
+
export type Type = typeof Type[keyof typeof Type];
|
|
79
|
+
//# sourceMappingURL=NumberFormatType.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumberFormatType.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/NumberFormatType.ts"],"names":[],"mappings":"AACA;;;;;;GAMG;AACH,eAAO,MAAM,IAAI;IACf;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;IAEH;;OAEG;;CAEK,CAAC;AACX,MAAM,MAAM,IAAI,GAAG,OAAO,IAAI,CAAC,MAAM,OAAO,IAAI,CAAC,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { NumberFormatRef } from './BuiltInFormats';
|
|
2
|
+
import { FormatEngineOptions, FormatEngineResult, FormatInfo, FormatDateInfo, IFormatEngine } from './IFormatEngine';
|
|
3
|
+
/**
|
|
4
|
+
* The SheetXL number-format engine.
|
|
5
|
+
*
|
|
6
|
+
* Renders Excel format codes — and ECMA-376 built-in ids — to display text,
|
|
7
|
+
* section color, and the fill/skip placeholders the cell renderer uses for
|
|
8
|
+
* width-aware alignment.
|
|
9
|
+
*
|
|
10
|
+
* Locale-adaptive presets (`Short Date`, `[$-F800]`, ...) are resolved before
|
|
11
|
+
* the format code reaches the formatter, so built-ins such as `14`/`22` render
|
|
12
|
+
* per the viewer's locale rather than their canonical codes.
|
|
13
|
+
*/
|
|
14
|
+
export declare class NumfmtFormatEngine implements IFormatEngine {
|
|
15
|
+
readonly key: string;
|
|
16
|
+
/** @inheritdoc IFormatEngine.format */
|
|
17
|
+
format(format: NumberFormatRef, value: string | number, options?: FormatEngineOptions): FormatEngineResult;
|
|
18
|
+
/** @inheritdoc IFormatEngine.isDateFormat */
|
|
19
|
+
isDateFormat(format: NumberFormatRef): boolean;
|
|
20
|
+
/** @inheritdoc IFormatEngine.isTimeFormat */
|
|
21
|
+
isTimeFormat(format: NumberFormatRef): boolean;
|
|
22
|
+
/** @inheritdoc IFormatEngine.isFractionFormat */
|
|
23
|
+
isFractionFormat(format: NumberFormatRef): boolean;
|
|
24
|
+
/** @inheritdoc IFormatEngine.adjustDecimalPlaces */
|
|
25
|
+
adjustDecimalPlaces(format: NumberFormatRef, amount: number): string;
|
|
26
|
+
/** @inheritdoc IFormatEngine.getFormatInfo */
|
|
27
|
+
getFormatInfo(format: NumberFormatRef): FormatInfo | null;
|
|
28
|
+
/** @inheritdoc IFormatEngine.getFormatDateInfo */
|
|
29
|
+
getFormatDateInfo(format: NumberFormatRef): FormatDateInfo | null;
|
|
30
|
+
/** @inheritdoc IFormatEngine.isValidFormat */
|
|
31
|
+
isValidFormat(format: NumberFormatRef): boolean;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=NumfmtFormatEngine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NumfmtFormatEngine.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/NumfmtFormatEngine.ts"],"names":[],"mappings":"AAYA,OAAO,EAA6C,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEnG,OAAO,KAAK,EACV,mBAAmB,EAAE,kBAAkB,EAAqB,UAAU,EAAE,cAAc,EAAE,aAAa,EACtG,MAAM,iBAAiB,CAAC;AA8CzB;;;;;;;;;;GAUG;AAQH,qBAAa,kBAAmB,YAAW,aAAa;IACtD,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAY;IAEhC,uCAAuC;IACvC,MAAM,CAAC,MAAM,EAAE,eAAe,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,EAAE,mBAAmB,GAAG,kBAAkB;IA0G1G,6CAA6C;IAC7C,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAI9C,6CAA6C;IAC7C,YAAY,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAI9C,iDAAiD;IACjD,gBAAgB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;IAIlD,oDAAoD;IACpD,mBAAmB,CAAC,MAAM,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,GAAG,MAAM;IAIpE,8CAA8C;IAC9C,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,UAAU,GAAG,IAAI;IAQzD,kDAAkD;IAClD,iBAAiB,CAAC,MAAM,EAAE,eAAe,GAAG,cAAc,GAAG,IAAI;IAUjE,8CAA8C;IAC9C,aAAa,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO;CAOhD"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { NumberFormatRef } from './BuiltInFormats';
|
|
2
|
+
/**
|
|
3
|
+
* Find the default number format string for a format id as defined in OOXML.
|
|
4
|
+
*/
|
|
5
|
+
export declare function _BuiltInNumberFormats(fmtId: number): string;
|
|
6
|
+
/**
|
|
7
|
+
* Returns the built-in numeric id for a format code, or the code itself if it
|
|
8
|
+
* is not a built-in. Numeric refs (already ids) pass through unchanged, which
|
|
9
|
+
* keeps stored ids lossless through the xlsx writer.
|
|
10
|
+
*/
|
|
11
|
+
export declare function _FindBuiltInNumberFormatId(fmtString: NumberFormatRef): string | number | undefined;
|
|
12
|
+
//# sourceMappingURL=_BuiltInNumberFormats.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_BuiltInNumberFormats.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/_BuiltInNumberFormats.ts"],"names":[],"mappings":"AACA,OAAO,EAA8C,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEpG;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAS3D;AAED;;;;GAIG;AACH,wBAAgB,0BAA0B,CAAC,SAAS,EAAE,eAAe,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,CAclG"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { ScalarType, Scalar, IRuntime } from '@sheetxl/primitives';
|
|
2
|
+
import { IColor } from '../color';
|
|
3
|
+
import { IStyle } from '../style';
|
|
4
|
+
import { NumberFormatRef } from './BuiltInFormats';
|
|
5
|
+
import { Parsed, ParserOptions } from './NumberFormatParser';
|
|
6
|
+
export declare function parseNumberFormat(runtime: IRuntime, value: Scalar, style: IStyle, type: ScalarType, numberFormat: NumberFormatRef, parseColor: (val: any) => IColor): Parsed;
|
|
7
|
+
/**
|
|
8
|
+
* The unformatted text for a number.
|
|
9
|
+
*
|
|
10
|
+
* Excel's binary→decimal conversion is 15 significant digits, rounded (`PI()` echoes in the
|
|
11
|
+
* formula bar as `3.14159265358979`, `2/3` as `0.666666666666667`); JavaScript's `String()`
|
|
12
|
+
* emits the shortest round-trip form — up to 17 digits. Round through `toPrecision(15)` to
|
|
13
|
+
* match (`Number()` strips the trailing zeros it pads with).
|
|
14
|
+
*
|
|
15
|
+
* JavaScript also switches to exponential notation outside `1e-7 .. 1e21` and writes the
|
|
16
|
+
* exponent marker in lowercase (`1e+30`). Excel spells it uppercase with a signed,
|
|
17
|
+
* at-least-two-digit exponent (`1E+30`, `1E-07`), so normalize to Excel's spelling.
|
|
18
|
+
*
|
|
19
|
+
* Exported for the SHOW FORMULAS text frame, which strips formatting down to the raw value
|
|
20
|
+
* (measured — see `unformattedNumberText`'s use in `SheetCell.csTextFrame`) and so needs this
|
|
21
|
+
* number spelling WITHOUT the date/percent conversions `unformattedTextFromCell` applies.
|
|
22
|
+
*
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare function unformattedNumberText(value: Scalar): string;
|
|
26
|
+
/**
|
|
27
|
+
* The text a value shows with formatting stripped ENTIRELY — SHOW FORMULAS' non-formula cell.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
* A different rule from {@link unformattedTextFromCell} (the formula bar), and the difference is
|
|
31
|
+
* the point: measured over COM, Excel strips all formatting to the raw value here — a `m/d/yyyy`
|
|
32
|
+
* cell shows `45292`, `0.00%` shows `0.125` — while the formula bar keeps the date and the percent.
|
|
33
|
+
* Only the NUMBER SPELLING is shared ({@link unformattedNumberText}).
|
|
34
|
+
*
|
|
35
|
+
* The ONE definition of that text: the show-formulas text frame (`SheetCell.csTextFrame`'s
|
|
36
|
+
* `disabledFormatting` path, which both paint and autoFit measure go through) and
|
|
37
|
+
* `ICell.GetTextOptions.showFormulas` (what the clipboard writes) both resolve it here, so
|
|
38
|
+
* what is copied cannot drift from what is painted.
|
|
39
|
+
*
|
|
40
|
+
* "Stripped" is about the NUMBER FORMAT, not about localization: a boolean and an error are words,
|
|
41
|
+
* and Excel shows the spreadsheet language's word (`WAHR`, `#WERT!`) in formula view exactly as it
|
|
42
|
+
* does everywhere else. JavaScript's own spelling — `'' + value`, i.e. `true`, and an error's
|
|
43
|
+
* MESSAGE in preference to its label — is never what a cell paints.
|
|
44
|
+
*
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
export declare function rawTextFromValue(value: Scalar, type: ScalarType): string;
|
|
48
|
+
/**
|
|
49
|
+
* Note - Even in the case of unformatted text we do a 'minimum' amount. For example we convert dates and percentages
|
|
50
|
+
*/
|
|
51
|
+
export declare function unformattedTextFromCell(runtime: IRuntime, value: Scalar, type: ScalarType, numberFormat: NumberFormatRef, options?: ParserOptions): string;
|
|
52
|
+
//# sourceMappingURL=_FormatCell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_FormatCell.d.ts","sourceRoot":"","sources":["../../../../src/numFmt/_FormatCell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAgB,KAAK,MAAM,EAAE,KAAK,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG3F,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAGvC,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,UAAU,CAAC;AAIvC,OAAO,EAAuB,KAAK,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAG7E,OAAO,EAAE,KAAK,MAAM,EAA+C,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAoBpH,wBAAgB,iBAAiB,CAC/B,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,MAAM,EACb,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,UAAU,EAChB,YAAY,EAAE,eAAe,EAC7B,UAAU,EAAE,CAAC,GAAG,EAAE,GAAG,KAAK,MAAM,GAC/B,MAAM,CAkLR;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAO3D;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,GAAG,MAAM,CAiBxE;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACrC,OAAO,EAAE,QAAQ,EACjB,KAAK,EAAE,MAAM,EACb,IAAI,EAAE,UAAU,EAChB,YAAY,EAAE,eAAe,EAC7B,OAAO,CAAC,EAAE,aAAa,GAEtB,MAAM,CAoER"}
|