oasis-editor 0.0.390 → 0.0.392
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-DBjOvZlk.js +1 -0
- package/dist/assets/{importDocxWorker-B2yYqBCl.js → importDocxWorker-jRtNuR9t.js} +2294 -2124
- package/dist/core/document/documentLifecycle.d.ts +5 -0
- package/dist/core/document/fieldEvaluation.d.ts +14 -1
- package/dist/core/document/sequenceFields.d.ts +7 -0
- package/dist/core/model/types/document.d.ts +6 -0
- package/dist/defaultToolbar-DRPAFzg6.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-Dkvf_WhM.js +1 -0
- package/package.json +1 -1
- package/dist/OasisEditorApp-DIIhMDyk.js +0 -1
- package/dist/defaultToolbar-C3YwhaU1.js +0 -1
- package/dist/sourcePackage-BU2XiRyT.js +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { default as JSZip } from 'jszip';
|
|
2
|
+
import { EditorDocument } from '../../core/model.js';
|
|
3
|
+
export declare const CORE_PROPERTIES_NS = "http://schemas.openxmlformats.org/package/2006/metadata/core-properties";
|
|
4
|
+
type Timestamps = NonNullable<EditorDocument["coreTimestamps"]>;
|
|
5
|
+
/** Accept only timezone-qualified, valid W3CDTF date-time values. */
|
|
6
|
+
export declare function parseCoreTimestamp(raw: string): number | undefined;
|
|
7
|
+
export declare function parseCoreTimestamps(xml: string): Timestamps | undefined;
|
|
8
|
+
export declare function readPackageCoreTimestamps(zip: JSZip): Promise<Timestamps | undefined>;
|
|
9
|
+
/** Merge ONLY explicit valid timestamps. Do not rewrite equal values, remove
|
|
10
|
+
* other properties, follow external relations, or replace malformed parts. */
|
|
11
|
+
export declare function writePackageCoreTimestamps(zip: JSZip, timestamps: Timestamps | undefined): Promise<boolean>;
|
|
12
|
+
export declare function applyPackageCoreTimestamps(buffer: ArrayBuffer, document: EditorDocument): Promise<ArrayBuffer>;
|
|
13
|
+
export {};
|