import { Component, Input, ChangeDetectionStrategy } from '@angular/core';
import { EditCellDefault } from '../../../lib/edit-cell-default';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "./custom-edit.component";
import * as i3 from "./default-edit.component";
export class EditCellComponent extends EditCellDefault {
    constructor() {
        super();
    }
}
EditCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: EditCellComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
EditCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", 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, 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.CustomEditComponent, selector: "table-cell-custom-editor", inputs: ["editingFormGroup"] }, { kind: "component", type: i3.DefaultEditComponent, selector: "table-cell-default-editor", inputs: ["editingFormGroup"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZWRpdC1jZWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3Vuby11aS1saWIvc3JjL2xpYi90YWJsZS9jb21wb25lbnRzL2NlbGwvY2VsbC1lZGl0LW1vZGUvZWRpdC1jZWxsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSx1QkFBdUIsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUcxRSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sZ0NBQWdDLENBQUM7Ozs7O0FBNkJqRSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsZUFBZTtJQUtsRDtRQUNJLEtBQUssRUFBRSxDQUFDO0lBQ1osQ0FBQzs7OEdBUFEsaUJBQWlCO2tHQUFqQixpQkFBaUIscUlBekJoQjs7Ozs7Ozs7Ozs7Ozs7Ozs7Oz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