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;
    }
}
ImageEditComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.1.5", ngImport: i0, type: ImageEditComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
ImageEditComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.1.5", 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  [published]=\"published\"\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: "15.1.5", 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  [published]=\"published\"\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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtZWRpdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9saWJzL2NvbXBvbmVudHMvcHJvcGVydHktZWRpdC9pbWFnZS1lZGl0L2ltYWdlLWVkaXQuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vbGlicy9jb21wb25lbnRzL3Byb3BlcnR5LWVkaXQvaW1hZ2UtZWRpdC9pbWFnZS1lZGl0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyx1QkFBdUIsRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFDLE1BQU0sZUFBZSxDQUFDO0FBRXhFLE9BQU8sRUFBQyxvQkFBb0IsRUFBQyxNQUFNLDJCQUEyQixDQUFDOzs7QUFFL0QsTUFBTSxDQUFDLE1BQU0sV0FBVyxHQUFHLENBQUMsS0FBSyxFQUFFLEtBQUssRUFBRS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