chore(deps): update lockfile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>pull/36534/head
parent
60b74e3d6d
commit
044e824260
@ -0,0 +1,870 @@
|
||||
/******/ (function() { // webpackBootstrap
|
||||
/******/ var __webpack_modules__ = ({
|
||||
|
||||
/***/ "./apps/files_trashbin/src/actions/restoreAction.ts":
|
||||
/*!**********************************************************!*\
|
||||
!*** ./apps/files_trashbin/src/actions/restoreAction.ts ***!
|
||||
\**********************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _nextcloud_event_bus__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/event-bus */ "./node_modules/@nextcloud/event-bus/dist/index.esm.js");
|
||||
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/router */ "./node_modules/@nextcloud/router/dist/index.js");
|
||||
/* harmony import */ var _nextcloud_auth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/auth */ "./node_modules/@nextcloud/auth/dist/index.esm.js");
|
||||
/* harmony import */ var _nextcloud_files__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! @nextcloud/files */ "./node_modules/@nextcloud/files/dist/index.esm.js");
|
||||
/* harmony import */ var _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @nextcloud/l10n */ "./node_modules/@nextcloud/l10n/dist/index.mjs");
|
||||
/* harmony import */ var _nextcloud_axios__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @nextcloud/axios */ "./node_modules/@nextcloud/axios/dist/index.js");
|
||||
/* harmony import */ var _mdi_svg_svg_history_svg_raw__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! @mdi/svg/svg/history.svg?raw */ "./node_modules/@mdi/svg/svg/history.svg?raw");
|
||||
/* provided dependency */ var console = __webpack_require__(/*! ./node_modules/console-browserify/index.js */ "./node_modules/console-browserify/index.js");
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
(0,_nextcloud_files__WEBPACK_IMPORTED_MODULE_3__.registerFileAction)(new _nextcloud_files__WEBPACK_IMPORTED_MODULE_3__.FileAction({
|
||||
id: 'restore',
|
||||
displayName: function displayName() {
|
||||
return (0,_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_4__.translate)('files_trashbin', 'Restore');
|
||||
},
|
||||
iconSvgInline: function iconSvgInline() {
|
||||
return _mdi_svg_svg_history_svg_raw__WEBPACK_IMPORTED_MODULE_6__;
|
||||
},
|
||||
enabled: function enabled(nodes, view) {
|
||||
// Only available in the trashbin view
|
||||
if (view.id !== 'trashbin') {
|
||||
return false;
|
||||
}
|
||||
|
||||
// Only available if all nodes have read permission
|
||||
return nodes.length > 0 && nodes.map(function (node) {
|
||||
return node.permissions;
|
||||
}).every(function (permission) {
|
||||
return (permission & _nextcloud_files__WEBPACK_IMPORTED_MODULE_3__.Permission.READ) !== 0;
|
||||
});
|
||||
},
|
||||
exec: function exec(node) {
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var _getCurrentUser, destination;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.prev = 0;
|
||||
destination = (0,_nextcloud_router__WEBPACK_IMPORTED_MODULE_1__.generateRemoteUrl)("dav/trashbin/".concat((_getCurrentUser = (0,_nextcloud_auth__WEBPACK_IMPORTED_MODULE_2__.getCurrentUser)()) === null || _getCurrentUser === void 0 ? void 0 : _getCurrentUser.uid, "/restore/").concat(node.basename));
|
||||
_context.next = 4;
|
||||
return (0,_nextcloud_axios__WEBPACK_IMPORTED_MODULE_5__["default"])({
|
||||
method: 'MOVE',
|
||||
url: node.source,
|
||||
headers: {
|
||||
destination: destination
|
||||
}
|
||||
});
|
||||
case 4:
|
||||
// Let's pretend the file is deleted since
|
||||
// we don't know the restored location
|
||||
(0,_nextcloud_event_bus__WEBPACK_IMPORTED_MODULE_0__.emit)('files:file:deleted', node);
|
||||
return _context.abrupt("return", true);
|
||||
case 8:
|
||||
_context.prev = 8;
|
||||
_context.t0 = _context["catch"](0);
|
||||
console.error(_context.t0);
|
||||
return _context.abrupt("return", false);
|
||||
case 12:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee, null, [[0, 8]]);
|
||||
}))();
|
||||
},
|
||||
execBatch: function execBatch(nodes, view) {
|
||||
var _this = this;
|
||||
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee2() {
|
||||
return regeneratorRuntime.wrap(function _callee2$(_context2) {
|
||||
while (1) {
|
||||
switch (_context2.prev = _context2.next) {
|
||||
case 0:
|
||||
return _context2.abrupt("return", Promise.all(nodes.map(function (node) {
|
||||
return _this.exec(node, view);
|
||||
})));
|
||||
case 1:
|
||||
case "end":
|
||||
return _context2.stop();
|
||||
}
|
||||
}
|
||||
}, _callee2);
|
||||
}))();
|
||||
},
|
||||
order: 1,
|
||||
inline: function inline() {
|
||||
return true;
|
||||
}
|
||||
}));
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./apps/files_trashbin/src/main.ts":
|
||||
/*!*****************************************!*\
|
||||
!*** ./apps/files_trashbin/src/main.ts ***!
|
||||
\*****************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _nextcloud_l10n__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/l10n */ "./node_modules/@nextcloud/l10n/dist/index.mjs");
|
||||
/* harmony import */ var _mdi_svg_svg_delete_svg_raw__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @mdi/svg/svg/delete.svg?raw */ "./node_modules/@mdi/svg/svg/delete.svg?raw");
|
||||
/* harmony import */ var _nextcloud_moment__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/moment */ "./node_modules/@nextcloud/moment/dist/index.js");
|
||||
/* harmony import */ var _nextcloud_moment__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_moment__WEBPACK_IMPORTED_MODULE_2__);
|
||||
/* harmony import */ var _services_trashbin__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./services/trashbin */ "./apps/files_trashbin/src/services/trashbin.ts");
|
||||
/* harmony import */ var _actions_restoreAction__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./actions/restoreAction */ "./apps/files_trashbin/src/actions/restoreAction.ts");
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
// Register restore action
|
||||
|
||||
var Navigation = window.OCP.Files.Navigation;
|
||||
Navigation.register({
|
||||
id: 'trashbin',
|
||||
name: (0,_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_0__.translate)('files_trashbin', 'Deleted files'),
|
||||
caption: (0,_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_0__.translate)('files_trashbin', 'List of files that have been deleted.'),
|
||||
icon: _mdi_svg_svg_delete_svg_raw__WEBPACK_IMPORTED_MODULE_1__,
|
||||
order: 50,
|
||||
sticky: true,
|
||||
defaultSortKey: 'deleted',
|
||||
columns: [{
|
||||
id: 'deleted',
|
||||
title: (0,_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_0__.translate)('files_trashbin', 'Deleted'),
|
||||
render: function render(node) {
|
||||
var _node$attributes;
|
||||
var deletionTime = (_node$attributes = node.attributes) === null || _node$attributes === void 0 ? void 0 : _node$attributes['trashbin-deletion-time'];
|
||||
var span = document.createElement('span');
|
||||
if (deletionTime) {
|
||||
span.title = _nextcloud_moment__WEBPACK_IMPORTED_MODULE_2___default().unix(deletionTime).format('LLL');
|
||||
span.textContent = _nextcloud_moment__WEBPACK_IMPORTED_MODULE_2___default().unix(deletionTime).fromNow();
|
||||
return span;
|
||||
}
|
||||
|
||||
// Unknown deletion time
|
||||
span.textContent = (0,_nextcloud_l10n__WEBPACK_IMPORTED_MODULE_0__.translate)('files_trashbin', 'A long time ago');
|
||||
return span;
|
||||
},
|
||||
sort: function sort(nodeA, nodeB) {
|
||||
var _nodeA$attributes, _nodeB$attributes;
|
||||
var deletionTimeA = ((_nodeA$attributes = nodeA.attributes) === null || _nodeA$attributes === void 0 ? void 0 : _nodeA$attributes['trashbin-deletion-time']) || (nodeA === null || nodeA === void 0 ? void 0 : nodeA.mtime) || 0;
|
||||
var deletionTimeB = ((_nodeB$attributes = nodeB.attributes) === null || _nodeB$attributes === void 0 ? void 0 : _nodeB$attributes['trashbin-deletion-time']) || (nodeB === null || nodeB === void 0 ? void 0 : nodeB.mtime) || 0;
|
||||
return deletionTimeB - deletionTimeA;
|
||||
}
|
||||
}],
|
||||
getContents: _services_trashbin__WEBPACK_IMPORTED_MODULE_3__["default"]
|
||||
});
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./apps/files_trashbin/src/services/client.ts":
|
||||
/*!****************************************************!*\
|
||||
!*** ./apps/files_trashbin/src/services/client.ts ***!
|
||||
\****************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
||||
/* harmony export */ "rootPath": function() { return /* binding */ rootPath; },
|
||||
/* harmony export */ "rootUrl": function() { return /* binding */ rootUrl; }
|
||||
/* harmony export */ });
|
||||
/* harmony import */ var webdav__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! webdav */ "./node_modules/webdav/dist/web/index.js");
|
||||
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/router */ "./node_modules/@nextcloud/router/dist/index.js");
|
||||
/* harmony import */ var _nextcloud_auth__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/auth */ "./node_modules/@nextcloud/auth/dist/index.esm.js");
|
||||
var _getCurrentUser;
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
|
||||
var rootPath = "/trashbin/".concat((_getCurrentUser = (0,_nextcloud_auth__WEBPACK_IMPORTED_MODULE_2__.getCurrentUser)()) === null || _getCurrentUser === void 0 ? void 0 : _getCurrentUser.uid, "/trash");
|
||||
var rootUrl = (0,_nextcloud_router__WEBPACK_IMPORTED_MODULE_1__.generateRemoteUrl)('dav' + rootPath);
|
||||
var client = (0,webdav__WEBPACK_IMPORTED_MODULE_0__.createClient)(rootUrl, {
|
||||
headers: {
|
||||
requesttoken: (0,_nextcloud_auth__WEBPACK_IMPORTED_MODULE_2__.getRequestToken)()
|
||||
}
|
||||
});
|
||||
/* harmony default export */ __webpack_exports__["default"] = (client);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./apps/files_trashbin/src/services/trashbin.ts":
|
||||
/*!******************************************************!*\
|
||||
!*** ./apps/files_trashbin/src/services/trashbin.ts ***!
|
||||
\******************************************************/
|
||||
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _nextcloud_auth__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/auth */ "./node_modules/@nextcloud/auth/dist/index.esm.js");
|
||||
/* harmony import */ var _nextcloud_files__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/files */ "./node_modules/@nextcloud/files/dist/index.esm.js");
|
||||
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/router */ "./node_modules/@nextcloud/router/dist/index.js");
|
||||
/* harmony import */ var _client__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./client */ "./apps/files_trashbin/src/services/client.ts");
|
||||
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
||||
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
||||
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
||||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
||||
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
||||
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
||||
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
||||
/**
|
||||
* @copyright Copyright (c) 2023 John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
||||
*
|
||||
* @license AGPL-3.0-or-later
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*
|
||||
*/
|
||||
/* eslint-disable */
|
||||
|
||||
|
||||
|
||||
|
||||
var data = "<?xml version=\"1.0\"?>\n<d:propfind xmlns:d=\"DAV:\"\n\txmlns:oc=\"http://owncloud.org/ns\"\n\txmlns:nc=\"http://nextcloud.org/ns\">\n\t<d:prop>\n\t\t<nc:trashbin-filename />\n\t\t<nc:trashbin-deletion-time />\n\t\t<nc:trashbin-original-location />\n\t\t<nc:trashbin-title />\n\t\t<d:getlastmodified />\n\t\t<d:getetag />\n\t\t<d:getcontenttype />\n\t\t<d:resourcetype />\n\t\t<oc:fileid />\n\t\t<oc:permissions />\n\t\t<oc:size />\n\t\t<d:getcontentlength />\n\t</d:prop>\n</d:propfind>";
|
||||
var resultToNode = function resultToNode(node) {
|
||||
var _node$props, _getCurrentUser, _node$props2, _node$props3, _node$props4;
|
||||
var permissions = (0,_nextcloud_files__WEBPACK_IMPORTED_MODULE_1__.parseWebdavPermissions)((_node$props = node.props) === null || _node$props === void 0 ? void 0 : _node$props.permissions);
|
||||
var owner = (_getCurrentUser = (0,_nextcloud_auth__WEBPACK_IMPORTED_MODULE_0__.getCurrentUser)()) === null || _getCurrentUser === void 0 ? void 0 : _getCurrentUser.uid;
|
||||
var previewUrl = (0,_nextcloud_router__WEBPACK_IMPORTED_MODULE_2__.generateUrl)('/apps/files_trashbin/preview?fileId={fileid}', node.props);
|
||||
var nodeData = {
|
||||
id: ((_node$props2 = node.props) === null || _node$props2 === void 0 ? void 0 : _node$props2.fileid) || 0,
|
||||
source: (0,_nextcloud_router__WEBPACK_IMPORTED_MODULE_2__.generateRemoteUrl)('dav' + _client__WEBPACK_IMPORTED_MODULE_3__.rootPath + node.filename),
|
||||
mtime: new Date(node.lastmod),
|
||||
mime: node.mime,
|
||||
size: ((_node$props3 = node.props) === null || _node$props3 === void 0 ? void 0 : _node$props3.size) || 0,
|
||||
permissions: permissions,
|
||||
owner: owner,
|
||||
root: _client__WEBPACK_IMPORTED_MODULE_3__.rootPath,
|
||||
attributes: _objectSpread(_objectSpread(_objectSpread({}, node), node.props), {}, {
|
||||
// Override displayed name on the list
|
||||
displayName: (_node$props4 = node.props) === null || _node$props4 === void 0 ? void 0 : _node$props4['trashbin-filename'],
|
||||
previewUrl: previewUrl
|
||||
})
|
||||
};
|
||||
return node.type === 'file' ? new _nextcloud_files__WEBPACK_IMPORTED_MODULE_1__.File(nodeData) : new _nextcloud_files__WEBPACK_IMPORTED_MODULE_1__.Folder(nodeData);
|
||||
};
|
||||
/* harmony default export */ __webpack_exports__["default"] = (/*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
|
||||
var path,
|
||||
rootResponse,
|
||||
contentsResponse,
|
||||
_args = arguments;
|
||||
return regeneratorRuntime.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
path = _args.length > 0 && _args[0] !== undefined ? _args[0] : '/';
|
||||
_context.next = 3;
|
||||
return _client__WEBPACK_IMPORTED_MODULE_3__["default"].stat(path, {
|
||||
details: true,
|
||||
data: data
|
||||
});
|
||||
case 3:
|
||||
rootResponse = _context.sent;
|
||||
_context.next = 6;
|
||||
return _client__WEBPACK_IMPORTED_MODULE_3__["default"].getDirectoryContents(path, {
|
||||
details: true,
|
||||
data: data
|
||||
});
|
||||
case 6:
|
||||
contentsResponse = _context.sent;
|
||||
return _context.abrupt("return", {
|
||||
folder: resultToNode(rootResponse.data),
|
||||
contents: contentsResponse.data.map(resultToNode)
|
||||
});
|
||||
case 8:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
})));
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$":
|
||||
/*!***************************************************!*\
|
||||
!*** ./node_modules/moment/locale/ sync ^\.\/.*$ ***!
|
||||
\***************************************************/
|
||||
/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
|
||||
|
||||
var map = {
|
||||
"./af": "./node_modules/moment/locale/af.js",
|
||||
"./af.js": "./node_modules/moment/locale/af.js",
|
||||
"./ar": "./node_modules/moment/locale/ar.js",
|
||||
"./ar-dz": "./node_modules/moment/locale/ar-dz.js",
|
||||
"./ar-dz.js": "./node_modules/moment/locale/ar-dz.js",
|
||||
"./ar-kw": "./node_modules/moment/locale/ar-kw.js",
|
||||
"./ar-kw.js": "./node_modules/moment/locale/ar-kw.js",
|
||||
"./ar-ly": "./node_modules/moment/locale/ar-ly.js",
|
||||
"./ar-ly.js": "./node_modules/moment/locale/ar-ly.js",
|
||||
"./ar-ma": "./node_modules/moment/locale/ar-ma.js",
|
||||
"./ar-ma.js": "./node_modules/moment/locale/ar-ma.js",
|
||||
"./ar-sa": "./node_modules/moment/locale/ar-sa.js",
|
||||
"./ar-sa.js": "./node_modules/moment/locale/ar-sa.js",
|
||||
"./ar-tn": "./node_modules/moment/locale/ar-tn.js",
|
||||
"./ar-tn.js": "./node_modules/moment/locale/ar-tn.js",
|
||||
"./ar.js": "./node_modules/moment/locale/ar.js",
|
||||
"./az": "./node_modules/moment/locale/az.js",
|
||||
"./az.js": "./node_modules/moment/locale/az.js",
|
||||
"./be": "./node_modules/moment/locale/be.js",
|
||||
"./be.js": "./node_modules/moment/locale/be.js",
|
||||
"./bg": "./node_modules/moment/locale/bg.js",
|
||||
"./bg.js": "./node_modules/moment/locale/bg.js",
|
||||
"./bm": "./node_modules/moment/locale/bm.js",
|
||||
"./bm.js": "./node_modules/moment/locale/bm.js",
|
||||
"./bn": "./node_modules/moment/locale/bn.js",
|
||||
"./bn-bd": "./node_modules/moment/locale/bn-bd.js",
|
||||
"./bn-bd.js": "./node_modules/moment/locale/bn-bd.js",
|
||||
"./bn.js": "./node_modules/moment/locale/bn.js",
|
||||
"./bo": "./node_modules/moment/locale/bo.js",
|
||||
"./bo.js": "./node_modules/moment/locale/bo.js",
|
||||
"./br": "./node_modules/moment/locale/br.js",
|
||||
"./br.js": "./node_modules/moment/locale/br.js",
|
||||
"./bs": "./node_modules/moment/locale/bs.js",
|
||||
"./bs.js": "./node_modules/moment/locale/bs.js",
|
||||
"./ca": "./node_modules/moment/locale/ca.js",
|
||||
"./ca.js": "./node_modules/moment/locale/ca.js",
|
||||
"./cs": "./node_modules/moment/locale/cs.js",
|
||||
"./cs.js": "./node_modules/moment/locale/cs.js",
|
||||
"./cv": "./node_modules/moment/locale/cv.js",
|
||||
"./cv.js": "./node_modules/moment/locale/cv.js",
|
||||
"./cy": "./node_modules/moment/locale/cy.js",
|
||||
"./cy.js": "./node_modules/moment/locale/cy.js",
|
||||
"./da": "./node_modules/moment/locale/da.js",
|
||||
"./da.js": "./node_modules/moment/locale/da.js",
|
||||
"./de": "./node_modules/moment/locale/de.js",
|
||||
"./de-at": "./node_modules/moment/locale/de-at.js",
|
||||
"./de-at.js": "./node_modules/moment/locale/de-at.js",
|
||||
"./de-ch": "./node_modules/moment/locale/de-ch.js",
|
||||
"./de-ch.js": "./node_modules/moment/locale/de-ch.js",
|
||||
"./de.js": "./node_modules/moment/locale/de.js",
|
||||
"./dv": "./node_modules/moment/locale/dv.js",
|
||||
"./dv.js": "./node_modules/moment/locale/dv.js",
|
||||
"./el": "./node_modules/moment/locale/el.js",
|
||||
"./el.js": "./node_modules/moment/locale/el.js",
|
||||
"./en-au": "./node_modules/moment/locale/en-au.js",
|
||||
"./en-au.js": "./node_modules/moment/locale/en-au.js",
|
||||
"./en-ca": "./node_modules/moment/locale/en-ca.js",
|
||||
"./en-ca.js": "./node_modules/moment/locale/en-ca.js",
|
||||
"./en-gb": "./node_modules/moment/locale/en-gb.js",
|
||||
"./en-gb.js": "./node_modules/moment/locale/en-gb.js",
|
||||
"./en-ie": "./node_modules/moment/locale/en-ie.js",
|
||||
"./en-ie.js": "./node_modules/moment/locale/en-ie.js",
|
||||
"./en-il": "./node_modules/moment/locale/en-il.js",
|
||||
"./en-il.js": "./node_modules/moment/locale/en-il.js",
|
||||
"./en-in": "./node_modules/moment/locale/en-in.js",
|
||||
"./en-in.js": "./node_modules/moment/locale/en-in.js",
|
||||
"./en-nz": "./node_modules/moment/locale/en-nz.js",
|
||||
"./en-nz.js": "./node_modules/moment/locale/en-nz.js",
|
||||
"./en-sg": "./node_modules/moment/locale/en-sg.js",
|
||||
"./en-sg.js": "./node_modules/moment/locale/en-sg.js",
|
||||
"./eo": "./node_modules/moment/locale/eo.js",
|
||||
"./eo.js": "./node_modules/moment/locale/eo.js",
|
||||
"./es": "./node_modules/moment/locale/es.js",
|
||||
"./es-do": "./node_modules/moment/locale/es-do.js",
|
||||
"./es-do.js": "./node_modules/moment/locale/es-do.js",
|
||||
"./es-mx": "./node_modules/moment/locale/es-mx.js",
|
||||
"./es-mx.js": "./node_modules/moment/locale/es-mx.js",
|
||||
"./es-us": "./node_modules/moment/locale/es-us.js",
|
||||
"./es-us.js": "./node_modules/moment/locale/es-us.js",
|
||||
"./es.js": "./node_modules/moment/locale/es.js",
|
||||
"./et": "./node_modules/moment/locale/et.js",
|
||||
"./et.js": "./node_modules/moment/locale/et.js",
|
||||
"./eu": "./node_modules/moment/locale/eu.js",
|
||||
"./eu.js": "./node_modules/moment/locale/eu.js",
|
||||
"./fa": "./node_modules/moment/locale/fa.js",
|
||||
"./fa.js": "./node_modules/moment/locale/fa.js",
|
||||
"./fi": "./node_modules/moment/locale/fi.js",
|
||||
"./fi.js": "./node_modules/moment/locale/fi.js",
|
||||
"./fil": "./node_modules/moment/locale/fil.js",
|
||||
"./fil.js": "./node_modules/moment/locale/fil.js",
|
||||
"./fo": "./node_modules/moment/locale/fo.js",
|
||||
"./fo.js": "./node_modules/moment/locale/fo.js",
|
||||
"./fr": "./node_modules/moment/locale/fr.js",
|
||||
"./fr-ca": "./node_modules/moment/locale/fr-ca.js",
|
||||
"./fr-ca.js": "./node_modules/moment/locale/fr-ca.js",
|
||||
"./fr-ch": "./node_modules/moment/locale/fr-ch.js",
|
||||
"./fr-ch.js": "./node_modules/moment/locale/fr-ch.js",
|
||||
"./fr.js": "./node_modules/moment/locale/fr.js",
|
||||
"./fy": "./node_modules/moment/locale/fy.js",
|
||||
"./fy.js": "./node_modules/moment/locale/fy.js",
|
||||
"./ga": "./node_modules/moment/locale/ga.js",
|
||||
"./ga.js": "./node_modules/moment/locale/ga.js",
|
||||
"./gd": "./node_modules/moment/locale/gd.js",
|
||||
"./gd.js": "./node_modules/moment/locale/gd.js",
|
||||
"./gl": "./node_modules/moment/locale/gl.js",
|
||||
"./gl.js": "./node_modules/moment/locale/gl.js",
|
||||
"./gom-deva": "./node_modules/moment/locale/gom-deva.js",
|
||||
"./gom-deva.js": "./node_modules/moment/locale/gom-deva.js",
|
||||
"./gom-latn": "./node_modules/moment/locale/gom-latn.js",
|
||||
"./gom-latn.js": "./node_modules/moment/locale/gom-latn.js",
|
||||
"./gu": "./node_modules/moment/locale/gu.js",
|
||||
"./gu.js": "./node_modules/moment/locale/gu.js",
|
||||
"./he": "./node_modules/moment/locale/he.js",
|
||||
"./he.js": "./node_modules/moment/locale/he.js",
|
||||
"./hi": "./node_modules/moment/locale/hi.js",
|
||||
"./hi.js": "./node_modules/moment/locale/hi.js",
|
||||
"./hr": "./node_modules/moment/locale/hr.js",
|
||||
"./hr.js": "./node_modules/moment/locale/hr.js",
|
||||
"./hu": "./node_modules/moment/locale/hu.js",
|
||||
"./hu.js": "./node_modules/moment/locale/hu.js",
|
||||
"./hy-am": "./node_modules/moment/locale/hy-am.js",
|
||||
"./hy-am.js": "./node_modules/moment/locale/hy-am.js",
|
||||
"./id": "./node_modules/moment/locale/id.js",
|
||||
"./id.js": "./node_modules/moment/locale/id.js",
|
||||
"./is": "./node_modules/moment/locale/is.js",
|
||||
"./is.js": "./node_modules/moment/locale/is.js",
|
||||
"./it": "./node_modules/moment/locale/it.js",
|
||||
"./it-ch": "./node_modules/moment/locale/it-ch.js",
|
||||
"./it-ch.js": "./node_modules/moment/locale/it-ch.js",
|
||||
"./it.js": "./node_modules/moment/locale/it.js",
|
||||
"./ja": "./node_modules/moment/locale/ja.js",
|
||||
"./ja.js": "./node_modules/moment/locale/ja.js",
|
||||
"./jv": "./node_modules/moment/locale/jv.js",
|
||||
"./jv.js": "./node_modules/moment/locale/jv.js",
|
||||
"./ka": "./node_modules/moment/locale/ka.js",
|
||||
"./ka.js": "./node_modules/moment/locale/ka.js",
|
||||
"./kk": "./node_modules/moment/locale/kk.js",
|
||||
"./kk.js": "./node_modules/moment/locale/kk.js",
|
||||
"./km": "./node_modules/moment/locale/km.js",
|
||||
"./km.js": "./node_modules/moment/locale/km.js",
|
||||
"./kn": "./node_modules/moment/locale/kn.js",
|
||||
"./kn.js": "./node_modules/moment/locale/kn.js",
|
||||
"./ko": "./node_modules/moment/locale/ko.js",
|
||||
"./ko.js": "./node_modules/moment/locale/ko.js",
|
||||
"./ku": "./node_modules/moment/locale/ku.js",
|
||||
"./ku.js": "./node_modules/moment/locale/ku.js",
|
||||
"./ky": "./node_modules/moment/locale/ky.js",
|
||||
"./ky.js": "./node_modules/moment/locale/ky.js",
|
||||
"./lb": "./node_modules/moment/locale/lb.js",
|
||||
"./lb.js": "./node_modules/moment/locale/lb.js",
|
||||
"./lo": "./node_modules/moment/locale/lo.js",
|
||||
"./lo.js": "./node_modules/moment/locale/lo.js",
|
||||
"./lt": "./node_modules/moment/locale/lt.js",
|
||||
"./lt.js": "./node_modules/moment/locale/lt.js",
|
||||
"./lv": "./node_modules/moment/locale/lv.js",
|
||||
"./lv.js": "./node_modules/moment/locale/lv.js",
|
||||
"./me": "./node_modules/moment/locale/me.js",
|
||||
"./me.js": "./node_modules/moment/locale/me.js",
|
||||
"./mi": "./node_modules/moment/locale/mi.js",
|
||||
"./mi.js": "./node_modules/moment/locale/mi.js",
|
||||
"./mk": "./node_modules/moment/locale/mk.js",
|
||||
"./mk.js": "./node_modules/moment/locale/mk.js",
|
||||
"./ml": "./node_modules/moment/locale/ml.js",
|
||||
"./ml.js": "./node_modules/moment/locale/ml.js",
|
||||
"./mn": "./node_modules/moment/locale/mn.js",
|
||||
"./mn.js": "./node_modules/moment/locale/mn.js",
|
||||
"./mr": "./node_modules/moment/locale/mr.js",
|
||||
"./mr.js": "./node_modules/moment/locale/mr.js",
|
||||
"./ms": "./node_modules/moment/locale/ms.js",
|
||||
"./ms-my": "./node_modules/moment/locale/ms-my.js",
|
||||
"./ms-my.js": "./node_modules/moment/locale/ms-my.js",
|
||||
"./ms.js": "./node_modules/moment/locale/ms.js",
|
||||
"./mt": "./node_modules/moment/locale/mt.js",
|
||||
"./mt.js": "./node_modules/moment/locale/mt.js",
|
||||
"./my": "./node_modules/moment/locale/my.js",
|
||||
"./my.js": "./node_modules/moment/locale/my.js",
|
||||
"./nb": "./node_modules/moment/locale/nb.js",
|
||||
"./nb.js": "./node_modules/moment/locale/nb.js",
|
||||
"./ne": "./node_modules/moment/locale/ne.js",
|
||||
"./ne.js": "./node_modules/moment/locale/ne.js",
|
||||
"./nl": "./node_modules/moment/locale/nl.js",
|
||||
"./nl-be": "./node_modules/moment/locale/nl-be.js",
|
||||
"./nl-be.js": "./node_modules/moment/locale/nl-be.js",
|
||||
"./nl.js": "./node_modules/moment/locale/nl.js",
|
||||
"./nn": "./node_modules/moment/locale/nn.js",
|
||||
"./nn.js": "./node_modules/moment/locale/nn.js",
|
||||
"./oc-lnc": "./node_modules/moment/locale/oc-lnc.js",
|
||||
"./oc-lnc.js": "./node_modules/moment/locale/oc-lnc.js",
|
||||
"./pa-in": "./node_modules/moment/locale/pa-in.js",
|
||||
"./pa-in.js": "./node_modules/moment/locale/pa-in.js",
|
||||
"./pl": "./node_modules/moment/locale/pl.js",
|
||||
"./pl.js": "./node_modules/moment/locale/pl.js",
|
||||
"./pt": "./node_modules/moment/locale/pt.js",
|
||||
"./pt-br": "./node_modules/moment/locale/pt-br.js",
|
||||
"./pt-br.js": "./node_modules/moment/locale/pt-br.js",
|
||||
"./pt.js": "./node_modules/moment/locale/pt.js",
|
||||
"./ro": "./node_modules/moment/locale/ro.js",
|
||||
"./ro.js": "./node_modules/moment/locale/ro.js",
|
||||
"./ru": "./node_modules/moment/locale/ru.js",
|
||||
"./ru.js": "./node_modules/moment/locale/ru.js",
|
||||
"./sd": "./node_modules/moment/locale/sd.js",
|
||||
"./sd.js": "./node_modules/moment/locale/sd.js",
|
||||
"./se": "./node_modules/moment/locale/se.js",
|
||||
"./se.js": "./node_modules/moment/locale/se.js",
|
||||
"./si": "./node_modules/moment/locale/si.js",
|
||||
"./si.js": "./node_modules/moment/locale/si.js",
|
||||
"./sk": "./node_modules/moment/locale/sk.js",
|
||||
"./sk.js": "./node_modules/moment/locale/sk.js",
|
||||
"./sl": "./node_modules/moment/locale/sl.js",
|
||||
"./sl.js": "./node_modules/moment/locale/sl.js",
|
||||
"./sq": "./node_modules/moment/locale/sq.js",
|
||||
"./sq.js": "./node_modules/moment/locale/sq.js",
|
||||
"./sr": "./node_modules/moment/locale/sr.js",
|
||||
"./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js",
|
||||
"./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js",
|
||||
"./sr.js": "./node_modules/moment/locale/sr.js",
|
||||
"./ss": "./node_modules/moment/locale/ss.js",
|
||||
"./ss.js": "./node_modules/moment/locale/ss.js",
|
||||
"./sv": "./node_modules/moment/locale/sv.js",
|
||||
"./sv.js": "./node_modules/moment/locale/sv.js",
|
||||
"./sw": "./node_modules/moment/locale/sw.js",
|
||||
"./sw.js": "./node_modules/moment/locale/sw.js",
|
||||
"./ta": "./node_modules/moment/locale/ta.js",
|
||||
"./ta.js": "./node_modules/moment/locale/ta.js",
|
||||
"./te": "./node_modules/moment/locale/te.js",
|
||||
"./te.js": "./node_modules/moment/locale/te.js",
|
||||
"./tet": "./node_modules/moment/locale/tet.js",
|
||||
"./tet.js": "./node_modules/moment/locale/tet.js",
|
||||
"./tg": "./node_modules/moment/locale/tg.js",
|
||||
"./tg.js": "./node_modules/moment/locale/tg.js",
|
||||
"./th": "./node_modules/moment/locale/th.js",
|
||||
"./th.js": "./node_modules/moment/locale/th.js",
|
||||
"./tk": "./node_modules/moment/locale/tk.js",
|
||||
"./tk.js": "./node_modules/moment/locale/tk.js",
|
||||
"./tl-ph": "./node_modules/moment/locale/tl-ph.js",
|
||||
"./tl-ph.js": "./node_modules/moment/locale/tl-ph.js",
|
||||
"./tlh": "./node_modules/moment/locale/tlh.js",
|
||||
"./tlh.js": "./node_modules/moment/locale/tlh.js",
|
||||
"./tr": "./node_modules/moment/locale/tr.js",
|
||||
"./tr.js": "./node_modules/moment/locale/tr.js",
|
||||
"./tzl": "./node_modules/moment/locale/tzl.js",
|
||||
"./tzl.js": "./node_modules/moment/locale/tzl.js",
|
||||
"./tzm": "./node_modules/moment/locale/tzm.js",
|
||||
"./tzm-latn": "./node_modules/moment/locale/tzm-latn.js",
|
||||
"./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js",
|
||||
"./tzm.js": "./node_modules/moment/locale/tzm.js",
|
||||
"./ug-cn": "./node_modules/moment/locale/ug-cn.js",
|
||||
"./ug-cn.js": "./node_modules/moment/locale/ug-cn.js",
|
||||
"./uk": "./node_modules/moment/locale/uk.js",
|
||||
"./uk.js": "./node_modules/moment/locale/uk.js",
|
||||
"./ur": "./node_modules/moment/locale/ur.js",
|
||||
"./ur.js": "./node_modules/moment/locale/ur.js",
|
||||
"./uz": "./node_modules/moment/locale/uz.js",
|
||||
"./uz-latn": "./node_modules/moment/locale/uz-latn.js",
|
||||
"./uz-latn.js": "./node_modules/moment/locale/uz-latn.js",
|
||||
"./uz.js": "./node_modules/moment/locale/uz.js",
|
||||
"./vi": "./node_modules/moment/locale/vi.js",
|
||||
"./vi.js": "./node_modules/moment/locale/vi.js",
|
||||
"./x-pseudo": "./node_modules/moment/locale/x-pseudo.js",
|
||||
"./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js",
|
||||
"./yo": "./node_modules/moment/locale/yo.js",
|
||||
"./yo.js": "./node_modules/moment/locale/yo.js",
|
||||
"./zh-cn": "./node_modules/moment/locale/zh-cn.js",
|
||||
"./zh-cn.js": "./node_modules/moment/locale/zh-cn.js",
|
||||
"./zh-hk": "./node_modules/moment/locale/zh-hk.js",
|
||||
"./zh-hk.js": "./node_modules/moment/locale/zh-hk.js",
|
||||
"./zh-mo": "./node_modules/moment/locale/zh-mo.js",
|
||||
"./zh-mo.js": "./node_modules/moment/locale/zh-mo.js",
|
||||
"./zh-tw": "./node_modules/moment/locale/zh-tw.js",
|
||||
"./zh-tw.js": "./node_modules/moment/locale/zh-tw.js"
|
||||
};
|
||||
|
||||
|
||||
function webpackContext(req) {
|
||||
var id = webpackContextResolve(req);
|
||||
return __webpack_require__(id);
|
||||
}
|
||||
function webpackContextResolve(req) {
|
||||
if(!__webpack_require__.o(map, req)) {
|
||||
var e = new Error("Cannot find module '" + req + "'");
|
||||
e.code = 'MODULE_NOT_FOUND';
|
||||
throw e;
|
||||
}
|
||||
return map[req];
|
||||
}
|
||||
webpackContext.keys = function webpackContextKeys() {
|
||||
return Object.keys(map);
|
||||
};
|
||||
webpackContext.resolve = webpackContextResolve;
|
||||
module.exports = webpackContext;
|
||||
webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$";
|
||||
|
||||
/***/ })
|
||||
|
||||
/******/ });
|
||||
/************************************************************************/
|
||||
/******/ // The module cache
|
||||
/******/ var __webpack_module_cache__ = {};
|
||||
/******/
|
||||
/******/ // The require function
|
||||
/******/ function __webpack_require__(moduleId) {
|
||||
/******/ // Check if module is in cache
|
||||
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
||||
/******/ if (cachedModule !== undefined) {
|
||||
/******/ return cachedModule.exports;
|
||||
/******/ }
|
||||
/******/ // Create a new module (and put it into the cache)
|
||||
/******/ var module = __webpack_module_cache__[moduleId] = {
|
||||
/******/ id: moduleId,
|
||||
/******/ loaded: false,
|
||||
/******/ exports: {}
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // Execute the module function
|
||||
/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
|
||||
/******/
|
||||
/******/ // Flag the module as loaded
|
||||
/******/ module.loaded = true;
|
||||
/******/
|
||||
/******/ // Return the exports of the module
|
||||
/******/ return module.exports;
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ // expose the modules object (__webpack_modules__)
|
||||
/******/ __webpack_require__.m = __webpack_modules__;
|
||||
/******/
|
||||
/************************************************************************/
|
||||
/******/ /* webpack/runtime/chunk loaded */
|
||||
/******/ !function() {
|
||||
/******/ var deferred = [];
|
||||
/******/ __webpack_require__.O = function(result, chunkIds, fn, priority) {
|
||||
/******/ if(chunkIds) {
|
||||
/******/ priority = priority || 0;
|
||||
/******/ for(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];
|
||||
/******/ deferred[i] = [chunkIds, fn, priority];
|
||||
/******/ return;
|
||||
/******/ }
|
||||
/******/ var notFulfilled = Infinity;
|
||||
/******/ for (var i = 0; i < deferred.length; i++) {
|
||||
/******/ var chunkIds = deferred[i][0];
|
||||
/******/ var fn = deferred[i][1];
|
||||
/******/ var priority = deferred[i][2];
|
||||
/******/ var fulfilled = true;
|
||||
/******/ for (var j = 0; j < chunkIds.length; j++) {
|
||||
/******/ if ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {
|
||||
/******/ chunkIds.splice(j--, 1);
|
||||
/******/ } else {
|
||||
/******/ fulfilled = false;
|
||||
/******/ if(priority < notFulfilled) notFulfilled = priority;
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(fulfilled) {
|
||||
/******/ deferred.splice(i--, 1)
|
||||
/******/ var r = fn();
|
||||
/******/ if (r !== undefined) result = r;
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ return result;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/compat get default export */
|
||||
/******/ !function() {
|
||||
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
||||
/******/ __webpack_require__.n = function(module) {
|
||||
/******/ var getter = module && module.__esModule ?
|
||||
/******/ function() { return module['default']; } :
|
||||
/******/ function() { return module; };
|
||||
/******/ __webpack_require__.d(getter, { a: getter });
|
||||
/******/ return getter;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/define property getters */
|
||||
/******/ !function() {
|
||||
/******/ // define getter functions for harmony exports
|
||||
/******/ __webpack_require__.d = function(exports, definition) {
|
||||
/******/ for(var key in definition) {
|
||||
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
||||
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/global */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.g = (function() {
|
||||
/******/ if (typeof globalThis === 'object') return globalThis;
|
||||
/******/ try {
|
||||
/******/ return this || new Function('return this')();
|
||||
/******/ } catch (e) {
|
||||
/******/ if (typeof window === 'object') return window;
|
||||
/******/ }
|
||||
/******/ })();
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/make namespace object */
|
||||
/******/ !function() {
|
||||
/******/ // define __esModule on exports
|
||||
/******/ __webpack_require__.r = function(exports) {
|
||||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
||||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
||||
/******/ }
|
||||
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/node module decorator */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.nmd = function(module) {
|
||||
/******/ module.paths = [];
|
||||
/******/ if (!module.children) module.children = [];
|
||||
/******/ return module;
|
||||
/******/ };
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/jsonp chunk loading */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.b = document.baseURI || self.location.href;
|
||||
/******/
|
||||
/******/ // object to store loaded and loading chunks
|
||||
/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
|
||||
/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
|
||||
/******/ var installedChunks = {
|
||||
/******/ "files_trashbin-main": 0
|
||||
/******/ };
|
||||
/******/
|
||||
/******/ // no chunk on demand loading
|
||||
/******/
|
||||
/******/ // no prefetching
|
||||
/******/
|
||||
/******/ // no preloaded
|
||||
/******/
|
||||
/******/ // no HMR
|
||||
/******/
|
||||
/******/ // no HMR manifest
|
||||
/******/
|
||||
/******/ __webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };
|
||||
/******/
|
||||
/******/ // install a JSONP callback for chunk loading
|
||||
/******/ var webpackJsonpCallback = function(parentChunkLoadingFunction, data) {
|
||||
/******/ var chunkIds = data[0];
|
||||
/******/ var moreModules = data[1];
|
||||
/******/ var runtime = data[2];
|
||||
/******/ // add "moreModules" to the modules object,
|
||||
/******/ // then flag all "chunkIds" as loaded and fire callback
|
||||
/******/ var moduleId, chunkId, i = 0;
|
||||
/******/ if(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {
|
||||
/******/ for(moduleId in moreModules) {
|
||||
/******/ if(__webpack_require__.o(moreModules, moduleId)) {
|
||||
/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
|
||||
/******/ }
|
||||
/******/ }
|
||||
/******/ if(runtime) var result = runtime(__webpack_require__);
|
||||
/******/ }
|
||||
/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
|
||||
/******/ for(;i < chunkIds.length; i++) {
|
||||
/******/ chunkId = chunkIds[i];
|
||||
/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
|
||||
/******/ installedChunks[chunkId][0]();
|
||||
/******/ }
|
||||
/******/ installedChunks[chunkId] = 0;
|
||||
/******/ }
|
||||
/******/ return __webpack_require__.O(result);
|
||||
/******/ }
|
||||
/******/
|
||||
/******/ var chunkLoadingGlobal = self["webpackChunknextcloud"] = self["webpackChunknextcloud"] || [];
|
||||
/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
|
||||
/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
|
||||
/******/ }();
|
||||
/******/
|
||||
/******/ /* webpack/runtime/nonce */
|
||||
/******/ !function() {
|
||||
/******/ __webpack_require__.nc = undefined;
|
||||
/******/ }();
|
||||
/******/
|
||||
/************************************************************************/
|
||||
/******/
|
||||
/******/ // startup
|
||||
/******/ // Load entry module and return exports
|
||||
/******/ // This entry module depends on other loaded chunks and execution need to be delayed
|
||||
/******/ var __webpack_exports__ = __webpack_require__.O(undefined, ["core-common"], function() { return __webpack_require__("./apps/files_trashbin/src/main.ts"); })
|
||||
/******/ __webpack_exports__ = __webpack_require__.O(__webpack_exports__);
|
||||
/******/
|
||||
/******/ })()
|
||||
;
|
||||
//# sourceMappingURL=files_trashbin-main.js.map?v=7549606b4d25ea65013a
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue