/// /// /// /// declare module "copyright" { export class FoundationEditorUiCopyright { static toString(): string; } } declare module "foundation/editor/ui/IUiObject" { export interface IUiObject { uniqueId: number; } export type IUiObjectMap = { [key: string]: IUiObject; }; } declare module "foundation/editor/ui/IUiResizeable" { import { IUiObject } from "foundation/editor/ui/IUiObject"; export interface IUiResizeable extends IUiObject { } export type IUiResizeableMap = { [key: string]: IUiResizeable; }; } declare module "foundation/editor/ui/IndexSpace" { export class IndexSpace { static namespaces(): string[]; } } declare module "foundation/editor/ui/UiActionEnum" { export class UiActionEnum { static SLIDE_LEFT_IN: string; static SLIDE_LEFT_OUT: string; static SLIDE_RIGHT_IN: string; static SLIDE_RIGHT_OUT: string; static SLIDE_UP_IN: string; static SLIDE_UP_OUT: string; static SLIDE_DOWN_IN: string; static SLIDE_DOWN_OUT: string; static doSlideLeftIn(element: any): void; static doSlideLeftOut(element: any): void; } } declare module "foundation/editor/ui/UiAlignEnum" { export enum UiAlignEnum { Unknown = 0, Left = 1, LeftPadding = 2, Center = 3, Right = 4, Top = 5, Middle = 6, Bottom = 7, BottomLeft = 8, BottomRight = 9 } } declare module "foundation/editor/ui/UiConstants" { export class UiConstants { static TOOLBAR_WIDTH_MAX: number; static FUNCTION_TOOLBAR_WIDTH_MAX: number; static TABLE_PAGE_SIZE: number; } } declare module "foundation/editor/ui/UiContextEventEnum" { export class UiContextEventEnum { static Login: string; static Logout: string; static SessionChanged: string; } } declare module "foundation/editor/ui/UiContext" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { UiContextEventEnum } from "foundation/editor/ui/UiContextEventEnum"; export class UiContext extends InstanceObject { eventCd: UiContextEventEnum; login: boolean; width: number; height: number; free(): void; } } declare module "foundation/editor/ui/UiControlEventEnum" { export class UiControlEventEnum { static Active: string; static Deactive: string; } } declare module "foundation/editor/ui/base/IUiComponent" { export interface IUiComponent { } } declare module "foundation/editor/ui/base/IUiControl" { import { IUiComponent } from "foundation/editor/ui/base/IUiComponent"; export interface IUiControl extends IUiComponent { } } declare module "foundation/editor/ui/config/UiConfig" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; export class UiConfig extends InstanceObject { name: string; content: any; constructor(content?: any); getConfig(path: string): any; get(path: string): any; getNumber(path: string, defaultValue: number): number; getCode(path: string, code: string): any; set(code: string, jconfig: any): void; } } declare module "foundation/editor/ui/core/UiObject" { import * as React from 'react'; import { TypeMaps } from 'cross/runtime/lang/collection/TypeMaps'; import { Class } from 'cross/runtime/lang/reflect/Class'; import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; import { IDispatcher } from 'cross/runtime/lang/IDispatcher'; import { Listener } from 'cross/runtime/lang/Listener'; export interface UiObjectProps { } export interface UiObjectState { } export class UiObject

extends React.Component implements IDispatcher { private static IdCounter; protected __class: Class; uniqueId: number; protected _maps: TypeMaps; protected _dispatcher: Dispatcher; constructor(props: any, context?: any); getClass(): Class; mapGet(key: string, name: string): any; mapSet(key: string, name: string, value: any): void; getDispatcher(): Dispatcher; findListener(code: any, owner: any, method: Function): Listener; findListenerWithParameters(code: any, owner: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): Listener; addListener(code: any, owner: any, method: Function): Listener; addListenerWithParameters(code: any, owner: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): Listener; removeListener(code: any, owner: any, method: Function): void; removeListenerWithParameters(code: any, owner: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; registerListener(code: any, owner: any, method: Function): Listener; registerListenerWithParameters(code: any, owner: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): Listener; unregisterListener(code: any, owner: any, method: Function): void; unregisterListenerWithParameters(code: any, owner: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; listen(dispatcher: IDispatcher, code: any, method: Function): Listener; listenWithParameters(dispatcher: IDispatcher, code: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): Listener; unlisten(dispatcher: IDispatcher, code: any, method: Function): void; unlistenWithParameters(dispatcher: IDispatcher, code: any, method: Function, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; dispatch(code: any, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; tryDispatch(code: any, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; clearListeners(code: string): void; clearAllListeners(): void; dispose(): void; } export type UiObjectMap = { [key: string]: UiObject; }; } declare module "foundation/editor/ui/UiObjectInfo" { export class UiObjectInfo { typeName: string; selectClass: any; namespace: string[]; declareClass: any; name: string; order: number; viewerCodes: string | Array; } } declare module "foundation/editor/ui/UiObjectService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Types } from 'cross/runtime/lang/collection/Types'; import { Service } from 'cross/runtime/module/Service'; import { UiObjectMap } from "foundation/editor/ui/core/UiObject"; import { IUiResizeable, IUiResizeableMap } from "foundation/editor/ui/IUiResizeable"; import { UiObjectInfo } from "foundation/editor/ui/UiObjectInfo"; export class UiObjectService extends Service { codeObjects: UiObjectMap; resizableObjects: IUiResizeableMap; protected _infoMap: Dictionary>; constructor(); codeRegister(code: string, object: any): void; codeUnregister(code: string, object: any): void; resizeRegister(object: IUiResizeable): void; resizeUnregister(object: IUiResizeable): void; findByCode(name: string): any; findInfos(code: string): Types; findInfoBySelectElement(code: string, element: any, nameSpace?: string): UiObjectInfo; findInfoBySelectName(code: string, element: any, nameSpace?: string): UiObjectInfo; private isType; syncInfos(code: string): Types; infoSorter(item1: UiObjectInfo, item2: UiObjectInfo): number; registeInfo(info: UiObjectInfo): void; active(): void; deactive(): void; } } declare module "foundation/editor/ui/core/UiComponent" { import { RefObject } from 'react'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { IUiComponent } from "foundation/editor/ui/base/IUiComponent"; import { UiObject, UiObjectProps, UiObjectState } from "foundation/editor/ui/core/UiObject"; export interface UiComponentProps extends UiObjectProps { name?: string; code?: string; identity?: string; } export interface UiComponentState extends UiObjectState { } export class UiComponent

extends UiObject implements IUiComponent { id: string; name: string; code: string; protected _label: string; identity: string; valid: boolean; props: any; state: any; refs: any; statusMounting: boolean; statusMount: boolean; constructor(props: any, context?: any); get label(): string; set label(value: string); createRef(): RefObject; componentPropsChange(nextProps: any, nextContext: any): void; UNSAFE_componentWillReceiveProps(nextProps: any, nextContext: any): void; componentStatusChange(state: any, props: any): void; UNSAFE_componentWillMount(): void; componentDidMountAsync(): Promise; componentDidMount(): void; UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void; componentDidUpdate(nextProps: any, nextState: any): void; componentWillUnmountAsync(): Promise; componentWillUnmount(): void; componentDidUnMount(): void; find(name: string, clazz?: any): any; findDom(value: any): any; setMountState(state: any, callback?: any): void; refresh(context?: any, callback?: any): void; } export type UiComponentMap = { [key: string]: UiComponent; }; } declare module "foundation/editor/ui/base/IUiContainer" { import { IUiControl } from "foundation/editor/ui/base/IUiControl"; export interface IUiContainer extends IUiControl { } } declare module "foundation/editor/ui/UiStorageEnum" { export class UiStorageEnum { static Config: string; } } declare module "foundation/editor/ui/config/UiConfigService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { Service } from 'cross/runtime/module/Service'; import { DatabaseDeviceService } from 'cross/core/device/database/DatabaseDeviceService'; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; export class UiConfigService extends Service { protected _configs: Dictionary; protected _databaseService: DatabaseDeviceService; findConfig(frameCode: string): UiConfig; loadConfigAsync(frameCode: string): Promise>; saveConfigAsync(frameCode: string, config: UiConfig): Promise; } } declare module "foundation/editor/ui/core/UiContainer" { import * as PropTypes from 'prop-types'; import { Types } from 'cross/runtime/lang/collection/Types'; import { IUiContainer } from "foundation/editor/ui/base/IUiContainer"; import { UiConfigService } from "foundation/editor/ui/config/UiConfigService"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; export interface UiContainerProps extends UiControlProps { } export interface UiContainerState extends UiControlState { } export class UiContainer

extends UiControl implements IUiContainer { static contextTypes: { parent: PropTypes.Requireable; }; static childContextTypes: { parent: PropTypes.Validator; }; optionConfigContainer: boolean; maxZIndex: number; protected _children: Types; protected _configService: UiConfigService; constructor(props: any, context?: any); get children(): Types; makeIdentityCode(controlCode: string): string; getChildContext(): any; containsChild(child: any): boolean; appendChild(child: any): void; removeChild(child: any): void; componentShow(context?: UiContext): void; componentHide(context?: UiContext): void; resize(context?: any): void; sort(): void; } } declare module "foundation/editor/ui/core/UiControl" { import * as PropTypes from 'prop-types'; import { EventObject } from 'cross/runtime/lang/EventObject'; import { IUiControl } from "foundation/editor/ui/base/IUiControl"; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiComponent, UiComponentProps, UiComponentState } from "foundation/editor/ui/core/UiComponent"; export interface UiControlProps extends UiComponentProps { className?: string; configAble?: boolean; children?: any; } export interface UiControlState extends UiComponentState { } export class UiControl

extends UiComponent implements IUiControl { static contextTypes: { parent: PropTypes.Requireable; }; parent: UiControl; optionConfigable: boolean; optionResize: boolean; visible: boolean; editable: boolean; isSetup: boolean; resizable: boolean; isDisable: boolean; classStr: string; zIndex: number; width: string; height: string; hint: string; statusHide: boolean; statusChild: boolean; protected _config: UiConfig; constructor(props: P, context?: any); get config(): UiConfig; onSetup(): void; getConfigName(): string; getConfigPath(): string; UNSAFE_componentWillMount(): void; componentDidMount(): void; UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void; componentActive(context?: UiContext): void; componentLoadConfig(context: UiContext, config: UiConfig): void; componentShowBefore(context?: UiContext): void; componentShowAfter(context?: UiContext): void; componentShow(context?: UiContext): void; componentSession(context?: UiContext): void; componentResize(context?: UiContext): void; componentHideBefore(context?: UiContext): void; componentHideAfter(context?: UiContext): void; componentHide(context?: UiContext): void; componentSaveConfig(context: UiContext, config: UiConfig): void; componentDeactive(context?: UiContext): void; componentWillUnmount(): void; containCss(className: string): boolean; addClass(className: string): void; removeClass(className: string): void; toggleClass(): void; makeStyleClass(styleName?: string): string; show(p1?: any, p2?: any): void; hide(): void; enable(): void; disable(): void; setPropKey(name: any, value: any): void; isVisible(): boolean; error(): void; testParentByName(name: string): boolean; findConfigContainer(): any; findConfig(): UiConfig; findParentByName(name: string): any; findParentByClass(clazz: Function): any; dispatchParent(code: any, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; dispatchParentEvent(event: EventObject): void; } export type UiControlMap = { [key: string]: UiControl; }; } declare module "foundation/editor/ui/UiControlService" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Service } from 'cross/runtime/module/Service'; import { ResizeEvent } from 'cross/editor/device/screen/ResizeEvent'; import { UiObjectService } from "foundation/editor/ui/UiObjectService"; export class UiControlService extends Service { protected _objectService: UiObjectService; find(name: string): any; get(name: string): any; active(): void; deactive(): void; sessionLogin(): void; sessionChanged(): void; sessionLogout(): void; resize(): void; onResize(sender: ListenerContext, event: ResizeEvent): void; } } declare module "foundation/editor/ui/UiControlStyleUtil" { export class UiControlStyleUtil { private static _styles; static STYLE_WIDTH_FULL: any; static STYLE_WIDTH_HALF: any; static STYLE_HEIGHT_FULL: any; static STYLE_HEIGHT_FULL_TOP40_OVERFLOWY: any; static STYLE_HEIGHT_FULL_TOP40_OVERFLOWXY: any; static STYLE_HEIGHT_HALF: any; static STYLE_SIZE_FULL: any; static STYLE_SIZE_FULL_OVERFLOWY: any; static STYLE_SIZE_FULL_POSITION_RELATIVE: any; static STYLE_MARGIN_0: any; static STYLE_MARGIN_TOP_0: any; static STYLE_COLOR_RED: any; static STYLE_FLOAT_LEFT: any; static STYLE_FLOAT_RIGHT: any; static STYLE_BACKGROUND_COLOR_WHITE: any; static get(style: any): any; static getStyle(style: any): any; } } declare module "foundation/editor/ui/core/UiControlStyle" { export class UiControlStyle { protected _items: Array; get items(): Array; add(styleName: string): void; remove(styleName: string): void; toString(): string; } } declare module "foundation/editor/ui/UiUtil" { export interface UiReference { readonly current: T | null; } export class UiUtil { static createRef(): UiReference; static createElement(type: any, properies?: any): T; static setStateProp(state: any, prevState: any, nextProps: any, name: string): any; static setStateProps(state: any, prevState: any, nextProps: any, ...names: Array): any; static setState(state: any, prevState: any, nextProps: any, name: string): any; static setStates(state: any, prevState: any, nextProps: any, ...names: Array): any; static checkKeys(controls: any): void; } } declare module "foundation/editor/ui/core/UiSafeComponent" { import { ErrorInfo, RefObject } from 'react'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { IUiComponent } from "foundation/editor/ui/base/IUiComponent"; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiObject, UiObjectProps, UiObjectState } from "foundation/editor/ui/core/UiObject"; export interface UiSafeComponentProps extends UiObjectProps { name?: string; code?: string; identity?: string; children?: any; } export interface UiSafeComponentState extends UiObjectState { owner: any; } export class UiSafeComponent

extends UiObject implements IUiComponent { props: P; state: S; refs: any; name: string; code: string; identity: string; statusMounting: boolean; statusMount: boolean; constructor(props: P, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; createRef(): RefObject; componentLoadConfig(context: UiContext, jconfig: UiConfig): void; componentSaveConfig(context: UiContext, jconfig: UiConfig): void; componentDidMountAsync(): Promise; componentDidMount(): void; getSnapshotBeforeUpdate(prevProps: any, prevState: any): any; componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void; componentWillUnmountAsync(): Promise; componentWillUnmount(): void; componentDidCatch?(error: Error, errorInfo: ErrorInfo): void; find(name: string, clazz?: any): any; findDom(value: any): any; setMountState(state: any, callback?: any): void; refresh(context?: any, callback?: any): void; } export type UiSafeComponentMap = { [key: string]: UiSafeComponent; }; } declare module "foundation/editor/ui/core/UiSafeControl" { import * as PropTypes from 'prop-types'; import { EventObject } from 'cross/runtime/lang/EventObject'; import { IUiControl } from "foundation/editor/ui/base/IUiControl"; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; import { UiControlStyle } from "foundation/editor/ui/core/UiControlStyle"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiSafeComponent, UiSafeComponentProps, UiSafeComponentState } from "foundation/editor/ui/core/UiSafeComponent"; export interface UiSafeControlProps extends UiSafeComponentProps { id?: string; className?: string; enable?: boolean; visible?: boolean; style?: any; resizable?: boolean; } export interface UiSafeControlState extends UiSafeComponentState { className?: string; enable?: boolean; visible?: boolean; style?: any; } export class UiSafeControl

extends UiSafeComponent implements IUiControl { static contextTypes: { parent: PropTypes.Requireable; }; static defaultProps: { enable: boolean; visible: boolean; }; optionConfigable: boolean; optionResize: boolean; resizable: boolean; parent: any; statusChild: boolean; protected _config: UiConfig; constructor(props: P, context?: any); get config(): UiConfig; get styleClass(): string; getPath(): string; getConfigName(): string; getConfigPath(): string; static getDerivedStateFromProps(nextProps: any, prevState: any): any; componentDidMount(): void; componentActive(context?: UiContext): void; componentLoadConfig(context: UiContext, config: UiConfig): void; componentShowBefore(context?: UiContext): void; componentShowAfter(context?: UiContext): void; componentShow(context?: UiContext): void; componentSession(context?: UiContext): void; componentResize(context?: UiContext): void; componentHideBefore(context?: UiContext): void; componentHideAfter(context?: UiContext): void; componentHide(context?: UiContext): void; componentSaveConfig(context: UiContext, config: UiConfig): void; componentDeactive(context?: UiContext): void; componentWillUnmount(): void; findConfigContainer(): any; findParentByClass(clazz: Function): any; enable(): void; disable(): void; setEnable(value: boolean): void; dispatchParent(code: any, p1?: any, p2?: any, p3?: any, p4?: any, p5?: any): void; dispatchParentEvent(event: EventObject): void; makeStyleClass(style: UiControlStyle): void; makeStyleClassName(): string; } export type UiSafeControlMap = { [key: string]: UiSafeControl; }; } declare module "foundation/editor/ui/core/UiSafeContainer" { import * as PropTypes from 'prop-types'; import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { IUiContainer } from "foundation/editor/ui/base/IUiContainer"; import { UiConfigService } from "foundation/editor/ui/config/UiConfigService"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiSafeContainerProps extends UiSafeControlProps { } export interface UiSafeContainerState extends UiSafeControlState { } export class UiSafeContainer

extends UiSafeControl implements IUiContainer { static contextTypes: { parent: PropTypes.Requireable; }; static childContextTypes: { parent: PropTypes.Validator; }; optionConfigContainer: boolean; protected _children: Types; protected _configService: UiConfigService; constructor(props: P, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; getChildContext(): any; get children(): Types; containsChild(child: any): boolean; appendChild(child: any): void; loadConfigAsync(): Promise; saveConfigAsync(): Promise; componentDidMount(): void; componentShow(context?: UiContext): void; componentHide(context?: UiContext): void; componentWillUnmount(): void; removeChild(child: any): void; } } declare module "foundation/editor/ui/form/UiIcon" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiIconProps extends UiSafeControlProps { type?: string; src?: string; size?: string; width?: string; height?: string; onClick?: any; } export interface UiIconState extends UiSafeControlState { _type: string; type: string; } export class UiIcon extends UiSafeControl { protected _style: any; setType(type: any): void; render(): JSX.Element; } } declare module "foundation/editor/ui/UiControlUtil" { import * as React from 'react'; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiSafeControl } from "foundation/editor/ui/core/UiSafeControl"; import { UiContext } from "foundation/editor/ui/UiContext"; export class UiControlUtil { static BLANK: React.JSX.Element; static makeTreeNodeText(icon?: any, flag?: string, name?: string, info?: string, label?: string, note?: string, eye?: any, styles?: any): JSX.Element; static loadConfig(context: UiContext, control: UiControl | UiSafeControl, config: UiConfig): void; static saveConfig(context: UiContext, control: UiControl, config: UiConfig): void; } } declare module "foundation/editor/ui/UiCursorEnum" { export class UiCursorEnum { static Default: string; static Auto: string; static NorthWest: string; static SouthWest: string; static SouthEast: string; static NorthEast: string; static West: string; static South: string; static East: string; static North: string; static Pointer: string; static Cross: string; static Move: string; } } declare module "foundation/editor/ui/UiDirectionEnum" { export class UiDirectionEnum { static Horizontal: string; static Vertical: string; } } declare module "foundation/editor/ui/UiDragable" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; export interface UiDragable { onDragStart(sender: ListenerContext, event: MouseDeviceEvent): void; onDragMove(sender: ListenerContext, event: MouseDeviceEvent): void; onDragEnd(sender: ListenerContext, event: MouseDeviceEvent): void; } } declare module "foundation/editor/ui/UiFloating" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiFloating extends UiContainer { opener: UiControl; } } declare module "foundation/editor/ui/UiHtmlUtil" { export class UiHtmlUtil { static makeSpecialDisplay(source: string, color: string, searchValue: string, searchColor: string): JSX.Element; } } declare module "foundation/editor/ui/UiIdentityEnum" { export class UiIdentityEnum { static Desktop: string; static MessageTip: string; static HelperTip: string; static MessageBox: string; static LoadingLayer: string; static LockingLayer: string; } } declare module "foundation/editor/ui/UiMessageService" { import { Service } from 'cross/runtime/module/Service'; export class UiMessageService extends Service { showMessage(level: string, content: string): void; info(text: string): void; warn(text: string): void; error(text: string): void; fatal(text: string): void; dispose(): void; } } declare module "foundation/editor/ui/UiObjectDeclare" { export function UiObjectDeclare(typeName: any, clazz: any, namespace: string | string[], name?: string, order?: number): (target: any) => void; } declare module "foundation/editor/ui/UiPopupService" { import { Service } from 'cross/runtime/module/Service'; export class UiPopupService extends Service { } } declare module "foundation/editor/ui/UiStyleUtil" { export class UiStyleUtil { private static _styles; static WIDTH_FULL: any; static WIDTH_HALF: any; static HEIGHT_FULL: any; static HEIGHT_FULL_TOP40_OVERFLOWY: any; static HEIGHT_FULL_TOP40_OVERFLOWXY: any; static HEIGHT_HALF: any; static SIZE_FULL: any; static SIZE_FULL_OVERFLOWY: any; static SIZE_FULL_POSITION_RELATIVE: any; static MARGIN_0: any; static MARGIN_TOP_0: any; static COLOR_RED: any; static FLOAT_LEFT: any; static FLOAT_RIGHT: any; static DISPLAY_NONE: any; static DISPLAY_BLOCK: any; static BACKGROUND_COLOR_WHITE: any; static CURSOR_POINTER: any; static get(style: any): any; static getStyle(style: any): any; } } declare module "foundation/editor/ui/UiWindowManagerFace" { export interface UiWindowManagerFace { showLoading(): any; hideLoading(): any; } } declare module "foundation/editor/ui/core/UiWindow" { import { HotkeyService } from 'cross/editor/module/hotkey/HotkeyService'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiWindow extends UiContainer { windowId: string; htmlPanel: any; confirmCallback: any; cancelCallback: any; protected _hotkeyService: HotkeyService; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentDidMount(): void; onCloseClick: (event: any) => void; show(backdropDisable?: any): void; hide(): void; } export type UiWindowMap = { [key: string]: UiWindow; }; } declare module "foundation/editor/ui/UiWindowService" { import { Service } from 'cross/runtime/module/Service'; import { UiWindow } from "foundation/editor/ui/core/UiWindow"; import { UiControlService } from "foundation/editor/ui/UiControlService"; import { UiWindowManagerFace } from "foundation/editor/ui/UiWindowManagerFace"; export type WindowMap = { [key: string]: UiWindow; }; export class UiWindowService extends Service { manager: UiWindowManagerFace; current: UiWindow; windowList: WindowMap; protected _controlService: UiControlService; push(window: UiWindow): void; showLoading(): void; hideLoading(): void; showMessage(message: string): void; showStatus(text: string): void; find(name: string): UiWindow; show(name: string): void; hide(name: string): void; } } declare module "foundation/editor/ui/authorized/AuthControlTypeEnum" { export class AuthControlTypeEnum { static Display: string; static Disable: string; static Switch: string; } } declare module "foundation/editor/ui/authorized/Authorized" { import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { PermissionService } from 'foundation/data/common/permission/PermissionService'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class AuthorizedOptions { identityCode: string; type: string; noMatch: any; } export class Authorized extends UiContainer { state: AuthorizedOptions; private _actions; protected _permissionService: PermissionService; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onPermissionChange(sender: any, event: PermissionEvent): void; renderDisplay(value: any): any; renderDisable(value: any): any; renderDisplaySwitch(value: any): any; render(): JSX.Element; } } declare module "foundation/editor/ui/base/FieldsSet" { export class FieldSet { fields: any; constructor(); setField(name: any, value: any): void; getField(name: any): any; } } declare module "foundation/editor/ui/base/ReactUtil" { export class ReactUtil { static findDom(instance: any): any; static showDom(instance: any): void; static hideDom(instance: any): void; } } declare module "foundation/editor/ui/container/UiBar" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiBar extends UiControl { } } declare module "foundation/editor/ui/container/UiDropDown" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiDropDown extends UiContainer { state: { data: any[]; value: any; showLabel: boolean; }; classStr: string; clickHandle: any; icon: string; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; render(): JSX.Element; } } declare module "foundation/editor/ui/core/UiPermissionContainer" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { PermissionService } from 'foundation/data/common/permission/PermissionService'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiPermissionContainer extends UiContainer { statusPermission: boolean; permission: Array>; protected _permissionService: PermissionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentWillUnmount(): void; onPermission(sender: ListenerContext, event: PermissionEvent): void; changePermission(value: boolean): void; } } declare module "foundation/editor/ui/container/UiDropList" { import { UiPermissionContainer } from "foundation/editor/ui/core/UiPermissionContainer"; export class DropUnit { label: string; value: string; constructor(label?: string, value?: string); } export type UiDropListState = { enable: boolean; data: Array; currentItem: any; }; export class UiDropList extends UiPermissionContainer { static DEFAULT_ITEM: DropUnit; state: UiDropListState; clickHandle: Function; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; findItem(value: any): any; onItemClick(data: any): any; makeList(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPageSheet" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiPageSheet extends UiContainer { isActive: boolean; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; componentDidUpdate(nextProps?: any, nextState?: any): void; active(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPageControl" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiContext } from "foundation/editor/ui/UiContext"; export class UiPageControl extends UiContainer { currentPageName: string; tabclickCallback: any; protected _pages: Array; protected _elements: Array; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; componentDidMount(): void; componentResize(context?: UiContext): void; isActivePage(name: string): boolean; findPage(name: string): any; active(): void; activePage(name: string): any; deactivePage(name: string): any; activePageAll(): void; deactivePageAll(): void; select(name: string): void; onTabClick(name: string): any; protected makeButtons(): any[]; protected makePages(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiExpandPageControl" { import { UiContext } from "foundation/editor/ui/UiContext"; import { UiPageControl } from "foundation/editor/ui/container/UiPageControl"; export class UiExpandPageControl extends UiPageControl { private _caption; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; componentResize(context?: UiContext): void; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiListGroup" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiListGroup extends UiContainer { state: { default: string; current: string; groups: any[]; }; selectFunc: any; filterString: string; selectMenuItem: any; UNSAFE_componentWillMount(): void; doFilter(v: any): void; testFilter(v: any): boolean; loadData(g: any, d: any): void; onItemClick(v: any): any; onHeadClick(): any; makeList(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiListItem" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export type UiListItemState = { data: any; }; export class UiListItem extends UiControl { state: UiListItemState; isSelect: boolean; clickHandle: any; selectHandle: any; UNSAFE_componentWillMount(): void; get data(): any; onClick(): any; doSelect(value: boolean): void; } } declare module "foundation/editor/ui/container/UiListView" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiListItem } from "foundation/editor/ui/container/UiListItem"; export type UiListViewState = { datas: any; }; export class UiListView extends UiContainer { state: UiListViewState; itemClass: any; clickHandle: any; deleteHandle: any; customHandle: any; _children: Types; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; loadData(data: any): void; onItemSelect(): any; onItemClick(): any; onItemDelete(item: any): any; onItemCustom(item: any): any; makeItem(data: any): JSX.Element; makeList(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiMultiSelectDropDown" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiMultiSelectDropDown extends UiContainer { state: { data: any[]; value: any; showLabel: boolean; showDropDown: boolean; }; private icon; classStr: string; clickHandle: any; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; show(): any; hide(): any; onClick(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPageIndicator" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiPageIndicator extends UiControl { display: boolean; displayPageLength: number; classStr: string; constructor(props?: any, context?: any); compute(): void; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onNextClick(): any; onPageClick(page: number): any; makePageSet(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPageList" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiPageList extends UiControl { display: boolean; displayPageLength: number; classStr: string; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; updateCurrentPage(): any; private getStartIndex; private getEndIndex; refreshPage(totalPage: number): void; onNextClick(): any; onLastClick(): any; onPageClick(page: number): any; onInputChange(): any; onInputKeyUp(): any; onSelectChange(e: any): void; makeClass(): void; makePageSet(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPanel" { import { Listeners } from 'cross/runtime/lang/Listeners'; import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; export interface UiPanelProps extends UiControlProps { } export interface UiPanelState extends UiControlState { } export class UiPanel

extends UiControl { minimumAble: boolean; maximumAble: boolean; closeAble: boolean; lsnsMinimum: Listeners; lsnsMaximum: Listeners; lsnsClose: Listeners; UNSAFE_componentWillMount(): void; componentDidMount(): void; minimum(action?: string, element?: any): void; maximum(action?: string, element?: any): void; close(action?: string): void; show(action?: string): void; } } declare module "foundation/editor/ui/container/UiPopupContainer" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiPopupContainerState = { datas: any; }; export class UiPopupContainer extends UiContainer { state: UiPopupContainerState; constructor(props?: any, context?: any); render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiPropertyGroup" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiPropertyData { name: string; label: string; value: any; isEditor: boolean; constructor(); } export class UiPropertyGroupState { title: string; target: any; properties: Array; } export class UiPropertyGroup extends UiContainer { state: UiPropertyGroupState; callback: Function; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps: any, nextState: any): void; onFieldChange(property: any): any; makeList(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiSplitPanel" { import { DeviceService } from 'cross/runtime/module/device/DeviceService'; import { UiContainer, UiContainerProps, UiContainerState } from "foundation/editor/ui/core/UiContainer"; export interface UiSplitPanelProps extends UiContainerProps { mode: string; closeFormer?: boolean; closeLatter?: boolean; canDrag?: boolean; position: number; reverse?: boolean; onResize?: any; useVirtualDrag?: boolean; useFold?: boolean; } export interface UiSplitPanelState extends UiContainerState { position: number; virtualPosition: number; } export class UiSplitPanel extends UiContainer { protected mode: string; protected canDrag: boolean; protected isReverse: boolean; protected isMouseDown: boolean; protected preX?: number; protected preY?: number; state: UiSplitPanelState; isSpread: boolean; private preFoldPosition; private isMouseMoving; private positionAfterMove; private splitLineWidth; protected _deviceService: DeviceService; constructor(props?: UiSplitPanelProps, context?: any); componentPropsChange(nextProps: UiSplitPanelProps, nextContext: any): void; private dragRange; private buildStyleByMode; private handleMouseDown; private handleMouseMove; private handleMouseUp; private getMiddleStyle; private getVirtualStyle; private setFoldPosition; private getFoldIcon; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiSwitcher" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiSwitcher extends UiContainer { state: { data: any[]; currentItem: any; }; classStr: string; switchHandle: any; UNSAFE_componentWillMount(): void; findItem(value: string): any; onItemClick(data: any): any; protected makeList(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/container/UiSwitcherUnit" { export class UiSwitcherUnit { label: string; value: string; } } declare module "foundation/editor/ui/core/UiConfigContainer" { import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { IUiContainer } from "foundation/editor/ui/base/IUiContainer"; import { UiContainer, UiContainerProps, UiContainerState } from "foundation/editor/ui/core/UiContainer"; export interface UiConfigContainerProps extends UiContainerProps { } export interface UiConfigContainerState extends UiContainerState { statusConfig: boolean; } export class UiConfigContainer

extends UiContainer implements IUiContainer { state: UiConfigContainerState; constructor(props: P, context?: S); loadConfigAsync(): Promise; saveConfigAsync(): Promise; componentDidMount(): void; componentWillUnmount(): void; } } declare module "foundation/editor/ui/core/UiEditControl" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiEditControl extends UiControl { } } declare module "foundation/editor/ui/core/UiLayer" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiLayer extends UiContainer { htmlPanel: any; } export type UiLayerMap = { [key: string]: UiLayer; }; } declare module "foundation/editor/ui/core/UiOptionContainer" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { EditorOptionService } from 'cross/editor/module/option/EditorOptionService'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { UiContainer, UiContainerProps, UiContainerState } from "foundation/editor/ui/core/UiContainer"; export interface UiOptionContainerProps extends UiContainerProps { } export interface UiOptionContainerState extends UiContainerState { } export class UiOptionContainer

extends UiContainer { statusDisable: boolean; optionCode: string; protected _optionService: EditorOptionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentWillUnmount(): void; onOptionChange(sender: ListenerContext, event: PermissionEvent): void; changeOption(value: boolean): void; } } declare module "foundation/editor/ui/core/UiOptionContainer2" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { EditorOptionService } from 'cross/editor/module/option/EditorOptionService'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiOptionContainer2Props extends UiSafeContainerProps { } export interface UiOptionContainer2State extends UiSafeContainerState { } export class UiOptionContainer2

extends UiSafeContainer { statusDisable: boolean; optionCode: string; protected _optionService: EditorOptionService; constructor(props?: any, context?: any); componentWillUnmount(): void; onOptionChange(sender: ListenerContext, event: PermissionEvent): void; changeOption(value: boolean): void; } } declare module "foundation/editor/ui/core/UiPermissionControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { PermissionService } from 'foundation/data/common/permission/PermissionService'; import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; export interface UiPermissionControlProps extends UiControlProps { } export interface UiPermissionControlState extends UiControlState { permission: boolean; } export class UiPermissionControl

extends UiControl { statusPermission: boolean; permission: Array>; protected _permissionService: PermissionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentWillUnmount(): void; onPermission(sender: ListenerContext, event: PermissionEvent): void; changePermission(value: boolean): void; } } declare module "foundation/editor/ui/core/UiOptionPermissionControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { EditorOptionService } from 'cross/editor/module/option/EditorOptionService'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { UiPermissionControl, UiPermissionControlProps, UiPermissionControlState } from "foundation/editor/ui/core/UiPermissionControl"; export interface UiOptionPermissionControlProps extends UiPermissionControlProps { } export interface UiOptionPermissionControlState extends UiPermissionControlState { statusDisable: boolean; } export class UiOptionPermissionControl

extends UiPermissionControl { statusDisable: boolean; optionCode: string; protected _optionService: EditorOptionService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentWillUnmount(): void; onOptionChange(sender: ListenerContext, event: PermissionEvent): void; changeOption(value: boolean): void; } } declare module "foundation/editor/ui/core/UiPickerWindow" { import { UiWindow } from "foundation/editor/ui/core/UiWindow"; export class UiPickerWindow extends UiWindow { loadData(data: any): void; } } declare module "foundation/editor/ui/core/UiSafePermissionControl" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { PermissionEvent } from 'foundation/data/common/permission/PermissionEvent'; import { PermissionService } from 'foundation/data/common/permission/PermissionService'; import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiSafePermissionControlProps extends UiSafeControlProps { permission: any; } export interface UiSafePermissionControlState extends UiSafeControlState { permission: any; } export class UiSafePermissionControl

extends UiSafeControl { statusPermission: boolean; protected _permissionService: PermissionService; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; componentDidMount(): void; componentWillUnmount(): void; onPermission(sender: ListenerContext, event: PermissionEvent): void; changePermission(value: boolean): void; } } declare module "foundation/editor/ui/data/UiDataActionEnum" { export class UiDataActionEnum { static Insert: string; static Update: string; static Delete: string; static Copy: string; static Paste: string; static hasAction(actions: any, actionCd: UiDataActionEnum): boolean; } } declare module "foundation/editor/ui/data/UiDataRow" { import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { UiDataDataset } from "foundation/editor/ui/data/UiDataDataset"; export class UiDataRow extends InstanceObject { dataset: UiDataDataset; index: number; statusCd: string; values: any; origins: any; isEditor: boolean; isManualInput: boolean; children: Array; constructor(); get(name: string): any; set(name: string, value: any): void; static get(row: any, name: string, defaultValue?: any): any; static set(row: any, name: string, value: any): any; static getString(row: any, name: string, defaultValue?: any): string; loadData(row: any): any; loadChildrenData(row: any): void; } } declare module "foundation/editor/ui/data/UiDataDataset" { import { Types } from 'cross/runtime/lang/collection/Types'; import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { DataOptions } from 'cross/data/module/dataset/DataOptions'; import { SortField } from 'foundation/data/common/structure/StructureDatasetQuery'; import { UiDataRow } from "foundation/editor/ui/data/UiDataRow"; export class UiDataDataset extends Dispatcher { keyName: string; sorts: Types; pageCurrent: number; pageSize: number; total: number; protected _search: DataOptions; protected _rows: Types; constructor(); get search(): DataOptions; get rows(): Types; loadArray(rows: Array): void; fetchAsync(): Promise; get(): void; prepare(): void; insert(): void; update(): void; deleteAsync(id: string): Promise; } } declare module "foundation/editor/ui/data/UiDataDatasetController" { import { Types } from 'cross/runtime/lang/collection/Types'; import { ResultObject } from 'cross/runtime/lang/ResultObject'; import { UiDataDataset } from "foundation/editor/ui/data/UiDataDataset"; import { UiDataRow } from "foundation/editor/ui/data/UiDataRow"; export class UiDataDatasetController extends UiDataDataset { protected _newRows: Types; selectedKeys: Array; selectedRows: Array; statusReady: boolean; constructor(); get selectedKey(): string; get selectedRow(): any; loadAsync(): Promise; fetchAsync(): Promise; getAsync(id: string): Promise; prepareAsync(): Promise; insertAsync(data: any): Promise; updateAsync(data: any): Promise; deleteAsync(id: string): Promise; } } declare module "foundation/editor/ui/data/UiDataDatasetEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class UiDataDatasetEvent extends EventObject { } } declare module "foundation/editor/ui/data/UiDataDatasetEventEnum" { export class UiDataDatasetEventEnum { static Loaded: string; } } declare module "foundation/editor/ui/data/UiDataModeEnum" { export class UiDataModeEnum { static Insert: string; static Copy: string; static Update: string; static Delete: string; } } declare module "foundation/editor/ui/desktop/UiDeskCatalogEnum" { export class UiDesktopCatalogEnum { static Floorplan: string; static Furniture: string; static Pattern: string; } } declare module "foundation/editor/ui/desktop/UiDesktop" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiDesktopProps extends UiSafeContainerProps { } export interface UiDesktopState extends UiSafeContainerState { } export class UiDesktop

extends UiSafeContainer { containers: Types; constructor(props: any, context?: any); switchPanel(panel: any): void; } } declare module "foundation/editor/ui/desktop/UiDesktopCatalogSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiDesktopCatalogEnum } from "foundation/editor/ui/desktop/UiDeskCatalogEnum"; export type UiDesktopCatalogItem = { name: UiDesktopCatalogEnum; view: any; }; export class UiDesktopCatalogSpace extends UiContainer { activeItem: UiDesktopCatalogItem; items: Types; history: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); findByName(name: UiDesktopCatalogEnum): UiDesktopCatalogItem; register(name: UiDesktopCatalogEnum, view: any): void; select(name: UiDesktopCatalogEnum): void; store(): void; restore(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopControlEnum" { export class UiDesktopControlEnum { static Main: string; static Base: string; static Desktop: string; static HeaderSpace: string; static Header: string; static TitleSpace: string; static ToolbarSpace: string; static Toolbar: string; static SideSpace: string; static Side: string; static CatalogSpace: string; static Catalog: string; static DataSpace: string; static PropertySpace: string; static Property: string; static PropertyStatusSpace: string; static WorkSpace: string; static WorkSpaceFrame: string; static ViewSpace: string; static Login: string; static LoginSpace: string; static LoginWindow: string; } } declare module "foundation/editor/ui/desktop/UiDesktopDataSpace" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopDataPanelItem = { name: string; view: any; }; export class UiDesktopDataSpace extends UiContainer { items: Array; constructor(props: any, context?: any); findByName(name: string): UiContainer; register(name: string, view: any): void; select(name: string): void; store(): void; restore(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class UiDesktopEvent extends EventObject { frameCd: string; viewCd: string; mouseX: number; mouseY: number; ctrlKey: boolean; altKey: boolean; keyInput: boolean; keyCode: number; free(): void; } } declare module "foundation/editor/ui/desktop/UiDesktopEventEnum" { export class UiDesktopEventEnum { static Active: string; static ActiveReady: string; static Ready: string; static Lock: string; static Unlock: string; static FrameModeChanged: string; static ViewModeChanged: string; static EditModeChanged: string; static MouseDown: string; static MouseUp: string; static KeyboardDown: string; static KeyboardUp: string; static Resize: string; static Deactive: string; } } declare module "foundation/editor/ui/desktop/UiDesktopFrame" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiDesktopFrame extends UiContainer { id: string; htmlPanel: any; } } declare module "foundation/editor/ui/desktop/UiDesktopHeaderSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export type UiDesktopHeaderItem = { view: any; order: number; }; export interface UiDesktopHeaderSpaceProps extends UiSafeContainerProps { } export interface UiDesktopHeaderSpaceState extends UiSafeContainerState { } export class UiDesktopHeaderSpace extends UiSafeContainer { activeHeader: UiDesktopHeaderItem; headers: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); register(panel: any, order?: number): void; reset(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopPropertySpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopPropertyItem = { name: string; view: any; }; export class UiDesktopPropertySpace extends UiContainer { activeItem: UiDesktopPropertyItem; items: Types; history: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); findByName(name: string): UiDesktopPropertyItem; register(name: string, view: any): void; select(name: string): void; store(): void; restore(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopPropertyStatusSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopPropertyStatusItem = { name: string; view: any; }; export class UiDesktopPropertyStatusSpace extends UiContainer { activeItem: UiDesktopPropertyStatusItem; items: Types; history: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); findByName(name: string): UiDesktopPropertyStatusItem; register(name: string, view: any): void; select(name: string): void; store(): void; restore(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/message/UiMessageBox" { import { UiWindow } from "foundation/editor/ui/core/UiWindow"; export type UiMessageBoxState = { title: string; content: string; successLabel: string; cancelLabel: string; }; export class UiMessageBox extends UiWindow { state: UiMessageBoxState; successCallback: any; failCallback: any; closeIsCancel: boolean; constructor(props: any, context?: any); showConfirm(title: string, content: string, successHandle?: any, failHandle?: any, successTitle?: string, cancelTitle?: string, closeIsCancel?: boolean): void; clear(): void; onConfirmClick: (event: any) => void; onCancelClick: (event: any) => void; onCloseClick: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/message/UiHelperTip" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiHelperTip extends UiControl { state: { helper: any; callback: any; isIgnore: boolean; }; constructor(props: any, context?: any); show(helper: any, callback?: any): void; hide(): void; onCloseClick: () => void; onIgnoreClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/layer/UiLoadingLayer" { import { UiLayer } from "foundation/editor/ui/core/UiLayer"; export type UiLoadingState = { display: boolean; }; export class UiLoadingLayer extends UiLayer { state: UiLoadingState; constructor(props: any, context?: any); show(): void; hide(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/layer/UiLockingLayer" { import { LockService } from 'cross/runtime/module/lock/LockService'; import { UiLayer } from "foundation/editor/ui/core/UiLayer"; export type UiLockingState = { display: boolean; }; export class UiLockingLayer extends UiLayer { state: UiLockingState; protected _lockService: LockService; constructor(props: any, context?: any); show(): void; hide(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/message/UiMessageComponent" { import { UiContainer, UiContainerProps, UiContainerState } from "foundation/editor/ui/core/UiContainer"; export interface UiMessageBoxProps extends UiContainerProps { } export interface UiMessageBoxState extends UiContainerState { title: string; content: string; successLabel: string; cancelLabel: string; show: boolean; } export class UiMessageComponent extends UiContainer { state: UiMessageBoxState; successCallback: any; failCallback: any; closeIsCancel: boolean; constructor(props: any, context?: any); show: () => void; hide: () => void; showConfirm(title: string, content: string, successHandle?: any, failHandle?: any, successTitle?: string, cancelTitle?: string, closeIsCancel?: boolean): void; clear: () => void; onCloseClick: () => void; onCancelClick: () => void; onConfirmClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiMainDesktop" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiLayer } from "foundation/editor/ui/core/UiLayer"; import { UiWindow } from "foundation/editor/ui/core/UiWindow"; export class UiMainDesktop extends UiContainer { frames: Types; layers: Types; windows: Types; constructor(props: any, context?: any); render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiHelperService" { import { Service } from 'cross/runtime/module/Service'; import { StorageDeviceService } from 'cross/core/device/storage/StorageDeviceService'; import { UiDesktopService } from "foundation/editor/ui/desktop/UiDesktopService"; import { UiMainDesktop } from "foundation/editor/ui/desktop/UiMainDesktop"; export class HelperStorageItem { isIgnore: boolean; isComplete: boolean; } export type HelperStorageItemMap = { [key: string]: HelperStorageItem; }; export class HelperStorageManager { protected _storageService: StorageDeviceService; configs: HelperStorageItemMap; load(): void; save(): void; reset(): void; getConfig(name: string): HelperStorageItem; setConfig(name: string, item: HelperStorageItem): HelperStorageItem; } export class HelperLogic { name: string; type: string; repeatType: string; content: any; completeHandle: any; level: string; noIgnoreOption: boolean; } export type HelperLogicMap = { [key: string]: HelperLogic; }; export class UiHelperService extends Service { protected _desktop: UiMainDesktop; logics: HelperLogicMap; manager: HelperStorageManager; protected _desktopService: UiDesktopService; constructor(); get desktop(): UiMainDesktop; reset(): void; onHelperComplete: (logic: any, isIgnore: any) => void; testAble(logic: HelperLogic, config: HelperStorageItem): boolean; activeHelper(name: string): void; deactiveHelper(): void; registerHelpLogic(name: string, logic: HelperLogic): void; unregisterHelpLogic(name: string): void; } } declare module "foundation/editor/ui/message/UiMessageTip" { import { UiControl } from "foundation/editor/ui/core/UiControl"; import { HelperLogic } from "foundation/editor/ui/desktop/UiHelperService"; export type UiMessageState = { content: string; level: string; isIgnoreAble: boolean; isIgnore: boolean; helpLogic: HelperLogic; }; export class UiMessageTip extends UiControl { state: UiMessageState; ignoreCallback: any; constructor(props: any, context?: any); show(text: string, level?: string): void; showAsHelper(logic: HelperLogic, ignoreCallback?: any): void; hide(): void; onIgnoreClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopService" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { DeviceService } from 'cross/runtime/module/device/DeviceService'; import { Service } from 'cross/runtime/module/Service'; import { KeyboardDeviceEvent } from 'cross/editor/device/keyboard/KeyboardDeviceEvent'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { ResizeEvent } from 'cross/editor/device/screen/ResizeEvent'; import { UiControlService } from "foundation/editor/ui/UiControlService"; import { UiMainDesktop } from "foundation/editor/ui/desktop/UiMainDesktop"; export class UiDesktopService extends Service { statusReady: boolean; isVisible: boolean; desktop: UiMainDesktop; protected _deviceService: DeviceService; protected _mouseService: MouseDeviceService; protected _keyboardService: KeyboardDeviceService; protected _controlService: UiControlService; constructor(); active(): void; activeReady(): void; deactive(): void; clearFrames(): void; registerFrame(frame: any): void; unregisterFrame(frame: any): void; registerLayer(layer: any): void; unregisterLayer(layer: any): void; registerWindow(window: any): void; unregisterWindow(window: any): void; showLoading(): void; hideLoading(): void; showMessage(text: string, level?: string, parameters?: any): void; showStatus(text: string): void; showConfirm(title: string, content: string, successHandle?: any, failHandle?: any, successTitle?: string, cancelTitle?: string, closeIsCancel?: boolean): void; lock(): void; unlock(): void; onResize(sender: ListenerContext, event: ResizeEvent): void; onMouseDown(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseUp(sender: ListenerContext, event: MouseDeviceEvent): void; onKeyboardDown(sender: ListenerContext, event: KeyboardDeviceEvent): void; onKeyboardUp(sender: ListenerContext, event: KeyboardDeviceEvent): void; build(htmlPanel: any): void; update(): void; dispose(): void; } } declare module "foundation/editor/ui/desktop/UiDesktopSideSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopSideItem = { view: any; order: number; }; export class UiDesktopSideSpace extends UiContainer { activeSide: UiDesktopSideItem; sides: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); register(panel: any, order?: number): void; reset(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopStatusSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopStatusItem = { view: any; order: number; }; export class UiDesktopStatusSpace extends UiContainer { buttons: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); registerButton(button: any, order?: number): void; protected onMouseEnter: (event: any) => void; protected onMouseLeave: (event: any) => void; buttonSorter(item1: UiDesktopStatusItem, item2: UiDesktopStatusItem): number; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopTitleSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopTitleItem = { view: any; order: number; }; export class UiDesktopTitleSpace extends UiContainer { activeTitle: UiDesktopTitleItem; titles: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); register(panel: any, order?: number): void; reset(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopToolbarEnum" { export class UiDesktopToolbarEnum { static Floorplan: string; static Furniture: string; static Pattern: string; } } declare module "foundation/editor/ui/desktop/UiDesktopToolbar" { import { Types } from 'cross/runtime/lang/collection/Types'; import { InstanceObject } from 'cross/runtime/lang/InstanceObject'; import { UiDesktopToolbarEnum } from "foundation/editor/ui/desktop/UiDesktopToolbarEnum"; export type UiToolBarItem = { view: UiDesktopToolbar; name: UiDesktopToolbarEnum; }; export type UiToolBarButtonItem = { view: any; order: number; }; export class UiDesktopToolbar extends InstanceObject { buttons: Types; constructor(); store(): void; restore(): void; registerButton(button: any, order?: number): void; buttonSorter(item1: UiToolBarButtonItem, item2: UiToolBarButtonItem): number; fetch(): any[]; } } declare module "foundation/editor/ui/desktop/UiDesktopToolbarSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiDesktopToolbar, UiToolBarItem } from "foundation/editor/ui/desktop/UiDesktopToolbar"; import { UiDesktopToolbarEnum } from "foundation/editor/ui/desktop/UiDesktopToolbarEnum"; export class UiDesktopToolbarSpace extends UiContainer { toolbar: UiDesktopToolbar; items: Types; history: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); findByName(name: string): UiDesktopToolbar; register(name: UiDesktopToolbarEnum): UiDesktopToolbar; select(name: string): void; registerButton(button: any, order?: number): void; protected onMouseEnter: (event: any) => void; protected onMouseLeave: (event: any) => void; store(): void; restore(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopViewSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiDesktopViewSpaceItem = { view: any; order: number; name: string; active: boolean; }; export class UiDesktopViewSpace extends UiContainer { spaces: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); findByName(name: string): UiDesktopViewSpaceItem; register(name: string, view: any, order?: number): void; showByName(name: string, render?: boolean): void; showByNames(names: Array, render?: boolean): void; hideByName(name: string, render?: boolean): void; hideByNames(names: Array, render?: boolean): void; fetchActiveView(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/desktop/UiDesktopWorkSpaceEnum" { export class UiDesktopWorkSpaceEnum { static Floorplan: string; static Furniture: string; static Pattern: string; } } declare module "foundation/editor/ui/desktop/UiDesktopWorkSpace" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiDesktopWorkSpaceEnum } from "foundation/editor/ui/desktop/UiDesktopWorkSpaceEnum"; export type UiDesktopWorkSpaceItem = { view: any; name: UiDesktopWorkSpaceEnum; order: number; }; export class UiDesktopWorkSpace extends UiContainer { activeSpace: UiDesktopWorkSpaceItem; spaces: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; private views; constructor(props: any, context?: any); register(catalog: any, name: UiDesktopWorkSpaceEnum, order?: number): void; render(): JSX.Element; } } declare module "foundation/editor/ui/drag/DragPointEnum" { export enum DragPointEnum { Left = "L", Right = "R", Top = "T", Bottom = "B", LeftTop = "LT", LeftBottom = "LB", RightTop = "RT", RightBottom = "RB" } } declare module "foundation/editor/ui/drag/UiDragPoint" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; import { DragPointEnum } from "foundation/editor/ui/drag/DragPointEnum"; export interface UiDragPointProps extends UiSafeContainerProps { dragPointEnum: DragPointEnum; onMouseDown: Function; } export interface UiDragPointState extends UiSafeContainerState { } export class UiDragPoint extends UiSafeContainer { constructor(props: UiDragPointProps, context?: any); private onMouseDown; private getStyle; render(): JSX.Element; } } declare module "foundation/editor/ui/drag/UiResizable" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; import { DragPointEnum } from "foundation/editor/ui/drag/DragPointEnum"; export interface UiResizableProps extends UiSafeContainerProps { dragEnableList?: Array; minWidth?: number; maxWidth?: number; minHeight?: number; maxHeight?: number; } export interface UiResizableState extends UiSafeContainerState { } export class UiResizable extends UiSafeContainer { ref: HTMLElement; onMouseDown: (e: MouseEvent, dragPointEnum: DragPointEnum) => void; makeBorder(): Array; render(): JSX.Element; } } declare module "foundation/editor/ui/event/UiEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiSafeControl } from "foundation/editor/ui/core/UiSafeControl"; export class UiEvent extends EventObject { sender: UiControl | UiSafeControl; nativeEvent: any; free(): void; } } declare module "foundation/editor/ui/extension/UiBaseBar" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiBaseBar extends UiControl { protected _display: boolean; constructor(props: any, context?: any); onAuthChange(): void; show(): void; hide(): void; } } declare module "foundation/editor/ui/extension/UiFormula" { import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiDesktopService } from "foundation/editor/ui/desktop/UiDesktopService"; export class UiFormula extends UiControl { formula: any; defaultValue: string; changeHandle: any; itemList: Array; protected _statusSearch: boolean; protected _desktopService: UiDesktopService; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onItemClick(): any; onMouseOver(): any; onMouseLeave(): any; refreshResult(value: string): void; onCheckChanged(): any; onTextChange(): any; onTextBlur(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/form/SplitStyleEnum" { export class SplitStyleEnum { static Normal: string; static BulgeLine: string; static HollowLine: string; } } declare module "foundation/editor/ui/form/UiButton" { import { LockService } from 'cross/runtime/module/lock/LockService'; import { UiControlStyle } from "foundation/editor/ui/core/UiControlStyle"; import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiButtonProps extends UiSafeControlProps { type?: string; icon?: string; showLabel?: boolean; label?: string; select?: boolean; accessKey?: string; title?: string; timeout?: number; onClick?: any; onCancel?: any; } export interface UiButtonState extends UiSafeControlState { type: string; icon: string; showLabel: boolean; label: string; select: boolean; accessKey: string; title: string; timeout: number; onClick: any; onCancel: any; } export class UiButton

extends UiSafeControl { static defaultProps: any; protected _lockService: LockService; get styleClass(): string; static getDerivedStateFromProps(nextProps: UiButtonProps, prevState: UiButtonState): any; makeStyleClass(style: UiControlStyle): void; protected onClick: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiCalendar" { export class UiCalendar { } } declare module "foundation/editor/ui/form/UiCalendarEditor" { export class UiCalendarEditor { } } declare module "foundation/editor/ui/form/UiChanger" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export type UiChangerState = { change: string; hover: boolean; select: boolean; }; export class UiChanger extends UiControl { normalClass: string; hoverClass: string; selectClass: string; clickHandle: Function; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onMouseEnter(): any; onMouseLeave(): any; onClick(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiCheck" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiCheckProps extends UiSafeControlProps { label?: string; defaultValue?: boolean; value?: boolean; onClick?: any; onChange?: any; } export interface UiCheckState extends UiSafeControlState { value: string; } export class UiCheck

extends UiSafeControl { constructor(props: any, context?: any); protected onClick: (event: any) => void; makeStyleClassName(): string; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiCheckEvent" { import { UiEvent } from "foundation/editor/ui/event/UiEvent"; export class UiCheckEvent extends UiEvent { get checked(): boolean; } } declare module "foundation/editor/ui/form/UiCheckPicker" { export class UiCheckPicker { } } declare module "foundation/editor/ui/form/UiCheckPickerEditor" { export class UiCheckPickerEditor { } } declare module "foundation/editor/ui/form/UiCol" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiColProps extends UiSafeContainerProps { } export interface UiColState extends UiSafeContainerState { } export class UiCol

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiColorBar" { export class UiColorBar { } } declare module "foundation/editor/ui/form/UiColorPicker" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiColorPickerState { } export class UiColorPicker extends UiControl { value: number; commonColors: Array; changeHandle: Function; UNSAFE_componentWillMount(): void; onLoad(): any; onCommonClick(data: any): any; makeCommonColors(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiComboBox" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiComboBoxItem { value: string; label: string; constructor(value?: string, label?: string); } export type UiComboBoxState = { id: string; readonly: boolean; value: any; showTitle: boolean; }; export class UiComboBox extends UiControl { state: UiComboBoxState; changeHandle: Function; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; getValue(): any; setValue(value: any): void; onChange(): any; makeOptions(): Array; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiDataComboBox" { import { UiComboBox } from "foundation/editor/ui/form/UiComboBox"; export class UiDataComboBox extends UiComboBox { item: any; field: string; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; getValue(): any; setValue(value: any): void; } } declare module "foundation/editor/ui/form/UiInput" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiInputProps extends UiSafeControlProps { type?: string; readOnly?: boolean; require?: boolean; minLength?: number; maxLength?: number; value?: any; addon?: any; hasError?: boolean; placeholder?: string; min?: any; max?: any; timeout?: number; onChange?: any; } export interface UiInputState extends UiSafeControlState { type: string; readOnly: boolean; require: boolean; minLength: number; maxLength: number; value: any; addon: any; hasError: boolean; } export type UiInputStyle = { width: string; float: "left"; }; export class UiInput

extends UiSafeControl { inputStyle: UiInputStyle; valueChanged: boolean; private _timer; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; getValue(): any; setValue(value: any): void; onChange: (event: any) => void; onBlur: (event: any) => void; reset(): void; clear(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiDataInput" { import { UiInput, UiInputProps, UiInputState } from "foundation/editor/ui/form/UiInput"; export interface UiDataInputProps extends UiInputProps { item: any; field: string; } export interface UiDataInputState extends UiInputState { } export class UiDataInput extends UiInput { getValue(): any; setValue(value: any): void; } } declare module "foundation/editor/ui/form/UiMemo" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiMemoState = { type: string; readOnly: boolean; require: boolean; minLength: number; maxLength: number; value: any; addon: string; hasError: boolean; }; export type UiMemoStyle = { width: string; float: "left"; }; export class UiMemo extends UiContainer { state: UiMemoState; inputStyle: UiMemoStyle; valueChanged: boolean; changeHandle: Function; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; getValue(): any; setValue(value: any): void; onChange(): any; onBlur(): any; reset(): void; clear(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiDataMemo" { import { UiMemo } from "foundation/editor/ui/form/UiMemo"; export class UiDataMemo extends UiMemo { item: any; field: string; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; getValue(): any; setValue(value: any): void; } } declare module "foundation/editor/ui/form/UiGroup" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiGroup extends UiControl { private _value; private _type; private _controls; UNSAFE_componentWillMount(): void; get value(): string; onValueChange(v: any): void; makeStyleClassName(): string; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiImage" { import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; export interface UiImageProps extends UiControlProps { src: string | string[]; errorSrc: string | string[]; options?: { enableCacheImg: boolean; }; } export interface UiImageState extends UiControlState { src: string | string[]; currentImgIndex: number; } export class UiImage

extends UiControl { private errorImgIndex; private loadedImgSrc; componentStatusChange(state: any, props: any): void; handleError: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiImageSelect" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiImageItem { label: ""; value: ""; src: ""; constructor(label: any, value: any, src: any); } export class UiImageSelect extends UiControl { state: { currentOption: UiImageItem; options: any[]; value: string; }; changeHandle: Function; UNSAFE_componentWillMount(): void; get value(): string; validate(): void; protected findOption(v: any): any; reloadData(options: any, v: any): void; protected onOptionClick(opt: any): any; makeOptions(): any[]; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputBase" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiInputBaseProps extends UiSafeControlProps { } export interface UiInputBaseState extends UiSafeControlState { } export type UiInputBaseStyle = {}; export class UiInputBase

extends UiSafeControl { isValidValue(value: any): boolean; convertDataValue(value: any): any; convertDisplayValue(value: any): any; } } declare module "foundation/editor/ui/form/UiInputChangedEnum" { export class UiInputChangedEnum { static Changing: string; static Step: string; static PressEnter: string; static Blur: string; } } declare module "foundation/editor/ui/form/UiInputEvent" { import { UiEvent } from "foundation/editor/ui/event/UiEvent"; export class UiInputEvent extends UiEvent { name: any; oldValue: any; value: any; target: any; free(): void; } export type UiInputChanging = (event: UiInputEvent) => void; export type UiInputChanged = (event: UiInputEvent) => void; } declare module "foundation/editor/ui/form/UiInputNumber" { import { UiInputBase, UiInputBaseProps, UiInputBaseState } from "foundation/editor/ui/form/UiInputBase"; import { UiInputChanged, UiInputChanging } from "foundation/editor/ui/form/UiInputEvent"; export interface UiInputNumberProps extends UiInputBaseProps { arrow?: boolean; min?: number; max?: number; step?: number; value?: number; defaultValue?: number; readOnly?: boolean; controls?: boolean; formatter?: (value: any) => any; parser?: (value: any) => any; onChanging?: UiInputChanging; onChanged?: UiInputChanged; } export interface UiInputNumberState extends UiInputBaseState { value: number; } export type UiInputNumberStyle = {}; export class UiInputNumber

extends UiInputBase { static defaultProps: { arrow: boolean; min: number; max: number; step: number; defaultValue: number; readOnly: boolean; enable: boolean; visible: boolean; }; inputStyle: UiInputNumberStyle; valueChanged: boolean; protected _inputRef: import("foundation/editor/ui/UiUtil").UiReference; constructor(props?: P, context?: S); static getDerivedStateFromProps(nextProps: any, prevState: any): any; isValueControlled(): boolean; isValidValue(value: any): boolean; convertDataValue(value: any): number; getValue(): any; setValue(value: any): void; protected processChangeing(value: any): void; protected processChanged(type: string, value: any): void; onChange: (value: any) => void; onKeyPress: (event: any) => void; onStep: (value: any, info: any) => void; onPressEnter: (event: any) => void; onBlur: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputRadioGroup" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; import { UiInputChanged } from "foundation/editor/ui/form/UiInputEvent"; export interface UiInputRadioGroupProps extends UiSafeControlProps { options?: any; value?: any; defaultValue?: any; style?: any; onChanged?: UiInputChanged; } export interface UiInputRadioGroupState extends UiSafeControlState { value: any; } export type UiInputRadioGroupStyle = {}; export class UiInputRadioGroup

extends UiSafeControl { static defaultProps: { value: any; defaultValue: any; enable: boolean; visible: boolean; }; inputStyle: UiInputRadioGroupStyle; protected _inputRef: import("foundation/editor/ui/UiUtil").UiReference; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; getValue(): any; setValue(value: any): void; protected processChanged(type: string, value: any): void; onChange: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputSearch" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiInputSearchProps extends UiSafeControlProps { disabled?: boolean; defaultValue?: any; value?: any; placeholder?: string; enterButton?: string; onChange?: any; onSearch?: any; } export interface UiInputSearchState extends UiSafeControlState { value: any; } export type UiInputSearchStyle = {}; export class UiInputSearch

extends UiSafeControl { inputStyle: UiInputSearchStyle; protected _value: any; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; getValue(): any; setValue(value: any): void; onChange: (event: any) => void; onSearch: (value: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputSelect" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiDropSelectProps extends UiSafeContainerProps { disabled?: boolean; value?: any; onChange?: any; } export interface UiDropSelectState extends UiSafeContainerState { } export class UiInputSelect

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputSelectOption" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiInputSelectOptionProps extends UiSafeControlProps { value?: any; } export interface UiInputSelectOptionState extends UiSafeControlState { } export class UiInputSelectOption

extends UiSafeControl { render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputSlider" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; import { UiInputChanged } from "foundation/editor/ui/form/UiInputEvent"; export interface UiInputSliderProps extends UiSafeControlProps { min?: number; max?: number; step?: number; value?: number; defaultValue?: number; onChanged?: UiInputChanged; } export interface UiInputSliderState extends UiSafeControlState { value: number; } export type UiInputSliderStyle = {}; export class UiInputSlider

extends UiSafeControl { static defaultProps: { minValue: number; maxValue: number; value: number; defaultValue: number; step: number; enable: boolean; visible: boolean; }; inputStyle: UiInputSliderStyle; valueChanged: boolean; protected _inputRef: import("foundation/editor/ui/UiUtil").UiReference; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; getValue(): any; setValue(value: any): void; onChange: (value: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiInputText" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; import { UiInputChanged, UiInputChanging } from "foundation/editor/ui/form/UiInputEvent"; export interface UiInputTextProps extends UiSafeControlProps { type?: string; value?: string; defaultValue?: string; disabled?: boolean; onChanging?: UiInputChanging; onChanged?: UiInputChanged; } export interface UiInputTextState extends UiSafeControlState { value: string; } export type UiInputTextStyle = {}; export class UiInputText

extends UiSafeControl { inputStyle: UiInputTextStyle; valueChanged: boolean; constructor(props?: any, context?: any); static getDerivedStateFromProps(nextProps: any, prevState: any): any; protected processChange(type: string, value: any): void; protected processChanged(type: string, value: any): void; onChange: (event: any) => void; onPressEnter: (event: any) => void; onBlur: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiLabel" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiLabel extends UiControl { } } declare module "foundation/editor/ui/form/UiPicture" { import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiContext } from "foundation/editor/ui/UiContext"; export type UiPictureState = { autosize: boolean; download: boolean; url: string; }; export class UiPicture extends UiControl { state: UiPictureState; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentResize(context?: UiContext): void; resize(): void; onImageLoaded(): any; downloadClick(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiRadio" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiRadio extends UiControl { groupName: string; checked: boolean; clickHandle: Function; changeHandle: Function; labelArray: Array; valueArray: Array; selectValue: any; UNSAFE_componentWillMount(): void; private getRadios; protected onClick: (event: any) => void; makeStyleClassName(): string; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiRange" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export type UiRangeState = { label: string; value: number; minValue: number; maxValue: number; inputAble: boolean; hintAble: boolean; lockAble: boolean; isLocked: boolean; disable: boolean; }; export class UiRange extends UiControl { state: UiRangeState; handleChange: any; handleEditEnd: any; private _isDown; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; get label(): string; set label(value: string); get value(): number; set value(value: number); onMouseDown(): any; onMouseUp(): any; onLockClick(): any; onValueChange(isInput: boolean): any; validate(): void; doLock(): void; doUnlock(): void; setLock(value: boolean): void; setData(value: number, min: number, max: number): void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiRow" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiRowProps extends UiSafeContainerProps { } export interface UiRowState extends UiSafeContainerState { } export class UiRow

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiSearch" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { KeyboardDeviceService } from 'cross/editor/device/keyboard/KeyboardDeviceService'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiSearchState = { value: string; }; export class UiSearch extends UiContainer { state: UiSearchState; changeHandle: Function; searchHandle: Function; protected _keyboardService: KeyboardDeviceService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; componentWillUnmount(): void; get value(): string; onChange(): any; onEnterDown(context: ListenerContext, event: KeyboardEvent): void; onSearch(): any; clear(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiSelect" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiSelect extends UiControl { private _value; private _currentOption; private changeCallback; UNSAFE_componentWillMount(): void; private findOption; get value(): any; set value(value: any); validate(): void; change(options: any, value: any): void; protected onOptionClick(value: any, label: any): any; protected onExpandClick: () => void; protected onMouseOut: () => void; protected showList(): void; protected hideList(): void; makeStyleClassName(): string; makeOptions(): Array; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiStyleIcon" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; export interface UiStyleIconProps extends UiSafeControlProps { type?: string; size?: string; width?: string; height?: string; } export interface UiStyleIconState extends UiSafeControlState { } export class UiStyleIcon extends UiSafeControl { render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiSvgButton" { import { UiSafeControl, UiSafeControlProps, UiSafeControlState } from "foundation/editor/ui/core/UiSafeControl"; enum ButtonStatus { Normal = 0, Highlight = 1, Selected = 2 } export interface UiSvgButtonProps extends UiSafeControlProps { width?: number; height?: number; src: string; normalColor?: string; highlightColor?: string; selectedColor?: string; isSelected?: boolean; clickAction?: () => void; } export interface UiSvgButtonState extends UiSafeControlState { status: ButtonStatus; } export class UiSvgButton

extends UiSafeControl { static defaultProps: any; onMouseEnter: () => void; onMouseLeave: () => void; onClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiToggle" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiToggle extends UiControl { state: { isToggleOn: boolean; }; UNSAFE_componentWillMount(): void; get isToggleOn(): boolean; onButtonClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/form/UiTypeIcon" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiTypeIcon extends UiControl { type: string; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; render(): JSX.Element; } } declare module "foundation/editor/ui/frame/UiDialog" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiDialog extends UiControl { } } declare module "foundation/editor/ui/frame/UiFramePage" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiFramePageProps extends UiSafeContainerProps { id?: string; width?: any; height?: any; minSize?: number; maxSize?: number; position?: any; } export interface UiFramePageState extends UiSafeContainerState { width: any; height: any; position: any; } export class UiFramePage extends UiSafeContainer { minSize: number; maxSize: number; directionCd: any; leftControl: any; rightControl: any; constructor(props?: UiFramePageProps, context?: any); static getDerivedStateFromProps(nextProps: UiFramePageProps, prevState: UiFramePageState): any; render(): JSX.Element; } } declare module "foundation/editor/ui/mouse/UiMouseService" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { Service } from 'cross/runtime/module/Service'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { MouseDeviceService } from 'cross/editor/device/mouse/MouseDeviceService'; import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiDragable } from "foundation/editor/ui/UiDragable"; export class UiMouseService extends Service { protected _mouseService: MouseDeviceService; protected _dragContorol: UiDragable; initialize(): void; registerDrag(control: UiControl, htmlDrag: any): void; unregisterDrag(control: UiControl, htmlDrag: any): void; onMouseDown(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseMove(sender: ListenerContext, event: MouseDeviceEvent): void; onMouseUp(sender: ListenerContext, event: MouseDeviceEvent): void; } } declare module "foundation/editor/ui/frame/UiFrameSpliter" { import { ListenerContext } from 'cross/runtime/lang/ListenerContext'; import { MouseDeviceEvent } from 'cross/editor/device/mouse/MouseDeviceEvent'; import { UiControl } from "foundation/editor/ui/core/UiControl"; import { UiMouseService } from "foundation/editor/ui/mouse/UiMouseService"; import { UiAlignEnum } from "foundation/editor/ui/UiAlignEnum"; import { UiDirectionEnum } from "foundation/editor/ui/UiDirectionEnum"; import { UiDragable } from "foundation/editor/ui/UiDragable"; import { UiFramePage } from "foundation/editor/ui/frame/UiFramePage"; export class UiFrameSpliter extends UiControl implements UiDragable { directionCd: UiDirectionEnum; resizeBeginHandle: any; resizeEndHandle: any; linkControl: UiFramePage; leftControl: UiFramePage; rightControl: UiFramePage; alignCd: UiAlignEnum; protected _dragOffsetX: number; protected _statusDraging: number; protected _draging: boolean; protected _dragOffsetY: number; protected _dragPanelX: number; protected _dragPanelY: number; protected _dragClientX: number; protected _dragClientY: number; protected _clientMinSize: number; protected _clientMaxSize: number; protected _htmlPanel: HTMLTableCellElement; protected _htmlDrag: HTMLDivElement; protected _mouseService: UiMouseService; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; onMouseEnter(): any; onMouseLeave(): any; onDoubleClick(): any; onDragStart(sender: ListenerContext, event: MouseDeviceEvent): void; onDragMove(sender: ListenerContext, event: MouseDeviceEvent): void; onDragEnd(sender: ListenerContext, event: MouseDeviceEvent): void; render(): JSX.Element; } } declare module "foundation/editor/ui/frame/UiFrameSet" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; import { UiDirectionEnum } from "foundation/editor/ui/UiDirectionEnum"; export class UiFrameSet extends UiContainer { context: any; directionCd: UiDirectionEnum; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; componentDidMount(): void; render(): JSX.Element; } } declare module "foundation/editor/ui/helper/ImageTextHelper" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class ImageTextHelper extends UiControl { state: { img: string; text: any[]; }; UNSAFE_componentWillMount(): void; loadConfig(config: any): void; render(): JSX.Element; } } declare module "foundation/editor/ui/helper/TextListHelper" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class TextListHelper extends UiControl { state: { text: any[]; }; UNSAFE_componentWillMount(): void; loadConfig(config: any): void; render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayout" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiLayoutProps extends UiSafeContainerProps { } export interface UiLayoutState extends UiSafeContainerState { } export class UiLayout

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayoutCell" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiLayoutCellProps extends UiSafeContainerProps { label?: string; labelStyle?: any; width?: string; align?: string; } export interface UiLayoutCellState extends UiSafeContainerState { } export class UiLayoutCell

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayoutContainer" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiLayoutContainerProps extends UiSafeContainerProps { } export interface UiLayoutContainerState extends UiSafeContainerState { } export class UiLayoutContainer

extends UiSafeContainer { render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayoutHorizontal" { import { UiLayout, UiLayoutProps, UiLayoutState } from "foundation/editor/ui/layout/UiLayout"; export interface UiLayoutHorizontalProps extends UiLayoutProps { } export interface UiLayoutHorizontalState extends UiLayoutState { } export class UiLayoutHorizontal

extends UiLayout { render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayoutRow" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; export interface UiLayoutRowProps extends UiSafeContainerProps { label?: string; labelStyle?: any; required?: boolean; hidden?: boolean; } export interface UiLayoutRowState extends UiSafeContainerState { } export class UiLayoutRow

extends UiSafeContainer { protected getChildCells(): Array; render(): JSX.Element; } } declare module "foundation/editor/ui/layout/UiLayoutVertical" { import { UiLayout, UiLayoutProps, UiLayoutState } from "foundation/editor/ui/layout/UiLayout"; export interface UiLayoutVerticalProps extends UiLayoutProps { } export interface UiLayoutVerticalState extends UiLayoutState { } export class UiLayoutVertical

extends UiLayout { render(): JSX.Element; } } declare module "foundation/editor/ui/menu/UiAbstractMenuButton" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiAbstractMenuButton extends UiControl { _hParentLine: HTMLTableRowElement; } } declare module "foundation/editor/ui/menu/UiHistoryBar" { export class UiHistoryBar { } } declare module "foundation/editor/ui/menu/UiHistoryButton" { export class UiHistoryButton { } } declare module "foundation/editor/ui/menu/UiMenuBar" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiMenuBar extends UiContainer { } } declare module "foundation/editor/ui/menu/UiMenuButton" { import { UiPermissionControl } from "foundation/editor/ui/core/UiPermissionControl"; export type UiMenuButtonState = { id: string; enable: boolean; label: string; icon: string; title: string; buttons: string; }; export class UiMenuButton extends UiPermissionControl { state: UiMenuButtonState; private _controlButton; private _controlPanel; clickHandle: Function; constructor(); UNSAFE_componentWillMount(): void; enable(): void; disable(): void; onClick(): any; onMouseOver: () => void; onMouseOut: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/menu/UiMenuButtonMenu" { import { UiMenuButton } from "foundation/editor/ui/menu/UiMenuButton"; export class UiMenuButtonMenu extends UiMenuButton { } } declare module "foundation/editor/ui/menu/UiMenuButtonSplit" { import { UiAbstractMenuButton } from "foundation/editor/ui/menu/UiAbstractMenuButton"; export class UiMenuButtonSplit extends UiAbstractMenuButton { } } declare module "foundation/editor/ui/menu/UiMenuCheckButton" { import { UiPermissionControl } from "foundation/editor/ui/core/UiPermissionControl"; export type UiMenuCheckButtonState = { id: string; enable: boolean; label: string; icon: string; title: string; buttons: string; checked: boolean; }; export class UiMenuCheckButton extends UiPermissionControl { state: UiMenuCheckButtonState; private _controlButton; private _controlPanel; clickHandle: Function; constructor(); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any): void; enable(): void; disable(): void; onClick(): any; onMouseOver: () => void; onMouseOut: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/menu/UiMenuSpliter" { import { UiPermissionControl } from "foundation/editor/ui/core/UiPermissionControl"; export class UiMenuSpliter extends UiPermissionControl { render(): JSX.Element; } } declare module "foundation/editor/ui/menu/UiPopupMenu" { import { UiFloating } from "foundation/editor/ui/UiFloating"; export class UiPopupMenu extends UiFloating { } } declare module "foundation/editor/ui/menu/UiSliderButton" { export class UiSliderButton { } } declare module "foundation/editor/ui/menu/UiSliderGroup" { export class UiSliderGroup { } } declare module "foundation/editor/ui/menu/UiSliderMenu" { export class UiSliderMenu { } } declare module "foundation/editor/ui/message/UiMessagePanel" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiMessagePanel extends UiContainer { state: { title: string; content: string; successLabel: string; cancelLabel: string; }; successCallback: any; failCallback: any; showConfirm(t: any, c: any, s?: any, f?: any, st?: any, ct?: any): void; clear(): void; onCloseClick: () => void; onConfirmClick: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/modal/UiModalService" { import { Service } from 'cross/runtime/module/Service'; import { UiModal } from "foundation/editor/ui/modal/UiModal"; export class UiModalService extends Service { private _topZIndex; private _modalDist; initialize(): void; add(modal: UiModal): void; remove(modal: UiModal): void; hasKey(name: string): boolean; getModal(name: string): UiModal; topZindex(document: Document): number; } } declare module "foundation/editor/ui/modal/UiModal" { import * as React from 'react'; import { ButtonProps, ModalFuncProps } from 'antd'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; import { UiModalService } from "foundation/editor/ui/modal/UiModalService"; export interface UiModalProps extends UiSafeContainerProps { id?: string; x?: number; y?: number; width?: number; height?: number; zIndex?: number; visible?: boolean; title?: string | JSX.Element; style?: React.CSSProperties; bodyStyle?: React.CSSProperties; keyboard?: boolean; drag?: boolean; centered?: boolean; scalable?: boolean; onCancel?: (e: React.MouseEvent) => void; onOk?: (e: React.MouseEvent) => void; okText?: string | JSX.Element; cancelText?: string | JSX.Element; afterClose?: () => void; content?: any; cancelButtonProps?: ButtonProps; closable?: boolean; minimize?: boolean; closeIcon?: JSX.Element; confirmLoading?: boolean; maskClosable?: boolean; mask?: boolean; suspend?: boolean; modalRender?: (node: JSX.Element) => JSX.Element; okButtonProps?: ButtonProps; onChangeHeight?: Function; footer?: JSX.Element; } export interface UiModalState extends UiSafeContainerState { isminimize: boolean; zIndex: number; } export class UiModal extends UiSafeContainer { protected _modalService: UiModalService; private modal; private modalContent; private modalHeader; private modalFooter; private modalBody; private modalWrap; private modalScaleDrag; private inited; private ref; private memoryData; private _width; private _height; private _top; private _left; private _id; static defaultProps: { enable: boolean; visible: boolean; }; constructor(props: UiModalProps, context?: any); componentDidMount(): void; dispose(): void; componentDidUpdate(prevProps: any, prevState: any, snapshot: any): void; private initModal; private inWindowX; private inWindowY; private setWidth; private setHeight; private setTop; private setLeft; get id(): string; get width(): string; get height(): string; get top(): string; get left(): string; private saveNormalMemoryData; private saveMinMemoryData; private contentOnClick; onDragDown: (e: React.MouseEvent) => void; onScaleDragDown: (e: React.MouseEvent) => void; private onSetSizeMin; private onSetSizeNormal; private makeDrag; private onMinimizeClick; private makeScaleDrag; private makeMinimize; static info(props: ModalFuncProps): void; static success(props: ModalFuncProps): void; static error(props: ModalFuncProps): void; static warning(props: ModalFuncProps): void; static confirm(props: ModalFuncProps): void; render(): JSX.Element; } } declare module "foundation/editor/ui/page/PageControl" { export class PageControl { } } declare module "foundation/editor/ui/page/PageSheet" { export class PageSheet { } } declare module "foundation/editor/ui/propertybar/UiPropertyDebugButton" { import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; export interface UiPropertyDebugButtonProps extends UiControlProps { item: any; } export interface UiPropertyDebugButtonState extends UiControlState { item: any; } export class UiPropertyDebugButton extends UiControl { item: any; UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onClick: (event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/table/DataTable" { import { PermissionService } from 'foundation/data/common/permission/PermissionService'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class DataTablePageOption { totalRecords: number; pageSize: number; currentPage: number; } export class DataTableOption { size: 'small' | 'middle' | 'large'; noDataMessage: any; multiSelect: boolean; columns: Array; dataSource: Array; selectedRowKeys: Array; page: DataTablePageOption; scrolHeight: any; expandedRowKeys: any; constructor(); } export class DataTable extends UiContainer { state: DataTableOption; permissionAble: boolean; protected _permissionService: PermissionService; constructor(props: any, context?: any); UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; private onRowSelect; private makeColumnIdentityCode; private filterColumn; private onSelectedRowKeysChange; getSelectRowIds(): any[]; reset(): void; onPageSizeChange(): any; onPageChange(): any; onExpandClick: (expanded: any, record: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/table/EditableTable" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiEditableCell extends UiContainer { componentStatusChange(state: any, props: any): void; } export class EditInputCell extends UiEditableCell { onValueChange: (e: any) => void; onValueComplete: () => void; render(): JSX.Element; } export class EditSelectCell extends UiEditableCell { onValueChange: (e: any) => void; onValueComplete: (value: any) => void; makeOptions(): any[]; render(): JSX.Element; } export class EditMultiSelectCell extends UiEditableCell { onValueChange: (e: any) => void; onValueComplete: (value: any, option: any) => void; makeOptions(): any[]; render(): JSX.Element; } export class EditCheckCell extends UiEditableCell { onValueChange: (e: any) => void; onValueComplete: () => void; render(): JSX.Element; } export class EditRadioCell extends UiEditableCell { onValueChange: (e: any) => void; onValueComplete: () => void; render(): JSX.Element; } } declare module "foundation/editor/ui/table/GridColumnEnum" { export enum GridColumnEnum { None = 0, Size = 1, Drag = 2 } } declare module "foundation/editor/ui/table/GridDisplayEnum" { export class GridDisplayEnum { static Title: string; static Head: string; static Search: string; static Total: string; static Navigator: string; } } declare module "foundation/editor/ui/table/GridRowStatusEnum" { export class GridRowStatusEnum { static Normal: string; static Hover: string; static Select: string; } } declare module "foundation/editor/ui/table/UiTableColumn" { import * as React from 'react'; import { DataTypeEnum } from 'cross/runtime/lang/DataTypeEnum'; import { OrderTypeEnum } from 'cross/data/module/dataset/OrderTypeEnum'; import { UiControl, UiControlProps, UiControlState } from "foundation/editor/ui/core/UiControl"; import { UiTable } from "foundation/editor/ui/table/UiTable"; export interface UiTableColumnProps extends UiControlProps { code?: string; name?: string; headerTooltip?: string; modeCd?: string; searchAble?: boolean; sortAble?: boolean; editable?: boolean; field?: string; dataTypeCd?: DataTypeEnum; rules?: Array; fixed?: boolean | string; width?: string | number; widthMin?: number; widthMax?: number; ellipsis?: boolean; align?: string; defaultSortOrder?: OrderTypeEnum; sortOrder?: OrderTypeEnum; displayNowrap?: boolean; displayFormat?: string; drag?: boolean; render?: (value: any, record: any, index: number, colum?: UiTableColumn) => any; searchRender?: any; cellRender?: any; onChange?: any; onConfirm?: any; onClick?: any; custumHeaderRender?: JSX.Element; } export interface UiTableColumnState extends UiControlState { } export class UiTableColumn

extends UiControl { static ColumnWidth: number; static ColumnFixed: string; static ColumnAlign: string; props: UiTableColumnProps; state: UiTableColumnState; cellClass: any; constructor(props?: any, context?: any); get table(): UiTable; get field(): string; get displayAlign(): string; get displayNowrap(): boolean; get cellRender(): any; renderHead(): JSX.Element; protected renderDrag(): JSX.Element; renderSearch(): JSX.Element; onDragDown: (e: React.MouseEvent) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableIndexCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableCellIndexProps extends UiTableCellProps { } export interface UiTableCellIndexState extends UiTableCellState { } export class UiTableIndexCell

extends UiTableCell { constructor(props?: UiTableCellIndexProps, context?: any); renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableIndexColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableIndexColumnProps extends UiTableColumnProps { } export interface UiTableIndexColumnState extends UiTableColumnState { } export class UiTableIndexColumn

extends UiTableColumn { static ColumnWidth: number; static ColumnAlign: string; props: UiTableIndexColumnProps; state: UiTableIndexColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; } } declare module "foundation/editor/ui/table/UiTableRow" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class UiTableRow extends UiContainer { index: number; protected _form: any; componentPropsChange(nextProps: any, nextContext: any): void; onFormRef: (value: any) => void; get form(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableRowCell" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiTableRowCell extends UiControl { render(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableRowEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; import { UiTableRow } from "foundation/editor/ui/table/UiTableRow"; export class UiTableRowEvent extends EventObject { column: UiTableColumn; row: UiTableRow; cell: UiTableCell; record: any; values: any; free(): void; dispose(): void; } } declare module "foundation/editor/ui/table/UiTableRowMoveEnum" { export class UiTableRowMoveEnum { static Up: string; static Down: string; } } declare module "foundation/editor/ui/table/UiTableService" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { Service } from 'cross/runtime/module/Service'; import { UiTable } from "foundation/editor/ui/table/UiTable"; export class UiTableService extends Service { private _tableDist; initialize(): void; getTableData(id: string): Dictionary; setTableData(table: UiTable): void; } } declare module "foundation/editor/ui/table/UiTable" { import { Dictionary } from 'cross/runtime/lang/collection/Dictionary'; import { UiConfig } from "foundation/editor/ui/config/UiConfig"; import { UiContainer, UiContainerProps, UiContainerState } from "foundation/editor/ui/core/UiContainer"; import { UiDataDatasetController } from "foundation/editor/ui/data/UiDataDatasetController"; import { UiContext } from "foundation/editor/ui/UiContext"; import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; import { UiTableRowEvent } from "foundation/editor/ui/table/UiTableRowEvent"; import { UiTableRowMoveEnum } from "foundation/editor/ui/table/UiTableRowMoveEnum"; import { UiTableService } from "foundation/editor/ui/table/UiTableService"; export const UI_TABLE_TEXT_NODATA: string; export const DEFAULT_TABLE_COMPONENTS: any; export const UI_TABLE_NEW_EDIT_ROW_KEY: string; export interface UiTableProps extends UiContainerProps { id?: string; searchAble?: boolean; editAble?: boolean; bordered?: boolean; size?: string; width?: any; height?: any; sticky?: boolean; scroll?: any; tableLayout?: "auto" | "fixed"; autoScroll?: boolean; dataKey?: string; controller?: UiDataDatasetController; dataSource?: any; loading?: boolean; pageCurrent?: number; pageSize?: number; total?: number; selectedRowKeys?: Array; children?: any; onChange?: any; onColumnSearch?: any; optionEditingSelect?: boolean; alwaysEditing?: boolean; selectionType?: string; locale?: any; covered?: boolean; expandRowKeys?: any; onExpand?: any; onRowChange?: (selectKeys: Array) => void; onRowClick?: (event: any, record: any, index?: number) => void; onRowDoubleClick?: (event: any, record: any, index?: number) => void; onSaveCheckAsync?: (event: UiTableRowEvent) => Promise; onRowDelete?: (rowKeyId: string) => void; onRowSave?: (event: UiTableRowEvent) => void; onRowMove?: (record: any, moveEnum: UiTableRowMoveEnum) => void; onInsertCancel?: (event: UiTableRowEvent) => void; onAction?: (actionCd: string, parameters?: any) => void; onPageChange?: (page: number, pageSize: number) => void; onPageSizeChange?: any; pagination?: any; onRowEditStatusChange?: (rowKeyId: string) => void; onRowMouseEnter?: (event: any, record: any, index?: number) => void; onRowMouseLeave?: (event: any, record: any, index?: number) => void; onDetailClick?: (event: any, record: any) => void; onEditorClick?: (event: any, record: any) => void; } export interface UiTableState extends UiContainerState { width?: any; height?: any; scroll?: any; dataKey?: string; dataSource: Array; pageCurrent: number; pageSize: number; total: number; selectedRowKeys: Array; statusSized: boolean; editRowKey?: string; columns?: Array; } export class UiTable

extends UiContainer { props: UiTableProps; state: UiTableState; protected jselection: any; protected scroll: any; controller: UiDataDatasetController; protected _panel: any; protected _columnsDirty: boolean; protected _columns: Dictionary; protected _pageSize: number; protected _hasRowSelection: boolean; protected selectionType: string; protected locale: any; protected _tableService: UiTableService; constructor(props?: UiTableProps, context?: any); get columns(): Dictionary; onPanelRef: (value: any) => void; componentPropsChange(nextProps: UiTableProps, nextContext: any): void; componentLoadConfig(context: UiContext, config: UiConfig): void; componentSaveConfig(context: UiContext, config: UiConfig): void; componentDidMount(): void; componentResize(context?: UiContext): void; hasSelected(): boolean; getSelected(): Array; clearSelectedRowKey(): void; findColumn(field: string): UiTableColumn; appendChild(child: any): void; removeChild(child: any): void; onRowStyle: (record: any) => string; onColumnSearch: (column: any, value: any, event: any) => void; onShowTotal: (total: any) => string; onRowKey: (record: any) => string; getDataKey(): string; isEditing(): boolean; isEditingNewRow(): boolean; protected onRowEditStatusChange: (rowKey: string) => void; onRowEdit: (rowKey: string) => void; onRowDelete: (rowKey: string) => void; onNewRowEdit: () => void; onSaveCheckAsync: (event: any) => Promise; onRowSave: (event: UiTableRowEvent) => void; onRowMove: (record: any, moveEnum: UiTableRowMoveEnum) => void; onDetailClick: (event: any, record: any) => void; onEditorClick: (event: any, record: any) => void; onInsertCancel: (event: any) => void; onRowChange: (event: any) => void; onRowClick: (event: any, record: any, index: any) => void; onRowDoubleClick: (event: any, record: any, index: number) => void; protected onRowMouseEnter: (event: any, record: any, index: number) => void; protected onRowMouseLeave: (event: any, record: any, index: number) => void; onPageChange: (page: number, pageSize: number) => void; onRowSelectChange: (selectedKeys: Array, selectedRows: Array) => void; onRowSelect: (record: any, selected: any, selectedRows: any, nativeEvent: any) => void; onRowSelectAll: (selected: any, selectedRows: any, changeRows: any) => void; protected onChange: (pagination: any, filters: any, sorter: any) => void; onAction(actionCd: string, parameters?: any): void; makeCell(record: any, index: number): any; protected getPagination(): any; getColumns(): any; setColumnWidgh(offset: number, columnFixed: string, widthMin?: number, widthMax?: number): void; render(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableCell" { import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; import { UiTable } from "foundation/editor/ui/table/UiTable"; import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; import { UiTableRow } from "foundation/editor/ui/table/UiTableRow"; export interface UiTableCellProps extends UiSafeContainerProps { form: any; column: UiTableColumn; record: any; editable: boolean; render: any; index: number; style: any; } export interface UiTableCellState extends UiSafeContainerState { editing: boolean; } export class UiTableCell

extends UiSafeContainer { props: P; state: S; constructor(props?: any, context?: any); reset(): void; get table(): UiTable; get column(): UiTableColumn; get row(): UiTableRow; get form(): any; get field(): any; get record(): any; getRowId(): string; getValue(): any; setValue(value: any): void; setValueAndSave(value: any): boolean; getColumnAlign(): any; isEditable(): boolean; isEditing(): boolean; formSave(): void; onCellClick: (event: any) => void; protected renderContent(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/table/UiButtonsCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiButtonsCell extends UiTableCell { changeHandle: any; makeButtons(): any[]; } } declare module "foundation/editor/ui/table/UiCheckCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiCheckCell extends UiTableCell { } } declare module "foundation/editor/ui/table/UiControllerTable" { import { UiDataDatasetController } from "foundation/editor/ui/data/UiDataDatasetController"; import { UiTable, UiTableProps, UiTableState } from "foundation/editor/ui/table/UiTable"; export interface UiControllerTableProps extends UiTableProps { controller?: UiDataDatasetController; } export interface UiControllerTableState extends UiTableState { } export class UiControllerTable

extends UiTable { } } declare module "foundation/editor/ui/table/UiSelectCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiSelectCell extends UiTableCell { } } declare module "foundation/editor/ui/table/UiSelectColumn" { import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; export class UiSelectColumn extends UiTableColumn { dataHandle: any; options: any; } } declare module "foundation/editor/ui/table/UiTableButtonColumn" { import { UiTableColumnProps, UiTableColumnState, UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableButtonColumnProps extends UiTableColumnProps { onCheckClick?: any; editorAttribute?: boolean; editorAttributeHandle?: any; customEditorButtonClick?: any; popoverVisible?: boolean; popoverContent?: any; measuareEditbutton?: boolean; selectId?: string; optionMove?: boolean; } export interface UiTableButtonColumnState extends UiTableColumnState { } export class UiTableButtonColumn

extends UiTableColumn { props: UiTableButtonColumnProps; state: UiTableButtonColumnState; constructor(props?: any, context?: any); } } declare module "foundation/editor/ui/table/UiTableButtonCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; import { UiTableRowMoveEnum } from "foundation/editor/ui/table/UiTableRowMoveEnum"; export interface UiTableButtonCellProps extends UiTableCellProps { } export interface UiTableButtonCellState extends UiTableCellState { } export class UiTableButtonCell

extends UiTableCell { protected _origin: any; constructor(props?: any, context?: any); onEdit: (event: any) => void; onCustomEditorClick: () => Promise; onExitEdit: () => void; private onDelete; onSave: (event: any) => void; onMove: (record: any, moveEnum: UiTableRowMoveEnum) => void; onCancel: (event: any) => Promise; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableCheckCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableCheckCellProps extends UiTableCellProps { } export interface UiTableCheckCellState extends UiTableCellState { } export class UiTableCheckCell

extends UiTableCell { constructor(props?: UiTableCheckCellProps, context?: any); onChange: (e: any) => void; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableCheckColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableCheckColumnProps extends UiTableColumnProps { } export interface UiTableCheckColumnState extends UiTableColumnState { } export class UiTableCheckColumn

extends UiTableColumn { props: UiTableCheckColumnProps; state: UiTableCheckColumnState; constructor(props?: any, context?: any); renderHead(): JSX.Element; get displayNowrap(): boolean; } } declare module "foundation/editor/ui/table/UiTableDateTimeColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableDateTimeColumnProps extends UiTableColumnProps { } export interface UiTableDateTimeColumnState extends UiTableColumnState { searchValue: any; } export class UiTableDateTimeColumn

extends UiTableColumn { static ColumnAlign: string; props: UiTableDateTimeColumnProps; state: UiTableDateTimeColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; onSearchClick: (event: any) => void; onSearchChange: (event: any) => void; onSearch: (value: any, event: any) => void; renderSearch(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableDateTimeCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableDateTimeCellProps extends UiTableCellProps { } export interface UiTableDateTimeCellState extends UiTableCellState { } export class UiTableDateTimeCell

extends UiTableCell { renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableEvent" { import { UiEvent } from "foundation/editor/ui/event/UiEvent"; import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; import { UiTableRow } from "foundation/editor/ui/table/UiTableRow"; export class UiTableEvent extends UiEvent { row: UiTableRow; column: UiTableColumn; } } declare module "foundation/editor/ui/table/UiTableFormulaCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTableFormulaCell extends UiTableCell { } } declare module "foundation/editor/ui/table/UiTableImageCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTableImageCell extends UiTableCell { } } declare module "foundation/editor/ui/table/UiTableImageColumn" { import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; export class UiTableImageColumn extends UiTableColumn { imageStyle: any; constructor(); } } declare module "foundation/editor/ui/table/UiTableInputCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTableInputCell extends UiTableCell { isDataChange: boolean; isEditMode: boolean; constructor(); } } declare module "foundation/editor/ui/table/UiTableNumberColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableNumberColumnProps extends UiTableColumnProps { minValue?: number; maxValue?: number; precision?: number; size?: string; wordBreak?: 'normal' | 'break-all' | 'keep - all' | 'break-word'; } export interface UiTableNumberColumnState extends UiTableColumnState { } export class UiTableNumberColumn

extends UiTableColumn { static ColumnAlign: string; props: UiTableNumberColumnProps; state: UiTableNumberColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; } } declare module "foundation/editor/ui/table/UiTableNumberCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableNumberCellProps extends UiTableCellProps { } export interface UiTableNumberCellState extends UiTableCellState { } export class UiTableNumberCell

extends UiTableCell { protected _input: any; constructor(props?: any, context?: any); onInputRef: (value: any) => void; onChange: (event: any) => void; onConfirm: (event: any) => void; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTablePickerCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTablePickerCell extends UiTableCell { } } declare module "foundation/editor/ui/table/UiTablePickerColumn" { import { UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; export class UiTablePickerColumn extends UiTableColumn { linkWindowId: string; pickerFieldValue: string; pickerFieldLabel: string; pickerHandle: any; formatHandle: any; } } declare module "foundation/editor/ui/table/UiTableRadioColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableRadioColumnProps extends UiTableColumnProps { trueValue?: any; falseValue?: any; } export interface UiTableRadioColumnState extends UiTableColumnState { } export class UiTableRadioColumn

extends UiTableColumn { props: UiTableRadioColumnProps; state: UiTableRadioColumnState; constructor(props?: any, context?: any); } } declare module "foundation/editor/ui/table/UiTableRadioCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTableRadioCell extends UiTableCell { onChange: (e: any) => void; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableSelectColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableSelectColumnProps extends UiTableColumnProps { options?: Array<{ key: string; name: string; value: any; }>; isAluminium?: boolean; bordered?: boolean; } export interface UiTableSelectColumnState extends UiTableColumnState { searchValue: any; } export class UiTableSelectColumn

extends UiTableColumn { props: UiTableSelectColumnProps; state: UiTableSelectColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; onSearchClick: (event: any) => void; onSearchChange: (event: any) => void; onSearch: (value: any, event: any) => void; renderHead(): JSX.Element; renderSearch(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableSelectCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableSelectCellProps extends UiTableCellProps { } export interface UiTableSelectCellState extends UiTableCellState { } export class UiTableSelectCell

extends UiTableCell { constructor(props?: any, context?: any); onSave: (value: any) => void; makeOptions(): any[]; getEditable(): boolean; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableSortColumn" { import { UiTableColumnProps, UiTableColumnState, UiTableColumn } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableSortColumnProps extends UiTableColumnProps { onCheckClick?: any; editorAttribute?: boolean; editorAttributeHandle?: any; onUp?: any; onDown?: any; } export interface UiTableSortColumnState extends UiTableColumnState { } export class UiTableSortColumn

extends UiTableColumn { props: UiTableSortColumnProps; state: UiTableSortColumnState; constructor(props?: any, context?: any); } } declare module "foundation/editor/ui/table/UiTableSortCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; import { UiTableSortColumn } from "foundation/editor/ui/table/UiTableSortColumn"; export interface UiTableSortCellProps extends UiTableCellProps { } export interface UiTableSortCellState extends UiTableCellState { } export class UiTableSortCell

extends UiTableCell { protected _origin: any; constructor(props?: any, context?: any); onEdit: (event: any) => void; onExitEdit: () => void; get column(): UiTableSortColumn; private onDelete; private onUp; private onDown; onSave: (event: any) => void; onCancel: (event: any) => Promise; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableSplitSelectColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableSplitSelectColumnProps extends UiTableColumnProps { options?: Array<{ name: string; datas: Array<{ key: string; name: string; value: any; }>; }>; } export interface UiTableSelectColumnState extends UiTableColumnState { searchValue: any; options?: Array<{ key: string; name: string; value: any; }>; } export class UiTableSplitSelectColumn

extends UiTableColumn { props: UiTableSplitSelectColumnProps; state: UiTableSelectColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; onSearchClick: (event: any) => void; onSearchChange: (event: any) => void; onSearch: (value: any, event: any) => void; renderSearch(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableSplitSelectCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; export interface UiTableSelectCellProps extends UiTableCellProps { } export interface UiTableSelectCellState extends UiTableCellState { selectedValue: string; } export class UiTableSplitSelectCell

extends UiTableCell { dstate: any; private uuid; currentData: any; constructor(props?: any, context?: any); shouldComponentUpdate(nextProps: any, nextState: any): boolean; onSave: (key: any, index: number, value: any) => void; makeOptions(): any[]; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableTextColumn" { import { UiTableColumn, UiTableColumnProps, UiTableColumnState } from "foundation/editor/ui/table/UiTableColumn"; export interface UiTableTextColumnProps extends UiTableColumnProps { size?: string; } export interface UiTableTextColumnState extends UiTableColumnState { searchValue: any; } export class UiTableTextColumn

extends UiTableColumn { props: UiTableTextColumnProps; state: UiTableTextColumnState; constructor(props?: any, context?: any); get displayNowrap(): boolean; onSearchClick: (event: any) => void; onSearchChange: (event: any) => void; onSearch: (value: any, event: any) => void; renderSearch(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTableTextCell" { import { UiTableCell, UiTableCellProps, UiTableCellState } from "foundation/editor/ui/table/UiTableCell"; import { UiTableTextColumn } from "foundation/editor/ui/table/UiTableTextColumn"; export interface UiTableTextCellProps extends UiTableCellProps { column: UiTableTextColumn; } export interface UiTableTextCellState extends UiTableCellState { } export class UiTableTextCell

extends UiTableCell { protected _form: any; protected _input: any; onInputRef: (value: any) => void; onChange: (event: any) => void; onConfirm: (event: any) => void; private onClick; renderContent(): JSX.Element; } } declare module "foundation/editor/ui/table/UiTextCell" { import { UiTableCell } from "foundation/editor/ui/table/UiTableCell"; export class UiTextCell extends UiTableCell { } } declare module "foundation/editor/ui/toolbar/UiToolBar" { import { Types } from 'cross/runtime/lang/collection/Types'; import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export type UiToolBarItem = { view: any; order: number; }; export class UiToolBar extends UiContainer { buttons: Types; protected _handleMouseEnter: any; protected _handleMouseLeave: any; constructor(props: any, context?: any); registerButton(button: any, order?: number): void; protected onMouseEnter: (event: any) => void; protected onMouseLeave: (event: any) => void; buttonSorter(item1: UiToolBarItem, item2: UiToolBarItem): number; render(): JSX.Element; } } declare module "foundation/editor/ui/toolbar/UiToolButton" { import { UiOptionPermissionControl, UiOptionPermissionControlProps, UiOptionPermissionControlState } from "foundation/editor/ui/core/UiOptionPermissionControl"; export interface UiToolButtonProps extends UiOptionPermissionControlProps { } export interface UiToolButtonState extends UiOptionPermissionControlState { type: string; id: string; enable: boolean; isActive: boolean; label: string; showLabel: boolean; select: boolean; className: string; icon: string; title: string; checkButtonStyles: {}; } export class UiToolButton extends UiOptionPermissionControl { state: UiToolButtonState; clickHandle: Function; constructor(props?: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; enable(): void; disable(): void; select(value: boolean): void; onClick(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/toolbar/UiToolButtonCheck" { import { UiToolButton } from "foundation/editor/ui/toolbar/UiToolButton"; export class UiToolButtonCheck extends UiToolButton { } } declare module "foundation/editor/ui/toolbar/UiToolButtonEdit" { import { UiToolButton } from "foundation/editor/ui/toolbar/UiToolButton"; export class UiToolButtonEdit extends UiToolButton { } } declare module "foundation/editor/ui/toolbar/UiToolButtonSplit" { import { UiControl } from "foundation/editor/ui/core/UiControl"; export class UiToolButtonSplit extends UiControl { render(): JSX.Element; } } declare module "foundation/editor/ui/toolbar/UiToolButtonText" { import { UiToolButton } from "foundation/editor/ui/toolbar/UiToolButton"; export class UiToolButtonText extends UiToolButton { } } declare module "foundation/editor/ui/toolbar/UiToolMenuButton" { import { UiPermissionControl } from "foundation/editor/ui/core/UiPermissionControl"; export type UiToolMenuButtonState = { id: string; enable: boolean; label: string; icon: string; title: string; buttons: string; }; export class UiToolMenuButton extends UiPermissionControl { state: UiToolMenuButtonState; clickHandle: Function; constructor(); UNSAFE_componentWillMount(): void; enable(): void; disable(): void; onClick(): any; render(): JSX.Element; } } declare module "foundation/editor/ui/tree/DataTreeview" { import { UiContainer } from "foundation/editor/ui/core/UiContainer"; export class DataTreeview extends UiContainer { draggleAble: boolean; checkAble: boolean; treeLine: boolean; onNodeSelect: Function; onNodeSelectChange: Function; onNodeRightClick: Function; onInsert: Function; onDelete: Function; onUpdate: Function; onPositionUpdate: Function; onCategoryDropUpdate: Function; dataDic: any; infoForm: any; state: { currentKey: string; menuData: any[]; formFields: any; isMenuNeedShow: boolean; isPopNeedShow: boolean; data: any[]; infoDialogVisible: boolean; deleteDialogVisible: boolean; status: string; treeLine: boolean; selectedCheckKeys: any[]; defaultSelectedNode: any; selectedKeys: string[]; }; constructor(props: any, context?: any); UNSAFE_componentWillMount(): void; UNSAFE_componentWillUpdate(nextProps?: any, nextState?: any): void; onMenuClick(func: any): any; onMenuInsert: () => void; onMenuInsertSameLevel: () => void; onMenuUpdate: () => void; onMenuDelete: () => void; showInfoModal(): void; showDeleteModal(): void; hideInfoModal(): void; hideDeleteModal(): void; handlePopoverVisibleChange: (alertShow: any) => void; makeCatalogTree(data: any): any[]; onRightClick: ({ event, node }: { event: any; node: any; }) => void; onNodeClick: ({ event, node }: { event: any; node: any; }) => void; onDrag: (info: any) => void; onDrop: (info: any) => void; getCategoryUnitByKey(key: any, data: any): any; firstBit(dragKey: any, defaultParent: any): void; secondBit(dragKey: any, dropPosition: any, dropPos: any, parent: any): void; thirdBit(dragKey: any, currentSortNum: any, parent: any): void; bitSpecial(dragKey: any, dropPosition: any, dropPos: any, parent: any, defaultUnit: any): void; onNodeInfoOk: (event: any) => void; onNodeInfoCancel: (event: any) => void; onNodeDeleteCancel: (event: any) => void; onNodeDeleteOk: (event: any) => void; onNodePositionUpdate(parentKey: any, nodeKey: any): void; onFieldsChange: (changedFields: any) => void; onSelectChange: (selectedKeys: any) => void; onClearSelectedKeys(): void; onCheckChange: (selectedKeys: any, e: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/tree/UiTreeview" { import { Vector2 } from 'foundation/runtime/math/Vector2'; import { UiSafeContainer, UiSafeContainerProps, UiSafeContainerState } from "foundation/editor/ui/core/UiSafeContainer"; import { UiContext } from "foundation/editor/ui/UiContext"; export interface UiTreeviewProps extends UiSafeContainerProps { autoExpandParent?: boolean; expandedKeys?: Array; selectedKeys?: Array; dataStore?: any; nodeRender?: any; onSelect?: any; onRightClick?: any; onDragEnter?: any; onDrop?: any; virtualHeight?: boolean; } export interface UiTreeviewState extends UiSafeContainerState { _expandedKeys: Array; expandedKeys: Array; _selectedKeys: Array; selectedKeys: Array; statusSized: boolean; offsetHeight: number; autoExpandParent?: boolean; } export class UiTreeview

extends UiSafeContainer { nodePosition: Vector2; protected _selectedKeys: Array; protected _selectedNodes: Array; protected _panel: any; constructor(props: P, context?: any); onPanelRef: (value: any) => void; hasSelected(): boolean; get selectedKey(): string; get selectedKeys(): Array; get selectedNode(): any; get selectedNodes(): Array; componentDidMount(): void; componentResize(context?: UiContext): void; onExpand: (expandedKeys: Array, event: any) => void; onExpandAll: () => void; onExpandClose: () => void; deepTraversa: (node: any, nodeList?: any[]) => any[]; onSelect: (selectedKeys: Array, event: any) => void; render(): JSX.Element; } } declare module "foundation/editor/ui/widget/DimensionEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; export class DimensionEvent extends EventObject { gizmo: any; oldValue: number; value: number; valid: boolean; oldState: any; state: any; changeReazon: any; commitType: any; free(): void; } } declare module "foundation/editor/ui/widget/DimensionEventEnum" { export class DimensionEventEnum { static StateChanged: string; static ValueChangeStart: string; static ValueChanged: string; static ValueChangeEnd: string; static ValueChangeCommit: string; static InputValidate: string; static InputSwitching: string; } } declare module "foundation/editor/ui/widget/UnitInputUtil" { export class UnitInputUtil { static LengthUnit1RegExp: RegExp; static LengthUnit2RegExp: RegExp; static AreaUnit1RegExp: RegExp; static AreaUnit2RegExp: RegExp; static parseLengthUnitValue(value: string, length: number): number; static parseAreaUnitValue(value: string, length: number): number; } } declare module "foundation/editor/ui/widget/UnitInputWidgetActionEnum" { export class UnitInputWidgetActionEnum { static KeyDown: string; static KeyUp: string; static Delete: string; static PasteCut: string; static Typing: string; } } declare module "foundation/editor/ui/widget/UnitInputWidgetChangeReasonEnum" { export class UnitInputWidgetChangeReasonEnum { static Typing: string; static TunningHotkey: string; static TunningButton: string; } } declare module "foundation/editor/ui/widget/UnitInputWidgetEvent" { import { EventObject } from 'cross/runtime/lang/EventObject'; import { UnitInputWidgetChangeReasonEnum } from "foundation/editor/ui/widget/UnitInputWidgetChangeReasonEnum"; export class UnitInputWidgetEvent extends EventObject { state: number; value: any; reasonCd: UnitInputWidgetChangeReasonEnum; free(): void; } } declare module "foundation/editor/ui/widget/UnitInputWidgetEventsEnum" { export class UnitInputWidgetEventsEnum { static Focus: string; static Blur: string; static Click: string; static Keydown: string; static MouseEnter: string; static MouseLeave: string; static ValueChangeStart: string; static ValueChanged: string; static ValueChanging: string; static ValueChangeEnd: string; static StateChanged: string; } } declare module "foundation/editor/ui/widget/UnitInputWidgetStateEnum" { export class UnitInputWidgetStateEnum { static Focus: number; static Disabled: number; static ErrorNotNumber: number; static ErrorNotPositive: number; static ErrorOutOfRange: number; static ErrorCustom: number; } } declare module "foundation/editor/ui/widget/UnitInputWidget" { import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; import { LengthUnitEnum } from 'cross/runtime/international/unit/LengthUnitEnum'; import { UnitInputWidgetChangeReasonEnum } from "foundation/editor/ui/widget/UnitInputWidgetChangeReasonEnum"; export class UnitInputWidget extends Dispatcher { static DisplayNanString: string; htmlParent: HTMLElement; htmlInput: HTMLInputElement; protected _state: number; protected _isReadOnly: boolean; protected _textExpression: string; protected _dataBaseValue: number; protected _ignoreNextMouseUp: boolean; protected _currentAction: string; protected _isUnitTypeAndDigitsFixed: boolean; protected _showArrow: boolean; protected _includeUnit: boolean; rules: any; unitCd: any; displayDigits: number; protected _nanAllowed: boolean; protected _tunningStep: number; constructor(); isState(state: number): boolean; getState(): number; setState(state: number): void; updateState(stateCd: number, flag: boolean): void; getName(): string; getValue(): number; getText(): string; isValueInRange(value: number): boolean; isValueMatchRules(value: number): boolean; isInputsMatchTheRules(): boolean; toDisplayString(value: any, unitCd: LengthUnitEnum, digits: number, displayUnit: boolean): any; toDataValue(value: string, length: number): any; protected onDisplayChanged(): void; updateInputText(): void; verifyErrorState(): void; setValue(value: number): void; tuningValue(flag: boolean, reasonCd: UnitInputWidgetChangeReasonEnum): void; setFixedUnitTypeAndDigits(unitCd: any, digits: number): void; updateDisplay(): void; clearFixedUnitTypeAndDigits(): void; protected ohInputFocus(event: any): void; protected ohInputBlur(event: FocusEvent): void; protected ohInputKeyDown(event: any): void; protected ohInputKeyUp(event: any): void; protected ohInputMouseUp(event: any): void; protected ohInputMouseEnter(event: any): void; protected ohInputMouseLeave(event: any): void; protected ohInputTextChanged(): void; protected build(htmlParent: any, name: string, options: any, baseValue: number): void; setSize(width: number, height: number): void; dispose(): void; } } declare module "foundation/editor/ui/widget/InputWidget" { import { Dispatcher } from 'cross/runtime/lang/Dispatcher'; import { LengthUnitEnum } from 'cross/runtime/international/unit/LengthUnitEnum'; import { UnitInputWidget } from "foundation/editor/ui/widget/UnitInputWidget"; export type CBInputWidget = (string: any) => void; export class InputWidget extends UnitInputWidget { protected _htmlPanel: HTMLDivElement; protected _parent: Dispatcher; private _onEnter; private _enterDo; constructor(parent: Dispatcher); protected get enterCallback(): CBInputWidget; get htmlPanel(): HTMLDivElement; protected onDisplayChanged(): void; toDisplayString(value: any, unitCd: LengthUnitEnum, digits: number, displayUnit: boolean): void; toDataValue(value: string, length: number): number; static create(parent: Dispatcher, name?: any, options?: any, value?: any): InputWidget; private static createDefaultHtmlPanel; setLocation(x: number, y: number): void; setVisible(v: boolean): void; setOnEnter(onEnter: CBInputWidget): void; dispose(): void; } } declare module "foundation/editor/ui/widget/LengthInputWidget" { import { LengthUnitEnum } from 'cross/runtime/international/unit/LengthUnitEnum'; import { UnitInputWidget } from "foundation/editor/ui/widget/UnitInputWidget"; export class LengthInputWidget extends UnitInputWidget { constructor(); protected onDisplayChanged(): void; toDisplayString(value: any, unitCd: LengthUnitEnum, digits: number, displayUnit: boolean): void; toDataValue(value: string, length: number): number; static create(htmlParent?: any, name?: any, options?: any, value?: any): LengthInputWidget; } } declare module "foundation/editor/ui/widget/OpeningDimensionEvent" { import { DimensionEvent } from "foundation/editor/ui/widget/DimensionEvent"; export class OpeningDimensionEvent extends DimensionEvent { sizeDir: any; assign(dimensionEvent: DimensionEvent): void; free(): void; } }