修复使用ts模式时不能按需引入组件的问题

This commit is contained in:
yangd 2019-05-07 17:14:49 +08:00
parent 9837e9af02
commit 539e96c58c
58 changed files with 92 additions and 92 deletions

2
types/affix.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Affix extends Vue { export declare class Affix extends Vue {
/** /**
* *
* @default 0 * @default 0

2
types/alert.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Alert extends Vue { export declare class Alert extends Vue {
/** /**
* infosuccesswarningerror * infosuccesswarningerror
* @default info * @default info

4
types/anchor.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Anchor extends Vue { export declare class Anchor extends Vue {
/** /**
* *
* @default true * @default true
@ -48,7 +48,7 @@ export declare interface Anchor extends Vue {
$emit(eventName: 'on-change', []): this; $emit(eventName: 'on-change', []): this;
} }
export declare interface AnchorLink extends Vue { export declare class AnchorLink extends Vue {
/** /**
* *
* @default * @default

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface AutoComplete extends Vue { export declare class AutoComplete extends Vue {
/** /**
* 使 v-model * 使 v-model
*/ */

2
types/avatar.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Avatar extends Vue { export declare class Avatar extends Vue {
/** /**
* circlesquare * circlesquare
* @default circle * @default circle

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

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface BackTop extends Vue { export declare class BackTop extends Vue {
/** /**
* BackTop组件 * BackTop组件
* @default 400 * @default 400

2
types/badge.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Badge extends Vue { export declare class Badge extends Vue {
/** /**
* overflowCount时${overflowCount}+ 0 * overflowCount时${overflowCount}+ 0
*/ */

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Breadcrumb extends Vue { export declare class Breadcrumb extends Vue {
/** /**
* *
* @default / * @default /
@ -12,7 +12,7 @@ export declare interface Breadcrumb extends Vue {
separator?: string; separator?: string;
} }
export declare interface BreadcrumbItem extends Vue { export declare class BreadcrumbItem extends Vue {
/** /**
* *
*/ */

4
types/button.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Button extends Vue { export declare class Button extends Vue {
/** /**
* defaultprimarydashedtextinfosuccesswarningerror或者不设置 * defaultprimarydashedtextinfosuccesswarningerror或者不设置
* @default default * @default default
@ -73,7 +73,7 @@ export declare interface Button extends Vue {
append?: boolean; append?: boolean;
} }
export declare interface ButtonGroup extends Vue { export declare class ButtonGroup extends Vue {
/** /**
* largesmalldefault或者不设置 * largesmalldefault或者不设置
* @default default * @default default

2
types/card.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Card extends Vue { export declare class Card extends Vue {
/** /**
* 使 * 使
* @default true * @default true

4
types/carousel.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Carousel extends Vue { export declare class Carousel extends Vue {
/** /**
* 0 使 v-model * 0 使 v-model
* @default 0 * @default 0
@ -60,6 +60,6 @@ export declare interface Carousel extends Vue {
$emit(eventName: 'on-change', oldValue: number, value: number): this; $emit(eventName: 'on-change', oldValue: number, value: number): this;
} }
export declare interface CarouselItem extends Vue { export declare class CarouselItem extends Vue {
} }

2
types/cascader.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Cascader extends Vue { export declare class Cascader extends Vue {
/** /**
* *
* @default [] * @default []

4
types/cell.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Cell extends Vue { export declare class Cell extends Vue {
/** /**
* *
*/ */
@ -77,7 +77,7 @@ export declare interface Cell extends Vue {
} }
} }
export declare interface CellGroup extends Vue { export declare class CellGroup extends Vue {
/** /**
* *
* *

4
types/checkbox.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Checkbox extends Vue { export declare class Checkbox extends Vue {
/** /**
* 使使 v-model * 使使 v-model
* @default false * @default false
@ -44,7 +44,7 @@ export declare interface Checkbox extends Vue {
$emit(eventName: 'on-change', value: boolean): this; $emit(eventName: 'on-change', value: boolean): this;
} }
export declare interface CheckboxGroup extends Vue { export declare class CheckboxGroup extends Vue {
/** /**
* 使 v-model * 使 v-model
* @default [] * @default []

2
types/circle.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Circle extends Vue { export declare class Circle extends Vue {
/** /**
* *
* @default 0 * @default 0

4
types/collapse.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Collapse extends Vue { export declare class Collapse extends Vue {
/** /**
* name使 v-model * name使 v-model
*/ */
@ -26,7 +26,7 @@ export declare interface Collapse extends Vue {
$emit(eventName: 'on-change', []): this; $emit(eventName: 'on-change', []): this;
} }
export declare interface CollapsePanel extends Vue { export declare class CollapsePanel extends Vue {
/** /**
* name Collapse的value对应 * name Collapse的value对应
* @default index的值 * @default index的值

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface ColorPicker extends Vue { export declare class ColorPicker extends Vue {
/** /**
* 使 v-model * 使 v-model
*/ */

2
types/content.d.ts vendored
View file

@ -4,5 +4,5 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Content extends Vue { export declare class Content extends Vue {
} }

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface DatePicker extends Vue { export declare class DatePicker extends Vue {
/** /**
* datedaterangedatetimedatetimerangeyearmonth'|'date * datedaterangedatetimedatetimerangeyearmonth'|'date
*/ */
@ -146,7 +146,7 @@ export declare interface DatePicker extends Vue {
}; };
} }
export declare interface DatePickerOptions { export declare class DatePickerOptions {
/** /**
* *
* text * text

2
types/divider.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Divider extends Vue { export declare class Divider extends Vue {
/** /**
* horizontal vertical * horizontal vertical
* @default horizontal * @default horizontal

2
types/drawer.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Drawer extends Vue { export declare class Drawer extends Vue {
/** /**
* 使 v-model * 使 v-model
* @default false * @default false

6
types/dropdown.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Dropdown extends Vue { export declare class Dropdown extends Vue {
/** /**
* hoverclickcontextMenucustom使 custom visible 使 * hoverclickcontextMenucustom使 custom visible 使
* @default hover * @default hover
@ -65,10 +65,10 @@ export declare interface Dropdown extends Vue {
}; };
} }
export declare interface DropdownMenu extends Vue { export declare class DropdownMenu extends Vue {
} }
export declare interface DropdownItem extends Vue { export declare class DropdownItem extends Vue {
/** /**
* *
*/ */

2
types/footer.d.ts vendored
View file

@ -4,5 +4,5 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Footer extends Vue { export declare class Footer extends Vue {
} }

4
types/form.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Form extends Vue { export declare class Form extends Vue {
/** /**
* *
*/ */
@ -46,7 +46,7 @@ export declare interface Form extends Vue {
resetFields(): void; resetFields(): void;
} }
export declare interface FormItem extends Vue { export declare class FormItem extends Vue {
/** /**
* model * model
*/ */

4
types/grid.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Row extends Vue { export declare class Row extends Vue {
/** /**
* px * px
* @default 0 * @default 0
@ -28,7 +28,7 @@ export declare interface Row extends Vue {
'class-name'?: string; 'class-name'?: string;
} }
export declare interface Col extends Vue { export declare class Col extends Vue {
/** /**
* 0~24 0 相当于display:none * 0~24 0 相当于display:none
*/ */

2
types/header.d.ts vendored
View file

@ -4,5 +4,5 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Header extends Vue { export declare class Header extends Vue {
} }

2
types/icon.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Icon extends Vue { export declare class Icon extends Vue {
/** /**
* *
*/ */

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface InputNumber extends Vue { export declare class InputNumber extends Vue {
/** /**
* Infinity * Infinity
*/ */

2
types/input.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Input extends Vue { export declare class Input extends Vue {
/** /**
* textpasswordtextareaurlemaildatenumbertel * textpasswordtextareaurlemaildatenumbertel
* @default text * @default text

2
types/layout.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Layout extends Vue { export declare class Layout extends Vue {
/** /**
* xs,sm,md,lg,xl或xxl * xs,sm,md,lg,xl或xxl
* { * {

View file

@ -6,7 +6,7 @@ import Vue from 'vue';
export const LoadingBar: LoadingBarClass; export const LoadingBar: LoadingBarClass;
export declare interface LoadingBarClass { export declare class LoadingBarClass {
/** /**
* 0 * 0
*/ */
@ -35,7 +35,7 @@ export declare interface LoadingBarClass {
destroy(): void; destroy(): void;
} }
export declare interface LoadingBarConfig { export declare class LoadingBarConfig {
/** /**
* iView * iView
* @default primary * @default primary

8
types/menu.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Menu extends Vue { export declare class Menu extends Vue {
/** /**
* horizontal vertical * horizontal vertical
* @default vertical * @default vertical
@ -52,7 +52,7 @@ export declare interface Menu extends Vue {
updateActiveName(): void; updateActiveName(): void;
} }
export declare interface MenuItem extends Vue { export declare class MenuItem extends Vue {
/** /**
* *
*/ */
@ -78,7 +78,7 @@ export declare interface MenuItem extends Vue {
append?: boolean; append?: boolean;
} }
export declare interface MenuSub extends Vue { export declare class MenuSub extends Vue {
/** /**
* *
*/ */
@ -98,7 +98,7 @@ export declare interface MenuSub extends Vue {
}; };
} }
export declare interface MenuGroup extends Vue { export declare class MenuGroup extends Vue {
/** /**
* *
* @default * @default

4
types/message.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue"; import Vue, { VNode, CreateElement } from "vue";
export declare interface Message { export declare class Message {
/** /**
* *
* @param config MessageConfig为相关配置,string为待显示的内容 * @param config MessageConfig为相关配置,string为待显示的内容
@ -41,7 +41,7 @@ export declare interface Message {
destroy(): void; destroy(): void;
} }
export declare interface MessageConfig { export declare class MessageConfig {
/** /**
* *
*/ */

6
types/modal.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue"; import Vue, { VNode, CreateElement } from "vue";
export declare interface Modal { export declare class Modal {
/** /**
* 使 v-model * 使 v-model
* @default false * @default false
@ -128,7 +128,7 @@ export declare interface Modal {
}; };
} }
export declare interface ModalInstance { export declare class ModalInstance {
/** /**
* *
* @param config ModalConfig为相关配置,string为待显示的内容 * @param config ModalConfig为相关配置,string为待显示的内容
@ -160,7 +160,7 @@ export declare interface ModalInstance {
remove(): void; remove(): void;
} }
export declare interface ModalConfig { export declare class ModalConfig {
/** /**
* Element选择器字符串 * Element选择器字符串
*/ */

6
types/notice.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue"; import Vue, { VNode, CreateElement } from "vue";
export declare interface Notice { export declare class Notice {
/** /**
* *
* @param config NoticeConfig为相关配置,string为待显示的内容 * @param config NoticeConfig为相关配置,string为待显示的内容
@ -44,7 +44,7 @@ export declare interface Notice {
destroy(): void; destroy(): void;
} }
export declare interface NoticeConfig { export declare class NoticeConfig {
/** /**
* *
*/ */
@ -72,7 +72,7 @@ export declare interface NoticeConfig {
onClose?: Function; onClose?: Function;
} }
export declare interface NoticeGlobalConfig { export declare class NoticeGlobalConfig {
/** /**
* 24 * 24
*/ */

2
types/page.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Page extends Vue { export declare class Page extends Vue {
/** /**
* .sync * .sync
* @default 1 * @default 1

2
types/poptip.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Poptip extends Vue { export declare class Poptip extends Vue {
/** /**
* hoverclickfocus, * hoverclickfocus,
* confirm click * confirm click

2
types/progress.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Progress extends Vue { export declare class Progress extends Vue {
/** /**
* *
* @default 0 * @default 0

4
types/radio.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Radio extends Vue { export declare class Radio extends Vue {
/** /**
* 使使 v-model * 使使 v-model
* @default false * @default false
@ -39,7 +39,7 @@ export declare interface Radio extends Vue {
$emit(eventName: 'on-change', arg: string | number | boolean): this; $emit(eventName: 'on-change', arg: string | number | boolean): this;
} }
export declare interface RadioGroup extends Vue { export declare class RadioGroup extends Vue {
/** /**
* 使 v-model * 使 v-model
*/ */

2
types/rate.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Rate extends Vue { export declare class Rate extends Vue {
/** /**
* star总数 * star总数
* @default 5 * @default 5

2
types/scroll.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Scroll extends Vue { export declare class Scroll extends Vue {
/** /**
* *
* @default 300 * @default 300

6
types/select.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Select extends Vue { export declare class Select extends Vue {
/** /**
* value 使 v-model * value 使 v-model
* String Number Array * String Number Array
@ -139,7 +139,7 @@ export declare interface Select extends Vue {
}; };
} }
export declare interface Option extends Vue { export declare class Option extends Vue {
/** /**
* *
*/ */
@ -157,7 +157,7 @@ export declare interface Option extends Vue {
disabled?: boolean; disabled?: boolean;
} }
export declare interface OptionGroup extends Vue { export declare class OptionGroup extends Vue {
/** /**
* *
* @default * @default

2
types/sider.d.ts vendored
View file

@ -4,5 +4,5 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Sider extends Vue { export declare class Sider extends Vue {
} }

2
types/slider.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Slider extends Vue { export declare class Slider extends Vue {
/** /**
* 使 v-model * 使 v-model
* 2, * 2,

2
types/spin.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Spin extends Vue { export declare class Spin extends Vue {
/** /**
* Spin尺寸large和small或者不设置 * Spin尺寸large和small或者不设置
*/ */

2
types/split.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Split extends Vue { export declare class Split extends Vue {
/** /**
* 0~1 v-model * 0~1 v-model
* @default 0.5 * @default 0.5

4
types/steps.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Steps extends Vue { export declare class Steps extends Vue {
/** /**
* 0 * 0
* @default 0 * @default 0
@ -26,7 +26,7 @@ export declare interface Steps extends Vue {
direction?: 'horizontal' | 'vertical'; direction?: 'horizontal' | 'vertical';
} }
export declare interface StepsStep extends Vue { export declare class StepsStep extends Vue {
/** /**
* waitprocessfinisherror * waitprocessfinisherror
* @default process * @default process

2
types/switch.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Switch extends Vue { export declare class Switch extends Vue {
/** /**
* 使 v-model * 使 v-model
* @default false * @default false

14
types/table.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue"; import Vue, { VNode, CreateElement } from "vue";
export declare interface Table extends Vue { export declare class Table extends Vue {
/** /**
* cellClassName * cellClassName
* 使 * 使
@ -210,7 +210,7 @@ export declare interface Table extends Vue {
}; };
} }
export declare interface TableColumn { export declare class TableColumn {
/** /**
* indexselectionexpandhtml * indexselectionexpandhtml
*/ */
@ -332,7 +332,7 @@ export declare interface TableColumn {
children?: object[]; children?: object[];
} }
export declare interface TableRenderCreateElementData { export declare class TableRenderCreateElementData {
/** /**
* `v-bind:class` API * `v-bind:class` API
*/ */
@ -382,7 +382,7 @@ export declare interface TableRenderCreateElementData {
ref?: string; ref?: string;
} }
export declare interface TableColumnRenderParams { export declare class TableColumnRenderParams {
/** /**
* *
*/ */
@ -397,7 +397,7 @@ export declare interface TableColumnRenderParams {
index?: number; index?: number;
} }
export declare interface TableColumnRenderHeadParams { export declare class TableColumnRenderHeadParams {
/** /**
* *
*/ */
@ -408,7 +408,7 @@ export declare interface TableColumnRenderHeadParams {
index?: number; index?: number;
} }
export declare interface TableExportCsvParams { export declare class TableExportCsvParams {
/** /**
* table.csv * table.csv
*/ */
@ -432,7 +432,7 @@ export declare interface TableExportCsvParams {
/** /**
* *
*/ */
callback?: (data?: any) => void; callback?: (data?: string) => void;
/** /**
* (,) * (,)
* @default , * @default ,

4
types/tabs.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Tabs extends Vue { export declare class Tabs extends Vue {
/** /**
* tab name使 v-model * tab name使 v-model
* @default name * @default name
@ -62,7 +62,7 @@ export declare interface Tabs extends Vue {
}; };
} }
export declare interface TabPane extends Vue { export declare class TabPane extends Vue {
/** /**
* value * value
*/ */

2
types/tag.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Tag extends Vue { export declare class Tag extends Vue {
/** /**
* *
* @default false * @default false

View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface TimePicker extends Vue { export declare class TimePicker extends Vue {
/** /**
* timetimerange * timetimerange
* @default time * @default time

2
types/time.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue from 'vue'; import Vue from 'vue';
export declare interface Time extends Vue { export declare class Time extends Vue {
/** /**
* Date * Date
*/ */

4
types/timeline.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Timeline extends Vue { export declare class Timeline extends Vue {
/** /**
* *
* @default false * @default false
@ -12,7 +12,7 @@ export declare interface Timeline extends Vue {
pending?: boolean; pending?: boolean;
} }
export declare interface TimelineItem extends Vue { export declare class TimelineItem extends Vue {
/** /**
* blueredgreen * blueredgreen
* @default blue * @default blue

2
types/tooltip.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Tooltip extends Vue { export declare class Tooltip extends Vue {
/** /**
* *
* @default * @default

2
types/transfer.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Transfer extends Vue { export declare class Transfer extends Vue {
/** /**
* targetKeys * targetKeys
* @default [] * @default []

4
types/tree.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode, CreateElement } from "vue"; import Vue, { VNode, CreateElement } from "vue";
export declare interface Tree extends Vue { export declare class Tree extends Vue {
/** /**
* tree * tree
*/ */
@ -77,7 +77,7 @@ export declare interface Tree extends Vue {
getCheckedAndIndeterminateNodes(): any[]; getCheckedAndIndeterminateNodes(): any[];
} }
export declare interface TreeChild extends Vue { export declare class TreeChild extends Vue {
/** /**
* *
*/ */

2
types/upload.d.ts vendored
View file

@ -4,7 +4,7 @@
// Definitions: https://github.com/yangdan8/iview.git // Definitions: https://github.com/yangdan8/iview.git
import Vue, { VNode } from 'vue'; import Vue, { VNode } from 'vue';
export declare interface Upload extends Vue { export declare class Upload extends Vue {
/** /**
* *
*/ */