forked from fanruan/fineui
guy
4 years ago
75 changed files with 4562 additions and 3025 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
@ -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; |
||||
} |
@ -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,5 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class LinearSegment extends Widget { |
||||
static xtype: string; |
||||
setEnabledValue(v: any): void; |
||||
} |
@ -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; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { Layout } from '../../layout'; |
||||
export declare class FloatCenterLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -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,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 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
@ -0,0 +1,9 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class ListView extends Widget { |
||||
static xtype: string; |
||||
|
||||
restore(): void; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { Single } from "../single"; |
||||
|
||||
export declare class Img extends Single { |
||||
static xtype: string; |
||||
|
||||
setSrc(src: string): void; |
||||
getSrc(): string; |
||||
} |
@ -0,0 +1,10 @@
|
||||
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,8 @@
|
||||
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,7 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class LinearSegment extends Widget { |
||||
static xtype: string; |
||||
|
||||
setEnabledValue(v: any): void; |
||||
} |
@ -1,12 +1,5 @@
|
||||
export type _pushArray = (sArray: any[], array: any[]) => void; |
||||
|
||||
export type _pushDistinct = (sArray: any[], obj: any) => void; |
||||
|
||||
export type _pushDistinctArray = (sArray: any[], array: any[]) => void; |
||||
|
||||
type _array = { |
||||
pushArray: _pushArray; |
||||
pushDistinct: _pushDistinct; |
||||
pushDistinctArray: _pushDistinctArray; |
||||
export type _array = { |
||||
pushArray: (sArray: any[], array: any[]) => void; |
||||
pushDistinct: (sArray: any[], obj: any) => void; |
||||
pushDistinctArray: (sArray: any[], array: any[]) => void; |
||||
} |
||||
export default _array; |
@ -1,9 +1,9 @@
|
||||
import _array from "./array"; |
||||
import _string from "./string"; |
||||
import _number from "./number"; |
||||
import _function from "./function"; |
||||
import { _Date } from "./date"; |
||||
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 { |
||||
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; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { Layout } from '../../layout'; |
||||
|
||||
export declare class FloatCenterLayout extends Layout { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,22 @@
|
||||
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,12 @@
|
||||
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,27 @@
|
||||
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,7 @@
|
||||
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,14 @@
|
||||
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; |
||||
}; |
||||
} |
Loading…
Reference in new issue