/**
 * @fileoverview added by tsickle
 * Generated from: lib/tap-scanner/tap-scanner-wifi/tap-scanner-wifi-item/tap-scanner-wifi-item.component.ts
 * @suppress {checkTypes,constantProperty,extraRequire,missingOverride,missingRequire,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
 */
import { Component, EventEmitter, Input, Output } from '@angular/core';
// TODO
var TapScannerWifiItemComponent = /** @class */ (function () {
    function TapScannerWifiItemComponent() {
        this.onItemClicked = new EventEmitter();
        this.lines = 'full';
        this.showSignalStrenght = true;
        this.devices = [];
    }
    /**
     * @return {?}
     */
    TapScannerWifiItemComponent.prototype.ngOnInit = /**
     * @return {?}
     */
    function () { };
    /**
     * @param {?} device
     * @return {?}
     */
    TapScannerWifiItemComponent.prototype._onItemClicked = /**
     * @param {?} device
     * @return {?}
     */
    function (device) {
        this.onItemClicked.emit(device);
    };
    TapScannerWifiItemComponent.decorators = [
        { type: Component, args: [{
                    selector: 'tap-scanner-wifi-item',
                    template: "<ion-list [lines]=\"lines\">\r\n\t<ion-item (click)=\"_onItemClicked(device);\" *ngFor=\"let device of devices\" button class=\"hover\">\r\n\t\t<ng-container *ngIf=\"device\">\r\n\t\t\t<ion-label>\r\n\t\t\t\t<span class=\"name\">{{device.name || device.SSID || 'Hidden network'}}</span>\r\n\t\t\t\t<ng-container *ngIf=\"device.host\">\r\n\t\t\t\t\t<br/>\r\n\t\t\t\t\t<span *ngIf=\"device.host\" class=\"ip-address\">Host:\r\n\t\t\t\t\t\t{{ device.host }}&nbsp;</span>\r\n\t\t\t\t</ng-container>\r\n\t\t\t\t<span *ngIf=\"device.port\" class=\"port\"><br/>Port:\r\n\t\t\t\t\t{{ device.port }}</span>\r\n\t\t\t\t<span *ngIf=\"device.SSID\"><br/>WIFI Network</span>\r\n\t\t\t</ion-label>\r\n\t\t\t<tap-ble-rssi-signal *ngIf=\"showSignalStrenght\" [bars]=\"(device.rssi || device.level) | rssiToSignalStrenght \" slot=\"end\"></tap-ble-rssi-signal>\r\n\t\t</ng-container>\r\n\t</ion-item>\r\n</ion-list>\r\n",
                    styles: [".ip-address,.port{font-size:.8em}.name{font-weight:700}"]
                }] }
    ];
    /** @nocollapse */
    TapScannerWifiItemComponent.ctorParameters = function () { return []; };
    TapScannerWifiItemComponent.propDecorators = {
        onItemClicked: [{ type: Output }],
        lines: [{ type: Input }],
        showSignalStrenght: [{ type: Input }],
        devices: [{ type: Input }]
    };
    return TapScannerWifiItemComponent;
}());
export { TapScannerWifiItemComponent };
if (false) {
    /** @type {?} */
    TapScannerWifiItemComponent.prototype.onItemClicked;
    /** @type {?} */
    TapScannerWifiItemComponent.prototype.lines;
    /** @type {?} */
    TapScannerWifiItemComponent.prototype.showSignalStrenght;
    /** @type {?} */
    TapScannerWifiItemComponent.prototype.devices;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFwLXNjYW5uZXItd2lmaS1pdGVtLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0Bpb3RpemUvaW9uaWMvIiwic291cmNlcyI6WyJsaWIvdGFwLXNjYW5uZXIvdGFwLXNjYW5uZXItd2lmaS90YXAtc2Nhbm5lci13aWZpLWl0ZW0vdGFwLXNjYW5uZXItd2lmaS1pdGVtLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLEtBQUssRUFBVSxNQUFNLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSS9FO0lBZUU7UUFSVSxrQkFBYSxHQUF1QyxJQUFJLFlBQVksRUFBRSxDQUFDO1FBRXhFLFVBQUssR0FBRyxNQUFNLENBQUM7UUFFZix1QkFBa0IsR0FBRyxJQUFJLENBQUM7UUFFMUIsWUFBTyxHQUFnQyxFQUFFLENBQUM7SUFFbkMsQ0FBQzs7OztJQUVqQiw4Q0FBUTs7O0lBQVIsY0FBYSxDQUFDOzs7OztJQ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