import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "../picture/picture.component";
export class AssetVisualizerComponent {
    constructor() {
        /**
         * Define if user can edit image.
         */
        this.showEditImage = true;
        /**
         * Define if user can upload image.
         */
        this.showUploadImage = true;
        /**
         * Define if user can remove image.
         */
        this.showRemoveImage = true;
        /**
         * Define if user only can see the image.
         */
        this.onlyViewImage = false;
        this.imageUploaded = new EventEmitter();
        this.imageDeleted = new EventEmitter();
        this.sendAssetInfo = new EventEmitter();
        this.goToMonitorLink = new EventEmitter();
    }
}
AssetVisualizerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AssetVisualizerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
AssetVisualizerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: AssetVisualizerComponent, selector: "uno-asset-visualizer", inputs: { defaultAssetImgURL: "defaultAssetImgURL", imgURL: "imgURL", showEditImage: "showEditImage", showUploadImage: "showUploadImage", showRemoveImage: "showRemoveImage", onlyViewImage: "onlyViewImage" }, outputs: { imageUploaded: "imageUploaded", imageDeleted: "imageDeleted", sendAssetInfo: "sendAssetInfo", goToMonitorLink: "goToMonitorLink" }, ngImport: i0, template: "<main>\r\n    <section class=\"asset-image\">\r\n        <uno-picture [defaultImage]=\"defaultAssetImgURL\"\r\n                     [image]=\"imgURL\"\r\n                     [onlyViewImage]=\"onlyViewImage\"\r\n                     (uploadedImage)=\"this.imageUploaded.emit($event)\"\r\n                     (deleteImage)=\"this.imageDeleted.emit()\">\r\n        </uno-picture>\r\n    </section>\r\n</main>", styles: ["main{box-shadow:1px 3px 5px 2px var(--light-gray-12)}section.asset-image{height:250px;border-bottom:1px solid var(--light-gray-12)}section.bottom-bar-container{display:flow-root;padding:.5rem}section.bottom-bar-container>.badges-container>uno-badge{margin-right:10px}section.bottom-bar-container>.right-actions-container{float:right}section.bottom-bar-container>.right-actions-container>.file-input-container>input{display:none}a,:visited{text-decoration:none;color:var(--light-gray-14)}\n"], dependencies: [{ kind: "component", type: i1.PictureComponent, selector: "uno-picture", inputs: ["width", "height", "defaultImage", "image", "rounded", "onlyViewImage", "showEditImage", "showUploadImage", "showRemoveImage", "showViewImage", "showUpIcon", "UpIconSize"], outputs: ["uploadedImage", "deleteImage"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: AssetVisualizerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'uno-asset-visualizer', changeDetection: ChangeDetectionStrategy.OnPush, template: "<main>\r\n    <section class=\"asset-image\">\r\n        <uno-picture [defaultImage]=\"defaultAssetImgURL\"\r\n                     [image]=\"imgURL\"\r\n                     [onlyViewImage]=\"onlyViewImage\"\r\n                     (uploadedImage)=\"this.imageUploaded.emit($event)\"\r\n                     (deleteImage)=\"this.imageDeleted.emit()\">\r\n        </uno-picture>\r\n    </section>\r\n</main>", styles: ["main{box-shadow:1px 3px 5px 2px var(--light-gray-12)}section.asset-image{height:250px;border-bottom:1px solid var(--light-gray-12)}section.bottom-bar-container{display:flow-root;padding:.5rem}section.bottom-bar-container>.badges-container>uno-badge{margin-right:10px}section.bottom-bar-container>.right-actions-container{float:right}section.bottom-bar-container>.right-actions-container>.file-input-container>input{display:none}a,:visited{text-decoration:none;color:var(--light-gray-14)}\n"] }]
        }], propDecorators: { defaultAssetImgURL: [{
                type: Input
            }], imgURL: [{
                type: Input
            }], showEditImage: [{
                type: Input
            }], showUploadImage: [{
                type: Input
            }], showRemoveImage: [{
                type: Input
            }], onlyViewImage: [{
                type: Input
            }], imageUploaded: [{
                type: Output
            }], imageDeleted: [{
                type: Output
            }], sendAssetInfo: [{
                type: Output
            }], goToMonitorLink: [{
                type: Output
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlI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