import { Component } from '@angular/core';
import { C8yTranslatePipe } from '@c8y/ngx-components';
import { gettext } from '@c8y/ngx-components/gettext';
import { PopoverModule } from 'ngx-bootstrap/popover';
import * as i0 from "@angular/core";
import * as i1 from "ngx-bootstrap/popover";
export class BrandingTagsHeaderCellRendererComponent {
    constructor() {
        this.heading = gettext('Applied to');
        this.popoverContent = gettext(`<p class="m-b-8">Branding can be applied at two levels</p>
    <ul class="list-unstyled m-b-0">
      <li class="m-b-4">
        <strong>Global: </strong>
        <span>Applied to the entire platform, affecting all apps and interfaces.</span>
      </li>
      <li>
        <strong>App-specific: </strong>
        <span>Applied only to selected apps within the platform.</span>
      </li>
    </ul>`);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: BrandingTagsHeaderCellRendererComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.9", type: BrandingTagsHeaderCellRendererComponent, isStandalone: true, selector: "c8y-branding-tags-header-cell-renderer", ngImport: i0, template: "<div class=\"d-flex\">\n  <span\n    class=\"text-truncate\"\n    [title]=\"heading | translate\"\n  >\n    {{ heading | translate }}\n  </span>\n  <button\n    class=\"btn-help btn-help--sm a-s-center\"\n    [attr.aria-label]=\"'Help' | translate\"\n    [popover]=\"applyBrandingPopover\"\n    placement=\"bottom\"\n    triggers=\"focus\"\n    container=\"body\"\n    type=\"button\"\n    (click)=\"$event.stopPropagation()\"\n  >\n    <i c8yIcon=\"question-circle-o\"></i>\n  </button>\n  <ng-template #applyBrandingPopover>\n    <div [innerHTML]=\"popoverContent | translate\"></div>\n  </ng-template>\n</div>\n", dependencies: [{ kind: "ngmodule", type: PopoverModule }, { kind: "directive", type: i1.PopoverDirective, selector: "[popover]", inputs: ["adaptivePosition", "boundariesElement", "popover", "popoverContext", "popoverTitle", "placement", "outsideClick", "triggers", "container", "containerClass", "isOpen", "delay"], outputs: ["onShown", "onHidden"], exportAs: ["bs-popover"] }, { kind: "pipe", type: C8yTranslatePipe, name: "translate" }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.9", ngImport: i0, type: BrandingTagsHeaderCellRendererComponent, decorators: [{
            type: Component,
            args: [{ selector: 'c8y-branding-tags-header-cell-renderer', standalone: true, imports: [PopoverModule, C8yTranslatePipe], template: "<div class=\"d-flex\">\n  <span\n    class=\"text-truncate\"\n    [title]=\"heading | translate\"\n  >\n    {{ heading | translate }}\n  </span>\n  <button\n    class=\"btn-help btn-help--sm a-s-center\"\n    [attr.aria-label]=\"'Help' | translate\"\n    [popover]=\"applyBrandingPopover\"\n    placement=\"bottom\"\n    triggers=\"focus\"\n    container=\"body\"\n    type=\"button\"\n    (click)=\"$event.stopPropagation()\"\n  >\n    <i c8yIcon=\"question-circle-o\"></i>\n  </button>\n  <ng-template #applyBrandingPopover>\n    <div [innerHTML]=\"popoverContent | translate\"></div>\n  </ng-template>\n</div>\n" }]
        }] });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJhbmRpbmctdGFncy1oZWFkZXItY2VsbC1yZW5kZXJlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9icmFuZGluZy9zaGFyZWQvbGF6eS9icmFuZGluZy10YWdzLWhlYWRlci1jZWxsLXJlbmRlcmVyL2JyYW5kaW5nLXRhZ3MtaGVhZGVyLWNlbGwtcmVuZGVyZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vYnJhbmRpbmcvc2hhcmVkL2xhenkvYnJhbmRpbmctdGFncy1oZWFkZXItY2VsbC1yZW5kZXJlci9icmFuZGluZy10YWdzLWhlYWRlci1jZWxsLXJlbmRlcmVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9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