superdoc 2.29.0-next.1 → 2.29.0-next.13
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-Duf65d0b.es.js → create-super-doc-ui-DdT4b29f.es.js} +41 -66
- package/dist/chunks/{create-super-doc-ui-0OA8hCNb.cjs → create-super-doc-ui-_SbygYQ4.cjs} +46 -65
- 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/metadata-types.d.ts +1 -1
- package/dist/document-api/src/contract/operation-definitions.d.ts +3 -3
- 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/tables/tables.d.ts +2 -1
- package/dist/document-api/src/types/address.d.ts +3 -0
- package/dist/document-api/src/types/table-operations.types.d.ts +1 -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/layout-engine/contracts/src/index.d.ts +1 -1
- package/dist/layout-engine/contracts/src/paragraph-visible-text.d.ts +3 -1
- 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 +116 -1277
- package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +106 -22
- package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +74 -14
- package/dist/superdoc/src/components/CommentsLayer/CommentsDropdown.vue.d.ts +55 -20
- package/dist/superdoc/src/components/CommentsLayer/InternalDropdown.vue.d.ts +24 -8
- package/dist/superdoc/src/components/CommentsLayer/PdfCommentsLayer.vue.d.ts +5 -3
- package/dist/superdoc/src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue.d.ts +60 -12
- package/dist/superdoc/src/components/CommentsLayer/commentsList/commentsList.vue.d.ts +20 -6
- 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 +29 -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/general/Avatar.vue.d.ts +12 -5
- 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/components/surfaces/watermark-surface-runtime.d.ts +7 -7
- 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-comment-small-screen.d.ts +11 -7
- package/dist/superdoc/src/composables/use-compact-comment-popover.d.ts +44 -18
- 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/use-viewport-fit.d.ts +40 -26
- 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 +5 -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/helpers/v2-author-required-rejection.d.ts +8 -11
- package/dist/superdoc/src/helpers/v2-bulk-decision-event.d.ts +9 -7
- package/dist/superdoc/src/helpers/v2-keyboard-edit-rejection.d.ts +8 -7
- package/dist/superdoc/src/helpers/v2-mutation-exception.d.ts +12 -8
- package/dist/superdoc/src/helpers/v2-review-target.d.ts +11 -1
- package/dist/superdoc/src/helpers/v2-selection-sync.d.ts +40 -14
- package/dist/superdoc/src/helpers/v2-typing-mutation-event.d.ts +14 -5
- package/dist/superdoc/src/icons.d.ts +11 -11
- 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/format-painter-helpers.d.ts +2 -8
- 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 +1682 -2515
- package/dist/superdoc.es.js +1716 -2553
- 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
- package/dist/superdoc/src/main.d.ts +0 -1
|
@@ -1,315 +1,9 @@
|
|
|
1
1
|
import { PropType, Ref } from 'vue';
|
|
2
|
+
import { User } from '../../core/types/index.js';
|
|
3
|
+
import { CommentModel } from './use-comment.js';
|
|
2
4
|
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
5
|
comment: {
|
|
4
|
-
type: PropType<
|
|
5
|
-
uid: string | undefined;
|
|
6
|
-
commentId: string;
|
|
7
|
-
importedId: string | null | undefined;
|
|
8
|
-
parentCommentId: string | null | undefined;
|
|
9
|
-
trackedChangeParentId: string | null | undefined;
|
|
10
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
11
|
-
trackedChangeSide: string | null | undefined;
|
|
12
|
-
fileId: string | null | undefined;
|
|
13
|
-
fileType: string | null | undefined;
|
|
14
|
-
mentions: {
|
|
15
|
-
name?: string | null | undefined;
|
|
16
|
-
email?: string | null | undefined;
|
|
17
|
-
}[];
|
|
18
|
-
commentElement: HTMLElement | null;
|
|
19
|
-
isFocused: boolean;
|
|
20
|
-
creatorId: string | null;
|
|
21
|
-
creatorEmail: string | null;
|
|
22
|
-
creatorName: string | null;
|
|
23
|
-
creatorImage: string | null;
|
|
24
|
-
createdTime: number;
|
|
25
|
-
isInternal: boolean;
|
|
26
|
-
commentText: string;
|
|
27
|
-
selection: {
|
|
28
|
-
documentId: any;
|
|
29
|
-
page: any;
|
|
30
|
-
selectionBounds: any;
|
|
31
|
-
getValues: () => {
|
|
32
|
-
documentId: any;
|
|
33
|
-
page: any;
|
|
34
|
-
selectionBounds: any;
|
|
35
|
-
source: any;
|
|
36
|
-
};
|
|
37
|
-
getContainerId: () => string;
|
|
38
|
-
getContainerLocation: (parentContainer: any) => {
|
|
39
|
-
top: number;
|
|
40
|
-
left: number;
|
|
41
|
-
};
|
|
42
|
-
source: any;
|
|
43
|
-
};
|
|
44
|
-
floatingPosition: {
|
|
45
|
-
top?: number | undefined;
|
|
46
|
-
left?: number | undefined;
|
|
47
|
-
right?: number | undefined;
|
|
48
|
-
bottom?: number | undefined;
|
|
49
|
-
};
|
|
50
|
-
trackedChange: boolean | undefined;
|
|
51
|
-
deletedText: string | null;
|
|
52
|
-
trackedChangeType: string | null;
|
|
53
|
-
trackedChangeText: string | null;
|
|
54
|
-
trackedChangeDisplayType: string | null;
|
|
55
|
-
semanticColorKey: string | null;
|
|
56
|
-
semanticColor: string | null;
|
|
57
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
58
|
-
trackedChangeStoryKind: string | null;
|
|
59
|
-
trackedChangeStoryLabel: string;
|
|
60
|
-
trackedChangeAnchorKey: string | null;
|
|
61
|
-
trackedChangeCanonicalId: string | null;
|
|
62
|
-
trackedChangePositionAliases: string[];
|
|
63
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
64
|
-
trackedChangeLabel: string | null;
|
|
65
|
-
trackedChangeDetailLines: {
|
|
66
|
-
excerpt: string;
|
|
67
|
-
label: string;
|
|
68
|
-
}[] | null;
|
|
69
|
-
trackedChangeImagePreview: {
|
|
70
|
-
src: string;
|
|
71
|
-
contentType: string;
|
|
72
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
73
|
-
partUri?: string | undefined;
|
|
74
|
-
relationshipId?: string | undefined;
|
|
75
|
-
width?: number | undefined;
|
|
76
|
-
height?: number | undefined;
|
|
77
|
-
alt?: string | undefined;
|
|
78
|
-
} | null;
|
|
79
|
-
customAttributes: readonly {
|
|
80
|
-
name: string;
|
|
81
|
-
namespaceUri: string;
|
|
82
|
-
localName: string;
|
|
83
|
-
value: string;
|
|
84
|
-
}[] | null;
|
|
85
|
-
resolvedTime: number | null;
|
|
86
|
-
resolvedById: string | null;
|
|
87
|
-
resolvedByEmail: string | null | undefined;
|
|
88
|
-
resolvedByName: string | null | undefined;
|
|
89
|
-
importedAuthor: {
|
|
90
|
-
name?: string | null | undefined;
|
|
91
|
-
email?: string | null | undefined;
|
|
92
|
-
} | null;
|
|
93
|
-
docxCommentJSON: {} | null;
|
|
94
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
95
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
96
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
97
|
-
threadingParentCommentId: string | null | undefined;
|
|
98
|
-
originalXmlStructure: {
|
|
99
|
-
hasCommentsExtended: boolean;
|
|
100
|
-
hasCommentsExtensible: boolean;
|
|
101
|
-
hasCommentsIds: boolean;
|
|
102
|
-
} | undefined;
|
|
103
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
104
|
-
text: string;
|
|
105
|
-
superdoc?: {
|
|
106
|
-
emit: (event: "comments-update", payload: {
|
|
107
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
108
|
-
changes?: {
|
|
109
|
-
key: string;
|
|
110
|
-
value: unknown;
|
|
111
|
-
previousValue?: unknown;
|
|
112
|
-
}[];
|
|
113
|
-
comment: unknown;
|
|
114
|
-
}) => unknown;
|
|
115
|
-
commentsStore?: {
|
|
116
|
-
getConfig?: {
|
|
117
|
-
readOnly?: boolean;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
config?: {
|
|
121
|
-
modules?: import('../../public/index.js').Modules;
|
|
122
|
-
};
|
|
123
|
-
};
|
|
124
|
-
suppressUpdate: true;
|
|
125
|
-
} | {
|
|
126
|
-
text: string;
|
|
127
|
-
superdoc: {
|
|
128
|
-
emit: (event: "comments-update", payload: {
|
|
129
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
130
|
-
changes?: {
|
|
131
|
-
key: string;
|
|
132
|
-
value: unknown;
|
|
133
|
-
previousValue?: unknown;
|
|
134
|
-
}[];
|
|
135
|
-
comment: unknown;
|
|
136
|
-
}) => unknown;
|
|
137
|
-
commentsStore?: {
|
|
138
|
-
getConfig?: {
|
|
139
|
-
readOnly?: boolean;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
142
|
-
config?: {
|
|
143
|
-
modules?: import('../../public/index.js').Modules;
|
|
144
|
-
};
|
|
145
|
-
};
|
|
146
|
-
suppressUpdate?: false;
|
|
147
|
-
}) => {
|
|
148
|
-
ok: false;
|
|
149
|
-
reason: "read-only-document";
|
|
150
|
-
} | undefined;
|
|
151
|
-
getValues: () => {
|
|
152
|
-
uid: string | undefined;
|
|
153
|
-
commentId: string | undefined;
|
|
154
|
-
importedId: string | null | undefined;
|
|
155
|
-
parentCommentId: string | null | undefined;
|
|
156
|
-
trackedChangeParentId: string | null | undefined;
|
|
157
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
158
|
-
trackedChangeSide: string | null | undefined;
|
|
159
|
-
fileId: string | null | undefined;
|
|
160
|
-
fileType: string | null | undefined;
|
|
161
|
-
mentions: {
|
|
162
|
-
name: string | null | undefined;
|
|
163
|
-
email?: string | null | undefined;
|
|
164
|
-
}[];
|
|
165
|
-
createdAtVersionNumber: number | null | undefined;
|
|
166
|
-
creatorId: string | null;
|
|
167
|
-
creatorEmail: string | null;
|
|
168
|
-
creatorName: string | null;
|
|
169
|
-
creatorImage: string | null;
|
|
170
|
-
createdTime: number;
|
|
171
|
-
importedAuthor: {
|
|
172
|
-
name?: string | null | undefined;
|
|
173
|
-
email?: string | null | undefined;
|
|
174
|
-
} | null;
|
|
175
|
-
docxCommentJSON: {} | null;
|
|
176
|
-
isInternal: boolean;
|
|
177
|
-
commentText: string;
|
|
178
|
-
selection: {
|
|
179
|
-
documentId: any;
|
|
180
|
-
page: any;
|
|
181
|
-
selectionBounds: any;
|
|
182
|
-
source: any;
|
|
183
|
-
} | null;
|
|
184
|
-
trackedChange: boolean | undefined;
|
|
185
|
-
trackedChangeText: string | null;
|
|
186
|
-
trackedChangeType: string | null;
|
|
187
|
-
trackedChangeDisplayType: string | null;
|
|
188
|
-
semanticColorKey: string | null;
|
|
189
|
-
semanticColor: string | null;
|
|
190
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
191
|
-
trackedChangeStoryKind: string | null;
|
|
192
|
-
trackedChangeStoryLabel: string;
|
|
193
|
-
trackedChangeAnchorKey: string | null;
|
|
194
|
-
trackedChangeCanonicalId: string | null;
|
|
195
|
-
trackedChangePositionAliases: string[];
|
|
196
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
197
|
-
trackedChangeLabel: string | null;
|
|
198
|
-
trackedChangeDetailLines: {
|
|
199
|
-
excerpt: string;
|
|
200
|
-
label: string;
|
|
201
|
-
}[] | null;
|
|
202
|
-
trackedChangeImagePreview: {
|
|
203
|
-
src: string;
|
|
204
|
-
contentType: string;
|
|
205
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
206
|
-
partUri?: string | undefined;
|
|
207
|
-
relationshipId?: string | undefined;
|
|
208
|
-
width?: number | undefined;
|
|
209
|
-
height?: number | undefined;
|
|
210
|
-
alt?: string | undefined;
|
|
211
|
-
} | null;
|
|
212
|
-
customAttributes: readonly {
|
|
213
|
-
name: string;
|
|
214
|
-
namespaceUri: string;
|
|
215
|
-
localName: string;
|
|
216
|
-
value: string;
|
|
217
|
-
}[] | null;
|
|
218
|
-
deletedText: string | null;
|
|
219
|
-
resolvedTime: number | null;
|
|
220
|
-
resolvedById: string | null;
|
|
221
|
-
resolvedByEmail: string | null | undefined;
|
|
222
|
-
resolvedByName: string | null | undefined;
|
|
223
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
224
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
225
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
226
|
-
threadingParentCommentId: string | null | undefined;
|
|
227
|
-
originalXmlStructure: {
|
|
228
|
-
hasCommentsExtended: boolean;
|
|
229
|
-
hasCommentsExtensible: boolean;
|
|
230
|
-
hasCommentsIds: boolean;
|
|
231
|
-
} | undefined;
|
|
232
|
-
};
|
|
233
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
234
|
-
id?: string | null;
|
|
235
|
-
email?: string | null;
|
|
236
|
-
name?: string | null;
|
|
237
|
-
superdoc: {
|
|
238
|
-
emit: (event: "comments-update", payload: {
|
|
239
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
240
|
-
changes?: {
|
|
241
|
-
key: string;
|
|
242
|
-
value: unknown;
|
|
243
|
-
previousValue?: unknown;
|
|
244
|
-
}[];
|
|
245
|
-
comment: unknown;
|
|
246
|
-
}) => unknown;
|
|
247
|
-
commentsStore?: {
|
|
248
|
-
getConfig?: {
|
|
249
|
-
readOnly?: boolean;
|
|
250
|
-
};
|
|
251
|
-
};
|
|
252
|
-
config?: {
|
|
253
|
-
modules?: import('../../public/index.js').Modules;
|
|
254
|
-
};
|
|
255
|
-
};
|
|
256
|
-
decision?: "accept" | "reject";
|
|
257
|
-
reconciliationToken?: symbol;
|
|
258
|
-
}) => {
|
|
259
|
-
ok: false;
|
|
260
|
-
reason: "read-only-document";
|
|
261
|
-
} | undefined;
|
|
262
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
263
|
-
isInternal: boolean;
|
|
264
|
-
superdoc: {
|
|
265
|
-
emit: (event: "comments-update", payload: {
|
|
266
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
267
|
-
changes?: {
|
|
268
|
-
key: string;
|
|
269
|
-
value: unknown;
|
|
270
|
-
previousValue?: unknown;
|
|
271
|
-
}[];
|
|
272
|
-
comment: unknown;
|
|
273
|
-
}) => unknown;
|
|
274
|
-
commentsStore?: {
|
|
275
|
-
getConfig?: {
|
|
276
|
-
readOnly?: boolean;
|
|
277
|
-
};
|
|
278
|
-
};
|
|
279
|
-
config?: {
|
|
280
|
-
modules?: import('../../public/index.js').Modules;
|
|
281
|
-
};
|
|
282
|
-
};
|
|
283
|
-
}) => {
|
|
284
|
-
ok: false;
|
|
285
|
-
reason: "read-only-document";
|
|
286
|
-
} | undefined;
|
|
287
|
-
updatePosition: (coords: {
|
|
288
|
-
top: number;
|
|
289
|
-
left: number;
|
|
290
|
-
right: number;
|
|
291
|
-
bottom: number;
|
|
292
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
293
|
-
getCommentUser: () => {
|
|
294
|
-
name: string;
|
|
295
|
-
email: string | null | undefined;
|
|
296
|
-
id?: undefined;
|
|
297
|
-
image?: undefined;
|
|
298
|
-
} | {
|
|
299
|
-
id: string | null;
|
|
300
|
-
name: string | null;
|
|
301
|
-
email: string | null;
|
|
302
|
-
image: string | null;
|
|
303
|
-
};
|
|
304
|
-
updateIdentityValues: (updates?: {
|
|
305
|
-
commentId?: string;
|
|
306
|
-
importedId?: string | null;
|
|
307
|
-
parentCommentId?: string | null;
|
|
308
|
-
trackedChangeParentId?: string | null;
|
|
309
|
-
trackedChangeThreadParentId?: string | null;
|
|
310
|
-
threadingParentCommentId?: string | null;
|
|
311
|
-
}) => void;
|
|
312
|
-
}>;
|
|
6
|
+
type: PropType<CommentModel>;
|
|
313
7
|
required: true;
|
|
314
8
|
};
|
|
315
9
|
autoFocus: {
|
|
@@ -349,315 +43,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
349
43
|
default: undefined;
|
|
350
44
|
};
|
|
351
45
|
threadComments: {
|
|
352
|
-
type: PropType<
|
|
353
|
-
uid: string | undefined;
|
|
354
|
-
commentId: string;
|
|
355
|
-
importedId: string | null | undefined;
|
|
356
|
-
parentCommentId: string | null | undefined;
|
|
357
|
-
trackedChangeParentId: string | null | undefined;
|
|
358
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
359
|
-
trackedChangeSide: string | null | undefined;
|
|
360
|
-
fileId: string | null | undefined;
|
|
361
|
-
fileType: string | null | undefined;
|
|
362
|
-
mentions: {
|
|
363
|
-
name?: string | null | undefined;
|
|
364
|
-
email?: string | null | undefined;
|
|
365
|
-
}[];
|
|
366
|
-
commentElement: HTMLElement | null;
|
|
367
|
-
isFocused: boolean;
|
|
368
|
-
creatorId: string | null;
|
|
369
|
-
creatorEmail: string | null;
|
|
370
|
-
creatorName: string | null;
|
|
371
|
-
creatorImage: string | null;
|
|
372
|
-
createdTime: number;
|
|
373
|
-
isInternal: boolean;
|
|
374
|
-
commentText: string;
|
|
375
|
-
selection: {
|
|
376
|
-
documentId: any;
|
|
377
|
-
page: any;
|
|
378
|
-
selectionBounds: any;
|
|
379
|
-
getValues: () => {
|
|
380
|
-
documentId: any;
|
|
381
|
-
page: any;
|
|
382
|
-
selectionBounds: any;
|
|
383
|
-
source: any;
|
|
384
|
-
};
|
|
385
|
-
getContainerId: () => string;
|
|
386
|
-
getContainerLocation: (parentContainer: any) => {
|
|
387
|
-
top: number;
|
|
388
|
-
left: number;
|
|
389
|
-
};
|
|
390
|
-
source: any;
|
|
391
|
-
};
|
|
392
|
-
floatingPosition: {
|
|
393
|
-
top?: number | undefined;
|
|
394
|
-
left?: number | undefined;
|
|
395
|
-
right?: number | undefined;
|
|
396
|
-
bottom?: number | undefined;
|
|
397
|
-
};
|
|
398
|
-
trackedChange: boolean | undefined;
|
|
399
|
-
deletedText: string | null;
|
|
400
|
-
trackedChangeType: string | null;
|
|
401
|
-
trackedChangeText: string | null;
|
|
402
|
-
trackedChangeDisplayType: string | null;
|
|
403
|
-
semanticColorKey: string | null;
|
|
404
|
-
semanticColor: string | null;
|
|
405
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
406
|
-
trackedChangeStoryKind: string | null;
|
|
407
|
-
trackedChangeStoryLabel: string;
|
|
408
|
-
trackedChangeAnchorKey: string | null;
|
|
409
|
-
trackedChangeCanonicalId: string | null;
|
|
410
|
-
trackedChangePositionAliases: string[];
|
|
411
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
412
|
-
trackedChangeLabel: string | null;
|
|
413
|
-
trackedChangeDetailLines: {
|
|
414
|
-
excerpt: string;
|
|
415
|
-
label: string;
|
|
416
|
-
}[] | null;
|
|
417
|
-
trackedChangeImagePreview: {
|
|
418
|
-
src: string;
|
|
419
|
-
contentType: string;
|
|
420
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
421
|
-
partUri?: string | undefined;
|
|
422
|
-
relationshipId?: string | undefined;
|
|
423
|
-
width?: number | undefined;
|
|
424
|
-
height?: number | undefined;
|
|
425
|
-
alt?: string | undefined;
|
|
426
|
-
} | null;
|
|
427
|
-
customAttributes: readonly {
|
|
428
|
-
name: string;
|
|
429
|
-
namespaceUri: string;
|
|
430
|
-
localName: string;
|
|
431
|
-
value: string;
|
|
432
|
-
}[] | null;
|
|
433
|
-
resolvedTime: number | null;
|
|
434
|
-
resolvedById: string | null;
|
|
435
|
-
resolvedByEmail: string | null | undefined;
|
|
436
|
-
resolvedByName: string | null | undefined;
|
|
437
|
-
importedAuthor: {
|
|
438
|
-
name?: string | null | undefined;
|
|
439
|
-
email?: string | null | undefined;
|
|
440
|
-
} | null;
|
|
441
|
-
docxCommentJSON: {} | null;
|
|
442
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
443
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
444
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
445
|
-
threadingParentCommentId: string | null | undefined;
|
|
446
|
-
originalXmlStructure: {
|
|
447
|
-
hasCommentsExtended: boolean;
|
|
448
|
-
hasCommentsExtensible: boolean;
|
|
449
|
-
hasCommentsIds: boolean;
|
|
450
|
-
} | undefined;
|
|
451
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
452
|
-
text: string;
|
|
453
|
-
superdoc?: {
|
|
454
|
-
emit: (event: "comments-update", payload: {
|
|
455
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
456
|
-
changes?: {
|
|
457
|
-
key: string;
|
|
458
|
-
value: unknown;
|
|
459
|
-
previousValue?: unknown;
|
|
460
|
-
}[];
|
|
461
|
-
comment: unknown;
|
|
462
|
-
}) => unknown;
|
|
463
|
-
commentsStore?: {
|
|
464
|
-
getConfig?: {
|
|
465
|
-
readOnly?: boolean;
|
|
466
|
-
};
|
|
467
|
-
};
|
|
468
|
-
config?: {
|
|
469
|
-
modules?: import('../../public/index.js').Modules;
|
|
470
|
-
};
|
|
471
|
-
};
|
|
472
|
-
suppressUpdate: true;
|
|
473
|
-
} | {
|
|
474
|
-
text: string;
|
|
475
|
-
superdoc: {
|
|
476
|
-
emit: (event: "comments-update", payload: {
|
|
477
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
478
|
-
changes?: {
|
|
479
|
-
key: string;
|
|
480
|
-
value: unknown;
|
|
481
|
-
previousValue?: unknown;
|
|
482
|
-
}[];
|
|
483
|
-
comment: unknown;
|
|
484
|
-
}) => unknown;
|
|
485
|
-
commentsStore?: {
|
|
486
|
-
getConfig?: {
|
|
487
|
-
readOnly?: boolean;
|
|
488
|
-
};
|
|
489
|
-
};
|
|
490
|
-
config?: {
|
|
491
|
-
modules?: import('../../public/index.js').Modules;
|
|
492
|
-
};
|
|
493
|
-
};
|
|
494
|
-
suppressUpdate?: false;
|
|
495
|
-
}) => {
|
|
496
|
-
ok: false;
|
|
497
|
-
reason: "read-only-document";
|
|
498
|
-
} | undefined;
|
|
499
|
-
getValues: () => {
|
|
500
|
-
uid: string | undefined;
|
|
501
|
-
commentId: string | undefined;
|
|
502
|
-
importedId: string | null | undefined;
|
|
503
|
-
parentCommentId: string | null | undefined;
|
|
504
|
-
trackedChangeParentId: string | null | undefined;
|
|
505
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
506
|
-
trackedChangeSide: string | null | undefined;
|
|
507
|
-
fileId: string | null | undefined;
|
|
508
|
-
fileType: string | null | undefined;
|
|
509
|
-
mentions: {
|
|
510
|
-
name: string | null | undefined;
|
|
511
|
-
email?: string | null | undefined;
|
|
512
|
-
}[];
|
|
513
|
-
createdAtVersionNumber: number | null | undefined;
|
|
514
|
-
creatorId: string | null;
|
|
515
|
-
creatorEmail: string | null;
|
|
516
|
-
creatorName: string | null;
|
|
517
|
-
creatorImage: string | null;
|
|
518
|
-
createdTime: number;
|
|
519
|
-
importedAuthor: {
|
|
520
|
-
name?: string | null | undefined;
|
|
521
|
-
email?: string | null | undefined;
|
|
522
|
-
} | null;
|
|
523
|
-
docxCommentJSON: {} | null;
|
|
524
|
-
isInternal: boolean;
|
|
525
|
-
commentText: string;
|
|
526
|
-
selection: {
|
|
527
|
-
documentId: any;
|
|
528
|
-
page: any;
|
|
529
|
-
selectionBounds: any;
|
|
530
|
-
source: any;
|
|
531
|
-
} | null;
|
|
532
|
-
trackedChange: boolean | undefined;
|
|
533
|
-
trackedChangeText: string | null;
|
|
534
|
-
trackedChangeType: string | null;
|
|
535
|
-
trackedChangeDisplayType: string | null;
|
|
536
|
-
semanticColorKey: string | null;
|
|
537
|
-
semanticColor: string | null;
|
|
538
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
539
|
-
trackedChangeStoryKind: string | null;
|
|
540
|
-
trackedChangeStoryLabel: string;
|
|
541
|
-
trackedChangeAnchorKey: string | null;
|
|
542
|
-
trackedChangeCanonicalId: string | null;
|
|
543
|
-
trackedChangePositionAliases: string[];
|
|
544
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
545
|
-
trackedChangeLabel: string | null;
|
|
546
|
-
trackedChangeDetailLines: {
|
|
547
|
-
excerpt: string;
|
|
548
|
-
label: string;
|
|
549
|
-
}[] | null;
|
|
550
|
-
trackedChangeImagePreview: {
|
|
551
|
-
src: string;
|
|
552
|
-
contentType: string;
|
|
553
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
554
|
-
partUri?: string | undefined;
|
|
555
|
-
relationshipId?: string | undefined;
|
|
556
|
-
width?: number | undefined;
|
|
557
|
-
height?: number | undefined;
|
|
558
|
-
alt?: string | undefined;
|
|
559
|
-
} | null;
|
|
560
|
-
customAttributes: readonly {
|
|
561
|
-
name: string;
|
|
562
|
-
namespaceUri: string;
|
|
563
|
-
localName: string;
|
|
564
|
-
value: string;
|
|
565
|
-
}[] | null;
|
|
566
|
-
deletedText: string | null;
|
|
567
|
-
resolvedTime: number | null;
|
|
568
|
-
resolvedById: string | null;
|
|
569
|
-
resolvedByEmail: string | null | undefined;
|
|
570
|
-
resolvedByName: string | null | undefined;
|
|
571
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
572
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
573
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
574
|
-
threadingParentCommentId: string | null | undefined;
|
|
575
|
-
originalXmlStructure: {
|
|
576
|
-
hasCommentsExtended: boolean;
|
|
577
|
-
hasCommentsExtensible: boolean;
|
|
578
|
-
hasCommentsIds: boolean;
|
|
579
|
-
} | undefined;
|
|
580
|
-
};
|
|
581
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
582
|
-
id?: string | null;
|
|
583
|
-
email?: string | null;
|
|
584
|
-
name?: string | null;
|
|
585
|
-
superdoc: {
|
|
586
|
-
emit: (event: "comments-update", payload: {
|
|
587
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
588
|
-
changes?: {
|
|
589
|
-
key: string;
|
|
590
|
-
value: unknown;
|
|
591
|
-
previousValue?: unknown;
|
|
592
|
-
}[];
|
|
593
|
-
comment: unknown;
|
|
594
|
-
}) => unknown;
|
|
595
|
-
commentsStore?: {
|
|
596
|
-
getConfig?: {
|
|
597
|
-
readOnly?: boolean;
|
|
598
|
-
};
|
|
599
|
-
};
|
|
600
|
-
config?: {
|
|
601
|
-
modules?: import('../../public/index.js').Modules;
|
|
602
|
-
};
|
|
603
|
-
};
|
|
604
|
-
decision?: "accept" | "reject";
|
|
605
|
-
reconciliationToken?: symbol;
|
|
606
|
-
}) => {
|
|
607
|
-
ok: false;
|
|
608
|
-
reason: "read-only-document";
|
|
609
|
-
} | undefined;
|
|
610
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
611
|
-
isInternal: boolean;
|
|
612
|
-
superdoc: {
|
|
613
|
-
emit: (event: "comments-update", payload: {
|
|
614
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
615
|
-
changes?: {
|
|
616
|
-
key: string;
|
|
617
|
-
value: unknown;
|
|
618
|
-
previousValue?: unknown;
|
|
619
|
-
}[];
|
|
620
|
-
comment: unknown;
|
|
621
|
-
}) => unknown;
|
|
622
|
-
commentsStore?: {
|
|
623
|
-
getConfig?: {
|
|
624
|
-
readOnly?: boolean;
|
|
625
|
-
};
|
|
626
|
-
};
|
|
627
|
-
config?: {
|
|
628
|
-
modules?: import('../../public/index.js').Modules;
|
|
629
|
-
};
|
|
630
|
-
};
|
|
631
|
-
}) => {
|
|
632
|
-
ok: false;
|
|
633
|
-
reason: "read-only-document";
|
|
634
|
-
} | undefined;
|
|
635
|
-
updatePosition: (coords: {
|
|
636
|
-
top: number;
|
|
637
|
-
left: number;
|
|
638
|
-
right: number;
|
|
639
|
-
bottom: number;
|
|
640
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
641
|
-
getCommentUser: () => {
|
|
642
|
-
name: string;
|
|
643
|
-
email: string | null | undefined;
|
|
644
|
-
id?: undefined;
|
|
645
|
-
image?: undefined;
|
|
646
|
-
} | {
|
|
647
|
-
id: string | null;
|
|
648
|
-
name: string | null;
|
|
649
|
-
email: string | null;
|
|
650
|
-
image: string | null;
|
|
651
|
-
};
|
|
652
|
-
updateIdentityValues: (updates?: {
|
|
653
|
-
commentId?: string;
|
|
654
|
-
importedId?: string | null;
|
|
655
|
-
parentCommentId?: string | null;
|
|
656
|
-
trackedChangeParentId?: string | null;
|
|
657
|
-
trackedChangeThreadParentId?: string | null;
|
|
658
|
-
threadingParentCommentId?: string | null;
|
|
659
|
-
}) => void;
|
|
660
|
-
}[] | null>;
|
|
46
|
+
type: PropType<CommentModel[] | null>;
|
|
661
47
|
default: null;
|
|
662
48
|
};
|
|
663
49
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -670,315 +56,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
670
56
|
"dialog-exit": () => any;
|
|
671
57
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
672
58
|
comment: {
|
|
673
|
-
type: PropType<
|
|
674
|
-
uid: string | undefined;
|
|
675
|
-
commentId: string;
|
|
676
|
-
importedId: string | null | undefined;
|
|
677
|
-
parentCommentId: string | null | undefined;
|
|
678
|
-
trackedChangeParentId: string | null | undefined;
|
|
679
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
680
|
-
trackedChangeSide: string | null | undefined;
|
|
681
|
-
fileId: string | null | undefined;
|
|
682
|
-
fileType: string | null | undefined;
|
|
683
|
-
mentions: {
|
|
684
|
-
name?: string | null | undefined;
|
|
685
|
-
email?: string | null | undefined;
|
|
686
|
-
}[];
|
|
687
|
-
commentElement: HTMLElement | null;
|
|
688
|
-
isFocused: boolean;
|
|
689
|
-
creatorId: string | null;
|
|
690
|
-
creatorEmail: string | null;
|
|
691
|
-
creatorName: string | null;
|
|
692
|
-
creatorImage: string | null;
|
|
693
|
-
createdTime: number;
|
|
694
|
-
isInternal: boolean;
|
|
695
|
-
commentText: string;
|
|
696
|
-
selection: {
|
|
697
|
-
documentId: any;
|
|
698
|
-
page: any;
|
|
699
|
-
selectionBounds: any;
|
|
700
|
-
getValues: () => {
|
|
701
|
-
documentId: any;
|
|
702
|
-
page: any;
|
|
703
|
-
selectionBounds: any;
|
|
704
|
-
source: any;
|
|
705
|
-
};
|
|
706
|
-
getContainerId: () => string;
|
|
707
|
-
getContainerLocation: (parentContainer: any) => {
|
|
708
|
-
top: number;
|
|
709
|
-
left: number;
|
|
710
|
-
};
|
|
711
|
-
source: any;
|
|
712
|
-
};
|
|
713
|
-
floatingPosition: {
|
|
714
|
-
top?: number | undefined;
|
|
715
|
-
left?: number | undefined;
|
|
716
|
-
right?: number | undefined;
|
|
717
|
-
bottom?: number | undefined;
|
|
718
|
-
};
|
|
719
|
-
trackedChange: boolean | undefined;
|
|
720
|
-
deletedText: string | null;
|
|
721
|
-
trackedChangeType: string | null;
|
|
722
|
-
trackedChangeText: string | null;
|
|
723
|
-
trackedChangeDisplayType: string | null;
|
|
724
|
-
semanticColorKey: string | null;
|
|
725
|
-
semanticColor: string | null;
|
|
726
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
727
|
-
trackedChangeStoryKind: string | null;
|
|
728
|
-
trackedChangeStoryLabel: string;
|
|
729
|
-
trackedChangeAnchorKey: string | null;
|
|
730
|
-
trackedChangeCanonicalId: string | null;
|
|
731
|
-
trackedChangePositionAliases: string[];
|
|
732
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
733
|
-
trackedChangeLabel: string | null;
|
|
734
|
-
trackedChangeDetailLines: {
|
|
735
|
-
excerpt: string;
|
|
736
|
-
label: string;
|
|
737
|
-
}[] | null;
|
|
738
|
-
trackedChangeImagePreview: {
|
|
739
|
-
src: string;
|
|
740
|
-
contentType: string;
|
|
741
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
742
|
-
partUri?: string | undefined;
|
|
743
|
-
relationshipId?: string | undefined;
|
|
744
|
-
width?: number | undefined;
|
|
745
|
-
height?: number | undefined;
|
|
746
|
-
alt?: string | undefined;
|
|
747
|
-
} | null;
|
|
748
|
-
customAttributes: readonly {
|
|
749
|
-
name: string;
|
|
750
|
-
namespaceUri: string;
|
|
751
|
-
localName: string;
|
|
752
|
-
value: string;
|
|
753
|
-
}[] | null;
|
|
754
|
-
resolvedTime: number | null;
|
|
755
|
-
resolvedById: string | null;
|
|
756
|
-
resolvedByEmail: string | null | undefined;
|
|
757
|
-
resolvedByName: string | null | undefined;
|
|
758
|
-
importedAuthor: {
|
|
759
|
-
name?: string | null | undefined;
|
|
760
|
-
email?: string | null | undefined;
|
|
761
|
-
} | null;
|
|
762
|
-
docxCommentJSON: {} | null;
|
|
763
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
764
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
765
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
766
|
-
threadingParentCommentId: string | null | undefined;
|
|
767
|
-
originalXmlStructure: {
|
|
768
|
-
hasCommentsExtended: boolean;
|
|
769
|
-
hasCommentsExtensible: boolean;
|
|
770
|
-
hasCommentsIds: boolean;
|
|
771
|
-
} | undefined;
|
|
772
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
773
|
-
text: string;
|
|
774
|
-
superdoc?: {
|
|
775
|
-
emit: (event: "comments-update", payload: {
|
|
776
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
777
|
-
changes?: {
|
|
778
|
-
key: string;
|
|
779
|
-
value: unknown;
|
|
780
|
-
previousValue?: unknown;
|
|
781
|
-
}[];
|
|
782
|
-
comment: unknown;
|
|
783
|
-
}) => unknown;
|
|
784
|
-
commentsStore?: {
|
|
785
|
-
getConfig?: {
|
|
786
|
-
readOnly?: boolean;
|
|
787
|
-
};
|
|
788
|
-
};
|
|
789
|
-
config?: {
|
|
790
|
-
modules?: import('../../public/index.js').Modules;
|
|
791
|
-
};
|
|
792
|
-
};
|
|
793
|
-
suppressUpdate: true;
|
|
794
|
-
} | {
|
|
795
|
-
text: string;
|
|
796
|
-
superdoc: {
|
|
797
|
-
emit: (event: "comments-update", payload: {
|
|
798
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
799
|
-
changes?: {
|
|
800
|
-
key: string;
|
|
801
|
-
value: unknown;
|
|
802
|
-
previousValue?: unknown;
|
|
803
|
-
}[];
|
|
804
|
-
comment: unknown;
|
|
805
|
-
}) => unknown;
|
|
806
|
-
commentsStore?: {
|
|
807
|
-
getConfig?: {
|
|
808
|
-
readOnly?: boolean;
|
|
809
|
-
};
|
|
810
|
-
};
|
|
811
|
-
config?: {
|
|
812
|
-
modules?: import('../../public/index.js').Modules;
|
|
813
|
-
};
|
|
814
|
-
};
|
|
815
|
-
suppressUpdate?: false;
|
|
816
|
-
}) => {
|
|
817
|
-
ok: false;
|
|
818
|
-
reason: "read-only-document";
|
|
819
|
-
} | undefined;
|
|
820
|
-
getValues: () => {
|
|
821
|
-
uid: string | undefined;
|
|
822
|
-
commentId: string | undefined;
|
|
823
|
-
importedId: string | null | undefined;
|
|
824
|
-
parentCommentId: string | null | undefined;
|
|
825
|
-
trackedChangeParentId: string | null | undefined;
|
|
826
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
827
|
-
trackedChangeSide: string | null | undefined;
|
|
828
|
-
fileId: string | null | undefined;
|
|
829
|
-
fileType: string | null | undefined;
|
|
830
|
-
mentions: {
|
|
831
|
-
name: string | null | undefined;
|
|
832
|
-
email?: string | null | undefined;
|
|
833
|
-
}[];
|
|
834
|
-
createdAtVersionNumber: number | null | undefined;
|
|
835
|
-
creatorId: string | null;
|
|
836
|
-
creatorEmail: string | null;
|
|
837
|
-
creatorName: string | null;
|
|
838
|
-
creatorImage: string | null;
|
|
839
|
-
createdTime: number;
|
|
840
|
-
importedAuthor: {
|
|
841
|
-
name?: string | null | undefined;
|
|
842
|
-
email?: string | null | undefined;
|
|
843
|
-
} | null;
|
|
844
|
-
docxCommentJSON: {} | null;
|
|
845
|
-
isInternal: boolean;
|
|
846
|
-
commentText: string;
|
|
847
|
-
selection: {
|
|
848
|
-
documentId: any;
|
|
849
|
-
page: any;
|
|
850
|
-
selectionBounds: any;
|
|
851
|
-
source: any;
|
|
852
|
-
} | null;
|
|
853
|
-
trackedChange: boolean | undefined;
|
|
854
|
-
trackedChangeText: string | null;
|
|
855
|
-
trackedChangeType: string | null;
|
|
856
|
-
trackedChangeDisplayType: string | null;
|
|
857
|
-
semanticColorKey: string | null;
|
|
858
|
-
semanticColor: string | null;
|
|
859
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
860
|
-
trackedChangeStoryKind: string | null;
|
|
861
|
-
trackedChangeStoryLabel: string;
|
|
862
|
-
trackedChangeAnchorKey: string | null;
|
|
863
|
-
trackedChangeCanonicalId: string | null;
|
|
864
|
-
trackedChangePositionAliases: string[];
|
|
865
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
866
|
-
trackedChangeLabel: string | null;
|
|
867
|
-
trackedChangeDetailLines: {
|
|
868
|
-
excerpt: string;
|
|
869
|
-
label: string;
|
|
870
|
-
}[] | null;
|
|
871
|
-
trackedChangeImagePreview: {
|
|
872
|
-
src: string;
|
|
873
|
-
contentType: string;
|
|
874
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
875
|
-
partUri?: string | undefined;
|
|
876
|
-
relationshipId?: string | undefined;
|
|
877
|
-
width?: number | undefined;
|
|
878
|
-
height?: number | undefined;
|
|
879
|
-
alt?: string | undefined;
|
|
880
|
-
} | null;
|
|
881
|
-
customAttributes: readonly {
|
|
882
|
-
name: string;
|
|
883
|
-
namespaceUri: string;
|
|
884
|
-
localName: string;
|
|
885
|
-
value: string;
|
|
886
|
-
}[] | null;
|
|
887
|
-
deletedText: string | null;
|
|
888
|
-
resolvedTime: number | null;
|
|
889
|
-
resolvedById: string | null;
|
|
890
|
-
resolvedByEmail: string | null | undefined;
|
|
891
|
-
resolvedByName: string | null | undefined;
|
|
892
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
893
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
894
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
895
|
-
threadingParentCommentId: string | null | undefined;
|
|
896
|
-
originalXmlStructure: {
|
|
897
|
-
hasCommentsExtended: boolean;
|
|
898
|
-
hasCommentsExtensible: boolean;
|
|
899
|
-
hasCommentsIds: boolean;
|
|
900
|
-
} | undefined;
|
|
901
|
-
};
|
|
902
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
903
|
-
id?: string | null;
|
|
904
|
-
email?: string | null;
|
|
905
|
-
name?: string | null;
|
|
906
|
-
superdoc: {
|
|
907
|
-
emit: (event: "comments-update", payload: {
|
|
908
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
909
|
-
changes?: {
|
|
910
|
-
key: string;
|
|
911
|
-
value: unknown;
|
|
912
|
-
previousValue?: unknown;
|
|
913
|
-
}[];
|
|
914
|
-
comment: unknown;
|
|
915
|
-
}) => unknown;
|
|
916
|
-
commentsStore?: {
|
|
917
|
-
getConfig?: {
|
|
918
|
-
readOnly?: boolean;
|
|
919
|
-
};
|
|
920
|
-
};
|
|
921
|
-
config?: {
|
|
922
|
-
modules?: import('../../public/index.js').Modules;
|
|
923
|
-
};
|
|
924
|
-
};
|
|
925
|
-
decision?: "accept" | "reject";
|
|
926
|
-
reconciliationToken?: symbol;
|
|
927
|
-
}) => {
|
|
928
|
-
ok: false;
|
|
929
|
-
reason: "read-only-document";
|
|
930
|
-
} | undefined;
|
|
931
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
932
|
-
isInternal: boolean;
|
|
933
|
-
superdoc: {
|
|
934
|
-
emit: (event: "comments-update", payload: {
|
|
935
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
936
|
-
changes?: {
|
|
937
|
-
key: string;
|
|
938
|
-
value: unknown;
|
|
939
|
-
previousValue?: unknown;
|
|
940
|
-
}[];
|
|
941
|
-
comment: unknown;
|
|
942
|
-
}) => unknown;
|
|
943
|
-
commentsStore?: {
|
|
944
|
-
getConfig?: {
|
|
945
|
-
readOnly?: boolean;
|
|
946
|
-
};
|
|
947
|
-
};
|
|
948
|
-
config?: {
|
|
949
|
-
modules?: import('../../public/index.js').Modules;
|
|
950
|
-
};
|
|
951
|
-
};
|
|
952
|
-
}) => {
|
|
953
|
-
ok: false;
|
|
954
|
-
reason: "read-only-document";
|
|
955
|
-
} | undefined;
|
|
956
|
-
updatePosition: (coords: {
|
|
957
|
-
top: number;
|
|
958
|
-
left: number;
|
|
959
|
-
right: number;
|
|
960
|
-
bottom: number;
|
|
961
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
962
|
-
getCommentUser: () => {
|
|
963
|
-
name: string;
|
|
964
|
-
email: string | null | undefined;
|
|
965
|
-
id?: undefined;
|
|
966
|
-
image?: undefined;
|
|
967
|
-
} | {
|
|
968
|
-
id: string | null;
|
|
969
|
-
name: string | null;
|
|
970
|
-
email: string | null;
|
|
971
|
-
image: string | null;
|
|
972
|
-
};
|
|
973
|
-
updateIdentityValues: (updates?: {
|
|
974
|
-
commentId?: string;
|
|
975
|
-
importedId?: string | null;
|
|
976
|
-
parentCommentId?: string | null;
|
|
977
|
-
trackedChangeParentId?: string | null;
|
|
978
|
-
trackedChangeThreadParentId?: string | null;
|
|
979
|
-
threadingParentCommentId?: string | null;
|
|
980
|
-
}) => void;
|
|
981
|
-
}>;
|
|
59
|
+
type: PropType<CommentModel>;
|
|
982
60
|
required: true;
|
|
983
61
|
};
|
|
984
62
|
autoFocus: {
|
|
@@ -1018,315 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1018
96
|
default: undefined;
|
|
1019
97
|
};
|
|
1020
98
|
threadComments: {
|
|
1021
|
-
type: PropType<
|
|
1022
|
-
uid: string | undefined;
|
|
1023
|
-
commentId: string;
|
|
1024
|
-
importedId: string | null | undefined;
|
|
1025
|
-
parentCommentId: string | null | undefined;
|
|
1026
|
-
trackedChangeParentId: string | null | undefined;
|
|
1027
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1028
|
-
trackedChangeSide: string | null | undefined;
|
|
1029
|
-
fileId: string | null | undefined;
|
|
1030
|
-
fileType: string | null | undefined;
|
|
1031
|
-
mentions: {
|
|
1032
|
-
name?: string | null | undefined;
|
|
1033
|
-
email?: string | null | undefined;
|
|
1034
|
-
}[];
|
|
1035
|
-
commentElement: HTMLElement | null;
|
|
1036
|
-
isFocused: boolean;
|
|
1037
|
-
creatorId: string | null;
|
|
1038
|
-
creatorEmail: string | null;
|
|
1039
|
-
creatorName: string | null;
|
|
1040
|
-
creatorImage: string | null;
|
|
1041
|
-
createdTime: number;
|
|
1042
|
-
isInternal: boolean;
|
|
1043
|
-
commentText: string;
|
|
1044
|
-
selection: {
|
|
1045
|
-
documentId: any;
|
|
1046
|
-
page: any;
|
|
1047
|
-
selectionBounds: any;
|
|
1048
|
-
getValues: () => {
|
|
1049
|
-
documentId: any;
|
|
1050
|
-
page: any;
|
|
1051
|
-
selectionBounds: any;
|
|
1052
|
-
source: any;
|
|
1053
|
-
};
|
|
1054
|
-
getContainerId: () => string;
|
|
1055
|
-
getContainerLocation: (parentContainer: any) => {
|
|
1056
|
-
top: number;
|
|
1057
|
-
left: number;
|
|
1058
|
-
};
|
|
1059
|
-
source: any;
|
|
1060
|
-
};
|
|
1061
|
-
floatingPosition: {
|
|
1062
|
-
top?: number | undefined;
|
|
1063
|
-
left?: number | undefined;
|
|
1064
|
-
right?: number | undefined;
|
|
1065
|
-
bottom?: number | undefined;
|
|
1066
|
-
};
|
|
1067
|
-
trackedChange: boolean | undefined;
|
|
1068
|
-
deletedText: string | null;
|
|
1069
|
-
trackedChangeType: string | null;
|
|
1070
|
-
trackedChangeText: string | null;
|
|
1071
|
-
trackedChangeDisplayType: string | null;
|
|
1072
|
-
semanticColorKey: string | null;
|
|
1073
|
-
semanticColor: string | null;
|
|
1074
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1075
|
-
trackedChangeStoryKind: string | null;
|
|
1076
|
-
trackedChangeStoryLabel: string;
|
|
1077
|
-
trackedChangeAnchorKey: string | null;
|
|
1078
|
-
trackedChangeCanonicalId: string | null;
|
|
1079
|
-
trackedChangePositionAliases: string[];
|
|
1080
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1081
|
-
trackedChangeLabel: string | null;
|
|
1082
|
-
trackedChangeDetailLines: {
|
|
1083
|
-
excerpt: string;
|
|
1084
|
-
label: string;
|
|
1085
|
-
}[] | null;
|
|
1086
|
-
trackedChangeImagePreview: {
|
|
1087
|
-
src: string;
|
|
1088
|
-
contentType: string;
|
|
1089
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1090
|
-
partUri?: string | undefined;
|
|
1091
|
-
relationshipId?: string | undefined;
|
|
1092
|
-
width?: number | undefined;
|
|
1093
|
-
height?: number | undefined;
|
|
1094
|
-
alt?: string | undefined;
|
|
1095
|
-
} | null;
|
|
1096
|
-
customAttributes: readonly {
|
|
1097
|
-
name: string;
|
|
1098
|
-
namespaceUri: string;
|
|
1099
|
-
localName: string;
|
|
1100
|
-
value: string;
|
|
1101
|
-
}[] | null;
|
|
1102
|
-
resolvedTime: number | null;
|
|
1103
|
-
resolvedById: string | null;
|
|
1104
|
-
resolvedByEmail: string | null | undefined;
|
|
1105
|
-
resolvedByName: string | null | undefined;
|
|
1106
|
-
importedAuthor: {
|
|
1107
|
-
name?: string | null | undefined;
|
|
1108
|
-
email?: string | null | undefined;
|
|
1109
|
-
} | null;
|
|
1110
|
-
docxCommentJSON: {} | null;
|
|
1111
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1112
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1113
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1114
|
-
threadingParentCommentId: string | null | undefined;
|
|
1115
|
-
originalXmlStructure: {
|
|
1116
|
-
hasCommentsExtended: boolean;
|
|
1117
|
-
hasCommentsExtensible: boolean;
|
|
1118
|
-
hasCommentsIds: boolean;
|
|
1119
|
-
} | undefined;
|
|
1120
|
-
setText: ({ text, superdoc, suppressUpdate }: {
|
|
1121
|
-
text: string;
|
|
1122
|
-
superdoc?: {
|
|
1123
|
-
emit: (event: "comments-update", payload: {
|
|
1124
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1125
|
-
changes?: {
|
|
1126
|
-
key: string;
|
|
1127
|
-
value: unknown;
|
|
1128
|
-
previousValue?: unknown;
|
|
1129
|
-
}[];
|
|
1130
|
-
comment: unknown;
|
|
1131
|
-
}) => unknown;
|
|
1132
|
-
commentsStore?: {
|
|
1133
|
-
getConfig?: {
|
|
1134
|
-
readOnly?: boolean;
|
|
1135
|
-
};
|
|
1136
|
-
};
|
|
1137
|
-
config?: {
|
|
1138
|
-
modules?: import('../../public/index.js').Modules;
|
|
1139
|
-
};
|
|
1140
|
-
};
|
|
1141
|
-
suppressUpdate: true;
|
|
1142
|
-
} | {
|
|
1143
|
-
text: string;
|
|
1144
|
-
superdoc: {
|
|
1145
|
-
emit: (event: "comments-update", payload: {
|
|
1146
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1147
|
-
changes?: {
|
|
1148
|
-
key: string;
|
|
1149
|
-
value: unknown;
|
|
1150
|
-
previousValue?: unknown;
|
|
1151
|
-
}[];
|
|
1152
|
-
comment: unknown;
|
|
1153
|
-
}) => unknown;
|
|
1154
|
-
commentsStore?: {
|
|
1155
|
-
getConfig?: {
|
|
1156
|
-
readOnly?: boolean;
|
|
1157
|
-
};
|
|
1158
|
-
};
|
|
1159
|
-
config?: {
|
|
1160
|
-
modules?: import('../../public/index.js').Modules;
|
|
1161
|
-
};
|
|
1162
|
-
};
|
|
1163
|
-
suppressUpdate?: false;
|
|
1164
|
-
}) => {
|
|
1165
|
-
ok: false;
|
|
1166
|
-
reason: "read-only-document";
|
|
1167
|
-
} | undefined;
|
|
1168
|
-
getValues: () => {
|
|
1169
|
-
uid: string | undefined;
|
|
1170
|
-
commentId: string | undefined;
|
|
1171
|
-
importedId: string | null | undefined;
|
|
1172
|
-
parentCommentId: string | null | undefined;
|
|
1173
|
-
trackedChangeParentId: string | null | undefined;
|
|
1174
|
-
trackedChangeThreadParentId: string | null | undefined;
|
|
1175
|
-
trackedChangeSide: string | null | undefined;
|
|
1176
|
-
fileId: string | null | undefined;
|
|
1177
|
-
fileType: string | null | undefined;
|
|
1178
|
-
mentions: {
|
|
1179
|
-
name: string | null | undefined;
|
|
1180
|
-
email?: string | null | undefined;
|
|
1181
|
-
}[];
|
|
1182
|
-
createdAtVersionNumber: number | null | undefined;
|
|
1183
|
-
creatorId: string | null;
|
|
1184
|
-
creatorEmail: string | null;
|
|
1185
|
-
creatorName: string | null;
|
|
1186
|
-
creatorImage: string | null;
|
|
1187
|
-
createdTime: number;
|
|
1188
|
-
importedAuthor: {
|
|
1189
|
-
name?: string | null | undefined;
|
|
1190
|
-
email?: string | null | undefined;
|
|
1191
|
-
} | null;
|
|
1192
|
-
docxCommentJSON: {} | null;
|
|
1193
|
-
isInternal: boolean;
|
|
1194
|
-
commentText: string;
|
|
1195
|
-
selection: {
|
|
1196
|
-
documentId: any;
|
|
1197
|
-
page: any;
|
|
1198
|
-
selectionBounds: any;
|
|
1199
|
-
source: any;
|
|
1200
|
-
} | null;
|
|
1201
|
-
trackedChange: boolean | undefined;
|
|
1202
|
-
trackedChangeText: string | null;
|
|
1203
|
-
trackedChangeType: string | null;
|
|
1204
|
-
trackedChangeDisplayType: string | null;
|
|
1205
|
-
semanticColorKey: string | null;
|
|
1206
|
-
semanticColor: string | null;
|
|
1207
|
-
trackedChangeStory: import('../../public/index.js').StoryLocator | null;
|
|
1208
|
-
trackedChangeStoryKind: string | null;
|
|
1209
|
-
trackedChangeStoryLabel: string;
|
|
1210
|
-
trackedChangeAnchorKey: string | null;
|
|
1211
|
-
trackedChangeCanonicalId: string | null;
|
|
1212
|
-
trackedChangePositionAliases: string[];
|
|
1213
|
-
trackedChangeDecision: ("accept" | "reject") | null;
|
|
1214
|
-
trackedChangeLabel: string | null;
|
|
1215
|
-
trackedChangeDetailLines: {
|
|
1216
|
-
excerpt: string;
|
|
1217
|
-
label: string;
|
|
1218
|
-
}[] | null;
|
|
1219
|
-
trackedChangeImagePreview: {
|
|
1220
|
-
src: string;
|
|
1221
|
-
contentType: string;
|
|
1222
|
-
role: "deleted" | "inserted" | "before" | "after";
|
|
1223
|
-
partUri?: string | undefined;
|
|
1224
|
-
relationshipId?: string | undefined;
|
|
1225
|
-
width?: number | undefined;
|
|
1226
|
-
height?: number | undefined;
|
|
1227
|
-
alt?: string | undefined;
|
|
1228
|
-
} | null;
|
|
1229
|
-
customAttributes: readonly {
|
|
1230
|
-
name: string;
|
|
1231
|
-
namespaceUri: string;
|
|
1232
|
-
localName: string;
|
|
1233
|
-
value: string;
|
|
1234
|
-
}[] | null;
|
|
1235
|
-
deletedText: string | null;
|
|
1236
|
-
resolvedTime: number | null;
|
|
1237
|
-
resolvedById: string | null;
|
|
1238
|
-
resolvedByEmail: string | null | undefined;
|
|
1239
|
-
resolvedByName: string | null | undefined;
|
|
1240
|
-
origin: "word" | "google-docs" | "unknown" | undefined;
|
|
1241
|
-
threadingMethod: "commentsExtended" | "range-based" | "mixed" | undefined;
|
|
1242
|
-
threadingStyleOverride: import('../../../../../shared/common/comments-types.js').CommentThreadingStyle | undefined;
|
|
1243
|
-
threadingParentCommentId: string | null | undefined;
|
|
1244
|
-
originalXmlStructure: {
|
|
1245
|
-
hasCommentsExtended: boolean;
|
|
1246
|
-
hasCommentsExtensible: boolean;
|
|
1247
|
-
hasCommentsIds: boolean;
|
|
1248
|
-
} | undefined;
|
|
1249
|
-
};
|
|
1250
|
-
resolveComment: ({ id, email, name, superdoc, decision, reconciliationToken, }: {
|
|
1251
|
-
id?: string | null;
|
|
1252
|
-
email?: string | null;
|
|
1253
|
-
name?: string | null;
|
|
1254
|
-
superdoc: {
|
|
1255
|
-
emit: (event: "comments-update", payload: {
|
|
1256
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1257
|
-
changes?: {
|
|
1258
|
-
key: string;
|
|
1259
|
-
value: unknown;
|
|
1260
|
-
previousValue?: unknown;
|
|
1261
|
-
}[];
|
|
1262
|
-
comment: unknown;
|
|
1263
|
-
}) => unknown;
|
|
1264
|
-
commentsStore?: {
|
|
1265
|
-
getConfig?: {
|
|
1266
|
-
readOnly?: boolean;
|
|
1267
|
-
};
|
|
1268
|
-
};
|
|
1269
|
-
config?: {
|
|
1270
|
-
modules?: import('../../public/index.js').Modules;
|
|
1271
|
-
};
|
|
1272
|
-
};
|
|
1273
|
-
decision?: "accept" | "reject";
|
|
1274
|
-
reconciliationToken?: symbol;
|
|
1275
|
-
}) => {
|
|
1276
|
-
ok: false;
|
|
1277
|
-
reason: "read-only-document";
|
|
1278
|
-
} | undefined;
|
|
1279
|
-
setIsInternal: ({ isInternal: newIsInternal, superdoc, }: {
|
|
1280
|
-
isInternal: boolean;
|
|
1281
|
-
superdoc: {
|
|
1282
|
-
emit: (event: "comments-update", payload: {
|
|
1283
|
-
type: import('../../../../../shared/common/event-types.js').CommentEvent;
|
|
1284
|
-
changes?: {
|
|
1285
|
-
key: string;
|
|
1286
|
-
value: unknown;
|
|
1287
|
-
previousValue?: unknown;
|
|
1288
|
-
}[];
|
|
1289
|
-
comment: unknown;
|
|
1290
|
-
}) => unknown;
|
|
1291
|
-
commentsStore?: {
|
|
1292
|
-
getConfig?: {
|
|
1293
|
-
readOnly?: boolean;
|
|
1294
|
-
};
|
|
1295
|
-
};
|
|
1296
|
-
config?: {
|
|
1297
|
-
modules?: import('../../public/index.js').Modules;
|
|
1298
|
-
};
|
|
1299
|
-
};
|
|
1300
|
-
}) => {
|
|
1301
|
-
ok: false;
|
|
1302
|
-
reason: "read-only-document";
|
|
1303
|
-
} | undefined;
|
|
1304
|
-
updatePosition: (coords: {
|
|
1305
|
-
top: number;
|
|
1306
|
-
left: number;
|
|
1307
|
-
right: number;
|
|
1308
|
-
bottom: number;
|
|
1309
|
-
}, parentElement: Pick<Element, "getBoundingClientRect">) => void;
|
|
1310
|
-
getCommentUser: () => {
|
|
1311
|
-
name: string;
|
|
1312
|
-
email: string | null | undefined;
|
|
1313
|
-
id?: undefined;
|
|
1314
|
-
image?: undefined;
|
|
1315
|
-
} | {
|
|
1316
|
-
id: string | null;
|
|
1317
|
-
name: string | null;
|
|
1318
|
-
email: string | null;
|
|
1319
|
-
image: string | null;
|
|
1320
|
-
};
|
|
1321
|
-
updateIdentityValues: (updates?: {
|
|
1322
|
-
commentId?: string;
|
|
1323
|
-
importedId?: string | null;
|
|
1324
|
-
parentCommentId?: string | null;
|
|
1325
|
-
trackedChangeParentId?: string | null;
|
|
1326
|
-
trackedChangeThreadParentId?: string | null;
|
|
1327
|
-
threadingParentCommentId?: string | null;
|
|
1328
|
-
}) => void;
|
|
1329
|
-
}[] | null>;
|
|
99
|
+
type: PropType<CommentModel[] | null>;
|
|
1330
100
|
default: null;
|
|
1331
101
|
};
|
|
1332
102
|
}>> & Readonly<{
|
|
@@ -1379,21 +149,31 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1379
149
|
isInternal: boolean;
|
|
1380
150
|
commentText: string;
|
|
1381
151
|
selection: {
|
|
1382
|
-
documentId:
|
|
1383
|
-
page:
|
|
1384
|
-
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
|
+
};
|
|
1385
160
|
getValues: () => {
|
|
1386
|
-
documentId:
|
|
1387
|
-
page:
|
|
1388
|
-
selectionBounds:
|
|
1389
|
-
|
|
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;
|
|
1390
170
|
};
|
|
1391
171
|
getContainerId: () => string;
|
|
1392
|
-
getContainerLocation: (parentContainer:
|
|
172
|
+
getContainerLocation: (parentContainer: Pick<Element, "getBoundingClientRect"> | null | undefined) => {
|
|
1393
173
|
top: number;
|
|
1394
174
|
left: number;
|
|
1395
175
|
};
|
|
1396
|
-
source:
|
|
176
|
+
source: string | null | undefined;
|
|
1397
177
|
};
|
|
1398
178
|
floatingPosition: {
|
|
1399
179
|
top?: number | undefined;
|
|
@@ -1530,10 +310,15 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1530
310
|
isInternal: boolean;
|
|
1531
311
|
commentText: string;
|
|
1532
312
|
selection: {
|
|
1533
|
-
documentId:
|
|
1534
|
-
page:
|
|
1535
|
-
selectionBounds:
|
|
1536
|
-
|
|
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;
|
|
1537
322
|
} | null;
|
|
1538
323
|
trackedChange: boolean | undefined;
|
|
1539
324
|
trackedChangeText: string | null;
|
|
@@ -1666,22 +451,50 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1666
451
|
}[] | null;
|
|
1667
452
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
1668
453
|
commentDialogElement: HTMLDivElement;
|
|
1669
|
-
commentInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
454
|
+
commentInput: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
455
|
+
users: {
|
|
456
|
+
type: PropType<readonly (User & {
|
|
457
|
+
access?: string | {
|
|
458
|
+
role?: string;
|
|
459
|
+
} | null;
|
|
460
|
+
})[]>;
|
|
461
|
+
required: false;
|
|
462
|
+
default: () => never[];
|
|
463
|
+
};
|
|
464
|
+
config: {
|
|
465
|
+
type: PropType<{
|
|
466
|
+
readOnly?: boolean;
|
|
467
|
+
allowResolve?: boolean;
|
|
468
|
+
}>;
|
|
469
|
+
required: true;
|
|
470
|
+
};
|
|
471
|
+
isFocused: {
|
|
472
|
+
type: BooleanConstructor;
|
|
473
|
+
default: boolean;
|
|
474
|
+
};
|
|
475
|
+
includeHeader: {
|
|
476
|
+
type: BooleanConstructor;
|
|
477
|
+
default: boolean;
|
|
478
|
+
};
|
|
479
|
+
comment: {
|
|
480
|
+
type: PropType<CommentModel>;
|
|
481
|
+
required: true;
|
|
482
|
+
};
|
|
483
|
+
}>> & Readonly<{
|
|
484
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
485
|
+
}>, {
|
|
486
|
+
focus: (options?: FocusOptions) => void;
|
|
487
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
488
|
+
focus: (...args: any[]) => void;
|
|
489
|
+
}, import('vue').PublicProps, {
|
|
1673
490
|
isFocused: boolean;
|
|
1674
|
-
users:
|
|
491
|
+
users: readonly (User & {
|
|
492
|
+
access?: string | {
|
|
493
|
+
role?: string;
|
|
494
|
+
} | null;
|
|
495
|
+
})[];
|
|
1675
496
|
includeHeader: boolean;
|
|
1676
|
-
|
|
1677
|
-
$props: {
|
|
1678
|
-
readonly config?: Record<string, any> | undefined;
|
|
1679
|
-
readonly isFocused?: boolean | undefined;
|
|
1680
|
-
readonly users?: unknown[] | undefined;
|
|
1681
|
-
readonly includeHeader?: boolean | undefined;
|
|
1682
|
-
readonly comment?: Record<string, any> | undefined;
|
|
1683
|
-
};
|
|
1684
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
497
|
+
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
1685
498
|
inputRef: HTMLTextAreaElement;
|
|
1686
499
|
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
1687
500
|
P: {};
|
|
@@ -1690,21 +503,47 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1690
503
|
C: {};
|
|
1691
504
|
M: {};
|
|
1692
505
|
Defaults: {};
|
|
1693
|
-
}, Readonly<
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
506
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
507
|
+
users: {
|
|
508
|
+
type: PropType<readonly (User & {
|
|
509
|
+
access?: string | {
|
|
510
|
+
role?: string;
|
|
511
|
+
} | null;
|
|
512
|
+
})[]>;
|
|
513
|
+
required: false;
|
|
514
|
+
default: () => never[];
|
|
515
|
+
};
|
|
516
|
+
config: {
|
|
517
|
+
type: PropType<{
|
|
518
|
+
readOnly?: boolean;
|
|
519
|
+
allowResolve?: boolean;
|
|
520
|
+
}>;
|
|
521
|
+
required: true;
|
|
522
|
+
};
|
|
523
|
+
isFocused: {
|
|
524
|
+
type: BooleanConstructor;
|
|
525
|
+
default: boolean;
|
|
526
|
+
};
|
|
527
|
+
includeHeader: {
|
|
528
|
+
type: BooleanConstructor;
|
|
529
|
+
default: boolean;
|
|
530
|
+
};
|
|
531
|
+
comment: {
|
|
532
|
+
type: PropType<CommentModel>;
|
|
533
|
+
required: true;
|
|
534
|
+
};
|
|
535
|
+
}>> & Readonly<{
|
|
536
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
537
|
+
}>, {
|
|
538
|
+
focus: (options?: FocusOptions) => void;
|
|
539
|
+
}, {}, {}, {}, {
|
|
1697
540
|
isFocused: boolean;
|
|
1698
|
-
users:
|
|
541
|
+
users: readonly (User & {
|
|
542
|
+
access?: string | {
|
|
543
|
+
role?: string;
|
|
544
|
+
} | null;
|
|
545
|
+
})[];
|
|
1699
546
|
includeHeader: boolean;
|
|
1700
|
-
|
|
1701
|
-
$props: {
|
|
1702
|
-
readonly config?: Record<string, any> | undefined;
|
|
1703
|
-
readonly isFocused?: boolean | undefined;
|
|
1704
|
-
readonly users?: unknown[] | undefined;
|
|
1705
|
-
readonly includeHeader?: boolean | undefined;
|
|
1706
|
-
readonly comment?: Record<string, any> | undefined;
|
|
1707
|
-
};
|
|
1708
|
-
}, {}, {}, {}, {}> | null;
|
|
547
|
+
}> | null;
|
|
1709
548
|
}, HTMLDivElement>;
|
|
1710
549
|
export default _default;
|