@vunk/plus 1.2.2 → 1.3.0
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/components/SendOutlined.mjs +1 -1
- package/components/agent-chat-provider/index.mjs +789 -0
- package/components/avatar/index.mjs +2 -2
- package/components/broadcasting-markdown/index.css +3 -0
- package/components/broadcasting-markdown/index.mjs +637 -0
- package/components/bubble-list/index.css +18 -0
- package/components/bubble-list/index.mjs +386 -0
- package/components/bubble-templates/index.css +18 -0
- package/components/bubble-templates/index.mjs +258 -0
- package/components/chat-independent/index.css +47 -0
- package/components/chat-independent/index.mjs +184 -0
- package/components/index.mjs +35980 -0
- package/components/lottie-animation/index.mjs +2 -2
- package/components/monaco-editor/index.mjs +2 -2
- package/components/monaco-environment/index.mjs +1 -1
- package/components/recorder-button/index.css +7 -10
- package/components/recorder-button/index.mjs +115 -83
- package/components/routes-menu-content/index.mjs +5 -5
- package/components/sender/index.css +2 -5
- package/components/sender/index.mjs +31 -12
- package/components/speech-button/index.mjs +6 -13
- package/components/table-columns/index.mjs +3 -6
- package/components/tables-v1/index.mjs +3 -3
- package/components/tables-v1-checkbox/index.mjs +269 -33
- package/components/typing-markdown/index.mjs +128 -33
- package/components/vditor/index.mjs +5 -9
- package/composables/el-breakpoints/index.d.ts +1 -1
- package/composables/recorder/index.mjs +751 -182
- package/icons/_plugin-vue_export-helper.mjs +9 -0
- package/icons/end/index.d.ts +4 -0
- package/icons/end/index.mjs +36 -0
- package/icons/end/src/avatar.d.ts +12 -0
- package/icons/end/src/icon.d.ts +57 -0
- package/icons/keyboard/index.d.ts +4 -0
- package/icons/keyboard/index.mjs +36 -0
- package/icons/keyboard/src/avatar.d.ts +12 -0
- package/icons/keyboard/src/icon.d.ts +57 -0
- package/icons/start/index.d.ts +4 -0
- package/icons/start/index.mjs +36 -0
- package/icons/start/src/avatar.d.ts +12 -0
- package/icons/start/src/icon.d.ts +57 -0
- package/icons/voice/index.d.ts +4 -0
- package/icons/voice/index.mjs +51 -0
- package/icons/voice/src/avatar.d.ts +12 -0
- package/icons/voice/src/icon.d.ts +57 -0
- package/icons/voice/src/index.vue.d.ts +4 -0
- package/index.css +99 -15
- package/package.json +51 -7
- package/components/avatar/index.d.ts +0 -4
- package/components/avatar/src/ctx.d.ts +0 -18
- package/components/avatar/src/index.vue.d.ts +0 -180
- package/components/avatar/src/types.d.ts +0 -1
- package/components/lottie-animation/index.d.ts +0 -4
- package/components/lottie-animation/src/ctx.d.ts +0 -10
- package/components/lottie-animation/src/index.vue.d.ts +0 -21
- package/components/lottie-animation/src/types.d.ts +0 -4
- package/components/monaco-editor/index.d.ts +0 -5
- package/components/monaco-editor/src/ctx.d.ts +0 -23
- package/components/monaco-editor/src/index.vue.d.ts +0 -40
- package/components/monaco-editor/src/types.d.ts +0 -1
- package/components/monaco-environment/index.d.ts +0 -4
- package/components/monaco-environment/src/ctx.d.ts +0 -8
- package/components/monaco-environment/src/index.vue.d.ts +0 -2
- package/components/monaco-environment/src/types.d.ts +0 -1
- package/components/recorder-button/index.d.ts +0 -4
- package/components/recorder-button/src/ctx.d.ts +0 -19
- package/components/recorder-button/src/index.vue.d.ts +0 -309
- package/components/recorder-button/src/speech-to-text.d.ts +0 -1
- package/components/recorder-button/src/types.d.ts +0 -6
- package/components/routes-menu-content/index.d.ts +0 -4
- package/components/routes-menu-content/src/ctx.d.ts +0 -17
- package/components/routes-menu-content/src/index.vue.d.ts +0 -350
- package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
- package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
- package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
- package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
- package/components/routes-menu-content/src/types.d.ts +0 -1
- package/components/sender/index.d.ts +0 -4
- package/components/sender/src/SenderHeader.vue.d.ts +0 -270
- package/components/sender/src/ctx.d.ts +0 -38
- package/components/sender/src/index.vue.d.ts +0 -732
- package/components/sender/src/types.d.ts +0 -1
- package/components/speech-button/index.d.ts +0 -4
- package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
- package/components/speech-button/src/ctx.d.ts +0 -10
- package/components/speech-button/src/index.vue.d.ts +0 -22
- package/components/speech-button/src/types.d.ts +0 -1
- package/components/table-columns/index.d.ts +0 -5
- package/components/table-columns/src/ctx.d.ts +0 -66
- package/components/table-columns/src/el-ctx.d.ts +0 -63
- package/components/table-columns/src/index.vue.d.ts +0 -280
- package/components/table-columns/src/types.d.ts +0 -21
- package/components/tables-v1/index.d.ts +0 -5
- package/components/tables-v1/src/ctx.d.ts +0 -283
- package/components/tables-v1/src/el-ctx.d.ts +0 -272
- package/components/tables-v1/src/index.vue.d.ts +0 -2997
- package/components/tables-v1/src/types.d.ts +0 -4
- package/components/tables-v1-checkbox/index.d.ts +0 -5
- package/components/tables-v1-checkbox/src/ctx.d.ts +0 -323
- package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3788
- package/components/tables-v1-checkbox/src/types.d.ts +0 -1
- package/components/typing-markdown/index.d.ts +0 -4
- package/components/typing-markdown/src/core.d.ts +0 -3
- package/components/typing-markdown/src/ctx.d.ts +0 -33
- package/components/typing-markdown/src/index.vue.d.ts +0 -57
- package/components/typing-markdown/src/types.d.ts +0 -1
- package/components/vditor/index.d.ts +0 -5
- package/components/vditor/src/ctx.d.ts +0 -37
- package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
- package/components/vditor/src/handle-value.vue.d.ts +0 -18
- package/components/vditor/src/index.vue.d.ts +0 -144
- package/components/vditor/src/types.d.ts +0 -9
- package/components/vditor/src/use.d.ts +0 -4
- package/fetch/PlusFetch/index.d.ts +0 -14
- package/fetch/PlusFetch/index.mjs +0 -638
- package/fetch/PlusFetch/types.d.ts +0 -54
- package/fetch/index.d.ts +0 -1
- package/fetch/index.mjs +0 -5
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const props: {
|
|
2
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
3
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
4
|
-
readonly icon: {
|
|
5
|
-
readonly type: import("vue").PropType<unknown>;
|
|
6
|
-
readonly required: false;
|
|
7
|
-
readonly validator: (val: unknown) => boolean;
|
|
8
|
-
__epPropKey: true;
|
|
9
|
-
};
|
|
10
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
-
readonly alt: StringConstructor;
|
|
12
|
-
readonly srcSet: StringConstructor;
|
|
13
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => ObjectFitProperty) | ((new (...args: any[]) => any) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
14
|
-
} & {
|
|
15
|
-
background: never;
|
|
16
|
-
color: never;
|
|
17
|
-
};
|
|
18
|
-
export declare const emits: {};
|
|
@@ -1,180 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
3
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
4
|
-
readonly icon: {
|
|
5
|
-
readonly type: import("vue").PropType<unknown>;
|
|
6
|
-
readonly required: false;
|
|
7
|
-
readonly validator: (val: unknown) => boolean;
|
|
8
|
-
__epPropKey: true;
|
|
9
|
-
};
|
|
10
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
|
-
readonly alt: StringConstructor;
|
|
12
|
-
readonly srcSet: StringConstructor;
|
|
13
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => ObjectFitProperty) | ((new (...args: any[]) => any) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
14
|
-
} & {
|
|
15
|
-
background: never;
|
|
16
|
-
color: never;
|
|
17
|
-
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
18
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
19
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
20
|
-
readonly icon: {
|
|
21
|
-
readonly type: import("vue").PropType<unknown>;
|
|
22
|
-
readonly required: false;
|
|
23
|
-
readonly validator: (val: unknown) => boolean;
|
|
24
|
-
__epPropKey: true;
|
|
25
|
-
};
|
|
26
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
27
|
-
readonly alt: StringConstructor;
|
|
28
|
-
readonly srcSet: StringConstructor;
|
|
29
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => ObjectFitProperty) | ((new (...args: any[]) => any) | (() => ObjectFitProperty))[], unknown, unknown, "cover", boolean>;
|
|
30
|
-
} & {
|
|
31
|
-
background: never;
|
|
32
|
-
color: never;
|
|
33
|
-
}>> & Readonly<{}>, {
|
|
34
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number>;
|
|
35
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
36
|
-
readonly src: string;
|
|
37
|
-
readonly fit: any;
|
|
38
|
-
}, {}, {
|
|
39
|
-
ElAvatar: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
40
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
41
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
42
|
-
readonly icon: {
|
|
43
|
-
readonly type: import("vue").PropType<unknown>;
|
|
44
|
-
readonly required: false;
|
|
45
|
-
readonly validator: (val: unknown) => boolean;
|
|
46
|
-
__epPropKey: true;
|
|
47
|
-
};
|
|
48
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
49
|
-
readonly alt: StringConstructor;
|
|
50
|
-
readonly srcSet: StringConstructor;
|
|
51
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => any) | ((new (...args: any[]) => any) | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
52
|
-
}, {
|
|
53
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
54
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
55
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
56
|
-
readonly icon: {
|
|
57
|
-
readonly type: import("vue").PropType<unknown>;
|
|
58
|
-
readonly required: false;
|
|
59
|
-
readonly validator: (val: unknown) => boolean;
|
|
60
|
-
__epPropKey: true;
|
|
61
|
-
};
|
|
62
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
63
|
-
readonly alt: StringConstructor;
|
|
64
|
-
readonly srcSet: StringConstructor;
|
|
65
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => any) | ((new (...args: any[]) => any) | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
66
|
-
}>> & {
|
|
67
|
-
onError?: (evt: Event) => any;
|
|
68
|
-
}>>;
|
|
69
|
-
emit: (event: "error", evt: Event) => void;
|
|
70
|
-
ns: {
|
|
71
|
-
namespace: import("vue").ComputedRef<string>;
|
|
72
|
-
b: (blockSuffix?: string) => string;
|
|
73
|
-
e: (element?: string) => string;
|
|
74
|
-
m: (modifier?: string) => string;
|
|
75
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
76
|
-
em: (element?: string, modifier?: string) => string;
|
|
77
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
78
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
79
|
-
is: {
|
|
80
|
-
(name: string, state: boolean): string;
|
|
81
|
-
(name: string): string;
|
|
82
|
-
};
|
|
83
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
84
|
-
cssVarName: (name: string) => string;
|
|
85
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
86
|
-
cssVarBlockName: (name: string) => string;
|
|
87
|
-
};
|
|
88
|
-
hasLoadError: import("vue").Ref<boolean, boolean>;
|
|
89
|
-
avatarClass: import("vue").ComputedRef<string[]>;
|
|
90
|
-
sizeStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
91
|
-
fitStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
92
|
-
handleError: (e: Event) => void;
|
|
93
|
-
ElIcon: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
94
|
-
readonly size: {
|
|
95
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
96
|
-
readonly required: false;
|
|
97
|
-
readonly validator: (val: unknown) => boolean;
|
|
98
|
-
__epPropKey: true;
|
|
99
|
-
};
|
|
100
|
-
readonly color: {
|
|
101
|
-
readonly type: import("vue").PropType<string>;
|
|
102
|
-
readonly required: false;
|
|
103
|
-
readonly validator: (val: unknown) => boolean;
|
|
104
|
-
__epPropKey: true;
|
|
105
|
-
};
|
|
106
|
-
}, {
|
|
107
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
-
readonly size: {
|
|
109
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
110
|
-
readonly required: false;
|
|
111
|
-
readonly validator: (val: unknown) => boolean;
|
|
112
|
-
__epPropKey: true;
|
|
113
|
-
};
|
|
114
|
-
readonly color: {
|
|
115
|
-
readonly type: import("vue").PropType<string>;
|
|
116
|
-
readonly required: false;
|
|
117
|
-
readonly validator: (val: unknown) => boolean;
|
|
118
|
-
__epPropKey: true;
|
|
119
|
-
};
|
|
120
|
-
}>> & {
|
|
121
|
-
[x: `on${string}`]: ((...args: any[]) => any) | ((...args: unknown[]) => any);
|
|
122
|
-
}>>;
|
|
123
|
-
ns: {
|
|
124
|
-
namespace: import("vue").ComputedRef<string>;
|
|
125
|
-
b: (blockSuffix?: string) => string;
|
|
126
|
-
e: (element?: string) => string;
|
|
127
|
-
m: (modifier?: string) => string;
|
|
128
|
-
be: (blockSuffix?: string, element?: string) => string;
|
|
129
|
-
em: (element?: string, modifier?: string) => string;
|
|
130
|
-
bm: (blockSuffix?: string, modifier?: string) => string;
|
|
131
|
-
bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
|
|
132
|
-
is: {
|
|
133
|
-
(name: string, state: boolean): string;
|
|
134
|
-
(name: string): string;
|
|
135
|
-
};
|
|
136
|
-
cssVar: (object: Record<string, string>) => Record<string, string>;
|
|
137
|
-
cssVarName: (name: string) => string;
|
|
138
|
-
cssVarBlock: (object: Record<string, string>) => Record<string, string>;
|
|
139
|
-
cssVarBlockName: (name: string) => string;
|
|
140
|
-
};
|
|
141
|
-
style: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
142
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
143
|
-
readonly size: {
|
|
144
|
-
readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number))[], unknown, unknown>>;
|
|
145
|
-
readonly required: false;
|
|
146
|
-
readonly validator: (val: unknown) => boolean;
|
|
147
|
-
__epPropKey: true;
|
|
148
|
-
};
|
|
149
|
-
readonly color: {
|
|
150
|
-
readonly type: import("vue").PropType<string>;
|
|
151
|
-
readonly required: false;
|
|
152
|
-
readonly validator: (val: unknown) => boolean;
|
|
153
|
-
__epPropKey: true;
|
|
154
|
-
};
|
|
155
|
-
}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
156
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
157
|
-
error: (evt: Event) => boolean;
|
|
158
|
-
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
159
|
-
readonly size: import("element-plus/es/utils").EpPropFinalized<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number, "", boolean>;
|
|
160
|
-
readonly shape: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "circle" | "square", unknown, "circle", boolean>;
|
|
161
|
-
readonly icon: {
|
|
162
|
-
readonly type: import("vue").PropType<unknown>;
|
|
163
|
-
readonly required: false;
|
|
164
|
-
readonly validator: (val: unknown) => boolean;
|
|
165
|
-
__epPropKey: true;
|
|
166
|
-
};
|
|
167
|
-
readonly src: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
168
|
-
readonly alt: StringConstructor;
|
|
169
|
-
readonly srcSet: StringConstructor;
|
|
170
|
-
readonly fit: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any) | (() => any) | ((new (...args: any[]) => any) | (() => any))[], unknown, unknown, "cover", boolean>;
|
|
171
|
-
}>> & {
|
|
172
|
-
onError?: (evt: Event) => any;
|
|
173
|
-
}, {
|
|
174
|
-
readonly size: import("element-plus").ButtonType<readonly [NumberConstructor, StringConstructor], "" | "default" | "small" | "large", number>;
|
|
175
|
-
readonly shape: import("element-plus").ButtonType<StringConstructor, "circle" | "square", unknown>;
|
|
176
|
-
readonly src: string;
|
|
177
|
-
readonly fit: any;
|
|
178
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>> & Record<string, any>;
|
|
179
|
-
}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
180
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Ref } from 'vue';
|
|
2
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
path: {
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
default: string;
|
|
6
|
-
};
|
|
7
|
-
}>, {
|
|
8
|
-
lottieNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
9
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
-
load: (e: import("./types").LoadEvent) => import("./types").LoadEvent;
|
|
11
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
-
path: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
}>> & Readonly<{
|
|
17
|
-
onLoad?: (e: import("./types").LoadEvent) => any;
|
|
18
|
-
}>, {
|
|
19
|
-
path: string;
|
|
20
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
21
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { editor } from 'monaco-editor';
|
|
3
|
-
export declare const props: {
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
defaultOptions: {
|
|
9
|
-
type: PropType<editor.IStandaloneEditorConstructionOptions>;
|
|
10
|
-
default: () => {};
|
|
11
|
-
};
|
|
12
|
-
readOnly: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const createBindProps: <T2 extends import("@vunk/core").NormalObject, EX extends (Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"readOnly", keyof T2>)[]>(propsArg: T2, excludes?: EX) => import("vue").ComputedRef<{ [P in EX extends (infer KE)[] ? Exclude<Extract<"modelValue", keyof T2>, KE> | Exclude<Extract<"defaultOptions", keyof T2>, KE> | Exclude<Extract<"readOnly", keyof T2>, KE> : Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"readOnly", keyof T2>]: { [k in Extract<"modelValue", keyof T2> | Extract<"defaultOptions", keyof T2> | Extract<"readOnly", keyof T2>]: T2[k]; }[P]; }>;
|
|
18
|
-
export declare const emits: {
|
|
19
|
-
'update:modelValue': any;
|
|
20
|
-
};
|
|
21
|
-
export declare const createOnEmits: <T2 extends import("@vunk/core").AnyFunc, EX extends "update:modelValue"[]>(emit: T2, excludes?: EX) => { [P in EX extends (infer KE)[] ? Exclude<"update:modelValue", KE> : "update:modelValue"]: {
|
|
22
|
-
'update:modelValue': (...e: import("@vunk/core").RestParameters<T2>) => void;
|
|
23
|
-
}[P]; };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { Ref } from 'vue';
|
|
2
|
-
import { editor as mEditor } from 'monaco-editor';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
modelValue: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
defaultOptions: {
|
|
9
|
-
type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
|
|
10
|
-
default: () => {};
|
|
11
|
-
};
|
|
12
|
-
readOnly: {
|
|
13
|
-
type: BooleanConstructor;
|
|
14
|
-
default: boolean;
|
|
15
|
-
};
|
|
16
|
-
}>, {
|
|
17
|
-
editorNode: Ref<HTMLDivElement, HTMLDivElement>;
|
|
18
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
19
|
-
'update:modelValue': any;
|
|
20
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
modelValue: {
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
default: string;
|
|
24
|
-
};
|
|
25
|
-
defaultOptions: {
|
|
26
|
-
type: import("vue").PropType<mEditor.IStandaloneEditorConstructionOptions>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
|
-
readOnly: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
}>> & Readonly<{
|
|
34
|
-
"onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
|
|
35
|
-
}>, {
|
|
36
|
-
modelValue: string;
|
|
37
|
-
defaultOptions: mEditor.IStandaloneEditorConstructionOptions;
|
|
38
|
-
readOnly: boolean;
|
|
39
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
40
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { OnTextZone, SubmitRawEvent } from './types';
|
|
3
|
-
export declare const props: {
|
|
4
|
-
speenchToTextUrl: {
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
default: string;
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* 自定义转为文本区域事件
|
|
10
|
-
*/
|
|
11
|
-
onTextZone: {
|
|
12
|
-
type: PropType<OnTextZone>;
|
|
13
|
-
default: any;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const emits: {
|
|
17
|
-
submitText: (text: string) => boolean;
|
|
18
|
-
submit: (_: SubmitRawEvent) => boolean;
|
|
19
|
-
};
|