UNPKG

angular2-json-schema-form

Version:
30 lines (29 loc) 909 B
import { WidgetLibraryService } from '../widgets/widget-library.service'; export declare type Framework = { framework: any; widgets?: { [key: string]: any; }; stylesheets?: string[]; scripts?: string[]; }; export declare type FrameworkLibrary = { [key: string]: Framework; }; export declare class FrameworkLibraryService { private widgetLibrary; private defaultFramework; private frameworkLibrary; private activeFramework; private stylesheets; private scripts; constructor(widgetLibrary: WidgetLibraryService); private registerFrameworkWidgets(framework); private loadFrameworkExternalAssets(framework); setFramework(framework?: string | Framework): boolean; hasFramework(type: string): boolean; getFramework(): any; getFrameworkWidgets(): any; getFrameworkStylesheets(): string[]; getFrameworkScritps(): string[]; }