@adyen/kyc-components 4.5.0 → 4.6.0-beta.0
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/README.md +31 -43
- package/dist/{AcceptTermsOfServiceComponent-Bo8nB0Eb.js → AcceptTermsOfServiceComponent-DTURkN9O.js} +17 -20
- package/dist/{AccountSetupRejected-DQcFbIXL.js → AccountSetupRejected-D7yqqcm_.js} +2 -2
- package/dist/{ActionBar-Bj1Km-LP.js → ActionBar-CdFYb-7S.js} +2 -2
- package/dist/{Address-C0rbmhQL.js → Address-BkeFTMl-.js} +16 -16
- package/dist/{Avatar-Cl1-jo6c.js → Avatar-BpQFX0rJ.js} +2 -2
- package/dist/{BusinessFinancingComponent-Bk0PbC9m.js → BusinessFinancingComponent-CshEgNjO.js} +5 -5
- package/dist/{BusinessFinancingDropin-BAYyFYt9.js → BusinessFinancingDropin-B2kKDCNB.js} +31 -34
- package/dist/{BusinessFinancingPage-Cc--qt48.js → BusinessFinancingPage-96zTF7BJ.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C63ujxOo.js → BusinessTypeSelectionPage-BVucjw8H.js} +9 -14
- package/dist/{Checkbox-DnP0i74G.js → Checkbox-Dwf4zXgj.js} +2 -2
- package/dist/{Confirm-Bf4Pjkty.js → Confirm-DOjzHnlC.js} +3 -3
- package/dist/{ConstitutionalDocument-CddO3OSY.js → ConstitutionalDocument-C4HWFtJ-.js} +336 -92
- package/dist/{ContactDetails-BZ7dqNuH.js → ContactDetails-ByrH32Jo.js} +12 -7
- package/dist/{ContextGuidance-0XKaQ9Ba.js → ContextGuidance-BUczCMV3.js} +2 -2
- package/dist/{CountryField-BTwq-LdM.js → CountryField-C9nbUmpe.js} +3 -3
- package/dist/{CreateIndividualComponent-B0RfIm2Q.js → CreateIndividualComponent-AOb8RP8N.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-XiVVyTGX.js → CreateTransferInstrumentComponent-BBytn3E3.js} +5 -5
- package/dist/{Currency-COs4cPiC.js → Currency-B1ApVUnP.js} +7 -7
- package/dist/{CustomerSupport-WsGepkci.js → CustomerSupport-DDtZA5jI.js} +11 -16
- package/dist/{DebugModal-BG-xZugG.js → DebugModal-wXFq4cg1.js} +127 -98
- package/dist/DecisionMakerDetails-Up9HU_qy.js +275 -0
- package/dist/{DecisionMakerDetailsPage-BNDJ4G9u.js → DecisionMakerDetailsPage-OeI7y1aX.js} +10 -10
- package/dist/{DecisionMakers-BkgGDV_d.js → DecisionMakers-5bUJ4S4V.js} +22 -259
- package/dist/{Dropzone-1307mgIt.js → Dropzone-Bf8v-4iJ.js} +4 -4
- package/dist/{EmbeddedStatus-C9Scvouz.js → EmbeddedStatus-DQmqyOzv.js} +3 -3
- package/dist/{EndStateLayout-D8bTvH_H.js → EndStateLayout-DZgYKmw6.js} +2 -2
- package/dist/{EntityAssociation-CFtBLGS6.js → EntityAssociation-Dc8O6xJv.js} +5 -5
- package/dist/{EntityGuidanceStatus-5wNdPvGh.js → EntityGuidanceStatus-DhCqUWGF.js} +4 -4
- package/dist/{ErrorPanel-DNuuMh-W.js → ErrorPanel-4HIDH4sr.js} +11 -12
- package/dist/{Field-DhgxtDHi.js → Field-CWq5XOh3.js} +2 -2
- package/dist/{FormNavigation-CNUCAuSA.js → FormNavigation-CDlQZRNb.js} +3 -3
- package/dist/{Individual.rules-BMayKVCw.js → Individual.rules-BhSXCdTl.js} +12 -12
- package/dist/{IndividualDropin-CNYG1UJb.js → IndividualDropin-DS8kUrXB.js} +252 -97
- package/dist/{InputDate-UU6golKr.js → InputDate-C2NEOpK4.js} +1 -1
- package/dist/{InputText-B_Dy6ooB.js → InputText-20pWI3ja.js} +2 -2
- package/dist/{Introduction-Dal7p5Mk.js → Introduction-D6x5z2oe.js} +4 -9
- package/dist/InvitedDecisionMakerComponent-Bg-DMehe.js +211 -0
- package/dist/{JpAddress-DEzR_98l.js → JpAddress-CX4IfNRB.js} +11 -11
- package/dist/{LandingLayout-CHRI270t.js → LandingLayout-y-X0NrR1.js} +2 -2
- package/dist/{LegalCompanyNameField-BtcoTH2A.js → LegalCompanyNameField-lEerISaT.js} +16 -16
- package/dist/{LegalRepresentativeDetailsPage-DkeUe4ta.js → LegalRepresentativeDetailsPage-C6dOsu1g.js} +5 -5
- package/dist/{Link-Bl_GjNYw.js → Link-DeFoaStC.js} +2 -2
- package/dist/{ListItem-DvSwwjUU.js → ListItem-BFxtRiVb.js} +3 -3
- package/dist/{LoaderWrapper-Coambg3s.js → LoaderWrapper-Bh1b67kY.js} +2 -2
- package/dist/{ManageIndividualComponent-Cg7imjd5.js → ManageIndividualComponent-DHYNg_KN.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DIblbnOJ.js → ManageTermsOfServiceComponent-BNzELB7A.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-COucevgP.js → ManageTransferInstrumentComponent-9r84TFsu.js} +11 -11
- package/dist/{MaskedInput-CFPRK30D.js → MaskedInput-DPSvsK95.js} +5 -5
- package/dist/{MaybeModal-BBBJD1jn.js → MaybeModal-BbrppFfg.js} +3 -3
- package/dist/{Modal-DJLTbW4Y.js → Modal-CAVcW_pH.js} +2 -2
- package/dist/{Name-Bu38kdOA.js → Name-eQhc9Vta.js} +4 -4
- package/dist/{NewSummary-oIcQyhuq.js → NewSummary-B_xfd8vG.js} +5 -5
- package/dist/{OnboardingDropinComponent-DqQmqcO8.js → OnboardingDropinComponent-BRZuLCE8.js} +145 -218
- package/dist/{PayoutDetailsDropin-D7AR5BSQ.js → PayoutDetailsDropin-B6ZMIVid.js} +183 -1065
- package/dist/{PayoutDetailsPage-BCBGGB28.js → PayoutDetailsPage-BSzf6sev.js} +6 -6
- package/dist/{RadioGroup-DCmqcl_S.js → RadioGroup-BZ-EfNXM.js} +2 -2
- package/dist/{Review-DQA1vIzH.js → Review-BVeMAC7t.js} +6 -6
- package/dist/{RootBusinessDetailsPage--bsR-yKt.js → RootBusinessDetailsPage-OlgTozou.js} +6 -6
- package/dist/{RootBusinessLinesPage-DIYKqsLt.js → RootBusinessLinesPage-CUwKkzZU.js} +93 -91
- package/dist/{RootIndividualDetailsPage-CXKr1vhL.js → RootIndividualDetailsPage-CqP8gdvk.js} +7 -6
- package/dist/{Select-CyK-d8L8.js → Select-DSLn5CCG.js} +4 -4
- package/dist/{SignPCIComponent-BvAt735T.js → SignPCIComponent-CT6GL442.js} +12 -19
- package/dist/{SingpassSelection-Cidszm4a.js → SingpassSelection-BORgM-de.js} +144 -7
- package/dist/{SoleProprietorshipPage-CgAHjrJh.js → SoleProprietorshipPage-BylQa2F1.js} +5 -5
- package/dist/{SourceOfFundsPage-Rh40Ip6D.js → SourceOfFundsPage-Br-FaeUd.js} +270 -98
- package/dist/{StepProgressIndicator-C38x_hKs.js → StepProgressIndicator-ZZsrHrtb.js} +2 -2
- package/dist/{StoreProvider-o79GZkUo.js → StoreProvider-lJLpl6iE.js} +155 -148
- package/dist/{Summary-DbPdEnQi.js → Summary-DdFh8LL0.js} +25 -22
- package/dist/{TaxInformationField-C6DdzDTL.js → TaxInformationField-5nazrzc4.js} +568 -795
- package/dist/{TaxReportingDropin-Dc75TUYl.js → TaxReportingDropin-DAeAPOI5.js} +26 -26
- package/dist/{TextArea-XLgx9WmG.js → TextArea-D0eJRv8v.js} +2 -2
- package/dist/{TileGroup-DsYUn_bt.js → TileGroup-C8YY0Xwv.js} +3 -3
- package/dist/{TrustDetailsPage-B_QUEYM5.js → TrustDetailsPage-BHo4SFbD.js} +64 -65
- package/dist/{TrustMemberCompanyPage-aBW14Thb.js → TrustMemberCompanyPage-CZMF952c.js} +7 -7
- package/dist/{TrustMemberIndividualPage-DNgZI75l.js → TrustMemberIndividualPage-RSIXbPaf.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-CbOyf3oB.js → TrustMemberRoleAndTypePage-BehlWyo7.js} +27 -27
- package/dist/{TrustMembersOverview-7waB6Dud.js → TrustMembersOverview-KI0J7peC.js} +16 -18
- package/dist/{UnincorporatedPartnershipIndividualPage-DFvESJUR.js → UnincorporatedPartnershipIndividualPage-CNf-sPP4.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-j2xmgM94.js → UnincorporatedPartnershipMemberCompanyPage-OyKeY30-.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BlJsglW1.js → UnincorporatedPartnershipMemberRoleAndTypePage-Bt21JX-F.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-1-yK01Ox.js → UnincorporatedPartnershipMembersOverview-DdTGn8QH.js} +7 -7
- package/dist/{VerificationErrorAlert-BsJqccUV.js → VerificationErrorAlert-ChGZqC_p.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-Bx3tJek7.js → ViewVerificationStatusComponent-9RUetbsi.js} +3 -3
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +4 -4
- package/dist/adyen-individual-status.js +4 -4
- package/dist/adyen-invited-decision-maker.js +4 -117
- package/dist/adyen-kyc-components.js +17 -17
- package/dist/adyen-onboarding.js +4 -4
- package/dist/adyen-terms-of-service-management.js +4 -4
- package/dist/adyen-terms-of-service-status.js +4 -4
- package/dist/adyen-transfer-instrument-configuration.js +4 -4
- package/dist/adyen-transfer-instrument-management.js +4 -4
- package/dist/adyen-verification-status.js +4 -4
- package/dist/{bafinUtils-sfpUKqEq.js → bafinUtils-m56sOqio.js} +2 -2
- package/dist/{commonValidators-h59h4U6_.js → commonValidators-cEWuPs2I.js} +1 -1
- package/dist/{dropinUtils-C78qUFNH.js → dropinUtils-B-qE8vvG.js} +53 -9
- package/dist/en-US-CJDkXFZ6.js +13 -0
- package/dist/en-US-CTbVLoNF.js +13 -0
- package/dist/en-US-CfazE4ht.js +13 -0
- package/dist/{en-US-G607HIyo.js → en-US-DPoDE0uz.js} +7 -7
- package/dist/en-US-DrUYyPhF.js +13 -0
- package/dist/{formUtils-D9HJXrvu.js → formUtils-DjInEErz.js} +3 -3
- package/dist/{getName-C1Pp12yX.js → getName-CzAV6RHp.js} +2 -2
- package/dist/{getProblemsForEntity-CyQdh7Lw.js → getProblemsForEntity-CVzYoCCC.js} +2 -2
- package/dist/getTrustedFields-BeaCYGD7.js +104 -0
- package/dist/{isEmpty-Dxhg5YWQ.js → isEmpty-CRqBruDc.js} +1 -1
- package/dist/japanSupportUtils-BK4rTASp.js +16 -0
- package/dist/{localizeDateString-ltj3KR-p.js → localizeDateString-BSZiJcEb.js} +2 -2
- package/dist/{mapExistingFile-J5xtIyOp.js → mapExistingFile-BcvOzQNH.js} +3 -76
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js → mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js} +2 -36
- package/dist/{mapLegalEntityToIndividualSchema-fUEX0pyE.js → mapLegalEntityToIndividualSchema-_HlywUjg.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BxS7kMUd.js → mapTransferInstrumentToPayoutAccount-69DkBhXm.js} +2 -2
- package/dist/omitObscuredFieldsIfUnchanged-tsdNkCyN.js +29 -0
- package/dist/{patternValidators-DmtoCjEe.js → patternValidators-DuOaKe_S.js} +2 -2
- package/dist/{process-field-configurations-Bo_HZH3p.js → process-field-configurations-DcWH0t4d.js} +2 -2
- package/dist/{resolveEnvironment-9pYwfLRr.js → resolveEnvironment-Bs-ygpN1.js} +17 -24
- package/dist/{roleMetadata-ZbDuZjur.js → roleMetadata-B-2OBUCV.js} +3 -3
- package/dist/style.css +230 -275
- package/dist/styles-CLV89_hH.js +230 -275
- package/dist/types/api/toggles/useToggles.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -29
- package/dist/types/components/BankAccount/forms/BankVerification/BankVerification.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/BankVerification/verification/{widget → overlay}/types.d.ts +4 -14
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/payoutVerificationMethodMetadata.d.ts +1 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +4 -5
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsGettingStarted.d.ts +6 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +2 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +7 -5
- package/dist/types/components/Business/utils/companyUtil.d.ts +2 -2
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +3 -2
- package/dist/types/components/Business/utils/submit.d.ts +1 -1
- package/dist/types/components/Business/utils/useCompanySearchFeature.d.ts +5 -0
- package/dist/types/components/BusinessLines/forms/SalesChannelsForm/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/PciDropin/PciDropin.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +9 -9
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +11 -0
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +15 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +5 -4
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -3
- package/dist/types/components/Individual/forms/IdNowVerificationModal/IFrameWidget.d.ts +9 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/DecisionMakerDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/InvitedDecisionMaker/InvitedDecisionMakerSubmitSuccess/InvitedDecisionMakerSubmitSuccess.d.ts +6 -1
- package/dist/types/components/Individual/tasks/DecisionMakers/hooks/useTaskStatusWithTimeout.d.ts +15 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +14 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -1
- package/dist/types/components/Shared/devex/DebugListener/DebugTogglesAndSettings.d.ts +8 -0
- package/dist/types/components/Shared/devex/DebugListener/debugInfo.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +12 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/getDefaultRegistrationNumberType.d.ts +4 -4
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → BusinessRegistrationNumberField/RegistrationNumberTypeSelector}/inferCompanyRegistrationNumberType.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +92 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +8 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +0 -483
- package/dist/types/components/Shared/fields/LegalCompanyNameField/LegalCompanyNameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/TaxIdNumberTypeSelector.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/getDefaultTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → TaxInformationField/TaxIdNumberTypeSelector}/inferTaxIdNumberType.d.ts +5 -5
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +232 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +8 -0
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +14 -0
- package/dist/types/components/Shared/fields/{IdFieldTypeSelector → VatNumberField/VatNumberTypeSelector}/getDefaultVatNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/inferVatNumberType.d.ts +3 -0
- package/dist/types/components/Shared/fields/VatNumberField/fieldConfig.d.ts +1 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +10 -1
- package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +149 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +6 -1
- package/dist/types/components/Shared/forms/Address/validate.d.ts +3 -3
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
- package/dist/types/components/Trust/mapping/mapTrustToLegalEntity.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/validate.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/mapping/mapUnincorporatedPartnershipToLegalEntity.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/context/FormRouterContext/FormRouterContext.d.ts +5 -0
- package/dist/types/context/FormRouterContext/FormRouterContextProvider.d.ts +1 -1
- package/dist/types/context/FormRouterContext/types.d.ts +1 -0
- package/dist/types/context/FormRouterContext/useFormRouterContext.d.ts +4 -0
- package/dist/types/context/SettingsContext/types.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContext.d.ts +2 -0
- package/dist/types/context/ToggleContext/ToggleContextProvider.d.ts +9 -0
- package/dist/types/context/{ExperimentContext → ToggleContext}/types.d.ts +42 -32
- package/dist/types/context/ToggleContext/useToggleContext.d.ts +1 -0
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -3
- package/dist/types/core/UIElement/UIElement.d.ts +3 -2
- package/dist/types/core/models/api/organization.d.ts +1 -1
- package/dist/types/embeds/baseEmbedProps.d.ts +3 -3
- package/dist/types/hooks/useFormComposer.d.ts +1 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/hooks/useTaskLandedEvent.d.ts +7 -0
- package/dist/types/language/types.d.ts +2 -9
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/router/routeConfig.d.ts +1 -0
- package/dist/types/stores/globalStore/taskTypes.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/api/processCapabilitites.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/{types-Bbb9XYx7.js → types-C4u-zy-W.js} +2 -2
- package/dist/{types-_ugkpUNx.js → types-CTwBMnPB.js} +46 -37
- package/dist/{types-Dz6L62GR.js → types-Cop44iUw.js} +2 -2
- package/dist/{types-CQ2p58-6.js → types-Dv0COrvY.js} +3 -2
- package/dist/{types-C4ieOutZ.js → types-QKgg5_IB.js} +2 -2
- package/dist/{unincorporated-partnership-BC2PWEgm.js → unincorporated-partnership-DCtqSVs0.js} +2 -2
- package/dist/{useAssociatedLegalEntity-BSvkLl8Y.js → useAssociatedLegalEntity-COa3bZhe.js} +2 -2
- package/dist/{useBusinessDetailsData-BMzgGX4d.js → useBusinessDetailsData-DslnLoRz.js} +443 -397
- package/dist/{useCreateLegalEntity-i6pKh0i4.js → useCreateLegalEntity-CO7qV3Sc.js} +2 -2
- package/dist/{useForm-CdWcC_Oh.js → useForm-F0hPmSqd.js} +3 -3
- package/dist/{useFormContext-DGfVqoR2.js → useFormContext-EeYo1zte.js} +17 -8
- package/dist/{useGlobalData-B6jCg1Ek.js → useGlobalData-DKxTj6bo.js} +24 -15
- package/dist/{useMultiForm-Cmp2wrss.js → useMultiForm-CR9pqYjq.js} +4 -4
- package/dist/{useOnboardingStatus-Dm_xuWC2.js → useOnboardingStatus-D2I19RDh.js} +2 -2
- package/dist/{useScenarios-ho-q4vGs.js → useScenarios-BvV1t76w.js} +2 -2
- package/dist/{useTermsOfServiceStatus-Dof1-HII.js → useTermsOfServiceStatus-C0uqYCFG.js} +2 -2
- package/dist/{useToastContext-CflZZ_Su.js → useToastContext-Dl59lP3Q.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-rfHqZZWF.js → useUnincorporatedPartnershipMembers-BRQxcrvc.js} +5 -5
- package/dist/{useUpdateBusinessLines-vNF2Y_nP.js → useUpdateBusinessLines-FG7FE2l9.js} +6 -6
- package/dist/{useUpdateLegalEntity-CtdSLVIW.js → useUpdateLegalEntity-Dr3e1mG2.js} +3 -3
- package/dist/{utils-CPWcV5kL.js → utils-2-VlpJvY.js} +2 -2
- package/dist/{utils-DHB6YxqA.js → utils-Bmx7w6cI.js} +6 -6
- package/dist/{utils-CXn7BO_7.js → utils-CCjjhUUz.js} +53 -6
- package/dist/{utils-CF18b8u8.js → utils-CWrDCmo5.js} +22 -2
- package/dist/{utils-DXCw1aJK.js → utils-DCXRR-sY.js} +1 -1
- package/dist/{validate-DPhS2sGf.js → validate-B--uGfCw.js} +1 -1
- package/dist/{validate-BH9M6gvx.js → validate-DdW_lr56.js} +3 -3
- package/dist/{validationError-BDDYiyYy.js → validationError-DmyvOY60.js} +2 -2
- package/package.json +1 -5
- package/dist/RadioGroupCard-nQz2Uhca.js +0 -152
- package/dist/en-US--1W760fR.js +0 -13
- package/dist/en-US-CKLQU2sJ.js +0 -13
- package/dist/en-US-CozY33On.js +0 -13
- package/dist/en-US-DLY20x1O.js +0 -13
- package/dist/iframeWidget-D-vHGFmR.js +0 -234
- package/dist/instant-verification-UrnuHTYn.js +0 -40
- package/dist/japanSupportUtils-C5HeKRQ7.js +0 -16
- package/dist/manual-verification-BO8zgAYT.js +0 -41
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocument.d.ts +0 -5
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirements.d.ts +0 -9
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentRequirementsModal.d.ts +0 -6
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/BankVerificationWidget.d.ts +0 -3
- package/dist/types/components/BankAccount/forms/BankVerification/verification/widget/iframeWidget.d.ts +0 -32
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -5
- package/dist/types/components/Shared/devex/DebugListener/DebugExperimentsAndSettings.d.ts +0 -7
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +0 -20
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +0 -21
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/inferVatNumberType.d.ts +0 -3
- package/dist/types/context/ExperimentContext/ExperimentsContext.d.ts +0 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +0 -8
- package/dist/types/context/ExperimentContext/useExperimentsContext.d.ts +0 -1
- package/dist/types/utils/bankVerification/dom.d.ts +0 -1
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bfd69ad8-d824-4ed6-b16a-45dce6e30ff4", e._sentryDebugIdIdentifier = "sentry-dbid-bfd69ad8-d824-4ed6-b16a-45dce6e30ff4");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { w as TaskTypes, L as LegalEntityTypes, u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, R as ROOT_LE, x as useAnalyticsContext, V as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-ZZsrHrtb.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-BRZuLCE8.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -162,11 +162,6 @@ const IntroductionInner = ({
|
|
|
162
162
|
const pageEventDetails = {
|
|
163
163
|
page: introductionScreens?.length ? introductionScreens[activeIndex] : void 0
|
|
164
164
|
};
|
|
165
|
-
useEffect(() => {
|
|
166
|
-
userEvents.addTaskEvent("Landed on page", {
|
|
167
|
-
actionType: "start"
|
|
168
|
-
});
|
|
169
|
-
}, [userEvents]);
|
|
170
165
|
useEffect(() => {
|
|
171
166
|
if (!introductionScreens?.length) {
|
|
172
167
|
onExitIntroduction();
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
4
|
+
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0870ab2a-8ed3-411f-83ec-2413b50b89c4", e._sentryDebugIdIdentifier = "sentry-dbid-0870ab2a-8ed3-411f-83ec-2413b50b89c4");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { b as useApiContext, k as httpGet, u as useTranslation, V as Button, Y as TASK_STATUS_POLLING_INTERVAL_MS, y as TaskStatuses, U as Loader, G as TaskVerificationStatus, ai as noop, w as TaskTypes, a as addResourceBundles, P as useLegalEntity, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
|
|
11
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
|
+
import { useState, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
14
|
+
import { a as getIndividualLegalEntityName } from "./getName-CzAV6RHp.js";
|
|
15
|
+
import { lazy } from "preact/compat";
|
|
16
|
+
import { I as Image } from "./unincorporated-partnership-DCtqSVs0.js";
|
|
17
|
+
import { L as LandingLayout } from "./LandingLayout-y-X0NrR1.js";
|
|
18
|
+
import { L as List } from "./List-BAzyC6sw.js";
|
|
19
|
+
import { L as ListItem } from "./ListItem-BFxtRiVb.js";
|
|
20
|
+
import { g as getLandingLayoutProps, a as getDecisionMakerDescription, D as DecisionMakerDetails } from "./DecisionMakerDetails-Up9HU_qy.js";
|
|
21
|
+
import { u as useTaskStatus } from "./getTrustedFields-BeaCYGD7.js";
|
|
22
|
+
import { I as IndividualDropin } from "./IndividualDropin-DS8kUrXB.js";
|
|
23
|
+
const getInvitedEntityAssociationData = async (invitedLegalEntityId, baseUrl) => {
|
|
24
|
+
return httpGet({
|
|
25
|
+
baseUrl,
|
|
26
|
+
path: `invitedLegalEntities/${invitedLegalEntityId}/entityAssociationData`
|
|
27
|
+
});
|
|
28
|
+
};
|
|
29
|
+
const useInvitedEntityAssociationData = (invitedLegalEntityId, options) => {
|
|
30
|
+
const { baseUrl } = useApiContext();
|
|
31
|
+
return useQuery({
|
|
32
|
+
queryKey: ["entityAssociationData", invitedLegalEntityId],
|
|
33
|
+
queryFn: () => getInvitedEntityAssociationData(invitedLegalEntityId, baseUrl.value),
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
const invitedDecisionMakersContainer = "adyen-kyc-invited-decision-makers-container";
|
|
38
|
+
const styles = {
|
|
39
|
+
invitedDecisionMakersContainer
|
|
40
|
+
};
|
|
41
|
+
const decisionMakerGroup$1 = lazy(() => import("./decision-makers-group-DrvpnEqj.js"));
|
|
42
|
+
const InvitedDecisionMakerGettingStarted = ({
|
|
43
|
+
addDecisionMakerOnClick
|
|
44
|
+
}) => {
|
|
45
|
+
const { t } = useTranslation("individual");
|
|
46
|
+
const { t: commonT } = useTranslation("common");
|
|
47
|
+
return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsx(
|
|
48
|
+
LandingLayout,
|
|
49
|
+
{
|
|
50
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup$1 }),
|
|
51
|
+
title: t(($) => $["tellUsAboutYourself"]),
|
|
52
|
+
description: t(($) => $["invitedDecisionMakerIntroDescription"]),
|
|
53
|
+
actions: /* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: addDecisionMakerOnClick, children: commonT(($) => $["gettingStarted"]) })
|
|
54
|
+
}
|
|
55
|
+
) });
|
|
56
|
+
};
|
|
57
|
+
const useTaskStatusWithTimeout = (taskType, timeoutMs = 16e3) => {
|
|
58
|
+
const [hasTimedOut, setHasTimedOut] = useState(false);
|
|
59
|
+
const { data: taskStatuses } = useTaskStatus({
|
|
60
|
+
refetchInterval: (query) => {
|
|
61
|
+
const status = query.state.data?.statuses?.find((task) => task.type === taskType)?.status;
|
|
62
|
+
if (status === "FINISHED" || status === "ERROR" || hasTimedOut) {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
return TASK_STATUS_POLLING_INTERVAL_MS;
|
|
66
|
+
}
|
|
67
|
+
});
|
|
68
|
+
const submitStatus = taskStatuses?.[taskType]?.status;
|
|
69
|
+
useEffect(() => {
|
|
70
|
+
let timer;
|
|
71
|
+
if (submitStatus === TaskStatuses.PROCESSING) {
|
|
72
|
+
timer = setTimeout(() => {
|
|
73
|
+
setHasTimedOut(true);
|
|
74
|
+
}, timeoutMs);
|
|
75
|
+
}
|
|
76
|
+
return () => {
|
|
77
|
+
if (timer) clearTimeout(timer);
|
|
78
|
+
};
|
|
79
|
+
}, [submitStatus, timeoutMs]);
|
|
80
|
+
const isLoading = submitStatus === TaskStatuses.PROCESSING && !hasTimedOut || submitStatus === void 0;
|
|
81
|
+
const isErrorOrDetailsRequired = submitStatus === TaskStatuses.ERROR || submitStatus === TaskStatuses.DETAILS_REQUIRED;
|
|
82
|
+
const decisionMakerStatus = submitStatus ?? TaskStatuses.UNKNOWN;
|
|
83
|
+
return { submitStatus, decisionMakerStatus, isLoading, isErrorOrDetailsRequired };
|
|
84
|
+
};
|
|
85
|
+
const decisionMakerGroup = lazy(() => import("./decision-makers-group-DrvpnEqj.js"));
|
|
86
|
+
const InvitedDecisionMakerSubmitSuccess = ({
|
|
87
|
+
decisionMaker,
|
|
88
|
+
handleEdit = noop
|
|
89
|
+
}) => {
|
|
90
|
+
const { t } = useTranslation("individual");
|
|
91
|
+
const [showDecisionMakerModal, setShowDecisionMakerModal] = useState(false);
|
|
92
|
+
const { submitStatus, decisionMakerStatus, isLoading, isErrorOrDetailsRequired } = useTaskStatusWithTimeout(TaskTypes.INVITED_INDIVIDUAL);
|
|
93
|
+
const landingLayoutProps = useMemo(
|
|
94
|
+
() => getLandingLayoutProps(submitStatus, isErrorOrDetailsRequired, t),
|
|
95
|
+
[submitStatus, isErrorOrDetailsRequired, t]
|
|
96
|
+
);
|
|
97
|
+
const handleOpenModal = useCallback(() => setShowDecisionMakerModal(true), []);
|
|
98
|
+
const handleCloseModal = useCallback(() => setShowDecisionMakerModal(false), []);
|
|
99
|
+
const decisionMakerWithStatus = useMemo(
|
|
100
|
+
() => ({ ...decisionMaker, status: decisionMakerStatus }),
|
|
101
|
+
[decisionMaker, decisionMakerStatus]
|
|
102
|
+
);
|
|
103
|
+
if (isLoading) {
|
|
104
|
+
return /* @__PURE__ */ jsx("div", { className: styles.invitedDecisionMakersContainer, children: /* @__PURE__ */ jsx(Loader, {}) });
|
|
105
|
+
}
|
|
106
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.invitedDecisionMakersContainer, children: [
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
LandingLayout,
|
|
109
|
+
{
|
|
110
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: decisionMakerGroup }),
|
|
111
|
+
...landingLayoutProps
|
|
112
|
+
}
|
|
113
|
+
),
|
|
114
|
+
(submitStatus === TaskStatuses.PROCESSING || isErrorOrDetailsRequired) && /* @__PURE__ */ jsxs(List, { variant: "grouped-primary", padding: "medium", dividers: false, children: [
|
|
115
|
+
/* @__PURE__ */ jsx(
|
|
116
|
+
ListItem,
|
|
117
|
+
{
|
|
118
|
+
accessory: /* @__PURE__ */ jsx(TaskVerificationStatus, { status: decisionMakerStatus }),
|
|
119
|
+
avatar: { iconName: "user", circle: true },
|
|
120
|
+
title: decisionMaker.name,
|
|
121
|
+
description: getDecisionMakerDescription(decisionMaker.types, t)
|
|
122
|
+
}
|
|
123
|
+
),
|
|
124
|
+
isErrorOrDetailsRequired && /* @__PURE__ */ jsx("div", { className: "adyen-kyc-u-margin-top-16", children: /* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: handleOpenModal, children: t(($) => $["reviewDetails"]) }) })
|
|
125
|
+
] }),
|
|
126
|
+
isErrorOrDetailsRequired && showDecisionMakerModal && /* @__PURE__ */ jsx(
|
|
127
|
+
DecisionMakerDetails,
|
|
128
|
+
{
|
|
129
|
+
handleClose: handleCloseModal,
|
|
130
|
+
handleEdit,
|
|
131
|
+
decisionMaker: decisionMakerWithStatus
|
|
132
|
+
}
|
|
133
|
+
)
|
|
134
|
+
] });
|
|
135
|
+
};
|
|
136
|
+
function InvitedDecisionMakerComponent({
|
|
137
|
+
invitedIndividualId
|
|
138
|
+
}) {
|
|
139
|
+
if (!invitedIndividualId) {
|
|
140
|
+
throw new Error("Must provide `invitedIndividualEntityId`");
|
|
141
|
+
}
|
|
142
|
+
const { i18n } = useTranslation();
|
|
143
|
+
addResourceBundles(i18n, [
|
|
144
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
145
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
146
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../../Individual/language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../../Individual/language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../../Individual/language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../../Individual/language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../../Individual/language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../../Individual/language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../../Individual/language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../../Individual/language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../../Individual/language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../../Individual/language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../../Individual/language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../../Individual/language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
147
|
+
]);
|
|
148
|
+
const [step, setStep] = useState("landingStep");
|
|
149
|
+
const { data: invitedIndividualLe } = useLegalEntity(invitedIndividualId);
|
|
150
|
+
const { data: invitedEntityAssociationData } = useInvitedEntityAssociationData(invitedIndividualId);
|
|
151
|
+
const invitedEntityDetails = useMemo(() => {
|
|
152
|
+
if (!invitedEntityAssociationData) {
|
|
153
|
+
return {
|
|
154
|
+
roles: []
|
|
155
|
+
};
|
|
156
|
+
}
|
|
157
|
+
const { associations } = invitedEntityAssociationData;
|
|
158
|
+
const roles = Array.from(new Set(associations.map((a) => a.type)));
|
|
159
|
+
const jobTitle = associations.find((a) => a.jobTitle)?.jobTitle;
|
|
160
|
+
return { roles, jobTitle };
|
|
161
|
+
}, [invitedEntityAssociationData]);
|
|
162
|
+
const decisionMaker = useMemo(
|
|
163
|
+
() => ({
|
|
164
|
+
reference: invitedIndividualId,
|
|
165
|
+
name: getIndividualLegalEntityName(invitedIndividualLe),
|
|
166
|
+
types: invitedEntityDetails.roles,
|
|
167
|
+
legalEntityType: invitedIndividualLe?.type
|
|
168
|
+
}),
|
|
169
|
+
[invitedIndividualId, invitedIndividualLe, invitedEntityDetails.roles]
|
|
170
|
+
);
|
|
171
|
+
if (!invitedIndividualLe) {
|
|
172
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
173
|
+
}
|
|
174
|
+
const country = getLegalEntityCountry(invitedIndividualLe);
|
|
175
|
+
const handleSubmitSuccess = () => setStep("submitSuccessStep");
|
|
176
|
+
switch (step) {
|
|
177
|
+
case "landingStep":
|
|
178
|
+
return /* @__PURE__ */ jsx(
|
|
179
|
+
InvitedDecisionMakerGettingStarted,
|
|
180
|
+
{
|
|
181
|
+
addDecisionMakerOnClick: () => setStep("provideDetailsStep")
|
|
182
|
+
}
|
|
183
|
+
);
|
|
184
|
+
case "provideDetailsStep":
|
|
185
|
+
return /* @__PURE__ */ jsx(
|
|
186
|
+
IndividualDropin,
|
|
187
|
+
{
|
|
188
|
+
taskType: TaskTypes.DECISION_MAKER,
|
|
189
|
+
taskName: "decisionMakerDetails",
|
|
190
|
+
legalEntityResponse: invitedIndividualLe,
|
|
191
|
+
problems: void 0,
|
|
192
|
+
country,
|
|
193
|
+
handleHomeClick: noop,
|
|
194
|
+
isInvitedEntity: true,
|
|
195
|
+
invitedEntityDetails,
|
|
196
|
+
onSubmit: handleSubmitSuccess
|
|
197
|
+
}
|
|
198
|
+
);
|
|
199
|
+
case "submitSuccessStep":
|
|
200
|
+
return /* @__PURE__ */ jsx(
|
|
201
|
+
InvitedDecisionMakerSubmitSuccess,
|
|
202
|
+
{
|
|
203
|
+
decisionMaker,
|
|
204
|
+
handleEdit: () => setStep("provideDetailsStep")
|
|
205
|
+
}
|
|
206
|
+
);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
export {
|
|
210
|
+
InvitedDecisionMakerComponent
|
|
211
|
+
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f86b5262-8da4-495b-8f95-10d77ad9c0e6", e._sentryDebugIdIdentifier = "sentry-dbid-f86b5262-8da4-495b-8f95-10d77ad9c0e6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,18 +10,18 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext,
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, k as httpGet, ai as noop, u as useTranslation, H as useToggleContext, x as useAnalyticsContext, a9 as CountryCodes, N as Typography, O as StackLayout, ae as createLogger } from "./StoreProvider-lJLpl6iE.js";
|
|
14
|
+
import { F as Field } from "./Field-CWq5XOh3.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
18
|
-
import { I as InputText } from "./InputText-
|
|
19
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
17
|
+
import { u as useForm } from "./useForm-F0hPmSqd.js";
|
|
18
|
+
import { I as InputText } from "./InputText-20pWI3ja.js";
|
|
19
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-DPSvsK95.js";
|
|
20
20
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
21
|
-
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-
|
|
21
|
+
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-BkeFTMl-.js";
|
|
22
22
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
23
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
24
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
23
|
+
import { c as convertFullToHalf } from "./TextArea-D0eJRv8v.js";
|
|
24
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-BgHjkrJG.js";
|
|
25
25
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
26
26
|
baseUrl,
|
|
27
27
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -51,12 +51,12 @@ const JpAddress = ({
|
|
|
51
51
|
onChange
|
|
52
52
|
}) => {
|
|
53
53
|
const { t } = useTranslation("common");
|
|
54
|
-
const {
|
|
54
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
55
55
|
const userEvents = useAnalyticsContext();
|
|
56
56
|
const form = useForm({
|
|
57
57
|
schema: JP_ADDRESS_REQUIRED_FIELDS,
|
|
58
58
|
defaultData: dataProp,
|
|
59
|
-
rules:
|
|
59
|
+
rules: isFeatureEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, t) : addressValidationRules(CountryCodes.Japan),
|
|
60
60
|
fieldProblems: propFieldValidationErrors
|
|
61
61
|
});
|
|
62
62
|
let {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b1ce646e-1b45-446c-9c67-209e533b97d1", e._sentryDebugIdIdentifier = "sentry-dbid-b1ce646e-1b45-446c-9c67-209e533b97d1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { O as StackLayout, N as Typography } from "./StoreProvider-lJLpl6iE.js";
|
|
12
12
|
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
13
13
|
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
14
14
|
const landingLayoutErrors = "adyen-kyc-landing-layout-errors";
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "39cbe4e1-25e1-4052-876f-df7fb463b066", e._sentryDebugIdIdentifier = "sentry-dbid-39cbe4e1-25e1-4052-876f-df7fb463b066");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-lJLpl6iE.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-DuOaKe_S.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
13
|
+
import { F as Field } from "./Field-CWq5XOh3.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CAVcW_pH.js";
|
|
15
|
+
import { I as InputText } from "./InputText-20pWI3ja.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|
|
@@ -69,20 +69,20 @@ const defaultFieldConfigV4 = {
|
|
|
69
69
|
validators: [...validateLegalCompanyName, validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur]
|
|
70
70
|
}
|
|
71
71
|
};
|
|
72
|
-
const
|
|
72
|
+
const getLegalCompanyNameGuidanceText = (t, { country }) => {
|
|
73
73
|
switch (country) {
|
|
74
74
|
case CountryCodes.Australia:
|
|
75
|
-
return t(($) => $["
|
|
75
|
+
return t(($) => $["legalCompanyName__guidanceText__AU"]);
|
|
76
76
|
case CountryCodes.HongKong:
|
|
77
|
-
return t(($) => $["
|
|
77
|
+
return t(($) => $["legalCompanyName__guidanceText__HK"]);
|
|
78
78
|
case CountryCodes.Netherlands:
|
|
79
|
-
return t(($) => $["
|
|
79
|
+
return t(($) => $["legalCompanyName__guidanceText__NL"]);
|
|
80
80
|
case CountryCodes.Singapore:
|
|
81
|
-
return t(($) => $["
|
|
81
|
+
return t(($) => $["legalCompanyName__guidanceText__SG"]);
|
|
82
82
|
case CountryCodes.UnitedStates:
|
|
83
|
-
return t(($) => $["
|
|
83
|
+
return t(($) => $["legalCompanyName__guidanceText__US"]);
|
|
84
84
|
default:
|
|
85
|
-
return t(($) => $["
|
|
85
|
+
return t(($) => $["legalCompanyName__guidanceText"]);
|
|
86
86
|
}
|
|
87
87
|
};
|
|
88
88
|
const LEGAL_COMPANY_NAME_FIELD = [
|
|
@@ -93,7 +93,7 @@ function LegalCompanyNameField({
|
|
|
93
93
|
valid,
|
|
94
94
|
errors,
|
|
95
95
|
labels,
|
|
96
|
-
|
|
96
|
+
guidance,
|
|
97
97
|
readonly,
|
|
98
98
|
handleChangeFor
|
|
99
99
|
}) {
|
|
@@ -107,7 +107,7 @@ function LegalCompanyNameField({
|
|
|
107
107
|
{
|
|
108
108
|
name: "legalCompanyName",
|
|
109
109
|
label: labels.legalCompanyName,
|
|
110
|
-
|
|
110
|
+
formatGuidance: guidance,
|
|
111
111
|
errorMessage: errors.legalCompanyName,
|
|
112
112
|
isValid: valid.legalCompanyName,
|
|
113
113
|
children: (childProps) => /* @__PURE__ */ jsx(
|
|
@@ -134,5 +134,5 @@ export {
|
|
|
134
134
|
defaultFieldConfig as c,
|
|
135
135
|
defaultFieldMetadataV4 as d,
|
|
136
136
|
LegalCompanyNameField as e,
|
|
137
|
-
|
|
137
|
+
getLegalCompanyNameGuidanceText as g
|
|
138
138
|
};
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d5b6232c-37e5-4dba-82de-11a8b8865091", e._sentryDebugIdIdentifier = "sentry-dbid-d5b6232c-37e5-4dba-82de-11a8b8865091");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { P as useLegalEntity, u as useTranslation, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, E as EntityTypes, ai as noop, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { I as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CVzYoCCC.js";
|
|
14
|
+
import { I as IndividualDropin } from "./IndividualDropin-DS8kUrXB.js";
|
|
15
15
|
function LegalRepresentativeDetailsPage({
|
|
16
16
|
legalRepresentativeId,
|
|
17
17
|
asModal = false,
|
|
@@ -27,7 +27,7 @@ function LegalRepresentativeDetailsPage({
|
|
|
27
27
|
const capabilityProblems = useCapabilityProblems();
|
|
28
28
|
const { i18n } = useTranslation();
|
|
29
29
|
addResourceBundles(i18n, [
|
|
30
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../language/en-US.json": () => import("./en-US-
|
|
30
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DKld3x63.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BBLagJI6.js"), "../language/da-DK.json": () => import("./da-DK-D9FgPh5e.js"), "../language/de-DE.json": () => import("./de-DE-Cg_RNIr-.js"), "../language/el-GR.json": () => import("./el-GR-ZRGBgvMu.js"), "../language/en-US.json": () => import("./en-US-CJDkXFZ6.js"), "../language/es-ES.json": () => import("./es-ES-BZiC4JWr.js"), "../language/et-EE.json": () => import("./et-EE-D_NmrrzQ.js"), "../language/fi-FI.json": () => import("./fi-FI-CEH4BfU3.js"), "../language/fr-FR.json": () => import("./fr-FR-NxOktkWc.js"), "../language/hr-HR.json": () => import("./hr-HR-D_MUIhtx.js"), "../language/hu-HU.json": () => import("./hu-HU-LxStrFGU.js"), "../language/it-IT.json": () => import("./it-IT-OppZz3gW.js"), "../language/ja-JP.json": () => import("./ja-JP-CethQRoG.js"), "../language/lt-LT.json": () => import("./lt-LT-CBTFJxth.js"), "../language/lv-LV.json": () => import("./lv-LV-DTaBIHLh.js"), "../language/nl-NL.json": () => import("./nl-NL-CYFznuWn.js"), "../language/no-NO.json": () => import("./no-NO-BsEie1We.js"), "../language/pl-PL.json": () => import("./pl-PL-BH_LPZJa.js"), "../language/pt-BR.json": () => import("./pt-BR-C-YbDjn-.js"), "../language/pt-PT.json": () => import("./pt-PT-BTbVsews.js"), "../language/ro-RO.json": () => import("./ro-RO-C5PJhlmM.js"), "../language/sk-SK.json": () => import("./sk-SK-DO-AqRjE.js"), "../language/sl-SI.json": () => import("./sl-SI-CJH14wbj.js"), "../language/sv-SE.json": () => import("./sv-SE-ZsucW_Uj.js") }), `../language/${lang}.json`, 3) }
|
|
31
31
|
]);
|
|
32
32
|
if (!rootLe || legalRepresentativeId && !legalRepresentativeLe) {
|
|
33
33
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "086acb5f-c733-43fe-bd74-7a3525792860", e._sentryDebugIdIdentifier = "sentry-dbid-086acb5f-c733-43fe-bd74-7a3525792860");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { z as Icon } from "./StoreProvider-lJLpl6iE.js";
|
|
13
13
|
const link = "adyen-kyc-link";
|
|
14
14
|
const linkDefault = "adyen-kyc-link-default";
|
|
15
15
|
const linkInline = "adyen-kyc-link-inline";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "676e34f3-54e4-4c93-8ce4-99d1d81caeeb", e._sentryDebugIdIdentifier = "sentry-dbid-676e34f3-54e4-4c93-8ce4-99d1d81caeeb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import {
|
|
12
|
+
import { A as Avatar } from "./Avatar-BpQFX0rJ.js";
|
|
13
|
+
import { z as Icon } from "./StoreProvider-lJLpl6iE.js";
|
|
14
14
|
const listItem = "adyen-kyc-list-item";
|
|
15
15
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
16
16
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "854d19a5-0ed6-4096-a03a-2024a58745fd", e._sentryDebugIdIdentifier = "sentry-dbid-854d19a5-0ed6-4096-a03a-2024a58745fd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import {
|
|
12
|
+
import { U as Loader } from "./StoreProvider-lJLpl6iE.js";
|
|
13
13
|
const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
|
|
14
14
|
const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
|
|
15
15
|
const styles = {
|
package/dist/{ManageIndividualComponent-Cg7imjd5.js → ManageIndividualComponent-DHYNg_KN.js}
RENAMED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e4c6323-952d-4a11-a697-bf33fad73d9b", e._sentryDebugIdIdentifier = "sentry-dbid-7e4c6323-952d-4a11-a697-bf33fad73d9b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper,
|
|
10
|
+
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-D2I19RDh.js";
|
|
13
13
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DQmqyOzv.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -20,7 +20,7 @@ function ManageIndividualComponent({
|
|
|
20
20
|
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
21
|
currentLegalEntityId.value = legalEntityId;
|
|
22
22
|
addResourceBundles(i18n, [
|
|
23
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
23
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-lJLpl6iE.js").then((n) => n.bR), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
24
|
]);
|
|
25
25
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
26
|
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
package/dist/{ManageTermsOfServiceComponent-DIblbnOJ.js → ManageTermsOfServiceComponent-BNzELB7A.js}
RENAMED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "068f753b-f321-472f-8fb8-d24c230994a3", e._sentryDebugIdIdentifier = "sentry-dbid-068f753b-f321-472f-8fb8-d24c230994a3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-lJLpl6iE.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
12
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-C0uqYCFG.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DQmqyOzv.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|