import { CompareType } from '../enum/compare-type.enum'; import { ValueType } from '../enum/value-type.enum'; import { RelationType } from '../enum/relation-type.enum'; export class NumberHandler{ convert(qc) { const tv = (qc.value); return Object.keys(tv).length > 0 && tv.value != null ? [{ 'FilterField' : qc.labelCode, 'Compare' : CompareType.Like, 'Value' : tv.value, 'Relation' : RelationType.And, 'Expresstype':ValueType.Value }] : []; } }