{"version":3,"sources":["webpack:///./src/views/app/management/User.vue?eb60","webpack:///./src/views/app/management/User.vue?134c","webpack:///./src/scripts/services/company.service.js","webpack:///src/views/app/user/modal/UserEmailEdit.vue","webpack:///./src/views/app/user/modal/UserEmailEdit.vue?bef6","webpack:///./src/views/app/user/modal/UserEmailEdit.vue","webpack:///src/views/app/management/User.vue","webpack:///./src/views/app/management/User.vue?67e9","webpack:///./src/views/app/management/User.vue","webpack:///src/components/Menu.vue","webpack:///./src/components/Menu.vue?5d81","webpack:///./src/components/Menu.vue","webpack:///src/components/HeroInner.vue","webpack:///./src/components/HeroInner.vue?96e6","webpack:///./src/components/HeroInner.vue","webpack:///./src/scripts/services/entity.service.js","webpack:///./src/components/Menu.vue?e56c","webpack:///./src/components/Menu.vue?74f7"],"names":["content","__esModule","default","module","i","locals","exports","add","push","DASHBOARD_FILTERS","CompanyService","_BaseCrudService","_classCallCheck","_callSuper","_inherits","_createClass","key","value","callback","company","this","postRequest","then","companyId","getRequest","campaignId","entityId","filters","selectedFilters","localStorage","getItem","JSON","parse","loginService","LoginService","user","getLoggedUser","hasOwnProperty","console","log","setItem","stringify","userFilter","BaseCrudService","extends","ValidatableComponent","props","data","userEmailEditDialog","signedUserEntityType","userPerson","UserPerson","userService","UserService","personService","PersonService","personName","email","cpf","address","street","number","neighborhood","complement","city","uf","postalCode","originalPerson","showMessage","snackbarMessage","companyGroupService","CompanyGroupService","institutionService","InstitutionService","councilService","CouncilService","permissionService","PermissionService","currentEntity","Entity","entity","originalUserPerson","selectedCompanyGroup","selectedEntityType","editingMode","userHasPermissions","instituionList","companyGroupList","roles","userPersonFound","listPermissions","entityType","EntityType","entityTypeList","EntityTypeList","userOccupation","UserOccupation","userOccupationList","UserOccupationList","hasPresidentAtEntity","hasRepresentativeAtEntity","isUserFromAUC","loggedUser","computed","_objectSpread","mapGetters","enabledPermissionList","filter","item","canShow","created","getPerson","showValidationFailMessageMethod","showFailMessage","onValidationSuccessMethod","validationSuccess","validationMethod","validate","listAll","permissionsToShow","Permissions","ConciliationRH","CashFlow","CanSignReceipt","map","includes","id","bind","getEntityById","type","AUC","listAllCompanyGroup","listAllCompanyGroupCallback","listAllInstituionCallback","listAllCouncilCallback","methods","save","name","state","CommonHelper","validateCPF","isEmailValid","$store","commit","updatePerson","$emit","close","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","wrap","_context","prev","next","findPersonByCPF","sent","stop","emailIsEqual","open","_this2","_callee2","_context2","personId","currentUserRole","copy","getLoggedPersonUser","entitiesOccupation","some","x","userAlreadyExists","validateEmail","emailRegex","test","invalidElements","length","performMethods","valid","validateComponents","render","_vm","_h","$createElement","_c","_self","attrs","model","$$v","expression","staticClass","_v","on","staticStyle","ref","$set","isValid","_e","staticRenderFns","__vue_template_functional__","__vue_styles__","__vue_scopeId__","__vue_module_identifier__","Component","components","HeroInner","UserInvite","UserEmailEdit","AucAlert","_defineProperty","formatterHelper","FormatterHelper","currentItem","pagination","sortBy","page","pageSize","total","text","align","loadPeopleInformation","search","loadPaginationInfo","searchName","searchEmail","searchCPF","result","loadPagedPeopleInformation","onPeopleLoaded","cpfFormatter","formatCpf","onPageChange","confirmActivation","$refs","alertComponent","openUserInvite","person","currentEntityId","findByCPF","userInviteComponent","userId","openUserEmailEdit","userEmailEditComponent","setRoleActivationStatus","activate","userRole","active","success","people","toggleAll","selected","desserts","slice","changeSort","column","descending","getEntityType","Institution","Company","date","formatDate","formatPostalCode","gender","selectedEntityId","nativeOn","$event","indexOf","_k","keyCode","apply","arguments","_l","scopedSlots","_u","fn","proxy","_s","cart","index","campaign","totalValue","status","payment","recurrence","injectStyle","context","$route","query","entityService","findById","findEntityCallback","menuNavegation","companyService","EntityService","institution","council","findByEntityId","buildMenu","Council","routeProfile","Routes","app","CompanyProfile","InstitutionProfile","institutionId","CouncilProfile","councilId","title","icon","route","DashboardCompany","DashboardVolunteering","User","CampaignList","MemberGetMember","hasPermission","HrConciliation","ProjectList","VolunteeringList","InstitutionAbout","ManagementSignature","ManagementManualSignature","PendentAcceptToInstitution","_g","class","titleCompany","Menu","descrition","showBackDash","ShowLogo","Boolean","entityName","$router","entityStatusId","putRequest","cnpj"],"mappings":"qGAGA,IAAIA,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,QAE5C,IAAIE,EAAM,EAAQ,QAAqEL,QAC1EK,EAAI,WAAYP,GAAS,EAAM,K,qBCT5CM,EAAUH,EAAOG,QAAU,EAAQ,OAAR,EAA+D,GAK1FA,EAAQE,KAAK,CAACL,EAAOC,EAAI,8bAA+c,M,kLCDleK,EAAoB,oBAELC,EAAc,SAAAC,GAElC,SAAAD,IAAc,OAAAE,eAAA,KAAAF,GAAAG,eAAA,KAAAH,EAAA,CACP,YAoFN,OAvFiCI,eAAAJ,EAAAC,GAIjCI,eAAAL,EAAA,EAAAM,IAAA,OAAAC,MAED,SAAKC,EAAUC,GACdC,KAAKC,YAAY,OAAQF,GAASG,KAAKJ,KACvC,CAAAF,IAAA,OAAAC,MAED,SAAKC,EAAUK,GACd,OAAOH,KAAKI,WAAW,WAAY,CAAED,UAAWA,IAAaD,KAAKJ,KAClE,CAAAF,IAAA,oCAAAC,MAED,SAAkCM,EAAWE,GAC5C,OAAOL,KAAKI,WAAW,oCAAqC,CAAEC,WAAYA,EAAYF,UAAWA,MACjG,CAAAP,IAAA,kBAAAC,MAED,SAAgBS,GACf,OAAON,KAAKI,WAAW,kBAAmB,CAAEE,SAAUA,IAAY,GAAO,KACzE,CAAAV,IAAA,oBAAAC,MAED,WACC,OAAOG,KAAKI,WAAW,uBACvB,CAAAR,IAAA,iBAAAC,MAED,SAAeS,GACd,OAAON,KAAKI,WAAW,iBAAkB,CAAEE,SAAUA,MACrD,CAAAV,IAAA,kBAAAC,MAED,SAAgBC,EAAUK,GACzB,OAAOH,KAAKI,WA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,OAAON,KAAKI,WAAW,WAAY,CAACE,SAAUA,IAAWJ,KAAKJ,KACjE,CAAAF,IAAA,0BAAAC,MACD,SAAwB8T,EAAMpP,GAChC,OAAOvE,KAAKI,WAAW,0BAA2B,CAACuT,KAAMA,EAAMpP,WAAYA,QAC3E0M,EAfgC,CAAS1P,S,qBCF3CrC,EAAUH,EAAOG,QAAU,EAAQ,OAAR,EAAyD,GAKpFA,EAAQE,KAAK,CAACL,EAAOC,EAAI,moBAAooB,M,qBCF7pB,IAAIJ,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACG,EAAOC,EAAIJ,EAAS,MAC7DA,EAAQK,SAAQF,EAAOG,QAAUN,EAAQK,QAE5C,IAAIE,EAAM,EAAQ,QAA+DL,QACpEK,EAAI,WAAYP,GAAS,EAAM","file":"assets/js/chunk-75d9f82a.js","sourcesContent":["// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../../node_modules/css-loader/index.js?minimize!../../../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!../../../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./User.vue\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"1f1034a0\", content, true, {});","exports = module.exports = require(\"../../../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\\nselect {\\n background: url('data:image/svg+xml;utf8,<svg fill=\\\"%23c1c1c1\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\" width=\\\"24\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7 10l5 5 5-5z\\\"/><path d=\\\"M0 0h24v24H0z\\\" fill=\\\"none\\\"/></svg>')\\n no-repeat right 1em center / 24px auto white;\\n}\\n.gestao-usuarios .v-expansion-panel__container--active\\n> .v-expansion-panel__header\\n.v-expansion-panel__header__icon\\ni:before {\\n content: \\\"\\\\F068\\\";\\n}\\n\", \"\"]);\n\n// exports\n","import BaseCrudService from \"./baseCrud.service\";\nimport ApiService from \"./api.service\";\nimport LoginService from \"./login.service\";\n\nconst DASHBOARD_FILTERS = 'dashboard-filters'\n\nexport default class CompanyService extends BaseCrudService {\n\n\tconstructor() {\n\t\tsuper('Company');\n\t}\n\n\tsave(callback, company) {\n\t\tthis.postRequest('Save', company).then(callback);\n\t}\n\n\tfind(callback, companyId) {\n\t\treturn this.getRequest('FindById', { companyId: companyId }).then(callback);\n\t}\n\n\tgetCampaignCompaniesFromSameGroup(companyId, campaignId) {\n\t\treturn this.getRequest('GetCampaignCompaniesFromSameGroup', { campaignId: campaignId, companyId: companyId });\n\t}\n\n\tgetFileByEntity(entityId) {\n\t\treturn this.getRequest(\"GetFileByEntity\", { entityId: entityId }, false, false);\n\t}\n\n\tgetBySignedInUser() {\n\t\treturn this.getRequest('GetBySignedInUser');\n\t}\n\n\tfindByEntityId(entityId) {\n\t\treturn this.getRequest('FindByEntityId', { entityId: entityId });\n\t}\n\n\tlistFileCompany(callback, companyId) {\n\t\treturn this.getRequest('ListFileCompanyByCompanyId', { companyId: companyId }).then(callback);\n\t}\n\n\tloadDashboard(filters) {\n\t\treturn this.postRequest('LoadDashboard', filters, true, false);\n\t}\n\n\tgetDashboardFilters(entityId) {\n\t\treturn this.postRequest('GetDashboardFilters', entityId, true, false);\n\t}\n\n\tlistParcelamentsPayRoll(campaignId, companyId) {\n\t\treturn this.getRequest('ListParcelamentsPayRollByCampaignIdAndCompanyId', { campaignId: campaignId, companyId: companyId }, true, false);\n\t}\n\n\tsaveDashboardFiltersToLocalStorage(selectedFilters) {\n\t\tlet filters = localStorage.getItem(DASHBOARD_FILTERS);\n\t\tif (filters)\n\t\t\tfilters = JSON.parse(filters);\n\t\telse\n\t\t\tfilters = {};\n\t\tlet loginService = new LoginService();\n\t\tlet user = loginService.getLoggedUser();\n\t\tif (user) {\n\t\t\tif (!filters.hasOwnProperty(user))\n\t\t\t\tfilters[user] = {};\n\t\t\tfilters[user][selectedFilters.entityId] = selectedFilters;\n\t\t\tconsole.log(filters);\n\t\t\tlocalStorage.setItem(DASHBOARD_FILTERS, JSON.stringify(filters));\n\t\t}\n\t}\n\n\tloadDashboardFiltersFromLocalStorage(entityId) {\n\t\tlet filters = localStorage.getItem(DASHBOARD_FILTERS);\n\t\tif (filters && entityId) {\n\t\t\tfilters = JSON.parse(filters);\n\t\t\tlet loginService = new LoginService();\n\t\t\tlet user = loginService.getLoggedUser();\n\t\t\tif (user && filters.hasOwnProperty(user) && filters[user].hasOwnProperty(entityId))\n\t\t\t\treturn filters[user][entityId];\n\t\t}\n\t\treturn null;\n\t}\n\n\tclearDashboardFilters(entityId) {\n\t\tlet filters = localStorage.getItem(DASHBOARD_FILTERS);\n\t\tif (filters && entityId) {\n\t\t\tfilters = JSON.parse(filters);\n\t\t\tlet loginService = new LoginService();\n\t\t\tlet user = loginService.getLoggedUser();\n\t\t\tif (user && filters.hasOwnProperty(user) && filters[user].hasOwnProperty(entityId)) {\n\t\t\t\tlet userFilter = filters[user];\n\t\t\t\tdelete userFilter[entityId];\n\t\t\t\tlocalStorage.setItem(DASHBOARD_FILTERS, JSON.stringify(filters));\n\t\t\t}\n\t\t}\n\t}\n}","<template>\n <v-dialog v-model=\"userEmailEditDialog\" scrollable max-width=\"900px\">\n <v-card v-if=\"userEmailEditDialog\">\n <v-card-title class=\"headline\">\n <h1>\n Editar usuário\n </h1>\n <v-btn class=\"close-modal\" @click=\"close\">\n <i class=\"fal fa-times\"></i>\n </v-btn>\n </v-card-title>\n <v-divider></v-divider>\n <v-card-text style=\"height: 550px\">\n <v-layout w100 d-flex>\n <div>\n <v-card-text style=\"height: 470px\">\n <v-layout pa-4 wrap class=\"list-scroll\">\n <v-flex xs12>\n <InputText\n ref=\"cpfInput\"\n type=\"tel\"\n v-model=\"user.cpf\"\n textLabel=\"CPF\"\n mask=\"###.###.###-##\"\n />\n <InputText\n ref=\"nameInput\"\n type=\"text\"\n v-model=\"user.personName\"\n textLabel=\"Nome\"\n />\n <InputText\n ref=\"emailInput\"\n type=\"text\"\n v-model=\"user.email\"\n textLabel=\"E-Mail\"\n :validation=\"validateEmail\"\n invalidInputMessage=\"Digite um e-mail\"\n />\n </v-flex>\n <label class=\"pt-4\">Endereço:</label>\n <v-flex xs12>\n <InputText\n ref=\"postalCodeInput\"\n type=\"text\"\n v-model=\"user.address.postalCode\"\n textLabel=\"CEP\"\n mask=\"#####-###\"\n />\n <InputText\n ref=\"streetInput\"\n type=\"text\"\n v-model=\"user.address.street\"\n textLabel=\"Rua\"\n />\n <InputText\n ref=\"numberInput\"\n type=\"text\"\n v-model=\"user.address.number\"\n textLabel=\"Número\"\n />\n <InputText\n ref=\"neighborhoodInput\"\n type=\"text\"\n v-model=\"user.address.neighborhood\"\n textLabel=\"Bairro\"\n />\n <InputText\n ref=\"complementInput\"\n type=\"text\"\n v-model=\"user.address.complement\"\n textLabel=\"Complemento\"\n />\n <InputText\n ref=\"cityInput\"\n type=\"text\"\n v-model=\"user.address.city\"\n textLabel=\"Cidade\"\n />\n <InputText\n ref=\"ufInput\"\n type=\"text\"\n v-model=\"user.address.uf\"\n textLabel=\"Estado\"\n />\n </v-flex>\n </v-layout>\n </v-card-text>\n <v-card-actions class=\"pa-0\">\n <div class=\"footer-modal-atividades\">\n <v-btn\n flat\n round\n color=\"white\"\n class=\"btn btn-default px-5\"\n large\n @click=\"close\"\n >Cancelar</v-btn\n >\n <v-btn\n flat\n round\n color=\"white\"\n class=\"btn btn-primary px-5\"\n large\n @click=\"isValid\"\n >Salvar</v-btn\n >\n </div>\n </v-card-actions>\n </div>\n </v-layout>\n </v-card-text>\n <v-divider></v-divider>\n </v-card>\n </v-dialog>\n</template>\n\n \n<script type=\"plain/text\">\nimport UserPerson from \"@/scripts/models/userPerson.model\";\nimport UserService from \"@/scripts/services/user.service\";\nimport CompanyGroupService from \"@/scripts/services/companyGroup.service\";\nimport PersonService from \"@/scripts/services/person.service\";\nimport InstitutionService from \"@/scripts/services/institution.service\";\nimport CouncilService from \"@/scripts/services/council.service\";\nimport PermissionService from \"@/scripts/services/permission.service\";\nimport { mapGetters } from \"vuex\";\nimport Entity from \"@/scripts/models/entity.model\";\nimport Permissions from \"@/scripts/models/enums/permissions.enum\";\nimport ValidatableComponent from \"@/components/base/ValidatableComponent.vue\";\nimport CommonHelper from \"@/scripts/helpers/common.helper\";\n\nimport {\n EntityType,\n EntityTypeList,\n} from \"@/scripts/models/enums/entityType.enum.js\";\nimport {\n UserOccupation,\n UserOccupationList,\n} from \"@/scripts/models/enums/userOccupation.enum.js\";\n\nexport default {\n extends: ValidatableComponent,\n props: [\"modal-title\", \"entityId\"],\n data() {\n return {\n userEmailEditDialog: false,\n signedUserEntityType: null,\n userPerson: new UserPerson(),\n userService: new UserService(),\n personService: new PersonService(),\n user: {\n personName: '',\n email: '',\n cpf: '',\n address: {\n street: '',\n number: '',\n neighborhood: '',\n complement: '',\n city: '',\n uf: '',\n postalCode: ''\n }\n },\n originalPerson: {},\n showMessage: false,\n snackbarMessage: \"\",\n companyGroupService: new CompanyGroupService(),\n institutionService: new InstitutionService(),\n councilService: new CouncilService(),\n permissionService: new PermissionService(),\n currentEntity: new Entity(),\n entity: new Entity(),\n originalUserPerson: null,\n selectedCompanyGroup: null,\n selectedEntityType: null,\n editingMode: false,\n userHasPermissions: false,\n instituionList: [],\n companyGroupList: [],\n roles: [],\n userPersonFound: null,\n listPermissions: null,\n entityType: EntityType,\n entityTypeList: EntityTypeList,\n userOccupation: UserOccupation,\n userOccupationList: UserOccupationList,\n hasPresidentAtEntity: false,\n hasRepresentativeAtEntity: false,\n isUserFromAUC: false,\n loggedUser: { }\n };\n },\n computed: {\n ...mapGetters([\"hasPermission\"]),\n\n enabledPermissionList() {\n return this.listPermissions.filter(function (item) {\n return item.canShow;\n });\n },\n },\n created() {\n this.getPerson();\n this.showValidationFailMessageMethod = this.showFailMessage;\n this.onValidationSuccessMethod = this.validationSuccess;\n this.validationMethod = this.validate;\n this.permissionService.listAll().then(\n function (data) {\n let permissionsToShow = [\n Permissions.ConciliationRH,\n Permissions.CashFlow,\n Permissions.CanSignReceipt,\n ];\n data.map(function (item) {\n item.canShow = false;\n if (\n permissionsToShow.includes(item.id) &&\n item.id != Permissions.CanSignReceipt\n ) {\n item.canShow = true;\n }\n });\n this.listPermissions = data.filter((item) =>\n permissionsToShow.includes(item.id)\n );\n }.bind(this)\n );\n this.userService.getEntityById(this.entityId).then(\n function (data) {\n if (!data) return;\n this.currentEntity = data;\n if (this.currentEntity.id != 0) {\n if (this.currentEntity.type == EntityType.AUC) {\n this.companyGroupService.listAllCompanyGroup(\n this.listAllCompanyGroupCallback\n );\n this.institutionService.listAll(this.listAllInstituionCallback);\n this.councilService.listAll(this.listAllCouncilCallback);\n } else {\n this.selectedEntityType = this.currentEntity.type;\n }\n }\n }.bind(this)\n );\n },\n methods: {\n save() {\n console.log('USER', this.user)\n \n this.originalPerson.name = this.user.personName\n this.originalPerson.cpf = this.user.cpf\n this.originalPerson.email = this.user.email;\n\n this.originalPerson.address = {}\n this.originalPerson.address.city = this.user.address.city;\n this.originalPerson.address.complement = this.user.address.complement;\n this.originalPerson.address.neighborhood = this.user.address.neighborhood;\n this.originalPerson.address.number = this.user.address.number;\n this.originalPerson.address.street = this.user.address.street;\n this.originalPerson.address.state = this.user.address.uf;\n this.originalPerson.address.postalCode = this.user.address.postalCode;\n\n if (CommonHelper.validateCPF(this.user.cpf) === false) {\n this.$store.commit(\"SET_SNACKBAR_MESSAGE\", \"CPF inválido.\");\n return;\n }\n\n if (this.user.email && this.isEmailValid(this.user.email) === false) {\n this.$store.commit(\"SET_SNACKBAR_MESSAGE\", \"E-mail inválido.\");\n return;\n }\n\n this.personService.updatePerson(this.originalPerson).then(\n function (data) {\n this.$emit(\"refresh\");\n this.close();\n }.bind(this)\n );\n\n this.$store.commit(\"SET_SNACKBAR_SUCCESS_MESSAGE\", \"Usuário atualizado com sucesso!\");\n },\n async getPerson() {\n if (this.originalUserPerson && this.originalUserPerson.cpf)\n this.originalPerson = await this.personService.findPersonByCPF(this.originalUserPerson.cpf);\n },\n emailIsEqual() { \n if (!this.user.email || this.isEmailValid(this.user.email) === false) {\n this.snackbarMessage = \"É necessário digitar um e-mail válido.\";\n this.showMessage = true;\n return false;\n }\n\n return true;\n },\n async open(item, signedUserEntityType) {\n this.signedUserEntityType = signedUserEntityType;\n this.userEmailEditDialog = true;\n this.originalUserPerson = item;\n\n await this.getPerson()\n\n if (item.personId) this.editingMode = true;\n else if (this.currentEntity.type != EntityType.AUC) {\n this.originalUserPerson.currentUserRole.entityId = this.currentEntity.id;\n }\n this.copy();\n this.personService.getLoggedPersonUser(this.entityId).then(\n\t\t\tfunction(data) {\n debugger\n\t\t\t\tif (data) {\n this.isUserFromAUC = data.entitiesOccupation.some(x => x.entityId === 6);\n }\n\t\t\t}.bind(this)\n\t\t);\n\n \n },\n close() {\n this.userEmailEditDialog = false;\n this.selectedCompanyGroup = null;\n this.userHasPermissions = false;\n this.userAlreadyExists = false;\n this.editingMode = false;\n //this.copy(new UserPerson(), this.userPerson);\n },\n copy() {\n this.user.cpf = this.originalUserPerson.cpf;\n this.user.personName = this.originalPerson.name;\n this.user.email = this.originalUserPerson.email;\n this.user.address.city = this.originalPerson.address.city;\n this.user.address.complement = this.originalPerson.address.complement;\n this.user.address.neighborhood = this.originalPerson.address.neighborhood;\n this.user.address.number = this.originalPerson.address.number;\n this.user.address.street = this.originalPerson.address.street;\n this.user.address.uf = this.originalPerson.address.state;\n this.user.address.postalCode = this.originalPerson.address.postalCode;\n },\n validateCPF() {\n if (this.userPerson.cpf) {\n return CommonHelper.validateCPF(this.userPerson.cpf);\n }\n },\n validateEmail() {\n return CommonHelper.validateEmail(this.user.email);\n },\n isEmailValid(email) {\n const emailRegex = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\n return emailRegex.test(email);\n },\n showFailMessage(invalidElements) {\n if (invalidElements.length >= 1) {\n this.$store.commit(\n \"SET_SNACKBAR_MESSAGE\",\n \"Você não preencheu todos os campos\"\n );\n }\n },\n validate(performMethods) {\n let valid = this.validateComponents(performMethods);\n if (!valid) return false;\n return true;\n },\n validationSuccess() {\n this.save();\n },\n },\n};\n</script>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"900px\"},model:{value:(_vm.userEmailEditDialog),callback:function ($$v) {_vm.userEmailEditDialog=$$v},expression:\"userEmailEditDialog\"}},[(_vm.userEmailEditDialog)?_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('h1',[_vm._v(\"\\n Editar usuário\\n \")]),_vm._v(\" \"),_c('v-btn',{staticClass:\"close-modal\",on:{\"click\":_vm.close}},[_c('i',{staticClass:\"fal fa-times\"})])],1),_vm._v(\" \"),_c('v-divider'),_vm._v(\" \"),_c('v-card-text',{staticStyle:{\"height\":\"550px\"}},[_c('v-layout',{attrs:{\"w100\":\"\",\"d-flex\":\"\"}},[_c('div',[_c('v-card-text',{staticStyle:{\"height\":\"470px\"}},[_c('v-layout',{staticClass:\"list-scroll\",attrs:{\"pa-4\":\"\",\"wrap\":\"\"}},[_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"cpfInput\",attrs:{\"type\":\"tel\",\"textLabel\":\"CPF\",\"mask\":\"###.###.###-##\"},model:{value:(_vm.user.cpf),callback:function ($$v) {_vm.$set(_vm.user, \"cpf\", $$v)},expression:\"user.cpf\"}}),_vm._v(\" \"),_c('InputText',{ref:\"nameInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Nome\"},model:{value:(_vm.user.personName),callback:function ($$v) {_vm.$set(_vm.user, \"personName\", $$v)},expression:\"user.personName\"}}),_vm._v(\" \"),_c('InputText',{ref:\"emailInput\",attrs:{\"type\":\"text\",\"textLabel\":\"E-Mail\",\"validation\":_vm.validateEmail,\"invalidInputMessage\":\"Digite um e-mail\"},model:{value:(_vm.user.email),callback:function ($$v) {_vm.$set(_vm.user, \"email\", $$v)},expression:\"user.email\"}})],1),_vm._v(\" \"),_c('label',{staticClass:\"pt-4\"},[_vm._v(\"Endereço:\")]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"postalCodeInput\",attrs:{\"type\":\"text\",\"textLabel\":\"CEP\",\"mask\":\"#####-###\"},model:{value:(_vm.user.address.postalCode),callback:function ($$v) {_vm.$set(_vm.user.address, \"postalCode\", $$v)},expression:\"user.address.postalCode\"}}),_vm._v(\" \"),_c('InputText',{ref:\"streetInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Rua\"},model:{value:(_vm.user.address.street),callback:function ($$v) {_vm.$set(_vm.user.address, \"street\", $$v)},expression:\"user.address.street\"}}),_vm._v(\" \"),_c('InputText',{ref:\"numberInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Número\"},model:{value:(_vm.user.address.number),callback:function ($$v) {_vm.$set(_vm.user.address, \"number\", $$v)},expression:\"user.address.number\"}}),_vm._v(\" \"),_c('InputText',{ref:\"neighborhoodInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Bairro\"},model:{value:(_vm.user.address.neighborhood),callback:function ($$v) {_vm.$set(_vm.user.address, \"neighborhood\", $$v)},expression:\"user.address.neighborhood\"}}),_vm._v(\" \"),_c('InputText',{ref:\"complementInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Complemento\"},model:{value:(_vm.user.address.complement),callback:function ($$v) {_vm.$set(_vm.user.address, \"complement\", $$v)},expression:\"user.address.complement\"}}),_vm._v(\" \"),_c('InputText',{ref:\"cityInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Cidade\"},model:{value:(_vm.user.address.city),callback:function ($$v) {_vm.$set(_vm.user.address, \"city\", $$v)},expression:\"user.address.city\"}}),_vm._v(\" \"),_c('InputText',{ref:\"ufInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Estado\"},model:{value:(_vm.user.address.uf),callback:function ($$v) {_vm.$set(_vm.user.address, \"uf\", $$v)},expression:\"user.address.uf\"}})],1)],1)],1),_vm._v(\" \"),_c('v-card-actions',{staticClass:\"pa-0\"},[_c('div',{staticClass:\"footer-modal-atividades\"},[_c('v-btn',{staticClass:\"btn btn-default px-5\",attrs:{\"flat\":\"\",\"round\":\"\",\"color\":\"white\",\"large\":\"\"},on:{\"click\":_vm.close}},[_vm._v(\"Cancelar\")]),_vm._v(\" \"),_c('v-btn',{staticClass:\"btn btn-primary px-5\",attrs:{\"flat\":\"\",\"round\":\"\",\"color\":\"white\",\"large\":\"\"},on:{\"click\":_vm.isValid}},[_vm._v(\"Salvar\")])],1)])],1)])],1),_vm._v(\" \"),_c('v-divider')],1):_vm._e()],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./UserEmailEdit.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./UserEmailEdit.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-1316c012\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./UserEmailEdit.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","<template>\n <div>\n <HeroInner descrition=\"Gestão de Usuário\" class=\"mt-70\" />\n <UserInvite\n ref=\"userInviteComponent\"\n :entityId=\"selectedEntityId\"\n @refresh=\"loadPeopleInformation\"\n />\n <UserEmailEdit\n ref=\"userEmailEditComponent\"\n :entityId=\"selectedEntityId\"\n @refresh=\"loadPeopleInformation\"\n />\n <div class=\"grid-box\">\n <v-layout bg-white ma-4 mt-5 column br-4 elevation-base>\n <div class=\"my-donations-header\">\n <div>\n <Icon name=\"fal fa-users-cog title-icon\" size=\"32\" colorFont=\"#C3C6D5\" />\n <h2>Gestão de usuários</h2>\n </div>\n <v-btn\n flat\n round\n color=\"white\"\n class=\"btn btn-primary px-4\"\n large\n @click=\"openUserInvite\"\n >\n <Icon name=\"far fa-user-plus\" size=\"16\" class=\"mr-2\" colorFont=\"#fff\" />Novo Usuário\n </v-btn>\n </div>\n <v-layout>\n <div class=\"pa-4 text-xs-right\">\n <div title=\"Buscar CPF...\">\n <InputSearch type=\"text\" place-holder=\"Buscar CPF...\" v-model=\"searchCPF\" @keyup.enter.native=\"search\" @search=\"search\"/>\n </div>\n </div>\n <div class=\"pa-4 text-xs-right\">\n <div title=\"Buscar Email...\">\n <InputSearch type=\"text\" place-holder=\"Buscar Email...\" v-model=\"searchEmail\" @keyup.enter.native=\"search\" @search=\"search\"/>\n </div>\n </div>\n <div class=\"pa-4 text-xs-right\">\n <div title=\"Buscar Nome...\">\n <InputSearch type=\"text\" place-holder=\"Buscar Nome...\" v-model=\"searchName\" @keyup.enter.native=\"search\" @search=\"search\"/>\n </div>\n </div>\n </v-layout>\n <div class=\"gestao-usuarios\">\n <template>\n <v-expansion-panel>\n <v-expansion-panel-content v-for=\"(person,i) in this.people\" :key=\"i\">\n <template v-slot:actions>\n <i class=\"fal fa-plus\"></i>\n </template>\n <template v-slot:header>\n <v-layout row>\n <v-flex xs8>\n <h3 class=\"ma-0 fw-600\">\n {{ person.name }}\n <small class=\"mx-1\">{{ cpfFormatter(person.cpf) }}</small>\n </h3>\n <small>{{ person.email }}</small>\n </v-flex>\n <v-flex xs4 text-xs-right>\n <button class=\"btn-line small mr-2\" title=\"Editar\" @click=\"openUserInvite(person)\">\n <i class=\"fal fa-cog\"></i>\n </button>\n <button class=\"btn-line small mr-2\" title=\"Editar Email\" @click=\"openUserEmailEdit(person)\">\n <i class=\"fal fa-pencil\"></i>\n </button>\n <!-- exibir quando o usuario estiver ativo -->\n <button v-if=\"true\" class=\"btn-line small\" title=\"Inativar\" @click=\"confirmActivation(person)\">\n <i class=\"fal fa-ban\"></i>\n </button>\n <!-- exibir quando o usuario estiver inativo -->\n <button v-else class=\"btn-line small c-red\" title=\"Ativar\" @click=\"confirmActivation(person)\">\n <i class=\"fal fa-ban\"></i>\n </button>\n </v-flex>\n </v-layout>\n </template>\n <v-card class=\"pa-4\">\n <v-card-text class=\"card-border\">\n <template>\n <v-expansion-panel>\n <v-expansion-panel-content v-for=\"(cart, index) in person.carts\" :key=\"index\">\n <template v-slot:actions>\n <i class=\"fal fa-plus\"></i>\n </template>\n <template v-slot:header>\n <v-layout row>\n <v-flex>\n <h3 class=\"fw-400\">{{ cart.campaign.name }} <small>{{ cart.entity != null ? cart.entity.name : '' }}</small></h3>\n </v-flex>\n <v-flex xs4 text-xs-right>\n <v-btn flat small color=\"white\" class=\"btn-gray\">Doador</v-btn>\n </v-flex>\n </v-layout>\n </template>\n <v-card>\n <v-layout class=\"list-item\">\n <v-flex>\n <i class=\"fal fa-shopping-cart mr-2 c-red\"></i>\n <span class=\"fw-600 c-text-dark\">{{ cart.entity != null ? cart.entity.name : '' }}</span>\n </v-flex>\n <v-flex xs4 text-xs-right mr-2>Valor: <strong class=\"mr-1 c-red\">R$ {{ cart.totalValue }}</strong></v-flex>\n <v-flex xs4 text-xs-right mr-2>Status: <strong class=\"mr-1 c-red\">{{ cart.status ? cart.status : '' }}</strong></v-flex>\n <v-flex xs4 text-xs-right mr-2>Forma de Pagamento: <strong class=\"mr-1 c-red\">{{ cart.payment ? cart.payment.name : '' }}</strong></v-flex>\n <v-flex xs4 text-xs-right mr-2>Recorrencia: <strong class=\"mr-1 c-red\">{{ cart.recurrence ? cart.recurrence.name : '' }}</strong></v-flex>\n </v-layout>\n </v-card>\n </v-expansion-panel-content>\n </v-expansion-panel>\n </template>\n </v-card-text>\n </v-card>\n </v-expansion-panel-content>\n </v-expansion-panel>\n <v-pagination\n v-model=\"pagination.page\"\n :length=\"pagination.length\"\n :total-visible=\"7\"\n @input=\"onPageChange\"\n ></v-pagination>\n </template>\n <AucAlert\n ref=\"alertComponent\"\n :title=\"'Deseja realmente ' + (currentItem && currentItem.user.active ? 'inativar' : 'ativar') + ' o usuário?'\"\n confirmButtonText=\"Sim\"\n cancelButtonText=\"Não\"\n @confirm=\"setRoleActivationStatus(currentItem, !currentItem.user.active)\"\n />\n </div>\n </v-layout>\n </div>\n </div>\n</template>\n<script type=\"plain/text\">\nimport HeroInner from \"@/components/HeroInner.vue\";\nimport PersonService from \"@/scripts/services/person.service\";\nimport UserService from \"@/scripts/services/user.service\";\nimport FormatterHelper from \"@/scripts/helpers/formatter.helper\";\nimport UserInvite from \"@/views/app/user/modal/UserInvite.vue\";\nimport UserEmailEdit from \"@/views/app/user/modal/UserEmailEdit.vue\";\nimport AucAlert from \"@/components/AucAlert.vue\";\nimport UserPerson from \"@/scripts/models/userPerson.model\";\nimport {\n EntityType,\n EntityTypeList\n} from \"@/scripts/models/enums/entityType.enum.js\";\n\nexport default {\n components: {\n HeroInner,\n UserInvite,\n UserEmailEdit,\n AucAlert\n },\n data: () => ({\n personService: new PersonService(),\n userService: new UserService(),\n formatterHelper: new FormatterHelper(),\n currentItem: null,\n pagination: {\n sortBy: \"name\"\n },\n pagination: {\n page: 1,\n length: 1,\n pageSize: 20,\n total: 0\n },\n selectedEntityId: 0,\n searchEmail: \"\",\n searchCPF: \"\",\n searchName: \"\",\n selected: [],\n headers: [\n {\n text: \"Nome\",\n align: \"left\",\n value: \"name\"\n },\n { text: \"CPF\", align: \"left\", value: \"cpf\" },\n { text: \"Tipo de entidade\", align: \"left\", value: \"entityType\" },\n { text: \"Perfil\", align: \"left\", value: \"userRole.role.name\" },\n { text: \"Nome da entidade\", align: \"left\", value: \"entity.name\" },\n {\n text: \"Grupo Econômico\",\n align: \"left\",\n value: \"company.companyGroup.name\"\n },\n { text: \"E-mail\", align: \"left\", value: \"email\" },\n { text: \"Telefone\", value: \"phone\" },\n { text: \"Gênero\", align: \"left\", value: \"gender\" },\n { text: \"Último login\", align: \"left\", value: \"lastLogin\" },\n { text: \"Data de Nascimento\", align: \"left\", value: \"birthDate\" },\n { text: \"UF\", align: \"left\", value: \"address.estate\" },\n { text: \"Cidade\", align: \"left\", value: \"address.city\" },\n { text: \"CEP Residencial\", align: \"left\", value: \"address.postalCode\" },\n { text: \"Logradouro\", align: \"left\", value: \"address.street\" },\n { text: \"Número\", value: \"address.number\" },\n { text: \"Complemento\", align: \"left\", value: \"address.complement\" },\n { text: \"Bairro\", align: \"left\", value: \"address.neighborhood\" }\n ],\n people: []\n }),\n created() {\n this.loadPeopleInformation();\n },\n methods: {\n search() {\n this.personService.loadPaginationInfo(this.pagination.page, this.pagination.pageSize, this.searchName, this.searchEmail, this.searchCPF).then((result) => {\n this.pagination.page = result.page;\n this.pagination.length = result.length;\n this.pagination.total = result.total;\n });\n\n this.personService.loadPagedPeopleInformation(this.pagination.page, this.pagination.pageSize, this.searchName, this.searchEmail, this.searchCPF).then(this.onPeopleLoaded);\n },\n cpfFormatter(cpf) {\n return new FormatterHelper().formatCpf(cpf);\n },\n onPageChange() {\n this.personService.loadPagedPeopleInformation(this.pagination.page, this.pagination.pageSize, this.searchName, this.searchEmail, this.searchCPF).then(this.onPeopleLoaded);\n },\n confirmActivation(item) {\n this.currentItem = item;\n this.$refs.alertComponent.open();\n },\n loadPeopleInformation() {\n this.personService.loadPaginationInfo(this.pagination.page, this.pagination.pageSize, this.searchName, this.searchEmail, this.searchCPF).then((result) => {\n this.pagination.page = result.page;\n this.pagination.length = result.length;\n this.pagination.total = result.total;\n });\n \n this.personService.loadPagedPeopleInformation(this.pagination.page, this.pagination.pageSize, this.searchName, this.searchEmail, this.searchCPF).then(this.onPeopleLoaded);\n },\n openUserInvite(person) {\n if (person) {\n if (person.entity) {\n let currentEntityId = person.entity.id;\n this.personService.findByCPF(person.cpf, currentEntityId).then(\n function(userPerson) {\n this.$refs.userInviteComponent.open(userPerson);\n }.bind(this)\n );\n } else {\n let user = new UserPerson();\n\n user.personId = person.id;\n user.userId = person.userId;\n user.name = person.name;\n user.email = person.email;\n user.cpf = person.cpf;\n\n this.$refs.userInviteComponent.open(user, EntityType.AUC);\n }\n } else {\n this.$refs.userInviteComponent.open(new UserPerson(), EntityType.AUC);\n }\n },\n openUserEmailEdit(person) {\n if (person) {\n if (person.entity) {\n let currentEntityId = person.entity.id;\n this.personService.findByCPF(person.cpf, currentEntityId).then(\n function(userPerson) {\n this.$refs.userEmailEditComponent.open(userPerson);\n }.bind(this)\n );\n } else {\n let user = new UserPerson();\n\n user.personId = person.id;\n user.userId = person.userId;\n user.name = person.name;\n user.email = person.email;\n user.cpf = person.cpf;\n\n this.$refs.userEmailEditComponent.open(user, EntityType.AUC);\n }\n } else {\n this.$refs.userEmailEditComponent.open(new UserPerson(), EntityType.AUC);\n }\n },\n setRoleActivationStatus(person, activate) {\n if (person.userRole) {\n this.userService\n .setRoleActivationStatus({\n id: person.userRole.id,\n active: activate\n })\n .then(\n function(data) {\n if (data.success) {\n person.active = activate;\n }\n }.bind(this)\n );\n } else {\n this.userService\n .setRoleActivationStatus({\n userId: person.userId,\n active: activate\n })\n .then(\n function(data) {\n if (data.success) {\n person.active = activate;\n }\n }.bind(this)\n );\n }\n },\n onPeopleLoaded(people) {\n this.people = people;\n },\n toggleAll() {\n if (this.selected.length) this.selected = [];\n else this.selected = this.desserts.slice();\n },\n changeSort(column) {\n if (this.pagination.sortBy === column) {\n this.pagination.descending = !this.pagination.descending;\n } else {\n this.pagination.sortBy = column;\n this.pagination.descending = false;\n }\n },\n getEntityType(entityType) {\n switch (entityType) {\n case EntityType.AUC:\n return \"AUC\";\n case EntityType.Institution:\n return \"Instituição\";\n case EntityType.Company:\n return \"Empresa\";\n default:\n return \"-\";\n }\n }\n },\n filters: {\n cpf: function(cpf) {\n return new FormatterHelper().formatCpf(cpf);\n },\n date: function(date) {\n return new FormatterHelper().formatDate(date);\n },\n postalCode: function(postalCode) {\n return new FormatterHelper().formatPostalCode(postalCode);\n },\n gender: function(gender) {\n if (gender == \"M\") {\n return \"Masculino\";\n } else if (gender == \"F\") {\n return \"Feminino\";\n } else if (gender == \"O\") {\n return \"Outros\";\n }else if (gender == \"-\"){\n return \"Não informar\";\n }\n\n return gender;\n },\n entityType: function(entityType) {\n switch (entityType) {\n case EntityType.AUC:\n return \"AUC\";\n case EntityType.Institution:\n return \"Instituição\";\n case EntityType.Company:\n return \"Empresa\";\n default:\n return \"-\";\n }\n }\n }\n};\n</script>\n\n<style lang=\"css\">\nselect {\n background: url('data:image/svg+xml;utf8,<svg fill=\"%23c1c1c1\" height=\"24\" viewBox=\"0 0 24 24\" width=\"24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 10l5 5 5-5z\"/><path d=\"M0 0h24v24H0z\" fill=\"none\"/></svg>')\n no-repeat right 1em center / 24px auto white;\n}\n.gestao-usuarios .v-expansion-panel__container--active\n> .v-expansion-panel__header\n.v-expansion-panel__header__icon\ni:before {\n content: \"\\F068\";\n}\n</style>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('HeroInner',{staticClass:\"mt-70\",attrs:{\"descrition\":\"Gestão de Usuário\"}}),_vm._v(\" \"),_c('UserInvite',{ref:\"userInviteComponent\",attrs:{\"entityId\":_vm.selectedEntityId},on:{\"refresh\":_vm.loadPeopleInformation}}),_vm._v(\" \"),_c('UserEmailEdit',{ref:\"userEmailEditComponent\",attrs:{\"entityId\":_vm.selectedEntityId},on:{\"refresh\":_vm.loadPeopleInformation}}),_vm._v(\" \"),_c('div',{staticClass:\"grid-box\"},[_c('v-layout',{attrs:{\"bg-white\":\"\",\"ma-4\":\"\",\"mt-5\":\"\",\"column\":\"\",\"br-4\":\"\",\"elevation-base\":\"\"}},[_c('div',{staticClass:\"my-donations-header\"},[_c('div',[_c('Icon',{attrs:{\"name\":\"fal fa-users-cog title-icon\",\"size\":\"32\",\"colorFont\":\"#C3C6D5\"}}),_vm._v(\" \"),_c('h2',[_vm._v(\"Gestão de usuários\")])],1),_vm._v(\" \"),_c('v-btn',{staticClass:\"btn btn-primary px-4\",attrs:{\"flat\":\"\",\"round\":\"\",\"color\":\"white\",\"large\":\"\"},on:{\"click\":_vm.openUserInvite}},[_c('Icon',{staticClass:\"mr-2\",attrs:{\"name\":\"far fa-user-plus\",\"size\":\"16\",\"colorFont\":\"#fff\"}}),_vm._v(\"Novo Usuário\\n \")],1)],1),_vm._v(\" \"),_c('v-layout',[_c('div',{staticClass:\"pa-4 text-xs-right\"},[_c('div',{attrs:{\"title\":\"Buscar CPF...\"}},[_c('InputSearch',{attrs:{\"type\":\"text\",\"place-holder\":\"Buscar CPF...\"},on:{\"search\":_vm.search},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.search.apply(null, arguments)}},model:{value:(_vm.searchCPF),callback:function ($$v) {_vm.searchCPF=$$v},expression:\"searchCPF\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"pa-4 text-xs-right\"},[_c('div',{attrs:{\"title\":\"Buscar Email...\"}},[_c('InputSearch',{attrs:{\"type\":\"text\",\"place-holder\":\"Buscar Email...\"},on:{\"search\":_vm.search},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.search.apply(null, arguments)}},model:{value:(_vm.searchEmail),callback:function ($$v) {_vm.searchEmail=$$v},expression:\"searchEmail\"}})],1)]),_vm._v(\" \"),_c('div',{staticClass:\"pa-4 text-xs-right\"},[_c('div',{attrs:{\"title\":\"Buscar Nome...\"}},[_c('InputSearch',{attrs:{\"type\":\"text\",\"place-holder\":\"Buscar Nome...\"},on:{\"search\":_vm.search},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.search.apply(null, arguments)}},model:{value:(_vm.searchName),callback:function ($$v) {_vm.searchName=$$v},expression:\"searchName\"}})],1)])]),_vm._v(\" \"),_c('div',{staticClass:\"gestao-usuarios\"},[[_c('v-expansion-panel',_vm._l((this.people),function(person,i){return _c('v-expansion-panel-content',{key:i,scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('i',{staticClass:\"fal fa-plus\"})]},proxy:true},{key:\"header\",fn:function(){return [_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',{attrs:{\"xs8\":\"\"}},[_c('h3',{staticClass:\"ma-0 fw-600\"},[_vm._v(\"\\n \"+_vm._s(person.name)+\"\\n \"),_c('small',{staticClass:\"mx-1\"},[_vm._v(_vm._s(_vm.cpfFormatter(person.cpf)))])]),_vm._v(\" \"),_c('small',[_vm._v(_vm._s(person.email))])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\"}},[_c('button',{staticClass:\"btn-line small mr-2\",attrs:{\"title\":\"Editar\"},on:{\"click\":function($event){return _vm.openUserInvite(person)}}},[_c('i',{staticClass:\"fal fa-cog\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn-line small mr-2\",attrs:{\"title\":\"Editar Email\"},on:{\"click\":function($event){return _vm.openUserEmailEdit(person)}}},[_c('i',{staticClass:\"fal fa-pencil\"})]),_vm._v(\" \"),(true)?_c('button',{staticClass:\"btn-line small\",attrs:{\"title\":\"Inativar\"},on:{\"click\":function($event){return _vm.confirmActivation(person)}}},[_c('i',{staticClass:\"fal fa-ban\"})]):_c('button',{staticClass:\"btn-line small c-red\",attrs:{\"title\":\"Ativar\"},on:{\"click\":function($event){return _vm.confirmActivation(person)}}},[_c('i',{staticClass:\"fal fa-ban\"})])])],1)]},proxy:true}],null,true)},[_vm._v(\" \"),_vm._v(\" \"),_c('v-card',{staticClass:\"pa-4\"},[_c('v-card-text',{staticClass:\"card-border\"},[[_c('v-expansion-panel',_vm._l((person.carts),function(cart,index){return _c('v-expansion-panel-content',{key:index,scopedSlots:_vm._u([{key:\"actions\",fn:function(){return [_c('i',{staticClass:\"fal fa-plus\"})]},proxy:true},{key:\"header\",fn:function(){return [_c('v-layout',{attrs:{\"row\":\"\"}},[_c('v-flex',[_c('h3',{staticClass:\"fw-400\"},[_vm._v(_vm._s(cart.campaign.name)+\" \"),_c('small',[_vm._v(_vm._s(cart.entity != null ? cart.entity.name : ''))])])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\"}},[_c('v-btn',{staticClass:\"btn-gray\",attrs:{\"flat\":\"\",\"small\":\"\",\"color\":\"white\"}},[_vm._v(\"Doador\")])],1)],1)]},proxy:true}],null,true)},[_vm._v(\" \"),_vm._v(\" \"),_c('v-card',[_c('v-layout',{staticClass:\"list-item\"},[_c('v-flex',[_c('i',{staticClass:\"fal fa-shopping-cart mr-2 c-red\"}),_vm._v(\" \"),_c('span',{staticClass:\"fw-600 c-text-dark\"},[_vm._v(_vm._s(cart.entity != null ? cart.entity.name : ''))])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\",\"mr-2\":\"\"}},[_vm._v(\"Valor: \"),_c('strong',{staticClass:\"mr-1 c-red\"},[_vm._v(\"R$ \"+_vm._s(cart.totalValue))])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\",\"mr-2\":\"\"}},[_vm._v(\"Status: \"),_c('strong',{staticClass:\"mr-1 c-red\"},[_vm._v(_vm._s(cart.status ? cart.status : ''))])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\",\"mr-2\":\"\"}},[_vm._v(\"Forma de Pagamento: \"),_c('strong',{staticClass:\"mr-1 c-red\"},[_vm._v(_vm._s(cart.payment ? cart.payment.name : ''))])]),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs4\":\"\",\"text-xs-right\":\"\",\"mr-2\":\"\"}},[_vm._v(\"Recorrencia: \"),_c('strong',{staticClass:\"mr-1 c-red\"},[_vm._v(_vm._s(cart.recurrence ? cart.recurrence.name : ''))])])],1)],1)],1)}),1)]],2)],1)],1)}),1),_vm._v(\" \"),_c('v-pagination',{attrs:{\"length\":_vm.pagination.length,\"total-visible\":7},on:{\"input\":_vm.onPageChange},model:{value:(_vm.pagination.page),callback:function ($$v) {_vm.$set(_vm.pagination, \"page\", $$v)},expression:\"pagination.page\"}})],_vm._v(\" \"),_c('AucAlert',{ref:\"alertComponent\",attrs:{\"title\":'Deseja realmente ' + (_vm.currentItem && _vm.currentItem.user.active ? 'inativar' : 'ativar') + ' o usuário?',\"confirmButtonText\":\"Sim\",\"cancelButtonText\":\"Não\"},on:{\"confirm\":function($event){return _vm.setRoleActivationStatus(_vm.currentItem, !_vm.currentItem.user.active)}}})],2)],1)],1)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!../../../../node_modules/vue-loader/lib/selector?type=styles&index=0!./User.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./User.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./User.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-31557bec\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./User.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\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","<template>\n <v-menu offset-y transition=\"slide-y-transition\" bottom left>\n <template v-slot:activator=\"{ on }\">\n <button\n v-on=\"on\"\n class=\"\n menu-overview\n elevation-base\n flex-inherit\n px-5\n v-btn--flat v-btn--large v-btn--round\n \"\n >\n <Icon\n name=\"fal fa-bars\"\n size=\"16\"\n class=\"mr-2\"\n colorFont=\"#02ACB4\"\n />Menu\n </button>\n </template>\n <v-list class=\"options-menu-global\">\n <v-list-tile v-for=\"(item, index) in menuNavegation\" :key=\"index\">\n <v-list-tile-title>\n <router-link :to=\"item.route\">\n <i :class=\"item.icon\"></i>\n {{ item.title }}\n <span>{{ item.titleCompany }}</span>\n </router-link>\n </v-list-tile-title>\n </v-list-tile>\n </v-list>\n </v-menu>\n</template>\n\n<script type=\"plain/text\">\nimport { Routes } from \"@/scripts/models/enums/routes.enum.js\";\nimport TokenService from \"@/scripts/services/token.service\";\nimport InstitutionService from \"@/scripts/services/institution.service\";\nimport EntityService from \"@/scripts/services/entity.service\";\nimport CompanyService from \"@/scripts/services/company.service\";\nimport CouncilService from \"@/scripts/services/council.service\";\nimport { mapGetters, mapState } from \"vuex\";\nimport Permissions from \"@/scripts/models/enums/permissions.enum\";\nimport {\n EntityType,\n EntityTypeList,\n} from \"@/scripts/models/enums/entityType.enum\";\nexport default {\n created() {\n this.entityId = this.$route.query.entityId;\n this.entityService.findById(this.findEntityCallback, this.entityId);\n },\n data: () => ({\n entity: null,\n menuNavegation: [],\n institutionService: new InstitutionService(),\n companyService: new CompanyService(),\n entityService: new EntityService(),\n councilService: new CouncilService(),\n institution: null,\n company: null,\n council: null,\n }),\n computed: {\n ...mapGetters([\"hasPermission\"]),\n },\n methods: {\n findEntityCallback(data) {\n this.entity = data;\n if (this.entity) {\n if (this.entity.type == EntityType.Company) {\n this.companyService.findByEntityId(this.entityId).then((data) => {\n this.company = data;\n this.buildMenu();\n });\n } else if (this.entity.type == EntityType.Institution) {\n this.institutionService.findByEntityId(this.entityId).then((data) => {\n this.institution = data;\n this.buildMenu();\n });\n } else if (this.entity.type == EntityType.AUC) {\n this.companyService.findByEntityId(this.entityId).then((data) => {\n this.company = data;\n this.buildMenu();\n });\n } else if (this.entity.type == EntityType.Council) {\n this.councilService.findByEntityId(this.entityId).then((data) => {\n this.council = data;\n this.buildMenu();\n });\n }\n }\n },\n buildMenu() {\n let routeProfile = \"\";\n if (EntityType.Company == this.entity.type) {\n routeProfile = {\n name: Routes.app.CompanyProfile,\n query: { companyId: this.company.id, entityId: this.entity.id },\n };\n } else if (EntityType.Institution == this.entity.type) {\n routeProfile = {\n name: Routes.app.InstitutionProfile,\n query: {\n institutionId: this.institution.id,\n entityId: this.entity.id,\n },\n };\n } else if (EntityType.AUC == this.entity.type) {\n routeProfile = {\n name: Routes.app.CompanyProfile,\n query: { companyId: this.company.id, entityId: this.entity.id },\n };\n } else if (EntityType.Council == this.entity.type) {\n routeProfile = {\n name: Routes.app.CouncilProfile,\n query: { councilId: this.council.id, entityId: this.entity.id },\n };\n }\n\n this.menuNavegation.push({\n title: \"Dashboard\",\n // titleCompany: this.entity.name,\n icon: \"fal fa-clipboard-list\",\n route: {\n name: Routes.app.DashboardCompany,\n query: { entityId: this.entity.id },\n },\n });\n this.menuNavegation.push({\n title: \"Dashboard Voluntariado\",\n // titleCompany: this.entity.name,\n icon: \"fal fa-clipboard-list\",\n route: {\n name: Routes.app.DashboardVolunteering,\n query: { entityId: this.entity.id },\n },\n });\n this.menuNavegation.push({\n title: \"Perfil\",\n icon: \"fal fa-user-tie\",\n route: routeProfile,\n });\n this.menuNavegation.push({\n title: \"Usuários\",\n icon: \"fal fa-user-friends\",\n route: { name: Routes.app.User, query: { entityId: this.entity.id } },\n });\n\n if (\n EntityType.Company == this.entity.type ||\n EntityType.AUC == this.entity.type\n ) {\n this.menuNavegation.push({\n title: \"Minhas Campanhas\",\n icon: \"fal fa-hand-receiving\",\n route: {\n name: Routes.app.CampaignList,\n query: { entityId: this.entity.id, companyId: this.company.id },\n },\n });\n this.menuNavegation.push({\n title: \"Indicação de doadores\",\n icon: \"fal fa-user-friends\",\n route: {\n name: Routes.app.MemberGetMember,\n query: { entityId: this.entity.id, companyId: this.company.id },\n },\n });\n if (\n this.hasPermission(\n [Permissions.ConciliationRH, Permissions.CashFlow],\n this.entity.id\n )\n ) {\n this.menuNavegation.push({\n title: \"Fluxo de Recursos\",\n icon: \"fal fa-envelope-open-dollar\",\n route: {\n name: Routes.app.HrConciliation,\n query: { entityId: this.entity.id, companyId: this.company.id },\n },\n });\n }\n } else if (EntityType.Institution == this.entity.type) {\n this.menuNavegation.push({\n title: \"Meus Projetos\",\n icon: \"fal fa-box-heart\",\n route: {\n name: Routes.app.ProjectList,\n query: {\n entityId: this.entity.id,\n institutionId: this.institution.id,\n },\n },\n });\n\n this.menuNavegation.push({\n title: \"Meus Projetos de Voluntariado\",\n icon: \"fas fa-hand-holding-heart\",\n route: {\n name: Routes.app.VolunteeringList,\n query: {\n entityId: this.entity.id,\n institutionId: this.institution.id,\n },\n },\n });\n\n this.menuNavegation.push({\n title: \"Sobre a instituição\",\n icon: \"fal fa-info-circle\",\n route: {\n name: Routes.app.InstitutionAbout,\n query: {\n institutionId: this.institution.id,\n entityId: this.entity.id,\n },\n },\n });\n this.menuNavegation.push({\n title: \"Assinatura de Recibos\",\n icon: \"fal fa-file-alt\",\n route: {\n name: Routes.app.ManagementSignature,\n query: {\n institutionId: this.institution.id,\n entityId: this.entity.id\n }\n }\n }),\n this.menuNavegation.push({\n title: \"Recibos Manuais\",\n icon: \"fal fa-file-alt\",\n route: {\n name: Routes.app.ManagementManualSignature,\n query: {\n institutionId: this.institution.id,\n entityId: this.entity.id\n }\n }\n }); \n if (\n this.hasPermission(\n [Permissions.ConciliationRH, Permissions.CashFlow],\n this.entity.id\n )\n ) {\n this.menuNavegation.push({\n title: \"Fluxo de Recursos\",\n icon: \"fal fa-envelope-open-dollar\",\n route: {\n name: Routes.app.PendentAcceptToInstitution,\n query: {\n entityId: this.entity.id,\n institutionId: this.institution.id,\n },\n },\n });\n }\n } else if (EntityType.Council == this.entity.type) {\n if (\n this.hasPermission(\n [\n Permissions.ConciliationRH,\n Permissions.CashFlow,\n Permissions.CanSignReceipt,\n ],\n this.entity.id\n )\n ) {\n this.menuNavegation.push({\n title: \"Fluxo de Recursos\",\n icon: \"fal fa-envelope-open-dollar\",\n route: {\n name: Routes.app.PendentAcceptToInstitution,\n query: {\n entityId: this.entity.id,\n councilId: this.council.id,\n },\n },\n });\n\n this.menuNavegation.push({\n title: \"Assinatura de Recibos\",\n icon: \"fal fa-file-alt\",\n route: {\n name: Routes.app.ManagementSignature,\n query: {\n entityId: this.entity.id,\n },\n },\n });\n }\n }\n\n // this.menuNavegation.push({\n // title: \"Fluxo de Recursos\",\n // icon: \"fal fa-envelope-open-dollar\",\n // route: { name: Routes.app.DashboardCompany, entityId: this.entity.id }\n // });\n // {\n // \ttitle: \"Visão Geral\",\n // \ticon: \"fal fa-chart-line\",\n // },\n // {\n // \ttitle: \"Relatório AnalÃtico\",\n // \ticon: \"fal fa-table\"\n // },\n // {\n // \ttitle: \"Gestão de Folha de Pagamento\",\n // \ticon: \"fal fa-file-invoice-dollar\"\n // }\n },\n },\n};\n</script>\n\n<style>\n</style>\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-menu',{attrs:{\"offset-y\":\"\",\"transition\":\"slide-y-transition\",\"bottom\":\"\",\"left\":\"\"},scopedSlots:_vm._u([{key:\"activator\",fn:function(ref){\nvar on = ref.on;\nreturn [_c('button',_vm._g({staticClass:\"menu-overview elevation-base flex-inherit px-5 v-btn--flat v-btn--large v-btn--round\"},on),[_c('Icon',{staticClass:\"mr-2\",attrs:{\"name\":\"fal fa-bars\",\"size\":\"16\",\"colorFont\":\"#02ACB4\"}}),_vm._v(\"Menu\\n \")],1)]}}])},[_vm._v(\" \"),_c('v-list',{staticClass:\"options-menu-global\"},_vm._l((_vm.menuNavegation),function(item,index){return _c('v-list-tile',{key:index},[_c('v-list-tile-title',[_c('router-link',{attrs:{\"to\":item.route}},[_c('i',{class:item.icon}),_vm._v(\"\\n \"+_vm._s(item.title)+\"\\n \"),_c('span',[_vm._v(_vm._s(item.titleCompany))])])],1)],1)}),1)],1)}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","function injectStyle (context) {\n require(\"!!vue-style-loader!css-loader?minimize!../../node_modules/vue-loader/lib/style-compiler/index?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!../../node_modules/vue-loader/lib/selector?type=styles&index=0!./Menu.vue\")\n}\n/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Menu.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./Menu.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-4c78a8ce\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./Menu.vue\"\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\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","<template>\n <v-layout row wrap wrap-dash>\n <div class=\"ficha\">\n <div class=\"gradient-banner\"></div>\n <div class=\"p-relative\" v-if=\"false\">\n <div class=\"row\">\n <div class=\"logo-instituicao\">\n <img src=\"../assets/images/logo_auc_pos.png\" />\n </div>\n </div>\n </div>\n <v-layout row>\n <div class=\"content-banner\">\n <div class=\"banner-subtitle\">{{entityName}}</div>\n <h1>{{descrition}}</h1>\n <a @click=\"$router.app.company\" class=\"voltar\" v-if=\"showBackDash\">\n <i class=\"fal fa-long-arrow-left\"></i> voltar ao dashboards\n </a>\n </div>\n </v-layout>\n <Menu />\n </div>\n </v-layout>\n</template>\n\n<script type=\"plain/text\">\nimport Menu from \"@/components/Menu.vue\";\nimport { Routes } from \"@/scripts/models/enums/routes.enum.js\";\nimport EntityService from \"@/scripts/services/entity.service\";\n\nexport default {\n components: { Menu },\n props: {\n descrition: \"\",\n showBackDash: true,\n ShowLogo: {\n type: Boolean,\n default: false\n }\n },\n data: () => ({\n entityService: new EntityService(),\n entityName: \"Abrace uma Causa\"\n }),\n created() {\n if(this.$route.query && this.$route.query.entityId) {\n this.entityService.findById(this.findEntityCallback, this.$route.query.entityId);\n }\n },\n methods: {\n findEntityCallback(data) {\n if(data && data.name) {\n this.entityName = data.name;\n }\n }\n }\n};\n</script>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('v-layout',{attrs:{\"row\":\"\",\"wrap\":\"\",\"wrap-dash\":\"\"}},[_c('div',{staticClass:\"ficha\"},[_c('div',{staticClass:\"gradient-banner\"}),_vm._v(\" \"),(false)?_c('div',{staticClass:\"p-relative\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"logo-instituicao\"},[_c('img',{attrs:{\"src\":require(\"../assets/images/logo_auc_pos.png\")}})])])]):_vm._e(),_vm._v(\" \"),_c('v-layout',{attrs:{\"row\":\"\"}},[_c('div',{staticClass:\"content-banner\"},[_c('div',{staticClass:\"banner-subtitle\"},[_vm._v(_vm._s(_vm.entityName))]),_vm._v(\" \"),_c('h1',[_vm._v(_vm._s(_vm.descrition))]),_vm._v(\" \"),(_vm.showBackDash)?_c('a',{staticClass:\"voltar\",on:{\"click\":_vm.$router.app.company}},[_c('i',{staticClass:\"fal fa-long-arrow-left\"}),_vm._v(\" voltar ao dashboards\\n \")]):_vm._e()])]),_vm._v(\" \"),_c('Menu')],1)])}\nvar staticRenderFns = []\nexport { render, staticRenderFns }","/* script */\nexport * from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./HeroInner.vue\"\nimport __vue_script__ from \"!!babel-loader!../../node_modules/vue-loader/lib/selector?type=script&index=0!./HeroInner.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-48ba7ed4\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../node_modules/vue-loader/lib/selector?type=template&index=0!./HeroInner.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 BaseCrudService from \"./baseCrud.service\";\n\nexport default class EntityService extends BaseCrudService {\n\n constructor() {\n super('Entity');\n }\n\n setEntityStatus(entityId, entityStatusId){\n return this.putRequest('SetEntityStatus', {id: entityId, entityStatusId: entityStatusId})\n }\n\n findById(callback, entityId){\n return this.getRequest('FindById', {entityId: entityId}).then(callback);\n }\n findByCNPJAndEntityType(cnpj, entityType){\n\t\treturn this.getRequest('FindByCNPJAndEntityType', {cnpj: cnpj, entityType: entityType});\n\t}\n \n}","exports = module.exports = require(\"../../node_modules/css-loader/lib/css-base.js\")(false);\n// imports\n\n\n// module\nexports.push([module.id, \"\\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\\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\\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\\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\\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// exports\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../node_modules/css-loader/index.js?minimize!../../node_modules/vue-loader/lib/style-compiler/index.js?{\\\"optionsId\\\":\\\"0\\\",\\\"vue\\\":true,\\\"scoped\\\":false,\\\"sourceMap\\\":false}!../../node_modules/vue-loader/lib/selector.js?type=styles&index=0!./Menu.vue\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"30494858\", content, true, {});"],"sourceRoot":""}