import { Component, ChangeDetectionStrategy } from '@angular/core';
import { HostDisplayBlockStyle } from '@anglr/common';
import { DataBlockSAComponent } from '../dataBlock.component';
import * as i0 from "@angular/core";
/**
 * Designer component used for displaying data block
 */
export class DataBlockDesignerSAComponent extends DataBlockSAComponent {
    //######################### protected methods - overrides #########################
    /**
     * @inheritdoc
     */
    onOptionsSet() {
        var _a, _b;
        if (!this.initialized) {
            return;
        }
        this.componentElement.nativeElement.innerHTML = (_b = (_a = this.options) === null || _a === void 0 ? void 0 : _a.template) !== null && _b !== void 0 ? _b : '';
    }
}
DataBlockDesignerSAComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DataBlockDesignerSAComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
DataBlockDesignerSAComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.0.4", type: DataBlockDesignerSAComponent, isStandalone: true, selector: "data-block-designer", usesInheritance: true, ngImport: i0, template: '', isInline: true, styles: [":host{display: block;}"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.0.4", ngImport: i0, type: DataBlockDesignerSAComponent, decorators: [{
            type: Component,
            args: [{ selector: 'data-block-designer', template: '', standalone: true, changeDetection: ChangeDetectionStrategy.OnPush, styles: [":host{display: block;}"] }]
        }] });
//# sourceMappingURL=dataBlockDesigner.component.js.map