@@ -2,7 +2,22 @@ import { Props } from './types';
2
2
3
3
declare function copyCode ( ) : void ;
4
4
declare function runCode ( ) : void ;
5
- declare const _default : __VLS_WithTemplateSlots < import ( 'vue' ) . DefineComponent < __VLS_WithDefaults < __VLS_TypePropsToRuntimeProps < Props > , {
5
+ declare function __VLS_template ( ) : {
6
+ label ?( _ : {
7
+ copyCode : typeof copyCode ;
8
+ copyStatus : "copy" | "success" | "failed" ;
9
+ runCode : typeof runCode ;
10
+ } ) : any ;
11
+ tabs ?( _ : {
12
+ copyCode : typeof copyCode ;
13
+ copyStatus : "copy" | "success" | "failed" ;
14
+ runCode : typeof runCode ;
15
+ } ) : any ;
16
+ copyButton ?( _ : {
17
+ copyStatus : "copy" | "success" | "failed" ;
18
+ } ) : any ;
19
+ } ;
20
+ declare const __VLS_component : import ( 'vue' ) . DefineComponent < __VLS_WithDefaults < __VLS_TypePropsToRuntimeProps < Props > , {
6
21
browserWindow : boolean ;
7
22
cssPath : undefined ;
8
23
code : string ;
@@ -63,44 +78,31 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
63
78
} , {
64
79
highlightjs: boolean ;
65
80
prismjs: boolean ;
81
+ persistentCopyButton: boolean ;
82
+ floatingTabs: boolean ;
83
+ tabGap: string | number ;
84
+ copyTab: boolean ;
85
+ height: string | number ;
86
+ maxHeight: string | number ;
87
+ codeBlockRadius: string ;
88
+ runTab: boolean ;
89
+ tabs: boolean ;
66
90
browserWindow: boolean ;
67
91
cssPath: string ;
68
- code: string | number | object | [ ] ;
69
- codeBlockRadius: string ;
92
+ code: object | [ ] | string | number ;
70
93
copyButton: boolean ;
71
94
copyIcons: boolean ;
72
- copyTab: boolean ;
73
95
copyFailedText: string ;
74
96
copyText: string ;
75
97
copySuccessText: string ;
76
- floatingTabs: boolean ;
77
- height: string | number ;
78
98
indent: number ;
79
99
label: string ;
80
100
lang: string ;
81
- maxHeight: string | number ;
82
- persistentCopyButton: boolean ;
83
101
prismPlugin: boolean ;
84
- runTab: boolean ;
85
102
runText: string ;
86
- tabGap: string | number ;
87
- tabs: boolean ;
88
103
theme: string | boolean ;
89
- } , { } > , {
90
- label ?( _ : {
91
- copyCode : typeof copyCode ;
92
- copyStatus : "copy" | "success" | "failed" ;
93
- runCode : typeof runCode ;
94
- } ) : any ;
95
- tabs ?( _ : {
96
- copyCode : typeof copyCode ;
97
- copyStatus : "copy" | "success" | "failed" ;
98
- runCode : typeof runCode ;
99
- } ) : any;
100
- copyButton ?( _ : {
101
- copyStatus : "copy" | "success" | "failed" ;
102
- } ) : any;
103
- } > ;
104
+ } , { } > ;
105
+ declare const _default : __VLS_WithTemplateSlots < typeof __VLS_component , ReturnType < typeof __VLS_template > > ;
104
106
export default _default ;
105
107
type __VLS_NonUndefinedable < T > = T extends undefined ? never : T ;
106
108
type __VLS_TypePropsToRuntimeProps < T > = {
0 commit comments