{"version":3,"sources":["webpack:///./src/services/modules/place/Enterprise.service.js","webpack:///./src/views/modules/admin/UserForm.vue?d7aa","webpack:///./src/views/modules/admin/DepartmentDialog.vue?bcfa","webpack:///src/views/modules/admin/DepartmentDialog.vue","webpack:///./src/views/modules/admin/DepartmentDialog.vue?0131","webpack:///./src/views/modules/admin/DepartmentDialog.vue","webpack:///src/views/modules/admin/UserForm.vue","webpack:///./src/views/modules/admin/UserForm.vue?af33","webpack:///./src/views/modules/admin/UserForm.vue","webpack:///./src/services/modules/admin/Company.service.js"],"names":["path","service","params","http","list","URLSearchParams","set","render","_vm","this","_h","$createElement","_c","_self","attrs","noOptionAdd","on","onDepartmentDialog","currentPage","singularTitle","t","pageTitle","command","status","generalErrors","checkErrorsComponent","name","pageFormIsLoaded","onSubmit","model","value","form","callback","$$v","$set","expression","staticClass","error","preferentialCompanyId","companyOptions","scopedSlots","_u","key","fn","proxy","oldEnableAccessCode","enableAccessCode","_v","_e","username","accountNumber","_s","pinAccess","typeMaster","profileOnlyAccessCodeOptions","profileAllOptions","_l","item","groupUsers","find","a","groupUserId","$event","addGroupSelected","text","enableAllCompanies","companiesList","viewFieldsPageCompanies","ref","companiesIds","getRenderRule","getAllEnterprises","enableAllEnterprises","enterprisesList","viewFieldsPageEnterprises","title","enterprisesIds","staticRenderFns","okText","id","showModal","resetModal","components","mixins","pageDialogFormMixin","data","departmentId","note","methods","watch","component","pageDefaultMixin","genKey","fieldKey","userId","userNumber","whatsapp","enableExternalAccess","professionalRegistration","nome","profileId","createOperator","createInspector","companies","enterprises","accountModule","departmentOptions","groupUserOptions","mountedPrepare","ui","checked","el","indexRemove","itemInserted","push","companyService","companyId","get"],"mappings":"oMAGMA,EAAO,mBAEPC,E,gGAEF,SAAWC,GACP,OAAOC,OAAKC,KAAKJ,EAAO,cAAcE,K,+BAG1C,WACI,IAAIA,EAAS,IAAIG,gBAEjB,OADAH,EAAOI,IAAI,SAAU,KACdH,OAAKC,KAAKJ,EAAO,aAAaE,O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n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"place/enterprise\"\r\n\r\nclass service {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n getAllEnterprises() {\r\n let params = new URLSearchParams()\r\n params.set(\"status\", \"1\")\r\n return http.list(path + \"/selectAll\",params);\r\n }\r\n\r\n\r\n\r\n\r\n}\r\n\r\nexport default new service();\r\n\r\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-page',[_c('DepartmentDialog',{attrs:{\"no-option-add\":_vm.noOptionAdd},on:{\"onSubmit\":_vm.onDepartmentDialog}}),_c('t-page-form',{attrs:{\"card\":\"\",\"submit-text\":_vm.currentPage.singularTitle,\"title\":_vm.t('form-of')+_vm.currentPage.pageTitle,\"command\":_vm.command,\"status\":_vm.status,\"generalErrors\":_vm.generalErrors,\"check-errors-again\":_vm.checkErrorsComponent,\"go-back-title\":_vm.t('go-back-list'),\"go-back-to\":_vm.currentPage.name,\"busy\":!_vm.pageFormIsLoaded},on:{\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"hidden\":\"\"},model:{value:(_vm.form.userId),callback:function ($$v) {_vm.$set(_vm.form, \"userId\", $$v)},expression:\"form.userId\"}}),_c('t-form-card',{staticClass:\"mt-2\",attrs:{\"title\":\"Dados Básicos\"}},[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Nome\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}}),_c('t-input',{attrs:{\"add-error\":_vm.error.preferentialCompanyId,\"options\":_vm.companyOptions,\"required\":\"\",\"label\":\"Empresa Preferencial\",\"first-default\":\"\",\"help\":\"Caso possua acesso a mais que uma empresa, deverá especificar qual a preferencial padrão deste usuário.\",\"select\":\"\"},model:{value:(_vm.form.preferentialCompanyId),callback:function ($$v) {_vm.$set(_vm.form, \"preferentialCompanyId\", $$v)},expression:\"form.preferentialCompanyId\"}}),_c('t-input',{attrs:{\"class-icon-group\":\"icon-whatsapp-colored\",\"tel\":\"\",\"label\":\"WhatsApp\"},scopedSlots:_vm._u([{key:\"input-icon\",fn:function(){return [_c('b-icon-whatsapp')]},proxy:true}]),model:{value:(_vm.form.whatsapp),callback:function ($$v) {_vm.$set(_vm.form, \"whatsapp\", $$v)},expression:\"form.whatsapp\"}}),_c('t-input',{attrs:{\"label\":\"Registro Profissional\",\"help\":\"Informe qual entidade de classe e o registro caso desejado.\",\"placeholder\":\"CREA/CAU/Outra entidade de classe\"},model:{value:(_vm.form.professionalRegistration),callback:function ($$v) {_vm.$set(_vm.form, \"professionalRegistration\", $$v)},expression:\"form.professionalRegistration\"}}),_c('t-input',{attrs:{\"label\":\"Observações\",\"max-length\":\"500\",\"textarea\":\"\"},model:{value:(_vm.form.note),callback:function ($$v) {_vm.$set(_vm.form, \"note\", $$v)},expression:\"form.note\"}})],1),_c('t-form-card',{attrs:{\"title\":\"Acesso\"}},[(_vm.oldEnableAccessCode !== _vm.form.enableAccessCode && _vm.command === 'update' && _vm.pageFormIsLoaded)?_c('t-msg',{attrs:{\"info\":\"\"}},[_vm._v(\" Alterando o usuário de Acesso via Código para Acesso via e-mail, será realizada a troca da senha para uma nova temporária e um e-mail de boas-vindas será enviada ao usuário para que o mesmo realize a troca da senha temporária. \")]):_vm._e(),(_vm.form.enableAccessCode)?_c('b-row',[_c('t-input',{attrs:{\"cols\":\"6\",\"add-error\":_vm.error.username,\"label\":\"Código de Acesso\",\"only-numbers\":\"\",\"min-length\":\"3\",\"max-length\":\"10\",\"required\":\"\",\"small\":'Prefixo \\''+_vm.accountNumber+'\\' padrão da sua conta Onlaine'},scopedSlots:_vm._u([{key:\"input-group-prepend\",fn:function(){return [_vm._v(_vm._s(_vm.accountNumber)+\".\")]},proxy:true}],null,false,2596147398),model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('t-input',{attrs:{\"cols\":\"6\",\"add-error\":_vm.error.pinAccess,\"min-length\":\"6\",\"max-length\":\"6\",\"label\":\"PIN\",\"only-numbers\":\"\",\"required\":\"\"},model:{value:(_vm.form.pinAccess),callback:function ($$v) {_vm.$set(_vm.form, \"pinAccess\", $$v)},expression:\"form.pinAccess\"}})],1):_c('t-input',{attrs:{\"disabled\":_vm.form.typeMaster,\"add-error\":_vm.error.username,\"label\":\"E-mail de Acesso\",\"email\":\"\",\"required\":\"\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('b-form-checkbox',{staticClass:\"mb-3\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.enableAccessCode),callback:function ($$v) {_vm.$set(_vm.form, \"enableAccessCode\", $$v)},expression:\"form.enableAccessCode\"}},[_vm._v(\" Acessar via código? \"),_c('t-help',{attrs:{\"title\":\"Opção indicada somente em casos onde os usuários não possuem e-mail de acesso, desta forma não será possível recuperar a senha, pois não há um e-mail vinculado.\"}})],1),(_vm.form.enableAccessCode)?_c('t-input',{attrs:{\"disabled\":_vm.form.typeMaster,\"options\":_vm.profileOnlyAccessCodeOptions,\"label\":\"Perfil de Acesso habilitado para acesso via Código de Acesso\",\"required\":\"\",\"select\":\"\",\"help\":\"Para incluir novo perfil de acesso, utilize o menu 'Administração > Configuração > 'Perfis de Acesso' e deixe marcado a opção 'Habilitar para acesso via Código'.\"},model:{value:(_vm.form.profileId),callback:function ($$v) {_vm.$set(_vm.form, \"profileId\", $$v)},expression:\"form.profileId\"}}):_c('t-input',{attrs:{\"disabled\":_vm.form.typeMaster,\"options\":_vm.profileAllOptions,\"label\":\"Perfil de Acesso\",\"required\":\"\",\"select\":\"\",\"help\":\"Para incluir novo perfil de acesso, utilize o menu 'Administração > Configuração > 'Perfis de Acesso'.\"},model:{value:(_vm.form.profileId),callback:function ($$v) {_vm.$set(_vm.form, \"profileId\", $$v)},expression:\"form.profileId\"}}),_c('b-form-checkbox',{staticClass:\"mt-2 mb-2\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.enableExternalAccess),callback:function ($$v) {_vm.$set(_vm.form, \"enableExternalAccess\", $$v)},expression:\"form.enableExternalAccess\"}},[_vm._v(\" Liberar acesso fora da rede interna? \"),_c('t-help',{attrs:{\"title\":\"Por segurança deixe os usuários com restrição a rede interna, para liberar os IP da rede interna Acesse
Controle de Acesso por IP\"}})],1),(_vm.form.enableExternalAccess)?_c('t-msg',{attrs:{\"danger\":\"\"}},[_vm._v(\"Usuário com Acesso Externo Liberado e maior risco de segurança \")]):_vm._e()],1),_c('t-form-card',{attrs:{\"title\":\"Pertence ao Grupo\"}},_vm._l((_vm.groupUserOptions),function(item){return _c('b-form-checkbox',{key:item.value,staticClass:\"ml-3\",attrs:{\"checked\":_vm.form.groupUsers.find(function (a) { return a.groupUserId === item.value; }) != null},on:{\"change\":function($event){return _vm.addGroupSelected($event,item.value)}}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])}),1),_c('t-form-card',{attrs:{\"title\":\"Alçada de Acesso\"}},[_c('b-form-checkbox',{staticClass:\"col-sm-12 ml-2 mb-3\",attrs:{\"switch\":\"\"},model:{value:(_vm.form.enableAllCompanies),callback:function ($$v) {_vm.$set(_vm.form, \"enableAllCompanies\", $$v)},expression:\"form.enableAllCompanies\"}},[_vm._v(\" Habilitar todas empresas a este usuário? \"),_c('t-help',{attrs:{\"title\":\"Você poderá especificar quais as empresas desejadas, basta desmarcar esta opção e especificar quais as empresas abaixo.\"}})],1),(!_vm.form.enableAllCompanies)?_c('t-table',{attrs:{\"enable-checked\":\"\",\"items\":_vm.companiesList,\"fields\":_vm.viewFieldsPageCompanies,\"title-items\":\"empresa\",\"link-primary-column\":\"name\",\"table-bordered\":\"\",\"disable-actions-column\":\"\",\"primary-key-column\":\"companyId\"},scopedSlots:_vm._u([{key:\"first-column\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.name)+\" \")]}}],null,false,3926474354),model:{value:(_vm.companiesIds),callback:function ($$v) {_vm.companiesIds=$$v},expression:\"companiesIds\"}}):_vm._e(),(_vm.getRenderRule('account-module-arch'))?_c('div',[_c('b-form-checkbox',{staticClass:\"col-sm-12 ml-2 mb-3 mt-3\",attrs:{\"switch\":\"\"},on:{\"change\":function($event){return _vm.getAllEnterprises()}},model:{value:(_vm.form.enableAllEnterprises),callback:function ($$v) {_vm.$set(_vm.form, \"enableAllEnterprises\", $$v)},expression:\"form.enableAllEnterprises\"}},[_vm._v(\" Habilitar todos empreendimentos a este usuário? \"),_c('t-help',{attrs:{\"title\":\"Você poderá especificar quais os locais desejados, basta desmarcar esta opção e especificar quais os locais abaixo.\"}})],1),(!_vm.form.enableAllEnterprises)?_c('t-table',{attrs:{\"enable-checked\":\"\",\"items\":_vm.enterprisesList,\"fields\":_vm.viewFieldsPageEnterprises,\"title-items\":\"local\",\"link-primary-column\":\"title\",\"table-bordered\":\"\",\"disable-actions-column\":\"\",\"primary-key-column\":\"enterpriseId\"},scopedSlots:_vm._u([{key:\"first-column\",fn:function(ref){\nvar item = ref.item;\nreturn [_vm._v(\" \"+_vm._s(item.title)+\" \")]}}],null,false,4058097461),model:{value:(_vm.enterprisesIds),callback:function ($$v) {_vm.enterprisesIds=$$v},expression:\"enterprisesIds\"}}):_vm._e()],1):_vm._e()],1),_c('t-input-status',{model:{value:(_vm.form.status),callback:function ($$v) {_vm.$set(_vm.form, \"status\", $$v)},expression:\"form.status\"}})],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('t-dialog-form',{ref:\"dialog_form\",attrs:{\"generalErrors\":_vm.generalErrors,\"title\":_vm.title,\"ok-text\":_vm.okText,\"id\":_vm.id,\"command\":_vm.command},on:{\"show\":_vm.showModal,\"hidden\":_vm.resetModal,\"onSubmit\":_vm.onSubmit}},[_c('t-input',{attrs:{\"add-error\":_vm.error.name,\"label\":\"Departamento\",\"submitted\":\"\",\"focus\":\"\",\"required\":\"\"},model:{value:(_vm.form.name),callback:function ($$v) {_vm.$set(_vm.form, \"name\", $$v)},expression:\"form.name\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepartmentDialog.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DepartmentDialog.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DepartmentDialog.vue?vue&type=template&id=022208e0&\"\nimport script from \"./DepartmentDialog.vue?vue&type=script&lang=js&\"\nexport * from \"./DepartmentDialog.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./UserForm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./UserForm.vue?vue&type=template&id=7413862a&\"\nimport script from \"./UserForm.vue?vue&type=script&lang=js&\"\nexport * from \"./UserForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import http from '../../config/http-common';\r\n\r\n//Usado somente se for realmente necessário algo fora do padrão GeneralCRUD.service.js\r\nconst path = \"admin/company\"\r\n\r\nclass companyService {\r\n\r\n selectList(params) {\r\n return http.list(path + \"/selectList\",params);\r\n }\r\n\r\n getResume(companyId) {\r\n return http.get(path + '/resume/' + companyId);\r\n }\r\n\r\n getAllCompanies() {\r\n let params = new URLSearchParams()\r\n params.set(\"status\", \"1\")\r\n return http.list(path + \"/selectAll\",params);\r\n }\r\n\r\n\r\n\r\n}\r\n\r\nexport default new companyService();\r\n\r\n\r\n"],"sourceRoot":""}