oasis-editor 0.0.220 → 0.0.222

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.
@@ -209,6 +209,12 @@ export interface EssentialsSectionCapability {
209
209
  setOrientation: (orientation: "portrait" | "landscape") => void;
210
210
  breakNextPage: () => void;
211
211
  breakContinuous: () => void;
212
+ /** Insert a section break that begins the next section on an even page. */
213
+ breakEvenPage: () => void;
214
+ /** Insert a section break that begins the next section on an odd page. */
215
+ breakOddPage: () => void;
216
+ /** Insert a section break that begins the next section in a new column. */
217
+ breakNextColumn: () => void;
212
218
  getMargins: () => EditorPageMargins | undefined;
213
219
  setPageMargins: (margins: Partial<EditorPageMargins>) => void;
214
220
  getPageNumbering: () => EditorPageNumbering | undefined;
@@ -237,6 +243,14 @@ export interface EssentialsHeaderFooterCapability {
237
243
  editHeader: () => void;
238
244
  /** Enter footer editing for the active section's default footer. */
239
245
  editFooter: () => void;
246
+ /** Enter header editing for the active section's first-page header. */
247
+ editFirstPageHeader: () => void;
248
+ /** Enter header editing for the active section's even-page header. */
249
+ editEvenPageHeader: () => void;
250
+ /** Enter footer editing for the active section's first-page footer. */
251
+ editFirstPageFooter: () => void;
252
+ /** Enter footer editing for the active section's even-page footer. */
253
+ editEvenPageFooter: () => void;
240
254
  /** Insert a PAGE field at the active caret (header, footer or body). */
241
255
  insertPageNumber: () => void;
242
256
  /** Insert a "Page X of Y" combination (PAGE + NUMPAGES) at the caret. */
@@ -50,7 +50,7 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
50
50
  applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
51
51
  handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
52
52
  handleListStartAtChange: (startAt: number | null) => void;
53
- applyInsertSectionBreakCommand: (breakType: "nextPage" | "continuous") => void;
53
+ applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
54
54
  applyInsertPageBreakCommand: () => void;
55
55
  canInsertFootnoteCommand: () => boolean;
56
56
  applyInsertFootnoteCommand: () => void;
@@ -92,7 +92,7 @@ declare function createAppCommandsControllerImpl(deps: AppCommandsControllerDeps
92
92
  applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
93
93
  handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
94
94
  handleListStartAtChange: (startAt: number | null) => void;
95
- applyInsertSectionBreakCommand: (breakType: "nextPage" | "continuous") => void;
95
+ applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
96
96
  applyInsertPageBreakCommand: () => void;
97
97
  canInsertFootnoteCommand: () => boolean;
98
98
  applyInsertFootnoteCommand: () => void;
@@ -85,7 +85,7 @@ declare function createEditorCommandRuntimeImpl(deps: EditorCommandRuntimeDeps):
85
85
  applyParagraphListCommand: (kind: NonNullable<import('../../core/model.js').EditorParagraphListStyle["kind"]>) => void;
86
86
  handleListFormatChange: (format: import('../../core/model.js').EditorParagraphListStyle["format"]) => void;
87
87
  handleListStartAtChange: (startAt: number | null) => void;
88
- applyInsertSectionBreakCommand: (breakType: "nextPage" | "continuous") => void;
88
+ applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
89
89
  applyInsertPageBreakCommand: () => void;
90
90
  canInsertFootnoteCommand: () => boolean;
91
91
  applyInsertFootnoteCommand: () => void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.220",
3
+ "version": "0.0.222",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {