import { Component, Input } from '@angular/core';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common";
import * as i2 from "@ionic/angular";
export class LabelValueComponent {
    constructor() { }
    ngOnInit() { }
}
/** @nocollapse */ LabelValueComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LabelValueComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ LabelValueComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: LabelValueComponent, selector: "tap-label-value", inputs: { unit: "unit", color: "color", valueStyle: "valueStyle", value: "value" }, ngImport: i0, template: "<ion-label\n  *ngIf=\"value; else loadingTemplate\"\n  [color]=\"color\"\n  [ngStyle]=\"valueStyle\"\n  >{{ value }}<span *ngIf=\"unit\">{{ unit }}</span></ion-label\n>\n<ng-template #loadingTemplate>\n  <ion-spinner [color]=\"color\" name=\"dots\"></ion-spinner>\n</ng-template>\n", styles: ["span{font-weight:600;font-size:1em;margin-left:10px}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: LabelValueComponent, decorators: [{
            type: Component,
            args: [{ selector: 'tap-label-value', template: "<ion-label\n  *ngIf=\"value; else loadingTemplate\"\n  [color]=\"color\"\n  [ngStyle]=\"valueStyle\"\n  >{{ value }}<span *ngIf=\"unit\">{{ unit }}</span></ion-label\n>\n<ng-template #loadingTemplate>\n  <ion-spinner [color]=\"color\" name=\"dots\"></ion-spinner>\n</ng-template>\n", styles: ["span{font-weight:600;font-size:1em;margin-left:10px}\n"] }]
        }], ctorParameters: function () { return []; }, propDecorators: { unit: [{
                type: Input
            }], color: [{
                type: Input
            }], valueStyle: [{
                type: Input
            }], value: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGFiZWwtdmFsdWUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaW90aXplLWlvbmljL21vbml0b3Jpbmcvc3JjL2xpYi91aS1jb21wb25lbnRzL3RhcC12YXJpYWJsZS1pbWFnZS1hbmQtdmFsdWUvbGFiZWwtdmFsdWUvbGFiZWwtdmFsdWUuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaW90aXplLWlvbmljL21vbml0b3Jpbmcvc3JjL2xpYi91aS1jb21wb25lbnRzL3RhcC12YXJpYWJsZS1pbWFnZS1hbmQtdmFsdWUvbGFiZWwtdmFsdWUvbGFiZWwtdmFsdWUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7Ozs7QUFPekQsTUFBTSxPQUFPLG1CQUFtQjtJQU05QixnQkFBZSxDQUFDO0lBRWhCLFFBQVEsS0FBSSxDQUFDOzttSUFSRixtQkFBbUI7dUhBQW5CLG1CQUFtQiwySUNQaEMsMlJBU0E7MkZERmEsbUJBQW1CO2tCQUwvQixTQUFTOytCQUNFLGlCQUFpQjswRUFLbEIsSUFBSTtzQkFBWixLQUFLO2dCQUNHLEtBQUs7c0JBQWIsS0FBSztnQkFDRyxVQUFVO3NCQUFsQixLQUFLO2dCQUNHLEtBQUs7c0JBQWIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG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