export const registValFun = (Element) => { Element.registerFunction('val', function (value) { if (BI.isNotNull(value)) { this.text = `${value}`; return this; } return this.text; }); };