{"version":3,"sources":["webpack:///./src/views/Administration/Administration.vue?b049","webpack:///./src/views/Administration/Administration.vue?7e30","webpack:///./src/views/Administration/Administration.vue?c28f","webpack:///./src/views/Administration/Administration.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","kunden_admin","lizenzkunde","staticStyle","_e","mode","OnPremise","class","active","$router","currentRoute","name","attrs","path","startsWith","query","adminMode","kundenname","staticRenderFns","kundeList","userStore","hat_Berechtigung","created","kundeService","window","guardileo_mode","mounted","GetList","$store","state","user","currentUser","KundeId","kun","filter","Id","IstLizenzKunde","currentKunde","Firma","Administration","components","component"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,KAAK,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,qCAAsCT,EAAIU,cAAgBV,EAAIW,YAAaP,EAAG,IAAI,CAACQ,YAAY,CAAC,cAAc,aAAa,CAACZ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,+CAA+CT,EAAIa,KAAMb,EAAIU,eAAiBV,EAAIW,YAAaP,EAAG,IAAI,CAACQ,YAAY,CAAC,cAAc,aAAa,CAACZ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,4CAA4CT,EAAIa,KAAOb,EAAIU,aAAuHV,EAAIa,KAA7GT,EAAG,IAAI,CAACQ,YAAY,CAAC,cAAc,aAAa,CAACZ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,mCAA4CL,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAAGN,EAAIU,aAAmzFV,EAAIa,KAAzyFT,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAAGN,EAAIc,KAAKC,UAAwOf,EAAIa,KAAjOT,EAAG,cAAc,CAACE,YAAY,MAAMU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H,EAAG,MAAM,CAACE,YAAY,cAAc,CAACF,EAAG,gBAAgB,MACt5JuB,EAAkB,G,ogECgEtB,cAHA,2D,OAKY,EAAAC,UAAqB,GACrB,EAAAjB,aAAuB,EACvB,EAAAD,cAAe,EACf,EAAAmB,UAAwB,OACxB,EAAAH,WAA4B,KAC5B,EAAAZ,KAAmB,G,EAwB/B,OA/B4C,OASxC,sBAAI,qCAAsB,C,IAA1B,WACI,OAAOb,KAAK6B,iBAAiB,wC,gCAG3B,YAAAC,QAAN,W,0EACI9B,KAAK+B,aAAe,IAAI,OACxB/B,KAAKa,KAAamB,OAAQC,e,WAGxB,YAAAC,QAAN,W,2GACIlC,KAAKS,aAAeT,KAAK6B,iBAAiB,uCAA0C7B,KAAK6B,iBAAiB,8CAAgD7B,KAAK6B,iBAAiB,mCAE5K7B,KAAKS,cACL,EAAAT,KAAiB,GAAMA,KAAK+B,aAAaI,YADzC,M,cACA,EAAKR,UAAY,SACX,EAAM3B,KAAKoC,OAAOC,MAAMC,KAAKC,YAAYC,QACzCC,EAAMzC,KAAK2B,UAAUe,QAAO,SAAC,G,IAACC,EAAA,EAAAA,GAAQ,OAAAA,GAAM,KAAK,GACnDF,IAAKzC,KAAKU,YAAc+B,EAAIG,gB,aAEhC5C,KAAKU,YAAcV,KAAK4B,UAAUiB,aAAaD,eAC/C5C,KAAKyB,WAAazB,KAAK4B,UAAUiB,aAAaC,M,mCA5BrCC,EAAc,GAHlC,eAAU,CACPC,WAAY,MAEKD,GA+BrB,EA/BA,CAA4C,QAAvB,ICjEsV,I,YCOvWE,EAAY,eACd,EACAnD,EACA4B,GACA,EACA,KACA,KACA,MAIa,aAAAuB,E","file":"js/chunk-2d217724.a717a74d.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"content\"},[_c('h1',[_vm._v(_vm._s(_vm.$t('Administration.Administration')))]),(_vm.kunden_admin && _vm.lizenzkunde)?_c('p',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.$t('Administration.Introduction-lizenzkunde')))]):_vm._e(),(_vm.kunden_admin && !_vm.lizenzkunde)?_c('p',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.$t('Administration.Introduction-regkunde')))]):_vm._e(),(!_vm.kunden_admin)?_c('p',{staticStyle:{\"white-space\":\"pre-wrap\"}},[_vm._v(_vm._s(_vm.$t('Administration.Introduction')))]):_vm._e(),_c('div',{staticClass:\"tabstrip-wrapper\"},[(!_vm.kunden_admin)?_c('div',{staticClass:\"tabstrip pb-0\"},[(!_vm.mode.OnPremise)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-kundelist'},attrs:{\"to\":{name: 'administration-kundelist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Kunden')))]):_vm._e(),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-lizenzkundelist'},attrs:{\"to\":{name: 'administration-lizenzkundelist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Lizenzkunden')))]),(!_vm.mode.OnPremise)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-beraterlist'},attrs:{\"to\":{name: 'administration-beraterlist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Berater')))]):_vm._e(),(_vm.mode.OnPremise)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-beraterlist'},attrs:{\"to\":{name: 'administration-beraterlist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Administratoren')))]):_vm._e(),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-benutzerlist'},attrs:{\"to\":{name: 'administration-benutzerlist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Nutzer')))]),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.path.startsWith('/administration/einstellungen')},attrs:{\"to\":{name: 'administration-einstellungen'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Einstellungen')))]),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.path.startsWith('/administration/tomfragebogen')},attrs:{\"to\":{name: 'administration-tomfragebogen'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.TOM-Fragebogen')))]),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='administration-standardmustertexte'},attrs:{\"to\":{name: 'administration-standardmustertexte', query: {adminMode: true}},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Mustertexte')))]),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name === 'administration-emailverteiler'},attrs:{\"to\":{name: 'administration-emailverteiler'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.EmailVerteiler')))]),(_vm.betriebsadministration)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name ? _vm.$router.currentRoute.name.startsWith('administration-operations') : false},attrs:{\"to\":{name: 'administration-operations'},\"tag\":\"a\"}},[_vm._v(\"Operations\")]):_vm._e(),(_vm.betriebsadministration)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name ? _vm.$router.currentRoute.name.startsWith('administration-fetchtoy') : false},attrs:{\"to\":{name: 'administration-fetchtoy'},\"tag\":\"a\"}},[_vm._v(\"Fetchtoy\")]):_vm._e()],1):_vm._e(),_c('div',{staticClass:\"tabstrip\"},[(!_vm.kunden_admin)?_c('div',{staticClass:\"mr-1\",staticStyle:{\"align-self\":\"center\",\"padding-left\":\"9px\"}},[_vm._v(_vm._s(_vm.kundenname)+\": \")]):_vm._e(),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='verwaltung-benutzerlist'},attrs:{\"to\":{name: 'verwaltung-benutzerlist'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Kunde.Nutzer'))),(!_vm.kunden_admin)?_c('span',[_vm._v(\" (Kunde)\")]):_vm._e()]),(_vm.lizenzkunde && _vm.kunden_admin)?_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='verwaltung-zusatzfunktionen'},attrs:{\"to\":{name: 'verwaltung-zusatzfunktionen'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Kunde.Zusatzfunktionen')))]):_vm._e(),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.name==='verwaltung-standardvt'},attrs:{\"to\":{name: 'verwaltung-standardvt', query: {adminMode: true}},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Administration.Standard-Verarbeitungstätigkeiten'))),(!_vm.kunden_admin)?_c('span',[_vm._v(\" (Kunde)\")]):_vm._e()]),_c('router-link',{staticClass:\"tab\",class:{active: _vm.$router.currentRoute.path.startsWith('/verwaltung/listenkonfiguration')},attrs:{\"to\":{name: 'verwaltung-listenkonfiguration'},\"tag\":\"a\"}},[_vm._v(_vm._s(_vm.$t('Listenkonfiguration.Titel'))),(!_vm.kunden_admin)?_c('span',[_vm._v(\" (Kunde)\")]):_vm._e()])],1)]),_c('div',{staticClass:\"tabcontent\"},[_c('router-view')],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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\nimport { Component } from 'vue-property-decorator';\nimport { GuardileoVueComponent, hat_Berechtigung } from '@/lib';\nimport { Kunde } from \"@/models/kunde-model\";\nimport { KundeService } from \"@/services/kunde-service\";\nimport {UserModule, UserStore} from \"@/store/modules/currentuser-store\";\nimport { SystemMode } from '@/services/systemmode';\n\n@Component({\n components: {}\n})\nexport default class Administration extends GuardileoVueComponent {\n private kundeService!: KundeService;\n private kundeList: Kunde[] = [];\n private lizenzkunde: boolean = false;\n private kunden_admin = true;\n private userStore: UserModule = UserStore;\n private kundenname: string | null = null;\n private mode: SystemMode = {} as any;\n\n get betriebsadministration() {\n return this.hat_Berechtigung('Zugriff_betriebliche_Administration');\n }\n\n async created() {\n this.kundeService = new KundeService();\n this.mode = (window).guardileo_mode;\n }\n\n async mounted() {\n this.kunden_admin = this.hat_Berechtigung('Zugriff_Kundenselbstadministration') || (this.hat_Berechtigung('Zugriff_kundenspezifische_Administration') && !this.hat_Berechtigung('Zugriff_zentrale_Administration'));\n\n if (this.kunden_admin) {\n this.kundeList = await this.kundeService.GetList();\n const kid = this.$store.state.user.currentUser.KundeId;\n const kun = this.kundeList.filter(({Id}) => Id == kid)[0];\n if (kun) this.lizenzkunde = kun.IstLizenzKunde;\n } else {\n this.lizenzkunde = this.userStore.currentKunde.IstLizenzKunde;\n this.kundenname = this.userStore.currentKunde.Firma;\n }\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--12-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Administration.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/ts-loader/index.js??ref--12-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Administration.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Administration.vue?vue&type=template&id=5698677f&\"\nimport script from \"./Administration.vue?vue&type=script&lang=ts&\"\nexport * from \"./Administration.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}