import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { SmzCardsView } from '../../models/smz-cards-types';
import { SmzCardsTemplate } from '../../models/smz-cards-templates';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "../types/raw/raw-type.component";
import * as i3 from "../types/image-with-details/image-with-details-type.component";
import * as i4 from "../types/info-a/info-a-type.component";
import * as i5 from "../types/flip-card/flip-card-type.component";
export class SmzListItemComponent {
    constructor() {
        this.isDebug = false;
        this.type = SmzCardsTemplate;
        this.mode = SmzCardsView.LIST;
    }
    ngOnInit() { }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzListItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SmzListItemComponent, selector: "smz-list-item", inputs: { isDebug: "isDebug", template: "template", buttons: "buttons", menu: "menu", data: "data" }, ngImport: i0, template: "<ng-container [ngSwitch]=\"template.type\">\r\n\r\n  <ng-container *ngSwitchCase=\"type.RAW\">\r\n    <smz-raw-type [data]=\"data\" [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-raw-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.IMAGE_WITH_DETAILS\">\r\n    <smz-image-with-details-type [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-image-with-details-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.INFO_A\">\r\n    <smz-info-a-type [data]=\"data\" [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-info-a-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.FLIP_CARD\">\r\n    <smz-flip-card-type [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-flip-card-type>\r\n  </ng-container>\r\n\r\n</ng-container>\r\n\r\n<div class=\"w-full border-b border-solid border-b-surface-100 pt-4\"></div>", dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "component", type: i2.SmzRawTypeComponent, selector: "smz-raw-type", inputs: ["template", "data", "mode", "isDebug", "buttons", "menu"] }, { kind: "component", type: i3.SmzImageWithDetailsTypeComponent, selector: "smz-image-with-details-type", inputs: ["template", "data", "mode", "isDebug", "buttons", "menu"] }, { kind: "component", type: i4.SmzInfoATypeComponent, selector: "smz-info-a-type", inputs: ["template", "data", "mode", "isDebug", "buttons", "menu"] }, { kind: "component", type: i5.SmzFlipCardTypeComponent, selector: "smz-flip-card-type", inputs: ["template", "data", "mode", "isDebug", "buttons", "menu"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzListItemComponent, decorators: [{
            type: Component,
            args: [{ selector: 'smz-list-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container [ngSwitch]=\"template.type\">\r\n\r\n  <ng-container *ngSwitchCase=\"type.RAW\">\r\n    <smz-raw-type [data]=\"data\" [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-raw-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.IMAGE_WITH_DETAILS\">\r\n    <smz-image-with-details-type [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-image-with-details-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.INFO_A\">\r\n    <smz-info-a-type [data]=\"data\" [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-info-a-type>\r\n  </ng-container>\r\n\r\n  <ng-container *ngSwitchCase=\"type.FLIP_CARD\">\r\n    <smz-flip-card-type [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [mode]=\"mode\" [isDebug]=\"isDebug\"></smz-flip-card-type>\r\n  </ng-container>\r\n\r\n</ng-container>\r\n\r\n<div class=\"w-full border-b border-solid border-b-surface-100 pt-4\"></div>" }]
        }], ctorParameters: () => [], propDecorators: { isDebug: [{
                type: Input
            }], template: [{
                type: Input
            }], buttons: [{
                type: Input
            }], menu: [{
                type: Input
            }], data: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGlzdC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei1jYXJkcy9jb21wb25lbnRzL2xpc3QtaXRlbS9saXN0LWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWNhcmRzL2NvbXBvbmVudHMvbGlzdC1pdGVtL2xpc3QtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRixPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sOEJBQThC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