import { Component, Input } from '@angular/core';
import { ModalController } from '@ionic/angular';
import * as i0 from "@angular/core";
import * as i1 from "@ionic/angular";
import * as i2 from "@angular/common";
export class TapVariableBitsEditorInfoModalComponent {
    constructor(modalController) {
        this.modalController = modalController;
        this.rows = [];
        this.bitOffColor = 'danger';
        this.bitOnColor = 'success';
    }
    dismiss() {
        this.modalController.dismiss();
    }
}
/** @nocollapse */ TapVariableBitsEditorInfoModalComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TapVariableBitsEditorInfoModalComponent, deps: [{ token: i1.ModalController }], target: i0.ɵɵFactoryTarget.Component });
/** @nocollapse */ TapVariableBitsEditorInfoModalComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.3.0", type: TapVariableBitsEditorInfoModalComponent, selector: "app-tap-variable-bits-editor-info-modal", inputs: { rows: "rows", bitOffColor: "bitOffColor", bitOnColor: "bitOnColor" }, ngImport: i0, template: "<ion-header>\n  <ion-toolbar color=\"primary\">\n    <ion-buttons slot=\"start\">\n      <ion-button (click)=\"dismiss()\">\n        <ion-icon name=\"arrow-back\"></ion-icon>\n      </ion-button>\n    </ion-buttons>\n    <ion-title>Information</ion-title>\n  </ion-toolbar>\n</ion-header>\n<ion-content class=\"ion-padding\">\n  <div *ngFor=\"let row of rows\">\n    <ion-item *ngFor=\"let bit of row\" fill=\"clear\">\n      <ion-fab-button\n        size=\"small\"\n        slot=\"start\"\n        [color]=\"bit.value ? bitOnColor : bitOffColor\"\n        [disabled]=\"'true'\"\n      >\n        {{ bit.index | number: '2.0' }}\n      </ion-fab-button>\n      <ion-label>\n        <h3>{{ bit.label }}</h3>\n        <p class=\"span-description\">{{ bit.description }}</p>\n      </ion-label>\n    </ion-item>\n  </div>\n</ion-content>\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i1.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i1.IonButtons, selector: "ion-buttons", inputs: ["collapse"] }, { kind: "component", type: i1.IonContent, selector: "ion-content", inputs: ["color", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i1.IonFabButton, selector: "ion-fab-button", inputs: ["activated", "closeIcon", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "show", "size", "target", "translucent", "type"] }, { kind: "component", type: i1.IonHeader, selector: "ion-header", inputs: ["collapse", "mode", "translucent"] }, { kind: "component", type: i1.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i1.IonItem, selector: "ion-item", inputs: ["button", "color", "counter", "counterFormatter", "detail", "detailIcon", "disabled", "download", "fill", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "shape", "target", "type"] }, { kind: "component", type: i1.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i1.IonTitle, selector: "ion-title", inputs: ["color", "size"] }, { kind: "component", type: i1.IonToolbar, selector: "ion-toolbar", inputs: ["color", "mode"] }, { kind: "pipe", type: i2.DecimalPipe, name: "number" }] });
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: TapVariableBitsEditorInfoModalComponent, decorators: [{
            type: Component,
            args: [{ selector: 'app-tap-variable-bits-editor-info-modal', template: "<ion-header>\n  <ion-toolbar color=\"primary\">\n    <ion-buttons slot=\"start\">\n      <ion-button (click)=\"dismiss()\">\n        <ion-icon name=\"arrow-back\"></ion-icon>\n      </ion-button>\n    </ion-buttons>\n    <ion-title>Information</ion-title>\n  </ion-toolbar>\n</ion-header>\n<ion-content class=\"ion-padding\">\n  <div *ngFor=\"let row of rows\">\n    <ion-item *ngFor=\"let bit of row\" fill=\"clear\">\n      <ion-fab-button\n        size=\"small\"\n        slot=\"start\"\n        [color]=\"bit.value ? bitOnColor : bitOffColor\"\n        [disabled]=\"'true'\"\n      >\n        {{ bit.index | number: '2.0' }}\n      </ion-fab-button>\n      <ion-label>\n        <h3>{{ bit.label }}</h3>\n        <p class=\"span-description\">{{ bit.description }}</p>\n      </ion-label>\n    </ion-item>\n  </div>\n</ion-content>\n" }]
        }], ctorParameters: function () { return [{ type: i1.ModalController }]; }, propDecorators: { rows: [{
                type: Input
            }], bitOffColor: [{
                type: Input
            }], bitOnColor: [{
                type: Input
            }] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFwLXZhcmlhYmxlLWJpdHMtZWRpdG9yLWluZm8tbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvaW90aXplLWlvbmljL21vbml0b3Jpbmcvc3JjL2xpYi91aS1jb21wb25lbnRzL3RhcC12YXJpYWJsZS1iaXRzLWVkaXRvci90YXAtdmFyaWFibGUtYml0cy1lZGl0b3ItaW5mby1tb2RhbC90YXAtdmFyaWFibGUtYml0cy1lZGl0b3ItaW5mby1tb2RhbC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pb3RpemUtaW9uaWMvbW9uaXRvcmluZy9zcmMvbGliL3VpLWNvbXBvbmVudHMvdGFwLXZhcmlhYmxlLWJpdHMtZWRpdG9yL3RhcC12YXJpYWJsZS1iaXRzLWVkaXRvci1pbmZvLW1vZGFsL3RhcC12YXJpYWJsZS1iaXRzLWVkaXRvci1pbmZvLW1vZGFsLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUF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