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:
commit
0b86461fb5
60 changed files with 139 additions and 66 deletions
2
types/affix.d.ts
vendored
2
types/affix.d.ts
vendored
|
@ -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
2
types/alert.d.ts
vendored
|
@ -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
2
types/anchor.d.ts
vendored
|
@ -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/auto-complete.d.ts
vendored
6
types/auto-complete.d.ts
vendored
|
@ -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
6
types/avatar.d.ts
vendored
|
@ -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
2
types/back-top.d.ts
vendored
|
@ -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
2
types/badge.d.ts
vendored
|
@ -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/breadcrumb.d.ts
vendored
2
types/breadcrumb.d.ts
vendored
|
@ -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
2
types/button.d.ts
vendored
|
@ -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
2
types/card.d.ts
vendored
|
@ -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
2
types/carousel.d.ts
vendored
|
@ -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
2
types/cascader.d.ts
vendored
|
@ -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
2
types/cell.d.ts
vendored
|
@ -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
2
types/checkbox.d.ts
vendored
|
@ -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
2
types/circle.d.ts
vendored
|
@ -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
2
types/collapse.d.ts
vendored
|
@ -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/color-picker.d.ts
vendored
2
types/color-picker.d.ts
vendored
|
@ -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
2
types/content.d.ts
vendored
|
@ -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/date-picker.d.ts
vendored
6
types/date-picker.d.ts
vendored
|
@ -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
7
types/divider.d.ts
vendored
|
@ -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
19
types/drawer.d.ts
vendored
|
@ -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
6
types/dropdown.d.ts
vendored
|
@ -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
2
types/footer.d.ts
vendored
|
@ -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
2
types/form.d.ts
vendored
|
@ -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
2
types/grid.d.ts
vendored
|
@ -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
2
types/header.d.ts
vendored
|
@ -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
2
types/icon.d.ts
vendored
|
@ -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
2
types/index.d.ts
vendored
|
@ -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-number.d.ts
vendored
2
types/input-number.d.ts
vendored
|
@ -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
2
types/input.d.ts
vendored
|
@ -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/iview.components.d.ts
vendored
2
types/iview.components.d.ts
vendored
|
@ -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
15
types/layout.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
}更多·
|
2
types/loading-bar.d.ts
vendored
2
types/loading-bar.d.ts
vendored
|
@ -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
2
types/menu.d.ts
vendored
|
@ -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
2
types/message.d.ts
vendored
|
@ -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
2
types/modal.d.ts
vendored
|
@ -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
2
types/notice.d.ts
vendored
|
@ -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
2
types/page.d.ts
vendored
|
@ -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
2
types/poptip.d.ts
vendored
|
@ -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
6
types/progress.d.ts
vendored
|
@ -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
2
types/radio.d.ts
vendored
|
@ -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
2
types/rate.d.ts
vendored
|
@ -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
2
types/scroll.d.ts
vendored
|
@ -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
6
types/select.d.ts
vendored
|
@ -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
2
types/sider.d.ts
vendored
|
@ -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
2
types/slider.d.ts
vendored
|
@ -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
2
types/spin.d.ts
vendored
|
@ -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
2
types/split.d.ts
vendored
|
@ -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
2
types/steps.d.ts
vendored
|
@ -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
2
types/switch.d.ts
vendored
|
@ -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
18
types/table.d.ts
vendored
|
@ -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
2
types/tabs.d.ts
vendored
|
@ -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
2
types/tag.d.ts
vendored
|
@ -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/time-picker.d.ts
vendored
2
types/time-picker.d.ts
vendored
|
@ -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
|
||||
|
|
|
@ -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
2
types/timeline.d.ts
vendored
|
@ -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
2
types/tooltip.d.ts
vendored
|
@ -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
2
types/transfer.d.ts
vendored
|
@ -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
7
types/tree.d.ts
vendored
|
@ -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
7
types/upload.d.ts
vendored
|
@ -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;
|
||||
/**
|
||||
* 上传时附带的额外参数
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue