| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5c5d228a"],{"00b4":function(e,t,n){"use strict";n("ac1f");var r=n("23e7"),o=n("da84"),a=n("c65b"),l=n("e330"),c=n("1626"),i=n("861d"),s=function(){var e=!1,t=/[ac]/;return t.exec=function(){return e=!0,/./.exec.apply(this,arguments)},!0===t.test("abc")&&e}(),p=o.Error,u=l(/./.test);r({target:"RegExp",proto:!0,forced:!s},{test:function(e){var t=this.exec;if(!c(t))return u(this,e);var n=a(t,this,e);if(null!==n&&!i(n))throw new p("RegExp exec method returned something other than an Object or null");return!!n}})},"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")}))},"32ef":function(e,t,n){"use strict";n("3760")},3760:function(e,t,n){},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"),p=n("69f3").get,u=n("fce3"),d=n("107c"),x=i("native-string-replace",String.prototype.replace),f=RegExp.prototype.exec,g=f,m=o("".charAt),h=o("".indexOf),v=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(f,e,"a"),r(f,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),S=c.BROKEN_CARET,E=void 0!==/()??/.exec("")[1],I=w||E||S||u||d;I&&(g=function(e){var t,n,o,c,i,u,d,I=this,k=p(I),y=a(e),R=k.raw;if(R)return R.lastIndex=I.lastIndex,t=r(g,R,y),I.lastIndex=R.lastIndex,t;var C=k.groups,_=S&&I.sticky,O=r(l,I),T=I.source,A=0,M=y;if(_&&(O=v(O,"y",""),-1===h(O,"g")&&(O+="g"),M=b(y,I.lastIndex),I.lastIndex>0&&(!I.multiline||I.multiline&&"\n"!==m(y,I.lastIndex-1))&&(T="(?: "+T+")",M=" "+M,A++),n=new RegExp("^(?:"+T+")",O)),E&&(n=new RegExp("^"+T+"$(?!\\s)",O)),w&&(o=I.lastIndex),c=r(f,_?n:I,M),_?c?(c.input=b(c.input,A),c[0]=b(c[0],A),c.index=I.lastIndex,I.lastIndex+=c[0].length):I.lastIndex=0:w&&c&&(I.lastIndex=I.global?c.index+c[0].length:o),E&&c&&c.length>1&&r(x,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=u=s(null),i=0;i<C.length;i++)d=C[i],u[d[0]]=c[d[1]];return c}),e.exports=g},"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}},a358:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n.d(t,"b",(function(){return o}));n("b775");var r={test:"controller.example.test",messageShow:"controller.example.messageShow",messageShowConfirm:"controller.example.messageShowConfirm",selectFolder:"controller.example.selectFolder",openDirectory:"controller.example.openDirectory",socketMessageStart:"controller.example.socketMessageStart",socketMessageStop:"controller.example.socketMessageStop",hello:"controller.example.hello",executeJS:"controller.example.executeJS",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",uploadFile:"controller.example.uploadFile"},o={appUpdater:"app.updater"}},ac1f:function(e,t,n){"use strict";var r=n("23e7"),o=n("9263");r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},acbf: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-test-api"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-button",{on:{click:function(t){return e.exec(1)}}},[e._v(" 点击 ")])],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. 测试一些操作系统api ")])])}],a=(n("ac1f"),n("00b4"),n("a358")),l={data:function(){return{type:1}},methods:{exec:function(e){var t={id:e};this.$ipcCall(a["a"].test,t).then((function(e){console.log("res:",e)}))}}},c=l,i=(n("32ef"),n("2877")),s=Object(i["a"])(c,r,o,!1,null,"8ebd278a",null);t["default"]=s.exports},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}},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)}))}}]);
- //# sourceMappingURL=chunk-5c5d228a.b7593274.js.map
|