md-editor-v3 4.16.7 → 4.16.8-0
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/lib/cjs/MdEditor.cjs +1 -0
- package/lib/es/MdEditor.mjs +1 -0
- package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +7 -8
- package/lib/types/DropdownToolbar/index.d.ts +46 -47
- package/lib/types/MdCatalog/CatalogLink.d.ts +5 -6
- package/lib/types/MdCatalog/MdCatalog.d.ts +3 -4
- package/lib/types/MdCatalog/index.d.ts +44 -45
- package/lib/types/MdEditor/Editor.d.ts +125 -125
- package/lib/types/MdEditor/components/Checkbox/index.d.ts +2 -3
- package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Dropdown/index.d.ts +5 -6
- package/lib/types/MdEditor/components/Icon/Icon.d.ts +2 -3
- package/lib/types/MdEditor/components/Icon/Str.d.ts +0 -1
- package/lib/types/MdEditor/components/Icon/index.d.ts +4 -5
- package/lib/types/MdEditor/components/Modal/Modal.d.ts +2 -3
- package/lib/types/MdEditor/components/Modal/index.d.ts +49 -50
- package/lib/types/MdEditor/components/Popper/index.d.ts +2 -3
- package/lib/types/MdEditor/composition.d.ts +3 -4
- package/lib/types/MdEditor/config.d.ts +0 -1
- package/lib/types/MdEditor/index.d.ts +259 -260
- package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +37 -38
- package/lib/types/MdEditor/layouts/Content/codemirror/autocompletion.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/commands.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/codemirror/themeLight.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/codemirror/themeOneDark.d.ts +4 -2
- package/lib/types/MdEditor/layouts/Content/composition/index.d.ts +6 -7
- package/lib/types/MdEditor/layouts/Content/composition/useAttach.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useAutoScroll.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useCodeMirror.d.ts +3 -4
- package/lib/types/MdEditor/layouts/Content/composition/useCopyCode.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useHighlight.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useKatex.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/useMarkdownIt.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useMermaid.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/usePasteUpload.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/composition/useResize.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/composition/userZoom.d.ts +1 -2
- package/lib/types/MdEditor/layouts/Content/index.d.ts +76 -76
- package/lib/types/MdEditor/layouts/Content/markdownIt/admonition/index.d.ts +6 -2
- package/lib/types/MdEditor/layouts/Content/markdownIt/code/index.d.ts +10 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/heading/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/katex/index.d.ts +6 -2
- package/lib/types/MdEditor/layouts/Content/markdownIt/mermaid/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Content/markdownIt/xss/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/props.d.ts +3 -4
- package/lib/types/MdEditor/layouts/Content/type.d.ts +0 -1
- package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Footer/index.d.ts +5 -6
- package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Modals/Link.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Modals/index.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +2 -3
- package/lib/types/MdEditor/layouts/Toolbar/composition.d.ts +0 -1
- package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +25 -26
- package/lib/types/MdEditor/layouts/Toolbar/props.d.ts +3 -4
- package/lib/types/MdEditor/props.d.ts +4 -5
- package/lib/types/MdEditor/type.d.ts +7 -8
- package/lib/types/MdEditor/utils/content-help.d.ts +1 -2
- package/lib/types/MdEditor/utils/md-it.d.ts +1 -5
- package/lib/types/MdEditor/utils/scroll-auto.d.ts +1 -2
- package/lib/types/MdEditor/utils/vue-tsx.d.ts +0 -1
- package/lib/types/MdPreview/MdPreview.d.ts +56 -56
- package/lib/types/MdPreview/composition/useExpose.d.ts +1 -2
- package/lib/types/MdPreview/index.d.ts +118 -119
- package/lib/types/ModalToolbar/ModalToolbar.d.ts +5 -6
- package/lib/types/ModalToolbar/index.d.ts +66 -67
- package/lib/types/NormalToolbar/NormalToolbar.d.ts +5 -6
- package/lib/types/NormalToolbar/index.d.ts +30 -31
- package/lib/types/config.d.ts +2 -2
- package/lib/umd/index.js +1 -1
- package/package.json +4 -5
package/lib/cjs/MdEditor.cjs
CHANGED
package/lib/es/MdEditor.mjs
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Themes } from '../MdEditor/type';
|
|
2
1
|
import { PropType, ExtractPropTypes, VNode } from 'vue';
|
|
3
|
-
|
|
4
|
-
declare const _default: import(
|
|
2
|
+
import { Themes } from '../MdEditor/type';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
4
|
title: {
|
|
6
5
|
type: PropType<string>;
|
|
7
6
|
default: string;
|
|
@@ -10,7 +9,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
10
9
|
type: PropType<boolean>;
|
|
11
10
|
};
|
|
12
11
|
trigger: {
|
|
13
|
-
type: PropType<string | VNode<import(
|
|
12
|
+
type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
14
13
|
[key: string]: any;
|
|
15
14
|
}>>;
|
|
16
15
|
};
|
|
@@ -18,7 +17,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
18
17
|
type: PropType<(visible: boolean) => void>;
|
|
19
18
|
};
|
|
20
19
|
overlay: {
|
|
21
|
-
type: PropType<string | VNode<import(
|
|
20
|
+
type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
21
|
[key: string]: any;
|
|
23
22
|
}>>;
|
|
24
23
|
};
|
|
@@ -43,7 +42,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
43
42
|
default: {
|
|
44
43
|
type: PropType<string | Element>;
|
|
45
44
|
};
|
|
46
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
45
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
47
46
|
title: {
|
|
48
47
|
type: PropType<string>;
|
|
49
48
|
default: string;
|
|
@@ -52,7 +51,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
52
51
|
type: PropType<boolean>;
|
|
53
52
|
};
|
|
54
53
|
trigger: {
|
|
55
|
-
type: PropType<string | VNode<import(
|
|
54
|
+
type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
56
55
|
[key: string]: any;
|
|
57
56
|
}>>;
|
|
58
57
|
};
|
|
@@ -60,7 +59,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
60
59
|
type: PropType<(visible: boolean) => void>;
|
|
61
60
|
};
|
|
62
61
|
overlay: {
|
|
63
|
-
type: PropType<string | VNode<import(
|
|
62
|
+
type: PropType<string | VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
64
63
|
[key: string]: any;
|
|
65
64
|
}>>;
|
|
66
65
|
};
|
|
@@ -1,79 +1,78 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
2
|
declare const _default: {
|
|
4
|
-
new (...args: any[]): import(
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
4
|
title: {
|
|
6
|
-
type: import(
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
7
6
|
default: string;
|
|
8
7
|
};
|
|
9
8
|
visible: {
|
|
10
|
-
type: import(
|
|
9
|
+
type: import("vue").PropType<boolean>;
|
|
11
10
|
};
|
|
12
11
|
trigger: {
|
|
13
|
-
type: import(
|
|
12
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
14
13
|
[key: string]: any;
|
|
15
14
|
}>>;
|
|
16
15
|
};
|
|
17
16
|
onChange: {
|
|
18
|
-
type: import(
|
|
17
|
+
type: import("vue").PropType<(visible: boolean) => void>;
|
|
19
18
|
};
|
|
20
19
|
overlay: {
|
|
21
|
-
type: import(
|
|
20
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
22
21
|
[key: string]: any;
|
|
23
22
|
}>>;
|
|
24
23
|
};
|
|
25
24
|
insert: {
|
|
26
|
-
type: import(
|
|
25
|
+
type: import("vue").PropType<() => void>;
|
|
27
26
|
};
|
|
28
27
|
language: {
|
|
29
|
-
type: import(
|
|
28
|
+
type: import("vue").PropType<string>;
|
|
30
29
|
};
|
|
31
30
|
theme: {
|
|
32
|
-
type: import(
|
|
31
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
33
32
|
};
|
|
34
33
|
previewTheme: {
|
|
35
|
-
type: import(
|
|
34
|
+
type: import("vue").PropType<string>;
|
|
36
35
|
};
|
|
37
36
|
default: {
|
|
38
|
-
type: import(
|
|
37
|
+
type: import("vue").PropType<string | Element>;
|
|
39
38
|
};
|
|
40
39
|
}>> & {
|
|
41
40
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
42
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
41
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
43
42
|
title: {
|
|
44
|
-
type: import(
|
|
43
|
+
type: import("vue").PropType<string>;
|
|
45
44
|
default: string;
|
|
46
45
|
};
|
|
47
46
|
visible: {
|
|
48
|
-
type: import(
|
|
47
|
+
type: import("vue").PropType<boolean>;
|
|
49
48
|
};
|
|
50
49
|
trigger: {
|
|
51
|
-
type: import(
|
|
50
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
52
51
|
[key: string]: any;
|
|
53
52
|
}>>;
|
|
54
53
|
};
|
|
55
54
|
onChange: {
|
|
56
|
-
type: import(
|
|
55
|
+
type: import("vue").PropType<(visible: boolean) => void>;
|
|
57
56
|
};
|
|
58
57
|
overlay: {
|
|
59
|
-
type: import(
|
|
58
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
60
59
|
[key: string]: any;
|
|
61
60
|
}>>;
|
|
62
61
|
};
|
|
63
62
|
insert: {
|
|
64
|
-
type: import(
|
|
63
|
+
type: import("vue").PropType<() => void>;
|
|
65
64
|
};
|
|
66
65
|
language: {
|
|
67
|
-
type: import(
|
|
66
|
+
type: import("vue").PropType<string>;
|
|
68
67
|
};
|
|
69
68
|
theme: {
|
|
70
|
-
type: import(
|
|
69
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
71
70
|
};
|
|
72
71
|
previewTheme: {
|
|
73
|
-
type: import(
|
|
72
|
+
type: import("vue").PropType<string>;
|
|
74
73
|
};
|
|
75
74
|
default: {
|
|
76
|
-
type: import(
|
|
75
|
+
type: import("vue").PropType<string | Element>;
|
|
77
76
|
};
|
|
78
77
|
}>> & {
|
|
79
78
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -86,41 +85,41 @@ declare const _default: {
|
|
|
86
85
|
C: {};
|
|
87
86
|
M: {};
|
|
88
87
|
Defaults: {};
|
|
89
|
-
}, Readonly<import(
|
|
88
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
90
89
|
title: {
|
|
91
|
-
type: import(
|
|
90
|
+
type: import("vue").PropType<string>;
|
|
92
91
|
default: string;
|
|
93
92
|
};
|
|
94
93
|
visible: {
|
|
95
|
-
type: import(
|
|
94
|
+
type: import("vue").PropType<boolean>;
|
|
96
95
|
};
|
|
97
96
|
trigger: {
|
|
98
|
-
type: import(
|
|
97
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
98
|
[key: string]: any;
|
|
100
99
|
}>>;
|
|
101
100
|
};
|
|
102
101
|
onChange: {
|
|
103
|
-
type: import(
|
|
102
|
+
type: import("vue").PropType<(visible: boolean) => void>;
|
|
104
103
|
};
|
|
105
104
|
overlay: {
|
|
106
|
-
type: import(
|
|
105
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
107
106
|
[key: string]: any;
|
|
108
107
|
}>>;
|
|
109
108
|
};
|
|
110
109
|
insert: {
|
|
111
|
-
type: import(
|
|
110
|
+
type: import("vue").PropType<() => void>;
|
|
112
111
|
};
|
|
113
112
|
language: {
|
|
114
|
-
type: import(
|
|
113
|
+
type: import("vue").PropType<string>;
|
|
115
114
|
};
|
|
116
115
|
theme: {
|
|
117
|
-
type: import(
|
|
116
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
118
117
|
};
|
|
119
118
|
previewTheme: {
|
|
120
|
-
type: import(
|
|
119
|
+
type: import("vue").PropType<string>;
|
|
121
120
|
};
|
|
122
121
|
default: {
|
|
123
|
-
type: import(
|
|
122
|
+
type: import("vue").PropType<string | Element>;
|
|
124
123
|
};
|
|
125
124
|
}>> & {
|
|
126
125
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -130,47 +129,47 @@ declare const _default: {
|
|
|
130
129
|
__isFragment?: undefined;
|
|
131
130
|
__isTeleport?: undefined;
|
|
132
131
|
__isSuspense?: undefined;
|
|
133
|
-
} & import(
|
|
132
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
134
133
|
title: {
|
|
135
|
-
type: import(
|
|
134
|
+
type: import("vue").PropType<string>;
|
|
136
135
|
default: string;
|
|
137
136
|
};
|
|
138
137
|
visible: {
|
|
139
|
-
type: import(
|
|
138
|
+
type: import("vue").PropType<boolean>;
|
|
140
139
|
};
|
|
141
140
|
trigger: {
|
|
142
|
-
type: import(
|
|
141
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
143
142
|
[key: string]: any;
|
|
144
143
|
}>>;
|
|
145
144
|
};
|
|
146
145
|
onChange: {
|
|
147
|
-
type: import(
|
|
146
|
+
type: import("vue").PropType<(visible: boolean) => void>;
|
|
148
147
|
};
|
|
149
148
|
overlay: {
|
|
150
|
-
type: import(
|
|
149
|
+
type: import("vue").PropType<string | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
151
150
|
[key: string]: any;
|
|
152
151
|
}>>;
|
|
153
152
|
};
|
|
154
153
|
insert: {
|
|
155
|
-
type: import(
|
|
154
|
+
type: import("vue").PropType<() => void>;
|
|
156
155
|
};
|
|
157
156
|
language: {
|
|
158
|
-
type: import(
|
|
157
|
+
type: import("vue").PropType<string>;
|
|
159
158
|
};
|
|
160
159
|
theme: {
|
|
161
|
-
type: import(
|
|
160
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
162
161
|
};
|
|
163
162
|
previewTheme: {
|
|
164
|
-
type: import(
|
|
163
|
+
type: import("vue").PropType<string>;
|
|
165
164
|
};
|
|
166
165
|
default: {
|
|
167
|
-
type: import(
|
|
166
|
+
type: import("vue").PropType<string | Element>;
|
|
168
167
|
};
|
|
169
168
|
}>> & {
|
|
170
169
|
onOnChange?: ((...args: any[]) => any) | undefined;
|
|
171
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
170
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "onChange"[], "onChange", {
|
|
172
171
|
title: string;
|
|
173
|
-
}, {}, string, {}> & import(
|
|
172
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
174
173
|
install: (app: App) => App;
|
|
175
174
|
};
|
|
176
175
|
export default _default;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { TocItem } from './MdCatalog';
|
|
2
|
-
import { MdHeadingId } from '../MdEditor/type';
|
|
3
|
-
import { LooseRequired } from '@vue/shared';
|
|
4
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
5
|
-
|
|
2
|
+
import { LooseRequired } from '@vue/shared';
|
|
3
|
+
import { MdHeadingId } from '../MdEditor/type';
|
|
4
|
+
import { TocItem } from './MdCatalog';
|
|
6
5
|
declare const props: {
|
|
7
6
|
tocItem: {
|
|
8
7
|
type: PropType<TocItem>;
|
|
@@ -26,7 +25,7 @@ declare const props: {
|
|
|
26
25
|
};
|
|
27
26
|
};
|
|
28
27
|
export type CatalogLinkProps = Readonly<LooseRequired<Readonly<ExtractPropTypes<typeof props>>>>;
|
|
29
|
-
declare const CatalogLink: import(
|
|
28
|
+
declare const CatalogLink: import("vue").DefineComponent<{
|
|
30
29
|
tocItem: {
|
|
31
30
|
type: PropType<TocItem>;
|
|
32
31
|
default: () => {};
|
|
@@ -47,7 +46,7 @@ declare const CatalogLink: import('vue').DefineComponent<{
|
|
|
47
46
|
type: PropType<number>;
|
|
48
47
|
default: number;
|
|
49
48
|
};
|
|
50
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
49
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
51
50
|
tocItem: {
|
|
52
51
|
type: PropType<TocItem>;
|
|
53
52
|
default: () => {};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { HeadList, MdHeadingId, Themes } from '../MdEditor/type';
|
|
2
1
|
import { PropType, ExtractPropTypes } from 'vue';
|
|
3
|
-
|
|
2
|
+
import { HeadList, MdHeadingId, Themes } from '../MdEditor/type';
|
|
4
3
|
export interface TocItem {
|
|
5
4
|
text: string;
|
|
6
5
|
level: number;
|
|
@@ -8,7 +7,7 @@ export interface TocItem {
|
|
|
8
7
|
active: boolean;
|
|
9
8
|
children?: Array<TocItem>;
|
|
10
9
|
}
|
|
11
|
-
declare const MdCatalog: import(
|
|
10
|
+
declare const MdCatalog: import("vue").DefineComponent<{
|
|
12
11
|
/**
|
|
13
12
|
* 编辑器的Id,务必与需要绑定的编辑器Id相同
|
|
14
13
|
*/
|
|
@@ -60,7 +59,7 @@ declare const MdCatalog: import('vue').DefineComponent<{
|
|
|
60
59
|
onActive: {
|
|
61
60
|
type: PropType<(heading: HeadList | undefined) => void>;
|
|
62
61
|
};
|
|
63
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
62
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClick" | "onActive")[], "onClick" | "onActive", import("vue").PublicProps, Readonly<ExtractPropTypes<{
|
|
64
63
|
/**
|
|
65
64
|
* 编辑器的Id,务必与需要绑定的编辑器Id相同
|
|
66
65
|
*/
|
|
@@ -1,82 +1,81 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
|
-
|
|
3
2
|
declare const _default: {
|
|
4
|
-
new (...args: any[]): import(
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
5
4
|
editorId: {
|
|
6
|
-
type: import(
|
|
5
|
+
type: import("vue").PropType<string>;
|
|
7
6
|
};
|
|
8
7
|
class: {
|
|
9
8
|
type: StringConstructor;
|
|
10
9
|
default: string;
|
|
11
10
|
};
|
|
12
11
|
mdHeadingId: {
|
|
13
|
-
type: import(
|
|
12
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
14
13
|
default: (text: string) => string;
|
|
15
14
|
};
|
|
16
15
|
scrollElement: {
|
|
17
|
-
type: import(
|
|
16
|
+
type: import("vue").PropType<string | HTMLElement>;
|
|
18
17
|
};
|
|
19
18
|
theme: {
|
|
20
|
-
type: import(
|
|
19
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
21
20
|
default: string;
|
|
22
21
|
};
|
|
23
22
|
offsetTop: {
|
|
24
|
-
type: import(
|
|
23
|
+
type: import("vue").PropType<number>;
|
|
25
24
|
default: number;
|
|
26
25
|
};
|
|
27
26
|
scrollElementOffsetTop: {
|
|
28
|
-
type: import(
|
|
27
|
+
type: import("vue").PropType<number>;
|
|
29
28
|
default: number;
|
|
30
29
|
};
|
|
31
30
|
onClick: {
|
|
32
|
-
type: import(
|
|
31
|
+
type: import("vue").PropType<(e: MouseEvent, t: import("./MdCatalog").TocItem) => void>;
|
|
33
32
|
};
|
|
34
33
|
onActive: {
|
|
35
|
-
type: import(
|
|
34
|
+
type: import("vue").PropType<(heading: import("..").HeadList | undefined) => void>;
|
|
36
35
|
};
|
|
37
36
|
}>> & {
|
|
38
37
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
39
38
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
39
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClick" | "onActive")[], import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
41
40
|
editorId: {
|
|
42
|
-
type: import(
|
|
41
|
+
type: import("vue").PropType<string>;
|
|
43
42
|
};
|
|
44
43
|
class: {
|
|
45
44
|
type: StringConstructor;
|
|
46
45
|
default: string;
|
|
47
46
|
};
|
|
48
47
|
mdHeadingId: {
|
|
49
|
-
type: import(
|
|
48
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
50
49
|
default: (text: string) => string;
|
|
51
50
|
};
|
|
52
51
|
scrollElement: {
|
|
53
|
-
type: import(
|
|
52
|
+
type: import("vue").PropType<string | HTMLElement>;
|
|
54
53
|
};
|
|
55
54
|
theme: {
|
|
56
|
-
type: import(
|
|
55
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
57
56
|
default: string;
|
|
58
57
|
};
|
|
59
58
|
offsetTop: {
|
|
60
|
-
type: import(
|
|
59
|
+
type: import("vue").PropType<number>;
|
|
61
60
|
default: number;
|
|
62
61
|
};
|
|
63
62
|
scrollElementOffsetTop: {
|
|
64
|
-
type: import(
|
|
63
|
+
type: import("vue").PropType<number>;
|
|
65
64
|
default: number;
|
|
66
65
|
};
|
|
67
66
|
onClick: {
|
|
68
|
-
type: import(
|
|
67
|
+
type: import("vue").PropType<(e: MouseEvent, t: import("./MdCatalog").TocItem) => void>;
|
|
69
68
|
};
|
|
70
69
|
onActive: {
|
|
71
|
-
type: import(
|
|
70
|
+
type: import("vue").PropType<(heading: import("..").HeadList | undefined) => void>;
|
|
72
71
|
};
|
|
73
72
|
}>> & {
|
|
74
73
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
75
74
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
76
75
|
}, {
|
|
77
76
|
class: string;
|
|
78
|
-
theme: import(
|
|
79
|
-
mdHeadingId: import(
|
|
77
|
+
theme: import("..").Themes;
|
|
78
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
80
79
|
offsetTop: number;
|
|
81
80
|
scrollElementOffsetTop: number;
|
|
82
81
|
}, true, {}, {}, {
|
|
@@ -86,95 +85,95 @@ declare const _default: {
|
|
|
86
85
|
C: {};
|
|
87
86
|
M: {};
|
|
88
87
|
Defaults: {};
|
|
89
|
-
}, Readonly<import(
|
|
88
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
90
89
|
editorId: {
|
|
91
|
-
type: import(
|
|
90
|
+
type: import("vue").PropType<string>;
|
|
92
91
|
};
|
|
93
92
|
class: {
|
|
94
93
|
type: StringConstructor;
|
|
95
94
|
default: string;
|
|
96
95
|
};
|
|
97
96
|
mdHeadingId: {
|
|
98
|
-
type: import(
|
|
97
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
99
98
|
default: (text: string) => string;
|
|
100
99
|
};
|
|
101
100
|
scrollElement: {
|
|
102
|
-
type: import(
|
|
101
|
+
type: import("vue").PropType<string | HTMLElement>;
|
|
103
102
|
};
|
|
104
103
|
theme: {
|
|
105
|
-
type: import(
|
|
104
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
106
105
|
default: string;
|
|
107
106
|
};
|
|
108
107
|
offsetTop: {
|
|
109
|
-
type: import(
|
|
108
|
+
type: import("vue").PropType<number>;
|
|
110
109
|
default: number;
|
|
111
110
|
};
|
|
112
111
|
scrollElementOffsetTop: {
|
|
113
|
-
type: import(
|
|
112
|
+
type: import("vue").PropType<number>;
|
|
114
113
|
default: number;
|
|
115
114
|
};
|
|
116
115
|
onClick: {
|
|
117
|
-
type: import(
|
|
116
|
+
type: import("vue").PropType<(e: MouseEvent, t: import("./MdCatalog").TocItem) => void>;
|
|
118
117
|
};
|
|
119
118
|
onActive: {
|
|
120
|
-
type: import(
|
|
119
|
+
type: import("vue").PropType<(heading: import("..").HeadList | undefined) => void>;
|
|
121
120
|
};
|
|
122
121
|
}>> & {
|
|
123
122
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
124
123
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
125
124
|
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
126
125
|
class: string;
|
|
127
|
-
theme: import(
|
|
128
|
-
mdHeadingId: import(
|
|
126
|
+
theme: import("..").Themes;
|
|
127
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
129
128
|
offsetTop: number;
|
|
130
129
|
scrollElementOffsetTop: number;
|
|
131
130
|
}>;
|
|
132
131
|
__isFragment?: undefined;
|
|
133
132
|
__isTeleport?: undefined;
|
|
134
133
|
__isSuspense?: undefined;
|
|
135
|
-
} & import(
|
|
134
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
136
135
|
editorId: {
|
|
137
|
-
type: import(
|
|
136
|
+
type: import("vue").PropType<string>;
|
|
138
137
|
};
|
|
139
138
|
class: {
|
|
140
139
|
type: StringConstructor;
|
|
141
140
|
default: string;
|
|
142
141
|
};
|
|
143
142
|
mdHeadingId: {
|
|
144
|
-
type: import(
|
|
143
|
+
type: import("vue").PropType<import("..").MdHeadingId>;
|
|
145
144
|
default: (text: string) => string;
|
|
146
145
|
};
|
|
147
146
|
scrollElement: {
|
|
148
|
-
type: import(
|
|
147
|
+
type: import("vue").PropType<string | HTMLElement>;
|
|
149
148
|
};
|
|
150
149
|
theme: {
|
|
151
|
-
type: import(
|
|
150
|
+
type: import("vue").PropType<import("..").Themes>;
|
|
152
151
|
default: string;
|
|
153
152
|
};
|
|
154
153
|
offsetTop: {
|
|
155
|
-
type: import(
|
|
154
|
+
type: import("vue").PropType<number>;
|
|
156
155
|
default: number;
|
|
157
156
|
};
|
|
158
157
|
scrollElementOffsetTop: {
|
|
159
|
-
type: import(
|
|
158
|
+
type: import("vue").PropType<number>;
|
|
160
159
|
default: number;
|
|
161
160
|
};
|
|
162
161
|
onClick: {
|
|
163
|
-
type: import(
|
|
162
|
+
type: import("vue").PropType<(e: MouseEvent, t: import("./MdCatalog").TocItem) => void>;
|
|
164
163
|
};
|
|
165
164
|
onActive: {
|
|
166
|
-
type: import(
|
|
165
|
+
type: import("vue").PropType<(heading: import("..").HeadList | undefined) => void>;
|
|
167
166
|
};
|
|
168
167
|
}>> & {
|
|
169
168
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
170
169
|
onOnActive?: ((...args: any[]) => any) | undefined;
|
|
171
|
-
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import(
|
|
170
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClick" | "onActive")[], "onClick" | "onActive", {
|
|
172
171
|
class: string;
|
|
173
|
-
theme: import(
|
|
174
|
-
mdHeadingId: import(
|
|
172
|
+
theme: import("..").Themes;
|
|
173
|
+
mdHeadingId: import("..").MdHeadingId;
|
|
175
174
|
offsetTop: number;
|
|
176
175
|
scrollElementOffsetTop: number;
|
|
177
|
-
}, {}, string, {}> & import(
|
|
176
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & {
|
|
178
177
|
install: (app: App) => App;
|
|
179
178
|
};
|
|
180
179
|
export default _default;
|