更新d.ts到3.1.0,修复d.ts的bug

This commit is contained in:
yangd 2018-08-31 18:04:17 +08:00
parent 39e56aa20f
commit b1b1ea6387
149 changed files with 861 additions and 687 deletions

2
types/affix.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.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.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git

4
types/anchor.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Anchor extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class AutoComplete extends Vue {
/**

4
types/avatar.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Avatar extends Vue {
/**

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

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class BackTop extends Vue {
/**

4
types/badge.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Badge extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Breadcrumb extends Vue {
/**

4
types/button.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Button extends Vue {
/**

4
types/card.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Card extends Vue {
/**

4
types/carousel.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Carousel extends Vue {
/**

4
types/cascader.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Cascader extends Vue {
/**

4
types/cell.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Cell extends Vue {
/**

4
types/checkbox.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Checkbox extends Vue {
/**

4
types/circle.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Circle extends Vue {
/**

4
types/collapse.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Collapse extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class ColorPicker extends Vue {
/**

4
types/content.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Content extends Vue {
}

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class DatePicker extends Vue {
/**

4
types/divider.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Divider extends Vue {
/**

93
types/drawer.d.ts vendored
View file

@ -1,8 +1,95 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue, { VNode } from 'vue';
export declare class Drawer extends Vue {
}
/**
* 使 v-model
* @default false
*/
value?: boolean;
/**
* 使 slot title
* @default center
*/
title?: string;
/**
* 100 100
* @default 256
*/
width?: number | string;
/**
*
* @default true
*/
closable?: boolean;
/**
*
* @default true
*/
'mask-closable'?: boolean;
/**
*
* @default true
*/
mask?: boolean;
/**
*
*/
'mask-style'?: object;
/**
*
*/
styles?: object;
/**
*
* @default false
*/
scrollable?: boolean;
/**
* left right
* @default right
*/
placement?: 'left' | 'right';
/**
*
* @default true
*/
transfer?: boolean;
/**
*
*/
'class-name'?: string;
/**
* transfer
* @default false
*/
'inner'?: boolean;
/**
*
*/
$emit(eventName: 'on-close'): this;
/**
*
*/
$emit(eventName: 'on-visible-change', value: boolean): this;
/**
* slot插槽对象
*/
$slots: {
/**
*
*/
'': VNode[];
/**
*
*/
header: VNode[];
/**
*
*/
close: VNode[];
};
}

4
types/dropdown.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Dropdown extends Vue {
/**

4
types/footer.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Footer extends Vue {
}

4
types/form.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Form extends Vue {
/**

4
types/grid.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Row extends Vue {
/**

4
types/header.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Header extends Vue {
}

4
types/icon.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Icon extends Vue {
/**

2
types/index.d.ts vendored
View file

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

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class InputNumber extends Vue {
/**

4
types/input.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Input extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export { Affix } from './affix';
export { Alert } from './alert';

4
types/layout.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Layout extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class LoadingBar {
/**

4
types/menu.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Menu extends Vue {
/**

2
types/message.d.ts vendored
View file

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

4
types/modal.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Modal {
/**

2
types/notice.d.ts vendored
View file

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

4
types/page.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Page extends Vue {
/**

4
types/poptip.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Poptip extends Vue {
/**

4
types/progress.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Progress extends Vue {
/**

4
types/radio.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Radio extends Vue {
/**

4
types/rate.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Rate extends Vue {
/**

4
types/scroll.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Scroll extends Vue {
/**

4
types/select.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Select extends Vue {
/**

4
types/sider.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Sider extends Vue {
}

4
types/slider.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Slider extends Vue {
/**

4
types/spin.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Spin extends Vue {
/**

4
types/split.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Split extends Vue {
/**

4
types/steps.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Steps extends Vue {
/**

4
types/switch.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Switch extends Vue {
/**

4
types/table.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Table extends Vue {
/**

4
types/tabs.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Tabs extends Vue {
/**

4
types/tag.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Tag extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class TimePicker extends Vue {
/**

View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Time extends Vue {
/**

4
types/timeline.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Timeline extends Vue {
/**

4
types/tooltip.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Tooltip extends Vue {
/**

4
types/transfer.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Transfer extends Vue {
/**

4
types/tree.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Tree extends Vue {
/**

4
types/upload.d.ts vendored
View file

@ -1,8 +1,8 @@
// Type definitions for iview 3.0.1
// Type definitions for iview 3.1.0
// Project: https://github.com/iview/iview
// Definitions by: yangdan
// Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue';
import Vue,{ VNode } from 'vue';
export declare class Upload extends Vue {
/**