{"version":3,"sources":["webpack:///./src/modules/menu/components/modals/PasswordModal.vue","webpack:///src/modules/menu/components/modals/PasswordModal.vue","webpack:///./src/modules/menu/components/modals/PasswordModal.vue?8e3c","webpack:///./src/modules/menu/components/modals/PasswordModal.vue?ec81","webpack:///./src/modules/menu/components/modals/PasswordModal.vue?96d3","webpack:///../../../src/components/VForm/VForm.ts","webpack:///./src/lib/components/Checkbox/DfCheckbox.js","webpack:///./node_modules/@babel/runtime/helpers/esm/isNativeFunction.js","webpack:///./node_modules/@babel/runtime/helpers/esm/construct.js","webpack:///./node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js"],"names":["_c","_self","attrs","_vm","loading","scopedSlots","fn","ref","staticClass","required","model","callback","currentPassword","expression","newPassword","passwordConfirmation","key","on","clear","name","components","DfButton","DfInput","DfModal","props","firstLogin","default","type","Boolean","data","checkedTerm","equalPasswords","mandatoryPasswordCharacters","maxLength","minLength","termsOfUseError","computed","_objectSpread","mapGetters","areFieldsFilled","termsOfUseUrl","getTermsOfUse","getCountry","methods","mapActions","$refs","form","reset","checkbox","close","$emit","submit","_this","_asyncToGenerator","_regeneratorRuntime","mark","_callee","response","wrap","_context","prev","next","$t","validate","abrupt","authService","changePassword","currentUser","email","sent","status","deleteTemporaryPassword","id","fetchUserData","t0","console","error","finish","stop","toggleTermsOfUse","checked","component","staticRenderFns","mixins","BindsAttrs","RegistrableProvide","extend","provide","this","inheritAttrs","disabled","lazyValidation","readonly","value","inputs","watchers","errorBag","watch","handler","val","errors","Object","values","includes","deep","immediate","watchInput","input","watcher","$watch","$set","_uid","valid","shouldValidate","hasOwnProperty","filter","length","forEach","resetErrorBag","_this2","setTimeout","resetValidation","register","push","unregister","found","find","i","unwatch","$delete","render","h","_this3","novalidate","attrs$","e","getSlot","DfCheckbox","_HTMLElement","_classCallCheck","_callSuper","attachShadow","mode","_listenersAdded","_disabled","_originalColors","Map","shadowRoot","innerHTML","_inherits","_createClass","_","newValue","disableComponent","ableComponent","updateSlotTextColor","checkboxSizeObj","small","medium","large","iconSizeObj","querySelector","style","setProperty","_boundContainerClick","event","target","changeSelection","_boundCheckboxChange","dispatchEvent","CustomEvent","detail","bubbles","composed","slot","assignedNodes","node","nodeType","Node","ELEMENT_NODE","applyTextColor","restoreTextColor","_this4","textElements","nodeName","toLowerCase","has","originalColor","getComputedStyle","color","set","colors","colorTextDisabled","childNodes","childNode","_this5","get","delete","container","classList","remove","addEventListener","add","removeEventListener","_wrapNativeSuper","HTMLElement","customElements","define","_isNativeFunction","t","Function","toString","call","indexOf","n","_construct","r","isNativeReflectConstruct","Reflect","construct","apply","arguments","o","p","bind","setPrototypeOf","prototype","isNativeFunction","TypeError","Wrapper","getPrototypeOf","constructor","create","enumerable","writable","configurable"],"mappings":"yIAA4CA,EAAOC,WAAS,MAAU,KAAYC,EAAK,EAAC,S,OAAC,aAAa,C,MAAC,CAA+B,YAAsC,cAAe,EAAGC,GAAG,UAAY,kBAAcC,EAAO,gBAAC,kBAAe,aAA6B,kBAAG,MAAC,mC,GAA2B,CAAkB,wBAACC,MAAW,EAACF,O,YAA+B,EAADG,GAAW,E,IAAC,e,GAAqBC,W,MAAWC,UAAY,CAA0B,IAAK,OAAYN,YAAM,2B,CAAC,aAAO,C,MAAW,CAAa,KAAO,WAA+C,WAAqD,MAAQ,EAC1lB,GAACO,uCAGJ,iDAACC,MAAM,iF,MAA6BC,C,MAA6BC,kBAAmB,SAAC,YAACC,kBAAW,GAAqBb,WAAG,qBAAmB,aAAO,C,MAAW,CAAa,KAAO,WAA2C,WAAqD,MAAQ,EACvR,GAACS,mCAIJ,iDAACC,MAAM,uG,MAAyBC,C,MAA6BG,cAAe,SAAC,YAACD,cAAW,GAAiBb,WAAG,iBAAmB,aAAO,C,MAAW,CAAa,KAAO,WAA+C,WAAqD,MAAQ,EAC/Q,GAACS,uCAKJ,iDAACC,MAAM,gL,MAAkCC,C,MAA6BI,uBAAwB,SAAC,YAACF,uBAAW,GAA0Bb,WAAG,0BAA8BE,EAAK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ASuE,EAAkBC,GACzB,IACE,OAAQ,IAAMC,SAASC,SAASC,KAAKH,GAAGI,QAAQ,iBAChD,MAAOC,GACP,MAAO,mBAAqBL,G,oCCFhC,SAASM,EAAWN,EAAG1E,EAAGiF,GACxB,GAAIC,iBAA4B,OAAOC,QAAQC,UAAUC,MAAM,KAAMC,WACrE,IAAIC,EAAI,CAAC,MACTA,EAAEnG,KAAKiG,MAAME,EAAGvF,GAChB,IAAIwF,EAAI,IAAKd,EAAEe,KAAKJ,MAAMX,EAAGa,IAC7B,OAAON,GAAKS,eAAeF,EAAGP,EAAEU,WAAYH,ECH9C,SAASnB,EAAiBK,GACxB,IAAIO,EAAI,mBAAqBtE,IAAM,IAAIA,SAAQ,EAC/C,OAAO0D,EAAmB,SAA0BK,GAClD,GAAI,OAASA,IAAMkB,EAAiBlB,GAAI,OAAOA,EAC/C,GAAI,mBAAqBA,EAAG,MAAM,IAAImB,UAAU,sDAChD,QAAI,IAAWZ,EAAG,CAChB,GAAIA,EAAE9B,IAAIuB,GAAI,OAAOO,EAAEpB,IAAIa,GAC3BO,EAAE1B,IAAImB,EAAGoB,GAEX,SAASA,IACP,OAAOV,EAAUV,EAAGY,UAAWS,eAAe9I,MAAM+I,aAEtD,OAAOF,EAAQH,UAAY7H,OAAOmI,OAAOvB,EAAEiB,UAAW,CACpDK,YAAa,CACX1I,MAAOwI,EACPI,YAAY,EACZC,UAAU,EACVC,cAAc,KAEdV,eAAeI,EAASpB,IAC3BL,EAAiBK","file":"js/chunk-163363d2.ef60c2fe.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('df-modal',{attrs:{\"width\":\"450\",\"action-name\":_vm.$t('salvar'),\"disable-action\":!_vm.areFieldsFilled,\"disable-close\":!!_vm.firstLogin,\"loading\":_vm.loading,\"title\":_vm.$t('trocar_senha.trocar_senha')},on:{\"action-click\":_vm.submit,\"close\":_vm.close},scopedSlots:_vm._u([{key:\"card-content\",fn:function(){return [_c('v-form',{ref:\"form\",staticClass:\"df-flex-xxl df-flex-col\"},[_c('df-input',{attrs:{\"type\":\"password\",\"counter\":20,\"label\":_vm.$t('Menu.PasswordModal.current_password'),\"placeholder\":_vm.$t('Menu.PasswordModal.type_here'),\"rules\":[\n _vm.required,\n _vm.minLength(_vm.currentPassword, 8),\n _vm.maxLength(_vm.currentPassword, 20),\n ]},model:{value:(_vm.currentPassword),callback:function ($$v) {_vm.currentPassword=$$v},expression:\"currentPassword\"}}),_c('df-input',{attrs:{\"type\":\"password\",\"counter\":20,\"label\":_vm.$t('Menu.PasswordModal.new_password'),\"placeholder\":_vm.$t('Menu.PasswordModal.type_here'),\"rules\":[\n _vm.required,\n _vm.minLength(_vm.newPassword, 8),\n _vm.mandatoryPasswordCharacters,\n _vm.maxLength(_vm.newPassword, 20),\n ]},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}}),_c('df-input',{attrs:{\"type\":\"password\",\"counter\":20,\"label\":_vm.$t('Menu.PasswordModal.confirm_password'),\"placeholder\":_vm.$t('Menu.PasswordModal.type_here'),\"rules\":[\n _vm.required,\n _vm.minLength(_vm.passwordConfirmation, 8),\n _vm.mandatoryPasswordCharacters,\n _vm.equalPasswords(_vm.newPassword, _vm.passwordConfirmation),\n _vm.maxLength(_vm.passwordConfirmation, 20),\n ]},model:{value:(_vm.passwordConfirmation),callback:function ($$v) {_vm.passwordConfirmation=$$v},expression:\"passwordConfirmation\"}}),_c('df-checkbox',{ref:\"checkbox\",attrs:{\"size\":\"large\"},on:{\"change\":(event) => _vm.toggleTermsOfUse(event.detail)}},[_c('div',{staticClass:\"df-flex-xs df-flex-col terms-of-use\"},[_c('a',{attrs:{\"href\":_vm.termsOfUseUrl,\"target\":\"_blank\"}},[_vm._v(\" \"+_vm._s(_vm.$t('trocar_senha.acesse_termos'))+\" \")]),(_vm.termsOfUseError)?_c('p',[_vm._v(\" \"+_vm._s(_vm.termsOfUseError)+\" \")]):_vm._e()])])],1)]},proxy:true},{key:\"actions\",fn:function(){return [_c('df-button',{on:{\"click\":_vm.clear}},[_vm._v(\" \"+_vm._s(_vm.$t('limpar'))+\" \")])]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \n \n \n \n \n toggleTermsOfUse(event.detail)\"\n >\n \n \n {{ $t('trocar_senha.acesse_termos') }}\n \n \n {{ termsOfUseError }}\n \n \n \n \n \n \n \n {{ $t('limpar') }}\n \n \n \n\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!./PasswordModal.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!./PasswordModal.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PasswordModal.vue?vue&type=template&id=4520b022&scoped=true\"\nimport script from \"./PasswordModal.vue?vue&type=script&lang=js\"\nexport * from \"./PasswordModal.vue?vue&type=script&lang=js\"\nimport style0 from \"./PasswordModal.vue?vue&type=style&index=0&id=4520b022&prod&lang=scss&scoped=true\"\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 \"4520b022\",\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!./PasswordModal.vue?vue&type=style&index=0&id=4520b022&prod&lang=scss&scoped=true\"","// 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'\nimport { getSlot } from '../../util/helpers'\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 }, getSlot(this))\n },\n})\n","import colors from '@/assets/styles/__colors.module.scss'\n\nclass DfCheckbox extends HTMLElement {\n static get observedAttributes() {\n return ['disabled', 'size']\n }\n\n attributeChangedCallback(name, _, newValue) {\n if (name === 'disabled') {\n this._disabled = newValue === 'true'\n\n if (this._disabled) {\n this.disableComponent()\n } else {\n this.ableComponent()\n }\n\n this.updateSlotTextColor()\n }\n\n if (name === 'size') {\n const checkboxSizeObj = {\n small: '12px',\n medium: '16px',\n large: '20px',\n }\n const iconSizeObj = {\n small: '8px',\n medium: '12px',\n large: '16px',\n }\n\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n checkbox.style.setProperty('--checkbox-height', checkboxSizeObj[newValue])\n checkbox.style.setProperty('--checkbox-width', checkboxSizeObj[newValue])\n checkbox.style.setProperty('--checkbox-font-size', iconSizeObj[newValue])\n }\n }\n\n connectedCallback() {\n if (this._listenersAdded) return\n this._listenersAdded = true\n\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n\n this._boundContainerClick = (event) => {\n if (event.target !== checkbox) {\n checkbox.checked = !checkbox.checked\n this.changeSelection()\n }\n }\n\n this._boundCheckboxChange = () => {\n this.changeSelection()\n }\n\n if (this._disabled) {\n this.disableComponent()\n } else {\n this.ableComponent()\n }\n }\n\n disconnectedCallback() {\n if (!this._listenersAdded) return\n this.disableComponent()\n this._listenersAdded = false\n }\n\n changeSelection() {\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n this.dispatchEvent(\n new CustomEvent('change', {\n detail: checkbox.checked,\n bubbles: true,\n composed: true,\n })\n )\n }\n\n reset() {\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n\n checkbox.checked = false\n this.changeSelection()\n }\n\n updateSlotTextColor() {\n const slot = this.shadowRoot.querySelector('slot')\n const assignedNodes = slot.assignedNodes()\n\n assignedNodes.forEach((node) => {\n if (node.nodeType === Node.ELEMENT_NODE) {\n if (this._disabled) {\n this.applyTextColor(node)\n } else {\n this.restoreTextColor(node)\n }\n }\n })\n }\n\n applyTextColor(node) {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const textElements = ['h1', 'h2', 'h3', 'h4', 'h5', 'p', 'span']\n\n if (textElements.includes(node.nodeName.toLowerCase())) {\n if (!this._originalColors.has(node)) {\n const originalColor = getComputedStyle(node).color\n this._originalColors.set(node, originalColor)\n }\n node.style.color = colors.colorTextDisabled\n }\n\n node.childNodes.forEach((childNode) => {\n this.applyTextColor(childNode)\n })\n }\n }\n\n restoreTextColor(node) {\n if (node.nodeType === Node.ELEMENT_NODE) {\n const textElements = ['h1', 'h2', 'h3', 'h4', 'h5', 'p', 'span']\n\n if (textElements.includes(node.nodeName.toLowerCase())) {\n if (this._originalColors.has(node)) {\n const originalColor = this._originalColors.get(node)\n node.style.color = originalColor\n this._originalColors.delete(node)\n }\n }\n\n node.childNodes.forEach((childNode) => {\n this.restoreTextColor(childNode)\n })\n }\n }\n\n ableComponent() {\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n const container = this.shadowRoot.querySelector('.df-checkbox')\n\n container.classList.remove('disabled')\n checkbox.classList.remove('disabled')\n checkbox.disabled = false\n\n if (this._boundContainerClick && this._boundCheckboxChange) {\n container.addEventListener('click', this._boundContainerClick)\n checkbox.addEventListener('change', this._boundCheckboxChange)\n }\n }\n\n disableComponent() {\n const checkbox = this.shadowRoot.querySelector('#checkbox')\n const container = this.shadowRoot.querySelector('.df-checkbox')\n\n container.classList.add('disabled')\n checkbox.classList.add('disabled')\n checkbox.disabled = true\n\n if (this._boundContainerClick && this._boundCheckboxChange) {\n container.removeEventListener('click', this._boundContainerClick)\n checkbox.removeEventListener('change', this._boundCheckboxChange)\n }\n }\n\n constructor() {\n super()\n this.attachShadow({ mode: 'open' })\n this._listenersAdded = false\n this._disabled = false\n this._originalColors = new Map()\n\n this.shadowRoot.innerHTML = `\n \n \n \n \n \n `\n }\n}\n\ncustomElements.define('df-checkbox', DfCheckbox)\n","function _isNativeFunction(t) {\n try {\n return -1 !== Function.toString.call(t).indexOf(\"[native code]\");\n } catch (n) {\n return \"function\" == typeof t;\n }\n}\nexport { _isNativeFunction as default };","import isNativeReflectConstruct from \"./isNativeReflectConstruct.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nfunction _construct(t, e, r) {\n if (isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments);\n var o = [null];\n o.push.apply(o, e);\n var p = new (t.bind.apply(t, o))();\n return r && setPrototypeOf(p, r.prototype), p;\n}\nexport { _construct as default };","import getPrototypeOf from \"./getPrototypeOf.js\";\nimport setPrototypeOf from \"./setPrototypeOf.js\";\nimport isNativeFunction from \"./isNativeFunction.js\";\nimport construct from \"./construct.js\";\nfunction _wrapNativeSuper(t) {\n var r = \"function\" == typeof Map ? new Map() : void 0;\n return _wrapNativeSuper = function _wrapNativeSuper(t) {\n if (null === t || !isNativeFunction(t)) return t;\n if (\"function\" != typeof t) throw new TypeError(\"Super expression must either be null or a function\");\n if (void 0 !== r) {\n if (r.has(t)) return r.get(t);\n r.set(t, Wrapper);\n }\n function Wrapper() {\n return construct(t, arguments, getPrototypeOf(this).constructor);\n }\n return Wrapper.prototype = Object.create(t.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: !1,\n writable: !0,\n configurable: !0\n }\n }), setPrototypeOf(Wrapper, t);\n }, _wrapNativeSuper(t);\n}\nexport { _wrapNativeSuper as default };"],"sourceRoot":""}
\n {{ termsOfUseError }}\n