UNPKG

11.5 kBTypeScriptView Raw
1import Vue, { PluginObject } from 'vue'
2import { ElementUIComponent, ElementUIComponentSize, ElementUIHorizontalAlignment } from './component'
3
4import { ElAlert } from './alert'
5import { ElAside } from './aside'
6import { ElAutocomplete } from './autocomplete'
7import { ElBadge } from './badge'
8import { ElBreadcrumb } from './breadcrumb'
9import { ElBreadcrumbItem } from './breadcrumb-item'
10import { ElButton } from './button'
11import { ElButtonGroup } from './button-group'
12import { ElCard } from './card'
13import { ElCarousel } from './carousel'
14import { ElCarouselItem } from './carousel-item'
15import { ElCascader } from './cascader'
16import { ElCheckbox } from './checkbox'
17import { ElCheckboxButton } from './checkbox-button'
18import { ElCheckboxGroup } from './checkbox-group'
19import { ElCol } from './col'
20import { ElCollapse } from './collapse'
21import { ElCollapseItem } from './collapse-item'
22import { ElColorPicker } from './color-picker'
23import { ElContainer } from './container'
24import { ElDatePicker } from './date-picker'
25import { ElDialog } from './dialog'
26import { ElDropdown } from './dropdown'
27import { ElDropdownItem } from './dropdown-item'
28import { ElDropdownMenu } from './dropdown-menu'
29import { ElFooter } from './footer'
30import { ElForm } from './form'
31import { ElFormItem } from './form-item'
32import { ElHeader } from './header'
33import { ElInput } from './input'
34import { ElInputNumber } from './input-number'
35import { ElLoading } from './loading'
36import { ElMain } from './main'
37import { ElMenu } from './menu'
38import { ElMenuItem } from './menu-item'
39import { ElMenuItemGroup } from './menu-item-group'
40import { ElMessage } from './message'
41import { ElMessageBox } from './message-box'
42import { ElNotification } from './notification'
43import { ElOption } from './option'
44import { ElOptionGroup } from './option-group'
45import { ElPagination } from './pagination'
46import { ElPopover } from './popover'
47import { ElProgress } from './progress'
48import { ElRate } from './rate'
49import { ElRadio } from './radio'
50import { ElRadioButton } from './radio-button'
51import { ElRadioGroup } from './radio-group'
52import { ElRow } from './row'
53import { ElSelect } from './select'
54import { ElSlider } from './slider'
55import { ElStep } from './step'
56import { ElSteps } from './steps'
57import { ElSubmenu } from './submenu'
58import { ElSwitch } from './switch'
59import { ElTable } from './table'
60import { ElTableColumn } from './table-column'
61import { ElTag } from './tag'
62import { ElTabs } from './tabs'
63import { ElTabPane } from './tab-pane'
64import { ElTimeline } from './timeline'
65import { ElTimelineItem } from './timeline-item'
66import { ElTimePicker } from './time-picker'
67import { ElTimeSelect } from './time-select'
68import { ElTooltip } from './tooltip'
69import { ElTransfer } from './transfer'
70import { ElTree, TreeData } from './tree'
71import { ElUpload } from './upload'
72import { ElLink } from './link'
73import { ElDivider } from './divider'
74import { ElIcon } from './icon'
75import { ElCalendar } from './calendar'
76import { ElImage } from './image'
77import { ElBacktop } from './backtop'
78import { ElInfiniteScroll } from './infinite-scroll'
79import { ElPageHeader } from './page-header'
80import { ElAvatar } from './avatar'
81import { ElDrawer } from './drawer'
82import { ElPopconfirm } from './popconfirm'
83import { ElSkeleton } from './skeleton'
84import { ElSkeletonItem } from './skeleton-item'
85import { ElCascaderPanel } from './cascader-panel'
86import { ElEmpty } from './empty'
87import { ElSpinner } from './spinner'
88import { ElDescriptions } from './descriptions'
89import { ElDescriptionsItem } from './descriptions-item'
90import { ElResult } from './result'
91import { ElStatistic } from './statistic'
92
93export interface InstallationOptions {
94 locale: any,
95 i18n: any,
96 size: string
97}
98
99/** The version of element-ui */
100export const version: string
101
102/**
103 * Install all element-ui components into Vue.
104 * Please do not invoke this method directly.
105 * Call `Vue.use(ElementUI)` to install.
106 */
107export function install (vue: typeof Vue, options: InstallationOptions): void
108
109/** ElementUI component common definition */
110export type Component = ElementUIComponent
111
112/** Component size definition for button, input, etc */
113export type ComponentSize = ElementUIComponentSize
114
115/** Horizontal alignment */
116export type HorizontalAlignment = ElementUIHorizontalAlignment
117
118/** Show animation while loading data */
119export const Loading: ElLoading
120
121/** Used to show feedback after an activity. The difference with Notification is that the latter is often used to show a system level passive notification. */
122export const Message: ElMessage
123
124/** A set of modal boxes simulating system message box, mainly for message prompt, success tips, error messages and query information */
125export const MessageBox: ElMessageBox
126
127/** Displays a global notification message at the upper right corner of the page */
128export const Notification: ElNotification
129
130// TS cannot merge imported class with namespace, so declare subclasses instead
131
132/** Alert Component */
133export class Alert extends ElAlert {}
134
135/** Aside Component */
136export class Aside extends ElAside {}
137
138/** Autocomplete Component */
139export class Autocomplete extends ElAutocomplete {}
140
141/** Bagde Component */
142export class Badge extends ElBadge {}
143
144/** Breadcrumb Component */
145export class Breadcrumb extends ElBreadcrumb {}
146
147/** Breadcrumb Item Component */
148export class BreadcrumbItem extends ElBreadcrumbItem {}
149
150/** Button Component */
151export class Button extends ElButton {}
152
153/** Button Group Component */
154export class ButtonGroup extends ElButtonGroup {}
155
156/** Card Component */
157export class Card extends ElCard {}
158
159/** Cascader Component */
160export class Cascader extends ElCascader {}
161
162/** Carousel Component */
163export class Carousel extends ElCarousel {}
164
165/** Carousel Item Component */
166export class CarouselItem extends ElCarouselItem {}
167
168/** Checkbox Component */
169export class Checkbox extends ElCheckbox {}
170
171/** Checkbox Button Component */
172export class CheckboxButton extends ElCheckboxButton {}
173
174/** Checkbox Group Component */
175export class CheckboxGroup extends ElCheckboxGroup {}
176
177/** Colunm Layout Component */
178export class Col extends ElCol {}
179
180/** Collapse Component */
181export class Collapse extends ElCollapse {}
182
183/** Collapse Item Component */
184export class CollapseItem extends ElCollapseItem {}
185
186/** Color Picker Component */
187export class ColorPicker extends ElColorPicker {}
188
189/** Container Component */
190export class Container extends ElContainer {}
191
192/** Date Picker Component */
193export class DatePicker extends ElDatePicker {}
194
195/** Dialog Component */
196export class Dialog extends ElDialog {}
197
198/** Dropdown Component */
199export class Dropdown extends ElDropdown {}
200
201/** Dropdown Item Component */
202export class DropdownItem extends ElDropdownItem {}
203
204/** Dropdown Menu Component */
205export class DropdownMenu extends ElDropdownMenu {}
206
207/** Footer Component */
208export class Footer extends ElFooter {}
209
210/** Form Component */
211export class Form extends ElForm {}
212
213/** Form Item Component */
214export class FormItem extends ElFormItem {}
215
216/** Header Component */
217export class Header extends ElHeader {}
218
219/** Input Component */
220export class Input extends ElInput {}
221
222/** Input Number Component */
223export class InputNumber extends ElInputNumber {}
224
225/** Main Component */
226export class Main extends ElMain {}
227
228/** Menu that provides navigation for your website */
229export class Menu extends ElMenu {}
230
231/** Menu Item Component */
232export class MenuItem extends ElMenuItem {}
233
234/** Menu Item Group Component */
235export class MenuItemGroup extends ElMenuItemGroup {}
236
237/** Dropdown Select Option Component */
238export class Option extends ElOption {}
239
240/** Dropdown Select Option Group Component */
241export class OptionGroup extends ElOptionGroup {}
242
243/** Pagination Component */
244export class Pagination extends ElPagination {}
245
246/** Popover Component */
247export class Popover extends ElPopover {}
248
249/** Progress Component */
250export class Progress extends ElProgress {}
251
252/** Rate Component */
253export class Rate extends ElRate {}
254
255/** Radio Component */
256export class Radio extends ElRadio {}
257
258/** Radio Button Component */
259export class RadioButton extends ElRadioButton {}
260
261/** Radio Group Component */
262export class RadioGroup extends ElRadioGroup {}
263
264/** Row Layout Component */
265export class Row extends ElRow {}
266
267/** Dropdown Select Component */
268export class Select extends ElSelect {}
269
270/** Slider Component */
271export class Slider extends ElSlider {}
272
273/** Step Component */
274export class Step extends ElStep {}
275
276/** Steps Component */
277export class Steps extends ElSteps {}
278
279/** Submenu Component */
280export class Submenu extends ElSubmenu {}
281
282/** Switch Component */
283export class Switch extends ElSwitch {}
284
285/** Table Component */
286export class Table extends ElTable {}
287
288/** Table Column Component */
289export class TableColumn extends ElTableColumn {}
290
291/** Tabs Component */
292export class Tabs extends ElTabs {}
293
294/** Tab Pane Component */
295export class TabPane extends ElTabPane {}
296
297/** Tag Component */
298export class Tag extends ElTag {}
299
300/** Timeline Component */
301export class Timeline extends ElTimeline {}
302
303/** Timeline Item Component */
304export class TimelineItem extends ElTimelineItem {}
305
306/** TimePicker Component */
307export class TimePicker extends ElTimePicker {}
308
309/** TimeSelect Component */
310export class TimeSelect extends ElTimeSelect {}
311
312/** Tooltip Component */
313export class Tooltip extends ElTooltip {}
314
315/** Transfer Component */
316export class Transfer extends ElTransfer {}
317
318/** Tree Component */
319export class Tree<K = any, D = TreeData> extends ElTree<K, D> {}
320
321/** Upload Component */
322export class Upload extends ElUpload {}
323
324/** Divider Component */
325export class Divider extends ElDivider {}
326
327/** Link Component */
328export class Link extends ElLink {}
329
330/** Image Component */
331export class Image extends ElImage {}
332
333/** Icon Component */
334export class Icon extends ElIcon {}
335
336/** Calendar Component */
337export class Calendar extends ElCalendar {}
338
339/** Backtop Component */
340export class Backtop extends ElBacktop {}
341
342/** InfiniteScroll Directive */
343export const InfiniteScroll: PluginObject<ElInfiniteScroll>;
344
345/** PageHeader Component */
346export class PageHeader extends ElPageHeader {}
347
348/** Avatar Component */
349export class Avatar extends ElAvatar {}
350
351/** Drawer Component */
352export class Drawer extends ElDrawer {}
353
354/** Popconfirm Component */
355export class Popconfirm extends ElPopconfirm {}
356
357/** Skeleton Component */
358export class Skeleton extends ElSkeleton {}
359
360/** Skeleton Item Component */
361export class SkeletonItem extends ElSkeletonItem {}
362
363/** CascaderPanel Component */
364export class CascaderPanel extends ElCascaderPanel {}
365
366/** Empty Component */
367export class Empty extends ElEmpty {}
368
369/** Spinner Component */
370export class Spinner extends ElSpinner {}
371
372/** Description Component */
373export class Descriptions extends ElDescriptions {}
374
375/** Description Item Component */
376export class DescriptionsItem extends ElDescriptionsItem {}
377
378/** Result Component */
379export class Result extends ElResult {}
380
381/** Statistic Component */
382export class Statistic extends ElStatistic {}
\No newline at end of file