import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
import { EditCellDefault } from '../../../lib/edit-cell-default';
import * as i0 from "@angular/core";
import * as i1 from "./custom-edit.component";
import * as i2 from "./default-edit.component";
import * as i3 from "@angular/common";
export class EditCellComponent extends EditCellDefault {
    constructor() {
        super();
    }
}
EditCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
EditCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.11", type: EditCellComponent, selector: "table-cell-edit-mode", inputs: { editingFormGroup: "editingFormGroup" }, usesInheritance: true, ngImport: i0, template: `
        <ng-container [ngSwitch]="getEditorType()">
            <table-cell-custom-editor
                *ngSwitchCase="'custom'"
                [cell]="cell"
                [inputClass]="inputClass"
                [editingFormGroup]="editingFormGroup"
                (edited)="onEdited($event)"
                (selectedElem)="selectedElem.emit($event)">
            </table-cell-custom-editor>

            <table-cell-default-editor
                *ngSwitchDefault
                [editingFormGroup]="editingFormGroup"
                [cell]="cell"
                [inputClass]="inputClass"
                [updateColumnList]="updateColumnList"
                (edited)="onEdited($event)"
                (selectedElem)="selectedElem.emit($event)">
            </table-cell-default-editor>
        </ng-container>
    `, isInline: true, components: [{ type: i1.CustomEditComponent, selector: "table-cell-custom-editor", inputs: ["editingFormGroup"] }, { type: i2.DefaultEditComponent, selector: "table-cell-default-editor", inputs: ["editingFormGroup"] }], directives: [{ type: i3.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }, { type: i3.NgSwitchDefault, selector: "[ngSwitchDefault]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.11", ngImport: i0, type: EditCellComponent, decorators: [{
            type: Component,
            args: [{
                    selector: 'table-cell-edit-mode',
                    template: `
        <ng-container [ngSwitch]="getEditorType()">
            <table-cell-custom-editor
                *ngSwitchCase="'custom'"
                [cell]="cell"
                [inputClass]="inputClass"
                [editingFormGroup]="editingFormGroup"
                (edited)="onEdited($event)"
                (selectedElem)="selectedElem.emit($event)">
            </table-cell-custom-editor>

            <table-cell-default-editor
                *ngSwitchDefault
                [editingFormGroup]="editingFormGroup"
                [cell]="cell"
                [inputClass]="inputClass"
                [updateColumnList]="updateColumnList"
                (edited)="onEdited($event)"
                (selectedElem)="selectedElem.emit($event)">
            </table-cell-default-editor>
        </ng-container>
    `,
                    changeDetection: ChangeDetectionStrategy.OnPush
                }]
        }], ctorParameters: function () { return []; }, propDecorators: { editingFormGroup: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Vuby11aS1saWIvc3JjL2xpYi90YWJsZS9jb21wb25lbnRzL2NlbGwvY2VsbC1lZGl0LW1vZGUvZWRpdC1jZWxsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7Ozs7O0FBNkJqRSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsZUFBZTtJQUtsRDtRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQzs7K0dBUFEsaUJBQWlCO21HQUFqQixpQkFBaUIscUlBekJoQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0tBcUJUOzRGQUlRLGlCQUFpQjtrQk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