forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~KIRA/fineui:master to master * commit 'f3bfbe78382d4f2b0afb91a6bb7b64e83646c4a4': KERNEL-6533 refactor: 修改描述 KERNEL-6533 refactor: 声明补充 KERNEL-6533 refactor: 声明补充es6
Kira
4 years ago
15 changed files with 216 additions and 4 deletions
@ -0,0 +1,15 @@ |
|||||||
|
import { Widget } from '../../core/widget'; |
||||||
|
|
||||||
|
export declare class PopupView extends Widget { |
||||||
|
static xtype: string; |
||||||
|
|
||||||
|
static EVENT_CHANGE: string; |
||||||
|
|
||||||
|
getView(): Widget; |
||||||
|
|
||||||
|
populate(...args: any[]): void; |
||||||
|
|
||||||
|
resetWidth(v: number): void; |
||||||
|
|
||||||
|
resetHeight(v: number): void; |
||||||
|
} |
@ -0,0 +1,6 @@ |
|||||||
|
import { BasicButton } from "../../base/single/button/button.basic"; |
||||||
|
|
||||||
|
export declare class Switch extends BasicButton { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
import { IconButton } from "../../base/single/button/buttons/button.icon"; |
||||||
|
|
||||||
|
export declare class ArrowTreeGroupNodeCheckbox extends IconButton { |
||||||
|
static xtype: string; |
||||||
|
} |
@ -0,0 +1,19 @@ |
|||||||
|
import { PopupView } from "../../../base/layer/layer.popup"; |
||||||
|
import { Widget } from "../../../core/widget"; |
||||||
|
|
||||||
|
export declare class BubblePopupView extends PopupView { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CLICK_TOOLBAR_BUTTON: string; |
||||||
|
} |
||||||
|
|
||||||
|
export declare class BubblePopupBarView extends BubblePopupView { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CLICK_TOOLBAR_BUTTON: string; |
||||||
|
} |
||||||
|
|
||||||
|
export declare class TextBubblePopupBarView extends Widget { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
|
||||||
|
populate(v: string): void; |
||||||
|
} |
@ -0,0 +1,56 @@ |
|||||||
|
import { Widget } from "../../core/widget"; |
||||||
|
|
||||||
|
export declare class ShelterEditor extends Widget { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
static EVENT_FOCUS: string; |
||||||
|
static EVENT_BLUR: string; |
||||||
|
static EVENT_CLICK: string; |
||||||
|
static EVENT_KEY_DOWN: string; |
||||||
|
static EVENT_CLICK_LABEL: string; |
||||||
|
static EVENT_START: string; |
||||||
|
static EVENT_PAUSE: string; |
||||||
|
static EVENT_STOP: string; |
||||||
|
static EVENT_CONFIRM: string; |
||||||
|
static EVENT_CHANGE_CONFIRM: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
static EVENT_ENTER: string; |
||||||
|
static EVENT_RESTRICT: string; |
||||||
|
static EVENT_SPACE: string; |
||||||
|
static EVENT_EMPTY: string; |
||||||
|
|
||||||
|
setTitle(v: string | Function): void; |
||||||
|
|
||||||
|
setWarningTitle(v: string | Function): void; |
||||||
|
|
||||||
|
setWaterMark(v: string): void; |
||||||
|
|
||||||
|
focus(): void; |
||||||
|
|
||||||
|
blur(): void; |
||||||
|
|
||||||
|
doRedMark(...args: any[]): void; |
||||||
|
|
||||||
|
unRedMark(...args: any[]): void; |
||||||
|
|
||||||
|
doHighLight(...args: any[]): void; |
||||||
|
|
||||||
|
unHighLight(...args: any[]): void; |
||||||
|
|
||||||
|
setErrorText(v: string): void; |
||||||
|
|
||||||
|
getErrorText(): string; |
||||||
|
|
||||||
|
isEditing(): boolean; |
||||||
|
|
||||||
|
isValid(): boolean; |
||||||
|
|
||||||
|
getLastValidValue(): string; |
||||||
|
|
||||||
|
getLastChangedValue(): string; |
||||||
|
|
||||||
|
getState(): any; |
||||||
|
|
||||||
|
setState(...args: any[]): void; |
||||||
|
} |
@ -0,0 +1,24 @@ |
|||||||
|
import { Widget } from "../../core/widget"; |
||||||
|
|
||||||
|
export declare class AllCountPager extends Widget { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
|
||||||
|
setAllPages(v: number): void; |
||||||
|
|
||||||
|
setValue(v: number): void; |
||||||
|
|
||||||
|
setVPage(v: number):void; |
||||||
|
|
||||||
|
setCount(v: number | string): void; |
||||||
|
|
||||||
|
getCurrentPage(): number; |
||||||
|
|
||||||
|
hasPrev(): boolean; |
||||||
|
|
||||||
|
hasNext(): boolean; |
||||||
|
|
||||||
|
setPagerVisible(v: boolean): void; |
||||||
|
|
||||||
|
populate(): void; |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
import { Trigger } from "../../base/single/trigger/trigger"; |
||||||
|
|
||||||
|
export declare class SelectTextTrigger extends Trigger { |
||||||
|
static xtype: string; |
||||||
|
} |
@ -0,0 +1,5 @@ |
|||||||
|
import { Layout } from "../layout"; |
||||||
|
|
||||||
|
export declare class HorizontalLayout extends Layout { |
||||||
|
static xtype: string; |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
import { Widget } from "../../core/widget"; |
||||||
|
|
||||||
|
export declare class DynamicDatePane extends Widget { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
static Static: 1; |
||||||
|
static Dynamic: 2; |
||||||
|
} |
@ -0,0 +1,8 @@ |
|||||||
|
import { Widget } from "../../core/widget"; |
||||||
|
|
||||||
|
export declare class TextValueDownListCombo extends Widget { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
|
||||||
|
getValue<T>(): [T]; |
||||||
|
} |
@ -0,0 +1,14 @@ |
|||||||
|
import { Single } from "../../base/single/single"; |
||||||
|
import { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo"; |
||||||
|
|
||||||
|
export declare class DateInterval extends Single { |
||||||
|
static xtype: string; |
||||||
|
static EVENT_CHANGE: string; |
||||||
|
static EVENT_VALID: string; |
||||||
|
static EVENT_ERROR: string; |
||||||
|
|
||||||
|
getValue(): { |
||||||
|
start: DynamicDataComboValue; |
||||||
|
end: DynamicDataComboValue; |
||||||
|
}; |
||||||
|
} |
Loading…
Reference in new issue