{"version":3,"sources":["webpack:///./src/shared/helpers/documentHelper.js","webpack:///./src/services/ValidationService.js","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./node_modules/core-js/modules/es.string.replace-all.js","webpack:///./src/views/pages/user/alphaInvestor/form/ManageAlphaInvestor.vue?9da4","webpack:///src/views/pages/user/alphaInvestor/form/ManageAlphaInvestor.vue","webpack:///./src/views/pages/user/alphaInvestor/form/ManageAlphaInvestor.vue?312f","webpack:///./src/views/pages/user/alphaInvestor/form/ManageAlphaInvestor.vue"],"names":["onlyDigits","document","replace","apiService","ApiService","ValidationService","id","email","emailExists","postRequest","User","Email","Id","then","resp","catch","error","socialNumber","userType","onlyNumbers","socialNumberExists","SocialNumber","p1","p2","v","test","length","i18n","t","replaceAll","this","cpf_test","cnpj_test","strCPF","Soma","Resto","i","parseInt","substring","cnpj","tamanho","numeros","digitos","soma","pos","charAt","resultado","date","date_parsed","includes_day","moment","year","isValid","getRequest","mixins","BindsAttrs","RegistrableProvide","extend","name","provide","form","inheritAttrs","props","disabled","Boolean","lazyValidation","readonly","value","data","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","$emit","deep","immediate","methods","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","validate","filter","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","unwatch","$delete","render","h","staticClass","attrs","novalidate","attrs$","on","submit","e","$slots","default","$","call","uncurryThis","requireObjectCoercible","isCallable","isRegExp","toString","getMethod","getRegExpFlags","getSubstitution","wellKnownSymbol","IS_PURE","REPLACE","$TypeError","TypeError","indexOf","stringSlice","slice","max","Math","stringIndexOf","string","searchValue","fromIndex","target","proto","replaceValue","IS_REG_EXP","flags","replacer","searchString","functionalReplace","searchLength","advanceBy","replacement","O","position","endOfLastMatch","result","undefined","_vm","_h","$createElement","_c","_self","loading","VContainer","VProgressCircular","staticStyle","page_title","VForm","ref","lazy","$event","stopPropagation","preventDefault","edit_user","model","callback","$$v","expression","VRow","VCol","VTextField","$t","required","user","VSelect","partners","partnersLoading","$tc","directives","rawName","social_number_valid","type","_k","keyCode","key","Birth","gs","parseDate","post_code_changed","_v","_s","class","InvestValue","portfolioSelected","MinimumValue","portfolioLoading","MinimumValueLabel","_e","portfolioOptions","VCard","VBtn","saveLoading","$router","go","alert_msg","VAlert","success","staticRenderFns","components","vs","edit","tab","computed","get_partners","update_portfolio","get_portfolio_options","index","map","axios","get","cep","reset_alert","show_alert","component"],"mappings":"2SAAaA,EAAa,SAACC,GACzB,OAAIA,EACKA,EAASC,QAAQ,UAAU,IAE3B,ICCLC,EAAa,IAAIC,OACFC,E,WACnB,aAAc,uB,mHAEd,WAA4BC,EAAIC,GAAhC,4FACMC,GAAc,EADpB,SAEQL,EACHM,YADG,mBAGF,CAAEC,KAAM,CAAEC,MAAOJ,EAAOK,GAAIN,KAC5B,GAEDO,MAAK,SAACC,OACNC,OAAM,SAACC,GACNR,GAAc,KAVpB,gCAYSA,GAZT,2C,8JAcA,WACEF,EACAW,EACAC,GAHF,0GAIEC,IAJF,iCAMMC,GAAqB,EAN3B,SAOQjB,EACHM,YADG,UAECS,EAFD,wBAGF,CACEN,GAAIN,EACJe,aAAcF,EAAcnB,EAAWiB,GAAgBA,IAEzD,GAEDJ,MAAK,SAACC,OACNC,OAAM,SAACC,GACNI,GAAqB,KAlB3B,gCAoBSA,GApBT,2C,0FAsBA,SAAeE,EAAIC,GACjB,OAAOD,GAAMC,I,8BAEf,SAAiBC,GACf,MAAO,YAAYC,KAAKD,K,gCAE1B,SAAmBA,GACjB,MAAO,QAAQC,KAAKD,K,6BAEtB,SAAgBA,GACd,MAAO,QAAQC,KAAKD,K,gCAEtB,SAAmBA,GACjB,MAAO,QAAQC,KAAKD,K,yBAEtB,SAAYA,GACV,OAAOA,EAAEE,QAAU,kBAAkBA,S,0BAEvC,SAAaF,GACX,OAAQ,cAAcC,KAAKD,K,yBAE7B,SAAYA,GACV,MACE,uHAAuHC,KACrHD,IACGG,OAAKC,EA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SACA6I,aADA,WACA,2JACA,qBADA,SAEA,aACA1K,WAAA,gBACAxC,MAAA,YACA,yBACA,wBAEAE,OAAA,YACA,wBATA,8CAYAiN,iBAbA,WAaA,wJACA,iDADA,iDAIA,sBACA,uBACA,oDAEA,yBACA,uBAEA,oDACA,0BACA,qDAEA,+CACA,uDACA,GACA,sBAlBA,8CAoBAC,sBAjCA,WAiCA,2JACA,sBADA,SAEA,aACA5K,WAAA,2BACAxC,MAAA,YAEA,GADA,6BACA,6BACA,QACA,6BACAqN,qBACAC,KAAA,2BACA/F,QAAA,4BACA,MACA8F,MAGA,0CACA,sDAGAnN,OAAA,gBApBA,OAqBA,sBArBA,8CAuBAuL,kBAxDA,WAwDA,WACA,qCACA,aACA8B,IACAC,IADA,mCACAC,EADA,WAEAzN,MAAA,YACA,aACA,sBACA,kBACA,yBACA,+BAEAE,OAAA,iBAGAwN,uBACA,kBACA,qBAEAC,yBACA,eACA,kBAEAlE,sBACA,gCACA,kCACA,UAGA,GAFA,uBCjWyZ,I,YCOrZmE,EAAY,eACd,EACA/H,EACA+G,GACA,EACA,KACA,KACA,MAIa,aAAAgB,E","file":"js/chunk-56d3d096.c6ca1eee.js","sourcesContent":["export const onlyDigits = (document) => {\n if (document) {\n return document.replace(/[^0-9]/g,'')\n } else {\n return \"\";\n }\n}","import ApiService from \"./ApiService\";\nimport axios from \"axios\";\nimport moment from \"moment\";\nimport i18n from \"../i18n\";\nimport { onlyDigits } from \"../shared/helpers/documentHelper\";\nconst apiService = new ApiService();\nexport default class ValidationService {\n constructor() {}\n\n async check_if_email_exists(id, email) {\n var emailExists = false;\n await apiService\n .postRequest(\n `user/check-email`,\n { User: { Email: email, Id: id } },\n false\n )\n .then((resp) => {})\n .catch((error) => {\n emailExists = true;\n });\n return emailExists;\n }\n async check_if_social_number_exists(\n id,\n socialNumber,\n userType,\n onlyNumbers = true\n ) {\n var socialNumberExists = false;\n await apiService\n .postRequest(\n `${userType}/check-social-number`,\n {\n Id: id,\n SocialNumber: onlyNumbers ? onlyDigits(socialNumber) : socialNumber,\n },\n false\n )\n .then((resp) => {})\n .catch((error) => {\n socialNumberExists = true;\n });\n return socialNumberExists;\n }\n passwordsMatch(p1, p2) {\n return p1 == p2;\n }\n special_required(v) {\n return /[*&$!@#?]/.test(v);\n }\n uppercase_required(v) {\n return /[A-Z]/.test(v); //|| this.$t(\"uppercase_required\");\n }\n number_required(v) {\n return /[0-9]/.test(v); //|| this.$t(\"number_required\");\n }\n lowercase_required(v) {\n return /[a-z]/.test(v); //|| this.$t(\"lowercase_required\");\n }\n phone_valid(v) {\n return v.length == \"(##) #####-####\".length;\n }\n accent_valid(v) {\n return !/[À-ÖØ-öø-ÿ]/.test(v);\n }\n email_valid(v) {\n return (\n /^(([^<>()[\\]\\.,;:\\s@\\\"]+(\\.[^<>()[\\]\\.,;:\\s@\\\"]+)*)|(\\\".+\\\"))@(([^<>()[\\]\\.,;:\\s@\\\"]+\\.)+[^<>()[\\]\\.,;:\\s@\\\"]{2,})$/i.test(\n v\n ) || i18n.t(\"format_invalid\")\n );\n }\n social_number_valid(v) {\n return (\n (v.replaceAll(\".\", \"\").replaceAll(\"/\", \"\").replaceAll(\"-\", \"\").length ==\n 11 &&\n this.cpf_test(\n v.replaceAll(\".\", \"\").replaceAll(\"/\", \"\").replaceAll(\"-\", \"\")\n )) ||\n (v.replaceAll(\".\", \"\").replaceAll(\"/\", \"\").replaceAll(\"-\", \"\").length ==\n 14 &&\n this.cnpj_test(\n v.replaceAll(\".\", \"\").replaceAll(\"/\", \"\").replaceAll(\"-\", \"\")\n ))\n );\n }\n cpf_test(strCPF) {\n strCPF = strCPF.replace(/\\D/g, \"\");\n var Soma;\n var Resto;\n Soma = 0;\n if (strCPF == \"00000000000\") return false;\n\n for (let i = 1; i <= 9; i++)\n Soma = Soma + parseInt(strCPF.substring(i - 1, i)) * (11 - i);\n Resto = (Soma * 10) % 11;\n if (Resto == 10 || Resto == 11) Resto = 0;\n if (Resto != parseInt(strCPF.substring(9, 10))) return false;\n Soma = 0;\n for (let i = 1; i <= 10; i++)\n Soma = Soma + parseInt(strCPF.substring(i - 1, i)) * (12 - i);\n Resto = (Soma * 10) % 11;\n\n if (Resto == 10 || Resto == 11) Resto = 0;\n if (Resto != parseInt(strCPF.substring(10, 11))) return false;\n return true;\n }\n cnpj_test(cnpj) {\n cnpj = cnpj.replace(/[^\\d]+/g, \"\");\n\n if (cnpj == \"\") return false;\n\n if (cnpj.length != 14) return false;\n\n // Elimina CNPJs invalidos conhecidos\n if (\n cnpj == \"00000000000000\" ||\n cnpj == \"11111111111111\" ||\n cnpj == \"22222222222222\" ||\n cnpj == \"33333333333333\" ||\n cnpj == \"44444444444444\" ||\n cnpj == \"55555555555555\" ||\n cnpj == \"66666666666666\" ||\n cnpj == \"77777777777777\" ||\n cnpj == \"88888888888888\" ||\n cnpj == \"99999999999999\"\n )\n return false;\n\n // Valida DVs\n let tamanho = cnpj.length - 2;\n let numeros = cnpj.substring(0, tamanho);\n let digitos = cnpj.substring(tamanho);\n let soma = 0;\n let pos = tamanho - 7;\n for (let i = tamanho; i >= 1; i--) {\n soma += numeros.charAt(tamanho - i) * pos--;\n if (pos < 2) pos = 9;\n }\n let resultado = soma % 11 < 2 ? 0 : 11 - (soma % 11);\n if (resultado != digitos.charAt(0)) return false;\n\n tamanho = tamanho + 1;\n numeros = cnpj.substring(0, tamanho);\n soma = 0;\n pos = tamanho - 7;\n for (let i = tamanho; i >= 1; i--) {\n soma += numeros.charAt(tamanho - i) * pos--;\n if (pos < 2) pos = 9;\n }\n resultado = soma % 11 < 2 ? 0 : 11 - (soma % 11);\n if (resultado != digitos.charAt(1)) return false;\n\n return true;\n }\n validDate(date, includes_day = true) {\n let date_parsed;\n if (includes_day) {\n date_parsed = moment(date, \"DD/MM/YYYY\");\n } else {\n date_parsed = moment(date, \"MM/YYYY\");\n }\n return () =>\n !date ||\n (date && date_parsed.year() > 1600 && date_parsed.isValid()) ||\n i18n.t(\"valid_date\");\n }\n async check_if_social_number_of_investment_vehicle_exists(socialNumber) {\n var socialNumberExists = false;\n await apiService\n .getRequest(\n `alphaInvestor/check-social-number-of-investment-vehicle?socialNumber=` +\n socialNumber\n )\n .then((resp) => {})\n .catch((error) => {\n socialNumberExists = true;\n });\n return socialNumberExists;\n }\n}\n","// 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 provide (): object {\n return { form: this }\n },\n\n inheritAttrs: false,\n\n props: {\n disabled: Boolean,\n lazyValidation: Boolean,\n readonly: 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 call = require('../internals/function-call');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar isCallable = require('../internals/is-callable');\nvar isRegExp = require('../internals/is-regexp');\nvar toString = require('../internals/to-string');\nvar getMethod = require('../internals/get-method');\nvar getRegExpFlags = require('../internals/regexp-get-flags');\nvar getSubstitution = require('../internals/get-substitution');\nvar wellKnownSymbol = require('../internals/well-known-symbol');\nvar IS_PURE = require('../internals/is-pure');\n\nvar REPLACE = wellKnownSymbol('replace');\nvar $TypeError = TypeError;\nvar indexOf = uncurryThis(''.indexOf);\nvar replace = uncurryThis(''.replace);\nvar stringSlice = uncurryThis(''.slice);\nvar max = Math.max;\n\nvar stringIndexOf = function (string, searchValue, fromIndex) {\n if (fromIndex > string.length) return -1;\n if (searchValue === '') return fromIndex;\n return indexOf(string, searchValue, fromIndex);\n};\n\n// `String.prototype.replaceAll` method\n// https://tc39.es/ecma262/#sec-string.prototype.replaceall\n$({ target: 'String', proto: true }, {\n replaceAll: function replaceAll(searchValue, replaceValue) {\n var O = requireObjectCoercible(this);\n var IS_REG_EXP, flags, replacer, string, searchString, functionalReplace, searchLength, advanceBy, replacement;\n var position = 0;\n var endOfLastMatch = 0;\n var result = '';\n if (searchValue != null) {\n IS_REG_EXP = isRegExp(searchValue);\n if (IS_REG_EXP) {\n flags = toString(requireObjectCoercible(getRegExpFlags(searchValue)));\n if (!~indexOf(flags, 'g')) throw $TypeError('`.replaceAll` does not allow non-global regexes');\n }\n replacer = getMethod(searchValue, REPLACE);\n if (replacer) {\n return call(replacer, searchValue, O, replaceValue);\n } else if (IS_PURE && IS_REG_EXP) {\n return replace(toString(O), searchValue, replaceValue);\n }\n }\n string = toString(O);\n searchString = toString(searchValue);\n functionalReplace = isCallable(replaceValue);\n if (!functionalReplace) replaceValue = toString(replaceValue);\n searchLength = searchString.length;\n advanceBy = max(1, searchLength);\n position = stringIndexOf(string, searchString, 0);\n while (position !== -1) {\n replacement = functionalReplace\n ? toString(replaceValue(searchString, position, string))\n : getSubstitution(searchString, string, position, [], undefined, replaceValue);\n result += stringSlice(string, endOfLastMatch, position) + replacement;\n endOfLastMatch = position + searchLength;\n position = stringIndexOf(string, searchString, position + advanceBy);\n }\n if (endOfLastMatch < string.length) {\n result += stringSlice(string, endOfLastMatch);\n }\n return result;\n }\n});\n","import { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VProgressCircular } from 'vuetify/lib/components/VProgressCircular';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSelect } from 'vuetify/lib/components/VSelect';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\n\nvar render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (!_vm.loading)?_c(VContainer,{attrs:{\"id\":\"add-user\",\"fluid\":\"\",\"tag\":\"section\"}},[_c('base-material-card',{staticClass:\"px-5 py-3\",attrs:{\"color\":\"primary\",\"icon\":\"mdi-account\",\"title\":_vm.page_title()}},[_c(VForm,{ref:\"form\",staticClass:\"mt-5\",attrs:{\"lazy-validation\":_vm.lazy},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.edit_user()}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c(VRow,[_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{attrs:{\"label\":_vm.$t('name'),\"rules\":[_vm.required]},model:{value:(_vm.user.Name),callback:function ($$v) {_vm.$set(_vm.user, \"Name\", $$v)},expression:\"user.Name\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{attrs:{\"label\":_vm.$t('last_name'),\"rules\":[_vm.required]},model:{value:(_vm.user.LastName),callback:function ($$v) {_vm.$set(_vm.user, \"LastName\", $$v)},expression:\"user.LastName\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VSelect,{attrs:{\"items\":_vm.partners,\"loading\":_vm.partnersLoading,\"label\":_vm.$tc('partner', 1),\"item-text\":\"Email\",\"item-value\":\"Id\",\"color\":\"black\",\"rules\":[_vm.required]},model:{value:(_vm.user.PartnerId),callback:function ($$v) {_vm.$set(_vm.user, \"PartnerId\", $$v)},expression:\"user.PartnerId\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{directives:[{name:\"mask\",rawName:\"v-mask\",value:(['###.###.###-##']),expression:\"['###.###.###-##']\"}],attrs:{\"label\":_vm.$t('cpf'),\"rules\":[_vm.required, _vm.social_number_valid]},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();}},model:{value:(_vm.user.SocialNumber),callback:function ($$v) {_vm.$set(_vm.user, \"SocialNumber\", $$v)},expression:\"user.SocialNumber\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{attrs:{\"label\":_vm.$t('email'),\"rules\":[_vm.required]},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();}},model:{value:(_vm.user.Email),callback:function ($$v) {_vm.$set(_vm.user, \"Email\", $$v)},expression:\"user.Email\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{directives:[{name:\"mask\",rawName:\"v-mask\",value:(['##/##/####']),expression:\"['##/##/####']\"}],attrs:{\"label\":_vm.$t('birth_date'),\"prepend-inner-icon\":\"mdi-calendar\"},on:{\"blur\":function($event){_vm.user.Birth = _vm.gs.parseDate(_vm.date)}},model:{value:(_vm.date),callback:function ($$v) {_vm.date=$$v},expression:\"date\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{directives:[{name:\"mask\",rawName:\"v-mask\",value:(['#####-###']),expression:\"['#####-###']\"}],staticClass:\"purple-input\",attrs:{\"placeholder\":\"00000-000\",\"type\":\"tel\",\"rules\":[_vm.required],\"label\":_vm.$t('post_code')},on:{\"keyup\":_vm.post_code_changed},model:{value:(_vm.user.PostCode),callback:function ($$v) {_vm.$set(_vm.user, \"PostCode\", $$v)},expression:\"user.PostCode\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{staticClass:\"purple-input\",attrs:{\"label\":_vm.$t('state'),\"rules\":[_vm.required]},model:{value:(_vm.user.State),callback:function ($$v) {_vm.$set(_vm.user, \"State\", $$v)},expression:\"user.State\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"4\"}},[_c(VTextField,{staticClass:\"purple-input\",attrs:{\"rules\":[_vm.required],\"label\":_vm.$t('city')},model:{value:(_vm.user.City),callback:function ($$v) {_vm.$set(_vm.user, \"City\", $$v)},expression:\"user.City\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"8\"}},[_c(VTextField,{staticClass:\"purple-input\",attrs:{\"rules\":[_vm.required],\"label\":_vm.$t('address')},model:{value:(_vm.user.Address),callback:function ($$v) {_vm.$set(_vm.user, \"Address\", $$v)},expression:\"user.Address\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c(VTextField,{staticClass:\"purple-input\",attrs:{\"rules\":[_vm.required],\"label\":_vm.$t('number')},model:{value:(_vm.user.AddressNumber),callback:function ($$v) {_vm.$set(_vm.user, \"AddressNumber\", $$v)},expression:\"user.AddressNumber\"}})],1),_c(VCol,{attrs:{\"cols\":\"12\",\"md\":\"2\"}},[_c(VTextField,{staticClass:\"purple-input\",attrs:{\"label\":_vm.$t('complement')},model:{value:(_vm.user.AddressComplement),callback:function ($$v) {_vm.$set(_vm.user, \"AddressComplement\", $$v)},expression:\"user.AddressComplement\"}})],1)],1),_c(VRow,[_c(VCol,{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"invest_value\")))])]),_c(VCol,{staticClass:\"pb-0\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('span',[_vm._v(_vm._s(_vm.$t(\"selected_portfolio\")))])])],1),_c(VRow,[_c(VCol,{staticClass:\"pt-0\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c('money',{staticClass:\"register-text-field\",class:{\n 'invalid-field':\n !_vm.user.InvestValue ||\n _vm.user.InvestValue < _vm.portfolioSelected.MinimumValue,\n },attrs:{\"prefix\":\"R$\",\"thousand\":\".\",\"thousands\":\".\",\"decimal\":\",\"},model:{value:(_vm.user.InvestValue),callback:function ($$v) {_vm.$set(_vm.user, \"InvestValue\", $$v)},expression:\"user.InvestValue\"}}),(\n !_vm.portfolioLoading &&\n _vm.user.InvestValue < _vm.portfolioSelected.MinimumValue\n )?_c('p',{staticClass:\"mb-4 mt-n4 ml-2\",staticStyle:{\"color\":\"red\",\"font-size\":\"10px\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"alpha_register_minimum\", { value: _vm.portfolioSelected.MinimumValueLabel, }))+\" \")]):_vm._e()],1),_c(VCol,{staticClass:\"pt-0\",attrs:{\"cols\":\"12\",\"md\":\"6\"}},[_c(VSelect,{attrs:{\"items\":_vm.portfolioOptions,\"loading\":_vm.portfolioLoading,\"item-text\":\"number\",\"color\":\"black\",\"return-object\":\"\",\"outlined\":\"\",\"dense\":\"\",\"rules\":[_vm.required],\"readonly\":\"\"},model:{value:(_vm.portfolioSelected),callback:function ($$v) {_vm.portfolioSelected=$$v},expression:\"portfolioSelected\"}})],1)],1),_c(VCardActions,{staticClass:\"pl-0 dxa_modal_actions\"},[_c(VBtn,{staticClass:\"dxa_modal_btnSuccess\",attrs:{\"color\":\"primary\",\"min-width\":\"100\",\"loading\":_vm.saveLoading,\"type\":\"submit\"}},[_vm._v(_vm._s(_vm.$t(\"save\")))]),_c(VBtn,{staticClass:\"dxa_modal_btnError\",attrs:{\"color\":\"secondary\",\"min-width\":\"100\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}},[_vm._v(_vm._s(_vm.$t(\"go_back\")))])],1)],1),(_vm.alert_msg != null)?_c(VAlert,{staticClass:\"ma-2\",attrs:{\"type\":_vm.success ? 'success' : 'error'}},[_vm._v(\" \"+_vm._s(_vm.$t(_vm.alert_msg))+\" \")]):_vm._e()],1)],1):_c(VContainer,[_c(VProgressCircular,{staticStyle:{\"margin-left\":\"50%\"},attrs:{\"indeterminate\":\"\",\"size\":\"70\",\"color\":\"primary\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageAlphaInvestor.vue?vue&type=script&lang=js&\"; 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/cache-loader/dist/cjs.js??ref--1-0!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ManageAlphaInvestor.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ManageAlphaInvestor.vue?vue&type=template&id=2034e42c&\"\nimport script from \"./ManageAlphaInvestor.vue?vue&type=script&lang=js&\"\nexport * from \"./ManageAlphaInvestor.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"],"sourceRoot":""}