{"version":3,"sources":["webpack:///./src/scripts/services/permission.service.js","webpack:///src/views/app/user/modal/UserInvite.vue","webpack:///./src/views/app/user/modal/UserInvite.vue?bd22","webpack:///./src/views/app/user/modal/UserInvite.vue","webpack:///./src/scripts/services/institution.service.js","webpack:///./src/scripts/models/enums/userOccupation.enum.js","webpack:///./src/scripts/services/council.service.js","webpack:///./src/scripts/models/userRole.model.js","webpack:///./src/scripts/models/userPerson.model.js","webpack:///./src/scripts/services/companyGroup.service.js"],"names":["PermissionService","_BaseCrudService","_classCallCheck","_callSuper","_inherits","_createClass","key","value","this","getRequest","BaseCrudService","extends","ValidatableComponent","props","data","dialog","signedUserEntityType","userPerson","UserPerson","userService","UserService","personService","PersonService","companyGroupService","CompanyGroupService","institutionService","InstitutionService","councilService","CouncilService","permissionService","currentEntity","Entity","entity","originalUserPerson","selectedCompanyGroup","selectedEntityType","editingMode","userAlreadyExists","userHasPermissions","instituionList","companyGroupList","companyList","councilList","roles","userPersonFound","listPermissions","entityType","EntityType","entityTypeList","EntityTypeList","userOccupation","UserOccupation","userOccupationList","UserOccupationList","hasPresidentAtEntity","hasRepresentativeAtEntity","isUserFromAUC","loggedUser","computed","_objectSpread","mapGetters","enabledPermissionList","filter","item","canShow","created","showValidationFailMessageMethod","showFailMessage","onValidationSuccessMethod","validationSuccess","validationMethod","validate","listAll","then","permissionsToShow","Permissions","ConciliationRH","CashFlow","CanSignReceipt","map","includes","id","bind","getEntityById","entityId","type","AUC","listAllCompanyGroup","listAllCompanyGroupCallback","listAllInstituionCallback","listAllCouncilCallback","watch","handler","after","before","$store","commit","deep","currentUserRole","Representative","parseInt","entitiesOccupation","found","find","personId","userId","userRoleId","roleId","occupation","occupationDesc","expirationDate","active","getRolesByEntity","listPermissionIdInUserPermissionEntityByEntityId","userPermissionsEntities","existsPresidentByEntity","callbackHasPresident","existsRepresentativeByEntity","callbackHasRespentative","methods","forEach","e","President","findByCPF","currentCPF","length","name","email","optin","clearForm","changeCompanyGroup","companies","save","RegularUser","saveUserPerson","$emit","open","copy","getLoggedPersonUser","some","x","close","from","to","cpf","validateCPF","CommonHelper","validateEmail","validateExpirationDate","current","parse","today","Date","setHours","invalidElements","performMethods","valid","validateComponents","render","_vm","_h","$createElement","_c","_self","attrs","model","callback","$$v","expression","staticClass","_v","_s","on","staticStyle","_e","ref","$event","$set","Company","Institution","Council","isValid","staticRenderFns","__vue_template_functional__","__vue_styles__","__vue_scopeId__","__vue_module_identifier__","Component","institution","postRequest","findById","institutionId","properties","1","2","3","council","councilId","UserRole","conciliation","financialFlow","canSignReceipt","lastLogin","group"],"mappings":"oNAEqBA,EAAiB,SAAAC,GAElC,SAAAD,IAAc,OAAAE,eAAA,KAAAF,GAAAG,eAAA,KAAAH,EAAA,CACJ,eAKT,OARiCI,eAAAJ,EAAAC,GAIjCI,eAAAL,EAAA,EAAAM,IAAA,UAAAC,MAED,WACI,OAAOC,KAAKC,WAAW,eAC1BT,EARiC,CAAUU,S,wTCkSjC,GACfC,QAAAC,OACAC,MAAA,2BACAC,KAAA,WACA,OACAC,QAAA,EACAC,qBAAA,KACAC,WAAA,IAAAC,OACAC,YAAA,IAAAC,OACAC,cAAA,IAAAC,OACAC,oBAAA,IAAAC,OACAC,mBAAA,IAAAC,OACAC,eAAA,IAAAC,OACAC,kBAAA,IAAA7B,OACA8B,cAAA,IAAAC,OACAC,OAAA,IAAAD,OACAE,mBAAA,KACAC,qBAAA,KACAC,mBAAA,KACAC,aAAA,EACAC,mBAAA,EACAC,oBAAA,EACAC,eAAA,GACAC,iBAAA,GACAC,YAAA,GACAC,YAAA,GACAC,MAAA,GACAC,gBAAA,KACAC,gBAAA,KACAC,WAAAC,OACAC,eAAAC,OACAC,eAAAC,OACAC,mBAAAC,OACAC,sBAAA,EACAC,2BAAA,EACAC,eAAA,EACAC,WAAA,KAGAC,SAAAC,8BAAA,GACAC,eAAA,wBAEAC,sBAAA,WACA,YAAAhB,gBAAAiB,QAAA,SAAAC,GACA,OAAAA,EAAAC,cAIAC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H,MAAQ,GACbvH,KAAKwI,IAAM,GACXxI,KAAKkM,UAAY,GACjBlM,KAAKwH,MAAQ,KACbxH,KAAK0F,gBAAkB,IAAIoG,EAC3B9L,KAAK6F,mBAAqB,GAC1B7F,KAAK0G,wBAA0B,O,oICVlB1F,G,UAAmB,SAAAvB,GAEvC,SAAAuB,IAAc,OAAAtB,eAAA,KAAAsB,GAAArB,eAAA,KAAAqB,EAAA,CACP,iBAaN,OAhBsCpB,eAAAoB,EAAAvB,GAItCI,eAAAmB,EAAA,EAAAlB,IAAA,OAAAC,MAED,SAAK+J,EAAUqC,GACdnM,KAAKqL,YAAY,OAAQc,GAAO,GAAM,GAAMlI,KAAK6F,KACjD,CAAAhK,IAAA,sBAAAC,MAED,SAAoB+J,GACnB9J,KAAKC,WAAW,UAAW,MAAM,GAAO,GAAMgE,KAAK6F,KACnD,CAAAhK,IAAA,2BAAAC,MAED,WACC,OAAOC,KAAKC,WAAW,gCACvBe,EAhBsC,CAASd","file":"assets/js/chunk-52895be9.js","sourcesContent":["import BaseCrudService from \"./baseCrud.service\";\n\nexport default class PermissionService extends BaseCrudService {\n\n constructor() {\n super('Permission');\n }\n\n listAll(){\n return this.getRequest('ListAll');\n }\n}","\n \n \n \n \n {{\n userHasPermissions || userAlreadyExists || editingMode\n ? \"Editar\"\n : \"Convidar\"\n }}\n Usuário\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \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('v-dialog',{attrs:{\"scrollable\":\"\",\"max-width\":\"900px\"},model:{value:(_vm.dialog),callback:function ($$v) {_vm.dialog=$$v},expression:\"dialog\"}},[(_vm.dialog)?_c('v-card',[_c('v-card-title',{staticClass:\"headline\"},[_c('h1',[_vm._v(\"\\n \"+_vm._s(_vm.userHasPermissions || _vm.userAlreadyExists || _vm.editingMode\n ? \"Editar\"\n : \"Convidar\")+\"\\n 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\":\"\"}},[(\n _vm.currentEntity.type == _vm.entityType.AUC &&\n (!_vm.editingMode || _vm.signedUserEntityType == _vm.entityType.AUC)\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"entityTypeInput\",attrs:{\"items\":_vm.entityTypeList,\"valueAttribute\":\"id\",\"textAttribute\":\"name\",\"textLabel\":\"Tipo de Perfil\",\"helpLabel\":\"Instituição, Empresa, Conselho\",\"invalidInputMessage\":\"Selecione um perfil para o usuário\",\"useAnotherDefaultValue\":true},model:{value:(_vm.selectedEntityType),callback:function ($$v) {_vm.selectedEntityType=$$v},expression:\"selectedEntityType\"}})],1):_vm._e(),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"cpfInput\",attrs:{\"type\":\"tel\",\"textLabel\":\"CPF\",\"mask\":\"###.###.###-##\",\"focusOnCreate\":true,\"disabled\":_vm.editingMode,\"validation\":_vm.validateCPF,\"invalidInputMessage\":\"Digite um CPF válido.\"},on:{\"input\":function($event){return _vm.findByCPF($event)}},model:{value:(_vm.userPerson.cpf),callback:function ($$v) {_vm.$set(_vm.userPerson, \"cpf\", $$v)},expression:\"userPerson.cpf\"}})],1),_vm._v(\" \"),(\n _vm.selectedEntityType == _vm.entityType.Company &&\n _vm.currentEntity.type == _vm.entityType.AUC\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"companyGroupInput\",attrs:{\"items\":_vm.companyGroupList,\"valueAttribute\":\"id\",\"textAttribute\":\"name\",\"textLabel\":\"Grupo Econômico\",\"invalidInputMessage\":\"Selecione um grupo econômico\"},on:{\"input\":function($event){return _vm.changeCompanyGroup()}},model:{value:(_vm.selectedCompanyGroup),callback:function ($$v) {_vm.selectedCompanyGroup=$$v},expression:\"selectedCompanyGroup\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.selectedEntityType == _vm.entityType.Company &&\n _vm.currentEntity.type == _vm.entityType.AUC\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"companyInput\",attrs:{\"items\":_vm.companyList,\"valueAttribute\":\"entityId\",\"textAttribute\":\"entity.name\",\"textLabel\":\"Empresa\",\"invalidInputMessage\":\"Selecione uma empresa\"},model:{value:(_vm.userPerson.currentUserRole.entityId),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"entityId\", $$v)},expression:\"userPerson.currentUserRole.entityId\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.selectedEntityType == _vm.entityType.Institution &&\n _vm.currentEntity.type == _vm.entityType.AUC\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"instituionInput\",attrs:{\"items\":_vm.instituionList,\"valueAttribute\":\"entity.id\",\"textAttribute\":\"entity.name\",\"textLabel\":\"Instituições\",\"invalidInputMessage\":\"Selecione uma instituição\"},model:{value:(_vm.userPerson.currentUserRole.entityId),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"entityId\", $$v)},expression:\"userPerson.currentUserRole.entityId\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.selectedEntityType == _vm.entityType.Council &&\n _vm.currentEntity.type == _vm.entityType.AUC\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"councilInput\",attrs:{\"items\":_vm.councilList,\"valueAttribute\":\"entity.id\",\"textAttribute\":\"entity.name\",\"textLabel\":\"Conselho\",\"invalidInputMessage\":\"Selecione um conselho\"},model:{value:(_vm.userPerson.currentUserRole.entityId),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"entityId\", $$v)},expression:\"userPerson.currentUserRole.entityId\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.userPerson.currentUserRole.occupation ||\n _vm.selectedEntityType == _vm.entityType.Institution ||\n _vm.selectedEntityType == _vm.entityType.Council\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"userOccupationInput\",attrs:{\"items\":_vm.userOccupationList,\"valueAttribute\":\"id\",\"textAttribute\":\"name\",\"textLabel\":\"Cargo\",\"invalidInputMessage\":\"Selecione um cargo\"},model:{value:(_vm.userPerson.currentUserRole.occupation),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"occupation\", $$v)},expression:\"userPerson.currentUserRole.occupation\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.userPerson.currentUserRole.occupation ==\n _vm.userOccupation.Representative\n )?_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"occupationDescInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Descrição do cargo\",\"invalidInputMessage\":\"Especifique o cargo\"},model:{value:(_vm.userPerson.currentUserRole.occupationDesc),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"occupationDesc\", $$v)},expression:\"userPerson.currentUserRole.occupationDesc\"}})],1):_vm._e(),_vm._v(\" \"),(\n _vm.userPerson.currentUserRole.occupation ==\n _vm.userOccupation.President ||\n _vm.userPerson.currentUserRole.occupation ==\n _vm.userOccupation.Representative\n )?_c('v-flex',{attrs:{\"xs12\":\"\",\"mt-4\":\"\"}},[_c('InputDate',{ref:\"expirationDateInput\",attrs:{\"textLabel\":\"Data de Vigência\",\"placeholder\":\"__/__/____\",\"invalidInputMessage\":\"Selecione uma data de vigência maior que a atual\",\"validation\":_vm.validateExpirationDate},model:{value:(_vm.userPerson.currentUserRole.expirationDate),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"expirationDate\", $$v)},expression:\"userPerson.currentUserRole.expirationDate\"}})],1):_vm._e(),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"nameInput\",attrs:{\"type\":\"text\",\"textLabel\":\"Nome\",\"disabled\":_vm.userAlreadyExists || _vm.editingMode,\"invalidInputMessage\":\"Digite o nome do usuário\"},model:{value:(_vm.userPerson.name),callback:function ($$v) {_vm.$set(_vm.userPerson, \"name\", $$v)},expression:\"userPerson.name\"}})],1),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputText',{ref:\"emailInput\",attrs:{\"type\":\"text\",\"textLabel\":\"E-mail\",\"validation\":_vm.validateEmail,\"disabled\":!(_vm.isUserFromAUC),\"invalidInputMessage\":\"Digite um e-mail\"},model:{value:(_vm.userPerson.email),callback:function ($$v) {_vm.$set(_vm.userPerson, \"email\", $$v)},expression:\"userPerson.email\"}})],1),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('InputSelect',{ref:\"roleInput\",attrs:{\"items\":_vm.roles,\"valueAttribute\":\"id\",\"textAttribute\":\"description\",\"textLabel\":\"Perfil do Usuário\",\"invalidInputMessage\":\"Escolha o perfil de acesso\"},model:{value:(_vm.userPerson.currentUserRole.roleId),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"roleId\", $$v)},expression:\"userPerson.currentUserRole.roleId\"}})],1),_vm._v(\" \"),(_vm.editingMode || _vm.userHasPermissions)?[_c('hr',{staticClass:\"md my-0\"}),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-checkbox',{attrs:{\"label\":\"Ativo\"},model:{value:(_vm.userPerson.currentUserRole.active),callback:function ($$v) {_vm.$set(_vm.userPerson.currentUserRole, \"active\", $$v)},expression:\"userPerson.currentUserRole.active\"}})],1)]:_vm._e(),_vm._v(\" \"),[_c('hr',{staticClass:\"md my-0\"}),_vm._v(\" \"),_c('v-flex',{attrs:{\"xs12\":\"\",\"d-flex\":\"\"}},[_c('InputCheckBoxList',{ref:\"permissionsList\",attrs:{\"helpBoxText\":'',\"list\":_vm.enabledPermissionList,\"labelAttribute\":\"rule\",\"valueAttribute\":\"id\",\"columns\":3,\"required\":false},model:{value:(_vm.userPerson.userPermissionsEntities),callback:function ($$v) {_vm.$set(_vm.userPerson, \"userPermissionsEntities\", $$v)},expression:\"userPerson.userPermissionsEntities\"}})],1)]],2)],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(_vm._s(_vm.userHasPermissions || _vm.userAlreadyExists || _vm.editingMode\n ? \"Salvar\"\n : \"Enviar Convite\"))])],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!./UserInvite.vue\"\nimport __vue_script__ from \"!!babel-loader!../../../../../node_modules/vue-loader/lib/selector?type=script&index=0!./UserInvite.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-2d22e52c\\\",\\\"hasScoped\\\":false,\\\"optionsId\\\":\\\"0\\\",\\\"buble\\\":{\\\"transforms\\\":{}}}!../../../../../node_modules/vue-loader/lib/selector?type=template&index=0!./UserInvite.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\";\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}","const UserOccupation = {\n President: 1,\n Representative: 2,\n RegularUser: 3,\n properties: {\n 1: { name: \"Presidente\" },\n 2: { name: \"Representante\" },\n 3: { name: \"Outros cargos\" }\n }\n};\n\nconst UserOccupationList = [\n { id: UserOccupation.President, name: \"Presidente\", active: true },\n { id: UserOccupation.Representative, name: \"Representante\", active: true },\n { id: UserOccupation.RegularUser, name: \"Outros cargos\", active: true }\n]\n\nexport { UserOccupation, UserOccupationList };","import BaseCrudService from \"./baseCrud.service\";\n\nexport default class CouncilService extends BaseCrudService {\n\n\tconstructor() {\n\t\tsuper('Council');\n\t}\n\n\tsave(callback, council) {\n\t\tthis.postRequest('Save', council).then(callback);\n\t}\n\n\tfind(callback, councilId) {\n\t\treturn this.getRequest('FindById', { councilId: councilId }).then(callback);\n\t}\n\n\tgetFileByEntity(entityId) {\n\t\treturn this.getRequest(\"GetFileByEntity\", { entityId: entityId }, false, false);\n\t}\n\n\tfindByEntityId(entityId) {\n\t\treturn this.getRequest('FindByEntityId', { entityId: entityId });\n\t}\n\n\tlistAll(callback) {\n\t\tthis.getRequest(\"ListAll\").then(callback);\n\t}\n\n\tloadCouncilsInformation() {\n\t\treturn this.getRequest('LoadCouncilsInformation');\n\t}\n\n}","export default class UserRole {\n\n constructor() {\n this.userRoleId = 0;\n this.roleId = 0;\n this.entityId = 0;\n this.occupation = 0;\n this.occupationDesc = '';\n this.expirationDate = '';\n this.conciliation = true;\n this.financialFlow = true;\n this.active = true;\n this.canSignReceipt = false;\n }\n\n}\n\n","import UserRole from \"@/scripts/models/userRole.model\";\nexport default class UserPerson {\n\n constructor() {\n this.personId = 0;\n this.userId = 0;\n this.name = \"\";\n this.email = \"\";\n this.cpf = \"\";\n this.lastLogin = \"\";\n this.optin = null;\n this.currentUserRole = new UserRole();\n this.entitiesOccupation = [];\n this.userPermissionsEntities = [];\n }\n\n}","import BaseCrudService from \"./baseCrud.service\";\nimport ApiService from \"./api.service\";\n\nexport default class CompanyGroupService extends BaseCrudService {\n\n\tconstructor() {\n\t\tsuper('CompanyGroup');\n\t}\n\n\tsave(callback, group){\n\t\tthis.postRequest('Save', group, true, true).then(callback);\n\t}\n\n\tlistAllCompanyGroup(callback) {\n\t\tthis.getRequest('ListAll', null, false, true).then(callback);\n\t}\n\n\tloadCompaniesInformation(){\n\t\treturn this.getRequest('LoadCompaniesInformation');\n\t}\n}"],"sourceRoot":""}