@famibee/skynovel 1.28.1 → 1.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -2
- package/app.js +2 -80862
- package/appMain.js +8 -25885
- package/core/lib/appMain.d.ts.map +1 -1
- package/core/lib/preload.js +1 -105
- package/core/lib/sn/SysApp.d.ts +0 -1
- package/core/lib/sn/SysApp.d.ts.map +1 -1
- package/package.json +1 -1
- package/web.js +2 -82146
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appMain.d.ts","sourceRoot":"","sources":["../src/appMain.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,aAAa,EAAyB,MAAM,UAAU,CAAC;AAO5E,qBAAa,OAAO;;IAoBC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAAvC,OAAO;
|
|
1
|
+
{"version":3,"file":"appMain.d.ts","sourceRoot":"","sources":["../src/appMain.ts"],"names":[],"mappings":"AAOA,OAAO,EAAc,aAAa,EAAyB,MAAM,UAAU,CAAC;AAO5E,qBAAa,OAAO;;IAoBC,OAAO,CAAC,QAAQ,CAAC,EAAE;IAAvC,OAAO;IA6HP,YAAY;IAIZ,MAAM,CAAC,YAAY,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,aAAa;CAgDhF"}
|
package/core/lib/preload.js
CHANGED
|
@@ -1,105 +1 @@
|
|
|
1
|
-
|
|
2
|
-
/******/ "use strict";
|
|
3
|
-
/******/ var __webpack_modules__ = ({
|
|
4
|
-
|
|
5
|
-
/***/ "./core/src/preload.ts":
|
|
6
|
-
/*!*****************************!*\
|
|
7
|
-
!*** ./core/src/preload.ts ***!
|
|
8
|
-
\*****************************/
|
|
9
|
-
/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
13
|
-
exports.hProc = void 0;
|
|
14
|
-
const { contextBridge, ipcRenderer } = __webpack_require__(/*! electron */ "electron");
|
|
15
|
-
const fncE = console.error;
|
|
16
|
-
exports.hProc = {
|
|
17
|
-
getInfo: () => ipcRenderer.invoke('getInfo').catch(fncE),
|
|
18
|
-
existsSync: path => ipcRenderer.invoke('existsSync', path).catch(fncE),
|
|
19
|
-
copySync: (path_from, path_to) => ipcRenderer.invoke('copySync', path_from, path_to).catch(fncE),
|
|
20
|
-
removeSync: path => ipcRenderer.invoke('removeSync', path).catch(fncE),
|
|
21
|
-
ensureDirSync: path => ipcRenderer.invoke('ensureDirSync', path).catch(fncE),
|
|
22
|
-
ensureFileSync: path => ipcRenderer.invoke('ensureFileSync', path).catch(fncE),
|
|
23
|
-
createWriteStream: path => ipcRenderer.invoke('createWriteStream', path).catch(fncE),
|
|
24
|
-
createReadStream: path => ipcRenderer.invoke('createReadStream', path).catch(fncE),
|
|
25
|
-
readFileSync: path => ipcRenderer.invoke('readFileSync', path).catch(fncE),
|
|
26
|
-
readFile: (path, callback) => ipcRenderer.invoke('readFile', path, callback).catch(fncE),
|
|
27
|
-
writeFileSync: (path, data, o) => ipcRenderer.invoke('writeFileSync', path, data, o).catch(fncE),
|
|
28
|
-
appendFile: (path, data, callback) => ipcRenderer.invoke('appendFile', path, data, callback).catch(fncE),
|
|
29
|
-
win_close: () => ipcRenderer.invoke('win_close').catch(fncE),
|
|
30
|
-
win_setTitle: title => ipcRenderer.invoke('win_setTitle', title).catch(fncE),
|
|
31
|
-
showMessageBox: o => ipcRenderer.invoke('showMessageBox', o).catch(fncE),
|
|
32
|
-
capturePage: fn => ipcRenderer.invoke('capturePage', fn).catch(fncE),
|
|
33
|
-
navigate_to: url => ipcRenderer.invoke('navigate_to', url).catch(fncE),
|
|
34
|
-
openDevTools: () => ipcRenderer.invoke('openDevTools').catch(fncE),
|
|
35
|
-
win_ev_devtools_opened: fnc => ipcRenderer.invoke('win_ev_devtools_opened', fnc).catch(fncE),
|
|
36
|
-
Store: o => ipcRenderer.invoke('Store', o).catch(fncE),
|
|
37
|
-
flush: o => ipcRenderer.invoke('flush', o).catch(fncE),
|
|
38
|
-
Store_isEmpty: () => ipcRenderer.invoke('Store_isEmpty').catch(fncE),
|
|
39
|
-
Store_get: () => ipcRenderer.invoke('Store_get').catch(fncE),
|
|
40
|
-
tarFs_pack: path => ipcRenderer.invoke('tarFs_pack', path).catch(fncE),
|
|
41
|
-
tarFs_extract: path => ipcRenderer.invoke('tarFs_extract', path).catch(fncE),
|
|
42
|
-
isSimpleFullScreen: () => ipcRenderer.invoke('isSimpleFullScreen').catch(fncE),
|
|
43
|
-
setSimpleFullScreen: (b) => ipcRenderer.invoke('setSimpleFullScreen', b).catch(fncE),
|
|
44
|
-
window: (centering, x, y, w, h) => ipcRenderer.invoke('window', centering, x, y, w, h).catch(fncE),
|
|
45
|
-
on: (ch, cb) => {
|
|
46
|
-
switch (ch) {
|
|
47
|
-
case 'save_win_pos':
|
|
48
|
-
ipcRenderer.on(ch, (e, x, y) => cb(e, x, y));
|
|
49
|
-
break;
|
|
50
|
-
case 'fire':
|
|
51
|
-
ipcRenderer.on(ch, (e, KEY) => cb(e, KEY));
|
|
52
|
-
break;
|
|
53
|
-
}
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
contextBridge.exposeInMainWorld('to_app', exports.hProc);
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
/***/ }),
|
|
60
|
-
|
|
61
|
-
/***/ "electron":
|
|
62
|
-
/*!***************************!*\
|
|
63
|
-
!*** external "electron" ***!
|
|
64
|
-
\***************************/
|
|
65
|
-
/***/ ((module) => {
|
|
66
|
-
|
|
67
|
-
module.exports = require("electron");
|
|
68
|
-
|
|
69
|
-
/***/ })
|
|
70
|
-
|
|
71
|
-
/******/ });
|
|
72
|
-
/************************************************************************/
|
|
73
|
-
/******/ // The module cache
|
|
74
|
-
/******/ var __webpack_module_cache__ = {};
|
|
75
|
-
/******/
|
|
76
|
-
/******/ // The require function
|
|
77
|
-
/******/ function __webpack_require__(moduleId) {
|
|
78
|
-
/******/ // Check if module is in cache
|
|
79
|
-
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
80
|
-
/******/ if (cachedModule !== undefined) {
|
|
81
|
-
/******/ return cachedModule.exports;
|
|
82
|
-
/******/ }
|
|
83
|
-
/******/ // Create a new module (and put it into the cache)
|
|
84
|
-
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
85
|
-
/******/ // no module.id needed
|
|
86
|
-
/******/ // no module.loaded needed
|
|
87
|
-
/******/ exports: {}
|
|
88
|
-
/******/ };
|
|
89
|
-
/******/
|
|
90
|
-
/******/ // Execute the module function
|
|
91
|
-
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
92
|
-
/******/
|
|
93
|
-
/******/ // Return the exports of the module
|
|
94
|
-
/******/ return module.exports;
|
|
95
|
-
/******/ }
|
|
96
|
-
/******/
|
|
97
|
-
/************************************************************************/
|
|
98
|
-
/******/
|
|
99
|
-
/******/ // startup
|
|
100
|
-
/******/ // Load entry module and return exports
|
|
101
|
-
/******/ // This entry module is referenced by other modules so it can't be inlined
|
|
102
|
-
/******/ var __webpack_exports__ = __webpack_require__("./core/src/preload.ts");
|
|
103
|
-
/******/
|
|
104
|
-
/******/ })()
|
|
105
|
-
;
|
|
1
|
+
(()=>{"use strict";var e={213:(e,c,t)=>{c.v=void 0;const{contextBridge:n,ipcRenderer:o}=t(298),i=console.error;c.v={getInfo:()=>o.invoke("getInfo").catch(i),existsSync:e=>o.invoke("existsSync",e).catch(i),copySync:(e,c)=>o.invoke("copySync",e,c).catch(i),removeSync:e=>o.invoke("removeSync",e).catch(i),ensureDirSync:e=>o.invoke("ensureDirSync",e).catch(i),ensureFileSync:e=>o.invoke("ensureFileSync",e).catch(i),createWriteStream:e=>o.invoke("createWriteStream",e).catch(i),createReadStream:e=>o.invoke("createReadStream",e).catch(i),readFileSync:e=>o.invoke("readFileSync",e).catch(i),readFile:(e,c)=>o.invoke("readFile",e,c).catch(i),writeFileSync:(e,c,t)=>o.invoke("writeFileSync",e,c,t).catch(i),appendFile:(e,c,t)=>o.invoke("appendFile",e,c,t).catch(i),win_close:()=>o.invoke("win_close").catch(i),win_setTitle:e=>o.invoke("win_setTitle",e).catch(i),showMessageBox:e=>o.invoke("showMessageBox",e).catch(i),capturePage:e=>o.invoke("capturePage",e).catch(i),navigate_to:e=>o.invoke("navigate_to",e).catch(i),openDevTools:()=>o.invoke("openDevTools").catch(i),win_ev_devtools_opened:e=>o.invoke("win_ev_devtools_opened",e).catch(i),Store:e=>o.invoke("Store",e).catch(i),flush:e=>o.invoke("flush",e).catch(i),Store_isEmpty:()=>o.invoke("Store_isEmpty").catch(i),Store_get:()=>o.invoke("Store_get").catch(i),tarFs_pack:e=>o.invoke("tarFs_pack",e).catch(i),tarFs_extract:e=>o.invoke("tarFs_extract",e).catch(i),isSimpleFullScreen:()=>o.invoke("isSimpleFullScreen").catch(i),setSimpleFullScreen:e=>o.invoke("setSimpleFullScreen",e).catch(i),window:(e,c,t,n,a)=>o.invoke("window",e,c,t,n,a).catch(i),on:(e,c)=>{switch(e){case"save_win_pos":o.on(e,((e,t,n)=>c(e,t,n)));break;case"fire":o.on(e,((e,t)=>c(e,t)))}}},n.exposeInMainWorld("to_app",c.v)},298:e=>{e.exports=require("electron")}},c={};!function t(n){var o=c[n];if(void 0!==o)return o.exports;var i=c[n]={exports:{}};return e[n](i,i.exports,t),i.exports}(213)})();
|
package/core/lib/sn/SysApp.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SysApp.d.ts","sourceRoot":"","sources":["../../src/sn/SysApp.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SysApp.d.ts","sourceRoot":"","sources":["../../src/sn/SysApp.ts"],"names":[],"mappings":"AAOA,OAAO,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AAGlC,OAAO,EAAC,IAAI,EAAE,KAAK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