chunk-1af754fa.55a34e0c.js 8.9 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1af754fa"],{"0570":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app-base-software-open"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-list",{attrs:{bordered:"","data-source":e.data},scopedSlots:e._u([{key:"renderItem",fn:function(t){return n("a-list-item",{on:{click:function(n){return e.openSoft(t.id)}}},[e._v(" "+e._s(t.content)+" "),n("a-button",{attrs:{type:"link"}},[e._v(" 执行 ")])],1)}}])})],1)])},o=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"one-block-1"},[n("span",[e._v(" 1. 调用其它软件(exe、bash等可执行程序) ")]),n("p"),n("span",{staticClass:"sub-content"},[e._v(" 注:请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 ")])])}],l=n("a358"),a=[{content:"powershell.exe",id:"powershell.exe"}],c={data:function(){return{data:a}},methods:{openSoft:function(e){var t=this;this.$ipcInvoke(l["a"].openSoftware,e).then((function(e){e||t.$message.error("程序不存在")}))}}},i=c,s=(n("6907"),n("2877")),u=Object(s["a"])(i,r,o,!1,null,"4de0eec0",null);t["default"]=u.exports},"107c":function(e,t,n){var r=n("d039");e.exports=r((function(){var e=RegExp("(?<a>b)","string".charAt(5));return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1276:function(e,t,n){"use strict";var r=n("d784"),o=n("44e7"),l=n("825a"),a=n("1d80"),c=n("4840"),i=n("8aa5"),s=n("50c4"),u=n("14c3"),p=n("9263"),d=n("9f7f"),f=n("d039"),x=d.UNSUPPORTED_Y,g=[].push,v=Math.min,h=4294967295,m=!f((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));r("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=String(a(this)),l=void 0===n?h:n>>>0;if(0===l)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,l);var c,i,s,u=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),f=0,x=new RegExp(e.source,d+"g");while(c=p.call(x,r)){if(i=x.lastIndex,i>f&&(u.push(r.slice(f,c.index)),c.length>1&&c.index<r.length&&g.apply(u,c.slice(1)),s=c[0].length,f=i,u.length>=l))break;x.lastIndex===c.index&&x.lastIndex++}return f===r.length?!s&&x.test("")||u.push(""):u.push(r.slice(f)),u.length>l?u.slice(0,l):u}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=a(this),l=void 0==t?void 0:t[e];return void 0!==l?l.call(t,o,n):r.call(String(o),t,n)},function(e,o){var a=n(r,this,e,o,r!==t);if(a.done)return a.value;var p=l(this),d=String(e),f=c(p,RegExp),g=p.unicode,m=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(x?"g":"y"),w=new f(x?"^(?:"+p.source+")":p,m),b=void 0===o?h:o>>>0;if(0===b)return[];if(0===d.length)return null===u(w,d)?[d]:[];var S=0,y=0,R=[];while(y<d.length){w.lastIndex=x?0:y;var E,I=u(w,x?d.slice(y):d);if(null===I||(E=v(s(w.lastIndex+(x?y:0)),d.length))===S)y=i(d,y,g);else{if(R.push(d.slice(S,y)),R.length===b)return R;for(var k=1;k<=I.length-1;k++)if(R.push(I[k]),R.length===b)return R;y=S=E}}return R.push(d.slice(S)),R}]}),!m,x)},"14c3":function(e,t,n){var r=n("c6b6"),o=n("9263");e.exports=function(e,t){var n=e.exec;if("function"===typeof n){var l=n.call(e,t);if("object"!==typeof l)throw TypeError("RegExp exec method returned something other than an Object or null");return l}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"2da4":function(e,t,n){},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),l=n("b622"),a=l("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},6907:function(e,t,n){"use strict";n("2da4")},"8aa5":function(e,t,n){"use strict";var r=n("6547").charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},9263:function(e,t,n){"use strict";var r=n("ad6d"),o=n("9f7f"),l=n("5692"),a=n("7c73"),c=n("69f3").get,i=n("fce3"),s=n("107c"),u=RegExp.prototype.exec,p=l("native-string-replace",String.prototype.replace),d=u,f=function(){var e=/a/,t=/b*/g;return u.call(e,"a"),u.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),x=o.UNSUPPORTED_Y||o.BROKEN_CARET,g=void 0!==/()??/.exec("")[1],v=f||g||x||i||s;v&&(d=function(e){var t,n,o,l,i,s,v,h=this,m=c(h),w=m.raw;if(w)return w.lastIndex=h.lastIndex,t=d.call(w,e),h.lastIndex=w.lastIndex,t;var b=m.groups,S=x&&h.sticky,y=r.call(h),R=h.source,E=0,I=e;if(S&&(y=y.replace("y",""),-1===y.indexOf("g")&&(y+="g"),I=String(e).slice(h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==e[h.lastIndex-1])&&(R="(?: "+R+")",I=" "+I,E++),n=new RegExp("^(?:"+R+")",y)),g&&(n=new RegExp("^"+R+"$(?!\\s)",y)),f&&(o=h.lastIndex),l=u.call(S?n:h,I),S?l?(l.input=l.input.slice(E),l[0]=l[0].slice(E),l.index=h.lastIndex,h.lastIndex+=l[0].length):h.lastIndex=0:f&&l&&(h.lastIndex=h.global?l.index+l[0].length:o),g&&l&&l.length>1&&p.call(l[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(l[i]=void 0)})),l&&b)for(l.groups=s=a(null),i=0;i<b.length;i++)v=b[i],s[v[0]]=l[v[1]];return l}),e.exports=d},"9f7f":function(e,t,n){var r=n("d039"),o=function(e,t){return RegExp(e,t)};t.UNSUPPORTED_Y=r((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=r((function(){var e=o("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("44ad"),l=n("fc6a"),a=n("a640"),c=[].join,i=o!=Object,s=a("join",",");r({target:"Array",proto:!0,forced:i||!s},{join:function(e){return c.call(l(this),void 0===e?",":e)}})},a358:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"b",(function(){return i}));n("a15b"),n("ac1f"),n("1276");var r=n("cff8"),o=n.n(r),l=n("b775"),a={test:"controller.example.test",messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",loadViewContent:"controller.example.loadViewContent",removeViewContent:"controller.example.removeViewContent",createWindow:"controller.example.createWindow",sendNotification:"controller.example.sendNotification",initPowerMonitor:"controller.example.initPowerMonitor",getScreen:"controller.example.getScreen",openSoftware:"controller.example.openSoftware",autoLaunch:"controller.example.autoLaunch",setTheme:"controller.example.setTheme",getTheme:"controller.example.getTheme",checkForUpdater:"controller.example.checkForUpdater",downloadApp:"controller.example.downloadApp",dbOperation:"controller.example.dbOperation",sqlitedbOperation:"controller.example.sqlitedbOperation",uploadFile:"controller.example.uploadFile",checkHttpServer:"controller.example.checkHttpServer",doHttpRequest:"controller.example.doHttpRequest",doSocketRequest:"controller.example.doSocketRequest",ipcInvokeMsg:"controller.example.ipcInvokeMsg",ipcSendSyncMsg:"controller.example.ipcSendSyncMsg",ipcSendMsg:"controller.example.ipcSendMsg",getWCid:"controller.example.getWCid",startJavaServer:"controller.example.startJavaServer",closeJavaServer:"controller.example.closeJavaServer",hello:"controller.example.hello"},c={appUpdater:"app.updater",window1ToWindow2:"window1-to-window2",window2ToWindow1:"window2-to-window1"},i=function(e,t){var n=o.a.get("httpServiceConfig"),r=n.server||"http://127.0.0.1:7071",a=e.split(".").join("/");return a=r+"/"+a,console.log("url:",a),Object(l["b"])({url:a,method:"post",data:t,params:{},timeout:6e4})}},a640:function(e,t,n){"use strict";var r=n("d039");e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){throw 1},1)}))}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,n){"use strict";var r=n("825a");e.exports=function(){var e=r(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("9263"),l=n("d039"),a=n("b622"),c=n("9112"),i=a("species"),s=RegExp.prototype;e.exports=function(e,t,n,u){var p=a(e),d=!l((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=d&&!l((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[i]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!d||!f||n){var x=/./[p],g=t(p,""[e],(function(e,t,n,r,l){var a=t.exec;return a===o||a===s.exec?d&&!l?{done:!0,value:x.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));r(String.prototype,e,g[0]),r(s,p,g[1])}u&&c(s[p],"sham",!0)}},fce3:function(e,t,n){var r=n("d039");e.exports=r((function(){var e=RegExp(".","string".charAt(0));return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
  2. //# sourceMappingURL=chunk-1af754fa.55a34e0c.js.map