@dazhicheng/ui 1.6.25 → 1.6.26

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 (130) hide show
  1. package/dist/components/tt-api-component/index.d.ts +35 -24
  2. package/dist/components/tt-api-component/index.vue.d.ts +34 -0
  3. package/dist/components/tt-area/TtArea.vue.d.ts +2 -0
  4. package/dist/components/tt-area/index.d.ts +1 -1
  5. package/dist/components/tt-button/components/AddButton.vue.d.ts +2 -0
  6. package/dist/components/tt-button/index.d.ts +589 -260
  7. package/dist/components/tt-button/index.vue.d.ts +466 -0
  8. package/dist/components/tt-checkbox/index.d.ts +35 -26
  9. package/dist/components/tt-checkbox/index.vue.d.ts +28 -0
  10. package/dist/components/tt-drawer/index.d.ts +299 -306
  11. package/dist/components/tt-drawer/src/{RenderDrawer.d.ts → RenderDrawer.vue.d.ts} +146 -149
  12. package/dist/components/tt-drawer/src/components/{DrawerFooter.d.ts → DrawerFooter.vue.d.ts} +16 -18
  13. package/dist/components/tt-drawer/src/components/{DrawerHeader.d.ts → DrawerHeader.vue.d.ts} +3 -4
  14. package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
  15. package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
  16. package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +2 -4
  17. package/dist/components/tt-empty/index.d.ts +8 -10
  18. package/dist/components/tt-form/src/components/{ExpandableArrow.d.ts → ExpandableArrow.vue.d.ts} +4 -5
  19. package/dist/components/tt-form/src/components/{FormActions.d.ts → FormActions.vue.d.ts} +5 -6
  20. package/dist/components/tt-form/src/components/{FormElInput.d.ts → FormElInput.vue.d.ts} +101 -105
  21. package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
  22. package/dist/components/tt-form/src/form/{FormControl.d.ts → FormControl.vue.d.ts} +1 -2
  23. package/dist/components/tt-form/src/form/{FormDescription.d.ts → FormDescription.vue.d.ts} +1 -2
  24. package/dist/components/tt-form/src/form/{FormItem.d.ts → FormItem.vue.d.ts} +1 -2
  25. package/dist/components/tt-form/src/form/{FormLabel.d.ts → FormLabel.vue.d.ts} +1 -2
  26. package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +2 -0
  27. package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +8 -0
  28. package/dist/components/tt-form/src/form/{FormWarnMessage.d.ts → FormWarnMessage.vue.d.ts} +1 -2
  29. package/dist/components/tt-form/src/form/{RenderContent.d.ts → RenderContent.vue.d.ts} +4 -4
  30. package/dist/components/tt-form/src/form/index.d.ts +8 -8
  31. package/dist/components/tt-form/src/form/useFormField.d.ts +5 -6
  32. package/dist/components/tt-form/src/form-render/{FormField.d.ts → FormField.vue.d.ts} +1 -2
  33. package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
  34. package/dist/components/tt-form/src/form-render/{FormLabel.d.ts → FormLabel.vue.d.ts} +2 -3
  35. package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +11 -14
  36. package/dist/components/tt-form/src/form-render/context.d.ts +4 -5
  37. package/dist/components/tt-form/src/form-render/dependencies.d.ts +6 -7
  38. package/dist/components/tt-form/src/form-render/expandable.d.ts +3 -4
  39. package/dist/components/tt-form/src/form-render/{form.d.ts → form.vue.d.ts} +8 -9
  40. package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
  41. package/dist/components/tt-form/src/formApi.d.ts +3 -3
  42. package/dist/components/tt-form/src/group-form/{GroupForm.d.ts → GroupForm.vue.d.ts} +5 -7
  43. package/dist/components/tt-form/src/group-form/{GroupSection.d.ts → GroupSection.vue.d.ts} +5 -7
  44. package/dist/components/tt-form/src/group-form/{LazyFormField.d.ts → LazyFormField.vue.d.ts} +3 -5
  45. package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +5 -7
  46. package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +2 -3
  47. package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
  48. package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
  49. package/dist/components/tt-form/src/index.vue.d.ts +216 -0
  50. package/dist/components/tt-form/src/useForm.d.ts +1 -2
  51. package/dist/components/tt-form/src/useFormContext.d.ts +1 -2
  52. package/dist/components/tt-form-item-error-tooltip/index.d.ts +337 -61
  53. package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +298 -0
  54. package/dist/components/tt-icon/components/AddIcon.vue.d.ts +7 -0
  55. package/dist/components/tt-icon/components/SubIcon.vue.d.ts +7 -0
  56. package/dist/components/tt-icon/index.d.ts +115 -24
  57. package/dist/components/tt-icon/index.vue.d.ts +32 -0
  58. package/dist/components/tt-image/index.d.ts +41 -45
  59. package/dist/components/tt-image/src/components/ImageViewer.d.ts +26 -30
  60. package/dist/components/tt-image/tt-image.d.ts +34 -36
  61. package/dist/components/tt-loading/index.d.ts +2 -5
  62. package/dist/components/tt-loading/src/loading.vue.d.ts +12 -0
  63. package/dist/components/tt-log/index.d.ts +6 -7
  64. package/dist/components/tt-log/index.vue.d.ts +5 -0
  65. package/dist/components/tt-modal/index.d.ts +364 -371
  66. package/dist/components/tt-modal/src/{RenderModal.d.ts → RenderModal.vue.d.ts} +115 -118
  67. package/dist/components/tt-modal/src/components/{ModalFooter.d.ts → ModalFooter.vue.d.ts} +23 -26
  68. package/dist/components/tt-modal/src/components/{ModalHeader.d.ts → ModalHeader.vue.d.ts} +3 -4
  69. package/dist/components/tt-modal/src/components/{ModalWrapper.d.ts → ModalWrapper.vue.d.ts} +24 -27
  70. package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +29 -32
  71. package/dist/components/tt-modal/src/typing.d.ts +2 -2
  72. package/dist/components/tt-modal/src/utils/modal-api.d.ts +1 -2
  73. package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +2 -3
  74. package/dist/components/tt-modal-form/index.d.ts +2 -46
  75. package/dist/components/tt-modal-form/index.vue.d.ts +45 -0
  76. package/dist/components/tt-modal-form/useModalForm.d.ts +3 -4
  77. package/dist/components/tt-nav-anchor/index.d.ts +12 -15
  78. package/dist/components/tt-nav-anchor/src/{TtNavAnchor.d.ts → TtNavAnchor.vue.d.ts} +4 -4
  79. package/dist/components/tt-panel-select/index.d.ts +1 -1
  80. package/dist/components/tt-panel-select/src/components/{PanelLeft.d.ts → PanelLeft.vue.d.ts} +3 -4
  81. package/dist/components/tt-panel-select/src/components/{PanelMiddle.d.ts → PanelMiddle.vue.d.ts} +80 -83
  82. package/dist/components/tt-panel-select/src/components/{PanelRight.d.ts → PanelRight.vue.d.ts} +32 -34
  83. package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +6 -7
  84. package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
  85. package/dist/components/tt-panel-select/src/{index.d.ts → index.vue.d.ts} +80 -84
  86. package/dist/components/tt-radio-group/index.d.ts +50 -31
  87. package/dist/components/tt-radio-group/index.vue.d.ts +33 -0
  88. package/dist/components/tt-select/index.d.ts +1 -1
  89. package/dist/components/tt-select/src/{Select.d.ts → Select.vue.d.ts} +141 -146
  90. package/dist/components/tt-select/src/components/{SelectTable.d.ts → SelectTable.vue.d.ts} +36 -40
  91. package/dist/components/tt-select/src/components/{Table.d.ts → Table.vue.d.ts} +38 -41
  92. package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
  93. package/dist/components/tt-select/src/hooks/usePagination.d.ts +3 -4
  94. package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
  95. package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
  96. package/dist/components/tt-table/index.d.ts +279 -287
  97. package/dist/components/tt-table/src/{Table.d.ts → Table.vue.d.ts} +204 -209
  98. package/dist/components/tt-table/src/{TableForm.d.ts → TableForm.vue.d.ts} +80 -83
  99. package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
  100. package/dist/components/tt-table/src/components/{TableAction.d.ts → TableAction.vue.d.ts} +4 -4
  101. package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
  102. package/dist/components/tt-table/src/components/{TableColumnModal.d.ts → TableColumnModal.vue.d.ts} +4 -5
  103. package/dist/components/tt-table/src/components/{TableToolbarTools.d.ts → TableToolbarTools.vue.d.ts} +6 -7
  104. package/dist/components/tt-table/src/hooks/useColumns.d.ts +44 -45
  105. package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
  106. package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
  107. package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
  108. package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +110 -112
  109. package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
  110. package/dist/components/tt-table/src/props.d.ts +17 -19
  111. package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
  112. package/dist/components/tt-table/src/utils/table-form-api.d.ts +1 -2
  113. package/dist/components/tt-text/index.d.ts +59 -34
  114. package/dist/components/tt-text/index.vue.d.ts +50 -0
  115. package/dist/components/tt-upload/index.d.ts +311 -317
  116. package/dist/components/tt-upload/src/TtUpload.vue.d.ts +517 -0
  117. package/dist/components/tt-upload/src/typing.d.ts +47 -49
  118. package/dist/hooks/useLoading.d.ts +2 -2
  119. package/dist/hooks/useScreenshotOss.d.ts +2 -2
  120. package/dist/index.d.ts +1 -2
  121. package/package.json +3 -3
  122. package/dist/components/tt-area/TtArea.d.ts +0 -3
  123. package/dist/components/tt-button/components/AddButton.d.ts +0 -3
  124. package/dist/components/tt-form/src/form/FormMessage.d.ts +0 -3
  125. package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +0 -9
  126. package/dist/components/tt-form/src/index.d.ts +0 -217
  127. package/dist/components/tt-icon/components/AddIcon.d.ts +0 -8
  128. package/dist/components/tt-icon/components/SubIcon.d.ts +0 -8
  129. package/dist/components/tt-loading/src/loading.d.ts +0 -13
  130. package/dist/components/tt-upload/src/TtUpload.d.ts +0 -519
@@ -1,29 +1,239 @@
1
- import { VNodeChild, ComponentInternalInstance, Component, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, Ref, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
2
- import { TtChangeLoading } from '.';
3
- import { ButtonProps, ComponentSize, ButtonType, ButtonNativeType } from 'element-plus';
4
- import { IconPropType } from 'element-plus/es/utils/index.mjs';
5
- import { OnCleanup } from '@vue/reactivity';
6
- declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
- slots: Readonly<{
9
- [key: string]: ((props?: Record<string, any>) => VNodeChild) | undefined;
10
- default?: () => VNodeChild;
11
- }> & {
12
- [key: string]: ((props?: Record<string, any>) => VNodeChild) | undefined;
13
- default?: () => VNodeChild;
14
- };
15
- refs: {
1
+ export type TtChangeLoading = (loading: boolean) => void;
2
+ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
3
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<Partial<import('element-plus').ButtonProps & {
4
+ iconFont?: string;
5
+ }>> & Readonly<{
6
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
7
+ }>, {
8
+ buttonRef: import('vue').Ref<({
9
+ $: import('vue').ComponentInternalInstance;
10
+ $data: {};
11
+ $props: {
12
+ readonly size?: import('element-plus').ComponentSize | undefined;
13
+ readonly disabled?: boolean | undefined;
14
+ readonly type?: import('element-plus').ButtonType | undefined;
15
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
16
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
17
+ readonly loading?: boolean | undefined;
18
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
19
+ readonly plain?: boolean | undefined;
20
+ readonly text?: boolean | undefined;
21
+ readonly link?: boolean | undefined;
22
+ readonly bg?: boolean | undefined;
23
+ readonly autofocus?: boolean | undefined;
24
+ readonly round?: boolean | undefined;
25
+ readonly circle?: boolean | undefined;
26
+ readonly dashed?: boolean | undefined;
27
+ readonly color?: string | undefined;
28
+ readonly dark?: boolean | undefined;
29
+ readonly autoInsertSpace?: boolean | undefined;
30
+ readonly tag?: (string | import('vue').Component) | undefined;
31
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
32
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
33
+ $attrs: {
34
+ [x: string]: unknown;
35
+ };
36
+ $refs: {
37
+ [x: string]: unknown;
38
+ };
39
+ $slots: Readonly<{
40
+ [name: string]: import('vue').Slot<any> | undefined;
41
+ }>;
42
+ $root: import('vue').ComponentPublicInstance | null;
43
+ $parent: import('vue').ComponentPublicInstance | null;
44
+ $host: Element | null;
45
+ $emit: (event: "click", evt: MouseEvent) => void;
46
+ $el: any;
47
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
48
+ onClick?: ((evt: MouseEvent) => any) | undefined;
49
+ }>, {
50
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
51
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
52
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
53
+ disabled: import('vue').ComputedRef<boolean>;
54
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
55
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
56
+ click: (evt: MouseEvent) => void;
57
+ }, string, {
58
+ type: import('element-plus').ButtonType;
59
+ text: boolean;
60
+ disabled: boolean;
61
+ round: boolean;
62
+ dashed: boolean;
63
+ nativeType: import('element-plus').ButtonNativeType;
64
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
65
+ plain: boolean;
66
+ autoInsertSpace: boolean;
67
+ tag: string | import('vue').Component;
68
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
69
+ beforeCreate?: (() => void) | (() => void)[];
70
+ created?: (() => void) | (() => void)[];
71
+ beforeMount?: (() => void) | (() => void)[];
72
+ mounted?: (() => void) | (() => void)[];
73
+ beforeUpdate?: (() => void) | (() => void)[];
74
+ updated?: (() => void) | (() => void)[];
75
+ activated?: (() => void) | (() => void)[];
76
+ deactivated?: (() => void) | (() => void)[];
77
+ beforeDestroy?: (() => void) | (() => void)[];
78
+ beforeUnmount?: (() => void) | (() => void)[];
79
+ destroyed?: (() => void) | (() => void)[];
80
+ unmounted?: (() => void) | (() => void)[];
81
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
82
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
83
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
84
+ };
85
+ $forceUpdate: () => void;
86
+ $nextTick: typeof import('vue').nextTick;
87
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
88
+ } & Readonly<{
89
+ type: import('element-plus').ButtonType;
90
+ text: boolean;
91
+ disabled: boolean;
92
+ round: boolean;
93
+ dashed: boolean;
94
+ nativeType: import('element-plus').ButtonNativeType;
95
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
96
+ plain: boolean;
97
+ autoInsertSpace: boolean;
98
+ tag: string | import('vue').Component;
99
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
100
+ onClick?: ((evt: MouseEvent) => any) | undefined;
101
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
102
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
103
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
104
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
105
+ disabled: import('vue').ComputedRef<boolean>;
106
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
107
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
108
+ $slots: {
109
+ loading?: (props: {}) => any;
110
+ } & {
111
+ icon?: (props: {}) => any;
112
+ } & {
113
+ default?: (props: {}) => any;
114
+ };
115
+ }) | null, ({
116
+ $: import('vue').ComponentInternalInstance;
117
+ $data: {};
118
+ $props: {
119
+ readonly size?: import('element-plus').ComponentSize | undefined;
120
+ readonly disabled?: boolean | undefined;
121
+ readonly type?: import('element-plus').ButtonType | undefined;
122
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
123
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
124
+ readonly loading?: boolean | undefined;
125
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
126
+ readonly plain?: boolean | undefined;
127
+ readonly text?: boolean | undefined;
128
+ readonly link?: boolean | undefined;
129
+ readonly bg?: boolean | undefined;
130
+ readonly autofocus?: boolean | undefined;
131
+ readonly round?: boolean | undefined;
132
+ readonly circle?: boolean | undefined;
133
+ readonly dashed?: boolean | undefined;
134
+ readonly color?: string | undefined;
135
+ readonly dark?: boolean | undefined;
136
+ readonly autoInsertSpace?: boolean | undefined;
137
+ readonly tag?: (string | import('vue').Component) | undefined;
138
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
139
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
140
+ $attrs: {
141
+ [x: string]: unknown;
142
+ };
143
+ $refs: {
144
+ [x: string]: unknown;
145
+ };
146
+ $slots: Readonly<{
147
+ [name: string]: import('vue').Slot<any> | undefined;
148
+ }>;
149
+ $root: import('vue').ComponentPublicInstance | null;
150
+ $parent: import('vue').ComponentPublicInstance | null;
151
+ $host: Element | null;
152
+ $emit: (event: "click", evt: MouseEvent) => void;
153
+ $el: any;
154
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
155
+ onClick?: ((evt: MouseEvent) => any) | undefined;
156
+ }>, {
157
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
158
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
159
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
160
+ disabled: import('vue').ComputedRef<boolean>;
161
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
162
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
163
+ click: (evt: MouseEvent) => void;
164
+ }, string, {
165
+ type: import('element-plus').ButtonType;
166
+ text: boolean;
167
+ disabled: boolean;
168
+ round: boolean;
169
+ dashed: boolean;
170
+ nativeType: import('element-plus').ButtonNativeType;
171
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
172
+ plain: boolean;
173
+ autoInsertSpace: boolean;
174
+ tag: string | import('vue').Component;
175
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
176
+ beforeCreate?: (() => void) | (() => void)[];
177
+ created?: (() => void) | (() => void)[];
178
+ beforeMount?: (() => void) | (() => void)[];
179
+ mounted?: (() => void) | (() => void)[];
180
+ beforeUpdate?: (() => void) | (() => void)[];
181
+ updated?: (() => void) | (() => void)[];
182
+ activated?: (() => void) | (() => void)[];
183
+ deactivated?: (() => void) | (() => void)[];
184
+ beforeDestroy?: (() => void) | (() => void)[];
185
+ beforeUnmount?: (() => void) | (() => void)[];
186
+ destroyed?: (() => void) | (() => void)[];
187
+ unmounted?: (() => void) | (() => void)[];
188
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
189
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
190
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
191
+ };
192
+ $forceUpdate: () => void;
193
+ $nextTick: typeof import('vue').nextTick;
194
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
195
+ } & Readonly<{
196
+ type: import('element-plus').ButtonType;
197
+ text: boolean;
198
+ disabled: boolean;
199
+ round: boolean;
200
+ dashed: boolean;
201
+ nativeType: import('element-plus').ButtonNativeType;
202
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
203
+ plain: boolean;
204
+ autoInsertSpace: boolean;
205
+ tag: string | import('vue').Component;
206
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
207
+ onClick?: ((evt: MouseEvent) => any) | undefined;
208
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
209
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
210
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
211
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
212
+ disabled: import('vue').ComputedRef<boolean>;
213
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
214
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
215
+ $slots: {
216
+ loading?: (props: {}) => any;
217
+ } & {
218
+ icon?: (props: {}) => any;
219
+ } & {
220
+ default?: (props: {}) => any;
221
+ };
222
+ }) | null>;
223
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
224
+ click: (e: MouseEvent, changeLoading: TtChangeLoading) => any;
225
+ }, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
16
226
  buttonRef: ({
17
- $: ComponentInternalInstance;
227
+ $: import('vue').ComponentInternalInstance;
18
228
  $data: {};
19
229
  $props: {
20
- readonly size?: ComponentSize | undefined;
230
+ readonly size?: import('element-plus').ComponentSize | undefined;
21
231
  readonly disabled?: boolean | undefined;
22
- readonly type?: ButtonType | undefined;
23
- readonly icon?: IconPropType | undefined;
24
- readonly nativeType?: ButtonNativeType | undefined;
232
+ readonly type?: import('element-plus').ButtonType | undefined;
233
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
234
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
25
235
  readonly loading?: boolean | undefined;
26
- readonly loadingIcon?: IconPropType | undefined;
236
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
27
237
  readonly plain?: boolean | undefined;
28
238
  readonly text?: boolean | undefined;
29
239
  readonly link?: boolean | undefined;
@@ -35,9 +245,9 @@ declare function __VLS_template(): {
35
245
  readonly color?: string | undefined;
36
246
  readonly dark?: boolean | undefined;
37
247
  readonly autoInsertSpace?: boolean | undefined;
38
- readonly tag?: (string | Component) | undefined;
248
+ readonly tag?: (string | import('vue').Component) | undefined;
39
249
  readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
40
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
250
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
41
251
  $attrs: {
42
252
  [x: string]: unknown;
43
253
  };
@@ -45,35 +255,35 @@ declare function __VLS_template(): {
45
255
  [x: string]: unknown;
46
256
  };
47
257
  $slots: Readonly<{
48
- [name: string]: Slot<any> | undefined;
258
+ [name: string]: import('vue').Slot<any> | undefined;
49
259
  }>;
50
- $root: ComponentPublicInstance | null;
51
- $parent: ComponentPublicInstance | null;
260
+ $root: import('vue').ComponentPublicInstance | null;
261
+ $parent: import('vue').ComponentPublicInstance | null;
52
262
  $host: Element | null;
53
263
  $emit: (event: "click", evt: MouseEvent) => void;
54
264
  $el: any;
55
- $options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
265
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
56
266
  onClick?: ((evt: MouseEvent) => any) | undefined;
57
267
  }>, {
58
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
59
- size: ComputedRef<"" | "default" | "small" | "large">;
60
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
61
- disabled: ComputedRef<boolean>;
62
- shouldAddSpace: ComputedRef<boolean>;
63
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
268
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
269
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
270
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
271
+ disabled: import('vue').ComputedRef<boolean>;
272
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
273
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
64
274
  click: (evt: MouseEvent) => void;
65
275
  }, string, {
66
- type: ButtonType;
276
+ type: import('element-plus').ButtonType;
67
277
  text: boolean;
68
278
  disabled: boolean;
69
279
  round: boolean;
70
280
  dashed: boolean;
71
- nativeType: ButtonNativeType;
72
- loadingIcon: IconPropType;
281
+ nativeType: import('element-plus').ButtonNativeType;
282
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
73
283
  plain: boolean;
74
284
  autoInsertSpace: boolean;
75
- tag: string | Component;
76
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
285
+ tag: string | import('vue').Component;
286
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
77
287
  beforeCreate?: (() => void) | (() => void)[];
78
288
  created?: (() => void) | (() => void)[];
79
289
  beforeMount?: (() => void) | (() => void)[];
@@ -86,33 +296,33 @@ declare function __VLS_template(): {
86
296
  beforeUnmount?: (() => void) | (() => void)[];
87
297
  destroyed?: (() => void) | (() => void)[];
88
298
  unmounted?: (() => void) | (() => void)[];
89
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
90
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
91
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
299
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
300
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
301
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
92
302
  };
93
303
  $forceUpdate: () => void;
94
- $nextTick: nextTick;
95
- $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;
304
+ $nextTick: typeof import('vue').nextTick;
305
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
96
306
  } & Readonly<{
97
- type: ButtonType;
307
+ type: import('element-plus').ButtonType;
98
308
  text: boolean;
99
309
  disabled: boolean;
100
310
  round: boolean;
101
311
  dashed: boolean;
102
- nativeType: ButtonNativeType;
103
- loadingIcon: IconPropType;
312
+ nativeType: import('element-plus').ButtonNativeType;
313
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
104
314
  plain: boolean;
105
315
  autoInsertSpace: boolean;
106
- tag: string | Component;
107
- }> & Omit<Readonly<ButtonProps> & Readonly<{
316
+ tag: string | import('vue').Component;
317
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
108
318
  onClick?: ((evt: MouseEvent) => any) | undefined;
109
- }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & ShallowUnwrapRef<{
110
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
111
- size: ComputedRef<"" | "default" | "small" | "large">;
112
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
113
- disabled: ComputedRef<boolean>;
114
- shouldAddSpace: ComputedRef<boolean>;
115
- }> & {} & ComponentCustomProperties & {} & {
319
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
320
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
321
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
322
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
323
+ disabled: import('vue').ComputedRef<boolean>;
324
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
325
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
116
326
  $slots: {
117
327
  loading?: (props: {}) => any;
118
328
  } & {
@@ -121,131 +331,253 @@ declare function __VLS_template(): {
121
331
  default?: (props: {}) => any;
122
332
  };
123
333
  }) | null;
124
- };
125
- rootEl: any;
126
- };
127
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
128
- declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
129
- iconFont?: string;
130
- }>, {
131
- buttonRef: Ref<({
132
- $: ComponentInternalInstance;
133
- $data: {};
134
- $props: {
135
- readonly size?: ComponentSize | undefined;
136
- readonly disabled?: boolean | undefined;
137
- readonly type?: ButtonType | undefined;
138
- readonly icon?: IconPropType | undefined;
139
- readonly nativeType?: ButtonNativeType | undefined;
140
- readonly loading?: boolean | undefined;
141
- readonly loadingIcon?: IconPropType | undefined;
142
- readonly plain?: boolean | undefined;
143
- readonly text?: boolean | undefined;
144
- readonly link?: boolean | undefined;
145
- readonly bg?: boolean | undefined;
146
- readonly autofocus?: boolean | undefined;
147
- readonly round?: boolean | undefined;
148
- readonly circle?: boolean | undefined;
149
- readonly dashed?: boolean | undefined;
150
- readonly color?: string | undefined;
151
- readonly dark?: boolean | undefined;
152
- readonly autoInsertSpace?: boolean | undefined;
153
- readonly tag?: (string | Component) | undefined;
154
- readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
155
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
156
- $attrs: {
157
- [x: string]: unknown;
158
- };
159
- $refs: {
160
- [x: string]: unknown;
161
- };
162
- $slots: Readonly<{
163
- [name: string]: Slot<any> | undefined;
164
- }>;
165
- $root: ComponentPublicInstance | null;
166
- $parent: ComponentPublicInstance | null;
167
- $host: Element | null;
168
- $emit: (event: "click", evt: MouseEvent) => void;
169
- $el: any;
170
- $options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
334
+ }, any, import('vue').ComponentProvideOptions, {
335
+ P: {};
336
+ B: {};
337
+ D: {};
338
+ C: {};
339
+ M: {};
340
+ Defaults: {};
341
+ }, Readonly<Partial<import('element-plus').ButtonProps & {
342
+ iconFont?: string;
343
+ }>> & Readonly<{
344
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
345
+ }>, {
346
+ buttonRef: import('vue').Ref<({
347
+ $: import('vue').ComponentInternalInstance;
348
+ $data: {};
349
+ $props: {
350
+ readonly size?: import('element-plus').ComponentSize | undefined;
351
+ readonly disabled?: boolean | undefined;
352
+ readonly type?: import('element-plus').ButtonType | undefined;
353
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
354
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
355
+ readonly loading?: boolean | undefined;
356
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
357
+ readonly plain?: boolean | undefined;
358
+ readonly text?: boolean | undefined;
359
+ readonly link?: boolean | undefined;
360
+ readonly bg?: boolean | undefined;
361
+ readonly autofocus?: boolean | undefined;
362
+ readonly round?: boolean | undefined;
363
+ readonly circle?: boolean | undefined;
364
+ readonly dashed?: boolean | undefined;
365
+ readonly color?: string | undefined;
366
+ readonly dark?: boolean | undefined;
367
+ readonly autoInsertSpace?: boolean | undefined;
368
+ readonly tag?: (string | import('vue').Component) | undefined;
369
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
370
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
371
+ $attrs: {
372
+ [x: string]: unknown;
373
+ };
374
+ $refs: {
375
+ [x: string]: unknown;
376
+ };
377
+ $slots: Readonly<{
378
+ [name: string]: import('vue').Slot<any> | undefined;
379
+ }>;
380
+ $root: import('vue').ComponentPublicInstance | null;
381
+ $parent: import('vue').ComponentPublicInstance | null;
382
+ $host: Element | null;
383
+ $emit: (event: "click", evt: MouseEvent) => void;
384
+ $el: any;
385
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
386
+ onClick?: ((evt: MouseEvent) => any) | undefined;
387
+ }>, {
388
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
389
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
390
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
391
+ disabled: import('vue').ComputedRef<boolean>;
392
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
393
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
394
+ click: (evt: MouseEvent) => void;
395
+ }, string, {
396
+ type: import('element-plus').ButtonType;
397
+ text: boolean;
398
+ disabled: boolean;
399
+ round: boolean;
400
+ dashed: boolean;
401
+ nativeType: import('element-plus').ButtonNativeType;
402
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
403
+ plain: boolean;
404
+ autoInsertSpace: boolean;
405
+ tag: string | import('vue').Component;
406
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
407
+ beforeCreate?: (() => void) | (() => void)[];
408
+ created?: (() => void) | (() => void)[];
409
+ beforeMount?: (() => void) | (() => void)[];
410
+ mounted?: (() => void) | (() => void)[];
411
+ beforeUpdate?: (() => void) | (() => void)[];
412
+ updated?: (() => void) | (() => void)[];
413
+ activated?: (() => void) | (() => void)[];
414
+ deactivated?: (() => void) | (() => void)[];
415
+ beforeDestroy?: (() => void) | (() => void)[];
416
+ beforeUnmount?: (() => void) | (() => void)[];
417
+ destroyed?: (() => void) | (() => void)[];
418
+ unmounted?: (() => void) | (() => void)[];
419
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
420
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
421
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
422
+ };
423
+ $forceUpdate: () => void;
424
+ $nextTick: typeof import('vue').nextTick;
425
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
426
+ } & Readonly<{
427
+ type: import('element-plus').ButtonType;
428
+ text: boolean;
429
+ disabled: boolean;
430
+ round: boolean;
431
+ dashed: boolean;
432
+ nativeType: import('element-plus').ButtonNativeType;
433
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
434
+ plain: boolean;
435
+ autoInsertSpace: boolean;
436
+ tag: string | import('vue').Component;
437
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
171
438
  onClick?: ((evt: MouseEvent) => any) | undefined;
172
- }>, {
173
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
174
- size: ComputedRef<"" | "default" | "small" | "large">;
175
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
176
- disabled: ComputedRef<boolean>;
177
- shouldAddSpace: ComputedRef<boolean>;
178
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
179
- click: (evt: MouseEvent) => void;
180
- }, string, {
181
- type: ButtonType;
439
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
440
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
441
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
442
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
443
+ disabled: import('vue').ComputedRef<boolean>;
444
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
445
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
446
+ $slots: {
447
+ loading?: (props: {}) => any;
448
+ } & {
449
+ icon?: (props: {}) => any;
450
+ } & {
451
+ default?: (props: {}) => any;
452
+ };
453
+ }) | null, ({
454
+ $: import('vue').ComponentInternalInstance;
455
+ $data: {};
456
+ $props: {
457
+ readonly size?: import('element-plus').ComponentSize | undefined;
458
+ readonly disabled?: boolean | undefined;
459
+ readonly type?: import('element-plus').ButtonType | undefined;
460
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
461
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
462
+ readonly loading?: boolean | undefined;
463
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
464
+ readonly plain?: boolean | undefined;
465
+ readonly text?: boolean | undefined;
466
+ readonly link?: boolean | undefined;
467
+ readonly bg?: boolean | undefined;
468
+ readonly autofocus?: boolean | undefined;
469
+ readonly round?: boolean | undefined;
470
+ readonly circle?: boolean | undefined;
471
+ readonly dashed?: boolean | undefined;
472
+ readonly color?: string | undefined;
473
+ readonly dark?: boolean | undefined;
474
+ readonly autoInsertSpace?: boolean | undefined;
475
+ readonly tag?: (string | import('vue').Component) | undefined;
476
+ readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
477
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
478
+ $attrs: {
479
+ [x: string]: unknown;
480
+ };
481
+ $refs: {
482
+ [x: string]: unknown;
483
+ };
484
+ $slots: Readonly<{
485
+ [name: string]: import('vue').Slot<any> | undefined;
486
+ }>;
487
+ $root: import('vue').ComponentPublicInstance | null;
488
+ $parent: import('vue').ComponentPublicInstance | null;
489
+ $host: Element | null;
490
+ $emit: (event: "click", evt: MouseEvent) => void;
491
+ $el: any;
492
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
493
+ onClick?: ((evt: MouseEvent) => any) | undefined;
494
+ }>, {
495
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
496
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
497
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
498
+ disabled: import('vue').ComputedRef<boolean>;
499
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
500
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
501
+ click: (evt: MouseEvent) => void;
502
+ }, string, {
503
+ type: import('element-plus').ButtonType;
504
+ text: boolean;
505
+ disabled: boolean;
506
+ round: boolean;
507
+ dashed: boolean;
508
+ nativeType: import('element-plus').ButtonNativeType;
509
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
510
+ plain: boolean;
511
+ autoInsertSpace: boolean;
512
+ tag: string | import('vue').Component;
513
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
514
+ beforeCreate?: (() => void) | (() => void)[];
515
+ created?: (() => void) | (() => void)[];
516
+ beforeMount?: (() => void) | (() => void)[];
517
+ mounted?: (() => void) | (() => void)[];
518
+ beforeUpdate?: (() => void) | (() => void)[];
519
+ updated?: (() => void) | (() => void)[];
520
+ activated?: (() => void) | (() => void)[];
521
+ deactivated?: (() => void) | (() => void)[];
522
+ beforeDestroy?: (() => void) | (() => void)[];
523
+ beforeUnmount?: (() => void) | (() => void)[];
524
+ destroyed?: (() => void) | (() => void)[];
525
+ unmounted?: (() => void) | (() => void)[];
526
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
527
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
528
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
529
+ };
530
+ $forceUpdate: () => void;
531
+ $nextTick: typeof import('vue').nextTick;
532
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
533
+ } & Readonly<{
534
+ type: import('element-plus').ButtonType;
182
535
  text: boolean;
183
536
  disabled: boolean;
184
537
  round: boolean;
185
538
  dashed: boolean;
186
- nativeType: ButtonNativeType;
187
- loadingIcon: IconPropType;
539
+ nativeType: import('element-plus').ButtonNativeType;
540
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
188
541
  plain: boolean;
189
542
  autoInsertSpace: boolean;
190
- tag: string | Component;
191
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
192
- beforeCreate?: (() => void) | (() => void)[];
193
- created?: (() => void) | (() => void)[];
194
- beforeMount?: (() => void) | (() => void)[];
195
- mounted?: (() => void) | (() => void)[];
196
- beforeUpdate?: (() => void) | (() => void)[];
197
- updated?: (() => void) | (() => void)[];
198
- activated?: (() => void) | (() => void)[];
199
- deactivated?: (() => void) | (() => void)[];
200
- beforeDestroy?: (() => void) | (() => void)[];
201
- beforeUnmount?: (() => void) | (() => void)[];
202
- destroyed?: (() => void) | (() => void)[];
203
- unmounted?: (() => void) | (() => void)[];
204
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
205
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
206
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
207
- };
208
- $forceUpdate: () => void;
209
- $nextTick: nextTick;
210
- $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;
211
- } & Readonly<{
212
- type: ButtonType;
213
- text: boolean;
214
- disabled: boolean;
215
- round: boolean;
216
- dashed: boolean;
217
- nativeType: ButtonNativeType;
218
- loadingIcon: IconPropType;
219
- plain: boolean;
220
- autoInsertSpace: boolean;
221
- tag: string | Component;
222
- }> & Omit<Readonly<ButtonProps> & Readonly<{
223
- onClick?: ((evt: MouseEvent) => any) | undefined;
224
- }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & ShallowUnwrapRef<{
225
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
226
- size: ComputedRef<"" | "default" | "small" | "large">;
227
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
228
- disabled: ComputedRef<boolean>;
229
- shouldAddSpace: ComputedRef<boolean>;
230
- }> & {} & ComponentCustomProperties & {} & {
231
- $slots: {
232
- loading?: (props: {}) => any;
233
- } & {
234
- icon?: (props: {}) => any;
235
- } & {
236
- default?: (props: {}) => any;
237
- };
238
- }) | null, ({
239
- $: ComponentInternalInstance;
543
+ tag: string | import('vue').Component;
544
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
545
+ onClick?: ((evt: MouseEvent) => any) | undefined;
546
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
547
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
548
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
549
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
550
+ disabled: import('vue').ComputedRef<boolean>;
551
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
552
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
553
+ $slots: {
554
+ loading?: (props: {}) => any;
555
+ } & {
556
+ icon?: (props: {}) => any;
557
+ } & {
558
+ default?: (props: {}) => any;
559
+ };
560
+ }) | null>;
561
+ }, {}, {}, {}, {}>;
562
+ __isFragment?: never;
563
+ __isTeleport?: never;
564
+ __isSuspense?: never;
565
+ } & import('vue').ComponentOptionsBase<Readonly<Partial<import('element-plus').ButtonProps & {
566
+ iconFont?: string;
567
+ }>> & Readonly<{
568
+ onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
569
+ }>, {
570
+ buttonRef: import('vue').Ref<({
571
+ $: import('vue').ComponentInternalInstance;
240
572
  $data: {};
241
573
  $props: {
242
- readonly size?: ComponentSize | undefined;
574
+ readonly size?: import('element-plus').ComponentSize | undefined;
243
575
  readonly disabled?: boolean | undefined;
244
- readonly type?: ButtonType | undefined;
245
- readonly icon?: IconPropType | undefined;
246
- readonly nativeType?: ButtonNativeType | undefined;
576
+ readonly type?: import('element-plus').ButtonType | undefined;
577
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
578
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
247
579
  readonly loading?: boolean | undefined;
248
- readonly loadingIcon?: IconPropType | undefined;
580
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
249
581
  readonly plain?: boolean | undefined;
250
582
  readonly text?: boolean | undefined;
251
583
  readonly link?: boolean | undefined;
@@ -257,9 +589,9 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
257
589
  readonly color?: string | undefined;
258
590
  readonly dark?: boolean | undefined;
259
591
  readonly autoInsertSpace?: boolean | undefined;
260
- readonly tag?: (string | Component) | undefined;
592
+ readonly tag?: (string | import('vue').Component) | undefined;
261
593
  readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
262
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
594
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
263
595
  $attrs: {
264
596
  [x: string]: unknown;
265
597
  };
@@ -267,35 +599,35 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
267
599
  [x: string]: unknown;
268
600
  };
269
601
  $slots: Readonly<{
270
- [name: string]: Slot<any> | undefined;
602
+ [name: string]: import('vue').Slot<any> | undefined;
271
603
  }>;
272
- $root: ComponentPublicInstance | null;
273
- $parent: ComponentPublicInstance | null;
604
+ $root: import('vue').ComponentPublicInstance | null;
605
+ $parent: import('vue').ComponentPublicInstance | null;
274
606
  $host: Element | null;
275
607
  $emit: (event: "click", evt: MouseEvent) => void;
276
608
  $el: any;
277
- $options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
609
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
278
610
  onClick?: ((evt: MouseEvent) => any) | undefined;
279
611
  }>, {
280
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
281
- size: ComputedRef<"" | "default" | "small" | "large">;
282
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
283
- disabled: ComputedRef<boolean>;
284
- shouldAddSpace: ComputedRef<boolean>;
285
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
612
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
613
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
614
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
615
+ disabled: import('vue').ComputedRef<boolean>;
616
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
617
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
286
618
  click: (evt: MouseEvent) => void;
287
619
  }, string, {
288
- type: ButtonType;
620
+ type: import('element-plus').ButtonType;
289
621
  text: boolean;
290
622
  disabled: boolean;
291
623
  round: boolean;
292
624
  dashed: boolean;
293
- nativeType: ButtonNativeType;
294
- loadingIcon: IconPropType;
625
+ nativeType: import('element-plus').ButtonNativeType;
626
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
295
627
  plain: boolean;
296
628
  autoInsertSpace: boolean;
297
- tag: string | Component;
298
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
629
+ tag: string | import('vue').Component;
630
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
299
631
  beforeCreate?: (() => void) | (() => void)[];
300
632
  created?: (() => void) | (() => void)[];
301
633
  beforeMount?: (() => void) | (() => void)[];
@@ -308,33 +640,33 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
308
640
  beforeUnmount?: (() => void) | (() => void)[];
309
641
  destroyed?: (() => void) | (() => void)[];
310
642
  unmounted?: (() => void) | (() => void)[];
311
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
312
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
313
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
643
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
644
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
645
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
314
646
  };
315
647
  $forceUpdate: () => void;
316
- $nextTick: nextTick;
317
- $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;
648
+ $nextTick: typeof import('vue').nextTick;
649
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
318
650
  } & Readonly<{
319
- type: ButtonType;
651
+ type: import('element-plus').ButtonType;
320
652
  text: boolean;
321
653
  disabled: boolean;
322
654
  round: boolean;
323
655
  dashed: boolean;
324
- nativeType: ButtonNativeType;
325
- loadingIcon: IconPropType;
656
+ nativeType: import('element-plus').ButtonNativeType;
657
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
326
658
  plain: boolean;
327
659
  autoInsertSpace: boolean;
328
- tag: string | Component;
329
- }> & Omit<Readonly<ButtonProps> & Readonly<{
660
+ tag: string | import('vue').Component;
661
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
330
662
  onClick?: ((evt: MouseEvent) => any) | undefined;
331
- }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & ShallowUnwrapRef<{
332
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
333
- size: ComputedRef<"" | "default" | "small" | "large">;
334
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
335
- disabled: ComputedRef<boolean>;
336
- shouldAddSpace: ComputedRef<boolean>;
337
- }> & {} & ComponentCustomProperties & {} & {
663
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
664
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
665
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
666
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
667
+ disabled: import('vue').ComputedRef<boolean>;
668
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
669
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
338
670
  $slots: {
339
671
  loading?: (props: {}) => any;
340
672
  } & {
@@ -342,25 +674,17 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
342
674
  } & {
343
675
  default?: (props: {}) => any;
344
676
  };
345
- }) | null>;
346
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
347
- click: (e: MouseEvent, changeLoading: TtChangeLoading) => any;
348
- }, string, PublicProps, Readonly<Partial<ButtonProps & {
349
- iconFont?: string;
350
- }>> & Readonly<{
351
- onClick?: ((e: MouseEvent, changeLoading: TtChangeLoading) => any) | undefined;
352
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
353
- buttonRef: ({
354
- $: ComponentInternalInstance;
677
+ }) | null, ({
678
+ $: import('vue').ComponentInternalInstance;
355
679
  $data: {};
356
680
  $props: {
357
- readonly size?: ComponentSize | undefined;
681
+ readonly size?: import('element-plus').ComponentSize | undefined;
358
682
  readonly disabled?: boolean | undefined;
359
- readonly type?: ButtonType | undefined;
360
- readonly icon?: IconPropType | undefined;
361
- readonly nativeType?: ButtonNativeType | undefined;
683
+ readonly type?: import('element-plus').ButtonType | undefined;
684
+ readonly icon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
685
+ readonly nativeType?: import('element-plus').ButtonNativeType | undefined;
362
686
  readonly loading?: boolean | undefined;
363
- readonly loadingIcon?: IconPropType | undefined;
687
+ readonly loadingIcon?: import('element-plus/es/utils/index.mjs').IconPropType | undefined;
364
688
  readonly plain?: boolean | undefined;
365
689
  readonly text?: boolean | undefined;
366
690
  readonly link?: boolean | undefined;
@@ -372,9 +696,9 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
372
696
  readonly color?: string | undefined;
373
697
  readonly dark?: boolean | undefined;
374
698
  readonly autoInsertSpace?: boolean | undefined;
375
- readonly tag?: (string | Component) | undefined;
699
+ readonly tag?: (string | import('vue').Component) | undefined;
376
700
  readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
377
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps;
701
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
378
702
  $attrs: {
379
703
  [x: string]: unknown;
380
704
  };
@@ -382,35 +706,35 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
382
706
  [x: string]: unknown;
383
707
  };
384
708
  $slots: Readonly<{
385
- [name: string]: Slot<any> | undefined;
709
+ [name: string]: import('vue').Slot<any> | undefined;
386
710
  }>;
387
- $root: ComponentPublicInstance | null;
388
- $parent: ComponentPublicInstance | null;
711
+ $root: import('vue').ComponentPublicInstance | null;
712
+ $parent: import('vue').ComponentPublicInstance | null;
389
713
  $host: Element | null;
390
714
  $emit: (event: "click", evt: MouseEvent) => void;
391
715
  $el: any;
392
- $options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
716
+ $options: import('vue').ComponentOptionsBase<Readonly<import('element-plus').ButtonProps> & Readonly<{
393
717
  onClick?: ((evt: MouseEvent) => any) | undefined;
394
718
  }>, {
395
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
396
- size: ComputedRef<"" | "default" | "small" | "large">;
397
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
398
- disabled: ComputedRef<boolean>;
399
- shouldAddSpace: ComputedRef<boolean>;
400
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
719
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
720
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
721
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
722
+ disabled: import('vue').ComputedRef<boolean>;
723
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
724
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
401
725
  click: (evt: MouseEvent) => void;
402
726
  }, string, {
403
- type: ButtonType;
727
+ type: import('element-plus').ButtonType;
404
728
  text: boolean;
405
729
  disabled: boolean;
406
730
  round: boolean;
407
731
  dashed: boolean;
408
- nativeType: ButtonNativeType;
409
- loadingIcon: IconPropType;
732
+ nativeType: import('element-plus').ButtonNativeType;
733
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
410
734
  plain: boolean;
411
735
  autoInsertSpace: boolean;
412
- tag: string | Component;
413
- }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
736
+ tag: string | import('vue').Component;
737
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
414
738
  beforeCreate?: (() => void) | (() => void)[];
415
739
  created?: (() => void) | (() => void)[];
416
740
  beforeMount?: (() => void) | (() => void)[];
@@ -423,33 +747,33 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
423
747
  beforeUnmount?: (() => void) | (() => void)[];
424
748
  destroyed?: (() => void) | (() => void)[];
425
749
  unmounted?: (() => void) | (() => void)[];
426
- renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
427
- renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
428
- errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
750
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
751
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
752
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
429
753
  };
430
754
  $forceUpdate: () => void;
431
- $nextTick: nextTick;
432
- $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;
755
+ $nextTick: typeof import('vue').nextTick;
756
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
433
757
  } & Readonly<{
434
- type: ButtonType;
758
+ type: import('element-plus').ButtonType;
435
759
  text: boolean;
436
760
  disabled: boolean;
437
761
  round: boolean;
438
762
  dashed: boolean;
439
- nativeType: ButtonNativeType;
440
- loadingIcon: IconPropType;
763
+ nativeType: import('element-plus').ButtonNativeType;
764
+ loadingIcon: import('element-plus/es/utils/index.mjs').IconPropType;
441
765
  plain: boolean;
442
766
  autoInsertSpace: boolean;
443
- tag: string | Component;
444
- }> & Omit<Readonly<ButtonProps> & Readonly<{
767
+ tag: string | import('vue').Component;
768
+ }> & Omit<Readonly<import('element-plus').ButtonProps> & Readonly<{
445
769
  onClick?: ((evt: MouseEvent) => any) | undefined;
446
- }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & ShallowUnwrapRef<{
447
- ref: Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
448
- size: ComputedRef<"" | "default" | "small" | "large">;
449
- type: ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
450
- disabled: ComputedRef<boolean>;
451
- shouldAddSpace: ComputedRef<boolean>;
452
- }> & {} & ComponentCustomProperties & {} & {
770
+ }>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> & import('vue').ShallowUnwrapRef<{
771
+ ref: import('vue').Ref<HTMLButtonElement | undefined, HTMLButtonElement | undefined>;
772
+ size: import('vue').ComputedRef<"" | "default" | "small" | "large">;
773
+ type: import('vue').ComputedRef<"default" | "" | "info" | "primary" | "success" | "warning" | "text" | "danger">;
774
+ disabled: import('vue').ComputedRef<boolean>;
775
+ shouldAddSpace: import('vue').ComputedRef<boolean>;
776
+ }> & {} & import('vue').ComponentCustomProperties & {} & {
453
777
  $slots: {
454
778
  loading?: (props: {}) => any;
455
779
  } & {
@@ -457,12 +781,17 @@ declare const __VLS_component: DefineComponent<Partial<ButtonProps & {
457
781
  } & {
458
782
  default?: (props: {}) => any;
459
783
  };
460
- }) | null;
461
- }, any>;
462
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
463
- export default _default;
464
- type __VLS_WithTemplateSlots<T, S> = T & {
465
- new (): {
466
- $slots: S;
784
+ }) | null>;
785
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
786
+ click: (e: MouseEvent, changeLoading: TtChangeLoading) => any;
787
+ }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
788
+ $slots: Readonly<{
789
+ [key: string]: ((props?: Record<string, any>) => import('vue').VNodeChild) | undefined;
790
+ default?: () => import('vue').VNodeChild;
791
+ }> & {
792
+ [key: string]: ((props?: Record<string, any>) => import('vue').VNodeChild) | undefined;
793
+ default?: () => import('vue').VNodeChild;
467
794
  };
468
- };
795
+ })> & Record<string, any>;
796
+ export declare const TtAddButton: import('../../../../utils/src').SFCWithInstall<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>> & Record<string, any>;
797
+ export default TtButton;