@dazhicheng/ui 1.6.23 → 1.6.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/tt-api-component/index.d.ts +24 -35
- package/dist/components/tt-area/TtArea.d.ts +3 -0
- package/dist/components/tt-area/index.d.ts +1 -1
- package/dist/components/tt-button/components/AddButton.d.ts +3 -0
- package/dist/components/tt-button/index.d.ts +260 -589
- package/dist/components/tt-checkbox/index.d.ts +26 -35
- package/dist/components/tt-drawer/index.d.ts +306 -299
- package/dist/components/tt-drawer/src/{RenderDrawer.vue.d.ts → RenderDrawer.d.ts} +149 -146
- package/dist/components/tt-drawer/src/components/{DrawerFooter.vue.d.ts → DrawerFooter.d.ts} +18 -16
- package/dist/components/tt-drawer/src/components/{DrawerHeader.vue.d.ts → DrawerHeader.d.ts} +4 -3
- package/dist/components/tt-drawer/src/hooks/useDrawerRender.d.ts +2 -2
- package/dist/components/tt-drawer/src/hooks/useResizable.d.ts +2 -2
- package/dist/components/tt-drawer/src/utils/drawer-api.d.ts +4 -2
- package/dist/components/tt-empty/index.d.ts +10 -8
- package/dist/components/tt-form/src/components/{ExpandableArrow.vue.d.ts → ExpandableArrow.d.ts} +5 -4
- package/dist/components/tt-form/src/components/{FormActions.vue.d.ts → FormActions.d.ts} +6 -5
- package/dist/components/tt-form/src/components/{FormElInput.vue.d.ts → FormElInput.d.ts} +105 -101
- package/dist/components/tt-form/src/components/Slot.d.ts +4 -4
- package/dist/components/tt-form/src/form/{FormControl.vue.d.ts → FormControl.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormDescription.vue.d.ts → FormDescription.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormItem.vue.d.ts → FormItem.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{FormLabel.vue.d.ts → FormLabel.d.ts} +2 -1
- package/dist/components/tt-form/src/form/FormMessage.d.ts +3 -0
- package/dist/components/tt-form/src/form/FormMessageToolTip.d.ts +9 -0
- package/dist/components/tt-form/src/form/{FormWarnMessage.vue.d.ts → FormWarnMessage.d.ts} +2 -1
- package/dist/components/tt-form/src/form/{RenderContent.vue.d.ts → RenderContent.d.ts} +4 -4
- package/dist/components/tt-form/src/form/index.d.ts +8 -8
- package/dist/components/tt-form/src/form/useFormField.d.ts +6 -5
- package/dist/components/tt-form/src/form-render/{FormField.vue.d.ts → FormField.d.ts} +2 -1
- package/dist/components/tt-form/src/form-render/FormFieldContact.d.ts +6 -6
- package/dist/components/tt-form/src/form-render/{FormLabel.vue.d.ts → FormLabel.d.ts} +3 -2
- package/dist/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +14 -11
- package/dist/components/tt-form/src/form-render/context.d.ts +5 -4
- package/dist/components/tt-form/src/form-render/dependencies.d.ts +7 -6
- package/dist/components/tt-form/src/form-render/expandable.d.ts +4 -3
- package/dist/components/tt-form/src/form-render/{form.vue.d.ts → form.d.ts} +9 -8
- package/dist/components/tt-form/src/form-render/index.d.ts +3 -3
- package/dist/components/tt-form/src/formApi.d.ts +3 -3
- package/dist/components/tt-form/src/group-form/{GroupForm.vue.d.ts → GroupForm.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{GroupSection.vue.d.ts → GroupSection.d.ts} +7 -5
- package/dist/components/tt-form/src/group-form/{LazyFormField.vue.d.ts → LazyFormField.d.ts} +5 -3
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +7 -5
- package/dist/components/tt-form/src/hooks/useFormFieldBus.d.ts +3 -2
- package/dist/components/tt-form/src/hooks/useForwardProps.d.ts +2 -2
- package/dist/components/tt-form/src/hooks/useForwardPropsEmits.d.ts +2 -2
- package/dist/components/tt-form/src/index.d.ts +217 -0
- package/dist/components/tt-form/src/useForm.d.ts +2 -1
- package/dist/components/tt-form/src/useFormContext.d.ts +2 -1
- package/dist/components/tt-form-item-error-tooltip/index.d.ts +61 -337
- package/dist/components/tt-icon/components/AddIcon.d.ts +8 -0
- package/dist/components/tt-icon/components/SubIcon.d.ts +8 -0
- package/dist/components/tt-icon/index.d.ts +24 -115
- package/dist/components/tt-image/index.d.ts +45 -41
- package/dist/components/tt-image/src/components/ImageViewer.d.ts +30 -26
- package/dist/components/tt-image/tt-image.d.ts +36 -34
- package/dist/components/tt-loading/index.d.ts +5 -2
- package/dist/components/tt-loading/src/loading.d.ts +13 -0
- package/dist/components/tt-log/index.d.ts +7 -6
- package/dist/components/tt-modal/index.d.ts +371 -364
- package/dist/components/tt-modal/src/{RenderModal.vue.d.ts → RenderModal.d.ts} +118 -115
- package/dist/components/tt-modal/src/components/{ModalFooter.vue.d.ts → ModalFooter.d.ts} +26 -23
- package/dist/components/tt-modal/src/components/{ModalHeader.vue.d.ts → ModalHeader.d.ts} +4 -3
- package/dist/components/tt-modal/src/components/{ModalWrapper.vue.d.ts → ModalWrapper.d.ts} +27 -24
- package/dist/components/tt-modal/src/hooks/useModalRender.d.ts +32 -29
- package/dist/components/tt-modal/src/typing.d.ts +2 -2
- package/dist/components/tt-modal/src/utils/modal-api.d.ts +2 -1
- package/dist/components/tt-modal-form/hooks/useModalFormSlot.d.ts +3 -2
- package/dist/components/tt-modal-form/index.d.ts +46 -2
- package/dist/components/tt-modal-form/useModalForm.d.ts +4 -3
- package/dist/components/tt-nav-anchor/index.d.ts +15 -12
- package/dist/components/tt-nav-anchor/src/{TtNavAnchor.vue.d.ts → TtNavAnchor.d.ts} +4 -4
- package/dist/components/tt-panel-select/index.d.ts +1 -1
- package/dist/components/tt-panel-select/src/components/{PanelLeft.vue.d.ts → PanelLeft.d.ts} +4 -3
- package/dist/components/tt-panel-select/src/components/{PanelMiddle.vue.d.ts → PanelMiddle.d.ts} +83 -80
- package/dist/components/tt-panel-select/src/components/{PanelRight.vue.d.ts → PanelRight.d.ts} +34 -32
- package/dist/components/tt-panel-select/src/hooks/usePanelData.d.ts +7 -6
- package/dist/components/tt-panel-select/src/hooks/usePanelSelection.d.ts +5 -5
- package/dist/components/tt-panel-select/src/{index.vue.d.ts → index.d.ts} +84 -80
- package/dist/components/tt-radio-group/index.d.ts +31 -50
- package/dist/components/tt-select/index.d.ts +1 -1
- package/dist/components/tt-select/src/{Select.vue.d.ts → Select.d.ts} +146 -141
- package/dist/components/tt-select/src/components/{SelectTable.vue.d.ts → SelectTable.d.ts} +40 -36
- package/dist/components/tt-select/src/components/{Table.vue.d.ts → Table.d.ts} +41 -38
- package/dist/components/tt-select/src/hooks/useGrid.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/usePagination.d.ts +4 -3
- package/dist/components/tt-select/src/hooks/useSelect.d.ts +2 -2
- package/dist/components/tt-select/src/hooks/useSelectTableEvent.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +287 -279
- package/dist/components/tt-table/src/{Table.vue.d.ts → Table.d.ts} +209 -204
- package/dist/components/tt-table/src/{TableForm.vue.d.ts → TableForm.d.ts} +83 -80
- package/dist/components/tt-table/src/components/RowContext.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableAction.vue.d.ts → TableAction.d.ts} +4 -4
- package/dist/components/tt-table/src/components/TableButtons.d.ts +5 -5
- package/dist/components/tt-table/src/components/{TableColumnModal.vue.d.ts → TableColumnModal.d.ts} +5 -4
- package/dist/components/tt-table/src/components/{TableToolbarTools.vue.d.ts → TableToolbarTools.d.ts} +7 -6
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +45 -44
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +33 -33
- package/dist/components/tt-table/src/hooks/useQuery.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +2 -2
- package/dist/components/tt-table/src/hooks/useSideSlot.d.ts +112 -110
- package/dist/components/tt-table/src/hooks/useTableData.d.ts +2 -2
- package/dist/components/tt-table/src/props.d.ts +19 -17
- package/dist/components/tt-table/src/utils/table-api.d.ts +4 -4
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +2 -1
- package/dist/components/tt-text/index.d.ts +34 -59
- package/dist/components/tt-upload/index.d.ts +317 -311
- package/dist/components/tt-upload/src/TtUpload.d.ts +519 -0
- package/dist/components/tt-upload/src/typing.d.ts +49 -47
- package/dist/hooks/useDataPermissionOptions.js +76 -72
- package/dist/hooks/useLoading.d.ts +2 -2
- package/dist/hooks/useScreenshotOss.d.ts +2 -2
- package/dist/index.d.ts +2 -1
- package/package.json +2 -2
- package/dist/components/tt-api-component/index.vue.d.ts +0 -34
- package/dist/components/tt-area/TtArea.vue.d.ts +0 -2
- package/dist/components/tt-button/components/AddButton.vue.d.ts +0 -2
- package/dist/components/tt-button/index.vue.d.ts +0 -466
- package/dist/components/tt-checkbox/index.vue.d.ts +0 -28
- package/dist/components/tt-form/src/form/FormMessage.vue.d.ts +0 -2
- package/dist/components/tt-form/src/form/FormMessageToolTip.vue.d.ts +0 -8
- package/dist/components/tt-form/src/index.vue.d.ts +0 -216
- package/dist/components/tt-form-item-error-tooltip/index.vue.d.ts +0 -298
- package/dist/components/tt-icon/components/AddIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/components/SubIcon.vue.d.ts +0 -7
- package/dist/components/tt-icon/index.vue.d.ts +0 -32
- package/dist/components/tt-loading/src/loading.vue.d.ts +0 -12
- package/dist/components/tt-log/index.vue.d.ts +0 -5
- package/dist/components/tt-modal-form/index.vue.d.ts +0 -45
- package/dist/components/tt-radio-group/index.vue.d.ts +0 -33
- package/dist/components/tt-text/index.vue.d.ts +0 -50
- package/dist/components/tt-upload/src/TtUpload.vue.d.ts +0 -517
|
@@ -1,239 +1,29 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
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, {
|
|
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: {
|
|
226
16
|
buttonRef: ({
|
|
227
|
-
$:
|
|
17
|
+
$: ComponentInternalInstance;
|
|
228
18
|
$data: {};
|
|
229
19
|
$props: {
|
|
230
|
-
readonly size?:
|
|
20
|
+
readonly size?: ComponentSize | undefined;
|
|
231
21
|
readonly disabled?: boolean | undefined;
|
|
232
|
-
readonly type?:
|
|
233
|
-
readonly icon?:
|
|
234
|
-
readonly nativeType?:
|
|
22
|
+
readonly type?: ButtonType | undefined;
|
|
23
|
+
readonly icon?: IconPropType | undefined;
|
|
24
|
+
readonly nativeType?: ButtonNativeType | undefined;
|
|
235
25
|
readonly loading?: boolean | undefined;
|
|
236
|
-
readonly loadingIcon?:
|
|
26
|
+
readonly loadingIcon?: IconPropType | undefined;
|
|
237
27
|
readonly plain?: boolean | undefined;
|
|
238
28
|
readonly text?: boolean | undefined;
|
|
239
29
|
readonly link?: boolean | undefined;
|
|
@@ -245,9 +35,9 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
245
35
|
readonly color?: string | undefined;
|
|
246
36
|
readonly dark?: boolean | undefined;
|
|
247
37
|
readonly autoInsertSpace?: boolean | undefined;
|
|
248
|
-
readonly tag?: (string |
|
|
38
|
+
readonly tag?: (string | Component) | undefined;
|
|
249
39
|
readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
250
|
-
} &
|
|
40
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
251
41
|
$attrs: {
|
|
252
42
|
[x: string]: unknown;
|
|
253
43
|
};
|
|
@@ -255,35 +45,35 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
255
45
|
[x: string]: unknown;
|
|
256
46
|
};
|
|
257
47
|
$slots: Readonly<{
|
|
258
|
-
[name: string]:
|
|
48
|
+
[name: string]: Slot<any> | undefined;
|
|
259
49
|
}>;
|
|
260
|
-
$root:
|
|
261
|
-
$parent:
|
|
50
|
+
$root: ComponentPublicInstance | null;
|
|
51
|
+
$parent: ComponentPublicInstance | null;
|
|
262
52
|
$host: Element | null;
|
|
263
53
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
264
54
|
$el: any;
|
|
265
|
-
$options:
|
|
55
|
+
$options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
266
56
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
267
57
|
}>, {
|
|
268
|
-
ref:
|
|
269
|
-
size:
|
|
270
|
-
type:
|
|
271
|
-
disabled:
|
|
272
|
-
shouldAddSpace:
|
|
273
|
-
}, {}, {}, {},
|
|
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, {
|
|
274
64
|
click: (evt: MouseEvent) => void;
|
|
275
65
|
}, string, {
|
|
276
|
-
type:
|
|
66
|
+
type: ButtonType;
|
|
277
67
|
text: boolean;
|
|
278
68
|
disabled: boolean;
|
|
279
69
|
round: boolean;
|
|
280
70
|
dashed: boolean;
|
|
281
|
-
nativeType:
|
|
282
|
-
loadingIcon:
|
|
71
|
+
nativeType: ButtonNativeType;
|
|
72
|
+
loadingIcon: IconPropType;
|
|
283
73
|
plain: boolean;
|
|
284
74
|
autoInsertSpace: boolean;
|
|
285
|
-
tag: string |
|
|
286
|
-
}, {}, string, {},
|
|
75
|
+
tag: string | Component;
|
|
76
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
287
77
|
beforeCreate?: (() => void) | (() => void)[];
|
|
288
78
|
created?: (() => void) | (() => void)[];
|
|
289
79
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -296,33 +86,33 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
296
86
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
297
87
|
destroyed?: (() => void) | (() => void)[];
|
|
298
88
|
unmounted?: (() => void) | (() => void)[];
|
|
299
|
-
renderTracked?: ((e:
|
|
300
|
-
renderTriggered?: ((e:
|
|
301
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
302
92
|
};
|
|
303
93
|
$forceUpdate: () => void;
|
|
304
|
-
$nextTick:
|
|
305
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
306
96
|
} & Readonly<{
|
|
307
|
-
type:
|
|
97
|
+
type: ButtonType;
|
|
308
98
|
text: boolean;
|
|
309
99
|
disabled: boolean;
|
|
310
100
|
round: boolean;
|
|
311
101
|
dashed: boolean;
|
|
312
|
-
nativeType:
|
|
313
|
-
loadingIcon:
|
|
102
|
+
nativeType: ButtonNativeType;
|
|
103
|
+
loadingIcon: IconPropType;
|
|
314
104
|
plain: boolean;
|
|
315
105
|
autoInsertSpace: boolean;
|
|
316
|
-
tag: string |
|
|
317
|
-
}> & Omit<Readonly<
|
|
106
|
+
tag: string | Component;
|
|
107
|
+
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
318
108
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
319
|
-
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> &
|
|
320
|
-
ref:
|
|
321
|
-
size:
|
|
322
|
-
type:
|
|
323
|
-
disabled:
|
|
324
|
-
shouldAddSpace:
|
|
325
|
-
}> & {} &
|
|
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 & {} & {
|
|
326
116
|
$slots: {
|
|
327
117
|
loading?: (props: {}) => any;
|
|
328
118
|
} & {
|
|
@@ -331,253 +121,131 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
331
121
|
default?: (props: {}) => any;
|
|
332
122
|
};
|
|
333
123
|
}) | null;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
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<{
|
|
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<{
|
|
438
171
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
439
|
-
}>,
|
|
440
|
-
ref:
|
|
441
|
-
size:
|
|
442
|
-
type:
|
|
443
|
-
disabled:
|
|
444
|
-
shouldAddSpace:
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
|
|
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;
|
|
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;
|
|
535
182
|
text: boolean;
|
|
536
183
|
disabled: boolean;
|
|
537
184
|
round: boolean;
|
|
538
185
|
dashed: boolean;
|
|
539
|
-
nativeType:
|
|
540
|
-
loadingIcon:
|
|
186
|
+
nativeType: ButtonNativeType;
|
|
187
|
+
loadingIcon: IconPropType;
|
|
541
188
|
plain: boolean;
|
|
542
189
|
autoInsertSpace: boolean;
|
|
543
|
-
tag: string |
|
|
544
|
-
}
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
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;
|
|
572
240
|
$data: {};
|
|
573
241
|
$props: {
|
|
574
|
-
readonly size?:
|
|
242
|
+
readonly size?: ComponentSize | undefined;
|
|
575
243
|
readonly disabled?: boolean | undefined;
|
|
576
|
-
readonly type?:
|
|
577
|
-
readonly icon?:
|
|
578
|
-
readonly nativeType?:
|
|
244
|
+
readonly type?: ButtonType | undefined;
|
|
245
|
+
readonly icon?: IconPropType | undefined;
|
|
246
|
+
readonly nativeType?: ButtonNativeType | undefined;
|
|
579
247
|
readonly loading?: boolean | undefined;
|
|
580
|
-
readonly loadingIcon?:
|
|
248
|
+
readonly loadingIcon?: IconPropType | undefined;
|
|
581
249
|
readonly plain?: boolean | undefined;
|
|
582
250
|
readonly text?: boolean | undefined;
|
|
583
251
|
readonly link?: boolean | undefined;
|
|
@@ -589,9 +257,9 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
589
257
|
readonly color?: string | undefined;
|
|
590
258
|
readonly dark?: boolean | undefined;
|
|
591
259
|
readonly autoInsertSpace?: boolean | undefined;
|
|
592
|
-
readonly tag?: (string |
|
|
260
|
+
readonly tag?: (string | Component) | undefined;
|
|
593
261
|
readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
594
|
-
} &
|
|
262
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
595
263
|
$attrs: {
|
|
596
264
|
[x: string]: unknown;
|
|
597
265
|
};
|
|
@@ -599,35 +267,35 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
599
267
|
[x: string]: unknown;
|
|
600
268
|
};
|
|
601
269
|
$slots: Readonly<{
|
|
602
|
-
[name: string]:
|
|
270
|
+
[name: string]: Slot<any> | undefined;
|
|
603
271
|
}>;
|
|
604
|
-
$root:
|
|
605
|
-
$parent:
|
|
272
|
+
$root: ComponentPublicInstance | null;
|
|
273
|
+
$parent: ComponentPublicInstance | null;
|
|
606
274
|
$host: Element | null;
|
|
607
275
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
608
276
|
$el: any;
|
|
609
|
-
$options:
|
|
277
|
+
$options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
610
278
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
611
279
|
}>, {
|
|
612
|
-
ref:
|
|
613
|
-
size:
|
|
614
|
-
type:
|
|
615
|
-
disabled:
|
|
616
|
-
shouldAddSpace:
|
|
617
|
-
}, {}, {}, {},
|
|
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, {
|
|
618
286
|
click: (evt: MouseEvent) => void;
|
|
619
287
|
}, string, {
|
|
620
|
-
type:
|
|
288
|
+
type: ButtonType;
|
|
621
289
|
text: boolean;
|
|
622
290
|
disabled: boolean;
|
|
623
291
|
round: boolean;
|
|
624
292
|
dashed: boolean;
|
|
625
|
-
nativeType:
|
|
626
|
-
loadingIcon:
|
|
293
|
+
nativeType: ButtonNativeType;
|
|
294
|
+
loadingIcon: IconPropType;
|
|
627
295
|
plain: boolean;
|
|
628
296
|
autoInsertSpace: boolean;
|
|
629
|
-
tag: string |
|
|
630
|
-
}, {}, string, {},
|
|
297
|
+
tag: string | Component;
|
|
298
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
631
299
|
beforeCreate?: (() => void) | (() => void)[];
|
|
632
300
|
created?: (() => void) | (() => void)[];
|
|
633
301
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -640,33 +308,33 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
640
308
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
641
309
|
destroyed?: (() => void) | (() => void)[];
|
|
642
310
|
unmounted?: (() => void) | (() => void)[];
|
|
643
|
-
renderTracked?: ((e:
|
|
644
|
-
renderTriggered?: ((e:
|
|
645
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
646
314
|
};
|
|
647
315
|
$forceUpdate: () => void;
|
|
648
|
-
$nextTick:
|
|
649
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
650
318
|
} & Readonly<{
|
|
651
|
-
type:
|
|
319
|
+
type: ButtonType;
|
|
652
320
|
text: boolean;
|
|
653
321
|
disabled: boolean;
|
|
654
322
|
round: boolean;
|
|
655
323
|
dashed: boolean;
|
|
656
|
-
nativeType:
|
|
657
|
-
loadingIcon:
|
|
324
|
+
nativeType: ButtonNativeType;
|
|
325
|
+
loadingIcon: IconPropType;
|
|
658
326
|
plain: boolean;
|
|
659
327
|
autoInsertSpace: boolean;
|
|
660
|
-
tag: string |
|
|
661
|
-
}> & Omit<Readonly<
|
|
328
|
+
tag: string | Component;
|
|
329
|
+
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
662
330
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
663
|
-
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> &
|
|
664
|
-
ref:
|
|
665
|
-
size:
|
|
666
|
-
type:
|
|
667
|
-
disabled:
|
|
668
|
-
shouldAddSpace:
|
|
669
|
-
}> & {} &
|
|
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 & {} & {
|
|
670
338
|
$slots: {
|
|
671
339
|
loading?: (props: {}) => any;
|
|
672
340
|
} & {
|
|
@@ -674,17 +342,25 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
674
342
|
} & {
|
|
675
343
|
default?: (props: {}) => any;
|
|
676
344
|
};
|
|
677
|
-
}) | null
|
|
678
|
-
|
|
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;
|
|
679
355
|
$data: {};
|
|
680
356
|
$props: {
|
|
681
|
-
readonly size?:
|
|
357
|
+
readonly size?: ComponentSize | undefined;
|
|
682
358
|
readonly disabled?: boolean | undefined;
|
|
683
|
-
readonly type?:
|
|
684
|
-
readonly icon?:
|
|
685
|
-
readonly nativeType?:
|
|
359
|
+
readonly type?: ButtonType | undefined;
|
|
360
|
+
readonly icon?: IconPropType | undefined;
|
|
361
|
+
readonly nativeType?: ButtonNativeType | undefined;
|
|
686
362
|
readonly loading?: boolean | undefined;
|
|
687
|
-
readonly loadingIcon?:
|
|
363
|
+
readonly loadingIcon?: IconPropType | undefined;
|
|
688
364
|
readonly plain?: boolean | undefined;
|
|
689
365
|
readonly text?: boolean | undefined;
|
|
690
366
|
readonly link?: boolean | undefined;
|
|
@@ -696,9 +372,9 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
696
372
|
readonly color?: string | undefined;
|
|
697
373
|
readonly dark?: boolean | undefined;
|
|
698
374
|
readonly autoInsertSpace?: boolean | undefined;
|
|
699
|
-
readonly tag?: (string |
|
|
375
|
+
readonly tag?: (string | Component) | undefined;
|
|
700
376
|
readonly onClick?: ((evt: MouseEvent) => any) | undefined | undefined;
|
|
701
|
-
} &
|
|
377
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
702
378
|
$attrs: {
|
|
703
379
|
[x: string]: unknown;
|
|
704
380
|
};
|
|
@@ -706,35 +382,35 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
706
382
|
[x: string]: unknown;
|
|
707
383
|
};
|
|
708
384
|
$slots: Readonly<{
|
|
709
|
-
[name: string]:
|
|
385
|
+
[name: string]: Slot<any> | undefined;
|
|
710
386
|
}>;
|
|
711
|
-
$root:
|
|
712
|
-
$parent:
|
|
387
|
+
$root: ComponentPublicInstance | null;
|
|
388
|
+
$parent: ComponentPublicInstance | null;
|
|
713
389
|
$host: Element | null;
|
|
714
390
|
$emit: (event: "click", evt: MouseEvent) => void;
|
|
715
391
|
$el: any;
|
|
716
|
-
$options:
|
|
392
|
+
$options: ComponentOptionsBase<Readonly<ButtonProps> & Readonly<{
|
|
717
393
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
718
394
|
}>, {
|
|
719
|
-
ref:
|
|
720
|
-
size:
|
|
721
|
-
type:
|
|
722
|
-
disabled:
|
|
723
|
-
shouldAddSpace:
|
|
724
|
-
}, {}, {}, {},
|
|
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, {
|
|
725
401
|
click: (evt: MouseEvent) => void;
|
|
726
402
|
}, string, {
|
|
727
|
-
type:
|
|
403
|
+
type: ButtonType;
|
|
728
404
|
text: boolean;
|
|
729
405
|
disabled: boolean;
|
|
730
406
|
round: boolean;
|
|
731
407
|
dashed: boolean;
|
|
732
|
-
nativeType:
|
|
733
|
-
loadingIcon:
|
|
408
|
+
nativeType: ButtonNativeType;
|
|
409
|
+
loadingIcon: IconPropType;
|
|
734
410
|
plain: boolean;
|
|
735
411
|
autoInsertSpace: boolean;
|
|
736
|
-
tag: string |
|
|
737
|
-
}, {}, string, {},
|
|
412
|
+
tag: string | Component;
|
|
413
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
738
414
|
beforeCreate?: (() => void) | (() => void)[];
|
|
739
415
|
created?: (() => void) | (() => void)[];
|
|
740
416
|
beforeMount?: (() => void) | (() => void)[];
|
|
@@ -747,33 +423,33 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
747
423
|
beforeUnmount?: (() => void) | (() => void)[];
|
|
748
424
|
destroyed?: (() => void) | (() => void)[];
|
|
749
425
|
unmounted?: (() => void) | (() => void)[];
|
|
750
|
-
renderTracked?: ((e:
|
|
751
|
-
renderTriggered?: ((e:
|
|
752
|
-
errorCaptured?: ((err: unknown, instance:
|
|
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)[];
|
|
753
429
|
};
|
|
754
430
|
$forceUpdate: () => void;
|
|
755
|
-
$nextTick:
|
|
756
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R,
|
|
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;
|
|
757
433
|
} & Readonly<{
|
|
758
|
-
type:
|
|
434
|
+
type: ButtonType;
|
|
759
435
|
text: boolean;
|
|
760
436
|
disabled: boolean;
|
|
761
437
|
round: boolean;
|
|
762
438
|
dashed: boolean;
|
|
763
|
-
nativeType:
|
|
764
|
-
loadingIcon:
|
|
439
|
+
nativeType: ButtonNativeType;
|
|
440
|
+
loadingIcon: IconPropType;
|
|
765
441
|
plain: boolean;
|
|
766
442
|
autoInsertSpace: boolean;
|
|
767
|
-
tag: string |
|
|
768
|
-
}> & Omit<Readonly<
|
|
443
|
+
tag: string | Component;
|
|
444
|
+
}> & Omit<Readonly<ButtonProps> & Readonly<{
|
|
769
445
|
onClick?: ((evt: MouseEvent) => any) | undefined;
|
|
770
|
-
}>, "disabled" | "size" | "text" | "type" | "ref" | "nativeType" | "loadingIcon" | "plain" | "round" | "dashed" | "autoInsertSpace" | "tag" | "shouldAddSpace"> &
|
|
771
|
-
ref:
|
|
772
|
-
size:
|
|
773
|
-
type:
|
|
774
|
-
disabled:
|
|
775
|
-
shouldAddSpace:
|
|
776
|
-
}> & {} &
|
|
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 & {} & {
|
|
777
453
|
$slots: {
|
|
778
454
|
loading?: (props: {}) => any;
|
|
779
455
|
} & {
|
|
@@ -781,17 +457,12 @@ export declare const TtButton: import('../../../../utils/src').SFCWithInstall<{
|
|
|
781
457
|
} & {
|
|
782
458
|
default?: (props: {}) => any;
|
|
783
459
|
};
|
|
784
|
-
}) | null
|
|
785
|
-
},
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
}> & {
|
|
792
|
-
[key: string]: ((props?: Record<string, any>) => import('vue').VNodeChild) | undefined;
|
|
793
|
-
default?: () => import('vue').VNodeChild;
|
|
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;
|
|
794
467
|
};
|
|
795
|
-
}
|
|
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;
|
|
468
|
+
};
|