forked from fanruan/fineui
iapyang
4 years ago
131 changed files with 13852 additions and 8872 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,9 @@
|
||||
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 { Widget } from '../../core/widget'; |
||||
export declare class ListView extends Widget { |
||||
static xtype: string; |
||||
restore(): void; |
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Single } from "../single"; |
||||
export declare class Img extends Single { |
||||
static xtype: string; |
||||
setSrc(src: string): void; |
||||
getSrc(): string; |
||||
} |
@ -1,7 +1,12 @@
|
||||
import { _BasicButton } from "../button/button.basic"; |
||||
import { BasicButton, _BasicButton } from "../button/button.basic"; |
||||
export interface _Checkbox extends _BasicButton { |
||||
_setEnable(enable: boolean): void; |
||||
} |
||||
export interface _CheckboxStatic { |
||||
EVENT_CHANGE: string; |
||||
} |
||||
export declare class Checkbox extends BasicButton { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
_setEnable(enable: boolean): void; |
||||
} |
||||
|
@ -1,5 +1,9 @@
|
||||
import { _Single } from "../single"; |
||||
import { Single, _Single } from "../single"; |
||||
export interface _Trigger extends _Single { |
||||
setKey(..._args: any[]): void; |
||||
getKey(): string; |
||||
} |
||||
export declare class Trigger extends Single { |
||||
setKey(..._args: any[]): void; |
||||
getKey(): string; |
||||
} |
||||
|
@ -0,0 +1,5 @@
|
||||
import { BasicButton } from "../../base/single/button/button.basic"; |
||||
export declare class Switch extends BasicButton { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { IconButton } from "../../base/single/button/buttons/button.icon"; |
||||
export declare class ArrowTreeGroupNodeCheckbox extends IconButton { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,15 @@
|
||||
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,9 @@
|
||||
import { Widget } from "../../../core/widget"; |
||||
export declare class EditorIconCheckCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_FOCUS: string; |
||||
static EVENT_EMPTY: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Widget } from '../../../core/widget'; |
||||
export declare class IconTextValueCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { Widget } from "../../../core/widget"; |
||||
export declare class TextValueCheckCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
setTitle(v: string): void; |
||||
setValue(v: any): void; |
||||
setWarningTitle(v: string): void; |
||||
getValue(): any; |
||||
populate(items: any[]): string; |
||||
} |
@ -0,0 +1,38 @@
|
||||
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,5 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class LinearSegment extends Widget { |
||||
static xtype: string; |
||||
setEnabledValue(v: any): void; |
||||
} |
@ -1,4 +1,7 @@
|
||||
import { _Pane } from "../../base/pane"; |
||||
import { _Pane, Pane } from "../../base/pane"; |
||||
export interface _LoadingPane extends _Pane { |
||||
__loaded: (...args: any[]) => void; |
||||
} |
||||
export declare class LoadingPane extends Pane { |
||||
__loaded: (...args: any[]) => void; |
||||
} |
||||
|
@ -0,0 +1,14 @@
|
||||
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,4 @@
|
||||
import { Trigger } from "../../base/single/trigger/trigger"; |
||||
export declare class SelectTextTrigger extends Trigger { |
||||
static xtype: string; |
||||
} |
@ -1,3 +1,5 @@
|
||||
import { _Action } from "./action"; |
||||
import { _Action, Action } from "./action"; |
||||
export interface _ShowAction extends _Action { |
||||
} |
||||
export declare class ShowAction extends Action { |
||||
} |
||||
|
@ -1,7 +1,13 @@
|
||||
import { _OB } from "../ob"; |
||||
import { _OB, OB } from "../ob"; |
||||
export interface _Behavior extends _OB { |
||||
doBehavior(items: any[]): void; |
||||
} |
||||
export interface _BehaviorFactory { |
||||
createBehavior(key: string, options: any): _Behavior; |
||||
} |
||||
export declare class Behavior extends OB { |
||||
doBehavior(items: any[]): void; |
||||
} |
||||
export declare class BehaviorFactory { |
||||
createBehavior(key: string, options: any): Behavior; |
||||
} |
||||
|
@ -1,3 +1,5 @@
|
||||
import { _Behavior } from "./behavior"; |
||||
import { _Behavior, Behavior } from "./behavior"; |
||||
export interface _HighlightBehavior extends _Behavior { |
||||
} |
||||
export declare class HighlightBehavior extends Behavior { |
||||
} |
||||
|
@ -1,3 +1,5 @@
|
||||
import { _Behavior } from "./behavior"; |
||||
import { _Behavior, Behavior } from "./behavior"; |
||||
export interface _RedMarkBehavior extends _Behavior { |
||||
} |
||||
export declare class RedMarkBehavior extends Behavior { |
||||
} |
||||
|
@ -1,8 +1,8 @@
|
||||
import _array from "./array"; |
||||
import _string from "./string"; |
||||
import _number from "./number"; |
||||
import _function from "./function"; |
||||
import { _Date } from "./date"; |
||||
export interface _func extends _array, _string, _number, _function { |
||||
import { _array } from "./array"; |
||||
import { _string } from "./string"; |
||||
import { _number } from "./number"; |
||||
import { _function } from "./function"; |
||||
import { _Date, _date } from "./date"; |
||||
export interface _func extends _array, _string, _number, _function, _date { |
||||
Date: _Date; |
||||
} |
||||
|
@ -0,0 +1,132 @@
|
||||
export interface _var { |
||||
MAX: number; |
||||
MIN: number; |
||||
EVENT_RESPONSE_TIME: number; |
||||
zIndex_layer: number; |
||||
zIndex_popover: number; |
||||
zIndex_popup: number; |
||||
zIndex_masker: number; |
||||
zIndex_tip: number; |
||||
emptyStr: string; |
||||
emptyFn: Function; |
||||
empty: null; |
||||
Key: { |
||||
48: string; |
||||
49: string; |
||||
50: string; |
||||
51: string; |
||||
52: string; |
||||
53: string; |
||||
54: string; |
||||
55: string; |
||||
56: string; |
||||
57: string; |
||||
65: string; |
||||
66: string; |
||||
67: string; |
||||
68: string; |
||||
69: string; |
||||
70: string; |
||||
71: string; |
||||
72: string; |
||||
73: string; |
||||
74: string; |
||||
75: string; |
||||
76: string; |
||||
77: string; |
||||
78: string; |
||||
79: string; |
||||
80: string; |
||||
81: string; |
||||
82: string; |
||||
83: string; |
||||
84: string; |
||||
85: string; |
||||
86: string; |
||||
87: string; |
||||
88: string; |
||||
89: string; |
||||
90: string; |
||||
96: string; |
||||
97: string; |
||||
98: string; |
||||
99: string; |
||||
100: string; |
||||
101: string; |
||||
102: string; |
||||
103: string; |
||||
104: string; |
||||
105: string; |
||||
106: string; |
||||
107: string; |
||||
109: string; |
||||
110: string; |
||||
111: string; |
||||
}; |
||||
KeyCode: { |
||||
BACKSPACE: number; |
||||
COMMA: number; |
||||
DELETE: number; |
||||
DOWN: number; |
||||
END: number; |
||||
ENTER: number; |
||||
ESCAPE: number; |
||||
HOME: number; |
||||
LEFT: number; |
||||
NUMPAD_ADD: number; |
||||
NUMPAD_DECIMAL: number; |
||||
NUMPAD_DIVIDE: number; |
||||
NUMPAD_ENTER: number; |
||||
NUMPAD_MULTIPLY: number; |
||||
NUMPAD_SUBTRACT: number; |
||||
PAGE_DOWN: number; |
||||
PAGE_UP: number; |
||||
PERIOD: number; |
||||
RIGHT: number; |
||||
SPACE: number; |
||||
TAB: number; |
||||
UP: number; |
||||
}; |
||||
Status: { |
||||
SUCCESS: number; |
||||
WRONG: number; |
||||
START: number; |
||||
END: number; |
||||
WAITING: number; |
||||
READY: number; |
||||
RUNNING: number; |
||||
OUTOFBOUNDS: number; |
||||
NULL: number; |
||||
}; |
||||
Direction: { |
||||
Top: string; |
||||
Bottom: string; |
||||
Left: string; |
||||
Right: string; |
||||
Custom: string; |
||||
}; |
||||
Axis: { |
||||
Vertical: string; |
||||
Horizontal: string; |
||||
}; |
||||
Selection: { |
||||
Default: number; |
||||
None: number; |
||||
Single: number; |
||||
Multi: number; |
||||
All: number; |
||||
}; |
||||
HorizontalAlign: { |
||||
Left: string; |
||||
Right: string; |
||||
Center: string; |
||||
Stretch: string; |
||||
}; |
||||
VerticalAlign: { |
||||
Middle: string; |
||||
Top: string; |
||||
Bottom: string; |
||||
Stretch: string; |
||||
}; |
||||
StartOfWeek: number; |
||||
} |
@ -1,5 +1,10 @@
|
||||
import { _Layout } from "../../layout"; |
||||
import { Layout, _Layout } from "../../layout"; |
||||
export interface _LeftVerticalAdapt extends _Layout { |
||||
resize(): void; |
||||
populate<T>(items?: T[]): void; |
||||
} |
||||
export declare class LeftVerticalAdaptLayout extends Layout { |
||||
static xtype: string; |
||||
resize(): void; |
||||
populate<T>(items?: T[]): void; |
||||
} |
||||
|
@ -0,0 +1,4 @@
|
||||
import { Layout } from "../layout"; |
||||
export declare class HorizontalLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from '../../layout'; |
||||
export declare class FloatCenterLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,7 @@
|
||||
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,16 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
export declare class IntervalSlider extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
max: number; |
||||
min: number; |
||||
getValue(): { |
||||
min: number; |
||||
max: number; |
||||
}; |
||||
setMinAndMax(v: { |
||||
min: number; |
||||
max: number; |
||||
}): void; |
||||
reset(): void; |
||||
} |
@ -0,0 +1,9 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
export declare class MultiSelectInsertList extends Single { |
||||
static xtype: string; |
||||
static REQ_GET_DATA_LENGTH: 1; |
||||
static REQ_GET_ALL_DATA: -1; |
||||
static EVENT_CHANGE: string; |
||||
isAllSelected(): boolean; |
||||
resize(): void; |
||||
} |
@ -0,0 +1,14 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class NumberEditor extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_CHANGE: string; |
||||
focus(): void; |
||||
isEditing(): void; |
||||
setUpEnable(v: boolean): void; |
||||
setDownEnable(v: boolean): void; |
||||
getLastValidValue(): string; |
||||
getLastChangedValue(): string; |
||||
getValue(): string; |
||||
setValue(v: string): void; |
||||
} |
@ -0,0 +1,17 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
export declare class NumberInterval extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
isStateValid(): boolean; |
||||
setMinEnable(v: boolean): void; |
||||
setCloseMinEnable(v: boolean): void; |
||||
setMaxEnable(v: boolean): void; |
||||
setCloseMaxEnable(v: boolean): void; |
||||
showNumTip(): void; |
||||
hideNumTip(): void; |
||||
setNumTip(v: string): void; |
||||
getNumTip(): void; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class TextValueDownListCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
getValue<T>(): [T]; |
||||
} |
@ -0,0 +1,12 @@
|
||||
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; |
||||
}; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class DynamicYearCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_BEFORE_POPUPVIEW: string; |
||||
} |
@ -0,0 +1,12 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
export declare class YearMonthInterval extends Single { |
||||
static xtype: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_BEFORE_POPUPVIEW: string; |
||||
getValue(): { |
||||
start: number; |
||||
end: number; |
||||
}; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class DynamicYearQuarterCombo extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CONFIRM: string; |
||||
static EVENT_BEFORE_POPUPVIEW: string; |
||||
} |
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
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue