From 0a18d312bfda2fa9eb304cce1b8f6151f719d118 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 10 May 2020 17:20:44 -0700 Subject: [PATCH] Added display selector on mobile web application. --- public/scripts/agent-desktop-0.0.2-min.js | 2 +- public/scripts/agent-desktop-0.0.2.js | 4 + public/scripts/amt-wsman-0.2.0-min.js | 2 +- translate/translate.json | 230 ++++++++++++---------- views/default-mobile.handlebars | 40 ++-- 5 files changed, 153 insertions(+), 125 deletions(-) diff --git a/public/scripts/agent-desktop-0.0.2-min.js b/public/scripts/agent-desktop-0.0.2-min.js index 23a7fa4a..77666d81 100644 --- a/public/scripts/agent-desktop-0.0.2-min.js +++ b/public/scripts/agent-desktop-0.0.2-min.js @@ -1 +1 @@ -var CreateAgentRemoteDesktop=function(e,t){var g={};"string"==typeof(g.CanvasId=e)&&(g.CanvasId=Q(e)),g.Canvas=g.CanvasId.getContext("2d"),g.scrolldiv=t,g.State=0,g.PendingOperations=[],g.tilesReceived=0,g.TilesDrawn=0,g.KillDraw=0,g.ipad=!1,g.tabletKeyboardVisible=!1,g.LastX=0,g.LastY=0,g.touchenabled=0,g.submenuoffset=0,g.touchtimer=null,g.TouchArray={},g.connectmode=0,g.connectioncount=0,g.rotation=0,g.protocol=2,g.debugmode=0,g.firstUpKeys=[],g.stopInput=!1,g.localKeyMap=!0,g.pressedKeys=[],g.sessionid=0,g.username,g.oldie=!1,g.CompressionLevel=50,g.ScalingLevel=1024,g.FrameRateTimer=100,g.FirstDraw=!1,g.ScreenWidth=960,g.ScreenHeight=700,g.width=960,g.height=960,g.onScreenSizeChange=null,g.onMessage=null,g.onConnectCountChanged=null,g.onDebugMessage=null,g.onTouchEnabledChanged=null,g.onDisplayinfo=null,g.accumulator=null;var v=["default","progress","crosshair","pointer","help","text","no-drop","move","nesw-resize","ns-resize","nwse-resize","w-resize","alias","wait","none","not-allowed","col-resize","row-resize","copy","zoom-in","zoom-out"];g.Start=function(){g.State=0,g.accumulator=null},g.Stop=function(){g.setRotation(0),g.UnGrabKeyInput(),g.UnGrabMouseInput(),g.touchenabled=0,null!=g.onScreenSizeChange&&g.onScreenSizeChange(g,g.ScreenWidth,g.ScreenHeight,g.CanvasId),g.Canvas.clearRect(0,0,g.CanvasId.width,g.CanvasId.height)},g.xxStateChange=function(e){if(g.State!=e)switch(g.State=e,g.CanvasId.style.cursor="default",e){case 0:g.Stop()}},g.send=function(e){1e.length)return void(g.accumulator=e);e=e.substring(8),s=8}if(r!=e.length&&0e.length)){switch(3!=a&&4!=a&&7!=a||(n=((255&(t=e.substring(4,r)).charCodeAt(0))<<8)+(255&t.charCodeAt(1)),o=((255&t.charCodeAt(2))<<8)+(255&t.charCodeAt(3)),0>32)+g.intToStr(32&o)):(g.recordedSize+=n.length,g.shortToStr(e)+g.shortToStr(t)+g.intToStr(n.length)+g.intToStr(o>>32)+g.intToStr(32&o)+n)}return g.SendKeyMsg=function(e,t){var n;null!=e&&((t=t||window.event).code&&0==g.localKeyMap?null!=(n=function(e){return e.code.startsWith("Key")&&4==e.code.length?e.code.charCodeAt(3):e.code.startsWith("Digit")&&6==e.code.length?e.code.charCodeAt(5):e.code.startsWith("Numpad")&&7==e.code.length?e.code.charCodeAt(6)+48:o[e.code]}(t))&&g.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),g.SendKeyMsgKC(e,n)))},g.SendMessage=function(e){3==g.State&&g.send(String.fromCharCode(0,17)+g.shortToStr(4+e.length)+e)},g.SendKeyMsgKC=function(e,t){if(3==g.State)if("object"==typeof e)for(var n in e)g.SendKeyMsgKC(e[n][0],e[n][1]);else{if(1==e)-1==g.pressedKeys.indexOf(t)&&g.pressedKeys.unshift(t);else if(2==e){-1!=(n=g.pressedKeys.indexOf(t))&&g.pressedKeys.splice(n,1)}g.send(String.fromCharCode(0,g.InputType.KEY,0,6,e-1,t))}},g.sendcad=function(){g.SendCtrlAltDelMsg()},g.SendCtrlAltDelMsg=function(){3==g.State&&g.send(String.fromCharCode(0,g.InputType.CTRLALTDEL,0,4))},g.SendEscKey=function(){3==g.State&&g.send(String.fromCharCode(0,g.InputType.KEY,0,6,0,27,0,g.InputType.KEY,0,6,1,27))},g.SendStartMsg=function(){g.SendKeyMsgKC(g.KeyAction.EXDOWN,91),g.SendKeyMsgKC(g.KeyAction.EXUP,91)},g.SendCharmsMsg=function(){g.SendKeyMsgKC(g.KeyAction.EXDOWN,91),g.SendKeyMsgKC(g.KeyAction.DOWN,67),g.SendKeyMsgKC(g.KeyAction.UP,67),g.SendKeyMsgKC(g.KeyAction.EXUP,91)},g.SendTouchMsg1=function(e,t,n,o){3==g.State&&g.send(String.fromCharCode(0,g.InputType.TOUCH)+g.shortToStr(14)+String.fromCharCode(1,e)+g.intToStr(t)+g.shortToStr(n)+g.shortToStr(o))},g.SendTouchMsg2=function(e,t){var n,o="";for(var a in g.TouchArray)a==e?n=t:1==g.TouchArray[a].f?(n=65542,g.TouchArray[a].f=3,"START"+a):2==g.TouchArray[a].f?(n=262144,"STOP"+a):n=131078,o+=String.fromCharCode(a)+g.intToStr(n)+g.shortToStr(g.TouchArray[a].x)+g.shortToStr(g.TouchArray[a].y),2==g.TouchArray[a].f&&delete g.TouchArray[a];3==g.State&&g.send(String.fromCharCode(0,g.InputType.TOUCH)+g.shortToStr(5+o.length)+String.fromCharCode(2)+o),0==Object.keys(g.TouchArray).length&&null!=g.touchtimer&&(clearInterval(g.touchtimer),g.touchtimer=null)},g.SendMouseMsg=function(e,t){if(3==g.State&&null!=e&&null!=g.Canvas){if(!t)t=window.event;var n=g.Canvas.canvas.height/g.CanvasId.clientHeight,o=g.Canvas.canvas.width/g.CanvasId.clientWidth,a=g.GetPositionOfControl(g.Canvas.canvas),r=(t.pageX-a[0])*o,s=(t.pageY-a[1])*n;if(t.addx&&(r+=t.addx),t.addy&&(s+=t.addy),0<=r&&r<=g.Canvas.canvas.width&&0<=s&&s<=g.Canvas.canvas.height){var i=0,c=0;e==g.KeyAction.UP||e==g.KeyAction.DOWN?t.which?i=1==t.which?g.MouseButton.LEFT:2==t.which?g.MouseButton.MIDDLE:g.MouseButton.RIGHT:t.button&&(i=0==t.button?g.MouseButton.LEFT:1==t.button?g.MouseButton.MIDDLE:g.MouseButton.RIGHT):e==g.KeyAction.SCROLL&&(t.detail?c=120*t.detail*-1:t.wheelDelta&&(c=3*t.wheelDelta));var u="";u=e==g.KeyAction.DBLCLICK?String.fromCharCode(0,g.InputType.MOUSE,0,10,0,136,r/256&255,255&r,s/256&255,255&s):e==g.KeyAction.SCROLL?String.fromCharCode(0,g.InputType.MOUSE,0,12,0,0,r/256&255,255&r,s/256&255,255&s,c/256&255,255&c):String.fromCharCode(0,g.InputType.MOUSE,0,10,0,e==g.KeyAction.DOWN?i:2*i&255,r/256&255,255&r,s/256&255,255&s),g.Action==g.KeyAction.NONE?0==g.Alternate||g.ipad?(g.send(u),g.Alternate=1):g.Alternate=0:g.send(u)}}},g.GetDisplayNumbers=function(){g.send(String.fromCharCode(0,11,0,4))},g.SetDisplay=function(e){g.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},g.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},g.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},g.onResize=function(){0!=g.ScreenWidth&&0!=g.ScreenHeight&&(g.Canvas.canvas.width==g.ScreenWidth&&g.Canvas.canvas.height==g.ScreenHeight||(g.FirstDraw&&(g.Canvas.canvas.width=g.ScreenWidth,g.Canvas.canvas.height=g.ScreenHeight,g.Canvas.fillRect(0,0,g.ScreenWidth,g.ScreenHeight),null!=g.onScreenSizeChange&&g.onScreenSizeChange(g,g.ScreenWidth,g.ScreenHeight,g.CanvasId)),g.FirstDraw=!1))},g.xxMouseInputGrab=!1,g.xxKeyInputGrab=!1,g.xxMouseMove=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.NONE,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseUp=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseDown=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseDblClick=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.DBLCLICK,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxDOMMouseScroll=function(e){return 3!=g.State||(g.SendMouseMsg(g.KeyAction.SCROLL,e),!1)},g.xxMouseWheel=function(e){return 3!=g.State||(g.SendMouseMsg(g.KeyAction.SCROLL,e),!1)},g.xxKeyUp=function(e){return 3==g.State&&g.SendKeyMsg(g.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxKeyDown=function(e){return 3==g.State&&g.SendKeyMsg(g.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxKeyPress=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.handleKeys=function(e){return 1!=g.stopInput&&3==desktop.State&&g.xxKeyPress(e)},g.handleKeyUp=function(e){if(1==g.stopInput||3!=desktop.State)return!1;if(g.firstUpKeys.length<5&&(g.firstUpKeys.push(e.keyCode),5==g.firstUpKeys.length)){var t=g.firstUpKeys.join(",");"16,17,91,91,16"!=t&&"16,17,18,91,92"!=t||(g.stopInput=!0)}return g.xxKeyUp(e)},g.handleKeyDown=function(e){return 1!=g.stopInput&&3==desktop.State&&g.xxKeyDown(e)},g.handleReleaseKeys=function(){var e=JSON.parse(JSON.stringify(g.pressedKeys));for(var t in e)g.SendKeyMsgKC(g.KeyAction.UP,e[t])},g.mousedblclick=function(e){return 1!=g.stopInput&&g.xxMouseDblClick(e)},g.mousedown=function(e){return 1!=g.stopInput&&g.xxMouseDown(e)},g.mouseup=function(e){return 1!=g.stopInput&&g.xxMouseUp(e)},g.mousemove=function(e){return 1!=g.stopInput&&g.xxMouseMove(e)},g.mousewheel=function(e){return 1!=g.stopInput&&g.xxMouseWheel(e)},g.xxMsTouchEvent=function(e){if(4!=e.originalEvent.pointerType){if(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),"MSPointerDown"==e.type||"MSPointerMove"==e.type||"MSPointerUp"==e.type){var t=0,n=e.originalEvent.pointerId%256,o=e.offsetX*(Canvas.canvas.width/g.CanvasId.clientWidth),a=e.offsetY*(Canvas.canvas.height/g.CanvasId.clientHeight);"MSPointerDown"==e.type?t=65542:"MSPointerMove"==e.type?t=131078:"MSPointerUp"==e.type&&(t=262144),g.TouchArray[n]||(g.TouchArray[n]={x:o,y:a}),g.SendTouchMsg2(n,t),"MSPointerUp"==e.type&&delete g.TouchArray[n]}else alert(e.type);return!0}},g.xxTouchStart=function(e){if(3==g.State)if(e.preventDefault&&e.preventDefault(),0==g.touchenabled||1==g.touchenabled){if(1e.length)return void(g.accumulator=e);e=e.substring(8),s=8}if(r!=e.length&&0e.length)){switch(3!=a&&4!=a&&7!=a||(n=((255&(t=e.substring(4,r)).charCodeAt(0))<<8)+(255&t.charCodeAt(1)),o=((255&t.charCodeAt(2))<<8)+(255&t.charCodeAt(3)),0>32)+g.intToStr(32&o)):(g.recordedSize+=n.length,g.shortToStr(e)+g.shortToStr(t)+g.intToStr(n.length)+g.intToStr(o>>32)+g.intToStr(32&o)+n)}return g.SendKeyMsg=function(e,t){var n;null!=e&&((t=t||window.event).code&&0==g.localKeyMap?null!=(n=function(e){return e.code.startsWith("Key")&&4==e.code.length?e.code.charCodeAt(3):e.code.startsWith("Digit")&&6==e.code.length?e.code.charCodeAt(5):e.code.startsWith("Numpad")&&7==e.code.length?e.code.charCodeAt(6)+48:o[e.code]}(t))&&g.SendKeyMsgKC(e,n):(59==(n=t.keyCode)?n=186:173==n?n=189:61==n&&(n=187),g.SendKeyMsgKC(e,n)))},g.SendMessage=function(e){3==g.State&&g.send(String.fromCharCode(0,17)+g.shortToStr(4+e.length)+e)},g.SendKeyMsgKC=function(e,t){if(3==g.State)if("object"==typeof e)for(var n in e)g.SendKeyMsgKC(e[n][0],e[n][1]);else{if(1==e)-1==g.pressedKeys.indexOf(t)&&g.pressedKeys.unshift(t);else if(2==e){-1!=(n=g.pressedKeys.indexOf(t))&&g.pressedKeys.splice(n,1)}g.send(String.fromCharCode(0,g.InputType.KEY,0,6,e-1,t))}},g.sendcad=function(){g.SendCtrlAltDelMsg()},g.SendCtrlAltDelMsg=function(){3==g.State&&g.send(String.fromCharCode(0,g.InputType.CTRLALTDEL,0,4))},g.SendEscKey=function(){3==g.State&&g.send(String.fromCharCode(0,g.InputType.KEY,0,6,0,27,0,g.InputType.KEY,0,6,1,27))},g.SendStartMsg=function(){g.SendKeyMsgKC(g.KeyAction.EXDOWN,91),g.SendKeyMsgKC(g.KeyAction.EXUP,91)},g.SendCharmsMsg=function(){g.SendKeyMsgKC(g.KeyAction.EXDOWN,91),g.SendKeyMsgKC(g.KeyAction.DOWN,67),g.SendKeyMsgKC(g.KeyAction.UP,67),g.SendKeyMsgKC(g.KeyAction.EXUP,91)},g.SendTouchMsg1=function(e,t,n,o){3==g.State&&g.send(String.fromCharCode(0,g.InputType.TOUCH)+g.shortToStr(14)+String.fromCharCode(1,e)+g.intToStr(t)+g.shortToStr(n)+g.shortToStr(o))},g.SendTouchMsg2=function(e,t){var n,o="";for(var a in g.TouchArray)a==e?n=t:1==g.TouchArray[a].f?(n=65542,g.TouchArray[a].f=3,"START"+a):2==g.TouchArray[a].f?(n=262144,"STOP"+a):n=131078,o+=String.fromCharCode(a)+g.intToStr(n)+g.shortToStr(g.TouchArray[a].x)+g.shortToStr(g.TouchArray[a].y),2==g.TouchArray[a].f&&delete g.TouchArray[a];3==g.State&&g.send(String.fromCharCode(0,g.InputType.TOUCH)+g.shortToStr(5+o.length)+String.fromCharCode(2)+o),0==Object.keys(g.TouchArray).length&&null!=g.touchtimer&&(clearInterval(g.touchtimer),g.touchtimer=null)},g.SendMouseMsg=function(e,t){if(3==g.State&&null!=e&&null!=g.Canvas){if(!t)t=window.event;var n=g.Canvas.canvas.height/g.CanvasId.clientHeight,o=g.Canvas.canvas.width/g.CanvasId.clientWidth,a=g.GetPositionOfControl(g.Canvas.canvas),r=(t.pageX-a[0])*o,s=(t.pageY-a[1])*n;if(t.addx&&(r+=t.addx),t.addy&&(s+=t.addy),0<=r&&r<=g.Canvas.canvas.width&&0<=s&&s<=g.Canvas.canvas.height){var i=0,c=0;e==g.KeyAction.UP||e==g.KeyAction.DOWN?t.which?i=1==t.which?g.MouseButton.LEFT:2==t.which?g.MouseButton.MIDDLE:g.MouseButton.RIGHT:t.button&&(i=0==t.button?g.MouseButton.LEFT:1==t.button?g.MouseButton.MIDDLE:g.MouseButton.RIGHT):e==g.KeyAction.SCROLL&&(t.detail?c=120*t.detail*-1:t.wheelDelta&&(c=3*t.wheelDelta));var u="";u=e==g.KeyAction.DBLCLICK?String.fromCharCode(0,g.InputType.MOUSE,0,10,0,136,r/256&255,255&r,s/256&255,255&s):e==g.KeyAction.SCROLL?String.fromCharCode(0,g.InputType.MOUSE,0,12,0,0,r/256&255,255&r,s/256&255,255&s,c/256&255,255&c):String.fromCharCode(0,g.InputType.MOUSE,0,10,0,e==g.KeyAction.DOWN?i:2*i&255,r/256&255,255&r,s/256&255,255&s),g.Action==g.KeyAction.NONE?0==g.Alternate||g.ipad?(g.send(u),g.Alternate=1):g.Alternate=0:g.send(u)}}},g.GetDisplayNumbers=function(){g.send(String.fromCharCode(0,11,0,4))},g.SetDisplay=function(e){g.send(String.fromCharCode(0,12,0,6,e>>8,255&e))},g.intToStr=function(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)},g.shortToStr=function(e){return String.fromCharCode(e>>8&255,255&e)},g.onResize=function(){0!=g.ScreenWidth&&0!=g.ScreenHeight&&(g.Canvas.canvas.width==g.ScreenWidth&&g.Canvas.canvas.height==g.ScreenHeight||(g.FirstDraw&&(g.Canvas.canvas.width=g.ScreenWidth,g.Canvas.canvas.height=g.ScreenHeight,g.Canvas.fillRect(0,0,g.ScreenWidth,g.ScreenHeight),null!=g.onScreenSizeChange&&g.onScreenSizeChange(g,g.ScreenWidth,g.ScreenHeight,g.CanvasId)),g.FirstDraw=!1))},g.xxMouseInputGrab=!1,g.xxKeyInputGrab=!1,g.xxMouseMove=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.NONE,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseUp=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseDown=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxMouseDblClick=function(e){return 3==g.State&&g.SendMouseMsg(g.KeyAction.DBLCLICK,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxDOMMouseScroll=function(e){return 3!=g.State||(g.SendMouseMsg(g.KeyAction.SCROLL,e),!1)},g.xxMouseWheel=function(e){return 3!=g.State||(g.SendMouseMsg(g.KeyAction.SCROLL,e),!1)},g.xxKeyUp=function(e){return 3==g.State&&g.SendKeyMsg(g.KeyAction.UP,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxKeyDown=function(e){return 3==g.State&&g.SendKeyMsg(g.KeyAction.DOWN,e),e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.xxKeyPress=function(e){return e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),!1},g.handleKeys=function(e){return 1!=g.stopInput&&3==desktop.State&&g.xxKeyPress(e)},g.handleKeyUp=function(e){if(1==g.stopInput||3!=desktop.State)return!1;if(g.firstUpKeys.length<5&&(g.firstUpKeys.push(e.keyCode),5==g.firstUpKeys.length)){var t=g.firstUpKeys.join(",");"16,17,91,91,16"!=t&&"16,17,18,91,92"!=t||(g.stopInput=!0)}return g.xxKeyUp(e)},g.handleKeyDown=function(e){return 1!=g.stopInput&&3==desktop.State&&g.xxKeyDown(e)},g.handleReleaseKeys=function(){var e=JSON.parse(JSON.stringify(g.pressedKeys));for(var t in e)g.SendKeyMsgKC(g.KeyAction.UP,e[t])},g.mousedblclick=function(e){return 1!=g.stopInput&&g.xxMouseDblClick(e)},g.mousedown=function(e){return 1!=g.stopInput&&g.xxMouseDown(e)},g.mouseup=function(e){return 1!=g.stopInput&&g.xxMouseUp(e)},g.mousemove=function(e){return 1!=g.stopInput&&g.xxMouseMove(e)},g.mousewheel=function(e){return 1!=g.stopInput&&g.xxMouseWheel(e)},g.xxMsTouchEvent=function(e){if(4!=e.originalEvent.pointerType){if(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),"MSPointerDown"==e.type||"MSPointerMove"==e.type||"MSPointerUp"==e.type){var t=0,n=e.originalEvent.pointerId%256,o=e.offsetX*(Canvas.canvas.width/g.CanvasId.clientWidth),a=e.offsetY*(Canvas.canvas.height/g.CanvasId.clientHeight);"MSPointerDown"==e.type?t=65542:"MSPointerMove"==e.type?t=131078:"MSPointerUp"==e.type&&(t=262144),g.TouchArray[n]||(g.TouchArray[n]={x:o,y:a}),g.SendTouchMsg2(n,t),"MSPointerUp"==e.type&&delete g.TouchArray[n]}else alert(e.type);return!0}},g.xxTouchStart=function(e){if(3==g.State)if(e.preventDefault&&e.preventDefault(),0==g.touchenabled||1==g.touchenabled){if(1'+e.InstanceID+"";var s="";for(var r in e)if(e.hasOwnProperty(r)){if(s+='',e[r].ReferenceParameters){s+="",s+=""+e[r].Address+""+e[r].ReferenceParameters.ResourceURI+"";var a=e[r].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(a))for(var o=0;o"+a[o].Value+"";else s+=""+a.Value+"";s+=""}else s+=e[r];s+=""}return s+=""}return p.NextMessageId=1,p.Address="/wsman",p.comm=CreateWsmanComm(e,s,r,a,o,t),p.PerformAjax=function(e,o,s,r,a){null==a&&(a=""),p.comm.PerformAjax('
"+e,function(e,s,r){if(200==s){var a=p.ParseWsman(e);a&&null!=a?o(p,a.Header.ResourceURI,a,200,r):o(p,null,{Header:{HttpError:s}},601,r)}else o(p,null,{Header:{HttpError:s}},s,r)},s,r)},p.CancelAllQueries=function(e){p.comm.CancelAllQueries(e)},p.GetNameFromUrl=function(e){var s=e.lastIndexOf("/");return-1==s?e:e.substring(s+1)},p.ExecSubscribe=function(e,s,r,a,o,t,n,l,d,c){var m="",i="";null!=d&&null!=c&&(m="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"+d+''+c+"",i=''),l=null!=l&&null!=l?""+l+"":"";var u="http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"+w(n)+m+'
'+r+""+i+"PT0.000000S";p.PerformAjax(u+"
",a,o,t,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:se="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:m="http://x.com"')},p.ExecUnSubscribe=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"+w(o)+"";p.PerformAjax(t+"",s,r,a,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing"')},p.ExecPut=function(e,s,r,a,o,t){var n="http://schemas.xmlsoap.org/ws/2004/09/transfer/Put"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60.000S"+w(t)+""+function(e,s){if(!e||null==s)return"";var r=p.GetNameFromUrl(e),a="';for(var o in s)if(s.hasOwnProperty(o)&&0!==o.indexOf("__")&&0!==o.indexOf("@")&&void 0!==s[o]&&null!==s[o]&&"function"!=typeof s[o])if("object"==typeof s[o]&&s[o].ReferenceParameters){a+=""+s[o].Address+""+s[o].ReferenceParameters.ResourceURI+"";var t=s[o].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(t))for(var n=0;n"+t[n].Value+"";else a+=""+t.Value+"";a+=""}else if(Array.isArray(s[o]))for(n=0;n"+s[o][n].toString()+"";else a+=""+s[o].toString()+"";return a+=""}(e,s);p.PerformAjax(n+"",r,a,o)},p.ExecCreate=function(e,s,r,a,o,t){var n=p.GetNameFromUrl(e),l="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(t)+"';for(var d in s)l+=""+s[d]+"";p.PerformAjax(l+"",r,a,o)},p.ExecCreateXml=function(e,s,r,a,o){var t=p.GetNameFromUrl(e);p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Create"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60.000S'+s+"",r,a,o)},p.ExecDelete=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(s)+"";p.PerformAjax(t,r,a,o)},p.ExecGet=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Get"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S",s,r,a)},p.ExecMethod=function(e,s,r,a,o,t,n){var l="";for(var d in r)if(null!=r[d])if(Array.isArray(r[d]))for(var c in r[d])l+=""+r[d][c]+"";else l+=""+r[d]+"";p.ExecMethodXml(e,s,l,a,o,t,n)},p.ExecMethodXml=function(e,s,r,a,o,t,n){p.PerformAjax(e+"/"+s+""+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(n)+"'+r+"",a,o,t)},p.ExecEnum=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate"+p.Address+""+e+""+p.NextMessageId+++'http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S',s,r,a)},p.ExecPull=function(e,s,r,a,o){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull"+p.Address+""+e+""+p.NextMessageId+++'http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S'+s+"99999999",r,a,o)},p.ParseWsman=function(s){try{s.childNodes||(s=function(e){{if(window.DOMParser)return(new DOMParser).parseFromString(e,"text/xml");var s=new ActiveXObject("Microsoft.XMLDOM");return s.async=!1,s.loadXML(e),s}}(s));var e,r={Header:{}},a=s.getElementsByTagName("Header")[0];if(!(a=a||s.getElementsByTagName("a:Header")[0]))return null;for(var o=0;o'+e.InstanceID+"";var s="";for(var r in e)if(e.hasOwnProperty(r)){if(s+='',e[r].ReferenceParameters){s+="",s+=""+e[r].Address+""+e[r].ReferenceParameters.ResourceURI+"";var a=e[r].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(a))for(var o=0;o"+a[o].Value+"";else s+=""+a.Value+"";s+=""}else s+=e[r];s+=""}return s+=""}return p.NextMessageId=1,p.Address="/wsman",p.comm=CreateWsmanComm(e,s,r,a,o,t),p.PerformAjax=function(e,o,s,r,a){null==a&&(a=""),p.comm.PerformAjax('
"+e,function(e,s,r){if(200==s){var a=p.ParseWsman(e);a&&null!=a?o(p,a.Header.ResourceURI,a,200,r):o(p,null,{Header:{HttpError:s}},601,r)}else o(p,null,{Header:{HttpError:s}},s,r)},s,r)},p.CancelAllQueries=function(e){p.comm.CancelAllQueries(e)},p.GetNameFromUrl=function(e){var s=e.lastIndexOf("/");return-1==s?e:e.substring(s+1)},p.ExecSubscribe=function(e,s,r,a,o,t,n,l,c,d){var m="",i="";null!=c&&null!=d&&(m="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#UsernameToken"+c+''+d+"",i=''),l=null!=l&&null!=l?""+l+"":"";var u="http://schemas.xmlsoap.org/ws/2004/08/eventing/Subscribe"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"+w(n)+m+'
'+r+""+i+"PT0.000000S";p.PerformAjax(u+"
",a,o,t,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing" xmlns:t="http://schemas.xmlsoap.org/ws/2005/02/trust" xmlns:se="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:m="http://x.com"')},p.ExecUnSubscribe=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/08/eventing/Unsubscribe"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous"+w(o)+"";p.PerformAjax(t+"",s,r,a,'xmlns:e="http://schemas.xmlsoap.org/ws/2004/08/eventing"')},p.ExecPut=function(e,s,r,a,o,t){var n="http://schemas.xmlsoap.org/ws/2004/09/transfer/Put"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60.000S"+w(t)+""+function(e,s){if(!e||null==s)return"";var r=p.GetNameFromUrl(e),a="';for(var o in s)if(s.hasOwnProperty(o)&&0!==o.indexOf("__")&&0!==o.indexOf("@")&&void 0!==s[o]&&null!==s[o]&&"function"!=typeof s[o])if("object"==typeof s[o]&&s[o].ReferenceParameters){a+=""+s[o].Address+""+s[o].ReferenceParameters.ResourceURI+"";var t=s[o].ReferenceParameters.SelectorSet.Selector;if(Array.isArray(t))for(var n=0;n"+t[n].Value+"";else a+=""+t.Value+"";a+=""}else if(Array.isArray(s[o]))for(n=0;n"+s[o][n].toString()+"";else a+=""+s[o].toString()+"";return a+=""}(e,s);p.PerformAjax(n+"",r,a,o)},p.ExecCreate=function(e,s,r,a,o,t){var n=p.GetNameFromUrl(e),l="http://schemas.xmlsoap.org/ws/2004/09/transfer/Create"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(t)+"';for(var c in s)l+=""+s[c]+"";p.PerformAjax(l+"",r,a,o)},p.ExecCreateXml=function(e,s,r,a,o){var t=p.GetNameFromUrl(e);p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Create"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60.000S'+s+"",r,a,o)},p.ExecDelete=function(e,s,r,a,o){var t="http://schemas.xmlsoap.org/ws/2004/09/transfer/Delete"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(s)+"";p.PerformAjax(t,r,a,o)},p.ExecGet=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/transfer/Get"+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S",s,r,a)},p.ExecMethod=function(e,s,r,a,o,t,n){var l="";for(var c in r)if(null!=r[c])if(Array.isArray(r[c]))for(var d in r[c])l+=""+r[c][d]+"";else l+=""+r[c]+"";p.ExecMethodXml(e,s,l,a,o,t,n)},p.ExecMethodXml=function(e,s,r,a,o,t,n){p.PerformAjax(e+"/"+s+""+p.Address+""+e+""+p.NextMessageId+++"http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S"+w(n)+"'+r+"",a,o,t)},p.ExecEnum=function(e,s,r,a){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Enumerate"+p.Address+""+e+""+p.NextMessageId+++'http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S',s,r,a)},p.ExecPull=function(e,s,r,a,o){p.PerformAjax("http://schemas.xmlsoap.org/ws/2004/09/enumeration/Pull"+p.Address+""+e+""+p.NextMessageId+++'http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymousPT60S'+s+"99999999",r,a,o)},p.ParseWsman=function(s){try{s.childNodes||(s=function(e){{if(window.DOMParser)return(new DOMParser).parseFromString(e,"text/xml");var s=new ActiveXObject("Microsoft.XMLDOM");return s.async=!1,s.loadXML(e),s}}(s));var e,r={Header:{}},a=s.getElementsByTagName("Header")[0];if(!(a=a||s.getElementsByTagName("a:Header")[0]))return null;for(var o=0;o9->335", + "default-mobile.handlebars->9->336", "default.handlebars->25->1306" ] }, @@ -478,7 +478,7 @@ "zh-chs": ",WebRTC", "xloc": [ "default-mobile.handlebars->9->238", - "default-mobile.handlebars->9->246", + "default-mobile.handlebars->9->247", "default.handlebars->25->689", "default.handlebars->25->720", "default.handlebars->25->732", @@ -611,7 +611,7 @@ "ru": "...", "zh-chs": "...", "xloc": [ - "default-mobile.handlebars->9->248", + "default-mobile.handlebars->9->249", "default-mobile.handlebars->9->77", "default.handlebars->25->1347", "default.handlebars->25->1687", @@ -680,7 +680,7 @@ "ru": "1 байт", "zh-chs": "1個字節", "xloc": [ - "default-mobile.handlebars->9->339", + "default-mobile.handlebars->9->340", "default-mobile.handlebars->9->87", "default.handlebars->25->1366" ] @@ -1148,7 +1148,7 @@ "pt": "3", "ru": "3", "xloc": [ - "default-mobile.handlebars->9->274" + "default-mobile.handlebars->9->275" ] }, { @@ -2471,7 +2471,7 @@ "ru": "Добавить пользователя", "zh-chs": "添加用戶", "xloc": [ - "default-mobile.handlebars->9->285", + "default-mobile.handlebars->9->286", "default.handlebars->25->557" ] }, @@ -2536,7 +2536,7 @@ "nl": "Gebruiker toevoegen aan apparaatgroep", "zh-chs": "将用户添加到设备组", "xloc": [ - "default-mobile.handlebars->9->314" + "default-mobile.handlebars->9->315" ] }, { @@ -2952,7 +2952,7 @@ "ru": "Консоль агента", "zh-chs": "代理控制台", "xloc": [ - "default-mobile.handlebars->9->320", + "default-mobile.handlebars->9->321", "default.handlebars->25->1289" ] }, @@ -3196,8 +3196,8 @@ "ru": "Все", "zh-chs": "所有", "xloc": [ - "default-mobile.handlebars->9->249", - "default-mobile.handlebars->9->251", + "default-mobile.handlebars->9->250", + "default-mobile.handlebars->9->252", "default-mobile.handlebars->9->86" ] }, @@ -3213,10 +3213,7 @@ "nl": "Alle schermen", "pt": "Todas as telas", "ru": "Все экраны", - "zh-chs": "所有顯示", - "xloc": [ - "default-mobile.handlebars->9->241" - ] + "zh-chs": "所有顯示" }, { "cs": "Zaměřit vše", @@ -3915,7 +3912,7 @@ "ru": "Вы действительно хотите удалить группу \\\"{0}\\\"? Удаление группы приведет к удалению всей информации связанной с устройствами в этой группе.", "zh-chs": "您確定要刪除組{0}嗎?刪除設備組還將刪除該組中有關設備的所有信息。", "xloc": [ - "default-mobile.handlebars->9->291", + "default-mobile.handlebars->9->292", "default.handlebars->25->1216" ] }, @@ -5215,8 +5212,8 @@ "ru": "Чаты и уведомления", "zh-chs": "聊天並通知", "xloc": [ - "default-mobile.handlebars->9->312", - "default-mobile.handlebars->9->330", + "default-mobile.handlebars->9->313", + "default-mobile.handlebars->9->331", "default.handlebars->25->1266", "default.handlebars->25->1300" ] @@ -5489,10 +5486,10 @@ "zh-chs": "明確", "xloc": [ "default-mobile.handlebars->9->101", - "default-mobile.handlebars->9->267", - "default-mobile.handlebars->9->269", - "default-mobile.handlebars->9->271", - "default-mobile.handlebars->9->273", + "default-mobile.handlebars->9->268", + "default-mobile.handlebars->9->270", + "default-mobile.handlebars->9->272", + "default-mobile.handlebars->9->274", "default-mobile.handlebars->9->28", "default.handlebars->25->1381", "default.handlebars->25->753", @@ -5887,7 +5884,7 @@ "zh-chs": "確認", "xloc": [ "default-mobile.handlebars->9->230", - "default-mobile.handlebars->9->292", + "default-mobile.handlebars->9->293", "default.handlebars->25->1217", "default.handlebars->25->1430", "default.handlebars->25->1495", @@ -5912,7 +5909,7 @@ "ru": "Подтвердить копирование 1 записи в это расположение?", "zh-chs": "確認將1個副本複製到此位置?", "xloc": [ - "default-mobile.handlebars->9->262", + "default-mobile.handlebars->9->263", "default.handlebars->25->748" ] }, @@ -5930,7 +5927,7 @@ "ru": "Подтвердить копирование {0} записей в это расположение?", "zh-chs": "確認{0}個條目的副本到此位置?", "xloc": [ - "default-mobile.handlebars->9->261", + "default-mobile.handlebars->9->262", "default.handlebars->25->747" ] }, @@ -6038,7 +6035,7 @@ "ru": "Подтвердить перемещение 1 записи в это расположение?", "zh-chs": "確認將1個入口移動到此位置?", "xloc": [ - "default-mobile.handlebars->9->264", + "default-mobile.handlebars->9->265", "default.handlebars->25->750" ] }, @@ -6056,7 +6053,7 @@ "ru": "Подтвердить перемещение {0} записей в это расположение?", "zh-chs": "確認將{0}個條目移到此位置?", "xloc": [ - "default-mobile.handlebars->9->263", + "default-mobile.handlebars->9->264", "default.handlebars->25->749" ] }, @@ -6262,7 +6259,7 @@ "ru": "Подтвердить удаление пользователя {0}?", "zh-chs": "確認刪除用戶{0}?", "xloc": [ - "default-mobile.handlebars->9->338" + "default-mobile.handlebars->9->339" ] }, { @@ -6279,7 +6276,7 @@ "ru": "Подключиться", "zh-chs": "連接", "xloc": [ - "default-mobile.handlebars->9->244", + "default-mobile.handlebars->9->245", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->0->1->3", "default.handlebars->25->1156", @@ -6463,7 +6460,7 @@ "zh-chs": "正在連線...", "xloc": [ "default-mobile.handlebars->9->2", - "default-mobile.handlebars->9->277", + "default-mobile.handlebars->9->278", "default-mobile.handlebars->9->6", "default.handlebars->25->204", "default.handlebars->25->207", @@ -7422,7 +7419,7 @@ "ru": "Удалить", "zh-chs": "刪除", "xloc": [ - "default-mobile.handlebars->9->254", + "default-mobile.handlebars->9->255", "default-mobile.handlebars->9->91", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1", @@ -7501,8 +7498,8 @@ "ru": "Удалить группу", "zh-chs": "刪除群組", "xloc": [ - "default-mobile.handlebars->9->290", - "default-mobile.handlebars->9->293", + "default-mobile.handlebars->9->291", + "default-mobile.handlebars->9->294", "default.handlebars->25->1188", "default.handlebars->25->1218" ] @@ -7689,7 +7686,7 @@ "ru": "Удалить выбранные элементы?", "zh-chs": "刪除所選項目?", "xloc": [ - "default-mobile.handlebars->9->256", + "default-mobile.handlebars->9->257", "default-mobile.handlebars->9->93", "default.handlebars->25->1372", "default.handlebars->25->742" @@ -7726,7 +7723,7 @@ "ru": "Удалить {0} выбранных элементов?", "zh-chs": "刪除{0}個所選項目?", "xloc": [ - "default-mobile.handlebars->9->255", + "default-mobile.handlebars->9->256", "default-mobile.handlebars->9->92", "default.handlebars->25->1371", "default.handlebars->25->741" @@ -7839,8 +7836,8 @@ "default-mobile.handlebars->9->151", "default-mobile.handlebars->9->152", "default-mobile.handlebars->9->234", - "default-mobile.handlebars->9->282", - "default-mobile.handlebars->9->295", + "default-mobile.handlebars->9->283", + "default-mobile.handlebars->9->296", "default-mobile.handlebars->9->70", "default.handlebars->25->1111", "default.handlebars->25->1137", @@ -8126,7 +8123,7 @@ "ru": "Пользователь группы устройств", "zh-chs": "設備組用戶", "xloc": [ - "default-mobile.handlebars->9->336", + "default-mobile.handlebars->9->337", "default.handlebars->25->1307" ] }, @@ -8620,7 +8617,7 @@ "ru": "Разъединить", "zh-chs": "斷開", "xloc": [ - "default-mobile.handlebars->9->245", + "default-mobile.handlebars->9->246", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea1->1->3", "default.handlebars->25->1157", "default.handlebars->25->731", @@ -8881,7 +8878,7 @@ "ru": "Скачать файл", "zh-chs": "下載文件", "xloc": [ - "default-mobile.handlebars->9->275", + "default-mobile.handlebars->9->276", "default.handlebars->25->760" ] }, @@ -9529,9 +9526,9 @@ "ru": "Редактировать группу устройств", "zh-chs": "編輯設備組", "xloc": [ - "default-mobile.handlebars->9->296", - "default-mobile.handlebars->9->298", - "default-mobile.handlebars->9->316", + "default-mobile.handlebars->9->297", + "default-mobile.handlebars->9->299", + "default-mobile.handlebars->9->317", "default.handlebars->25->1221", "default.handlebars->25->1251", "default.handlebars->25->1273", @@ -9604,7 +9601,7 @@ "ru": "Редактировать примечания устройства", "zh-chs": "編輯設備說明", "xloc": [ - "default-mobile.handlebars->9->310", + "default-mobile.handlebars->9->311", "default.handlebars->25->1264" ] }, @@ -9689,7 +9686,7 @@ "ru": "Редактировать примечания", "zh-chs": "編輯筆記", "xloc": [ - "default-mobile.handlebars->9->323", + "default-mobile.handlebars->9->324", "default.handlebars->25->1292" ] }, @@ -10861,7 +10858,7 @@ "ru": "Редактор файлов", "zh-chs": "文件編輯器", "xloc": [ - "default-mobile.handlebars->9->259", + "default-mobile.handlebars->9->260", "default.handlebars->25->424", "default.handlebars->25->745" ] @@ -11407,9 +11404,9 @@ "ru": "Администратор с полным доступом", "zh-chs": "正式管理員", "xloc": [ - "default-mobile.handlebars->9->288", - "default-mobile.handlebars->9->297", - "default-mobile.handlebars->9->315", + "default-mobile.handlebars->9->289", + "default-mobile.handlebars->9->298", + "default-mobile.handlebars->9->316", "default-mobile.handlebars->9->74", "default.handlebars->25->1120", "default.handlebars->25->1250", @@ -12325,7 +12322,7 @@ "ru": "Задержана 1 запись для копирования", "zh-chs": "持有1份副本", "xloc": [ - "default-mobile.handlebars->9->268", + "default-mobile.handlebars->9->269", "default.handlebars->25->754" ] }, @@ -12343,7 +12340,7 @@ "ru": "Задержана 1 запись для перемещения", "zh-chs": "持有1個搬家公司", "xloc": [ - "default-mobile.handlebars->9->272", + "default-mobile.handlebars->9->273", "default.handlebars->25->758" ] }, @@ -12361,7 +12358,7 @@ "ru": "Задержано {0} записей для копирования", "zh-chs": "保留{0}個條目進行複制", "xloc": [ - "default-mobile.handlebars->9->266", + "default-mobile.handlebars->9->267", "default.handlebars->25->752" ] }, @@ -12379,7 +12376,7 @@ "ru": "Задержано {0} записей для перемещения", "zh-chs": "保留{0}個條目以進行移動", "xloc": [ - "default-mobile.handlebars->9->270", + "default-mobile.handlebars->9->271", "default.handlebars->25->756" ] }, @@ -12799,7 +12796,7 @@ "ru": "Ввод", "zh-chs": "輸入值", "xloc": [ - "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3->11->DeskControlSpan", + "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3->13->DeskControlSpan", "default.handlebars->container->column_l->p11->deskarea0->deskarea4->3->9->DeskControlSpan" ] }, @@ -13398,7 +13395,7 @@ "ru": "Только Intel® AMT, без агента", "zh-chs": "僅限英特爾®AMT,無代理", "xloc": [ - "default-mobile.handlebars->9->279", + "default-mobile.handlebars->9->280", "default.handlebars->25->1110", "default.handlebars->25->1134" ] @@ -14192,6 +14189,12 @@ "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3" ] }, + { + "en": "Keys", + "xloc": [ + "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3" + ] + }, { "cs": "khmerština", "de": "Khmer", @@ -14893,7 +14896,7 @@ "ru": "Ограниченный ввод", "zh-chs": "有限輸入", "xloc": [ - "default-mobile.handlebars->9->328", + "default-mobile.handlebars->9->329", "default.handlebars->25->1298", "default.handlebars->25->570", "default.handlebars->25->589" @@ -14913,7 +14916,7 @@ "ru": "Ограничить элементы ввода", "zh-chs": "僅限於輸入", "xloc": [ - "default-mobile.handlebars->9->303", + "default-mobile.handlebars->9->304", "default.handlebars->25->1256" ] }, @@ -16024,8 +16027,8 @@ "ru": "Управление компьютерами группы устройств", "zh-chs": "管理設備組計算機", "xloc": [ - "default-mobile.handlebars->9->300", - "default-mobile.handlebars->9->318", + "default-mobile.handlebars->9->301", + "default-mobile.handlebars->9->319", "default.handlebars->25->1253", "default.handlebars->25->1287" ] @@ -16044,8 +16047,8 @@ "ru": "Управление пользователями группы устройств", "zh-chs": "管理設備組用戶", "xloc": [ - "default-mobile.handlebars->9->299", - "default-mobile.handlebars->9->317", + "default-mobile.handlebars->9->300", + "default-mobile.handlebars->9->318", "default.handlebars->25->1252", "default.handlebars->25->1286" ] @@ -16243,7 +16246,7 @@ "ru": "Управляется с помощью программного агента", "zh-chs": "使用軟件代理進行管理", "xloc": [ - "default-mobile.handlebars->9->280", + "default-mobile.handlebars->9->281", "default.handlebars->25->1135" ] }, @@ -16480,7 +16483,7 @@ "ru": "Консоль Mesh Agent", "zh-chs": "網格代理控制台", "xloc": [ - "default-mobile.handlebars->9->307", + "default-mobile.handlebars->9->308", "default.handlebars->25->1261" ] }, @@ -17439,8 +17442,8 @@ "zh-chs": "名稱", "xloc": [ "default-mobile.handlebars->9->145", - "default-mobile.handlebars->9->281", - "default-mobile.handlebars->9->294", + "default-mobile.handlebars->9->282", + "default-mobile.handlebars->9->295", "default-mobile.handlebars->9->66", "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea3->deskarea3x->DeskTools->5->1->1", "default.handlebars->25->1107", @@ -17664,7 +17667,7 @@ "ru": "Новая папка", "zh-chs": "新建文件夾", "xloc": [ - "default-mobile.handlebars->9->252", + "default-mobile.handlebars->9->253", "default-mobile.handlebars->9->89", "default.handlebars->25->1368", "default.handlebars->25->738", @@ -17864,7 +17867,7 @@ "ru": "Нет доступа к файлам", "zh-chs": "沒有文件訪問", "xloc": [ - "default-mobile.handlebars->9->305", + "default-mobile.handlebars->9->306", "default.handlebars->25->1259" ] }, @@ -17882,7 +17885,7 @@ "ru": "Файлов нет", "zh-chs": "沒有文件", "xloc": [ - "default-mobile.handlebars->9->326", + "default-mobile.handlebars->9->327", "default.handlebars->25->1296", "default.handlebars->25->568", "default.handlebars->25->587" @@ -17919,8 +17922,8 @@ "ru": "Нет Intel® AMT", "zh-chs": "沒有英特爾®AMT", "xloc": [ - "default-mobile.handlebars->9->306", - "default-mobile.handlebars->9->327", + "default-mobile.handlebars->9->307", + "default-mobile.handlebars->9->328", "default.handlebars->25->1260", "default.handlebars->25->1297" ] @@ -18043,8 +18046,8 @@ "ru": "Нет прав", "zh-chs": "沒有權利", "xloc": [ - "default-mobile.handlebars->9->289", - "default-mobile.handlebars->9->332", + "default-mobile.handlebars->9->290", + "default-mobile.handlebars->9->333", "default-mobile.handlebars->9->75", "default.handlebars->25->1121", "default.handlebars->25->1302", @@ -18085,7 +18088,7 @@ "ru": "Нет терминала", "zh-chs": "沒有終端", "xloc": [ - "default-mobile.handlebars->9->325", + "default-mobile.handlebars->9->326", "default.handlebars->25->1295", "default.handlebars->25->567", "default.handlebars->25->586" @@ -18105,7 +18108,7 @@ "ru": "Нет доступа к терминалу", "zh-chs": "沒有終端訪問", "xloc": [ - "default-mobile.handlebars->9->304", + "default-mobile.handlebars->9->305", "default.handlebars->25->1258" ] }, @@ -18534,8 +18537,8 @@ "default-mobile.handlebars->9->148", "default-mobile.handlebars->9->150", "default-mobile.handlebars->9->206", - "default-mobile.handlebars->9->250", - "default-mobile.handlebars->9->283", + "default-mobile.handlebars->9->251", + "default-mobile.handlebars->9->284", "default-mobile.handlebars->9->85", "default.handlebars->25->1131", "default.handlebars->25->1138", @@ -19075,7 +19078,7 @@ "ru": "Редактировать файлы можно только размером менее 200КБ.", "zh-chs": "只能編輯小於200k的文件。", "xloc": [ - "default-mobile.handlebars->9->260", + "default-mobile.handlebars->9->261", "default.handlebars->25->425", "default.handlebars->25->746" ] @@ -19443,7 +19446,7 @@ "ru": "Частичные права", "zh-chs": "部分權利", "xloc": [ - "default-mobile.handlebars->9->287", + "default-mobile.handlebars->9->288", "default-mobile.handlebars->9->73", "default.handlebars->25->1119" ] @@ -19730,7 +19733,7 @@ "ru": "Вставить", "zh-chs": "糊", "xloc": [ - "default-mobile.handlebars->9->265", + "default-mobile.handlebars->9->266", "default-mobile.handlebars->9->97", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->3", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->3", @@ -19897,7 +19900,7 @@ "ru": "Права", "zh-chs": "權限", "xloc": [ - "default-mobile.handlebars->9->334", + "default-mobile.handlebars->9->335", "default.handlebars->25->1305", "default.handlebars->25->1398" ] @@ -20462,7 +20465,7 @@ "ru": "Управление процессами", "zh-chs": "過程控制", "xloc": [ - "default-mobile.handlebars->9->242", + "default-mobile.handlebars->9->243", "default.handlebars->25->716" ] }, @@ -20943,7 +20946,7 @@ "ru": "Рекурсивное удаление", "zh-chs": "遞歸刪除", "xloc": [ - "default-mobile.handlebars->9->253", + "default-mobile.handlebars->9->254", "default-mobile.handlebars->9->90", "default.handlebars->25->1369", "default.handlebars->25->739" @@ -21205,8 +21208,8 @@ "ru": "Удаленное управление", "zh-chs": "遙控", "xloc": [ - "default-mobile.handlebars->9->301", - "default-mobile.handlebars->9->319", + "default-mobile.handlebars->9->302", + "default-mobile.handlebars->9->320", "default.handlebars->25->1254", "default.handlebars->25->1288" ] @@ -21261,7 +21264,7 @@ "ru": "Удаленный пользователь Mesh", "zh-chs": "遠程網狀用戶", "xloc": [ - "default-mobile.handlebars->9->337" + "default-mobile.handlebars->9->338" ] }, { @@ -21292,8 +21295,8 @@ "ru": "Только просмотр экрана без ввода", "zh-chs": "僅遠程查看", "xloc": [ - "default-mobile.handlebars->9->302", - "default-mobile.handlebars->9->324", + "default-mobile.handlebars->9->303", + "default-mobile.handlebars->9->325", "default.handlebars->25->1255", "default.handlebars->25->1293" ] @@ -21678,7 +21681,7 @@ "ru": "Переименовать", "zh-chs": "改名", "xloc": [ - "default-mobile.handlebars->9->257", + "default-mobile.handlebars->9->258", "default-mobile.handlebars->9->94", "default-mobile.handlebars->container->page_content->column_l->p10->p10files->p13toolbar->1->2->1->1", "default-mobile.handlebars->container->page_content->column_l->p5->p5myfiles->p5toolbar->1->0->1->1", @@ -22033,7 +22036,7 @@ "ru": "Root/Корень", "zh-chs": "根", "xloc": [ - "default-mobile.handlebars->9->247", + "default-mobile.handlebars->9->248", "default-mobile.handlebars->9->76", "default.handlebars->25->1346", "default.handlebars->25->733" @@ -22481,6 +22484,24 @@ "default.handlebars->25->250" ] }, + { + "en": "Screen", + "xloc": [ + "default-mobile.handlebars->9->241" + ] + }, + { + "en": "Screen Selection", + "xloc": [ + "default-mobile.handlebars->9->242" + ] + }, + { + "en": "Screens", + "xloc": [ + "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3" + ] + }, { "cs": "Hledat", "de": "Suche", @@ -22808,7 +22829,7 @@ "ru": "Только собственные события", "zh-chs": "僅自我事件", "xloc": [ - "default-mobile.handlebars->9->329", + "default-mobile.handlebars->9->330", "default.handlebars->25->1299" ] }, @@ -23141,8 +23162,8 @@ "ru": "Серверные файлы", "zh-chs": "服務器文件", "xloc": [ - "default-mobile.handlebars->9->308", - "default-mobile.handlebars->9->321", + "default-mobile.handlebars->9->309", + "default-mobile.handlebars->9->322", "default.handlebars->25->1262", "default.handlebars->25->1290", "default.handlebars->25->1470", @@ -23740,7 +23761,7 @@ "ru": "Показывать только собственные события", "zh-chs": "只顯示自己的事件", "xloc": [ - "default-mobile.handlebars->9->311", + "default-mobile.handlebars->9->312", "default.handlebars->25->1265" ] }, @@ -24688,8 +24709,7 @@ "ru": "Специальные клавиши", "zh-chs": "特殊鍵", "xloc": [ - "default-mobile.handlebars->9->240", - "default-mobile.handlebars->container->page_content->column_l->p10->p10desktop->deskarea4->1->3" + "default-mobile.handlebars->9->240" ] }, { @@ -24833,7 +24853,7 @@ "ru": "Прервать процесс #{0} \\\"{1}\\\"?", "zh-chs": "停止進程#{0} \\“ {1} \\”?", "xloc": [ - "default-mobile.handlebars->9->243", + "default-mobile.handlebars->9->244", "default.handlebars->25->717" ] }, @@ -26439,7 +26459,7 @@ "ru": "Удаленный ввод", "zh-chs": "類型", "xloc": [ - "default-mobile.handlebars->9->284", + "default-mobile.handlebars->9->285", "default-mobile.handlebars->9->67", "default.handlebars->25->1108", "default.handlebars->25->1139", @@ -26692,7 +26712,7 @@ "ru": "Удаление", "zh-chs": "卸載", "xloc": [ - "default-mobile.handlebars->9->331", + "default-mobile.handlebars->9->332", "default.handlebars->25->1301", "default.handlebars->25->579", "default.handlebars->25->598" @@ -26712,7 +26732,7 @@ "ru": "Удаление агента", "zh-chs": "卸載代理", "xloc": [ - "default-mobile.handlebars->9->313", + "default-mobile.handlebars->9->314", "default.handlebars->25->1267", "default.handlebars->25->383", "default.handlebars->25->612" @@ -26783,7 +26803,7 @@ "ru": "Неизвестно #{0}", "zh-chs": "未知#{0}", "xloc": [ - "default-mobile.handlebars->9->278", + "default-mobile.handlebars->9->279", "default.handlebars->25->1133" ] }, @@ -27016,8 +27036,8 @@ "ru": "Загрузить файл", "zh-chs": "上傳文件", "xloc": [ - "default-mobile.handlebars->9->258", - "default-mobile.handlebars->9->276", + "default-mobile.handlebars->9->259", + "default-mobile.handlebars->9->277", "default-mobile.handlebars->9->95", "default.handlebars->25->1374", "default.handlebars->25->1382", @@ -27246,7 +27266,7 @@ "ru": "Пользователь", "zh-chs": "用戶", "xloc": [ - "default-mobile.handlebars->9->333", + "default-mobile.handlebars->9->334", "default.handlebars->25->1187", "default.handlebars->25->1410", "default.handlebars->25->1516", @@ -27323,7 +27343,7 @@ "ru": "Полномочия пользователя", "zh-chs": "用戶授權", "xloc": [ - "default-mobile.handlebars->9->286", + "default-mobile.handlebars->9->287", "default.handlebars->25->1185", "default.handlebars->25->559" ] @@ -28133,8 +28153,8 @@ "ru": "Разбудить устройства", "zh-chs": "喚醒設備", "xloc": [ - "default-mobile.handlebars->9->309", - "default-mobile.handlebars->9->322", + "default-mobile.handlebars->9->310", + "default-mobile.handlebars->9->323", "default.handlebars->25->1263", "default.handlebars->25->1291" ] diff --git a/views/default-mobile.handlebars b/views/default-mobile.handlebars index a1075855..3d6d3594 100644 --- a/views/default-mobile.handlebars +++ b/views/default-mobile.handlebars @@ -415,7 +415,6 @@
-    
@@ -423,8 +422,9 @@ - - + + +
@@ -2482,7 +2482,7 @@ // Disconnect and clean up the remote desktop desktop.Stop(); desktopNode = desktop = null; - QV('termdisplays', false); + QV('DeskScreens', false); if (fullscreen == true) { deskToggleFull(); } break; case 2: @@ -2711,7 +2711,6 @@ if (Q('DeskTools').nodeid != message.nodeid) return; var p = [], processes = null; try { processes = JSON.parse(message.value); } catch (e) { } - console.log(processes); if (processes != null) { for (var pid in processes) { p.push({ p: parseInt(pid), c: processes[pid].cmd, d: processes[pid].cmd.toLowerCase(), u: processes[pid].user }); } if (deskTools.sort == 0) { p.sort(sortProcessPid); } else if (deskTools.sort == 1) { p.sort(sortProcessName); } @@ -2726,22 +2725,26 @@ setSessionActivity(); if (xxdialogMode || desktop == null || desktop.State != 3) return; var d = new Date(), n = 'Desktop-' + currentNode.name + '-' + d.getFullYear() + '-' + ('0' + (d.getMonth() + 1)).slice(-2) + '-' + ('0' + d.getDate()).slice(-2) + '-' + ('0' + d.getHours()).slice(-2) + '-' + ('0' + d.getMinutes()).slice(-2); - Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.jpg'); }); + Q('Desk')['toBlob'](function (blob) { saveAs(blob, n + '.png'); }); + } + + function deskSelectScreens() { + if (xxdialogMode || desktop == null || desktop.State != 3) return; + var x = '', info = desktop.m.displays; + for (var i in info) { x += ''; } + x = addHtmlValue4("Screen", ''); + setDialogMode(2, "Screen Selection", 3, deskSelectScreensEx, x); + } + + function deskSelectScreensEx() { + if (desktop == null || desktop.State != 3) return; + desktop.m.SetDisplay(parseInt(Q('deskdisplays').value)); } function deskDisplayInfo(sender, info, selDisplay, selItem) { - var txt = Q('termdisplays').value; - if (info.length > 0) { var options = ''; for (var x in info) { options += '' + info[x] + ''; } QH('termdisplays', options); } - QV('termdisplays', info.length > 0); - } - - function deskGetDisplayNumbers(e) { desktop.m.GetDisplayNumbers(); } - - function deskSetDisplay(e) { - setSessionActivity(); - var display = 0, txt = Q('termdisplays').value; - if (txt == "All Displays") display = 65535; else display = parseInt(txt.substring(8)); - desktop.m.SetDisplay(display); + var displayCount = 0; + for (var x in info) { displayCount++; } + QV('DeskScreens', displayCount > 1); } function dmousedown(e) { setSessionActivity(); if ((!xxdialogMode && desktop != null)) desktop.m.mousedown(e) } @@ -3652,6 +3655,7 @@ function getNodeFromId(id) { for (var i in nodes) { if (nodes[i]._id == id) return nodes[i]; } return null; } function addHtmlValue(t, v) { return '
' + t + '' + v + '
'; } function addHtmlValue2(t, v) { return '
' + v + '
' + t + '
'; } + function addHtmlValue4(t, v) { return '
' + t + '' + v + '
'; } function addLink(x, f) { return '♦ ' + x + ''; } function addLinkConditional(x, f, c) { if (c) return addLink(x, f); return x; } function passwordcheck(p) { var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%^&*()]).{8,}/; return re.test(p); }