{"version":3,"sources":["webpack:///./node_modules/@glittr/frontend-core/src/views/pages/_admin/processes/index.vue?0d88","webpack:///./node_modules/@glittr/frontend-core/src/services/generated/types/model/resource/ProcessPendingIntegrationCallsRequestModel.ts","webpack:///./node_modules/@glittr/frontend-core/src/services/viewModel/resource/ProcessPendingIntegrationCallsRequestViewModel.ts","webpack:///./node_modules/@glittr/frontend-core/src/views/pages/_admin/processes/index.vue?567f","webpack:///./node_modules/@glittr/frontend-core/src/views/pages/_admin/processes/index.vue?bdef","webpack:///./node_modules/@glittr/frontend-core/src/views/pages/_admin/processes/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","_v","_s","$t","attrs","appSystems","model","value","callback","$$v","$set","expression","requestError","isLoading","on","$event","processPendingIntegrationCalls","staticRenderFns","dto","integrationTaskId","sourceAppSystemId","itemsToBeProcessed","transformFromQuery","queries","Number","parseFloat","isNaN","undefined","extend","auth","role","layout","$auth","isInRole","_hostadmin","data","computed","mounted","populateData","methods","$service","api","core","appSystem","getAppSystems","response","items","processes","$log","error","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACA,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,GAAG,mCAAmC,OAAOL,EAAG,QAAQ,CAACM,MAAM,CAAC,KAAO,GAAG,IAAM,GAAG,IAAM,KAAK,CAACN,EAAG,SAAS,CAACM,MAAM,CAAC,cAAc,KAAK,CAACN,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACN,EAAIO,GAAG,IAAIP,EAAIQ,GAAGR,EAAIS,GAAG,6DAA6D,OAAOL,EAAG,SAAS,CAACA,EAAG,QAAQ,CAACM,MAAM,CAAC,OAAS,KAAK,CAACN,EAAG,WAAW,CAACM,MAAM,CAAC,eAAe,MAAM,M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G,oBAEjBtD,KAAKkB,WAAY,E,eC7E6Z,I,YCOhbqC,EAAY,eACd,EACAzD,EACAwB,GACA,EACA,KACA,KACA,MAIa,aAAAiC,E","file":"js/chunk-2d0d2ed5.2e037e80.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p-container',[_c('h2',{staticClass:\"mb-4\"},[_vm._v(\" \"+_vm._s(_vm.$t('core.page.processes.page.title'))+\" \")]),_c('p-col',{attrs:{\"sm12\":\"\",\"md6\":\"\",\"lg4\":\"\"}},[_c('p-card',{attrs:{\"fill-height\":\"\"}},[_c('h5',{staticClass:\"mb-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('core.page.processes.title.processPendingIntegrationCalls'))+\" \")]),_c('p-form',[_c('p-row',{attrs:{\"column\":\"\"}},[_c('p-select',{attrs:{\"item-display\":\"key\",\"label\":_vm.$t('core.page.processes.label.appSystem'),\"items\":_vm.appSystems},model:{value:(_vm.model.sourceAppSystemId),callback:function ($$v) {_vm.$set(_vm.model, \"sourceAppSystemId\", $$v)},expression:\"model.sourceAppSystemId\"}}),_c('p-text-field',{attrs:{\"label\":_vm.$t('core.page.processes.label.integrationTaskId')},model:{value:(_vm.model.integrationTaskId),callback:function ($$v) {_vm.$set(_vm.model, \"integrationTaskId\", $$v)},expression:\"model.integrationTaskId\"}}),_c('p-number-field',{attrs:{\"label\":_vm.$t('core.page.processes.label.itemsToBeProcessed')},model:{value:(_vm.model.itemsToBeProcessed),callback:function ($$v) {_vm.$set(_vm.model, \"itemsToBeProcessed\", $$v)},expression:\"model.itemsToBeProcessed\"}})],1)],1),_c('p-request-alert',{model:{value:(_vm.requestError),callback:function ($$v) {_vm.requestError=$$v},expression:\"requestError\"}}),_c('p-row',{attrs:{\"justify-end\":\"\"}},[_c('p-button',{attrs:{\"disabled\":_vm.isLoading,\"loading\":_vm.isLoading},on:{\"click\":function($event){return _vm.processPendingIntegrationCalls()}}},[_vm._v(\" \"+_vm._s(_vm.$t('core.page.processes.button.processPendingIntegrationCalls'))+\" \")])],1)],1)],1),_c('br')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","// ╭────────────────────────────────────────────────────────────────────────────────────╮\r\n// ┊ This file was automatically generated\r\n// ┊ Please do not modify manually\r\n// ┊ ©gl it 2022 - http://www.gl-it.ch\r\n// ╰────────────────────────────────────────────────────────────────────────────────────╯\r\n\r\nimport BaseModel from '../../../../../plugins/servicelayer/serviceTypes/baseModel';\r\nimport ProcessPendingIntegrationCallsRequestDTO from '../../dto/resource/ProcessPendingIntegrationCallsRequestDTO';\r\n\r\nexport default abstract class ProcessPendingIntegrationCallsRequestModel extends BaseModel {\r\n /**\r\n * @type {int64}\r\n */\r\n get integrationTaskId() { return this.dto.integrationTaskId; }\r\n set integrationTaskId(value) { this.dto.integrationTaskId = value; }\r\n /**\r\n * @type {int64}\r\n */\r\n get sourceAppSystemId() { return this.dto.sourceAppSystemId; }\r\n set sourceAppSystemId(value) { this.dto.sourceAppSystemId = value; }\r\n /**\r\n * @type {int32}\r\n */\r\n get itemsToBeProcessed() { return this.dto.itemsToBeProcessed; }\r\n set itemsToBeProcessed(value) { this.dto.itemsToBeProcessed = value; }\r\n\r\n protected transformFromQuery(queries: Record): void {\r\n let value: any;\r\n value = Number.parseFloat(queries.integrationTaskId);\r\n value = Number.isNaN(value) ? undefined : value;\r\n this.dto.integrationTaskId = value;\r\n value = Number.parseFloat(queries.sourceAppSystemId);\r\n value = Number.isNaN(value) ? undefined : value;\r\n this.dto.sourceAppSystemId = value;\r\n value = Number.parseFloat(queries.itemsToBeProcessed);\r\n value = Number.isNaN(value) ? undefined : value;\r\n this.dto.itemsToBeProcessed = value;\r\n }\r\n}\r\n","import ProcessPendingIntegrationCallsRequestModel from '../../generated/types/model/resource/ProcessPendingIntegrationCallsRequestModel';\r\n\r\nexport default class ProcessPendingIntegrationCallsRequestViewModel extends ProcessPendingIntegrationCallsRequestModel {\r\n \r\n// For instructions on how to use ViewModels visit:\r\n // https://glittrsoftware.visualstudio.com/glittr.core/_wiki/wikis/glittr.core.wiki/155/ViewModels-Models-DTOs\r\n\r\n}\r\n","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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 AppSystemResourceViewModel from '../../../../services/viewModel/resource/AppSystemResourceViewModel';\nimport ProcessPendingIntegrationCallsRequestViewModel from '../../../../services/viewModel/resource/ProcessPendingIntegrationCallsRequestViewModel';\n\nexport default Vue.extend({\n auth: true,\n role: ['admin', 'hostadmin'],\n layout: {\n 'layout-hostadmin': Vue.$auth.isInRole('hostadmin'),\n _hostadmin: Vue.$auth.isInRole('hostadmin'),\n 'layout-admin': Vue.$auth.isInRole('admin'),\n },\n data: () => ({\n requestError: undefined as any,\n isLoading: false,\n model: new ProcessPendingIntegrationCallsRequestViewModel(),\n appSystems: [] as AppSystemResourceViewModel[],\n }),\n computed: {\n },\n mounted() {\n this.populateData();\n },\n methods: {\n async populateData() {\n const response = await this.$service.api.core.appSystem.getAppSystems();\n this.appSystems = response.items;\n },\n async processPendingIntegrationCalls() {\n this.isLoading = true;\n try {\n await this.$service.api.core.processes.processPendingIntegrationCalls(this.model);\n } catch (error: any) {\n this.requestError = error;\n Vue.$log.error(error);\n }\n this.isLoading = false;\n },\n },\n});\n","import mod from \"-!../../../../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../../../../thread-loader/dist/cjs.js!../../../../../../../babel-loader/lib/index.js!../../../../../../../@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../../../../cache-loader/dist/cjs.js??ref--1-0!../../../../../../../vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../../cache-loader/dist/cjs.js??ref--14-0!../../../../../../../thread-loader/dist/cjs.js!../../../../../../../babel-loader/lib/index.js!../../../../../../../@vue/cli-plugin-typescript/node_modules/ts-loader/index.js??ref--14-3!../../../../../../../cache-loader/dist/cjs.js??ref--1-0!../../../../../../../vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=04c0de3a&\"\nimport script from \"./index.vue?vue&type=script&lang=ts&\"\nexport * from \"./index.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../../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":""}