\r\n \r\n \r\n \r\n \r\n {{ contenido_mensaje }}\r\n \r\n \r\n
\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cargando.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Cargando.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Cargando.vue?vue&type=template&id=081de51a&\"\nimport script from \"./Cargando.vue?vue&type=script&lang=js&\"\nexport * from \"./Cargando.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\nexport default component.exports","import { clearSelection } from '../utils/selection.js'\n\nexport default {\n props: {\n target: {\n type: [Boolean, String],\n default: true\n },\n contextMenu: Boolean\n },\n\n watch: {\n contextMenu (val) {\n if (this.anchorEl !== void 0) {\n this.__unconfigureAnchorEl(!val)\n this.__configureAnchorEl(val)\n }\n },\n\n target () {\n if (this.anchorEl !== void 0) {\n this.__unconfigureAnchorEl()\n }\n\n this.__pickAnchorEl()\n }\n },\n\n methods: {\n __showCondition (evt) {\n // abort with no parent configured or on multi-touch\n return !(this.anchorEl === void 0 || (evt !== void 0 && evt.touches !== void 0 && evt.touches.length > 1))\n },\n\n __contextClick (evt) {\n this.hide(evt)\n this.show(evt)\n },\n\n __toggleKey (evt) {\n if (evt.keyCode === 13) {\n this.toggle(evt)\n }\n },\n\n __mobileTouch (evt) {\n this.__mobileCleanup()\n if (evt && evt.touches && evt.touches.length > 1) {\n return\n }\n this.hide(evt)\n this.anchorEl.classList.add('non-selectable')\n clearSelection()\n this.touchTimer = setTimeout(() => {\n this.__mobileCleanup()\n this.touchTimer = setTimeout(() => {\n this.show(evt)\n }, 10)\n }, 300)\n },\n\n __mobileCleanup () {\n this.anchorEl.classList.remove('non-selectable')\n clearTimeout(this.touchTimer)\n },\n\n __unconfigureAnchorEl (context = this.contextMenu) {\n if (context === true) {\n if (this.$q.platform.is.mobile) {\n this.anchorEl.removeEventListener('touchstart', this.__mobileTouch)\n ;['touchcancel', 'touchmove', 'touchend'].forEach(evt => {\n this.anchorEl.removeEventListener(evt, this.__mobileCleanup)\n })\n }\n else {\n this.anchorEl.removeEventListener('click', this.hide)\n this.anchorEl.removeEventListener('contextmenu', this.__contextClick)\n }\n }\n else {\n this.anchorEl.removeEventListener('click', this.toggle)\n this.anchorEl.removeEventListener('keyup', this.__toggleKey)\n }\n },\n\n __configureAnchorEl (context = this.contextMenu) {\n if (this.noParentEvent === true) { return }\n\n if (context === true) {\n if (this.$q.platform.is.mobile) {\n this.anchorEl.addEventListener('touchstart', this.__mobileTouch)\n ;['touchcancel', 'touchmove', 'touchend'].forEach(evt => {\n this.anchorEl.addEventListener(evt, this.__mobileCleanup)\n })\n }\n else {\n this.anchorEl.addEventListener('click', this.hide)\n this.anchorEl.addEventListener('contextmenu', this.__contextClick)\n }\n }\n else {\n this.anchorEl.addEventListener('click', this.toggle)\n this.anchorEl.addEventListener('keyup', this.__toggleKey)\n }\n },\n\n __setAnchorEl (el) {\n this.anchorEl = el\n while (this.anchorEl.classList.contains('q-anchor--skip')) {\n this.anchorEl = this.anchorEl.parentNode\n }\n this.__configureAnchorEl()\n },\n\n __pickAnchorEl () {\n if (this.target && typeof this.target === 'string') {\n const el = document.querySelector(this.target)\n if (el !== null) {\n this.anchorEl = el\n this.__configureAnchorEl()\n }\n else {\n this.anchorEl = void 0\n console.error(`Anchor: target \"${this.target}\" not found`, this)\n }\n }\n else if (this.target !== false) {\n this.__setAnchorEl(this.parentEl)\n }\n else {\n this.anchorEl = void 0\n }\n }\n },\n\n mounted () {\n this.parentEl = this.$el.parentNode\n\n this.$nextTick(() => {\n this.__pickAnchorEl()\n\n if (this.value === true) {\n if (this.anchorEl === void 0) {\n this.$emit('input', false)\n }\n else {\n this.show()\n }\n }\n })\n },\n\n beforeDestroy () {\n clearTimeout(this.touchTimer)\n this.__anchorCleanup !== void 0 && this.__anchorCleanup()\n\n if (this.anchorEl !== void 0) {\n this.__unconfigureAnchorEl()\n }\n }\n}\n"],"sourceRoot":""}