@antsoo-lib/components 0.1.4 → 0.1.6
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/index.mjs +6360 -6412
- package/dist/index.umd.js +83 -83
- package/dist/src/_util/ActionButton.d.ts +385 -0
- package/dist/src/_util/BaseInput.d.ts +80 -0
- package/dist/src/_util/BaseInputInner.d.ts +76 -0
- package/dist/src/_util/Portal.d.ts +22 -0
- package/dist/src/_util/PortalWrapper.d.ts +42 -0
- package/dist/src/alert/index.d.ts +158 -0
- package/dist/src/auto-complete/index.d.ts +773 -0
- package/dist/src/avatar/Avatar.d.ts +88 -0
- package/dist/src/badge/Badge.d.ts +128 -0
- package/dist/src/badge/Ribbon.d.ts +43 -0
- package/dist/src/badge/ScrollNumber.d.ts +28 -0
- package/dist/src/breadcrumb/Breadcrumb.d.ts +66 -0
- package/dist/src/breadcrumb/BreadcrumbItem.d.ts +1489 -0
- package/dist/src/button/button.d.ts +115 -0
- package/dist/src/button/buttonTypes.d.ts +59 -0
- package/dist/src/card/Card.d.ts +155 -0
- package/dist/src/carousel/index.d.ts +576 -0
- package/dist/src/cascader/index.d.ts +735 -0
- package/dist/src/checkbox/Checkbox.d.ts +117 -0
- package/dist/src/checkbox/interface.d.ts +168 -0
- package/dist/src/collapse/Collapse.d.ts +133 -0
- package/dist/src/collapse/CollapsePanel.d.ts +133 -0
- package/dist/src/collapse/PanelContent.d.ts +126 -0
- package/dist/src/collapse/commonProps.d.ts +125 -0
- package/dist/src/comment/index.d.ts +81 -0
- package/dist/src/date-picker/generatePicker/index.d.ts +7404 -0
- package/dist/src/descriptions/index.d.ts +173 -0
- package/dist/src/drawer/index.d.ts +501 -0
- package/dist/src/dropdown/dropdown-button.d.ts +556 -0
- package/dist/src/dropdown/dropdown.d.ts +503 -0
- package/dist/src/dropdown/props.d.ts +465 -0
- package/dist/src/float-button/BackTop.d.ts +67 -0
- package/dist/src/float-button/FloatButton.d.ts +57 -0
- package/dist/src/float-button/FloatButtonGroup.d.ts +92 -0
- package/dist/src/float-button/interface.d.ts +108 -0
- package/dist/src/form/Form.d.ts +796 -0
- package/dist/src/form/FormItem.d.ts +192 -0
- package/dist/src/image/index.d.ts +75 -0
- package/dist/src/input/Input.d.ts +198 -0
- package/dist/src/input/Password.d.ts +222 -0
- package/dist/src/input/ResizableTextArea.d.ts +222 -0
- package/dist/src/input/Search.d.ts +199 -0
- package/dist/src/input/TextArea.d.ts +223 -0
- package/dist/src/input/inputProps.d.ts +211 -0
- package/dist/src/input-number/index.d.ts +611 -0
- package/dist/src/layout/Sider.d.ts +115 -0
- package/dist/src/layout/index.d.ts +298 -0
- package/dist/src/list/Item.d.ts +48 -0
- package/dist/src/list/ItemMeta.d.ts +27 -0
- package/dist/src/list/index.d.ts +962 -0
- package/dist/src/mentions/index.d.ts +351 -0
- package/dist/src/menu/src/ItemGroup.d.ts +31 -0
- package/dist/src/menu/src/MenuItem.d.ts +75 -0
- package/dist/src/menu/src/SubMenu.d.ts +87 -0
- package/dist/src/modal/Modal.d.ts +1026 -0
- package/dist/src/page-header/index.d.ts +456 -0
- package/dist/src/pagination/Select.d.ts +723 -0
- package/dist/src/popconfirm/index.d.ts +1105 -0
- package/dist/src/radio/Group.d.ts +123 -0
- package/dist/src/radio/Radio.d.ts +155 -0
- package/dist/src/radio/RadioButton.d.ts +107 -0
- package/dist/src/rate/Star.d.ts +76 -0
- package/dist/src/rate/index.d.ts +160 -0
- package/dist/src/result/index.d.ts +70 -0
- package/dist/src/select/index.d.ts +567 -0
- package/dist/src/slider/SliderTooltip.d.ts +144 -0
- package/dist/src/spin/Spin.d.ts +44 -0
- package/dist/src/switch/index.d.ts +220 -0
- package/dist/src/table/Table.d.ts +1162 -0
- package/dist/src/table/index.d.ts +1494 -0
- package/dist/src/tabs/src/TabNavList/OperationNode.d.ts +150 -0
- package/dist/src/tabs/src/TabNavList/index.d.ts +171 -0
- package/dist/src/tabs/src/TabPanelList/TabPane.d.ts +105 -0
- package/dist/src/tabs/src/Tabs.d.ts +305 -0
- package/dist/src/tag/index.d.ts +102 -0
- package/dist/src/timeline/Timeline.d.ts +43 -0
- package/dist/src/timeline/TimelineItem.d.ts +50 -0
- package/dist/src/tooltip/Tooltip.d.ts +233 -0
- package/dist/src/tooltip/index.d.ts +251 -0
- package/dist/src/tour/index.d.ts +1024 -0
- package/dist/src/tour/interface.d.ts +208 -0
- package/dist/src/transfer/ListBody.d.ts +81 -0
- package/dist/src/transfer/ListItem.d.ts +70 -0
- package/dist/src/transfer/index.d.ts +712 -0
- package/dist/src/transfer/list.d.ts +166 -0
- package/dist/src/tree/DirectoryTree.d.ts +799 -0
- package/dist/src/tree/Tree.d.ts +895 -0
- package/dist/src/tree/index.d.ts +1636 -0
- package/dist/src/tree-select/index.d.ts +1078 -0
- package/dist/src/vc-cascader/Cascader.d.ts +973 -0
- package/dist/src/vc-checkbox/Checkbox.d.ts +78 -0
- package/dist/src/vc-dialog/Content.d.ts +182 -0
- package/dist/src/vc-dialog/Dialog.d.ts +170 -0
- package/dist/src/vc-dialog/DialogWrap.d.ts +167 -0
- package/dist/src/vc-dialog/IDialogPropTypes.d.ts +80 -0
- package/dist/src/vc-drawer/src/DrawerChild.d.ts +165 -0
- package/dist/src/vc-drawer/src/IDrawerPropTypes.d.ts +148 -0
- package/dist/src/vc-dropdown/Dropdown.d.ts +167 -0
- package/dist/src/vc-image/src/Image.d.ts +115 -0
- package/dist/src/vc-image/src/Preview.d.ts +293 -0
- package/dist/src/vc-input/BaseInput.d.ts +99 -0
- package/dist/src/vc-input/Input.d.ts +197 -0
- package/dist/src/vc-input/inputProps.d.ts +170 -0
- package/dist/src/vc-mentions/src/Mentions.d.ts +94 -0
- package/dist/src/vc-mentions/src/mentionsProps.d.ts +127 -0
- package/dist/src/vc-overflow/Item.d.ts +35 -0
- package/dist/src/vc-overflow/Overflow.d.ts +90 -0
- package/dist/src/vc-overflow/RawItem.d.ts +46 -0
- package/dist/src/vc-pagination/Options.d.ts +62 -0
- package/dist/src/vc-pagination/Pager.d.ts +76 -0
- package/dist/src/vc-pagination/Pagination.d.ts +246 -0
- package/dist/src/vc-select/BaseSelect.d.ts +579 -0
- package/dist/src/vc-select/Select.d.ts +510 -0
- package/dist/src/vc-select/Selector/Input.d.ts +187 -0
- package/dist/src/vc-slider/src/Range.d.ts +238 -0
- package/dist/src/vc-slider/src/Slider.d.ts +238 -0
- package/dist/src/vc-slider/src/common/createSlider.d.ts +237 -0
- package/dist/src/vc-steps/Step.d.ts +164 -0
- package/dist/src/vc-steps/Steps.d.ts +154 -0
- package/dist/src/vc-tooltip/src/Content.d.ts +18 -0
- package/dist/src/vc-tooltip/src/Tooltip.d.ts +195 -0
- package/dist/src/vc-tour/Tour.d.ts +654 -0
- package/dist/src/vc-tree/MotionTreeNode.d.ts +123 -0
- package/dist/src/vc-tree/Tree.d.ts +439 -0
- package/dist/src/vc-tree/TreeNode.d.ts +115 -0
- package/dist/src/vc-tree/props.d.ts +354 -0
- package/dist/src/vc-tree-select/TreeSelect.d.ts +708 -0
- package/dist/src/vc-trigger/Trigger.d.ts +358 -0
- package/dist/src/vc-trigger/interface.d.ts +208 -0
- package/dist/src/vc-virtual-list/List.d.ts +107 -0
- package/package.json +7 -7
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
import { CSSProperties, ExtractPropTypes, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { MouseEventHandler } from '../../_util/EventInterface';
|
|
3
|
+
import { CustomSlotsType, Key } from '../../_util/type';
|
|
4
|
+
import { SizeType } from '../../config-provider';
|
|
5
|
+
import { AnimatedConfig, OnTabScroll, RenderTabBar, TabPosition, TabsLocale } from './interface';
|
|
6
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
7
|
+
export type TabsType = 'line' | 'card' | 'editable-card';
|
|
8
|
+
export type TabsPosition = 'top' | 'right' | 'bottom' | 'left';
|
|
9
|
+
export declare const tabsProps: () => {
|
|
10
|
+
prefixCls: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
};
|
|
13
|
+
id: {
|
|
14
|
+
type: StringConstructor;
|
|
15
|
+
};
|
|
16
|
+
popupClassName: StringConstructor;
|
|
17
|
+
getPopupContainer: {
|
|
18
|
+
type: PropType<((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined>;
|
|
19
|
+
default: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
20
|
+
};
|
|
21
|
+
activeKey: {
|
|
22
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
23
|
+
};
|
|
24
|
+
defaultActiveKey: {
|
|
25
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
26
|
+
};
|
|
27
|
+
direction: {
|
|
28
|
+
type: PropType<"ltr" | "rtl">;
|
|
29
|
+
default: "ltr" | "rtl";
|
|
30
|
+
};
|
|
31
|
+
animated: {
|
|
32
|
+
type: PropType<boolean | AnimatedConfig>;
|
|
33
|
+
default: boolean | AnimatedConfig;
|
|
34
|
+
};
|
|
35
|
+
renderTabBar: {
|
|
36
|
+
type: PropType<RenderTabBar>;
|
|
37
|
+
default: RenderTabBar;
|
|
38
|
+
};
|
|
39
|
+
tabBarGutter: {
|
|
40
|
+
type: NumberConstructor;
|
|
41
|
+
};
|
|
42
|
+
tabBarStyle: {
|
|
43
|
+
type: PropType<CSSProperties>;
|
|
44
|
+
default: CSSProperties;
|
|
45
|
+
};
|
|
46
|
+
tabPosition: {
|
|
47
|
+
type: PropType<TabPosition>;
|
|
48
|
+
default: TabPosition;
|
|
49
|
+
};
|
|
50
|
+
destroyInactiveTabPane: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
hideAdd: BooleanConstructor;
|
|
55
|
+
type: {
|
|
56
|
+
type: PropType<TabsType>;
|
|
57
|
+
default: TabsType;
|
|
58
|
+
};
|
|
59
|
+
size: {
|
|
60
|
+
type: PropType<SizeType>;
|
|
61
|
+
default: SizeType;
|
|
62
|
+
};
|
|
63
|
+
centered: BooleanConstructor;
|
|
64
|
+
onEdit: {
|
|
65
|
+
type: PropType<(e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void>;
|
|
66
|
+
default: (e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void;
|
|
67
|
+
};
|
|
68
|
+
onChange: {
|
|
69
|
+
type: PropType<(activeKey: Key) => void>;
|
|
70
|
+
default: (activeKey: Key) => void;
|
|
71
|
+
};
|
|
72
|
+
onTabClick: {
|
|
73
|
+
type: PropType<(activeKey: Key, e: KeyboardEvent | MouseEvent) => void>;
|
|
74
|
+
default: (activeKey: Key, e: KeyboardEvent | MouseEvent) => void;
|
|
75
|
+
};
|
|
76
|
+
onTabScroll: {
|
|
77
|
+
type: PropType<OnTabScroll>;
|
|
78
|
+
default: OnTabScroll;
|
|
79
|
+
};
|
|
80
|
+
'onUpdate:activeKey': {
|
|
81
|
+
type: PropType<(activeKey: Key) => void>;
|
|
82
|
+
default: (activeKey: Key) => void;
|
|
83
|
+
};
|
|
84
|
+
locale: {
|
|
85
|
+
type: PropType<TabsLocale>;
|
|
86
|
+
default: TabsLocale;
|
|
87
|
+
};
|
|
88
|
+
onPrevClick: {
|
|
89
|
+
type: PropType<MouseEventHandler>;
|
|
90
|
+
default: MouseEventHandler;
|
|
91
|
+
};
|
|
92
|
+
onNextClick: {
|
|
93
|
+
type: PropType<MouseEventHandler>;
|
|
94
|
+
default: MouseEventHandler;
|
|
95
|
+
};
|
|
96
|
+
tabBarExtraContent: VueTypeValidableDef<any>;
|
|
97
|
+
};
|
|
98
|
+
export type TabsProps = Partial<ExtractPropTypes<ReturnType<typeof tabsProps>>>;
|
|
99
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
100
|
+
prefixCls: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
};
|
|
103
|
+
id: {
|
|
104
|
+
type: StringConstructor;
|
|
105
|
+
};
|
|
106
|
+
popupClassName: StringConstructor;
|
|
107
|
+
getPopupContainer: {
|
|
108
|
+
type: PropType<((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined>;
|
|
109
|
+
default: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
110
|
+
};
|
|
111
|
+
activeKey: {
|
|
112
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
113
|
+
};
|
|
114
|
+
defaultActiveKey: {
|
|
115
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
116
|
+
};
|
|
117
|
+
direction: {
|
|
118
|
+
type: PropType<"ltr" | "rtl">;
|
|
119
|
+
default: "ltr" | "rtl";
|
|
120
|
+
};
|
|
121
|
+
animated: {
|
|
122
|
+
type: PropType<boolean | AnimatedConfig>;
|
|
123
|
+
default: boolean | AnimatedConfig;
|
|
124
|
+
};
|
|
125
|
+
renderTabBar: {
|
|
126
|
+
type: PropType<RenderTabBar>;
|
|
127
|
+
default: RenderTabBar;
|
|
128
|
+
};
|
|
129
|
+
tabBarGutter: {
|
|
130
|
+
type: NumberConstructor;
|
|
131
|
+
};
|
|
132
|
+
tabBarStyle: {
|
|
133
|
+
type: PropType<CSSProperties>;
|
|
134
|
+
default: CSSProperties;
|
|
135
|
+
};
|
|
136
|
+
tabPosition: {
|
|
137
|
+
type: PropType<TabPosition>;
|
|
138
|
+
default: TabPosition;
|
|
139
|
+
};
|
|
140
|
+
destroyInactiveTabPane: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
default: boolean;
|
|
143
|
+
};
|
|
144
|
+
hideAdd: BooleanConstructor;
|
|
145
|
+
type: {
|
|
146
|
+
type: PropType<TabsType>;
|
|
147
|
+
default: TabsType;
|
|
148
|
+
};
|
|
149
|
+
size: {
|
|
150
|
+
type: PropType<SizeType>;
|
|
151
|
+
default: SizeType;
|
|
152
|
+
};
|
|
153
|
+
centered: BooleanConstructor;
|
|
154
|
+
onEdit: {
|
|
155
|
+
type: PropType<(e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void>;
|
|
156
|
+
default: (e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void;
|
|
157
|
+
};
|
|
158
|
+
onChange: {
|
|
159
|
+
type: PropType<(activeKey: Key) => void>;
|
|
160
|
+
default: (activeKey: Key) => void;
|
|
161
|
+
};
|
|
162
|
+
onTabClick: {
|
|
163
|
+
type: PropType<(activeKey: Key, e: KeyboardEvent | MouseEvent) => void>;
|
|
164
|
+
default: (activeKey: Key, e: KeyboardEvent | MouseEvent) => void;
|
|
165
|
+
};
|
|
166
|
+
onTabScroll: {
|
|
167
|
+
type: PropType<OnTabScroll>;
|
|
168
|
+
default: OnTabScroll;
|
|
169
|
+
};
|
|
170
|
+
'onUpdate:activeKey': {
|
|
171
|
+
type: PropType<(activeKey: Key) => void>;
|
|
172
|
+
default: (activeKey: Key) => void;
|
|
173
|
+
};
|
|
174
|
+
locale: {
|
|
175
|
+
type: PropType<TabsLocale>;
|
|
176
|
+
default: TabsLocale;
|
|
177
|
+
};
|
|
178
|
+
onPrevClick: {
|
|
179
|
+
type: PropType<MouseEventHandler>;
|
|
180
|
+
default: MouseEventHandler;
|
|
181
|
+
};
|
|
182
|
+
onNextClick: {
|
|
183
|
+
type: PropType<MouseEventHandler>;
|
|
184
|
+
default: MouseEventHandler;
|
|
185
|
+
};
|
|
186
|
+
tabBarExtraContent: VueTypeValidableDef<any>;
|
|
187
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
188
|
+
prefixCls: {
|
|
189
|
+
type: StringConstructor;
|
|
190
|
+
};
|
|
191
|
+
id: {
|
|
192
|
+
type: StringConstructor;
|
|
193
|
+
};
|
|
194
|
+
popupClassName: StringConstructor;
|
|
195
|
+
getPopupContainer: {
|
|
196
|
+
type: PropType<((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined>;
|
|
197
|
+
default: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
198
|
+
};
|
|
199
|
+
activeKey: {
|
|
200
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
201
|
+
};
|
|
202
|
+
defaultActiveKey: {
|
|
203
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
204
|
+
};
|
|
205
|
+
direction: {
|
|
206
|
+
type: PropType<"ltr" | "rtl">;
|
|
207
|
+
default: "ltr" | "rtl";
|
|
208
|
+
};
|
|
209
|
+
animated: {
|
|
210
|
+
type: PropType<boolean | AnimatedConfig>;
|
|
211
|
+
default: boolean | AnimatedConfig;
|
|
212
|
+
};
|
|
213
|
+
renderTabBar: {
|
|
214
|
+
type: PropType<RenderTabBar>;
|
|
215
|
+
default: RenderTabBar;
|
|
216
|
+
};
|
|
217
|
+
tabBarGutter: {
|
|
218
|
+
type: NumberConstructor;
|
|
219
|
+
};
|
|
220
|
+
tabBarStyle: {
|
|
221
|
+
type: PropType<CSSProperties>;
|
|
222
|
+
default: CSSProperties;
|
|
223
|
+
};
|
|
224
|
+
tabPosition: {
|
|
225
|
+
type: PropType<TabPosition>;
|
|
226
|
+
default: TabPosition;
|
|
227
|
+
};
|
|
228
|
+
destroyInactiveTabPane: {
|
|
229
|
+
type: BooleanConstructor;
|
|
230
|
+
default: boolean;
|
|
231
|
+
};
|
|
232
|
+
hideAdd: BooleanConstructor;
|
|
233
|
+
type: {
|
|
234
|
+
type: PropType<TabsType>;
|
|
235
|
+
default: TabsType;
|
|
236
|
+
};
|
|
237
|
+
size: {
|
|
238
|
+
type: PropType<SizeType>;
|
|
239
|
+
default: SizeType;
|
|
240
|
+
};
|
|
241
|
+
centered: BooleanConstructor;
|
|
242
|
+
onEdit: {
|
|
243
|
+
type: PropType<(e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void>;
|
|
244
|
+
default: (e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void;
|
|
245
|
+
};
|
|
246
|
+
onChange: {
|
|
247
|
+
type: PropType<(activeKey: Key) => void>;
|
|
248
|
+
default: (activeKey: Key) => void;
|
|
249
|
+
};
|
|
250
|
+
onTabClick: {
|
|
251
|
+
type: PropType<(activeKey: Key, e: KeyboardEvent | MouseEvent) => void>;
|
|
252
|
+
default: (activeKey: Key, e: KeyboardEvent | MouseEvent) => void;
|
|
253
|
+
};
|
|
254
|
+
onTabScroll: {
|
|
255
|
+
type: PropType<OnTabScroll>;
|
|
256
|
+
default: OnTabScroll;
|
|
257
|
+
};
|
|
258
|
+
'onUpdate:activeKey': {
|
|
259
|
+
type: PropType<(activeKey: Key) => void>;
|
|
260
|
+
default: (activeKey: Key) => void;
|
|
261
|
+
};
|
|
262
|
+
locale: {
|
|
263
|
+
type: PropType<TabsLocale>;
|
|
264
|
+
default: TabsLocale;
|
|
265
|
+
};
|
|
266
|
+
onPrevClick: {
|
|
267
|
+
type: PropType<MouseEventHandler>;
|
|
268
|
+
default: MouseEventHandler;
|
|
269
|
+
};
|
|
270
|
+
onNextClick: {
|
|
271
|
+
type: PropType<MouseEventHandler>;
|
|
272
|
+
default: MouseEventHandler;
|
|
273
|
+
};
|
|
274
|
+
tabBarExtraContent: VueTypeValidableDef<any>;
|
|
275
|
+
}>> & Readonly<{}>, {
|
|
276
|
+
size: SizeType;
|
|
277
|
+
type: TabsType;
|
|
278
|
+
direction: "ltr" | "rtl";
|
|
279
|
+
onChange: (activeKey: Key) => void;
|
|
280
|
+
locale: TabsLocale;
|
|
281
|
+
getPopupContainer: ((triggerNode?: HTMLElement | undefined) => HTMLElement) | undefined;
|
|
282
|
+
'onUpdate:activeKey': (activeKey: Key) => void;
|
|
283
|
+
animated: boolean | AnimatedConfig;
|
|
284
|
+
destroyInactiveTabPane: boolean;
|
|
285
|
+
onTabClick: (activeKey: Key, e: KeyboardEvent | MouseEvent) => void;
|
|
286
|
+
tabPosition: TabPosition;
|
|
287
|
+
renderTabBar: RenderTabBar;
|
|
288
|
+
onTabScroll: OnTabScroll;
|
|
289
|
+
tabBarStyle: CSSProperties;
|
|
290
|
+
hideAdd: boolean;
|
|
291
|
+
centered: boolean;
|
|
292
|
+
onEdit: (e: MouseEvent | KeyboardEvent | Key, action: "add" | "remove") => void;
|
|
293
|
+
onPrevClick: MouseEventHandler;
|
|
294
|
+
onNextClick: MouseEventHandler;
|
|
295
|
+
}, CustomSlotsType<{
|
|
296
|
+
tabBarExtraContent?: any;
|
|
297
|
+
leftExtra?: any;
|
|
298
|
+
rightExtra?: any;
|
|
299
|
+
moreIcon?: any;
|
|
300
|
+
addIcon?: any;
|
|
301
|
+
removeIcon?: any;
|
|
302
|
+
renderTabBar?: any;
|
|
303
|
+
default?: any;
|
|
304
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
305
|
+
export default _default;
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { ExtractPropTypes, HTMLAttributes, Plugin, PropType, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { PresetColorType, PresetStatusColorType } from '../_util/colors';
|
|
3
|
+
import { CustomSlotsType, LiteralUnion, VueNode } from '../_util/type';
|
|
4
|
+
import { default as CheckableTag } from './CheckableTag';
|
|
5
|
+
import { VueTypeValidableDef } from 'vue-types';
|
|
6
|
+
export declare const tagProps: () => {
|
|
7
|
+
prefixCls: StringConstructor;
|
|
8
|
+
color: {
|
|
9
|
+
type: PropType<LiteralUnion<PresetColorType | PresetStatusColorType>>;
|
|
10
|
+
};
|
|
11
|
+
closable: {
|
|
12
|
+
type: BooleanConstructor;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
closeIcon: VueTypeValidableDef<any>;
|
|
16
|
+
/** @deprecated `visible` will be removed in next major version. */
|
|
17
|
+
visible: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: undefined;
|
|
20
|
+
};
|
|
21
|
+
onClose: {
|
|
22
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
23
|
+
};
|
|
24
|
+
onClick: {
|
|
25
|
+
type: PropType<((e: MouseEvent) => void) | ((e: MouseEvent) => void)[]>;
|
|
26
|
+
};
|
|
27
|
+
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
28
|
+
icon: VueTypeValidableDef<any>;
|
|
29
|
+
bordered: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
export type TagProps = HTMLAttributes & Partial<ExtractPropTypes<ReturnType<typeof tagProps>>>;
|
|
35
|
+
declare const Tag: DefineComponent<ExtractPropTypes<{
|
|
36
|
+
prefixCls: StringConstructor;
|
|
37
|
+
color: {
|
|
38
|
+
type: PropType<LiteralUnion<PresetColorType | PresetStatusColorType>>;
|
|
39
|
+
};
|
|
40
|
+
closable: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
closeIcon: VueTypeValidableDef<any>;
|
|
45
|
+
/** @deprecated `visible` will be removed in next major version. */
|
|
46
|
+
visible: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: undefined;
|
|
49
|
+
};
|
|
50
|
+
onClose: {
|
|
51
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
52
|
+
};
|
|
53
|
+
onClick: {
|
|
54
|
+
type: PropType<((e: MouseEvent) => void) | ((e: MouseEvent) => void)[]>;
|
|
55
|
+
};
|
|
56
|
+
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
57
|
+
icon: VueTypeValidableDef<any>;
|
|
58
|
+
bordered: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
63
|
+
prefixCls: StringConstructor;
|
|
64
|
+
color: {
|
|
65
|
+
type: PropType<LiteralUnion<PresetColorType | PresetStatusColorType>>;
|
|
66
|
+
};
|
|
67
|
+
closable: {
|
|
68
|
+
type: BooleanConstructor;
|
|
69
|
+
default: boolean;
|
|
70
|
+
};
|
|
71
|
+
closeIcon: VueTypeValidableDef<any>;
|
|
72
|
+
/** @deprecated `visible` will be removed in next major version. */
|
|
73
|
+
visible: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: undefined;
|
|
76
|
+
};
|
|
77
|
+
onClose: {
|
|
78
|
+
type: PropType<(e: MouseEvent) => void>;
|
|
79
|
+
};
|
|
80
|
+
onClick: {
|
|
81
|
+
type: PropType<((e: MouseEvent) => void) | ((e: MouseEvent) => void)[]>;
|
|
82
|
+
};
|
|
83
|
+
'onUpdate:visible': PropType<(vis: boolean) => void>;
|
|
84
|
+
icon: VueTypeValidableDef<any>;
|
|
85
|
+
bordered: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>> & Readonly<{}>, {
|
|
90
|
+
visible: boolean;
|
|
91
|
+
closable: boolean;
|
|
92
|
+
bordered: boolean;
|
|
93
|
+
}, CustomSlotsType<{
|
|
94
|
+
closeIcon: any;
|
|
95
|
+
icon: any;
|
|
96
|
+
default: any;
|
|
97
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
98
|
+
export { CheckableTag };
|
|
99
|
+
declare const _default: typeof Tag & Plugin & {
|
|
100
|
+
readonly CheckableTag: typeof CheckableTag;
|
|
101
|
+
};
|
|
102
|
+
export default _default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ExtractPropTypes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { CustomSlotsType, VueNode } from '../_util/type';
|
|
3
|
+
import { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
4
|
+
export declare const timelineProps: () => {
|
|
5
|
+
prefixCls: StringConstructor;
|
|
6
|
+
/** 指定最后一个幽灵节点是否存在或内容 */
|
|
7
|
+
pending: VueTypeValidableDef<any>;
|
|
8
|
+
pendingDot: VueTypeValidableDef<any>;
|
|
9
|
+
reverse: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
mode: VueTypeDef<string>;
|
|
14
|
+
};
|
|
15
|
+
export type TimelineProps = Partial<ExtractPropTypes<ReturnType<typeof timelineProps>>>;
|
|
16
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
17
|
+
prefixCls: StringConstructor;
|
|
18
|
+
/** 指定最后一个幽灵节点是否存在或内容 */
|
|
19
|
+
pending: VueTypeValidableDef<any>;
|
|
20
|
+
pendingDot: VueTypeValidableDef<any>;
|
|
21
|
+
reverse: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
mode: VueTypeDef<string>;
|
|
26
|
+
}>, () => VueNode, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
27
|
+
prefixCls: StringConstructor;
|
|
28
|
+
/** 指定最后一个幽灵节点是否存在或内容 */
|
|
29
|
+
pending: VueTypeValidableDef<any>;
|
|
30
|
+
pendingDot: VueTypeValidableDef<any>;
|
|
31
|
+
reverse: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
default: boolean;
|
|
34
|
+
};
|
|
35
|
+
mode: VueTypeDef<string>;
|
|
36
|
+
}>> & Readonly<{}>, {
|
|
37
|
+
reverse: boolean;
|
|
38
|
+
}, CustomSlotsType<{
|
|
39
|
+
pending?: any;
|
|
40
|
+
pendingDot?: any;
|
|
41
|
+
default?: any;
|
|
42
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ExtractPropTypes, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { CustomSlotsType } from '../_util/type';
|
|
3
|
+
import { VueTypeValidableDef, VueTypeDef } from 'vue-types';
|
|
4
|
+
export declare const timelineItemProps: () => {
|
|
5
|
+
prefixCls: StringConstructor;
|
|
6
|
+
color: StringConstructor;
|
|
7
|
+
dot: VueTypeValidableDef<any>;
|
|
8
|
+
pending: {
|
|
9
|
+
type: BooleanConstructor;
|
|
10
|
+
default: boolean;
|
|
11
|
+
};
|
|
12
|
+
position: VueTypeDef<string> & {
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
label: VueTypeValidableDef<any>;
|
|
16
|
+
};
|
|
17
|
+
export type TimelineItemProps = Partial<ExtractPropTypes<ReturnType<typeof timelineItemProps>>>;
|
|
18
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
19
|
+
prefixCls: StringConstructor;
|
|
20
|
+
color: StringConstructor;
|
|
21
|
+
dot: VueTypeValidableDef<any>;
|
|
22
|
+
pending: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
position: VueTypeDef<string> & {
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
label: VueTypeValidableDef<any>;
|
|
30
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes<{
|
|
31
|
+
prefixCls: StringConstructor;
|
|
32
|
+
color: StringConstructor;
|
|
33
|
+
dot: VueTypeValidableDef<any>;
|
|
34
|
+
pending: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
position: VueTypeDef<string> & {
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
label: VueTypeValidableDef<any>;
|
|
42
|
+
}>> & Readonly<{}>, {
|
|
43
|
+
position: string;
|
|
44
|
+
pending: boolean;
|
|
45
|
+
}, CustomSlotsType<{
|
|
46
|
+
dot?: any;
|
|
47
|
+
label?: any;
|
|
48
|
+
default?: any;
|
|
49
|
+
}>, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export default _default;
|