{"version":3,"sources":["webpack:///./src/components/pages/tools/BakeApplicationSummaries.vue?9a45","webpack:///./src/components/pages/tools/BakeApplicationSummaries.vue","webpack:///./src/components/pages/tools/BakeApplicationSummaries.vue?b100","webpack:///./src/components/pages/tools/BakeApplicationSummaries.vue?f157","webpack:///./src/components/molecules/formTextBlock/FormTextBlock.vue?f5eb","webpack:///./src/components/molecules/formTextBlock/FormTextBlock.vue","webpack:///./src/components/molecules/formTextBlock/FormTextBlock.vue?80d3","webpack:///./src/components/molecules/formTextBlock/FormTextBlock.vue?7c51","webpack:///./src/mixins/formElementMixin.ts"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","spinner","staticClass","text","numberOfApplicationsWithoutBakedSummary","numberOfEntriesToLoadModel","label","on","bakeApplicationSummaries","bakeApplicationSummariesResultMessage","$event","showLayer","deleteApplicationSummariesResultMessage","scopedSlots","_u","key","fn","proxy","deleteApplicationSummaries","staticRenderFns","extend","name","components","SpinnerArea","FormInputText","FormField","AppButton","FormTextBlock","AppContent","AppLayer","data","off","gridSpinner","value","created","$route","query","code","dialogueMessageService","show","error","mounted","opaque","updateApplicationsWithoutBakedSummary","methods","Promise","bakeApplicationSummariesFetchApplications","fetchApplicationsResponse","total","cleanMessages","transparent","limit","limitTemp","parseInt","isNaN","bakeApplicationSummariesProcessApplications","processApplicationsResponse","timeSpan","duration","readableTimeSpan","utc","as","format","results","bakeApplicationSummariesDeleteApplications","deletedApplicationsResponse","component","model","disabled","content","_e","class","hasErrors","fullWidth","showInfoIcon","showSummary","domProps","_s","FormRow","InfoIconWrapper","props","type","Object","default","Boolean","computed","validations","$anyError","getFormElementMixin","inject","injectedFormField","from","configuration","formField"],"mappings":"qIAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,cAAc,CAACE,MAAM,CAAC,MAAQN,EAAIO,UAAU,CAACH,EAAG,MAAM,CAACI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S,WACL,MAAO,KAGfV,UAAW,CACPQ,KAAMG,QACND,SAAS,GAEbR,YAAa,CACTM,KAAMG,QACND,SAAS,IAGjBE,SAAU,CACNb,UAAA,WACI,QAAS7E,KAAK2F,aAAe3F,KAAK2F,YAAYC,cC7DkX,I,YCOxarB,EAAY,eACd,EACAzE,EACA0B,GACA,EACA,KACA,KACA,MAIa,OAAA+C,E,2CClBf,kDAqBM,SAAUsB,IAKZ,OAAO,aAAIpE,OAAO,CACdqE,OAAQ,CACJC,kBAAmB,CACfC,KAAM,YACNR,QAAS,OAGjBH,MAAO,CACHX,QAAS,CACLY,KAAMC,OACNC,QAAS,WACL,MAAO,KAGfS,cAAe,CACXX,KAAMC,OACNC,QAAS,WAAM,WAEnBhB,MAAO,CACHc,KAAMC,OACNC,QAAS,WACL,MAAO,KAGfG,YAAa,CACTL,KAAMC,OAMNC,QAAS,MAEbT,aAAc,CACVO,KAAMG,QACND,SAAS,IAGjBE,SAAU,CACNQ,UAAA,WAGI,OAAOlG,KAAK+F,mBAAqB","file":"js/ToolBakeApplicationSummaries.ebaef941.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('SpinnerArea',{attrs:{\"state\":_vm.spinner}},[_c('div',{staticClass:\"container mb-4 md:mb-8 lg:mb-10 xl:mb-12\"},[_c('FormTextBlock',{attrs:{\"content\":{\n text: (\"There are currently \" + _vm.numberOfApplicationsWithoutBakedSummary + \" applications without a baked summary.
Use the button to bake summaries for a batch of applications.\"),\n }}}),_c('FormField',{staticClass:\"number-of-entries-to-load\",attrs:{\"model\":_vm.numberOfEntriesToLoadModel,\"content\":{\n label: 'Number of applications to process',\n },\"align-field\":\"belowLabel\"}},[_c('FormInputText',{attrs:{\"model\":_vm.numberOfEntriesToLoadModel}})],1),_c('AppButton',{attrs:{\"label\":\"Get bakin'\"},on:{\"button-click\":_vm.bakeApplicationSummaries}}),_c('FormTextBlock',{staticClass:\"mt-4\",attrs:{\"content\":{\n text: _vm.bakeApplicationSummariesResultMessage,\n }}}),_c('FormTextBlock',{staticClass:\"mt-16\",attrs:{\"content\":{\n text: \"If you want to delete all baked summaries, use this button:\",\n }}}),_c('AppButton',{attrs:{\"label\":\"Delete all baked summaries\",\"character\":\"cross\"},on:{\"button-click\":function($event){_vm.showLayer = true}}}),_c('FormTextBlock',{staticClass:\"mt-4\",attrs:{\"content\":{\n text: _vm.deleteApplicationSummariesResultMessage,\n }}}),_c('AppLayer',{attrs:{\"show\":_vm.showLayer},scopedSlots:_vm._u([{key:\"text\",fn:function(){return [_c('AppContent',{attrs:{\"use-large-font\":true,\"content\":\"Sure? All baked summaries will get deleted.\"}})]},proxy:true},{key:\"action1\",fn:function(){return [_c('AppButton',{attrs:{\"label\":\"Delete them!\"},on:{\"button-click\":function($event){return _vm.deleteApplicationSummaries()}}})]},proxy:true},{key:\"action2\",fn:function(){return [_c('AppButton',{attrs:{\"label\":\"Cancel\",\"character\":\"cross\"},on:{\"button-click\":function($event){_vm.showLayer = false}}})]},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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from 'vue';\r\nimport moment from 'moment';\r\nimport { SpinnerState } from '@/enums/spinnerState';\r\nimport { MessageType } from '@/enums/messageType';\r\nimport { dialogueMessageService } from '@/services/dialogueMessageService';\r\nimport { TextField } from '@/types/forms/fields/textField';\r\nimport { toolsRepository } from '@/api';\r\nimport SpinnerArea from '@/components/molecules/spinnerArea/SpinnerArea.vue';\r\nimport FormField from '@/components/molecules/formField/FormField.vue';\r\nimport FormInputText from '@/components/atoms/formInputText/FormInputText.vue';\r\nimport AppButton from '@/components/atoms/appButton/AppButton.vue';\r\nimport FormTextBlock from '@/components/molecules/formTextBlock/FormTextBlock.vue';\r\nimport AppContent from '@/components/atoms/appContent/AppContent.vue';\r\nimport AppLayer from '@/components/molecules/appLayer/AppLayer.vue';\r\n\r\nexport default Vue.extend({\r\n name: 'ToolBakeApplicationSummaries',\r\n components: {\r\n SpinnerArea,\r\n FormInputText,\r\n FormField,\r\n AppButton,\r\n FormTextBlock,\r\n AppContent,\r\n AppLayer,\r\n },\r\n data: () => {\r\n return {\r\n spinner: SpinnerState.off,\r\n gridSpinner: SpinnerState.off,\r\n numberOfEntriesToLoadModel: {\r\n value: '100',\r\n } as TextField,\r\n numberOfApplicationsWithoutBakedSummary: -1,\r\n bakeApplicationSummariesResultMessage: '',\r\n deleteApplicationSummariesResultMessage: '',\r\n showLayer: false,\r\n };\r\n },\r\n created() {\r\n if (this.$route.query.code === 'unauthorized') {\r\n dialogueMessageService.show('unauthorized', MessageType.error);\r\n }\r\n },\r\n async mounted() {\r\n this.spinner = SpinnerState.opaque;\r\n\r\n await this.updateApplicationsWithoutBakedSummary();\r\n\r\n this.spinner = SpinnerState.off;\r\n },\r\n methods: {\r\n async updateApplicationsWithoutBakedSummary(): Promise {\r\n const fetchApplicationsResponse = await toolsRepository.bakeApplicationSummariesFetchApplications();\r\n this.numberOfApplicationsWithoutBakedSummary =\r\n fetchApplicationsResponse.total;\r\n },\r\n cleanMessages() {\r\n this.bakeApplicationSummariesResultMessage = '';\r\n this.deleteApplicationSummariesResultMessage = '';\r\n },\r\n async bakeApplicationSummaries(): Promise {\r\n this.cleanMessages();\r\n this.spinner = SpinnerState.transparent;\r\n\r\n var limit = -1;\r\n try {\r\n var limitTemp = parseInt(\r\n this.numberOfEntriesToLoadModel.value ?? '-1',\r\n );\r\n if (!isNaN(limitTemp)) {\r\n limit = limitTemp;\r\n }\r\n } catch {\r\n // ignore\r\n }\r\n const processApplicationsResponse = await toolsRepository.bakeApplicationSummariesProcessApplications(\r\n limit,\r\n );\r\n const timeSpan = moment.duration(\r\n processApplicationsResponse.duration,\r\n );\r\n const readableTimeSpan = moment\r\n .utc(timeSpan.as('milliseconds'))\r\n .format('HH:mm:ss.SSS');\r\n this.bakeApplicationSummariesResultMessage = `Processed ${processApplicationsResponse.results} of ${processApplicationsResponse.total} applications without baked summary. It took ${readableTimeSpan}.`;\r\n await this.updateApplicationsWithoutBakedSummary();\r\n\r\n this.spinner = SpinnerState.off;\r\n },\r\n async deleteApplicationSummaries(): Promise {\r\n this.showLayer = false;\r\n this.cleanMessages();\r\n this.spinner = SpinnerState.transparent;\r\n\r\n const deletedApplicationsResponse = await toolsRepository.bakeApplicationSummariesDeleteApplications();\r\n const timeSpan = moment.duration(\r\n deletedApplicationsResponse.duration,\r\n );\r\n const readableTimeSpan = moment\r\n .utc(timeSpan.as('milliseconds'))\r\n .format('HH:mm:ss.SSS');\r\n this.deleteApplicationSummariesResultMessage = `Baked summaries; Count before: ${deletedApplicationsResponse.total}, count after: ${deletedApplicationsResponse.results}. It took ${readableTimeSpan}.`;\r\n\r\n await this.updateApplicationsWithoutBakedSummary();\r\n\r\n this.spinner = SpinnerState.off;\r\n },\r\n },\r\n});\r\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!./BakeApplicationSummaries.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!./BakeApplicationSummaries.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BakeApplicationSummaries.vue?vue&type=template&id=7a306bd6&\"\nimport script from \"./BakeApplicationSummaries.vue?vue&type=script&lang=ts&\"\nexport * from \"./BakeApplicationSummaries.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 (!_vm.model.disabled && _vm.content.text !== null)?_c('FormRow',{staticClass:\"content mb-6\",class:{ 'has-errors': _vm.hasErrors },attrs:{\"full-width\":_vm.fullWidth}},[_c('InfoIconWrapper',{attrs:{\"show-info-icon\":_vm.showInfoIcon && !_vm.showSummary,\"content\":_vm.content,\"model\":_vm.model,\"align-top\":\"\",\"inline-element\":\"\"}},[_c('span',{staticClass:\"dea-rich-text\",domProps:{\"innerHTML\":_vm._s(_vm.content.text)}})])],1):_vm._e()}\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\r\nimport { PropType } from 'vue';\r\nimport { TextBlockContent } from '@/api/interfaces/content/form/base/textBlockContent';\r\nimport InfoIconWrapper from '@/components/molecules/infoIconWrapper/InfoIconWrapper.vue';\r\nimport FormRow from '@/components/molecules/formRow/FormRow.vue';\r\nimport { NoValueField } from '@/types/forms/fields/noValueField';\r\nimport { getFormElementMixin } from '@/mixins/formElementMixin';\r\n\r\nexport default getFormElementMixin<\r\n NoValueField,\r\n Record\r\n>().extend({\r\n name: 'FormTextBlock',\r\n components: {\r\n FormRow,\r\n InfoIconWrapper,\r\n },\r\n props: {\r\n content: {\r\n type: Object as PropType,\r\n default: () => {\r\n return {} as TextBlockContent;\r\n },\r\n },\r\n model: {\r\n type: Object,\r\n default: () => {\r\n return {};\r\n },\r\n },\r\n fullWidth: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n showSummary: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n computed: {\r\n hasErrors(): boolean {\r\n return !!this.validations && this.validations.$anyError;\r\n },\r\n },\r\n});\r\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!./FormTextBlock.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!./FormTextBlock.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./FormTextBlock.vue?vue&type=template&id=52ecba73&\"\nimport script from \"./FormTextBlock.vue?vue&type=script&lang=ts&\"\nexport * from \"./FormTextBlock.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","import Vue, { PropType } from 'vue';\r\nimport {\r\n ValidationGroups,\r\n ValidationProperties,\r\n VueConstructor,\r\n} from 'vue/types/vue';\r\nimport { Validation } from 'vuelidate';\r\n\r\nexport interface FormFieldVue {\r\n registerFormElementComponent(formElementComponent: Vue): void;\r\n}\r\n\r\nexport interface FormElementComponent extends Vue {\r\n readonly content: TContent;\r\n readonly model: TModel;\r\n readonly validations:\r\n | (Validation & ValidationGroups & ValidationProperties)\r\n | null;\r\n}\r\n\r\n// eslint-disable-next-line @typescript-eslint/comma-dangle\r\nexport function getFormElementMixin<\r\n TModel,\r\n TContent,\r\n TConfiguration = void\r\n>(): VueConstructor> {\r\n return Vue.extend({\r\n inject: {\r\n injectedFormField: {\r\n from: 'formField',\r\n default: null as (Vue & FormFieldVue) | null,\r\n },\r\n },\r\n props: {\r\n content: {\r\n type: Object as PropType,\r\n default: () => {\r\n return {} as TContent;\r\n },\r\n },\r\n configuration: {\r\n type: Object as PropType,\r\n default: () => ({} as TConfiguration),\r\n },\r\n model: {\r\n type: Object as PropType,\r\n default: () => {\r\n return {} as TModel;\r\n },\r\n },\r\n validations: {\r\n type: Object as PropType<\r\n | (Validation &\r\n ValidationGroups &\r\n ValidationProperties)\r\n | null\r\n >,\r\n default: null,\r\n },\r\n showInfoIcon: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n },\r\n computed: {\r\n formField(this: {\r\n injectedFormField: FormFieldVue;\r\n }): FormFieldVue | null {\r\n return this.injectedFormField || null;\r\n },\r\n },\r\n });\r\n}\r\n"],"sourceRoot":""}