UNPKG

@nova-ui/dashboards

Version:

Nova Dashboards is a framework designed to provide feature developers with a common solution for presenting data coming from various sources within a single view, as well as a set of predefined widget visualizations that are 100% configuration-driven and

24 lines (23 loc) 1.37 kB
import { ChangeDetectorRef, ElementRef, OnChanges, OnInit, SimpleChanges } from "@angular/core"; import { DomSanitizer } from "@angular/platform-browser"; import { IHasChangeDetector } from "../../types"; import { EmbeddedContentMode } from "../types"; import * as i0 from "@angular/core"; export declare class EmbeddedContentComponent implements IHasChangeDetector, OnInit, OnChanges { changeDetector: ChangeDetectorRef; private document; private domSanitizer; static lateLoadKey: string; mode: EmbeddedContentMode; customEmbeddedContent: string; sanitized: boolean; elementClass: string; anchor: ElementRef; constructor(changeDetector: ChangeDetectorRef, document: Document, domSanitizer: DomSanitizer); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private validateAndApplyEmbeddedContent; private sanitizeContext; static ɵfac: i0.ɵɵFactoryDeclaration<EmbeddedContentComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<EmbeddedContentComponent, "nui-embedded-content", never, { "mode": { "alias": "mode"; "required": false; }; "customEmbeddedContent": { "alias": "customEmbeddedContent"; "required": false; }; "sanitized": { "alias": "sanitized"; "required": false; }; "elementClass": { "alias": "elementClass"; "required": false; }; }, {}, never, never, false, never>; }