Blame view

types/iview.components.d.ts 3.18 KB
b1b1ea63   yangd   更新d.ts到3.1.0,修复d....
1
  // Type definitions for iview 3.1.0
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
2
3
4
  // Project: https://github.com/iview/iview
  // Definitions by: yangdan
  // Definitions: https://github.com/yangdan8/iview.git
99ddff9a   yangd   删除无用的导入VNode
5
  import Vue from 'vue';
414730dd   yangd   完成d.ts定义的优化
6
  
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
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';
4a2af4f5   yangd   1.将class定义方式修改为in...
25
  export { DatePicker, DatePickerOptions } from './date-picker';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
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';
4a2af4f5   yangd   1.将class定义方式修改为in...
31
  export { Row, Col } from './grid';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
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';
4a2af4f5   yangd   1.将class定义方式修改为in...
39
  export { LoadingBar, LoadingBarConfig } from './loading-bar';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
40
  export { Menu, MenuGroup, MenuItem, MenuSub } from './menu';
4a2af4f5   yangd   1.将class定义方式修改为in...
41
42
43
  export { Message, MessageConfig } from './message';
  export { Modal, ModalInstance, ModalConfig } from './modal';
  export { Notice, NoticeConfig, NoticeGlobalConfig } from './notice';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
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';
4a2af4f5   yangd   1.将class定义方式修改为in...
49
  export { Select, Option, OptionGroup } from './select';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
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';
a5722e45   yangd   修正table中render函数返回类型
55
  export { Table, TableColumn, TableRenderCreateElementData, TableColumnRenderParams, TableColumnRenderHeadParams, TableExportCsvParams } from './table';
35713410   Rookie_Zoe   some *.d.ts error
56
  export { Tabs, TabPane } from './tabs';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
57
58
59
60
61
62
  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';
4a2af4f5   yangd   1.将class定义方式修改为in...
63
  export { Tree, TreeChild } from './tree';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
64
  export { Upload } from './upload';
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
65
66
67
  
  declare const API: {
      version: string;
c1b06093   yangdan8   修复webpack打包过程中报an...
68
69
      locale: (l:any) => void;
      i18n: (fn:any) => void;
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
      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 {
bd8374ae   yangd   将部分全局$打头的属性或组件改为非...
86
          $IVIEW: {
6d9afa9c   yangd   修改d.ts中的类名,并添加全局方...
87
88
89
90
91
              size?: string;
              transfer?: string;
          };
      }
  }