index.d.ts
8.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
// Type definitions for iview 3.0.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, PluginFunction } from "vue";
import { Affix } from "./affix";
import { Alert } from "./alert";
import { Anchor, AnchorLink } from "./anchor";
import { AutoComplete } from "./auto-complete";
import { Avatar } from "./avatar";
import { BackTop } from "./back-top";
import { Badge } from "./badge";
import { Breadcrumb, BreadcrumbItem } from "./breadcrumb";
import { Button, ButtonGroup } from "./button";
import { Card } from "./card";
import { Carousel } from "./carousel";
import { Cascader } from "./cascader";
import { Cell, CellGroup } from "./cell";
import { Checkbox, CheckboxGroup } from "./checkbox";
import { Circle } from "./circle";
import { Collapse, CollapsePanel } from "./collapse";
import { ColorPicker } from "./color-picker";
import { DatePicker, DatePickerOptions } from "./date-picker";
import { Divider } from "./divider";
import { Dropdown, DropdownItem } from "./dropdown";
import { Form, FormItem } from "./form";
import { GridRow, GridCol } from "./grid";
import { Icon } from "./icon";
import { Input } from "./input";
import { InputNumber } from "./input-number";
import { Layout } from "./layout";
import { LoadingBarInstance, LoadingBarConfig } from "./loading-bar";
import { Menu, MenuItem, Submenu, MenuGroup } from "./menu";
import { MessageInstance, MessageConfig } from "./message";
import { Modal, ModalInstance, ModalConfig } from "./modal";
import { NoticeInstance, NoticeConfig, NoticeGlobalConfig } from "./notice";
import { Page } from "./page";
import { Poptip } from "./poptip";
import { Progress } from "./progress";
import { Radio, RadioGroup } from "./radio";
import { Rate } from "./rate";
import { Scroll } from "./scroll";
import { Select, SelectOption, SelectOptionGroup } from "./select";
import { Spin } from "./spin";
import { Split } from "./split";
import { Steps, Step } from "./steps";
import { Switch } from "./switch";
import { Table, TableColumn, TableRenderCreateElementData, TableRenderCreateElementResult, TableColumnRenderParams, TableExportCsvParams } from "./table";
import { Tabs, TabPane } from "./tabs";
import { Tag } from "./tag";
import { Time } from "./time";
import { Timeline, TimelineItem } from "./timeline";
import { TimePicker } from "./time-picker";
import { Tooltip } from "./tooltip";
import { Transfer } from "./transfer";
import { Tree, TreeChild } from "./tree";
import { Upload } from "./upload";
declare namespace IView {
type IAffix = Affix;
type IAlert = Alert;
type IAnchor = Anchor;
type IAnchorLink = AnchorLink;
type IAutoComplete = AutoComplete;
type IAvatar = Avatar;
type IBackTop = BackTop;
type IBadge = Badge;
type IBreadcrumb = Breadcrumb;
type IBreadcrumbItem = BreadcrumbItem;
type IButton = Button;
type IButtonGroup = ButtonGroup;
type ICard = Card;
type ICarousel = Carousel;
type ICascader = Cascader;
type ICell = Cell;
type ICellGroup = CellGroup;
type ICheckbox = Checkbox;
type ICheckboxGroup = CheckboxGroup;
type ICircle = Circle;
type ICollapse = Collapse;
type ICollapsePanel = CollapsePanel;
type IColorPicker = ColorPicker;
type IDatePicker = DatePicker;
type IDatePickerOptions = DatePickerOptions;
type IDivider = Divider;
type IDropdown = Dropdown;
type IDropdownItem = DropdownItem;
type IForm = Form;
type IFormItem = FormItem;
type IGridCol = GridCol;
type IGridRow = GridRow;
type IIcon = Icon;
type IInput = Input;
type IInputNumber = InputNumber;
type ILayout = Layout;
type ILoadingBarInstance = LoadingBarInstance;
type ILoadingBarConfig = LoadingBarConfig;
type IMenu = Menu;
type IMenuGroup = MenuGroup;
type IMenuItem = MenuItem;
type IMessageConfig = MessageConfig;
type IMessageInstance = MessageInstance;
type IModal = Modal;
type IModalConfig = ModalConfig;
type IModalInstance = ModalInstance;
type INoticeConfig = NoticeConfig;
type INoticeGlobalConfig = NoticeGlobalConfig;
type INoticeInstance = NoticeInstance;
type IPage = Page;
type IPoptip = Poptip;
type IProgress = Progress;
type IRadio = Radio;
type IRadioGroup = RadioGroup;
type IRate = Rate;
type IScroll = Scroll;
type ISelect = Select;
type ISelectOption = SelectOption;
type ISelectOptionGroup = SelectOptionGroup;
type ISpin = Spin;
type ISplit = Split;
type IStep = Step;
type ISteps = Steps;
type ISubmenu = Submenu;
type ISwitch = Switch;
type ITable = Table;
type ITableColumn = TableColumn;
type ITableColumnRenderParams = TableColumnRenderParams;
type ITableExportCsvParams = TableExportCsvParams;
type ITableRenderCreateElementData = TableRenderCreateElementData;
type ITableRenderCreateElementResult = TableRenderCreateElementResult;
type ITabPane = TabPane;
type ITabs = Tabs;
type ITag = Tag;
type ITime = Time;
type ITimeline = Timeline;
type ITimelineItem = TimelineItem;
type ITimePicker = TimePicker;
type ITooltip = Tooltip;
type ITransfer = Transfer;
type ITree = Tree;
type ITreeChild = TreeChild;
type IUpload = Upload;
}
declare interface IView extends PluginFunction<any> {
readonly IAffix: Affix;
readonly IAlert: Alert;
readonly IAnchor: Anchor;
readonly IAnchorLink: AnchorLink;
readonly IAutoComplete: AutoComplete;
readonly IAvatar: Avatar;
readonly IBackTop: BackTop;
readonly IBadge: Badge;
readonly IBreadcrumb: Breadcrumb;
readonly IBreadcrumbItem: BreadcrumbItem;
readonly IButton: Button;
readonly IButtonGroup: ButtonGroup;
readonly ICard: Card;
readonly ICarousel: Carousel;
readonly ICascader: Cascader;
readonly ICell: Cell;
readonly ICellGroup: CellGroup;
readonly ICheckbox: Checkbox;
readonly ICheckboxGroup: CheckboxGroup;
readonly ICircle: Circle;
readonly ICollapse: Collapse;
readonly ICollapsePanel: CollapsePanel;
readonly IColorPicker: ColorPicker;
readonly IDatePicker: DatePicker;
readonly IDatePickerOptions: DatePickerOptions;
readonly IDivider: Divider;
readonly IDropdown: Dropdown;
readonly IDropdownItem: DropdownItem;
readonly IForm: Form;
readonly IFormItem: FormItem;
readonly IGridCol: GridCol;
readonly IGridRow: GridRow;
readonly IIcon: Icon;
readonly IInput: Input;
readonly IInputNumber: InputNumber;
readonly ILayout: Layout;
readonly ILoadingBarInstance: LoadingBarInstance;
readonly ILoadingBarConfig: LoadingBarConfig;
readonly IMenu: Menu;
readonly IMenuGroup: MenuGroup;
readonly IMenuItem: MenuItem;
readonly IMessageConfig: MessageConfig;
readonly IMessageInstance: MessageInstance;
readonly IModal: Modal;
readonly IModalConfig: ModalConfig;
readonly IModalInstance: ModalInstance;
readonly INoticeConfig: NoticeConfig;
readonly INoticeGlobalConfig: NoticeGlobalConfig;
readonly INoticeInstance: NoticeInstance;
readonly IPage: Page;
readonly IPoptip: Poptip;
readonly IProgress: Progress;
readonly IRadio: Radio;
readonly IRadioGroup: RadioGroup;
readonly IRate: Rate;
readonly IScroll: Scroll;
readonly ISelect: Select;
readonly ISelectOption: SelectOption;
readonly ISelectOptionGroup: SelectOptionGroup;
readonly ISpin: Spin;
readonly ISplit: Split;
readonly IStep: Step;
readonly ISteps: Steps;
readonly ISubmenu: Submenu;
readonly ISwitch: Switch;
readonly ITable: Table;
readonly ITableColumn: TableColumn;
readonly ITableColumnRenderParams: TableColumnRenderParams;
readonly ITableExportCsvParams: TableExportCsvParams;
readonly ITableRenderCreateElementData: TableRenderCreateElementData;
readonly ITableRenderCreateElementResult: TableRenderCreateElementResult;
readonly ITabPane: TabPane;
readonly ITabs: Tabs;
readonly ITag: Tag;
readonly ITime: Time;
readonly ITimeline: Timeline;
readonly ITimelineItem: TimelineItem;
readonly ITimePicker: TimePicker;
readonly ITooltip: Tooltip;
readonly ITransfer: Transfer;
readonly ITree: Tree;
readonly ITreeChild: TreeChild;
readonly IUpload: Upload;
}
export default IView;
declare module 'iview/types/iview' {
const iView: IView;
export default iView;
}