import { NgClass, NgOptimizedImage } from '@angular/common';
import * as i0 from '@angular/core';
import { Component, Input } from '@angular/core';
import { LanguageEnum } from '@testlocallibrary/shared-kernel/models/enums';
import * as i1 from '@testlocallibrary/shared-kernel/services/language';

class MediaObjectComponent {
    constructor(languageService) {
        this.languageService = languageService;
        this.LanguageEnum = LanguageEnum;
        this.language = LanguageEnum.En;
        this.iconSrc = '';
        this.iconAlt = '';
        this.heading = '';
    }
    ngOnInit() {
        this.language = this.languageService.getLanguage();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MediaObjectComponent, deps: [{ token: i1.LanguageService }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.2.12", type: MediaObjectComponent, isStandalone: true, selector: "lib-media-object", inputs: { iconSrc: "iconSrc", iconAlt: "iconAlt", heading: "heading" }, ngImport: i0, template: "<div class=\"d-flex\">\r\n  <div class=\"image flex-shrink-0\">\r\n    <img\r\n      [ngSrc]=\"iconSrc\"\r\n      width=\"80\"\r\n      height=\"80\"\r\n      [alt]=\"iconAlt\"\r\n      ngSrcset=\"100w, 200w, 300w\"\r\n      sizes=\"50vw\"\r\n      placeholder\r\n      priority\r\n    />\r\n  </div>\r\n  <div\r\n    class=\"body flex-grow-1\"\r\n    [ngClass]=\"{\r\n      'en-ms-3': language === LanguageEnum.En,\r\n      'ar-ms-3': language === LanguageEnum.Ar\r\n    }\"\r\n  >\r\n    <h3 class=\"h5 mb-3\">{{ heading }}</h3>\r\n    <ng-content select=\"[body]\" class=\"styles\"></ng-content>\r\n  </div>\r\n</div>\r\n", styles: [".image img{background-color:#222b55;padding:5px;width:56px;height:56px;border-radius:5px}.en-ms-3{margin-left:1rem!important}.ar-ms-3{margin-right:1rem!important}\n"], dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgOptimizedImage, selector: "img[ngSrc]", inputs: ["ngSrc", "ngSrcset", "sizes", "width", "height", "loading", "priority", "loaderParams", "disableOptimizedSrcset", "fill", "src", "srcset"] }] }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.2.12", ngImport: i0, type: MediaObjectComponent, decorators: [{
            type: Component,
            args: [{ selector: 'lib-media-object', standalone: true, imports: [NgClass, NgOptimizedImage], template: "<div class=\"d-flex\">\r\n  <div class=\"image flex-shrink-0\">\r\n    <img\r\n      [ngSrc]=\"iconSrc\"\r\n      width=\"80\"\r\n      height=\"80\"\r\n      [alt]=\"iconAlt\"\r\n      ngSrcset=\"100w, 200w, 300w\"\r\n      sizes=\"50vw\"\r\n      placeholder\r\n      priority\r\n    />\r\n  </div>\r\n  <div\r\n    class=\"body flex-grow-1\"\r\n    [ngClass]=\"{\r\n      'en-ms-3': language === LanguageEnum.En,\r\n      'ar-ms-3': language === LanguageEnum.Ar\r\n    }\"\r\n  >\r\n    <h3 class=\"h5 mb-3\">{{ heading }}</h3>\r\n    <ng-content select=\"[body]\" class=\"styles\"></ng-content>\r\n  </div>\r\n</div>\r\n", styles: [".image img{background-color:#222b55;padding:5px;width:56px;height:56px;border-radius:5px}.en-ms-3{margin-left:1rem!important}.ar-ms-3{margin-right:1rem!important}\n"] }]
        }], ctorParameters: function () { return [{ type: i1.LanguageService }]; }, propDecorators: { iconSrc: [{
                type: Input
            }], iconAlt: [{
                type: Input
            }], heading: [{
                type: Input
            }] } });

/**
 * Generated bundle index. Do not edit.
 */

export { MediaObjectComponent };
//# sourceMappingURL=testlocallibrary-shared-kernel-components-media-object.mjs.map
