import { SyncSeriesHook } from 'qx-util'; /** * 应用组件服务钩子 * * @author chitanda * @date 2022-05-18 11:05:46 * @export * @interface AppComponentServiceHooks */ export interface AppComponentServiceHooks { /** * 视图组件注册 * * @author chitanda * @date 2022-05-18 11:05:56 * @type {SyncSeriesHook<[], Map>} */ view_register: SyncSeriesHook<[], Map>; /** * 部件组件注册 * * @author chitanda * @date 2022-05-18 11:05:03 * @type {SyncSeriesHook<[], Map>} */ control_register: SyncSeriesHook<[], Map>; /** * 编辑器组件注册 * * @author chitanda * @date 2022-05-18 11:05:09 * @type {SyncSeriesHook<[], Map>} */ editor_register: SyncSeriesHook<[], Map>; } /** * 应用组件服务 * * @author chitanda * @date 2022-05-18 11:05:15 * @export * @class AppComponentService */ export declare class AppComponentService { static readonly hooks: AppComponentServiceHooks; /** * 视图组件 * * @author chitanda * @date 2022-05-18 11:05:13 * @protected * @static * @type {Map} */ protected static viewMap: Map; /** * 部件组件 * * @author chitanda * @date 2022-05-18 11:05:07 * @protected * @static * @type {Map} */ protected static controlMap: Map; /** * 控件组件 * * @author chitanda * @date 2022-05-18 11:05:55 * @protected * @static * @type {Map} */ protected static editorMap: Map; /** * 注册组件 * * @author chitanda * @date 2022-05-18 11:05:46 * @static */ static registerAppComponents(): void; /** * 注册视图组件 * * @author chitanda * @date 2022-05-18 11:05:38 * @protected * @static */ protected static registerViewComponents(): void; /** * 获取视图组件 * * @author chitanda * @date 2022-05-18 11:05:58 * @static * @param {string} viewType * @param {string} viewStyle * @param {string} [pluginCode] * @return {*} */ static getViewComponents(viewType: string, viewStyle: string, pluginCode?: string): string; /** * 注册部件组件 * * @author chitanda * @date 2022-05-18 11:05:13 * @protected * @static */ protected static registerControlComponents(): void; /** * 获取部件组件 * * @author chitanda * @date 2022-05-18 11:05:19 * @static * @param {string} ctrlType * @param {string} ctrlStyle * @param {string} [pluginCode] * @return {*} */ static getControlComponents(ctrlType: string, ctrlStyle: string, pluginCode?: string): string; /** * 注册编辑器组件 * * @author chitanda * @date 2022-05-18 11:05:25 * @protected * @static */ protected static registerEditorComponents(): void; /** * 获取编辑器组件 * * @author chitanda * @date 2022-05-18 11:05:34 * @static * @param {string} editorType * @param {string} editorStyle * @return {*} */ static getEditorComponents(editorType: string, editorStyle: string): any; } //# sourceMappingURL=app-component-service.d.ts.map