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.
- package/dist/OasisEditorApp-C4_jZw79.js +1 -0
- package/dist/app/controllers/EditorCommandsController.d.ts +2 -2
- package/dist/core/commands/block.d.ts +2 -2
- package/dist/core/commands/builtinCommands.d.ts +1 -1
- package/dist/core/commands/headerFooter.d.ts +8 -13
- package/dist/core/commands/publicCommandTypes.d.ts +7 -0
- package/dist/core/document/blockReplacement.d.ts +2 -2
- package/dist/core/model/editingZones.d.ts +3 -0
- package/dist/core/model/editorState.d.ts +6 -0
- package/dist/core/model/headerFooterStories.d.ts +11 -0
- package/dist/core/model/index.d.ts +2 -0
- package/dist/defaultToolbar-CW2DRegv.js +1 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/plugins/internal/essentialsCapabilities.d.ts +14 -0
- package/dist/ui/app/createAppCommandsController.d.ts +2 -2
- package/dist/ui/app/createEditorCommandRuntime.d.ts +1 -1
- package/package.json +1 -1
- package/dist/OasisEditorApp-99a2k8kS.js +0 -1
- package/dist/defaultToolbar-CdsYjowV.js +0 -1
|
@@ -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:
|
|
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:
|
|
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:
|
|
88
|
+
applyInsertSectionBreakCommand: (breakType: import('../../core/model.js').EditorSectionBreakType) => void;
|
|
89
89
|
applyInsertPageBreakCommand: () => void;
|
|
90
90
|
canInsertFootnoteCommand: () => boolean;
|
|
91
91
|
applyInsertFootnoteCommand: () => void;
|