halo-fe 1.0.11 → 1.0.13
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.
@@ -1,7 +1,7 @@
|
|
1
1
|
import { type Monaco } from "../../plugins";
|
2
2
|
import { CodeProps } from "./types";
|
3
3
|
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<CodeProps>, {
|
4
|
-
config:
|
4
|
+
config: any;
|
5
5
|
}>, {
|
6
6
|
layout: () => void;
|
7
7
|
getEditor: () => Monaco.editor.IStandaloneCodeEditor;
|
@@ -11,23 +11,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
11
11
|
scroll: (scrollTop: number) => void;
|
12
12
|
"update:modelValue": (value: any) => void;
|
13
13
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<CodeProps>, {
|
14
|
-
config:
|
14
|
+
config: any;
|
15
15
|
}>>> & {
|
16
16
|
onChange?: (value: string) => any;
|
17
17
|
onScroll?: (scrollTop: number) => any;
|
18
18
|
onMounted?: (monaco: typeof Monaco, editor: Monaco.editor.IStandaloneCodeEditor) => any;
|
19
19
|
"onUpdate:modelValue"?: (value: any) => any;
|
20
20
|
}, {
|
21
|
-
config:
|
22
|
-
readonly: boolean;
|
23
|
-
lineNumbers: string;
|
24
|
-
minimap: boolean;
|
25
|
-
category: string;
|
26
|
-
schema: any;
|
27
|
-
language: string;
|
28
|
-
scrollTop: number;
|
29
|
-
selection: import("./types").Range;
|
30
|
-
};
|
21
|
+
config: any;
|
31
22
|
}, {}>;
|
32
23
|
export default _default;
|
33
24
|
type __VLS_WithDefaults<P, D> = {
|
@@ -7,14 +7,14 @@ interface CodeProps {
|
|
7
7
|
* 配置
|
8
8
|
*/
|
9
9
|
config?: {
|
10
|
-
readonly
|
11
|
-
lineNumbers
|
12
|
-
minimap
|
13
|
-
category
|
14
|
-
schema
|
15
|
-
language
|
16
|
-
scrollTop
|
17
|
-
selection
|
10
|
+
readonly?: boolean;
|
11
|
+
lineNumbers?: string;
|
12
|
+
minimap?: boolean;
|
13
|
+
category?: string;
|
14
|
+
schema?: any;
|
15
|
+
language?: string;
|
16
|
+
scrollTop?: number;
|
17
|
+
selection?: Range;
|
18
18
|
};
|
19
19
|
/**
|
20
20
|
* 是否显示边框
|