iapyang
4 years ago
81 changed files with 10276 additions and 7790 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,8 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
export declare class SimpleColorChooser extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
isViewVisible(): boolean; |
||||
hideView(): void; |
||||
showView(): void; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../../layout"; |
||||
export declare class AbsoluteCenterLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../../layout"; |
||||
export declare class CenterAdaptLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../../layout"; |
||||
export declare class HorizontalAdaptLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../../layout"; |
||||
export declare class VerticalAdaptLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -1,6 +1,9 @@
|
||||
import { _Layout } from "../layout"; |
||||
import { Layout, _Layout } from "../layout"; |
||||
export interface _AbsoluteLayout extends _Layout { |
||||
resize(): void; |
||||
stroke<T>(items: T[]): void; |
||||
populate<T>(items?: T[]): void; |
||||
} |
||||
export declare class AbsoluteLayout extends Layout { |
||||
static xtype: string; |
||||
} |
||||
|
@ -1,5 +1,8 @@
|
||||
import { _Layout } from "../layout"; |
||||
import { Layout, _Layout } from "../layout"; |
||||
export interface _DefaultLayout extends _Layout { |
||||
resize(): void; |
||||
populate<T>(items?: T[]): void; |
||||
} |
||||
export declare class DefaultLayout extends Layout { |
||||
static xtype: string; |
||||
} |
||||
|
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../layout"; |
||||
export declare class FloatLeftLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -1,5 +1,8 @@
|
||||
import { _Layout } from "../layout"; |
||||
import { Layout, _Layout } from "../layout"; |
||||
export interface _VerticalLayout extends _Layout { |
||||
resize(): void; |
||||
populate<T>(items?: T[]): void; |
||||
} |
||||
export declare class VerticalLayout extends Layout { |
||||
static xtype: string; |
||||
} |
||||
|
@ -0,0 +1,18 @@
|
||||
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,31 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
export declare class SearchEditor 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_CLEAR: 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; |
||||
getKeywords(): string[]; |
||||
getLastValidValue(): string; |
||||
getLastChangedValue(): string; |
||||
isEditing(): boolean; |
||||
isValid(): boolean; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { TextEditor } from "./editor.text"; |
||||
export declare class SmallTextEditor extends TextEditor { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { Pane } from '../../base/pane'; |
||||
export declare class MultiLayerSingleLevelTree extends Pane { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
initTree(nodes: any, ...args: any[]): void; |
||||
populate(nodes: any, ...args: any[]): void; |
||||
getAllLeaves<T>(): T[]; |
||||
getNodeById(id: any): any; |
||||
getNodeByValue(value: any): any; |
||||
} |
@ -0,0 +1,40 @@
|
||||
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,42 @@
|
||||
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; |
||||
} |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,12 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class SimpleColorChooser extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
|
||||
isViewVisible(): boolean; |
||||
|
||||
hideView(): void; |
||||
|
||||
showView(): void; |
||||
} |
@ -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,41 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class SearchEditor 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_CLEAR: 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; |
||||
|
||||
getKeywords(): string[]; |
||||
|
||||
getLastValidValue(): string; |
||||
|
||||
getLastChangedValue(): string; |
||||
|
||||
isEditing(): boolean; |
||||
|
||||
isValid(): boolean; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { TextEditor } from "./editor.text"; |
||||
|
||||
export declare class SmallTextEditor extends TextEditor { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,16 @@
|
||||
import { Pane } from '../../base/pane' |
||||
|
||||
export declare class MultiLayerSingleLevelTree extends Pane { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
|
||||
initTree(nodes: any, ...args: any[]): void; |
||||
|
||||
populate(nodes: any, ...args: any[]): void; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getNodeById(id: any): any; |
||||
|
||||
getNodeByValue(value: any): any; |
||||
} |
@ -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