import { Component, HostBinding, ViewChild, ViewEncapsulation } from '@angular/core';
import * as i0 from "@angular/core";
export class TimelineEntryContentListComponent {
    constructor() {
        this.className = 'mic-timeline-entry-list';
    }
    ngAfterViewInit() {
        setTimeout(() => {
            this.list.nativeElement.parentElement.parentElement.style.height = `${this.list.nativeElement.offsetHeight + 40}px`;
        }, 0);
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimelineEntryContentListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TimelineEntryContentListComponent, selector: "mic-timeline-entry-list", host: { properties: { "class": "this.className" } }, viewQueries: [{ propertyName: "list", first: true, predicate: ["list"], descendants: true }], ngImport: i0, template: "<ng-content select=\"mic-timeline-entry-side\"></ng-content>\n<ng-content select=\"mic-timeline-entry-dot\"></ng-content>\n<div class=\"timeline-list\" #list>\n  <ng-content select=\"mic-timeline-entry-content\"></ng-content>\n</div>\n", styles: [".timeline-horizontal-list .mic-timeline-entry-list{position:relative;width:300px;float:left;margin-bottom:0;top:0;display:flex;justify-content:center}.timeline-horizontal-list .mic-timeline-entry-content{text-align:center;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:5px;display:block;position:relative;width:200px;top:60px;margin-bottom:50px;left:-9%}.timeline-horizontal-list .mic-timeline-entry-content>div{padding:15px 14px}.timeline-horizontal-list .timeline-list{position:absolute}.timeline-horizontal-list .timeline-list:before{content:\"\";position:absolute;width:6px;top:0;bottom:0;left:40%}\n"], encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimelineEntryContentListComponent, decorators: [{
            type: Component,
            args: [{ selector: 'mic-timeline-entry-list', encapsulation: ViewEncapsulation.None, template: "<ng-content select=\"mic-timeline-entry-side\"></ng-content>\n<ng-content select=\"mic-timeline-entry-dot\"></ng-content>\n<div class=\"timeline-list\" #list>\n  <ng-content select=\"mic-timeline-entry-content\"></ng-content>\n</div>\n", styles: [".timeline-horizontal-list .mic-timeline-entry-list{position:relative;width:300px;float:left;margin-bottom:0;top:0;display:flex;justify-content:center}.timeline-horizontal-list .mic-timeline-entry-content{text-align:center;box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;border-radius:5px;display:block;position:relative;width:200px;top:60px;margin-bottom:50px;left:-9%}.timeline-horizontal-list .mic-timeline-entry-content>div{padding:15px 14px}.timeline-horizontal-list .timeline-list{position:absolute}.timeline-horizontal-list .timeline-list:before{content:\"\";position:absolute;width:6px;top:0;bottom:0;left:40%}\n"] }]
        }], propDecorators: { className: [{
                type: HostBinding,
                args: ['class']
            }], list: [{
                type: ViewChild,
                args: ['list']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktY29udGVudC1saXN0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL3RoZW1lL3NyYy9saWIvdGltZWxpbmUvZW50cnktY29udGVudC1saXN0L2VudHJ5LWNvbnRlbnQtbGlzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS9zcmMvbGliL3RpbWVsaW5lL2VudHJ5LWNvbnRlbnQtbGlzdC9lbnRyeS1jb250ZW50LWxpc3QuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFpQixTQUFTLEVBQWMsV0FBVyxFQUFFLFNBQVMsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRaEgsTUFBTSxPQUFPLGlDQUFpQztJQU45QztRQU93QixjQUFTLEdBQ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