forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~YOUKI/fineui:master to master * commit '6cd55160b5e1b23ab906a13752f863a918eebd5f': KERNEL-6465 refactor: 补充类型 KERNEL-6465 refactor: 补充类型es6
Youki
4 years ago
9 changed files with 164 additions and 4 deletions
@ -0,0 +1,6 @@
|
||||
import { ButtonGroup } from './group.button'; |
||||
|
||||
export declare class ButtonTree extends ButtonGroup { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,22 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class CustomTree extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
|
||||
initTree(nodes: any, ...args: any[]): void; |
||||
|
||||
stroke(...args: any[]): void; |
||||
|
||||
populate(nodes: any, ...args: any[]): void; |
||||
|
||||
getAllButtons<T>(): T[]; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getNodeById(id: any): any; |
||||
|
||||
getNodeByValue(value: any): any; |
||||
|
||||
getValue<T>(): T[]; |
||||
} |
@ -0,0 +1,9 @@
|
||||
import { NodeButton } from '../../../base/single/button/button.node'; |
||||
|
||||
export declare class IconArrowNode extends NodeButton { |
||||
static xtype: string; |
||||
|
||||
doRedMark(...args: any[]): void; |
||||
|
||||
unRedMark(...args: any[]): void; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { BasicButton } from '../../../base/single/button/button.basic'; |
||||
|
||||
export declare class FirstTreeLeafItem extends BasicButton { |
||||
static xtype: string; |
||||
|
||||
doRedMark(...args: any[]): void; |
||||
|
||||
unRedMark(...args: any[]): void; |
||||
|
||||
doHighLight(...args: any[]): void; |
||||
|
||||
unHighLight(...args: any[]): void; |
||||
|
||||
getId(): string; |
||||
|
||||
getPId(): string; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { BasicButton } from '../../../base/single/button/button.basic'; |
||||
|
||||
export declare class LastTreeLeafItem extends BasicButton { |
||||
static xtype: string; |
||||
|
||||
doRedMark(...args: any[]): void; |
||||
|
||||
unRedMark(...args: any[]): void; |
||||
|
||||
doHighLight(...args: any[]): void; |
||||
|
||||
unHighLight(...args: any[]): void; |
||||
|
||||
getId(): string; |
||||
|
||||
getPId(): string; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { BasicButton } from '../../../base/single/button/button.basic'; |
||||
|
||||
export declare class MidTreeLeafItem extends BasicButton { |
||||
static xtype: string; |
||||
|
||||
doRedMark(...args: any[]): void; |
||||
|
||||
unRedMark(...args: any[]): void; |
||||
|
||||
doHighLight(...args: any[]): void; |
||||
|
||||
unHighLight(...args: any[]): void; |
||||
|
||||
getId(): string; |
||||
|
||||
getPId(): string; |
||||
} |
Loading…
Reference in new issue