md-editor-v3 4.13.2 → 4.13.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/lib/cjs/MdEditor.cjs +17 -4
- package/lib/cjs/chunks/index2.cjs +10 -2
- package/lib/es/MdEditor.mjs +17 -4
- package/lib/es/chunks/index2.mjs +10 -2
- package/lib/preview.css +1 -1
- package/lib/style.css +1 -1
- package/lib/types/DropdownToolbar/DropdownToolbar.d.ts +17 -9
- package/lib/types/DropdownToolbar/index.d.ts +112 -126
- package/lib/types/MdCatalog/CatalogLink.d.ts +2 -2
- package/lib/types/MdCatalog/MdCatalog.d.ts +2 -2
- package/lib/types/MdCatalog/index.d.ts +114 -144
- package/lib/types/MdEditor/Editor.d.ts +129 -121
- package/lib/types/MdEditor/components/Checkbox/index.d.ts +2 -2
- package/lib/types/MdEditor/components/Divider/index.d.ts +1 -1
- package/lib/types/MdEditor/components/Dropdown/index.d.ts +13 -7
- package/lib/types/MdEditor/components/Icon/Icon.d.ts +2 -2
- package/lib/types/MdEditor/components/Icon/index.d.ts +4 -2
- package/lib/types/MdEditor/components/Modal/Modal.d.ts +2 -2
- package/lib/types/MdEditor/components/Modal/index.d.ts +133 -163
- package/lib/types/MdEditor/components/Popper/index.d.ts +2 -2
- package/lib/types/MdEditor/index.d.ts +643 -657
- package/lib/types/MdEditor/layouts/Content/ContentPreview.d.ts +31 -31
- package/lib/types/MdEditor/layouts/Content/composition/useHighlight.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/composition/useKatex.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/composition/useMermaid.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/index.d.ts +72 -72
- package/lib/types/MdEditor/layouts/Content/markdownIt/admonition/index.d.ts +2 -0
- package/lib/types/MdEditor/layouts/Content/markdownIt/codetabs/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/markdownIt/heading/index.d.ts +1 -1
- package/lib/types/MdEditor/layouts/Content/markdownIt/katex/index.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Content/markdownIt/mermaid/index.d.ts +1 -0
- package/lib/types/MdEditor/layouts/Footer/MarkdownTotal.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Footer/ScrollAuto.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Footer/index.d.ts +4 -4
- package/lib/types/MdEditor/layouts/Modals/Clip.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Modals/Link.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Modals/index.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Toolbar/TableShape.d.ts +2 -2
- package/lib/types/MdEditor/layouts/Toolbar/index.d.ts +24 -24
- package/lib/types/MdEditor/props.d.ts +7 -3
- package/lib/types/MdEditor/type.d.ts +3 -3
- package/lib/types/MdEditor/utils/dom.d.ts +1 -1
- package/lib/types/MdEditor/utils/vue-tsx.d.ts +2 -11
- package/lib/types/MdPreview/MdPreview.d.ts +52 -52
- package/lib/types/MdPreview/index.d.ts +310 -340
- package/lib/types/ModalToolbar/ModalToolbar.d.ts +9 -5
- package/lib/types/ModalToolbar/index.d.ts +168 -190
- package/lib/types/NormalToolbar/NormalToolbar.d.ts +9 -5
- package/lib/types/NormalToolbar/index.d.ts +80 -102
- package/lib/umd/index.js +48 -42
- package/package.json +18 -18
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Themes } from '../MdEditor/type';
|
|
2
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { PropType, ExtractPropTypes, VNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
title: {
|
|
@@ -22,7 +22,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
22
22
|
default: string;
|
|
23
23
|
};
|
|
24
24
|
trigger: {
|
|
25
|
-
type: PropType<string |
|
|
25
|
+
type: PropType<string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>>;
|
|
26
28
|
};
|
|
27
29
|
onClick: {
|
|
28
30
|
type: PropType<() => void>;
|
|
@@ -56,7 +58,7 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
56
58
|
theme: {
|
|
57
59
|
type: PropType<Themes>;
|
|
58
60
|
};
|
|
59
|
-
}, () => JSX.Element, unknown, {}, {}, import(
|
|
61
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("onClick" | "onClose" | "onAdjust")[], "onClick" | "onClose" | "onAdjust", import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
60
62
|
title: {
|
|
61
63
|
type: PropType<string>;
|
|
62
64
|
default: string;
|
|
@@ -77,7 +79,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
77
79
|
default: string;
|
|
78
80
|
};
|
|
79
81
|
trigger: {
|
|
80
|
-
type: PropType<string |
|
|
82
|
+
type: PropType<string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
83
|
+
[key: string]: any;
|
|
84
|
+
}>>;
|
|
81
85
|
};
|
|
82
86
|
onClick: {
|
|
83
87
|
type: PropType<() => void>;
|
|
@@ -122,5 +126,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
122
126
|
showAdjust: boolean;
|
|
123
127
|
isFullscreen: boolean;
|
|
124
128
|
modalTitle: string;
|
|
125
|
-
}>;
|
|
129
|
+
}, {}>;
|
|
126
130
|
export default _default;
|
|
@@ -1,281 +1,259 @@
|
|
|
1
1
|
import { App } from 'vue';
|
|
2
2
|
|
|
3
3
|
declare const _default: {
|
|
4
|
-
new (...args: any[]): {
|
|
5
|
-
$: import('vue').ComponentInternalInstance;
|
|
6
|
-
$data: {};
|
|
7
|
-
$props: Partial<{
|
|
8
|
-
title: string;
|
|
9
|
-
height: string;
|
|
10
|
-
width: string;
|
|
11
|
-
showAdjust: boolean;
|
|
12
|
-
isFullscreen: boolean;
|
|
13
|
-
modalTitle: string;
|
|
14
|
-
}> & Omit<Readonly<import('vue').ExtractPropTypes<{
|
|
15
|
-
title: {
|
|
16
|
-
type: import("vue").PropType<string>;
|
|
17
|
-
default: string;
|
|
18
|
-
};
|
|
19
|
-
modalTitle: {
|
|
20
|
-
type: import("vue").PropType<string>;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
visible: {
|
|
24
|
-
type: import("vue").PropType<boolean>;
|
|
25
|
-
};
|
|
26
|
-
width: {
|
|
27
|
-
type: import("vue").PropType<string>;
|
|
28
|
-
default: string;
|
|
29
|
-
};
|
|
30
|
-
height: {
|
|
31
|
-
type: import("vue").PropType<string>;
|
|
32
|
-
default: string;
|
|
33
|
-
};
|
|
34
|
-
trigger: {
|
|
35
|
-
type: import("vue").PropType<string | JSX.Element>;
|
|
36
|
-
};
|
|
37
|
-
onClick: {
|
|
38
|
-
type: import("vue").PropType<() => void>;
|
|
39
|
-
};
|
|
40
|
-
onClose: {
|
|
41
|
-
type: import("vue").PropType<() => void>;
|
|
42
|
-
};
|
|
43
|
-
showAdjust: {
|
|
44
|
-
type: import("vue").PropType<boolean>;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
47
|
-
isFullscreen: {
|
|
48
|
-
type: import("vue").PropType<boolean>;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
onAdjust: {
|
|
52
|
-
type: import("vue").PropType<(val: boolean) => void>;
|
|
53
|
-
};
|
|
54
|
-
insert: {
|
|
55
|
-
type: import("vue").PropType<() => void>;
|
|
56
|
-
};
|
|
57
|
-
language: {
|
|
58
|
-
type: import("vue").PropType<string>;
|
|
59
|
-
};
|
|
60
|
-
theme: {
|
|
61
|
-
type: import("vue").PropType<import("..").Themes>;
|
|
62
|
-
};
|
|
63
|
-
}>> & {
|
|
64
|
-
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
65
|
-
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
66
|
-
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
67
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "title" | "height" | "width" | "showAdjust" | "isFullscreen" | "modalTitle">;
|
|
68
|
-
$attrs: {
|
|
69
|
-
[x: string]: unknown;
|
|
70
|
-
};
|
|
71
|
-
$refs: {
|
|
72
|
-
[x: string]: unknown;
|
|
73
|
-
};
|
|
74
|
-
$slots: Readonly<{
|
|
75
|
-
[name: string]: import('vue').Slot | undefined;
|
|
76
|
-
}>;
|
|
77
|
-
$root: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
78
|
-
$parent: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null;
|
|
79
|
-
$emit: (event: "onClick" | "onClose" | "onAdjust", ...args: any[]) => void;
|
|
80
|
-
$el: any;
|
|
81
|
-
$options: import('vue').ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
82
|
-
title: {
|
|
83
|
-
type: import("vue").PropType<string>;
|
|
84
|
-
default: string;
|
|
85
|
-
};
|
|
86
|
-
modalTitle: {
|
|
87
|
-
type: import("vue").PropType<string>;
|
|
88
|
-
default: string;
|
|
89
|
-
};
|
|
90
|
-
visible: {
|
|
91
|
-
type: import("vue").PropType<boolean>;
|
|
92
|
-
};
|
|
93
|
-
width: {
|
|
94
|
-
type: import("vue").PropType<string>;
|
|
95
|
-
default: string;
|
|
96
|
-
};
|
|
97
|
-
height: {
|
|
98
|
-
type: import("vue").PropType<string>;
|
|
99
|
-
default: string;
|
|
100
|
-
};
|
|
101
|
-
trigger: {
|
|
102
|
-
type: import("vue").PropType<string | JSX.Element>;
|
|
103
|
-
};
|
|
104
|
-
onClick: {
|
|
105
|
-
type: import("vue").PropType<() => void>;
|
|
106
|
-
};
|
|
107
|
-
onClose: {
|
|
108
|
-
type: import("vue").PropType<() => void>;
|
|
109
|
-
};
|
|
110
|
-
showAdjust: {
|
|
111
|
-
type: import("vue").PropType<boolean>;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
isFullscreen: {
|
|
115
|
-
type: import("vue").PropType<boolean>;
|
|
116
|
-
default: boolean;
|
|
117
|
-
};
|
|
118
|
-
onAdjust: {
|
|
119
|
-
type: import("vue").PropType<(val: boolean) => void>;
|
|
120
|
-
};
|
|
121
|
-
insert: {
|
|
122
|
-
type: import("vue").PropType<() => void>;
|
|
123
|
-
};
|
|
124
|
-
language: {
|
|
125
|
-
type: import("vue").PropType<string>;
|
|
126
|
-
};
|
|
127
|
-
theme: {
|
|
128
|
-
type: import("vue").PropType<import("..").Themes>;
|
|
129
|
-
};
|
|
130
|
-
}>> & {
|
|
131
|
-
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
132
|
-
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("onClick" | "onClose" | "onAdjust")[], string, {
|
|
135
|
-
title: string;
|
|
136
|
-
height: string;
|
|
137
|
-
width: string;
|
|
138
|
-
showAdjust: boolean;
|
|
139
|
-
isFullscreen: boolean;
|
|
140
|
-
modalTitle: string;
|
|
141
|
-
}, {}, string> & {
|
|
142
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
143
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
144
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
145
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
146
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
147
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
148
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
149
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
150
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
151
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
152
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
153
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
154
|
-
renderTracked?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
155
|
-
renderTriggered?: (((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[]) | undefined;
|
|
156
|
-
errorCaptured?: (((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
157
|
-
};
|
|
158
|
-
$forceUpdate: () => void;
|
|
159
|
-
$nextTick: typeof import('vue').nextTick;
|
|
160
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import('vue').WatchOptions<boolean> | undefined): import('vue').WatchStopHandle;
|
|
161
|
-
} & Readonly<import('vue').ExtractPropTypes<{
|
|
4
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstance<Readonly<import('vue').ExtractPropTypes<{
|
|
162
5
|
title: {
|
|
163
|
-
type: import(
|
|
6
|
+
type: import('vue').PropType<string>;
|
|
164
7
|
default: string;
|
|
165
8
|
};
|
|
166
9
|
modalTitle: {
|
|
167
|
-
type: import(
|
|
10
|
+
type: import('vue').PropType<string>;
|
|
168
11
|
default: string;
|
|
169
12
|
};
|
|
170
13
|
visible: {
|
|
171
|
-
type: import(
|
|
14
|
+
type: import('vue').PropType<boolean>;
|
|
172
15
|
};
|
|
173
16
|
width: {
|
|
174
|
-
type: import(
|
|
17
|
+
type: import('vue').PropType<string>;
|
|
175
18
|
default: string;
|
|
176
19
|
};
|
|
177
20
|
height: {
|
|
178
|
-
type: import(
|
|
21
|
+
type: import('vue').PropType<string>;
|
|
179
22
|
default: string;
|
|
180
23
|
};
|
|
181
24
|
trigger: {
|
|
182
|
-
type: import(
|
|
25
|
+
type: import('vue').PropType<string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}>>;
|
|
183
28
|
};
|
|
184
29
|
onClick: {
|
|
185
|
-
type: import(
|
|
30
|
+
type: import('vue').PropType<() => void>;
|
|
186
31
|
};
|
|
187
32
|
onClose: {
|
|
188
|
-
type: import(
|
|
33
|
+
type: import('vue').PropType<() => void>;
|
|
189
34
|
};
|
|
190
35
|
showAdjust: {
|
|
191
|
-
type: import(
|
|
36
|
+
type: import('vue').PropType<boolean>;
|
|
192
37
|
default: boolean;
|
|
193
38
|
};
|
|
194
39
|
isFullscreen: {
|
|
195
|
-
type: import(
|
|
40
|
+
type: import('vue').PropType<boolean>;
|
|
196
41
|
default: boolean;
|
|
197
42
|
};
|
|
198
43
|
onAdjust: {
|
|
199
|
-
type: import(
|
|
44
|
+
type: import('vue').PropType<(val: boolean) => void>;
|
|
200
45
|
};
|
|
201
46
|
insert: {
|
|
202
|
-
type: import(
|
|
47
|
+
type: import('vue').PropType<() => void>;
|
|
203
48
|
};
|
|
204
49
|
language: {
|
|
205
|
-
type: import(
|
|
50
|
+
type: import('vue').PropType<string>;
|
|
206
51
|
};
|
|
207
52
|
theme: {
|
|
208
|
-
type: import(
|
|
53
|
+
type: import('vue').PropType<import('..').Themes>;
|
|
209
54
|
};
|
|
210
55
|
}>> & {
|
|
211
56
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
212
57
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
213
58
|
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
214
|
-
}
|
|
59
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("onClick" | "onClose" | "onAdjust")[], import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{
|
|
60
|
+
title: {
|
|
61
|
+
type: import('vue').PropType<string>;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
modalTitle: {
|
|
65
|
+
type: import('vue').PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
visible: {
|
|
69
|
+
type: import('vue').PropType<boolean>;
|
|
70
|
+
};
|
|
71
|
+
width: {
|
|
72
|
+
type: import('vue').PropType<string>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
height: {
|
|
76
|
+
type: import('vue').PropType<string>;
|
|
77
|
+
default: string;
|
|
78
|
+
};
|
|
79
|
+
trigger: {
|
|
80
|
+
type: import('vue').PropType<string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>>;
|
|
83
|
+
};
|
|
84
|
+
onClick: {
|
|
85
|
+
type: import('vue').PropType<() => void>;
|
|
86
|
+
};
|
|
87
|
+
onClose: {
|
|
88
|
+
type: import('vue').PropType<() => void>;
|
|
89
|
+
};
|
|
90
|
+
showAdjust: {
|
|
91
|
+
type: import('vue').PropType<boolean>;
|
|
92
|
+
default: boolean;
|
|
93
|
+
};
|
|
94
|
+
isFullscreen: {
|
|
95
|
+
type: import('vue').PropType<boolean>;
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
onAdjust: {
|
|
99
|
+
type: import('vue').PropType<(val: boolean) => void>;
|
|
100
|
+
};
|
|
101
|
+
insert: {
|
|
102
|
+
type: import('vue').PropType<() => void>;
|
|
103
|
+
};
|
|
104
|
+
language: {
|
|
105
|
+
type: import('vue').PropType<string>;
|
|
106
|
+
};
|
|
107
|
+
theme: {
|
|
108
|
+
type: import('vue').PropType<import('..').Themes>;
|
|
109
|
+
};
|
|
110
|
+
}>> & {
|
|
111
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
112
|
+
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
113
|
+
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
title: string;
|
|
116
|
+
height: string;
|
|
117
|
+
width: string;
|
|
118
|
+
showAdjust: boolean;
|
|
119
|
+
isFullscreen: boolean;
|
|
120
|
+
modalTitle: string;
|
|
121
|
+
}, true, {}, {}, {
|
|
122
|
+
P: {};
|
|
123
|
+
B: {};
|
|
124
|
+
D: {};
|
|
125
|
+
C: {};
|
|
126
|
+
M: {};
|
|
127
|
+
Defaults: {};
|
|
128
|
+
}, Readonly<import('vue').ExtractPropTypes<{
|
|
129
|
+
title: {
|
|
130
|
+
type: import('vue').PropType<string>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
|
+
modalTitle: {
|
|
134
|
+
type: import('vue').PropType<string>;
|
|
135
|
+
default: string;
|
|
136
|
+
};
|
|
137
|
+
visible: {
|
|
138
|
+
type: import('vue').PropType<boolean>;
|
|
139
|
+
};
|
|
140
|
+
width: {
|
|
141
|
+
type: import('vue').PropType<string>;
|
|
142
|
+
default: string;
|
|
143
|
+
};
|
|
144
|
+
height: {
|
|
145
|
+
type: import('vue').PropType<string>;
|
|
146
|
+
default: string;
|
|
147
|
+
};
|
|
148
|
+
trigger: {
|
|
149
|
+
type: import('vue').PropType<string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
150
|
+
[key: string]: any;
|
|
151
|
+
}>>;
|
|
152
|
+
};
|
|
153
|
+
onClick: {
|
|
154
|
+
type: import('vue').PropType<() => void>;
|
|
155
|
+
};
|
|
156
|
+
onClose: {
|
|
157
|
+
type: import('vue').PropType<() => void>;
|
|
158
|
+
};
|
|
159
|
+
showAdjust: {
|
|
160
|
+
type: import('vue').PropType<boolean>;
|
|
161
|
+
default: boolean;
|
|
162
|
+
};
|
|
163
|
+
isFullscreen: {
|
|
164
|
+
type: import('vue').PropType<boolean>;
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
onAdjust: {
|
|
168
|
+
type: import('vue').PropType<(val: boolean) => void>;
|
|
169
|
+
};
|
|
170
|
+
insert: {
|
|
171
|
+
type: import('vue').PropType<() => void>;
|
|
172
|
+
};
|
|
173
|
+
language: {
|
|
174
|
+
type: import('vue').PropType<string>;
|
|
175
|
+
};
|
|
176
|
+
theme: {
|
|
177
|
+
type: import('vue').PropType<import('..').Themes>;
|
|
178
|
+
};
|
|
179
|
+
}>> & {
|
|
180
|
+
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
182
|
+
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
183
|
+
}, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, {
|
|
184
|
+
title: string;
|
|
185
|
+
height: string;
|
|
186
|
+
width: string;
|
|
187
|
+
showAdjust: boolean;
|
|
188
|
+
isFullscreen: boolean;
|
|
189
|
+
modalTitle: string;
|
|
190
|
+
}>;
|
|
215
191
|
__isFragment?: undefined;
|
|
216
192
|
__isTeleport?: undefined;
|
|
217
193
|
__isSuspense?: undefined;
|
|
218
|
-
} & import('vue').ComponentOptionsBase<Readonly<import(
|
|
194
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
219
195
|
title: {
|
|
220
|
-
type: import(
|
|
196
|
+
type: import('vue').PropType<string>;
|
|
221
197
|
default: string;
|
|
222
198
|
};
|
|
223
199
|
modalTitle: {
|
|
224
|
-
type: import(
|
|
200
|
+
type: import('vue').PropType<string>;
|
|
225
201
|
default: string;
|
|
226
202
|
};
|
|
227
203
|
visible: {
|
|
228
|
-
type: import(
|
|
204
|
+
type: import('vue').PropType<boolean>;
|
|
229
205
|
};
|
|
230
206
|
width: {
|
|
231
|
-
type: import(
|
|
207
|
+
type: import('vue').PropType<string>;
|
|
232
208
|
default: string;
|
|
233
209
|
};
|
|
234
210
|
height: {
|
|
235
|
-
type: import(
|
|
211
|
+
type: import('vue').PropType<string>;
|
|
236
212
|
default: string;
|
|
237
213
|
};
|
|
238
214
|
trigger: {
|
|
239
|
-
type: import(
|
|
215
|
+
type: import('vue').PropType<string | import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
216
|
+
[key: string]: any;
|
|
217
|
+
}>>;
|
|
240
218
|
};
|
|
241
219
|
onClick: {
|
|
242
|
-
type: import(
|
|
220
|
+
type: import('vue').PropType<() => void>;
|
|
243
221
|
};
|
|
244
222
|
onClose: {
|
|
245
|
-
type: import(
|
|
223
|
+
type: import('vue').PropType<() => void>;
|
|
246
224
|
};
|
|
247
225
|
showAdjust: {
|
|
248
|
-
type: import(
|
|
226
|
+
type: import('vue').PropType<boolean>;
|
|
249
227
|
default: boolean;
|
|
250
228
|
};
|
|
251
229
|
isFullscreen: {
|
|
252
|
-
type: import(
|
|
230
|
+
type: import('vue').PropType<boolean>;
|
|
253
231
|
default: boolean;
|
|
254
232
|
};
|
|
255
233
|
onAdjust: {
|
|
256
|
-
type: import(
|
|
234
|
+
type: import('vue').PropType<(val: boolean) => void>;
|
|
257
235
|
};
|
|
258
236
|
insert: {
|
|
259
|
-
type: import(
|
|
237
|
+
type: import('vue').PropType<() => void>;
|
|
260
238
|
};
|
|
261
239
|
language: {
|
|
262
|
-
type: import(
|
|
240
|
+
type: import('vue').PropType<string>;
|
|
263
241
|
};
|
|
264
242
|
theme: {
|
|
265
|
-
type: import(
|
|
243
|
+
type: import('vue').PropType<import('..').Themes>;
|
|
266
244
|
};
|
|
267
245
|
}>> & {
|
|
268
246
|
onOnClose?: ((...args: any[]) => any) | undefined;
|
|
269
247
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
270
248
|
onOnAdjust?: ((...args: any[]) => any) | undefined;
|
|
271
|
-
}, () => JSX.Element, unknown, {}, {}, import(
|
|
249
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("onClick" | "onClose" | "onAdjust")[], "onClick" | "onClose" | "onAdjust", {
|
|
272
250
|
title: string;
|
|
273
251
|
height: string;
|
|
274
252
|
width: string;
|
|
275
253
|
showAdjust: boolean;
|
|
276
254
|
isFullscreen: boolean;
|
|
277
255
|
modalTitle: string;
|
|
278
|
-
}, {}, string> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
256
|
+
}, {}, string, {}> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & {
|
|
279
257
|
install: (app: App) => App;
|
|
280
258
|
};
|
|
281
259
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Themes } from '../MdEditor/type';
|
|
2
|
-
import { PropType, ExtractPropTypes } from 'vue';
|
|
2
|
+
import { PropType, ExtractPropTypes, VNode } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare const _default: import('vue').DefineComponent<{
|
|
5
5
|
title: {
|
|
@@ -7,7 +7,9 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
7
7
|
default: string;
|
|
8
8
|
};
|
|
9
9
|
trigger: {
|
|
10
|
-
type: PropType<string |
|
|
10
|
+
type: PropType<string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}>>;
|
|
11
13
|
};
|
|
12
14
|
onClick: {
|
|
13
15
|
type: PropType<(e: MouseEvent) => void>;
|
|
@@ -24,13 +26,15 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
24
26
|
theme: {
|
|
25
27
|
type: PropType<Themes>;
|
|
26
28
|
};
|
|
27
|
-
}, () => JSX.Element, unknown, {}, {}, import(
|
|
29
|
+
}, () => import("vue/jsx-runtime").JSX.Element, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "onClick"[], "onClick", import('vue').PublicProps, Readonly<ExtractPropTypes<{
|
|
28
30
|
title: {
|
|
29
31
|
type: PropType<string>;
|
|
30
32
|
default: string;
|
|
31
33
|
};
|
|
32
34
|
trigger: {
|
|
33
|
-
type: PropType<string |
|
|
35
|
+
type: PropType<string | VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>>;
|
|
34
38
|
};
|
|
35
39
|
onClick: {
|
|
36
40
|
type: PropType<(e: MouseEvent) => void>;
|
|
@@ -51,5 +55,5 @@ declare const _default: import('vue').DefineComponent<{
|
|
|
51
55
|
onOnClick?: ((...args: any[]) => any) | undefined;
|
|
52
56
|
}, {
|
|
53
57
|
title: string;
|
|
54
|
-
}>;
|
|
58
|
+
}, {}>;
|
|
55
59
|
export default _default;
|