123456 |
- // Licensed Materials - Property of IBM
- // IBM Cognos Products: hal
- // (C) Copyright IBM Corp. 2003, 2017.
- // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- function C_PropertySheet2(_hDJ, _hAS, _hLN1, _hGN, _hEJ){this._hKE2=document;this._hXN1=_hLN1;this._hJ9=_hAS.selectSingleNode("propertyConstraints");this._h5K1=new C_PropertySheet(null, _hAS, _hLN1);var a=["F_GetPropertySheetNode","F_GetObjectNamesThatSupportProperty","F_ObjectSupportsProperty","F_ObjectSupportsSubProperty","F_GetSubPropertiesNames","F_GetPropertyAttribute","F_GetObjectAttribute","F_IsMultiSelectProperty","F_GetLabel","F_OnAddNewGroupProperties","F_OnDeleteGroupProperties"];var _hBZ1=a.length;for(var i=0;i<_hBZ1;i++){this._hB01(this._h5K1, a[i]);}var a=["Groups","Objects"];var _hBZ1=a.length;for(var i=0;i<_hBZ1;i++){this[a[i]]=this._h5K1[a[i]];}var a=["F_ActivateProperty","F_GetActiveProperty","F_EndPropertyGroup"];var _hBZ1=a.length;for(var i=0;i<_hBZ1;i++){this[a[i]]=U_DOM.F_EmptyFunction;}this._hJN={};this._hCS={};this._hGJ={};var _hBZ1=this._h5K1.Groups.length;for(var i=0;i<_hBZ1;i++){var _h492=this._h5K1.Groups[i].Name;this._hGJ[_h492]=( this._h5K1.F_GetGroupAttribute( _h492, "collapsed" )=="true" );}this._hCU=G_ResManager.F_GetString("IDS_HAL_TV_EXPAND");this._hJK=G_ResManager.F_GetString("IDS_HAL_TV_COLLAPSE");this._hXO=null;this._h1H=true;this._hPC1(_hDJ);};C_PropertySheet2.prototype._hB01=function(o,_hM12){this[_hM12]=function(){ return o[_hM12].apply(o, arguments); };};C_PropertySheet2.prototype.F_Detach=function(){this.F_Clear();delete this._hKE2;delete this._hXN1;this._h5K1.F_Detach();delete this._h5K1;var _hRC1=this._hME2.parentNode;_hRC1.classList.remove("clsPropertySheet2Container");this._hME2.h_oPropertySheet=null;this._hME2.parentNode.removeChild(this._hME2);this._hHA2=null;this._hME2=null;};C_PropertySheet2.prototype.F_IsPropertyDisplayed=function(_h492){return(this._hJN[_h492]!==undefined);};C_PropertySheet2.prototype.F_IsPropertyEnabled=function(_h492){return(this._hC01(_h492)._hFU1!==false);};C_PropertySheet2.prototype.F_SetUpdate=function(b){this._hJ02=b;if(!b){this._h6K1=this._hME2.parentNode.scrollTop;this._hIA2();}};C_PropertySheet2.prototype.F_GetUpdate=function(){return this._hJ02;};C_PropertySheet2.prototype.F_GetPropertyValue=function(_h492){return this._hJN[_h492];};C_PropertySheet2.prototype.F_SetLocale=function(_h492,_hS12){if(_hS12){this._h2H(this._hC01(_h492)).setAttribute("lang", _hS12);}};C_PropertySheet2.prototype.F_ShowProperty=function(_h492,_h552){this._hJN[_h492]=_h552;if(this._h5K1.F_GetPropertyAttribute( _h492, "hide" )=="true" ){return;}if(this._hXO&&(this._h1H!=Boolean(this._hXO[_h492]))){return;}switch(this._h5K1._h162[_h492]){case "info":this._hFK(_h492, _h552);break;case "text":this._hGK(_h492, _h552);break;case "boolean":this._hVB( _h492,(typeof _h552=="boolean" )?( _h552?"true":"false" ):_h552 );break;case "dropDownList":this._h73(_h492, _h552);break;case "dropDown":this._hG9(_h492, _h552);break;case "action":this._hEE(_h492, _h552);break;case "colorAction":this._hW3(_h492, _h552);break;default:G_HAL.F_AlertError( "Unrecognized property type '" + this._h5K1._h162[_h492] + "' for property '" + _h492 + "'." );break;}};C_PropertySheet2.prototype._hFK=function(_h492,_h552){if(this._hJ02){this._hFE(_h492, _h552);}else{this._hUO(_h492, _h552);}};C_PropertySheet2.prototype._hGK=function(_h492,_h552){if(this._hJ02){this._hGE(_h492, _h552);}else{this._hVO(_h492, _h552);}};C_PropertySheet2.prototype._hVB=function(_h492,_h552){if(this._hJ02){this._hR7(_h492, _h552);}else{this._hHE(_h492, _h552);}};C_PropertySheet2.prototype._hG9=function(_h492,_h552){if(this._hJ02){this._hH5(_h492, _h552);}else{this._hWB(_h492, _h552);}};C_PropertySheet2.prototype._h73=function(_h492,_h552){var _h301=_h552;if(_h552){var _h7O1=this._h5K1._h7B(_h492, _h552);if(_h7O1){var _hOJ=( this._h5K1.F_GetPropertyAttribute( _h492, "ignoreValueCase" )=="true" );if(_h552&&( _h7O1.getAttribute( "multiSelect" )=="true" ) ){if(_h552.indexOf("\n")!=-1){_h301="(List)";}}var _hBO1=C_ListView.F_FindListItem(_h7O1, "value", _h552, _hOJ);if(_hBO1){_h301=C_ListView.F_GetListItemLabel(_hBO1);}}}if(this._hJ02){this._hP1(_h492, _h552, _h301);}else{this._hX3(_h492, _h552, _h301);}};C_PropertySheet2.prototype._hEE=function(_h492,_h552){if(this._hJ02){this._hH9(_h492, _h552);}else{this._hYG(_h492, _h552);}};C_PropertySheet2.prototype._hW3=function(_h492,_hW62){var _h301=this._hXN1.F_PropertySheet_GetColorLabel?this._hXN1.F_PropertySheet_GetColorLabel(this, _hW62):_hW62;if(this._hJ02){this._hD2(_h492, _hW62, _h301);}else{this._hI5(_h492, _hW62, _h301);}};C_PropertySheet2.prototype._hUO=function(_h492,_h552){this._hZG("info", _h492, _h552);this._hFE(_h492, _h552);};C_PropertySheet2.prototype._hFE=function(_h492,_h552,_hFU1){var _h7K1=this._hC01(_h492);_hFU1=_hFU1!==false;_h7K1._hFU1=_hFU1;var _h1O1=this._hKE(_h7K1);U_DOM.F_SetTextEnabled(_h1O1, _hFU1);var div=this._h2H(_h7K1);div.innerText=_h552;U_DOM.F_SetTextEnabled(div, _hFU1);div.title=_h552;};C_PropertySheet2.prototype._hVO=function(_h492,_h552){this._hZG("text", _h492, _h552);this._hGE(_h492, _h552);};C_PropertySheet2.prototype._hGE=function(_h492,_h552,_hFU1){var _h7K1=this._hC01(_h492);_h7K1._h6U=_h552;_hFU1=_hFU1!==false;_h7K1._hFU1=_hFU1;this._hYO(this._hKE(_h7K1), _hFU1);var div=this._h2H(_h7K1);div.innerText=_h552;U_DOM.F_SetTextEnabled(div, _hFU1);U_DOM.F_SetButtonEnabledFromButton(this._hK9(_h7K1), _hFU1, "hal/images/dotdotdot");};C_PropertySheet2.prototype._hWB=function(_h492,_h552){this._hZG("dropDown", _h492, _h552);this._hH5(_h492, _h552);};C_PropertySheet2.prototype._hH5=function(_h492,_h552,_hFU1){_hFU1=_hFU1!==false;var _h7K1=this._hC01(_h492);_h7K1._h6U=_h552;var _h1O1=_h7K1.firstChild;this._hYO((_h1O1.tagName=="IMG")?_h1O1.nextSibling:_h1O1, _hFU1, false);var _hZ62=this._hX12[_h492];_hZ62.F_SetEnabled(_hFU1);_hZ62.F_SetValue(_h552, null);};C_PropertySheet2.prototype._hHE=function(_h492,_h552){var tr=this._hZG("boolean", _h492);this._hR7(_h492, _h552);};C_PropertySheet2.prototype._hR7=function(_h492,_h552,_hFU1){_hFU1=_hFU1!==false;var _hCO1=this._h8K1[_h492];_hCO1.F_SetEnabled(_hFU1);var _hBO1=_hCO1.F_GetListViewNode().selectSingleNode("listItems/listItem");_hBO1.setAttribute("checked", _h552);_hCO1.F_UpdateCheckboxes();};C_PropertySheet2.prototype._hX3=function(_h492,_h552,_h301){this._hZG("dropDownList", _h492, _h552);this._hP1(_h492, _h552, _h301);};C_PropertySheet2.prototype._hP1=function(_h492,_h552,_h301,_hFU1){_hFU1=_hFU1!==false;var _h7K1=this._hC01(_h492);_h7K1._h6U=_h552;switch(_h7K1._h701){case "dropDownList_toolbar":this._hYO(_h7K1.lastChild.previousSibling, _hFU1, false);var _hMW1=this._hHQ1[_h492];this._hL9(_hMW1, _hMW1.F_GetToolbarNode(), _h552, _hFU1);return;case "dropDownList_listview_1checkbox":var _hCO1=this._h8K1[_h492];_hCO1.F_SetEnabled(_hFU1);var _h7O1=_hCO1.F_GetListViewNode();var _hBO1=_h7O1.selectSingleNode("listItems/listItem");var _hBV1=( _hBO1.getAttribute( "checked" )=="true" );if(_h552!=="true"&&_h552!=="false"){var _h052=_hBO1.getAttribute("label");_hBO1.setAttribute( "label", G_ResManager.F_GetString("IDS_HAL_PROPVAL_MULTIPLE", _h052, _h301));_hCO1.F_Draw();}else if (_hBO1.getAttribute("label") != _hBO1.getAttribute("originalLabel")){ _hBO1.setAttribute( "label", _hBO1.getAttribute("originalLabel"));_hCO1.F_Draw(); }if(_hBV1!=(_h552=="true")){_hBO1.setAttribute("checked", _h552);_hCO1.F_UpdateCheckboxes();}return;case "dropDownList_listview_checkbox":var _hWZ1=_h552.split("\n");var _hCO1=this._h8K1[_h492];_hCO1.F_GetContainer().parentElement.disabled=!_hFU1;_hCO1.F_SetEnabled(_hFU1);var nl=_hCO1.F_GetListItems();var _hY12=false;for(var i=0;i<nl.length;i++){var _hBO1=nl.item(i);var _hBV1=( _hBO1.getAttribute( "checked" )=="true" );if(_hBV1!=(_hWZ1.indexOf(_hBO1.getAttribute("value"))!=-1)){_hBO1.setAttribute( "checked", _hBV1?"false":"true" );_hY12=true;}}if(_hY12){_hCO1.F_UpdateCheckboxes();}return;case "dropDownList_listview_radio":var _hCO1=this._h8K1[_h492];_hCO1.F_GetContainer().parentElement.disabled=!_hFU1;_hCO1.F_SetEnabled(_hFU1);_hCO1.F_SelectByValue(_h552, false, false);return;case "dropDownList_listview_smallIcon":var _hCO1=this._h8K1[_h492];_hCO1.F_SetEnabled(_hFU1);_hCO1.F_SelectByValue(_h552, false, false);return;}var _hZ62=this._hX12[_h492];_hZ62.F_SetEnabled(_hFU1);var _hCO1=_hZ62.F_GetListView();var _hBO1=_hCO1.F_FindListItem("value", _h552);if(_hBO1){_hZ62.F_SetValueFromListItem(_hBO1);}else{_hZ62.F_SetValue(_h552, null, _h301);}};C_PropertySheet2.prototype._hYG=function(_h492,_h552){this._hZG("action", _h492, _h552);this._hH9(_h492, _h552);};C_PropertySheet2.prototype._hH9=function(_h492,_h552,_hFU1){var _h7K1=this._hC01(_h492);_hFU1=_hFU1!==false;_h7K1._hFU1=_hFU1;var rows=_h7K1.firstChild.rows;var cells=rows.item(0).cells;this._hYO(cells.item(0).lastChild, _hFU1);var cells=rows.item(1).cells;var div=cells.item(0).firstChild;div.innerText=_h552;U_DOM.F_SetTextEnabled(div, _hFU1);var btn=cells.item(1).firstChild;U_DOM.F_SetButtonEnabledFromButton(btn, _hFU1, "hal/images/dotdotdot");};C_PropertySheet2.prototype._hI5=function(_h492,_hW62,_h301){this._hZG("colorAction", _h492, _hW62);this._hD2(_h492, _hW62, _h301);};C_PropertySheet2.prototype._hD2=function(_h492,_hW62,_h301,_hFU1){var _h7K1=this._hC01(_h492);_hFU1=_hFU1!==false;_h7K1._hFU1=_hFU1;this._hYO(this._hKE(_h7K1), _hFU1);if(_h7K1._h701=="colorAction_popup"){var btn=this._h2H(_h7K1);U_DOM.F_SetButtonEnabledFromButton(btn, _hFU1, G_HAL.M_sImagePath+"dropdown_arrow");U_DOM.F_SetColorButtonColor(btn, _hW62, _h301);return;}var div=_h7K1.firstChild.rows.item(1).cells.item(0).firstChild;div.title=_h301||"";if(_h301==this._hIQ1){div.innerText=G_ResManager.F_GetString("IDS_PROPVAL_MULTIPLE");}else if(_hW62){try{div.style.backgroundColor=_hW62;return;}catch(e){}}div.style.backgroundColor="";};C_PropertySheet2.prototype.F_StartPropertyGroup=function(_h492){if(this._hJ02){return;}if(this._h5K1.F_GetGroupAttribute( _h492, "hide" )=="true" ){this._hZO=false;return;}this._hZO=true;this._hJ5=this._hGJ[_h492];this._hZ12=this._hKE2.createElement("TR");this._hZ12._h9K1=true;var _h022=this._hZ12.appendChild(this._hKE2.createElement("TD"));_h022._h0I1=_h492;_h022.className="clsPropertyGroupContainer";_h022._hAK1=true;_h022._h701="Group";var div=_h022.appendChild(this._hKE2.createElement("DIV"));div.className="clsPropertyGroup clsDialogText";var img=div.appendChild(this._hKE2.createElement("IMG"));img.style.height="12px";img.style.width="13px";img.style.verticalAlign="middle";img.style.marginRight="6px";this._hK5(_h022, !this._hJ5);div.appendChild(this._hKE2.createElement("SPAN")).innerText=this._h5K1.F_GetLabel(_h492);if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){_h022.setAttribute( "tabIndex", "0" );U_Accessibility.F_SetAriaStateAndProperty(_h022, "aria-expanded", !this._hJ5);}};C_PropertySheet2.prototype._hKK=function(){if(!this._hJ9){return;}var nl=this._hJ9.selectNodes("propertyEnabledConstraint");var _hBZ1=nl.length;for(var i=0;i<_hBZ1;i++){var _hR1=nl.item(i);var _h492=_hR1.getAttribute("name");var _hFU1=true;var _h122=_hR1.selectNodes("property");var _h961=_h122.length;for(var j=0;(j<_h961)&&_hFU1; j++){var _h3P1=_h122.item(j);var _h552=this._hJN[_h3P1.getAttribute("name")];var _hJQ1=_h3P1.getAttribute("booleanOperator");if(_hJQ1=="in"){_hFU1=false;var _hWZ1=U_XML.F_AppendValues(null, _h3P1.selectNodes("propertyValue/@value"));var _hLK=( _h552.indexOf( "\n" )==-1 )?[_h552]:_h552.split( "\n" );for(var k=0;k<_hLK.length;k++){if(_hWZ1.indexOf(_hLK[k])!=-1){_hFU1=true;break;}}}else if(_hJQ1=="exists"){_hFU1=Boolean(_h552);}else{var _h222=_hJQ1!="!=";var _hMK=_h3P1.getAttribute("value");_hFU1=_h222?(_h552==_hMK):(_h552!=_hMK);}}switch(this._h5K1._h162[_h492]){case "info":this._hFE(_h492, this._hJN[_h492], _hFU1);break;case "text":this._hGE(_h492, this._hJN[_h492], _hFU1);break;case "boolean":this._hR7(_h492, this._hJN[_h492], _hFU1);break;case "dropDownList":this._hP1(_h492, this._hJN[_h492], "" /*TODO: _h301 */, _hFU1);break;case "dropDown":this._hH5(_h492, this._hJN[_h492], _hFU1);break;case "action":this._hH9(_h492, this._hJN[_h492], _hFU1);break;case "colorAction":var _hW62=this._hJN[_h492];var _h301=this._hXN1.F_PropertySheet_GetColorLabel?this._hXN1.F_PropertySheet_GetColorLabel(this, _hW62):_hW62;this._hD2(_h492, this._hJN[_h492], _h301, _hFU1);break;}}};C_PropertySheet2.prototype.F_EndAllPropertyGroups=function(){if(!this._hJ02){this._hME2.parentNode.scrollTop=this._h6K1;}this._hKK();};C_PropertySheet2.prototype._hC01=function(_h492){return this._hME2.rows.item(this._hCS[_h492]).cells.item(0);};C_PropertySheet2.prototype.F_Clear=function(){this._h6K1=0;this._hIA2();};C_PropertySheet2.prototype._hIA2=function(){if(this._hHQ1){for(var _h492 in this._hHQ1){this._hHQ1[_h492].F_Detach();}}this._hHQ1={};if(this._hX12){for(var _h492 in this._hX12){this._hX12[_h492].F_Detach();}}this._hX12={};if(this._h8K1){for(var _h492 in this._h8K1){this._h8K1[_h492].F_Detach();}}this._h8K1={};this._hJN={};this._hCS={};U_DOM.F_DeleteTableRows(this._hME2);};C_PropertySheet2.prototype._hPC1=function(_hRC1){_hRC1.classList.add("clsPropertySheet2Container");this._hME2=_hRC1.appendChild(this._hKE2.createElement("TABLE"));this._hME2.cellPadding=0;this._hME2.cellSpacing=0;this._hME2.className="clsPropertySheet";this._hME2.style.backgroundColor="transparent";this._hME2.h_oPropertySheet=this;U_Accessibility.F_SetRoleForLayoutTable(this._hME2);this._hLB();this._hHA2=this._hME2.appendChild(this._hKE2.createElement("TBODY"));};C_PropertySheet2.prototype._hLB=function(){this._hME2[G_BrowserInfo.M_bIsPointerEnabled?"onpointerdown":"onmousedown"] =function(e){ return this.h_oPropertySheet._hP91(e); };this._hME2.ondblclick=function(e){ return this.h_oPropertySheet._hDJ1(e); };this._hME2.onclick=function(e){ return this.h_oPropertySheet._hT12(e); };};C_PropertySheet2.prototype.F_ShowListView=function(_h492,_h552,_h7O1,_hMZ1,_h852){var _hCO1=this._h04.F_GetListView();if(_hCO1.F_GetListViewNode()!=_h7O1){_hCO1.F_Clear();var _h0P=_hCO1.F_GetListViewNode().selectSingleNode("listItems");U_XML.F_AppendNodeList(_h0P, _h7O1.selectNodes("listItems/listItem"));}_hCO1.F_Draw();var _hNZ1="";if(_hMZ1){_hNZ1=_hMZ1+"px";}else{var _hBZ1=_hCO1.F_GetListItems().length;if(_hBZ1>16){_hNZ1="2in";}else if(_hBZ1>8){_hNZ1="1in";}}this._h04.F_SetDropDownHeight(_hNZ1);if(this._h04.F_GetValue()!=_h552){this._h04.F_SelectByValue(_h552);}};C_PropertySheet2.prototype.F_ComboBox_OnShowDropDown=function(_hIO1,_hCO1){if(!this._hXN1.F_PropertySheet_OnShowDropDown){return;}var tbl=_hIO1.F_GetContainer();var _h7K1=tbl.parentNode;var _h7O1=this._h5K1._h7B(_h7K1._h7Y, _h7K1._h6U);this._h04=_hIO1;this._hXN1.F_PropertySheet_OnShowDropDown(this, _h7K1._h7Y, _h7K1._h6U, _h7O1, _h7K1);};C_PropertySheet2.prototype.F_ComboBox_OnHideDropDown=function(_hIO1,_hCO1){delete this._h04;};C_PropertySheet2.prototype.F_ComboBox_OnChange=function(_hIO1,_hBO1){var _hS92=_hIO1.F_GetContainer().parentNode._h7Y;var _h552=_hBO1?_hBO1.getAttribute("value"):_hIO1.F_GetText();this._h5K1._hP41(_hS92, _h552);};C_PropertySheet2.prototype.F_ListView_OnItemClick=function(_hCO1,_hBO1,_hQ31){if(!this._hXN1.F_PropertySheet_OnPropertyChange){return;}var _h7K1=this._hL5(_hCO1.F_GetContainer());switch(_h7K1._h701){case "dropDownList_listview_1checkbox":var _h552=( _hBO1.getAttribute( "checked" )=="true" )?"false":"true";_hBO1.setAttribute("checked", _h552);_hCO1.F_UpdateCheckboxes();this._hXN1.F_PropertySheet_OnPropertyChange(this, _h7K1._h7Y, _h552);break;case "boolean":break;default:this._hXN1.F_PropertySheet_OnPropertyChange(this, _h7K1._h7Y, _hBO1.getAttribute("value"));}};C_PropertySheet2.prototype.F_ListView_OnCheckboxClick=function(_hCO1,_hBO1){var _h7K1=this._hL5(_hCO1.F_GetContainer());switch(_h7K1._h701){case "boolean":this._hXN1.F_PropertySheet_OnPropertyChange( this, _h7K1._h7Y,(_hBO1.getAttribute( "checked" )=="true" )?"true":"false" );break;case "dropDownList_listview_checkbox":var _hWZ1=U_XML.F_AppendValues(null, _hCO1.F_GetListViewNode().selectNodes("listItems/listItem[@checked='true']/@value"));var _h322;if(_hWZ1.length>0){_h322=_hWZ1.join("\n");}this._hXN1.F_PropertySheet_OnPropertyChange(this, _h7K1._h7Y, _h322);return;}return false;};C_PropertySheet2.prototype._h93=function(_h7O1){var _hBK1=U_XML.F_CreateDocument();var _hNW1=_hBK1.appendChild(_hBK1.createElement("toolbar"));var nl=_h7O1.selectNodes("listItems/listItem");var _hBZ1=nl.length;for(var i=0;i<_hBZ1;i++){var _hBO1=nl.item(i);var _hDU=_hNW1.appendChild(_hBK1.createElement("toolbarButton"));_hDU.setAttribute( "smallIcon", _hBO1.getAttribute( "smallIcon" ) );var _h552=_hBO1.getAttribute("value");_hDU.setAttribute("value", _h552);var _h052=_hBO1.getAttribute("idsLabel");if(_h052!=null){_hDU.setAttribute("idsTooltip", _h052);}_hDU.setAttribute("id", U_DOM.F_GetUniqueId());}return _hNW1;};C_PropertySheet2.prototype._hZ=function(_h7O1){var nl=_h7O1.selectNodes("listItems/listItem");var _hBZ1=nl.length;for(var i=0;i<_hBZ1;i++){var _hBO1=nl.item(i);var _h052=_hBO1.getAttribute("label");if(_h052){_hBO1.setAttribute("tooltip", _h052);_hBO1.removeAttribute("label");}var _h4P1=_hBO1.getAttribute("idsLabel");if(_h4P1){_hBO1.setAttribute("idsTooltip", _h4P1);_hBO1.removeAttribute("idsLabel");}}};C_PropertySheet2.prototype._hM5=function(_hR92,_h492,_h552,_h7K1){return false;};C_PropertySheet2.prototype._hZG=function(_hR92,_h492,_h552){if(this._hZ12){this._hHA2.appendChild(this._hZ12);this._hCS[this._hZ12.cells.item(0)._h0I1]=this._hZ12.rowIndex;delete this._hZ12;}var _h831="";if(this._hXN1.F_PropertySheet_GetPropertyDescription){_h831=this._hXN1.F_PropertySheet_GetPropertyDescription(this, _h492);}var _hCK1=this._hHA2.appendChild(this._hKE2.createElement("TR"));var _h7K1=_hCK1.appendChild(this._hKE2.createElement("TD"));_h7K1._hD01=true;_h7K1._h701=_hR92;_h7K1._h7Y=_h492;_h7K1.style.padding="2px 0px 4px " + ( this._hZO?"10px":"6px" );_h7K1.style.width="100%";this._hCS[_h492]=_hCK1.rowIndex;if(this._hJ5){_hCK1.style.display="none";}var _h422="1px solid #BBBBBB";var _h072="200";var _h172=_h072+"px";if(this._hM5(_hR92, _h492, _h552, _h7K1, _h831)){return _hCK1;}switch(_hR92){case "dropDown":var _h7O1=this._h5K1._h7B(_h492, _h552);this._h1P(_h492, _h7K1, _hR92);var _h1O1=this._hUC1(_h492, _h7K1, _h831);var tbl=_h7K1.appendChild(this._hKE2.createElement("TABLE"));tbl.style.border=_h422;tbl.style.width=_h172;tbl.style.marginTop="2px";tbl.id=this._hME2.parentNode.id+"_cboPropSheet_" + _h492;U_Accessibility.F_SetRoleForLayoutTable(tbl);var _hOW1=U_XML.F_CreateDocument();var _h272=_hOW1.appendChild(_hOW1.createElement("comboBox"));_h272.setAttribute( "type", "dropDown" );if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){tbl.setAttribute("aria-labelledby", _h1O1.uniqueID);}this._hX12[_h492]=new C_ComboBox(tbl, _h272, _h7O1, this);break;case "boolean":var _h7O1=this._h5K1._h7B(_h492, _h552);_h7O1.setAttribute( "view", "checkbox" );U_XML.F_RemoveNode(_h7O1, "listItems/listItem");var _hBO1=_h7O1.selectSingleNode("listItems/listItem");_hBO1.removeAttribute("idsLabel");var _h052=this._h5K1.F_GetLabel(_h492);_h052=this._hPW1(_h052, false);_hBO1.setAttribute("label", _h052);_hBO1.setAttribute("tooltip", _h831);var _hPG1=this._h5K1._h1B1[_h492];if(_hPG1){_hBO1.setAttribute("smallIcon", _hPG1);}var div=_h7K1.appendChild(this._hKE2.createElement("DIV"));div.style.width=_h172;this._h8K1[_h492]=new C_ListView(div, _h7O1, this);break;case "dropDownList":var _h7B1=this._h5K1.F_GetPropertyAttribute(_h492, "listView");var _hKQ1=( this._h5K1.F_GetPropertyAttribute( _h492, "isFinite" )=="true" );var _h7O1=this._h5K1._h7B(_h492, _h552, _hKQ1 /*populate*/);if ((_h7B1=="Boolean" )||( _h7B1=="ShowHide" ) ){_h7O1.setAttribute( "showCheckboxes", "true" );_h7O1.setAttribute( "selectable", "false" );_h7O1.setAttribute( "hotTracking", "false" );U_XML.F_RemoveNode(_h7O1, "listItems/listItem");var _hBO1=_h7O1.selectSingleNode("listItems/listItem");_hBO1.removeAttribute("idsLabel");var _h052=this._h5K1.F_GetLabel(_h492);_h052=this._hPW1(_h052, false);_hBO1.setAttribute("label", _h052);_hBO1.setAttribute("tooltip", _h831);_hBO1.setAttribute("originalLabel", _h052);var _hPG1=this._h5K1._h1B1[_h492];if(_hPG1){_hBO1.setAttribute("smallIcon", _hPG1);}var div=_h7K1.appendChild(this._hKE2.createElement("DIV"));div.style.width=_h172;this._h8K1[_h492]=new C_ListView(div, _h7O1, this);_h7K1._h701="dropDownList_listview_1checkbox";break;}var nl=_h7O1.selectNodes("listItems/listItem");var _hDK1=nl.length;if(_hKQ1 &&(_hDK1>0)&&(_hDK1<=8)&&!_h7O1.selectSingleNode("listItems/listItem[not(@smallIcon)]")){var _hNW1=this._h93(_h7O1, _h492);this._h1P(_h492, _h7K1, _hR92);var _h1O1=this._hUC1(_h492, _h7K1, _h831);var div=_h7K1.appendChild(this._hKE2.createElement("DIV"));div.className="clsDlgToolbar";if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){div.setAttribute("aria-labelledby", _h1O1.uniqueID);}this._hHQ1[_h492]=new C_Toolbar(div, _hNW1, this);_h7K1._h701="dropDownList_toolbar";break;}if(_hKQ1 &&(_hDK1>0)&&(_hDK1<=30)&&(!_h7O1.getAttribute("view"))&&( !( _h7O1.getAttribute( "smallIconWidth" )||_h7O1.getAttribute( "smallIconHeight" ) ) ) &&!_h7O1.selectSingleNode("listItems/listItem[not(@smallIcon)]")){this._h1P(_h492, _h7K1, _hR92);var _h1O1=this._hUC1(_h492, _h7K1, _h831);var div=_h7K1.appendChild(this._hKE2.createElement("DIV"));div.className="clsListView";div.style.width=_h172;div.style.border=_h422;_h7O1.setAttribute( "view", "smallIcon" );_h7O1.setAttribute( "classPrefix", "clsListItem_outline" );this._hZ(_h7O1);if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){div.setAttribute("aria-labelledby", _h1O1.uniqueID);}this._h8K1[_h492]=new C_ListView(div, _h7O1, this);_h7K1._h701="dropDownList_listview_smallIcon";break;}if(_hKQ1&&( _hDK1>0 )&&( _h7O1.getAttribute( "multiSelect" )=="true" ) ){var fs=_h7K1.appendChild(this._hKE2.createElement("FIELDSET"));fs.className="clsDialogText";fs.style.width=_h172;fs.style.border=_h422;var lg=fs.appendChild(this._hKE2.createElement("LEGEND"));this._h1P(_h492, lg, _hR92);lg.appendChild(this._hKE2.createElement("SPAN")).innerText=this._h5K1.F_GetLabel(_h492);lg.title=_h831;var div=fs.appendChild(this._hKE2.createElement("DIV"));if(_hDK1>20){div.style.width=(_h072-10)+"px";div.style.height="160px";div.style.overflow="auto";}_h7O1.setAttribute( "view", "checkbox" );_h7K1._h701="dropDownList_listview_checkbox";this._h8K1[_h492]=new C_ListView(div, _h7O1, this);break;}if(_hKQ1&&(_hDK1>0)&&(_hDK1<=6)){if(!((_hDK1==1)&&(_h7O1.selectSingleNode("listItems/listItem[1][@value='']")))){var fs=_h7K1.appendChild(this._hKE2.createElement("FIELDSET"));fs.className="clsDialogText";fs.style.width=_h172;fs.style.border=_h422;var lg=fs.appendChild(this._hKE2.createElement("LEGEND"));this._h1P(_h492, lg, _hR92);lg.appendChild(this._hKE2.createElement("SPAN")).innerText=this._h5K1.F_GetLabel(_h492);lg.title=_h831;var div=fs.appendChild(this._hKE2.createElement("DIV"));div.style.padding="4px";_h7O1.setAttribute( "view", "radio" );this._h8K1[_h492]=new C_ListView(div, _h7O1, this);_h7K1._h701="dropDownList_listview_radio";if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){div.setAttribute( "aria-label", G_ResManager.F_GetString("IDS_HAL_AC_PROPERTY_RADIOGROUP") );}break;}}this._h1P(_h492, _h7K1, _hR92);var _h1O1=this._hUC1(_h492, _h7K1, _h831);var tbl=_h7K1.appendChild(this._hKE2.createElement("TABLE"));tbl.style.backgroundColor="transparent";tbl.style.border=_h422;tbl.style.width=_h172;tbl.style.marginTop="2px";tbl.id=this._hME2.parentNode.id+"_cboPropSheet_" + _h492;U_Accessibility.F_SetRoleForLayoutTable(tbl);var _h272=null;if(!_h7O1.selectSingleNode("listItems/listItem[not(@smallIcon)]")&&_h7O1.selectSingleNode("listItems/listItem")){var _hOW1=U_XML.F_CreateDocument();_h272=_hOW1.appendChild(_hOW1.createElement("comboBox"));_h272.setAttribute( "showSmallIcon", "true" );var _hTM=_h7O1.getAttribute("smallIconWidth");if(_hTM){_h272.setAttribute("smallIconWidth", _hTM);}}if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){tbl.setAttribute("aria-labelledby", _h1O1.uniqueID);}this._hX12[_h492]=new C_ComboBox(tbl, _h272, _h7O1, this);break;case "action":case "colorAction":case "text":case "info":var tbl=_h7K1.appendChild(this._hKE2.createElement("TABLE"));tbl.cellPadding=0;tbl.cellSpacing=0;tbl.className="clsDialogText";U_Accessibility.F_SetRoleForLayoutTable(tbl);var tbody=tbl.appendChild(this._hKE2.createElement("TBODY"));var tr=tbody.appendChild(this._hKE2.createElement("TR"));var td=tr.appendChild(this._hKE2.createElement("TD"));td.colSpan=2;td.style.paddingBottom="2px";this._h1P(_h492, td, _hR92);var _h1O1=this._hUC1(_h492, td, _h831);if(_hR92!="info"){this._hYO(_h1O1, true, false);}var tr=tbody.appendChild(this._hKE2.createElement("TR"));var td=tr.appendChild(this._hKE2.createElement("TD"));if ((_hR92=="colorAction" )&&( this._h5K1.F_GetPropertyAttribute( _h492, "isPopup" )=="true" ) ){td.style.paddingBottom="4px";td.innerHTML ='<button class="clsColorButton" hideFocus="true" style="border:' + _h422 + ';' + '">' +'<table cellpadding="0" cellspacing="0" class="clsDialogText">' +'<tr>'+'<td>'+'<div style="width:' + ( _h072 - 20 ) + 'px"></div>' +'</td>'+'<td style="padding:0px 1px 0px 3px">' +'<img src="' + U_HighContrast.F_GetHighContrastImgIfNecessary( G_HAL.M_sImagePath + 'dropdown_arrow.gif' ) + '" style="height:3px; width:5px; vertical-align:middle" alt=""/>' +'</td>'+'</tr>'+'</table>'+'</button>';if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){td.firstChild.setAttribute("aria-labelledby", _h1O1.uniqueID);}_h7K1._h701="colorAction_popup";}else{var div=td.appendChild(this._hKE2.createElement("DIV"));div.className="clsStyleValue";div.style.border=_h422;div.style.width=(_h072-20)+"px";if(_hR92!="info"){div.style.cursor="pointer";}div.innerText=" ";if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){div.setAttribute( "tabIndex", "0" );div.setAttribute( "aria-labelledby", _h1O1.uniqueID + " " + div.uniqueID );}if(_hR92=="info"){break;}var td=tr.appendChild(this._hKE2.createElement("TD"));td.style.paddingLeft="2px";this._hS7(td);}break;}return _hCK1;};C_PropertySheet2._hC1=function(){ ((this.nodeName=="IMG" )?this.nextSibling:this ).className = "clsHyperlink_hover"; };C_PropertySheet2._hS1=function(){ ((this.nodeName=="IMG" )?this.nextSibling:this ).className = ""; };C_PropertySheet2._hD1 =function(){ this.className="clsDotDotDotButton clsListItem_hover"; };C_PropertySheet2._hT1 =function(){ this.className="clsDotDotDotButton"; };C_PropertySheet2.prototype._hPW1=function(_h052,_hA61){if(G_ResManager.F_GetLocale()!="de"){return _h052.replace(/[\s\-]([A-Z])[a-z]/g,function($0){ return $0.toLowerCase(); })+((_hA61!==false)?":":"");}else{return((_hA61!==false)?(_h052+":"):_h052);}};C_PropertySheet2.prototype._hKE=function(_h7K1){return _h7K1.firstChild.rows.item(0).cells.item(0).lastChild;};C_PropertySheet2.prototype._h2H=function(_h7K1){return _h7K1.firstChild.rows.item(1).cells.item(0).firstChild;};C_PropertySheet2.prototype._hK9=function(_h7K1){return _h7K1.firstChild.rows.item(1).cells.item(1).firstChild;};C_PropertySheet2.prototype._hYO=function(_h1O1,_hFU1,_hB61){_hB61=_hB61!==false;U_DOM.F_SetTextEnabled(_h1O1, _hFU1);_h1O1[G_BrowserInfo.M_bIsPointerEnabled?"onpointerover":"onmouseover"]=(_hFU1&&_hB61)?C_PropertySheet2._hC1:null;_h1O1[G_BrowserInfo.M_bIsPointerEnabled?"onpointerout":"onmouseout"]=(_hFU1&&_hB61)?C_PropertySheet2._hS1:null;var img=_h1O1.previousSibling;if(img&&(img.tagName=="IMG")){this._hYB(img, _hFU1);}if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){_h1O1.onfocus=(_hFU1&&_hB61)?C_PropertySheet2._hC1:null;_h1O1.onblur=(_hFU1&&_hB61)?C_PropertySheet2._hS1:null;}};C_PropertySheet2.prototype._hYB=function(img,_hFU1){img.style.cursor=_hFU1?"pointer":"default";img[G_BrowserInfo.M_bIsPointerEnabled?"onpointerover":"onmouseover"]=_hFU1?C_PropertySheet2._hC1:null;img[G_BrowserInfo.M_bIsPointerEnabled?"onpointerout":"onmouseout"]=_hFU1?C_PropertySheet2._hS1:null;};C_PropertySheet2.prototype._hUC1=function(_h492,el,_h831,_hA61){var _h052=this._h5K1.F_GetLabel(_h492);_h052=this._hPW1(_h052, _hA61);var _h1O1=el.appendChild(this._hKE2.createElement("SPAN"));_h1O1.innerText=_h052;_h1O1.title=_h831;return _h1O1;};C_PropertySheet2.prototype._h1P=function(_h492,el,_hR92){var _hPG1=this._h5K1._h1B1[_h492];if(_hPG1){var img=el.appendChild(this._hKE2.createElement("IMG"));img.className="clsImg16x16";img.src=G_HAL.F_GetImageURL(_hPG1);var _hNZ1=this._h5K1.F_GetPropertyAttribute(_h492, "smallIconHeight");img.style.height=(_hNZ1==null)?"16px":_hNZ1;var _h952=this._h5K1.F_GetPropertyAttribute(_h492, "smallIconWidth");img.style.width=(_h952==null)?"16px":_h952;img.style.verticalAlign="middle";img.style.marginRight="3px";}};C_PropertySheet2.prototype._hS7=function(_hEW1){var btn=_hEW1.appendChild(this._hKE2.createElement("BUTTON"));btn.className="clsDotDotDotButton";btn.hideFocus="true";btn[G_BrowserInfo.M_bIsPointerEnabled?"onpointerover":"onmouseover"]=C_PropertySheet2._hD1;btn[G_BrowserInfo.M_bIsPointerEnabled?"onpointerout":"onmouseout"]=C_PropertySheet2._hT1;var img=btn.appendChild(this._hKE2.createElement("IMG"));var _hIE=U_HighContrast.F_GetHighContrastImgIfNecessary(G_HAL.M_sImagePath+"dotdotdot.gif");img.src=_hIE;U_Button.F_InitButton(btn);if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){img.alt=btn.getAttribute( "aria-label" )||"";}};C_PropertySheet2.prototype._hL5=function(el){el=U_DOM.F_GetElementNotInShadowDom(el);for(;el&&(el!=this._hME2);el=el.parentNode){if((el.tagName=="TD")&&(el._hD01)||(el._hAK1)){return el;}}};C_PropertySheet2.prototype._hXB=function(_h022,_hAD2){var _h522=_h022.parentNode;var _hTJ1=this._hGJ[_h022._h0I1];var rows=this._hME2.rows;var _hPY=rows.length;var _hFW1=_hTJ1?"":"none";if(_hAD2){for(var i=0;i<_hPY;i++){var tr=rows.item(i);if(tr._h9K1){var td=tr.cells.item(0);this._hN5(td, td._h0I1, _hTJ1);}else{tr.style.display=_hFW1;}}var _hBZ1=this._h5K1.Groups.length;for(var i=0;i<_hBZ1;i++){this._hGJ[this._h5K1.Groups[i].Name]=!_hTJ1;}}else{for(var i=_h522.rowIndex+1;i<_hPY;i++){var tr=rows.item(i);if(tr._h9K1){break;}tr.style.display=_hFW1;}this._hN5(_h022, _h022._h0I1, _hTJ1);}};C_PropertySheet2.prototype._hN5=function(_h022,_h0I1,_hTJ1){if(_h022){this._hK5(_h022, _hTJ1);}if(_hTJ1){delete this._hGJ[_h022._h0I1];}else{this._hGJ[_h022._h0I1]=true;}if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){U_Accessibility.F_SetAriaStateAndProperty(_h022, "aria-expanded", _hTJ1);}};C_PropertySheet2.prototype._hK5=function(_h022,_hTJ1){var img=_h022.firstChild.firstChild;img.src=G_HAL.M_sImagePath+(_hTJ1?"PropertyGroupExpanded.gif":"PropertyGroupCollapsed.gif");img.title=_hTJ1?this._hJK:this._hCU;};C_PropertySheet2.prototype._hP91=function(e){if(G_HAL.M_oTestListener&&G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnMouseDown){G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnMouseDown(e, this);}var _h692=e.target;var _h7K1=this._hL5(_h692);if(_h7K1){switch(_h7K1._h701){case "Group":if(_h7K1.firstChild.contains(_h692)){this._hXB(_h7K1, e.shiftKey);}break;}}e.stopPropagation();};C_PropertySheet2.prototype._hT12=function(e){if(G_HAL.M_oTestListener&&G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnClick){G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnClick(e, this);}var _h692=e.target;var _h7K1=this._hL5(_h692);if(_h7K1){if(_h7K1._hFU1===false){return;}switch(_h7K1._h701){case "text":if ((_h692.tagName=="BUTTON" )||( _h692.tagName=="IMG" )||_h692.classList.contains( "clsHyperlink_hover" )||_h692.classList.contains( "clsStyleValue" )||_h692.classList.contains( "clsDlgButtonInner" ) ){this._h3H=_h7K1._h7Y;var _hX42=this._h5K1.F_GetLabel(_h7K1._h7Y);D_InputBox.F_SetMultiline( this._h5K1.F_GetPropertyAttribute( _h7K1._h7Y, "multiLine" )=="true" );D_InputBox.F_Show(null, "", _hX42, _h7K1._h6U, this);}break;case "action":if ((_h692.tagName=="BUTTON" )||( _h692.tagName=="IMG" )||_h692.classList.contains( "clsHyperlink_hover" )||_h692.classList.contains( "clsStyleValue" )||_h692.classList.contains( "clsDlgButtonInner" ) ){this._hXN1.F_PropertySheet_OnPropertyAction(this, _h7K1._h7Y, null, false);}break;case "colorAction_popup":if ((_h692.tagName=="BUTTON" )||_h692.classList.contains( "clsColorButtonDIV_normal" ) ){this._hXN1.F_PropertySheet_OnPropertyAction(this, _h7K1._h7Y, _h692, true);break;}case "colorAction":if ((_h692.tagName=="BUTTON" )||( _h692.tagName=="IMG" )||_h692.classList.contains( "clsHyperlink_hover" )||_h692.classList.contains( "clsStyleValue" ) ){this._hXN1.F_PropertySheet_OnPropertyAction(this, _h7K1._h7Y, null, false);}break;default:this._h14(e, _h7K1._h7Y, _h7K1._h701);}}};C_PropertySheet2.prototype._h14=function(e,_h7Y,_h701){};C_PropertySheet2.prototype._hDJ1=function(e){if(G_HAL.M_oTestListener&&G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnDblClick){G_HAL.M_oTestListener.F_TestListener_PropertySheet2OnDblClick(e, this);}var _h692=e.target;var _h7K1=this._hL5(_h692);if(!_h7K1){return;}if(_h7K1._h701=="Group"){return;}switch(_h7K1._h701){case "Group":if(_h7K1.firstChild.contains(_h692)){this._hXB(_h7K1, e.shiftKey);}break;}};C_PropertySheet2.prototype.F_Dialog_OnCommit=function(_h402){switch(_h402){case D_InputBox:this._h5K1._hP41(this._h3H, D_InputBox.F_GetText());break;}};C_PropertySheet2.prototype.F_Toolbar_OnButtonPress=function(_hMW1,_hLQ1){var _hNW1=_hMW1.F_GetToolbarNode();var _hDU=_hNW1.selectSingleNode( "toolbarButton[@id=" + _hLQ1.F_ToXPathString() + "]" );var div=_hMW1.F_GetContainer();var _hS92=div.parentNode._h7Y;var _h552=_hDU.getAttribute("value");this._hL9(_hMW1, _hNW1, _h552);this._hXN1.F_PropertySheet_OnPropertyChange(this, _hS92, _h552);};C_PropertySheet2.prototype._hL9=function(_hMW1,_hNW1,_h552,_hFU1){_hFU1=_hFU1!==false;var nl=_hNW1.selectNodes("toolbarButton");var _hBZ1=nl.length;for(var i=0;i<_hBZ1;i++){var _hDU=nl.item(i);var _hMQ1=_hDU.getAttribute("id");_hMW1.F_ToggleButton(_hMQ1, _hDU.getAttribute("value")==_h552);_hMW1.F_SetButtonEnabled(_hMQ1, _hFU1);}};C_PropertySheet2.prototype.F_OnKeyDown=function(e){if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){this._hQ1(e);return;}switch(e.keyCode){case U_DOM.K_iKeyTab:U_DOM.F_CancelEvent(e);break;}};C_PropertySheet2.prototype.F_OnKeyPress=function(e){if(G_HAL.M_oLibraries["hal"]["enableAccessibility"]){return;}switch(e.keyCode){case U_DOM.K_iKeyEnter:break;}};C_PropertySheet2.prototype.F_SetPropertyFilter=function(o,_hOE2){this._hXO=o;this._h1H=_hOE2;};C_PropertySheet2.prototype.F_GetPropertyFilter=function(){return this._hXO;};C_PropertySheet2.prototype._hQ1=function(e){if(!G_HAL.M_oLibraries["hal"]["enableAccessibility"]){return;}var _h692=e.target;var _h7K1=this._hL5(_h692);switch(e.keyCode){case U_DOM.K_iKeySpace:case U_DOM.K_iKeyEnter:if(_h7K1&&_h7K1._h701=="Group"){this._hXB(_h7K1, e.shiftKey);U_DOM.F_CancelEvent(e);}else if(_h692.nodeName!="BUTTON"){this._hT12(e);U_DOM.F_CancelEvent(e);}break;}};
|