forked from fanruan/fineui
91 changed files with 7291 additions and 6823 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 it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,4 @@
|
||||
import { LayerController } from "../core/controller/controller.layer"; |
||||
import { BroadcastController } from "../core/controller/controller.broadcast"; |
||||
export declare type Layers = LayerController; |
||||
export declare type Broadcasts = BroadcastController; |
@ -0,0 +1,6 @@
|
||||
import { Controller } from './controller'; |
||||
export declare class BroadcastController extends Controller { |
||||
on(name: string, fn: Function): Function; |
||||
send(name: string, ...args: any[]): void; |
||||
remove(name: string, fn?: Function): this; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class DynamicDateTimePane extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string; |
||||
setMinDate(minDate: string): void; |
||||
setMaxDate(minDate: string): void; |
||||
} |
@ -0,0 +1,7 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
export declare class MultiSelectTree extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
stopSearch(): void; |
||||
setSelectedValue(v: string[]): void; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
export declare class SingleSelectInsertList extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,14 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
import { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo"; |
||||
export declare class TimeInterval extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
getValue(): { |
||||
start: DynamicDataComboValue; |
||||
end: DynamicDataComboValue; |
||||
}; |
||||
setMinDate(minDate: string): void; |
||||
setMaxDate(minDate: string): 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
@ -0,0 +1,35 @@
|
||||
BI.Fragment = function () { |
||||
}; |
||||
|
||||
BI.h = function (type, props, children) { |
||||
if (children != null) { |
||||
if (!BI.isArray(children)) { |
||||
children = [children]; |
||||
} |
||||
} else { |
||||
children = []; |
||||
} |
||||
if (arguments.length > 3) { |
||||
for (var i = 3; i < arguments.length; i++) { |
||||
if (BI.isArray(arguments[i])) { |
||||
children = children.concat(arguments[i]); |
||||
} else { |
||||
children.push(arguments[i]); |
||||
} |
||||
} |
||||
} |
||||
if (type === BI.Fragment) { |
||||
return children; |
||||
} |
||||
if (BI.isFunction(type)) { |
||||
type = type.xtype; |
||||
} |
||||
if (type === "el") { |
||||
return BI.extend({ |
||||
el: children[0] |
||||
}, props); |
||||
} |
||||
return BI.extend({ |
||||
type: type, |
||||
}, children.length > 0 ? {items: children} : {}, props); |
||||
}; |
@ -0,0 +1,7 @@
|
||||
import { LayerController } from "../core/controller/controller.layer"; |
||||
import { BroadcastController } from "../core/controller/controller.broadcast"; |
||||
|
||||
export type Layers = LayerController; |
||||
|
||||
export type Broadcasts = BroadcastController; |
||||
|
@ -0,0 +1,9 @@
|
||||
import { Controller } from './controller'; |
||||
|
||||
export declare class BroadcastController extends Controller { |
||||
on(name: string, fn: Function): Function; |
||||
|
||||
send(name: string, ...args: any[]): void; |
||||
|
||||
remove(name: string, fn?: Function): this; |
||||
} |
@ -0,0 +1,11 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class DynamicDateTimePane extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_BEFORE_YEAR_MONTH_POPUPVIEW: string; |
||||
|
||||
setMinDate(minDate: string): void; |
||||
|
||||
setMaxDate(minDate: string): void; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { Single } from '../../base/single/single'; |
||||
|
||||
export declare class MultiSelectTree extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
|
||||
stopSearch(): void; |
||||
|
||||
setSelectedValue(v: string[]): void; |
||||
} |
@ -0,0 +1,6 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
|
||||
export declare class SingleSelectInsertList extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
} |
@ -0,0 +1,18 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
import { DynamicDataComboValue } from "../dynamicdate/dynamicdate.combo"; |
||||
|
||||
export declare class TimeInterval extends Single { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_VALID: string; |
||||
static EVENT_ERROR: string; |
||||
|
||||
getValue(): { |
||||
start: DynamicDataComboValue; |
||||
end: DynamicDataComboValue; |
||||
}; |
||||
|
||||
setMinDate(minDate: string): void; |
||||
|
||||
setMaxDate(minDate: string): void; |
||||
} |
Loading…
Reference in new issue