@coco-vexel/coco-office-editor 1.0.1 → 1.0.3
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/README.md +33 -1
- package/dist/index.cjs +1454 -26172
- package/dist/index.d.cts +5 -4
- package/dist/index.d.ts +5 -4
- package/dist/index.js +1454 -25963
- package/dist/{model-DB6aN6uJ.d.cts → model-DNNBhhCB.d.cts} +4 -3
- package/dist/{model-DB6aN6uJ.d.ts → model-DNNBhhCB.d.ts} +4 -3
- package/dist/{native-B6B649CC.d.ts → native-OrEUvS8p.d.ts} +5 -1
- package/dist/native-TMv552dv.d.cts +317 -0
- package/dist/native-TMv552dv.d.ts +317 -0
- package/dist/{native-Ct9nN06K.d.cts → native-f2y3N8N5.d.cts} +5 -1
- package/dist/ppt-native.cjs +14 -5270
- package/dist/ppt-native.d.cts +1 -1
- package/dist/ppt-native.d.ts +1 -1
- package/dist/ppt-native.js +14 -5268
- package/dist/ppt.cjs +14 -5362
- package/dist/ppt.d.cts +3 -306
- package/dist/ppt.d.ts +3 -306
- package/dist/ppt.js +14 -5346
- package/dist/read-only-1_LQCO1d.d.cts +7 -0
- package/dist/read-only-1_LQCO1d.d.ts +7 -0
- package/dist/spreadsheet.cjs +11 -4219
- package/dist/spreadsheet.d.cts +15 -3
- package/dist/spreadsheet.d.ts +15 -3
- package/dist/spreadsheet.js +11 -4156
- package/dist/word-editing.cjs +2 -812
- package/dist/word-editing.d.cts +1 -1
- package/dist/word-editing.d.ts +1 -1
- package/dist/word-editing.js +2 -803
- package/dist/word-native.cjs +1484 -13349
- package/dist/word-native.d.cts +2 -2
- package/dist/word-native.d.ts +2 -2
- package/dist/word-native.js +1484 -13242
- package/dist/word-prosemirror.cjs +1 -489
- package/dist/word-prosemirror.d.cts +1 -1
- package/dist/word-prosemirror.d.ts +1 -1
- package/dist/word-prosemirror.js +1 -483
- package/dist/word.cjs +1316 -16541
- package/dist/word.d.cts +5 -4
- package/dist/word.d.ts +5 -4
- package/dist/word.js +1316 -16409
- package/package.json +3 -3
- package/src/styles/editor.css +1 -0
- package/dist/index.cjs.map +0 -1
- package/dist/index.js.map +0 -1
- package/dist/ppt-native.cjs.map +0 -1
- package/dist/ppt-native.js.map +0 -1
- package/dist/ppt.cjs.map +0 -1
- package/dist/ppt.js.map +0 -1
- package/dist/spreadsheet.cjs.map +0 -1
- package/dist/spreadsheet.js.map +0 -1
- package/dist/word-editing.cjs.map +0 -1
- package/dist/word-editing.js.map +0 -1
- package/dist/word-native.cjs.map +0 -1
- package/dist/word-native.js.map +0 -1
- package/dist/word-prosemirror.cjs.map +0 -1
- package/dist/word-prosemirror.js.map +0 -1
- package/dist/word.cjs.map +0 -1
- package/dist/word.js.map +0 -1
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Raised when a document mutation is attempted while an editor is read-only. */
|
|
2
|
+
declare class EditorReadOnlyError extends Error {
|
|
3
|
+
readonly code = "EDITOR_READ_ONLY";
|
|
4
|
+
constructor(editor: 'word' | 'spreadsheet' | 'ppt');
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { EditorReadOnlyError as E };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** Raised when a document mutation is attempted while an editor is read-only. */
|
|
2
|
+
declare class EditorReadOnlyError extends Error {
|
|
3
|
+
readonly code = "EDITOR_READ_ONLY";
|
|
4
|
+
constructor(editor: 'word' | 'spreadsheet' | 'ppt');
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export { EditorReadOnlyError as E };
|