var gp=I.ea($e,"AdfDhtmlInputListOfValuesSuperBasePeer");m("AdfDhtmlInputListOfValuesSuperBasePeer",gp);gp.C=function(){I.ra(this,D.pD,$b.XJ,Xb.Hl,Za.ua,D.gh);this.b2="_afrLovPopupId";this.YK="_shown";this.PAa="_dialogContentHeight";this.QAa="_dialogContentWidth";this.fCa="_afrLovInternalTableId";this.d1a="_afrLovInternalQueryId";this.GE="_afrLovInternalEventQueued";this.sCa="_afrLovDialogId";this.Hfa=!1;this.HS="select";this.Sh=null;I.ii(this,gp.PAa,gp.QAa,gp.YK)};
m("AdfDhtmlInputListOfValuesSuperBasePeer.InitSubclass",gp.C);gp.prototype.G=function(a,b){gp.h.G.call(this,a,b);var d=q.b,e=O.da(a);d.S()==q.ia&&9>d.Ib()?d.ba(e,"propertychange",this.D(this.GV)):d.ba(e,"input",this.D(this.GV))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.InitDomElement",{G:gp.prototype.G});gp.prototype.oi=function(a,b){var d=a.getConverter();null!=d&&d instanceof ib&&this.Ba(a,this.i(),b.toString());return gp.h.oi.call(this,a,b)};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.getConvertedObject",{oi:gp.prototype.oi});gp.Lba=function(a){a=O.da(a);$e.wl(a);J.va(a)};m("AdfDhtmlInputListOfValuesSuperBasePeer.FocusInputElement",gp.Lba);gp.uJ=function(a){var b=a.getLabel();if(b)return b;b=O.da(a);if(b=b.labels?b.labels[0]:document.querySelector("label[for\x3d'"+O.zD(a)+"']"))return b.textContent;v.l.info("Application hasn't provided label for ",a.g())};m("AdfDhtmlInputListOfValuesSuperBasePeer.GetLabelText",gp.uJ);
gp.prototype.wq=function(){u.fa()};gp.prototype.AnnounceAutoComplete=gp.prototype.wq;r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.AnnounceAutoComplete",{wq:gp.prototype.wq});gp.prototype.ht=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentClickOrTouch",{ht:gp.prototype.ht});
gp.prototype.ka=function(a){var b=this.dU;b&&this.f()==a&&(A.c.eQ(this,b),delete this.dU);(b=this.Ena)&&v.l.info("Potential callback leak detected - LOV _popupClosedCallback: ",b);gp.h.ka.call(this,a)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.ComponentRemoved",{ka:gp.prototype.ka});gp.prototype.Ba=function(a,b,d){u.J(d);b=O.da(a);var e="INPUT"==b.tagName;a.getReadOnly()?q.b.bc(b,d):(b.title=d,e?b.value=d:q.b.bc(b,d))};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.SetDisplayValue",{Ba:gp.prototype.Ba});gp.prototype.Jq=function(a){var b=a.getSource();b instanceof AdfRichTable||(b=b.getParent());if(b instanceof AdfRichTable)for(a=this.f(),b=b.getParent();b!=a&&null!=b;){if(b instanceof AdfRichDialog){(new Za(b,Za.Zm)).F();break}b=b.getParent()}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentDblClick",{Jq:gp.prototype.Jq});
gp.prototype.eg=function(a){var b=this.f(),d=a.getSource(),e=b.g()+gp.sCa;if(d.g()==e){a.Vb(b);if(this.Hfa=a.ll()==Za.Zm){e=b.g()+gp.d1a;if(e=A.c.m(e)){var f=e.o();f.bind(e);if(!f.t_()){a.cancel();a.wc();return}this.bind(b)}this.pI(!0);dc.F(b,!0)}else jh.F(b,jh.Lo,!0);gp.Lba(b);if(a=this.dU)A.c.eQ(this,a),delete this.dU;b.setProperty(gp.PAa,d.getContentHeight(),!1,G.ld);b.setProperty(gp.QAa,d.getContentWidth(),!1,G.ld)}};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentDialog",{eg:gp.prototype.eg});gp.prototype.za=function(a){var b=this.f(),d=a.na();if(w.jb!=d&&w.tf!=d||!b.K(gp.GE)){if(!a.Aa()&&w.jb==d){var e=b.g()+gp.fCa,f=a.getSource().g();if(f&&f==e){a.cancel();a.wc();return}}a.ce()==Qa.Ef&&(d!=w.tf&&this.hD(b,a.X()),delete this.Dx);gp.h.za.call(this,a)}else a.cancel(),a.wc(),b.setProperty(gp.GE,!1,!1,G.ud)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyUp",{za:gp.prototype.za});
gp.prototype.hD=function(a,b){if(a.getAutoTab&&a.getAutoTab()){var d=a.getMaximumLength();if(!(1>d)){var e=b.value?b.value.length:0;e>=d&&e>this.Dx&&this.Rv(b)}}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.AutoTab",{hD:gp.prototype.hD});gp.prototype.Rv=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.FocusNextElement",{Rv:gp.prototype.Rv});
gp.prototype.Yb=function(a){this.Il(a);var b=this.f(),d=a.na();if(w.jb!=d&&w.tf!=d||!b.K(gp.GE)){if(!a.Aa()&&w.jb==d&&(b=b.g()+gp.fCa,(d=a.getSource().g())&&d==b)){a.cancel();a.wc();return}a=a.X();this.Dx=a.value?a.value.length:0}else a.cancel(),a.wc()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyPress",{Yb:gp.prototype.Yb});
gp.prototype.ma=function(a){this.Il(a);var b=a.na(),d=this.f();switch(b){case w.jb:if(window.AdfAutoSuggestBehaviorImpl&&Ye.Za(d,this)){a.cancel();a.wc();break}case w.tf:var e=a.X();if(this.VD(d,a)){var f;a:{f=O.da(d);if(e==f&&"INPUT"==e.tagName){var g=$e.ks(f),h=e.value;if(h!=g&&0<h.length&&d.getAutoSubmit()){this.pI(!0);$e.wl(f,h);ih.F(d,ih.Tva,!0);f=!0;break a}}f=!1}f?(a.cancel(),a.wc(),d.setProperty(gp.GE,!0,!1,G.ud),b==w.tf&&(this.hv(),J.be(e))):b==w.jb&&this.nd(d,e)}break;case w.uz:d.getEditMode()==
gp.HS&&this.mw(d,a)&&a.cancel()}};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentKeyDown",{ma:gp.prototype.ma});gp.prototype.mw=function(){u.fa()};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsCancelBackSpaceKeyEvent",{mw:gp.prototype.mw});gp.prototype.VD=function(a,b){var d=O.zD(a);return b.X().id==d?!0:!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsKeyEventInInput",{VD:gp.prototype.VD});
gp.prototype.Mz=function(a){a=a.getSource();var b=this.f(),d=b.g()+gp.b2;a.g()==d&&(gp.Xx(b,null),1==this.Hfa&&(this.pI(!0),dc.F(b,!0)))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentPopupClosed",{Mz:gp.prototype.Mz});gp.prototype.Io=function(a){a=a.getSource();var b=this.f(),d=b.g();a==gp.zKa(d)&&(this.Vm(),gp.Xx(b,d),a=this.dU,a||(this.dU=a=this.D(this.nab)),A.c.kY(this,a))};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.HandleComponentPopupOpening",{Io:gp.prototype.Io});
gp.prototype.nab=function(a){var b=this.f();null==b&&v.l.severe("Unexpected null component! ",a);b=b.g();if(this.n0(b)){var b=b+gp.sCa,d=A.c.m(b);d&&d.o().IT(b,a.td())}};gp.prototype.n0=function(a){return(a=gp.zKa(a))&&a.Za()?!0:!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsLovPopupVisible",{n0:gp.prototype.n0});gp.prototype.Tq=function(a,b){a||(a=this.f());a&&this.i()&&gp.h.Tq.call(this,a,b)};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.ShowNoteWindow",{Tq:gp.prototype.Tq});
gp.prototype.Xm=function(a){a||(a=this.f());return a&&this.i()?gp.h.Xm.call(this,a):!1};r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.IsNoteWindowVisible",{Xm:gp.prototype.Xm});gp.zKa=function(a){return A.c.m(a+gp.b2)};gp.Xx=function(a,b){a.setProperty(gp.YK,b,!1,!0)};gp.prototype.tVa=function(a,b){this.Sh=a;var d=a+"_afrLovToolbar",e=A.c.m(b);null!=e&&(this.Ena||(this.Ena=this.D(this.Jnb),e.addEventListener(Xb.Hl,this.Ena)),e.show({align:AdfRichPopup.HI,alignId:d}))};
r.a("AdfDhtmlInputListOfValuesSuperBasePeer.prototype.showToolbarPopup",{tVa:gp.prototype.tVa});gp.prototype.Jnb=function(){var a=A.c.m(this.Sh);null!=a&&jh.F(a,jh.Hca,!0)};gp.prototype.GV=function(){var a=this.f();if(a){var b=O.da(a);this.OQ(a,b)}};