chunk-50251666.7f497919.js 9.3 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50251666"],{"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")),l={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=l,a=(n("a437"),n("2877")),s=Object(a["a"])(c,r,o,!1,null,"eb783aa2",null);t["default"]=s.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"),i=n("825a"),l=n("1d80"),c=n("4840"),a=n("8aa5"),s=n("50c4"),u=n("14c3"),p=n("9263"),d=n("9f7f"),f=n("d039"),x=d.UNSUPPORTED_Y,g=[].push,h=Math.min,v=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(l(this)),i=void 0===n?v:n>>>0;if(0===i)return[];if(void 0===e)return[r];if(!o(e))return t.call(r,e,i);var c,a,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(a=x.lastIndex,a>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=a,u.length>=i))break;x.lastIndex===c.index&&x.lastIndex++}return f===r.length?!s&&x.test("")||u.push(""):u.push(r.slice(f)),u.length>i?u.slice(0,i):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=l(this),i=void 0==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(String(o),t,n)},function(e,o){var l=n(r,this,e,o,r!==t);if(l.done)return l.value;var p=i(this),d=String(e),f=c(p,RegExp),g=p.unicode,m=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(x?"g":"y"),b=new f(x?"^(?:"+p.source+")":p,m),w=void 0===o?v:o>>>0;if(0===w)return[];if(0===d.length)return null===u(b,d)?[d]:[];var y=0,S=0,E=[];while(S<d.length){b.lastIndex=x?0:S;var R,I=u(b,x?d.slice(S):d);if(null===I||(R=h(s(b.lastIndex+(x?S:0)),d.length))===y)S=a(d,S,g);else{if(E.push(d.slice(y,S)),E.length===w)return E;for(var k=1;k<=I.length-1;k++)if(E.push(I[k]),E.length===w)return E;S=y=R}}return E.push(d.slice(y)),E}]}),!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 i=n.call(e,t);if("object"!==typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},"44e7":function(e,t,n){var r=n("861d"),o=n("c6b6"),i=n("b622"),l=i("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[l])?!!t:"RegExp"==o(e))}},"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"),i=n("5692"),l=n("7c73"),c=n("69f3").get,a=n("fce3"),s=n("107c"),u=RegExp.prototype.exec,p=i("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],h=f||g||x||a||s;h&&(d=function(e){var t,n,o,i,a,s,h,v=this,m=c(v),b=m.raw;if(b)return b.lastIndex=v.lastIndex,t=d.call(b,e),v.lastIndex=b.lastIndex,t;var w=m.groups,y=x&&v.sticky,S=r.call(v),E=v.source,R=0,I=e;if(y&&(S=S.replace("y",""),-1===S.indexOf("g")&&(S+="g"),I=String(e).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&"\n"!==e[v.lastIndex-1])&&(E="(?: "+E+")",I=" "+I,R++),n=new RegExp("^(?:"+E+")",S)),g&&(n=new RegExp("^"+E+"$(?!\\s)",S)),f&&(o=v.lastIndex),i=u.call(y?n:v,I),y?i?(i.input=i.input.slice(R),i[0]=i[0].slice(R),i.index=v.lastIndex,v.lastIndex+=i[0].length):v.lastIndex=0:f&&i&&(v.lastIndex=v.global?i.index+i[0].length:o),g&&i&&i.length>1&&p.call(i[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&w)for(i.groups=s=l(null),a=0;a<w.length;a++)h=w[a],s[h[0]]=i[h[1]];return i}),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"),i=n("fc6a"),l=n("a640"),c=[].join,a=o!=Object,s=l("join",",");r({target:"Array",proto:!0,forced:a||!s},{join:function(e){return c.call(i(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 a}));n("a15b"),n("ac1f"),n("1276");var r=n("cff8"),o=n.n(r),i=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",hello:"controller.example.hello"},c={appUpdater:"app.updater"},a=function(e,t){var n=o.a.get("httpServiceConfig"),r=n.server||"http://127.0.0.1:7071",l=e.split(".").join("/");return l=r+"/"+l,console.log("url:",l),Object(i["b"])({url:l,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(){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}},c737:function(e,t,n){},d784:function(e,t,n){"use strict";n("ac1f");var r=n("6eeb"),o=n("9263"),i=n("d039"),l=n("b622"),c=n("9112"),a=l("species"),s=RegExp.prototype;e.exports=function(e,t,n,u){var p=l(e),d=!i((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),f=d&&!i((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[a]=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,i){var l=t.exec;return l===o||l===s.exec?d&&!i?{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-50251666.7f497919.js.map