forked from fanruan/fineui
alan
4 years ago
51 changed files with 8307 additions and 7179 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,7 @@
|
||||
import { TreeView, TreeValue } from "./treeview"; |
||||
export declare class AsyncTree extends TreeView { |
||||
static xtype: string; |
||||
_beforeExpandNode<T>(treeId: string, treeNode: T): void; |
||||
_join(valueA: TreeValue, valueB: TreeValue): TreeValue; |
||||
_getJoinValue(): TreeValue; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { ListTreeView } from "./listtreeview"; |
||||
export declare class ListAsyncTree extends ListTreeView { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,4 @@
|
||||
import { TreeView } from "../treeview"; |
||||
export declare class ListTreeView extends TreeView { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,54 @@
|
||||
import { Pane } from "../../pane"; |
||||
export declare class TreeView extends Pane { |
||||
static xtype: string; |
||||
static REQ_TYPE_INIT_DATA: 1; |
||||
static REQ_TYPE_ADJUST_DATA: 2; |
||||
static REQ_TYPE_SELECT_DATA: 3; |
||||
static REQ_TYPE_GET_SELECTED_DATA: 4; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_INIT: string; |
||||
static EVENT_AFTERINIT: string; |
||||
_createTree(): void; |
||||
_selectTreeNode<T>(treeId: string, treeNode: T): void; |
||||
_configSetting(): { |
||||
[key: string]: any; |
||||
}; |
||||
_getParentValues<T, U>(treeNode: T): U; |
||||
_getNodeValue<T, U>(treeNode: T): U; |
||||
_getHalfSelectedValues<T>(map: TreeValue, node: T): void; |
||||
_getTree<T>(map: TreeValue, values: string[]): TreeValue; |
||||
_addTreeNode(map: TreeValue, values: string[], key: string, value: string): void; |
||||
_buildTree(map: TreeValue, values: string[]): void; |
||||
_getSelectedValues(): TreeValue; |
||||
_dealWidthNodes<T>(nodes: T[]): T[]; |
||||
_loadMore(): void; |
||||
_initTree(setting: { |
||||
[key: string]: any; |
||||
}): void; |
||||
initTree<T>(node: T, setting: { |
||||
[key: string]: any; |
||||
}): void; |
||||
start(): void; |
||||
stop(): void; |
||||
stroke(config: { |
||||
[key: string]: any; |
||||
}): void; |
||||
hasChecked(): boolean; |
||||
checkAll<T>(checked: T[]): void; |
||||
expandAll(flag: boolean): void; |
||||
setValue(value: TreeValue, param: { |
||||
[key: string]: any; |
||||
}): void; |
||||
setSelectedValue(value: TreeValue): void; |
||||
updateValue(value: TreeValue, param: { |
||||
[key: string]: any; |
||||
}): void; |
||||
refresh(): void; |
||||
getValue(): TreeValue; |
||||
populate(config: { |
||||
[key: string]: any; |
||||
}): void; |
||||
} |
||||
export interface TreeValue { |
||||
[key: string]: TreeValue; |
||||
} |
@ -0,0 +1,7 @@
|
||||
import { BasicButton } from "../../base/single/button/button.basic"; |
||||
export declare class SingleSelectRadioItem extends BasicButton { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
doRedMark(...args: any[]): void; |
||||
unRedMark(...args: any[]): void; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class MultiLayerSelectTreePopup extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
getValue<T>(): T; |
||||
setValue(v: any): void; |
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,8 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
export declare class MultiLayerSingleTreePopup extends Widget { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
getValue<T>(): T; |
||||
setValue(v: any): void; |
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,11 @@
|
||||
import { Pane } from "../../base/pane"; |
||||
export declare class MultiTreePopup extends Pane { |
||||
static xtype: string; |
||||
static EVENT_CHANGE: string; |
||||
static EVENT_CLICK_CONFIRM: string; |
||||
static EVENT_CLICK_CLEAR: string; |
||||
static EVENT_AFTERINIT: string; |
||||
hasChecked(): boolean; |
||||
resetHeight(h: number): void; |
||||
resetWidth(w: number): void; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
export declare class SingleSelectCombo 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; |
||||
} |
@ -0,0 +1,10 @@
|
||||
import { Single } from "../../base/single/single"; |
||||
export declare class SingleSelectInsertCombo 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; |
||||
} |
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,11 @@
|
||||
import { TreeView, TreeValue } from "./treeview"; |
||||
|
||||
export declare class AsyncTree extends TreeView { |
||||
static xtype: string; |
||||
|
||||
_beforeExpandNode<T>(treeId: string, treeNode: T): void; |
||||
|
||||
_join(valueA: TreeValue, valueB: TreeValue): TreeValue; |
||||
|
||||
_getJoinValue(): TreeValue; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { ListTreeView } from "./listtreeview"; |
||||
|
||||
export declare class ListAsyncTree extends ListTreeView { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,5 @@
|
||||
import { TreeView } from "../treeview"; |
||||
|
||||
export declare class ListTreeView extends TreeView { |
||||
static xtype: string; |
||||
} |
@ -0,0 +1,70 @@
|
||||
import { Pane } from "../../pane"; |
||||
|
||||
export declare class TreeView extends Pane { |
||||
static xtype: string; |
||||
static REQ_TYPE_INIT_DATA: 1; |
||||
static REQ_TYPE_ADJUST_DATA: 2; |
||||
static REQ_TYPE_SELECT_DATA: 3; |
||||
static REQ_TYPE_GET_SELECTED_DATA: 4; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
static EVENT_INIT: string; |
||||
static EVENT_AFTERINIT: string; |
||||
|
||||
_createTree(): void; |
||||
|
||||
_selectTreeNode<T>(treeId: string, treeNode: T): void; |
||||
|
||||
_configSetting(): {[key: string]: any}; |
||||
|
||||
_getParentValues<T, U>(treeNode: T): U; |
||||
|
||||
_getNodeValue<T, U>(treeNode: T): U; |
||||
|
||||
_getHalfSelectedValues<T>(map: TreeValue, node: T): void; |
||||
|
||||
_getTree<T>(map: TreeValue, values: string[]): TreeValue; |
||||
|
||||
_addTreeNode(map: TreeValue, values: string[], key: string, value: string): void; |
||||
|
||||
_buildTree(map: TreeValue, values: string[]): void; |
||||
|
||||
_getSelectedValues(): TreeValue; |
||||
|
||||
_dealWidthNodes<T>(nodes: T[]): T[]; |
||||
|
||||
_loadMore(): void; |
||||
|
||||
_initTree(setting: {[key: string]: any}): void; |
||||
|
||||
initTree<T>(node: T, setting: {[key: string]: any}): void; |
||||
|
||||
start(): void; |
||||
|
||||
stop(): void; |
||||
|
||||
stroke(config: {[key: string]: any}): void; |
||||
|
||||
hasChecked(): boolean; |
||||
|
||||
checkAll<T>(checked: T[]): void; |
||||
|
||||
expandAll(flag: boolean): void; |
||||
|
||||
setValue(value: TreeValue, param: {[key: string]: any}): void; |
||||
|
||||
setSelectedValue(value: TreeValue): void; |
||||
|
||||
updateValue(value: TreeValue, param: {[key: string]: any}): void; |
||||
|
||||
refresh(): void; |
||||
|
||||
getValue(): TreeValue; |
||||
|
||||
// @ts-ignore
|
||||
populate(config: {[key: string]: any}): void; |
||||
} |
||||
|
||||
export interface TreeValue { |
||||
[key: string]: TreeValue; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class MultiLayerSelectTreePopup extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
getValue<T>(): T; |
||||
|
||||
setValue(v: any): void; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { Widget } from "../../core/widget"; |
||||
|
||||
export declare class MultiLayerSingleTreePopup extends Widget { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
getValue<T>(): T; |
||||
|
||||
setValue(v: any): void; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
} |
Loading…
Reference in new issue