forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~YOUKI/fineui:master to master * commit 'ed121654277b2b2aee7a0e20d5fa8fe61dba64b3': KERNEL-6465 refactor: 类型补充es6
Youki
4 years ago
11 changed files with 237 additions and 10 deletions
@ -0,0 +1,22 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class Popover extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CLOSE: string; |
||||
static EVENT_OPEN: string; |
||||
static EVENT_CANCEL: string; |
||||
static EVENT_CONFIRM: string; |
||||
|
||||
hide(): void; |
||||
|
||||
open(): void; |
||||
|
||||
close(): void; |
||||
|
||||
setZindex(zindex: number): void; |
||||
} |
||||
|
||||
export declare class BarPopover extends Popover { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { Single } from '../single'; |
||||
|
||||
export declare class IconLabel extends Single { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { Widget } from '../../../core/widget'; |
||||
|
||||
export declare class IconCombo extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
showView(): void; |
||||
|
||||
hideView(): void; |
||||
|
||||
populate(items: any[]): void; |
||||
} |
@ -0,0 +1,22 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
|
||||
export declare class DynamicDateCombo extends Single { |
||||
static xtype: string; |
||||
|
||||
static EVENT_KEY_DOWN: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_FOCUS: string; |
||||
static EVENT_BLUR: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
static EVENT_BEFORE_POPUPVIEW: string; |
||||
|
||||
setMinDate(minDate: string): void; |
||||
|
||||
setMaxDate(maxDate: string): void; |
||||
|
||||
getKey(): string; |
||||
|
||||
hidePopupView(): void; |
||||
} |
@ -0,0 +1,36 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class TextEditor 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_SPACE: string; |
||||
static EVENT_BACKSPACE: 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_REMOVE: string; |
||||
static EVENT_EMPTY: string; |
||||
|
||||
setWaterMark(v: string): void; |
||||
|
||||
focus(): void; |
||||
|
||||
blur(): void; |
||||
|
||||
setErrorText(v: string): void; |
||||
|
||||
getErrorText(): string; |
||||
|
||||
isValid(): boolean |
||||
} |
Loading…
Reference in new issue