File tree 15 files changed +39
-14
lines changed
15 files changed +39
-14
lines changed Original file line number Diff line number Diff line change 1
1
// Project: https://github.com/vueComponent/ant-design-vue
2
2
// Definitions by: akki-jat <https://github.com/akki-jat>
3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
- export declare class BreadcrumbItem {
4
+ import { AntdComponent , AntdProps } from '../component' ;
5
+ export declare class BreadcrumbItem extends AntdComponent {
5
6
$props : AntdProps & {
6
7
/**
7
8
* add navigation
Original file line number Diff line number Diff line change 2
2
// Definitions by: akki-jat <https://github.com/akki-jat>
3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
4
5
- export declare class CheckboxGroup {
5
+ import { AntdComponent , AntdProps } from '../component' ;
6
+ export declare class CheckboxGroup extends AntdComponent {
6
7
$props : AntdProps & {
7
8
/**
8
9
* Default selected value
Original file line number Diff line number Diff line change @@ -28,5 +28,5 @@ export interface LayoutContentProps {
28
28
}
29
29
30
30
export default class LayoutContent extends AntdComponent {
31
- $props : LayoutContentProps ;
31
+ $props : AntdProps & LayoutContentProps ;
32
32
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ export interface LayoutFooterProps {
15
15
}
16
16
17
17
export default class LayoutFooter extends AntdComponent {
18
- $props : LayoutFooterProps ;
18
+ $props : AntdProps & LayoutFooterProps ;
19
19
}
Original file line number Diff line number Diff line change @@ -15,5 +15,5 @@ export interface LayoutHeaderProps {
15
15
}
16
16
17
17
export default class LayoutHeader extends AntdComponent {
18
- $props : LayoutHeaderProps ;
18
+ $props : AntdProps & LayoutHeaderProps ;
19
19
}
Original file line number Diff line number Diff line change @@ -68,5 +68,5 @@ export interface LayoutSiderProps {
68
68
}
69
69
70
70
export declare class LayoutSider extends AntdComponent {
71
- $props : LayoutSiderProps ;
71
+ $props : AntdProps & LayoutSiderProps ;
72
72
}
Original file line number Diff line number Diff line change @@ -23,5 +23,5 @@ export declare class Layout extends AntdComponent {
23
23
static Footer : typeof LayoutFooter ;
24
24
static Sider : typeof LayoutSider ;
25
25
26
- $props : LayoutProps ;
26
+ $props : AntdProps & LayoutProps ;
27
27
}
Original file line number Diff line number Diff line change
1
+ // Project: https://github.com/vueComponent/ant-design-vue
2
+ // Definitions by: akki-jat <https://github.com/akki-jat>
3
+ // Definitions: https://github.com/vueComponent/ant-design-vue/types
4
+
5
+ export interface ModalLocale {
6
+ okText : string ;
7
+ cancelText : string ;
8
+ justOkText : string ;
9
+ }
10
+ export interface Locale {
11
+ locale : string ;
12
+ Pagination ?: Object ;
13
+ DatePicker ?: Object ;
14
+ TimePicker ?: Object ;
15
+ Calendar ?: Object ;
16
+ Table ?: Object ;
17
+ Modal ?: ModalLocale ;
18
+ Popconfirm ?: Object ;
19
+ Transfer ?: Object ;
20
+ Select ?: Object ;
21
+ Upload ?: Object ;
22
+ }
Original file line number Diff line number Diff line change 3
3
// Definitions: https://github.com/vueComponent/ant-design-vue/types
4
4
5
5
import { VNodeChild } from 'vue' ;
6
+ import { AntdComponent , AntdProps } from './component' ;
6
7
7
- export declare class Meta {
8
+ export declare class Meta extends AntdComponent {
8
9
$props : AntdProps & {
9
10
/**
10
11
* The avatar of list item
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export declare class RadioProps {
42
42
export declare class Radio extends AntdComponent {
43
43
static Group : typeof RadioGroup ;
44
44
static Button : typeof RadioButton ;
45
- $props : RadioProps ;
45
+ $props : AntdProps & RadioProps ;
46
46
/**
47
47
* remove focus
48
48
*/
Original file line number Diff line number Diff line change @@ -51,5 +51,5 @@ export declare class Spin extends AntdComponent {
51
51
* @param param0 indicator
52
52
*/
53
53
static setDefaultIndicator ( { indicator } : { indicator : any } ) : void ;
54
- $props : SpinProps ;
54
+ $props : AntdProps & SpinProps ;
55
55
}
Original file line number Diff line number Diff line change @@ -203,5 +203,5 @@ export interface ColumnProps<T> {
203
203
}
204
204
205
205
export declare class Column < T > extends AntdComponent {
206
- $props : ColumnProps < T > ;
206
+ $props : AntdProps & ColumnProps < T > ;
207
207
}
Original file line number Diff line number Diff line change @@ -14,5 +14,5 @@ interface DictionaryTreeProps extends TreeProps {
14
14
expandAction ?: string | boolean ;
15
15
}
16
16
export declare class DictionaryTree extends AntdComponent {
17
- $props : DictionaryTreeProps ;
17
+ $props : AntdProps & DictionaryTreeProps ;
18
18
}
Original file line number Diff line number Diff line change @@ -271,5 +271,5 @@ export declare class Tree extends AntdComponent {
271
271
static TreeNode : typeof TreeNode ;
272
272
static DirectoryTree : typeof DictionaryTree ;
273
273
274
- $props : TreeProps ;
274
+ $props : AntdProps & TreeProps ;
275
275
}
You can’t perform that action at this time.
0 commit comments