{"version":3,"sources":["webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/router/views/settings/settings-change-password.vue?3fbc","webpack:///./src/components/settings/change-password-container.vue?3f8a","webpack:///./src/components/general/the-password-rules-indicator.vue?519a","webpack:///src/components/general/the-password-rules-indicator.vue","webpack:///./src/components/general/the-password-rules-indicator.vue?884f","webpack:///./src/components/general/the-password-rules-indicator.vue","webpack:///src/components/settings/change-password-container.vue","webpack:///./src/components/settings/change-password-container.vue?b269","webpack:///./src/components/settings/change-password-container.vue","webpack:///src/router/views/settings/settings-change-password.vue","webpack:///./src/router/views/settings/settings-change-password.vue?9f7b","webpack:///./src/router/views/settings/settings-change-password.vue","webpack:///./src/mixins/formMixin.js"],"names":["name","form","this","inheritAttrs","props","disabled","lazyValidation","readonly","value","Boolean","data","inputs","watchers","errorBag","watch","errors","Object","deep","immediate","methods","watcher","input","val","_uid","valid","shouldValidate","hasOwnProperty","filter","setTimeout","watchInput","found","find","i","unwatch","h","staticClass","attrs","novalidate","attrs$","on","submit","e","$emit","$slots","render","_vm","_h","$createElement","_c","_self","$t","staticRenderFns","onDismissed","_v","_s","message","_e","isLoading","ref","isValid","isMobileViewPort","showCurrentPassword","rules","required","setFormChanged","$event","model","callback","$$v","currentPassword","expression","showNewPass","uppercase","lowercase","number","special","min","newPass","class","showConfirmPass","passwordsMatch","confirmPass","formChanged","updatePassword","passwordCriteriaMet","_l","col","colIndex","key","rule","id","password","isDarkMode","title","mixins","baseMixin","type","String","default","cols","Number","computed","columns","mid","Math","ceil","push","component","VAlert","VIcon","components","failedToLoad","isImpersonating","alert","$router","changePasswordAsync","reauthAsync","$refs","changePasswordForm","validate","reset","clearError","payload","reauthResult","isSuccess","result","resetForm","VBtn","VCard","VCardActions","VCardText","VCol","VForm","VRow","VSpacer","VTextField","meta","v","length","config","get","toLowerCase","toUpperCase","test","email","emit"],"mappings":"kHAGA,wCAiBe,sBAAO,EAAD,KAEnB,eAAmB,SAFN,OAIN,CACPA,KADO,SAGP,UAC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,KAAKwC,MAAMuG,EAAMvB","file":"js/chunk-5e4fc95a.e36b9ec3.js","sourcesContent":["// 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","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Layout',[_c('v-row',{staticClass:\"d-flex justify-center\"},[_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"12\",\"lg\":\"8\",\"xl\":\"5\"}},[_c('BasePageTitle',{attrs:{\"title\":_vm.$t('settings.profileChangePassword')}}),_c('ChangePasswordContainer')],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"settings-card\",attrs:{\"id\":\"edit-profile\"}},[(_vm.errors)?_c('v-alert',{attrs:{\"type\":\"error\",\"dismissible\":\"\",\"text\":\"\"},on:{\"dismissed\":_vm.onDismissed}},[_vm._v(\" \"+_vm._s(_vm.errors.message)+\" \")]):_vm._e(),_c('v-card',{staticClass:\"pt-0 pb-0 my-0 rounded-xl custom-elevation\",attrs:{\"loading\":_vm.isLoading}},[_c('v-card-text',[_c('v-form',{ref:\"changePasswordForm\",attrs:{\"lazy-validation\":\"\",\"value\":_vm.isValid,\"autocomplete\":\"off\"}},[_c('v-row',[(!_vm.isMobileViewPort)?_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('div',{staticClass:\"mt-8\"},[_vm._v(\" \"+_vm._s(_vm.$t('input.currentPasswordLabel'))+\" \"),_c('span',{staticClass:\"error--text\"},[_vm._v(\"*\")])])]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('v-text-field',{staticClass:\"mb-2\",attrs:{\"id\":\"currentPassword\",\"color\":\"indigo\",\"name\":\"currentPassword\",\"label\":_vm.isMobileViewPort ? _vm.$t('input.currentPasswordLabel') : '',\"disabled\":_vm.isLoading,\"append-icon\":_vm.showCurrentPassword ? 'mdi-eye-off' : 'mdi-eye',\"rules\":[_vm.rules.required],\"type\":_vm.showCurrentPassword ? 'text' : 'password',\"aria-autocomplete\":\"current-password\",\"autocomplete\":\"current-password\"},on:{\"input\":_vm.setFormChanged,\"click:append\":function($event){_vm.showCurrentPassword = !_vm.showCurrentPassword}},model:{value:(_vm.currentPassword),callback:function ($$v) {_vm.currentPassword=$$v},expression:\"currentPassword\"}})],1),(!_vm.isMobileViewPort)?_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('div',{staticClass:\"mt-8\"},[_vm._v(\" \"+_vm._s(_vm.$t('input.newPasswordLabel'))+\" \"),_c('span',{staticClass:\"error--text\"},[_vm._v(\"*\")])])]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('v-text-field',{staticClass:\"mb-2\",attrs:{\"id\":\"newPass\",\"color\":\"indigo\",\"label\":_vm.isMobileViewPort ? _vm.$t('input.newPasswordLabel') : '',\"name\":\"newPass\",\"disabled\":_vm.isLoading,\"append-icon\":_vm.showNewPass ? 'mdi-eye-off' : 'mdi-eye',\"rules\":[\n _vm.rules.required,\n _vm.rules.uppercase,\n _vm.rules.lowercase,\n _vm.rules.number,\n _vm.rules.special,\n _vm.rules.min ],\"type\":_vm.showNewPass ? 'text' : 'password',\"aria-autocomplete\":\"new-password\",\"autocomplete\":\"new-password\",\"counter\":\"\"},on:{\"input\":_vm.setFormChanged,\"click:append\":function($event){_vm.showNewPass = !_vm.showNewPass}},model:{value:(_vm.newPass),callback:function ($$v) {_vm.newPass=$$v},expression:\"newPass\"}}),_c('ThePasswordRulesIndicator',{class:_vm.isMobileViewPort ? 'mt-6 mb-4' : '',attrs:{\"password\":_vm.newPass,\"cols\":1}})],1)],1),_c('v-row',{attrs:{\"align\":\"center\"}},[(!_vm.isMobileViewPort)?_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"4\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('div',[_vm._v(\" \"+_vm._s(_vm.$t('input.confirmPasswordLabel'))+\" \"),_c('span',{staticClass:\"error--text\"},[_vm._v(\"*\")])])]):_vm._e(),_c('v-col',{attrs:{\"cols\":\"12\",\"md\":\"8\",\"sm\":\"12\",\"xs\":\"12\"}},[_c('v-text-field',{staticClass:\"mb-2\",attrs:{\"id\":\"confirmPass\",\"color\":\"indigo\",\"label\":_vm.isMobileViewPort ? _vm.$t('input.confirmPasswordLabel') : '',\"name\":\"confirmPass\",\"disabled\":_vm.isLoading,\"append-icon\":_vm.showConfirmPass ? 'mdi-eye-off' : 'mdi-eye',\"rules\":[_vm.rules.required, _vm.rules.passwordsMatch],\"type\":_vm.showConfirmPass ? 'text' : 'password',\"aria-autocomplete\":\"new-password\",\"autocomplete\":\"new-password\",\"counter\":\"\"},on:{\"input\":_vm.setFormChanged,\"click:append\":function($event){_vm.showConfirmPass = !_vm.showConfirmPass}},model:{value:(_vm.confirmPass),callback:function ($$v) {_vm.confirmPass=$$v},expression:\"confirmPass\"}})],1)],1)],1)],1),_c('v-card-actions',[_c('v-spacer'),_c('v-btn',{staticClass:\"rounded-lg\",attrs:{\"id\":\"back-to-settings-btn\",\"to\":{ name: 'settings' },\"text\":\"\",\"exact\":\"\",\"large\":\"\"}},[_vm._v(\" \"+_vm._s(_vm.$t('general.cancel'))+\" \")]),_c('v-btn',{staticClass:\"rounded-lg ml-auto\",attrs:{\"id\":\"change-password-button\",\"text\":\"\",\"color\":\"blue\",\"loading\":_vm.isLoading,\"disabled\":!_vm.isValid || !_vm.formChanged,\"large\":\"\"},on:{\"click\":_vm.updatePassword}},[_vm._v(\" \"+_vm._s(_vm.$t('general.save'))+\" \")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"password-rules-container\"}},[(!_vm.passwordCriteriaMet)?_c('div',{staticClass:\"d-flex\",attrs:{\"id\":\"password-rules-list\"}},_vm._l((_vm.columns),function(col,colIndex){return _c('div',{key:colIndex,staticClass:\"d-inline-block mr-12\"},_vm._l((col),function(rule){return _c('div',{key:rule.id,staticClass:\"mb-1\",attrs:{\"id\":rule.id}},[_c('v-icon',{attrs:{\"left\":\"\",\"x-small\":\"\",\"color\":rule.rule(_vm.password) ? '' : 'blue',\"data-rule-met\":rule.rule(_vm.password) ? 'true' : 'false'}},[_vm._v(\" mdi-circle \")]),_c('span',{class:(rule.rule(_vm.password)\n ? ''\n : _vm.isDarkMode\n ? 'white--text'\n : 'black--text',\n 'password-rules_text')},[_vm._v(\" \"+_vm._s(rule.title)+\" \")])],1)}),0)}),0):_c('v-alert',{staticClass:\"rounded-lg\",attrs:{\"id\":\"password-rules_sucess-alert\",\"type\":\"success\",\"text\":\"\"}},[_c('span',{staticClass:\"body-2\"},[_vm._v(\" \"+_vm._s(_vm.$t('password.rulesMetSuccessText'))+\" \")])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./the-password-rules-indicator.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!./the-password-rules-indicator.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./the-password-rules-indicator.vue?vue&type=template&id=cc62dcc4&\"\nimport script from \"./the-password-rules-indicator.vue?vue&type=script&lang=js&\"\nexport * from \"./the-password-rules-indicator.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\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VIcon } from 'vuetify/lib/components/VIcon';\ninstallComponents(component, {VAlert,VIcon})\n","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./change-password-container.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!./change-password-container.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./change-password-container.vue?vue&type=template&id=256b7369&\"\nimport script from \"./change-password-container.vue?vue&type=script&lang=js&\"\nexport * from \"./change-password-container.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\n/* vuetify-loader */\nimport installComponents from \"!../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VAlert } from 'vuetify/lib/components/VAlert';\nimport { VBtn } from 'vuetify/lib/components/VBtn';\nimport { VCard } from 'vuetify/lib/components/VCard';\nimport { VCardActions } from 'vuetify/lib/components/VCard';\nimport { VCardText } from 'vuetify/lib/components/VCard';\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VForm } from 'vuetify/lib/components/VForm';\nimport { VRow } from 'vuetify/lib/components/VGrid';\nimport { VSpacer } from 'vuetify/lib/components/VGrid';\nimport { VTextField } from 'vuetify/lib/components/VTextField';\ninstallComponents(component, {VAlert,VBtn,VCard,VCardActions,VCardText,VCol,VForm,VRow,VSpacer,VTextField})\n","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./settings-change-password.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!./settings-change-password.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./settings-change-password.vue?vue&type=template&id=51e783be&\"\nimport script from \"./settings-change-password.vue?vue&type=script&lang=js&\"\nexport * from \"./settings-change-password.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\n/* vuetify-loader */\nimport installComponents from \"!../../../../node_modules/vuetify-loader/lib/runtime/installComponents.js\"\nimport { VCol } from 'vuetify/lib/components/VGrid';\nimport { VRow } from 'vuetify/lib/components/VGrid';\ninstallComponents(component, {VCol,VRow})\n","import config from '@/common/config'\n\nexport default {\n data: function() {\n return {\n rules: {\n required: (v) => !!v || this.$t('input.inputRequiredValidationText'),\n min: (v) =>\n (!!v && v.length >= config.get('password.minChars')) ||\n this.$t('input.passwordRuleMinCharacters', {\n min: config.get('password.minChars'),\n }),\n uppercase: (v) =>\n (!!v && v.toLowerCase() !== v) ||\n this.$t('input.passwordRuleUpperCase'),\n lowercase: (v) =>\n (!!v && v.toUpperCase() !== v) ||\n this.$t('input.passwordRuleLowerCase'),\n number: (v) =>\n (!!v && /\\d/.test(v)) || this.$t('input.passwordRuleNumber'),\n passwordsMatch: (v) =>\n (!!v && v === this.newPass) || this.$t('input.passwordRuleMustMatch'),\n special: (v) =>\n (!!v && config.get('password.allowedCharsRegex').test(v)) ||\n this.$t('input.passwordRuleSpecialCharacter'),\n email: (v) =>\n /.+@.+/.test(v) || this.$t('input.emailRequiredValidationText'),\n },\n }\n },\n methods: {\n /**\n * Should be paired with this form definition \n * Use this submit helper if your form doesn't have a button inside of it\n * (@submit.prevent won't work if there isn't a button within the form)\n * @param {*} payload\n * @param {String} emit\n */\n submit(payload, emit = 'submit') {\n this.$emit(emit, payload)\n },\n },\n}\n"],"sourceRoot":""}