var It=I.ea(I,"AdfDhtmlPanelCollectionPeer",!1);m("AdfDhtmlPanelCollectionPeer",It);
It.C=function(){this.Lda="_ahTp";this.Jda="_ahBt";this.Rza="_ahCt";this.Lza="_afrAC";this.U0a="_afrHCC";this.hn="_clmCxt";this.Qea="_frzMn";this.Yga="_ufzMn";this.Rea="_frzTbr";this.uea="_dchMn";this.v1="_dchTbr";this.w2="_srtAsc";this.x2="_srtDsc";this.O5a="_srtAvd";this.Q4a="_rdrMn";this.VDa="_rszClm";this.JDa="_qbeTbr";this.IDa="_qbeMn";this.eha="_wrpMn";this.fha="_wrpTbr";this.Z7a="_vw";this.eea="_clmns";this.cZa="_shwAll";this.fea="_shwClm";this.dZa="_shwMr";this.f5a="_rwSctT";this.e5a="_rwSctC";
this.bZa="_clmHdnT";this.aZa="_clmHdnC";this.$Ya="_clmFrzT";this.ZYa="_clmFrzC";this.xBa="_xpdItm";this.vBa="_xpdBlw";this.qAa="_cpsBlw";this.f0a="_xpdAll";this.XYa="_cpsAll";this.EEa="_shwTp";this.LBa="_goTp";this.jEa="_sclFst";this.kEa="_sclLst";this.FEa="_shwTpTbr";this.NBa="_upTbr";this.MBa="_tpTbr";this.hZa="_afrClmWMn";this.w1="_afrSortDialog";this.ZAa="sortDlg";this.vea="_afrShowColsDialog";this.XAa="_afrReorderDialog";this.YAa="_afrResizeColDialog";this.G5a="_shwClmDS";this.Mf="_PCPop";this.LEa=
"_srtDlgC";this.R5a="_srtDlgR";this.ECa=3;this.Y4a="_rszDSpn";this.X4a="_rszDSct1";this.RAa="_dchDlgC";this.SAa="_dchDlgW";this.tea="_dchDlgP";this.yZa="_tbr";this.Fda=this.cea=this.dea=this.gga=null;I.ra(this,ab.ed,Za.ua,Xb.Hl,Vg.$ca,lc.Bt,$b.XJ);var a=this.Ada={},b=It.prototype;a[this.Qea]=b.Q8;a[this.Yga]=b.o_;a[this.Rea]=b.Cva;a[this.uea]=a[this.v1]=b.detach;a[this.w2]=b.nva;a[this.x2]=b.pva;a[this.O5a]=b.mva;a[this.Q4a]=b.nua;a[this.JDa]=b.Faa;a[this.IDa]=b.Faa;a[this.VDa]=b.lI;a[this.eha]=a[this.fha]=
b.Uva;a[this.cZa]=b.eva;a[this.fea]=b.gva;a[this.dZa]=b.jva;a[this.xBa]=b.Vqa;a[this.vBa]=b.Uqa;a[this.qAa]=b.xqa;a[this.f0a]=b.Tqa;a[this.XYa]=b.wqa;a[this.EEa]=b.Caa;a[this.LBa]=b.R9;a[this.jEa]=b.zua;a[this.kEa]=b.Aua;a[this.FEa]=b.Caa;a[this.NBa]=b.Qsa;a[this.MBa]=b.R9};m("AdfDhtmlPanelCollectionPeer.InitSubclass",It.C);It.prototype.Init=function(a,b){It.h.Init.call(this,a,b);this.Pd=null;this.xLa=this.dla=this.kMa=this.hma=this.xMa=this.j5=!1};
r.a("AdfDhtmlPanelCollectionPeer.prototype.Init",{Init:It.prototype.Init});It.prototype.KVa=function(){this.Av();this.DI()};r.a("AdfDhtmlPanelCollectionPeer.prototype.toolboxRefreshNotify",{KVa:It.prototype.KVa});
It.prototype.mB=function(){if(!this.kMa){var a=this.Pd;a||(a=this.i().getAttribute(It.Lza),a=this.Pd=A.c.m(a));var b=a instanceof AdfRichTable,d=a instanceof AdfRichTreeTable,e=a instanceof AdfRichTree;this.xMa=e;this.j5=b||d;this.hma=d||e;e||(b=a.getColumnSelection(),null!=b&&(b=b.toLowerCase()),this.dla=null!=b&&("single"==b||"multiple"==b),a=a.getRowSelection(),null!=a&&(a=a.toLowerCase()),this.xLa=null!=a&&-1!=a.toLowerCase().indexOf("multiple"));this.kMa=!0;a=this.f();a.K("_afrDetached")&&Jt(this,
a)}};It.prototype.pua=function(){var a=this.i().getAttribute(It.Lza);this.Pd=A.c.m(a)};r.a("AdfDhtmlPanelCollectionPeer.prototype.resetState",{pua:It.prototype.pua});
It.prototype.DI=function(){this.mB();if(this.j5){var a=A.c,b=this.Pd,d=b.o(),e=this.f().g(),f=d.Ot(),g=0<f.length,h,l;h=a.m(e+":"+It.w2);l=a.m(e+":"+It.x2);if(h&&l){var n=!1;if(g)for(d=f.length-1;0<=d;--d){var t=f[d];if(t&&t.getSortProperty()&&t.getSortable()){n=!0;break}}else for(var y=d.vg(),d=y.length-1;0<=d;--d)if((t=y[d])&&t.getSortProperty()&&t.getSortable()){n=!0;break}n?(h.getParent().setProperty("disabled",!1,!1,G.fb),Kt(f,h,l)):h.getParent().setProperty("disabled",!0,!1,G.fb)}if(this.dla){h=
a.H();l=g?Lt(this,b,f):!1;var n=Mt(this,f),z,b=a.m(e+":"+It.VDa);(t=a.m(e+":"+It.Qea))&&(z=a.m(e+":"+It.Yga));d=a.m(e+":"+It.Rea);if(t){var B=this.rb();t.setProperty("disabled",n,!1,G.fb);t.setProperty("visible",!B,!1,G.fb);z.setProperty("visible",B,!1,G.fb)}d&&(d.setProperty("selected",B,!1,G.fb),z=B?h.Z("af_panelCollection.TIP_BUTTON_UNFREEZE"):h.Z("af_panelCollection.TIP_BUTTON_FREEZE"),d.setProperty("shortDesc",z,!1,G.fb),d.getSelected()||d.setProperty("disabled",n,!1,G.fb));z=a.m(e+":"+It.eha);
a=a.m(e+":"+It.fha);e=!g||l;f=!e&&!f[0].getNoWrap();z&&(z.setProperty("disabled",e,!1,G.fb),z.setProperty("selected",f,!1,G.fb));a&&(a.setProperty("disabled",e,!1,G.fb),a.setProperty("selected",f,!1,G.fb),f=f?h.Z("af_panelCollection.TIP_BUTTON_UNWRAP"):h.Z("af_panelCollection.TIP_BUTTON_WRAP"),a.setProperty("shortDesc",f,!1,G.fb));b&&b.setProperty("disabled",!g,!1,G.fb)}}};r.a("AdfDhtmlPanelCollectionPeer.prototype.updateStandardMenuToolbarItems",{DI:It.prototype.DI});
function Mt(a,b){var d=a.Pd,e=d.o(),f=b.length;if(!(0<f))return!0;var g=e.vg();if(2>g.length)return!0;if(1==f)if("end"==d.getFreezeDirection()){if(b[0]==g[0])return!0}else if(b[0]==g[g.length-1])return!0;d=b[f-1];f=Nt(d,e);return null!=f&&(e=d.o().i(),d=f.o().i(),f=q.b,f.eb(d,"_d_index",-1)+parseInt(d.colSpan)-1!=f.eb(e,"_d_index",-1))?!0:!1}function Nt(a,b){for(var d=null,e=b.T2(a);null!=e;)d=e,e=b.T2(e);return d}It.prototype.rb=function(){return null!=Ot(this.Pd)};
function Ot(a){a=a.o();for(var b=a.vg(),d=b.length,e=0;e<d;e++){var f=b[e];if(f){if(f&&f.getFrozen())return f;f=Nt(f,a);if(null!=f){if(f.getFrozen())return f;f=f.o().i();e+=parseInt(f.colSpan)-1}}}return null}function Lt(a,b,d){if(!a.hma)return!1;a=b.o().VY();for(b=0;b<d.length;b++)if(d[b]==a)return!0;return!1}
function Kt(a,b,d){if(1==a.length&&(a=a[0],a.getSortProperty()&&a.getSortable())){b.setProperty("disabled",!1,!1,G.fb);d.setProperty("disabled",!1,!1,G.fb);a=S.V2(a.g());1==a?(b.setProperty("selected",!0,!1,G.fb),d.setProperty("selected",!1,!1,G.fb)):0==a?(d.setProperty("selected",!0,!1,G.fb),b.setProperty("selected",!1,!1,G.fb)):(b.setProperty("selected",!1,!1,G.fb),d.setProperty("selected",!1,!1,G.fb));return}b.setProperty("selected",!1,!1,G.fb);b.setProperty("disabled",!0,!1,G.fb);d.setProperty("selected",
!1,!1,G.fb);d.setProperty("disabled",!0,!1,G.fb)}
It.prototype.Ova=function(){this.mB();if(!this.xMa){for(var a=this.Pd.o(),b=a.vg(),d=0,e=0,e=b.length-1;0<=e;e--){var f=b[e];if(f)if(f.getFrozen())d++;else if(0<d&&!f.getRowHeader())d++;else if(f=Nt(f,a),null!=f){var g=f.o().i(),g=parseInt(g.colSpan),e=e-(g-1);f.getFrozen()&&(d+=g)}}Pt(a)&&(d=a.vg().length-d+1);e=a.i().getAttribute(It.U0a);a=this.f().g();b=A.c;this.j5&&(f=b.m(a+":"+It.$Ya),g=b.m(a+":"+It.ZYa),f&&(It.cea||(It.cea=f.getValue()),f.setProperty("value",0<d?It.cea:"",!1,G.fb)),g&&(0<d?
g.setProperty("value",d.toString(),!1,G.fb):g.setProperty("value","",!1,G.fb)));f=b.m(a+":"+It.bZa);g=b.m(a+":"+It.aZa);f&&(It.dea||(It.dea=f.getValue()),f.setProperty("value",0<e?It.dea:"",!1,G.fb));g&&(0<e?g.setProperty("value",e.toString(),!1,G.fb):g.setProperty("value","",!1,G.fb))}};r.a("AdfDhtmlPanelCollectionPeer.prototype.updateStandardStatusbarItems",{Ova:It.prototype.Ova});
It.prototype.Av=function(){this.mB();var a=this.Pd,b=!1,d=0,e=null,f=a.getSelectedRowKeys(),g;for(g in f){if(g==S.Ej){b=f[S.Ej];break}0==d&&(e=g);d++}if(this.xLa){f=b;g=d;var h=A.c,l=this.f().g(),n=h.m(l+":"+It.f5a),l=h.m(l+":"+It.e5a);n&&(It.gga||(It.gga=n.getValue()),n.setProperty("value",f||0<g?It.gga:"",!1,G.fb));l&&(f?(It.Fda||(It.Fda=h.H().Z("af_panelCollection.LABEL_STATUSBARITEM_ROWS_SELECTED_ALL")),0<g?l.setProperty("value","",!1,G.fb):l.setProperty("value",It.Fda,!1,G.fb)):0<g?l.setProperty("value",
g.toString(),!1,G.fb):l.setProperty("value","",!1,G.fb))}if(this.hma){var t=b,y=d,z=e;this.mB();var B=this.f().g(),h=a.o(),F=A.c,K=F.m(B+":"+It.xBa),n=F.m(B+":"+It.vBa),l=F.m(B+":"+It.qAa),P=F.m(B+":"+It.EEa),e=F.m(B+":"+It.LBa),d=F.m(B+":"+It.jEa),b=F.m(B+":"+It.kEa),Q=F.m(B+":"+It.FEa),f=F.m(B+":"+It.NBa);g=F.m(B+":"+It.MBa);var da=F.m(B+":"+It.hn+It.w2),B=F.m(B+":"+It.hn+It.x2);z&&!h.gc(z)&&(z=null);var ba=h.GC(),ta=F=!1;if(t||null==z||1<y)K&&K.setProperty("disabled",!0,!1,G.fb),da&&da.setProperty("disabled",
!0,!1,G.fb),B&&B.setProperty("disabled",!0,!1,G.fb),n&&n.setProperty("disabled",!0,!1,G.fb),l&&l.setProperty("disabled",!0,!1,G.fb),P&&P.setProperty("disabled",!0,!1,G.fb),Q&&Q.setProperty("disabled",!0,!1,G.fb);else{var t=z==a.getFocusRowKey(),F=h.Jy(z),y=h.LY(z),Ha=h.Ly(),ta=a.ws(z);K&&(K.setProperty("disabled",F,!1,G.fb),K.setProperty("selected",!ta,!1,G.fb));ba&&(a=t||F||!Ha&&0==y,P&&P.setProperty("disabled",a,!1,G.fb),Q&&Q.setProperty("disabled",a,!1,G.fb));da&&B&&(a=h.VY())&&a.getSortProperty()&&
a.getSortable()&&(da.setProperty("disabled",!1,!1,G.fb),B.setProperty("disabled",!1,!1,G.fb),da.setProperty("selected",!1,!1,G.fb),B.setProperty("selected",!1,!1,G.fb));n&&n.setProperty("disabled",F,!1,G.fb);l&&l.setProperty("disabled",F||!ta,!1,G.fb)}a=!h.aI();e&&e.setProperty("disabled",a,!1,G.fb);g&&(g.setProperty("disabled",a,!1,G.fb),f.setProperty("disabled",a,!1,G.fb));b&&b.setProperty("disabled",!1,!1,G.fb);d&&d.setProperty("disabled",!1,!1,G.fb)}};
r.a("AdfDhtmlPanelCollectionPeer.prototype.updateRowSelectionContext",{Av:It.prototype.Av});
It.prototype.hva=function(a,b){this.mB();if(this.j5){var d=this.Pd,e=d.o(),f=A.c,g=this.f().g(),h=f.m(g+":"+It.hn),l,n,t,y;if(h){var z=this.rb(),B=e.Ot();l=f.m(g+":"+It.hn+It.w2);n=f.m(g+":"+It.hn+It.x2);(t=f.m(g+":"+It.hn+It.Qea))&&(y=f.m(g+":"+It.hn+It.Yga));t&&(t.setProperty("disabled",Mt(this,B),!1,G.fb),t.setProperty("visible",!z,!1,G.fb),y.setProperty("visible",z,!1,G.fb));if(l){t=!0;for(y=B.length-1;0<=y;y--)if(z=B[y],z.getSortProperty()&&z.getSortable()){t=!1;break}t?l.getParent().setProperty("disabled",
!0,!1,G.fb):(l.getParent().setProperty("disabled",!1,!1,G.fb),Kt(B,l,n))}if(f=f.m(g+":"+It.hn+It.eha))l=(g=0<B.length)?Lt(this,d,B):!1,g=!g||l,B=!g&&!B[0].getNoWrap(),f.setProperty("disabled",g,!1,G.fb),f.setProperty("selected",B,!1,G.fb);e.pQ(a,h.g(),null,b,null,d.g())}}};r.a("AdfDhtmlPanelCollectionPeer.prototype.showColumnContextMenu",{hva:It.prototype.hva});
It.prototype.dg=function(a){var b=a.getSource().g(),d=It.Ada;if(0<=b.indexOf(It.Rea)||0<=b.indexOf(It.v1)||0<=b.indexOf(It.fha)){var e=this.f().g();(e=A.c.m(e+":"+It.yZa))&&(e=e.o())&&e.Va&&Qt(e.Va)}for(var f in d)if(0<=b.indexOf(f)){d[f].call(this,a);a.cancel();a.wc();break}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentAction",{dg:It.prototype.dg});It.prototype.eva=function(){var a=new Vg(this.Pd,null,"showAll");A.c.Bs(a);Rt(this,!0);St(this,"all")};
r.a("AdfDhtmlPanelCollectionPeer.prototype.showAllColumns",{eva:It.prototype.eva});function Rt(a,b,d){var e=A.c,f=a.f().g();if(!a.eIa){var g=q.b.getAttribute(a.i(),It.hZa);a.eIa=eval(g)}a=a.eIa;var g=It.fea,h=It.hn,l=e.m(f+":"+It.hn);l&&e.Kc(l);if(a)for(l=a.length-1;0<=l;--l){var n=a[l],t=f+":"+g+n,y=e.m(t),t=f+":"+h+g+n,t=e.m(t);null!=y&&(n=b||-1!=E.indexOf(d,n),y.setSelected(n),e.Kc(y),null!=t&&(t.setSelected(n),e.Kc(t)))}}
It.prototype.gva=function(a){var b=A.c,d=this.f().g(),e=a.getSource().g(),f=It.fea,g=e.substr(e.indexOf(f)+f.length),h=this.Pd;a=h.m(g);h=new Vg(h,h.g()+":"+g,a?"hide":"show");b.Bs(h);d=0<=e.indexOf(It.hn)?d+":"+f+g:d+":"+It.hn+f+g;if(b=b.m(d))b.setSelected(null==a),A.c.Kc(b);St(this,a?"hide":"show")};r.a("AdfDhtmlPanelCollectionPeer.prototype.showColumn",{gva:It.prototype.gva});
function St(a,b){var d;if("multiple"!=b){var e=a.Pd.o().vg();d=e.length;for(var f=0;f<d;++f){var g=e[f];if(g&&g.getRowHeader()){--d;break}}}switch(b){case "show":if(1!=d)return;break;case "hide":if(2!=d)return;break;case "all":if(2<=d)return}d=a.f().g();(d=A.c.m(d+":"+It.Z7a))&&A.c.Kc(d)}It.prototype.Cva=function(){this.rb(this.Pd)?this.o_():this.Q8()};r.a("AdfDhtmlPanelCollectionPeer.prototype.toggleFreeze",{Cva:It.prototype.Cva});
It.prototype.Q8=function(){var a=this.Pd,b=a.o();this.rb(a)&&this.o_();for(var d=null,e=b.vg(),f=e.length,g=f-1;null==d&&0<=g;){var h=e[g];h&&h.getSelected()&&g!=f-1&&(d=h);g--}null!=d&&(b=Nt(d,b),null!=b&&(d=b),d.setProperty(AdfRichColumn.FROZEN,!0,!0),A.c.Kc(a))};r.a("AdfDhtmlPanelCollectionPeer.prototype.freezeColumns",{Q8:It.prototype.Q8});It.prototype.o_=function(){var a=this.Pd;frozenColumn=Ot(a);null!=frozenColumn&&(frozenColumn.setProperty(AdfRichColumn.FROZEN,!1,!0),A.c.Kc(a))};
r.a("AdfDhtmlPanelCollectionPeer.prototype.unfreezeColumns",{o_:It.prototype.o_});It.prototype.Dh=function(){return this.f().K("_afrDetached")};r.a("AdfDhtmlPanelCollectionPeer.prototype.isDetached",{Dh:It.prototype.Dh});It.prototype.lha=function(){return It.Lda};r.a("AdfDhtmlPanelCollectionPeer.prototype.__getAutoHeightTopFacetId",{lha:It.prototype.lha});It.prototype.kha=function(){return It.Jda};r.a("AdfDhtmlPanelCollectionPeer.prototype.__getAutoHeightBottomFacetId",{kha:It.prototype.kha});
It.prototype.detach=function(){var a=this.f();a.K("_afrDetached")?this.Jb(a,It.tea):(a.setProperty("_afrDetached",!0,!1,!0),Jt(this,a))};r.a("AdfDhtmlPanelCollectionPeer.prototype.detach",{detach:It.prototype.detach});
function Jt(a,b){var d=b.g(),e=I.j(d,It.RAa),f=q.b,g=A.c;a.nX=g.wd;if(e=f.getElementById(e)){for(var h=e.firstChild;h&&1!=h.nodeType;)h=h.nextSibling;var e=a.Pd.o(),l=null;e.Pb||(l=e.AT());var n;n=q.b;var t,y=a.f().g();t=I.j(y,It.Rza);var z=n.getElementById(t);if(z){t=a.R().createElement("div");t.style.cssText="position:absolute;width:100%;height:100%";var B=I.j(y,It.Lda),B=n.getElementById(B),y=I.j(y,It.Jda);n=n.getElementById(y);B&&t.appendChild(B);t.appendChild(z);n&&t.appendChild(n)}else for(t=
a.i().firstChild;t&&1!=t.nodeType;)t=t.nextSibling;n=t;z=a.i();t=I.j(d,It.SAa);t=f.getElementById(t);t.className=z.className;z=h.id;u.J(z);z=g.m(z);u.s(z,AdfRichPanelWindow);y=f.getWindowWidth();f=f.getWindowHeight();z.setContentWidth(Math.max(100,y-60));z.setContentHeight(Math.max(100,f-80));t.appendChild(n);f=A.c.Ka().La()?6:1;n={};n.mousePosition={x:f,y:1};n.modal=!0;n.autodismiss="autodismissNever";a.He(b,h,n,It.tea);e.Fm()&&(e.lL(!1),g.jo(e.i(),!0));h=g.m(d+":"+It.v1);d=g.m(d+":"+It.uea);h&&
(h.setSelected(!0),f=g.H().Z("af_panelCollection.TIP_BUTTON_REDUCE"),h.setShortDesc(f),h.getText()&&h.setText(f));d&&(d.setSelected(!0),g=g.H().Z("af_panelCollection.TIP_BUTTON_REDUCE"),d.setShortDesc(g),d.getText()&&d.setText(g));null!=l&&e.a3(l.x,l.y)}}
It.prototype.ob=function(a,b,d){It.h.ob.call(this,a,b);var e=q.b;if("true"!=b.getAttribute(V.xT)&&d==It.tea){var f=this.Pd.o(),g=null;f.Pb||(g=f.AT());d=A.c;var h=a.g(),l=this.f(),n=q.b,t=l.g(),l=this.i(),y=I.j(t,It.Rza),y=n.getElementById(y),z=I.j(t,It.SAa),z=n.getElementById(z);if(y){var B=I.j(t,It.Lda),B=n.getElementById(B),t=I.j(t,It.Jda);(n=n.getElementById(t))&&l.insertBefore(n,l.firstChild);l.insertBefore(y,l.firstChild);B&&l.insertBefore(B,l.firstChild);z.removeChild(z.firstChild)}else l.insertBefore(z.firstChild,
l.firstChild);n=this.i();l=I.j(h,It.RAa);e.getElementById(l).appendChild(b);b=d.m(h+":"+It.v1);if(h=d.m(h+":"+It.uea))h.setSelected(!1),l=d.H().Z("af_panelCollection.TIP_BUTTON_DETACH"),h.setShortDesc(l),h.getText()&&h.setText(l);b&&(b.setSelected(!1),h=d.H().Z("af_panelCollection.TIP_BUTTON_DETACH"),b.setShortDesc(h),b.getText()&&b.setText(h));a.setProperty("_afrDetached",!1,!1,!0);f.Fm()?(f.lL(!1),f.wa().style.height="auto",d.jo(f.i(),!0)):d.jo(n,!1);null!=g&&f.a3(g.x,g.y);q.b.S()==q.ia&&A.c.Kc(f.f());
this.nX&&(e.S()==q.ia?(a={},a.focusElement=this.nX,d.ta(this,this.Zbb,a,10,{isSynchronized:!0})):J.Em(this.nX)&&J.va(this.nX))}};r.a("AdfDhtmlPanelCollectionPeer.prototype.PopupClosed",{ob:It.prototype.ob});It.prototype.Zbb=function(a){J.va(a.focusElement)};function Tt(a,b){a.mB();var d=a.Pd,e;e=d.o().vg();for(var f=null,g=e.length,h=0;h<g;h++){var l=e[h];if(l&&l.getSelected()){f=l;break}}if(e=f)if(f=e.getSortProperty())u.dc(b),S.V2(e.g())!=b&&Ut.Cs(d,f,b)}It.prototype.nva=function(){Tt(this,!0)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.sortAscending",{nva:It.prototype.nva});It.prototype.pva=function(){Tt(this,!1)};r.a("AdfDhtmlPanelCollectionPeer.prototype.sortDescending",{pva:It.prototype.pva});It.prototype.mva=function(){Vt(this,It.w1)};r.a("AdfDhtmlPanelCollectionPeer.prototype.sortAdvanced",{mva:It.prototype.mva});It.prototype.nua=function(){Vt(this,It.XAa)};r.a("AdfDhtmlPanelCollectionPeer.prototype.reorderColumns",{nua:It.prototype.nua});It.prototype.jva=function(){Vt(this,It.vea)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.showMoreColumns",{jva:It.prototype.jva});function Vt(a,b){var d=a.f(),e=d.g(),f=A.c,d=new mh(d,b);f.Bs(d);a.uB=b;f.m(e+":"+It.Mf).show()}
It.prototype.Faa=function(){var a=this.Pd,b=this.f().g(),d=A.c,e=!a.getFilterVisible(),d=A.c,f=d.H().Z("AFResponseCompleteStatus");d.Zj(f);a.setProperty(AdfRichTable.FILTER_VISIBLE,e,!0);d.Kc(a);f=new ac(a);e?a.K("_noQueryOnExpandFilter")&&f.lQ(!1):f.lQ(!0);a.Hg(f);a=d.m(b+":"+It.JDa);b=d.m(b+":"+It.IDa);a.setSelected(e);b&&b.setSelected(e)};r.a("AdfDhtmlPanelCollectionPeer.prototype.showQBE",{Faa:It.prototype.Faa});It.prototype.lI=function(){Vt(this,It.YAa)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.resizeColumn",{lI:It.prototype.lI});It.prototype.Jo=function(){if(null!=this.uB&&this.uB==It.w1){var a=this.f().g()+":"+It.ZAa;A.c.m(a).o().IT(a,!0)}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentPopupOpening",{Jo:It.prototype.Jo});It.prototype.El=function(){if(null!=this.uB&&this.uB==It.w1){for(var a=this.f().g(),b=A.c,d=It.ECa,e=!1,f=0;f<d;++f){var g=b.m(a+":"+It.LEa+f);null!=g&&g.getValue()&&(e=!0)}a=a+":"+It.ZAa;b.m(a).o().IT(a,!e)}};
r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentValueChange",{El:It.prototype.El});It.prototype.Mz=function(){delete this.uB};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentPopupClosed",{Mz:It.prototype.Mz});
It.prototype.eg=function(a){if(null!=this.uB){var b=!0;if(a.ll()==Za.Zm){var d=this.uB;if(d==It.w1){for(var d=this.f().g(),e=A.c,f=[],g=[],h=It.ECa,l=0;l<h;++l){var n=e.m(d+":"+It.LEa+l);if(null!=n&&n.getValue()){var t=e.m(d+":"+It.R5a+l);f.push(n.getValue());g.push("Ascending"==t.getValue())}}Ut.Cs(this.Pd,f,g)}else if(d==It.vea||d==It.XAa)h=this.Pd,e=this.f().g(),d=A.c,f=d.m(e+":"+It.G5a).getSubmittedValue(),g=this.uB==It.vea,h=new Vg(h,f,g?"showColumns":"reorderColumns"),d.Bs(h),g?(Rt(this,!1,
f),St(this,"multiple")):(e=d.m(e+":"+It.eea))&&d.Kc(e);else if(d==It.YAa){var e=this.Pd.o(),f=this.f().g(),g=A.c,b=f+":"+It.Y4a,d=g.m(b),y=g.m(f+":"+It.X4a),f=d.getValue(),g=e.Ot(),h=g.length,l=!1,n=1,t=1E3,y=y.getValue();"Pixel"==y?(n=d.K("_rszDSpnMinPix"),f<n&&(l=!0)):"Percent"==y&&(t=100,f<n||f>t)&&(l=!0);if(l)A.c.Oe(b),e=TrFastMessageFormatUtils.format(d.K("_rszDSpnErrDtl"),null,null,n,t),d=new Ba(Ba.hg,d.K("_rszDSpnErrMsg"),e),A.c.bo(b,d,!1),A.c.sq(b),b=!1;else{A.c.Oe(b);"Percent"==y&&(f=e.U2(f));
for(b=0;b<h;b++)f=Math.max(f,g[b].getMinimumWidth());for(b=0;b<h;b++)g[b].setProperty(AdfRichColumn.WIDTH,f,!0);b=!0}}a.cancel();b&&(a=this.f().g(),A.c.m(a+":"+It.Mf).Tb())}}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentDialog",{eg:It.prototype.eg});It.prototype.Uva=function(){for(var a=this.Pd,b=a.o().vg(),d=[],e=b.length,f=0;f<e;f++){var g=b[f];g&&g.getSelected()&&d.push(g)}for(var h,e=d.length,f=0;f<e;f++)g=d[f],0==f&&(h=!g.getNoWrap()),g.setProperty(AdfRichColumn.NO_WRAP,h,!0),A.c.Kc(a)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.wrapColumns",{Uva:It.prototype.Uva});It.prototype.cya=function(a){if("reorderColumn"==a.Asa()){var b=this.f().g();a=A.c;var d=a.m(b+":"+It.eea);d&&(this.dla?(b=a.m(b+":"+It.hn+It.eea),a.Kc(d,b)):a.Kc(d))}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentShowColumns",{cya:It.prototype.cya});
It.prototype.Vqa=function(){var a=this.Pd,b=a.o(),d=null,e=a.getSelectedRowKeys(),f;for(f in e)if(u.assert(f!=S.Ej,"expand node cannot be invoked on selectAll"),isLeafNode=b.Jy(f),isExpanded=a.ws(f),null==d&&(d=!isExpanded),!isLeafNode)if(d&&!isExpanded){a.Km(f,!0);break}else if(!d&&isExpanded){a.Km(f,!1);break}};r.a("AdfDhtmlPanelCollectionPeer.prototype.expandNode",{Vqa:It.prototype.Vqa});It.prototype.Uqa=function(){var a=this.Pd,b=a.o(),a=a.getSelectedRowKeys(),d;for(d in a){b.gC(d,!0);break}};
r.a("AdfDhtmlPanelCollectionPeer.prototype.expandAllNodesBelow",{Uqa:It.prototype.Uqa});It.prototype.xqa=function(){var a=this.Pd,b=a.o(),a=a.getSelectedRowKeys(),d;for(d in a){b.gC(d,!1);break}};r.a("AdfDhtmlPanelCollectionPeer.prototype.collapseAllNodesBelow",{xqa:It.prototype.xqa});It.prototype.Tqa=function(){this.Pd.o().gC("",!0)};r.a("AdfDhtmlPanelCollectionPeer.prototype.expandAllNodes",{Tqa:It.prototype.Tqa});It.prototype.wqa=function(){this.Pd.o().gC("",!1)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.collapseAllNodes",{wqa:It.prototype.wqa});It.prototype.Caa=function(){var a=this.Pd,b=a.o(),a=a.getSelectedRowKeys(),d;for(d in a){b.Baa(d);break}};r.a("AdfDhtmlPanelCollectionPeer.prototype.showNodeAsTop",{Caa:It.prototype.Caa});It.prototype.Aua=function(){var a=this.Pd;a.setProperty("displayRow",null,!1,G.ud);a.setProperty("displayRow","last",!1,G.ld)};r.a("AdfDhtmlPanelCollectionPeer.prototype.scrollToLast",{Aua:It.prototype.Aua});
It.prototype.zua=function(){var a=this.Pd;a.setProperty("displayRow",null,!1,G.ud);a.setProperty("displayRow","first",!1,G.ld)};r.a("AdfDhtmlPanelCollectionPeer.prototype.scrollToFirst",{zua:It.prototype.zua});It.prototype.R9=function(){this.Pd.o().Baa(null)};r.a("AdfDhtmlPanelCollectionPeer.prototype.goToTopNode",{R9:It.prototype.R9});It.prototype.Qsa=function(){this.Pd.o().Psa()};r.a("AdfDhtmlPanelCollectionPeer.prototype.goUpNode",{Qsa:It.prototype.Qsa});
It.prototype.Cd=function(a,b){if(a.K("_afrDetached")){var d=I.j(a.g(),V.TFa);node=document.getElementById(d);u.u(node);return q.b.qj(node,b)}return It.h.Cd.call(this,a,b)};r.a("AdfDhtmlPanelCollectionPeer.prototype.getDescendantComponents",{Cd:It.prototype.Cd});