Merge pull request #5406 from yangdan8/2.0_更新d.ts到3.3.0

2.0 更新d.ts到3.3.0
This commit is contained in:
Aresn 2019-03-15 11:33:34 +08:00 committed by GitHub
commit 0b86461fb5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
60 changed files with 139 additions and 66 deletions

2
types/affix.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/alert.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/anchor.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -72,4 +72,8 @@ export declare interface AutoComplete extends Vue {
*
*/
$emit(eventName: 'on-blur', event: KeyboardEvent): this;
/**
*
*/
$emit(eventName: 'on-clear'): this;
}

6
types/avatar.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -27,4 +27,8 @@ export declare interface Avatar extends Vue {
*
*/
'custom-icon'?: string;
/**
* src
*/
$emit(eventName: 'on-error', event: Event): this;
}

2
types/back-top.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/badge.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/button.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/card.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/carousel.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/cascader.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/cell.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/checkbox.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/circle.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/collapse.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/content.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -111,6 +111,10 @@ export declare interface DatePicker extends Vue {
* @default {}
*/
'time-picker-options'?: object;
/**
*
*/
'separator'?: string;
/**
* 2016-01-01
*/

7
types/divider.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -20,4 +20,9 @@ export declare interface Divider extends Vue {
* @default false
*/
dashed?: boolean;
/**
* small default
* @default default
*/
size?: string;
}

19
types/drawer.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -67,6 +67,15 @@ export declare interface Drawer extends Vue {
* @default false
*/
'inner'?: boolean;
/**
*
* @default false
*/
'draggable'?: boolean;
/**
* Promise
*/
'before-close'?: () => void | PromiseConstructor;
/**
*
*/
@ -75,6 +84,10 @@ export declare interface Drawer extends Vue {
*
*/
$emit(eventName: 'on-visible-change', value: boolean): this;
/**
*
*/
$emit(eventName: 'on-resize-width'): number;
/**
* slot插槽对象
*/
@ -91,5 +104,9 @@ export declare interface Drawer extends Vue {
*
*/
close: VNode[];
/**
*
*/
trigger: VNode[];
};
}

6
types/dropdown.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -28,6 +28,10 @@ export declare interface Dropdown extends Vue {
* @default false
*/
transfer?: boolean;
/**
* transfer class
*/
'transfer-class-name'?: string;
/**
*
*

2
types/footer.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/form.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/grid.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/header.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/icon.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/index.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/input.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

15
types/layout.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -8,11 +8,12 @@ export declare interface Layout extends Vue {
/**
* xs,sm,md,lg,xl或xxl
* {
* xs?: '480px',
* sm?: '768px',
* md?: '992px',
* lg?: '1200px',
* xl?: '1600px'
* xs: '480px',
* sm: '576px',
* md: '768px',
* lg: '992px',
* xl: '1200px',
* xxl: '1600px'
* }
*/
breakpoint?: string;
@ -69,4 +70,4 @@ export declare interface Layout extends Vue {
* methods, Sider展开-
*/
toggleCollapse(): void;
}
}·

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/menu.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/message.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/modal.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/notice.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/page.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/poptip.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

6
types/progress.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -35,6 +35,10 @@ export declare interface Progress extends Vue {
* @default 0
*/
'success-percent'?: number;
/**
*
*/
'stroke-color'?: string;
/**
* slot插槽对象
*/

2
types/radio.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/rate.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/scroll.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

6
types/select.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -88,6 +88,10 @@ export declare interface Select extends Vue {
* id Form
*/
'element-id'?: string;
/**
* transfer class
*/
'transfer-class-name'?: string;
/**
* Option变化时触发 value label label-in-value
*/

2
types/sider.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/slider.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/spin.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/split.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/steps.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/switch.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

18
types/table.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -75,6 +75,16 @@ export declare interface Table extends Vue {
* @default
*/
"no-filtered-data-text"?: string;
/**
* @on-drag-drop 使
* @default false
*/
"draggable"?: boolean;
/**
* 使 tooltip dark light
* @default dark
*/
"tooltip-theme"?: string;
/**
* highlight-row
* currentRow
@ -154,6 +164,12 @@ export declare interface Table extends Vue {
* status
*/
$emit(eventName: "on-expand", row: object, status: string): this;
/**
*
* index1
* index2
*/
$emit(eventName: "on-drag-drop", index1: number, index2: number): this;
/**
*
*/

2
types/tabs.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/tag.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/timeline.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/tooltip.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

2
types/transfer.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

7
types/tree.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -43,6 +43,11 @@ export declare interface Tree extends Vue {
* @default false
*/
"check-strictly"?: boolean;
/**
* show-checkbox select check
* @default false
*/
"check-directly"?: boolean;
/**
*
* @default

7
types/upload.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.1.0
// Type definitions for iview 3.3.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
@ -24,6 +24,11 @@ export declare interface Upload extends Vue {
* @default false
*/
paste?: boolean;
/**
*
* @default false
*/
disabled?: boolean;
/**
*
*/