{"version":3,"sources":["webpack:///./src/views/postvak-in/RequestApproved.vue?cd26","webpack:///./src/views/postvak-in/RequestApproved.vue?1dbb","webpack:///./src/views/postvak-in/RequestApproved.vue?bdb8","webpack:///./src/views/postvak-in/RequestApproved.vue","webpack:///./src/views/postvak-in/RequestListMachine.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","state","matches","response","total","headers","items","options","currentPage","$t","on","$event","$router","push","name","params","id","articleRegistrationId","updateOptions","scopedSlots","_u","key","fn","ref","item","_v","_s","startDate","toLocalDateStringShort","getLastName","birthDate","approvedDate","toLocalDateTimeStringShort","model","value","callback","$$v","search","expression","isDownloading","exportData","onExport","proxy","staticRenderFns","defineComponent","components","ExportComponent","setup","_useMachine","useMachine","requestListMachine","service","api","ArticleRegistrationApi","reactive","selectedProject","computed","Store","getters","page","itemsPerPage","sortBy","sortDesc","groupBy","groupDesc","multiSort","mustSort","text","i18n","t","toString","fetchResults","_fetchResults","apply","arguments","_asyncToGenerator","_regeneratorRuntime","mark","_callee2","_selectedProject$valu2","request","_yield$api$articleReg","data","wrap","_context2","prev","next","projectId","abrupt","descending","rowsPerPage","articleRegistrationGetArticleRegistrationApprovedTable","sent","send","t0","stop","middleName","concat","lastName","opts","_selectedProject$valu","articleRegistrationExportArticleRegistrationApprovedToExcel","responseType","then","catch","onMounted","_callee","_context","subscribe","s","watch","component","VBtn","VCard","VCardText","VCol","VDataTable","VRow","VSpacer","VTextField","VToolbar","VToolbarTitle","Machine","initial","states","idle","RELOAD","loading","RESOLVE","REJECT","error","type"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,SAAS,CAACE,YAAY,QAAQ,CAACF,EAAG,cAAc,CAACA,EAAG,eAAe,CAACE,YAAY,cAAcC,MAAM,CAAC,QAAUP,EAAIQ,MAAMC,QAAQ,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B,cACAP,QACAE,WACAyB,8BACAI,kCACAd,gBACAqB,gBACAC,aACAC,eChRod,I,yJCOtdsE,EAAY,eACd,EACAvH,EACAmD,GACA,EACA,KACA,KACA,MAIa,aAAAoE,EAAiB,QAchC,IAAkBA,EAAW,CAACC,OAAA,KAAKC,QAAA,KAAMC,UAAA,OAAUC,OAAA,KAAKC,aAAA,KAAWC,OAAA,KAAKC,UAAA,KAAQC,aAAA,KAAWC,WAAA,KAASC,cAAA,U,kCChCpG,gBAEMvE,EAAqBwE,eAAQ,CACjC1G,GAAI,qBACJ2G,QAAS,OACTC,OAAQ,CACNC,KAAM,CACJnH,GAAI,CACFoH,OAAQ,YAGZC,QAAS,CACPrH,GAAI,CACFsH,QAAS,OACTC,OAAQ,UAGZC,MAAO,CACLC,KAAM,YAKGjF","file":"js/chunk-08065552.7ecea834.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-card',{staticClass:\"mb-5\"},[_c('v-card-text',[_c('v-data-table',{staticClass:\"row-pointer\",attrs:{\"loading\":_vm.state.matches('loading'),\"disabled\":_vm.state.matches('loading'),\"server-items-length\":_vm.response.total,\"headers\":_vm.headers,\"items\":_vm.response.items,\"options\":_vm.options,\"page\":_vm.currentPage,\"loading-text\":_vm.$t('datatable.loading-text'),\"no-data-text\":_vm.$t('datatable.no-data-text'),\"no-results-text\":_vm.$t('datatable.no-results-text'),\"footer-props\":{\n 'items-per-page-text': _vm.$t('datatable.items-per-page-text'),\n 'items-per-page-options': [10, 25, 50, 100],\n }},on:{\"click:row\":function($event){return _vm.$router.push({\n name: 'postvak-in-detail',\n params: { id: $event.articleRegistrationId },\n })},\"update:options\":_vm.updateOptions,\"update:page\":function($event){_vm.currentPage=$event}},scopedSlots:_vm._u([{key:\"item.startDate\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.startDate ? _vm.toLocalDateStringShort(item.startDate) : \"\")+\" \")]}},{key:\"item.lastName\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(_vm.getLastName(item))+\" \")]}},{key:\"item.birthDate\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.birthDate ? _vm.toLocalDateStringShort(item.birthDate) : \"\")+\" \")]}},{key:\"item.approvedDate\",fn:function(ref){\n var item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.approvedDate ? _vm.toLocalDateTimeStringShort(item.approvedDate) : \"\")+\" \")]}},{key:\"item.actions\",fn:function(ref){return [_c('v-btn',{attrs:{\"color\":\"primary\",\"outlined\":\"\",\"x-small\":\"\"}},[_vm._v(_vm._s(_vm.$t(\"generic.details\")))])]}},{key:\"top\",fn:function(){return [_c('v-toolbar',{staticClass:\"mb-4\",attrs:{\"flat\":\"\"}},[_c('v-row',{attrs:{\"no-gutters\":\"\"}},[_c('v-col',{attrs:{\"align-self\":\"center\"}},[_c('v-toolbar-title',{staticClass:\"headline primary--text\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"request.approved\"))+\" \")])],1),_c('v-spacer'),_c('v-col',[_c('v-spacer'),_c('v-text-field',{attrs:{\"filled\":\"\",\"append-icon\":\"mdi-magnify\",\"label\":_vm.$t('generic.search'),\"single-line\":\"\",\"dense\":\"\",\"hide-details\":\"\"},model:{value:(_vm.search),callback:function ($$v) {_vm.search=$$v},expression:\"search\"}})],1),_c('v-col',{staticClass:\"flex-grow-0 ml-8\",attrs:{\"align-self\":\"center\"}},[_c('ExportComponent',{attrs:{\"is-downloading\":_vm.isDownloading,\"data\":_vm.exportData},on:{\"download-excel\":function($event){return _vm.onExport()}}})],1)],1)],1)]},proxy:true}],null,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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport {\r\n defineComponent,\r\n onMounted,\r\n ref,\r\n watch,\r\n reactive,\r\n computed,\r\n} from \"@vue/composition-api\";\r\nimport { useMachine } from \"@xstate/vue\";\r\nimport { AxiosResponse } from \"axios\";\r\n\r\nimport {\r\n ArticleRegistrationApi,\r\n GetArticleRegistrationTableRequest,\r\n VueTableResponseOfArticleRegistrationApprovedTableDto,\r\n ArticleRegistrationApprovedTableDto,\r\n ProjectDto,\r\n} from \"@/api\";\r\nimport ExportComponent from \"@/components/export/ExportComponent.vue\";\r\nimport { DataTableHeader, DataOptions } from \"vuetify\";\r\nimport Store from \"@/store\";\r\nimport {\r\n toLocalDateStringShort,\r\n toLocalDateTimeStringShort,\r\n} from \"@/util/date\";\r\nimport i18n from \"@/i18n\";\r\nimport requestListMachine from \"./RequestListMachine\";\r\n\r\nexport default defineComponent({\r\n components: { ExportComponent },\r\n setup() {\r\n const { state, service } = useMachine(requestListMachine);\r\n const api = new ArticleRegistrationApi();\r\n\r\n const search = ref(\"\");\r\n const currentPage = ref(0);\r\n const isDownloading = ref(false);\r\n const exportData = ref>();\r\n\r\n const response: VueTableResponseOfArticleRegistrationApprovedTableDto = reactive(\r\n {\r\n items: [],\r\n total: 0,\r\n }\r\n );\r\n\r\n const selectedProject = computed(\r\n () => Store.getters[\"User/getSelectedProject\"]\r\n );\r\n\r\n let options: DataOptions = reactive({\r\n page: 1,\r\n itemsPerPage: 10,\r\n sortBy: [\"startDate\"],\r\n sortDesc: [true],\r\n groupBy: [],\r\n groupDesc: [],\r\n multiSort: false,\r\n mustSort: false,\r\n });\r\n\r\n const headers: DataTableHeader[] = [\r\n {\r\n text: i18n.t(\"request.table.start-date\").toString(),\r\n value: \"startDate\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.name\").toString(),\r\n value: \"lastName\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.first-name\").toString(),\r\n value: \"firstName\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.birth-date\").toString(),\r\n value: \"birthDate\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.employee-number\").toString(),\r\n value: \"employeeNr\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.approved-by\").toString(),\r\n value: \"approvedByEmailAddress\",\r\n },\r\n {\r\n text: i18n.t(\"request.table.date\").toString(),\r\n value: \"approvedDate\",\r\n },\r\n {\r\n text: \"\",\r\n value: \"actions\",\r\n },\r\n ];\r\n\r\n async function fetchResults() {\r\n if (!selectedProject.value?.projectId) return;\r\n\r\n try {\r\n const request: GetArticleRegistrationTableRequest = {\r\n sortBy: options.sortBy,\r\n descending: options.sortDesc,\r\n page: options.page,\r\n rowsPerPage: options.itemsPerPage,\r\n search: search.value,\r\n projectId: selectedProject.value.projectId,\r\n };\r\n const {\r\n data,\r\n } = await api.articleRegistrationGetArticleRegistrationApprovedTable(\r\n request\r\n );\r\n response.items = data.items;\r\n response.total = data.total;\r\n\r\n service.send(\"RESOLVE\");\r\n } catch (e) {\r\n service.send(\"REJECT\");\r\n }\r\n }\r\n\r\n function getLastName(item: ArticleRegistrationApprovedTableDto) {\r\n if (item.middleName) {\r\n return `${item.lastName}, ${item.middleName}`;\r\n }\r\n return item.lastName;\r\n }\r\n\r\n function updateOptions(opts: DataOptions) {\r\n options = opts;\r\n service.send(\"RELOAD\");\r\n }\r\n\r\n function onExport() {\r\n if (!selectedProject.value?.projectId) return;\r\n\r\n isDownloading.value = true;\r\n\r\n api\r\n .articleRegistrationExportArticleRegistrationApprovedToExcel(\r\n { projectId: selectedProject.value.projectId },\r\n {\r\n responseType: \"arraybuffer\",\r\n }\r\n )\r\n .then((data) => {\r\n isDownloading.value = false;\r\n exportData.value = data;\r\n })\r\n .catch(() => {\r\n isDownloading.value = false;\r\n });\r\n }\r\n\r\n onMounted(async () => {\r\n service.subscribe((s) => {\r\n if (s.matches(\"loading\")) {\r\n fetchResults();\r\n }\r\n });\r\n });\r\n\r\n watch(search, () => {\r\n currentPage.value = 1;\r\n fetchResults();\r\n });\r\n\r\n watch(selectedProject, () => {\r\n fetchResults();\r\n });\r\n\r\n return {\r\n getLastName,\r\n headers,\r\n options,\r\n search,\r\n currentPage,\r\n state,\r\n response,\r\n toLocalDateStringShort,\r\n toLocalDateTimeStringShort,\r\n updateOptions,\r\n isDownloading,\r\n exportData,\r\n onExport,\r\n };\r\n },\r\n});\r\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!./RequestApproved.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!./RequestApproved.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RequestApproved.vue?vue&type=template&id=3568d747&\"\nimport script from \"./RequestApproved.vue?vue&type=script&lang=ts&\"\nexport * from \"./RequestApproved.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 { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\nimport { VToolbar } from 'vuetify/lib/components/VToolbar';\nimport { VToolbarTitle } from 'vuetify/lib/components/VToolbar';\ninstallComponents(component, {VBtn,VCard,VCardText,VCol,VDataTable,VRow,VSpacer,VTextField,VToolbar,VToolbarTitle})\n","import { Machine } from \"xstate\";\r\n\r\nconst requestListMachine = Machine({\r\n id: \"requestListMachine\",\r\n initial: \"idle\",\r\n states: {\r\n idle: {\r\n on: {\r\n RELOAD: \"loading\",\r\n },\r\n },\r\n loading: {\r\n on: {\r\n RESOLVE: \"idle\",\r\n REJECT: \"error\",\r\n },\r\n },\r\n error: {\r\n type: \"final\",\r\n },\r\n },\r\n});\r\n\r\nexport default requestListMachine;\r\n"],"sourceRoot":""}