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.
Files changed (117) hide show
  1. package/ChangeLog +30 -0
  2. package/HELP.md +3 -1
  3. package/README.md +1 -1
  4. package/dist/cloudcmd.common.css +1 -1
  5. package/dist/cloudcmd.common.js +5 -10
  6. package/dist/cloudcmd.common.js.map +1 -1
  7. package/dist/cloudcmd.js +1 -1
  8. package/dist/cloudcmd.js.map +1 -1
  9. package/dist/columns/name-size-date.js +0 -0
  10. package/dist/columns/name-size.js +0 -0
  11. package/dist/config.css +1 -1
  12. package/dist/config.js +0 -0
  13. package/dist/help.css +1 -0
  14. package/dist/help.js +0 -0
  15. package/dist/index.html +1 -1
  16. package/dist/modules/cloud.js +1 -1
  17. package/dist/modules/cloud.js.map +1 -1
  18. package/dist/modules/command-line.js +1 -1
  19. package/dist/modules/command-line.js.map +1 -1
  20. package/dist/modules/config.js +1 -1
  21. package/dist/modules/config.js.map +1 -1
  22. package/dist/modules/contact.js +1 -1
  23. package/dist/modules/contact.js.map +1 -1
  24. package/dist/modules/edit-file-vim.js +1 -1
  25. package/dist/modules/edit-file-vim.js.map +1 -1
  26. package/dist/modules/edit-file.js +1 -1
  27. package/dist/modules/edit-file.js.map +1 -1
  28. package/dist/modules/edit-names-vim.js +1 -1
  29. package/dist/modules/edit-names-vim.js.map +1 -1
  30. package/dist/modules/edit-names.js +1 -1
  31. package/dist/modules/edit-names.js.map +1 -1
  32. package/dist/modules/edit.js +1 -5
  33. package/dist/modules/edit.js.map +1 -1
  34. package/dist/modules/help.js +1 -1
  35. package/dist/modules/help.js.map +1 -1
  36. package/dist/modules/konsole.js +1 -1
  37. package/dist/modules/konsole.js.map +1 -1
  38. package/dist/modules/markdown.js +1 -1
  39. package/dist/modules/markdown.js.map +1 -1
  40. package/dist/modules/menu.js +1 -1
  41. package/dist/modules/menu.js.map +1 -1
  42. package/dist/modules/operation.js +1 -1
  43. package/dist/modules/operation.js.map +1 -1
  44. package/dist/modules/polyfill.js +1 -1
  45. package/dist/modules/polyfill.js.map +1 -1
  46. package/dist/modules/terminal-run.js +1 -1
  47. package/dist/modules/terminal-run.js.map +1 -1
  48. package/dist/modules/terminal.js +1 -1
  49. package/dist/modules/terminal.js.map +1 -1
  50. package/dist/modules/upload.js +1 -1
  51. package/dist/modules/upload.js.map +1 -1
  52. package/dist/modules/user-menu.js +1 -1
  53. package/dist/modules/user-menu.js.map +1 -1
  54. package/dist/modules/view.js +1 -1
  55. package/dist/modules/view.js.map +1 -1
  56. package/dist/nojs.js +0 -0
  57. package/dist/sw.js +1 -10
  58. package/dist/sw.js.map +1 -1
  59. package/dist/terminal.js +0 -0
  60. package/dist/themes/dark.css +1 -1
  61. package/dist/themes/dark.js +0 -0
  62. package/dist/themes/light.css +1 -1
  63. package/dist/themes/light.js +0 -0
  64. package/dist/user-menu.css +1 -1
  65. package/dist/user-menu.js +0 -0
  66. package/dist/view.css +1 -1
  67. package/dist/view.js +0 -0
  68. package/dist-dev/cloudcmd.common.css +1076 -104
  69. package/dist-dev/cloudcmd.common.js +690 -257
  70. package/dist-dev/cloudcmd.js +136 -413
  71. package/dist-dev/columns/name-size-date.css +4 -0
  72. package/dist-dev/columns/name-size-date.js +49 -0
  73. package/dist-dev/columns/name-size.css +4 -0
  74. package/dist-dev/columns/name-size.js +49 -0
  75. package/dist-dev/config.css +4 -0
  76. package/dist-dev/config.js +49 -0
  77. package/dist-dev/help.css +16 -0
  78. package/dist-dev/help.js +49 -0
  79. package/dist-dev/index.html +1 -1
  80. package/dist-dev/modules/cloud.js +136 -155
  81. package/dist-dev/modules/command-line.js +136 -155
  82. package/dist-dev/modules/config.js +136 -178
  83. package/dist-dev/modules/contact.js +136 -155
  84. package/dist-dev/modules/edit-file-vim.js +136 -155
  85. package/dist-dev/modules/edit-file.js +136 -155
  86. package/dist-dev/modules/edit-names-vim.js +136 -155
  87. package/dist-dev/modules/edit-names.js +136 -155
  88. package/dist-dev/modules/edit.js +136 -155
  89. package/dist-dev/modules/help.js +136 -155
  90. package/dist-dev/modules/konsole.js +136 -155
  91. package/dist-dev/modules/markdown.js +136 -155
  92. package/dist-dev/modules/menu.js +136 -155
  93. package/dist-dev/modules/operation.js +136 -203
  94. package/dist-dev/modules/polyfill.js +136 -155
  95. package/dist-dev/modules/terminal-run.js +136 -155
  96. package/dist-dev/modules/terminal.js +136 -155
  97. package/dist-dev/modules/upload.js +136 -155
  98. package/dist-dev/modules/user-menu.js +136 -226
  99. package/dist-dev/modules/view.js +136 -178
  100. package/dist-dev/nojs.css +4 -0
  101. package/dist-dev/nojs.js +49 -0
  102. package/dist-dev/sw.js +50 -106
  103. package/dist-dev/terminal.css +4 -0
  104. package/dist-dev/terminal.js +49 -0
  105. package/dist-dev/themes/dark.css +4 -0
  106. package/dist-dev/themes/dark.js +49 -0
  107. package/dist-dev/themes/light.css +4 -0
  108. package/dist-dev/themes/light.js +49 -0
  109. package/dist-dev/user-menu.css +4 -0
  110. package/dist-dev/user-menu.js +49 -0
  111. package/dist-dev/view.css +4 -0
  112. package/dist-dev/view.js +49 -0
  113. package/package.json +14 -16
  114. package/server/columns.mjs +1 -1
  115. package/server/theme.mjs +1 -1
  116. package/dist/cloudcmd.css +0 -1
  117. package/dist-dev/cloudcmd.css +0 -776
@@ -1,3 +1,6 @@
1
+ /*!**************************************************************************************************************!*\
2
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./css/columns/name-size-date.css ***!
3
+ \**************************************************************************************************************/
1
4
  .name {
2
5
  width: 55%;
3
6
  }
@@ -18,3 +21,4 @@
18
21
  float: right;
19
22
  width: 19%;
20
23
  }
24
+
@@ -0,0 +1,49 @@
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
+
13
+ /***/ "./css/columns/name-size-date.css":
14
+ /*!****************************************!*\
15
+ !*** ./css/columns/name-size-date.css ***!
16
+ \****************************************/
17
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
+
19
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=file://cloudcmd/css/columns/name-size-date.css");
20
+
21
+ /***/ })
22
+
23
+ /******/ });
24
+ /************************************************************************/
25
+ /******/ // The require scope
26
+ /******/ var __webpack_require__ = {};
27
+ /******/
28
+ /************************************************************************/
29
+ /******/ /* webpack/runtime/make namespace object */
30
+ /******/ (() => {
31
+ /******/ // define __esModule on exports
32
+ /******/ __webpack_require__.r = (exports) => {
33
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
34
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
35
+ /******/ }
36
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
37
+ /******/ };
38
+ /******/ })();
39
+ /******/
40
+ /************************************************************************/
41
+ /******/
42
+ /******/ // startup
43
+ /******/ // Load entry module and return exports
44
+ /******/ // This entry module can't be inlined because the eval devtool is used.
45
+ /******/ var __webpack_exports__ = {};
46
+ /******/ __webpack_modules__["./css/columns/name-size-date.css"](0, __webpack_exports__, __webpack_require__);
47
+ /******/
48
+ /******/ })()
49
+ ;
@@ -1,3 +1,6 @@
1
+ /*!*********************************************************************************************************!*\
2
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./css/columns/name-size.css ***!
3
+ \*********************************************************************************************************/
1
4
  .name {
2
5
  width: 77%;
3
6
  }
@@ -18,3 +21,4 @@
18
21
  .date {
19
22
  display: none;
20
23
  }
24
+
@@ -0,0 +1,49 @@
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
+
13
+ /***/ "./css/columns/name-size.css":
14
+ /*!***********************************!*\
15
+ !*** ./css/columns/name-size.css ***!
16
+ \***********************************/
17
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
+
19
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=file://cloudcmd/css/columns/name-size.css");
20
+
21
+ /***/ })
22
+
23
+ /******/ });
24
+ /************************************************************************/
25
+ /******/ // The require scope
26
+ /******/ var __webpack_require__ = {};
27
+ /******/
28
+ /************************************************************************/
29
+ /******/ /* webpack/runtime/make namespace object */
30
+ /******/ (() => {
31
+ /******/ // define __esModule on exports
32
+ /******/ __webpack_require__.r = (exports) => {
33
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
34
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
35
+ /******/ }
36
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
37
+ /******/ };
38
+ /******/ })();
39
+ /******/
40
+ /************************************************************************/
41
+ /******/
42
+ /******/ // startup
43
+ /******/ // Load entry module and return exports
44
+ /******/ // This entry module can't be inlined because the eval devtool is used.
45
+ /******/ var __webpack_exports__ = {};
46
+ /******/ __webpack_modules__["./css/columns/name-size.css"](0, __webpack_exports__, __webpack_require__);
47
+ /******/
48
+ /******/ })()
49
+ ;
@@ -1,3 +1,6 @@
1
+ /*!**********************************************************************************************!*\
2
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./css/config.css ***!
3
+ \**********************************************************************************************/
1
4
  .config {
2
5
  white-space: normal;
3
6
  overflow: hidden;
@@ -79,3 +82,4 @@
79
82
  .config .full-width {
80
83
  width: 100%;
81
84
  }
85
+
@@ -0,0 +1,49 @@
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
+
13
+ /***/ "./css/config.css":
14
+ /*!************************!*\
15
+ !*** ./css/config.css ***!
16
+ \************************/
17
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
+
19
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=file://cloudcmd/css/config.css");
20
+
21
+ /***/ })
22
+
23
+ /******/ });
24
+ /************************************************************************/
25
+ /******/ // The require scope
26
+ /******/ var __webpack_require__ = {};
27
+ /******/
28
+ /************************************************************************/
29
+ /******/ /* webpack/runtime/make namespace object */
30
+ /******/ (() => {
31
+ /******/ // define __esModule on exports
32
+ /******/ __webpack_require__.r = (exports) => {
33
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
34
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
35
+ /******/ }
36
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
37
+ /******/ };
38
+ /******/ })();
39
+ /******/
40
+ /************************************************************************/
41
+ /******/
42
+ /******/ // startup
43
+ /******/ // Load entry module and return exports
44
+ /******/ // This entry module can't be inlined because the eval devtool is used.
45
+ /******/ var __webpack_exports__ = {};
46
+ /******/ __webpack_modules__["./css/config.css"](0, __webpack_exports__, __webpack_require__);
47
+ /******/
48
+ /******/ })()
49
+ ;
@@ -0,0 +1,16 @@
1
+ /*!********************************************************************************************!*\
2
+ !*** css ./node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].use[1]!./css/help.css ***!
3
+ \********************************************************************************************/
4
+ .help {
5
+ margin: 25px;
6
+ white-space: normal;
7
+ }
8
+
9
+ .help li {
10
+ list-style-type: disc;
11
+ }
12
+
13
+ .help img {
14
+ max-width: 100%;
15
+ }
16
+
@@ -0,0 +1,49 @@
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
+
13
+ /***/ "./css/help.css":
14
+ /*!**********************!*\
15
+ !*** ./css/help.css ***!
16
+ \**********************/
17
+ /***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
18
+
19
+ eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=file://cloudcmd/css/help.css");
20
+
21
+ /***/ })
22
+
23
+ /******/ });
24
+ /************************************************************************/
25
+ /******/ // The require scope
26
+ /******/ var __webpack_require__ = {};
27
+ /******/
28
+ /************************************************************************/
29
+ /******/ /* webpack/runtime/make namespace object */
30
+ /******/ (() => {
31
+ /******/ // define __esModule on exports
32
+ /******/ __webpack_require__.r = (exports) => {
33
+ /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
34
+ /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
35
+ /******/ }
36
+ /******/ Object.defineProperty(exports, '__esModule', { value: true });
37
+ /******/ };
38
+ /******/ })();
39
+ /******/
40
+ /************************************************************************/
41
+ /******/
42
+ /******/ // startup
43
+ /******/ // Load entry module and return exports
44
+ /******/ // This entry module can't be inlined because the eval devtool is used.
45
+ /******/ var __webpack_exports__ = {};
46
+ /******/ __webpack_modules__["./css/help.css"](0, __webpack_exports__, __webpack_require__);
47
+ /******/
48
+ /******/ })()
49
+ ;
@@ -8,7 +8,7 @@
8
8
  <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
9
9
  <link rel="icon" href="{{ prefix }}/favicon.ico">
10
10
 
11
- <link rel=stylesheet href="{{ prefix }}/dist/cloudcmd.css">
11
+ <link rel=stylesheet href="{{ prefix }}/dist/cloudcmd.common.css">
12
12
  <link rel="manifest" href="{{ prefix }}/public/manifest.json">
13
13
  <noscript>
14
14
  <link rel=stylesheet href="{{ prefix }}/dist/nojs.css">
@@ -1,170 +1,151 @@
1
- /******/ (function(modules) { // webpackBootstrap
2
- /******/ // install a JSONP callback for chunk loading
3
- /******/ function webpackJsonpCallback(data) {
4
- /******/ var chunkIds = data[0];
5
- /******/ var moreModules = data[1];
6
- /******/ var executeModules = data[2];
7
- /******/
8
- /******/ // add "moreModules" to the modules object,
9
- /******/ // then flag all "chunkIds" as loaded and fire callback
10
- /******/ var moduleId, chunkId, i = 0, resolves = [];
11
- /******/ for(;i < chunkIds.length; i++) {
12
- /******/ chunkId = chunkIds[i];
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 installedModules = {};
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/cloud": 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
- /******/ if(installedModules[moduleId]) {
70
- /******/ return installedModules[moduleId].exports;
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 = installedModules[moduleId] = {
74
- /******/ i: moduleId,
75
- /******/ l: false,
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
- /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
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 = modules;
92
- /******/
93
- /******/ // expose the module cache
94
- /******/ __webpack_require__.c = installedModules;
95
- /******/
96
- /******/ // define getter function for harmony exports
97
- /******/ __webpack_require__.d = function(exports, name, getter) {
98
- /******/ if(!__webpack_require__.o(exports, name)) {
99
- /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
100
- /******/ }
101
- /******/ };
102
- /******/
103
- /******/ // define __esModule on exports
104
- /******/ __webpack_require__.r = function(exports) {
105
- /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
106
- /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
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/cloud": 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
- /******/ Object.defineProperty(exports, '__esModule', { value: true });
109
- /******/ };
110
- /******/
111
- /******/ // create a fake namespace object
112
- /******/ // mode & 1: value is a module id, require it
113
- /******/ // mode & 2: merge all properties of value into the ns
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/cloud.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
- /***/ "./client/modules/cloud.js":
159
- /*!*********************************!*\
160
- !*** ./client/modules/cloud.js ***!
161
- \*********************************/
162
- /*! no static exports found */
163
- /***/ (function(module, exports, __webpack_require__) {
164
-
165
- "use strict";
166
- eval("/* global CloudCmd, filepicker */\n\n\n\nconst exec = __webpack_require__(/*! execon */ \"./node_modules/execon/lib/exec.js\");\nconst currify = __webpack_require__(/*! currify */ \"./node_modules/currify/lib/currify.js\");\nconst load = __webpack_require__(/*! load.js */ \"./node_modules/load.js/lib/load.js\");\nconst {\n ajax\n} = __webpack_require__(/*! ../dom/load */ \"./client/dom/load.js\");\nconst Files = __webpack_require__(/*! ../dom/files */ \"./client/dom/files.js\");\nconst Images = __webpack_require__(/*! ../dom/images */ \"./client/dom/images.js\");\nconst {\n log\n} = CloudCmd;\nconst upload = currify(_upload);\nconst Name = 'Cloud';\nCloudCmd[Name] = module.exports;\nmodule.exports.init = async () => {\n const [modules] = await loadFiles();\n const {\n key\n } = modules.data.FilePicker;\n filepicker.setKey(key);\n Images.hide();\n};\nmodule.exports.uploadFile = (filename, data) => {\n const mimetype = '';\n filepicker.store(data, {\n mimetype,\n filename\n }, fpFile => {\n filepicker.exportFile(fpFile, log, log);\n });\n};\nmodule.exports.saveFile = callback => {\n filepicker.pick(upload(callback));\n};\nfunction _upload(callback, file) {\n const {\n url,\n filename\n } = file;\n const responseType = 'arraybuffer';\n const success = exec.with(callback, filename);\n ajax({\n url,\n responseType,\n success\n });\n}\nfunction loadFiles() {\n const js = '//api.filepicker.io/v2/filepicker.js';\n return Promise.all([Files.get('modules'), load.js(js)]);\n}\n\n//# sourceURL=file://cloudcmd/client/modules/cloud.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/cloud.js")))
148
+ /******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
149
+ /******/
150
+ /******/ })()
151
+ ;