{"version":3,"sources":["webpack:///./src/views/documents/ViewDocument.vue?9335","webpack:///./src/views/documents/SubViewAllDocuments.vue?ae6a","webpack:///./src/views/documents/SubViewAllDocuments.vue","webpack:///./src/views/documents/SubViewAllDocuments.vue?9749","webpack:///./src/views/documents/SubViewAllDocuments.vue?56c0","webpack:///./src/components/Widget.vue?eca2","webpack:///./src/views/documents/ViewDocumentsList.vue?10e7","webpack:///./src/views/documents/ViewDocumentsList.vue","webpack:///./src/views/documents/ViewDocumentsList.vue?0d33","webpack:///./src/views/documents/ViewDocumentsList.vue?7415","webpack:///./src/components/menu-actions/MenuActions.vue?ec23","webpack:///./src/components/menu-actions/MenuActions.vue","webpack:///./src/components/menu-actions/MenuActions.vue?f6e3","webpack:///./src/components/menu-actions/MenuActions.vue?0554","webpack:///./src/components/menu-actions/index.ts","webpack:///./src/views/documents/SubViewPendingSignDocuments.vue?d49d","webpack:///./src/views/documents/SubViewPendingSignDocuments.vue","webpack:///./src/views/documents/SubViewPendingSignDocuments.vue?fc16","webpack:///./src/views/documents/SubViewPendingSignDocuments.vue?a453","webpack:///./src/views/documents/ViewDocuments.vue?be73","webpack:///./src/views/documents/ViewDocuments.vue","webpack:///./src/views/documents/ViewDocuments.vue?ac46","webpack:///./src/views/documents/ViewDocuments.vue?2aa2","webpack:///./src/components/Widget.vue?e52a","webpack:///./src/components/Widget.vue","webpack:///./src/components/Widget.vue?c76f","webpack:///./src/components/Widget.vue?bb7b","webpack:///./src/view/helpers.ts","webpack:///./src/views/documents/ViewDocument.vue?777a","webpack:///./src/views/documents/ViewDocument.vue","webpack:///./src/views/documents/ViewDocument.vue?3221","webpack:///./src/views/documents/ViewDocument.vue?5b04","webpack:///./src/views/documents/ViewUploadDocument.vue?4cfc","webpack:///./src/views/documents/ViewUploadDocument.vue","webpack:///./src/views/documents/ViewUploadDocument.vue?f44a","webpack:///./src/views/documents/ViewUploadDocument.vue?a0c2","webpack:///./src/components/Section.vue?9348","webpack:///./src/components/Section.vue","webpack:///./src/components/Section.vue?5ffe","webpack:///./src/components/Section.vue?beaa","webpack:///./src/views/documents/DocumentsSubViewOverview.vue?cbfd","webpack:///./src/views/documents/DocumentsSubViewOverview.vue","webpack:///./src/views/documents/DocumentsSubViewOverview.vue?de35","webpack:///./src/views/documents/DocumentsSubViewOverview.vue?4c09","webpack:///./src/views/documents/SubViewSignedDocuments.vue?d5f9","webpack:///./src/views/documents/SubViewSignedDocuments.vue","webpack:///./src/views/documents/SubViewSignedDocuments.vue?0ee6","webpack:///./src/views/documents/SubViewSignedDocuments.vue?5358"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","attrs","staticRenderFns","extend","components","ViewDocumentsList","component","headers","items","loading","scopedSlots","_u","key","fn","documentTypeFilterItems","model","value","callback","$$v","documentTypeFilter","expression","proxy","ref","item","name","params","id","$d","createdDate","documentTypeToText","type","mimeToText","mimeType","mimeToIcon","actions","stateFilter","filter","status","COUNT_PROP","signed","pending","MenuActions","Grid","props","Object","required","default","undefined","dfilter","String","data","text","toString","align","sortable","watch","fetchData","mounted","populateActions","methods","state","currentId","entity","result","snackbar","onDelete","index","findIndex","x","slice","error","sendDocument","document","getCountByStatus","count","$n","on","_g","_b","_l","action","$event","clickHandler","context","_e","Array","inline","Boolean","toActionableItem","Section","$can","push","addDocuments","$router","replace","path","$listeners","_t","mimeToIconMap","mimeToTextMap","documentTypeToMap","t","mime","documentType","documentUrl","computed","invalid","errors","file","go","create","documents","console","log","directives","rawName","$route","title","overview","pendingCount","signedCount","Widget"],"mappings":"kIAAA,W,2CCAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,4CAA4CL,EAAG,oBAAoB,CAACM,MAAM,CA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CAACE,YAAY,sCAAsC,CAACN,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIoF,GAAGpF,EAAI+H,SAASE,cAAc,SAASnG,OAAM,QAAW,IAAI,IAAI,IACxxDnB,EAAkB,G,wGCkEP,eAAIC,OAAO,CACxBC,WAAY,CACVqH,SAAA,MAEFvE,KAJwB,WAKtB,MAAO,CACLoE,SAAS,CACP5C,MAAO,EACP6C,aAAc,EACdC,YAAa,GAEf/G,SAAS,IAGPgD,QAdkB,WAcX,wJACX,EAAKD,YADM,8CAGbG,QAAS,CACDH,UADC,WACQ,2JACR,OAAeI,MAAMC,UADb,iEAIX,EAAKpD,SAAU,EAJJ,SAKW,eAAuB,CACzCqD,OAAQ,UACRpC,GAAI,OAAekC,MAAMC,YAPlB,OAKX,EAAKyD,SALM,OASX,EAAK7G,SAAU,EATJ,qDAWX,OAASuD,SAAS,EAAKhE,GAAG,uBAAuBoD,WAAY,SAXlD,gECrFkZ,I,YCOja9C,EAAY,eACd,EACAhB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAI,E,kDClBf,IAAIhB,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACA,EAAG,KAAK,CAACJ,EAAIO,GAAGP,EAAIQ,GAAGR,EAAIS,GAAG,+CAA+CL,EAAG,oBAAoB,CAACM,MAAM,CAAC,QAAU,aAAa,MAChRC,EAAkB,G,wBCYP,eAAIC,OAAO,CACtBC,WAAW,CACXC,oBAAA,QCf+Z,I,YCO/ZC,EAAY,eACd,EACAhB,EACAY,GACA,EACA,KACA,KACA,MAIa,aAAAI,E","file":"js/documents.f3c5f9a7.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocument.vue?vue&type=style&index=0&id=6046dd8e&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5\"},[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"documentsModule.widgets.allDocuments\")))]),_c('ViewDocumentsList',{attrs:{\"status\":\"undefined\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport ViewDocumentsList from \"./ViewDocumentsList.vue\"\n\nexport default Vue.extend({\n components:{\n ViewDocumentsList\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewAllDocuments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewAllDocuments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubViewAllDocuments.vue?vue&type=template&id=b5aa3e68&\"\nimport script from \"./SubViewAllDocuments.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubViewAllDocuments.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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Widget.vue?vue&type=style&index=0&id=da9fa314&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5\"},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',[_c('Grid',{attrs:{\"headers\":_vm.headers,\"items\":_vm.items,\"search\":\"\",\"loading\":_vm.loading},scopedSlots:_vm._u([{key:\"before\",fn:function(){return [_c('v-spacer'),_c('v-col',{attrs:{\"cols\":\"12\",\"lg\":\"4\",\"sm\":\"6\"}},[_c('v-select',{staticClass:\"pt-0 mr-2\",attrs:{\"items\":_vm.documentTypeFilterItems,\"label\":_vm.$t('type')},model:{value:(_vm.documentTypeFilter),callback:function ($$v) {_vm.documentTypeFilter=$$v},expression:\"documentTypeFilter\"}})],1)]},proxy:true},{key:\"item.name\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('router-link',{attrs:{\"to\":{ name: 'view-document', params: { id: item.id } }}},[_vm._v(\" \"+_vm._s(item.name)+\" \")])]}},{key:\"item.createdDate\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.$d(item.createdDate))+\" \")]}},{key:\"item.type\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.documentTypeToText(item.type))+\" \")]}},{key:\"item.mimeType\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('v-icon',{attrs:{\"title\":_vm.mimeToText(item.mimeType)}},[_vm._v(\" mdi-\"+_vm._s(_vm.mimeToIcon(item.mimeType))+\" \")])]}},{key:\"item.actions\",fn:function(ref){\nvar item = ref.item;\nreturn [_c('MenuActions',{attrs:{\"actions\":_vm.actions,\"context\":item,\"inline\":\"\"}})]}}])})],1)],1)],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\nimport { appStore } from \"@/app.store\";\nimport { companiesStore } from \"@/service/companies/companies.store\";\nimport {\n DocumentDto,\n getDocumentsOf,\n Filter,\n DocumentsAnalysisDto\n} from \"@/service/documents/documents.service\";\nimport { mimeToIcon, mimeToText, documentTypeToText } from \"@/view/helpers\";\nimport { MenuActions, MenuActionFor } from \"@/components/menu-actions\";\nimport Grid from \"@/components/grid/Grid.vue\";\n\nimport Vue, { PropType } from \"vue\";\n\ntype DFilter = \"signed\" | \"pending\"\n\nconst stateFilter = (filter: DFilter) => (item: DocumentDto): boolean => {\n switch (filter) {\n case \"signed\":\n return item.status == \"signed\";\n case \"pending\":\n return item.status == \"pending\";\n }\n}\n\nconst COUNT_PROP: Record> = {\n signed: \"signedCount\",\n pending: \"pendingCount\"\n}\n\nexport default Vue.extend({\n components: {\n MenuActions,\n Grid,\n },\n props: {\n filter: {\n type: Object as PropType,\n required: false,\n default: undefined,\n },\n dfilter: {\n type: String as PropType,\n required: false,\n default: undefined,\n },\n },\n data() {\n return {\n loading: false,\n headers: [\n {\n text: this.$t(\"name\").toString(),\n align: \"start\",\n sortable: false,\n value: \"name\",\n },\n {\n text: this.$t(\"type\").toString(),\n align: \"start\",\n sortable: false,\n value: \"type\",\n },\n {\n text: this.$t(\"mimeType\").toString(),\n align: \"start\",\n sortable: false,\n value: \"mimeType\",\n },\n {\n text: this.$t(\"created\").toString(),\n align: \"start\",\n sortable: false,\n value: \"createdDate\",\n },\n {\n text: \"\",\n align: \"end\",\n value: \"actions\",\n sortable: false,\n },\n ],\n items: [] as Array,\n actions: [] as Array>,\n documentTypeFilterItems: [\n { value: '', text: '-' },\n { value: 'Resolution', text: documentTypeToText('Resolution') },\n { value: 'OptionAgreement', text: documentTypeToText('OptionAgreement') },\n { value: 'Shares', text: documentTypeToText('Shares') },\n { value: 'SharesCertificate', text: documentTypeToText('SharesCertificate') },\n { value: 'CompanyPolicy', text: documentTypeToText('CompanyPolicy') },\n { value: 'EmploymentContracts', text: documentTypeToText('EmploymentContracts') },\n { value: 'SharesAgreement', text: documentTypeToText('SharesAgreement') },\n { value: 'ArticlesofAssociation', text: documentTypeToText('ArticlesofAssociation') },\n { value: 'Other', text: documentTypeToText('Other') },\n ],\n documentTypeFilter: \"\" as DocumentType | \"\"\n };\n },\n watch: {\n filter() {\n this.fetchData();\n },\n documentTypeFilter() {\n this.fetchData();\n }\n },\n mounted() {\n this.populateActions();\n this.fetchData();\n },\n methods: {\n mimeToIcon,\n mimeToText,\n documentTypeToText,\n async fetchData() {\n if (!companiesStore.state.currentId) return;\n\n try {\n this.loading = true;\n var result = await getDocumentsOf(\n this.filter || {\n entity: \"company\",\n id: companiesStore.state.currentId,\n },\n this.documentTypeFilter == \"\" ? undefined : this.documentTypeFilter\n );\n if(this.dfilter != undefined){\n result = result.filter(stateFilter(this.dfilter))\n }\n this.items = result;\n this.loading = false;\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n }\n },\n async onDelete(item: DocumentDto) {\n try {\n this.loading = true;\n //await deleteStakeholder(item.id);\n const index = this.items.findIndex((x) => x.id == item.id);\n this.items.slice(index, 1);\n this.loading = false;\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n }\n },\n sendDocument(document: DocumentDto) {\n //TODO:\n },\n populateActions() {\n // if (this.$can(\"update\", \"Document\"))\n // this.actions.push({\n // text: this.$t(\"send\").toString(),\n // clickHandler: this.sendDocument,\n // });\n },\n getCountByStatus(item: DocumentsAnalysisDto): string {\n let count = item[COUNT_PROP[this.dfilter]];\n return this.$n(count).toString();\n },\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocumentsList.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocumentsList.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ViewDocumentsList.vue?vue&type=template&id=6dacaebf&\"\nimport script from \"./ViewDocumentsList.vue?vue&type=script&lang=ts&\"\nexport * from \"./ViewDocumentsList.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.actions.length)?_c('v-menu',{attrs:{\"offset-y\":\"\"},scopedSlots:_vm._u([(_vm.inline)?{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({attrs:{\"icon\":\"\",\"color\":\"grey darken-2\",\"dark\":\"\"}},'v-btn',attrs,false),on),[_c('v-icon',[_vm._v(\"mdi-dots-horizontal\")])],1)]}}:{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nvar attrs = ref.attrs;\nreturn [_c('v-btn',_vm._g(_vm._b({staticClass:\"min-width-2\",attrs:{\"color\":\"secondary\",\"dark\":\"\",\"depressed\":\"\"}},'v-btn',attrs,false),on),[_vm._v(\" \"+_vm._s(_vm.$t(\"actions\"))+\" \"),_c('v-icon',{attrs:{\"right\":\"\"}},[_vm._v(\"mdi-chevron-down\")])],1)]}}],null,true)},[_c('v-list',_vm._l((_vm.actions),function(action,index){return _c('v-list-item',{key:index,on:{\"click\":function($event){return action.clickHandler(_vm.context)}}},[_c('v-list-item-title',[_vm._v(_vm._s(action.text))])],1)}),1)],1):_vm._e()],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\nimport Vue, { PropType } from \"vue\";\nimport { MenuAction } from \".\";\n\nexport default Vue.extend({\n props: {\n context: {\n required: false,\n type: Object,\n default: undefined,\n },\n actions: {\n required: true,\n type: Array as PropType>,\n },\n inline: {\n required: false,\n type: Boolean,\n default: false,\n },\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MenuActions.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MenuActions.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MenuActions.vue?vue&type=template&id=7fbceba8&\"\nimport script from \"./MenuActions.vue?vue&type=script&lang=ts&\"\nexport * from \"./MenuActions.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","export { default as MenuActions } from \"./MenuActions.vue\";\nexport interface MenuActionFor {\n text: string;\n clickHandler: (item: TItem) => void;\n}\n\nexport interface MenuAction {\n text: string;\n clickHandler: () => void;\n}\n\nexport type ActionableItem = TItem & { actions: Array> }\n\nexport function toActionableItem(item: TItem, actions: Array> = []): ActionableItem {\n return {\n ...item,\n actions: actions\n }\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5\"},[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"documentsModule.widgets.pendingSign\")))]),_c('ViewDocumentsList',{attrs:{\"dfilter\":\"pending\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport ViewDocumentsList from \"./ViewDocumentsList.vue\"\n\nexport default Vue.extend({\n components:{\n ViewDocumentsList\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewPendingSignDocuments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewPendingSignDocuments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubViewPendingSignDocuments.vue?vue&type=template&id=3a2f5341&\"\nimport script from \"./SubViewPendingSignDocuments.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubViewPendingSignDocuments.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Section',{attrs:{\"title\":_vm.$t('documentsModule.pagePrompt')},scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('div',{staticClass:\"text-right\"},[_c('MenuActions',{attrs:{\"actions\":_vm.actions}})],1)]},proxy:true}])},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { MenuAction, MenuActions } from \"@/components/menu-actions\";\nimport Section from \"@/components/Section.vue\";\n\nexport default Vue.extend({\n components: {\n MenuActions,\n Section,\n },\n data: () => ({\n actions: [] as Array,\n loading: false,\n }),\n mounted() {\n this.populateActions();\n },\n methods: {\n populateActions() {\n if (this.$can(\"create\", \"Document\"))\n this.actions.push({\n text: this.$t(\"documentsModule.addDocuments\").toString(),\n clickHandler: this.addDocuments,\n });\n },\n addDocuments() {\n this.$router.replace({ path: \"/documents/create\" });\n }\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocuments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocuments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ViewDocuments.vue?vue&type=template&id=d3dda9ec&\"\nimport script from \"./ViewDocuments.vue?vue&type=script&lang=ts&\"\nexport * from \"./ViewDocuments.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-card',_vm._g({staticClass:\"widget pa-5 ma-3\",attrs:{\"elevation\":\"3\",\"shaped\":\"\"}},_vm.$listeners),[(_vm.loading)?_c('v-skeleton-loader',{attrs:{\"type\":\"image\"}}):_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\nimport Vue from \"vue\";\n\nexport default Vue.extend({\n props: {\n loading: {\n required: true,\n type: Boolean,\n },\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Widget.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Widget.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Widget.vue?vue&type=template&id=da9fa314&scoped=true&\"\nimport script from \"./Widget.vue?vue&type=script&lang=ts&\"\nexport * from \"./Widget.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Widget.vue?vue&type=style&index=0&id=da9fa314&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 \"da9fa314\",\n null\n \n)\n\nexport default component.exports","import { PageQuery } from \"@/service\";\nimport { DataOptions } from \"vuetify\";\nimport { DocumentType } from \"@/service/documents/documents.service.dto\";\nimport { i18n } from \"@/plugins/i18n\"\n\nexport function convertDataOptionsToPageQuery(options: DataOptions): PageQuery {\n const result: PageQuery = {\n page: options.page,\n size: options.itemsPerPage\n };\n\n if (options.sortBy) {\n result.sorting = options.sortBy.map((item, index) => ({ field: item, asc: !options.sortDesc[index] }));\n }\n\n return result;\n}\n\nconst mimeToIconMap: Record = {\n \"application/pdf\": \"file-pdf-box\",\n}\n\nconst mimeToTextMap: Record = {\n \"application/pdf\": \"Adobe PDF\",\n}\n\nconst documentTypeToMap: Record = {\n \"Resolution\": i18n.t(\"docType.resolution\").toString(),\n \"OptionAgreement\": i18n.t(\"docType.optionAgreement\").toString(),\n \"Shares\": i18n.t(\"docType.share\").toString(),\n \"SharesCertificate\": i18n.t(\"docType.certificate\").toString(),\n \"Other\": i18n.t(\"docType.other\").toString(),\n \"CompanyPolicy\": i18n.t(\"docType.companyPolicy\").toString(),\n \"EmploymentContracts\": i18n.t(\"docType.employmentContracts\").toString(),\n \"SharesAgreement\": i18n.t(\"docType.sharesAgreement\").toString(),\n \"ArticlesofAssociation\": i18n.t(\"docType.articlesofAssociation\").toString(),\n}\n\nexport function mimeToIcon(mime: string): string {\n return mimeToIconMap[mime];\n}\n\nexport function mimeToText(mime: string): string {\n return mimeToTextMap[mime];\n}\n\nexport function documentTypeToText(documentType: DocumentType): string {\n return documentTypeToMap[documentType];\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Section',{attrs:{\"title\":_vm.document.name}},[_c('v-col',[(_vm.documentUrl)?_c('iframe',{staticClass:\"doc-viewer\",attrs:{\"src\":_vm.documentUrl}}):_vm._e()])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport { appStore } from \"@/app.store\";\nimport {\n DocumentDto,\n getDocument,\n} from \"@/service/documents/documents.service\";\nimport Section from \"@/components/Section.vue\";\n\nexport default Vue.extend({\n components: {\n Section,\n },\n props: {\n id: {\n type: String,\n required: true,\n },\n },\n data() {\n return {\n loading: false,\n document: {} as DocumentDto,\n };\n },\n computed: {\n documentUrl(): string {\n return `/api/documents/${this.document.id}/download`;\n },\n },\n async mounted() {\n try {\n this.loading = true;\n this.document = await getDocument(this.id);\n this.loading = false;\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n }\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocument.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewDocument.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ViewDocument.vue?vue&type=template&id=6046dd8e&scoped=true&\"\nimport script from \"./ViewDocument.vue?vue&type=script&lang=ts&\"\nexport * from \"./ViewDocument.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./ViewDocument.vue?vue&type=style&index=0&id=6046dd8e&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 \"6046dd8e\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5 min-height-1\"},[_c('validation-observer',{scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar invalid = ref.invalid;\nreturn [_c('v-row',[_c('v-col',{attrs:{\"md\":\"4\"}},[_c('h2',[_vm._v(_vm._s(_vm.$t(\"documentsModule.uploadDocumentTitle\")))])])],1),_c('v-row',[_c('v-col',[_c('v-row',[_c('v-col',{attrs:{\"md\":\"4\"}},[_c('validation-provider',{attrs:{\"rules\":\"required\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar errors = ref.errors;\nreturn [_c('v-select',{attrs:{\"items\":_vm.documentTypeFilterItems,\"label\":_vm.$t('type'),\"error-messages\":errors},model:{value:(_vm.documentType),callback:function ($$v) {_vm.documentType=$$v},expression:\"documentType\"}})]}}],null,true)})],1),_c('v-col',{attrs:{\"md\":\"4\"}},[_c('validation-provider',{attrs:{\"rules\":\"required\"}},[_c('v-file-input',{attrs:{\"label\":_vm.$t('documents'),\"small-chips\":\"\",\"truncate-length\":\"15\"},model:{value:(_vm.file),callback:function ($$v) {_vm.file=$$v},expression:\"file\"}})],1)],1)],1),_c('v-row',{staticClass:\"mt-10\"},[_c('v-col',[_c('v-btn',{staticClass:\"min-width-2 mr-2\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"cancel\"))+\" \")]),_c('v-btn',{staticClass:\"min-width-2\",attrs:{\"color\":\"secondary\",\"depressed\":\"\",\"disabled\":invalid,\"loading\":_vm.loading},on:{\"click\":_vm.create}},[_vm._v(\" \"+_vm._s(_vm.$t(\"submit\"))+\" \")])],1)],1)],1)],1)]}}])})],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 Vue, { PropType } from \"vue\";\n\nimport { companiesStore } from \"@/service/companies/companies.store\";\nimport { appStore } from \"@/app.store\";\nimport { Filter, getDocumentsOf, uploadForCompany } from \"@/service/documents/documents.service\";\nimport { DocumentDto, DocumentType } from \"@/service/documents/documents.service.dto\";\nimport { documentTypeToText } from \"@/view\";\n\nexport default Vue.extend({\n props: {\n filter: {\n type: Object as PropType,\n required: false,\n default: undefined,\n }\n },\n data() {\n return {\n documentType: undefined as DocumentType | undefined,\n documentTypeFilterItems: [\n { value: '', text: '-' },\n { value: 'Resolution', text: documentTypeToText('Resolution') },\n { value: 'OptionAgreement', text: documentTypeToText('OptionAgreement') },\n { value: 'Share', text: documentTypeToText('Shares') },\n { value: 'Certificate', text: documentTypeToText('SharesCertificate') },\n { value: 'CompanyPolicy', text: documentTypeToText('CompanyPolicy') },\n { value: 'EmploymentContracts', text: documentTypeToText('EmploymentContracts') },\n { value: 'SharesAgreement', text: documentTypeToText('SharesAgreement') },\n { value: 'ArticlesofAssociation', text: documentTypeToText('ArticlesofAssociation') },\n { value: 'Other', text: documentTypeToText('Other') },\n ],\n file: undefined as File | undefined,\n documents: [] as Array,\n loading: false,\n documentTypeFilter: \"\" as DocumentType | \"\"\n };\n },\n async mounted() {\n this.fetchData();\n },\n methods: {\n async fetchData() {\n if (!companiesStore.state.currentId) return;\n\n try {\n this.loading = true;\n this.documents = await getDocumentsOf(\n this.filter || {\n entity: \"company\",\n id: companiesStore.state.currentId,\n }\n );\n this.loading = false;\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n }\n },\n async create() {\n if (!companiesStore.state.currentId) return;\n\n try {\n this.loading = true;\n console.log(this.documentType)\n await uploadForCompany(\n companiesStore.state.currentId,\n this.documentType??\"\",\n this.file\n );\n\n appStore.snackbar(this.$t(\"created\").toString(), \"success\");\n this.$router.replace({ path: \"/documents\" });\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n } finally {\n this.loading = false;\n }\n },\n },\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewUploadDocument.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ViewUploadDocument.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ViewUploadDocument.vue?vue&type=template&id=5591661e&\"\nimport script from \"./ViewUploadDocument.vue?vue&type=script&lang=ts&\"\nexport * from \"./ViewUploadDocument.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5\"},[_c('v-row',[_c('v-col',[_c('div',{staticClass:\"d-flex align-center\"},[_c('v-btn',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$route.path != '/options'),expression:\"$route.path != '/options'\"}],staticClass:\"min-width-2\",attrs:{\"outlined\":\"\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\" mdi-arrow-left \")]),_vm._v(\" \"+_vm._s(_vm.$t('back'))+\" \")],1)],1)]),_c('v-col',[_c('h2',{staticClass:\"text-center\"},[_vm._v(_vm._s(_vm.title))])]),_c('v-col',[_vm._t(\"actions\")],2)],1),_c('v-row',[_c('v-col',[_vm._t(\"default\")],2)],1)],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\nimport Vue from \"vue\";\n\nexport default Vue.extend({\n props:{\n title: {\n type: String,\n required: false,\n default: \"\"\n }\n }\n});\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Section.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Section.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Section.vue?vue&type=template&id=2fdad56a&\"\nimport script from \"./Section.vue?vue&type=script&lang=ts&\"\nexport * from \"./Section.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',[_c('v-row',{attrs:{\"justify\":\"center\"}},[_c('v-col',{attrs:{\"md\":\"4\",\"sm\":\"12\"}},[_c('Widget',{staticClass:\"widget\",attrs:{\"elevation\":\"2\",\"shaped\":\"\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$router.push({ path: '/documents/All' })}},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('div',{staticClass:\"text-subtitle-1 d-flex justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"documentsModule.widgets.allDocuments\"))+\" \")]),_c('div',{staticClass:\"d-flex mt-2 justify-center text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$n(_vm.overview.count))+\" \")])]},proxy:true}])})],1),_c('v-col',{attrs:{\"md\":\"4\",\"sm\":\"12\"}},[_c('Widget',{staticClass:\"widget\",attrs:{\"elevation\":\"2\",\"shaped\":\"\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$router.push({ path: '/documents/Pending' })}},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('div',{staticClass:\"text-subtitle-1 d-flex justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"documentsModule.widgets.pendingSign\"))+\" \")]),_c('div',{staticClass:\"d-flex mt-2 justify-center text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$n(_vm.overview.pendingCount))+\" \")])]},proxy:true}])})],1),_c('v-col',{attrs:{\"md\":\"4\",\"sm\":\"12\"}},[_c('Widget',{staticClass:\"widget\",attrs:{\"elevation\":\"2\",\"shaped\":\"\",\"loading\":_vm.loading},on:{\"click\":function($event){return _vm.$router.push({ path: '/documents/Signed' })}},scopedSlots:_vm._u([{key:\"default\",fn:function(){return [_c('div',{staticClass:\"text-subtitle-1 d-flex justify-center\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"documentsModule.widgets.signedDocuments\"))+\" \")]),_c('div',{staticClass:\"d-flex mt-2 justify-center text-h5\"},[_vm._v(\" \"+_vm._s(_vm.$n(_vm.overview.signedCount))+\" \")])]},proxy:true}])})],1)],1)],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\nimport Vue from \"vue\";\nimport Widget from \"@/components/Widget.vue\";\nimport { DocumentsAnalysisDto, getDocumentsAnalysisOf } from \"@/service/documents/documents.service\";\nimport { companiesStore } from \"@/service/companies/companies.store\";\nimport { appStore } from \"@/app.store\";\n\nexport default Vue.extend({\n components: {\n Widget\n },\n data() {\n return {\n overview:{\n count: 0,\n pendingCount: 0,\n signedCount: 0,\n } as DocumentsAnalysisDto,\n loading: true,\n };\n },\n async mounted() {\n this.fetchData();\n },\n methods: {\n async fetchData() {\n if (!companiesStore.state.currentId) return;\n\n try {\n this.loading = true;\n this.overview = await getDocumentsAnalysisOf({\n entity: \"company\",\n id: companiesStore.state.currentId,\n });\n this.loading = false;\n } catch (error) {\n appStore.snackbar(this.$t(\"shared.genericError\").toString(), \"error\");\n }\n }\n },\n })\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentsSubViewOverview.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DocumentsSubViewOverview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./DocumentsSubViewOverview.vue?vue&type=template&id=4c49f595&\"\nimport script from \"./DocumentsSubViewOverview.vue?vue&type=script&lang=ts&\"\nexport * from \"./DocumentsSubViewOverview.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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-container',{staticClass:\"pa-5\"},[_c('div',[_c('h3',[_vm._v(_vm._s(_vm.$t(\"documentsModule.widgets.signedDocuments\")))]),_c('ViewDocumentsList',{attrs:{\"dfilter\":\"signed\"}})],1)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\nimport Vue from \"vue\";\nimport ViewDocumentsList from \"./ViewDocumentsList.vue\"\n\nexport default Vue.extend({\n components:{\n ViewDocumentsList\n }\n});\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewSignedDocuments.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SubViewSignedDocuments.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SubViewSignedDocuments.vue?vue&type=template&id=19e7fcf8&\"\nimport script from \"./SubViewSignedDocuments.vue?vue&type=script&lang=ts&\"\nexport * from \"./SubViewSignedDocuments.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":""}