@a2simcode/ui 0.0.148 → 0.0.150
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/components/code-mirror/index.d.ts +8 -8
- package/dist/components/code-mirror/src/code-mirror.vue.d.ts +4 -4
- package/dist/simcode-ui.es.js +3165 -3184
- package/dist/simcode-ui.umd.js +2 -2
- package/dist/stats.html +1 -1
- package/docs/components/code-mirror.md +1 -1
- package/docs/components/meta/code-mirror.ts +3 -3
- package/docs/examples/code-mirror/basic.vue +1 -1
- package/docs/examples/code-mirror/events.vue +1 -1
- package/docs/examples/code-mirror/height.vue +1 -1
- package/docs/examples/code-mirror/mode.vue +1 -1
- package/docs/examples/code-mirror/readonly.vue +1 -1
- package/docs/examples/form/basic.vue +6 -0
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
declare const JCodeMirror: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('..').CodeMirrorProps> & Readonly<{
|
|
3
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
3
4
|
onChange?: ((data: {
|
|
4
5
|
value: string;
|
|
5
6
|
}) => any) | undefined;
|
|
6
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
8
|
sqlFormatter: () => void;
|
|
9
9
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
10
|
+
"update:modelValue": (value: string) => any;
|
|
10
11
|
change: (data: {
|
|
11
12
|
value: string;
|
|
12
13
|
}) => any;
|
|
13
|
-
"update:value": (value: string) => any;
|
|
14
14
|
}, import('vue').PublicProps, {
|
|
15
15
|
height: number;
|
|
16
16
|
mode: string;
|
|
17
|
-
|
|
17
|
+
modelValue: string;
|
|
18
18
|
readonly: boolean;
|
|
19
19
|
isHint: boolean;
|
|
20
20
|
handleHint: (str: string) => any[];
|
|
@@ -29,16 +29,16 @@ declare const JCodeMirror: {
|
|
|
29
29
|
M: {};
|
|
30
30
|
Defaults: {};
|
|
31
31
|
}, Readonly<import('..').CodeMirrorProps> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
32
33
|
onChange?: ((data: {
|
|
33
34
|
value: string;
|
|
34
35
|
}) => any) | undefined;
|
|
35
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
37
|
sqlFormatter: () => void;
|
|
38
38
|
}, {}, {}, {}, {
|
|
39
39
|
height: number;
|
|
40
40
|
mode: string;
|
|
41
|
-
|
|
41
|
+
modelValue: string;
|
|
42
42
|
readonly: boolean;
|
|
43
43
|
isHint: boolean;
|
|
44
44
|
handleHint: (str: string) => any[];
|
|
@@ -48,21 +48,21 @@ declare const JCodeMirror: {
|
|
|
48
48
|
__isTeleport?: never;
|
|
49
49
|
__isSuspense?: never;
|
|
50
50
|
} & import('vue').ComponentOptionsBase<Readonly<import('..').CodeMirrorProps> & Readonly<{
|
|
51
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
51
52
|
onChange?: ((data: {
|
|
52
53
|
value: string;
|
|
53
54
|
}) => any) | undefined;
|
|
54
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
55
55
|
}>, {
|
|
56
56
|
sqlFormatter: () => void;
|
|
57
57
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
58
|
+
"update:modelValue": (value: string) => any;
|
|
58
59
|
change: (data: {
|
|
59
60
|
value: string;
|
|
60
61
|
}) => any;
|
|
61
|
-
"update:value": (value: string) => any;
|
|
62
62
|
}, string, {
|
|
63
63
|
height: number;
|
|
64
64
|
mode: string;
|
|
65
|
-
|
|
65
|
+
modelValue: string;
|
|
66
66
|
readonly: boolean;
|
|
67
67
|
isHint: boolean;
|
|
68
68
|
handleHint: (str: string) => any[];
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface CodeMirrorProps {
|
|
2
2
|
/** 值 */
|
|
3
|
-
|
|
3
|
+
modelValue?: string;
|
|
4
4
|
/** 语言模式 */
|
|
5
5
|
mode?: string;
|
|
6
6
|
/** 只读 */
|
|
@@ -21,19 +21,19 @@ declare const _default: import('vue').DefineComponent<CodeMirrorProps, {
|
|
|
21
21
|
*/
|
|
22
22
|
sqlFormatter: () => void;
|
|
23
23
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
24
|
+
"update:modelValue": (value: string) => any;
|
|
24
25
|
change: (data: {
|
|
25
26
|
value: string;
|
|
26
27
|
}) => any;
|
|
27
|
-
"update:value": (value: string) => any;
|
|
28
28
|
}, string, import('vue').PublicProps, Readonly<CodeMirrorProps> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
30
|
onChange?: ((data: {
|
|
30
31
|
value: string;
|
|
31
32
|
}) => any) | undefined;
|
|
32
|
-
"onUpdate:value"?: ((value: string) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
height: number;
|
|
35
35
|
mode: string;
|
|
36
|
-
|
|
36
|
+
modelValue: string;
|
|
37
37
|
readonly: boolean;
|
|
38
38
|
isHint: boolean;
|
|
39
39
|
handleHint: (str: string) => any[];
|