Blame view

dist/types/iview.components.d.ts 3.21 KB
b1b1ea63   yangd   更新d.ts到3.1.0,修复d....
1
  // Type definitions for iview 3.1.0
a3a90be7   梁灏   update
2
3
4
  // Project: https://github.com/iview/iview
  // Definitions by: yangdan
  // Definitions: https://github.com/yangdan8/iview.git
506a0578   梁灏   release 3.1.0-rc.1
5
  import Vue, { VNode } from 'vue';
a3a90be7   梁灏   update
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
  
  export { Affix } from './affix';
  export { Alert } from './alert';
  export { Anchor, AnchorLink } from './anchor';
  export { AutoComplete } from './auto-complete';
  export { Avatar } from './avatar';
  export { BackTop } from './back-top';
  export { Badge } from './badge';
  export { Breadcrumb, BreadcrumbItem } from './breadcrumb';
  export { Button, ButtonGroup } from './button';
  export { Card } from './card';
  export { Carousel, CarouselItem } from './carousel';
  export { Cascader } from './cascader';
  export { Cell, CellGroup } from './cell';
  export { Checkbox, CheckboxGroup } from './checkbox';
  export { Circle, Circle as ICircle } from './circle';
  export { Collapse, CollapsePanel } from './collapse';
  export { ColorPicker } from './color-picker';
  export { Content } from './content';
506a0578   梁灏   release 3.1.0-rc.1
25
  export { DatePicker, DatePickerOptions } from './date-picker';
a3a90be7   梁灏   update
26
27
28
29
30
  export { Divider } from './divider';
  export { Drawer } from './drawer';
  export { Dropdown, DropdownMenu, DropdownItem } from './dropdown';
  export { Footer } from './footer';
  export { Form, FormItem } from './form';
506a0578   梁灏   release 3.1.0-rc.1
31
  export { Row, Col } from './grid';
a3a90be7   梁灏   update
32
33
34
35
36
37
38
  export { Header } from './header';
  export { Icon } from './icon';
  export { Input } from './input';
  export { InputNumber } from './input-number';
  export { Scroll } from './scroll';
  export { Split } from './split';
  export { Layout } from './layout';
506a0578   梁灏   release 3.1.0-rc.1
39
  export { LoadingBar, LoadingBarConfig } from './loading-bar';
a3a90be7   梁灏   update
40
  export { Menu, MenuGroup, MenuItem, MenuSub } from './menu';
506a0578   梁灏   release 3.1.0-rc.1
41
42
43
  export { Message, MessageConfig } from './message';
  export { Modal, ModalInstance, ModalConfig } from './modal';
  export { Notice, NoticeConfig, NoticeGlobalConfig } from './notice';
a3a90be7   梁灏   update
44
45
46
47
48
  export { Page } from './page';
  export { Poptip } from './poptip';
  export { Progress } from './progress';
  export { Radio, RadioGroup } from './radio';
  export { Rate } from './rate';
506a0578   梁灏   release 3.1.0-rc.1
49
  export { Select, Option, OptionGroup } from './select';
a3a90be7   梁灏   update
50
51
52
53
54
  export { Sider } from './sider';
  export { Slider } from './slider';
  export { Spin } from './spin';
  export { Steps, StepsStep } from './steps';
  export { Switch, Switch as ISwitch } from './switch';
506a0578   梁灏   release 3.1.0-rc.1
55
  export { Table, TableColumn, TableRenderCreateElementData, TableColumnRenderParams, TableRenderCreateElementResult, TableColumnRenderHeadParams, TableExportCsvParams } from './table';
a3a90be7   梁灏   update
56
57
58
59
60
61
62
  export { Tabs, TabsPane } from './tabs';
  export { Tag } from './tag';
  export { Time } from './time';
  export { Timeline, TimelineItem } from './timeline';
  export { TimePicker } from './time-picker';
  export { Tooltip } from './tooltip';
  export { Transfer } from './transfer';
506a0578   梁灏   release 3.1.0-rc.1
63
  export { Tree, TreeChild } from './tree';
a3a90be7   梁灏   update
64
  export { Upload } from './upload';
a3a90be7   梁灏   update
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
  
  declare const API: {
      version: string;
      locale: (l) => void;
      i18n: (fn) => void;
      install: (
          Vue: Vue,
          opts: {
              locale?: any;
              i18n?: any;
              size?: any;
              transfer?: any;
          }
      ) => void;
      lang: (code: string) => void;
  };
  
  export default API;
  
  declare module 'vue/types/vue' {
      interface Vue {
1ca38a84   梁灏   release 3.1.0-rc.2
86
          $IVIEW: {
a3a90be7   梁灏   update
87
88
89
90
91
              size?: string;
              transfer?: string;
          };
      }
  }