{"version":3,"sources":["webpack:///./node_modules/bootstrap-vue/esm/components/form/form.js","webpack:///./src/views/pages/authentication/ResetPassword.vue","webpack:///./src/views/pages/authentication/ResetPassword.vue?3fab","webpack:///./src/views/pages/authentication/ResetPassword.vue?42aa","webpack:///./src/views/pages/authentication/ResetPassword.vue?290e","webpack:///./src/views/pages/authentication/ResetPassword.vue?4831","webpack:///./src/@core/utils/validations/validators.js","webpack:///./src/@core/utils/validations/validations.js","webpack:///./node_modules/bootstrap-vue/esm/components/card/card-text.js"],"names":["props","id","inline","novalidate","validated","BForm","extend","name","functional","render","h","_ref","data","children","class","attrs","_vm","this","_c","_self","_setupProxy","staticClass","_v","_s","getAssociation","ref","on","$event","preventDefault","validationForm","apply","arguments","scopedSlots","_u","key","fn","errors","length","password1FieldType","model","value","password","callback","$$v","expression","password1ToggleIcon","togglePassword1Visibility","_ref2","password2FieldType","cPassword","password2ToggleIcon","togglePassword2Visibility","query","$route","staticRenderFns","ResetPassword","_Vue","_this","_classCallCheck","$refs","simpleRules","userEmail","required","_inherits","_createClass","get","localStorage","getItem","_this2","validate","then","success","recoverInfo","$store","getters","useAdministrator","requestSaveNewPassword","codigo","code","email","novaSenha","$toast","component","ToastificationContent","title","icon","variant","$router","push","catch","error","_error$response$data","response","Vue","__decorate","Component","components","VonaLogo","BCard","BButton","BCardTitle","BCardText","BFormGroup","BInputGroup","RouterLink","BFormInput","BInputGroupAppend","ValidationProvider","ValidationObserver","validatorPositive","validatorPassword","regExp","validPassword","test","validatorCreditCard","creditnum","cRegExp","validCreditCard","validatorUrlValidator","val","undefined","re","rule_required","rule_email","rule_min","rule_confirmed","rule_regex","rule_between","rule_alpha","rule_integer","rule_digits","rule_alpha_dash","rule_alpha_num","rule_length","message","localize","en","messages","names","fields","min","ar","textTag"],"mappings":"kHAAA,kGAKWA,EAAQ,eAAsB,CACvCC,GAAI,eAAS,QACbC,OAAQ,eAAS,QAAmB,GACpCC,WAAY,eAAS,QAAmB,GACxCC,UAAW,eAAS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b4.f56846f0.js","sourcesContent":["import { Vue, mergeData } from '../../vue';\nimport { NAME_FORM } from '../../constants/components';\nimport { PROP_TYPE_BOOLEAN, PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n id: makeProp(PROP_TYPE_STRING),\n inline: makeProp(PROP_TYPE_BOOLEAN, false),\n novalidate: makeProp(PROP_TYPE_BOOLEAN, false),\n validated: makeProp(PROP_TYPE_BOOLEAN, false)\n}, NAME_FORM); // --- Main component ---\n// @vue/component\n\nexport var BForm = /*#__PURE__*/Vue.extend({\n name: NAME_FORM,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h('form', mergeData(data, {\n class: {\n 'form-inline': props.inline,\n 'was-validated': props.validated\n },\n attrs: {\n id: props.id,\n novalidate: props.novalidate\n }\n }), children);\n }\n});","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"auth-wrapper auth-v1 px-2\"},[_c('div',{staticClass:\"auth-inner py-2\"},[_c('b-card',{staticClass:\"mb-0\"},[_c('RouterLink',{staticClass:\"brand-logo\"},[_c('vona-logo'),_c('h2',{staticClass:\"brand-text text-primary ml-1\"},[_vm._v(_vm._s(_vm.getAssociation))])],1),_c('b-card-title',{staticClass:\"mb-1\"},[_vm._v(\" Redefinir Senha 馃敀 \")]),_c('b-card-text',{staticClass:\"mb-2\"},[_vm._v(\" Sua nova senha deve ser diferente das senhas usadas anteriormente \")]),_c('validation-observer',{ref:\"simpleRules\"},[_c('b-form',{staticClass:\"auth-reset-password-form mt-2\",attrs:{\"method\":\"POST\"},on:{\"submit\":function($event){$event.preventDefault();return _vm.validationForm.apply(null, arguments)}}},[_c('b-form-group',{attrs:{\"label\":\"Nova senha\",\"label-for\":\"reset-password-new\"}},[_c('validation-provider',{attrs:{\"name\":\"Senha\",\"vid\":\"Password\",\"rules\":\"required|password|min:6|max:20\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-input-group',{staticClass:\"input-group-merge\",class:errors.length > 0 ? 'is-invalid' : null},[_c('b-form-input',{staticClass:\"form-control-merge\",attrs:{\"id\":\"reset-password-new\",\"type\":_vm.password1FieldType,\"state\":errors.length > 0 ? false : null,\"name\":\"reset-password-new\",\"placeholder\":\"路路路路路路路路路路路路\"},model:{value:(_vm.password),callback:function ($$v) {_vm.password=$$v},expression:\"password\"}}),_c('b-input-group-append',{attrs:{\"is-text\":\"\"}},[_c('feather-icon',{staticClass:\"cursor-pointer\",attrs:{\"icon\":_vm.password1ToggleIcon},on:{\"click\":_vm.togglePassword1Visibility}})],1)],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-form-group',{attrs:{\"label-for\":\"reset-password-confirm\",\"label\":\"Confirmar Senha\"}},[_c('validation-provider',{attrs:{\"name\":\"Confirmar Senha\",\"rules\":\"required|confirmed:Password\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('b-input-group',{staticClass:\"input-group-merge\",class:errors.length > 0 ? 'is-invalid' : null},[_c('b-form-input',{staticClass:\"form-control-merge\",attrs:{\"id\":\"reset-password-confirm\",\"type\":_vm.password2FieldType,\"state\":errors.length > 0 ? false : null,\"name\":\"reset-password-confirm\",\"placeholder\":\"路路路路路路路路路路路路\"},model:{value:(_vm.cPassword),callback:function ($$v) {_vm.cPassword=$$v},expression:\"cPassword\"}}),_c('b-input-group-append',{attrs:{\"is-text\":\"\"}},[_c('feather-icon',{staticClass:\"cursor-pointer\",attrs:{\"icon\":_vm.password2ToggleIcon},on:{\"click\":_vm.togglePassword2Visibility}})],1)],1),_c('small',{staticClass:\"text-danger\"},[_vm._v(_vm._s(errors[0]))])]}}])})],1),_c('b-button',{attrs:{\"block\":\"\",\"type\":\"submit\",\"variant\":\"primary\"}},[_vm._v(\" Definir nova senha \")])],1)],1),_c('p',{staticClass:\"text-center mt-2\"},[_c('RouterLink',{attrs:{\"to\":{ name: 'auth-login-v1', query: _vm.$route.query }}},[_c('feather-icon',{attrs:{\"icon\":\"ChevronLeftIcon\"}}),_vm._v(\" Voltar ao login \")],1)],1)],1)],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n// Services\nimport { useAdministrator } from \"@/services\";\n// Interfaces\nimport { IRecoverPassword } from \"@/store/administrative/users/usersState\";\nimport ToastificationContent from \"@core/components/toastification/ToastificationContent.vue\";\nimport VonaLogo from \"@core/layouts/components/Logo.vue\";\nimport { required } from \"@validations\";\nimport {\n BButton,\n BCard,\n BCardText,\n BCardTitle,\n BForm,\n BFormGroup,\n BFormInput,\n BInputGroup,\n BInputGroupAppend,\n} from \"bootstrap-vue\";\nimport { ValidationObserver, ValidationProvider } from \"vee-validate\";\nimport { Component, Vue } from \"vue-property-decorator\";\nimport { RouterLink } from \"vue-router\";\n\n@Component({\n components: {\n VonaLogo,\n BCard,\n BButton,\n BCardTitle,\n BCardText,\n BForm,\n BFormGroup,\n BInputGroup,\n RouterLink,\n BFormInput,\n BInputGroupAppend,\n ValidationProvider,\n ValidationObserver,\n },\n})\nexport default class ResetPassword extends Vue {\n // Data\n $refs = {\n simpleRules: {} as any,\n };\n userEmail: string = \"\";\n cPassword: string = \"\";\n password: string = \"\";\n // validation\n required = required;\n\n // Toggle Password\n password1FieldType: string = \"password\";\n password2FieldType: string = \"password\";\n\n // Computeds\n get password1ToggleIcon(): string {\n return this.password1FieldType === \"password\" ? \"EyeIcon\" : \"EyeOffIcon\";\n }\n\n get password2ToggleIcon(): string {\n return this.password2FieldType === \"password\" ? \"EyeIcon\" : \"EyeOffIcon\";\n }\n\n get getAssociation(): string {\n return localStorage.getItem(\"domain\") || \"Vona\";\n }\n\n // Methods\n togglePassword1Visibility() {\n this.password1FieldType =\n this.password1FieldType === \"password\" ? \"text\" : \"password\";\n }\n\n togglePassword2Visibility() {\n this.password2FieldType =\n this.password2FieldType === \"password\" ? \"text\" : \"password\";\n }\n\n validationForm() {\n this.$refs.simpleRules.validate().then((success: boolean) => {\n if (success) {\n const recoverInfo: IRecoverPassword =\n this.$store.getters[\"admin-users/GET_RECOVER_PASSWORD\"];\n\n useAdministrator\n .requestSaveNewPassword({\n codigo: recoverInfo.code,\n email: recoverInfo.email,\n novaSenha: this.password,\n })\n .then(() => {\n this.$toast({\n component: ToastificationContent,\n props: {\n title: \"Senha redefinida com sucesso!\",\n icon: \"EditIcon\",\n variant: \"success\",\n },\n });\n\n return this.$router.push({\n name: \"auth-login\",\n query: this.$route.query,\n });\n })\n .catch((error: any) => {\n let title = \"N茫o foi poss铆vel redefinir sua senha\";\n if (error.response.data?.errors) {\n if (error.response.data.errors.length > 0) {\n title = error.response.data.errors[0];\n }\n }\n\n this.$toast({\n component: ToastificationContent,\n props: {\n title: title,\n icon: \"AlertTriangleIcon\",\n variant: \"danger\",\n },\n });\n });\n }\n });\n }\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPassword.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--14-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPassword.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ResetPassword.vue?vue&type=template&id=67204cf9\"\nimport script from \"./ResetPassword.vue?vue&type=script&lang=ts\"\nexport * from \"./ResetPassword.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ResetPassword.vue?vue&type=style&index=0&id=67204cf9&prod&lang=scss\"\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","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ResetPassword.vue?vue&type=style&index=0&id=67204cf9&prod&lang=scss\"","export const validatorPositive = value => {\n if (value >= 0) {\n return true\n }\n return false\n}\n\nexport const validatorPassword = password => {\n /* eslint-disable no-useless-escape */\n const regExp = /(?=.*\\d)(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%&*()]).{8,}/\n /* eslint-enable no-useless-escape */\n const validPassword = regExp.test(password)\n return validPassword\n}\n\nexport const validatorCreditCard = creditnum => {\n /* eslint-disable no-useless-escape */\n const cRegExp = /^(?:3[47][0-9]{13})$/\n /* eslint-enable no-useless-escape */\n const validCreditCard = cRegExp.test(creditnum)\n return validCreditCard\n}\n\nexport const validatorUrlValidator = val => {\n if (val === undefined || val === null || val.length === 0) {\n return true\n }\n /* eslint-disable no-useless-escape */\n const re = /^(http[s]?:\\/\\/){0,1}(www\\.){0,1}[a-zA-Z0-9\\.\\-]+\\.[a-zA-Z]{2,5}[\\.]{0,1}/\n /* eslint-enable no-useless-escape */\n return re.test(val)\n}\n","import { extend, localize } from \"vee-validate\";\nimport {\n required as rule_required,\n email as rule_email,\n min as rule_min,\n confirmed as rule_confirmed,\n regex as rule_regex,\n between as rule_between,\n alpha as rule_alpha,\n integer as rule_integer,\n digits as rule_digits,\n alpha_dash as rule_alpha_dash,\n alpha_num as rule_alpha_num,\n length as rule_length,\n} from \"vee-validate/dist/rules\";\nimport ar from \"vee-validate/dist/locale/ar.json\";\nimport en from \"vee-validate/dist/locale/en.json\";\n\n// eslint-disable-next-line object-curly-newline\nimport {\n validatorPositive,\n validatorUrlValidator,\n validatorPassword,\n validatorCreditCard,\n} from \"./validators\";\n\n// ////////////////////////////////////////////////////////\n// General\n// ////////////////////////////////////////////////////////\n\nexport const required = extend(\"required\", rule_required);\n\nexport const email = extend(\"email\", rule_email);\n\nexport const min = extend(\"min\", rule_min);\n\nexport const confirmed = extend(\"confirmed\", rule_confirmed);\n\nexport const regex = extend(\"regex\", rule_regex);\n\nexport const between = extend(\"between\", rule_between);\n\nexport const alpha = extend(\"alpha\", rule_alpha);\n\nexport const integer = extend(\"integer\", rule_integer);\n\nexport const digits = extend(\"digits\", rule_digits);\n\nexport const alphaDash = extend(\"alpha-dash\", rule_alpha_dash);\n\nexport const alphaNum = extend(\"alpha-num\", rule_alpha_num);\n\nexport const length = extend(\"length\", rule_length);\n\nexport const positive = extend(\"positive\", {\n validate: validatorPositive,\n message: \"Please enter positive number!\",\n});\n\nexport const credit = extend(\"credit-card\", {\n validate: validatorCreditCard,\n message: \"It is not valid credit card!\",\n});\n\nexport const password = extend(\"password\", {\n validate: validatorPassword,\n message:\n \"Sua {_field_} deve conter pelo menos 8 caracteres, uma letra mai煤scula, uma min煤scula, um caractere especial e um d铆gito\",\n});\n\nexport const url = extend(\"url\", {\n validate: validatorUrlValidator,\n message: \"URL is invalid\",\n});\n\n// Install English and Arabic localizations.\nlocalize({\n en: {\n messages: en.messages,\n names: {\n email: \"Email\",\n password: \"Password\",\n },\n fields: {\n password: {\n min: \"{_field_} is too short, you want to get hacked?\",\n },\n },\n },\n ar: {\n messages: ar.messages,\n names: {\n email: \"丕賱亘乇賷丿 丕賱廿賱賰鬲乇賵賳賷\",\n password: \"賰賱賲丞 丕賱爻乇\",\n },\n fields: {\n password: {\n min: \"賰賱賲丞 丕賱爻乇 賯氐賷乇丞 噩丿丕賸 爻賷鬲賲 丕禺鬲乇丕賯賰\",\n },\n },\n },\n});\n// ////////////////////////////////////////////////////////\n// NOTE:\n// Quasar validation for reference only\n// Remove this note once development is finished and make sure to\n// to convert all of them in veevalidate version\n// ////////////////////////////////////////////////////////\n\n// export const required = (val) => {\n// return (val && val.length > 0) || '*Field is required'\n// }\n\n// export const required_obj = (obj) => {\n// if (obj === null || obj === undefined) return '*Field is required'\n// return (Object.entries(obj).length > 0 && obj.constructor === Object) || '*Field is required'\n// }\n\n// export const no_blank_spaces_arr = (arr) => {\n// return arr.every(val => (val.trim() && val.trim().length > 0)) || 'Blank Spaces are not allowed'\n// }\n\n// export const url = val => {\n// // If blank return\n// if (val === undefined || val === null || val.length === 0) return true\n\n// // Used\n// // https://stackoverflow.com/questions/4314741/url-regex-validation\n\n// // Other\n// // https://stackoverflow.com/questions/5717093/check-if-a-javascript-string-is-a-url\n// // https://www.w3resource.com/javascript-exercises/javascript-regexp-exercise-9.php\n// // https://www.geeksforgeeks.org/how-to-validate-url-using-regular-expression-in-javascript/\n\n// /* eslint-disable no-useless-escape */\n// const re = /^(http[s]?:\\/\\/){0,1}(www\\.){0,1}[a-zA-Z0-9\\.\\-]+\\.[a-zA-Z]{2,5}[\\.]{0,1}/\n// /* eslint-enable no-useless-escape */\n// return re.test(val) || 'URL is invalid'\n// }\n\n// export const date = val => {\n\n// // If blank return\n// if (val === undefined || val === null || val.length === 0) return true\n\n// // https://github.com/quasarframework/quasar/blob/dev/ui/src/utils/patterns.js\n// return /^-?[\\d]+\\/[0-1]\\d\\/[0-3]\\d$/.test(val) || 'Date is invalid'\n// }\n\n// export const max = (val, max) => {\n\n// // If blank return\n// if (val === undefined || val === null) return true\n\n// return val.length <= max || `More than ${max} characters are not allowed`\n// }\n\n// export const max_arr = (val, max) => {\n// return val.length <= max || `More than ${max} values are not allowed`\n// }\n\n// export const min = (val, min) => {\n\n// // If blank return\n// if (val === undefined || val === null || val.length === 0) return true\n\n// return val.length >= min || `Minimum ${min} characters are required`\n// }\n\n// export const num_range = (val, min, max) => {\n\n// // If blank return\n// if (val === undefined || val === null || val.length === 0) return true\n\n// const msg = 'Value is invalid'\n// if (min === null) return val <= max || msg\n// else if (max === null) return val >= min || msg\n// else return (val >= min && val <= max) || msg\n// }\n","import { Vue, mergeData } from '../../vue';\nimport { NAME_CARD_TEXT } from '../../constants/components';\nimport { PROP_TYPE_STRING } from '../../constants/props';\nimport { makeProp, makePropsConfigurable } from '../../utils/props'; // --- Props ---\n\nexport var props = makePropsConfigurable({\n textTag: makeProp(PROP_TYPE_STRING, 'p')\n}, NAME_CARD_TEXT); // --- Main component ---\n// @vue/component\n\nexport var BCardText = /*#__PURE__*/Vue.extend({\n name: NAME_CARD_TEXT,\n functional: true,\n props: props,\n render: function render(h, _ref) {\n var props = _ref.props,\n data = _ref.data,\n children = _ref.children;\n return h(props.textTag, mergeData(data, {\n staticClass: 'card-text'\n }), children);\n }\n});"],"sourceRoot":""}