import { Component , Input } from '@angular/core' ; import { DeviceService } from 'src/app/core/services/device.service' ; import { UserService } from 'src/app/core/services/user.service' ; import { AlertController } from '@ionic/angular' ; @ Component ( { selector : 'dashboard-block' , templateUrl : 'dashboard-block.html' } ) export class DashboardBlockComponent { @ Input ( ) blockId ; @ Input ( ) editMode = false ; refresh = false ; get block ( ) { return ; } isUnbind ( ) { return false ; } get val ( ) { if ( this . isUnbind ( ) ) return ; } get switch ( ) { if ( this . isUnbind ( ) ) return ; } get device ( ) { if ( this . isUnbind ( ) ) return ; } constructor ( public deviceService , public userService , public alertCtrl ) { } alert ; editTxt ( ) { } tap ( ) { } }