superdoc 2.29.0-next.2 → 2.29.0-next.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/dist/chunks/{FindReplaceSurface-Dm043CZP.es.js → FindReplaceSurface-BKVHzhQ4.es.js} +34 -26
- package/dist/chunks/{FindReplaceSurface-BRs3JrCq.cjs → FindReplaceSurface-BNDrJ6VS.cjs} +34 -26
- package/dist/chunks/{PasswordPromptSurface-DGjmN7A-.es.js → PasswordPromptSurface-6mF6Azda.es.js} +6 -4
- package/dist/chunks/{PasswordPromptSurface-BpqP4pUa.cjs → PasswordPromptSurface-BNkaztaP.cjs} +6 -4
- package/dist/chunks/{PdfViewer-boENOZdF.cjs → PdfViewer-DmSkZehl.cjs} +70 -99
- package/dist/chunks/{PdfViewer-D4lVeOJu.es.js → PdfViewer-aOWhUVI7.es.js} +67 -96
- package/dist/chunks/{constants-DpXuDx_g.cjs → constants-BeeNZoQp.cjs} +1 -1
- package/dist/chunks/{constants-B6VBlmKp.es.js → constants-BvNs_ybI.es.js} +1 -1
- package/dist/chunks/{create-super-doc-ui-BFt8agAI.es.js → create-super-doc-ui-Bm5kmx0W.es.js} +12 -29
- package/dist/chunks/{create-super-doc-ui-BAGOnYGM.cjs → create-super-doc-ui-DN70aatf.cjs} +17 -28
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/capabilities/html-markdown-support.d.ts +4 -6
- package/dist/document-api/src/comments/comments.d.ts +2 -0
- package/dist/document-api/src/contract/operation-definitions.d.ts +2 -2
- package/dist/document-api/src/contract/operation-registry.d.ts +10 -9
- package/dist/document-api/src/index.d.ts +8 -7
- package/dist/document-api/src/insert/insert.d.ts +2 -2
- package/dist/document-api/src/replace/replace.d.ts +3 -2
- package/dist/document-api/src/types/address.d.ts +3 -0
- package/dist/document-api/src/types/temporary-mutation.d.ts +5 -1
- package/dist/document-api/src/write/write.d.ts +12 -6
- package/dist/public/ui-react.cjs +1 -1
- package/dist/public/ui-react.es.js +1 -1
- package/dist/public/ui-vue.cjs +1 -1
- package/dist/public/ui-vue.es.js +1 -1
- package/dist/public/ui.cjs +1 -1
- package/dist/public/ui.es.js +1 -1
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/SuperDoc.vue.d.ts +132 -58
- package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +35 -1867
- package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +3 -4
- package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +3 -618
- package/dist/superdoc/src/components/CommentsLayer/floating-comment-positioning.d.ts +24 -23
- package/dist/superdoc/src/components/CommentsLayer/tracked-change-threading.d.ts +0 -1
- package/dist/superdoc/src/components/CommentsLayer/use-comment.d.ts +28 -13
- package/dist/superdoc/src/components/PdfViewer/PdfViewer.vue.d.ts +132 -45
- package/dist/superdoc/src/components/PdfViewer/PdfViewerDocument.vue.d.ts +62 -16
- package/dist/superdoc/src/components/PdfViewer/PdfViewerPage.vue.d.ts +77 -17
- package/dist/superdoc/src/components/PdfViewer/pdf-viewer-types.d.ts +45 -0
- package/dist/superdoc/src/components/Whiteboard/WhiteboardLayer.vue.d.ts +81 -16
- package/dist/superdoc/src/components/Whiteboard/WhiteboardPage.vue.d.ts +49 -13
- package/dist/superdoc/src/components/Whiteboard/use-whiteboard.d.ts +30 -15
- package/dist/superdoc/src/components/Whiteboard/whiteboard-types.d.ts +11 -0
- package/dist/superdoc/src/components/surfaces/FindReplaceSurface.vue.d.ts +58 -15
- package/dist/superdoc/src/components/surfaces/PasswordPromptSurface.vue.d.ts +58 -15
- package/dist/superdoc/src/components/surfaces/SurfaceFloating.vue.d.ts +14 -6
- package/dist/superdoc/src/components/surfaces/SurfaceHost.vue.d.ts +25 -15
- package/dist/superdoc/src/components/surfaces/focusable-selector.d.ts +1 -5
- package/dist/superdoc/src/composables/find-shortcut-owner.d.ts +16 -9
- package/dist/superdoc/src/composables/replace-continuation.d.ts +11 -15
- package/dist/superdoc/src/composables/use-document.d.ts +1210 -30
- package/dist/superdoc/src/composables/use-field.d.ts +88 -25
- package/dist/superdoc/src/composables/use-password-prompt.d.ts +23 -24
- package/dist/superdoc/src/composables/useUiFontFamily.d.ts +3 -11
- package/dist/superdoc/src/core/SuperDoc.d.ts +2 -7
- package/dist/superdoc/src/core/collaboration/collaboration-comments.d.ts +9 -4
- package/dist/superdoc/src/core/collaboration/helpers.d.ts +20 -3
- package/dist/superdoc/src/core/collaboration/permissions.d.ts +15 -10
- package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +4 -3
- package/dist/superdoc/src/core/collaboration/v2-awareness-bridge.d.ts +2 -1
- package/dist/superdoc/src/core/config/merge-comments-config.d.ts +1 -5
- package/dist/superdoc/src/core/config/merge-defined.d.ts +3 -8
- package/dist/superdoc/src/core/config/normalize-hyperlinks-config.d.ts +7 -12
- package/dist/superdoc/src/core/config/normalize-surfaces-config.d.ts +9 -12
- package/dist/superdoc/src/core/config/normalize-ui-config.d.ts +1 -12
- package/dist/superdoc/src/core/create-app.d.ts +13 -24
- package/dist/superdoc/src/core/editor-runtime/conformance/fake-v2-runtime.d.ts +2 -1
- package/dist/superdoc/src/core/editor-runtime/editor-runtime-registry.d.ts +2 -1
- package/dist/superdoc/src/core/editor-runtime/index.d.ts +1 -1
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +9 -1
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -1
- package/dist/superdoc/src/core/editor-runtime/v2/v2-session-shortcut-routes.d.ts +1 -1
- package/dist/superdoc/src/core/helpers/export.d.ts +3 -2
- package/dist/superdoc/src/core/helpers/file.d.ts +8 -45
- package/dist/superdoc/src/core/helpers/normalize-track-changes-config.d.ts +6 -60
- package/dist/superdoc/src/core/pdf/helpers/constants.d.ts +2 -2
- package/dist/superdoc/src/core/pdf/helpers/floor.d.ts +1 -1
- package/dist/superdoc/src/core/pdf/helpers/range.d.ts +1 -1
- package/dist/superdoc/src/core/pdf/helpers/read-file.d.ts +1 -1
- package/dist/superdoc/src/core/pdf/pdf-adapter.d.ts +24 -61
- package/dist/superdoc/src/core/superdoc-ui-owner.d.ts +1 -1
- package/dist/superdoc/src/core/surface-manager.d.ts +21 -83
- package/dist/superdoc/src/core/types/index.d.ts +4 -19
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +10 -10
- package/dist/superdoc/src/core/whiteboard/Whiteboard.d.ts +22 -208
- package/dist/superdoc/src/core/whiteboard/WhiteboardPage.d.ts +163 -189
- package/dist/superdoc/src/core/whiteboard/helpers/createTextarea.d.ts +14 -1
- package/dist/superdoc/src/core/whiteboard/helpers/flattenPoints.d.ts +1 -1
- package/dist/superdoc/src/core/whiteboard/helpers/getRandomId.d.ts +1 -1
- package/dist/superdoc/src/helpers/comment-focus.d.ts +21 -4
- package/dist/superdoc/src/helpers/deprecation.d.ts +5 -11
- package/dist/superdoc/src/helpers/interaction-trace.d.ts +7 -24
- package/dist/superdoc/src/helpers/mark-raw-component.d.ts +1 -0
- package/dist/superdoc/src/helpers/object-guards.d.ts +1 -5
- package/dist/superdoc/src/helpers/selection-source.d.ts +1 -1
- package/dist/superdoc/src/helpers/use-selection.d.ts +35 -15
- package/dist/superdoc/src/icons.d.ts +8 -0
- package/dist/superdoc/src/internal/diagnostics/diagnostic-dedupe.d.ts +6 -15
- package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +77 -16
- package/dist/superdoc/src/internal/toolbar/built-in/AlignmentButtons.vue.d.ts +5 -3
- package/dist/superdoc/src/internal/toolbar/built-in/ButtonGroup.vue.d.ts +85 -5
- package/dist/superdoc/src/internal/toolbar/built-in/DocumentMode.vue.d.ts +20 -6
- package/dist/superdoc/src/internal/toolbar/built-in/FontFamilyCombobox.vue.d.ts +32 -8
- package/dist/superdoc/src/internal/toolbar/built-in/FontSizeCombobox.vue.d.ts +32 -8
- package/dist/superdoc/src/internal/toolbar/built-in/IconGrid.vue.d.ts +44 -12
- package/dist/superdoc/src/internal/toolbar/built-in/IconGridRow.vue.d.ts +32 -9
- package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +1 -1
- package/dist/superdoc/src/internal/toolbar/built-in/StyleButtonsList.vue.d.ts +39 -10
- package/dist/superdoc/src/internal/toolbar/built-in/TableActions.vue.d.ts +24 -6
- package/dist/superdoc/src/internal/toolbar/built-in/TableGrid.vue.d.ts +7 -3
- package/dist/superdoc/src/internal/toolbar/built-in/Toolbar.vue.d.ts +9 -3
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +13 -15
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +1 -10
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarSeparator.vue.d.ts +16 -6
- package/dist/superdoc/src/internal/toolbar/built-in/color-dropdown-helpers.d.ts +10 -20
- package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +12 -45
- package/dist/superdoc/src/internal/toolbar/built-in/default-items.d.ts +34 -17
- package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/toolbar-focus-helpers.d.ts +10 -2
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +67 -0
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarTexts.d.ts +61 -61
- package/dist/superdoc/src/internal/toolbar/built-in/use-toolbar-item.d.ts +110 -48
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +7 -27
- package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +4 -3
- package/dist/superdoc/src/internal/toolbar/toolbar-item-aliases.d.ts +1 -1
- package/dist/superdoc/src/public/browser-document-api.d.ts +5 -4
- package/dist/superdoc/src/public/index.d.cts +26 -0
- package/dist/superdoc/src/public/index.d.ts +13 -0
- package/dist/superdoc/src/public/ui/commands.d.ts +14 -13
- package/dist/superdoc/src/public/ui/create-super-doc-ui.d.ts +1 -1
- package/dist/superdoc/src/public/ui/entity-at.d.ts +2 -1
- package/dist/superdoc/src/public/ui/style-match-patch.d.ts +2 -2
- package/dist/superdoc/src/public/ui/types.d.ts +1 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +225 -99
- package/dist/superdoc/src/stores/helpers/comment-draft-text.d.ts +1 -0
- package/dist/superdoc/src/stores/helpers/comment-grouping.d.ts +30 -0
- package/dist/superdoc/src/stores/helpers/comment-identity.d.ts +40 -0
- package/dist/superdoc/src/stores/helpers/floating-comment-instances.d.ts +48 -13
- package/dist/superdoc/src/stores/helpers/tracked-change-identity.d.ts +19 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-row-values.d.ts +21 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-thread-index.d.ts +21 -24
- package/dist/superdoc/src/stores/superdoc-store.d.ts +676 -298
- package/dist/superdoc.cjs +1623 -2477
- package/dist/superdoc.es.js +1604 -2461
- package/dist-cdn/style.layered.css +1 -1
- package/dist-cdn/superdoc.min.css +1 -1
- package/dist-cdn/superdoc.min.js +42 -42
- package/package.json +2 -2
- package/dist/superdoc/src/internal/toolbar/index.d.ts +0 -10
|
@@ -1,316 +1,9 @@
|
|
|
1
1
|
import { PropType, Ref } from 'vue';
|
|
2
2
|
import { User } from '../../core/types/index.js';
|
|
3
|
+
import { CommentModel } from './use-comment.js';
|
|
3
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
5
|
comment: {
|
|
5
|
-
type: PropType<
|
|
6
|
-
uid: string | undefined;
|
|
7
|
-
commentId: string;
|
|
8
|
-
importedId: string | null | undefined;
|
|
9
|
-
parentCommentId: string | null | undefined;
|
|
10
|
-
trackedChangeParentId: string | null | undefined;
|
|
11
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
12
|
-
trackedChangeSide: string | null | undefined;
|
|
13
|
-
fileId: string | null | undefined;
|
|
14
|
-
fileType: string | null | undefined;
|
|
15
|
-
mentions: {
|
|
16
|
-
name?: string | null | undefined;
|
|
17
|
-
email?: string | null | undefined;
|
|
18
|
-
}[];
|
|
19
|
-
commentElement: HTMLElement | null;
|
|
20
|
-
isFocused: boolean;
|
|
21
|
-
creatorId: string | null;
|
|
22
|
-
creatorEmail: string | null;
|
|
23
|
-
creatorName: string | null;
|
|
24
|
-
creatorImage: string | null;
|
|
25
|
-
createdTime: number;
|
|
26
|
-
isInternal: boolean;
|
|
27
|
-
commentText: string;
|
|
28
|
-
selection: {
|
|
29
|
-
documentId: any;
|
|
30
|
-
page: any;
|
|
31
|
-
selectionBounds: any;
|
|
32
|
-
getValues: () => {
|
|
33
|
-
documentId: any;
|
|
34
|
-
page: any;
|
|
35
|
-
selectionBounds: any;
|
|
36
|
-
source: any;
|
|
37
|
-
};
|
|
38
|
-
getContainerId: () => string;
|
|
39
|
-
getContainerLocation: (parentContainer: any) => {
|
|
40
|
-
top: number;
|
|
41
|
-
left: number;
|
|
42
|
-
};
|
|
43
|
-
source: any;
|
|
44
|
-
};
|
|
45
|
-
floatingPosition: {
|
|
46
|
-
top?: number | undefined;
|
|
47
|
-
left?: number | undefined;
|
|
48
|
-
right?: number | undefined;
|
|
49
|
-
bottom?: number | undefined;
|
|
50
|
-
};
|
|
51
|
-
trackedChange: boolean | undefined;
|
|
52
|
-
deletedText: string | null;
|
|
53
|
-
trackedChangeType: string | null;
|
|
54
|
-
trackedChangeText: string | null;
|
|
55
|
-
trackedChangeDisplayType: string | null;
|
|
56
|
-
semanticColorKey: string | null;
|
|
57
|
-
semanticColor: string | null;
|
|
58
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
59
|
-
trackedChangeStoryKind: string | null;
|
|
60
|
-
trackedChangeStoryLabel: string;
|
|
61
|
-
trackedChangeAnchorKey: string | null;
|
|
62
|
-
trackedChangeCanonicalId: string | null;
|
|
63
|
-
trackedChangePositionAliases: string[];
|
|
64
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
65
|
-
trackedChangeLabel: string | null;
|
|
66
|
-
trackedChangeDetailLines: {
|
|
67
|
-
excerpt: string;
|
|
68
|
-
label: string;
|
|
69
|
-
}[] | null;
|
|
70
|
-
trackedChangeImagePreview: {
|
|
71
|
-
src: string;
|
|
72
|
-
contentType: string;
|
|
73
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
74
|
-
partUri?: string | undefined;
|
|
75
|
-
relationshipId?: string | undefined;
|
|
76
|
-
width?: number | undefined;
|
|
77
|
-
height?: number | undefined;
|
|
78
|
-
alt?: string | undefined;
|
|
79
|
-
} | null;
|
|
80
|
-
customAttributes: readonly {
|
|
81
|
-
name: string;
|
|
82
|
-
namespaceUri: string;
|
|
83
|
-
localName: string;
|
|
84
|
-
value: string;
|
|
85
|
-
}[] | null;
|
|
86
|
-
resolvedTime: number | null;
|
|
87
|
-
resolvedById: string | null;
|
|
88
|
-
resolvedByEmail: string | null | undefined;
|
|
89
|
-
resolvedByName: string | null | undefined;
|
|
90
|
-
importedAuthor: {
|
|
91
|
-
name?: string | null | undefined;
|
|
92
|
-
email?: string | null | undefined;
|
|
93
|
-
} | null;
|
|
94
|
-
docxCommentJSON: {} | null;
|
|
95
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
96
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
97
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
98
|
-
threadingParentCommentId: string | null | undefined;
|
|
99
|
-
originalXmlStructure: {
|
|
100
|
-
hasCommentsExtended: boolean;
|
|
101
|
-
hasCommentsExtensible: boolean;
|
|
102
|
-
hasCommentsIds: boolean;
|
|
103
|
-
} | undefined;
|
|
104
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
105
|
-
text: string;
|
|
106
|
-
superdoc?: {
|
|
107
|
-
emit: (event: "comments-update", payload: {
|
|
108
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
109
|
-
changes?: {
|
|
110
|
-
key: string;
|
|
111
|
-
value: unknown;
|
|
112
|
-
previousValue?: unknown;
|
|
113
|
-
}[];
|
|
114
|
-
comment: unknown;
|
|
115
|
-
}) => unknown;
|
|
116
|
-
commentsStore?: {
|
|
117
|
-
getConfig?: {
|
|
118
|
-
readOnly?: boolean;
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
config?: {
|
|
122
|
-
modules?: import('../../public/index.js').Modules;
|
|
123
|
-
};
|
|
124
|
-
};
|
|
125
|
-
suppressUpdate: true;
|
|
126
|
-
} | {
|
|
127
|
-
text: string;
|
|
128
|
-
superdoc: {
|
|
129
|
-
emit: (event: "comments-update", payload: {
|
|
130
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
131
|
-
changes?: {
|
|
132
|
-
key: string;
|
|
133
|
-
value: unknown;
|
|
134
|
-
previousValue?: unknown;
|
|
135
|
-
}[];
|
|
136
|
-
comment: unknown;
|
|
137
|
-
}) => unknown;
|
|
138
|
-
commentsStore?: {
|
|
139
|
-
getConfig?: {
|
|
140
|
-
readOnly?: boolean;
|
|
141
|
-
};
|
|
142
|
-
};
|
|
143
|
-
config?: {
|
|
144
|
-
modules?: import('../../public/index.js').Modules;
|
|
145
|
-
};
|
|
146
|
-
};
|
|
147
|
-
suppressUpdate?: false;
|
|
148
|
-
}) => {
|
|
149
|
-
ok: false;
|
|
150
|
-
reason: "read-only-document";
|
|
151
|
-
} | undefined;
|
|
152
|
-
getValues: () => {
|
|
153
|
-
uid: string | undefined;
|
|
154
|
-
commentId: string | undefined;
|
|
155
|
-
importedId: string | null | undefined;
|
|
156
|
-
parentCommentId: string | null | undefined;
|
|
157
|
-
trackedChangeParentId: string | null | undefined;
|
|
158
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
159
|
-
trackedChangeSide: string | null | undefined;
|
|
160
|
-
fileId: string | null | undefined;
|
|
161
|
-
fileType: string | null | undefined;
|
|
162
|
-
mentions: {
|
|
163
|
-
name: string | null | undefined;
|
|
164
|
-
email?: string | null | undefined;
|
|
165
|
-
}[];
|
|
166
|
-
createdAtVersionNumber: number | null | undefined;
|
|
167
|
-
creatorId: string | null;
|
|
168
|
-
creatorEmail: string | null;
|
|
169
|
-
creatorName: string | null;
|
|
170
|
-
creatorImage: string | null;
|
|
171
|
-
createdTime: number;
|
|
172
|
-
importedAuthor: {
|
|
173
|
-
name?: string | null | undefined;
|
|
174
|
-
email?: string | null | undefined;
|
|
175
|
-
} | null;
|
|
176
|
-
docxCommentJSON: {} | null;
|
|
177
|
-
isInternal: boolean;
|
|
178
|
-
commentText: string;
|
|
179
|
-
selection: {
|
|
180
|
-
documentId: any;
|
|
181
|
-
page: any;
|
|
182
|
-
selectionBounds: any;
|
|
183
|
-
source: any;
|
|
184
|
-
} | null;
|
|
185
|
-
trackedChange: boolean | undefined;
|
|
186
|
-
trackedChangeText: string | null;
|
|
187
|
-
trackedChangeType: string | null;
|
|
188
|
-
trackedChangeDisplayType: string | null;
|
|
189
|
-
semanticColorKey: string | null;
|
|
190
|
-
semanticColor: string | null;
|
|
191
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
192
|
-
trackedChangeStoryKind: string | null;
|
|
193
|
-
trackedChangeStoryLabel: string;
|
|
194
|
-
trackedChangeAnchorKey: string | null;
|
|
195
|
-
trackedChangeCanonicalId: string | null;
|
|
196
|
-
trackedChangePositionAliases: string[];
|
|
197
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
198
|
-
trackedChangeLabel: string | null;
|
|
199
|
-
trackedChangeDetailLines: {
|
|
200
|
-
excerpt: string;
|
|
201
|
-
label: string;
|
|
202
|
-
}[] | null;
|
|
203
|
-
trackedChangeImagePreview: {
|
|
204
|
-
src: string;
|
|
205
|
-
contentType: string;
|
|
206
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
207
|
-
partUri?: string | undefined;
|
|
208
|
-
relationshipId?: string | undefined;
|
|
209
|
-
width?: number | undefined;
|
|
210
|
-
height?: number | undefined;
|
|
211
|
-
alt?: string | undefined;
|
|
212
|
-
} | null;
|
|
213
|
-
customAttributes: readonly {
|
|
214
|
-
name: string;
|
|
215
|
-
namespaceUri: string;
|
|
216
|
-
localName: string;
|
|
217
|
-
value: string;
|
|
218
|
-
}[] | null;
|
|
219
|
-
deletedText: string | null;
|
|
220
|
-
resolvedTime: number | null;
|
|
221
|
-
resolvedById: string | null;
|
|
222
|
-
resolvedByEmail: string | null | undefined;
|
|
223
|
-
resolvedByName: string | null | undefined;
|
|
224
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
225
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
226
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
227
|
-
threadingParentCommentId: string | null | undefined;
|
|
228
|
-
originalXmlStructure: {
|
|
229
|
-
hasCommentsExtended: boolean;
|
|
230
|
-
hasCommentsExtensible: boolean;
|
|
231
|
-
hasCommentsIds: boolean;
|
|
232
|
-
} | undefined;
|
|
233
|
-
};
|
|
234
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
235
|
-
id?: string | null;
|
|
236
|
-
email?: string | null;
|
|
237
|
-
name?: string | null;
|
|
238
|
-
superdoc: {
|
|
239
|
-
emit: (event: "comments-update", payload: {
|
|
240
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
241
|
-
changes?: {
|
|
242
|
-
key: string;
|
|
243
|
-
value: unknown;
|
|
244
|
-
previousValue?: unknown;
|
|
245
|
-
}[];
|
|
246
|
-
comment: unknown;
|
|
247
|
-
}) => unknown;
|
|
248
|
-
commentsStore?: {
|
|
249
|
-
getConfig?: {
|
|
250
|
-
readOnly?: boolean;
|
|
251
|
-
};
|
|
252
|
-
};
|
|
253
|
-
config?: {
|
|
254
|
-
modules?: import('../../public/index.js').Modules;
|
|
255
|
-
};
|
|
256
|
-
};
|
|
257
|
-
decision?: "accept" | "reject";
|
|
258
|
-
reconciliationToken?: symbol;
|
|
259
|
-
}) => {
|
|
260
|
-
ok: false;
|
|
261
|
-
reason: "read-only-document";
|
|
262
|
-
} | undefined;
|
|
263
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
264
|
-
isInternal: boolean;
|
|
265
|
-
superdoc: {
|
|
266
|
-
emit: (event: "comments-update", payload: {
|
|
267
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
268
|
-
changes?: {
|
|
269
|
-
key: string;
|
|
270
|
-
value: unknown;
|
|
271
|
-
previousValue?: unknown;
|
|
272
|
-
}[];
|
|
273
|
-
comment: unknown;
|
|
274
|
-
}) => unknown;
|
|
275
|
-
commentsStore?: {
|
|
276
|
-
getConfig?: {
|
|
277
|
-
readOnly?: boolean;
|
|
278
|
-
};
|
|
279
|
-
};
|
|
280
|
-
config?: {
|
|
281
|
-
modules?: import('../../public/index.js').Modules;
|
|
282
|
-
};
|
|
283
|
-
};
|
|
284
|
-
}) => {
|
|
285
|
-
ok: false;
|
|
286
|
-
reason: "read-only-document";
|
|
287
|
-
} | undefined;
|
|
288
|
-
updatePosition: (coords: {
|
|
289
|
-
top: number;
|
|
290
|
-
left: number;
|
|
291
|
-
right: number;
|
|
292
|
-
bottom: number;
|
|
293
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
294
|
-
getCommentUser: () => {
|
|
295
|
-
name: string;
|
|
296
|
-
email: string | null | undefined;
|
|
297
|
-
id?: undefined;
|
|
298
|
-
image?: undefined;
|
|
299
|
-
} | {
|
|
300
|
-
id: string | null;
|
|
301
|
-
name: string | null;
|
|
302
|
-
email: string | null;
|
|
303
|
-
image: string | null;
|
|
304
|
-
};
|
|
305
|
-
updateIdentityValues: (updates?: {
|
|
306
|
-
commentId?: string;
|
|
307
|
-
importedId?: string | null;
|
|
308
|
-
parentCommentId?: string | null;
|
|
309
|
-
trackedChangeParentId?: string | null;
|
|
310
|
-
trackedChangeThreadParentId?: string | null;
|
|
311
|
-
threadingParentCommentId?: string | null;
|
|
312
|
-
}) => void;
|
|
313
|
-
}>;
|
|
6
|
+
type: PropType<CommentModel>;
|
|
314
7
|
required: true;
|
|
315
8
|
};
|
|
316
9
|
autoFocus: {
|
|
@@ -350,315 +43,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
350
43
|
default: undefined;
|
|
351
44
|
};
|
|
352
45
|
threadComments: {
|
|
353
|
-
type: PropType<
|
|
354
|
-
uid: string | undefined;
|
|
355
|
-
commentId: string;
|
|
356
|
-
importedId: string | null | undefined;
|
|
357
|
-
parentCommentId: string | null | undefined;
|
|
358
|
-
trackedChangeParentId: string | null | undefined;
|
|
359
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
360
|
-
trackedChangeSide: string | null | undefined;
|
|
361
|
-
fileId: string | null | undefined;
|
|
362
|
-
fileType: string | null | undefined;
|
|
363
|
-
mentions: {
|
|
364
|
-
name?: string | null | undefined;
|
|
365
|
-
email?: string | null | undefined;
|
|
366
|
-
}[];
|
|
367
|
-
commentElement: HTMLElement | null;
|
|
368
|
-
isFocused: boolean;
|
|
369
|
-
creatorId: string | null;
|
|
370
|
-
creatorEmail: string | null;
|
|
371
|
-
creatorName: string | null;
|
|
372
|
-
creatorImage: string | null;
|
|
373
|
-
createdTime: number;
|
|
374
|
-
isInternal: boolean;
|
|
375
|
-
commentText: string;
|
|
376
|
-
selection: {
|
|
377
|
-
documentId: any;
|
|
378
|
-
page: any;
|
|
379
|
-
selectionBounds: any;
|
|
380
|
-
getValues: () => {
|
|
381
|
-
documentId: any;
|
|
382
|
-
page: any;
|
|
383
|
-
selectionBounds: any;
|
|
384
|
-
source: any;
|
|
385
|
-
};
|
|
386
|
-
getContainerId: () => string;
|
|
387
|
-
getContainerLocation: (parentContainer: any) => {
|
|
388
|
-
top: number;
|
|
389
|
-
left: number;
|
|
390
|
-
};
|
|
391
|
-
source: any;
|
|
392
|
-
};
|
|
393
|
-
floatingPosition: {
|
|
394
|
-
top?: number | undefined;
|
|
395
|
-
left?: number | undefined;
|
|
396
|
-
right?: number | undefined;
|
|
397
|
-
bottom?: number | undefined;
|
|
398
|
-
};
|
|
399
|
-
trackedChange: boolean | undefined;
|
|
400
|
-
deletedText: string | null;
|
|
401
|
-
trackedChangeType: string | null;
|
|
402
|
-
trackedChangeText: string | null;
|
|
403
|
-
trackedChangeDisplayType: string | null;
|
|
404
|
-
semanticColorKey: string | null;
|
|
405
|
-
semanticColor: string | null;
|
|
406
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
407
|
-
trackedChangeStoryKind: string | null;
|
|
408
|
-
trackedChangeStoryLabel: string;
|
|
409
|
-
trackedChangeAnchorKey: string | null;
|
|
410
|
-
trackedChangeCanonicalId: string | null;
|
|
411
|
-
trackedChangePositionAliases: string[];
|
|
412
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
413
|
-
trackedChangeLabel: string | null;
|
|
414
|
-
trackedChangeDetailLines: {
|
|
415
|
-
excerpt: string;
|
|
416
|
-
label: string;
|
|
417
|
-
}[] | null;
|
|
418
|
-
trackedChangeImagePreview: {
|
|
419
|
-
src: string;
|
|
420
|
-
contentType: string;
|
|
421
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
422
|
-
partUri?: string | undefined;
|
|
423
|
-
relationshipId?: string | undefined;
|
|
424
|
-
width?: number | undefined;
|
|
425
|
-
height?: number | undefined;
|
|
426
|
-
alt?: string | undefined;
|
|
427
|
-
} | null;
|
|
428
|
-
customAttributes: readonly {
|
|
429
|
-
name: string;
|
|
430
|
-
namespaceUri: string;
|
|
431
|
-
localName: string;
|
|
432
|
-
value: string;
|
|
433
|
-
}[] | null;
|
|
434
|
-
resolvedTime: number | null;
|
|
435
|
-
resolvedById: string | null;
|
|
436
|
-
resolvedByEmail: string | null | undefined;
|
|
437
|
-
resolvedByName: string | null | undefined;
|
|
438
|
-
importedAuthor: {
|
|
439
|
-
name?: string | null | undefined;
|
|
440
|
-
email?: string | null | undefined;
|
|
441
|
-
} | null;
|
|
442
|
-
docxCommentJSON: {} | null;
|
|
443
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
444
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
445
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
446
|
-
threadingParentCommentId: string | null | undefined;
|
|
447
|
-
originalXmlStructure: {
|
|
448
|
-
hasCommentsExtended: boolean;
|
|
449
|
-
hasCommentsExtensible: boolean;
|
|
450
|
-
hasCommentsIds: boolean;
|
|
451
|
-
} | undefined;
|
|
452
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
453
|
-
text: string;
|
|
454
|
-
superdoc?: {
|
|
455
|
-
emit: (event: "comments-update", payload: {
|
|
456
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
457
|
-
changes?: {
|
|
458
|
-
key: string;
|
|
459
|
-
value: unknown;
|
|
460
|
-
previousValue?: unknown;
|
|
461
|
-
}[];
|
|
462
|
-
comment: unknown;
|
|
463
|
-
}) => unknown;
|
|
464
|
-
commentsStore?: {
|
|
465
|
-
getConfig?: {
|
|
466
|
-
readOnly?: boolean;
|
|
467
|
-
};
|
|
468
|
-
};
|
|
469
|
-
config?: {
|
|
470
|
-
modules?: import('../../public/index.js').Modules;
|
|
471
|
-
};
|
|
472
|
-
};
|
|
473
|
-
suppressUpdate: true;
|
|
474
|
-
} | {
|
|
475
|
-
text: string;
|
|
476
|
-
superdoc: {
|
|
477
|
-
emit: (event: "comments-update", payload: {
|
|
478
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
479
|
-
changes?: {
|
|
480
|
-
key: string;
|
|
481
|
-
value: unknown;
|
|
482
|
-
previousValue?: unknown;
|
|
483
|
-
}[];
|
|
484
|
-
comment: unknown;
|
|
485
|
-
}) => unknown;
|
|
486
|
-
commentsStore?: {
|
|
487
|
-
getConfig?: {
|
|
488
|
-
readOnly?: boolean;
|
|
489
|
-
};
|
|
490
|
-
};
|
|
491
|
-
config?: {
|
|
492
|
-
modules?: import('../../public/index.js').Modules;
|
|
493
|
-
};
|
|
494
|
-
};
|
|
495
|
-
suppressUpdate?: false;
|
|
496
|
-
}) => {
|
|
497
|
-
ok: false;
|
|
498
|
-
reason: "read-only-document";
|
|
499
|
-
} | undefined;
|
|
500
|
-
getValues: () => {
|
|
501
|
-
uid: string | undefined;
|
|
502
|
-
commentId: string | undefined;
|
|
503
|
-
importedId: string | null | undefined;
|
|
504
|
-
parentCommentId: string | null | undefined;
|
|
505
|
-
trackedChangeParentId: string | null | undefined;
|
|
506
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
507
|
-
trackedChangeSide: string | null | undefined;
|
|
508
|
-
fileId: string | null | undefined;
|
|
509
|
-
fileType: string | null | undefined;
|
|
510
|
-
mentions: {
|
|
511
|
-
name: string | null | undefined;
|
|
512
|
-
email?: string | null | undefined;
|
|
513
|
-
}[];
|
|
514
|
-
createdAtVersionNumber: number | null | undefined;
|
|
515
|
-
creatorId: string | null;
|
|
516
|
-
creatorEmail: string | null;
|
|
517
|
-
creatorName: string | null;
|
|
518
|
-
creatorImage: string | null;
|
|
519
|
-
createdTime: number;
|
|
520
|
-
importedAuthor: {
|
|
521
|
-
name?: string | null | undefined;
|
|
522
|
-
email?: string | null | undefined;
|
|
523
|
-
} | null;
|
|
524
|
-
docxCommentJSON: {} | null;
|
|
525
|
-
isInternal: boolean;
|
|
526
|
-
commentText: string;
|
|
527
|
-
selection: {
|
|
528
|
-
documentId: any;
|
|
529
|
-
page: any;
|
|
530
|
-
selectionBounds: any;
|
|
531
|
-
source: any;
|
|
532
|
-
} | null;
|
|
533
|
-
trackedChange: boolean | undefined;
|
|
534
|
-
trackedChangeText: string | null;
|
|
535
|
-
trackedChangeType: string | null;
|
|
536
|
-
trackedChangeDisplayType: string | null;
|
|
537
|
-
semanticColorKey: string | null;
|
|
538
|
-
semanticColor: string | null;
|
|
539
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
540
|
-
trackedChangeStoryKind: string | null;
|
|
541
|
-
trackedChangeStoryLabel: string;
|
|
542
|
-
trackedChangeAnchorKey: string | null;
|
|
543
|
-
trackedChangeCanonicalId: string | null;
|
|
544
|
-
trackedChangePositionAliases: string[];
|
|
545
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
546
|
-
trackedChangeLabel: string | null;
|
|
547
|
-
trackedChangeDetailLines: {
|
|
548
|
-
excerpt: string;
|
|
549
|
-
label: string;
|
|
550
|
-
}[] | null;
|
|
551
|
-
trackedChangeImagePreview: {
|
|
552
|
-
src: string;
|
|
553
|
-
contentType: string;
|
|
554
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
555
|
-
partUri?: string | undefined;
|
|
556
|
-
relationshipId?: string | undefined;
|
|
557
|
-
width?: number | undefined;
|
|
558
|
-
height?: number | undefined;
|
|
559
|
-
alt?: string | undefined;
|
|
560
|
-
} | null;
|
|
561
|
-
customAttributes: readonly {
|
|
562
|
-
name: string;
|
|
563
|
-
namespaceUri: string;
|
|
564
|
-
localName: string;
|
|
565
|
-
value: string;
|
|
566
|
-
}[] | null;
|
|
567
|
-
deletedText: string | null;
|
|
568
|
-
resolvedTime: number | null;
|
|
569
|
-
resolvedById: string | null;
|
|
570
|
-
resolvedByEmail: string | null | undefined;
|
|
571
|
-
resolvedByName: string | null | undefined;
|
|
572
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
573
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
574
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
575
|
-
threadingParentCommentId: string | null | undefined;
|
|
576
|
-
originalXmlStructure: {
|
|
577
|
-
hasCommentsExtended: boolean;
|
|
578
|
-
hasCommentsExtensible: boolean;
|
|
579
|
-
hasCommentsIds: boolean;
|
|
580
|
-
} | undefined;
|
|
581
|
-
};
|
|
582
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
583
|
-
id?: string | null;
|
|
584
|
-
email?: string | null;
|
|
585
|
-
name?: string | null;
|
|
586
|
-
superdoc: {
|
|
587
|
-
emit: (event: "comments-update", payload: {
|
|
588
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
589
|
-
changes?: {
|
|
590
|
-
key: string;
|
|
591
|
-
value: unknown;
|
|
592
|
-
previousValue?: unknown;
|
|
593
|
-
}[];
|
|
594
|
-
comment: unknown;
|
|
595
|
-
}) => unknown;
|
|
596
|
-
commentsStore?: {
|
|
597
|
-
getConfig?: {
|
|
598
|
-
readOnly?: boolean;
|
|
599
|
-
};
|
|
600
|
-
};
|
|
601
|
-
config?: {
|
|
602
|
-
modules?: import('../../public/index.js').Modules;
|
|
603
|
-
};
|
|
604
|
-
};
|
|
605
|
-
decision?: "accept" | "reject";
|
|
606
|
-
reconciliationToken?: symbol;
|
|
607
|
-
}) => {
|
|
608
|
-
ok: false;
|
|
609
|
-
reason: "read-only-document";
|
|
610
|
-
} | undefined;
|
|
611
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
612
|
-
isInternal: boolean;
|
|
613
|
-
superdoc: {
|
|
614
|
-
emit: (event: "comments-update", payload: {
|
|
615
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
616
|
-
changes?: {
|
|
617
|
-
key: string;
|
|
618
|
-
value: unknown;
|
|
619
|
-
previousValue?: unknown;
|
|
620
|
-
}[];
|
|
621
|
-
comment: unknown;
|
|
622
|
-
}) => unknown;
|
|
623
|
-
commentsStore?: {
|
|
624
|
-
getConfig?: {
|
|
625
|
-
readOnly?: boolean;
|
|
626
|
-
};
|
|
627
|
-
};
|
|
628
|
-
config?: {
|
|
629
|
-
modules?: import('../../public/index.js').Modules;
|
|
630
|
-
};
|
|
631
|
-
};
|
|
632
|
-
}) => {
|
|
633
|
-
ok: false;
|
|
634
|
-
reason: "read-only-document";
|
|
635
|
-
} | undefined;
|
|
636
|
-
updatePosition: (coords: {
|
|
637
|
-
top: number;
|
|
638
|
-
left: number;
|
|
639
|
-
right: number;
|
|
640
|
-
bottom: number;
|
|
641
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
642
|
-
getCommentUser: () => {
|
|
643
|
-
name: string;
|
|
644
|
-
email: string | null | undefined;
|
|
645
|
-
id?: undefined;
|
|
646
|
-
image?: undefined;
|
|
647
|
-
} | {
|
|
648
|
-
id: string | null;
|
|
649
|
-
name: string | null;
|
|
650
|
-
email: string | null;
|
|
651
|
-
image: string | null;
|
|
652
|
-
};
|
|
653
|
-
updateIdentityValues: (updates?: {
|
|
654
|
-
commentId?: string;
|
|
655
|
-
importedId?: string | null;
|
|
656
|
-
parentCommentId?: string | null;
|
|
657
|
-
trackedChangeParentId?: string | null;
|
|
658
|
-
trackedChangeThreadParentId?: string | null;
|
|
659
|
-
threadingParentCommentId?: string | null;
|
|
660
|
-
}) => void;
|
|
661
|
-
}[] | null>;
|
|
46
|
+
type: PropType<CommentModel[] | null>;
|
|
662
47
|
default: null;
|
|
663
48
|
};
|
|
664
49
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -671,315 +56,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
671
56
|
"dialog-exit": () => any;
|
|
672
57
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
673
58
|
comment: {
|
|
674
|
-
type: PropType<
|
|
675
|
-
uid: string | undefined;
|
|
676
|
-
commentId: string;
|
|
677
|
-
importedId: string | null | undefined;
|
|
678
|
-
parentCommentId: string | null | undefined;
|
|
679
|
-
trackedChangeParentId: string | null | undefined;
|
|
680
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
681
|
-
trackedChangeSide: string | null | undefined;
|
|
682
|
-
fileId: string | null | undefined;
|
|
683
|
-
fileType: string | null | undefined;
|
|
684
|
-
mentions: {
|
|
685
|
-
name?: string | null | undefined;
|
|
686
|
-
email?: string | null | undefined;
|
|
687
|
-
}[];
|
|
688
|
-
commentElement: HTMLElement | null;
|
|
689
|
-
isFocused: boolean;
|
|
690
|
-
creatorId: string | null;
|
|
691
|
-
creatorEmail: string | null;
|
|
692
|
-
creatorName: string | null;
|
|
693
|
-
creatorImage: string | null;
|
|
694
|
-
createdTime: number;
|
|
695
|
-
isInternal: boolean;
|
|
696
|
-
commentText: string;
|
|
697
|
-
selection: {
|
|
698
|
-
documentId: any;
|
|
699
|
-
page: any;
|
|
700
|
-
selectionBounds: any;
|
|
701
|
-
getValues: () => {
|
|
702
|
-
documentId: any;
|
|
703
|
-
page: any;
|
|
704
|
-
selectionBounds: any;
|
|
705
|
-
source: any;
|
|
706
|
-
};
|
|
707
|
-
getContainerId: () => string;
|
|
708
|
-
getContainerLocation: (parentContainer: any) => {
|
|
709
|
-
top: number;
|
|
710
|
-
left: number;
|
|
711
|
-
};
|
|
712
|
-
source: any;
|
|
713
|
-
};
|
|
714
|
-
floatingPosition: {
|
|
715
|
-
top?: number | undefined;
|
|
716
|
-
left?: number | undefined;
|
|
717
|
-
right?: number | undefined;
|
|
718
|
-
bottom?: number | undefined;
|
|
719
|
-
};
|
|
720
|
-
trackedChange: boolean | undefined;
|
|
721
|
-
deletedText: string | null;
|
|
722
|
-
trackedChangeType: string | null;
|
|
723
|
-
trackedChangeText: string | null;
|
|
724
|
-
trackedChangeDisplayType: string | null;
|
|
725
|
-
semanticColorKey: string | null;
|
|
726
|
-
semanticColor: string | null;
|
|
727
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
728
|
-
trackedChangeStoryKind: string | null;
|
|
729
|
-
trackedChangeStoryLabel: string;
|
|
730
|
-
trackedChangeAnchorKey: string | null;
|
|
731
|
-
trackedChangeCanonicalId: string | null;
|
|
732
|
-
trackedChangePositionAliases: string[];
|
|
733
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
734
|
-
trackedChangeLabel: string | null;
|
|
735
|
-
trackedChangeDetailLines: {
|
|
736
|
-
excerpt: string;
|
|
737
|
-
label: string;
|
|
738
|
-
}[] | null;
|
|
739
|
-
trackedChangeImagePreview: {
|
|
740
|
-
src: string;
|
|
741
|
-
contentType: string;
|
|
742
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
743
|
-
partUri?: string | undefined;
|
|
744
|
-
relationshipId?: string | undefined;
|
|
745
|
-
width?: number | undefined;
|
|
746
|
-
height?: number | undefined;
|
|
747
|
-
alt?: string | undefined;
|
|
748
|
-
} | null;
|
|
749
|
-
customAttributes: readonly {
|
|
750
|
-
name: string;
|
|
751
|
-
namespaceUri: string;
|
|
752
|
-
localName: string;
|
|
753
|
-
value: string;
|
|
754
|
-
}[] | null;
|
|
755
|
-
resolvedTime: number | null;
|
|
756
|
-
resolvedById: string | null;
|
|
757
|
-
resolvedByEmail: string | null | undefined;
|
|
758
|
-
resolvedByName: string | null | undefined;
|
|
759
|
-
importedAuthor: {
|
|
760
|
-
name?: string | null | undefined;
|
|
761
|
-
email?: string | null | undefined;
|
|
762
|
-
} | null;
|
|
763
|
-
docxCommentJSON: {} | null;
|
|
764
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
765
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
766
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
767
|
-
threadingParentCommentId: string | null | undefined;
|
|
768
|
-
originalXmlStructure: {
|
|
769
|
-
hasCommentsExtended: boolean;
|
|
770
|
-
hasCommentsExtensible: boolean;
|
|
771
|
-
hasCommentsIds: boolean;
|
|
772
|
-
} | undefined;
|
|
773
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
774
|
-
text: string;
|
|
775
|
-
superdoc?: {
|
|
776
|
-
emit: (event: "comments-update", payload: {
|
|
777
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
778
|
-
changes?: {
|
|
779
|
-
key: string;
|
|
780
|
-
value: unknown;
|
|
781
|
-
previousValue?: unknown;
|
|
782
|
-
}[];
|
|
783
|
-
comment: unknown;
|
|
784
|
-
}) => unknown;
|
|
785
|
-
commentsStore?: {
|
|
786
|
-
getConfig?: {
|
|
787
|
-
readOnly?: boolean;
|
|
788
|
-
};
|
|
789
|
-
};
|
|
790
|
-
config?: {
|
|
791
|
-
modules?: import('../../public/index.js').Modules;
|
|
792
|
-
};
|
|
793
|
-
};
|
|
794
|
-
suppressUpdate: true;
|
|
795
|
-
} | {
|
|
796
|
-
text: string;
|
|
797
|
-
superdoc: {
|
|
798
|
-
emit: (event: "comments-update", payload: {
|
|
799
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
800
|
-
changes?: {
|
|
801
|
-
key: string;
|
|
802
|
-
value: unknown;
|
|
803
|
-
previousValue?: unknown;
|
|
804
|
-
}[];
|
|
805
|
-
comment: unknown;
|
|
806
|
-
}) => unknown;
|
|
807
|
-
commentsStore?: {
|
|
808
|
-
getConfig?: {
|
|
809
|
-
readOnly?: boolean;
|
|
810
|
-
};
|
|
811
|
-
};
|
|
812
|
-
config?: {
|
|
813
|
-
modules?: import('../../public/index.js').Modules;
|
|
814
|
-
};
|
|
815
|
-
};
|
|
816
|
-
suppressUpdate?: false;
|
|
817
|
-
}) => {
|
|
818
|
-
ok: false;
|
|
819
|
-
reason: "read-only-document";
|
|
820
|
-
} | undefined;
|
|
821
|
-
getValues: () => {
|
|
822
|
-
uid: string | undefined;
|
|
823
|
-
commentId: string | undefined;
|
|
824
|
-
importedId: string | null | undefined;
|
|
825
|
-
parentCommentId: string | null | undefined;
|
|
826
|
-
trackedChangeParentId: string | null | undefined;
|
|
827
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
828
|
-
trackedChangeSide: string | null | undefined;
|
|
829
|
-
fileId: string | null | undefined;
|
|
830
|
-
fileType: string | null | undefined;
|
|
831
|
-
mentions: {
|
|
832
|
-
name: string | null | undefined;
|
|
833
|
-
email?: string | null | undefined;
|
|
834
|
-
}[];
|
|
835
|
-
createdAtVersionNumber: number | null | undefined;
|
|
836
|
-
creatorId: string | null;
|
|
837
|
-
creatorEmail: string | null;
|
|
838
|
-
creatorName: string | null;
|
|
839
|
-
creatorImage: string | null;
|
|
840
|
-
createdTime: number;
|
|
841
|
-
importedAuthor: {
|
|
842
|
-
name?: string | null | undefined;
|
|
843
|
-
email?: string | null | undefined;
|
|
844
|
-
} | null;
|
|
845
|
-
docxCommentJSON: {} | null;
|
|
846
|
-
isInternal: boolean;
|
|
847
|
-
commentText: string;
|
|
848
|
-
selection: {
|
|
849
|
-
documentId: any;
|
|
850
|
-
page: any;
|
|
851
|
-
selectionBounds: any;
|
|
852
|
-
source: any;
|
|
853
|
-
} | null;
|
|
854
|
-
trackedChange: boolean | undefined;
|
|
855
|
-
trackedChangeText: string | null;
|
|
856
|
-
trackedChangeType: string | null;
|
|
857
|
-
trackedChangeDisplayType: string | null;
|
|
858
|
-
semanticColorKey: string | null;
|
|
859
|
-
semanticColor: string | null;
|
|
860
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
861
|
-
trackedChangeStoryKind: string | null;
|
|
862
|
-
trackedChangeStoryLabel: string;
|
|
863
|
-
trackedChangeAnchorKey: string | null;
|
|
864
|
-
trackedChangeCanonicalId: string | null;
|
|
865
|
-
trackedChangePositionAliases: string[];
|
|
866
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
867
|
-
trackedChangeLabel: string | null;
|
|
868
|
-
trackedChangeDetailLines: {
|
|
869
|
-
excerpt: string;
|
|
870
|
-
label: string;
|
|
871
|
-
}[] | null;
|
|
872
|
-
trackedChangeImagePreview: {
|
|
873
|
-
src: string;
|
|
874
|
-
contentType: string;
|
|
875
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
876
|
-
partUri?: string | undefined;
|
|
877
|
-
relationshipId?: string | undefined;
|
|
878
|
-
width?: number | undefined;
|
|
879
|
-
height?: number | undefined;
|
|
880
|
-
alt?: string | undefined;
|
|
881
|
-
} | null;
|
|
882
|
-
customAttributes: readonly {
|
|
883
|
-
name: string;
|
|
884
|
-
namespaceUri: string;
|
|
885
|
-
localName: string;
|
|
886
|
-
value: string;
|
|
887
|
-
}[] | null;
|
|
888
|
-
deletedText: string | null;
|
|
889
|
-
resolvedTime: number | null;
|
|
890
|
-
resolvedById: string | null;
|
|
891
|
-
resolvedByEmail: string | null | undefined;
|
|
892
|
-
resolvedByName: string | null | undefined;
|
|
893
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
894
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
895
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
896
|
-
threadingParentCommentId: string | null | undefined;
|
|
897
|
-
originalXmlStructure: {
|
|
898
|
-
hasCommentsExtended: boolean;
|
|
899
|
-
hasCommentsExtensible: boolean;
|
|
900
|
-
hasCommentsIds: boolean;
|
|
901
|
-
} | undefined;
|
|
902
|
-
};
|
|
903
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
904
|
-
id?: string | null;
|
|
905
|
-
email?: string | null;
|
|
906
|
-
name?: string | null;
|
|
907
|
-
superdoc: {
|
|
908
|
-
emit: (event: "comments-update", payload: {
|
|
909
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
910
|
-
changes?: {
|
|
911
|
-
key: string;
|
|
912
|
-
value: unknown;
|
|
913
|
-
previousValue?: unknown;
|
|
914
|
-
}[];
|
|
915
|
-
comment: unknown;
|
|
916
|
-
}) => unknown;
|
|
917
|
-
commentsStore?: {
|
|
918
|
-
getConfig?: {
|
|
919
|
-
readOnly?: boolean;
|
|
920
|
-
};
|
|
921
|
-
};
|
|
922
|
-
config?: {
|
|
923
|
-
modules?: import('../../public/index.js').Modules;
|
|
924
|
-
};
|
|
925
|
-
};
|
|
926
|
-
decision?: "accept" | "reject";
|
|
927
|
-
reconciliationToken?: symbol;
|
|
928
|
-
}) => {
|
|
929
|
-
ok: false;
|
|
930
|
-
reason: "read-only-document";
|
|
931
|
-
} | undefined;
|
|
932
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
933
|
-
isInternal: boolean;
|
|
934
|
-
superdoc: {
|
|
935
|
-
emit: (event: "comments-update", payload: {
|
|
936
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
937
|
-
changes?: {
|
|
938
|
-
key: string;
|
|
939
|
-
value: unknown;
|
|
940
|
-
previousValue?: unknown;
|
|
941
|
-
}[];
|
|
942
|
-
comment: unknown;
|
|
943
|
-
}) => unknown;
|
|
944
|
-
commentsStore?: {
|
|
945
|
-
getConfig?: {
|
|
946
|
-
readOnly?: boolean;
|
|
947
|
-
};
|
|
948
|
-
};
|
|
949
|
-
config?: {
|
|
950
|
-
modules?: import('../../public/index.js').Modules;
|
|
951
|
-
};
|
|
952
|
-
};
|
|
953
|
-
}) => {
|
|
954
|
-
ok: false;
|
|
955
|
-
reason: "read-only-document";
|
|
956
|
-
} | undefined;
|
|
957
|
-
updatePosition: (coords: {
|
|
958
|
-
top: number;
|
|
959
|
-
left: number;
|
|
960
|
-
right: number;
|
|
961
|
-
bottom: number;
|
|
962
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
963
|
-
getCommentUser: () => {
|
|
964
|
-
name: string;
|
|
965
|
-
email: string | null | undefined;
|
|
966
|
-
id?: undefined;
|
|
967
|
-
image?: undefined;
|
|
968
|
-
} | {
|
|
969
|
-
id: string | null;
|
|
970
|
-
name: string | null;
|
|
971
|
-
email: string | null;
|
|
972
|
-
image: string | null;
|
|
973
|
-
};
|
|
974
|
-
updateIdentityValues: (updates?: {
|
|
975
|
-
commentId?: string;
|
|
976
|
-
importedId?: string | null;
|
|
977
|
-
parentCommentId?: string | null;
|
|
978
|
-
trackedChangeParentId?: string | null;
|
|
979
|
-
trackedChangeThreadParentId?: string | null;
|
|
980
|
-
threadingParentCommentId?: string | null;
|
|
981
|
-
}) => void;
|
|
982
|
-
}>;
|
|
59
|
+
type: PropType<CommentModel>;
|
|
983
60
|
required: true;
|
|
984
61
|
};
|
|
985
62
|
autoFocus: {
|
|
@@ -1019,315 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1019
96
|
default: undefined;
|
|
1020
97
|
};
|
|
1021
98
|
threadComments: {
|
|
1022
|
-
type: PropType<
|
|
1023
|
-
uid: string | undefined;
|
|
1024
|
-
commentId: string;
|
|
1025
|
-
importedId: string | null | undefined;
|
|
1026
|
-
parentCommentId: string | null | undefined;
|
|
1027
|
-
trackedChangeParentId: string | null | undefined;
|
|
1028
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1029
|
-
trackedChangeSide: string | null | undefined;
|
|
1030
|
-
fileId: string | null | undefined;
|
|
1031
|
-
fileType: string | null | undefined;
|
|
1032
|
-
mentions: {
|
|
1033
|
-
name?: string | null | undefined;
|
|
1034
|
-
email?: string | null | undefined;
|
|
1035
|
-
}[];
|
|
1036
|
-
commentElement: HTMLElement | null;
|
|
1037
|
-
isFocused: boolean;
|
|
1038
|
-
creatorId: string | null;
|
|
1039
|
-
creatorEmail: string | null;
|
|
1040
|
-
creatorName: string | null;
|
|
1041
|
-
creatorImage: string | null;
|
|
1042
|
-
createdTime: number;
|
|
1043
|
-
isInternal: boolean;
|
|
1044
|
-
commentText: string;
|
|
1045
|
-
selection: {
|
|
1046
|
-
documentId: any;
|
|
1047
|
-
page: any;
|
|
1048
|
-
selectionBounds: any;
|
|
1049
|
-
getValues: () => {
|
|
1050
|
-
documentId: any;
|
|
1051
|
-
page: any;
|
|
1052
|
-
selectionBounds: any;
|
|
1053
|
-
source: any;
|
|
1054
|
-
};
|
|
1055
|
-
getContainerId: () => string;
|
|
1056
|
-
getContainerLocation: (parentContainer: any) => {
|
|
1057
|
-
top: number;
|
|
1058
|
-
left: number;
|
|
1059
|
-
};
|
|
1060
|
-
source: any;
|
|
1061
|
-
};
|
|
1062
|
-
floatingPosition: {
|
|
1063
|
-
top?: number | undefined;
|
|
1064
|
-
left?: number | undefined;
|
|
1065
|
-
right?: number | undefined;
|
|
1066
|
-
bottom?: number | undefined;
|
|
1067
|
-
};
|
|
1068
|
-
trackedChange: boolean | undefined;
|
|
1069
|
-
deletedText: string | null;
|
|
1070
|
-
trackedChangeType: string | null;
|
|
1071
|
-
trackedChangeText: string | null;
|
|
1072
|
-
trackedChangeDisplayType: string | null;
|
|
1073
|
-
semanticColorKey: string | null;
|
|
1074
|
-
semanticColor: string | null;
|
|
1075
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1076
|
-
trackedChangeStoryKind: string | null;
|
|
1077
|
-
trackedChangeStoryLabel: string;
|
|
1078
|
-
trackedChangeAnchorKey: string | null;
|
|
1079
|
-
trackedChangeCanonicalId: string | null;
|
|
1080
|
-
trackedChangePositionAliases: string[];
|
|
1081
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1082
|
-
trackedChangeLabel: string | null;
|
|
1083
|
-
trackedChangeDetailLines: {
|
|
1084
|
-
excerpt: string;
|
|
1085
|
-
label: string;
|
|
1086
|
-
}[] | null;
|
|
1087
|
-
trackedChangeImagePreview: {
|
|
1088
|
-
src: string;
|
|
1089
|
-
contentType: string;
|
|
1090
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1091
|
-
partUri?: string | undefined;
|
|
1092
|
-
relationshipId?: string | undefined;
|
|
1093
|
-
width?: number | undefined;
|
|
1094
|
-
height?: number | undefined;
|
|
1095
|
-
alt?: string | undefined;
|
|
1096
|
-
} | null;
|
|
1097
|
-
customAttributes: readonly {
|
|
1098
|
-
name: string;
|
|
1099
|
-
namespaceUri: string;
|
|
1100
|
-
localName: string;
|
|
1101
|
-
value: string;
|
|
1102
|
-
}[] | null;
|
|
1103
|
-
resolvedTime: number | null;
|
|
1104
|
-
resolvedById: string | null;
|
|
1105
|
-
resolvedByEmail: string | null | undefined;
|
|
1106
|
-
resolvedByName: string | null | undefined;
|
|
1107
|
-
importedAuthor: {
|
|
1108
|
-
name?: string | null | undefined;
|
|
1109
|
-
email?: string | null | undefined;
|
|
1110
|
-
} | null;
|
|
1111
|
-
docxCommentJSON: {} | null;
|
|
1112
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1113
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1114
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1115
|
-
threadingParentCommentId: string | null | undefined;
|
|
1116
|
-
originalXmlStructure: {
|
|
1117
|
-
hasCommentsExtended: boolean;
|
|
1118
|
-
hasCommentsExtensible: boolean;
|
|
1119
|
-
hasCommentsIds: boolean;
|
|
1120
|
-
} | undefined;
|
|
1121
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
1122
|
-
text: string;
|
|
1123
|
-
superdoc?: {
|
|
1124
|
-
emit: (event: "comments-update", payload: {
|
|
1125
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1126
|
-
changes?: {
|
|
1127
|
-
key: string;
|
|
1128
|
-
value: unknown;
|
|
1129
|
-
previousValue?: unknown;
|
|
1130
|
-
}[];
|
|
1131
|
-
comment: unknown;
|
|
1132
|
-
}) => unknown;
|
|
1133
|
-
commentsStore?: {
|
|
1134
|
-
getConfig?: {
|
|
1135
|
-
readOnly?: boolean;
|
|
1136
|
-
};
|
|
1137
|
-
};
|
|
1138
|
-
config?: {
|
|
1139
|
-
modules?: import('../../public/index.js').Modules;
|
|
1140
|
-
};
|
|
1141
|
-
};
|
|
1142
|
-
suppressUpdate: true;
|
|
1143
|
-
} | {
|
|
1144
|
-
text: string;
|
|
1145
|
-
superdoc: {
|
|
1146
|
-
emit: (event: "comments-update", payload: {
|
|
1147
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1148
|
-
changes?: {
|
|
1149
|
-
key: string;
|
|
1150
|
-
value: unknown;
|
|
1151
|
-
previousValue?: unknown;
|
|
1152
|
-
}[];
|
|
1153
|
-
comment: unknown;
|
|
1154
|
-
}) => unknown;
|
|
1155
|
-
commentsStore?: {
|
|
1156
|
-
getConfig?: {
|
|
1157
|
-
readOnly?: boolean;
|
|
1158
|
-
};
|
|
1159
|
-
};
|
|
1160
|
-
config?: {
|
|
1161
|
-
modules?: import('../../public/index.js').Modules;
|
|
1162
|
-
};
|
|
1163
|
-
};
|
|
1164
|
-
suppressUpdate?: false;
|
|
1165
|
-
}) => {
|
|
1166
|
-
ok: false;
|
|
1167
|
-
reason: "read-only-document";
|
|
1168
|
-
} | undefined;
|
|
1169
|
-
getValues: () => {
|
|
1170
|
-
uid: string | undefined;
|
|
1171
|
-
commentId: string | undefined;
|
|
1172
|
-
importedId: string | null | undefined;
|
|
1173
|
-
parentCommentId: string | null | undefined;
|
|
1174
|
-
trackedChangeParentId: string | null | undefined;
|
|
1175
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1176
|
-
trackedChangeSide: string | null | undefined;
|
|
1177
|
-
fileId: string | null | undefined;
|
|
1178
|
-
fileType: string | null | undefined;
|
|
1179
|
-
mentions: {
|
|
1180
|
-
name: string | null | undefined;
|
|
1181
|
-
email?: string | null | undefined;
|
|
1182
|
-
}[];
|
|
1183
|
-
createdAtVersionNumber: number | null | undefined;
|
|
1184
|
-
creatorId: string | null;
|
|
1185
|
-
creatorEmail: string | null;
|
|
1186
|
-
creatorName: string | null;
|
|
1187
|
-
creatorImage: string | null;
|
|
1188
|
-
createdTime: number;
|
|
1189
|
-
importedAuthor: {
|
|
1190
|
-
name?: string | null | undefined;
|
|
1191
|
-
email?: string | null | undefined;
|
|
1192
|
-
} | null;
|
|
1193
|
-
docxCommentJSON: {} | null;
|
|
1194
|
-
isInternal: boolean;
|
|
1195
|
-
commentText: string;
|
|
1196
|
-
selection: {
|
|
1197
|
-
documentId: any;
|
|
1198
|
-
page: any;
|
|
1199
|
-
selectionBounds: any;
|
|
1200
|
-
source: any;
|
|
1201
|
-
} | null;
|
|
1202
|
-
trackedChange: boolean | undefined;
|
|
1203
|
-
trackedChangeText: string | null;
|
|
1204
|
-
trackedChangeType: string | null;
|
|
1205
|
-
trackedChangeDisplayType: string | null;
|
|
1206
|
-
semanticColorKey: string | null;
|
|
1207
|
-
semanticColor: string | null;
|
|
1208
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1209
|
-
trackedChangeStoryKind: string | null;
|
|
1210
|
-
trackedChangeStoryLabel: string;
|
|
1211
|
-
trackedChangeAnchorKey: string | null;
|
|
1212
|
-
trackedChangeCanonicalId: string | null;
|
|
1213
|
-
trackedChangePositionAliases: string[];
|
|
1214
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1215
|
-
trackedChangeLabel: string | null;
|
|
1216
|
-
trackedChangeDetailLines: {
|
|
1217
|
-
excerpt: string;
|
|
1218
|
-
label: string;
|
|
1219
|
-
}[] | null;
|
|
1220
|
-
trackedChangeImagePreview: {
|
|
1221
|
-
src: string;
|
|
1222
|
-
contentType: string;
|
|
1223
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1224
|
-
partUri?: string | undefined;
|
|
1225
|
-
relationshipId?: string | undefined;
|
|
1226
|
-
width?: number | undefined;
|
|
1227
|
-
height?: number | undefined;
|
|
1228
|
-
alt?: string | undefined;
|
|
1229
|
-
} | null;
|
|
1230
|
-
customAttributes: readonly {
|
|
1231
|
-
name: string;
|
|
1232
|
-
namespaceUri: string;
|
|
1233
|
-
localName: string;
|
|
1234
|
-
value: string;
|
|
1235
|
-
}[] | null;
|
|
1236
|
-
deletedText: string | null;
|
|
1237
|
-
resolvedTime: number | null;
|
|
1238
|
-
resolvedById: string | null;
|
|
1239
|
-
resolvedByEmail: string | null | undefined;
|
|
1240
|
-
resolvedByName: string | null | undefined;
|
|
1241
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1242
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1243
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1244
|
-
threadingParentCommentId: string | null | undefined;
|
|
1245
|
-
originalXmlStructure: {
|
|
1246
|
-
hasCommentsExtended: boolean;
|
|
1247
|
-
hasCommentsExtensible: boolean;
|
|
1248
|
-
hasCommentsIds: boolean;
|
|
1249
|
-
} | undefined;
|
|
1250
|
-
};
|
|
1251
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
1252
|
-
id?: string | null;
|
|
1253
|
-
email?: string | null;
|
|
1254
|
-
name?: string | null;
|
|
1255
|
-
superdoc: {
|
|
1256
|
-
emit: (event: "comments-update", payload: {
|
|
1257
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1258
|
-
changes?: {
|
|
1259
|
-
key: string;
|
|
1260
|
-
value: unknown;
|
|
1261
|
-
previousValue?: unknown;
|
|
1262
|
-
}[];
|
|
1263
|
-
comment: unknown;
|
|
1264
|
-
}) => unknown;
|
|
1265
|
-
commentsStore?: {
|
|
1266
|
-
getConfig?: {
|
|
1267
|
-
readOnly?: boolean;
|
|
1268
|
-
};
|
|
1269
|
-
};
|
|
1270
|
-
config?: {
|
|
1271
|
-
modules?: import('../../public/index.js').Modules;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
decision?: "accept" | "reject";
|
|
1275
|
-
reconciliationToken?: symbol;
|
|
1276
|
-
}) => {
|
|
1277
|
-
ok: false;
|
|
1278
|
-
reason: "read-only-document";
|
|
1279
|
-
} | undefined;
|
|
1280
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
1281
|
-
isInternal: boolean;
|
|
1282
|
-
superdoc: {
|
|
1283
|
-
emit: (event: "comments-update", payload: {
|
|
1284
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1285
|
-
changes?: {
|
|
1286
|
-
key: string;
|
|
1287
|
-
value: unknown;
|
|
1288
|
-
previousValue?: unknown;
|
|
1289
|
-
}[];
|
|
1290
|
-
comment: unknown;
|
|
1291
|
-
}) => unknown;
|
|
1292
|
-
commentsStore?: {
|
|
1293
|
-
getConfig?: {
|
|
1294
|
-
readOnly?: boolean;
|
|
1295
|
-
};
|
|
1296
|
-
};
|
|
1297
|
-
config?: {
|
|
1298
|
-
modules?: import('../../public/index.js').Modules;
|
|
1299
|
-
};
|
|
1300
|
-
};
|
|
1301
|
-
}) => {
|
|
1302
|
-
ok: false;
|
|
1303
|
-
reason: "read-only-document";
|
|
1304
|
-
} | undefined;
|
|
1305
|
-
updatePosition: (coords: {
|
|
1306
|
-
top: number;
|
|
1307
|
-
left: number;
|
|
1308
|
-
right: number;
|
|
1309
|
-
bottom: number;
|
|
1310
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
1311
|
-
getCommentUser: () => {
|
|
1312
|
-
name: string;
|
|
1313
|
-
email: string | null | undefined;
|
|
1314
|
-
id?: undefined;
|
|
1315
|
-
image?: undefined;
|
|
1316
|
-
} | {
|
|
1317
|
-
id: string | null;
|
|
1318
|
-
name: string | null;
|
|
1319
|
-
email: string | null;
|
|
1320
|
-
image: string | null;
|
|
1321
|
-
};
|
|
1322
|
-
updateIdentityValues: (updates?: {
|
|
1323
|
-
commentId?: string;
|
|
1324
|
-
importedId?: string | null;
|
|
1325
|
-
parentCommentId?: string | null;
|
|
1326
|
-
trackedChangeParentId?: string | null;
|
|
1327
|
-
trackedChangeThreadParentId?: string | null;
|
|
1328
|
-
threadingParentCommentId?: string | null;
|
|
1329
|
-
}) => void;
|
|
1330
|
-
}[] | null>;
|
|
99
|
+
type: PropType<CommentModel[] | null>;
|
|
1331
100
|
default: null;
|
|
1332
101
|
};
|
|
1333
102
|
}>> & Readonly<{
|
|
@@ -1380,21 +149,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1380
149
|
isInternal: boolean;
|
|
1381
150
|
commentText: string;
|
|
1382
151
|
selection: {
|
|
1383
|
-
documentId:
|
|
1384
|
-
page:
|
|
1385
|
-
selectionBounds:
|
|
152
|
+
documentId: unknown;
|
|
153
|
+
page: number | undefined;
|
|
154
|
+
selectionBounds: {
|
|
155
|
+
top?: number | undefined;
|
|
156
|
+
left?: number | undefined;
|
|
157
|
+
right?: number | undefined;
|
|
158
|
+
bottom?: number | undefined;
|
|
159
|
+
};
|
|
1386
160
|
getValues: () => {
|
|
1387
|
-
documentId:
|
|
1388
|
-
page:
|
|
1389
|
-
selectionBounds:
|
|
1390
|
-
|
|
161
|
+
documentId: unknown;
|
|
162
|
+
page: number | undefined;
|
|
163
|
+
selectionBounds: {
|
|
164
|
+
top?: number;
|
|
165
|
+
left?: number;
|
|
166
|
+
right?: number;
|
|
167
|
+
bottom?: number;
|
|
168
|
+
};
|
|
169
|
+
source: string | null | undefined;
|
|
1391
170
|
};
|
|
1392
171
|
getContainerId: () => string;
|
|
1393
|
-
getContainerLocation: (parentContainer:
|
|
172
|
+
getContainerLocation: (parentContainer: Pick<Element, "getBoundingClientRect"> | null | undefined) => {
|
|
1394
173
|
top: number;
|
|
1395
174
|
left: number;
|
|
1396
175
|
};
|
|
1397
|
-
source:
|
|
176
|
+
source: string | null | undefined;
|
|
1398
177
|
};
|
|
1399
178
|
floatingPosition: {
|
|
1400
179
|
top?: number | undefined;
|
|
@@ -1531,10 +310,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1531
310
|
isInternal: boolean;
|
|
1532
311
|
commentText: string;
|
|
1533
312
|
selection: {
|
|
1534
|
-
documentId:
|
|
1535
|
-
page:
|
|
1536
|
-
selectionBounds:
|
|
1537
|
-
|
|
313
|
+
documentId: unknown;
|
|
314
|
+
page: number | undefined;
|
|
315
|
+
selectionBounds: {
|
|
316
|
+
top?: number;
|
|
317
|
+
left?: number;
|
|
318
|
+
right?: number;
|
|
319
|
+
bottom?: number;
|
|
320
|
+
};
|
|
321
|
+
source: string | null | undefined;
|
|
1538
322
|
} | null;
|
|
1539
323
|
trackedChange: boolean | undefined;
|
|
1540
324
|
trackedChangeText: string | null;
|
|
@@ -1693,315 +477,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1693
477
|
default: boolean;
|
|
1694
478
|
};
|
|
1695
479
|
comment: {
|
|
1696
|
-
type: PropType<
|
|
1697
|
-
uid: string | undefined;
|
|
1698
|
-
commentId: string;
|
|
1699
|
-
importedId: string | null | undefined;
|
|
1700
|
-
parentCommentId: string | null | undefined;
|
|
1701
|
-
trackedChangeParentId: string | null | undefined;
|
|
1702
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1703
|
-
trackedChangeSide: string | null | undefined;
|
|
1704
|
-
fileId: string | null | undefined;
|
|
1705
|
-
fileType: string | null | undefined;
|
|
1706
|
-
mentions: {
|
|
1707
|
-
name?: string | null | undefined;
|
|
1708
|
-
email?: string | null | undefined;
|
|
1709
|
-
}[];
|
|
1710
|
-
commentElement: HTMLElement | null;
|
|
1711
|
-
isFocused: boolean;
|
|
1712
|
-
creatorId: string | null;
|
|
1713
|
-
creatorEmail: string | null;
|
|
1714
|
-
creatorName: string | null;
|
|
1715
|
-
creatorImage: string | null;
|
|
1716
|
-
createdTime: number;
|
|
1717
|
-
isInternal: boolean;
|
|
1718
|
-
commentText: string;
|
|
1719
|
-
selection: {
|
|
1720
|
-
documentId: any;
|
|
1721
|
-
page: any;
|
|
1722
|
-
selectionBounds: any;
|
|
1723
|
-
getValues: () => {
|
|
1724
|
-
documentId: any;
|
|
1725
|
-
page: any;
|
|
1726
|
-
selectionBounds: any;
|
|
1727
|
-
source: any;
|
|
1728
|
-
};
|
|
1729
|
-
getContainerId: () => string;
|
|
1730
|
-
getContainerLocation: (parentContainer: any) => {
|
|
1731
|
-
top: number;
|
|
1732
|
-
left: number;
|
|
1733
|
-
};
|
|
1734
|
-
source: any;
|
|
1735
|
-
};
|
|
1736
|
-
floatingPosition: {
|
|
1737
|
-
top?: number | undefined;
|
|
1738
|
-
left?: number | undefined;
|
|
1739
|
-
right?: number | undefined;
|
|
1740
|
-
bottom?: number | undefined;
|
|
1741
|
-
};
|
|
1742
|
-
trackedChange: boolean | undefined;
|
|
1743
|
-
deletedText: string | null;
|
|
1744
|
-
trackedChangeType: string | null;
|
|
1745
|
-
trackedChangeText: string | null;
|
|
1746
|
-
trackedChangeDisplayType: string | null;
|
|
1747
|
-
semanticColorKey: string | null;
|
|
1748
|
-
semanticColor: string | null;
|
|
1749
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1750
|
-
trackedChangeStoryKind: string | null;
|
|
1751
|
-
trackedChangeStoryLabel: string;
|
|
1752
|
-
trackedChangeAnchorKey: string | null;
|
|
1753
|
-
trackedChangeCanonicalId: string | null;
|
|
1754
|
-
trackedChangePositionAliases: string[];
|
|
1755
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1756
|
-
trackedChangeLabel: string | null;
|
|
1757
|
-
trackedChangeDetailLines: {
|
|
1758
|
-
excerpt: string;
|
|
1759
|
-
label: string;
|
|
1760
|
-
}[] | null;
|
|
1761
|
-
trackedChangeImagePreview: {
|
|
1762
|
-
src: string;
|
|
1763
|
-
contentType: string;
|
|
1764
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1765
|
-
partUri?: string | undefined;
|
|
1766
|
-
relationshipId?: string | undefined;
|
|
1767
|
-
width?: number | undefined;
|
|
1768
|
-
height?: number | undefined;
|
|
1769
|
-
alt?: string | undefined;
|
|
1770
|
-
} | null;
|
|
1771
|
-
customAttributes: readonly {
|
|
1772
|
-
name: string;
|
|
1773
|
-
namespaceUri: string;
|
|
1774
|
-
localName: string;
|
|
1775
|
-
value: string;
|
|
1776
|
-
}[] | null;
|
|
1777
|
-
resolvedTime: number | null;
|
|
1778
|
-
resolvedById: string | null;
|
|
1779
|
-
resolvedByEmail: string | null | undefined;
|
|
1780
|
-
resolvedByName: string | null | undefined;
|
|
1781
|
-
importedAuthor: {
|
|
1782
|
-
name?: string | null | undefined;
|
|
1783
|
-
email?: string | null | undefined;
|
|
1784
|
-
} | null;
|
|
1785
|
-
docxCommentJSON: {} | null;
|
|
1786
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1787
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1788
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1789
|
-
threadingParentCommentId: string | null | undefined;
|
|
1790
|
-
originalXmlStructure: {
|
|
1791
|
-
hasCommentsExtended: boolean;
|
|
1792
|
-
hasCommentsExtensible: boolean;
|
|
1793
|
-
hasCommentsIds: boolean;
|
|
1794
|
-
} | undefined;
|
|
1795
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
1796
|
-
text: string;
|
|
1797
|
-
superdoc?: {
|
|
1798
|
-
emit: (event: "comments-update", payload: {
|
|
1799
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1800
|
-
changes?: {
|
|
1801
|
-
key: string;
|
|
1802
|
-
value: unknown;
|
|
1803
|
-
previousValue?: unknown;
|
|
1804
|
-
}[];
|
|
1805
|
-
comment: unknown;
|
|
1806
|
-
}) => unknown;
|
|
1807
|
-
commentsStore?: {
|
|
1808
|
-
getConfig?: {
|
|
1809
|
-
readOnly?: boolean;
|
|
1810
|
-
};
|
|
1811
|
-
};
|
|
1812
|
-
config?: {
|
|
1813
|
-
modules?: import('../../public/index.js').Modules;
|
|
1814
|
-
};
|
|
1815
|
-
};
|
|
1816
|
-
suppressUpdate: true;
|
|
1817
|
-
} | {
|
|
1818
|
-
text: string;
|
|
1819
|
-
superdoc: {
|
|
1820
|
-
emit: (event: "comments-update", payload: {
|
|
1821
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1822
|
-
changes?: {
|
|
1823
|
-
key: string;
|
|
1824
|
-
value: unknown;
|
|
1825
|
-
previousValue?: unknown;
|
|
1826
|
-
}[];
|
|
1827
|
-
comment: unknown;
|
|
1828
|
-
}) => unknown;
|
|
1829
|
-
commentsStore?: {
|
|
1830
|
-
getConfig?: {
|
|
1831
|
-
readOnly?: boolean;
|
|
1832
|
-
};
|
|
1833
|
-
};
|
|
1834
|
-
config?: {
|
|
1835
|
-
modules?: import('../../public/index.js').Modules;
|
|
1836
|
-
};
|
|
1837
|
-
};
|
|
1838
|
-
suppressUpdate?: false;
|
|
1839
|
-
}) => {
|
|
1840
|
-
ok: false;
|
|
1841
|
-
reason: "read-only-document";
|
|
1842
|
-
} | undefined;
|
|
1843
|
-
getValues: () => {
|
|
1844
|
-
uid: string | undefined;
|
|
1845
|
-
commentId: string | undefined;
|
|
1846
|
-
importedId: string | null | undefined;
|
|
1847
|
-
parentCommentId: string | null | undefined;
|
|
1848
|
-
trackedChangeParentId: string | null | undefined;
|
|
1849
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1850
|
-
trackedChangeSide: string | null | undefined;
|
|
1851
|
-
fileId: string | null | undefined;
|
|
1852
|
-
fileType: string | null | undefined;
|
|
1853
|
-
mentions: {
|
|
1854
|
-
name: string | null | undefined;
|
|
1855
|
-
email?: string | null | undefined;
|
|
1856
|
-
}[];
|
|
1857
|
-
createdAtVersionNumber: number | null | undefined;
|
|
1858
|
-
creatorId: string | null;
|
|
1859
|
-
creatorEmail: string | null;
|
|
1860
|
-
creatorName: string | null;
|
|
1861
|
-
creatorImage: string | null;
|
|
1862
|
-
createdTime: number;
|
|
1863
|
-
importedAuthor: {
|
|
1864
|
-
name?: string | null | undefined;
|
|
1865
|
-
email?: string | null | undefined;
|
|
1866
|
-
} | null;
|
|
1867
|
-
docxCommentJSON: {} | null;
|
|
1868
|
-
isInternal: boolean;
|
|
1869
|
-
commentText: string;
|
|
1870
|
-
selection: {
|
|
1871
|
-
documentId: any;
|
|
1872
|
-
page: any;
|
|
1873
|
-
selectionBounds: any;
|
|
1874
|
-
source: any;
|
|
1875
|
-
} | null;
|
|
1876
|
-
trackedChange: boolean | undefined;
|
|
1877
|
-
trackedChangeText: string | null;
|
|
1878
|
-
trackedChangeType: string | null;
|
|
1879
|
-
trackedChangeDisplayType: string | null;
|
|
1880
|
-
semanticColorKey: string | null;
|
|
1881
|
-
semanticColor: string | null;
|
|
1882
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1883
|
-
trackedChangeStoryKind: string | null;
|
|
1884
|
-
trackedChangeStoryLabel: string;
|
|
1885
|
-
trackedChangeAnchorKey: string | null;
|
|
1886
|
-
trackedChangeCanonicalId: string | null;
|
|
1887
|
-
trackedChangePositionAliases: string[];
|
|
1888
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1889
|
-
trackedChangeLabel: string | null;
|
|
1890
|
-
trackedChangeDetailLines: {
|
|
1891
|
-
excerpt: string;
|
|
1892
|
-
label: string;
|
|
1893
|
-
}[] | null;
|
|
1894
|
-
trackedChangeImagePreview: {
|
|
1895
|
-
src: string;
|
|
1896
|
-
contentType: string;
|
|
1897
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1898
|
-
partUri?: string | undefined;
|
|
1899
|
-
relationshipId?: string | undefined;
|
|
1900
|
-
width?: number | undefined;
|
|
1901
|
-
height?: number | undefined;
|
|
1902
|
-
alt?: string | undefined;
|
|
1903
|
-
} | null;
|
|
1904
|
-
customAttributes: readonly {
|
|
1905
|
-
name: string;
|
|
1906
|
-
namespaceUri: string;
|
|
1907
|
-
localName: string;
|
|
1908
|
-
value: string;
|
|
1909
|
-
}[] | null;
|
|
1910
|
-
deletedText: string | null;
|
|
1911
|
-
resolvedTime: number | null;
|
|
1912
|
-
resolvedById: string | null;
|
|
1913
|
-
resolvedByEmail: string | null | undefined;
|
|
1914
|
-
resolvedByName: string | null | undefined;
|
|
1915
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1916
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1917
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1918
|
-
threadingParentCommentId: string | null | undefined;
|
|
1919
|
-
originalXmlStructure: {
|
|
1920
|
-
hasCommentsExtended: boolean;
|
|
1921
|
-
hasCommentsExtensible: boolean;
|
|
1922
|
-
hasCommentsIds: boolean;
|
|
1923
|
-
} | undefined;
|
|
1924
|
-
};
|
|
1925
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
1926
|
-
id?: string | null;
|
|
1927
|
-
email?: string | null;
|
|
1928
|
-
name?: string | null;
|
|
1929
|
-
superdoc: {
|
|
1930
|
-
emit: (event: "comments-update", payload: {
|
|
1931
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1932
|
-
changes?: {
|
|
1933
|
-
key: string;
|
|
1934
|
-
value: unknown;
|
|
1935
|
-
previousValue?: unknown;
|
|
1936
|
-
}[];
|
|
1937
|
-
comment: unknown;
|
|
1938
|
-
}) => unknown;
|
|
1939
|
-
commentsStore?: {
|
|
1940
|
-
getConfig?: {
|
|
1941
|
-
readOnly?: boolean;
|
|
1942
|
-
};
|
|
1943
|
-
};
|
|
1944
|
-
config?: {
|
|
1945
|
-
modules?: import('../../public/index.js').Modules;
|
|
1946
|
-
};
|
|
1947
|
-
};
|
|
1948
|
-
decision?: "accept" | "reject";
|
|
1949
|
-
reconciliationToken?: symbol;
|
|
1950
|
-
}) => {
|
|
1951
|
-
ok: false;
|
|
1952
|
-
reason: "read-only-document";
|
|
1953
|
-
} | undefined;
|
|
1954
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
1955
|
-
isInternal: boolean;
|
|
1956
|
-
superdoc: {
|
|
1957
|
-
emit: (event: "comments-update", payload: {
|
|
1958
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1959
|
-
changes?: {
|
|
1960
|
-
key: string;
|
|
1961
|
-
value: unknown;
|
|
1962
|
-
previousValue?: unknown;
|
|
1963
|
-
}[];
|
|
1964
|
-
comment: unknown;
|
|
1965
|
-
}) => unknown;
|
|
1966
|
-
commentsStore?: {
|
|
1967
|
-
getConfig?: {
|
|
1968
|
-
readOnly?: boolean;
|
|
1969
|
-
};
|
|
1970
|
-
};
|
|
1971
|
-
config?: {
|
|
1972
|
-
modules?: import('../../public/index.js').Modules;
|
|
1973
|
-
};
|
|
1974
|
-
};
|
|
1975
|
-
}) => {
|
|
1976
|
-
ok: false;
|
|
1977
|
-
reason: "read-only-document";
|
|
1978
|
-
} | undefined;
|
|
1979
|
-
updatePosition: (coords: {
|
|
1980
|
-
top: number;
|
|
1981
|
-
left: number;
|
|
1982
|
-
right: number;
|
|
1983
|
-
bottom: number;
|
|
1984
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
1985
|
-
getCommentUser: () => {
|
|
1986
|
-
name: string;
|
|
1987
|
-
email: string | null | undefined;
|
|
1988
|
-
id?: undefined;
|
|
1989
|
-
image?: undefined;
|
|
1990
|
-
} | {
|
|
1991
|
-
id: string | null;
|
|
1992
|
-
name: string | null;
|
|
1993
|
-
email: string | null;
|
|
1994
|
-
image: string | null;
|
|
1995
|
-
};
|
|
1996
|
-
updateIdentityValues: (updates?: {
|
|
1997
|
-
commentId?: string;
|
|
1998
|
-
importedId?: string | null;
|
|
1999
|
-
parentCommentId?: string | null;
|
|
2000
|
-
trackedChangeParentId?: string | null;
|
|
2001
|
-
trackedChangeThreadParentId?: string | null;
|
|
2002
|
-
threadingParentCommentId?: string | null;
|
|
2003
|
-
}) => void;
|
|
2004
|
-
}>;
|
|
480
|
+
type: PropType<CommentModel>;
|
|
2005
481
|
required: true;
|
|
2006
482
|
};
|
|
2007
483
|
}>> & Readonly<{
|
|
@@ -2053,315 +529,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
2053
529
|
default: boolean;
|
|
2054
530
|
};
|
|
2055
531
|
comment: {
|
|
2056
|
-
type: PropType<
|
|
2057
|
-
uid: string | undefined;
|
|
2058
|
-
commentId: string;
|
|
2059
|
-
importedId: string | null | undefined;
|
|
2060
|
-
parentCommentId: string | null | undefined;
|
|
2061
|
-
trackedChangeParentId: string | null | undefined;
|
|
2062
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
2063
|
-
trackedChangeSide: string | null | undefined;
|
|
2064
|
-
fileId: string | null | undefined;
|
|
2065
|
-
fileType: string | null | undefined;
|
|
2066
|
-
mentions: {
|
|
2067
|
-
name?: string | null | undefined;
|
|
2068
|
-
email?: string | null | undefined;
|
|
2069
|
-
}[];
|
|
2070
|
-
commentElement: HTMLElement | null;
|
|
2071
|
-
isFocused: boolean;
|
|
2072
|
-
creatorId: string | null;
|
|
2073
|
-
creatorEmail: string | null;
|
|
2074
|
-
creatorName: string | null;
|
|
2075
|
-
creatorImage: string | null;
|
|
2076
|
-
createdTime: number;
|
|
2077
|
-
isInternal: boolean;
|
|
2078
|
-
commentText: string;
|
|
2079
|
-
selection: {
|
|
2080
|
-
documentId: any;
|
|
2081
|
-
page: any;
|
|
2082
|
-
selectionBounds: any;
|
|
2083
|
-
getValues: () => {
|
|
2084
|
-
documentId: any;
|
|
2085
|
-
page: any;
|
|
2086
|
-
selectionBounds: any;
|
|
2087
|
-
source: any;
|
|
2088
|
-
};
|
|
2089
|
-
getContainerId: () => string;
|
|
2090
|
-
getContainerLocation: (parentContainer: any) => {
|
|
2091
|
-
top: number;
|
|
2092
|
-
left: number;
|
|
2093
|
-
};
|
|
2094
|
-
source: any;
|
|
2095
|
-
};
|
|
2096
|
-
floatingPosition: {
|
|
2097
|
-
top?: number | undefined;
|
|
2098
|
-
left?: number | undefined;
|
|
2099
|
-
right?: number | undefined;
|
|
2100
|
-
bottom?: number | undefined;
|
|
2101
|
-
};
|
|
2102
|
-
trackedChange: boolean | undefined;
|
|
2103
|
-
deletedText: string | null;
|
|
2104
|
-
trackedChangeType: string | null;
|
|
2105
|
-
trackedChangeText: string | null;
|
|
2106
|
-
trackedChangeDisplayType: string | null;
|
|
2107
|
-
semanticColorKey: string | null;
|
|
2108
|
-
semanticColor: string | null;
|
|
2109
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
2110
|
-
trackedChangeStoryKind: string | null;
|
|
2111
|
-
trackedChangeStoryLabel: string;
|
|
2112
|
-
trackedChangeAnchorKey: string | null;
|
|
2113
|
-
trackedChangeCanonicalId: string | null;
|
|
2114
|
-
trackedChangePositionAliases: string[];
|
|
2115
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
2116
|
-
trackedChangeLabel: string | null;
|
|
2117
|
-
trackedChangeDetailLines: {
|
|
2118
|
-
excerpt: string;
|
|
2119
|
-
label: string;
|
|
2120
|
-
}[] | null;
|
|
2121
|
-
trackedChangeImagePreview: {
|
|
2122
|
-
src: string;
|
|
2123
|
-
contentType: string;
|
|
2124
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
2125
|
-
partUri?: string | undefined;
|
|
2126
|
-
relationshipId?: string | undefined;
|
|
2127
|
-
width?: number | undefined;
|
|
2128
|
-
height?: number | undefined;
|
|
2129
|
-
alt?: string | undefined;
|
|
2130
|
-
} | null;
|
|
2131
|
-
customAttributes: readonly {
|
|
2132
|
-
name: string;
|
|
2133
|
-
namespaceUri: string;
|
|
2134
|
-
localName: string;
|
|
2135
|
-
value: string;
|
|
2136
|
-
}[] | null;
|
|
2137
|
-
resolvedTime: number | null;
|
|
2138
|
-
resolvedById: string | null;
|
|
2139
|
-
resolvedByEmail: string | null | undefined;
|
|
2140
|
-
resolvedByName: string | null | undefined;
|
|
2141
|
-
importedAuthor: {
|
|
2142
|
-
name?: string | null | undefined;
|
|
2143
|
-
email?: string | null | undefined;
|
|
2144
|
-
} | null;
|
|
2145
|
-
docxCommentJSON: {} | null;
|
|
2146
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
2147
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
2148
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
2149
|
-
threadingParentCommentId: string | null | undefined;
|
|
2150
|
-
originalXmlStructure: {
|
|
2151
|
-
hasCommentsExtended: boolean;
|
|
2152
|
-
hasCommentsExtensible: boolean;
|
|
2153
|
-
hasCommentsIds: boolean;
|
|
2154
|
-
} | undefined;
|
|
2155
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
2156
|
-
text: string;
|
|
2157
|
-
superdoc?: {
|
|
2158
|
-
emit: (event: "comments-update", payload: {
|
|
2159
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
2160
|
-
changes?: {
|
|
2161
|
-
key: string;
|
|
2162
|
-
value: unknown;
|
|
2163
|
-
previousValue?: unknown;
|
|
2164
|
-
}[];
|
|
2165
|
-
comment: unknown;
|
|
2166
|
-
}) => unknown;
|
|
2167
|
-
commentsStore?: {
|
|
2168
|
-
getConfig?: {
|
|
2169
|
-
readOnly?: boolean;
|
|
2170
|
-
};
|
|
2171
|
-
};
|
|
2172
|
-
config?: {
|
|
2173
|
-
modules?: import('../../public/index.js').Modules;
|
|
2174
|
-
};
|
|
2175
|
-
};
|
|
2176
|
-
suppressUpdate: true;
|
|
2177
|
-
} | {
|
|
2178
|
-
text: string;
|
|
2179
|
-
superdoc: {
|
|
2180
|
-
emit: (event: "comments-update", payload: {
|
|
2181
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
2182
|
-
changes?: {
|
|
2183
|
-
key: string;
|
|
2184
|
-
value: unknown;
|
|
2185
|
-
previousValue?: unknown;
|
|
2186
|
-
}[];
|
|
2187
|
-
comment: unknown;
|
|
2188
|
-
}) => unknown;
|
|
2189
|
-
commentsStore?: {
|
|
2190
|
-
getConfig?: {
|
|
2191
|
-
readOnly?: boolean;
|
|
2192
|
-
};
|
|
2193
|
-
};
|
|
2194
|
-
config?: {
|
|
2195
|
-
modules?: import('../../public/index.js').Modules;
|
|
2196
|
-
};
|
|
2197
|
-
};
|
|
2198
|
-
suppressUpdate?: false;
|
|
2199
|
-
}) => {
|
|
2200
|
-
ok: false;
|
|
2201
|
-
reason: "read-only-document";
|
|
2202
|
-
} | undefined;
|
|
2203
|
-
getValues: () => {
|
|
2204
|
-
uid: string | undefined;
|
|
2205
|
-
commentId: string | undefined;
|
|
2206
|
-
importedId: string | null | undefined;
|
|
2207
|
-
parentCommentId: string | null | undefined;
|
|
2208
|
-
trackedChangeParentId: string | null | undefined;
|
|
2209
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
2210
|
-
trackedChangeSide: string | null | undefined;
|
|
2211
|
-
fileId: string | null | undefined;
|
|
2212
|
-
fileType: string | null | undefined;
|
|
2213
|
-
mentions: {
|
|
2214
|
-
name: string | null | undefined;
|
|
2215
|
-
email?: string | null | undefined;
|
|
2216
|
-
}[];
|
|
2217
|
-
createdAtVersionNumber: number | null | undefined;
|
|
2218
|
-
creatorId: string | null;
|
|
2219
|
-
creatorEmail: string | null;
|
|
2220
|
-
creatorName: string | null;
|
|
2221
|
-
creatorImage: string | null;
|
|
2222
|
-
createdTime: number;
|
|
2223
|
-
importedAuthor: {
|
|
2224
|
-
name?: string | null | undefined;
|
|
2225
|
-
email?: string | null | undefined;
|
|
2226
|
-
} | null;
|
|
2227
|
-
docxCommentJSON: {} | null;
|
|
2228
|
-
isInternal: boolean;
|
|
2229
|
-
commentText: string;
|
|
2230
|
-
selection: {
|
|
2231
|
-
documentId: any;
|
|
2232
|
-
page: any;
|
|
2233
|
-
selectionBounds: any;
|
|
2234
|
-
source: any;
|
|
2235
|
-
} | null;
|
|
2236
|
-
trackedChange: boolean | undefined;
|
|
2237
|
-
trackedChangeText: string | null;
|
|
2238
|
-
trackedChangeType: string | null;
|
|
2239
|
-
trackedChangeDisplayType: string | null;
|
|
2240
|
-
semanticColorKey: string | null;
|
|
2241
|
-
semanticColor: string | null;
|
|
2242
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
2243
|
-
trackedChangeStoryKind: string | null;
|
|
2244
|
-
trackedChangeStoryLabel: string;
|
|
2245
|
-
trackedChangeAnchorKey: string | null;
|
|
2246
|
-
trackedChangeCanonicalId: string | null;
|
|
2247
|
-
trackedChangePositionAliases: string[];
|
|
2248
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
2249
|
-
trackedChangeLabel: string | null;
|
|
2250
|
-
trackedChangeDetailLines: {
|
|
2251
|
-
excerpt: string;
|
|
2252
|
-
label: string;
|
|
2253
|
-
}[] | null;
|
|
2254
|
-
trackedChangeImagePreview: {
|
|
2255
|
-
src: string;
|
|
2256
|
-
contentType: string;
|
|
2257
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
2258
|
-
partUri?: string | undefined;
|
|
2259
|
-
relationshipId?: string | undefined;
|
|
2260
|
-
width?: number | undefined;
|
|
2261
|
-
height?: number | undefined;
|
|
2262
|
-
alt?: string | undefined;
|
|
2263
|
-
} | null;
|
|
2264
|
-
customAttributes: readonly {
|
|
2265
|
-
name: string;
|
|
2266
|
-
namespaceUri: string;
|
|
2267
|
-
localName: string;
|
|
2268
|
-
value: string;
|
|
2269
|
-
}[] | null;
|
|
2270
|
-
deletedText: string | null;
|
|
2271
|
-
resolvedTime: number | null;
|
|
2272
|
-
resolvedById: string | null;
|
|
2273
|
-
resolvedByEmail: string | null | undefined;
|
|
2274
|
-
resolvedByName: string | null | undefined;
|
|
2275
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
2276
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
2277
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
2278
|
-
threadingParentCommentId: string | null | undefined;
|
|
2279
|
-
originalXmlStructure: {
|
|
2280
|
-
hasCommentsExtended: boolean;
|
|
2281
|
-
hasCommentsExtensible: boolean;
|
|
2282
|
-
hasCommentsIds: boolean;
|
|
2283
|
-
} | undefined;
|
|
2284
|
-
};
|
|
2285
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
2286
|
-
id?: string | null;
|
|
2287
|
-
email?: string | null;
|
|
2288
|
-
name?: string | null;
|
|
2289
|
-
superdoc: {
|
|
2290
|
-
emit: (event: "comments-update", payload: {
|
|
2291
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
2292
|
-
changes?: {
|
|
2293
|
-
key: string;
|
|
2294
|
-
value: unknown;
|
|
2295
|
-
previousValue?: unknown;
|
|
2296
|
-
}[];
|
|
2297
|
-
comment: unknown;
|
|
2298
|
-
}) => unknown;
|
|
2299
|
-
commentsStore?: {
|
|
2300
|
-
getConfig?: {
|
|
2301
|
-
readOnly?: boolean;
|
|
2302
|
-
};
|
|
2303
|
-
};
|
|
2304
|
-
config?: {
|
|
2305
|
-
modules?: import('../../public/index.js').Modules;
|
|
2306
|
-
};
|
|
2307
|
-
};
|
|
2308
|
-
decision?: "accept" | "reject";
|
|
2309
|
-
reconciliationToken?: symbol;
|
|
2310
|
-
}) => {
|
|
2311
|
-
ok: false;
|
|
2312
|
-
reason: "read-only-document";
|
|
2313
|
-
} | undefined;
|
|
2314
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
2315
|
-
isInternal: boolean;
|
|
2316
|
-
superdoc: {
|
|
2317
|
-
emit: (event: "comments-update", payload: {
|
|
2318
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
2319
|
-
changes?: {
|
|
2320
|
-
key: string;
|
|
2321
|
-
value: unknown;
|
|
2322
|
-
previousValue?: unknown;
|
|
2323
|
-
}[];
|
|
2324
|
-
comment: unknown;
|
|
2325
|
-
}) => unknown;
|
|
2326
|
-
commentsStore?: {
|
|
2327
|
-
getConfig?: {
|
|
2328
|
-
readOnly?: boolean;
|
|
2329
|
-
};
|
|
2330
|
-
};
|
|
2331
|
-
config?: {
|
|
2332
|
-
modules?: import('../../public/index.js').Modules;
|
|
2333
|
-
};
|
|
2334
|
-
};
|
|
2335
|
-
}) => {
|
|
2336
|
-
ok: false;
|
|
2337
|
-
reason: "read-only-document";
|
|
2338
|
-
} | undefined;
|
|
2339
|
-
updatePosition: (coords: {
|
|
2340
|
-
top: number;
|
|
2341
|
-
left: number;
|
|
2342
|
-
right: number;
|
|
2343
|
-
bottom: number;
|
|
2344
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
2345
|
-
getCommentUser: () => {
|
|
2346
|
-
name: string;
|
|
2347
|
-
email: string | null | undefined;
|
|
2348
|
-
id?: undefined;
|
|
2349
|
-
image?: undefined;
|
|
2350
|
-
} | {
|
|
2351
|
-
id: string | null;
|
|
2352
|
-
name: string | null;
|
|
2353
|
-
email: string | null;
|
|
2354
|
-
image: string | null;
|
|
2355
|
-
};
|
|
2356
|
-
updateIdentityValues: (updates?: {
|
|
2357
|
-
commentId?: string;
|
|
2358
|
-
importedId?: string | null;
|
|
2359
|
-
parentCommentId?: string | null;
|
|
2360
|
-
trackedChangeParentId?: string | null;
|
|
2361
|
-
trackedChangeThreadParentId?: string | null;
|
|
2362
|
-
threadingParentCommentId?: string | null;
|
|
2363
|
-
}) => void;
|
|
2364
|
-
}>;
|
|
532
|
+
type: PropType<CommentModel>;
|
|
2365
533
|
required: true;
|
|
2366
534
|
};
|
|
2367
535
|
}>> & Readonly<{
|