import { LayoutState } from '@ibizstudio/runtime'; import { Observable } from 'rxjs'; /** * 应用UI状态管理服务类 * * @export * @class UIStateService */ export declare class UIStateService { /** * 事件组 * * @private * @type {*} * @memberof OsObject */ private events; /** * 缓存标识 * * @protected * @type {string} * @memberof UIStateService */ protected localStoreKey: string; /** * 全局布局状态管理 * * @type {LayoutState} * @memberof UIStateService */ layoutState: LayoutState; /** * Creates an instance of UIStateService. * @memberof UIStateService */ constructor(); /** * 填充状态 * * @protected * @param {*} data * @memberof UIStateService */ protected fillLayoutState(data: any): void; /** * 改变布局状态 * * @param {LayoutState} state * @memberof UIStateService */ changeLayoutState(state: any): void; /** * 获取某项UI状态 * * @template K * @param {K} key * @returns {*} * @memberof UIStateService */ getState(key: K): any; /** * 左侧导航内容区显示切换 * * @param {boolean} [bool] * @memberof UIStateService */ leftExpContentShowChange(bool?: boolean): void; /** * 改变左侧菜单收缩状态 * * @param {boolean} [bool] * @memberof UIStateService */ leftNavMenuCollapseChange(bool?: boolean): void; /** * 是否为Style2模式 * * @returns {boolean} * @memberof UIStateService */ isStyle2(): boolean; /** * 注册事件 * * @param {string} [eventName] * @return {*} {Observable} * @memberof UIStateService */ on(eventName?: string): Observable; } //# sourceMappingURL=ui-state-service.d.ts.map