Use DOMContentLoaded and fix sharebymail loading issue

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
John Molakvoæ (skjnldsv) 2020-07-20 12:30:35 +02:00
parent b2e3466005
commit 6fcd075730
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
68 changed files with 4240 additions and 3676 deletions

View File

@ -1,3 +1,3 @@
// $(document).ready(function() { // window.addEventListener('DOMContentLoaded', function() {
// $('#selectPartStatForm').buttonset(); // $('#selectPartStatForm').buttonset();
// }); // });

View File

@ -25,7 +25,7 @@ OC.Encryption = _.extend(OC.Encryption || {}, {
); );
} }
}); });
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
// wait for other apps/extensions to register their event handlers and file actions // wait for other apps/extensions to register their event handlers and file actions
// in the "ready" clause // in the "ready" clause
_.defer(function() { _.defer(function() {

View File

@ -7,7 +7,7 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
$('input:button[name="enableRecoveryKey"]').click(function () { $('input:button[name="enableRecoveryKey"]').click(function () {

View File

@ -24,7 +24,7 @@ OC.Encryption = _.extend(OC.Encryption || {}, {
} }
}); });
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
// Trigger ajax on recoveryAdmin status change // Trigger ajax on recoveryAdmin status change
$('input:radio[name="userEnableRecovery"]').change( $('input:radio[name="userEnableRecovery"]').change(

View File

@ -1,4 +1,4 @@
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#fileSharingSettings input').change(function() { $('#fileSharingSettings input').change(function() {
var value = 'no'; var value = 'no';

View File

@ -1,4 +1,4 @@
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#fileSharingSettings button.pop-up').click(function() { $('#fileSharingSettings button.pop-up').click(function() {
var url = $(this).data('url'); var url = $(this).data('url');

View File

@ -135,7 +135,7 @@
})( jQuery ); })( jQuery );
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
$('#ocFederationSettings').ocFederationAddServer(); $('#ocFederationSettings').ocFederationAddServer();

View File

@ -331,7 +331,7 @@
}; };
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
// wait for other apps/extensions to register their event handlers and file actions // wait for other apps/extensions to register their event handlers and file actions
// in the "ready" clause // in the "ready" clause
_.defer(function() { _.defer(function() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,7 +9,7 @@
*/ */
// HACK: this piece needs to be loaded AFTER the files app (for unit tests) // HACK: this piece needs to be loaded AFTER the files app (for unit tests)
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
(function(OCA) { (function(OCA) {
/** /**
* @class OCA.Files.FavoritesFileList * @class OCA.Files.FavoritesFileList

View File

@ -648,7 +648,7 @@
return; return;
} }
if (!fileName) { if (!fileName && OCA.Files.Sidebar.close) {
OCA.Files.Sidebar.close() OCA.Files.Sidebar.close()
return return
} else if (typeof fileName !== 'string') { } else if (typeof fileName !== 'string') {
@ -3839,7 +3839,7 @@
OCA.Files.FileList = FileList; OCA.Files.FileList = FileList;
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
// FIXME: unused ? // FIXME: unused ?
OCA.Files.FileList.useUndo = (window.onbeforeunload)?true:false; OCA.Files.FileList.useUndo = (window.onbeforeunload)?true:false;
$(window).on('beforeunload', function () { $(window).on('beforeunload', function () {

View File

@ -9,7 +9,7 @@
*/ */
// HACK: this piece needs to be loaded AFTER the files app (for unit tests) // HACK: this piece needs to be loaded AFTER the files app (for unit tests)
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
(function (OCA) { (function (OCA) {
/** /**
* @class OCA.Files.RecentFileList * @class OCA.Files.RecentFileList

View File

@ -35,7 +35,7 @@ if (!window.OCA.Files) {
Object.assign(window.OCA.Files, { Settings: new Settings() }) Object.assign(window.OCA.Files, { Settings: new Settings() })
Object.assign(window.OCA.Files.Settings, { Setting }) Object.assign(window.OCA.Files.Settings, { Setting })
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', function() {
// Init Vue app // Init Vue app
// eslint-disable-next-line // eslint-disable-next-line
new Vue({ new Vue({

View File

@ -37,7 +37,7 @@ if (!window.OCA.Files) {
Object.assign(window.OCA.Files, { Sidebar: new Sidebar() }) Object.assign(window.OCA.Files, { Sidebar: new Sidebar() })
Object.assign(window.OCA.Files.Sidebar, { Tab }) Object.assign(window.OCA.Files.Sidebar, { Tab })
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', function() {
// Make sure we have a proper layout // Make sure we have a proper layout
if (document.getElementById('content')) { if (document.getElementById('content')) {

View File

@ -65,7 +65,7 @@ OCA.Files_External.App = {
} }
}; };
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#app-content-extstoragemounts').on('show', function(e) { $('#app-content-extstoragemounts').on('show', function(e) {
OCA.Files_External.App.initList($(e.target)); OCA.Files_External.App.initList($(e.target));
}); });

View File

@ -1,4 +1,4 @@
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
function displayGranted($tr) { function displayGranted($tr) {
$tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success'); $tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success');

View File

@ -1,4 +1,4 @@
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
function displayGranted($tr) { function displayGranted($tr) {
$tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success'); $tr.find('.configuration input.auth-param').attr('disabled', 'disabled').addClass('disabled-success');

View File

@ -1,4 +1,4 @@
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
OCA.Files_External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) { OCA.Files_External.Settings.mountConfig.whenSelectAuthMechanism(function($tr, authMechanism, scheme, onCompletion) {
if (scheme === 'publickey' && authMechanism === 'publickey::rsa') { if (scheme === 'publickey' && authMechanism === 'publickey::rsa') {

View File

@ -1295,7 +1295,7 @@ MountConfigListView.prototype = _.extend({
} }
}, OC.Backbone.Events); }, OC.Backbone.Events);
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
var enabled = $('#files_external').attr('data-encryption-enabled'); var enabled = $('#files_external').attr('data-encryption-enabled');
var encryptionEnabled = (enabled ==='true')? true: false; var encryptionEnabled = (enabled ==='true')? true: false;
var mountConfigListView = new MountConfigListView($('#externalStorage'), { var mountConfigListView = new MountConfigListView($('#externalStorage'), {

View File

@ -348,7 +348,7 @@ OCA.Sharing.App = {
}, },
} }
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#app-content-sharingin').on('show', function(e) { $('#app-content-sharingin').on('show', function(e) {
OCA.Sharing.App.initSharingIn($(e.target)) OCA.Sharing.App.initSharingIn($(e.target))
}) })

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

View File

@ -164,7 +164,7 @@
OCA.FilesSharingDrop = Drop; OCA.FilesSharingDrop = Drop;
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
if($('#upload-only-interface').val() === "1") { if($('#upload-only-interface').val() === "1") {
$('.avatardiv').avatar($('#sharingUserId').val(), 128, true); $('.avatardiv').avatar($('#sharingUserId').val(), 128, true);
} }

View File

@ -468,7 +468,7 @@ OCA.Sharing.PublicApp = {
} }
}; };
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
// FIXME: replace with OC.Plugins.register() // FIXME: replace with OC.Plugins.register()
if (window.TESTING) { if (window.TESTING) {
return; return;

View File

@ -20,7 +20,7 @@
* *
*/ */
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
var noteElmt = document.getElementById('notemenu') var noteElmt = document.getElementById('notemenu')
if (noteElmt) { if (noteElmt) {
var noteHtml = noteElmt.outerHTML var noteHtml = noteElmt.outerHTML

View File

@ -26,7 +26,9 @@
:class="isEmailShareType ? 'icon-mail-white' : 'icon-public-white'" :class="isEmailShareType ? 'icon-mail-white' : 'icon-public-white'"
class="sharing-entry__avatar" /> class="sharing-entry__avatar" />
<div class="sharing-entry__desc"> <div class="sharing-entry__desc">
<h5 :title="title">{{ title }}</h5> <h5 :title="title">
{{ title }}
</h5>
</div> </div>
<!-- clipboard --> <!-- clipboard -->
@ -410,7 +412,7 @@ export default {
} }
if (this.share.label && this.share.label.trim() !== '') { if (this.share.label && this.share.label.trim() !== '') {
return t('files_sharing', 'Share link ({label})', { return t('files_sharing', 'Share link ({label})', {
label: this.share.label.trim() label: this.share.label.trim(),
}) })
} }
if (this.isEmailShareType) { if (this.isEmailShareType) {

View File

@ -34,7 +34,7 @@ Object.assign(window.OCA.Sharing, { ShareSearch: new ShareSearch() })
Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() }) Object.assign(window.OCA.Sharing, { ExternalLinkActions: new ExternalLinkActions() })
Object.assign(window.OCA.Sharing, { ShareTabSections: new TabSections() }) Object.assign(window.OCA.Sharing, { ShareTabSections: new TabSections() })
window.addEventListener('DOMContentLoaded', () => { window.addEventListener('DOMContentLoaded', function() {
if (OCA.Files && OCA.Files.Sidebar) { if (OCA.Files && OCA.Files.Sidebar) {
OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab('sharing', SharingTab)) OCA.Files.Sidebar.registerTab(new OCA.Files.Sidebar.Tab('sharing', SharingTab))
} }

View File

@ -178,8 +178,11 @@ export default class Config {
* @memberof Config * @memberof Config
*/ */
get isMailShareAllowed() { get isMailShareAllowed() {
return OC.getCapabilities()['files_sharing']['sharebymail'] !== undefined const capabilities = OC.getCapabilities()
&& OC.getCapabilities()['files_sharing']['public']['enabled'] === true // eslint-disable-next-line camelcase
return capabilities?.files_sharing?.sharebymail !== undefined
// eslint-disable-next-line camelcase
&& capabilities?.files_sharing?.public?.enabled === true
} }
/** /**

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -126,7 +126,7 @@ OCA.Trashbin.App = {
}, },
} }
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#app-content-trashbin').one('show', function() { $('#app-content-trashbin').one('show', function() {
const App = OCA.Trashbin.App const App = OCA.Trashbin.App
App.initialize($('#app-content-trashbin')) App.initialize($('#app-content-trashbin'))

View File

@ -1,4 +1,4 @@
$(document).ready(function(){ window.addEventListener('DOMContentLoaded', function(){
$('#excludedGroups').each(function (index, element) { $('#excludedGroups').each(function (index, element) {
OC.Settings.setupGroupsSelect($(element)); OC.Settings.setupGroupsSelect($(element));
$(element).change(function(ev) { $(element).change(function(ev) {

View File

@ -75,7 +75,7 @@ OC.Log = {
} }
}; };
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
$('#moreLog').click(function () { $('#moreLog').click(function () {
OC.Log.getMore(); OC.Log.getMore();
}); });

View File

@ -10,7 +10,7 @@
* See the COPYING-README file. * See the COPYING-README file.
*/ */
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
if($('#pass2').length) { if($('#pass2').length) {
$('#pass2').showPassword().keyup(); $('#pass2').showPassword().keyup();
} }

View File

@ -141,7 +141,7 @@ function avatarResponseHandler (data) {
} }
} }
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
if($('#pass2').length) { if($('#pass2').length) {
$('#pass2').showPassword().keyup(); $('#pass2').showPassword().keyup();
} }

View File

@ -542,7 +542,7 @@ __webpack_require__.r(__webpack_exports__);
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue */ "./node_modules/@nextcloud/vue/dist/ncvuecomponents.js"); /* harmony import */ var _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/vue */ "./node_modules/@nextcloud/vue/dist/ncvuecomponents.js");
/* harmony import */ var _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__); /* harmony import */ var _nextcloud_vue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_vue__WEBPACK_IMPORTED_MODULE_0__);
/* harmony import */ var marked__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! marked */ "./node_modules/marked/src/marked.js"); /* harmony import */ var marked__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! marked */ "./node_modules/marked/lib/marked.js");
/* harmony import */ var marked__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(marked__WEBPACK_IMPORTED_MODULE_1__); /* harmony import */ var marked__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(marked__WEBPACK_IMPORTED_MODULE_1__);
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! dompurify */ "./node_modules/dompurify/dist/purify.js"); /* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! dompurify */ "./node_modules/dompurify/dist/purify.js");
/* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_2__); /* harmony import */ var dompurify__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(dompurify__WEBPACK_IMPORTED_MODULE_2__);
@ -755,7 +755,8 @@ __webpack_require__.r(__webpack_exports__);
props: ['category', 'app'], props: ['category', 'app'],
data: function data() { data: function data() {
return { return {
groupCheckedAppsData: false groupCheckedAppsData: false,
screenshotLoaded: false
}; };
}, },
computed: { computed: {
@ -857,9 +858,21 @@ __webpack_require__.r(__webpack_exports__);
} }
}, },
mounted: function mounted() { mounted: function mounted() {
var _this = this;
if (this.app.groups.length > 0) { if (this.app.groups.length > 0) {
this.groupCheckedAppsData = true; this.groupCheckedAppsData = true;
} }
if (this.app.screenshot) {
var image = new Image();
image.onload = function (e) {
_this.screenshotLoaded = true;
};
image.src = this.app.screenshot;
}
} }
}); });
@ -1309,7 +1322,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
data: function data() { data: function data() {
return { return {
isSelected: false, isSelected: false,
scrolled: false scrolled: false,
screenshotLoaded: false
}; };
}, },
computed: { computed: {
@ -1323,12 +1337,24 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
} }
}, },
mounted: function mounted() { mounted: function mounted() {
var _this = this;
this.isSelected = this.app.id === this.$route.params.id; this.isSelected = this.app.id === this.$route.params.id;
if (this.app.screenshot) {
var image = new Image();
image.onload = function (e) {
_this.screenshotLoaded = true;
};
image.src = this.app.screenshot;
}
}, },
watchers: {}, watchers: {},
methods: { methods: {
showAppDetails: function showAppDetails(event) { showAppDetails: function showAppDetails(event) {
var _this = this; var _this2 = this;
return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() { return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee() {
return regeneratorRuntime.wrap(function _callee$(_context) { return regeneratorRuntime.wrap(function _callee$(_context) {
@ -1345,11 +1371,11 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
case 2: case 2:
_context.prev = 2; _context.prev = 2;
_context.next = 5; _context.next = 5;
return _this.$router.push({ return _this2.$router.push({
name: 'apps-details', name: 'apps-details',
params: { params: {
category: _this.category, category: _this2.category,
id: _this.app.id id: _this2.app.id
} }
}); });
@ -1386,6 +1412,8 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/router */ "./node_modules/@nextcloud/router/dist/index.js");
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_router__WEBPACK_IMPORTED_MODULE_0__);
// //
// //
// //
@ -1411,6 +1439,7 @@ __webpack_require__.r(__webpack_exports__);
// //
// //
// //
/* harmony default export */ __webpack_exports__["default"] = ({ /* harmony default export */ __webpack_exports__["default"] = ({
name: 'AppScore', name: 'AppScore',
props: ['score'], props: ['score'],
@ -1418,7 +1447,7 @@ __webpack_require__.r(__webpack_exports__);
scoreImage: function scoreImage() { scoreImage: function scoreImage() {
var score = Math.round(this.score * 10); var score = Math.round(this.score * 10);
var imageName = 'rating/s' + score + '.svg'; var imageName = 'rating/s' + score + '.svg';
return OC.imagePath('core', imageName); return Object(_nextcloud_router__WEBPACK_IMPORTED_MODULE_0__["imagePath"])('core', imageName);
} }
} }
}); });
@ -2046,7 +2075,7 @@ var render = function() {
_vm._v("\n\t\t" + _vm._s(_vm.app.name) + "\n\t") _vm._v("\n\t\t" + _vm._s(_vm.app.name) + "\n\t")
]), ]),
_vm._v(" "), _vm._v(" "),
_vm.app.screenshot _vm.screenshotLoaded
? _c("img", { attrs: { src: _vm.app.screenshot, width: "100%" } }) ? _c("img", { attrs: { src: _vm.app.screenshot, width: "100%" } })
: _vm._e(), : _vm._e(),
_vm._v(" "), _vm._v(" "),
@ -2780,11 +2809,9 @@ var render = function() {
}, },
[ [
(_vm.listView && !_vm.app.preview) || (_vm.listView && !_vm.app.preview) ||
(!_vm.listView && !_vm.app.screenshot) (!_vm.listView && !_vm.screenshotLoaded)
? _c("div", { staticClass: "icon-settings-dark" }) ? _c("div", { staticClass: "icon-settings-dark" })
: _vm._e(), : _vm.listView && _vm.app.preview
_vm._v(" "),
_vm.listView && _vm.app.preview
? _c( ? _c(
"svg", "svg",
{ attrs: { width: "32", height: "32", viewBox: "0 0 32 32" } }, { attrs: { width: "32", height: "32", viewBox: "0 0 32 32" } },
@ -2822,7 +2849,7 @@ var render = function() {
) )
: _vm._e(), : _vm._e(),
_vm._v(" "), _vm._v(" "),
!_vm.listView && _vm.app.screenshot !_vm.listView && _vm.app.screenshot && _vm.screenshotLoaded
? _c("img", { attrs: { src: _vm.app.screenshot, width: "100%" } }) ? _c("img", { attrs: { src: _vm.app.screenshot, width: "100%" } })
: _vm._e() : _vm._e()
] ]
@ -3293,4 +3320,4 @@ if(false) {}
/***/ }) /***/ })
}]); }]);
//# sourceMappingURL=vue-1.js.map?v=f671351ac5c0180e8d96 //# sourceMappingURL=vue-1.js.map?v=555ba5a3156287837e37

File diff suppressed because one or more lines are too long

View File

@ -183,9 +183,9 @@ __webpack_require__.r(__webpack_exports__);
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _UserRowSimple_vue_vue_type_template_id_ff154a08_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true&"); /* harmony import */ var _UserRowSimple_vue_vue_type_template_id_ff154a08___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=template&id=ff154a08& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&");
/* harmony import */ var _UserRowSimple_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=script&lang=js& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=script&lang=js&"); /* harmony import */ var _UserRowSimple_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=script&lang=js& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=script&lang=js&");
/* empty/unused harmony star reexport *//* harmony import */ var _UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&scoped=true&lang=scss& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&scoped=true&lang=scss&"); /* empty/unused harmony star reexport *//* harmony import */ var _UserRowSimple_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./UserRowSimple.vue?vue&type=style&index=0&lang=scss& */ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&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"); /* 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");
@ -197,11 +197,11 @@ __webpack_require__.r(__webpack_exports__);
var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])( var component = Object(_node_modules_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__["default"])(
_UserRowSimple_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"], _UserRowSimple_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__["default"],
_UserRowSimple_vue_vue_type_template_id_ff154a08_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"], _UserRowSimple_vue_vue_type_template_id_ff154a08___WEBPACK_IMPORTED_MODULE_0__["render"],
_UserRowSimple_vue_vue_type_template_id_ff154a08_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"], _UserRowSimple_vue_vue_type_template_id_ff154a08___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"],
false, false,
null, null,
"ff154a08", null,
null null
) )
@ -227,35 +227,35 @@ __webpack_require__.r(__webpack_exports__);
/***/ }), /***/ }),
/***/ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&scoped=true&lang=scss&": /***/ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&lang=scss&":
/*!***************************************************************************************************************************!*\ /*!***************************************************************************************************!*\
!*** ./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&scoped=true&lang=scss& ***! !*** ./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&lang=scss& ***!
\***************************************************************************************************************************/ \***************************************************************************************************/
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_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!./UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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_UserRowSimple_vue_vue_type_style_index_0_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!./UserRowSimple.vue?vue&type=style&index=0&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__); /* 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_UserRowSimple_vue_vue_type_style_index_0_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_UserRowSimple_vue_vue_type_style_index_0_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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /* 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_UserRowSimple_vue_vue_type_style_index_0_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_UserRowSimple_vue_vue_type_style_index_0_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_UserRowSimple_vue_vue_type_style_index_0_id_ff154a08_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a); /* 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_UserRowSimple_vue_vue_type_style_index_0_lang_scss___WEBPACK_IMPORTED_MODULE_0___default.a);
/***/ }), /***/ }),
/***/ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true&": /***/ "./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&":
/*!************************************************************************************************************!*\ /*!************************************************************************************************!*\
!*** ./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true& ***! !*** ./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08& ***!
\************************************************************************************************************/ \************************************************************************************************/
/*! exports provided: render, staticRenderFns */ /*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __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_UserRowSimple_vue_vue_type_template_id_ff154a08_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!./UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true&"); /* harmony import */ var _node_modules_vue_loader_lib_loaders_templateLoader_js_vue_loader_options_node_modules_vue_loader_lib_index_js_vue_loader_options_UserRowSimple_vue_vue_type_template_id_ff154a08___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!./UserRowSimple.vue?vue&type=template&id=ff154a08& */ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&");
/* 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_UserRowSimple_vue_vue_type_template_id_ff154a08_scoped_true___WEBPACK_IMPORTED_MODULE_0__["render"]; }); /* 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_UserRowSimple_vue_vue_type_template_id_ff154a08___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_UserRowSimple_vue_vue_type_template_id_ff154a08_scoped_true___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; }); /* 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_UserRowSimple_vue_vue_type_template_id_ff154a08___WEBPACK_IMPORTED_MODULE_0__["staticRenderFns"]; });
@ -270,6 +270,8 @@ __webpack_require__.r(__webpack_exports__);
"use strict"; "use strict";
__webpack_require__.r(__webpack_exports__); __webpack_require__.r(__webpack_exports__);
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! @nextcloud/router */ "./node_modules/@nextcloud/router/dist/index.js");
/* harmony import */ var _nextcloud_router__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_nextcloud_router__WEBPACK_IMPORTED_MODULE_0__);
function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); } function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
/** /**
@ -293,6 +295,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
/* harmony default export */ __webpack_exports__["default"] = ({ /* harmony default export */ __webpack_exports__["default"] = ({
props: { props: {
user: { user: {
@ -470,7 +473,7 @@ function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "functi
*/ */
generateAvatar: function generateAvatar(user) { generateAvatar: function generateAvatar(user) {
var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 32; var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 32;
return OC.generateUrl('/avatar/{user}/{size}?v={version}', { return Object(_nextcloud_router__WEBPACK_IMPORTED_MODULE_0__["generateUrl"])('/avatar/{user}/{size}?v={version}', {
user: user, user: user,
size: size, size: size,
version: oc_userconfig.avatar.version version: oc_userconfig.avatar.version
@ -2680,7 +2683,7 @@ vue__WEBPACK_IMPORTED_MODULE_12__["default"].use(vue_localstorage__WEBPACK_IMPOR
_context.prev = 0; _context.prev = 0;
_this.loadingSendMail = true; _this.loadingSendMail = true;
_this.$store.commit('setServerData', _objectSpread({}, _this.settings, { _this.$store.commit('setServerData', _objectSpread(_objectSpread({}, _this.settings), {}, {
newUserSendEmail: value newUserSendEmail: value
})); }));
@ -2979,10 +2982,10 @@ module.exports = exports;
/***/ }), /***/ }),
/***/ "./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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&lang=scss& ***!
\*******************************************************************************************************************************************************************************************************************************************************************************************************************/ \*******************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
@ -2990,7 +2993,7 @@ module.exports = exports;
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../../node_modules/css-loader/dist/runtime/api.js */ "./node_modules/css-loader/dist/runtime/api.js"); 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); exports = ___CSS_LOADER_API_IMPORT___(false);
// Module // Module
exports.push([module.i, ".cellText[data-v-ff154a08] {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.icon-more[data-v-ff154a08] {\n background-color: var(--color-main-background);\n background-image: var(--icon-more-000);\n border: 0;\n}\n.button[data-v-ff154a08]:focus {\n background-color: var(--color-background-dark);\n}\n", ""]); exports.push([module.i, ".cellText {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.icon-more {\n background-color: var(--color-main-background);\n border: 0;\n}\n", ""]);
// Exports // Exports
module.exports = exports; module.exports = exports;
@ -4097,10 +4100,10 @@ render._withStripped = true
/***/ }), /***/ }),
/***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true&": /***/ "./node_modules/vue-loader/lib/loaders/templateLoader.js?!./node_modules/vue-loader/lib/index.js?!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&":
/*!******************************************************************************************************************************************************************************************************************************************!*\ /*!******************************************************************************************************************************************************************************************************************************!*\
!*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08&scoped=true& ***! !*** ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./apps/settings/src/components/UserList/UserRowSimple.vue?vue&type=template&id=ff154a08& ***!
\******************************************************************************************************************************************************************************************************************************************/ \******************************************************************************************************************************************************************************************************************************/
/*! exports provided: render, staticRenderFns */ /*! exports provided: render, staticRenderFns */
/***/ (function(module, __webpack_exports__, __webpack_require__) { /***/ (function(module, __webpack_exports__, __webpack_require__) {
@ -4319,7 +4322,7 @@ var render = function() {
expression: "hideMenu" expression: "hideMenu"
} }
], ],
staticClass: "button icon-more", staticClass: "icon-more",
attrs: { attrs: {
"aria-label": _vm.t( "aria-label": _vm.t(
"settings", "settings",
@ -4911,22 +4914,22 @@ if(false) {}
/***/ }), /***/ }),
/***/ "./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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&lang=scss& ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************/ \***************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! no static exports found */ /*! no static exports found */
/***/ (function(module, exports, __webpack_require__) { /***/ (function(module, exports, __webpack_require__) {
// style-loader: Adds some css to the DOM by adding a <style> tag // style-loader: Adds some css to the DOM by adding a <style> tag
// load the styles // 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!./UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&id=ff154a08&scoped=true&lang=scss&"); 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!./UserRowSimple.vue?vue&type=style&index=0&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/settings/src/components/UserList/UserRowSimple.vue?vue&type=style&index=0&lang=scss&");
if(typeof content === 'string') content = [[module.i, content, '']]; if(typeof content === 'string') content = [[module.i, content, '']];
if(content.locals) module.exports = content.locals; if(content.locals) module.exports = content.locals;
// add the styles to the DOM // 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 add = __webpack_require__(/*! ../../../../../node_modules/vue-style-loader/lib/addStylesClient.js */ "./node_modules/vue-style-loader/lib/addStylesClient.js").default
var update = add("a92e00f8", content, false, {}); var update = add("2808c78e", content, false, {});
// Hot Module Replacement // Hot Module Replacement
if(false) {} if(false) {}
@ -4975,4 +4978,4 @@ if(false) {}
/***/ }) /***/ })
}]); }]);
//# sourceMappingURL=vue-2.js.map?v=fa17dee2a970df950ae4 //# sourceMappingURL=vue-2.js.map?v=888f47793ecddf751d7a

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

View File

@ -178,7 +178,7 @@
}; };
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
OCA.SystemTags.Admin.init(); OCA.SystemTags.Admin.init();
}); });

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -102,7 +102,7 @@
})() })()
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('#app-content-systemtagsfilter').on('show', function(e) { $('#app-content-systemtagsfilter').on('show', function(e) {
OCA.SystemTags.App.initFileList($(e.target)) OCA.SystemTags.App.initFileList($(e.target))
}) })

View File

@ -103,7 +103,7 @@ function hideUndoButton(setting, value) {
} }
} }
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
$('#theming [data-toggle="tooltip"]').tooltip(); $('#theming [data-toggle="tooltip"]').tooltip();
// manually instantiate jscolor to work around new Function call which violates strict CSP // manually instantiate jscolor to work around new Function call which violates strict CSP

View File

@ -13,7 +13,7 @@
/** /**
* This only gets loaded if an update is available and the notifications app is not enabled for the user. * This only gets loaded if an update is available and the notifications app is not enabled for the user.
*/ */
$(document).ready(function(){ window.addEventListener('DOMContentLoaded', function(){
var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}), var text = t('core', '{version} is available. Get more information on how to update.', {version: oc_updateState.updateVersion}),
element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text); element = $('<a>').attr('href', oc_updateState.updateLink).attr('target','_blank').text(text);

View File

@ -30,7 +30,7 @@ OCA.LDAP = _.extend(OC.LDAP || {}, {
}, },
}); });
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('form[name=renewpassword]').submit(OCA.LDAP.onRenewPassword); $('form[name=renewpassword]').submit(OCA.LDAP.onRenewPassword);
if($('#newPassword').length) { if($('#newPassword').length) {

View File

@ -75,6 +75,6 @@ OCA = OCA || {};
OCA.LDAP.Wizard.Wizard = Wizard; OCA.LDAP.Wizard.Wizard = Wizard;
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
new OCA.LDAP.Wizard.Wizard(); new OCA.LDAP.Wizard.Wizard();
}); });

View File

@ -20,7 +20,7 @@
*/ */
// start worker once page has loaded // start worker once page has loaded
$(document).ready(function(){ window.addEventListener('DOMContentLoaded', function(){
$.get( OC.getRootPath()+'/cron.php' ); $.get( OC.getRootPath()+'/cron.php' );
$('.section .icon-info').tooltip({ $('.section .icon-info').tooltip({

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

View File

@ -20,7 +20,7 @@
* *
*/ */
$(document).ready(function () { window.addEventListener('DOMContentLoaded', function () {
$('#body-public').find('.header-right .menutoggle').click(function() { $('#body-public').find('.header-right .menutoggle').click(function() {
$(this).next('.popovermenu').toggleClass('open'); $(this).next('.popovermenu').toggleClass('open');

View File

@ -145,7 +145,7 @@
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
$('.updateButton').on('click', function() { $('.updateButton').on('click', function() {
var $updateEl = $('.update'); var $updateEl = $('.update');
var $progressEl = $('.update-progress'); var $progressEl = $('.update-progress');

View File

@ -410,7 +410,7 @@
OCA.Search.Core = Search; OCA.Search.Core = Search;
})(); })();
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
var $searchResults = $('#searchresults'); var $searchResults = $('#searchresults');
var $searchBox = $('#searchbox'); var $searchBox = $('#searchbox');
if ($searchResults.length > 0 && $searchBox.length > 0) { if ($searchResults.length > 0 && $searchBox.length > 0) {

View File

@ -20,7 +20,7 @@
*/ */
import { import {
getRootUrl as realGetRootUrl getRootUrl as realGetRootUrl,
} from '@nextcloud/router' } from '@nextcloud/router'
/** /**

View File

@ -30,10 +30,10 @@
</fieldset> </fieldset>
</form> </form>
<div v-else-if="!hasPublicKeyCredential"> <div v-else-if="!hasPublicKeyCredential">
{{ t('core', 'Passwordless authentication is not supported in your browser.')}} {{ t('core', 'Passwordless authentication is not supported in your browser.') }}
</div> </div>
<div v-else-if="!isHttps"> <div v-else-if="!isHttps">
{{ t('core', 'Passwordless authentication is only available over a secure connection.')}} {{ t('core', 'Passwordless authentication is only available over a secure connection.') }}
</div> </div>
</template> </template>
@ -76,7 +76,7 @@ export default {
hasPublicKeyCredential: { hasPublicKeyCredential: {
type: Boolean, type: Boolean,
default: false, default: false,
} },
}, },
data() { data() {
return { return {

View File

@ -10,7 +10,7 @@ import 'jquery-ui/themes/base/button.css'
import 'strengthify' import 'strengthify'
import 'strengthify/strengthify.css' import 'strengthify/strengthify.css'
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
const dbtypes = { const dbtypes = {
sqlite: !!$('#hasSQLite').val(), sqlite: !!$('#hasSQLite').val(),
mysql: !!$('#hasMySQL').val(), mysql: !!$('#hasMySQL').val(),

View File

@ -33,7 +33,7 @@ import './jquery/index'
import { initCore } from './init' import { initCore } from './init'
import { registerAppsSlideToggle } from './OC/apps' import { registerAppsSlideToggle } from './OC/apps'
$(document).ready(function() { window.addEventListener('DOMContentLoaded', function() {
initCore() initCore()
registerAppsSlideToggle() registerAppsSlideToggle()