import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { AbstractPropertyEdit } from '../abstract-property-edit';
import * as i0 from "@angular/core";
import * as i1 from "../file-edit/file-edit.component";
export const IMAGE_TYPES = ['png', 'jpg', 'jpeg', 'bmp', 'svg'];
export class ImageEditComponent extends AbstractPropertyEdit {
    constructor() {
        super(...arguments);
        this.acceptTypes = IMAGE_TYPES;
        this.demo = false;
        this.preview = false;
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ImageEditComponent, selector: "ax-image-edit", inputs: { acceptTypes: "acceptTypes", maxFileSize: "maxFileSize", uploadLink: "uploadLink", demo: "demo", preview: "preview", previewUrl: "previewUrl" }, usesInheritance: true, ngImport: i0, template: "<ax-file-edit\n  [form]=\"form\"\n  [name]=\"name\"\n  [hint]=\"hint\"\n  [autofocus]=\"autofocus\"\n  [customLabel]=\"customLabel\"\n  [required]=\"required\"\n  [autocompleteAttr]=\"autocompleteAttr\"\n  [showErrors]=\"showErrors\"\n  [showIcon]=\"showIcon\"\n  [acceptTypes]=\"acceptTypes\"\n  [maxFileSize]=\"maxFileSize\"\n  [uploadLink]=\"uploadLink\"\n  [required]=\"required\"\n  [preview]=\"preview\"\n  [previewUrl]=\"previewUrl\"\n  [demo]=\"demo\"\n  [readonly]=\"readonly\"\n  [subscriptSizing]=\"subscriptSizing\"\n></ax-file-edit>\n", styles: [""], dependencies: [{ kind: "component", type: i1.FileEditComponent, selector: "ax-file-edit", inputs: ["acceptTypes", "maxFileSize", "uploadLink", "preview", "previewUrl", "demo"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImageEditComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-image-edit', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-file-edit\n  [form]=\"form\"\n  [name]=\"name\"\n  [hint]=\"hint\"\n  [autofocus]=\"autofocus\"\n  [customLabel]=\"customLabel\"\n  [required]=\"required\"\n  [autocompleteAttr]=\"autocompleteAttr\"\n  [showErrors]=\"showErrors\"\n  [showIcon]=\"showIcon\"\n  [acceptTypes]=\"acceptTypes\"\n  [maxFileSize]=\"maxFileSize\"\n  [uploadLink]=\"uploadLink\"\n  [required]=\"required\"\n  [preview]=\"preview\"\n  [previewUrl]=\"previewUrl\"\n  [demo]=\"demo\"\n  [readonly]=\"readonly\"\n  [subscriptSizing]=\"subscriptSizing\"\n></ax-file-edit>\n" }]
        }], propDecorators: { acceptTypes: [{
                type: Input
            }], maxFileSize: [{
                type: Input
            }], uploadLink: [{
                type: Input
            }], demo: [{
                type: Input
            }], preview: [{
                type: Input
            }], previewUrl: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvcHJvcGVydHktZWRpdC9pbWFnZS1lZGl0L2ltYWdlLWVkaXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3Byb3BlcnR5LWVkaXQvaW1hZ2UtZWRpdC9pbWFnZS1lZGl0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXhFLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDJCQUEyQixDQUFDOzs7QUFFL0QsTUFBTSxDQUFD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