superdoc 2.29.0-next.1 → 2.29.0-next.3
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/{create-super-doc-ui-0OA8hCNb.cjs → create-super-doc-ui-BAGOnYGM.cjs} +2 -2
- package/dist/chunks/{create-super-doc-ui-Duf65d0b.es.js → create-super-doc-ui-BFt8agAI.es.js} +2 -2
- package/dist/collaboration-upgrade-engine.cjs +1 -1
- package/dist/collaboration-upgrade-engine.es.js +1 -1
- package/dist/document-api/src/contract/metadata-types.d.ts +1 -1
- package/dist/document-api/src/contract/operation-definitions.d.ts +1 -1
- package/dist/document-api/src/tables/tables.d.ts +2 -1
- package/dist/document-api/src/types/table-operations.types.d.ts +1 -0
- 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/components/CommentsLayer/CommentDialog.vue.d.ts +88 -1264
- 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/use-comment.d.ts +1 -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/core/SuperDoc.d.ts +1 -6
- package/dist/superdoc/src/core/collaboration/permissions.d.ts +1 -1
- package/dist/superdoc/src/core/editor-runtime/index.d.ts +1 -1
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +7 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -1
- package/dist/superdoc/src/icons.d.ts +8 -0
- package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +76 -15
- 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 +105 -5
- package/dist/superdoc/src/internal/toolbar/built-in/DocumentMode.vue.d.ts +20 -6
- 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/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/ToolbarComboBox.vue.d.ts +1 -1
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +1 -0
- 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 +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/list-style-buttons.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/toolbarIcons.d.ts +67 -0
- package/dist/superdoc/src/stores/helpers/comment-draft-text.d.ts +1 -0
- package/dist/superdoc/src/stores/helpers/tracked-change-row-values.d.ts +25 -0
- package/dist/superdoc.cjs +349 -231
- package/dist/superdoc.es.js +322 -207
- 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/built-in/FontFamilyCombobox.vue.d.ts +0 -10
- package/dist/superdoc/src/internal/toolbar/built-in/FontSizeCombobox.vue.d.ts +0 -10
|
@@ -1,26 +1,110 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CommentModel } from './use-comment.js';
|
|
3
|
+
type HeaderConfig = {
|
|
4
|
+
readOnly?: boolean;
|
|
5
|
+
allowResolve?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
8
|
+
timestamp: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: false;
|
|
11
|
+
};
|
|
12
|
+
config: {
|
|
13
|
+
type: PropType<HeaderConfig>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
comment: {
|
|
17
|
+
type: PropType<CommentModel>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
isPendingInput: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
required: false;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
isActive: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
resolveDisabledReason: {
|
|
30
|
+
type: PropType<string | null>;
|
|
31
|
+
default: null;
|
|
32
|
+
};
|
|
33
|
+
rejectDisabledReason: {
|
|
34
|
+
type: PropType<string | null>;
|
|
35
|
+
default: null;
|
|
36
|
+
};
|
|
37
|
+
reopenDisabledReason: {
|
|
38
|
+
type: PropType<string | null>;
|
|
39
|
+
default: null;
|
|
40
|
+
};
|
|
41
|
+
reopenSupported: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
writeDisabledReason: {
|
|
46
|
+
type: PropType<string | null>;
|
|
47
|
+
default: null;
|
|
48
|
+
};
|
|
49
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
50
|
+
reject: (...args: any[]) => void;
|
|
51
|
+
resolve: (...args: any[]) => void;
|
|
52
|
+
reopen: (...args: any[]) => void;
|
|
53
|
+
"overflow-select": (...args: any[]) => void;
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
+
timestamp: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
required: false;
|
|
58
|
+
};
|
|
59
|
+
config: {
|
|
60
|
+
type: PropType<HeaderConfig>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
comment: {
|
|
64
|
+
type: PropType<CommentModel>;
|
|
65
|
+
required: true;
|
|
66
|
+
};
|
|
67
|
+
isPendingInput: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
required: false;
|
|
70
|
+
default: boolean;
|
|
71
|
+
};
|
|
72
|
+
isActive: {
|
|
73
|
+
type: BooleanConstructor;
|
|
74
|
+
default: boolean;
|
|
75
|
+
};
|
|
76
|
+
resolveDisabledReason: {
|
|
77
|
+
type: PropType<string | null>;
|
|
78
|
+
default: null;
|
|
79
|
+
};
|
|
80
|
+
rejectDisabledReason: {
|
|
81
|
+
type: PropType<string | null>;
|
|
82
|
+
default: null;
|
|
83
|
+
};
|
|
84
|
+
reopenDisabledReason: {
|
|
85
|
+
type: PropType<string | null>;
|
|
86
|
+
default: null;
|
|
87
|
+
};
|
|
88
|
+
reopenSupported: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
writeDisabledReason: {
|
|
93
|
+
type: PropType<string | null>;
|
|
94
|
+
default: null;
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{
|
|
97
|
+
onReject?: ((...args: any[]) => any) | undefined;
|
|
98
|
+
onResolve?: ((...args: any[]) => any) | undefined;
|
|
99
|
+
onReopen?: ((...args: any[]) => any) | undefined;
|
|
100
|
+
"onOverflow-select"?: ((...args: any[]) => any) | undefined;
|
|
101
|
+
}>, {
|
|
4
102
|
isActive: boolean;
|
|
5
103
|
isPendingInput: boolean;
|
|
6
|
-
resolveDisabledReason: string;
|
|
7
|
-
rejectDisabledReason: string;
|
|
8
|
-
reopenDisabledReason: string;
|
|
104
|
+
resolveDisabledReason: string | null;
|
|
105
|
+
rejectDisabledReason: string | null;
|
|
106
|
+
reopenDisabledReason: string | null;
|
|
9
107
|
reopenSupported: boolean;
|
|
10
|
-
writeDisabledReason: string;
|
|
11
|
-
|
|
12
|
-
timestamp?: number | undefined;
|
|
13
|
-
$props: {
|
|
14
|
-
readonly config?: Record<string, any> | undefined;
|
|
15
|
-
readonly isActive?: boolean | undefined;
|
|
16
|
-
readonly isPendingInput?: boolean | undefined;
|
|
17
|
-
readonly resolveDisabledReason?: string | undefined;
|
|
18
|
-
readonly rejectDisabledReason?: string | undefined;
|
|
19
|
-
readonly reopenDisabledReason?: string | undefined;
|
|
20
|
-
readonly reopenSupported?: boolean | undefined;
|
|
21
|
-
readonly writeDisabledReason?: string | undefined;
|
|
22
|
-
readonly comment?: Record<string, any> | undefined;
|
|
23
|
-
readonly timestamp?: number | undefined;
|
|
24
|
-
};
|
|
25
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
108
|
+
writeDisabledReason: string | null;
|
|
109
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
26
110
|
export default _default;
|
|
@@ -1,19 +1,79 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { User } from '../../core/types/index.js';
|
|
3
|
+
import { CommentModel } from './use-comment.js';
|
|
4
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
5
|
+
users: {
|
|
6
|
+
type: PropType<readonly (User & {
|
|
7
|
+
access?: string | {
|
|
8
|
+
role?: string;
|
|
9
|
+
} | null;
|
|
10
|
+
})[]>;
|
|
11
|
+
required: false;
|
|
12
|
+
default: () => never[];
|
|
13
|
+
};
|
|
14
|
+
config: {
|
|
15
|
+
type: PropType<{
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
allowResolve?: boolean;
|
|
18
|
+
}>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
isFocused: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
includeHeader: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
comment: {
|
|
30
|
+
type: PropType<CommentModel>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
}>, {
|
|
34
|
+
focus: (options?: FocusOptions) => void;
|
|
35
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
36
|
+
focus: (...args: any[]) => void;
|
|
37
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
38
|
+
users: {
|
|
39
|
+
type: PropType<readonly (User & {
|
|
40
|
+
access?: string | {
|
|
41
|
+
role?: string;
|
|
42
|
+
} | null;
|
|
43
|
+
})[]>;
|
|
44
|
+
required: false;
|
|
45
|
+
default: () => never[];
|
|
46
|
+
};
|
|
47
|
+
config: {
|
|
48
|
+
type: PropType<{
|
|
49
|
+
readOnly?: boolean;
|
|
50
|
+
allowResolve?: boolean;
|
|
51
|
+
}>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
isFocused: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
includeHeader: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
comment: {
|
|
63
|
+
type: PropType<CommentModel>;
|
|
64
|
+
required: true;
|
|
65
|
+
};
|
|
66
|
+
}>> & Readonly<{
|
|
67
|
+
onFocus?: ((...args: any[]) => any) | undefined;
|
|
68
|
+
}>, {
|
|
5
69
|
isFocused: boolean;
|
|
6
|
-
users:
|
|
70
|
+
users: readonly (User & {
|
|
71
|
+
access?: string | {
|
|
72
|
+
role?: string;
|
|
73
|
+
} | null;
|
|
74
|
+
})[];
|
|
7
75
|
includeHeader: boolean;
|
|
8
|
-
|
|
9
|
-
$props: {
|
|
10
|
-
readonly config?: Record<string, any> | undefined;
|
|
11
|
-
readonly isFocused?: boolean | undefined;
|
|
12
|
-
readonly users?: unknown[] | undefined;
|
|
13
|
-
readonly includeHeader?: boolean | undefined;
|
|
14
|
-
readonly comment?: Record<string, any> | undefined;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
76
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
17
77
|
inputRef: HTMLTextAreaElement;
|
|
18
78
|
}, HTMLDivElement>;
|
|
19
79
|
export default _default;
|
|
@@ -1,23 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
contentStyle: Record<string, any>;
|
|
11
|
-
$props: {
|
|
12
|
-
readonly options?: unknown[] | undefined;
|
|
13
|
-
readonly disabled?: boolean | undefined;
|
|
14
|
-
readonly contentStyle?: Record<string, any> | undefined;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
17
|
-
triggerRef: HTMLDivElement;
|
|
18
|
-
menuRef: HTMLDivElement;
|
|
19
|
-
}, HTMLDivElement>;
|
|
20
|
-
type __VLS_TemplateResult = {
|
|
1
|
+
import { CSSProperties, PropType, VNodeChild } from 'vue';
|
|
2
|
+
type CommentsDropdownOption = {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
iconString?: string;
|
|
7
|
+
icon?: VNodeChild | ((option: CommentsDropdownOption) => VNodeChild);
|
|
8
|
+
};
|
|
9
|
+
declare function __VLS_template(): {
|
|
21
10
|
attrs: Partial<{}>;
|
|
22
11
|
slots: {
|
|
23
12
|
default?(_: {}): any;
|
|
@@ -28,3 +17,49 @@ type __VLS_TemplateResult = {
|
|
|
28
17
|
};
|
|
29
18
|
rootEl: HTMLDivElement;
|
|
30
19
|
};
|
|
20
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
21
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
22
|
+
options: {
|
|
23
|
+
type: PropType<readonly CommentsDropdownOption[]>;
|
|
24
|
+
default: () => never[];
|
|
25
|
+
};
|
|
26
|
+
disabled: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
contentStyle: {
|
|
31
|
+
type: PropType<CSSProperties>;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
35
|
+
select: (...args: any[]) => void;
|
|
36
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
37
|
+
options: {
|
|
38
|
+
type: PropType<readonly CommentsDropdownOption[]>;
|
|
39
|
+
default: () => never[];
|
|
40
|
+
};
|
|
41
|
+
disabled: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
contentStyle: {
|
|
46
|
+
type: PropType<CSSProperties>;
|
|
47
|
+
default: () => {};
|
|
48
|
+
};
|
|
49
|
+
}>> & Readonly<{
|
|
50
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
51
|
+
}>, {
|
|
52
|
+
options: readonly CommentsDropdownOption[];
|
|
53
|
+
disabled: boolean;
|
|
54
|
+
contentStyle: CSSProperties;
|
|
55
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
56
|
+
triggerRef: HTMLDivElement;
|
|
57
|
+
menuRef: HTMLDivElement;
|
|
58
|
+
}, HTMLDivElement>;
|
|
59
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
60
|
+
export default _default;
|
|
61
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
62
|
+
new (): {
|
|
63
|
+
$slots: S;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
@@ -1,10 +1,26 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
state: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: false;
|
|
5
|
+
};
|
|
6
|
+
isDisabled: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: (...args: any[]) => void;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
state: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
required: false;
|
|
8
16
|
};
|
|
9
|
-
|
|
17
|
+
isDisabled: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
onSelect?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}>, {
|
|
24
|
+
isDisabled: boolean;
|
|
25
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
10
26
|
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {
|
|
2
|
-
|
|
3
|
-
},
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
|
+
"anchor-activate": (...args: any[]) => void;
|
|
3
|
+
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
|
+
"onAnchor-activate"?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
4
6
|
export default _default;
|
package/dist/superdoc/src/components/CommentsLayer/commentsList/ReviewDirectoryListItem.vue.d.ts
CHANGED
|
@@ -1,16 +1,64 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { CommentModel } from '../use-comment.js';
|
|
3
|
+
export type PositionEntry = {
|
|
4
|
+
pageIndex?: number | null;
|
|
5
|
+
bounds?: {
|
|
6
|
+
top?: number;
|
|
7
|
+
bottom?: number;
|
|
8
|
+
} | null;
|
|
9
|
+
};
|
|
10
|
+
export type ReviewDirectoryItem = {
|
|
11
|
+
id: string | undefined;
|
|
12
|
+
comment: CommentModel;
|
|
13
|
+
floatingInstanceId: string | null;
|
|
14
|
+
floatingPageIndex: number | null | undefined;
|
|
15
|
+
floatingPositionEntry: PositionEntry | null;
|
|
16
|
+
isFloatingInstanceActive: boolean | undefined;
|
|
17
|
+
threadComments: CommentModel[];
|
|
18
|
+
};
|
|
19
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
20
|
+
item: {
|
|
21
|
+
type: PropType<ReviewDirectoryItem>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
index: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
total: {
|
|
29
|
+
type: NumberConstructor;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
tabIndex: {
|
|
33
|
+
type: NumberConstructor;
|
|
34
|
+
default: number;
|
|
35
|
+
};
|
|
36
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
37
|
+
navigate: (...args: any[]) => void;
|
|
38
|
+
"focus-item": (...args: any[]) => void;
|
|
39
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
40
|
+
item: {
|
|
41
|
+
type: PropType<ReviewDirectoryItem>;
|
|
42
|
+
required: true;
|
|
12
43
|
};
|
|
13
|
-
|
|
44
|
+
index: {
|
|
45
|
+
type: NumberConstructor;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
total: {
|
|
49
|
+
type: NumberConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
tabIndex: {
|
|
53
|
+
type: NumberConstructor;
|
|
54
|
+
default: number;
|
|
55
|
+
};
|
|
56
|
+
}>> & Readonly<{
|
|
57
|
+
onNavigate?: ((...args: any[]) => any) | undefined;
|
|
58
|
+
"onFocus-item"?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
}>, {
|
|
60
|
+
tabIndex: number;
|
|
61
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
14
62
|
shell: HTMLDivElement;
|
|
15
63
|
}, HTMLDivElement>;
|
|
16
64
|
export default _default;
|
|
@@ -1,11 +1,25 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{
|
|
1
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
2
|
+
showMainComments: {
|
|
3
|
+
type: BooleanConstructor;
|
|
4
|
+
default: boolean;
|
|
5
|
+
};
|
|
6
|
+
showResolvedComments: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
11
|
+
showMainComments: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
showResolvedComments: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: boolean;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
2
20
|
showMainComments: boolean;
|
|
3
21
|
showResolvedComments: boolean;
|
|
4
|
-
|
|
5
|
-
readonly showMainComments?: boolean | undefined;
|
|
6
|
-
readonly showResolvedComments?: boolean | undefined;
|
|
7
|
-
};
|
|
8
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
22
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
9
23
|
listRoot: HTMLDivElement;
|
|
10
24
|
}, HTMLDivElement>;
|
|
11
25
|
export default _default;
|
|
@@ -1,7 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { User } from '../../core/types/index.js';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
user: {
|
|
5
|
+
type: PropType<User>;
|
|
6
|
+
required: true;
|
|
5
7
|
};
|
|
6
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<
|
|
8
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
9
|
+
user: {
|
|
10
|
+
type: PropType<User>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
7
14
|
export default _default;
|
|
@@ -1,19 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { FindReplaceHandle, SurfaceComponentProps, SurfaceMode, SurfaceRequest } from '../../core/types/index.js';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
surfaceId: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
mode: {
|
|
9
|
+
type: PropType<SurfaceMode>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
request: {
|
|
13
|
+
type: PropType<SurfaceRequest>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
16
|
+
resolve: {
|
|
17
|
+
type: PropType<SurfaceComponentProps["resolve"]>;
|
|
18
|
+
default: () => void;
|
|
19
|
+
};
|
|
20
|
+
close: {
|
|
21
|
+
type: PropType<SurfaceComponentProps["close"]>;
|
|
22
|
+
default: () => void;
|
|
23
|
+
};
|
|
24
|
+
findReplace: {
|
|
25
|
+
type: PropType<FindReplaceHandle>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
surfaceId: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
mode: {
|
|
34
|
+
type: PropType<SurfaceMode>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
request: {
|
|
38
|
+
type: PropType<SurfaceRequest>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
resolve: {
|
|
42
|
+
type: PropType<SurfaceComponentProps["resolve"]>;
|
|
43
|
+
default: () => void;
|
|
44
|
+
};
|
|
45
|
+
close: {
|
|
46
|
+
type: PropType<SurfaceComponentProps["close"]>;
|
|
47
|
+
default: () => void;
|
|
48
|
+
};
|
|
49
|
+
findReplace: {
|
|
50
|
+
type: PropType<FindReplaceHandle>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{}>, {
|
|
54
|
+
close: (reason?: unknown) => void;
|
|
55
|
+
mode: SurfaceMode;
|
|
56
|
+
resolve: (data?: unknown) => void;
|
|
57
|
+
request: SurfaceRequest;
|
|
6
58
|
surfaceId: string;
|
|
7
|
-
|
|
8
|
-
$props: {
|
|
9
|
-
readonly close?: Function | undefined;
|
|
10
|
-
readonly mode?: string | undefined;
|
|
11
|
-
readonly resolve?: Function | undefined;
|
|
12
|
-
readonly request?: Record<string, any> | undefined;
|
|
13
|
-
readonly surfaceId?: string | undefined;
|
|
14
|
-
readonly findReplace?: Record<string, any> | undefined;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
17
60
|
findInputRef: HTMLInputElement;
|
|
18
61
|
}, HTMLDivElement>;
|
|
19
62
|
export default _default;
|
|
@@ -1,17 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PasswordPromptHandle, SurfaceComponentProps, SurfaceMode, SurfaceRequest } from '../../core/types/index.js';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
surfaceId: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
mode: {
|
|
9
|
+
type: PropType<SurfaceMode>;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
12
|
+
request: {
|
|
13
|
+
type: PropType<SurfaceRequest>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
16
|
+
resolve: {
|
|
17
|
+
type: PropType<SurfaceComponentProps["resolve"]>;
|
|
18
|
+
default: () => void;
|
|
19
|
+
};
|
|
20
|
+
close: {
|
|
21
|
+
type: PropType<SurfaceComponentProps["close"]>;
|
|
22
|
+
default: () => void;
|
|
23
|
+
};
|
|
24
|
+
passwordPrompt: {
|
|
25
|
+
type: PropType<PasswordPromptHandle>;
|
|
26
|
+
required: true;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
29
|
+
surfaceId: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
mode: {
|
|
34
|
+
type: PropType<SurfaceMode>;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
request: {
|
|
38
|
+
type: PropType<SurfaceRequest>;
|
|
39
|
+
default: () => {};
|
|
40
|
+
};
|
|
41
|
+
resolve: {
|
|
42
|
+
type: PropType<SurfaceComponentProps["resolve"]>;
|
|
43
|
+
default: () => void;
|
|
44
|
+
};
|
|
45
|
+
close: {
|
|
46
|
+
type: PropType<SurfaceComponentProps["close"]>;
|
|
47
|
+
default: () => void;
|
|
48
|
+
};
|
|
49
|
+
passwordPrompt: {
|
|
50
|
+
type: PropType<PasswordPromptHandle>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
}>> & Readonly<{}>, {
|
|
54
|
+
close: (reason?: unknown) => void;
|
|
55
|
+
mode: SurfaceMode;
|
|
56
|
+
resolve: (data?: unknown) => void;
|
|
57
|
+
request: SurfaceRequest;
|
|
6
58
|
surfaceId: string;
|
|
7
|
-
|
|
8
|
-
$props: {
|
|
9
|
-
readonly close?: Function | undefined;
|
|
10
|
-
readonly mode?: string | undefined;
|
|
11
|
-
readonly resolve?: Function | undefined;
|
|
12
|
-
readonly request?: Record<string, any> | undefined;
|
|
13
|
-
readonly surfaceId?: string | undefined;
|
|
14
|
-
readonly passwordPrompt?: Record<string, any> | undefined;
|
|
15
|
-
};
|
|
16
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
59
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
17
60
|
export default _default;
|