@sheetxl/sdk 0.7.28-beta.4 → 0.8.0-beta.10
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 +1 -1
- package/browser/esm/{DBIu6NUHIcxOOBQp.mjs → BEAY9XgKNx-bakXW.mjs} +2 -2
- package/browser/esm/BbSmt62FpFIpoVzu.mjs +392 -0
- package/browser/esm/BcHmrKHwMMOlzc9_.mjs +357 -0
- package/browser/esm/BgcZ-CoTbMfmyDJL.mjs +412 -0
- package/browser/esm/Bk7xxbdDpa7-sIwd.mjs +7 -0
- package/browser/esm/BqskM7wA8oPfFQue.mjs +20 -0
- package/browser/esm/Btg43M1Bf-ENDreu.mjs +540 -0
- package/browser/esm/BzLfNyc6OOShIErH.mjs +598 -0
- package/browser/esm/C9B0djuUarfNdoj0.mjs +466 -0
- package/browser/esm/{CHSahmMFYNB0Ajkf.mjs → CSx9ed1JOs7K5BXO.mjs} +2 -2
- package/browser/esm/CYyv6uGjo10ig5FP.mjs +142 -0
- package/browser/esm/CZ5oa92wZEAXebgk.mjs +622 -0
- package/browser/esm/CdLZWVcH8cncBUPJ.mjs +849 -0
- package/browser/esm/Cgd5BnM3hg9RyUel.mjs +171 -0
- package/browser/esm/CjsUGJEQSbGjnH6R.mjs +1001 -0
- package/browser/esm/ClB5ix51roQOpZEr.mjs +7402 -0
- package/browser/esm/{CKk58ZLcrllMzfou.mjs → Cqr3knDsBvoVZ6MN.mjs} +179 -202
- package/browser/esm/D4uVlrG0xEFctsSM.mjs +905 -0
- package/browser/esm/DOMHmhYzPcLVcpAW.mjs +7 -0
- package/browser/esm/DUvUK61b2_4pf4tG.mjs +484 -0
- package/browser/esm/De175LygU7ot4nQm.mjs +441 -0
- package/browser/esm/DhKkrCVASZ6Isvz6.mjs +527 -0
- package/browser/esm/Di58Ji1n--3Mgc_2.mjs +607 -0
- package/browser/esm/Dtoyt8q5RyGAlxCp.mjs +1141 -0
- package/browser/esm/Y79I7Sm8kjaYexhf.mjs +167 -0
- package/browser/esm/index.mjs +1472 -1023
- package/browser/esm/o8MFgcVXns987D6_.mjs +400 -0
- package/browser/esm/zqJOaweiXE9D8RY1.mjs +66681 -0
- package/licenses/dependencies.txt +209 -209
- package/node/esm/B6D7sSetrcOWLsKj.mjs +1135 -0
- package/node/esm/B9ljpEIZg6wOTzRE.mjs +142 -0
- package/node/esm/BH1v-E4Ro3bR7Znw.mjs +962 -0
- package/node/esm/BN9j8V9gCExMjVtJ.mjs +540 -0
- package/node/esm/{DUYP6faJJHCaW1Xf.mjs → Bh4dv6tMjXX3X4nI.mjs} +1 -1
- package/node/esm/Bqd62L8KFgdS0Vou.mjs +7 -0
- package/node/esm/Bsx9uijd4X_SKV3L.mjs +360 -0
- package/node/esm/BtuY37FumvLE7EBo.mjs +629 -0
- package/node/esm/C6ZXsNyLXI6zA63X.mjs +402 -0
- package/node/esm/CCouEwT37f08qO3V.mjs +7 -0
- package/node/esm/CD9wbvufChVYYkrI.mjs +451 -0
- package/node/esm/CImNvdz1iP-lUlro.mjs +610 -0
- package/node/esm/CT0CN82y0_Qgoryk.mjs +7568 -0
- package/node/esm/CUQi5ZtMO02nhG0W.mjs +596 -0
- package/node/esm/CUUoseJmFsCf82bb.mjs +28 -0
- package/node/esm/CnSQ7MTXAUAyBOoS.mjs +911 -0
- package/node/esm/D7MfcID2Wf6l6VpC.mjs +171 -0
- package/node/esm/DCplLG93GfTs1vNw.mjs +1860 -0
- package/node/esm/DHUADiCmxNQS1ARz.mjs +417 -0
- package/node/esm/DMD12JUh7HJw2-jl.mjs +638 -0
- package/node/esm/DdFgXl-Ux2cMBTs_.mjs +15 -0
- package/node/esm/DefYISWfdZJFx57m.mjs +255 -0
- package/node/esm/Ds0d8zXzmgOu3MGx.mjs +403 -0
- package/node/esm/MiU4rDOiocmJ-9Ry.mjs +1783 -0
- package/node/esm/index.mjs +49153 -36824
- package/package.json +15 -16
- package/resources/contents.json +64 -0
- package/resources/fonts/arial-bold-italic.metrics.json +139 -0
- package/resources/fonts/arial-bold.metrics.json +139 -0
- package/resources/fonts/arial-italic.metrics.json +139 -0
- package/resources/fonts/arial-regular.metrics.json +139 -0
- package/resources/fonts/calibri-bold-italic.metrics.json +137 -0
- package/resources/fonts/calibri-bold.metrics.json +137 -0
- package/resources/fonts/calibri-italic.metrics.json +137 -0
- package/resources/fonts/calibri-regular.metrics.json +137 -0
- package/resources/fonts/cambria-bold-italic.metrics.json +66 -0
- package/resources/fonts/cambria-bold.metrics.json +66 -0
- package/resources/fonts/cambria-italic.metrics.json +66 -0
- package/resources/fonts/cambria-regular.metrics.json +66 -0
- package/resources/fonts/contents.json +126 -0
- package/resources/fonts/courier-new-bold-italic.metrics.json +143 -0
- package/resources/fonts/courier-new-bold.metrics.json +143 -0
- package/resources/fonts/courier-new-italic.metrics.json +143 -0
- package/resources/fonts/courier-new-regular.metrics.json +143 -0
- package/resources/fonts/times-new-roman-bold-italic.metrics.json +141 -0
- package/resources/fonts/times-new-roman-bold.metrics.json +141 -0
- package/resources/fonts/times-new-roman-italic.metrics.json +143 -0
- package/resources/fonts/times-new-roman-regular.metrics.json +141 -0
- package/resources/locales/de/model.msg.json +112 -12
- package/resources/locales/en/model.msg.json +119 -13
- package/types/scripting-api.json +8048 -0
- package/types/scripting-enums.json +277 -106
- package/types/scripting.d.ts +18126 -7971
- package/types/src/anchored/AbstractAnchored.d.ts +18 -8
- package/types/src/anchored/AnchoredMap.d.ts +2 -0
- package/types/src/anchored/IAnchoredMap.d.ts +52 -4
- package/types/src/autoFill/AutoFill.d.ts +316 -32
- package/types/src/autoFill/IAutoFill.d.ts +232 -15
- package/types/src/border/{IBorder.d.ts → IBorders.d.ts} +42 -41
- package/types/src/border/index.d.ts +1 -1
- package/types/src/calculation/Calculation.d.ts +759 -49
- package/types/src/calculation/ExternalBookBindings.d.ts +118 -0
- package/types/src/calculation/FormulaText.d.ts +82 -0
- package/types/src/calculation/ICalculation.d.ts +318 -81
- package/types/src/calculation/INamedFormulasCollection.d.ts +5 -8
- package/types/src/calculation/NamedFormulaCollection.d.ts +139 -107
- package/types/src/calculation/NamedLambdaFunction.d.ts +28 -0
- package/types/src/calculation/TokenType.d.ts +9 -0
- package/types/src/calculation/Types.d.ts +83 -2
- package/types/src/calculation/_CloneBoundary.d.ts +80 -0
- package/types/src/calculation/_TableRename.d.ts +13 -0
- package/types/src/calculation/compiler/ASTTypes.d.ts +71 -0
- package/types/src/calculation/compiler/CompilerUtils.d.ts +135 -44
- package/types/src/calculation/compiler/FormulaCompiler.d.ts +29 -4
- package/types/src/calculation/compiler/FormulaParser.d.ts +1 -2
- package/types/src/calculation/compiler/LiteTransform.d.ts +17 -0
- package/types/src/calculation/compiler/ParserUtils.d.ts +26 -1
- package/types/src/calculation/compiler/SRParser.d.ts +2 -1
- package/types/src/calculation/compiler/Types.d.ts +79 -9
- package/types/src/calculation/executor/CalcExecutor.d.ts +422 -34
- package/types/src/calculation/executor/CalcExecutorUtils.d.ts +43 -2
- package/types/src/calculation/executor/CircularReference.d.ts +2 -0
- package/types/src/calculation/formula/Formula.d.ts +58 -21
- package/types/src/calculation/formula/FormulaBlock.d.ts +125 -23
- package/types/src/calculation/formula/FormulaRecordView.d.ts +79 -0
- package/types/src/calculation/formula/FunctionValues.d.ts +10 -0
- package/types/src/calculation/formula/IFormulaBlock.d.ts +261 -67
- package/types/src/calculation/formula/LambdaValue.d.ts +46 -23
- package/types/src/calculation/formula/LazyValue.d.ts +96 -0
- package/types/src/calculation/formula/TokenUtils.d.ts +25 -1
- package/types/src/calculation/formula/index.d.ts +1 -0
- package/types/src/calculation/functions/FunctionDeclarations.d.ts +31 -0
- package/types/src/calculation/functions/Operators.d.ts +8 -0
- package/types/src/calculation/functions/initializeFunctions.d.ts +15 -2
- package/types/src/calculation/grid/CalcGrid.d.ts +407 -158
- package/types/src/calculation/grid/CalcGridBackend.d.ts +493 -0
- package/types/src/calculation/grid/CalcGridProxy.d.ts +133 -0
- package/types/src/calculation/grid/CalcGridUtils.d.ts +62 -12
- package/types/src/calculation/grid/FormulaEntry.d.ts +129 -0
- package/types/src/calculation/grid/FormulaHost.d.ts +239 -0
- package/types/src/calculation/grid/ICalcGrid.d.ts +499 -141
- package/types/src/calculation/grid/_CalcRequest.d.ts +289 -0
- package/types/src/calculation/grid/index.d.ts +4 -0
- package/types/src/calculation/index.d.ts +2 -0
- package/types/src/calculation/spatial/ContentfulSpatialValue.d.ts +6 -2
- package/types/src/calculation/spatial/FormulaSpatialValue.d.ts +339 -11
- package/types/src/calculation/spatial/SpillEntry.d.ts +20 -5
- package/types/src/calculation/spatial/TouchedWindows.d.ts +86 -0
- package/types/src/calculation/spatial/index.d.ts +1 -0
- package/types/src/calculation/state/CalcInputs.d.ts +41 -0
- package/types/src/calculation/state/CalcNode.d.ts +160 -29
- package/types/src/calculation/state/CalcScope.d.ts +37 -0
- package/types/src/calculation/state/CalcState.d.ts +22 -1
- package/types/src/calculation/state/CalculationContext.d.ts +53 -4
- package/types/src/calculation/state/IContextContainer.d.ts +159 -26
- package/types/src/calculation/state/_PendingOverlayGrid.d.ts +163 -0
- package/types/src/calculation/state/_ReadObservedGrid.d.ts +74 -8
- package/types/src/calculation/state/index.d.ts +1 -0
- package/types/src/calculation/symbol/ExternalSheetSymbols.d.ts +80 -0
- package/types/src/calculation/symbol/ISymbolRegistry.d.ts +23 -0
- package/types/src/calculation/symbol/IndirectSymbolProvider.d.ts +16 -2
- package/types/src/calculation/symbol/SheetSymbolProvider.d.ts +63 -3
- package/types/src/calculation/symbol/SymbolRegistry.d.ts +20 -0
- package/types/src/calculation/symbol/index.d.ts +3 -2
- package/types/src/cell/ICell.d.ts +104 -29
- package/types/src/cell/ICellHeader.d.ts +24 -2
- package/types/src/cell/ICellProtection.d.ts +50 -10
- package/types/src/cellRange/ICellRange.d.ts +458 -97
- package/types/src/cellRange/ICellRanges.d.ts +23 -21
- package/types/src/chart/Chart.d.ts +41 -13
- package/types/src/chart/ChartCollection.d.ts +26 -0
- package/types/src/chart/IChart.d.ts +166 -12
- package/types/src/chart/IChartCollection.d.ts +25 -0
- package/types/src/chart/_ChartXml.d.ts +70 -0
- package/types/src/chart/index.d.ts +1 -3
- package/types/src/collections/ArraysGrid.d.ts +1 -1
- package/types/src/collections/IGrid.d.ts +1 -1
- package/types/src/collections/ISparseGrid.d.ts +9 -0
- package/types/src/collections/ISpatialMap.d.ts +59 -21
- package/types/src/collections/ImmutableList.d.ts +28 -0
- package/types/src/collections/MixedTypedArrayList.d.ts +168 -108
- package/types/src/collections/OverlappingRangeIterator.d.ts +13 -17
- package/types/src/collections/RepeatingList.d.ts +7 -0
- package/types/src/collections/ScalarGrid.d.ts +50 -0
- package/types/src/collections/SparseGrid.d.ts +1 -1
- package/types/src/collections/SpatialMap.d.ts +13 -21
- package/types/src/collections/Tuple.d.ts +128 -16
- package/types/src/collections/_GridUtils.d.ts +19 -6
- package/types/src/collections/_RangeSweep.d.ts +97 -0
- package/types/src/collections/_SpatialUtils.d.ts +20 -2
- package/types/src/collections/index.d.ts +1 -0
- package/types/src/color/_BuiltInIndexDefs.d.ts +6 -0
- package/types/src/comment/Comment.d.ts +223 -0
- package/types/src/comment/CommentCollection.d.ts +40 -0
- package/types/src/comment/IComment.d.ts +340 -50
- package/types/src/comment/ICommentCollection.d.ts +90 -0
- package/types/src/comment/NoteMovable.d.ts +26 -0
- package/types/src/comment/_CommentUtils.d.ts +50 -0
- package/types/src/comment/_NoteBox.d.ts +50 -0
- package/types/src/comment/index.d.ts +1 -0
- package/types/src/condition/AnchoredConditional.d.ts +82 -17
- package/types/src/condition/BuiltInOperators/AbstractOperator.d.ts +42 -12
- package/types/src/condition/BuiltInOperators/AfterEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/AfterOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/AndOperator.d.ts +3 -1
- package/types/src/condition/BuiltInOperators/AverageOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BeforeEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BeforeOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/BetweenOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/ColorOperator.d.ts +4 -0
- package/types/src/condition/BuiltInOperators/ContainsOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/EndsWithOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/EqualToOperator.d.ts +4 -1
- package/types/src/condition/BuiltInOperators/ExpressionOperator.d.ts +5 -6
- package/types/src/condition/BuiltInOperators/GreaterThanEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/GreaterThanOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/IconOperator.d.ts +4 -0
- package/types/src/condition/BuiltInOperators/InSetOperator.d.ts +22 -5
- package/types/src/condition/BuiltInOperators/LessThanEqualToOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/LessThanOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/NotOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/OrOperator.d.ts +3 -1
- package/types/src/condition/BuiltInOperators/StartsWithOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/TimePeriodOperator.d.ts +2 -0
- package/types/src/condition/BuiltInOperators/TopNOperator.d.ts +6 -0
- package/types/src/condition/BuiltinSelectors/BaseSelector.d.ts +21 -6
- package/types/src/condition/BuiltinSelectors/DateSelector.d.ts +4 -5
- package/types/src/condition/BuiltinSelectors/DisplaySelector.d.ts +20 -0
- package/types/src/condition/BuiltinSelectors/TextLengthSelector.d.ts +7 -5
- package/types/src/condition/BuiltinSelectors/TimeSelector.d.ts +3 -5
- package/types/src/condition/BuiltinSelectors/WholeSelector.d.ts +3 -5
- package/types/src/condition/BuiltinSelectors/index.d.ts +12 -6
- package/types/src/condition/Condition.d.ts +19 -1
- package/types/src/condition/ICondition.d.ts +293 -73
- package/types/src/condition/_ConditionFormula.d.ts +152 -0
- package/types/src/condition/_ConditionUtils.d.ts +167 -13
- package/types/src/conditionalFormat/ConditionalEntry.d.ts +3 -3
- package/types/src/conditionalFormat/ConditionalFormat.d.ts +25 -14
- package/types/src/conditionalFormat/ConditionalFormatCollection.d.ts +19 -8
- package/types/src/conditionalFormat/IConditionalFormat.d.ts +12 -10
- package/types/src/conditionalFormat/IConditionalFormatCollection.d.ts +2 -0
- package/types/src/dataValidation/DataValidation.d.ts +69 -3
- package/types/src/dataValidation/DataValidationCollection.d.ts +20 -9
- package/types/src/dataValidation/IDataValidation.d.ts +149 -30
- package/types/src/dataValidation/IDataValidationCollection.d.ts +10 -2
- package/types/src/date/DateUtils.d.ts +20 -0
- package/types/src/date/_DateUtils.d.ts +91 -7
- package/types/src/externalBook/ExternalBookCollection.d.ts +145 -12
- package/types/src/externalBook/ExternalBookName.d.ts +96 -0
- package/types/src/externalBook/IExternalBook.d.ts +170 -18
- package/types/src/externalBook/IExternalBookCollection.d.ts +79 -7
- package/types/src/externalBook/index.d.ts +1 -0
- package/types/src/{lib/file → file}/file.browser.d.ts +22 -8
- package/types/src/{lib/file → file}/file.node.d.ts +7 -2
- package/types/src/fill/IEffect.d.ts +5 -5
- package/types/src/fill/IFill.d.ts +123 -78
- package/types/src/fill/IStroke.d.ts +190 -64
- package/types/src/fill/RectAlignment.d.ts +20 -0
- package/types/src/fill/_Fills.d.ts +187 -0
- package/types/src/fill/_Stroke.d.ts +89 -0
- package/types/src/fill/index.d.ts +1 -0
- package/types/src/filter/IFilter.d.ts +188 -5
- package/types/src/font/AdvanceBuilder.d.ts +25 -0
- package/types/src/font/AdvanceTable.d.ts +114 -0
- package/types/src/font/FontCollection.d.ts +57 -0
- package/types/src/font/IFont.d.ts +17 -0
- package/types/src/font/IFontCollection.d.ts +120 -22
- package/types/src/font/TableFileAdvanceBuilder.d.ts +27 -0
- package/types/src/font/_BuiltinFontTables.d.ts +10 -0
- package/types/src/font/index.d.ts +4 -1
- package/types/src/group/Group.d.ts +136 -0
- package/types/src/group/GroupMovableCollection.d.ts +37 -0
- package/types/src/group/IGroup.d.ts +129 -0
- package/types/src/group/index.d.ts +2 -0
- package/types/src/history/IHistory.d.ts +3 -2
- package/types/src/hyperlink/IHyperlink.d.ts +13 -0
- package/types/src/hyperlink/_Hyperlink.d.ts +5 -1
- package/types/src/i18n/LanguagePack.d.ts +12 -4
- package/types/src/index.d.ts +5 -0
- package/types/src/io/AbstractBackingStore.d.ts +24 -1
- package/types/src/io/ArrayBackingStore.d.ts +1 -1
- package/types/src/io/EmbeddedPart.d.ts +20 -0
- package/types/src/io/IEmbeddedPart.d.ts +63 -0
- package/types/src/io/IWorkbookIO.d.ts +185 -18
- package/types/src/io/WorkbookIO.d.ts +9 -0
- package/types/src/io/WorkbookOrigin.d.ts +20 -11
- package/types/src/io/WorkbookOriginProvider.d.ts +46 -0
- package/types/src/io/_XmlFragment.d.ts +49 -0
- package/types/src/io/index.d.ts +1 -0
- package/types/src/license/LicenseDetails.d.ts +1 -0
- package/types/src/license/LicenseManager.d.ts +4 -1
- package/types/src/license/Types.d.ts +38 -0
- package/types/src/license/_Utils.d.ts +22 -0
- package/types/src/license/details.d.ts +24 -0
- package/types/src/license/license-key.d.ts +49 -2
- package/types/src/license/runtime.browser.d.ts +41 -0
- package/types/src/{lib/utils/utils.node.d.ts → license/runtime.node.d.ts} +9 -12
- package/types/src/listener/IListener.d.ts +12 -7
- package/types/src/listener/ListenerEmitter.d.ts +46 -5
- package/types/src/model/AbstractModel.d.ts +14 -5
- package/types/src/movable/AbstractMovableContent.d.ts +182 -0
- package/types/src/movable/CustomElement.d.ts +4 -5
- package/types/src/movable/ErrorContent.d.ts +49 -0
- package/types/src/movable/FormControl.d.ts +285 -0
- package/types/src/movable/GroupMember.d.ts +87 -0
- package/types/src/movable/ICustomElement.d.ts +7 -2
- package/types/src/movable/IErrorContent.d.ts +23 -0
- package/types/src/movable/IFormControl.d.ts +455 -0
- package/types/src/movable/IMovable.d.ts +378 -46
- package/types/src/movable/IMovableCollection.d.ts +63 -3
- package/types/src/movable/Movable.d.ts +149 -49
- package/types/src/movable/MovableCollection.d.ts +15 -8
- package/types/src/movable/MovableContentRegistry.d.ts +113 -0
- package/types/src/movable/_BuiltInContents.d.ts +14 -0
- package/types/src/movable/_ContentFactory.d.ts +35 -0
- package/types/src/movable/_DrawnBounds.d.ts +37 -0
- package/types/src/movable/_InsertableCollection.d.ts +28 -0
- package/types/src/movable/_MovableUtils.d.ts +5 -0
- package/types/src/movable/_PendingContent.d.ts +25 -0
- package/types/src/movable/_PlacementUtils.d.ts +55 -0
- package/types/src/movable/_RotatedFrame.d.ts +20 -0
- package/types/src/movable/index.d.ts +7 -1
- package/types/src/named/AbstractNamed.d.ts +1 -1
- package/types/src/named/INamed.d.ts +4 -1
- package/types/src/named/INamedCollection.d.ts +26 -0
- package/types/src/named/NamedCollection.d.ts +16 -15
- package/types/src/numFmt/BuiltInFormats.d.ts +20 -7
- package/types/src/numFmt/IFormatEngine.d.ts +2 -0
- package/types/src/numFmt/NumfmtFormatEngine.d.ts +2 -0
- package/types/src/numFmt/_FormatCell.d.ts +11 -2
- package/types/src/numFmt/_NumFmtUtils.d.ts +0 -1
- package/types/src/numFmt/vendor/numfmt/_sheetxl.d.ts +6 -0
- package/types/src/outline/IOutline.d.ts +186 -0
- package/types/src/outline/Outline.d.ts +157 -0
- package/types/src/outline/index.d.ts +2 -0
- package/types/src/person/IPerson.d.ts +99 -0
- package/types/src/person/IPersonCollection.d.ts +51 -0
- package/types/src/person/Person.d.ts +32 -0
- package/types/src/person/PersonCollection.d.ts +49 -0
- package/types/src/person/index.d.ts +4 -0
- package/types/src/picture/IPicture.d.ts +33 -3
- package/types/src/picture/Picture.d.ts +33 -13
- package/types/src/pivot/IPivotTable.d.ts +72 -0
- package/types/src/pivot/IPivotTableCollection.d.ts +25 -0
- package/types/src/pivot/PivotCache.d.ts +34 -0
- package/types/src/pivot/PivotTable.d.ts +61 -0
- package/types/src/pivot/PivotTableCollection.d.ts +25 -0
- package/types/src/pivot/_PivotXml.d.ts +24 -0
- package/types/src/pivot/index.d.ts +6 -0
- package/types/src/primitives/CompositeRangeStats.d.ts +2 -0
- package/types/src/primitives/Criteria.d.ts +1 -1
- package/types/src/primitives/Grouping.d.ts +65 -0
- package/types/src/primitives/LambdaBrand.d.ts +26 -0
- package/types/src/primitives/PrimitiveUtils.d.ts +60 -21
- package/types/src/primitives/Range.d.ts +136 -26
- package/types/src/primitives/RangeStats.d.ts +30 -2
- package/types/src/primitives/ReferenceRange.d.ts +44 -0
- package/types/src/primitives/Runtime.d.ts +15 -2
- package/types/src/primitives/environment.browser.d.ts +9 -0
- package/types/src/primitives/environment.node.d.ts +10 -0
- package/types/src/primitives/stats/AggregateStats.d.ts +49 -15
- package/types/src/primitives/stats/Cancellation.d.ts +13 -0
- package/types/src/primitives/stats/FrequencyStats.d.ts +10 -1
- package/types/src/primitives/stats/LookupIndex.d.ts +46 -0
- package/types/src/primitives/stats/Ranked.d.ts +1 -1
- package/types/src/primitives/stats/SortedNumbers.d.ts +4 -2
- package/types/src/primitives/stats/index.d.ts +1 -0
- package/types/src/print/IPrint.d.ts +0 -22
- package/types/src/protectedRange/IProtectedRange.d.ts +4 -0
- package/types/src/protectedRange/IProtectedRangeCollection.d.ts +2 -0
- package/types/src/protectedRange/ProtectedRange.d.ts +1 -4
- package/types/src/protectedRange/ProtectedRangeCollection.d.ts +19 -8
- package/types/src/protection/DefaultProtection.d.ts +12 -1
- package/types/src/protection/IProtection.d.ts +36 -2
- package/types/src/reference/ReferenceUtils.d.ts +80 -0
- package/types/src/reference/index.d.ts +2 -0
- package/types/src/resource/IResource.d.ts +21 -1
- package/types/src/resource/IResourceCollection.d.ts +9 -1
- package/types/src/resource/ResourceCollection.d.ts +6 -6
- package/types/src/scripting/FunctionArguments.d.ts +22 -0
- package/types/src/scripting/FunctionCollection.d.ts +49 -15
- package/types/src/scripting/IFunctionCollection.d.ts +62 -32
- package/types/src/scripting/IModule.d.ts +25 -0
- package/types/src/scripting/IModuleCollection.d.ts +17 -0
- package/types/src/scripting/IScript.d.ts +28 -26
- package/types/src/scripting/Module.d.ts +34 -6
- package/types/src/scripting/ModuleCollection.d.ts +17 -12
- package/types/src/scripting/Runtime.d.ts +15 -0
- package/types/src/scripting/Scripts.d.ts +3 -7
- package/types/src/scripting/TypedFunction.d.ts +200 -4
- package/types/src/scripting/_FunctionIndex.d.ts +8 -3
- package/types/src/scripting/_ModuleUtils.d.ts +11 -1
- package/types/src/scripting/_ScriptUtils.d.ts +3 -0
- package/types/src/scripting/declarations.browser.d.ts +10 -0
- package/types/src/scripting/declarations.d.ts +49 -0
- package/types/src/scripting/declarations.node.d.ts +9 -0
- package/types/src/scripting/index.d.ts +3 -0
- package/types/src/selection/IMovableSelection.d.ts +148 -0
- package/types/src/selection/IRangeSelection.d.ts +9 -4
- package/types/src/selection/MovableSelection.d.ts +48 -0
- package/types/src/selection/RangeSelection.d.ts +15 -0
- package/types/src/selection/index.d.ts +1 -0
- package/types/src/shape/GeometryPreset.d.ts +197 -0
- package/types/src/shape/IGeometry.d.ts +380 -0
- package/types/src/shape/IShape.d.ts +341 -194
- package/types/src/shape/IShapeStyle.d.ts +135 -0
- package/types/src/shape/Shape.d.ts +107 -21
- package/types/src/shape/ShapeStyleUtils.d.ts +54 -0
- package/types/src/shape/_ConnectorFrame.d.ts +32 -0
- package/types/src/shape/_ConnectorRoute.d.ts +33 -0
- package/types/src/shape/_Connectors.d.ts +108 -0
- package/types/src/shape/_Geometry.d.ts +14 -0
- package/types/src/shape/_GeometryLoader.d.ts +21 -0
- package/types/src/shape/_ShapeStyle.d.ts +70 -0
- package/types/src/shape/_builtIn/_BuiltInChunks.d.ts +10 -0
- package/types/src/shape/_builtIn/_BuiltInDef.d.ts +9 -0
- package/types/src/shape/_builtIn/arrows.d.ts +6 -0
- package/types/src/shape/_builtIn/basic.d.ts +6 -0
- package/types/src/shape/_builtIn/callouts.d.ts +6 -0
- package/types/src/shape/_builtIn/flowchart.d.ts +6 -0
- package/types/src/shape/_builtIn/lines.d.ts +6 -0
- package/types/src/shape/_builtIn/math.d.ts +6 -0
- package/types/src/shape/_builtIn/other.d.ts +6 -0
- package/types/src/shape/_builtIn/rectangles.d.ts +6 -0
- package/types/src/shape/_builtIn/starsBanners.d.ts +6 -0
- package/types/src/shape/geometry/_strokeEnds.d.ts +7 -0
- package/types/src/shape/geometry/format.d.ts +3 -0
- package/types/src/shape/geometry/geometry.d.ts +85 -0
- package/types/src/shape/geometry/guides.d.ts +54 -0
- package/types/src/shape/geometry/handles.d.ts +14 -0
- package/types/src/shape/geometry/index.d.ts +7 -0
- package/types/src/shape/geometry/lineEnds.d.ts +54 -0
- package/types/src/shape/geometry/paths.d.ts +35 -0
- package/types/src/shape/geometry/segments.d.ts +114 -0
- package/types/src/shape/index.d.ts +3 -0
- package/types/src/sheet/CellRegion.d.ts +6 -0
- package/types/src/sheet/ICellContainerOptions.d.ts +50 -0
- package/types/src/sheet/ISheet.d.ts +197 -50
- package/types/src/sheet/ISheetCollection.d.ts +2 -5
- package/types/src/sheet/NamedCellRange.d.ts +16 -7
- package/types/src/sheet/NamedRange.d.ts +8 -0
- package/types/src/sheet/Sheet.d.ts +923 -138
- package/types/src/sheet/SheetCell.d.ts +92 -32
- package/types/src/sheet/SheetCollection.d.ts +19 -8
- package/types/src/sheet/SheetRange.d.ts +92 -17
- package/types/src/sheet/SheetRanges.d.ts +22 -9
- package/types/src/sheet/_CellBuffer.d.ts +214 -0
- package/types/src/sheet/_HeldFormula.d.ts +69 -0
- package/types/src/sheet/_InvalidSheetRange.d.ts +7 -7
- package/types/src/sheet/_ListenerAnchor.d.ts +104 -0
- package/types/src/sheet/_RangeStateSweep.d.ts +16 -0
- package/types/src/sheet/_ScalarListFactory.d.ts +61 -0
- package/types/src/sheet/_SheetAutoFillUtils.d.ts +74 -0
- package/types/src/sheet/_SheetAutoFitUtils.d.ts +28 -0
- package/types/src/sheet/_SheetEvents.d.ts +43 -0
- package/types/src/sheet/_SheetFilterUtils.d.ts +49 -1
- package/types/src/sheet/_SheetIntents.d.ts +296 -0
- package/types/src/sheet/_SheetMutations.d.ts +182 -62
- package/types/src/sheet/_SheetStateReader.d.ts +19 -13
- package/types/src/sheet/_SheetStateTypes.d.ts +83 -78
- package/types/src/sheet/_SheetUtils.d.ts +39 -22
- package/types/src/sheet/_WatchAnchor.d.ts +93 -0
- package/types/src/sheet/spatial/HeldFormulaEntry.d.ts +36 -0
- package/types/src/sheet/spatial/index.d.ts +1 -0
- package/types/src/sheet/style/SheetCellStyle.d.ts +209 -304
- package/types/src/sheet/style/SheetDirectStyle.d.ts +30 -19
- package/types/src/sheet/style/SheetNamedStyle.d.ts +17 -17
- package/types/src/sheet/style/SheetTableStyle.d.ts +5 -5
- package/types/src/sheet/style/_Resolvers.d.ts +14 -8
- package/types/src/sheet/style/_StyleUtils.d.ts +38 -8
- package/types/src/sheetHeader/ISheetHeader.d.ts +94 -53
- package/types/src/sheetHeader/SheetCellHeader.d.ts +4 -0
- package/types/src/sheetHeader/SheetHeader.d.ts +42 -22
- package/types/src/sheetHeader/_HeaderMetrics.d.ts +37 -0
- package/types/src/sheetHeader/_HeaderUtils.d.ts +5 -3
- package/types/src/sheetProtection/ISheetProtection.d.ts +41 -7
- package/types/src/sheetProtection/SheetProtection.d.ts +12 -0
- package/types/src/sheetView/ISheetView.d.ts +69 -15
- package/types/src/sheetView/SheetView.d.ts +20 -11
- package/types/src/slicer/ISlicer.d.ts +304 -17
- package/types/src/slicer/ISlicerStyle.d.ts +109 -0
- package/types/src/slicer/Slicer.d.ts +128 -13
- package/types/src/slicer/SlicerStyle.d.ts +25 -0
- package/types/src/slicer/_BuiltInSlicerStyles.d.ts +13 -0
- package/types/src/slicer/_SlicerUtils.d.ts +30 -0
- package/types/src/slicer/index.d.ts +1 -0
- package/types/src/sort/ISort.d.ts +4 -2
- package/types/src/string/IStringCollection.d.ts +5 -0
- package/types/src/string/StringCollection.d.ts +6 -6
- package/types/src/style/{IStyle.d.ts → ICellStyle.d.ts} +72 -52
- package/types/src/style/INamedStyleCollection.d.ts +72 -0
- package/types/src/style/ISlicerStyleCollection.d.ts +77 -0
- package/types/src/style/IStyleCollection.d.ts +91 -60
- package/types/src/style/ITableStyleCollection.d.ts +89 -0
- package/types/src/style/NamedStyleCollection.d.ts +39 -0
- package/types/src/style/SlicerStyleCollection.d.ts +46 -0
- package/types/src/style/StyleCollection.d.ts +81 -26
- package/types/src/style/TableStyleCollection.d.ts +49 -0
- package/types/src/style/_BuiltInStyleDefs.d.ts +6 -6
- package/types/src/style/_BuiltInStyleNames.d.ts +2 -2
- package/types/src/style/index.d.ts +7 -1
- package/types/src/table/AnchoredTable.d.ts +701 -72
- package/types/src/table/AutoTable.d.ts +7 -5
- package/types/src/table/ITable.d.ts +261 -34
- package/types/src/table/ITableCollection.d.ts +12 -0
- package/types/src/table/ITableStyle.d.ts +37 -37
- package/types/src/table/TableCollection.d.ts +19 -8
- package/types/src/table/_FilterField.d.ts +19 -6
- package/types/src/table/_NamedTable.d.ts +17 -1
- package/types/src/table/_NamedTableSource.d.ts +1 -0
- package/types/src/table/_SortField.d.ts +2 -0
- package/types/src/table/_TableColumn.d.ts +13 -2
- package/types/src/table/_TableMessages.d.ts +1 -0
- package/types/src/table/_TableUtils.d.ts +40 -0
- package/types/src/text/Bullet.d.ts +4 -0
- package/types/src/text/IText.d.ts +182 -0
- package/types/src/text/ITextFrame.d.ts +110 -1
- package/types/src/text/TextBoxAlignment.d.ts +25 -16
- package/types/src/text/TextFrame.d.ts +4 -0
- package/types/src/text/TextLine.d.ts +4 -0
- package/types/src/text/TextParagraph.d.ts +4 -0
- package/types/src/text/TextRotation.d.ts +3 -3
- package/types/src/text/TextRun.d.ts +9 -0
- package/types/src/text/TextStacked.d.ts +83 -0
- package/types/src/text/index.d.ts +1 -0
- package/types/src/text/richtext/IRichText.d.ts +36 -0
- package/types/src/text/richtext/IStyledFont.d.ts +18 -18
- package/types/src/text/richtext/index.d.ts +1 -0
- package/types/src/theme/ITheme.d.ts +45 -4
- package/types/src/theme/IThemeCollection.d.ts +2 -0
- package/types/src/theme/ThemeCollection.d.ts +11 -7
- package/types/src/theme/_OfficeFormatScheme.d.ts +3 -0
- package/types/src/transaction/ITransaction.d.ts +258 -45
- package/types/src/transaction/Transaction.d.ts +101 -11
- package/types/src/transaction/TransactionUndoManager.d.ts +4 -1
- package/types/src/type/AbstractCollection.d.ts +101 -0
- package/types/src/type/ICollection.d.ts +117 -0
- package/types/src/type/ITypes.d.ts +9 -7
- package/types/src/type/index.d.ts +1 -0
- package/types/src/utils/_CSSUtils.d.ts +3 -3
- package/types/src/wasm/_sdkWasm.d.ts +7 -0
- package/types/src/wasm/index.d.ts +2 -0
- package/types/src/wasm/sdkWasm.d.ts +29 -0
- package/types/src/workbook/IWorkbook.d.ts +180 -40
- package/types/src/workbook/Workbook.d.ts +123 -10
- package/types/src/workbook/_WorkbookIntents.d.ts +36 -0
- package/types/src/workbookProtection/IWorkbookProtection.d.ts +7 -0
- package/types/src/workbookProtection/WorkbookProtection.d.ts +3 -0
- package/types/src/workbookView/IWorkbookView.d.ts +12 -0
- package/types/src/workbookView/WorkbookView.d.ts +5 -0
- package/browser/cjs/B7_pDFYCVzt-3hUs.cjs +0 -1
- package/browser/cjs/BF14ZEAnaqxXroSj.cjs +0 -1
- package/browser/cjs/BXtvdT1Z-MsB_o5F.cjs +0 -1
- package/browser/cjs/Bc4JjVVZfFo3R4He.cjs +0 -33
- package/browser/cjs/CD2RXdnfqSYNc6gX.cjs +0 -57
- package/browser/cjs/DcLpXGexEtOxi-dD.cjs +0 -1
- package/browser/cjs/Dv3x6zut1ZRUt3IF.cjs +0 -10
- package/browser/cjs/index.cjs +0 -3
- package/browser/esm/0Mj5WKM362q6CECb.mjs +0 -824
- package/browser/esm/CPTtL2f6_4iblmFM.mjs +0 -4436
- package/browser/esm/CoA-sUxjiIUIpTUF.mjs +0 -109
- package/browser/esm/Dy4Sdpju1T2icURu.mjs +0 -50854
- package/node/esm/BtGxbEbBm79YvF_k.mjs +0 -843
- package/node/esm/DqgWsVXROpSgKq6c.mjs +0 -114
- package/types/src/cellRange/_GraphNode.d.ts +0 -38
- package/types/src/condition/BuiltinSelectors/ListSelector.d.ts +0 -12
- package/types/src/dataValidation/_Utils.d.ts +0 -10
- package/types/src/lib/utils/_Utils.d.ts +0 -20
- package/types/src/lib/utils/utils.browser.d.ts +0 -33
- package/types/src/movable/IGroup.d.ts +0 -30
- package/types/src/movable/IMovableSelection.d.ts +0 -49
- package/types/src/sheet/listener/RangesListener.d.ts +0 -32
- package/types/src/sheet/listener/RangesListenerEntry.d.ts +0 -19
- package/types/src/sheet/listener/index.d.ts +0 -3
- /package/types/src/{lib/utils → license}/banner.d.ts +0 -0
|
@@ -6,18 +6,19 @@ import { IColor } from '../../color';
|
|
|
6
6
|
import { IFill } from '../../fill';
|
|
7
7
|
import { IFont } from '../../font';
|
|
8
8
|
import { ITextFrame, IStyledFont } from '../../text';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { IBorders } from '../../border';
|
|
10
|
+
import { ICellProtection } from '../../cell';
|
|
11
|
+
import { ICellStyle, IStyleCollection } from '../../style';
|
|
11
12
|
export interface CreateCellStyleOptions {
|
|
12
13
|
styles: IStyleCollection;
|
|
13
14
|
/**
|
|
14
15
|
* Does not include empty or normal style
|
|
15
16
|
*/
|
|
16
|
-
properties:
|
|
17
|
+
properties: ICellStyle.Properties | ICellStyle.Properties[];
|
|
17
18
|
/**
|
|
18
19
|
* Used if clone is called.
|
|
19
20
|
*/
|
|
20
|
-
direct: IProperties.ICellRanged<
|
|
21
|
+
direct: IProperties.ICellRanged<ICellStyle.Properties, ICellStyle.Modifiers>;
|
|
21
22
|
/**
|
|
22
23
|
* A cell style is a specific coords (may be undefined for temporary/coordless cells)
|
|
23
24
|
*/
|
|
@@ -38,12 +39,12 @@ export interface CreateCellStyleOptions {
|
|
|
38
39
|
updater: CellStyleUpdater;
|
|
39
40
|
}
|
|
40
41
|
export interface CellStyleUpdater {
|
|
41
|
-
(update:
|
|
42
|
+
(update: ICellStyle.Update, options?: ICellStyle.UpdateOptions, range?: IRange.Coords): ICellStyle;
|
|
42
43
|
}
|
|
43
44
|
/**
|
|
44
45
|
* This is for cell styles that don't have specific properties per row,column
|
|
45
46
|
*/
|
|
46
|
-
export declare function resolveStyleUpdate(update:
|
|
47
|
+
export declare function resolveStyleUpdate(update: ICellStyle.Update, prev: (() => ICellStyle) | ICellStyle): ICellStyle.Modifiers;
|
|
47
48
|
declare class InheritableProperties<P, J> {
|
|
48
49
|
protected _p: readonly Readonly<P>[];
|
|
49
50
|
constructor(properties: Readonly<P> | readonly Readonly<P>[]);
|
|
@@ -89,54 +90,54 @@ declare class Inheritable<P, J> {
|
|
|
89
90
|
getProperties(): P;
|
|
90
91
|
toJSON(): J;
|
|
91
92
|
}
|
|
92
|
-
export declare class CellBorderStroke extends Inheritable<
|
|
93
|
-
protected _edge:
|
|
94
|
-
constructor(edge:
|
|
95
|
-
/** {@inheritDoc
|
|
96
|
-
getStyle():
|
|
97
|
-
/** {@inheritDoc
|
|
98
|
-
setStyle(style:
|
|
99
|
-
/** {@inheritDoc
|
|
93
|
+
export declare class CellBorderStroke extends Inheritable<IBorders.StrokeProperties, IBorders.StrokeJSON> implements IBorders.IStroke {
|
|
94
|
+
protected _edge: IBorders.Edge;
|
|
95
|
+
constructor(edge: IBorders.Edge, options: CreateCellStyleOptions, properties: IBorders.StrokeProperties[]);
|
|
96
|
+
/** {@inheritDoc IBorders.IStroke.getStyle} */
|
|
97
|
+
getStyle(): IBorders.StrokeStyle;
|
|
98
|
+
/** {@inheritDoc IBorders.IStroke.setStyle} */
|
|
99
|
+
setStyle(style: IBorders.StrokeStyle | string | null, options?: ICellStyle.UpdateOptions): IBorders.IStroke;
|
|
100
|
+
/** {@inheritDoc IBorders.IStroke.getColor} */
|
|
100
101
|
getColor(): IColor;
|
|
101
|
-
/** {@inheritDoc
|
|
102
|
-
setColor(color: IColor.Serializable | null, options?:
|
|
103
|
-
/** {@inheritDoc
|
|
102
|
+
/** {@inheritDoc IBorders.IStroke.setColor} */
|
|
103
|
+
setColor(color: IColor.Serializable | null, options?: ICellStyle.UpdateOptions): IBorders.IStroke;
|
|
104
|
+
/** {@inheritDoc IBorders.IStroke.isNone} */
|
|
104
105
|
isNone(): boolean;
|
|
105
|
-
/** {@inheritDoc
|
|
106
|
+
/** {@inheritDoc IBorders.IStroke.toCSS} */
|
|
106
107
|
toCSS(): Partial<CSSStyleDeclaration>;
|
|
107
108
|
get [Symbol.toStringTag](): string;
|
|
108
109
|
toString(): string;
|
|
109
|
-
/** {@inheritDoc
|
|
110
|
+
/** {@inheritDoc IBorders.IStroke.isIStroke} */
|
|
110
111
|
get isIStroke(): true;
|
|
111
112
|
}
|
|
112
|
-
export declare class CellBorder extends Inheritable<
|
|
113
|
-
protected _left:
|
|
114
|
-
protected _right:
|
|
115
|
-
protected _top:
|
|
116
|
-
protected _bottom:
|
|
117
|
-
protected _diagUp:
|
|
118
|
-
protected _diagDown:
|
|
113
|
+
export declare class CellBorder extends Inheritable<IBorders.Properties, IBorders.JSON> implements IBorders {
|
|
114
|
+
protected _left: IBorders.IStroke | undefined;
|
|
115
|
+
protected _right: IBorders.IStroke | undefined;
|
|
116
|
+
protected _top: IBorders.IStroke | undefined;
|
|
117
|
+
protected _bottom: IBorders.IStroke | undefined;
|
|
118
|
+
protected _diagUp: IBorders.IStroke | undefined;
|
|
119
|
+
protected _diagDown: IBorders.IStroke | undefined;
|
|
119
120
|
protected _isEmpty: boolean | undefined;
|
|
120
|
-
/** {@inheritDoc
|
|
121
|
-
getLeft():
|
|
122
|
-
/** {@inheritDoc
|
|
123
|
-
setLeft(stroke:
|
|
124
|
-
/** {@inheritDoc
|
|
125
|
-
getRight():
|
|
126
|
-
/** {@inheritDoc
|
|
127
|
-
setRight(stroke:
|
|
128
|
-
/** {@inheritDoc
|
|
129
|
-
getTop():
|
|
130
|
-
/** {@inheritDoc
|
|
131
|
-
setTop(stroke:
|
|
132
|
-
/** {@inheritDoc
|
|
133
|
-
getBottom():
|
|
134
|
-
/** {@inheritDoc
|
|
135
|
-
setBottom(stroke:
|
|
136
|
-
/** {@inheritDoc
|
|
137
|
-
getHorizontal():
|
|
138
|
-
/** {@inheritDoc
|
|
139
|
-
getVertical():
|
|
121
|
+
/** {@inheritDoc IBorders.getLeft} */
|
|
122
|
+
getLeft(): IBorders.IStroke;
|
|
123
|
+
/** {@inheritDoc IBorders.setLeft} */
|
|
124
|
+
setLeft(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
125
|
+
/** {@inheritDoc IBorders.getRight} */
|
|
126
|
+
getRight(): IBorders.IStroke;
|
|
127
|
+
/** {@inheritDoc IBorders.setRight} */
|
|
128
|
+
setRight(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
129
|
+
/** {@inheritDoc IBorders.getTop} */
|
|
130
|
+
getTop(): IBorders.IStroke;
|
|
131
|
+
/** {@inheritDoc IBorders.setTop} */
|
|
132
|
+
setTop(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
133
|
+
/** {@inheritDoc IBorders.IStroke.getBottom} */
|
|
134
|
+
getBottom(): IBorders.IStroke;
|
|
135
|
+
/** {@inheritDoc IBorders.setBottom} */
|
|
136
|
+
setBottom(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
137
|
+
/** {@inheritDoc IBorders.getHorizontal} */
|
|
138
|
+
getHorizontal(): IBorders.IStroke | null;
|
|
139
|
+
/** {@inheritDoc IBorders.getVertical} */
|
|
140
|
+
getVertical(): IBorders.IStroke | null;
|
|
140
141
|
/**
|
|
141
142
|
* The inner rule for an axis, read from the authored block rather than the cell.
|
|
142
143
|
*
|
|
@@ -147,87 +148,101 @@ export declare class CellBorder extends Inheritable<IBorder.Properties, IBorder.
|
|
|
147
148
|
* @internal
|
|
148
149
|
*/
|
|
149
150
|
private _inner;
|
|
150
|
-
/** {@inheritDoc
|
|
151
|
-
getDiagonalUp():
|
|
152
|
-
/** {@inheritDoc
|
|
153
|
-
setDiagonalUp(stroke:
|
|
154
|
-
/** {@inheritDoc
|
|
155
|
-
getDiagonalDown():
|
|
156
|
-
/** {@inheritDoc
|
|
157
|
-
setDiagonalDown(stroke:
|
|
158
|
-
/** {@inheritDoc
|
|
159
|
-
setVertical(stroke:
|
|
160
|
-
/** {@inheritDoc
|
|
161
|
-
setHorizontal(stroke:
|
|
162
|
-
/** {@inheritDoc
|
|
163
|
-
setOutline(stroke:
|
|
151
|
+
/** {@inheritDoc IBorders.IStroke.getDiagonalUp} */
|
|
152
|
+
getDiagonalUp(): IBorders.IStroke;
|
|
153
|
+
/** {@inheritDoc IBorders.setDiagonalUp} */
|
|
154
|
+
setDiagonalUp(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
155
|
+
/** {@inheritDoc IBorders.getDiagonalDown} */
|
|
156
|
+
getDiagonalDown(): IBorders.IStroke;
|
|
157
|
+
/** {@inheritDoc IBorders.setDiagonalDown} */
|
|
158
|
+
setDiagonalDown(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
159
|
+
/** {@inheritDoc IBorders.setVertical} */
|
|
160
|
+
setVertical(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
161
|
+
/** {@inheritDoc IBorders.setHorizontal} */
|
|
162
|
+
setHorizontal(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
163
|
+
/** {@inheritDoc IBorders.setHorizontal} */
|
|
164
|
+
setOutline(stroke: IBorders.IStroke | IProperties.ResolvableProperties<IBorders.StrokeProperties> | string | null, options?: ICellStyle.UpdateOptions): IBorders;
|
|
164
165
|
/**
|
|
165
166
|
* Resolves whether an edge's effective stroke style is `None` without allocating a
|
|
166
167
|
* `CellBorderStroke`. Mirrors `CellBorderStroke.getStyle()` (last-defined `style` across layers,
|
|
167
168
|
* honoring per-property inheritance).
|
|
168
169
|
*/
|
|
169
|
-
protected _edgeStyleIsNone(edge:
|
|
170
|
-
/** {@inheritDoc
|
|
170
|
+
protected _edgeStyleIsNone(edge: IBorders.Edge): boolean;
|
|
171
|
+
/** {@inheritDoc IBorders.IStroke.isEmpty} */
|
|
171
172
|
isEmpty(): boolean;
|
|
172
173
|
get [Symbol.toStringTag](): string;
|
|
173
174
|
toString(): string;
|
|
174
|
-
/** {@inheritDoc
|
|
175
|
-
get
|
|
175
|
+
/** {@inheritDoc IBorders.isIBorders} */
|
|
176
|
+
get isIBorders(): true;
|
|
176
177
|
}
|
|
177
178
|
export declare class CellAlignment extends Inheritable<ITextFrame.IAlignment.Properties, ITextFrame.IAlignment.JSON> implements ITextFrame.IAlignment {
|
|
178
179
|
/** {@inheritDoc ITextBoxAlignment.getHorizontal} */
|
|
179
180
|
getHorizontal(): ITextFrame.HorizontalAlignment;
|
|
180
181
|
/** {@inheritDoc ITextBoxAlignment.setHorizontal} */
|
|
181
|
-
setHorizontal(horizontal: ITextFrame.HorizontalAlignment | null, options?:
|
|
182
|
+
setHorizontal(horizontal: ITextFrame.HorizontalAlignment | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
182
183
|
/** {@inheritDoc ITextBoxAlignment.getVertical} */
|
|
183
184
|
getVertical(): ITextFrame.VerticalAlignment;
|
|
184
185
|
/** {@inheritDoc ITextBoxAlignment.setVertical} */
|
|
185
|
-
setVertical(vertical: ITextFrame.VerticalAlignment | null, options?:
|
|
186
|
+
setVertical(vertical: ITextFrame.VerticalAlignment | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
186
187
|
/** {@inheritDoc ITextBoxAlignment.getIndent} */
|
|
187
188
|
getIndent(): number;
|
|
188
189
|
/** {@inheritDoc ITextBoxAlignment.setIndent} */
|
|
189
|
-
setIndent(indent: number | null, options?:
|
|
190
|
+
setIndent(indent: number | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
190
191
|
/** {@inheritDoc ITextBoxAlignment.getRelativeIndent} */
|
|
191
192
|
getRelativeIndent(): number;
|
|
192
193
|
/** {@inheritDoc ITextBoxAlignment.setRelativeIndent} */
|
|
193
|
-
setRelativeIndent(relativeIndent: number | null, options?:
|
|
194
|
+
setRelativeIndent(relativeIndent: number | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
194
195
|
/** {@inheritDoc ITextBoxAlignment.getOverflow} */
|
|
195
196
|
getOverflow(): ITextFrame.Overflow;
|
|
196
197
|
/** {@inheritDoc ITextBoxAlignment.setOverflow} */
|
|
197
|
-
setOverflow(overflow: ITextFrame.Overflow | null, options?:
|
|
198
|
+
setOverflow(overflow: ITextFrame.Overflow | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
198
199
|
/** {@inheritDoc ITextBoxAlignment.getRotation} */
|
|
199
200
|
getRotation(): number;
|
|
200
201
|
/** {@inheritDoc ITextBoxAlignment.setRotation} */
|
|
201
|
-
setRotation(rotation: number | null, options?:
|
|
202
|
+
setRotation(rotation: number | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
202
203
|
/** {@inheritDoc ITextBoxAlignment.getStacked} */
|
|
203
204
|
getStacked(): boolean;
|
|
204
205
|
/** {@inheritDoc ITextBoxAlignment.setStacked} */
|
|
205
|
-
setStacked(stacked: boolean | null, options?:
|
|
206
|
+
setStacked(stacked: boolean | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
206
207
|
/** {@inheritDoc ITextBoxAlignment.getJustifyLastLine} */
|
|
207
208
|
getJustifyLastLine(): boolean;
|
|
208
209
|
/** {@inheritDoc ITextBoxAlignment.setJustifyLastLine} */
|
|
209
|
-
setJustifyLastLine(justifyLastLine: boolean | null, options?:
|
|
210
|
+
setJustifyLastLine(justifyLastLine: boolean | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
210
211
|
/** {@inheritDoc ITextBoxAlignment.getReadingDirection} */
|
|
211
212
|
getReadingDirection(): ITextFrame.ReadingDirection;
|
|
212
213
|
/** {@inheritDoc ITextBoxAlignment.setReadingDirection} */
|
|
213
|
-
setReadingDirection(readingDirection: ITextFrame.ReadingDirection | null, options?:
|
|
214
|
+
setReadingDirection(readingDirection: ITextFrame.ReadingDirection | null, options?: ICellStyle.UpdateOptions): ITextFrame.IAlignment;
|
|
214
215
|
get [Symbol.toStringTag](): string;
|
|
215
216
|
toString(): string;
|
|
216
217
|
/** {@inheritDoc ITextBoxAlignment.isITextBoxAlignment} */
|
|
217
218
|
get isITextBoxAlignment(): true;
|
|
218
219
|
}
|
|
220
|
+
export declare class CellProtection extends Inheritable<ICellProtection.Properties, ICellProtection.JSON> implements ICellProtection {
|
|
221
|
+
/** {@inheritDoc ICellProtection.isAlwaysUnlocked} */
|
|
222
|
+
isAlwaysUnlocked(): boolean;
|
|
223
|
+
/** {@inheritDoc ICellProtection.setAlwaysUnlocked} */
|
|
224
|
+
setAlwaysUnlocked(alwaysUnlocked: boolean | null, options?: ICellStyle.UpdateOptions): ICellProtection;
|
|
225
|
+
/** {@inheritDoc ICellProtection.isShowFormulas} */
|
|
226
|
+
isShowFormulas(): boolean;
|
|
227
|
+
/** {@inheritDoc ICellProtection.setShowFormulas} */
|
|
228
|
+
setShowFormulas(showFormulas: boolean | null, options?: ICellStyle.UpdateOptions): ICellProtection;
|
|
229
|
+
get [Symbol.toStringTag](): string;
|
|
230
|
+
toString(): string;
|
|
231
|
+
/** {@inheritDoc ICellProtection.isICellProtection} */
|
|
232
|
+
get isICellProtection(): true;
|
|
233
|
+
}
|
|
219
234
|
export declare class CellFont extends Inheritable<IStyledFont.Properties, IStyledFont.JSON> implements IStyledFont {
|
|
220
|
-
/** {@inheritDoc
|
|
235
|
+
/** {@inheritDoc ICellStyle.isEqualMeasure} */
|
|
221
236
|
isEqualMeasure(other: IStyledFont): boolean;
|
|
222
|
-
/** {@inheritDoc
|
|
237
|
+
/** {@inheritDoc ICellStyle.toCSS} */
|
|
223
238
|
toCSS(mode?: IColor.CSSMode, zoom?: number, ignoreNormal?: boolean): CSSProperties;
|
|
224
|
-
/** {@inheritDoc
|
|
239
|
+
/** {@inheritDoc ICellStyle.isSuperSub} */
|
|
225
240
|
isSuperSub(): boolean;
|
|
226
|
-
/** {@inheritDoc
|
|
241
|
+
/** {@inheritDoc ICellStyle.isSuperSub} */
|
|
227
242
|
isSuperScript(): boolean;
|
|
228
|
-
/** {@inheritDoc
|
|
243
|
+
/** {@inheritDoc ICellStyle.getSuperSubScale} */
|
|
229
244
|
getSuperSubScale(): number;
|
|
230
|
-
/** {@inheritDoc
|
|
245
|
+
/** {@inheritDoc ICellStyle.getSuperSubShift} */
|
|
231
246
|
getSuperSubShift(): number;
|
|
232
247
|
/**
|
|
233
248
|
* The theme font this font is a reference to, or `undefined` if it names its own family.
|
|
@@ -237,218 +252,97 @@ export declare class CellFont extends Inheritable<IStyledFont.Properties, IStyle
|
|
|
237
252
|
* where an English one caches `Calibri`), and the scheme is what the reference actually is.
|
|
238
253
|
*/
|
|
239
254
|
private _schemeFamily;
|
|
240
|
-
/** {@inheritDoc
|
|
255
|
+
/** {@inheritDoc ICellStyle.getFamily} */
|
|
241
256
|
getFamily(): string;
|
|
242
|
-
/** {@inheritDoc
|
|
243
|
-
setFamily(family: string | null, options?:
|
|
244
|
-
/** {@inheritDoc
|
|
257
|
+
/** {@inheritDoc ICellStyle.setFamily} */
|
|
258
|
+
setFamily(family: string | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
259
|
+
/** {@inheritDoc ICellStyle.getFallbacks} */
|
|
245
260
|
getFallbacks(): string[];
|
|
246
|
-
/** {@inheritDoc
|
|
247
|
-
setFallbacks(fallbacks: string[] | null, options?:
|
|
248
|
-
/** {@inheritDoc
|
|
261
|
+
/** {@inheritDoc ICellStyle.setFamily} */
|
|
262
|
+
setFallbacks(fallbacks: string[] | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
263
|
+
/** {@inheritDoc ICellStyle.getSize} */
|
|
249
264
|
getSize(): number;
|
|
250
|
-
/** {@inheritDoc
|
|
251
|
-
setSize(size: number | null, options?:
|
|
252
|
-
/** {@inheritDoc
|
|
265
|
+
/** {@inheritDoc ICellStyle.setSize} */
|
|
266
|
+
setSize(size: number | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
267
|
+
/** {@inheritDoc ICellStyle.getWeight} */
|
|
253
268
|
getWeight(): number;
|
|
254
|
-
/** {@inheritDoc
|
|
255
|
-
setWeight(weight: number | null, options?:
|
|
269
|
+
/** {@inheritDoc ICellStyle.setWeight} */
|
|
270
|
+
setWeight(weight: number | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
256
271
|
/** {@inheritDoc IStyledFont.getBold} */
|
|
257
272
|
getBold(): boolean;
|
|
258
273
|
/** {@inheritDoc IStyledFont.setBold} */
|
|
259
|
-
setBold(bold: boolean | null, options?:
|
|
260
|
-
/** {@inheritDoc
|
|
274
|
+
setBold(bold: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
275
|
+
/** {@inheritDoc ICellStyle.getStyle} */
|
|
261
276
|
getStyle(): IFont.Style;
|
|
262
|
-
/** {@inheritDoc
|
|
263
|
-
setStyle(style: IFont.Style | null, options?:
|
|
277
|
+
/** {@inheritDoc ICellStyle.setStyle} */
|
|
278
|
+
setStyle(style: IFont.Style | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
264
279
|
/** {@inheritDoc IStyledFont.getItalic} */
|
|
265
280
|
getItalic(): boolean;
|
|
266
281
|
/** {@inheritDoc IStyledFont.setItalic} */
|
|
267
|
-
setItalic(italic: boolean | null, options?:
|
|
268
|
-
/** {@inheritDoc
|
|
282
|
+
setItalic(italic: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
283
|
+
/** {@inheritDoc ICellStyle.getColor} */
|
|
269
284
|
getColor(): IColor;
|
|
270
|
-
/** {@inheritDoc
|
|
271
|
-
setColor(color: IColor | string | null, options?:
|
|
272
|
-
/** {@inheritDoc
|
|
285
|
+
/** {@inheritDoc ICellStyle.setColor} */
|
|
286
|
+
setColor(color: IColor | string | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
287
|
+
/** {@inheritDoc ICellStyle.getLetterSpacing} */
|
|
273
288
|
getLetterSpacing(): number;
|
|
274
|
-
/** {@inheritDoc
|
|
275
|
-
setLetterSpacing(letterSpacing: number | null, options?:
|
|
276
|
-
/** {@inheritDoc
|
|
289
|
+
/** {@inheritDoc ICellStyle.setLetterSpacing} */
|
|
290
|
+
setLetterSpacing(letterSpacing: number | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
291
|
+
/** {@inheritDoc ICellStyle.getUnderline} */
|
|
277
292
|
getUnderline(): IFont.UnderlineStyle;
|
|
278
|
-
/** {@inheritDoc
|
|
279
|
-
setUnderline(underline: IFont.UnderlineStyle | null, options?:
|
|
280
|
-
/** {@inheritDoc
|
|
293
|
+
/** {@inheritDoc ICellStyle.setUnderline} */
|
|
294
|
+
setUnderline(underline: IFont.UnderlineStyle | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
295
|
+
/** {@inheritDoc ICellStyle.getStrike} */
|
|
281
296
|
getStrike(): boolean;
|
|
282
|
-
/** {@inheritDoc
|
|
283
|
-
setStrike(strike: boolean | null, options?:
|
|
284
|
-
/** {@inheritDoc
|
|
297
|
+
/** {@inheritDoc ICellStyle.setStrike} */
|
|
298
|
+
setStrike(strike: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
299
|
+
/** {@inheritDoc ICellStyle.getScheme} */
|
|
285
300
|
getScheme(): IFont.Scheme;
|
|
286
|
-
/** {@inheritdoc
|
|
287
|
-
setScheme(scheme: IFont.Scheme | null, options?:
|
|
288
|
-
/** {@inheritDoc
|
|
301
|
+
/** {@inheritdoc ICellStyle.setScheme} */
|
|
302
|
+
setScheme(scheme: IFont.Scheme | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
303
|
+
/** {@inheritDoc ICellStyle.getVerticalAlignment} */
|
|
289
304
|
getVerticalAlignment(): IFont.VerticalAlignment;
|
|
290
|
-
/** {@inheritDoc
|
|
291
|
-
setVerticalAlignment(verticalAlign: IFont.VerticalAlignment | null, options?:
|
|
292
|
-
/** {@inheritDoc
|
|
305
|
+
/** {@inheritDoc ICellStyle.setVerticalAlignment} */
|
|
306
|
+
setVerticalAlignment(verticalAlign: IFont.VerticalAlignment | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
307
|
+
/** {@inheritDoc ICellStyle.getShadow} */
|
|
293
308
|
getShadow(): boolean;
|
|
294
|
-
/** {@inheritDoc
|
|
295
|
-
setShadow(shadow: boolean | null, options?:
|
|
296
|
-
/** {@inheritDoc
|
|
309
|
+
/** {@inheritDoc ICellStyle.setShadow} */
|
|
310
|
+
setShadow(shadow: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
311
|
+
/** {@inheritDoc ICellStyle.getOutline} */
|
|
297
312
|
getOutline(): boolean;
|
|
298
|
-
/** {@inheritDoc
|
|
299
|
-
setOutline(outline: boolean | null, options?:
|
|
300
|
-
/** {@inheritDoc
|
|
313
|
+
/** {@inheritDoc ICellStyle.setOutline} */
|
|
314
|
+
setOutline(outline: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
315
|
+
/** {@inheritDoc ICellStyle.getExtend} */
|
|
301
316
|
getExtend(): boolean;
|
|
302
|
-
/** {@inheritDoc
|
|
303
|
-
setExtend(extend: boolean | null, options?:
|
|
317
|
+
/** {@inheritDoc ICellStyle.setExtend} */
|
|
318
|
+
setExtend(extend: boolean | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
304
319
|
/** {@inheritDoc IStyledFont.getCharset} */
|
|
305
320
|
getCharset(): IFont.Charset | null;
|
|
306
321
|
/** {@inheritDoc IStyledFont.setCharset} */
|
|
307
|
-
setCharset(charset: IFont.Charset | null, options?:
|
|
322
|
+
setCharset(charset: IFont.Charset | null, options?: ICellStyle.UpdateOptions): IStyledFont;
|
|
308
323
|
get [Symbol.toStringTag](): string;
|
|
309
324
|
/** {@inheritDoc ICellRanges.toString} */
|
|
310
325
|
toString(): string;
|
|
311
|
-
/** {@inheritDoc
|
|
326
|
+
/** {@inheritDoc ICellStyle.isIStyledFont} */
|
|
312
327
|
get isIStyledFont(): true;
|
|
313
328
|
}
|
|
314
|
-
export declare class
|
|
315
|
-
/** {@inheritDoc IFill.INone.getType} */
|
|
316
|
-
getType(): typeof IFill.Type.None;
|
|
317
|
-
/** {@inheritDoc IFill.INone.getColor} */
|
|
318
|
-
getColor(): IColor | null;
|
|
319
|
-
/** {@inheritDoc IFill.INone.setColor} */
|
|
320
|
-
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill;
|
|
321
|
-
/** {@inheritDoc IFill.INone.toCSS} */
|
|
322
|
-
toCSS(_mode?: IColor.CSSMode): CSSProperties;
|
|
323
|
-
/** {@inheritDoc IFill.hasVisibleStyling} */
|
|
324
|
-
hasVisibleStyling(): boolean;
|
|
325
|
-
/** {@inheritDoc IFill.isEqual} */
|
|
326
|
-
isEqual(other: IFill | null): boolean;
|
|
327
|
-
/** {@inheritDoc IFill.INone.toJSON} */
|
|
328
|
-
toJSON(): IFill.NoneJSON;
|
|
329
|
-
get [Symbol.toStringTag](): string;
|
|
330
|
-
toString(): string;
|
|
331
|
-
/** {@inheritDoc IFill.isIFill} */
|
|
332
|
-
get isIFill(): true;
|
|
333
|
-
}
|
|
334
|
-
export declare class SolidFill extends Inheritable<IFill.SolidProperties, IFill.SolidJSON> implements IFill.ISolid {
|
|
335
|
-
/** {@inheritDoc IFill.ISolid.getType} */
|
|
336
|
-
getType(): typeof IFill.Type.Solid;
|
|
337
|
-
/** {@inheritDoc IFill.ISolid.getColor} */
|
|
338
|
-
getColor(): IColor;
|
|
339
|
-
/** {@inheritDoc IFill.ISolid.setColor} */
|
|
340
|
-
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.ISolid;
|
|
341
|
-
/** {@inheritDoc IFill.ISolid.toCSS} */
|
|
342
|
-
toCSS(mode?: IColor.CSSMode): CSSProperties;
|
|
343
|
-
/** {@inheritDoc IFill.hasVisibleStyling} */
|
|
344
|
-
hasVisibleStyling(): boolean;
|
|
345
|
-
/** {@inheritDoc IFill.isEqual} */
|
|
346
|
-
isEqual(other: IFill | null): boolean;
|
|
347
|
-
/** {@inheritDoc IFill.ISolid.toJSON} */
|
|
348
|
-
toJSON(): IFill.SolidJSON;
|
|
349
|
-
get [Symbol.toStringTag](): string;
|
|
350
|
-
toString(): string;
|
|
351
|
-
/** {@inheritDoc IFill.isIFill} */
|
|
352
|
-
get isIFill(): true;
|
|
353
|
-
}
|
|
354
|
-
export declare class GradientStop extends Inheritable<IFill.GradientStopProperties, any> implements IFill.IGradientStop {
|
|
355
|
-
protected _i: number;
|
|
356
|
-
protected _l: number;
|
|
357
|
-
constructor(index: number, length: number, options: CreateCellStyleOptions, properties: IFill.GradientStopProperties[]);
|
|
358
|
-
/** {@inheritDoc IFill.IGradientStop.getOffset} */
|
|
359
|
-
getOffset(): number;
|
|
360
|
-
/** {@inheritDoc IFill.IGradientStop.getColor} */
|
|
361
|
-
getColor(): IColor;
|
|
362
|
-
}
|
|
363
|
-
export declare class GradientFill extends Inheritable<IFill.GradientProperties, IFill.GradientJSON> implements IFill.IGradient {
|
|
364
|
-
/** {@inheritDoc IFill.IGradient.getType} */
|
|
365
|
-
getType(): typeof IFill.Type.Gradient;
|
|
366
|
-
/** {@inheritDoc IFill.IGradient.getColor} */
|
|
367
|
-
getColor(): IColor | null;
|
|
368
|
-
/** {@inheritDoc IFill.IGradient.setColor} */
|
|
369
|
-
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
370
|
-
/** {@inheritDoc IFill.IGradient.getStops} */
|
|
371
|
-
getStops(): IFill.IGradientStop[];
|
|
372
|
-
/** {@inheritDoc IFill.IGradient.setStops} */
|
|
373
|
-
setStops(stops: IFill.IGradientStop[], options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
374
|
-
/** {@inheritDoc IFill.IGradient.getGradientType} */
|
|
375
|
-
getGradientType(): IFill.GradientType;
|
|
376
|
-
/** {@inheritDoc IFill.IGradient.setGradientType} */
|
|
377
|
-
setGradientType(gradientType: IFill.GradientType, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
378
|
-
/** {@inheritDoc IFill.IGradient.getAngle} */
|
|
379
|
-
getAngle(): number;
|
|
380
|
-
/** {@inheritDoc IFill.IGradient.setAngle} */
|
|
381
|
-
setAngle(angle: number, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
382
|
-
/** {@inheritDoc IFill.IGradient.getFocus} */
|
|
383
|
-
getFocus(): Rectangle;
|
|
384
|
-
/** {@inheritDoc IFill.IGradient.setFocus} */
|
|
385
|
-
setFocus(focus: Rectangle, options?: IStyle.UpdateOptions): IFill.IGradient;
|
|
386
|
-
/** {@inheritDoc IFill.IGradient.toCSS} */
|
|
387
|
-
toCSS(mode?: IColor.CSSMode, size?: Size): CSSProperties;
|
|
388
|
-
/** {@inheritDoc IFill.hasVisibleStyling} */
|
|
389
|
-
hasVisibleStyling(): boolean;
|
|
390
|
-
/** {@inheritDoc IFill.isEqual} */
|
|
391
|
-
isEqual(other: IFill | null): boolean;
|
|
392
|
-
/** {@inheritDoc IFill.IGradient.toJSON} */
|
|
393
|
-
toJSON(): IFill.GradientJSON;
|
|
394
|
-
get [Symbol.toStringTag](): string;
|
|
395
|
-
toString(): string;
|
|
396
|
-
/** {@inheritDoc IFill.isIFill} */
|
|
397
|
-
get isIFill(): true;
|
|
398
|
-
}
|
|
399
|
-
export declare class PatternFill extends Inheritable<IFill.PatternProperties, IFill.PatternJSON> implements IFill.IPattern {
|
|
400
|
-
/** {@inheritDoc IFill.IPattern.getType} */
|
|
401
|
-
getType(): typeof IFill.Type.Pattern;
|
|
402
|
-
/** {@inheritDoc IFill.IPattern.getColor} */
|
|
403
|
-
getColor(): IColor;
|
|
404
|
-
/** {@inheritDoc IFill.IPattern.setColor} */
|
|
405
|
-
setColor(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
406
|
-
/** {@inheritDoc IFill.IPattern.getBackground} */
|
|
407
|
-
getBackground(): IColor;
|
|
408
|
-
/** {@inheritDoc IFill.ISolid.setBackground} */
|
|
409
|
-
setBackground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
410
|
-
/** {@inheritDoc IFill.IPattern.getForeground} */
|
|
411
|
-
getForeground(): IColor;
|
|
412
|
-
/** {@inheritDoc IFill.ISolid.setForeground} */
|
|
413
|
-
setForeground(color: IColor.Serializable | null, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
414
|
-
/** {@inheritDoc IFill.IPattern.getPatternType} */
|
|
415
|
-
getPatternType(): IFill.BuiltInSheetPattern;
|
|
416
|
-
/** {@inheritDoc IFill.IGradient.setPatternType} */
|
|
417
|
-
setPatternType(patternType: IFill.BuiltInSheetPattern, options?: IStyle.UpdateOptions): IFill.IPattern;
|
|
418
|
-
/** {@inheritDoc IFill.IPattern.toCSS} */
|
|
419
|
-
toCSS(mode?: IColor.CSSMode): CSSProperties;
|
|
420
|
-
/** {@inheritDoc IFill.IPattern.toCSSMask} */
|
|
421
|
-
toCSSMask(mode?: IColor.CSSMode): {
|
|
422
|
-
base: CSSProperties;
|
|
423
|
-
marks: CSSProperties;
|
|
424
|
-
} | null;
|
|
425
|
-
/** {@inheritDoc IFill.hasVisibleStyling} */
|
|
426
|
-
hasVisibleStyling(): boolean;
|
|
427
|
-
/** {@inheritDoc IFill.isEqual} */
|
|
428
|
-
isEqual(other: IFill | null): boolean;
|
|
429
|
-
/** {@inheritDoc IFill.IPattern.toJSON} */
|
|
430
|
-
toJSON(): IFill.PatternJSON;
|
|
431
|
-
get [Symbol.toStringTag](): string;
|
|
432
|
-
toString(): string;
|
|
433
|
-
/** {@inheritDoc IFill.isIFill} */
|
|
434
|
-
get isIFill(): true;
|
|
435
|
-
}
|
|
436
|
-
export declare class SheetCellStyle implements IStyle {
|
|
329
|
+
export declare class SheetCellStyle implements ICellStyle {
|
|
437
330
|
protected _o: CreateCellStyleOptions;
|
|
438
|
-
protected _p: InheritableProperties<
|
|
331
|
+
protected _p: InheritableProperties<ICellStyle.Properties, ICellStyle.JSON>;
|
|
439
332
|
protected _bestFit: Partial<Size> | undefined;
|
|
440
333
|
protected _insets: Rectangle | undefined;
|
|
441
334
|
protected _hasVisibleStyling: boolean | undefined;
|
|
442
335
|
protected _font: IStyledFont | undefined;
|
|
443
336
|
protected _alignment: ITextFrame.IAlignment | undefined;
|
|
444
|
-
protected _border:
|
|
337
|
+
protected _border: IBorders | undefined;
|
|
445
338
|
protected _fill: IFill.ISolid | IFill.IGradient | IFill.IPattern | IFill.INone | undefined;
|
|
339
|
+
protected _protection: ICellProtection | undefined;
|
|
446
340
|
constructor(options: CreateCellStyleOptions);
|
|
447
|
-
/** {@inheritDoc
|
|
448
|
-
toJSON():
|
|
449
|
-
/** {@inheritDoc
|
|
341
|
+
/** {@inheritDoc ICellStyle.toJSON} */
|
|
342
|
+
toJSON(): ICellStyle.JSON;
|
|
343
|
+
/** {@inheritDoc ICellStyle.hasVisibleStyling} */
|
|
450
344
|
hasVisibleStyling(): boolean;
|
|
451
|
-
/** {@inheritDoc
|
|
345
|
+
/** {@inheritDoc ICellStyle.isNormal} */
|
|
452
346
|
isNormal(): boolean;
|
|
453
347
|
/**
|
|
454
348
|
* The AUTHORED (explicit) properties of this style: the direct layer values plus the `named`
|
|
@@ -456,75 +350,86 @@ export declare class SheetCellStyle implements IStyle {
|
|
|
456
350
|
* re-derive at read time from the destination's own cascade. This is what a write/copy of this
|
|
457
351
|
* style persists (see resolveStyleUpdate).
|
|
458
352
|
*/
|
|
459
|
-
getAuthoredProperties():
|
|
460
|
-
/** {@inheritDoc
|
|
461
|
-
createStyle(update:
|
|
462
|
-
/** {@inheritDoc
|
|
353
|
+
getAuthoredProperties(): ICellStyle.Properties;
|
|
354
|
+
/** {@inheritDoc ICellStyle.createStyle} */
|
|
355
|
+
createStyle(update: ICellStyle.Update): ICellStyle;
|
|
356
|
+
/** {@inheritDoc ICellStyle.measureText} */
|
|
463
357
|
measureText(text: string, size?: number, family?: string, options?: IFont.MetricOptions): IFont.ExtendedMetrics;
|
|
464
|
-
/** {@inheritDoc
|
|
358
|
+
/** {@inheritDoc ICellStyle.createTextFrame} */
|
|
465
359
|
createTextFrame(text: string, allowWrap?: boolean): ITextFrame;
|
|
466
|
-
/** {@inheritDoc
|
|
467
|
-
update(update:
|
|
468
|
-
/** {@inheritDoc
|
|
469
|
-
clear():
|
|
470
|
-
/** {@inheritDoc
|
|
360
|
+
/** {@inheritDoc ICellStyle.update} */
|
|
361
|
+
update(update: ICellStyle.Update, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
362
|
+
/** {@inheritDoc ICellStyle.clear} */
|
|
363
|
+
clear(): ICellStyle;
|
|
364
|
+
/** {@inheritDoc ICellStyle.getBestFit} */
|
|
471
365
|
getBestFit(): Partial<Size> | null;
|
|
472
|
-
/** {@inheritDoc
|
|
366
|
+
/** {@inheritDoc ICellStyle.getInsets} */
|
|
473
367
|
getInsets(): Rectangle;
|
|
474
|
-
/** {@inheritDoc
|
|
475
|
-
|
|
476
|
-
/** {@inheritDoc
|
|
477
|
-
|
|
478
|
-
/** {@inheritDoc
|
|
368
|
+
/** {@inheritDoc ICellStyle.getBorders} */
|
|
369
|
+
getBorders(): IBorders;
|
|
370
|
+
/** {@inheritDoc ICellStyle.setBorders} */
|
|
371
|
+
setBorders(borders: IBorders.Update, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
372
|
+
/** {@inheritDoc ICellStyle.getFont} */
|
|
479
373
|
getFont(): IStyledFont;
|
|
480
|
-
/** {@inheritDoc
|
|
481
|
-
setFont(font: IStyledFont.Update, options?:
|
|
482
|
-
/** {@inheritDoc
|
|
374
|
+
/** {@inheritDoc ICellStyle.setFont} */
|
|
375
|
+
setFont(font: IStyledFont.Update, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
376
|
+
/** {@inheritDoc ICellStyle.getFill} */
|
|
483
377
|
getFill(): IFill.ISolid | IFill.IGradient | IFill.IPattern | IFill.INone;
|
|
484
|
-
/** {@inheritDoc
|
|
485
|
-
setFill(fill: IFill.Update, options?:
|
|
486
|
-
/** {@inheritDoc
|
|
487
|
-
setFillSolid(options?:
|
|
488
|
-
/** {@inheritDoc
|
|
489
|
-
setFillGradient(options?:
|
|
490
|
-
/** {@inheritDoc
|
|
491
|
-
setFillPattern(options?:
|
|
492
|
-
/** {@inheritDoc
|
|
493
|
-
setFillNone(options?:
|
|
494
|
-
/** {@inheritDoc
|
|
378
|
+
/** {@inheritDoc ICellStyle.setFill} */
|
|
379
|
+
setFill(fill: IFill.Update, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
380
|
+
/** {@inheritDoc ICellStyle.setFill} */
|
|
381
|
+
setFillSolid(options?: ICellStyle.UpdateOptions): IFill.ISolid;
|
|
382
|
+
/** {@inheritDoc ICellStyle.setFill} */
|
|
383
|
+
setFillGradient(options?: ICellStyle.UpdateOptions): IFill.IGradient;
|
|
384
|
+
/** {@inheritDoc ICellStyle.setFill} */
|
|
385
|
+
setFillPattern(options?: ICellStyle.UpdateOptions): IFill.IPattern;
|
|
386
|
+
/** {@inheritDoc ICellStyle.setFill} */
|
|
387
|
+
setFillNone(options?: ICellStyle.UpdateOptions): IFill.INone;
|
|
388
|
+
/** {@inheritDoc ICellStyle.getAlignment} */
|
|
495
389
|
getAlignment(): ITextFrame.IAlignment;
|
|
496
|
-
/** {@inheritDoc
|
|
497
|
-
setAlignment(alignment: ITextFrame.IAlignment.Update | string | null, options?:
|
|
498
|
-
/** {@inheritDoc
|
|
390
|
+
/** {@inheritDoc ICellStyle.setAlignment} */
|
|
391
|
+
setAlignment(alignment: ITextFrame.IAlignment.Update | string | null, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
392
|
+
/** {@inheritDoc ICellStyle.getNumberFormat} */
|
|
499
393
|
getNumberFormat(): string;
|
|
500
|
-
/**
|
|
501
|
-
|
|
502
|
-
|
|
394
|
+
/**
|
|
395
|
+
* The number format as stored: a built-in id or a format code. {@link getNumberFormat} resolves
|
|
396
|
+
* an id to its code.
|
|
397
|
+
*
|
|
398
|
+
* @internal
|
|
399
|
+
*/
|
|
400
|
+
getNumberFormatRef(): string | number;
|
|
401
|
+
/** {@inheritDoc ICellStyle.setNumberFormat} */
|
|
402
|
+
setNumberFormat(numFmt: string | null, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
403
|
+
/** {@inheritDoc ICellStyle.getQuotePrefix} */
|
|
503
404
|
getQuotePrefix(): boolean;
|
|
504
|
-
/** {@inheritDoc
|
|
505
|
-
setQuotePrefix(quotePrefix: boolean | null, options?:
|
|
506
|
-
/** {@inheritDoc
|
|
507
|
-
|
|
508
|
-
/** {@inheritDoc
|
|
509
|
-
|
|
405
|
+
/** {@inheritDoc ICellStyle.setQuotePrefix} */
|
|
406
|
+
setQuotePrefix(quotePrefix: boolean | null, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
407
|
+
/** {@inheritDoc ICellStyle.getProtection} */
|
|
408
|
+
getProtection(): ICellProtection;
|
|
409
|
+
/** {@inheritDoc ICellStyle.setProtection} */
|
|
410
|
+
setProtection(protection: ICellProtection.Update, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
411
|
+
/** {@inheritDoc ICellStyle.getNamed} */
|
|
412
|
+
getNamed(): ICellStyle.INamed;
|
|
413
|
+
/** {@inheritDoc ICellStyle.setNamed} */
|
|
414
|
+
setNamed(named: string | ICellStyle.INamed | null, options?: ICellStyle.UpdateOptions): ICellStyle;
|
|
510
415
|
get [Symbol.toStringTag](): string;
|
|
511
416
|
toString(): string;
|
|
512
|
-
/** {@inheritDoc
|
|
513
|
-
get
|
|
417
|
+
/** {@inheritDoc ICellStyle.isICellStyle} */
|
|
418
|
+
get isICellStyle(): true;
|
|
514
419
|
}
|
|
515
420
|
/**
|
|
516
|
-
* Create an `
|
|
421
|
+
* Create an `ICellStyle` using the properties.
|
|
517
422
|
*
|
|
518
423
|
* @remarks
|
|
519
424
|
* Not part of the public interface.
|
|
520
425
|
*/
|
|
521
|
-
export declare function createCellStyle(value: Scalar | undefined, styles: IStyleCollection, layer: IProperties.ICellRanged<
|
|
426
|
+
export declare function createCellStyle(value: Scalar | undefined, styles: IStyleCollection, layer: IProperties.ICellRanged<ICellStyle.Properties>, range?: Readonly<IRange.Coords>, updater?: CellStyleUpdater, extent?: Readonly<IRange.Coords>): ICellStyle;
|
|
522
427
|
export declare class EmptyStyle extends SheetCellStyle {
|
|
523
|
-
/** {@inheritDoc
|
|
428
|
+
/** {@inheritDoc ICellStyle.hasVisibleStyling} */
|
|
524
429
|
hasVisibleStyling(): boolean;
|
|
525
430
|
}
|
|
526
431
|
export declare class NormalStyle extends SheetCellStyle {
|
|
527
|
-
/** {@inheritDoc
|
|
432
|
+
/** {@inheritDoc ICellStyle.isNormal} */
|
|
528
433
|
isNormal(): boolean;
|
|
529
434
|
/**
|
|
530
435
|
* {@inheritDoc SheetCellStyle.getAuthoredProperties}
|
|
@@ -533,8 +438,8 @@ export declare class NormalStyle extends SheetCellStyle {
|
|
|
533
438
|
* marker). Without this, a customized Normal's def values would be copied as explicit direct
|
|
534
439
|
* formatting (the `direct` layer here is the normal ranged def, not cell-authored values).
|
|
535
440
|
*/
|
|
536
|
-
getAuthoredProperties():
|
|
441
|
+
getAuthoredProperties(): ICellStyle.Properties;
|
|
537
442
|
}
|
|
538
|
-
export declare function ReadOnlyUpdater(update:
|
|
443
|
+
export declare function ReadOnlyUpdater(update: ICellStyle.Update): ICellStyle;
|
|
539
444
|
export {};
|
|
540
445
|
//# sourceMappingURL=SheetCellStyle.d.ts.map
|