{"version":3,"sources":["webpack:///./src/mixins/reportDownloadMixin.js","webpack:///./src/components/ReportHeader.vue?0f72","webpack:///./src/components/ReportHeader.vue?170e","webpack:///src/components/ReportHeader.vue","webpack:///./src/components/ReportHeader.vue?512a","webpack:///./src/components/ReportHeader.vue","webpack:///./node_modules/core-js/modules/es7.string.pad-start.js"],"names":["reportDownloadMixin","methods","downloadReport","reportUrl","filename","filetype","payload","this","setLoadingStatus","reportdata","report_path","request_method","JSON","stringify","store","dispatch","then","response","headers","blob","Blob","data","type","link","document","createElement","href","URL","createObjectURL","download","includes","click","revokeObjectURL","console","error","downloadCampReport","siteCoreKey","orgKey","startDate","endDate","overviewSitecorekey","axios","get","API_CONFIG","getReportCampOverview","responseType","getReportCampDetail","status","Error","url","endDateObj","date","Date","getFullYear","getMonth","formattedEndDate","year","month","String","padStart","day","getDate","body","appendChild","removeChild","render","_vm","_h","$createElement","_c","_self","attrs","displayType","staticClass","on","$event","previousDate","_v","_s","i18n","tcPrevious","_e","setDay","nextDate","tcNext","class","selectedLevel","selectFilter","tcAll","tcCamp","tcState","isUS","tcCountry","tcInternational","redirectToMonthly","tcDaily","redirectToDaily","tcMonthly","preventDefault","reportDownloadUrl","tcDailyCalendarPDF","reportDownloadUrlExcel","tcDailyCalendarEXCEL","tcPrintFullCalendars","iCanSeeAny","secured_prayer_management_controls","openManageCalendar","tcManageCalendars","secured_prayer_request_management_controls","openManagePrayerRequest","tcManageRequests","staticRenderFns","name","mixins","props","Object","default","tcAt","tcContactedBy","tcCoordinator","tcMedia","tcMore","tcNotes","tcOffering","tcQualified","tcSpeaker","tcStartsAt","currentDisplayDate","showFullCalendarDownload","fields","hiddenItems","display","addItems","text","action","camp_prayer_calendar_manage_panel","country_prayer_calendar_manage_panel","hq_prayer_calendar_manage_panel","state_prayer_calendar_manage_panel","camp_prayer_calendar_manage_request_panel","country_prayer_calendar_manage_request_panel","hq_prayer_calendar_manage_request_panel","state_prayer_calendar_manage_request_panel","translations","addPresenter","$router","push","level","$emit","computed","ifPrev","prevDate","setDate","currentMonth","ifNext","userCountryKey","components","component","$export","$pad","userAgent","WEBKIT_BUG","test","P","F","maxLength","arguments","length","undefined"],"mappings":"kRAKaA,EAAsB,CACjCC,QAAS,CACDC,eADC,oEACcC,EAAWC,EAAUC,GADnC,4GAC6CC,EAD7C,+BACuD,KACxDC,KAAKC,kBACPD,KAAKC,kBAAiB,GAHnB,SAMCC,EAAa,CACfC,YAAaP,EACbQ,eAAkBL,EAAU,OAAS,MACrCA,QAAWA,EAAUM,KAAKC,UAAUP,GAAW,MAT9C,SAWGQ,OAAMC,SAAS,yBAA0BN,GAAYO,MAAK,SAACC,GAC/D,GAAIA,EAASC,QAAQ,iBAAyD,KAAtCD,EAASC,QAAQ,kBAA0B,CACjF,IAAMC,EAAO,IAAIC,KAAK,CAACH,EAASI,MAAO,CAAEC,KAAML,EAASC,QAAQ,kBAC1DK,EAAOC,SAASC,cAAc,KACpCF,EAAKG,KAAOC,IAAIC,gBAAgBT,GAChCI,EAAKM,SAAWzB,GAAY,CAAC,MAAO,SAAS0B,SAASzB,GAAY,QAAU,QAC5EkB,EAAKQ,QACLJ,IAAIK,gBAAgBT,EAAKG,UAlB1B,0DAsBHO,QAAQC,MAAR,MAtBG,yBAwBC3B,KAAKC,kBACPD,KAAKC,kBAAiB,GAzBrB,yIA+BL2B,mBA/BK,oEA+BcC,EAAaC,EAAQC,EAAWC,GA/B9C,+GAkCDC,EAAsB,+BAExBJ,IAAgBI,EApCb,gCAqCYC,IAAMC,IAAIC,OAAWC,sBAAsBN,EAAWD,GAAS,CAC9EQ,aAAc,SAtCX,OAqCL5B,EArCK,+CAyCYwB,IAAMC,IAAIC,OAAWG,oBAAoBR,EAAWC,EAASF,GAAS,CACrFQ,aAAc,SA1CX,QAyCL5B,EAzCK,kBA8CiB,MAApBA,EAAS8B,OA9CN,uBA+CC,IAAIC,MAAJ,8BAAiC/B,EAAS8B,SA/C3C,QAmDD5B,EAAOF,EAASI,KAChBE,EAA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EzEF,EAAQA,EAAQK,EAAIL,EAAQM,EAAIH,EAAY,SAAU,CACpDtG,SAAU,SAAkB0G,GAC1B,OAAON,EAAKxJ,KAAM8J,EAAWC,UAAUC,OAAS,EAAID,UAAU,QAAKE,GAAW,O","file":"js/chunk-786f5882.0d0211fe.js","sourcesContent":["import store from '../store'\nimport { API_CONFIG } from '@/config/api.config.js'\nimport axios from 'axios'\n\n/* eslint-disable */\nexport const reportDownloadMixin = {\n methods: {\n async downloadReport(reportUrl, filename, filetype, payload = null) {\n if (this.setLoadingStatus) {\n this.setLoadingStatus(true)\n }\n try {\n let reportdata = {\n report_path: reportUrl,\n request_method: !!payload ? 'POST' : 'GET',\n payload: !!payload ? JSON.stringify(payload) : null\n }\n await store.dispatch('report/getReportStream', reportdata).then((response) => {\n if (response.headers['content-type'] && response.headers['content-length'] != '0') {\n const blob = new Blob([response.data], { type: response.headers['content-type'] })\n const link = document.createElement('a')\n link.href = URL.createObjectURL(blob)\n link.download = filename + (['csv', 'excel'].includes(filetype) ? '.xlsx' : '.pdf')\n link.click()\n URL.revokeObjectURL(link.href)\n }\n })\n } catch (e) {\n console.error(e)\n } finally {\n if (this.setLoadingStatus) {\n this.setLoadingStatus(false)\n }\n }\n },\n\n // Code for reports for Camp reports\nasync downloadCampReport(siteCoreKey, orgKey, startDate, endDate) {\n try {\n let response;\n const overviewSitecorekey = 'tcCampCalendarOverviewReport'\n\n if (siteCoreKey === overviewSitecorekey) {\n response = await axios.get(API_CONFIG.getReportCampOverview(startDate, orgKey), {\n responseType: 'blob', // Specify the response type as 'blob'\n });\n } else {\n response = await axios.get(API_CONFIG.getReportCampDetail(startDate, endDate, orgKey), {\n responseType: 'blob', // Specify the response type as 'blob'\n });\n }\n\n if (response.status !== 200) {\n throw new Error(`HTTP error! status: ${response.status}`);\n }\n\n // Create a download link\n const blob = response.data;\n const link = document.createElement('a');\n const url = URL.createObjectURL(blob);\n link.href = url;\n\n if (siteCoreKey === overviewSitecorekey) {\n const endDateObj = (date = new Date(startDate)) =>\n new Date(date.getFullYear(), date.getMonth() + 12 + 1, 0);\n\n const formattedEndDate = (date) => {\n const endDate = endDateObj(date);\n const year = endDate.getFullYear();\n const month = String(endDate.getMonth() + 1).padStart(2, '0'); \n const day = String(endDate.getDate()).padStart(2, '0');\n return `${year}-${month}-${day}`;\n };\n\n endDate = formattedEndDate(new Date(startDate));\n\n // Set the download link filename with correct date format\n link.download = `Calendar_Overview_Report_${startDate}_${endDate}.xlsx`;\n } else {\n link.download = `Calendar_Detailed_Report_${startDate}_${endDate}.xlsx`;\n }\n\n document.body.appendChild(link);\n link.click();\n document.body.removeChild(link);\n URL.revokeObjectURL(url);\n } catch (error) {\n console.error('Error downloading the report:', error);\n }\n}},\n}\n\nexport default reportDownloadMixin\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportHeader.vue?vue&type=style&index=0&id=0c22d32e&prod&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"reportheader\"}},[(_vm.displayType == 'daily')?_c('b-row',{staticClass:\"report-date text-center text-color-black\"},[_c('b-col',{attrs:{\"sm\":\"4\"}},[(_vm.ifPrev)?_c('span',{staticClass:\"prenext prev text-uppercase\",on:{\"click\":function($event){return _vm.previousDate()}}},[_vm._v(\" \"+_vm._s(_vm.i18n['report-header'].tcPrevious)+\" \")]):_vm._e(),_c('b-button',{staticClass:\"btn-no-content\",on:{\"click\":function($event){return _vm.previousDate()}}},[(_vm.ifPrev)?_c('b-icon',{attrs:{\"icon\":\"chevron-left\",\"shift-h\":\"5\",\"aria-hidden\":\"true\"}}):_vm._e()],1)],1),_c('b-col',{attrs:{\"sm\":\"4\"}},[(_vm.currentDisplayDate)?_c('h4',{staticClass:\"campdate\"},[_vm._v(_vm._s(_vm.setDay))]):_vm._e()]),_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-button',{staticClass:\"btn-no-content\",on:{\"click\":function($event){return _vm.nextDate()}}},[(_vm.ifNext)?_c('b-icon',{attrs:{\"icon\":\"chevron-right\",\"aria-hidden\":\"true\"}}):_vm._e()],1),(_vm.ifNext)?_c('span',{staticClass:\"prenext text-uppercase\",on:{\"click\":function($event){return _vm.nextDate()}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcNext))]):_vm._e()],1)],1):_vm._e(),_c('br'),_c('div',{staticClass:\"font-weight-bold\",attrs:{\"align-v\":\"center\"}},[_c('b-row',[_c('b-col',{attrs:{\"sm\":\"8\"}},[_c('div',{staticClass:\"view-filter pl-3 btn-group-md\"},[_c('b-button',{class:[_vm.selectedLevel == 'all' ? 'btn-secondary-toggle-selected' : 'btn-secondary-toggle-unselected'],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.selectFilter('all')}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcAll))]),_c('b-button',{class:[_vm.selectedLevel == 'camp' ? 'btn-secondary-toggle-selected' : 'btn-secondary-toggle-unselected'],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.selectFilter('camp')}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcCamp))]),(_vm.isUS)?_c('b-button',{class:[_vm.selectedLevel == 'state' ? 'btn-secondary-toggle-selected' : 'btn-secondary-toggle-unselected'],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.selectFilter('state')}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcState))]):_vm._e(),(!_vm.isUS)?_c('b-button',{class:[\n _vm.selectedLevel == 'country' ? 'btn-secondary-toggle-selected' : 'btn-secondary-toggle-unselected' ],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.selectFilter('country')}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcCountry))]):_vm._e(),_c('b-button',{class:[\n _vm.selectedLevel == 'headquarters' ? 'btn-secondary-toggle-selected' : 'btn-secondary-toggle-unselected' ],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.selectFilter('headquarters')}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcInternational))])],1)]),_c('b-col',{attrs:{\"sm\":\"4\"}},[_c('b-button-group',{staticClass:\"report-switch\"},[_c('b-button',{class:[_vm.displayType == 'daily' ? 'primay' : 'btn-toggle-unselected'],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.redirectToMonthly()}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcDaily))]),_c('b-button',{class:[_vm.displayType == 'monthly' ? 'primary' : 'btn-toggle-unselected'],attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.redirectToDaily()}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcMonthly))])],1)],1)],1)],1),_c('br'),_c('div',{staticClass:\"bottom-button-group\"},[_c('div',{staticClass:\"daily-button-group\"},[(_vm.displayType == 'daily')?_c('b-button',{staticClass:\"btn-gray m-2 sm-text text-uppercase\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadReport(_vm.reportDownloadUrl, 'DailyPrayerCalendar', 'pdf')}}},[_vm._v(\" \"+_vm._s(_vm.i18n['report-header'].tcDailyCalendarPDF)+\" \")]):_vm._e(),(_vm.displayType == 'daily')?_c('b-button',{staticClass:\"btn-gray m-2 sm-text text-uppercase\",on:{\"click\":function($event){$event.preventDefault();return _vm.downloadReport(_vm.reportDownloadUrlExcel, 'DailyPrayerCalendar', 'csv')}}},[_vm._v(\" \"+_vm._s(_vm.i18n['report-header'].tcDailyCalendarEXCEL)+\" \")]):_vm._e(),(_vm.showFullCalendarDownload)?_c('b-button',{staticClass:\"btn-gray m-2 sm-text text-uppercase\"},[_vm._v(\" \"+_vm._s(_vm.i18n['report-header'].tcPrintFullCalendars)+\" \")]):_vm._e()],1),_c('b-col',{staticClass:\"manage-button-group\"},[(_vm.iCanSeeAny(_vm.secured_prayer_management_controls))?_c('b-button',{staticClass:\"m-2 sm-text float-right text-uppercase\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.openManageCalendar()}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcManageCalendars))]):_vm._e(),(_vm.iCanSeeAny(_vm.secured_prayer_request_management_controls))?_c('b-button',{staticClass:\"m-2 sm-text float-right text-uppercase\",attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.openManagePrayerRequest()}}},[_vm._v(_vm._s(_vm.i18n['report-header'].tcManageRequests))]):_vm._e()],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportHeader.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReportHeader.vue?vue&type=template&id=0c22d32e&scoped=true&\"\nimport script from \"./ReportHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./ReportHeader.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReportHeader.vue?vue&type=style&index=0&id=0c22d32e&prod&lang=scss&scoped=true&\"\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 \"0c22d32e\",\n null\n \n)\n\nexport default component.exports","'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = require('./_export');\nvar $pad = require('./_string-pad');\nvar userAgent = require('./_user-agent');\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n }\n});\n"],"sourceRoot":""}