File tree 24 files changed +122
-32
lines changed
24 files changed +122
-32
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { AnchorLink } from './anchor-link' ;
7
7
8
8
export declare class Anchor extends AntdComponent {
9
- static Link : AnchorLink ;
9
+ static Link : typeof AnchorLink ;
10
10
11
11
/**
12
12
* Fixed mode of Anchor
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { ButtonGroup } from './button-group' ;
7
7
8
8
export declare class Button extends AntdComponent {
9
- Group : ButtonGroup ;
9
+ static Group : typeof ButtonGroup ;
10
10
11
11
/**
12
12
* can be set to primary ghost dashed danger(added in 2.7) or omitted (meaning default)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Meta } from './meta';
7
7
8
8
export declare class Card extends AntdComponent {
9
9
static Grid : any ;
10
- static Meta : Meta ;
10
+ static Meta : typeof Meta ;
11
11
12
12
/**
13
13
* The action list, shows at the bottom of the Card.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { CheckboxGroup } from './checkbox-group' ;
7
7
8
8
export declare class Checkbox extends AntdComponent {
9
- static Group : CheckboxGroup ;
9
+ static Group : typeof CheckboxGroup ;
10
10
11
11
/**
12
12
* get focus when component mounted
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { CollapsePanel } from './collapse-panel' ;
7
7
8
8
export declare class Collapse extends AntdComponent {
9
- static Panel : CollapsePanel ;
9
+ static Panel : typeof CollapsePanel ;
10
10
11
11
/**
12
12
* If true, Collapse renders as Accordion
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import { MonthPicker } from './month-picker';
9
9
import { WeekPicker } from './week-picker' ;
10
10
11
11
export declare class DatePicker extends DatepickerCommon {
12
- RangePicker : RangePicker ;
13
- MonthPicker : MonthPicker ;
14
- WeekPickerker : WeekPicker ;
12
+ static RangePicker : typeof RangePicker ;
13
+ static MonthPicker : typeof MonthPicker ;
14
+ static WeekPickerker : typeof WeekPicker ;
15
15
16
16
/**
17
17
* Defualt Value
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import { Menu } from '../menu/menu';
7
7
import { DropdownButton } from './dropdown-button' ;
8
8
9
9
export declare class Dropdown extends AntdComponent {
10
- static Button : DropdownButton ;
10
+ static Button : typeof DropdownButton ;
11
11
12
12
/**
13
13
* the trigger mode which executes the drop-down action
Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ export interface IformCreateOption {
319
319
}
320
320
321
321
export declare class Form extends AntdComponent {
322
- static Item : FormItem ;
322
+ static Item : typeof FormItem ;
323
323
static create : ( options : IformCreateOption ) => ( WrapedComponent : any ) => any ;
324
324
325
325
/**
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ import { InputSearch } from './input-search';
8
8
import { TextArea } from './textarea' ;
9
9
10
10
export declare class Input extends AntdComponent {
11
- static Group : InputGroup ;
12
- static Search : InputSearch ;
13
- static TextArea : TextArea ;
11
+ static Group : typeof InputGroup ;
12
+ static Search : typeof InputSearch ;
13
+ static TextArea : typeof TextArea ;
14
14
15
15
/**
16
16
* The label text displayed after (on the right side of) the input field.
Original file line number Diff line number Diff line change
1
+ // Project: https://github.com/vueComponent/ant-design-vue
2
+ // Definitions by: Pythonfo <https://github.com/Pythonfo>
3
+ // Copy from: akki-jat <https://github.com/akki-jat>
4
+ // Definitions: https://github.com/vueComponent/ant-design-vue/types
5
+
6
+ import { AntdComponent } from '../component' ;
7
+
8
+ export default class LayoutContent extends AntdComponent {
9
+
10
+ /**
11
+ * container className
12
+ * @default undefined
13
+ * @type string
14
+ */
15
+ class : string ;
16
+
17
+ /**
18
+ * to customize the styles
19
+ * @type string | object
20
+ */
21
+ style : string | object ;
22
+
23
+ /**
24
+ * whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
25
+ * @type boolean
26
+ */
27
+ hasSider : boolean ;
28
+ }
Original file line number Diff line number Diff line change
1
+ // Project: https://github.com/vueComponent/ant-design-vue
2
+ // Definitions by: Pythonfo <https://github.com/Pythonfo>
3
+ // Copy from: akki-jat <https://github.com/akki-jat>
4
+ // Definitions: https://github.com/vueComponent/ant-design-vue/types
5
+
6
+ import { AntdComponent } from '../component' ;
7
+
8
+ export default class LayoutFooter extends AntdComponent {
9
+
10
+ /**
11
+ * container className
12
+ * @default undefined
13
+ * @type string
14
+ */
15
+ class : string ;
16
+
17
+ /**
18
+ * to customize the styles
19
+ * @type string | object
20
+ */
21
+ style : string | object ;
22
+
23
+ /**
24
+ * whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
25
+ * @type boolean
26
+ */
27
+ hasSider : boolean ;
28
+ }
Original file line number Diff line number Diff line change
1
+ // Project: https://github.com/vueComponent/ant-design-vue
2
+ // Definitions by: Pythonfo <https://github.com/Pythonfo>
3
+ // Copy from: akki-jat <https://github.com/akki-jat>
4
+ // Definitions: https://github.com/vueComponent/ant-design-vue/types
5
+
6
+ import { AntdComponent } from '../component' ;
7
+
8
+ export default class LayoutHeader extends AntdComponent {
9
+
10
+ /**
11
+ * container className
12
+ * @default undefined
13
+ * @type string
14
+ */
15
+ class : string ;
16
+
17
+ /**
18
+ * to customize the styles
19
+ * @type string | object
20
+ */
21
+ style : string | object ;
22
+
23
+ /**
24
+ * whether contain Sider in children, don't have to assign it normally. Useful in ssr avoid style flickering
25
+ * @type boolean
26
+ */
27
+ hasSider : boolean ;
28
+ }
Original file line number Diff line number Diff line change 4
4
5
5
import { AntdComponent } from '../component' ;
6
6
import { LayoutSider } from './layout-sider' ;
7
+ import LayoutHeader from './layout-header' ;
8
+ import LayoutContent from './layout-content' ;
9
+ import LayoutFooter from './layout-footer' ;
7
10
8
11
export declare class Layout extends AntdComponent {
9
- static Sider : LayoutSider ;
12
+ static Header : typeof LayoutHeader ;
13
+ static Content : typeof LayoutContent ;
14
+ static Footer : typeof LayoutFooter ;
15
+ static Sider : typeof LayoutSider ;
10
16
11
17
/**
12
18
* container className
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ export declare class PaginationConfig extends Pagination {
14
14
}
15
15
16
16
export class List extends AntdComponent {
17
- static Item : ListItem ;
17
+ static Item : typeof ListItem ;
18
18
19
19
/**
20
20
* Toggles rendering of the border around the list
Original file line number Diff line number Diff line change @@ -9,10 +9,10 @@ import { MenuItemGroup } from './menu-item-group';
9
9
import { Divider } from '../divider' ;
10
10
11
11
export declare class Menu extends AntdComponent {
12
- static Item : MenuItem ;
13
- static SubMenu : SubMenu ;
14
- static ItemGroup : MenuItemGroup ;
15
- static Divider : Divider ;
12
+ static Item : typeof MenuItem ;
13
+ static SubMenu : typeof SubMenu ;
14
+ static ItemGroup : typeof MenuItemGroup ;
15
+ static Divider : typeof Divider ;
16
16
17
17
/**
18
18
* Allow selection of multiple items
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { RadioGroup } from './radio-group';
7
7
import { RadioButton } from './radio-button' ;
8
8
9
9
export declare class Radio extends AntdComponent {
10
- static Group : RadioGroup ;
11
- static Button : RadioButton ;
10
+ static Group : typeof RadioGroup ;
11
+ static Button : typeof RadioButton ;
12
12
13
13
/**
14
14
* get focus when component mounted
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import { OptionGroup } from './option-group';
8
8
import { VNode } from 'vue' ;
9
9
10
10
export declare class Select extends AntdComponent {
11
- static Option : Option ;
12
- static OptGroup : OptionGroup ;
11
+ static Option : typeof Option ;
12
+ static OptGroup : typeof OptionGroup ;
13
13
14
14
/**
15
15
* Show clear button.
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { Step } from './step' ;
7
7
8
8
export declare class Steps extends AntdComponent {
9
- static Step : Step ;
9
+ static Step : typeof Step ;
10
10
11
11
/**
12
12
* to set the current step, counting from 0. You can overwrite this state by using status of Step
Original file line number Diff line number Diff line change @@ -116,8 +116,8 @@ export interface TableRowSelection {
116
116
}
117
117
118
118
export declare class Table extends AntdComponent {
119
- static Column : Column ;
120
- static ColumnGroup : ColumnGroup ;
119
+ static Column : typeof Column ;
120
+ static ColumnGroup : typeof ColumnGroup ;
121
121
122
122
/**
123
123
* Whether to show all table borders
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { TabPane } from './tab-pane' ;
7
7
8
8
export declare class Tabs extends AntdComponent {
9
- static TabPane : TabPane ;
9
+ static TabPane : typeof TabPane ;
10
10
11
11
/**
12
12
* Current TabPane's key
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { CheckableTag } from './checkable-tag' ;
7
7
8
8
export declare class Tag extends AntdComponent {
9
- static CheckableTag : CheckableTag ;
9
+ static CheckableTag : typeof CheckableTag ;
10
10
11
11
/**
12
12
* Callback executed when close animation is completed
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import { AntdComponent } from '../component';
6
6
import { TimelineItem } from './timeline-item' ;
7
7
8
8
export declare class Timeline extends AntdComponent {
9
- static Item : TimelineItem ;
9
+ static Item : typeof TimelineItem ;
10
10
11
11
/**
12
12
* Set the last ghost node's existence or its content
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export interface TreeData {
16
16
}
17
17
18
18
export declare class TreeSelect extends AntdComponent {
19
- static TreeNode : TreeNode ;
19
+ static TreeNode : typeof TreeNode ;
20
20
21
21
/**
22
22
* Whether allow clear
Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ import { TreeNode } from '../tree-node';
7
7
import { DictionaryTree } from './dictionary-tree' ;
8
8
9
9
export declare class Tree extends AntdComponent {
10
- static TreeNode : TreeNode ;
11
- static DirectoryTree : DictionaryTree ;
10
+ static TreeNode : typeof TreeNode ;
11
+ static DirectoryTree : typeof DictionaryTree ;
12
12
13
13
/**
14
14
* treeNode of tree
You can’t perform that action at this time.
0 commit comments