var TypeAheadPopup=function(){var TYPEAHEAD_ITEM_TEXT_ALL="All",TYPEAHEAD_ITEM_ID_ALL=-1,PendingTypeaheadResolution_Enum={ptrNothingPending:1,ptrTextCleared:2,ptrUnresolvedText:3,ptrResolutionPending:4},_test_suppressHideDropdown,_typeAheadTextChangeTimer=null;function pvSetSuppressHideDropdown(e){_test_suppressHideDropdown=e}function pvIsTypeaheadDivShowing(e){return e.style.display!=="none"}function pbIsTypeaheadDropdownShowing(){var e=getObj("typeAheadDiv"),a=e&&pvIsTypeaheadDivShowing(e);return a}function pbSetInvalidTextClass(e,a){var t=e.className,n="invalidTextField";if(a){if(t.indexOf(n)<0){t=trim(t+" "+n)}}else{t=trim(t.replace(n,""))}e.className=t}function pvUpdateTypeaheadTextboxValidation(e){var a=e.typeaheadDiv,t=a.typeAheadConfigParams,n=t&&t.forceMatchItem;if(n){var i=getObj(t.formId)||0,r=i[t.textFieldName]||0,o=i[t.idFieldName]||0,d=r.value||"";if(o.value||!d.length){pbSetInvalidTextClass(r,0)}else if(r.form&&r.form.ignoreFieldValue&&r.form.ignoreFieldValue.value===d){pbSetInvalidTextClass(r,0)}else{pbSetInvalidTextClass(r,1)}}}function pbHideTypeAheadDiv(){var e=getObj("typeAheadDiv"),a=0;if(e){pvUpdateTypeaheadTextboxValidation({typeaheadDiv:e});a=pvIsTypeaheadDivShowing(e);if(!_test_suppressHideDropdown){e.scrollTop=0;e.ignoreBlur=false;e.typeAheadConfigParams=null;e.innerHTML="";e.style.display="none"}}return a}function pbHideTypeAheadDivIfNotTypeAheadDiv(e){var a=getObj("typeAheadDiv"),t=(a||{}).typeAheadConfigParams;if(t){var n=true,i=getObj(t.formId),r=(i||{})[t.textFieldName];if(r){n=e!==r}if(n){pbHideTypeAheadDiv()}}}function pvFireTypeAheadOnChangeIfNecessary(params_){var objTextControl=params_.textField,tmpUseAsynchForOnChange=params_.useAsynchForOnChange,strOnChangeFunction=objTextControl.getAttribute("mjttypeaheadonchange");if(strOnChangeFunction){if(tmpUseAsynchForOnChange){setTimeout(function(){eval(unescape(strOnChangeFunction))},0)}else{eval(unescape(strOnChangeFunction))}}}function pvHandleExplicitTypeAheadSelection(e){e=e||{};var a=e.resultOptions,t=false,n=getObj("typeAheadDiv");if(n){var i=n.typeAheadConfigParams,r=i?StringificationUtils.getOrResolveFunction({functionNameOrReference:i.fnHandleExplicitSelection,descriptionOfFunctionBeingResolved:"typeAheadConfigParams.fnHandleExplicitSelection",suppressErrorsOnMissingNameOrReference:1}):null,o=i?StringificationUtils.getOrResolveFunction({functionNameOrReference:i.fnHandleExplicitSelectionP,descriptionOfFunctionBeingResolved:"typeAheadConfigParams.fnHandleExplicitSelectionP",suppressErrorsOnMissingNameOrReference:1}):null,d={};if(r||o){if(typeof n.selectedRowIndex!=="undefined"&&n.selectedRowIndex!==null&&n.selectedRowIndex>-1){var l=getObj("typeAheadRow"+n.selectedRowIndex);if(l){if(o){o({idxSelectedRow:n.selectedRowIndex,selectedRow:l,formId:i.formId,typeAheadConfigParams:i,explicitSelectionFnParameter:i.explicitSelectionFnParameter,arrTypeaheadRowVals:mjtElemData(n,"arrTypeaheadRowVals")||null,explicitSelectionResultOptions:d});if(a){a.suppressSetFocus=d.suppressSetFocus}}else{r(n.selectedRowIndex,l,i.formId,i,i.explicitSelectionFnParameter,mjtElemData(n,"arrTypeaheadRowVals")||null)}t=true}else{if(i.fnHandleExplicitEmptySelection){if(i.fnHandleExplicitEmptySelection()){t=true}}}}else{if(i.fnHandleExplicitEmptySelection){if(i.fnHandleExplicitEmptySelection()){t=true}}}}}return t}function pbScrollTypeaheadSelectionIntoViewIfNecessary(){var e=getObj("typeAheadDiv");if(!e.typeAheadConfigParams){return}if(-1===e.selectedRowIndex){return}var a=getObj("typeAheadRow"+e.selectedRowIndex);if(a){scrollElementIntoViewWithinContainerElement(a,e)}}function pvGetLastTypeaheadDisplayValue(e){return e.getAttribute("data-mjtLastTypeAheadDisplayValue")}function pvSetLastTypeaheadDisplayValue(e){var a=e.textField,t=e.displayValue,n=e.dontSetFieldValue;a.setAttribute("data-mjtLastTypeAheadDisplayValue",t);if(!n){a.value=t}}function pvCheckIfTypeaheadDisplayValueChangedAndSetLastValue(e){var a=pvGetLastTypeaheadDisplayValue(e),t=e.value,n=a!==t;if(n){pvSetLastTypeaheadDisplayValue({textField:e,displayValue:t,dontSetFieldValue:1})}return n}function pvRememberTypeAheadConfigParamsForField(e){var a=getObj(e.formId),t=a?a[e.textFieldName]:null;if(t){mjtElemData(t,"typeAheadConfigParams",e)}}function pvGetTypeAheadConfigParamsForField(e){return e?mjtElemData(e,"typeAheadConfigParams")||null:null}function pvCommitTypeAheadSelectionValue(e){var a=e.typeAheadConfigParams,t=e.id,n=e.displayValue,i=getObj("typeAheadDiv"),r=getObj(a.formId),o=r[a.textFieldName],d=r[a.idFieldName];pbSetInvalidTextClass(o,0);if(i){i.ignoreTextChange=true}if(_typeAheadTextChangeTimer){clearTimeout(_typeAheadTextChangeTimer)}pvSetLastTypeaheadDisplayValue({textField:o,displayValue:n});d.value=t;if(i){i.ignoreTextChange=false}pvFireTypeAheadOnChangeIfNecessary({textField:o,useAsynchForOnChange:false})}function pvSetClassWhileRetainingPriorSelectionInd(e){var a=e.targetElement,t=e.newClassName,n;if(a){n=a.classList.contains("typeAheadPriorSelection");a.className=t+(n?" typeAheadPriorSelection":"");a.setAttribute("mjtclass",a.className)}}function ptSelectTypeAheadItem(e){var a=e.rowIndex,t=e.activeSelection,n=e.setFocus,i=e.event,r=false,o=getObj("typeAheadDiv");if(i&&i.button&&i.button!==1){return false}if(!o.typeAheadConfigParams){return false}o.ignoreBlur=n?true:false;if(o.selectedRowIndex!==a){pvSetClassWhileRetainingPriorSelectionInd({targetElement:getObj("typeAheadRow"+o.selectedRowIndex),newClassName:"typeAheadRow"})}o.selectedRowIndex=a;var d=getObj("typeAheadRow"+a),l=o.typeAheadConfigParams,s=l.formId,p=l.textFieldName,c=l.asyncFocusOnSelect,h=getObj(s),f=h[p],u={};if(d){r=true;pvSetClassWhileRetainingPriorSelectionInd({targetElement:d,newClassName:"typeAheadSelectedRow"});pbScrollTypeaheadSelectionIntoViewIfNecessary();pvCommitTypeAheadSelectionValue({typeAheadConfigParams:l,id:unescape(d.getAttribute("mjtid")),displayValue:unescape(d.getAttribute("mjtvalue"))});if(t){pvHandleExplicitTypeAheadSelection({resultOptions:u})}}if(n){if(!u.suppressSetFocus){if(c){setTimeout(function(){setFocus(f)},0)}else{setFocus(f)}}if(t){pbHideTypeAheadDiv()}}return r}function ptRemoveTypeAheadSelectionOrHoverHighlight(e){var a,t,n=e?"typeAheadSelectedRow":"typeAheadHoverRow";t=getObj("typeAheadRow0");for(a=0;t;++a){if(t.className===n){t.className="typeAheadRow";if(!e){var i=getObj("typeAheadDiv");i.selectedRowIndex=a}}t=getObj("typeAheadRow"+(a+1))}}function pvMousedownOnTypeahead(){var e=getObj("typeAheadDiv");e.ignoreBlur=true}function pvBlurTypeahead(){pbHideTypeAheadDiv()}function ptSetFocusToTextField(e){var a=e.formId,t=e.fieldName,n=getObj(a);if(n){var i=n[t];if(i){setFocus(i)}}}function pvClearSelection(){var e=getObj("typeAheadDiv");if(e){var a=getObj("typeAheadRow"+e.selectedRowIndex);if(a){a.className="typeAheadRow";e.selectedRowIndex=-1}}}function pvGetNoMatchFoundHtml(e){var a=e.taConfig,t=e.additionalLastRowHtml,n=e.originalPayload,i=e.fnNoMessagePostfix,r=a.noDataMessage,o=i?i(a.showAdditionalLastRow,n):"",d=r?r+o:"No matches found",l=a.typeAheadTableAdditionalClasses,s=l?' class="'+l+'" ':"",p='
'+''+"| "+d+" | "+"
";if(a){if(t&&a.showAdditionalLastRow){p+=t}}p+="
";return p}function pvPrepareTypeaheadRender(){var e=getObj("typeAheadDiv"),a=e.typeAheadConfigParams,t=null;if(a){e.onmousedown=pvMousedownOnTypeahead;e.onblur=pvBlurTypeahead;e.ignoreBlur=false;e.selectedRowIndex=-1;var n=getObj(a.formId);if(n){var i=n[a.textFieldName],r=n[a.idFieldName];t={typeAheadDiv:e,taConfig:a,form:n,currText:i,currId:r,originalIdValue:r?r.value:null,isText:i.value.length>0,doAutoMatch:a.autoMatchOnKeyInput}}else{ConsoleLogging.logBlockClose("No Form! looking for formId="+a.formId)}}return t}function pvFinishTypeaheadRender(e){var a=e.renderContext,t=e.html,n=e.isExactMatch,i=e.fnPostProcessTypeaheadDisplay,r=e.arrObjects,o=a.typeAheadDiv;o.style.display="none";o.style.zIndex=501;o.innerHTML=t;if(n&&a.doAutoMatch){var d=getObj("typeAheadRow"+o.selectedRowIndex);d.className="typeAheadSelectedRow";d.setAttribute("mjtclass","typeAheadSelectedRow");pvFireTypeAheadOnChangeIfNecessary({textField:a.currText,useAsynchForOnChange:false})}if(i){i({typeaheadDiv:o,arrObjects:r})}setTimeout(doPositionPicker,0)}function pvApplyExactMatchIfRowMatches(e){var a=e.renderContext,t=e.matchState,n=e.name,i=e.unescapedId,r=e.currentText,o=e.rowId,d=a.currId;if(!t.matchedOriginalIdValue&&n&&n.toLowerCase()===r.toLowerCase()){var l=d&&i===a.originalIdValue;if(a.doAutoMatch&&(l||!t.isExactMatch)){if(d){d.value=i}t.matchedOriginalIdValue=t.matchedOriginalIdValue||l;t.isExactMatch=true;a.typeAheadDiv.selectedRowIndex=o}}}function pvRowFlagIsSet(e,a){return typeof a!=="undefined"&&a!==null&&a>-1&&"1"===e[a]}function pvRenderTypeaheadDropdown(e){var a=e.arrRows,t=e.fnDescribeRow,n=e.hasExtraColumn,i=e.showInactiveStateSuffix,r=e.areMoreItems,o=e.forceFireTypeAheadOnChange,d=e.forceIgnoreCurrentTextForBold,l=e.additionalFirstRowHtml,s=e.additionalLastRowHtml,p=pvPrepareTypeaheadRender();if(!p){return}var c=p.typeAheadDiv,h=p.taConfig,f=p.form,u=p.currText,y={isExactMatch:false,matchedOriginalIdValue:false};if(!(a&&a.length)){if(p.isText){var m=pvGetNoMatchFoundHtml({taConfig:h,additionalLastRowHtml:s,originalPayload:e.originalPayload,fnNoMessagePostfix:e.fnNoMessagePostfix});c.style.display="none";c.style.zIndex=501;c.innerHTML=m;setTimeout(doPositionPicker,0)}else{mjtElemData(c,"arrTypeaheadRowVals",null);pbHideTypeAheadDiv();if(o){pvFireTypeAheadOnChangeIfNecessary({textField:u,useAsynchForOnChange:false})}}}else{pbSetInvalidTextClass(u,0);var T=n?' colspan="2"':"",v=h?h.typeAheadTableAdditionalClasses||"":"",A="'+"",g=u.value,x=d||h.ignoreCurrentTextForBold?"":g,I=h.existingSelectionText,C=0,b,F=[];c.itemCount=a.length;mjtElemData(c,"arrTypeaheadRowVals",F);if(l){A+=l}for(b=0;b'+" | "+""}else{F[C]=S.rowVals;var O=S.name;pvApplyExactMatchIfRowMatches({renderContext:p,matchState:y,name:O,unescapedId:S.id,currentText:g,rowId:C});var w=S.isInactive,D=S.renderExtraOnTheLeft,E=O.substring(0,x.length),H=O.substring(x.length),j=I&&O&&O.toLowerCase()===I.toLowerCase(),L=j?" typeAheadPriorSelection":"",M=n?""+(S.extraHTML||"")+" | ":"",N="';if(M&&D){N+=M}N+="| ";if(w){N+=''}N+=''+htmlEncode(E)+""+htmlEncode(H);if(w){if(i){N+=" ("+(S.inactiveMeansComplete?"Complete":"Inactive")+")"}N+=""}N+=" | ";if(M&&!D){N+=M}N+="
";A+=N;++C}}if(r){var _=" There are more items"+(x?' starting with "'+htmlEncode(x)+'"':"");A+=''+"| "+_+" | "+"
"}if(h){if(s&&h.showAdditionalLastRow){A+=s}}A+=""+"
";pvFinishTypeaheadRender({renderContext:p,html:A,isExactMatch:y.isExactMatch,fnPostProcessTypeaheadDisplay:e.fnPostProcessTypeaheadDisplay,arrObjects:e.arrObjects})}}function pvProcessTypeAheadSearchTextArray(e){var r=e.idColumnIndex,o=e.nameColumnIndex,d=e.extraHTMLColumnIndex,l=e.isInactiveColumnIndex,s=e.inactiveMeansCompleteColumnIndex;if(typeof d==="undefined"||null===d||d<0){d=-1}pvRenderTypeaheadDropdown({arrRows:e.arrEscapedValues,hasExtraColumn:d>-1,areMoreItems:e.areMoreItems,forceFireTypeAheadOnChange:e.forceFireTypeAheadOnChange,forceIgnoreCurrentTextForBold:e.forceIgnoreCurrentTextForBold,showInactiveStateSuffix:false,fnDescribeRow:function(e){var a;if(e==="-"){a={isSeparator:true}}else{var t=e.split(":"),n=t[r],i=t[o];a={rowVals:t,id:unescape(n),name:unescape(i),escapedId:n,escapedName:i,isInactive:pvRowFlagIsSet(t,l),inactiveMeansComplete:pvRowFlagIsSet(t,s),extraHTML:d>-1&&d=t){n=t-1}if(n<0){n=0}ptSelectTypeAheadItem({rowIndex:n,activeSelection:false})}}function pvSelectFirstLastInTypeahead(e){var a=e.typeAheadDiv,t=e.first;if(pvIsTypeaheadDivShowing(a)){var n=a.itemCount?a.itemCount:0;if(n){ptSelectTypeAheadItem({rowIndex:t?0:n-1,activeSelection:false,setFocus:false})}}}function pvPageTypeAheadIfNecessary(e){var a=e.typeAheadDiv,t=e.up;if(pvIsTypeaheadDivShowing(a)){var n=a.itemCount?a.itemCount:0,i=a.selectedRowIndex?a.selectedRowIndex:0,r=0,o=n-1,d=a.scrollTop,l=d+a.clientHeight-1,s;for(s=0;s=p.offsetTop&&d+p.offsetHeight/2=p.offsetTop&&l-p.offsetHeight/2r){c=r}else if(!t&&i=n){c=n-1}if(c<0){c=0}ptSelectTypeAheadItem({rowIndex:c,activeSelection:false,setFocus:false})}}function pvClearForAndHandleTypeAheadChange(e){var a=e.idField,t=e.textField,n=e.useAsynchForOnChange;if(a&&a.value.length){a.value="";pvFireTypeAheadOnChangeIfNecessary({textField:t,useAsynchForOnChange:n})}pvFireAsynchHandleTypeAheadTextChange()}function pbHandleTypeAheadTextBoxOnInput(e,a,t){var n=getObj("typeAheadDiv");if(!n.ignoreTextChange){n.typeAheadConfigParams=t;pvRememberTypeAheadConfigParamsForField(t);var i=getObj(t.formId),r=i[t.textFieldName],o=i[t.idFieldName];if(pvCheckIfTypeaheadDisplayValueChangedAndSetLastValue(r)){pvClearForAndHandleTypeAheadChange({idField:o,textField:r,useAsynchForOnChange:false})}}}function pbHandleTypeAheadTextBoxKeyDown(e_,formId_,typeAheadConfigParams_,handlingEnter_,skipHideDialogOnEnter_){var objTypeAheadDiv=getObj("typeAheadDiv");if(!objTypeAheadDiv.ignoreTextChange){objTypeAheadDiv.typeAheadConfigParams=typeAheadConfigParams_;pvRememberTypeAheadConfigParamsForField(typeAheadConfigParams_);var theForm=getObj(typeAheadConfigParams_.formId),objTextField=theForm[typeAheadConfigParams_.textFieldName],objIdField=theForm[typeAheadConfigParams_.idFieldName];switch(e_.keyCode){case 38:pvIncrementTypeAheadSelectionIndex(false);break;case 40:if(e_.altKey){var strPickerActivation=objTextField.getAttribute("mjttypeaheadactivation");if(strPickerActivation){pbHideTypeAheadDiv();eval(strPickerActivation)}}else{pvIncrementTypeAheadSelectionIndex(true)}break;case 33:pvPageTypeAheadIfNecessary({typeAheadDiv:objTypeAheadDiv,up:true});return false;case 34:pvPageTypeAheadIfNecessary({typeAheadDiv:objTypeAheadDiv,up:false});return false;case 27:if(pbHideTypeAheadDiv()){cancelEvent(e_);return false}break;case 13:if(pvHandleExplicitTypeAheadSelection()){return false}else{if(!skipHideDialogOnEnter_){pbHideTypeAheadDiv()}if(!handlingEnter_){return false}}break;case 9:break;case 116:break;case 37:break;case 39:break;case 16:break;case 36:if(e_.ctrlKey){pvSelectFirstLastInTypeahead({typeAheadDiv:objTypeAheadDiv,first:true})}break;case 35:if(e_.ctrlKey){pvSelectFirstLastInTypeahead({typeAheadDiv:objTypeAheadDiv,first:false})}break;case 17:break;case 18:break;default:if(e_.altKey){break}if(e_.ctrlKey&&(65===e_.keyCode||82===e_.keyCode)){break}pvClearSelection();pvClearForAndHandleTypeAheadChange({idField:objIdField,textField:objTextField,useAsynchForOnChange:true});break}}}function pbSimpleExplicitSelectionHandler(e,a,t,n){var i=getObj(t),r=i?i[n.textFieldName]:0;pbHideTypeAheadDiv();if(r){setTimeout(function(){setFocusIfFocusable(r)},0)}}function pvSearchTermPermitsAllItem(e){var a=e.length,t=TYPEAHEAD_ITEM_TEXT_ALL.length,n=0;if(a<=t){if(!a){n=1}else{n=stringStartsWith(TYPEAHEAD_ITEM_TEXT_ALL,e,1)}}return n}function pbPrependAllItemToArray(e){var a=e.arrItems,t=e.searchTerm;if(a&&pvSearchTermPermitsAllItem(t)){var n={id:TYPEAHEAD_ITEM_ID_ALL,name:TYPEAHEAD_ITEM_TEXT_ALL};a.unshift(n)}return a}function pbBuildStringifiedTypeaheadInfo(e){var a=e.stringifiableParams,t=JSON.stringify(a);return t}function pvFindExactMatch(e,a){var n=a.trim().toLowerCase(),i=null;e.some(function(e){var a=(e.name||"").trim().toLowerCase(),t=a===n;if(t){i=e}return t});return i}function pvResolveExactMatchAdditionalData(e){var a=e.exactMatchInfo,t=e.additionalData;return undefined===t?(a||{}).additionalData:t}function pvBuildResolutionAttemptKey(e){var a=e.searchText,t=e.additionalData;return JSON.stringify({searchText:a,additionalData:t})}function pvResolutionAlreadyAttemptedFor(e,a){var t=mjtElemData(e,"lastResolutionAttemptKey");return t===a}function pvRememberResolutionAttempt(e,a){mjtElemData(e,"lastResolutionAttemptKey",a)}function pvNotifyHostOfResolvedSelection(e){var a=e.typeAheadConfigParams,t=e.match,n=StringificationUtils.getOrResolveFunction({functionNameOrReference:a.fnHandleExplicitSelectionP,descriptionOfFunctionBeingResolved:"typeAheadConfigParams.fnHandleExplicitSelectionP",suppressErrorsOnMissingNameOrReference:1});if(n){n({idxSelectedRow:0,selectedRow:null,formId:a.formId,typeAheadConfigParams:a,explicitSelectionFnParameter:a.explicitSelectionFnParameter,arrTypeaheadRowVals:[t],explicitSelectionResultOptions:{}})}}function pvCommitExactMatchIfFound(e){var a=e.typeAheadConfigParams,t=e.searchText,n=pvFindExactMatch(e.arrCandidates,t);if(n){pvCommitTypeAheadSelectionValue({typeAheadConfigParams:a,id:n.id,displayValue:n.name});pvNotifyHostOfResolvedSelection({typeAheadConfigParams:a,match:n})}}function pvRequestExactMatch(e){var a=e.typeAheadConfigParams,t=e.searchText,n=e.fnOnResolved,i=e.additionalData,r=a.exactMatchInfo,o=r.arrayPropertyName,d={};d.expectedContextId=jsrsExecuteWithErrorP(r.commandString,rsCallbackHandleStandardJSONResponse,"Validating",{term:t,additionalExactMatchData:i},{idHolder:d,fnOnSuccess:function(e){pvCommitExactMatchIfFound({typeAheadConfigParams:a,searchText:t,arrCandidates:e[o]||[]});n()}})}function pbResolveUnmatchedTypeaheadText(e){var a=e.formId,t=e.textFieldName,n=e.fnOnResolved,i=getObj(a),r=i?i[t]:null,o=pvGetTypeAheadConfigParamsForField(r),d=(o||{}).exactMatchInfo,l=r?trim(r.value):"",s=pvResolveExactMatchAdditionalData({exactMatchInfo:d,additionalData:e.additionalData}),p=pvBuildResolutionAttemptKey({searchText:l,additionalData:s}),c=!!r&&!!n&&!!l.length&&!!(d||{}).commandString&&!pvResolutionAlreadyAttemptedFor(r,p),h=PendingTypeaheadResolution_Enum.ptrUnresolvedText;if(c){pvRequestExactMatch({typeAheadConfigParams:o,searchText:l,additionalData:s,fnOnResolved:function(){pvRememberResolutionAttempt(r,p);n()}});h=PendingTypeaheadResolution_Enum.ptrResolutionPending}return h}return{isTypeaheadDropdownShowing:pbIsTypeaheadDropdownShowing,prependAllItemToArray:pbPrependAllItemToArray,buildStringifiedTypeaheadInfo:pbBuildStringifiedTypeaheadInfo,resolveUnmatchedTypeaheadText:pbResolveUnmatchedTypeaheadText,PendingTypeaheadResolution_Enum:PendingTypeaheadResolution_Enum,hideTypeAheadDiv:pbHideTypeAheadDiv,hideTypeAheadDivIfNotTypeAheadDiv:pbHideTypeAheadDivIfNotTypeAheadDiv,rsCallbackGetTypeAheadSearchText:pbRSCallbackGetTypeAheadSearchText,rsCallbackGetTypeAheadSearchTextJSON:pbRSCallbackGetTypeAheadSearchTextJSON,processTypeAheadSearchOfJSONArray:pbProcessTypeAheadSearchOfJSONArray,scrollTypeaheadSelectionIntoViewIfNecessary:pbScrollTypeaheadSelectionIntoViewIfNecessary,updateTypeAheadBoxTimerFired:pbUpdateTypeAheadBoxTimerFired,handleTypeAheadTextBoxBlur:pbHandleTypeAheadTextBoxBlur,handleTypeAheadTextBoxFocus:pbHandleTypeAheadTextBoxFocus,handleTypeAheadTextBoxOnInput:pbHandleTypeAheadTextBoxOnInput,handleTypeAheadTextBoxKeyDown:pbHandleTypeAheadTextBoxKeyDown,simpleExplicitSelectionHandler:pbSimpleExplicitSelectionHandler,setInvalidTextClass:pbSetInvalidTextClass,PROTECTED:{selectTypeAheadItem:ptSelectTypeAheadItem,setFocusToTextField:ptSetFocusToTextField,removeTypeAheadSelectionOrHoverHighlight:ptRemoveTypeAheadSelectionOrHoverHighlight},TEST:{setSuppressHideDropdown:pvSetSuppressHideDropdown,findExactMatch:pvFindExactMatch,rememberTypeAheadConfigParamsForField:pvRememberTypeAheadConfigParamsForField,applyExactMatchIfRowMatches:pvApplyExactMatchIfRowMatches}}}();