import { AXPLayoutBaseWidgetComponent } from '@acorex/platform/layout/widget-core';
import * as i0 from '@angular/core';
import { inject, computed, HostBinding, ChangeDetectionStrategy, Component } from '@angular/core';
import { DomSanitizer } from '@angular/platform-browser';

class AXPSignatureListWidgetDesignerComponent extends AXPLayoutBaseWidgetComponent {
    constructor() {
        super(...arguments);
        this.sanitizer = inject(DomSanitizer);
        this.content = computed(() => this.options()['content'], ...(ngDevMode ? [{ debugName: "content" }] : []));
        this.innerContent = computed(() => this.sanitizer.bypassSecurityTrustHtml(this.content()), ...(ngDevMode ? [{ debugName: "innerContent" }] : []));
    }
    get __class() {
        return {
            'ax-block': true,
        };
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSignatureListWidgetDesignerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.4", type: AXPSignatureListWidgetDesignerComponent, isStandalone: true, selector: "axp-text-block-widget-designer", host: { properties: { "class": "this.__class" } }, usesInheritance: true, ngImport: i0, template: ` <div [innerHTML]="innerContent()"></div> `, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.4", ngImport: i0, type: AXPSignatureListWidgetDesignerComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'axp-text-block-widget-designer',
                    template: ` <div [innerHTML]="innerContent()"></div> `,
                    changeDetection: ChangeDetectionStrategy.OnPush,
                }]
        }], propDecorators: { __class: [{
                type: HostBinding,
                args: ['class']
            }] } });

export { AXPSignatureListWidgetDesignerComponent };
//# sourceMappingURL=acorex-modules-workflow-management-signature-list-widget-designer.component-BLPdpGGv.mjs.map
