{"version":3,"sources":["webpack:///./src/scripts/services/volunteeringAttributeOffer.service.js","webpack:///./src/scripts/models/enums/volunteeringType.enum.js","webpack:///./src/scripts/services/institution.service.js","webpack:///./src/scripts/models/volunteeringAttributeOffer.model.js","webpack:///src/views/app/volunteering/step6.vue","webpack:///./src/views/app/volunteering/step6.vue?c025","webpack:///./src/views/app/volunteering/step6.vue","webpack:///./src/scripts/models/volunteering.model.js","webpack:///./src/scripts/services/volunteering.service.js"],"names":["VolunteeringAttributeOfferService","_BaseCrudService","_classCallCheck","_callSuper","_inherits","_createClass","key","value","id","this","getRequest","concat","volunteeringId","volunteeringAttributeOffer","postRequest","deleteRequest","CompanyId","BaseCrudService","VolunteeringTypeEnum","Pontual","Recorrente","VolunteeringTypes","name","InstitutionService","callback","institution","then","findById","entityId","institutionId","VolunteeringAttributeOffer","offerName","function","preRequisites","isDistanceOportunityAllowed","isPresentialOportunityAllowed","totalOfferAmount","volunteeringType","file","File","address","Address","volunteeringRecurrentTypes","volunteeringPontualTypes","extends","ValidatableComponent","components","ValueRange","HelpBox","AucAlert","FileImage","props","data","helpBoxText","HelpBoxText","ProjectStep2","project","volunteering","Volunteering","breadcrumbLevels","text","projectService","ProjectService","volunteeringService","VolunteeringService","institutionService","volunteeringAttributeOfferService","routes","Routes","created","$route","query","CommonHelper","swal","$router","go","loadVolunteeringProject","loadProject","$emit","computed","isTicket","projectTypeId","ProjectTypes","Ticket","methods","previousPage","push","app","VolunteeringStep5","nextPage","_this","VolunteeringList","entity","_this2","findByVolunteeringId","volunteeringAttributeOffers","_this3","findProjectByVolunteering","createProject","_this4","createProjectFromVolunteering","openConfirmDisableDonationProductModal","item","selectedDonationProduct","$refs","donationProductAlertComponent","open","activeDonationProduct","valueRangeComponent","changeStatus","disableDonationProduct","editDonationProduct","newDonationProduct","DonationProduct","validateStep","valid","isValid","setValidStep","setInvalidStep","save","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","on","$event","_v","pageOptions","_l","Order","_s","suggestionValue","description","staticStyle","model","$$v","expression","ref","$set","staticRenderFns","__vue_template_functional__","__vue_styles__","__vue_scopeId__","__vue_module_identifier__","Component","fullName","shortName","tags","causeId","targetAudienceId","volunteeringTypeId","beneficiaries","about","activities","initialFinalDates","initialDate","finalDate","Project","published","ageRangeList","volunteeringCoverages","volunteeringVolunteeringTypes","scheduleList","goalList","newsList","followerList","documentsCheck","newsCheck","galleryCheck","scheduleCheck","stepsValidationStatus","faviconFile","metaTitle","metaDescription","projectId","catch","err","console","log","coverageId","companyId","subdomain","testimony","testimonyId","volunteeringFile","volunteeringFileId"],"mappings":"oNAEqBA,EAAiC,SAAAC,GAElD,SAAAD,IAAc,OAAAE,eAAA,KAAAF,GAAAG,eAAA,KAAAH,EAAA,CACJ,+BAoCT,OAvCiDI,eAAAJ,EAAAC,GAIjDI,eAAAL,EAAA,EAAAM,IAAA,WAAAC,MAED,SAASC,GACL,OAAOC,KAAKC,WAAW,YAADC,OAAaH,MACtC,CAAAF,IAAA,uBAAAC,MAED,SAAqBK,GACjB,OAAOH,KAAKC,WAAW,wBAADC,OAAyBC,MAClD,CAAAN,IAAA,UAAAC,MAED,WACI,OAAOE,KAAKC,WAAW,aAC1B,CAAAJ,IAAA,OAAAC,MAED,SAAKM,GACD,OAAOJ,KAAKK,YAAY,OAAQD,KACnC,CAAAP,IAAA,SAAAC,MAED,SAAOC,GACH,OAAOC,KAAKM,cAAc,UAADJ,OAAWH,MACvC,CAAAF,IAAA,gCAAAC,MAED,SAA8BC,GAC1B,OAAOC,KAAKM,cAAc,iCAADJ,OAAkCH,MAC9D,CAAAF,IAAA,kCAAAC,MAED,SAAgCC,GAC5B,OAAOC,KAAKM,cAAc,mCAADJ,OAAoCH,MAChE,CAAAF,IAAA,2CAAAC,MACD,WACI,OAAOE,KAAKC,WAAW,8CAC1B,CAAAJ,IAAA,4CAAAC,MAED,SAA0CS,GACtC,OAAOP,KAAKC,WAAW,6CAADC,OAA8CK,QACvEhB,EAvCiD,CAASiB,S,kCCF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EE,uBAC5DoD,EA3EsC,CAAS/C","file":"assets/js/chunk-9fa2659a.js","sourcesContent":["import BaseCrudService from \"./baseCrud.service\";\n\nexport default class VolunteeringAttributeOfferService extends BaseCrudService {\n\n constructor() {\n super('VolunteeringAttributeOffer');\n }\n\n findById(id) {\n return this.getRequest(`FindById/${id}`);\n }\n\n findByVolunteeringId(volunteeringId) {\n return this.getRequest(`FindByVolunteeringId/${volunteeringId}`);\n }\n\n listAll() {\n return this.getRequest('ListAll');\n }\n\n save(volunteeringAttributeOffer) {\n return this.postRequest('Save', volunteeringAttributeOffer);\n }\n\n delete(id) {\n return this.deleteRequest(`Delete/${id}`);\n }\n\n deleteVolunteeringPontualType(id) {\n return this.deleteRequest(`DeleteVolunteeringPontualType/${id}`);\n }\n\n deleteVolunteeringRecurrentType(id) {\n return this.deleteRequest(`DeleteVolunteeringRecurrentType/${id}`);\n }\n listVolunteeringAttributeOfferByCampaign(){\n return this.getRequest(`ListVolunteeringAttributeOfferByCampaign`);\n }\n\n listVolunteeringAttributeOfferByCompanyId(CompanyId){\n return this.getRequest(`ListVolunteeringAttributeOfferByCompanyId/${CompanyId}`);\n }\n}","const VolunteeringTypeEnum = {\n\tPontual: 1,\n\tRecorrente: 2\n};\n\nconst VolunteeringTypes = [\n\t{id: 1, name: \"Pontual\"},\n\t{id: 2, name: \"Recorrente\"}\t\n]\n\nexport { VolunteeringTypeEnum, VolunteeringTypes };","import BaseCrudService from \"./baseCrud.service\";\nimport ApiService from \"./api.service\";\n\nexport default class InstitutionService extends BaseCrudService {\n\n\tconstructor() {\n\t\tsuper('Institution');\n\t}\n\n\tsave(callback, institution) {\n\t\tthis.postRequest('Save', institution).then(callback);\n\t}\n\n\tlistAllInstitutionDocumentType(callback) {\n\t\tthis.getRequest(\"ListAllInstitutionDocumentType\").then(callback);\n\t}\n\n\tlistAllOcupationArea(callback) {\n\t\tthis.getRequest(\"ListAllOcupationArea\").then(callback);\n\t}\n\n\tlistAllState(callback) {\n\t\tthis.getRequest(\"ListAllState\").then(callback);\n\t}\n\n\tlistAll(callback) {\n\t\tthis.getRequest(\"ListAll\").then(callback);\n\t}\n\n\tfind(callback, id){\n\t\treturn this.findById(id, false).then(callback);\n\t}\n\n\tgetFileByEntity(entityId) {\n\t\treturn this.getRequest(\"GetFileByEntity\", {entityId: entityId}, false, false);\n\t}\n\n\tloadInstitutionsInformation(){\n\t\treturn this.getRequest('LoadInstitutionsInformation');\n\t}\n\t\n\tfindByEntityId(entityId){\n\t\treturn this.getRequest('FindByEntityId', {entityId: entityId});\n\t}\n\n\tlistAllFileInstitutionByInstitutionId(institutionId){\n\t\treturn this.getRequest('ListAllFileInstitutionByInstitutionId', {institutionId: institutionId}); \n\t}\n\n}","import File from \"@/scripts/models/file.model\";\nimport Address from \"@/scripts/models/address.model\";\nimport { \n VolunteeringTypes,\n} from \"@/scripts/models/enums/volunteeringType.enum.js\";\n\nexport default class VolunteeringAttributeOffer {\n\n constructor() {\n this.id = -1;\n this.volunteeringId = -1;\n this.offerName = '';\n this.function = '';\n this.preRequisites = '';\n this.isDistanceOportunityAllowed = true; \n this.isPresentialOportunityAllowed = true; \n this.totalOfferAmount = 1;\n\n this.volunteeringType = VolunteeringTypes[0];\n \n this.file = new File();\n this.address = new Address();\n \n this.volunteeringRecurrentTypes = [];\n this.volunteeringPontualTypes = [];\n }\n}","\n \n
\n \n
\n \n
\n
\n
\n \n
\n
PASSO 6
\n \n
\n \n
\n Produtos de Doação
\n \n Novo Produto\n \n \n \n
\n \n
\n \n
\n
{{ item.name }}
\n
{{ item.suggestionValue }}\n
{{ item.description }}
\n
\n
\n \n
\n
\n
\n
\n
\n \n \n \n \n
\n
\n
\n\n\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('v-layout',[_c('div',{staticClass:\"boxapp\"},[_c('div',{staticClass:\"boxapp-head\"},[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_c('faIcon',{attrs:{\"type\":\"fal\",\"name\":\"long-arrow-left\",\"size\":\"24\",\"colorFont\":\"#cfd2dd\"}})],1),_vm._v(\" \"),_c('h1',[_vm._v(\"Doações\")])]),_vm._v(\" \"),_c('div',{staticClass:\"box-main\"},[_c('StepsVolunteering',{attrs:{\"page-options\":_vm.pageOptions,\"volunteering\":_vm.volunteering}}),_vm._v(\" \"),_c('div',{staticClass:\"section list-view\"},[_c('div',{staticClass:\"head\"},[_c('h5',[_vm._v(\"PASSO 6\")])]),_vm._v(\" \"),_c('div',{staticClass:\"section card-grid\"},[_c('v-layout',{attrs:{\"head\":\"\",\"justify-space-between\":\"\"}},[_c('h3',[_vm._v(\"Produtos de Doação\")]),_vm._v(\" \"),_c('v-btn',{staticClass:\"ml-auto btn-primary px-5 m-l-auto t-transf-none\",attrs:{\"flat\":\"\",\"round\":\"\",\"color\":\"white\",\"large\":\"\"},on:{\"click\":_vm.newDonationProduct}},[_c('i',{staticClass:\"mr-2 far fa-plus\"}),_vm._v(\"Novo Produto\\n \")])],1),_vm._v(\" \"),_c('div',{staticClass:\"wrapper\"},[_vm._l((_vm.project.donationProductList),function(item){return [_c('div',{key:item.Order,staticClass:\"card-item\"},[_c('FileImage',{attrs:{\"file\":item.file,\"alt\":''}}),_vm._v(\" \"),_c('h5',[_vm._v(_vm._s(item.name))]),_vm._v(\" \"),_c('span',[_vm._v(_vm._s(item.suggestionValue))]),_vm._v(\" \"),_c('p',[_vm._v(_vm._s(item.description))]),_vm._v(\" \"),_c('div',{staticClass:\"display-flex action-card\"},[_c('a',{staticClass:\"edit-option\",on:{\"click\":function($event){return _vm.editDonationProduct(item)}}},[_c('Icon',{attrs:{\"name\":'fal fa-pen',\"size\":16}})],1),_vm._v(\" \"),(item.active)?_c('a',{staticClass:\"delete-option\",attrs:{\"title\":\"Inativar Produto\"},on:{\"click\":function($event){return _vm.openConfirmDisableDonationProductModal(item)}}},[_c('Icon',{attrs:{\"name\":'fal fa-ban',\"size\":16}})],1):_c('a',{staticClass:\"delete-option\",attrs:{\"title\":\"Ativar Produto\"},on:{\"click\":function($event){return _vm.activeDonationProduct(item)}}},[_c('Icon',{attrs:{\"name\":'fal fa-check',\"size\":16}})],1)])],1)]})],2)],1)])],1)]),_vm._v(\" \"),_c('div',{staticClass:\"box-help-spacer\"}),_vm._v(\" \"),_c('HelpBox',{attrs:{\"text\":_vm.helpBoxText}})],1),_vm._v(\" \"),_c('div',{staticClass:\"footer-step\",staticStyle:{\"display\":\"flex\"}},[_c('v-btn',{staticClass:\"btn-default flex-inherit px-5\",attrs:{\"flat\":\"\",\"round\":\"\",\"disabled\":true,\"color\":\"white\",\"large\":\"\"},model:{value:(_vm.pageOptions),callback:function ($$v) {_vm.pageOptions=$$v},expression:\"pageOptions\"}},[_vm._v(\"Voltar\")]),_vm._v(\" \"),_c('div',{staticClass:\"btn-right\"},[_c('v-btn',{staticClass:\"btn-primary flex-inherit px-5\",attrs:{\"flat\":\"\",\"round\":\"\",\"color\":\"white\",\"large\":\"\"},on:{\"click\":_vm.nextPage},model:{value:(_vm.pageOptions),callback:function ($$v) {_vm.pageOptions=$$v},expression:\"pageOptions\"}},[_vm._v(\"Concluir\")])],1)],1),_vm._v(\" \"),_c('ValueRange',{ref:\"valueRangeComponent\",attrs:{\"isTicket\":false,\"projectId\":_vm.project.id},model:{value:(_vm.project.donationProductList),callback:function ($$v) {_vm.$set(_vm.project, \"donationProductList\", $$v)},expression:\"project.donationProductList\"}}),_vm._v(\" \"),_c('AucAlert',{ref:\"donationProductAlertComponent\",attrs:{\"title\":\"Você tem certeza que deseja desativar esse produto de doação?\",\"confirmButtonText\":\"Sim\",\"cancelButtonText\":\"Não\"},on:{\"confirm\":function($event){return _vm.disableDonationProduct(_vm.selectedDonationProduct)}}})],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./step6.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./step6.vue\"\n/* template */\nimport {render as __vue_render__, staticRenderFns as __vue_static_render_fns__} from \"!!../../../../node_modules/vue-loader/lib/template-compiler/index?{\\\"id\\\":\\\"data-v-83d020ec\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./step6.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = null\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nimport normalizeComponent from \"!../../../../node_modules/vue-loader/lib/runtime/component-normalizer\"\nvar Component = normalizeComponent(\n __vue_script__,\n __vue_render__,\n __vue_static_render_fns__,\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\n\nexport default Component.exports\n","import File from \"@/scripts/models/file.model\";\nimport Project from \"@/scripts/models/project.model\";\nexport default class Volunteering {\n\n constructor() {\n this.id = 0;\n this.fullName = '';\n this.shortName = '';\n this.tags = '';\n this.causeId = null;\n this.targetAudienceId = null;\n this.volunteeringTypeId = 0; \n this.beneficiaries = 0;\n this.about = '';\n this.activities = '';\n this.initialFinalDates = [];\n this.initialDate = '';\n this.finalDate = '';\n this.institutionId = null;\n this.project = new Project();\n this.published = false;\n\n this.ageRangeList = [];\n this.volunteeringCoverages = [];\n this.volunteeringVolunteeringTypes = [];\n this.scheduleList = [];\n this.goalList = [];\n this.newsList = [];\n this.followerList = [];\n\n this.documentsCheck = 0;\n this.newsCheck = 0;\n this.galleryCheck = 0;\n this.scheduleCheck = 0;\n\n this.stepsValidationStatus = {};\n \n this.faviconFile = new File();\n this.metaTitle = \"\";\n this.metaDescription = \"\";\n }\n}","import BaseCrudService from \"./baseCrud.service\";\n\nexport default class VolunteeringService extends BaseCrudService {\n\n\tconstructor() {\n\t\tsuper('Volunteering');\n\t}\n\n\tfindById(id) {\n\t\treturn this.getRequest(`FindById/${id}`);\n\t}\n\n\tfindByProjectId(projectId){\n\t\treturn this.getRequest(`FindByProjectId/${projectId}`);\n\t}\n\n\tlistAll(entityId, institutionId) {\n\t\tif (institutionId != null)\n\t\t\treturn this.getRequest('ListAll', { entityId });\n\t\telse\n\t\t\treturn this.getRequest('ListAll');\n\t}\n\n\tsave(volunteering) {\n\t\treturn this.postRequest('Save', volunteering);\n\t}\n\n\tdelete(id) {\n\t\treturn this.deleteRequest(`Delete/${id}`).catch(err => console.log(err));\n\t}\n\n\tdeleteCoverage(coverageId) {\n\t\treturn this.deleteRequest('DeleteCoverage', { id: coverageId });\n\t}\n\n\tpublish(volunteeringId) {\n\t\treturn this.getRequest('Publish', { volunteeringId });\n\t}\n\n\tunpublish(volunteeringId) {\n\t\treturn this.getRequest('Unpublish', { volunteeringId });\n\t}\n\n\tgetAllVolunteeringReport(companyId) {\n\t\treturn this.getRequest('GetVolunteeringReport', { companyId })\n\t}\n\n\tgetVolunteeringInformationReport(subdomain) {\n\t\treturn this.getRequest('GetVolunteeringInformationReport', { subdomain })\n\t}\n\n\tsaveTestimony(testimony) {\n\t\treturn this.postRequest(\"SaveVolunteeringTestimony\", testimony);\n\t}\n\n\tdeleteTestimony(testimonyId) {\n\t\treturn this.deleteRequest(\"DeleteVolunteeringTestimony\", { testimonyId });\n\t}\n\n\tlistTestimoniesByVolunteeringId(volunteeringId) {\n\t\treturn this.getRequest(\"ListVolunteeringTestimonyByVolunteeringId\", { volunteeringId });\n\t}\n\n\tsaveVolunteeringFile(volunteeringFile) {\n\t\treturn this.postRequest(\"SaveVolunteeringFile\", volunteeringFile);\n\t}\n\n\tlistVolunteeringFiles(volunteeringId) {\n\t\treturn this.getRequest(\"ListVolunteeringFilesByVolunteeringId\", { volunteeringId })\n\t}\n\n\tdeleteVolunteeringFile(volunteeringFileId) {\n\t\treturn this.deleteRequest(\"DeleteVolunteeringFile\", { volunteeringFileId });\n\t}\n\n\tfindInstitutionByVolunteeringId(volunteeringId) {\n\t\treturn this.getRequest(\"FindInstitutionByVolunteeringId\", { volunteeringId });\n\t}\n\n}"],"sourceRoot":""}