| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-03cf2a49"],{"107c":function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp;e.exports=r((function(){var e=a("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1276:function(e,t,n){"use strict";var r=n("2ba4"),o=n("c65b"),a=n("e330"),l=n("d784"),c=n("44e7"),i=n("825a"),s=n("1d80"),u=n("4840"),p=n("8aa5"),d=n("50c4"),f=n("577e"),v=n("dc4a"),x=n("4dae"),g=n("14c3"),h=n("9263"),m=n("9f7f"),b=n("d039"),w=m.UNSUPPORTED_Y,S=4294967295,R=Math.min,y=[].push,I=a(/./.exec),E=a(y),k=a("".slice),C=!b((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]}));l("split",(function(e,t,n){var a;return a="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 a=f(s(this)),l=void 0===n?S:n>>>0;if(0===l)return[];if(void 0===e)return[a];if(!c(e))return o(t,a,e,l);var i,u,p,d=[],v=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,v+"g");while(i=o(h,m,a)){if(u=m.lastIndex,u>g&&(E(d,k(a,g,i.index)),i.length>1&&i.index<a.length&&r(y,d,x(i,1)),p=i[0].length,g=u,d.length>=l))break;m.lastIndex===i.index&&m.lastIndex++}return g===a.length?!p&&I(m,"")||E(d,""):E(d,k(a,g)),d.length>l?x(d,0,l):d}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:o(t,this,e,n)}:t,[function(t,n){var r=s(this),l=void 0==t?void 0:v(t,e);return l?o(l,t,r,n):o(a,f(r),t,n)},function(e,r){var o=i(this),l=f(e),c=n(a,o,l,r,a!==t);if(c.done)return c.value;var s=u(o,RegExp),v=o.unicode,x=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),h=new s(w?"^(?:"+o.source+")":o,x),m=void 0===r?S:r>>>0;if(0===m)return[];if(0===l.length)return null===g(h,l)?[l]:[];var b=0,y=0,I=[];while(y<l.length){h.lastIndex=w?0:y;var C,_=g(h,w?k(l,y):l);if(null===_||(C=R(d(h.lastIndex+(w?y:0)),l.length))===b)y=p(l,y,v);else{if(E(I,k(l,b,y)),I.length===m)return I;for(var P=1;P<=_.length-1;P++)if(E(I,_[P]),I.length===m)return I;y=b=C}}return E(I,k(l,b)),I}]}),!C,w)},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),a=n("825a"),l=n("1626"),c=n("c6b6"),i=n("9263"),s=r.TypeError;e.exports=function(e,t){var n=e.exec;if(l(n)){var r=o(n,e,t);return null!==r&&a(r),r}if("RegExp"===c(e))return o(i,e,t);throw s("RegExp#exec called on incompatible receiver")}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),a=n("b622"),l=a("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[l])?!!t:"RegExp"==o(e))}},"4dae":function(e,t,n){var r=n("da84"),o=n("23cb"),a=n("07fa"),l=n("8418"),c=r.Array,i=Math.max;e.exports=function(e,t,n){for(var r=a(e),s=o(t,r),u=o(void 0===n?r:n,r),p=c(i(u-s,0)),d=0;s<u;s++,d++)l(p,d,e[s]);return p.length=d,p}},8418:function(e,t,n){"use strict";var r=n("a04b"),o=n("9bf2"),a=n("5c6c");e.exports=function(e,t,n){var l=r(t);l in e?o.f(e,l,a(0,n)):e[l]=n}},"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)}},"8f29":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-httpserver"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-space",[n("p",[e._v("* 状态:"+e._s(e.currentStatus))])]),n("p",[e._v("* 地址:"+e._s(e.servicAddress))])],1),e._m(1),n("div",{staticClass:"one-block-2"},[n("a-space",[n("a-button",{on:{click:function(t){return e.sendRequest("pictures")}}},[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. 内置http server服务 ")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"one-block-1"},[n("span",[e._v(" 2. 发送请求 ")])])}],a=n("cff8"),l=n.n(a),c=n("a358"),i={data:function(){return{currentStatus:"关闭",servicAddress:"无"}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.invoke(c["a"].checkHttpServer,{}).then((function(t){t.enable&&(e.currentStatus="开启",e.servicAddress=t.server,l.a.set("httpServiceConfig",t))}))},sendRequest:function(e){if("关闭"!=this.currentStatus){var t={id:e};Object(c["b"])(c["a"].doHttpRequest,t).then((function(e){}))}else this.$message.error("http服务未开启")}}},s=i,u=(n("9ec1"),n("2877")),p=Object(u["a"])(s,r,o,!1,null,"2095c864",null);t["default"]=p.exports},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),a=n("577e"),l=n("ad6d"),c=n("9f7f"),i=n("5692"),s=n("7c73"),u=n("69f3").get,p=n("fce3"),d=n("107c"),f=i("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,x=v,g=o("".charAt),h=o("".indexOf),m=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(v,e,"a"),r(v,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),S=c.BROKEN_CARET,R=void 0!==/()??/.exec("")[1],y=w||R||S||p||d;y&&(x=function(e){var t,n,o,c,i,p,d,y=this,I=u(y),E=a(e),k=I.raw;if(k)return k.lastIndex=y.lastIndex,t=r(x,k,E),y.lastIndex=k.lastIndex,t;var C=I.groups,_=S&&y.sticky,P=r(l,y),A=y.source,O=0,J=E;if(_&&(P=m(P,"y",""),-1===h(P,"g")&&(P+="g"),J=b(E,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==g(E,y.lastIndex-1))&&(A="(?: "+A+")",J=" "+J,O++),n=new RegExp("^(?:"+A+")",P)),R&&(n=new RegExp("^"+A+"$(?!\\s)",P)),w&&(o=y.lastIndex),c=r(v,_?n:y,J),_?c?(c.input=b(c.input,O),c[0]=b(c[0],O),c.index=y.lastIndex,y.lastIndex+=c[0].length):y.lastIndex=0:w&&c&&(y.lastIndex=y.global?c.index+c[0].length:o),R&&c&&c.length>1&&r(f,c[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(c[i]=void 0)})),c&&C)for(c.groups=p=s(null),i=0;i<C.length;i++)d=C[i],p[d[0]]=c[d[1]];return c}),e.exports=x},"9ec1":function(e,t,n){"use strict";n("ffe1")},"9f7f":function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp,l=r((function(){var e=a("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=l||r((function(){return!a("a","y").sticky})),i=l||r((function(){var e=a("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:i,MISSED_STICKY:c,UNSUPPORTED_Y:l}},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),a=n("44ad"),l=n("fc6a"),c=n("a640"),i=o([].join),s=a!=Object,u=c("join",",");r({target:"Array",proto:!0,forced:s||!u},{join:function(e){return i(l(this),void 0===e?",":e)}})},a358:function(e,t,n){"use strict";n.d(t,"a",(function(){return l})),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),a=n("b775"),l={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",someJob:"controller.example.someJob",timerJobProgress:"controller.example.timerJobProgress",createPool:"controller.example.createPool",createPoolNotice:"controller.example.createPoolNotice",someJobByPool:"controller.example.someJobByPool",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://localhost:7071",l=e.split(".").join("/");return l=r+"/"+l,console.log("url:",l),Object(a["b"])({url:l,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(){return 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("e330"),o=n("6eeb"),a=n("9263"),l=n("d039"),c=n("b622"),i=n("9112"),s=c("species"),u=RegExp.prototype;e.exports=function(e,t,n,p){var d=c(e),f=!l((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),v=f&&!l((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[s]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!v||n){var x=r(/./[d]),g=t(d,""[e],(function(e,t,n,o,l){var c=r(e),i=t.exec;return i===a||i===u.exec?f&&!l?{done:!0,value:x(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,d,g[1])}p&&i(u[d],"sham",!0)}},fce3:function(e,t,n){var r=n("d039"),o=n("da84"),a=o.RegExp;e.exports=r((function(){var e=a(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))},ffe1:function(e,t,n){}}]);
- //# sourceMappingURL=chunk-03cf2a49.6371e3ad.js.map
|