forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~TELLER/fineui:bugfix to master * commit '45154aba318588df7dd96d567b5439da78796524': refactor: 更新描述 refactor: 完善描述es6
Teller
4 years ago
10 changed files with 226 additions and 3 deletions
@ -0,0 +1,5 @@
|
||||
import { Text } from "../single/text"; |
||||
|
||||
export declare class A extends Text { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,29 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class Loader extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
|
||||
setNotSelectedValue(...args: any[]): void; |
||||
|
||||
getNotSelectedValue<T>(): T; |
||||
|
||||
getAllButtons<T>(): T[]; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getSelectedButtons<T>(): T[]; |
||||
|
||||
getNotSelectedButtons<T>(): T[]; |
||||
|
||||
getIndexByValue(value: any): number; |
||||
|
||||
getNodeById(id: any): any; |
||||
|
||||
getNodeByValue(value: any): any; |
||||
|
||||
getValue<T>(): T[]; |
||||
} |
@ -0,0 +1,36 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class Switcher extends Widget { |
||||
static xtype: string; |
||||
static EVENT_EXPAND: string; |
||||
static EVENT_COLLAPSE: string; |
||||
static EVENT_TRIGGER_CHANGE: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_AFTER_INIT: string; |
||||
static EVENT_BEFORE_POPUPVIEW: string; |
||||
static EVENT_AFTER_POPUPVIEW: string; |
||||
static EVENT_BEFORE_HIDEVIEW: string; |
||||
static EVENT_AFTER_HIDEVIEW: string; |
||||
|
||||
populate(...args: any[]): void; |
||||
|
||||
setAdapter(adapter: any): void; |
||||
|
||||
isViewVisible(): boolean; |
||||
|
||||
isExpanded(): boolean; |
||||
|
||||
showView(): void; |
||||
|
||||
hideView(): void; |
||||
|
||||
getView<T>(): T; |
||||
|
||||
adjustView(): void; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getNodeById<T>(id: string): T | undefined; |
||||
|
||||
getNodeByValue<T>(value: any): T | undefined; |
||||
} |
@ -0,0 +1,15 @@
|
||||
import { Single } from "../single"; |
||||
|
||||
export declare class Html extends Single { |
||||
static xtype: string; |
||||
|
||||
doHighLight(): void; |
||||
|
||||
unHighLight(): void; |
||||
|
||||
setValue(v: string): void; |
||||
|
||||
setStyle(css: {[key: string]: string | number}): void; |
||||
|
||||
setText(v: string): void; |
||||
} |
@ -0,0 +1,39 @@
|
||||
import { Pane } from "../../base/pane"; |
||||
|
||||
export declare class ListPane extends Pane { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
hasPrev(): boolean; |
||||
|
||||
hasNext(): boolean; |
||||
|
||||
prependItems<T>(items: T[]): void |
||||
|
||||
addItems<T>(items: T[]): void; |
||||
|
||||
removeItemAt(indexes: number): void; |
||||
|
||||
populate<T>(items?: T[]): void; |
||||
|
||||
setNotSelectedValue(v: any): void; |
||||
|
||||
getNotSelectedValue<T>(): T[]; |
||||
|
||||
setEnabledValue(v: any): void; |
||||
|
||||
getAllButtons<T>(): T[]; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getSelectedButtons<T>(): T[]; |
||||
|
||||
getNotSelectedButtons<T>(): T[]; |
||||
|
||||
getIndexByValue(value: any): number; |
||||
|
||||
getNodeById<T>(id: any): T; |
||||
|
||||
getNodeByValue<T>(value: any): T; |
||||
} |
@ -0,0 +1,45 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class SelectList extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
setAllSelected(v: boolean): void; |
||||
|
||||
setToolBarVisible(v: boolean): void; |
||||
|
||||
isAllSelected(): boolean; |
||||
|
||||
hasPrev(): boolean; |
||||
|
||||
hasNext(): boolean; |
||||
|
||||
prependItems<T>(items: T[]): void; |
||||
|
||||
addItems<T>(items: T[]): void; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
|
||||
resetHeight(h: number): void; |
||||
|
||||
setNotSelectedValue(v: any): void; |
||||
|
||||
getNotSelectedValue<T>(): T[]; |
||||
|
||||
setEnabledValue(v: any): void; |
||||
|
||||
getAllButtons<T>(): T[]; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getSelectedButtons<T>(): T[]; |
||||
|
||||
getNotSelectedButtons<T>(): T[]; |
||||
|
||||
getIndexByValue(value: any): number; |
||||
|
||||
getNodeById<T>(id: any): T; |
||||
|
||||
getNodeByValue<T>(value: any): T; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { BasicButton } from "../../base/single/button/button.basic"; |
||||
|
||||
export declare class MultiSelectBar extends BasicButton { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
setHalfSelected(v: boolean): void; |
||||
|
||||
isHalfSelected(): boolean; |
||||
|
||||
setValue<T>(selectedValues: T[]): void; |
||||
} |
Loading…
Reference in new issue