import { Directive, HostBinding, Input } from '@angular/core';
import { ECLBaseDirective } from '../ecl-base.directive';
import * as i0 from "@angular/core";
export class EclContentItemPictureDirective extends ECLBaseDirective {
    constructor() {
        super(...arguments);
        this.size = 'large';
        this.position = 'left';
    }
    get cssClasses() {
        return [
            super.getCssClasses('ecl-content-item__picture'),
            `ecl-content-item__picture--${this.size}`,
            `ecl-content-item__picture--${this.position}`
        ].join(' ').trim();
    }
}
/** @nocollapse */ EclContentItemPictureDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclContentItemPictureDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ EclContentItemPictureDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: EclContentItemPictureDirective, selector: "[eclContentItemPicture]", inputs: { size: "size", position: "position" }, host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclContentItemPictureDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[eclContentItemPicture]'
                }]
        }], propDecorators: { size: [{
                type: Input
            }], position: [{
                type: Input
            }], cssClasses: [{
                type: HostBinding,
                args: ['class']
            }] } });
export class EclContentItemImageDirective extends ECLBaseDirective {
    get cssClasses() {
        return [
            super.getCssClasses('ecl-content-item__image'),
        ].join(' ').trim();
    }
}
/** @nocollapse */ EclContentItemImageDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclContentItemImageDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
/** @nocollapse */ EclContentItemImageDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.6", type: EclContentItemImageDirective, selector: "[eclContentItemImage]", host: { properties: { "class": "this.cssClasses" } }, usesInheritance: true, ngImport: i0 });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.6", ngImport: i0, type: EclContentItemImageDirective, decorators: [{
            type: Directive,
            args: [{
                    selector: '[eclContentItemImage]'
                }]
        }], propDecorators: { cssClasses: [{
                type: HostBinding,
                args: ['class']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWNsLWNvbnRlbnQtaXRlbS1pbWFnZS5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZWNsLWNvbnRlbnQtaXRlbS9lY2wtY29udGVudC1pdGVtLWltYWdlLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFFOUQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sdUJBQXVCLENBQUM7O0FBS3pELE1BQU0sT0FBTyw4QkFBK0IsU0FBUSxnQkFBZ0I7SUFIcEU7O1FBSWEsU0FBSSxHQUFXLE9BQU8sQ0FBQztRQUN2QixhQUFRLEdBQVcsTUFBTSxDQUFDO0tBVXRDO0lBUkcsSUFDSSxVQUFVO1FBQ1YsT0FBTztZQUNILEtBQUssQ0FBQyxhQUFhLENBQUMsMkJBQTJCLENBQUM7WUFDaEQsOEJBQThCLElBQUksQ0FBQyxJQUFJLEVBQUU7WUFDekMsOEJBQThCLElBQUksQ0FBQyxRQUFRLEVBQUU7U0FDaEQsQ0FBQyxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsSUFBSSxFQUFFLENBQUM7SUFDdkIsQ0FBQzs7OElBWFEsOEJBQThCO2tJQUE5Qiw4QkFBOEI7MkZBQTlCLDhCQUE4QjtrQkFIMUMsU0FBUzttQkFBQztvQkFDUCxRQUFRLEVBQUUse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