(function(){"use strict";u8.Crm.Widgets.ParentDataExtrasWidget=function(e,t){this.Widget(e,t);this._isCreated=false};$.extend(u8.Crm.Widgets.ParentDataExtrasWidget.prototype,{create:function(){var e=this.expandView.model;var t=e.properties.parentTables||[];var i={};for(var a=0;a<t.length;a++){var r=t[a],s=r.infoAreaId+"/"+Math.max(r.linkId,0);i[s]={tableCaptionName:r.tableCaptionName,order:a}}var n=e.getItem("Root");this._view=u8.widget("LinksView",this.element,{parent:this,expandItem:n,linkSettings:i,onCreate:u8.tools.created.curry(this,{})})},isEmpty:function(){if(!this._view){return false}return this._view&&this._view.isEmpty()},update:function(){this.children.clear();this.$(this.element).empty();this.create()},isModified:function(){return false}});u8.Crm.Widgets.ParentDataExtrasWidget.makeClass({name:"ParentDataExtrasWidget",deriveFrom:u8.Base.Widgets.Widget,events:["Create"]})})();