UNPKG

ngx-admin-lte

Version:

AdminLTE theme for angular

22 lines 2.42 kB
import * as tslib_1 from "tslib"; import { Component } from '@angular/core'; import { FooterService } from '../../services/footer.service'; let AppFooterComponent = class AppFooterComponent { constructor(footerServ) { this.footerServ = footerServ; this.footer = {}; this.footerServ.getCurrent().subscribe(footer => this.footer = footer); } }; AppFooterComponent.ctorParameters = () => [ { type: FooterService } ]; AppFooterComponent = tslib_1.__decorate([ Component({ selector: 'app-footer', template: "<!-- Main Footer -->\n<footer class=\"main-footer\">\n\t<!-- To the right -->\n\t<div class=\"pull-right hidden-xs\" [innerHTML]=\"footer?.right_part | safeHtml\"></div>\n\t<!-- Default to the left -->\n\t<div [innerHtml]=\"footer?.left_part | safeHtml\"></div>\n</footer>\n", styles: [""] }) ], AppFooterComponent); export { AppFooterComponent }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWZvb3Rlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9uZ3gtYWRtaW4tbHRlLyIsInNvdXJjZXMiOlsid2lkZ2V0cy9hcHAtZm9vdGVyL2FwcC1mb290ZXIuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzFDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQU85RCxJQUFhLGtCQUFrQixHQUEvQixNQUFhLGtCQUFrQjtJQUczQixZQUFxQixVQUF5QjtRQUF6QixlQUFVLEdBQVYsVUFBVSxDQUFlO1FBRnZDLFdBQU0sR0FBUSxFQUFFLENBQUM7UUFHdEIsSUFBSSxDQUFDLFVBQVUsQ0FBQyxVQUFVLEVBQUUsQ0FBQyxTQUFTLENBQUUsTUFBTSxDQUFDLEVBQUUsQ0FBQyxJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0s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