import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy } from '@angular/core';
import { PictureComponent } from '../picture/picture.component';
import * as i0 from "@angular/core";
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();
    }
    static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: AssetVisualizerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
    static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: AssetVisualizerComponent, isStandalone: true, 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: 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: "18.2.13", ngImport: i0, type: AssetVisualizerComponent, decorators: [{
            type: Component,
            args: [{ selector: 'uno-asset-visualizer', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [PictureComponent], 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,eyJ2ZXJza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