@santinobch/os-window-angular
Version:
Create windows inside a browser window!
33 lines (32 loc) • 1.09 kB
TypeScript
import { ProcessModel as InstanceModel } from '../../models/Shared.model';
import { Theme, ThemeDefinition } from '../../models/Theme.model';
import * as i0 from "@angular/core";
export declare class OsConfigService {
constructor();
private globalTheme;
private instances;
getInstances(): InstanceModel[];
setInstances(shared: InstanceModel): void;
getGlobalTheme(): Theme;
setGlobalTheme(style: Theme): void;
private zIndex;
/**
* Returns last zIndex value
*
* When a window is focused, it's zIndex value changes,
* making it appear in front of the other windows
*/
getZIndex(): number;
/**
* Sets last zIndex value
*
* When a window is focused, it's zIndex value changes,
* making it appear in front of the other windows
*/
setZIndex(zIndex: number): void;
private userThemeList;
addTheme(theme: ThemeDefinition): void;
getThemes(): any;
static ɵfac: i0.ɵɵFactoryDeclaration<OsConfigService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<OsConfigService>;
}