import { Component, HostBinding, ViewEncapsulation } from '@angular/core';
import * as i0 from "@angular/core";
/**
 * Component to manage timeline sides
 */
export class TimelineEntrySideComponent {
    set alternate(value) {
        this.elementRef.nativeElement.classList.toggle('alternate', value);
    }
    constructor(elementRef) {
        this.elementRef = elementRef;
        this.className = 'mic-timeline-entry-side';
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimelineEntrySideComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: TimelineEntrySideComponent, selector: "mic-timeline-entry-side", host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [".mic-timeline-entry-side{position:absolute;left:100%;text-align:left;margin-left:40px;width:calc(100% - 45px);top:50%;margin-top:-12px;color:#cfcfcf}.mic-timeline-entry-side.alternate{text-align:right;width:100%;margin-left:-40px;left:-100%}.timeline-horizontal .mic-timeline-entry-side{margin-left:0;left:0;width:300px;top:-45px;text-align:center}.timeline-horizontal .mic-timeline-entry-side.alternate{text-align:center;margin-left:0}.timeline-horizontal-list .mic-timeline-entry-side{width:200px;position:relative;margin-left:-42px;left:0;top:-42px;text-align:center}@media screen and (max-width: 599px){.mic-timeline-entry-side{width:100%;margin-left:0;left:0;text-align:right;top:-50px}.mic-timeline-entry-side.alternate{left:0;margin-left:0}}\n"], encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: TimelineEntrySideComponent, decorators: [{
            type: Component,
            args: [{ selector: 'mic-timeline-entry-side', encapsulation: ViewEncapsulation.None, template: "<ng-content></ng-content>\n", styles: [".mic-timeline-entry-side{position:absolute;left:100%;text-align:left;margin-left:40px;width:calc(100% - 45px);top:50%;margin-top:-12px;color:#cfcfcf}.mic-timeline-entry-side.alternate{text-align:right;width:100%;margin-left:-40px;left:-100%}.timeline-horizontal .mic-timeline-entry-side{margin-left:0;left:0;width:300px;top:-45px;text-align:center}.timeline-horizontal .mic-timeline-entry-side.alternate{text-align:center;margin-left:0}.timeline-horizontal-list .mic-timeline-entry-side{width:200px;position:relative;margin-left:-42px;left:0;top:-42px;text-align:center}@media screen and (max-width: 599px){.mic-timeline-entry-side{width:100%;margin-left:0;left:0;text-align:right;top:-50px}.mic-timeline-entry-side.alternate{left:0;margin-left:0}}\n"] }]
        }], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { className: [{
                type: HostBinding,
                args: ['class']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktc2lkZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS9zcmMvbGliL3RpbWVsaW5lL2VudHJ5LXNpZGUvZW50cnktc2lkZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wYWNrYWdlcy90aGVtZS9zcmMvbGliL3RpbWVsaW5lL2VudHJ5LXNpZGUvZW50cnktc2lkZS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFjLFdBQVcsRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFFdEY7O0dBRUc7QUFPSCxNQUFNLE9BQU8sMEJBQTBCO0lBR3JDLElBQUksU0FBUyxDQUFDLEtBQWM7UUFDMUIsSUFBSSxDQUFDLFVBQVUsQ0FBQyxhQUFhLENBQUMsU0FBUyxDQUFDLE1BQU0sQ0FBQyxXQUFXLEVBQUUsS0FBSyxDQUFDLENBQUM7SUFDckUsQ0FBQztJQUVELFlBQTZCLFVBQXNCO1FBQXRCLGVBQVUsR0FBVixVQUFVLEN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