{"version":3,"sources":["webpack:///../../../src/components/VDialog/VDialog.ts","webpack:///../../../src/components/VRadioGroup/VRadioGroup.ts","webpack:///./src/views/settings/AddUser.vue?3b1f","webpack:///./src/views/settings/AddUser.vue?0325","webpack:///./src/views/settings/AddUser.vue?29f1","webpack:///../../../src/components/VAutocomplete/VAutocomplete.ts","webpack:///../../../src/components/VCombobox/VCombobox.ts","webpack:///../../../src/components/VTooltip/VTooltip.ts","webpack:///./src/views/settings/AddUser.vue?ec71","webpack:///../../../src/components/VRadioGroup/VRadio.ts","webpack:///./node_modules/core-js/modules/es.string.ends-with.js","webpack:///./src/views/settings/AddUser.vue?53d7","webpack:///../../../src/components/VOverlay/VOverlay.ts","webpack:///../../../src/components/VOverlay/index.ts","webpack:///../../../src/mixins/overlayable/index.ts"],"names":["baseMixins","mixins","Activatable","Dependent","Detachable","Overlayable","Returnable","Stackable","Toggleable","extend","name","directives","ClickOutside","props","dark","Boolean","disabled","fullscreen","light","maxWidth","type","String","Number","default","noClickAnimation","origin","persistent","retainFocus","scrollable","transition","width","data","activatedBy","animate","animateTimeout","isActive","this","value","stackMinZIndex","computed","classes","_ref","_defineProperty","concat","contentClass","trim","contentClasses","hasActivator","$slots","activator","$scopedSlots","watch","val","show","hideScroll","removeOverlay","unbind","showScroll","genOverlay","created","$attrs","hasOwnProperty","removed","beforeMount","_this","$nextTick","isBooted","beforeDestroy","window","methods","animateClick","_this2","clearTimeout","setTimeout","closeConditional","e","target","_isDestroyed","$refs","content","contains","overlay","$el","activeZIndex","getMaxZIndex","document","documentElement","classList","add","options","call","_this3","hideOverlay","focus","bind","addEventListener","onFocusin","removeEventListener","onClickOutside","$emit","onKeydown","keyCode","keyCodes","esc","getOpenDependents","length","getActivator","includes","getOpenDependentElements","some","el","focusable","querySelectorAll","_toConsumableArray","find","hasAttribute","genContent","_this4","showLazyContent","$createElement","VThemeProvider","root","class","attrs","_objectSpread","role","tabindex","undefined","getScopeIdAttrs","on","keydown","style","zIndex","ref","genTransition","genInnerContent","appear","handler","include","transformOrigin","convertToUnit","getContentSlot","render","h","staticClass","attach","genActivator","Comparable","BaseItemGroup","VInput","provide","radioGroup","column","height","row","genDefaultSlot","id","computedId","genInputSlot","click","genLabel","label","for","tag","onClick","Mode","_vm","_h","_c","_self","mode","EDIT","_v","_s","$t","model","userForm","callback","$$v","$set","expression","autoComplete","ownAccount","v","mapValidationErrors","fields","emailAddress","errors","$event","checkAvailableUsers","scopedSlots","_u","key","fn","item","firstName","middleName","lastName","email","isAccountActive","customSignature","_e","currentProjectRights","lastRemainingActiveAccount","userProjectsHasProjectManagement","projectId","checkProjectRightsEnabled","_g","_b","getProjectById","projectName","checkProjectRights","proxy","isEnabled","projectRights","_l","right","index","$router","push","isValid","onSubmit","hasUserFound","userFound","assignAccount","staticRenderFns","defineComponent","setup","_","vm","userId","api","EmployerAccountManagementApi","allProjects","userData","NEW","availableUsers","showUserFoundDialog","reactive","signatureLine1","signatureLine2","userRights","updateUser","_updateUser","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee2","updateAccountDetailsRequest","rightsToSubmit","_rightsToSubmit","updateAccountRightsRequest","wrap","_context2","prev","next","filter","it","employerAccountManagementUpdateAccountDetails","then","rights","employerAccountManagementUpdateAccountRights","router","catch","err","response","accountId","employerAccountManagementUpdateOtherAccountRights","stop","createUser","_createUser","_callee3","request","_context3","employerAccountManagementAddEmployerAccount","addRightToExistingAccount","_addRightToExistingAccount","_callee4","_context4","employerAccountManagementAddRightsToExistingAccount","newRight","_onSubmit","_callee5","_context5","APPEND_PROJECTRIGHT_TO_EXISTING","getCurrentProjectId","Store","getters","getCurrentProject","getEmployer","_x","_getEmployer","_callee6","_context6","employerAccountManagementGetEmployer","_userData$value$right","_userData$value$right2","map","authorize","userManagement","confirmationMails","subscriptionCopy","deleteUser","project","p","projectNumber","_rights","i18n","t","users","_it$firstName","_it$lastName","_it$middleName","found","getProjectManagement","_getProjectManagement","_callee7","_yield$api$employerAc","_context7","employerAccountManagementGetUserProjectsHasProjectManagement","sent","getProjectAccountsOfProjectAccount","_getProjectAccountsOfProjectAccount","_callee8","_yield$api$employerAc2","_context8","employerAccountManagementGetProjectAccountsOfProjectAccount","createRightsTable","_createRightsTable","_callee9","_context9","forEach","proj","rt","loadUser","_x2","_loadUser","_callee10","contactName","_context10","isDisabled","_assignAccount","_callee11","_userFound$value","_userFound$value2","_userFound$value3","_userFound$value4","_userFound$value5","currentProject","_context11","abrupt","onMounted","_callee","_context","parseInt","$route","params","defaultMenuProps","VSelectMenuProps","offsetY","offsetOverflow","VSelect","allowOverflow","autoSelectFirst","Function","queryText","itemText","toLocaleLowerCase","indexOf","hideNoData","menuProps","noFilter","searchInput","lazySearch","selectedIndex","computedItems","filteredItems","selectedValues","selectedItems","getValue","hasDisplayedItems","hideSelected","hasItem","currentRange","selectedItem","getText","isSearching","internalSearch","allItems","getPropertyFromItem","text","get","set","isAnyValueAllowed","isDirty","searchIsDirty","multiple","menuCanShow","isFocused","$_menuProps","i","valueComparator","internalValue","listData","items","virtualizedItems","onCopy","input","select","updateSelf","isMenuActive","hasSlot","oldVal","activateMenu","setSearch","onFilteredItemsChanged","_this5","setMenuIndex","menu","getTiles","onInternalSearchChanged","updateMenuDimensions","updateDimensions","changeSelectedIndex","left","backspace","delete","deleteCurrentItem","curIndex","curItem","isInteractive","getDisabled","lastIndex","nextIndex","nextItem","selectItem","setValue","clearableCallback","genInput","VTextField","mergeData","getObjectValueByPath","autocomplete","domProps","slot","genSelections","onFocus","isAppendInner","onInput","badInput","validity","onKeyDown","onSpaceDown","onTabDown","onUpDown","preventDefault","setSelectedItems","_this6","event","currentItem","currentItemText","clipboardData","setData","VAutocomplete","delimiters","Array","returnObject","editingIndex","computedCounterValue","toString","delimiter","d","endsWith","slice","updateTags","paste","onPaste","genChipSelection","chip","componentOptions","listeners","dblclick","onChipInput","onEnterDown","getMenuIndex","selectionStart","enter","stopPropagation","updateEditing","updateCombobox","isUsingSlot","selection","hasChips","menuIndex","splice","pastedItemText","getData","findExistingIndex","Colorable","Delayable","Menuable","closeDelay","fixed","openDelay","openOnHover","calculatedMinWidth","closeDependents","calculatedLeft","_this$dimensions","dimensions","unknown","bottom","top","activatorLeft","offsetLeft","nudgeLeft","nudgeRight","calcXOverflow","calculatedTop","_this$dimensions2","activatorTop","offsetTop","nudgeTop","nudgeBottom","calcYOverflow","pageYOffset","computedTransition","offsetX","styles","minWidth","opacity","callActivate","mounted","getSlotType","consoleError","activate","requestAnimationFrame","startTransition","deactivate","runDelay","genActivatorListeners","blur","_class","setBackgroundColor","color","activatorFixed","isContentActive","component","VAlert","VBtn","VCard","VCardActions","VCardText","VCardTitle","VCheckbox","VCol","VCombobox","VDialog","VDivider","VForm","VIcon","VRadio","VRadioGroup","VRow","VSimpleTable","VTooltip","BindsAttrs","Rippleable","GroupableFactory","Themeable","inheritAttrs","offIcon","onIcon","readonly","themeClasses","groupClasses","computedColor","Selectable","computedIcon","hasLabel","hasState","isReadonly","computedName","_uid","rippleState","validationState","args","VLabel","onChange","focused","getSlot","genRadio","setTextColor","dense","attrs$","genRipple","onBlur","toggle","$","getOwnPropertyDescriptor","f","toLength","notARegExp","requireObjectCoercible","correctIsRegExpLogic","IS_PURE","nativeEndsWith","min","Math","CORRECT_IS_REGEXP_LOGIC","MDN_POLYFILL_BUG","descriptor","prototype","writable","proto","forced","searchString","that","endPosition","len","end","search","absolute","__scrim","computedOpacity","children","VOverlay","Vue","overlayColor","overlayOpacity","animationFrame","createOverlay","propsData","$mount","parent","parentNode","querySelector","insertBefore","firstChild","getZIndex","addOnceEventListener","removeChild","$destroy","cancelAnimationFrame","scrollListener","tagName","isContentEditable","up","pageup","down","pagedown","deltaY","body","checkPath","hasScrollbar","nodeType","Node","ELEMENT_NODE","getComputedStyle","overflowY","scrollHeight","clientHeight","shouldScroll","delta","scrollTop","isInside","path","composedPath","dialog","selected","getSelection","anchorNode","parentElement","$vuetify","breakpoint","smAndDown","addPassiveEventListener","passive","remove"],"mappings":"kXA6BMA,EAA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fA,EAAGyhB,QAIL,OAHAqB,EAAKjc,KAAKtI,UACVukB,EAAKjc,KAAKvJ,QAEHwlB,EAGT9iB,EAAKA,EAAGojB,cAEV,OAAON,GAETtmB,WAAU,WACJlB,KAAK+nB,SAASC,WAAWC,UAC3BhlB,SAASC,gBAAiBC,UAAUC,IAAI,sBAExC8kB,eAAwBlmB,OAAQ,QAAShC,KAAKkmB,eAAuC,CAAEiC,SAAS,IAChGnmB,OAAO2B,iBAAiB,UAAW3D,KAAKkmB,kBAG5C7kB,WAAU,WACR4B,SAASC,gBAAiBC,UAAUilB,OAAO,qBAC3CpmB,OAAO6B,oBAAoB,QAAS7D,KAAKkmB,gBACzClkB,OAAO6B,oBAAoB,UAAW7D,KAAKkmB","file":"js/chunk-6b0698fc.f400acaf.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'\nimport Toggleable from '../../mixins/toggleable'\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 Activatable,\n Dependent,\n Detachable,\n Overlayable,\n Returnable,\n Stackable,\n Toggleable\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: {\n type: [String, Number],\n default: 'none',\n },\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: {\n type: [String, Number],\n default: 'auto',\n },\n },\n\n data () {\n return {\n activatedBy: null as EventTarget | null,\n animate: false,\n animateTimeout: -1,\n isActive: !!this.value,\n stackMinZIndex: 200,\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 }\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 this.$nextTick(() => {\n this.$refs.content.focus()\n this.bind()\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 // It isn't the document or the dialog body\n ![document, this.$refs.content].includes(target) &&\n // It isn't inside the dialog body\n !this.$refs.content.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.content.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])')\n const el = [...focusable].find(el => !el.hasAttribute('disabled')) 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: 'document',\n tabindex: this.isActive ? 0 : undefined,\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 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: this.maxWidth === 'none' ? undefined : convertToUnit(this.maxWidth),\n width: this.width === 'auto' ? undefined : 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 attrs: { role: 'dialog' },\n }, [\n this.genActivator(),\n this.genContent(),\n ])\n },\n})\n","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VRadioGroup.sass'\n\n// Extensions\nimport VInput from '../VInput'\nimport { BaseItemGroup } from '../VItemGroup/VItemGroup'\n\n// Mixins\nimport Comparable from '../../mixins/comparable'\n\n// Types\nimport mixins from '../../util/mixins'\nimport { PropType } from 'vue'\n\nconst baseMixins = mixins(\n Comparable,\n BaseItemGroup,\n VInput\n)\n\n/* @vue/component */\nexport default baseMixins.extend({\n name: 'v-radio-group',\n\n provide () {\n return {\n radioGroup: this,\n }\n },\n\n props: {\n column: {\n type: Boolean,\n default: true,\n },\n height: {\n type: [Number, String],\n default: 'auto',\n },\n name: String,\n row: Boolean,\n // If no value set on VRadio\n // will match valueComparator\n // force default to null\n value: null as unknown as PropType,\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--radio-group': true,\n 'v-input--radio-group--column': this.column && !this.row,\n 'v-input--radio-group--row': this.row,\n }\n },\n },\n\n methods: {\n genDefaultSlot () {\n return this.$createElement('div', {\n staticClass: 'v-input--radio-group__input',\n attrs: {\n id: this.id,\n role: 'radiogroup',\n 'aria-labelledby': this.computedId,\n },\n }, VInput.options.methods.genDefaultSlot.call(this))\n },\n genInputSlot () {\n const render = VInput.options.methods.genInputSlot.call(this)\n\n delete render.data!.on!.click\n\n return render\n },\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return null\n\n label.data!.attrs!.id = this.computedId\n // WAI considers this an orphaned label\n delete label.data!.attrs!.for\n label.tag = 'legend'\n\n return label\n },\n onClick: BaseItemGroup.options.methods.onClick,\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card',{staticClass:\"pa-0\"},[(_vm.mode === _vm.Mode.EDIT)?_c('v-card-title',{staticClass:\"headline primary--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"user.edit-user\"))+\" \")]):_c('v-card-title',{staticClass:\"headline primary--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"user.add-user\"))+\" \")]),_c('v-card-text',[_c('v-row',[_c('v-col',[_c('v-form',{model:{value:(_vm.userForm.isValid),callback:function ($$v) {_vm.$set(_vm.userForm, \"isValid\", $$v)},expression:\"userForm.isValid\"}},[_c('v-row',[_c('v-col',[(_vm.mode === _vm.Mode.EDIT || _vm.autoComplete.length === 0)?_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"required\":\"\",\"disabled\":!_vm.ownAccount,\"label\":_vm.$t(\"user.form.mail-address\"),\"rules\":[\n function (v) { return !!v || _vm.$t(\"user.form.mail-address-required\"); } ],\"error-messages\":_vm.mapValidationErrors(\n _vm.userForm.fields.emailAddress,\n 'Emailaddress',\n {\n id: 'emailAddress',\n errors: _vm.userForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.userForm.errors['emailAddress']}},model:{value:(_vm.userForm.fields.emailAddress),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"emailAddress\", $$v)},expression:\"userForm.fields.emailAddress\"}}):_c('v-combobox',{attrs:{\"items\":_vm.autoComplete,\"outlined\":\"\",\"required\":\"\",\"label\":_vm.$t(\"user.form.mail-address\"),\"dense\":\"\",\"item-text\":\"email\",\"item-value\":\"email\",\"rules\":[\n function (v) { return !!v || _vm.$t(\"user.form.mail-address-required\"); } ],\"return-object\":false,\"error-messages\":_vm.mapValidationErrors(\n _vm.userForm.fields.emailAddress,\n 'Emailaddress',\n {\n id: 'emailAddress',\n errors: _vm.userForm.errors,\n }\n )},on:{\"blur\":function($event){return _vm.checkAvailableUsers()},\"input\":function($event){delete _vm.userForm.errors['emailAddress']}},scopedSlots:_vm._u([{key:\"item\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.firstName)+\" \"+_vm._s(item.middleName ? ((item.middleName) + \" \" + (item.lastName)) : item.lastName)+\" - (\"+_vm._s(item.email)+\") \")]}}]),model:{value:(_vm.userForm.fields.emailAddress),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"emailAddress\", $$v)},expression:\"userForm.fields.emailAddress\"}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"lg\":\"4\"}},[(_vm.ownAccount)?_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"disabled\":!_vm.ownAccount,\"label\":_vm.$t(\"user.form.first-name\"),\"rules\":[function (v) { return !!v || _vm.$t(\"user.form.first-name-required\"); }],\"error-messages\":_vm.mapValidationErrors(\n _vm.userForm.fields.firstName,\n 'Voornaam',\n {\n id: 'firstName',\n errors: _vm.userForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.userForm.errors['firstName']}},model:{value:(_vm.userForm.fields.firstName),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"firstName\", $$v)},expression:\"userForm.fields.firstName\"}}):_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"disabled\":true,\"value\":_vm.userForm.fields.firstName,\"label\":_vm.$t(\"user.form.first-name\")}})],1),_c('v-col',{attrs:{\"lg\":\"4\"}},[_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"disabled\":!_vm.ownAccount,\"label\":_vm.$t(\"user.form.middle-name\")},model:{value:(_vm.userForm.fields.middleName),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"middleName\", $$v)},expression:\"userForm.fields.middleName\"}})],1),_c('v-col',{attrs:{\"lg\":\"4\"}},[(_vm.ownAccount)?_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"disabled\":!_vm.ownAccount,\"label\":_vm.$t(\"user.form.last-name\"),\"rules\":[function (v) { return !!v || _vm.$t(\"user.form.last-name-required\"); }],\"error-messages\":_vm.mapValidationErrors(\n _vm.userForm.fields.lastName,\n 'Achternaam',\n {\n id: 'lastName',\n errors: _vm.userForm.errors,\n }\n )},on:{\"input\":function($event){delete _vm.userForm.errors['lastName']}},model:{value:(_vm.userForm.fields.lastName),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"lastName\", $$v)},expression:\"userForm.fields.lastName\"}}):_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"disabled\":true,\"value\":_vm.userForm.fields.lastName,\"label\":_vm.$t(\"user.form.last-name\")}})],1)],1),(_vm.mode === _vm.Mode.EDIT)?[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"6\"}},[_vm._v(\" Alleen als het account actief is, kan er ingelogd worden. \")])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"2\"}},[_c('b',[_vm._v(\" \"+_vm._s(_vm.$t(\"form.user.account-active\"))+\": \")])]),_c('v-col',{attrs:{\"cols\":\"2\"}},[_vm._v(\" \"+_vm._s(_vm.userForm.fields.isAccountActive ? \"Ja\" : \"Nee\")+\" \")])],1),_c('v-divider'),_c('v-row',[_c('v-col',[_c('v-row',[_c('v-card-title',{staticClass:\"headline primary--text\"},[_vm._v(\" Autorisatie gegevens \")])],1),_c('v-row',[_c('v-col',[_c('v-radio-group',{attrs:{\"row\":\"\",\"mandatory\":\"\",\"disabled\":!_vm.ownAccount},model:{value:(_vm.userForm.fields.customSignature),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"customSignature\", $$v)},expression:\"userForm.fields.customSignature\"}},[_c('v-radio',{attrs:{\"label\":_vm.$t(\"user.form.standard-contact-address\"),\"value\":false}}),_c('v-radio',{attrs:{\"label\":_vm.$t(\"user.form.divergent-contact-address\"),\"value\":true}})],1)],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"label\":_vm.$t(\"user.form.contact-name\"),\"disabled\":!_vm.userForm.fields.customSignature ||\n !_vm.ownAccount},model:{value:(_vm.userForm.fields.signatureLine1),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"signatureLine1\", $$v)},expression:\"userForm.fields.signatureLine1\"}})],1)],1),_c('v-row',[_c('v-col',[_c('v-text-field',{attrs:{\"dense\":\"\",\"clearable\":\"\",\"outlined\":\"\",\"label\":_vm.$t(\"user.form.contact-address\"),\"disabled\":!_vm.userForm.fields.customSignature ||\n !_vm.ownAccount},model:{value:(_vm.userForm.fields.signatureLine2),callback:function ($$v) {_vm.$set(_vm.userForm.fields, \"signatureLine2\", $$v)},expression:\"userForm.fields.signatureLine2\"}})],1)],1)],1),_c('v-col',[_c('v-row',[_c('v-col',[_c('h2',{staticClass:\"headline primary--text\"},[_vm._v(\" Autorisatie toelichting \")])])],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"8\"}},[_c('p',[_vm._v(\" Wanneer u met uw account in 'Postvak IN' een aanvraag goedkeurt, dan wordt de in PDF gegenereerde AAO (indien van toepassing) met de 'autorisatie gegevens' die hier naast staat ondertekend. Om een aanvraag te kunnen autoriseren dient u met uw account op het betreffende project minimaal over het recht autoriseren of beheer te beschikken. \")])])],1)],1)],1)]:_vm._e(),_c('v-divider'),(_vm.currentProjectRights)?_c('v-row',[_c('v-col',[_c('h2',{staticClass:\"headline primary--text mt-4\"},[_vm._v(\" Toekennen rechten huidig project \")])])],1):_vm._e(),_c('v-row',[_c('v-col',[(_vm.currentProjectRights)?_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',{staticClass:\"table-head\"},[_c('th',[_vm._v(\"Inloggen\")]),_c('th',[_vm._v(\"Projectnummer\")]),_c('th',[_vm._v(\"Projectnaam\")]),_c('th',[_vm._v(\"Autoriseren\")]),_c('th',[_vm._v(\"Mutaties\")]),_c('th',[_vm._v(\"Beheer\")]),_c('th',[_vm._v(\"Kopie inschrijving\")])])]),_c('tbody',[_c('tr',[_c('td',[_c('div',{staticClass:\"checkbox-info\"},[_c('v-checkbox',{attrs:{\"disabled\":_vm.currentProjectRights.lastRemainingActiveAccount ||\n !_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n ) ||\n _vm.ownAccount},on:{\"change\":function($event){return _vm.checkProjectRightsEnabled()}},model:{value:(_vm.currentProjectRights.isEnabled),callback:function ($$v) {_vm.$set(_vm.currentProjectRights, \"isEnabled\", $$v)},expression:\"currentProjectRights.isEnabled\"}}),(\n !_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n )\n )?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({attrs:{\"color\":\"primary\"}},'v-icon',attrs,false),on),[_vm._v(\" mdi-help-circle \")])]}}],null,false,1547179115)},[_c('span',[_vm._v(\" U beschikt niet over de rechten om de rechten voor dit project aan te passen. \")])]):_vm._e(),(_vm.ownAccount && _vm.mode === _vm.Mode.EDIT)?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({attrs:{\"color\":\"primary\"}},'v-icon',attrs,false),on),[_vm._v(\" mdi-help-circle \")])]}}],null,false,1547179115)},[_c('span',[_vm._v(\" U kunt uw eigen account niet verwijderen. \")])]):_vm._e()],1)]),_c('td',[_vm._v(\" \"+_vm._s(_vm.getProjectById(_vm.currentProjectRights.projectId))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.currentProjectRights.projectName)+\" \")]),_c('td',[_c('v-checkbox',{attrs:{\"disable\":!_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights()}},model:{value:(_vm.currentProjectRights.authorize),callback:function ($$v) {_vm.$set(_vm.currentProjectRights, \"authorize\", $$v)},expression:\"currentProjectRights.authorize\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disable\":!_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights()}},model:{value:(_vm.currentProjectRights.confirmationMails),callback:function ($$v) {_vm.$set(_vm.currentProjectRights, \"confirmationMails\", $$v)},expression:\"currentProjectRights.confirmationMails\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disable\":!_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights()}},model:{value:(_vm.currentProjectRights.userManagement),callback:function ($$v) {_vm.$set(_vm.currentProjectRights, \"userManagement\", $$v)},expression:\"currentProjectRights.userManagement\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disable\":!_vm.userProjectsHasProjectManagement.includes(\n _vm.currentProjectRights.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights()}},model:{value:(_vm.currentProjectRights.subscriptionCopy),callback:function ($$v) {_vm.$set(_vm.currentProjectRights, \"subscriptionCopy\", $$v)},expression:\"currentProjectRights.subscriptionCopy\"}})],1)])])]},proxy:true}],null,false,2483374606)}):_vm._e(),_c('div',[(\n _vm.currentProjectRights &&\n !_vm.currentProjectRights.isEnabled &&\n _vm.mode !== _vm.Mode.EDIT\n )?_c('v-alert',{staticClass:\"mt-2\",attrs:{\"type\":\"error\",\"dense\":\"\"}},[_vm._v(\" Bij het aanmaken van een gebruiker moet deze aan tenminste 1 project worden toegekend. \")]):_vm._e()],1)],1)],1),(_vm.projectRights && _vm.projectRights.length)?_c('v-row',[_c('v-col',[_c('h2',{staticClass:\"headline primary--text mt-4\"},[_vm._v(\" Toekennen rechten overige projecten \")])])],1):_vm._e(),(_vm.projectRights && _vm.projectRights.length)?_c('v-row',[_c('v-col',[_c('v-simple-table',{scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('thead',[_c('tr',{staticClass:\"table-head\"},[_c('th',[_vm._v(\"Inloggen\")]),_c('th',[_vm._v(\"Projectnummer\")]),_c('th',[_vm._v(\"Projectnaam\")]),_c('th',[_vm._v(\"Autoriseren\")]),_c('th',[_vm._v(\"Mutaties\")]),_c('th',[_vm._v(\"Beheer\")]),_c('th',[_vm._v(\"Kopie inschrijving\")])])]),_c('tbody',_vm._l((_vm.projectRights),function(right,index){return _c('tr',{key:index},[_c('td',[_c('div',{staticClass:\"checkbox-info\"},[_c('v-checkbox',{attrs:{\"disabled\":right.lastRemainingActiveAccount ||\n !_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRightsEnabled(index)}},model:{value:(right.isEnabled),callback:function ($$v) {_vm.$set(right, \"isEnabled\", $$v)},expression:\"right.isEnabled\"}}),(\n !_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )\n )?_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\n var on = ref.on;\n var attrs = ref.attrs;\nreturn [_c('v-icon',_vm._g(_vm._b({attrs:{\"color\":\"primary\"}},'v-icon',attrs,false),on),[_vm._v(\" mdi-help-circle \")])]}}],null,true)},[_c('span',[_vm._v(\" U beschikt niet over de rechten om de rechten voor dit project aan te passen. \")])]):_vm._e()],1)]),_c('td',[_vm._v(\" \"+_vm._s(_vm.getProjectById(right.projectId))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(right.projectName)+\" \")]),_c('td',[_c('v-checkbox',{attrs:{\"disabled\":!_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights(index)}},model:{value:(right.authorize),callback:function ($$v) {_vm.$set(right, \"authorize\", $$v)},expression:\"right.authorize\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disabled\":!_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights(index)}},model:{value:(right.confirmationMails),callback:function ($$v) {_vm.$set(right, \"confirmationMails\", $$v)},expression:\"right.confirmationMails\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disabled\":!_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights(index)}},model:{value:(right.userManagement),callback:function ($$v) {_vm.$set(right, \"userManagement\", $$v)},expression:\"right.userManagement\"}})],1),_c('td',[_c('v-checkbox',{attrs:{\"disabled\":!_vm.userProjectsHasProjectManagement.includes(\n right.projectId\n )},on:{\"change\":function($event){return _vm.checkProjectRights(index)}},model:{value:(right.subscriptionCopy),callback:function ($$v) {_vm.$set(right, \"subscriptionCopy\", $$v)},expression:\"right.subscriptionCopy\"}})],1)])}),0)]},proxy:true}],null,false,3394612270)})],1)],1):_vm._e(),_c('v-row',[_c('v-col',{staticClass:\"text-right mr-8 mt-8\"},[_c('v-btn',{staticClass:\"mr-8\",attrs:{\"type\":\"cancel\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'user-management' })}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"form.cancel\"))+\" \")]),_c('v-btn',{attrs:{\"disabled\":!_vm.userForm.isValid ||\n (_vm.currentProjectRights &&\n !_vm.currentProjectRights.isEnabled &&\n _vm.mode !== _vm.Mode.EDIT),\"color\":\"primary\"},on:{\"click\":function($event){return _vm.onSubmit()}}},[(_vm.mode !== _vm.Mode.EDIT)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"form.add\"))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"form.save\"))+\" \")])])],1)],1)],2)],1)],1)],1)],1),_c('v-card',{staticClass:\"mt-4\"},[_c('v-card-title',[_vm._v(\"Toelichting\")]),_c('v-card-text',[_c('ul',[_c('li',[_vm._v(\" Per project dient er minimaal één actief account te zijn met het recht 'autoriseren' en minimaal één actief account met het recht 'beheer'. \")]),_c('li',[_vm._v(\" Rechten die niet kunnen worden aangepast, zijn in bovenstaand overzicht geblokkeerd. \")]),_c('li',[_vm._v(\" Het recht 'inloggen' kan alleen worden uitgevinkt indien er geen andere rechten meer zijn toegekend. \")])])])],1),_c('v-dialog',{attrs:{\"max-width\":\"400\"},model:{value:(_vm.hasUserFound),callback:function ($$v) {_vm.hasUserFound=$$v},expression:\"hasUserFound\"}},[_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_vm._v(\"Account toekennen?\")]),(_vm.userFound)?_c('v-card-text',[_vm._v(\" Er bestaat al een gebruiker \"+_vm._s(_vm.userFound.firstName)+\" \"+_vm._s(_vm.userFound.middleName)+\" \"+_vm._s(_vm.userFound.lastName)+\" wilt u dit account toekennen? \")]):_vm._e(),_c('v-card-actions',[(_vm.userFound)?_c('v-btn',{attrs:{\"color\":\"success\"},on:{\"click\":_vm.assignAccount}},[_vm._v(\" Ja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\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\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\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\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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n defineComponent,\r\n onMounted,\r\n ref,\r\n reactive,\r\n} from \"@vue/composition-api\";\r\nimport {\r\n EmployerAccountManagementApi,\r\n AddEmployerAccountCommand,\r\n EmployerAccountRightsDto2,\r\n EmployerAccountDto,\r\n UpdateEmployerAccountDetailsCommand,\r\n UpdateEmployerAccountRightsCommand,\r\n EmployerAccountRightsDto,\r\n UpdateEmployerAccountRightsOtherCommand,\r\n EmployerAccountRightsDto4,\r\n ProjectDto,\r\n} from \"@/api\";\r\nimport router from \"@/router\";\r\nimport Store from \"@/store\";\r\nimport { mapValidationErrors } from \"@/util/Forms\";\r\nimport i18n from \"@/i18n\";\r\n\r\ninterface RightsTable {\r\n isEnabled: boolean;\r\n projectId: number;\r\n projectName?: string | null;\r\n authorize: boolean;\r\n confirmationMails: boolean;\r\n userManagement: boolean;\r\n subscriptionCopy: boolean;\r\n deleteUser: boolean;\r\n}\r\n\r\nenum Mode {\r\n EDIT,\r\n NEW,\r\n APPEND_PROJECTRIGHT_TO_EXISTING,\r\n}\r\n\r\ninterface AutoCompleteItem {\r\n email: string;\r\n firstName: string;\r\n lastName: string;\r\n disabled: boolean;\r\n}\r\n\r\n/**\r\n * @TODO when converting this to vue3, refactor form validation for vuelidate or vee-validate\r\n */\r\n\r\nexport default defineComponent({\r\n setup(_, vm) {\r\n const api = new EmployerAccountManagementApi();\r\n const allProjects = ref([]);\r\n const userData = ref({});\r\n const mode = ref(Mode.NEW);\r\n const ownAccount = ref(true);\r\n let userId: number | null;\r\n\r\n const availableUsers = ref([]);\r\n const showUserFoundDialog = ref(false);\r\n const userFound = ref();\r\n\r\n const autoComplete = ref([]);\r\n\r\n const userProjectsHasProjectManagement = ref([]);\r\n\r\n const userForm = reactive({\r\n errors: {},\r\n isValid: false,\r\n fields: {\r\n firstName: ref(\"\"),\r\n middleName: ref(\"\"),\r\n lastName: ref(\"\"),\r\n emailAddress: ref(\"\"),\r\n customSignature: ref(false),\r\n signatureLine1: ref(\"\"),\r\n signatureLine2: ref(\"\"),\r\n isAccountActive: ref(false),\r\n },\r\n });\r\n\r\n const projectRights = ref(undefined);\r\n const currentProjectRights = ref(undefined);\r\n const userRights = ref([]);\r\n\r\n async function updateUser() {\r\n if (ownAccount.value === true) {\r\n const updateAccountDetailsRequest: UpdateEmployerAccountDetailsCommand = {\r\n firstName: userForm.fields.firstName,\r\n middleName: userForm.fields.middleName,\r\n lastName: userForm.fields.lastName,\r\n emailAddress: userForm.fields.emailAddress,\r\n customSignature: userForm.fields.customSignature,\r\n signatureLine1: userForm.fields.signatureLine1,\r\n signatureLine2: userForm.fields.signatureLine2,\r\n };\r\n\r\n const rightsToSubmit = [\r\n currentProjectRights.value as EmployerAccountRightsDto,\r\n ...(projectRights.value || []),\r\n ].filter((it) =>\r\n userProjectsHasProjectManagement.value.includes(it.projectId)\r\n );\r\n\r\n api\r\n .employerAccountManagementUpdateAccountDetails(\r\n updateAccountDetailsRequest\r\n )\r\n .then(() => {\r\n const updateAccountRightsRequest: UpdateEmployerAccountRightsCommand = {\r\n rights: rightsToSubmit,\r\n };\r\n api\r\n .employerAccountManagementUpdateAccountRights(\r\n updateAccountRightsRequest\r\n )\r\n .then(() => {\r\n // Return to user account overview\r\n router.push({ name: \"user-management\" });\r\n });\r\n })\r\n .catch((err) => {\r\n userForm.errors = err.response.data.errors;\r\n });\r\n } else {\r\n const rightsToSubmit = [\r\n currentProjectRights.value as EmployerAccountRightsDto4,\r\n ...(projectRights.value || []),\r\n ].filter((it) =>\r\n userProjectsHasProjectManagement.value.includes(it.projectId)\r\n );\r\n\r\n const updateAccountRightsRequest: UpdateEmployerAccountRightsOtherCommand = {\r\n accountId: userId || 0,\r\n rights: rightsToSubmit,\r\n };\r\n api\r\n .employerAccountManagementUpdateOtherAccountRights(\r\n updateAccountRightsRequest\r\n )\r\n .then(() => {\r\n // Return to user account overview\r\n router.push({ name: \"user-management\" });\r\n });\r\n }\r\n }\r\n\r\n async function createUser() {\r\n const request: AddEmployerAccountCommand = {\r\n firstName: userForm.fields.firstName,\r\n middleName: userForm.fields.middleName,\r\n lastName: userForm.fields.lastName,\r\n emailAddress: userForm.fields.emailAddress,\r\n // Combine current and remaining project rights\r\n rights: [\r\n currentProjectRights.value as EmployerAccountRightsDto,\r\n ...(projectRights.value || []),\r\n ],\r\n };\r\n api\r\n .employerAccountManagementAddEmployerAccount(request)\r\n .then(() => {\r\n // Return to user account overview\r\n router.push({ name: \"user-management\" });\r\n })\r\n .catch((err) => {\r\n userForm.errors = err.response.data.errors;\r\n });\r\n }\r\n\r\n async function addRightToExistingAccount() {\r\n api\r\n .employerAccountManagementAddRightsToExistingAccount({\r\n accountId: userId || 0,\r\n newRight: currentProjectRights.value as EmployerAccountRightsDto4,\r\n })\r\n .then(() => {\r\n // Return to user account overview\r\n router.push({ name: \"user-management\" });\r\n })\r\n .catch(() => {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n \"Er is een fout opgetreden bij het bijwerken van de projectrechten\"\r\n );\r\n });\r\n }\r\n\r\n async function onSubmit() {\r\n if (userForm.isValid && mode.value === Mode.NEW) {\r\n // New user\r\n await createUser();\r\n } else if (\r\n userForm.isValid &&\r\n mode.value === Mode.APPEND_PROJECTRIGHT_TO_EXISTING\r\n ) {\r\n await addRightToExistingAccount();\r\n } else if (userForm.isValid) {\r\n // Update user\r\n await updateUser();\r\n }\r\n }\r\n\r\n function getCurrentProjectId() {\r\n return Store.getters[\"User/getSelectedProject\"].projectId || undefined;\r\n }\r\n\r\n function getCurrentProject() {\r\n return Store.getters[\"User/getSelectedProject\"];\r\n }\r\n\r\n async function getEmployer(id: number | null): Promise {\r\n let { accountId } = Store.getters[\"User/getUser\"];\r\n\r\n if (accountId !== id) {\r\n accountId = id;\r\n // Editing someone else's account\r\n ownAccount.value = false;\r\n }\r\n await api\r\n .employerAccountManagementGetEmployer(accountId)\r\n .then((response) => {\r\n userData.value = response.data;\r\n\r\n // Determine current project and set isEnabled to true\r\n currentProjectRights.value = userData.value.rights\r\n ?.filter((rights) => rights.projectId === getCurrentProjectId())\r\n .map((rights) => {\r\n return {\r\n ...rights,\r\n isEnabled: true,\r\n authorize: rights.authorize || false,\r\n userManagement: rights.userManagement || false,\r\n confirmationMails: rights.confirmationMails || false,\r\n subscriptionCopy: rights.subscriptionCopy || false,\r\n deleteUser: false,\r\n } as RightsTable;\r\n })[0];\r\n\r\n // Determine remaining projects\r\n projectRights.value = userData.value.rights\r\n ?.filter((rights) => rights.projectId !== getCurrentProjectId())\r\n .map((rights) => {\r\n return {\r\n ...rights,\r\n isEnabled:\r\n rights.authorize ||\r\n rights.userManagement ||\r\n rights.confirmationMails ||\r\n rights.subscriptionCopy ||\r\n false,\r\n authorize: rights.authorize || false,\r\n userManagement: rights.userManagement || false,\r\n confirmationMails: rights.confirmationMails || false,\r\n subscriptionCopy: rights.subscriptionCopy || false,\r\n deleteUser: false,\r\n } as RightsTable;\r\n });\r\n });\r\n }\r\n\r\n function getProjectById(id: number) {\r\n const project = allProjects.value.filter((p) => p.projectId === id);\r\n return project.length ? project[0].projectNumber : \"Onbekend\";\r\n }\r\n\r\n function checkProjectRights(index?: number) {\r\n let rights = currentProjectRights.value;\r\n if (index !== undefined) {\r\n rights = projectRights.value && projectRights.value[index];\r\n }\r\n\r\n if (!rights) {\r\n vm.root.$emit(\r\n \"snackbar\",\r\n \"Something went wrong, please try again later\",\r\n \"warning\"\r\n );\r\n return;\r\n }\r\n\r\n // If all setting are unchecked, isEnabled is set to false and delete is set to true.\r\n if (\r\n rights.authorize === false &&\r\n rights.confirmationMails === false &&\r\n rights.userManagement === false &&\r\n rights.subscriptionCopy === false\r\n ) {\r\n rights.deleteUser = true;\r\n rights.isEnabled = false;\r\n } else {\r\n rights.deleteUser = false;\r\n rights.isEnabled = true;\r\n }\r\n }\r\n\r\n function checkProjectRightsEnabled(index?: number) {\r\n let rights = currentProjectRights.value;\r\n if (index !== undefined) {\r\n rights = projectRights.value && projectRights.value[index];\r\n }\r\n // If isEnabled is false, disable all checkboxes\r\n if (rights && !rights?.isEnabled) {\r\n // Show message that user can't login whilst this is disabled\r\n vm.root.$emit(\"snackbar\", i18n.t(\"user.notice\"), \"warning\");\r\n rights.authorize = false;\r\n rights.confirmationMails = false;\r\n rights.userManagement = false;\r\n rights.subscriptionCopy = false;\r\n rights.deleteUser = true;\r\n }\r\n }\r\n\r\n function checkAvailableUsers() {\r\n const users = availableUsers.value.filter((it) => {\r\n const found =\r\n userForm.fields.emailAddress &&\r\n it.emailAddress === userForm.fields.emailAddress;\r\n if (found) {\r\n userForm.fields.firstName = it.firstName ?? \"\";\r\n userForm.fields.lastName = it.lastName ?? \"\";\r\n userForm.fields.middleName = it.middleName ?? \"\";\r\n }\r\n return found;\r\n });\r\n userFound.value = users.length > 0 ? users[0] : undefined;\r\n\r\n showUserFoundDialog.value = users.length > 0;\r\n }\r\n\r\n async function getProjectManagement() {\r\n const {\r\n data,\r\n } = await api.employerAccountManagementGetUserProjectsHasProjectManagement();\r\n userProjectsHasProjectManagement.value = data;\r\n }\r\n\r\n async function getProjectAccountsOfProjectAccount() {\r\n const {\r\n data,\r\n } = await api.employerAccountManagementGetProjectAccountsOfProjectAccount(\r\n getCurrentProjectId()\r\n );\r\n\r\n availableUsers.value = data;\r\n autoComplete.value = data.map(\r\n (it) =>\r\n ({\r\n email: it.emailAddress,\r\n firstName: it.firstName,\r\n lastName: it.lastName,\r\n disabled: false,\r\n } as AutoCompleteItem)\r\n );\r\n }\r\n\r\n async function createRightsTable() {\r\n projectRights.value = [];\r\n allProjects.value.forEach((proj) => {\r\n if (\r\n proj.projectId === Store.getters[\"User/getSelectedProject\"].projectId\r\n ) {\r\n // This is the current project\r\n currentProjectRights.value = {\r\n projectId: proj.projectId || 0,\r\n isEnabled: true,\r\n authorize: false,\r\n confirmationMails: false,\r\n userManagement: false,\r\n subscriptionCopy: false,\r\n projectName: proj.name,\r\n deleteUser: false,\r\n };\r\n } else {\r\n const rt = {\r\n projectId: proj.projectId || 0,\r\n projectName: proj.name,\r\n isEnabled: false,\r\n authorize: false,\r\n confirmationMails: false,\r\n userManagement: false,\r\n subscriptionCopy: false,\r\n deleteUser: false,\r\n } as RightsTable;\r\n if (projectRights.value) {\r\n projectRights.value.push(rt);\r\n }\r\n }\r\n });\r\n\r\n await getProjectAccountsOfProjectAccount();\r\n }\r\n\r\n async function loadUser(id: number) {\r\n await getEmployer(id);\r\n await getProjectManagement();\r\n\r\n // Do not show \"null\" when no name is present.\r\n let contactName = \"\";\r\n if (userData.value.firstName && userData.value.lastName) {\r\n if (userData.value.middleName) {\r\n contactName = `${userData.value.firstName} ${userData.value.middleName} ${userData.value.lastName}`;\r\n }\r\n contactName = `${userData.value.firstName} ${userData.value.lastName}`;\r\n }\r\n\r\n mode.value = Mode.EDIT;\r\n userForm.fields.firstName = userData.value.firstName || \"\";\r\n userForm.fields.middleName = userData.value.middleName || \"\";\r\n userForm.fields.lastName = userData.value.lastName || \"\";\r\n userForm.fields.emailAddress = userData.value.emailAddress || \"\";\r\n userForm.fields.customSignature = userData.value.customSignature || false;\r\n userForm.fields.signatureLine1 = userData.value.signatureLine1 || \"\";\r\n userForm.fields.signatureLine2 = userData.value.signatureLine2 || \"\";\r\n userForm.fields.isAccountActive = !userData.value.isDisabled;\r\n\r\n if (userForm.fields.customSignature === false) {\r\n userForm.fields.signatureLine1 = contactName;\r\n userForm.fields.signatureLine2 = userData.value.emailAddress || \"\";\r\n }\r\n }\r\n\r\n async function assignAccount() {\r\n if (!userFound.value?.accountId) {\r\n return;\r\n }\r\n\r\n if (userFound.value?.firstName) {\r\n userForm.fields.firstName = userFound.value.firstName;\r\n }\r\n if (userFound.value?.lastName) {\r\n userForm.fields.lastName = userFound.value.lastName;\r\n }\r\n if (userFound.value?.emailAddress) {\r\n userForm.fields.emailAddress = userFound.value.emailAddress;\r\n }\r\n\r\n userId = userFound.value?.accountId;\r\n allProjects.value = Store.getters[\"User/getProjects\"];\r\n await loadUser(userId);\r\n\r\n const currentProject = getCurrentProject();\r\n\r\n // This is the current project\r\n currentProjectRights.value = {\r\n projectId: currentProject.projectId || 0,\r\n isEnabled: true,\r\n authorize: false,\r\n confirmationMails: false,\r\n userManagement: false,\r\n subscriptionCopy: false,\r\n projectName: currentProject.name,\r\n deleteUser: false,\r\n };\r\n\r\n projectRights.value = undefined;\r\n\r\n mode.value = Mode.APPEND_PROJECTRIGHT_TO_EXISTING;\r\n // cancel dialog\r\n showUserFoundDialog.value = false;\r\n }\r\n\r\n onMounted(async () => {\r\n userId = parseInt(vm.root.$route.params.id, 0) || null;\r\n allProjects.value = Store.getters[\"User/getProjects\"];\r\n // If the page is in 'Edit' mode, prefill the form with user data\r\n if (userId) {\r\n await loadUser(userId);\r\n } else {\r\n await getProjectManagement();\r\n await createRightsTable();\r\n }\r\n });\r\n\r\n return {\r\n allProjects,\r\n currentProjectRights,\r\n getProjectById,\r\n Mode,\r\n mode,\r\n onSubmit,\r\n ownAccount,\r\n userRights,\r\n projectRights,\r\n mapValidationErrors,\r\n userForm,\r\n checkProjectRights,\r\n checkProjectRightsEnabled,\r\n checkAvailableUsers,\r\n userFound,\r\n hasUserFound: showUserFoundDialog,\r\n assignAccount,\r\n availableUsers,\r\n autoComplete,\r\n userProjectsHasProjectManagement,\r\n };\r\n },\r\n});\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddUser.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddUser.vue?vue&type=script&lang=ts&\"","// Styles\nimport './VAutocomplete.sass'\n\n// Extensions\nimport VSelect, { defaultMenuProps as VSelectMenuProps } from '../VSelect/VSelect'\nimport VTextField from '../VTextField/VTextField'\n\n// Utilities\nimport mergeData from '../../util/mergeData'\nimport {\n getObjectValueByPath,\n getPropertyFromItem,\n keyCodes,\n} from '../../util/helpers'\n\n// Types\nimport { PropType } from 'vue'\n\nconst defaultMenuProps = {\n ...VSelectMenuProps,\n offsetY: true,\n offsetOverflow: true,\n transition: false,\n}\n\n/* @vue/component */\nexport default VSelect.extend({\n name: 'v-autocomplete',\n\n props: {\n allowOverflow: {\n type: Boolean,\n default: true,\n },\n autoSelectFirst: {\n type: Boolean,\n default: false,\n },\n filter: {\n type: Function,\n default: (item: any, queryText: string, itemText: string) => {\n return itemText.toLocaleLowerCase().indexOf(queryText.toLocaleLowerCase()) > -1\n },\n },\n hideNoData: Boolean,\n menuProps: {\n type: VSelect.options.props.menuProps.type,\n default: () => defaultMenuProps,\n },\n noFilter: Boolean,\n searchInput: {\n type: String as PropType,\n default: undefined,\n },\n },\n\n data () {\n return {\n lazySearch: this.searchInput,\n }\n },\n\n computed: {\n classes (): object {\n return {\n ...VSelect.options.computed.classes.call(this),\n 'v-autocomplete': true,\n 'v-autocomplete--is-selecting-index': this.selectedIndex > -1,\n }\n },\n computedItems (): object[] {\n return this.filteredItems\n },\n selectedValues (): object[] {\n return this.selectedItems.map(item => this.getValue(item))\n },\n hasDisplayedItems (): boolean {\n return this.hideSelected\n ? this.filteredItems.some(item => !this.hasItem(item))\n : this.filteredItems.length > 0\n },\n currentRange (): number {\n if (this.selectedItem == null) return 0\n\n return String(this.getText(this.selectedItem)).length\n },\n filteredItems (): object[] {\n if (!this.isSearching || this.noFilter || this.internalSearch == null) return this.allItems\n\n return this.allItems.filter(item => {\n const value = getPropertyFromItem(item, this.itemText)\n const text = value != null ? String(value) : ''\n\n return this.filter(item, String(this.internalSearch), text)\n })\n },\n internalSearch: {\n get (): string | undefined {\n return this.lazySearch\n },\n set (val: any) {\n this.lazySearch = val\n\n this.$emit('update:search-input', val)\n },\n },\n isAnyValueAllowed (): boolean {\n return false\n },\n isDirty (): boolean {\n return this.searchIsDirty || this.selectedItems.length > 0\n },\n isSearching (): boolean {\n return (\n this.multiple &&\n this.searchIsDirty\n ) || (\n this.searchIsDirty &&\n this.internalSearch !== this.getText(this.selectedItem)\n )\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems || !this.hideNoData\n },\n $_menuProps (): object {\n const props = VSelect.options.computed.$_menuProps.call(this);\n (props as any).contentClass = `v-autocomplete__content ${(props as any).contentClass || ''}`.trim()\n return {\n ...defaultMenuProps,\n ...props,\n }\n },\n searchIsDirty (): boolean {\n return this.internalSearch != null &&\n this.internalSearch !== ''\n },\n selectedItem (): any {\n if (this.multiple) return null\n\n return this.selectedItems.find(i => {\n return this.valueComparator(this.getValue(i), this.getValue(this.internalValue))\n })\n },\n listData () {\n const data = VSelect.options.computed.listData.call(this) as any\n\n data.props = {\n ...data.props,\n items: this.virtualizedItems,\n noFilter: (\n this.noFilter ||\n !this.isSearching ||\n !this.filteredItems.length\n ),\n searchInput: this.internalSearch,\n }\n\n return data\n },\n },\n\n watch: {\n filteredItems: 'onFilteredItemsChanged',\n internalValue: 'setSearch',\n isFocused (val) {\n if (val) {\n document.addEventListener('copy', this.onCopy)\n this.$refs.input && this.$refs.input.select()\n } else {\n document.removeEventListener('copy', this.onCopy)\n this.updateSelf()\n }\n },\n isMenuActive (val) {\n if (val || !this.hasSlot) return\n\n this.lazySearch = undefined\n },\n items (val, oldVal) {\n // If we are focused, the menu\n // is not active, hide no data is enabled,\n // and items change\n // User is probably async loading\n // items, try to activate the menu\n if (\n !(oldVal && oldVal.length) &&\n this.hideNoData &&\n this.isFocused &&\n !this.isMenuActive &&\n val.length\n ) this.activateMenu()\n },\n searchInput (val: string) {\n this.lazySearch = val\n },\n internalSearch: 'onInternalSearchChanged',\n itemText: 'updateSelf',\n },\n\n created () {\n this.setSearch()\n },\n\n methods: {\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n // TODO: How is the watcher triggered\n // for duplicate items? no idea\n if (val === oldVal) return\n\n this.setMenuIndex(-1)\n\n this.$nextTick(() => {\n if (\n !this.internalSearch ||\n (val.length !== 1 &&\n !this.autoSelectFirst)\n ) return\n\n this.$refs.menu.getTiles()\n this.setMenuIndex(0)\n })\n },\n onInternalSearchChanged () {\n this.updateMenuDimensions()\n },\n updateMenuDimensions () {\n // Type from menuable is not making it through\n this.isMenuActive && this.$refs.menu && this.$refs.menu.updateDimensions()\n },\n changeSelectedIndex (keyCode: number) {\n // Do not allow changing of selectedIndex\n // when search is dirty\n if (this.searchIsDirty) return\n\n if (this.multiple && keyCode === keyCodes.left) {\n if (this.selectedIndex === -1) {\n this.selectedIndex = this.selectedItems.length - 1\n } else {\n this.selectedIndex--\n }\n } else if (this.multiple && keyCode === keyCodes.right) {\n if (this.selectedIndex >= this.selectedItems.length - 1) {\n this.selectedIndex = -1\n } else {\n this.selectedIndex++\n }\n } else if (keyCode === keyCodes.backspace || keyCode === keyCodes.delete) {\n this.deleteCurrentItem()\n }\n },\n deleteCurrentItem () {\n const curIndex = this.selectedIndex\n const curItem = this.selectedItems[curIndex]\n\n // Do nothing if input or item is disabled\n if (\n !this.isInteractive ||\n this.getDisabled(curItem)\n ) return\n\n const lastIndex = this.selectedItems.length - 1\n\n // Select the last item if\n // there is no selection\n if (\n this.selectedIndex === -1 &&\n lastIndex !== 0\n ) {\n this.selectedIndex = lastIndex\n\n return\n }\n\n const length = this.selectedItems.length\n const nextIndex = curIndex !== length - 1\n ? curIndex\n : curIndex - 1\n const nextItem = this.selectedItems[nextIndex]\n\n if (!nextItem) {\n this.setValue(this.multiple ? [] : undefined)\n } else {\n this.selectItem(curItem)\n }\n\n this.selectedIndex = nextIndex\n },\n clearableCallback () {\n this.internalSearch = undefined\n\n VSelect.options.methods.clearableCallback.call(this)\n },\n genInput () {\n const input = VTextField.options.methods.genInput.call(this)\n\n input.data = mergeData(input.data!, {\n attrs: {\n 'aria-activedescendant': getObjectValueByPath(this.$refs.menu, 'activeTile.id'),\n autocomplete: getObjectValueByPath(input.data!, 'attrs.autocomplete', 'off'),\n },\n domProps: { value: this.internalSearch },\n })\n\n return input\n },\n genInputSlot () {\n const slot = VSelect.options.methods.genInputSlot.call(this)\n\n slot.data!.attrs!.role = 'combobox'\n\n return slot\n },\n genSelections () {\n return this.hasSlot || this.multiple\n ? VSelect.options.methods.genSelections.call(this)\n : []\n },\n onClick (e: MouseEvent) {\n if (!this.isInteractive) return\n\n this.selectedIndex > -1\n ? (this.selectedIndex = -1)\n : this.onFocus()\n\n if (!this.isAppendInner(e.target)) this.activateMenu()\n },\n onInput (e: Event) {\n if (\n this.selectedIndex > -1 ||\n !e.target\n ) return\n\n const target = e.target as HTMLInputElement\n const value = target.value\n\n // If typing and menu is not currently active\n if (target.value) this.activateMenu()\n\n this.internalSearch = value\n this.badInput = target.validity && target.validity.badInput\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n VSelect.options.methods.onKeyDown.call(this, e)\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onSpaceDown (e: KeyboardEvent) { /* noop */ },\n onTabDown (e: KeyboardEvent) {\n VSelect.options.methods.onTabDown.call(this, e)\n this.updateSelf()\n },\n onUpDown (e: Event) {\n // Prevent screen from scrolling\n e.preventDefault()\n\n // For autocomplete / combobox, cycling\n // interfers with native up/down behavior\n // instead activate the menu\n this.activateMenu()\n },\n selectItem (item: object) {\n VSelect.options.methods.selectItem.call(this, item)\n this.setSearch()\n },\n setSelectedItems () {\n VSelect.options.methods.setSelectedItems.call(this)\n\n // #4273 Don't replace if searching\n // #4403 Don't replace if focused\n if (!this.isFocused) this.setSearch()\n },\n setSearch () {\n // Wait for nextTick so selectedItem\n // has had time to update\n this.$nextTick(() => {\n if (\n !this.multiple ||\n !this.internalSearch ||\n !this.isMenuActive\n ) {\n this.internalSearch = (\n !this.selectedItems.length ||\n this.multiple ||\n this.hasSlot\n )\n ? null\n : this.getText(this.selectedItem)\n }\n })\n },\n updateSelf () {\n if (!this.searchIsDirty &&\n !this.internalValue\n ) return\n\n if (!this.valueComparator(\n this.internalSearch,\n this.getValue(this.internalValue)\n )) {\n this.setSearch()\n }\n },\n hasItem (item: any) {\n return this.selectedValues.indexOf(this.getValue(item)) > -1\n },\n onCopy (event: ClipboardEvent) {\n if (this.selectedIndex === -1) return\n\n const currentItem = this.selectedItems[this.selectedIndex]\n const currentItemText = this.getText(currentItem)\n event.clipboardData!.setData('text/plain', currentItemText)\n event.clipboardData!.setData('text/vnd.vuetify.autocomplete.item+plain', currentItemText)\n event.preventDefault()\n },\n },\n})\n","// Styles\nimport '../VAutocomplete/VAutocomplete.sass'\n\n// Extensions\nimport VSelect from '../VSelect/VSelect'\nimport VAutocomplete from '../VAutocomplete/VAutocomplete'\n\n// Utils\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { PropType } from 'vue'\n\n/* @vue/component */\nexport default VAutocomplete.extend({\n name: 'v-combobox',\n\n props: {\n delimiters: {\n type: Array as PropType,\n default: () => ([]),\n },\n returnObject: {\n type: Boolean,\n default: true,\n },\n },\n\n data: () => ({\n editingIndex: -1,\n }),\n\n computed: {\n computedCounterValue (): number {\n return this.multiple\n ? this.selectedItems.length\n : (this.internalSearch || '').toString().length\n },\n hasSlot (): boolean {\n return VSelect.options.computed.hasSlot.call(this) || this.multiple\n },\n isAnyValueAllowed (): boolean {\n return true\n },\n menuCanShow (): boolean {\n if (!this.isFocused) return false\n\n return this.hasDisplayedItems ||\n (!!this.$slots['no-data'] && !this.hideNoData)\n },\n },\n\n methods: {\n onInternalSearchChanged (val: any) {\n if (\n val &&\n this.multiple &&\n this.delimiters.length\n ) {\n const delimiter = this.delimiters.find(d => val.endsWith(d))\n if (delimiter != null) {\n this.internalSearch = val.slice(0, val.length - delimiter.length)\n this.updateTags()\n }\n }\n\n this.updateMenuDimensions()\n },\n genInput () {\n const input = VAutocomplete.options.methods.genInput.call(this)\n\n delete input.data!.attrs!.name\n input.data!.on!.paste = this.onPaste\n\n return input\n },\n genChipSelection (item: object, index: number) {\n const chip = VSelect.options.methods.genChipSelection.call(this, item, index)\n\n // Allow user to update an existing value\n if (this.multiple) {\n chip.componentOptions!.listeners! = {\n ...chip.componentOptions!.listeners!,\n dblclick: () => {\n this.editingIndex = index\n this.internalSearch = this.getText(item)\n this.selectedIndex = -1\n },\n }\n }\n\n return chip\n },\n onChipInput (item: object) {\n VSelect.options.methods.onChipInput.call(this, item)\n\n this.editingIndex = -1\n },\n // Requires a manual definition\n // to overwrite removal in v-autocomplete\n onEnterDown (e: Event) {\n e.preventDefault()\n // If has menu index, let v-select-list handle\n if (this.getMenuIndex() > -1) return\n\n this.$nextTick(this.updateSelf)\n },\n onFilteredItemsChanged (val: never[], oldVal: never[]) {\n if (!this.autoSelectFirst) return\n\n VAutocomplete.options.methods.onFilteredItemsChanged.call(this, val, oldVal)\n },\n onKeyDown (e: KeyboardEvent) {\n const keyCode = e.keyCode\n\n VSelect.options.methods.onKeyDown.call(this, e)\n\n // If user is at selection index of 0\n // create a new tag\n if (this.multiple &&\n keyCode === keyCodes.left &&\n this.$refs.input.selectionStart === 0\n ) {\n this.updateSelf()\n } else if (keyCode === keyCodes.enter) {\n this.onEnterDown(e)\n }\n\n // The ordering is important here\n // allows new value to be updated\n // and then moves the index to the\n // proper location\n this.changeSelectedIndex(keyCode)\n },\n onTabDown (e: KeyboardEvent) {\n // When adding tags, if searching and\n // there is not a filtered options,\n // add the value to the tags list\n if (this.multiple &&\n this.internalSearch &&\n this.getMenuIndex() === -1\n ) {\n e.preventDefault()\n e.stopPropagation()\n\n return this.updateTags()\n }\n\n VAutocomplete.options.methods.onTabDown.call(this, e)\n },\n selectItem (item: object) {\n // Currently only supports items:\n if (this.editingIndex > -1) {\n this.updateEditing()\n } else {\n VAutocomplete.options.methods.selectItem.call(this, item)\n }\n },\n setSelectedItems () {\n if (this.internalValue == null ||\n this.internalValue === ''\n ) {\n this.selectedItems = []\n } else {\n this.selectedItems = this.multiple ? this.internalValue : [this.internalValue]\n }\n },\n setValue (value?: any) {\n VSelect.options.methods.setValue.call(this, value != null ? value : this.internalSearch)\n },\n updateEditing () {\n const value = this.internalValue.slice()\n value[this.editingIndex] = this.internalSearch\n\n this.setValue(value)\n\n this.editingIndex = -1\n },\n updateCombobox () {\n const isUsingSlot = Boolean(this.$scopedSlots.selection) || this.hasChips\n\n // If search is not dirty and is\n // using slot, do nothing\n if (isUsingSlot && !this.searchIsDirty) return\n\n // The internal search is not matching\n // the internal value, update the input\n if (this.internalSearch !== this.getText(this.internalValue)) this.setValue()\n\n // Reset search if using slot\n // to avoid a double input\n if (isUsingSlot) this.internalSearch = undefined\n },\n updateSelf () {\n this.multiple ? this.updateTags() : this.updateCombobox()\n },\n updateTags () {\n const menuIndex = this.getMenuIndex()\n\n // If the user is not searching\n // and no menu item is selected\n // do nothing\n if (menuIndex < 0 &&\n !this.searchIsDirty\n ) return\n\n if (this.editingIndex > -1) {\n return this.updateEditing()\n }\n\n const index = this.selectedItems.indexOf(this.internalSearch)\n // If it already exists, do nothing\n // this might need to change to bring\n // the duplicated item to the last entered\n if (index > -1) {\n const internalValue = this.internalValue.slice()\n internalValue.splice(index, 1)\n\n this.setValue(internalValue)\n }\n\n // If menu index is greater than 1\n // the selection is handled elsewhere\n // TODO: find out where\n if (menuIndex > -1) return (this.internalSearch = null)\n\n this.selectItem(this.internalSearch)\n this.internalSearch = null\n },\n onPaste (event: ClipboardEvent) {\n if (!this.multiple || this.searchIsDirty) return\n\n const pastedItemText = event.clipboardData!.getData('text/vnd.vuetify.autocomplete.item+plain')\n if (pastedItemText && this.findExistingIndex(pastedItemText as any) === -1) {\n event.preventDefault()\n VSelect.options.methods.selectItem.call(this, pastedItemText as any)\n }\n },\n },\n})\n","import './VTooltip.sass'\n\n// Mixins\nimport Activatable from '../../mixins/activatable'\nimport Colorable from '../../mixins/colorable'\nimport Delayable from '../../mixins/delayable'\nimport Dependent from '../../mixins/dependent'\nimport Detachable from '../../mixins/detachable'\nimport Menuable from '../../mixins/menuable'\nimport Toggleable from '../../mixins/toggleable'\n\n// Helpers\nimport { convertToUnit, keyCodes, getSlotType } from '../../util/helpers'\nimport { consoleError } from '../../util/console'\n\n// Types\nimport { VNode } from 'vue'\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(Colorable, Delayable, Dependent, Detachable, Menuable, Toggleable).extend({\n name: 'v-tooltip',\n\n props: {\n closeDelay: {\n type: [Number, String],\n default: 0,\n },\n disabled: Boolean,\n fixed: {\n type: Boolean,\n default: true,\n },\n openDelay: {\n type: [Number, String],\n default: 0,\n },\n openOnHover: {\n type: Boolean,\n default: true,\n },\n tag: {\n type: String,\n default: 'span',\n },\n transition: String,\n zIndex: {\n default: null,\n },\n },\n\n data: () => ({\n calculatedMinWidth: 0,\n closeDependents: false,\n }),\n\n computed: {\n calculatedLeft (): string {\n const { activator, content } = this.dimensions\n const unknown = !this.bottom && !this.left && !this.top && !this.right\n const activatorLeft = this.attach !== false ? activator.offsetLeft : activator.left\n let left = 0\n\n if (this.top || this.bottom || unknown) {\n left = (\n activatorLeft +\n (activator.width / 2) -\n (content.width / 2)\n )\n } else if (this.left || this.right) {\n left = (\n activatorLeft +\n (this.right ? activator.width : -content.width) +\n (this.right ? 10 : -10)\n )\n }\n\n if (this.nudgeLeft) left -= parseInt(this.nudgeLeft)\n if (this.nudgeRight) left += parseInt(this.nudgeRight)\n\n return `${this.calcXOverflow(left, this.dimensions.content.width)}px`\n },\n calculatedTop (): string {\n const { activator, content } = this.dimensions\n const activatorTop = this.attach !== false ? activator.offsetTop : activator.top\n let top = 0\n\n if (this.top || this.bottom) {\n top = (\n activatorTop +\n (this.bottom ? activator.height : -content.height) +\n (this.bottom ? 10 : -10)\n )\n } else if (this.left || this.right) {\n top = (\n activatorTop +\n (activator.height / 2) -\n (content.height / 2)\n )\n }\n\n if (this.nudgeTop) top -= parseInt(this.nudgeTop)\n if (this.nudgeBottom) top += parseInt(this.nudgeBottom)\n\n return `${this.calcYOverflow(top + this.pageYOffset)}px`\n },\n classes (): object {\n return {\n 'v-tooltip--top': this.top,\n 'v-tooltip--right': this.right,\n 'v-tooltip--bottom': this.bottom,\n 'v-tooltip--left': this.left,\n 'v-tooltip--attached':\n this.attach === '' ||\n this.attach === true ||\n this.attach === 'attach',\n }\n },\n computedTransition (): string {\n if (this.transition) return this.transition\n\n return this.isActive ? 'scale-transition' : 'fade-transition'\n },\n offsetY (): boolean {\n return this.top || this.bottom\n },\n offsetX (): boolean {\n return this.left || this.right\n },\n styles (): object {\n return {\n left: this.calculatedLeft,\n maxWidth: convertToUnit(this.maxWidth),\n minWidth: convertToUnit(this.minWidth),\n opacity: this.isActive ? 0.9 : 0,\n top: this.calculatedTop,\n zIndex: this.zIndex || this.activeZIndex,\n }\n },\n },\n\n beforeMount () {\n this.$nextTick(() => {\n this.value && this.callActivate()\n })\n },\n\n mounted () {\n if (getSlotType(this, 'activator', true) === 'v-slot') {\n consoleError(`v-tooltip's activator slot must be bound, try '