{"version":3,"sources":["webpack:///./node_modules/quasar/src/components/form/QForm.js","webpack:///./src/modules/main/pages/account/children/bank-account-type-pix.vue?cc86","webpack:///./src/modules/main/pages/account/children/bank-account-type-pix.vue","webpack:///./src/modules/main/pages/account/children/bank-account-type-pix.vue?3fdc","webpack:///./src/modules/main/pages/account/children/bank-account-type-pix.vue?ed34"],"names":["createComponent","name","props","autofocus","Boolean","noErrorFocus","noResetFocus","greedy","onSubmit","Function","emits","setup","slots","emit","vm","getCurrentInstance","rootRef","ref","validateIndex","registeredComponents","validate","shouldFocus","focus","index","emitEvent","res","validateComponent","comp","valid","then","err","Promise","resolve","errorsPromise","all","map","filter","r","reduce","acc","reject","catch","error","errors","length","console","activeError","find","vmIsDestroyed","$","resetValidation","forEach","submit","evt","stopAndPrevent","val","target","reset","nextTick","addFocusFn","value","querySelector","Array","prototype","call","querySelectorAll","el","tabIndex","preventScroll","provide","formKey","bindComponent","vmProxy","push","unbindComponent","indexOf","splice","shouldActivate","onDeactivated","onActivated","onMounted","Object","assign","proxy","getValidationComponents","h","class","onReset","hSlot","default","_createElementBlock","_createVNode","_component_q_form","$setup","_component_q_card_section","_component_q_select","filled","color","options","pix_types","pix_selected","$event","onChangeSelectedPix","label","prepend","_withCtx","_component_q_icon","_Fragment","_renderList","structureForm","structure","key","_createBlock","_component_q_input","clearable","debounce","type","mask","dense","_ctx","$q","platform","is","mobile","maxlength","disable","verifyPix","currentValue","rules","v","$t","icon","_component_q_btn","outline","loading","in_request","useGetters","createNamespacedHelpers","schema","pix_cpf_cnpj","form_in_request","pix_account","partner","updateUserPartnerPix","validatePix","useActions","getPartnerTypes","pf_pj","fieldsDefinitions","getFieldsDefinitionsPix","reactive","getStructure","keys","buildSchema","selected","build","getMappedFields","content","includes","localStorage","getItem","isPhone","isCpfOrCnpj","replace","notifySuccess","finally","labels"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAA0G;AAE3C;AACV;AACY;AACZ;AACG;AACC;AAE1CA,+IAAe,CA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AAM;MACrB,MAAM;UAAEoD;QAAM,IAAIwC,YAAY,CAACxC,KAAK;QAClCqG,OAAM,GAAIrG,KAAI,KAAM,OAAO;QAC3BsG,WAAU,GAAItG,KAAI,KAAM,KAAI,IAAKA,KAAI,KAAM,MAAM;MAEnD,MAAMiG,OAAM,GAAII,OAAM,GAClBlC,YAAY,CAACnE,KAAK,CAACuG,OAAO,CAAC,SAAS,EAAE,EAAE,IACxCD,WAAU,GACVvB,YAAY,CAAC/E,KAAI,GACjBmE,YAAY,CAACnE,KAAK;MAEtB2E,UAAU,CAAC3E,KAAI,GAAI,IAAI;MACvBmF,oBAAoB,CAAC;QAAE3B,IAAI,EAAExD,KAAK;QAAEiG,OAAO,EAAEA;MAAQ,CAAC,EACnDhI,IAAI,CAAC,MAAM;QACVuI,4EAAa,CAAC,sCAAsC,CAAC;MACvD,CAAC,EACAC,OAAO,CAAC,MAAO9B,UAAU,CAAC3E,KAAI,GAAI,KAAM,CAAC;IAC9C,CAAC;IAEDoB,qDAAS,CACP,MAAO2D,YAAY,CAAC/E,KAAI,GAAImG,YAAY,CAACC,OAAO,CAAC,kBAAkB,CACrE,CAAC;IAED,OAAO;MACLlB,OAAO;MACPF,eAAe;MACfL,UAAU;MACV+B,mEAAM;MACN5B,MAAM;MACN7B,aAAa;MACb8B,YAAY;MACZxC,SAAS;MACTC,YAAY;MACZ2B,YAAY;MACZD,SAAS;MACTtH,QAAQ;MACRiJ,WAAW;MACXT,WAAW;MACX1C;IACF,CAAC;EACH;AACF,CAAC,E;;;;;;;;;;;;AEjKD;AAAA;AAAA;AAAA;AAAA,wCAAglB,C","file":"js/chunk-49b57bb2.da7be499.js","sourcesContent":["import { h, ref, onActivated, onDeactivated, onMounted, getCurrentInstance, nextTick, provide } from 'vue'\n\nimport { createComponent } from '../../utils/private/create.js'\nimport { stopAndPrevent } from '../../utils/event.js'\nimport { addFocusFn } from '../../utils/private/focus-manager.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { formKey } from '../../utils/private/symbols.js'\nimport { vmIsDestroyed } from '../../utils/private/vm.js'\n\nexport default createComponent({\n name: 'QForm',\n\n props: {\n autofocus: Boolean,\n noErrorFocus: Boolean,\n noResetFocus: Boolean,\n greedy: Boolean,\n\n onSubmit: Function\n },\n\n emits: [ 'reset', 'validationSuccess', 'validationError' ],\n\n setup (props, { slots, emit }) {\n const vm = getCurrentInstance()\n const rootRef = ref(null)\n\n let validateIndex = 0\n const registeredComponents = []\n\n function validate (shouldFocus) {\n const focus = typeof shouldFocus === 'boolean'\n ? shouldFocus\n : props.noErrorFocus !== true\n\n const index = ++validateIndex\n\n const emitEvent = (res, ref) => {\n emit('validation' + (res === true ? 'Success' : 'Error'), ref)\n }\n\n const validateComponent = comp => {\n const valid = comp.validate()\n\n return typeof valid.then === 'function'\n ? valid.then(\n valid => ({ valid, comp }),\n err => ({ valid: false, comp, err })\n )\n : Promise.resolve({ valid, comp })\n }\n\n const errorsPromise = props.greedy === true\n ? Promise\n .all(registeredComponents.map(validateComponent))\n .then(res => res.filter(r => r.valid !== true))\n : registeredComponents\n .reduce(\n (acc, comp) => acc.then(() => {\n return validateComponent(comp).then(r => {\n if (r.valid === false) { return Promise.reject(r) }\n })\n }),\n Promise.resolve()\n )\n .catch(error => [ error ])\n\n return errorsPromise.then(errors => {\n if (errors === void 0 || errors.length === 0) {\n index === validateIndex && emitEvent(true)\n return true\n }\n\n // if not outdated already\n if (index === validateIndex) {\n const { comp, err } = errors[ 0 ]\n\n err !== void 0 && console.error(err)\n emitEvent(false, comp)\n\n if (focus === true) {\n // Try to focus first mounted and active component\n const activeError = errors.find(({ comp }) => (\n typeof comp.focus === 'function'\n && vmIsDestroyed(comp.$) === false\n ))\n\n if (activeError !== void 0) {\n activeError.comp.focus()\n }\n }\n }\n\n return false\n })\n }\n\n function resetValidation () {\n validateIndex++\n\n registeredComponents.forEach(comp => {\n typeof comp.resetValidation === 'function' && comp.resetValidation()\n })\n }\n\n function submit (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n const index = validateIndex + 1\n\n validate().then(val => {\n // if not outdated && validation succeeded\n if (index === validateIndex && val === true) {\n if (props.onSubmit !== void 0) {\n emit('submit', evt)\n }\n else if (evt !== void 0 && evt.target !== void 0 && typeof evt.target.submit === 'function') {\n evt.target.submit()\n }\n }\n })\n }\n\n function reset (evt) {\n evt !== void 0 && stopAndPrevent(evt)\n\n emit('reset')\n\n nextTick(() => { // allow userland to reset values before\n resetValidation()\n if (props.autofocus === true && props.noResetFocus !== true) {\n focus()\n }\n })\n }\n\n function focus () {\n addFocusFn(() => {\n if (rootRef.value === null) return\n\n const target = rootRef.value.querySelector('[autofocus][tabindex], [data-autofocus][tabindex]')\n || rootRef.value.querySelector('[autofocus] [tabindex], [data-autofocus] [tabindex]')\n || rootRef.value.querySelector('[autofocus], [data-autofocus]')\n || Array.prototype.find.call(rootRef.value.querySelectorAll('[tabindex]'), el => el.tabIndex !== -1)\n\n target !== null && target !== void 0 && target.focus({ preventScroll: true })\n })\n }\n\n provide(formKey, {\n bindComponent (vmProxy) {\n registeredComponents.push(vmProxy)\n },\n\n unbindComponent (vmProxy) {\n const index = registeredComponents.indexOf(vmProxy)\n if (index !== -1) {\n registeredComponents.splice(index, 1)\n }\n }\n })\n\n let shouldActivate = false\n\n onDeactivated(() => {\n shouldActivate = true\n })\n\n onActivated(() => {\n shouldActivate === true && props.autofocus === true && focus()\n })\n\n onMounted(() => {\n props.autofocus === true && focus()\n })\n\n // expose public methods\n Object.assign(vm.proxy, {\n validate,\n resetValidation,\n submit,\n reset,\n focus,\n getValidationComponents: () => registeredComponents\n })\n\n return () => h('form', {\n class: 'q-form',\n ref: rootRef,\n onSubmit: submit,\n onReset: reset\n }, hSlot(slots.default))\n }\n})\n","import { render } from \"./bank-account-type-pix.vue?vue&type=template&id=157f4784\"\nimport script from \"./bank-account-type-pix.vue?vue&type=script&lang=js\"\nexport * from \"./bank-account-type-pix.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__\nimport QForm from 'quasar/src/components/form/QForm.js';\nimport QCardSection from 'quasar/src/components/card/QCardSection.js';\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QIcon from 'quasar/src/components/icon/QIcon.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QBtn from 'quasar/src/components/btn/QBtn.js';\nimport qInstall from \"../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QForm,QCardSection,QSelect,QIcon,QInput,QBtn});\n","\n\n\n","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/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-loader-v16/dist/templateLoader.js??ref--7!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./bank-account-type-pix.vue?vue&type=template&id=157f4784\"","export { default } 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/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./bank-account-type-pix.vue?vue&type=script&lang=js\"; 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/vue-cli-plugin-quasar/lib/loader.js.transform-quasar-imports.js!../../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./bank-account-type-pix.vue?vue&type=script&lang=js\""],"sourceRoot":""}