@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.
Files changed (119) hide show
  1. package/components/SendOutlined.mjs +1 -1
  2. package/components/agent-chat-provider/index.mjs +789 -0
  3. package/components/avatar/index.mjs +2 -2
  4. package/components/broadcasting-markdown/index.css +3 -0
  5. package/components/broadcasting-markdown/index.mjs +637 -0
  6. package/components/bubble-list/index.css +18 -0
  7. package/components/bubble-list/index.mjs +386 -0
  8. package/components/bubble-templates/index.css +18 -0
  9. package/components/bubble-templates/index.mjs +258 -0
  10. package/components/chat-independent/index.css +47 -0
  11. package/components/chat-independent/index.mjs +184 -0
  12. package/components/index.mjs +35980 -0
  13. package/components/lottie-animation/index.mjs +2 -2
  14. package/components/monaco-editor/index.mjs +2 -2
  15. package/components/monaco-environment/index.mjs +1 -1
  16. package/components/recorder-button/index.css +7 -10
  17. package/components/recorder-button/index.mjs +115 -83
  18. package/components/routes-menu-content/index.mjs +5 -5
  19. package/components/sender/index.css +2 -5
  20. package/components/sender/index.mjs +31 -12
  21. package/components/speech-button/index.mjs +6 -13
  22. package/components/table-columns/index.mjs +3 -6
  23. package/components/tables-v1/index.mjs +3 -3
  24. package/components/tables-v1-checkbox/index.mjs +269 -33
  25. package/components/typing-markdown/index.mjs +128 -33
  26. package/components/vditor/index.mjs +5 -9
  27. package/composables/el-breakpoints/index.d.ts +1 -1
  28. package/composables/recorder/index.mjs +751 -182
  29. package/icons/_plugin-vue_export-helper.mjs +9 -0
  30. package/icons/end/index.d.ts +4 -0
  31. package/icons/end/index.mjs +36 -0
  32. package/icons/end/src/avatar.d.ts +12 -0
  33. package/icons/end/src/icon.d.ts +57 -0
  34. package/icons/keyboard/index.d.ts +4 -0
  35. package/icons/keyboard/index.mjs +36 -0
  36. package/icons/keyboard/src/avatar.d.ts +12 -0
  37. package/icons/keyboard/src/icon.d.ts +57 -0
  38. package/icons/start/index.d.ts +4 -0
  39. package/icons/start/index.mjs +36 -0
  40. package/icons/start/src/avatar.d.ts +12 -0
  41. package/icons/start/src/icon.d.ts +57 -0
  42. package/icons/voice/index.d.ts +4 -0
  43. package/icons/voice/index.mjs +51 -0
  44. package/icons/voice/src/avatar.d.ts +12 -0
  45. package/icons/voice/src/icon.d.ts +57 -0
  46. package/icons/voice/src/index.vue.d.ts +4 -0
  47. package/index.css +99 -15
  48. package/package.json +51 -7
  49. package/components/avatar/index.d.ts +0 -4
  50. package/components/avatar/src/ctx.d.ts +0 -18
  51. package/components/avatar/src/index.vue.d.ts +0 -180
  52. package/components/avatar/src/types.d.ts +0 -1
  53. package/components/lottie-animation/index.d.ts +0 -4
  54. package/components/lottie-animation/src/ctx.d.ts +0 -10
  55. package/components/lottie-animation/src/index.vue.d.ts +0 -21
  56. package/components/lottie-animation/src/types.d.ts +0 -4
  57. package/components/monaco-editor/index.d.ts +0 -5
  58. package/components/monaco-editor/src/ctx.d.ts +0 -23
  59. package/components/monaco-editor/src/index.vue.d.ts +0 -40
  60. package/components/monaco-editor/src/types.d.ts +0 -1
  61. package/components/monaco-environment/index.d.ts +0 -4
  62. package/components/monaco-environment/src/ctx.d.ts +0 -8
  63. package/components/monaco-environment/src/index.vue.d.ts +0 -2
  64. package/components/monaco-environment/src/types.d.ts +0 -1
  65. package/components/recorder-button/index.d.ts +0 -4
  66. package/components/recorder-button/src/ctx.d.ts +0 -19
  67. package/components/recorder-button/src/index.vue.d.ts +0 -309
  68. package/components/recorder-button/src/speech-to-text.d.ts +0 -1
  69. package/components/recorder-button/src/types.d.ts +0 -6
  70. package/components/routes-menu-content/index.d.ts +0 -4
  71. package/components/routes-menu-content/src/ctx.d.ts +0 -17
  72. package/components/routes-menu-content/src/index.vue.d.ts +0 -350
  73. package/components/routes-menu-content/src/item/core/ctx.d.ts +0 -18
  74. package/components/routes-menu-content/src/item/core/index.vue.d.ts +0 -185
  75. package/components/routes-menu-content/src/item/ctx.d.ts +0 -14
  76. package/components/routes-menu-content/src/item/index.vue.d.ts +0 -316
  77. package/components/routes-menu-content/src/types.d.ts +0 -1
  78. package/components/sender/index.d.ts +0 -4
  79. package/components/sender/src/SenderHeader.vue.d.ts +0 -270
  80. package/components/sender/src/ctx.d.ts +0 -38
  81. package/components/sender/src/index.vue.d.ts +0 -732
  82. package/components/sender/src/types.d.ts +0 -1
  83. package/components/speech-button/index.d.ts +0 -4
  84. package/components/speech-button/src/LoadingIcon.vue.d.ts +0 -2
  85. package/components/speech-button/src/RecordingIcon.vue.d.ts +0 -2
  86. package/components/speech-button/src/ctx.d.ts +0 -10
  87. package/components/speech-button/src/index.vue.d.ts +0 -22
  88. package/components/speech-button/src/types.d.ts +0 -1
  89. package/components/table-columns/index.d.ts +0 -5
  90. package/components/table-columns/src/ctx.d.ts +0 -66
  91. package/components/table-columns/src/el-ctx.d.ts +0 -63
  92. package/components/table-columns/src/index.vue.d.ts +0 -280
  93. package/components/table-columns/src/types.d.ts +0 -21
  94. package/components/tables-v1/index.d.ts +0 -5
  95. package/components/tables-v1/src/ctx.d.ts +0 -283
  96. package/components/tables-v1/src/el-ctx.d.ts +0 -272
  97. package/components/tables-v1/src/index.vue.d.ts +0 -2997
  98. package/components/tables-v1/src/types.d.ts +0 -4
  99. package/components/tables-v1-checkbox/index.d.ts +0 -5
  100. package/components/tables-v1-checkbox/src/ctx.d.ts +0 -323
  101. package/components/tables-v1-checkbox/src/index.vue.d.ts +0 -3788
  102. package/components/tables-v1-checkbox/src/types.d.ts +0 -1
  103. package/components/typing-markdown/index.d.ts +0 -4
  104. package/components/typing-markdown/src/core.d.ts +0 -3
  105. package/components/typing-markdown/src/ctx.d.ts +0 -33
  106. package/components/typing-markdown/src/index.vue.d.ts +0 -57
  107. package/components/typing-markdown/src/types.d.ts +0 -1
  108. package/components/vditor/index.d.ts +0 -5
  109. package/components/vditor/src/ctx.d.ts +0 -37
  110. package/components/vditor/src/handle-fullscreen.vue.d.ts +0 -18
  111. package/components/vditor/src/handle-value.vue.d.ts +0 -18
  112. package/components/vditor/src/index.vue.d.ts +0 -144
  113. package/components/vditor/src/types.d.ts +0 -9
  114. package/components/vditor/src/use.d.ts +0 -4
  115. package/fetch/PlusFetch/index.d.ts +0 -14
  116. package/fetch/PlusFetch/index.mjs +0 -638
  117. package/fetch/PlusFetch/types.d.ts +0 -54
  118. package/fetch/index.d.ts +0 -1
  119. package/fetch/index.mjs +0 -5
@@ -1,316 +0,0 @@
1
- import type { RouteRecordRaw } from 'vue-router';
2
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
- data: {
4
- type: import("vue").PropType<RouteRecordRaw>;
5
- default: () => {};
6
- };
7
- popperClass: {
8
- type: StringConstructor;
9
- default: string;
10
- };
11
- basePath: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- }>, {
16
- skipRender: symbol;
17
- onlyData: import("vue").ComputedRef<{
18
- meta: {
19
- [x: string]: unknown;
20
- [x: number]: unknown;
21
- [x: symbol]: unknown;
22
- };
23
- _paths: string[];
24
- path: string;
25
- component: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
26
- components?: never;
27
- children?: never;
28
- redirect?: never;
29
- props?: import("vue-router")._RouteRecordProps<string | symbol>;
30
- alias?: string | string[];
31
- name?: import("vue-router").RouteRecordName;
32
- beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
33
- end?: boolean;
34
- sensitive?: boolean;
35
- strict?: boolean;
36
- } | {
37
- meta: {
38
- [x: string]: unknown;
39
- [x: number]: unknown;
40
- [x: symbol]: unknown;
41
- };
42
- _paths: string[];
43
- path: string;
44
- component?: import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>);
45
- components?: never;
46
- children: RouteRecordRaw[];
47
- props?: import("vue-router")._RouteRecordProps<string | symbol>;
48
- redirect?: import("vue-router").RouteRecordRedirectOption;
49
- alias?: string | string[];
50
- name?: import("vue-router").RouteRecordName;
51
- beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
52
- end?: boolean;
53
- sensitive?: boolean;
54
- strict?: boolean;
55
- } | {
56
- meta: {
57
- [x: string]: unknown;
58
- [x: number]: unknown;
59
- [x: symbol]: unknown;
60
- };
61
- _paths: string[];
62
- path: string;
63
- components: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
64
- component?: never;
65
- children?: never;
66
- redirect?: never;
67
- props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>>;
68
- alias?: string | string[];
69
- name?: import("vue-router").RouteRecordName;
70
- beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
71
- end?: boolean;
72
- sensitive?: boolean;
73
- strict?: boolean;
74
- } | {
75
- meta: {
76
- [x: string]: unknown;
77
- [x: number]: unknown;
78
- [x: symbol]: unknown;
79
- };
80
- _paths: string[];
81
- path: string;
82
- components?: Record<string, import("vue-router").RouteComponent | (() => Promise<import("vue-router").RouteComponent>)>;
83
- component?: never;
84
- children: RouteRecordRaw[];
85
- props?: boolean | Record<string, import("vue-router")._RouteRecordProps<string | symbol>>;
86
- redirect?: import("vue-router").RouteRecordRedirectOption;
87
- alias?: string | string[];
88
- name?: import("vue-router").RouteRecordName;
89
- beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
90
- end?: boolean;
91
- sensitive?: boolean;
92
- strict?: boolean;
93
- } | {
94
- meta: {
95
- [x: string]: unknown;
96
- [x: number]: unknown;
97
- [x: symbol]: unknown;
98
- };
99
- _paths: string[];
100
- path: string;
101
- redirect: import("vue-router").RouteRecordRedirectOption;
102
- component?: never;
103
- components?: never;
104
- props?: never;
105
- alias?: string | string[];
106
- name?: import("vue-router").RouteRecordName;
107
- beforeEnter?: import("vue-router").NavigationGuardWithThis<undefined> | import("vue-router").NavigationGuardWithThis<undefined>[];
108
- children?: RouteRecordRaw[];
109
- end?: boolean;
110
- sensitive?: boolean;
111
- strict?: boolean;
112
- }>;
113
- bindProps: import("vue").ComputedRef<{}>;
114
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
115
- data: {
116
- type: import("vue").PropType<RouteRecordRaw>;
117
- default: () => {};
118
- };
119
- popperClass: {
120
- type: StringConstructor;
121
- default: string;
122
- };
123
- basePath: {
124
- type: StringConstructor;
125
- default: string;
126
- };
127
- }>> & Readonly<{}>, {
128
- data: RouteRecordRaw;
129
- popperClass: string;
130
- basePath: string;
131
- }, {}, {
132
- CoreVue: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
133
- data: {
134
- type: import("vue").PropType<RouteRecordRaw>;
135
- default: () => {};
136
- };
137
- popperClass: {
138
- type: StringConstructor;
139
- default: string;
140
- };
141
- basePath: {
142
- type: StringConstructor;
143
- default: string;
144
- };
145
- }>, {
146
- resolveFullPath: typeof import("@vunk/shared/string/url").resolveFullPath;
147
- hasChildren: import("vue").ComputedRef<boolean>;
148
- subMenuIndex: import("vue").ComputedRef<string>;
149
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
150
- data: {
151
- type: import("vue").PropType<RouteRecordRaw>;
152
- default: () => {};
153
- };
154
- popperClass: {
155
- type: StringConstructor;
156
- default: string;
157
- };
158
- basePath: {
159
- type: StringConstructor;
160
- default: string;
161
- };
162
- }>> & Readonly<{}>, {
163
- data: RouteRecordRaw;
164
- popperClass: string;
165
- basePath: string;
166
- }, {}, {
167
- ElSubMenu: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
168
- readonly index: {
169
- readonly type: import("vue").PropType<string>;
170
- readonly required: true;
171
- readonly validator: (val: unknown) => boolean;
172
- __epPropKey: true;
173
- };
174
- readonly showTimeout: NumberConstructor;
175
- readonly hideTimeout: NumberConstructor;
176
- readonly popperClass: StringConstructor;
177
- readonly disabled: BooleanConstructor;
178
- readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
179
- readonly popperOffset: NumberConstructor;
180
- readonly expandCloseIcon: {
181
- readonly type: import("vue").PropType<unknown>;
182
- readonly required: false;
183
- readonly validator: (val: unknown) => boolean;
184
- __epPropKey: true;
185
- };
186
- readonly expandOpenIcon: {
187
- readonly type: import("vue").PropType<unknown>;
188
- readonly required: false;
189
- readonly validator: (val: unknown) => boolean;
190
- __epPropKey: true;
191
- };
192
- readonly collapseCloseIcon: {
193
- readonly type: import("vue").PropType<unknown>;
194
- readonly required: false;
195
- readonly validator: (val: unknown) => boolean;
196
- __epPropKey: true;
197
- };
198
- readonly collapseOpenIcon: {
199
- readonly type: import("vue").PropType<unknown>;
200
- readonly required: false;
201
- readonly validator: (val: unknown) => boolean;
202
- __epPropKey: true;
203
- };
204
- }, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
205
- [key: string]: any;
206
- }>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
207
- readonly index: {
208
- readonly type: import("vue").PropType<string>;
209
- readonly required: true;
210
- readonly validator: (val: unknown) => boolean;
211
- __epPropKey: true;
212
- };
213
- readonly showTimeout: NumberConstructor;
214
- readonly hideTimeout: NumberConstructor;
215
- readonly popperClass: StringConstructor;
216
- readonly disabled: BooleanConstructor;
217
- readonly teleported: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
218
- readonly popperOffset: NumberConstructor;
219
- readonly expandCloseIcon: {
220
- readonly type: import("vue").PropType<unknown>;
221
- readonly required: false;
222
- readonly validator: (val: unknown) => boolean;
223
- __epPropKey: true;
224
- };
225
- readonly expandOpenIcon: {
226
- readonly type: import("vue").PropType<unknown>;
227
- readonly required: false;
228
- readonly validator: (val: unknown) => boolean;
229
- __epPropKey: true;
230
- };
231
- readonly collapseCloseIcon: {
232
- readonly type: import("vue").PropType<unknown>;
233
- readonly required: false;
234
- readonly validator: (val: unknown) => boolean;
235
- __epPropKey: true;
236
- };
237
- readonly collapseOpenIcon: {
238
- readonly type: import("vue").PropType<unknown>;
239
- readonly required: false;
240
- readonly validator: (val: unknown) => boolean;
241
- __epPropKey: true;
242
- };
243
- }>>, {
244
- readonly teleported: import("element-plus").ButtonType<BooleanConstructor, unknown, unknown>;
245
- readonly disabled: boolean;
246
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
247
- ElMenuItem: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{
248
- readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
249
- readonly route: {
250
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
251
- readonly required: false;
252
- readonly validator: (val: unknown) => boolean;
253
- __epPropKey: true;
254
- };
255
- readonly disabled: BooleanConstructor;
256
- }, {
257
- parentMenu: import("vue").ComputedRef<import("vue").ComponentInternalInstance>;
258
- rootMenu: import("element-plus").MenuProvider;
259
- active: import("vue").ComputedRef<boolean>;
260
- nsMenu: {
261
- namespace: import("vue").ComputedRef<string>;
262
- b: (blockSuffix?: string) => string;
263
- e: (element?: string) => string;
264
- m: (modifier?: string) => string;
265
- be: (blockSuffix?: string, element?: string) => string;
266
- em: (element?: string, modifier?: string) => string;
267
- bm: (blockSuffix?: string, modifier?: string) => string;
268
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
269
- is: {
270
- (name: string, state: boolean): string;
271
- (name: string): string;
272
- };
273
- cssVar: (object: Record<string, string>) => Record<string, string>;
274
- cssVarName: (name: string) => string;
275
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
276
- cssVarBlockName: (name: string) => string;
277
- };
278
- nsMenuItem: {
279
- namespace: import("vue").ComputedRef<string>;
280
- b: (blockSuffix?: string) => string;
281
- e: (element?: string) => string;
282
- m: (modifier?: string) => string;
283
- be: (blockSuffix?: string, element?: string) => string;
284
- em: (element?: string, modifier?: string) => string;
285
- bm: (blockSuffix?: string, modifier?: string) => string;
286
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
287
- is: {
288
- (name: string, state: boolean): string;
289
- (name: string): string;
290
- };
291
- cssVar: (object: Record<string, string>) => Record<string, string>;
292
- cssVarName: (name: string) => string;
293
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
294
- cssVarBlockName: (name: string) => string;
295
- };
296
- handleClick: () => void;
297
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
298
- click: (item: import("element-plus").MenuItemRegistered) => boolean;
299
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
300
- readonly index: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => string & {}) | (() => string) | ((new (...args: any[]) => string & {}) | (() => string))[], unknown, unknown, null, boolean>;
301
- readonly route: {
302
- readonly type: import("vue").PropType<import("element-plus").ButtonType<(new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric) | (() => string | import("vue-router").RouteLocationAsRelativeGeneric | import("vue-router").RouteLocationAsPathGeneric))[], unknown, unknown>>;
303
- readonly required: false;
304
- readonly validator: (val: unknown) => boolean;
305
- __epPropKey: true;
306
- };
307
- readonly disabled: BooleanConstructor;
308
- }>> & {
309
- onClick?: (item: import("element-plus").MenuItemRegistered) => any;
310
- }, {
311
- readonly disabled: boolean;
312
- readonly index: string;
313
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
314
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
315
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
316
- export default _default;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- import VkSender from './src/index.vue';
2
- export * as __VkSender from './src/types';
3
- export { VkSender, };
4
- export default VkSender;
@@ -1,270 +0,0 @@
1
- import type { AnyFunc } from '@vunk/shared';
2
- import type { PropType } from 'vue';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- modelValue: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- title: {
9
- type: StringConstructor;
10
- default: string;
11
- };
12
- contentRef: {
13
- type: PropType<AnyFunc>;
14
- default: AnyFunc;
15
- };
16
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- 'update:modelValue': any;
18
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
19
- modelValue: {
20
- type: BooleanConstructor;
21
- default: boolean;
22
- };
23
- title: {
24
- type: StringConstructor;
25
- default: string;
26
- };
27
- contentRef: {
28
- type: PropType<AnyFunc>;
29
- default: AnyFunc;
30
- };
31
- }>> & Readonly<{
32
- "onUpdate:modelValue"?: (...args: any[] | unknown[]) => any;
33
- }>, {
34
- modelValue: boolean;
35
- title: string;
36
- contentRef: AnyFunc;
37
- }, {}, {
38
- ElCollapseTransition: import("element-plus/es/utils").SFCWithInstall<import("vue").DefineComponent<{}, {
39
- ns: {
40
- namespace: import("vue").ComputedRef<string>;
41
- b: (blockSuffix?: string) => string;
42
- e: (element?: string) => string;
43
- m: (modifier?: string) => string;
44
- be: (blockSuffix?: string, element?: string) => string;
45
- em: (element?: string, modifier?: string) => string;
46
- bm: (blockSuffix?: string, modifier?: string) => string;
47
- bem: (blockSuffix?: string, element?: string, modifier?: string) => string;
48
- is: {
49
- (name: string, state: boolean): string;
50
- (name: string): string;
51
- };
52
- cssVar: (object: Record<string, string>) => Record<string, string>;
53
- cssVarName: (name: string) => string;
54
- cssVarBlock: (object: Record<string, string>) => Record<string, string>;
55
- cssVarBlockName: (name: string) => string;
56
- };
57
- reset: (el: import("vue").RendererElement) => void;
58
- on: {
59
- beforeEnter(el: import("vue").RendererElement): void;
60
- enter(el: import("vue").RendererElement): void;
61
- afterEnter(el: import("vue").RendererElement): void;
62
- enterCancelled(el: import("vue").RendererElement): void;
63
- beforeLeave(el: import("vue").RendererElement): void;
64
- leave(el: import("vue").RendererElement): void;
65
- afterLeave(el: import("vue").RendererElement): void;
66
- leaveCancelled(el: import("vue").RendererElement): void;
67
- };
68
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>>;
69
- AntButton: {
70
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
71
- prefixCls: StringConstructor;
72
- type: PropType<import("ant-design-vue/es/button").ButtonType>;
73
- htmlType: {
74
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
75
- default: string;
76
- };
77
- shape: {
78
- type: PropType<import("ant-design-vue/es/button").ButtonShape>;
79
- };
80
- size: {
81
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
82
- };
83
- loading: {
84
- type: PropType<boolean | {
85
- delay?: number;
86
- }>;
87
- default: () => boolean | {
88
- delay?: number;
89
- };
90
- };
91
- disabled: {
92
- type: BooleanConstructor;
93
- default: any;
94
- };
95
- ghost: {
96
- type: BooleanConstructor;
97
- default: any;
98
- };
99
- block: {
100
- type: BooleanConstructor;
101
- default: any;
102
- };
103
- danger: {
104
- type: BooleanConstructor;
105
- default: any;
106
- };
107
- icon: import("vue-types").VueTypeValidableDef<any>;
108
- href: StringConstructor;
109
- target: StringConstructor;
110
- title: StringConstructor;
111
- onClick: {
112
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
113
- };
114
- onMousedown: {
115
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
116
- };
117
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
118
- block: boolean;
119
- disabled: boolean;
120
- danger: boolean;
121
- ghost: boolean;
122
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
123
- loading: boolean | {
124
- delay?: number;
125
- };
126
- }, true, {}, import("ant-design-vue/es/_util/type").CustomSlotsType<{
127
- icon: any;
128
- default: any;
129
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
130
- P: {};
131
- B: {};
132
- D: {};
133
- C: {};
134
- M: {};
135
- Defaults: {};
136
- }, Readonly<import("vue").ExtractPropTypes<{
137
- prefixCls: StringConstructor;
138
- type: PropType<import("ant-design-vue/es/button").ButtonType>;
139
- htmlType: {
140
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
141
- default: string;
142
- };
143
- shape: {
144
- type: PropType<import("ant-design-vue/es/button").ButtonShape>;
145
- };
146
- size: {
147
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
148
- };
149
- loading: {
150
- type: PropType<boolean | {
151
- delay?: number;
152
- }>;
153
- default: () => boolean | {
154
- delay?: number;
155
- };
156
- };
157
- disabled: {
158
- type: BooleanConstructor;
159
- default: any;
160
- };
161
- ghost: {
162
- type: BooleanConstructor;
163
- default: any;
164
- };
165
- block: {
166
- type: BooleanConstructor;
167
- default: any;
168
- };
169
- danger: {
170
- type: BooleanConstructor;
171
- default: any;
172
- };
173
- icon: import("vue-types").VueTypeValidableDef<any>;
174
- href: StringConstructor;
175
- target: StringConstructor;
176
- title: StringConstructor;
177
- onClick: {
178
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
179
- };
180
- onMousedown: {
181
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
182
- };
183
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, {
184
- block: boolean;
185
- disabled: boolean;
186
- danger: boolean;
187
- ghost: boolean;
188
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
189
- loading: boolean | {
190
- delay?: number;
191
- };
192
- }>;
193
- __isFragment?: never;
194
- __isTeleport?: never;
195
- __isSuspense?: never;
196
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
197
- prefixCls: StringConstructor;
198
- type: PropType<import("ant-design-vue/es/button").ButtonType>;
199
- htmlType: {
200
- type: PropType<import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType>;
201
- default: string;
202
- };
203
- shape: {
204
- type: PropType<import("ant-design-vue/es/button").ButtonShape>;
205
- };
206
- size: {
207
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
208
- };
209
- loading: {
210
- type: PropType<boolean | {
211
- delay?: number;
212
- }>;
213
- default: () => boolean | {
214
- delay?: number;
215
- };
216
- };
217
- disabled: {
218
- type: BooleanConstructor;
219
- default: any;
220
- };
221
- ghost: {
222
- type: BooleanConstructor;
223
- default: any;
224
- };
225
- block: {
226
- type: BooleanConstructor;
227
- default: any;
228
- };
229
- danger: {
230
- type: BooleanConstructor;
231
- default: any;
232
- };
233
- icon: import("vue-types").VueTypeValidableDef<any>;
234
- href: StringConstructor;
235
- target: StringConstructor;
236
- title: StringConstructor;
237
- onClick: {
238
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
239
- };
240
- onMousedown: {
241
- type: PropType<import("ant-design-vue/es/_util/EventInterface").MouseEventHandler | import("ant-design-vue/es/_util/EventInterface").MouseEventHandler[]>;
242
- };
243
- }>> & Readonly<{}>, () => import("ant-design-vue/es/_util/type").VueNode, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
244
- block: boolean;
245
- disabled: boolean;
246
- danger: boolean;
247
- ghost: boolean;
248
- htmlType: import("ant-design-vue/es/button/buttonTypes").ButtonHTMLType;
249
- loading: boolean | {
250
- delay?: number;
251
- };
252
- }, {}, string, import("ant-design-vue/es/_util/type").CustomSlotsType<{
253
- icon: any;
254
- default: any;
255
- }>, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]> & {
256
- readonly Group: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
257
- prefixCls: StringConstructor;
258
- size: {
259
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
260
- };
261
- }>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
262
- prefixCls: StringConstructor;
263
- size: {
264
- type: PropType<import("ant-design-vue/es/button").ButtonSize>;
265
- };
266
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
267
- };
268
- CloseOutlined: import("@ant-design/icons-vue/lib/icons/CloseOutlined").CloseOutlinedIconType;
269
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
270
- export default _default;
@@ -1,38 +0,0 @@
1
- import type { UploadFile } from 'ant-design-vue';
2
- import type { PropType } from 'vue';
3
- export declare const props: {
4
- /**
5
- * @description v-model 绑定文件列表
6
- */
7
- fileList: {
8
- type: PropType<UploadFile<any>[]>;
9
- default: any;
10
- };
11
- /**
12
- * @description 文件上传地址
13
- */
14
- action: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- /**
19
- * @description v-model 绑定文本
20
- */
21
- modelValue: {
22
- type: StringConstructor;
23
- default: string;
24
- };
25
- /**
26
- * @description 是否加载中,表现在发送按钮上
27
- */
28
- loading: {
29
- type: BooleanConstructor;
30
- default: any;
31
- };
32
- };
33
- export declare const emits: {
34
- 'update:fileList': (_: UploadFile[]) => boolean;
35
- 'update:modelValue': (_: string) => boolean;
36
- submit: (_: string) => boolean;
37
- cancel: any;
38
- };