cloudcmd 18.6.1 → 18.7.1
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 +30 -0
- package/HELP.md +3 -1
- package/README.md +1 -1
- package/dist/cloudcmd.common.css +1 -1
- package/dist/cloudcmd.common.js +5 -10
- package/dist/cloudcmd.common.js.map +1 -1
- package/dist/cloudcmd.js +1 -1
- package/dist/cloudcmd.js.map +1 -1
- package/dist/columns/name-size-date.js +0 -0
- package/dist/columns/name-size.js +0 -0
- package/dist/config.css +1 -1
- package/dist/config.js +0 -0
- package/dist/help.css +1 -0
- package/dist/help.js +0 -0
- package/dist/index.html +1 -1
- package/dist/modules/cloud.js +1 -1
- package/dist/modules/cloud.js.map +1 -1
- package/dist/modules/command-line.js +1 -1
- package/dist/modules/command-line.js.map +1 -1
- package/dist/modules/config.js +1 -1
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/contact.js +1 -1
- package/dist/modules/contact.js.map +1 -1
- package/dist/modules/edit-file-vim.js +1 -1
- package/dist/modules/edit-file-vim.js.map +1 -1
- package/dist/modules/edit-file.js +1 -1
- package/dist/modules/edit-file.js.map +1 -1
- package/dist/modules/edit-names-vim.js +1 -1
- package/dist/modules/edit-names-vim.js.map +1 -1
- package/dist/modules/edit-names.js +1 -1
- package/dist/modules/edit-names.js.map +1 -1
- package/dist/modules/edit.js +1 -5
- package/dist/modules/edit.js.map +1 -1
- package/dist/modules/help.js +1 -1
- package/dist/modules/help.js.map +1 -1
- package/dist/modules/konsole.js +1 -1
- package/dist/modules/konsole.js.map +1 -1
- package/dist/modules/markdown.js +1 -1
- package/dist/modules/markdown.js.map +1 -1
- package/dist/modules/menu.js +1 -1
- package/dist/modules/menu.js.map +1 -1
- package/dist/modules/operation.js +1 -1
- package/dist/modules/operation.js.map +1 -1
- package/dist/modules/polyfill.js +1 -1
- package/dist/modules/polyfill.js.map +1 -1
- package/dist/modules/terminal-run.js +1 -1
- package/dist/modules/terminal-run.js.map +1 -1
- package/dist/modules/terminal.js +1 -1
- package/dist/modules/terminal.js.map +1 -1
- package/dist/modules/upload.js +1 -1
- package/dist/modules/upload.js.map +1 -1
- package/dist/modules/user-menu.js +1 -1
- package/dist/modules/user-menu.js.map +1 -1
- package/dist/modules/view.js +1 -1
- package/dist/modules/view.js.map +1 -1
- package/dist/nojs.js +0 -0
- package/dist/sw.js +1 -10
- package/dist/sw.js.map +1 -1
- package/dist/terminal.js +0 -0
- package/dist/themes/dark.css +1 -1
- package/dist/themes/dark.js +0 -0
- package/dist/themes/light.css +1 -1
- package/dist/themes/light.js +0 -0
- package/dist/user-menu.css +1 -1
- package/dist/user-menu.js +0 -0
- package/dist/view.css +1 -1
- package/dist/view.js +0 -0
- package/dist-dev/cloudcmd.common.css +1076 -104
- package/dist-dev/cloudcmd.common.js +690 -257
- package/dist-dev/cloudcmd.js +136 -413
- package/dist-dev/columns/name-size-date.css +4 -0
- package/dist-dev/columns/name-size-date.js +49 -0
- package/dist-dev/columns/name-size.css +4 -0
- package/dist-dev/columns/name-size.js +49 -0
- package/dist-dev/config.css +4 -0
- package/dist-dev/config.js +49 -0
- package/dist-dev/help.css +16 -0
- package/dist-dev/help.js +49 -0
- package/dist-dev/index.html +1 -1
- package/dist-dev/modules/cloud.js +136 -155
- package/dist-dev/modules/command-line.js +136 -155
- package/dist-dev/modules/config.js +136 -178
- package/dist-dev/modules/contact.js +136 -155
- package/dist-dev/modules/edit-file-vim.js +136 -155
- package/dist-dev/modules/edit-file.js +136 -155
- package/dist-dev/modules/edit-names-vim.js +136 -155
- package/dist-dev/modules/edit-names.js +136 -155
- package/dist-dev/modules/edit.js +136 -155
- package/dist-dev/modules/help.js +136 -155
- package/dist-dev/modules/konsole.js +136 -155
- package/dist-dev/modules/markdown.js +136 -155
- package/dist-dev/modules/menu.js +136 -155
- package/dist-dev/modules/operation.js +136 -203
- package/dist-dev/modules/polyfill.js +136 -155
- package/dist-dev/modules/terminal-run.js +136 -155
- package/dist-dev/modules/terminal.js +136 -155
- package/dist-dev/modules/upload.js +136 -155
- package/dist-dev/modules/user-menu.js +136 -226
- package/dist-dev/modules/view.js +136 -178
- package/dist-dev/nojs.css +4 -0
- package/dist-dev/nojs.js +49 -0
- package/dist-dev/sw.js +50 -106
- package/dist-dev/terminal.css +4 -0
- package/dist-dev/terminal.js +49 -0
- package/dist-dev/themes/dark.css +4 -0
- package/dist-dev/themes/dark.js +49 -0
- package/dist-dev/themes/light.css +4 -0
- package/dist-dev/themes/light.js +49 -0
- package/dist-dev/user-menu.css +4 -0
- package/dist-dev/user-menu.js +49 -0
- package/dist-dev/view.css +4 -0
- package/dist-dev/view.js +49 -0
- package/package.json +14 -16
- package/server/columns.mjs +1 -1
- package/server/theme.mjs +1 -1
- package/dist/cloudcmd.css +0 -1
- package/dist-dev/cloudcmd.css +0 -776
|
@@ -1,170 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/******/
|
|
10
|
-
/******/
|
|
11
|
-
/******/
|
|
12
|
-
|
|
13
|
-
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
14
|
-
/******/ resolves.push(installedChunks[chunkId][0]);
|
|
15
|
-
/******/ }
|
|
16
|
-
/******/ installedChunks[chunkId] = 0;
|
|
17
|
-
/******/ }
|
|
18
|
-
/******/ for(moduleId in moreModules) {
|
|
19
|
-
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
|
20
|
-
/******/ modules[moduleId] = moreModules[moduleId];
|
|
21
|
-
/******/ }
|
|
22
|
-
/******/ }
|
|
23
|
-
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
|
24
|
-
/******/
|
|
25
|
-
/******/ while(resolves.length) {
|
|
26
|
-
/******/ resolves.shift()();
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/
|
|
29
|
-
/******/ // add entry modules from loaded chunk to deferred list
|
|
30
|
-
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
|
|
31
|
-
/******/
|
|
32
|
-
/******/ // run deferred modules when all chunks ready
|
|
33
|
-
/******/ return checkDeferredModules();
|
|
34
|
-
/******/ };
|
|
35
|
-
/******/ function checkDeferredModules() {
|
|
36
|
-
/******/ var result;
|
|
37
|
-
/******/ for(var i = 0; i < deferredModules.length; i++) {
|
|
38
|
-
/******/ var deferredModule = deferredModules[i];
|
|
39
|
-
/******/ var fulfilled = true;
|
|
40
|
-
/******/ for(var j = 1; j < deferredModule.length; j++) {
|
|
41
|
-
/******/ var depId = deferredModule[j];
|
|
42
|
-
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
|
|
43
|
-
/******/ }
|
|
44
|
-
/******/ if(fulfilled) {
|
|
45
|
-
/******/ deferredModules.splice(i--, 1);
|
|
46
|
-
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
|
47
|
-
/******/ }
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/
|
|
50
|
-
/******/ return result;
|
|
51
|
-
/******/ }
|
|
52
|
-
/******/
|
|
1
|
+
/*
|
|
2
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
+
* This devtool is neither made for production nor for readable output files.
|
|
4
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
+
* or disable the default devtool with "devtool: false".
|
|
7
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
+
*/
|
|
9
|
+
/******/ (() => { // webpackBootstrap
|
|
10
|
+
/******/ "use strict";
|
|
11
|
+
/******/ var __webpack_modules__ = ({});
|
|
12
|
+
/************************************************************************/
|
|
53
13
|
/******/ // The module cache
|
|
54
|
-
/******/ var
|
|
55
|
-
/******/
|
|
56
|
-
/******/ // object to store loaded and loading chunks
|
|
57
|
-
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
58
|
-
/******/ // Promise = chunk loading, 0 = chunk loaded
|
|
59
|
-
/******/ var installedChunks = {
|
|
60
|
-
/******/ "./modules/edit-names": 0
|
|
61
|
-
/******/ };
|
|
62
|
-
/******/
|
|
63
|
-
/******/ var deferredModules = [];
|
|
64
|
-
/******/
|
|
14
|
+
/******/ var __webpack_module_cache__ = {};
|
|
15
|
+
/******/
|
|
65
16
|
/******/ // The require function
|
|
66
17
|
/******/ function __webpack_require__(moduleId) {
|
|
67
|
-
/******/
|
|
68
18
|
/******/ // Check if module is in cache
|
|
69
|
-
/******/
|
|
70
|
-
/******/
|
|
19
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
20
|
+
/******/ if (cachedModule !== undefined) {
|
|
21
|
+
/******/ return cachedModule.exports;
|
|
71
22
|
/******/ }
|
|
72
23
|
/******/ // Create a new module (and put it into the cache)
|
|
73
|
-
/******/ var module =
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
24
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
25
|
+
/******/ // no module.id needed
|
|
26
|
+
/******/ // no module.loaded needed
|
|
76
27
|
/******/ exports: {}
|
|
77
28
|
/******/ };
|
|
78
|
-
/******/
|
|
29
|
+
/******/
|
|
79
30
|
/******/ // Execute the module function
|
|
80
|
-
/******/
|
|
81
|
-
/******/
|
|
82
|
-
/******/ // Flag the module as loaded
|
|
83
|
-
/******/ module.l = true;
|
|
84
|
-
/******/
|
|
31
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
32
|
+
/******/
|
|
85
33
|
/******/ // Return the exports of the module
|
|
86
34
|
/******/ return module.exports;
|
|
87
35
|
/******/ }
|
|
88
|
-
/******/
|
|
89
|
-
/******/
|
|
36
|
+
/******/
|
|
90
37
|
/******/ // expose the modules object (__webpack_modules__)
|
|
91
|
-
/******/ __webpack_require__.m =
|
|
92
|
-
/******/
|
|
93
|
-
|
|
94
|
-
/******/
|
|
95
|
-
/******/
|
|
96
|
-
/******/
|
|
97
|
-
/******/
|
|
98
|
-
/******/
|
|
99
|
-
/******/
|
|
100
|
-
/******/
|
|
101
|
-
/******/
|
|
102
|
-
/******/
|
|
103
|
-
/******/
|
|
104
|
-
/******/
|
|
105
|
-
/******/
|
|
106
|
-
/******/
|
|
38
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
39
|
+
/******/
|
|
40
|
+
/************************************************************************/
|
|
41
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
42
|
+
/******/ (() => {
|
|
43
|
+
/******/ var deferred = [];
|
|
44
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
45
|
+
/******/ if(chunkIds) {
|
|
46
|
+
/******/ priority = priority || 0;
|
|
47
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
48
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
49
|
+
/******/ return;
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/ var notFulfilled = Infinity;
|
|
52
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
53
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
54
|
+
/******/ var fulfilled = true;
|
|
55
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
56
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
57
|
+
/******/ chunkIds.splice(j--, 1);
|
|
58
|
+
/******/ } else {
|
|
59
|
+
/******/ fulfilled = false;
|
|
60
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
61
|
+
/******/ }
|
|
62
|
+
/******/ }
|
|
63
|
+
/******/ if(fulfilled) {
|
|
64
|
+
/******/ deferred.splice(i--, 1)
|
|
65
|
+
/******/ var r = fn();
|
|
66
|
+
/******/ if (r !== undefined) result = r;
|
|
67
|
+
/******/ }
|
|
68
|
+
/******/ }
|
|
69
|
+
/******/ return result;
|
|
70
|
+
/******/ };
|
|
71
|
+
/******/ })();
|
|
72
|
+
/******/
|
|
73
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
74
|
+
/******/ (() => {
|
|
75
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
76
|
+
/******/ })();
|
|
77
|
+
/******/
|
|
78
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
79
|
+
/******/ (() => {
|
|
80
|
+
/******/ // define __esModule on exports
|
|
81
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
82
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
83
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
84
|
+
/******/ }
|
|
85
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
86
|
+
/******/ };
|
|
87
|
+
/******/ })();
|
|
88
|
+
/******/
|
|
89
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
90
|
+
/******/ (() => {
|
|
91
|
+
/******/ // no baseURI
|
|
92
|
+
/******/
|
|
93
|
+
/******/ // object to store loaded and loading chunks
|
|
94
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
95
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
96
|
+
/******/ var installedChunks = {
|
|
97
|
+
/******/ "./modules/edit-names": 0
|
|
98
|
+
/******/ };
|
|
99
|
+
/******/
|
|
100
|
+
/******/ // no chunk on demand loading
|
|
101
|
+
/******/
|
|
102
|
+
/******/ // no prefetching
|
|
103
|
+
/******/
|
|
104
|
+
/******/ // no preloaded
|
|
105
|
+
/******/
|
|
106
|
+
/******/ // no HMR
|
|
107
|
+
/******/
|
|
108
|
+
/******/ // no HMR manifest
|
|
109
|
+
/******/
|
|
110
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
111
|
+
/******/
|
|
112
|
+
/******/ // install a JSONP callback for chunk loading
|
|
113
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
114
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
115
|
+
/******/ // add "moreModules" to the modules object,
|
|
116
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
117
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
118
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
119
|
+
/******/ for(moduleId in moreModules) {
|
|
120
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
121
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
122
|
+
/******/ }
|
|
123
|
+
/******/ }
|
|
124
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
125
|
+
/******/ }
|
|
126
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
127
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
128
|
+
/******/ chunkId = chunkIds[i];
|
|
129
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
130
|
+
/******/ installedChunks[chunkId][0]();
|
|
131
|
+
/******/ }
|
|
132
|
+
/******/ installedChunks[chunkId] = 0;
|
|
133
|
+
/******/ }
|
|
134
|
+
/******/ return __webpack_require__.O(result);
|
|
107
135
|
/******/ }
|
|
108
|
-
/******/
|
|
109
|
-
/******/
|
|
110
|
-
/******/
|
|
111
|
-
/******/
|
|
112
|
-
/******/
|
|
113
|
-
/******/
|
|
114
|
-
/******/ // mode & 4: return value when already ns object
|
|
115
|
-
/******/ // mode & 8|1: behave like require
|
|
116
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
117
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
118
|
-
/******/ if(mode & 8) return value;
|
|
119
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
120
|
-
/******/ var ns = Object.create(null);
|
|
121
|
-
/******/ __webpack_require__.r(ns);
|
|
122
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
123
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
124
|
-
/******/ return ns;
|
|
125
|
-
/******/ };
|
|
126
|
-
/******/
|
|
127
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
128
|
-
/******/ __webpack_require__.n = function(module) {
|
|
129
|
-
/******/ var getter = module && module.__esModule ?
|
|
130
|
-
/******/ function getDefault() { return module['default']; } :
|
|
131
|
-
/******/ function getModuleExports() { return module; };
|
|
132
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
133
|
-
/******/ return getter;
|
|
134
|
-
/******/ };
|
|
135
|
-
/******/
|
|
136
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
137
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
138
|
-
/******/
|
|
139
|
-
/******/ // __webpack_public_path__
|
|
140
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
141
|
-
/******/
|
|
142
|
-
/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
|
|
143
|
-
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
|
144
|
-
/******/ jsonpArray.push = webpackJsonpCallback;
|
|
145
|
-
/******/ jsonpArray = jsonpArray.slice();
|
|
146
|
-
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
|
147
|
-
/******/ var parentJsonpFunction = oldJsonpFunction;
|
|
148
|
-
/******/
|
|
149
|
-
/******/
|
|
150
|
-
/******/ // add entry module to deferred list
|
|
151
|
-
/******/ deferredModules.push(["./client/modules/edit-names.js","cloudcmd.common"]);
|
|
152
|
-
/******/ // run deferred modules when ready
|
|
153
|
-
/******/ return checkDeferredModules();
|
|
154
|
-
/******/ })
|
|
136
|
+
/******/
|
|
137
|
+
/******/ var chunkLoadingGlobal = globalThis["webpackChunkcloudcmd"] = globalThis["webpackChunkcloudcmd"] || [];
|
|
138
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
139
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
140
|
+
/******/ })();
|
|
141
|
+
/******/
|
|
155
142
|
/************************************************************************/
|
|
156
|
-
/******/
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"use strict";
|
|
166
|
-
eval("\n\n/* global CloudCmd, DOM */\nCloudCmd.EditNames = exports;\nconst currify = __webpack_require__(/*! currify */ \"./node_modules/currify/lib/currify.js\");\nconst exec = __webpack_require__(/*! execon */ \"./node_modules/execon/lib/exec.js\");\nconst supermenu = __webpack_require__(/*! supermenu */ \"./node_modules/supermenu/lib/supermenu.js\");\nconst multiRename = __webpack_require__(/*! multi-rename */ \"./node_modules/multi-rename/lib/multi-rename.js\");\nconst reject = Promise.reject.bind(Promise);\nconst Info = DOM.CurrentInfo;\nconst {\n Dialog\n} = DOM;\nconst refresh = currify(_refresh);\nconst rename = currify(_rename);\nlet Menu;\nconst ConfigView = {\n beforeClose: async () => {\n exec.ifExist(Menu, 'hide');\n DOM.Events.remove('keydown', keyListener);\n await isChanged();\n }\n};\nmodule.exports.init = async () => {\n await CloudCmd.Edit();\n setListeners();\n};\nmodule.exports.show = options => {\n const names = getActiveNames().join('\\n');\n const config = {\n ...ConfigView,\n ...options\n };\n if (Info.name === '..' && names.length === 1) return Dialog.alert.noFiles();\n DOM.Events.addKey(keyListener);\n CloudCmd.Edit.getEditor().setValueFirst('edit-names', names).setMode().setOption('keyMap', 'default').disableKey();\n CloudCmd.Edit.show(config);\n return CloudCmd.Edit;\n};\nasync function keyListener(event) {\n const ctrl = event.ctrlKey;\n const meta = event.metaKey;\n const ctrlMeta = ctrl || meta;\n const {\n Key\n } = CloudCmd;\n if (ctrlMeta && event.keyCode === Key.S) {\n hide();\n } else if (ctrlMeta && event.keyCode === Key.P) {\n const [, pattern] = await Dialog.prompt('Apply pattern:', '[n][e]');\n pattern && applyPattern(pattern);\n }\n}\nfunction applyPattern(pattern) {\n const newNames = multiRename(pattern, getActiveNames());\n const editor = CloudCmd.Edit.getEditor();\n editor.setValue(newNames.join('\\n'));\n}\nfunction getActiveNames() {\n return DOM.getFilenames(DOM.getActiveFiles());\n}\nmodule.exports.hide = hide;\nfunction hide() {\n CloudCmd.Edit.hide();\n}\nfunction setListeners() {\n const element = CloudCmd.Edit.getElement();\n DOM.Events.addOnce('contextmenu', element, setMenu);\n}\nfunction applyNames() {\n const dir = Info.dirPath;\n const from = getActiveNames();\n const nameIndex = from.indexOf(Info.name);\n const editor = CloudCmd.Edit.getEditor();\n const to = editor.getValue().split('\\n');\n const root = CloudCmd.config('root');\n Promise.resolve(root).then(rename(dir, from, to)).then(refresh(to, nameIndex)).catch(alert);\n}\nfunction _refresh(to, nameIndex, res) {\n if (res.status === 404) return res.text().then(reject);\n const currentName = to[nameIndex];\n CloudCmd.refresh({\n currentName\n });\n}\nfunction getDir(root, dir) {\n if (root === '/') return dir;\n return root + dir;\n}\nfunction _rename(path, from, to, root) {\n const dir = getDir(root, path);\n const {\n prefix\n } = CloudCmd;\n return fetch(`${prefix}/rename`, {\n method: 'put',\n credentials: 'include',\n body: JSON.stringify({\n from,\n to,\n dir\n })\n });\n}\nfunction setMenu(event) {\n const position = {\n x: event.clientX,\n y: event.clientY\n };\n event.preventDefault();\n if (Menu) return;\n const editor = CloudCmd.Edit.getEditor();\n const options = {\n beforeShow: params => {\n params.x -= 18;\n params.y -= 27;\n },\n afterClick: () => {\n editor.focus();\n }\n };\n const menuData = {\n 'Save Ctrl+S': () => {\n applyNames();\n hide();\n },\n 'Go To Line Ctrl+G': () => {\n editor.goToLine();\n },\n 'Cut Ctrl+X': () => {\n editor.cutToClipboard();\n },\n 'Copy Ctrl+C': () => {\n editor.copyToClipboard();\n },\n 'Paste Ctrl+V': () => {\n editor.pasteFromClipboard();\n },\n 'Delete Del': () => {\n editor.remove('right');\n },\n 'Select All Ctrl+A': () => {\n editor.selectAll();\n },\n 'Close Esc': hide\n };\n const element = CloudCmd.Edit.getElement();\n Menu = supermenu(element, options, menuData);\n Menu.addContextMenuListener();\n Menu.show(position.x, position.y);\n}\nmodule.exports.isChanged = isChanged;\nasync function isChanged() {\n const editor = CloudCmd.Edit.getEditor();\n const msg = 'Apply new names?';\n if (!editor.isChanged()) return;\n const [, names] = await Dialog.confirm(msg);\n names && applyNames();\n}\n\n//# sourceURL=file://cloudcmd/client/modules/edit-names.js");
|
|
167
|
-
|
|
168
|
-
/***/ })
|
|
169
|
-
|
|
170
|
-
/******/ });
|
|
143
|
+
/******/
|
|
144
|
+
/******/ // startup
|
|
145
|
+
/******/ // Load entry module and return exports
|
|
146
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
147
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/edit-names.js")))
|
|
148
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
149
|
+
/******/
|
|
150
|
+
/******/ })()
|
|
151
|
+
;
|
package/dist-dev/modules/edit.js
CHANGED
|
@@ -1,170 +1,151 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
/******/
|
|
10
|
-
/******/
|
|
11
|
-
/******/
|
|
12
|
-
|
|
13
|
-
/******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
14
|
-
/******/ resolves.push(installedChunks[chunkId][0]);
|
|
15
|
-
/******/ }
|
|
16
|
-
/******/ installedChunks[chunkId] = 0;
|
|
17
|
-
/******/ }
|
|
18
|
-
/******/ for(moduleId in moreModules) {
|
|
19
|
-
/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
|
|
20
|
-
/******/ modules[moduleId] = moreModules[moduleId];
|
|
21
|
-
/******/ }
|
|
22
|
-
/******/ }
|
|
23
|
-
/******/ if(parentJsonpFunction) parentJsonpFunction(data);
|
|
24
|
-
/******/
|
|
25
|
-
/******/ while(resolves.length) {
|
|
26
|
-
/******/ resolves.shift()();
|
|
27
|
-
/******/ }
|
|
28
|
-
/******/
|
|
29
|
-
/******/ // add entry modules from loaded chunk to deferred list
|
|
30
|
-
/******/ deferredModules.push.apply(deferredModules, executeModules || []);
|
|
31
|
-
/******/
|
|
32
|
-
/******/ // run deferred modules when all chunks ready
|
|
33
|
-
/******/ return checkDeferredModules();
|
|
34
|
-
/******/ };
|
|
35
|
-
/******/ function checkDeferredModules() {
|
|
36
|
-
/******/ var result;
|
|
37
|
-
/******/ for(var i = 0; i < deferredModules.length; i++) {
|
|
38
|
-
/******/ var deferredModule = deferredModules[i];
|
|
39
|
-
/******/ var fulfilled = true;
|
|
40
|
-
/******/ for(var j = 1; j < deferredModule.length; j++) {
|
|
41
|
-
/******/ var depId = deferredModule[j];
|
|
42
|
-
/******/ if(installedChunks[depId] !== 0) fulfilled = false;
|
|
43
|
-
/******/ }
|
|
44
|
-
/******/ if(fulfilled) {
|
|
45
|
-
/******/ deferredModules.splice(i--, 1);
|
|
46
|
-
/******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
|
|
47
|
-
/******/ }
|
|
48
|
-
/******/ }
|
|
49
|
-
/******/
|
|
50
|
-
/******/ return result;
|
|
51
|
-
/******/ }
|
|
52
|
-
/******/
|
|
1
|
+
/*
|
|
2
|
+
* ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
|
|
3
|
+
* This devtool is neither made for production nor for readable output files.
|
|
4
|
+
* It uses "eval()" calls to create a separate source file in the browser devtools.
|
|
5
|
+
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
|
6
|
+
* or disable the default devtool with "devtool: false".
|
|
7
|
+
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
|
8
|
+
*/
|
|
9
|
+
/******/ (() => { // webpackBootstrap
|
|
10
|
+
/******/ "use strict";
|
|
11
|
+
/******/ var __webpack_modules__ = ({});
|
|
12
|
+
/************************************************************************/
|
|
53
13
|
/******/ // The module cache
|
|
54
|
-
/******/ var
|
|
55
|
-
/******/
|
|
56
|
-
/******/ // object to store loaded and loading chunks
|
|
57
|
-
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
58
|
-
/******/ // Promise = chunk loading, 0 = chunk loaded
|
|
59
|
-
/******/ var installedChunks = {
|
|
60
|
-
/******/ "./modules/edit": 0
|
|
61
|
-
/******/ };
|
|
62
|
-
/******/
|
|
63
|
-
/******/ var deferredModules = [];
|
|
64
|
-
/******/
|
|
14
|
+
/******/ var __webpack_module_cache__ = {};
|
|
15
|
+
/******/
|
|
65
16
|
/******/ // The require function
|
|
66
17
|
/******/ function __webpack_require__(moduleId) {
|
|
67
|
-
/******/
|
|
68
18
|
/******/ // Check if module is in cache
|
|
69
|
-
/******/
|
|
70
|
-
/******/
|
|
19
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
20
|
+
/******/ if (cachedModule !== undefined) {
|
|
21
|
+
/******/ return cachedModule.exports;
|
|
71
22
|
/******/ }
|
|
72
23
|
/******/ // Create a new module (and put it into the cache)
|
|
73
|
-
/******/ var module =
|
|
74
|
-
/******/
|
|
75
|
-
/******/
|
|
24
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
25
|
+
/******/ // no module.id needed
|
|
26
|
+
/******/ // no module.loaded needed
|
|
76
27
|
/******/ exports: {}
|
|
77
28
|
/******/ };
|
|
78
|
-
/******/
|
|
29
|
+
/******/
|
|
79
30
|
/******/ // Execute the module function
|
|
80
|
-
/******/
|
|
81
|
-
/******/
|
|
82
|
-
/******/ // Flag the module as loaded
|
|
83
|
-
/******/ module.l = true;
|
|
84
|
-
/******/
|
|
31
|
+
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
|
32
|
+
/******/
|
|
85
33
|
/******/ // Return the exports of the module
|
|
86
34
|
/******/ return module.exports;
|
|
87
35
|
/******/ }
|
|
88
|
-
/******/
|
|
89
|
-
/******/
|
|
36
|
+
/******/
|
|
90
37
|
/******/ // expose the modules object (__webpack_modules__)
|
|
91
|
-
/******/ __webpack_require__.m =
|
|
92
|
-
/******/
|
|
93
|
-
|
|
94
|
-
/******/
|
|
95
|
-
/******/
|
|
96
|
-
/******/
|
|
97
|
-
/******/
|
|
98
|
-
/******/
|
|
99
|
-
/******/
|
|
100
|
-
/******/
|
|
101
|
-
/******/
|
|
102
|
-
/******/
|
|
103
|
-
/******/
|
|
104
|
-
/******/
|
|
105
|
-
/******/
|
|
106
|
-
/******/
|
|
38
|
+
/******/ __webpack_require__.m = __webpack_modules__;
|
|
39
|
+
/******/
|
|
40
|
+
/************************************************************************/
|
|
41
|
+
/******/ /* webpack/runtime/chunk loaded */
|
|
42
|
+
/******/ (() => {
|
|
43
|
+
/******/ var deferred = [];
|
|
44
|
+
/******/ __webpack_require__.O = (result, chunkIds, fn, priority) => {
|
|
45
|
+
/******/ if(chunkIds) {
|
|
46
|
+
/******/ priority = priority || 0;
|
|
47
|
+
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
|
48
|
+
/******/ deferred[i] = [chunkIds, fn, priority];
|
|
49
|
+
/******/ return;
|
|
50
|
+
/******/ }
|
|
51
|
+
/******/ var notFulfilled = Infinity;
|
|
52
|
+
/******/ for (var i = 0; i < deferred.length; i++) {
|
|
53
|
+
/******/ var [chunkIds, fn, priority] = deferred[i];
|
|
54
|
+
/******/ var fulfilled = true;
|
|
55
|
+
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
|
56
|
+
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {
|
|
57
|
+
/******/ chunkIds.splice(j--, 1);
|
|
58
|
+
/******/ } else {
|
|
59
|
+
/******/ fulfilled = false;
|
|
60
|
+
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
|
61
|
+
/******/ }
|
|
62
|
+
/******/ }
|
|
63
|
+
/******/ if(fulfilled) {
|
|
64
|
+
/******/ deferred.splice(i--, 1)
|
|
65
|
+
/******/ var r = fn();
|
|
66
|
+
/******/ if (r !== undefined) result = r;
|
|
67
|
+
/******/ }
|
|
68
|
+
/******/ }
|
|
69
|
+
/******/ return result;
|
|
70
|
+
/******/ };
|
|
71
|
+
/******/ })();
|
|
72
|
+
/******/
|
|
73
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
74
|
+
/******/ (() => {
|
|
75
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
76
|
+
/******/ })();
|
|
77
|
+
/******/
|
|
78
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
79
|
+
/******/ (() => {
|
|
80
|
+
/******/ // define __esModule on exports
|
|
81
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
82
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
83
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
84
|
+
/******/ }
|
|
85
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
86
|
+
/******/ };
|
|
87
|
+
/******/ })();
|
|
88
|
+
/******/
|
|
89
|
+
/******/ /* webpack/runtime/jsonp chunk loading */
|
|
90
|
+
/******/ (() => {
|
|
91
|
+
/******/ // no baseURI
|
|
92
|
+
/******/
|
|
93
|
+
/******/ // object to store loaded and loading chunks
|
|
94
|
+
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
|
95
|
+
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
|
96
|
+
/******/ var installedChunks = {
|
|
97
|
+
/******/ "./modules/edit": 0
|
|
98
|
+
/******/ };
|
|
99
|
+
/******/
|
|
100
|
+
/******/ // no chunk on demand loading
|
|
101
|
+
/******/
|
|
102
|
+
/******/ // no prefetching
|
|
103
|
+
/******/
|
|
104
|
+
/******/ // no preloaded
|
|
105
|
+
/******/
|
|
106
|
+
/******/ // no HMR
|
|
107
|
+
/******/
|
|
108
|
+
/******/ // no HMR manifest
|
|
109
|
+
/******/
|
|
110
|
+
/******/ __webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);
|
|
111
|
+
/******/
|
|
112
|
+
/******/ // install a JSONP callback for chunk loading
|
|
113
|
+
/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
|
|
114
|
+
/******/ var [chunkIds, moreModules, runtime] = data;
|
|
115
|
+
/******/ // add "moreModules" to the modules object,
|
|
116
|
+
/******/ // then flag all "chunkIds" as loaded and fire callback
|
|
117
|
+
/******/ var moduleId, chunkId, i = 0;
|
|
118
|
+
/******/ if(chunkIds.some((id) => (installedChunks[id] !== 0))) {
|
|
119
|
+
/******/ for(moduleId in moreModules) {
|
|
120
|
+
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
|
121
|
+
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
|
122
|
+
/******/ }
|
|
123
|
+
/******/ }
|
|
124
|
+
/******/ if(runtime) var result = runtime(__webpack_require__);
|
|
125
|
+
/******/ }
|
|
126
|
+
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
|
127
|
+
/******/ for(;i < chunkIds.length; i++) {
|
|
128
|
+
/******/ chunkId = chunkIds[i];
|
|
129
|
+
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
|
130
|
+
/******/ installedChunks[chunkId][0]();
|
|
131
|
+
/******/ }
|
|
132
|
+
/******/ installedChunks[chunkId] = 0;
|
|
133
|
+
/******/ }
|
|
134
|
+
/******/ return __webpack_require__.O(result);
|
|
107
135
|
/******/ }
|
|
108
|
-
/******/
|
|
109
|
-
/******/
|
|
110
|
-
/******/
|
|
111
|
-
/******/
|
|
112
|
-
/******/
|
|
113
|
-
/******/
|
|
114
|
-
/******/ // mode & 4: return value when already ns object
|
|
115
|
-
/******/ // mode & 8|1: behave like require
|
|
116
|
-
/******/ __webpack_require__.t = function(value, mode) {
|
|
117
|
-
/******/ if(mode & 1) value = __webpack_require__(value);
|
|
118
|
-
/******/ if(mode & 8) return value;
|
|
119
|
-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
|
|
120
|
-
/******/ var ns = Object.create(null);
|
|
121
|
-
/******/ __webpack_require__.r(ns);
|
|
122
|
-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
|
|
123
|
-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
|
|
124
|
-
/******/ return ns;
|
|
125
|
-
/******/ };
|
|
126
|
-
/******/
|
|
127
|
-
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
128
|
-
/******/ __webpack_require__.n = function(module) {
|
|
129
|
-
/******/ var getter = module && module.__esModule ?
|
|
130
|
-
/******/ function getDefault() { return module['default']; } :
|
|
131
|
-
/******/ function getModuleExports() { return module; };
|
|
132
|
-
/******/ __webpack_require__.d(getter, 'a', getter);
|
|
133
|
-
/******/ return getter;
|
|
134
|
-
/******/ };
|
|
135
|
-
/******/
|
|
136
|
-
/******/ // Object.prototype.hasOwnProperty.call
|
|
137
|
-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
|
|
138
|
-
/******/
|
|
139
|
-
/******/ // __webpack_public_path__
|
|
140
|
-
/******/ __webpack_require__.p = "/dist/";
|
|
141
|
-
/******/
|
|
142
|
-
/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
|
|
143
|
-
/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
|
|
144
|
-
/******/ jsonpArray.push = webpackJsonpCallback;
|
|
145
|
-
/******/ jsonpArray = jsonpArray.slice();
|
|
146
|
-
/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
|
|
147
|
-
/******/ var parentJsonpFunction = oldJsonpFunction;
|
|
148
|
-
/******/
|
|
149
|
-
/******/
|
|
150
|
-
/******/ // add entry module to deferred list
|
|
151
|
-
/******/ deferredModules.push(["./client/modules/edit.js","cloudcmd.common"]);
|
|
152
|
-
/******/ // run deferred modules when ready
|
|
153
|
-
/******/ return checkDeferredModules();
|
|
154
|
-
/******/ })
|
|
136
|
+
/******/
|
|
137
|
+
/******/ var chunkLoadingGlobal = globalThis["webpackChunkcloudcmd"] = globalThis["webpackChunkcloudcmd"] || [];
|
|
138
|
+
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
|
139
|
+
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
|
140
|
+
/******/ })();
|
|
141
|
+
/******/
|
|
155
142
|
/************************************************************************/
|
|
156
|
-
/******/
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
"use strict";
|
|
166
|
-
eval("/* global CloudCmd */\n\n\n\nconst montag = __webpack_require__(/*! montag */ \"./node_modules/montag/lib/montag.js\");\nconst {\n promisify\n} = __webpack_require__(/*! es6-promisify */ \"./node_modules/es6-promisify/dist/promisify.mjs\");\nconst tryToCatch = __webpack_require__(/*! try-to-catch */ \"./node_modules/try-to-catch/lib/try-to-catch.js\");\nconst createElement = __webpack_require__(/*! @cloudcmd/create-element */ \"./node_modules/@cloudcmd/create-element/lib/create-element.js\");\nconst load = __webpack_require__(/*! load.js */ \"./node_modules/load.js/lib/load.js\");\nconst {\n MAX_FILE_SIZE: maxSize\n} = __webpack_require__(/*! ../../common/cloudfunc */ \"./common/cloudfunc.js\");\nconst {\n time,\n timeEnd\n} = __webpack_require__(/*! ../../common/util */ \"./common/util.js\");\nconst getEditor = () => editor;\nconst isFn = a => typeof a === 'function';\nconst loadJS = load.js;\nconst Name = 'Edit';\nCloudCmd[Name] = exports;\nconst EditorName = CloudCmd.config('editor');\nlet Loading = true;\nlet Element;\nlet editor;\nconst ConfigView = {\n afterShow: () => {\n editor.moveCursorTo(0, 0).focus();\n }\n};\nmodule.exports.init = async () => {\n const element = create();\n await CloudCmd.View();\n await loadFiles(element);\n};\nfunction create() {\n const element = createElement('div', {\n style: montag`\n width: 100%;\n height: 100%;\n font-family: \"Droid Sans Mono\";\n `,\n notAppend: true\n });\n Element = element;\n return element;\n}\nfunction checkFn(name, fn) {\n if (!isFn(fn)) throw Error(`${name} should be a function!`);\n}\nfunction initConfig(options = {}) {\n const config = {\n ...options,\n ...ConfigView\n };\n if (!options.afterShow) return config;\n checkFn('options.afterShow', options.afterShow);\n config.afterShow = () => {\n ConfigView.afterShow();\n options.afterShow();\n };\n return config;\n}\nmodule.exports.show = options => {\n if (Loading) return;\n CloudCmd.View.show(Element, initConfig(options));\n getEditor().setOptions({\n fontSize: 16\n });\n};\nmodule.exports.getEditor = getEditor;\nmodule.exports.getElement = () => Element;\nmodule.exports.hide = () => {\n CloudCmd.View.hide();\n};\nconst loadFiles = async element => {\n const prefix = `${CloudCmd.prefix}/${EditorName}`;\n const socketPath = CloudCmd.prefix;\n const prefixSocket = `${CloudCmd.prefixSocket}/${EditorName}`;\n const url = `${prefix}/${EditorName}.js`;\n time(`${Name} load`);\n await loadJS(url);\n const word = promisify(window[EditorName]);\n const [ed] = await tryToCatch(word, element, {\n maxSize,\n prefix,\n prefixSocket,\n socketPath\n });\n timeEnd(`${Name} load`);\n editor = ed;\n Loading = false;\n};\n\n//# sourceURL=file://cloudcmd/client/modules/edit.js");
|
|
167
|
-
|
|
168
|
-
/***/ })
|
|
169
|
-
|
|
170
|
-
/******/ });
|
|
143
|
+
/******/
|
|
144
|
+
/******/ // startup
|
|
145
|
+
/******/ // Load entry module and return exports
|
|
146
|
+
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
|
147
|
+
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["cloudcmd.common"], () => (__webpack_require__("./client/modules/edit.js")))
|
|
148
|
+
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
|
149
|
+
/******/
|
|
150
|
+
/******/ })()
|
|
151
|
+
;
|