oasis-editor 0.0.215 → 0.0.216

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.
@@ -1,4 +1,5 @@
1
- import { EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorWatermark, EditorMathExpression } from '../../core/model.js';
1
+ import { EditorDocumentDesign, EditorImageBorder, EditorPageBorder, EditorPageMargins, EditorPageNumbering, EditorWatermark, EditorMathExpression } from '../../core/model.js';
2
+ import { SectionPageNumberFormat } from '../../core/commands/pageNumber.js';
2
3
  import { DesignThemeId } from '../../core/commands/design.js';
3
4
  import { ImageBorderPatch } from '../../core/commands/image.js';
4
5
  import { TextCaseMode } from '../../core/commands/text.js';
@@ -209,6 +210,11 @@ export interface EssentialsSectionCapability {
209
210
  breakContinuous: () => void;
210
211
  getMargins: () => EditorPageMargins | undefined;
211
212
  setPageMargins: (margins: Partial<EditorPageMargins>) => void;
213
+ getPageNumbering: () => EditorPageNumbering | undefined;
214
+ setPageNumbering: (numbering: {
215
+ start?: number;
216
+ format?: SectionPageNumberFormat;
217
+ }) => void;
212
218
  }
213
219
  export interface EssentialsHeaderFooterCapability {
214
220
  /** Enter header editing for the active section's default header. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.215",
3
+ "version": "0.0.216",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {