chunk-04a98efc.4f3e4452.js 9.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04a98efc"],{"03e3":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-notification"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-space",[n("a-button",{on:{click:function(t){return e.sendNotification(0)}}},[e._v("默认")]),n("a-button",{on:{click:function(t){return e.sendNotification(1)}}},[e._v("发出提示音")]),n("a-button",{on:{click:function(t){return e.sendNotification(2)}}},[e._v("点击通知触发事件")]),n("a-button",{on:{click:function(t){return e.sendNotification(3)}}},[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. 弹出桌面通知 ")])])}],i=(n("d3b7"),n("a358")),a={data:function(){return{views:[{type:"main",title:"通知标题",subtitle:"副标题",body:"这是通知内容-默认",silent:!0,icon:"/asset/images/tray_logo.png"},{type:"main",title:"提示音",subtitle:"副标题-提示音",body:"这是通知内容-提示音",silent:!1},{type:"main",title:"点击通知事件",subtitle:"副标题-点击通知事件",body:"这是通知内容-点击通知事件",clickEvent:!0},{type:"main",title:"关闭通知事件",subtitle:"副标题-关闭通知事件",body:"这是通知内容-点击通知事件",closeEvent:!0}]}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(i["a"].sendNotification),this.$ipc.on(i["a"].sendNotification,(function(t,n){"[object Object]"==Object.prototype.toString.call(n)&&e.$message.info(n.msg)}))},sendNotification:function(e){this.$ipc.send(i["a"].sendNotification,this.views[e])}}},c=a,l=(n("a437"),n("2877")),u=Object(l["a"])(c,r,o,!1,null,"eb783aa2",null);t["default"]=u.exports},"107c":function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp;e.exports=r((function(){var e=i("(?<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"),i=n("e330"),a=n("d784"),c=n("44e7"),l=n("825a"),u=n("1d80"),s=n("4840"),p=n("8aa5"),d=n("50c4"),f=n("577e"),x=n("dc4a"),v=n("4dae"),g=n("14c3"),h=n("9263"),m=n("9f7f"),b=n("d039"),y=m.UNSUPPORTED_Y,w=4294967295,S=Math.min,E=[].push,I=i(/./.exec),k=i(E),R=i("".slice),_=!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]}));a("split",(function(e,t,n){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,n){var i=f(u(this)),a=void 0===n?w:n>>>0;if(0===a)return[];if(void 0===e)return[i];if(!c(e))return o(t,i,e,a);var l,s,p,d=[],x=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,x+"g");while(l=o(h,m,i)){if(s=m.lastIndex,s>g&&(k(d,R(i,g,l.index)),l.length>1&&l.index<i.length&&r(E,d,v(l,1)),p=l[0].length,g=s,d.length>=a))break;m.lastIndex===l.index&&m.lastIndex++}return g===i.length?!p&&I(m,"")||k(d,""):k(d,R(i,g)),d.length>a?v(d,0,a):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=u(this),a=void 0==t?void 0:x(t,e);return a?o(a,t,r,n):o(i,f(r),t,n)},function(e,r){var o=l(this),a=f(e),c=n(i,o,a,r,i!==t);if(c.done)return c.value;var u=s(o,RegExp),x=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(y?"g":"y"),h=new u(y?"^(?:"+o.source+")":o,v),m=void 0===r?w:r>>>0;if(0===m)return[];if(0===a.length)return null===g(h,a)?[a]:[];var b=0,E=0,I=[];while(E<a.length){h.lastIndex=y?0:E;var _,C=g(h,y?R(a,E):a);if(null===C||(_=S(d(h.lastIndex+(y?E:0)),a.length))===b)E=p(a,E,x);else{if(k(I,R(a,b,E)),I.length===m)return I;for(var N=1;N<=C.length-1;N++)if(k(I,C[N]),I.length===m)return I;E=b=_}}return k(I,R(a,b)),I}]}),!_,y)},"14c3":function(e,t,n){var r=n("da84"),o=n("c65b"),i=n("825a"),a=n("1626"),c=n("c6b6"),l=n("9263"),u=r.TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var r=o(n,e,t);return null!==r&&i(r),r}if("RegExp"===c(e))return o(l,e,t);throw u("RegExp#exec called on incompatible receiver")}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622"),a=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"==o(e))}},"4dae":function(e,t,n){var r=n("da84"),o=n("23cb"),i=n("07fa"),a=n("8418"),c=r.Array,l=Math.max;e.exports=function(e,t,n){for(var r=i(e),u=o(t,r),s=o(void 0===n?r:n,r),p=c(l(s-u,0)),d=0;u<s;u++,d++)a(p,d,e[u]);return p.length=d,p}},8418:function(e,t,n){"use strict";var r=n("a04b"),o=n("9bf2"),i=n("5c6c");e.exports=function(e,t,n){var a=r(t);a in e?o.f(e,a,i(0,n)):e[a]=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)}},9263:function(e,t,n){"use strict";var r=n("c65b"),o=n("e330"),i=n("577e"),a=n("ad6d"),c=n("9f7f"),l=n("5692"),u=n("7c73"),s=n("69f3").get,p=n("fce3"),d=n("107c"),f=l("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,v=x,g=o("".charAt),h=o("".indexOf),m=o("".replace),b=o("".slice),y=function(){var e=/a/,t=/b*/g;return r(x,e,"a"),r(x,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),w=c.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],E=y||S||w||p||d;E&&(v=function(e){var t,n,o,c,l,p,d,E=this,I=s(E),k=i(e),R=I.raw;if(R)return R.lastIndex=E.lastIndex,t=r(v,R,k),E.lastIndex=R.lastIndex,t;var _=I.groups,C=w&&E.sticky,N=r(a,E),O=E.source,A=0,M=k;if(C&&(N=m(N,"y",""),-1===h(N,"g")&&(N+="g"),M=b(k,E.lastIndex),E.lastIndex>0&&(!E.multiline||E.multiline&&"\n"!==g(k,E.lastIndex-1))&&(O="(?: "+O+")",M=" "+M,A++),n=new RegExp("^(?:"+O+")",N)),S&&(n=new RegExp("^"+O+"$(?!\\s)",N)),y&&(o=E.lastIndex),c=r(x,C?n:E,M),C?c?(c.input=b(c.input,A),c[0]=b(c[0],A),c.index=E.lastIndex,E.lastIndex+=c[0].length):E.lastIndex=0:y&&c&&(E.lastIndex=E.global?c.index+c[0].length:o),S&&c&&c.length>1&&r(f,c[0],n,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(c[l]=void 0)})),c&&_)for(c.groups=p=u(null),l=0;l<_.length;l++)d=_[l],p[d[0]]=c[d[1]];return c}),e.exports=v},"9f7f":function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp,a=r((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),c=a||r((function(){return!i("a","y").sticky})),l=a||r((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:c,UNSUPPORTED_Y:a}},a15b:function(e,t,n){"use strict";var r=n("23e7"),o=n("e330"),i=n("44ad"),a=n("fc6a"),c=n("a640"),l=o([].join),u=i!=Object,s=c("join",",");r({target:"Array",proto:!0,forced:u||!s},{join:function(e){return l(a(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 l}));n("a15b"),n("ac1f"),n("1276");var r=n("cff8"),o=n.n(r),i=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",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",hello:"controller.example.hello"},c={appUpdater:"app.updater"},l=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(i["b"])({url:a,method:"post",data:t,params:{},timeout:6e4})}},a437:function(e,t,n){"use strict";n("c737")},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}},c737:function(e,t,n){},d784:function(e,t,n){"use strict";n("ac1f");var r=n("e330"),o=n("6eeb"),i=n("9263"),a=n("d039"),c=n("b622"),l=n("9112"),u=c("species"),s=RegExp.prototype;e.exports=function(e,t,n,p){var d=c(e),f=!a((function(){var t={};return t[d]=function(){return 7},7!=""[e](t)})),x=f&&!a((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[u]=function(){return n},n.flags="",n[d]=/./[d]),n.exec=function(){return t=!0,null},n[d](""),!t}));if(!f||!x||n){var v=r(/./[d]),g=t(d,""[e],(function(e,t,n,o,a){var c=r(e),l=t.exec;return l===i||l===s.exec?f&&!a?{done:!0,value:v(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(s,d,g[1])}p&&l(s[d],"sham",!0)}},fce3:function(e,t,n){var r=n("d039"),o=n("da84"),i=o.RegExp;e.exports=r((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
  2. //# sourceMappingURL=chunk-04a98efc.4f3e4452.js.map