{"version":3,"sources":["webpack:///../../../src/components/VDialog/VDialog.ts","webpack:///./src/components/dialogs/RemoveAccountDialog.vue","webpack:///./src/components/dialogs/RemoveAccountDialog.vue?fd3e","webpack:///./src/components/dialogs/RemoveAccountDialog.vue?04fb","webpack:///./src/components/dialogs/RemoveAccountDialog.vue?5e74","webpack:///../../../src/components/VCard/index.ts","webpack:///./src/components/dialogs/RemoveAccountDialog.vue?83fd"],"names":["baseMixins","mixins","Dependent","Detachable","Overlayable","Returnable","Stackable","Activatable","extend","name","directives","ClickOutside","props","dark","Boolean","disabled","fullscreen","light","maxWidth","String","Number","noClickAnimation","origin","type","default","persistent","retainFocus","scrollable","transition","width","data","activatedBy","animate","animateTimeout","stackMinZIndex","previousActiveElement","computed","classes","this","contentClass","trim","isActive","contentClasses","hasActivator","$slots","activator","$scopedSlots","watch","val","show","hideScroll","removeOverlay","unbind","_a","focus","showScroll","genOverlay","created","$attrs","hasOwnProperty","removed","beforeMount","$nextTick","isBooted","beforeDestroy","window","methods","animateClick","clearTimeout","setTimeout","closeConditional","e","target","_isDestroyed","$refs","content","contains","overlay","$el","activeZIndex","getMaxZIndex","document","documentElement","classList","add","options","call","hideOverlay","dialog","activeElement","_b","bind","addEventListener","onFocusin","removeEventListener","onClickOutside","$emit","onKeydown","keyCode","keyCodes","esc","getOpenDependents","length","getActivator","includes","getOpenDependentElements","some","el","focusable","querySelectorAll","find","hasAttribute","matches","genContent","showLazyContent","$createElement","VThemeProvider","root","class","attrs","role","undefined","getScopeIdAttrs","on","keydown","style","zIndex","ref","genTransition","genInnerContent","appear","tabindex","value","handler","include","transformOrigin","convertToUnit","getContentSlot","render","h","staticClass","attach","genActivator","_vm","callback","removing","expression","_c","_v","model","$$v","confirmRemove","key","scopedSlots","fn","removeAccount","_e","staticRenderFns","AccountDetailsTable","then","m","Vue","components","getSelectedAccount","$store","state","context","selectedAccount","removeLoading","closeLog","personId","console","log","userId","$vStore","dispatch","results","findPersonAccounts","filter","account","errormessage","JSON","stringify","warn","component","VCardActions","createSimpleFunctional","VCardSubtitle","VCardText","VCardTitle","VCard"],"mappings":"kSA4BA,MAAMA,EAAaC,eACjBC,OACAC,OACAC,OACAC,OACAC,OACAC,QAIaP,SAAWQ,OAAO,CAC/BC,KAAM,WAENC,WAAY,CAAEC,qBAEdC,MAAO,CACLC,KAAMC,QACNC,SAAUD,QACVE,WAAYF,QACZG,MAAOH,QACPI,SAAU,CAACC,OAAQC,QACnBC,iBAAkBP,QAClBQ,OAAQ,CACNC,KAAMJ,OACNK,QAAS,iBAEXC,WAAYX,QACZY,YAAa,CACXH,KAAMT,QACNU,SAAS,GAEXG,WAAYb,QACZc,WAAY,CACVL,KAAM,CAACJ,OAAQL,SACfU,QAAS,qBAEXK,MAAO,CAACV,OAAQC,SAGlBU,OACE,MAAO,CACLC,YAAa,KACbC,SAAS,EACTC,gBAAiB,EACjBC,eAAgB,IAChBC,sBAAuB,OAI3BC,SAAU,CACRC,UACE,MAAO,CACL,EAAE,YAAYC,KAAKC,cAAgBC,SAAS,EAC5C,mBAAoBF,KAAKG,SACzB,uBAAwBH,KAAKb,WAC7B,uBAAwBa,KAAKtB,WAC7B,uBAAwBsB,KAAKX,WAC7B,qBAAsBW,KAAKN,UAG/BU,iBACE,MAAO,CACL,qBAAqB,EACrB,4BAA6BJ,KAAKG,WAGtCE,eACE,OAAO7B,UACHwB,KAAKM,OAAOC,aACZP,KAAKQ,aAAaD,aAK1BE,MAAO,CACLN,SAAUO,G,MACJA,GACFV,KAAKW,OACLX,KAAKY,eAELZ,KAAKa,gBACLb,KAAKc,SACqB,QAA1BC,EAAAf,KAAKH,6BAAqB,IAAAkB,KAAEC,UAGhCtC,WAAYgC,GACLV,KAAKG,WAENO,GACFV,KAAKY,aACLZ,KAAKa,eAAc,KAEnBb,KAAKiB,aACLjB,KAAKkB,iBAKXC,UAEMnB,KAAKoB,OAAOC,eAAe,eAC7BC,eAAQ,aAActB,OAI1BuB,cACEvB,KAAKwB,UAAU,KACbxB,KAA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GoG,QAAQY,KAAK,0DAA2DhH,GACxEjC,KAAK0D,MAAM,cAAeoF,GAG3B9I,KAAKkI,eAAgB,EAErBlI,KAAKmI,eC7DuZ,I,wBCQ3Ze,EAAY,eACd,EACA,EACA3B,GACA,EACA,KACA,WACA,MAIa,aAAA2B,E,sECnBf,oKAGA,MAAMC,EAAeC,eAAuB,mBACtCC,EAAgBD,eAAuB,oBACvCE,EAAYF,eAAuB,gBACnCG,EAAaH,eAAuB,iBAYtCI,Q,kCClBJ","file":"js/chunk-06f12f80.afec244e.js","sourcesContent":["// Styles\nimport './VDialog.sass'\n\n// Components\nimport { VThemeProvider } from '../VThemeProvider'\n\n// Mixins\nimport Activatable from '../../mixins/activatable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Overlayable from '../../mixins/overlayable'\nimport Returnable from '../../mixins/returnable'\nimport Stackable from '../../mixins/stackable'\n\n// Directives\nimport ClickOutside from '../../directives/click-outside'\n\n// Helpers\nimport mixins from '../../util/mixins'\nimport { removed } from '../../util/console'\nimport {\n convertToUnit,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\nconst baseMixins = mixins(\n Dependent,\n Detachable,\n Overlayable,\n Returnable,\n Stackable,\n Activatable,\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-dialog',\n\n directives: { ClickOutside },\n\n props: {\n dark: Boolean,\n disabled: Boolean,\n fullscreen: Boolean,\n light: Boolean,\n maxWidth: [String, Number],\n noClickAnimation: Boolean,\n origin: {\n type: String,\n default: 'center center',\n },\n persistent: Boolean,\n retainFocus: {\n type: Boolean,\n default: true,\n },\n scrollable: Boolean,\n transition: {\n type: [String, Boolean],\n default: 'dialog-transition',\n },\n width: [String, Number],\n },\n\n data () {\n return {\n activatedBy: null as EventTarget | null,\n animate: false,\n animateTimeout: -1,\n stackMinZIndex: 200,\n previousActiveElement: null as HTMLElement | null,\n }\n },\n\n computed: {\n classes (): object {\n return {\n [(`v-dialog ${this.contentClass}`).trim()]: true,\n 'v-dialog--active': this.isActive,\n 'v-dialog--persistent': this.persistent,\n 'v-dialog--fullscreen': this.fullscreen,\n 'v-dialog--scrollable': this.scrollable,\n 'v-dialog--animated': this.animate,\n }\n },\n contentClasses (): object {\n return {\n 'v-dialog__content': true,\n 'v-dialog__content--active': this.isActive,\n }\n },\n hasActivator (): boolean {\n return Boolean(\n !!this.$slots.activator ||\n !!this.$scopedSlots.activator\n )\n },\n },\n\n watch: {\n isActive (val) {\n if (val) {\n this.show()\n this.hideScroll()\n } else {\n this.removeOverlay()\n this.unbind()\n this.previousActiveElement?.focus()\n }\n },\n fullscreen (val) {\n if (!this.isActive) return\n\n if (val) {\n this.hideScroll()\n this.removeOverlay(false)\n } else {\n this.showScroll()\n this.genOverlay()\n }\n },\n },\n\n created () {\n /* istanbul ignore next */\n if (this.$attrs.hasOwnProperty('full-width')) {\n removed('full-width', this)\n }\n },\n\n beforeMount () {\n this.$nextTick(() => {\n this.isBooted = this.isActive\n this.isActive && this.show()\n })\n },\n\n beforeDestroy () {\n if (typeof window !== 'undefined') this.unbind()\n },\n\n methods: {\n animateClick () {\n this.animate = false\n // Needed for when clicking very fast\n // outside of the dialog\n this.$nextTick(() => {\n this.animate = true\n window.clearTimeout(this.animateTimeout)\n this.animateTimeout = window.setTimeout(() => (this.animate = false), 150)\n })\n },\n closeConditional (e: Event) {\n const target = e.target as HTMLElement\n // Ignore the click if the dialog is closed or destroyed,\n // if it was on an element inside the content,\n // if it was dragged onto the overlay (#6969),\n // or if this isn't the topmost dialog (#9907)\n return !(\n this._isDestroyed ||\n !this.isActive ||\n this.$refs.content.contains(target) ||\n (this.overlay && target && !this.overlay.$el.contains(target))\n ) && this.activeZIndex >= this.getMaxZIndex()\n },\n hideScroll () {\n if (this.fullscreen) {\n document.documentElement.classList.add('overflow-y-hidden')\n } else {\n Overlayable.options.methods.hideScroll.call(this)\n }\n },\n show () {\n !this.fullscreen && !this.hideOverlay && this.genOverlay()\n // Double nextTick to wait for lazy content to be generated\n this.$nextTick(() => {\n this.$nextTick(() => {\n if (!this.$refs.dialog?.contains(document.activeElement)) {\n this.previousActiveElement = document.activeElement as HTMLElement\n this.$refs.dialog?.focus()\n }\n this.bind()\n })\n })\n },\n bind () {\n window.addEventListener('focusin', this.onFocusin)\n },\n unbind () {\n window.removeEventListener('focusin', this.onFocusin)\n },\n onClickOutside (e: Event) {\n this.$emit('click:outside', e)\n\n if (this.persistent) {\n this.noClickAnimation || this.animateClick()\n } else {\n this.isActive = false\n }\n },\n onKeydown (e: KeyboardEvent) {\n if (e.keyCode === keyCodes.esc && !this.getOpenDependents().length) {\n if (!this.persistent) {\n this.isActive = false\n const activator = this.getActivator()\n this.$nextTick(() => activator && (activator as HTMLElement).focus())\n } else if (!this.noClickAnimation) {\n this.animateClick()\n }\n }\n this.$emit('keydown', e)\n },\n // On focus change, wrap focus to stay inside the dialog\n // https://github.com/vuetifyjs/vuetify/issues/6892\n onFocusin (e: Event) {\n if (!e || !this.retainFocus) return\n\n const target = e.target as HTMLElement\n\n if (\n !!target &&\n this.$refs.dialog &&\n // It isn't the document or the dialog body\n ![document, this.$refs.dialog].includes(target) &&\n // It isn't inside the dialog body\n !this.$refs.dialog.contains(target) &&\n // We're the topmost dialog\n this.activeZIndex >= this.getMaxZIndex() &&\n // It isn't inside a dependent element (like a menu)\n !this.getOpenDependentElements().some(el => el.contains(target))\n // So we must have focused something outside the dialog and its children\n ) {\n // Find and focus the first available element inside the dialog\n const focusable = this.$refs.dialog.querySelectorAll('button, [href], input:not([type=\"hidden\"]), select, textarea, [tabindex]:not([tabindex=\"-1\"])')\n const el = [...focusable].find(el => !el.hasAttribute('disabled') && !el.matches('[tabindex=\"-1\"]')) as HTMLElement | undefined\n el && el.focus()\n }\n },\n genContent () {\n return this.showLazyContent(() => [\n this.$createElement(VThemeProvider, {\n props: {\n root: true,\n light: this.light,\n dark: this.dark,\n },\n }, [\n this.$createElement('div', {\n class: this.contentClasses,\n attrs: {\n role: 'dialog',\n 'aria-modal': this.hideOverlay ? undefined : 'true',\n ...this.getScopeIdAttrs(),\n },\n on: { keydown: this.onKeydown },\n style: { zIndex: this.activeZIndex },\n ref: 'content',\n }, [this.genTransition()]),\n ]),\n ])\n },\n genTransition () {\n const content = this.genInnerContent()\n\n if (!this.transition) return content\n\n return this.$createElement('transition', {\n props: {\n name: this.transition,\n origin: this.origin,\n appear: true,\n },\n }, [content])\n },\n genInnerContent () {\n const data: VNodeData = {\n class: this.classes,\n attrs: {\n tabindex: this.isActive ? 0 : undefined,\n },\n ref: 'dialog',\n directives: [\n {\n name: 'click-outside',\n value: {\n handler: this.onClickOutside,\n closeConditional: this.closeConditional,\n include: this.getOpenDependentElements,\n },\n },\n { name: 'show', value: this.isActive },\n ],\n style: {\n transformOrigin: this.origin,\n },\n }\n\n if (!this.fullscreen) {\n data.style = {\n ...data.style as object,\n maxWidth: convertToUnit(this.maxWidth),\n width: convertToUnit(this.width),\n }\n }\n\n return this.$createElement('div', data, this.getContentSlot())\n },\n },\n\n render (h): VNode {\n return h('div', {\n staticClass: 'v-dialog__container',\n class: {\n 'v-dialog__container--attached':\n this.attach === '' ||\n this.attach === true ||\n this.attach === 'attach',\n },\n }, [\n this.genActivator(),\n this.genContent(),\n ])\n },\n})\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('v-dialog',{attrs:{\"width\":\"800px\",\"transition\":\"fade-transition\"},on:{\"click:outside\":_vm.closeLog},model:{value:(_vm.removing),callback:function ($$v) {_vm.removing=$$v},expression:\"removing\"}},[(_vm.removing)?_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\"Confirm Account Removal\")]),_c('v-spacer'),_c('v-divider',{staticClass:\"mb-2\"}),_c('v-card',{staticClass:\"rounded warning mx-6\"},[_c('v-card-text',[_c('v-col',[_c('v-row',{staticClass:\"mb-1\"},[_c('fa',{staticClass:\"mx-2\",attrs:{\"icon\":\"exclamation-triangle\"}}),_c('h3',[_vm._v(\"WARNING\")])],1),_c('strong',[_vm._v(\"This action is permanent, and cannot be undone!\")])],1)],1)],1),_c('p',{staticClass:\"mx-6 mt-4\"},[_vm._v(\" Once an account is removed, the owner will no longer be able to log into Verji. The account will automatically leave all rooms and DM's the account is a participant in, effectively losing access to all previously sent and received data in Verji. Messages sent by the removed account will still be available for the recipients or other room members. \")]),_c('p',{staticClass:\"mx-6 mt-4\"},[_vm._v(\"Please review the selected account carefully before removing.\")]),_c('AccountDetailsTable',{attrs:{\"showRoomList\":true,\"showRemoveWarnings\":true}}),_c('v-card-actions',[_c('v-text-field',{staticClass:\"justify-end input-size mx-2 pa-0 mt-6 mb-0\",attrs:{\"placeholder\":\"Type REMOVE to enable removal\",\"filled\":\"\",\"outlined\":\"\",\"dense\":\"\"},model:{value:(_vm.confirmRemove),callback:function ($$v) {_vm.confirmRemove=$$v},expression:\"confirmRemove\"}}),(this.confirmRemove.toLowerCase() === 'remove')?_c('v-tooltip',{key:`log_btn_${_vm.getSelectedAccount.jobId}`,attrs:{\"left\":\"\",\"transition\":\"fade-transition\"},scopedSlots:_vm._u([{key:\"activator\",fn:function({ on, attrs }){return [_c('v-btn',_vm._g(_vm._b({staticClass:\"error mx-2\",attrs:{\"loading\":_vm.removeLoading},on:{\"click\":function($event){return _vm.removeAccount(_vm.getSelectedAccount.userId)}}},'v-btn',attrs,false),on),[_c('span',[_vm._v(\"Remove\")])])]}}],null,false,1902080600)},[_c('span',[_vm._v(\"Remove \"+_vm._s(_vm.getSelectedAccount.name))])]):_c('v-btn',{staticClass:\"mx-2\",attrs:{\"depressed\":\"\",\"disabled\":\"\"}},[_c('span',[_vm._v(\"Remove\")])]),_c('v-btn',{attrs:{\"color\":\"mx-2\"},on:{\"click\":_vm.closeLog}},[_vm._v(\" Cancel \")])],1)],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\nconst AccountDetailsTable = () => import(\"@/components/account/AccountDetailsTable.vue\").then(m => m.default || m)\n\nimport Vue from \"vue\"\nimport { AccountItem } from \"@/types/responses\"\nexport default Vue.extend({\n\tname: \"RemoveUserDialog\",\n\tcomponents:{\n\t\tAccountDetailsTable,\n\t},\n\tprops: {\n\t\tremoving: {\n\t\t\ttype: Boolean,\n\t\t}\n\t},\n\tcomputed: {\n\t\tgetSelectedAccount(): AccountItem {\n \treturn this.$store.state.context.selectedAccount\n\t\t}\n\t},\n\tdata(): {\n\t\tconfirmRemove: string\n\t\tremoveLoading: boolean\n\t} {\n\t\treturn {\n\t\t\tconfirmRemove: \"\",\n\t\t\tremoveLoading: false\n\t\t}\n\t},\n\tmethods: {\n\t\tcloseLog(): void {\n\t\t\tthis.$emit(\"close\", null)\n\t\t},\n\n\t\tasync removeAccount(personId: string): Promise {\n\n\t\t\ttry {\n\t\t\t\tconsole.log(\"REMOVE ACCOUNT CONFIRMED\")\n\t\t\t\tconsole.log(\"REMOVING: \" + this.getSelectedAccount.userId)\n\t\t\t\tthis.removeLoading = true\n\t\t\t\tawait this.$vStore.dispatch(\"context/removeAccount\", personId)\n\n\t\t\t\t//Remove account from Store\n\t\t\t\tlet results: Array = this.$store.state.context.findPersonAccounts\n\t\t\t\tresults = results.filter(account => account.userId !== this.getSelectedAccount.userId)\n\t\t\t\t//Update with new results\n\t\t\t\tthis.$vStore.dispatch(\"context/updateAccountResults\", results)\n\n\n\t\t\t\tthis.$emit(\"itemRemoved\", personId)\n\t\t\t\t\n\t\t\t} catch (e) {\n\t\t\t\tconst errormessage = \"Something went wrong, unable to remove account. Error: \" + JSON.stringify(e)\n\n\t\t\t\tconsole.warn(\"Something went wrong, unable to remove account. Error: \", e)\n\t\t\t\tthis.$emit(\"itemRemoved\", errormessage )\n\t\t\t}\n\n\t\t\tthis.removeLoading = false\n\t\t\t\n\t\t\tthis.closeLog()\n\t\t}\n\t},\n})\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveAccountDialog.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveAccountDialog.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./RemoveAccountDialog.vue?vue&type=template&id=1692c294&scoped=true\"\nimport script from \"./RemoveAccountDialog.vue?vue&type=script&lang=ts\"\nexport * from \"./RemoveAccountDialog.vue?vue&type=script&lang=ts\"\nimport style0 from \"./RemoveAccountDialog.vue?vue&type=style&index=0&id=1692c294&prod&lang=scss&scoped=true\"\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 \"1692c294\",\n null\n \n)\n\nexport default component.exports","import VCard from './VCard'\nimport { createSimpleFunctional } from '../../util/helpers'\n\nconst VCardActions = createSimpleFunctional('v-card__actions')\nconst VCardSubtitle = createSimpleFunctional('v-card__subtitle')\nconst VCardText = createSimpleFunctional('v-card__text')\nconst VCardTitle = createSimpleFunctional('v-card__title')\n\nexport {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n}\n\nexport default {\n $_vuetify_subcomponents: {\n VCard,\n VCardActions,\n VCardSubtitle,\n VCardText,\n VCardTitle,\n },\n}\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RemoveAccountDialog.vue?vue&type=style&index=0&id=1692c294&prod&lang=scss&scoped=true\""],"sourceRoot":""}