react-antd-admin-panel
Version:
Easy prototyping admin panel using React and Antd
136 lines (135 loc) • 3.97 kB
TypeScript
import Get from "../Get";
import Section from "./Section";
import Formula from "../Formula";
import Action from "../Action";
import Main from "../../main";
export default class Default {
_componentIsBuild: boolean;
_history: any;
_historyFirstKey: any;
history(v: any): number;
getFieldByClass(v: string): any;
onHandleAdd: any;
onHandleClear: any;
onHandleReset: any;
onHandleChange: any;
onHandleSearch: any;
onHandleToggle: any;
onHandleLoading: any;
/** */
tsxHistoryRevert: any;
tsxSetDisabled: any;
tsxSetLoading: any;
tsxSetValue: any;
tsxClear: any;
/** */
_call: any;
call(key: string, v: any): this;
_alter: any;
alter(v: any): this;
_useCache: any;
useCache(v: any): this;
_filter: any;
filter(filter: any): this;
filters(): any[];
_editFunction: any;
edit(edit: any): this;
editBuild(node: any, next: (section: Section) => void, main: Main, model: any): void;
_showFunction: any;
show(show: any): this;
showBuild(node: any, next: (section: Section) => void, main: Main): void;
_filterFunction: any;
filterFunction(func: any): this;
_ref: any;
ref(ref: any): this;
_key: any;
key(key: any): this;
_index: any;
index(index: any): this;
_style: any;
style(v: any): this;
_styleForm: any;
styleForm(v: any): this;
_access: boolean;
access(access: any): this;
_accessLevel: any;
accessLevel(feature: string, level: number): this;
_label: any;
label(label: string): this;
_required: boolean;
required(v: any): this;
_disabled: boolean;
disabled(v: any): this;
_readOnly: boolean;
readOnly(v?: boolean): this;
_default: any;
_defaultObject: any;
default(v: any): this;
_fields: any[];
add(v: any): this;
addMore(v: any[]): this;
_formula: any;
_formulaIsRoot: any;
formula(formula: Formula): this;
formulaSetChildren(formula?: Formula | any): void;
value(value: any): void;
params(): any;
paramsRaw(): any;
formulaValue(value: any): void;
formulaParams(): any;
formulaParamsRaw(): any;
_section: any;
section(section: Section): void;
_get: any;
_getFunction: any;
setGet(v: (args?: any) => Get, args?: any): this;
get(func: (args?: any) => Get, args?: any): this;
fetch(func: (args?: any) => Get, args?: any): this;
refresh(args?: any, callback?: any): this;
refreshWithoutGetCall(args: any): this;
refreshWithoutFunctionCall(args?: any): this;
_action: any;
action(action: Action): this;
_format: (value: any) => any;
format(func: (args?: any) => any): this;
formatValue(value: any): any;
_update: any;
update(func: (args?: any) => void): this;
_onComplete: any;
_onError: any;
_onClick: any;
_onChange: any;
_onChangeNext: any;
_onAfterChange: any;
_onChangeSelect: any;
_onDelete: any;
onDelete(func: any): this;
onAfterChange(func: any, index?: number): this;
onChangeSelect(func: any): this;
onComplete(func: any): this;
onChange(func: any): this;
onChangeNext(func: any, index?: number): this;
onClick(func: any): this;
onError(func: any): this;
_data: any;
data(data: any): this;
_size: number;
size(size: number): this;
_sizeString: 'small' | 'middle' | 'large' | undefined;
sizeString(sizeString: 'small' | 'middle' | 'large' | undefined): this;
_clearable: boolean;
clearable(v: boolean): this;
_ignoreOnChange: any;
ignoreOnChange(v: boolean): this;
_ignoreSetState: any;
ignoreSetState(v: boolean): this;
_width: any;
width(width: number): this;
_component: any;
_componentArgs: any;
component(component: any, args: any): this;
defaultFromCache(): this;
_class: string;
constructor(_class?: string);
filterModels(el: any, filters?: any): any;
}