/**
 * @fileoverview added by tsickle
 * Generated from: lib/dashboard/dialog-group/empty-icon-prompt/empty-icon-prompt.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, Input } from "@angular/core";
import { DashboardService } from "../../dashboard.service";
var EmptyIconPromptComponent = /** @class */ (function () {
    function EmptyIconPromptComponent(DashboardService) {
        this.DashboardService = DashboardService;
    }
    /**
     * @return {?}
     */
    EmptyIconPromptComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () { };
    /**
     * @return {?}
     */
    EmptyIconPromptComponent.prototype.editProperties = /**
     * @return {?}
     */
    function () {
        this.DashboardService.properties.next({
            status: false,
            id: this.dashboard.id,
        });
    };
    /**
     * @return {?}
     */
    EmptyIconPromptComponent.prototype.createNewDashboard = /**
     * @return {?}
     */
    function () {
        this.DashboardService.createGroupDashboard.next(true);
    };
    /**
     * @return {?}
     */
    EmptyIconPromptComponent.prototype.customize = /**
     * @return {?}
     */
    function () {
        this.DashboardService.customized = true;
    };
    EmptyIconPromptComponent.decorators = [
        { type: Component, args: [{
                    selector: "rs-empty-icon-prompt",
                    template: "<div class=\"content\">\r\n\t<div class=\"card-body d-flex flex-column\">\r\n\t\t<div class=\"flex-grow-1\" style=\"position: relative\">\r\n\t\t\t<img src=\"../../../../assets/img/dashboard_icon/customize.png\" />\r\n\t\t</div>\r\n\t\t<div class=\"pt-5\">\r\n\t\t\t<p\r\n\t\t\t\tclass=\"text-center font-weight-normal font-size-lg pb-7\"\r\n\t\t\t\t*ngIf=\"displayCode == 'portlet'\"\r\n\t\t\t>\r\n\t\t\t\tThe chart you created will be shown here\u2026\r\n\t\t\t</p>\r\n\t\t\t<p\r\n\t\t\t\tclass=\"text-center font-weight-normal font-size-lg pb-7\"\r\n\t\t\t\t*ngIf=\"displayCode == 'dashboard'\"\r\n\t\t\t>\r\n\t\t\t\tCustomize the dashboard by\r\n\t\t\t\t<span class=\"createChart\" (click)=\"editProperties()\"\r\n\t\t\t\t\t>Editing dashboard properties</span\r\n\t\t\t\t>\r\n\t\t\t</p>\r\n\t\t\t<p\r\n\t\t\t\tclass=\"text-center font-weight-normal font-size-lg pb-7\"\r\n\t\t\t\t*ngIf=\"displayCode == 'dashboardGroup'\"\r\n\t\t\t>\r\n\t\t\t\tAdd new dashboard group by\r\n\t\t\t\t<span class=\"createChart\" (click)=\"createNewDashboard()\"\r\n\t\t\t\t\t>Creating new dashboard</span\r\n\t\t\t\t>\r\n\t\t\t</p>\r\n\t\t\t<p\r\n\t\t\t\tclass=\"text-center font-weight-normal font-size-lg pb-7\"\r\n\t\t\t\t*ngIf=\"displayCode == 'customize'\"\r\n\t\t\t>\r\n\t\t\t\tClick\r\n\t\t\t\t<span class=\"createChart\" (click)=\"customize()\">Customize</span>\r\n\t\t\t\tto edit your dashboard\r\n\t\t\t</p>\r\n\t\t</div>\r\n\t</div>\r\n</div>\r\n",
                    styles: ["::ng-deep rs-empty-icon-prompt{height:100%!important}.content{width:100%;height:inherit;align-items:center;display:flex}.card-body.d-flex.flex-column{width:60%}.flex-grow-1{width:100%;text-align:center;justify-content:center!important;align-content:center}span.createChart{color:#5d78ff;cursor:pointer}p.text-center.font-weight-normal.font-size-lg.pb-7.ng-star-inserted{font-family:Arial;font-size:16px;color:rgba(0,0,0,.5)}"]
                }] }
    ];
    /** @nocollapse */
    EmptyIconPromptComponent.ctorParameters = function () { return [
        { type: DashboardService }
    ]; };
    EmptyIconPromptComponent.propDecorators = {
        displayCode: [{ type: Input }],
        dashboard: [{ type: Input }]
    };
    return EmptyIconPromptComponent;
}());
export { EmptyIconPromptComponent };
if (false) {
    /** @type {?} */
    EmptyIconPromptComponent.prototype.displayCode;
    /** @type {?} */
    EmptyIconPromptComponent.prototype.dashboard;
    /**
     * @type {?}
     * @private
     */
    EmptyIconPromptComponent.prototype.DashboardService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHkta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