{"version":3,"sources":["webpack:///./src/components/local-bases/city-risk/index.vue?07b5","webpack:///./src/components/local-bases/city-risk/scripts.js","webpack:///./src/components/local-bases/city-risk/scripts.js?3919","webpack:///./src/components/local-bases/city-risk/index.vue","webpack:///./src/components/local-bases/risk-profession/index.vue?9c61","webpack:///./src/components/local-bases/risk-profession/scripts.js","webpack:///./src/components/local-bases/risk-profession/scripts.js?dafd","webpack:///./src/components/local-bases/risk-profession/index.vue","webpack:///./src/components/local-bases/blacklist-cpf/index.vue?28db","webpack:///./src/components/local-bases/blacklist-cpf/scripts.js","webpack:///./src/components/local-bases/blacklist-cpf/scripts.js?afa5","webpack:///./src/components/local-bases/blacklist-cpf/index.vue","webpack:///./src/components/index.js","webpack:///./src/components/loading/index.vue?02f4","webpack:///./src/components/loading/scripts.js","webpack:///./src/components/loading/scripts.js?0ea5","webpack:///./src/components/loading/index.vue","webpack:///./src/components/loading/index.vue?9d02"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","staticClass","_v","style","$vuetify","dark","model","value","callback","$$v","city","expression","states","uf","staticStyle","nativeOn","$event","onClickMainButton","headers","getterCityRisks","results","isLoading","pagination","totalItems","rowsPerPage","on","scopedSlots","_u","key","fn","props","editCityRisk","item","$set","_s","cidadeOriginal","cidade","setSelectedCityRisk","staticRenderFns","data","States","text","align","sortable","computed","mapGetters","watch","handler","getAllCityRisks","deep","mounted","beforeDestroy","CLEAR_CITY_RISK_STORE","methods","mapActions","mapMutations","SET_SELECTED_CITY_RISK","params","idClient","getterAccount","page","limit","actionGetAllCityRisks","then","totalResults","catch","Object","keys","getterSelectedCityRisk","length","addCityRisk","active","actionAddCityRisk","cleanForm","updatedItem","actionEditCityRisk","component","VBtn","VCard","VCardText","VDataTable","VIcon","VLayout","VSelect","VSwitch","VTextField","profissao","getterRiskProfessions","editRiskProfession","profissaoOriginal","setSelectedRiskProfession","getAllRiskProfessions","CLEAR_RISK_PROFESSION_STORE","SET_SELECTED_RISK_PROFESSION","actionGetAllRiskProfessions","getterSelectedRiskProfessions","addRiskProfession","actionAddRiskProfession","actionEditRiskProfession","rules","cpf","validatorCpf","getterBlacklistCpf","editBlacklistCpf","getAllBlacklistCpf","CLEAR_BLACKLIST_CPF_STORE","message","fnandoCpf","actionGetAllBlacklistCpf","getterSelectedBlacklistCpf","addBlacklistCpf","actionAddBlacklistCpf","sendToast","type","response","status","actionEditBlacklistCpf","SET_SELECTED_BLACKLIST_CPF","class","absolute","light","required","Boolean","default"],"mappings":"mvBAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,UAAU,CAACE,MAAM,CAAC,GAAK,wBAAwB,CAACF,EAAG,KAAK,CAACG,YAAY,QAAQ,CAACP,EAAIQ,GAAG,+BAA+BJ,EAAG,SAAS,CAACG,YAAY,QAAQ,CAACH,EAAG,cAAc,CAACK,MAAQ,sBAAwBT,EAAIU,SAASC,KAAO,UAAY,YAAc,CAACP,EAAG,WAAW,CAACG,YAAY,yBAAyBD,MAAM,CAAC,IAAM,GAAG,eAAe,KAAK,CAACF,EAAG,eAAe,CAACG,YAAY,OAAOD,MAAM,CAAC,YAAc,UAAU,aAAa,KAAK,MAAQN,EAAIU,SAASC,KAAO,gBAAkB,aAAaC,MAAM,CAACC,MAAOb,EAAQ,KAAEc,SAAS,SAAUC,GAAMf,EAAIgB,KAAKD,GAAKE,WAAW,UAAUb,EAAG,WAAW,CAACG,YAAY,OAAOD,MAAM,CAAC,UAAYN,EAAIgB,KAAK,MAAQhB,EAAIkB,OAAO,YAAc,MAAM,kBAAkB,GAAG,MAAQlB,EAAIU,SAASC,KAAO,gBAAkB,aAAaC,MAAM,CAACC,MAAOb,EAAM,GAAEc,SAAS,SAAUC,GAAMf,EAAImB,GAAGJ,GAAKE,WAAW,QAAQb,EAAG,QAAQ,CAACgB,YAAY,CAAC,MAAQ,WAAWd,MAAM,CAAC,KAAO,GAAG,UAAYN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GAAW,CAACxC,OAAA,KAAKC,QAAA,KAAMC,UAAA,OAAUC,aAAA,KAAWC,QAAA,KAAMC,UAAA,KAAQE,UAAA,KAAQC,aAAA,O,kIC9BpF,ohD,oCCAA,IAAI5F,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACG,YAAY,UAAUqH,MAAM,CAAE,SAAY5H,EAAI6H,SAAU,MAAS7H,EAAI8H,QAAS,CAAG9H,EAAI8H,MAAmE1H,EAAG,MAAM,CAACE,MAAM,CAAC,IAAM,wBAAwB,IAAM,mBAAjHF,EAAG,MAAM,CAACE,MAAM,CAAC,IAAM,kBAAkB,IAAM,gBACjPsC,EAAkB,GCDP,GACbR,MAAO,CACLyF,SAAU,CACRE,UAAU,EACVR,KAAMS,QACNC,SAAS,GAEXH,MAAO,CACLC,UAAU,EACVR,KAAMS,QACNC,SAAS,KCV6Q,I,wBCQxR/C,EAAY,eACd,EACAnF,EACA6C,GACA,EACA,KACA,KACA,MAIa,OAAAsC,E,2CCnBf,yBAA+kB,EAAG,G","file":"js/chunk-661c070f.bf040054.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('section',{attrs:{\"id\":\"container-city-risk\"}},[_c('h3',{staticClass:\"mb-3\"},[_vm._v(\"\\n Cidade de Risco\\n \")]),_c('v-card',{staticClass:\"mb-4\"},[_c('v-card-text',{style:((\"background-color: \" + (_vm.$vuetify.dark ? '#1b1d23' : '#f6f6f6')))},[_c('v-layout',{staticClass:\"container-input-filter\",attrs:{\"row\":\"\",\"align-center\":\"\"}},[_c('v-text-field',{staticClass:\"mr-2\",attrs:{\"placeholder\":\"Cidade*\",\"max-length\":\"80\",\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},model:{value:(_vm.city),callback:function ($$v) {_vm.city=$$v},expression:\"city\"}}),_c('v-select',{staticClass:\"mr-2\",attrs:{\"disabled\":!_vm.city,\"items\":_vm.states,\"placeholder\":\"UF*\",\"persistent-hint\":\"\",\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},model:{value:(_vm.uf),callback:function ($$v) {_vm.uf=$$v},expression:\"uf\"}}),_c('v-btn',{staticStyle:{\"color\":\"#090808\"},attrs:{\"icon\":\"\",\"disabled\":!_vm.city || !_vm.uf,\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},nativeOn:{\"click\":function($event){return _vm.onClickMainButton($event)}}},[_c('v-icon',{staticStyle:{\"color\":\"#090808\"}},[_vm._v(\"\\n done\\n \")])],1)],1)],1)],1),_c('v-data-table',{staticClass:\"elevation-2\",attrs:{\"headers\":_vm.headers,\"items\":_vm.getterCityRisks.results || [],\"loading\":_vm.isLoading,\"pagination\":_vm.pagination,\"total-items\":_vm.pagination.totalItems,\"no-results-text\":\"Nenhum resultado\",\"no-data-text\":\"Não há resultados ainda\",\"rows-per-page-text\":\"Linhas por Página\",\"rows-per-page-items\":_vm.rowsPerPage,\"disable-initial-sort\":\"\"},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-center\"},[_c('v-switch',{staticClass:\"mb-0\",attrs:{\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary',\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.editCityRisk(props.item)}},model:{value:(props.item.active),callback:function ($$v) {_vm.$set(props.item, \"active\", $$v)},expression:\"props.item.active\"}})],1),_c('td',{staticClass:\"text-xs-left\"},[_vm._v(\"\\n \"+_vm._s(props.item.cidadeOriginal || props.item.cidade)+\" - \"+_vm._s(props.item.uf)+\"\\n \")]),_c('td',{staticClass:\"text-xs-center\"},[_c('v-btn',{staticClass:\"btn-more-actions\",attrs:{\"fab\":\"\",\"small\":\"\",\"flat\":\"\"},nativeOn:{\"click\":function($event){return _vm.setSelectedCityRisk(props.item)}}},[_c('i',{staticClass:\"material-icons\",style:((\"color: \" + (_vm.$vuetify.dark ? '#fff' : '#090a0c')))},[_vm._v(\"edit\")])])],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions, mapMutations } from 'vuex'\nimport States from '@/helper/States'\n\nexport default {\n data () {\n return {\n city: '',\n uf: '',\n pagination: {},\n states: States,\n headers: [\n { text: 'Habilitar', align: 'left', sortable: false },\n { text: 'Descrição', align: 'left', sortable: false },\n { text: 'Ações', align: 'center', sortable: false }\n ],\n rowsPerPage: [10, 20, 30],\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterCityRisks',\n 'getterSelectedCityRisk'\n ])\n },\n watch: {\n pagination: {\n handler () {\n this.getAllCityRisks()\n },\n deep: true\n }\n },\n mounted () {\n this.getAllCityRisks()\n },\n beforeDestroy () {\n this.CLEAR_CITY_RISK_STORE()\n },\n methods: {\n ...mapActions([\n 'actionGetAllCityRisks',\n 'actionAddCityRisk',\n 'actionEditCityRisk'\n ]),\n ...mapMutations([\n 'SET_SELECTED_CITY_RISK',\n 'CLEAR_CITY_RISK_STORE'\n ]),\n setSelectedCityRisk (item) {\n this.SET_SELECTED_CITY_RISK(item)\n this.city = item.cidadeOriginal || item.cidade\n this.uf = item.uf\n },\n getAllCityRisks () {\n const params = {\n idClient: this.getterAccount.idClient,\n page: (this.pagination && this.pagination.page) ? this.pagination.page : 1,\n limit: this.pagination.rowsPerPage || this.rowsPerPage[0]\n }\n\n this.isLoading = true\n\n this.actionGetAllCityRisks(params)\n .then(() => {\n this.pagination.totalItems = this.getterCityRisks.totalResults\n\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n })\n },\n onClickMainButton () {\n if (Object.keys(this.getterSelectedCityRisk).length === 0) {\n this.addCityRisk()\n } else {\n this.editCityRisk()\n }\n },\n addCityRisk () {\n const item = {\n idClient: this.getterAccount.idClient,\n cidade: this.city,\n uf: this.uf,\n active: true\n }\n\n this.isLoading = true\n\n this.actionAddCityRisk(item)\n .then(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n })\n },\n editCityRisk (item) {\n let updatedItem = {}\n const data = {\n cidade: this.city,\n cidadeOriginal: this.city,\n uf: this.uf\n }\n\n if (item) {\n updatedItem = {\n ...data,\n ...item\n }\n } else {\n updatedItem = {\n ...this.getterSelectedCityRisk,\n ...data\n }\n }\n\n this.isLoading = true\n\n this.actionEditCityRisk(updatedItem)\n .then(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n .catch(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n },\n cleanForm () {\n this.city = this.uf = ''\n this.SET_SELECTED_CITY_RISK()\n }\n }\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/eslint-loader/index.js??ref--13-0!./scripts.js?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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0b00ecc0&lang=html&\"\nimport script from \"./scripts?vue&type=script&lang=js&\"\nexport * from \"./scripts?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/* vuetify-loader */\nimport installComponents from \"!/opt/atlassian/pipelines/agent/build/node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib'\nimport { VCard } from 'vuetify/lib'\nimport { VCardText } from 'vuetify/lib'\nimport { VDataTable } from 'vuetify/lib'\nimport { VIcon } from 'vuetify/lib'\nimport { VLayout } from 'vuetify/lib'\nimport { VSelect } from 'vuetify/lib'\nimport { VSwitch } from 'vuetify/lib'\nimport { VTextField } from 'vuetify/lib'\ninstallComponents(component, {VBtn,VCard,VCardText,VDataTable,VIcon,VLayout,VSelect,VSwitch,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"container-profissao-risco\"}},[_c('h3',{staticClass:\"mb-3\"},[_vm._v(\"\\n Profissão de Risco\\n \")]),_c('v-card',{staticClass:\"mb-4\"},[_c('v-card-text',{style:((\"background-color: \" + (_vm.$vuetify.dark ? '#1b1d23' : '#f6f6f6')))},[_c('v-layout',{staticClass:\"container-input-filter\",attrs:{\"row\":\"\",\"align-center\":\"\"}},[_c('v-text-field',{staticClass:\"mr-2\",attrs:{\"placeholder\":\"Profissão*\",\"max-length\":\"80\",\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},model:{value:(_vm.profissao),callback:function ($$v) {_vm.profissao=$$v},expression:\"profissao\"}}),_c('v-btn',{staticStyle:{\"color\":\"#090808\"},attrs:{\"icon\":\"\",\"disabled\":!_vm.profissao,\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},nativeOn:{\"click\":function($event){return _vm.onClickMainButton($event)}}},[_c('v-icon',{staticStyle:{\"color\":\"#090808\"}},[_vm._v(\"\\n done\\n \")])],1)],1)],1)],1),_c('v-data-table',{staticClass:\"elevation-2\",attrs:{\"headers\":_vm.headers,\"items\":_vm.getterRiskProfessions.results || [],\"loading\":_vm.isLoading,\"pagination\":_vm.pagination,\"total-items\":_vm.pagination.totalItems,\"no-results-text\":\"Nenhum resultado\",\"no-data-text\":\"Não há resultados ainda\",\"rows-per-page-text\":\"Linhas por Página\",\"rows-per-page-items\":_vm.rowsPerPage,\"disable-initial-sort\":\"\"},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-left\"},[_c('v-switch',{staticClass:\"mb-0\",attrs:{\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary',\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.editRiskProfession(props.item)}},model:{value:(props.item.active),callback:function ($$v) {_vm.$set(props.item, \"active\", $$v)},expression:\"props.item.active\"}})],1),_c('td',[_vm._v(_vm._s(props.item.profissaoOriginal || props.item.profissao))]),_c('td',{staticClass:\"text-xs-center\"},[_c('v-btn',{staticClass:\"btn-more-actions\",attrs:{\"fab\":\"\",\"small\":\"\",\"flat\":\"\"},nativeOn:{\"click\":function($event){return _vm.setSelectedRiskProfession(props.item)}}},[_c('i',{staticClass:\"material-icons\",style:((\"color: \" + (_vm.$vuetify.dark ? '#fff' : '#090a0c')))},[_vm._v(\"edit\")])])],1)]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions, mapMutations } from 'vuex'\n\nexport default {\n data () {\n return {\n profissao: '',\n pagination: {},\n headers: [\n { text: 'Habilitar', align: 'center', sortable: false },\n { text: 'Descrição', align: 'left', sortable: false },\n { text: 'Ações', align: 'center', sortable: false }\n ],\n rowsPerPage: [10, 20, 30],\n isLoading: false\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterRiskProfessions',\n 'getterSelectedRiskProfessions'\n ])\n },\n watch: {\n pagination: {\n handler () {\n this.getAllRiskProfessions()\n },\n deep: true\n }\n },\n mounted () {\n this.getAllRiskProfessions()\n },\n beforeDestroy () {\n this.CLEAR_RISK_PROFESSION_STORE()\n },\n methods: {\n ...mapActions([\n 'actionGetAllRiskProfessions',\n 'actionAddRiskProfession',\n 'actionEditRiskProfession'\n ]),\n ...mapMutations([\n 'SET_SELECTED_RISK_PROFESSION',\n 'CLEAR_RISK_PROFESSION_STORE'\n ]),\n setSelectedRiskProfession (item) {\n this.SET_SELECTED_RISK_PROFESSION(item)\n this.profissao = item.profissaoOriginal\n },\n getAllRiskProfessions () {\n const params = {\n idClient: this.getterAccount.idClient,\n page: (this.pagination && this.pagination.page) ? this.pagination.page : 1,\n limit: this.pagination.rowsPerPage || this.rowsPerPage[0]\n }\n\n this.isLoading = true\n\n this.actionGetAllRiskProfessions(params)\n .then(() => {\n this.pagination.totalItems = this.getterRiskProfessions.totalResults\n\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n })\n },\n onClickMainButton () {\n if (Object.keys(this.getterSelectedRiskProfessions).length === 0) {\n this.addRiskProfession()\n } else {\n this.editRiskProfession()\n }\n },\n addRiskProfession () {\n const item = {\n idClient: this.getterAccount.idClient,\n profissaoOriginal: this.profissao,\n active: true\n }\n\n this.isLoading = true\n\n this.actionAddRiskProfession(item)\n .then(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n })\n },\n editRiskProfession (item) {\n let updatedItem = {}\n const data = {\n profissaoOriginal: this.profissao\n }\n\n if (item) {\n updatedItem = {\n ...data,\n ...item\n }\n } else {\n updatedItem = {\n ...this.getterSelectedRiskProfessions,\n ...data\n }\n }\n\n this.actionEditRiskProfession(updatedItem)\n .then(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n .catch(() => {\n this.cleanForm()\n\n this.isLoading = false\n })\n },\n cleanForm () {\n this.profissao = ''\n this.SET_SELECTED_RISK_PROFESSION()\n }\n }\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/eslint-loader/index.js??ref--13-0!./scripts.js?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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=d293c73a&lang=html&\"\nimport script from \"./scripts?vue&type=script&lang=js&\"\nexport * from \"./scripts?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/* vuetify-loader */\nimport installComponents from \"!/opt/atlassian/pipelines/agent/build/node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib'\nimport { VCard } from 'vuetify/lib'\nimport { VCardText } from 'vuetify/lib'\nimport { VDataTable } from 'vuetify/lib'\nimport { VIcon } from 'vuetify/lib'\nimport { VLayout } from 'vuetify/lib'\nimport { VSwitch } from 'vuetify/lib'\nimport { VTextField } from 'vuetify/lib'\ninstallComponents(component, {VBtn,VCard,VCardText,VDataTable,VIcon,VLayout,VSwitch,VTextField})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"container-blacklist-cpf\"}},[_c('h3',{staticClass:\"mb-3\"},[_vm._v(\"\\n Lista Restritiva CPF\\n \")]),_c('v-card',{staticClass:\"mb-4\"},[_c('v-card-text',{style:((\"background-color: \" + (_vm.$vuetify.dark ? '#1b1d23' : '#f6f6f6')))},[_c('v-layout',{staticClass:\"container-input-filter\",attrs:{\"row\":\"\",\"align-center\":\"\"}},[_c('v-text-field',{staticClass:\"mr-2\",attrs:{\"label\":\"CPF*\",\"rules\":[_vm.rules.cpf],\"mask\":\"###.###.###-##\",\"max-length\":\"80\",\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},model:{value:(_vm.cpf),callback:function ($$v) {_vm.cpf=$$v},expression:\"cpf\"}}),_c('v-btn',{staticStyle:{\"color\":\"#090808\"},attrs:{\"icon\":\"\",\"disabled\":!_vm.validatorCpf(),\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary'},nativeOn:{\"click\":function($event){return _vm.onClickMainButton($event)}}},[_c('v-icon',{staticStyle:{\"color\":\"#090808\"}},[_vm._v(\"\\n done\\n \")])],1)],1)],1)],1),_c('v-data-table',{staticClass:\"elevation-2\",attrs:{\"headers\":_vm.headers,\"items\":_vm.getterBlacklistCpf.results || [],\"loading\":_vm.isLoading,\"pagination\":_vm.pagination,\"total-items\":_vm.pagination.totalItems,\"no-results-text\":\"Nenhum resultado\",\"no-data-text\":\"Não há resultados ainda\",\"rows-per-page-text\":\"Linhas por Página\",\"rows-per-page-items\":_vm.rowsPerPage,\"disable-initial-sort\":\"\"},on:{\"update:pagination\":function($event){_vm.pagination=$event}},scopedSlots:_vm._u([{key:\"items\",fn:function(props){return [_c('td',{staticClass:\"text-xs-left\"},[_c('v-switch',{staticClass:\"mb-0\",attrs:{\"color\":_vm.$vuetify.dark ? 'secondaryDark' : 'secondary',\"hide-details\":\"\"},on:{\"change\":function($event){return _vm.editBlacklistCpf(props.item)}},model:{value:(props.item.active),callback:function ($$v) {_vm.$set(props.item, \"active\", $$v)},expression:\"props.item.active\"}})],1),_c('td',[_vm._v(\"\\n \"+_vm._s(props.item.cpf)+\"\\n \")])]}}])})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { mapGetters, mapActions, mapMutations } from 'vuex'\nimport * as fnandoCpf from '@fnando/cpf'\n\nexport default {\n data () {\n return {\n rules: {\n cpf: (value) => this.validatorCpf(value) || 'Insira um valor válido e tente novamente'\n },\n cpf: '',\n isLoading: false,\n pagination: {},\n headers: [\n { text: 'Habilitar', align: 'left', sortable: false },\n { text: 'Descrição', align: 'left', sortable: false }\n ],\n rowsPerPage: [10, 20, 30]\n }\n },\n computed: {\n ...mapGetters([\n 'getterAccount',\n 'getterBlacklistCpf',\n 'getterSelectedBlacklistCpf'\n ])\n },\n watch: {\n pagination: {\n handler () {\n this.getAllBlacklistCpf()\n },\n deep: true\n }\n },\n mounted () {\n this.getAllBlacklistCpf()\n },\n beforeDestroy () {\n this.CLEAR_BLACKLIST_CPF_STORE()\n },\n methods: {\n ...mapActions([\n 'actionGetAllBlacklistCpf',\n 'actionAddBlacklistCpf',\n 'actionEditBlacklistCpf'\n ]),\n ...mapMutations([\n 'SET_SELECTED_BLACKLIST_CPF',\n 'CLEAR_BLACKLIST_CPF_STORE'\n ]),\n validatorCpf () {\n let message = false\n\n if (fnandoCpf.isValid(this.cpf)) {\n message = true\n }\n\n return message\n },\n getAllBlacklistCpf () {\n const params = {\n idClient: this.getterAccount.idClient,\n page: this.pagination.page\n }\n\n this.isLoading = true\n\n this.actionGetAllBlacklistCpf(params)\n .then(() => {\n this.pagination.totalItems = this.getterBlacklistCpf.totalResults\n\n this.isLoading = false\n })\n .catch(() => {\n this.isLoading = false\n })\n },\n onClickMainButton () {\n if (Object.keys(this.getterSelectedBlacklistCpf).length === 0) {\n this.isLoading = true\n this.addBlacklistCpf()\n } else {\n this.isLoading = true\n this.editBlacklistCpf()\n }\n },\n addBlacklistCpf () {\n if (this.validatorCpf()) {\n const params = {\n idClient: this.getterAccount.idClient,\n cpf: this.cpf,\n active: true\n }\n\n this.actionAddBlacklistCpf(params)\n .then(() => {\n this.cleanForm()\n\n this.isLoading = false\n\n this.sendToast({\n text: 'CPF inserido com sucesso na base de dados.',\n type: 'success'\n })\n\n this.getAllBlacklistCpf()\n })\n .catch((response) => {\n if (response.status === 409) {\n this.sendToast({\n text: 'CPF informado ja está cadastrado na base de dados.',\n type: 'warning'\n })\n } else {\n this.sendToast({\n text: 'Erro ao cadastrar CPF na base de dados. Tente novamente mais tarde.',\n type: 'danger'\n })\n }\n this.isLoading = false\n })\n } else {\n this.sendToast({\n text: 'CPF informado é inválido! Verifique e tente novamente',\n type: 'warning'\n })\n }\n },\n editBlacklistCpf (item) {\n this.isLoading = true\n\n this.actionEditBlacklistCpf(item)\n .then(() => {\n this.sendToast({\n text: 'Alteração efetuada com sucesso!',\n type: 'success'\n })\n\n this.isLoading = false\n })\n .catch(() => {\n this.sendToast({\n text: 'Alteração não efetuada. Tente novamente mais tarde.',\n type: 'danger'\n })\n\n this.getAllBlacklistCpf()\n\n this.isLoading = false\n })\n },\n cleanForm () {\n this.cpf = ''\n this.SET_SELECTED_BLACKLIST_CPF()\n }\n }\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/eslint-loader/index.js??ref--13-0!./scripts.js?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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0612d5de&lang=html&\"\nimport script from \"./scripts?vue&type=script&lang=js&\"\nexport * from \"./scripts?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/* vuetify-loader */\nimport installComponents from \"!/opt/atlassian/pipelines/agent/build/node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib'\nimport { VCard } from 'vuetify/lib'\nimport { VCardText } from 'vuetify/lib'\nimport { VDataTable } from 'vuetify/lib'\nimport { VIcon } from 'vuetify/lib'\nimport { VLayout } from 'vuetify/lib'\nimport { VSwitch } from 'vuetify/lib'\nimport { VTextField } from 'vuetify/lib'\ninstallComponents(component, {VBtn,VCard,VCardText,VDataTable,VIcon,VLayout,VSwitch,VTextField})\n","import ManagerClient from './modals/manager-client/index.vue'\nimport DocumentsClient from './modals/documents-client/index.vue'\nimport AddProvider from './modals/add-provider/index.vue'\nimport ConfigProvider from './modals/config-provider/index.vue'\nimport ConfigKyc from './modals/config-kyc/index.vue'\nimport EditProvider from './modals/edit-provider/index.vue'\nimport EnableProvider from './modals/enable-provider/index.vue'\nimport ChangePassword from './modals/change-password/index.vue'\nimport DeleteBasket from './modals/delete-basket/index.vue'\nimport AddPld from './modals/add-pld/index.vue'\nimport UpdateCreditClient from './modals/update-credit-client/index.vue'\nimport EnableClient from './modals/enable-client/index.vue'\nimport StackTraceJson from './modals/stack-trace-json/index.vue'\nimport ManagerUser from './modals/manager-user/index.vue'\nimport EnableUser from './modals/enable-user/index.vue'\nimport FinancialClient from './modals/financial-client/index.vue'\nimport ExtractClient from './modals/extract-client/index.vue'\nimport PeriodExtract from './modals/period-extract/index.vue'\nimport UpdateBillet from './modals/update-billet/index.vue'\nimport ConfirmLogout from './modals/confirm-logout/index.vue'\nimport ConfirmCancelSchedule from './modals/confirm-cancel-schedule/index.vue'\nimport CloseExtract from './modals/close-extract/index.vue'\nimport ConfirmDeleteInvoice from './modals/confirm-delete-invoice/index.vue'\nimport ChangeInfoProvider from './modals/change-info-provider/index.vue'\nimport ConfirmReturnToList from './modals/confirm-return-to-list/index.vue'\nimport ViewSelectedHierarquical from './modals/view-selected-hierarquical/index.vue'\nimport ViewSelectedScheduledBasket from './modals/view-selected-scheduled-basket/index.vue'\nimport DetailedTradeReport from './modals/detailed-trade-report/index.vue'\nimport EditInfoSelectedProvider from './edit-info-selected-provider/index.vue'\nimport CityRisk from './local-bases/city-risk/index.vue'\nimport RiskProfession from './local-bases/risk-profession/index.vue'\nimport BlacklistCpf from './local-bases/blacklist-cpf/index.vue'\nimport ProcessBatchFile from './process-batch-file/index.vue'\nimport FileUpload from './file-upload/index.vue'\nimport Loading from './loading/index.vue'\nimport RedirectAccess from './redirect-access/index.vue'\nimport ChooseTheme from './choose-theme/index.vue'\nimport FileDownloadButton from './file-download-button/index.vue'\nimport MockupBrowser from './mockup-browser/index.vue'\nimport EditCostVariable from './modals/edit-cost-variable/index.vue'\nimport EditCostProvider from './modals/edit-cost-provider/index.vue'\nimport ConfirmSave from './modals/confirm-save/index.vue'\n\nexport {\n ManagerClient,\n DocumentsClient,\n UpdateCreditClient,\n EnableClient,\n ManagerUser,\n EnableUser,\n FinancialClient,\n UpdateBillet,\n ConfirmLogout,\n ExtractClient,\n PeriodExtract,\n ConfigProvider,\n ConfigKyc,\n AddProvider,\n EditProvider,\n EnableProvider,\n ChangePassword,\n DeleteBasket,\n AddPld,\n CityRisk,\n RiskProfession,\n BlacklistCpf,\n ProcessBatchFile,\n StackTraceJson,\n FileUpload,\n Loading,\n RedirectAccess,\n ChooseTheme,\n CloseExtract,\n ConfirmDeleteInvoice,\n ChangeInfoProvider,\n ConfirmReturnToList,\n ViewSelectedHierarquical,\n ViewSelectedScheduledBasket,\n DetailedTradeReport,\n EditInfoSelectedProvider,\n FileDownloadButton,\n MockupBrowser,\n ConfirmCancelSchedule,\n EditCostVariable,\n EditCostProvider,\n ConfirmSave\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"loading\",class:{ 'absolute': _vm.absolute, 'light': _vm.light }},[(!_vm.light)?_c('img',{attrs:{\"src\":\"img/loading.svg\",\"alt\":\"Loading\"}}):_c('img',{attrs:{\"src\":\"img/white-loading.svg\",\"alt\":\"White Loading\"}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\n props: {\n absolute: {\n required: false,\n type: Boolean,\n default: false\n },\n light: {\n required: false,\n type: Boolean,\n default: false\n }\n }\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/eslint-loader/index.js??ref--13-0!./scripts.js?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/eslint-loader/index.js??ref--13-0!./scripts.js?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=3372d4ea&lang=html&\"\nimport script from \"./scripts.js?vue&type=script&lang=js&\"\nexport * from \"./scripts.js?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/vuetify-loader/lib/loader.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&lang=scss&\""],"sourceRoot":""}