@adyen/kyc-components 3.90.0 → 3.91.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-jlzA4hRO.js → AcceptTermsOfServiceComponent-Dn0l4-44.js} +15 -15
- package/dist/{Accordion-48qDUfrn.js → Accordion-BIfsF-ii.js} +2 -2
- package/dist/{AccountSetupRejected-eL8cEb4U.js → AccountSetupRejected-BZEuVm0z.js} +3 -3
- package/dist/{ActionBar-BO6XSNuM.js → ActionBar-Cd_dURV3.js} +1 -1
- package/dist/{Address-BCTZUD2J.js → Address-L2yF0rj3.js} +8 -8
- package/dist/{Alert-DlSROjS7.js → Alert-XDWse9R9.js} +18 -8
- package/dist/{Avatar-1DJaB2Fj.js → Avatar-DtK8HezD.js} +2 -2
- package/dist/{BusinessFinancingComponent-C6wgWrZx.js → BusinessFinancingComponent-BHHVQgPT.js} +5 -5
- package/dist/{BusinessFinancingDropin-Doz0wI42.js → BusinessFinancingDropin-BKLFxDRz.js} +23 -22
- package/dist/{BusinessFinancingPage-CWkMdnqc.js → BusinessFinancingPage-CyxKBf4A.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DFJqkG5_.js → BusinessTypeSelectionPage-B2_jh2gd.js} +8 -8
- package/dist/{Card-I1r9oUx8.js → Card-bVEv3jgS.js} +4 -4
- package/dist/{ConstitutionalDocument-DdFjrLEq.js → ConstitutionalDocument-BIP14sQW.js} +3 -3
- package/dist/{CountryField-BO-n2nAh.js → CountryField-NrSdQlWq.js} +6 -6
- package/dist/{CreateIndividualComponent-D14kgQET.js → CreateIndividualComponent-Brs4zv6O.js} +6 -6
- package/dist/{CreateTransferInstrumentComponent-DOM7CWHW.js → CreateTransferInstrumentComponent-9A-WpDeB.js} +5 -5
- package/dist/{Currency-U_NBiYL_.js → Currency-DWHl-Udz.js} +4 -4
- package/dist/{CustomerSupport-gUFWyk3X.js → CustomerSupport-9t9iQcAa.js} +10 -10
- package/dist/{DebugModal-B-9dnXq3.js → DebugModal-C8twwNLd.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-Y59IaBti.js → DecisionMakerDetailsPage-BOcY8gtD.js} +6 -6
- package/dist/{DecisionMakers-CXX7UaII.js → DecisionMakers-DDhlHa6w.js} +20 -20
- package/dist/{EmbeddedStatus-DY5iLZFD.js → EmbeddedStatus-CnokSZuD.js} +11 -13
- package/dist/{EndStateLayout-CwW4wDY8.js → EndStateLayout-n2vQmPyo.js} +2 -2
- package/dist/{EntityAssociation-CYAh0KGI.js → EntityAssociation-BLIsqEDN.js} +8 -8
- package/dist/{EntityGuidanceStatus-Dkb_9kLQ.js → EntityGuidanceStatus-CP3ZQkcf.js} +3 -3
- package/dist/{FormFlow-Dgc0gB-O.js → FormFlow-CKr0sy8L.js} +59 -39
- package/dist/{FormNavigation-BE3rLf_S.js → FormNavigation-YVewktyA.js} +3 -3
- package/dist/{FormWrapper-B7su5eh3.js → FormWrapper-D_vUS9Z7.js} +10 -10
- package/dist/{IndividualOnfido-DH3VYYau.js → IndividualOnfido-BYT0nG-5.js} +95 -64
- package/dist/{IndividualOnfidoDropin-SiWSMsi9.js → IndividualOnfidoDropin-vZZxkmpv.js} +35 -29
- package/dist/{InputText-DR70nC51.js → InputText-CQ6woYx3.js} +4 -4
- package/dist/{Introduction-C2X6DyHw.js → Introduction-Dnxk9iKa.js} +21 -65
- package/dist/JpAddress-D8-PoYQj.js +295 -0
- package/dist/{LegalRepresentativeDetailsPage-Wf7cQkQn.js → LegalRepresentativeDetailsPage-C71oi0I7.js} +4 -4
- package/dist/{ListItem-BBHNYCCw.js → ListItem-CEjkofDu.js} +3 -3
- package/dist/{ManageIndividualComponent-DPh2Jp_T.js → ManageIndividualComponent-CS4ck6BQ.js} +4 -4
- package/dist/ManageTermsOfServiceComponent-D-4xj7a2.js +52 -0
- package/dist/{ManageTransferInstrumentComponent-D8MMBSWg.js → ManageTransferInstrumentComponent-CXLwFDUB.js} +14 -14
- package/dist/{MaybeModal-Us27ek4u.js → MaybeModal-D_76Tc3g.js} +2 -2
- package/dist/{Modal-W8cfdxrr.js → Modal-2wdHXVI8.js} +9 -11
- package/dist/{OnboardingDropinComponent-HHq3dL3N.js → OnboardingDropinComponent-BrHvygYb.js} +243 -192
- package/dist/{PayoutDetailsDropin-M9FYw20B.js → PayoutDetailsDropin-COkMHdGI.js} +85 -42
- package/dist/{Review-CUNKnKSZ.js → Review-ruIkpP8F.js} +7 -7
- package/dist/RootBusinessDetailsPage-BZNx8ZjT.js +49 -0
- package/dist/{RootBusinessLinesPage-B8gUQ93t.js → RootBusinessLinesPage-9LFMQ5z_.js} +222 -175
- package/dist/{RootIndividualDetailsPage-ULrh2_YN.js → RootIndividualDetailsPage-F2fdzLat.js} +6 -6
- package/dist/{SignPCIComponent-MnotetIL.js → SignPCIComponent-C81oIZNp.js} +12 -12
- package/dist/{SingpassSelection-BWdMU1Lv.js → SingpassSelection-CbvT4d8u.js} +4 -4
- package/dist/SoleProprietorshipPage-BFo0fBlE.js +49 -0
- package/dist/{SourceOfFundsPage-bptpOZNp.js → SourceOfFundsPage-rmtNMeq-.js} +25 -25
- package/dist/{Spacer-D-c-0ch_.js → Spacer-DTg9NYBB.js} +10 -9
- package/dist/{StepProgressIndicator--8FNnauI.js → StepProgressIndicator-BiUf_xud.js} +1 -1
- package/dist/{StoreProvider-D_0Pta7w.js → StoreProvider-Dgl7dBXc.js} +38 -38
- package/dist/{Summary-D741mrWG.js → Summary-BZn7Ovck.js} +4 -4
- package/dist/{TaxReportingDropin-D2gjRJag.js → TaxReportingDropin-BP-Q9qFd.js} +17 -16
- package/dist/{TrustDetailsPage-Dj64OqRJ.js → TrustDetailsPage-O_efBZlx.js} +28 -27
- package/dist/{TrustMemberCompanyPage-DlnCvpf5.js → TrustMemberCompanyPage-DRaHLSon.js} +15 -8
- package/dist/{TrustMemberIndividualPage-D8LSPYGf.js → TrustMemberIndividualPage-XLYywUIX.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-CN7oQduU.js → TrustMemberRoleAndTypePage-3faXzV9b.js} +24 -23
- package/dist/{TrustMembersOverview-C2VH8NIl.js → TrustMembersOverview-D17It654.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-fN2QrGh4.js → UnincorporatedPartnershipIndividualPage-Clw37nBi.js} +4 -4
- package/dist/UnincorporatedPartnershipMemberCompanyPage-DOSVuI_I.js +67 -0
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js → UnincorporatedPartnershipMemberRoleAndTypePage-DD3a0EJd.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-EeE4JNAc.js → UnincorporatedPartnershipMembersOverview-eGY35uW7.js} +9 -9
- package/dist/{VerificationErrorAlert-COgw5uh1.js → VerificationErrorAlert-I_JbBy66.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-CaPz-G-G.js → ViewVerificationStatusComponent-m00jaa9V.js} +4 -4
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bg-BG-D9J6LnkI.js → bg-BG-CCwKQVVV.js} +9 -1
- package/dist/bg-BG-CEipapl4.js +63 -0
- package/dist/bg-BG-D4k_k98M.js +118 -0
- package/dist/bg-BG-DVjwfSz4.js +13 -0
- package/dist/{bg-BG-Dp4LxSP7.js → bg-BG-K7feXvEc.js} +2 -1
- package/dist/cs-CZ-BHbWTH_v.js +63 -0
- package/dist/cs-CZ-CLY9qYTs.js +13 -0
- package/dist/{cs-CZ-DY_pQqAT.js → cs-CZ-CVvNUABW.js} +9 -1
- package/dist/{cs-CZ-CyLqoG1j.js → cs-CZ-CYQO0o5V.js} +2 -1
- package/dist/{cs-CZ-B58kCXel.js → cs-CZ-nIWwyOHK.js} +1 -13
- 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-ZbuNEN6W.js → debouncedInputEvent-iHbpO4uP.js} +2 -2
- package/dist/{documentUtils-XUGK4RIp.js → documentUtils-COMXmiC3.js} +58 -7
- package/dist/{dropinUtils-Dggo6PZA.js → dropinUtils-B7gkHPu_.js} +4 -4
- package/dist/el-GR-B78b9rSH.js +63 -0
- package/dist/{el-GR-Btrk_npt.js → el-GR-B9TRk3Pi.js} +9 -1
- package/dist/el-GR-Ckn_3h1a.js +118 -0
- package/dist/{el-GR-B90M6tcZ.js → el-GR-DHNlnOwf.js} +2 -1
- package/dist/el-GR-wv99Y9Yf.js +13 -0
- 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/{et-EE-BMgFCxds.js → et-EE-BQixWUEV.js} +2 -1
- package/dist/et-EE-CAuCY0qn.js +13 -0
- package/dist/{et-EE-TzXANcP2.js → et-EE-CUXar-DY.js} +9 -1
- package/dist/et-EE-D0PMC4ie.js +63 -0
- package/dist/{et-EE-BApmUBuH.js → et-EE-RzdBGxDM.js} +1 -13
- 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-KwCfBJn2.js → getFieldsWithExistingData-P-c5HSuj.js} +1 -1
- package/dist/{getName-B1UTZRuu.js → getName-D3Us2eqy.js} +2 -2
- package/dist/{hasDataChanged-CSn4V18R.js → hasDataChanged-CBuNlTKT.js} +2 -2
- package/dist/{hr-HR-BLpGb4f2.js → hr-HR-BynZTNSB.js} +2 -1
- package/dist/hr-HR-CbdP2tk-.js +63 -0
- package/dist/{hr-HR-CZLSQruE.js → hr-HR-D2LmWe5I.js} +9 -1
- package/dist/hr-HR-DdqNL1pQ.js +13 -0
- package/dist/hr-HR-fyublN95.js +118 -0
- package/dist/{hu-HU-Ca9Hex26.js → hu-HU-BtRIDozk.js} +2 -1
- package/dist/hu-HU-C1LJENXO.js +13 -0
- package/dist/{hu-HU-kp8Go5hZ.js → hu-HU-CFuBc8VP.js} +9 -1
- package/dist/hu-HU-CpJDiSu2.js +118 -0
- package/dist/hu-HU-pFpTvMiD.js +63 -0
- package/dist/{iframeWidget-BDp1ajgy.js → iframeWidget-B7r65gwx.js} +3 -3
- 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-BqluCflj.js +63 -0
- package/dist/{ja-JP-Dz9IVH4p.js → ja-JP-CvREJ56h.js} +9 -1
- package/dist/{ja-JP-DsGXGCjF.js → ja-JP-DGNXrNMK.js} +1 -13
- package/dist/ja-JP-PnqAHl14.js +13 -0
- package/dist/{ja-JP-CHQ64lw1.js → ja-JP-vv3-YsHU.js} +2 -1
- package/dist/{localizeDateString-CZrFwyd0.js → localizeDateString-DZXUiuq2.js} +1 -1
- package/dist/{lt-LT-0RKZeraM.js → lt-LT-2BMif2Bk.js} +2 -1
- package/dist/lt-LT-BmRnIfWs.js +13 -0
- package/dist/lt-LT-CKE7_7_A.js +118 -0
- package/dist/lt-LT-CXw4ywLM.js +63 -0
- package/dist/{lt-LT-l9rzkFg9.js → lt-LT-CZwu5zZ0.js} +9 -1
- package/dist/{lv-LV-Bh-WQp0K.js → lv-LV-CHdEDRVO.js} +2 -1
- package/dist/lv-LV-CX9j9Dtv.js +13 -0
- package/dist/lv-LV-D4Ik0yoE.js +118 -0
- package/dist/{lv-LV-DYbb5pkt.js → lv-LV-DVFCj1OR.js} +9 -1
- package/dist/lv-LV-DYqBaW2-.js +63 -0
- package/dist/{mapExistingFile-D5fqNt1l.js → mapExistingFile-CUIQysrG.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-eCMwJnwj.js → mapFinancialReportsToFinancialInformation-DXAUhNyT.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js → mapJpAddressSchemaToAddressLocalizations-DtYS0iKj.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js → mapLegalEntityToIndividualOnfidoSchema-p2nWbhjp.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BOYDxAUf.js → mapTransferInstrumentToPayoutAccount-ByLURF9P.js} +1 -1
- 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/{pl-PL-LnVPufjb.js → pl-PL-BkGihn5Q.js} +2 -1
- package/dist/pl-PL-CErRPlR2.js +63 -0
- package/dist/pl-PL-DFZFSKZX.js +13 -0
- package/dist/{pl-PL-B0zGy_b4.js → pl-PL-DMbe5XnW.js} +9 -1
- package/dist/pl-PL-ggZjqXWE.js +118 -0
- package/dist/{process-field-configurations-ClLFHxX6.js → process-field-configurations-DLkHkwPX.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/pt-PT-BDfNlThr.js +118 -0
- package/dist/{pt-PT-CVNEcs32.js → pt-PT-BfL7qUzo.js} +2 -1
- package/dist/pt-PT-DmdQxN_1.js +13 -0
- package/dist/{pt-PT-BZ5ZZm6G.js → pt-PT-LP8g5mC9.js} +9 -1
- package/dist/pt-PT-PIiikho9.js +63 -0
- package/dist/{resolveEnvironment-D8CEfrp4.js → resolveEnvironment-Biy1a0GA.js} +3 -3
- package/dist/ro-RO-B0slmyWK.js +13 -0
- package/dist/{ro-RO-CdSsgoUG.js → ro-RO-BQSoJrlf.js} +9 -1
- package/dist/ro-RO-BRngQXgs.js +118 -0
- package/dist/ro-RO-Bv9hZxwD.js +63 -0
- package/dist/{ro-RO-i7lojG2G.js → ro-RO-C2yBVFht.js} +2 -1
- package/dist/{rules-Cr3Ka8oq.js → rules-nAvWiQ6E.js} +5 -5
- package/dist/sk-SK-BptPuon4.js +13 -0
- package/dist/{sk-SK-B5brxU1N.js → sk-SK-C74EF23u.js} +2 -1
- package/dist/sk-SK-ChVwlbp0.js +63 -0
- package/dist/{sk-SK-BiBWPJUf.js → sk-SK-CwieqNyR.js} +9 -1
- package/dist/sk-SK-y9eb7N6i.js +118 -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-DZHePXbK.js +63 -0
- package/dist/style.css +467 -221
- package/dist/styles-CLV89_hH.js +467 -221
- 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/businessLines/businessLines.types.d.ts +6 -1
- 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/AdditionalInformation/AdditionalInformation.d.ts +1 -8
- package/dist/types/components/Business/forms/AdditionalInformation/{VerifiedBusinessCard.d.ts → VerifiedBusinessCard/VerifiedBusinessCard.d.ts} +2 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +4 -6
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +0 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +1 -2
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
- 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/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-CR2U3VAD.js → types-BmzCK_Dn.js} +1 -1
- package/dist/{types-DjTezJBU.js → types-DHdElqj8.js} +1 -1
- package/dist/{types-Gm2SleFm.js → types-cn3-oi7O.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Pgb7_79V.js → useAssociatedLegalEntity-BrPscgVv.js} +1 -1
- package/dist/{BusinessDetailsDropin-lXErWzqC.js → useBusinessDetailsData-BVa9Mtjs.js} +151 -69
- package/dist/{useCreateLegalEntity-Ba2rxRgb.js → useCreateLegalEntity-CNzYBgj0.js} +2 -2
- package/dist/{useDataset-RNFlX1-i.js → useDataset-DerSszvK.js} +4 -4
- package/dist/{useForm-C261ZUdn.js → useForm-BmCWMPbB.js} +7 -6
- package/dist/{useGlobalData-COSDbjgb.js → useGlobalData-iJosWOhn.js} +2 -2
- package/dist/{useMultiForm--zHGgbxw.js → useMultiForm-qb1Om5Av.js} +4 -4
- package/dist/{useOnboardingStatus-DytPj9Ai.js → useOnboardingStatus-oxdDvVQm.js} +1 -1
- package/dist/{useScenarios-eYrKID9N.js → useScenarios-D7H_IhJd.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BYJqq3Oi.js → useTermsOfServiceStatus-DVhtmxNr.js} +1 -1
- package/dist/{useToastContext-CqIJgGTa.js → useToastContext-CutFPaxB.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-HC3erocB.js → useUnincorporatedPartnershipMembers-Ca8kuLpf.js} +5 -5
- package/dist/{useUpdateBusinessLines-Dq3B1Jvy.js → useUpdateBusinessLines-CxcIFedN.js} +2 -2
- package/dist/{useUpdateLegalEntity-BPQX_o3v.js → useUpdateLegalEntity-ByoUAlrC.js} +3 -3
- package/dist/{utils-BbmGXGUy.js → utils-Dq1W5jgi.js} +6 -6
- package/dist/{utils-B_eQ3Eny.js → utils-Gn2bm9fz.js} +3 -3
- package/dist/{validate-B_v0PjtX.js → validate-BYqQ_kJW.js} +1 -1
- package/dist/{validate-ArlZWHo0.js → validate-DWXDyeBc.js} +1 -1
- package/dist/{validationError-BQZWqXfp.js → validationError-CgErIRFL.js} +1 -1
- package/package.json +1 -1
- package/dist/JpAddress-CvQyBExq.js +0 -271
- package/dist/ManageTermsOfServiceComponent-4-iML1dO.js +0 -52
- package/dist/RootBusinessDetailsPage-DC0qALED.js +0 -46
- package/dist/SoleProprietorshipPage-C9mxOyGm.js +0 -46
- package/dist/UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js +0 -60
- package/dist/bg-BG-4gJjMBoz.js +0 -13
- package/dist/bg-BG-DBsXOteB.js +0 -30
- package/dist/bg-BG-DNp7JUA6.js +0 -13
- package/dist/cs-CZ-CxB0DJQ6.js +0 -13
- package/dist/cs-CZ-DzChComK.js +0 -30
- 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-CgrzE6er.js +0 -30
- package/dist/el-GR-CjhbnLfE.js +0 -13
- package/dist/el-GR-z3YMr7LZ.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/et-EE-BN1nOAGu.js +0 -30
- package/dist/et-EE-Be9wlXLD.js +0 -13
- 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/hr-HR-CPvQ9uT8.js +0 -30
- package/dist/hr-HR-iodfRS4f.js +0 -13
- package/dist/hr-HR-jGIf2Gtl.js +0 -13
- package/dist/hu-HU-BjcOaEwh.js +0 -13
- package/dist/hu-HU-CEb_Wl4I.js +0 -13
- package/dist/hu-HU-dKPur6SA.js +0 -30
- 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/ja-JP-DnBu0U51.js +0 -30
- package/dist/ja-JP-US4BD67C.js +0 -13
- package/dist/lt-LT-DhhomRPs.js +0 -30
- package/dist/lt-LT-Y9aKpjC4.js +0 -13
- package/dist/lt-LT-os-nxAb0.js +0 -13
- package/dist/lv-LV-9NRF8DKM.js +0 -13
- package/dist/lv-LV-BWbH-gbT.js +0 -30
- package/dist/lv-LV-Bm1fntV2.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/pl-PL-B0BQdtqx.js +0 -13
- package/dist/pl-PL-B1EJKJvT.js +0 -30
- package/dist/pl-PL-xxcCzZvq.js +0 -13
- 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-D2Xe-OdG.js +0 -13
- package/dist/pt-PT-DYihdcJx.js +0 -13
- package/dist/pt-PT-LbneTcRx.js +0 -30
- package/dist/ro-RO-CzTVqkev.js +0 -30
- package/dist/ro-RO-Di-C4PpC.js +0 -13
- package/dist/ro-RO-WGnCVll9.js +0 -13
- package/dist/sk-SK-B0hEG-HR.js +0 -13
- package/dist/sk-SK-BMlZjg5s.js +0 -30
- package/dist/sk-SK-Cq_DSPZu.js +0 -13
- package/dist/sl-SI-8SzKx7XD.js +0 -30
- package/dist/sl-SI-C3gfuen3.js +0 -13
- 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,39 +2,39 @@
|
|
|
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] = "d71ef0b8-9842-446d-b3e5-7470a192ac9d", e._sentryDebugIdIdentifier = "sentry-dbid-d71ef0b8-9842-446d-b3e5-7470a192ac9d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes,
|
|
10
|
+
import { C as CountryCodes, a1 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, ao as Trans, B as Button, b as useApiContext, a0 as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, a2 as useQueryClient, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-Dgl7dBXc.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes,
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
20
|
-
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-
|
|
23
|
-
import { u as useFormContext } from "./Address-
|
|
13
|
+
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, _ as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-BrHvygYb.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-CxcIFedN.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-CKr0sy8L.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-CutFPaxB.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-DLkHkwPX.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-B7gkHPu_.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-qb1Om5Av.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-DTg9NYBB.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-BZn7Ovck.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-NrSdQlWq.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-L2yF0rj3.js";
|
|
24
24
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
26
|
-
import { F as Field } from "./useForm-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-iHbpO4uP.js";
|
|
26
|
+
import { F as Field } from "./useForm-BmCWMPbB.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-2wdHXVI8.js";
|
|
28
|
+
import { I as InputText } from "./InputText-CQ6woYx3.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-C81oIZNp.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-DtK8HezD.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-bVEv3jgS.js";
|
|
34
34
|
import { lazy } from "preact/compat";
|
|
35
|
-
import {
|
|
36
|
-
import { L as ListItem } from "./ListItem-
|
|
37
|
-
import {
|
|
35
|
+
import { N as LandingLayout } from "./IndividualOnfido-BYT0nG-5.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-CEjkofDu.js";
|
|
37
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-DerSszvK.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
|
@@ -114,13 +114,11 @@ const mapBusinessLineToBusinessLineSchema = (selectedBusinessLine2) => {
|
|
|
114
114
|
},
|
|
115
115
|
salesChannelsForm: {
|
|
116
116
|
salesChannels: selectedBusinessLine2.value?.salesChannels ?? [],
|
|
117
|
-
webAddress: selectedBusinessLine2.value?.webData?.
|
|
118
|
-
// TODO: Rework
|
|
117
|
+
webAddress: selectedBusinessLine2.value?.webData?.find((w) => w.webAddress)?.webAddress,
|
|
119
118
|
webExempt: selectedBusinessLine2.value?.webDataExemption?.reason ? true : void 0
|
|
120
119
|
},
|
|
121
120
|
sctaForm: {
|
|
122
|
-
sctaUrl: selectedBusinessLine2.value?.webData?.
|
|
123
|
-
// TODO: Rework
|
|
121
|
+
sctaUrl: selectedBusinessLine2.value?.webData?.find((w) => w.commerceDisclosureAddress)?.commerceDisclosureAddress,
|
|
124
122
|
sctaExempt: selectedBusinessLine2.value?.webDataExemption?.reason ? true : void 0
|
|
125
123
|
}
|
|
126
124
|
};
|
|
@@ -138,11 +136,21 @@ const submitBusinessLines = async ({
|
|
|
138
136
|
const requiresWebData = salesChannelsWithWebData.some(
|
|
139
137
|
(channel) => data.salesChannelsForm.salesChannels?.includes(channel)
|
|
140
138
|
);
|
|
139
|
+
const webData = (() => {
|
|
140
|
+
const webDataArray = [];
|
|
141
|
+
if (requiresWebData && data.salesChannelsForm.webAddress) {
|
|
142
|
+
webDataArray.push({ webAddress: data.salesChannelsForm.webAddress });
|
|
143
|
+
}
|
|
144
|
+
if (!data.sctaForm.sctaExempt && data.sctaForm.sctaUrl) {
|
|
145
|
+
webDataArray.push({ commerceDisclosureAddress: data.sctaForm.sctaUrl });
|
|
146
|
+
}
|
|
147
|
+
return webDataArray.length > 0 ? webDataArray : void 0;
|
|
148
|
+
})();
|
|
141
149
|
const commonPayload = {
|
|
142
150
|
legalEntityId,
|
|
143
151
|
service: "paymentProcessing",
|
|
144
152
|
salesChannels: data.salesChannelsForm.salesChannels ?? [],
|
|
145
|
-
webData
|
|
153
|
+
webData,
|
|
146
154
|
webDataExemption: requiresWebData && data.salesChannelsForm.webExempt ? { reason: "noOnlinePresence" } : void 0
|
|
147
155
|
};
|
|
148
156
|
try {
|
|
@@ -392,84 +400,87 @@ const carouselItem = "adyen-kyc-carousel-item";
|
|
|
392
400
|
const carouselNavigation = "adyen-kyc-carousel-navigation";
|
|
393
401
|
const carouselNavigationLeft = "adyen-kyc-carousel-navigation-left";
|
|
394
402
|
const carouselNavigationRight = "adyen-kyc-carousel-navigation-right";
|
|
395
|
-
const carouselItems = "adyen-kyc-
|
|
403
|
+
const carouselItems = "adyen-kyc-carousel-items";
|
|
404
|
+
const hiddenInput = "adyen-kyc-hidden-input";
|
|
396
405
|
const item = "adyen-kyc-item";
|
|
397
|
-
const selectedItem = "adyen-kyc-
|
|
398
|
-
const
|
|
399
|
-
const
|
|
400
|
-
const
|
|
401
|
-
const
|
|
402
|
-
const
|
|
403
|
-
const
|
|
404
|
-
const
|
|
405
|
-
const
|
|
406
|
-
const
|
|
407
|
-
const
|
|
408
|
-
const styles$
|
|
406
|
+
const selectedItem = "adyen-kyc-selected-item";
|
|
407
|
+
const gapXs = "adyen-kyc-gap-xs";
|
|
408
|
+
const gapS = "adyen-kyc-gap-s";
|
|
409
|
+
const gapM = "adyen-kyc-gap-m";
|
|
410
|
+
const gapL = "adyen-kyc-gap-l";
|
|
411
|
+
const gapXl = "adyen-kyc-gap-xl";
|
|
412
|
+
const widthXs = "adyen-kyc-width-xs";
|
|
413
|
+
const widthS = "adyen-kyc-width-s";
|
|
414
|
+
const widthM = "adyen-kyc-width-m";
|
|
415
|
+
const widthL = "adyen-kyc-width-l";
|
|
416
|
+
const widthXl = "adyen-kyc-width-xl";
|
|
417
|
+
const styles$3 = {
|
|
409
418
|
window,
|
|
410
419
|
carouselItem,
|
|
411
420
|
carouselNavigation,
|
|
412
421
|
carouselNavigationLeft,
|
|
413
422
|
carouselNavigationRight,
|
|
414
423
|
carouselItems,
|
|
424
|
+
hiddenInput,
|
|
415
425
|
item,
|
|
416
426
|
selectedItem,
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
+
gapXs,
|
|
428
|
+
gapS,
|
|
429
|
+
gapM,
|
|
430
|
+
gapL,
|
|
431
|
+
gapXl,
|
|
432
|
+
widthXs,
|
|
433
|
+
widthS,
|
|
434
|
+
widthM,
|
|
435
|
+
widthL,
|
|
436
|
+
widthXl
|
|
427
437
|
};
|
|
428
438
|
const gapStyles = {
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
439
|
+
xs: styles$3.gapXs,
|
|
440
|
+
s: styles$3.gapS,
|
|
441
|
+
m: styles$3.gapM,
|
|
442
|
+
l: styles$3.gapL,
|
|
443
|
+
xl: styles$3.gapXl
|
|
434
444
|
};
|
|
435
445
|
const widthStyles = {
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
446
|
+
xs: styles$3.widthXs,
|
|
447
|
+
s: styles$3.widthS,
|
|
448
|
+
m: styles$3.widthM,
|
|
449
|
+
l: styles$3.widthL,
|
|
450
|
+
xl: styles$3.widthXl
|
|
441
451
|
};
|
|
442
452
|
const Carousel = ({
|
|
443
453
|
items,
|
|
444
454
|
allowMultiple = true,
|
|
445
455
|
onChange,
|
|
446
456
|
selected,
|
|
447
|
-
gap = "
|
|
448
|
-
width = "
|
|
457
|
+
gap = "m",
|
|
458
|
+
width = "m",
|
|
449
459
|
carouselLabel
|
|
450
460
|
}) => {
|
|
451
461
|
const itemRefs = useRef([]);
|
|
452
462
|
const carouselRef = useRef(null);
|
|
453
|
-
const { t } = useTranslation(["common"]);
|
|
463
|
+
const { t } = useTranslation(["common", "businessLines"]);
|
|
454
464
|
const scrollByOneItem = (direction) => {
|
|
455
|
-
const
|
|
456
|
-
|
|
457
|
-
|
|
465
|
+
const firstInput = itemRefs.current[0];
|
|
466
|
+
const firstCard = firstInput?.closest(`.${styles$3.item}`);
|
|
467
|
+
if (!carouselRef.current || !firstCard) return;
|
|
468
|
+
const itemWidth = firstCard.offsetWidth;
|
|
458
469
|
const scrollAmount = direction === "left" ? -itemWidth : itemWidth;
|
|
459
470
|
carouselRef.current.scrollBy({ left: scrollAmount });
|
|
460
471
|
};
|
|
461
|
-
const
|
|
462
|
-
if (!
|
|
463
|
-
onChange(
|
|
472
|
+
const handleInputChange = ({ id }) => {
|
|
473
|
+
if (!allowMultiple) {
|
|
474
|
+
onChange(selected.includes(id) ? [] : [id]);
|
|
464
475
|
return;
|
|
465
476
|
}
|
|
466
|
-
if (
|
|
467
|
-
onChange(
|
|
477
|
+
if (selected.includes(id)) {
|
|
478
|
+
onChange(selected.filter((item2) => item2 !== id));
|
|
468
479
|
return;
|
|
469
480
|
}
|
|
470
|
-
onChange([...
|
|
481
|
+
onChange([...selected, id]);
|
|
471
482
|
};
|
|
472
|
-
const
|
|
483
|
+
const handleFocusNavigation = (e, index) => {
|
|
473
484
|
let nextIndex = index;
|
|
474
485
|
switch (e.key) {
|
|
475
486
|
case KEYBOARD_KEYS.arrowRight:
|
|
@@ -480,11 +491,6 @@ const Carousel = ({
|
|
|
480
491
|
e.preventDefault();
|
|
481
492
|
nextIndex = (index - 1 + items.length) % items.length;
|
|
482
493
|
break;
|
|
483
|
-
case KEYBOARD_KEYS.space:
|
|
484
|
-
case KEYBOARD_KEYS.enter:
|
|
485
|
-
e.preventDefault();
|
|
486
|
-
updateSelected(selected, allowMultiple, item2);
|
|
487
|
-
break;
|
|
488
494
|
default:
|
|
489
495
|
return;
|
|
490
496
|
}
|
|
@@ -495,48 +501,52 @@ const Carousel = ({
|
|
|
495
501
|
return /* @__PURE__ */ jsxs(
|
|
496
502
|
"div",
|
|
497
503
|
{
|
|
498
|
-
className: cx(styles$
|
|
504
|
+
className: cx(styles$3.window, gapStyles[gap]),
|
|
499
505
|
role: allowMultiple ? "group" : "radiogroup",
|
|
500
506
|
"aria-label": carouselLabel,
|
|
501
507
|
children: [
|
|
502
|
-
/* @__PURE__ */ jsx("div", { className: cx(styles$
|
|
508
|
+
/* @__PURE__ */ jsx("div", { className: cx(styles$3.carouselNavigation, styles$3.carouselNavigationLeft), children: /* @__PURE__ */ jsx(
|
|
503
509
|
IconButton,
|
|
504
510
|
{
|
|
505
511
|
variant: "surface",
|
|
506
512
|
icon: "chevron-left",
|
|
507
513
|
onClick: () => scrollByOneItem("left"),
|
|
508
|
-
ariaLabel: t(($) => $["
|
|
514
|
+
ariaLabel: t(($) => $["carouselBack"], { ns: "common" })
|
|
509
515
|
}
|
|
510
516
|
) }),
|
|
511
|
-
/* @__PURE__ */ jsx("div", { className: cx(styles$
|
|
517
|
+
/* @__PURE__ */ jsx("div", { className: cx(styles$3.carouselNavigation, styles$3.carouselNavigationRight), children: /* @__PURE__ */ jsx(
|
|
512
518
|
IconButton,
|
|
513
519
|
{
|
|
514
520
|
variant: "surface",
|
|
515
521
|
icon: "chevron-right",
|
|
516
522
|
onClick: () => scrollByOneItem("right"),
|
|
517
|
-
ariaLabel: t(($) => $["
|
|
523
|
+
ariaLabel: t(($) => $["carouselForward"], { ns: "common" })
|
|
518
524
|
}
|
|
519
525
|
) }),
|
|
520
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
526
|
+
/* @__PURE__ */ jsx("div", { className: styles$3.carouselItems, ref: carouselRef, children: items?.map((item2, index) => {
|
|
521
527
|
const isSelected = selected.includes(item2.id);
|
|
522
|
-
const carouselItemClassName = cx(styles$
|
|
523
|
-
[styles$
|
|
528
|
+
const carouselItemClassName = cx(styles$3.item, widthStyles[width], {
|
|
529
|
+
[styles$3.selectedItem]: isSelected
|
|
524
530
|
});
|
|
525
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
531
|
+
return /* @__PURE__ */ jsx("div", { className: styles$3.carouselItem, children: /* @__PURE__ */ jsxs("label", { className: carouselItemClassName, children: [
|
|
532
|
+
/* @__PURE__ */ jsx(
|
|
533
|
+
"input",
|
|
534
|
+
{
|
|
535
|
+
ref: (el) => {
|
|
536
|
+
itemRefs.current[index] = el;
|
|
537
|
+
},
|
|
538
|
+
onKeyDown: (e) => handleFocusNavigation(e, index),
|
|
539
|
+
type: allowMultiple ? "checkbox" : "radio",
|
|
540
|
+
className: styles$3.hiddenInput,
|
|
541
|
+
name: item2.id,
|
|
542
|
+
value: item2.id,
|
|
543
|
+
"aria-label": t(($) => $[item2.id], { ns: "businessLines" }),
|
|
544
|
+
checked: isSelected,
|
|
545
|
+
onChange: () => handleInputChange(item2)
|
|
546
|
+
}
|
|
547
|
+
),
|
|
548
|
+
item2.el
|
|
549
|
+
] }) }, item2.id);
|
|
540
550
|
}) })
|
|
541
551
|
]
|
|
542
552
|
}
|
|
@@ -547,7 +557,7 @@ const salesCard = "adyen-kyc-sales-card";
|
|
|
547
557
|
const salesCardImage = "adyen-kyc-sales-card-image";
|
|
548
558
|
const salesCardInfo = "adyen-kyc-sales-card-info";
|
|
549
559
|
const salesCardText = "adyen-kyc-sales-card-text";
|
|
550
|
-
const styles$
|
|
560
|
+
const styles$2 = {
|
|
551
561
|
carouselContainer,
|
|
552
562
|
salesCard,
|
|
553
563
|
salesCardImage,
|
|
@@ -614,7 +624,7 @@ function SalesChannels({
|
|
|
614
624
|
errorMessage: errors.salesChannels,
|
|
615
625
|
isValid: valid.salesChannels,
|
|
616
626
|
showErrorIconBottom: true,
|
|
617
|
-
children: () => /* @__PURE__ */ jsxs("div", { className: styles$
|
|
627
|
+
children: () => /* @__PURE__ */ jsxs("div", { className: styles$2.carouselContainer, children: [
|
|
618
628
|
/* @__PURE__ */ jsx(Typography, { variant: "title-m", children: t(($) => $["salesChannels"], { ns: "common" }) }),
|
|
619
629
|
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["salesChannelsGuidance"], { ns: "businessLines" }) }),
|
|
620
630
|
/* @__PURE__ */ jsx(
|
|
@@ -624,8 +634,8 @@ function SalesChannels({
|
|
|
624
634
|
carouselLabel: labels.salesChannels ?? t(($) => $["salesChannels"], { ns: "common" }),
|
|
625
635
|
onChange,
|
|
626
636
|
selected: selectedCards,
|
|
627
|
-
width: "
|
|
628
|
-
gap: "
|
|
637
|
+
width: "m",
|
|
638
|
+
gap: "s"
|
|
629
639
|
}
|
|
630
640
|
)
|
|
631
641
|
] })
|
|
@@ -634,10 +644,10 @@ function SalesChannels({
|
|
|
634
644
|
}
|
|
635
645
|
function SalesChannelCard({ channel, selected }) {
|
|
636
646
|
const { t } = useTranslation(["businessLines", "common"]);
|
|
637
|
-
return /* @__PURE__ */ jsxs("article", { className: styles$
|
|
638
|
-
/* @__PURE__ */ jsx("div", { className: styles$
|
|
639
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
640
|
-
/* @__PURE__ */ jsx("span", { className: styles$
|
|
647
|
+
return /* @__PURE__ */ jsxs("article", { className: styles$2.salesCard, children: [
|
|
648
|
+
/* @__PURE__ */ jsx("div", { className: styles$2.salesCardImage, children: /* @__PURE__ */ jsx("img", { src: cardMedia[channel].img, alt: `${channel}-image` }) }),
|
|
649
|
+
/* @__PURE__ */ jsxs("div", { className: styles$2.salesCardInfo, children: [
|
|
650
|
+
/* @__PURE__ */ jsx("span", { className: styles$2.salesCardAvatar, children: /* @__PURE__ */ jsx(
|
|
641
651
|
Avatar,
|
|
642
652
|
{
|
|
643
653
|
iconName: cardMedia[channel].iconName,
|
|
@@ -645,7 +655,7 @@ function SalesChannelCard({ channel, selected }) {
|
|
|
645
655
|
variant: selected ? "primary" : "secondary"
|
|
646
656
|
}
|
|
647
657
|
) }),
|
|
648
|
-
/* @__PURE__ */ jsxs("div", { className: styles$
|
|
658
|
+
/* @__PURE__ */ jsxs("div", { className: styles$2.salesCardText, children: [
|
|
649
659
|
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $[`${channel}`], { ns: "businessLines" }) }),
|
|
650
660
|
/* @__PURE__ */ jsx(Typography, { variant: "caption", color: "secondary", children: t(($) => $[`${channel}SalesChannelDescription`], { ns: "businessLines" }) })
|
|
651
661
|
] })
|
|
@@ -905,7 +915,7 @@ function SctaForm({
|
|
|
905
915
|
verificationErrors
|
|
906
916
|
]);
|
|
907
917
|
return /* @__PURE__ */ jsxs("form", { id, children: [
|
|
908
|
-
/* @__PURE__ */ jsxs(StackLayout, { gap: "xLarge",
|
|
918
|
+
/* @__PURE__ */ jsxs(StackLayout, { gap: "xLarge", children: [
|
|
909
919
|
/* @__PURE__ */ jsx(
|
|
910
920
|
DetailViewLayout,
|
|
911
921
|
{
|
|
@@ -913,7 +923,6 @@ function SctaForm({
|
|
|
913
923
|
description: t(($) => $["japaneseCommercialDisclosureDescription"], {
|
|
914
924
|
ns: "businessLines"
|
|
915
925
|
}),
|
|
916
|
-
align: "left",
|
|
917
926
|
compact: true,
|
|
918
927
|
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: () => setOpenSctaInfoModal(true), children: t(($) => $["learnMore"], { ns: "common" }) }) })
|
|
919
928
|
}
|
|
@@ -975,7 +984,7 @@ function BusinessLines({ activeForm, handleNextClick, problems = {} }) {
|
|
|
975
984
|
return /* @__PURE__ */ jsx("div", { children: renderActiveForm(activeForm) });
|
|
976
985
|
}
|
|
977
986
|
const businessLines$1 = "adyen-kyc-business-lines";
|
|
978
|
-
const styles$
|
|
987
|
+
const styles$1 = {
|
|
979
988
|
businessLines: businessLines$1
|
|
980
989
|
};
|
|
981
990
|
const businessLines = lazy(() => import("./business-lines-DboUCbXw.js"));
|
|
@@ -1010,14 +1019,6 @@ const useDeleteBusinessLine = (options) => {
|
|
|
1010
1019
|
...options
|
|
1011
1020
|
});
|
|
1012
1021
|
};
|
|
1013
|
-
const businessLineModalContent = "adyen-kyc-business-line__modal-content";
|
|
1014
|
-
const businessLineCard = "adyen-kyc-business-line__card";
|
|
1015
|
-
const businessLineActions = "adyen-kyc-business-line__actions";
|
|
1016
|
-
const styles$1 = {
|
|
1017
|
-
businessLineModalContent,
|
|
1018
|
-
businessLineCard,
|
|
1019
|
-
businessLineActions
|
|
1020
|
-
};
|
|
1021
1022
|
const BusinessLineModal = ({
|
|
1022
1023
|
businessLine,
|
|
1023
1024
|
setShowBusinessLineInfo,
|
|
@@ -1032,18 +1033,28 @@ const BusinessLineModal = ({
|
|
|
1032
1033
|
]);
|
|
1033
1034
|
const showLoader = deleteStatus === "pending" || fetchingStatus === "pending";
|
|
1034
1035
|
const [openDeleteModal, setOpenDeleteModal] = useState(false);
|
|
1036
|
+
const blWebAddress = businessLine?.webData?.find((w) => w.webAddress);
|
|
1037
|
+
const blCommerceDisclosureAddress = businessLine?.webData?.find(
|
|
1038
|
+
(w) => w.commerceDisclosureAddress
|
|
1039
|
+
);
|
|
1035
1040
|
const blInfoItems = [
|
|
1036
1041
|
{
|
|
1037
1042
|
term: t(($) => $["salesChannelsParentheticalPlural"], { ns: "common" }),
|
|
1038
1043
|
details: businessLine?.salesChannels?.map((i) => t(($) => $[i], { ns: "businessLines" })).join(", ") ?? ""
|
|
1039
1044
|
},
|
|
1040
|
-
...
|
|
1045
|
+
...blWebAddress ? [
|
|
1041
1046
|
{
|
|
1042
1047
|
term: t(($) => $["businessUrl"]),
|
|
1043
|
-
details:
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1048
|
+
details: /* @__PURE__ */ jsx(
|
|
1049
|
+
Link,
|
|
1050
|
+
{
|
|
1051
|
+
href: blWebAddress.webAddress,
|
|
1052
|
+
external: true,
|
|
1053
|
+
inline: true,
|
|
1054
|
+
children: blWebAddress.webAddress
|
|
1055
|
+
},
|
|
1056
|
+
blWebAddress.webAddress
|
|
1057
|
+
)
|
|
1047
1058
|
}
|
|
1048
1059
|
] : [],
|
|
1049
1060
|
...businessLine?.webDataExemption?.reason ? [
|
|
@@ -1053,6 +1064,23 @@ const BusinessLineModal = ({
|
|
|
1053
1064
|
}
|
|
1054
1065
|
] : []
|
|
1055
1066
|
];
|
|
1067
|
+
const sctaBlInfoItems = [
|
|
1068
|
+
...blCommerceDisclosureAddress ? [
|
|
1069
|
+
{
|
|
1070
|
+
term: t(($) => $["japaneseCommercialDisclosureWebpage"]),
|
|
1071
|
+
details: /* @__PURE__ */ jsx(
|
|
1072
|
+
Link,
|
|
1073
|
+
{
|
|
1074
|
+
href: blCommerceDisclosureAddress.commerceDisclosureAddress,
|
|
1075
|
+
external: true,
|
|
1076
|
+
inline: true,
|
|
1077
|
+
children: blCommerceDisclosureAddress.commerceDisclosureAddress
|
|
1078
|
+
},
|
|
1079
|
+
blCommerceDisclosureAddress.commerceDisclosureAddress
|
|
1080
|
+
)
|
|
1081
|
+
}
|
|
1082
|
+
] : []
|
|
1083
|
+
];
|
|
1056
1084
|
const editBusinessLine = (businessLine2) => {
|
|
1057
1085
|
selectedBusinessLine.value = businessLine2;
|
|
1058
1086
|
setAddingBusinessLines(true);
|
|
@@ -1074,50 +1102,57 @@ const BusinessLineModal = ({
|
|
|
1074
1102
|
setShowBusinessLineInfo(false);
|
|
1075
1103
|
}
|
|
1076
1104
|
};
|
|
1105
|
+
const actions = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1106
|
+
isExperimentEnabled("EnableModifyBusinessLines") && /* @__PURE__ */ jsx(Button, { onClick: () => editBusinessLine(businessLine), children: t(($) => $["edit"], { ns: "common" }) }),
|
|
1107
|
+
isExperimentEnabled("EnableDeleteBusinessLines") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1108
|
+
/* @__PURE__ */ jsx(Button, { onClick: () => setOpenDeleteModal(true), variant: "secondary", children: t(($) => $["delete"], { ns: "common" }) }),
|
|
1109
|
+
openDeleteModal && /* @__PURE__ */ jsx(
|
|
1110
|
+
Confirm,
|
|
1111
|
+
{
|
|
1112
|
+
title: t(($) => $["deleteThisBusinessLine"], { ns: "businessLines" }),
|
|
1113
|
+
confirmText: t(($) => $["delete"]),
|
|
1114
|
+
onConfirm: () => confirmDeleteBusinessLine(businessLine.id),
|
|
1115
|
+
onCancel: () => setOpenDeleteModal(false),
|
|
1116
|
+
description: t(($) => $["thisActionCantBeUndone"]),
|
|
1117
|
+
critical: true
|
|
1118
|
+
}
|
|
1119
|
+
)
|
|
1120
|
+
] })
|
|
1121
|
+
] });
|
|
1077
1122
|
return /* @__PURE__ */ jsx(
|
|
1078
1123
|
Modal,
|
|
1079
1124
|
{
|
|
1080
1125
|
ariaLabel: t(($) => $["businessLine"], { ns: "businessLines" }),
|
|
1081
1126
|
onClose: () => setShowBusinessLineInfo(false),
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
}
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
Card,
|
|
1093
|
-
{
|
|
1094
|
-
title: t(($) => $["paymentProcessingDetails"], { ns: "businessLines" }),
|
|
1095
|
-
background: "secondary",
|
|
1096
|
-
borderless: true,
|
|
1097
|
-
children: /* @__PURE__ */ jsxs("div", { className: styles$1.businessLineCard, children: [
|
|
1098
|
-
/* @__PURE__ */ jsx(Divider, {}),
|
|
1099
|
-
/* @__PURE__ */ jsx(StructuredList, { items: blInfoItems })
|
|
1100
|
-
] })
|
|
1101
|
-
}
|
|
1102
|
-
),
|
|
1103
|
-
/* @__PURE__ */ jsxs("div", { className: styles$1.businessLineActions, children: [
|
|
1104
|
-
isExperimentEnabled("EnableModifyBusinessLines") && /* @__PURE__ */ jsx(Button, { onClick: () => editBusinessLine(businessLine), children: t(($) => $["edit"], { ns: "common" }) }),
|
|
1105
|
-
isExperimentEnabled("EnableDeleteBusinessLines") && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1106
|
-
/* @__PURE__ */ jsx(Button, { onClick: () => setOpenDeleteModal(true), variant: "secondary", children: t(($) => $["delete"], { ns: "common" }) }),
|
|
1107
|
-
openDeleteModal && /* @__PURE__ */ jsx(
|
|
1108
|
-
Confirm,
|
|
1127
|
+
inset: true,
|
|
1128
|
+
children: /* @__PURE__ */ jsx(
|
|
1129
|
+
DetailViewLayout,
|
|
1130
|
+
{
|
|
1131
|
+
title: t(($) => $["businessLine"], { ns: "businessLines" }),
|
|
1132
|
+
compact: true,
|
|
1133
|
+
actions,
|
|
1134
|
+
children: showLoader ? /* @__PURE__ */ jsx(Loader, { size: "large" }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
1135
|
+
/* @__PURE__ */ jsx(
|
|
1136
|
+
ListItem,
|
|
1109
1137
|
{
|
|
1110
|
-
title:
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
onCancel: () => setOpenDeleteModal(false),
|
|
1114
|
-
description: t(($) => $["thisActionCantBeUndone"]),
|
|
1115
|
-
critical: true
|
|
1138
|
+
title: `${businessLine?.industryCode} - ${businessLine?.industryCodeDescription}`,
|
|
1139
|
+
description: `${businessLine?.salesChannels?.map((i) => t(($) => $[i], { ns: "businessLines" })).join(", ")}`,
|
|
1140
|
+
avatar: { iconName: "bag", circle: true }
|
|
1116
1141
|
}
|
|
1117
|
-
)
|
|
1142
|
+
),
|
|
1143
|
+
/* @__PURE__ */ jsx(Card, { background: "secondary", borderless: true, children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1144
|
+
/* @__PURE__ */ jsx(Typography, { variant: "title", children: t(($) => $["paymentProcessingDetails"], { ns: "businessLines" }) }),
|
|
1145
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
1146
|
+
/* @__PURE__ */ jsx(StructuredList, { items: blInfoItems })
|
|
1147
|
+
] }) }),
|
|
1148
|
+
blCommerceDisclosureAddress && /* @__PURE__ */ jsx(Card, { background: "secondary", borderless: true, children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
1149
|
+
/* @__PURE__ */ jsx(Typography, { variant: "title", children: t(($) => $["japaneseCommercialDisclosure"], { ns: "common" }) }),
|
|
1150
|
+
/* @__PURE__ */ jsx(Divider, {}),
|
|
1151
|
+
/* @__PURE__ */ jsx(StructuredList, { items: sctaBlInfoItems })
|
|
1152
|
+
] }) })
|
|
1118
1153
|
] })
|
|
1119
|
-
|
|
1120
|
-
|
|
1154
|
+
}
|
|
1155
|
+
)
|
|
1121
1156
|
}
|
|
1122
1157
|
);
|
|
1123
1158
|
};
|
|
@@ -1224,6 +1259,7 @@ function BusinessLinesDropin({
|
|
|
1224
1259
|
}) {
|
|
1225
1260
|
const capabilityProblems = useCapabilityProblems();
|
|
1226
1261
|
const { showToast } = useToastContext();
|
|
1262
|
+
const queryClient = useQueryClient();
|
|
1227
1263
|
const { mutateAsync: createBusinessLine, status: createBusinessLineStatus } = useCreateBusinessLine();
|
|
1228
1264
|
const { mutateAsync: updateBusinessLine, status: updateBusinessLineStatus } = useUpdateBusinessLine();
|
|
1229
1265
|
const {
|
|
@@ -1344,15 +1380,13 @@ function BusinessLinesDropin({
|
|
|
1344
1380
|
return [.../* @__PURE__ */ new Set([...existingSalesChannels, ...selectedSalesChannels ?? []])];
|
|
1345
1381
|
}, [existingSalesChannels, selectedSalesChannels]);
|
|
1346
1382
|
const isAddingNewSalesChannels = hasBusinessLineData && activeForm.formId === "salesChannelsForm" && hasNewSalesChannels;
|
|
1347
|
-
|
|
1348
|
-
enabled:
|
|
1383
|
+
usePciQuestionnaireList({
|
|
1384
|
+
enabled: false
|
|
1349
1385
|
});
|
|
1350
|
-
const
|
|
1351
|
-
const shouldCheckPciStatus = hasPriorPciSignature && isAddingNewSalesChannels;
|
|
1352
|
-
const { data: pciStatus } = usePciStatus(
|
|
1386
|
+
const { isLoading: pciStatusLoading } = usePciStatus(
|
|
1353
1387
|
{ additionalSalesChannels: allSalesChannels },
|
|
1354
1388
|
{
|
|
1355
|
-
enabled:
|
|
1389
|
+
enabled: false
|
|
1356
1390
|
}
|
|
1357
1391
|
);
|
|
1358
1392
|
const handleCancelClick = () => {
|
|
@@ -1364,10 +1398,21 @@ function BusinessLinesDropin({
|
|
|
1364
1398
|
selectedBusinessLine.value = void 0;
|
|
1365
1399
|
clearBusinessLines();
|
|
1366
1400
|
};
|
|
1367
|
-
const overrideNextClick = () => {
|
|
1368
|
-
if (
|
|
1369
|
-
|
|
1370
|
-
|
|
1401
|
+
const overrideNextClick = async () => {
|
|
1402
|
+
if (!activeForm.isValid) return handleNextClick();
|
|
1403
|
+
if (isAddingNewSalesChannels) {
|
|
1404
|
+
const questionnaireList = await queryClient.fetchQuery({
|
|
1405
|
+
queryKey: ["pciQuestionnaireList"]
|
|
1406
|
+
});
|
|
1407
|
+
if (questionnaireList?.data?.length) {
|
|
1408
|
+
const pciResponse = await queryClient.fetchQuery({
|
|
1409
|
+
queryKey: ["pciStatus", { additionalSalesChannels: allSalesChannels }]
|
|
1410
|
+
});
|
|
1411
|
+
if (pciResponse?.signingRequired === true) {
|
|
1412
|
+
shouldSignNewPci.value = true;
|
|
1413
|
+
return;
|
|
1414
|
+
}
|
|
1415
|
+
}
|
|
1371
1416
|
}
|
|
1372
1417
|
return handleNextClick();
|
|
1373
1418
|
};
|
|
@@ -1386,11 +1431,13 @@ function BusinessLinesDropin({
|
|
|
1386
1431
|
currentStep: steps.current,
|
|
1387
1432
|
totalSteps: steps.total,
|
|
1388
1433
|
forms,
|
|
1434
|
+
activeForm,
|
|
1389
1435
|
gotoFormByFormIndex,
|
|
1390
1436
|
handleNextClick: overrideNextClick,
|
|
1391
1437
|
handleBackClick,
|
|
1392
1438
|
handleCancelClick,
|
|
1393
1439
|
loadingStatus: showLoader ? "loading" : "success",
|
|
1440
|
+
nextButtonLoading: isAddingNewSalesChannels && pciStatusLoading,
|
|
1394
1441
|
children: /* @__PURE__ */ jsx(
|
|
1395
1442
|
BusinessLines,
|
|
1396
1443
|
{
|
|
@@ -1420,13 +1467,13 @@ function BusinessLinesDropin({
|
|
|
1420
1467
|
}
|
|
1421
1468
|
);
|
|
1422
1469
|
};
|
|
1423
|
-
return /* @__PURE__ */ jsx("div", { className: styles$
|
|
1470
|
+
return /* @__PURE__ */ jsx("div", { className: styles$1.businessLines, children: renderContent() });
|
|
1424
1471
|
}
|
|
1425
1472
|
const RootBusinessLinesPage = ({ handleHomeClick }) => {
|
|
1426
1473
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
1427
1474
|
const { i18n } = useTranslation();
|
|
1428
1475
|
addResourceBundles(i18n, [
|
|
1429
|
-
{ ns: "businessLines", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-
|
|
1476
|
+
{ ns: "businessLines", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-CEipapl4.js"), "../language/cs-CZ.json": () => import("./cs-CZ-BHbWTH_v.js"), "../language/da-DK.json": () => import("./da-DK-vcVNQJbX.js"), "../language/de-DE.json": () => import("./de-DE-CWEW2yqg.js"), "../language/el-GR.json": () => import("./el-GR-B78b9rSH.js"), "../language/en-US.json": () => import("./en-US-AgtwE4Fl.js"), "../language/es-ES.json": () => import("./es-ES-CDgjGql5.js"), "../language/et-EE.json": () => import("./et-EE-D0PMC4ie.js"), "../language/fi-FI.json": () => import("./fi-FI-CsZlDJFb.js"), "../language/fr-FR.json": () => import("./fr-FR-VoxPkXSc.js"), "../language/hr-HR.json": () => import("./hr-HR-CbdP2tk-.js"), "../language/hu-HU.json": () => import("./hu-HU-pFpTvMiD.js"), "../language/it-IT.json": () => import("./it-IT-DZjw9LNC.js"), "../language/ja-JP.json": () => import("./ja-JP-BqluCflj.js"), "../language/lt-LT.json": () => import("./lt-LT-CXw4ywLM.js"), "../language/lv-LV.json": () => import("./lv-LV-DYqBaW2-.js"), "../language/nl-NL.json": () => import("./nl-NL-lcNM54vV.js"), "../language/no-NO.json": () => import("./no-NO-CTrVITNu.js"), "../language/pl-PL.json": () => import("./pl-PL-CErRPlR2.js"), "../language/pt-BR.json": () => import("./pt-BR-DA44Wgbt.js"), "../language/pt-PT.json": () => import("./pt-PT-PIiikho9.js"), "../language/ro-RO.json": () => import("./ro-RO-Bv9hZxwD.js"), "../language/sk-SK.json": () => import("./sk-SK-ChVwlbp0.js"), "../language/sl-SI.json": () => import("./sl-SI-DZHePXbK.js"), "../language/sv-SE.json": () => import("./sv-SE-Dq56vGlB.js") }), `../language/${lang}.json`, 3) }
|
|
1430
1477
|
]);
|
|
1431
1478
|
if (!rootLe) {
|
|
1432
1479
|
return /* @__PURE__ */ jsx(Loader, {});
|