import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
export class SingleAccordionComponent {
    constructor() {
        this.title = '';
        this.isOpen = true;
        this.size = 'lg';
    }
    toogle() {
        this.isOpen = !this.isOpen;
    }
}
SingleAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
SingleAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: SingleAccordionComponent, selector: "epom-single-accordion", inputs: { title: "title", isOpen: "isOpen", size: "size" }, ngImport: i0, template: "<div class=\"block-toggle block-toggle-big\" (click)=\"toogle()\" [ngClass]=\"{'small-accordion': size === 'sm'}\">\n  <span [ngClass]=\"{rotate: isOpen}\" class=\"material-icons material-icons-outlined\">arrow_right</span>\n  <div class=\"accordion-title\" [ngClass]=\"{'headline-3': size === 'lg'}\" [attr.data-qa]=\"isOpen ? 'shown' : 'hidden'\">\n    {{ title }}\n  </div>\n</div>\n<div class=\"accordion-content\" *ngIf=\"isOpen\">\n  <ng-content></ng-content>\n</div>\n", styles: [".headline-3,.block-toggle{margin:0}.small-accordion .accordion-title{font-weight:600;font-size:14px;line-height:21px}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: SingleAccordionComponent, decorators: [{
            type: Component,
            args: [{ selector: 'epom-single-accordion', template: "<div class=\"block-toggle block-toggle-big\" (click)=\"toogle()\" [ngClass]=\"{'small-accordion': size === 'sm'}\">\n  <span [ngClass]=\"{rotate: isOpen}\" class=\"material-icons material-icons-outlined\">arrow_right</span>\n  <div class=\"accordion-title\" [ngClass]=\"{'headline-3': size === 'lg'}\" [attr.data-qa]=\"isOpen ? 'shown' : 'hidden'\">\n    {{ title }}\n  </div>\n</div>\n<div class=\"accordion-content\" *ngIf=\"isOpen\">\n  <ng-content></ng-content>\n</div>\n", styles: [".headline-3,.block-toggle{margin:0}.small-accordion .accordion-title{font-weight:600;font-size:14px;line-height:21px}\n"] }]
        }], propDecorators: { title: [{
                type: Input,
                args: ['title']
            }], isOpen: [{
                type: Input,
                args: ['isOpen']
            }], size: [{
                type: Input,
                args: ['size']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2luZ2xlLWFjY29yZGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvZXBvbS1uZzItdWktZm91bmRhdGlvbi9zcmMvbGliL3NpbmdsZS1hY2NvcmRpb24vc2luZ2xlLWFjY29yZGlvbi5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi9saWJyYXJpZXMvZXBvbS1uZzItdWktZm91bmRhdGlvbi9zcmMvbGliL3NpbmdsZS1hY2NvcmRpb24vc2luZ2xlLWFjY29yZGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLEtBQUssRUFBQyxNQUFNLGVBQWUsQ0FBQzs7O0FBTy9DLE1BQU0sT0FBTyx3QkFBd0I7SUFMckM7UUFNa0IsVUFBSyxHQUFXLEVBQUUsQ0FBQztRQUNsQixXQUFNLEdBQVksSUFBSSxDQUFDO1FBQ3pCLFNBQUksR0FBVyxJQUFJLENBQUM7S0FLcEM7SUFIQyxNQUFNO1FBQ0osSUFBSSxDQUFDLE1BQU0sR0FBRyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUM7SUFDN0IsQ0FBQzs7cUhBUFUsd0JBQXdCO3lHQUF4Qix3QkFBd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