nextcloud/apps/settings/js/vue-editor-guest.js.map

1 line
10 KiB
Plaintext

{"version":3,"file":"vue-editor-guest.js?v=33f8317f810f63e13a76","sources":["webpack:///./apps/text/src/components/GuestNameDialog.vue","webpack:///./apps/text/src/components/GuestNameDialog.vue?ac98","webpack:///./apps/text/src/components/GuestNameDialog.vue?6755","webpack:///./apps/text/src/components/GuestNameDialog.vue?41ab","webpack:///./apps/text/src/components/GuestNameDialog.vue?14d7","webpack:///./apps/text/src/components/GuestNameDialog.vue?b50a","webpack:///./apps/text/src/components/GuestNameDialog.vue?1482","webpack:///./apps/text/src/components/GuestNameDialog.vue?02a2"],"sourcesContent":["import { render, staticRenderFns } from \"./GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&\"\nimport script from \"./GuestNameDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./GuestNameDialog.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&\"\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 \"0eec23a0\",\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('0eec23a0')) {\n api.createRecord('0eec23a0', component.options)\n } else {\n api.reload('0eec23a0', component.options)\n }\n module.hot.accept(\"./GuestNameDialog.vue?vue&type=template&id=0eec23a0&scoped=true&\", function () {\n api.rerender('0eec23a0', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"apps/text/src/components/GuestNameDialog.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!./GuestNameDialog.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!./GuestNameDialog.vue?vue&type=script&lang=js&\"","import mod from \"-!../../../../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&\"; export default mod; export * from \"-!../../../../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&\"","export * from \"-!../../../../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&\"","//\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 Tooltip from '@nextcloud/vue/dist/Directives/Tooltip';\nimport Avatar from '@nextcloud/vue/dist/Components/Avatar';\nexport default {\n name: 'GuestNameDialog',\n components: {\n Avatar: Avatar\n },\n directives: {\n tooltip: Tooltip\n },\n props: {\n syncService: {\n type: Object,\n default: null\n }\n },\n data: function data() {\n return {\n guestName: '',\n guestNameBuffered: ''\n };\n },\n computed: {\n avatarUrl: function avatarUrl() {\n var size = 32;\n var avatarUrl = OC.generateUrl('/avatar/guest/{user}/{size}', {\n user: this.guestNameBuffered,\n size: size\n });\n return window.location.protocol + '//' + window.location.host + avatarUrl;\n }\n },\n beforeMount: function beforeMount() {\n this.guestName = this.syncService.session.guestName;\n this.updateBufferedGuestName();\n },\n methods: {\n setGuestName: function setGuestName() {\n var _this = this;\n\n var previousGuestName = this.syncService.session.guestName;\n this.syncService.updateSession(this.guestName).then(function () {\n localStorage.setItem('nick', _this.guestName);\n\n _this.updateBufferedGuestName();\n }).catch(function (e) {\n _this.guestName = previousGuestName;\n });\n },\n updateBufferedGuestName: function updateBufferedGuestName() {\n this.guestNameBuffered = this.guestName;\n }\n }\n};","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \"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\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"form\",\n {\n directives: [\n {\n name: \"tooltip\",\n rawName: \"v-tooltip\",\n value: _vm.t(\n \"text\",\n \"Enter your name so other users can see who is editing\"\n ),\n expression:\n \"t('text', 'Enter your name so other users can see who is editing')\"\n }\n ],\n staticClass: \"guest-name-dialog\",\n on: {\n submit: function($event) {\n $event.preventDefault()\n return _vm.setGuestName()\n }\n }\n },\n [\n _c(\n \"label\",\n [\n _c(\"Avatar\", {\n attrs: { url: _vm.avatarUrl, \"disable-tooltip\": true, size: 32 }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"input\", {\n directives: [\n {\n name: \"model\",\n rawName: \"v-model\",\n value: _vm.guestName,\n expression: \"guestName\"\n }\n ],\n attrs: { type: \"text\", \"aria-label\": _vm.t(\"text\", \"Edit guest name\") },\n domProps: { value: _vm.guestName },\n on: {\n input: function($event) {\n if ($event.target.composing) {\n return\n }\n _vm.guestName = $event.target.value\n }\n }\n }),\n _vm._v(\" \"),\n _c(\"input\", {\n staticClass: \"icon-confirm\",\n attrs: {\n type: \"submit\",\n \"aria-label\": _vm.t(\"text\", \"Save guest name\")\n }\n })\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = 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/index.js??vue-loader-options!./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"842bd5d8\", content, false, {});\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!../../../../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&\", function() {\n var newContent = 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/index.js??vue-loader-options!./GuestNameDialog.vue?vue&type=style&index=0&id=0eec23a0&scoped=true&lang=scss&\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}"],"mappings":";;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAiBA;AACA;AACA;;;;;;;;;;;;ACvCA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;;;;;;;;;;;ACAA;AAAA;AAAA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;;;;;;;;;ACNA;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;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;;;;;;;;;;;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;A","sourceRoot":""}