import { ChangeDetectionStrategy, Component, HostBinding } from '@angular/core';
import { AbstractPropertyEdit } from '../abstract-property-edit';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@angular/material/legacy-form-field";
import * as i3 from "../property-error/property-error.component";
import * as i4 from "../default-edit/default-edit.component";
export class OrganisationEditComponent extends AbstractPropertyEdit {
    constructor() {
        super(...arguments);
        this.propertyEditClass = true;
    }
}
OrganisationEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OrganisationEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
OrganisationEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", type: OrganisationEditComponent, selector: "ax-organisation-edit", host: { properties: { "class.c-property-edit": "this.propertyEditClass" } }, usesInheritance: true, ngImport: i0, template: "<ax-default-edit\n  [name]=\"name\"\n  [form]=\"form\"\n  [hint]=\"hint\"\n  [autofocus]=\"autofocus\"\n  [required]=\"required\"\n  [showIcon]=\"showIcon\"\n></ax-default-edit>\n<mat-hint class=\"hint\" *ngIf=\"form.valid || form.untouched\" align=\"end\">{{ hint }}</mat-hint>\n<ax-property-error *ngIf=\"form.touched\" [form]=\"form\"></ax-property-error>\n", dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.MatLegacyHint, selector: "mat-hint", inputs: ["align", "id"] }, { kind: "component", type: i3.PropertyErrorComponent, selector: "ax-property-error", inputs: ["form", "label"] }, { kind: "component", type: i4.DefaultEditComponent, selector: "ax-default-edit", inputs: ["placeholder", "matAutocomplete"], outputs: ["focused"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: OrganisationEditComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-organisation-edit', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-default-edit\n  [name]=\"name\"\n  [form]=\"form\"\n  [hint]=\"hint\"\n  [autofocus]=\"autofocus\"\n  [required]=\"required\"\n  [showIcon]=\"showIcon\"\n></ax-default-edit>\n<mat-hint class=\"hint\" *ngIf=\"form.valid || form.untouched\" align=\"end\">{{ hint }}</mat-hint>\n<ax-property-error *ngIf=\"form.touched\" [form]=\"form\"></ax-property-error>\n" }]
        }], propDecorators: { propertyEditClass: [{
                type: HostBinding,
                args: ['class.c-property-edit']
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3JnYW5pc2F0aW9uLWVkaXQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3Byb3BlcnR5LWVkaXQvb3JnYW5pc2F0aW9uLWVkaXQvb3JnYW5pc2F0aW9uLWVkaXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3Byb3BlcnR5LWVkaXQvb3JnYW5pc2F0aW9uLWVkaXQvb3JnYW5pc2F0aW9uLWVkaXQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFDLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFOUUsT0FBTyxFQUFDLG9CQUFvQixFQUFDLE1BQU0sMkJBQTJCLENBQUM7Ozs7OztBQU8vRCxNQUFNLE9BQU8seUJBQTBCLFNBQVEsb0JBQW9CO0lBTG5FOztRQU13QyxzQkFBaUIsR0FBRyxJQUFJLENBQUM7S0FDaEU7O3NIQUZZLHlCQUF5QjswR0FBekIseUJBQXlCLGdLQ1R0QywwV0FVQTsyRkREYSx5QkFBeUI7a0JBTHJDLFNBQVM7K0JBQ0Usc0J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