@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
|
@@ -2,12 +2,12 @@
|
|
|
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] = "f22838bd-9648-456c-8f57-a2ae3fc9719c", e._sentryDebugIdIdentifier = "sentry-dbid-f22838bd-9648-456c-8f57-a2ae3fc9719c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery,
|
|
10
|
+
import { b as useApiContext, j as useQuery, a1 as entriesOf, w as skipToken, am as Scenarios, m as httpGet } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "171e517f-6393-42de-82c7-dbf112b5159c", e._sentryDebugIdIdentifier = "sentry-dbid-171e517f-6393-42de-82c7-dbf112b5159c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger,
|
|
10
|
+
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aW as ToastContext } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -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] = "2f27f250-f0f7-456e-9699-c852f2ccbf77", e._sentryDebugIdIdentifier = "sentry-dbid-2f27f250-f0f7-456e-9699-c852f2ccbf77");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes,
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { r as LegalEntityTypes, ag as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DTMSAVgy.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CtNg5gYS.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BIYJvEAW.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-9MyzlDpt.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "b19771aa-dd14-4562-8b7b-6cae9fea9f6c", e._sentryDebugIdIdentifier = "sentry-dbid-b19771aa-dd14-4562-8b7b-6cae9fea9f6c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, a0 as useMutation, k as httpPost } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -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] = "a328f15d-01a7-4cc2-9b0d-e3ad34766cd3", e._sentryDebugIdIdentifier = "sentry-dbid-a328f15d-01a7-4cc2-9b0d-e3ad34766cd3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a0 as useMutation, k as httpPost } from "./StoreProvider-DTMSAVgy.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-BQYYaLd-.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -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] = "5f5bbd94-081c-4b98-aa12-710e557f41a6", e._sentryDebugIdIdentifier = "sentry-dbid-5f5bbd94-081c-4b98-aa12-710e557f41a6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-DTMSAVgy.js";
|
|
12
|
+
import { C as Currencies } from "./types-DtV30rT3.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-CtnAUzr_.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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] = "8f0c92e1-2279-479b-bdff-bf2e11f09318", e._sentryDebugIdIdentifier = "sentry-dbid-8f0c92e1-2279-479b-bdff-bf2e11f09318");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-BxhmIQwc.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bz as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-DTMSAVgy.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Cu2pv74K.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-Cu3mKCzh.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Q8QbiVOz.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -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] = "3262a9ff-4259-4ff9-9590-a6bb7a70789e", e._sentryDebugIdIdentifier = "sentry-dbid-3262a9ff-4259-4ff9-9590-a6bb7a70789e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-DTMSAVgy.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -2,12 +2,12 @@
|
|
|
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] = "01ef7341-9319-441c-a8e0-d935786db050", e._sentryDebugIdIdentifier = "sentry-dbid-01ef7341-9319-441c-a8e0-d935786db050");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bm as remediationPayoutApiKeyMapping, bn as remediationBusinessDetailsApiKeyMapping, bo as remediationIndividualApiKeyMapping } from "./StoreProvider-DTMSAVgy.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.0.0-compact.
|
|
3
|
+
"version": "4.0.0-compact.4",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"types": "./dist/types/components/EmbeddedDropins/OnboardingDropinComponent/OnboardingDropinComponent.d.ts"
|
|
29
29
|
},
|
|
30
30
|
"./styles.css": "./dist/style.css",
|
|
31
|
-
"./
|
|
31
|
+
"./internal/onboarding": {
|
|
32
32
|
"types": "./dist/types/embeds/onboarding/adyen-onboarding.types.d.ts",
|
|
33
33
|
"import": "./dist/adyen-onboarding.js"
|
|
34
34
|
},
|
|
@@ -1,271 +0,0 @@
|
|
|
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] = "70669ebb-7d10-4a2a-970d-0e6d548c9237", e._sentryDebugIdIdentifier = "sentry-dbid-70669ebb-7d10-4a2a-970d-0e6d548c9237");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, j as useQuery, m as httpGet, a4 as noop, u as useTranslation, V as useI18nContext, X as useExperimentsContext, a2 as useAnalyticsContext, P as createLogger, C as CountryCodes, G as Typography } from "./StoreProvider-D0o_745u.js";
|
|
13
|
-
import { F as Field, u as useForm } from "./useForm-BkgSiM1i.js";
|
|
14
|
-
import { I as InputText } from "./InputText-DXkZ7fwq.js";
|
|
15
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, d as nonInputs } from "./Spacer-BcPESwGJ.js";
|
|
16
|
-
import { V as JP_ADDRESS_REQUIRED_FIELDS, i as toFullWidth } from "./IndividualOnfido-DGWs87Bu.js";
|
|
17
|
-
import { q as addressValidationRulesV4, r as addressValidationRules } from "./Address-brlyMNsL.js";
|
|
18
|
-
import { u as useDebouncedCallback } from "./debouncedInputEvent-DbzJEMPo.js";
|
|
19
|
-
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
20
|
-
baseUrl,
|
|
21
|
-
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
22
|
-
});
|
|
23
|
-
const useRetrieveFromPostcodeJp = (postalCode, options) => {
|
|
24
|
-
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
25
|
-
return useQuery({
|
|
26
|
-
queryKey: ["retrieveAddress", postalCode],
|
|
27
|
-
queryFn: () => retrieveFromPostcodeJp(rootLegalEntityId.value, baseUrl.value, postalCode),
|
|
28
|
-
retry: false,
|
|
29
|
-
...options
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
const ReadonlyTextField = ({ name, label, value }) => /* @__PURE__ */ jsx(Field, { name, label, children: (innerProps) => /* @__PURE__ */ jsx(InputText, { ...innerProps, name, type: "text", value, onInput: noop, readonly: true }) });
|
|
33
|
-
const sideBySide = "adyen-kyc-side-by-side";
|
|
34
|
-
const styles = {
|
|
35
|
-
sideBySide
|
|
36
|
-
};
|
|
37
|
-
const logger = createLogger();
|
|
38
|
-
const JpAddress = ({
|
|
39
|
-
addressType,
|
|
40
|
-
data: dataProp,
|
|
41
|
-
handleFieldChange,
|
|
42
|
-
errors: propErrors,
|
|
43
|
-
valid: propValid,
|
|
44
|
-
fieldValidationErrors: propFieldValidationErrors,
|
|
45
|
-
onChange
|
|
46
|
-
}) => {
|
|
47
|
-
const { t } = useTranslation("common");
|
|
48
|
-
const { i18n } = useI18nContext();
|
|
49
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
50
|
-
const userEvents = useAnalyticsContext();
|
|
51
|
-
const form = useForm({
|
|
52
|
-
schema: JP_ADDRESS_REQUIRED_FIELDS,
|
|
53
|
-
defaultData: dataProp,
|
|
54
|
-
rules: isExperimentEnabled("StrictNameAndAddressValidationV4") ? addressValidationRulesV4(CountryCodes.Japan, i18n) : addressValidationRules(CountryCodes.Japan),
|
|
55
|
-
fieldProblems: propFieldValidationErrors
|
|
56
|
-
});
|
|
57
|
-
let {
|
|
58
|
-
handleChangeFor,
|
|
59
|
-
data: formData,
|
|
60
|
-
errors: formErrors,
|
|
61
|
-
valid: formValid,
|
|
62
|
-
fieldProblems: formFieldProblems
|
|
63
|
-
} = form;
|
|
64
|
-
const { isValid: formIsValid } = form;
|
|
65
|
-
if (handleFieldChange) {
|
|
66
|
-
handleChangeFor = handleFieldChange;
|
|
67
|
-
formData = dataProp ?? {};
|
|
68
|
-
formErrors = propErrors;
|
|
69
|
-
formValid = propValid;
|
|
70
|
-
formFieldProblems = propFieldValidationErrors;
|
|
71
|
-
}
|
|
72
|
-
const [postcodeToSearch, setPostcodeToSearch] = useState(formData.postalCode ?? "");
|
|
73
|
-
const debouncedSetPostcodeToSearch = useDebouncedCallback(setPostcodeToSearch, 1e3);
|
|
74
|
-
const retrieveFromPostcodeQuery = useRetrieveFromPostcodeJp(postcodeToSearch, {
|
|
75
|
-
enabled: postcodeToSearch !== ""
|
|
76
|
-
});
|
|
77
|
-
useEffect(() => {
|
|
78
|
-
if (retrieveFromPostcodeQuery.error) {
|
|
79
|
-
logger.error(retrieveFromPostcodeQuery.error.message);
|
|
80
|
-
handleChangeFor("jaHaniStateOrProvince")(void 0);
|
|
81
|
-
handleChangeFor("jaHaniCity")(void 0);
|
|
82
|
-
handleChangeFor("jaKanaStateOrProvince")(void 0);
|
|
83
|
-
handleChangeFor("jaKanaCity")(void 0);
|
|
84
|
-
handleChangeFor("stateOrProvince")(void 0);
|
|
85
|
-
handleChangeFor("city")(void 0);
|
|
86
|
-
return;
|
|
87
|
-
}
|
|
88
|
-
if (!retrieveFromPostcodeQuery.data) return;
|
|
89
|
-
userEvents.addPageEvent("Success", {
|
|
90
|
-
actionType: "select",
|
|
91
|
-
actionLevel: "field",
|
|
92
|
-
returnType: "backend",
|
|
93
|
-
returnValue: "retrieveAddress"
|
|
94
|
-
});
|
|
95
|
-
const scriptResults = retrieveFromPostcodeQuery.data.multilocale;
|
|
96
|
-
if (!scriptResults) return;
|
|
97
|
-
const jaHani = scriptResults.find((script) => script.locale === "ja-Hani");
|
|
98
|
-
const jaKana = scriptResults.find((script) => script.locale === "ja-Kana");
|
|
99
|
-
const en = scriptResults.find((script) => script.locale === "en");
|
|
100
|
-
if (jaHani) {
|
|
101
|
-
handleChangeFor("jaHaniStateOrProvince")(jaHani.stateOrProvince);
|
|
102
|
-
handleChangeFor("jaHaniCity")(jaHani.city);
|
|
103
|
-
}
|
|
104
|
-
if (jaKana) {
|
|
105
|
-
handleChangeFor("jaKanaStateOrProvince")(jaKana.stateOrProvince);
|
|
106
|
-
handleChangeFor("jaKanaCity")(jaKana.city);
|
|
107
|
-
}
|
|
108
|
-
if (en) {
|
|
109
|
-
handleChangeFor("stateOrProvince")(en.stateOrProvince);
|
|
110
|
-
handleChangeFor("city")(en.city);
|
|
111
|
-
}
|
|
112
|
-
}, [retrieveFromPostcodeQuery.data, retrieveFromPostcodeQuery.error, userEvents]);
|
|
113
|
-
useEffect(() => {
|
|
114
|
-
onChange?.({
|
|
115
|
-
schema: JP_ADDRESS_REQUIRED_FIELDS,
|
|
116
|
-
data: {
|
|
117
|
-
...formData,
|
|
118
|
-
country: CountryCodes.Japan
|
|
119
|
-
},
|
|
120
|
-
errors: formErrors,
|
|
121
|
-
valid: formValid,
|
|
122
|
-
fieldProblems: formFieldProblems,
|
|
123
|
-
isValid: formIsValid
|
|
124
|
-
});
|
|
125
|
-
}, [formData, formErrors, formFieldProblems, formIsValid, formValid]);
|
|
126
|
-
return /* @__PURE__ */ jsxs("fieldset", { children: [
|
|
127
|
-
/* @__PURE__ */ jsx(Typography, { el: "legend", variant: "title", children: t(($) => $[addressType]) }),
|
|
128
|
-
/* @__PURE__ */ jsxs("div", { className: styles.sideBySide, children: [
|
|
129
|
-
/* @__PURE__ */ jsx(
|
|
130
|
-
MaskedInput,
|
|
131
|
-
{
|
|
132
|
-
name: "postalCode",
|
|
133
|
-
type: "text",
|
|
134
|
-
label: t(($) => $.postalCode),
|
|
135
|
-
value: formData.postalCode ?? "",
|
|
136
|
-
isValid: formValid.postalCode,
|
|
137
|
-
errorMessage: formErrors.postalCode?.errorMessage ?? formErrors.postalCode?.hasError,
|
|
138
|
-
onInput: (value) => {
|
|
139
|
-
handleChangeFor("postalCode", "input")(value);
|
|
140
|
-
debouncedSetPostcodeToSearch(value);
|
|
141
|
-
},
|
|
142
|
-
onBlur: handleChangeFor("postalCode", "blur"),
|
|
143
|
-
mask: makeMask(...numericInputs(3), ...nonInputs(" - "), ...numericInputs(4)),
|
|
144
|
-
formatGuidance: t(($) => $.enterNDigitsForExample, {
|
|
145
|
-
numDigits: "7",
|
|
146
|
-
example: "530-0001"
|
|
147
|
-
})
|
|
148
|
-
}
|
|
149
|
-
),
|
|
150
|
-
/* @__PURE__ */ jsx(
|
|
151
|
-
Field,
|
|
152
|
-
{
|
|
153
|
-
name: "otherAddressInformation",
|
|
154
|
-
label: t(($) => $.chomeAndBanchi),
|
|
155
|
-
isValid: formValid.otherAddressInformation,
|
|
156
|
-
errorMessage: formErrors.otherAddressInformation?.errorMessage ?? formErrors.otherAddressInformation?.hasError,
|
|
157
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
158
|
-
InputText,
|
|
159
|
-
{
|
|
160
|
-
...childProps,
|
|
161
|
-
value: formData.otherAddressInformation ?? "",
|
|
162
|
-
onInput: handleChangeFor("otherAddressInformation", "input"),
|
|
163
|
-
onBlur: handleChangeFor("otherAddressInformation", "blur"),
|
|
164
|
-
transformInput: (value) => toFullWidth(value)
|
|
165
|
-
}
|
|
166
|
-
)
|
|
167
|
-
}
|
|
168
|
-
)
|
|
169
|
-
] }),
|
|
170
|
-
/* @__PURE__ */ jsxs("fieldset", { children: [
|
|
171
|
-
/* @__PURE__ */ jsx(Typography, { el: "legend", variant: "body-strongest", children: t(($) => $.kanjiAddress) }),
|
|
172
|
-
/* @__PURE__ */ jsxs("div", { className: styles.sideBySide, children: [
|
|
173
|
-
/* @__PURE__ */ jsx(
|
|
174
|
-
ReadonlyTextField,
|
|
175
|
-
{
|
|
176
|
-
name: "jaHaniStateOrProvince",
|
|
177
|
-
label: t(($) => $.prefecture),
|
|
178
|
-
value: formData.jaHaniStateOrProvince
|
|
179
|
-
}
|
|
180
|
-
),
|
|
181
|
-
/* @__PURE__ */ jsx(
|
|
182
|
-
ReadonlyTextField,
|
|
183
|
-
{
|
|
184
|
-
name: "jaHaniCity",
|
|
185
|
-
label: t(($) => $.districtTownAreaCityWard),
|
|
186
|
-
value: formData.jaHaniCity
|
|
187
|
-
}
|
|
188
|
-
)
|
|
189
|
-
] }),
|
|
190
|
-
/* @__PURE__ */ jsx(
|
|
191
|
-
Field,
|
|
192
|
-
{
|
|
193
|
-
name: "jaHaniAddress",
|
|
194
|
-
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
195
|
-
isValid: formValid.jaHaniAddress,
|
|
196
|
-
errorMessage: formErrors.jaHaniAddress?.errorMessage ?? formErrors.jaHaniAddress?.hasError,
|
|
197
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
198
|
-
InputText,
|
|
199
|
-
{
|
|
200
|
-
...childProps,
|
|
201
|
-
onInput: handleChangeFor("jaHaniAddress", "input"),
|
|
202
|
-
value: formData.jaHaniAddress
|
|
203
|
-
}
|
|
204
|
-
)
|
|
205
|
-
}
|
|
206
|
-
)
|
|
207
|
-
] }),
|
|
208
|
-
/* @__PURE__ */ jsxs("fieldset", { children: [
|
|
209
|
-
/* @__PURE__ */ jsx(Typography, { el: "legend", variant: "body-strongest", children: t(($) => $.katakanaAddress) }),
|
|
210
|
-
/* @__PURE__ */ jsxs("div", { className: styles.sideBySide, children: [
|
|
211
|
-
/* @__PURE__ */ jsx(
|
|
212
|
-
ReadonlyTextField,
|
|
213
|
-
{
|
|
214
|
-
name: "jaKanaStateOrProvince",
|
|
215
|
-
label: t(($) => $.prefecture),
|
|
216
|
-
value: formData.jaKanaStateOrProvince
|
|
217
|
-
}
|
|
218
|
-
),
|
|
219
|
-
/* @__PURE__ */ jsx(
|
|
220
|
-
ReadonlyTextField,
|
|
221
|
-
{
|
|
222
|
-
name: "jaKanaCity",
|
|
223
|
-
label: t(($) => $.districtTownAreaCityWard),
|
|
224
|
-
value: formData.jaKanaCity
|
|
225
|
-
}
|
|
226
|
-
)
|
|
227
|
-
] })
|
|
228
|
-
] }),
|
|
229
|
-
/* @__PURE__ */ jsxs("fieldset", { children: [
|
|
230
|
-
/* @__PURE__ */ jsx(Typography, { el: "legend", variant: "body-strongest", children: t(($) => $.romajiAddress) }),
|
|
231
|
-
/* @__PURE__ */ jsxs("div", { className: styles.sideBySide, children: [
|
|
232
|
-
/* @__PURE__ */ jsx(
|
|
233
|
-
ReadonlyTextField,
|
|
234
|
-
{
|
|
235
|
-
name: "stateOrProvince",
|
|
236
|
-
label: t(($) => $.prefecture),
|
|
237
|
-
value: formData.stateOrProvince
|
|
238
|
-
}
|
|
239
|
-
),
|
|
240
|
-
/* @__PURE__ */ jsx(
|
|
241
|
-
ReadonlyTextField,
|
|
242
|
-
{
|
|
243
|
-
name: "city",
|
|
244
|
-
label: t(($) => $.districtTownAreaCityWard),
|
|
245
|
-
value: formData.city
|
|
246
|
-
}
|
|
247
|
-
)
|
|
248
|
-
] }),
|
|
249
|
-
/* @__PURE__ */ jsx(
|
|
250
|
-
Field,
|
|
251
|
-
{
|
|
252
|
-
name: "address",
|
|
253
|
-
label: t(($) => $.buildingNameFloorRoomNumberEtc),
|
|
254
|
-
isValid: formValid.address,
|
|
255
|
-
errorMessage: formErrors.address?.errorMessage ?? formErrors.address?.hasError,
|
|
256
|
-
children: (childProps) => /* @__PURE__ */ jsx(
|
|
257
|
-
InputText,
|
|
258
|
-
{
|
|
259
|
-
...childProps,
|
|
260
|
-
onInput: handleChangeFor("address", "input"),
|
|
261
|
-
value: formData.address
|
|
262
|
-
}
|
|
263
|
-
)
|
|
264
|
-
}
|
|
265
|
-
)
|
|
266
|
-
] })
|
|
267
|
-
] });
|
|
268
|
-
};
|
|
269
|
-
export {
|
|
270
|
-
JpAddress
|
|
271
|
-
};
|
|
@@ -1,52 +0,0 @@
|
|
|
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] = "d2ad1d19-acc9-434b-9cf6-2a979804a260", e._sentryDebugIdIdentifier = "sentry-dbid-d2ad1d19-acc9-434b-9cf6-2a979804a260");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D0o_745u.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-D1yYDEeh.js";
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-Dyw4tZGv.js";
|
|
14
|
-
function ManageTermsOfServiceComponent({
|
|
15
|
-
legalEntityId,
|
|
16
|
-
onClick
|
|
17
|
-
}) {
|
|
18
|
-
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
19
|
-
currentLegalEntityId.value = legalEntityId;
|
|
20
|
-
const { i18n, t } = useTranslation(["common", "contract"]);
|
|
21
|
-
const { isLoading: isLoadingSigned, data: signedData } = useTermsOfServiceAcceptanceInfos();
|
|
22
|
-
const { isLoading: isLoadingUnsigned, data: unsignedData } = useTermsOfServiceStatus();
|
|
23
|
-
addResourceBundles(i18n, [
|
|
24
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-D0o_745u.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
25
|
-
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
26
|
-
]);
|
|
27
|
-
const signed = signedData?.data?.map((d) => d.type);
|
|
28
|
-
const unsigned = unsignedData?.termsOfServiceTypes;
|
|
29
|
-
const hasSignedAll = signed?.length !== 0 && unsigned?.length === 0;
|
|
30
|
-
const isLoading = isLoadingSigned && isLoadingUnsigned;
|
|
31
|
-
const title = t(($) => $["serviceAgreements"], { ns: "contract" });
|
|
32
|
-
return hasSignedAll ? /* @__PURE__ */ jsx(
|
|
33
|
-
EmbeddedStatus,
|
|
34
|
-
{
|
|
35
|
-
onClick,
|
|
36
|
-
title,
|
|
37
|
-
tag: { text: t(($) => $["complete"]), variant: "green" },
|
|
38
|
-
loading: isLoading
|
|
39
|
-
}
|
|
40
|
-
) : /* @__PURE__ */ jsx(
|
|
41
|
-
EmbeddedStatus,
|
|
42
|
-
{
|
|
43
|
-
onClick,
|
|
44
|
-
actionIndicator: { text: t(($) => $["accept"]) },
|
|
45
|
-
title,
|
|
46
|
-
loading: isLoading
|
|
47
|
-
}
|
|
48
|
-
);
|
|
49
|
-
}
|
|
50
|
-
export {
|
|
51
|
-
ManageTermsOfServiceComponent as M
|
|
52
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
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] = "ac88c220-f059-4d72-9158-2bfbca366095", e._sentryDebugIdIdentifier = "sentry-dbid-ac88c220-f059-4d72-9158-2bfbca366095");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D0o_745u.js";
|
|
11
|
-
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-BcPESwGJ.js";
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-Be43Lz8z.js";
|
|
14
|
-
function SoleProprietorshipPage({
|
|
15
|
-
solePropId,
|
|
16
|
-
onSubmit,
|
|
17
|
-
handleHomeClick
|
|
18
|
-
}) {
|
|
19
|
-
const { i18n } = useTranslation();
|
|
20
|
-
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
21
|
-
const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
|
|
22
|
-
const capabilityProblems = useCapabilityProblems();
|
|
23
|
-
addResourceBundles(i18n, [
|
|
24
|
-
{ ns: "business", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/da-DK.json": () => import("./da-DK-DEdQ-QPp.js"), "../../Business/language/de-DE.json": () => import("./de-DE-DrSSblam.js"), "../../Business/language/en-US.json": () => import("./en-US-d4WBvUW7.js"), "../../Business/language/es-ES.json": () => import("./es-ES-ShWaSuJd.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-ChApf7lf.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-Q3urMjbl.js"), "../../Business/language/it-IT.json": () => import("./it-IT-vdMlF0Ha.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-C3YJkSIj.js"), "../../Business/language/no-NO.json": () => import("./no-NO-D4BECLky.js"), "../../Business/language/pt-BR.json": () => import("./pt-BR-gh27BC86.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-DYihdcJx.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-DdjgSySI.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-BHkYspm-.js") }), `../../Business/language/${lang}.json`, 5) }
|
|
25
|
-
]);
|
|
26
|
-
if (!rootLe || solePropId && !solePropLe) {
|
|
27
|
-
return /* @__PURE__ */ jsx(Loader, {});
|
|
28
|
-
}
|
|
29
|
-
const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
|
|
30
|
-
const country = getLegalEntityCountry(solePropLe ?? rootLe);
|
|
31
|
-
return /* @__PURE__ */ jsx(
|
|
32
|
-
BusinessDetailsDropin,
|
|
33
|
-
{
|
|
34
|
-
taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
|
|
35
|
-
legalEntityResponse: rootLe,
|
|
36
|
-
associatedLegalArrangement: solePropLe,
|
|
37
|
-
problems: problems ?? {},
|
|
38
|
-
country,
|
|
39
|
-
onSubmit,
|
|
40
|
-
handleHomeClick
|
|
41
|
-
}
|
|
42
|
-
);
|
|
43
|
-
}
|
|
44
|
-
export {
|
|
45
|
-
SoleProprietorshipPage
|
|
46
|
-
};
|
package/dist/da-DK-BlU1EczG.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
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] = "13b9de84-912e-4a17-800a-5de992558416", e._sentryDebugIdIdentifier = "sentry-dbid-13b9de84-912e-4a17-800a-5de992558416");
|
|
6
|
-
} catch (e) {
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
;
|
|
10
|
-
const daDK = {
|
|
11
|
-
businessLine: "Forretningsområde",
|
|
12
|
-
businessLineDeleteFailure: "Kan ikke slette forretningsområdet",
|
|
13
|
-
businessLineDeleteSuccess: "Forretningsområde slettet",
|
|
14
|
-
businessLines: "Forretningsområder",
|
|
15
|
-
businessLinesCreationFailure: "Kan ikke oprette %{failuresLength} forretningsområder",
|
|
16
|
-
businessLinesCreationSuccess: "Oprettelse af forretningsområder",
|
|
17
|
-
businessLinesGettingStarted: "Vi har brug for oplysninger om dine forretningsområder, herunder de brancher, du opererer i, og dine salgskanaler, for at sætte din betalingsbehandling op og overholde globale finansielle regler.",
|
|
18
|
-
businessLineUpdateFailure: "Kunne ikke opdatere forretningsområde",
|
|
19
|
-
businessLineUpdateSuccess: "Forretningsområde opdateret",
|
|
20
|
-
deleteThisBusinessLine: "Slet dette forretningsområde?",
|
|
21
|
-
industry: "Industri",
|
|
22
|
-
industryCodeAcquiringGuidance: "Dette bruges til at klassificere den type produkter og tjenester, som din virksomhed accepterer betalinger for. Vælg det nærmeste match efter din bedste overbevisning.",
|
|
23
|
-
industryCodes: "Branchekoder",
|
|
24
|
-
industryCodesFormHeading: "Hvilke industrier vil din virksomhed acceptere betalinger i?",
|
|
25
|
-
paymentProcessingDetails: "Detaljer om behandling af betaling",
|
|
26
|
-
salesChannelsHeading: "Hvordan vil din virksomhed sælge sine produkter eller tjenester til kunder?"
|
|
27
|
-
};
|
|
28
|
-
export {
|
|
29
|
-
daDK as default
|
|
30
|
-
};
|