@adyen/kyc-components 4.18.0 → 4.19.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/{Accordion-IXKjwyLD.js → Accordion-BnhH5-eC.js} +1 -1
- package/dist/{AccountSetupRejected-BBkIzStE.js → AccountSetupRejected-BVzz6Scm.js} +2 -2
- package/dist/{AdaptiveWorkflow-BeNeSJmr.js → AdaptiveWorkflow-DsZ_wY_H.js} +31 -34
- package/dist/{AdaptiveWorkflowComponent-vGohaG9V.js → AdaptiveWorkflowComponent-1LmhvzA8.js} +56 -56
- package/dist/{Address-pRy7yAyT.js → Address-Dn9YYuVv.js} +7 -7
- package/dist/{AddressField-D5VvYpTn.js → AddressField-BLlc_T5f.js} +11 -14
- package/dist/{Avatar-CdBNstmD.js → Avatar-Y_RdG_YY.js} +1 -1
- package/dist/{BusinessFinancingDropin-BVJmBiV-.js → BusinessFinancingDropin-BJ7Z_6_q.js} +31 -36
- package/dist/{BusinessFinancingPage-D6Ltqocq.js → BusinessFinancingPage-C72fEfR8.js} +32 -32
- package/dist/{BusinessTypeSelectionPage-COGrE8in.js → BusinessTypeSelectionPage-CJT4_LdC.js} +14 -15
- package/dist/{Button-i8I2dHP8.js → Button-BuhgDsyo.js} +1 -1
- package/dist/Checkbox-CFN5ywvv.js +108 -0
- package/dist/{CompanyRegistrationNumberTypeSelector-Cse5eWmF.js → CompanyRegistrationNumberTypeSelector-Dw2BkLur.js} +8 -8
- package/dist/{ContactDetails-Bg6E-Qdo.js → ContactDetails-Bi_d3c4V.js} +7 -8
- package/dist/{ContextGuidance-OW20JTmA.js → ContextGuidance-D7YPJhH5.js} +2 -2
- package/dist/CountryField-CEttz1qx.js +1653 -0
- package/dist/{Currency-BB-aCS9R.js → Currency-D3ooH-P1.js} +8 -9
- package/dist/{CustomerSupport-CxLYgFMf.js → CustomerSupport-BPkPpm4S.js} +14 -15
- package/dist/{DataConflictsModal-Din0HvnQ.js → DataConflictsModal-CjK5meAj.js} +7 -7
- package/dist/{DebugModal-CCmbbYz8.js → DebugModal-BdzRooB8.js} +11 -12
- package/dist/{DecisionMakerDetails-CfQw5zLh.js → DecisionMakerDetails-CEvexevf.js} +16 -17
- package/dist/{DecisionMakerDetailsPage-DKdZRCWu.js → DecisionMakerDetailsPage-PdJIWA0L.js} +35 -35
- package/dist/{DecisionMakers-SZrdoYjV.js → DecisionMakers-B62TqNnC.js} +43 -43
- package/dist/{Dropzone-VbRNXGWC.js → Dropzone-VfjqDlA_.js} +7 -7
- package/dist/{EmbeddedStatus-g37gc_ic.js → EmbeddedStatus-sHJnhw3K.js} +4 -4
- package/dist/{EndStateLayout-CBRHUXyY.js → EndStateLayout-CddZpAGD.js} +2 -2
- package/dist/{EntityAssociation-zNH_hlni.js → EntityAssociation-DsQNaCo7.js} +7 -7
- package/dist/{ErrorPanel-BUnSs30r.js → ErrorPanel-C51kA_mU.js} +4 -4
- package/dist/GlobalEntryModal-rYmoNH8G.js +188 -0
- package/dist/GlobalEntryPage-CeBpyE1f.js +74 -0
- package/dist/{unincorporated-partnership-nnTW3FnG.js → Image-Dc5Xg1_Y.js} +3 -10
- package/dist/{Individual.rules-Caf9UMUo.js → Individual.rules-CE8liYua.js} +4 -4
- package/dist/{IndividualDropin-dtWJoFtm.js → IndividualDropin-BGY5Ddrh.js} +47 -54
- package/dist/{InputDate-CxzAaaCm.js → InputDate-Cp2ga0F5.js} +2 -2
- package/dist/{InputText-CQcWyZ8_.js → InputText-CRkApOKK.js} +3 -3
- package/dist/{Introduction-D_hA5jmK.js → Introduction-DZ-ov19S.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-UOdB2Gdf.js → InvitedDecisionMakerComponent-KwRWIgOY.js} +67 -67
- package/dist/{JpAddress-Bzh05zSM.js → JpAddress-DA4HeKHD.js} +13 -13
- package/dist/{JpAddress.module-Bdx0E9ys.js → JpAddress.module-h_ZcUDUu.js} +4 -4
- package/dist/{JpAddressFields-BcNA2qQ-.js → JpAddressFields-BG4Hvw6r.js} +10 -10
- package/dist/{LegalCompanyNameField-B4tZnTsz.js → LegalCompanyNameField-RnzsmUKo.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BJdt2arC.js → LegalRepresentativeDetailsPage-DVYi8ja1.js} +33 -33
- package/dist/{Link-JFzfaUOa.js → Link-PH3F7iTO.js} +1 -1
- package/dist/{ListItem-BnVTcObB.js → ListItem-B-gDVdRO.js} +2 -2
- package/dist/MX-CXUYOKFF.js +20 -0
- package/dist/{MaskedInput-fg7rPWNN.js → MaskedInput-BK38onJ9.js} +6 -6
- package/dist/{Modal-ByJare7m.js → Modal-BYdlsXkf.js} +1 -1
- package/dist/{Name-Cw7gZ538.js → Name-CnahYmZE.js} +5 -5
- package/dist/{NewSummary-01MQcP8O.js → NewSummary-RLsN58Mb.js} +7 -7
- package/dist/{PatriotActDisclosure-EIRUow5b.js → PatriotActDisclosure-CGU1K5gU.js} +14 -16
- package/dist/{PayoutDetailsDropin-Ba7MTkCv.js → PayoutDetailsDropin-CyF7UckP.js} +31 -40
- package/dist/{PayoutDetailsPage-rpkLlwhy.js → PayoutDetailsPage-D54T0cTR.js} +9 -9
- package/dist/{RadioGroup-Bt1Dv_S8.js → RadioGroup-lkTq-fXj.js} +4 -4
- package/dist/{Review-CgR-Yydj.js → Review-CQP_ivDp.js} +8 -8
- package/dist/RootBusinessDetailsPage-74wy-iuF.js +68 -0
- package/dist/{RootBusinessLinesPage-BMT3gr2J.js → RootBusinessLinesPage-DdbHs3i6.js} +30 -36
- package/dist/{RootIndividualDetailsPage-D3Hm7OrC.js → RootIndividualDetailsPage-CRiGz1L-.js} +33 -33
- package/dist/{Select-D4oEtS2n.js → Select-C2axJYZG.js} +322 -9
- package/dist/{SignPCIComponent-g8v3tteD.js → SignPCIComponent-2jkpTNie.js} +40 -42
- package/dist/{SingpassSelection-Bx4GOfIq.js → SingpassSelection-C0Nj8agM.js} +6 -6
- package/dist/{SoleProprietorshipPage-CG51YTEA.js → SoleProprietorshipPage-DL9KxFfM.js} +34 -34
- package/dist/{SourceOfFundsPage-BJKj0z9v.js → SourceOfFundsPage-CoriFRrS.js} +33 -39
- package/dist/{StructuredList-Ci4Ut4E5.js → StructuredList-Mj-OPN9u.js} +71 -3
- package/dist/{TaskListItem-D54ulnyc.js → TaskListItem-DOnEqpoq.js} +11 -11
- package/dist/{TaskVerificationStatus-CKHPTEpH.js → TaskVerificationStatus-ITLSeoau.js} +1 -1
- package/dist/{TaxReportingDropin-DgB6Uo-8.js → TaxReportingDropin-BnEktotO.js} +18 -19
- package/dist/{TermsOfServiceManagement-B73EAUQT.js → TermsOfServiceManagement-CY49Ivu1.js} +41 -45
- package/dist/{TextArea-BUx3yuMJ.js → TextArea-BzCbFjRp.js} +4 -4
- package/dist/{TrustDetailsPage-DbRZo3eo.js → TrustDetailsPage-BOt9PbYw.js} +33 -38
- package/dist/{TrustMemberCompanyPage-fjaHnVnu.js → TrustMemberCompanyPage-D36IOylX.js} +35 -35
- package/dist/{TrustMemberIndividualPage-ChdfyypX.js → TrustMemberIndividualPage-aAZXiZKb.js} +33 -33
- package/dist/{TrustMemberRoleAndTypePage-4FiocM2Q.js → TrustMemberRoleAndTypePage-C9zB9BEk.js} +17 -22
- package/dist/{TrustMembersOverview-BfW7xcig.js → TrustMembersOverview-DxAuj55H.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-CoxFU8hC.js → UnincorporatedPartnershipIndividualPage-C4jwWyYn.js} +33 -33
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-qtLLtEBZ.js → UnincorporatedPartnershipMemberCompanyPage-0JVxcpB4.js} +35 -35
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CcrbCZHP.js → UnincorporatedPartnershipMemberRoleAndTypePage-DfxG-RyJ.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-BcIX_dew.js → UnincorporatedPartnershipMembersOverview-DecZD9DL.js} +9 -9
- package/dist/{VerificationErrorAlert-CBkiCj7f.js → VerificationErrorAlert-kLh424Dx.js} +5 -5
- package/dist/{accountHolderUtils-BRcGuXPg.js → accountHolderUtils-DqrHbaM7.js} +1 -1
- package/dist/adyen-business-financing.js +33 -33
- package/dist/adyen-individual-configuration.js +59 -59
- package/dist/adyen-individual-status.js +33 -33
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +83 -82
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +32 -32
- package/dist/adyen-transfer-instrument-management.js +39 -40
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{TileGroup-PzJay6GP.js → bafinUtils-BnTI4Ice.js} +111 -5
- package/dist/{bg-BG-kWtPqE0Y.js → bg-BG-BXAB4Qsj.js} +2 -2
- package/dist/bg-BG-BkIvSbsH.js +7 -0
- package/dist/{bg-BG-DcW6QkFZ.js → bg-BG-DTGU1aVs.js} +6 -2
- package/dist/bg-BG-DbS559bK.js +7 -0
- package/dist/bg-BG-Smu9r9Kp.js +13 -0
- package/dist/{constants-4O_2-mb6.js → constants-f8C0SAkf.js} +5 -6
- package/dist/cs-CZ-4yvBEVL0.js +7 -0
- package/dist/{cs-CZ-BbNA0Bfn.js → cs-CZ-9tDZSfxe.js} +6 -2
- package/dist/cs-CZ-BQ5B0-Kt.js +13 -0
- package/dist/cs-CZ-CPvgcrDs.js +7 -0
- package/dist/{cs-CZ-C4gChMCC.js → cs-CZ-DG5rPvy2.js} +2 -2
- package/dist/{da-DK-CI1yBdPD.js → da-DK-B04gegkM.js} +6 -2
- package/dist/{da-DK-Bfi-eUhB.js → da-DK-BnW-O75l.js} +2 -2
- package/dist/da-DK-CXAIXO3c.js +13 -0
- package/dist/da-DK-D3mbpcHG.js +7 -0
- package/dist/da-DK-D5969QKP.js +7 -0
- package/dist/{de-DE-BuV4qgKM.js → de-DE-BvxSDtLA.js} +6 -2
- package/dist/de-DE-D6R-XC2F.js +7 -0
- package/dist/de-DE-DFQGGPCj.js +13 -0
- package/dist/{de-DE-DKSWXTNm.js → de-DE-DUiPzmSc.js} +2 -2
- package/dist/de-DE-uDUBu-3n.js +7 -0
- package/dist/{types-Cwq1JAWT.js → debugStore-DpSgCNGn.js} +11 -2
- package/dist/{el-GR-C4waexVM.js → el-GR-1n3FJpd3.js} +2 -2
- package/dist/el-GR-CedmhUFh.js +7 -0
- package/dist/{el-GR-tnyJOS2Y.js → el-GR-DEBCgQrC.js} +6 -2
- package/dist/el-GR-DEBvBgI-.js +13 -0
- package/dist/el-GR-DWh7gn7M.js +7 -0
- package/dist/en-US-BV2Gye3t.js +7 -0
- package/dist/en-US-CqjOvqxV.js +7 -0
- package/dist/{es-ES-CCk0CPW1.js → es-ES-2b5zl9Dh.js} +6 -2
- package/dist/es-ES-C7XCTACS.js +7 -0
- package/dist/{es-ES-BNOsR44t.js → es-ES-Cp45mlyV.js} +2 -2
- package/dist/es-ES-DTUHhE47.js +7 -0
- package/dist/es-ES-_qbfha1o.js +13 -0
- package/dist/{es-LA-svZ9JWfs.js → es-LA-CE8hE_Qb.js} +6 -2
- package/dist/es-LA-Cyf48j4P.js +7 -0
- package/dist/es-LA-DF0v3VMe.js +13 -0
- package/dist/{es-LA-BQoC1xVD.js → es-LA-De_gTMKb.js} +2 -2
- package/dist/es-LA-DlL8vCjJ.js +7 -0
- package/dist/{et-EE-nB00sVxj.js → et-EE-B4czzgF8.js} +2 -2
- package/dist/et-EE-DqhEsLik.js +7 -0
- package/dist/{et-EE-4OTBQhPM.js → et-EE-OAYKzRjG.js} +2 -2
- package/dist/et-EE-evCiUrFW.js +13 -0
- package/dist/{et-EE-Ykuzi3IN.js → et-EE-yEWgHoyl.js} +6 -2
- package/dist/{fi-FI-BfcDfpuq.js → fi-FI-BRaWGHEa.js} +6 -2
- package/dist/fi-FI-BTG87BwH.js +13 -0
- package/dist/fi-FI-Cdof5NRG.js +7 -0
- package/dist/{fi-FI-11WMt6xZ.js → fi-FI-D08MUkuM.js} +2 -2
- package/dist/fi-FI-RfGqWbnB.js +7 -0
- package/dist/{process-field-configurations-DBtjrbif.js → form-rules-wh_oE1AN.js} +86 -6
- package/dist/{fr-FR-DZ3x24wa.js → fr-FR-B1fQcJnJ.js} +6 -2
- package/dist/{fr-FR-CTX8eIfK.js → fr-FR-BxDpVfWO.js} +2 -2
- package/dist/fr-FR-DIiBHkhs.js +13 -0
- package/dist/fr-FR-NOULV1vy.js +7 -0
- package/dist/fr-FR-zDxTr2D3.js +7 -0
- package/dist/{getProblemsForEntity-ubvE1Px7.js → getProblemsForEntity-set4Krmx.js} +2 -2
- package/dist/hr-HR-2h3d5-q3.js +7 -0
- package/dist/{hr-HR-crREB4Gm.js → hr-HR-CiE3y0Ub.js} +6 -2
- package/dist/{hr-HR-q4LEknkW.js → hr-HR-DGQMquDg.js} +2 -2
- package/dist/hr-HR-DPjuJ54x.js +7 -0
- package/dist/hr-HR-DofgeWWO.js +13 -0
- package/dist/{http-8qgzqVqk.js → http-CFac2y4i.js} +1 -1
- package/dist/{hu-HU-D6LVf95k.js → hu-HU-Eofp7khl.js} +2 -2
- package/dist/hu-HU-FdLZGnBz.js +13 -0
- package/dist/{hu-HU-DsUOhM2K.js → hu-HU-VLUIAFMp.js} +2 -2
- package/dist/{hu-HU-CwugDrK-.js → hu-HU-bRcefVUd.js} +6 -2
- package/dist/hu-HU-hB61p4H9.js +7 -0
- package/dist/{it-IT-DmJ2fsTy.js → it-IT-B-nXU1YK.js} +6 -2
- package/dist/it-IT-BMXQzE0P.js +7 -0
- package/dist/{it-IT-COvAChQK.js → it-IT-CD7NJtJa.js} +2 -2
- package/dist/it-IT-CWIAGNlE.js +7 -0
- package/dist/it-IT-CXgZZgyU.js +13 -0
- package/dist/ja-JP-BuFZko8b.js +7 -0
- package/dist/ja-JP-C1c2UPpy.js +7 -0
- package/dist/{ja-JP-Ct_9QX6z.js → ja-JP-DX2RsV88.js} +6 -2
- package/dist/ja-JP-Yi2wExJE.js +13 -0
- package/dist/{ja-JP-qNISvG1u.js → ja-JP-YvXztswF.js} +2 -2
- package/dist/{localizeDateString-Bmx3yBcR.js → localizeDateString-BRB4gPDZ.js} +1 -1
- package/dist/lt-LT-BZ6seLuB.js +13 -0
- package/dist/{lt-LT-DkHCYjtT.js → lt-LT-Bzv_v-Qg.js} +6 -2
- package/dist/lt-LT-C62dFtWW.js +7 -0
- package/dist/{lt-LT-BZAM9Txq.js → lt-LT-Cjx4H-0R.js} +2 -2
- package/dist/lt-LT-D4raqCUa.js +7 -0
- package/dist/lv-LV-CMYrAWqu.js +13 -0
- package/dist/{lv-LV-CrmNCJJK.js → lv-LV-Ckf37gXo.js} +2 -2
- package/dist/lv-LV-DBms129k.js +7 -0
- package/dist/{lv-LV-D7eJdsac.js → lv-LV-DVv2mhEv.js} +6 -2
- package/dist/lv-LV-W0I-UUyj.js +7 -0
- package/dist/{mapExistingFile-BvFf01k6.js → mapExistingFile-BOXehUNN.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DHL5chu8.js → mapJpAddressSchemaToAddressLocalizations-ClMxibP5.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BeR7ESyx.js → mapLegalEntityToIndividualSchema-CI0cH-k5.js} +8 -8
- package/dist/{mapTransferInstrumentToPayoutAccount-2iWuaqS_.js → mapTransferInstrumentToPayoutAccount-DAXQcZKf.js} +3 -3
- package/dist/nl-NL-C9HoBicG.js +7 -0
- package/dist/nl-NL-CiH1raQa.js +13 -0
- package/dist/{nl-NL-D-rQ6aIY.js → nl-NL-DFHAkUK3.js} +2 -2
- package/dist/{nl-NL-BVbkn6Cc.js → nl-NL-DwrCD0Bp.js} +6 -2
- package/dist/nl-NL-UhYf45fo.js +7 -0
- package/dist/{no-NO-m32g5fSG.js → no-NO-B6frLiko.js} +2 -2
- package/dist/no-NO-Bo9rlROU.js +7 -0
- package/dist/no-NO-Ce2vzrp7.js +13 -0
- package/dist/{no-NO-DKa4b11A.js → no-NO-ClSO9-BH.js} +6 -2
- package/dist/no-NO-DN7Ovyir.js +7 -0
- package/dist/{omitObscuredFieldsIfUnchanged-B8KqUjNk.js → omitObscuredFieldsIfUnchanged-P2CVFokX.js} +2 -2
- package/dist/{patternValidators-DxkAZhsA.js → patternValidators-BXreB-rx.js} +1 -1
- package/dist/pl-PL-BmiDQi18.js +7 -0
- package/dist/{pl-PL-a3bZNR8A.js → pl-PL-DWH2wPZx.js} +6 -2
- package/dist/{pl-PL-CPw2fm9P.js → pl-PL-DnYkTdjO.js} +2 -2
- package/dist/pl-PL-STp7eeFE.js +7 -0
- package/dist/pl-PL-aErZF5Xz.js +13 -0
- package/dist/{processCapabilities-C2kMryYn.js → processCapabilities-zti_0yUx.js} +3 -1
- package/dist/{processValidationErrors-D9l2eO9k.js → processValidationErrors-Bm_TOvWG.js} +3 -3
- package/dist/{pt-BR-D1_qNWjQ.js → pt-BR-65dQv8uO.js} +2 -2
- package/dist/pt-BR-CFGpH3BW.js +7 -0
- package/dist/pt-BR-DXGEP6IP.js +7 -0
- package/dist/pt-BR-hRRebYjo.js +13 -0
- package/dist/{pt-BR-iKANHYsk.js → pt-BR-iYXbhMqT.js} +6 -2
- package/dist/pt-PT-BHR4CEnv.js +7 -0
- package/dist/pt-PT-BXIKj_3F.js +7 -0
- package/dist/{pt-PT-DN5Kzv0P.js → pt-PT-CNqZ8c_1.js} +6 -2
- package/dist/{pt-PT-DsN17CwV.js → pt-PT-D0fXeW1f.js} +2 -2
- package/dist/pt-PT-UAIvemf-.js +13 -0
- package/dist/{resolveEnvironment-DoST1OsT.js → resolveEnvironment-DEX5KqEv.js} +43 -38
- package/dist/ro-RO-BJeKitCz.js +13 -0
- package/dist/{ro-RO-BRa0uLv-.js → ro-RO-CNj95qQn.js} +2 -2
- package/dist/ro-RO-D4TQUwVB.js +7 -0
- package/dist/{ro-RO-HROrtm3u.js → ro-RO-DcHQ--3j.js} +6 -2
- package/dist/ro-RO-ni-ZNqXU.js +7 -0
- package/dist/{sk-SK-BdncFi12.js → sk-SK-C0x9Vs2X.js} +2 -2
- package/dist/sk-SK-CszMszV5.js +7 -0
- package/dist/{sk-SK-BHvTY7sQ.js → sk-SK-D8_n1xzc.js} +6 -2
- package/dist/sk-SK-DQAGAOJW.js +7 -0
- package/dist/sk-SK-ztSYyXUE.js +13 -0
- package/dist/sl-SI-B-MLX0nT.js +7 -0
- package/dist/sl-SI-BY4TzP-F.js +13 -0
- package/dist/{sl-SI-Drd_ptUm.js → sl-SI-BikBCOJK.js} +2 -2
- package/dist/{sl-SI-DgVD1kZK.js → sl-SI-BlhEijpT.js} +6 -2
- package/dist/sl-SI-DOAJBgQV.js +7 -0
- package/dist/style.css +345 -317
- package/dist/styles-DYaAeu4q.js +345 -317
- package/dist/sv-SE--LlaHl85.js +7 -0
- package/dist/{sv-SE-oLc1R4YI.js → sv-SE-BGP9Lmku.js} +2 -2
- package/dist/sv-SE-CNQCI2nX.js +7 -0
- package/dist/sv-SE-CrUbxniG.js +13 -0
- package/dist/{sv-SE-Dn9j5Ykd.js → sv-SE-DWQAUW9A.js} +6 -2
- package/dist/{translation-BYvhW5zA.js → translation-CcKrUksA.js} +10 -4
- package/dist/types/api/companyDataSet/companyDataset.types.d.ts +1 -3
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +1 -0
- package/dist/types/components/Business/forms/rules.d.ts +4 -2
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +12 -0
- package/dist/types/components/GlobalEntry/constants.d.ts +14 -0
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +7 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +3 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntry.d.ts +6 -0
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +4 -0
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +4 -0
- package/dist/types/components/GlobalEntry/utils.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Checkbox/Checkbox.d.ts +1 -2
- package/dist/types/context/SettingsContext/types.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -1
- package/dist/types/context/ToggleContext/types.d.ts +5 -0
- package/dist/types/core/models/api/legal-arrangement.d.ts +1 -0
- package/dist/types/core/models/api/organization.d.ts +2 -1
- package/dist/types/types/form-rules.d.ts +2 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-KjTYEnAG.js → types-lzI_sUwT.js} +1 -1
- package/dist/unincorporated-partnership-DNTK5Y_5.js +11 -0
- package/dist/{useAssociatedLegalEntity-CkuvFV-D.js → useAssociatedLegalEntity-DB8HCSwp.js} +2 -2
- package/dist/{useBusinessDetailsData-ZmBKQqoD.js → useBusinessDetailsData-DJxoXaI7.js} +123 -118
- package/dist/{useBusinessLines-BFsRoAAj.js → useBusinessLines-CfQYLNkw.js} +1 -1
- package/dist/{useCanSeeIntroduction-BV78oSLN.js → useCanSeeIntroduction-CMh-srNo.js} +3 -3
- package/dist/{useCreateLegalEntity-CoBr-K0N.js → useCreateLegalEntity-CVBjJUw_.js} +1 -1
- package/dist/{useDataMissingRemediations-BzbA8Mu4.js → useDataMissingRemediations-BEdoAjt3.js} +2 -2
- package/dist/{useForm-CV0UezXM.js → useForm-BV6TtEpQ.js} +4 -4
- package/dist/{invalidateRootLegalEntity-CNKlzaEg.js → useId-BiYSHcau.js} +28 -6
- package/dist/{useLegalEntity-CtlUQv_J.js → useLegalEntity-BqO7Fmt0.js} +1 -1
- package/dist/{useNavigate-C32tng3x.js → useNavigate-BbaMx4B6.js} +33 -33
- package/dist/{useOnboardingStatus-BlXlrSAS.js → useOnboardingStatus-Bg1z2ftv.js} +1 -1
- package/dist/{usePciQuestionnaireList-CbkNC_Ye.js → usePciQuestionnaireList-Dq1w684P.js} +1 -1
- package/dist/{useSalesChannels-CQjvFAb2.js → useSalesChannels-D66W1KV8.js} +4 -4
- package/dist/{useScenarios-DeLWDtIg.js → useScenarios-BunWDxgO.js} +1 -1
- package/dist/{useTaskLandedEvent-BiIxm8IU.js → useTaskLandedEvent-BTVaABDA.js} +1 -1
- package/dist/{useTaskStatus-wrAxqtIR.js → useTaskStatus-B_-IRF4H.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D1_ECrkO.js → useTermsOfServiceStatus-CGIpBA0U.js} +1 -1
- package/dist/{useTrustMembers-DsHD7BN-.js → useTrustMembers-DExoLajS.js} +4 -4
- package/dist/{useUnincorporatedPartnershipMembers-B5WCX6yK.js → useUnincorporatedPartnershipMembers-DgD91qBf.js} +4 -4
- package/dist/{useUpdateBusinessLines-Cncate8L.js → useUpdateBusinessLines-C2xW-32U.js} +1 -1
- package/dist/{useUpdateLegalEntity-Bk3h9Ga3.js → useUpdateLegalEntity-CavZl01k.js} +3 -3
- package/dist/{utils-UMZuwGLj.js → utils-BZ6sjmH0.js} +5 -5
- package/dist/{utils-C_W1-emm.js → utils-Bu9Q872y.js} +7 -7
- package/dist/{utils-BIsRIG8_.js → utils-CxPOLLKk.js} +2 -2
- package/dist/{utils-Cjauzs_k.js → utils-wOuhjMhJ.js} +13 -14
- package/dist/{validate-CMxq61UU.js → validate-K01plHbc.js} +5 -5
- package/dist/{validate-DZs3J_LS.js → validate-XXwQLqzu.js} +1 -1
- package/dist/{validateExtractionResult-BkzUg6_Q.js → validateExtractionResult-BkuHB6PK.js} +10 -11
- package/dist/{validationError-B33RQfsy.js → validationError-DZqoMG3g.js} +2 -2
- package/package.json +1 -1
- package/dist/Checkbox-DdEBnXOB.js +0 -55
- package/dist/Confirm-DcqMV7rd.js +0 -75
- package/dist/CountryField-B4jNKNdQ.js +0 -37
- package/dist/Field-Dg-2A6bG.js +0 -155
- package/dist/GlobalEntryModal-CjuK78f0.js +0 -34
- package/dist/GlobalEntryPage-DRvb0gLz.js +0 -44
- package/dist/LandingLayout-iZpW1Vsx.js +0 -81
- package/dist/MaybeModal-evIPP9Uh.js +0 -24
- package/dist/ProgressBar-DWFxLMUA.js +0 -38
- package/dist/RootBusinessDetailsPage-D-aCSPPF.js +0 -68
- package/dist/Summary-DPMBCqZT.js +0 -234
- package/dist/bafinUtils-CbfyDBkh.js +0 -112
- package/dist/bg-BG-DWtVZckB.js +0 -7
- package/dist/bg-BG-VIyyeYUh.js +0 -7
- package/dist/cs-CZ-D8nnXFEh.js +0 -7
- package/dist/cs-CZ-DeM0O93X.js +0 -7
- package/dist/da-DK-Cq-1LB6T.js +0 -7
- package/dist/da-DK-DrYRErQi.js +0 -7
- package/dist/de-DE-Bc55gBv4.js +0 -7
- package/dist/de-DE-CNHKj2ar.js +0 -7
- package/dist/debouncedInputEvent-Fwwp_K_-.js +0 -54
- package/dist/debugStore-Dwn1FXrh.js +0 -9
- package/dist/el-GR-Cr-3NgPk.js +0 -7
- package/dist/el-GR-DC8wWZlc.js +0 -7
- package/dist/en-US-BNfqvbyW.js +0 -7
- package/dist/en-US-DXMKV9NN.js +0 -7
- package/dist/es-ES-L_7CovzS.js +0 -7
- package/dist/es-ES-uVSZu-EQ.js +0 -7
- package/dist/es-LA-BU5Op1kh.js +0 -7
- package/dist/es-LA-DPvp-UlN.js +0 -7
- package/dist/et-EE-BFb0MPqf.js +0 -7
- package/dist/fi-FI-6yq1jSRa.js +0 -7
- package/dist/fi-FI-BI9sCCEP.js +0 -7
- package/dist/form-rules-CUUQGacJ.js +0 -7
- package/dist/formUtils-BrLGUOLK.js +0 -78
- package/dist/fr-FR-DBM2tUge.js +0 -7
- package/dist/fr-FR-_TkFnevF.js +0 -7
- package/dist/hr-HR-DubR_a2h.js +0 -7
- package/dist/hr-HR-Vx0hO2h4.js +0 -7
- package/dist/hu-HU-CK6lbZ-D.js +0 -7
- package/dist/it-IT-CL_4Y1hK.js +0 -7
- package/dist/it-IT-CVVOlFfY.js +0 -7
- package/dist/ja-JP-B8sNFjt_.js +0 -7
- package/dist/ja-JP-CNBPrNgM.js +0 -7
- package/dist/lt-LT-C9lXLzZA.js +0 -7
- package/dist/lt-LT-CPBTVJeD.js +0 -7
- package/dist/lv-LV-2Q8G1u4p.js +0 -7
- package/dist/lv-LV-CBsGjmsA.js +0 -7
- package/dist/nl-NL-C5MHFAIE.js +0 -7
- package/dist/nl-NL-DMdoFepr.js +0 -7
- package/dist/no-NO-Bna_-q84.js +0 -7
- package/dist/no-NO-CwgewQst.js +0 -7
- package/dist/pl-PL-D-TVYshE.js +0 -7
- package/dist/pl-PL-Ddtqvtag.js +0 -7
- package/dist/pt-BR-D3oWr3QJ.js +0 -7
- package/dist/pt-BR-DwHag_mp.js +0 -7
- package/dist/pt-PT-BVcFY8gr.js +0 -7
- package/dist/pt-PT-DpYwMinP.js +0 -7
- package/dist/ro-RO-CZpwJ4Sy.js +0 -7
- package/dist/ro-RO-D3Yk1KoW.js +0 -7
- package/dist/roleMetadata-a4sEtgHv.js +0 -56
- package/dist/sk-SK-D3UYKttr.js +0 -7
- package/dist/sk-SK-DyKdrRnN.js +0 -7
- package/dist/sl-SI-BkcElOhl.js +0 -7
- package/dist/sl-SI-nHUFaEcp.js +0 -7
- package/dist/summaryItem-uDWmtYtt.js +0 -16
- package/dist/sv-SE-DkZ2LyW5.js +0 -7
- package/dist/sv-SE-DxMX8Ox_.js +0 -7
- package/dist/types/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.d.ts +0 -9
- package/dist/types/components/GlobalEntry/forms/GlobalEntryModal/GlobalEntryModal.d.ts +0 -1
- package/dist/types/core/models/api/organization-type.d.ts +0 -5
- package/dist/useFormContext-BWw5svgR.js +0 -503
- package/dist/useId-BkDhUta2.js +0 -28
- package/dist/useMultiForm-DysFfqIA.js +0 -783
- package/dist/utils-C1buyvRw.js +0 -61
- package/dist/validationResult-Dzvfkukj.js +0 -77
- /package/dist/types/components/GlobalEntry/{forms/GlobalEntryModal/isGlobalEntryModalOpen.d.ts → globalEntryStore.d.ts} +0 -0
|
@@ -1,90 +1,80 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f821221e-078c-495c-86da-315fa39f7484", e._sentryDebugIdIdentifier = "sentry-dbid-f821221e-078c-495c-86da-315fa39f7484");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-DEX5KqEv.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
|
+
import { r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BqO7Fmt0.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { c as keysOf, o as objectsDeepEqual, r as doArraysMatch, s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-ITLSeoau.js";
|
|
15
15
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
|
-
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-
|
|
17
|
+
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-zti_0yUx.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
19
19
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-DLXInibJ.js";
|
|
20
20
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
21
|
-
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-
|
|
21
|
+
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-BYdlsXkf.js";
|
|
22
22
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import { t as useBusinessLines } from "./useBusinessLines-
|
|
23
|
+
import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
24
|
+
import { a as LandingLayout, i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-wh_oE1AN.js";
|
|
25
|
+
import { t as useBusinessLines } from "./useBusinessLines-CfQYLNkw.js";
|
|
26
26
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
27
|
-
import { n as
|
|
28
|
-
import { c as CompanyTypesValues } from "./bafinUtils-
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import { n as
|
|
32
|
-
import { t as
|
|
33
|
-
import { t as
|
|
34
|
-
import { t as
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import { t as
|
|
39
|
-
import { t as
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import { t as
|
|
43
|
-
import { i as
|
|
44
|
-
import { t as
|
|
45
|
-
import {
|
|
46
|
-
import { a as
|
|
47
|
-
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, n as getAddressSchemaLabelsByCountry, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BIsRIG8_.js";
|
|
48
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-D9l2eO9k.js";
|
|
49
|
-
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-CMxq61UU.js";
|
|
27
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-BiYSHcau.js";
|
|
28
|
+
import { c as TileGroup, l as CompanyTypesValues } from "./bafinUtils-BnTI4Ice.js";
|
|
29
|
+
import { f as LoaderWrapper, r as Field } from "./Select-C2axJYZG.js";
|
|
30
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-Mj-OPN9u.js";
|
|
31
|
+
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, g as Summary_module_default, i as addValidityToForms, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, t as COUNTRY_FIELD, x as mergeFieldMetadataIntoProps } from "./CountryField-CEttz1qx.js";
|
|
32
|
+
import { t as Image } from "./Image-Dc5Xg1_Y.js";
|
|
33
|
+
import { t as ErrorPanel } from "./ErrorPanel-C51kA_mU.js";
|
|
34
|
+
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-CFN5ywvv.js";
|
|
35
|
+
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
36
|
+
import { t as useScenarios } from "./useScenarios-BunWDxgO.js";
|
|
37
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CVBjJUw_.js";
|
|
38
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CavZl01k.js";
|
|
39
|
+
import { a as defaultFieldMetadata, c as addressValidators, d as countrySpecificFormatters, f as formatAddressForCleanse, i as defaultFieldConfig, m as useAddressCleanseImperatively, n as STATE_FIELD, p as useAddressCleanse, r as StateField, t as AddressField } from "./AddressField-BLlc_T5f.js";
|
|
40
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BOXehUNN.js";
|
|
41
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BTVaABDA.js";
|
|
42
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BK38onJ9.js";
|
|
43
|
+
import { a as JP_ADDRESS_REQUIRED_FIELDS, i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-ClMxibP5.js";
|
|
44
|
+
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, n as getAddressSchemaLabelsByCountry, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-CxPOLLKk.js";
|
|
45
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-Bm_TOvWG.js";
|
|
46
|
+
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-K01plHbc.js";
|
|
50
47
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
51
|
-
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
52
|
-
import { a as isJapanLocalizationEnabled } from "./Individual.rules-
|
|
53
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
48
|
+
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-CGU1K5gU.js";
|
|
49
|
+
import { a as isJapanLocalizationEnabled } from "./Individual.rules-CE8liYua.js";
|
|
50
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-DZqoMG3g.js";
|
|
54
51
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
55
|
-
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
56
|
-
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-
|
|
52
|
+
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-BXreB-rx.js";
|
|
53
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-Bu9Q872y.js";
|
|
57
54
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
58
|
-
import {
|
|
59
|
-
import { t as TileGroup } from "./TileGroup-PzJay6GP.js";
|
|
60
|
-
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
61
|
-
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
62
|
-
import { n as convertFullToHalf } from "./TextArea-BUx3yuMJ.js";
|
|
55
|
+
import { n as convertFullToHalf } from "./TextArea-BzCbFjRp.js";
|
|
63
56
|
import { i as getPrefixedFieldProps, t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
64
|
-
import { t as Link } from "./Link-
|
|
65
|
-
import { t as InputText } from "./InputText-
|
|
66
|
-
import { n as formatDateObj, t as InputDate } from "./InputDate-
|
|
67
|
-
import {
|
|
68
|
-
import { t as RadioGroup } from "./RadioGroup-Bt1Dv_S8.js";
|
|
69
|
-
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
57
|
+
import { t as Link } from "./Link-PH3F7iTO.js";
|
|
58
|
+
import { t as InputText } from "./InputText-CRkApOKK.js";
|
|
59
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-Cp2ga0F5.js";
|
|
60
|
+
import { t as RadioGroup } from "./RadioGroup-lkTq-fXj.js";
|
|
70
61
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
71
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
62
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-CjK5meAj.js";
|
|
72
63
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
73
|
-
import { t as currencyByCountry } from "./types-
|
|
74
|
-
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
64
|
+
import { t as currencyByCountry } from "./types-lzI_sUwT.js";
|
|
75
65
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
76
66
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
77
|
-
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-
|
|
78
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
79
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
80
|
-
import { t as ListItem } from "./ListItem-
|
|
81
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
82
|
-
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
67
|
+
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-D3ooH-P1.js";
|
|
68
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-RLsN58Mb.js";
|
|
69
|
+
import { t as useTaskStatus } from "./useTaskStatus-B_-IRF4H.js";
|
|
70
|
+
import { t as ListItem } from "./ListItem-B-gDVdRO.js";
|
|
71
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-Dw2BkLur.js";
|
|
72
|
+
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-C2xW-32U.js";
|
|
83
73
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
84
|
-
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-
|
|
85
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
86
|
-
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
87
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
74
|
+
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-wOuhjMhJ.js";
|
|
75
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-f8C0SAkf.js";
|
|
76
|
+
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-RnzsmUKo.js";
|
|
77
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-BZ6sjmH0.js";
|
|
88
78
|
import { Suspense, lazy } from "preact/compat";
|
|
89
79
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
90
80
|
import cx from "classnames";
|
|
@@ -1241,6 +1231,7 @@ var companyTypeExamples = /* @__PURE__ */ Object.assign({
|
|
|
1241
1231
|
"../localized/companyTypeExamples/IE.json": () => import("./IE-DwzVxL1C.js"),
|
|
1242
1232
|
"../localized/companyTypeExamples/IT.json": () => import("./IT-CISIu45c.js"),
|
|
1243
1233
|
"../localized/companyTypeExamples/LT.json": () => import("./LT-DnvVPVhz.js"),
|
|
1234
|
+
"../localized/companyTypeExamples/MX.json": () => import("./MX-CXUYOKFF.js"),
|
|
1244
1235
|
"../localized/companyTypeExamples/NL.json": () => import("./NL-Bn2QKc20.js"),
|
|
1245
1236
|
"../localized/companyTypeExamples/NO.json": () => import("./NO-D7BSfuUs.js"),
|
|
1246
1237
|
"../localized/companyTypeExamples/PL.json": () => import("./PL-CtjljK4S.js"),
|
|
@@ -1917,7 +1908,7 @@ var GuidanceContent$1 = ({ country, companyType, t }) => {
|
|
|
1917
1908
|
const acceptedDocGuidance = ACCEPTED_DOCUMENTS_MAP$1[country]?.[companyType];
|
|
1918
1909
|
return /* @__PURE__ */ jsx("div", {
|
|
1919
1910
|
className: "adyen-kyc-upload-field__guidance",
|
|
1920
|
-
children: country === "US" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [acceptedDocGuidance && /* @__PURE__ */ jsxs("div", {
|
|
1911
|
+
children: country === "US" || country === "MX" ? /* @__PURE__ */ jsxs(Fragment$1, { children: [acceptedDocGuidance && /* @__PURE__ */ jsxs("div", {
|
|
1921
1912
|
className: "u-margin-bottom-24",
|
|
1922
1913
|
children: [/* @__PURE__ */ jsx("strong", { children: t(($) => $[acceptedDocGuidance.header], { ns: "business" }) }), /* @__PURE__ */ jsx("ul", { children: acceptedDocGuidance.documents.map((document, i) => /* @__PURE__ */ jsx("li", { children: t(($) => $[document], { ns: "business" }) }, i)) })]
|
|
1923
1914
|
}), /* @__PURE__ */ jsxs("div", {
|
|
@@ -1931,10 +1922,11 @@ var GuidanceContent$1 = ({ country, companyType, t }) => {
|
|
|
1931
1922
|
};
|
|
1932
1923
|
function RegistrationDocument({ id, country, companyType = CompanyTypesValues.PRIVATE_COMPANY, ...props }) {
|
|
1933
1924
|
const { t } = useTranslation(["common", "business"]);
|
|
1925
|
+
const config = getLabelConfig(country);
|
|
1934
1926
|
return /* @__PURE__ */ jsx(MemoizedDocumentUpload, {
|
|
1935
1927
|
...props,
|
|
1936
1928
|
id,
|
|
1937
|
-
heading: t(($) => $[
|
|
1929
|
+
heading: t(($) => $[config.heading], { ns: "business" }),
|
|
1938
1930
|
description: t(($) => $["companyRegistrationDocumentFormDescription"], { ns: "business" }),
|
|
1939
1931
|
documentField: "registrationDocument",
|
|
1940
1932
|
documentType: "registrationDocument",
|
|
@@ -1948,6 +1940,12 @@ function RegistrationDocument({ id, country, companyType = CompanyTypesValues.PR
|
|
|
1948
1940
|
hidePageCount: true
|
|
1949
1941
|
});
|
|
1950
1942
|
}
|
|
1943
|
+
function getLabelConfig(country) {
|
|
1944
|
+
switch (country) {
|
|
1945
|
+
case "MX": return { heading: "uploadAConstanciaDeSituacionFiscalDocument" };
|
|
1946
|
+
default: return { heading: "companyRegistrationDocumentFormHeading" };
|
|
1947
|
+
}
|
|
1948
|
+
}
|
|
1951
1949
|
//#endregion
|
|
1952
1950
|
//#region src/components/Business/forms/TaxDocument/config.ts
|
|
1953
1951
|
var ACCEPTED_DOCUMENTS_MAP = {
|
|
@@ -2303,7 +2301,7 @@ var financialInfoValidationWithEmployeesRules = {
|
|
|
2303
2301
|
};
|
|
2304
2302
|
//#endregion
|
|
2305
2303
|
//#region src/components/Business/forms/rules.ts
|
|
2306
|
-
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2304
|
+
var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeatureEnabled = () => false, isSettingEnabled = () => false, getSetting = () => void 0, accountHolder, rootLegalEntity, tinMatched }) => {
|
|
2307
2305
|
const countryRequiresDateOfIncorporationForCompanies = () => {
|
|
2308
2306
|
if (COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION.includes(country)) return "REQUIRED";
|
|
2309
2307
|
};
|
|
@@ -2458,13 +2456,18 @@ var rules = ({ data, defaultData, verifiedBusiness, country, taskType, isFeature
|
|
|
2458
2456
|
balanceSheetTotalRequired: () => {
|
|
2459
2457
|
if (data.companyFinancialInformation?.reportedValueOption === "balanceSheetTotal") return "REQUIRED";
|
|
2460
2458
|
},
|
|
2459
|
+
isResidentialAddressIndicatorEnabled: () => {
|
|
2460
|
+
if (isFeatureEnabled("EnableResidentialAddressIndicator")) return "OPTIONAL";
|
|
2461
|
+
},
|
|
2461
2462
|
isEInvoicingCodeEnabled: () => {
|
|
2462
2463
|
if (isFeatureEnabled("EnableEInvoicingCodeField") && COUNTRIES_REQUIRING_E_INVOICING_CODE.includes(country)) return "REQUIRED";
|
|
2463
2464
|
},
|
|
2464
|
-
|
|
2465
|
-
if (taskType === TaskTypes.SOLE_PROPRIETOR_COMPANY) return;
|
|
2465
|
+
isTaxDocumentRequired: () => {
|
|
2466
2466
|
if (tinMatched === false && country === CountryCodes.UnitedStates) return "REQUIRED";
|
|
2467
2467
|
},
|
|
2468
|
+
isRegistrationDocumentRequired: () => {
|
|
2469
|
+
if (getSetting("merchantType") === "direct" && country === CountryCodes.Mexico) return "REQUIRED";
|
|
2470
|
+
},
|
|
2468
2471
|
businessRequiresCompanyType: () => {
|
|
2469
2472
|
if (taskType !== TaskTypes.SOLE_PROPRIETOR_COMPANY) return "REQUIRED";
|
|
2470
2473
|
},
|
|
@@ -2898,6 +2901,7 @@ var mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isFeatureEnabl
|
|
|
2898
2901
|
}];
|
|
2899
2902
|
}
|
|
2900
2903
|
if (!!requestObj.soleProprietorship && !!data.basicInformation?.country) requestObj.soleProprietorship.countryOfGoverningLaw = data.basicInformation.country;
|
|
2904
|
+
if (requestObj.soleProprietorship && requestObj.soleProprietorship.vatAbsenceReason === "") requestObj.soleProprietorship.vatAbsenceReason = null;
|
|
2901
2905
|
if (registrationNumber) {
|
|
2902
2906
|
entityObject.registrationNumber = registrationNumber;
|
|
2903
2907
|
if (canSaveRegNumberAbsentState && requestObj.organization) requestObj.organization.registrationNumberAbsent = false;
|
|
@@ -2911,6 +2915,7 @@ var mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isFeatureEnabl
|
|
|
2911
2915
|
entityObject.doingBusinessAs = doingBusinessAs || data.basicInformation?.legalCompanyName;
|
|
2912
2916
|
delete entityObject.doingBusinessAsAbsent;
|
|
2913
2917
|
}
|
|
2918
|
+
if (!isFeatureEnabled("EnableResidentialAddressIndicator")) delete entityObject.residentialAddressIndicator;
|
|
2914
2919
|
if (data.additionalInformation?.operationalAddressIsSame && entityObject.principalPlaceOfBusiness) entityObject.principalPlaceOfBusiness = entityObject.registeredAddress;
|
|
2915
2920
|
const addressLocalizations = mapJpAddressSchemaToAddressLocalizations(nestAddressSchema("registrationAddress", data.additionalInformation));
|
|
2916
2921
|
if (addressLocalizations.length > 0) entityObject.registeredAddress.localization = addressLocalizations;
|
|
@@ -3413,28 +3418,6 @@ function LegalArrangementModal({ onCancel }) {
|
|
|
3413
3418
|
});
|
|
3414
3419
|
}
|
|
3415
3420
|
//#endregion
|
|
3416
|
-
//#region src/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.ts
|
|
3417
|
-
/**
|
|
3418
|
-
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
3419
|
-
*
|
|
3420
|
-
* @param organizationType - Organization type value from KYC
|
|
3421
|
-
* @returns CompanyTypesValue
|
|
3422
|
-
*/
|
|
3423
|
-
var mapOrganizationTypeToCompanyType = (organizationType) => {
|
|
3424
|
-
switch (organizationType) {
|
|
3425
|
-
case "BUSINESS": return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3426
|
-
case "NON_PROFIT": return CompanyTypesValues.NON_PROFIT_OR_CHARITABLE;
|
|
3427
|
-
case "PUBLIC_COMPANY":
|
|
3428
|
-
case "LISTED_PUBLIC_COMPANY": return CompanyTypesValues.PUBLIC_COMPANY;
|
|
3429
|
-
case "UNLISTED_PUBLIC_COMPANY": return CompanyTypesValues.UNLISTED_PUBLIC_COMPANY;
|
|
3430
|
-
case "GOVERNMENTAL_ORGANIZATION": return CompanyTypesValues.GOVERNMENTAL_ORGANIZATION;
|
|
3431
|
-
case "SOLE_PROPRIETOR": return CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
3432
|
-
case "PARTNERSHIP_INCORPORATED": return CompanyTypesValues.INCORPORATED_PARTNERSHIP;
|
|
3433
|
-
case "ASSOCIATION_INCORPORATED": return CompanyTypesValues.INCORPORATED_ASSOCIATION;
|
|
3434
|
-
default: return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3435
|
-
}
|
|
3436
|
-
};
|
|
3437
|
-
//#endregion
|
|
3438
3421
|
//#region src/components/Business/modals/RegistrationNumberMismatchModal.tsx
|
|
3439
3422
|
function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection }) {
|
|
3440
3423
|
const { t } = useTranslation(["common", "business"]);
|
|
@@ -3450,7 +3433,7 @@ function RegistrationNumberMismatchModal({ companySearchStateModel, registration
|
|
|
3450
3433
|
const detectedRegistrationNumber = selectedCompany?.registrationNumber;
|
|
3451
3434
|
return {
|
|
3452
3435
|
registrationNumber: detectedRegistrationNumber,
|
|
3453
|
-
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country,
|
|
3436
|
+
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country, selectedCompany?.companyType) : void 0
|
|
3454
3437
|
};
|
|
3455
3438
|
});
|
|
3456
3439
|
const registrationNumberType = data?.exemptedFromRegistrationNumber ? "exempted" : data?.registrationNumberType;
|
|
@@ -3664,6 +3647,7 @@ var businessDetailsBase = {
|
|
|
3664
3647
|
jaKanaLegalCompanyName: { rule: "japaneseLegalCompanyName" },
|
|
3665
3648
|
hasDoingBusinessAs: { rule: "REQUIRED" },
|
|
3666
3649
|
doingBusinessAs: { rule: "requireDoingBusinessAsName" },
|
|
3650
|
+
residentialAddressIndicator: { rule: "isResidentialAddressIndicatorEnabled" },
|
|
3667
3651
|
operationalAddressIsSame: { rule: "REQUIRED" },
|
|
3668
3652
|
legalEntityIdentifier: { rule: "requireLEI" },
|
|
3669
3653
|
exemptedFromLegalEntityIdentifier: { rule: "requireLEIExemption" },
|
|
@@ -3678,7 +3662,8 @@ var businessDetailsBase = {
|
|
|
3678
3662
|
exemptedFromRegistrationNumber: { rule: "companyRegistrationNumberExemptionAllowed" },
|
|
3679
3663
|
eInvoicingCode: { rule: "isEInvoicingCodeEnabled" },
|
|
3680
3664
|
countryOfGoverningLaw: { rule: "countryOfGoverningLawRequired" },
|
|
3681
|
-
taxDocument: { rule: "
|
|
3665
|
+
taxDocument: { rule: "isTaxDocumentRequired" },
|
|
3666
|
+
registrationDocument: { rule: "isRegistrationDocumentRequired" },
|
|
3682
3667
|
registrationAddressStreet: { rule: "registrationAddressStreetRequired" },
|
|
3683
3668
|
registrationAddressStreet2: { rule: "registrationAddressStreet2Required" },
|
|
3684
3669
|
registrationAddressCity: { rule: "registrationAddressCityRequired" },
|
|
@@ -3825,7 +3810,7 @@ var applyVerifiedBusinessData = (form, country, verifiedData, resolvedData) => {
|
|
|
3825
3810
|
if (resolvedData?.registrationNumberType) form.handleChangeFor("basicInformation", "registrationNumberType")(resolvedData.registrationNumberType);
|
|
3826
3811
|
}
|
|
3827
3812
|
if (form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet) return;
|
|
3828
|
-
form.handleChangeFor("companyStructure", "entityType")(
|
|
3813
|
+
form.handleChangeFor("companyStructure", "entityType")(verifiedData.companyType);
|
|
3829
3814
|
if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
|
|
3830
3815
|
const applyVerifiedAddress = (prefix, address) => {
|
|
3831
3816
|
const flatAddress = flattenAddressSchema(prefix, {
|
|
@@ -4560,7 +4545,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4560
4545
|
}
|
|
4561
4546
|
//#endregion
|
|
4562
4547
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4563
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
4548
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-BG4Hvw6r.js")).JpAddressFields);
|
|
4564
4549
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4565
4550
|
...DBA_NAME_FIELD,
|
|
4566
4551
|
...VAT_NUMBER_FIELD,
|
|
@@ -4572,6 +4557,7 @@ var ADDITIONAL_INFORMATION_FIELDS = [
|
|
|
4572
4557
|
...STOCK_TICKER_SYMBOL_FIELD,
|
|
4573
4558
|
...EINVOICING_CODE_FIELD,
|
|
4574
4559
|
"legalFormDescription",
|
|
4560
|
+
"residentialAddressIndicator",
|
|
4575
4561
|
...LEGAL_FORM_FIELDS,
|
|
4576
4562
|
"operationalAddressIsSame",
|
|
4577
4563
|
...getPrefixedAddressFieldNames("registrationAddress"),
|
|
@@ -4628,6 +4614,7 @@ function AdditionalInformation({ id, country, companyType, shouldValidate, field
|
|
|
4628
4614
|
const handleOperationalAddressIsSameChange = useCallback$1((isChecked) => {
|
|
4629
4615
|
handleChangeFor("operationalAddressIsSame")(isChecked);
|
|
4630
4616
|
}, [handleChangeFor]);
|
|
4617
|
+
const handleResidentialAddressIndicatorChange = useCallback$1((isChecked) => handleChangeFor("residentialAddressIndicator")(isChecked), [handleChangeFor]);
|
|
4631
4618
|
if (data?.operationalAddressIsSame === null) handleOperationalAddressIsSameChange(true);
|
|
4632
4619
|
useEffect$1(() => {
|
|
4633
4620
|
if (mustProvideOperationalAddress && data?.operationalAddressIsSame) handleOperationalAddressIsSameChange(false);
|
|
@@ -4857,31 +4844,49 @@ function AdditionalInformation({ id, country, companyType, shouldValidate, field
|
|
|
4857
4844
|
] })] }),
|
|
4858
4845
|
/* @__PURE__ */ jsxs("section", {
|
|
4859
4846
|
"data-testid": "registeredBusinessAddress",
|
|
4860
|
-
children: [
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4847
|
+
children: [
|
|
4848
|
+
/* @__PURE__ */ jsxs("div", {
|
|
4849
|
+
className: AdditionalInformation_module_default.additionalInformationSectionHeading,
|
|
4850
|
+
children: [/* @__PURE__ */ jsx(Typography, {
|
|
4851
|
+
el: "h3",
|
|
4852
|
+
variant: "title",
|
|
4853
|
+
children: t(($) => $["registeredBusinessAddress"], { ns: "business" })
|
|
4854
|
+
}), /* @__PURE__ */ jsx(Typography, {
|
|
4855
|
+
el: "p",
|
|
4856
|
+
variant: "body",
|
|
4857
|
+
children: registrationAddressDescription
|
|
4858
|
+
})]
|
|
4859
|
+
}),
|
|
4860
|
+
addressFieldProps.showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, {
|
|
4861
|
+
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
4862
|
+
children: /* @__PURE__ */ jsx(LazyJpAddressFields, {
|
|
4863
|
+
...addressFieldProps.registrationAddress,
|
|
4864
|
+
addressType: "registrationAddress"
|
|
4865
|
+
})
|
|
4866
|
+
}) : /* @__PURE__ */ jsx(AddressFields, {
|
|
4874
4867
|
...addressFieldProps.registrationAddress,
|
|
4875
|
-
addressType: "registrationAddress"
|
|
4868
|
+
addressType: "registrationAddress",
|
|
4869
|
+
readOnlyFields: readOnlyAddressFields,
|
|
4870
|
+
trustedFields: getNestedTrustedFields("registrationAddress", trustedFields),
|
|
4871
|
+
hideCountry: true,
|
|
4872
|
+
condensed: true
|
|
4873
|
+
}),
|
|
4874
|
+
showField(["residentialAddressIndicator"]) && /* @__PURE__ */ jsx(Field, {
|
|
4875
|
+
el: "fieldset",
|
|
4876
|
+
name: "residentialAddressIndicator",
|
|
4877
|
+
errorMessage: form.errors.additionalInformation?.residentialAddressIndicator?.errorMessage,
|
|
4878
|
+
isValid: form.valid.additionalInformation?.residentialAddressIndicator,
|
|
4879
|
+
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
4880
|
+
...childProps,
|
|
4881
|
+
name: "residentialAddressIndicator",
|
|
4882
|
+
label: t(($) => $["thisIsAPersonalAddress"], { ns: "business" }),
|
|
4883
|
+
helper: t(($) => $["businessAddressesCanShowOwnReceipts"], { ns: "business" }),
|
|
4884
|
+
checked: !!form.data.additionalInformation?.residentialAddressIndicator,
|
|
4885
|
+
readonly: formUtils.isReadOnly("residentialAddressIndicator"),
|
|
4886
|
+
onChange: handleResidentialAddressIndicatorChange
|
|
4887
|
+
})
|
|
4876
4888
|
})
|
|
4877
|
-
|
|
4878
|
-
...addressFieldProps.registrationAddress,
|
|
4879
|
-
addressType: "registrationAddress",
|
|
4880
|
-
readOnlyFields: readOnlyAddressFields,
|
|
4881
|
-
trustedFields: getNestedTrustedFields("registrationAddress", trustedFields),
|
|
4882
|
-
hideCountry: true,
|
|
4883
|
-
condensed: true
|
|
4884
|
-
})]
|
|
4889
|
+
]
|
|
4885
4890
|
}),
|
|
4886
4891
|
/* @__PURE__ */ jsxs("section", {
|
|
4887
4892
|
"data-testid": "principalPlaceOfBusiness",
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fbe6879a-aef0-4eb0-bad9-86510a31cabe", e._sentryDebugIdIdentifier = "sentry-dbid-fbe6879a-aef0-4eb0-bad9-86510a31cabe");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-CFac2y4i.js";
|
|
6
6
|
import { useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/businessLines/useBusinessLines.ts
|
|
8
8
|
var getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85aedc19-fa25-4a5e-815f-d051e484fd89", e._sentryDebugIdIdentifier = "sentry-dbid-85aedc19-fa25-4a5e-815f-d051e484fd89");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-DEX5KqEv.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
8
8
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
9
|
-
import {
|
|
9
|
+
import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
10
10
|
//#region src/hooks/useLegalEntityType.ts
|
|
11
11
|
var useLegalEntityType = ({ legalEntity }) => {
|
|
12
12
|
const isTrust = isPartOfTrustFromLegalEntity(legalEntity);
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "bb9d5a7a-fb42-4386-9bbc-99fa06127433", e._sentryDebugIdIdentifier = "sentry-dbid-bb9d5a7a-fb42-4386-9bbc-99fa06127433");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
|
|
6
6
|
import { useMutation } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
8
8
|
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
package/dist/{useDataMissingRemediations-BzbA8Mu4.js → useDataMissingRemediations-BEdoAjt3.js}
RENAMED
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e08a2d6-3469-4a22-a5b2-81f030dfcd29", e._sentryDebugIdIdentifier = "sentry-dbid-0e08a2d6-3469-4a22-a5b2-81f030dfcd29");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
6
|
-
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-
|
|
5
|
+
import { r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
+
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-zti_0yUx.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
9
9
|
//#region src/hooks/useDataMissingRemediations.ts
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66d54263-55c9-4f6b-ae2c-82afe85e0bcc", e._sentryDebugIdIdentifier = "sentry-dbid-66d54263-55c9-4f6b-ae2c-82afe85e0bcc");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { o as createLogger } from "./translation-CcKrUksA.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-DEX5KqEv.js";
|
|
7
7
|
import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
|
-
import {
|
|
8
|
+
import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-C2axJYZG.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "766bed4f-2ccb-46d8-b524-b11b5b56c729", e._sentryDebugIdIdentifier = "sentry-dbid-766bed4f-2ccb-46d8-b524-b11b5b56c729");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { L as ToastContext } from "./resolveEnvironment-
|
|
7
|
-
import { s as useApiContext } from "./http-
|
|
8
|
-
import { useCallback, useContext } from "preact/hooks";
|
|
5
|
+
import { o as createLogger } from "./translation-CcKrUksA.js";
|
|
6
|
+
import { L as ToastContext } from "./resolveEnvironment-DEX5KqEv.js";
|
|
7
|
+
import { s as useApiContext } from "./http-CFac2y4i.js";
|
|
8
|
+
import { useCallback, useContext, useState } from "preact/hooks";
|
|
9
9
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
10
10
|
//#region src/context/ToastContext/useToastContext.ts
|
|
11
11
|
function useToastContext() {
|
|
@@ -48,4 +48,26 @@ var useInvalidateRootLegalEntity = () => {
|
|
|
48
48
|
return useCallback(() => Promise.all([queryClient.invalidateQueries({ queryKey: ["legalEntity", rootLegalEntityId.value] }), queryClient.invalidateQueries({ predicate: ({ queryKey }) => QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED.includes(queryKey[0]) })]).catch(logger.error), [rootLegalEntityId.value, queryClient]);
|
|
49
49
|
};
|
|
50
50
|
//#endregion
|
|
51
|
-
|
|
51
|
+
//#region src/utils/uuid.ts
|
|
52
|
+
function uuidv4() {
|
|
53
|
+
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, (c) => {
|
|
54
|
+
let r = Math.random() * 16 | 0;
|
|
55
|
+
return (c == "x" ? r : r & 3 | 8).toString(16);
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/utils/useId.ts
|
|
60
|
+
/**
|
|
61
|
+
* We can't use {@link import('preact/hooks').useId} because it doesn't guarantee uniqueness across
|
|
62
|
+
* different render trees. So multiple components mounted on the same page could have collisions.
|
|
63
|
+
*
|
|
64
|
+
* Therefore, we instead calculate a uuid and prepend a prefix.
|
|
65
|
+
*
|
|
66
|
+
* @param prefix a prefix to identify this usage
|
|
67
|
+
*/
|
|
68
|
+
var useId = (prefix) => {
|
|
69
|
+
const [uuid] = useState(uuidv4());
|
|
70
|
+
return `${prefix}_${uuid}`;
|
|
71
|
+
};
|
|
72
|
+
//#endregion
|
|
73
|
+
export { useInvalidateRootLegalEntity as n, useToastContext as r, useId as t };
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "24352a4c-5035-435a-a2fd-a591890694f8", e._sentryDebugIdIdentifier = "sentry-dbid-24352a4c-5035-435a-a2fd-a591890694f8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-CFac2y4i.js";
|
|
6
6
|
import { skipToken, useQueries, useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/legalEntity/useLegalEntity.ts
|
|
8
8
|
var ROOT_LE = Symbol("ROOT_LE");
|