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.
- package/dist/{OasisEditorApp-CJAWBsvO.js → OasisEditorApp-CQRNpkya.js} +79 -3
- package/dist/app/controllers/documentIO/DocumentExporter.d.ts +5 -2
- package/dist/app/controllers/documentIO/printBlob.d.ts +5 -0
- package/dist/app/controllers/useEditorDocumentIO.d.ts +1 -0
- package/dist/i18n/locales/en.d.ts +1 -0
- package/dist/i18n/locales/pt-BR.d.ts +1 -0
- package/dist/{index-DfpqJDWD.js → index-K-7FcXvb.js} +15 -1
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +2 -2
- package/dist/plugins/internal/essentialsCapabilities.d.ts +1 -1
- package/dist/ui/app/createEditorDocumentRuntime.d.ts +1 -0
- package/dist/ui/app/essentials/types.d.ts +1 -0
- package/dist/ui/components/Toolbar/presets/builtinToolbarIds.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -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";
|