{{ field.label }}
\n \n{{ input.label }}
\n{{ input.caption }}
\n\n\n\n","import {\n dateRule,\n requiredRule,\n requiredRuleForObjects,\n} from \"@/shared/helpers/customValidation/index\";\nimport { brUFs, ethnicityOption } from \"@/shared/form-presets/data\";\nimport { validateCep } from \"validations-br\";\nimport i18n from \"@/i18n/wrappers/i18n\";\n\nconst t = i18n.global.t;\n\nexport const partnerTypes = [\"pf\", \"pj\"].map((type) => ({\n value: type,\n label: t(`signup.partner_types.${type}`),\n}));\n\nexport const getAndFormatBankList = () => {\n const bankList = JSON.parse(localStorage.getItem(\"banksList\")) || [];\n\n return bankList.map((bank) => ({\n value: bank.codigo,\n label: `${bank.codigo} - ${bank.nome}`,\n }));\n};\n\nexport const formFields = [\n {\n step: \"address_step\",\n label: \"Por favor, digite seu endereço:\",\n fields: [\n {\n name: \"end_cep\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.zip_code\"),\n mask: \"#####-###\",\n caption: undefined,\n placeholder: undefined,\n rules: [\n (val) => requiredRule(val, t(\"forms.labels.zip_code\")),\n (val) => validateCep(val),\n ],\n class: \"col-12 col-md-6\",\n },\n {\n name: \"end_uf\",\n value: \"\",\n type: \"select\",\n label: t(\"forms.labels.state\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.state\"))],\n options: brUFs().map((uf) => uf.label),\n class: \"col-12 col-md-6\",\n },\n {\n name: \"end_rua\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.address\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.address\"))],\n class: \"col-12\",\n },\n {\n name: \"end_bairro\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.district\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.district\"))],\n class: \"col-12\",\n },\n {\n name: \"end_cidade\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.city\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.city\"))],\n class: \"col-12\",\n },\n ],\n },\n {\n step: \"pf_or_pj_step\",\n label: null,\n fields: [\n {\n name: \"pf_nascimento\",\n value: \"\",\n type: \"date\",\n label: t(\"global.pf_nascimento\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [\n (val) => requiredRule(val, t(\"global.pf_nascimento\")),\n (val) => dateRule(val, t(\"global.pf_nascimento\")),\n ],\n class: \"col-12\",\n },\n {\n name: \"ethnicity_id\",\n value: \"\",\n type: \"select\",\n label: t(\"forms.labels.ethnicity\"),\n mask: undefined,\n placeholder: undefined,\n caption: t(\"forms.labels.ethnicity_help\"),\n rules: [\n (val) => requiredRuleForObjects(val, t(\"forms.labels.ethnicity\")),\n ],\n options: ethnicityOption(),\n class: \"col-12\",\n },\n ],\n },\n {\n step: \"payment_type_step\",\n label: t(\"account.parameterized_registration.select_pix_or_account\"),\n fields: [\n {\n name: \"bank_code\",\n value: \"\",\n type: \"select\",\n label: t(\"forms.labels.bank\"),\n mask: undefined,\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRuleForObjects(val, t(\"forms.labels.bank\"))],\n options: getAndFormatBankList(),\n class: \"col-12\",\n },\n {\n name: \"agency\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.agency\"),\n mask: \"##########\",\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.agency\"))],\n class: \"col-12\",\n },\n {\n name: \"type\",\n value: \"\",\n type: \"select\",\n label: t(\"forms.labels.bank_type\"),\n mask: undefined,\n placeholder: undefined,\n rules: [\n (val) => requiredRuleForObjects(val, t(\"forms.labels.bank_type\")),\n ],\n options: [\n { value: 1, label: \"Conta Corrente\" },\n { value: 2, label: \"Conta Poupança\" },\n ],\n class: \"col-12\",\n },\n {\n name: \"current_account\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.bank_number\"),\n mask: \"##########\",\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.bank_number\"))],\n class: \"col-12 col-md-8\",\n },\n {\n name: \"current_account_dv\",\n value: \"\",\n type: \"text\",\n label: t(\"forms.labels.bank_number_dv\"),\n mask: \"#\",\n placeholder: undefined,\n caption: undefined,\n rules: [(val) => requiredRule(val, t(\"forms.labels.bank_number_dv\"))],\n class: \"col-12 col-md-4\",\n },\n ],\n },\n];\n\nexport const getFormFieldsByStep = (step) => {\n return formFields.find((field) => field.step === step);\n};\n\n// Campos do formulário que mapeiam para os valores da resposta do cepPromise\nexport const promisseFields = [\n { city: \"end_cidade\" },\n { neighborhood: \"end_bairro\" },\n { state: \"end_uf\" },\n { street: \"end_rua\" },\n];\n","import script from \"./CustomizableStep.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./CustomizableStep.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QOptionGroup from 'quasar/src/components/option-group/QOptionGroup.js';\nimport qInstall from \"../../../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QInput,QSelect,QOptionGroup});\n","import script from \"./DocumentStep.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./DocumentStep.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__","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!./FormModal.vue?vue&type=script&setup=true&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!./FormModal.vue?vue&type=script&setup=true&lang=js\"","\n \n\n\n\n\n\n","import script from \"./ProgressBar.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./ProgressBar.vue?vue&type=script&setup=true&lang=js\"\n\nimport \"./ProgressBar.vue?vue&type=style&index=0&id=2c0863dc&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src1250588209/src/flip-child-frontend/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2c0863dc\"]])\n\nexport default __exports__\nimport QLinearProgress from 'quasar/src/components/linear-progress/QLinearProgress.js';\nimport qInstall from \"../../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QLinearProgress});\n","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-v16/dist/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/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!./FormModal.vue?vue&type=style&index=0&id=47a370a6&lang=scss\"","import script from \"./PaymentType.vue?vue&type=script&setup=true&lang=js\"\nexport * from \"./PaymentType.vue?vue&type=script&setup=true&lang=js\"\n\nconst __exports__ = script;\n\nexport default __exports__\nimport QRadio from 'quasar/src/components/radio/QRadio.js';\nimport QSelect from 'quasar/src/components/select/QSelect.js';\nimport QInput from 'quasar/src/components/input/QInput.js';\nimport qInstall from \"../../../../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QRadio,QSelect,QInput});\n","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!./ParameterizedRegistration.vue?vue&type=script&setup=true&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!./ParameterizedRegistration.vue?vue&type=script&setup=true&lang=js\"","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!./PaymentType.vue?vue&type=script&setup=true&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!./PaymentType.vue?vue&type=script&setup=true&lang=js\"","// extracted by mini-css-extract-plugin","\n{{ field.label }}
\n{{ field.label }}
\n{{ field.label }}
\n{{ field.label }}
\n{{ field.label }}
\n{{ field.label }}
\n