elmer-ui-core
Version:
web app framework
42 lines (41 loc) • 2.05 kB
TypeScript
import "./init/global";
import "./widget/style/index.less";
import { ElmerUI as ElmerUIClass } from "./core/ElmerUI";
import { ReduxController } from "elmer-redux";
import { connect } from "./widget/redux/connect";
export declare const ElmerUI: typeof ElmerUIClass;
export declare const addResize: (id: string, callBack: Function) => void;
export declare const removeResize: (id: string) => void;
export declare const defineReduxProvider: <TypeStateData, TypeListeners>(getGlobalState: Function, defineGlobalState: Function) => {
state: { [P in keyof TypeStateData]: any; };
listener: { [P_1 in keyof TypeListeners]: Function; };
};
export declare const redux: {
ReduxController: typeof ReduxController;
connect: typeof connect;
createReducer: (getGlobalState: Function, defineGlobalState: Function, nodeKey: string, reducer: import("elmer-redux").TypeReducerCallback) => void;
defineReducer: (controller: ReduxController, nodeKey: string, reducer: import("elmer-redux").TypeReducerCallback) => void;
defineReduxProvider: <TypeStateData, TypeListeners>(getGlobalState: Function, defineGlobalState: Function) => {
state: { [P in keyof TypeStateData]: any; };
listener: { [P_1 in keyof TypeListeners]: Function; };
};
defineStateOperateAction: (controller: ReduxController, getGlobalState: Function, defineGlobalState: Function) => void;
};
export * from "./init/globalUtil";
export * from "./core/Component";
export * from "./core/ElmerDom";
export * from "./core/ElmerResize";
export * from "./core/IElmerInterface";
export * from "./core/elmerRegister";
export * from "./core/ElmerRender";
export * from "./core/ElmerVirtualRender";
export * from "./inject";
export * from "./propsValidation";
export * from "./core/ElmerServiceRequest";
export * from "./configuration";
export * from "./i18n";
export * from "./animation/ElmerAnimation";
export * from "./configuration";
export * from "./widget";
export declare const createUI: () => ElmerUIClass;
export declare const getUI: () => ElmerUIClass;