oasis-editor 0.0.390 → 0.0.391
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-GjLbXajA.js +1 -0
- package/dist/assets/{importDocxWorker-B2yYqBCl.js → importDocxWorker-TQU-Qdjy.js} +2158 -2067
- package/dist/core/document/documentLifecycle.d.ts +5 -0
- package/dist/core/model/types/document.d.ts +6 -0
- package/dist/defaultToolbar-DMkpm3BY.js +1 -0
- package/dist/oasis-editor.js +1 -1
- package/dist/oasis-editor.umd.cjs +1 -1
- package/dist/ooxml/opc/coreProperties.d.ts +13 -0
- package/dist/{sourcePackage-BU2XiRyT.js → sourcePackage-DLhYTIAT.js} +1 -1
- package/package.json +1 -1
- package/dist/OasisEditorApp-DIIhMDyk.js +0 -1
- package/dist/defaultToolbar-C3YwhaU1.js +0 -1
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { EditorDocument } from '../model.js';
|
|
2
|
+
/** Host-confirmed events only. Exporting a Blob, displaying a print dialog
|
|
3
|
+
* or cancelling it is not evidence that a save/print happened.
|
|
4
|
+
* Return a snapshot; the host decides whether and how to persist it. */
|
|
5
|
+
export declare function recordConfirmedDocumentEvent(document: EditorDocument, event: "created" | "saved" | "printed", epochMs: number): EditorDocument;
|
|
@@ -270,6 +270,12 @@ export interface EditorDocument {
|
|
|
270
270
|
* substitution metadata. Preserved on import and re-emitted on export.
|
|
271
271
|
*/
|
|
272
272
|
fontTable?: EditorFontInfo[];
|
|
273
|
+
/** Actual document lifecycle timestamps, epoch milliseconds. Missing means unknown. */
|
|
274
|
+
coreTimestamps?: {
|
|
275
|
+
created?: number;
|
|
276
|
+
saved?: number;
|
|
277
|
+
printed?: number;
|
|
278
|
+
};
|
|
273
279
|
metadata?: {
|
|
274
280
|
title?: string;
|
|
275
281
|
[key: string]: unknown;
|