This commit is contained in:
gsx
2022-04-12 15:47:59 +08:00
parent ecbab7e451
commit 1a2a5bd302
89 changed files with 357 additions and 353 deletions

View File

@@ -96,7 +96,7 @@
},
"dependencies": {
"dayjs": "^1.10.7",
"ee-core": "^1.1.11",
"ee-core": "^1.2.0",
"electron-is": "^3.0.0",
"lodash": "^4.17.21"
}

1
public/dist/css/app.72b6f813.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-b03bc458]{height:100%}#app-layout-sider .logo[data-v-b03bc458]{border-bottom:1px solid #e8e8e8}#app-layout-sider .pic-logo[data-v-b03bc458]{height:32px;margin:10px}#app-layout-sider .layout-sider[data-v-b03bc458]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8}#app-layout-sider .menu-item .ant-menu-item[data-v-b03bc458]{background-color:#fff;margin-top:0;margin-bottom:0;padding:0 0!important}#app-menu[data-v-4541d966]{height:100%;text-align:center}#app-menu .layout-sider[data-v-4541d966]{border-top:1px solid #e8e8e8;border-right:1px solid #e8e8e8;background-color:#fafafa;overflow:auto}

View File

@@ -1 +0,0 @@
#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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1 +0,0 @@
#app-base-powermonitor[data-v-7dfd9413]{padding:0 10px;text-align:left;width:100%}#app-base-powermonitor .one-block-1[data-v-7dfd9413]{font-size:16px;padding-top:10px}#app-base-powermonitor .one-block-2[data-v-7dfd9413]{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-20a0d95c.38f6334f.css" rel="prefetch"><link href="/css/chunk-222f1b7e.cc56886e.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-2b255c5b.d420421b.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-55fde8c5.4b0980ea.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-b67071c4.a4424700.css" rel="prefetch"><link href="/css/chunk-b8ab1f0c.9e732e2f.css" rel="prefetch"><link href="/js/chunk-0cf38b6e.814d2967.js" rel="prefetch"><link href="/js/chunk-20a0d95c.b5dcebb7.js" rel="prefetch"><link href="/js/chunk-222f1b7e.590e90d6.js" rel="prefetch"><link href="/js/chunk-26360310.0d62d9a8.js" rel="prefetch"><link href="/js/chunk-26fcacb7.b449422b.js" rel="prefetch"><link href="/js/chunk-2b255c5b.e2b77c22.js" rel="prefetch"><link href="/js/chunk-2f42023a.5a570772.js" rel="prefetch"><link href="/js/chunk-490df4c2.8c41cc47.js" rel="prefetch"><link href="/js/chunk-4d0be246.c57339a0.js" rel="prefetch"><link href="/js/chunk-55fde8c5.33483109.js" rel="prefetch"><link href="/js/chunk-72d90f2a.25e085a4.js" rel="prefetch"><link href="/js/chunk-9234b1da.a2e614ee.js" rel="prefetch"><link href="/js/chunk-b67071c4.1460c928.js" rel="prefetch"><link href="/js/chunk-b8ab1f0c.d6394b50.js" rel="prefetch"><link href="/css/app.77cafbdf.css" rel="preload" as="style"><link href="/css/chunk-vendors.9ca8efee.css" rel="preload" as="style"><link href="/js/app.82027f07.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.77cafbdf.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.82027f07.js"></script></body></html>
::-webkit-scrollbar-thumb:active{background-color:#E6FFEE}</style><link href="/css/chunk-04a98efc.0f3904b9.css" rel="prefetch"><link href="/css/chunk-20541cc8.6df86df7.css" rel="prefetch"><link href="/css/chunk-28dca98c.d420421b.css" rel="prefetch"><link href="/css/chunk-34fd3e58.6c177387.css" rel="prefetch"><link href="/css/chunk-3ce23730.d07903e2.css" rel="prefetch"><link href="/css/chunk-42cdec30.cc56886e.css" rel="prefetch"><link href="/css/chunk-46055e37.38f6334f.css" rel="prefetch"><link href="/css/chunk-511d0abc.94e812c5.css" rel="prefetch"><link href="/css/chunk-515b2e67.0c43dff1.css" rel="prefetch"><link href="/css/chunk-5ddca696.a4424700.css" rel="prefetch"><link href="/css/chunk-73c49416.5a60589f.css" rel="prefetch"><link href="/css/chunk-7a685cc9.4b14b6bb.css" rel="prefetch"><link href="/css/chunk-854152fc.ffa3e4f4.css" rel="prefetch"><link href="/css/chunk-8e4edc1a.11e2850e.css" rel="prefetch"><link href="/css/chunk-90978ad6.64a5cb0d.css" rel="prefetch"><link href="/js/chunk-04a98efc.ba302799.js" rel="prefetch"><link href="/js/chunk-20541cc8.4ab9e737.js" rel="prefetch"><link href="/js/chunk-28dca98c.225760a0.js" rel="prefetch"><link href="/js/chunk-34fd3e58.2c97d693.js" rel="prefetch"><link href="/js/chunk-3ce23730.e8c8980b.js" rel="prefetch"><link href="/js/chunk-42cdec30.35038feb.js" rel="prefetch"><link href="/js/chunk-46055e37.2ff418b5.js" rel="prefetch"><link href="/js/chunk-511d0abc.283bcc11.js" rel="prefetch"><link href="/js/chunk-515b2e67.7dfae8f7.js" rel="prefetch"><link href="/js/chunk-5ddca696.71272bea.js" rel="prefetch"><link href="/js/chunk-73c49416.a6e5c0bb.js" rel="prefetch"><link href="/js/chunk-7a685cc9.cfac14e5.js" rel="prefetch"><link href="/js/chunk-854152fc.8dee9317.js" rel="prefetch"><link href="/js/chunk-8e4edc1a.ca1f08ea.js" rel="prefetch"><link href="/js/chunk-90978ad6.88a47d01.js" rel="prefetch"><link href="/css/app.72b6f813.css" rel="preload" as="style"><link href="/css/chunk-vendors.f4913a35.css" rel="preload" as="style"><link href="/js/app.796efb80.js" rel="preload" as="script"><link href="/js/chunk-vendors.cf05aadd.js" rel="preload" as="script"><link href="/css/chunk-vendors.f4913a35.css" rel="stylesheet"><link href="/css/app.72b6f813.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.cf05aadd.js"></script><script src="/js/app.796efb80.js"></script></body></html>

2
public/dist/js/app.796efb80.js vendored Normal file

File diff suppressed because one or more lines are too long

1
public/dist/js/app.796efb80.js.map 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

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

@@ -1,2 +0,0 @@
(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.814d2967.js.map

View File

@@ -1 +0,0 @@
{"version":3,"sources":["webpack:///./src/views/other/Index.vue?6cf0","webpack:///src/views/other/Index.vue","webpack:///./src/views/other/Index.vue?f1ec","webpack:///./src/views/other/Index.vue","webpack:///./src/views/other/Index.vue?4978"],"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,oBCY7O,GACEE,KADF,WAEI,MAAO,IAETC,QAAS,CACPC,KADJ,eCjB8V,I,wBCQ1VC,EAAY,eACd,EACAf,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,2CCnBf","file":"js/chunk-0cf38b6e.814d2967.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>\r\n <div id=\"app-other\">\r\n <div class=\"one-block-1\">\r\n <span>\r\n 待开发...\r\n </span>\r\n </div> \r\n <div class=\"one-block-2\">\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n data() {\r\n return {};\r\n },\r\n methods: {\r\n test () {\r\n },\r\n }\r\n};\r\n</script>\r\n<style lang=\"less\" scoped>\r\n#app-other {\r\n padding: 0px 10px;\r\n text-align: left;\r\n width: 100%;\r\n .one-block-1 {\r\n font-size: 16px;\r\n padding-top: 10px;\r\n }\r\n .one-block-2 {\r\n padding-top: 10px;\r\n }\r\n}\r\n</style>\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-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--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-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--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-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":""}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-20a0d95c"],{"2a3f":function(e,t,o){},"667f":function(e,t,o){"use strict";o("2a3f")},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return a}));o("b775");var n={test:"controller.example.test",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"},a={appUpdater:"app.updater"}},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. 打开文件夹 ")])])}],l=o("a358"),r=[{content:"【下载】目录",id:"downloads"},{content:"【图片】目录",id:"pictures"},{content:"【文档】目录",id:"documents"},{content:"【音乐】目录",id:"music"}],i={data:function(){return{file_list:r,image_info:[],num:0,dir_path:"D:\\www\\ee"}},methods:{openDirectry:function(e){this.$ipcCall(l["a"].openDirectory,{id:e}).then((function(e){}))},selectDir:function(){var e=this;e.$ipcCall(l["a"].selectFolder,"").then((function(t){e.dir_path=t,e.$message.info(t)}))},messageShow:function(e){var t=this;console.log("[messageShow] type:",e),this.$ipcCall(l["a"].messageShow,"").then((function(e){t.$message.info(e)}))},messageShowConfirm:function(e){var t=this;console.log("[messageShowConfirm] type:",e),this.$ipcCall(l["a"].messageShowConfirm,"").then((function(e){t.$message.info(e)}))}}},c=i,s=(o("667f"),o("2877")),p=Object(s["a"])(c,n,a,!1,null,"a9872e50",null);t["default"]=p.exports}}]);
//# sourceMappingURL=chunk-20a0d95c.b5dcebb7.js.map

File diff suppressed because one or more lines are too long

View File

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

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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["b"].appUpdater),this.$ipc.on(a["b"].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,"a",(function(){return n})),o.d(t,"b",(function(){return r}));o("b775");var n={test:"controller.example.test",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"}},e3e4:function(e,t,o){}}]);
//# sourceMappingURL=chunk-26360310.0d62d9a8.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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 n=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)])},a=[],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,n,a,!1,null,"59a6529a",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return a}));o("b775");var n={test:"controller.example.test",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"},a={appUpdater:"app.updater"}},a561:function(e,t,o){}}]);
//# sourceMappingURL=chunk-26fcacb7.b449422b.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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)])},s=[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. 长消息: 服务端持续向前端页面发消息 ")])])}],l=o("a358"),a={data:function(){return{content:"hello",content2:"hello world",reply:"",socketMessageString:""}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.$ipc.removeAllListeners(l["a"].socketMessageStart),this.$ipc.removeAllListeners(l["a"].socketMessageStop),this.$ipc.on(l["a"].socketMessageStart,(function(t,o){console.log("[ipcRenderer] [socketMsgStart] result:",o),e.socketMessageString=o})),this.$ipc.on(l["a"].socketMessageStop,(function(t,o){console.log("[ipcRenderer] [socketMsgStop] result:",o),e.socketMessageString=o}))},helloHandle:function(e){var t=this;this.$ipcCall(l["a"].hello,e).then((function(e){t.$message.info(e)}))},executeJSHandle:function(e){this.$ipcCall(l["a"].executeJS,e).then((function(e){console.log(e)}))},socketMsgStart:function(){this.$ipc.send(l["a"].socketMessageStart,"时间")},socketMsgStop:function(){this.$ipc.send(l["a"].socketMessageStop,"")}}},c=a,r=(o("ef68"),o("2877")),i=Object(r["a"])(c,n,s,!1,null,"19858933",null);t["default"]=i.exports},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return s}));o("b775");var n={test:"controller.example.test",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"},s={appUpdater:"app.updater"}},ef68:function(e,t,o){"use strict";o("254e")}}]);
//# sourceMappingURL=chunk-2f42023a.5a570772.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-3ce23730"],{1768: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"})])}],i={data:function(){return{}},methods:{test:function(){}}},a=i,o=(e("fbed"),e("2877")),r=Object(o["a"])(a,c,s,!1,null,"7114d282",null);n["default"]=r.exports},f291:function(t,n,e){},fbed:function(t,n,e){"use strict";e("f291")}}]);
//# sourceMappingURL=chunk-3ce23730.e8c8980b.js.map

View File

@@ -0,0 +1 @@
{"version":3,"sources":["webpack:///./src/views/other/test/Index.vue?252c","webpack:///src/views/other/test/Index.vue","webpack:///./src/views/other/test/Index.vue?e50a","webpack:///./src/views/other/test/Index.vue","webpack:///./src/views/other/test/Index.vue?3dd1"],"names":["render","_vm","this","_h","$createElement","_self","_c","_m","staticRenderFns","attrs","staticClass","_v","data","methods","test","component"],"mappings":"uHAAA,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,eCjB6W,I,wBCQzWC,EAAY,eACd,EACAf,EACAQ,GACA,EACA,KACA,WACA,MAIa,aAAAO,E,kECnBf","file":"js/chunk-3ce23730.e8c8980b.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>\r\n <div id=\"app-other\">\r\n <div class=\"one-block-1\">\r\n <span>\r\n 待开发...\r\n </span>\r\n </div> \r\n <div class=\"one-block-2\">\r\n </div>\r\n </div>\r\n</template>\r\n<script>\r\n\r\nexport default {\r\n data() {\r\n return {};\r\n },\r\n methods: {\r\n test () {\r\n },\r\n }\r\n};\r\n</script>\r\n<style lang=\"less\" scoped>\r\n#app-other {\r\n padding: 0px 10px;\r\n text-align: left;\r\n width: 100%;\r\n .one-block-1 {\r\n font-size: 16px;\r\n padding-top: 10px;\r\n }\r\n .one-block-2 {\r\n padding-top: 10px;\r\n }\r\n}\r\n</style>\r\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=7114d282&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=7114d282&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 \"7114d282\",\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=7114d282&lang=less&scoped=true&\""],"sourceRoot":""}

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

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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内容 ")])])}],r=o("a358"),a={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(r["a"].createWindow,this.views[e]).then((function(e){console.log(e)}))}}},c=a,i=(o("dbb9"),o("2877")),s=Object(i["a"])(c,n,l,!1,null,"a421017e",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return l}));o("b775");var n={test:"controller.example.test",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"}},dbb9:function(e,t,o){"use strict";o("20e0")}}]);
//# sourceMappingURL=chunk-490df4c2.8c41cc47.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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,"a",(function(){return n})),o.d(t,"b",(function(){return l}));o("b775");var n={test:"controller.example.test",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"}},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内容 ")])])}],r=o("a358"),a={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(r["a"].loadViewContent,this.views[e]).then((function(e){console.log(e)}))},removeViewContent:function(e){var t=this;t.$ipcCall(r["a"].removeViewContent,t.views[e]).then((function(e){console.log(e)}))}}},c=a,i=(o("1704"),o("2877")),s=Object(i["a"])(c,n,l,!1,null,"5946c2ed",null);t["default"]=s.exports},aefe:function(e,t,o){}}]);
//# sourceMappingURL=chunk-4d0be246.c57339a0.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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-55fde8c5"],{"32ef":function(e,o,t){"use strict";t("3760")},3760:function(e,o,t){},a358:function(e,o,t){"use strict";t.d(o,"a",(function(){return l})),t.d(o,"b",(function(){return r}));t("b775");var l={test:"controller.example.test",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"}},acbf:function(e,o,t){"use strict";t.r(o);var l=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)])},r=[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 ")])])}],n=t("a358"),a={data:function(){return{type:1}},methods:{exec:function(e){var o={id:e};this.$ipcCall(n["a"].test,o).then((function(e){console.log("res:",e)}))}}},c=a,p=(t("32ef"),t("2877")),i=Object(p["a"])(c,l,r,!1,null,"8ebd278a",null);o["default"]=i.exports}}]);
//# sourceMappingURL=chunk-55fde8c5.33483109.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

@@ -1,2 +0,0 @@
(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,"a",(function(){return r})),o.d(t,"b",(function(){return n}));o("b775");var r={test:"controller.example.test",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"},n={appUpdater:"app.updater"}},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. 系统主题模式 ")])])}],l=o("a358"),a={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(l["a"].setTheme,this.currentThemeMode).then((function(e){console.log("result:",e),t.currentThemeMode=e}))},getTheme:function(){var e=this;this.$ipcCall(l["a"].getTheme).then((function(t){console.log("result:",t),e.currentThemeMode=t}))}}},c=a,s=(o("666e"),o("2877")),i=Object(s["a"])(c,r,n,!1,null,"452151ab",null);t["default"]=i.exports}}]);
//# sourceMappingURL=chunk-72d90f2a.25e085a4.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

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

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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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)])},i=[function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{staticClass:"one-block-1"},[o("span",[e._v(" 1. 弹出桌面通知 ")])])}],l=(o("d3b7"),o("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(l["a"].sendNotification),this.$ipc.on(l["a"].sendNotification,(function(t,o){"[object Object]"==Object.prototype.toString.call(o)&&e.$message.info(o.msg)}))},sendNotification:function(e){this.$ipc.send(l["a"].sendNotification,this.views[e])}}},r=a,c=(o("a437"),o("2877")),s=Object(c["a"])(r,n,i,!1,null,"eb783aa2",null);t["default"]=s.exports},a358:function(e,t,o){"use strict";o.d(t,"a",(function(){return n})),o.d(t,"b",(function(){return i}));o("b775");var n={test:"controller.example.test",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"},i={appUpdater:"app.updater"}},a437:function(e,t,o){"use strict";o("c737")},c737:function(e,t,o){}}]);
//# sourceMappingURL=chunk-9234b1da.a2e614ee.js.map

File diff suppressed because one or more lines are too long

View File

@@ -1,2 +0,0 @@
(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)])},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(" 结果: ")])])}],l=o("a358"),a={data:function(){return{data:[]}},mounted:function(){},methods:{getScreen:function(e){var t=this;this.$ipcCall(l["a"].getScreen,e).then((function(e){t.data=e}))}}},c=a,i=(o("90d5"),o("2877")),s=Object(i["a"])(c,n,r,!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,"a",(function(){return n})),o.d(t,"b",(function(){return r}));o("b775");var n={test:"controller.example.test",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"}},d818:function(e,t,o){}}]);
//# sourceMappingURL=chunk-b67071c4.1460c928.js.map

File diff suppressed because one or more lines are too long

View File

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

300
public/dist/js/chunk-vendors.cf05aadd.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