Blame view

dist/types/iview.components.d.ts 2.94 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
b1b1ea63   yangd   更新d.ts到3.1.0,修复d....
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
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
  
  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';
  export { DatePicker } from './date-picker';
  export { Divider } from './divider';
  export { Drawer } from './drawer';
  export { Dropdown, DropdownMenu, DropdownItem } from './dropdown';
  export { Footer } from './footer';
  export { Form, FormItem } from './form';
  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';
  export { LoadingBar } from './loading-bar';
  export { Menu, MenuGroup, MenuItem, MenuSub } from './menu';
  export { Message } from './message';
  export { Modal } from './modal';
  export { Notice } from './notice';
  export { Page } from './page';
  export { Poptip } from './poptip';
  export { Progress } from './progress';
  export { Radio, RadioGroup } from './radio';
  export { Rate } from './rate';
  export { Sider } from './sider';
  export { Slider } from './slider';
  export { Spin } from './spin';
  export { Steps, StepsStep } from './steps';
  export { Switch, Switch as ISwitch } from './switch';
  export { Table } from './table';
  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';
  export { Tree } from './tree';
  export { Upload } from './upload';
  export { Row, Col } from './grid';
  export { Select, Option, OptionGroup } from './select';
  
  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 {
          $IVIEW?: {
              size?: string;
              transfer?: string;
          };
      }
  }