chunk-68bb1024.f7672da6.js 12 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-68bb1024"],{"107c":function(e,r,t){var o=t("d039"),n=t("da84"),i=n.RegExp;e.exports=o((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1276:function(e,r,t){"use strict";var o=t("2ba4"),n=t("c65b"),i=t("e330"),c=t("d784"),s=t("44e7"),a=t("825a"),l=t("1d80"),u=t("4840"),p=t("8aa5"),d=t("50c4"),f=t("577e"),g=t("dc4a"),v=t("4dae"),b=t("14c3"),h=t("9263"),m=t("9f7f"),w=t("d039"),x=m.UNSUPPORTED_Y,k=4294967295,_=Math.min,y=[].push,S=i(/./.exec),P=i(y),I=i("".slice),J=!w((function(){var e=/(?:)/,r=e.exec;e.exec=function(){return r.apply(this,arguments)};var t="ab".split(e);return 2!==t.length||"a"!==t[0]||"b"!==t[1]}));c("split",(function(e,r,t){var i;return i="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,t){var i=f(l(this)),c=void 0===t?k:t>>>0;if(0===c)return[];if(void 0===e)return[i];if(!s(e))return n(r,i,e,c);var a,u,p,d=[],g=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),b=0,m=new RegExp(e.source,g+"g");while(a=n(h,m,i)){if(u=m.lastIndex,u>b&&(P(d,I(i,b,a.index)),a.length>1&&a.index<i.length&&o(y,d,v(a,1)),p=a[0].length,b=u,d.length>=c))break;m.lastIndex===a.index&&m.lastIndex++}return b===i.length?!p&&S(m,"")||P(d,""):P(d,I(i,b)),d.length>c?v(d,0,c):d}:"0".split(void 0,0).length?function(e,t){return void 0===e&&0===t?[]:n(r,this,e,t)}:r,[function(r,t){var o=l(this),c=void 0==r?void 0:g(r,e);return c?n(c,r,o,t):n(i,f(o),r,t)},function(e,o){var n=a(this),c=f(e),s=t(i,n,c,o,i!==r);if(s.done)return s.value;var l=u(n,RegExp),g=n.unicode,v=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(x?"g":"y"),h=new l(x?"^(?:"+n.source+")":n,v),m=void 0===o?k:o>>>0;if(0===m)return[];if(0===c.length)return null===b(h,c)?[c]:[];var w=0,y=0,S=[];while(y<c.length){h.lastIndex=x?0:y;var J,E=b(h,x?I(c,y):c);if(null===E||(J=_(d(h.lastIndex+(x?y:0)),c.length))===w)y=p(c,y,g);else{if(P(S,I(c,w,y)),S.length===m)return S;for(var R=1;R<=E.length-1;R++)if(P(S,E[R]),S.length===m)return S;y=w=J}}return P(S,I(c,w)),S}]}),!J,x)},"14c3":function(e,r,t){var o=t("da84"),n=t("c65b"),i=t("825a"),c=t("1626"),s=t("c6b6"),a=t("9263"),l=o.TypeError;e.exports=function(e,r){var t=e.exec;if(c(t)){var o=n(t,e,r);return null!==o&&i(o),o}if("RegExp"===s(e))return n(a,e,r);throw l("RegExp#exec called on incompatible receiver")}},"44e7":function(e,r,t){var o=t("861d"),n=t("c6b6"),i=t("b622"),c=i("match");e.exports=function(e){var r;return o(e)&&(void 0!==(r=e[c])?!!r:"RegExp"==n(e))}},"4dae":function(e,r,t){var o=t("da84"),n=t("23cb"),i=t("07fa"),c=t("8418"),s=o.Array,a=Math.max;e.exports=function(e,r,t){for(var o=i(e),l=n(r,o),u=n(void 0===t?o:t,o),p=s(a(u-l,0)),d=0;l<u;l++,d++)c(p,d,e[l]);return p.length=d,p}},"4fea":function(e,r,t){},"80ff":function(e,r,t){"use strict";t("4fea")},8418:function(e,r,t){"use strict";var o=t("a04b"),n=t("9bf2"),i=t("5c6c");e.exports=function(e,r,t){var c=o(r);c in e?n.f(e,c,i(0,t)):e[c]=t}},"8aa5":function(e,r,t){"use strict";var o=t("6547").charAt;e.exports=function(e,r,t){return r+(t?o(e,r).length:1)}},9263:function(e,r,t){"use strict";var o=t("c65b"),n=t("e330"),i=t("577e"),c=t("ad6d"),s=t("9f7f"),a=t("5692"),l=t("7c73"),u=t("69f3").get,p=t("fce3"),d=t("107c"),f=a("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,v=g,b=n("".charAt),h=n("".indexOf),m=n("".replace),w=n("".slice),x=function(){var e=/a/,r=/b*/g;return o(g,e,"a"),o(g,r,"a"),0!==e.lastIndex||0!==r.lastIndex}(),k=s.BROKEN_CARET,_=void 0!==/()??/.exec("")[1],y=x||_||k||p||d;y&&(v=function(e){var r,t,n,s,a,p,d,y=this,S=u(y),P=i(e),I=S.raw;if(I)return I.lastIndex=y.lastIndex,r=o(v,I,P),y.lastIndex=I.lastIndex,r;var J=S.groups,E=k&&y.sticky,R=o(c,y),C=y.source,F=0,A=P;if(E&&(R=m(R,"y",""),-1===h(R,"g")&&(R+="g"),A=w(P,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==b(P,y.lastIndex-1))&&(C="(?: "+C+")",A=" "+A,F++),t=new RegExp("^(?:"+C+")",R)),_&&(t=new RegExp("^"+C+"$(?!\\s)",R)),x&&(n=y.lastIndex),s=o(g,E?t:y,A),E?s?(s.input=w(s.input,F),s[0]=w(s[0],F),s.index=y.lastIndex,y.lastIndex+=s[0].length):y.lastIndex=0:x&&s&&(y.lastIndex=y.global?s.index+s[0].length:n),_&&s&&s.length>1&&o(f,s[0],t,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(s[a]=void 0)})),s&&J)for(s.groups=p=l(null),a=0;a<J.length;a++)d=J[a],p[d[0]]=s[d[1]];return s}),e.exports=v},"9f7f":function(e,r,t){var o=t("d039"),n=t("da84"),i=n.RegExp,c=o((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),s=c||o((function(){return!i("a","y").sticky})),a=c||o((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:a,MISSED_STICKY:s,UNSUPPORTED_Y:c}},a15b:function(e,r,t){"use strict";var o=t("23e7"),n=t("e330"),i=t("44ad"),c=t("fc6a"),s=t("a640"),a=n([].join),l=i!=Object,u=s("join",",");o({target:"Array",proto:!0,forced:l||!u},{join:function(e){return a(c(this),void 0===e?",":e)}})},a358:function(e,r,t){"use strict";t.d(r,"a",(function(){return c})),t.d(r,"c",(function(){return s})),t.d(r,"b",(function(){return a}));t("a15b"),t("ac1f"),t("1276");var o=t("cff8"),n=t.n(o),i=t("b775"),c={test:"controller.framework.test",checkForUpdater:"controller.framework.checkForUpdater",downloadApp:"controller.framework.downloadApp",dbOperation:"controller.framework.dbOperation",sqlitedbOperation:"controller.framework.sqlitedbOperation",uploadFile:"controller.framework.uploadFile",checkHttpServer:"controller.framework.checkHttpServer",doHttpRequest:"controller.framework.doHttpRequest",doSocketRequest:"controller.framework.doSocketRequest",ipcInvokeMsg:"controller.framework.ipcInvokeMsg",ipcSendSyncMsg:"controller.framework.ipcSendSyncMsg",ipcSendMsg:"controller.framework.ipcSendMsg",startJavaServer:"controller.framework.startJavaServer",closeJavaServer:"controller.framework.closeJavaServer",someJob:"controller.framework.someJob",timerJobProgress:"controller.framework.timerJobProgress",createPool:"controller.framework.createPool",createPoolNotice:"controller.framework.createPoolNotice",someJobByPool:"controller.framework.someJobByPool",hello:"controller.framework.hello",openSoftware:"controller.framework.openSoftware",messageShow:"controller.os.messageShow",messageShowConfirm:"controller.os.messageShowConfirm",selectFolder:"controller.os.selectFolder",openDirectory:"controller.os.openDirectory",loadViewContent:"controller.os.loadViewContent",removeViewContent:"controller.os.removeViewContent",createWindow:"controller.os.createWindow",getWCid:"controller.os.getWCid",sendNotification:"controller.os.sendNotification",initPowerMonitor:"controller.os.initPowerMonitor",getScreen:"controller.os.getScreen",autoLaunch:"controller.os.autoLaunch",setTheme:"controller.os.setTheme",getTheme:"controller.os.getTheme",getPrinterList:"controller.hardware.getPrinterList",print:"controller.hardware.print",printStatus:"controller.hardware.printStatus",selectFile:"controller.effect.selectFile"},s={appUpdater:"app.updater",window1ToWindow2:"window1-to-window2",window2ToWindow1:"window2-to-window1"},a=function(e,r){var t=n.a.get("httpServiceConfig"),o=t.server||"http://localhost:7071",c=e.split(".").join("/");return c=o+"/"+c,console.log("url:",c),Object(i["b"])({url:c,method:"post",data:r,params:{},timeout:6e4})}},a640:function(e,r,t){"use strict";var o=t("d039");e.exports=function(e,r){var t=[][e];return!!t&&o((function(){t.call(null,r||function(){return 1},1)}))}},ac1f:function(e,r,t){"use strict";var o=t("23e7"),n=t("9263");o({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},ad6d:function(e,r,t){"use strict";var o=t("825a");e.exports=function(){var e=o(this),r="";return e.global&&(r+="g"),e.ignoreCase&&(r+="i"),e.multiline&&(r+="m"),e.dotAll&&(r+="s"),e.unicode&&(r+="u"),e.sticky&&(r+="y"),r}},d784:function(e,r,t){"use strict";t("ac1f");var o=t("e330"),n=t("6eeb"),i=t("9263"),c=t("d039"),s=t("b622"),a=t("9112"),l=s("species"),u=RegExp.prototype;e.exports=function(e,r,t,p){var d=s(e),f=!c((function(){var r={};return r[d]=function(){return 7},7!=""[e](r)})),g=f&&!c((function(){var r=!1,t=/a/;return"split"===e&&(t={},t.constructor={},t.constructor[l]=function(){return t},t.flags="",t[d]=/./[d]),t.exec=function(){return r=!0,null},t[d](""),!r}));if(!f||!g||t){var v=o(/./[d]),b=r(d,""[e],(function(e,r,t,n,c){var s=o(e),a=r.exec;return a===i||a===u.exec?f&&!c?{done:!0,value:v(r,t,n)}:{done:!0,value:s(t,r,n)}:{done:!1}}));n(String.prototype,e,b[0]),n(u,d,b[1])}p&&a(u[d],"sham",!0)}},e9c4:function(e,r,t){var o=t("23e7"),n=t("da84"),i=t("d066"),c=t("2ba4"),s=t("e330"),a=t("d039"),l=n.Array,u=i("JSON","stringify"),p=s(/./.exec),d=s("".charAt),f=s("".charCodeAt),g=s("".replace),v=s(1..toString),b=/[\uD800-\uDFFF]/g,h=/^[\uD800-\uDBFF]$/,m=/^[\uDC00-\uDFFF]$/,w=function(e,r,t){var o=d(t,r-1),n=d(t,r+1);return p(h,e)&&!p(m,n)||p(m,e)&&!p(h,o)?"\\u"+v(f(e,0),16):e},x=a((function(){return'"\\udf06\\ud834"'!==u("\udf06\ud834")||'"\\udead"'!==u("\udead")}));u&&o({target:"JSON",stat:!0,forced:x},{stringify:function(e,r,t){for(var o=0,n=arguments.length,i=l(n);o<n;o++)i[o]=arguments[o];var s=c(u,null,i);return"string"==typeof s?g(s,b,w):s}})},fce3:function(e,r,t){var o=t("d039"),n=t("da84"),i=n.RegExp;e.exports=o((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},ff51:function(e,r,t){"use strict";t.r(r);var o=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{attrs:{id:"app-base-jobs"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-space",[t("a-button",{on:{click:function(r){return e.runJob(1,"create")}}},[e._v("执行任务1")]),e._v(" 进度:"+e._s(e.progress1)+" , 进程pid:"+e._s(e.progress1_pid)+" "),t("a-button",{on:{click:function(r){return e.runJob(1,"close")}}},[e._v("关闭")])],1),t("p"),t("a-space",[t("a-button",{on:{click:function(r){return e.runJob(2,"create")}}},[e._v("执行任务2")]),e._v(" 进度:"+e._s(e.progress2)+" , 进程pid:"+e._s(e.progress2_pid)+" "),t("a-button",{on:{click:function(r){return e.runJob(2,"close")}}},[e._v("关闭")])],1)],1),e._m(1),t("div",{staticClass:"one-block-2"},[t("a-space",[t("a-button",{on:{click:function(r){return e.createPool()}}},[e._v("创建进程池")]),e._v(" 进程pids:"+e._s(e.processPids)+" ")],1),t("p"),t("a-space",[t("a-button",{on:{click:function(r){return e.runJobByPool(3,"run")}}},[e._v("执行任务3")]),e._v(" 进度:"+e._s(e.progress3)+" , 进程pid:"+e._s(e.progress3_pid)+" ")],1),t("p"),t("a-space",[t("a-button",{on:{click:function(r){return e.runJobByPool(4,"run")}}},[e._v("执行任务4")]),e._v(" 进度:"+e._s(e.progress4)+" , 进程pid:"+e._s(e.progress4_pid)+" ")],1)],1)])},n=[function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 任务 / 并发任务 ")])])},function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 2. 任务池 / 并发任务 ")])])}],i=(t("e9c4"),t("a358")),c={data:function(){return{progress1:0,progress1_pid:0,progress2:0,progress2_pid:0,progress3:0,progress3_pid:0,progress4:0,progress4_pid:0,processPids:""}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(i["a"].timerJobProgress),this.$ipc.removeAllListeners(i["a"].createPoolNotice),this.$ipc.on(i["a"].timerJobProgress,(function(r,t){switch(t.jobId){case 1:e.progress1=t.number,e.progress1_pid=0==t.pid?t.pid:e.progress1_pid;break;case 2:e.progress2=t.number,e.progress2_pid=0==t.pid?t.pid:e.progress2_pid;break;case 3:e.progress3=t.number,e.progress3_pid=0==t.pid?t.pid:e.progress3_pid;break;case 4:e.progress4=t.number,e.progress4_pid=0==t.pid?t.pid:e.progress4_pid;break}})),this.$ipc.on(i["a"].createPoolNotice,(function(r,t){var o=JSON.stringify(t);e.processPids=o}))},runJob:function(e,r){var t=this,o={id:e,type:"timer",action:r};this.$ipc.invoke(i["a"].someJob,o).then((function(e){switch(e.jobId){case 1:"create"==e.action&&(t.progress1_pid=e.result.pid);break;case 2:"create"==e.action&&(t.progress2_pid=e.result.pid);break}}))},createPool:function(){var e={number:3};this.$ipc.send(i["a"].createPool,e)},runJobByPool:function(e,r){var t=this,o={id:e,type:"timer",action:r};this.$ipc.invoke(i["a"].someJobByPool,o).then((function(e){switch(e.jobId){case 3:"run"==e.action&&(t.progress3_pid=e.result.pid);break;case 4:"run"==e.action&&(t.progress4_pid=e.result.pid);break}}))}}},s=c,a=(t("80ff"),t("2877")),l=Object(a["a"])(s,o,n,!1,null,"0a164fce",null);r["default"]=l.exports}}]);
  2. //# sourceMappingURL=chunk-68bb1024.f7672da6.js.map