superdoc 2.28.0-next.9 → 2.29.0-next.1
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-8V8AjgR4.cjs → FindReplaceSurface-BRs3JrCq.cjs} +1 -1
- package/dist/chunks/{FindReplaceSurface-RUiTFDt3.es.js → FindReplaceSurface-Dm043CZP.es.js} +1 -1
- package/dist/chunks/{PasswordPromptSurface-B5DHV6qr.cjs → PasswordPromptSurface-BpqP4pUa.cjs} +1 -1
- package/dist/chunks/{PasswordPromptSurface-BDpxqdzp.es.js → PasswordPromptSurface-DGjmN7A-.es.js} +1 -1
- package/dist/chunks/{PdfViewer-DjdsIh6n.es.js → PdfViewer-D4lVeOJu.es.js} +4 -3
- package/dist/chunks/{PdfViewer-omriDChK.cjs → PdfViewer-boENOZdF.cjs} +4 -3
- package/dist/chunks/{_plugin-vue_export-helper-BUdjGKyl.cjs → _plugin-vue_export-helper-6MBoygIY.cjs} +9 -0
- package/dist/chunks/{_plugin-vue_export-helper-7ZiLY07t.es.js → _plugin-vue_export-helper-CsJQtMvr.es.js} +4 -1
- package/dist/chunks/{create-super-doc-ui-B4c55pFy.cjs → create-super-doc-ui-0OA8hCNb.cjs} +390 -44
- package/dist/chunks/{create-super-doc-ui-C4Ka5Ph3.es.js → create-super-doc-ui-Duf65d0b.es.js} +357 -41
- package/dist/chunks/is-finite-number-BEXgTRgc.cjs +11 -0
- package/dist/chunks/is-finite-number-BpL4F38c.es.js +6 -0
- 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 +3 -3
- package/dist/document-api/src/contract/operation-definitions.d.ts +2 -2
- package/dist/document-api/src/index.d.ts +1 -1
- package/dist/document-api/src/lists/lists.d.ts +79 -79
- package/dist/document-api/src/lists/lists.types.d.ts +1 -0
- package/dist/document-api/src/sections/sections.types.d.ts +5 -1
- package/dist/document-api/src/types/clipboard.d.ts +5 -1
- package/dist/document-api/src/types/receipt.d.ts +2 -1
- package/dist/document-api/src/write/write.d.ts +10 -9
- package/dist/layout-engine/contracts/src/index.d.ts +5 -1
- package/dist/layout-engine/contracts/src/run-helpers.d.ts +1 -0
- package/dist/layout-engine/layout-bridge/src/index.d.ts +1 -0
- package/dist/layout-engine/layout-bridge/src/place-inline-drawings.d.ts +9 -0
- package/dist/layout-engine/layout-engine/src/layout-drawing.d.ts +2 -1
- package/dist/layout-engine/layout-engine/src/paginator.d.ts +1 -0
- package/dist/layout-engine/painters/dom/src/page-content.d.ts +1 -1
- package/dist/layout-engine/painters/dom/src/persistent-page-surface.d.ts +2 -0
- package/dist/layout-engine/style-engine/src/ooxml/index.d.ts +1 -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 +3 -2
- package/dist/public/ui.es.js +3 -2
- package/dist/shared/font-system/src/resolver.d.ts +3 -3
- package/dist/style.css +1 -1
- package/dist/style.layered.css +1 -1
- package/dist/superdoc/src/SuperDoc.vue.d.ts +5 -3
- package/dist/superdoc/src/components/CommentsLayer/CommentDialog.vue.d.ts +1670 -24
- package/dist/superdoc/src/components/CommentsLayer/CommentHeader.vue.d.ts +2 -2
- package/dist/superdoc/src/components/CommentsLayer/CommentInput.vue.d.ts +2 -2
- package/dist/superdoc/src/components/CommentsLayer/FloatingComments.vue.d.ts +24 -0
- package/dist/superdoc/src/components/CommentsLayer/PdfCommentsLayer.vue.d.ts +4 -0
- package/dist/superdoc/src/components/general/Avatar.vue.d.ts +7 -0
- package/dist/superdoc/src/components/surfaces/SurfaceDialog.vue.d.ts +27 -9
- package/dist/superdoc/src/components/surfaces/SurfaceExternalMount.vue.d.ts +53 -16
- package/dist/superdoc/src/composables/use-high-contrast-mode.d.ts +8 -4
- package/dist/superdoc/src/composables/use-link-popover.d.ts +3 -3
- package/dist/superdoc/src/composables/use-superdoc-instance.d.ts +10 -0
- package/dist/superdoc/src/core/SuperDoc.d.ts +2 -6
- package/dist/superdoc/src/core/collaboration/helpers.d.ts +0 -5
- package/dist/superdoc/src/core/collaboration/permissions.d.ts +1 -0
- package/dist/superdoc/src/core/collaboration/resolve-v2-collaboration-target.d.ts +2 -1
- package/dist/superdoc/src/core/create-app.d.ts +2 -6
- package/dist/superdoc/src/core/editor-runtime/types.d.ts +2 -0
- package/dist/superdoc/src/core/editor-runtime/v2/v2-editor-runtime-adapter.d.ts +2 -0
- package/dist/superdoc/src/core/types/index.d.ts +10 -4
- package/dist/superdoc/src/core/v2-integration/internal-vue-runtime.d.ts +1 -0
- package/dist/superdoc/src/core/v2-integration/v2-integration.d.ts +104 -84
- package/dist/superdoc/src/helpers/is-finite-number.d.ts +1 -0
- package/dist/superdoc/src/helpers/v2-review-mutation-impact.d.ts +2 -0
- package/dist/superdoc/src/internal/diagnostics/diagnostic-dedupe.d.ts +2 -2
- package/dist/superdoc/src/internal/diagnostics/translate-diagnostic.d.ts +5 -0
- package/dist/superdoc/src/internal/toolbar/built-in/AIWriter.vue.d.ts +2 -2
- package/dist/superdoc/src/internal/toolbar/built-in/LinkInput.vue.d.ts +181 -36
- package/dist/superdoc/src/internal/toolbar/built-in/LinkedStyle.vue.d.ts +39 -10
- package/dist/superdoc/src/internal/toolbar/built-in/PageNumberMenu.vue.d.ts +133 -22
- package/dist/superdoc/src/internal/toolbar/built-in/SdTooltip.vue.d.ts +62 -23
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButton.vue.d.ts +101 -16
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarButtonIcon.vue.d.ts +31 -10
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarComboBox.vue.d.ts +82 -11
- package/dist/superdoc/src/internal/toolbar/built-in/ToolbarDropdown.vue.d.ts +122 -33
- package/dist/superdoc/src/internal/toolbar/built-in/constants.d.ts +0 -48
- package/dist/superdoc/src/internal/toolbar/built-in/use-toolbar-item.d.ts +0 -1
- package/dist/superdoc/src/internal/toolbar/built-in-toolbar.d.ts +4 -1
- package/dist/superdoc/src/internal/toolbar/compatibility-catalog.d.ts +16 -0
- package/dist/superdoc/src/public/ui/types.d.ts +39 -1
- package/dist/superdoc/src/public/ui.d.cts +12 -0
- package/dist/superdoc/src/public/ui.d.ts +1 -1
- package/dist/superdoc/src/stores/comments-store.d.ts +158 -125
- package/dist/superdoc/src/stores/superdoc-store.d.ts +475 -376
- package/dist/superdoc.cjs +561 -1843
- package/dist/superdoc.es.js +766 -13144
- 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 +4 -3
- package/dist/superdoc/src/core/collaboration/collaboration.d.ts +0 -18
- package/dist/superdoc/src/helpers/group-changes.d.ts +0 -1
- package/dist/superdoc/src/internal/toolbar/built-in/OverflowMenu.vue.d.ts +0 -104
|
@@ -1,11 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
3
|
+
name: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
color: {
|
|
8
|
+
type: PropType<string | null>;
|
|
9
|
+
default: null;
|
|
10
|
+
};
|
|
11
|
+
icon: {
|
|
12
|
+
type: PropType<string | null>;
|
|
13
|
+
default: null;
|
|
14
|
+
};
|
|
15
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
16
|
+
name: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
color: {
|
|
21
|
+
type: PropType<string | null>;
|
|
22
|
+
default: null;
|
|
23
|
+
};
|
|
24
|
+
icon: {
|
|
25
|
+
type: PropType<string | null>;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
}>> & Readonly<{}>, {
|
|
29
|
+
color: string | null;
|
|
30
|
+
icon: string | null;
|
|
31
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
11
32
|
export default _default;
|
|
@@ -1,16 +1,87 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { CSSProperties, PropType, Ref, StyleValue } from 'vue';
|
|
2
|
+
interface ComboBoxOption {
|
|
3
|
+
key: string;
|
|
4
|
+
label: string;
|
|
5
|
+
value?: string;
|
|
6
|
+
props?: {
|
|
7
|
+
style?: CSSProperties;
|
|
8
|
+
[key: string]: unknown;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
interface ComboBoxItem {
|
|
12
|
+
id?: Ref<string>;
|
|
13
|
+
name?: Ref<string>;
|
|
14
|
+
label?: Ref<string | number | null | undefined>;
|
|
15
|
+
disabled?: Ref<boolean | undefined>;
|
|
16
|
+
attributes?: Ref<{
|
|
17
|
+
ariaLabel?: string;
|
|
18
|
+
} | undefined>;
|
|
19
|
+
nestedOptions?: Ref<ComboBoxOption[]>;
|
|
20
|
+
selectedValue: Ref<string | undefined>;
|
|
21
|
+
expand?: Ref<boolean>;
|
|
22
|
+
style?: Ref<StyleValue | undefined>;
|
|
23
|
+
}
|
|
24
|
+
interface TabOutTarget {
|
|
25
|
+
shiftKey: boolean;
|
|
26
|
+
target: HTMLInputElement | null;
|
|
27
|
+
}
|
|
28
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
29
|
+
item: {
|
|
30
|
+
type: PropType<ComboBoxItem>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
uiFontFamily: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
showPreview: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
normalizeValue: {
|
|
42
|
+
type: PropType<(value: string) => string>;
|
|
43
|
+
default: (value: string) => string;
|
|
44
|
+
};
|
|
45
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
46
|
+
command: (payload: {
|
|
47
|
+
item: ComboBoxItem;
|
|
48
|
+
argument: string;
|
|
49
|
+
option: ComboBoxOption | null;
|
|
50
|
+
}) => any;
|
|
51
|
+
"item-clicked": () => any;
|
|
52
|
+
"tab-out": (event: KeyboardEvent | TabOutTarget) => any;
|
|
53
|
+
"editor-handoff": () => any;
|
|
54
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
55
|
+
item: {
|
|
56
|
+
type: PropType<ComboBoxItem>;
|
|
57
|
+
required: true;
|
|
58
|
+
};
|
|
59
|
+
uiFontFamily: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
showPreview: {
|
|
64
|
+
type: BooleanConstructor;
|
|
65
|
+
default: boolean;
|
|
66
|
+
};
|
|
67
|
+
normalizeValue: {
|
|
68
|
+
type: PropType<(value: string) => string>;
|
|
69
|
+
default: (value: string) => string;
|
|
70
|
+
};
|
|
71
|
+
}>> & Readonly<{
|
|
72
|
+
onCommand?: ((payload: {
|
|
73
|
+
item: ComboBoxItem;
|
|
74
|
+
argument: string;
|
|
75
|
+
option: ComboBoxOption | null;
|
|
76
|
+
}) => any) | undefined;
|
|
77
|
+
"onItem-clicked"?: (() => any) | undefined;
|
|
78
|
+
"onTab-out"?: ((event: KeyboardEvent | TabOutTarget) => any) | undefined;
|
|
79
|
+
"onEditor-handoff"?: (() => any) | undefined;
|
|
80
|
+
}>, {
|
|
4
81
|
uiFontFamily: string;
|
|
5
82
|
showPreview: boolean;
|
|
6
|
-
normalizeValue:
|
|
7
|
-
|
|
8
|
-
readonly item?: Record<string, any> | undefined;
|
|
9
|
-
readonly uiFontFamily?: string | undefined;
|
|
10
|
-
readonly showPreview?: boolean | undefined;
|
|
11
|
-
readonly normalizeValue?: Function | undefined;
|
|
12
|
-
};
|
|
13
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
83
|
+
normalizeValue: (value: string) => string;
|
|
84
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
14
85
|
rootRef: HTMLDivElement;
|
|
15
86
|
inputRef: HTMLInputElement;
|
|
16
87
|
popupRef: HTMLDivElement;
|
|
@@ -1,36 +1,22 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
readonly options?: unknown[] | undefined;
|
|
21
|
-
readonly disabled?: boolean | undefined;
|
|
22
|
-
readonly contentStyle?: Record<string, any> | undefined;
|
|
23
|
-
readonly show?: boolean | undefined;
|
|
24
|
-
readonly menuProps?: Function | undefined;
|
|
25
|
-
readonly nodeProps?: Function | undefined;
|
|
26
|
-
readonly closeOnEscape?: boolean | undefined;
|
|
27
|
-
readonly hasOpenChild?: boolean | undefined;
|
|
28
|
-
};
|
|
29
|
-
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
30
|
-
triggerRef: HTMLDivElement;
|
|
31
|
-
menuRef: HTMLDivElement;
|
|
32
|
-
}, HTMLDivElement>;
|
|
33
|
-
type __VLS_TemplateResult = {
|
|
1
|
+
import { CSSProperties, PropType } from 'vue';
|
|
2
|
+
interface DropdownOption {
|
|
3
|
+
key?: string | number;
|
|
4
|
+
label?: string;
|
|
5
|
+
type?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
class?: unknown;
|
|
8
|
+
props?: Record<string, unknown>;
|
|
9
|
+
icon?: string | object | ((option: DropdownOption) => unknown);
|
|
10
|
+
render?: () => unknown;
|
|
11
|
+
}
|
|
12
|
+
interface DropdownMenuProps {
|
|
13
|
+
class?: unknown;
|
|
14
|
+
style?: CSSProperties;
|
|
15
|
+
[attribute: string]: unknown;
|
|
16
|
+
}
|
|
17
|
+
type MenuPropsFactory = () => DropdownMenuProps | null | undefined;
|
|
18
|
+
type NodePropsFactory = (option: DropdownOption) => Record<string, unknown> | null | undefined;
|
|
19
|
+
declare function __VLS_template(): {
|
|
34
20
|
attrs: Partial<{}>;
|
|
35
21
|
slots: {
|
|
36
22
|
trigger?(_: {}): any;
|
|
@@ -42,3 +28,106 @@ type __VLS_TemplateResult = {
|
|
|
42
28
|
};
|
|
43
29
|
rootEl: HTMLDivElement;
|
|
44
30
|
};
|
|
31
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
32
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
33
|
+
options: {
|
|
34
|
+
type: PropType<DropdownOption[]>;
|
|
35
|
+
default: () => never[];
|
|
36
|
+
};
|
|
37
|
+
show: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
placement: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
disabled: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
contentStyle: {
|
|
50
|
+
type: PropType<CSSProperties>;
|
|
51
|
+
default: () => {};
|
|
52
|
+
};
|
|
53
|
+
menuProps: {
|
|
54
|
+
type: PropType<MenuPropsFactory>;
|
|
55
|
+
default: null;
|
|
56
|
+
};
|
|
57
|
+
nodeProps: {
|
|
58
|
+
type: PropType<NodePropsFactory>;
|
|
59
|
+
default: null;
|
|
60
|
+
};
|
|
61
|
+
closeOnEscape: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
hasOpenChild: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}>, {
|
|
70
|
+
focusTrigger: () => void;
|
|
71
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
72
|
+
select: (key: string | number | undefined, option: DropdownOption) => any;
|
|
73
|
+
"update:show": (value: boolean) => any;
|
|
74
|
+
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
75
|
+
options: {
|
|
76
|
+
type: PropType<DropdownOption[]>;
|
|
77
|
+
default: () => never[];
|
|
78
|
+
};
|
|
79
|
+
show: {
|
|
80
|
+
type: BooleanConstructor;
|
|
81
|
+
required: true;
|
|
82
|
+
};
|
|
83
|
+
placement: {
|
|
84
|
+
type: StringConstructor;
|
|
85
|
+
default: string;
|
|
86
|
+
};
|
|
87
|
+
disabled: {
|
|
88
|
+
type: BooleanConstructor;
|
|
89
|
+
default: boolean;
|
|
90
|
+
};
|
|
91
|
+
contentStyle: {
|
|
92
|
+
type: PropType<CSSProperties>;
|
|
93
|
+
default: () => {};
|
|
94
|
+
};
|
|
95
|
+
menuProps: {
|
|
96
|
+
type: PropType<MenuPropsFactory>;
|
|
97
|
+
default: null;
|
|
98
|
+
};
|
|
99
|
+
nodeProps: {
|
|
100
|
+
type: PropType<NodePropsFactory>;
|
|
101
|
+
default: null;
|
|
102
|
+
};
|
|
103
|
+
closeOnEscape: {
|
|
104
|
+
type: BooleanConstructor;
|
|
105
|
+
default: boolean;
|
|
106
|
+
};
|
|
107
|
+
hasOpenChild: {
|
|
108
|
+
type: BooleanConstructor;
|
|
109
|
+
default: boolean;
|
|
110
|
+
};
|
|
111
|
+
}>> & Readonly<{
|
|
112
|
+
onSelect?: ((key: string | number | undefined, option: DropdownOption) => any) | undefined;
|
|
113
|
+
"onUpdate:show"?: ((value: boolean) => any) | undefined;
|
|
114
|
+
}>, {
|
|
115
|
+
placement: string;
|
|
116
|
+
options: DropdownOption[];
|
|
117
|
+
disabled: boolean;
|
|
118
|
+
contentStyle: CSSProperties;
|
|
119
|
+
menuProps: MenuPropsFactory;
|
|
120
|
+
nodeProps: NodePropsFactory;
|
|
121
|
+
closeOnEscape: boolean;
|
|
122
|
+
hasOpenChild: boolean;
|
|
123
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
124
|
+
triggerRef: HTMLDivElement;
|
|
125
|
+
menuRef: HTMLDivElement;
|
|
126
|
+
}, HTMLDivElement>;
|
|
127
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
128
|
+
export default _default;
|
|
129
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
130
|
+
new (): {
|
|
131
|
+
$slots: S;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
@@ -49,51 +49,3 @@ export namespace RESPONSIVE_BREAKPOINTS {
|
|
|
49
49
|
let lg: number;
|
|
50
50
|
let xl: number;
|
|
51
51
|
}
|
|
52
|
-
export namespace HEADLESS_ITEM_MAP {
|
|
53
|
-
let undo: string;
|
|
54
|
-
let redo: string;
|
|
55
|
-
let bold: string;
|
|
56
|
-
let italic: string;
|
|
57
|
-
let underline: string;
|
|
58
|
-
let strike: string;
|
|
59
|
-
let acceptTrackedChangeBySelection: string;
|
|
60
|
-
let rejectTrackedChangeOnSelection: string;
|
|
61
|
-
let ruler: string;
|
|
62
|
-
let formattingMarks: string;
|
|
63
|
-
let zoom: string;
|
|
64
|
-
let measurementUnit: string;
|
|
65
|
-
let documentMode: string;
|
|
66
|
-
let link: string;
|
|
67
|
-
let fontFamily: string;
|
|
68
|
-
let fontSize: string;
|
|
69
|
-
let list: string;
|
|
70
|
-
let numberedlist: string;
|
|
71
|
-
let table: string;
|
|
72
|
-
let image: string;
|
|
73
|
-
let tableOfContents: string;
|
|
74
|
-
let color: string;
|
|
75
|
-
let highlight: string;
|
|
76
|
-
let textAlign: string;
|
|
77
|
-
let lineHeight: string;
|
|
78
|
-
let linkedStyles: string;
|
|
79
|
-
let indentleft: string;
|
|
80
|
-
let indentright: string;
|
|
81
|
-
let directionLtr: string;
|
|
82
|
-
let directionRtl: string;
|
|
83
|
-
let clearFormatting: string;
|
|
84
|
-
let copyFormat: string;
|
|
85
|
-
}
|
|
86
|
-
export namespace TABLE_ACTION_COMMAND_MAP {
|
|
87
|
-
let addRowBefore: string;
|
|
88
|
-
let addRowAfter: string;
|
|
89
|
-
let deleteRow: string;
|
|
90
|
-
let addColumnBefore: string;
|
|
91
|
-
let addColumnAfter: string;
|
|
92
|
-
let deleteColumn: string;
|
|
93
|
-
let deleteTable: string;
|
|
94
|
-
let deleteCellAndTableBorders: string;
|
|
95
|
-
let mergeCells: string;
|
|
96
|
-
let splitCell: string;
|
|
97
|
-
let fixTables: string;
|
|
98
|
-
}
|
|
99
|
-
export const TABLE_ACTION_COMMAND_IDS: string[];
|
|
@@ -23,7 +23,6 @@ export function useToolbarItem(options: any): {
|
|
|
23
23
|
style: import('vue').Ref<any, any>;
|
|
24
24
|
isNarrow: import('vue').Ref<any, any>;
|
|
25
25
|
isWide: import('vue').Ref<any, any>;
|
|
26
|
-
minWidth: import('vue').Ref<any, any>;
|
|
27
26
|
layoutWidth: import('vue').Ref<any, any>;
|
|
28
27
|
argument: import('vue').Ref<any, any>;
|
|
29
28
|
parentItem: import('vue').Ref<null, null>;
|
|
@@ -2,6 +2,7 @@ import { EventEmitter } from 'eventemitter3';
|
|
|
2
2
|
import { App, ComponentPublicInstance, Ref } from 'vue';
|
|
3
3
|
import { Editor, SuperDoc, ToolbarCustomButton, ToolbarFontOption } from '../../core/types/index.js';
|
|
4
4
|
import { BorrowedSuperDocUI, CustomCommandRegistrationResult, StyleCatalogItem, ToolbarSnapshotSlice } from '../../public/ui/types.js';
|
|
5
|
+
import { HighContrastMode } from '../../composables/use-high-contrast-mode.js';
|
|
5
6
|
interface ToolbarItem {
|
|
6
7
|
type: string;
|
|
7
8
|
name: Ref<string>;
|
|
@@ -61,6 +62,7 @@ type BuiltInToolbarOptions = {
|
|
|
61
62
|
hideButtons?: boolean;
|
|
62
63
|
responsiveToContainer?: boolean;
|
|
63
64
|
uiDisplayFallbackFont?: string;
|
|
65
|
+
highContrastMode: HighContrastMode;
|
|
64
66
|
[option: string]: unknown;
|
|
65
67
|
};
|
|
66
68
|
/**
|
|
@@ -89,7 +91,7 @@ export declare class BuiltInToolbar extends EventEmitter {
|
|
|
89
91
|
_customCommandRegs: Map<string, CustomCommandRegistrationResult<CustomButtonPayload>>;
|
|
90
92
|
_reportedInvalidCustomItems: Set<string>;
|
|
91
93
|
_lastFontOptionsSignature: string;
|
|
92
|
-
constructor(config
|
|
94
|
+
constructor(config: BuiltInToolbarOptions);
|
|
93
95
|
getAvailableWidth(): number;
|
|
94
96
|
getToolbarItemByGroup(groupName: string): ToolbarItem[];
|
|
95
97
|
getToolbarItemByName(name: string): ToolbarItem | undefined;
|
|
@@ -120,6 +122,7 @@ export declare class BuiltInToolbar extends EventEmitter {
|
|
|
120
122
|
*/
|
|
121
123
|
setActiveEditor(editor: Editor | null): void;
|
|
122
124
|
onToolbarResize: () => void;
|
|
125
|
+
isCommandEnabled(commandId: string | undefined): boolean;
|
|
123
126
|
updateToolbarState(): void;
|
|
124
127
|
/**
|
|
125
128
|
* Main toolbar command entry point used by the rendered components.
|
|
@@ -31,6 +31,21 @@ export interface BuiltInToolbarItemEntry {
|
|
|
31
31
|
*/
|
|
32
32
|
readonly note?: string;
|
|
33
33
|
}
|
|
34
|
+
export declare const TABLE_ACTION_COMMAND_IDS_BY_OPTION: {
|
|
35
|
+
readonly addRowBefore: "table-add-row-before";
|
|
36
|
+
readonly addRowAfter: "table-add-row-after";
|
|
37
|
+
readonly deleteRow: "table-delete-row";
|
|
38
|
+
readonly addColumnBefore: "table-add-column-before";
|
|
39
|
+
readonly addColumnAfter: "table-add-column-after";
|
|
40
|
+
readonly deleteColumn: "table-delete-column";
|
|
41
|
+
readonly deleteTable: "table-delete";
|
|
42
|
+
readonly deleteCellAndTableBorders: "table-remove-borders";
|
|
43
|
+
readonly mergeCells: "table-merge-cells";
|
|
44
|
+
readonly splitCell: "table-split-cell";
|
|
45
|
+
readonly fixTables: "table-fix";
|
|
46
|
+
};
|
|
47
|
+
export declare const TABLE_ACTION_COMMAND_IDS: readonly string[];
|
|
48
|
+
export declare function tableActionCommandId(option: string): string | undefined;
|
|
34
49
|
/**
|
|
35
50
|
* The built-in toolbar compatibility catalog. Order groups items the way the
|
|
36
51
|
* docs present them; it is documentation-only.
|
|
@@ -51,6 +66,7 @@ export declare function listBuiltInToolbarItemsByGroup(group: ToolbarGroup): Bui
|
|
|
51
66
|
* id, or `null` when the item is not controller-routed.
|
|
52
67
|
*/
|
|
53
68
|
export declare function resolveToolbarCommandId(name: string): string | null;
|
|
69
|
+
export declare function resolveBuiltInItemCommandId(name: string): string | null;
|
|
54
70
|
/**
|
|
55
71
|
* Cross-check the catalog against the V2 command controller catalog so the two
|
|
56
72
|
* cannot drift. Throws on the first inconsistency. Exercised by the unit tests;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CommentsListQuery as DocumentApiCommentsListQuery, CommentsListResult, TrackChangesListResult, EntityAddress, TextAddress, BookmarkAddress, TextTarget, ScrollIntoViewInput, ScrollIntoViewOutput, SelectionInfo, SelectionTarget, Receipt, ReceiptFailureCode, ContentControlInfo, ContentControlTarget, StyleCatalogItem, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult } from '../../../../document-api/src/index.js';
|
|
1
|
+
import { CommentsListQuery as DocumentApiCommentsListQuery, CommentsListResult, TrackChangesListResult, EntityAddress, TextAddress, BookmarkAddress, TextTarget, ScrollIntoViewInput, ScrollIntoViewOutput, SelectionInfo, SelectionTarget, Receipt, ReceiptFailureCode, ContentControlInfo, ContentControlTarget, StyleCatalogItem, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, StoryLocator as DocumentStoryLocator } from '../../../../document-api/src/index.js';
|
|
2
2
|
import { BrowserDocumentApi, PartialBrowserDocumentApi } from '../browser-document-api.js';
|
|
3
3
|
import { ExportParams } from '../export-types.js';
|
|
4
4
|
import { SuperDocVisualHandle, SuperDocVisualOptions } from '../../core/extensions/types.js';
|
|
@@ -671,6 +671,25 @@ export interface ZoomSlice {
|
|
|
671
671
|
/** @deprecated Fit-width upper bound alias. Use `fitWidth.max`; this does not limit manual zoom. */
|
|
672
672
|
max: number;
|
|
673
673
|
}
|
|
674
|
+
export interface HistorySlice {
|
|
675
|
+
canUndo: boolean;
|
|
676
|
+
canRedo: boolean;
|
|
677
|
+
undoDepth: number;
|
|
678
|
+
redoDepth: number;
|
|
679
|
+
}
|
|
680
|
+
export interface SuperDocDocumentChange {
|
|
681
|
+
documentEpoch: string;
|
|
682
|
+
seq: number;
|
|
683
|
+
cause: 'user' | 'api' | 'undo' | 'redo' | 'remote';
|
|
684
|
+
changeTag: string | null;
|
|
685
|
+
txId: string | null;
|
|
686
|
+
scope: {
|
|
687
|
+
kind: 'known';
|
|
688
|
+
stories: DocumentStoryLocator[];
|
|
689
|
+
} | {
|
|
690
|
+
kind: 'unknown';
|
|
691
|
+
};
|
|
692
|
+
}
|
|
674
693
|
/** Document-level state slice. */
|
|
675
694
|
export interface DocumentSlice {
|
|
676
695
|
/** The active editor is ready. */
|
|
@@ -1217,6 +1236,7 @@ export interface ToolbarHandle extends SnapshotSubscribable<ToolbarSnapshotSlice
|
|
|
1217
1236
|
/** Execute a toolbar command by id and await its settled result. */
|
|
1218
1237
|
executeAsync(id: ToolbarCommandId, payload?: unknown): Promise<CommandExecutionResult>;
|
|
1219
1238
|
}
|
|
1239
|
+
export type HistoryHandle = SnapshotSubscribable<HistorySlice>;
|
|
1220
1240
|
/** Zoom handle. */
|
|
1221
1241
|
export interface ZoomHandle extends SnapshotSubscribable<ZoomSlice> {
|
|
1222
1242
|
/** Set an absolute zoom percentage (100 = 100%). */
|
|
@@ -1238,6 +1258,21 @@ export interface DocumentHandle extends SnapshotSubscribable<DocumentSlice> {
|
|
|
1238
1258
|
replaceFile(file: File | Blob | ArrayBuffer | Uint8Array): Promise<unknown> | undefined;
|
|
1239
1259
|
/** Replace mounted content. Operational errors reject; an unavailable host returns `ok: false`. */
|
|
1240
1260
|
replaceDocument(file: File | Blob | ArrayBuffer | Uint8Array): Promise<DocumentReplacementResult>;
|
|
1261
|
+
onChange(listener: (change: SuperDocDocumentChange) => void): () => void;
|
|
1262
|
+
getVersion(): DocumentVersion | null;
|
|
1263
|
+
markClean(version?: DocumentVersion): DocumentMarkCleanResult;
|
|
1264
|
+
}
|
|
1265
|
+
export type DocumentVersion = string & {
|
|
1266
|
+
readonly __documentVersion: unique symbol;
|
|
1267
|
+
};
|
|
1268
|
+
export type DocumentMarkCleanResult = {
|
|
1269
|
+
ok: true;
|
|
1270
|
+
} | {
|
|
1271
|
+
ok: false;
|
|
1272
|
+
reason: 'document-changed' | 'unavailable';
|
|
1273
|
+
};
|
|
1274
|
+
export interface ScopedDocumentHandle {
|
|
1275
|
+
onChange(listener: (change: SuperDocDocumentChange) => void): () => void;
|
|
1241
1276
|
}
|
|
1242
1277
|
/** Viewport handle. */
|
|
1243
1278
|
export interface ViewportHandle {
|
|
@@ -1589,6 +1624,7 @@ export interface SuperDocUIState {
|
|
|
1589
1624
|
contentControls: ContentControlsSlice;
|
|
1590
1625
|
/** Zoom slice. */
|
|
1591
1626
|
zoom: ZoomSlice;
|
|
1627
|
+
history: HistorySlice;
|
|
1592
1628
|
/** Fonts slice. */
|
|
1593
1629
|
fonts: FontsSlice;
|
|
1594
1630
|
/** Styles slice (read-only catalogue + active paragraph style). */
|
|
@@ -1618,6 +1654,7 @@ export interface SuperDocUIScope {
|
|
|
1618
1654
|
/** Subscribe within the scope. */
|
|
1619
1655
|
select<TSlice>(selector: SelectorFn<SuperDocUIState, TSlice>, equality?: EqualityFn<TSlice>): Subscribable<TSlice>;
|
|
1620
1656
|
readonly decorations: DecorationsHandle;
|
|
1657
|
+
readonly document: ScopedDocumentHandle;
|
|
1621
1658
|
/** Dispose every subscription created within the scope. */
|
|
1622
1659
|
dispose(): void;
|
|
1623
1660
|
}
|
|
@@ -1650,6 +1687,7 @@ export interface SuperDocUI {
|
|
|
1650
1687
|
readonly fonts: FontsHandle;
|
|
1651
1688
|
/** Zoom surface. */
|
|
1652
1689
|
readonly zoom: ZoomHandle;
|
|
1690
|
+
readonly history: HistoryHandle;
|
|
1653
1691
|
/** Document surface. */
|
|
1654
1692
|
readonly document: DocumentHandle;
|
|
1655
1693
|
/** Viewport / geometry surface. */
|
|
@@ -39,15 +39,19 @@ import type { DocumentApi as __Cjs_DocumentApi } from './ui.js' with { "resoluti
|
|
|
39
39
|
import type { DocumentApiRejectionDetails as __Cjs_DocumentApiRejectionDetails } from './ui.js' with { "resolution-mode": "import" };
|
|
40
40
|
import type { DocumentApiRejectionReason as __Cjs_DocumentApiRejectionReason } from './ui.js' with { "resolution-mode": "import" };
|
|
41
41
|
import type { DocumentHandle as __Cjs_DocumentHandle } from './ui.js' with { "resolution-mode": "import" };
|
|
42
|
+
import type { DocumentMarkCleanResult as __Cjs_DocumentMarkCleanResult } from './ui.js' with { "resolution-mode": "import" };
|
|
42
43
|
import type { DocumentReplacementResult as __Cjs_DocumentReplacementResult } from './ui.js' with { "resolution-mode": "import" };
|
|
43
44
|
import type { DocumentSlice as __Cjs_DocumentSlice } from './ui.js' with { "resolution-mode": "import" };
|
|
44
45
|
import type { DocumentStoryLocator as __Cjs_DocumentStoryLocator } from './ui.js' with { "resolution-mode": "import" };
|
|
46
|
+
import type { DocumentVersion as __Cjs_DocumentVersion } from './ui.js' with { "resolution-mode": "import" };
|
|
45
47
|
import type { EntityAddress as __Cjs_EntityAddress } from './ui.js' with { "resolution-mode": "import" };
|
|
46
48
|
import type { EqualityFn as __Cjs_EqualityFn } from './ui.js' with { "resolution-mode": "import" };
|
|
47
49
|
import type { FontFamilyOption as __Cjs_FontFamilyOption } from './ui.js' with { "resolution-mode": "import" };
|
|
48
50
|
import type { FontsHandle as __Cjs_FontsHandle } from './ui.js' with { "resolution-mode": "import" };
|
|
49
51
|
import type { FontSizeOption as __Cjs_FontSizeOption } from './ui.js' with { "resolution-mode": "import" };
|
|
50
52
|
import type { FontsSlice as __Cjs_FontsSlice } from './ui.js' with { "resolution-mode": "import" };
|
|
53
|
+
import type { HistoryHandle as __Cjs_HistoryHandle } from './ui.js' with { "resolution-mode": "import" };
|
|
54
|
+
import type { HistorySlice as __Cjs_HistorySlice } from './ui.js' with { "resolution-mode": "import" };
|
|
51
55
|
import type { MetadataHandle as __Cjs_MetadataHandle } from './ui.js' with { "resolution-mode": "import" };
|
|
52
56
|
import type { OperationCall as __Cjs_OperationCall } from './ui.js' with { "resolution-mode": "import" };
|
|
53
57
|
import type { OperationCapabilityResolveResult as __Cjs_OperationCapabilityResolveResult } from './ui.js' with { "resolution-mode": "import" };
|
|
@@ -64,6 +68,7 @@ import type { PictureWatermarkInput as __Cjs_PictureWatermarkInput } from './ui.
|
|
|
64
68
|
import type { Receipt as __Cjs_Receipt } from './ui.js' with { "resolution-mode": "import" };
|
|
65
69
|
import type { RetainedPictureWatermarkInput as __Cjs_RetainedPictureWatermarkInput } from './ui.js' with { "resolution-mode": "import" };
|
|
66
70
|
import type { RichContentInsertInput as __Cjs_RichContentInsertInput } from './ui.js' with { "resolution-mode": "import" };
|
|
71
|
+
import type { ScopedDocumentHandle as __Cjs_ScopedDocumentHandle } from './ui.js' with { "resolution-mode": "import" };
|
|
67
72
|
import type { ScrollIntoViewInput as __Cjs_ScrollIntoViewInput } from './ui.js' with { "resolution-mode": "import" };
|
|
68
73
|
import type { ScrollIntoViewOutput as __Cjs_ScrollIntoViewOutput } from './ui.js' with { "resolution-mode": "import" };
|
|
69
74
|
import type { SDHtmlMarkdownSupportCheckResult as __Cjs_SDHtmlMarkdownSupportCheckResult } from './ui.js' with { "resolution-mode": "import" };
|
|
@@ -98,6 +103,7 @@ import type { StylesHandle as __Cjs_StylesHandle } from './ui.js' with { "resolu
|
|
|
98
103
|
import type { StylesSlice as __Cjs_StylesSlice } from './ui.js' with { "resolution-mode": "import" };
|
|
99
104
|
import type { StylesUpdateToMatchSelectionInput as __Cjs_StylesUpdateToMatchSelectionInput } from './ui.js' with { "resolution-mode": "import" };
|
|
100
105
|
import type { Subscribable as __Cjs_Subscribable } from './ui.js' with { "resolution-mode": "import" };
|
|
106
|
+
import type { SuperDocDocumentChange as __Cjs_SuperDocDocumentChange } from './ui.js' with { "resolution-mode": "import" };
|
|
101
107
|
import type { SuperDocEditorLike as __Cjs_SuperDocEditorLike } from './ui.js' with { "resolution-mode": "import" };
|
|
102
108
|
import type { SuperDocLike as __Cjs_SuperDocLike } from './ui.js' with { "resolution-mode": "import" };
|
|
103
109
|
import type { SuperDocUI as __Cjs_SuperDocUI } from './ui.js' with { "resolution-mode": "import" };
|
|
@@ -192,9 +198,11 @@ export type { __Cjs_DocumentApi as DocumentApi };
|
|
|
192
198
|
export type { __Cjs_DocumentApiRejectionDetails as DocumentApiRejectionDetails };
|
|
193
199
|
export type { __Cjs_DocumentApiRejectionReason as DocumentApiRejectionReason };
|
|
194
200
|
export type { __Cjs_DocumentHandle as DocumentHandle };
|
|
201
|
+
export type { __Cjs_DocumentMarkCleanResult as DocumentMarkCleanResult };
|
|
195
202
|
export type { __Cjs_DocumentReplacementResult as DocumentReplacementResult };
|
|
196
203
|
export type { __Cjs_DocumentSlice as DocumentSlice };
|
|
197
204
|
export type { __Cjs_DocumentStoryLocator as DocumentStoryLocator };
|
|
205
|
+
export type { __Cjs_DocumentVersion as DocumentVersion };
|
|
198
206
|
export type { __Cjs_EntityAddress as EntityAddress };
|
|
199
207
|
export type { __Cjs_EqualityFn as EqualityFn };
|
|
200
208
|
export type { __Cjs_FontFamilyOption as FontFamilyOption };
|
|
@@ -202,6 +210,8 @@ export type { __Cjs_FontsHandle as FontsHandle };
|
|
|
202
210
|
export type { __Cjs_FontSizeOption as FontSizeOption };
|
|
203
211
|
export type { __Cjs_FontsSlice as FontsSlice };
|
|
204
212
|
export declare const getDocumentApiRejectionReason: typeof import('./ui.js', { with: { "resolution-mode": "import" } }).getDocumentApiRejectionReason;
|
|
213
|
+
export type { __Cjs_HistoryHandle as HistoryHandle };
|
|
214
|
+
export type { __Cjs_HistorySlice as HistorySlice };
|
|
205
215
|
export type { __Cjs_MetadataHandle as MetadataHandle };
|
|
206
216
|
export type { __Cjs_OperationCall as OperationCall };
|
|
207
217
|
export type { __Cjs_OperationCapabilityResolveResult as OperationCapabilityResolveResult };
|
|
@@ -218,6 +228,7 @@ export type { __Cjs_PictureWatermarkInput as PictureWatermarkInput };
|
|
|
218
228
|
export type { __Cjs_Receipt as Receipt };
|
|
219
229
|
export type { __Cjs_RetainedPictureWatermarkInput as RetainedPictureWatermarkInput };
|
|
220
230
|
export type { __Cjs_RichContentInsertInput as RichContentInsertInput };
|
|
231
|
+
export type { __Cjs_ScopedDocumentHandle as ScopedDocumentHandle };
|
|
221
232
|
export type { __Cjs_ScrollIntoViewInput as ScrollIntoViewInput };
|
|
222
233
|
export type { __Cjs_ScrollIntoViewOutput as ScrollIntoViewOutput };
|
|
223
234
|
export type { __Cjs_SDHtmlMarkdownSupportCheckResult as SDHtmlMarkdownSupportCheckResult };
|
|
@@ -253,6 +264,7 @@ export type { __Cjs_StylesHandle as StylesHandle };
|
|
|
253
264
|
export type { __Cjs_StylesSlice as StylesSlice };
|
|
254
265
|
export type { __Cjs_StylesUpdateToMatchSelectionInput as StylesUpdateToMatchSelectionInput };
|
|
255
266
|
export type { __Cjs_Subscribable as Subscribable };
|
|
267
|
+
export type { __Cjs_SuperDocDocumentChange as SuperDocDocumentChange };
|
|
256
268
|
export type { __Cjs_SuperDocEditorLike as SuperDocEditorLike };
|
|
257
269
|
export type { __Cjs_SuperDocLike as SuperDocLike };
|
|
258
270
|
export type { __Cjs_SuperDocUI as SuperDocUI };
|
|
@@ -18,5 +18,5 @@ export { createSuperDocUI } from './ui/create-super-doc-ui.js';
|
|
|
18
18
|
export { getDocumentApiRejectionReason } from './ui/rejection-reasons.js';
|
|
19
19
|
export { shallowEqual } from './ui/equality.js';
|
|
20
20
|
export { BUILT_IN_COMMAND_IDS } from './ui/commands.js';
|
|
21
|
-
export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, DocumentHandle, DocumentReplacementResult, ViewportHandle, DecorationsHandle, DecorationPointerEvent, StylesHandle, StylesUpdateToMatchSelectionInput, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryOperationEffects, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, OperationId, OperationCall, OperationInput, OperationOptions, OperationOutput, } from './ui/types.js';
|
|
21
|
+
export type { EqualityFn, SelectorFn, Subscribable, SuperDocUI, BorrowedSuperDocUI, SuperDocUIOptions, SuperDocUIState, SuperDocUIScope, SuperDocLike, SuperDocEditorLike, CommandHandle, CommandState, CommandExecutionResult, WorkflowReceipt, WorkflowActionResult, WorkflowScrollResult, SelectionRestoreResult, SuperDocUIReason, CommandId, CommandsHandle, ContextMenuItem, ContextMenuHandle, WatermarkHandle, SearchController, SearchHandle, SearchQueryOptions, CustomCommandContext, CustomCommandHandle, CustomCommandHandleState, CustomCommandRegistration, CustomCommandRegistrationResult, MetadataHandle, SelectionHandle, TablesHandle, TableContextInfo, ToolbarHandle, BuiltInCommandId, ToolbarCommandId, CommentsHandle, TrackChangesHandle, ContentControlsHandle, BookmarksHandle, BookmarkAddress, ContentControlFocusResult, ContentControlHighlightResult, FontsHandle, ZoomHandle, HistoryHandle, DocumentHandle, DocumentReplacementResult, SuperDocDocumentChange, DocumentVersion, DocumentMarkCleanResult, ScopedDocumentHandle, ViewportHandle, DecorationsHandle, DecorationPointerEvent, StylesHandle, StylesUpdateToMatchSelectionInput, ActiveParagraphStyle, SliceStatus, SelectionSlice, SelectionCapture, CommentAnchorCapture, ToolbarSnapshotSlice, CommentsSlice, TrackChangesSlice, ContentControlsSlice, FontsSlice, ZoomSlice, HistorySlice, DocumentSlice, StylesSlice, SearchSnapshot, SearchSlice, StyleCatalogView, StyleCatalogItemType, StyleCatalogFilterType, StyleProvenance, StyleCatalogItemVisibility, StyleCatalogItemUsage, StyleCatalogItemPreview, StyleCatalogItem, StyleCatalogDefaults, StyleCatalogDiagnostic, StyleCatalogSourceStatus, StylesGetCatalogInput, StylesGetCatalogResult, CommentInfo, CommentsListQuery, TrackChangeInfo, TrackChangePointHit, TrackChangesItem, FontFamilyOption, FontSizeOption, CommentAddress, TrackedChangeAddress, ContentControlViewportAddress, ViewportEntityAddress, ViewportEntityHit, ViewportContext, ViewportRect, ViewportGetRectInput, ViewportGetRectTarget, ViewportGetRectsInput, ViewportGetRectsResult, ViewportRectResult, BrowserDocumentApi, PartialBrowserDocumentApi, DocumentApi, Receipt, DocumentApiRejectionReason, DocumentApiRejectionDetails, TextRangeRejectionReason, ContentControlCreationRejectionReason, SelectionInfo, SelectionTarget, SelectionPoint, TextTarget, TextAddress, ScrollIntoViewInput, ScrollIntoViewOutput, EntityAddress, CommentsListResult, TrackChangesListResult, ContentControlsListResult, ContentControlInfo, ContentControlTarget, RichContentInsertInput, OperationCapabilityResolveResult, SDHtmlMarkdownSupportCheckResult, PictureWatermarkInput, RetainedPictureWatermarkInput, TextWatermark, WatermarkInfo, WatermarkTarget, WatermarksApplyInput, WatermarksApplyResult, WatermarksApplySuccess, WatermarksApplyTarget, TemporaryMutationOperation, TemporaryOperationResultTarget, TemporaryOperationEffects, TemporaryMutationInput, TemporaryMutationReplaceInput, TemporaryMutationHandleInput, TemporaryMutationReceipt, DocumentStoryLocator, OperationId, OperationCall, OperationInput, OperationOptions, OperationOutput, } from './ui/types.js';
|
|
22
22
|
export type { PageMetricsHandle, PageMetricsSnapshot, PageMetricsPage, PageBodyTarget } from './ui/page-metrics.js';
|