cloudcmd 19.3.7 → 19.3.9
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 +10 -0
- package/HELP.md +3 -1
- package/README.md +1 -1
- package/dist/cloudcmd.common.css +2 -1
- package/dist/cloudcmd.common.css.map +1 -0
- package/dist/cloudcmd.common.js +15013 -2
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/cloudcmd.js +184 -1
- package/dist/cloudcmd.js.map +1 -1
- package/dist/columns/name-size-date.css +2 -1
- package/dist/columns/name-size-date.css.map +1 -0
- package/dist/columns/name-size-date.js +7 -0
- package/dist/columns/name-size-date.js.map +1 -0
- package/dist/columns/name-size.css +2 -1
- package/dist/columns/name-size.css.map +1 -0
- package/dist/columns/name-size.js +7 -0
- package/dist/columns/name-size.js.map +1 -0
- package/dist/config.css +2 -1
- package/dist/config.css.map +1 -0
- package/dist/config.js +7 -0
- package/dist/config.js.map +1 -0
- package/dist/help.css +2 -1
- package/dist/help.css.map +1 -0
- package/dist/help.js +7 -0
- package/dist/help.js.map +1 -0
- package/dist/modules/cloud.js +168 -1
- package/dist/modules/cloud.js.map +1 -1
- package/dist/modules/command-line.js +168 -1
- package/dist/modules/command-line.js.map +1 -1
- package/dist/modules/config.js +168 -1
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/contact.js +168 -1
- package/dist/modules/contact.js.map +1 -1
- package/dist/modules/edit-file-vim.js +168 -1
- package/dist/modules/edit-file-vim.js.map +1 -1
- package/dist/modules/edit-file.js +168 -1
- package/dist/modules/edit-file.js.map +1 -1
- package/dist/modules/edit-names-vim.js +168 -1
- package/dist/modules/edit-names-vim.js.map +1 -1
- package/dist/modules/edit-names.js +168 -1
- package/dist/modules/edit-names.js.map +1 -1
- package/dist/modules/edit.js +168 -1
- package/dist/modules/edit.js.map +1 -1
- package/dist/modules/help.js +168 -1
- package/dist/modules/help.js.map +1 -1
- package/dist/modules/konsole.js +168 -1
- package/dist/modules/konsole.js.map +1 -1
- package/dist/modules/markdown.js +168 -1
- package/dist/modules/markdown.js.map +1 -1
- package/dist/modules/menu.js +168 -1
- package/dist/modules/menu.js.map +1 -1
- package/dist/modules/operation.js +168 -1
- package/dist/modules/operation.js.map +1 -1
- package/dist/modules/polyfill.js +168 -1
- package/dist/modules/polyfill.js.map +1 -1
- package/dist/modules/terminal-run.js +168 -1
- package/dist/modules/terminal-run.js.map +1 -1
- package/dist/modules/terminal.js +168 -1
- package/dist/modules/terminal.js.map +1 -1
- package/dist/modules/upload.js +168 -1
- package/dist/modules/upload.js.map +1 -1
- package/dist/modules/user-menu.js +168 -1
- package/dist/modules/user-menu.js.map +1 -1
- package/dist/modules/view.js +168 -1
- package/dist/modules/view.js.map +1 -1
- package/dist/nojs.css +2 -1
- package/dist/nojs.css.map +1 -0
- package/dist/nojs.js +7 -0
- package/dist/nojs.js.map +1 -0
- package/dist/sw.js +363 -1
- package/dist/sw.js.map +1 -1
- package/dist/terminal.css +2 -1
- package/dist/terminal.css.map +1 -0
- package/dist/terminal.js +7 -0
- package/dist/terminal.js.map +1 -0
- package/dist/themes/dark.css +2 -1
- package/dist/themes/dark.css.map +1 -0
- package/dist/themes/dark.js +7 -0
- package/dist/themes/dark.js.map +1 -0
- package/dist/themes/light.css +2 -1
- package/dist/themes/light.css.map +1 -0
- package/dist/themes/light.js +7 -0
- package/dist/themes/light.js.map +1 -0
- package/dist/user-menu.css +2 -1
- package/dist/user-menu.css.map +1 -0
- package/dist/user-menu.js +7 -0
- package/dist/user-menu.js.map +1 -0
- package/dist/view.css +2 -1
- package/dist/view.css.map +1 -0
- package/dist/view.js +7 -0
- package/dist/view.js.map +1 -0
- package/dist-dev/sw.js +1 -1
- package/package.json +3 -2
- package/server/rest/index.js +1 -1
package/dist/modules/view.js
CHANGED
|
@@ -1,2 +1,169 @@
|
|
|
1
|
-
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ "use strict";
|
|
3
|
+
/******/ var __webpack_modules__ = ({});
|
|
4
|
+
/************************************************************************/
|
|
5
|
+
/******/ // The module cache
|
|
6
|
+
/******/ var __webpack_module_cache__ = {};
|
|
7
|
+
/******/
|
|
8
|
+
/******/ // The require function
|
|
9
|
+
/******/ function __webpack_require__(moduleId) {
|
|
10
|
+
/******/ // Check if module is in cache
|
|
11
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
12
|
+
/******/ if (cachedModule !== undefined) {
|
|
13
|
+
/******/ return cachedModule.exports;
|
|
14
|
+
/******/ }
|
|
15
|
+
/******/ // Create a new module (and put it into the cache)
|
|
16
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
17
|
+
/******/ // no module.id needed
|
|
18
|
+
/******/ // no module.loaded needed
|
|
19
|
+
/******/ exports: {}
|
|
20
|
+
/******/ };
|
|
21
|
+
/******/
|
|
22
|
+
/******/ // Execute the module function
|
|
23
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
24
|
+
/******/
|
|
25
|
+
/******/ // Return the exports of the module
|
|
26
|
+
/******/ return module.exports;
|
|
27
|
+
/******/ }
|
|
28
|
+
/******/
|
|
29
|
+
/******/ // expose the modules object (__webpack_modules__)
|
|
30
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
31
|
+
/******/
|
|
32
|
+
/************************************************************************/
|
|
33
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
34
|
+
/******/ (() => {
|
|
35
|
+
/******/ var deferred = [];
|
|
36
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
37
|
+
/******/ if(chunkIds) {
|
|
38
|
+
/******/ priority = priority || 0;
|
|
39
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
40
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
41
|
+
/******/ return;
|
|
42
|
+
/******/ }
|
|
43
|
+
/******/ var notFulfilled = Infinity;
|
|
44
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
45
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
46
|
+
/******/ var fulfilled = true;
|
|
47
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
48
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
49
|
+
/******/ chunkIds.splice(j--, 1);
|
|
50
|
+
/******/ } else {
|
|
51
|
+
/******/ fulfilled = false;
|
|
52
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
53
|
+
/******/ }
|
|
54
|
+
/******/ }
|
|
55
|
+
/******/ if(fulfilled) {
|
|
56
|
+
/******/ deferred.splice(i--, 1)
|
|
57
|
+
/******/ var r = fn();
|
|
58
|
+
/******/ if (r !== undefined) result = r;
|
|
59
|
+
/******/ }
|
|
60
|
+
/******/ }
|
|
61
|
+
/******/ return result;
|
|
62
|
+
/******/ };
|
|
63
|
+
/******/ })();
|
|
64
|
+
/******/
|
|
65
|
+
/******/ /* webpack/runtime/define property getters */
|
|
66
|
+
/******/ (() => {
|
|
67
|
+
/******/ // define getter functions for harmony exports
|
|
68
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
69
|
+
/******/ for(var key in definition) {
|
|
70
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
71
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
72
|
+
/******/ }
|
|
73
|
+
/******/ }
|
|
74
|
+
/******/ };
|
|
75
|
+
/******/ })();
|
|
76
|
+
/******/
|
|
77
|
+
/******/ /* webpack/runtime/ensure chunk */
|
|
78
|
+
/******/ (() => {
|
|
79
|
+
/******/ // The chunk loading function for additional chunks
|
|
80
|
+
/******/ // Since all referenced chunks are already included
|
|
81
|
+
/******/ // in this file, this function is empty here.
|
|
82
|
+
/******/ __webpack_require__.e = () => (Promise.resolve());
|
|
83
|
+
/******/ })();
|
|
84
|
+
/******/
|
|
85
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
86
|
+
/******/ (() => {
|
|
87
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
88
|
+
/******/ })();
|
|
89
|
+
/******/
|
|
90
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
91
|
+
/******/ (() => {
|
|
92
|
+
/******/ // define __esModule on exports
|
|
93
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
94
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
95
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
96
|
+
/******/ }
|
|
97
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
98
|
+
/******/ };
|
|
99
|
+
/******/ })();
|
|
100
|
+
/******/
|
|
101
|
+
/******/ /* webpack/runtime/runtimeId */
|
|
102
|
+
/******/ (() => {
|
|
103
|
+
/******/ __webpack_require__.j = 635;
|
|
104
|
+
/******/ })();
|
|
105
|
+
/******/
|
|
106
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
107
|
+
/******/ (() => {
|
|
108
|
+
/******/ // no baseURI
|
|
109
|
+
/******/
|
|
110
|
+
/******/ // object to store loaded and loading chunks
|
|
111
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
112
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
113
|
+
/******/ var installedChunks = {
|
|
114
|
+
/******/ 635: 0
|
|
115
|
+
/******/ };
|
|
116
|
+
/******/
|
|
117
|
+
/******/ // no chunk on demand loading
|
|
118
|
+
/******/
|
|
119
|
+
/******/ // no prefetching
|
|
120
|
+
/******/
|
|
121
|
+
/******/ // no preloaded
|
|
122
|
+
/******/
|
|
123
|
+
/******/ // no HMR
|
|
124
|
+
/******/
|
|
125
|
+
/******/ // no HMR manifest
|
|
126
|
+
/******/
|
|
127
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
128
|
+
/******/
|
|
129
|
+
/******/ // install a JSONP callback for chunk loading
|
|
130
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
131
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
132
|
+
/******/ // add "moreModules" to the modules object,
|
|
133
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
134
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
135
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
136
|
+
/******/ for(moduleId in moreModules) {
|
|
137
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
138
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
139
|
+
/******/ }
|
|
140
|
+
/******/ }
|
|
141
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
142
|
+
/******/ }
|
|
143
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
144
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
145
|
+
/******/ chunkId = chunkIds[i];
|
|
146
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
147
|
+
/******/ installedChunks[chunkId][0]();
|
|
148
|
+
/******/ }
|
|
149
|
+
/******/ installedChunks[chunkId] = 0;
|
|
150
|
+
/******/ }
|
|
151
|
+
/******/ return __webpack_require__.O(result);
|
|
152
|
+
/******/ }
|
|
153
|
+
/******/
|
|
154
|
+
/******/ var chunkLoadingGlobal = globalThis["webpackChunkcloudcmd"] = globalThis["webpackChunkcloudcmd"] || [];
|
|
155
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
156
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
157
|
+
/******/ })();
|
|
158
|
+
/******/
|
|
159
|
+
/************************************************************************/
|
|
160
|
+
/******/
|
|
161
|
+
/******/ // startup
|
|
162
|
+
/******/ // Load entry module and return exports
|
|
163
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
164
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, [267], () => (__webpack_require__(4409)))
|
|
165
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
166
|
+
/******/
|
|
167
|
+
/******/ })()
|
|
168
|
+
;
|
|
2
169
|
//# sourceMappingURL=view.js.map
|
package/dist/modules/view.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"./modules/view.js","mappings":"
|
|
1
|
+
{"version":3,"file":"./modules/view.js","mappings":";;;;UAAA;UACA;;UAEA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;UACA;;UAEA;UACA;;UAEA;UACA;UACA;;UAEA;UACA;;;;;WCzBA;WACA;WACA;WACA;WACA,+BAA+B,wCAAwC;WACvE;WACA;WACA;WACA;WACA,iBAAiB,qBAAqB;WACtC;WACA;WACA,kBAAkB,qBAAqB;WACvC;WACA;WACA,KAAK;WACL;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,E;;;;;WC3BA;WACA;WACA;WACA;WACA,yCAAyC,wCAAwC;WACjF;WACA;WACA,E;;;;;WCPA;WACA;WACA;WACA,kD;;;;;WCHA,wF;;;;;WCAA;WACA;WACA;WACA,uDAAuD,iBAAiB;WACxE;WACA,gDAAgD,aAAa;WAC7D,E;;;;;WCNA,4B;;;;;WCAA;;WAEA;WACA;WACA;WACA;WACA;WACA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;;WAEA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA;WACA,MAAM,qBAAqB;WAC3B;WACA;WACA;WACA;WACA;WACA;WACA;WACA;;WAEA;WACA;WACA,4G;;;;;UEhDA;UACA;UACA;UACA;UACA","sources":["file://cloudcmd/webpack/bootstrap","file://cloudcmd/webpack/runtime/chunk loaded","file://cloudcmd/webpack/runtime/define property getters","file://cloudcmd/webpack/runtime/ensure chunk","file://cloudcmd/webpack/runtime/hasOwnProperty shorthand","file://cloudcmd/webpack/runtime/make namespace object","file://cloudcmd/webpack/runtime/runtimeId","file://cloudcmd/webpack/runtime/jsonp chunk loading","file://cloudcmd/webpack/before-startup","file://cloudcmd/webpack/startup","file://cloudcmd/webpack/after-startup"],"sourcesContent":["// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","// The chunk loading function for additional chunks\n// Since all referenced chunks are already included\n// in this file, this function is empty here.\n__webpack_require__.e = () => (Promise.resolve());","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.j = 635;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t635: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = globalThis[\"webpackChunkcloudcmd\"] = globalThis[\"webpackChunkcloudcmd\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [267], () => (__webpack_require__(4409)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n",""],"names":[],"sourceRoot":""}
|
package/dist/nojs.css
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
.keyspanel,.path-icon{display:none}.links{margin-left:16px}.fm{height:100%}.panel-right{display:none}.panel-left{width:98%}.name a:hover{cursor:pointer}
|
|
1
|
+
.keyspanel,.path-icon{display:none}.links{margin-left:16px}.fm{height:100%}.panel-right{display:none}.panel-left{width:98%}.name a:hover{cursor:pointer}
|
|
2
|
+
/*# sourceMappingURL=nojs.css.map*/
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nojs.css","mappings":"AAAA,sBAEI,YACJ,CAEA,OACI,gBACJ,CAEA,IACI,WACJ,CAEA,aACI,YACJ,CAEA,YACI,SACJ,CAEA,cACI,cACJ","sources":["file://cloudcmd//Users/coderaiser/cloudcmd/css/nojs.css"],"sourcesContent":[".path-icon,\n.keyspanel {\n display: none;\n}\n\n.links {\n margin-left: 16px;\n}\n\n.fm {\n height: 100%;\n}\n\n.panel-right {\n display: none;\n}\n\n.panel-left {\n width: 98%;\n}\n\n.name a:hover {\n cursor: pointer;\n}\n"],"names":[],"sourceRoot":""}
|
package/dist/nojs.js
CHANGED
package/dist/nojs.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nojs.js","mappings":";;AAAA","sources":["webpack://cloudcmd/./css/nojs.css?9371"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport {};"],"names":[],"sourceRoot":""}
|
package/dist/sw.js
CHANGED
|
@@ -1,2 +1,364 @@
|
|
|
1
|
-
|
|
1
|
+
/******/ (() => { // webpackBootstrap
|
|
2
|
+
/******/ var __webpack_modules__ = ({
|
|
3
|
+
|
|
4
|
+
/***/ 4299
|
|
5
|
+
(module) {
|
|
6
|
+
|
|
7
|
+
"use strict";
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
const f = (fn) => [
|
|
11
|
+
/*eslint no-unused-vars: 0*/
|
|
12
|
+
function (a) {return fn(...arguments);},
|
|
13
|
+
function (a, b) {return fn(...arguments);},
|
|
14
|
+
function (a, b, c) {return fn(...arguments);},
|
|
15
|
+
function (a, b, c, d) {return fn(...arguments);},
|
|
16
|
+
function (a, b, c, d, e) {return fn(...arguments);},
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const currify = (fn, ...args) => {
|
|
20
|
+
check(fn);
|
|
21
|
+
|
|
22
|
+
if (args.length >= fn.length)
|
|
23
|
+
return fn(...args);
|
|
24
|
+
|
|
25
|
+
const again = (...args2) => {
|
|
26
|
+
return currify(fn, ...[...args, ...args2]);
|
|
27
|
+
};
|
|
28
|
+
|
|
29
|
+
const count = fn.length - args.length - 1;
|
|
30
|
+
const func = f(again)[count];
|
|
31
|
+
|
|
32
|
+
return func || again;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
module.exports = currify;
|
|
36
|
+
|
|
37
|
+
function check(fn) {
|
|
38
|
+
if (typeof fn !== 'function')
|
|
39
|
+
throw Error('fn should be function!');
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
/***/ },
|
|
45
|
+
|
|
46
|
+
/***/ 5606
|
|
47
|
+
(module) {
|
|
48
|
+
|
|
49
|
+
// shim for using process in browser
|
|
50
|
+
var process = module.exports = {};
|
|
51
|
+
|
|
52
|
+
// cached from whatever global is present so that test runners that stub it
|
|
53
|
+
// don't break things. But we need to wrap it in a try catch in case it is
|
|
54
|
+
// wrapped in strict mode code which doesn't define any globals. It's inside a
|
|
55
|
+
// function because try/catches deoptimize in certain engines.
|
|
56
|
+
|
|
57
|
+
var cachedSetTimeout;
|
|
58
|
+
var cachedClearTimeout;
|
|
59
|
+
|
|
60
|
+
function defaultSetTimout() {
|
|
61
|
+
throw new Error('setTimeout has not been defined');
|
|
62
|
+
}
|
|
63
|
+
function defaultClearTimeout () {
|
|
64
|
+
throw new Error('clearTimeout has not been defined');
|
|
65
|
+
}
|
|
66
|
+
(function () {
|
|
67
|
+
try {
|
|
68
|
+
if (typeof setTimeout === 'function') {
|
|
69
|
+
cachedSetTimeout = setTimeout;
|
|
70
|
+
} else {
|
|
71
|
+
cachedSetTimeout = defaultSetTimout;
|
|
72
|
+
}
|
|
73
|
+
} catch (e) {
|
|
74
|
+
cachedSetTimeout = defaultSetTimout;
|
|
75
|
+
}
|
|
76
|
+
try {
|
|
77
|
+
if (typeof clearTimeout === 'function') {
|
|
78
|
+
cachedClearTimeout = clearTimeout;
|
|
79
|
+
} else {
|
|
80
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
81
|
+
}
|
|
82
|
+
} catch (e) {
|
|
83
|
+
cachedClearTimeout = defaultClearTimeout;
|
|
84
|
+
}
|
|
85
|
+
} ())
|
|
86
|
+
function runTimeout(fun) {
|
|
87
|
+
if (cachedSetTimeout === setTimeout) {
|
|
88
|
+
//normal enviroments in sane situations
|
|
89
|
+
return setTimeout(fun, 0);
|
|
90
|
+
}
|
|
91
|
+
// if setTimeout wasn't available but was latter defined
|
|
92
|
+
if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {
|
|
93
|
+
cachedSetTimeout = setTimeout;
|
|
94
|
+
return setTimeout(fun, 0);
|
|
95
|
+
}
|
|
96
|
+
try {
|
|
97
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
98
|
+
return cachedSetTimeout(fun, 0);
|
|
99
|
+
} catch(e){
|
|
100
|
+
try {
|
|
101
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
102
|
+
return cachedSetTimeout.call(null, fun, 0);
|
|
103
|
+
} catch(e){
|
|
104
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error
|
|
105
|
+
return cachedSetTimeout.call(this, fun, 0);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
}
|
|
111
|
+
function runClearTimeout(marker) {
|
|
112
|
+
if (cachedClearTimeout === clearTimeout) {
|
|
113
|
+
//normal enviroments in sane situations
|
|
114
|
+
return clearTimeout(marker);
|
|
115
|
+
}
|
|
116
|
+
// if clearTimeout wasn't available but was latter defined
|
|
117
|
+
if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {
|
|
118
|
+
cachedClearTimeout = clearTimeout;
|
|
119
|
+
return clearTimeout(marker);
|
|
120
|
+
}
|
|
121
|
+
try {
|
|
122
|
+
// when when somebody has screwed with setTimeout but no I.E. maddness
|
|
123
|
+
return cachedClearTimeout(marker);
|
|
124
|
+
} catch (e){
|
|
125
|
+
try {
|
|
126
|
+
// When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally
|
|
127
|
+
return cachedClearTimeout.call(null, marker);
|
|
128
|
+
} catch (e){
|
|
129
|
+
// same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.
|
|
130
|
+
// Some versions of I.E. have different rules for clearTimeout vs setTimeout
|
|
131
|
+
return cachedClearTimeout.call(this, marker);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
}
|
|
138
|
+
var queue = [];
|
|
139
|
+
var draining = false;
|
|
140
|
+
var currentQueue;
|
|
141
|
+
var queueIndex = -1;
|
|
142
|
+
|
|
143
|
+
function cleanUpNextTick() {
|
|
144
|
+
if (!draining || !currentQueue) {
|
|
145
|
+
return;
|
|
146
|
+
}
|
|
147
|
+
draining = false;
|
|
148
|
+
if (currentQueue.length) {
|
|
149
|
+
queue = currentQueue.concat(queue);
|
|
150
|
+
} else {
|
|
151
|
+
queueIndex = -1;
|
|
152
|
+
}
|
|
153
|
+
if (queue.length) {
|
|
154
|
+
drainQueue();
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
function drainQueue() {
|
|
159
|
+
if (draining) {
|
|
160
|
+
return;
|
|
161
|
+
}
|
|
162
|
+
var timeout = runTimeout(cleanUpNextTick);
|
|
163
|
+
draining = true;
|
|
164
|
+
|
|
165
|
+
var len = queue.length;
|
|
166
|
+
while(len) {
|
|
167
|
+
currentQueue = queue;
|
|
168
|
+
queue = [];
|
|
169
|
+
while (++queueIndex < len) {
|
|
170
|
+
if (currentQueue) {
|
|
171
|
+
currentQueue[queueIndex].run();
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
queueIndex = -1;
|
|
175
|
+
len = queue.length;
|
|
176
|
+
}
|
|
177
|
+
currentQueue = null;
|
|
178
|
+
draining = false;
|
|
179
|
+
runClearTimeout(timeout);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
process.nextTick = function (fun) {
|
|
183
|
+
var args = new Array(arguments.length - 1);
|
|
184
|
+
if (arguments.length > 1) {
|
|
185
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
186
|
+
args[i - 1] = arguments[i];
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
queue.push(new Item(fun, args));
|
|
190
|
+
if (queue.length === 1 && !draining) {
|
|
191
|
+
runTimeout(drainQueue);
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
// v8 likes predictible objects
|
|
196
|
+
function Item(fun, array) {
|
|
197
|
+
this.fun = fun;
|
|
198
|
+
this.array = array;
|
|
199
|
+
}
|
|
200
|
+
Item.prototype.run = function () {
|
|
201
|
+
this.fun.apply(null, this.array);
|
|
202
|
+
};
|
|
203
|
+
process.title = 'browser';
|
|
204
|
+
process.browser = true;
|
|
205
|
+
process.env = {};
|
|
206
|
+
process.argv = [];
|
|
207
|
+
process.version = ''; // empty string to avoid regexp issues
|
|
208
|
+
process.versions = {};
|
|
209
|
+
|
|
210
|
+
function noop() {}
|
|
211
|
+
|
|
212
|
+
process.on = noop;
|
|
213
|
+
process.addListener = noop;
|
|
214
|
+
process.once = noop;
|
|
215
|
+
process.off = noop;
|
|
216
|
+
process.removeListener = noop;
|
|
217
|
+
process.removeAllListeners = noop;
|
|
218
|
+
process.emit = noop;
|
|
219
|
+
process.prependListener = noop;
|
|
220
|
+
process.prependOnceListener = noop;
|
|
221
|
+
|
|
222
|
+
process.listeners = function (name) { return [] }
|
|
223
|
+
|
|
224
|
+
process.binding = function (name) {
|
|
225
|
+
throw new Error('process.binding is not supported');
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
process.cwd = function () { return '/' };
|
|
229
|
+
process.chdir = function (dir) {
|
|
230
|
+
throw new Error('process.chdir is not supported');
|
|
231
|
+
};
|
|
232
|
+
process.umask = function() { return 0; };
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
/***/ }
|
|
236
|
+
|
|
237
|
+
/******/ });
|
|
238
|
+
/************************************************************************/
|
|
239
|
+
/******/ // The module cache
|
|
240
|
+
/******/ var __webpack_module_cache__ = {};
|
|
241
|
+
/******/
|
|
242
|
+
/******/ // The require function
|
|
243
|
+
/******/ function __webpack_require__(moduleId) {
|
|
244
|
+
/******/ // Check if module is in cache
|
|
245
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
246
|
+
/******/ if (cachedModule !== undefined) {
|
|
247
|
+
/******/ return cachedModule.exports;
|
|
248
|
+
/******/ }
|
|
249
|
+
/******/ // Create a new module (and put it into the cache)
|
|
250
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
251
|
+
/******/ // no module.id needed
|
|
252
|
+
/******/ // no module.loaded needed
|
|
253
|
+
/******/ exports: {}
|
|
254
|
+
/******/ };
|
|
255
|
+
/******/
|
|
256
|
+
/******/ // Execute the module function
|
|
257
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
258
|
+
/******/
|
|
259
|
+
/******/ // Return the exports of the module
|
|
260
|
+
/******/ return module.exports;
|
|
261
|
+
/******/ }
|
|
262
|
+
/******/
|
|
263
|
+
/************************************************************************/
|
|
264
|
+
// This entry needs to be wrapped in an IIFE because it needs to be in strict mode.
|
|
265
|
+
(() => {
|
|
266
|
+
"use strict";
|
|
267
|
+
|
|
268
|
+
// EXTERNAL MODULE: ./node_modules/process/browser.js
|
|
269
|
+
var browser = __webpack_require__(5606);
|
|
270
|
+
;// ./node_modules/try-to-catch/lib/try-to-catch.js
|
|
271
|
+
const isFn = (a) => typeof a === 'function';
|
|
272
|
+
|
|
273
|
+
const tryToCatch = async (fn, ...args) => {
|
|
274
|
+
check(fn);
|
|
275
|
+
|
|
276
|
+
try {
|
|
277
|
+
return [null, await fn(...args)];
|
|
278
|
+
} catch(e) {
|
|
279
|
+
return [e];
|
|
280
|
+
}
|
|
281
|
+
};
|
|
282
|
+
|
|
283
|
+
function check(fn) {
|
|
284
|
+
if (!isFn(fn))
|
|
285
|
+
throw Error('fn should be a function!');
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
// EXTERNAL MODULE: ./node_modules/currify/lib/currify.js
|
|
289
|
+
var currify = __webpack_require__(4299);
|
|
290
|
+
;// ./client/sw/sw.js
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
const isDev = "production" === 'development';
|
|
295
|
+
const isGet = a => a.method === 'GET';
|
|
296
|
+
const isBasic = a => a.type === 'basic';
|
|
297
|
+
const wait = currify((f, e) => e.waitUntil(f()));
|
|
298
|
+
const respondWith = currify((f, e) => {
|
|
299
|
+
const {
|
|
300
|
+
request
|
|
301
|
+
} = e;
|
|
302
|
+
const {
|
|
303
|
+
url
|
|
304
|
+
} = request;
|
|
305
|
+
const pathname = getPathName(url);
|
|
306
|
+
if (url.endsWith('/') || /\^\/fs/.test(pathname)) return;
|
|
307
|
+
if (!isGet(request)) return;
|
|
308
|
+
if (!isBasic(request)) return;
|
|
309
|
+
if (pathname.startsWith('/api')) return;
|
|
310
|
+
if (/^socket.io/.test(pathname)) return;
|
|
311
|
+
e.respondWith(f(e));
|
|
312
|
+
});
|
|
313
|
+
const getPathName = url => new URL(url).pathname;
|
|
314
|
+
const date = "Sun Feb 15 2026 23:46:50 GMT+0200 (Eastern European Standard Time)";
|
|
315
|
+
const NAME = `cloudcmd: ${date}`;
|
|
316
|
+
const createRequest = a => new Request(a, {
|
|
317
|
+
credentials: 'same-origin'
|
|
318
|
+
});
|
|
319
|
+
const getRequest = (a, request) => {
|
|
320
|
+
if (a !== '/') return request;
|
|
321
|
+
return createRequest('/');
|
|
322
|
+
};
|
|
323
|
+
globalThis.addEventListener('install', wait(onInstall));
|
|
324
|
+
globalThis.addEventListener('fetch', respondWith(onFetch));
|
|
325
|
+
globalThis.addEventListener('activate', wait(onActivate));
|
|
326
|
+
async function onActivate() {
|
|
327
|
+
console.info(`cloudcmd: sw: activate: ${NAME}`);
|
|
328
|
+
await globalThis.clients.claim();
|
|
329
|
+
const keys = await caches.keys();
|
|
330
|
+
const deleteCache = caches.delete.bind(caches);
|
|
331
|
+
await Promise.all(keys.map(deleteCache));
|
|
332
|
+
}
|
|
333
|
+
async function onInstall() {
|
|
334
|
+
console.info(`cloudcmd: sw: install: ${NAME}`);
|
|
335
|
+
await globalThis.skipWaiting();
|
|
336
|
+
}
|
|
337
|
+
async function onFetch(event) {
|
|
338
|
+
const {
|
|
339
|
+
request
|
|
340
|
+
} = event;
|
|
341
|
+
const {
|
|
342
|
+
url
|
|
343
|
+
} = request;
|
|
344
|
+
const pathname = getPathName(url);
|
|
345
|
+
const newRequest = getRequest(pathname, event.request);
|
|
346
|
+
const cache = await caches.open(NAME);
|
|
347
|
+
const response = await cache.match(request);
|
|
348
|
+
if (!isDev && response) return response;
|
|
349
|
+
const [e, resp] = await tryToCatch(fetch, newRequest, {
|
|
350
|
+
credentials: 'same-origin'
|
|
351
|
+
});
|
|
352
|
+
if (e) return new Response(e.message);
|
|
353
|
+
await addToCache(request, resp.clone());
|
|
354
|
+
return resp;
|
|
355
|
+
}
|
|
356
|
+
async function addToCache(request, response) {
|
|
357
|
+
const cache = await caches.open(NAME);
|
|
358
|
+
return cache.put(request, response);
|
|
359
|
+
}
|
|
360
|
+
})();
|
|
361
|
+
|
|
362
|
+
/******/ })()
|
|
363
|
+
;
|
|
2
364
|
//# sourceMappingURL=sw.js.map
|