oasis-editor 0.0.358 → 0.0.360
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-BhgvWjjG.js +1 -0
- package/dist/core/commands/opaqueDeletion.d.ts +7 -0
- package/dist/core/model/types/document.d.ts +10 -0
- package/dist/defaultToolbar-cgDcUMbs.js +1 -0
- package/dist/export/docx/exportEditorDocumentToDocxPreservingSource.d.ts +2 -0
- package/dist/export/docx/opc/opaqueDependencyPruning.d.ts +22 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ooxml/word/opaqueObjects.d.ts +4 -3
- package/dist/{sourcePackage-CGJ-Pcxk.js → sourcePackage-BUPuWuMl.js} +1 -1
- package/package.json +1 -1
- package/dist/OasisEditorApp-DEIlGx5V.js +0 -1
- package/dist/defaultToolbar--yqZGana.js +0 -1
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { EditorOpaqueRunData } from '../../core/model/types/nodes.js';
|
|
2
2
|
import { Element as XmlElement } from '@xmldom/xmldom';
|
|
3
|
+
import { EditorDocument } from '../../core/model/types/document.js';
|
|
3
4
|
import { EditorDocxDiagnostic, EditorDocxOpaqueObject, EditorDocxSourcePackage } from '../../core/model/types/docxSourcePackage.js';
|
|
4
5
|
export declare function resolveOpaqueClosure(source: EditorDocxSourcePackage, ownerPath: string, ids: string[]): {
|
|
5
6
|
edges: {
|
|
@@ -20,10 +21,10 @@ export declare function inspectDocxOpaqueObjects(source: EditorDocxSourcePackage
|
|
|
20
21
|
diagnostics: EditorDocxDiagnostic[];
|
|
21
22
|
};
|
|
22
23
|
/** Conservative loss detector. Exact XML structure and the complete internal
|
|
23
|
-
* closure must survive in the same owning story.
|
|
24
|
-
*
|
|
24
|
+
* closure must survive in the same owning story. Only narrowly authorized main-story deletion is allowed;
|
|
25
|
+
* relocation and copies still fail closed.
|
|
25
26
|
*/
|
|
26
|
-
export declare function auditOpaqueObjectPreservation(source: EditorDocxSourcePackage, output: EditorDocxSourcePackage): EditorDocxDiagnostic[];
|
|
27
|
+
export declare function auditOpaqueObjectPreservation(source: EditorDocxSourcePackage, output: EditorDocxSourcePackage, intents?: NonNullable<EditorDocument["opaqueDeletionIntents"]>): EditorDocxDiagnostic[];
|
|
27
28
|
export declare class OpaqueObjectPreservationError extends Error {
|
|
28
29
|
readonly diagnostics: EditorDocxDiagnostic[];
|
|
29
30
|
constructor(diagnostics: EditorDocxDiagnostic[]);
|