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 SmzGridItemComponent {
    constructor() {
        this.isDebug = false;
        this.type = SmzCardsTemplate;
        this.mode = SmzCardsView.GRID;
    }
    ngOnInit() {
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzGridItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.5", type: SmzGridItemComponent, selector: "smz-grid-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 [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [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 *ngSwitchDefault></ng-container>\r\n\r\n</ng-container>", dependencies: [{ kind: "directive", type: i1.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { kind: "directive", type: i1.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { kind: "directive", type: i1.NgSwitchDefault, selector: "[ngSwitchDefault]" }, { 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.Default }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.5", ngImport: i0, type: SmzGridItemComponent, decorators: [{
            type: Component,
            args: [{ selector: 'smz-grid-item', changeDetection: ChangeDetectionStrategy.Default, 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 [template]=\"$any(template)\" [menu]=\"menu\" [buttons]=\"buttons\" [data]=\"data\" [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 *ngSwitchDefault></ng-container>\r\n\r\n</ng-container>" }]
        }], ctorParameters: () => [], propDecorators: { isDebug: [{
                type: Input
            }], template: [{
                type: Input
            }], buttons: [{
                type: Input
            }], menu: [{
                type: Input
            }], data: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ3JpZC1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25neC1zbXotdWkvc3JjL2xpYi9tb2R1bGVzL3Ntei1jYXJkcy9jb21wb25lbnRzL2dyaWQtaXRlbS9ncmlkLWl0ZW0uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmd4LXNtei11aS9zcmMvbGliL21vZHVsZXMvc216LWNhcmRzL2NvbXBvbmVudHMvZ3JpZC1pdGVtL2dyaWQtaXRlbS5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUVsRixPQUFPLEVBQUUsWU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