import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
function LoadingAppinstallComponent_div_1_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div");
    i0.ɵɵtext(1);
    i0.ɵɵelementEnd();
} if (rf & 2) {
    const ctx_r0 = i0.ɵɵnextContext();
    i0.ɵɵadvance(1);
    i0.ɵɵtextInterpolate(ctx_r0.data.loadingMessage);
} }
function LoadingAppinstallComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "img", 3);
} }
export class LoadingAppinstallComponent {
    constructor() {
        this.data = { loadingMessage: '' };
    }
}
LoadingAppinstallComponent.ɵfac = function LoadingAppinstallComponent_Factory(t) { return new (t || LoadingAppinstallComponent)(); };
LoadingAppinstallComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LoadingAppinstallComponent, selectors: [["app-loading-dialog"]], inputs: { data: "data" }, decls: 4, vars: 2, consts: [[1, "loading-dialog-content"], [4, "ngIf", "ngIfElse"], ["defaultContent", ""], ["src", "assets/App_install.gif", "alt", "app-publish-animation.gif", 2, "border-radius", "15px"]], template: function LoadingAppinstallComponent_Template(rf, ctx) { if (rf & 1) {
        i0.ɵɵelementStart(0, "div", 0);
        i0.ɵɵtemplate(1, LoadingAppinstallComponent_div_1_Template, 2, 1, "div", 1);
        i0.ɵɵtemplate(2, LoadingAppinstallComponent_ng_template_2_Template, 1, 0, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
        i0.ɵɵelementEnd();
    } if (rf & 2) {
        const _r1 = i0.ɵɵreference(3);
        i0.ɵɵadvance(1);
        i0.ɵɵproperty("ngIf", ctx.data == null ? null : ctx.data.loadingMessage)("ngIfElse", _r1);
    } }, directives: [i1.NgIf], styles: [".loading-dialog-content[_ngcontent-%COMP%]{width:550px;border-radius:15px!important;display:flex;flex-direction:column;align-items:center;justify-content:center}"] });
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingAppinstallComponent, [{
        type: Component,
        args: [{
                selector: 'app-loading-dialog',
                template: `
    <div class="loading-dialog-content">
      <div *ngIf="data?.loadingMessage; else defaultContent">{{ data.loadingMessage }}</div>
      <ng-template #defaultContent>
        <img src="assets/App_install.gif" alt="app-publish-animation.gif" style="border-radius:15px">
      </ng-template>
    </div>
  `,
                styles: [`
    .loading-dialog-content {
      width: 550px;
      border-radius: 15px !important;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  `]
            }]
    }], null, { data: [{
            type: Input
        }] }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1hcHBpbnN0YWxsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9heC1jb21tb24tdWktbGliL3NyYy9saWIvbG9hZGluZy1hcHBpbnN0YWxsL2xvYWRpbmctYXBwaW5zdGFsbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7Ozs7SUFNM0MsMkJBQXVEO0lBQUEsWUFBeUI7SUFBQSxpQkFBTTs7O0lBQS9CLGVBQXlCO0lBQXpCLGdEQUF5Qjs7O0lBRTlFLHlCQUE2Rjs7QUFlckcsTUFBTSxPQUFPLDBCQUEwQjtJQXJCdkM7UUFzQlcsU0FBSSxHQUErQixFQUFFLGNBQWMsRUFBRSxFQUFFLEVBQUUsQ0FBQztLQUNwRTs7b0dBRlksMEJBQTBCOzZFQUExQiwwQkFBMEI7UUFsQm5DLDhCQUFvQztRQUNsQywyRUFBc0Y7UUFDdEYsNEhBRWM7UUFDaEIsaUJBQU07OztRQUpFLGVBQTRCO1FBQTVCLHdFQUE0QixpQkFBQTs7dUZBaUIzQiwwQkFBMEI7Y0FyQ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