This commit is contained in:
wallace5303
2022-02-23 23:28:39 +08:00
parent 309d4fc5f2
commit 7d70aa5919
37 changed files with 351 additions and 1 deletions

1
public/dist/css/app.9d1a37c1.css vendored Normal file
View File

@@ -0,0 +1 @@
#app{font-family:Avenir,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-align:center;color:#2c3e50}#app,#app-layout-sider[data-v-9dbf58d6]{height:100%}#app-layout-sider .logo[data-v-9dbf58d6]{border-bottom:1px solid #e8e8e8}#app-layout-sider .pic-logo[data-v-9dbf58d6]{height:32px;margin:10px}#app-layout-sider .layout-sider[data-v-9dbf58d6]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8}#app-layout-sider .menu-item .ant-menu-item[data-v-9dbf58d6]{background-color:#fff;margin-top:0;margin-bottom:0;padding:0 0!important}#app-menu[data-v-8e61d820]{height:100%;text-align:center}#app-menu .layout-sider[data-v-8e61d820]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8;background-color:#fafafa;overflow:auto}

View File

@@ -0,0 +1 @@
#app-base-file[data-v-17d07b44]{padding:0 10px;text-align:left;width:100%}#app-base-file .one-block-1[data-v-17d07b44]{font-size:16px;padding-top:10px}#app-base-file .footer[data-v-17d07b44],#app-base-file .one-block-2[data-v-17d07b44]{padding-top:10px}

View File

@@ -0,0 +1 @@
#app-base-db[data-v-b447bbf0]{padding:0 10px;text-align:left;width:100%}#app-base-db .one-block-1[data-v-b447bbf0]{font-size:16px;padding-top:10px}#app-base-db .one-block-2[data-v-b447bbf0]{padding-top:10px}

File diff suppressed because one or more lines are too long

View File

@@ -4,4 +4,4 @@
::-webkit-scrollbar-track{background:0 0}
::-webkit-scrollbar-thumb{background:#E6FFEE;-webkit-transition:.3s;transition:.3s}
::-webkit-scrollbar-thumb:hover{background-color:#07C160}
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-0cf38b6e.6a9bab8f.css" rel="prefetch"><link href="/css/chunk-25a0809c.f5788196.css" rel="prefetch"><link href="/css/chunk-26360310.4b14b6bb.css" rel="prefetch"><link href="/css/chunk-26fcacb7.6c177387.css" rel="prefetch"><link href="/css/chunk-2f42023a.64a5cb0d.css" rel="prefetch"><link href="/css/chunk-30d91a2c.fc17c30a.css" rel="prefetch"><link href="/css/chunk-4557c3f4.69d9af12.css" rel="prefetch"><link href="/css/chunk-490df4c2.11e2850e.css" rel="prefetch"><link href="/css/chunk-4d0be246.94e812c5.css" rel="prefetch"><link href="/css/chunk-5d9adce2.c38e352c.css" rel="prefetch"><link href="/css/chunk-72d90f2a.ffa3e4f4.css" rel="prefetch"><link href="/css/chunk-9234b1da.0f3904b9.css" rel="prefetch"><link href="/css/chunk-94d99d1e.8159476a.css" rel="prefetch"><link href="/css/chunk-b67071c4.a4424700.css" rel="prefetch"><link href="/css/chunk-b8ab1f0c.9e732e2f.css" rel="prefetch"><link href="/js/chunk-0cf38b6e.73befe57.js" rel="prefetch"><link href="/js/chunk-25a0809c.02387fee.js" rel="prefetch"><link href="/js/chunk-26360310.90f0183a.js" rel="prefetch"><link href="/js/chunk-26fcacb7.ea9d617c.js" rel="prefetch"><link href="/js/chunk-2f42023a.248fc31f.js" rel="prefetch"><link href="/js/chunk-30d91a2c.75899154.js" rel="prefetch"><link href="/js/chunk-4557c3f4.1b432690.js" rel="prefetch"><link href="/js/chunk-490df4c2.c8a48363.js" rel="prefetch"><link href="/js/chunk-4d0be246.c4270f08.js" rel="prefetch"><link href="/js/chunk-5d9adce2.1c2491c7.js" rel="prefetch"><link href="/js/chunk-72d90f2a.bd6dc740.js" rel="prefetch"><link href="/js/chunk-9234b1da.fc4b38c0.js" rel="prefetch"><link href="/js/chunk-94d99d1e.e7d74208.js" rel="prefetch"><link href="/js/chunk-b67071c4.2a87e101.js" rel="prefetch"><link href="/js/chunk-b8ab1f0c.0f41b54b.js" rel="prefetch"><link href="/css/app.5db0c334.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.886b57a8.js" rel="preload" as="script"><link href="/js/chunk-vendors.23b80c7c.js" rel="preload" as="script"><link href="/css/chunk-vendors.9ca8efee.css" rel="stylesheet"><link href="/css/app.5db0c334.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but EE doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.23b80c7c.js"></script><script src="/js/app.886b57a8.js"></script></body></html>
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-0cf38b6e.6a9bab8f.css" rel="prefetch"><link href="/css/chunk-250eb7b8.6aedcea9.css" rel="prefetch"><link href="/css/chunk-25a0809c.f5788196.css" rel="prefetch"><link href="/css/chunk-26360310.4b14b6bb.css" rel="prefetch"><link href="/css/chunk-26fcacb7.6c177387.css" rel="prefetch"><link href="/css/chunk-2f42023a.64a5cb0d.css" rel="prefetch"><link href="/css/chunk-490df4c2.11e2850e.css" rel="prefetch"><link href="/css/chunk-4d0be246.94e812c5.css" rel="prefetch"><link href="/css/chunk-72d90f2a.ffa3e4f4.css" rel="prefetch"><link href="/css/chunk-75fe25aa.fa7f58c0.css" rel="prefetch"><link href="/css/chunk-9234b1da.0f3904b9.css" rel="prefetch"><link href="/css/chunk-94d99d1e.8159476a.css" rel="prefetch"><link href="/css/chunk-b67071c4.a4424700.css" rel="prefetch"><link href="/css/chunk-b8ab1f0c.9e732e2f.css" rel="prefetch"><link href="/js/chunk-0cf38b6e.4b0a584f.js" rel="prefetch"><link href="/js/chunk-250eb7b8.26cffca5.js" rel="prefetch"><link href="/js/chunk-25a0809c.2d2d5fd3.js" rel="prefetch"><link href="/js/chunk-26360310.082a7ddd.js" rel="prefetch"><link href="/js/chunk-26fcacb7.54be738a.js" rel="prefetch"><link href="/js/chunk-2f42023a.f4cc7b9b.js" rel="prefetch"><link href="/js/chunk-490df4c2.51579142.js" rel="prefetch"><link href="/js/chunk-4d0be246.13fd247a.js" rel="prefetch"><link href="/js/chunk-72d90f2a.c97c9f80.js" rel="prefetch"><link href="/js/chunk-75fe25aa.40094284.js" rel="prefetch"><link href="/js/chunk-9234b1da.8ae89e14.js" rel="prefetch"><link href="/js/chunk-94d99d1e.8d23fa95.js" rel="prefetch"><link href="/js/chunk-b67071c4.11c1aa38.js" rel="prefetch"><link href="/js/chunk-b8ab1f0c.5021379a.js" rel="prefetch"><link href="/css/app.9d1a37c1.css" rel="preload" as="style"><link href="/css/chunk-vendors.f4913a35.css" rel="preload" as="style"><link href="/js/app.17224cc8.js" rel="preload" as="script"><link href="/js/chunk-vendors.9abfb42b.js" rel="preload" as="script"><link href="/css/chunk-vendors.f4913a35.css" rel="stylesheet"><link href="/css/app.9d1a37c1.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but EE doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><script src="/js/chunk-vendors.9abfb42b.js"></script><script src="/js/app.17224cc8.js"></script></body></html>

2
public/dist/js/app.17224cc8.js vendored Normal file

File diff suppressed because one or more lines are too long

1
public/dist/js/app.17224cc8.js.map vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0cf38b6e"],{"0f0d":function(t,n,e){},2034:function(t,n,e){"use strict";e.r(n);var c=function(){var t=this,n=t.$createElement;t._self._c;return t._m(0)},s=[function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{attrs:{id:"app-other"}},[e("div",{staticClass:"one-block-1"},[e("span",[t._v(" 待开发... ")])]),e("div",{staticClass:"one-block-2"})])}],a={data:function(){return{}},methods:{test:function(){}}},i=a,o=(e("dfa9"),e("2877")),r=Object(o["a"])(i,c,s,!1,null,"041b2204",null);n["default"]=r.exports},dfa9:function(t,n,e){"use strict";e("0f0d")}}]);
//# sourceMappingURL=chunk-0cf38b6e.4b0a584f.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/views/other/Index.vue?63c1","webpack:///src/views/other/Index.vue","webpack:///./src/views/other/Index.vue?2b13","webpack:///./src/views/other/Index.vue","webpack:///./src/views/other/Index.vue?031e"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","attrs","staticClass","_v","data","methods","test","component"],"mappings":"gJAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAsBH,EAAII,MAAMC,GAAO,OAAOL,EAAIM,GAAG,IACnGC,EAAkB,CAAC,WAAa,IAAIP,EAAIC,KAASC,EAAGF,EAAIG,eAAmBE,EAAGL,EAAII,MAAMC,IAAIH,EAAG,OAAOG,EAAG,MAAM,CAACG,MAAM,CAAC,GAAK,cAAc,CAACH,EAAG,MAAM,CAACI,YAAY,eAAe,CAACJ,EAAG,OAAO,CAACL,EAAIU,GAAG,gBAAgBL,EAAG,MAAM,CAACI,YAAY,oBCY9N,GACbE,KADF,WAEI,MAAO,IAETC,QAASA,CACPC,KADJ,eCjB8V,I,wBCQ1VC,EAAY,eACd,EACAf,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,2CCnBf","file":"js/chunk-0cf38b6e.4b0a584f.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _vm._m(0)}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app-other\"}},[_c('div',{staticClass:\"one-block-1\"},[_c('span',[_vm._v(\" 待开发... \")])]),_c('div',{staticClass:\"one-block-2\"})])}]\n\nexport { render, staticRenderFns }","<template>\n <div id=\"app-other\">\n <div class=\"one-block-1\">\n <span>\n 待开发...\n </span>\n </div> \n <div class=\"one-block-2\">\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n data() {\n return {};\n },\n methods: {\n test () {\n },\n }\n};\n</script>\n<style lang=\"less\" scoped>\n#app-other {\n padding: 0px 10px;\n text-align: left;\n width: 100%;\n .one-block-1 {\n font-size: 16px;\n padding-top: 10px;\n }\n .one-block-2 {\n padding-top: 10px;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Index.vue?vue&type=template&id=041b2204&scoped=true&\"\nimport script from \"./Index.vue?vue&type=script&lang=js&\"\nexport * from \"./Index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Index.vue?vue&type=style&index=0&id=041b2204&lang=less&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"041b2204\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Index.vue?vue&type=style&index=0&id=041b2204&lang=less&scoped=true&\""],"sourceRoot":""}

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-250eb7b8"],{9177:function(e,t,o){},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return i})),o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return l}));var n=o("b775"),a={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},r={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"},l={appUpdater:"app.updater"},i=function(e,t){return Object(n["b"])({url:a[e],method:"post",data:t})}},b38d:function(e,t,o){"use strict";o("9177")},c9d6:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-file"}},[o("div",{staticClass:"one-block-2"},[0!==e.image_info.length?o("a-list",{attrs:{size:"small",bordered:"","data-source":e.image_info},scopedSlots:e._u([{key:"renderItem",fn:function(t){return o("a-list-item",{staticStyle:{"text-align":"left"}},[e._v(" "+e._s(t.id)+". "+e._s(t.imageUrlText)+":  "),o("a",{attrs:{href:t.url,target:"_blank"}},[e._v(e._s(t.url))])])}}],null,!1,1145998633)}):e._e()],1),e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.messageShow("ipc")}}},[e._v("消息提示(ipc)")]),o("a-button",{on:{click:function(t){return e.messageShowConfirm("ipc")}}},[e._v("消息提示与确认(ipc)")])],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-row",[o("a-col",{attrs:{span:12}},[o("a-input",{attrs:{value:e.dir_path,"addon-before":"保存目录"},model:{value:e.dir_path,callback:function(t){e.dir_path=t},expression:"dir_path"}})],1),o("a-col",{attrs:{span:12}},[o("a-button",{on:{click:e.selectDir}},[e._v(" 修改目录 ")])],1)],1)],1),e._m(2),o("div",{staticClass:"one-block-2"},[o("a-list",{attrs:{grid:{gutter:16,column:4},"data-source":e.file_list},scopedSlots:e._u([{key:"renderItem",fn:function(t){return o("a-list-item",{on:{click:function(o){return e.openDirectry(t.id)}}},[o("a-card",{attrs:{title:t.content}},[o("a-button",{attrs:{type:"link"}},[e._v(" 打开 ")])],1)],1)}}])})],1),o("div",{staticClass:"footer"})])},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 系统原生对话框 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 2. 选择保存目录 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 4. 打开文件夹 ")])])}],r=o("a358"),l=[{content:"【下载】目录",id:"downloads"},{content:"【图片】目录",id:"pictures"},{content:"【文档】目录",id:"documents"},{content:"【音乐】目录",id:"music"}],i={data:function(){return{file_list:l,image_info:[],num:0,dir_path:"D:\\www\\ee"}},methods:{openDirectry:function(e){this.$ipcCall(r["a"].openDirectory,{id:e}).then((function(e){}))},selectDir:function(){var e=this;e.$ipcCall(r["a"].selectFolder,"").then((function(t){e.dir_path=t,e.$message.info(t)}))},messageShow:function(e){var t=this;console.log("[messageShow] type:",e),"http"==e?Object(r["b"])("messageShow",{}).then((function(e){if(0!==e.code)return!1;console.log("res:",e)})).catch((function(e){t.$message.error(e+"异常")})):t.$ipcCall(r["a"].messageShow,"").then((function(e){t.$message.info(e)}))},messageShowConfirm:function(e){var t=this;console.log("[messageShowConfirm] type:",e),"http"==e?Object(r["b"])("messageShowConfirm",{}).then((function(e){if(0!==e.code)return!1;console.log("res:",e)})).catch((function(e){t.$message.error(e+"异常")})):t.$ipcCall(r["a"].messageShowConfirm,"").then((function(e){t.$message.info(e)}))}}},s=i,c=(o("b38d"),o("2877")),p=Object(c["a"])(s,n,a,!1,null,"17d07b44",null);t["default"]=p.exports}}]);
//# sourceMappingURL=chunk-250eb7b8.26cffca5.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-25a0809c"],{"29af":function(e,o,t){},"340f":function(e,o,t){"use strict";t("29af")},a358:function(e,o,t){"use strict";t.d(o,"b",(function(){return c})),t.d(o,"a",(function(){return r})),t.d(o,"c",(function(){return l}));var n=t("b775"),a={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},r={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"},l={appUpdater:"app.updater"},c=function(e,o){return Object(n["b"])({url:a[e],method:"post",data:o})}},acbf:function(e,o,t){"use strict";t.r(o);var n=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{attrs:{id:"app-base-test-api"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-button",{on:{click:function(o){return e.exec(1)}}},[e._v(" 点击 ")])],1)])},a=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 测试一些操作系统api ")])])}],r=t("a358"),l={data:function(){return{type:1}},methods:{exec:function(e){var o={id:e};Object(r["b"])("test1",o).then((function(e){if(0!==e.code)return!1})).catch((function(e){console.log("err:",e)}))}}},c=l,p=(t("340f"),t("2877")),i=Object(p["a"])(c,n,a,!1,null,"48ca31fa",null);o["default"]=i.exports}}]);
//# sourceMappingURL=chunk-25a0809c.2d2d5fd3.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26360310"],{5756:function(e,t,o){"use strict";o("e3e4")},"8f7f":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-demo-window"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.checkForUpdater()}}},[e._v("检查更新")]),o("a-button",{on:{click:function(t){return e.download()}}},[e._v("下载并安装")])],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-progress",{attrs:{percent:e.percentNumber,status:"active"}}),o("a-space",[e._v(" "+e._s(e.progress)+" ")])],1)])},r=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 自动更新 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 2. 下载进度 ")])])}],a=o("a358"),l={data:function(){return{status:0,progress:"",percentNumber:0}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(a["c"].appUpdater),this.$ipc.on(a["c"].appUpdater,(function(t,o){o=JSON.parse(o),e.status=o.status,3==o.status?(e.progress=o.desc,e.percentNumber=o.percentNumber):e.$message.info(o.desc)}))},checkForUpdater:function(){this.$ipcCall(a["a"].checkForUpdater).then((function(e){console.log(e)}))},download:function(){1===this.status?this.$ipcCall(a["a"].downloadApp).then((function(e){console.log(e)})):this.$message.info("没有可用版本")}}},c=l,s=(o("5756"),o("2877")),i=Object(s["a"])(c,n,r,!1,null,"cae527a6",null);t["default"]=i.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return l}));var n=o("b775"),r={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},l={appUpdater:"app.updater"},c=function(e,t){return Object(n["b"])({url:r[e],method:"post",data:t})}},e3e4:function(e,t,o){}}]);
//# sourceMappingURL=chunk-26360310.082a7ddd.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-26fcacb7"],{"314d":function(e,t,o){"use strict";o("a561")},"4a19":function(e,t,o){"use strict";o.r(t);var a=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-system-launch"}},[o("div",{staticClass:"one-block-2"},[o("a-list",{staticClass:"set-auto",attrs:{itemLayout:"horizontal"}},[o("a-list-item",{staticStyle:{"text-align":"left"},scopedSlots:e._u([{key:"actions",fn:function(){return[o("a-switch",{attrs:{checkedChildren:"开",unCheckedChildren:"关"},on:{change:function(t){return e.autoLaunchChange()}},model:{value:e.autoLaunchChecked,callback:function(t){e.autoLaunchChecked=t},expression:"autoLaunchChecked"}})]},proxy:!0}])},[o("a-list-item-meta",{scopedSlots:e._u([{key:"title",fn:function(){return[o("a",[e._v("启动")])]},proxy:!0},{key:"description",fn:function(){return[o("span",[e._v(" 开机自动启动 ")])]},proxy:!0}])})],1)],1)],1)])},n=[],l=o("a358"),r={data:function(){return{autoLaunchChecked:!1}},mounted:function(){this.init()},methods:{init:function(){var e=this,t=this;t.$ipcCall(l["a"].autoLaunch,"check").then((function(t){console.log("[ipcRenderer] [autoLaunch] result:",t),e.autoLaunchChecked=t.status}))},autoLaunchChange:function(e){console.log("[ipcRenderer] [autoLaunch] self.autoLaunchChecked:",this.autoLaunchChecked)}}},c=r,i=(o("314d"),o("2877")),s=Object(i["a"])(c,a,n,!1,null,"59a6529a",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return l})),o.d(t,"c",(function(){return r}));var a=o("b775"),n={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},l={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"},r={appUpdater:"app.updater"},c=function(e,t){return Object(a["b"])({url:n[e],method:"post",data:t})}},a561:function(e,t,o){}}]);
//# sourceMappingURL=chunk-26fcacb7.54be738a.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2f42023a"],{"254e":function(e,t,o){},"27be":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-socket-ipc"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-list",{attrs:{bordered:""}},[o("a-input-search",{on:{search:e.helloHandle},model:{value:e.content,callback:function(t){e.content=t},expression:"content"}},[o("a-button",{attrs:{slot:"enterButton"},slot:"enterButton"},[e._v(" send ")])],1)],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-list",{attrs:{bordered:""}},[o("a-input-search",{on:{search:e.executeJSHandle},model:{value:e.content2,callback:function(t){e.content2=t},expression:"content2"}},[o("a-button",{attrs:{slot:"enterButton"},slot:"enterButton"},[e._v(" send ")])],1)],1)],1),e._m(2),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:e.socketMsgStart}},[e._v("开始")]),o("a-button",{on:{click:e.socketMsgStop}},[e._v("结束")]),e._v(" 结果:"+e._s(e.socketMessageString)+" ")],1)],1)])},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 渲染进程与主进程IPC通信 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 2. 主进程API执行网页函数 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 3. 长消息: 服务端持续向前端页面发消息 ")])])}],s=o("a358"),l={data:function(){return{content:"hello",content2:"hello world",reply:"",socketMessageString:""}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(s["a"].socketMessageStart),this.$ipc.removeAllListeners(s["a"].socketMessageStop),this.$ipc.on(s["a"].socketMessageStart,(function(t,o){console.log("[ipcRenderer] [socketMsgStart] result:",o),e.socketMessageString=o})),this.$ipc.on(s["a"].socketMessageStop,(function(t,o){console.log("[ipcRenderer] [socketMsgStop] result:",o),e.socketMessageString=o}))},helloHandle:function(e){var t=this;this.$ipcCall(s["a"].hello,e).then((function(e){t.$message.info(e)}))},executeJSHandle:function(e){this.$ipcCall(s["a"].executeJS,e).then((function(e){console.log(e)}))},socketMsgStart:function(){this.$ipc.send(s["a"].socketMessageStart,"时间")},socketMsgStop:function(){this.$ipc.send(s["a"].socketMessageStop,"")}}},r=l,c=(o("ef68"),o("2877")),i=Object(c["a"])(r,n,a,!1,null,"19858933",null);t["default"]=i.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return s})),o.d(t,"c",(function(){return l}));var n=o("b775"),a={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},s={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"},l={appUpdater:"app.updater"},r=function(e,t){return Object(n["b"])({url:a[e],method:"post",data:t})}},ef68:function(e,t,o){"use strict";o("254e")}}]);
//# sourceMappingURL=chunk-2f42023a.f4cc7b9b.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-490df4c2"],{"20e0":function(e,t,o){},"889f":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-window"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.createWindow(0)}}},[e._v("打开哔哩哔哩")])],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.createWindow(1)}}},[e._v("打开html页面")])],1)],1)])},l=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 新窗口中加载web内容 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 2. 新窗口中加载html内容 ")])])}],a=o("a358"),r={data:function(){return{views:[{type:"web",content:"https://www.bilibili.com/"},{type:"html",content:"/public/html/view_example.html"}]}},methods:{createWindow:function(e){this.$ipcCall(a["a"].createWindow,this.views[e]).then((function(e){console.log(e)}))}}},c=r,i=(o("dbb9"),o("2877")),p=Object(i["a"])(c,n,l,!1,null,"a421017e",null);t["default"]=p.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return r}));var n=o("b775"),l={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},r={appUpdater:"app.updater"},c=function(e,t){return Object(n["b"])({url:l[e],method:"post",data:t})}},dbb9:function(e,t,o){"use strict";o("20e0")}}]);
//# sourceMappingURL=chunk-490df4c2.51579142.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d0be246"],{1704:function(e,t,o){"use strict";o("aefe")},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return r}));var n=o("b775"),l={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},r={appUpdater:"app.updater"},c=function(e,t){return Object(n["b"])({url:l[e],method:"post",data:t})}},ae87:function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-window-view"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.loadViewContent(0)}}},[e._v("加载百度页面")]),o("a-button",{on:{click:function(t){return e.removeViewContent(0)}}},[e._v("移除百度页面")])],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.loadViewContent(1)}}},[e._v("加载html页面")]),o("a-button",{on:{click:function(t){return e.removeViewContent(1)}}},[e._v("移除html页面")])],1)],1)])},l=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 嵌入web内容 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 2. 嵌入html内容 ")])])}],a=o("a358"),r={data:function(){return{views:[{type:"web",content:"https://www.baidu.com/"},{type:"html",content:"/public/html/view_example.html"}]}},methods:{loadViewContent:function(e){var t=this;t.$ipcCall(a["a"].loadViewContent,this.views[e]).then((function(e){console.log(e)}))},removeViewContent:function(e){var t=this;t.$ipcCall(a["a"].removeViewContent,t.views[e]).then((function(e){console.log(e)}))}}},c=r,i=(o("1704"),o("2877")),p=Object(i["a"])(c,n,l,!1,null,"5946c2ed",null);t["default"]=p.exports},aefe:function(e,t,o){}}]);
//# sourceMappingURL=chunk-4d0be246.13fd247a.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-72d90f2a"],{"589e":function(e,t,o){},"666e":function(e,t,o){"use strict";o("589e")},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return a})),o.d(t,"c",(function(){return l}));var r=o("b775"),n={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},l={appUpdater:"app.updater"},c=function(e,t){return Object(r["b"])({url:n[e],method:"post",data:t})}},db5a:function(e,t,o){"use strict";o.r(t);var r=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-screen"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.getTheme()}}},[e._v("获取模式")])],1),o("span",[e._v(" 结果:"+e._s(e.currentThemeMode)+" ")])],1),o("div",{staticClass:"one-block-1"},[e._v(" 2. 设置主题模式请自行实现前端UI效果 ")]),o("div",{staticClass:"one-block-2"},[o("a-radio-group",{on:{change:e.setTheme},model:{value:e.currentThemeMode,callback:function(t){e.currentThemeMode=t},expression:"currentThemeMode"}},[o("a-radio",{attrs:{value:e.themeList[0]}},[e._v(" "+e._s(e.themeList[0])+" ")]),o("a-radio",{attrs:{value:e.themeList[1]}},[e._v(" "+e._s(e.themeList[1])+" ")]),o("a-radio",{attrs:{value:e.themeList[2]}},[e._v(" "+e._s(e.themeList[2])+" ")])],1)],1)])},n=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 系统主题模式 ")])])}],a=o("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.$ipcCall(a["a"].setTheme,this.currentThemeMode).then((function(e){console.log("result:",e),t.currentThemeMode=e}))},getTheme:function(){var e=this;this.$ipcCall(a["a"].getTheme).then((function(t){console.log("result:",t),e.currentThemeMode=t}))}}},c=l,s=(o("666e"),o("2877")),i=Object(s["a"])(c,r,n,!1,null,"452151ab",null);t["default"]=i.exports}}]);
//# sourceMappingURL=chunk-72d90f2a.c97c9f80.js.map

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9234b1da"],{"03e3":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-notification"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.sendNotification(0)}}},[e._v("默认")]),o("a-button",{on:{click:function(t){return e.sendNotification(1)}}},[e._v("发出提示音")]),o("a-button",{on:{click:function(t){return e.sendNotification(2)}}},[e._v("点击通知触发事件")]),o("a-button",{on:{click:function(t){return e.sendNotification(3)}}},[e._v("关闭通知触发事件")])],1)],1)])},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 弹出桌面通知 ")])])}],i=(o("d3b7"),o("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,o){"[object Object]"==Object.prototype.toString.call(o)&&e.$message.info(o.msg)}))},sendNotification:function(e){this.$ipc.send(i["a"].sendNotification,this.views[e])}}},r=l,c=(o("a437"),o("2877")),s=Object(c["a"])(r,n,a,!1,null,"eb783aa2",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return r})),o.d(t,"a",(function(){return i})),o.d(t,"c",(function(){return l}));var n=o("b775"),a={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},i={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"},l={appUpdater:"app.updater"},r=function(e,t){return Object(n["b"])({url:a[e],method:"post",data:t})}},a437:function(e,t,o){"use strict";o("c737")},c737:function(e,t,o){}}]);
//# sourceMappingURL=chunk-9234b1da.8ae89e14.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-94d99d1e"],{"0570":function(e,o,t){"use strict";t.r(o);var r=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{attrs:{id:"app-base-software-open"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-list",{attrs:{bordered:"","data-source":e.data},scopedSlots:e._u([{key:"renderItem",fn:function(o){return t("a-list-item",{on:{click:function(t){return e.openSoft(o.id)}}},[e._v(" "+e._s(o.content)+" "),t("a-button",{attrs:{type:"link"}},[e._v(" 执行 ")])],1)}}])})],1)])},n=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 调用其它软件exe、bash等可执行程序 ")]),t("p"),t("span",{staticClass:"sub-content"},[e._v(" 注请先将【powershell.exe】复制到【electron-egg/build/extraResources】目录中 ")])])}],a=t("a358"),l=[{content:"powershell.exe",id:"powershell.exe"}],c={data:function(){return{data:l}},methods:{openSoft:function(e){var o=this;this.$ipcCall(a["a"].openSoftware,e).then((function(e){e||o.$message.error("程序不存在")}))}}},s=c,p=(t("3ae5"),t("2877")),i=Object(p["a"])(s,r,n,!1,null,"a899c27c",null);o["default"]=i.exports},"3ae5":function(e,o,t){"use strict";t("77c3")},"77c3":function(e,o,t){},a358:function(e,o,t){"use strict";t.d(o,"b",(function(){return c})),t.d(o,"a",(function(){return a})),t.d(o,"c",(function(){return l}));var r=t("b775"),n={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},l={appUpdater:"app.updater"},c=function(e,o){return Object(r["b"])({url:n[e],method:"post",data:o})}}}]);
//# sourceMappingURL=chunk-94d99d1e.8d23fa95.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b67071c4"],{"5bda":function(e,t,o){"use strict";o.r(t);var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"app-base-screen"}},[e._m(0),o("div",{staticClass:"one-block-2"},[o("a-space",[o("a-button",{on:{click:function(t){return e.getScreen(0)}}},[e._v("获取当前鼠标位置")]),o("a-button",{on:{click:function(t){return e.getScreen(1)}}},[e._v("获取主屏幕")]),o("a-button",{on:{click:function(t){return e.getScreen(2)}}},[e._v("获取所有屏幕")])],1)],1),e._m(1),o("div",{staticClass:"one-block-2"},[o("a-descriptions",{attrs:{title:""}},e._l(e.data,(function(t,n){return o("a-descriptions-item",{key:n,attrs:{label:t.title}},[e._v(" "+e._s(t.desc)+" ")])})),1)],1)])},a=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 屏幕信息 ")])])},function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 结果: ")])])}],r=o("a358"),l={data:function(){return{data:[]}},mounted:function(){},methods:{getScreen:function(e){var t=this;this.$ipcCall(r["a"].getScreen,e).then((function(e){t.data=e}))}}},c=l,i=(o("90d5"),o("2877")),s=Object(i["a"])(c,n,a,!1,null,"716fa21e",null);t["default"]=s.exports},"90d5":function(e,t,o){"use strict";o("d818")},a358:function(e,t,o){"use strict";o.d(t,"b",(function(){return c})),o.d(t,"a",(function(){return r})),o.d(t,"c",(function(){return l}));var n=o("b775"),a={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},r={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"},l={appUpdater:"app.updater"},c=function(e,t){return Object(n["b"])({url:a[e],method:"post",data:t})}},d818:function(e,t,o){}}]);
//# sourceMappingURL=chunk-b67071c4.11c1aa38.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,2 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-b8ab1f0c"],{3464:function(e,o,t){},"8a01":function(e,o,t){"use strict";t.r(o);var r=function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{attrs:{id:"app-base-powermonitor"}},[e._m(0),t("div",{staticClass:"one-block-2"},[t("a-space",[t("p",[e._v("当前状态:"+e._s(e.currentStatus))])]),t("p",[e._v("* 拔掉电源,使用电池供电")]),t("p",[e._v("* 接入电源")]),t("p",[e._v("* 锁屏")]),t("p",[e._v("* 解锁")])],1)])},n=[function(){var e=this,o=e.$createElement,t=e._self._c||o;return t("div",{staticClass:"one-block-1"},[t("span",[e._v(" 1. 监控电源状态 ")])])}],a=(t("d3b7"),t("a358")),l={data:function(){return{currentStatus:"无"}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(a["a"].initPowerMonitor),e.$ipc.on(a["a"].initPowerMonitor,(function(o,t){"[object Object]"==Object.prototype.toString.call(t)&&(e.currentStatus=t.msg,e.$message.info(t.msg))})),this.$ipc.send(a["a"].initPowerMonitor,"")}}},i=l,c=(t("dff4"),t("2877")),p=Object(c["a"])(i,r,n,!1,null,"7dfd9413",null);o["default"]=p.exports},a358:function(e,o,t){"use strict";t.d(o,"b",(function(){return i})),t.d(o,"a",(function(){return a})),t.d(o,"c",(function(){return l}));var r=t("b775"),n={uploadFile:"/api/example/uploadFile",openSoftware:"/api/example/openSoftware",messageShow:"/api/example/messageShow",messageShowConfirm:"/api/example/messageShowConfirm",dbOperation:"/api/example/dbOperation",test1:"/api/example/test1"},a={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"},l={appUpdater:"app.updater"},i=function(e,o){return Object(r["b"])({url:n[e],method:"post",data:o})}},dff4:function(e,o,t){"use strict";t("3464")}}]);
//# sourceMappingURL=chunk-b8ab1f0c.5021379a.js.map

File diff suppressed because one or more lines are too long

300
public/dist/js/chunk-vendors.9abfb42b.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long