import { isEmpty , isString , isTemplateRef } from 'ngx-tethys/util' ; import { Component , Input } from '@angular/core' ; import { DateCell } from './types' ; @ Component ( { selector : '[date-table-cell]' , exportAs : 'dateTableCell' , templateUrl : './date-table-cell.component.html' } ) export class DateTableCellComponent { isTemplateRef = isTemplateRef ; @ Input ( ) prefixCls : 'thy-calendar' ; @ Input ( ) cell : DateCell ; isNonEmptyString = ( v ) => isEmpty ( v ) && isString ( v ) ; }