{"version":3,"sources":["webpack:///./modules/projects/pages/MyProjects.vue?03f2","webpack:///./modules/projects/components/ProjectTable.vue?52e8","webpack:///./modules/projects/components/ProjectTable.vue","webpack:///./modules/projects/components/ProjectTable.vue?390f","webpack:///./modules/projects/components/ProjectTable.vue?a6f6","webpack:///./modules/projects/pages/MyProjects.vue","webpack:///./modules/projects/pages/MyProjects.vue?7e03","webpack:///./modules/projects/pages/MyProjects.vue?9c68","webpack:///./shared/filters/dateflip.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","allProjects","staticRenderFns","staticClass","headers","projects","pagination","rowsPerPageItems","on","$event","scopedSlots","_u","key","fn","props","_v","_s","item","id","description","_f","start_date","end_date","ProjectTable","text","t","value","rowsPerPage","descending","$t","toString","required","filters","dateFlip","component","VDataTable","pStore","snackStore","MyProjects","fetchProjects","catch","defaultError","Getter","Action","Mutation","components","VContainer","VFlex","VLayout","v","split","reverse","join"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQ,GAAG,eAAe,KAAK,CAACF,EAAG,WAAW,CAACE,MAAM,CAAC,IAAM,GAAG,KAAO,KAAK,CAACF,EAAG,SAAS,CAACE,MAAM,CAAC,KAAO,GAAG,IAAM,KAAK,CAACF,EAAG,gBAAgB,CAACE,MAAM,CAAC,SAAWN,EAAIO,gBAAgB,IAAI,IAAI,IAC7SC,EAAkB,G,oCCDlB,EAAS,WAAa,IAAIR,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAe,CAACK,YAAY,cAAcH,MAAM,CAAC,QAAUN,EAAIU,QAAQ,MAAQV,EAAIW,SAAS,WAAaX,EAAIY,WAAW,sBAAsBZ,EAAIa,kBAAkBC,GAAG,CAAC,oBAAoB,SAASC,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gIAOS,WACL3C,KAAK4C,gBAAgBC,OAAM,WACzB,EAAKC,sBATX,GAAwC,QACvB,gBAAdL,EAAOM,Q,kCAEO,gBAAdN,EAAOO,Q,oCAEa,gBAApBN,EAAWO,U,mCALON,EAAU,gBAH9B,eAAU,CACTO,WAAY,CAAEtB,aAAA,MAEKe,GAAA,QCvBgc,I,oCCOjd,EAAY,eACd,EACA7C,EACAS,GACA,EACA,KACA,KACA,MAIa,eAAiB,QAOhC,IAAkB,EAAW,CAAC4C,aAAA,KAAWC,QAAA,KAAMC,UAAA,Q,oCCzBjC,gBAAUC,GACtB,OAAKA,EACEA,EACJC,MAAM,KACNC,UACAC,KAAK,KAJO","file":"js/chunk-bae49602.9707c913.js","sourcesContent":["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',{attrs:{\"row\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\",\"xl9\":\"\"}},[_c('project-table',{attrs:{\"projects\":_vm.allProjects}})],1)],1)],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.projects,\"pagination\":_vm.pagination,\"rows-per-page-items\":_vm.rowsPerPageItems},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{attrs:{\"data-name\":\"project-table-id\"}},[_vm._v(_vm._s(props.item.id))]),_c('td',[_vm._v(_vm._s(props.item.description))]),_c('td',[_vm._v(_vm._s(_vm._f(\"dateFlip\")(props.item.start_date)))]),_c('td',[_vm._v(_vm._s(_vm._f(\"dateFlip\")(props.item.end_date)))])]}}])})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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 { ProjectModel } from \"../models\";\nimport dateFlip from \"shared/filters/dateflip\";\n\n@Component({\n filters: {\n dateFlip\n }\n})\nexport default class ProjectTable extends Vue {\n @Prop({ required: true })\n projects!: ProjectModel[];\n\n headers = [\n { text: this.t(\"id\"), value: \"id\" },\n { text: this.t(\"description\"), value: \"description\" },\n { text: this.t(\"startDate\"), value: \"start_date\" },\n { text: this.t(\"endDate\"), value: \"end_date\" }\n ];\n\n pagination = {\n rowsPerPage: 15,\n descending: true\n };\n\n rowsPerPageItems = [\n 5,\n 15,\n 25,\n { text: \"$vuetify.dataIterator.rowsPerPageAll\", value: -1 }\n ];\n\n private t(key: string): string {\n return this.$t(\"projects.table.\" + key).toString();\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProjectTable.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ProjectTable.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ProjectTable.vue?vue&type=template&id=65cd7772&\"\nimport script from \"./ProjectTable.vue?vue&type=script&lang=ts&\"\nexport * from \"./ProjectTable.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 { VDataTable } from 'vuetify/lib/components/VDataTable';\ninstallComponents(component, {VDataTable})\n","\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { namespace } from \"vuex-class\";\nimport { ProjectModel } from \"../models\";\n\nimport ProjectTable from \"../components/ProjectTable.vue\";\n\nconst pStore = namespace(\"projects\");\nconst snackStore = namespace(\"snackbar\");\n\n@Component({\n components: { ProjectTable }\n})\nexport default class MyProjects extends Vue {\n @pStore.Getter allProjects!: ProjectModel;\n\n @pStore.Action fetchProjects!: () => Promise;\n\n @snackStore.Mutation defaultError!: () => void;\n\n mounted() {\n this.fetchProjects().catch(() => {\n this.defaultError();\n });\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyProjects.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--20-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MyProjects.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./MyProjects.vue?vue&type=template&id=672767ca&\"\nimport script from \"./MyProjects.vue?vue&type=script&lang=ts&\"\nexport * from \"./MyProjects.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 { 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 default function(v: string | null): string {\n if (!v) return \"\";\n return v\n .split(\"-\")\n .reverse()\n .join(\"-\");\n}\n"],"sourceRoot":""}