{"version":3,"sources":["webpack:///./src/views/pages/auth/newPassword/NewPassword.vue?e4ce","webpack:///src/views/pages/auth/newPassword/NewPassword.vue","webpack:///./src/views/pages/auth/newPassword/NewPassword.vue?b85d","webpack:///./src/views/pages/auth/newPassword/NewPassword.vue","webpack:///./src/views/pages/components/Btn.vue","webpack:///src/views/pages/components/Btn.vue","webpack:///./src/views/pages/components/Btn.vue?1da9","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/assets/dxa-with-x-green.png","webpack:///./src/views/pages/auth/newPassword/NewPassword.vue?8b24"],"names":["render","_vm","this","_h","$createElement","_c","_self","VContainer","staticClass","attrs","VRow","VCard","VForm","ref","lazy","on","$event","stopPropagation","preventDefault","checkForm","model","value","callback","$$v","valid","expression","VTextField","$t","show1","required","min_valid","uppercase_required","lowercase_required","number_required","special_required","accent_valid","type","indexOf","_k","keyCode","key","password","show2","passwordsMatch","rePassword","_v","_s","VAlert","error","_e","staticRenderFns","name","components","methods","save_new_password","NewPassword","Code","UserId","client","postRequest","data","then","path","catch","computed","special_valid","loading","component","extends","props","color","default","depressed","rounded","mixins","BindsAttrs","RegistrableProvide","extend","provide","form","inheritAttrs","disabled","Boolean","lazyValidation","readonly","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","$emit","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","shouldValidate","hasOwnProperty","validate","filter","length","reset","forEach","resetErrorBag","setTimeout","resetValidation","register","push","unregister","found","find","i","unwatch","$delete","h","novalidate","attrs$","submit","e","$slots","module","exports"],"mappings":"6NASIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAGE,EAAA,KAAW,CAACC,YAAY,6BAA6BC,MAAM,CAAC,GAAK,QAAQ,IAAM,YAAY,CAACJ,EAAGK,EAAA,KAAK,CAACD,MAAM,CAAC,QAAU,WAAW,CAACJ,EAAG,OAAkB,CAACI,MAAM,CAA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ib/components/VAlert';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VContainer } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSlideYTransition } from 'vuetify/lib/components/transitions';\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 _c(VContainer,{staticClass:\"fill-height justify-center\",attrs:{\"id\":\"login\",\"tag\":\"section\"}},[_c(VRow,{attrs:{\"justify\":\"center\"}},[_c(VSlideYTransition,{attrs:{\"appear\":\"\"}},[_c(VCard,{staticClass:\"px-5 py-3\",attrs:{\"color\":\"white\",\"light\":\"\",\"max-width\":\"100%\",\"width\":\"400\"}},[_c(VCardText,{staticClass:\"text-center\"},[_c('div',{staticClass:\"text-center\"},[_c('img',{attrs:{\"alt\":\"DXA\",\"src\":require(\"../../../../assets/dxa-with-x-green.png\"),\"height\":\"70px\"}})]),_c(VForm,{ref:\"form\",attrs:{\"lazy-validation\":_vm.lazy},on:{\"submit\":function($event){$event.stopPropagation();$event.preventDefault();return _vm.checkForm()}},model:{value:(_vm.valid),callback:function ($$v) {_vm.valid=$$v},expression:\"valid\"}},[_c(VTextField,{ref:\"password\",attrs:{\"color\":\"primary\",\"label\":_vm.$t('new_password'),\"prepend-icon\":\"mdi-lock-outline\",\"append-icon\":_vm.show1 ? 'mdi-eye' : 'mdi-eye-off',\"rules\":[\n _vm.required,\n _vm.min_valid,\n _vm.uppercase_required,\n _vm.lowercase_required,\n _vm.number_required,\n _vm.special_required,\n _vm.accent_valid ],\"type\":_vm.show1 ? 'text' : 'password',\"name\":\"password\",\"counter\":\"\"},on:{\"keydown\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"space\",32,$event.key,[\" \",\"Spacebar\"])){ return null; }$event.preventDefault();},\"click:append\":function($event){_vm.show1 = !_vm.show1}},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c(VTextField,{staticClass:\"mb-8\",attrs:{\"color\":\"primary\",\"label\":_vm.$t('re_password'),\"prepend-icon\":\"mdi-lock-outline\",\"append-icon\":_vm.show2 ? 'mdi-eye' : 'mdi-eye-off',\"rules\":[_vm.required, _vm.passwordsMatch],\"type\":_vm.show2 ? 'text' : 'password',\"name\":\"input-10-2\"},on:{\"click:append\":function($event){_vm.show2 = !_vm.show2}},model:{value:(_vm.rePassword),callback:function ($$v) {_vm.rePassword=$$v},expression:\"rePassword\"}}),_c('pages-btn',{staticClass:\"v-btn--text\",attrs:{\"block\":\"\",\"type\":\"submit\",\"color\":\"primary\"}},[_vm._v(_vm._s(_vm.$t(\"save\")))])],1),(_vm.error)?_c(VAlert,{staticClass:\"ma-2\",attrs:{\"type\":\"error\"}},[_vm._v(\" \"+_vm._s(_vm.$t(_vm.error))+\" \")]):_vm._e()],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\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!./NewPassword.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!./NewPassword.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./NewPassword.vue?vue&type=template&id=10e712c2&\"\nimport script from \"./NewPassword.vue?vue&type=script&lang=js&\"\nexport * from \"./NewPassword.vue?vue&type=script&lang=js&\"\nimport style0 from \"./NewPassword.vue?vue&type=style&index=0&id=10e712c2&prod&lang=sass&\"\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","var render, staticRenderFns\nimport script from \"./Btn.vue?vue&type=script&lang=js&\"\nexport * from \"./Btn.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n","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!./Btn.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!./Btn.vue?vue&type=script&lang=js&\"","// 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","module.exports = __webpack_public_path__ + \"img/dxa-with-x-green.af5509ec.png\";","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NewPassword.vue?vue&type=style&index=0&id=10e712c2&prod&lang=sass&\""],"sourceRoot":""}