Use `babel-loader-exclude-node-modules-except`
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
parent
a384b4a97a
commit
3a31397ac2
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,4 +0,0 @@
|
||||||
OCA.Accessibility = OCP.InitialState.loadState('accessibility', 'data')
|
|
||||||
if (OCA.Accessibility.theme !== false) {
|
|
||||||
document.body.classList.add(OCA.Accessibility.theme);
|
|
||||||
}
|
|
|
@ -68,7 +68,7 @@ export default {
|
||||||
.replace('{linkend}', '</a>')
|
.replace('{linkend}', '</a>')
|
||||||
},
|
},
|
||||||
guidelinesLink() {
|
guidelinesLink() {
|
||||||
return `<a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">`
|
return '<a target="_blank" href="https://www.w3.org/WAI/standards-guidelines/wcag/" rel="noreferrer nofollow">'
|
||||||
},
|
},
|
||||||
descriptionDetail() {
|
descriptionDetail() {
|
||||||
return t(
|
return t(
|
||||||
|
@ -80,10 +80,10 @@ export default {
|
||||||
.replace(/\{linkend\}/g, '</a>')
|
.replace(/\{linkend\}/g, '</a>')
|
||||||
},
|
},
|
||||||
issuetrackerLink() {
|
issuetrackerLink() {
|
||||||
return `<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">`
|
return '<a target="_blank" href="https://github.com/nextcloud/server/issues/" rel="noreferrer nofollow">'
|
||||||
},
|
},
|
||||||
designteamLink() {
|
designteamLink() {
|
||||||
return `<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">`
|
return '<a target="_blank" href="https://nextcloud.com/design" rel="noreferrer nofollow">'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -71,7 +71,7 @@ export default class Sidebar {
|
||||||
this.#state.views.push(view)
|
this.#state.views.push(view)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
console.error(`A similar view already exists`, view)
|
console.error('A similar view already exists', view)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*
|
/**
|
||||||
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
* Copyright (c) 2014 Vincent Petry <pvince81@owncloud.com>
|
||||||
*
|
*
|
||||||
* This file is licensed under the Affero General Public License version 3
|
* This file is licensed under the Affero General Public License version 3
|
||||||
|
@ -14,6 +14,7 @@ if (!OCA.Sharing) {
|
||||||
*/
|
*/
|
||||||
OCA.Sharing = {}
|
OCA.Sharing = {}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @namespace
|
* @namespace
|
||||||
*/
|
*/
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -268,10 +268,10 @@ export default {
|
||||||
* Can the sharee edit the shared file ?
|
* Can the sharee edit the shared file ?
|
||||||
*/
|
*/
|
||||||
canEdit: {
|
canEdit: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.share.hasUpdatePermission
|
return this.share.hasUpdatePermission
|
||||||
},
|
},
|
||||||
set: function(checked) {
|
set(checked) {
|
||||||
this.updatePermissions({ isEditChecked: checked })
|
this.updatePermissions({ isEditChecked: checked })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -280,10 +280,10 @@ export default {
|
||||||
* Can the sharee create the shared file ?
|
* Can the sharee create the shared file ?
|
||||||
*/
|
*/
|
||||||
canCreate: {
|
canCreate: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.share.hasCreatePermission
|
return this.share.hasCreatePermission
|
||||||
},
|
},
|
||||||
set: function(checked) {
|
set(checked) {
|
||||||
this.updatePermissions({ isCreateChecked: checked })
|
this.updatePermissions({ isCreateChecked: checked })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -292,10 +292,10 @@ export default {
|
||||||
* Can the sharee delete the shared file ?
|
* Can the sharee delete the shared file ?
|
||||||
*/
|
*/
|
||||||
canDelete: {
|
canDelete: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.share.hasDeletePermission
|
return this.share.hasDeletePermission
|
||||||
},
|
},
|
||||||
set: function(checked) {
|
set(checked) {
|
||||||
this.updatePermissions({ isDeleteChecked: checked })
|
this.updatePermissions({ isDeleteChecked: checked })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -304,10 +304,10 @@ export default {
|
||||||
* Can the sharee reshare the file ?
|
* Can the sharee reshare the file ?
|
||||||
*/
|
*/
|
||||||
canReshare: {
|
canReshare: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.share.hasSharePermission
|
return this.share.hasSharePermission
|
||||||
},
|
},
|
||||||
set: function(checked) {
|
set(checked) {
|
||||||
this.updatePermissions({ isReshareChecked: checked })
|
this.updatePermissions({ isReshareChecked: checked })
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -325,10 +325,10 @@ export default {
|
||||||
* @returns {boolean}
|
* @returns {boolean}
|
||||||
*/
|
*/
|
||||||
hasExpirationDate: {
|
hasExpirationDate: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.config.isDefaultInternalExpireDateEnforced || !!this.share.expireDate
|
return this.config.isDefaultInternalExpireDateEnforced || !!this.share.expireDate
|
||||||
},
|
},
|
||||||
set: function(enabled) {
|
set(enabled) {
|
||||||
this.share.expireDate = enabled
|
this.share.expireDate = enabled
|
||||||
? this.config.defaultInternalExpirationDateString !== ''
|
? this.config.defaultInternalExpirationDateString !== ''
|
||||||
? this.config.defaultInternalExpirationDateString
|
? this.config.defaultInternalExpirationDateString
|
||||||
|
|
|
@ -3,5 +3,6 @@ import '../js/sharedfilelist'
|
||||||
|
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
__webpack_nonce__ = btoa(OC.requestToken)
|
__webpack_nonce__ = btoa(OC.requestToken)
|
||||||
|
|
||||||
// eslint-disable-next-line camelcase
|
// eslint-disable-next-line camelcase
|
||||||
__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/')
|
__webpack_public_path__ = OC.linkTo('files_sharing', 'js/dist/')
|
||||||
|
|
|
@ -56,7 +56,7 @@ export default class ExternalLinkActions {
|
||||||
this.#state.actions.push(action)
|
this.#state.actions.push(action)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
console.error(`Invalid action provided`, action)
|
console.error('Invalid action provided', action)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ export default class ShareSearch {
|
||||||
this.#state.results.push(result)
|
this.#state.results.push(result)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
console.error(`Invalid search result provided`, result)
|
console.error('Invalid search result provided', result)
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,375 +0,0 @@
|
||||||
(window["webpackJsonpSettings"] = window["webpackJsonpSettings"] || []).push([["editor-collab"],{
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/SessionList.vue":
|
|
||||||
/*!**************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/SessionList.vue ***!
|
|
||||||
\**************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./SessionList.vue?vue&type=template&id=32621e4e&scoped=true& */ "./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true&");
|
|
||||||
/* harmony import */ var _SessionList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./SessionList.vue?vue&type=script&lang=js& */ "./apps/text/src/components/SessionList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& */ "./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_SessionList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"32621e4e",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "apps/text/src/components/SessionList.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/SessionList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!***************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/SessionList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\***************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib!../../../../node_modules/vue-loader/lib??vue-loader-options!./SessionList.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&":
|
|
||||||
/*!************************************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& ***!
|
|
||||||
\************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-style-loader!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& */ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_style_index_0_id_32621e4e_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true&":
|
|
||||||
/*!*********************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true& ***!
|
|
||||||
\*********************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./SessionList.vue?vue&type=template&id=32621e4e&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_SessionList_vue_vue_type_template_id_32621e4e_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/SessionList.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue/dist/Components/Avatar */ "./node_modules/@nextcloud/vue/dist/Components/Avatar.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_PopoverMenu__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/vue/dist/Components/PopoverMenu */ "./node_modules/@nextcloud/vue/dist/Components/PopoverMenu.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_PopoverMenu__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Components_PopoverMenu__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! @nextcloud/vue/dist/Directives/Tooltip */ "./node_modules/@nextcloud/vue/dist/Directives/Tooltip.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_2__);
|
|
||||||
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
||||||
|
|
||||||
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
||||||
|
|
||||||
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(n); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
||||||
|
|
||||||
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && Symbol.iterator in Object(iter)) return Array.from(iter); }
|
|
||||||
|
|
||||||
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
||||||
|
|
||||||
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
||||||
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
var COLLABORATOR_IDLE_TIME = 10;
|
|
||||||
var COLLABORATOR_DISCONNECT_TIME = 30;
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
name: 'SessionList',
|
|
||||||
components: {
|
|
||||||
Avatar: _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_0___default.a,
|
|
||||||
PopoverMenu: _nextcloud_vue_dist_Components_PopoverMenu__WEBPACK_IMPORTED_MODULE_1___default.a
|
|
||||||
},
|
|
||||||
directives: {
|
|
||||||
tooltip: _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_2___default.a
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
sessions: {
|
|
||||||
type: Object,
|
|
||||||
default: function _default() {
|
|
||||||
return {};
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
popoverVisible: '',
|
|
||||||
myName: ''
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
editorsTooltip: function editorsTooltip() {
|
|
||||||
if (this.sessionsPopover.length > 0) {
|
|
||||||
var first = this.activeSessions.slice(0, 3).map(function (session) {
|
|
||||||
return session.guestName ? session.guestName : session.displayName;
|
|
||||||
}).join(', ');
|
|
||||||
var others = this.activeSessions.slice(3).length;
|
|
||||||
return first + ' ' + n('text', 'and %n other editor', 'and %n other editors', others);
|
|
||||||
}
|
|
||||||
|
|
||||||
return this.activeSessions.slice(0, 3).map(function (session) {
|
|
||||||
return session.guestName ? session.guestName : session.displayName;
|
|
||||||
}).join(', ');
|
|
||||||
},
|
|
||||||
avatarUrl: function avatarUrl() {
|
|
||||||
return function (session) {
|
|
||||||
var user = !session.guestName ? session.userId : session.guestName;
|
|
||||||
var size = 32;
|
|
||||||
var guest = !!session.guestName;
|
|
||||||
var avatarUrl = OC.generateUrl(guest ? '/avatar/guest/{user}/{size}' : '/avatar/{user}/{size}', {
|
|
||||||
user: user,
|
|
||||||
size: size
|
|
||||||
});
|
|
||||||
return window.location.protocol + '//' + window.location.host + avatarUrl;
|
|
||||||
};
|
|
||||||
},
|
|
||||||
activeSessions: function activeSessions() {
|
|
||||||
return Object.values(this.sessions).filter(function (session) {
|
|
||||||
return session.lastContact > Date.now() / 1000 - COLLABORATOR_DISCONNECT_TIME && !session.isCurrent && (session.userId !== null || session.guestName !== null);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
currentSession: function currentSession() {
|
|
||||||
return Object.values(this.sessions).find(function (session) {
|
|
||||||
return session.isCurrent;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
sessionStyle: function sessionStyle() {
|
|
||||||
return function (session) {
|
|
||||||
return {
|
|
||||||
'opacity': session.lastContact > Date.now() / 1000 - COLLABORATOR_IDLE_TIME ? 1 : 0.5 // 'border-color': session.color
|
|
||||||
|
|
||||||
};
|
|
||||||
};
|
|
||||||
},
|
|
||||||
sessionsVisible: function sessionsVisible() {
|
|
||||||
return this.activeSessions.slice(0, 3);
|
|
||||||
},
|
|
||||||
sessionsPopover: function sessionsPopover() {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
return _toConsumableArray(this.activeSessions.slice(3).map(function (session) {
|
|
||||||
return {
|
|
||||||
href: '#',
|
|
||||||
icon: _this.avatarUrl(session),
|
|
||||||
text: session.guestName ? session.guestName : session.displayName
|
|
||||||
};
|
|
||||||
}));
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&":
|
|
||||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& ***!
|
|
||||||
\****************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// Imports
|
|
||||||
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
|
||||||
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, ".session-list[data-v-32621e4e] {\n position: relative;\n}\n.session-list[data-v-32621e4e] .popovermenu {\n margin-right: -4px;\n}\n.session-list[data-v-32621e4e] .popovermenu img {\n padding: 0;\n width: 32px !important;\n height: 32px !important;\n margin: 6px;\n border-radius: 50%;\n}\n.avatar-list[data-v-32621e4e] {\n display: inline-flex;\n flex-direction: row-reverse;\n}\n.avatar-list .avatardiv[data-v-32621e4e],\n .avatar-list[data-v-32621e4e] .avatardiv {\n width: 36px;\n height: 36px;\n margin-right: -8px;\n border: 2px solid var(--color-main-background);\n background-color: var(--color-main-background) !important;\n box-sizing: content-box !important;\n}\n.avatar-list .avatardiv.icon-more[data-v-32621e4e],\n .avatar-list[data-v-32621e4e] .avatardiv.icon-more {\n width: 32px;\n height: 32px;\n opacity: .5;\n background-color: var(--color-background-dark) !important;\n cursor: pointer;\n}\n.popovermenu[data-v-32621e4e] {\n display: block;\n}\n", ""]);
|
|
||||||
// Exports
|
|
||||||
module.exports = exports;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true&":
|
|
||||||
/*!***************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/SessionList.vue?vue&type=template&id=32621e4e&scoped=true& ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c("div", { staticClass: "session-list" }, [
|
|
||||||
_c(
|
|
||||||
"div",
|
|
||||||
{
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "tooltip",
|
|
||||||
rawName: "v-tooltip.bottom",
|
|
||||||
value: _vm.editorsTooltip,
|
|
||||||
expression: "editorsTooltip",
|
|
||||||
modifiers: { bottom: true }
|
|
||||||
}
|
|
||||||
],
|
|
||||||
staticClass: "avatar-list",
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
_vm.popoverVisible = !_vm.popoverVisible
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm.sessionsPopover.length > 0
|
|
||||||
? _c("div", { staticClass: "avatardiv icon-more" })
|
|
||||||
: _vm._e(),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm._l(_vm.sessionsVisible, function(session) {
|
|
||||||
return _c("Avatar", {
|
|
||||||
key: session.id,
|
|
||||||
style: _vm.sessionStyle(session),
|
|
||||||
attrs: {
|
|
||||||
user: session.userId ? session.userId : session.guestName,
|
|
||||||
"is-guest": session.userId === null,
|
|
||||||
"disable-tooltip": true,
|
|
||||||
size: 32
|
|
||||||
}
|
|
||||||
})
|
|
||||||
})
|
|
||||||
],
|
|
||||||
2
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"div",
|
|
||||||
{
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "show",
|
|
||||||
rawName: "v-show",
|
|
||||||
value: _vm.popoverVisible,
|
|
||||||
expression: "popoverVisible"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
staticClass: "popovermenu menu-right"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("PopoverMenu", { attrs: { menu: _vm.sessionsPopover } }),
|
|
||||||
_vm._v(" "),
|
|
||||||
_vm._t("default")
|
|
||||||
],
|
|
||||||
2
|
|
||||||
)
|
|
||||||
])
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&":
|
|
||||||
/*!************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& ***!
|
|
||||||
\************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
||||||
|
|
||||||
// load the styles
|
|
||||||
var content = __webpack_require__(/*! !../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss& */ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/SessionList.vue?vue&type=style&index=0&id=32621e4e&scoped=true&lang=scss&");
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
// add the styles to the DOM
|
|
||||||
var add = __webpack_require__(/*! ../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
|
|
||||||
var update = add("ddf5505e", content, false, {});
|
|
||||||
// Hot Module Replacement
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
//# sourceMappingURL=vue-editor-collab.js.map?v=ea46162cd01c4d879032
|
|
File diff suppressed because one or more lines are too long
|
@ -1,317 +0,0 @@
|
||||||
(window["webpackJsonpSettings"] = window["webpackJsonpSettings"] || []).push([["editor-guest"],{
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/GuestNameDialog.vue":
|
|
||||||
/*!******************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/GuestNameDialog.vue ***!
|
|
||||||
\******************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true& */ "./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&");
|
|
||||||
/* harmony import */ var _GuestNameDialog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./GuestNameDialog.vue?vue&type=script&lang=js& */ "./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& */ "./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_GuestNameDialog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"0eec23a0",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "apps/text/src/components/GuestNameDialog.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib!../../../../node_modules/vue-loader/lib??vue-loader-options!./GuestNameDialog.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&":
|
|
||||||
/*!****************************************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& ***!
|
|
||||||
\****************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-style-loader!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& */ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_style_index_0_id_0eec23a0_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&":
|
|
||||||
/*!*************************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true& ***!
|
|
||||||
\*************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_GuestNameDialog_vue_vue_type_template_id_0eec23a0_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*****************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/GuestNameDialog.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*****************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue/dist/Directives/Tooltip */ "./node_modules/@nextcloud/vue/dist/Directives/Tooltip.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/vue/dist/Components/Avatar */ "./node_modules/@nextcloud/vue/dist/Components/Avatar.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
name: 'GuestNameDialog',
|
|
||||||
components: {
|
|
||||||
Avatar: _nextcloud_vue_dist_Components_Avatar__WEBPACK_IMPORTED_MODULE_1___default.a
|
|
||||||
},
|
|
||||||
directives: {
|
|
||||||
tooltip: _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_0___default.a
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
syncService: {
|
|
||||||
type: Object,
|
|
||||||
default: null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
guestName: '',
|
|
||||||
guestNameBuffered: ''
|
|
||||||
};
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
avatarUrl: function avatarUrl() {
|
|
||||||
var size = 32;
|
|
||||||
var avatarUrl = OC.generateUrl('/avatar/guest/{user}/{size}', {
|
|
||||||
user: this.guestNameBuffered,
|
|
||||||
size: size
|
|
||||||
});
|
|
||||||
return window.location.protocol + '//' + window.location.host + avatarUrl;
|
|
||||||
}
|
|
||||||
},
|
|
||||||
beforeMount: function beforeMount() {
|
|
||||||
this.guestName = this.syncService.session.guestName;
|
|
||||||
this.updateBufferedGuestName();
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
setGuestName: function setGuestName() {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
var previousGuestName = this.syncService.session.guestName;
|
|
||||||
this.syncService.updateSession(this.guestName).then(function () {
|
|
||||||
localStorage.setItem('nick', _this.guestName);
|
|
||||||
|
|
||||||
_this.updateBufferedGuestName();
|
|
||||||
}).catch(function (e) {
|
|
||||||
_this.guestName = previousGuestName;
|
|
||||||
});
|
|
||||||
},
|
|
||||||
updateBufferedGuestName: function updateBufferedGuestName() {
|
|
||||||
this.guestNameBuffered = this.guestName;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&":
|
|
||||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& ***!
|
|
||||||
\********************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// Imports
|
|
||||||
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
|
||||||
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, "form.guest-name-dialog[data-v-0eec23a0] {\n display: flex;\n max-width: 200px;\n margin: auto;\n margin-top: -2px;\n padding: 3px;\n}\nform.guest-name-dialog[data-v-0eec23a0] img {\n margin: 0 !important;\n}\nform.guest-name-dialog input[type=text][data-v-0eec23a0] {\n flex-grow: 1;\n}\nform.guest-name-dialog label[data-v-0eec23a0] {\n padding: 3px;\n height: 32px;\n}\n", ""]);
|
|
||||||
// Exports
|
|
||||||
module.exports = exports;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&":
|
|
||||||
/*!*******************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true& ***!
|
|
||||||
\*******************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c(
|
|
||||||
"form",
|
|
||||||
{
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "tooltip",
|
|
||||||
rawName: "v-tooltip",
|
|
||||||
value: _vm.t(
|
|
||||||
"text",
|
|
||||||
"Enter your name so other users can see who is editing"
|
|
||||||
),
|
|
||||||
expression:
|
|
||||||
"t('text', 'Enter your name so other users can see who is editing')"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
staticClass: "guest-name-dialog",
|
|
||||||
on: {
|
|
||||||
submit: function($event) {
|
|
||||||
$event.preventDefault()
|
|
||||||
return _vm.setGuestName()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c(
|
|
||||||
"label",
|
|
||||||
[
|
|
||||||
_c("Avatar", {
|
|
||||||
attrs: { url: _vm.avatarUrl, "disable-tooltip": true, size: 32 }
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("input", {
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "model",
|
|
||||||
rawName: "v-model",
|
|
||||||
value: _vm.guestName,
|
|
||||||
expression: "guestName"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
attrs: { type: "text", "aria-label": _vm.t("text", "Edit guest name") },
|
|
||||||
domProps: { value: _vm.guestName },
|
|
||||||
on: {
|
|
||||||
input: function($event) {
|
|
||||||
if ($event.target.composing) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
_vm.guestName = $event.target.value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("input", {
|
|
||||||
staticClass: "icon-confirm",
|
|
||||||
attrs: {
|
|
||||||
type: "submit",
|
|
||||||
"aria-label": _vm.t("text", "Save guest name")
|
|
||||||
}
|
|
||||||
})
|
|
||||||
]
|
|
||||||
)
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&":
|
|
||||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& ***!
|
|
||||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
||||||
|
|
||||||
// load the styles
|
|
||||||
var content = __webpack_require__(/*! !../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss& */ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&");
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
// add the styles to the DOM
|
|
||||||
var add = __webpack_require__(/*! ../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
|
|
||||||
var update = add("842bd5d8", content, false, {});
|
|
||||||
// Hot Module Replacement
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
//# sourceMappingURL=vue-editor-guest.js.map?v=33f8317f810f63e13a76
|
|
File diff suppressed because one or more lines are too long
|
@ -1,393 +0,0 @@
|
||||||
(window["webpackJsonpSettings"] = window["webpackJsonpSettings"] || []).push([["editor-rich"],{
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/MenuBubble.vue":
|
|
||||||
/*!*************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/MenuBubble.vue ***!
|
|
||||||
\*************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./MenuBubble.vue?vue&type=template&id=48157a56&scoped=true& */ "./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true&");
|
|
||||||
/* harmony import */ var _MenuBubble_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./MenuBubble.vue?vue&type=script&lang=js& */ "./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& */ "./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
|
|
||||||
_MenuBubble_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
"48157a56",
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "apps/text/src/components/MenuBubble.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js&":
|
|
||||||
/*!**************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js& ***!
|
|
||||||
\**************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib!../../../../node_modules/vue-loader/lib??vue-loader-options!./MenuBubble.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&":
|
|
||||||
/*!***********************************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& ***!
|
|
||||||
\***********************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-style-loader!../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& */ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&");
|
|
||||||
/* harmony import */ var _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__) if(__WEBPACK_IMPORT_KEY__ !== 'default') (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (_node_modules_vue_style_loader_index_js_node_modules_css_loader_dist_cjs_js_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_sass_loader_dist_cjs_js_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_style_index_0_id_48157a56_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true&":
|
|
||||||
/*!********************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true& ***!
|
|
||||||
\********************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./MenuBubble.vue?vue&type=template&id=48157a56&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_MenuBubble_vue_vue_type_template_id_48157a56_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js&":
|
|
||||||
/*!************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/MenuBubble.vue?vue&type=script&lang=js& ***!
|
|
||||||
\************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
!(function webpackMissingModule() { var e = new Error("Cannot find module 'tiptap'"); e.code = 'MODULE_NOT_FOUND'; throw e; }());
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! @nextcloud/vue/dist/Directives/Tooltip */ "./node_modules/@nextcloud/vue/dist/Directives/Tooltip.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_1__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
name: 'MenuBubble',
|
|
||||||
components: {
|
|
||||||
EditorMenuBubble: !(function webpackMissingModule() { var e = new Error("Cannot find module 'tiptap'"); e.code = 'MODULE_NOT_FOUND'; throw e; }())
|
|
||||||
},
|
|
||||||
directives: {
|
|
||||||
tooltip: _nextcloud_vue_dist_Directives_Tooltip__WEBPACK_IMPORTED_MODULE_1___default.a
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
editor: {
|
|
||||||
type: Object,
|
|
||||||
required: false,
|
|
||||||
default: null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
data: function data() {
|
|
||||||
return {
|
|
||||||
linkUrl: null,
|
|
||||||
linkMenuIsActive: false
|
|
||||||
};
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
showLinkMenu: function showLinkMenu(attrs) {
|
|
||||||
var _this = this;
|
|
||||||
|
|
||||||
this.linkUrl = attrs.href;
|
|
||||||
this.linkMenuIsActive = true;
|
|
||||||
this.$nextTick(function () {
|
|
||||||
_this.$refs.linkInput.focus();
|
|
||||||
});
|
|
||||||
},
|
|
||||||
hideLinkMenu: function hideLinkMenu() {
|
|
||||||
this.linkUrl = null;
|
|
||||||
this.linkMenuIsActive = false;
|
|
||||||
},
|
|
||||||
setLinkUrl: function setLinkUrl(command, url) {
|
|
||||||
if (url && !url.match(/^[a-zA-Z]+:\/\//) && !url.match(/^\//)) {
|
|
||||||
url = 'https://' + url;
|
|
||||||
}
|
|
||||||
|
|
||||||
command({
|
|
||||||
href: url
|
|
||||||
});
|
|
||||||
this.hideLinkMenu();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&":
|
|
||||||
/*!***************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& ***!
|
|
||||||
\***************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// Imports
|
|
||||||
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js");
|
|
||||||
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
||||||
// Module
|
|
||||||
exports.push([module.i, ".menububble[data-v-48157a56] {\n position: absolute;\n display: flex;\n z-index: 10020;\n background: var(--color-main-background-translucent);\n box-shadow: 0 1px 5px var(--color-box-shadow);\n border-radius: var(--border-radius);\n padding: 0;\n margin-bottom: 0.4rem;\n visibility: hidden;\n opacity: 0;\n transform: translateX(-50%);\n transition: opacity 0.2s, visibility 0.2s;\n}\n.menububble.is-active[data-v-48157a56] {\n opacity: 1;\n visibility: visible;\n}\n.menububble__button[data-v-48157a56] {\n display: block;\n border: 0;\n padding: 0.3rem 0.7rem;\n margin: 0;\n margin-right: 0.2rem;\n border-radius: var(--border-radius);\n cursor: pointer;\n}\n.menububble__button[data-v-48157a56]:last-child {\n margin-right: 0;\n}\n.menububble__buttontext[data-v-48157a56] {\n padding: 0.4rem;\n padding-right: 0;\n}\n.menububble__form[data-v-48157a56] {\n display: flex;\n align-items: center;\n}\n.menububble__input[data-v-48157a56] {\n font: inherit;\n border: none;\n background: transparent;\n min-width: 150px;\n}\n", ""]);
|
|
||||||
// Exports
|
|
||||||
module.exports = exports;
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true&":
|
|
||||||
/*!**************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/MenuBubble.vue?vue&type=template&id=48157a56&scoped=true& ***!
|
|
||||||
\**************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _c("EditorMenuBubble", {
|
|
||||||
staticClass: "menububble",
|
|
||||||
attrs: { editor: _vm.editor },
|
|
||||||
on: { hide: _vm.hideLinkMenu },
|
|
||||||
scopedSlots: _vm._u([
|
|
||||||
{
|
|
||||||
key: "default",
|
|
||||||
fn: function(ref) {
|
|
||||||
var commands = ref.commands
|
|
||||||
var isActive = ref.isActive
|
|
||||||
var getMarkAttrs = ref.getMarkAttrs
|
|
||||||
var menu = ref.menu
|
|
||||||
return [
|
|
||||||
_c(
|
|
||||||
"div",
|
|
||||||
{
|
|
||||||
staticClass: "menububble",
|
|
||||||
class: { "is-active": menu.isActive },
|
|
||||||
style:
|
|
||||||
"left: " + menu.left + "px; bottom: " + menu.bottom + "px;"
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_vm.linkMenuIsActive
|
|
||||||
? _c(
|
|
||||||
"form",
|
|
||||||
{
|
|
||||||
staticClass: "menububble__form",
|
|
||||||
on: {
|
|
||||||
submit: function($event) {
|
|
||||||
$event.preventDefault()
|
|
||||||
return _vm.setLinkUrl(commands.link, _vm.linkUrl)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("input", {
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "model",
|
|
||||||
rawName: "v-model",
|
|
||||||
value: _vm.linkUrl,
|
|
||||||
expression: "linkUrl"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
ref: "linkInput",
|
|
||||||
staticClass: "menububble__input",
|
|
||||||
attrs: { type: "text", placeholder: "https://" },
|
|
||||||
domProps: { value: _vm.linkUrl },
|
|
||||||
on: {
|
|
||||||
keydown: function($event) {
|
|
||||||
if (
|
|
||||||
!$event.type.indexOf("key") &&
|
|
||||||
_vm._k($event.keyCode, "esc", 27, $event.key, [
|
|
||||||
"Esc",
|
|
||||||
"Escape"
|
|
||||||
])
|
|
||||||
) {
|
|
||||||
return null
|
|
||||||
}
|
|
||||||
return _vm.hideLinkMenu($event)
|
|
||||||
},
|
|
||||||
input: function($event) {
|
|
||||||
if ($event.target.composing) {
|
|
||||||
return
|
|
||||||
}
|
|
||||||
_vm.linkUrl = $event.target.value
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c("button", {
|
|
||||||
staticClass: "menububble__button icon-confirm",
|
|
||||||
attrs: { type: "button" },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
return _vm.setLinkUrl(commands.link, _vm.linkUrl)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
})
|
|
||||||
]
|
|
||||||
)
|
|
||||||
: [
|
|
||||||
_c(
|
|
||||||
"button",
|
|
||||||
{
|
|
||||||
staticClass: "menububble__button",
|
|
||||||
class: { "is-active": isActive.link() },
|
|
||||||
on: {
|
|
||||||
click: function($event) {
|
|
||||||
_vm.showLinkMenu(getMarkAttrs("link"))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
[
|
|
||||||
_c("span", {
|
|
||||||
directives: [
|
|
||||||
{
|
|
||||||
name: "tooltip",
|
|
||||||
rawName: "v-tooltip",
|
|
||||||
value: isActive.link()
|
|
||||||
? "Update Link"
|
|
||||||
: "Add Link",
|
|
||||||
expression:
|
|
||||||
"isActive.link() ? 'Update Link' : 'Add Link'"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
staticClass: "icon-link"
|
|
||||||
}),
|
|
||||||
_vm._v(" "),
|
|
||||||
_c(
|
|
||||||
"span",
|
|
||||||
{ staticClass: "menububble__buttontext" },
|
|
||||||
[_vm._v(_vm._s(_vm.t("text", "Add link")))]
|
|
||||||
)
|
|
||||||
]
|
|
||||||
)
|
|
||||||
]
|
|
||||||
],
|
|
||||||
2
|
|
||||||
)
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
])
|
|
||||||
})
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-style-loader/index.js!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&":
|
|
||||||
/*!***********************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-style-loader!./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& ***!
|
|
||||||
\***********************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! no static exports found */
|
|
||||||
/***/ (function(module, exports, __webpack_require__) {
|
|
||||||
|
|
||||||
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
||||||
|
|
||||||
// load the styles
|
|
||||||
var content = __webpack_require__(/*! !../../../../node_modules/css-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/sass-loader/dist/cjs.js!../../../../node_modules/vue-loader/lib??vue-loader-options!./MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss& */ "./node_modules/css-loader/dist/cjs.js!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/sass-loader/dist/cjs.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/MenuBubble.vue?vue&type=style&index=0&id=48157a56&scoped=true&lang=scss&");
|
|
||||||
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
||||||
if(content.locals) module.exports = content.locals;
|
|
||||||
// add the styles to the DOM
|
|
||||||
var add = __webpack_require__(/*! ../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
|
|
||||||
var update = add("3f96e312", content, false, {});
|
|
||||||
// Hot Module Replacement
|
|
||||||
if(false) {}
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
//# sourceMappingURL=vue-editor-rich.js.map?v=4e5cb68d95c32b9eca9f
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,202 +0,0 @@
|
||||||
(window["webpackJsonpSettings"] = window["webpackJsonpSettings"] || []).push([["files-modal"],{
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/PublicFilesEditor.vue":
|
|
||||||
/*!********************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/PublicFilesEditor.vue ***!
|
|
||||||
\********************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./PublicFilesEditor.vue?vue&type=template&id=5775ffe0& */ "./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0&");
|
|
||||||
/* harmony import */ var _PublicFilesEditor_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./PublicFilesEditor.vue?vue&type=script&lang=js& */ "./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport *//* harmony import */ var _node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js */ "./node_modules/vue-loader/lib/runtime/componentNormalizer.js");
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* normalize component */
|
|
||||||
|
|
||||||
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_2__["default"])(
|
|
||||||
_PublicFilesEditor_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
|
|
||||||
_PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__["render"],
|
|
||||||
_PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
|
|
||||||
false,
|
|
||||||
null,
|
|
||||||
null,
|
|
||||||
null
|
|
||||||
|
|
||||||
)
|
|
||||||
|
|
||||||
/* hot reload */
|
|
||||||
if (false) { var api; }
|
|
||||||
component.options.__file = "apps/text/src/components/PublicFilesEditor.vue"
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = (component.exports);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*********************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*********************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicFilesEditor_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/babel-loader/lib!../../../../node_modules/vue-loader/lib??vue-loader-options!./PublicFilesEditor.vue?vue&type=script&lang=js& */ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js&");
|
|
||||||
/* empty/unused harmony star reexport */ /* harmony default export */ __webpack_exports__["default"] = (_node_modules_babel_loader_lib_index_js_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicFilesEditor_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_0__["default"]);
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0&":
|
|
||||||
/*!***************************************************************************************!*\
|
|
||||||
!*** ./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0& ***!
|
|
||||||
\***************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib??vue-loader-options!./PublicFilesEditor.vue?vue&type=template&id=5775ffe0& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0&");
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "render", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__["render"]; });
|
|
||||||
|
|
||||||
/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_PublicFilesEditor_vue_vue_type_template_id_5775ffe0___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js&":
|
|
||||||
/*!*******************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/PublicFilesEditor.vue?vue&type=script&lang=js& ***!
|
|
||||||
\*******************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: default */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Modal__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue/dist/Components/Modal */ "./node_modules/@nextcloud/vue/dist/Components/Modal.js");
|
|
||||||
/* harmony import */ var _nextcloud_vue_dist_Components_Modal__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue_dist_Components_Modal__WEBPACK_IMPORTED_MODULE_0__);
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
//
|
|
||||||
|
|
||||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
|
||||||
name: 'PublicFilesEditor',
|
|
||||||
components: {
|
|
||||||
Modal: _nextcloud_vue_dist_Components_Modal__WEBPACK_IMPORTED_MODULE_0___default.a,
|
|
||||||
EditorWrapper: function EditorWrapper() {
|
|
||||||
return __webpack_require__.e(/*! import() | editor */ "editor").then(__webpack_require__.bind(null, /*! ./EditorWrapper */ "./apps/text/src/components/EditorWrapper.vue"));
|
|
||||||
}
|
|
||||||
},
|
|
||||||
props: {
|
|
||||||
fileId: {
|
|
||||||
type: Number,
|
|
||||||
default: null
|
|
||||||
},
|
|
||||||
relativePath: {
|
|
||||||
type: String,
|
|
||||||
default: null
|
|
||||||
},
|
|
||||||
active: {
|
|
||||||
type: Boolean,
|
|
||||||
default: false
|
|
||||||
},
|
|
||||||
shareToken: {
|
|
||||||
type: String,
|
|
||||||
default: null
|
|
||||||
},
|
|
||||||
mimeType: {
|
|
||||||
type: String,
|
|
||||||
default: null
|
|
||||||
}
|
|
||||||
},
|
|
||||||
computed: {
|
|
||||||
fileName: function fileName() {
|
|
||||||
return this.relativePath.substring(this.relativePath.lastIndexOf('/') + 1);
|
|
||||||
}
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
close: function close() {
|
|
||||||
this.active = false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
/***/ }),
|
|
||||||
|
|
||||||
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0&":
|
|
||||||
/*!*********************************************************************************************************************************************************************************************************************!*\
|
|
||||||
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/text/src/components/PublicFilesEditor.vue?vue&type=template&id=5775ffe0& ***!
|
|
||||||
\*********************************************************************************************************************************************************************************************************************/
|
|
||||||
/*! exports provided: render, staticRenderFns */
|
|
||||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
||||||
|
|
||||||
"use strict";
|
|
||||||
__webpack_require__.r(__webpack_exports__);
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "render", function() { return render; });
|
|
||||||
/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, "staticRenderFns", function() { return staticRenderFns; });
|
|
||||||
var render = function() {
|
|
||||||
var _vm = this
|
|
||||||
var _h = _vm.$createElement
|
|
||||||
var _c = _vm._self._c || _h
|
|
||||||
return _vm.active
|
|
||||||
? _c(
|
|
||||||
"Modal",
|
|
||||||
{ attrs: { title: _vm.fileName }, on: { close: _vm.close } },
|
|
||||||
[
|
|
||||||
_c("EditorWrapper", {
|
|
||||||
attrs: {
|
|
||||||
"file-id": _vm.fileId,
|
|
||||||
"relative-path": _vm.relativePath,
|
|
||||||
active: _vm.active,
|
|
||||||
"share-token": _vm.shareToken,
|
|
||||||
mime: _vm.mimeType
|
|
||||||
}
|
|
||||||
})
|
|
||||||
],
|
|
||||||
1
|
|
||||||
)
|
|
||||||
: _vm._e()
|
|
||||||
}
|
|
||||||
var staticRenderFns = []
|
|
||||||
render._withStripped = true
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***/ })
|
|
||||||
|
|
||||||
}]);
|
|
||||||
//# sourceMappingURL=vue-files-modal.js.map?v=624983dbb824a2380de0
|
|
|
@ -1 +0,0 @@
|
||||||
{"version":3,"file":"vue-files-modal.js?v=624983dbb824a2380de0","sources":["webpack:///./apps/text/src/components/PublicFilesEditor.vue","webpack:///./apps/text/src/components/PublicFilesEditor.vue?86ab","webpack:///./apps/text/src/components/PublicFilesEditor.vue?bcb1","webpack:///./apps/text/src/components/PublicFilesEditor.vue?c033","webpack:///./apps/text/src/components/PublicFilesEditor.vue?c0b7"],"sourcesContent":["import { render, staticRenderFns } from \"./PublicFilesEditor.vue?vue&type=template&id=5775ffe0&\"\nimport script from \"./PublicFilesEditor.vue?vue&type=script&lang=js&\"\nexport * from \"./PublicFilesEditor.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/home/user/nextcloud/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('5775ffe0')) {\n api.createRecord('5775ffe0', component.options)\n } else {\n api.reload('5775ffe0', component.options)\n }\n module.hot.accept(\"./PublicFilesEditor.vue?vue&type=template&id=5775ffe0&\", function () {\n api.rerender('5775ffe0', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"apps/text/src/components/PublicFilesEditor.vue\"\nexport default component.exports","import mod from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicFilesEditor.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicFilesEditor.vue?vue&type=script&lang=js&\"","export * from \"-!../../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PublicFilesEditor.vue?vue&type=template&id=5775ffe0&\"","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport Modal from '@nextcloud/vue/dist/Components/Modal';\nexport default {\n name: 'PublicFilesEditor',\n components: {\n Modal: Modal,\n EditorWrapper: function EditorWrapper() {\n return import(\n /* webpackChunkName: \"editor\" */\n './EditorWrapper');\n }\n },\n props: {\n fileId: {\n type: Number,\n default: null\n },\n relativePath: {\n type: String,\n default: null\n },\n active: {\n type: Boolean,\n default: false\n },\n shareToken: {\n type: String,\n default: null\n },\n mimeType: {\n type: String,\n default: null\n }\n },\n computed: {\n fileName: function fileName() {\n return this.relativePath.substring(this.relativePath.lastIndexOf('/') + 1);\n }\n },\n methods: {\n close: function close() {\n this.active = false;\n }\n }\n};","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _vm.active\n ? _c(\n \"Modal\",\n { attrs: { title: _vm.fileName }, on: { close: _vm.close } },\n [\n _c(\"EditorWrapper\", {\n attrs: {\n \"file-id\": _vm.fileId,\n \"relative-path\": _vm.relativePath,\n active: _vm.active,\n \"share-token\": _vm.shareToken,\n mime: _vm.mimeType\n }\n })\n ],\n 1\n )\n : _vm._e()\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAiBA;AACA;AACA;;;;;;;;;;;;ACtCA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iLAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;AC3EA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;A","sourceRoot":""}
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -86,28 +86,28 @@ export default {
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
enforced: {
|
enforced: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.$store.state.enforced
|
return this.$store.state.enforced
|
||||||
},
|
},
|
||||||
set: function(val) {
|
set(val) {
|
||||||
this.dirty = true
|
this.dirty = true
|
||||||
this.$store.commit('setEnforced', val)
|
this.$store.commit('setEnforced', val)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
enforcedGroups: {
|
enforcedGroups: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.$store.state.enforcedGroups
|
return this.$store.state.enforcedGroups
|
||||||
},
|
},
|
||||||
set: function(val) {
|
set(val) {
|
||||||
this.dirty = true
|
this.dirty = true
|
||||||
this.$store.commit('setEnforcedGroups', val)
|
this.$store.commit('setEnforcedGroups', val)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
excludedGroups: {
|
excludedGroups: {
|
||||||
get: function() {
|
get() {
|
||||||
return this.$store.state.excludedGroups
|
return this.$store.state.excludedGroups
|
||||||
},
|
},
|
||||||
set: function(val) {
|
set(val) {
|
||||||
this.dirty = true
|
this.dirty = true
|
||||||
this.$store.commit('setExcludedGroups', val)
|
this.$store.commit('setExcludedGroups', val)
|
||||||
},
|
},
|
||||||
|
|
|
@ -278,7 +278,7 @@ export default {
|
||||||
}
|
}
|
||||||
return dompurify.sanitize(
|
return dompurify.sanitize(
|
||||||
marked(this.app.description.trim(), {
|
marked(this.app.description.trim(), {
|
||||||
renderer: renderer,
|
renderer,
|
||||||
gfm: false,
|
gfm: false,
|
||||||
highlight: false,
|
highlight: false,
|
||||||
tables: false,
|
tables: false,
|
||||||
|
|
|
@ -131,7 +131,7 @@ export default {
|
||||||
selectInput(e) {
|
selectInput(e) {
|
||||||
e.currentTarget.select()
|
e.currentTarget.select()
|
||||||
},
|
},
|
||||||
submit: function() {
|
submit() {
|
||||||
confirmPassword()
|
confirmPassword()
|
||||||
.then(() => {
|
.then(() => {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
|
|
|
@ -166,12 +166,12 @@ const actions = {
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
context.commit('startLoading', apps)
|
context.commit('startLoading', apps)
|
||||||
context.commit('startLoading', 'install')
|
context.commit('startLoading', 'install')
|
||||||
return api.post(generateUrl(`settings/apps/enable`), { appIds: apps, groups: groups })
|
return api.post(generateUrl('settings/apps/enable'), { appIds: apps, groups })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
context.commit('stopLoading', apps)
|
context.commit('stopLoading', apps)
|
||||||
context.commit('stopLoading', 'install')
|
context.commit('stopLoading', 'install')
|
||||||
apps.forEach(_appId => {
|
apps.forEach(_appId => {
|
||||||
context.commit('enableApp', { appId: _appId, groups: groups })
|
context.commit('enableApp', { appId: _appId, groups })
|
||||||
})
|
})
|
||||||
|
|
||||||
// check for server health
|
// check for server health
|
||||||
|
@ -224,7 +224,7 @@ const actions = {
|
||||||
return api.requireAdmin().then(() => {
|
return api.requireAdmin().then(() => {
|
||||||
context.commit('startLoading', apps)
|
context.commit('startLoading', apps)
|
||||||
context.commit('startLoading', 'install')
|
context.commit('startLoading', 'install')
|
||||||
return api.post(generateUrl(`settings/apps/force`), { appId })
|
return api.post(generateUrl('settings/apps/force'), { appId })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
// TODO: find a cleaner solution
|
// TODO: find a cleaner solution
|
||||||
location.reload()
|
location.reload()
|
||||||
|
@ -249,7 +249,7 @@ const actions = {
|
||||||
}
|
}
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
context.commit('startLoading', apps)
|
context.commit('startLoading', apps)
|
||||||
return api.post(generateUrl(`settings/apps/disable`), { appIds: apps })
|
return api.post(generateUrl('settings/apps/disable'), { appIds: apps })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
context.commit('stopLoading', apps)
|
context.commit('stopLoading', apps)
|
||||||
apps.forEach(_appId => {
|
apps.forEach(_appId => {
|
||||||
|
@ -300,7 +300,7 @@ const actions = {
|
||||||
|
|
||||||
getAllApps(context) {
|
getAllApps(context) {
|
||||||
context.commit('startLoading', 'list')
|
context.commit('startLoading', 'list')
|
||||||
return api.get(generateUrl(`settings/apps/list`))
|
return api.get(generateUrl('settings/apps/list'))
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
context.commit('setAllApps', response.data.apps)
|
context.commit('setAllApps', response.data.apps)
|
||||||
context.commit('stopLoading', 'list')
|
context.commit('stopLoading', 'list')
|
||||||
|
|
|
@ -39,7 +39,7 @@ const actions = {
|
||||||
*/
|
*/
|
||||||
setAppConfig(context, { app, key, value }) {
|
setAppConfig(context, { app, key, value }) {
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
return api.post(generateOcsUrl(`apps/provisioning_api/api/v1/config/apps/${app}/${key}`, 2), { value: value })
|
return api.post(generateOcsUrl(`apps/provisioning_api/api/v1/config/apps/${app}/${key}`, 2), { value })
|
||||||
.catch((error) => { throw error })
|
.catch((error) => { throw error })
|
||||||
}).catch((error) => context.commit('API_FAILURE', { app, key, value, error }))
|
}).catch((error) => context.commit('API_FAILURE', { app, key, value, error }))
|
||||||
},
|
},
|
||||||
|
|
|
@ -298,10 +298,10 @@ const actions = {
|
||||||
*/
|
*/
|
||||||
addGroup(context, gid) {
|
addGroup(context, gid) {
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
return api.post(generateOcsUrl(`cloud/groups`, 2), { groupid: gid })
|
return api.post(generateOcsUrl('cloud/groups', 2), { groupid: gid })
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
context.commit('addGroup', { gid: gid, displayName: gid })
|
context.commit('addGroup', { gid, displayName: gid })
|
||||||
return { gid: gid, displayName: gid }
|
return { gid, displayName: gid }
|
||||||
})
|
})
|
||||||
.catch((error) => { throw error })
|
.catch((error) => { throw error })
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
@ -445,7 +445,7 @@ const actions = {
|
||||||
*/
|
*/
|
||||||
addUser({ commit, dispatch }, { userid, password, displayName, email, groups, subadmin, quota, language }) {
|
addUser({ commit, dispatch }, { userid, password, displayName, email, groups, subadmin, quota, language }) {
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
return api.post(generateOcsUrl(`cloud/users`, 2), { userid, password, displayName, email, groups, subadmin, quota, language })
|
return api.post(generateOcsUrl('cloud/users', 2), { userid, password, displayName, email, groups, subadmin, quota, language })
|
||||||
.then((response) => dispatch('addUserData', userid || response.data.ocs.data.id))
|
.then((response) => dispatch('addUserData', userid || response.data.ocs.data.id))
|
||||||
.catch((error) => { throw error })
|
.catch((error) => { throw error })
|
||||||
}).catch((error) => {
|
}).catch((error) => {
|
||||||
|
@ -507,7 +507,7 @@ const actions = {
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
return api.requireAdmin().then((response) => {
|
return api.requireAdmin().then((response) => {
|
||||||
return api.put(generateOcsUrl(`cloud/users/${userid}`, 2), { key: key, value: value })
|
return api.put(generateOcsUrl(`cloud/users/${userid}`, 2), { key, value })
|
||||||
.then((response) => context.commit('setUserData', { userid, key, value }))
|
.then((response) => context.commit('setUserData', { userid, key, value }))
|
||||||
.catch((error) => { throw error })
|
.catch((error) => { throw error })
|
||||||
}).catch((error) => context.commit('API_FAILURE', { userid, error }))
|
}).catch((error) => context.commit('API_FAILURE', { userid, error }))
|
||||||
|
|
|
@ -235,26 +235,26 @@ export default {
|
||||||
|
|
||||||
// Local settings
|
// Local settings
|
||||||
showLanguages: {
|
showLanguages: {
|
||||||
get: function() { return this.getLocalstorage('showLanguages') },
|
get() { return this.getLocalstorage('showLanguages') },
|
||||||
set: function(status) {
|
set(status) {
|
||||||
this.setLocalStorage('showLanguages', status)
|
this.setLocalStorage('showLanguages', status)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
showLastLogin: {
|
showLastLogin: {
|
||||||
get: function() { return this.getLocalstorage('showLastLogin') },
|
get() { return this.getLocalstorage('showLastLogin') },
|
||||||
set: function(status) {
|
set(status) {
|
||||||
this.setLocalStorage('showLastLogin', status)
|
this.setLocalStorage('showLastLogin', status)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
showUserBackend: {
|
showUserBackend: {
|
||||||
get: function() { return this.getLocalstorage('showUserBackend') },
|
get() { return this.getLocalstorage('showUserBackend') },
|
||||||
set: function(status) {
|
set(status) {
|
||||||
this.setLocalStorage('showUserBackend', status)
|
this.setLocalStorage('showUserBackend', status)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
showStoragePath: {
|
showStoragePath: {
|
||||||
get: function() { return this.getLocalstorage('showStoragePath') },
|
get() { return this.getLocalstorage('showStoragePath') },
|
||||||
set: function(status) {
|
set(status) {
|
||||||
this.setLocalStorage('showStoragePath', status)
|
this.setLocalStorage('showStoragePath', status)
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -276,7 +276,7 @@ export default {
|
||||||
},
|
},
|
||||||
// mapping saved values to objects
|
// mapping saved values to objects
|
||||||
defaultQuota: {
|
defaultQuota: {
|
||||||
get: function() {
|
get() {
|
||||||
if (this.selectedQuota !== false) {
|
if (this.selectedQuota !== false) {
|
||||||
return this.selectedQuota
|
return this.selectedQuota
|
||||||
}
|
}
|
||||||
|
@ -286,7 +286,7 @@ export default {
|
||||||
}
|
}
|
||||||
return this.unlimitedQuota // unlimited
|
return this.unlimitedQuota // unlimited
|
||||||
},
|
},
|
||||||
set: function(quota) {
|
set(quota) {
|
||||||
this.selectedQuota = quota
|
this.selectedQuota = quota
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -303,7 +303,7 @@ export default {
|
||||||
...this.settings,
|
...this.settings,
|
||||||
newUserSendEmail: value,
|
newUserSendEmail: value,
|
||||||
})
|
})
|
||||||
await axios.post(generateUrl(`/settings/users/preferences/newUser.sendEmail`), { value: value ? 'yes' : 'no' })
|
await axios.post(generateUrl('/settings/users/preferences/newUser.sendEmail'), { value: value ? 'yes' : 'no' })
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error('could not update newUser.sendEmail preference: ' + e.message, e)
|
console.error('could not update newUser.sendEmail preference: ' + e.message, e)
|
||||||
} finally {
|
} finally {
|
||||||
|
@ -428,9 +428,9 @@ export default {
|
||||||
*/
|
*/
|
||||||
registerAction(icon, text, action) {
|
registerAction(icon, text, action) {
|
||||||
this.externalActions.push({
|
this.externalActions.push({
|
||||||
icon: icon,
|
icon,
|
||||||
text: text,
|
text,
|
||||||
action: action,
|
action,
|
||||||
})
|
})
|
||||||
return this.externalActions
|
return this.externalActions
|
||||||
},
|
},
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -35,7 +35,7 @@ export default {
|
||||||
* @param {string} file the script file name
|
* @param {string} file the script file name
|
||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
*/
|
*/
|
||||||
loadScript: function(app, file) {
|
loadScript(app, file) {
|
||||||
const key = app + file
|
const key = app + file
|
||||||
if (Object.prototype.hasOwnProperty.call(loadedScripts, key)) {
|
if (Object.prototype.hasOwnProperty.call(loadedScripts, key)) {
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
|
@ -59,7 +59,7 @@ export default {
|
||||||
* @param {string} file the script file name
|
* @param {string} file the script file name
|
||||||
* @returns {Promise}
|
* @returns {Promise}
|
||||||
*/
|
*/
|
||||||
loadStylesheet: function(app, file) {
|
loadStylesheet(app, file) {
|
||||||
const key = app + file
|
const key = app + file
|
||||||
if (Object.prototype.hasOwnProperty.call(loadedStylesheets, key)) {
|
if (Object.prototype.hasOwnProperty.call(loadedStylesheets, key)) {
|
||||||
return Promise.resolve()
|
return Promise.resolve()
|
||||||
|
|
|
@ -135,7 +135,7 @@ export default {
|
||||||
.map(app => limit(() => {
|
.map(app => limit(() => {
|
||||||
logger.info(`installing ${app.id}`)
|
logger.info(`installing ${app.id}`)
|
||||||
app.loading = true
|
app.loading = true
|
||||||
return axios.post(generateUrl(`settings/apps/enable`), { appIds: [app.id], groups: [] })
|
return axios.post(generateUrl('settings/apps/enable'), { appIds: [app.id], groups: [] })
|
||||||
.catch(error => {
|
.catch(error => {
|
||||||
logger.error(`could not install ${app.id}`, { error })
|
logger.error(`could not install ${app.id}`, { error })
|
||||||
app.installationError = true
|
app.installationError = true
|
||||||
|
|
|
@ -99,19 +99,19 @@ const setDeprecatedProp = (global, cb, msg) => {
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
window['_'] = _
|
window._ = _
|
||||||
setDeprecatedProp(['$', 'jQuery'], () => $, 'The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.')
|
setDeprecatedProp(['$', 'jQuery'], () => $, 'The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.')
|
||||||
setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp('autosize', () => autosize, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('Backbone', () => Backbone, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp('Backbone', () => Backbone, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp(['Clipboard', 'ClipboardJS'], () => ClipboardJS, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
window['dav'] = dav
|
window.dav = dav
|
||||||
setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, this will be removed in Nextcloud 21')
|
setDeprecatedProp('DOMPurify', () => DOMPurify, 'The global DOMPurify is deprecated, this will be removed in Nextcloud 21')
|
||||||
setDeprecatedProp('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp('Handlebars', () => Handlebars, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp(['jstz', 'jstimezonedetect'], () => jstimezonedetect, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp(['jstz', 'jstimezonedetect'], () => jstimezonedetect, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp('md5', () => md5, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('moment', () => moment, 'please ship your own, this will be removed in Nextcloud 20')
|
setDeprecatedProp('moment', () => moment, 'please ship your own, this will be removed in Nextcloud 20')
|
||||||
|
|
||||||
window['OC'] = OC
|
window.OC = OC
|
||||||
setDeprecatedProp('initCore', () => initCore, 'this is an internal function')
|
setDeprecatedProp('initCore', () => initCore, 'this is an internal function')
|
||||||
setDeprecatedProp('oc_appswebroots', () => OC.appswebroots, 'use OC.appswebroots instead, this will be removed in Nextcloud 20')
|
setDeprecatedProp('oc_appswebroots', () => OC.appswebroots, 'use OC.appswebroots instead, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('oc_config', () => OC.config, 'use OC.config instead, this will be removed in Nextcloud 20')
|
setDeprecatedProp('oc_config', () => OC.config, 'use OC.config instead, this will be removed in Nextcloud 20')
|
||||||
|
@ -122,8 +122,8 @@ setDeprecatedProp('oc_isadmin', OC.isUserAdmin, 'use OC.isUserAdmin() instead, t
|
||||||
setDeprecatedProp('oc_requesttoken', () => getRequestToken(), 'use OC.requestToken instead, this will be removed in Nextcloud 20')
|
setDeprecatedProp('oc_requesttoken', () => getRequestToken(), 'use OC.requestToken instead, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead, this will be removed in Nextcloud 20')
|
setDeprecatedProp('oc_webroot', () => OC.webroot, 'use OC.getRootPath() instead, this will be removed in Nextcloud 20')
|
||||||
setDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20')
|
setDeprecatedProp('OCDialogs', () => OC.dialogs, 'use OC.dialogs instead, this will be removed in Nextcloud 20')
|
||||||
window['OCP'] = OCP
|
window.OCP = OCP
|
||||||
window['OCA'] = OCA
|
window.OCA = OCA
|
||||||
$.fn.select2 = deprecate($.fn.select2, 'select2', 19)
|
$.fn.select2 = deprecate($.fn.select2, 'select2', 19)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -75,6 +75,32 @@
|
||||||
"source-map": "^0.5.0"
|
"source-map": "^0.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"debug": {
|
"debug": {
|
||||||
"version": "4.1.1",
|
"version": "4.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
@ -123,6 +149,18 @@
|
||||||
"integrity": "sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==",
|
"integrity": "sha512-XQlqKQP4vXFB7BN8fEEerrmYvHp3fK/rBkRFz9jaJbzK0B1DSfej9Kc7ZzE8Z/OnId1jpJdNAZ3BFQjWG68rcA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-builder-binary-assignment-operator-visitor": {
|
"@babel/helper-builder-binary-assignment-operator-visitor": {
|
||||||
|
@ -132,6 +170,18 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/helper-explode-assignable-expression": "^7.10.4",
|
"@babel/helper-explode-assignable-expression": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-compilation-targets": {
|
"@babel/helper-compilation-targets": {
|
||||||
|
@ -166,50 +216,8 @@
|
||||||
"@babel/helper-split-export-declaration": "^7.10.4"
|
"@babel/helper-split-export-declaration": "^7.10.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/helper-function-name": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/helper-get-function-arity": "^7.10.4",
|
|
||||||
"@babel/template": "^7.10.4",
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/helper-get-function-arity": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/helper-split-export-declaration": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/types": "^7.11.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/parser": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-qvRvi4oI8xii8NllyEc4MDJjuZiNaRzyb7Y7lup1NqJV8TZHF4O27CcP+72WPn/k1zkgJ6WJfnIbk4jTsVAZHw=="
|
|
||||||
},
|
|
||||||
"@babel/template": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/code-frame": "^7.10.4",
|
|
||||||
"@babel/parser": "^7.10.4",
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/types": {
|
"@babel/types": {
|
||||||
"version": "7.11.0",
|
"version": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/helper-validator-identifier": "^7.10.4",
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
@ -237,6 +245,18 @@
|
||||||
"@babel/helper-function-name": "^7.10.4",
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
"@babel/types": "^7.10.5",
|
"@babel/types": "^7.10.5",
|
||||||
"lodash": "^4.17.19"
|
"lodash": "^4.17.19"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-explode-assignable-expression": {
|
"@babel/helper-explode-assignable-expression": {
|
||||||
|
@ -246,6 +266,47 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/traverse": "^7.10.4",
|
"@babel/traverse": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||||
|
"requires": {
|
||||||
|
"ms": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-function-name": {
|
"@babel/helper-function-name": {
|
||||||
|
@ -296,6 +357,18 @@
|
||||||
"integrity": "sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA==",
|
"integrity": "sha512-wljroF5PgCk2juF69kanHVs6vrLwIPNp6DLD+Lrl3hoQ3PpPPikaDRNFA+0t81NOoMt2DL6WW/mdU8k4k6ZzuA==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-member-expression-to-functions": {
|
"@babel/helper-member-expression-to-functions": {
|
||||||
|
@ -324,6 +397,18 @@
|
||||||
"integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==",
|
"integrity": "sha512-nEQJHqYavI217oD9+s5MUBzk6x1IlvoS9WTPfgG43CbMEeStE0v+r+TucWdx8KFGowPGvyOkDT9+7DHedIDnVw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-module-transforms": {
|
"@babel/helper-module-transforms": {
|
||||||
|
@ -338,6 +423,18 @@
|
||||||
"@babel/template": "^7.10.4",
|
"@babel/template": "^7.10.4",
|
||||||
"@babel/types": "^7.11.0",
|
"@babel/types": "^7.11.0",
|
||||||
"lodash": "^4.17.19"
|
"lodash": "^4.17.19"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-optimise-call-expression": {
|
"@babel/helper-optimise-call-expression": {
|
||||||
|
@ -383,6 +480,47 @@
|
||||||
"@babel/template": "^7.10.4",
|
"@babel/template": "^7.10.4",
|
||||||
"@babel/traverse": "^7.10.4",
|
"@babel/traverse": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||||
|
"requires": {
|
||||||
|
"ms": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-replace-supers": {
|
"@babel/helper-replace-supers": {
|
||||||
|
@ -396,57 +534,6 @@
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/generator": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-fEm3Uzw7Mc9Xi//qU20cBKatTfs2aOtKqmvy/Vm7RkJEGFQ4xc9myCfbXxqK//ZS8MR/ciOHw6meGASJuKmDfQ==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/types": "^7.11.0",
|
|
||||||
"jsesc": "^2.5.1",
|
|
||||||
"source-map": "^0.5.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/helper-function-name": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-YdaSyz1n8gY44EmN7x44zBn9zQ1Ry2Y+3GTA+3vH6Mizke1Vw0aWDM66FOYEPw8//qKkmqOckrGgTYa+6sceqQ==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/helper-get-function-arity": "^7.10.4",
|
|
||||||
"@babel/template": "^7.10.4",
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/helper-get-function-arity": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-EkN3YDB+SRDgiIUnNgcmiD361ti+AVbL3f3Henf6dqqUyr5dMsorno0lJWJuLhDhkI5sYEpgj6y9kB8AOU1I2A==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/helper-split-export-declaration": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-74Vejvp6mHkGE+m+k5vHY93FX2cAtrw1zXrZXRlG4l410Nm9PxfEiVTn1PjDPV5SnmieiueY4AFg2xqhNFuuZg==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/types": "^7.11.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/parser": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-qvRvi4oI8xii8NllyEc4MDJjuZiNaRzyb7Y7lup1NqJV8TZHF4O27CcP+72WPn/k1zkgJ6WJfnIbk4jTsVAZHw=="
|
|
||||||
},
|
|
||||||
"@babel/template": {
|
|
||||||
"version": "7.10.4",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/template/-/template-7.10.4.tgz",
|
|
||||||
"integrity": "sha512-ZCjD27cGJFUB6nmCB1Enki3r+L5kJveX9pq1SvAUKoICy6CZ9yD8xO086YXdYhvNjBdnekm4ZnaP5yC8Cs/1tA==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/code-frame": "^7.10.4",
|
|
||||||
"@babel/parser": "^7.10.4",
|
|
||||||
"@babel/types": "^7.10.4"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/traverse": {
|
"@babel/traverse": {
|
||||||
"version": "7.11.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
@ -495,6 +582,18 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/template": "^7.10.4",
|
"@babel/template": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-skip-transparent-expression-wrappers": {
|
"@babel/helper-skip-transparent-expression-wrappers": {
|
||||||
|
@ -503,6 +602,18 @@
|
||||||
"integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==",
|
"integrity": "sha512-0XIdiQln4Elglgjbwo9wuJpL/K7AGCY26kmEt0+pRP0TAj4jjyNq1MjoRvikrTVqKcx4Gysxt4cXvVFXP/JO2Q==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@babel/types": "^7.11.0"
|
"@babel/types": "^7.11.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helper-split-export-declaration": {
|
"@babel/helper-split-export-declaration": {
|
||||||
|
@ -539,6 +650,47 @@
|
||||||
"@babel/template": "^7.10.4",
|
"@babel/template": "^7.10.4",
|
||||||
"@babel/traverse": "^7.10.4",
|
"@babel/traverse": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||||
|
"requires": {
|
||||||
|
"ms": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/helpers": {
|
"@babel/helpers": {
|
||||||
|
@ -549,6 +701,47 @@
|
||||||
"@babel/template": "^7.10.4",
|
"@babel/template": "^7.10.4",
|
||||||
"@babel/traverse": "^7.10.4",
|
"@babel/traverse": "^7.10.4",
|
||||||
"@babel/types": "^7.10.4"
|
"@babel/types": "^7.10.4"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||||
|
"requires": {
|
||||||
|
"ms": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/highlight": {
|
"@babel/highlight": {
|
||||||
|
@ -1083,6 +1276,27 @@
|
||||||
"@babel/helper-plugin-utils": "^7.10.4"
|
"@babel/helper-plugin-utils": "^7.10.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"@babel/polyfill": {
|
||||||
|
"version": "7.2.5",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.2.5.tgz",
|
||||||
|
"integrity": "sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==",
|
||||||
|
"requires": {
|
||||||
|
"core-js": "^2.5.7",
|
||||||
|
"regenerator-runtime": "^0.12.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"core-js": {
|
||||||
|
"version": "2.6.11",
|
||||||
|
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
|
||||||
|
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
|
||||||
|
},
|
||||||
|
"regenerator-runtime": {
|
||||||
|
"version": "0.12.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz",
|
||||||
|
"integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg=="
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"@babel/preset-env": {
|
"@babel/preset-env": {
|
||||||
"version": "7.11.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.11.0.tgz",
|
||||||
|
@ -1158,6 +1372,16 @@
|
||||||
"semver": "^5.5.0"
|
"semver": "^5.5.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
"semver": {
|
"semver": {
|
||||||
"version": "5.7.1",
|
"version": "5.7.1",
|
||||||
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
|
||||||
|
@ -1175,6 +1399,18 @@
|
||||||
"@babel/plugin-transform-dotall-regex": "^7.4.4",
|
"@babel/plugin-transform-dotall-regex": "^7.4.4",
|
||||||
"@babel/types": "^7.4.4",
|
"@babel/types": "^7.4.4",
|
||||||
"esutils": "^2.0.2"
|
"esutils": "^2.0.2"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"@babel/types": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
||||||
|
"requires": {
|
||||||
|
"@babel/helper-validator-identifier": "^7.10.4",
|
||||||
|
"lodash": "^4.17.19",
|
||||||
|
"to-fast-properties": "^2.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/preset-typescript": {
|
"@babel/preset-typescript": {
|
||||||
|
@ -1234,57 +1470,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@babel/traverse": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/code-frame": "^7.10.4",
|
|
||||||
"@babel/generator": "^7.11.0",
|
|
||||||
"@babel/helper-function-name": "^7.10.4",
|
|
||||||
"@babel/helper-split-export-declaration": "^7.11.0",
|
|
||||||
"@babel/parser": "^7.11.0",
|
|
||||||
"@babel/types": "^7.11.0",
|
|
||||||
"debug": "^4.1.0",
|
|
||||||
"globals": "^11.1.0",
|
|
||||||
"lodash": "^4.17.19"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"@babel/types": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/helper-validator-identifier": "^7.10.4",
|
|
||||||
"lodash": "^4.17.19",
|
|
||||||
"to-fast-properties": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"debug": {
|
|
||||||
"version": "4.1.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
|
||||||
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
|
||||||
"requires": {
|
|
||||||
"ms": "^2.1.1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"ms": {
|
|
||||||
"version": "2.1.2",
|
|
||||||
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
|
||||||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/types": {
|
|
||||||
"version": "7.11.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
|
||||||
"integrity": "sha512-O53yME4ZZI0jO1EVGtF1ePGl0LHirG4P1ibcD80XyzZcKhcMFeCXmh4Xb1ifGBIV233Qg12x4rBfQgA+tmOukA==",
|
|
||||||
"requires": {
|
|
||||||
"@babel/helper-validator-identifier": "^7.10.4",
|
|
||||||
"lodash": "^4.17.19",
|
|
||||||
"to-fast-properties": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@chenfengyuan/vue-qrcode": {
|
"@chenfengyuan/vue-qrcode": {
|
||||||
"version": "1.0.2",
|
"version": "1.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/@chenfengyuan/vue-qrcode/-/vue-qrcode-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/@chenfengyuan/vue-qrcode/-/vue-qrcode-1.0.2.tgz",
|
||||||
|
@ -1338,13 +1523,6 @@
|
||||||
"requires": {
|
"requires": {
|
||||||
"core-js": "^3.6.4",
|
"core-js": "^3.6.4",
|
||||||
"toastify-js": "^1.7.0"
|
"toastify-js": "^1.7.0"
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"toastify-js": {
|
|
||||||
"version": "1.9.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/toastify-js/-/toastify-js-1.9.0.tgz",
|
|
||||||
"integrity": "sha512-v+Y/EUtRNdwtORfIF4oJIZ2BJWTT27Y/83ccVwJLI+wjz+dsyrjdWzC6awhfLWu8KOnfky/ac5tB1sz60fy6sQ=="
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"@nextcloud/eslint-config": {
|
"@nextcloud/eslint-config": {
|
||||||
|
@ -1473,15 +1651,6 @@
|
||||||
"material-colors": "^1.0.0",
|
"material-colors": "^1.0.0",
|
||||||
"tinycolor2": "^1.1.2"
|
"tinycolor2": "^1.1.2"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"vue2-datepicker": {
|
|
||||||
"version": "3.6.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.6.1.tgz",
|
|
||||||
"integrity": "sha512-U6iQWSDsNoq/u6QJCtAMcyWlcZSx0rmPmqaJ8LQtGvwu9x12jXDoe3YNeG4y7E45OYAMLXs9WzGkDqDmNj3jkw==",
|
|
||||||
"requires": {
|
|
||||||
"date-fns": "^2.0.1",
|
|
||||||
"date-format-parse": "^0.2.5"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2222,6 +2391,23 @@
|
||||||
"resolve": "^1.12.0"
|
"resolve": "^1.12.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@babel/traverse": {
|
||||||
|
"version": "7.11.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.11.0.tgz",
|
||||||
|
"integrity": "sha512-ZB2V+LskoWKNpMq6E5UUCrjtDUh5IOTAyIl0dTjIEoXum/iKWkoIEKIRDnUucO6f+2FzNkE0oD4RLKoPIufDtg==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"@babel/code-frame": "^7.10.4",
|
||||||
|
"@babel/generator": "^7.11.0",
|
||||||
|
"@babel/helper-function-name": "^7.10.4",
|
||||||
|
"@babel/helper-split-export-declaration": "^7.11.0",
|
||||||
|
"@babel/parser": "^7.11.0",
|
||||||
|
"@babel/types": "^7.11.0",
|
||||||
|
"debug": "^4.1.0",
|
||||||
|
"globals": "^11.1.0",
|
||||||
|
"lodash": "^4.17.19"
|
||||||
|
}
|
||||||
|
},
|
||||||
"@babel/types": {
|
"@babel/types": {
|
||||||
"version": "7.11.0",
|
"version": "7.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/types/-/types-7.11.0.tgz",
|
||||||
|
@ -2232,6 +2418,21 @@
|
||||||
"lodash": "^4.17.19",
|
"lodash": "^4.17.19",
|
||||||
"to-fast-properties": "^2.0.0"
|
"to-fast-properties": "^2.0.0"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"debug": {
|
||||||
|
"version": "4.1.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
|
||||||
|
"integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"ms": "^2.1.1"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ms": {
|
||||||
|
"version": "2.1.2",
|
||||||
|
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
|
||||||
|
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||||
|
"dev": true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2269,6 +2470,23 @@
|
||||||
"schema-utils": "^2.6.5"
|
"schema-utils": "^2.6.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"babel-loader-exclude-node-modules-except": {
|
||||||
|
"version": "1.0.3",
|
||||||
|
"resolved": "https://registry.npmjs.org/babel-loader-exclude-node-modules-except/-/babel-loader-exclude-node-modules-except-1.0.3.tgz",
|
||||||
|
"integrity": "sha512-UEHoSzivswrRu3bb7UIVpY0g1kBnZvuU/2oXrRBhggjQOqW2HBCp6FsvuNc8ZupBUh+zClKxw8jxwuqZTSapwQ==",
|
||||||
|
"dev": true,
|
||||||
|
"requires": {
|
||||||
|
"escape-string-regexp": "2.0.0"
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"escape-string-regexp": {
|
||||||
|
"version": "2.0.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz",
|
||||||
|
"integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==",
|
||||||
|
"dev": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"babel-messages": {
|
"babel-messages": {
|
||||||
"version": "6.23.0",
|
"version": "6.23.0",
|
||||||
"resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz",
|
||||||
|
@ -2301,15 +2519,6 @@
|
||||||
"babel-template": "^6.24.1"
|
"babel-template": "^6.24.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"babel-plugin-transform-es2015-arrow-functions": {
|
|
||||||
"version": "6.22.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz",
|
|
||||||
"integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"babel-runtime": "^6.22.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"babel-runtime": {
|
"babel-runtime": {
|
||||||
"version": "6.26.0",
|
"version": "6.26.0",
|
||||||
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
"resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz",
|
||||||
|
@ -3642,15 +3851,6 @@
|
||||||
"vue-virtual-scroller": "^1.0.0-rc.2"
|
"vue-virtual-scroller": "^1.0.0-rc.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@babel/polyfill": {
|
|
||||||
"version": "7.2.5",
|
|
||||||
"resolved": "https://registry.npmjs.org/@babel/polyfill/-/polyfill-7.2.5.tgz",
|
|
||||||
"integrity": "sha512-8Y/t3MWThtMLYr0YNC/Q76tqN1w30+b0uQMeFUYauG2UGTR19zyUtFrAzT23zNtBxPp+LbE5E/nwV/q/r3y6ug==",
|
|
||||||
"requires": {
|
|
||||||
"core-js": "^2.5.7",
|
|
||||||
"regenerator-runtime": "^0.12.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"@babel/runtime": {
|
"@babel/runtime": {
|
||||||
"version": "7.3.4",
|
"version": "7.3.4",
|
||||||
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz",
|
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.4.tgz",
|
||||||
|
@ -3660,8 +3860,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"core-js": {
|
"core-js": {
|
||||||
"version": "2.6.11",
|
"version": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
|
||||||
"resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.11.tgz",
|
|
||||||
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
|
"integrity": "sha512-5wjnpaT/3dV+XB4borEsnAYQchn00XSgTAWKDkEqv+K8KevjbzmofK6hfJ9TZIlpj2N0xQpazy7PiRQiWHqzWg=="
|
||||||
},
|
},
|
||||||
"regenerator-runtime": {
|
"regenerator-runtime": {
|
||||||
|
@ -6836,15 +7035,6 @@
|
||||||
"vue-visible": "^1.0.2",
|
"vue-visible": "^1.0.2",
|
||||||
"vue2-datepicker": "^3.3.1"
|
"vue2-datepicker": "^3.3.1"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"vue2-datepicker": {
|
|
||||||
"version": "3.6.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.6.1.tgz",
|
|
||||||
"integrity": "sha512-U6iQWSDsNoq/u6QJCtAMcyWlcZSx0rmPmqaJ8LQtGvwu9x12jXDoe3YNeG4y7E45OYAMLXs9WzGkDqDmNj3jkw==",
|
|
||||||
"requires": {
|
|
||||||
"date-fns": "^2.0.1",
|
|
||||||
"date-format-parse": "^0.2.5"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -9151,6 +9341,11 @@
|
||||||
"repeat-string": "^1.6.1"
|
"repeat-string": "^1.6.1"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"toastify-js": {
|
||||||
|
"version": "1.9.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/toastify-js/-/toastify-js-1.9.0.tgz",
|
||||||
|
"integrity": "sha512-v+Y/EUtRNdwtORfIF4oJIZ2BJWTT27Y/83ccVwJLI+wjz+dsyrjdWzC6awhfLWu8KOnfky/ac5tB1sz60fy6sQ=="
|
||||||
|
},
|
||||||
"toposort": {
|
"toposort": {
|
||||||
"version": "2.0.2",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/toposort/-/toposort-2.0.2.tgz",
|
||||||
|
@ -9702,6 +9897,15 @@
|
||||||
"resolved": "https://registry.npmjs.org/vue-visible/-/vue-visible-1.0.2.tgz",
|
"resolved": "https://registry.npmjs.org/vue-visible/-/vue-visible-1.0.2.tgz",
|
||||||
"integrity": "sha512-yaX2its9XAJKGuQqf7LsiZHHSkxsIK8rmCOQOvEGEoF41blKRK8qr9my4qYoD6ikdLss4n8tKqYBecmaY0+WJg=="
|
"integrity": "sha512-yaX2its9XAJKGuQqf7LsiZHHSkxsIK8rmCOQOvEGEoF41blKRK8qr9my4qYoD6ikdLss4n8tKqYBecmaY0+WJg=="
|
||||||
},
|
},
|
||||||
|
"vue2-datepicker": {
|
||||||
|
"version": "3.6.1",
|
||||||
|
"resolved": "https://registry.npmjs.org/vue2-datepicker/-/vue2-datepicker-3.6.1.tgz",
|
||||||
|
"integrity": "sha512-U6iQWSDsNoq/u6QJCtAMcyWlcZSx0rmPmqaJ8LQtGvwu9x12jXDoe3YNeG4y7E45OYAMLXs9WzGkDqDmNj3jkw==",
|
||||||
|
"requires": {
|
||||||
|
"date-fns": "^2.0.1",
|
||||||
|
"date-format-parse": "^0.2.5"
|
||||||
|
}
|
||||||
|
},
|
||||||
"vuex": {
|
"vuex": {
|
||||||
"version": "3.5.1",
|
"version": "3.5.1",
|
||||||
"resolved": "https://registry.npmjs.org/vuex/-/vuex-3.5.1.tgz",
|
"resolved": "https://registry.npmjs.org/vuex/-/vuex-3.5.1.tgz",
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
"@nextcloud/eslint-plugin": "^1.4.0",
|
"@nextcloud/eslint-plugin": "^1.4.0",
|
||||||
"babel-eslint": "^10.1.0",
|
"babel-eslint": "^10.1.0",
|
||||||
"babel-loader": "^8.1.0",
|
"babel-loader": "^8.1.0",
|
||||||
"babel-plugin-transform-es2015-arrow-functions": "^6.22.0",
|
"babel-loader-exclude-node-modules-except": "^1.0.3",
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"css-loader": "^3.6.0",
|
"css-loader": "^3.6.0",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^6.8.0",
|
||||||
|
|
|
@ -52,7 +52,6 @@ module.exports = function(config) {
|
||||||
srcFiles: [
|
srcFiles: [
|
||||||
// only test these files, others are not ready and mess
|
// only test these files, others are not ready and mess
|
||||||
// up with the global namespace/classes/state
|
// up with the global namespace/classes/state
|
||||||
'apps/files_sharing/js/app.js',
|
|
||||||
'apps/files_sharing/js/dist/additionalScripts.js',
|
'apps/files_sharing/js/dist/additionalScripts.js',
|
||||||
'apps/files_sharing/js/dist/files_sharing_tab.js',
|
'apps/files_sharing/js/dist/files_sharing_tab.js',
|
||||||
'apps/files_sharing/js/dist/files_sharing.js',
|
'apps/files_sharing/js/dist/files_sharing.js',
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
/* eslint-disable camelcase */
|
/* eslint-disable camelcase */
|
||||||
const path = require('path')
|
|
||||||
const { merge } = require('webpack-merge')
|
const { merge } = require('webpack-merge')
|
||||||
const { VueLoaderPlugin } = require('vue-loader')
|
const { VueLoaderPlugin } = require('vue-loader')
|
||||||
|
const babelLoaderExcludeNodeModulesExcept = require('babel-loader-exclude-node-modules-except')
|
||||||
|
const path = require('path')
|
||||||
|
|
||||||
const accessibility = require('./apps/accessibility/webpack')
|
const accessibility = require('./apps/accessibility/webpack')
|
||||||
const comments = require('./apps/comments/webpack')
|
const comments = require('./apps/comments/webpack')
|
||||||
|
@ -85,7 +86,20 @@ module.exports = []
|
||||||
loader: 'babel-loader',
|
loader: 'babel-loader',
|
||||||
// automatically detect necessary packages to
|
// automatically detect necessary packages to
|
||||||
// transpile in the node_modules folder
|
// transpile in the node_modules folder
|
||||||
exclude: /node_modules(?!(\/|\\)(nextcloud-vue-collections|p-finally|p-limit|p-locate|p-queue|p-timeout|p-try|toastify-js|v-tooltip)(\/|\\))/,
|
exclude: babelLoaderExcludeNodeModulesExcept([
|
||||||
|
'nextcloud-vue-collections',
|
||||||
|
'p-finally',
|
||||||
|
'p-limit',
|
||||||
|
'p-locate',
|
||||||
|
'p-queue',
|
||||||
|
'p-timeout',
|
||||||
|
'p-try',
|
||||||
|
'toastify-js',
|
||||||
|
'v-tooltip',
|
||||||
|
'@nextcloud/dialogs',
|
||||||
|
'davclient.js',
|
||||||
|
'semver',
|
||||||
|
]),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(png|jpg|gif)$/,
|
test: /\.(png|jpg|gif)$/,
|
||||||
|
|
Loading…
Reference in New Issue