@nuxtjs/mdc 0.18.4 → 0.19.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/module.json +1 -1
- package/dist/runtime/components/prose/ProseA.vue.d.ts +2 -2
- package/dist/runtime/stringify/mdc-remark.js +58 -15
- package/package.json +16 -16
- package/dist/runtime/components/MDC.d.vue.ts +0 -141
- package/dist/runtime/components/MDCCached.d.vue.ts +0 -156
- package/dist/runtime/components/MDCRenderer.d.vue.ts +0 -124
- package/dist/runtime/components/MDCSlot.d.vue.ts +0 -57
- package/dist/runtime/components/prose/ProseA.d.vue.ts +0 -37
- package/dist/runtime/components/prose/ProseBlockquote.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseCode.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseEm.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseH1.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseH2.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseH3.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseH4.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseH5.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseH6.d.vue.ts +0 -18
- package/dist/runtime/components/prose/ProseHr.d.vue.ts +0 -3
- package/dist/runtime/components/prose/ProseImg.d.vue.ts +0 -42
- package/dist/runtime/components/prose/ProseLi.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseOl.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseP.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProsePre.d.vue.ts +0 -70
- package/dist/runtime/components/prose/ProseScript.d.vue.ts +0 -15
- package/dist/runtime/components/prose/ProseStrong.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseTable.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseTbody.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseTd.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseTh.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseThead.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseTr.d.vue.ts +0 -13
- package/dist/runtime/components/prose/ProseUl.d.vue.ts +0 -13
package/dist/module.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
declare var
|
|
2
|
+
declare var __VLS_8: {};
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof
|
|
4
|
+
default?: (props: typeof __VLS_8) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
7
|
href: {
|
|
@@ -101,7 +101,7 @@ const mdcRemarkNodeHandlers = {
|
|
|
101
101
|
state.patch(node, result);
|
|
102
102
|
return result;
|
|
103
103
|
}
|
|
104
|
-
const isInlineElement = (
|
|
104
|
+
const isInlineElement = isForcedToBeInlineByItsParent(node, parent);
|
|
105
105
|
if (isInlineElement) {
|
|
106
106
|
return {
|
|
107
107
|
type: mdastTextComponentType,
|
|
@@ -110,6 +110,20 @@ const mdcRemarkNodeHandlers = {
|
|
|
110
110
|
children: state.all(node)
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
|
+
if (!["li", "p"].includes(parent?.tagName || "") && !node.children?.length) {
|
|
114
|
+
const attributes = Object.entries(node.properties || {});
|
|
115
|
+
if (attributes.length < 4 && !attributes.some(([key, value]) => String(value).includes("\n") || key.startsWith(":"))) {
|
|
116
|
+
return {
|
|
117
|
+
type: "paragraph",
|
|
118
|
+
children: [{
|
|
119
|
+
type: mdastTextComponentType,
|
|
120
|
+
name: node.tagName,
|
|
121
|
+
attributes: node.properties,
|
|
122
|
+
children: state.all(node)
|
|
123
|
+
}]
|
|
124
|
+
};
|
|
125
|
+
}
|
|
126
|
+
}
|
|
113
127
|
let children = state.all(node);
|
|
114
128
|
if (children.every((child) => [mdastTextComponentType, "text"].includes(child.type))) {
|
|
115
129
|
children = [{ type: "paragraph", children }];
|
|
@@ -141,13 +155,24 @@ const mdcRemarkHandlers = {
|
|
|
141
155
|
children: state.toFlow(state.all(node))
|
|
142
156
|
};
|
|
143
157
|
},
|
|
158
|
+
"li": (state, node) => {
|
|
159
|
+
const result = defaultHandlers.li(state, node);
|
|
160
|
+
if (result.children[0]?.type === "paragraph") {
|
|
161
|
+
const paragraph = result.children[0];
|
|
162
|
+
const lastChild = paragraph.children[paragraph.children.length - 1];
|
|
163
|
+
if (lastChild?.type === "text" && lastChild.value?.endsWith("\n")) {
|
|
164
|
+
lastChild.value = lastChild.value.trim();
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
return result;
|
|
168
|
+
},
|
|
144
169
|
"ul": (state, node, parent) => {
|
|
145
170
|
const result = defaultHandlers.ul(state, node);
|
|
146
|
-
return parent?.tagName
|
|
171
|
+
return ["p", "li"].includes(parent?.tagName || "") ? result : { type: "paragraph", children: [result] };
|
|
147
172
|
},
|
|
148
173
|
"ol": (state, node, parent) => {
|
|
149
174
|
const result = defaultHandlers.ol(state, node);
|
|
150
|
-
return parent?.tagName
|
|
175
|
+
return ["p", "li"].includes(parent?.tagName || "") ? result : { type: "paragraph", children: [result] };
|
|
151
176
|
},
|
|
152
177
|
"code": (state, node) => {
|
|
153
178
|
const attributes = { ...node.properties };
|
|
@@ -186,19 +211,16 @@ const mdcRemarkHandlers = {
|
|
|
186
211
|
meta
|
|
187
212
|
};
|
|
188
213
|
},
|
|
189
|
-
"button": (state, node) => {
|
|
190
|
-
if (
|
|
191
|
-
|
|
192
|
-
node.children?.find((child) => child.type === mdcRemarkElementType) || node.children?.find((child) => child.type === "text" && child.value.includes("\n"))
|
|
193
|
-
) {
|
|
194
|
-
return {
|
|
195
|
-
type: "containerComponent",
|
|
196
|
-
name: "button",
|
|
197
|
-
children: state.all(node),
|
|
198
|
-
attributes: node.properties
|
|
199
|
-
};
|
|
214
|
+
"button": (state, node, parent) => {
|
|
215
|
+
if (isInlineNode(node, parent)) {
|
|
216
|
+
return createTextComponent("button")(state, node);
|
|
200
217
|
}
|
|
201
|
-
return
|
|
218
|
+
return {
|
|
219
|
+
type: "containerComponent",
|
|
220
|
+
name: "button",
|
|
221
|
+
children: state.all(node),
|
|
222
|
+
attributes: node.properties
|
|
223
|
+
};
|
|
202
224
|
},
|
|
203
225
|
"span": createTextComponent("span"),
|
|
204
226
|
"kbd": createTextComponent("kbd"),
|
|
@@ -278,3 +300,24 @@ function createTextComponent(name) {
|
|
|
278
300
|
return result;
|
|
279
301
|
};
|
|
280
302
|
}
|
|
303
|
+
function isForcedToBeInlineByItsParent(node, parent) {
|
|
304
|
+
if (["p", "li", "strong", "em", "span", "h1", "h2", "h3", "h4", "h5", "h6"].includes(parent?.tagName || "")) {
|
|
305
|
+
return true;
|
|
306
|
+
}
|
|
307
|
+
if (parent?.children?.some((child) => child.type === "text")) {
|
|
308
|
+
return true;
|
|
309
|
+
}
|
|
310
|
+
return false;
|
|
311
|
+
}
|
|
312
|
+
function isInlineNode(node, parent) {
|
|
313
|
+
if (
|
|
314
|
+
// @ts-expect-error: custom type
|
|
315
|
+
node.children?.find((child) => child.type === mdcRemarkElementType) || node.children?.find((child) => child.type === "text" && child.value.includes("\n"))
|
|
316
|
+
) {
|
|
317
|
+
return false;
|
|
318
|
+
}
|
|
319
|
+
if (!isForcedToBeInlineByItsParent(node, parent)) {
|
|
320
|
+
return false;
|
|
321
|
+
}
|
|
322
|
+
return true;
|
|
323
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nuxtjs/mdc",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.19.1",
|
|
4
4
|
"description": "Nuxt MDC module",
|
|
5
5
|
"repository": "nuxt-content/mdc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -69,13 +69,13 @@
|
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@nuxt/kit": "^4.2.1",
|
|
72
|
-
"@shikijs/core": "^3.
|
|
73
|
-
"@shikijs/langs": "^3.
|
|
74
|
-
"@shikijs/themes": "^3.
|
|
75
|
-
"@shikijs/transformers": "^3.
|
|
72
|
+
"@shikijs/core": "^3.17.0",
|
|
73
|
+
"@shikijs/langs": "^3.17.0",
|
|
74
|
+
"@shikijs/themes": "^3.17.0",
|
|
75
|
+
"@shikijs/transformers": "^3.17.0",
|
|
76
76
|
"@types/hast": "^3.0.4",
|
|
77
77
|
"@types/mdast": "^4.0.4",
|
|
78
|
-
"@vue/compiler-core": "^3.5.
|
|
78
|
+
"@vue/compiler-core": "^3.5.25",
|
|
79
79
|
"consola": "^3.4.2",
|
|
80
80
|
"debug": "^4.4.3",
|
|
81
81
|
"defu": "^6.1.4",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"hast-util-format": "^1.1.0",
|
|
86
86
|
"hast-util-to-mdast": "^10.1.2",
|
|
87
87
|
"hast-util-to-string": "^3.0.1",
|
|
88
|
-
"mdast-util-to-hast": "^13.2.
|
|
88
|
+
"mdast-util-to-hast": "^13.2.1",
|
|
89
89
|
"micromark-util-sanitize-uri": "^2.0.1",
|
|
90
90
|
"parse5": "^8.0.0",
|
|
91
91
|
"pathe": "^2.0.3",
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
"rehype-sort-attributes": "^5.0.1",
|
|
100
100
|
"remark-emoji": "^5.0.2",
|
|
101
101
|
"remark-gfm": "^4.0.1",
|
|
102
|
-
"remark-mdc": "^3.
|
|
102
|
+
"remark-mdc": "^3.9.0",
|
|
103
103
|
"remark-parse": "^11.0.0",
|
|
104
104
|
"remark-rehype": "^11.1.2",
|
|
105
105
|
"remark-stringify": "^11.0.0",
|
|
106
106
|
"scule": "^1.3.0",
|
|
107
|
-
"shiki": "^3.
|
|
107
|
+
"shiki": "^3.17.0",
|
|
108
108
|
"ufo": "^1.6.1",
|
|
109
109
|
"unified": "^11.0.5",
|
|
110
110
|
"unist-builder": "^4.0.0",
|
|
@@ -113,12 +113,12 @@
|
|
|
113
113
|
"vfile": "^6.0.3"
|
|
114
114
|
},
|
|
115
115
|
"devDependencies": {
|
|
116
|
-
"@nuxt/devtools": "^3.1.
|
|
117
|
-
"@nuxt/eslint-config": "^1.
|
|
116
|
+
"@nuxt/devtools": "^3.1.1",
|
|
117
|
+
"@nuxt/eslint-config": "^1.11.0",
|
|
118
118
|
"@nuxt/module-builder": "^1.0.2",
|
|
119
119
|
"@nuxt/schema": "^4.2.1",
|
|
120
120
|
"@nuxt/test-utils": "^3.20.1",
|
|
121
|
-
"@nuxt/ui": "^4.1
|
|
121
|
+
"@nuxt/ui": "^4.2.1",
|
|
122
122
|
"@nuxtjs/mdc": "link:.",
|
|
123
123
|
"@types/node": "^24.10.1",
|
|
124
124
|
"eslint": "^9.39.1",
|
|
@@ -126,13 +126,13 @@
|
|
|
126
126
|
"rehype": "^13.0.2",
|
|
127
127
|
"release-it": "^19.0.6",
|
|
128
128
|
"typescript": "5.9.3",
|
|
129
|
-
"vitest": "^4.0.
|
|
130
|
-
"vue-tsc": "^3.1.
|
|
129
|
+
"vitest": "^4.0.14",
|
|
130
|
+
"vue-tsc": "^3.1.5"
|
|
131
131
|
},
|
|
132
132
|
"resolutions": {
|
|
133
|
-
"
|
|
133
|
+
"mkdist": "2.3.0"
|
|
134
134
|
},
|
|
135
|
-
"packageManager": "pnpm@10.
|
|
135
|
+
"packageManager": "pnpm@10.24.0",
|
|
136
136
|
"release-it": {
|
|
137
137
|
"git": {
|
|
138
138
|
"commitMessage": "chore(release): release v${version}"
|
|
@@ -1,141 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { MDCParseOptions } from '@nuxtjs/mdc';
|
|
3
|
-
declare var __VLS_1: {
|
|
4
|
-
data: any;
|
|
5
|
-
body: any;
|
|
6
|
-
toc: any;
|
|
7
|
-
excerpt: any;
|
|
8
|
-
error: import("nuxt/app").NuxtError<unknown> | undefined;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_1) => any;
|
|
12
|
-
};
|
|
13
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
-
tag: {
|
|
15
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Raw markdown string or parsed markdown object from `parseMarkdown`
|
|
20
|
-
*/
|
|
21
|
-
value: {
|
|
22
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Render only the excerpt
|
|
27
|
-
*/
|
|
28
|
-
excerpt: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Options for `parseMarkdown`
|
|
34
|
-
*/
|
|
35
|
-
parserOptions: {
|
|
36
|
-
type: PropType<MDCParseOptions>;
|
|
37
|
-
default: () => {};
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Class to be applied to the root element
|
|
41
|
-
*/
|
|
42
|
-
class: {
|
|
43
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Tags to unwrap separated by spaces
|
|
48
|
-
* Example: 'ul li'
|
|
49
|
-
*/
|
|
50
|
-
unwrap: {
|
|
51
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Async Data Unique Key
|
|
56
|
-
* @default `hash(props.value)`
|
|
57
|
-
*/
|
|
58
|
-
cacheKey: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: undefined;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Partial parsing (if partial is `true`, title and toc generation will not be generated)
|
|
64
|
-
*/
|
|
65
|
-
partial: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
70
|
-
tag: {
|
|
71
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
72
|
-
default: string;
|
|
73
|
-
};
|
|
74
|
-
/**
|
|
75
|
-
* Raw markdown string or parsed markdown object from `parseMarkdown`
|
|
76
|
-
*/
|
|
77
|
-
value: {
|
|
78
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
79
|
-
required: true;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Render only the excerpt
|
|
83
|
-
*/
|
|
84
|
-
excerpt: {
|
|
85
|
-
type: BooleanConstructor;
|
|
86
|
-
default: boolean;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Options for `parseMarkdown`
|
|
90
|
-
*/
|
|
91
|
-
parserOptions: {
|
|
92
|
-
type: PropType<MDCParseOptions>;
|
|
93
|
-
default: () => {};
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Class to be applied to the root element
|
|
97
|
-
*/
|
|
98
|
-
class: {
|
|
99
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
100
|
-
default: string;
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Tags to unwrap separated by spaces
|
|
104
|
-
* Example: 'ul li'
|
|
105
|
-
*/
|
|
106
|
-
unwrap: {
|
|
107
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
110
|
-
/**
|
|
111
|
-
* Async Data Unique Key
|
|
112
|
-
* @default `hash(props.value)`
|
|
113
|
-
*/
|
|
114
|
-
cacheKey: {
|
|
115
|
-
type: StringConstructor;
|
|
116
|
-
default: undefined;
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Partial parsing (if partial is `true`, title and toc generation will not be generated)
|
|
120
|
-
*/
|
|
121
|
-
partial: {
|
|
122
|
-
type: BooleanConstructor;
|
|
123
|
-
default: boolean;
|
|
124
|
-
};
|
|
125
|
-
}>> & Readonly<{}>, {
|
|
126
|
-
tag: string | boolean;
|
|
127
|
-
excerpt: boolean;
|
|
128
|
-
parserOptions: MDCParseOptions;
|
|
129
|
-
class: string | Record<string, any> | unknown[];
|
|
130
|
-
unwrap: string | boolean;
|
|
131
|
-
cacheKey: string;
|
|
132
|
-
partial: boolean;
|
|
133
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
134
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
135
|
-
declare const _default: typeof __VLS_export;
|
|
136
|
-
export default _default;
|
|
137
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
138
|
-
new (): {
|
|
139
|
-
$slots: S;
|
|
140
|
-
};
|
|
141
|
-
};
|
|
@@ -1,156 +0,0 @@
|
|
|
1
|
-
import type { PropType, DefineComponent } from 'vue';
|
|
2
|
-
import type { MDCParseOptions } from '@nuxtjs/mdc';
|
|
3
|
-
declare var __VLS_1: {
|
|
4
|
-
data: any;
|
|
5
|
-
body: any;
|
|
6
|
-
toc: any;
|
|
7
|
-
excerpt: any;
|
|
8
|
-
error: import("nuxt/app").NuxtError<unknown> | undefined;
|
|
9
|
-
};
|
|
10
|
-
type __VLS_Slots = {} & {
|
|
11
|
-
default?: (props: typeof __VLS_1) => any;
|
|
12
|
-
};
|
|
13
|
-
declare const __VLS_base: DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
-
tag: {
|
|
15
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Raw markdown string or parsed markdown object from `parseMarkdown`
|
|
20
|
-
*/
|
|
21
|
-
value: {
|
|
22
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
23
|
-
required: true;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Render only the excerpt
|
|
27
|
-
*/
|
|
28
|
-
excerpt: {
|
|
29
|
-
type: BooleanConstructor;
|
|
30
|
-
default: boolean;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Options for `parseMarkdown`
|
|
34
|
-
*/
|
|
35
|
-
parserOptions: {
|
|
36
|
-
type: PropType<MDCParseOptions>;
|
|
37
|
-
default: () => {};
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* Class to be applied to the root element
|
|
41
|
-
*/
|
|
42
|
-
class: {
|
|
43
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
44
|
-
default: string;
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Tags to unwrap separated by spaces
|
|
48
|
-
* Example: 'ul li'
|
|
49
|
-
*/
|
|
50
|
-
unwrap: {
|
|
51
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
/**
|
|
55
|
-
* Async Data Unique Key
|
|
56
|
-
* @default `hash(props.value)`
|
|
57
|
-
*/
|
|
58
|
-
cacheKey: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: undefined;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Partial parsing (if partial is `true`, title and toc generation will not be generated)
|
|
64
|
-
*/
|
|
65
|
-
partial: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
/**
|
|
70
|
-
* The map of custom components to use for rendering.
|
|
71
|
-
*/
|
|
72
|
-
components: {
|
|
73
|
-
type: PropType<Record<string, string | DefineComponent<any, any, any>>>;
|
|
74
|
-
default: () => {};
|
|
75
|
-
};
|
|
76
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
-
tag: {
|
|
78
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
79
|
-
default: string;
|
|
80
|
-
};
|
|
81
|
-
/**
|
|
82
|
-
* Raw markdown string or parsed markdown object from `parseMarkdown`
|
|
83
|
-
*/
|
|
84
|
-
value: {
|
|
85
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
86
|
-
required: true;
|
|
87
|
-
};
|
|
88
|
-
/**
|
|
89
|
-
* Render only the excerpt
|
|
90
|
-
*/
|
|
91
|
-
excerpt: {
|
|
92
|
-
type: BooleanConstructor;
|
|
93
|
-
default: boolean;
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Options for `parseMarkdown`
|
|
97
|
-
*/
|
|
98
|
-
parserOptions: {
|
|
99
|
-
type: PropType<MDCParseOptions>;
|
|
100
|
-
default: () => {};
|
|
101
|
-
};
|
|
102
|
-
/**
|
|
103
|
-
* Class to be applied to the root element
|
|
104
|
-
*/
|
|
105
|
-
class: {
|
|
106
|
-
type: (ObjectConstructor | ArrayConstructor | StringConstructor)[];
|
|
107
|
-
default: string;
|
|
108
|
-
};
|
|
109
|
-
/**
|
|
110
|
-
* Tags to unwrap separated by spaces
|
|
111
|
-
* Example: 'ul li'
|
|
112
|
-
*/
|
|
113
|
-
unwrap: {
|
|
114
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
115
|
-
default: boolean;
|
|
116
|
-
};
|
|
117
|
-
/**
|
|
118
|
-
* Async Data Unique Key
|
|
119
|
-
* @default `hash(props.value)`
|
|
120
|
-
*/
|
|
121
|
-
cacheKey: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: undefined;
|
|
124
|
-
};
|
|
125
|
-
/**
|
|
126
|
-
* Partial parsing (if partial is `true`, title and toc generation will not be generated)
|
|
127
|
-
*/
|
|
128
|
-
partial: {
|
|
129
|
-
type: BooleanConstructor;
|
|
130
|
-
default: boolean;
|
|
131
|
-
};
|
|
132
|
-
/**
|
|
133
|
-
* The map of custom components to use for rendering.
|
|
134
|
-
*/
|
|
135
|
-
components: {
|
|
136
|
-
type: PropType<Record<string, string | DefineComponent<any, any, any>>>;
|
|
137
|
-
default: () => {};
|
|
138
|
-
};
|
|
139
|
-
}>> & Readonly<{}>, {
|
|
140
|
-
tag: string | boolean;
|
|
141
|
-
excerpt: boolean;
|
|
142
|
-
parserOptions: MDCParseOptions;
|
|
143
|
-
class: string | Record<string, any> | unknown[];
|
|
144
|
-
unwrap: string | boolean;
|
|
145
|
-
cacheKey: string;
|
|
146
|
-
partial: boolean;
|
|
147
|
-
components: Record<string, string | DefineComponent<any, any, any>>;
|
|
148
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
149
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
150
|
-
declare const _default: typeof __VLS_export;
|
|
151
|
-
export default _default;
|
|
152
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
153
|
-
new (): {
|
|
154
|
-
$slots: S;
|
|
155
|
-
};
|
|
156
|
-
};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import type { PropType, DefineComponent } from 'vue';
|
|
2
|
-
import type { MDCRoot } from '@nuxtjs/mdc';
|
|
3
|
-
declare const __VLS_export: DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
/**
|
|
5
|
-
* Content to render
|
|
6
|
-
*/
|
|
7
|
-
body: {
|
|
8
|
-
type: PropType<MDCRoot>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
/**
|
|
12
|
-
* Document meta data
|
|
13
|
-
*/
|
|
14
|
-
data: {
|
|
15
|
-
type: ObjectConstructor;
|
|
16
|
-
default: () => {};
|
|
17
|
-
};
|
|
18
|
-
/**
|
|
19
|
-
* Class(es) to bind to the component
|
|
20
|
-
*/
|
|
21
|
-
class: {
|
|
22
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
/**
|
|
26
|
-
* Root tag to use for rendering
|
|
27
|
-
*/
|
|
28
|
-
tag: {
|
|
29
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
30
|
-
default: undefined;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Whether or not to render Prose components instead of HTML tags
|
|
34
|
-
*/
|
|
35
|
-
prose: {
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: undefined;
|
|
38
|
-
};
|
|
39
|
-
/**
|
|
40
|
-
* The map of custom components to use for rendering.
|
|
41
|
-
*/
|
|
42
|
-
components: {
|
|
43
|
-
type: PropType<Record<string, string | DefineComponent<any, any, any>>>;
|
|
44
|
-
default: () => {};
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Tags to unwrap separated by spaces
|
|
48
|
-
* Example: 'ul li'
|
|
49
|
-
*/
|
|
50
|
-
unwrap: {
|
|
51
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
52
|
-
default: boolean;
|
|
53
|
-
};
|
|
54
|
-
}>, {
|
|
55
|
-
tags: import("vue").ComputedRef<any>;
|
|
56
|
-
contentKey: import("vue").ComputedRef<string>;
|
|
57
|
-
route: any;
|
|
58
|
-
runtimeData: {
|
|
59
|
-
[x: string]: any;
|
|
60
|
-
};
|
|
61
|
-
updateRuntimeData: (code: string, value: any) => {
|
|
62
|
-
[x: string]: any;
|
|
63
|
-
};
|
|
64
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
65
|
-
/**
|
|
66
|
-
* Content to render
|
|
67
|
-
*/
|
|
68
|
-
body: {
|
|
69
|
-
type: PropType<MDCRoot>;
|
|
70
|
-
required: true;
|
|
71
|
-
};
|
|
72
|
-
/**
|
|
73
|
-
* Document meta data
|
|
74
|
-
*/
|
|
75
|
-
data: {
|
|
76
|
-
type: ObjectConstructor;
|
|
77
|
-
default: () => {};
|
|
78
|
-
};
|
|
79
|
-
/**
|
|
80
|
-
* Class(es) to bind to the component
|
|
81
|
-
*/
|
|
82
|
-
class: {
|
|
83
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
84
|
-
default: undefined;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Root tag to use for rendering
|
|
88
|
-
*/
|
|
89
|
-
tag: {
|
|
90
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
91
|
-
default: undefined;
|
|
92
|
-
};
|
|
93
|
-
/**
|
|
94
|
-
* Whether or not to render Prose components instead of HTML tags
|
|
95
|
-
*/
|
|
96
|
-
prose: {
|
|
97
|
-
type: BooleanConstructor;
|
|
98
|
-
default: undefined;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* The map of custom components to use for rendering.
|
|
102
|
-
*/
|
|
103
|
-
components: {
|
|
104
|
-
type: PropType<Record<string, string | DefineComponent<any, any, any>>>;
|
|
105
|
-
default: () => {};
|
|
106
|
-
};
|
|
107
|
-
/**
|
|
108
|
-
* Tags to unwrap separated by spaces
|
|
109
|
-
* Example: 'ul li'
|
|
110
|
-
*/
|
|
111
|
-
unwrap: {
|
|
112
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
113
|
-
default: boolean;
|
|
114
|
-
};
|
|
115
|
-
}>> & Readonly<{}>, {
|
|
116
|
-
data: Record<string, any>;
|
|
117
|
-
tag: string | boolean;
|
|
118
|
-
class: string | Record<string, any>;
|
|
119
|
-
unwrap: string | boolean;
|
|
120
|
-
components: Record<string, string | DefineComponent<any, any, any>>;
|
|
121
|
-
prose: boolean;
|
|
122
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
123
|
-
declare const _default: typeof __VLS_export;
|
|
124
|
-
export default _default;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import type { Slot } from 'vue';
|
|
2
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
name: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
/**
|
|
8
|
-
* Tags to unwrap separated by spaces
|
|
9
|
-
* Example: 'ul li'
|
|
10
|
-
*/
|
|
11
|
-
unwrap: {
|
|
12
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
13
|
-
default: boolean;
|
|
14
|
-
};
|
|
15
|
-
/**
|
|
16
|
-
* VNode to render
|
|
17
|
-
* This is only useful for render functions
|
|
18
|
-
*/
|
|
19
|
-
use: {
|
|
20
|
-
type: FunctionConstructor;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
|
-
}>, {
|
|
24
|
-
fallbackSlot: Slot<any> | undefined;
|
|
25
|
-
tags: import("vue").ComputedRef<string[]>;
|
|
26
|
-
parent: import("vue").ComponentInternalInstance | null;
|
|
27
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
|
-
name: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
default: string;
|
|
31
|
-
};
|
|
32
|
-
/**
|
|
33
|
-
* Tags to unwrap separated by spaces
|
|
34
|
-
* Example: 'ul li'
|
|
35
|
-
*/
|
|
36
|
-
unwrap: {
|
|
37
|
-
type: (BooleanConstructor | StringConstructor)[];
|
|
38
|
-
default: boolean;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* VNode to render
|
|
42
|
-
* This is only useful for render functions
|
|
43
|
-
*/
|
|
44
|
-
use: {
|
|
45
|
-
type: FunctionConstructor;
|
|
46
|
-
default: undefined;
|
|
47
|
-
};
|
|
48
|
-
}>> & Readonly<{}>, {
|
|
49
|
-
name: string;
|
|
50
|
-
unwrap: string | boolean;
|
|
51
|
-
use: Function;
|
|
52
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
-
/**
|
|
54
|
-
* MDCSlot component
|
|
55
|
-
*/
|
|
56
|
-
declare const _default: typeof __VLS_export;
|
|
57
|
-
export default _default;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
declare var __VLS_7: {};
|
|
3
|
-
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof __VLS_7) => any;
|
|
5
|
-
};
|
|
6
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
7
|
-
href: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
target: {
|
|
12
|
-
type: PropType<"_blank" | "_parent" | "_self" | "_top" | (string & object) | null | undefined>;
|
|
13
|
-
default: undefined;
|
|
14
|
-
required: false;
|
|
15
|
-
};
|
|
16
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
-
href: {
|
|
18
|
-
type: StringConstructor;
|
|
19
|
-
default: string;
|
|
20
|
-
};
|
|
21
|
-
target: {
|
|
22
|
-
type: PropType<"_blank" | "_parent" | "_self" | "_top" | (string & object) | null | undefined>;
|
|
23
|
-
default: undefined;
|
|
24
|
-
required: false;
|
|
25
|
-
};
|
|
26
|
-
}>> & Readonly<{}>, {
|
|
27
|
-
href: string;
|
|
28
|
-
target: "_blank" | "_parent" | "_self" | "_top" | null | undefined;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
30
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
31
|
-
declare const _default: typeof __VLS_export;
|
|
32
|
-
export default _default;
|
|
33
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
34
|
-
new (): {
|
|
35
|
-
$slots: S;
|
|
36
|
-
};
|
|
37
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
id?: string;
|
|
3
|
-
};
|
|
4
|
-
declare var __VLS_1: {}, __VLS_3: {};
|
|
5
|
-
type __VLS_Slots = {} & {
|
|
6
|
-
default?: (props: typeof __VLS_1) => any;
|
|
7
|
-
} & {
|
|
8
|
-
default?: (props: typeof __VLS_3) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
11
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
-
declare const _default: typeof __VLS_export;
|
|
13
|
-
export default _default;
|
|
14
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
-
new (): {
|
|
16
|
-
$slots: S;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
declare const _default: typeof __VLS_export;
|
|
3
|
-
export default _default;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
src: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
alt: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
width: {
|
|
11
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
12
|
-
default: undefined;
|
|
13
|
-
};
|
|
14
|
-
height: {
|
|
15
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
16
|
-
default: undefined;
|
|
17
|
-
};
|
|
18
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
-
src: {
|
|
20
|
-
type: StringConstructor;
|
|
21
|
-
default: string;
|
|
22
|
-
};
|
|
23
|
-
alt: {
|
|
24
|
-
type: StringConstructor;
|
|
25
|
-
default: string;
|
|
26
|
-
};
|
|
27
|
-
width: {
|
|
28
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
29
|
-
default: undefined;
|
|
30
|
-
};
|
|
31
|
-
height: {
|
|
32
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
33
|
-
default: undefined;
|
|
34
|
-
};
|
|
35
|
-
}>> & Readonly<{}>, {
|
|
36
|
-
src: string;
|
|
37
|
-
alt: string;
|
|
38
|
-
width: string | number;
|
|
39
|
-
height: string | number;
|
|
40
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
-
declare const _default: typeof __VLS_export;
|
|
42
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
code: {
|
|
7
|
-
type: StringConstructor;
|
|
8
|
-
default: string;
|
|
9
|
-
};
|
|
10
|
-
language: {
|
|
11
|
-
type: StringConstructor;
|
|
12
|
-
default: null;
|
|
13
|
-
};
|
|
14
|
-
filename: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: null;
|
|
17
|
-
};
|
|
18
|
-
highlights: {
|
|
19
|
-
type: () => number[];
|
|
20
|
-
default: () => never[];
|
|
21
|
-
};
|
|
22
|
-
meta: {
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
default: null;
|
|
25
|
-
};
|
|
26
|
-
class: {
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
default: null;
|
|
29
|
-
};
|
|
30
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
-
code: {
|
|
32
|
-
type: StringConstructor;
|
|
33
|
-
default: string;
|
|
34
|
-
};
|
|
35
|
-
language: {
|
|
36
|
-
type: StringConstructor;
|
|
37
|
-
default: null;
|
|
38
|
-
};
|
|
39
|
-
filename: {
|
|
40
|
-
type: StringConstructor;
|
|
41
|
-
default: null;
|
|
42
|
-
};
|
|
43
|
-
highlights: {
|
|
44
|
-
type: () => number[];
|
|
45
|
-
default: () => never[];
|
|
46
|
-
};
|
|
47
|
-
meta: {
|
|
48
|
-
type: StringConstructor;
|
|
49
|
-
default: null;
|
|
50
|
-
};
|
|
51
|
-
class: {
|
|
52
|
-
type: StringConstructor;
|
|
53
|
-
default: null;
|
|
54
|
-
};
|
|
55
|
-
}>> & Readonly<{}>, {
|
|
56
|
-
class: string;
|
|
57
|
-
code: string;
|
|
58
|
-
meta: string;
|
|
59
|
-
language: string;
|
|
60
|
-
highlights: number[];
|
|
61
|
-
filename: string;
|
|
62
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
63
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
64
|
-
declare const _default: typeof __VLS_export;
|
|
65
|
-
export default _default;
|
|
66
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
67
|
-
new (): {
|
|
68
|
-
$slots: S;
|
|
69
|
-
};
|
|
70
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
src: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
src: {
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: string;
|
|
10
|
-
};
|
|
11
|
-
}>> & Readonly<{}>, {
|
|
12
|
-
src: string;
|
|
13
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
-
declare const _default: typeof __VLS_export;
|
|
15
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
declare var __VLS_1: {};
|
|
2
|
-
type __VLS_Slots = {} & {
|
|
3
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4
|
-
};
|
|
5
|
-
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
-
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
-
declare const _default: typeof __VLS_export;
|
|
8
|
-
export default _default;
|
|
9
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
-
new (): {
|
|
11
|
-
$slots: S;
|
|
12
|
-
};
|
|
13
|
-
};
|