twcpt 0.0.3 → 0.0.4

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 (67) hide show
  1. package/dist/charts.cjs.js +1 -1
  2. package/dist/charts.d.ts +0 -7
  3. package/dist/charts.es.js +1 -9
  4. package/dist/components/j-tw-btn/index.d.ts +10 -10
  5. package/dist/components/j-tw-checkbox/index.d.ts +230 -0
  6. package/dist/components/j-tw-checkbox/types.d.ts +35 -0
  7. package/dist/components/j-tw-checkbox-group/index.d.ts +309 -0
  8. package/dist/components/j-tw-checkbox-group/types.d.ts +38 -0
  9. package/dist/components/j-tw-confirm-dialog/index.d.ts +704 -0
  10. package/dist/components/j-tw-confirm-dialog/jwConfirmDialog.d.ts +2 -0
  11. package/dist/components/j-tw-confirm-dialog/types.d.ts +79 -0
  12. package/dist/components/j-tw-date-picker/index.d.ts +63 -8
  13. package/dist/components/j-tw-date-picker/types.d.ts +15 -0
  14. package/dist/components/j-tw-dialog/index.d.ts +793 -0
  15. package/dist/components/j-tw-dialog/jwDialog.d.ts +38 -0
  16. package/dist/components/j-tw-dialog/types.d.ts +122 -0
  17. package/dist/components/j-tw-form/index.d.ts +368 -0
  18. package/dist/components/j-tw-form/types.d.ts +18 -0
  19. package/dist/components/j-tw-form-item/index.d.ts +248 -0
  20. package/dist/components/j-tw-form-item/types.d.ts +21 -0
  21. package/dist/components/j-tw-form-label/index.d.ts +66 -0
  22. package/dist/components/j-tw-input/index.d.ts +537 -0
  23. package/dist/components/j-tw-input/types.d.ts +76 -0
  24. package/dist/components/j-tw-messages/MessageItem.d.ts +84 -0
  25. package/dist/components/j-tw-messages/index.d.ts +110 -0
  26. package/dist/components/j-tw-messages/jwMessages.d.ts +2 -0
  27. package/dist/components/j-tw-messages/state.d.ts +23 -0
  28. package/dist/components/j-tw-messages/types.d.ts +31 -0
  29. package/dist/components/j-tw-radio/index.d.ts +168 -0
  30. package/dist/components/j-tw-radio/types.d.ts +29 -0
  31. package/dist/components/j-tw-radio-group/index.d.ts +244 -0
  32. package/dist/components/j-tw-radio-group/types.d.ts +37 -0
  33. package/dist/components/j-tw-status-img/index.d.ts +36 -0
  34. package/dist/components/j-tw-status-img/types.d.ts +3 -0
  35. package/dist/components/j-tw-table/index.d.ts +480 -0
  36. package/dist/components/j-tw-table/types.d.ts +157 -0
  37. package/dist/components/j-tw-tree-select/TreeNode.d.ts +124 -0
  38. package/dist/components/j-tw-tree-select/index.d.ts +292 -0
  39. package/dist/components/j-tw-tree-select/types.d.ts +110 -0
  40. package/dist/components/j-tw-tree-select-btn/TreeNode.d.ts +107 -0
  41. package/dist/components/j-tw-tree-select-btn/index.d.ts +171 -22
  42. package/dist/components/j-tw-tree-select-btn/types.d.ts +5 -0
  43. package/dist/global.d.ts +109 -49
  44. package/dist/index.css +1 -1
  45. package/dist/index.d.ts +37 -4
  46. package/dist/shims-svg.d.ts +4 -0
  47. package/dist/twcpt-styles.css +1 -1
  48. package/dist/twcpt.cjs.js +9 -5
  49. package/dist/twcpt.es.js +3552 -1666
  50. package/dist/types.d.ts +1 -1
  51. package/dist/utils/useBizRequest.d.ts +12 -0
  52. package/package.json +1 -3
  53. package/dist/charts-BRqaKjiE.js +0 -879
  54. package/dist/charts-lTMiYKQB.cjs +0 -1
  55. package/dist/components/j-ch-bar/index.d.ts +0 -50
  56. package/dist/components/j-ch-bar/types.d.ts +0 -42
  57. package/dist/components/j-ch-bar-line/index.d.ts +0 -49
  58. package/dist/components/j-ch-bar-line/types.d.ts +0 -42
  59. package/dist/components/j-ch-bubble/index.d.ts +0 -54
  60. package/dist/components/j-ch-bubble/types.d.ts +0 -51
  61. package/dist/components/j-ch-line/index.d.ts +0 -57
  62. package/dist/components/j-ch-line/types.d.ts +0 -42
  63. package/dist/components/j-ch-pie-doughnut/index.d.ts +0 -60
  64. package/dist/components/j-ch-pie-doughnut/types.d.ts +0 -55
  65. package/dist/components/j-ch-radar/index.d.ts +0 -49
  66. package/dist/components/j-ch-radar/types.d.ts +0 -42
  67. package/dist/utils/chart.d.ts +0 -28
@@ -0,0 +1,704 @@
1
+ import { PropType, DefineComponent, ExtractPropTypes, ComputedRef, ComponentOptionsMixin, PublicProps, Ref, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CreateComponentPublicInstanceWithMixins, ObjectPlugin, CSSProperties, StyleValue } from 'vue';
2
+ import { JTWConfirmDialogIconType } from './types';
3
+ import { JTWBtnSizeType, JTWBtnTypeType, JTWBtnTooltipConfig } from '../..';
4
+ import { ComponentSize, ButtonType, ButtonNativeType, ButtonProps, UseTooltipProps, PopperInstance, TooltipContentInstance, PopperEffect, Placement, Options, TooltipTriggerType } from 'element-plus';
5
+ import { IconPropType, SFCWithInstall } from 'element-plus/es/utils/index.mjs';
6
+ import { OnCleanup } from '@vue/reactivity';
7
+ import { ButtonGroupProps } from 'element-plus/es/components/button/src/button-group.mjs';
8
+ import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
9
+ declare const _default: DefineComponent<ExtractPropTypes<{
10
+ visible: {
11
+ type: BooleanConstructor;
12
+ default: boolean;
13
+ };
14
+ message: {
15
+ type: StringConstructor;
16
+ required: true;
17
+ };
18
+ icon: {
19
+ type: PropType<JTWConfirmDialogIconType>;
20
+ default: "warn";
21
+ };
22
+ confirmText: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ cancelText: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ }>, {
31
+ iconSvg: ComputedRef<string>;
32
+ handleConfirm: () => void;
33
+ handleCancel: () => void;
34
+ handleMaskClick: () => void;
35
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
36
+ confirm: () => true;
37
+ cancel: () => true;
38
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
39
+ visible: {
40
+ type: BooleanConstructor;
41
+ default: boolean;
42
+ };
43
+ message: {
44
+ type: StringConstructor;
45
+ required: true;
46
+ };
47
+ icon: {
48
+ type: PropType<JTWConfirmDialogIconType>;
49
+ default: "warn";
50
+ };
51
+ confirmText: {
52
+ type: StringConstructor;
53
+ default: string;
54
+ };
55
+ cancelText: {
56
+ type: StringConstructor;
57
+ default: string;
58
+ };
59
+ }>> & Readonly<{
60
+ onCancel?: (() => any) | undefined;
61
+ onConfirm?: (() => any) | undefined;
62
+ }>, {
63
+ icon: JTWConfirmDialogIconType;
64
+ visible: boolean;
65
+ confirmText: string;
66
+ cancelText: string;
67
+ }, {}, {
68
+ JTWBtn: DefineComponent<ExtractPropTypes<{
69
+ size: {
70
+ type: PropType< JTWBtnSizeType>;
71
+ default: "normal";
72
+ validator: (value: JTWBtnSizeType) => boolean;
73
+ };
74
+ type: {
75
+ type: PropType< JTWBtnTypeType>;
76
+ default: "button";
77
+ validator: (value: JTWBtnTypeType) => boolean;
78
+ };
79
+ color: {
80
+ type: StringConstructor;
81
+ default: string;
82
+ };
83
+ outline: {
84
+ type: BooleanConstructor;
85
+ default: boolean;
86
+ };
87
+ flat: {
88
+ type: BooleanConstructor;
89
+ default: boolean;
90
+ };
91
+ label: {
92
+ type: StringConstructor;
93
+ default: string;
94
+ };
95
+ loading: {
96
+ type: BooleanConstructor;
97
+ default: boolean;
98
+ };
99
+ tips: {
100
+ type: (StringConstructor | NumberConstructor)[];
101
+ default: string;
102
+ };
103
+ tooltipConfig: {
104
+ type: PropType< JTWBtnTooltipConfig>;
105
+ default: undefined;
106
+ };
107
+ }>, {
108
+ elBtnRef: Ref<({
109
+ $: ComponentInternalInstance;
110
+ $data: {};
111
+ $props: {
112
+ readonly size?: ComponentSize | undefined;
113
+ readonly disabled?: boolean | undefined;
114
+ readonly type?: ButtonType | undefined;
115
+ readonly icon?: IconPropType | undefined;
116
+ readonly nativeType?: ButtonNativeType | undefined;
117
+ readonly loading?: boolean | undefined;
118
+ readonly loadingIcon?: IconPropType | undefined;
119
+ readonly plain?: boolean | undefined;
120
+ readonly text?: boolean | undefined;
121
+ readonly link?: boolean | undefined;
122
+ readonly bg?: boolean | undefined;
123
+ readonly autofocus?: boolean | undefined;
124
+ readonly round?: boolean | undefined;
125
+ readonly circle?: boolean | undefined;
126
+ readonly dashed?: boolean | undefined;
127
+ readonly color?: string | undefined;
128
+ readonly dark?: boolean | undefined;
129
+ readonly autoInsertSpace?: boolean | undefined;
130
+ readonly tag?: (string | Component) | undefined;
131
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
132
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
133
+ $attrs: Attrs;
134
+ $refs: {
135
+ [x: string]: unknown;
136
+ };
137
+ $slots: Readonly<{
138
+ [name: string]: Slot<any> | undefined;
139
+ }>;
140
+ $root: ComponentPublicInstance | null;
141
+ $parent: ComponentPublicInstance | null;
142
+ $host: Element | null;
143
+ $emit: (event: "click", evt: MouseEvent) => void;
144
+ $el: any;
145
+ $options: ComponentOptionsBase<Readonly< ButtonProps> & Readonly<{
146
+ onClick?: ((evt: MouseEvent) => any) | undefined;
147
+ }>, {
148
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
149
+ size: ComputedRef<"" | "default" | "large" | "small">;
150
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
151
+ disabled: ComputedRef<boolean>;
152
+ shouldAddSpace: ComputedRef<boolean>;
153
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
154
+ click: (evt: MouseEvent) => void;
155
+ }, string, {
156
+ type: ButtonType;
157
+ disabled: boolean;
158
+ text: boolean;
159
+ round: boolean;
160
+ dashed: boolean;
161
+ plain: boolean;
162
+ nativeType: ButtonNativeType;
163
+ loadingIcon: IconPropType;
164
+ autoInsertSpace: boolean;
165
+ tag: string | Component;
166
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
167
+ beforeCreate?: (() => void) | (() => void)[];
168
+ created?: (() => void) | (() => void)[];
169
+ beforeMount?: (() => void) | (() => void)[];
170
+ mounted?: (() => void) | (() => void)[];
171
+ beforeUpdate?: (() => void) | (() => void)[];
172
+ updated?: (() => void) | (() => void)[];
173
+ activated?: (() => void) | (() => void)[];
174
+ deactivated?: (() => void) | (() => void)[];
175
+ beforeDestroy?: (() => void) | (() => void)[];
176
+ beforeUnmount?: (() => void) | (() => void)[];
177
+ destroyed?: (() => void) | (() => void)[];
178
+ unmounted?: (() => void) | (() => void)[];
179
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
180
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
181
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
182
+ };
183
+ $forceUpdate: () => void;
184
+ $nextTick: nextTick;
185
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
186
+ } & Readonly<{
187
+ type: ButtonType;
188
+ disabled: boolean;
189
+ text: boolean;
190
+ round: boolean;
191
+ dashed: boolean;
192
+ plain: boolean;
193
+ nativeType: ButtonNativeType;
194
+ loadingIcon: IconPropType;
195
+ autoInsertSpace: boolean;
196
+ tag: string | Component;
197
+ }> & Omit<Readonly< ButtonProps> & Readonly<{
198
+ onClick?: ((evt: MouseEvent) => any) | undefined;
199
+ }>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
200
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
201
+ size: ComputedRef<"" | "default" | "large" | "small">;
202
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
203
+ disabled: ComputedRef<boolean>;
204
+ shouldAddSpace: ComputedRef<boolean>;
205
+ }> & {} & ComponentCustomProperties & {} & {
206
+ $slots: {
207
+ loading?: (props: {}) => any;
208
+ } & {
209
+ icon?: (props: {}) => any;
210
+ } & {
211
+ default?: (props: {}) => any;
212
+ };
213
+ }) | null, ({
214
+ $: ComponentInternalInstance;
215
+ $data: {};
216
+ $props: {
217
+ readonly size?: ComponentSize | undefined;
218
+ readonly disabled?: boolean | undefined;
219
+ readonly type?: ButtonType | undefined;
220
+ readonly icon?: IconPropType | undefined;
221
+ readonly nativeType?: ButtonNativeType | undefined;
222
+ readonly loading?: boolean | undefined;
223
+ readonly loadingIcon?: IconPropType | undefined;
224
+ readonly plain?: boolean | undefined;
225
+ readonly text?: boolean | undefined;
226
+ readonly link?: boolean | undefined;
227
+ readonly bg?: boolean | undefined;
228
+ readonly autofocus?: boolean | undefined;
229
+ readonly round?: boolean | undefined;
230
+ readonly circle?: boolean | undefined;
231
+ readonly dashed?: boolean | undefined;
232
+ readonly color?: string | undefined;
233
+ readonly dark?: boolean | undefined;
234
+ readonly autoInsertSpace?: boolean | undefined;
235
+ readonly tag?: (string | Component) | undefined;
236
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
237
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
238
+ $attrs: Attrs;
239
+ $refs: {
240
+ [x: string]: unknown;
241
+ };
242
+ $slots: Readonly<{
243
+ [name: string]: Slot<any> | undefined;
244
+ }>;
245
+ $root: ComponentPublicInstance | null;
246
+ $parent: ComponentPublicInstance | null;
247
+ $host: Element | null;
248
+ $emit: (event: "click", evt: MouseEvent) => void;
249
+ $el: any;
250
+ $options: ComponentOptionsBase<Readonly< ButtonProps> & Readonly<{
251
+ onClick?: ((evt: MouseEvent) => any) | undefined;
252
+ }>, {
253
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
254
+ size: ComputedRef<"" | "default" | "large" | "small">;
255
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
256
+ disabled: ComputedRef<boolean>;
257
+ shouldAddSpace: ComputedRef<boolean>;
258
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
259
+ click: (evt: MouseEvent) => void;
260
+ }, string, {
261
+ type: ButtonType;
262
+ disabled: boolean;
263
+ text: boolean;
264
+ round: boolean;
265
+ dashed: boolean;
266
+ plain: boolean;
267
+ nativeType: ButtonNativeType;
268
+ loadingIcon: IconPropType;
269
+ autoInsertSpace: boolean;
270
+ tag: string | Component;
271
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
272
+ beforeCreate?: (() => void) | (() => void)[];
273
+ created?: (() => void) | (() => void)[];
274
+ beforeMount?: (() => void) | (() => void)[];
275
+ mounted?: (() => void) | (() => void)[];
276
+ beforeUpdate?: (() => void) | (() => void)[];
277
+ updated?: (() => void) | (() => void)[];
278
+ activated?: (() => void) | (() => void)[];
279
+ deactivated?: (() => void) | (() => void)[];
280
+ beforeDestroy?: (() => void) | (() => void)[];
281
+ beforeUnmount?: (() => void) | (() => void)[];
282
+ destroyed?: (() => void) | (() => void)[];
283
+ unmounted?: (() => void) | (() => void)[];
284
+ renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
285
+ renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
286
+ errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
287
+ };
288
+ $forceUpdate: () => void;
289
+ $nextTick: nextTick;
290
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
291
+ } & Readonly<{
292
+ type: ButtonType;
293
+ disabled: boolean;
294
+ text: boolean;
295
+ round: boolean;
296
+ dashed: boolean;
297
+ plain: boolean;
298
+ nativeType: ButtonNativeType;
299
+ loadingIcon: IconPropType;
300
+ autoInsertSpace: boolean;
301
+ tag: string | Component;
302
+ }> & Omit<Readonly< ButtonProps> & Readonly<{
303
+ onClick?: ((evt: MouseEvent) => any) | undefined;
304
+ }>, "text" | "size" | "type" | "disabled" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "ref" | "shouldAddSpace"> & ShallowUnwrapRef<{
305
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
306
+ size: ComputedRef<"" | "default" | "large" | "small">;
307
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
308
+ disabled: ComputedRef<boolean>;
309
+ shouldAddSpace: ComputedRef<boolean>;
310
+ }> & {} & ComponentCustomProperties & {} & {
311
+ $slots: {
312
+ loading?: (props: {}) => any;
313
+ } & {
314
+ icon?: (props: {}) => any;
315
+ } & {
316
+ default?: (props: {}) => any;
317
+ };
318
+ }) | null>;
319
+ tooltipContent: ComputedRef<string>;
320
+ computedClass: ComputedRef<{
321
+ 'j-tw-btn': boolean;
322
+ 'j-tw-btn--large': boolean;
323
+ 'j-tw-btn--normal': boolean;
324
+ 'j-tw-btn--small': boolean;
325
+ 'j-tw-btn--button': boolean;
326
+ 'j-tw-btn--outline': boolean;
327
+ 'j-tw-btn--flat': boolean;
328
+ 'j-tw-btn--text': boolean;
329
+ }>;
330
+ computedStyle: ComputedRef<{
331
+ '--j-btn-color': string;
332
+ '--j-btn-color-1': string;
333
+ '--j-btn-color-2': string;
334
+ '--j-btn-color-3': string;
335
+ '--j-btn-color-4': string;
336
+ '--j-btn-color-5': string;
337
+ '--j-btn-color-6': string;
338
+ }>;
339
+ mergedTooltipConfig: ComputedRef<{
340
+ placement: "top" | "top-start" | "top-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end" | "right" | "right-start" | "right-end";
341
+ effect: "dark" | "light";
342
+ trigger: "hover" | "click" | "focus" | "contextmenu";
343
+ showArrow: boolean;
344
+ openDelay: number;
345
+ closeDelay: number;
346
+ offset: number;
347
+ }>;
348
+ handleClick: (e: MouseEvent) => void;
349
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
350
+ click: (_e: MouseEvent) => true;
351
+ }, string, PublicProps, Readonly< ExtractPropTypes<{
352
+ size: {
353
+ type: PropType< JTWBtnSizeType>;
354
+ default: "normal";
355
+ validator: (value: JTWBtnSizeType) => boolean;
356
+ };
357
+ type: {
358
+ type: PropType< JTWBtnTypeType>;
359
+ default: "button";
360
+ validator: (value: JTWBtnTypeType) => boolean;
361
+ };
362
+ color: {
363
+ type: StringConstructor;
364
+ default: string;
365
+ };
366
+ outline: {
367
+ type: BooleanConstructor;
368
+ default: boolean;
369
+ };
370
+ flat: {
371
+ type: BooleanConstructor;
372
+ default: boolean;
373
+ };
374
+ label: {
375
+ type: StringConstructor;
376
+ default: string;
377
+ };
378
+ loading: {
379
+ type: BooleanConstructor;
380
+ default: boolean;
381
+ };
382
+ tips: {
383
+ type: (StringConstructor | NumberConstructor)[];
384
+ default: string;
385
+ };
386
+ tooltipConfig: {
387
+ type: PropType< JTWBtnTooltipConfig>;
388
+ default: undefined;
389
+ };
390
+ }>> & Readonly<{
391
+ onClick?: ((_e: MouseEvent) => any) | undefined;
392
+ }>, {
393
+ size: JTWBtnSizeType;
394
+ type: JTWBtnTypeType;
395
+ color: string;
396
+ outline: boolean;
397
+ flat: boolean;
398
+ label: string;
399
+ loading: boolean;
400
+ tips: string | number;
401
+ tooltipConfig: JTWBtnTooltipConfig;
402
+ }, {}, {
403
+ ElButton: {
404
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonProps> & Readonly<{
405
+ onClick?: ((evt: MouseEvent) => any) | undefined;
406
+ }>, {
407
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
408
+ size: ComputedRef<"" | "default" | "large" | "small">;
409
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
410
+ disabled: ComputedRef<boolean>;
411
+ shouldAddSpace: ComputedRef<boolean>;
412
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
413
+ click: (evt: MouseEvent) => void;
414
+ }, PublicProps, {
415
+ type: ButtonType;
416
+ disabled: boolean;
417
+ text: boolean;
418
+ round: boolean;
419
+ dashed: boolean;
420
+ plain: boolean;
421
+ nativeType: ButtonNativeType;
422
+ loadingIcon: IconPropType;
423
+ autoInsertSpace: boolean;
424
+ tag: string | Component;
425
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
426
+ P: {};
427
+ B: {};
428
+ D: {};
429
+ C: {};
430
+ M: {};
431
+ Defaults: {};
432
+ }, Readonly< ButtonProps> & Readonly<{
433
+ onClick?: ((evt: MouseEvent) => any) | undefined;
434
+ }>, {
435
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
436
+ size: ComputedRef<"" | "default" | "large" | "small">;
437
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
438
+ disabled: ComputedRef<boolean>;
439
+ shouldAddSpace: ComputedRef<boolean>;
440
+ }, {}, {}, {}, {
441
+ type: ButtonType;
442
+ disabled: boolean;
443
+ text: boolean;
444
+ round: boolean;
445
+ dashed: boolean;
446
+ plain: boolean;
447
+ nativeType: ButtonNativeType;
448
+ loadingIcon: IconPropType;
449
+ autoInsertSpace: boolean;
450
+ tag: string | Component;
451
+ }>;
452
+ __isFragment?: never;
453
+ __isTeleport?: never;
454
+ __isSuspense?: never;
455
+ } & ComponentOptionsBase<Readonly< ButtonProps> & Readonly<{
456
+ onClick?: ((evt: MouseEvent) => any) | undefined;
457
+ }>, {
458
+ ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
459
+ size: ComputedRef<"" | "default" | "large" | "small">;
460
+ type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
461
+ disabled: ComputedRef<boolean>;
462
+ shouldAddSpace: ComputedRef<boolean>;
463
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
464
+ click: (evt: MouseEvent) => void;
465
+ }, string, {
466
+ type: ButtonType;
467
+ disabled: boolean;
468
+ text: boolean;
469
+ round: boolean;
470
+ dashed: boolean;
471
+ plain: boolean;
472
+ nativeType: ButtonNativeType;
473
+ loadingIcon: IconPropType;
474
+ autoInsertSpace: boolean;
475
+ tag: string | Component;
476
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
477
+ $slots: {
478
+ loading?: (props: {}) => any;
479
+ } & {
480
+ icon?: (props: {}) => any;
481
+ } & {
482
+ default?: (props: {}) => any;
483
+ };
484
+ }) & ObjectPlugin & {
485
+ setPropsDefaults: (defaults: Partial<{
486
+ readonly size?: ComponentSize | undefined;
487
+ readonly disabled?: boolean | undefined;
488
+ readonly type?: ButtonType | undefined;
489
+ readonly icon?: IconPropType | undefined;
490
+ readonly nativeType?: ButtonNativeType | undefined;
491
+ readonly loading?: boolean | undefined;
492
+ readonly loadingIcon?: IconPropType | undefined;
493
+ readonly plain?: boolean | undefined;
494
+ readonly text?: boolean | undefined;
495
+ readonly link?: boolean | undefined;
496
+ readonly bg?: boolean | undefined;
497
+ readonly autofocus?: boolean | undefined;
498
+ readonly round?: boolean | undefined;
499
+ readonly circle?: boolean | undefined;
500
+ readonly dashed?: boolean | undefined;
501
+ readonly color?: string | undefined;
502
+ readonly dark?: boolean | undefined;
503
+ readonly autoInsertSpace?: boolean | undefined;
504
+ readonly tag?: (string | Component) | undefined;
505
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
506
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps>) => void;
507
+ } & {
508
+ ButtonGroup: {
509
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
510
+ type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
511
+ direction: "horizontal" | "vertical";
512
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
513
+ P: {};
514
+ B: {};
515
+ D: {};
516
+ C: {};
517
+ M: {};
518
+ Defaults: {};
519
+ }, Readonly< ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, {
520
+ type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
521
+ direction: "horizontal" | "vertical";
522
+ }>;
523
+ __isFragment?: never;
524
+ __isTeleport?: never;
525
+ __isSuspense?: never;
526
+ } & ComponentOptionsBase<Readonly< ButtonGroupProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
527
+ type: "" | "default" | "info" | "primary" | "success" | "warning" | "text" | "danger";
528
+ direction: "horizontal" | "vertical";
529
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
530
+ $slots: {
531
+ default?: (props: {}) => any;
532
+ };
533
+ });
534
+ };
535
+ ElTooltip: SFCWithInstall<{
536
+ new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< UseTooltipProps> & Readonly<{
537
+ onClose?: ((...args: any[]) => any) | undefined;
538
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
539
+ "onBefore-show"?: ((...args: any[]) => any) | undefined;
540
+ "onBefore-hide"?: ((...args: any[]) => any) | undefined;
541
+ onShow?: ((...args: any[]) => any) | undefined;
542
+ onHide?: ((...args: any[]) => any) | undefined;
543
+ onOpen?: ((...args: any[]) => any) | undefined;
544
+ }>, {
545
+ popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
546
+ contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
547
+ isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
548
+ updatePopper: () => void;
549
+ onOpen: (event?: Event, delay?: number) => void;
550
+ onClose: (event?: Event, delay?: number) => void;
551
+ hide: (event?: Event) => void;
552
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
553
+ close: (...args: any[]) => void;
554
+ "update:visible": (...args: any[]) => void;
555
+ "before-show": (...args: any[]) => void;
556
+ "before-hide": (...args: any[]) => void;
557
+ show: (...args: any[]) => void;
558
+ hide: (...args: any[]) => void;
559
+ open: (...args: any[]) => void;
560
+ }, PublicProps, {
561
+ effect: PopperEffect;
562
+ placement: Placement;
563
+ popperStyle: string | false | CSSProperties | StyleValue[] | null;
564
+ teleported: boolean;
565
+ visible: boolean | null;
566
+ style: string | false | CSSProperties | StyleValue[] | null;
567
+ enterable: boolean;
568
+ pure: boolean;
569
+ focusOnShow: boolean;
570
+ trapping: boolean;
571
+ stopPopperMouseEvent: boolean;
572
+ virtualTriggering: boolean;
573
+ loop: boolean;
574
+ boundariesPadding: number;
575
+ gpuAcceleration: boolean;
576
+ offset: number;
577
+ popperOptions: Partial< Options>;
578
+ strategy: "absolute" | "fixed";
579
+ arrowOffset: number;
580
+ showArrow: boolean;
581
+ role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
582
+ content: string;
583
+ showAfter: number;
584
+ hideAfter: number;
585
+ autoClose: number;
586
+ trigger: Arrayable<TooltipTriggerType>;
587
+ triggerKeys: string[];
588
+ }, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
589
+ P: {};
590
+ B: {};
591
+ D: {};
592
+ C: {};
593
+ M: {};
594
+ Defaults: {};
595
+ }, Readonly< UseTooltipProps> & Readonly<{
596
+ onClose?: ((...args: any[]) => any) | undefined;
597
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
598
+ "onBefore-show"?: ((...args: any[]) => any) | undefined;
599
+ "onBefore-hide"?: ((...args: any[]) => any) | undefined;
600
+ onShow?: ((...args: any[]) => any) | undefined;
601
+ onHide?: ((...args: any[]) => any) | undefined;
602
+ onOpen?: ((...args: any[]) => any) | undefined;
603
+ }>, {
604
+ popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
605
+ contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
606
+ isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
607
+ updatePopper: () => void;
608
+ onOpen: (event?: Event, delay?: number) => void;
609
+ onClose: (event?: Event, delay?: number) => void;
610
+ hide: (event?: Event) => void;
611
+ }, {}, {}, {}, {
612
+ effect: PopperEffect;
613
+ placement: Placement;
614
+ popperStyle: string | false | CSSProperties | StyleValue[] | null;
615
+ teleported: boolean;
616
+ visible: boolean | null;
617
+ style: string | false | CSSProperties | StyleValue[] | null;
618
+ enterable: boolean;
619
+ pure: boolean;
620
+ focusOnShow: boolean;
621
+ trapping: boolean;
622
+ stopPopperMouseEvent: boolean;
623
+ virtualTriggering: boolean;
624
+ loop: boolean;
625
+ boundariesPadding: number;
626
+ gpuAcceleration: boolean;
627
+ offset: number;
628
+ popperOptions: Partial< Options>;
629
+ strategy: "absolute" | "fixed";
630
+ arrowOffset: number;
631
+ showArrow: boolean;
632
+ role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
633
+ content: string;
634
+ showAfter: number;
635
+ hideAfter: number;
636
+ autoClose: number;
637
+ trigger: Arrayable<TooltipTriggerType>;
638
+ triggerKeys: string[];
639
+ }>;
640
+ __isFragment?: never;
641
+ __isTeleport?: never;
642
+ __isSuspense?: never;
643
+ } & ComponentOptionsBase<Readonly< UseTooltipProps> & Readonly<{
644
+ onClose?: ((...args: any[]) => any) | undefined;
645
+ "onUpdate:visible"?: ((...args: any[]) => any) | undefined;
646
+ "onBefore-show"?: ((...args: any[]) => any) | undefined;
647
+ "onBefore-hide"?: ((...args: any[]) => any) | undefined;
648
+ onShow?: ((...args: any[]) => any) | undefined;
649
+ onHide?: ((...args: any[]) => any) | undefined;
650
+ onOpen?: ((...args: any[]) => any) | undefined;
651
+ }>, {
652
+ popperRef: Ref< PopperInstance | undefined, PopperInstance | undefined>;
653
+ contentRef: Ref< TooltipContentInstance | undefined, TooltipContentInstance | undefined>;
654
+ isFocusInsideContent: (event?: FocusEvent) => boolean | undefined;
655
+ updatePopper: () => void;
656
+ onOpen: (event?: Event, delay?: number) => void;
657
+ onClose: (event?: Event, delay?: number) => void;
658
+ hide: (event?: Event) => void;
659
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
660
+ close: (...args: any[]) => void;
661
+ "update:visible": (...args: any[]) => void;
662
+ "before-show": (...args: any[]) => void;
663
+ "before-hide": (...args: any[]) => void;
664
+ show: (...args: any[]) => void;
665
+ hide: (...args: any[]) => void;
666
+ open: (...args: any[]) => void;
667
+ }, string, {
668
+ effect: PopperEffect;
669
+ placement: Placement;
670
+ popperStyle: string | false | CSSProperties | StyleValue[] | null;
671
+ teleported: boolean;
672
+ visible: boolean | null;
673
+ style: string | false | CSSProperties | StyleValue[] | null;
674
+ enterable: boolean;
675
+ pure: boolean;
676
+ focusOnShow: boolean;
677
+ trapping: boolean;
678
+ stopPopperMouseEvent: boolean;
679
+ virtualTriggering: boolean;
680
+ loop: boolean;
681
+ boundariesPadding: number;
682
+ gpuAcceleration: boolean;
683
+ offset: number;
684
+ popperOptions: Partial< Options>;
685
+ strategy: "absolute" | "fixed";
686
+ arrowOffset: number;
687
+ showArrow: boolean;
688
+ role: "dialog" | "grid" | "group" | "listbox" | "menu" | "navigation" | "tooltip" | "tree";
689
+ content: string;
690
+ showAfter: number;
691
+ hideAfter: number;
692
+ autoClose: number;
693
+ trigger: Arrayable<TooltipTriggerType>;
694
+ triggerKeys: string[];
695
+ }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
696
+ $slots: {
697
+ default?: (props: {}) => any;
698
+ } & {
699
+ content?: (props: {}) => any;
700
+ };
701
+ })>;
702
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
703
+ }, {}, string, ComponentProvideOptions, true, {}, any>;
704
+ export default _default;