{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.number.parse-int.js","webpack:///./src/pages/Gdpr/Edit/GdprEdit.html","webpack:///./src/components/PopupReport/PopupReport.html","webpack:///./src/components/PopupReport/PopupReport.vue","webpack:///./src/components/PopupReport/PopupReport.vue?e095","webpack:///./src/components/PopupReport/PopupReport.vue?fe34","webpack:///./src/components/PopupReport/index.ts","webpack:///./src/components/GdprReport/GdprReport.html","webpack:///./src/components/GdprReport/GdprReport.vue","webpack:///./src/components/GdprReport/GdprReport.vue?8882","webpack:///./src/components/GdprReport/GdprReport.vue?ba85","webpack:///./src/components/GdprReport/index.ts","webpack:///./src/pages/Gdpr/Edit/GdprEdit.vue","webpack:///./src/pages/Gdpr/Edit/GdprEdit.vue?81c7","webpack:///./src/pages/Gdpr/Edit/GdprEdit.vue?2bba","webpack:///./src/pages/Gdpr/Edit/index.ts","webpack:///./src/services/pdfGenerator.ts","webpack:///./node_modules/core-js/internals/number-parse-int.js"],"names":["$","parseInt","target","stat","forced","Number","attrs","items","scopedSlots","key","fn","_c","_ref2","_ref3","_ref4","_ref5","staticClass","on","_vm","showReport","directives","name","value","ref","deleteDialog","staticRenderFns","_self","model","callback","visible","expression","PopupReport","_Vue","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","_createClass","Vue","__decorate","PropSync","type","Boolean","required","Component","component","staticStyle","_v","GdprReport","dateNow","Date","concat","getDate","getMonth","getFullYear","Prop","Object","GdprEdit","_this","titleElements","selected","link","Routes","GdprSearch","selectedItemId","headers","text","sortable","filterable","this","paginationData","length","contact","setItems","getDataFromApi","_this2","loadContactsWithPagination","take","skip","then","getContactById","$route","params","id","_this3","filter","item","toString","flatMap","cases","caseModel","$router","push","CaseEdit","deleteCase","dateString","showTime","toLocaleString","year","month","day","second","hour","minute","toLocaleDateString","date","PrintFromHtmlA4","$refs","reportPdf","$el","innerHTML","replace","get","userHasClaims","DELETE_PERMISSION","components","DynamicTitle","ConfirmationDialog","IframeReport","computed","_objectSpread","contactModule","mapGetters","ContactGetters","PaginationData","isLoading","IsLoading","Contact","methods","mapActions","ContactActions","LoadContactsWithPagination","LoadContactById","mapMutations","setContact","ContactMutation","SetContact","casesModule","CasesActions","DeleteCase","widthA4","heightA4","a4Options","unit","format","src","filename","margin","undefined","doc","jsPDF","orientation","html","autoPaging","width","windowWidth","save","global","fails","uncurryThis","trim","whitespaces","$parseInt","Symbol","ITERATOR","iterator","hex","exec","FORCED","module","exports","string","radix","S"],"mappings":"qGAAA,IAAIA,EAAI,EAAQ,QACZC,EAAW,EAAQ,QAKvBD,EAAE,CAAEE,OAAQ,SAAUC,MAAM,EAAMC,OAAQC,OAAOJ,UAAYA,GAAY,CACvEA,SAAUA,K,mFCPoFK,EAAM,W,IAAC,O,EAA6B,EAAO,MAAC,G,OAAO,2BAAG,MAAI,CAAgBA,SAAM,gBAAC,iBAE7K,EAAC,Q,MAAC,CAAsB,eAAYC,CAAM,yBAAmB,YAAyB,kBAAuC,cAACC,iBAAmB,GAAEC,QAAI,EAAS,UAACC,sBAAqB,gB,YAASC,EAAG,GAAK,EAA4B,cAAE,GAAC,YAACF,IAAI,IAAY,KAAG,MAAC,GAAAC,MAAAE,CAAA,EAAkB,oB,CAAgD,iBAAE,GAAC,YAACH,IAAI,SAAyB,MAAC,GAAAC,MAAAG,CAAA,EAAkB,uB,CAA0H,2BAAE,GAAC,YAACJ,IAAI,SAA8B,MAAC,GAAAC,MAAAI,CAAA,EAAkB,wF,CAAoI,gCAAE,GAAC,YAACL,IAAI,IAAc,KAAG,MAAC,GAAAC,MAAAK,CAAA,EAAkB,kG,KAAgCC,e,GAAmBV,SAAM,G,IAAC,EAAO,EAAC,K,MAAG,oBAACW,YAAG,O,MAAC,C,MAAgCC,IAAmB,IAAIA,MAAO,SAAiB,GAAsCZ,OAAM,iBAAaW,CAAE,EAAC,mD,MAAC,C,MAAgCC,IAAqB,IAAIA,MAAO,SAAe,GAAc,0BAAiBF,GAAW,GAAC,kCAAqC,SAAqB,YAAC,WAAC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AC1BC,WAAYC,OAAgBC,cAE7BC,OAAYR,WAAW,CACtBnC,WAAY4C,OAAaC,iBAIhBlF,WCrDkZ,ICOna,EAAY,eACd,EACA,EACAlC,GACA,EACA,KACA,KACA,MAIa,I,QCjBAkC,gB,oICCTmF,EAAU,OACVC,EAAW,OAEJC,EAA0B,CACnCC,KAAM,KACNC,OAAQ,CAACJ,EAASC,IAGhB,SAAUnC,EACZuC,EACAC,GACU,IAAVC,EAAM/G,UAAAmC,OAAA,QAAA6E,IAAAhH,UAAA,GAAAA,UAAA,GAAG,EAEHiH,EAAM,IAAIC,aAAK9B,8BAAC,GAAKsB,GAAS,IAAES,YAAa,cAC/CN,GACAI,EAAIG,KAAKP,EAAK,CACVQ,WAAY,OACZN,OAAQ,CAACA,EAAQA,EAAQA,EAAQA,GACjCO,MAAOd,EAAU,EAAIO,EACrBQ,YAAaf,EAAU,EAAIO,IAC5BpE,MAAK,kBAAMsE,EAAIO,KAAKV,Q,qBCtB/B,IAAIW,EAAS,EAAQ,QACjBC,EAAQ,EAAQ,QAChBC,EAAc,EAAQ,QACtBxE,EAAW,EAAQ,QACnByE,EAAO,EAAQ,QAA4BA,KAC3CC,EAAc,EAAQ,QAEtBC,EAAYL,EAAO9J,SACnBoK,EAASN,EAAOM,OAChBC,EAAWD,GAAUA,EAAOE,SAC5BC,EAAM,YACNC,EAAOR,EAAYO,EAAIC,MACvBC,EAA2C,IAAlCN,EAAUD,EAAc,OAAmD,KAApCC,EAAUD,EAAc,SAEtEG,IAAaN,GAAM,WAAcI,EAAU1G,OAAO4G,OAIxDK,EAAOC,QAAUF,EAAS,SAAkBG,EAAQC,GAClD,IAAIC,EAAIb,EAAKzE,EAASoF,IACtB,OAAOT,EAAUW,EAAID,IAAU,IAAOL,EAAKD,EAAKO,GAAK,GAAK,MACxDX","file":"js/chunk-523fade5.9fb7245d.js","sourcesContent":["var $ = require('../internals/export');\nvar parseInt = require('../internals/number-parse-int');\n\n// `Number.parseInt` method\n// https://tc39.es/ecma262/#sec-number.parseint\n// eslint-disable-next-line es/no-number-parseint -- required for testing\n$({ target: 'Number', stat: true, forced: Number.parseInt != parseInt }, {\n parseInt: parseInt\n});\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('DynamicTitle',{attrs:{\"elements\":_vm.titleElements,\"title\":\"cases\"}}),_c('v-data-table',{attrs:{\"footer-props\":{\r\n 'items-per-page-options': [10, 20, 50]\r\n },\"headers\":_vm.headers,\"items\":_vm.items,\"items-per-page\":20,\"loading\":_vm.isLoading,\"server-items-length\":_vm.items.length},scopedSlots:_vm._u([{key:\"item.id\",fn:function({ item }){return [_c('div',[_vm._v(_vm._s(item.id))])]}},{key:\"item.title\",fn:function({ item }){return [_c('div',[_vm._v(_vm._s(item.title))])]}},{key:\"item.createdDateTime\",fn:function({ item }){return [_c('div',[_vm._v(\" \"+_vm._s(item.createdDateTime ? _vm.getFormattedDateString(item.createdDateTime) : \"\")+\" \")])]}},{key:\"item.lastModifiedDateTime\",fn:function({ item }){return [_c('div',[_vm._v(\" \"+_vm._s(item.lastModifiedDateTime ? _vm.getFormattedDateString(item.lastModifiedDateTime) : \"\")+\" \")])]}},{key:\"item.actions\",fn:function({ item }){return [_c('div',[_c('v-icon',{staticClass:\"mr-2\",attrs:{\"small\":\"\"},on:{\"click\":function($event){return _vm.editItem(item)}}},[_vm._v(\" mdi-pencil \")]),(_vm.isAllowedToDelete)?_c('v-icon',{attrs:{\"small\":\"\"},on:{\"click\":function($event){return _vm.deleteItem(item)}}},[_vm._v(\"mdi-delete\")]):_vm._e()],1)]}}])}),_c('div',{staticClass:\"buttons\"},[_c('v-btn',{staticStyle:{\"margin-right\":\"20px\"},attrs:{\"color\":\"primary\",\"dark\":\"\"},on:{\"click\":function($event){return _vm.showPdf()}}},[_vm._v(\" Show GDPR \")]),_c('v-btn',{attrs:{\"color\":\"primary\",\"outlined\":\"\"},on:{\"click\":function($event){return _vm.downloadPdf()}}},[_vm._v(\" Download PDF \")])],1),(_vm.contact)?_c('IframeReport',{attrs:{\"show\":_vm.showReport},on:{\"update:show\":function($event){_vm.showReport=$event}}},[_c('GdprReport',{attrs:{\"contact\":_vm.contact}})],1):_vm._e(),(_vm.contact)?_c('GdprReport',{directives:[{name:\"show\",rawName:\"v-show\",value:(false),expression:\"false\"}],ref:\"reportPdf\",attrs:{\"contact\":_vm.contact}}):_vm._e(),_c('ConfirmationDialog',{attrs:{\"visible\":_vm.deleteDialog,\"title\":\"Delete case\"},on:{\"update:visible\":function($event){_vm.deleteDialog=$event},\"confirm\":_vm.confirmDeleteCase}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"50%\"},model:{value:(_vm.visible),callback:function ($$v) {_vm.visible=$$v},expression:\"visible\"}},[_vm._t(\"default\")],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, PropSync } from \"vue-property-decorator\";\r\nimport Vue from \"vue\";\r\n\r\n@Component({})\r\nexport default class PopupReport extends Vue {\r\n @PropSync(\"show\", { type: Boolean, required: true })\r\n public readonly visible!: boolean;\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PopupReport.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PopupReport.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PopupReport.html?vue&type=template&id=f44e375a&\"\nimport script from \"./PopupReport.vue?vue&type=script&lang=ts&\"\nexport * from \"./PopupReport.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","import PopupReport from \"./PopupReport.vue\";\r\nexport default PopupReport;\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-card',{attrs:{\"height\":\"max-content\"}},[_c('table',{staticClass:\"headtable\",staticStyle:{\"width\":\"100%\"}},[_c('tr',[_c('td',[_vm._v(\"Name:\")]),_c('td',[_vm._v(\" \"+_vm._s(`${_vm.contact.salutation ? _vm.contact.salutation : \"\"} ${_vm.contact.firstName} ${_vm.contact.lastName}`)+\" \")])]),_c('tr',[_c('td',[_vm._v(\"Kunden-Nr.:\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Datum der Auskunft:\")]),_c('td',[_vm._v(_vm._s(_vm.getDate()))])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\" In der zentralen Kundendatenbank der BMW AG sind zu Ihrer Person folgende Daten gespeichert: \")])])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Privatadresse(n)\")])])]),_c('tr',[_c('td',{attrs:{\"height\":\"30\"}},[_vm._v(\" \"+_vm._s(`${_vm.contact.street ? _vm.contact.street : \"\"} ${_vm.contact.houseNumber ? _vm.contact.houseNumber : \"\"} ${_vm.contact.city ? _vm.contact.city : \"\"} ${_vm.contact.zipCode ? _vm.contact.zipCode : \"\"}`)+\" \"),_c('br'),_vm._v(\" From: 01.01.1900 \")]),_c('td',{attrs:{\"height\":\"30\"}})])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border-bottom\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Geschäftsadresse(n)\")])])]),_c('tr',[_c('td',{attrs:{\"height\":\"30\"}}),_c('td',{attrs:{\"height\":\"30\"}})])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"margin\":\"0px\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Kontaktdaten\")])])])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border-top\":\"0px\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{staticStyle:{\"padding\":\"0px\",\"border\":\"0px\"},attrs:{\"colspan\":\"2\"}},[_c('table',{staticClass:\"innertable\",staticStyle:{\"width\":\"100%\",\"border\":\"0px\",\"border-bottom\":\"1px solid #000\"},attrs:{\"cellpadding\":\"0\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Privat\")])])]),_c('tr',[_c('td',[_vm._v(\"Telefon\")]),_c('td',[_vm._v(_vm._s(_vm.contact.telephonePrivate))])]),_c('tr',[_c('td',[_vm._v(\"Mobile\")]),_c('td',[_vm._v(_vm._s(_vm.contact.mobilePrivate))])]),_c('tr',[_c('td',[_vm._v(\"E-Mail-Adresse\")]),_c('td',[_vm._v(_vm._s(_vm.contact.email1))])]),_c('tr',[_c('td',[_vm._v(\"Fax\")]),_c('td',[_vm._v(_vm._s(_vm.contact.fax))])])]),_c('table',{staticClass:\"innertable\",staticStyle:{\"width\":\"100%\",\"border\":\"0px\"},attrs:{\"cellpadding\":\"0\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Geschäftlich\")])])]),_c('tr',[_c('td',[_vm._v(\"Telefon\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"E-Mail-Adresse\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Fax\")]),_c('td')])])])])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border\":\"1px solid #000\",\"margin-bottom\":\"50px\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Persönliche Informationen\")])])]),_c('tr',[_c('td',[_vm._v(\"Familienstand\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Staatsangehörigkeit\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Motorradführerschein\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Hobbies und Interessen\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Berufliche Stellung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Beruf\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Tätigkeit\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Branche\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Position\")]),_c('td')])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border\":\"1px solid #000\"},attrs:{\"cellpadding\":\"3\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Fahrzeuge (PKW)\")])])]),_vm._l((_vm.contact.cars),function(car){return [_c('tr',[_c('td',[_c('b',[_vm._v(\"Aktuelle Fahrzeuge\")])]),_c('td',[_vm._v(_vm._s(car.brand))])]),_c('tr',[_c('td',[_vm._v(\"Beziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Fahrgestell-Nr.\")]),_c('td',[_vm._v(_vm._s(car.vin))])]),_c('tr',[_c('td',[_vm._v(\"Marke und Modellbezeichnung\")]),_c('td',[_vm._v(_vm._s(car.brand)+\" \"+_vm._s(car.model))])]),_c('tr',[_c('td',[_vm._v(\"Serie\")]),_c('td',[_vm._v(_vm._s(car.series)+\" \"+_vm._s(car.firstRegistration))])]),_c('tr',[_c('td',[_vm._v(\"Erstzulassung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Wiederzulassung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Fahrzeugart\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Beginn der Fahrzeugbeziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Ende der Fahrzeugbeziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Wiedermotorisierungszeitpunkt\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Großkundenfahrzeug\")]),_c('td')])]}),_c('tr',[_c('td',[_c('b',[_vm._v(\"Frühere Fahrzeugbeziehungen\")])]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Beziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Fahrgestell-Nr.\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Marke und Modellbezeichnung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Serie\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Erstzulassung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Wiederzulassung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Fahrzeugart\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Beginn der Fahrzeugbeziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Ende der Fahrzeugbeziehung\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Wiedermotorisierungszeitpunkt\")]),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Großkundenfahrzeug\")]),_c('td')]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Aktuelle Interesse-Fahrzeuge\")])]),_c('td')]),_c('tr',[_c('td',[_c('b',[_vm._v(\"Frühere Interesse-Fahrzeuge\")])]),_c('td')])],2),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"margin-bottom\":\"0px\",\"border-bottom\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\" Folgende aktuelle Beziehungen zu Niederlassungen und Vertriebspartnern der BMW AG sind uns bekannt. \")])])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}})]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\" Folgende frühere Beziehungen zu Niederlassungen und Vertriebspartnern der BMW AG sind uns bekannt \")])])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}})])]),_c('span',{staticStyle:{\"font-size\":\"9px\",\"color\":\"#666666\"}},[_vm._v(\" Hinweis: Mit Niederlassungen und Vertriebspartnern der BMW AG werden Daten getauscht. Bitte beachten Sie: Vertragshändler und -werkstätten der BMW AG sind rechtlich selbständige Unternehmen. Zur Wahrnehmung Ihrer Betroffenenrechte wenden Sie sich bitte direkt an den jeweiligen Betrieb. \")]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border-bottom\":\"1px solid #000\",\"margin-top\":\"20px\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Die BMW AG hat Daten von folgenden Unternehmen erhalten:\")])])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}})])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border-bottom\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\" Von der BMW AG wurden Daten an folgende Unternehmen weitergegeben: \")])])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}})])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"4\"}},[_c('b',[_vm._v(\"Datenschutzeinwilligungserklärung werbliche Ansprache\")])])]),_c('tr',[_c('td',{staticClass:\"underline\"},[_vm._v(\"Kanal\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Status\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Erteilungsdatum\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Einwilligungsort\")])]),_c('tr',[_c('td',[_vm._v(\"schriftl. Ansprache / Post\")]),_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Ansprache per Telefon / SMS / Messenger Dienste\")]),_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Ansprache per E-Mail\")]),_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td',[_vm._v(\"In-Car\")]),_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td',[_vm._v(\"Bildung eines individuellen Kundenprofils\")]),_c('td'),_c('td'),_c('td')])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border-bottom\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_c('b',[_vm._v(\"Sperren\")])])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\"Werbliche Ansprache:\")])]),_c('tr',[_c('td',{attrs:{\"colspan\":\"2\"}},[_vm._v(\"Marktforschung:\")])])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"3\"}},[_c('b',[_vm._v(\"Datenschutzeinwilligungserklärung werbliche Ansprache\")])])]),_c('tr',[_c('td',{staticClass:\"underline\"},[_vm._v(\"Datum\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Kanal\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Beschreibung\")])]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')])]),_c('table',{staticClass:\"datatable\",staticStyle:{\"width\":\"100%\",\"border\":\"1px solid #000\"},attrs:{\"cellpadding\":\"5\"}},[_c('tr',[_c('td',{attrs:{\"colspan\":\"3\"}},[_c('b',[_vm._v(\"Kontakte durch die BMW Kundenbetreuung zu Ihnen\")])])]),_c('tr',[_c('td',{staticClass:\"underline\"},[_vm._v(\"Datum\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Kanal\")]),_c('td',{staticClass:\"underline\"},[_vm._v(\"Beschreibung\")])]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')]),_c('tr',[_c('td'),_c('td'),_c('td')])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\nimport { Component, Prop } from \"vue-property-decorator\";\r\nimport Vue from \"vue\";\r\nimport { Contact } from \"@/models/cases/Contact\";\r\n\r\n@Component({})\r\nexport default class GdprReport extends Vue {\r\n @Prop({ type: Object, required: true })\r\n public readonly contact!: Contact;\r\n\r\n getDate(): string {\r\n const dateNow = new Date();\r\n return `${dateNow.getDate()}-${\r\n dateNow.getMonth() + 1\r\n }-${dateNow.getFullYear()}`;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GdprReport.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GdprReport.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GdprReport.html?vue&type=template&id=23e2a79d&\"\nimport script from \"./GdprReport.vue?vue&type=script&lang=ts&\"\nexport * from \"./GdprReport.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","import GdprReport from \"./GdprReport.vue\";\r\nexport default GdprReport;\r\n","\r\nimport { Component } from \"vue-property-decorator\";\r\nimport Vue from \"vue\";\r\nimport DynamicTitle from \"@/components/DynamicTitle\";\r\nimport { Routes } from \"@/router/routes\";\r\nimport { TitleElement } from \"@/components/DynamicTitle/TitleElement\";\r\nimport { contactModule } from \"@/store/modules/contact\";\r\nimport { ContactGetters } from \"@/store/modules/contact/getters\";\r\nimport { PaginationResult } from \"@/models/PaginationResult\";\r\nimport { ContactListDto } from \"@/models/Gdpr/ContactListDto\";\r\nimport { CaseForContactDTO } from \"@/models/Gdpr/CaseForContactDTO\";\r\nimport { module as casesModule } from \"@/store/modules/cases\";\r\nimport ConfirmationDialog from \"@/components/ConfirmationDialog\";\r\nimport { PaginationInfo } from \"@/models/PaginationInfo\";\r\nimport { ContactFilter } from \"@/models/Gdpr/ContactFilter\";\r\nimport { ContactActions } from \"@/store/modules/contact/actions\";\r\nimport PopupReport from \"@/components/PopupReport\";\r\nimport { PrintFromHtmlA4 } from \"@/services/pdfGenerator\";\r\nimport { Contact } from \"@/models/cases/Contact\";\r\nimport { ContactMutation } from \"@/store/modules/contact/mutations\";\r\nimport GdprReport from \"@/components/GdprReport\";\r\nimport { userHasClaims } from \"@/services/userUtils\";\r\nimport { DELETE_PERMISSION } from \"@/consts/customClaims\";\r\nimport { CasesActions } from \"@/store/modules/cases/actions\";\r\n\r\n@Component({\r\n components: {\r\n DynamicTitle,\r\n ConfirmationDialog,\r\n IframeReport: PopupReport,\r\n GdprReport\r\n },\r\n computed: {\r\n ...contactModule.mapGetters({\r\n paginationData: ContactGetters.PaginationData,\r\n isLoading: ContactGetters.IsLoading,\r\n contact: ContactGetters.Contact\r\n })\r\n },\r\n methods: {\r\n ...contactModule.mapActions({\r\n loadContactsWithPagination:\r\n ContactActions.LoadContactsWithPagination,\r\n getContactById: ContactActions.LoadContactById\r\n }),\r\n ...contactModule.mapMutations({\r\n setContact: ContactMutation.SetContact\r\n }),\r\n ...casesModule.mapActions({\r\n deleteCase: CasesActions.DeleteCase\r\n })\r\n }\r\n})\r\nexport default class GdprEdit extends Vue {\r\n private readonly loadContactsWithPagination!: (\r\n payload: PaginationInfo & ContactFilter\r\n ) => Promise;\r\n private readonly getContactById!: (contactId: number) => Promise;\r\n private name = \"\";\r\n private readonly deleteCase!: (caseId: number) => Promise;\r\n\r\n $refs!: {\r\n reportPdf: GdprReport;\r\n };\r\n\r\n protected readonly titleElements: TitleElement[] = [\r\n { name: \"GDPR Search\", selected: true, link: Routes.GdprSearch },\r\n { name: \"Contacts\", selected: true }\r\n ];\r\n private contact!: Contact | null;\r\n protected readonly paginationData!: PaginationResult;\r\n protected readonly isLoading!: boolean;\r\n protected items: CaseForContactDTO[] = [];\r\n private selectedItemId: number | null = null;\r\n protected deleteDialog = false;\r\n protected showReport = false;\r\n\r\n protected headers = [\r\n { text: \"Id\", value: \"id\", sortable: false, filterable: false },\r\n { text: \"Title\", value: \"title\", sortable: false, filterable: false },\r\n {\r\n text: \"Erstellt\",\r\n value: \"createdDateTime\",\r\n sortable: false,\r\n filterable: false\r\n },\r\n {\r\n text: \"Bearbeitet\",\r\n value: \"lastModifiedDateTime\",\r\n sortable: false,\r\n filterable: false\r\n },\r\n {\r\n text: \"Actions\",\r\n value: \"actions\",\r\n sortable: false,\r\n filterable: false\r\n }\r\n ];\r\n\r\n created(): void {\r\n if (this.paginationData.items.length === 0 || !this.contact)\r\n this.getDataFromApi();\r\n else this.setItems();\r\n }\r\n getDataFromApi(): void {\r\n this.loadContactsWithPagination({\r\n take: 20,\r\n skip: 0\r\n }).then(() => this.setItems());\r\n this.getContactById(Number.parseInt(this.$route.params.id));\r\n }\r\n setItems(): void {\r\n this.items = this.paginationData.items\r\n .filter((item) => item.id.toString() == this.$route.params.id)\r\n .flatMap((item) => {\r\n this.name = item.name;\r\n return item.cases;\r\n });\r\n }\r\n\r\n editItem(caseModel: CaseForContactDTO): void {\r\n if (caseModel.id) {\r\n this.$router.push(Routes.CaseEdit + caseModel.id);\r\n }\r\n }\r\n\r\n deleteItem(caseModel: CaseForContactDTO): void {\r\n this.selectedItemId = caseModel.id;\r\n this.deleteDialog = true;\r\n }\r\n\r\n confirmDeleteCase(): void {\r\n if (this.selectedItemId) {\r\n this.deleteCase(this.selectedItemId);\r\n }\r\n }\r\n\r\n getFormattedDateString(dateString: string, showTime?: boolean): string {\r\n if (!showTime) {\r\n return new Date(dateString).toLocaleDateString(\"de-DE\", {\r\n year: \"numeric\",\r\n month: \"2-digit\",\r\n day: \"2-digit\"\r\n });\r\n } else {\r\n return new Date(dateString).toLocaleString(\"de-DE\", {\r\n year: \"numeric\",\r\n month: \"2-digit\",\r\n day: \"2-digit\",\r\n second: \"2-digit\",\r\n hour: \"2-digit\",\r\n minute: \"2-digit\"\r\n });\r\n }\r\n }\r\n\r\n downloadPdf(): void {\r\n if (!this.contact) this.getDataFromApi();\r\n const date = new Date();\r\n PrintFromHtmlA4(\r\n this.$refs.reportPdf.$el.innerHTML,\r\n `${this.name.replace(\" \", \"_\")}_${date.getDate()}-${\r\n date.getMonth() + 1\r\n }-${date.getFullYear()}`,\r\n 20\r\n );\r\n }\r\n\r\n showPdf(): void {\r\n if (!this.contact) this.getDataFromApi();\r\n this.showReport = !this.showReport;\r\n }\r\n\r\n get isAllowedToDelete(): boolean {\r\n return userHasClaims([DELETE_PERMISSION]);\r\n }\r\n}\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GdprEdit.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./GdprEdit.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./GdprEdit.html?vue&type=template&id=d1bfde86&\"\nimport script from \"./GdprEdit.vue?vue&type=script&lang=ts&\"\nexport * from \"./GdprEdit.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","import GdprEdit from \"./GdprEdit.vue\";\r\nexport default GdprEdit;\r\n","import jsPDF, { jsPDFOptions } from \"jspdf\";\r\n\r\nconst widthA4 = 595.28;\r\nconst heightA4 = 841.89;\r\n\r\nexport const a4Options: jsPDFOptions = {\r\n unit: \"pt\",\r\n format: [widthA4, heightA4]\r\n};\r\n\r\nexport function PrintFromHtmlA4(\r\n src: string | HTMLElement,\r\n filename: string,\r\n margin = 0\r\n): void {\r\n const doc = new jsPDF({ ...a4Options, orientation: \"portrait\" });\r\n if (src) {\r\n doc.html(src, {\r\n autoPaging: \"text\",\r\n margin: [margin, margin, margin, margin],\r\n width: widthA4 - 2 * margin,\r\n windowWidth: widthA4 - 2 * margin\r\n }).then(() => doc.save(filename));\r\n }\r\n}\r\n","var global = require('../internals/global');\nvar fails = require('../internals/fails');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar toString = require('../internals/to-string');\nvar trim = require('../internals/string-trim').trim;\nvar whitespaces = require('../internals/whitespaces');\n\nvar $parseInt = global.parseInt;\nvar Symbol = global.Symbol;\nvar ITERATOR = Symbol && Symbol.iterator;\nvar hex = /^[+-]?0x/i;\nvar exec = uncurryThis(hex.exec);\nvar FORCED = $parseInt(whitespaces + '08') !== 8 || $parseInt(whitespaces + '0x16') !== 22\n // MS Edge 18- broken with boxed symbols\n || (ITERATOR && !fails(function () { $parseInt(Object(ITERATOR)); }));\n\n// `parseInt` method\n// https://tc39.es/ecma262/#sec-parseint-string-radix\nmodule.exports = FORCED ? function parseInt(string, radix) {\n var S = trim(toString(string));\n return $parseInt(S, (radix >>> 0) || (exec(hex, S) ? 16 : 10));\n} : $parseInt;\n"],"sourceRoot":""}