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