forked from fanruan/fineui
Browse Source
Merge in VISUAL/fineui from ~ALAN/fineui:master to master * commit '5a20ad767bda1af650624a439f5af79c7a238597': KERNEL-6431 补充类型定义 KERNEL-6431 补充类型描述master
alan
4 years ago
7 changed files with 214 additions and 4 deletions
@ -0,0 +1,24 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class MultifileEditor extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_UPLOADSTART: string; |
||||
static EVENT_ERROR: string; |
||||
static EVENT_PROGRESS: string; |
||||
static EVENT_UPLOADED: string; |
||||
|
||||
_reset(): void; |
||||
|
||||
select(): void; |
||||
|
||||
getValue(): { |
||||
attach_id: string; |
||||
attach_type: string; |
||||
filename: string; |
||||
}[]; |
||||
|
||||
upload(): void; |
||||
|
||||
reset(): void; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { TextEditor } from "./editor.text"; |
||||
|
||||
export declare class SmallTextEditor extends TextEditor { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,57 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
|
||||
export declare class MultiSelectCombo extends Single { |
||||
static xtype: string; |
||||
static EVENT_BLUR: string; |
||||
static EVENT_FOCUS: string; |
||||
static EVENT_STOP: string; |
||||
static EVENT_SEARCHING: string; |
||||
static EVENT_CLICK_ITEM: string; |
||||
static EVENT_CONFIRM: string; |
||||
static REQ_GET_DATA_LENGTH: 1; |
||||
static REQ_GET_ALL_DATA: -1; |
||||
|
||||
_itemsCreator4Trigger(op: any, callback: Function): void; |
||||
|
||||
_stopEditing(): void; |
||||
|
||||
_defaultState(): void; |
||||
|
||||
_assertValue(): void; |
||||
|
||||
_makeMap(): Obj; |
||||
|
||||
_joinKeywords(keywords: string[], callback: Function): void; |
||||
|
||||
_joinAll(res: { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}, callback: Function): void; |
||||
|
||||
_adjust(callback: Function): void; |
||||
|
||||
_join(): void; |
||||
|
||||
_setStartValue(value: string): void; |
||||
|
||||
_populate(...args: any[]): void; |
||||
|
||||
showView(): void; |
||||
|
||||
hideView(): void; |
||||
|
||||
setValue(value: { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}[]): void; |
||||
|
||||
getValue(): { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}[]; |
||||
|
||||
populate(...args: any[]): void; |
||||
} |
@ -0,0 +1,60 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
|
||||
export declare class MultiSelectInsertCombo extends Single { |
||||
static xtype: string; |
||||
static EVENT_FOCUS: string; |
||||
static EVENT_BLUR: string; |
||||
static EVENT_STOP: string; |
||||
static EVENT_SEARCHING: string; |
||||
static EVENT_CLICK_ITEM: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_ADD_ITEM: string; |
||||
static REQ_GET_DATA_LENGTH: 1; |
||||
static REQ_GET_ALL_DATA: -1; |
||||
|
||||
_itemsCreator4Trigger(op: any, callback: Function): void; |
||||
|
||||
_addItem(assertShowValue: () => void, matched: boolean): void; |
||||
|
||||
_stopEditing(): void; |
||||
|
||||
_defaultState(): void; |
||||
|
||||
_assertValue(): void; |
||||
|
||||
_makeMap(): Obj; |
||||
|
||||
_joinKeywords(keywords: string[], callback: Function): void; |
||||
|
||||
_joinAll(res: { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}, callback: Function): void; |
||||
|
||||
_adjust(callback: Function): void; |
||||
|
||||
_join(): void; |
||||
|
||||
_setStartValue(value: string): void; |
||||
|
||||
_populate(...args: any[]): void; |
||||
|
||||
showView(): void; |
||||
|
||||
hideView(): void; |
||||
|
||||
setValue(value: { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}[]): void; |
||||
|
||||
getValue(): { |
||||
type: string; |
||||
value: string[]; |
||||
assist: string[]; |
||||
}[]; |
||||
|
||||
populate(...args: any[]): void; |
||||
} |
Loading…
Reference in new issue