{"version":3,"sources":["webpack:///./src/mixins/securityMixin.js","webpack:///./src/views/programs/pw/AddEditPrayerRequest.vue?f3ef","webpack:///./src/views/programs/pw/AddEditPrayerRequest.vue?2b32","webpack:///./src/components/PrayerRequest.vue?b121","webpack:///src/components/PrayerRequest.vue","webpack:///./src/components/PrayerRequest.vue?df61","webpack:///./src/components/PrayerRequest.vue","webpack:///src/views/programs/pw/AddEditPrayerRequest.vue","webpack:///./src/views/programs/pw/AddEditPrayerRequest.vue?c618","webpack:///./src/views/programs/pw/AddEditPrayerRequest.vue","webpack:///./src/assets/svgs/arrow-up.svg","webpack:///./src/components/PrayerRequest.vue?2dac","webpack:///./src/components/page-components/PageHeader.vue?7f40","webpack:///src/components/page-components/PageHeader.vue","webpack:///./src/components/page-components/PageHeader.vue?9c14","webpack:///./src/components/page-components/PageHeader.vue"],"names":["securityMixin","methods","mapActions","setLoadingStatus","inSuperRole","role","constantData","super_roles","map","sr","key","includes","determineAccessibility","ctl","profile","camp_match","country_match","region_match","state_match","super_match","this","userLogin","croles","filter","sf","rle_key","iCanSee","length","controlPermissions","cpf","vcxr_ctl_key","rl","role_find","find","cf","vcxr_rle_key","vogs_org_type","individualProfile","camp_number","campnumber","officerToolbarSelected","camp_name","campname","substr","membertype","toLowerCase","country_state","statekey","region_1_key","region_2_key","conversationsICanSee","ctrl","foundInInstructorsAndEus","instructors_and_eus","findIndex","ieu","ind_key","demograph","computed","mapGetters","userSelectedIndividualKey","userLanguageKey","render","_vm","_h","$createElement","_c","_self","staticClass","_v","_s","translations","tcManageSpecialRequests","_l","req","ix","attrs","name","items","level","components","on","$event","deleteItem","toggleExpired","staticRenderFns","class","arrowup","isToggled","toggle","_e","add","i18n","tcAddPrayerRequest","tcType","tcStartDate","tcEndDate","tcEditDelete","item","index","cid_request_title","showDate","cid_start_date","cid_end_date","open","tcView","showEdit","preventDefault","edit","showDelete","toggleExpiredRequests","toggleExpiredRequestText","openManageCalendar","tcManagePrayerCalendar","props","type","Object","default","tcCancel","tcHideExpiredRequestText","tcToggleExpiredRequestText","tcOk","data","isExpiredToggled","showExpiredRequest","fields","date","replace","Date","toLocaleString","prefCulture","$router","push","$emit","prayerRequestItem","setItem","itemValues","calendars","text","value","cprKey","defaultKey","component","mixins","getIndexes","prayerRequestArray","forEach","pf","pim","request","special","rs","valueOf","today_date","index_array","sort","b","a","c","module","exports","_t","classes","Array"],"mappings":"u2BAIO,IAAMA,EAAgB,CAC3BC,QAAS,EAAF,KACFC,eAAW,CACZC,iBAAkB,2BAFf,IAILC,YAJO,SAIKC,GACV,OAAOC,EAAaC,YAAYC,KAAI,SAAAC,GAAE,OAAIA,EAAGC,OAAKC,SAASN,IAE7DO,uBAPO,SAOgBC,GAAsB,WAAjBC,EAAiB,wDACvCC,GAAa,EACbC,GAAgB,EAChBC,GAAe,EACfC,GAAc,EACdC,EAAcC,KAAKC,UAAUC,OAAOC,QAAO,SAAAC,GAAE,OAAI,EAAKpB,YAAYoB,EAAGC,UAAY,EAAKC,QAAQb,MAAMc,OAAS,EACjH,QAAKR,IACHC,KAAKQ,mBACFL,QAAO,SAAAM,GAAG,OAAIA,EAAIC,eAAiBjB,KACnCL,KAAI,SAAAuB,GACH,IAAIC,EAAY,EAAKX,UAAUC,OAAOW,MAAK,SAAAC,GAAE,OAAIA,EAAGT,UAAYM,EAAGI,gBAC7DH,IACCjB,IAEDA,EADED,EAEqB,SAArBiB,EAAGK,iBACD,EAAKC,qBACL,EAAKA,kBAAkBC,aACzB,EAAKD,kBAAkBC,cAAgB,EAAKjB,UAAUkB,WAGjC,SAArBR,EAAGK,gBACA,EAAKI,uBAAuBC,UAC3B,EAAKD,uBAAuBC,YAAc,EAAKpB,UAAUqB,SACzD,EAAKF,uBAAuBF,cAAgB,EAAKjB,UAAUkB,aAGhErB,IAEDA,EADEJ,EAEqB,UAArBiB,EAAGK,iBACD,EAAKC,qBACL,EAAKA,kBAAkBC,aACzB,EAAKD,kBAAkBC,YAAYK,OAAO,EAAG,KAAO,EAAKtB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yKAsLA,0BAtLA,KAuLA,QAvLA,SAwLA,2BAxLA,mCAyLA,gDAzLA,oCA0LA,gBA1LA,gEAuLA,IAvLA,gBA2LA,kBACA,WACA,yCA7LA,yGAgMEpG,SAAU,EAAZ,GACA,gBACI,mBAAJ,kCACI,sBAAJ,qCACI,4BAAJ,2CACI,uBAAJ,8BACI,YAAJ,4BACI,oBAAJ,mCACI,eAAJ,sBACI,OAAJ,cACI,UAAJ,qBCrO4X,ICQxX,G,WAAY,eACd,EACAI,EACAuB,GACA,EACA,KACA,WACA,OAIa,e,qDCnBf0E,EAAOC,QAAU,IAA0B,6B,kCCA3C,W,kCCAA,IAAIlG,EAAS,WAAa,IAAIC,EAAI3C,KAAS4C,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,YAAY,wBAAwBkB,MAAM,IAAI,CAACvB,EAAIkG,GAAG,YAAY,IAC3K5E,EAAkB,GCOtB,GACE6B,MAAO,CACLgD,QAASC,QCVsV,I,YCO/VrB,EAAY,eACd,EACAhF,EACAuB,GACA,EACA,KACA,KACA,MAIa,OAAAyD,E","file":"js/chunk-2a518160.d9a4a04a.js","sourcesContent":["/* eslint-disable */\nimport constantData from '@/json/data.json'\nimport { mapActions, mapGetters } from 'vuex'\n\nexport const securityMixin = {\n methods: {\n ...mapActions({\n setLoadingStatus: 'menu/setLoadingStatus'\n }),\n inSuperRole(role) {\n return constantData.super_roles.map(sr => sr.key).includes(role)\n },\n determineAccessibility(ctl, profile = false) {\n let camp_match = false\n let country_match = false\n let region_match = false\n let state_match = false\n let super_match = this.userLogin.croles.filter(sf => this.inSuperRole(sf.rle_key) && this.iCanSee(ctl)).length > 0\n if (!super_match) {\n this.controlPermissions\n .filter(cpf => cpf.vcxr_ctl_key === ctl)\n .map(rl => {\n let role_find = this.userLogin.croles.find(cf => cf.rle_key === rl.vcxr_rle_key)\n if (!!role_find) {\n if (!camp_match) {\n if (profile) {\n camp_match =\n rl.vogs_org_type === 'Camp' &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number === this.userLogin.campnumber\n } else {\n camp_match =\n rl.vogs_org_type === 'Camp' &&\n (!!this.officerToolbarSelected.camp_name\n ? this.officerToolbarSelected.camp_name === this.userLogin.campname\n : this.officerToolbarSelected.camp_number === this.userLogin.campnumber)\n }\n }\n if (!state_match) {\n if (profile) {\n state_match =\n rl.vogs_org_type === 'State' &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n } else {\n state_match =\n rl.vogs_org_type === 'State' &&\n this.officerToolbarSelected.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n }\n }\n if (!country_match) {\n if (profile) {\n country_match =\n rl.vogs_org_type === 'Country' &&\n ['icc', 'ioc'].includes(this.userLogin.membertype.toLowerCase()) &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n } else {\n country_match =\n rl.vogs_org_type === 'Country' &&\n ['icc', 'ioc'].includes(this.userLogin.membertype.toLowerCase()) &&\n this.officerToolbarSelected.country_state === this.userLogin.statekey\n }\n }\n if (!region_match) {\n region_match =\n rl.vcxr_rle_key === constantData.region_1_key || rl.vcxr_rle_key === constantData.region_2_key\n }\n }\n })\n return state_match === true || country_match === true || camp_match === true || region_match === true\n } else {\n // super roles exceptions were made in the API\n return true\n } // clear out state.control_permissions\n },\n // this is a special case for conversations that augments the ICanSee() method\n conversationsICanSee(ctrl) {\n let foundInInstructorsAndEus = this.instructors_and_eus.findIndex(ieu => ieu.ind_key === this.demograph.ind_key) > -1\n if (foundInInstructorsAndEus) {\n return true\n }\n if (!ctrl) {\n return false\n }\n this.iCanSee(ctrl)\n return this.iCanSee(ctrl)\n }\n },\n computed: {\n ...mapGetters({\n controlPermissions: 'user/controlPermissions',\n instructors_and_eus: 'conversations/instructors_and_eus',\n demograph: 'user/demograph',\n iCanSee: 'user/iCanSee',\n individualProfile: 'membership/individualProfileHeader',\n officerToolbarSelected: 'user/officerToolbarSelected',\n userSelectedIndividualKey: 'user/userSelectedIndividualKey',\n userLanguageKey: 'user/userLanguageKey'\n }),\n }\n}\n\nexport default securityMixin\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!./AddEditPrayerRequest.vue?vue&type=style&index=0&id=71dca81e&prod&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"church-list template-1\"},[_c('page-header',{staticClass:\"mx-lg\"},[_c('h3',{staticClass:\"header-title\"},[_vm._v(_vm._s(this.translations.tcManageSpecialRequests))])]),_vm._l((_vm.prayerRequestDisplayArray),function(req,ix){return _c('div',{key:ix},[_c('PrayerRequest',{attrs:{\"name\":req.name,\"items\":req.items,\"level\":req.level,\"i18n\":_vm.translations.components},on:{\"delete_approved\":function($event){return _vm.deleteItem($event, ix)},\"toggleExpired\":function($event){return _vm.toggleExpired($event)}}})],1)})],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\",attrs:{\"id\":\"card\"}},[_c('div',{staticClass:\"d-flex\"},[_c('h4',{staticClass:\"card-title mr-auto m-0\"},[_vm._v(_vm._s(_vm.name))]),_c('span',{staticClass:\"arrow-down-icon\",class:{ arrowup: _vm.isToggled },on:{\"click\":function($event){return _vm.toggle()}}},[_c('img',{attrs:{\"src\":require(\"../assets/svgs/arrow-up.svg\")}})])]),(!_vm.isToggled)?_c('div',{attrs:{\"id\":\"add-request\"}},[_c('b-button',{attrs:{\"variant\":\"btn btn-primary\"},on:{\"click\":function($event){return _vm.add()}}},[_vm._v(_vm._s(_vm.i18n['prayer-request'].tcAddPrayerRequest))])],1):_vm._e(),(!_vm.isToggled)?_c('div',{staticClass:\"card-table\"},[_c('div',{staticClass:\"table-responsive\"},[_c('table',{staticClass:\"table\"},[_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\" \"+_vm._s(_vm.i18n['prayer-request'].tcType)),_c('b-icon-arrow-down',{attrs:{\"scale\":\"1.2\",\"shift-h\":\"3\"}})],1),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\" \"+_vm._s(_vm.i18n['prayer-request'].tcStartDate)),_c('b-icon-arrow-down',{attrs:{\"scale\":\"1.2\",\"shift-h\":\"3\"}})],1),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(\" \"+_vm._s(_vm.i18n['prayer-request'].tcEndDate)),_c('b-icon-arrow-down',{attrs:{\"scale\":\"1.2\",\"shift-h\":\"3\"}})],1),_c('th'),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.i18n['prayer-request'].tcEditDelete))])])]),_vm._l((_vm.itemValues),function(item,index){return _c('tbody',{key:index + 'item',staticClass:\"card-row\"},[_c('tr',[_c('th',{attrs:{\"scope\":\"row\"}},[_vm._v(_vm._s(item.cid_request_title))]),_c('td',[_vm._v(_vm._s(_vm.showDate(item.cid_start_date)))]),_c('td',[_vm._v(_vm._s(_vm.showDate(item.cid_end_date)))]),_c('td',[_c('a',{on:{\"click\":function($event){return _vm.open(item)}}},[_vm._v(_vm._s(_vm.i18n['prayer-request'].tcView))])]),_c('td',[(_vm.showEdit(item))?_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.edit(item)}}},[_c('b-icon-pencil-square',{attrs:{\"color\":\"#32C5FF\",\"scale\":\"1.2\"}})],1):_vm._e(),(_vm.showDelete(item))?_c('a',{staticClass:\"delete-icon\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){$event.preventDefault();return _vm.deleteItem(item)}}},[_c('b-icon-x',{attrs:{\"variant\":\"danger\",\"scale\":\"2\"}})],1):_vm._e()])])])})],2)])]):_vm._e(),(!_vm.isToggled)?_c('div',{staticClass:\"bottom-buttons\"},[_c('b-button',{attrs:{\"variant\":\"btn btn-light\"},on:{\"click\":function($event){return _vm.toggleExpiredRequests()}}},[_vm._v(_vm._s(_vm.toggleExpiredRequestText))]),_c('b-button',{attrs:{\"variant\":\"btn btn-light\"},on:{\"click\":function($event){return _vm.openManageCalendar()}}},[_vm._v(_vm._s(_vm.i18n['prayer-request'].tcManagePrayerCalendar))])],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./PrayerRequest.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!./PrayerRequest.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PrayerRequest.vue?vue&type=template&id=23e8a94a&\"\nimport script from \"./PrayerRequest.vue?vue&type=script&lang=js&\"\nexport * from \"./PrayerRequest.vue?vue&type=script&lang=js&\"\nimport style0 from \"./PrayerRequest.vue?vue&type=style&index=0&id=23e8a94a&prod&lang=scss&\"\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\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!./AddEditPrayerRequest.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!./AddEditPrayerRequest.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AddEditPrayerRequest.vue?vue&type=template&id=71dca81e&scoped=true&\"\nimport script from \"./AddEditPrayerRequest.vue?vue&type=script&lang=js&\"\nexport * from \"./AddEditPrayerRequest.vue?vue&type=script&lang=js&\"\nimport style0 from \"./AddEditPrayerRequest.vue?vue&type=style&index=0&id=71dca81e&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 \"71dca81e\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/arrow-up.5746f364.svg\";","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!./PrayerRequest.vue?vue&type=style&index=0&id=23e8a94a&prod&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"page-header container\",class:{}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./PageHeader.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!./PageHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageHeader.vue?vue&type=template&id=bd6fefa6&\"\nimport script from \"./PageHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./PageHeader.vue?vue&type=script&lang=js&\"\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"],"sourceRoot":""}