var Gt=I.ea(I,"AdfDhtmlPanelCollectionPeer",!1);m("AdfDhtmlPanelCollectionPeer",Gt);
Gt.C=function(){this.Jda="_ahTp";this.Hda="_ahBt";this.Nza="_ahCt";this.Hza="_afrAC";this.P0a="_afrHCC";this.hn="_clmCxt";this.Oea="_frzMn";this.Wga="_ufzMn";this.Pea="_frzTbr";this.sea="_dchMn";this.v1="_dchTbr";this.w2="_srtAsc";this.x2="_srtDsc";this.L5a="_srtAvd";this.N4a="_rdrMn";this.RDa="_rszClm";this.FDa="_qbeTbr";this.EDa="_qbeMn";this.cha="_wrpMn";this.dha="_wrpTbr";this.W7a="_vw";this.cea="_clmns";this.ZYa="_shwAll";this.dea="_shwClm";this.$Ya="_shwMr";this.c5a="_rwSctT";this.b5a="_rwSctC";
this.YYa="_clmHdnT";this.XYa="_clmHdnC";this.WYa="_clmFrzT";this.VYa="_clmFrzC";this.tBa="_xpdItm";this.rBa="_xpdBlw";this.mAa="_cpsBlw";this.a0a="_xpdAll";this.TYa="_cpsAll";this.AEa="_shwTp";this.HBa="_goTp";this.fEa="_sclFst";this.gEa="_sclLst";this.BEa="_shwTpTbr";this.JBa="_upTbr";this.IBa="_tpTbr";this.dZa="_afrClmWMn";this.w1="_afrSortDialog";this.VAa="sortDlg";this.tea="_afrShowColsDialog";this.TAa="_afrReorderDialog";this.UAa="_afrResizeColDialog";this.D5a="_shwClmDS";this.Mf="_PCPop";this.HEa=
"_srtDlgC";this.O5a="_srtDlgR";this.ACa=3;this.V4a="_rszDSpn";this.U4a="_rszDSct1";this.NAa="_dchDlgC";this.OAa="_dchDlgW";this.rea="_dchDlgP";this.tZa="_tbr";this.Dda=this.aea=this.bea=this.ega=null;I.ra(this,ab.cd,Za.ua,Xb.Hl,Tg.Yca,lc.At,$b.XJ);var a=this.yda={},b=Gt.prototype;a[this.Oea]=b.Q8;a[this.Wga]=b.o_;a[this.Pea]=b.yva;a[this.sea]=a[this.v1]=b.detach;a[this.w2]=b.jva;a[this.x2]=b.lva;a[this.L5a]=b.iva;a[this.N4a]=b.jua;a[this.FDa]=b.Daa;a[this.EDa]=b.Daa;a[this.RDa]=b.lI;a[this.cha]=a[this.dha]=
b.Qva;a[this.ZYa]=b.ava;a[this.dea]=b.cva;a[this.$Ya]=b.fva;a[this.tBa]=b.Rqa;a[this.rBa]=b.Qqa;a[this.mAa]=b.tqa;a[this.a0a]=b.Pqa;a[this.TYa]=b.sqa;a[this.AEa]=b.Aaa;a[this.HBa]=b.Q9;a[this.fEa]=b.vua;a[this.gEa]=b.wua;a[this.BEa]=b.Aaa;a[this.JBa]=b.Nsa;a[this.IBa]=b.Q9};m("AdfDhtmlPanelCollectionPeer.InitSubclass",Gt.C);Gt.prototype.Init=function(a,b){Gt.h.Init.call(this,a,b);this.Pd=null;this.sLa=this.ala=this.fMa=this.ema=this.sMa=this.j5=!1};
r.a("AdfDhtmlPanelCollectionPeer.prototype.Init",{Init:Gt.prototype.Init});Gt.prototype.GVa=function(){this.yv();this.DI()};r.a("AdfDhtmlPanelCollectionPeer.prototype.toolboxRefreshNotify",{GVa:Gt.prototype.GVa});
Gt.prototype.mB=function(){if(!this.fMa){var a=this.Pd;a||(a=this.i().getAttribute(Gt.Hza),a=this.Pd=A.c.m(a));var b=a instanceof AdfRichTable,d=a instanceof AdfRichTreeTable,e=a instanceof AdfRichTree;this.sMa=e;this.j5=b||d;this.ema=d||e;e||(b=a.getColumnSelection(),null!=b&&(b=b.toLowerCase()),this.ala=null!=b&&("single"==b||"multiple"==b),a=a.getRowSelection(),null!=a&&(a=a.toLowerCase()),this.sLa=null!=a&&-1!=a.toLowerCase().indexOf("multiple"));this.fMa=!0;a=this.f();a.K("_afrDetached")&&Ht(this,
a)}};Gt.prototype.lua=function(){var a=this.i().getAttribute(Gt.Hza);this.Pd=A.c.m(a)};r.a("AdfDhtmlPanelCollectionPeer.prototype.resetState",{lua:Gt.prototype.lua});
Gt.prototype.DI=function(){this.mB();if(this.j5){var a=A.c,b=this.Pd,d=b.o(),e=this.f().g(),f=d.Nt(),g=0<f.length,h,l;h=a.m(e+":"+Gt.w2);l=a.m(e+":"+Gt.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),It(f,h,l)):h.getParent().setProperty("disabled",!0,!1,G.fb)}if(this.ala){h=
a.H();l=g?Jt(this,b,f):!1;var n=Kt(this,f),z,b=a.m(e+":"+Gt.RDa);(t=a.m(e+":"+Gt.Oea))&&(z=a.m(e+":"+Gt.Wga));d=a.m(e+":"+Gt.Pea);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+":"+Gt.cha);
a=a.m(e+":"+Gt.dha);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:Gt.prototype.DI});
function Kt(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=Lt(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 Lt(a,b){for(var d=null,e=b.T2(a);null!=e;)d=e,e=b.T2(e);return d}Gt.prototype.rb=function(){return null!=Mt(this.Pd)};
function Mt(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=Lt(f,a);if(null!=f){if(f.getFrozen())return f;f=f.o().i();e+=parseInt(f.colSpan)-1}}}return null}function Jt(a,b,d){if(!a.ema)return!1;a=b.o().VY();for(b=0;b<d.length;b++)if(d[b]==a)return!0;return!1}
function It(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)}
Gt.prototype.Kva=function(){this.mB();if(!this.sMa){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=Lt(f,a),null!=f){var g=f.o().i(),g=parseInt(g.colSpan),e=e-(g-1);f.getFrozen()&&(d+=g)}}Nt(a)&&(d=a.vg().length-d+1);e=a.i().getAttribute(Gt.P0a);a=this.f().g();b=A.c;this.j5&&(f=b.m(a+":"+Gt.WYa),g=b.m(a+":"+Gt.VYa),f&&(Gt.aea||(Gt.aea=f.getValue()),f.setProperty("value",0<d?Gt.aea:"",!1,G.fb)),g&&(0<d?
g.setProperty("value",d.toString(),!1,G.fb):g.setProperty("value","",!1,G.fb)));f=b.m(a+":"+Gt.YYa);g=b.m(a+":"+Gt.XYa);f&&(Gt.bea||(Gt.bea=f.getValue()),f.setProperty("value",0<e?Gt.bea:"",!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",{Kva:Gt.prototype.Kva});
Gt.prototype.yv=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.sLa){f=b;g=d;var h=A.c,l=this.f().g(),n=h.m(l+":"+Gt.c5a),l=h.m(l+":"+Gt.b5a);n&&(Gt.ega||(Gt.ega=n.getValue()),n.setProperty("value",f||0<g?Gt.ega:"",!1,G.fb));l&&(f?(Gt.Dda||(Gt.Dda=h.H().Z("af_panelCollection.LABEL_STATUSBARITEM_ROWS_SELECTED_ALL")),0<g?l.setProperty("value","",!1,G.fb):l.setProperty("value",Gt.Dda,!1,G.fb)):0<g?l.setProperty("value",
g.toString(),!1,G.fb):l.setProperty("value","",!1,G.fb))}if(this.ema){var t=b,y=d,z=e;this.mB();var B=this.f().g(),h=a.o(),F=A.c,K=F.m(B+":"+Gt.tBa),n=F.m(B+":"+Gt.rBa),l=F.m(B+":"+Gt.mAa),P=F.m(B+":"+Gt.AEa),e=F.m(B+":"+Gt.HBa),d=F.m(B+":"+Gt.fEa),b=F.m(B+":"+Gt.gEa),Q=F.m(B+":"+Gt.BEa),f=F.m(B+":"+Gt.JBa);g=F.m(B+":"+Gt.IBa);var da=F.m(B+":"+Gt.hn+Gt.w2),B=F.m(B+":"+Gt.hn+Gt.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.vs(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",{yv:Gt.prototype.yv});
Gt.prototype.dva=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+":"+Gt.hn),l,n,t,y;if(h){var z=this.rb(),B=e.Nt();l=f.m(g+":"+Gt.hn+Gt.w2);n=f.m(g+":"+Gt.hn+Gt.x2);(t=f.m(g+":"+Gt.hn+Gt.Oea))&&(y=f.m(g+":"+Gt.hn+Gt.Wga));t&&(t.setProperty("disabled",Kt(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),It(B,l,n))}if(f=f.m(g+":"+Gt.hn+Gt.cha))l=(g=0<B.length)?Jt(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",{dva:Gt.prototype.dva});
Gt.prototype.dg=function(a){var b=a.getSource().g(),d=Gt.yda;if(0<=b.indexOf(Gt.Pea)||0<=b.indexOf(Gt.v1)||0<=b.indexOf(Gt.dha)){var e=this.f().g();(e=A.c.m(e+":"+Gt.tZa))&&(e=e.o())&&e.Va&&Ot(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:Gt.prototype.dg});Gt.prototype.ava=function(){var a=new Tg(this.Pd,null,"showAll");A.c.As(a);Pt(this,!0);Qt(this,"all")};
r.a("AdfDhtmlPanelCollectionPeer.prototype.showAllColumns",{ava:Gt.prototype.ava});function Pt(a,b,d){var e=A.c,f=a.f().g();if(!a.aIa){var g=q.b.getAttribute(a.i(),Gt.dZa);a.aIa=eval(g)}a=a.aIa;var g=Gt.dea,h=Gt.hn,l=e.m(f+":"+Gt.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)))}}
Gt.prototype.cva=function(a){var b=A.c,d=this.f().g(),e=a.getSource().g(),f=Gt.dea,g=e.substr(e.indexOf(f)+f.length),g=g.replace(/_afrSep_/g,":"),h=this.Pd;a=h.m(g);h=new Tg(h,h.g()+":"+g,a?"hide":"show");b.As(h);d=0<=e.indexOf(Gt.hn)?d+":"+f+g:d+":"+Gt.hn+f+g;if(b=b.m(d))b.setSelected(null==a),A.c.Kc(b);Qt(this,a?"hide":"show")};r.a("AdfDhtmlPanelCollectionPeer.prototype.showColumn",{cva:Gt.prototype.cva});
function Qt(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+":"+Gt.W7a))&&A.c.Kc(d)}Gt.prototype.yva=function(){this.rb(this.Pd)?this.o_():this.Q8()};r.a("AdfDhtmlPanelCollectionPeer.prototype.toggleFreeze",{yva:Gt.prototype.yva});
Gt.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=Lt(d,b),null!=b&&(d=b),d.setProperty(AdfRichColumn.FROZEN,!0,!0),A.c.Kc(a))};r.a("AdfDhtmlPanelCollectionPeer.prototype.freezeColumns",{Q8:Gt.prototype.Q8});Gt.prototype.o_=function(){var a=this.Pd;frozenColumn=Mt(a);null!=frozenColumn&&(frozenColumn.setProperty(AdfRichColumn.FROZEN,!1,!0),A.c.Kc(a))};
r.a("AdfDhtmlPanelCollectionPeer.prototype.unfreezeColumns",{o_:Gt.prototype.o_});Gt.prototype.Ch=function(){return this.f().K("_afrDetached")};r.a("AdfDhtmlPanelCollectionPeer.prototype.isDetached",{Ch:Gt.prototype.Ch});Gt.prototype.jha=function(){return Gt.Jda};r.a("AdfDhtmlPanelCollectionPeer.prototype.__getAutoHeightTopFacetId",{jha:Gt.prototype.jha});Gt.prototype.iha=function(){return Gt.Hda};r.a("AdfDhtmlPanelCollectionPeer.prototype.__getAutoHeightBottomFacetId",{iha:Gt.prototype.iha});
Gt.prototype.detach=function(){var a=this.f();a.K("_afrDetached")?this.Jb(a,Gt.rea):(a.setProperty("_afrDetached",!0,!1,!0),Ht(this,a))};r.a("AdfDhtmlPanelCollectionPeer.prototype.detach",{detach:Gt.prototype.detach});
function Ht(a,b){var d=b.g(),e=I.j(d,Gt.NAa),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,Gt.Nza);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,Gt.Jda),B=n.getElementById(B),y=I.j(y,Gt.Hda);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,Gt.OAa);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,Gt.rea);e.Fm()&&(e.lL(!1),g.jo(e.i(),!0));h=g.m(d+":"+Gt.v1);d=g.m(d+":"+Gt.sea);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)}}
Gt.prototype.ob=function(a,b,d){Gt.h.ob.call(this,a,b);var e=q.b;if("true"!=b.getAttribute(V.xT)&&d==Gt.rea){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,Gt.Nza),y=n.getElementById(y),z=I.j(t,Gt.OAa),z=n.getElementById(z);if(y){var B=I.j(t,Gt.Jda),B=n.getElementById(B),t=I.j(t,Gt.Hda);(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,Gt.NAa);e.getElementById(l).appendChild(b);b=d.m(h+":"+Gt.v1);if(h=d.m(h+":"+Gt.sea))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.Ybb,a,10,{isSynchronized:!0})):J.Em(this.nX)&&J.va(this.nX))}};r.a("AdfDhtmlPanelCollectionPeer.prototype.PopupClosed",{ob:Gt.prototype.ob});Gt.prototype.Ybb=function(a){J.va(a.focusElement)};function Rt(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&&St.Bs(d,f,b)}Gt.prototype.jva=function(){Rt(this,!0)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.sortAscending",{jva:Gt.prototype.jva});Gt.prototype.lva=function(){Rt(this,!1)};r.a("AdfDhtmlPanelCollectionPeer.prototype.sortDescending",{lva:Gt.prototype.lva});Gt.prototype.iva=function(){Tt(this,Gt.w1)};r.a("AdfDhtmlPanelCollectionPeer.prototype.sortAdvanced",{iva:Gt.prototype.iva});Gt.prototype.jua=function(){Tt(this,Gt.TAa)};r.a("AdfDhtmlPanelCollectionPeer.prototype.reorderColumns",{jua:Gt.prototype.jua});Gt.prototype.fva=function(){Tt(this,Gt.tea)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.showMoreColumns",{fva:Gt.prototype.fva});function Tt(a,b){var d=a.f(),e=d.g(),f=A.c,d=new kh(d,b);f.As(d);a.uB=b;f.m(e+":"+Gt.Mf).show()}
Gt.prototype.Daa=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+":"+Gt.FDa);b=d.m(b+":"+Gt.EDa);a.setSelected(e);b&&b.setSelected(e)};r.a("AdfDhtmlPanelCollectionPeer.prototype.showQBE",{Daa:Gt.prototype.Daa});Gt.prototype.lI=function(){Tt(this,Gt.UAa)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.resizeColumn",{lI:Gt.prototype.lI});Gt.prototype.Io=function(){if(null!=this.uB&&this.uB==Gt.w1){var a=this.f().g()+":"+Gt.VAa;A.c.m(a).o().IT(a,!0)}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentPopupOpening",{Io:Gt.prototype.Io});Gt.prototype.El=function(){if(null!=this.uB&&this.uB==Gt.w1){for(var a=this.f().g(),b=A.c,d=Gt.ACa,e=!1,f=0;f<d;++f){var g=b.m(a+":"+Gt.HEa+f);null!=g&&g.getValue()&&(e=!0)}a=a+":"+Gt.VAa;b.m(a).o().IT(a,!e)}};
r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentValueChange",{El:Gt.prototype.El});Gt.prototype.Mz=function(){delete this.uB};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentPopupClosed",{Mz:Gt.prototype.Mz});
Gt.prototype.eg=function(a){if(null!=this.uB){var b=!0;if(a.ll()==Za.Zm){var d=this.uB;if(d==Gt.w1){for(var d=this.f().g(),e=A.c,f=[],g=[],h=Gt.ACa,l=0;l<h;++l){var n=e.m(d+":"+Gt.HEa+l);if(null!=n&&n.getValue()){var t=e.m(d+":"+Gt.O5a+l);f.push(n.getValue());g.push("Ascending"==t.getValue())}}St.Bs(this.Pd,f,g)}else if(d==Gt.tea||d==Gt.TAa)h=this.Pd,e=this.f().g(),d=A.c,f=d.m(e+":"+Gt.D5a).getSubmittedValue(),g=this.uB==Gt.tea,h=new Tg(h,f,g?"showColumns":"reorderColumns"),d.As(h),g?(Pt(this,!1,
f),Qt(this,"multiple")):(e=d.m(e+":"+Gt.cea))&&d.Kc(e);else if(d==Gt.UAa){var e=this.Pd.o(),f=this.f().g(),g=A.c,b=f+":"+Gt.V4a,d=g.m(b),y=g.m(f+":"+Gt.U4a),f=d.getValue(),g=e.Nt(),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.Ne(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.Ne(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+":"+Gt.Mf).Tb())}}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentDialog",{eg:Gt.prototype.eg});Gt.prototype.Qva=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",{Qva:Gt.prototype.Qva});Gt.prototype.Zxa=function(a){if("reorderColumn"==a.xsa()){var b=this.f().g();a=A.c;var d=a.m(b+":"+Gt.cea);d&&(this.ala?(b=a.m(b+":"+Gt.hn+Gt.cea),a.Kc(d,b)):a.Kc(d))}};r.a("AdfDhtmlPanelCollectionPeer.prototype.HandleComponentShowColumns",{Zxa:Gt.prototype.Zxa});
Gt.prototype.Rqa=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.vs(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",{Rqa:Gt.prototype.Rqa});Gt.prototype.Qqa=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",{Qqa:Gt.prototype.Qqa});Gt.prototype.tqa=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",{tqa:Gt.prototype.tqa});Gt.prototype.Pqa=function(){this.Pd.o().gC("",!0)};r.a("AdfDhtmlPanelCollectionPeer.prototype.expandAllNodes",{Pqa:Gt.prototype.Pqa});Gt.prototype.sqa=function(){this.Pd.o().gC("",!1)};
r.a("AdfDhtmlPanelCollectionPeer.prototype.collapseAllNodes",{sqa:Gt.prototype.sqa});Gt.prototype.Aaa=function(){var a=this.Pd,b=a.o(),a=a.getSelectedRowKeys(),d;for(d in a){b.zaa(d);break}};r.a("AdfDhtmlPanelCollectionPeer.prototype.showNodeAsTop",{Aaa:Gt.prototype.Aaa});Gt.prototype.wua=function(){var a=this.Pd;a.setProperty("displayRow",null,!1,G.ud);a.setProperty("displayRow","last",!1,G.ld)};r.a("AdfDhtmlPanelCollectionPeer.prototype.scrollToLast",{wua:Gt.prototype.wua});
Gt.prototype.vua=function(){var a=this.Pd;a.setProperty("displayRow",null,!1,G.ud);a.setProperty("displayRow","first",!1,G.ld)};r.a("AdfDhtmlPanelCollectionPeer.prototype.scrollToFirst",{vua:Gt.prototype.vua});Gt.prototype.Q9=function(){this.Pd.o().zaa(null)};r.a("AdfDhtmlPanelCollectionPeer.prototype.goToTopNode",{Q9:Gt.prototype.Q9});Gt.prototype.Nsa=function(){this.Pd.o().Msa()};r.a("AdfDhtmlPanelCollectionPeer.prototype.goUpNode",{Nsa:Gt.prototype.Nsa});
Gt.prototype.Cd=function(a,b){if(a.K("_afrDetached")){var d=I.j(a.g(),V.PFa);node=document.getElementById(d);u.u(node);return q.b.pj(node,b)}return Gt.h.Cd.call(this,a,b)};r.a("AdfDhtmlPanelCollectionPeer.prototype.getDescendantComponents",{Cd:Gt.prototype.Cd});