{"version":3,"sources":["webpack:///./src/views/ChangePassword.vue","webpack:///src/views/ChangePassword.vue","webpack:///./src/views/ChangePassword.vue?cce7","webpack:///./src/views/ChangePassword.vue?6458","webpack:///./src/assets/logo-branco.png","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/views/ChangePassword.vue?cc71"],"names":["staticClass","attrs","_vm","esqueciSenha","staticStyle","_c","_v","show1","on","clickAppend","$event","model","value","callback","expression","trocarSenha","staticRenderFns","name","data","u","newPassword","methods","e","_this","preventDefault","strNewPassword","$http","post","token","$route","query","password","then","response","undefined","alert","$router","push","component","module","exports","mixins","BindsAttrs","RegistrableProvide","extend","provide","form","this","inheritAttrs","props","disabled","Boolean","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","$emit","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","validate","filter","length","reset","forEach","resetErrorBag","_this2","setTimeout","resetValidation","register","unregister","found","find","i","unwatch","$delete","render","h","_this3","_objectSpread","novalidate","attrs$","submit","$slots","default"],"mappings":"yNAAqJ,EAAK,W,IAASA,OAAqC,EAAK,QAAQ,G,OAACA,SAAY,CAAkCC,YAAM,gB,MAAC,CAAY,cAAQ,GAAC,MAAQ,KAAW,CAAE,EAACC,OAAIC,CAA2BH,YAAY,0BAAqBI,UAAW,C,YAAU,kCAAM,OAAIC,KAAG,KAAeJ,GAAM,IAAC,MAAK,WAAM,CAACI,EAAG,a,OAAQ,UAACL,YAAY,qBAAOC,YAAM,CAAC,MAAS,S,CAAoB,gBAAa,CAA6B,OAAI,GAAII,MAAmC,CAACA,EAAG,OAAK,CAACL,YAAY,OAAc,MAAMM,CAAwCL,QAAM,GAAC,cAAoD,IAAM,EAAKM,YAAsC,KAAO,MAAC,C,YAAoB,aAAiB,SAACC,YAAG,e,CAAC,uBAAeC,SAASC,C,MAAW,CAAmB,8CAAE,+BAACC,KAAM,GAACC,MAAOV,aAAmBW,KAAQ,kB,GAAqD,CAAC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B,KAAK4C,QAAQ5C,KAAKS,SAAU+B,EAAMf,SAItCoB,OAAM,SAAEC,GAAC,IAAAC,EAAA,KACP,OAAOD,EAAE,OAAQ,CACf7F,YAAa,SACbC,MAAK8F,EAAA,CACHC,YAAY,GACTjD,KAAKkD,QAEVzF,GAAI,CACF0F,OAAS,SAAA5E,GAAD,OAAcwE,EAAK9B,MAAM,SAAU1C,MAE5CyB,KAAKoD,OAAOC,a,kCC7InB,W","file":"js/changePass.dfc59b87.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-container',{staticClass:\"bkgLogin pa-0\",attrs:{\"fill-height\":\"\",\"fluid\":\"\"}},[_c('v-row',{staticClass:\"fill-height bkgOverlay\"},[_c('v-col',{staticClass:\"fill-height d-flex align-center\",attrs:{\"cols\":\"12\",\"md\":\"6\",\"align\":\"center\"}},[(!_vm.esqueciSenha)?_c('v-form',{staticClass:\"mx-5 mx-md-10 pa-3\",staticStyle:{\"width\":\"100%\"}},[_c('router-link',{attrs:{\"to\":\"/\"}},[_c('v-img',{staticClass:\"mb-5\",attrs:{\"contain\":\"\",\"width\":\"140px\",\"src\":require(\"../assets/logo-branco.png\")}})],1),_c('div',{staticClass:\"text-left\"},[_c('h4',{staticClass:\"white--text\"},[_vm._v(\"Nova senha\")])]),_c('v-text-field',{attrs:{\"append-icon\":_vm.show1 ? 'mdi-eye' : 'mdi-eye-off',\"type\":_vm.show1 ? 'text' : 'password',\"solo\":\"\",\"label\":\"Nova Senha\",\"name\":\"strNewPassword\"},on:{\"click:append\":function($event){_vm.show1 = !_vm.show1}},model:{value:(_vm.u.newPassword),callback:function ($$v) {_vm.$set(_vm.u, \"newPassword\", $$v)},expression:\"u.newPassword\"}}),_c('div',{staticClass:\"text-center\"},[_c('v-btn',{staticClass:\"mb-5\",on:{\"click\":_vm.trocarSenha}},[_vm._v(\"\\n Confirmar Nova Senha \\n \"),_c('v-icon',{attrs:{\"dark\":\"\"}},[_vm._v(\"mdi-arrow-right\")])],1),_c('br')],1)],1):_vm._e()],1),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"6\"}})],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ChangePassword.vue?vue&type=template&id=4b217f24&scoped=true&\"\nimport script from \"./ChangePassword.vue?vue&type=script&lang=js&\"\nexport * from \"./ChangePassword.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ChangePassword.vue?vue&type=style&index=0&id=4b217f24&prod&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 \"4b217f24\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo-branco.3aa29afc.png\";","// 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","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.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/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ChangePassword.vue?vue&type=style&index=0&id=4b217f24&prod&scoped=true&lang=css&\""],"sourceRoot":""}