import { Component, Input, ViewEncapsulation, HostBinding } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
import * as i2 from "../../atoms/euim-label/euim-label.component";
export class EuimChangelogComponent {
    constructor() {
        this.className = 'euim-changelog';
        this.changeLogs = [];
    }
    /** @nocollapse */ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimChangelogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    /** @nocollapse */ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: EuimChangelogComponent, selector: "euim-changelog", inputs: { changeLogs: "changeLogs" }, host: { properties: { "class": "this.className" } }, ngImport: i0, template: "<ion-list>\n    <ion-accordion-group [multiple]=\"true\" value=\"about\">\n        @for (logItem of changeLogs; track $index) {\n        <ion-accordion [value]=\"$index === 0 ? 'about' : logItem.version\">\n            <ion-item slot=\"header\">\n                <ion-icon name=\"build\" slot=\"start\"></ion-icon>\n                <div class=\"euim-changelog__euimVersionTitle\" euimLabel euimLabelTitle>\n                    <strong>{{ logItem.version }}</strong>\n                </div>\n            </ion-item>\n            <ion-list slot=\"content\">\n                @for (section of logItem.sections; track section) {\n                @if (section.items && section.items.length > 0) {\n                <ion-item-divider>\n                    <ion-label>{{ section.name }}</ion-label>\n                </ion-item-divider>\n                <ion-item lines=\"none\">\n                    <ul>\n                        @for (item of section.items; track item) {\n                        <li>{{ item }}</li>\n                        }\n                    </ul>\n                </ion-item>\n                }\n                }\n            </ion-list>\n        </ion-accordion>\n        }\n    </ion-accordion-group>\n</ion-list>", styles: [".euim-changelog__euimVersionTitle{font:var(--eui-f-s-compact);color:var(--eui-c-neutral)}.euim-changelog ul{padding:var(--eui-s-xs) var(--eui-s-m);margin:0}.euim-changelog li{font:var(--eui-f-m-compact);color:var(--eui-c-neutral)}.euim-changelog ion-item ion-icon{color:var(--eui-c-neutral)}.euim-changelog ion-item ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-changelog ion-item ion-icon[slot=end]{color:var(--eui-c-neutral-light)}.euim-changelog ion-list{flex:1;display:flex;flex-direction:column}.euim-changelog ion-content ion-list{max-height:calc(100vh - var(--eui-s-4xl));overflow-y:auto;overflow-x:hidden}.euim-changelog ion-accordion ion-item{--background: var(--eui-c-neutral-min)}\n"], dependencies: [{ kind: "component", type: i1.IonAccordion, selector: "ion-accordion", inputs: ["disabled", "mode", "readonly", "toggleIcon", "toggleIconSlot", "value"] }, { kind: "component", type: i1.IonAccordionGroup, selector: "ion-accordion-group", inputs: ["animated", "disabled", "expand", "mode", "multiple", "readonly", "value"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i1.IonItemDivider, selector: "ion-item-divider", inputs: ["color", "mode", "sticky"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i2.EuimLabelComponent, selector: "div[euimLabel], p[euimLabel], span[euimLabel], euim-label", inputs: ["euimLabelTruncateWithLines", "euimLabelTitle", "euimLabelSubTitle", "euimLabelMeta", "euimLabelTruncate", "euimLabelTextWrap"] }], encapsulation: i0.ViewEncapsulation.None }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimChangelogComponent, decorators: [{
            type: Component,
            args: [{ selector: 'euim-changelog', encapsulation: ViewEncapsulation.None, template: "<ion-list>\n    <ion-accordion-group [multiple]=\"true\" value=\"about\">\n        @for (logItem of changeLogs; track $index) {\n        <ion-accordion [value]=\"$index === 0 ? 'about' : logItem.version\">\n            <ion-item slot=\"header\">\n                <ion-icon name=\"build\" slot=\"start\"></ion-icon>\n                <div class=\"euim-changelog__euimVersionTitle\" euimLabel euimLabelTitle>\n                    <strong>{{ logItem.version }}</strong>\n                </div>\n            </ion-item>\n            <ion-list slot=\"content\">\n                @for (section of logItem.sections; track section) {\n                @if (section.items && section.items.length > 0) {\n                <ion-item-divider>\n                    <ion-label>{{ section.name }}</ion-label>\n                </ion-item-divider>\n                <ion-item lines=\"none\">\n                    <ul>\n                        @for (item of section.items; track item) {\n                        <li>{{ item }}</li>\n                        }\n                    </ul>\n                </ion-item>\n                }\n                }\n            </ion-list>\n        </ion-accordion>\n        }\n    </ion-accordion-group>\n</ion-list>", styles: [".euim-changelog__euimVersionTitle{font:var(--eui-f-s-compact);color:var(--eui-c-neutral)}.euim-changelog ul{padding:var(--eui-s-xs) var(--eui-s-m);margin:0}.euim-changelog li{font:var(--eui-f-m-compact);color:var(--eui-c-neutral)}.euim-changelog ion-item ion-icon{color:var(--eui-c-neutral)}.euim-changelog ion-item ion-icon[slot=start]{margin-inline-end:var(--eui-s-m)}.euim-changelog ion-item ion-icon[slot=end]{color:var(--eui-c-neutral-light)}.euim-changelog ion-list{flex:1;display:flex;flex-direction:column}.euim-changelog ion-content ion-list{max-height:calc(100vh - var(--eui-s-4xl));overflow-y:auto;overflow-x:hidden}.euim-changelog ion-accordion ion-item{--background: var(--eui-c-neutral-min)}\n"] }]
        }], propDecorators: { className: [{
                type: HostBinding,
                args: ['class']
            }], changeLogs: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1jaGFuZ2Vsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tYWJvdXQvZXVpbS1jaGFuZ2Vsb2cvZXVpbS1jaGFuZ2Vsb2cuY29tc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ICAgICAgPGlvbi1sYWJlbD57eyBzZWN0aW9uLm5hbWUgfX08L2lvbi1sYWJlbD5cbiAgICAgICAgICAgICAgICA8L2lvbi1pdGVtLWRpdmlkZXI+XG4gICAgICAgICAgICAgICAgPGlvbi1pdGVtIGxpbmVzPVwibm9uZVwiPlxuICAgICAgICAgICAgICAgICAgICA8dWw+XG4gICAgICAgICAgICAgICAgICAgICAgICBAZm9yIChpdGVtIG9mIHNlY3Rpb24uaXRlbXM7IHRyYWNrIGl0ZW0pIHtcbiAgICAgICAgICAgICAgICAgICAgICAgIDxsaT57eyBpdGVtIH19PC9saT5cbiAgICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgPC91bD5cbiAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICA8L2lvbi1saXN0PlxuICAgICAgICA8L2lvbi1hY2NvcmRpb24+XG4gICAgICAgIH1cbiAgICA8L2lvbi1hY2NvcmRpb24tZ3JvdXA+XG48L2lvbi1saXN0PiJdfQ==