import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@aztrix/components/image-source";
import * as i2 from "@aztrix/icons";
import * as i3 from "@aztrix/helpers";
export class ImagePreviewComponent {
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImagePreviewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: ImagePreviewComponent, selector: "ax-image-preview", inputs: { source: "source", name: "name" }, ngImport: i0, template: "<ax-image-source [source]=\"source\" [actualSize]=\"true\">\n  <ax-icon class=\"icon\" name=\"image\"></ax-icon>\n</ax-image-source>\n<p>{{ 'label.import.source' | translate }}: {{ name }}</p>\n", styles: [":host{display:block;margin:10px}\n"], dependencies: [{ kind: "component", type: i1.ImageSourceComponent, selector: "ax-image-source", inputs: ["source", "fallbackSource", "actualSize", "alt", "round", "rounded", "border"] }, { kind: "component", type: i2.IconComponent, selector: "ax-icon", inputs: ["name", "inline"] }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: ImagePreviewComponent, decorators: [{
            type: Component,
            args: [{ selector: 'ax-image-preview', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ax-image-source [source]=\"source\" [actualSize]=\"true\">\n  <ax-icon class=\"icon\" name=\"image\"></ax-icon>\n</ax-image-source>\n<p>{{ 'label.import.source' | translate }}: {{ name }}</p>\n", styles: [":host{display:block;margin:10px}\n"] }]
        }], propDecorators: { source: [{
                type: Input
            }], name: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW1hZ2UtcHJldmlldy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic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