oasis-editor 0.0.190 → 0.0.191

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.
@@ -91,6 +91,7 @@ export interface EssentialsDocumentCapability {
91
91
  newDocument: () => void;
92
92
  exportDocx: () => void;
93
93
  exportPdf: () => void;
94
+ printDocument: () => void;
94
95
  importDocument: () => void;
95
96
  insertImage: () => void;
96
97
  insertShape: (preset: string) => void;
@@ -137,7 +138,6 @@ export interface EssentialsImageCapability {
137
138
  setBorder: (patch: ImageBorderPatch) => void;
138
139
  }
139
140
  export interface EssentialsBrowserCapability {
140
- print: () => void;
141
141
  copy: () => void;
142
142
  }
143
143
  export interface EssentialsParagraphCapability {
@@ -45,6 +45,7 @@ declare function createEditorDocumentRuntimeImpl(deps: EditorDocumentRuntimeDeps
45
45
  handleImportFile: (file: File | null) => Promise<void>;
46
46
  handleExportDocx: () => Promise<Blob>;
47
47
  handleExportPdf: () => Promise<Blob>;
48
+ handlePrint: () => Promise<Blob>;
48
49
  exportDocxBlob: () => Promise<Blob>;
49
50
  exportPdfBlob: () => Promise<Blob>;
50
51
  insertImageFromFile: (file: File, position?: import('../../core/model.js').EditorPosition | null) => Promise<void>;
@@ -27,6 +27,7 @@ export interface CreateEditorEssentialsPluginOptions {
27
27
  docIO: {
28
28
  handleExportDocx: () => Promise<Blob>;
29
29
  handleExportPdf: () => Promise<Blob>;
30
+ handlePrint: () => Promise<Blob>;
30
31
  };
31
32
  newDocument: () => void;
32
33
  openSymbolDialog: () => void;
@@ -3,6 +3,7 @@ export declare const OASIS_TOOLBAR_ITEMS: {
3
3
  readonly importDocument: "editor-toolbar-import-document";
4
4
  readonly exportDocx: "editor-toolbar-export-docx";
5
5
  readonly exportPdf: "editor-toolbar-export-pdf";
6
+ readonly print: "editor-toolbar-print";
6
7
  readonly undo: "editor-toolbar-undo";
7
8
  readonly redo: "editor-toolbar-redo";
8
9
  readonly style: "editor-toolbar-style";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oasis-editor",
3
- "version": "0.0.190",
3
+ "version": "0.0.191",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "repository": {