| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-21689cc4"],{"107c":function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp;e.exports=n((function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},1276:function(e,t,r){"use strict";var n=r("2ba4"),o=r("c65b"),i=r("e330"),c=r("d784"),a=r("44e7"),l=r("825a"),s=r("1d80"),u=r("4840"),d=r("8aa5"),f=r("50c4"),p=r("577e"),w=r("dc4a"),v=r("4dae"),g=r("14c3"),h=r("9263"),m=r("9f7f"),b=r("d039"),x=m.UNSUPPORTED_Y,k=4294967295,S=Math.min,y=[].push,E=i(/./.exec),I=i(y),R=i("".slice),_=!b((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));c("split",(function(e,t,r){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,r){var i=p(s(this)),c=void 0===r?k:r>>>0;if(0===c)return[];if(void 0===e)return[i];if(!a(e))return o(t,i,e,c);var l,u,d,f=[],w=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),g=0,m=new RegExp(e.source,w+"g");while(l=o(h,m,i)){if(u=m.lastIndex,u>g&&(I(f,R(i,g,l.index)),l.length>1&&l.index<i.length&&n(y,f,v(l,1)),d=l[0].length,g=u,f.length>=c))break;m.lastIndex===l.index&&m.lastIndex++}return g===i.length?!d&&E(m,"")||I(f,""):I(f,R(i,g)),f.length>c?v(f,0,c):f}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:o(t,this,e,r)}:t,[function(t,r){var n=s(this),c=void 0==t?void 0:w(t,e);return c?o(c,t,n,r):o(i,p(n),t,r)},function(e,n){var o=l(this),c=p(e),a=r(i,o,c,n,i!==t);if(a.done)return a.value;var s=u(o,RegExp),w=o.unicode,v=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(x?"g":"y"),h=new s(x?"^(?:"+o.source+")":o,v),m=void 0===n?k:n>>>0;if(0===m)return[];if(0===c.length)return null===g(h,c)?[c]:[];var b=0,y=0,E=[];while(y<c.length){h.lastIndex=x?0:y;var _,C=g(h,x?R(c,y):c);if(null===C||(_=S(f(h.lastIndex+(x?y:0)),c.length))===b)y=d(c,y,w);else{if(I(E,R(c,b,y)),E.length===m)return E;for(var P=1;P<=C.length-1;P++)if(I(E,C[P]),E.length===m)return E;y=b=_}}return I(E,R(c,b)),E}]}),!_,x)},"14c3":function(e,t,r){var n=r("da84"),o=r("c65b"),i=r("825a"),c=r("1626"),a=r("c6b6"),l=r("9263"),s=n.TypeError;e.exports=function(e,t){var r=e.exec;if(c(r)){var n=o(r,e,t);return null!==n&&i(n),n}if("RegExp"===a(e))return o(l,e,t);throw s("RegExp#exec called on incompatible receiver")}},"44e7":function(e,t,r){var n=r("861d"),o=r("c6b6"),i=r("b622"),c=i("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[c])?!!t:"RegExp"==o(e))}},"4dae":function(e,t,r){var n=r("da84"),o=r("23cb"),i=r("07fa"),c=r("8418"),a=n.Array,l=Math.max;e.exports=function(e,t,r){for(var n=i(e),s=o(t,n),u=o(void 0===r?n:r,n),d=a(l(u-s,0)),f=0;s<u;s++,f++)c(d,f,e[s]);return d.length=f,d}},8418:function(e,t,r){"use strict";var n=r("a04b"),o=r("9bf2"),i=r("5c6c");e.exports=function(e,t,r){var c=n(t);c in e?o.f(e,c,i(0,r)):e[c]=r}},"8aa5":function(e,t,r){"use strict";var n=r("6547").charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},9263:function(e,t,r){"use strict";var n=r("c65b"),o=r("e330"),i=r("577e"),c=r("ad6d"),a=r("9f7f"),l=r("5692"),s=r("7c73"),u=r("69f3").get,d=r("fce3"),f=r("107c"),p=l("native-string-replace",String.prototype.replace),w=RegExp.prototype.exec,v=w,g=o("".charAt),h=o("".indexOf),m=o("".replace),b=o("".slice),x=function(){var e=/a/,t=/b*/g;return n(w,e,"a"),n(w,t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),k=a.BROKEN_CARET,S=void 0!==/()??/.exec("")[1],y=x||S||k||d||f;y&&(v=function(e){var t,r,o,a,l,d,f,y=this,E=u(y),I=i(e),R=E.raw;if(R)return R.lastIndex=y.lastIndex,t=n(v,R,I),y.lastIndex=R.lastIndex,t;var _=E.groups,C=k&&y.sticky,P=n(c,y),T=y.source,J=0,O=I;if(C&&(P=m(P,"y",""),-1===h(P,"g")&&(P+="g"),O=b(I,y.lastIndex),y.lastIndex>0&&(!y.multiline||y.multiline&&"\n"!==g(I,y.lastIndex-1))&&(T="(?: "+T+")",O=" "+O,J++),r=new RegExp("^(?:"+T+")",P)),S&&(r=new RegExp("^"+T+"$(?!\\s)",P)),x&&(o=y.lastIndex),a=n(w,C?r:y,O),C?a?(a.input=b(a.input,J),a[0]=b(a[0],J),a.index=y.lastIndex,y.lastIndex+=a[0].length):y.lastIndex=0:x&&a&&(y.lastIndex=y.global?a.index+a[0].length:o),S&&a&&a.length>1&&n(p,a[0],r,(function(){for(l=1;l<arguments.length-2;l++)void 0===arguments[l]&&(a[l]=void 0)})),a&&_)for(a.groups=d=s(null),l=0;l<_.length;l++)f=_[l],d[f[0]]=a[f[1]];return a}),e.exports=v},"9f7f":function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp,c=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),a=c||n((function(){return!i("a","y").sticky})),l=c||n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));e.exports={BROKEN_CARET:l,MISSED_STICKY:a,UNSUPPORTED_Y:c}},a15b:function(e,t,r){"use strict";var n=r("23e7"),o=r("e330"),i=r("44ad"),c=r("fc6a"),a=r("a640"),l=o([].join),s=i!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:s||!u},{join:function(e){return l(c(this),void 0===e?",":e)}})},a358:function(e,t,r){"use strict";r.d(t,"a",(function(){return c})),r.d(t,"c",(function(){return a})),r.d(t,"b",(function(){return l}));r("a15b"),r("ac1f"),r("1276");var n=r("cff8"),o=r.n(n),i=r("b775"),c={test:"controller.framework.test",checkForUpdater:"controller.framework.checkForUpdater",downloadApp:"controller.framework.downloadApp",dbOperation:"controller.framework.dbOperation",sqlitedbOperation:"controller.framework.sqlitedbOperation",uploadFile:"controller.framework.uploadFile",checkHttpServer:"controller.framework.checkHttpServer",doHttpRequest:"controller.framework.doHttpRequest",doSocketRequest:"controller.framework.doSocketRequest",ipcInvokeMsg:"controller.framework.ipcInvokeMsg",ipcSendSyncMsg:"controller.framework.ipcSendSyncMsg",ipcSendMsg:"controller.framework.ipcSendMsg",startJavaServer:"controller.framework.startJavaServer",closeJavaServer:"controller.framework.closeJavaServer",someJob:"controller.framework.someJob",timerJobProgress:"controller.framework.timerJobProgress",createPool:"controller.framework.createPool",createPoolNotice:"controller.framework.createPoolNotice",someJobByPool:"controller.framework.someJobByPool",hello:"controller.framework.hello",openSoftware:"controller.framework.openSoftware",messageShow:"controller.os.messageShow",messageShowConfirm:"controller.os.messageShowConfirm",selectFolder:"controller.os.selectFolder",openDirectory:"controller.os.openDirectory",loadViewContent:"controller.os.loadViewContent",removeViewContent:"controller.os.removeViewContent",createWindow:"controller.os.createWindow",getWCid:"controller.os.getWCid",sendNotification:"controller.os.sendNotification",initPowerMonitor:"controller.os.initPowerMonitor",getScreen:"controller.os.getScreen",autoLaunch:"controller.os.autoLaunch",setTheme:"controller.os.setTheme",getTheme:"controller.os.getTheme",getPrinterList:"controller.hardware.getPrinterList",print:"controller.hardware.print",printStatus:"controller.hardware.printStatus",selectFile:"controller.effect.selectFile"},a={appUpdater:"app.updater",window1ToWindow2:"window1-to-window2",window2ToWindow1:"window2-to-window1"},l=function(e,t){var r=o.a.get("httpServiceConfig"),n=r.server||"http://localhost:7071",c=e.split(".").join("/");return c=n+"/"+c,console.log("url:",c),Object(i["b"])({url:c,method:"post",data:t,params:{},timeout:6e4})}},a640:function(e,t,r){"use strict";var n=r("d039");e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){return 1},1)}))}},ac1f:function(e,t,r){"use strict";var n=r("23e7"),o=r("9263");n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},ad6d:function(e,t,r){"use strict";var n=r("825a");e.exports=function(){var e=n(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}},b57d:function(e,t,r){"use strict";r("be3a")},be3a:function(e,t,r){},ceda:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app-base-window"}},[e._m(0),r("div",{staticClass:"one-block-2"},[r("a-space",[r("a-button",{on:{click:function(t){return e.createWindow(0)}}},[e._v("打开哔哩哔哩")])],1)],1),e._m(1),r("div",{staticClass:"one-block-2"},[r("a-space",[r("a-button",{on:{click:function(t){return e.createWindow(1)}}},[e._v("打开html页面")])],1)],1),e._m(2),r("div",{staticClass:"one-block-2"},[r("a-space",[r("a-button",{on:{click:function(t){return e.createWindow(2)}}},[e._v("打开vue页面")])],1)],1)])},o=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"one-block-1"},[r("span",[e._v(" 1. 新窗口中加载web内容 ")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"one-block-1"},[r("span",[e._v(" 2. 新窗口中加载html内容 ")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"one-block-1"},[r("span",[e._v(" 3. 新窗口中加载当前项目页面 ")])])}],i=r("a358"),c={data:function(){return{views:[{type:"web",content:"https://www.bilibili.com/",windowName:"window-web",windowTitle:"bilibili"},{type:"html",content:"/public/html/view_example.html",windowName:"window-html",windowTitle:"html window"},{type:"vue",content:"/#/special/subwindow",windowName:"window-vue",windowTitle:"vue window"}]}},methods:{createWindow:function(e){this.$ipc.invoke(i["a"].createWindow,this.views[e]).then((function(e){console.log(e)}))}}},a=c,l=(r("b57d"),r("2877")),s=Object(l["a"])(a,n,o,!1,null,"be4003c2",null);t["default"]=s.exports},d784:function(e,t,r){"use strict";r("ac1f");var n=r("e330"),o=r("6eeb"),i=r("9263"),c=r("d039"),a=r("b622"),l=r("9112"),s=a("species"),u=RegExp.prototype;e.exports=function(e,t,r,d){var f=a(e),p=!c((function(){var t={};return t[f]=function(){return 7},7!=""[e](t)})),w=p&&!c((function(){var t=!1,r=/a/;return"split"===e&&(r={},r.constructor={},r.constructor[s]=function(){return r},r.flags="",r[f]=/./[f]),r.exec=function(){return t=!0,null},r[f](""),!t}));if(!p||!w||r){var v=n(/./[f]),g=t(f,""[e],(function(e,t,r,o,c){var a=n(e),l=t.exec;return l===i||l===u.exec?p&&!c?{done:!0,value:v(t,r,o)}:{done:!0,value:a(r,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,f,g[1])}d&&l(u[f],"sham",!0)}},fce3:function(e,t,r){var n=r("d039"),o=r("da84"),i=o.RegExp;e.exports=n((function(){var e=i(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)}))}}]);
- //# sourceMappingURL=chunk-21689cc4.4f42ddb0.js.map
|