{"version":3,"sources":["webpack:///./src/features/empresa/empresa-service.ts","webpack:///./src/features/usuario/usuario-service.ts","webpack:///./node_modules/core-js/internals/string-pad.js","webpack:///./src/assets/svg/icon-pessoa-padrao.svg","webpack:///./src/features/usuario/usuario-editar.vue?c9a9","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./node_modules/core-js/modules/es.string.pad-start.js","webpack:///../../../src/mixins/rippleable/index.ts","webpack:///./src/utils/utils.ts","webpack:///./node_modules/core-js/internals/string-pad-webkit-bug.js","webpack:///../../../src/components/VSwitch/VSwitch.ts","webpack:///./src/features/usuario/usuario-editar.vue?e890","webpack:///./src/features/gateway/gateway-service.ts","webpack:///./src/features/usuario/usuario-editar.vue?2cc8","webpack:///./src/features/usuario/usuario-editar.vue?597d","webpack:///./src/features/usuario/usuario-editar.vue","webpack:///../../../src/components/VWindow/VWindowItem.ts","webpack:///../../../src/components/VTabs/VTabItem.ts","webpack:///./src/features/licenca/licenca-service.ts","webpack:///../../../src/mixins/selectable/index.ts"],"names":["EmpresaService","query","configure","getAxios","get","params","then","e","data","command","post","r","put","UsuarioService","delete","toLength","repeat","requireObjectCoercible","ceil","Math","createMethod","IS_END","$this","maxLength","fillString","fillLen","stringFiller","S","String","stringLength","length","fillStr","undefined","intMaxLength","call","slice","module","exports","start","end","name","inheritAttrs","props","lazyValidation","value","Boolean","inputs","watchers","errorBag","watch","handler","errors","Object","this","deep","immediate","methods","watchInput","watcher","input","val","_uid","valid","shouldValidate","validate","filter","reset","resetErrorBag","setTimeout","resetValidation","register","unregister","found","find","i","unwatch","render","h","staticClass","attrs","novalidate","attrs$","on","submit","$slots","$","$padStart","WEBKIT_BUG","target","proto","forced","padStart","arguments","directives","ripple","type","default","genRipple","center","click","onChange","$createElement","obterDiaMesAnoFormatado","date","Date","dia","obterNumeroFormatado","getDate","mes","obterMesNumero","getMonth","ano","getFullYear","obterDiaMesAnoPadraoBR","obterDataFormatada","obterMes","hora","getHours","minuto","getMinutes","meses","numero","toString","isMobile","window","innerWidth","obterArquivosValidos","files","extensoesAceitas","resultado","file","arquivoValido","validarArquivo","push","extensao","split","pop","toLowerCase","extensaoExistente","debounce","func","timeout","timer","args","next","clearTimeout","obterSituacaoDescricao","situacao","Common","Domain","ChamadoSituacaoEnum","Aberto","Fechado","EmAndamento","obterSituacaoSistemaDescricao","SituacaoSistemaEnum","Ativo","EmAnalise","Inativo","formatDateIso","toISOString","parts","day","month","year","result","configureIugu","iugu","Iugu","setAccountID","accountId","testMode","setTestMode","setup","userAgent","test","Touch","inset","loading","flat","computed","classes","role","validationState","hasError","hasColor","switchData","setTextColor","class","themeClasses","genDefaultSlot","genSwitch","genInput","left","right","onSwipeRight","genProgress","progress","color","size","width","indeterminate","onSwipeLeft","onKeydown","_vm","_h","_c","_self","areaAtual","_v","_e","carregando","ref","$event","preventDefault","salvarUsuario","usuario","tipo","usuarioFoto","nome","email","telefone","rules","tipos","model","callback","$$v","$set","_n","expression","tipoUsuario","empresas","bottom","offsetY","licencas","_l","item","index","key","_s","id","_f","preco","ultimoCiclo","atualizadoEm","expiraEm","detalhes","headerLogs","headers","logs","vencimento","valor","criadoEm","url","cancelar","staticRenderFns","assinaturas","faturas","Infra","Auth","PerfilTipoUsuarioEnum","Administrador","text","Cliente","Contador","$summary","titulo","subtitulo","licencaId","goTo","listar","itens","listarParaUsuario","usuarioId","listarAssinaturas","obterAreaPadrao","obterParaEditar","listarEmpresas","listarLicencas","env","apiAuthUrl","tipoEditar","$action","processSubmit","action","editar","$snackbars","open","form","$refs","$confirm","title","message","cancelado","component","VBtn","VCard","VCol","VContainer","VDataTable","VForm","VLabel","VListItemAction","VListItemAvatar","VProgressCircular","VRow","VSelect","VSimpleTable","VSwitch","VTab","VTabItem","VTabs","VTextField","baseMixins","mixins","disabled","reverseTransition","transition","required","isActive","inTransition","computedTransition","windowGroup","genWindowItem","$listeners","showLazyContent","onAfterTransition","transitionCount","onBeforeTransition","$el","onTransitionCancelled","onEnter","el","beforeEnter","afterEnter","enterCancelled","beforeLeave","afterLeave","leaveCancelled","enter","VWindowItem","LicencaService","prop","event","inputValue","falseValue","trueValue","multiple","label","lazyValue","computedColor","isDark","isMultiple","Array","valueComparator","isDirty","genLabel","domProps","checked","blur","change","focus","keydown","onBlur","onFocus"],"mappings":"kLAGMA,E,8JACF,WAAsBC,GAAtB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,+BAAgC,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAH5G,2C,uIAMA,WAAaP,GAAb,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,sBAAuB,CAAEC,OAAQJ,IAASK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAHnG,2C,wIAMA,WAAcC,GAAd,iGACU,OAAmBP,YAD7B,gCAGW,OAAmBC,WAAWO,KAAK,uBAAwBD,IAHtE,2C,wIAMA,WAAcA,GAAd,iGACU,OAAmBP,YAD7B,gCAGW,OAAmBC,WAAWO,KAAK,uBAAwBD,GAASH,MAAK,SAAAK,GAAC,OAAIA,EAAEH,SAH3F,2C,uIAMA,WAAaC,GAAb,iGACU,OAAmBP,YAD7B,gCAGW,OAAmBC,WAAWS,IAAI,sBAAuBH,IAHpE,2C,0IAMA,WAAgBR,GAAhB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,wDAAwDH,EAAM,eAAeK,MAAK,SAAAC,GAAC,OAAIA,EAAEC,SAHtI,2C,iEAQW,WAAIR,G,oGCvCba,E,yJACF,WAAiBZ,GAAjB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,0BAA2B,CAAEC,OAAQJ,IAASK,MAAK,SAAAK,GAAC,OAAIA,EAAEH,SAHvG,2C,6IAMA,WAAmBP,GAAnB,iGACU,OAAmBC,YAD7B,gCAGW,OAAmBC,WAAWC,IAAI,4BAA6B,CAAEC,OAAQJ,IAASK,MAAK,SAAAK,GAAC,OAAI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,WAEhBS,IAAK,WAGTuJ,OAzCO,WA0CLtT,KAAA,cAEF+C,SA5CO,WA4CC,WACN,IAAI/C,KAAJ,YAEA,IAAMT,EAAQS,KAAd,MACIM,EAAQN,KAAZ,cAEA,GAAIA,KAAJ,WAAqB,CACd4S,MAAA,QAAL,KACEtS,EAAA,IAGF,IAAM7B,EAAS6B,EAAf,OAEAA,EAAQA,EAAA,QAAc,SAAAiL,GAAD,OAAgB,oBAArC,MAEIjL,EAAA,SAAJ,GACEA,EAAA,aAGFA,OAD4B3B,IAAnBqB,KAAKqS,gBAAT,IAAoCrS,KAAKoS,WACtCpS,KAAK6S,gBAAgBvS,EAAON,KAA5B,WAA8CA,KAA9C,WAAgEA,KAAxE,UACST,EACDS,KAAK6S,gBAAgBvS,EAAOf,GAAS,KAA7C,GAEAe,EAGFN,KAAA,eACAA,KAAA,gBACAA,KAAA,aAEFuT,QA1EO,WA2ELvT,KAAA,cAGFsJ,UA9EO,SA8EE","file":"js/chunk-e6309f90.5f0e29c4.js","sourcesContent":["import Api from '../../base/api.typings';\nimport axiosConfiguration from '@/base/axios-configuration';\n\nclass EmpresaService {\n async obterParaEditar(query?: Api.App.Server.Empresa.InserirEditar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Empresa/ObterParaEditar', { params: query }).then(e => e.data);\n }\n\n async listar(query: Api.App.Server.Empresa.Listar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Empresa/listar', { params: query }).then(e => e.data);\n }\n\n async excluir(command: Api.App.Server.Empresa.Excluir.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/Empresa/Excluir', command);\n }\n\n async inserir(command: Api.App.Server.Empresa.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/Empresa/Inserir', command).then(r => r.data);\n }\n\n async editar(command: Api.App.Server.Empresa.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().put('/api/Empresa/Editar', command);\n }\n\n async obterCnae(query: string): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('https://servicodados.ibge.gov.br/api/v2/cnae/classes/'+query+'/subclasses').then(e => e.data);\n }\n\n} \n\nexport default new EmpresaService();","import Api from '../../base/api.typings';\nimport axiosConfiguration from '@/base/axios-configuration';\n\nclass UsuarioService {\n async listarTipo(query?/*: Api.Usuario.ListarTipo.Query*/): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/usuario/listarTipo', { params: query }).then(r => r.data);\n }\n\n async listarAcesso(query?/*: Api.Usuario.ListarAcesso.Query*/): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/usuario/ListarAcesso', { params: query }).then(r => r.data);\n }\n\n async inserir(command/*: Api.Usuario.InserirEditar.Command*/): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/usuario/inserir', command).then(r => r.data);\n }\n\n async remover(command/*: Api.Usuario.Remover.Command*/) {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().delete('/api/usuario/Remover', { params: command }).then(r => r.data);\n }\n\n async obterPerfilUsuario(query: Api.App.Server.Usuario.ObterPerfilUsuario.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/ObterPerfilUsuario', { params: query }).then(r => r.data);\n }\n\n async listarContadores(query: Api.App.Server.Usuario.ListarContadores.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/ListarContadores', { params: query }).then(r => r.data);\n }\n\n async listarClientes(query: Api.App.Server.Usuario.ListarClientes.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/ListarClientes', { params: query }).then(r => r.data);\n }\n\n async listar(query: Api.App.Server.Usuario.Listar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/Listar', { params: query }).then(r => r.data);\n }\n\n async obterParaEditar(query?: Api.App.Server.Usuario.Editar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/ObterParaEditar', { params: query }).then(e => e.data);\n }\n\n async editar(command: Api.App.Server.Usuario.Editar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().put('/api/Usuario/Editar', command);\n }\n\n async listarEmpresas(query: Api.App.Server.Usuario.ListarEmpresas.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/Usuario/ListarEmpresas', { params: query }).then(r => r.data);\n }\n\n async listarPorEmpresa(query: Api.App.Server.Usuario.ObterUsuarioEmpresa.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/usuario/usuarioEmpresa', { params: query }).then(e => e.data);\n }\n}\n\nexport default new UsuarioService();","// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = require('../internals/to-length');\nvar repeat = require('../internals/string-repeat');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\n\nvar ceil = Math.ceil;\n\n// `String.prototype.{ padStart, padEnd }` methods implementation\nvar createMethod = function (IS_END) {\n return function ($this, maxLength, fillString) {\n var S = String(requireObjectCoercible($this));\n var stringLength = S.length;\n var fillStr = fillString === undefined ? ' ' : String(fillString);\n var intMaxLength = toLength(maxLength);\n var fillLen, stringFiller;\n if (intMaxLength <= stringLength || fillStr == '') return S;\n fillLen = intMaxLength - stringLength;\n stringFiller = repeat.call(fillStr, ceil(fillLen / fillStr.length));\n if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n return IS_END ? S + stringFiller : stringFiller + S;\n };\n};\n\nmodule.exports = {\n // `String.prototype.padStart` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n start: createMethod(false),\n // `String.prototype.padEnd` method\n // https://tc39.github.io/ecma262/#sec-string.prototype.padend\n end: createMethod(true)\n};\n","module.exports = __webpack_public_path__ + \"img/icon-pessoa-padrao.a652e97b.svg\";","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./usuario-editar.vue?vue&type=style&index=0&id=4c190bdb&scoped=true&lang=css&\"","// Components\nimport VInput from '../VInput/VInput'\n\n// Mixins\nimport mixins from '../../util/mixins'\nimport BindsAttrs from '../../mixins/binds-attrs'\nimport { provide as RegistrableProvide } from '../../mixins/registrable'\n\n// Helpers\nimport { VNode } from 'vue'\n\ntype ErrorBag = Record\ntype VInputInstance = InstanceType\ntype Watchers = {\n _uid: number\n valid: () => void\n shouldValidate: () => void\n}\n\n/* @vue/component */\nexport default mixins(\n BindsAttrs,\n RegistrableProvide('form')\n /* @vue/component */\n).extend({\n name: 'v-form',\n\n inheritAttrs: false,\n\n props: {\n lazyValidation: Boolean,\n value: Boolean,\n },\n\n data: () => ({\n inputs: [] as VInputInstance[],\n watchers: [] as Watchers[],\n errorBag: {} as ErrorBag,\n }),\n\n watch: {\n errorBag: {\n handler (val) {\n const errors = Object.values(val).includes(true)\n\n this.$emit('input', !errors)\n },\n deep: true,\n immediate: true,\n },\n },\n\n methods: {\n watchInput (input: any): Watchers {\n const watcher = (input: any): (() => void) => {\n return input.$watch('hasError', (val: boolean) => {\n this.$set(this.errorBag, input._uid, val)\n }, { immediate: true })\n }\n\n const watchers: Watchers = {\n _uid: input._uid,\n valid: () => {},\n shouldValidate: () => {},\n }\n\n if (this.lazyValidation) {\n // Only start watching inputs if we need to\n watchers.shouldValidate = input.$watch('shouldValidate', (val: boolean) => {\n if (!val) return\n\n // Only watch if we're not already doing it\n if (this.errorBag.hasOwnProperty(input._uid)) return\n\n watchers.valid = watcher(input)\n })\n } else {\n watchers.valid = watcher(input)\n }\n\n return watchers\n },\n /** @public */\n validate (): boolean {\n return this.inputs.filter(input => !input.validate(true)).length === 0\n },\n /** @public */\n reset (): void {\n this.inputs.forEach(input => input.reset())\n this.resetErrorBag()\n },\n resetErrorBag () {\n if (this.lazyValidation) {\n // Account for timeout in validatable\n setTimeout(() => {\n this.errorBag = {}\n }, 0)\n }\n },\n /** @public */\n resetValidation () {\n this.inputs.forEach(input => input.resetValidation())\n this.resetErrorBag()\n },\n register (input: VInputInstance) {\n this.inputs.push(input)\n this.watchers.push(this.watchInput(input))\n },\n unregister (input: VInputInstance) {\n const found = this.inputs.find(i => i._uid === input._uid)\n\n if (!found) return\n\n const unwatch = this.watchers.find(i => i._uid === found._uid)\n if (unwatch) {\n unwatch.valid()\n unwatch.shouldValidate()\n }\n\n this.watchers = this.watchers.filter(i => i._uid !== found._uid)\n this.inputs = this.inputs.filter(i => i._uid !== found._uid)\n this.$delete(this.errorBag, found._uid)\n },\n },\n\n render (h): VNode {\n return h('form', {\n staticClass: 'v-form',\n attrs: {\n novalidate: true,\n ...this.attrs$,\n },\n on: {\n submit: (e: Event) => this.$emit('submit', e),\n },\n }, this.$slots.default)\n },\n})\n","'use strict';\nvar $ = require('../internals/export');\nvar $padStart = require('../internals/string-pad').start;\nvar WEBKIT_BUG = require('../internals/string-pad-webkit-bug');\n\n// `String.prototype.padStart` method\n// https://tc39.github.io/ecma262/#sec-string.prototype.padstart\n$({ target: 'String', proto: true, forced: WEBKIT_BUG }, {\n padStart: function padStart(maxLength /* , fillString = ' ' */) {\n return $padStart(this, maxLength, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n","// Directives\nimport ripple from '../../directives/ripple'\n\n// Types\nimport Vue, { VNode, VNodeData, VNodeDirective } from 'vue'\n\nexport default Vue.extend({\n name: 'rippleable',\n\n directives: { ripple },\n\n props: {\n ripple: {\n type: [Boolean, Object],\n default: true,\n },\n },\n\n methods: {\n genRipple (data: VNodeData = {}): VNode | null {\n if (!this.ripple) return null\n\n data.staticClass = 'v-input--selection-controls__ripple'\n\n data.directives = data.directives || []\n data.directives.push({\n name: 'ripple',\n value: { center: true },\n } as VNodeDirective)\n data.on = Object.assign({\n click: this.onChange,\n }, this.$listeners)\n\n return this.$createElement('div', data)\n },\n onChange () {},\n },\n})\n","import Api from '@/base/api.typings';\nimport env from '@/env/env';\n\nexport function obterDiaMesAnoFormatado(data: string) {\n if (data) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMesNumero(date.getMonth());\n let ano = date.getFullYear();\n\n return `${ano}-${mes}-${dia}`;\n }\n return null\n}\n\nexport function obterDiaMesAnoPadraoBR(data: string) {\n if (data) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMesNumero(date.getMonth());\n let ano = date.getFullYear();\n\n return `${dia}/${mes}/${ano}`;\n }\n return null\n}\n\nexport function obterDataFormatada(data: string) {\n let date = new Date(data);\n\n let dia = obterNumeroFormatado(date.getDate());\n let mes = obterMes(date.getMonth());\n let ano = date.getFullYear();\n let hora = obterNumeroFormatado(date.getHours());\n let minuto = obterNumeroFormatado(date.getMinutes());\n\n return `${dia} de ${mes} de ${ano} às ${hora}h${minuto}`;\n}\n\nfunction obterMesNumero(mes: number) {\n let meses = [\"01\",\"02\",\"03\",\"04\",\"05\",\"06\",\"07\",\"08\",\"09\",\"10\",\"11\",\"12\"];\n return meses[mes];\n}\n\nfunction obterMes(mes: number) {\n let meses = [\n \"Janeiro\",\n \"Fevereiro\",\n \"Março\",\n \"Abril\",\n \"Maio\",\n \"Junho\",\n \"Julho\",\n \"Agosto\",\n \"Setembro\",\n \"Outubro\",\n \"Novembro\",\n \"Dezembro\"\n ];\n\n return meses[mes];\n}\n\nfunction obterNumeroFormatado(numero: number) {\n if (numero < 10) return `0${numero}`;\n\n return numero.toString();\n}\n\nexport function isMobile() {\n return window.innerWidth <= 768;\n}\n\nexport function obterArquivosValidos(files: File[], extensoesAceitas: string[]) {\n let resultado: File[] = [];\n\n for (let file of files) {\n let arquivoValido = validarArquivo(file, extensoesAceitas);\n\n if (arquivoValido)\n resultado.push(file);\n }\n\n return resultado;\n}\n\nfunction validarArquivo(file: File, extensoesAceitas: string[]) {\n let extensao = '.' + file.name.split('.').pop().toLowerCase();\n\n let extensaoExistente = extensoesAceitas.find(e => e == extensao);\n\n if (extensaoExistente)\n return true;\n\n return false;\n}\n\nexport function debounce(func: Function, timeout?: number) {\n let timer: number | undefined;\n\n return (...args: any[]) => {\n const next = () => func(...args);\n\n if (timer) \n clearTimeout(timer);\n\n timer = setTimeout(next, timeout > 0 ? timeout : 300);\n };\n}\n\nexport function obterSituacaoDescricao(situacao: Api.Common.Domain.ChamadoSituacaoEnum) {\n switch (situacao) {\n case Api.Common.Domain.ChamadoSituacaoEnum.Aberto:\n return \"Aberto\";\n case Api.Common.Domain.ChamadoSituacaoEnum.Fechado:\n return \"Fechado\";\n case Api.Common.Domain.ChamadoSituacaoEnum.EmAndamento:\n return \"Em andamento\";\n default:\n break;\n }\n}\n\nexport function obterSituacaoSistemaDescricao(situacao: Api.Common.Domain.SituacaoSistemaEnum) {\n switch (situacao) {\n case Api.Common.Domain.SituacaoSistemaEnum.Ativo:\n return \"Ativo\";\n case Api.Common.Domain.SituacaoSistemaEnum.EmAnalise:\n return \"Em Análise\";\n case Api.Common.Domain.SituacaoSistemaEnum.Inativo:\n return \"Inativo\";\n default:\n break;\n }\n}\n\nexport function formatDateIso(date) {\n if (!date)\n return null;\n if (typeof date === 'number')\n date = new Date(date);\n if (date.toISOString)\n date = date.toISOString();\n const parts = date.split(/[-|\\s|T]/)\n let day = parts[2].padStart(2, '0');\n let month = parts[1].padStart(2, '0');\n let year = parts[0].toString().padStart(2, '0');\n let result = `${year}-${month}-${day}`;\n return result;\n}\n\nexport function configureIugu() {\n const iugu = (window as any).Iugu;\n \n iugu.setAccountID(env.iugu.accountId);\n \n if (env.iugu.testMode)\n iugu.setTestMode(true);\n \n iugu.setup();\n}\n","// https://github.com/zloirock/core-js/issues/280\nvar userAgent = require('../internals/engine-user-agent');\n\n// eslint-disable-next-line unicorn/no-unsafe-regex\nmodule.exports = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n","// Styles\nimport '../../styles/components/_selection-controls.sass'\nimport './VSwitch.sass'\n\n// Mixins\nimport Selectable from '../../mixins/selectable'\nimport VInput from '../VInput'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Components\nimport { VFabTransition } from '../transitions'\nimport VProgressCircular from '../VProgressCircular/VProgressCircular'\n\n// Helpers\nimport { keyCodes } from '../../util/helpers'\n\n// Types\nimport { VNode, VNodeData } from 'vue'\n\n/* @vue/component */\nexport default Selectable.extend({\n name: 'v-switch',\n\n directives: { Touch },\n\n props: {\n inset: Boolean,\n loading: {\n type: [Boolean, String],\n default: false,\n },\n flat: {\n type: Boolean,\n default: false,\n },\n },\n\n computed: {\n classes (): object {\n return {\n ...VInput.options.computed.classes.call(this),\n 'v-input--selection-controls v-input--switch': true,\n 'v-input--switch--flat': this.flat,\n 'v-input--switch--inset': this.inset,\n }\n },\n attrs (): object {\n return {\n 'aria-checked': String(this.isActive),\n 'aria-disabled': String(this.disabled),\n role: 'switch',\n }\n },\n // Do not return undefined if disabled,\n // according to spec, should still show\n // a color when disabled and active\n validationState (): string | undefined {\n if (this.hasError && this.shouldValidate) return 'error'\n if (this.hasSuccess) return 'success'\n if (this.hasColor !== null) return this.computedColor\n return undefined\n },\n switchData (): VNodeData {\n return this.setTextColor(this.loading ? undefined : this.validationState, {\n class: this.themeClasses,\n })\n },\n },\n\n methods: {\n genDefaultSlot (): (VNode | null)[] {\n return [\n this.genSwitch(),\n this.genLabel(),\n ]\n },\n genSwitch (): VNode {\n return this.$createElement('div', {\n staticClass: 'v-input--selection-controls__input',\n }, [\n this.genInput('checkbox', {\n ...this.attrs,\n ...this.attrs$,\n }),\n this.genRipple(this.setTextColor(this.validationState, {\n directives: [{\n name: 'touch',\n value: {\n left: this.onSwipeLeft,\n right: this.onSwipeRight,\n },\n }],\n })),\n this.$createElement('div', {\n staticClass: 'v-input--switch__track',\n ...this.switchData,\n }),\n this.$createElement('div', {\n staticClass: 'v-input--switch__thumb',\n ...this.switchData,\n }, [this.genProgress()]),\n ])\n },\n genProgress (): VNode {\n return this.$createElement(VFabTransition, {}, [\n this.loading === false\n ? null\n : this.$slots.progress || this.$createElement(VProgressCircular, {\n props: {\n color: (this.loading === true || this.loading === '')\n ? (this.color || 'primary')\n : this.loading,\n size: 16,\n width: 2,\n indeterminate: true,\n },\n }),\n ])\n },\n onSwipeLeft () {\n if (this.isActive) this.onChange()\n },\n onSwipeRight () {\n if (!this.isActive) this.onChange()\n },\n onKeydown (e: KeyboardEvent) {\n if (\n (e.keyCode === keyCodes.left && this.isActive) ||\n (e.keyCode === keyCodes.right && !this.isActive)\n ) this.onChange()\n },\n },\n})\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('header-component'),(_vm.areaAtual == 'admin')?_c('v-container',{staticClass:\"spacing-playground pa-6\",attrs:{\"fluid\":\"\"}},[_c('div',[_c('span',{staticClass:\"t-title-page t-item-azul\"},[_vm._v(\"Cadastrar\")])]),_c('div',{staticClass:\"pt-1 pb-9\"},[_c('span',{staticClass:\"t-rota\"},[_vm._v(\"Cadastrar >\")]),_c('span',{staticClass:\"t-rota-atual\"},[_vm._v(\"Usuário, contador ou gestor\")])]),_c('div',{staticClass:\"t-chamado-divider\"}),(_vm.carregando)?_c('div',{staticClass:\"my-6\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1):_vm._e(),(!_vm.carregando)?_c('v-form',{ref:\"form\",attrs:{\"autocomplete\":\"off\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.salvarUsuario(_vm.usuario.tipo)}}},[_c('v-row',{staticClass:\"mt-3 pa-3\"},[_c('v-col',{staticClass:\"pa-0 mb-4\",attrs:{\"cols\":\"2\",\"md\":\"2\",\"sm\":\"2\"}},[(_vm.usuarioFoto)?_c('v-list-item-avatar',{staticClass:\"t-avatar-img-usuario t-avatar-foto\",attrs:{\"height\":\"80px\",\"width\":\"unset !important\"}},[(_vm.usuario.foto)?_c('img',{staticClass:\"t-avatar-img\",attrs:{\"src\":_vm.usuarioFoto}}):_c('img',{staticClass:\"t-avatar-img t-icon-padrao pa-1\",attrs:{\"src\":require(\"../../assets/svg/icon-pessoa-padrao.svg\")}})]):_c('v-list-item-avatar',{staticClass:\"t-avatar-img-usuario mb-0\"},[_c('v-progress-circular',{attrs:{\"indeterminate\":\"\",\"color\":\"primary\"}})],1)],1),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Nome*\")])],1),_c('v-text-field',{attrs:{\"type\":\"text\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"disabled\":\"\",\"value\":_vm.usuario.nome}})],1),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"E-mail\")])],1),_c('v-text-field',{attrs:{\"type\":\"text\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"disabled\":\"\",\"value\":_vm.usuario.email}})],1),_c('v-col',{staticClass:\"pa-0 pr-4\",attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Telefone\")])],1),_c('v-text-field',{attrs:{\"type\":\"text\",\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"disabled\":\"\",\"value\":_vm.usuario.telefone}})],1),_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',[_vm._v(\"Tipo\")])],1),_c('v-select',{attrs:{\"rules\":_vm.rules.tipo,\"items\":_vm.tipos,\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\"},model:{value:(_vm.usuario.tipo),callback:function ($$v) {_vm.$set(_vm.usuario, \"tipo\", _vm._n($$v))},expression:\"usuario.tipo\"}})],1),_c('v-col',{staticClass:\"pa-0 pl-2\",attrs:{\"cols\":\"12\",\"md\":\"2\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',{staticClass:\"t-item-label\"},[_vm._v(\" Acesso do usuário \")])],1),_c('v-list-item-action',{staticClass:\"t-item-azul d-flex flex-row\"},[_c('v-switch',{attrs:{\"inset\":\"\"},model:{value:(_vm.usuario.ativo),callback:function ($$v) {_vm.$set(_vm.usuario, \"ativo\", $$v)},expression:\"usuario.ativo\"}}),(_vm.usuario.ativo)?_c('span',[_vm._v(\"Ativo\")]):_c('span',[_vm._v(\"Desativado\")])],1)],1),(_vm.tipoUsuario != 'admin')?_c('v-col',{staticClass:\"pa-0\",attrs:{\"cols\":\"12\",\"md\":\"12\",\"sm\":\"12\"}},[_c('div',{staticClass:\"t-color-black\"},[_c('v-label',{staticClass:\"t-item-label\"},[_vm._v(\"Empresas\")])],1),_c('v-select',{attrs:{\"rules\":_vm.rules.empresas,\"items\":_vm.empresas,\"chips\":\"\",\"item-text\":\"razaoSocial\",\"item-value\":\"id\",\"menu-props\":{ bottom: true, offsetY: true },\"outlined\":\"\",\"flat\":\"\",\"solo\":\"\",\"multiple\":\"\"},model:{value:(_vm.usuario.empresaIds),callback:function ($$v) {_vm.$set(_vm.usuario, \"empresaIds\", $$v)},expression:\"usuario.empresaIds\"}})],1):_vm._e()],1),_c('v-card',[_c('v-tabs',[_c('v-tab',[_vm._v(\"Licenças\")]),_c('v-tab',[_vm._v(\"Assinaturas\")]),_c('v-tab',[_vm._v(\"Logs\")]),_c('v-tab',[_vm._v(\"Faturas Recentes\")]),_c('v-tab-item',[(_vm.licencas && _vm.licencas.length > 0)?_c('licenca-tabela',{attrs:{\"itens\":_vm.licencas,\"mostrarProduto\":\"true\",\"mostrarEmpresa\":\"true\",\"mostrarQuantidade\":\"true\"}}):_vm._e()],1),_c('v-tab-item',[_c('v-simple-table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Código\")]),_c('th',[_vm._v(\"Situação\")]),_c('th',[_vm._v(\"Preço\")]),_c('th',[_vm._v(\"Último ciclo\")]),_c('th',[_vm._v(\"Atualizado em\")]),_c('th',[_vm._v(\"Expira em\")]),_c('th',[_vm._v(\"Detalhes\")])])]),_c('tbody',_vm._l((_vm.assinaturas),function(item,index){return _c('tr',{key:index},[_c('td',[_vm._v(_vm._s(item.id))]),_c('td',[_vm._v(_vm._s(item.situacao))]),_c('td',[_vm._v(\" \"+_vm._s(_vm._f(\"monetario\")(item.preco))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.obterDataFormatada( item.ultimoCiclo ))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.obterDataFormatada( item.atualizadoEm ))+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.obterDataFormatada( item.expiraEm ))+\" \")]),_c('td',[_vm._v(_vm._s(item.detalhes))])])}),0)])],1),_c('v-tab-item',[_c('v-data-table',{attrs:{\"headers\":_vm.headerLogs.headers,\"items\":_vm.headerLogs.logs,\"items-per-page\":5}})],1),_c('v-tab-item',[_c('v-simple-table',[_c('thead',[_c('tr',[_c('th',[_vm._v(\"Vencimento\")]),_c('th',[_vm._v(\"Valor\")]),_c('th',[_vm._v(\"Situação\")]),_c('th',[_vm._v(\"Criado em\")]),_c('th')])]),_c('tbody',_vm._l((_vm.faturas),function(item,index){return _c('tr',{key:index},[_c('td',[_vm._v(\" \"+_vm._s(_vm.obterDataFormatada( item.vencimento ))+\" \")]),_c('td',[_vm._v(_vm._s(_vm._f(\"monetario\")(item.valor)))]),_c('td',[_vm._v(\" \"+_vm._s(item.situacao)+\" \")]),_c('td',[_vm._v(\" \"+_vm._s(_vm.obterDataFormatada( item.criadoEm ))+\" \")]),_c('td',[_c('a',{attrs:{\"href\":item.url}},[_vm._v(\" \"+_vm._s(item.url)+\" \")])])])}),0)])],1)],1)],1),_c('div',[_c('v-btn',{staticClass:\"my-3 px-7 py-5\",attrs:{\"type\":\"submit\",\"tile\":\"\",\"color\":\"primary\",\"depressed\":\"\"}},[_vm._v(\" Finalizar Cadastro \")]),_c('v-btn',{staticClass:\"my-3 mx-4 px-7 py-5\",attrs:{\"text\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){return _vm.cancelar(_vm.usuario.tipo)}}},[_vm._v(\" Cancelar \")])],1)],1):_vm._e()],1):_c('not-have-access')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import Api from '../../base/api.typings';\nimport axiosConfiguration from '../../base/axios-configuration';\n\nclass GatewayService {\n async listarAssinaturas(query: Api.App.Server.Gateway.ListarAssinaturasParaUsuario.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios()\n .get('/api/gateway/listarassinaturasparausuario', { params: query })\n .then(e => e.data);\n }\n}\n\nexport default new GatewayService();","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport Vue from 'vue';\nimport usuarioService from './usuario-service';\nimport empresaService from '../empresa/empresa-service';\nimport * as val from '../../base/validations';\nimport Api from '../../base/api.typings';\nimport Component from 'vue-class-component';\nimport { Prop } from 'vue-property-decorator';\nimport routerService from '../../base/router-service';\nimport env from '../../env/env';\nimport areaService from '../area-atual/area-service';\nimport licencaService from '../licenca/licenca-service';\nimport gatewayService from '../gateway/gateway-service';\nimport { obterDiaMesAnoFormatado } from '../../utils/utils';\n\n@Component\nexport default class UsuarioEditar extends Vue {\n @Prop() usuarioId: string;\n\n @Prop() tipoEditar: number;\n\n get usuarioCliente() {\n return (\n this.usuario.tipo ==\n Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Cliente\n );\n }\n\n obterDataFormatada(value: string) {\n if (value == null || value.length == 0) return '';\n return obterDiaMesAnoFormatado(value);\n }\n\n usuario: Api.App.Server.Usuario.Editar.Command = null;\n\n empresas: Api.App.Server.Empresa.Listar.EmpresaDto[] = [];\n\n licencas: Api.App.Server.Licenca.ListarParaUsuario.Dto[] = [];\n assinaturas: Api.App.Server.Gateway.ListarAssinaturasParaUsuario.AssinaturaDto[] = [];\n logs: Api.App.Server.Gateway.ListarAssinaturasParaUsuario.LogDto[] = [];\n faturas: Api.App.Server.Gateway.ListarAssinaturasParaUsuario.FaturaRecenteDto[] = [];\n\n usuarioFoto: string = null;\n areaAtual: string = null;\n\n tipos = [\n {\n value:\n Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Administrador,\n text: 'Administrador',\n },\n {\n value: Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Cliente,\n text: 'Cliente',\n },\n {\n value: Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Contador,\n text: 'Contador',\n },\n ];\n\n get headerLogs() {\n return {\n headers: [\n { text: 'Assinatura', value: 'assinaturaId' },\n { text: 'Descrição', value: 'descricao' },\n { text: 'Detalhes', value: 'detalhes' },\n ],\n logs: this.logs,\n };\n }\n\n obterNomeProduto(item) {\n let result = item.titulo;\n if (item.subtitulo) {\n result += ` - ${item.subtitulo}`;\n }\n\n return result;\n }\n\n async visualizarLicenca(licencaId: string) {\n await routerService.goTo('licenca-visualizar', { licencaId });\n }\n\n private async listarEmpresas() {\n let resultado = await empresaService.listar({});\n\n this.empresas = resultado.itens;\n }\n\n private async listarLicencas() {\n const { licencas } = await licencaService.listarParaUsuario({\n usuarioId: this.usuarioId,\n });\n\n this.licencas = licencas;\n }\n\n private async listarAssinaturas() {\n const {\n assinaturas,\n logs,\n faturas,\n } = await gatewayService.listarAssinaturas({\n usuarioId: this.usuarioId,\n });\n\n this.assinaturas = assinaturas;\n this.logs = logs;\n this.faturas = faturas;\n }\n\n get carregando() {\n return !this.usuario;\n }\n\n async created() {\n this.areaAtual = await areaService.obterAreaPadrao();\n if (this.usuarioId) {\n if (this.areaAtual == 'admin') {\n this.obterParaEditar();\n this.listarEmpresas();\n }\n await this.listarLicencas();\n await this.listarAssinaturas();\n }\n }\n\n tipoUsuario: string = null;\n\n async obterParaEditar() {\n let usuario = await usuarioService.obterParaEditar({\n id: this.usuarioId,\n });\n this.usuario = usuario;\n this.usuarioFoto = `${env.apiAuthUrl}/api/Picture/GetPicture?userId=${usuario.id}`;\n\n switch (usuario.tipo) {\n case Api.Common.Infra.Auth.PerfilTipoUsuarioEnum\n .Administrador: {\n this.tipoUsuario = 'admin';\n break;\n }\n\n case Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Cliente: {\n this.tipoUsuario = 'usuario';\n break;\n }\n\n case Api.Common.Infra.Auth.PerfilTipoUsuarioEnum.Contador: {\n this.tipoUsuario = 'empresa';\n break;\n }\n }\n }\n\n async salvarUsuario(tipoEditar: number) {\n if (this.areaAtual == 'admin') {\n this.$action.processSubmit({\n action: async () => {\n if (this.usuarioId) {\n await usuarioService.editar(this.usuario);\n }\n\n this.$snackbars.open({\n text: 'Cadastro feito com sucesso!',\n color: 'success',\n });\n await routerService.goTo('usuario-listar-editar', {\n tipoEditar,\n });\n },\n form: this.$refs.form,\n rules: this.rules,\n });\n }\n }\n\n async cancelar(tipoEditar: number) {\n let cancelado = await this.$confirm.open({\n title: 'Cancelar',\n message: 'Deseja realmente cancelar a operação ?',\n });\n if (cancelado) {\n this.$snackbars.open({\n text: 'Ação cancelada!',\n color: 'error',\n });\n await routerService.goTo('usuario-listar-editar', {\n tipoEditar,\n });\n }\n }\n\n rules = {\n $summary: [] as any[],\n tipo: [val.minValue(1)],\n empresas: [val.minValue(1)],\n };\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./usuario-editar.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/vuetify-loader/lib/loader.js??ref--19-0!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./usuario-editar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./usuario-editar.vue?vue&type=template&id=4c190bdb&scoped=true&\"\nimport script from \"./usuario-editar.vue?vue&type=script&lang=ts&\"\nexport * from \"./usuario-editar.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./usuario-editar.vue?vue&type=style&index=0&id=4c190bdb&scoped=true&lang=css&\"\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 \"4c190bdb\",\n null\n \n)\n\nexport default component.exports\n\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VDataTable } from 'vuetify/lib/components/VDataTable';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VLabel } from 'vuetify/lib/components/VLabel';\nimport { VListItemAction } from 'vuetify/lib/components/VList';\nimport { VListItemAvatar } from 'vuetify/lib/components/VList';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VSimpleTable } from 'vuetify/lib/components/VDataTable';\nimport { VSwitch } from 'vuetify/lib/components/VSwitch';\nimport { VTab } from 'vuetify/lib/components/VTabs';\nimport { VTabItem } from 'vuetify/lib/components/VTabs';\nimport { VTabs } from 'vuetify/lib/components/VTabs';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VBtn,VCard,VCol,VContainer,VDataTable,VForm,VLabel,VListItemAction,VListItemAvatar,VProgressCircular,VRow,VSelect,VSimpleTable,VSwitch,VTab,VTabItem,VTabs,VTextField})\n","// Components\nimport VWindow from './VWindow'\n\n// Mixins\nimport Bootable from '../../mixins/bootable'\nimport { factory as GroupableFactory } from '../../mixins/groupable'\n\n// Directives\nimport Touch from '../../directives/touch'\n\n// Utilities\nimport { convertToUnit } from '../../util/helpers'\nimport mixins, { ExtractVue } from '../../util/mixins'\n\n// Types\nimport { VNode } from 'vue'\n\nconst baseMixins = mixins(\n Bootable,\n GroupableFactory('windowGroup', 'v-window-item', 'v-window')\n)\n\ninterface options extends ExtractVue {\n $el: HTMLElement\n windowGroup: InstanceType\n}\n\nexport default baseMixins.extend().extend(\n /* @vue/component */\n).extend({\n name: 'v-window-item',\n\n directives: {\n Touch,\n },\n\n props: {\n disabled: Boolean,\n reverseTransition: {\n type: [Boolean, String],\n default: undefined,\n },\n transition: {\n type: [Boolean, String],\n default: undefined,\n },\n value: {\n required: false,\n },\n },\n\n data () {\n return {\n isActive: false,\n inTransition: false,\n }\n },\n\n computed: {\n classes (): object {\n return this.groupClasses\n },\n computedTransition (): string | boolean {\n if (!this.windowGroup.internalReverse) {\n return typeof this.transition !== 'undefined'\n ? this.transition || ''\n : this.windowGroup.computedTransition\n }\n\n return typeof this.reverseTransition !== 'undefined'\n ? this.reverseTransition || ''\n : this.windowGroup.computedTransition\n },\n },\n\n methods: {\n genDefaultSlot () {\n return this.$slots.default\n },\n genWindowItem () {\n return this.$createElement('div', {\n staticClass: 'v-window-item',\n class: this.classes,\n directives: [{\n name: 'show',\n value: this.isActive,\n }],\n on: this.$listeners,\n }, this.showLazyContent(this.genDefaultSlot()))\n },\n onAfterTransition () {\n if (!this.inTransition) {\n return\n }\n\n // Finalize transition state.\n this.inTransition = false\n if (this.windowGroup.transitionCount > 0) {\n this.windowGroup.transitionCount--\n\n // Remove container height if we are out of transition.\n if (this.windowGroup.transitionCount === 0) {\n this.windowGroup.transitionHeight = undefined\n }\n }\n },\n onBeforeTransition () {\n if (this.inTransition) {\n return\n }\n\n // Initialize transition state here.\n this.inTransition = true\n if (this.windowGroup.transitionCount === 0) {\n // Set initial height for height transition.\n this.windowGroup.transitionHeight = convertToUnit(this.windowGroup.$el.clientHeight)\n }\n this.windowGroup.transitionCount++\n },\n onTransitionCancelled () {\n this.onAfterTransition() // This should have the same path as normal transition end.\n },\n onEnter (el: HTMLElement) {\n if (!this.inTransition) {\n return\n }\n\n this.$nextTick(() => {\n // Do not set height if no transition or cancelled.\n if (!this.computedTransition || !this.inTransition) {\n return\n }\n\n // Set transition target height.\n this.windowGroup.transitionHeight = convertToUnit(el.clientHeight)\n })\n },\n },\n\n render (h): VNode {\n return h('transition', {\n props: {\n name: this.computedTransition,\n },\n on: {\n // Handlers for enter windows.\n beforeEnter: this.onBeforeTransition,\n afterEnter: this.onAfterTransition,\n enterCancelled: this.onTransitionCancelled,\n\n // Handlers for leave windows.\n beforeLeave: this.onBeforeTransition,\n afterLeave: this.onAfterTransition,\n leaveCancelled: this.onTransitionCancelled,\n\n // Enter handler for height transition.\n enter: this.onEnter,\n },\n }, [this.genWindowItem()])\n },\n})\n","// Extensions\nimport VWindowItem from '../VWindow/VWindowItem'\n\n/* @vue/component */\nexport default VWindowItem.extend({\n name: 'v-tab-item',\n\n props: {\n id: String,\n },\n\n methods: {\n genWindowItem () {\n const item = VWindowItem.options.methods.genWindowItem.call(this)\n\n item.data!.domProps = item.data!.domProps || {}\n item.data!.domProps.id = this.id || this.value\n\n return item\n },\n },\n})\n","import Api from '../../base/api.typings';\nimport axiosConfiguration from '@/base/axios-configuration';\n\nclass LicencaService {\n async listar(query: Api.App.Server.Licenca.Listar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/licenca/listar', { params: query }).then(e => e.data);\n }\n\n async listarParaEmpresa(query: Api.App.Server.Licenca.ListarParaEmpresa.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/licenca/listarparaempresa', { params: query }).then(e => e.data);\n }\n\n async listarParaProduto(query: Api.App.Server.Licenca.ListarParaProduto.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/licenca/listarparaproduto', { params: query }).then(e => e.data);\n }\n\n async listarParaUsuario(query: Api.App.Server.Licenca.ListarParaUsuario.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/licenca/listarparausuario', { params: query }).then(e => e.data);\n }\n\n async obterParaEditar(query?: Api.App.Server.Licenca.InserirEditar.Query): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().get('/api/licenca/obterparaeditar', { params: query }).then(e => e.data);\n }\n\n async inserir(command: Api.App.Server.Licenca.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/licenca/inserir', command).then(r => r.data);\n }\n\n async editar(command: Api.App.Server.Licenca.InserirEditar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().put('/api/licenca/editar', command);\n }\n\n async ativar(command: Api.App.Server.Licenca.Ativar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/licenca/ativar', command);\n }\n \n async inativar(command: Api.App.Server.Licenca.Inativar.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/licenca/inativar', command);\n }\n\n async alterarLicenca(command: Api.App.Server.Licenca.AlterarLicenca.Command): Promise {\n await axiosConfiguration.configure();\n\n return axiosConfiguration.getAxios().post('/api/licenca/alterarLicenca', command);\n }\n}\n\n\nexport default new LicencaService();","// Components\nimport VInput from '../../components/VInput'\n\n// Mixins\nimport Rippleable from '../rippleable'\nimport Comparable from '../comparable'\n\n// Utilities\nimport mixins from '../../util/mixins'\n\n/* @vue/component */\nexport default mixins(\n VInput,\n Rippleable,\n Comparable\n).extend({\n name: 'selectable',\n\n model: {\n prop: 'inputValue',\n event: 'change',\n },\n\n props: {\n id: String,\n inputValue: null as any,\n falseValue: null as any,\n trueValue: null as any,\n multiple: {\n type: Boolean,\n default: null,\n },\n label: String,\n },\n\n data () {\n return {\n hasColor: this.inputValue,\n lazyValue: this.inputValue,\n }\n },\n\n computed: {\n computedColor (): string | undefined {\n if (!this.isActive) return undefined\n if (this.color) return this.color\n if (this.isDark && !this.appIsDark) return 'white'\n return 'accent'\n },\n isMultiple (): boolean {\n return this.multiple === true || (this.multiple === null && Array.isArray(this.internalValue))\n },\n isActive (): boolean {\n const value = this.value\n const input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) return false\n\n return input.some(item => this.valueComparator(item, value))\n }\n\n if (this.trueValue === undefined || this.falseValue === undefined) {\n return value\n ? this.valueComparator(value, input)\n : Boolean(input)\n }\n\n return this.valueComparator(input, this.trueValue)\n },\n isDirty (): boolean {\n return this.isActive\n },\n },\n\n watch: {\n inputValue (val) {\n this.lazyValue = val\n this.hasColor = val\n },\n },\n\n methods: {\n genLabel () {\n const label = VInput.options.methods.genLabel.call(this)\n\n if (!label) return label\n\n label!.data!.on = {\n click: (e: Event) => {\n // Prevent label from\n // causing the input\n // to focus\n e.preventDefault()\n\n this.onChange()\n },\n }\n\n return label\n },\n genInput (type: string, attrs: object) {\n return this.$createElement('input', {\n attrs: Object.assign({\n 'aria-checked': this.isActive.toString(),\n disabled: this.isDisabled,\n id: this.computedId,\n role: type,\n type,\n }, attrs),\n domProps: {\n value: this.value,\n checked: this.isActive,\n },\n on: {\n blur: this.onBlur,\n change: this.onChange,\n focus: this.onFocus,\n keydown: this.onKeydown,\n },\n ref: 'input',\n })\n },\n onBlur () {\n this.isFocused = false\n },\n onChange () {\n if (this.isDisabled) return\n\n const value = this.value\n let input = this.internalValue\n\n if (this.isMultiple) {\n if (!Array.isArray(input)) {\n input = []\n }\n\n const length = input.length\n\n input = input.filter((item: any) => !this.valueComparator(item, value))\n\n if (input.length === length) {\n input.push(value)\n }\n } else if (this.trueValue !== undefined && this.falseValue !== undefined) {\n input = this.valueComparator(input, this.trueValue) ? this.falseValue : this.trueValue\n } else if (value) {\n input = this.valueComparator(input, value) ? null : value\n } else {\n input = !input\n }\n\n this.validate(true, input)\n this.internalValue = input\n this.hasColor = input\n },\n onFocus () {\n this.isFocused = true\n },\n /** @abstract */\n onKeydown (e: Event) {},\n },\n})\n"],"sourceRoot":""}