profoundjs 7.22.1 → 7.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/htdocs/profoundui/proddata/css/profoundai.css +39 -9
- package/htdocs/profoundui/proddata/css/profoundui.css +20 -1
- package/htdocs/profoundui/proddata/js/atrium.js +500 -509
- package/htdocs/profoundui/proddata/js/atrium_api.js +6 -6
- package/htdocs/profoundui/proddata/js/designer.js +4937 -5056
- package/htdocs/profoundui/proddata/js/genie.js +3142 -3225
- package/htdocs/profoundui/proddata/js/profoundai.js +34 -31
- package/htdocs/profoundui/proddata/js/runtime.js +1867 -1898
- package/htdocs/profoundui/proddata/js/signon.js +102 -107
- package/index.js +1 -0
- package/package.json +2 -2
- package/profound.jse +1 -1
- package/setup/call.js +2 -0
- package/setup/completeInstall.js +3 -1
- package/setup/convertStartJS.js +2 -2
- package/setup/pjsdist.savf +0 -0
- package/setup/plugins/mathoperation.js +75 -79
- package/setup/start.js +3 -2
- package/setup/store_credentials.js +2 -0
- package/setup/store_options.js +2 -0
|
@@ -1,111 +1,106 @@
|
|
|
1
|
-
window.pui||(window.pui={});window.pui.baseVersion="6";window.pui.fixPackVersion="33.0";window.pui.version=window.pui.baseVersion+"."+window.pui.fixPackVersion;function b(c){this.onready=this.onfail=this.onsuccess=this.cacheBuster=this.suppressAlert=this.password=this.user=this.async=this.url=this.reqData=this.postData=this.method=null;this.headers={};this.params=null;this.sendAsBinary
|
|
2
|
-
c;if(window.XMLHttpRequest)a=new XMLHttpRequest;else if(window.
|
|
3
|
-
h.onfail(h)
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
if(
|
|
13
|
-
window.
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
d
|
|
20
|
-
pui.
|
|
21
|
-
function
|
|
22
|
-
|
|
23
|
-
pui.
|
|
24
|
-
|
|
25
|
-
pui.
|
|
26
|
-
|
|
27
|
-
pui.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
pui.
|
|
31
|
-
fetch("/auto-testing/
|
|
32
|
-
|
|
33
|
-
pui.
|
|
34
|
-
pui.
|
|
35
|
-
|
|
36
|
-
pui.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
pui.
|
|
44
|
-
function
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
if(
|
|
52
|
-
|
|
53
|
-
pui.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
d
|
|
57
|
-
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
pui.
|
|
66
|
-
pui.
|
|
67
|
-
pui.
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
pui.
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
pui.
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
pui.
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
pui.
|
|
103
|
-
pui.
|
|
104
|
-
pui.Xc=function(){if(!(typeof S!=="undefined"&&S.pjsServer)){var c=O(),a=document.getElementById("change-form"),d=a.elements["change-user"].value,e=a.elements["change-current"].value,f=a.elements["change-new"].value,g=a.elements["change-confirm"].value,h=document.getElementById("change-message");h.innerHTML="";if(L(d)==""){h.innerHTML=passMessages["user required"];a.elements["change-user"].focus();return false}else if(L(e)==""){h.innerHTML=passMessages["current required"];a.elements["change-current"].focus();
|
|
105
|
-
return false}else if(L(f)==""){h.innerHTML=passMessages["new required"];a.elements["change-new"].focus();return false}else if(L(g)==""){h.innerHTML=passMessages["confirm required"];a.elements["change-confirm"].focus();return false}else if(f!=g){h.innerHTML=passMessages["must match"];a.elements["change-new"].focus();return false}g=new pui.Ajax("/profoundui/pui0005011.pgm");g.async=true;g.method="POST";g.params={};g.params.user=d;g.params.current=e;g.params["new"]=f;g.suppressAlert=true;g.onready=function(j){if(j.X()!=
|
|
106
|
-
200){h.innerHTML="HTTP "+j.X()+" - "+j.jb()+".";a.elements["change-user"].focus()}else{var k;try{k=eval("("+j.W()+")");if(typeof k.success!="boolean")throw Error("Invalid response format: 'success' is not a boolean.");if(!k.success&&typeof k.error!="string")throw Error("Invalid response format: 'error' is not a string.");}catch(i){k={};k.success=false;k.error="The server response is missing or invalid."}if(k.success==false){h.innerHTML=k.error;a.elements["change-user"].focus()}else{pui.alert(passMessages.success);
|
|
107
|
-
pui.ma(function(){var l=new pui.Ajax("/profoundui/pui0005010.pgm");l.async=true;l.method="POST";pui.setReqAuth(l,d,f);l.suppressAlert=true;l.onready=function(n){if(n.X()==200){if(typeof c.next!="undefined")location.href=c.next}else{pui.alert("HTTP "+n.X()+" - "+n.jb()+".");a.elements["change-user"].focus()}};l.send()})}}};g.send();return false}};
|
|
108
|
-
pui.setReqAuth=function(c,a,d){var e=navigator.userAgent.indexOf("Edge")!=-1,f=!e&&navigator.userAgent.indexOf("Chrome")!=-1;e=!e&&navigator.userAgent.indexOf("Safari")!=-1&&!f;var g=navigator.userAgent.indexOf("Firefox")!=-1;if(e||f||g){c.user=encodeURIComponent(a);c.password=encodeURIComponent(d)}else{c.user=a;c.password=d}};window.pui.passInit=pui.Wd;window.pui.passCancel=pui.Vd;window.pui.changePass=pui.Xc;function T(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="This will end your session.";a["no connection message"]="Unable to reach server. Check your connection and try again.";a["upload file limit"]="Limit of &1 file(s) exceeded.";a["upload size limit"]="Limit of &1MB per file exceeded";a["upload no files"]="No files selected.";a["upload duplicate file"]="Duplicate files selected.";a["upload file exists"]="One or more files already exist on the file system.";a["upload prevented"]="Operation prevented by exit program.";
|
|
1
|
+
window.pui||(window.pui={});window.pui.baseVersion="6";window.pui.fixPackVersion="33.0";window.pui.version=window.pui.baseVersion+"."+window.pui.fixPackVersion;function b(c){this.onready=this.onfail=this.onsuccess=this.cacheBuster=this.suppressAlert=this.password=this.user=this.async=this.url=this.reqData=this.postData=this.method=null;this.headers={};this.params=null;this.sendAsBinary=!0;var a=this.overrideMimeType=null,d=null,e=null,f=null,g="undefined"!=typeof pui&&"undefined"!=typeof pui.alert?pui.alert:alert,h=this;b.defaultHeaders&&(this.headers=b.defaultHeaders);if("object"==typeof c)for(var l in c)"undefined"!=typeof this[l]&&(this[l]=c[l]);else this.url=
|
|
2
|
+
c;if(window.XMLHttpRequest)a=new XMLHttpRequest;else if(window.ActiveXObject)a=new ActiveXObject("Microsoft.XMLHTTP");else{g("Ajax request error: Unsupported browser.");return}this.send=this.send=function(){function m(){if(4==a.readyState){d=0===a.status?F?"Request aborted.":"Request failed. Check the browser console for more details.":a.status+" - "+a.statusText;if(null!=h.onready)h.onready(h);if(200==a.status){if(e=!0,null!=h.onsuccess)h.onsuccess(h)}else if(e=!1,1!=h.suppressAlert&&g(d),null!=
|
|
3
|
+
h.onfail)h.onfail(h);f=!1}}var k,n=null,q=null,p=null;if(null==h.method)n="GET";else if("string"==typeof h.method||"GET"==h.method.toUpperCase()&&"POST"==h.method.toUpperCase()&&"PUT"==h.method.toUpperCase()&&"DELETE"==h.method.toUpperCase())n=h.method.toUpperCase();else{g('Invalid value for property: "method".');return}if("POST"==n||"PUT"==n||"DELETE"==n)if(null!=h.reqData?p=h.reqData:null!=h.postData&&(p=h.postData),null!=p){if("string"!=typeof p){g('Invalid value for property: "postData".');return}}else p=
|
|
4
|
+
"";if(null==h.async)q=!0;else{if(1!=h.async&&0!=h.async){g('Invalid value for property: "async".');return}q=h.async}if("string"!=typeof h.url)g('Invalid value for property: "url".');else if(null!=h.user&&"string"!=typeof h.user)g('Invalid value for property: "user".');else if(null!=h.password&&"string"!=typeof h.password)g('Invalid value for property: "password".');else if(null!=h.onsuccess&&"function"!=typeof h.onsuccess)g('Invalid value for event: "onsuccess".');else if(null!=h.onfail&&"function"!=
|
|
5
|
+
typeof h.onfail)g('Invalid value for event: "onfail".');else if(null!=h.onready&&"function"!=typeof h.onready)g('Invalid value for event: "onready".');else{var r=!0;if(null!=p)for(k in h.headers)"CONTENT-TYPE"==k.toUpperCase()&&-1==h.headers[k].toLowerCase().indexOf("www-form-urlencoded")&&(r=!1);var t=h.url,v=h.params;if("object"==typeof v){var u="";for(k in v){var z=v[k],B=[];"object"==typeof z?null!=z.length&&0<z.length&&(B=z):B.push(z);for(z=0;z<B.length;z++)""!=u&&(u+="&"),u+=encodeURIComponent(k)+
|
|
6
|
+
"="+encodeURIComponent(B[z])}""!=u&&(!r||"POST"!=n&&"PUT"!=n&&"DELETE"!=n?(r=t.split("?"),t=2==r.length&&""!=r[1]?r[0]+"?"+r[1]+"&"+u:t+("?"+u)):p=(null!=p&&""!=p?p+"&":"")+u)}"GET"!==n||null!==h.cacheBuster&&!0!==h.cacheBuster||(t=pui.addUrlCacheBuster(t));try{"string"==typeof h.user&&"string"==typeof h.password?a.open(n,t,q,h.user,h.password):a.open(n,t,q);t=!1;var E=h.headers;for(k in E)a.setRequestHeader(k,E[k]),"CONTENT-TYPE"==k.toUpperCase()&&(t=!0);if("POST"==n||"PUT"==n||"DELETE"==n)t||a.setRequestHeader("Content-type",
|
|
7
|
+
"application/x-www-form-urlencoded");"string"==typeof h.overrideMimeType&&"function"==typeof a.overrideMimeType&&a.overrideMimeType(h.overrideMimeType)}catch(G){g(G);return}f=!0;var F=!1;1==q&&(a.onload=m,a.onerror=m,a.onabort=function(){F=!0;m()});if(1==h.sendAsBinary)try{a.sendAsBinary(p)}catch(G){a.send(p)}else a.send(p);1!=q&&m()}};this.ok=this.ok=function(){return null!=e?e:!1};this.getResponseText=this.ja=function(){return a.responseText};this.getResponseXML=this.pc=function(){return a.responseXML};
|
|
8
|
+
this.getStatus=this.ka=function(){return a.status};this.getStatusText=this.wb=function(){return a.statusText};this.getStatusMessage=this.vb=function(){return d};this.getAllResponseHeaders=this.getAllResponseHeaders=function(){if(e)try{return a.getAllResponseHeaders()}catch(m){g(m)}};this.getResponseHeader=this.getResponseHeader=function(m){if(e)try{return a.getResponseHeader(m)}catch(k){g(k)}};this.setRequestHeader=this.setRequestHeader=function(m,k){h.headers[m]=k};this.abort=this.abort=function(){if(!0===
|
|
9
|
+
f)try{a.abort()}catch(m){g(m)}}}function K(c,a){var d="";if(1==arguments.length&&"object"==typeof arguments[0]){var e=arguments[0];e.async=null;e.onsuccess=null;if("function"==typeof e.handler){var f=!0;var g=e.handler}else f=!1}else null!=a&&"function"==typeof a?(f=!0,g=a):f=!1;e=new b(arguments[0]);e.async=f;e.onsuccess=function(h){d+=h.ja();1==f&&g(d)};e.send();if(0==f)return d}
|
|
10
|
+
function M(c,a){var d=null,e=!1;if(1==arguments.length&&"object"==typeof arguments[0]){var f=arguments[0];f.async=null;f.onsuccess=null;1==f.saveResponse&&(e=!0);if("function"==typeof f.handler){var g=!0;var h=f.handler}else g=!1}else null!=a&&"function"==typeof a?(g=!0,h=a):g=!1;f=new b(arguments[0]);f.async=g;f.onsuccess=function(l){l=l.ja();e&&"object"==typeof pui&&(pui.savedJSON=l);try{d=eval("("+l+")")}catch(m){h(null,m);return}1==g&&h(d)};f.send();if(0==g)return d}
|
|
11
|
+
"undefined"==typeof window.pui&&(window.pui={});window.RPGspRequest=b;window.pui.Ajax=b;window.pui.AjaxRequest=b;window.ajax=K;
|
|
12
|
+
window.ajaxXML=function(c,a){var d=null;if(1==arguments.length&&"object"==typeof arguments[0]){var e=arguments[0];e.async=null;e.onsuccess=null;e.onfail=null;e.onsuccess=null;if("function"==typeof e.handler){var f=!0;var g=e.handler}else f=!1}else null!=a&&"function"==typeof a?(f=!0,g=a):f=!1;e=new b(arguments[0]);e.async=f;e.onsuccess=function(h){d=h.pc();1==f&&g(d)};e.send();if(0==f)return d};window.ajaxJSON=M;
|
|
13
|
+
window.ajaxSubmit=function(c,a){var d="",e="undefined"!=typeof pui&&"undefined"!=typeof pui.alert?pui.alert:alert;if("object"==typeof c)var f=c;else f=document.getElementById(c),null==f&&(f=document.forms[c]);if(null!=f)var g=f.tagName;if(null==f||null==g||"FORM"!=g.toUpperCase())return e("Ajax request error: Invalid form object."),"";if(""==c.action)return e("Ajax request error: Invalid form action."),"";for(c=0;c<f.elements.length;c++)if(e=f.elements[c],null!=e.name&&""!=e.name){g=!1;if("INPUT"==
|
|
14
|
+
e.tagName){var h=e.type;h=h.toLowerCase();"hidden"==h&&(g=!0);"password"==h&&(g=!0);"text"==h&&(g=!0);pui.gf(h)&&(g=!0);""==h&&(g=!0);("checkbox"==h||"radio"==h)&&e.checked&&(g=!0)}"TEXTAREA"==e.tagName&&(g=!0);"SELECT"==e.tagName&&(g=!0);g&&(""!=d&&(d+="&"),d+=e.name+"="+encodeURIComponent(e.value))}f=new b(f.action);f.method="POST";f.postData=d;var l="";if(null!=a&&"function"==typeof a)var m=!0;else m=!1,f.async=!1;f.onsuccess=function(k){l+=k.ja();1==m&&a(l)};f.send();if(0==m)return l};"undefined"==typeof window.pui&&(window.pui={});
|
|
15
|
+
function aa(){if(null==document.getElementById("PCCommandApplet")){var c=document.createElement("applet");c.id="PCCommandApplet";c.archive="/profoundui/proddata/applet/PCIntegration.jar";c.code="com.profoundlogic.genie.PCIntegration";c.style.height="0px";c.style.width="0px";if("function"==typeof eval("runCommandCb")){var a=document.createElement("param");a.setAttribute("name","callback");a.setAttribute("value","runCommandCb");c.appendChild(a)}document.body.appendChild(c)}}
|
|
16
|
+
window.copyToClipboardCb=function(){copyToClipboardCb(pui.gd);pui.gd=null};function ba(c){c=null!=c&&"object"==typeof c?c:document.getElementById(c);if(null==c)return"";var a="";"div"==c.tagName.toLowerCase()&&(a=c.firstChild,a=null!=a&&null!=a.tagName&&"A"==a.tagName?a.innerHTML:c.innerHTML);if("INPUT"==c.tagName&&"checkbox"==c.type)return!0===c.indeterminate?c.indeterminateValue:c.checked&&null!=c.nb?c.nb:c.checked||null==c.Ce?c.checked:c.Ce;if("INPUT"==c.tagName&&"radio"==c.type)return c.checked;"TEXTAREA"==c.tagName?a=c.value:"INPUT"==c.tagName?a=c.value:"SELECT"==c.tagName&&
|
|
17
|
+
(a=c.selectedIndex,a=0<=a?c.options[a].value:c.O&&c.O.Wa&&c.O.Wa.value?c.O.Wa.value:c.value);null!=c.Ha&&(a=c.Ha.getValue());null!=c.Ja&&(a=c.Ja.getValue());null!=c.xe&&(a=c.xe.getValue());null!=c.slider&&(a=String(c.value));null!=c.Ea&&(a="",c.Ea.Xd&&null!=c.Ea.de?a=c.Ea.de:c.Ea.Xd||null==c.Ea.be||(a=c.Ea.be));c.O&&c.O.Ob&&"function"===typeof c.O.Ob.getPropertyValue&&(a=c.O.Ob.getPropertyValue("value"));for(a=a.replace(/ /g," ");-1!=a.indexOf(String.fromCharCode(160));)a=a.replace(String.fromCharCode(160),
|
|
18
|
+
" ");a==c.emptyText&&(a="");return a}function ca(c){if("string"!==typeof c)return c;for(;" "==c.charAt(0);)c=c.replace(c.charAt(0),"");return c}function N(c){return"string"!==typeof c?c:c.replace(/^\s*|\s*$/g,"")}pui.detachCalendar=function(c){"string"==typeof c&&(c=document.getElementById(c));null!=c&&pui.pf(c)};
|
|
19
|
+
function O(c,a,d){var e=!1,f=location.href;f=f.split("?")[0];f=f.split("/");2<f.length&&"auth"==f[f.length-2].toLowerCase()&&(e=!0);f="/profoundui/";var g="PUI0009101.PGM PUI0009102.PGM PUI0009103.PGM PUI0009104.PGM PUI0009107.PGM PUI0009109.PGM PUI0009110.PGM PUI0009119.PGM".split(" ");"string"===typeof pui.widgetURLPrefix&&-1!=g.indexOf(c.toUpperCase())&&(f=pui.widgetURLPrefix,"/"!=f.substr(f.length-1)&&(f+="/"));if(1==e||1==d)f+="auth/";f+=c;null!=a&&1==a&&(f+="/"+PSID);null!=pui.serverURL&&(f=
|
|
20
|
+
pui.serverURL+f);return f}pui.getProgramURL=O;pui.cf=function(c){return pui.oc(c).x};pui.df=function(c){return pui.oc(c).y};
|
|
21
|
+
pui.oc=function(c){c=c||window.event;var a={x:0,y:0};null!=c&&null!=c.touches&&1==c.touches.length?(a.x=c.touches[0].pageX,a.y=c.touches[0].pageY):null!=c&&(c.pageX?a.x=c.pageX:c.clientX&&(a.x=c.clientX+(document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)),c.pageY?a.y=c.pageY:c.clientY&&(a.y=c.clientY+(document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)));return a};
|
|
22
|
+
function P(){var c={};var a=location.search.substring(1,location.search.length);if(0==a.length)return c;a=a.replace(/\+/g," ");a=a.split("&");for(var d=0;d<a.length;d++){var e=a[d].split("="),f=decodeURIComponent(e[0]),g="";2==e.length&&(g=decodeURIComponent(e[1]));c[f]=g}return c}"undefined"!=typeof applyDesignProperty&&(window.Ne=applyDesignProperty);
|
|
23
|
+
pui.Ub={encode:function(c){for(var a="",d=0;d<c.length;d++){var e=c.codePointAt(d);65535<e&&d++;128>e?a+=String.fromCharCode(e):(2048>e?a+=String.fromCharCode(e>>6|192):(65536>e?a+=String.fromCharCode(e>>12|224):(a+=String.fromCharCode(e>>18|240),a+=String.fromCharCode(e>>12&63|128)),a+=String.fromCharCode(e>>6&63|128)),a+=String.fromCharCode(e&63|128))}return a},decode:function(c){for(var a="",d=0,e,f,g,h;d<c.length;)e=c.charCodeAt(d),128>e?(a+=String.fromCharCode(e),d++):224>e?(f=c.charCodeAt(d+
|
|
24
|
+
1),a+=String.fromCharCode((e&31)<<6|f&63),d+=2):240>e?(f=c.charCodeAt(d+1),g=c.charCodeAt(d+2),a+=String.fromCharCode((e&15)<<12|(f&63)<<6|g&63),d+=3):(f=c.charCodeAt(d+1),g=c.charCodeAt(d+2),h=c.charCodeAt(d+3),a+=String.fromCodePoint((e&7)<<18|(f&63)<<12|(g&63)<<6|h&63),d+=4);return a}};
|
|
25
|
+
pui.G={ia:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",encode:function(c){var a="",d=0;for(c=pui.Ub.encode(c);d<c.length;){var e=c.charCodeAt(d++);var f=c.charCodeAt(d++);var g=c.charCodeAt(d++);var h=e>>2;e=(e&3)<<4|f>>4;var l=(f&15)<<2|g>>6;var m=g&63;isNaN(f)?l=m=64:isNaN(g)&&(m=64);a=a+this.ia.charAt(h)+this.ia.charAt(e)+this.ia.charAt(l)+this.ia.charAt(m)}return a},decode:function(c){var a="",d=0;for(c=c.replace(/[^A-Za-z0-9+/=]/g,"");d<c.length;){var e=this.ia.indexOf(c.charAt(d++));
|
|
26
|
+
var f=this.ia.indexOf(c.charAt(d++));var g=this.ia.indexOf(c.charAt(d++));var h=this.ia.indexOf(c.charAt(d++));e=e<<2|f>>4;f=(f&15)<<4|g>>2;var l=(g&3)<<6|h;a+=String.fromCharCode(e);64!=g&&(a+=String.fromCharCode(f));64!=h&&(a+=String.fromCharCode(l))}return a=pui.Ub.decode(a)}};
|
|
27
|
+
pui.downloadJSON=function(){if(pui.nf)pui.saveRecording();else if(null==pui.savedJSON)pui.alert("JSON is not available.");else{var c=pui.savedJSON;if("object"===typeof JSON&&"function"===typeof JSON.parse&&"function"===typeof JSON.stringify)try{c=JSON.stringify(JSON.parse(pui.savedJSON),null," ")}catch(a){}pui.Md("text/plain","json.txt",c)}};
|
|
28
|
+
pui.saveRecording=function(c){for(var a=null,d=0;d<pui.ea.payloads.length;d++)!a&&pui.ea.responses[d].ra&&(a=pui.ea.responses[d].ra.Af),pui.ea.payloads[d].response=pui.ea.responses[d];var e=P().testid;(d=e)||(d=prompt("Enter recording name"));if(d)if(pui.pjsServer)0===pui.ea.payloads.length?pui.alert("No recording to save."):(a={id:e,appuser:a,payloads:pui.ea.payloads},d={"Content-Type":"application/json"},sessionStorage["atrium-token"]&&(d.Authorization="Basic "+sessionStorage["atrium-token"]),fetch("/auto-testing/save-recording",
|
|
29
|
+
{method:"POST",headers:d,body:JSON.stringify(a)}).then(function(g){g.ok?(window.parent&&window.parent.Atrium&&window.parent.Atrium.api&&"function"===typeof window.parent.Atrium.api.reloadNavParent&&window.parent.Atrium.api.reloadNavParent("test-"+e),pui.ea={payloads:[],responses:[]},"function"===typeof c?c():pui.alert("Recording saved.")):pui.alert("Failed to save recording.")})["catch"](function(g){pui.alert("Error: Unable to save recording.");console.error("Fetch error:",g)}));else{a=JSON.stringify({user:a,
|
|
30
|
+
payloads:pui.ea.payloads});var f=d;f.endsWith(".json")||(f+=".json");pui["recording path"]?(d=[],d.push({name:"path",value:pui["recording path"]+f}),d.push({name:"text",value:"1"}),d.push({name:"replace",value:"Y"}),d.push({name:"json",value:a,fileName:f}),a=new pui.Ke,a.Le(d),d=O("PUI0001109.pgm"),d=d.replace("/auth",""),a.send(d,function(g){var h;200!=g.ka()&&(h=g.vb());h||(g=eval("("+g.ja()+")"),g.success||(h=g.errorText));h?pui.alert(h):(pui.alert("Recording saved."),pui.ea={payloads:[],responses:[]})})):
|
|
31
|
+
pui.Md("text/plain",f,a)}};pui.clearRecording=function(c){var a=P().testid;if(pui.pjsServer){a={id:a};var d={"Content-Type":"application/json"};sessionStorage["atrium-token"]&&(d.Authorization="Basic "+sessionStorage["atrium-token"]);fetch("/auto-testing/clear-recording",{method:"POST",headers:d,body:JSON.stringify(a)}).then(function(e){"function"===typeof c&&c(e)})["catch"](function(e){"function"===typeof c&&c(null,e)})}else"function"===typeof c&&c()};
|
|
32
|
+
pui.keepAlive=function(){if("genie"!=context||1!=pui.v.Ta){if("dspf"==context)var c=null==pui.v?O("PUI0001200.pgm"):O("PUI0002110.pgm");else if("genie"==context)c=window.DOCUMENT_URI;else return!1;null!=pui.Hb&&""!=pui.Hb&&(c+="/"+pui.Hb);if(null!=pui.overrideSubmitUrl&&"function"==typeof pui.overrideSubmitUrl)try{c=pui.overrideSubmitUrl(c)}catch(d){}"genie"==context&&pui.Kc(pui.v.Ta=!0);"dspf"==context&&(pui.Kb=!1);pui.uf();var a={keepalive:"1"};pui.isCloud&&(a.workspace_id=pui.md.Ie.id);K({url:pui.Me(c),
|
|
33
|
+
method:"post",params:a,sendAsBinary:!1,suppressAlert:!0,handler:function(){pui.Vd();"genie"==context&&pui.Kc(pui.v.Ta=!1);"dspf"==context&&(pui.Kb=!0);for(var d=0;d<pui.yb.length;d++)pui.yb[d].unMask()},onfail:function(d){null!=pui.onoffline||pui["suppress comm errors"]||pui.alert(pui.ef(d));pui.Vd();"genie"==context&&pui.Kc(pui.v.Ta=!1);"dspf"==context&&(pui.Kb=!0);for(d=0;d<pui.yb.length;d++)pui.yb[d].unMask();if(null!=pui.onoffline)pui.onoffline()}});return!0}};
|
|
34
|
+
pui.getWindowSize=function(){if(document.body&&document.body.offsetWidth){var c=document.body.offsetWidth;var a=document.body.offsetHeight}"CSS1Compat"==document.compatMode&&document.documentElement&&document.documentElement.offsetWidth&&(c=document.documentElement.offsetWidth,a=document.documentElement.offsetHeight);window.innerWidth&&window.innerHeight&&(c=window.innerWidth,a=window.innerHeight);window.visualViewport&&window.visualViewport.width&&window.visualViewport.height&&(c=window.visualViewport.width,
|
|
35
|
+
a=window.visualViewport.height);document.documentElement&&document.documentElement.clientWidth&&(c=document.documentElement.clientWidth,a=document.documentElement.clientHeight);null==c&&null!=screen&&(c=screen.width);null==a&&null!=screen&&(a=screen.height);null==c&&(c=800);null==a&&(a=600);return{width:c,height:a}};pui.openURL=function(c){window.open(c)};
|
|
36
|
+
pui.Eb=function(c){return null==c||"string"!=typeof c?"":"http:"==c.substr(0,5).toLowerCase()||"https:"==c.substr(0,6).toLowerCase()||"data:"==c.substr(0,5).toLowerCase()?c:null!=pui.serverURL?pui.serverURL+c:window.cordova&&"/"==c.substr(0,1)?c.substr(1):c};
|
|
37
|
+
pui.animate=function(c){var a=c.element;"string"==typeof a&&(a=document.getElementById(a));if(null!=a){var d=c.effect;if("fly in left"==d||"fly in right"==d||"fly out left"==d||"fly out right"==d)var e="left";else if("fly in up"==d||"fly in down"==d||"fly out up"==d||"fly out down"==d)e="top";else if("fade in"==d||"fade out"==d)e="opacity";else if(e=c.properties,null==e&&(e=c.property,null==e))return;"string"==typeof e&&(e=[e]);var f=c.duration;null==f&&(f="500ms");"s"!=f.substr(f.length-1,1)&&(f+=
|
|
38
|
+
"s");var g=1E3*parseInt(f);2<f.length&&"ms"==f.substr(f.length-2,2)&&(g=parseInt(f));var h=c.type;null==h&&(h="ease");var l=c.from,m=c.to;switch(d){case "fly in right":l=-a.offsetWidth;l+="px";m="0px";break;case "fly in left":l=a.offsetWidth;l+="px";m="0px";break;case "fly out left":m=-a.offsetWidth;m+="px";l="0px";break;case "fly out right":m=a.offsetWidth;m+="px";l="0px";break;case "fly out down":m=a.offsetHeight;m+="px";l="0px";break;case "fly out up":m=-a.offsetHeight;m+="px";l="0px";break;case "fly in up":l=
|
|
39
|
+
a.offsetHeight;l+="px";m="0px";break;case "fly in down":l=-a.offsetHeight;l+="px";m="0px";break;case "fade in":l="0";m="100";break;case "fade out":l="100",m="0"}if(null!=m){var k="";for(d=0;d<e.length;d++){var n=e[d];""!=k&&(k+=", ");k+=n+" "+f+" "+h}var q=["transition","MozTransition","WebkitTransition","msTransition","OTransition"];if(null!=l){if("string"==typeof l||"number"==typeof l)l=[l];for(d=0;d<e.length;d++)n=e[d],a.style[n]=l[d]}setTimeout(function(){for(var p=0;p<q.length;p++)a.style[q[p]]=
|
|
40
|
+
k;setTimeout(function(){if("string"==typeof m||"number"==typeof m)m=[m];for(var r=0;r<e.length;r++)a.style[e[r]]=m[r];setTimeout(function(){for(var t=0;t<q.length;t++)a.style[q[t]]="";if(null!=c.oncomplete)c.oncomplete()},g)},1)},1)}}};pui.getActiveElement=function(){return"genie"==context?lastActiveElement:pui.activeElement};pui.fieldExit=function(c){var a=pui.getActiveElement();if(null!=a){var d=!1;null!=c&&(d=!0);"genie"==context?fieldExit(a,d):pui.Ye(a)}};pui.gotoNextElement=function(c){Q(c,!0)};
|
|
41
|
+
pui.gotoPreviousElement=function(c){Q(c,!1)};
|
|
42
|
+
function Q(c,a){a=a?1:-1;var d=document.querySelectorAll("INPUT,SELECT,TEXTAREA"),e=d.length;if(!(2>e)){c=Array.prototype.indexOf.call(d,c);for(var f=c+a,g;f!==c;)if(f===e)f=0;else if(-1===f)f=e-1;else{var h=g=d[f];null!=g&&null!=g.Ha&&(h=g.Ha.getBox());null!=g&&null!=g.Ja&&(h=g.Ja.getBox());if(h.readOnly||h.disabled||"hidden"===h.style.visibility||"-1"===h.tabIndex||!h.clientHeight||!h.clientWidth)f+=a;else{try{h.focus();if(document.activeElement!=h){f+=a;continue}setTimeout(function(){pui["highlight on focus"]&&
|
|
43
|
+
"function"==typeof h.select&&h.select();pui.rf(null,h)},0)}catch(l){}break}}}}pui.showCalendar=function(c){var a=c;"string"==typeof c&&(a=document.getElementById(c));if(null!=a&&"object"==typeof a){var d=a.Pe;null!=d&&(null!=d.click&&"function"==typeof d.click?d.click():null!=d.onclick&&"function"==typeof d.onclick&&setTimeout(function(){d.onclick()},250))}};pui.getComputedStyle=function(c){var a=null;window.getComputedStyle?a=window.getComputedStyle(c):c.currentStyle&&(a=c.currentStyle);return a};
|
|
44
|
+
pui.upload=function(c,a){var d,e=c.dir,f=!0===c.overwrite,g;"number"==typeof c.slimit&&(g=c.slimit);var h;"number"==typeof c.flimit&&(h=c.flimit);var l="";"string"==typeof c.altname&&(l=c.altname);var m;typeof c.allowedTypes&&c.allowedTypes instanceof Array&&(m=c.allowedTypes);null==h&&(h=c.files.length);if(null==g||null==m){var k=[];for(d=0;d<c.files.length;d++){var n=c.files[d];var q="undefined"!=typeof n.type&&""!=n.type?n.type:"application/octet-stream";-1==pui.Oe(k,q)&&k.push(q);n=n.data&&n.data instanceof
|
|
45
|
+
ArrayBuffer?n.data.byteLength:n.size;n=Math.ceil(n/1048576);if(null==p||n>p)var p=n}null==g&&(g=p);null==m&&(m=k)}p=O("PUI0009109.PGM");p+="?AUTH="+encodeURIComponent(pui.Fb?pui.Fb:pui.appJob.auth);"widget"!==c.mode&&(p+="&mode=ajax");c.id&&(p+="&id="+encodeURIComponent(c.id));p+="&r="+Math.floor(1E9*Math.random());pui.isCloud&&(p+="&workspace_id="+pui.md.Ie.id);k=new FormData;k.append("dir",e);k.append("overwrite",f?"1":"0");k.append("flimit",h);k.append("slimit",g);k.append("altname",l);"string"==
|
|
46
|
+
typeof c.generateNames&&k.append("generateNames",c.generateNames);for(d=0;d<m.length;d++)k.append("type",m[d]);for(d=0;d<c.files.length;d++){n=c.files[d];if(n.data&&n.data instanceof ArrayBuffer){try{var r=new Blob([n.data])}catch(v){e=new window.WebKitBlobBuilder,e.append(n.data),r=e.getBlob()}k.append("file",r)}else k.append("file",n);k.append("filename",n.name)}var t=new XMLHttpRequest;t.open("POST",p,!0);t.onreadystatechange=function(){if(4==t.readyState){var v=!0;if(200==t.status){try{var u=
|
|
47
|
+
eval("("+t.responseText+")")}catch(B){v=!1;var z="Server response missing or invalid."}u&&(v=u.success,v||(u.key?(z=pui.getLanguageText("runtimeMsg","upload "+u.key),"file limit"==u.key&&(z=z.replace("&1",h)),"size limit"==u.key&&(z=z.replace("&1",g))):z=u.error))}else v=!1,z=t.status+" - "+t.statusText+".",0==t.status&&""==t.statusText&&(z="The FILE could not be found in the system.");"function"==typeof a&&a(v,z)}};"function"==typeof c.onabort&&(t.onabort=c.onabort);"function"==typeof c.onprogress&&
|
|
48
|
+
"upload"in t&&(t.upload.onprogress=c.onprogress);"function"==typeof c.onload&&(t.onload=c.onload);t.send(k);return t};pui.getCookie=function(c){var a=document.cookie.split(";"),d="",e;for(e=0;e<a.length;e++){var f=a[e].split("=");var g=f[0].replace(/^\s+|\s+$/g,"");if(g==c)return 1<f.length&&(d=unescape(f[1].replace(/^\s+|\s+$/g,""))),d}return null};
|
|
49
|
+
pui.setCookie=function(c,a,d,e,f,g,h){var l=new Date;l.setTime(l.getTime());d&&(d*=864E5);l=new Date(l.getTime()+d);document.cookie=c+"="+escape(a)+(d?";expires="+l.toGMTString():"")+(e?";path="+e:"")+(f?";domain="+f:"")+(g?";secure":"")+(h?";SameSite="+h:"")};pui.deleteCookie=function(c,a,d,e,f){pui.getCookie(c)&&(document.cookie=c+"="+(a?";path="+a:"")+(d?";domain="+d:"")+";expires=Thu, 01-Jan-1970 00:00:01 GMT"+(e?";Secure":"")+(f?";SameSite="+f:""))};
|
|
50
|
+
pui.refresh=function(c){null==c&&(c={});var a=c.url;c=c.skin;pui.setCookie("puiRefreshId",pui.Hb,null,"/",null,null,"Strict");pui.vf=!0;pui.ue=!1;pui.od=!1;if(null!=c){c="skin="+encodeURIComponent(c);a=window.location.href;var d=a.split("?");a=d[0];d=d[1];null==d&&(d="");d=d.split("&");for(var e=!1,f=0;f<d.length;f++)5<=d[f].length&&"skin="==d[f].substr(0,5).toLowerCase()&&(d[f]=c,e=!0);e||(1==d.length&&""==d[0]?d[0]=c:d.push(c));d=d.join("&");a=a+"?"+d}null!=a?window.location.href=a:window.location.reload()};
|
|
51
|
+
pui.downloadURL=function(c){if(null==pui||null==pui.appJob||null==pui.appJob.auth||""==pui.appJob.auth)return pui.is_ie?"":"data:text/html,<!DOCTYPE html><html><body><p>To download, please connect to a Profound UI session.</p></body></html>";var a=!0===c.inline;if(null==c.id)return"";var d=O("PUI0009110.PGM");d+="?id="+encodeURIComponent(c.id);null!=c.contentType&&(d+="&type="+encodeURIComponent(c.contentType));a&&(d+="&inline=1");d=d+"&usehttprc=0&AUTH="+encodeURIComponent(pui.Fb?pui.Fb:pui.appJob.auth);
|
|
52
|
+
return d+="&r="+Math.floor(1E9*Math.random())};pui.download=function(c){var a=pui.downloadURL(c);c=!0===c.inline;if(null==pui||null==pui.appJob||null==pui.appJob.auth||""==pui.appJob.auth)c=!0;c?pui.openURL(a):pui.link(a)};
|
|
53
|
+
pui.downloadFile=function(c){if("undefined"===typeof c||null==c||"string"!==typeof c.id||1>c.id.length)pui.alert("Error downloading file. \n\n No file path given",null,"Error","Close");else{var a=pui.downloadURL(c),d=c.id,e=new XMLHttpRequest;e.responseType="blob";e.open("GET",a,!0);e.send();var f=null,g=null,h=null,l=null;e.onprogress=function(m){var k=pui.extractFileNameFromContentDisposition(e.getResponseHeader("Content-Disposition"));if(d.split("/").pop()==k||"error.txt"!=k)"undefined"===typeof e.onprogress.diaglogShown&&
|
|
54
|
+
(e.onprogress.diaglogShown=!0,f=document.createElement("dialog"),document.body.appendChild(f),g=document.createElement("p"),f.appendChild(g),h=document.createElement("button"),h.innerHTML="OK",h.onclick=function(){f.close();f.remove()},l=document.createElement("button"),l.innerHTML="Cancel",l.id="cancelButton",l.onclick=function(){e.abort();f.close();f.remove()},f.appendChild(l),g.innerHTML="Downloading file: "+d+"<br> Starting download...",f.showModal(),e.onprogress.lastTime=Date.now()),Date.now()>
|
|
55
|
+
e.onprogress.lastTime+2E3&&(g.innerHTML="Downloading file: "+d+"<br>"+m.type+" "+(m.loaded/1048576).toFixed(4)+" mb loaded",e.onprogress.lastTime=Date.now())};e.onloadend=function(){null!=f&&(f.querySelector("button[id='cancelButton']").remove(),f.appendChild(h),g.innerHTML="File "+d+" downloaded successfully.")};e.onreadystatechange=function(){if(4==e.readyState&&200==e.status){var m=pui.extractFileNameFromContentDisposition(e.getResponseHeader("Content-Disposition"));if(d.split("/").pop()!=m&&"error.txt"==
|
|
56
|
+
m){var k=new FileReader;k.onload=function(){pui.alert("Error downloading file: "+d+"\n\n"+k.result,null,"Error","Close");console.log(k.result)};k.readAsText(e.response)}else{var n=null;if("string"===typeof c.contentType&&0<c.contentType.length)n=c.contentType;else if(n=e.getResponseHeader("Content-Type").split(";")[0],"string"===typeof n&&"application/octet-stream"==n){var q=m.split(".").pop();if("string"===typeof q)switch(q.toLowerCase()){case "pdf":n="application/pdf";break;case "txt":n="text/plain";
|
|
57
|
+
break;case "csv":n="text/csv";break;case "json":n="application/json";break;case "xml":n="application/xml";break;case "html":n="text/html";break;case "htm":n="text/html";break;case "jpg":n="image/jpeg";break;case "jpeg":n="image/jpeg";break;case "png":n="image/png";break;case "gif":n="image/gif"}}q="application/pdf text/plain text/csv application/json application/xml text/html image/jpeg image/png image/gif".split(" ");var p=new File([e.response],m,{type:n});p=URL.createObjectURL(p);var r=document.createElement("a");
|
|
58
|
+
"boolean"===typeof c.inline&&c.inline&&q.includes(n)?r.target="_blank":r.download=m;r.name=m;r.href=p;document.body.appendChild(r);r.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,view:window}));document.body.removeChild(r)}}}}};pui.extractFileNameFromContentDisposition=function(c){c=/filename[^;=\n]*=((['"]).*?\2|[^;\n]*)/.exec(c);return null!=c&&c[1]?c[1].replace(/['"]/g,""):null};
|
|
59
|
+
pui.focusOnContainer=function(){window.parent!=window&&pui.He(window.parent)&&window.parent.ae||setTimeout(function(){null==pui.S&&(pui.S=document.createElement("input"),pui.S.type=pui.is_touch?"button":"text",pui.S.readOnly=!0,pui.S.style.position="absolute",pui.S.style.left="-999px",pui.S.style.top="-999px",pui.S.style.width="10px",pui.S.style.borderStyle="none",pui.S.style.backgroundColor="transparent",pui.Dc&&pui.Dc.appendChild(pui.S));pui.Wd=!0;pui.S.focus();setTimeout(function(){pui.Wd=!1},
|
|
60
|
+
0)},1)};pui.addCSS=function(c){var a=document.getElementsByTagName("head")[0],d=document.createElement("style");d.type="text/css";pui.is_old_ie?d.styleSheet.cssText=c:d.innerHTML=c;a.appendChild(d)};pui.loadCSS=function(c){if(null!=pui.Rd(c))return!1;var a=document.getElementsByTagName("head")[0],d=document.createElement("link");d.setAttribute("rel","stylesheet");d.setAttribute("type","text/css");d.setAttribute("media","screen");d.setAttribute("href",pui.Eb(c));a.appendChild(d);return!0};
|
|
61
|
+
pui.removeCSS=function(c){var a=document.getElementsByTagName("head")[0],d=pui.Rd(c);if(null==d){d=a.getElementsByTagName("style");for(var e=0;e<d.length;e++){var f=d[e];if(f.innerHTML==c||null!=f.styleSheet&&f.styleSheet.cssText==c)return a.removeChild(f),!0}return!1}a.removeChild(d);return!0};
|
|
62
|
+
pui.loadJS=function(c){if(null==c)return null;var a;"string"==typeof c&&(a=c);if("object"==typeof c){a=c.path;var d=c.callback;var e=c.onerror;var f=c.test;if(null!=f&&"function"==typeof f&&1==f())return!1}if(null==a)return null;if(null!=pui.ff(pui.Eb(a)))return!1;c=document.getElementsByTagName("head")[0];var g=!1,h=document.createElement("script");h.type="text/javascript";h.onreadystatechange=function(){"complete"!=h.readyState&&"loaded"!=h.readyState||null!=f&&"function"==typeof f&&1!=f()||(g||
|
|
63
|
+
null==d||d(),g=!0)};h.onload=function(){if(null==f||"function"!=typeof f||1==f())g||null==d||d(),g=!0};e&&(h.onerror=e);h.src=pui.Eb(a);c.appendChild(h);return!0};
|
|
64
|
+
pui.endOfSession=function(c){pui.od=!1;pui.ue=!1;if(null!=window.puiMobileClient)window.location.href="index.html",null!=c&&pui.alert(c);else{var a=P().gobackto;null!=a&&(document.body.innerHTML="",null!=c&&pui.alert(c),location.href=a);null!=navigator.app&&null!=navigator.app.exitApp&&(document.body.innerHTML="",null!=c?pui.alert(c,function(){navigator.app.exitApp()}):navigator.app.exitApp())}};
|
|
65
|
+
pui.addUrlCacheBuster=function(c,a){var d=Date.now();if("string"===typeof a&&"get"!==a.toLowerCase())return c;/[&?]r=[^&]+/.test(c)?c=c.replace(/([&?]r=)[^&]+/,function(e,f){return f+d}):(a=-1==c.indexOf("?")?"?":"&",c=c+a+"r="+d);return c};
|
|
66
|
+
pui.alert=function(c,a,d,e){window.cordova&&"iOS"==window.device.platform&&null==a&&null==d&&null==e?window.alert(c):null!=window.navigator&&null!=window.navigator.notification&&null!=window.navigator.notification.alert?null==a&&null==d&&null==e&&null!=window.puiMobileClient&&null!=window.puiMobileClient.alert?window.puiMobileClient.alert(c):(null==a&&(a=function(){}),null==d&&(d="Profound UI"),null==e&&(e="OK"),window.navigator.notification.alert(c,a,d,e)):pui.hf&&window.parent&&window.parent!=window&&
|
|
67
|
+
pui.He(window.parent)&&window.parent.ae?console.log("Suppressed alert: "+c):alert(c)};pui.applyProperty=function(c,a,d){return window.applyProperty(c,a,d)};pui.get=function(c){return N(ba(c))};
|
|
68
|
+
pui.set=function(c,a){c="object"==typeof c?c:document.getElementById(c);if(null!=c){if("DIV"==c.tagName)null!=c.slider?c.slider.setValue(a):null!=c.Ha?c.Ha.setValue(a):null!=c.Ja?c.Ja.setValue(a):c.button&&c.button.Ae?c.button.Ae.innerHTML=a:c.O&&c.O.Ob?applyProperty(c,"value",a):c.innerHTML=a;else if("INPUT"==c.tagName||"SELECT"==c.tagName||"TEXTAREA"==c.tagName)"INPUT"==c.tagName&&"checkbox"==c.type?c.checked="boolean"==typeof a?a:null!=c.nb&&a==c.nb?!0:!1:("genie"==context&&a!=c.value&&pui.v.lf(c),
|
|
69
|
+
c.value=a,null!=c.hd&&(c.hd.value=a));if("dspf"==context||pui.De&&null==c.sb){c.modified=!0;pui.zf(c);var d=c.Bf;null!=c.id&&-1==c.id.indexOf(".")&&null!=c.Ad&&(pui.Ve[c.Ad]=!0);null!=d&&(d.hide(),d.Ze=!0,pui.qf(c,d.bf()))}"genie"==context&&null!=c.sb&&null!=c.sb.idx&&(pui.response[c.sb.idx]=c);pui.Qe(c);c.O&&c.O.Wa&&(c.O.Wa.value=a)}};
|
|
70
|
+
pui.getActiveContainer=function(){if("genie"==context){for(var c=1,a=document.getElementById("window"+c);a;){var d=document.getElementById("window"+ ++c);if(d)a=d;else break}if(a)return a}else if("dspf"==context&&pui.Yd)return pui.Yd;return pui.Dc};pui.getDisplayType=function(){return pui.De?"5250-handler":"dspf"==context?"rdf":"5250"};
|
|
71
|
+
function R(c){function a(){if(!(n>=k.length)){r=k[n].command;t=k[n].wait;n+=1;if("function"==typeof pui.onPCCommand)try{var u=pui.onPCCommand(r,t);if(null==u||1==u){setTimeout(a,0);return}}catch(B){showFailureMessage(r)}p="?cmd="+encodeURIComponent(r)+"&wait="+(t?"1":"0");if(1==h||2==h)l?(v.params.cmd=r,v.params.sign=1,v.params.hashalg="string"===typeof pui["pccmd hash sign algorithm"]?pui["pccmd hash sign algorithm"].toUpperCase():"SHA-512",v.handler=f,M(v)):d("");else if(3==h)v.params.cmd=r,v.handler=
|
|
72
|
+
e,M(v);else{if(0==n&&0<k.length){u=[];for(var z=0;z<k.length;z++)u.push("("+k[z].Te+")");r=u.join(" && ")}try{m.runCommand(r)}catch(B){u='Unable to execute "'+r+'".\n\n',null!=B&&(u+=B.name+":\n\n"+B.message+"."),alert(u)}}}}function d(u){if(2==h){var z=new Image;z.onload=a;z.onerror=function(){console.log("PC Command Listener image mode failure.");g(r)};z.src=q+p+"&type=image&rnd="+String(Math.random())+String((new Date).getTime())+u}else{u=new pui.Ajax(q+p+u);u.method="GET";u.async=t?!1:!0;u.suppressAlert=
|
|
73
|
+
!0;u.onfail=function(B){200!=B.ka()&&(console.log("PC Command Listener comm. failure: "+B.vb()),g(r))};u.onsuccess=function(B){try{var E=JSON.parse(B.ja());if(!E.success&&"string"===typeof E.error){console.log("PC Command Listener failure.",E.error);g(r);return}}catch(F){}a()};try{u.send()}catch(B){console.log("PC Command Listener failure.",B),g(r)}}}function e(u,z){try{if(z)throw z;if(null==u)throw Error("Empty response from PCCMD crypt program.");if(null!=u.error||"string"===typeof u.error&&0<u.error.length)throw Error("PCCMD crypt error: "+
|
|
74
|
+
String(u.error));if("string"!==typeof u.cmd||0==u.cmd.length)throw Error("PCCMD crypt response was missing a command.");var B="puilaunch:"+encodeURIComponent(u.cmd),E=document.createElement("iframe");E.style.display="none";E.src=B;document.body.appendChild(E);setTimeout(function(){null!=E&&null!=E.parentNode&&document.body.removeChild(E);E=null;a()},5E3)}catch(F){console.log(F)}}function f(u,z){try{if(z)throw z;if("object"!==typeof u||null===u)throw Error("Empty response");if(!0!==u.success)throw"string"===
|
|
75
|
+
typeof u.error&&0<u.error.length?u.error:"Unknown error";z="";"string"===typeof u.sig&&0<u.sig.length&&(z="&sig="+encodeURIComponent(u.sig));d(z)}catch(B){console.log(B),g(r)}}function g(u){console.log("Command: "+u);u=pui.getLanguageText("runtimeMsg","pccommand error");!1!==pui["alert pccommand errors"]?alert(u):console.log(u);console.log("Visit https://docs.profoundlogic.com/x/aQFK for more information on supporting STRPCCMD.")}var h=1,l=!1;pui["use pc listener"]&&(h=1);null!=window.HTTPS&&"ON"==
|
|
76
|
+
window.HTTPS&&1==h&&(h=2);pui["pc listener mode"]&&(h=parseInt(pui["pc listener mode"]));if("string"==typeof pui["pc command mode"])switch(pui["pc command mode"]){case "applet":h=0;break;case "listener":case "listener_m1":h=1;break;case "listener_m1s":h=1;l=!0;break;case "listener_m2":h=2;break;case "listener_m2s":h=2;l=!0;break;case "launcher":h=3;break;default:h=1,console.log("Unsupported pc command mode:",pui["pc command mode"])}if(0==h){var m=document.getElementById("PCCommandApplet");if(!m){pui.Yb=
|
|
77
|
+
c;aa();return}}var k=[],n=0;k="string"==typeof c?[{command:c,wait:!1}]:c;c=parseInt(pui["pc listener port"],10);isNaN(c)&&(c="80");var q="http://localhost:"+c+"/",p="",r,t,v={url:O("PUI0009117.pgm"),method:"post",params:{auth:pui.appJob&&pui.appJob.auth?pui.appJob.auth:""},async:!0};a()}window.runCommandCb=function(){R(pui.Yb);pui.Yb=null};pui.runPCCommand=R;
|
|
78
|
+
pui.isServerBusy=function(){if("undefined"==typeof context)return!1;if("dspf"==context&&!1===pui.Kb||"genie"==context&&!0===pui.v.Ta)return!0;for(var c=document.getElementsByTagName("iframe"),a=0;a<c.length;a++){var d=c[a].contentWindow;if(null!=d){var e=null;try{e=d.O}catch(f){}if(null!=e&&"object"===typeof e&&"function"===typeof e.isServerBusy&&e.isServerBusy())return!0}}return!1};
|
|
79
|
+
pui.showLastError=function(){if(0==errors.length)alert("No errors have been reported.");else{var c=errors.length-1;alert("Operation: "+errors[c].mf+"\nId: "+errors[c].id+"\n\nMessage: "+errors[c].text+"\n"+errors[c].xf)}};
|
|
80
|
+
pui.editCode=function(c,a){function d(D,C){var w=" nn/n nn/nn nn/nn/n nn/nn/nn nnn/nn/nn nn/nn/nnnn nnn/nn/nnnn".split(" ");"*ymd"===l.dateEdit&&(w[8]="nnnn/nn/nn",w[9]="nnnnn/nn/nn");w=w[F];D=String(D);D=D.replace(".","");D=D.replace(",","");D=D.replace("-","");D="0000000000"+D;D=D.substr(D.length-C);C="/";null!=l.dateEditSeparator&&(C=l.dateEditSeparator);for(var x=!1,A=0,y="",H=0;H<w.length;H++){var J=w.substr(H,1),I=w.substr(H+1,1);if("/"===J||"/"===I)x=!0;"/"===J?J=C:(J=D.substr(A,1),A+=1,
|
|
81
|
+
"0"===J?x||(J=" "):x=!0);y+=J}return y}function e(D,C,w){for(D+="";D.length<C;)D+=w;return D}var f=null,g=0,h=null,l={},m=2;"number"===typeof arguments[m]&&(f=arguments[m],m++,"number"===typeof arguments[m]&&(g=arguments[m],m++));"string"===typeof arguments[m]&&(h=arguments[m],m++);"object"===typeof arguments[m]&&(l=arguments[m],m++);var k=!1;"*astfill"===h&&(k=!0,h=null);var n=!1,q=null,p=!1,r=m=!1;m=" ";pui.ra&&"string"===typeof pui.ra.decimalFormat&&(m=pui.ra.decimalFormat);var t="I"===m||"J"===
|
|
82
|
+
m,v="J"===m;null!=l.decimalEdit&&(t=","===l.decimalEdit||"0,"===l.decimalEdit,v="0."===l.decimalEdit||"0,"===l.decimalEdit);"1"<=a&&"4">=a&&(q="999.00");"A"<=a&&"D">=a&&(q="999.00CR");"J"<=a&&"M">=a&&(q="999.00-");"N"<=a&&"Q">=a&&(q="-999.00");if("1"==a||"A"==a||"J"==a||"N"==a||"2"==a||"B"==a||"K"==a||"O"==a)p=!0;m="1"==a||"A"==a||"J"==a||"N"==a||"3"==a||"C"==a||"L"==a||"P"==a?!0:!1;"Z"==a&&(q="999.00");if("X"===a||"Z"===a)r=!0;"X"===a&&(n=!0);"5"<=a&&"9">=a&&pui.alert("User-defined edit code not supported: "+
|
|
83
|
+
a+".");"1"<=a&&"9">=a||"A"<=a&&"D">=a||"J"<=a&&"Q">=a||"X"<=a&&"Z">=a||pui.alert("Invalid edit code: "+a+".");var u=(c||0)+"",z=parseFloat(u,10)||0;var B=u.replace(/\..*/,"");"-0"===B&&(B="-");""!=B&&"-"!=B||!v||(B="0");var E=u;-1==E.indexOf(".")&&(E+=".");E=E.replace(/.*\./,"");var F=B.length;3>F&&(F=3);var G=E.length;"number"===typeof f&&(F=f);"number"===typeof g&&(G=g);if("Y"==a)return(3>F||9<F)&&pui.alert("Length not valid for edit code Y."),d(z,F);f=".";t&&(f=",");r&&(f="");0<G&&(E=e(E,G,"0"),
|
|
84
|
+
"0"!==B||v||(B=""),u=B+f+E);var L=" ";n&&(L="0");k&&(L="*");if(p){for(g=/(\d+)(\d{3})/;g.test(B);)B=B.replace(g,"$1"+(t?".":",")+"$2");u=B+(0<G?f+E:"")}t=0>z;u=u.replace(/-/g,"");"(999.00)"===q?t&&(u="("+u+")"):"999.00-"===q?u=t?u+"-":u+" ":"999.00CR"===q?u=t?u+"CR":u+" ":"-999.00"===q&&t&&(u="-"+u);h&&(u="EUR"==h?u+" EUR":"$"==h?"-"==u.substr(0,1)?"-"+h+u.substr(1):h+u:h+u);m||0===z&&(u="");(function(){var D=F;D+=G&&!r?1:0;p&&(D+=parseInt((F-G-1)/3));"999.00CR"===q&&(D+=2);"999.00-"===q&&(D+=1);
|
|
85
|
+
"-999.00"===q&&(D+=1);"string"===typeof h&&(D+=h.length);var C=u;for(C+="";C.length<D;)C=L+C;u=C})();return u};
|
|
86
|
+
pui.editWord=function(c,a,d){function e(){if(0<v.length){var B=v.substr(v.length-1,1);v=v.substr(0,v.length-1);"0"==B&&0==v.length&&z&&(B=u?"*":" ")}else B="0",z&&(B=" "),u&&(B="*");return B}var f;c=String(c);var g={};"object"===typeof d&&(g=d);d="$";null!=g.currencySymbol&&(d=g.currencySymbol);var h=a.indexOf("0")+1,l=a.indexOf("*")+1;if(0==h||0!=l&&l<h)h=l;var m=-1;for(f=a.length-1;0<=f;--f)if(f+1==h||" "==a.substr(f,1)){m=f;break}l=a.substr(0,m+1);var k="",n="",q=!1,p=!1,r=0<=a.substr(m+1).indexOf("-")||
|
|
87
|
+
0<=a.substr(m+1).indexOf("CR");for(f=m+1;f<a.length;f++){var t=a.substr(f,1);if("CR"==a.substr(f,2))p=!0,f++;else if("-"==t)p=!0;else if("&"!=t&&("*"!=t||p))if("A"<=t.toUpperCase()&&"Z">=t.toUpperCase()&&r&&!p)a=a.substr(0,f)+" "+a.substr(f+1);else{k=a.substring(m+1,f);n=a.substr(f);q=!0;break}}q||(k=a.substr(m+1));t=".";f=" ";pui.ra&&"string"===typeof pui.ra.decimalFormat&&(f=pui.ra.decimalFormat);"string"===typeof g.decimalFormat&&(f=g.decimalFormat);if("I"===f||"J"===f)t=",";f=0;t=l.split(t);1<
|
|
88
|
+
t.length&&(f=t[1].replace(/[^ ]/g,"").length);var v=isNaN(Number(c))?"0":String(c);v=v.replace("-","");t=v.split(".");g=t[0];a="";m=null;1<t.length&&(a=t[1]);if(null==m||isNaN(m))m=f;for(;a.length>m;)a=a.substr(0,a.length-1);for(;m>a.length;)a+="0";for(v=g+a;"0"==v.substr(0,1);)v=v.substr(1);g="";var u=m=!1,z=a=!1;0==h&&(z=!0);for(f=l.length-1;0<=f;--f)q=t=l.substr(f,1)," "==t?q=e():"&"==t?q=" ":"0"==t&&f+1==h?q=e():"*"==t?(u=!0,q=e()):t==d?f+2==h&&(q=e(),a=!0):m&&(q=" ",u&&(q="*")),g=q+g,f<=h&&(z=
|
|
89
|
+
!0),z&&0==v.length&&(m=!0);k=k.replace(/&/g," ");k=k.replace(/\*/g," ");0<=c&&(k=k.replace("CR"," "),k=k.replace("-"," "));g=g+k+n;c=g.length-1;g=ca(g);u&&"*"!=g.substr(0,1)&&(g="*"+g);for(a&&(g=d+g);g.length<=c;)g=" "+g;return g};
|
|
90
|
+
pui.getRadioGroupValue=function(c){if("string"!==typeof c||"object"!==typeof pui.Bc)return null;for(var a=null,d=pui.We,e=d.length-1;0<=e;e--){var f=d[e].toUpperCase()+"."+c.toUpperCase();if("undefined"!==typeof pui.Bc[f]){a=pui.Bc[f];break}}if(null==a)return null;c=null;for(d=0;d<a.length;d++)if(e=a[d],e.checked&&null!=e.radioValue){c=e.radioValue;break}return c};pui.we=function(){for(var c=document.getElementById("auth-form"),a=document.cookie.split("; "),d=!1,e=0;e<a.length;e++){var f=a[e].split("=");if(unescape(f[0])=="pui-signon-"+c.action&&"1"==unescape(f[1])){d=!0;break}}if("undefined"!=typeof Storage){a=P();if(a.workstnid)sessionStorage["atrium-params-workstnid"]=a.workstnid;else try{delete sessionStorage["atrium-params-workstnid"]}catch(g){}if(a.suffixid)sessionStorage["atrium-params-suffixid"]=a.suffixid;else try{delete sessionStorage["atrium-params-suffixid"]}catch(g){}if(a.duplicateid)sessionStorage["atrium-params-duplicateid"]=
|
|
91
|
+
a.duplicateid;else try{delete sessionStorage["atrium-params-duplicateid"]}catch(g){}}if(d)location.href=c.action;else{if(d=document.getElementById("auth-box"))d.style.display="";c.elements["auth-user"].focus()}};
|
|
92
|
+
pui.ve=function(){var c=document.getElementById("auth-form"),a=c.elements["auth-user"].value,d=c.elements["auth-password"].value,e=document.getElementById("auth-message"),f={"server unavailable":"The server could not be reached at {connectorURL}.<br>Please check your network connection and try again.","error authenticating":"An error occurred while authenticating the user."},g="";e.innerHTML="";if(""==N(a))return e.innerHTML=authMessages["user required"],c.elements["auth-user"].focus(),!1;if(""==
|
|
93
|
+
N(d))return e.innerHTML=authMessages["password required"],c.elements["auth-password"].focus(),!1;if(pui.pjsServer){var h="Basic "+btoa(N(a)+":"+N(d));fetch("/profoundui/atrium/authenticate",{method:"POST",headers:{Authorization:h}}).then(function(l){l.ok?(document.cookie=escape("pui-signon-"+c.action)+"=1; path=/",sessionStorage.setItem("atrium-token",btoa(N(a)+":"+N(d))),location.href=c.action):401===l.status?(e.innerHTML=authMessages["invalid credentials"],c.elements["auth-user"].focus()):503===
|
|
94
|
+
l.status?l.json().then(function(m){g=authMessages["server unavailable"]||f["server unavailable"];e.innerHTML=g.replace(/{connectorURL}/,m.system);c.elements["auth-user"].focus()}):(g=authMessages["error authenticating"]||f["error authenticating"],e.innerHTML=g,c.elements["auth-user"].focus())})["catch"](function(l){g=authMessages["error authenticating"]||f["error authenticating"];e.innerHTML=g;c.elements["auth-user"].focus();console.error("Error during Atrium authentication:",l)});return!1}pui.Aa(function(){localStorage["pui-http-auth-invalid"]&&
|
|
95
|
+
delete localStorage["pui-http-auth-invalid"];var l=new pui.Ajax("/profoundui/pui0005010.pgm");l.async=!0;l.method="POST";pui.setReqAuth(l,a,d);l.suppressAlert=!0;l.onready=function(m){if(200==m.ka()){var k=eval("("+m.ja()+")");m=k.days;var n=!1;1==k.warn&&(0==m?(k=authMessages["password expired"],pui.alert(k),n=!0):(k=authMessages["password pending expiration"],k=k.replace(/{DAYS}/g,m),n=confirm(k)));n?(m="/profoundui/changepass?user="+encodeURIComponent(a),m+="&next="+encodeURIComponent(c.action),
|
|
96
|
+
m+="&back="+encodeURIComponent(location.href),location.href=m):(document.cookie=escape("pui-signon-"+c.action)+"=1; path=/",location.href=c.action)}else e.innerHTML=authMessages["invalid credentials"],c.elements["auth-user"].focus()};l.send()});return!1};
|
|
97
|
+
pui.Aa=function(c){if("undefined"!==typeof T&&T.pjsServer)sessionStorage.removeItem("atrium-token"),c();else{var a=new pui.Ajax("/profoundui/pui0005010.pgm");a.async="function"===typeof c?!0:!1;a.method="POST";pui.setReqAuth(a,"PUI_SIGNOFF_USER","PUI_SIGNOFF_USER");a.suppressAlert=!0;"function"===typeof c&&(a.onready=function(){"function"==typeof c&&c()});a.send()}};window.pui.signOn=pui.ve;window.pui.clearCredentials=pui.Aa;window.pui.signOnInit=pui.we;
|
|
98
|
+
pui.ge=function(){var c=P(),a=document.getElementById("change-user"),d=document.getElementById("change-current"),e=a,f=document.getElementById("change-cancel");"undefined"!=typeof c.user&&(a.value=c.user.toUpperCase(),a.readOnly=!0,a.className+=" read-only",e=d);"undefined"==typeof c.back&&(f.style.display="none");document.getElementById("change-box").style.display="block";e.focus()};pui.fe=function(){var c=P();"undefined"!=typeof c.back&&(location.href=c.back)};
|
|
99
|
+
pui.kd=function(){if("undefined"===typeof T||!T.pjsServer){var c=P(),a=document.getElementById("change-form"),d=a.elements["change-user"].value,e=a.elements["change-current"].value,f=a.elements["change-new"].value,g=a.elements["change-confirm"].value,h=document.getElementById("change-message");h.innerHTML="";if(""==N(d))return h.innerHTML=passMessages["user required"],a.elements["change-user"].focus(),!1;if(""==N(e))return h.innerHTML=passMessages["current required"],a.elements["change-current"].focus(),
|
|
100
|
+
!1;if(""==N(f))return h.innerHTML=passMessages["new required"],a.elements["change-new"].focus(),!1;if(""==N(g))return h.innerHTML=passMessages["confirm required"],a.elements["change-confirm"].focus(),!1;if(f!=g)return h.innerHTML=passMessages["must match"],a.elements["change-new"].focus(),!1;g=new pui.Ajax("/profoundui/pui0005011.pgm");g.async=!0;g.method="POST";g.params={};g.params.user=d;g.params.current=e;g.params["new"]=f;g.suppressAlert=!0;g.onready=function(l){if(200!=l.ka())h.innerHTML="HTTP "+
|
|
101
|
+
l.ka()+" - "+l.wb()+".",a.elements["change-user"].focus();else{try{var m=eval("("+l.ja()+")");if("boolean"!=typeof m.success)throw Error("Invalid response format: 'success' is not a boolean.");if(!m.success&&"string"!=typeof m.error)throw Error("Invalid response format: 'error' is not a string.");}catch(k){m={success:!1,error:"The server response is missing or invalid."}}0==m.success?(h.innerHTML=m.error,a.elements["change-user"].focus()):(pui.alert(passMessages.success),pui.Aa(function(){var k=new pui.Ajax("/profoundui/pui0005010.pgm");
|
|
102
|
+
k.async=!0;k.method="POST";pui.setReqAuth(k,d,f);k.suppressAlert=!0;k.onready=function(n){200==n.ka()?"undefined"!=typeof c.next&&(location.href=c.next):(pui.alert("HTTP "+n.ka()+" - "+n.wb()+"."),a.elements["change-user"].focus())};k.send()}))}};g.send();return!1}};
|
|
103
|
+
pui.setReqAuth=function(c,a,d){var e=-1!=navigator.userAgent.indexOf("Edge"),f=!e&&-1!=navigator.userAgent.indexOf("Chrome");e=!e&&-1!=navigator.userAgent.indexOf("Safari")&&!f;var g=-1!=navigator.userAgent.indexOf("Firefox");e||f||g?(c.user=encodeURIComponent(a),c.password=encodeURIComponent(d)):(c.user=a,c.password=d)};window.pui.passInit=pui.ge;window.pui.passCancel=pui.fe;window.pui.changePass=pui.kd;function U(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="This will end your session.";a["no connection message"]="Unable to reach server. Check your connection and try again.";a["upload file limit"]="Limit of &1 file(s) exceeded.";a["upload size limit"]="Limit of &1MB per file exceeded";a["upload no files"]="No files selected.";a["upload duplicate file"]="Duplicate files selected.";a["upload file exists"]="One or more files already exist on the file system.";a["upload prevented"]="Operation prevented by exit program.";
|
|
109
104
|
a["upload input limit"]="Total input size limit exceeded.";a["upload no session"]="Not connected to a valid session.";a["upload timeout"]="Transaction timed out.";a["upload invalid response"]="The server response is missing or invalid.";a["upload cancelled"]="Upload canceled.";a["close browser text"]="To complete the log off process, please close your browser window.";a["session ended text"]="Your session has ended.";a["outside ucs2"]="Characters are outside of UCS-2 range.";a["invalid number"]="&1 is not a valid number.";
|
|
110
105
|
a["invalid length"]="&1 has an incorrect data length or decimal position.";a["invalid decimal"]="&1 has too many decimal places. (max: &2)";a["invalid choice"]='"&1" is invalid. Valid choices are: "&2" or "&3".';a["invalid date"]='"&1" is not a valid date. Example format: &2';a["invalid time"]='"&1" is not a valid time. Example format: &2';a["invalid time stamp"]='"&1" is not a valid time stamp. Example format: &2';a["invalid percent"]="&1 is not a valid decimal.";a["invalid digits"]='"&1" contains too many digits. Max: &2';
|
|
111
106
|
a["exceeds whole"]='"&1" exceeds the maximum number of digits for the whole number portion (&2 digits).';a["exceeds decimal"]='"&1" exceeds the maximum number of digits for the decimal portion (&2 digits).';a["zip too long"]="Zip code is too long. (Maximum: &1 digits)";a["phone too long"]="Phone number is too long. (Maximum: &1 digits)";a["ssno too long"]="Social security number is too long. (Maximum: &1 digits)";a["invalid custom val"]="Invalid custom validation function.";a["error custom val"]=
|
|
@@ -149,7 +144,7 @@ a["job descr lib"]="Job description library";a["job descr lib hlp"]="Specify the
|
|
|
149
144
|
a["genie url"]="Genie URL";a["genie url hlp"]="Sets the URL that is used to launch Genie. If not specified, the default Genie URL /profoundui/auth/genie will be used. This field is useful if an alternate Genie URL or query string parameters are required. For example: /profoundui/auth/genie?skin=MyCompany";a["open as"]="Open as";a["open as hlp"]="Sets whether to launch the item as a new tab in the portal, or as a new browser window or tab. Whether the browser uses a new window or tab depends on the user's browser settings.";
|
|
150
145
|
a["opens once only"]="Opens once only";a["opens once only hlp"]="By default, if the user launches this item when a tab is already open to it in the portal, another tab will be opened to the item. There is no limitation on the number of tabs the user can open in this way. When this option is checked, the user will not be able to open more than one tab to this item. If there is already a tab open for the item when the user selects it, the existing tab will be activated. This option is ignored when opening the item in a new browser window or tab.";
|
|
151
146
|
a.icon="Icon";a["icon hlp"]="Optional. Sets an icon file to be used for the navigation or toolbar item. The icon file can be in GIF, JPG, or PNG format. Transparent GIFs are recommended. The path should be given as an absolute path from the root of the Atrium installation. If no icon is specified, Atrium will use a default icon for navigation items. No icon will be shown for toolbar items unless specified here.";a.parameter="Parameter";a["parameter hlp"]="Optional: Specifies a parameter that will be passed to your Rich Display program when it is launched.";
|
|
152
|
-
a["msg action selection choice"]='Set selection field at &1,&2 choice "&3" to "&4"';a["msg action selected"]="Selected";a["msg action deselected"]="Deselected";a["set selection field"]="Set a selection field";a["selection field choice"]="Choice name";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
147
|
+
a["msg action selection choice"]='Set selection field at &1,&2 choice "&3" to "&4"';a["msg action selected"]="Selected";a["msg action deselected"]="Deselected";a["set selection field"]="Set a selection field";a["selection field choice"]="Choice name";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function V(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="This will end your session.";a["no connection message"]="Unable to reach server. Check your connection and try again.";a["upload file limit"]="Limit of &1 file(s) exceeded.";a["upload size limit"]="Limit of &1MB per file exceeded";a["upload no files"]="No files selected.";a["upload duplicate file"]="Duplicate files selected.";a["upload file exists"]="One or more files already exist on the file system.";a["upload prevented"]="Operation prevented by exit program.";
|
|
153
148
|
a["upload input limit"]="Total input size limit exceeded.";a["upload no session"]="Not connected to a valid session.";a["upload timeout"]="Transaction timed out.";a["upload invalid response"]="The server response is missing or invalid.";a["upload cancelled"]="Upload cancelled.";a["close browser text"]="To complete the log off process, please close your browser window.";a["session ended text"]="Your session has ended.";a["outside ucs2"]="Characters are outside of UCS-2 range.";a["invalid number"]=
|
|
154
149
|
"&1 is not a valid number.";a["invalid length"]="&1 has an incorrect data length or decimal position.";a["invalid decimal"]="&1 has too many decimal places. (max: &2)";a["invalid choice"]='"&1" is invalid. Valid choices are: "&2" or "&3".';a["invalid date"]='"&1" is not a valid date. Example format: &2';a["invalid time"]='"&1" is not a valid time. Example format: &2';a["invalid time stamp"]='"&1" is not a valid time stamp. Example format: &2';a["invalid percent"]="&1 is not a valid decimal.";a["invalid digits"]=
|
|
155
150
|
'"&1" contains too many digits. Max: &2';a["exceeds whole"]='"&1" exceeds the maximum number of digits for the whole number portion (&2 digits).';a["exceeds decimal"]='"&1" exceeds the maximum number of digits for the decimal portion (&2 digits).';a["zip too long"]="Zip code is too long. (Maximum: &1 digits)";a["phone too long"]="Phone number is too long. (Maximum: &1 digits)";a["ssno too long"]="Social security number is too long. (Maximum: &1 digits)";a["invalid custom val"]="Invalid custom validation function.";
|
|
@@ -189,7 +184,7 @@ a["job descr"]="Job description";a["job descr hlp"]="Specify a job description t
|
|
|
189
184
|
a.url="URL";a["url hlp"]="Sets the URL of the Web application. This can be specified either as an absolute path or a fully qualified URL. Query string parameters may be specified on the URL.";a["genie url"]="Genie URL";a["genie url hlp"]="Sets the URL that is used to launch Genie. If not specified, the default Genie URL /profoundui/auth/genie will be used. This field is useful if an alternate Genie URL or query string parameters are required. For example: /profoundui/auth/genie?skin=MyCompany";a["open as"]=
|
|
190
185
|
"Open as";a["open as hlp"]="Sets whether to launch the item as a new tab in the portal, or as a new browser window or tab. Whether the browser uses a new window or tab depends on the user's browser settings.";a["opens once only"]="Opens once only";a["opens once only hlp"]="By default, if the user launches this item when a tab is already open to it in the portal, another tab will be opened to the item. There is no limitation on the number of tabs the user can open in this way. When this option is checked, the user will not be able to open more than one tab to this item. If there is already a tab open for the item when the user selects it, the existing tab will be activated. This option is ignored when opening the item in a new browser window or tab.";
|
|
191
186
|
a.icon="Icon";a["icon hlp"]="Optional. Sets an icon file to be used for the navigation or toolbar item. The icon file can be in GIF, JPG, or PNG format. Transparent GIFs are recommended. The path should be given as an absolute path from the root of the Atrium installation. If no icon is specified, Atrium will use a default icon for navigation items. No icon will be shown for toolbar items unless specified here.";a.parameter="Parameter";a["parameter hlp"]="Optional: Specifies a parameter that will be passed to your Rich Display program when it is launched.";
|
|
192
|
-
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
187
|
+
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function W(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Die Sitzung wird beendet.";a["no connection message"]="System i5 ist nicht erreichbar, bitte die Kommunikation pr\u00fcfen und erneut versuchen.";a["upload file limit"]="Maximum von &1 Datei(en) ist erreicht.";a["upload size limit"]="Maximum von &1MB je Datei ist erreicht";a["upload no files"]="Keine Datei(en) ausgew\u00e4hlt.";a["upload duplicate file"]="Doppelte Dateien ausgew\u00e4hlt.";a["upload file exists"]="Eine oder mehrere Datei(en) existieren bereits im Dateisystem.";
|
|
193
188
|
a["upload prevented"]="Operation untersagt durch Pr\u00fcfprogramm.";a["upload input limit"]="Gesamte Eingabegr\u00f6\u00dfe ist \u00fcberschritten.";a["upload no session"]="Keine Verbindung zu einer g\u00fcltigen Sitzung.";a["upload timeout"]="Zeit\u00fcberschreitung Vorgang.";a["upload invalid response"]="Die Server Antwort fehlt oder ist ung\u00fcltig.";a["upload cancelled"]="Datei\u00fcbertragung abgebrochen.";a["close browser text"]="Bitte das Browserfenster schlie\u00dfen, um die Abmeldung zu vervollst\u00e4ndigen.";
|
|
194
189
|
a["session ended text"]="Die Sitzung ist beendet.";a["outside ucs2"]="Buchstaben au\u00dferhalb des UCS-2 Bereichs.";a["invalid number"]="&1 ist keine g\u00fcltige Nummer.";a["invalid length"]="&1 hat ung\u00fcltige Datenl\u00e4nge oder Dezimalstelle.";a["invalid decimal"]="&1 hat zu viele Dezimalstellen. (max: &2)";a["invalid choice"]='"&1" ist ung\u00fcltig. G\u00fcltige Werte sind "&2" oder "&3".';a["invalid date"]='"&1" ist kein g\u00fcltiges Datum. Beispielformat: &2';a["invalid time"]='"&1" ist keine g\u00fcltige Zeit. Beispielformat: &2';
|
|
195
190
|
a["invalid time stamp"]='"&1" ist kein g\u00fcltiger Zeitstempel. Beispielformat: &2';a["invalid percent"]="&1 ist kein g\u00fcltige Zahl.";a["invalid digits"]='"&1" enth\u00e4lt zu viele Ziffern. Max: &2';a["exceeds whole"]='"&1" \u00fcberschreitet die maximale Anahl von Ziffern der gesamten Zahl (&2 Stellen).';a["exceeds decimal"]='"&1" \u00fcberschreitet die maximale Anzahl von Ziffern f\u00fcr den Nachkommateil (&2 Stellen).';a["zip too long"]="Postleitzahl ist zu lang. (Max.: &1 Ziffern)";a["phone too long"]=
|
|
@@ -236,7 +231,7 @@ a["item name"]="Itemname";a["item name hlp"]="Legt den Anzeigenamen des Navigati
|
|
|
236
231
|
"Gibt die URL an, die zum Starten von Genie verwendet wird. Wenn nicht angegeben, wird die Standard-Genie-URL /profoundui/auth/genie verwendet. Dieses Feld ist n\u00fctzlich, wenn alternative URL-URLs oder Abfragezeichenfolgen erforderlich sind. Beispielsweise: /profoundui/auth/genie?skin=MyCompany";a["open as"]="\u00d6ffnen als";a["open as hlp"]="Legt fest, ob das Element als neue Registerkarte im Portal oder als neues Browserfenster oder als neue Registerkarte gestartet wird. Ob der Browser ein neues Fenster oder eine neue Registerkarte verwendet, h\u00e4ngt von den Browsereinstellungen des Benutzers ab.";
|
|
237
232
|
a["opens once only"]="\u00d6ffnet nur einmal";a["opens once only hlp"]="Wenn der Benutzer dieses Element standardm\u00e4\u00dfig startet, obwohl im Portal bereits eine Registerkarte ge\u00f6ffnet ist, wird eine weitere Registerkarte f\u00fcr das Element ge\u00f6ffnet. Die Anzahl der Registerkarten, die der Benutzer auf diese Weise \u00f6ffnen kann, ist nicht begrenzt. Wenn dieses \u00d6ffnen aktiviert ist, kann der Benutzer nicht mehr als eine Registerkarte f\u00fcr dieses Element \u00f6ffnen. Wenn bereits ein Tab f\u00fcr das Objekt ge\u00f6ffnet ist, wenn der Benutzer es ausw\u00e4hlt, wird das vorhandene Tab aktiviert. Diese Option wird ignoriert, wenn das Element in einem neuen Browserfenster oder Tab ge\u00f6ffnet wird.";
|
|
238
233
|
a.icon="Symbol";a["icon hlp"]="Wahlweise. Legt eine Symboldatei fest, die f\u00fcr den Navigations- oder Symbolleisteneintrag verwendet werden soll. Die Symboldatei kann im GIF-, JPG- oder PNG-Format vorliegen. Transparente GIFs werden empfohlen. Der Pfad sollte als absoluter Pfad vom Stamm der Atrium-Installation angegeben werden. Wenn kein Symbol angegeben ist, verwendet Atrium ein Standardsymbol f\u00fcr Navigationselemente. F\u00fcr Symbolleistenelemente wird kein Symbol angezeigt, es sei denn, sie sind hier angegeben.";
|
|
239
|
-
a.parameter="Parameter";a["parameter hlp"]="Optional: Gibt einen Parameter an, der beim Starten an das Rich-Display-Programm \u00fcbergeben wird.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
234
|
+
a.parameter="Parameter";a["parameter hlp"]="Optional: Gibt einen Parameter an, der beim Starten an das Rich-Display-Programm \u00fcbergeben wird.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function X(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Se cerrar\u00e1 su sesi\u00f3n.";a["no connection message"]="No es posible establecer conexi\u00f3n al servidor. Verifique la conexi\u00f3n e int\u00e9ntelo de nuevo.";a["upload file limit"]="L\u00edmite de &1 archivo(s) excedido.";a["upload size limit"]="L\u00edmite de &1MB por archivo excedido";a["upload no files"]="No hay archivos seleccionados.";a["upload duplicate file"]="Archivos seleccionados duplicados.";a["upload file exists"]=
|
|
240
235
|
"Uno o m\u00e1s archivos ya existen en el sistema de archivos.";a["upload prevented"]="Operaci\u00f3n embargada por 'exit program'.";a["upload input limit"]="El l\u00edmite del tama\u00f1o total del 'input' fue excedido.";a["upload no session"]="No est\u00e1 conectado con una sesi\u00f3n v\u00e1lida.";a["upload timeout"]="El tiempo l\u00edmite para la transacci\u00f3n fue excedido.";a["upload invalid response"]="No hay respuesta del servidor o es inv\u00e1lida.";a["upload cancelled"]="Carga cancelada.";
|
|
241
236
|
a["close browser text"]="Para terminar el proceso de cierre de la sesi\u00f3n, por favor cierre el navegador.";a["session ended text"]="Su sesi\u00f3n fue cerrada.";a["outside ucs2"]="Caracteres fuera de la gama UCS-2.";a["invalid number"]="&1 no es un numero v\u00e1lido.";a["invalid length"]="&1 tiene longitud o n\u00famero de decimales incorrectos.";a["invalid decimal"]="&1 tiene excesivas n\u00fameros decimales. (max: &2)";a["invalid choice"]='"&1" es inv\u00e1lido. Las opciones v\u00e1lidas son: "&2" ou "&3".';
|
|
242
237
|
a["invalid date"]='"&1" no es una fecha v\u00e1lida. Ejemplo del formato correcto: &2';a["invalid time"]='"&1" no es un valor de tiempo correcto. Ejemplo del formato correcto: &2';a["invalid time stamp"]='"&1" no es un registro del tiempo v\u00e1lido. Ejemplo del formato correcto: &2';a["invalid percent"]="&1 no es un valor decimal.";a["invalid digits"]='"&1" contiene demasiados d\u00edgitos. Max: &2';a["exceeds whole"]='"&1" excede el n\u00famero m\u00e1ximo de d\u00edgitos para la parte num\u00e9rica del campo (&2 digits).';
|
|
@@ -284,7 +279,7 @@ a["item name"]="Nombre de \u00cdtem";a["item name hlp"]="Asigna el nombre a most
|
|
|
284
279
|
"URL de Genie";a["genie url hlp"]="Asigna el URL que es usado para lanzar Genie. Si no se especifica esta opci\u00f2n, ser\u00e1 usada la URL por omisi\u00f3n de Genie /profoundui/auth/genie. Este valor es \u00fatil si se requiere una URL alternativa de Genie o par\u00e1metros en el query string. Por Ejemplo: /profoundui/auth/genie?skin=MyCompany";a["open as"]="Abrir como";a["open as hlp"]="Establece si lanzar el \u00edtem como una nueva pesta\u00f1a en el portal, o como una nueva ventana en el navegador. Si el navegador usa una nueva ventana o pesta\u00f1a depende de los par\u00e1metros de configuraci\u00f3n del navegador del usuario.";
|
|
285
280
|
a["opens once only"]="Abre \u00fanicamente una vez";a["opens once only hlp"]="Por omisi\u00f3n, si el usuario lanza este \u00edtem cuando ya existe una pesta\u00f1a abierta para este en el portal, se abre otra pesta\u00f1a para el \u00edtem. No existe limitaci\u00f3n en el numero de pesta\u00f1as que el usuario puede abrir de esta manera. Cuando esta opci\u00f3n es seleccionada, el usuario no podr\u00e1 abrir mas de una pesta\u00f1a para este \u00edtem. Si ya existe una pesta\u00f1a abierta para el \u00edtem cuando el usuario la selecciona, la pesta\u00f1a existente se activar\u00e1. Esta opci\u00f3n se ignora cuando se abre el \u00edtem en una nueva ventana o pesta\u00f1a de navegador.";
|
|
286
281
|
a.icon="Icono";a["icon hlp"]="Opcional. Asigna un archivo con el icono que ser\u00e1 usado para el \u00edtem de navegaci\u00f3n o barra de herramientas. El archivo del icono puede estar en formato TGIF, JPG, o PNG. Se recomiendan GIFs transparentes. La ruta deber\u00eda ser entregada como una ruta absoluta desde el directorio ra\u00edz de la instalaci\u00f3n Atrium. Si no se especifica icono, Atrium utilizar\u00e1 un icono de navegaci\u00f3n por omisi\u00f3n para los \u00edtems de navegaci\u00f3n. No se mostrar\u00e1 ning\u00fan icono para los \u00edtems de la barra de herramientas, a no ser que se especifique aqu\u00ed.";
|
|
287
|
-
a.parameter="Par\u00e1metro";a["parameter hlp"]="Opcional: Especifica un par\u00e1metro que ser\u00e1 pasado a su programa de pantalla enriquecida cuando este se lanza.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
282
|
+
a.parameter="Par\u00e1metro";a["parameter hlp"]="Opcional: Especifica un par\u00e1metro que ser\u00e1 pasado a su programa de pantalla enriquecida cuando este se lanza.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function Y(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Esto finalizar\u00e1 su sesi\u00f3n.";a["no connection message"]="No se puede acceder al servidor. Verifique su conexi\u00f3n y trate de nuevo.";a["upload file limit"]="L\u00edmite de &1 archivo(s) excedido.";a["upload size limit"]="L\u00edmite de &1MB por archivo excedido";a["upload no files"]="No hay archivos seleccionados.";a["upload duplicate file"]="Archivos duplicados seleccionados.";a["upload file exists"]="Uno a m\u00e1s archivos ya existen en el sistema de archivos.";
|
|
288
283
|
a["upload prevented"]="Operaci\u00f3n evitada por programa de salida.";a["upload input limit"]="L\u00edmite de tama\u00f1o total de entrada excedido";a["upload no session"]="No est\u00e1 conectado en una sesi\u00f3n v\u00e1lida.";a["upload timeout"]="La transacci\u00f3n excedi\u00f3 el l\u00edmite de tiempo.";a["upload invalid response"]="La respuesta del servidor es inv\u00e1lida o no se encuentra.";a["upload cancelled"]="Carga cancelada.";a["close browser text"]="Para completar el proceso de cierre de sesi\u00f3n, favor cerrar la ventana de su navegador.";
|
|
289
284
|
a["session ended text"]="Su sesi\u00f3n ha terminado.";a["outside ucs2"]="Los caracteres est\u00e1n fuera del rango del UCS-2.";a["invalid number"]="&1 no es un n\u00famero v\u00e1lido.";a["invalid length"]="&1 tiene un largo de datos, o posici\u00f3n decimal incorrectos.";a["invalid decimal"]="&1 tiene demasiadas posiciones decimales. (M\u00e1x.: &2)";a["invalid choice"]='"&1" es inv\u00e1lido. Las opciones v\u00e1lidas son: "&2" o "&3".';a["invalid date"]='"&1" no es una fecha v\u00e1lida. Ejemplo del formato : &2';
|
|
290
285
|
a["invalid time"]='"&1" no es una la hora v\u00e1lida. Ejemplo del formato : &2';a["invalid time stamp"]='"&1" no es una fecha-hora v\u00e1lida. Ejemplo del formato: &2';a["invalid percent"]="&1 no es un decimal v\u00e1lido.";a["invalid digits"]='"&1"contiene demasiados d\u00edgitos. M\u00e1x.: &2';a["exceeds whole"]='"&1" excede el n\u00famero m\u00e1ximo de d\u00edgitos para la porci\u00f3n del n\u00famero entero (&2 d\u00edgitos).';a["exceeds decimal"]='"&1" excede el n\u00famero m\u00e1ximo de d\u00edgitos para la porci\u00f3n decimal (&2 d\u00edgitos).';
|
|
@@ -331,7 +326,7 @@ a["item name"]="Nombre de \u00cdtem";a["item name hlp"]="Asigna el nombre a most
|
|
|
331
326
|
"URL de Genie";a["genie url hlp"]="Asigna el URL que es usado para lanzar Genie. Si no se especifica esta opci\u00f2n, ser\u00e1 usada la URL por omisi\u00f3n de Genie /profoundui/auth/genie. Este valor es \u00fatil si se requiere una URL alternativa de Genie o par\u00e1metros en el query string. Por Ejemplo: /profoundui/auth/genie?skin=MyCompany";a["open as"]="Abrir como";a["open as hlp"]="Establece si lanzar el \u00edtem como una nueva pesta\u00f1a en el portal, o como una nueva ventana en el navegador. Si el navegador usa una nueva ventana o pesta\u00f1a depende de los par\u00e1metros de configuraci\u00f3n del navegador del usuario.";
|
|
332
327
|
a["opens once only"]="Abre \u00fanicamente una vez";a["opens once only hlp"]="Por omisi\u00f3n, si el usuario lanza este \u00edtem cuando ya existe una pesta\u00f1a abierta para este en el portal, se abre otra pesta\u00f1a para el \u00edtem. No existe limitaci\u00f3n en el numero de pesta\u00f1as que el usuario puede abrir de esta manera. Cuando esta opci\u00f3n es seleccionada, el usuario no podr\u00e1 abrir mas de una pesta\u00f1a para este \u00edtem. Si ya existe una pesta\u00f1a abierta para el \u00edtem cuando el usuario la selecciona, la pesta\u00f1a existente se activar\u00e1. Esta opci\u00f3n se ignora cuando se abre el \u00edtem en una nueva ventana o pesta\u00f1a de navegador.";
|
|
333
328
|
a.icon="Icono";a["icon hlp"]="Opcional. Asigna un archivo con el icono que ser\u00e1 usado para el \u00edtem de navegaci\u00f3n o barra de herramientas. El archivo del icono puede estar en formato TGIF, JPG, o PNG. Se recomiendan GIFs transparentes. La ruta deber\u00eda ser entregada como una ruta absoluta desde el directorio ra\u00edz de la instalaci\u00f3n Atrium. Si no se especifica icono, Atrium utilizar\u00e1 un icono de navegaci\u00f3n por omisi\u00f3n para los \u00edtems de navegaci\u00f3n. No se mostrar\u00e1 ning\u00fan icono para los \u00edtems de la barra de herramientas, a no ser que se especifique aqu\u00ed.";
|
|
334
|
-
a.parameter="Par\u00e1metro";a["parameter hlp"]="Opcional: Especifica un par\u00e1metro que ser\u00e1 pasado a su programa de pantalla enriquecida cuando este se lanza.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
329
|
+
a.parameter="Par\u00e1metro";a["parameter hlp"]="Opcional: Especifica un par\u00e1metro que ser\u00e1 pasado a su programa de pantalla enriquecida cuando este se lanza.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function da(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Votre session sera ferm\u00e9e.";a["no connection message"]="Impossible d'acc\u00e9der le serveur. Veuillez v\u00e9rifier votre connexion et r\u00e9essayer.";a["upload file limit"]="La limite de &1 fichier(s) est d\u00e9pass\u00e9e.";a["upload size limit"]="La limite de &1MB par fichier est d\u00e9pass\u00e9e.";a["upload no files"]="Aucun fichier s\u00e9lectionn\u00e9.";a["upload duplicate file"]="Doublon(s) dans les fichiers s\u00e9lectionn\u00e9s.";
|
|
335
330
|
a["upload file exists"]="Un ou plusieurs fichier(s) existe d\u00e9j\u00e0 sur le syst\u00e8me.";a["upload prevented"]="L'op\u00e9ration est bloqu\u00e9e par le programme de sortie.";a["upload input limit"]="L'entr\u00e9e de donn\u00e9es d\u00e9passe la limite.";a["upload no session"]="Il n'y a aucune connection \u00e0 une session valide.";a["upload timeout"]="La transaction a expir\u00e9e.";a["upload invalid response"]="La r\u00e9ponse du serveur est manquante ou invalide.";a["upload cancelled"]=
|
|
336
331
|
"T\u00e9l\u00e9versement annul\u00e9";a["close browser text"]="Veuillez fermer votre navigateur pour compl\u00e9ter le processus de d\u00e9connection.";a["session ended text"]="Votre session s'est termin\u00e9e.";a["outside ucs2"]="Caract\u00e8res non-permis parmi les valeurs permises dans le UCS-2.";a["invalid number"]="&1 n'est pas un num\u00e9ro valide.";a["invalid length"]="&1 n'a pas le bon nombre de caract\u00e8res ou de d\u00e9cimales.'";a["invalid decimal"]="&1 contient trop de d\u00e9cimales. (max: &2)";
|
|
337
332
|
a["invalid choice"]='"&1" est invalide. Les choix valides sont: "&2" ou "&3".';a["invalid date"]='"&1" est une date invalide. Exemple de format: &2';a["invalid time"]='"&1" est une heure invalide. Exemple de format: &2';a["invalid time stamp"]='"&1" est une date et heure invalide. Exemple de format: &2';a["invalid percent"]="&1 n'est pas une d\u00e9cimale valide.";a["invalid digits"]='"&1" contient trop de caract\u00e8res. Max: &2';a["exceeds whole"]='"&1" d\u00e9passe le nombre de caract\u00e8res maximum pour le nombre avant les d\u00e9cimales (&2 caract\u00e8res).';
|
|
@@ -379,7 +374,7 @@ a["single click nav"]="Navigation en un clic";a["single click nav hlp"]="Si coch
|
|
|
379
374
|
a["action type"]="Type d'action";a["action type hlp"]="D\u00e9finit le type de l'application lanc\u00e9e par cet \u00e9l\u00e9ment.";a.url="URL";a["url hlp"]="D\u00e9finit l'URL de l'application Web. L'URL peut \u00eatre aboslue ou relative. Des param\u00e8tres de requ\u00eate peuvent \u00eatre sp\u00e9cifi\u00e9s dans l'URL.";a["genie url"]="URL Genie";a["genie url hlp"]="D\u00e9finit l'URL utilis\u00e9e pour lancer le Genie. Si non sp\u00e9cifi\u00e9e, l'URL Genie par d\u00e9faut /profoundui/auth/genie sera utilis\u00e9e. Ce champ est utile dans le cas d'une URL Genie personnalis\u00e9e ou lorsque des param\u00e8tres de requ\u00eates sont n\u00e9cessaires. par exemple : /profoundui/auth/genie?skin=MyCompany";
|
|
380
375
|
a["open as"]="Ouvrir en tant que";a["open as hlp"]="D\u00e9finit si l'\u00e9l\u00e9ment doit \u00eatre ouvert dans un nouvel onglet du portail ou en tant que nouvelle fen\u00eatre/nouvel onglet du navigateur. L'utilisation d'une fen\u00eatre ou onglet du navigateur d\u00e9pend des r\u00e9glages de celui-ci.";a["opens once only"]="Ex\u00e9cution unique";a["opens once only hlp"]="Par d\u00e9faut, si l'utilisateur ex\u00e9cute l'\u00e9l\u00e9ment alors que celui-ci est d\u00e9j\u00e0 ouvert dans le portail, un nouvel onglet est utilis\u00e9. Il n'y a pas de limite du nombre d'onglets que l'utilisateur est capable d'ouvrir de cette fa\u00e7on. Quand cette option est coch\u00e9e, l'utilisateur ne pourra ouvrir qu'un seul onglet correspondant \u00e0 cet \u00e9l\u00e9ment. Si l'onglet est d\u00e9j\u00e0 ouvert, le fait d'ex\u00e9cuter l'\u00e9l\u00e9ment activera cet onglet. Cette option est ignor\u00e9e si l'\u00e9l\u00e9ment s'ouvre dans une nouvelle fen\u00eatre ou un nouvel onglet du navigateur.";
|
|
381
376
|
a.icon="Ic\u00f4ne";a["icon hlp"]="Optionnel. D\u00e9finit l'ic\u00f4ne utilis\u00e9e dans le menu de navigation ou la barre d'outils. L'ic\u00f4ne peut \u00eatre au format GIF, JPG ou PNG. Les GIF transparents sont recommand\u00e9s. Le chemin devra \u00eatre sp\u00e9cifi\u00e9 en absolu depuis le r\u00e9pertoire racine d'installation de l'Atrium. Si aucune ic\u00f4ne n'est sp\u00e9cifi\u00e9e, l'Atrium utilisera l'ic\u00f4ne par d\u00e9faut pour les \u00e9l\u00e9ments de navigation. Aucune ic\u00f4ne ne sera affich\u00e9e pour les \u00e9l\u00e9ments de la barre d'outils sauf si sp\u00e9cifi\u00e9e ici.";
|
|
382
|
-
a.parameter="Param\u00e8tre";a["parameter hlp"]="Optionnel: Sp\u00e9cifie un param\u00e8tre qui sera pass\u00e9 au program Rich Display lors de son ex\u00e9cution.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
377
|
+
a.parameter="Param\u00e8tre";a["parameter hlp"]="Optionnel: Sp\u00e9cifie un param\u00e8tre qui sera pass\u00e9 au program Rich Display lors de son ex\u00e9cution.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function ea(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Ceci terminera votre session.";a["no connection message"]="Impossible d'\u00e9tablir une connexion au serveur. S'il vous pla\u00eet, v\u00e9rifiez la connexion et essayez \u00e0 nouveau.";a["upload file limit"]="Limite de &1 fichier(s) d\u00e9pass\u00e9e.";a["upload size limit"]="Limite de &1MB par fichier d\u00e9pass\u00e9e.";a["upload no files"]="Pas de fichiers s\u00e9lectionn\u00e9s.";a["upload duplicate file"]="Fichiers s\u00e9lectionn\u00e9s en double.";
|
|
383
378
|
a["upload file exists"]="Un ou plusieurs fichiers existent d\u00e9j\u00e0 dans le syst\u00e8me de fichiers.";a["upload prevented"]="Op\u00e9ration emp\u00each\u00e9e par \u00abexit program\u00bb.";a["upload input limit"]="Limite de taille totale des donn\u00e9es d\u00e9pass\u00e9e.";a["upload no session"]="Vous n'\u00eates pas connect\u00e9(e) \u00e0 une session valide.";a["upload timeout"]="Le temps limite pour la transaction a \u00e9t\u00e9 d\u00e9pass\u00e9.";a["upload invalid response"]="Le serveur ne r\u00e9pond pas ou n'est pas joignable.";
|
|
384
379
|
a["upload cancelled"]="T\u00e9l\u00e9versement annul\u00e9";a["close browser text"]="Pour terminer la session, veuillez fermez la fen\u00eatre du navigateur.";a["session ended text"]="Votre session est termin\u00e9e.";a["outside ucs2"]="Caract\u00e8res en dehors de la norme UCS-2.";a["invalid number"]="&1 n'est pas un nombre valide.";a["invalid length"]="&1 a une longueur ou une position de d\u00e9cimale incorrecte.";a["invalid decimal"]="&1 comporte trop de d\u00e9cimales. (max: &2)";a["invalid choice"]=
|
|
385
380
|
'"&1" est incorrect. Les choix possibles sont: "&2" ou "&3".';a["invalid date"]='"&1" n\'est pas une date valide. Exemple de format correct: &2';a["invalid time"]='"&1" n\'est pas une heure valide. Exemple de format correct: &2';a["invalid time stamp"]='"&1" n\'est pas un horodatage valide. Exemple de format correct: &2';a["invalid percent"]="&1 n'est pas une d\u00e9cimale valide.";a["invalid digits"]='"&1" contient un nombre de chiffres trop \u00e9l\u00e9v\u00e9. Max: &2';a["exceeds whole"]='"&1" d\u00e9passe le nombre maximum de chiffres pour la partie num\u00e9rique du champ (&2 digits).';
|
|
@@ -428,7 +423,7 @@ a["single click nav"]="Navigation en un clic";a["single click nav hlp"]="Si coch
|
|
|
428
423
|
a["action type"]="Type d'action";a["action type hlp"]="D\u00e9finit le type de l'application lanc\u00e9e par cet \u00e9l\u00e9ment.";a.url="URL";a["url hlp"]="D\u00e9finit l'URL de l'application Web. L'URL peut \u00eatre aboslue ou relative. Des param\u00e8tres de requ\u00eate peuvent \u00eatre sp\u00e9cifi\u00e9s dans l'URL.";a["genie url"]="URL Genie";a["genie url hlp"]="D\u00e9finit l'URL utilis\u00e9e pour lancer le Genie. Si non sp\u00e9cifi\u00e9e, l'URL Genie par d\u00e9faut /profoundui/auth/genie sera utilis\u00e9e. Ce champ est utile dans le cas d'une URL Genie personnalis\u00e9e ou lorsque des param\u00e8tres de requ\u00eates sont n\u00e9cessaires. par exemple : /profoundui/auth/genie?skin=MyCompany";
|
|
429
424
|
a["open as"]="Ouvrir en tant que";a["open as hlp"]="D\u00e9finit si l'\u00e9l\u00e9ment doit \u00eatre ouvert dans un nouvel onglet du portail ou en tant que nouvelle fen\u00eatre/nouvel onglet du navigateur. L'utilisation d'une fen\u00eatre ou onglet du navigateur d\u00e9pend des r\u00e9glages de celui-ci.";a["opens once only"]="Ex\u00e9cution unique";a["opens once only hlp"]="Par d\u00e9faut, si l'utilisateur ex\u00e9cute l'\u00e9l\u00e9ment alors que celui-ci est d\u00e9j\u00e0 ouvert dans le portail, un nouvel onglet est utilis\u00e9. Il n'y a pas de limite du nombre d'onglets que l'utilisateur est capable d'ouvrir de cette fa\u00e7on. Quand cette option est coch\u00e9e, l'utilisateur ne pourra ouvrir qu'un seul onglet correspondant \u00e0 cet \u00e9l\u00e9ment. Si l'onglet est d\u00e9j\u00e0 ouvert, le fait d'ex\u00e9cuter l'\u00e9l\u00e9ment activera cet onglet. Cette option est ignor\u00e9e si l'\u00e9l\u00e9ment s'ouvre dans une nouvelle fen\u00eatre ou un nouvel onglet du navigateur.";
|
|
430
425
|
a.icon="Ic\u00f4ne";a["icon hlp"]="Optionnel. D\u00e9finit l'ic\u00f4ne utilis\u00e9e dans le menu de navigation ou la barre d'outils. L'ic\u00f4ne peut \u00eatre au format GIF, JPG ou PNG. Les GIF transparents sont recommand\u00e9s. Le chemin devra \u00eatre sp\u00e9cifi\u00e9 en absolu depuis le r\u00e9pertoire racine d'installation de l'Atrium. Si aucune ic\u00f4ne n'est sp\u00e9cifi\u00e9e, l'Atrium utilisera l'ic\u00f4ne par d\u00e9faut pour les \u00e9l\u00e9ments de navigation. Aucune ic\u00f4ne ne sera affich\u00e9e pour les \u00e9l\u00e9ments de la barre d'outils sauf si sp\u00e9cifi\u00e9e ici.";
|
|
431
|
-
a.parameter="Param\u00e8tre";a["parameter hlp"]="Optionnel: Sp\u00e9cifie un param\u00e8tre qui sera pass\u00e9 au program Rich Display lors de son ex\u00e9cution.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
426
|
+
a.parameter="Param\u00e8tre";a["parameter hlp"]="Optionnel: Sp\u00e9cifie un param\u00e8tre qui sera pass\u00e9 au program Rich Display lors de son ex\u00e9cution.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function fa(c){var a={};switch(c){case "runtimeMsg":a.closeMessage=" \u05d6\u05d4 \u05de\u05e1\u05d9\u05d9\u05dd \u05d0\u05ea \u05d4\u05e4\u05e2\u05dc\u05ea \u05d4\u05de\u05d7\u05e9\u05d1 \u05e9\u05dc\u05da.";a["no connection message"]=" \u05d0\u05d9\u05df \u05d0\u05e4\u05e9\u05e8\u05d5\u05ea \u05dc\u05d4\u05d2\u05d9\u05e2 \u05dc\u05e9\u05e8\u05ea. \u05d1\u05d3\u05d5\u05e7 \u05d0\u05ea \u05d4\u05d7\u05d9\u05d1\u05d5\u05e8 \u05e9\u05dc\u05da \u05d5\u05e0\u05e1\u05d4 \u05e9\u05d5\u05d1.";a["upload file limit"]=
|
|
432
427
|
" \u05de\u05d2\u05d1\u05dc\u05d4 \u05e9\u05dc &1 \u05e7\u05d5\u05d1\u05e5 (\u05d9\u05dd) \u05d7\u05e8\u05d2\u05d5.";a["upload size limit"]=' \u05de\u05d2\u05d1\u05dc\u05d4 \u05e9\u05dc \u05de"\u05d1 &1 \u05dc\u05e7\u05d5\u05d1\u05e5 \u05d7\u05e8\u05d2\u05d5.';a["upload no files"]=" \u05dc\u05d0 \u05e0\u05d1\u05d7\u05e8\u05d5 \u05e7\u05d1\u05e6\u05d9\u05dd.";a["upload duplicate file"]=" \u05e7\u05d1\u05e6\u05d9\u05dd \u05db\u05e4\u05d5\u05dc\u05d9\u05dd \u05e0\u05d1\u05d7\u05e8\u05d5.";a["upload file exists"]=
|
|
433
428
|
" \u05d0\u05d7\u05d3 \u05d0\u05d5 \u05d9\u05d5\u05ea\u05e8 \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd \u05db\u05d1\u05e8 \u05e7\u05d9\u05d9\u05de\u05d9\u05dd \u05d1\u05de\u05e2\u05e8\u05db\u05ea \u05d4\u05e7\u05d1\u05e6\u05d9\u05dd.";a["upload prevented"]=" \u05d4\u05de\u05d1\u05e6\u05e2 \u05dc\u05de\u05e0\u05d5\u05e2 \u05e2\u05dc \u05d9\u05d3\u05d9 \u05ea\u05db\u05e0\u05d9\u05ea \u05d4\u05d9\u05e6\u05d9\u05d0\u05d4.";a["upload input limit"]=" \u05de\u05d2\u05d1\u05dc\u05ea \u05d2\u05d5\u05d3\u05dc \u05e7\u05dc\u05d8 \u05d4\u05db\u05d5\u05dc\u05dc \u05d7\u05e8\u05d2\u05d5.";
|
|
434
429
|
a["upload no session"]=" \u05d0\u05d9\u05e0\u05d4 \u05de\u05d7\u05d5\u05d1\u05e8 \u05dc\u05d4\u05e4\u05e2\u05dc\u05ea \u05de\u05e1\u05d5\u05e3 \u05d1\u05ea\u05d5\u05e7\u05e3.";a["upload timeout"]=" \u05e2\u05e1\u05e7\u05d4 \u05ea\u05dd \u05d4\u05d6\u05de\u05df \u05e9\u05d4\u05d5\u05e7\u05e6\u05d1.";a["upload invalid response"]=" \u05ea\u05d2\u05d5\u05d1\u05ea \u05d4\u05e9\u05e8\u05ea \u05d4\u05d9\u05d0 \u05d7\u05e1\u05e8\u05d4 \u05d0\u05d5 \u05dc\u05d0 \u05d7\u05d5\u05e7\u05d9\u05ea.";a["upload cancelled"]=
|
|
@@ -479,7 +474,7 @@ a["current library"]="Current library";a["current library hlp"]="Specify the cur
|
|
|
479
474
|
a["action type"]="Action type";a["action type hlp"]="Sets the type of application that this item launches.";a.url="URL";a["url hlp"]="Sets the URL of the Web application. This can be specified either as an absolute path or a fully qualified URL. Query string parameters may be specified on the URL.";a["genie url"]="Genie URL";a["genie url hlp"]="Sets the URL that is used to launch Genie. If not specified, the default Genie URL /profoundui/auth/genie will be used. This field is useful if an alternate Genie URL or query string parameters are required. For example: /profoundui/auth/genie?skin=MyCompany";
|
|
480
475
|
a["open as"]="Open as";a["open as hlp"]="Sets whether to launch the item as a new tab in the portal, or as a new browser window or tab. Whether the browser uses a new window or tab depends on the user's browser settings.";a["opens once only"]="Opens once only";a["opens once only hlp"]="By default, if the user launches this item when a tab is already open to it in the portal, another tab will be opened to the item. There is no limitation on the number of tabs the user can open in this way. When this open is checked, the user will not be able to open more than one tab to this item. If there is already a tab open for the item when the user selects it, the existing tab will be activated. This option is ignored when opening the item in a new browser window or tab.";
|
|
481
476
|
a.icon="Icon";a["icon hlp"]="Optional. Sets an icon file to be used for the navigation or toolbar item. The icon file can be in GIF, JPG, or PNG format. Transparent GIFs are recommended. The path should be given as an absolute path from the root of the Atrium installation. If no icon is specified, Atrium will use a default icon for navigation items. No icon will be shown for toolbar items unless specified here.";a.parameter="Parameter";a["parameter hlp"]="Optional: Specifies a parameter that will be passed to your Rich Display program when it is launched.";
|
|
482
|
-
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
477
|
+
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function ha(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Questo terminer\u00e0 la sessione.";a["no connection message"]="Impossibile raggiungere il server. Controllare la connessione e riprovare.";a["upload file limit"]="Limite di &1 file superato.";a["upload size limit"]="Limite di &1MB per file superato.";a["upload no files"]="Nessun file selezionato.";a["upload duplicate file"]="Sono stati selezionati file duplicati.";a["upload file exists"]="Uno o pi\u00f9 file sono gi\u00e0 presenti nel file system.";
|
|
483
478
|
a["upload prevented"]="Operazione impedita da exit program.";a["upload input limit"]="Superato limite della dimensione totale input.";a["upload no session"]="Non collegato ad una sessione valida.";a["upload timeout"]="Scaduto il tempo per la transazione.";a["upload invalid response"]="La risposta del server \u00e8 mancante o non \u00e8 valida.";a["upload cancelled"]="Caricamento cancellato.";a["close browser text"]="Per completare la chiusura della sessione, chiudere la finestra del browser.";a["session ended text"]=
|
|
484
479
|
"La sessione si \u00e8 conclusa.";a["outside ucs2"]="Caratteri fuori dall'ambito UCS-2.";a["invalid number"]="&1 non \u00e8 un numero valido.";a["invalid length"]="&1 ha lunghezza dati o posizione decimale errata.";a["invalid decimal"]="&1 ha troppe cifre decimali. (max: &2)";a["invalid choice"]='"&1" non \u00e8 valido. Scelte valide sono: "&2" o "&3".';a["invalid date"]='"&1" non \u00e8 una data valida. Esempio di formato corretto: &2';a["invalid time"]='"&1" non \u00e8 un valore di tempo corretto. Esempio di formato corretto: &2';
|
|
485
480
|
a["invalid time stamp"]='"&1" non \u00e8 un riferimento di tempo valido. Esempio di formato corretto: &2';a["invalid percent"]="&1 non \u00e8 un decimale valido.";a["invalid digits"]='"&1" contiene troppe cifre. Max: &2';a["exceeds whole"]='"&1" supera il numero massimo di cifre per la parte intera del numero (&2 digits).';a["exceeds decimal"]='"&1" supera il numero massimo di cifre per la parte decimale (&2 digits).';a["zip too long"]="CAP \u00e8 troppo lungo. (Massimo: &1 cifre)";a["phone too long"]=
|
|
@@ -524,7 +519,7 @@ a["job descr"]="Descrizione del lavoro";a["job descr hlp"]="Specifica una descri
|
|
|
524
519
|
a["action type"]="Tipo di azione";a["action type hlp"]="Imposta il tipo di applicazione lanciata da questo elemento.";a.url="URL";a["url hlp"]="Imposta l'URL della Web application. Pu\u00f2 essere specificato sia come percorso assoluto sia come URL completo. I parametri di query possono essere specificati dell'URL.";a["genie url"]="Genie URL";a["genie url hlp"]="Imposta l'URL da usare per lanciare Genie. Se non \u00e8 specificato, verr\u00e0 usato l'ULR predefinito /profoundui/auth/genie. Questo campo \u00e8 utile se sono necessari un URL alternativo o dei parametri di query per Genie. Per esempio: /profoundui/auth/genie?skin=MyCompany";
|
|
525
520
|
a["open as"]="Apri come";a["open as hlp"]="Sceglie se aprire l'elemento come una nuova scheda nel portale, o come una nuova scheda o finestra del browser. Il fatto che il browser usi una nuova scheda o una nuova finestra dipende dalle impostazioni del browser dell'utente.";a["opens once only"]="Apri una sola volta";a["opens once only hlp"]="Di default, se l'utente lancia un elemento, questo verr\u00e0 aperto in un'altra scheda, anche se c'\u00e8 gi\u00e0 una scheda aperta nel portale per questo stesso elemento. Non c'\u00e8 un limite al numero di schede che l'utente pu\u00f2 aprire per uno stesso elemento. Quando questa opzione \u00e8 selezionata, l'utente potr\u00e0 aprire una sola scheda per questo elemento. Se c'\u00e8 gi\u00e0 una scheda aperta, verr\u00e0 selezionata. Questa opzione verr\u00e0 ignorata quando si apre l'elemento in una nuova finestra o scheda del browser.";
|
|
526
521
|
a.icon="Icona";a["icon hlp"]="Opzionale. Imposta un file icona da usare per l'elemento della barra degli strumenti. Il file pu\u00f2 essere in formato GIF, JPG, o PNG. Si consiglia di usare GIF trasparenti. Il percorso del file deve essere specificato come percorso assoluto rispetto alla root dell'installazione di Atrium. Se non \u00e8 specificata nessuna icona, Atrium user\u00e0 un'icona predefinita per gli elementi di navigazione, mentre per gli elementi della barra degli strumenti non verr\u00e0 mostrata nessuna icona.";
|
|
527
|
-
a.parameter="Parametro";a["parameter hlp"]="Opzionale: specifica un parametro che verr\u00e0 inviato al Rich Display program quando viene lanciato.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
522
|
+
a.parameter="Parametro";a["parameter hlp"]="Opzionale: specifica un parametro che verr\u00e0 inviato al Rich Display program quando viene lanciato.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function ia(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u7d42\u4e86";a["no connection message"]="\u30b5\u30fc\u30d0\u30fc\u306b\u5230\u9054\u3067\u304d\u307e\u305b\u3093\u3002\u63a5\u7d9a\u3092\u78ba\u8a8d\u3057\u3001\u3082\u3046\u4e00\u5ea6\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002";a["upload file limit"]="&1\u30d5\u30a1\u30a4\u30eb\u306e\u5236\u9650\u3092\u8d85\u3048\u307e\u3057\u305f\u3002";a["upload size limit"]="1\u30d5\u30a1\u30a4\u30eb\u3042\u305f\u308a&1MB\u306e\u5236\u9650\u3092\u8d85\u3048\u307e\u3057\u305f\u3002";
|
|
528
523
|
a["upload no files"]="\u30d5\u30a1\u30a4\u30eb\u304c\u9078\u629e\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002";a["upload duplicate file"]="\u91cd\u8907\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u304c\u9078\u629e\u3055\u308c\u307e\u3057\u305f\u3002";a["upload file exists"]="1\u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u65e2\u306b\u30b7\u30b9\u30c6\u30e0\u4e0a\u306b\u5b58\u5728\u3057\u307e\u3059\u3002";a["upload prevented"]="EXIT\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u3088\u308a\u64cd\u4f5c\u304c\u4e2d\u65ad\u3055\u308c\u307e\u3057\u305f\u3002";
|
|
529
524
|
a["upload input limit"]="\u5408\u8a08\u5165\u529b\u30b5\u30a4\u30ba\u306e\u5236\u9650\u3092\u8d85\u3048\u307e\u3057\u305f\u3002";a["upload no session"]="\u6709\u52b9\u306a\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u63a5\u7d9a\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002";a["upload timeout"]="\u30c8\u30e9\u30f3\u30b6\u30af\u30b7\u30e7\u30f3\u304c\u30bf\u30a4\u30e0\u30a2\u30a6\u30c8\u3057\u307e\u3057\u305f\u3002";a["upload invalid response"]="\u30b5\u30fc\u30d0\u30fc\u306e\u5fdc\u7b54\u304c\u7121\u3044\u304b\u3001\u7121\u52b9\u3067\u3059\u3002";
|
|
530
525
|
a["upload cancelled"]="\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u4e2d\u65ad\u3055\u308c\u307e\u3057\u305f\u3002";a["close browser text"]="\u30ed\u30b0\u30aa\u30d5\u30d7\u30ed\u30bb\u30b9\u3092\u5b8c\u4e86\u3059\u308b\u306b\u306f\u3001\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002";a["session ended text"]="\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u7d42\u4e86\u3057\u307e\u3057\u305f\u3002";a["outside ucs2"]="\u6587\u5b57\u306fUCS-2\u306e\u7bc4\u56f2\u5916\u3067\u3059\u3002";
|
|
@@ -597,7 +592,7 @@ a["genie url"]="Genie URL";a["genie url hlp"]="Genie\u3092\u8d77\u52d5\u3059\u30
|
|
|
597
592
|
a["open as"]="\u958b\u304f";a["open as hlp"]="\u30a2\u30a4\u30c6\u30e0\u3092\u30dd\u30fc\u30bf\u30eb\u306e\u65b0\u3057\u3044\u30bf\u30d6\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b\u304b\u3001\u65b0\u3057\u3044\u30d6\u30e9\u30a6\u30b6\u3068\u3057\u3066\u8d77\u52d5\u3059\u308b\u304b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30d6\u30e9\u30a6\u30b6\u304c\u65b0\u3057\u3044\u30a6\u30a3\u30f3\u30c9\u30a6\u307e\u305f\u306f\u30bf\u30d6\u3092\u4f7f\u7528\u3059\u308b\u304b\u306f\u30e6\u30fc\u30b6\u30fc\u306e\u30d6\u30e9\u30a6\u30b6\u8a2d\u5b9a\u306b\u3088\u3063\u3066\u7570\u306a\u308a\u307e\u3059\u3002";
|
|
598
593
|
a["opens once only"]="1\u56de\u306e\u307f\u958b\u304f";a["opens once only hlp"]="\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u30dd\u30fc\u30bf\u30eb\u3067\u3059\u3067\u306b\u30bf\u30d6\u304c\u958b\u3044\u3066\u3044\u308b\u72b6\u614b\u3067\u30e6\u30fc\u30b6\u30fc\u304c\u3053\u306e\u30a2\u30a4\u30c6\u30e0\u3092\u8d77\u52d5\u3059\u308b\u3068\u3001\u30a2\u30a4\u30c6\u30e0\u306b\u5bfe\u3057\u3066\u5225\u306e\u30bf\u30d6\u304c\u958b\u304b\u308c\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306b\u30e6\u30fc\u30b6\u30fc\u304c\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u30bf\u30d6\u306e\u6570\u306b\u5236\u9650\u306f\u3042\u308a\u307e\u305b\u3093\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u30aa\u30f3\u306b\u3059\u308b\u3068\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u3053\u306e\u30a2\u30a4\u30c6\u30e0\u306b\u8907\u6570\u306e\u30bf\u30d6\u3092\u958b\u304f\u3053\u3068\u304c\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u30e6\u30fc\u30b6\u30fc\u304c\u9805\u76ee\u3092\u9078\u629e\u3057\u305f\u3068\u304d\u306b\u30a2\u30a4\u30c6\u30e0\u306b\u5bfe\u3057\u3066\u3059\u3067\u306b\u958b\u3044\u3066\u3044\u308b\u30bf\u30d6\u304c\u3042\u308b\u5834\u5408\u3001\u65e2\u5b58\u306e\u30bf\u30d6\u304c\u30a2\u30af\u30c6\u30a3\u30d6\u306b\u306a\u308a\u307e\u3059\u3002\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u3001\u65b0\u3057\u3044\u30d6\u30e9\u30a6\u30b6\u306e\u30a6\u30a3\u30f3\u30c9\u30a6\u307e\u305f\u306f\u30bf\u30d6\u3067\u30a2\u30a4\u30c6\u30e0\u3092\u958b\u304f\u3068\u304d\u306f\u7121\u8996\u3055\u308c\u307e\u3059\u3002";
|
|
599
594
|
a.icon="\u30a2\u30a4\u30b3\u30f3";a["icon hlp"]="\u30aa\u30d7\u30b7\u30e7\u30f3\u3002\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u307e\u305f\u306f\u30c4\u30fc\u30eb\u30d0\u30fc\u9805\u76ee\u306b\u4f7f\u7528\u3059\u308b\u30a2\u30a4\u30b3\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u30a2\u30a4\u30b3\u30f3\u30d5\u30a1\u30a4\u30eb\u306f GIF\u3001JPG\u3001\u307e\u305f\u306fPNG\u5f62\u5f0f\u306b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u900f\u904eGIF\u3092\u63a8\u5968\u3057\u307e\u3059\u3002\u30d1\u30b9\u306fAtrium\u5c0e\u5165\u306e\u30eb\u30fc\u30c8\u304b\u3089\u7d76\u5bfe\u30d1\u30b9\u3068\u3057\u3066\u6307\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30a4\u30b3\u30f3\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001Atrium\u306f\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u9805\u76ee\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30a2\u30a4\u30b3\u30f3\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u3053\u3053\u306b\u6307\u5b9a\u3055\u308c\u3066\u3044\u306a\u3044\u9650\u308a\u3001\u30c4\u30fc\u30eb\u30d0\u30fc\u9805\u76ee\u306e\u30a2\u30a4\u30b3\u30f3\u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002";
|
|
600
|
-
a.parameter="\u30d1\u30e9\u30e1\u30fc\u30bfr";a["parameter hlp"]="\u30aa\u30d7\u30b7\u30e7\u30f3: \u30ea\u30c3\u30c1\u753b\u9762\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u8d77\u52d5\u3055\u308c\u305f\u3068\u304d\u306b\u30ea\u30c3\u30c1\u753b\u9762\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6e21\u3055\u308c\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
595
|
+
a.parameter="\u30d1\u30e9\u30e1\u30fc\u30bfr";a["parameter hlp"]="\u30aa\u30d7\u30b7\u30e7\u30f3: \u30ea\u30c3\u30c1\u753b\u9762\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u8d77\u52d5\u3055\u308c\u305f\u3068\u304d\u306b\u30ea\u30c3\u30c1\u753b\u9762\u30d7\u30ed\u30b0\u30e9\u30e0\u306b\u6e21\u3055\u308c\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function ja(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="Hiermee wordt uw sessie afgesloten.";a["no connection message"]="Geen contact met de server mogelijk. Controleer de verbinding en probeer opnieuw.";a["upload file limit"]="Limiet van &1 bestand(en) overschreden.";a["upload size limit"]="Limiet van &1MB per bestand overschreden";a["upload no files"]="Geen bestanden geselecteerd.";a["upload duplicate file"]="Identieke bestanden geselecteerd.";a["upload file exists"]="Een of meerdere bestanden staan al in het file systeem.";
|
|
601
596
|
a["upload prevented"]="Handeling geblokkeerd door het exit programma.";a["upload input limit"]="Limiet van totale input grootte overschreden.";a["upload no session"]="Geen verbinding met een geldige sessie.";a["upload timeout"]="Timeout van de transactie.";a["upload invalid response"]="Geen(geldig) antwoord van de server.";a["upload cancelled"]="Upload geannuleerd.";a["close browser text"]="Sluit het browser scherm om het logoff proces te voltooien.";a["session ended text"]="Sessie is be\u00ebindigd.";
|
|
602
597
|
a["outside ucs2"]="Tekens niet UCS-2.";a["invalid number"]="&1 is geen geldig nummer.";a["invalid length"]="Lengte of aantal decimalen van &1 is ongeldig.";a["invalid decimal"]="Aantal decimalen van &1 ongeldig. (max: &2)";a["invalid choice"]='"&1" is ongeldig. Geldige keuzes zijn: "&2" of "&3".';a["invalid date"]='"&1" is geen geldige datum. Voorbeeld opmaak: &2';a["invalid time"]='"&1" is geen geldige tijd. Voorbeeld opmaak: &2';a["invalid time stamp"]='"&1" is geen geldige time stamp. Voorbeeld opmaak: &2';
|
|
603
598
|
a["invalid percent"]="&1 is geen geldige decimaal.";a["invalid digits"]='"&1" heeft teveel cijfers. Max: &2';a["exceeds whole"]='"&1" overschrijd het maximaal aantal cijfers voor het totale veld (&2 cijfers).';a["exceeds decimal"]='"&1" overschrijd het maximaal aantal cijfers voor het decimale deel (&2 cijfers).';a["zip too long"]="Postcode te lang. (Maximum: &1 cijfers)";a["phone too long"]="Telefoonnummer te lang. (Maximum: &1 cijfers)";a["ssno too long"]="Sofinummer te lang. (Maximum: &1 cijfers)";
|
|
@@ -640,7 +635,7 @@ a["current library"]="Huidige bibliotheek";a["current library hlp"]="Geef de hui
|
|
|
640
635
|
a["item name"]="Naam item";a["item name hlp"]="Stelt de naam in van het display voor het navigatie of toolbar item.";a["action type"]="Actie type";a["action type hlp"]="Stelt het type toepassing in dat door dit item wordt gestart.";a.url="URL";a["url hlp"]="Stelt de URL in van de Web toepassing. De URL kan worden opgegeven als een absoluut pad of als een volledig gekwalificeerde URL. In de URL kunnen Query string parameters worden meegegeven.";a["genie url"]="Genie URL";a["genie url hlp"]="Stelt de URL in die wordt gebruikt om Genie te starten. Als hier niets wordt ingevuld wordt de standaard Genie URL /profoundui/auth/genie gebruikt. Dit veld is handig als er een andere Genie URL nodig is of als er met query string parameters wordt gewerkt. Bijvoorbeeld: /profoundui/auth/genie?skin=MyCompany";
|
|
641
636
|
a["open as"]="Openen als";a["open as hlp"]="Keuze of de toepassing onder een nieuwe tab in de portal wordt gestart, of in een afzonderlijke browser window of een tab. Of de browser een nieuwe window gebruikt of een tab is afhankelijk van de gebruikersinstelling in de browser.";a["opens once only"]="Open eenmalig";a["opens once only hlp"]="Standaard wordt er een nieuwe tab geopend met het opstarten van een item. Als er al een tab is geopend in de portal wordt er een nieuwe toegevoegd. Er is geen limiet aan het aantal tabs dat op deze manier kan worden geopend. Als deze optie wordt aangevinkt kan de gebruiker niet meer dan 1 tab per item openen. Als er al een tab is geopend voor dit item zal deze na de selectie worden gebruikt. Deze optie is niet actief als er is gekozen voor het openen van het item in een afzonderlijk browser window of tab.";
|
|
642
637
|
a.icon="Icoon";a["icon hlp"]="Optioneel. Geef de naam op van een icon file voor gebruik door het navigatie of toolbar item. Geldige icon file formaten zijn GIF, JPG, or PNG. Het wordt aanbevolen om transparente GIFs te gebruiken. Gebruik het absolute pad van de root van de Atrium installatie. Als er geen icon is opgegeven gebruikt Atrium een default icon voor de navigatie. Mits hier opgegeven, worden er geen icons voor de toolbar items getoond.";a.parameter="Parameter";a["parameter hlp"]="Optioneel: Geef een parameter mee die bij het starten aan het Rich Display programma wordt doorgegeven.";
|
|
643
|
-
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
638
|
+
break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function ma(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="A sua sess\u00e3o ir\u00e1 terminar.";a["no connection message"]="N\u00e3o \u00e9 poss\u00edvel estabelecer liga\u00e7\u00e3o com o servidor. Verifique a liga\u00e7\u00e3o e tente de novo.";a["upload file limit"]="Limite de &1 arquivo(s) excedido.";a["upload size limit"]="Limite de &1MB por arquivo excedido";a["upload no files"]="N\u00e3o h\u00e1 arquivos selecionados.";a["upload duplicate file"]="Foram selecionados arquivos em duplicado.";
|
|
644
639
|
a["upload file exists"]="Um ou mais arquivos j\u00e1 existem no sistema de arquivos.";a["upload prevented"]="Opera\u00e7\u00e3o impedida por 'exit program'.";a["upload input limit"]="Foi excedido o limite do tamanho total do 'input'.";a["upload no session"]="N\u00e3o est\u00e1 conectado a uma sess\u00e3o v\u00e1lida.";a["upload timeout"]="Foi excedido o tempo limite para a transac\u00e7\u00e3o.";a["upload invalid response"]="N\u00e3o existe resposta do servidor ou a mesma \u00e9 inv\u00e1lida.";a["upload cancelled"]=
|
|
645
640
|
"Upload cancelado.";a["close browser text"]="A fim de completar o processo de encerramento da sess\u00e3o, por favor feche a janela do browser.";a["session ended text"]="A sua sess\u00e3o foi encerrada.";a["outside ucs2"]="Caract\u00e9res fora do \u00e2mbito UCS-2.";a["invalid number"]="&1 n\u00e3o \u00e9 um n\u00famero v\u00e1lido.";a["invalid length"]="&1 tem comprimento ou n\u00famero de casas decimais incorrectos.";a["invalid decimal"]="&1 tem demasiadas casas decimais. (max: &2)";a["invalid choice"]=
|
|
646
641
|
'"&1" \u00e9 inv\u00e1lido. Escolhas v\u00e1lidas s\u00e3o: "&2" ou "&3".';a["invalid date"]='"&1" n\u00e3o \u00e9 uma data v\u00e1lida. Exemplo de formato correcto: &2';a["invalid time"]='"&1" n\u00e3o \u00e9 uma hora v\u00e1lida. Exemplo de formato correcto: &2';a["invalid time stamp"]='"&1" n\u00e3o \u00e9 um formato de data e hora v\u00e1lido. Exemplo de formato correcto: &2';a["invalid percent"]="&1 n\u00e3o \u00e9 um valor decimal.";a["invalid digits"]='"&1" cont\u00e9m demasiados d\u00edgitos. Max: &2';
|
|
@@ -688,7 +683,7 @@ a["single click nav"]="Navega\u00e7\u00e3o com apenas um click";a["single click
|
|
|
688
683
|
a["action type"]="Tipo de Ac\u00e7\u00e3o.";a["action type hlp"]="Define o tipo de aplica\u00e7\u00e3o que este Item lan\u00e7a.";a.url="URL";a["url hlp"]="Define o URL da aplica\u00e7\u00e3o Web. Pode ser especificado como um caminho absoluto ou um URL definido na sua totalidade. Parametros de Query podem ser especificados no URL.";a["genie url"]="URL de Genie";a["genie url hlp"]="Define o URL que \u00e9 utilizado para lan\u00e7ar o Genie. Se n\u00e3o for especificado, ser\u00e1 utilizado o URL Default do Genie /profoundui/auth/genie . Este campo \u00e9 util se um URL alternativo do Genie ou parametros de qwery forem requeridos. Por exemplo: /profoundui/auth/genie?skin=MyCompany";
|
|
689
684
|
a["open as"]="Abrir como";a["open as hlp"]="Define se abre o item como um novo separador no portal ou como uma nova janela ou separador do browser. Se o browser utiliza a defini\u00e7\u00e3o de nova janela ou separador, depende das defini\u00e7\u00f5es do utilizador no browser.";a["opens once only"]="Abre apenas uma vez";a["opens once only hlp"]="Por defeito, se o utilizador lan\u00e7ar este item quando este j\u00e1 tem um separador aberto no portal, um outro separador ser\u00e1 aberto para o item. N\u00e3o existe limita\u00e7\u00e3o no n\u00famero de separadores que o utilizador pode abrir desta forma. Quando 'this open' est\u00e1 seleccionado, o utilzador n\u00e3o poder\u00e1 abrir mais que um separador para o item. Se j\u00e1 estiver aberto um separador para este item, o separador existente ser\u00e1 activado. Esta op\u00e7\u00e3o \u00e9 ignorada quando o se abre o item numa nova janela ou separador do browser.";
|
|
690
685
|
a.icon="Icon";a["icon hlp"]="Opcional. Definie o ficheiro de icon a ser utilizado na navega\u00e7\u00e3o ou barra de ferramentas. O ficheiro do icon pode ser dos formatos GIF, JPG, or PNG. GIFs transparentes s\u00e3o recomendados. O caminho deve ser dado com absoluto desde a raiz da instala\u00e7\u00e3o do Atrium. Se nenhum icon for especificado, Atrium ir\u00e1 utilizar o icon por defeito para os itens de navega\u00e7\u00e3o. Nenhum icon ser\u00e1 mostrado para a barra de ferramentas, a n\u00e3o ser que seja especificado aqui.";
|
|
691
|
-
a.parameter="Par\u00e2metro";a["parameter hlp"]="Opcional: Define o par\u00e2metro que ir\u00e1 ser passado para o Rich Display do programa quando este \u00e9 lan\u00e7ado.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
686
|
+
a.parameter="Par\u00e2metro";a["parameter hlp"]="Opcional: Define o par\u00e2metro que ir\u00e1 ser passado para o Rich Display do programa quando este \u00e9 lan\u00e7ado.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function na(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="A sua sess\u00e3o ir\u00e1 terminar.";a["no connection message"]="N\u00e3o \u00e9 poss\u00edvel estabelecer liga\u00e7\u00e3o com o servidor. Verifique a liga\u00e7\u00e3o e tente de novo.";a["upload file limit"]="Limite de &1 ficheiro(s) excedido.";a["upload size limit"]="Limite de &1MB por ficheiro excedido";a["upload no files"]="N\u00e3o h\u00e1 ficheiros selecionados.";a["upload duplicate file"]="Foram selecionados ficheiros em duplicado.";
|
|
692
687
|
a["upload file exists"]="Um ou mais ficheiros j\u00e1 existem no sistema de ficheiros.";a["upload prevented"]="Opera\u00e7\u00e3o impedida por 'exit program'.";a["upload input limit"]="Foi excedido o limite do tamanho total do 'input'.";a["upload no session"]="N\u00e3o est\u00e1 conectado a uma sess\u00e3o v\u00e1lida.";a["upload timeout"]="Foi excedido o tempo limite para a transac\u00e7\u00e3o.";a["upload invalid response"]="N\u00e3o existe resposta do servidor ou a mesma \u00e9 inv\u00e1lida.";
|
|
693
688
|
a["upload cancelled"]="Upload cancelado.";a["close browser text"]="A fim de completar o processo de encerramento da sess\u00e3o, por favor feche a janela do browser.";a["session ended text"]="A sua sess\u00e3o foi encerrada.";a["outside ucs2"]="Caract\u00e9res fora do \u00e2mbito UCS-2.";a["invalid number"]="&1 n\u00e3o \u00e9 um n\u00famero v\u00e1lido.";a["invalid length"]="&1 tem comprimento ou n\u00famero de casas decimais incorrectos.";a["invalid decimal"]="&1 tem demasiadas casas decimais. (max: &2)";
|
|
694
689
|
a["invalid choice"]='"&1" \u00e9 inv\u00e1lido. Escolhas v\u00e1lidas s\u00e3o: "&2" ou "&3".';a["invalid date"]='"&1" n\u00e3o \u00e9 uma data v\u00e1lida. Exemplo de formato correcto: &2';a["invalid time"]='"&1" n\u00e3o \u00e9 uma hora v\u00e1lida. Exemplo de formato correcto: &2';a["invalid time stamp"]='"&1" n\u00e3o \u00e9 um formato de data e hora v\u00e1lido. Exemplo de formato correcto: &2';a["invalid percent"]="&1 n\u00e3o \u00e9 um valor decimal.";a["invalid digits"]='"&1" cont\u00e9m demasiados d\u00edgitos. Max: &2';
|
|
@@ -736,7 +731,7 @@ a["single click nav"]="Navega\u00e7\u00e3o com apenas um click";a["single click
|
|
|
736
731
|
a["action type"]="Tipo de Ac\u00e7\u00e3o.";a["action type hlp"]="Define o tipo de aplica\u00e7\u00e3o que este Item lan\u00e7a.";a.url="URL";a["url hlp"]="Define o URL da aplica\u00e7\u00e3o Web. Pode ser especificado como um caminho absoluto ou um URL definido na sua totalidade. Parametros de Query podem ser especificados no URL.";a["genie url"]="URL de Genie";a["genie url hlp"]="Define o URL que \u00e9 utilizado para lan\u00e7ar o Genie. Se n\u00e3o for especificado, ser\u00e1 utilizado o URL Default do Genie /profoundui/auth/genie . Este campo \u00e9 util se um URL alternativo do Genie ou parametros de qwery forem requeridos. Por exemplo: /profoundui/auth/genie?skin=MyCompany";
|
|
737
732
|
a["open as"]="Abrir como";a["open as hlp"]="Define se abre o item como um novo separador no portal ou como uma nova janela ou separador do browser. Se o browser utiliza a defini\u00e7\u00e3o de nova janela ou separador, depende das defini\u00e7\u00f5es do utilizador no browser.";a["opens once only"]="Abre apenas uma vez";a["opens once only hlp"]="Por defeito, se o utilizador lan\u00e7ar este item quando este j\u00e1 tem um separador aberto no portal, um outro separador ser\u00e1 aberto para o item. N\u00e3o existe limita\u00e7\u00e3o no n\u00famero de separadores que o utilizador pode abrir desta forma. Quando 'this open' est\u00e1 seleccionado, o utilzador n\u00e3o poder\u00e1 abrir mais que um separador para o item. Se j\u00e1 estiver aberto um separador para este item, o separador existente ser\u00e1 activado. Esta op\u00e7\u00e3o \u00e9 ignorada quando o se abre o item numa nova janela ou separador do browser.";
|
|
738
733
|
a.icon="Icon";a["icon hlp"]="Opcional. Definie o ficheiro de icon a ser utilizado na navega\u00e7\u00e3o ou barra de ferramentas. O ficheiro do icon pode ser dos formatos GIF, JPG, or PNG. GIFs transparentes s\u00e3o recomendados. O caminho deve ser dado com absoluto desde a raiz da instala\u00e7\u00e3o do Atrium. Se nenhum icon for especificado, Atrium ir\u00e1 utilizar o icon por defeito para os itens de navega\u00e7\u00e3o. Nenhum icon ser\u00e1 mostrado para a barra de ferramentas, a n\u00e3o ser que seja especificado aqui.";
|
|
739
|
-
a.parameter="Par\u00e2metro";a["parameter hlp"]="Opcional: Define o par\u00e2metro que ir\u00e1 ser passado para o Rich Display do programa quando este \u00e9 lan\u00e7ado.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function
|
|
734
|
+
a.parameter="Par\u00e2metro";a["parameter hlp"]="Opcional: Define o par\u00e2metro que ir\u00e1 ser passado para o Rich Display do programa quando este \u00e9 lan\u00e7ado.";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};function oa(c){var a={};switch(c){case "runtimeMsg":a.closeMessage="\u9019\u6703\u7d50\u675f\u4f60\u7684\u968e\u6bb5\u4f5c\u696d";a["no connection message"]="\u7121\u6cd5\u9023\u63a5\u670d\u52d9\u5668\uff0c\u8acb\u6aa2\u67e5\u60a8\u7684\u9023\u63a5\u4e26\u91cd\u8a66";a["upload file limit"]="\u8d85\u51fa&1\u500b\u6a94\u6848\u7684\u9650\u5236";a["upload size limit"]="\u8d85\u51fa\u6bcf\u500b\u6a94\u6848&1MB\u7684\u9650\u5236";a["upload no files"]="\u6c92\u6709\u9078\u4e0a\u6a94\u6848";a["upload duplicate file"]=
|
|
740
735
|
"\u91cd\u8907\u9078\u4e0a\u76f8\u540c\u6a94\u6848";a["upload file exists"]="\u7cfb\u7d71\u4e0a\u5df2\u5b58\u5728\u4e00\u500b\u6216\u591a\u500b\u76f8\u540c\u6a94\u6848";a["upload prevented"]="\u9000\u51fa\u7a0b\u5e8f\u5df2\u963b\u6b62\u4e0a\u50b3\u64cd\u4f5c";a["upload input limit"]="\u8d85\u51fa\u7e3d\u4e0a\u50b3\u6a94\u6848\u7684\u5bb9\u91cf\u9650\u5236";a["upload no session"]="\u6c92\u6709\u9023\u4e0a\u6709\u6548\u968e\u6bb5\u4f5c\u696d";a["upload timeout"]="\u8d85\u51fa\u4e0a\u50b3\u53ef\u7528\u6642\u9593";
|
|
741
736
|
a["upload invalid response"]="\u670d\u52d9\u5668\u6c92\u6709\u56de\u61c9\u6216\u56de\u61c9\u7121\u6548";a["upload cancelled"]="\u4e0a\u50b3\u5df2\u53d6\u6d88";a["close browser text"]="\u8acb\u95dc\u9589\u700f\u89bd\u5668\u5df2\u5b8c\u6210\u767b\u51fa\u7a0b\u5e8f";a["session ended text"]="\u4f60\u7684\u968e\u6bb5\u4f5c\u696d\u5df2\u7d50\u675f";a["outside ucs2"]="\u5b57\u7b26\u5df2\u8d85\u51faUCS-2\u7bc4\u570d";a["invalid number"]="&1\u4e0d\u662f\u6709\u6548\u7684\u865f\u78bc";a["invalid length"]="&1\u7684\u6578\u64da\u9577\u5ea6\u6216\u5c0f\u6578\u4f4d\u6578\u4e0d\u6b63\u78ba";
|
|
742
737
|
a["invalid decimal"]="&1\u5df2\u8d85\u51fa\u5c0f\u6578\u4f4d\u6578\u3002 (\u6700\u5927\uff1a &2)";a["invalid choice"]='\u9078\u64c7" &1"\u7121\u6548,\u6709\u6548\u7684\u9078\u64c7\u662f\uff1a" &2" \u6216" &3"';a["invalid date"]='"&1"\u4e0d\u662f\u6709\u6548\u65e5\u671f\u683c\u5f0f.\u6709\u6548\u65e5\u671f\u683c\u5f0f\uff1a &2';a["invalid time"]='"&1"\u4e0d\u662f\u6709\u6548\u6642\u9593\u683c\u5f0f.\u6709\u6548\u6642\u9593\u683c\u5f0f\uff1a &2';a["invalid time stamp"]='"&1"\u4e0d\u662f\u6709\u6548\u7684\u6642\u9593\u6233\u683c\u5f0f.\u6709\u6548\u6642\u9593\u6233\u683c\u5f0f\uff1a &2';
|
|
@@ -790,393 +785,389 @@ a["single click nav"]="\u55ae\u64ca\u5c0e\u822a";a["single click nav hlp"]="\u59
|
|
|
790
785
|
a["genie url"]="Genie \u7db2\u5740";a["genie url hlp"]="\u8a2d\u7f6e\u7528\u65bc\u555f\u52d5Genie\u7684\u7db2\u5740\uff0c\u5982\u679c\u672a\u6307\u5b9a\uff0c\u5c07\u4f7f\u7528\u9ed8\u8a8d\u7684Genie \u7db2\u5740 /profoundui/auth/genie \u3002\u5982\u679c\u80fd\u63d0\u4f9b\u5099\u7528Genie \u7db2\u5740\u6216\u67e5\u8a62\u5b57\u7b26\u7684\u53c3\u6578\u90a3\u5c31\u5f88\u6709\u7528\u4e86\uff0c\u4f8b\u5982\uff1a/profoundui/auth/genie?skin=MyCompany";a["open as"]="\u6253\u958b\u70ba";a["open as hlp"]="\u8a2d\u7f6e\u662f\u5426\u5728\u5165\u53e3\u7db2\u7ad9\u4e2d\u4ee5\u65b0\u7684\u9078\u9805\u5361\u53bb\u555f\u52d5\u9019\u500b\u9805\u76ee\uff0c\u6216\u8005\u4f5c\u70ba\u65b0\u7684\u700f\u89bd\u5668\u8996\u7a97\u6216\u9078\u9805\u5361\u3002\u700f\u89bd\u5668\u662f\u5426\u4f7f\u7528\u65b0\u8996\u7a97\u6216\u9078\u9805\u5361\u53d6\u6c7a\u65bc\u7528\u6236\u7684\u700f\u89bd\u5668\u8a2d\u7f6e\u3002";
|
|
791
786
|
a["opens once only"]="\u50c5\u6253\u958b\u4e00\u6b21";a["opens once only hlp"]="\u5728\u9ed8\u8a8d\u60c5\u6cc1\u4e0b\uff0c\u5982\u679c\u7528\u6236\u5728\u5165\u53e3\u7db2\u7ad9\u4e2d\u5df2\u7d93\u6253\u958b\u4e00\u500b\u9078\u9805\u5361\u540c\u4e8b\u555f\u52d5\u6b64\u9805\u76ee\uff0c\u90a3\u9ebc\u6703\u6253\u958b\u53e6\u4e00\u500b\u9078\u9805\u5361\u3002\u7531\u65bc\u5c0d\u9078\u9805\u5361\u6578\u91cf\u6c92\u6709\u9650\u5236,\u6240\u4ee5\u7528\u6236\u53ef\u4ee5\u7528\u9019\u7a2e\u65b9\u5f0f\u6253\u958b\uff0c\u7576\u6253\u958b\u9019\u500b\u9078\u9805\u6642\uff0c\u7528\u6236\u5c07\u7121\u6cd5\u6253\u958b\u591a\u500b\u9078\u9805\u5361\uff0c\u5982\u679c\u7528\u6236\u9078\u64c7\u8a72\u9078\u9805\u5361\u6642\u5df2\u7d93\u6253\u958b\u4e86\u53e6\u4e00\u500b\u9078\u9805\u5361\uff0c\u73fe\u6709\u7684\u9078\u9805\u5361\u5c07\u6703\u5728\u65b0\u7684\u700f\u89bd\u5668\u8996\u7a97\u6216\u6a19\u7c64\u4e2d\u6253\u958b\u8a72\u9805\u76ee\u6642\uff0c\u8a72\u9078\u9805\u5c07\u88ab\u5ffd\u7565\u3002";
|
|
792
787
|
a.icon="\u5716\u6a19";a["icon hlp"]="\u53ef\u9078\u64c7\u7684: \u8a2d\u7f6e\u5c0e\u822a\u6216\u5de5\u5177\u6b04\u9805\u76ee\u4f7f\u7528\u7684\u5716\u6a19\u6a94\u6848\uff0c\u5716\u6a19\u6a94\u6848\u53ef\u4ee5\u662fGIF\uff0cJPG\u6216PNG\u683c\u5f0f\uff0c\u63a8\u85a6\u4f7f\u7528\u6e05\u695a\u6613\u61c2\u7684GIF\uff0c\u8def\u5f91\u61c9\u8a72\u70baAtrium\u5b89\u88dd\u76ee\u9304\u7684\u7d55\u5c0d\u8def\u5f91\uff0c\u5982\u679c\u6c92\u6709\u6307\u5b9a\u5716\u6a19\uff0cAtrium\u5c07\u4f7f\u7528\u5c0e\u822a\u9805\u76ee\u7684\u9ed8\u8a8d\u5716\u6a19\uff0c\u9664\u975e\u5728\u6b64\u6307\u5b9a\uff0c\u5426\u5247\u5de5\u5177\u6b04\u9805\u76ee\u4e0d\u6703\u986f\u793a\u4efb\u4f55\u5716\u6a19\u3002";
|
|
793
|
-
a.parameter="\u53c3\u6578";a["parameter hlp"]="\u53ef\u9078\u64c7\u7684: \u6307\u5b9a\u5728\u555f\u52d5\u6642\u5c07\u50b3\u905e\u7d66Rich Display\u7a0b\u5f0f\u7684\u53c3\u6578";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};
|
|
794
|
-
pui.getLanguageText=function(c,a,d){var e
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
pui.runtimeText.es_ES=
|
|
798
|
-
pui.runtimeMsg.nl_NL=
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
"yes")
|
|
807
|
-
{setValue:function(c){typeof c
|
|
808
|
-
|
|
809
|
-
callback:function(c,a,d){
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
a}}
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
handler:function(){
|
|
818
|
-
handler:function(){
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
"
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
a)
|
|
831
|
-
|
|
832
|
-
null)+" atrium-toolbar-option",actionType:d
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
k.
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
renderer:function(
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
enableDD
|
|
853
|
-
|
|
854
|
-
e){var f=Ext.getCmp("Atrium-fav-newButton"),g=Ext.getCmp("Atrium-fav-renameButton"),h=Ext.getCmp("Atrium-fav-removeButton");f.disable();g.disable();h.disable();c(d,e);
|
|
855
|
-
|
|
856
|
-
c.appendChild(
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
null,"/",null,null,"Strict");
|
|
870
|
-
{
|
|
871
|
-
|
|
872
|
-
{
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
e+="<input id='
|
|
883
|
-
|
|
884
|
-
e+="<
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
width:250}]}),d=new Ext.Window({title:"New Test",width:400,height:145,layout:"fit",shadow:false,modal:true,resizable:false,items:[a],buttons:[{text:"Create",handler:function(){if(a.getForm().isValid()){var f=a.getForm().findField("testDescription").getValue(),g=c.id;S.a.d.msg=pui.getLanguageText("runtimeText","please wait");S.a.d.show();Ext.Ajax.request({url:"/auto-testing/create-test",method:"POST",jsonData:{itemId:g,description:f},success:function(h){var j=Ext.decode(h.responseText).testId;if(j)c.reload(function(){c.expand();
|
|
889
|
-
setTimeout(function(){var k=c.findChild("id","test-"+j);k?k.select():console.warn("Newly created test item not found in tree.");S.a.d.hide()})});else{Ext.MessageBox.alert("Error","Failed to create test. No test ID was returned.");S.a.d.hide()}},failure:function(h){var j;try{(j=JSON.parse(h.responseText).error)||(j="Uknown error")}catch(k){j="Uknown error"}S.a.d.hide();Ext.MessageBox.alert("Error","Failed to create test. "+j+".")}});d.close()}}},{text:"Cancel",handler:function(){d.close()}}],listeners:{show:function(){a.getForm().findField("testDescription").focus(false,
|
|
788
|
+
a.parameter="\u53c3\u6578";a["parameter hlp"]="\u53ef\u9078\u64c7\u7684: \u6307\u5b9a\u5728\u555f\u52d5\u6642\u5c07\u50b3\u905e\u7d66Rich Display\u7a0b\u5f0f\u7684\u53c3\u6578";break;default:console.log("Unknown Dictionary Type : '"+c+"'")}return a};null==pui.runtimeMsg&&(pui.runtimeMsg={});null==pui.runtimeText&&(pui.runtimeText={});null==pui.runtimeMessages&&(pui.runtimeMessages={});
|
|
789
|
+
pui.getLanguageText=function(c,a,d){var e=pui.language;if(null==e||""==N(e)){e="en_US";var f=P();null!=f.lang&&""!=N(f.lang)&&(e=f.lang)}"en_GB"==e&&"undefined"==typeof pui[c][e]&&(e="en_UK");f=pui[c][e][a];"undefined"==typeof f&&(f=pui[c].en_US[a]);"runtimeMsg"==c&&"undefined"!=typeof pui.runtimeMessages[a]&&(f=pui.runtimeMessages[a]);"runtimeMsg"!=c&&"runtimeText"!=c||"upload "!=a.substr(0,7)||null==pui.fileupload||"undefined"==typeof pui.fileupload[a.substr(8)]||(f=pui.fileupload[a.substr(8)],
|
|
790
|
+
"upload file limit"==a&&(f=f.replace("{FILE_LIMIT}","&1")));"excel export text"==a&&"undefined"!=typeof pui.runtimeText[e]["csv export text"]&&(f=pui.runtimeText[e]["csv export text"]);if("runtimeText"==c){var g=a;"excel export text"==a&&(g="csv export text");var h="close browser text;csv export text;filter text;reset data;next link text;previous link text;remove filters text;session ended text;sort ascending text;sort descending text".split(";");for(e=0;e<h.length;e++)g==h[e]&&"undefined"!=typeof pui[h[e]]&&
|
|
791
|
+
(f=pui[h[e]])}if("runtimeMsg"==c)for(c=["closeMessage","no connection message"],e=0;e<c.length;e++)a==c[e]&&"undefined"!=typeof pui[c[e]]&&(f=pui[c[e]]);if(null!=d)for(e=1;e<=d.length;e++)f=f.replace("&"+e,d[e-1]);return f};pui.runtimeMsg.en_US=U("runtimeMsg");pui.runtimeText.en_US=U("runtimeText");pui.runtimeMsg.en_UK=V("runtimeMsg");pui.runtimeText.en_UK=V("runtimeText");pui.runtimeMsg.de_DE=W("runtimeMsg");pui.runtimeText.de_DE=W("runtimeText");pui.runtimeMsg.es_ES=X("runtimeMsg");
|
|
792
|
+
pui.runtimeText.es_ES=X("runtimeText");pui.runtimeMsg.es_MX=Y("runtimeMsg");pui.runtimeText.es_MX=Y("runtimeText");pui.runtimeMsg.fr_CA=da("runtimeMsg");pui.runtimeText.fr_CA=da("runtimeText");pui.runtimeMsg.fr_FR=ea("runtimeMsg");pui.runtimeText.fr_FR=ea("runtimeText");pui.runtimeMsg.he_IL=fa("runtimeMsg");pui.runtimeText.he_IL=fa("runtimeText");pui.runtimeMsg.it_IT=ha("runtimeMsg");pui.runtimeText.it_IT=ha("runtimeText");pui.runtimeMsg.ja_JP=ia("runtimeMsg");pui.runtimeText.ja_JP=ia("runtimeText");
|
|
793
|
+
pui.runtimeMsg.nl_NL=ja("runtimeMsg");pui.runtimeText.nl_NL=ja("runtimeText");pui.runtimeMsg.pt_BR=ma("runtimeMsg");pui.runtimeText.pt_BR=ma("runtimeText");pui.runtimeMsg.pt_PT=na("runtimeMsg");pui.runtimeText.pt_PT=na("runtimeText");pui.runtimeMsg.zh_HK=oa("runtimeMsg");pui.runtimeText.zh_HK=oa("runtimeText");var T={};window.Atrium=T;T.g={};T.g.af={};T.g.i={};T.g.i.l={};T.g.i.groups={};T.g.i.C={};T.g.i.v={};T.h={};T.data={};T.action={};T.api={};window["Atrium.api"]=T.api;T.HTTP_HOST=null;T.HTTPS=null;T.THEMES=null;T.EXT_PATH=null;T.USE_VLDL=null;T.CUSTOM=null;T.CLEAR_CREDENTIALS=null;T.AULANG="";T.Tb="ontouchstart"in window;T.m="/profoundui/proddata/images/icons/";T.K="Atrium-nav-filter";T.ib=0;T.Qa=1;T.qa=2;T.Pc=0;T.Mc=1;T.U="N";T.za="T";T.ga="H";T.Oc="2";T.Nc="1";T.Je="0";T.ha="0";T.ba="1";T.Fa="2";
|
|
794
|
+
T.oa="3";T.Pa="4";T.hb="5";T.P="6";T.T="7";T.ya="T";T.pa="A";T.Na="0";T.na="1";T.ab="2";T.eb="3";T.bb="4";T.g.Ma=null;T.g.ta=null;T.g.Ga=null;T.g.N=null;T.g.j=null;T.g.ca=null;T.g.D=null;T.g.toolbar=null;T.g.F=null;T.g.I=null;T.g.W=null;T.g.sa=null;T.g.i.M=null;T.l={};T.l.ACBTITLE=null;T.l.ACBAN=null;T.l.ACBANHGHT=null;T.l.ACBANURL=null;T.l.ACTHEME=null;T.l.ACUTHEME=null;T.l.ACNTITLE=null;T.l.ACNWIDTH=null;T.l.ACNTYPE=null;T.l.ACSCLICK=null;T.B={};T.B.AUUSER=null;T.B.AUGROUP=null;T.B.AUROLE=null;
|
|
795
|
+
T.B.AUEDIT=null;T.B.AUNAME=null;T.B.AUPROF=null;T.B.AGNAME=null;T.B.AULANG=null;"true"!=pui.getCookie("initMFA")&&(pui.setCookie("initMFA","true",null,"/",null,null,"Strict"),pui.setCookie("authMFA","false",null,"/",null,null,"Strict"));T.items={};T.items.C=[];T.items.toolbar=[];T.items.L=[];T.A={};T.A.parent={title:"member of",text:"member of hlp"};T.A.AGNAME={title:"group name",text:"group name hlp"};T.A.inherit={title:"inherit settings",text:"inherit settings hlp"};
|
|
796
|
+
T.A.AUNAME={title:"user name",text:"user name hlp"};T.A.accessRole={title:"access role",text:"access role hlp"};T.A.AUEDIT={title:"can edit profile",text:"can edit profile hlp"};T.A.AUPROF={title:"user profile",text:"user profile hlp"};T.A.password={title:"password",text:"password hlp"};T.A.confirmPass={title:"conf password",text:"conf password hlp"};T.A.ACBTITLE={title:"browser title",text:"browser title hlp"};T.A.ACBAN={title:"show banner",text:"show banner hlp"};
|
|
797
|
+
T.A.ACBANHGHT={title:"banner height",text:"banner height hlp"};T.A.ACBANURL={title:"banner url",text:"banner url hlp"};T.A.ACTHEME={title:"theme",text:"theme hlp"};T.A.ACUTHEME={title:"allow sel theme",text:"allow sel theme hlp"};T.A.ACSEARCH={title:"show menu search",text:"show menu search hlp"};T.A.ACFAV={title:"show fav sys",text:"show fav sys hlp"};T.A.ACSHOWFAV={title:"show fav start",text:"show fav start hlp"};T.A.ACLIMIT={title:"limit num sessn",text:"limit num sessn hlp"};
|
|
798
|
+
T.A.ACTIMEOUT={title:"atrium timeout",text:"atrium timeout hlp"};T.A.ACSHOWHOME={title:"show hmpg start",text:"show hmpg start hlp"};T.A.ACHOMEURL={title:"home page url",text:"home page url hlp"};T.A.ACNTITLE={title:"navi pnl title",text:"navi pnl title hlp"};T.A.ACNWIDTH={title:"navi pnl width",text:"navi pnl width hlp"};T.A.ACNTYPE={title:"navi type",text:"navi type hlp"};T.A.ACSCLICK={title:"single click nav",text:"single click nav hlp"};T.A.ACCURLIB={title:"current library",text:"current library hlp"};
|
|
799
|
+
T.A.ACJOBD={title:"job descr",text:"job descr hlp"};T.A.ACJOBDLIB={title:"job descr lib",text:"job descr lib hlp"};T.A.ANTEXT={title:"item name",text:"item name hlp"};T.A.ANACTNTYPE={title:"action type",text:"action type hlp"};T.A.ANACTN={title:"url",text:"url hlp"};T.A.ANGURL={title:"genie url",text:"genie url hlp"};T.A.ANWINDOW={title:"open as",text:"open as hlp"};T.A.ANONCE={title:"opens once only",text:"opens once only hlp"};T.A.ANICON={title:"icon",text:"icon hlp"};
|
|
800
|
+
T.A.ANPARM={title:"parameter",text:"parameter hlp"};T.A.ANKEYWORDS={title:"keywords",text:"keywords hlp"};T.dimensions={};T.m="steel"==T.l.ACTHEME?"/profoundui/proddata/images/FlatIcons/":"/profoundui/proddata/images/icons/";T.g.init=function(){localStorage["pui-http-auth-invalid"]?(Ext.util.Cookies.set(escape("pui-signon-"+location.href),""),pui.Aa(function(){delete localStorage["pui-http-auth-invalid"];location.reload()})):(sessionStorage["atrium-token"]&&(Ext.Ajax.defaultHeaders={Authorization:"Basic "+sessionStorage["atrium-token"]}),Ext.MessageBox.buttonText.ok=pui.getLanguageText("runtimeText","ok"),Ext.MessageBox.buttonText.no=pui.getLanguageText("runtimeText","no"),Ext.MessageBox.buttonText.yes=pui.getLanguageText("runtimeText",
|
|
801
|
+
"yes"),Ext.MessageBox.buttonText.cancel=pui.getLanguageText("runtimeText","cancel"),Ext.BLANK_IMAGE_URL="/"+T.EXT_PATH+"/resources/images/default/s.gif",Ext.SSL_SECURE_URL="/html/blank.html",Ext.QuickTips.init(),Ext.Ajax.timeout=3E5,Ext.Ajax.method="POST",Ext.Ajax.extraParams={},Ext.getBody().on("contextmenu",function(c){c.stopEvent()}),window.onblur=function(){Ext.menu.MenuMgr.hideAll()},Ext.isIE7&&-1!=navigator.userAgent.indexOf("Trident/4.0")&&Ext.getBody().addClass("Atrium-ie8Compat"),Ext.override(Ext.form.Radio,
|
|
802
|
+
{setValue:function(c){"boolean"==typeof c?Ext.form.Radio.superclass.setValue.call(this,c):this.getCheckEl().select("input[name="+this.el.dom.name+"]").each(function(a){a.dom.value==c?Ext.getCmp(a.dom.id).setValue(!0):Ext.getCmp(a.dom.id).setValue(!1)},this);return this}}),Ext.override(Ext.form.Field,{Xa:function(c){this.rendered&&this.el.up(".x-form-item",10,!0).child(".x-form-item-label").update(c);this.fieldLabel=c}}),T.g.yd())};
|
|
803
|
+
T.g.yd=function(){T.g.xd();T.g.wd();T.g.qd();T.g.zd();T.g.sd();T.g.Ma=new Ext.Viewport({layout:"border",items:[T.g.ta,T.g.N,T.g.Ga]});T.g.j=new Ext.LoadMask(T.g.Ma.getEl(),{msgCls:"x-mask-loading atrium-screenMask"});T.g.j.ce=T.g.j.show;T.g.j.show=function(){T.g.j.ce();var c=Ext.getBody().child("div.atrium-screenMask",!0);c.previousSibling.style.zIndex=5E6;c.style.zIndex=5000001};T.g.j.msg=pui.getLanguageText("runtimeText","please wait");T.g.j.show();Ext.Ajax.request({url:T.h.s("PUI0003001.pgm"),
|
|
804
|
+
callback:function(c,a,d){T.data.u(d,function(e,f){1==e?T.g.cc(!1,f):(T.g.j.hide(),e=function(){},"401"===f.id&&"function"===typeof T.onclose&&(e=T.onclose),T.h.o(f,e))})}})};
|
|
805
|
+
T.g.xd=function(){T.g.D=new Ext.TabPanel({hidden:!0,id:"Atrium-tabPanel",enableTabScroll:!0,listeners:{remove:function(){0===T.g.D.items.getCount()&&T.g.D.hide()},tabchange:function(c){if(c=c.getActiveTab()){var a=c.getEl().child("iframe.selector",!0);if(a){a=a.contentWindow;try{"undefined"!=typeof a.pui&&"function"==typeof a.pui.focusOnContainer&&a.pui.focusOnContainer()}catch(d){}}}if(a=Ext.getCmp("Atrium-addFavButton"))a.disable(),c&&null!=c.Da&&a.enable()}}})};
|
|
806
|
+
T.g.wd=function(){T.g.ta=new Ext.Panel({id:"Atrium-northPanel",region:"north",height:0,border:!1})};T.g.qd=function(){T.g.Ga=new Ext.Panel({id:"Atrium-centerPanel",region:"center",layout:"fit",border:!1})};T.g.zd=function(){T.g.N=new Ext.TabPanel({id:"Atrium-westPanel",region:"west",split:!0,margins:"0 0 0 5",border:!1,collapsible:!0,hidden:!0})};
|
|
807
|
+
T.kb=function(c){if(T.promptCloseBrowser){for(var a=document.getElementsByTagName("iframe"),d=!1,e=0,f=0;f<a.length;f++){0<=a[f].className.indexOf("selector")&&e++;try{var g=a[f].contentWindow.pui;null!==g&&"object"===typeof g&&"function"===typeof g.isServerBusy&&(d=!0)}catch(h){}}if(1===T.promptCloseBrowser&&d||2===T.promptCloseBrowser&&0<e||3===T.promptCloseBrowser)return a="string"===typeof T.closeBrowserMessage?T.closeBrowserMessage:pui.getLanguageText("runtimeMsg","close browser text AT"),c.returnValue=
|
|
808
|
+
a}};T.unload=function(){T.h.zc();for(var c=T.g.D.items.getCount(),a,d=0;d<c;d++){a=T.g.D.items.itemAt(d);try{a.destroy()}catch(e){}}"1"===T.l.ACTIMEOUT&&(Ext.util.Cookies.set(escape("pui-signon-"+location.href),""),localStorage["pui-http-auth-invalid"]="1",T.g.dc(),pui.Aa())};
|
|
809
|
+
T.g.ob=function(){window.addEventListener?(window.addEventListener("beforeunload",T.kb,!1),window.addEventListener("unload",T.unload,!1)):window.attachEvent&&(window.attachEvent("onbeforeunload",T.kb),window.attachEvent("onunload",T.unload));T.m="steel"===T.l.ACTHEME?"/profoundui/proddata/images/FlatIcons/":"/profoundui/proddata/images/icons/";T.g.Ec(T.l.ACTHEME);document.title=T.l.ACBTITLE;T.g.pd();T.g.createToolbar();T.g.kc();T.g.jc();T.g.Vb();T.g.Hc();T.g.Ma.doLayout();T.g.j.hide();null!=T.g.I&&
|
|
810
|
+
T.g.Va(T.g.I.getRootNode());T.g.se();if("function"==typeof T.onload)T.onload()};T.g.pd=function(){null!=T.g.ca&&(T.g.ca.ownerCt.remove(T.g.ca),T.g.ca.destroy(),T.g.ca=null);"1"==T.l.ACBAN&&(T.g.ca=new Ext.Panel({id:"Atrium-banner",bodyBorder:!1,border:!1,hideBorders:!0,collapsible:!1,height:T.l.ACBANHGHT,html:'<iframe src="'+T.l.ACBANURL+'" style="width: 100%; height: '+T.l.ACBANHGHT+'px; border-style: none; overflow: hidden; margin: 0px;" scrolling="no" ></iframe>'}),T.g.ta.add(T.g.ca));T.g.ta.doLayout()};
|
|
811
|
+
T.g.createToolbar=function(){null!=T.g.toolbar&&(T.g.toolbar.ownerCt.remove(T.g.toolbar),T.g.toolbar.destroy(),T.g.toolbar=null);var c=[];c.push(new Ext.Toolbar.TextItem({text:pui.getLanguageText("runtimeText","user")+": "+T.B.AUNAME,cls:"atrium-toolbar-user"}),new Ext.Toolbar.Spacer,new Ext.Toolbar.Spacer);var a=[];"1"==T.l.ACSHOWHOME&&a.push({text:pui.getLanguageText("runtimeText","home page"),icon:T.m+"house.png",iconCls:"atrium-toolbar-home-icon",cls:"x-btn-text-icon atrium-toolbar-home-button",
|
|
812
|
+
handler:function(){null!=T.g.W?T.g.D.activate(T.g.W):T.g.Hc()}});T.CUSTOM||T.B.AUROLE!=T.Qa&&T.B.AUROLE!=T.qa||a.push({text:pui.getLanguageText("runtimeText","control panel"),icon:T.m+"cog_edit.png",iconCls:"atrium-toolbar-controlpanel-icon",cls:"x-btn-text-icon atrium-toolbar-controlpanel-button",handler:function(){T.g.i.rd()}});T.CUSTOM||"1"!=T.B.AUEDIT||a.push({text:pui.getLanguageText("runtimeText","my settings"),icon:T.m+"user_edit.png",iconCls:"atrium-toolbar-mysettings-icon",cls:"x-btn-text-icon atrium-toolbar-mysettings-button",
|
|
813
|
+
handler:function(){T.g.ud()}});if(!T.CUSTOM&&"1"==T.l.ACUTHEME){for(var d=[],e=0;e<T.THEMES.length;e++)d.push(new Ext.menu.CheckItem({text:T.THEMES[e][1],La:T.THEMES[e][0],group:"theme",listeners:{checkchange:function(f,g){1==g&&f.La!=T.l.ACTHEME&&(T.g.Ec(f.La),Ext.Ajax.request({url:T.h.s("PUI0003016.pgm"),params:{theme:f.La},callback:function(h,l,m){T.data.u(m,function(k,n){0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to save theme")),T.h.o(n)):T.l.ACTHEME=f.La})}}))}}}));
|
|
814
|
+
a.push({text:pui.getLanguageText("runtimeText","theme"),icon:T.m+"palette.png",iconCls:"atrium-toolbar-theme-icon",cls:"x-btn-text-icon atrium-toolbar-theme-button",menu:new Ext.menu.Menu({items:d,listeners:{beforeshow:function(f){f=f.items;for(var g,h=0;h<f.getCount();h++)g=f.itemAt(h),g.La==T.l.ACTHEME?g.setChecked(!0):g.setChecked(!1)}},defaults:{clickHideDelay:0}})})}T.l.AUROLE==T.qa&&a.push({text:pui.getLanguageText("runtimeText","about atrium"),handler:T.g.Qc,icon:T.m+"help.png",iconCls:"atrium-toolbar-help-icon",
|
|
815
|
+
cls:"x-btn-text-icon atrium-toolbar-help-button"});0<a.length&&c.push({text:pui.getLanguageText("runtimeText","settings"),iconCls:"atrium-toolbar-settings-button",cls:"x-btn-text-icon atrium-toolbar-settings-table",items:a,menu:new Ext.menu.Menu({items:a,defaults:{clickHideDelay:0}})});c.push(new Ext.Toolbar.Fill);0<T.items.C.length&&"1"==T.l.ACFAV&&c.push(new Ext.Toolbar.Button({id:"Atrium-addFavButton",text:" "+pui.getLanguageText("runtimeText","add to favorites"),cls:"x-btn-text-icon",icon:T.m+
|
|
816
|
+
"star.png",iconCls:"atrium-toolbar-favorites-button",handler:function(){var f=T.g.I.getRootNode(),g=T.g.D.getActiveTab();T.g.Xb(f,g.title,!1,g.Da,g.icon)},disabled:!0}),new Ext.Toolbar.Separator);c.push(new Ext.Toolbar.Button({id:"Atrium-exitButton",text:" "+pui.getLanguageText("runtimeText","exit"),cls:"x-btn-text-icon",icon:T.m+"door_out.png",iconCls:"atrium-toolbar-exit-button",handler:function(){T.g.close()}}));T.g.toolbar=new Ext.Toolbar({id:"Atrium-toolbar",height:30,items:c});c=0;null!=
|
|
817
|
+
T.g.ca&&(c+=T.g.ca.height);c+=T.g.toolbar.height;T.g.ta.add(T.g.toolbar);T.g.ta.doLayout();T.g.ta.setHeight(c)};
|
|
818
|
+
T.g.kc=function(){null!=T.g.F&&(T.g.F.ownerCt.remove(T.g.F),T.g.F.destroy(),T.g.F=null);if(1>T.items.C.length)T.g.N.hide();else{var c={id:"Atrium-navPanel",width:T.l.ACNWIDTH,autoScroll:!0,title:T.l.ACNTITLE,tbar:new Ext.Toolbar({hidden:"1"!=T.l.ACSEARCH?!0:!1,items:[new Ext.form.TextField({id:"atrium-nav-search",enableKeyEvents:!0,minLength:T.l.ACMINSRCH,emptyText:pui.getLanguageText("runtimeText","type query press en"),listeners:{keyup:function(a,d){d.getKey()==d.ENTER&&(d=a.getValue().trim(),a.isValid()&&
|
|
819
|
+
d.length>=a.minLength&&(a.setValue(""),a.clearInvalid(),T.g.mc(d)))}}}),new Ext.Toolbar.Spacer,new Ext.Button({icon:T.m+"view.png",iconCls:"atrium-nav-search-button",handler:function(){var a=Ext.getCmp("atrium-nav-search"),d=a.getValue().trim();a.isValid()&&d.length>=a.minLength&&(a.setValue(""),a.clearInvalid(),T.g.mc(d))}}),new Ext.Toolbar.Spacer,new Ext.Button({icon:T.m+"refresh.png",iconCls:"atrium-nav-refresh-button",handler:function(){T.g.xc()}})]}),enableDD:!0};T.l.ACNTYPE==T.ya?(c.rootVisible=
|
|
820
|
+
!1,c.root=new Ext.tree.TreeNode,c.loader=new Ext.tree.TreeLoader({dataUrl:T.h.s("PUI0003007.pgm"),nodeParameter:"parent",baseParams:{filter:""},listeners:{beforeload:function(a){"undefined"!=typeof Storage&&sessionStorage[T.K]&&(a.baseParams.filter=sessionStorage[T.K])},load:function(a,d,e){T.data.u(e,function(f,g){if(f)for(f=g.nav,g=0;g<f.length;g++)f[g].ANTEXT=pui.G.decode(f[g].ANTEXT),T.g.Ra(d,f[g]);else T.h.o(g)})},loadexception:function(a,d,e){T.data.u(e,function(f,g){T.h.o(g)})}}}),T.g.F=new Ext.tree.TreePanel(c)):
|
|
821
|
+
T.l.ACNTYPE==T.pa&&(c.layout="accordion",T.g.F=new Ext.Panel(c));T.l.ACNTYPE===T.ya&&(T.g.F.getSelectionModel().on("selectionchange",T.g.rc),T.g.F.on("contextmenu",T.g.ic),T.g.F.on("beforemovenode",T.g.$b),T.g.F.on("movenode",T.g.vc));T.g.N.add(T.g.F);T.g.N.setWidth(T.l.ACNWIDTH);T.g.N.setTitle(T.l.ACNTITLE);T.g.N.show();T.g.N.setActiveTab(T.Pc)}};
|
|
822
|
+
T.g.xc=function(){T.data.Cb({top:"1"},function(c,a){c?(T.items.C=a.C,T.items.toolbar=a.toolbar,T.items.L=a.L,T.g.createToolbar(),T.g.kc(),T.g.jc(),T.g.Vb(),T.g.Ma.doLayout(),null!=T.g.I&&T.g.Va(T.g.I.getRootNode())):(""==a.heading&&(a.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","navigation items")])),T.h.o(a))})};
|
|
823
|
+
T.g.je=function(c){var a;T.l.ACNTYPE===T.ya?a=T.g.F.getNodeById(c):T.l.ACNTYPE===T.pa&&T.g.F.items.each(function(e){if(e.getNodeById&&(e=e.getNodeById(c)))return a=e,!1});if(a){var d=a.parentNode;d&&d.reload()}};
|
|
824
|
+
T.g.Vb=function(){for(var c=T.items.toolbar.concat(T.items.C),a,d,e,f,g=0;g<c.length;g++){a=c[g];d=a.ANPARENT;if("0"==d||T.CUSTOM&&""==d)e=null;else if(a.ANSECT==T.U)if(T.l.ACNTYPE==T.ya)e=T.g.F.getNodeById(d);else{if(T.l.ACNTYPE==T.pa){f=T.g.F.items.getCount();for(var h=0;h<f&&(e=T.g.F.items.itemAt(h).getNodeById(d),null==e);h++);}}else a.ANSECT==T.za&&(e=Ext.menu.MenuMgr.get("menu"+d));null==e?a.ANSECT==T.U&&T.l.ACNTYPE==T.pa?T.g.Rc(a):a.ANSECT==T.U&&T.l.ACNTYPE==T.ya?T.g.Ra(T.g.F.getRootNode(),
|
|
825
|
+
a):a.ANSECT==T.za&&T.g.bd(a):a.ANSECT==T.U?T.g.Ra(e,a):a.ANSECT==T.za&&T.g.ad(e,a)}};
|
|
826
|
+
T.g.bd=function(c){var a=T.g.toolbar.items.getCount()-2;null!=Ext.getCmp("Atrium-addFavButton")&&(a-=2);if(c.ANTYPE==T.Pa)c=new Ext.Toolbar.Spacer;else if(c.ANTYPE==T.oa)c=new Ext.Toolbar.Separator;else if(c.ANTYPE==T.hb)c=new Ext.Toolbar.Fill;else{var d=c.ANTYPE!=T.P&&""!=c.ANACTNTYPE&&""!=c.ANACTN;c=new Ext.Toolbar.Button({id:c.ANITEM,text:c.ANTEXT,menu:c.ANTYPE==T.P?new Ext.menu.Menu({id:"menu"+c.ANITEM,defaults:{hideDelay:0}}):null,icon:""!=c.ANICON?c.ANICON:null,cls:(""!=c.ANICON?"x-btn-text-icon":
|
|
827
|
+
null)+" atrium-toolbar-option",actionType:1==d?c.ANACTNTYPE:null,action:1==d?c.ANACTN:null,newWindow:1==d&&"1"==c.ANWINDOW?!0:null,once:1==d&&"1"==c.ANONCE?!0:null,parm:1==d?c.ANPARM:null,handler:1==d?T.action.doAction:Ext.emptyFn})}T.g.toolbar.insert(a,c)};
|
|
828
|
+
T.g.ad=function(c,a){var d=a.ANTYPE==T.T&&""!=a.ANACTNTYPE&&""!=a.ANACTN;c.add({id:a.ANITEM,text:a.ANTEXT,menu:a.ANTYPE==T.P==1?new Ext.menu.Menu({id:"menu"+a.ANITEM,defaults:{hideDelay:0}}):null,icon:""!=a.ANICON?a.ANICON:null,actionType:1==d?a.ANACTNTYPE:null,action:1==d?a.ANACTN:null,newWindow:1==d&&"1"==a.ANWINDOW?!0:null,once:1==d&&"1"==a.ANONCE?!0:null,parm:1==d?a.ANPARM:null,handler:1==d?T.action.doAction:Ext.emptyFn})};
|
|
829
|
+
T.g.Rc=function(c){c=new Ext.tree.TreePanel({layout:"fit",title:c.ANTEXT,rootVisible:!1,useArrows:!0,autoHeight:!0,enableDD:!0,root:new Ext.tree.TreeNode({id:c.ANITEM,expanded:!0}),loader:new Ext.tree.TreeLoader({dataUrl:T.h.s("PUI0003007.pgm"),nodeParameter:"parent",baseParams:{filter:""},listeners:{beforeload:function(a){"undefined"!=typeof Storage&&sessionStorage[T.K]&&(a.baseParams.filter=sessionStorage[T.K])},load:function(a,d,e){T.data.u(e,function(f,g){if(f)for(f=g.nav,g=0;g<f.length;g++)f[g].ANTEXT=
|
|
830
|
+
pui.G.decode(f[g].ANTEXT),T.g.Ra(d,f[g]);else T.h.o(g)})},loadexception:function(a,d,e){T.data.u(e,function(f,g){T.h.o(g)})}}}),autoScroll:!1,icon:""!=c.ANICON?c.ANICON:null,listeners:{expand:function(){T.g.F.hide();T.g.F.show();T.g.F.doLayout()}}});c.getSelectionModel().on("selectionchange",T.g.rc);c.on("contextmenu",T.g.ic);c.on("beforemovenode",T.g.$b);c.on("movenode",T.g.vc);T.g.F.add(c)};
|
|
831
|
+
T.g.Ra=function(c,a){var d=!1;a.ANTYPE==T.ba&&""!=a.ANACTNTYPE&&""!=a.ANACTN&&(d=!0);for(var e=1,f=c.parentNode;null!=f;)e+=1,f=f.parentNode;c=1==T.testingMode&&1==d?c.appendChild(new Ext.tree.AsyncTreeNode({id:a.ANITEM,text:a.ANTEXT,icon:""!=a.ANICON?a.ANICON:null,cls:"Atrium-navLevel"+e+" testing-mode-folder",leaf:!1,expanded:!1,sc:!0,draggable:!1,allowDrop:!0,actionType:1==d?a.ANACTNTYPE:null,action:1==d?a.ANACTN:null,newWindow:1==d&&"1"==a.ANWINDOW?!0:null,once:1==d&&"1"==a.ANONCE?!0:null,parm:1==
|
|
832
|
+
d?a.ANPARM:null,loader:new Ext.tree.TreeLoader({dataUrl:"/auto-testing/test-list",autoLoad:!1,baseParams:{parentId:a.ANITEM},processResponse:function(g,h,l){"function"==typeof l&&l(this,h)},listeners:{load:function(g,h,l){g=Ext.decode(l.responseText);if(Array.isArray(g))for(l=0;l<g.length;l++){var m=g[l],k=m.status;h.appendChild(new Ext.tree.TreeNode({id:"test-"+m.id,text:m.text,leaf:!0,cls:"atrium-test-status-"+k,icon:Ext.BLANK_IMAGE_URL,qtip:"Test Id: "+m.id+"\nStatus: "+k.charAt(0).toUpperCase()+
|
|
833
|
+
k.slice(1),status:k,Ca:!0,draggable:!0,allowDrop:!1}))}}}})})):c.appendChild(new Ext.tree.AsyncTreeNode({id:a.ANITEM,text:a.ANTEXT,icon:""!=a.ANICON?a.ANICON:null,actionType:1==d?a.ANACTNTYPE:null,action:1==d?a.ANACTN:null,newWindow:1==d&&"1"==a.ANWINDOW?!0:null,once:1==d&&"1"==a.ANONCE?!0:null,parm:1==d?a.ANPARM:null,cls:"Atrium-navLevel"+e,leaf:a.ANTYPE==T.ba?!0:!1,draggable:!1,allowDrop:!1}));if(d&&(1!=T.testingMode||1!=d))c.on(T.Tb||"1"==T.l.ACSCLICK?"click":"dblclick",T.action.doAction)};
|
|
834
|
+
T.g.Ec=function(c){var a=document.getElementById("Atrium-theme"),d=a.href,e="";""!=c&&(e="/profoundui/userdata/atrium themes/css/xtheme-"+c+".css");e!=d&&(a.href=e)};
|
|
835
|
+
T.g.close=function(c){function a(){function l(){Ext.getBody().update('<div id="close-browser-msg" style="width: 95%; text-align: center; font-size: 200%;"><br/>'+pui.getLanguageText("runtimeMsg",!0===c?"session timed out":"close browser text")+"</div>");try{if("function"===typeof T.onclose)T.onclose();window.close()}catch(m){}}T.h.zc();window.removeEventListener&&(window.removeEventListener("beforeunload",T.kb,!1),window.removeEventListener("unload",T.unload,!1));T.g.D.destroy();"1"===T.l.ACTIMEOUT&&
|
|
836
|
+
(localStorage["pui-http-auth-invalid"]="1",T.g.dc(c));1==T.CLEAR_CREDENTIALS||"1"===T.l.ACTIMEOUT?(Ext.util.Cookies.set(escape("pui-signon-"+location.href),""),localStorage["pui-http-auth-invalid"]&&delete localStorage["pui-http-auth-invalid"],pui.Aa(l)):l()}if(!0===c)a();else{for(var d=document.getElementsByTagName("iframe"),e=!1,f=0,g=0;g<d.length;g++){0<=d[g].className.indexOf("selector")&&f++;try{var h=d[g].contentWindow.pui;if(null!==h&&"object"===typeof h&&"function"===typeof h.isServerBusy){if(h.isServerBusy())return!1;
|
|
837
|
+
e=!0}}catch(l){}}1===T.promptCloseTab&&e||2===T.promptCloseTab&&0<f||3===T.promptCloseTab?(d="string"===typeof T.closeAllTabsMessage?T.closeAllTabsMessage:pui.getLanguageText("runtimeMsg","close all tabs"),Ext.MessageBox.show({msg:d,buttons:Ext.MessageBox.YESNO,fn:function(l){"yes"===l&&a()}})):a()}};T.g.Qc=function(){T.h.J(pui.getLanguageText("runtimeText","about atrium msg"))};
|
|
838
|
+
T.g.ud=function(){var c={id:T.B.AUUSER,ua:T.B.AUGROUP,mode:"Edit",title:pui.getLanguageText("runtimeText","my settings")};T.g.i.l.Ia(c)};
|
|
839
|
+
T.g.Hc=function(){null!=T.g.W&&(T.g.D.remove(T.g.W),T.g.W=null);if("1"==T.l.ACSHOWHOME){for(var c=null,a=0;a<T.items.L.length;a++)T.items.L[a].ANITEM==T.l.ACHOMEURL&&(c=T.items.L[a]);null!=c&&(a={attributes:{}},a.attributes.actionType=c.ANACTNTYPE,a.attributes.action=c.ANACTN,a.attributes.id=c.ANITEM,a.attributes.newWindow=c.ANWINDOW,a.attributes.text=c.ANTEXT,a.attributes.once=c.ANONCE,a.attributes.parm=c.ANPARM,T.action.doAction(a))}};
|
|
840
|
+
T.g.mc=function(c){function a(m,k){m=m.get("item");l.close();T.api.launchItem(m,null,null,k)}var d=25,e=800,f=670;800>T.g.Ma.getWidth()&&(e=600,f=460,d=15);var g="";"undefined"!=typeof Storage&&sessionStorage[T.K]&&(g=sessionStorage[T.K]);c=new Ext.data.Store({autoDestroy:!0,baseParams:{query:pui.G.encode(c),lang:T.B.AULANG,filter:g},proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003030.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["item","text","keywords"]}),listeners:{load:function(){0<
|
|
841
|
+
this.getCount()&&(h.getSelectionModel().selectFirstRow(),h.body.focus())},loadexception:function(m,k,n){T.data.u(n,function(q,p){""==p.heading&&(p.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","search results")]));T.h.o(p,function(){l.close()})})}}});var h=new Ext.grid.GridPanel({enableColumnHide:!1,enableColumnMove:!1,enableColumnResize:!0,enableHdMenu:!1,stripeRows:!0,loadMask:!0,columns:[{header:pui.getLanguageText("runtimeText","item"),dataIndex:"text",
|
|
842
|
+
renderer:function(m){return pui.G.decode(m)}},{header:pui.getLanguageText("runtimeText","keywords"),dataIndex:"keywords",renderer:function(m){return pui.G.decode(m)}}],store:c,viewConfig:{emptyText:"",autoFill:!0,forceFit:!0},selModel:new Ext.grid.RowSelectionModel({singleSelect:!0,listeners:{selectionchange:function(){this.hasSelection()?Ext.getCmp("atrium-nav-go-button").enable():Ext.getCmp("atrium-nav-go-button").disable()}}}),tbar:new Ext.Toolbar({items:[{id:"atrium-nav-go-button",icon:T.m+"application_go.png",
|
|
843
|
+
text:pui.getLanguageText("runtimeText","open selected item"),disabled:!0,handler:function(m,k){a(h.getSelectionModel().getSelected(),k.browserEvent)}}]}),bbar:new Ext.PagingToolbar({store:c,pageSize:d,displayInfo:!0,beforePageText:pui.getLanguageText("runtimeText","page"),afterPageText:pui.getLanguageText("runtimeText","of")+" {0}",emptyMsg:pui.getLanguageText("runtimeText","no results to dsp"),displayMsg:pui.getLanguageText("runtimeText","displaying results")+" {0} - {1} "+pui.getLanguageText("runtimeText",
|
|
844
|
+
"of")+" {2}"}),listeners:{rowdblclick:function(m,k,n){a(this.getSelectionModel().getSelected(),n)},keypress:function(m){var k=m.getKey();13!=k&&10!=k||!this.getSelectionModel().hasSelection()||a(this.getSelectionModel().getSelected(),m)}}}),l=new Ext.Window({layout:"fit",title:pui.getLanguageText("runtimeText","search results"),width:e,height:f,modal:!0,resizable:!1,items:[h],buttons:[{text:pui.getLanguageText("runtimeText","close"),handler:function(){l.close()}}]});l.show();h.store.load({params:{start:0,
|
|
845
|
+
limit:d}})};
|
|
846
|
+
T.g.jc=function(){function c(d,e){for(var f=0;f<e.length;f++)e[f].isLeaf()||e[f].eachChild(function(g){d.unselect(g);c(d,g.childNodes)})}null!=T.g.I&&(T.g.I.ownerCt.remove(T.g.I),T.g.I.destroy(),T.g.I=null);if(1>T.items.C.length)T.g.N.hide();else if("1"==T.l.ACFAV){var a={movenode:function(d,e,f,g){T.g.pe(g)}};a[T.Tb||"1"==T.l.ACSCLICK?"click":"dblclick"]=function(d,e){d.isLeaf()&&(T.action.doAction(d,e),e.stopEvent())};T.g.I=T.g.N.add(new Ext.tree.TreePanel({title:pui.getLanguageText("runtimeText","favorites"),
|
|
847
|
+
enableDD:!0,root:new Ext.tree.TreeNode({id:"0"}),autoScroll:!0,rootVisible:!1,tbar:new Ext.Toolbar({items:[{id:"Atrium-fav-newButton",tooltip:pui.getLanguageText("runtimeText","new folder"),icon:T.m+"folder_add.png",iconCls:"atrium-fav-add-button",handler:function(){var d=T.g.I.getSelectionModel().getSelectedNodes();d=0==d.length||d[0].isLeaf()?T.g.I.getRootNode():d[0];var e=pui.getLanguageText("runtimeText","new folder");T.g.Xb(d,e,!0)}},new Ext.Toolbar.Spacer,{id:"Atrium-fav-renameButton",tooltip:pui.getLanguageText("runtimeText",
|
|
848
|
+
"rename"),icon:T.m+"change.png",iconCls:"atrium-fav-edit-button",disabled:!0,handler:function(){var d=T.g.I.getSelectionModel().getSelectedNodes();T.g.Nd(d[0])}},new Ext.Toolbar.Spacer,{id:"Atrium-fav-removeButton",tooltip:pui.getLanguageText("runtimeText","rmv from favorites"),icon:T.m+"delete_circle.png",iconCls:"atrium-fav-delete-button",disabled:!0,handler:function(){var d=T.g.I.getSelectionModel().getSelectedNodes();T.g.ke(d)}}]}),selModel:new Ext.tree.MultiSelectionModel({listeners:{selectionchange:function(d,
|
|
849
|
+
e){var f=Ext.getCmp("Atrium-fav-newButton"),g=Ext.getCmp("Atrium-fav-renameButton"),h=Ext.getCmp("Atrium-fav-removeButton");f.disable();g.disable();h.disable();c(d,e);0!=e.length&&1!=e.length||f.enable();1==e.length&&g.enable();0<e.length&&h.enable()}}}),listeners:a}));"1"===T.l.ACFAV&&"1"===T.l.ACSHOWFAV&&T.g.N.setActiveTab(T.Mc)}};
|
|
850
|
+
T.g.Va=function(c,a,d){function e(g){for(var h=0;h<g.length;h++){var l=g[h];l.text=pui.G.decode(l.text);l.navText&&(l.navText=pui.G.decode(l.navText));l.children instanceof Array&&e(l.children)}}T.g.j.show();var f="";"undefined"!=typeof Storage&&sessionStorage[T.K]&&(f=sessionStorage[T.K]);Ext.Ajax.request({url:T.h.s("PUI0003031.pgm"),method:"POST",params:{mode:"list",parent:c.id,filter:f},callback:function(g,h,l){T.data.u(l,function(m,k){m?(e(k),a?c.expand(!1,!1,function(){c.removeAll(!0);c.appendChild(k);
|
|
851
|
+
d()}):(c.removeAll(!0),c.appendChild(k),T.g.j.hide())):(T.g.j.hide(),T.h.o(k))})}})};T.g.Xb=function(c,a,d,e,f){f=f||"";T.g.j.show();Ext.Ajax.request({url:T.h.s("PUI0003031.pgm"),method:"POST",params:{mode:"add",parent:c.id,text:pui.G.encode(a),folder:1==d?"1":"0",item:0==d?e:"",icon:f},callback:function(g,h,l){T.data.u(l,function(m,k){m?(T.g.N.activate(T.g.I),T.g.Va(c,!0,function(){if(d){var n=c.childNodes[c.childNodes.length-1];T.g.I.getSelectionModel().select(n)}T.g.j.hide()})):(T.g.j.hide(),T.h.o(k))})}})};
|
|
852
|
+
T.g.ke=function(c){T.g.j.show();for(var a={mode:"remove"},d=0;d<c.length;d++)a["id"+(d+1)]=c[d].id;Ext.Ajax.request({url:T.h.s("PUI0003031.pgm"),method:"POST",params:a,callback:function(e,f,g){T.data.u(g,function(h,l){if(h){for(h=0;h<c.length;h++)c[h].parentNode.removeChild(c[h],!0);T.g.j.hide()}else T.g.j.hide(),T.h.o(l)})}})};
|
|
853
|
+
T.g.le=function(c,a,d){T.g.j.show();Ext.Ajax.request({url:T.h.s("PUI0003031.pgm"),method:"POST",params:{mode:"rename",id:c.id,text:pui.G.encode(a.trim())},callback:function(e,f,g){T.data.u(g,function(h,l){h?(c.setText(a),T.g.j.hide()):(T.g.j.hide(),T.h.o(l,function(){c.setText(d)}))})}})};
|
|
854
|
+
T.g.pe=function(c){T.g.j.show();for(var a={mode:"reorder",parent:c.id},d=0;d<c.childNodes.length;d++)a["child"+(d+1)]=c.childNodes[d].id;Ext.Ajax.request({url:T.h.s("PUI0003031.pgm"),method:"POST",params:a,callback:function(e,f,g){T.data.u(g,function(h,l){h?T.g.j.hide():(T.g.j.hide(),T.h.o(l,function(){T.g.Va(T.g.I.getRootNode())}))})}})};
|
|
855
|
+
T.g.sd=function(){var c=new Ext.form.FormPanel({bodyStyle:"padding:5px;",labelWidth:75,items:[new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","description"),name:"description",width:275,allowBlank:!1,validator:function(a){a=N(a);return 1==/<[^>]+>|javascript:|on\w+=/i.test(a)?"Error invalid name: Name contains html tag or javascript syntax.":!0}})]});T.g.sa=new Ext.Window({layout:"fit",title:pui.getLanguageText("runtimeText","edit x",[pui.getLanguageText("runtimeText","description")]),
|
|
856
|
+
height:100,width:400,modal:!0,resizable:!1,closeAction:"hide",items:[c],buttons:[{text:pui.getLanguageText("runtimeText","ok"),handler:function(){if(c.getForm().isValid()){var a=T.g.sa.node,d=a.text,e=Ext.util.Format.trim(c.getForm().findField("description").getValue());T.g.le(a,e,d);T.g.sa.hide()}}},{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){T.g.sa.hide()}}],listeners:{beforeshow:function(){c.getForm().findField("description").setValue(T.g.sa.node.text)},show:function(){setTimeout(function(){c.getForm().findField("description").getEl().dom.select()},
|
|
857
|
+
100)}}})};T.g.Nd=function(c){T.g.sa.node=c;T.g.sa.show()};T.g.se=function(){"1"===T.l.ACTIMEOUT?T.g.X||(T.g.X=setTimeout(T.g.timeout,1E3*T.TIMEOUT),T.g.Sa(window,!0)):T.g.X&&(clearTimeout(T.g.X),delete T.g.X,T.g.Sa(window,!1))};T.g.Sa=function(c,a){for(var d=["keydown","mousemove","click","touchstart","touchmove"],e=0;e<d.length;e++){var f=d[e];c.document.body.removeEventListener(f,T.g.Jb);!0===a&&c.document.body.addEventListener(f,T.g.Jb)}};
|
|
858
|
+
T.g.Jb=function(){T.g.X&&(clearTimeout(T.g.X),T.g.X=setTimeout(T.g.timeout,1E3*T.TIMEOUT))};T.g.timeout=function(){T.g.X&&(clearTimeout(T.g.X),delete T.g.X,T.g.Sa(window,!1));T.g.close(!0)};T.g.rb=[];T.g.dc=function(c){for(;0<T.g.rb.length;){var a=T.g.rb.pop();try{!0===c&&a.pui&&"function"===typeof a.pui.doSessionTimeout?a.pui.doSessionTimeout():(a.pui&&(a.pui.confirmOnClose=!1,a.pui.shutdownOnClose=!0),a.close())}catch(d){console.error(d)}}};
|
|
859
|
+
T.g.cc=function(c,a){Ext.Ajax.request({url:T.h.s("PUI0003037.pgm"),params:{id:a.AUPROF,setAsRegistered:c},callback:function(d,e,f){T.data.u(f,function(g,h){if(g)if(h.mfaenabled){g=h.mfauser.registered;if(c)return g?!0:!1;var l=h.mfauser.qrcodeuri;h=h.mfauser.secret;g||(pui.setCookie("authMFA","false",null,"/",null,null,"Strict"),T.g.j.hide(),T.g.Ic(l,h,g,a,""));l=pui.getCookie("authMFA");if(g&&"false"==l)return T.g.j.hide(),T.g.Fc(h,g,a,""),!0;l=pui.getCookie("authMFA");if(g&&"true"==l)return clearInterval(Z),
|
|
860
|
+
T.g.Bb(a),!0}else return T.g.Bb(a),!0;else return pui.setCookie("authMFA","false",null,"/",null,null,"Strict"),T.g.j.hide(),T.h.o(h),!1})}})};var Z=0;
|
|
861
|
+
T.g.Ic=function(c,a,d,e,f){var g=T.g.Ua("MFARegHelp",e.AUPROF,""),h=new Ext.Window({title:"<h3>Two-Factor Authentication</h3>",html:T.g.Ua("MFAreg",e.AUPROF,f),width:pui.flatlook?310:350,height:pui.flatlook?355:405,resizable:!1,modal:!0,bodyStyle:{"padding-top":"00px","padding-left":"00px","white-space":"normal","text-align":"left"},buttonAlign:"center",buttons:[{text:"OK",id:"OKBtn",handler:function(){T.g.bc("reg",c,a,d,e,h)}},{text:"Cancel",handler:function(){pui.setCookie("authMFA","false",null,
|
|
862
|
+
"/",null,null,"Strict");h.close();T.h.o("MFA Registration Canceled.");return!1}},{text:"<div><img id='mfa.ui.helpBtn' src="+T.m+"help.png></div>",width:"20px",handler:function(){(new Ext.Window({title:"Mobile Authenticator Help",html:g,width:pui.flatlook?555:605,height:pui.flatlook?200:250,resizable:!1,layout:"fit",modal:!0})).show()}}],listeners:{afterrender:function(){document.getElementById("i1").focus();document.getElementById("i1").select();QRCode(document.getElementById("qrcode"),{text:c,width:100,
|
|
863
|
+
height:100,Re:"#000000",Se:"#ffffff",Ue:QRCode.CorrectLevel.H});addEventListener("keydown",function(m){keyEvent=m;void 0!==m.key&&"Enter"===m.key&&(m.preventDefault(),document.getElementById("OKBtn").click())});codes=document.getElementsByClassName("atrium-ui-mfa-code");for(var l=0;l<codes.length;l++)codeId=codes[l].id,codes[l].addEventListener("keyup",function(m){T.g.Zb(m)});T.g.Jc()}}});h.show()};
|
|
864
|
+
T.g.Fc=function(c,a,d,e){pui.setCookie("authMFA","false",null,"/",null,null,"Strict");var f=T.g.Ua("MFAAuthHelp",d.AUPROF,""),g=new Ext.Window({title:"<h3>Two-Factor Authentication</h3>",html:T.g.Ua("MFAauth",d.AUPROF,e),width:pui.flatlook?220:270,height:pui.flatlook?210:260,resizable:!1,modal:!0,bodyStyle:{"padding-top":"20px","padding-left":"20px","white-space":"normal","text-align":"left"},buttonAlign:"center",buttons:[{text:"OK",id:"OKBtn",handler:function(){T.g.bc("auth","",c,a,d,g)}},{text:"Cancel",
|
|
865
|
+
handler:function(){pui.setCookie("authMFA","false",null,"/",null,null,"Strict");g.close();T.h.o("MFA Authorization Canceled.");return!1}},{text:"<div><img id='mfa.ui.helpBtn' src="+T.m+"help.png></div>",width:"20px",handler:function(){(new Ext.Window({width:pui.flatlook?380:425,height:pui.flatlook?100:150,resizable:!1,html:f,layout:"fit",title:"Mobile Authenticator Help",modal:!0})).show()}}],listeners:{afterrender:function(){document.getElementById("i1").focus();document.getElementById("i1").select();
|
|
866
|
+
addEventListener("keydown",function(l){keyEvent=l;document.getElementById("userToken").focus();void 0!==l.key&&"Enter"===l.key&&(l.preventDefault(),document.getElementById("OKBtn").click())});codes=document.getElementsByClassName("atrium-ui-mfa-code");for(var h=0;h<codes.length;h++)codeId=codes[h].id,codes[h].addEventListener("keyup",function(l){T.g.Zb(l)});T.g.Jc()}}});g.show()};
|
|
867
|
+
T.g.Jc=function(){Z=setInterval(function(){document.getElementById("time").innerHTML="Time remaining: "+(30-Math.round(new Date/1E3)%30)},1E3)};T.g.bc=function(c,a,d,e,f,g){var h=T.g.xb(),l=T.g.Sd(T.h.lc(d));h==l?(pui.setCookie("authMFA","true",null,"/",null,null,"Strict"),0==e&&T.g.cc(!0,f),g.close(),clearInterval(Z),T.g.Bb(f)):"reg"==c?(g.close(),T.g.Ic(a,d,e,f,"Invalid Code.")):"auth"==c&&(g.close(),T.g.Fc(d,e,f,"Invalid Code."))};
|
|
868
|
+
T.g.Sd=function(c){return T.h.mb(c,0,30,Math.floor(Date.now()/1E3).toString(),6,T.h.lb,64)};
|
|
869
|
+
T.g.Zb=function(c){if("Backspace"!=c.key&&"Delete"!=c.key&&"Shift"!=c.key)for(var a=c.currentTarget.id,d=document.getElementsByClassName("atrium-ui-mfa-code"),e=0;e<d.length;e++)if(d[e].id==a){var f=document.getElementById(d[e].id).value;if(1<f.length){var g=d;f=f.split("");for(var h=0;h<f.length&&h<g.length;h++)document.getElementById(g[h].id).value=f[h];document.getElementById("OKBtn").focus();g=T.g.xb();6==g.length&&(c.preventDefault(),document.getElementById("OKBtn").click())}else if(e==d.length-
|
|
870
|
+
1)document.getElementById(a).value="",document.getElementById(d[0].id).focus();else{if("Tab"==c.key)break;e==d.length-2?(g=T.g.xb(),6==g.length?(c.preventDefault(),document.getElementById("OKBtn").click()):(document.getElementById(d[0].id).focus(),document.getElementById(d[0].id).select())):(document.getElementById(d[e+1].id).focus(),document.getElementById(d[e+1].id).select())}}};
|
|
871
|
+
T.g.xb=function(){for(var c="",a=document.getElementsByClassName("atrium-ui-mfa-code"),d=0;d<a.length-1;d++)c+=document.getElementById(a[d].id).value.trim();return c};
|
|
872
|
+
T.g.Bb=function(c){for(var a in T.B)"undefined"!=typeof c[a]&&(T.B[a]=c[a],"AUNAME"==a&&(T.B[a]=pui.G.decode(T.B[a])));T.data.loadData({l:{id:T.B.AUUSER},C:{top:"1"}},function(d,e){if(1==d){d=T.h.getState();var f=e.l.ACLIMIT;0<f&&d.sessions>=f?T.h.o(pui.getLanguageText("runtimeMsg","num sessions exceeded")):(T.h.Zc(),T.l=e.l,T.items.C=e.items.C,T.items.toolbar=e.items.toolbar,T.items.L=e.items.L,T.g.ob())}else""==e.heading&&(e.heading=pui.getLanguageText("runtimeMsg","unable to load portal")),T.g.j.hide(),
|
|
873
|
+
T.h.o(e)})};
|
|
874
|
+
T.g.Ua=function(c,a,d){var e="";switch(c){case "MFAreg":e="<div class='atrium-ui-heading'>1. Scan QR code with your authenticator app</div><div class='atrium-ui-qrcode' id='qrcode'></div><div class='atrium-ui-acct'>Account Name: ProfoundUI Atrium: "+(a+"</div><div class='atrium-ui-heading'>2. Enter the 6 digit code here</div><div id='userToken' class='atrium-ui-mfa-input'>");e+="<input id='i1' class='atrium-ui-mfa-code' type='text' maxlength='6' size='6'> ";e+="<input id='i2' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+=
|
|
875
|
+
"<input id='i3' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i4' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i5' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i6' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i7' class='atrium-ui-mfa-code atrium-ui-hidden'>";e+="</div>";e+="<div id='time' class='atrium-ui-time'> </div>";e+="<div id='errorMsg' class='atrium-ui-error' type='text'>"+
|
|
876
|
+
d+"</div>";break;case "MFAauth":e="<div class='atrium-ui-heading'> Enter the 6 digit code here</div><div id='userToken' class='atrium-ui-mfa-input atrium-ui-mfa-auth'><input id='i1' class='atrium-ui-mfa-code' type='text' maxlength='6' size='6'> ";e+="<input id='i2' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i3' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i4' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";
|
|
877
|
+
e+="<input id='i5' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i6' class='atrium-ui-mfa-code' type='text' maxlength='1' size='1'> ";e+="<input id='i7' class='atrium-ui-mfa-code atrium-ui-hidden'>";e+="</div>";e+="<div id='time' class='atrium-ui-time atrium-ui-time-auth'> </div>";e=e+("<div class='atrium-ui-acct atrium-ui-acct-auth'>Account Name: ProfoundUI Atrium: "+a+"</div><div id='errorMsg' class='atrium-ui-error' type='text' value=''>")+(d+"</div>");
|
|
878
|
+
break;case "MFARegHelp":e="<div class='help-wdw-hdr-sm'>Help text:</div><div class='help-wdw-hdr'><b>Mobile authenticator app</b></div><ol type='0' class='help-wdw-text'>";e+="<li>1. Download any <b>mobile authenticator app</b> on your phone from Google Play<br> or App store, or open an authenticator app that you already have on your phone.</li>";e+="<li>2. Scan the QR code on the screen with your authenticator app to register<br> your account with the app.</li>";
|
|
879
|
+
e+="<li>3. Enter the six-digit code shown on the authenticator app.</li>";break;case "MFAAuthHelp":e="<div class='help-wdw-hdr-sm'>Help text:</div><div class='help-wdw-hdr'><b>Mobile authenticator app</b></div><ol type='0' class='help-wdw-text'>",e+="<li>Enter the six-digit code shown on the authenticator app.</li>"}return e};
|
|
880
|
+
T.g.pb=function(){var c;T.l.ACNTYPE===T.ya?c=T.g.F.getSelectionModel().getSelectedNode():T.l.ACNTYPE===T.pa&&T.g.F.items.each(function(f){if(f=f.getSelectionModel().getSelectedNode())return c=f,!1});if(c){c.attributes.Ca&&(c=c.parentNode);var a=new Ext.FormPanel({labelWidth:100,frame:!1,bodyStyle:{padding:"10px"},items:[{xtype:"displayfield",fieldLabel:"Menu Item",value:c.text,name:"menuItem",width:250},{xtype:"textfield",fieldLabel:"Test Description",name:"testDescription",allowBlank:!1,width:250}]}),
|
|
881
|
+
d=new Ext.Window({title:"New Test",width:400,height:145,layout:"fit",shadow:!1,modal:!0,resizable:!1,items:[a],buttons:[{text:"Create",handler:function(){if(a.getForm().isValid()){var f=a.getForm().findField("testDescription").getValue(),g=c.id;T.g.j.msg=pui.getLanguageText("runtimeText","please wait");T.g.j.show();Ext.Ajax.request({url:"/auto-testing/create-test",method:"POST",jsonData:{itemId:g,description:f},success:function(h){var l=Ext.decode(h.responseText).testId;l?c.reload(function(){c.expand();
|
|
882
|
+
setTimeout(function(){var m=c.findChild("id","test-"+l);m?m.select():console.warn("Newly created test item not found in tree.");T.g.j.hide()})}):(Ext.MessageBox.alert("Error","Failed to create test. No test ID was returned."),T.g.j.hide())},failure:function(h){var l;try{(l=JSON.parse(h.responseText).error)||(l="Uknown error")}catch(m){l="Uknown error"}T.g.j.hide();Ext.MessageBox.alert("Error","Failed to create test. "+l+".")}});d.close()}}},{text:"Cancel",handler:function(){d.close()}}],listeners:{show:function(){a.getForm().findField("testDescription").focus(!1,
|
|
890
883
|
100)},afterrender:function(){a.getForm().getEl().on("keydown",function(f){f.getKey()===f.ENTER&&d.buttons[0].handler()})}}}),e=Ext.getCmp("Atrium-nav-new-test-button");d.show();e?d.alignTo(e.getEl(),"tl-bl?",[0,10]):d.center()}else Ext.Msg.alert("Error","No item selected.")};
|
|
891
|
-
|
|
892
|
-
icon:"/profoundui/proddata/images/FlatIcons/delete_circle.png",handler:function(){
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
handler:function(){
|
|
896
|
-
c.attributes.status
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
sortable
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
type:"date",convert:function(
|
|
909
|
-
width:100,sortable
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
Ext.
|
|
916
|
-
case "stepStarted":u("Step "+
|
|
917
|
-
|
|
918
|
-
"
|
|
919
|
-
"
|
|
920
|
-
margins:"0 0 0 5",style:"background-color: transparent;",handler:function(){
|
|
921
|
-
icon:
|
|
922
|
-
height:10},
|
|
923
|
-
|
|
924
|
-
"close"),handler:function(){
|
|
925
|
-
e.
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
fieldLabel:pui.getLanguageText("runtimeText","banner
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
fieldLabel:pui.getLanguageText("runtimeText","
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
hidden
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
"
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
"
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
"";
|
|
989
|
-
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
"x
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
pui.getLanguageText("runtimeText","
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
"
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
"
|
|
1027
|
-
fieldLabel:pui.getLanguageText("runtimeText","
|
|
1028
|
-
new Ext.
|
|
1029
|
-
new Ext.form.Hidden({name:"
|
|
1030
|
-
"
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
"
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
pui.
|
|
1044
|
-
|
|
1045
|
-
"
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
"
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
"
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
u
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
"
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
"
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
[
|
|
1121
|
-
1;
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
"
|
|
1126
|
-
|
|
1127
|
-
"field column"),name:"AMACOL",width:70,autoCreate:{tag:"input",type:"text",q:"off",maxlength:3},allowBlank:false,blankText:pui.getLanguageText("runtimeMsg","required"),minValue:0,maxValue:131,value:d?a.get("AMACOL"):undefined,allowNegative:false,allowDecimals:false}),new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText",d&&a.get("AMAACTN")===S.N?"selection field choice":"action data"),name:"AMAVAR",width:230,allowBlank:d&&a.get("AMAVARTYPE")===S.ja?true:false,blankText:pui.getLanguageText("runtimeMsg",
|
|
1128
|
-
"required"),value:d?a.get("AMAVAR"):undefined,autoCreate:{tag:"input",type:"text",q:"off",maxlength:128}}),new Ext.form.ComboBox({id:"comboBoxDataType",fieldLabel:pui.getLanguageText("runtimeText",d&&a.get("AMAACTN")===S.N?"value":"data type"),hiddenName:"AMAVARTYPE",width:230,mode:"local",editable:false,forceSelection:true,triggerAction:"all",displayField:"display",valueField:"value",value:d?a.get("AMAVARTYPE"):"0",store:new Ext.data.ArrayStore({autoDestroy:true,fields:["value","display"],data:[[S.Db,
|
|
1129
|
-
pui.getLanguageText("runtimeText","a literal value")],[S.Aa,pui.getLanguageText("runtimeText","a variable value")],[S.ja,pui.getLanguageText("runtimeText","cur user profile")],[S.Sa,pui.getLanguageText("runtimeText","result js expr")]]}),listeners:{select:function(h,j){var k=j.get("value"),i=f.getForm().findField("AMAVAR");if(k==S.ja){i.setValue("");i.disable();i.getEl().up("div.x-form-item").setDisplayed(false)}else{i.enable();i.getEl().up("div.x-form-item").setDisplayed(true)}g.syncSize()}}}),new Ext.form.Hidden({name:"AMAID",
|
|
884
|
+
T.g.qc=function(c){c.select();var a=[{text:"New Test...",icon:"/profoundui/proddata/images/FlatIcons/16x16/add.png",handler:T.g.pb},{text:"Work with Test",icon:"/profoundui/proddata/images/FlatIcons/view.png",handler:function(){var e=c.attributes.id.replace("test-","");T.action.Z("/auto-testing/work-with-test?testid="+e,!1,"Work with Test ("+c.attributes.text+")",null,!1,!0)}},{text:"Rename...",icon:"/profoundui/proddata/images/FlatIcons/change.png",handler:function(){T.g.oe(c)}},{text:"Delete...",
|
|
885
|
+
icon:"/profoundui/proddata/images/FlatIcons/delete_circle.png",handler:function(){T.g.Jd(c)}}];"recorded"!==c.attributes.status&&"validated"!==c.attributes.status||a.splice(1,0,{text:("validated"===c.attributes.status?"Revalidate":"Validate")+(T.recordEnv?"":"..."),icon:"/profoundui/proddata/images/FlatIcons/launch.png",handler:function(){var e=c.id.replace("test-",""),f=T.recordEnv;f?T.action.Z("/auto-testing/work-with-test?testid="+e+"&action=validate&env="+f,!1,"Validating Test ("+c.text+")",null,
|
|
886
|
+
!1,!0):T.g.Gc(function(g){f=g.get("envname");T.action.Z("/auto-testing/work-with-test?testid="+e+"&action=validate&env="+f,!1,"Validating Test ("+c.text+")",null,!1,!0)})}});"new"===c.attributes.status&&a.splice(1,0,{text:"Record",icon:"/profoundui/proddata/images/FlatIcons/record.png",handler:function(e,f){e={attributes:{wf:!0}};Object.assign(e.attributes,c.parentNode.attributes);e.attributes.Ib={macro:"puilauncher",testid:c.attributes.id.replace("test-",""),puilib:T.profounduiLibrary,record:"1",
|
|
887
|
+
autotest:"1"};T.action.doAction(e,f)}});if("validated"===c.attributes.status&&(a.splice(1,0,{text:"Run Test...",icon:"/profoundui/proddata/images/FlatIcons/16x16/launch-session.png",handler:function(){T.g.Gc(function(e){var f=c.id.replace("test-","");e=e.get("envname");T.action.Z("/auto-testing/work-with-test?testid="+f+"&action=run&env="+e,!1,"Work with Run ("+c.text+")",null,!1,!0)})}}),T.DEV&&T.pjsLoggingEnv)){a.splice(2,0,{text:"Execution Diffs...",icon:"/profoundui/proddata/images/FlatIcons/configuration.png",
|
|
888
|
+
handler:function(){T.g.te(c)}});var d=["Improve Performance","Fix Bug"];0<d.length&&a.splice(3,0,{text:"AI Tasks",icon:"/profoundui/proddata/images/FlatIcons/16x16/ai.png",menu:new Ext.menu.Menu({items:d.map(function(e){return{text:e,icon:"/profoundui/proddata/images/FlatIcons/16x16/ai.png",handler:function(){alert("AI Task: "+e)}}})})})}"new"!==c.attributes.status&&a.splice(1,0,{text:"Work with Run...",icon:"/profoundui/proddata/images/FlatIcons/video-demos.png",handler:function(){T.g.Lb(c)}});"disabled"===
|
|
889
|
+
c.attributes.status?a.push({text:"Enable",icon:"/profoundui/proddata/images/FlatIcons/enable.png",handler:function(){T.g.Qd(c)}}):a.push({text:"Disable",icon:"/profoundui/proddata/images/FlatIcons/disable.png",handler:function(){T.g.Ld(c)}});return new Ext.menu.Menu({items:a})};
|
|
890
|
+
T.g.Jd=function(c){Ext.Msg.confirm('Delete "'+c.attributes.text+'"',"Are you sure you want to delete this test?",function(a){"yes"===a&&(T.g.j.msg=pui.getLanguageText("runtimeText","please wait"),T.g.j.show(),Ext.Ajax.request({url:"/auto-testing/delete-test",method:"POST",jsonData:{id:c.id.replace("test-","")},success:function(d){Ext.decode(d.responseText).success?c.remove():Ext.Msg.alert("Error","Failed to delete test.");T.g.j.hide()},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Failed to delete test.")}}))})};
|
|
891
|
+
T.g.oe=function(c){Ext.Msg.prompt("Rename Test","Enter new test name:",function(a,d){"ok"===a&&d&&(T.g.j.msg=pui.getLanguageText("runtimeText","please wait"),T.g.j.show(),Ext.Ajax.request({url:"/auto-testing/rename-test",method:"POST",jsonData:{id:c.id.replace("test-",""),text:d},success:function(e){Ext.decode(e.responseText).success?c.setText(d):Ext.Msg.alert("Error","Failed to rename test.");T.g.j.hide()},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Failed to rename test.")}}))},this,
|
|
892
|
+
!1,c.attributes.text)};T.g.Qd=function(c){T.g.j.msg=pui.getLanguageText("runtimeText","please wait");T.g.j.show();Ext.Ajax.request({url:"/auto-testing/enable-test",method:"POST",jsonData:{id:c.id.replace("test-","")},success:function(a){Ext.decode(a.responseText).success?c.parentNode.reload():Ext.Msg.alert("Error","Failed to enable test.");T.g.j.hide()},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Failed to enable test.")}})};
|
|
893
|
+
T.g.Ld=function(c){T.g.j.msg=pui.getLanguageText("runtimeText","please wait");T.g.j.show();Ext.Ajax.request({url:"/auto-testing/disable-test",method:"POST",jsonData:{id:c.id.replace("test-","")},success:function(a){Ext.decode(a.responseText).success?c.parentNode.reload():Ext.Msg.alert("Error","Failed to disable test.");T.g.j.hide()},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Failed to disable test.")}})};
|
|
894
|
+
T.g.rc=function(c,a){var d=T.g.F.getTopToolbar();d.items.each(function(e){e.Ba&&d.remove(e)});1==T.testingMode&&a&&(a.attributes.sc?(d.add(new Ext.Toolbar.Spacer({Ba:!0})),d.add(new Ext.Toolbar.Spacer({Ba:!0})),d.add({id:"Atrium-nav-new-test-button",text:"New Test...",icon:"/profoundui/proddata/images/FlatIcons/16x16/add.png",iconCls:"atrium-nav-new-test-button",handler:T.g.pb,Ba:!0})):a.attributes.Ca&&(d.add(new Ext.Toolbar.Spacer({Ba:!0})),d.add(new Ext.Toolbar.Spacer({Ba:!0})),c=T.g.qc(a),d.add({text:"Actions",
|
|
895
|
+
icon:"/profoundui/proddata/images/FlatIcons/chart_organisation.png",menu:c,Ba:!0})));d.doLayout()};T.g.ic=function(c,a){c&&c.attributes.Ca?(a.stopEvent(),T.g.qc(c).showAt(a.getXY())):c&&c.attributes.sc&&(a.stopEvent(),c.select(),(new Ext.menu.Menu({items:[{text:"New Test...",icon:"/profoundui/proddata/images/FlatIcons/16x16/add.png",handler:T.g.pb},{text:"Refresh",icon:"/profoundui/proddata/images/FlatIcons/refresh.png",handler:function(){c.reload()}}]})).showAt(a.getXY()))};
|
|
896
|
+
T.g.$b=function(c,a,d,e){return a.attributes.Ca&&d===e?!0:!1};T.g.vc=function(c,a,d,e){if(d===e&&a.attributes.Ca){var f=[];e.eachChild(function(g){g.attributes.Ca&&f.push(g.id.replace("test-",""))});T.g.j.msg="Reordering tests...";T.g.j.show();c={};c.parentId=e.id.replace("folder-","");c.testItems=f;Ext.Ajax.request({url:"/auto-testing/reorder-tests",method:"POST",jsonData:c,success:function(){T.g.j.hide()},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Failed to reorder tests.")}})}};
|
|
897
|
+
T.g.Gc=function(c){var a=new Ext.data.JsonStore({url:"/auto-testing/env-list",root:"data",idProperty:"id",fields:[{name:"id",type:"string"},{name:"envname",type:"string"},{name:"envdesc",type:"string"},{name:"jobdesc",type:"string"},{name:"pjsprotol",type:"string"},{name:"pjshost",type:"string"},{name:"pjsport",type:"string"}],autoLoad:!0}),d=new Ext.grid.GridPanel({store:a,columns:[{header:"Environment ID",dataIndex:"id",width:120,sortable:!0},{header:"Environment Name",dataIndex:"envname",width:150,
|
|
898
|
+
sortable:!0},{header:"Description",dataIndex:"envdesc",width:200,sortable:!0},{header:"Job Description",dataIndex:"jobdesc",width:150,sortable:!0},{header:"Server URL",dataIndex:"pjsprotol",width:200,renderer:function(f,g,h){f=h.get("pjsprotol");g=h.get("pjshost");h=h.get("pjsport");return f+"://"+g+":"+h},sortable:!0}],stripeRows:!0,loadMask:!0,autoScroll:!0,listeners:{rowdblclick:function(f,g){f=f.getStore().getAt(g);e.close();c(f)}}}),e=new Ext.Window({title:"Select an Environment",layout:"fit",
|
|
899
|
+
width:800,height:400,modal:!0,items:[d],buttons:[{text:"Select",handler:function(){var f=d.getSelectionModel().getSelected();f?(e.close(),c(f)):Ext.Msg.alert("No Selection","Please select an environment.")}},{text:"Close",handler:function(){e.close()}}]});e.show()};
|
|
900
|
+
T.g.Lb=function(c,a,d,e){function f(k){k=k.get("arid");var n=c.attributes.text;"function"===typeof e?e(k):T.action.Z("/auto-testing/work-with-test?runid="+k,!1,"Work with Run ("+n+")",null,!1,!0);m.close()}var g=c.id.replace("test-",""),h=new Ext.data.JsonStore({url:"/auto-testing/run-list",root:"data",totalProperty:"total",idProperty:"arid",remoteSort:!0,fields:[{name:"arid",type:"string"},{name:"armode",type:"string"},{name:"araction",type:"string"},{name:"arenv",type:"string"},{name:"arstart",
|
|
901
|
+
type:"date",convert:function(k){return k?T.h.ee(k):null}},{name:"aruser",type:"string"},{name:"arstatus",type:"string"}],sortInfo:{field:"arstart",direction:"DESC"}});h.baseParams={testId:g};a&&(h.baseParams.env=a);d&&(h.baseParams.action=d);var l=new Ext.grid.GridPanel({store:h,columns:[{header:"Run ID",dataIndex:"arid",width:150,sortable:!0},{header:"Mode",dataIndex:"armode",width:80,sortable:!0},{header:"Action",dataIndex:"araction",width:80,sortable:!0},{header:"Environment",dataIndex:"arenv",
|
|
902
|
+
width:100,sortable:!0},{header:"Date/Time",dataIndex:"arstart",width:150,renderer:Ext.util.Format.dateRenderer("Y-m-d H:i:s"),sortable:!0},{header:"User",dataIndex:"aruser",width:100,sortable:!0},{header:"Status",dataIndex:"arstatus",width:150,sortable:!0}],stripeRows:!0,loadMask:!0,bbar:new Ext.PagingToolbar({pageSize:25,store:h,displayInfo:!0,displayMsg:"Displaying runs {0} - {1} of {2}",emptyMsg:"No runs to display"}),listeners:{rowdblclick:function(k,n){k=k.getStore().getAt(n);f(k)}}}),m=new Ext.Window({title:'Select a Test Run for "'+
|
|
903
|
+
c.attributes.text+'"',layout:"fit",width:800,height:400,items:[l],modal:!0,buttons:[{text:"Delete Run...",handler:function(){var k=l.getSelectionModel().getSelected();k?Ext.Msg.confirm("Confirm Delete","Are you sure you want to delete this run?",function(n){"yes"===n&&(T.g.j.msg=pui.getLanguageText("runtimeText","please wait"),T.g.j.show(),Ext.Ajax.request({url:"/auto-testing/delete-run",method:"POST",params:{id:k.get("arid")},success:function(q){T.g.j.hide();try{var p=Ext.decode(q.responseText);
|
|
904
|
+
p.success?h.reload():Ext.Msg.alert("Error",p.error||"Failed to delete the run.")}catch(r){Ext.Msg.alert("Error","Invalid server response.")}},failure:function(){T.g.j.hide();Ext.Msg.alert("Error","Server error occurred.")}}))}):Ext.Msg.alert("No Selection","Please select a run to delete.")},style:"background-color: #e64d3e; border-color: darkred; padding-left: 10px; padding-right: 10px;"},{xtype:"tbspacer",width:10},{text:"Select",handler:function(){var k=l.getSelectionModel().getSelected();k?f(k):
|
|
905
|
+
Ext.Msg.alert("No Selection","Please select a run to proceed.")}},{text:"Close",handler:function(){m.close()}}]});m.show();h.load({params:{start:0,jf:25}})};
|
|
906
|
+
T.g.te=function(c){function a(r){if(1>n.getSelectionModel().getSelections().length)Ext.Msg.alert("Create New Run","Please select the program(s) you want to collect executions logs for.");else{q.show();Ext.getCmp("exeDiffsWindow").items.first().doLayout();e(!0);var t=r?T.rpgLoggingEnv:T.pjsLoggingEnv;if(t){var v=c.id.replace("test-","");t="/auto-testing/run?test="+encodeURIComponent(v)+"&action=logrun&env="+encodeURIComponent(t)+"&atrium-token="+encodeURIComponent(sessionStorage["atrium-token"]||"");
|
|
907
|
+
v=window.location;t=("https:"===v.protocol?"wss://":"ws://")+v.host+t;try{var u=new WebSocket(t)}catch(z){Ext.Msg.alert("Error","Unable to create WebSocket: "+z.message);e(!1);return}u.onopen=function(){Ext.get("exeDiffs-runStatus").update("Starting new test run...<br/>");u.send(JSON.stringify({action:"start"}))};u.onmessage=function(z){z=JSON.parse(z.data);d(u,z,r)};u.onclose=function(){};u.onerror=function(z){z=z.message||"WebSocket error occurred.";Ext.get("exeDiffs-runStatus").update(Ext.get("exeDiffs-runStatus").dom.innerHTML+
|
|
908
|
+
"<br/><span style='color:red'>"+Ext.util.Format.htmlEncode(z)+"</span>");e(!1)}}else Ext.Msg.alert("Error","No logging environment is defined for "+(r?"RPG":"Profound.js")+"."),e(!1)}}function d(r,t,v){function u(B){B=z.dom.innerHTML+Ext.util.Format.htmlEncode(B)+"<br/>";z.update(B);q.body.dom.scrollTop=q.body.dom.scrollHeight}var z=Ext.get("exeDiffs-runStatus");switch(t.type){case "initRun":u("Initializing test run in "+t.data.$e+" environment...");break;case "runStarted":u("Run started. Run ID: "+
|
|
909
|
+
t.data.Cc);v?(h=t.data.Cc,Ext.getCmp("rpgRunField").setValue(h)):(l=t.data.Cc,Ext.getCmp("pjsRunField").setValue(l));break;case "stepStarted":u("Step "+t.data.qe+" started...");break;case "stepCompleted":u("Step "+t.data.qe+" completed. UI OK? "+t.data.yf+", Data OK? "+t.data.Xe);break;case "runEnded":u("Run ended. Status: "+t.data.status);e(!1);f();r.close();break;case "runError":u("Error: "+(t.data&&t.data.error?t.data.error:"Unknown error"));e(!1);r.close();break;case "log":u(t.data);break;default:u("Received: "+
|
|
910
|
+
t.type)}}function e(r){Ext.getCmp("programGrid").setDisabled(r);Ext.getCmp("rpgCreateBtn").setDisabled(r);Ext.getCmp("rpgSelectBtn").setDisabled(r);Ext.getCmp("pjsCreateBtn").setDisabled(r);Ext.getCmp("pjsSelectBtn").setDisabled(r);Ext.getCmp("exDiffViewerBtn").setDisabled(r);Ext.getCmp("codeCoverageViewerBtn").setDisabled(r)}function f(){var r=Ext.getCmp("exDiffViewerBtn"),t=Ext.getCmp("codeCoverageViewerBtn"),v=0<n.getSelectionModel().getSelections().length;h&&l&&v?r.enable():r.disable();l&&v?t.enable():
|
|
911
|
+
t.disable()}var g="Execution Diffs - "+c.text,h="",l="",m=new Ext.data.ArrayStore({fields:["program"],data:[["MYPGM1"],["MYPGM2"],["MYPGM3"],["MYPGM4"]]}),k=new Ext.grid.CheckboxSelectionModel({width:28,checkOnly:!1}),n=new Ext.grid.GridPanel({id:"programGrid",store:m,sm:k,columns:[k,{header:"Select Program(s)",dataIndex:"program",width:385}],forceFit:!0,height:120,border:!0}),q=new Ext.Panel({border:!0,style:"margin-top:10px; padding:5px; border:1px solid #ccc; background-color:#fafafa;",hidden:!0,
|
|
912
|
+
height:100,autoScroll:!0,html:"<div style='font-size:12px; color:#333; line-height:1.4;' id='exeDiffs-runStatus'></div>"});k=new Ext.form.TextField({id:"rpgRunField",readOnly:!0,flex:1,style:"border: 1px solid #aaa; height: 22px;"});m=new Ext.form.TextField({id:"pjsRunField",readOnly:!0,flex:1,style:"border: 1px solid #aaa; height: 22px;"});k=new Ext.Panel({layout:"hbox",border:!1,items:[{xtype:"label",text:"RPG OA Run:",width:90,style:"line-height:22px;"},k,{xtype:"button",id:"rpgCreateBtn",icon:T.m+
|
|
913
|
+
"add.png",tooltip:"Create New Run",margins:"0 0 0 5",style:"background-color: transparent;",handler:function(){a(!0)}},{xtype:"button",id:"rpgSelectBtn",icon:T.m+"view.png",tooltip:"Select Existing Run...",margins:"0 0 0 5",style:"background-color: transparent;",handler:function(){T.g.Lb(c,T.rpgLoggingEnv,"logrun",function(r){h=r;Ext.getCmp("rpgRunField").setValue(h);f()})}}]});m=new Ext.Panel({layout:"hbox",border:!1,items:[{xtype:"label",text:"Profound.js Run:",width:90,style:"line-height: 22px;"},
|
|
914
|
+
m,{xtype:"button",id:"pjsCreateBtn",icon:T.m+"add.png",tooltip:"Create New Run",margins:"0 0 0 5",style:"background-color: transparent;",handler:function(){a(!1)}},{xtype:"button",id:"pjsSelectBtn",icon:T.m+"view.png",tooltip:"Select Existing Run...",margins:"0 0 0 5",style:"background-color: transparent;",handler:function(){T.g.Lb(c,T.pjsLoggingEnv,"logrun",function(r){l=r;Ext.getCmp("pjsRunField").setValue(l);f()})}}]});m=new Ext.Panel({layout:{type:"vbox",align:"stretch"},border:!1,bodyStyle:"padding:10px",
|
|
915
|
+
items:[n,{xtype:"spacer",height:10},k,{xtype:"spacer",height:5},m,q]});var p=new Ext.Window({id:"exeDiffsWindow",title:g,layout:"fit",width:450,height:400,modal:!0,items:[m],buttons:[{id:"exDiffViewerBtn",text:"Diff Viewer...",disabled:!0,handler:function(){Ext.Msg.alert("Info","Launching Execution Diff Viewer.<br/><br/>RPG OA Run Id: "+h+"<br/>PJS Run Id: "+l)}},{id:"codeCoverageViewerBtn",text:"Code Coverage...",disabled:!0,handler:function(){Ext.Msg.alert("Info","Launching Code Coverage Viewer.<br/><br/>PJS Run Id: "+
|
|
916
|
+
l)}},{text:"Close",handler:function(){p.close()}}],listeners:{show:f}});n.getSelectionModel().on("selectionchange",f);p.show()};Ext.onReady(T.g.init);T.g.i.rd=function(){var c=null,a=[];a.push(T.g.i.groups.td());T.B.AUROLE==T.qa&&(c=T.g.i.C.vd(),a.push(c),a.push(T.g.i.v.create()));T.g.i.M=new Ext.Window({title:pui.getLanguageText("runtimeText","control panel"),maximized:!0,resizable:!1,modal:!0,la:!1,layout:"fit",items:[new Ext.TabPanel({items:a,listeners:{tabchange:function(d,e){if(!0===T.g.i.Ka&&e==c){Ext.getCmp("Atrium-cp-navitemMacro").getStore().reload();try{T.g.i.Ka=!1,delete T.g.i.Ka}catch(f){}}}}})],buttons:[{text:pui.getLanguageText("runtimeText",
|
|
917
|
+
"close"),handler:function(){T.g.i.M.close();T.g.i.M.destroy();T.g.i.M=null}}],listeners:{show:function(){T.g.i.M.items.itemAt(0).items.itemAt(0).show()},close:function(){1==T.g.i.M.la&&(T.g.j.msg=pui.getLanguageText("runtimeText","please wait"),T.g.j.show(),T.data.Cb({top:"1"},function(d,e){T.g.j.hide();0==d?(""==e.heading&&(e.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","navigation items")])),T.h.o(e)):(T.items.C=e.C,T.items.toolbar=e.toolbar,T.items.L=
|
|
918
|
+
e.L,T.g.ob())}))}}});T.g.i.M.show()};T.g.i.l.defaults={};T.g.i.l.defaults.Td=100;T.g.i.l.defaults.Ud=75;T.g.i.l.defaults.Ee=110;T.g.i.l.defaults.Fe=50;T.g.i.l.defaults.Zd=70;T.g.i.l.defaults.ed=95;T.g.i.l.defaults.fd=165;T.g.i.l.defaults.$d=170;T.g.i.l.defaults.nd=475;
|
|
919
|
+
T.g.i.l.Ia=function(c){var a=new Ext.Window({title:c.title,modal:!0,maximized:!0,resizable:!1,closable:!1,layout:"fit",listeners:{beforeclose:function(){"function"==typeof c.callback&&c.callback(!0,C.Nb)}}}),d=T.h.V("cp_set_col_width",T.g.i.l.defaults.nd),e=T.B.AUROLE==T.ib?!0:!1,f=T.B.AUROLE==T.Qa?!0:!1,g=T.B.AUROLE==T.qa?!0:!1,h=T.B.AUUSER==c.id?!0:!1,l=1==c.global?!0:!1,m=1==c.group?!0:!1,k=c.group||c.global?!1:!0,n=84,q=179,p=2*d+15;k?f?(n=110,q=231,h&&(n=127,q=222)):g&&(n=110,q=257,"Edit"===
|
|
920
|
+
c.mode&&(p=d)):l?q=110:m&&(q=136);var r=q+345,t=[],v=T.h.V("cp_set_grplbl_width",T.g.i.l.defaults.Td),u=T.h.V("cp_set_grplbl_width_sm",T.g.i.l.defaults.Ud);v=new Ext.form.FieldSet({title:pui.getLanguageText("runtimeText","group")+(m?"":" "+pui.getLanguageText("runtimeText","membership")),autoHeight:!0,width:p,labelWidth:h&&!g?u:v,defaults:{msgTarget:"side"},x:15,y:15});t.push(v);(m||l)&&v.add(new Ext.form.TextField({width:230,name:"AGNAME",fieldLabel:pui.getLanguageText("runtimeText","group name"),
|
|
921
|
+
maxLength:128,autocreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),readOnly:l?!0:!1,style:l?"border-style:none;background-image:none;margin-top:0.5px;":null}));u=h?c.id:g?"0":T.B.AUGROUP;var z="0";m&&"Edit"==c.mode&&(z=c.id);var B=new Ext.form.ComboBox({width:230,hiddenName:"parent",fieldLabel:pui.getLanguageText("runtimeText","member of"),mode:"remote",readOnly:"Add"!=c.mode?!0:!1,style:"Add"!=c.mode?"border-style:none;background-image:none;margin-top:0.5px;":
|
|
922
|
+
null,hideTrigger:"Add"!=c.mode?!0:!1,forceSelection:!0,displayField:"AGNAME",valueField:"AGGROUP",emptyText:pui.getLanguageText("runtimeText","none"),minChars:0,triggerAction:"all",store:new Ext.data.Store({autoDestroy:!0,autoLoad:!0,baseParams:{id:u,omitId:z},proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003003.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["AGGROUP","AGNAME"]}),listeners:{load:function(w){if(m&&1==g){var x=new (Ext.data.Record.create([{name:"AGGROUP"},
|
|
923
|
+
{name:"AGNAME"}]))({AGGROUP:"0",AGNAME:""});w.insert(0,x)}}}}),listeners:{select:function(){var w=C.getForm().findField("inherit"),x=!1;1==w.getValue()&&(x=!0);w.setValue(!0);x&&C.getForm().findField("inherit").fireEvent("check",w,!0);C.tb()},beforequery:function(){if("Add"!=c.mode)return!1}}});if(null!=c.ua){var E=B.store;E.addListener("load",function(){var w=E.getCount();if(0<w){for(var x,A,y=0;y<w;y++)if(A=E.getAt(y),A.get("AGGROUP")==c.ua){x=A;break}null!=x&&(w=x.get(B.displayField),x=x.get(B.valueField),
|
|
924
|
+
B.lastSelectionText=w,B.hiddenField=x,Ext.form.ComboBox.superclass.setValue.call(B,w),B.value=x)}},E,{single:!0})}v.add(B);!f&&!g||l||v.add(new Ext.form.Checkbox({fieldLabel:pui.getLanguageText("runtimeText","inherit settings"),name:"inherit",inputValue:"1",listeners:{check:function(w,x){w=C.getForm();var A=1==x?"disable":"enable";var y=G.items.items.concat(navSet.items.items);L&&(y=y.concat(L.items.items));for(var H=0;H<y.length;H++)y[H][A]();1==x&&1==C.loaded&&(A=w.findField("parent").getValue(),
|
|
925
|
+
C.wc(A));0==x&&(x=w.findField("ACBAN"),0==x.getValue()&&x.fireEvent("check",x,x.getValue()),x=w.findField("ACSHOWHOME"),0==x.getValue()&&x.fireEvent("check",x,x.getValue()))}}}));if(k&&(n=new Ext.form.FieldSet({title:pui.getLanguageText("runtimeText","user"),autoHeight:!0,width:p,labelWidth:T.h.V("cp_set_usrlbl_width",T.g.i.l.defaults.Ee),defaults:{msgTarget:"side"},x:15,y:n}),t.push(n),n.add(new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","user name"),name:"AUNAME",width:230,
|
|
926
|
+
maxLength:128,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128},readOnly:e?!0:!1,style:e?"border-style:none;background-image:none;margin-top:0.5px;":null,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")})),n.add(new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","user profile"),name:"AUPROF",width:230,maxLength:128,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128},readOnly:"Add"!=c.mode?!0:!1,style:"Add"!=c.mode?"border-style:none;background-image:none;margin-top:0.5px;":
|
|
927
|
+
null,allowBlank:"Add"==c.mode?!1:!0,blankText:pui.getLanguageText("runtimeMsg","required")})),g&&n.add(new Ext.form.RadioGroup({fieldLabel:pui.getLanguageText("runtimeText","access role"),name:"accessRole",columns:[T.h.V("cp_set_usrrdo_width",T.g.i.l.defaults.Fe),T.h.V("cp_set_mgrrdo_width",T.g.i.l.defaults.Zd),T.h.V("cp_set_admrdo_width",T.g.i.l.defaults.ed)],items:[new Ext.form.Radio({name:"AUROLE",inputValue:"0",value:"0",boxLabel:pui.getLanguageText("runtimeText","user"),checked:!0,listeners:{check:function(w,
|
|
928
|
+
x){if(1==x)try{var A=C.getForm().findField("AUEDIT");null!=A&&(A.setValue(!1),A.enable())}catch(y){}}}}),new Ext.form.Radio({name:"AUROLE",inputValue:"1",value:"1",boxLabel:pui.getLanguageText("runtimeText","manager"),listeners:{check:function(w,x){if(1==x)try{var A=C.getForm().findField("AUEDIT");null!=A&&(A.setValue(!0),A.disable())}catch(y){}}}}),new Ext.form.Radio({name:"AUROLE",inputValue:"2",value:"2",boxLabel:pui.getLanguageText("runtimeText","administrator"),listeners:{check:function(w,x){if(1==
|
|
929
|
+
x)try{var A=C.getForm().findField("AUEDIT");null!=A&&(A.setValue(!0),A.disable())}catch(y){}}}})]})),(g||f&&!h)&&n.add(new Ext.form.Checkbox({name:"AUEDIT",fieldLabel:pui.getLanguageText("runtimeText","can edit profile"),inputValue:"1"})),1==T.USE_VLDL&&(n.add(new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","password"),name:"password",width:230,maxLength:100,minLength:6,minLengthText:pui.getLanguageText("runtimeMsg","password must be"),autoCreate:{tag:"input",type:"password",
|
|
930
|
+
autocomplete:"off",maxlength:128},allowBlank:!0})),n.add(new Ext.form.TextField({fieldLabel:"Confirm password",name:"confirmPass",width:230,maxLength:100,minLength:6,minLengthText:pui.getLanguageText("runtimeMsg","password must be"),autoCreate:{tag:"input",type:"password",autocomplete:"off",maxlength:128},allowBlank:!0}))),g)){e=new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003032.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["id","name"]}),
|
|
931
|
+
listeners:{loadexception:function(w,x,A){T.data.u(A,function(y,H){""==H.heading&&(H.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","supplemental groups")]));T.h.o(H)})}}});var F=new Ext.grid.EditorGridPanel({title:pui.getLanguageText("runtimeText","supplemental groups"),width:d,x:d+30,y:22,height:227,loadMask:!0,clicksToEdit:2,store:e,columns:[{header:pui.getLanguageText("runtimeText","group name"),sortable:!0,width:d-5,dataIndex:"name"}],tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText",
|
|
932
|
+
"add"),icon:T.m+"add.png",handler:function(){T.g.i.l.$c(F)}},{text:pui.getLanguageText("runtimeText","remove"),disabled:!0,icon:T.m+"delete_circle.png",handler:function(){for(var w=F.getSelectionModel().getSelections(),x=0;x<w.length;x++)F.getStore().remove(w[x])}}]}),selModel:new Ext.grid.RowSelectionModel({listeners:{selectionchange:function(w){w=w.getSelections();var x=F.getTopToolbar().items.itemAt(1);if(0==w.length)x.disable();else{for(var A=!1,y=0;y<w.length;y++)if("0"==w[y].get("type")){A=
|
|
933
|
+
!0;break}A?x.disable():x.enable()}}}})});t.push(F);F.getStore().load({params:{user:c.id}})}var G=new Ext.form.FieldSet({title:pui.getLanguageText("runtimeText","appearance"),labelWidth:T.h.V("cp_set_applbl_width",T.g.i.l.defaults.fd),width:d,autoHeight:!0,x:15,y:q,defaults:{msgTarget:"side"}});t.push(G);G.add(new Ext.form.TextField({width:230,name:"ACBTITLE",fieldLabel:pui.getLanguageText("runtimeText","browser title"),maxLength:128,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128},
|
|
934
|
+
allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}));G.add(new Ext.form.Checkbox({name:"ACBAN",fieldLabel:pui.getLanguageText("runtimeText","show banner"),inputValue:"1",listeners:{check:function(w,x){var A=w.ownerCt.ownerCt.getForm();w=A.findField("ACBANHGHT");var y=A.findField("ACBANURL");A=A.findField("inherit");var H=!1;null!=A&&1==A.getValue()&&(H=!0);1==x?(H||w.enable(),w.setValue(100),w.getEl().up("div.x-form-item").setDisplayed(!0),null!=y&&(y.setValue("/profoundui/userdata/html/atrium_banner.html"),
|
|
935
|
+
y.getEl().up("div.x-form-item").setDisplayed(!0),H||y.enable())):(w.setValue(""),w.disable(),w.getEl().up("div.x-form-item").setDisplayed(!1),w.clearInvalid(),null!=y&&(y.setValue(""),y.clearInvalid(),y.disable(),y.getEl().up("div.x-form-item").setDisplayed(!1)))}}}));(f||g)&&G.add(new Ext.form.TextField({name:"ACBANURL",fieldLabel:pui.getLanguageText("runtimeText","banner url"),width:230,maxLength:128,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg",
|
|
936
|
+
"required")}));G.add(new Ext.form.NumberField({width:100,name:"ACBANHGHT",fieldLabel:pui.getLanguageText("runtimeText","banner height"),minValue:1,maxValue:600,allowDecimals:!1,allowNegative:!1,maxLength:4,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:4},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}));G.add(new Ext.form.ComboBox({width:100,fieldLabel:pui.getLanguageText("runtimeText","theme"),hiddenName:"ACTHEME",mode:"local",editable:!1,forceSelection:!0,
|
|
937
|
+
valueField:"css",displayField:"name",triggerAction:"all",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["css","name"],data:T.THEMES})}));G.add(new Ext.form.Checkbox({name:"ACSHOWFAV",fieldLabel:pui.getLanguageText("runtimeText","show fav start"),inputValue:"1",disabled:"1"!==T.l.ACFAV}));if(f||g)G.add(new Ext.form.Checkbox({name:"ACUTHEME",fieldLabel:pui.getLanguageText("runtimeText","allow sel theme"),inputValue:"1"})),G.add(new Ext.form.Checkbox({name:"ACSEARCH",fieldLabel:pui.getLanguageText("runtimeText",
|
|
938
|
+
"show menu search"),inputValue:"1"})),G.add(new Ext.form.Checkbox({name:"ACFAV",fieldLabel:pui.getLanguageText("runtimeText","show fav sys"),inputValue:"1",listeners:{check:function(w,x){w=C.getForm().findField("ACSHOWFAV");!1===x?(w.setValue(!1),w.disable()):w.enable()}}})),G.add(new Ext.form.NumberField({name:"ACLIMIT",fieldLabel:pui.getLanguageText("runtimeText","limit num sessn"),allowBlank:!1,allowDecimals:!1,allowNegative:!1,maxLength:5,minLength:1,maxValue:99999,minValue:0})),G.add(new Ext.form.Checkbox({name:"ACTIMEOUT",
|
|
939
|
+
fieldLabel:pui.getLanguageText("runtimeText","atrium timeout"),inputValue:"1"}));navSet=new Ext.form.FieldSet({title:pui.getLanguageText("runtimeText","navigation"),width:d,x:d+30,y:q,autoHeight:!0,labelWidth:T.h.V("cp_set_navlbl_width",T.g.i.l.defaults.$d),defaults:{msgTarget:"side"}});t.push(navSet);navSet.add(new Ext.form.Checkbox({name:"ACSHOWHOME",fieldLabel:pui.getLanguageText("runtimeText","show hmpg start"),inputValue:"1",listeners:{check:function(w,x){var A=w.ownerCt.ownerCt.getForm();w=
|
|
940
|
+
A.findField("ACHOMEURL");A=A.findField("inherit");var y=!1;null!=A&&1==A.getValue()&&(y=!0);1==x?null!=w&&(w.setValue(""),w.getEl().up("div.x-form-item").setDisplayed(!0),y||w.enable()):null!=w&&(w.setValue(""),w.clearInvalid(),w.disable(),w.getEl().up("div.x-form-item").setDisplayed(!1))}}}));(f||g)&&navSet.add(new Ext.form.ComboBox({width:230,hiddenName:"ACHOMEURL",fieldLabel:pui.getLanguageText("runtimeText","home page"),mode:"remote",editable:!0,forceSelection:!0,displayField:"ANTEXT",valueField:"ANITEM",
|
|
941
|
+
emptyText:pui.getLanguageText("runtimeMsg","type or sel home page"),allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),minChars:0,triggerAction:"all",store:new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003027.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["ANITEM","ANTEXT"]})})}));navSet.add(new Ext.form.TextField({width:230,name:"ACNTITLE",fieldLabel:pui.getLanguageText("runtimeText","navi pnl title"),maxLength:128,autoCreate:{tag:"input",
|
|
942
|
+
type:"text",autocomplete:"off",maxlength:128},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.NumberField({width:100,name:"ACNWIDTH",fieldLabel:pui.getLanguageText("runtimeText","navi pnl width"),minValue:1,maxValue:2E3,maxLength:4,allowDecimals:!1,allowNegative:!1,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:4}}),new Ext.form.ComboBox({width:100,hiddenName:"ACNTYPE",fieldLabel:pui.getLanguageText("runtimeText",
|
|
943
|
+
"navi type"),mode:"local",editable:!1,forceSelection:!0,valueField:"typeCode",displayField:"type",triggerAction:"all",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["typeCode","type"],data:[["T",pui.getLanguageText("runtimeText","tree")],["A",pui.getLanguageText("runtimeText","accordion")]]})}),new Ext.form.Checkbox({name:"ACSCLICK",fieldLabel:pui.getLanguageText("runtimeText","single click nav"),inputValue:"1"}),new Ext.form.NumberField({width:100,name:"ACMINSRCH",fieldLabel:pui.getLanguageText("runtimeText",
|
|
944
|
+
"min search chars"),minValue:1,maxValue:10,maxLength:4,allowDecimals:!1,allowNegative:!1,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:4}}));if(g){var L=new Ext.form.FieldSet({title:pui.getLanguageText("runtimeText","libl for rdf apps"),width:2*d+15,x:15,y:r,autoHeight:!0,labelWidth:170,defaults:{msgTarget:"side"}});t.push(L);L.add(new Ext.form.ComboBox({width:230,hiddenName:"libl_method",fieldLabel:pui.getLanguageText("runtimeText",
|
|
945
|
+
"library list"),mode:"local",editable:!1,forceSelection:!0,valueField:"return",displayField:"display",triggerAction:"all",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["return","display"],data:[["default",pui.getLanguageText("runtimeText","use atrium def libl")],["jobd",pui.getLanguageText("runtimeText","use jobd libl")],["list",pui.getLanguageText("runtimeText","specify libl")]]}),listeners:{select:function(w,x){w=x.get("return");x=C.getForm().findField("ACCURLIB");var A=C.getForm().findField("ACJOBD"),
|
|
946
|
+
y=C.getForm().findField("ACJOBDLIB");"jobd"==w?(D.hide(),x.enable(),x.show(),A.enable(),A.show(),y.enable(),y.show()):"list"==w?(x.enable(),x.show(),D.show(),A.setValue("*USRPRF"),A.clearInvalid(),A.disable(),A.hide(),y.setValue(""),y.clearInvalid(),y.disable(),y.hide()):(x.setValue(""),x.clearInvalid(),x.disable(),x.hide(),A.setValue("*USRPRF"),A.clearInvalid(),A.disable(),A.hide(),y.setValue(""),y.clearInvalid(),y.disable(),y.hide(),D.hide());L.doLayout()}}}));L.add(new Ext.form.TextField({width:100,
|
|
947
|
+
name:"ACCURLIB",fieldLabel:pui.getLanguageText("runtimeText","current library"),maxLength:10,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:10},emptyText:"*CRTDFT",style:"text-transform:uppercase;",hidden:!0}),new Ext.form.TextField({width:100,name:"ACJOBD",fieldLabel:pui.getLanguageText("runtimeText","job descr"),maxLength:10,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:10},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),style:"text-transform:uppercase;",
|
|
948
|
+
hidden:!0}),new Ext.form.TextField({width:100,name:"ACJOBDLIB",fieldLabel:pui.getLanguageText("runtimeText","job descr lib"),maxLength:10,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:10},emptyText:"*LIBL",style:"text-transform:uppercase;",hidden:!0}));d=new Ext.data.ArrayStore({autoLoad:!1,autoDestroy:!0,fields:["library"]});var D=new Ext.grid.EditorGridPanel({height:300,clicksToEdit:2,columns:[{dataIndex:"library",menuDisabled:!0,hideable:!1,resizable:!1,sortable:!1,editor:new Ext.form.TextField({maxLength:10,
|
|
949
|
+
autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:10},allowBlank:!1,style:"text-transform:uppercase;"})}],store:d,selModel:new Ext.grid.RowSelectionModel({singleSelect:!0,listeners:{selectionchange:function(w){var x=D.getTopToolbar(),A=x.find("text",pui.getLanguageText("runtimeText","up"))[0],y=x.find("text",pui.getLanguageText("runtimeText","down"))[0];x=x.find("text",pui.getLanguageText("runtimeText","remove"))[0];A.disable();y.disable();x.disable();0!=w.getCount()&&(x.enable(),x=
|
|
950
|
+
D.getStore(),w=w.getSelected(),w=x.indexOf(w),0<w&&A.enable(),w<x.getCount()-1&&y.enable())}}}),listeners:{afteredit:function(w){w=w.record;var x=Ext.util.Format.trim(w.get("library").toUpperCase());1<D.getStore().queryBy(function(A){return A.get("library")==x}).getCount()?(w.reject(),T.h.o(pui.getLanguageText("runtimeMsg","x is already in list",[x]))):T.h.Ab(x)?w.commit():(w.reject(),T.h.o(pui.getLanguageText("runtimeMsg","x is not valid libname",[x])))}},viewConfig:{autoFill:!0,emptyText:pui.getLanguageText("runtimeMsg",
|
|
951
|
+
"no libraries in list")},stripeRows:!0,tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",tooltip:pui.getLanguageText("runtimeMsg","add libl entry"),handler:function(){var w=D.getSelectionModel(),x=D.getStore();Ext.MessageBox.prompt(pui.getLanguageText("runtimeMsg","add libl entry"),pui.getLanguageText("runtimeText","library")+":",function(A,y){if("ok"==A)if(y=Ext.util.Format.trim(y.toUpperCase()),T.h.Ab(y))if(0<x.queryBy(function(J){return J.get("library")==
|
|
952
|
+
y}).getCount())T.h.o(pui.getLanguageText("runtimeMsg","x is already in list",[y]));else{var H=[[y]];A=0;0<w.getCount()?A=x.indexOf(w.getSelected())+1:0<x.getCount()&&(A=x.getCount());x.loadData(H,!0);H=x.getAt(x.getCount()-1);x.remove(H);x.insert(A,H);w.selectRow(A)}else T.h.o(pui.getLanguageText("runtimeMsg","x is not valid libname",[y]))})}},{text:pui.getLanguageText("runtimeText","up"),icon:T.m+"arrow_up.png",tooltip:pui.getLanguageText("runtimeText","move up"),disabled:!0,handler:function(){var w=
|
|
953
|
+
D.getSelectionModel(),x=D.getStore(),A=w.getSelected(),y=x.indexOf(A);x.remove(A);x.insert(y-1,[A]);w.selectRecords([A])}},{text:pui.getLanguageText("runtimeText","down"),icon:T.m+"arrow_down.png",tooltip:pui.getLanguageText("runtimeText","move down"),disabled:!0,handler:function(){var w=D.getSelectionModel(),x=D.getStore(),A=w.getSelected(),y=x.indexOf(A);x.remove(A);x.insert(y+1,[A]);w.selectRecords([A])}},{text:pui.getLanguageText("runtimeText","remove"),icon:T.m+"delete_circle.png",tooltip:pui.getLanguageText("runtimeText",
|
|
954
|
+
"remove"),disabled:!0,handler:function(){var w=D.getSelectionModel(),x=D.getStore(),A=w.getSelected(),y=x.indexOf(A);x.remove(A);x=x.getCount();0<x&&x>=y&&w.selectRow(0<y?y-1:0)}}]}),hidden:!0});L.add(D)}var C=new Ext.form.FormPanel({url:T.h.s("PUI0003005.pgm"),baseParams:{id:c.id,user:k?"1":"0",group:m?"1":"0",global:l?"1":"0",parentId:""},monitorValid:!0,bodyStyle:"padding: 15px;",autoScroll:!0,layout:"absolute",items:t,fa:[],Nb:[],loaded:!1,listeners:{beforeaction:function(w){var x;T.g.j.msg=pui.getLanguageText("runtimeMsg",
|
|
955
|
+
"saving");T.g.j.show();C.baseParams.parentId=w.findField("parent").getValue();if((x=C.getForm().findField("libl_method"))&&"list"==x.getValue()){var A=D.getStore(),y=A.getCount();C.baseParams.libl_count=y;for(x=0;x<y;x++)C.baseParams["libl_entry"+(x+1)]=Ext.util.Format.trim(A.getAt(x).get("library"))}if("undefined"!==typeof F&&F.store)for(x=0;x<F.store.getCount();x++)C.baseParams["supgroup"+(x+1)]=F.store.getAt(x).get("id");k&&(C.baseParams.enc_AUNAME=pui.G.encode(w.findField("AUNAME").getValue()))},
|
|
956
|
+
actionfailed:function(w,x){T.data.u(x.response,function(A,y){T.g.j.hide();T.h.o(y,function(){C.tb()})})},actioncomplete:function(w){function x(){a.close();T.g.j.msg=pui.getLanguageText("runtimeText","please wait");T.g.j.show();T.data.Db({id:T.B.AUUSER},function(H,J){T.g.j.hide();if(0==H)""==J.heading&&(J.heading=pui.getLanguageText("runtimeMsg","unable to load new sett")),T.h.o(J);else{for(var I in J)"undefined"!=typeof T.B[I]?T.B[I]=J[I]:"undefined"!=typeof T.l[I]&&(T.l[I]=J[I]);T.g.ob()}})}var A=
|
|
957
|
+
w.findField("AUPROF");A&&(T.g.i.groups.va=A.getValue());-1==C.Nb.indexOf(w.findField("parent").getValue())&&C.Nb.push(w.findField("parent").getValue());w="x updated";if(m){var y=pui.getLanguageText("runtimeText","group");"Add"==c.mode&&(w="x added")}else k?h?(y=pui.getLanguageText("runtimeText","settings"),w="x saved"):(y=pui.getLanguageText("runtimeText","user"),"Add"==c.mode&&(w="x added")):l&&(y=pui.getLanguageText("runtimeText","global settings"));y=pui.getLanguageText("runtimeMsg",w,[y]);T.g.j.hide();
|
|
958
|
+
"Add"==c.mode?(y+="<br /><br />"+pui.getLanguageText("runtimeMsg","would you like add ano"),Ext.MessageBox.confirm("Atrium",y,function(H){"yes"==H?C.Sc():x()})):T.h.J(y,x)},beforedestroy:function(){C.qb()}},keys:[{key:Ext.EventObject.ENTER,handler:function(){1==C.getForm().isValid()&&C.getForm().submit()},stopEvent:!0}],buttonAlign:"right",buttons:[{formBind:!0,text:pui.getLanguageText("runtimeText","save"),handler:function(){1==C.getForm().isValid()&&C.getForm().submit()}},{text:pui.getLanguageText("runtimeText",
|
|
959
|
+
"cancel"),handler:function(){a.close()}}],tb:function(){for(var w=0;w<C.getForm().items.getCount();w++)if(field=C.getForm().items.itemAt(w),0==field.readOnly&&0==field.disabled&&"textfield"==field.getXType()){field.focus.defer(300,field);break}},jb:function(){var w;for(w in T.A){var x=C.find("name",w)[0];null!=x&&"hidden"!=x.getXType()&&(x=x.getEl().up("div.x-form-element").prev(),Ext.QuickTips.register({target:x,title:pui.getLanguageText("runtimeText",T.A[w].title),text:pui.getLanguageText("runtimeText",
|
|
960
|
+
T.A[w].text)}),C.fa.push(x))}},qb:function(){for(var w=0;w<C.fa.length;w++)Ext.QuickTips.unregister(C.fa[w])},Sc:function(){var w=C.getForm();c.group?(w.findField("AGNAME").setValue(""),w.findField("AGNAME").focus()):(w.findField("AUNAME").setValue(""),w.findField("AUPROF").setValue(""),null!=C.find("name","accessRole")[0]&&C.find("name","accessRole")[0].setValue(T.ib),w.findField("AUEDIT").setValue(!1),w.findField("AUNAME").focus());w.clearInvalid()},wc:function(w,x){T.g.j.msg=pui.getLanguageText("runtimeMsg",
|
|
961
|
+
"loading");T.g.j.show();var A=!1;l||0==w&&null!=x&&(A=!0);A&&(w=x);x="0";if(1==C.loaded||l||A)x="1";T.data.Db({id:w,settingsOnly:x,global:1==l?"1":"0",add:1==A?"1":"0"},function(y,H){if(0==y)T.g.j.hide(),T.h.o(error,function(){a.close()});else{var J=C.getForm();for(I in H)y=J.findField(I),null!=y&&("combo"==y.getXType()&&"remote"==y.mode?(y.$a=H[I],y.store.da=y,y.store.addListener("load",function(){this.da.setValue(this.da.$a)},y.store,{single:"true"}),y.store.load()):y.setValue(H[I]));var I=J.findField("ACBAN");
|
|
962
|
+
0==I.getValue()&&I.fireEvent("check",I,I.getValue());I=J.findField("ACSHOWHOME");0==I.getValue()&&I.fireEvent("check",I,I.getValue());if(y=C.getForm().findField("libl_method")){D.getStore().removeAll();y=J.findField("libl_method");if(""!=H.ACJOBD)y.setValue("jobd");else if(""!=H.ACLIBL){y.setValue("list");J=H.ACLIBL.split(" ");var S=[];for(I=0;I<J.length;I++){var ka=Ext.util.Format.trim(J[I].toUpperCase()),la=[ka];T.h.Ab(ka)&&-1==S.indexOf(la)&&S.push(la)}D.getStore().loadData(S,!1)}else y.setValue("default");
|
|
963
|
+
y.fireEvent("select",y,y.getStore().getAt(y.getStore().find("return",y.getValue())),y.getStore().find("return",y.getValue()))}null!=C.find("name","accessRole")[0]&&null!=H.AUROLE&&C.find("name","accessRole")[0].items.itemAt(0).setValue(H.AUROLE);0==C.fa.length&&C.jb();C.loaded=!0;T.g.j.hide();C.tb()}})}});a.add(C);a.show();C.wc(c.id,c.ua)};
|
|
964
|
+
T.g.i.l.$c=function(c){function a(){var f=d.getSelectionModel().getSelected(),g=f.get("id");-1!=c.getStore().findExact("id",g)?(f=f.get("name"),T.h.o(pui.getLanguageText("runtimeMsg","already in suppl grp x",[f]),function(){d.getGridEl().focus()})):(c.store.add(f),e.close())}var d=new Ext.grid.GridPanel({loadMask:!0,store:new Ext.data.Store({autoDestroy:!0,autoLoad:!0,proxy:new Ext.data.HttpProxy({method:"POST",url:T.h.s("PUI0003034.pgm")}),reader:new Ext.data.JsonReader({root:"data",fields:["name",
|
|
965
|
+
"id"]}),listeners:{loadexception:function(f,g,h){T.data.u(h,function(l,m){""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","groups")]));T.h.o(m,function(){e.close()})})},load:function(f){0<f.getCount()&&(d.getSelectionModel().selectFirstRow(),d.getGridEl().focus())}}}),columns:[{header:pui.getLanguageText("runtimeText","group name"),sortable:!0,width:600,dataIndex:"name"}],selModel:new Ext.grid.RowSelectionModel({singleSelect:!0,listeners:{selectionchange:function(f){var g=
|
|
966
|
+
d.getTopToolbar().items.itemAt(0);1==f.getSelections().length?g.enable():g.disable()}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","select"),icon:T.m+"arrow_right.png",disabled:!0,handler:a}]}),keys:[{key:Ext.EventObject.ENTER,fn:function(f,g){1==d.getSelectionModel().getSelections().length&&a();g.stopEvent()}}],listeners:{rowdblclick:function(f,g,h){1==d.getSelectionModel().getSelections().length&&a();h.stopEvent()}}}),e=new Ext.Window({title:pui.getLanguageText("runtimeText",
|
|
967
|
+
"add usr to supp grp"),modal:!0,maximized:!1,height:300,width:400,resizable:!0,layout:"fit",items:[d],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","close"),handler:function(){e.close()}}]});e.show()};T.g.i.groups.defaults={};T.g.i.groups.defaults.Ge=200;T.g.i.groups.defaults.Cf=50;T.g.i.groups.va=null;T.g.i.groups.ma=null;
|
|
968
|
+
T.g.i.groups.td=function(){function c(q){if(!l)return!0;q=q.data;return q.AUPROF.match(l)||q.AUNAME.match(l)?!0:!1}if(T.B.AUROLE==T.qa){var a="0";var d=pui.getLanguageText("runtimeText","all groups");var e=null}else a=T.B.AUGROUP,d=T.B.AGNAME,e=T.m+"group.png";a=new Ext.tree.AsyncTreeNode({id:a,text:d,icon:e,expanded:!0,allowDrag:!1,allowDrop:!0});var f=new Ext.tree.DefaultSelectionModel({listeners:{selectionchange:function(q,p){q=g.getTopToolbar().items.itemAt(0);var r=g.getTopToolbar().items.itemAt(1),
|
|
969
|
+
t=g.getTopToolbar().items.itemAt(2),v=Ext.getCmp("filterUserTextBox");null==p?(q.disable(),r.disable(),t.disable(),v.disable()):(q.enable(),r.enable(),v.enable(),"0"==p.id?t.disable():t.enable());null==p?(m.setTitle(pui.getLanguageText("runtimeText","users")),m.getStore().removeAll(),m.getTopToolbar().items.itemAt(0).disable(),k.hide()):(m.getStore().load({params:{group:p.id}}),m.getTopToolbar().items.itemAt(3).enable(),"0"!=p.id?(m.setTitle(pui.getLanguageText("runtimeText","users w primary grp",
|
|
970
|
+
[p.text])),m.getTopToolbar().items.itemAt(0).enable(),T.B.AUROLE==T.qa&&(k.show(),k.setTitle(pui.getLanguageText("runtimeText","users w suppl grp",[p.text])),k.getStore().load({params:{group:p.id}}))):(m.setTitle(pui.getLanguageText("runtimeText","users",[p.text])),m.getTopToolbar().items.itemAt(0).disable(),k.hide()));n.syncSize()}}}),g=new Ext.tree.TreePanel({region:"west",split:!0,collapsible:!0,width:T.h.V("cp_grp_westpnl_width",T.g.i.groups.defaults.Ge),title:pui.getLanguageText("runtimeText",
|
|
971
|
+
"groups"),selModel:f,autoScroll:!0,enableDD:!0,tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),cls:"x-btn-text-icon",icon:T.m+"group_add.png",handler:function(){var q=f.getSelectedNode();T.g.i.groups.Tc(q,g)},disabled:!0},{text:pui.getLanguageText("runtimeText","edit"),cls:"x-btn-text-icon",icon:T.m+"group_edit.png",handler:function(){var q=f.getSelectedNode();T.g.i.groups.Od(q,g)},disabled:!0},{text:pui.getLanguageText("runtimeText","delete"),cls:"x-btn-text-icon",icon:T.m+
|
|
972
|
+
"group_delete.png",handler:function(){var q=f.getSelectedNode(),p=pui.getLanguageText("runtimeText","delete x",[pui.getLanguageText("runtimeText","group")]),r=pui.getLanguageText("runtimeMsg","msg del group",[q.text]);Ext.MessageBox.confirm(p,r,function(t){"yes"==t&&T.g.i.groups.Bd(q)})},disabled:!0},new Ext.Toolbar.Fill,{icon:T.m+"arrow_refresh.png",handler:function(){function q(t){return t?t&&t.parentNode&&"0"!==t.parentNode.id?q(t.parentNode):t.text:null}Ext.getCmp("filterUserTextBox").setValue("");
|
|
973
|
+
l=null;var p=g.getSelectionModel().getSelectedNode();g.getSelectionModel().unselect(p,!0);var r=q(p);g.loader.load(g.root,function(){g.root.expand();if(r)for(var t=Object.keys(g.nodeHash),v=0;v<t.length;v++){var u=g.nodeHash[t[v]];if(u.text==r){u.expand();g.getSelectionModel().select(u);break}}})}}]}),root:a,loader:new Ext.tree.TreeLoader({url:T.h.s("PUI0003004.pgm"),baseAttrs:{icon:T.m+"group.png"},listeners:{loadexception:function(q,p,r){T.data.u(r,function(t,v){v.heading=pui.getLanguageText("runtimeMsg",
|
|
974
|
+
"unable to load x",[pui.getLanguageText("runtimeText","groups")]);T.h.o(v)})}}}),dropConfig:{allowContainerDrop:!1,onNodeDrop:function(q,p,r,t){var v=q.node;if(t.selections){if("0"==v.id)return!1;q=pui.getLanguageText("runtimeMsg","conf reassign users 1");q=1==t.selections.length?q+pui.getLanguageText("runtimeMsg","conf reassign users 2a",[t.selections[0].get("AUPROF")]):q+pui.getLanguageText("runtimeMsg","conf reassign users 2b");q+=pui.getLanguageText("runtimeMsg","conf reassign users 3",[v.text]);
|
|
975
|
+
Ext.MessageBox.confirm(pui.getLanguageText("runtimeText","reassign x",[pui.getLanguageText("runtimeText","users")]),q,function(u){"yes"==u&&T.g.i.groups.ie(v,t.selections)})}else if(t.node){if(v==t.node||"0"!=v.id&&(1==v.isAncestor(t.node)||1==t.node.isAncestor(v)))return!1;q=pui.getLanguageText("runtimeMsg","conf reassign group",[t.node.text,v.text]);Ext.MessageBox.confirm(pui.getLanguageText("runtimeText","reassign x",[pui.getLanguageText("runtimeText","group")]),q,function(u){"yes"==u&&T.g.i.groups.he(v,
|
|
976
|
+
t.node)})}r.stopEvent();return!1}}}),h=new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003006.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:"AUGROUP AUUSER AUPROF AUNAME AUROLE AGNAME".split(" ")}),listeners:{load:function(q){if(0<q.getCount()){q.each(function(z){z.set("AUNAME",pui.G.decode(z.get("AUNAME")));z.commit()});h.filterBy(c);m.getGridEl().focus();q=0;var p=null;if(T.g.i.groups.va)for(var r=new RegExp("^"+T.g.i.groups.va+"$","i"),
|
|
977
|
+
t=0;t<this.data.items.length;t++){var v=this.data.items[t];if(v.data.AUPROF.match(r)){p=v;q=t;break}}p||T.g.i.groups.ma||(p=this.data.items[q]);p&&m.getSelectionModel().selectRecords([p]);if(T.g.i.groups.ma){var u=0;null!=T.g.i.groups.ma.top&&(u=parseInt(T.g.i.groups.ma.top));setTimeout(function(){m.getView().scroller.scrollTo("top",u||0)},200)}T.g.i.groups.va="";T.g.i.groups.ma=null}},loadexception:function(q,p,r){m.getStore().removeAll();T.data.u(r,function(t,v){""==v.heading&&(v.heading=pui.getLanguageText("runtimeMsg",
|
|
978
|
+
"unable to load x",[pui.getLanguageText("runtimeText","users")]));T.h.o(v)})}},remoteSort:!1,sortInfo:{field:"AUPROF",direction:"ASC"}});a={defaultSortable:!0,columns:[{header:pui.getLanguageText("runtimeText","user profile"),dataIndex:"AUPROF",width:185},{header:pui.getLanguageText("runtimeText","user name"),dataIndex:"AUNAME",width:Ext.isIE?230:235},{header:pui.getLanguageText("runtimeText","access role"),dataIndex:"AUROLE",width:100,renderer:function(q){return q==T.ib?pui.getLanguageText("runtimeText",
|
|
979
|
+
"user"):q==T.Qa?pui.getLanguageText("runtimeText","manager"):q==T.qa?pui.getLanguageText("runtimeText","administrator"):q}},{header:pui.getLanguageText("runtimeText","primary group"),dataIndex:"AGNAME",width:185}]};var l=null,m=new Ext.grid.GridPanel({xtype:"panel",flex:2,title:pui.getLanguageText("runtimeText","users"),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"user_add.png",disabled:!0,handler:function(){T.g.i.groups.va="";T.g.i.groups.ma=m.getView().scroller.getScroll();
|
|
980
|
+
var q=f.getSelectedNode();T.g.i.groups.cd(q,m,k)}},{text:pui.getLanguageText("runtimeText","edit"),icon:T.m+"user_edit.png",disabled:!0,handler:function(){T.g.i.groups.va="";T.g.i.groups.ma=m.getView().scroller.getScroll();var q=m.getSelectionModel().getSelected();T.g.i.groups.nc(q,m,k)}},{text:pui.getLanguageText("runtimeText","delete"),icon:T.m+"user_delete.png",disabled:!0,handler:function(){T.g.i.groups.va="";T.g.i.groups.ma=m.getView().scroller.getScroll();var q=m.getSelectionModel().getSelections(),
|
|
981
|
+
p=pui.getLanguageText("runtimeMsg","conf delete users 1");if(1==q.length){p+=pui.getLanguageText("runtimeMsg","conf delete users 2a",[q[0].get("AUPROF")]);var r=pui.getLanguageText("runtimeText","user")}else p+=pui.getLanguageText("runtimeMsg","conf delete users 2b"),r=pui.getLanguageText("runtimeText","users");r=pui.getLanguageText("runtimeText","delete x",[r]);Ext.MessageBox.confirm(r,p,function(t){"yes"==t&&T.g.i.groups.Kd(q,m,k)})}},{icon:T.m+"arrow_refresh.png",disabled:!0,handler:function(){var q=
|
|
982
|
+
g.getSelectionModel().getSelectedNode();g.getSelectionModel().unselect(q,!0);g.getSelectionModel().select(q)}},"-",new Ext.form.TextField({id:"filterUserTextBox",style:"padding-right:25px;margin:1px -25px 0px 10px",emptyText:pui.getLanguageText("runtimeText","user")+" "+pui.getLanguageText("runtimeText","filter text"),disabled:!0,listeners:{afterrender:function(q){q.getEl().dom.addEventListener("input",function(p){p=p.target.value.trim();Ext.getCmp("filterUserTextBoxClearButton").setVisible(null!==
|
|
983
|
+
p);l=p?new RegExp(p,"i"):null;h.filterBy(c)})}}}),{id:"filterUserTextBoxClearButton",tooltip:pui.getLanguageText("runtimeText","upload clear text"),style:"margin-top:1px;background-color:transparent;border-color:transparent;",icon:T.m+"cleartext.png",hidden:!0,handler:function(q){q.hide();Ext.getCmp("filterUserTextBox").setValue("");l=null;h.filterBy(c)}}]}),cm:new Ext.grid.ColumnModel(a),sm:new Ext.grid.RowSelectionModel({singleSelect:!1,listeners:{selectionchange:function(q){var p=m.getTopToolbar().items.itemAt(1),
|
|
984
|
+
r=m.getTopToolbar().items.itemAt(2);q=q.getSelections();0>=q.length?(p.disable(),r.disable()):1==q.length?(p.enable(),r.enable()):1<q.length&&(p.disable(),r.enable())}}}),loadMask:!0,store:h,viewConfig:{emptyText:pui.getLanguageText("runtimeMsg","no users")},enableDragDrop:!0,ddText:"{0} selected user{1}",listeners:{afterrender:function(q){q.getView().dragZone.addToGroup("TreeDD");Ext.getDom("filterUserTextBox").spellcheck=!1}}});d=new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003035.pgm"),
|
|
985
|
+
method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:"AUGROUP AUUSER AUPROF AUNAME AUROLE AGNAME".split(" ")}),listeners:{load:function(q){q.each(function(p){p.set("AUNAME",pui.G.decode(p.get("AUNAME")));p.commit()})},loadexception:function(q,p,r){T.data.u(r,function(t,v){""==v.heading&&(v.heading="Unable to load supplemental users.");T.h.o(v)})}}});var k=new Ext.grid.GridPanel({xtype:"panel",flex:2,title:pui.getLanguageText("runtimeText","supplemental groups"),loadMask:!0,hidden:!0,
|
|
986
|
+
clicksToEdit:2,store:d,tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","edit"),icon:T.m+"user_edit.png",disabled:!0,handler:function(){var q=k.getSelectionModel().getSelected();T.g.i.groups.nc(q,m,k)}}]}),cm:new Ext.grid.ColumnModel(a),sm:new Ext.grid.RowSelectionModel({singleSelect:!0,listeners:{selectionchange:function(q){var p=k.getTopToolbar().items.itemAt(0);1==q.getSelections().length?p.enable():p.disable()}}})}),n=new Ext.Panel({border:!1,layout:{type:"vbox"},region:"center",
|
|
987
|
+
items:[m,k]});return new Ext.Panel({title:pui.getLanguageText("runtimeText","users")+"/"+pui.getLanguageText("runtimeText","groups"),layout:"border",items:[g,n]})};T.g.i.groups.Tc=function(c,a){c={id:"0",ua:c.id,mode:"Add",group:!0,title:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","group")]),callback:function(d,e){function f(g){if(!(g>=e.length)){var h=a.getNodeById(e[g]);null!=h&&a.loader.load(h,function(){a.expandPath(h.getPath());g++;f(g)})}}f(0)}};T.g.i.l.Ia(c)};
|
|
988
|
+
T.g.i.groups.Od=function(c,a){c={id:c.id,ua:null!=c.parentNode?c.parentNode.id:"0",mode:"Edit",group:"0"!=c.id?!0:!1,global:"0"==c.id?!0:!1,title:pui.getLanguageText("runtimeText","edit x",[pui.getLanguageText("runtimeText","group")]),callback:function(d,e){var f;0<e.length&&(f=a.getNodeById(e[0]));if(null!=f){var g=f.isExpanded();a.loader.load(f,function(){g&&a.expandPath(f.getPath())})}}};T.g.i.l.Ia(c)};
|
|
989
|
+
T.g.i.groups.Bd=function(c){var a=pui.getLanguageText("runtimeText","group");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[a]);T.g.j.show();var d={};c.id==T.B.AUGROUP?(T.g.j.hide(),T.h.o(pui.getLanguageText("runtimeMsg","cannot delete own grp"))):(d.group="1",d.id1=c.id,Ext.Ajax.request({url:T.h.s("PUI0003008.pgm"),params:d,callback:function(e,f,g){T.data.u(g,function(h,l){Ext.getCmp("Atrium-cp-navTree")&&Ext.getCmp("Atrium-cp-navTree").getSelectionModel().clearSelections();Ext.getCmp("Atrium-cp-toolbarTree")&&
|
|
990
|
+
Ext.getCmp("Atrium-cp-toolbarTree").getSelectionModel().clearSelections();0==h?""==l.heading&&(l.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[a]),T.g.j.hide(),T.h.o(l)):(h=pui.getLanguageText("runtimeMsg","x deleted",[a]),T.g.j.hide(),T.h.J(h,function(){c.remove()}))})}}))};
|
|
991
|
+
T.g.i.groups.cd=function(c,a,d){c={id:"0",ua:c.id,mode:"Add",title:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","user")]),callback:function(){a.getStore().reload();d.getStore().reload()}};T.g.i.l.Ia(c)};T.g.i.groups.nc=function(c,a,d){c={id:c.get("AUUSER"),ua:c.get("AUGROUP"),mode:"Edit",title:pui.getLanguageText("runtimeText","edit x",[pui.getLanguageText("runtimeText","user")]),callback:function(){a.getStore().reload();d.getStore().reload()}};T.g.i.l.Ia(c)};
|
|
992
|
+
T.g.i.groups.Kd=function(c,a,d){T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[pui.getLanguageText("runtimeText","users")]);T.g.j.show();var e={},f=!1;e.user="1";for(var g=0;g<c.length;g++){var h=c[g].get("AUUSER");if(h==T.B.AUUSER){f=!0;break}e["id"+(g+1)]=h}1==f?(T.g.j.hide(),T.h.o(pui.getLanguageText("runtimeMsg","cannot delete own usr"))):Ext.Ajax.request({url:T.h.s("PUI0003008.pgm"),params:e,callback:function(l,m,k){T.data.u(k,function(n,q){Ext.getCmp("Atrium-cp-navTree")&&Ext.getCmp("Atrium-cp-navTree").getSelectionModel().clearSelections();
|
|
993
|
+
Ext.getCmp("Atrium-cp-toolbarTree")&&Ext.getCmp("Atrium-cp-toolbarTree").getSelectionModel().clearSelections();0==n?""==q.heading&&(q.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[pui.getLanguageText("runtimeText","users")]),T.g.j.hide(),T.h.o(q,function(){a.getStore().reload();d.getStore().reload()})):(n=1==c.length?'"'+c[0].get("AUPROF")+'" ':pui.getLanguageText("runtimeText","users"),n=pui.getLanguageText("runtimeMsg","x deleted",[n]),T.h.J(n,function(){T.g.j.hide();a.getStore().reload();
|
|
994
|
+
d.getStore().reload()}))})}})};
|
|
995
|
+
T.g.i.groups.he=function(c,a){T.g.j.msg=pui.getLanguageText("runtimeMsg","reassigning x",[pui.getLanguageText("runtimeText","group")]);T.g.j.show();var d={group:"1"};d.toGroup=c.id;d.id1=a.id;Ext.Ajax.request({url:T.h.s("PUI0003009.pgm"),params:d,callback:function(e,f,g){T.g.j.hide();T.data.u(g,function(h,l){var m=pui.getLanguageText("runtimeText","group");0==h?""==l.heading&&(l.heading=pui.getLanguageText("runtimeMsg","unable to reassn x",[m]),T.h.o(l)):(h=pui.getLanguageText("runtimeMsg","x reassigned",
|
|
996
|
+
[m]),T.h.J(h,function(){a.remove();c.getOwnerTree().loader.load(c,function(){c.expand()})}))})}})};
|
|
997
|
+
T.g.i.groups.ie=function(c,a){var d,e=!1;for(d=0;d<a.length;d++)if(a[d].get("AUUSER")==T.B.AUUSER){e=!0;break}if(T.B.AUROLE==T.Qa&&1==e)T.h.o(pui.getLanguageText("runtimeMsg","not auth reassign prf"));else{T.g.j.msg=pui.getLanguageText("runtimeMsg","reassigning x",[pui.getLanguageText("runtimeText","users")]);T.g.j.show();var f={user:"1"};f.toGroup=c.id;for(d=0;d<a.length;d++)f["id"+(d+1)]=a[d].get("AUUSER");Ext.Ajax.request({url:T.h.s("PUI0003009.pgm"),params:f,callback:function(g,h,l){T.g.j.hide();
|
|
998
|
+
T.data.u(l,function(m,k){var n=pui.getLanguageText("runtimeText","user");1<a.length&&(n=pui.getLanguageText("runtimeText","users"));0==m?""==k.heading&&(k.heading=pui.getLanguageText("runtimeMsg","unable to reassn x",[n]),T.h.o(k)):(e&&(T.B.AUGROUP=c.id),m=pui.getLanguageText("runtimeMsg","x reassigned",[n]),T.h.J(m,function(){c.select()}))})}})}};T.g.i.C.vd=function(){function c(){0==l.rendered&&(m.add(l),m.doLayout());l.show()}function a(k,n,q){switch(q.attributes.ANTYPE){case T.ha:var p="chart_organisation.png";break;case T.ba:p="application_go.png";var r=!1;break;case T.Fa:p="application_go.png";r=!1;break;case T.oa:p="bullet_green.png";var t=pui.getLanguageText("runtimeText","separator bar");r=!1;break;case T.Pa:p="bullet_green.png";t=pui.getLanguageText("runtimeText","spacer");r=!1;break;case T.hb:p="bullet_green.png";t=pui.getLanguageText("runtimeText",
|
|
999
|
+
"fill");r=!1;break;case T.P:p="chart_organisation.png";break;case T.T:p="application_go.png",r=!1}null!=r&&(q.attributes.allowDrop=r);null!=p&&(q.attributes.icon=T.m+p);null!=t&&q.setText(t);if(!q.leaf)q.on("append",a)}var d=new Ext.tree.TreePanel({id:"Atrium-cp-navTree",title:pui.getLanguageText("runtimeText","navigation items"),enableDD:!0,autoScroll:!0,ddGroup:"navDD",root:new Ext.tree.AsyncTreeNode({expanded:!0,allowDrag:!1,allowDrop:!1,children:[{text:pui.getLanguageText("runtimeText","navigation panel"),
|
|
1000
|
+
ANSECT:"N",expanded:!0,allowDrag:!1,allowDrop:!0,listeners:{append:a}},{text:pui.getLanguageText("runtimeText","home pages"),ANSECT:"H",expanded:!0,allowDrag:!1,allowDrop:!1,listeners:{append:a}}]}),rootVisible:!1,loader:new Ext.tree.TreeLoader({dataUrl:T.h.s("PUI0003010.pgm"),baseParams:{section:"",node:""},nodeParameter:"",listeners:{beforeload:function(k,n){n.parentNode==d.getRootNode()?k.baseParams.node="0":k.baseParams.node=n.id;k.baseParams.section=n.attributes.ANSECT}}}),selModel:new Ext.tree.DefaultSelectionModel({listeners:{selectionchange:function(k,
|
|
1001
|
+
n){null!=n&&e.getSelectionModel().clearSelections();k=d.getTopToolbar().items.itemAt(1);null!=n&&n.parentNode!=d.getRootNode()?(k.enable(),c(),g.tc(n),h.getStore().load({params:{item:n.id}})):(1==l.rendered&&l.hide(),k.disable());k=d.getTopToolbar().items.itemAt(0);null==n||n.parentNode!=d.getRootNode()&&n.attributes.ANTYPE!=T.ha?k.disable():k.enable()}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",cls:"x-btn-text-icon",disabled:!0,menu:new Ext.menu.Menu({defaults:{clickHideDelay:0,
|
|
1002
|
+
handler:function(k){var n=d.getSelectionModel().getSelectedNode();null==n&&(n=d.getRootNode());T.g.i.C.addItem(n,k.initialConfig.Y)}},items:[{text:pui.getLanguageText("runtimeText","menu group"),Y:T.ha,icon:T.m+"chart_organisation.png"},{text:pui.getLanguageText("runtimeText","menu item"),Y:T.ba,icon:T.m+"application_go.png"}],listeners:{beforeshow:function(k){for(var n,q,p=d.getSelectionModel().getSelectedNode(),r=p.attributes.ANTYPE,t=0;t<k.items.getCount();t++)n=k.items.itemAt(t),q=n.Y,q==T.ba&&
|
|
1003
|
+
(r==T.ha||p.attributes.ANSECT==T.ga?n.show():n.hide()),q==T.ha&&(p.attributes.ANSECT==T.U?n.show():n.hide())}}})},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",cls:"x-btn-text-icon",handler:function(){var k=d.getSelectionModel().getSelectedNode();T.g.i.C.ec(k)}},new Ext.Toolbar.Fill,{icon:T.m+"arrow_refresh.png",handler:function(){d.loader.load(d.getRootNode(),function(){d.getRootNode().expand()})}}]}),listeners:{nodedragover:function(k){var n=k.dropNode,
|
|
1004
|
+
q=k.target,p=q.attributes.ANTYPE,r=k.point,t=!1;if(n.attributes.ANTYPE==T.ba)if("append"==r){if(q==n.parentNode||p!=T.ha)t=!0}else if(null==q.parentNode||q.parentNode.attributes.ANTYPE!=T.ha)t=!0;k.cancel=t},movenode:T.g.i.C.Ac}}),e=new Ext.tree.TreePanel({id:"Atrium-cp-toolbarTree",title:pui.getLanguageText("runtimeText","toolbar items"),enableDD:!0,ddGroup:"toolbarDD",allowDrag:!1,allowDrop:!0,autoScroll:!0,root:new Ext.tree.AsyncTreeNode({id:"0",text:pui.getLanguageText("runtimeText","toolbar"),
|
|
1005
|
+
ANSECT:"T",listeners:{append:a},expanded:!0}),rootVisible:!0,loader:new Ext.tree.TreeLoader({dataUrl:T.h.s("PUI0003010.pgm"),baseParams:{section:"T"}}),selModel:new Ext.tree.DefaultSelectionModel({listeners:{selectionchange:function(k,n){null!=n&&d.getSelectionModel().clearSelections();k=e.getTopToolbar().items.itemAt(1);null!=n&&n!=e.getRootNode()?k.enable():k.disable();k=e.getTopToolbar().items.itemAt(0);null==n||n!=e.getRootNode()&&n.attributes.ANTYPE!=T.P?k.disable():k.enable();null!=n&&n!=e.getRootNode()&&
|
|
1006
|
+
n.attributes.ANTYPE!=T.Pa&&n.attributes.ANTYPE!=T.oa&&n.attributes.ANTYPE!=T.hb?(c(),g.tc(n),h.getStore().load({params:{item:n.id}})):1==l.rendered&&l.hide()}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",cls:"x-btn-text-icon",disabled:!0,menu:new Ext.menu.Menu({defaults:{clickHideDelay:0,handler:function(k){var n=e.getSelectionModel().getSelectedNode();null==n&&(n=e.getRootNode());T.g.i.C.addItem(n,k.initialConfig.Y)}},items:[{text:pui.getLanguageText("runtimeText",
|
|
1007
|
+
"button"),Y:T.Fa,icon:T.m+"application_go.png"},{text:pui.getLanguageText("runtimeText","pulldown menu"),Y:T.P,icon:T.m+"chart_organisation.png"},{text:pui.getLanguageText("runtimeText","pulldown menu item"),Y:T.T,icon:T.m+"application_go.png"},{text:pui.getLanguageText("runtimeText","separator bar"),Y:T.oa,icon:T.m+"bullet_green.png"},{text:pui.getLanguageText("runtimeText","spacer"),Y:T.Pa,icon:T.m+"bullet_green.png"}],listeners:{beforeshow:function(k){for(var n,q,p=e.getSelectionModel().getSelectedNode(),
|
|
1008
|
+
r=p.attributes.ANTYPE,t=0;t<k.items.getCount();t++)n=k.items.itemAt(t),q=n.Y,p==e.getRootNode()?q==T.T?n.hide():n.show():r==T.P?q==T.P||q==T.T?n.show():n.hide():n.hide()}}})},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",cls:"x-btn-text-icon",handler:function(){var k=e.getSelectionModel().getSelectedNode();T.g.i.C.ec(k)}},new Ext.Toolbar.Fill,{icon:T.m+"arrow_refresh.png",handler:function(){e.loader.load(e.getRootNode(),function(){e.getRootNode().expand()})}}]}),
|
|
1009
|
+
listeners:{nodedragover:function(k){var n=k.dropNode,q=k.target,p=n.attributes.ANTYPE,r=q.attributes.ANTYPE,t=k.point,v=!1;if(p!=T.P&&p!=T.T){if("append"==t||null==q.parentNode||q.parentNode!=e.getRootNode())v=!0}else if(p==T.T)if("append"==t){if(q==n.parentNode||r!=T.P)v=!0}else if(null==q.parentNode||q.parentNode.attributes.ANTYPE!=T.P)v=!0;k.cancel=v},movenode:T.g.i.C.Ac}}),f=new Ext.Panel({region:"west",layout:"accordion",split:!0,collapsible:!0,border:!1,width:200,items:[d,e]}),g=new Ext.form.FormPanel({region:"north",
|
|
1010
|
+
url:T.h.s("PUI0003011.pgm"),baseParams:{mode:"edit"},fa:[],title:pui.getLanguageText("runtimeText","item details"),labelWidth:150,bodyStyle:"padding: 10px",autoHeight:!0,monitorValid:!0,defaults:{msgTarget:"side"},items:[new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","item number"),name:"ANITEM",readOnly:!0,style:"border-style:none;background-image:none;cursor:default;"}),new Ext.form.ComboBox({fieldLabel:pui.getLanguageText("runtimeText","item type"),hiddenName:"ANTYPE",width:230,
|
|
1011
|
+
editable:!1,forceSelection:!0,mode:"local",readOnly:!0,hideTrigger:!0,style:"border-style:none;background-image:none;cursor:default;",displayField:"display",valueField:"value",store:new Ext.data.ArrayStore({fields:["value","display"]})}),new Ext.form.TextField({name:"ANTEXT",fieldLabel:pui.getLanguageText("runtimeText","item name"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.ComboBox({hiddenName:"ANACTNTYPE",fieldLabel:pui.getLanguageText("runtimeText",
|
|
1012
|
+
"action type"),width:230,mode:"local",editable:!1,forceSelection:!0,valueField:"value",displayField:"display",value:"0",triggerAction:"all",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["value","display"],data:[[T.na,pui.getLanguageText("runtimeText","genie macro")],[T.ab,pui.getLanguageText("runtimeText","rdf application")],[T.Na,pui.getLanguageText("runtimeText","web application")],[T.eb,pui.getLanguageText("runtimeText","pc command")],[T.bb,pui.getLanguageText("runtimeText","launcher command")]]}),
|
|
1013
|
+
listeners:{select:function(k,n){k=n.get("value");g.Ya(k,g.getForm().findField("ANSECT").getValue()==T.ga,g.getForm().findField("ANSECT").getValue(),g.getForm().findField("ANTYPE").getValue());if(n.get("value")==T.na){k=g.getForm().findField("ANGACTN");n=k.getValue();var q=k.store.findExact(k.valueField,n);-1!=q&&(n=k.store.getAt(q),k.fireEvent("select",k,n,q))}}}}),new Ext.form.ComboBox({id:"Atrium-cp-navitemMacro",hiddenName:"ANGACTN",fieldLabel:pui.getLanguageText("runtimeText","macro"),width:230,
|
|
1014
|
+
mode:"remote",editable:!0,forceSelection:!0,minChars:0,triggerAction:"all",displayField:"AMNAME",valueField:"AMID",allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),emptyText:pui.getLanguageText("runtimeMsg","typeselect macro name"),store:new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003021.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["AMID","AMNAME"]})}),listeners:{select:function(k,n){null!=n&&(g.getEl().mask(pui.getLanguageText("runtimeMsg",
|
|
1015
|
+
"loading"),"x-mask-loading"),g.Ya(T.na,g.getForm().findField("ANSECT").getValue()==T.ga,g.getForm().findField("ANSECT").getValue(),g.getForm().findField("ANTYPE").getValue()),Ext.Ajax.request({url:T.h.s("PUI0003025.pgm"),method:"POST",params:{AMAID:n.get("AMID")},callback:function(q,p,r){T.data.u(r,function(t,v){g.getEl().unmask();if(0==t)""==v.heading&&(v.heading=pui.getLanguageText("runtimeMsg","unable to load macr var"),T.h.o(v));else{for(var u,z,B=[],E=0,F=0;F<v.length;F++)-1==B.indexOf(v[F].AMAVAR)&&
|
|
1016
|
+
(t=g.getForm().findField("VAR"+E),u=g.getForm().findField("VARNAME"+E),E++,null!=t&&null!=u&&(z=t.getEl().up("div.x-form-element").prev(),z.update(v[F].AMAVAR+":"),u.enable(),u.setValue(v[F].AMAVAR),t.enable(),t.getEl().up("div.x-form-item").setDisplayed(!0)),B.push(v[F].AMAVAR));l.doLayout()}})}}))},invalid:function(){g.Ya(T.na,g.getForm().findField("ANSECT").getValue()==T.ga,g.getForm().findField("ANSECT").getValue(),g.getForm().findField("ANTYPE").getValue())}}}),new Ext.form.TextField({name:"ANDSPFLIB",
|
|
1017
|
+
fieldLabel:pui.getLanguageText("runtimeText","dspf program library"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.TextField({name:"ANDSPFPGM",fieldLabel:pui.getLanguageText("runtimeText","dspf program"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.TextField({name:"ANPARM",fieldLabel:pui.getLanguageText("runtimeText","parameter"),width:230}),new Ext.form.TextField({name:"ANACTN",fieldLabel:pui.getLanguageText("runtimeText",
|
|
1018
|
+
"url"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.TextField({name:"ANPCCMD",fieldLabel:pui.getLanguageText("runtimeText","pc command"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.TextField({name:"ANLAUNCHERCMD",fieldLabel:pui.getLanguageText("runtimeText","launcher command"),width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")}),new Ext.form.TextField({name:"ANGURL",fieldLabel:pui.getLanguageText("runtimeText",
|
|
1019
|
+
"genie url"),width:230,allowBlank:!0}),new Ext.form.TextField({name:"VAR0",fieldLabel:pui.getLanguageText("runtimeText","variable name x",[1]),width:230}),new Ext.form.TextField({name:"VAR1",fieldLabel:pui.getLanguageText("runtimeText","variable name x",[2]),width:230}),new Ext.form.TextField({name:"VAR2",fieldLabel:pui.getLanguageText("runtimeText","variable name x",[3]),width:230}),new Ext.form.TextField({name:"VAR3",fieldLabel:pui.getLanguageText("runtimeText","variable name x",[4]),width:230}),
|
|
1020
|
+
new Ext.form.TextField({name:"VAR4",fieldLabel:pui.getLanguageText("runtimeText","variable name x",[5]),width:230}),new Ext.form.Hidden({name:"VARNAME0"}),new Ext.form.Hidden({name:"VARNAME1"}),new Ext.form.Hidden({name:"VARNAME2"}),new Ext.form.Hidden({name:"VARNAME3"}),new Ext.form.Hidden({name:"VARNAME4"}),new Ext.form.ComboBox({hiddenName:"ANWINDOW",fieldLabel:pui.getLanguageText("runtimeText","open as"),width:230,mode:"local",editable:!1,forceSelection:!0,valueField:"value",displayField:"display",
|
|
1021
|
+
value:"0",triggerAction:"all",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["value","display"],data:[["0",pui.getLanguageText("runtimeText","a tab in the portal")],["1",pui.getLanguageText("runtimeText","a new browser wind")]]})}),new Ext.form.Checkbox({fieldLabel:pui.getLanguageText("runtimeText","opens once only"),name:"ANONCE",inputValue:"1"}),new Ext.form.TextField({name:"ANICON",fieldLabel:pui.getLanguageText("runtimeText","icon"),width:230}),new Ext.form.TextField({name:"ANKEYWORDS",
|
|
1022
|
+
fieldLabel:pui.getLanguageText("runtimeText","keywords"),width:230}),new Ext.form.Hidden({name:"ANSECT"})],buttonAlign:"left",buttons:[{text:pui.getLanguageText("runtimeText","update"),formBind:!0,handler:function(){var k=g.getForm();1==k.isValid()&&k.submit()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(k,n){k=g.getForm();1==k.isValid()&&k.submit();n.stopEvent()}}],listeners:{beforeaction:function(k){g.baseParams.enc_ANKEYWORDS=pui.G.encode(k.findField("ANKEYWORDS").getValue());T.g.j.msg=pui.getLanguageText("runtimeMsg",
|
|
1023
|
+
"saving");T.g.j.show()},actioncomplete:function(k){T.h.J(pui.getLanguageText("runtimeMsg","x updated",[pui.getLanguageText("runtimeText","item")]),function(){T.g.i.M.la=!0;var n=k.findField("ANSECT").getValue(),q;n==T.U||n==T.ga?q=d:n==T.za&&(q=e);n=q.getLoader();var p=q.getNodeById(k.findField("ANITEM").getValue());if(null!=p){var r=p.parentNode,t=p.id,v=p.isExpanded();n.load(r,function(){r.expand(!1,!0,function(){var u=q.getNodeById(t);null!=u&&(v&&u.expand(),u.select())})})}})},actionfailed:function(k,
|
|
1024
|
+
n){T.data.u(n.response,function(q,p){""==p.heading&&(p.heading=pui.getLanguageText("runtimeMsg","unable to update x",[pui.getLanguageText("runtimeText","item")]));T.g.j.hide();T.h.o(p)})},destroy:function(){g.qb()}},Ya:function(k,n,q,p){var r,t="ANACTNTYPE ANACTN ANPCCMD ANLAUNCHERCMD ANGACTN ANGURL ANDSPFLIB ANDSPFPGM ANONCE ANWINDOW ANICON ANKEYWORDS VAR0 VAR1 VAR2 VAR3 VAR4 VARNAME0 VARNAME1 VARNAME2 VARNAME3 VARNAME4 ANPARM".split(" "),v=["ANACTNTYPE","ANWINDOW","ANONCE","ANICON"],u=["ANACTNTYPE",
|
|
1025
|
+
"ANICON"],z=["ANACTNTYPE"],B=["ANPCCMD"],E=["ANLAUNCHERCMD"],F=["ANACTN"],G=["ANGURL","ANGACTN"],L=["ANDSPFLIB","ANDSPFPGM","ANPARM"];for(r=0;r<t.length;r++){var D=g.getForm().findField(t[r]);D.disable();D.clearInvalid();"hidden"!=D.getXType()&&D.getEl().up("div.x-form-item").setDisplayed(!1)}n&&(v=z);k=k==T.eb?B.concat(u):k==T.Na?F.concat(v):k==T.na?G.concat(v):k==T.ab?L.concat(v):k==T.bb?E.concat(v):["ANICON"];if(null!=k)for(r=0;r<k.length;r++)D=g.getForm().findField(k[r]),D.enable(),"hidden"!=
|
|
1026
|
+
D.getXType()&&D.getEl().up("div.x-form-item").setDisplayed(!0);if(q===T.U&&p===T.ba||q===T.za&&(p===T.Fa||p===T.T))D=g.getForm().findField("ANKEYWORDS"),D.enable(),D.getEl().up("div.x-form-item").setDisplayed(!0);g.getForm().clearInvalid();l.doLayout()},tc:function(k){0==g.fa.length&&g.jb();var n=g.getForm(),q=n.findField("ANTYPE").store;k.attributes.ANSECT==T.za?q.loadData([[T.Fa,pui.getLanguageText("runtimeText","button")],[T.P,pui.getLanguageText("runtimeText","pulldown menu")],[T.T,pui.getLanguageText("runtimeText",
|
|
1027
|
+
"pulldown menu item")],[T.oa,pui.getLanguageText("runtimeText","separator bar")],[T.oa,pui.getLanguageText("runtimeText","spacer")],[T.oa,pui.getLanguageText("runtimeText","fill")]]):(k.attributes.ANSECT==T.U||k.attributes.ANSECT==T.ga)&&q.loadData([[T.ha,pui.getLanguageText("runtimeText","menu group")],[T.ba,pui.getLanguageText("runtimeText","menu item")]]);q=k.attributes.ANTYPE;if(q==T.ba||q==T.Fa||q==T.T)var p=k.zb?T.Na:k.attributes.ANACTNTYPE;g.Ya(p,k.attributes.ANSECT==T.ga,k.attributes.ANSECT,
|
|
1028
|
+
k.attributes.ANTYPE);if(k.attributes.ANACTNTYPE==T.na){p=0;for(q=[];null!=k.attributes["VAR"+p];)-1==q.indexOf(k.attributes["VARNAME"+p])&&(g.getForm().findField("VAR"+p).enable(),g.getForm().findField("VARNAME"+p).enable(),g.getForm().findField("VAR"+p).getEl().up("div.x-form-element").prev().update(k.attributes["VARNAME"+p]+":"),g.getForm().findField("VAR"+p).getEl().up("div.x-form-item").setDisplayed(!0),q.push(k.attributes["VARNAME"+p])),p++;l.doLayout()}for(q=0;q<n.items.getCount();q++){p=n.items.itemAt(q);
|
|
1029
|
+
var r=p.getName();if("undefined"!=typeof k.attributes[r])if("combo"==p.getXType()&&"remote"==p.mode)p.$a=k.attributes[r],p.store.da=p,p.store.addListener("load",function(){this.da.setValue(this.da.$a);var v=this.findExact(this.da.valueField,this.da.$a),u=this.getAt(v);this.da.fireEvent("select",this.da,u,v)},p.store,{single:"true"}),p.store.load();else{var t=k.attributes[r];"ANKEYWORDS"===r&&(t=pui.G.decode(t));p.setValue(t);"checkbox"==p.getXType()&&p.fireEvent("check",p,p.getValue())}}k.zb?(n.findField("ANTEXT").selectText(),
|
|
1030
|
+
k.zb=!1):n.findField("ANTEXT").focus();n.clearInvalid()},jb:function(){var k;for(k in T.A){var n=g.find("name",k)[0];null==n&&(n=g.find("hiddenName",k)[0]);null!=n&&"hidden"!=n.getXType()&&(n=n.getEl().up("div.x-form-element").prev(),Ext.QuickTips.register({target:n,title:pui.getLanguageText("runtimeText",T.A[k].title),text:pui.getLanguageText("runtimeText",T.A[k].text)}),g.fa.push(n))}},qb:function(){for(var k=0;k<g.fa.length;k++)Ext.QuickTips.unregister(g.fa[k])}}),h=new Ext.grid.EditorGridPanel({region:"center",
|
|
1031
|
+
title:pui.getLanguageText("runtimeText","permissions"),loadMask:!0,clicksToEdit:2,store:new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003012.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:"item id name type allow profile".split(" ")}),listeners:{load:function(k){k.each(function(n){n.set("name",pui.G.decode(n.get("name")));n.commit()})},loadexception:function(k,n,q){T.data.u(q,function(p,r){""==r.heading&&(r.heading=pui.getLanguageText("runtimeMsg",
|
|
1032
|
+
"unable to load x",[pui.getLanguageText("runtimeText","permissions")]));T.h.o(r)})}}}),columns:[{header:pui.getLanguageText("runtimeText","user/group name"),sortable:!0,width:500,dataIndex:"name",renderer:function(k,n,q){"0"==q.get("type")&&(k=pui.getLanguageText("runtimeText","all users groups"),n.attr='style="font-style:italic;color:gray;"');return k},editor:new Ext.form.ComboBox({mode:"remote",editable:!0,forceSelection:!0,minChars:0,displayField:"name",valueField:"id",store:new Ext.data.Store({autoDestroy:!0,
|
|
1033
|
+
proxy:new Ext.data.HttpProxy({method:"POST",url:T.h.s("PUI0003013.pgm")}),reader:new Ext.data.JsonReader({root:"data",fields:["name","id","type"]}),listeners:{load:function(k){k.each(function(n){n.set("name",pui.G.decode(n.get("name")));n.commit()})}}}),triggerAction:"all",tpl:new Ext.XTemplate('<tpl for="."><div class="search-item">','<span class="search-column1" style="width: 400px;"><span style="font-weight:bold;">Name: </span>{name}</span>','<span class="search-column2"><span style="font-weight:bold;">Type: </span>{type}</span>',
|
|
1034
|
+
"</div></tpl>"),itemSelector:"div.search-item",listeners:{beforequery:function(k){k.query=pui.G.encode(k.query.toUpperCase())}}})},{header:pui.getLanguageText("runtimeText","type"),sortable:!0,width:80,dataIndex:"type",renderer:function(k){"0"==k?k="":"1"==k?k=pui.getLanguageText("runtimeText","group"):"2"==k&&(k=pui.getLanguageText("runtimeText","user"));return k}},{header:pui.getLanguageText("runtimeText","access"),sortable:!0,dataIndex:"allow",renderer:function(k,n){if("1"==k){k=pui.getLanguageText("runtimeText",
|
|
1035
|
+
"allow");var q="green"}else k=pui.getLanguageText("runtimeText","disallow"),q="red";n.attr='style="color:'+q+';"';return k},editor:new Ext.form.ComboBox({mode:"local",editable:!1,forceSelection:!0,displayField:"display",valueField:"value",store:new Ext.data.ArrayStore({fields:["value","display"],data:[["0",pui.getLanguageText("runtimeText","disallow")],["1",pui.getLanguageText("runtimeText","allow")]]}),triggerAction:"all"})},{header:pui.getLanguageText("runtimeText","user profile"),sortable:!0,dataIndex:"profile",
|
|
1036
|
+
width:200}],tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",handler:function(){T.g.i.C.Xc(h)}},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",handler:function(){var k=pui.getLanguageText("runtimeMsg","confirm del sel x",[pui.getLanguageText("runtimeMsg","permission settings")]);Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),k,function(n){"yes"==n&&T.g.i.C.Hd(h.getSelectionModel().getSelections(),
|
|
1037
|
+
h.getStore())})}}]}),selModel:new Ext.grid.RowSelectionModel({listeners:{selectionchange:function(k){k=k.getSelections();var n=h.getTopToolbar().items.itemAt(1);if(0==k.length)n.disable();else{for(var q=!1,p=0;p<k.length;p++)if("0"==k[p].get("type")){q=!0;break}q?n.disable():n.enable()}}}}),listeners:{beforeedit:function(k){"name"==k.field&&"0"==k.record.get("id")&&(k.cancel=!0)},afteredit:function(k){var n=k.record,q=k.value;Ext.Ajax.request({url:T.h.s("PUI0003014.pgm"),params:{mode:"update",item:n.get("item"),
|
|
1038
|
+
id:n.get("id"),allow:n.get("allow"),newId:"name"==k.field?q:""},callback:function(p,r,t){T.data.u(t,function(v,u){0==v?(""==u.heading&&(u.heading=pui.getLanguageText("runtimeMsg","unable to update x",[pui.getLanguageText("runtimeText","permissions")])),T.h.o(u,function(){h.getStore().rejectChanges()})):(h.getStore().commitChanges(),h.getStore().reload(),T.g.i.M.la=!0)})}})}}}),l=new Ext.Panel({layout:"border",items:[g,h],border:!1}),m=new Ext.Panel({layout:"fit",region:"center",border:!1,html:'<div style="margin: 10px;">'+
|
|
1039
|
+
pui.getLanguageText("runtimeMsg","choose a nav or toolbar")+"</div>"});return new Ext.Panel({title:pui.getLanguageText("runtimeText","navigation"),layout:"border",items:[f,m]})};
|
|
1040
|
+
T.g.i.C.addItem=function(c,a){T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[pui.getLanguageText("runtimeText","navigation item")]);T.g.j.show();var d=c.getOwnerTree();var e=c.attributes.ANSECT!=T.U&&c.attributes.ANSECT!=T.ga||c.parentNode!=d.getRootNode()?c.id:"0";Ext.Ajax.request({url:T.h.s("PUI0003011.pgm"),params:{mode:"add",parent:e,section:c.attributes.ANSECT,itemType:a},callback:function(f,g,h){T.data.u(h,function(l,m){function k(){var n=c.findChild("ANITEM",m.ANITEM);n.zb=!0;n.select()}
|
|
1041
|
+
0==l?(""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to add x",[pui.getLanguageText("runtimeText","navigation item")])),T.g.j.hide(),T.h.o(m)):(T.g.j.hide(),T.g.i.M.la=!0,1==c.isLoaded()?d.loader.load(c,function(){c.expand(!1,!0,k)}):c.expand(!1,!0,k))})}})};
|
|
1042
|
+
T.g.i.C.ec=function(c){var a=pui.getLanguageText("runtimeMsg","confirm del sel x",[pui.getLanguageText("runtimeText","item")]);c.leaf||(a+=" "+pui.getLanguageText("runtimeMsg","any child items will"));Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),a,function(d){"yes"==d&&T.g.i.C.Dd(c)})};
|
|
1043
|
+
T.g.i.C.Dd=function(c){T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[pui.getLanguageText("runtimeText","item")]);T.g.j.show();var a=c.getOwnerTree().getLoader(),d=c.parentNode;Ext.Ajax.request({url:T.h.s("PUI0003011.pgm"),params:{mode:"delete",id:c.id},callback:function(e,f,g){T.data.u(g,function(h,l){0==h?(""==l.heading&&(l.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[pui.getLanguageText("runtimeText","item")])),T.g.j.hide(),T.h.o(l)):(T.g.j.hide(),T.g.i.M.la=!0,T.h.J(pui.getLanguageText("runtimeMsg",
|
|
1044
|
+
"x deleted",[pui.getLanguageText("runtimeText","item")]),function(){a.load(d,function(){d.expand()})}))})}})};
|
|
1045
|
+
T.g.i.C.Xc=function(c){function a(){var f=c.getStore().getAt(0).get("item"),g=d.getSelectionModel().getSelected().get("id");-1!=c.getStore().findExact("id",g)?(f=d.getSelectionModel().getSelected().get("name"),T.h.o(pui.getLanguageText("runtimeMsg","x is already in list",[f]),function(){d.getGridEl().focus()})):(T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[pui.getLanguageText("runtimeText","permissions")]),T.g.j.show(),Ext.Ajax.request({url:T.h.s("PUI0003014.pgm"),params:{mode:"add",item:f,
|
|
1046
|
+
id:g,allow:"1"},callback:function(h,l,m){T.g.j.hide();T.data.u(m,function(k,n){0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to add x",[pui.getLanguageText("runtimeText","permissions")])),T.h.o(n,function(){d.getGridEl().focus()})):(e.close(),T.g.i.M.la=!0,T.h.J(pui.getLanguageText("runtimeMsg","x added",[pui.getLanguageText("runtimeText","permissions")]),function(){c.getStore().reload()}))})}}))}var d=new Ext.grid.GridPanel({loadMask:!0,store:new Ext.data.Store({autoDestroy:!0,
|
|
1047
|
+
autoLoad:!0,proxy:new Ext.data.HttpProxy({method:"POST",url:T.h.s("PUI0003013.pgm")}),reader:new Ext.data.JsonReader({root:"data",fields:["name","type","id","profile"]}),listeners:{loadexception:function(f,g,h){T.data.u(h,function(l,m){l=pui.getLanguageText("runtimeText","users")+"/"+pui.getLanguageText("runtimeText","groups");""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to load x",[l]));T.h.o(m,function(){e.close()})})},load:function(f){0<f.getCount()&&(f.each(function(g){g.set("name",
|
|
1048
|
+
pui.G.decode(g.get("name")));g.commit()}),d.getSelectionModel().selectFirstRow(),d.getGridEl().focus())}}}),columns:[{header:pui.getLanguageText("runtimeText","user/group name"),sortable:!0,width:600,dataIndex:"name"},{header:pui.getLanguageText("runtimeText","type"),sortable:!0,dataIndex:"type"},{header:pui.getLanguageText("runtimeText","user profile"),width:200,sortable:!0,dataIndex:"profile"}],selModel:new Ext.grid.RowSelectionModel({singleSelect:!0,listeners:{selectionchange:function(f){var g=
|
|
1049
|
+
d.getTopToolbar().items.itemAt(0);1==f.getSelections().length?g.enable():g.disable()}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","select"),icon:T.m+"arrow_right.png",disabled:!0,handler:a}]}),keys:[{key:Ext.EventObject.ENTER,fn:function(f,g){1==d.getSelectionModel().getSelections().length&&a();g.stopEvent()}}],listeners:{rowdblclick:function(f,g,h){1==d.getSelectionModel().getSelections().length&&a();h.stopEvent()}}}),e=new Ext.Window({title:pui.getLanguageText("runtimeText",
|
|
1050
|
+
"add usrgrp perm"),modal:!0,maximized:!0,resizable:!0,layout:"fit",items:[d],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","close"),handler:function(){e.close()}}]});e.show()};
|
|
1051
|
+
T.g.i.C.Hd=function(c,a){for(var d={mode:"delete"},e=0;e<c.length;e++)d["item"+(e+1)]=c[e].get("item"),d["id"+(e+1)]=c[e].get("id");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[pui.getLanguageText("runtimeText","permissions")]);T.g.j.show();Ext.Ajax.request({url:T.h.s("PUI0003014.pgm"),params:d,callback:function(f,g,h){T.g.j.hide();T.data.u(h,function(l,m){0==l?(""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[pui.getLanguageText("runtimeText","permissions")])),
|
|
1052
|
+
T.h.o(m,function(){a.reload()})):(T.g.i.M.la=!0,T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[pui.getLanguageText("runtimeText","permissions")]),function(){a.reload()}))})}})};
|
|
1053
|
+
T.g.i.C.Ac=function(c,a,d,e){a={mode:"reorder"};e.attributes.ANSECT==T.U&&e.parentNode==c.getRootNode()?a.parent="0":a.parent=e.id;for(d=0;d<e.childNodes.length;d++)a["child"+(d+1)]=e.childNodes[d].id;Ext.Ajax.request({url:T.h.s("PUI0003011.pgm"),params:a,callback:function(f,g,h){T.data.u(h,function(l,m){0==l?(""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to reorder items")),T.h.o(m,function(){c.getLoader().load(c.getRootNode(),function(){c.getRootNode().expand()})})):T.g.i.M.la=
|
|
1054
|
+
!0})}})};T.wa="0";T.Rb="1";T.aa="+";T.fb="5";T.Qb="0";T.Oa="1";T.xa="2";T.gb="3";T.Sb="4";T.Pb="5";
|
|
1055
|
+
T.g.i.v.create=function(){var c=new Ext.tree.TreePanel({title:pui.getLanguageText("runtimeText","screens"),split:!0,collapsible:!1,animCollapse:!1,autoScroll:!0,flex:1,root:new Ext.tree.AsyncTreeNode({text:pui.getLanguageText("runtimeText","screens"),expandable:!0,expanded:!0}),loader:new Ext.tree.TreeLoader({url:T.h.s("PUI0003017.PGM"),baseParams:{tree:"1"},baseAttrs:{icon:T.m+"application_form.png",listeners:{contextmenu:function(p,r){0==p.isSelected()&&p.select();(new Ext.menu.Menu({items:[{text:pui.getLanguageText("runtimeText",
|
|
1056
|
+
"rename"),icon:T.m+"textfield_rename.png",handler:function(){d.triggerEdit(p)}},{text:pui.getLanguageText("runtimeText","delete"),icon:T.m+"delete_circle.png",handler:function(){T.g.i.v.hc(c.getSelectionModel().getSelectedNodes())}}]})).showAt(r.getXY())}}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",cls:"x-btn-text-icon",handler:function(){T.g.i.v.Yc(c)}},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",
|
|
1057
|
+
cls:"x-btn-text-icon",handler:function(){T.g.i.v.hc(c.getSelectionModel().getSelectedNodes())}},new Ext.Toolbar.Fill,{icon:T.m+"arrow_refresh.png",handler:function(){c.getLoader().load(c.getRootNode(),function(){c.getRootNode().expand()})}}]}),selModel:new Ext.tree.MultiSelectionModel({listeners:{selectionchange:function(p,r){0<r.length&&e.getSelectionModel().clearSelections();p=c.getTopToolbar().items.itemAt(1);c.getRootNode().isSelected()||0==r.length?p.disable():p.enable();0==c.getRootNode().isSelected()&&
|
|
1058
|
+
1==r.length?(q.getLayout().setActiveItem(1),l.getStore().load({params:{ASID:r[0].id}})):q.getLayout().setActiveItem(0)}}}),listeners:{beforecollapse:function(p){delete p.flex},collapse:function(){h.doLayout()},beforeexpand:function(p){p.flex=1},expand:function(){h.doLayout()}}}),a=new Ext.form.TextField,d=new Ext.tree.TreeEditor(c,a,{ignoreNoChange:!0,listeners:{beforecomplete:function(p,r){if(""==Ext.util.Format.trim(r))return!1;p=c.getRootNode().childNodes;for(var t=0;t<p.length;t++)if(p[t].text.toUpperCase()==
|
|
1059
|
+
r.toUpperCase())return T.h.o(pui.getLanguageText("runtimeMsg","screen already defined",[r]),function(){a.focus()}),!1},complete:function(p,r){T.g.i.v.ne(d.editNode,r)}}}),e=new Ext.tree.TreePanel({title:pui.getLanguageText("runtimeText","macros"),split:!0,collapsible:!1,animCollapse:!1,autoScroll:!0,flex:1,root:new Ext.tree.AsyncTreeNode({text:pui.getLanguageText("runtimeText","macros"),expandable:!0,expanded:!0}),loader:new Ext.tree.TreeLoader({url:T.h.s("PUI0003021.pgm"),baseParams:{tree:"1"},baseAttrs:{icon:T.m+
|
|
1060
|
+
"script.png",listeners:{contextmenu:function(p,r){0==p.isSelected()&&p.select();(new Ext.menu.Menu({items:[{text:pui.getLanguageText("runtimeText","rename"),icon:T.m+"textfield_rename.png",handler:function(){g.triggerEdit(p)}},{text:pui.getLanguageText("runtimeText","delete"),icon:T.m+"delete_circle.png",handler:function(){T.g.i.v.fc(e.getSelectionModel().getSelectedNodes())}}]})).showAt(r.getXY())}}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText","add"),icon:T.m+"add.png",
|
|
1061
|
+
cls:"x-btn-text-icon",handler:function(){T.g.i.v.Vc(e)}},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",cls:"x-btn-text-icon",handler:function(){T.g.i.v.fc(e.getSelectionModel().getSelectedNodes())}},new Ext.Toolbar.Fill,{icon:T.m+"arrow_refresh.png",handler:function(){e.getLoader().load(e.getRootNode(),function(){e.getRootNode().expand()})}}]}),selModel:new Ext.tree.MultiSelectionModel({listeners:{selectionchange:function(p,r){0<r.length&&c.getSelectionModel().clearSelections();
|
|
1062
|
+
p=e.getTopToolbar().items.itemAt(1);e.getRootNode().isSelected()||0==r.length?p.disable():p.enable();0==e.getRootNode().isSelected()&&1==r.length?(q.getLayout().setActiveItem(2),k.getStore().load({params:{AMID:r[0].id}})):q.getLayout().setActiveItem(0)}}}),listeners:{beforecollapse:function(p){delete p.flex},collapse:function(){h.doLayout()},beforeexpand:function(p){p.flex=1},expand:function(){h.doLayout()}}}),f=new Ext.form.TextField,g=new Ext.tree.TreeEditor(e,f,{ignoreNoChange:!0,listeners:{beforecomplete:function(p,
|
|
1063
|
+
r){if(""==Ext.util.Format.trim(r))return!1;p=e.getRootNode().childNodes;for(var t=0;t<p.length;t++)if(p[t].text.toUpperCase()==r.toUpperCase())return T.h.o(pui.getLanguageText("runtimeMsg","macro already defined",[r]),function(){f.focus()}),!1},complete:function(p,r){T.g.i.v.me(g.editNode,r)}}}),h=new Ext.Panel({region:"west",layout:"vbox",layoutConfig:{align:"stretch"},width:200,border:!1,split:!0,collapsible:!0,items:[c,e]}),l=new Ext.grid.EditorGridPanel({title:pui.getLanguageText("runtimeText",
|
|
1064
|
+
"screen ids"),region:"center",enableHdMenu:!1,enableColumnMove:!1,stripeRows:!0,loadMask:!0,viewConfig:{emptyText:pui.getLanguageText("runtimeMsg","no screen ids"),deferEmptyText:!0},columns:[{header:pui.getLanguageText("runtimeText","field row"),dataIndex:"AIROW",width:80,editor:new Ext.form.NumberField({autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:2},width:70,minValue:1,maxValue:27,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),allowDecimals:!1,allowNegative:!1}),
|
|
1065
|
+
sortable:!0},{header:pui.getLanguageText("runtimeText","field column"),dataIndex:"AICOL",width:80,editor:new Ext.form.NumberField({autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:3},width:70,minValue:0,maxValue:131,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),allowDecimals:!1,allowNegative:!1}),sortable:!0},{header:pui.getLanguageText("runtimeText","value"),dataIndex:"AIVALUE",width:500,editor:new Ext.form.TextField({allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg",
|
|
1066
|
+
"required")}),sortable:!0}],store:new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003018.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:["AIIDENID","AIROW","AICOL","AIVALUE"]}),listeners:{loadexception:function(p,r,t){T.data.u(t,function(v,u){l.getStore().removeAll();""==u.heading&&(u.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","screen ids")]));T.h.o(u)})}}}),tbar:new Ext.Toolbar({items:[{text:pui.getLanguageText("runtimeText",
|
|
1067
|
+
"add"),icon:T.m+"add.png",cls:"x-btn-text-icon",handler:function(){var p=l.getStore().lastOptions.params.ASID;T.g.i.v.Uc(p,l)}},{text:pui.getLanguageText("runtimeText","delete"),disabled:!0,icon:T.m+"delete_circle.png",cls:"x-btn-text-icon",handler:function(){var p=l.getSelectionModel(),r=pui.getLanguageText("runtimeText","screen id");1<p.getSelections().length&&(r=pui.getLanguageText("runtimeText","screen ids"));p=pui.getLanguageText("runtimeMsg","confirm del sel x",[r]);Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg",
|
|
1068
|
+
"confirm delete"),p,function(t){"yes"==t&&T.g.i.v.Cd(l)})}}]}),selModel:new Ext.grid.RowSelectionModel({listeners:{selectionchange:function(p){var r=l.getTopToolbar().items.itemAt(1);0<p.getSelections().length?r.enable():r.disable()}}}),listeners:{afteredit:function(p){T.g.i.v.Pd(p.record,p.grid)}}}),m=new Ext.Panel({layout:"fit",border:!1,items:[l]}),k=new Ext.grid.GridPanel({id:"Atrium-macroGroupGrid",title:pui.getLanguageText("runtimeText","actions"),region:"center",hideHeaders:!0,loadMask:!0,
|
|
1069
|
+
stripeRows:!0,autoExpandColumn:"actionText",colModel:new Ext.grid.ColumnModel({columns:[{xtype:"actioncolumn",dataIndex:"deleteIcon",width:26,icon:T.m+"action_delete.png",tooltip:pui.getLanguageText("runtimeText","delete x",[pui.getLanguageText("runtimeText","action")]),handler:function(p,r){r=p.getStore().getAt(r);T.g.i.v.Ed(p,r)},getClass:function(p,r,t){if(""===t.get("AMAACTN"))return"x-hide-display"}},{xtype:"actioncolumn",dataIndex:"editIcon",width:26,icon:T.m+"change.png",tooltip:pui.getLanguageText("runtimeText",
|
|
1070
|
+
"edit x",[pui.getLanguageText("runtimeText","action")]),handler:function(p,r){var t=p.getStore().getAt(r);k.getSelectionModel().selectRow(r);T.g.i.v.Wb(p,t)},getClass:function(p,r,t){return""===t.get("AMAACTN")?"x-hide-display":""}},{header:pui.getLanguageText("runtimeText","screen"),dataIndex:"AMSSCRNSEQ",groupRenderer:function(p,r,t,v,u,z){v=z.data.items.filter(function(B){return B.json.AMSSCRNSEQ===p});r=0;1<v.length?r=v.length:v[0].json.AMAACTNSEQ&&(r=1);v=1==t.get("AMSONCE");return t.get("AMSSCRNSEQ")+
|
|
1071
|
+
" - "+t.get("ASNAME")+" ("+r+" "+pui.getLanguageText("runtimeText",1===r?"action":"actions")+") "+(v?pui.getLanguageText("runtimeText","detect once"):"")}},{id:"actionText",header:"Action",dataIndex:"actionText",renderer:function(p,r,t,v,u,z){var B=t.get("AMAACTN");p=t.get("AMAVARTYPE");u=t.get("AMAVAR");var E=t.get("AMAROW"),F=t.get("AMACOL");t=t.get("AMSSCRNSEQ");if(""===B)return pui.getLanguageText("runtimeMsg","ready to add");if(0<v&&(v=z.getAt(v-1),v.get("AMSSCRNSEQ")===t&&v.get("AMAACTN")===
|
|
1072
|
+
B&&v.get("AMAROW")===E&&v.get("AMACOL")===F))return r.attr='style="color:red;"',pui.getLanguageText("runtimeMsg","duplicate actions");if(B==T.wa)var G=p==T.Oa?pui.getLanguageText("runtimeMsg","msg action input var",[u,E,F]):p==T.xa?pui.getLanguageText("runtimeMsg","msg action input user",[E,F]):p==T.gb?pui.getLanguageText("runtimeMsg","msg action input js",[u,E,F]):pui.getLanguageText("runtimeMsg","msg action input other",[u,E,F]);else B==T.aa?(r=pui.getLanguageText("runtimeText","msg action selected"),
|
|
1073
|
+
G=pui.getLanguageText("runtimeText","msg action deselected"),G=pui.getLanguageText("runtimeText","msg action selection choice",[E,F,u,p==T.Pb?G:r])):B==T.Rb?G=p==T.Oa?pui.getLanguageText("runtimeMsg","msg presskey var",[u]):pui.getLanguageText("runtimeMsg","msg presskey other",[u.toUpperCase()]):B==T.fb&&(G=pui.getLanguageText("runtimeText","close browser wintab"));return G}}]}),view:new Ext.grid.GroupingView({forceFit:!1,emptyText:pui.getLanguageText("runtimeMsg","no actions"),headersDisabled:!0,
|
|
1074
|
+
hideGroupedColumn:!0}),store:new Ext.data.GroupingStore({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003023.pgm"),method:"POST"}),reader:new Ext.data.JsonReader({root:"data",fields:"AMSID AMSSCRNSEQ AMSSCRNID AMSONCE ASNAME AMAACTNSEQ AMAACTN AMAROW AMACOL AMAVARTYPE AMAVAR".split(" ")}),listeners:{loadexception:function(p,r,t){T.data.u(t,function(v,u){k.getStore().removeAll();""==u.heading&&(u.heading=pui.getLanguageText("runtimeMsg","unable to load macr act"));T.h.o(u)})},load:function(p){if(0<
|
|
1075
|
+
p.getCount()){var r=k.getSelectionModel();if(null==p.$)r.selectFirstRow();else{var t=p.find("AMSSCRNSEQ",p.$);t=p.getAt(t);null!=t&&r.selectRecords(Array(t));p.$=null}}}},groupField:"AMSSCRNSEQ"}),tbar:new Ext.Toolbar({items:[{itemId:"addscr",text:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","screen")]),icon:T.m+"application_form_add.png",cls:"x-btn-text-icon",handler:function(){T.g.i.v.Wc(k)}},{itemId:"dltscr",text:pui.getLanguageText("runtimeText","delete screen"),
|
|
1076
|
+
icon:T.m+"application_form_delete.png",cls:"x-btn-text-icon",handler:function(){var p=pui.getLanguageText("runtimeMsg","msg del scrn from macro");Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),p,function(r){"yes"==r&&T.g.i.v.Fd(k)})},disabled:!0},{id:"btnDetectOnceChk",text:T.g.i.v.ub(!1),icon:T.m+"crosshairs.svg",cls:"x-btn-text-icon",handler:function(){T.g.i.v.Be(k)},disabled:!0},{itemId:"moveu",text:pui.getLanguageText("runtimeText","move up"),icon:T.m+"arrow_up.png",
|
|
1077
|
+
cls:"x-btn-text-icon",handler:function(){T.g.i.v.uc("UP",k.getSelectionModel().getSelections()[0])},disabled:!0},{itemId:"moved",text:pui.getLanguageText("runtimeText","move down"),icon:T.m+"arrow_down.png",cls:"x-btn-text-icon",handler:function(){T.g.i.v.uc("DOWN",k.getSelectionModel().getSelections()[0])},disabled:!0},{itemId:"collapse",text:pui.getLanguageText("runtimeText","collapseAll"),icon:T.m+"collapseall.gif",cls:"x-btn-text-icon",handler:function(){k.getSelectionModel().clearSelections();
|
|
1078
|
+
k.getView().collapseAllGroups()},disabled:!0},{itemId:"expand",text:pui.getLanguageText("runtimeText","expandAll"),icon:T.m+"expandall.gif",cls:"x-btn-text-icon",handler:function(){k.getView().expandAllGroups()},disabled:!0},{xtype:"tbspacer",width:15},"-",{xtype:"tbspacer",width:15},{itemId:"addact",text:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","action")]),icon:T.m+"script_add.png",cls:"x-btn-text-icon",handler:function(){T.g.i.v.Wb(k)},disabled:!0},"->",{icon:T.m+
|
|
1079
|
+
"arrow_refresh.png",cls:"x-btn-text-icon",handler:function(){k.getStore().reload()}}]}),selModel:new Ext.grid.RowSelectionModel({listeners:{selectionchange:function(p){for(var r=k.getTopToolbar(),t=r.getComponent("dltscr"),v=p.getSelections(),u=v.map(function(C){return C.data.AMSSCRNSEQ}),z=[],B=0;B<u.length;B++)-1===z.indexOf(u[B])&&z.push(u[B]);0<z.length?t.enable():t.disable();t=r.getComponent("addact");B=r.getComponent("moveu");var E=r.getComponent("moved"),F=r.getComponent("collapse");r=r.getComponent("expand");
|
|
1080
|
+
p=p.grid.getStore();var G=p.getCount();if(0<G){var L=p.getAt(0).get("AMSSCRNSEQ"),D=p.getAt(G-1).get("AMSSCRNSEQ");F.enable();r.enable()}else F.disable(),r.disable();0<G&&1===z.length?(t.enable(),v[0].data.AMSSCRNSEQ===L?B.disable():B.enable(),v[0].data.AMSSCRNSEQ===D?E.disable():E.enable()):(t.disable(),B.disable(),E.disable());z=Ext.getCmp("btnDetectOnceChk");0==u.length?(z.disable(),z.setText(T.g.i.v.ub(!1))):(z.enable(),z.setText(T.g.i.v.ub("1"==v[0].data.AMSONCE)))},rowselect:function(p,r,t){t=
|
|
1081
|
+
t.get("AMSSCRNSEQ");var v=p.grid.getStore().findExact("AMSSCRNSEQ",t),u=p.grid.getStore().getCount();for(r+=1;r<u;r++){var z=p.grid.getStore().getAt(r);if(t!==z.get("AMSSCRNSEQ")){u=r-1;break}}p.suspendEvents();p.selectRange(v,u,!0);p.resumeEvents()},rowdeselect:function(p,r,t){t=t.get("AMSSCRNSEQ");var v=p.grid.getStore().find("AMSSCRNSEQ",t),u=p.grid.getStore().getCount();for(r+=1;r<u;r++){var z=p.grid.getStore().getAt(r);if(t!==z.get("AMSSCRNSEQ")){u=r-1;break}}p.suspendEvents();p.deselectRange(v,
|
|
1082
|
+
u);p.resumeEvents()}}})}),n=new Ext.Panel({layout:"fit",border:!1,items:[k]}),q=new Ext.Panel({layout:"card",region:"center",border:!1,activeItem:0,items:[{border:!1,html:'<div style="margin: 10px;">'+pui.getLanguageText("runtimeMsg","choose scrn macro")+"</div>"},m,n]});return new Ext.Panel({title:pui.getLanguageText("runtimeText","genie macros"),layout:"border",items:[h,q]})};
|
|
1083
|
+
T.g.i.v.Yc=function(c){var a=new Ext.form.FormPanel({autoHeight:!0,labelWidth:80,bodyStyle:"padding: 10px 0px 10px 10px",width:320,defaults:{msgTarget:"side"},monitorValid:!0,items:[new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","screen name"),name:"ASNAME",width:200,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")})],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","add"),formBind:!0,handler:function(){1==a.getForm().isValid()&&a.getForm().submit()}},
|
|
1084
|
+
{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){d.close()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(e,f){1==a.getForm().isValid()&&(a.getForm().submit(),f.stopEvent())}}],listeners:{beforeaction:function(e){var f=pui.getLanguageText("runtimeText","screen");T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[f]);T.g.j.show();var g=e.findField("ASNAME");Ext.Ajax.request({url:T.h.s("PUI0003019.pgm"),method:"POST",params:{mode:"add",ASNAME:g.getValue()},callback:function(h,
|
|
1085
|
+
l,m){T.data.u(m,function(k,n){T.g.j.hide();0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to add x",[f])),T.h.o(n,function(){g.focus()})):(d.close(),T.h.J(pui.getLanguageText("runtimeMsg","x added",[f]),function(){c.getLoader().load(c.getRootNode(),function(){c.getRootNode().expand(!1,!0,function(){var q=c.getNodeById(n.ASID);null!=q&&q.select()})})}))})}});return!1}}}),d=new Ext.Window({title:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","screen")]),
|
|
1086
|
+
layout:"fit",modal:!0,resizable:!1,maximizable:!1,autoHeight:!0,items:[a],listeners:{show:function(){var e=a.getForm().items.itemAt(0);e.focus.defer(250,e)}}});d.show()};
|
|
1087
|
+
T.g.i.v.hc=function(c){for(var a=pui.getLanguageText("runtimeMsg","confirm del sel x",[pui.getLanguageText("runtimeText","screens")])+"<br /><br />",d=0;d<c.length;d++)0!=d&&(a+="<br />"),a+='<span style="font-weight:bold;">'+c[d].text+"</span>";Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),a,function(e){"yes"==e&&T.g.i.v.Id(c)})};
|
|
1088
|
+
T.g.i.v.Id=function(c){var a=1<c.length?pui.getLanguageText("runtimeText","screens"):pui.getLanguageText("runtimeText","screen");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[a]);T.g.j.show();for(var d={mode:"delete"},e=0;e<c.length;e++)d["ASID"+(e+1)]=c[e].id;Ext.Ajax.request({url:T.h.s("PUI0003019.pgm"),method:"POST",params:d,callback:function(f,g,h){T.data.u(h,function(l,m){T.g.j.hide();0==l?(""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[a])),T.h.o(m)):
|
|
1089
|
+
(a=1<c.length?pui.getLanguageText("runtimeText","screens"):pui.getLanguageText("runtimeText","screen"),T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[a]),function(){var k=c[0].getOwnerTree();k.getSelectionModel().clearSelections();k.getLoader().load(k.getRootNode(),function(){k.getRootNode().expand()})}))})}})};
|
|
1090
|
+
T.g.i.v.ne=function(c,a){Ext.Ajax.request({url:T.h.s("PUI0003019.pgm"),method:"POST",params:{mode:"edit",ASID:c.id,ASNAME:a},callback:function(d,e,f){T.data.u(f,function(g,h){0==g&&(""==h.heading&&(h.heading=pui.getLanguageText("runtimeMsg","unable to rename x",[pui.getLanguageText("runtimeText","screen")])),T.h.o(h))})}})};
|
|
1091
|
+
T.g.i.v.Uc=function(c,a){var d=new Ext.form.FormPanel({autoHeight:!0,labelWidth:80,bodyStyle:"padding: 10px 0px 10px 10px",width:320,defaults:{msgTarget:"side"},monitorValid:!0,items:[new Ext.form.NumberField({fieldLabel:pui.getLanguageText("runtimeText","field row"),name:"AIROW",autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:2},width:70,minValue:1,maxValue:27,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),allowDecimals:!1,allowNegative:!1}),new Ext.form.NumberField({fieldLabel:pui.getLanguageText("runtimeText",
|
|
1092
|
+
"field column"),name:"AICOL",autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:3},width:70,minValue:0,maxValue:131,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),allowDecimals:!1,allowNegative:!1}),new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","field value"),name:"AIVALUE",width:200,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")})],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","add"),formBind:!0,
|
|
1093
|
+
handler:function(){1==d.getForm().isValid()&&d.getForm().submit()}},{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){e.close()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(f,g){1==d.getForm().isValid()&&(d.getForm().submit(),g.stopEvent())}}],listeners:{beforeaction:function(){var f=pui.getLanguageText("runtimeText","identifier");T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[f]);T.g.j.show();Ext.Ajax.request({url:T.h.s("PUI0003020.pgm"),method:"POST",params:{mode:"add",
|
|
1094
|
+
ASID:c,AIROW:d.getForm().findField("AIROW").getValue(),AICOL:d.getForm().findField("AICOL").getValue(),AIVALUE:d.getForm().findField("AIVALUE").getValue()},callback:function(g,h,l){T.data.u(l,function(m,k){T.g.j.hide();0==m?(""==k.heading&&(k.heading=pui.getLanguageText("runtimeMsg","unable to add x",[f])),T.h.o(k,function(){d.getForm().findField("AIROW").focus()})):(e.close(),T.h.J(pui.getLanguageText("runtimeMsg","x added",[f]),function(){a.getStore().reload()}))})}});return!1}}}),e=new Ext.Window({title:pui.getLanguageText("runtimeText",
|
|
1095
|
+
"add x",[pui.getLanguageText("runtimeText","screen id")]),layout:"fit",modal:!0,resizable:!1,maximizable:!1,autoHeight:!0,items:[d],listeners:{show:function(){var f=d.getForm().items.itemAt(0);f.focus.defer(250,f)}}});e.show()};
|
|
1096
|
+
T.g.i.v.Cd=function(c){var a=c.getSelectionModel().getSelections(),d=1<a.length?pui.getLanguageText("runtimeText","identifiers"):pui.getLanguageText("runtimeText","identifier");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[d]);T.g.j.show();for(var e={mode:"delete",AISCRNID:c.getStore().lastOptions.params.ASID},f=0;f<a.length;f++)e["AIIDENID"+(f+1)]=a[f].get("AIIDENID");Ext.Ajax.request({url:T.h.s("PUI0003020.pgm"),method:"POST",params:e,callback:function(g,h,l){T.data.u(l,function(m,k){T.g.j.hide();
|
|
1097
|
+
0==m?(""==k.heading&&(k.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[d])),T.h.o(k,function(){c.getStore().reload()})):T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[d]),function(){c.getStore().reload()})})}})};
|
|
1098
|
+
T.g.i.v.Pd=function(c,a){Ext.Ajax.request({url:T.h.s("PUI0003020.pgm"),method:"POST",params:{mode:"edit",AISCRNID:a.getStore().lastOptions.params.ASID,AIIDENID:c.get("AIIDENID"),AIROW:c.get("AIROW"),AICOL:c.get("AICOL"),AIVALUE:c.get("AIVALUE")},callback:function(d,e,f){T.data.u(f,function(g,h){0==g?(""==h.heading&&(h.heading=pui.getLanguageText("runtimeMsg","unable to update x",[pui.getLanguageText("runtimeText","identifier")])),T.h.o(h,function(){a.getStore().reload()})):a.getStore().commitChanges()})}})};
|
|
1099
|
+
T.g.i.v.Vc=function(c){var a=new Ext.form.FormPanel({autoHeight:!0,labelWidth:80,bodyStyle:"padding: 10px 0px 10px 10px",width:320,defaults:{msgTarget:"side"},monitorValid:!0,items:[new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText","macro name"),name:"AMNAME",width:200,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required")})],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","add"),formBind:!0,handler:function(){1==a.getForm().isValid()&&a.getForm().submit()}},
|
|
1100
|
+
{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){d.close()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(e,f){1==a.getForm().isValid()&&(a.getForm().submit(),f.stopEvent())}}],listeners:{beforeaction:function(e){var f=pui.getLanguageText("runtimeText","macro");T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[f]);T.g.j.show();var g=e.findField("AMNAME");Ext.Ajax.request({url:T.h.s("PUI0003022.pgm"),method:"POST",params:{mode:"add",AMNAME:g.getValue()},callback:function(h,
|
|
1101
|
+
l,m){T.data.u(m,function(k,n){T.g.j.hide();0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to add x",[f])),T.h.o(n,function(){g.focus()})):(d.close(),T.h.J(pui.getLanguageText("runtimeMsg","x added",[f]),function(){c.getLoader().load(c.getRootNode(),function(){c.getRootNode().expand(!1,!0,function(){var q=c.getNodeById(n.AMID);null!=q&&q.select()})})}),T.g.i.Ka=!0)})}});return!1}}}),d=new Ext.Window({title:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText",
|
|
1102
|
+
"macro")]),layout:"fit",modal:!0,resizable:!1,maximizable:!1,autoHeight:!0,items:[a],listeners:{show:function(){var e=a.getForm().items.itemAt(0);e.focus.defer(250,e)}}});d.show()};
|
|
1103
|
+
T.g.i.v.me=function(c,a){Ext.Ajax.request({url:T.h.s("PUI0003022.pgm"),method:"POST",params:{mode:"edit",AMID:c.id,AMNAME:a},callback:function(d,e,f){T.data.u(f,function(g,h){0==g&&(""==h.heading&&(h.heading=pui.getLanguageText("runtimeMsg","unable to rename x",[pui.getLanguageText("runtimeText","macro")])),T.h.o(h));T.g.i.Ka=!0})}})};
|
|
1104
|
+
T.g.i.v.fc=function(c){for(var a=pui.getLanguageText("runtimeMsg","confirm del sel x",[pui.getLanguageText("runtimeText","macros")])+"<br /><br />",d=0;d<c.length;d++)0!=d&&(a+="<br />"),a+='<span style="font-weight:bold;">'+c[d].text+"</span>";Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),a,function(e){"yes"==e&&T.g.i.v.Gd(c)})};
|
|
1105
|
+
T.g.i.v.Gd=function(c){var a=1<c.length?pui.getLanguageText("runtimeText","macros"):pui.getLanguageText("runtimeText","macro");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[a]);T.g.j.show();for(var d={mode:"delete"},e=0;e<c.length;e++)d["AMID"+(e+1)]=c[e].id;Ext.Ajax.request({url:T.h.s("PUI0003022.pgm"),method:"POST",params:d,callback:function(f,g,h){T.data.u(h,function(l,m){T.g.j.hide();0==l?(""==m.heading&&(m.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[a])),T.h.o(m)):
|
|
1106
|
+
(T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[a]),function(){var k=c[0].getOwnerTree();k.getSelectionModel().clearSelections();k.getLoader().load(k.getRootNode(),function(){k.getRootNode().expand()})}),T.g.i.Ka=!0)})}})};
|
|
1107
|
+
T.g.i.v.Wc=function(c){var a=new Ext.form.FormPanel({autoHeight:!0,labelWidth:80,bodyStyle:"padding: 10px 0px 10px 10px",width:350,defaults:{msgTarget:"side"},monitorValid:!0,items:[new Ext.form.ComboBox({fieldLabel:pui.getLanguageText("runtimeText","screen"),hiddenName:"AMSSCRNID",width:230,allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),mode:"remote",editable:!0,forceSelection:!0,triggerAction:"all",emptyText:pui.getLanguageText("runtimeText","select")+"...",displayField:"ASNAME",
|
|
1108
|
+
valueField:"ASID",minChars:0,store:new Ext.data.Store({autoDestroy:!0,proxy:new Ext.data.HttpProxy({url:T.h.s("PUI0003017.pgm"),method:"post"}),reader:new Ext.data.JsonReader({root:"data",fields:["ASID","ASNAME"]}),listeners:{loadexception:function(e,f,g){T.data.u(g,function(h,l){""==l.heading&&(l.heading=pui.getLanguageText("runtimeMsg","unable to load scrn lst"));T.h.o(l)})}}})}),new Ext.form.Checkbox({fieldLabel:pui.getLanguageText("runtimeText","detect once"),name:"AMSONCE",inputValue:"1",value:"1"})],
|
|
1109
|
+
buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText","add"),formBind:!0,handler:function(){1==a.getForm().isValid()&&a.getForm().submit()}},{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){d.close()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(e,f){1==a.getForm().isValid()&&(a.getForm().submit(),f.stopEvent())}}],listeners:{beforeaction:function(e){var f=pui.getLanguageText("runtimeText","screen");T.g.j.msg=pui.getLanguageText("runtimeMsg","adding x",[f]);T.g.j.show();
|
|
1110
|
+
var g=e.findField("AMSSCRNID");Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:{mode:"addScreen",AMSSCRNID:g.getValue(),AMSONCE:1==e.findField("AMSONCE").getValue()?"1":"0",AMSID:c.getStore().lastOptions.params.AMID},callback:function(h,l,m){T.data.u(m,function(k,n){T.g.j.hide();0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to add x",[f])),T.h.o(n,function(){g.focus()})):(d.close(),k=c.getStore().getCount(),0===k?c.getStore().$=1:(k=c.getStore().getAt(k-
|
|
1111
|
+
1),c.getStore().$=Number(k.get("AMSSCRNSEQ"))+1),c.getStore().reload())})}});return!1}}}),d=new Ext.Window({title:pui.getLanguageText("runtimeText","add x",[pui.getLanguageText("runtimeText","screen")]),layout:"fit",modal:!0,resizable:!1,maximizable:!1,autoHeight:!0,items:[a],listeners:{show:function(){var e=a.getForm().items.itemAt(0);e.focus.defer(250,e)}}});d.show()};
|
|
1112
|
+
T.g.i.v.Wb=function(c,a){var d=a?!0:!1,e=pui.getLanguageText("runtimeText","action"),f=new Ext.form.FormPanel({autoHeight:!0,labelWidth:80,bodyStyle:"padding: 10px 0px 10px 10px",width:350,defaults:{msgTarget:"side"},monitorValid:!0,items:[new Ext.form.ComboBox({id:"comboBoxAction",fieldLabel:e,hiddenName:"AMAACTN",width:230,mode:"local",editable:!1,forceSelection:!0,triggerAction:"all",displayField:"display",valueField:"value",value:d?a.get("AMAACTN"):T.wa,store:new Ext.data.ArrayStore({autoDestroy:!0,
|
|
1113
|
+
fields:["value","display"],data:[[T.wa,pui.getLanguageText("runtimeText","write value in field")],[T.aa,pui.getLanguageText("runtimeText","set selection field")],[T.Rb,pui.getLanguageText("runtimeText","press a key")],[T.fb,pui.getLanguageText("runtimeText","close browser wintab")]]}),listeners:{select:function(){var h=f.getForm().findField("AMAACTN").getValue(),l={};h==T.fb?(l.AMAVAR=!0,l.AMAVARTYPE=!0):(l.AMAVAR=!1,l.AMAVARTYPE=!1);h!=T.wa&&h!=T.aa?(l.AMAROW=!0,l.AMACOL=!0):(l.AMAROW=!1,l.AMACOL=
|
|
1114
|
+
!1);for(var m,k,n,q=0;q<f.getForm().items.getCount();q++){m=f.getForm().items.itemAt(q);var p=m.getName();"hidden"!=m.xtype&&null!=l[p]&&(1==l[p]?(k=!1,n="disable",m.setValue("")):(k=!0,n="enable"),m[n](),m.getEl().up("div.x-form-item").setDisplayed(k));null!=p&&"AMAVAR"==p&&(h==T.aa?m.Xa(pui.getLanguageText("runtimeText","selection field choice")+":"):m.Xa(pui.getLanguageText("runtimeText","action data")+":"));null!=p&&"AMAVARTYPE"==p&&(h==T.aa?m.Xa(pui.getLanguageText("runtimeText","value")+":"):
|
|
1115
|
+
m.Xa(pui.getLanguageText("runtimeText","data type")+":"))}l=[[T.Qb,pui.getLanguageText("runtimeText","a literal value")],[T.Oa,pui.getLanguageText("runtimeText","a variable value")]];h==T.wa&&(l.push([T.xa,pui.getLanguageText("runtimeText","cur user profile")]),l.push([T.gb,pui.getLanguageText("runtimeText","result js expr")]));h==T.aa&&(l=[[T.Sb,pui.getLanguageText("runtimeText","msg action selected")],[T.Pb,pui.getLanguageText("runtimeText","msg action deselected")]]);f.getForm().findField("AMAVARTYPE").store.loadData(l);
|
|
1116
|
+
l=d?a.get("AMAVARTYPE"):"0";d||h!=T.aa||(l=T.Sb);f.getForm().findField("AMAVARTYPE").setValue(l);f.getForm().clearInvalid();g.syncSize()}}}),new Ext.form.NumberField({fieldLabel:pui.getLanguageText("runtimeText","field row"),name:"AMAROW",width:70,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:2},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),minValue:1,maxValue:27,value:d?a.get("AMAROW"):void 0,allowNegative:!1,allowDecimals:!1}),new Ext.form.NumberField({fieldLabel:pui.getLanguageText("runtimeText",
|
|
1117
|
+
"field column"),name:"AMACOL",width:70,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:3},allowBlank:!1,blankText:pui.getLanguageText("runtimeMsg","required"),minValue:0,maxValue:131,value:d?a.get("AMACOL"):void 0,allowNegative:!1,allowDecimals:!1}),new Ext.form.TextField({fieldLabel:pui.getLanguageText("runtimeText",d&&a.get("AMAACTN")===T.aa?"selection field choice":"action data"),name:"AMAVAR",width:230,allowBlank:d&&a.get("AMAVARTYPE")===T.xa?!0:!1,blankText:pui.getLanguageText("runtimeMsg",
|
|
1118
|
+
"required"),value:d?a.get("AMAVAR"):void 0,autoCreate:{tag:"input",type:"text",autocomplete:"off",maxlength:128}}),new Ext.form.ComboBox({id:"comboBoxDataType",fieldLabel:pui.getLanguageText("runtimeText",d&&a.get("AMAACTN")===T.aa?"value":"data type"),hiddenName:"AMAVARTYPE",width:230,mode:"local",editable:!1,forceSelection:!0,triggerAction:"all",displayField:"display",valueField:"value",value:d?a.get("AMAVARTYPE"):"0",store:new Ext.data.ArrayStore({autoDestroy:!0,fields:["value","display"],data:[[T.Qb,
|
|
1119
|
+
pui.getLanguageText("runtimeText","a literal value")],[T.Oa,pui.getLanguageText("runtimeText","a variable value")],[T.xa,pui.getLanguageText("runtimeText","cur user profile")],[T.gb,pui.getLanguageText("runtimeText","result js expr")]]}),listeners:{select:function(h,l){h=l.get("value");l=f.getForm().findField("AMAVAR");h==T.xa?(l.setValue(""),l.disable(),l.getEl().up("div.x-form-item").setDisplayed(!1)):(l.enable(),l.getEl().up("div.x-form-item").setDisplayed(!0));g.syncSize()}}}),new Ext.form.Hidden({name:"AMAID",
|
|
1130
1120
|
value:c.getStore().lastOptions.params.AMID}),new Ext.form.Hidden({name:"AMASCRNSEQ",value:c.getSelectionModel().getSelections()[0].get("AMSSCRNSEQ")}),new Ext.form.Hidden({name:"AMAACTNSEQ",value:d?a.get("AMAACTNSEQ"):null}),new Ext.form.Hidden({name:"old_AMAACTN",value:d?a.get("AMAACTN"):null}),new Ext.form.Hidden({name:"old_AMAROW",value:d?a.get("AMAROW"):null}),new Ext.form.Hidden({name:"old_AMACOL",value:d?a.get("AMACOL"):null}),new Ext.form.Hidden({name:"old_AMAVARTYPE",value:d?a.get("AMAVARTYPE"):
|
|
1131
|
-
null}),new Ext.form.Hidden({name:"old_AMAVAR",value:d?a.get("AMAVAR"):null})],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText",d?"edit":"add"),formBind
|
|
1132
|
-
d?"reassigning x":"adding x",[e]);
|
|
1133
|
-
c.
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
a[g].get("AMSONCE")
|
|
1137
|
-
|
|
1138
|
-
AMASCRNSEQ:g,AMAACTNSEQ:a.get("AMAACTNSEQ"),AMAACTN:a.get("AMAACTN"),AMAROW:a.get("AMAROW"),AMACOL:a.get("AMACOL"),AMAVARTYPE:a.get("AMAVARTYPE"),AMAVAR:a.get("AMAVAR")},callback:function(h,
|
|
1139
|
-
|
|
1140
|
-
c
|
|
1141
|
-
|
|
1142
|
-
[
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
10))}catch(e){d.textContent=e.message}};
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
pui.
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
null&&
|
|
1181
|
-
|
|
1182
|
-
|
|
1121
|
+
null}),new Ext.form.Hidden({name:"old_AMAVAR",value:d?a.get("AMAVAR"):null})],buttonAlign:"right",buttons:[{text:pui.getLanguageText("runtimeText",d?"edit":"add"),formBind:!0,handler:function(){1==f.getForm().isValid()&&f.getForm().submit()}},{text:pui.getLanguageText("runtimeText","cancel"),handler:function(){g.close()}}],keys:[{key:Ext.EventObject.ENTER,fn:function(h,l){1==f.getForm().isValid()&&(f.getForm().submit(),l.stopEvent())}}],listeners:{beforeaction:function(h){T.g.j.msg=pui.getLanguageText("runtimeMsg",
|
|
1122
|
+
d?"reassigning x":"adding x",[e]);T.g.j.show();for(var l={mode:d?"updateAction":"addAction"},m=0;m<h.items.getCount();m++)l[h.items.itemAt(m).getName()]=h.items.itemAt(m).getValue();Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:l,callback:function(k,n,q){T.data.u(q,function(p,r){T.g.j.hide();0==p?(""==r.heading&&(r.heading=pui.getLanguageText("runtimeMsg",d?"unable to update x":"unable to add x",[e])),T.h.o(r,function(){h.items.itemAt(0).focus()})):(g.close(),c.getStore().$=c.getSelectionModel().getSelections()[0].get("AMSSCRNSEQ"),
|
|
1123
|
+
c.getStore().reload())})}});return!1},afterlayout:function(h){if(h.layoutPending&&d){a.get("AMAACTN")!==T.wa&&(h=Ext.getCmp("comboBoxAction"),h.fireEvent("select"));var l=a.get("AMAVARTYPE");if(l===T.xa){h=Ext.getCmp("comboBoxDataType");l=h.store.findExact("value",l);var m=h.store.getAt(l);h.fireEvent("select",h,m,l)}}}}}),g=new Ext.Window({title:pui.getLanguageText("runtimeText",d?"edit x":"add x",[pui.getLanguageText("runtimeText","action")]),layout:"fit",modal:!0,resizable:!1,maximizable:!1,autoHeight:!0,
|
|
1124
|
+
items:[f],listeners:{show:function(){var h=f.getForm().items.itemAt(0);h.focus.defer(250,h)}}});g.show()};
|
|
1125
|
+
T.g.i.v.Fd=function(c){var a=c.getSelectionModel().getSelections(),d=1<a.length?pui.getLanguageText("runtimeText","screens"):pui.getLanguageText("runtimeText","screen");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[d]);T.g.j.show();for(var e={mode:"deleteScreens",AMSID:c.getStore().lastOptions.params.AMID},f=0,g=0;g<a.length;g++)if(0==g||a[g-1].get("AMSSCRNSEQ")!==a[g].get("AMSSCRNSEQ"))f+=1,e["AMSSCRNSEQ"+f]=a[g].get("AMSSCRNSEQ"),e["AMSSCRNID"+f]=a[g].get("AMSSCRNID"),e["AMSONCE"+f]=
|
|
1126
|
+
a[g].get("AMSONCE");Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:e,callback:function(h,l,m){T.data.u(m,function(k,n){T.g.j.hide();0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[d])),T.h.o(n,function(){c.getStore().reload()})):T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[d]),function(){c.getStore().reload()})})}})};
|
|
1127
|
+
T.g.i.v.Ed=function(c,a){Ext.MessageBox.confirm(pui.getLanguageText("runtimeMsg","confirm delete"),pui.getLanguageText("runtimeMsg","confirm del sel x",[pui.getLanguageText("runtimeText","action")]),function(d){if("yes"==d){var e=pui.getLanguageText("runtimeText","action");T.g.j.msg=pui.getLanguageText("runtimeMsg","deleting x",[e]);T.g.j.show();var f=c.getStore(),g=a.get("AMSSCRNSEQ");Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:{mode:"deleteAction",AMAID:f.lastOptions.params.AMID,
|
|
1128
|
+
AMASCRNSEQ:g,AMAACTNSEQ:a.get("AMAACTNSEQ"),AMAACTN:a.get("AMAACTN"),AMAROW:a.get("AMAROW"),AMACOL:a.get("AMACOL"),AMAVARTYPE:a.get("AMAVARTYPE"),AMAVAR:a.get("AMAVAR")},callback:function(h,l,m){T.data.u(m,function(k,n){T.g.j.hide();0==k?(""==n.heading&&(n.heading=pui.getLanguageText("runtimeMsg","unable to delete x",[e])),T.h.o(n,function(){f.$=g;f.reload()})):T.h.J(pui.getLanguageText("runtimeMsg","x deleted",[e]),function(){f.$=g;f.reload()})})}})}})};
|
|
1129
|
+
T.g.i.v.uc=function(c,a){var d=Ext.getCmp("Atrium-macroGroupGrid");Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:{mode:"moveScreen",direction:c,AMSID:d.getStore().lastOptions.params.AMID,AMSSCRNSEQ:a.get("AMSSCRNSEQ"),AMSSCRNID:a.get("AMSSCRNID"),AMSONCE:a.get("AMSONCE")},callback:function(e,f,g){T.data.u(g,function(h,l){0==h?(""==l.heading&&(l.heading=pui.getLanguageText("runtimeMsg","cannot move screen")),T.h.o(l,function(){var m=Number(a.get("AMSSCRNSEQ"));d.getStore().$="UP"===
|
|
1130
|
+
c?m-1:m+1;d.getStore().reload()})):(h=Number(a.get("AMSSCRNSEQ")),d.getStore().$="UP"===c?h-1:h+1,d.getStore().reload())})}})};
|
|
1131
|
+
T.g.i.v.Be=function(c){var a=c.getSelectionModel().getSelections();if(0<a.length){var d=a[0].data.AMSSCRNSEQ,e=c.getStore();Ext.Ajax.request({url:T.h.s("PUI0003024.pgm"),method:"POST",params:{mode:"updateMacroScreen",AMSID:e.lastOptions.params.AMID,AMSSCRNSEQ:d,AMSONCE:"0"==a[0].data.AMSONCE?"1":"0"},callback:function(f,g,h){T.data.u(h,function(l,m){T.g.j.hide();0==l?(""==m.heading&&(l=pui.getLanguageText("runtimeText","detect once"),m.heading=pui.getLanguageText("runtimeMsg","unable to update x",
|
|
1132
|
+
[l])),T.h.o(m,function(){e.reload()})):(e.$=d,e.reload())})}})}};T.g.i.v.ub=function(c){return c?pui.getLanguageText("runtimeText","detect always"):pui.getLanguageText("runtimeText","detect once")};T.h.s=function(c){return T.serverURL?T.serverURL+"/profoundui/"+c:"/profoundui/"+c};
|
|
1133
|
+
T.h.o=function(c,a){var d="";if("string"==typeof c)d=c;else if(""!=c.heading&&(d=c.heading+"<br /><br />"),d+=c.text,""!=c.text2){var e=c.text2.indexOf("Recovery . . . :");-1!=e&&0!=e&&(c.text2=c.text2.substr(0,e-1)+"<br /><br />"+c.text2.substr(e));d+="<br /><br />"+c.text2}T.g.j.hide();Ext.MessageBox.details=!1;Ext.MessageBox.show({title:"Error",msg:d,icon:Ext.MessageBox.ERROR,buttons:Ext.MessageBox.OK,fn:"function"==typeof a?a:Ext.emptyFn})};
|
|
1134
|
+
T.h.J=function(c,a){T.g.j.hide();Ext.MessageBox.show({title:"Profound UI Atrium",msg:c,icon:Ext.MessageBox.INFO,buttons:Ext.MessageBox.OK,fn:"function"==typeof a?a:Ext.emptyFn})};T.h.getState=function(){var c=pui.getCookie("Atrium-"+location.origin);if(null!=c)try{c=Ext.util.JSON.decode(c)}catch(a){c=null}if(null==c||"number"!=typeof c.sessions)c={tf:0};return c};T.h.saveState=function(c){pui.setCookie("Atrium-"+location.origin,Ext.util.JSON.encode(c),null,"/",null,null,"Strict")};
|
|
1135
|
+
T.h.Zc=function(){var c=T.h.getState();c.sessions+=1;T.h.saveState(c)};T.h.zc=function(){var c=T.h.getState();--c.sessions;0>c.sessions&&(c.sessions=0);T.h.saveState(c)};T.h.Ab=function(c){return c.match(/^[a-zA-Z$@#][a-zA-Z0-9._$@#]{0,9}$/)};
|
|
1136
|
+
T.h.yc=function(){T.Za={};for(var c=document.getElementsByTagName("iframe"),a=0;a<c.length;a++)try{c[a]&&c[a].contentWindow&&c[a].contentWindow.pui&&c[a].contentWindow.pui.appJob&&c[a].contentWindow.pui.appJob.user&&0<c[a].contentWindow.pui.appJob.user.length&&"QTMHHTP1"!==c[a].contentWindow.pui.appJob.user&&(T.Za[c[a].contentWindow.pui.appJob.user]=!0)}catch(d){}};T.h.V=function(c,a){c=T.dimensions[c];isNaN(c)&&(c=a);return c};
|
|
1137
|
+
T.h.kf=function(){function c(e){e=document.getElementById(e);if(e instanceof HTMLElement)return e;throw Error("Assertion error");}function a(e){e=c(e);if(e instanceof HTMLInputElement)return e;throw Error("Assertion error");}a("current-time").checked&&(a("timestamp").value=Math.floor(Date.now()/1E3).toString());var d=c("totp-code");try{d.textContent=T.h.mb(T.h.lc(a("secret-key").value),parseInt(a("epoch").value,10),parseInt(a("time-step").value,10),parseInt(a("timestamp").value,10),parseInt(a("code-length").value,
|
|
1138
|
+
10))}catch(e){d.textContent=e.message}};T.h.mb=function(c,a,d,e,f,g,h){"undefined"===typeof a&&(a=0);"undefined"===typeof d&&(d=30);"undefined"===typeof e&&(e=null);"undefined"===typeof f&&(f=6);"undefined"===typeof g&&(g=T.h.lb);"undefined"===typeof h&&(h=64);null===e&&(e=Date.now());a=Math.floor((e-a)/d);d=[];for(e=0;8>e;e++,a=Math.floor(a/256))d.push(a&255);d.reverse();return T.h.ac(c,d,f,g,h)};
|
|
1139
|
+
T.h.ac=function(c,a,d,e,f){"undefined"===typeof d&&(d=6);"undefined"===typeof e&&(e=T.h.lb);"undefined"===typeof f&&(f=64);if(!(1<=d&&9>=d))throw new RangeError("Invalid number of digits");e=T.h.jd(c,a,e,f);f=e[e.length-1]%16;for(c=a=0;4>c;c++)a|=e[f+c]<<8*(3-c);e=1;for(c=0;c<d;c++)e*=10;for(c=((a&2147483647)%e).toString();c.length<d;)c="0"+c;return c};
|
|
1140
|
+
T.h.jd=function(c,a,d,e){if(1>e)throw new RangeError("Invalid block size");c.length>e&&(c=d(c));for(c=c.slice();c.length<e;)c.push(0);var f=c.map(function(g){return g^54});for(e=0;e<a.length;e++)f.push(a[e]);a=d(f);c=c.map(function(g){return g^92});for(e=0;e<a.length;e++)c.push(a[e]);return d(c)};
|
|
1141
|
+
T.h.lb=function(c){var a,d=[];var e=0;for(a=8*c.length;8>e;e++,a>>>=8)d.push(a&255);d.reverse();c=c.slice();for(c.push(128);0!=(c.length+8)%64;)c.push(0);for(e=0;e<d.length;e++)c.push(d[e]);d=[1732584193,4023233417,2562383102,271733878,3285377520];for(e=0;e<c.length;e+=64){var f=[];for(a=0;64>a;a++)0==a%4&&f.push(0),f[Math.floor(a/4)]|=c[e+a]<<8*(3-a%4);for(a=f.length;80>a;a++){var g=f[a-3]^f[a-8]^f[a-14]^f[a-16];f.push(g<<1|g>>>31)}var h=d[0],l=d[1],m=d[2],k=d[3],n=d[4];f.forEach(function(q,p){switch(Math.floor(p/
|
|
1142
|
+
20)){case 0:p=l&m|~l&k;var r=1518500249;break;case 1:p=l^m^k;r=1859775393;break;case 2:p=l&m^l&k^m&k;r=2400959708;break;case 3:p=l^m^k;r=3395469782;break;default:throw Error("Assertion error");}q=(h<<5|h>>>27)+p+n+q+r>>>0;n=k;k=m;m=l<<30|l>>>2;l=h;h=q});d[0]=d[0]+h>>>0;d[1]=d[1]+l>>>0;d[2]=d[2]+m>>>0;d[3]=d[3]+k>>>0;d[4]=d[4]+n>>>0}c=[];for(a=0;a<d.length;a++)for(e=3;0<=e;e--)c.push(d[a]>>>8*e&255);return c};
|
|
1143
|
+
T.h.lc=function(c){for(var a=[],d=0,e=0,f=0;f<c.length;f++)if(" "!=c[f]){var g="ABCDEFGHIJKLMNOPQRSTUVWXYZ234567".indexOf(c[f].toUpperCase());if(-1==g)throw new RangeError("Invalid Base32 string");d=d<<5|g;e+=5;8<=e&&(e-=8,a.push(d>>>e),d&=(1<<e)-1)}return a};T.h.sf=function(){try{return T.h.ye(),T.h.ze(),!0}catch(c){return alert("Self-check failed: "+c.message),!1}};
|
|
1144
|
+
T.h.ye=function(){for(var c=[[0,"284755224"],[1,"094287082"],[2,"137359152"],[3,"726969429"],[4,"640338314"],[5,"868254676"],[6,"918287922"],[7,"082162583"],[8,"673399871"],[9,"645520489"]],a=[49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,55,56,57,48],d=0;d<c.length;d++){for(var e=[],f=0;8>f;f++,c[d][0]=Math.floor(c[d][0]/256))e.push(c[d][0]&255);e.reverse();if(T.h.ac(a,e,9)!=c[d][1])throw Error("Value mismatch");}};
|
|
1145
|
+
T.h.ze=function(){for(var c=[[59,"94287082"],[1111111109,"07081804"],[1111111111,"14050471"],[1234567890,"89005924"],[2E9,"69279037"],[2E10,"65353130"]],a=[49,50,51,52,53,54,55,56,57,48,49,50,51,52,53,54,55,56,57,48],d=0;d<c.length;d++)if(T.h.mb(a,0,30,c[d][0],8)!=c[d][1])throw Error("Value mismatch");};
|
|
1146
|
+
T.h.Mb=function(c,a){if("object"!==typeof a)return c;a=Object.assign({},a);var d=c.split("?"),e=d[0];c={};if(1<d.length){d=d[1].split("&");for(var f=0;f<d.length;f++){var g=d[f].split("=");c[g[0]]=decodeURIComponent(g[1])}}for(var h in a)if(h.startsWith("var")&&a["value"+h.slice(3)]){d="value"+h.slice(3);for(f=1;c["var"+f]||c["value"+f];)f++;c["var"+f]=a[h];c["value"+f]=a[d];delete a[d]}else h.startsWith("value")||(c[h]=a[h]);a=e;e=!0;for(h in c)a+=e?"?":"&",a+=h+"="+encodeURIComponent(c[h]),e=!1;
|
|
1147
|
+
return a};T.h.ee=function(c){return(c=/(\d{4})-(\d{2})-(\d{2})-(\d{2})\.(\d{2})\.(\d{2})\.(\d{6})/.exec(c))?new Date(parseInt(c[1],10),parseInt(c[2],10)-1,parseInt(c[3],10),parseInt(c[4],10),parseInt(c[5],10),parseInt(c[6],10),Math.floor(parseInt(c[7],10)/1E3)):null};T.data.loadData=function(c,a){var d={},e={},f={};"object"==typeof c.l&&(e=c.l);"object"==typeof c.C&&(f=c.C);T.data.Db(e,function(g,h){1==g?(d.l=h,d.l.ACNTYPE==T.pa&&"1"==f.top&&(f.max_depth="2"),"1"===d.l.ACTIMEOUT&&(d.l.ACLIMIT=1),T.data.Cb(f,function(l,m){1==l?(d.items=m,a(!0,d)):a(!1,m)})):a(!1,h)})};
|
|
1148
|
+
T.data.Db=function(c,a){Ext.Ajax.request({url:T.h.s("PUI0003002.pgm"),params:c,callback:function(d,e,f){T.data.u(f,function(g,h){0==g&&""==h.heading&&(h.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","settings")]));h.AUNAME&&(h.AUNAME=pui.G.decode(h.AUNAME));a(g,h)})}})};
|
|
1149
|
+
T.data.Cb=function(c,a){var d={},e;for(e in c)d[e]=c[e];"undefined"!=typeof Storage&&sessionStorage[T.K]&&(d.filter=sessionStorage[T.K]);T.l.ACNTYPE&&T.l.ACNTYPE==T.pa&&"1"==d.top&&(d.max_depth="2");Ext.Ajax.request({url:T.h.s("PUI0003007.pgm"),params:d,callback:function(f,g,h){T.data.u(h,function(l,m){if(1==l){var k={};k.toolbar=m.toolbar;k.L=m.homepages;k.C=m.nav;m=k;var n;for(n=0;n<m.toolbar.length;n++)m.toolbar[n].ANTEXT=pui.G.decode(m.toolbar[n].ANTEXT);for(n=0;n<m.L.length;n++)m.L[n].ANTEXT=
|
|
1150
|
+
pui.G.decode(m.L[n].ANTEXT);for(n=0;n<m.C.length;n++)m.C[n].ANTEXT=pui.G.decode(m.C[n].ANTEXT)}else k=m,""==k.heading&&(k.heading=pui.getLanguageText("runtimeMsg","unable to load x",[pui.getLanguageText("runtimeText","navigation items")]));a(l,k)})}})};
|
|
1151
|
+
T.data.u=function(c,a){var d=null,e=!1;if(200!=c.status)c={id:String(c.status),text:"HTTP "+c.status+" - "+c.statusText+".",text2:"",heading:""},a(!1,c);else{try{d=Ext.util.JSON.decode(c.responseText)}catch(f){c={id:"CPF9897",text:pui.getLanguageText("runtimeMsg","upload invalid response"),text2:f.name+": "+f.message+".",heading:""};a(!1,c);return}"boolean"!=typeof d.success?e=!0:0==d.success&&("object"!=typeof d.error?e=!0:"string"!=typeof d.error.id?e=!0:"string"!=typeof d.error.text?e=!0:"string"!=
|
|
1152
|
+
typeof d.error.text2?e=!0:"string"!=typeof d.error.heading&&(e=!0));1==e?(c={id:"CPF9897",text:pui.getLanguageText("runtimeMsg","upload invalid response"),text2:pui.getLanguageText("runtimeMsg","unrecognized format"),heading:""},a(!1,c)):1==d.success?"object"==typeof d.data?a(!0,d.data):a(!0):a(!1,d.error||d.errors)}};T.action.doAction=function(c,a,d){if(c.attributes)var e=c.attributes;else c.initialConfig&&(e=c.initialConfig);!0===T["skip launch check"]?T.action.Gb(c,a,d):Ext.Ajax.request({url:T.h.s("PUI0003036.pgm"),params:{id:e.id},callback:function(f,g,h){T.data.u(h,function(l,m){l?m.ANLSTATE==T.Oc?Ext.Msg.alert("Atrium",m.ANLTEXT):m.ANLSTATE==T.Nc?Ext.MessageBox.confirm("Atrium",m.ANLTEXT,function(k){"yes"==k&&T.action.Gb(c,a,d)}):T.action.Gb(c,a,d):Ext.Msg.alert("Atrium: "+m.id,m.text)})}})};
|
|
1153
|
+
T.action.Gb=function(c,a,d){if(c.attributes)var e=c.attributes;else c.initialConfig&&(e=c.initialConfig);var f=e.action;var g=e.actionType;var h=e.id;"undefined"!=typeof e.navItem&&(h=e.navItem);var l=1==e.newWindow;a&&a.ctrlKey&&(l=!l);a=e.text;"undefined"!=typeof e.navText&&(a=e.navText);var m=e.once;var k=e.parm;"undefined"==typeof e.parm&&(k=null);var n="";null!=T.B.AULANG&&""!=N(T.B.AULANG)&&(n=T.B.AULANG);if(m){m=T.g.D.items.getCount();for(var q,p=0;p<m;p++)if(q=T.g.D.items.itemAt(p),q.initialConfig.Da&&
|
|
1154
|
+
q.initialConfig.Da==h){T.g.D.activate(q);return}}if(g==T.eb)R(f);else if(g==T.Na){if(k=f.match(/^(script:|js:)(.*)/,"i"))try{if(f=eval(k[2]),"string"!=typeof f){null!==f&&!1!==f&&console.log(pui.getLanguageText("runtimeMsg","invalid script url"));return}}catch(t){console.log(pui.getLanguageText("runtimeMsg","unable eval script url"));console.log(t);return}c.attributes&&(f=T.h.Mb(f,c.attributes.Ib));T.action.Z(f,l,a,h,0,d,e.icon)}else if(g==T.na)f=T.h.s("PUI0003028.pgm")+"?ANITEM="+h,T.pjsServer&&
|
|
1155
|
+
(f="/profoundui/PUI0003028.pgm?auth="+encodeURIComponent(sessionStorage["atrium-token"])+"&ANITEM="+h),c.attributes&&(f=T.h.Mb(f,c.attributes.Ib)),"undefined"!=typeof Storage&&(sessionStorage["atrium-params-workstnid"]&&(f+="&workstnid="+encodeURIComponent(sessionStorage["atrium-params-workstnid"])),sessionStorage["atrium-params-suffixid"]&&(f+="&suffixid="+encodeURIComponent(sessionStorage["atrium-params-suffixid"])),sessionStorage["atrium-params-duplicateid"]&&(f+="&duplicateid="+encodeURIComponent(sessionStorage["atrium-params-duplicateid"])),
|
|
1156
|
+
sessionStorage[T.K]&&(f+="&filter="+encodeURIComponent(sessionStorage[T.K]))),T.action.Z(f,l,a,h,0,d,e.icon);else if(g==T.bb)f="/profoundui/auth/genie?macro=puilauncher&navid="+h,T.profounduiLibrary&&(f+="&puilib="+T.profounduiLibrary),c.attributes&&(f=T.h.Mb(f,c.attributes.Ib)),"undefined"!=typeof Storage&&(sessionStorage["atrium-params-workstnid"]&&(f+="&workstnid="+encodeURIComponent(sessionStorage["atrium-params-workstnid"])),sessionStorage["atrium-params-suffixid"]&&(f+="&suffixid="+encodeURIComponent(sessionStorage["atrium-params-suffixid"])),
|
|
1157
|
+
sessionStorage["atrium-params-duplicateid"]&&(f+="&duplicateid="+encodeURIComponent(sessionStorage["atrium-params-duplicateid"])),sessionStorage[T.K]&&(f+="&filter="+encodeURIComponent(sessionStorage[T.K]))),T.action.Z(f,l,a,h,0,d,e.icon);else if(g==T.ab){f="/profoundui/auth/start?atrium_item="+h;"undefined"!=typeof T["rich display url"]&&(f=T["rich display url"]+"?atrium_item="+h);if(null!=k&&""!=k){c="";var r=null;"js:"==String(k).substr(0,3).toLowerCase()&&(r=k.substr(3));"javascript:"==String(k).substr(0,
|
|
1158
|
+
11).toLowerCase()&&(r=k.substr(11));"script:"==String(k).substr(0,7).toLowerCase()&&(r=k.substr(7));if(null==r||""==N(r))c=k;else try{c=eval(r)}catch(t){pui.Lc||(pui.Lc=!0,setTimeout(function(){pui.alert("Expression '"+N(r)+"' contains an error:\n\n"+t.message);pui.Lc=!1},1))}f+="&p1="+encodeURIComponent(c)+"&l1=256"}"undefined"!=typeof Storage&&(sessionStorage["atrium-params-workstnid"]&&(f+="&workstnid="+encodeURIComponent(sessionStorage["atrium-params-workstnid"])),sessionStorage["atrium-params-suffixid"]&&
|
|
1159
|
+
(f+="&suffixid="+encodeURIComponent(sessionStorage["atrium-params-suffixid"])),sessionStorage["atrium-params-duplicateid"]&&(f+="&duplicateid="+encodeURIComponent(sessionStorage["atrium-params-duplicateid"])));""!=n&&(f+="&lang="+encodeURIComponent(n));T.action.Z(f,l,a,h,0,d,e.icon)}};
|
|
1160
|
+
T.action.Z=function(c,a,d,e,f,g,h){if(null!=T.onlaunch&&"function"==typeof T.onlaunch){var l={url:c,newWindow:a,text:d,itemId:e,firstTab:f,closable:g,icon:h};if(!1===T.onlaunch(l))return;g=l.closable;c=l.url;a=l.newWindow;d=l.text;e=l.itemId;f=l.firstTab;h=l.icon}l=!1;for(var m=0;m<T.items.L.length;m++)if(T.items.L[m].ANITEM==e){l=!0;break}if(1==a)return c=window.open(c,"_blank"),T.g.rb.push(c),c;!0===T.g.D.hidden&&(T.g.D.show(),0===T.g.Ga.items.getCount()&&(T.g.Ga.add(T.g.D),T.g.Ga.doLayout()));
|
|
1161
|
+
a="";"ontouchstart"in window&&(a="-webkit-overflow-scrolling:touch;overflow:auto;");m='<iframe class="selector" src="'+c+'" style="width: 100%; height: 100%; border-style: none;"></iframe>';f=f?0:T.g.D.items.getCount();c=T.g.D.insert(f,new Ext.Panel({title:d,closable:null!=g?g:!0,Da:e,html:m,atriumAction:c,bodyStyle:a,hideMode:"offsets",icon:h,listeners:{beforeclose:function(k){var n=k.getEl().child("iframe.selector",!0),q=n.contentWindow,p=null;try{p=q.pui}catch(r){}if(null!=p&&"object"===typeof p&&
|
|
1162
|
+
"function"===typeof p.isServerBusy&&p.isServerBusy())return!1;if(!T.promptCloseTab)return!0;if(n=n&&n.src&&n.src.includes("/auto-testing/work-with-test"))try{if(q.pui&&q.pui.autoTesting&&q.pui.autoTesting.hasUnsavedAnnotations&&q.pui.autoTesting.hasUnsavedAnnotations())return Ext.MessageBox.show({title:"Unsaved Annotations",msg:"There are unsaved annotation changes. Save before closing?",buttons:Ext.MessageBox.YESNOCANCEL,fn:function(r){"yes"===r?(q.pui.autoTesting.saveAllAnnotations||q.pui.autoTesting.saveAnnotations)(function(){k.destroy()}):
|
|
1163
|
+
"no"===r&&k.destroy()}}),!1}catch(r){}return!n&&(1===T.promptCloseTab&&null!=p&&"object"===typeof p||1<T.promptCloseTab)?(p="string"===typeof T.closeTabMessage?T.closeTabMessage:pui.getLanguageText("runtimeMsg","close tab"),Ext.MessageBox.show({msg:p,buttons:Ext.MessageBox.YESNO,fn:function(r){"yes"===r&&k.destroy()}}),!1):!0},beforedestroy:function(k){k=k.getEl().child("iframe.selector",!0).contentWindow;try{k.pui&&k.pui.unload&&k.pui.unload()}catch(n){}}}}));T.g.D.activate(c);l&&(T.g.W=c,T.g.W.addListener("destroy",
|
|
1164
|
+
function(){T.g.W=null}));return c};T.action.ld=function(c){for(var a=T.g.D.items.getCount(),d,e,f=0;f<a;f++)if(d=T.g.D.items.itemAt(f),e=d.getEl().child("iframe.selector",!0),c==e.contentWindow||c.parent==e.contentWindow){T.g.D.remove(d);break}};T.api.launchURL=function(c,a,d){null==d&&(d=!0);return T.action.Z(c,!1,a,null,!1,d)};T.api.closeTab=function(c,a){if(null!=a){c=T.g.D;for(var d=c.items.getCount(),e=0;e<d;e++)if(c.items.itemAt(e)==a){c.remove(a);break}}else T.action.ld(c)};
|
|
1165
|
+
T.api.launchItem=function(c,a,d,e){var f=null;"object"==typeof c&&(e=c,c=e.itemId,a=e.closable,d=e.callback,f=e.parm,e=e.event);var g=null==e?{ctrlKey:!1}:{ctrlKey:e.ctrlKey};e="";"undefined"!=typeof Storage&&sessionStorage[T.K]&&(e=sessionStorage[T.K]);Ext.Ajax.request({url:T.h.s("PUI0003029.pgm"),params:{item:c,filter:e},callback:function(h,l,m){T.data.u(m,function(k,n){k&&""!=n.ANACTN?(k={attributes:{}},k.attributes.action=n.ANACTN,k.attributes.actionType=n.ANACTNTYPE,k.attributes.id=n.ANITEM,
|
|
1166
|
+
k.attributes.newWindow="1"==n.ANWINDOW,k.attributes.text=n.ANTEXT,k.attributes.once="1"==n.ANONCE,k.attributes.parm=f||n.ANPARM,T.action.doAction(k,g,a),setTimeout(function(){for(var q,p=T.g.D.items.getCount(),r=0;r<p;r++){var t=n.ANITEM;tabItem=T.g.D.items.itemAt(r);tabItem.initialConfig.Da&&tabItem.initialConfig.Da==t&&(q=T.g.D.items.itemAt(r))}"function"==typeof d&&d(!0,q)},500)):"function"==typeof d&&d(!1)})}})};
|
|
1167
|
+
T.api.activateTab=function(c){for(var a=T.g.D,d=a.items.getCount(),e=0;e<d;e++)if(a.items.itemAt(e)==c){a.activate(c);break}};T.api.closeAllTabs=function(c,a){null==a&&(a=!0);c=T.api.getCurrentTab(c);for(var d=T.g.D,e,f=d.items.getCount()-1;0<=f;f--)e=d.items.itemAt(f),e!=c&&(null!=T.g.W&&e==T.g.W&&a||d.remove(e))};
|
|
1168
|
+
T.api.getCurrentTab=function(c){for(var a=T.g.D,d=a.items.getCount(),e,f,g=0;g<d;g++){e=a.items.itemAt(g);f=e.getEl().child("iframe.selector",!0);f=f.contentWindow;if(f==c)return e;for(;null!=f&&f.parent!=f;)if(f=f.parent,f==c)return e}};T.api.getUser=function(){return T.B.AUPROF};T.api.runPCCommand=R;T.api.refreshNavPanel=T.g.xc;T.api.reloadNavParent=T.g.je;T.api.setMenuFilter=function(c){"undefined"!=typeof Storage&&(sessionStorage[T.K]=c)};
|
|
1169
|
+
T.api.breakMessagesShow=function(c,a){if(!(null==c||0>c.length||null==a||0>=a.length)){if("function"==typeof T["brkmsg handler"])return T["brkmsg handler"](c,a);if(0===c.length)null!=T.R&&"object"===typeof T.R&&T.R.hide&&(T.R.hide(),T.R=null);else{var d=c[c.length-1],e={title:"",body:""};try{"function"===typeof T.breakMessageFormat?T.breakMessageFormat(d,e):(e.title=d.date+" "+d.time+"<br>"+d.jobNum+"/"+d.jobUserName+"/"+d.jobName,e.body=a+": "+d.msg)}catch(f){console.log(f)}T.R=Ext.MessageBox.show({title:e.title,
|
|
1170
|
+
msg:e.body,buttons:Ext.Msg.OK,minWidth:300,fn:function(){T.R=null;if("undefined"!==typeof window.localStorage&&"object"===typeof JSON){try{var f=JSON.parse(localStorage.getItem("brkmsgMessages_"+a));null!=f&&"function"===typeof f.pop?f.pop():f=[]}catch(h){console.log(h),f=[]}localStorage.setItem("brkmsgMessages_"+a,JSON.stringify(f));if(0<f.length)T.api.breakMessagesShow(f,a);else{T.h.yc();for(var g in T.Za)if(g!==a){try{c=JSON.parse(localStorage.getItem("brkmsgMessages_"+g))}catch(h){console.log(h)}if(null!=
|
|
1171
|
+
c&&0<c.length){T.api.breakMessagesShow(c,g);break}}}}}});e=null}}};
|
|
1172
|
+
T.api.breakMessagesOnStorage=function(c){if(null==c.key||16>c.key.length||"brkmsgMessages"!==c.key.substr(0,14))return!1;var a=c.key.substr(15,c.key.length);T.h.yc();if(T.Za[a]){try{var d=JSON.parse(c.newValue)}catch(f){console.log(f)}if(null!=d&&0<d.length)T.api.breakMessagesShow(d,a);else{c=!1;for(var e in T.Za)if(e!==a){try{d=JSON.parse(localStorage.getItem("brkmsgMessages_"+e))}catch(f){console.log(f)}if(null!=d&&0<d.length){T.api.breakMessagesShow(d,e);c=!0;break}}!c&&null!=T.R&&"object"===typeof T.R&&
|
|
1173
|
+
T.R.hide&&(T.R.hide(),T.R=null)}}};T.api.collapseNav=function(){T.g.N.collapse()};T.api.expandNav=function(){T.g.N.expand()};T.api.setTabTitle=function(c,a){(c=c instanceof Ext.Panel?c:T.api.getCurrentTab(c))&&c.setTitle(a)};T.api.resetInactivityTimeout=function(){T.g.Jb()};T.api.getSettings=function(){return JSON.parse(JSON.stringify(T.l))};T.api.attachActivityMonitor=function(c){T.g.Sa(c,!0)};
|