@adyen/kyc-components 4.19.3 → 4.20.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Accordion-BnhH5-eC.js → Accordion-BWdAGMRb.js} +1 -1
- package/dist/{AccountSetupRejected-BSjJpsEe.js → AccountSetupRejected-C1_O6jJv.js} +2 -2
- package/dist/AdaptiveWorkflow-CcxnkwwU.js +5112 -0
- package/dist/{AdaptiveWorkflowComponent-BkFgsGiC.js → AdaptiveWorkflowComponent-CnzXTXn4.js} +36 -36
- package/dist/{Address-BBS-Y-VV.js → Address-C7EMPbk2.js} +8 -7
- package/dist/{AddressField-Dbe8-O83.js → AddressField-DLsx2U5w.js} +12 -253
- package/dist/{Avatar-Y_RdG_YY.js → Avatar-CeZIQS8n.js} +1 -1
- package/dist/{BusinessFinancingDropin-8bL2fkVm.js → BusinessFinancingDropin-x-tZL7h1.js} +33 -32
- package/dist/{BusinessFinancingPage-DV8aa_Xu.js → BusinessFinancingPage-esjygh4k.js} +33 -33
- package/dist/{utils-CKuxgSps.js → BusinessRegistrationNumberField-Di3jFH4D.js} +301 -53
- package/dist/{BusinessTypeSelectionPage-D29E9tt0.js → BusinessTypeSelectionPage-NggWJNN-.js} +18 -17
- package/dist/{Button-BuhgDsyo.js → Button-Cm7cT6BX.js} +1 -1
- package/dist/{Checkbox-CFN5ywvv.js → Checkbox-faFUul66.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DkPByXrY.js → CompanyRegistrationNumberTypeSelector-Cx-ikuUx.js} +8 -8
- package/dist/{ContactDetails-BRBie-bX.js → ContactDetails-DEBmXhqi.js} +7 -7
- package/dist/{ContextGuidance-CgJpFWJX.js → ContextGuidance-BElID6dt.js} +2 -2
- package/dist/{CountryField-DT0dQp4X.js → CountryField-COQ0jZUr.js} +26 -21
- package/dist/{Currency-GB0vRGHi.js → Currency-BmZg_6ba.js} +8 -59
- package/dist/{CustomerSupport-D59Zi1On.js → CustomerSupport-CV8hjmuU.js} +14 -14
- package/dist/{DataConflictsModal-ylfWhjH6.js → DataConflictsModal-DEhX0dj-.js} +7 -7
- package/dist/{DebugModal-BO88XagR.js → DebugModal-CZWfupiD.js} +10 -10
- package/dist/{DecisionMakerDetails-BjylwRNE.js → DecisionMakerDetails-TM8gH66o.js} +17 -17
- package/dist/{DecisionMakerDetailsPage-D4A9J_Oi.js → DecisionMakerDetailsPage-BGBwZLa9.js} +12 -12
- package/dist/{DecisionMakers-BBKyOO7P.js → DecisionMakers-DVywCuuo.js} +18 -18
- package/dist/{Dropzone-2lpVgGQx.js → Dropzone-CNfh7t8n.js} +7 -7
- package/dist/{EmbeddedStatus-sHJnhw3K.js → EmbeddedStatus-uz3Ivsyw.js} +4 -4
- package/dist/{EndStateLayout-CddZpAGD.js → EndStateLayout-BUK64Vqu.js} +2 -2
- package/dist/{EntityAssociation-DsrNDRJa.js → EntityAssociation-AditEc-L.js} +7 -7
- package/dist/{ErrorPanel-CO-lz25B.js → ErrorPanel-Imjryvne.js} +4 -4
- package/dist/GlobalEntryModal-B3g2PO3M.js +353 -0
- package/dist/{GlobalEntryPage-BqwDgwib.js → GlobalEntryPage-DRgX-QRZ.js} +10 -10
- package/dist/{Image-Dc5Xg1_Y.js → Image-8SOcICah.js} +1 -1
- package/dist/{Individual.rules-CGEpeO1U.js → Individual.rules-Cf6J9EmJ.js} +7 -11
- package/dist/{IndividualDropin-L4_DKIAI.js → IndividualDropin-CYV3ZKHS.js} +64 -67
- package/dist/{InputDate-Cp2ga0F5.js → InputDate-DDVX2D-5.js} +2 -2
- package/dist/{InputText-CRkApOKK.js → InputText-Cf9ccCaj.js} +5 -5
- package/dist/{Introduction-3No8eERM.js → Introduction-DCzgsNoJ.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-DaLHjWMM.js → InvitedDecisionMakerComponent-DJLd6Lu5.js} +41 -41
- package/dist/{JpAddress-CFRhZj_H.js → JpAddress-DB2kYWl3.js} +19 -17
- package/dist/{JpAddress.module-Dn4Ju2bh.js → JpAddress.module-Du1BLOT6.js} +4 -4
- package/dist/{JpAddressFields-vOxKYbjD.js → JpAddressFields-DUFSKwxb.js} +15 -14
- package/dist/{LegalCompanyNameField-CSFXsi0w.js → LegalCompanyNameField-C9OqHgYV.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-Cys10cqd.js → LegalRepresentativeDetailsPage-B-cGHl1B.js} +8 -8
- package/dist/{Link-PH3F7iTO.js → Link-B7RA2gSt.js} +1 -1
- package/dist/{ListItem-B-gDVdRO.js → ListItem-Cy46BXUv.js} +27 -4
- package/dist/{MaskedInput-DzapJ4L6.js → MaskedInput-Cl4XQJWs.js} +11 -11
- package/dist/{Modal-BYdlsXkf.js → Modal-nylR9F4X.js} +1 -1
- package/dist/{Name-D-iTk5lL.js → Name-B4visbWf.js} +5 -5
- package/dist/{NewSummary-J3cpvFv5.js → NewSummary-Bfjw18hL.js} +6 -6
- package/dist/{PatriotActDisclosure-BhAvO8jw.js → PatriotActDisclosure-BGEKyaQt.js} +15 -15
- package/dist/{PayoutDetailsDropin-XjfiuWMg.js → PayoutDetailsDropin-jSQj2RD-.js} +187 -135
- package/dist/{PayoutDetailsPage-s5VdElP1.js → PayoutDetailsPage-BZdfX5jM.js} +10 -10
- package/dist/{RadioGroup-DDelawpF.js → RadioGroup-DVTPPMDE.js} +3 -3
- package/dist/{Review-iLlK8Gsw.js → Review-qQzdk3qb.js} +8 -8
- package/dist/{RootBusinessDetailsPage-CaJgVGuI.js → RootBusinessDetailsPage-TcUyXebg.js} +9 -9
- package/dist/{RootBusinessLinesPage-DG5vfFLx.js → RootBusinessLinesPage-BOqDtYb2.js} +30 -30
- package/dist/{RootIndividualDetailsPage-D8jRgkRh.js → RootIndividualDetailsPage-CEVQx7xD.js} +9 -9
- package/dist/{Select-B_JTzm_p.js → Select-Chv4JUrV.js} +12 -13
- package/dist/{SignPCIComponent-B5KSvmFl.js → SignPCIComponent-ETmKQluE.js} +56 -54
- package/dist/{SingpassSelection-Cp81PGow.js → SingpassSelection-o8XoJD5O.js} +6 -6
- package/dist/SoleProprietorshipPage-CG6uNgBk.js +70 -0
- package/dist/{SourceOfFundsPage-DOMW4CSL.js → SourceOfFundsPage-jKUQ4C86.js} +58 -44
- package/dist/{StructuredList-B7a8TRGN.js → StructuredList-C0ZSbjSm.js} +4 -4
- package/dist/{TaskListItem-BEKj7-IV.js → TaskListItem-DKIE7ZPn.js} +11 -11
- package/dist/{TaskVerificationStatus-ITLSeoau.js → TaskVerificationStatus-DMj8rsZ_.js} +1 -1
- package/dist/{TaxReportingDropin-DtSHC_PF.js → TaxReportingDropin-YQojYDDm.js} +18 -18
- package/dist/{TermsOfServiceManagement-BT2l5rmZ.js → TermsOfServiceManagement-DnMMVMcK.js} +68 -66
- package/dist/{TextArea-BzCbFjRp.js → TextArea-CoS-i-FF.js} +3 -3
- package/dist/{TrustDetailsPage-Ck61RWfw.js → TrustDetailsPage-CAkLJDcG.js} +341 -318
- package/dist/TrustMemberCompanyPage-Dk-7ziVe.js +109 -0
- package/dist/TrustMemberIndividualPage-CoDVqztD.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-pQFp7NgT.js → TrustMemberRoleAndTypePage-CHT8K362.js} +19 -19
- package/dist/{TrustMembersOverview-CBsA1RI-.js → TrustMembersOverview-vlUX7K6T.js} +14 -14
- package/dist/UnincorporatedPartnershipIndividualPage-zybaeGrq.js +79 -0
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-auTPs-Tz.js → UnincorporatedPartnershipMemberCompanyPage-lp-NJ0pN.js} +37 -37
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CvA3KohN.js → UnincorporatedPartnershipMemberRoleAndTypePage-CMv_3G2I.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-Cox0rCBN.js → UnincorporatedPartnershipMembersOverview-BZdCH2jo.js} +9 -9
- package/dist/{VerificationErrorAlert-B0PC4P1y.js → VerificationErrorAlert-DYfqUstY.js} +4 -4
- package/dist/{accountHolderUtils-DBErj0sK.js → accountHolderUtils-C4FV_ij9.js} +1 -1
- package/dist/adyen-business-financing.js +34 -34
- package/dist/adyen-individual-configuration.js +34 -34
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +59 -59
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +33 -33
- package/dist/adyen-transfer-instrument-management.js +40 -40
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{bafinUtils-C0ZHrxmm.js → bafinUtils-BheS8P9F.js} +19 -19
- package/dist/bg-BG-Bmveyt6S.js +7 -0
- package/dist/{constants-O2G1QiRh.js → constants-vF9EIV5U.js} +4 -4
- package/dist/{country-BxigZW1s.js → country-IYuKDSdC.js} +14 -2
- package/dist/cs-CZ-D5CQd_YI.js +7 -0
- package/dist/da-DK-Bl0-8FN4.js +7 -0
- package/dist/de-DE-Hah2EvAY.js +7 -0
- package/dist/el-GR-C9KGlGa7.js +7 -0
- package/dist/{en-US-CWDI7JKT.js → en-US-BFM81i9K.js} +3 -1
- package/dist/{en-US-CeiLSh8o.js → en-US-BorLJXJ4.js} +3 -1
- package/dist/en-US-Del1h5SS.js +23 -0
- package/dist/en-US-DqhKW1eC.js +7 -0
- package/dist/en-US-X8pjkwa3.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-OWpeoceJ.js → error-G-MG9N7x.js} +19 -3
- package/dist/es-ES-DSwi-qfd.js +7 -0
- package/dist/es-LA-0IrX8yr2.js +7 -0
- package/dist/es-LA-1H8dAUVR.js +7 -0
- package/dist/es-LA-BjZq9RK_.js +7 -0
- package/dist/{es-LA-DU9jNyAv.js → es-LA-CGrMi4rR.js} +2 -2
- package/dist/{es-LA-DMpf5gAW.js → es-LA-DBBkFhgU.js} +2 -2
- package/dist/et-EE-BGpsJPjk.js +7 -0
- package/dist/fi-FI-BdrXeX9d.js +7 -0
- package/dist/{form-rules-wh_oE1AN.js → form-rules-DV3hxYqZ.js} +2 -2
- package/dist/formatValidationError-C7bubJ6u.js +23 -0
- package/dist/fr-FR-hleHEr-Y.js +7 -0
- package/dist/{getProblemsForEntity-set4Krmx.js → getProblemsForEntity-DStlTvE-.js} +2 -2
- package/dist/{getTrustedDecisionMakers-B_XpRta-.js → getTrustedDecisionMakers-CAbhvydj.js} +2 -2
- package/dist/hr-HR--ti3n_XO.js +7 -0
- package/dist/{http-CFac2y4i.js → http-D6AdUBhO.js} +57 -2
- package/dist/hu-HU-D9Avt-9f.js +7 -0
- package/dist/it-IT-Dq5z7p1-.js +7 -0
- package/dist/ja-JP-Dyhw0Ycj.js +7 -0
- package/dist/japanSupportUtils-H5Zfox2v.js +11 -0
- package/dist/{localizeDateString-BRB4gPDZ.js → localizeDateString-D-MlYN4V.js} +1 -1
- package/dist/lt-LT-BMI4JzrS.js +7 -0
- package/dist/lv-LV-LkNZQ__4.js +7 -0
- package/dist/mapExistingFile-LvvzPjnk.js +55 -0
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DRXCsaz1.js → mapJpAddressSchemaToAddressLocalizations-DDUtPeTO.js} +3 -51
- package/dist/{mapLegalEntityToIndividualSchema-CLIcMhX7.js → mapLegalEntityToIndividualSchema-mRiQ3tJY.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-DAXQcZKf.js → mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js} +2 -2
- package/dist/nl-NL-CC2r7Ldv.js +7 -0
- package/dist/no-NO-V7_rz3uN.js +7 -0
- package/dist/{patternValidators-Du9xAjZM.js → patternValidators-DZ7aKZAe.js} +1 -1
- package/dist/pl-PL-2QyKX67Y.js +7 -0
- package/dist/{processCapabilities-zti_0yUx.js → processCapabilities-BSpmJOEd.js} +13 -13
- package/dist/{processValidationErrors-ZmBA9Egc.js → processValidationErrors-DM-tJ5ua.js} +2 -2
- package/dist/pt-BR-D08Fo1qY.js +7 -0
- package/dist/pt-PT-BAQWYDe6.js +7 -0
- package/dist/{resolveEnvironment-CIuEEnSu.js → resolveEnvironment-BsUsq25-.js} +39 -39
- package/dist/ro-RO-wG0rfL5w.js +7 -0
- package/dist/sk-SK-DJinBnS1.js +7 -0
- package/dist/sl-SI-DUaLO_J7.js +7 -0
- package/dist/style.css +153 -139
- package/dist/styles-DYaAeu4q.js +153 -139
- package/dist/sv-SE-5uxyEq2a.js +7 -0
- package/dist/toFullWidth-Dgy4X4i8.js +52 -0
- package/dist/{translation-CcKrUksA.js → translation-DH4IlMCP.js} +6 -2
- package/dist/types/adaptiveWorkflow/component-registry-v2.d.ts +46 -0
- package/dist/types/adaptiveWorkflow/components/Fields/IdentityScreening/IdentityScreeningWorkflow.d.ts +1 -2
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/ComponentGroup.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/DynamicForm.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/Layout/DynamicForm/useCustomerDataV2.d.ts +28 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/AcceptTermsOfServiceWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/IdentityScreeningWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/Step.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/Step/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Steps/TaxReportingWorkflow.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/Task.d.ts +9 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Task/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/TaskGroup.d.ts +5 -0
- package/dist/types/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.d.ts +2 -0
- package/dist/types/adaptiveWorkflow/components/Layout/UboTaskItem/UboTaskItem.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/Layout/Workflow/Workflow.d.ts +8 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/CompoundFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/LayoutRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/NodeRenderer.d.ts +20 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SimpleFieldRenderer.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/components/NodeRenderer/SpecializedStepRenderer.d.ts +7 -0
- package/dist/types/adaptiveWorkflow/components/WorkflowHeading/WorkflowHeading.d.ts +1 -1
- package/dist/types/adaptiveWorkflow/components/types.d.ts +31 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +22 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useHideTaskStepper.d.ts +6 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -0
- package/dist/types/adaptiveWorkflow/utils/getNodeType.d.ts +11 -0
- package/dist/types/adaptiveWorkflow/utils/getProgressSteps.d.ts +4 -0
- package/dist/types/api/adaptive/adaptiveWorkflow.types.d.ts +2 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +6 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.d.ts +10 -0
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -29
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -27
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +2 -2
- package/dist/types/components/Business/forms/rules.d.ts +7 -3
- package/dist/types/components/Business/hooks/useBusinessDetailsData.d.ts +2 -3
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.types.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -1
- package/dist/types/components/{SoleProprietorship → Business}/pages/SoleProprietorshipPage.d.ts +2 -2
- package/dist/types/components/{Trust → Business}/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/{UnincorporatedPartnership → Business}/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +5 -5
- package/dist/types/components/Business/utils/utils.d.ts +3 -5
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +93 -93
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/SOFAdditionalData/SOFFinancierModal.d.ts +5 -5
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +2 -1
- package/dist/types/components/GlobalEntry/constants.d.ts +13 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/UnincorporatedOrganizationTypeField.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/RegistrationInformation.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +3 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/validate.d.ts +9 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +2 -2
- package/dist/types/components/Individual/forms/GuidanceQuestion/GuidanceQuestion.d.ts +4 -3
- package/dist/types/components/{Trust → Individual}/pages/TrustMemberIndividualPage.d.ts +2 -2
- package/dist/types/components/{UnincorporatedPartnership → Individual}/pages/UnincorporatedPartnershipIndividualPage.d.ts +2 -2
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.d.ts +3 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +53 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +28 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/SearchAddress.d.ts +2 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +12 -0
- package/dist/types/components/Trust/forms/Trust/types.d.ts +4 -4
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/TrustRegistrationAddress.d.ts +2 -0
- package/dist/types/components/Trust/forms/TrustRegistrationAddress/types.d.ts +9 -0
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/Trust.d.ts +2 -1
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +6 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -2
- package/dist/types/components/ui/atoms/Field/Field.types.d.ts +8 -2
- package/dist/types/components/ui/atoms/TileGroup/TileGroup.d.ts +3 -3
- package/dist/types/context/WorkflowContext/WorkflowContext.d.ts +3 -1
- package/dist/types/hooks/singpass/useSingpassMyInfoLogin.d.ts +3 -3
- package/dist/types/hooks/useForm/types.d.ts +3 -2
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useScenarioConfiguration.d.ts +1 -16
- package/dist/types/hooks/useUboQuestionnaire.d.ts +1 -1
- package/dist/types/router/routeConfig.d.ts +5 -5
- package/dist/types/types/form-rules.d.ts +0 -2
- package/dist/types/utils/country.d.ts +6 -0
- package/dist/types/utils/decodeJwt.d.ts +13 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/validation/formatValidationError.d.ts +11 -0
- package/dist/types/utils/validation/types.d.ts +4 -4
- package/dist/{types-lzI_sUwT.js → types-BLWT7WnU.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DB8HCSwp.js → useAssociatedLegalEntity-CzQlHWXy.js} +2 -2
- package/dist/{useBusinessDetailsData-COrYhhx5.js → useBusinessDetailsData-BNf9xVKq.js} +129 -310
- package/dist/{useBusinessLines-CfQYLNkw.js → useBusinessLines-D-rc-Z6G.js} +1 -1
- package/dist/{useCanSeeIntroduction-C0Ls5q3Y.js → useCanSeeIntroduction-Uwz3o1s1.js} +1 -1
- package/dist/{useCreateLegalEntity-CVBjJUw_.js → useCreateLegalEntity-Ctdmk3Ky.js} +1 -1
- package/dist/{useDataMissingRemediations-BEdoAjt3.js → useDataMissingRemediations-DNZ_UDbI.js} +2 -2
- package/dist/{useForm-mnby7aNL.js → useForm-Bm5kOFLB.js} +3 -3
- package/dist/{useId-CpkOZVzk.js → useId-CIQmPG2J.js} +3 -3
- package/dist/{useLegalEntity-BqO7Fmt0.js → useLegalEntity-DR51Q4mE.js} +1 -1
- package/dist/{useNavigate-3tjPMUx9.js → useNavigate-DwSnqa-v.js} +33 -33
- package/dist/{useOnboardingStatus-Bg1z2ftv.js → useOnboardingStatus-op5TyMUR.js} +1 -1
- package/dist/{usePciQuestionnaireList-Dq1w684P.js → usePciQuestionnaireList-BZsgbrTy.js} +1 -1
- package/dist/{useSalesChannels-D66W1KV8.js → useSalesChannels-Mi6DmHab.js} +2 -2
- package/dist/{useScenarios-BunWDxgO.js → useScenarios-Bne3C0PV.js} +1 -1
- package/dist/{useTaskLandedEvent-BTVaABDA.js → useTaskLandedEvent-C7fcguXK.js} +1 -1
- package/dist/{useTaskStatus-B_-IRF4H.js → useTaskStatus-Be6XyW54.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CGIpBA0U.js → useTermsOfServiceStatus-D0NHUKl_.js} +1 -1
- package/dist/{useTrustMembers-DNacFMbe.js → useTrustMembers-CEUXUezm.js} +5 -5
- package/dist/{useUnincorporatedPartnershipMembers-DgD91qBf.js → useUnincorporatedPartnershipMembers-C5CNWe_U.js} +2 -2
- package/dist/{useUpdateBusinessLines-C2xW-32U.js → useUpdateBusinessLines-D6D9DAn1.js} +1 -1
- package/dist/{useUpdateLegalEntity-BwDNGWEv.js → useUpdateLegalEntity-C1KlPeao.js} +2 -2
- package/dist/{utils-BSUjLXoX.js → utils-BTWo42KA.js} +5 -5
- package/dist/{utils-CDTxJSnQ.js → utils-CEpJoi7o.js} +1 -1
- package/dist/{utils-DkJ03MkB.js → utils-c16NHFn9.js} +7 -7
- package/dist/{validate-K01plHbc.js → validate-BNu91k9j.js} +4 -4
- package/dist/validate-CbjnKo0X.js +250 -0
- package/dist/{validate-BShti_z8.js → validate-Ce2vF6Gx.js} +1 -1
- package/dist/{validateExtractionResult-mzxEgE7T.js → validateExtractionResult-D5gTSZhC.js} +10 -10
- package/dist/{validationError-CCy_FD-J.js → validationError-BAK8fc6r.js} +1 -1
- package/package.json +3 -4
- package/dist/AdaptiveWorkflow-CePa2kb-.js +0 -1896
- package/dist/GlobalEntryModal-ClB54Ua2.js +0 -188
- package/dist/SoleProprietorshipPage-BfSpYRb3.js +0 -70
- package/dist/TrustMemberCompanyPage-ChsPdxqZ.js +0 -109
- package/dist/TrustMemberIndividualPage-Dxlx84gI.js +0 -109
- package/dist/UnincorporatedPartnershipIndividualPage-Cklyql48.js +0 -79
- package/dist/bg-BG-BXAB4Qsj.js +0 -7
- package/dist/cs-CZ-DG5rPvy2.js +0 -7
- package/dist/da-DK-BnW-O75l.js +0 -7
- package/dist/de-DE-DUiPzmSc.js +0 -7
- package/dist/el-GR-1n3FJpd3.js +0 -7
- package/dist/en-US-B48_sHax.js +0 -13
- package/dist/en-US-BV2Gye3t.js +0 -7
- package/dist/en-US-CqjOvqxV.js +0 -7
- package/dist/es-ES-Cp45mlyV.js +0 -7
- package/dist/es-LA-BU32JqC-.js +0 -7
- package/dist/es-LA-Cyf48j4P.js +0 -7
- package/dist/es-LA-De_gTMKb.js +0 -7
- package/dist/et-EE-B4czzgF8.js +0 -7
- package/dist/fi-FI-D08MUkuM.js +0 -7
- package/dist/fr-FR-BxDpVfWO.js +0 -7
- package/dist/getTrustedFields-BJ88GlM-.js +0 -28
- package/dist/hr-HR-DGQMquDg.js +0 -7
- package/dist/hu-HU-Eofp7khl.js +0 -7
- package/dist/it-IT-CD7NJtJa.js +0 -7
- package/dist/ja-JP-YvXztswF.js +0 -7
- package/dist/lt-LT-Cjx4H-0R.js +0 -7
- package/dist/lv-LV-Ckf37gXo.js +0 -7
- package/dist/mapExistingFile-BOXehUNN.js +0 -138
- package/dist/nl-NL-DFHAkUK3.js +0 -7
- package/dist/no-NO-B6frLiko.js +0 -7
- package/dist/pl-PL-DnYkTdjO.js +0 -7
- package/dist/pt-BR-65dQv8uO.js +0 -7
- package/dist/pt-PT-D0fXeW1f.js +0 -7
- package/dist/ro-RO-CNj95qQn.js +0 -7
- package/dist/sk-SK-C0x9Vs2X.js +0 -7
- package/dist/sl-SI-BikBCOJK.js +0 -7
- package/dist/sv-SE-BGP9Lmku.js +0 -7
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddress.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/RegistrationAddressMultiform.d.ts +0 -3
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +0 -26
- package/dist/types/components/Shared/forms/RegistrationAddress/validate.d.ts +0 -3
- package/dist/types/utils/getDisplayErrorMessage.d.ts +0 -2
- /package/dist/types/components/{SoleProprietorship → Trust}/hooks/useExemptSettlor.d.ts +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec035f4f-4d56-46d8-ab16-32dcc28bbe6c", e._sentryDebugIdIdentifier = "sentry-dbid-ec035f4f-4d56-46d8-ab16-32dcc28bbe6c");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-
|
|
6
|
-
import { C as useDataset, J as extractFieldName, M as ExperimentNames, N as FeatureNames, T as datasetUtilities, Z as hasEmptyFields, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, q as concatenateFieldNames, tt as isAccountIdentifierObscured, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { a as Icon, i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { C as useDataset, J as extractFieldName, M as ExperimentNames, N as FeatureNames, T as datasetUtilities, Z as hasEmptyFields, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, q as concatenateFieldNames, tt as isAccountIdentifierObscured, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-BsUsq25-.js";
|
|
7
|
+
import { t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
@@ -15,39 +15,39 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
16
|
import { d as hasOwnEntityAssociationOfType } from "./entityAssociationUtil-DLXInibJ.js";
|
|
17
17
|
import { t as EEA_Countries } from "./countries-CPj8hkLs.js";
|
|
18
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
18
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-nylR9F4X.js";
|
|
19
19
|
import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
20
|
-
import { a as LandingLayout, i as getPropsFromConfigurations, n as augmentWithCountryConfigs, t as createFormRules } from "./form-rules-
|
|
20
|
+
import { a as LandingLayout, i as getPropsFromConfigurations, n as augmentWithCountryConfigs, t as createFormRules } from "./form-rules-DV3hxYqZ.js";
|
|
21
21
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
22
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
23
|
-
import {
|
|
24
|
-
import { n as Confirm } from "./StructuredList-
|
|
25
|
-
import { C as FormContextProvider, S as trackNavigation, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, h as summaryItem, i as addValidityToForms, l as isNotEmptyValidator, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, x as mergeFieldMetadataIntoProps } from "./CountryField-
|
|
26
|
-
import { t as Image } from "./Image-
|
|
27
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
22
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-CIQmPG2J.js";
|
|
23
|
+
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-Chv4JUrV.js";
|
|
24
|
+
import { n as Confirm } from "./StructuredList-C0ZSbjSm.js";
|
|
25
|
+
import { C as FormContextProvider, S as trackNavigation, a as getRequiredForms, b as createFormUtils, c as useMultiForm, d as useFormComposer, h as summaryItem, i as addValidityToForms, l as isNotEmptyValidator, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, x as mergeFieldMetadataIntoProps } from "./CountryField-COQ0jZUr.js";
|
|
26
|
+
import { t as Image } from "./Image-8SOcICah.js";
|
|
27
|
+
import { t as ErrorPanel } from "./ErrorPanel-Imjryvne.js";
|
|
28
28
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
29
29
|
import { n as getLegalEntityNameBasedOnType, r as getPayoutAccountHolderName } from "./getName-C5jqdkJg.js";
|
|
30
|
-
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration,
|
|
31
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
32
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
33
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
34
|
-
import { a as createDocumentRequest, i as bytesToSize, l as getFileExtention, n as fileValidationRules, o as documentApiUtils, r as DropzoneFile, s as getDocument, t as defaultFileValidationOptions } from "./validate-
|
|
35
|
-
import {
|
|
36
|
-
import { a as isValidationError, i as isIdDocumentUploadError, n as isBankStatementUploadError, o as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
30
|
+
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-LvvzPjnk.js";
|
|
31
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
|
|
32
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-Cl4XQJWs.js";
|
|
33
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-DM-tJ5ua.js";
|
|
34
|
+
import { a as createDocumentRequest, i as bytesToSize, l as getFileExtention, n as fileValidationRules, o as documentApiUtils, r as DropzoneFile, s as getDocument, t as defaultFileValidationOptions } from "./validate-BNu91k9j.js";
|
|
35
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-G-MG9N7x.js";
|
|
36
|
+
import { a as isValidationError, i as isIdDocumentUploadError, n as isBankStatementUploadError, o as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-BAK8fc6r.js";
|
|
37
37
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
38
|
-
import { o as validatePatternOnBlur } from "./patternValidators-
|
|
38
|
+
import { o as validatePatternOnBlur } from "./patternValidators-DZ7aKZAe.js";
|
|
39
39
|
import { t as bankStatementDescriptionPattern } from "./basePatterns-plHFNzgJ.js";
|
|
40
40
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
41
|
-
import { t as TextArea } from "./TextArea-
|
|
42
|
-
import { t as Link } from "./Link-
|
|
43
|
-
import { t as InputText } from "./InputText-
|
|
44
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
45
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
41
|
+
import { t as TextArea } from "./TextArea-CoS-i-FF.js";
|
|
42
|
+
import { t as Link } from "./Link-B7RA2gSt.js";
|
|
43
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
44
|
+
import { t as RadioGroup } from "./RadioGroup-DVTPPMDE.js";
|
|
45
|
+
import { t as ContextGuidance } from "./ContextGuidance-BElID6dt.js";
|
|
46
46
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
47
|
-
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
47
|
+
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-cKBtK0Qx.js";
|
|
48
48
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
49
|
-
import { t as currencyByCountry } from "./types-
|
|
50
|
-
import { t as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
49
|
+
import { t as currencyByCountry } from "./types-BLWT7WnU.js";
|
|
50
|
+
import { t as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-C5CNWe_U.js";
|
|
51
51
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
52
52
|
import { lazy, memo, useMemo, useRef, useState } from "preact/compat";
|
|
53
53
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -1545,7 +1545,7 @@ var useAsyncAccountDetailsValidationRules = (payload, hasEmptyFields, isAccountN
|
|
|
1545
1545
|
};
|
|
1546
1546
|
//#endregion
|
|
1547
1547
|
//#region src/components/BankAccount/mapping/mapPayoutAccountSchemaToApiBankAccount.ts
|
|
1548
|
-
var logger = createLogger();
|
|
1548
|
+
var logger$1 = createLogger();
|
|
1549
1549
|
var getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountry, enabledCrossBorderPayouts) => {
|
|
1550
1550
|
if ("iban" in payoutAccount && payoutAccount.iban) return {
|
|
1551
1551
|
type: "iban",
|
|
@@ -1631,7 +1631,7 @@ var getAccountIdentificationFromPayoutAccountSchema = (payoutAccount, bankCountr
|
|
|
1631
1631
|
...payoutAccount.accountType && { accountType: payoutAccount.accountType }
|
|
1632
1632
|
};
|
|
1633
1633
|
default:
|
|
1634
|
-
logger.log(`${bankCountry.toLowerCase()}Local is not a configured region`);
|
|
1634
|
+
logger$1.log(`${bankCountry.toLowerCase()}Local is not a configured region`);
|
|
1635
1635
|
return {
|
|
1636
1636
|
type: `${bankCountry.toLowerCase()}Local`,
|
|
1637
1637
|
accountNumber: payoutAccount.bankAccountNumber
|
|
@@ -2351,6 +2351,9 @@ var InstantVerificationCTA = ({ provider }) => {
|
|
|
2351
2351
|
] });
|
|
2352
2352
|
};
|
|
2353
2353
|
//#endregion
|
|
2354
|
+
//#region src/components/BankAccount/forms/PayoutAccount/store.ts
|
|
2355
|
+
var payoutAccountFormat = signal("local");
|
|
2356
|
+
//#endregion
|
|
2354
2357
|
//#region src/components/BankAccount/forms/PayoutAccount/PayoutAccount.tsx
|
|
2355
2358
|
var payoutAccountFields = [
|
|
2356
2359
|
"accountHolder",
|
|
@@ -2917,6 +2920,115 @@ var mapPayoutDocumentsToApiDocuments = async (data, entityId) => {
|
|
|
2917
2920
|
existingDocument: getDocument(entityId, "bankStatement")
|
|
2918
2921
|
});
|
|
2919
2922
|
};
|
|
2923
|
+
var PayoutDetailsGettingStarted_module_default = {
|
|
2924
|
+
"payout-details-getting-started": "_payout-details-getting-started_wa0f0_1",
|
|
2925
|
+
payoutDetailsGettingStarted: "_payout-details-getting-started_wa0f0_1"
|
|
2926
|
+
};
|
|
2927
|
+
//#endregion
|
|
2928
|
+
//#region src/components/BankAccount/tasks/PayoutDetailsGettingStarted/PayoutDetailsGettingStarted.tsx
|
|
2929
|
+
var payoutBankAccountsImage = lazy(() => import("./payout-bank-accounts-CsVPa1AN.js"));
|
|
2930
|
+
var PayoutDetailsGettingStarted = ({ onGetStarted, onFinishLater, provider }) => {
|
|
2931
|
+
const [isRequirementsModalOpen, setIsRequirementsModalOpen] = useState$1(false);
|
|
2932
|
+
const { t } = useTranslation("banking");
|
|
2933
|
+
const { t: commonT } = useTranslation("common");
|
|
2934
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
2935
|
+
className: PayoutDetailsGettingStarted_module_default.payoutDetailsGettingStarted,
|
|
2936
|
+
"data-testid": "payout-details-getting-started",
|
|
2937
|
+
children: [/* @__PURE__ */ jsx(LandingLayout, {
|
|
2938
|
+
title: commonT(($) => $["payoutBankAccounts"]),
|
|
2939
|
+
description: /* @__PURE__ */ jsx(Trans, {
|
|
2940
|
+
t,
|
|
2941
|
+
ns: "banking",
|
|
2942
|
+
i18nKey: ($) => $["linkAndVerifyNewBankAccountForPayouts"],
|
|
2943
|
+
components: { requirementsLink: /* @__PURE__ */ jsx(Button, {
|
|
2944
|
+
variant: "link",
|
|
2945
|
+
onClick: () => setIsRequirementsModalOpen(true),
|
|
2946
|
+
children: t(($) => $["bankAccountRequirements"])
|
|
2947
|
+
}) }
|
|
2948
|
+
}),
|
|
2949
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: payoutBankAccountsImage }),
|
|
2950
|
+
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
2951
|
+
fullWidth: true,
|
|
2952
|
+
onClick: onGetStarted,
|
|
2953
|
+
children: commonT(($) => $["getStarted"])
|
|
2954
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
2955
|
+
fullWidth: true,
|
|
2956
|
+
variant: "tertiary",
|
|
2957
|
+
onClick: onFinishLater,
|
|
2958
|
+
children: commonT(($) => $["finishLater"])
|
|
2959
|
+
})] })
|
|
2960
|
+
}), /* @__PURE__ */ jsx(PayoutRequirementsModal, {
|
|
2961
|
+
isOpen: isRequirementsModalOpen,
|
|
2962
|
+
onClose: () => setIsRequirementsModalOpen(false),
|
|
2963
|
+
provider
|
|
2964
|
+
})]
|
|
2965
|
+
});
|
|
2966
|
+
};
|
|
2967
|
+
//#endregion
|
|
2968
|
+
//#region src/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.ts
|
|
2969
|
+
var obscuredPayoutFields = ["bankAccountNumber", "iban"];
|
|
2970
|
+
var payoutDetailsCountryConfig = {
|
|
2971
|
+
[CountryCodes.Canada]: { bankStatementDocument: { label: "listitemVoidedChequeBankLetterBankStatementOnline" } },
|
|
2972
|
+
[CountryCodes.UnitedKingdom]: {
|
|
2973
|
+
bankCity: { label: "bankCityTown" },
|
|
2974
|
+
bankStatementDocument: { label: "listitemVoidedChequeBankLetterBankStatementOnline" }
|
|
2975
|
+
}
|
|
2976
|
+
};
|
|
2977
|
+
var createPayoutParseConfiguration = ({ requiredFields, bankVerificationAvailable, enableUSBankAccountTypeSelection }) => ({ country }) => parsePayoutScenarios({
|
|
2978
|
+
requiredFields: requiredFields?.fields,
|
|
2979
|
+
country,
|
|
2980
|
+
bankVerificationAvailable,
|
|
2981
|
+
enableUSBankAccountTypeSelection
|
|
2982
|
+
});
|
|
2983
|
+
function parsePayoutScenarios({ requiredFields, country, bankVerificationAvailable, enableUSBankAccountTypeSelection }) {
|
|
2984
|
+
if (!requiredFields) return {};
|
|
2985
|
+
let formConfig = {
|
|
2986
|
+
payoutVerificationMethod: { rule: "REQUIRED" },
|
|
2987
|
+
bankCountry: { rule: "REQUIRED" },
|
|
2988
|
+
preferredCurrency: { rule: "REQUIRED" },
|
|
2989
|
+
bankStatementDocument: { rule: "bankStatementRequirement" },
|
|
2990
|
+
description: { rule: "bankStatementDescription" }
|
|
2991
|
+
};
|
|
2992
|
+
requiredFields.forEach((fieldName) => {
|
|
2993
|
+
formConfig[fieldName] = {
|
|
2994
|
+
rule: bankVerificationAvailable ? "whenUsingManualVerification" : "REQUIRED",
|
|
2995
|
+
obscured: obscuredPayoutFields.includes(fieldName)
|
|
2996
|
+
};
|
|
2997
|
+
});
|
|
2998
|
+
if (enableUSBankAccountTypeSelection && country === CountryCodes.UnitedStates) formConfig.accountType = { rule: "REQUIRED" };
|
|
2999
|
+
if (bankVerificationAvailable) formConfig = {
|
|
3000
|
+
...formConfig,
|
|
3001
|
+
verifiedAccountHolder: { rule: "whenUsingInstantVerification" },
|
|
3002
|
+
verifiedBankCountry: { rule: "whenUsingInstantVerification" },
|
|
3003
|
+
verifiedBankName: { rule: "whenUsingInstantVerification" },
|
|
3004
|
+
verifiedCurrencyCode: { rule: "whenUsingInstantVerification" },
|
|
3005
|
+
verifiedBankAccountNumber: { rule: "whenUsingInstantVerification" }
|
|
3006
|
+
};
|
|
3007
|
+
return augmentWithCountryConfigs(payoutDetailsCountryConfig[country], formConfig);
|
|
3008
|
+
}
|
|
3009
|
+
var getAppropriatePayoutDetailsSteps = (isEditing, instantVerificationAvailable, canChangeCountry, isCrossBorderEnabled, isForcedManualPayoutFlowEnabled) => {
|
|
3010
|
+
const dependentSteps = {
|
|
3011
|
+
payoutCountryDetails: payoutSteps.payoutCountryDetails,
|
|
3012
|
+
payoutVerificationMethod: payoutSteps.payoutVerificationMethod,
|
|
3013
|
+
payoutAccountDetails: payoutSteps.payoutAccountDetails,
|
|
3014
|
+
payoutAccountDocuments: payoutSteps.payoutAccountDocuments,
|
|
3015
|
+
payoutAccountVerification: payoutSteps.payoutAccountVerification
|
|
3016
|
+
};
|
|
3017
|
+
if (!isCrossBorderEnabled) delete dependentSteps["payoutCountryDetails"];
|
|
3018
|
+
if (isEditing || !instantVerificationAvailable && !canChangeCountry || isForcedManualPayoutFlowEnabled) delete dependentSteps["payoutVerificationMethod"];
|
|
3019
|
+
return dependentSteps;
|
|
3020
|
+
};
|
|
3021
|
+
//#endregion
|
|
3022
|
+
//#region src/components/BankAccount/utils/defaultPayoutAccountFormat.ts
|
|
3023
|
+
var defaultPayoutAccountFormat = {
|
|
3024
|
+
[CountryCodes.CzechRepublic]: "iban",
|
|
3025
|
+
[CountryCodes.Denmark]: "local",
|
|
3026
|
+
[CountryCodes.Hungary]: "iban",
|
|
3027
|
+
[CountryCodes.Norway]: "local",
|
|
3028
|
+
[CountryCodes.Poland]: "local",
|
|
3029
|
+
[CountryCodes.Sweden]: "local",
|
|
3030
|
+
[CountryCodes.UnitedKingdom]: "local"
|
|
3031
|
+
};
|
|
2920
3032
|
//#endregion
|
|
2921
3033
|
//#region src/components/BankAccount/utils/payoutAccountFormats.ts
|
|
2922
3034
|
var IBAN_ONLY = { iban: { fields: [
|
|
@@ -3189,103 +3301,39 @@ var getAccountFormatsForCountry = (country) => {
|
|
|
3189
3301
|
numberAndBic: { fields: ["bankAccountNumber", "swiftCode"] }
|
|
3190
3302
|
};
|
|
3191
3303
|
};
|
|
3192
|
-
var PayoutDetailsGettingStarted_module_default = {
|
|
3193
|
-
"payout-details-getting-started": "_payout-details-getting-started_wa0f0_1",
|
|
3194
|
-
payoutDetailsGettingStarted: "_payout-details-getting-started_wa0f0_1"
|
|
3195
|
-
};
|
|
3196
3304
|
//#endregion
|
|
3197
|
-
//#region src/components/BankAccount/tasks/
|
|
3198
|
-
var
|
|
3199
|
-
var
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
"data-testid": "payout-details-getting-started",
|
|
3206
|
-
children: [/* @__PURE__ */ jsx(LandingLayout, {
|
|
3207
|
-
title: commonT(($) => $["payoutBankAccounts"]),
|
|
3208
|
-
description: /* @__PURE__ */ jsx(Trans, {
|
|
3209
|
-
t,
|
|
3210
|
-
ns: "banking",
|
|
3211
|
-
i18nKey: ($) => $["linkAndVerifyNewBankAccountForPayouts"],
|
|
3212
|
-
components: { requirementsLink: /* @__PURE__ */ jsx(Button, {
|
|
3213
|
-
variant: "link",
|
|
3214
|
-
onClick: () => setIsRequirementsModalOpen(true),
|
|
3215
|
-
children: t(($) => $["bankAccountRequirements"])
|
|
3216
|
-
}) }
|
|
3217
|
-
}),
|
|
3218
|
-
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: payoutBankAccountsImage }),
|
|
3219
|
-
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
3220
|
-
fullWidth: true,
|
|
3221
|
-
onClick: onGetStarted,
|
|
3222
|
-
children: commonT(($) => $["getStarted"])
|
|
3223
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
3224
|
-
fullWidth: true,
|
|
3225
|
-
variant: "tertiary",
|
|
3226
|
-
onClick: onFinishLater,
|
|
3227
|
-
children: commonT(($) => $["finishLater"])
|
|
3228
|
-
})] })
|
|
3229
|
-
}), /* @__PURE__ */ jsx(PayoutRequirementsModal, {
|
|
3230
|
-
isOpen: isRequirementsModalOpen,
|
|
3231
|
-
onClose: () => setIsRequirementsModalOpen(false),
|
|
3232
|
-
provider
|
|
3233
|
-
})]
|
|
3234
|
-
});
|
|
3235
|
-
};
|
|
3236
|
-
//#endregion
|
|
3237
|
-
//#region src/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.ts
|
|
3238
|
-
var obscuredPayoutFields = ["bankAccountNumber", "iban"];
|
|
3239
|
-
var payoutDetailsCountryConfig = {
|
|
3240
|
-
[CountryCodes.Canada]: { bankStatementDocument: { label: "listitemVoidedChequeBankLetterBankStatementOnline" } },
|
|
3241
|
-
[CountryCodes.UnitedKingdom]: {
|
|
3242
|
-
bankCity: { label: "bankCityTown" },
|
|
3243
|
-
bankStatementDocument: { label: "listitemVoidedChequeBankLetterBankStatementOnline" }
|
|
3305
|
+
//#region src/components/BankAccount/tasks/PayoutDetailsDropin/usePayoutAccountFormat.ts
|
|
3306
|
+
var logger = createLogger();
|
|
3307
|
+
var getCountryAccountFormats = (country) => {
|
|
3308
|
+
try {
|
|
3309
|
+
return getAccountFormatsForCountry(country);
|
|
3310
|
+
} catch (err) {
|
|
3311
|
+
logger.warn("WARNING: Payout format lookup failed - error:", err);
|
|
3312
|
+
return;
|
|
3244
3313
|
}
|
|
3245
3314
|
};
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
}
|
|
3266
|
-
});
|
|
3267
|
-
|
|
3268
|
-
if (bankVerificationAvailable) formConfig = {
|
|
3269
|
-
...formConfig,
|
|
3270
|
-
verifiedAccountHolder: { rule: "whenUsingInstantVerification" },
|
|
3271
|
-
verifiedBankCountry: { rule: "whenUsingInstantVerification" },
|
|
3272
|
-
verifiedBankName: { rule: "whenUsingInstantVerification" },
|
|
3273
|
-
verifiedCurrencyCode: { rule: "whenUsingInstantVerification" },
|
|
3274
|
-
verifiedBankAccountNumber: { rule: "whenUsingInstantVerification" }
|
|
3275
|
-
};
|
|
3276
|
-
return augmentWithCountryConfigs(payoutDetailsCountryConfig[country], formConfig);
|
|
3277
|
-
}
|
|
3278
|
-
var getAppropriatePayoutDetailsSteps = (isEditing, instantVerificationAvailable, canChangeCountry, isCrossBorderEnabled, isForcedManualPayoutFlowEnabled) => {
|
|
3279
|
-
const dependentSteps = {
|
|
3280
|
-
payoutCountryDetails: payoutSteps.payoutCountryDetails,
|
|
3281
|
-
payoutVerificationMethod: payoutSteps.payoutVerificationMethod,
|
|
3282
|
-
payoutAccountDetails: payoutSteps.payoutAccountDetails,
|
|
3283
|
-
payoutAccountDocuments: payoutSteps.payoutAccountDocuments,
|
|
3284
|
-
payoutAccountVerification: payoutSteps.payoutAccountVerification
|
|
3285
|
-
};
|
|
3286
|
-
if (!isCrossBorderEnabled) delete dependentSteps["payoutCountryDetails"];
|
|
3287
|
-
if (isEditing || !instantVerificationAvailable && !canChangeCountry || isForcedManualPayoutFlowEnabled) delete dependentSteps["payoutVerificationMethod"];
|
|
3288
|
-
return dependentSteps;
|
|
3315
|
+
/**
|
|
3316
|
+
* Resolves the payout account-format requirements for the active
|
|
3317
|
+
* {@link payoutAccountFormat} signal. The effect defaults the signal per country and
|
|
3318
|
+
* validates any pre-existing account format; it stays gated to country/existing changes
|
|
3319
|
+
* so it does not clobber a format the user selects manually.
|
|
3320
|
+
*/
|
|
3321
|
+
var usePayoutAccountFormat = (country, existingBankAccountFormat) => {
|
|
3322
|
+
const accountFormats = getCountryAccountFormats(country);
|
|
3323
|
+
const activeFormat = payoutAccountFormat.value;
|
|
3324
|
+
useEffect$1(() => {
|
|
3325
|
+
const formats = getCountryAccountFormats(country);
|
|
3326
|
+
if (!formats) return;
|
|
3327
|
+
try {
|
|
3328
|
+
const allowedBankAccountFormats = Object.keys(formats);
|
|
3329
|
+
if (existingBankAccountFormat && !allowedBankAccountFormats.includes(existingBankAccountFormat)) throw new AdyenKycSdkError(`Account format, ${existingBankAccountFormat}, of transferInstrument is not in allowed formats for ${country}`);
|
|
3330
|
+
const defaultAccountFormat = defaultPayoutAccountFormat[country] ?? allowedBankAccountFormats[0];
|
|
3331
|
+
payoutAccountFormat.value = existingBankAccountFormat ?? defaultAccountFormat;
|
|
3332
|
+
} catch (err) {
|
|
3333
|
+
logger.warn("WARNING: Payout format request failed - error:", err);
|
|
3334
|
+
}
|
|
3335
|
+
}, [country, existingBankAccountFormat]);
|
|
3336
|
+
return accountFormats?.[activeFormat];
|
|
3289
3337
|
};
|
|
3290
3338
|
//#endregion
|
|
3291
3339
|
//#region src/components/BankAccount/tasks/PayoutDetailsDropin/utils.ts
|
|
@@ -3491,19 +3539,23 @@ function PayoutDetailsDropin({ legalEntityResponse, problems: propProblems, onSu
|
|
|
3491
3539
|
* instantVerificationAvailable = instantVerificationEnabled AND there is a provider returned for the bank account country
|
|
3492
3540
|
*/
|
|
3493
3541
|
const instantVerificationAvailable = useMemo$1(() => Boolean(instantVerificationEnabled && providers?.[0]?.redirectUrl), [instantVerificationEnabled, providers]);
|
|
3494
|
-
const
|
|
3542
|
+
const requiredFields = usePayoutAccountFormat(bankAccountCountry, existingBankAccountFormat);
|
|
3495
3543
|
/**
|
|
3496
3544
|
* Fetch Configurations
|
|
3497
3545
|
*/
|
|
3498
|
-
const { fieldConfigurations
|
|
3499
|
-
parseConfiguration
|
|
3546
|
+
const { fieldConfigurations } = useScenarioConfiguration({
|
|
3547
|
+
parseConfiguration: useMemo$1(() => createPayoutParseConfiguration({
|
|
3548
|
+
requiredFields,
|
|
3549
|
+
bankVerificationAvailable: instantVerificationAvailable,
|
|
3550
|
+
enableUSBankAccountTypeSelection
|
|
3551
|
+
}), [
|
|
3552
|
+
requiredFields,
|
|
3553
|
+
instantVerificationAvailable,
|
|
3554
|
+
enableUSBankAccountTypeSelection
|
|
3555
|
+
]),
|
|
3500
3556
|
legalEntityType: legalEntityResponse.type,
|
|
3501
|
-
getPayoutAccountFormatData,
|
|
3502
|
-
instantVerificationAvailable,
|
|
3503
3557
|
setLoadingStatus: setConfigurationLoadingStatus,
|
|
3504
|
-
country: bankAccountCountry
|
|
3505
|
-
existingBankAccountFormat,
|
|
3506
|
-
enableUSBankAccountTypeSelection
|
|
3558
|
+
country: bankAccountCountry
|
|
3507
3559
|
});
|
|
3508
3560
|
/**
|
|
3509
3561
|
* parse configuration and create component props
|
|
@@ -3518,8 +3570,8 @@ function PayoutDetailsDropin({ legalEntityResponse, problems: propProblems, onSu
|
|
|
3518
3570
|
multiForm.data,
|
|
3519
3571
|
bankAccountCountry,
|
|
3520
3572
|
taskType,
|
|
3521
|
-
|
|
3522
|
-
|
|
3573
|
+
isSettingEnabled,
|
|
3574
|
+
isExperimentEnabled
|
|
3523
3575
|
]);
|
|
3524
3576
|
const apiBankAccount = useMemo$1(() => {
|
|
3525
3577
|
return mapPayoutAccountSchemaToApiBankAccount(multiForm.data.payoutAccountDetails ?? { bankAccountNumber: "" }, bankAccountCountry);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e95df3f-ff48-4615-89f5-aa478de6f279", e._sentryDebugIdIdentifier = "sentry-dbid-7e95df3f-ff48-4615-89f5-aa478de6f279");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader } from "./Button-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
9
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
10
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
11
|
-
import { t as useNavigate } from "./useNavigate-
|
|
12
|
-
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BsUsq25-.js";
|
|
7
|
+
import { r as Loader } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-BSpmJOEd.js";
|
|
10
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-DStlTvE-.js";
|
|
11
|
+
import { t as useNavigate } from "./useNavigate-DwSnqa-v.js";
|
|
12
|
+
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-jSQj2RD-.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useParams } from "wouter-preact";
|
|
15
15
|
//#region src/components/BankAccount/pages/PayoutDetailsPage.tsx
|
|
@@ -32,7 +32,7 @@ function PayoutDetailsPage({ transferInstrumentId: transferInstrumentIdProp, set
|
|
|
32
32
|
"../language/en-US.instructions.json": () => import("./en-US.instructions-CksZ4E5j.js"),
|
|
33
33
|
"../language/en-US.json": () => import("./en-US-CUqerEKF.js"),
|
|
34
34
|
"../language/es-ES.json": () => import("./es-ES-sAOz5HKH.js"),
|
|
35
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
35
|
+
"../language/es-LA.json": () => import("./es-LA-BjZq9RK_.js"),
|
|
36
36
|
"../language/et-EE.json": () => import("./et-EE-C29Bb4Rw.js"),
|
|
37
37
|
"../language/fi-FI.json": () => import("./fi-FI-BT1l2Dz5.js"),
|
|
38
38
|
"../language/fr-FR.json": () => import("./fr-FR-DKdat8Bf.js"),
|
|
@@ -2,9 +2,9 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be16d5e8-4b7f-4e5c-83ea-dce1a9a061a6", e._sentryDebugIdIdentifier = "sentry-dbid-be16d5e8-4b7f-4e5c-83ea-dce1a9a061a6");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
7
|
-
import { t as useId } from "./useId-
|
|
5
|
+
import { r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-nylR9F4X.js";
|
|
7
|
+
import { t as useId } from "./useId-CIQmPG2J.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/components/ui/atoms/Radio/Radio.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "645c0220-91ec-46a1-800b-0ef83a0f469f", e._sentryDebugIdIdentifier = "sentry-dbid-645c0220-91ec-46a1-800b-0ef83a0f469f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { t as Button } from "./Button-
|
|
8
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useToastContext } from "./useId-
|
|
10
|
-
import {
|
|
11
|
-
import { t as Checkbox } from "./Checkbox-
|
|
5
|
+
import { r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-BsUsq25-.js";
|
|
7
|
+
import { t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { r as httpPost, s as useApiContext } from "./http-D6AdUBhO.js";
|
|
9
|
+
import { r as useToastContext } from "./useId-CIQmPG2J.js";
|
|
10
|
+
import { p as LoaderWrapper } from "./Select-Chv4JUrV.js";
|
|
11
|
+
import { t as Checkbox } from "./Checkbox-faFUul66.js";
|
|
12
12
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
13
13
|
import { useState } from "preact/hooks";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ef408597-cacb-4552-a18a-7e2719e0e1fc", e._sentryDebugIdIdentifier = "sentry-dbid-ef408597-cacb-4552-a18a-7e2719e0e1fc");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as addResourceBundles, r as useTranslation } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader } from "./Button-
|
|
5
|
+
import { n as addResourceBundles, r as useTranslation } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-BsUsq25-.js";
|
|
7
|
+
import { r as Loader } from "./Button-Cm7cT6BX.js";
|
|
8
8
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
9
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-BSpmJOEd.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
11
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
11
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-DStlTvE-.js";
|
|
12
12
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
13
|
-
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
13
|
+
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-BNf9xVKq.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
//#region src/components/Business/pages/RootBusinessDetailsPage.tsx
|
|
16
16
|
var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -26,9 +26,9 @@ var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
26
26
|
"../language/da-DK.json": () => import("./da-DK-D5969QKP.js"),
|
|
27
27
|
"../language/de-DE.json": () => import("./de-DE-uDUBu-3n.js"),
|
|
28
28
|
"../language/el-GR.json": () => import("./el-GR-DWh7gn7M.js"),
|
|
29
|
-
"../language/en-US.json": () => import("./en-US-
|
|
29
|
+
"../language/en-US.json": () => import("./en-US-DqhKW1eC.js"),
|
|
30
30
|
"../language/es-ES.json": () => import("./es-ES-C7XCTACS.js"),
|
|
31
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
31
|
+
"../language/es-LA.json": () => import("./es-LA-0IrX8yr2.js"),
|
|
32
32
|
"../language/et-EE.json": () => import("./et-EE-OAYKzRjG.js"),
|
|
33
33
|
"../language/fi-FI.json": () => import("./fi-FI-Cdof5NRG.js"),
|
|
34
34
|
"../language/fr-FR.json": () => import("./fr-FR-NOULV1vy.js"),
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "649b46a6-f175-4c80-b62c-a8bb4f5ac08a", e._sentryDebugIdIdentifier = "sentry-dbid-649b46a6-f175-4c80-b62c-a8bb4f5ac08a");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header } from "./resolveEnvironment-
|
|
7
|
-
import { n as IconButton, r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { s as useApiContext, t as httpDelete } from "./http-
|
|
9
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-DH4IlMCP.js";
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header } from "./resolveEnvironment-BsUsq25-.js";
|
|
7
|
+
import { n as IconButton, r as Loader, t as Button } from "./Button-Cm7cT6BX.js";
|
|
8
|
+
import { s as useApiContext, t as httpDelete } from "./http-D6AdUBhO.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-DR51Q4mE.js";
|
|
10
10
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
11
11
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
12
12
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
13
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
13
|
+
import { C as EntityTypes } from "./processCapabilities-BSpmJOEd.js";
|
|
14
14
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
15
|
-
import { i as useAnalyticsContext, r as KEYBOARD_KEYS, t as Modal } from "./Modal-
|
|
16
|
-
import { a as LandingLayout, i as getPropsFromConfigurations, t as createFormRules } from "./form-rules-
|
|
17
|
-
import { t as
|
|
18
|
-
import {
|
|
19
|
-
import { n as
|
|
15
|
+
import { i as useAnalyticsContext, r as KEYBOARD_KEYS, t as Modal } from "./Modal-nylR9F4X.js";
|
|
16
|
+
import { a as LandingLayout, i as getPropsFromConfigurations, t as createFormRules } from "./form-rules-DV3hxYqZ.js";
|
|
17
|
+
import { t as ListItem } from "./ListItem-Cy46BXUv.js";
|
|
18
|
+
import { t as useBusinessLines } from "./useBusinessLines-D-rc-Z6G.js";
|
|
19
|
+
import { n as usePciQuestionnaireList } from "./usePciQuestionnaireList-BZsgbrTy.js";
|
|
20
|
+
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-Mi6DmHab.js";
|
|
20
21
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
21
|
-
import { r as useToastContext } from "./useId-
|
|
22
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
23
|
-
import { t as Avatar } from "./Avatar-
|
|
24
|
-
import { r as Field } from "./Select-
|
|
25
|
-
import { n as Confirm, t as StructuredList } from "./StructuredList-
|
|
26
|
-
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, o as FormFlow, p as summaryStep, r as useFormContext, x as mergeFieldMetadataIntoProps } from "./CountryField-
|
|
27
|
-
import { t as Image } from "./Image-
|
|
22
|
+
import { r as useToastContext } from "./useId-CIQmPG2J.js";
|
|
23
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-DStlTvE-.js";
|
|
24
|
+
import { t as Avatar } from "./Avatar-CeZIQS8n.js";
|
|
25
|
+
import { r as Field } from "./Select-Chv4JUrV.js";
|
|
26
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-C0ZSbjSm.js";
|
|
27
|
+
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, i as addValidityToForms, o as FormFlow, p as summaryStep, r as useFormContext, x as mergeFieldMetadataIntoProps } from "./CountryField-COQ0jZUr.js";
|
|
28
|
+
import { t as Image } from "./Image-8SOcICah.js";
|
|
28
29
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
29
|
-
import { t as Checkbox } from "./Checkbox-
|
|
30
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
31
|
-
import { t as getValidationErrorDisplayMessages } from "./validationError-
|
|
32
|
-
import { t as Link } from "./Link-
|
|
33
|
-
import { t as InputText } from "./InputText-
|
|
30
|
+
import { t as Checkbox } from "./Checkbox-faFUul66.js";
|
|
31
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C7fcguXK.js";
|
|
32
|
+
import { t as getValidationErrorDisplayMessages } from "./validationError-BAK8fc6r.js";
|
|
33
|
+
import { t as Link } from "./Link-B7RA2gSt.js";
|
|
34
|
+
import { t as InputText } from "./InputText-Cf9ccCaj.js";
|
|
34
35
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
35
36
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
36
|
-
import { t as NewSummary } from "./NewSummary-
|
|
37
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
38
|
-
import { t as
|
|
39
|
-
import { n as
|
|
40
|
-
import {
|
|
41
|
-
import { t as SignPCIComponent } from "./SignPCIComponent-B5KSvmFl.js";
|
|
37
|
+
import { t as NewSummary } from "./NewSummary-Bfjw18hL.js";
|
|
38
|
+
import { t as useTaskStatus } from "./useTaskStatus-Be6XyW54.js";
|
|
39
|
+
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-D6D9DAn1.js";
|
|
40
|
+
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-vF9EIV5U.js";
|
|
41
|
+
import { t as SignPCIComponent } from "./SignPCIComponent-ETmKQluE.js";
|
|
42
42
|
import { lazy } from "preact/compat";
|
|
43
43
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
44
44
|
import cx from "classnames";
|