import { Component, HostBinding, Input, ViewEncapsulation } from '@angular/core';
import { IonicModule } from '@ionic/angular';
import { TranslateModule } from '@ngx-translate/core';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
export class EuimChangelogComponent {
    constructor() {
        this.className = 'euim-changelog';
        this.changeLogs = [];
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: EuimChangelogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: EuimChangelogComponent, isStandalone: true, 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: "ngmodule", type: TranslateModule }, { kind: "ngmodule", type: IonicModule }, { 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"] }], 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, standalone: true, imports: [TranslateModule, IonicModule], 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXVpbS1jaGFuZ2Vsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0tYWJvdXQvZXVpbS1jaGFuZ2Vsb2cvZXVpbS1jaGFuZ2Vsb2cuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2V1aW0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gbG9nSXRlbS52ZXJzaW9uIH19PC9zdHJvbmc+XG4gICAgICAgICAgICAgICAgPC9kaXY+XG4gICAgICAgICAgICA8L2lvbi1pdGVtPlxuICAgICAgICAgICAgPGlvbi1saXN0IHNsb3Q9XCJjb250ZW50XCI+XG4gICAgICAgICAgICAgICAgQGZvciAoc2VjdGlvbiBvZiBsb2dJdGVtLnNlY3Rpb25zOyB0cmFjayBzZWN0aW9uKSB7XG4gICAgICAgICAgICAgICAgQGlmIChzZWN0aW9uLml0ZW1zICYmIHNlY3Rpb24uaXRlbXMubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgIDxpb24taXRlbS1kaXZpZGVyPlxuICAgICAgICAgICAgICAgICAgICA8aW9uLWxhYmVsPnt7IHNlY3Rpb24ubmFtZSB9fTwvaW9uLWxhYmVsPlxuICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0tZGl2aWRlcj5cbiAgICAgICAgICAgICAgICA8aW9uLWl0ZW0gbGluZXM9XCJub25lXCI+XG4gICAgICAgICAgICAgICAgICAgIDx1bD5cbiAgICAgICAgICAgICAgICAgICAgICAgIEBmb3IgKGl0ZW0gb2Ygc2VjdGlvbi5pdGVtczsgdHJhY2sgaXRlbSkge1xuICAgICAgICAgICAgICAgICAgICAgICAgPGxpPnt7IGl0ZW0gfX08L2xpPlxuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICA8L3VsPlxuICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0+XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIDwvaW9uLWxpc3Q+XG4gICAgICAgIDwvaW9uLWFjY29yZGlvbj5cbiAgICAgICAgfVxuICAgIDwvaW9uLWFjY29yZGlvbi1ncm91cD5cbjwvaW9uLWxpc3Q+Il19