import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@wm/components/base";
function AppSpinnerComponent_div_0_p_4_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelement(0, "p", 6);
} if (rf & 2) {
    const value_r1 = ctx.$implicit;
    i0.ɵɵproperty("textContent", value_r1);
} }
function AppSpinnerComponent_div_0_Template(rf, ctx) { if (rf & 1) {
    i0.ɵɵelementStart(0, "div", 1)(1, "div", 2);
    i0.ɵɵelement(2, "i", 3);
    i0.ɵɵelementStart(3, "div", 4);
    i0.ɵɵtemplate(4, AppSpinnerComponent_div_0_p_4_Template, 1, 1, "p", 5);
    i0.ɵɵelementEnd()()();
} if (rf & 2) {
    const ctx_r1 = i0.ɵɵnextContext();
    i0.ɵɵproperty("ngClass", ctx_r1.classname);
    i0.ɵɵadvance(4);
    i0.ɵɵproperty("ngForOf", ctx_r1.spinnermessages);
} }
export class AppSpinnerComponent {
    constructor() { }
    static { this.ɵfac = function AppSpinnerComponent_Factory(t) { return new (t || AppSpinnerComponent)(); }; }
    static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: AppSpinnerComponent, selectors: [["app-spinner"]], inputs: { show: "show", spinnermessages: "spinnermessages", classname: "classname", arialabel: "arialabel" }, decls: 1, vars: 1, consts: [["class", "app-spinner", 3, "ngClass", 4, "ngIf"], [1, "app-spinner", 3, "ngClass"], [1, "spinner-message"], [1, "spinner-image", "animated", "infinite", "fa", "fa-circle-o-notch", "fa-spin"], [1, "spinner-messages"], [3, "textContent", 4, "ngFor", "ngForOf"], [3, "textContent"]], template: function AppSpinnerComponent_Template(rf, ctx) { if (rf & 1) {
            i0.ɵɵtemplate(0, AppSpinnerComponent_div_0_Template, 5, 2, "div", 0);
        } if (rf & 2) {
            i0.ɵɵproperty("ngIf", ctx.show);
        } }, dependencies: [i1.NgClass, i1.NgForOf, i1.NgIf, i2.TextContentDirective], encapsulation: 2 }); }
}
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AppSpinnerComponent, [{
        type: Component,
        args: [{
                selector: 'app-spinner',
                template: `
        <div class="app-spinner" [ngClass]="classname" *ngIf="show">
            <div class="spinner-message">
                <i class="spinner-image animated infinite fa fa-circle-o-notch fa-spin"></i>
                <div class="spinner-messages">
                    <p *ngFor="let value of spinnermessages" [textContent]="value"></p>
                </div>
            </div>
        </div>
    `
            }]
    }], () => [], { show: [{
            type: Input
        }], spinnermessages: [{
            type: Input
        }], classname: [{
            type: Input
        }], arialabel: [{
            type: Input
        }] }); })();
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(AppSpinnerComponent, { className: "AppSpinnerComponent", filePath: "components/app-spinner.component.ts", lineNumber: 16 }); })();
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLXNwaW5uZXIuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvcnVudGltZS1iYXNlL3NyYy9jb21wb25lbnRzL2FwcC1zcGlubmVyLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7Ozs7SUFTN0IsdUJBQW1FOzs7SUFBMUIsc0NBQXFCOzs7SUFIdEUsQUFESiw4QkFBNEQsYUFDM0I7SUFDekIsdUJBQTRFO0lBQzVFLDhCQUE4QjtJQUMxQixzRUFBK0Q7SUFHM0UsQUFESSxBQURJLGlCQUFNLEVBQ0osRUFDSjs7O0lBUG1CLDBDQUFxQjtJQUliLGVBQWtCO0lBQWxCLGdEQUFrQjs7QUFNM0QsTUFBTSxPQUFPLG1CQUFtQjtJQUs1QixnQkFBZSxDQUFDO29GQUxQLG1CQUFtQjtvRUFBbkIsbUJBQW1CO1lB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