{"version":3,"sources":["webpack:///./modules/relationprofile/components/RelationData.vue?c154","webpack:///./modules/relationprofile/components/RelationData.vue","webpack:///./modules/relationprofile/components/RelationData.vue?ac58","webpack:///./modules/relationprofile/components/RelationData.vue?6d35","webpack:///./modules/relationprofile/pages/MyData.vue?f0b6","webpack:///./modules/relationprofile/components/ContactsTable.vue?fd8a","webpack:///./modules/relationprofile/components/ContactsTable.vue","webpack:///./modules/relationprofile/components/ContactsTable.vue?64ce","webpack:///./modules/relationprofile/components/ContactsTable.vue?1232","webpack:///./modules/relationprofile/components/AddressBlock.vue?c7ec","webpack:///./modules/relationprofile/components/AddressBlock.vue","webpack:///./modules/relationprofile/components/AddressBlock.vue?c1d3","webpack:///./shared/global/components/SimpleListCard.vue?bfb8","webpack:///./shared/global/components/SimpleListCard.vue","webpack:///./shared/global/components/SimpleListCard.vue?8512","webpack:///./shared/global/components/SimpleListCard.vue?e8ec","webpack:///./modules/relationprofile/components/AddressBlock.vue?e9e3","webpack:///./modules/relationprofile/components/RelationArchive.vue?348c","webpack:///./modules/relationprofile/components/RelationArchive.vue","webpack:///./modules/relationprofile/components/RelationArchive.vue?8ccf","webpack:///./modules/relationprofile/components/RelationArchive.vue?11c2","webpack:///./modules/relationprofile/pages/MyData.vue","webpack:///./modules/relationprofile/pages/MyData.vue?7763","webpack:///./modules/relationprofile/pages/MyData.vue?7d0f","webpack:///./modules/relationprofile/components/RelationData.vue?450e","webpack:///./modules/relationprofile/components/RelationArchive.vue?4ab1","webpack:///./modules/relationprofile/pages/MyData.vue?e782"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","icon","staticClass","name","_v","_s","$t","mainContact","full_name","_e","value","contacts","length","id","email_address","phone_number","mobile_phone_number","relation_admin","staticRenderFns","isPrivatePerson","type","private","contact","isOrganisation","organisation","find","c","main_contact","privatePerson","first_name","last_name","required","default","component","GCardIcon","VCard","VCardTitle","VDivider","VList","VListTile","VListTileContent","currentRelation","currentType","contactButtonComponent","tag","_l","a","i","key","RelationType","showArchiveProjects","headers","items","pagination","on","$event","scopedSlots","_u","fn","props","item","slot","directives","rawName","expression","ContactsTable","descending","rowsPerPage","sortBy","undefined","text","sortable","t","sort","b","toString","GFaIcon","VDataTable","VIcon","VTooltip","title","internal_line","push","label","internal_line2","street","house_number","house_number_suffix","postal_code","town","country","business","post","invoice","delivery","SimpleListCard","GList","GSimpleListCard","model","callback","$$v","search","categories","selectedCategories","filtered","project","category","description","_f","archive_date","link","ref","_g","proxy","opStore","base","showProjects","fileEntries","map","f","filter","toLowerCase","includes","fetchFileEntries","$refs","fileListTooltip","parentElement","className","Boolean","Getter","Action","filters","dateFlip","GDownloadButton","VFlex","VLayout","VSelect","VTextField","snackStore","showArchive","$route","meta","currentPrivatePerson","currentOrganisation","profile","relation_type","fetchCurrentOrganisation","fetchCurrentPrivatePerson","archive_enable","archive_show_project_files","defaultError","Mutation","components","RelationData","AddressBlock","RelationArchive","VContainer"],"mappings":"kHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACA,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQN,EAAIO,QAASP,EAAQ,KAAEI,EAAG,cAAc,CAACI,YAAY,OAAOF,MAAM,CAAC,GAAK,CAAEG,KAAM,aAAc,CAACL,EAAG,eAAe,CAACE,MAAM,CAAC,YAAY,sBAAsB,CAACF,EAAG,KAAK,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIS,YAAY,GAAGL,EAAG,eAAe,CAACE,MAAM,CAAC,YAAY,sBAAsB,CAACF,EAAG,KAAK,CAACJ,EAAIU,GAAGV,EAAIW,GAAGX,EAAIS,WAAWL,EAAG,aAAaA,EAAG,SAAS,CAACE,MAAM,CAAC,MAAQ,KAAK,CAAEN,EAAkB,eAAE,CAAEA,EAAe,YAAEI,EAAG,cAAc,CAACA,EAAG,sBAAsB,CAACJ,EAAIU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C,EAAAP,YAAc,GACd,EAAAC,uBAAqC,kBAC3C,iDAdJ,4CAgBE,WACE,OAAOhD,KAAKiJ,OAAOC,MAAQlJ,KAAKiJ,OAAOC,KAAKvH,UAjBhD,2BAoBE,WACE,OAAO3B,KAAK+C,cAAgB,QAAarB,QACrC1B,KAAKmJ,qBACLnJ,KAAKoJ,sBAvBb,mDA0BE,8BAAAjG,EAAA,gFAE0B,kBAF1B,cAEUkG,EAFV,OAGIrJ,KAAK+C,YAAcsG,EAAQC,cACvBD,EAAQC,gBAAkB,QAAa3H,QACzC3B,KAAKuJ,2BAELvJ,KAAKwJ,4BAPX,SAUoB,kBAVpB,OAUUzH,EAVV,OAWI/B,KAAKgJ,YAAcjH,EAAE0H,eACrBzJ,KAAKuD,oBAAsBxB,EAAE2H,2BAZjC,qDAcI1J,KAAK2J,eAdT,0DA1BF,8DAAoC,QAClB,gBAAf,GAAQrB,Q,2CACO,gBAAf,GAAQA,Q,4CAEO,gBAAf,GAAQC,Q,gDACO,gBAAf,GAAQA,Q,iDAEY,gBAApBQ,GAAWa,U,oCAPO,GAAM,gBAH1B,eAAU,CACTC,WAAY,CAAEC,eAAA,KAAcxF,cAAA,EAAeyF,aAAA,GAAcC,uBAEtC,cC1C8X,M,yBCQ/Y,GAAY,eACd,GACAlK,EACAyB,GACA,EACA,KACA,WACA,MAIa,gBAAiB,QAOhC,IAAkB,GAAW,CAAC0I,cAAA,KAAWtB,SAAA,KAAMC,WAAA,Q,oCC1B/C,W,kFCAA,W,kCCAA","file":"js/chunk-9cd94d4a.62cf6b7e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[_c('g-card-icon',{attrs:{\"value\":_vm.icon}}),(_vm.link)?_c('router-link',{staticClass:\"link\",attrs:{\"to\":{ name: 'my-data' }}},[_c('v-card-title',{attrs:{\"data-name\":\"org-data-org-name\"}},[_c('h4',[_vm._v(_vm._s(_vm.name))])])],1):_c('v-card-title',{attrs:{\"data-name\":\"org-data-org-name\"}},[_c('h4',[_vm._v(_vm._s(_vm.name))])]),_c('v-divider'),_c('v-list',{attrs:{\"dense\":\"\"}},[(_vm.isOrganisation)?[(_vm.mainContact)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.mainContact\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-contact-name\"}},[_vm._v(_vm._s(_vm.mainContact.full_name))])],1):_vm._e(),_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.numberOfContacts\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-no-of-contacts\"}},[_vm._v(\"\\n \"+_vm._s(_vm.value.contacts ? _vm.value.contacts.length : 0)+\"\\n \")])],1),_c('v-divider')]:_vm._e(),(_vm.value.id)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.relationId\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-relation-id\"}},[_vm._v(_vm._s(_vm.value.id))])],1):_vm._e(),(_vm.value.email_address)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.emailAddress\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-email\"}},[_c('a',{attrs:{\"href\":'mailto:' + _vm.value.email_address}},[_vm._v(_vm._s(_vm.value.email_address))])])],1):_vm._e(),(_vm.value.phone_number)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.phoneNumber\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-phone-number\"}},[_c('a',{attrs:{\"href\":'tel:' + _vm.value.phone_number}},[_vm._v(_vm._s(_vm.value.phone_number))])])],1):_vm._e(),(_vm.value.mobile_phone_number)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.mobilePhoneNumber\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-mobile-phone-number\"}},[_c('a',{attrs:{\"href\":'tel:' + _vm.value.mobile_phone_number}},[_vm._v(_vm._s(_vm.value.mobile_phone_number))])])],1):_vm._e(),(_vm.value.relation_admin)?_c('v-divider'):_vm._e(),(_vm.value.relation_admin)?_c('v-list-tile',[_c('v-list-tile-content',[_vm._v(\"\\n \"+_vm._s(_vm.$t(\"relationprofile.components.RelationData.relationAdmin\"))+\"\\n \")]),_c('v-list-tile-content',{staticClass:\"align-end\",attrs:{\"data-name\":\"org-data-consultant\"}},[_vm._v(_vm._s(_vm.value.relation_admin))])],1):_vm._e()],2)],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\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, Vue, Prop } from \"vue-property-decorator\";\nimport { ContactModel, OrganisationModel, PrivatePersonModel } from \"../models\";\nimport { RelationType } from \"../../../shared/store/auth/types\";\n\n@Component\nexport default class RelationData extends Vue {\n @Prop({ required: true })\n value!: OrganisationModel | PrivatePersonModel;\n @Prop({ required: true })\n type!: RelationType;\n @Prop({ default: false })\n link!: boolean;\n\n get icon(): string {\n return this.isPrivatePerson ? \"user\" : \"users\";\n }\n\n get isPrivatePerson(): boolean {\n return this.type === RelationType.private;\n }\n\n get isOrganisation(): boolean {\n return this.type === RelationType.contact;\n }\n\n get organisation(): OrganisationModel {\n if (!this.isOrganisation) return new OrganisationModel();\n return this.value as OrganisationModel;\n }\n\n get privatePerson(): PrivatePersonModel {\n if (!this.isPrivatePerson) return new PrivatePersonModel();\n return this.value as PrivatePersonModel;\n }\n\n get mainContact(): ContactModel | undefined {\n return this.organisation.contacts.find(\n (c) => c.id === this.organisation.main_contact\n );\n }\n\n get name(): string {\n if (this.isPrivatePerson) {\n return this.privatePerson.first_name + \" \" + this.privatePerson.last_name;\n }\n if (this.isOrganisation) {\n return this.organisation.name;\n }\n return \"\";\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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationData.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationData.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RelationData.vue?vue&type=template&id=671c6188&scoped=true&\"\nimport script from \"./RelationData.vue?vue&type=script&lang=ts&\"\nexport * from \"./RelationData.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RelationData.vue?vue&type=style&index=0&id=671c6188&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"671c6188\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport GCardIcon from 'shared/global/components/CardIcon.vue'\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\nimport { VList } from 'vuetify/lib/components/VList';\nimport { VListTile } from 'vuetify/lib/components/VList';\nimport { VListTileContent } from 'vuetify/lib/components/VList';\ninstallComponents(component, {GCardIcon,VCard,VCardTitle,VDivider,VList,VListTile,VListTileContent})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{attrs:{\"fluid\":\"\",\"grid-list-lg\":\"\"}},[_c('v-layout',{staticClass:\"top\",attrs:{\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"lg6\":\"\",\"xs12\":\"\"}},[_c('relation-data',{attrs:{\"value\":_vm.currentRelation,\"type\":_vm.currentType}})],1),(_vm.showContactButton)?_c('v-flex',{attrs:{\"lg3\":\"\",\"offset-lg3\":\"\",\"offset-xs0\":\"\",\"xs12\":\"\"}},[_c(_vm.contactButtonComponent,{tag:\"component\"})],1):_vm._e()],1),_c('v-layout',{attrs:{\"wrap\":\"\"}},[_vm._l((_vm.currentRelation.addresses),function(a,i){return _c('v-flex',{key:i,attrs:{\"lg3\":\"\",\"xs12\":\"\"}},[_c('address-block',{attrs:{\"value\":a}})],1)}),(_vm.currentType === _vm.RelationType.contact)?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('contacts-table',{attrs:{\"value\":_vm.currentRelation.contacts}})],1):_vm._e()],2),(_vm.showArchive)?_c('relation-archive',{attrs:{\"show-projects\":_vm.showArchiveProjects}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-data-table',{staticClass:\"elevation-1\",attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"pagination\":_vm.pagination,\"hide-actions\":\"\"},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{attrs:{\"data-name\":\"contacts-table-main-contact\"}},[(props.item.main_contact)?_c('v-tooltip',{attrs:{\"bottom\":\"\"}},[_c('v-icon',{attrs:{\"slot\":\"activator\"},slot:\"activator\"},[_vm._v(\"fal fa-user\")]),_c('span',[_vm._v(\"Hoofdcontactpersoon\")])],1):_vm._e()],1),_c('td',[_vm._v(_vm._s(props.item.first_name))]),_c('td',[_vm._v(_vm._s(props.item.last_name))]),_c('td',[_c('g-fa-icon',{directives:[{name:\"show\",rawName:\"v-show\",value:(props.item.access),expression:\"props.item.access\"}],attrs:{\"value\":\"check\"}})],1),_c('td',[_c('a',{attrs:{\"href\":'mailto:' + props.item.email_address}},[_vm._v(\"\\n \"+_vm._s(props.item.email_address)+\"\\n \")])]),_c('td',[_c('a',{attrs:{\"href\":'tel:' + props.item.phone_number}},[_vm._v(\"\\n \"+_vm._s(props.item.phone_number)+\"\\n \")])]),_c('td',[_c('a',{attrs:{\"href\":'tel:' + props.item.mobile_phone_number}},[_vm._v(\"\\n \"+_vm._s(props.item.mobile_phone_number)+\"\\n \")])])]}}])})}\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\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { ContactModel } from \"../models\";\n\n@Component\nexport default class ContactsTable extends Vue {\n @Prop({ required: true })\n value!: ContactModel[];\n\n get items(): ContactModel[] {\n return this.value.sort((a, b) => {\n if (a.main_contact > b.main_contact) {\n return -1;\n }\n if (a.main_contact < b.main_contact) {\n return 1;\n }\n return 0;\n });\n }\n\n pagination = {\n descending: true,\n rowsPerPage: -1,\n sortBy: undefined,\n };\n\n headers = [\n { text: \"\", value: \"main_contact\", sortable: false },\n { text: this.t(\"firstName\"), value: \"first_name\" },\n { text: this.t(\"lastName\"), value: \"last_name\" },\n { text: this.t(\"access\"), value: \"access\" },\n { text: this.t(\"emailAddress\"), value: \"email_address\" },\n { text: this.t(\"phoneNumber\"), value: \"phone_number\" },\n { text: this.t(\"mobilePhoneNumber\"), value: \"mobile_phone_number\" },\n ];\n\n private t(key: string): string {\n return this.$t(\"relationprofile.table.\" + key).toString();\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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactsTable.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ContactsTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ContactsTable.vue?vue&type=template&id=4b2178c5&\"\nimport script from \"./ContactsTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ContactsTable.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport GFaIcon from 'shared/global/components/FaIcon.vue'\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {GFaIcon,VDataTable,VIcon,VTooltip})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('g-simple-list-card',{attrs:{\"title\":_vm.title(_vm.value.type),\"icon\":_vm.icon,\"items\":_vm.items,\"data-name\":\"address-block\"}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { AddressModel, AddressType } from \"../models/address\";\nimport { ListItem } from \"shared/global/components/SimpleListCard.vue\";\n\n@Component\nexport default class AddressBlock extends Vue {\n @Prop({ required: true })\n value!: AddressModel;\n\n get items(): ListItem[] {\n const items = [];\n if (this.value.internal_line)\n items.push({\n label: this.label(`internal`),\n value: this.value.internal_line,\n });\n if (this.value.internal_line2)\n items.push({\n label: \"\",\n value: this.value.internal_line2,\n });\n\n items.push(\n ...[\n {\n label: this.label(`address`),\n value: `${this.value.street} ${this.value.house_number}${this.value.house_number_suffix}`,\n },\n {\n label: this.label(`postalCode`),\n value: this.value.postal_code,\n },\n {\n label: this.label(`town`),\n value: this.value.town,\n },\n {\n label: this.label(`country`),\n value: this.value.country,\n },\n ]\n );\n return items;\n }\n\n get icon(): string {\n switch (this.value.type) {\n case AddressType.business:\n return \"building\";\n case AddressType.post:\n return \"mail-bulk\";\n case AddressType.invoice:\n return \"file-invoice\";\n case AddressType.delivery:\n return \"truck\";\n default:\n return \"building\";\n }\n }\n\n private label(key: string): string {\n return this.$t(\n \"relationprofile.components.AddressBlock.labels.\" + key\n ).toString();\n }\n\n private title(key: string): string {\n return this.$t(\n \"relationprofile.components.AddressBlock.types.\" + key\n ).toString();\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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressBlock.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./AddressBlock.vue?vue&type=script&lang=ts&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',[(_vm.icon)?_c('g-card-icon',{attrs:{\"value\":_vm.icon}}):_vm._e(),_c('v-card-title',{attrs:{\"data-name\":\"scl-title\"}},[_c('h4',[_vm._v(_vm._s(_vm.title))])]),_c('v-divider'),_c('g-list',{attrs:{\"value\":_vm.items}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\n\nexport interface ListItem {\n label: string;\n value: string;\n}\n\n@Component\nexport default class SimpleListCard extends Vue {\n @Prop({ required: true })\n title!: string;\n\n @Prop({ default: undefined })\n icon?: string;\n\n @Prop({ required: true })\n items!: ListItem[];\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleListCard.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SimpleListCard.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SimpleListCard.vue?vue&type=template&id=37349ded&\"\nimport script from \"./SimpleListCard.vue?vue&type=script&lang=ts&\"\nexport * from \"./SimpleListCard.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport GCardIcon from 'shared/global/components/CardIcon.vue'\nimport GList from 'shared/global/components/List.vue'\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardTitle } from 'vuetify/lib/components/VCard';\nimport { VDivider } from 'vuetify/lib/components/VDivider';\ninstallComponents(component, {GCardIcon,GList,VCard,VCardTitle,VDivider})\n","import { render, staticRenderFns } from \"./AddressBlock.vue?vue&type=template&id=8f805e50&\"\nimport script from \"./AddressBlock.vue?vue&type=script&lang=ts&\"\nexport * from \"./AddressBlock.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\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport GSimpleListCard from 'shared/global/components/SimpleListCard.vue'\ninstallComponents(component, {GSimpleListCard})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('h6',{staticClass:\"title my-3\"},[_vm._v(_vm._s(_vm.$t(\"relationprofile.terms.documents\")))]),_c('v-layout',{staticClass:\"file-filter-layout\"},[_c('v-flex',{attrs:{\"xs12\":\"\",\"md6\":\"\",\"xl4\":\"\"}},[_c('v-text-field',{attrs:{\"label\":_vm.t('search'),\"placeholder\":_vm.t('searchPlaceholder'),\"data-name\":\"file-filter-description\",\"solo\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-flex',{attrs:{\"xs12\":\"\",\"md6\":\"\",\"xl4\":\"\"}},[_c('v-select',{attrs:{\"items\":_vm.categories,\"label\":_vm.t('category'),\"data-name\":\"file-filter-category\",\"multiple\":\"\",\"solo\":\"\"},model:{value:(_vm.selectedCategories),callback:function ($$v) {_vm.selectedCategories=$$v},expression:\"selectedCategories\"}})],1)],1),_c('v-data-table',{staticClass:\"elevation-1 file-list-table\",attrs:{\"headers\":_vm.headers,\"items\":_vm.filtered,\"pagination\":_vm.pagination,\"no-data-text\":_vm.t('noFiles')},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [(_vm.showProjects)?_c('td',[_vm._v(_vm._s(props.item.project))]):_vm._e(),_c('td',{attrs:{\"data-name\":\"file-list-category\"}},[_vm._v(_vm._s(props.item.category))]),_c('td',[_vm._v(_vm._s(props.item.description))]),_c('td',[_vm._v(_vm._s(_vm._f(\"dateFlip\")(props.item.archive_date)))]),_c('td',[_c('g-download-button',{attrs:{\"url\":props.item.link}})],1)]}},{key:\"actions-prepend\",fn:function(){return [_c('div',{ref:\"fileListTooltip\"},[_c('v-tooltip',{attrs:{\"bottom\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('span',_vm._g({staticClass:\"pointer\"},on),[_vm._v(_vm._s(_vm.t(\"hintTitle\")))])]}}])},[_c('span',[_vm._v(_vm._s(_vm.t(\"hintText\")))])])],1)]},proxy:true}])})],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\nimport { Component, Vue, Prop } from \"vue-property-decorator\";\nimport { namespace } from \"vuex-class\";\nimport { FileEntryModel } from \"../models\";\nimport dateFlip from \"shared/filters/dateflip\";\n\nconst opStore = namespace(\"relationprofile\");\n\n@Component({\n filters: { dateFlip },\n})\nexport default class AddressBlock extends Vue {\n @Prop({ required: false, type: Boolean, default: false })\n showProjects!: boolean;\n\n @opStore.Getter fileEntries!: FileEntryModel[];\n @opStore.Action fetchFileEntries!: () => Promise;\n\n get headers(): { text: string; value: string; sortable?: boolean }[] {\n let base: { text: string; value: string; sortable?: boolean }[] = [];\n if (this.showProjects) {\n base = [{ text: this.t(\"project\"), value: \"project\" }];\n }\n return [\n ...base,\n { text: this.t(\"category\"), value: \"category\" },\n { text: this.t(\"description\"), value: \"description\" },\n { text: this.t(\"archive_date\"), value: \"archive_date\" },\n { text: \"\", value: \"\", sortable: false },\n ];\n }\n\n private search = \"\";\n private selectedCategories: string[] = [];\n\n get categories(): string[] {\n return this.fileEntries.map((f: FileEntryModel) => f.category).sort();\n }\n\n get filtered(): FileEntryModel[] {\n let filtered = this.fileEntries;\n if (this.search !== \"\") {\n filtered = this.fileEntries.filter((f: FileEntryModel) =>\n f.description.toLowerCase().includes(this.search.toLowerCase())\n );\n }\n if (this.selectedCategories.length > 0) {\n filtered = this.fileEntries.filter((f: FileEntryModel) =>\n this.selectedCategories.includes(f.category)\n );\n }\n return filtered;\n }\n\n private pagination = {\n descending: true,\n sortBy: \"archive_date\",\n };\n\n private t(key: string): string {\n return this.$t(\"relationprofile.tables.files.\" + key).toString();\n }\n\n private mounted() {\n this.fetchFileEntries();\n (this.$refs.fileListTooltip as Element).parentElement!.className =\n \"tooltip-container\";\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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationArchive.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationArchive.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RelationArchive.vue?vue&type=template&id=0f494d7d&scoped=true&\"\nimport script from \"./RelationArchive.vue?vue&type=script&lang=ts&\"\nexport * from \"./RelationArchive.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RelationArchive.vue?vue&type=style&index=0&id=0f494d7d&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0f494d7d\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport GDownloadButton from 'shared/global/components/DownloadButton.vue'\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VTooltip } from 'vuetify/lib/components/VTooltip';\ninstallComponents(component, {GDownloadButton,VDataTable,VFlex,VLayout,VSelect,VTextField,VTooltip})\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, Vue } from \"vue-property-decorator\";\nimport { OrganisationModel, PrivatePersonModel } from \"../models\";\nimport { namespace } from \"vuex-class\";\n\nimport RelationData from \"modules/relationprofile/components/RelationData.vue\";\nimport ContactsTable from \"modules/relationprofile/components/ContactsTable.vue\";\nimport AddressBlock from \"modules/relationprofile/components/AddressBlock.vue\";\nimport RelationArchive from \"modules/relationprofile/components/RelationArchive.vue\";\nimport { getProfile } from \"shared/api\";\nimport { RelationType } from \"shared/store/auth/types\";\nimport { TComponent } from \"../../../shared/bootstrap\";\nimport { getFrontendConfig } from \"../api\";\n\nconst opStore = namespace(\"relationprofile\");\nconst snackStore = namespace(\"snackbar\");\n\n@Component({\n components: { RelationData, ContactsTable, AddressBlock, RelationArchive },\n})\nexport default class MyData extends Vue {\n @opStore.Getter currentOrganisation!: OrganisationModel;\n @opStore.Getter currentPrivatePerson!: PrivatePersonModel;\n\n @opStore.Action fetchCurrentOrganisation!: () => Promise;\n @opStore.Action fetchCurrentPrivatePerson!: () => Promise;\n\n @snackStore.Mutation defaultError!: () => void;\n\n private showArchive = false;\n private showArchiveProjects = false;\n private RelationType: typeof RelationType = RelationType;\n private currentType = \"\";\n private contactButtonComponent: TComponent = () =>\n import(\"../components/ContactButton.vue\");\n\n get showContactButton(): boolean {\n return this.$route.meta && this.$route.meta.contact;\n }\n\n get currentRelation(): OrganisationModel | PrivatePersonModel {\n return this.currentType === RelationType.private\n ? this.currentPrivatePerson\n : this.currentOrganisation;\n }\n\n async mounted(): Promise {\n try {\n const profile = await getProfile();\n this.currentType = profile.relation_type;\n if (profile.relation_type === RelationType.contact) {\n this.fetchCurrentOrganisation();\n } else {\n this.fetchCurrentPrivatePerson();\n }\n\n const c = await getFrontendConfig();\n this.showArchive = c.archive_enable;\n this.showArchiveProjects = c.archive_show_project_files;\n } catch (e) {\n this.defaultError();\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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyData.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/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--12-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyData.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MyData.vue?vue&type=template&id=07b894e2&scoped=true&\"\nimport script from \"./MyData.vue?vue&type=script&lang=ts&\"\nexport * from \"./MyData.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./MyData.vue?vue&type=style&index=0&id=07b894e2&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"07b894e2\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VFlex } from 'vuetify/lib/components/VGrid';\nimport { VLayout } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VContainer,VFlex,VLayout})\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationData.vue?vue&type=style&index=0&id=671c6188&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RelationArchive.vue?vue&type=style&index=0&id=0f494d7d&lang=stylus&scoped=true&\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyData.vue?vue&type=style&index=0&id=07b894e2&lang=stylus&scoped=true&\""],"sourceRoot":""}