@adyen/kyc-components 4.0.0-compact.2 → 4.0.0-compact.4
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/{AcceptTermsOfServiceComponent-CNbcTHZy.js → AcceptTermsOfServiceComponent-BpEgUWXz.js} +15 -15
- package/dist/{Accordion-Bjer1DF8.js → Accordion-C7tT1-lq.js} +2 -2
- package/dist/{AccountSetupRejected-Cn672qPs.js → AccountSetupRejected-Bx9bf2P2.js} +4 -4
- package/dist/{ActionBar-_ItKVS6X.js → ActionBar-BYag3Mhx.js} +1 -1
- package/dist/{Address-brlyMNsL.js → Address-BG5_sFfZ.js} +8 -8
- package/dist/{Alert-BjepSgqS.js → Alert-CjdHpM1t.js} +18 -8
- package/dist/{Avatar-YKRRWtuD.js → Avatar-BbYg2DuO.js} +2 -2
- package/dist/{BusinessFinancingComponent-DaXrEiOK.js → BusinessFinancingComponent-C6IiU1SV.js} +7 -7
- package/dist/{BusinessFinancingDropin-CxvdCIOR.js → BusinessFinancingDropin-BGSfIRyw.js} +23 -22
- package/dist/{BusinessFinancingPage-DR8f57Zt.js → BusinessFinancingPage-B6B4tyGt.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-5VrdC33B.js → BusinessTypeSelectionPage-0jkL0xW-.js} +8 -8
- package/dist/{Card-DTRTgvkU.js → Card-BHab7Kyt.js} +4 -4
- package/dist/{ConstitutionalDocument-LzfYJniz.js → ConstitutionalDocument--Z--xpF7.js} +3 -3
- package/dist/{CountryField-BKLmbhSX.js → CountryField-BIYJvEAW.js} +6 -6
- package/dist/{CreateIndividualComponent-BLXGgGyY.js → CreateIndividualComponent-3t1p_6gB.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-DVckBQQm.js → CreateTransferInstrumentComponent-BNvXg6_9.js} +7 -7
- package/dist/{Currency-MPPfYpO2.js → Currency-DpseKPZa.js} +5 -5
- package/dist/{CustomerSupport-By2yaM5E.js → CustomerSupport-BzpGH7XC.js} +10 -10
- package/dist/{DebugModal-DCHlUTNW.js → DebugModal-DyH69DXv.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-tc-XK5oy.js → DecisionMakerDetailsPage-BiCWUl-E.js} +7 -7
- package/dist/{DecisionMakers-DU88cxZJ.js → DecisionMakers-WTQe_49J.js} +21 -21
- package/dist/{EmbeddedStatus-Dyw4tZGv.js → EmbeddedStatus-CcwyilpG.js} +11 -13
- package/dist/{EndStateLayout-Dyji8Wu9.js → EndStateLayout-DUFAp0sp.js} +2 -2
- package/dist/{EntityAssociation-Dj13mqhr.js → EntityAssociation-0B8bfpR4.js} +8 -8
- package/dist/{EntityGuidanceStatus-B-VLjG9P.js → EntityGuidanceStatus-Bpa8WnR_.js} +3 -3
- package/dist/{FormFlow-KgmudcUf.js → FormFlow-DX2A0gcf.js} +59 -39
- package/dist/{FormNavigation-CFIXqopX.js → FormNavigation-BP2ZV8AF.js} +3 -3
- package/dist/{FormWrapper-CCyMspMC.js → FormWrapper-D2abCVld.js} +10 -10
- package/dist/{IndividualOnfido-DGWs87Bu.js → IndividualOnfido-BxhmIQwc.js} +95 -64
- package/dist/{IndividualOnfidoDropin-CUY4R6Np.js → IndividualOnfidoDropin-Cy08-w8F.js} +35 -29
- package/dist/{InputText-DXkZ7fwq.js → InputText-qTMbrUXW.js} +4 -4
- package/dist/{Introduction-CjaMyLeR.js → Introduction-Ee8931m9.js} +21 -65
- package/dist/JpAddress-Br78ZY9o.js +295 -0
- package/dist/{LegalRepresentativeDetailsPage-L1HAsU01.js → LegalRepresentativeDetailsPage-kZbXv8m2.js} +5 -5
- package/dist/{ListItem-COe1T6IG.js → ListItem-DKLPtRMQ.js} +3 -3
- package/dist/{ManageIndividualComponent-ySaPJphf.js → ManageIndividualComponent-CrAC6lmI.js} +5 -5
- package/dist/ManageTermsOfServiceComponent-D188174Y.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-D26m3iJX.js → ManageTransferInstrumentComponent-DDIhJrq3.js} +15 -15
- package/dist/{MaybeModal-BPq0SmbE.js → MaybeModal-QG3JQV0A.js} +3 -3
- package/dist/{Modal-qvqrnkl9.js → Modal-B8fxl0iP.js} +9 -11
- package/dist/{OnboardingDropinComponent-CAowzo5z.js → OnboardingDropinComponent-Cu2pv74K.js} +72 -66
- package/dist/{PayoutDetailsDropin-CElcAZkT.js → PayoutDetailsDropin-D_ee4PgW.js} +88 -46
- package/dist/{Review-BsSmYJ0Z.js → Review-BDXmgIlE.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DfaUd-dT.js → RootBusinessDetailsPage-ChobUam3.js} +11 -8
- package/dist/{RootBusinessLinesPage-BUU93N7l.js → RootBusinessLinesPage-CbaRG8zg.js} +190 -205
- package/dist/{RootIndividualDetailsPage-pNQ9v0Cg.js → RootIndividualDetailsPage-D4hpO1W0.js} +7 -7
- package/dist/{SignPCIComponent-DA9HTJcn.js → SignPCIComponent-4qzKpijW.js} +12 -12
- package/dist/{SingpassSelection-CWJuYh4-.js → SingpassSelection-BB6R98e_.js} +4 -4
- package/dist/SoleProprietorshipPage-Z5lqmwWa.js +49 -0
- package/dist/{SourceOfFundsPage-CG0pItrl.js → SourceOfFundsPage-BA638WTW.js} +26 -26
- package/dist/{Spacer-BcPESwGJ.js → Spacer-BT5nYRXK.js} +10 -9
- package/dist/{StepProgressIndicator-BG5uNVKJ.js → StepProgressIndicator-Bs1V38Kt.js} +1 -1
- package/dist/{StoreProvider-D0o_745u.js → StoreProvider-DTMSAVgy.js} +38 -38
- package/dist/{Summary-DfChUS-N.js → Summary-BOSxxPjv.js} +4 -4
- package/dist/{TaxReportingDropin-BhFHPYrV.js → TaxReportingDropin-CQzNhf9Q.js} +18 -17
- package/dist/{TrustDetailsPage-UI7Qhogx.js → TrustDetailsPage-BLNK52Za.js} +29 -28
- package/dist/{TrustMemberCompanyPage-Cvq23-mG.js → TrustMemberCompanyPage-DwVARA6c.js} +16 -9
- package/dist/{TrustMemberIndividualPage-9eQ_yj88.js → TrustMemberIndividualPage-q2iayL78.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-C5X4yQcZ.js → TrustMemberRoleAndTypePage-C1WVoqKI.js} +25 -24
- package/dist/{TrustMembersOverview-DS3F2gW9.js → TrustMembersOverview-5UGm_iG9.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-B9EMaXkA.js → UnincorporatedPartnershipIndividualPage-CyqUGlhC.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DqpxNM8J.js → UnincorporatedPartnershipMemberCompanyPage-D_J_JQ00.js} +15 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DuWERJIv.js → UnincorporatedPartnershipMemberRoleAndTypePage-C98KZ4pT.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CXIrEXgp.js → UnincorporatedPartnershipMembersOverview-C5jfbcPJ.js} +10 -10
- package/dist/{VerificationErrorAlert-Cwea2nvk.js → VerificationErrorAlert-BJ9X1Bkv.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-C5rBiaSa.js → ViewVerificationStatusComponent-KnTqf4d6.js} +5 -5
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{da-DK-DYpfNZdP.js → da-DK-CGWvmdkq.js} +2 -1
- package/dist/{da-DK-jK7c9UL0.js → da-DK-CoTdzXlA.js} +9 -1
- package/dist/da-DK-CrtuBoDC.js +118 -0
- package/dist/da-DK-uHPPFvD-.js +13 -0
- package/dist/da-DK-vcVNQJbX.js +63 -0
- package/dist/de-DE-CWEW2yqg.js +63 -0
- package/dist/{de-DE-BXt1K0Tr.js → de-DE-DHDJhahG.js} +2 -1
- package/dist/de-DE-SMf6w4NJ.js +13 -0
- package/dist/de-DE-mH3MobT9.js +13 -0
- package/dist/{de-DE-wmerDL2e.js → de-DE-z0cPgxGN.js} +9 -1
- package/dist/{debouncedInputEvent-DbzJEMPo.js → debouncedInputEvent-BdLyqQK5.js} +2 -2
- package/dist/{documentUtils-Cc83Q1S6.js → documentUtils-CmY7W1gB.js} +58 -7
- package/dist/{dropinUtils-D0iun-Wp.js → dropinUtils-BYk71qFP.js} +4 -4
- package/dist/en-US-BSQXKu6d.js +54 -0
- package/dist/{en-US-gsp7CD_E.js → en-US-BzrLvydZ.js} +9 -1
- package/dist/{en-US-Dg505Oh3.js → en-US-DoiQhi0j.js} +2 -1
- package/dist/es-ES-BqpvBqmR.js +13 -0
- package/dist/es-ES-CDgjGql5.js +63 -0
- package/dist/es-ES-CnyVffM-.js +118 -0
- package/dist/{es-ES-BhNhIf08.js → es-ES-CxnsKEh4.js} +2 -1
- package/dist/{es-ES-Qnc0Q6JH.js → es-ES-DUn82eVS.js} +9 -1
- package/dist/{fi-FI-ysUrBilO.js → fi-FI-57-xkioo.js} +2 -1
- package/dist/{fi-FI-Dn2MC8uW.js → fi-FI-C3TTCFBv.js} +9 -1
- package/dist/fi-FI-CsZlDJFb.js +63 -0
- package/dist/fi-FI-DPegZzTc.js +13 -0
- package/dist/fi-FI-kXC-0USa.js +118 -0
- package/dist/fr-FR-6YOKsDLQ.js +13 -0
- package/dist/fr-FR-BPGwsLDa.js +13 -0
- package/dist/{fr-FR-BWX14yb7.js → fr-FR-BbKadiaZ.js} +9 -1
- package/dist/{fr-FR-BSvSKazD.js → fr-FR-BxiX8Zfi.js} +2 -1
- package/dist/fr-FR-VoxPkXSc.js +63 -0
- package/dist/{getFieldsWithExistingData-2sKn11MH.js → getFieldsWithExistingData-D6K7_vTh.js} +1 -1
- package/dist/{getName-DhbqyTuj.js → getName-9MyzlDpt.js} +2 -2
- package/dist/{hasDataChanged-ZEmm9mgZ.js → hasDataChanged-6p9Ib-IH.js} +2 -2
- package/dist/{iframeWidget-DhidmNAp.js → iframeWidget-OATZoluK.js} +4 -4
- package/dist/it-IT-B1eJg9RL.js +13 -0
- package/dist/{it-IT-B0YGvVgW.js → it-IT-CGhQqmiU.js} +9 -1
- package/dist/it-IT-DZjw9LNC.js +63 -0
- package/dist/it-IT-DyCHFg-b.js +118 -0
- package/dist/{it-IT-Qfzc8jnW.js → it-IT-masgjk9F.js} +2 -1
- package/dist/ja-JP-BoxeBgOv.js +32 -0
- package/dist/ja-JP-BqluCflj.js +63 -0
- package/dist/ja-JP-C6Go-kaC.js +136 -0
- package/dist/ja-JP-CSz7fEkn.js +55 -0
- package/dist/ja-JP-CbgaW99b.js +54 -0
- package/dist/ja-JP-CvNJvxkQ.js +218 -0
- package/dist/ja-JP-CvREJ56h.js +65 -0
- package/dist/ja-JP-D1vtig2x.js +151 -0
- package/dist/ja-JP-DGNXrNMK.js +118 -0
- package/dist/ja-JP-FWHXsXlW.js +24 -0
- package/dist/ja-JP-PnqAHl14.js +13 -0
- package/dist/ja-JP-ThzG9vIo.js +68 -0
- package/dist/ja-JP-bz7ekGnF.js +27 -0
- package/dist/ja-JP-vv3-YsHU.js +38 -0
- package/dist/{localizeDateString-DYxbMJdq.js → localizeDateString-CtnAUzr_.js} +1 -1
- package/dist/{mapExistingFile-DGRyOBjp.js → mapExistingFile-Iep6Rez8.js} +3 -3
- package/dist/{mapFinancialReportsToFinancialInformation-DBdQzrBs.js → mapFinancialReportsToFinancialInformation-CeqxQKYv.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-uwuFlYx9.js → mapJpAddressSchemaToAddressLocalizations-C22nFO39.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-C6mqHFxh.js → mapLegalEntityToIndividualOnfidoSchema-BGAZ4tOn.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CrO59de3.js → mapTransferInstrumentToPayoutAccount-C6ha6E0S.js} +2 -2
- package/dist/{nl-NL-D7gBNWEY.js → nl-NL-D1b5RUJ0.js} +2 -1
- package/dist/nl-NL-DkbhmJAw.js +118 -0
- package/dist/{nl-NL-BMUYBqlF.js → nl-NL-OHlJx2bn.js} +9 -1
- package/dist/nl-NL-cVVIDG7s.js +13 -0
- package/dist/nl-NL-lcNM54vV.js +63 -0
- package/dist/no-NO-CTrVITNu.js +63 -0
- package/dist/no-NO-C_tmZ39d.js +13 -0
- package/dist/{no-NO-DKbWxgF-.js → no-NO-DEYydng4.js} +9 -1
- package/dist/{no-NO-D4BECLky.js → no-NO-Df5qUoTc.js} +1 -13
- package/dist/{no-NO-C-gCYc9q.js → no-NO-Dkh4SWbB.js} +2 -1
- package/dist/{process-field-configurations-IsZZTbcC.js → process-field-configurations-BBc1EBeB.js} +3 -3
- package/dist/pt-BR-BOOm5lRR.js +118 -0
- package/dist/{pt-BR-ur86nRrK.js → pt-BR-BRdIEO2O.js} +2 -1
- package/dist/pt-BR-CMiGlY3k.js +13 -0
- package/dist/pt-BR-DA44Wgbt.js +63 -0
- package/dist/{pt-BR--kaJvtE6.js → pt-BR-DWAziFjb.js} +9 -1
- package/dist/{resolveEnvironment-CM4-oCnd.js → resolveEnvironment-DV8jSeQ4.js} +3 -3
- package/dist/{rules-BFaDNVc6.js → rules-Cu3mKCzh.js} +5 -5
- package/dist/sl-SI-BZpXMHiG.js +13 -0
- package/dist/sl-SI-C3nGkfNb.js +13 -0
- package/dist/{sl-SI-DtdGMD6i.js → sl-SI-C5vfq7vv.js} +9 -1
- package/dist/sl-SI-CGvCdquD.js +118 -0
- package/dist/{sl-SI-CUCrzJQv.js → sl-SI-CvUzNn9Z.js} +2 -1
- package/dist/sl-SI-D8dDckrW.js +55 -0
- package/dist/sl-SI-DEaeEVKB.js +24 -0
- package/dist/sl-SI-DZHePXbK.js +63 -0
- package/dist/sl-SI-DqUEy_Cm.js +32 -0
- package/dist/sl-SI-tPwbFvOI.js +68 -0
- package/dist/style.css +1704 -1715
- package/dist/styles-CLV89_hH.js +1704 -1715
- package/dist/{sv-SE-BHkYspm-.js → sv-SE-BP2Oun8l.js} +1 -13
- package/dist/{sv-SE-kR514dO1.js → sv-SE-BrO9NKWs.js} +9 -1
- package/dist/{sv-SE-C6uPh9g5.js → sv-SE-BsLkPEzn.js} +2 -1
- package/dist/sv-SE-CXn28ybc.js +13 -0
- package/dist/sv-SE-Dq56vGlB.js +63 -0
- package/dist/types/api/documents/useDocuments.d.ts +4 -0
- package/dist/types/api/queryKeys.d.ts +3 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +15 -0
- package/dist/types/components/Business/forms/rules.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +3 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Business/utils/useBusinessDetailsData.d.ts +21 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +10 -10
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +2 -3
- package/dist/types/components/BusinessLines/tasks/validate.d.ts +2 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/Introduction/copy.d.ts +3 -3
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +3 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +1 -1
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +2 -0
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-BXl6V78E.js → types-DtV30rT3.js} +1 -1
- package/dist/{types-DFkJwAG7.js → types-Q8QbiVOz.js} +1 -1
- package/dist/{types-CoA3qKLi.js → types-fRMvVcuU.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BXXTCq2H.js → useAssociatedLegalEntity-CtNg5gYS.js} +1 -1
- package/dist/{BusinessDetailsDropin-Be43Lz8z.js → useBusinessDetailsData-kMDQy2r1.js} +151 -69
- package/dist/{useCreateLegalEntity-BNSFNiHp.js → useCreateLegalEntity-DIzVLIrw.js} +2 -2
- package/dist/{useDataset-CLPw5wNd.js → useDataset-D1R4kueP.js} +5 -5
- package/dist/{useForm-BkgSiM1i.js → useForm-BsQfbbso.js} +7 -6
- package/dist/{useGlobalData-BeYozqdQ.js → useGlobalData-CO2a2RhB.js} +3 -3
- package/dist/{useMultiForm-2sO8cnmJ.js → useMultiForm-BkNgL1zi.js} +4 -4
- package/dist/{useOnboardingStatus-DX9R5XKU.js → useOnboardingStatus-BB5IzxTg.js} +1 -1
- package/dist/{useScenarios-CVql9dlu.js → useScenarios-yIXrDacU.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D1yYDEeh.js → useTermsOfServiceStatus-BRdLkis6.js} +1 -1
- package/dist/{useToastContext-CbM0O-ZH.js → useToastContext-BQYYaLd-.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BpDu4QKJ.js → useUnincorporatedPartnershipMembers-fl3LbBcx.js} +5 -5
- package/dist/{useUpdateBusinessLines-DSH6ZmMJ.js → useUpdateBusinessLines-DWsML109.js} +2 -2
- package/dist/{useUpdateLegalEntity-DnbryhbN.js → useUpdateLegalEntity-CIZP-vhE.js} +3 -3
- package/dist/{utils-BwrYpRdV.js → utils-BtBmicYe.js} +4 -4
- package/dist/{utils-m640rX-u.js → utils-_N6wjH1k.js} +6 -6
- package/dist/{validate-B8aB6l_3.js → validate-C4R1LPcu.js} +2 -2
- package/dist/{validate-Cf-TAdac.js → validate-yIqc2enK.js} +1 -1
- package/dist/{validationError-BVdpr3ww.js → validationError-BcmQ2z0b.js} +2 -2
- package/package.json +2 -2
- package/dist/JpAddress-DSZyw5JH.js +0 -271
- package/dist/ManageTermsOfServiceComponent-ClF1MHMK.js +0 -52
- package/dist/SoleProprietorshipPage-p5JwimAo.js +0 -46
- package/dist/da-DK-BlU1EczG.js +0 -30
- package/dist/da-DK-DEdQ-QPp.js +0 -13
- package/dist/da-DK-DqkN5oIu.js +0 -13
- package/dist/de-DE-COuUdtao.js +0 -13
- package/dist/de-DE-DrSSblam.js +0 -13
- package/dist/de-DE-s0B-XZyp.js +0 -30
- package/dist/el-GR-CdgLZhuO.js +0 -13
- package/dist/es-ES-DNGEW6V_.js +0 -13
- package/dist/es-ES-ShWaSuJd.js +0 -13
- package/dist/es-ES-esfwvKwz.js +0 -30
- package/dist/fi-FI-ChApf7lf.js +0 -13
- package/dist/fi-FI-CjB6QC01.js +0 -30
- package/dist/fi-FI-CoI_94Fv.js +0 -13
- package/dist/fr-FR-Br7OeDIe.js +0 -13
- package/dist/fr-FR-C1XqLftn.js +0 -30
- package/dist/fr-FR-Q3urMjbl.js +0 -13
- package/dist/it-IT-BAvsF2TB.js +0 -13
- package/dist/it-IT-C_YDqVNT.js +0 -30
- package/dist/it-IT-vdMlF0Ha.js +0 -13
- package/dist/nl-NL-BwKrj-29.js +0 -13
- package/dist/nl-NL-C3YJkSIj.js +0 -13
- package/dist/nl-NL-DyeSX0PH.js +0 -30
- package/dist/no-NO-B6OPS2CA.js +0 -13
- package/dist/no-NO-DPRsAb_o.js +0 -30
- package/dist/pt-BR-BKQRvAfq.js +0 -13
- package/dist/pt-BR-C-C4ZJ9x.js +0 -30
- package/dist/pt-BR-gh27BC86.js +0 -13
- package/dist/pt-PT-B4F_5NWi.js +0 -55
- package/dist/pt-PT-BZ5ZZm6G.js +0 -57
- package/dist/pt-PT-Bf4IV7wp.js +0 -13
- package/dist/pt-PT-CFY1O_K0.js +0 -13
- package/dist/pt-PT-CIo3mlXL.js +0 -24
- package/dist/pt-PT-CVNEcs32.js +0 -37
- package/dist/pt-PT-D2Xe-OdG.js +0 -13
- package/dist/pt-PT-DSxxVA0f.js +0 -68
- package/dist/pt-PT-DVKtHjIY.js +0 -13
- package/dist/pt-PT-DYihdcJx.js +0 -13
- package/dist/pt-PT-Dm5DRDrd.js +0 -32
- package/dist/pt-PT-DpDxAynk.js +0 -13
- package/dist/pt-PT-JVqqgvPs.js +0 -54
- package/dist/pt-PT-LbneTcRx.js +0 -30
- package/dist/pt-PT-TKg5FLat.js +0 -27
- package/dist/sl-SI-8SzKx7XD.js +0 -30
- package/dist/sl-SI-DdjgSySI.js +0 -13
- package/dist/sv-SE-B7cpKp1l.js +0 -30
- package/dist/sv-SE-zTiw1bUU.js +0 -13
package/dist/{CreateIndividualComponent-BLXGgGyY.js → CreateIndividualComponent-3t1p_6gB.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] = "91d28f35-f9f9-4715-9654-bbeacc47111c", e._sentryDebugIdIdentifier = "sentry-dbid-91d28f35-f9f9-4715-9654-bbeacc47111c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, g as getLegalEntityCountry, M as EntityTypes,
|
|
10
|
+
import { c as useLegalEntity, X as useExperimentsContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, g as getLegalEntityCountry, M as EntityTypes, al as isOnfidoAutofillFlowEnabled, O as TaskTypes } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-BT5nYRXK.js";
|
|
13
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cy08-w8F.js";
|
|
14
14
|
const CreateIndividualComponent = ({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onSubmitSuccess,
|
|
@@ -26,9 +26,9 @@ const CreateIndividualComponent = ({
|
|
|
26
26
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
27
27
|
const { i18n } = useTranslation();
|
|
28
28
|
addResourceBundles(i18n, [
|
|
29
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
30
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-
|
|
31
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../Individual/language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../Individual/language/
|
|
29
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DTMSAVgy.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
30
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/en-US.json": () => import("./en-US-BzrLvydZ.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
31
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../Individual/language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../Individual/language/ja-JP.json": () => import("./ja-JP-D1vtig2x.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../../Individual/language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../../Individual/language/${lang}.json`, 5) }
|
|
32
32
|
]);
|
|
33
33
|
const handleOnClose = () => {
|
|
34
34
|
if (modalView) {
|
|
@@ -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] = "ed591fa1-bf48-452a-944c-d3e4e34ea815", e._sentryDebugIdIdentifier = "sentry-dbid-ed591fa1-bf48-452a-944c-d3e4e34ea815");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, r as LegalEntityTypes, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, O as TaskTypes } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, r as LegalEntityTypes, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader, O as TaskTypes } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
-
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CtNg5gYS.js";
|
|
14
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-D_ee4PgW.js";
|
|
15
15
|
function CreateTransferInstrumentComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
transferInstrumentId,
|
|
@@ -31,9 +31,9 @@ function CreateTransferInstrumentComponent({
|
|
|
31
31
|
LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
|
|
32
32
|
]);
|
|
33
33
|
addResourceBundles(i18n, [
|
|
34
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
35
|
-
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-
|
|
36
|
-
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../../BankAccount/language/
|
|
34
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DTMSAVgy.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
35
|
+
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/en-US.json": () => import("./en-US-BzrLvydZ.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
36
|
+
{ ns: "banking", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/da-DK.json": () => import("./da-DK-h8DYQ_Iq.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-LQE_LFFL.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-h0JneJJl.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-DdGmXdxO.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-CIYa9SyS.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-l5z31r7i.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-BAvmkEF8.js"), "../../BankAccount/language/ja-JP.json": () => import("./ja-JP-C6Go-kaC.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-DV4NqPVW.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-B9618F4_.js"), "../../BankAccount/language/pt-BR.json": () => import("./pt-BR-zuqB_CBf.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-59OQIZ3f.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-CQWBP7n1.js") }), `../../BankAccount/language/${lang}.json`, 5) }
|
|
37
37
|
]);
|
|
38
38
|
const handleOnClose = () => {
|
|
39
39
|
if (modalView) {
|
|
@@ -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] = "70b62c05-7ab7-4140-9e31-086350805387", e._sentryDebugIdIdentifier = "sentry-dbid-70b62c05-7ab7-4140-9e31-086350805387");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, P as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { F as Field, S as Select } from "./useForm-
|
|
14
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
15
|
-
import { c as currencyByCountry } from "./types-
|
|
12
|
+
import { b as useApiContext, j as useQuery, m as httpGet, V as useI18nContext, P as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-DTMSAVgy.js";
|
|
13
|
+
import { F as Field, S as Select } from "./useForm-BsQfbbso.js";
|
|
14
|
+
import { I as InputText, a as InputBase } from "./InputText-qTMbrUXW.js";
|
|
15
|
+
import { c as currencyByCountry } from "./types-DtV30rT3.js";
|
|
16
16
|
const getLegalForms = async (countryCode, baseUrl) => {
|
|
17
17
|
return httpGet({
|
|
18
18
|
baseUrl,
|
|
@@ -2,22 +2,22 @@
|
|
|
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] = "7e22e8fe-22c7-4c58-a0b6-8851ebf2e777", e._sentryDebugIdIdentifier = "sentry-dbid-7e22e8fe-22c7-4c58-a0b6-8851ebf2e777");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation,
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, a3 as useAnalyticsContext, a2 as useQueryClient, P as createLogger } from "./StoreProvider-DTMSAVgy.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-
|
|
19
|
-
import { A as ActionBar } from "./ActionBar-
|
|
20
|
-
import {
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CIZP-vhE.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-C4R1LPcu.js";
|
|
15
|
+
import { H as Header, E as ErrorPanel, c as createFormUtils } from "./CountryField-BIYJvEAW.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-BQYYaLd-.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BkNgL1zi.js";
|
|
18
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, r as resolveFieldMetadata } from "./Spacer-BT5nYRXK.js";
|
|
19
|
+
import { A as ActionBar } from "./ActionBar-BYag3Mhx.js";
|
|
20
|
+
import { A as defaultFieldMetadata, B as fieldConfig, G as getAsyncPhoneValidationRules, Z as ContactDetails } from "./IndividualOnfido-BxhmIQwc.js";
|
|
21
21
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
22
22
|
return {
|
|
23
23
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "3695e6f5-6858-4dce-94ae-eaf420bdf0b9", e._sentryDebugIdIdentifier = "sentry-dbid-3695e6f5-6858-4dce-94ae-eaf420bdf0b9");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button,
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, a1 as entriesOf, u as useTranslation, bx as splitTaskIdentifier, X as useExperimentsContext, o as useSettingsContext, V as useI18nContext, a9 as useGlobalStore, ax as listToRecord, by as valuesOf, P as createLogger, a4 as Icon } from "./StoreProvider-DTMSAVgy.js";
|
|
13
|
+
import { M as Modal } from "./Modal-B8fxl0iP.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
15
|
-
import { I as InputText, T as TaskVerificationStatus, S as SettingNames } from "./InputText-
|
|
15
|
+
import { I as InputText, T as TaskVerificationStatus, S as SettingNames } from "./InputText-qTMbrUXW.js";
|
|
16
16
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
17
|
-
import { A as Accordion } from "./Accordion-
|
|
18
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
17
|
+
import { A as Accordion } from "./Accordion-C7tT1-lq.js";
|
|
18
|
+
import { C as Checkbox } from "./debouncedInputEvent-BdLyqQK5.js";
|
|
19
19
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
20
20
|
import MonogonCode from "monogon/preact";
|
|
21
21
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -326,7 +326,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
326
326
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
327
327
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
328
328
|
const metadata = {
|
|
329
|
-
sdkVersion: "4.0.0-compact.
|
|
329
|
+
sdkVersion: "4.0.0-compact.4",
|
|
330
330
|
locale: i18n.locale,
|
|
331
331
|
rootLegalEntityId: rootLegalEntity.id
|
|
332
332
|
};
|
|
@@ -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] = "ffd01f64-bc8c-49a0-9368-40110a67db6f", e._sentryDebugIdIdentifier = "sentry-dbid-ffd01f64-bc8c-49a0-9368-40110a67db6f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader,
|
|
10
|
+
import { c as useLegalEntity, w as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, al as isOnfidoAutofillFlowEnabled, a5 as noop, O as TaskTypes, M as EntityTypes, r as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
14
|
-
import {
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-yIXrDacU.js";
|
|
13
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-BT5nYRXK.js";
|
|
14
|
+
import { q as isBafinSignatoryFlow, ad as removeIdVerificationProblemsForBafinSignatory, g as getTrustedFieldsProvider, E as getTrustedFields, Y as getTrustedEntityAssociations } from "./IndividualOnfido-BxhmIQwc.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-Cy08-w8F.js";
|
|
16
16
|
function DecisionMakerDetailsPage({
|
|
17
17
|
decisionMakerId,
|
|
18
18
|
parentCompanyId,
|
|
@@ -35,7 +35,7 @@ function DecisionMakerDetailsPage({
|
|
|
35
35
|
);
|
|
36
36
|
const { i18n } = useTranslation();
|
|
37
37
|
addResourceBundles(i18n, [
|
|
38
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../language/
|
|
38
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../language/ja-JP.json": () => import("./ja-JP-D1vtig2x.js"), "../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../language/${lang}.json`, 3) }
|
|
39
39
|
]);
|
|
40
40
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
41
41
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "cb76fc7d-279c-403d-a690-ad0f46b3910b", e._sentryDebugIdIdentifier = "sentry-dbid-cb76fc7d-279c-403d-a690-ad0f46b3910b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { an as DecisionMakerTypes, b6 as drop, aB as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, G as Typography, a3 as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, a8 as useGetTaskStatus, X as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, aZ as getOwnDecisionMakers, as as getAvailableDecisionMakerRoleTypes, O as TaskTypes, b7 as getAllowedDecisionMakerRoles, ao as Trans, U as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, r as LegalEntityTypes } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { S as StackLayout, L as List, H as Header } from "./CountryField-
|
|
16
|
-
import { L as ListItem } from "./ListItem-
|
|
17
|
-
import { M as Modal } from "./Modal-
|
|
18
|
-
import { a as useToastContext } from "./useToastContext-
|
|
19
|
-
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
20
|
-
import { a as Alert } from "./Alert-
|
|
21
|
-
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./Spacer-
|
|
22
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-yIXrDacU.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CIZP-vhE.js";
|
|
15
|
+
import { S as StackLayout, L as List, H as Header } from "./CountryField-BIYJvEAW.js";
|
|
16
|
+
import { L as ListItem } from "./ListItem-DKLPtRMQ.js";
|
|
17
|
+
import { M as Modal } from "./Modal-B8fxl0iP.js";
|
|
18
|
+
import { a as useToastContext } from "./useToastContext-BQYYaLd-.js";
|
|
19
|
+
import { e as useDataMissingRemediations } from "./OnboardingDropinComponent-Cu2pv74K.js";
|
|
20
|
+
import { a as Alert } from "./Alert-CjdHpM1t.js";
|
|
21
|
+
import { I as Image, i as useCapabilityProblems, C as ContextGuidance } from "./Spacer-BT5nYRXK.js";
|
|
22
|
+
import { A as ActionBar } from "./ActionBar-BYag3Mhx.js";
|
|
23
23
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
24
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
25
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
26
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
27
|
-
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-
|
|
28
|
-
import { W as GuidanceQuestionValues, Y as getTrustedEntityAssociations,
|
|
29
|
-
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-
|
|
24
|
+
import { E as EntityAssociation } from "./EntityAssociation-0B8bfpR4.js";
|
|
25
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Bpa8WnR_.js";
|
|
26
|
+
import { T as TaskVerificationStatus } from "./InputText-qTMbrUXW.js";
|
|
27
|
+
import { m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualOnfidoSchema-BGAZ4tOn.js";
|
|
28
|
+
import { W as GuidanceQuestionValues, Y as getTrustedEntityAssociations, N as LandingLayout } from "./IndividualOnfido-BxhmIQwc.js";
|
|
29
|
+
import { a as datasetUtilities, S as StructuredList, C as Confirm } from "./useDataset-D1R4kueP.js";
|
|
30
30
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
31
|
-
import { o as mapAddressLabels } from "./Address-
|
|
32
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
31
|
+
import { o as mapAddressLabels } from "./Address-BG5_sFfZ.js";
|
|
32
|
+
import { l as localizeDateString } from "./localizeDateString-CtnAUzr_.js";
|
|
33
33
|
import { lazy } from "preact/compat";
|
|
34
34
|
const BENEFICIAL_OWNER_ROLES = [
|
|
35
35
|
DecisionMakerTypes.OWNER,
|
|
@@ -423,7 +423,7 @@ const DecisionMakers = (props) => {
|
|
|
423
423
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
424
424
|
const { i18n } = useTranslation();
|
|
425
425
|
addResourceBundles(i18n, [
|
|
426
|
-
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../language/
|
|
426
|
+
{ ns: "individual", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-DvZ431fC.js"), "../../language/de-DE.json": () => import("./de-DE-0uSzhWg5.js"), "../../language/en-US.json": () => import("./en-US-fyGPkcqX.js"), "../../language/es-ES.json": () => import("./es-ES-B7dt4cn7.js"), "../../language/fi-FI.json": () => import("./fi-FI-REMsyTSr.js"), "../../language/fr-FR.json": () => import("./fr-FR-CvHWmim-.js"), "../../language/it-IT.json": () => import("./it-IT-BeX7-OcD.js"), "../../language/ja-JP.json": () => import("./ja-JP-D1vtig2x.js"), "../../language/nl-NL.json": () => import("./nl-NL-CM5U8ODq.js"), "../../language/no-NO.json": () => import("./no-NO-BQL_M1pn.js"), "../../language/pt-BR.json": () => import("./pt-BR-AZ3roErF.js"), "../../language/sl-SI.json": () => import("./sl-SI-C0wSbuau.js"), "../../language/sv-SE.json": () => import("./sv-SE-DtKjf4Go.js") }), `../../language/${lang}.json`, 4) }
|
|
427
427
|
]);
|
|
428
428
|
if (isLoading || !data) {
|
|
429
429
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -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] = "6a5e208d-0ac2-4b7a-90e6-667c316f7527", e._sentryDebugIdIdentifier = "sentry-dbid-6a5e208d-0ac2-4b7a-90e6-667c316f7527");
|
|
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 { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-BbYg2DuO.js";
|
|
13
|
+
import { U as TaskStatuses, u as useTranslation, y as Skeleton, G as Typography } from "./StoreProvider-DTMSAVgy.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -23,24 +23,22 @@ const styles = {
|
|
|
23
23
|
embeddedStatusActionIndicator,
|
|
24
24
|
embeddedStatusInfo
|
|
25
25
|
};
|
|
26
|
-
const statusToTag = (status,
|
|
26
|
+
const statusToTag = (status, uiT) => {
|
|
27
27
|
switch (status) {
|
|
28
|
-
case OnboardingStatuses.IN_REVIEW:
|
|
29
|
-
return { text: commonT(($) => $["inReview"]), variant: "grey" };
|
|
30
28
|
case TaskStatuses.FINISHED:
|
|
31
29
|
case OnboardingStatuses.VERIFIED:
|
|
32
|
-
return { text:
|
|
30
|
+
return { text: uiT(($) => $["verified"]), variant: "green" };
|
|
33
31
|
case TaskStatuses.SIGNED:
|
|
34
|
-
return { text: commonT(($) => $["signed"]), variant: "green" };
|
|
35
32
|
case OnboardingStatuses.REJECTED:
|
|
36
|
-
return { text:
|
|
33
|
+
return { text: uiT(($) => $["rejected"]), variant: "red" };
|
|
37
34
|
case TaskStatuses.ERROR:
|
|
38
|
-
return { text:
|
|
35
|
+
return { text: uiT(($) => $["actionNeeded"]), variant: "red" };
|
|
39
36
|
case TaskStatuses.PROCESSING:
|
|
37
|
+
case OnboardingStatuses.IN_REVIEW:
|
|
40
38
|
case OnboardingStatuses.AWAITING_DATA:
|
|
41
|
-
return { text:
|
|
39
|
+
return { text: uiT(($) => $["inReview"]), variant: "grey" };
|
|
42
40
|
case OnboardingStatuses.UNSUCCESSFUL:
|
|
43
|
-
return { text:
|
|
41
|
+
return { text: uiT(($) => $["unsuccessful"]), variant: "red" };
|
|
44
42
|
default:
|
|
45
43
|
return void 0;
|
|
46
44
|
}
|
|
@@ -58,7 +56,7 @@ const EmbeddedStatus = ({
|
|
|
58
56
|
actionIndicator,
|
|
59
57
|
...props
|
|
60
58
|
}) => {
|
|
61
|
-
const { t } = useTranslation("
|
|
59
|
+
const { t } = useTranslation("ui");
|
|
62
60
|
const statusTag = status ? statusToTag(status, t) : tag;
|
|
63
61
|
const avatarVariant = light ? "tertiary" : "secondary";
|
|
64
62
|
return /* @__PURE__ */ jsxs(
|
|
@@ -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] = "68e9a1ac-d3b6-46f9-933c-2c1fdceab2f2", e._sentryDebugIdIdentifier = "sentry-dbid-68e9a1ac-d3b6-46f9-933c-2c1fdceab2f2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader,
|
|
13
|
+
import { B as Button, L as Loader, a4 as Icon } from "./StoreProvider-DTMSAVgy.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "bd755f55-eea0-457d-852f-ff5abcd51701", e._sentryDebugIdIdentifier = "sentry-dbid-bd755f55-eea0-457d-852f-ff5abcd51701");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, Y as IconButton, U as TaskStatuses,
|
|
12
|
+
import { B as Button, u as useTranslation, Y as IconButton, U as TaskStatuses, a5 as noop } from "./StoreProvider-DTMSAVgy.js";
|
|
13
13
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
14
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
15
|
-
import { C as Card } from "./Card-
|
|
16
|
-
import { C as Confirm } from "./useDataset-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
18
|
-
import {
|
|
19
|
-
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
14
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-BJ9X1Bkv.js";
|
|
15
|
+
import { C as Card } from "./Card-BHab7Kyt.js";
|
|
16
|
+
import { C as Confirm } from "./useDataset-D1R4kueP.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./InputText-qTMbrUXW.js";
|
|
18
|
+
import { l as handleKeys } from "./IndividualOnfido-BxhmIQwc.js";
|
|
19
|
+
import { j as getRoleTagVariant, f as getRoleName } from "./CountryField-BIYJvEAW.js";
|
|
20
20
|
function useClickAwayListener(ref, onClickAway) {
|
|
21
21
|
const handleClickAway = useCallback(
|
|
22
22
|
(event) => {
|
|
@@ -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] = "6f2e5c81-7d68-4c45-984c-03008d739345", e._sentryDebugIdIdentifier = "sentry-dbid-6f2e5c81-7d68-4c45-984c-03008d739345");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bA as getDecisionMakerDescriptionMap, O as TaskTypes, bB as TRUST_DEFAULT_DESCRIPTIONS_MAP,
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-
|
|
12
|
+
import { bA as getDecisionMakerDescriptionMap, O as TaskTypes, bB as TRUST_DEFAULT_DESCRIPTIONS_MAP, a4 as Icon, u as useTranslation, ao as Trans } from "./StoreProvider-DTMSAVgy.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes, j as getRoleTagVariant, f as getRoleName } from "./CountryField-BIYJvEAW.js";
|
|
14
14
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
15
15
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -2,22 +2,22 @@
|
|
|
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] = "c27e807f-6fdb-44b2-aeec-ce1f9e4e939f", e._sentryDebugIdIdentifier = "sentry-dbid-c27e807f-6fdb-44b2-aeec-ce1f9e4e939f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
|
-
import { F as FormContext } from "./Address-
|
|
12
|
+
import { F as FormContext } from "./Address-BG5_sFfZ.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import {
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
+
import { a3 as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-DTMSAVgy.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-BsQfbbso.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-QG3JQV0A.js";
|
|
17
17
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { C as Confirm } from "./useDataset-
|
|
20
|
-
import { S as Summary } from "./Summary-
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BYk71qFP.js";
|
|
19
|
+
import { C as Confirm } from "./useDataset-D1R4kueP.js";
|
|
20
|
+
import { S as Summary } from "./Summary-BOSxxPjv.js";
|
|
21
21
|
function FormContextProvider({
|
|
22
22
|
children,
|
|
23
23
|
form
|
|
@@ -50,7 +50,10 @@ const FormFlow = ({
|
|
|
50
50
|
currentStep = 0,
|
|
51
51
|
disableBackButton,
|
|
52
52
|
disableNextButton,
|
|
53
|
+
nextButtonLoading = false,
|
|
54
|
+
// used to separate button loading state from loading wrapper
|
|
53
55
|
forms,
|
|
56
|
+
activeForm,
|
|
54
57
|
gotoFormByFormIndex,
|
|
55
58
|
handleBackClick,
|
|
56
59
|
handleCancelClick,
|
|
@@ -135,37 +138,54 @@ const FormFlow = ({
|
|
|
135
138
|
size: "large",
|
|
136
139
|
showCloseButton: hasCancelButton,
|
|
137
140
|
children: [
|
|
138
|
-
/* @__PURE__ */ jsxs(
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
141
|
+
/* @__PURE__ */ jsxs(
|
|
142
|
+
"div",
|
|
143
|
+
{
|
|
144
|
+
ref: contentRef,
|
|
145
|
+
className: styles.formFlow,
|
|
146
|
+
"data-form-valid": activeForm.isValid,
|
|
147
|
+
"data-testid": "form-flow",
|
|
148
|
+
children: [
|
|
149
|
+
/* @__PURE__ */ jsx("div", { className: styles.formFlowContent, children: /* @__PURE__ */ jsx(LoaderWrapper, { status: loadingStatus, formOpacityWhenLoading: 0, loaderSize: "large", children: /* @__PURE__ */ jsx(FormRouterContextProvider, { forms, setFormIndex: gotoFormByFormIndex, children: isLastStep && summary !== void 0 ? /* @__PURE__ */ jsx(Summary, { ...summary, forms, gotoForm: gotoFormByFormIndex }) : children }) }) }),
|
|
150
|
+
/* @__PURE__ */ jsxs("div", { className: footerClassName, children: [
|
|
151
|
+
!isSingleStepForm && /* @__PURE__ */ jsx(ProgressBar, { ariaLabel: t(($) => $["progress"]), progress }),
|
|
152
|
+
/* @__PURE__ */ jsxs("div", { className: styles.formFlowActions, children: [
|
|
153
|
+
isFirstStep && hasCancelButton && /* @__PURE__ */ jsx(
|
|
154
|
+
Button,
|
|
155
|
+
{
|
|
156
|
+
disabled: isActionDisabled || disableBackButton,
|
|
157
|
+
onClick: handleDismiss,
|
|
158
|
+
variant: "secondary",
|
|
159
|
+
children: t(($) => $["cancel"])
|
|
160
|
+
}
|
|
161
|
+
),
|
|
162
|
+
!isFirstStep && hasBackButton && /* @__PURE__ */ jsx(
|
|
163
|
+
Button,
|
|
164
|
+
{
|
|
165
|
+
disabled: isActionDisabled || disableBackButton,
|
|
166
|
+
icon: "chevron-left",
|
|
167
|
+
onClick: handleBack,
|
|
168
|
+
variant: "secondary",
|
|
169
|
+
children: t(($) => $["back"])
|
|
170
|
+
}
|
|
171
|
+
),
|
|
172
|
+
/* @__PURE__ */ jsx("div", { className: styles.formFlowPrimaryActions, children: isLastStep ? /* @__PURE__ */ jsx(Button, { onClick: handleSubmit, loading: isSubmitting, children: t(($) => $["submit"]) }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
173
|
+
hasProblems && /* @__PURE__ */ jsx(Button, { onClick: handleSkip, disabled: isActionDisabled, variant: "secondary", children: t(($) => $["skip"]) }),
|
|
174
|
+
/* @__PURE__ */ jsx(
|
|
175
|
+
Button,
|
|
176
|
+
{
|
|
177
|
+
onClick: handleNext,
|
|
178
|
+
disabled: isActionDisabled || disableNextButton,
|
|
179
|
+
loading: nextButtonLoading,
|
|
180
|
+
children: t(($) => $["continue"])
|
|
181
|
+
}
|
|
182
|
+
)
|
|
183
|
+
] }) })
|
|
184
|
+
] })
|
|
185
|
+
] })
|
|
186
|
+
]
|
|
187
|
+
}
|
|
188
|
+
),
|
|
169
189
|
isConfirmPresented && /* @__PURE__ */ jsx(
|
|
170
190
|
Confirm,
|
|
171
191
|
{
|