@arbidocs/blocks 0.4.157 → 0.4.159
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/{ConnectedNativeDocxComparison-S25BPUH5.cjs → ConnectedNativeDocxComparison-R6RU5TZE.cjs} +8 -7
- package/dist/{ConnectedNativeDocxComparison-S25BPUH5.cjs.map → ConnectedNativeDocxComparison-R6RU5TZE.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js → ConnectedNativeDocxComparison-XMZ5KLD4.js} +7 -6
- package/dist/{ConnectedNativeDocxComparison-2PLOOXSH.js.map → ConnectedNativeDocxComparison-XMZ5KLD4.js.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs → ConnectedNativeDocxEditor-LBATSM3M.cjs} +7 -6
- package/dist/{ConnectedNativeDocxEditor-YA4HWLY4.cjs.map → ConnectedNativeDocxEditor-LBATSM3M.cjs.map} +1 -1
- package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js → ConnectedNativeDocxEditor-NGUK2AX6.js} +5 -4
- package/dist/{ConnectedNativeDocxEditor-JJAGMHZC.js.map → ConnectedNativeDocxEditor-NGUK2AX6.js.map} +1 -1
- package/dist/{ConnectedStreamedWordArtifact-EXYZAU4Y.cjs → ConnectedStreamedWordArtifact-CWFR6A37.cjs} +8 -7
- package/dist/ConnectedStreamedWordArtifact-CWFR6A37.cjs.map +1 -0
- package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js → ConnectedStreamedWordArtifact-IXRJ7MUE.js} +7 -6
- package/dist/{ConnectedStreamedWordArtifact-YAAXY5KY.js.map → ConnectedStreamedWordArtifact-IXRJ7MUE.js.map} +1 -1
- package/dist/{NativeDocxEditor-M3I776GD.cjs → NativeDocxEditor-T2PJIZMU.cjs} +9 -7
- package/dist/{NativeDocxEditor-M3I776GD.cjs.map → NativeDocxEditor-T2PJIZMU.cjs.map} +1 -1
- package/dist/{NativeDocxEditor-JBQMH3MP.js → NativeDocxEditor-TBTBD6TC.js} +5 -3
- package/dist/{NativeDocxEditor-JBQMH3MP.js.map → NativeDocxEditor-TBTBD6TC.js.map} +1 -1
- package/dist/{WorkspaceTableView-5OWX53R5.js → WorkspaceTableView-DWUE4VQF.js} +19 -9
- package/dist/WorkspaceTableView-DWUE4VQF.js.map +1 -0
- package/dist/{WorkspaceTableView-ZFMAYHUD.cjs → WorkspaceTableView-EYLEUZZT.cjs} +21 -11
- package/dist/WorkspaceTableView-EYLEUZZT.cjs.map +1 -0
- package/dist/{chunk-IJEISII2.cjs → chunk-2BHDRVVL.cjs} +17 -7
- package/dist/chunk-2BHDRVVL.cjs.map +1 -0
- package/dist/chunk-2R3GGNPA.js +151 -0
- package/dist/chunk-2R3GGNPA.js.map +1 -0
- package/dist/{chunk-F3EZDBDJ.js → chunk-3OCNUKGX.js} +4 -4
- package/dist/{chunk-F3EZDBDJ.js.map → chunk-3OCNUKGX.js.map} +1 -1
- package/dist/{chunk-D3WFIFRY.cjs → chunk-3VW7ZXQ6.cjs} +211 -5
- package/dist/chunk-3VW7ZXQ6.cjs.map +1 -0
- package/dist/{chunk-JSQEAPTC.cjs → chunk-4GITK3Q5.cjs} +398 -75
- package/dist/chunk-4GITK3Q5.cjs.map +1 -0
- package/dist/{chunk-2CWM2CFZ.js → chunk-7UENVUA6.js} +4 -4
- package/dist/{chunk-2CWM2CFZ.js.map → chunk-7UENVUA6.js.map} +1 -1
- package/dist/{chunk-EWCJXUBP.js → chunk-AVXRXPII.js} +3 -3
- package/dist/{chunk-EWCJXUBP.js.map → chunk-AVXRXPII.js.map} +1 -1
- package/dist/{chunk-7IRSCMNK.js → chunk-BGXWPVHR.js} +3 -3
- package/dist/{chunk-7IRSCMNK.js.map → chunk-BGXWPVHR.js.map} +1 -1
- package/dist/chunk-DAN7EJ4O.js +482 -0
- package/dist/chunk-DAN7EJ4O.js.map +1 -0
- package/dist/chunk-E4H5H2C3.cjs +18 -0
- package/dist/{chunk-OTU5KGQ6.cjs.map → chunk-E4H5H2C3.cjs.map} +1 -1
- package/dist/{chunk-VY4UFXTM.cjs → chunk-ETJFC6MO.cjs} +4 -4
- package/dist/{chunk-VY4UFXTM.cjs.map → chunk-ETJFC6MO.cjs.map} +1 -1
- package/dist/{chunk-TQIY2SVY.cjs → chunk-GFVIFXWT.cjs} +5 -5
- package/dist/{chunk-TQIY2SVY.cjs.map → chunk-GFVIFXWT.cjs.map} +1 -1
- package/dist/chunk-JPWPR6QU.cjs +485 -0
- package/dist/chunk-JPWPR6QU.cjs.map +1 -0
- package/dist/{chunk-KQYPP72K.js → chunk-JTJCCL2E.js} +212 -9
- package/dist/chunk-JTJCCL2E.js.map +1 -0
- package/dist/{chunk-PGOSIJ2I.js → chunk-KFMRBZQK.js} +15 -5
- package/dist/chunk-KFMRBZQK.js.map +1 -0
- package/dist/chunk-NMZI3K6R.cjs +159 -0
- package/dist/chunk-NMZI3K6R.cjs.map +1 -0
- package/dist/{chunk-53RCZPMR.cjs → chunk-P2YM67Y5.cjs} +5 -5
- package/dist/{chunk-53RCZPMR.cjs.map → chunk-P2YM67Y5.cjs.map} +1 -1
- package/dist/chunk-Q2XGM372.cjs +18 -0
- package/dist/{chunk-S74QMZVZ.cjs.map → chunk-Q2XGM372.cjs.map} +1 -1
- package/dist/{chunk-7HHYMDPE.js → chunk-RATEAOKT.js} +3 -3
- package/dist/{chunk-7HHYMDPE.js.map → chunk-RATEAOKT.js.map} +1 -1
- package/dist/{chunk-SN2GZ4ZM.cjs → chunk-TQUYWUEE.cjs} +10 -156
- package/dist/chunk-TQUYWUEE.cjs.map +1 -0
- package/dist/{chunk-ONTUMV74.js → chunk-XER3JLC7.js} +398 -78
- package/dist/chunk-XER3JLC7.js.map +1 -0
- package/dist/{chunk-HP2C4MD3.js → chunk-ZDOKJD44.js} +4 -143
- package/dist/chunk-ZDOKJD44.js.map +1 -0
- package/dist/connect/docx.cjs +11 -10
- package/dist/connect/docx.js +7 -6
- package/dist/connect/index.cjs +406 -384
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +69 -47
- package/dist/connect/index.js.map +1 -1
- package/dist/connect/viewer.cjs +41 -20
- package/dist/connect/viewer.cjs.map +1 -1
- package/dist/connect/viewer.js +29 -8
- package/dist/connect/viewer.js.map +1 -1
- package/dist/connection/viewer/ViewerPdfPane.d.ts +7 -1
- package/dist/connection/workspace-list/ConnectedWorkspaceList.d.ts +4 -2
- package/dist/connection/workspace-list/WorkspaceCardsView.d.ts +3 -2
- package/dist/connection/workspace-list/WorkspaceTableView.d.ts +3 -2
- package/dist/connection/workspace-list/index.d.ts +1 -1
- package/dist/connection/workspace-list/useConnectedWorkspaceList.d.ts +19 -0
- package/dist/connection/workspace-list/workspaceTable.d.ts +3 -1
- package/dist/connection/workspace-settings/ConnectedWorkspaceSettings.d.ts +3 -1
- package/dist/document-tools/AdoptSignatureDialog.d.ts +39 -4
- package/dist/document-tools/PlaceMySignatureButton.d.ts +16 -0
- package/dist/document-tools/SavedSignatureSettings.d.ts +10 -0
- package/dist/document-tools/index.cjs +37 -22
- package/dist/document-tools/index.d.ts +2 -0
- package/dist/document-tools/index.js +5 -2
- package/dist/document-tools/viewer/AnnotatedPdfViewer.d.ts +10 -1
- package/dist/document-tools/viewer/SignatureRequestEditor.d.ts +7 -4
- package/dist/document-tools/viewer/index.cjs +184 -18
- package/dist/document-tools/viewer/index.cjs.map +1 -1
- package/dist/document-tools/viewer/index.js +184 -18
- package/dist/document-tools/viewer/index.js.map +1 -1
- package/dist/docx/NativeDocxEditor.d.ts +5 -0
- package/dist/docx/index.cjs +61 -47
- package/dist/docx/index.d.ts +1 -0
- package/dist/docx/index.js +5 -3
- package/dist/docx/signatures/SignatureFields.d.ts +50 -0
- package/dist/settings/index.cjs +183 -182
- package/dist/settings/index.js +2 -1
- package/node_modules/@arbidocs/coedit/dist/commands.cjs +109 -16
- package/node_modules/@arbidocs/coedit/dist/commands.cjs.map +1 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.cts +84 -1
- package/node_modules/@arbidocs/coedit/dist/commands.d.ts +84 -1
- package/node_modules/@arbidocs/coedit/dist/commands.js +99 -17
- package/node_modules/@arbidocs/coedit/dist/commands.js.map +1 -1
- package/node_modules/@arbidocs/coedit/package.json +1 -1
- package/package.json +5 -5
- package/src/docx/styles.css +50 -0
- package/dist/ConnectedStreamedWordArtifact-EXYZAU4Y.cjs.map +0 -1
- package/dist/WorkspaceTableView-5OWX53R5.js.map +0 -1
- package/dist/WorkspaceTableView-ZFMAYHUD.cjs.map +0 -1
- package/dist/chunk-6MG62I5B.cjs +0 -272
- package/dist/chunk-6MG62I5B.cjs.map +0 -1
- package/dist/chunk-D3WFIFRY.cjs.map +0 -1
- package/dist/chunk-EQB3WELX.js +0 -269
- package/dist/chunk-EQB3WELX.js.map +0 -1
- package/dist/chunk-HP2C4MD3.js.map +0 -1
- package/dist/chunk-IJEISII2.cjs.map +0 -1
- package/dist/chunk-JSQEAPTC.cjs.map +0 -1
- package/dist/chunk-KQYPP72K.js.map +0 -1
- package/dist/chunk-ONTUMV74.js.map +0 -1
- package/dist/chunk-OTU5KGQ6.cjs +0 -18
- package/dist/chunk-PGOSIJ2I.js.map +0 -1
- package/dist/chunk-S74QMZVZ.cjs +0 -18
- package/dist/chunk-SN2GZ4ZM.cjs.map +0 -1
package/dist/docx/index.cjs
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var chunkETJFC6MO_cjs = require('../chunk-ETJFC6MO.cjs');
|
|
5
|
+
var chunkGFVIFXWT_cjs = require('../chunk-GFVIFXWT.cjs');
|
|
6
6
|
var chunk464YPRAE_cjs = require('../chunk-464YPRAE.cjs');
|
|
7
|
-
var
|
|
7
|
+
var chunk4GITK3Q5_cjs = require('../chunk-4GITK3Q5.cjs');
|
|
8
|
+
require('../chunk-JPWPR6QU.cjs');
|
|
8
9
|
require('../chunk-5FYU7ZIU.cjs');
|
|
9
10
|
require('../chunk-QT3A4PFC.cjs');
|
|
10
11
|
require('../chunk-RC25WMVB.cjs');
|
|
11
12
|
require('../chunk-7UTB4PHM.cjs');
|
|
12
13
|
require('../chunk-MHVNT4J3.cjs');
|
|
14
|
+
require('../chunk-ULWRNGGE.cjs');
|
|
13
15
|
require('../chunk-DES3K4SD.cjs');
|
|
14
16
|
var react = require('@docx-editor.dev/react');
|
|
15
17
|
var hocuspocus = require('@arbidocs/coedit/hocuspocus');
|
|
@@ -18,11 +20,11 @@ var hocuspocus = require('@arbidocs/coedit/hocuspocus');
|
|
|
18
20
|
|
|
19
21
|
Object.defineProperty(exports, "NativeDocxComparison", {
|
|
20
22
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkETJFC6MO_cjs.NativeDocxComparison; }
|
|
22
24
|
});
|
|
23
25
|
Object.defineProperty(exports, "StreamedWordArtifact", {
|
|
24
26
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkGFVIFXWT_cjs.StreamedWordArtifact; }
|
|
26
28
|
});
|
|
27
29
|
Object.defineProperty(exports, "groupCandidates", {
|
|
28
30
|
enumerable: true,
|
|
@@ -38,171 +40,183 @@ Object.defineProperty(exports, "loadDocxFonts", {
|
|
|
38
40
|
});
|
|
39
41
|
Object.defineProperty(exports, "BUILTIN_TEMPLATE_NAME", {
|
|
40
42
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk4GITK3Q5_cjs.BUILTIN_TEMPLATE_NAME; }
|
|
42
44
|
});
|
|
43
45
|
Object.defineProperty(exports, "CrossReferenceDialog", {
|
|
44
46
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk4GITK3Q5_cjs.CrossReferenceDialog; }
|
|
46
48
|
});
|
|
47
49
|
Object.defineProperty(exports, "CrossReferencesProvider", {
|
|
48
50
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk4GITK3Q5_cjs.CrossReferencesProvider; }
|
|
50
52
|
});
|
|
51
53
|
Object.defineProperty(exports, "DEFAULT_CROSS_REFERENCES_LABELS", {
|
|
52
54
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk4GITK3Q5_cjs.DEFAULT_CROSS_REFERENCES_LABELS; }
|
|
54
56
|
});
|
|
55
57
|
Object.defineProperty(exports, "DEFAULT_DEFINED_TERMS_LABELS", {
|
|
56
58
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk4GITK3Q5_cjs.DEFAULT_DEFINED_TERMS_LABELS; }
|
|
58
60
|
});
|
|
59
61
|
Object.defineProperty(exports, "DEFINED_TERM_TRIGGER", {
|
|
60
62
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk4GITK3Q5_cjs.DEFINED_TERM_TRIGGER; }
|
|
62
64
|
});
|
|
63
65
|
Object.defineProperty(exports, "DefinedTermsProvider", {
|
|
64
66
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk4GITK3Q5_cjs.DefinedTermsProvider; }
|
|
66
68
|
});
|
|
67
69
|
Object.defineProperty(exports, "DocxAuthorContext", {
|
|
68
70
|
enumerable: true,
|
|
69
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxAuthorContext; }
|
|
70
72
|
});
|
|
71
73
|
Object.defineProperty(exports, "DocxCommentActivity", {
|
|
72
74
|
enumerable: true,
|
|
73
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxCommentActivity; }
|
|
74
76
|
});
|
|
75
77
|
Object.defineProperty(exports, "DocxEditorReview", {
|
|
76
78
|
enumerable: true,
|
|
77
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxEditorReview; }
|
|
78
80
|
});
|
|
79
81
|
Object.defineProperty(exports, "DocxMentions", {
|
|
80
82
|
enumerable: true,
|
|
81
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxMentions; }
|
|
82
84
|
});
|
|
83
85
|
Object.defineProperty(exports, "DocxParticipants", {
|
|
84
86
|
enumerable: true,
|
|
85
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxParticipants; }
|
|
86
88
|
});
|
|
87
89
|
Object.defineProperty(exports, "DocxRibbon", {
|
|
88
90
|
enumerable: true,
|
|
89
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk4GITK3Q5_cjs.DocxRibbon; }
|
|
90
92
|
});
|
|
91
93
|
Object.defineProperty(exports, "GenerateImageButton", {
|
|
92
94
|
enumerable: true,
|
|
93
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk4GITK3Q5_cjs.GenerateImageButton; }
|
|
94
96
|
});
|
|
95
97
|
Object.defineProperty(exports, "HouseTemplateProvider", {
|
|
96
98
|
enumerable: true,
|
|
97
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk4GITK3Q5_cjs.HouseTemplateProvider; }
|
|
98
100
|
});
|
|
99
101
|
Object.defineProperty(exports, "LinkHoverCard", {
|
|
100
102
|
enumerable: true,
|
|
101
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk4GITK3Q5_cjs.LinkHoverCard; }
|
|
102
104
|
});
|
|
103
105
|
Object.defineProperty(exports, "NativeDocxEditor", {
|
|
104
106
|
enumerable: true,
|
|
105
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk4GITK3Q5_cjs.NativeDocxEditor; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "SignatureFieldMenu", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunk4GITK3Q5_cjs.SignatureFieldMenu; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "SignatureFieldsProvider", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunk4GITK3Q5_cjs.SignatureFieldsProvider; }
|
|
106
116
|
});
|
|
107
117
|
Object.defineProperty(exports, "builtinHouseTemplate", {
|
|
108
118
|
enumerable: true,
|
|
109
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk4GITK3Q5_cjs.builtinHouseTemplate; }
|
|
110
120
|
});
|
|
111
121
|
Object.defineProperty(exports, "contentPath", {
|
|
112
122
|
enumerable: true,
|
|
113
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunk4GITK3Q5_cjs.contentPath; }
|
|
114
124
|
});
|
|
115
125
|
Object.defineProperty(exports, "editorPort", {
|
|
116
126
|
enumerable: true,
|
|
117
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunk4GITK3Q5_cjs.editorPort; }
|
|
118
128
|
});
|
|
119
129
|
Object.defineProperty(exports, "findDefinitionsSection", {
|
|
120
130
|
enumerable: true,
|
|
121
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunk4GITK3Q5_cjs.findDefinitionsSection; }
|
|
122
132
|
});
|
|
123
133
|
Object.defineProperty(exports, "insertCrossReference", {
|
|
124
134
|
enumerable: true,
|
|
125
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunk4GITK3Q5_cjs.insertCrossReference; }
|
|
126
136
|
});
|
|
127
137
|
Object.defineProperty(exports, "insertDefinedTerm", {
|
|
128
138
|
enumerable: true,
|
|
129
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunk4GITK3Q5_cjs.insertDefinedTerm; }
|
|
130
140
|
});
|
|
131
141
|
Object.defineProperty(exports, "insertDocumentReference", {
|
|
132
142
|
enumerable: true,
|
|
133
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunk4GITK3Q5_cjs.insertDocumentReference; }
|
|
144
|
+
});
|
|
145
|
+
Object.defineProperty(exports, "insertSignatureField", {
|
|
146
|
+
enumerable: true,
|
|
147
|
+
get: function () { return chunk4GITK3Q5_cjs.insertSignatureField; }
|
|
134
148
|
});
|
|
135
149
|
Object.defineProperty(exports, "listTargets", {
|
|
136
150
|
enumerable: true,
|
|
137
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunk4GITK3Q5_cjs.listTargets; }
|
|
138
152
|
});
|
|
139
153
|
Object.defineProperty(exports, "normalizeDocxExport", {
|
|
140
154
|
enumerable: true,
|
|
141
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunk4GITK3Q5_cjs.normalizeDocxExport; }
|
|
142
156
|
});
|
|
143
157
|
Object.defineProperty(exports, "paragraphNumber", {
|
|
144
158
|
enumerable: true,
|
|
145
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunk4GITK3Q5_cjs.paragraphNumber; }
|
|
146
160
|
});
|
|
147
161
|
Object.defineProperty(exports, "referenceText", {
|
|
148
162
|
enumerable: true,
|
|
149
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunk4GITK3Q5_cjs.referenceText; }
|
|
150
164
|
});
|
|
151
165
|
Object.defineProperty(exports, "referencesPort", {
|
|
152
166
|
enumerable: true,
|
|
153
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunk4GITK3Q5_cjs.referencesPort; }
|
|
154
168
|
});
|
|
155
169
|
Object.defineProperty(exports, "resolveHouseTemplate", {
|
|
156
170
|
enumerable: true,
|
|
157
|
-
get: function () { return
|
|
171
|
+
get: function () { return chunk4GITK3Q5_cjs.resolveHouseTemplate; }
|
|
158
172
|
});
|
|
159
173
|
Object.defineProperty(exports, "reviewModule", {
|
|
160
174
|
enumerable: true,
|
|
161
|
-
get: function () { return
|
|
175
|
+
get: function () { return chunk4GITK3Q5_cjs.reviewModule; }
|
|
162
176
|
});
|
|
163
177
|
Object.defineProperty(exports, "shortTitle", {
|
|
164
178
|
enumerable: true,
|
|
165
|
-
get: function () { return
|
|
179
|
+
get: function () { return chunk4GITK3Q5_cjs.shortTitle; }
|
|
166
180
|
});
|
|
167
181
|
Object.defineProperty(exports, "structuralPort", {
|
|
168
182
|
enumerable: true,
|
|
169
|
-
get: function () { return
|
|
183
|
+
get: function () { return chunk4GITK3Q5_cjs.structuralPort; }
|
|
170
184
|
});
|
|
171
185
|
Object.defineProperty(exports, "templateFileName", {
|
|
172
186
|
enumerable: true,
|
|
173
|
-
get: function () { return
|
|
187
|
+
get: function () { return chunk4GITK3Q5_cjs.templateFileName; }
|
|
174
188
|
});
|
|
175
189
|
Object.defineProperty(exports, "trackedOrNoted", {
|
|
176
190
|
enumerable: true,
|
|
177
|
-
get: function () { return
|
|
191
|
+
get: function () { return chunk4GITK3Q5_cjs.trackedOrNoted; }
|
|
178
192
|
});
|
|
179
193
|
Object.defineProperty(exports, "useCrossReferences", {
|
|
180
194
|
enumerable: true,
|
|
181
|
-
get: function () { return
|
|
195
|
+
get: function () { return chunk4GITK3Q5_cjs.useCrossReferences; }
|
|
182
196
|
});
|
|
183
197
|
Object.defineProperty(exports, "useDefinedTerms", {
|
|
184
198
|
enumerable: true,
|
|
185
|
-
get: function () { return
|
|
199
|
+
get: function () { return chunk4GITK3Q5_cjs.useDefinedTerms; }
|
|
186
200
|
});
|
|
187
201
|
Object.defineProperty(exports, "useHouseTemplate", {
|
|
188
202
|
enumerable: true,
|
|
189
|
-
get: function () { return
|
|
203
|
+
get: function () { return chunk4GITK3Q5_cjs.useHouseTemplate; }
|
|
190
204
|
});
|
|
191
205
|
Object.defineProperty(exports, "useReview", {
|
|
192
206
|
enumerable: true,
|
|
193
|
-
get: function () { return
|
|
207
|
+
get: function () { return chunk4GITK3Q5_cjs.useReview; }
|
|
194
208
|
});
|
|
195
209
|
Object.defineProperty(exports, "useReviewItem", {
|
|
196
210
|
enumerable: true,
|
|
197
|
-
get: function () { return
|
|
211
|
+
get: function () { return chunk4GITK3Q5_cjs.useReviewItem; }
|
|
198
212
|
});
|
|
199
213
|
Object.defineProperty(exports, "useTrackedOrNoted", {
|
|
200
214
|
enumerable: true,
|
|
201
|
-
get: function () { return
|
|
215
|
+
get: function () { return chunk4GITK3Q5_cjs.useTrackedOrNoted; }
|
|
202
216
|
});
|
|
203
217
|
Object.defineProperty(exports, "withDirectEditing", {
|
|
204
218
|
enumerable: true,
|
|
205
|
-
get: function () { return
|
|
219
|
+
get: function () { return chunk4GITK3Q5_cjs.withDirectEditing; }
|
|
206
220
|
});
|
|
207
221
|
Object.defineProperty(exports, "DocxEditor", {
|
|
208
222
|
enumerable: true,
|
package/dist/docx/index.d.ts
CHANGED
|
@@ -24,3 +24,4 @@ export { DocxAuthorContext, useTrackedOrNoted } from './structural/useTrackedOrN
|
|
|
24
24
|
export { contentPath } from './NativeDocxEditor';
|
|
25
25
|
export { HouseTemplateProvider, useHouseTemplate, builtinHouseTemplate, resolveHouseTemplate, templateFileName, BUILTIN_TEMPLATE_NAME, type HouseTemplate, type HouseTemplateHost, type HouseTemplateSource, } from './template/HouseTemplate';
|
|
26
26
|
export { groupCandidates, isCandidate, type CandidateGroup, type HouseTemplateCandidate, } from './template/candidates';
|
|
27
|
+
export { SignatureFieldMenu, SignatureFieldsProvider, insertSignatureField, type DocxSigner, } from './signatures/SignatureFields';
|
package/dist/docx/index.js
CHANGED
|
@@ -1,13 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export { NativeDocxComparison } from '../chunk-
|
|
3
|
-
export { StreamedWordArtifact } from '../chunk-
|
|
2
|
+
export { NativeDocxComparison } from '../chunk-AVXRXPII.js';
|
|
3
|
+
export { StreamedWordArtifact } from '../chunk-BGXWPVHR.js';
|
|
4
4
|
export { groupCandidates, isCandidate, loadDocxFonts } from '../chunk-MTSKK3BN.js';
|
|
5
|
-
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-
|
|
5
|
+
export { BUILTIN_TEMPLATE_NAME, CrossReferenceDialog, CrossReferencesProvider, DEFAULT_CROSS_REFERENCES_LABELS, DEFAULT_DEFINED_TERMS_LABELS, DEFINED_TERM_TRIGGER, DefinedTermsProvider, DocxAuthorContext, DocxCommentActivity, DocxEditorReview, DocxMentions, DocxParticipants, DocxRibbon, GenerateImageButton, HouseTemplateProvider, LinkHoverCard, NativeDocxEditor, SignatureFieldMenu, SignatureFieldsProvider, builtinHouseTemplate, contentPath, editorPort, findDefinitionsSection, insertCrossReference, insertDefinedTerm, insertDocumentReference, insertSignatureField, listTargets, normalizeDocxExport, paragraphNumber, referenceText, referencesPort, resolveHouseTemplate, reviewModule, shortTitle, structuralPort, templateFileName, trackedOrNoted, useCrossReferences, useDefinedTerms, useHouseTemplate, useReview, useReviewItem, useTrackedOrNoted, withDirectEditing } from '../chunk-XER3JLC7.js';
|
|
6
|
+
import '../chunk-DAN7EJ4O.js';
|
|
6
7
|
import '../chunk-HFZ45FD3.js';
|
|
7
8
|
import '../chunk-DIB4JYUY.js';
|
|
8
9
|
import '../chunk-AF6RDAJF.js';
|
|
9
10
|
import '../chunk-AA3PT6KR.js';
|
|
10
11
|
import '../chunk-7F6CBP3Z.js';
|
|
12
|
+
import '../chunk-TX2ZICS7.js';
|
|
11
13
|
import '../chunk-VUNV25KB.js';
|
|
12
14
|
export { DocxEditor, useDocxEditor, useEditorState } from '@docx-editor.dev/react';
|
|
13
15
|
export { createHocuspocusCollaboration } from '@arbidocs/coedit/hocuspocus';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Insert › Signature field: a field where a signature request will ask someone to sign, initial,
|
|
3
|
+
* date or print their name, placed at the caret. The field is a locked chip ("Signature — Priya
|
|
4
|
+
* Shah") whose hidden payload names the signer by email; when the version is saved, its PDF
|
|
5
|
+
* carries an invisible anchor there, and Request signatures places the field exactly on it, for
|
|
6
|
+
* that signer. A field with no signer is assigned when the request is made. See
|
|
7
|
+
* `@arbidocs/coedit/commands` (`signatureFieldWrite`).
|
|
8
|
+
*
|
|
9
|
+
* Insert › My signature puts one's own saved signature or initials (Account settings › Your
|
|
10
|
+
* signature, sealed with one's own key) at the cursor as an inline picture, through the editor's
|
|
11
|
+
* picture insert (a tracked insertion while suggesting). Nothing saved yet: the adopt dialog opens
|
|
12
|
+
* first. That is an informal signature; verified signing is Request signatures.
|
|
13
|
+
*/
|
|
14
|
+
import React from 'react';
|
|
15
|
+
import { useDocxEditor } from '@docx-editor.dev/react';
|
|
16
|
+
import { type SavedSignature } from '@arbidocs/react/document-tools';
|
|
17
|
+
import { type SignatureFieldSpec } from '@arbidocs/coedit/commands';
|
|
18
|
+
/** Someone who may be asked to sign: a workspace member, offered first in the signer picker. */
|
|
19
|
+
export interface DocxSigner {
|
|
20
|
+
email: string;
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
/** One's own saved signature (sealed with one's own key), for Insert › My signature. */
|
|
24
|
+
export interface DocxSavedSignature {
|
|
25
|
+
load: () => Promise<SavedSignature | null>;
|
|
26
|
+
save: (signature: SavedSignature) => Promise<void>;
|
|
27
|
+
/** The name the adopt dialog starts from when nothing is saved yet. */
|
|
28
|
+
defaultName: string;
|
|
29
|
+
}
|
|
30
|
+
export declare function SignatureFieldsProvider({ signers, editable, notify, mySignature, children, }: {
|
|
31
|
+
/** Absent: the Insert tab offers no signature field (not a workspace document). */
|
|
32
|
+
signers?: readonly DocxSigner[];
|
|
33
|
+
editable: boolean;
|
|
34
|
+
notify?: (message: string, kind: 'success' | 'error') => void;
|
|
35
|
+
/** Present: Insert offers My signature / My initials. */
|
|
36
|
+
mySignature?: DocxSavedSignature;
|
|
37
|
+
children: React.ReactNode;
|
|
38
|
+
}): React.JSX.Element;
|
|
39
|
+
type Mark = 'signature' | 'initials';
|
|
40
|
+
/** Insert one's saved signature (or initials) at the caret as an inline picture. */
|
|
41
|
+
export declare function insertSavedMark(editor: Editor, saved: SavedSignature, mark: Mark): Promise<void>;
|
|
42
|
+
/** Insert tab: My signature (insert my signature / initials). */
|
|
43
|
+
export declare function MySignatureMenu(): React.JSX.Element | null;
|
|
44
|
+
/** Right-click menu rows: Insert my signature / Insert my initials. */
|
|
45
|
+
export declare function MySignatureContextItems(): React.JSX.Element | null;
|
|
46
|
+
type Editor = NonNullable<ReturnType<typeof useDocxEditor>>;
|
|
47
|
+
/** Insert the field at the caret, directly (a payload cannot be a tracked change). */
|
|
48
|
+
export declare function insertSignatureField(editor: Editor, spec: SignatureFieldSpec): string | null;
|
|
49
|
+
export declare function SignatureFieldMenu(): React.JSX.Element | null;
|
|
50
|
+
export {};
|