\r\n \r\n \r\n {{ $tc(this.deletionType.i18n.deleteBtn, items.length) }}\r\n \r\n \r\n {{ $tc(\"massDeleteLimitMsg\", deletionType.limit) }}\r\n \r\n\r\n \r\n \r\n \r\n {{ $tc(\"confirmDeletion\", deleteTypeNumber) }}\r\n \r\n \r\n \r\n {{\r\n $t(deletionType.i18n.confirm, {\r\n itemType: $tc(\r\n this.deletionType.i18n.item,\r\n itemsToDelete.length\r\n ),\r\n count: itemsToDelete.length\r\n })\r\n }}\r\n \r\n \r\n {{\r\n $t(\"readOnlyItemsPresent\", {\r\n count: readOnlyItems.length,\r\n itemsPlur: $tc(\"itemsPlur\", readOnlyItems.length),\r\n singPlur: $tc(\"singPlur\", readOnlyItems.length)\r\n })\r\n }}\r\n \r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"cancel\") }}\r\n \r\n \r\n {{ $t(\"confirm\") }}\r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {{ $t(\"error\") }}\r\n \r\n \r\n \r\n {{ dialogErrorText }}\r\n \r\n \r\n \r\n \r\n \r\n {{ $t(\"ok\") }}\r\n \r\n \r\n \r\n \r\n
\r\n\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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MassDeletion.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MassDeletion.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MassDeletion.vue?vue&type=template&id=6106a3f1&scoped=true&\"\nimport script from \"./MassDeletion.vue?vue&type=script&lang=js&\"\nexport * from \"./MassDeletion.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MassDeletion.vue?vue&type=style&index=0&id=6106a3f1&prod&scoped=true&lang=css&\"\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 \"6106a3f1\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/af.cdc9de92.svg\";","module.exports = __webpack_public_path__ + \"img/mw.66944c9f.svg\";","module.exports = __webpack_public_path__ + \"img/bv.3f45dc93.svg\";","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',{attrs:{\"loading\":!_vm.contact || !_vm.defaultCountryPhoneCode || _vm.saving || _vm.loading}},[(_vm.contact)?_c('v-card-title',{staticClass:\"display-1\"},[(_vm.newContact)?_c('span',[_vm._v(\" \"+_vm._s(_vm.$t(\"createNewContact\"))+\" \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.contact.Navn)+\" \")])]):_vm._e(),(_vm.contact && _vm.defaultCountryPhoneCode)?_c('v-card-text',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.saving),expression:\"!saving\"}]},[_c('v-form',{attrs:{\"autocomplete\":\"off\"},model:{value:(_vm.formValid),callback:function ($$v) {_vm.formValid=$$v},expression:\"formValid\"}},[_c('v-container',[_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":_vm.$t('name'),\"outlined\":\"\",\"maxlength\":\"50\",\"rules\":_vm.requiredFieldRule,\"autofocus\":\"\",\"data-testid\":\"contactDetailsName\"},model:{value:(_vm.contact.Navn),callback:function ($$v) {_vm.$set(_vm.contact, \"Navn\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"contact.Navn\"}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"md\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":_vm.createOptionalLabelText(_vm.$t('jobTitle')),\"outlined\":\"\",\"maxlength\":\"50\",\"data-testid\":\"contactDetailsTitle\"},model:{value:(_vm.contact.Stilling),callback:function ($$v) {_vm.$set(_vm.contact, \"Stilling\", (typeof $$v === 'string'? $$v.trim(): $$v))},expression:\"contact.Stilling\"}})],1)],1),_c('v-row',{staticClass:\"mt-n6 mb-n2\"},[_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('v-text-field',{attrs:{\"label\":_vm.createOptionalLabelText(_vm.$t('otherInfo')),\"outlined\":\"\",\"maxlength\":\"512\",\"data-testid\":\"contactDetailsOther\"},model:{value:(_vm.contact.Kommentar),callback:function ($$v) {_vm.$set(_vm.contact, \"Kommentar\", $$v)},expression:\"contact.Kommentar\"}})],1),_c('v-col',{attrs:{\"cols\":\"6\"}},[_c('DepartmentSelect',{attrs:{\"init-department\":_vm.contact.Avdeling,\"optional-hint\":true,\"data-testid\":\"contactDetailsDepSelect\"},on:{\"change\":_vm.setDepartment}})],1)],1),_c('v-row',[_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"6\"}},[_c('ContactDataManagement',{attrs:{\"contact\":_vm.contact,\"data-testid\":\"contactDetailsContactData\"},on:{\"change\":_vm.setContactData}})],1),_c('v-col',{attrs:{\"cols\":\"12\",\"sm\":\"12\",\"lg\":\"6\"}},[(_vm.groups && !_vm.groupId)?_c('ContactGroupsManagement',{attrs:{\"init-selected-groups\":_vm.groups},on:{\"change\":_vm.setGroups}}):_vm._e(),_c('v-card',{staticClass:\"mt-4\"},[_c('v-card-title',[_vm._v(\" \"+_vm._s(_vm.createOptionalLabelText(_vm.$t(\"deputies\")))+\" \")]),_c('v-card-text',[_c('p',[_vm._v(\" \"+_vm._s(_vm.$t(\"deputyInfo\", { targetContactName: _vm.contact.Navn }))+\" \")]),_c('v-card',[_c('v-card-title',{staticClass:\"subtitle-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"deputy\"))+\" 1 \")]),_c('v-card-text',[_c('DeputySelect',{attrs:{\"target-contact\":_vm.contact,\"init-selected-deputy-id\":_vm.contact.Vikar1,\"data-testid\":\"contactDetailsDep1\"},on:{\"select\":_vm.setDeputy1}})],1)],1),_c('br'),_c('v-card',[_c('v-card-title',{staticClass:\"subtitle-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"deputy\"))+\" 2 \")]),_c('v-card-text',[_c('DeputySelect',{attrs:{\"target-contact\":_vm.contact,\"init-selected-deputy-id\":_vm.contact.Vikar2},on:{\"select\":_vm.setDeputy2}})],1)],1)],1)],1)],1)],1)],1)],1)],1):_vm._e(),_c('v-card-actions',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.saving),expression:\"!saving\"}]},[(!_vm.newContact)?_c('v-btn',{staticClass:\"error\",attrs:{\"small\":\"\",\"data-testid\":\"contactDetailsDelete\"},on:{\"click\":function($event){_vm.dialogDelete = true}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"deleteContact\"))+\" \")]):_vm._e(),_c('v-spacer'),_c('v-btn',{attrs:{\"data-testid\":\"cancelContactsDetails\"},on:{\"click\":_vm.cancel}},[_vm._v(\" \"+_vm._s(_vm.$t(\"cancel\"))+\" \")]),(_vm.contact)?_c('v-btn',{staticClass:\"primary\",attrs:{\"type\":\"submit\",\"disabled\":!_vm.formValid,\"data-testid\":\"contactDetailsOk\"},on:{\"click\":_vm.validate}},[_vm._v(\" \"+_vm._s(_vm.$t(\"ok\"))+\" \")]):_vm._e()],1),(_vm.contact)?_c('v-dialog',{attrs:{\"max-width\":_vm.dialogWidth.small},model:{value:(_vm.dialogDelete),callback:function ($$v) {_vm.dialogDelete=$$v},expression:\"dialogDelete\"}},[_c('UserConfirm',{attrs:{\"title\":_vm.$t('deleteContact') + ' ' + _vm.contact.Navn + '?',\"text\":_vm.getDeleteConfirmText()},on:{\"cancel\":function($event){_vm.dialogDelete = false},\"ok\":_vm.deleteContact}})],1):_vm._e(),_c('v-dialog',{attrs:{\"max-width\":_vm.dialogWidth.small},model:{value:(_vm.dialogValMsg),callback:function ($$v) {_vm.dialogValMsg=$$v},expression:\"dialogValMsg\"}},[_c('UserWarning',{attrs:{\"title\":_vm.$t('warning'),\"text\":_vm.$t('contactDataValidationErr')},on:{\"ok\":function($event){_vm.dialogValMsg = false}}})],1),_c('v-dialog',{attrs:{\"max-width\":_vm.dialogWidth.small},model:{value:(_vm.dialogDepartmentRestriction),callback:function ($$v) {_vm.dialogDepartmentRestriction=$$v},expression:\"dialogDepartmentRestriction\"}},[_c('UserError',{on:{\"ok\":function($event){_vm.dialogDepartmentRestriction = false}},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_vm._v(\" \"+_vm._s(_vm.$t(\"noDepPermissionContact\"))+\" \")]},proxy:true}])})],1),_c('v-dialog',{attrs:{\"max-width\":_vm.dialogWidth.xLarge},model:{value:(_vm.dialogDuplicate),callback:function ($$v) {_vm.dialogDuplicate=$$v},expression:\"dialogDuplicate\"}},[_c('DuplicateContactsWarning',{key:_vm.keyDupeWarn,attrs:{\"contacts\":_vm.possibleDuplicates},on:{\"save\":_vm.save,\"cancel\":function($event){_vm.dialogDuplicate = false},\"change\":_vm.updatePossibleDupes}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',{attrs:{\"loading\":_vm.loading}},[_c('v-card-title',[_vm._v(_vm._s(_vm.$t(\"groups\")))]),_c('v-card-text',[(!_vm.loading && _vm.selectedGroups.length === 0)?_c('div',{staticClass:\"mb-4\"},[_c('i',[_vm._v(\" \"+_vm._s(_vm.$t(\"noGroupsUsr\"))+\" \")])]):_vm._e(),(_vm.groups)?_c('v-autocomplete',{attrs:{\"label\":_vm.$t('addRemoveGroups'),\"items\":_vm.groups,\"item-value\":\"Id\",\"item-text\":\"Navn\",\"outlined\":\"\",\"multiple\":\"\",\"chips\":\"\",\"deletable-chips\":\"\",\"return-object\":\"\",\"data-testid\":\"contactGroupsManage_Add\"},on:{\"change\":_vm.emitChange},model:{value:(_vm.selectedGroups),callback:function ($$v) {_vm.selectedGroups=$$v},expression:\"selectedGroups\"}}):_vm._e(),_c('v-btn',{attrs:{\"small\":\"\",\"data-testid\":\"contactGroupsManagmentBtn\"},on:{\"click\":_vm.createNewGroup}},[_c('v-icon',{attrs:{\"left\":\"\"}},[_vm._v(\"mdi-plus\")]),_vm._v(\" \"+_vm._s(_vm.$t(\"createNewGroup\"))+\" \")],1)],1),(_vm.dialogNewGroup)?_c('v-dialog',{attrs:{\"max-width\":\"540\",\"persistent\":\"\",\"fullscreen\":_vm.$vuetify.breakpoint.xs},model:{value:(_vm.dialogNewGroup),callback:function ($$v) {_vm.dialogNewGroup=$$v},expression:\"dialogNewGroup\"}},[_c('NewGroupForm',{on:{\"cancel\":_vm.newGroupDialogCanceled,\"done\":_vm.newGroupDialogClosed}})],1):_vm._e()],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","