(function(){"use strict";u8.Crm.Widgets.DataModelFieldLabel=function(e,t){this.FieldLabel(e,$.extend({},u8.Crm.Widgets.DataModelFieldLabel.defaults,t))};u8.Crm.Widgets.DataModelFieldLabel.defaults={};u8.Crm.Widgets.DataModelFieldLabel.makeClass({name:"DataModelFieldLabel",deriveFrom:u8.Crm.Widgets.FieldLabel,events:["ValueChange"]});$.extend(u8.Crm.Widgets.DataModelFieldLabel.prototype,{_updateText:function(){var e=u8.services.typeConverter.toNumber(this.getValue());var t=this;u8.using({schema:this.infoAreaId},function(){var a=u8.services.schema.getField(t.infoAreaId,e);if(a){t.setText(a.label)}else{t.setText("")}})},setInfoAreaId:function(e){this.infoAreaId=e}})})();