wordinweb 0.3.7 → 0.3.9
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 +11 -0
- package/dist/chunk-CXXISL5X.js +26285 -0
- package/dist/chunk-CXXISL5X.js.map +1 -0
- package/dist/{chunk-ULPL55MT.js → chunk-HHIEEVBV.js} +11894 -25314
- package/dist/chunk-HHIEEVBV.js.map +1 -0
- package/dist/collab.d.ts +3 -2
- package/dist/collab.js +17 -14
- package/dist/collab.js.map +1 -1
- package/dist/docx-only-jIZisiQh.d.ts +2950 -0
- package/dist/docx-only.d.ts +1 -0
- package/dist/docx-only.js +12 -0
- package/dist/docx-only.js.map +1 -0
- package/dist/{index-Ch_Ayax5.d.ts → index-Dh3XJOZr.d.ts} +20 -2734
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -4
- package/dist/{wmf-53LMIKNI.js → wmf-BE2MGNAA.js} +5 -2
- package/dist/wmf-BE2MGNAA.js.map +1 -0
- package/package.json +5 -1
- package/dist/chunk-ULPL55MT.js.map +0 -1
- package/dist/wmf-53LMIKNI.js.map +0 -1
package/dist/collab.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ReactNode } from 'react';
|
|
2
|
-
import { X as XmlElement, D as DocxDocument
|
|
3
|
-
|
|
2
|
+
import { X as XmlElement, D as DocxDocument } from './docx-only-jIZisiQh.js';
|
|
3
|
+
import { C as ClientMessage, S as ServerMessage, P as PresencePosition, R as RosterEntry, a as ParticipantProfile, I as Intent, b as IdSidecar, L as LineageHead, T as ToolbarFeature, c as ToolbarMode, D as DocxViewApi, M as MissingFont, W as WriteStatus, U as UndoOutcome } from './index-Dh3XJOZr.js';
|
|
4
|
+
export { d as bytesToB64, e as deriveEpochKeys, f as docKeyFromFragment, m as mintDocKey, s as sealCheckpoint, g as stretchShareCode } from './index-Dh3XJOZr.js';
|
|
4
5
|
|
|
5
6
|
/**
|
|
6
7
|
* How much of the document an applied intent disturbed — the input to
|
package/dist/collab.js
CHANGED
|
@@ -36,18 +36,14 @@ import {
|
|
|
36
36
|
insertPageField,
|
|
37
37
|
insertSectionBreak,
|
|
38
38
|
insertShapeAt,
|
|
39
|
-
insertSmartArtAt,
|
|
40
39
|
insertWordArtAt,
|
|
41
40
|
isInsertableFieldInstruction,
|
|
42
41
|
isRegisteredOperationKind,
|
|
43
|
-
isSafeUrl,
|
|
44
42
|
isValidShapePreset,
|
|
45
|
-
localName,
|
|
46
43
|
markParagraphGlyph,
|
|
47
44
|
mergeParagraphBackward,
|
|
48
45
|
moveMath,
|
|
49
46
|
moveTableTo,
|
|
50
|
-
parseXml,
|
|
51
47
|
recordedProvenance,
|
|
52
48
|
registeredOperation,
|
|
53
49
|
rejectAllRevisions,
|
|
@@ -57,10 +53,6 @@ import {
|
|
|
57
53
|
replyToComment,
|
|
58
54
|
resizeDrawing,
|
|
59
55
|
resizeTableColumn,
|
|
60
|
-
resolveRunOffset,
|
|
61
|
-
runWireLength,
|
|
62
|
-
separatorAtWireOffset,
|
|
63
|
-
serializeXml,
|
|
64
56
|
setChartData,
|
|
65
57
|
setCommentResolved,
|
|
66
58
|
setDrawingFill,
|
|
@@ -82,15 +74,26 @@ import {
|
|
|
82
74
|
setParagraphDivider,
|
|
83
75
|
setParagraphSpacing,
|
|
84
76
|
setParagraphStyle,
|
|
85
|
-
setSmartArtData,
|
|
86
|
-
setSmartArtFill,
|
|
87
|
-
setSmartArtNodeText,
|
|
88
|
-
setSmartArtTextFormat,
|
|
89
77
|
siblingParagraph,
|
|
90
78
|
suggestMeta,
|
|
91
79
|
validatePastedOoxml,
|
|
92
80
|
validateRegisteredOperation
|
|
93
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HHIEEVBV.js";
|
|
82
|
+
import {
|
|
83
|
+
insertSmartArtAt,
|
|
84
|
+
isSafeUrl,
|
|
85
|
+
localName,
|
|
86
|
+
parseXml,
|
|
87
|
+
resolveRunOffset,
|
|
88
|
+
runWireLength,
|
|
89
|
+
separatorAtWireOffset,
|
|
90
|
+
serializeXml,
|
|
91
|
+
setSmartArtData,
|
|
92
|
+
setSmartArtFill,
|
|
93
|
+
setSmartArtNodeText,
|
|
94
|
+
setSmartArtTextFormat,
|
|
95
|
+
wordDate
|
|
96
|
+
} from "./chunk-CXXISL5X.js";
|
|
94
97
|
import "./chunk-7D4SUZUM.js";
|
|
95
98
|
|
|
96
99
|
// src/collab.tsx
|
|
@@ -4818,7 +4821,7 @@ function useCollab(opts) {
|
|
|
4818
4821
|
captureOfflineRef.current = captureOffline;
|
|
4819
4822
|
const runTailReplay = (conn, kind) => {
|
|
4820
4823
|
const author = profile?.name || clientId;
|
|
4821
|
-
const date = (
|
|
4824
|
+
const date = wordDate();
|
|
4822
4825
|
const step = () => {
|
|
4823
4826
|
if (connRef.current !== conn || !conn.ready || manuallyOfflineRef.current) return;
|
|
4824
4827
|
if (conn.pendingCount > 0) {
|