| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-42d75be2"],{"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"),d=n("8aa5"),p=n("50c4"),f=n("577e"),x=n("dc4a"),h=n("4dae"),v=n("14c3"),m=n("9263"),g=n("9f7f"),b=n("d039"),w=g.UNSUPPORTED_Y,S=4294967295,T=Math.min,y=[].push,I=a(/./.exec),k=a(y),E=a("".slice),R=!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,d,p=[],x=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),v=0,g=new RegExp(e.source,x+"g");while(i=o(m,g,a)){if(u=g.lastIndex,u>v&&(k(p,E(a,v,i.index)),i.length>1&&i.index<a.length&&r(y,p,h(i,1)),d=i[0].length,v=u,p.length>=l))break;g.lastIndex===i.index&&g.lastIndex++}return v===a.length?!d&&I(g,"")||k(p,""):k(p,E(a,v)),p.length>l?h(p,0,l):p}:"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:x(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),x=o.unicode,h=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(w?"g":"y"),m=new s(w?"^(?:"+o.source+")":o,h),g=void 0===r?S:r>>>0;if(0===g)return[];if(0===l.length)return null===v(m,l)?[l]:[];var b=0,y=0,I=[];while(y<l.length){m.lastIndex=w?0:y;var R,M=v(m,w?E(l,y):l);if(null===M||(R=T(p(m.lastIndex+(w?y:0)),l.length))===b)y=d(l,y,x);else{if(k(I,E(l,b,y)),I.length===g)return I;for(var _=1;_<=M.length-1;_++)if(k(I,M[_]),I.length===g)return I;y=b=R}}return k(I,E(l,b)),I}]}),!R,w)},"13eb":function(e,t,n){"use strict";n("4f71")},"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),d=c(i(u-s,0)),p=0;s<u;s++,p++)l(d,p,e[s]);return d.length=p,d}},"4f71":function(e,t,n){},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)}},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,d=n("fce3"),p=n("107c"),f=i("native-string-replace",String.prototype.replace),x=RegExp.prototype.exec,h=x,v=o("".charAt),m=o("".indexOf),g=o("".replace),b=o("".slice),w=function(){var e=/a/,t=/b*/g;return r(x,e,"a"),r(x,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),S=c.BROKEN_CARET,T=void 0!==/()??/.exec("")[1],y=w||T||S||d||p;y&&(h=function(e){var t,n,o,c,i,d,p,y=this,I=u(y),k=a(e),E=I.raw;if(E)return E.lastIndex=y.lastIndex,t=r(h,E,k),y.lastIndex=E.lastIndex,t;var R=I.groups,M=S&&y.sticky,_=r(l,y),C=y.source,P=0,J=k;if(M&&(_=g(_,"y",""),-1===m(_,"g")&&(_+="g"),J=b(k,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==v(k,y.lastIndex-1))&&(C="(?: "+C+")",J=" "+J,P++),n=new RegExp("^(?:"+C+")",_)),T&&(n=new RegExp("^"+C+"$(?!\\s)",_)),w&&(o=y.lastIndex),c=r(x,M?n:y,J),M?c?(c.input=b(c.input,P),c[0]=b(c[0],P),c.index=y.lastIndex,y.lastIndex+=c[0].length):y.lastIndex=0:w&&c&&(y.lastIndex=y.global?c.index+c[0].length:o),T&&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&&R)for(c.groups=d=s(null),i=0;i<R.length;i++)p=R[i],d[p[0]]=c[p[1]];return c}),e.exports=h},"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,d){var p=c(e),f=!l((function(){var t={};return t[p]=function(){return 7},7!=""[e](t)})),x=f&&!l((function(){var t=!1,n=/a/;return"split"===e&&(n={},n.constructor={},n.constructor[s]=function(){return n},n.flags="",n[p]=/./[p]),n.exec=function(){return t=!0,null},n[p](""),!t}));if(!f||!x||n){var h=r(/./[p]),v=t(p,""[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:h(t,n,o)}:{done:!0,value:c(n,t,o)}:{done:!1}}));o(String.prototype,e,v[0]),o(u,p,v[1])}d&&i(u[p],"sham",!0)}},db5a: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-screen"}},[e._m(0),n("div",{staticClass:"one-block-2"},[n("a-space",[n("a-button",{on:{click:function(t){return e.getTheme()}}},[e._v("获取模式")])],1),n("span",[e._v(" 结果:"+e._s(e.currentThemeMode)+" ")])],1),n("div",{staticClass:"one-block-1"},[e._v(" 2. 设置主题模式(请自行实现前端UI效果) ")]),n("div",{staticClass:"one-block-2"},[n("a-radio-group",{on:{change:e.setTheme},model:{value:e.currentThemeMode,callback:function(t){e.currentThemeMode=t},expression:"currentThemeMode"}},[n("a-radio",{attrs:{value:e.themeList[0]}},[e._v(" "+e._s(e.themeList[0])+" ")]),n("a-radio",{attrs:{value:e.themeList[1]}},[e._v(" "+e._s(e.themeList[1])+" ")]),n("a-radio",{attrs:{value:e.themeList[2]}},[e._v(" "+e._s(e.themeList[2])+" ")])],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. 系统主题模式 ")])])}],a=n("a358"),l={data:function(){return{currentThemeMode:"",themeList:["system","light","dark"]}},mounted:function(){},methods:{setTheme:function(e){var t=this;this.currentThemeMode=e.target.value,console.log("setTheme currentThemeMode:",this.currentThemeMode),this.$ipc.invoke(a["a"].setTheme,this.currentThemeMode).then((function(e){console.log("result:",e),t.currentThemeMode=e}))},getTheme:function(){var e=this;this.$ipc.invoke(a["a"].getTheme).then((function(t){console.log("result:",t),e.currentThemeMode=t}))}}},c=l,i=(n("13eb"),n("2877")),s=Object(i["a"])(c,r,o,!1,null,"6d2477b5",null);t["default"]=s.exports},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-42d75be2.2319c501.js.map
|