///
import { BaseEventContext, InsertEventContext, MoveEventContext } from '../plugin';
import { LayoutInterface } from './interface';
export default class FlexLayout implements LayoutInterface {
beforeInsert(context: InsertEventContext, store: any): {
position: string;
beforeId: string | undefined;
data: any;
schema: any;
region: string;
index: number;
subRenderer?: import("../plugin").RendererInfo | import("../plugin").SubRendererInfo | undefined;
dragInfo?: {
id: string;
type: string;
data: any;
position?: string | undefined;
} | undefined;
node: {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & {
getClosestParentByType: (type: string) => void | ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>);
getParentNodeByCB: (callback: (node: import("mobx-state-tree").ModelCreationType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}>>) => Boolean) => {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
updateIsCommonConfig: (value: boolean) => void;
updateIsFormConfig: (value: boolean) => void;
addChild(props: {
id: string;
type: string;
label: string;
path: string;
isCommonConfig?: boolean | undefined;
isFormConfig?: boolean | undefined;
info?: import("../plugin").RendererInfo | undefined;
region?: string | undefined;
getData?: (() => any) | undefined;
preferTag?: string | undefined;
schemaPath?: string | undefined;
dialogTitle?: string | undefined;
dialogType?: string | undefined;
regionInfo?: import("../plugin").RegionConfig | undefined;
widthMutable?: boolean | undefined;
memberIndex?: number | undefined;
}): any;
removeChild(child: any): void;
toggleFold(e: import("react").MouseEvent): void;
patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map | undefined): void;
updateSchema(value: any): void;
updateSchemaStyle(value: any): void;
setComponent(value: any): void;
getComponent(): any;
getTarget(): HTMLElement | HTMLElement[] | null;
calculateHighlightBox(root?: any): void;
resetHighlightBox(root: any): void;
updateState(state: any, replace?: boolean): void;
setWidthMutable(value: any): void;
setHeightMutable(value: any): void;
} & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & {
getClosestParentByType: (type: string) => void | ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>);
getParentNodeByCB: (callback: (node: import("mobx-state-tree").ModelCreationType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}>>) => Boolean) => {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
updateIsCommonConfig: (value: boolean) => void;
updateIsFormConfig: (value: boolean) => void;
addChild(props: {
id: string;
type: string;
label: string;
path: string;
isCommonConfig?: boolean | undefined;
isFormConfig?: boolean | undefined;
info?: import("../plugin").RendererInfo | undefined;
region?: string | undefined;
getData?: (() => any) | undefined;
preferTag?: string | undefined;
schemaPath?: string | undefined;
dialogTitle?: string | undefined;
dialogType?: string | undefined;
regionInfo?: import("../plugin").RegionConfig | undefined;
widthMutable?: boolean | undefined;
memberIndex?: number | undefined;
}): any;
removeChild(child: any): void;
toggleFold(e: import("react").MouseEvent): void;
patch(store: any, force?: boolean, setPatchInfo?: ((id: string, value: any) => void) | undefined, ids?: Map | undefined): void;
updateSchema(value: any): void;
updateSchemaStyle(value: any): void;
setComponent(value: any): void;
getComponent(): any;
getTarget(): HTMLElement | HTMLElement[] | null;
calculateHighlightBox(root?: any): void;
resetHighlightBox(root: any): void;
updateState(state: any, replace?: boolean): void;
setWidthMutable(value: any): void;
setHeightMutable(value: any): void;
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
id: string;
info: import("../plugin").RendererInfo;
path: string;
schemaPath: string;
secondFactor?: boolean | undefined;
};
afterInsert(context: InsertEventContext, store: any): {
regionList: any[];
region: string;
beforeId?: string | undefined;
index: number;
data: any;
subRenderer?: import("../plugin").RendererInfo | import("../plugin").SubRendererInfo | undefined;
dragInfo?: {
id: string;
type: string;
data: any;
position?: string | undefined;
} | undefined;
node: {
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & {
getClosestParentByType: (type: string) => void | ({
parentId: string;
parentRegion: string;
isCommonConfig: boolean;
isFormConfig: boolean;
id: string;
type: string;
label: string;
regionInfo: (import("../plugin").RegionConfig & import("mobx-state-tree").IStateTreeNode>>) | undefined;
path: string;
schemaPath: string;
region: string;
preferTag: string;
state: any;
widthMutable: boolean;
heightMutable: boolean;
memberIndex: number;
folded: boolean;
patched: boolean;
x: number;
y: number;
w: number;
h: number;
dialogTitle: string;
dialogType: string;
children: import("mobx-state-tree").IMSTArray & import("mobx-state-tree").IStateTreeNode, [undefined]>>;
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any & import("mobx-state-tree").IStateTreeNode;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType;
patched: import("mobx-state-tree").IType;
x: import("mobx-state-tree").IType;
y: import("mobx-state-tree").IType;
w: import("mobx-state-tree").IType;
h: import("mobx-state-tree").IType;
dialogTitle: import("mobx-state-tree").IType;
dialogType: import("mobx-state-tree").IType;
children: import("mobx-state-tree").IOptionalIType, [undefined]>;
}, {
getData: import("mobx-state-tree").IType<() => any, () => any, () => any>;
} & {
readonly info: import("../plugin").RendererInfo;
getNodeById(id: string, regionOrType?: string | undefined): any;
getNodeByComponentId(id: string): any;
setInfo(value: import("../plugin").RendererInfo): void;
updateSharedContext(value: Record): void;
readonly rendererConfig: any;
setRendererConfig(value: RendererConfig): void;
readonly isVitualRenderer: boolean;
readonly clickable: boolean;
readonly draggable: boolean;
readonly moveable: boolean;
readonly canMoveUp: boolean;
readonly canMoveDown: boolean;
readonly removable: boolean;
readonly duplicatable: boolean;
readonly replaceable: boolean;
memberImmutable(region: string): boolean;
readonly isRegion: boolean;
readonly childRegions: any[];
readonly uniqueChildren: any[];
readonly sameIdChild: any;
readonly singleRegion: boolean;
isExists(id: string): boolean;
getChildById(id: string): any;
readonly parent: any;
readonly ancestorField: any;
readonly host: any;
readonly firstChild: any;
readonly index: any;
readonly prevSibling: any;
readonly nextSibling: any;
readonly schema: any;
readonly schemaParent: any;
readonly isSecondFactor: boolean;
} & any, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>);
getParentNodeByCB: (callback: (node: import("mobx-state-tree").ModelCreationType;
parentRegion: import("mobx-state-tree").IType;
isCommonConfig: import("mobx-state-tree").IType;
isFormConfig: import("mobx-state-tree").IType;
id: import("mobx-state-tree").IType;
type: import("mobx-state-tree").IType;
label: import("mobx-state-tree").IType;
regionInfo: import("mobx-state-tree").IMaybe>;
path: import("mobx-state-tree").IType;
schemaPath: import("mobx-state-tree").IType;
region: import("mobx-state-tree").IType;
preferTag: import("mobx-state-tree").IType;
state: import("mobx-state-tree").IOptionalIType, [undefined]>;
widthMutable: import("mobx-state-tree").IType;
heightMutable: import("mobx-state-tree").IType;
memberIndex: import("mobx-state-tree").IType;
folded: import("mobx-state-tree").IType