@adyen/kyc-components 4.21.0 → 4.22.0-beta.1
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/{AcceptTermsOfServiceWorkflow-DrB_fPrZ.js → AcceptTermsOfServiceWorkflow-CLA1JNzc.js} +5 -5
- package/dist/{Accordion-DC7Iuj-J.js → Accordion-Cwp-Xc7e.js} +1 -1
- package/dist/{AccountSetupRejected-DoXfDWqU.js → AccountSetupRejected-B2h3LRDZ.js} +1 -1
- package/dist/{AdaptiveWorkflow-J27A0gN7.js → AdaptiveWorkflow-BHooRzh_.js} +17 -17
- package/dist/{AdaptiveWorkflowComponent-D6pqqlwM.js → AdaptiveWorkflowComponent-D1EALddI.js} +54 -54
- package/dist/{AddressField-M0N4sAfl.js → AddressFields-CU23S3JV.js} +108 -173
- package/dist/{Avatar-BKTdqNpO.js → Avatar-BbOb0bui.js} +1 -1
- package/dist/{BusinessFinancingDropin-DemdZ7gf.js → BusinessFinancingDropin-Cc0oB8ka.js} +104 -199
- package/dist/{BusinessFinancingPage-_0QYXpNT.js → BusinessFinancingPage-D0EmBl9D.js} +30 -30
- package/dist/BusinessRegistrationNumberField-c8mvmS4m.js +101 -0
- package/dist/{BusinessRegistrationNumberFieldGroup-C7gU9147.js → BusinessRegistrationNumberFieldGroup-DNZALTo_.js} +5 -6
- package/dist/{BusinessTypeSelectionPage-BDhSt6pA.js → BusinessTypeSelectionPage-CYjrUqoM.js} +13 -13
- package/dist/{Button-DSD_afG_.js → Button-oqvTDztg.js} +1 -1
- package/dist/{Checkbox-Bc98rXHW.js → Checkbox-2Rp9bWYN.js} +1 -1
- package/dist/{ComponentGroup-btCOkWx3.js → ComponentGroup-DbWo8fnI.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-B2_WSs7X.js → ConstitutionalDocument-64rqHz7d.js} +67 -105
- package/dist/{ContactDetails-CtYPAJYy.js → ContactDetails-ucx3UuP8.js} +5 -5
- package/dist/{ContextGuidance-CQ6rdW_a.js → ContextGuidance-CIwiyrm9.js} +2 -2
- package/dist/{Currency-BlBJnPV7.js → Currency-fvQfdQ2i.js} +5 -5
- package/dist/{CustomerSupport-CrCRjZZq.js → CustomerSupport-CHHRYNTG.js} +13 -12
- package/dist/{DataConflictsModal-iMz4Afov.js → DataConflictsModal-BJHJVW3V.js} +6 -6
- package/dist/{DebugModal-BAf5ZU42.js → DebugModal-CptS2b87.js} +10 -10
- package/dist/{DecisionMakerDetails-DX5nw1Co.js → DecisionMakerDetails-a_G8S1S9.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BJn9whGe.js → DecisionMakerDetailsPage-BsiheWPy.js} +34 -34
- package/dist/{DecisionMakers-C6IDwXGe.js → DecisionMakers-DC3r2UzN.js} +40 -40
- package/dist/{Dropzone-pCIXbO4I.js → Dropzone-CTdbCPiL.js} +7 -7
- package/dist/{EmbeddedStatus-CkSg9-9r.js → EmbeddedStatus-DqanSUWu.js} +3 -3
- package/dist/{EndStateLayout-CarfWtTC.js → EndStateLayout-CRNRpDeu.js} +2 -2
- package/dist/{EntityAssociation-DFnGtIFI.js → EntityAssociation-DqTOqixv.js} +6 -6
- package/dist/{ErrorPanel-ugcZz_Be.js → ErrorPanel-jcVYNW8o.js} +3 -3
- package/dist/GlobalEntryModal-Bwy0lfz2.js +951 -0
- package/dist/{GlobalEntryPage-GK_Vfoub.js → GlobalEntryPage-DPKND7LX.js} +12 -9
- package/dist/{Icon-CurE93CX.js → Icon-BblJeZYj.js} +1 -1
- package/dist/{IdentityNumber-9wipDyP1.js → IdentityNumber-D9t0xamT.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-PyIIIJ0a.js → IdentityNumberFieldGroup-0Ll_77LW.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DCru4Ax4.js → IdentityScreeningWorkflow-DESXjfuC.js} +13 -13
- package/dist/{Individual.rules-PTvR4V7c.js → Individual.rules-4BHmKpNa.js} +4 -4
- package/dist/{IndividualDropin-odcDbuOv.js → IndividualDropin-CMejkT3R.js} +251 -226
- package/dist/{IndustryCodeFieldGroup-NJw6ULN9.js → IndustryCodeFieldGroup-xFrcCogG.js} +4 -4
- package/dist/InputDate-DMcomeFj.js +211 -0
- package/dist/{InputText-BvrH0bId.js → InputText-BqeL5dXt.js} +3 -3
- package/dist/{Introduction-Cc1kb6ZF.js → Introduction-6WPMkIpx.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CqRP9jG_.js → InvitedDecisionMakerComponent-w0xQxDgC.js} +61 -61
- package/dist/{JpAddressFields-gw_fQGFK.js → JpAddressFields-Cic1nSNI.js} +8 -8
- package/dist/{LegalCompanyNameField-BmLuKn05.js → LegalCompanyNameField-Dl60xD84.js} +5 -5
- package/dist/{LegalName-CeRLeIRV.js → LegalName-DDKN6L93.js} +3 -3
- package/dist/{LegalRepresentativeDetailsPage-V35wZbnY.js → LegalRepresentativeDetailsPage-B2ubp7Rb.js} +30 -30
- package/dist/{Link-B-gN0d8l.js → Link-Bb1XDrs1.js} +1 -1
- package/dist/{ListItem-BGdnopqb.js → ListItem-CI4fqIkg.js} +2 -2
- package/dist/{Modal-smcFQS1n.js → Modal-By_wpf9o.js} +3 -3
- package/dist/{Name-CjSRwrBX.js → Name-BpKVUmoY.js} +4 -4
- package/dist/{NewSummary-BBgZk5N5.js → NewSummary-Bmi54FYk.js} +6 -6
- package/dist/{PatriotActDisclosure-DMB5NHHl.js → PatriotActDisclosure-DsZX3cb-.js} +10 -113
- package/dist/{PayoutDetailsDropin-B-hXWFtT.js → PayoutDetailsDropin-BkzjalFb.js} +26 -26
- package/dist/{PayoutDetailsPage-C_lCST-K.js → PayoutDetailsPage-BLbHUm0I.js} +7 -7
- package/dist/{RadioGroup-CdF_CJsU.js → RadioGroup-e6Ty_ggj.js} +12 -19
- package/dist/{Review-D5P6Ac8i.js → Review-BG_iSaAN.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DVI9j8Ml.js → RootBusinessDetailsPage-D6ZEfFr4.js} +30 -30
- package/dist/{RootBusinessLinesPage-W9tYnmw0.js → RootBusinessLinesPage-B6Swhdyx.js} +23 -23
- package/dist/{RootIndividualDetailsPage-DOdcTAg9.js → RootIndividualDetailsPage-2Bu7fbyB.js} +31 -31
- package/dist/{Select-VeoEeZS8.js → Select-CrcaoG0i.js} +6 -6
- package/dist/{SignPCIComponent-NpbyWtsj.js → SignPCIComponent-B4Iz8PXX.js} +38 -38
- package/dist/{SingpassSelection-CYThm6K3.js → SingpassSelection-D2NSiGzi.js} +4 -4
- package/dist/{SoleProprietorshipPage-o0P3YdSD.js → SoleProprietorshipPage-bJ6oea6W.js} +30 -30
- package/dist/{SourceOfFundsPage-CzKXKYUk.js → SourceOfFundsPage-Bu9e93PV.js} +26 -28
- package/dist/{SourceOfFundsWorkflow-qqY2jygF.js → SourceOfFundsWorkflow-CW7McbuG.js} +5 -5
- package/dist/{StateField-Bez_WtWb.js → StateField-BnyUQjAj.js} +49 -34
- package/dist/{Step-Onf402RU.js → Step-CZq7qzCe.js} +9 -13
- package/dist/{Task-DiyDnOz9.js → Task-Jhx4xFyF.js} +11 -11
- package/dist/{TaskGroup-CIR21I_w.js → TaskGroup-CHPDt1lw.js} +3 -3
- package/dist/{TaskListItem-DHIH6gi-.js → TaskListItem-BAHYod3y.js} +10 -10
- package/dist/TaskStepperContextProvider-BtpYUg5S.js +26 -0
- package/dist/{TaskVerificationStatus-DCfFNRJc.js → TaskVerificationStatus-onOyOzoM.js} +1 -1
- package/dist/{TaxInformationFieldGroup-D_wL_Vik.js → TaxInformationFieldGroup-D4bSgrDG.js} +7 -8
- package/dist/{TaxReportingDropin-KSc9a6fn.js → TaxReportingDropin-BD-WaKf5.js} +14 -14
- package/dist/{TaxReportingWorkflow-CxxK1I0P.js → TaxReportingWorkflow-UVCd2CGW.js} +5 -5
- package/dist/{TermsOfServiceManagement-BjVUvy6A.js → TermsOfServiceManagement-Czlvu-_X.js} +37 -37
- package/dist/{TextArea-CZ6EPFIm.js → TextArea-Doiwq6Fz.js} +4 -4
- package/dist/{TrustDetailsPage-CMH_pooy.js → TrustDetailsPage-Do_Pgp5e.js} +79 -70
- package/dist/TrustMemberCompanyPage-COKJWVwj.js +109 -0
- package/dist/TrustMemberIndividualPage-BTzYVATe.js +110 -0
- package/dist/{TrustMemberRoleAndTypePage-DtbIRzd6.js → TrustMemberRoleAndTypePage-CvT2NyPL.js} +40 -40
- package/dist/{TrustMembersOverview-CyiHoXHO.js → TrustMembersOverview-Dx2d70H1.js} +36 -36
- package/dist/{UboTaskItem-DehpjG8P.js → UboTaskItem-DItfn-Pd.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-B51DLOKD.js → UnincorporatedPartnershipIndividualPage-CLBFd1-S.js} +30 -30
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DwxgFOUv.js → UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js} +31 -31
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CGcWrzzR.js → UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-CYKGg4bE.js → UnincorporatedPartnershipMembersOverview-BrypfDgd.js} +7 -7
- package/dist/{VerificationErrorAlert-DHnpqmkb.js → VerificationErrorAlert-Dg0EN5Gg.js} +2 -2
- package/dist/{Workflow-CKPX92cv.js → Workflow-BbFLvLAf.js} +6 -6
- package/dist/{accountHolderUtils--ZEylxaF.js → accountHolderUtils-BnH2f3aW.js} +1 -1
- package/dist/adyen-business-financing.js +31 -31
- package/dist/adyen-individual-configuration.js +56 -56
- package/dist/adyen-individual-status.js +29 -29
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +67 -60
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +30 -30
- package/dist/adyen-transfer-instrument-management.js +38 -38
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-DkDlAHgN.js → bafinUtils-F8i4raV6.js} +45 -21
- package/dist/{bg-BG-D4mSRREu.js → bg-BG-BizRzO_4.js} +2 -2
- package/dist/bg-BG-BtgA44Ui.js +7 -0
- package/dist/{bg-BG-BeFIiwVZ.js → bg-BG-DFFyUYhz.js} +1 -4
- package/dist/bg-BG-DYkxVgeJ.js +7 -0
- package/dist/{constants-CpzwsYLt.js → constants-C1GRcz1y.js} +4 -4
- package/dist/cs-CZ-Ci8c58xJ.js +7 -0
- package/dist/{cs-CZ-DHfA1xjQ.js → cs-CZ-DbxpNCVt.js} +1 -4
- package/dist/cs-CZ-DcUnrLLF.js +7 -0
- package/dist/cs-CZ-lJQmuyHq.js +7 -0
- package/dist/da-DK-C1kmOHvo.js +7 -0
- package/dist/da-DK-D53M_d04.js +7 -0
- package/dist/da-DK-DxZQbdeO.js +7 -0
- package/dist/{da-DK--DlccBc0.js → da-DK-zLJRzcB1.js} +1 -4
- package/dist/{de-DE-B_iHAkLT.js → de-DE-BMfqDClD.js} +1 -4
- package/dist/de-DE-BnxQPuqK.js +7 -0
- package/dist/de-DE-qJPTCQlG.js +7 -0
- package/dist/de-DE-qSBQE-6M.js +7 -0
- package/dist/el-GR-Bx996PXx.js +7 -0
- package/dist/el-GR-CgoxpC-Q.js +7 -0
- package/dist/{el-GR-C6jyW53I.js → el-GR-Dv4ru2dp.js} +2 -2
- package/dist/{el-GR-D09thseu.js → el-GR-RfSX8m4j.js} +1 -4
- package/dist/{en-US-Del1h5SS.js → en-US-BUmtG-Wj.js} +5 -1
- package/dist/en-US-C_-DId-G.js +7 -0
- package/dist/{error-DYzwu0no.js → error-3d6yiTPF.js} +3 -3
- package/dist/{es-ES-Bpxn6XGC.js → es-ES-CYw82sbG.js} +1 -4
- package/dist/es-ES-DNhmrVEV.js +7 -0
- package/dist/es-ES-DyB2KXfT.js +7 -0
- package/dist/es-ES-U4-lDfZq.js +7 -0
- package/dist/es-LA-B5IRDCf_.js +7 -0
- package/dist/{es-LA-C8U1qPSu.js → es-LA-BctkHpgC.js} +5 -5
- package/dist/es-LA-C9A4OcR1.js +7 -0
- package/dist/{es-LA-DWAiA7Dw.js → es-LA-CG_cu1hM.js} +2 -2
- package/dist/{es-LA-CJdZb5eY.js → es-LA-CgkOJrPJ.js} +2 -2
- package/dist/es-LA-ChLRkx-r.js +7 -0
- package/dist/{es-LA-CjxlB1WZ.js → es-LA-DDXEJd1M.js} +1 -4
- package/dist/{es-LA-DBBkFhgU.js → es-LA-DcnCNM5a.js} +2 -2
- package/dist/es-LA-Oe31aP7N.js +7 -0
- package/dist/{es-LA-CE8hE_Qb.js → es-LA-s415mKU0.js} +2 -2
- package/dist/et-EE-4_ZUNt3W.js +7 -0
- package/dist/et-EE-BgBr1C0u.js +7 -0
- package/dist/{et-EE-Dtc7YYb4.js → et-EE-BlZkCwz8.js} +1 -4
- package/dist/et-EE-DSK7kb3n.js +7 -0
- package/dist/fi-FI-BSsXGaNE.js +7 -0
- package/dist/{fi-FI-DBhYlO4B.js → fi-FI-CNoPIGJP.js} +1 -4
- package/dist/fi-FI-D06EzKrW.js +7 -0
- package/dist/fi-FI-DgMsQBRO.js +7 -0
- package/dist/{form-rules-Cy_z1LiE.js → form-rules-BhIs9ilj.js} +82 -75
- package/dist/{formatValidationError-DGv-uwBi.js → formatValidationError-DdKr3rgo.js} +1 -1
- package/dist/fr-FR-BTJoQq71.js +7 -0
- package/dist/{fr-FR-Dsh0Vb20.js → fr-FR-C88I1PF4.js} +2 -2
- package/dist/{fr-FR-N8UDU_0Y.js → fr-FR-CQZLvhS1.js} +1 -4
- package/dist/fr-FR-Dl4NL-Nc.js +7 -0
- package/dist/{CompanyRegistrationNumberTypeSelector-CX4-v376.js → getDefaultRegistrationNumberType-CfU1YUaz.js} +49 -49
- package/dist/{useAssociatedLegalEntity-BdcoiUby.js → getFormSlice-DzRO0UUx.js} +19 -2
- package/dist/{getProblemsForEntity-CTxd78-9.js → getProblemsForEntity-CfzojTAS.js} +1 -1
- package/dist/{getTrustedDecisionMakers-DWVtW7JE.js → getTrustedDecisionMakers-Brlr-pKL.js} +1 -1
- package/dist/hr-HR-B11sggmG.js +7 -0
- package/dist/{hr-HR-GLRwxTIZ.js → hr-HR-C6-nBPZJ.js} +1 -4
- package/dist/hr-HR-COdiWKoq.js +7 -0
- package/dist/hr-HR-HlAOaG4N.js +7 -0
- package/dist/{hu-HU-s1MKqwI4.js → hu-HU-CKm1kMo5.js} +1 -4
- package/dist/hu-HU-DkSsL94T.js +7 -0
- package/dist/hu-HU-Dp6xOBN_.js +7 -0
- package/dist/hu-HU-s1kS1v8Y.js +7 -0
- package/dist/it-IT-BlaVymCj.js +7 -0
- package/dist/it-IT-CawjvBDX.js +7 -0
- package/dist/{it-IT-xXO07yyz.js → it-IT-DPOJ9mKi.js} +2 -2
- package/dist/{it-IT-2reNk09A.js → it-IT-DjUFw9e_.js} +1 -4
- package/dist/{ja-JP-Bf97gKqg.js → ja-JP-Ce_xNqZj.js} +1 -4
- package/dist/ja-JP-DGj167Zw.js +7 -0
- package/dist/ja-JP-Dpe9Odla.js +7 -0
- package/dist/ja-JP-h3E8hgLv.js +7 -0
- package/dist/{types-CdxNdaM6.js → legalArrangementUtils-skU_cq9L.js} +4 -3
- package/dist/lt-LT-B18sQY9g.js +7 -0
- package/dist/{lt-LT-BUgsY7cD.js → lt-LT-BQD7QWIk.js} +1 -4
- package/dist/lt-LT-CEpjHJry.js +7 -0
- package/dist/lt-LT-Fc1lOUlz.js +7 -0
- package/dist/lv-LV-COsG0cJY.js +7 -0
- package/dist/{lv-LV-BpniO6xp.js → lv-LV-DHwdYWGZ.js} +1 -4
- package/dist/lv-LV-DctYQmfH.js +7 -0
- package/dist/lv-LV-adiXoKhv.js +7 -0
- package/dist/{mapExistingFile-R6-FnjjY.js → mapExistingFile-CDahgHsP.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-C-kAGmiq.js → mapJpAddressSchemaToAddressLocalizations-CWb68lJV.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-BIisj-RE.js → mapLegalEntityToIndividualSchema-B3XhBnaa.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-D-RdVquH.js → mapTransferInstrumentToPayoutAccount-n4ffPJ2c.js} +3 -3
- package/dist/nl-NL-9sJ9sG_Q.js +7 -0
- package/dist/nl-NL-BIpptPn4.js +7 -0
- package/dist/{nl-NL-_B3Ey_x1.js → nl-NL-Cdmgljzx.js} +1 -4
- package/dist/nl-NL-DOB0b0m4.js +7 -0
- package/dist/no-NO-BG1sYkpp.js +7 -0
- package/dist/no-NO-DnsCTUl4.js +7 -0
- package/dist/{no-NO-CytzrDfA.js → no-NO-MhaaDGft.js} +1 -4
- package/dist/no-NO-P5tRWhV9.js +7 -0
- package/dist/{pl-PL-DLBeIbY5.js → pl-PL-B0tX08_r.js} +1 -4
- package/dist/pl-PL-BX9Xsn_R.js +7 -0
- package/dist/pl-PL-J9S3_lCf.js +7 -0
- package/dist/pl-PL-_KG-ZD1N.js +7 -0
- package/dist/{processCapabilities-uXoRmB5x.js → processCapabilities-BfskhjUw.js} +2 -1
- package/dist/{processValidationErrors-CxYdVSIk.js → processValidationErrors-BfqJR1rP.js} +4 -4
- package/dist/pt-BR-BYbyk6xS.js +7 -0
- package/dist/{pt-BR-Cf5Jif3w.js → pt-BR-CExpeuK1.js} +1 -4
- package/dist/pt-BR-D23HWCOv2.js +7 -0
- package/dist/pt-BR-fKlNUybd.js +7 -0
- package/dist/{pt-PT-Cg7oMqTO.js → pt-PT-CedGAyU5.js} +1 -4
- package/dist/pt-PT-D8ldyR-j.js +7 -0
- package/dist/pt-PT-DAvsI-Tr.js +7 -0
- package/dist/pt-PT-oMj1KA74.js +7 -0
- package/dist/{resolveEnvironment-iYzRliVi.js → resolveEnvironment-Bp-RuIhz.js} +69 -70
- package/dist/{ro-RO-UHWXt9rv.js → ro-RO-C-lRWe1h.js} +1 -4
- package/dist/ro-RO-CQJk7Cpo.js +7 -0
- package/dist/ro-RO-CnMe6Mfw.js +7 -0
- package/dist/ro-RO-Cri5-XPn.js +7 -0
- package/dist/sk-SK-Br1Y4_CN.js +7 -0
- package/dist/sk-SK-Bx2_85dW.js +7 -0
- package/dist/{sk-SK-BQHhBpDH.js → sk-SK-D1duuBif.js} +1 -4
- package/dist/sk-SK-XvPPBgTO.js +7 -0
- package/dist/sl-SI-B31X-t8A.js +7 -0
- package/dist/sl-SI-DHPadSTy.js +7 -0
- package/dist/{sl-SI-DOAJBgQV.js → sl-SI-DO9c7geI.js} +2 -2
- package/dist/{sl-SI-CTrggdef.js → sl-SI-iGtJR9Tk.js} +1 -4
- package/dist/style.css +21 -0
- package/dist/styles-DYaAeu4q.js +21 -0
- package/dist/{sv-SE-Bk55FXGN.js → sv-SE-9GnBnxvb.js} +1 -4
- package/dist/sv-SE-BXrlr0X5.js +7 -0
- package/dist/sv-SE-DBANqFwL.js +7 -0
- package/dist/sv-SE-l_UVgmVu.js +7 -0
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContext.d.ts +19 -9
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/TaskStepperContextProvider.d.ts +0 -8
- package/dist/types/adaptiveWorkflow/context/TaskStepperContext/useTaskStepperContext.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +2 -40
- package/dist/types/components/Business/utils/utils.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +6 -8
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +13 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +12 -3
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/EntitySetupField.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/EntitySetupField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/PrimaryPartnerTypeField.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/PrimaryPartner.d.ts +4 -0
- package/dist/types/components/GlobalEntry/forms/PrimaryPartner/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +2 -1
- package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +15 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +8 -3
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +6 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +5 -1
- package/dist/types/components/GlobalEntry/tasks/types.d.ts +2 -0
- package/dist/types/components/GlobalEntry/utils.d.ts +22 -1
- package/dist/types/components/GlobalEntry/validate.d.ts +2 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/fieldConfig.d.ts +2 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +2 -7
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +1 -0
- package/dist/types/components/Trust/forms/TrustRegistrationDetails/types.d.ts +2 -1
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +1 -1
- package/dist/types/router/routeConfig.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +38 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/{components/UnincorporatedPartnership/types/types.d.ts → utils/legalArrangementUtils.d.ts} +2 -1
- package/dist/types/{components/UnincorporatedPartnership/utils/unincorporatedParnershipUtil.d.ts → utils/unincorporatedParnershipUtils.d.ts} +3 -3
- package/dist/{types-Ai_80DXu.js → types-C6GnB9nH.js} +1 -1
- package/dist/{useBusinessDetailsData-Dt4JqZ87.js → useBusinessDetailsData-UyUhXzON.js} +82 -182
- package/dist/{useCanSeeIntroduction-CMzerxJL.js → useCanSeeIntroduction-C6qXZZe8.js} +3 -3
- package/dist/{useDataMissingRemediations-Cd-jucOu.js → useDataMissingRemediations-D-NZOgal.js} +1 -1
- package/dist/{useForm-CEXA_F3u.js → useForm-BhfuVkAR.js} +2 -2
- package/dist/{useHideTaskStepper-MdPt1zI8.js → useHideTaskStepper-Dlzsx-RK.js} +9 -8
- package/dist/{useId-CZMbF_sJ.js → useId-DqpXTon5.js} +1 -1
- package/dist/{useNavigate-RRamr3fr.js → useNavigate-Xc0HARgb.js} +33 -33
- package/dist/{useSalesChannels-B9PV1rQa.js → useSalesChannels-gzi6QOI7.js} +3 -3
- package/dist/{useTaskLandedEvent-DbQ2E-rM.js → useTaskLandedEvent-BXv-wuAJ.js} +1 -1
- package/dist/useTaskStepperContext-DCNMsKUc.js +51 -0
- package/dist/{useTrustMembers-gdgm1nJI.js → useTrustMembers-wjNlRtOm.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-00l8eNLk.js → useUnincorporatedPartnershipMembers-CfpBIS06.js} +2 -2
- package/dist/{utils-DxOvaA3u.js → utils-DebuaWe9.js} +6 -6
- package/dist/{StructuredList-36A9DDQa.js → utils-DyriwmGv.js} +94 -5
- package/dist/{utils-CFaGY5aD.js → utils-P67T6pKI.js} +1 -1
- package/dist/{validate-BbOeJY9-.js → validate-C2fajdCR.js} +4 -4
- package/dist/{validate--p4TuNQC.js → validate-DruWE6jY.js} +68 -51
- package/dist/{validate-BevFCyzw.js → validate-DzNLLQoR.js} +5 -31
- package/dist/validate-MsZ6MiUq.js +151 -0
- package/dist/{validateExtractionResult-BnSV5Z6F.js → validateExtractionResult-BfwUJj1D.js} +2 -2
- package/dist/{validationError-BLSF1VbX.js → validationError-DudGlB6v.js} +2 -2
- package/package.json +1 -1
- package/dist/GlobalEntryModal-DAf4bqoT.js +0 -589
- package/dist/InputDate-Cgld5B0-.js +0 -52
- package/dist/TaskStepperContextProvider-DuM9tlet.js +0 -81
- package/dist/TrustMemberCompanyPage-Bzcvc0Cz.js +0 -109
- package/dist/TrustMemberIndividualPage-DN_epZ5a.js +0 -110
- package/dist/bg-BG-CXqERnFH.js +0 -7
- package/dist/bg-BG-DbS559bK.js +0 -7
- package/dist/cs-CZ-4yvBEVL0.js +0 -7
- package/dist/cs-CZ-DAXMHrMi.js +0 -7
- package/dist/cs-CZ-DySBJFlc.js +0 -7
- package/dist/da-DK-BVaEiAWd.js +0 -7
- package/dist/da-DK-BuvKW6Sq.js +0 -7
- package/dist/da-DK-D3mbpcHG.js +0 -7
- package/dist/de-DE-BQaqplTp.js +0 -7
- package/dist/de-DE-BqujMxXu.js +0 -7
- package/dist/de-DE-D6R-XC2F.js +0 -7
- package/dist/el-GR-B1NjHThy.js +0 -7
- package/dist/el-GR-CedmhUFh.js +0 -7
- package/dist/en-US-D4NrsDmW.js +0 -7
- package/dist/es-ES-BM5RTwb7.js +0 -7
- package/dist/es-ES-C64v4NJD.js +0 -7
- package/dist/es-ES-DTUHhE47.js +0 -7
- package/dist/es-LA-B7pY2dp1.js +0 -7
- package/dist/es-LA-BjZq9RK_.js +0 -7
- package/dist/es-LA-CcMAcJ7u.js +0 -7
- package/dist/es-LA-DlL8vCjJ.js +0 -7
- package/dist/et-EE-DqhEsLik.js +0 -7
- package/dist/et-EE-FtKFvr3u.js +0 -7
- package/dist/et-EE-wDQx9HoZ.js +0 -7
- package/dist/fi-FI-KMP96Qxc.js +0 -7
- package/dist/fi-FI-RfGqWbnB.js +0 -7
- package/dist/fi-FI-SFw2grVp.js +0 -7
- package/dist/fr-FR-C8IPWMDL.js +0 -7
- package/dist/fr-FR-zDxTr2D3.js +0 -7
- package/dist/getFormSlice-C1ma6Xd4.js +0 -21
- package/dist/hr-HR-COvc9TZy.js +0 -7
- package/dist/hr-HR-Cqgf9B0v.js +0 -7
- package/dist/hr-HR-DPjuJ54x.js +0 -7
- package/dist/hu-HU-DIjDe5aa.js +0 -7
- package/dist/hu-HU-DyM1X3r6.js +0 -7
- package/dist/hu-HU-hB61p4H9.js +0 -7
- package/dist/it-IT-BKTDLRBT.js +0 -7
- package/dist/it-IT-BMXQzE0P.js +0 -7
- package/dist/ja-JP-BhHK_ru2.js +0 -7
- package/dist/ja-JP-BuFZko8b.js +0 -7
- package/dist/ja-JP-DbLRpEVj.js +0 -7
- package/dist/lt-LT-Be3q6tyu.js +0 -7
- package/dist/lt-LT-Btr5el2q.js +0 -7
- package/dist/lt-LT-D4raqCUa.js +0 -7
- package/dist/lv-LV-8wOWTo3r.js +0 -7
- package/dist/lv-LV-DBms129k.js +0 -7
- package/dist/lv-LV-DCeyOqHY.js +0 -7
- package/dist/nl-NL-CdHkQcOS.js +0 -7
- package/dist/nl-NL-Dyb3tkBi.js +0 -7
- package/dist/nl-NL-UhYf45fo.js +0 -7
- package/dist/no-NO-B-xCUkf4.js +0 -7
- package/dist/no-NO-DN7Ovyir.js +0 -7
- package/dist/no-NO-DXDddmYv.js +0 -7
- package/dist/pl-PL-BmiDQi18.js +0 -7
- package/dist/pl-PL-CBwRmIu5.js +0 -7
- package/dist/pl-PL-Cc09pXO8.js +0 -7
- package/dist/pt-BR-DA4PVtVa2.js +0 -7
- package/dist/pt-BR-DXGEP6IP.js +0 -7
- package/dist/pt-BR-hMhyqixD.js +0 -7
- package/dist/pt-PT-BXIKj_3F.js +0 -7
- package/dist/pt-PT-D2qX_lOd.js +0 -7
- package/dist/pt-PT-QU0CQs-d.js +0 -7
- package/dist/ro-RO-CQjOM8e-.js +0 -7
- package/dist/ro-RO-D4TQUwVB.js +0 -7
- package/dist/ro-RO-DNye-gMC.js +0 -7
- package/dist/sk-SK-2jlbtz2r.js +0 -7
- package/dist/sk-SK-CszMszV5.js +0 -7
- package/dist/sk-SK-CwbBfCsU.js +0 -7
- package/dist/sl-SI-9XdXVgB8.js +0 -7
- package/dist/sl-SI-Cyx0QtxG.js +0 -7
- package/dist/sv-SE--LlaHl85.js +0 -7
- package/dist/sv-SE-CqhSdYBe.js +0 -7
- package/dist/sv-SE-kbf3zbjX.js +0 -7
- package/dist/types/components/Shared/forms/Address/Address.d.ts +0 -3
- package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
- package/dist/useTaskStepperContext-BIEhTt1x.js +0 -15
- package/dist/useUpdateLegalEntity-Cp9Cq-yR.js +0 -29
- package/dist/utils-DdHbAadK.js +0 -80
- package/dist/validate-BjD_UO5x.js +0 -125
package/dist/{RootIndividualDetailsPage-DOdcTAg9.js → RootIndividualDetailsPage-2Bu7fbyB.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
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] = "d0c61477-e306-475d-9e16-7ad0a1a297d5", e._sentryDebugIdIdentifier = "sentry-dbid-d0c61477-e306-475d-9e16-7ad0a1a297d5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default,
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, h as isPartOfTrustFromLegalEntity, pt as useAccountHolder } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
10
10
|
import { i as noop } from "./genUtils-Ce61IJs8.js";
|
|
11
|
-
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-
|
|
11
|
+
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-BfskhjUw.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
|
-
import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-
|
|
14
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { i as getTrustedFieldsProvider, r as getTrustedFields } from "./ListItem-CI4fqIkg.js";
|
|
14
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CfzojTAS.js";
|
|
15
15
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DaJ3LZ2L.js";
|
|
16
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
16
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-CMejkT3R.js";
|
|
17
17
|
import { jsx } from "preact/jsx-runtime";
|
|
18
18
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
19
19
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
|
@@ -24,33 +24,33 @@ function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTar
|
|
|
24
24
|
addResourceBundles(i18n, [{
|
|
25
25
|
ns: "individual",
|
|
26
26
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
27
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
28
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
29
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
30
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
31
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
27
|
+
"../language/bg-BG.json": () => import("./bg-BG-BtgA44Ui.js"),
|
|
28
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-Ci8c58xJ.js"),
|
|
29
|
+
"../language/da-DK.json": () => import("./da-DK-C1kmOHvo.js"),
|
|
30
|
+
"../language/de-DE.json": () => import("./de-DE-qSBQE-6M.js"),
|
|
31
|
+
"../language/el-GR.json": () => import("./el-GR-CgoxpC-Q.js"),
|
|
32
32
|
"../language/en-US.instructions.json": () => import("./en-US.instructions-DfgivDPI.js"),
|
|
33
33
|
"../language/en-US.json": () => import("./en-US-C3i5Oge2.js"),
|
|
34
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
35
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
36
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
37
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
38
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
39
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
40
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
41
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
42
|
-
"../language/ja-JP.json": () => import("./ja-JP-
|
|
43
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
44
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
45
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
46
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
47
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
48
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
49
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
50
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
51
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
52
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
53
|
-
"../language/sv-SE.json": () => import("./sv-SE
|
|
34
|
+
"../language/es-ES.json": () => import("./es-ES-DyB2KXfT.js"),
|
|
35
|
+
"../language/es-LA.json": () => import("./es-LA-ChLRkx-r.js"),
|
|
36
|
+
"../language/et-EE.json": () => import("./et-EE-DSK7kb3n.js"),
|
|
37
|
+
"../language/fi-FI.json": () => import("./fi-FI-DgMsQBRO.js"),
|
|
38
|
+
"../language/fr-FR.json": () => import("./fr-FR-BTJoQq71.js"),
|
|
39
|
+
"../language/hr-HR.json": () => import("./hr-HR-COdiWKoq.js"),
|
|
40
|
+
"../language/hu-HU.json": () => import("./hu-HU-DkSsL94T.js"),
|
|
41
|
+
"../language/it-IT.json": () => import("./it-IT-CawjvBDX.js"),
|
|
42
|
+
"../language/ja-JP.json": () => import("./ja-JP-Dpe9Odla.js"),
|
|
43
|
+
"../language/lt-LT.json": () => import("./lt-LT-Fc1lOUlz.js"),
|
|
44
|
+
"../language/lv-LV.json": () => import("./lv-LV-DctYQmfH.js"),
|
|
45
|
+
"../language/nl-NL.json": () => import("./nl-NL-BIpptPn4.js"),
|
|
46
|
+
"../language/no-NO.json": () => import("./no-NO-P5tRWhV9.js"),
|
|
47
|
+
"../language/pl-PL.json": () => import("./pl-PL-_KG-ZD1N.js"),
|
|
48
|
+
"../language/pt-BR.json": () => import("./pt-BR-fKlNUybd.js"),
|
|
49
|
+
"../language/pt-PT.json": () => import("./pt-PT-DAvsI-Tr.js"),
|
|
50
|
+
"../language/ro-RO.json": () => import("./ro-RO-CQJk7Cpo.js"),
|
|
51
|
+
"../language/sk-SK.json": () => import("./sk-SK-Bx2_85dW.js"),
|
|
52
|
+
"../language/sl-SI.json": () => import("./sl-SI-DO9c7geI.js"),
|
|
53
|
+
"../language/sv-SE.json": () => import("./sv-SE-l_UVgmVu.js")
|
|
54
54
|
}), `../language/${lang}.json`, 3)
|
|
55
55
|
}]);
|
|
56
56
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -1,17 +1,17 @@
|
|
|
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] = "e5fa99d7-06e8-4f15-90b0-a3be2c42cd39", e._sentryDebugIdIdentifier = "sentry-dbid-e5fa99d7-06e8-4f15-90b0-a3be2c42cd39");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { I as ToastContextProvider } from "./resolveEnvironment-
|
|
6
|
+
import { I as ToastContextProvider } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-BblJeZYj.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
10
10
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
11
11
|
import { i as noop, o as entriesOf } from "./genUtils-Ce61IJs8.js";
|
|
12
|
-
import { i as useAnalyticsContext, r as KEYBOARD_KEYS, t as Modal } from "./Modal-
|
|
13
|
-
import { t as useId } from "./useId-
|
|
14
|
-
import { n as debouncedInputEvent, t as Checkbox } from "./Checkbox-
|
|
12
|
+
import { i as useAnalyticsContext, r as KEYBOARD_KEYS, t as Modal } from "./Modal-By_wpf9o.js";
|
|
13
|
+
import { t as useId } from "./useId-DqpXTon5.js";
|
|
14
|
+
import { n as debouncedInputEvent, t as Checkbox } from "./Checkbox-2Rp9bWYN.js";
|
|
15
15
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,26 +1,26 @@
|
|
|
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] = "8d7ba983-9ce4-4b21-9845-cf1d2e3640c2", e._sentryDebugIdIdentifier = "sentry-dbid-8d7ba983-9ce4-4b21-9845-cf1d2e3640c2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as __exportAll, n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, nt as isEmpty } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-oqvTDztg.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
10
10
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
11
11
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
13
|
import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DbKnutwk.js";
|
|
14
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
15
|
-
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-
|
|
14
|
+
import { i as useAnalyticsContext } from "./Modal-By_wpf9o.js";
|
|
15
|
+
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-gzi6QOI7.js";
|
|
16
16
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
17
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
18
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
19
|
-
import { a as MaybeModal, r as Field, t as Select } from "./Select-
|
|
20
|
-
import { t as Checkbox } from "./Checkbox-
|
|
21
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
22
|
-
import { t as useForm } from "./useForm-
|
|
23
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
17
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-DqpXTon5.js";
|
|
18
|
+
import { t as EndStateLayout } from "./EndStateLayout-CRNRpDeu.js";
|
|
19
|
+
import { a as MaybeModal, r as Field, t as Select } from "./Select-CrcaoG0i.js";
|
|
20
|
+
import { t as Checkbox } from "./Checkbox-2Rp9bWYN.js";
|
|
21
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BXv-wuAJ.js";
|
|
22
|
+
import { t as useForm } from "./useForm-BhfuVkAR.js";
|
|
23
|
+
import { t as formatValidationError } from "./formatValidationError-DdKr3rgo.js";
|
|
24
24
|
import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
|
|
25
25
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
26
26
|
import { useCallback, useMemo, useState } from "preact/hooks";
|
|
@@ -231,33 +231,33 @@ function SignPCIComponent({ modalView = false, onClose, onSigned, onUnmount, sel
|
|
|
231
231
|
{
|
|
232
232
|
ns: "common",
|
|
233
233
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
234
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
235
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
236
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
237
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
238
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
234
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BizRzO_4.js"),
|
|
235
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-DcUnrLLF.js"),
|
|
236
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-DxZQbdeO.js"),
|
|
237
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-BnxQPuqK.js"),
|
|
238
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-Dv4ru2dp.js"),
|
|
239
239
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CqF1qVJV.js"),
|
|
240
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
241
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
242
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
243
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
244
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
245
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
246
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
247
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
248
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
249
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
250
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
251
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
252
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
253
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
254
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
255
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
256
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
257
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
258
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
259
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
260
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
240
|
+
"../../../language/locales/en-US.json": () => import("./en-US-C_-DId-G.js"),
|
|
241
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-DNhmrVEV.js"),
|
|
242
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-Oe31aP7N.js"),
|
|
243
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-BgBr1C0u.js"),
|
|
244
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BSsXGaNE.js"),
|
|
245
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-C88I1PF4.js"),
|
|
246
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-HlAOaG4N.js"),
|
|
247
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-s1kS1v8Y.js"),
|
|
248
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-DPOJ9mKi.js"),
|
|
249
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-DGj167Zw.js"),
|
|
250
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CEpjHJry.js"),
|
|
251
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-COsG0cJY.js"),
|
|
252
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-9sJ9sG_Q.js"),
|
|
253
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-DnsCTUl4.js"),
|
|
254
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-BX9Xsn_R.js"),
|
|
255
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-D23HWCOv2.js"),
|
|
256
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-oMj1KA74.js"),
|
|
257
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cri5-XPn.js"),
|
|
258
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-XvPPBgTO.js"),
|
|
259
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-B31X-t8A.js"),
|
|
260
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-DBANqFwL.js")
|
|
261
261
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
262
262
|
},
|
|
263
263
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
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] = "3e0c37f2-9b3e-472b-a8dd-64ae1ab6d0ac", e._sentryDebugIdIdentifier = "sentry-dbid-3e0c37f2-9b3e-472b-a8dd-64ae1ab6d0ac");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
7
|
-
import { t as Button } from "./Button-
|
|
7
|
+
import { t as Button } from "./Button-oqvTDztg.js";
|
|
8
8
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
10
10
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
11
|
-
import { r as Field } from "./Select-
|
|
11
|
+
import { r as Field } from "./Select-CrcaoG0i.js";
|
|
12
12
|
import { t as Image } from "./Image-D82terx4.js";
|
|
13
|
-
import { t as useForm } from "./useForm-
|
|
13
|
+
import { t as useForm } from "./useForm-BhfuVkAR.js";
|
|
14
14
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
15
15
|
import { lazy } from "preact/compat";
|
|
16
16
|
import { useState as useState$1 } from "preact/hooks";
|
|
@@ -1,16 +1,16 @@
|
|
|
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] = "31121de5-6bce-4f89-b4ea-6ba1557f1d38", e._sentryDebugIdIdentifier = "sentry-dbid-31121de5-6bce-4f89-b4ea-6ba1557f1d38");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
10
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
10
|
+
import { C as EntityTypes } from "./processCapabilities-BfskhjUw.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
12
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CfzojTAS.js";
|
|
13
|
+
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-UyUhXzON.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
import { skipToken } from "@tanstack/preact-query";
|
|
16
16
|
//#region src/components/Business/pages/SoleProprietorshipPage.tsx
|
|
@@ -22,32 +22,32 @@ function SoleProprietorshipPage({ solePropId, onSubmit, handleHomeClick }) {
|
|
|
22
22
|
addResourceBundles(i18n, [{
|
|
23
23
|
ns: "business",
|
|
24
24
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
25
|
-
"../language/bg-BG.json": () => import("./bg-BG-
|
|
26
|
-
"../language/cs-CZ.json": () => import("./cs-CZ-
|
|
27
|
-
"../language/da-DK.json": () => import("./da-DK-
|
|
28
|
-
"../language/de-DE.json": () => import("./de-DE-
|
|
29
|
-
"../language/el-GR.json": () => import("./el-GR-
|
|
25
|
+
"../language/bg-BG.json": () => import("./bg-BG-DYkxVgeJ.js"),
|
|
26
|
+
"../language/cs-CZ.json": () => import("./cs-CZ-lJQmuyHq.js"),
|
|
27
|
+
"../language/da-DK.json": () => import("./da-DK-D53M_d04.js"),
|
|
28
|
+
"../language/de-DE.json": () => import("./de-DE-qJPTCQlG.js"),
|
|
29
|
+
"../language/el-GR.json": () => import("./el-GR-Bx996PXx.js"),
|
|
30
30
|
"../language/en-US.json": () => import("./en-US-CJPD8qHc.js"),
|
|
31
|
-
"../language/es-ES.json": () => import("./es-ES-
|
|
32
|
-
"../language/es-LA.json": () => import("./es-LA-
|
|
33
|
-
"../language/et-EE.json": () => import("./et-EE-
|
|
34
|
-
"../language/fi-FI.json": () => import("./fi-FI-
|
|
35
|
-
"../language/fr-FR.json": () => import("./fr-FR-
|
|
36
|
-
"../language/hr-HR.json": () => import("./hr-HR-
|
|
37
|
-
"../language/hu-HU.json": () => import("./hu-HU-
|
|
38
|
-
"../language/it-IT.json": () => import("./it-IT-
|
|
39
|
-
"../language/ja-JP.json": () => import("./ja-JP-
|
|
40
|
-
"../language/lt-LT.json": () => import("./lt-LT-
|
|
41
|
-
"../language/lv-LV.json": () => import("./lv-LV-
|
|
42
|
-
"../language/nl-NL.json": () => import("./nl-NL-
|
|
43
|
-
"../language/no-NO.json": () => import("./no-NO-
|
|
44
|
-
"../language/pl-PL.json": () => import("./pl-PL-
|
|
45
|
-
"../language/pt-BR.json": () => import("./pt-BR-
|
|
46
|
-
"../language/pt-PT.json": () => import("./pt-PT-
|
|
47
|
-
"../language/ro-RO.json": () => import("./ro-RO-
|
|
48
|
-
"../language/sk-SK.json": () => import("./sk-SK-
|
|
49
|
-
"../language/sl-SI.json": () => import("./sl-SI-
|
|
50
|
-
"../language/sv-SE.json": () => import("./sv-SE-
|
|
31
|
+
"../language/es-ES.json": () => import("./es-ES-U4-lDfZq.js"),
|
|
32
|
+
"../language/es-LA.json": () => import("./es-LA-B5IRDCf_.js"),
|
|
33
|
+
"../language/et-EE.json": () => import("./et-EE-4_ZUNt3W.js"),
|
|
34
|
+
"../language/fi-FI.json": () => import("./fi-FI-D06EzKrW.js"),
|
|
35
|
+
"../language/fr-FR.json": () => import("./fr-FR-Dl4NL-Nc.js"),
|
|
36
|
+
"../language/hr-HR.json": () => import("./hr-HR-B11sggmG.js"),
|
|
37
|
+
"../language/hu-HU.json": () => import("./hu-HU-Dp6xOBN_.js"),
|
|
38
|
+
"../language/it-IT.json": () => import("./it-IT-BlaVymCj.js"),
|
|
39
|
+
"../language/ja-JP.json": () => import("./ja-JP-h3E8hgLv.js"),
|
|
40
|
+
"../language/lt-LT.json": () => import("./lt-LT-B18sQY9g.js"),
|
|
41
|
+
"../language/lv-LV.json": () => import("./lv-LV-adiXoKhv.js"),
|
|
42
|
+
"../language/nl-NL.json": () => import("./nl-NL-DOB0b0m4.js"),
|
|
43
|
+
"../language/no-NO.json": () => import("./no-NO-BG1sYkpp.js"),
|
|
44
|
+
"../language/pl-PL.json": () => import("./pl-PL-J9S3_lCf.js"),
|
|
45
|
+
"../language/pt-BR.json": () => import("./pt-BR-BYbyk6xS.js"),
|
|
46
|
+
"../language/pt-PT.json": () => import("./pt-PT-D8ldyR-j.js"),
|
|
47
|
+
"../language/ro-RO.json": () => import("./ro-RO-CnMe6Mfw.js"),
|
|
48
|
+
"../language/sk-SK.json": () => import("./sk-SK-Br1Y4_CN.js"),
|
|
49
|
+
"../language/sl-SI.json": () => import("./sl-SI-DHPadSTy.js"),
|
|
50
|
+
"../language/sv-SE.json": () => import("./sv-SE-BXrlr0X5.js")
|
|
51
51
|
}), `../language/${lang}.json`, 5)
|
|
52
52
|
}]);
|
|
53
53
|
if (isLoading || solePropId && !solePropLe) return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -1,14 +1,14 @@
|
|
|
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] = "43b55635-2f69-41af-bbf9-440c6fdaaf4d", e._sentryDebugIdIdentifier = "sentry-dbid-43b55635-2f69-41af-bbf9-440c6fdaaf4d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, k as Header, x as Alert } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-BblJeZYj.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
10
10
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
11
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
11
|
+
import { n as IconButton, t as Button } from "./Button-oqvTDztg.js";
|
|
12
12
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
13
13
|
import { n as useLegalEntities, r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
14
14
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
@@ -16,37 +16,35 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js"
|
|
|
16
16
|
import { a as objectsDeepEqual } from "./genUtils-Ce61IJs8.js";
|
|
17
17
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
18
18
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
19
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
19
|
+
import { C as EntityTypes } from "./processCapabilities-BfskhjUw.js";
|
|
20
20
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
21
|
-
import { i as useAnalyticsContext, t as Modal } from "./Modal-
|
|
22
|
-
import { t as InputText } from "./InputText-
|
|
23
|
-
import {
|
|
21
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-By_wpf9o.js";
|
|
22
|
+
import { t as InputText } from "./InputText-BqeL5dXt.js";
|
|
23
|
+
import { v as LandingLayout } from "./form-rules-BhIs9ilj.js";
|
|
24
24
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
25
25
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
26
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
27
|
-
import { c as TileGroup } from "./bafinUtils-
|
|
28
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
29
|
-
import { t as Avatar } from "./Avatar-
|
|
30
|
-
import { r as Field, t as Select } from "./Select-
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
26
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-DqpXTon5.js";
|
|
27
|
+
import { c as TileGroup } from "./bafinUtils-F8i4raV6.js";
|
|
28
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CfzojTAS.js";
|
|
29
|
+
import { t as Avatar } from "./Avatar-BbOb0bui.js";
|
|
30
|
+
import { r as Field, t as Select } from "./Select-CrcaoG0i.js";
|
|
31
|
+
import { o as StructuredList, r as formatObject, s as Confirm } from "./utils-DyriwmGv.js";
|
|
32
|
+
import { m as useCreateLegalEntity, p as useUpdateLegalEntity } from "./StateField-BnyUQjAj.js";
|
|
33
|
+
import { M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, m as FormFlow, p as getRequiredForms, t as RadioGroup, u as CountryField, y as useFormComposer } from "./RadioGroup-e6Ty_ggj.js";
|
|
33
34
|
import { t as Image } from "./Image-D82terx4.js";
|
|
34
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
35
|
-
import { t as Checkbox } from "./Checkbox-
|
|
36
|
-
import { t as
|
|
37
|
-
import {
|
|
38
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DbQ2E-rM.js";
|
|
39
|
-
import { a as createDocumentRequest, o as documentApiUtils } from "./validate-BbOeJY9-.js";
|
|
40
|
-
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
35
|
+
import { t as ErrorPanel } from "./ErrorPanel-jcVYNW8o.js";
|
|
36
|
+
import { t as Checkbox } from "./Checkbox-2Rp9bWYN.js";
|
|
37
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BXv-wuAJ.js";
|
|
38
|
+
import { a as createDocumentRequest, o as documentApiUtils } from "./validate-C2fajdCR.js";
|
|
41
39
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
42
|
-
import { t as getValidationErrorDisplayMessages } from "./validationError-
|
|
43
|
-
import { t as
|
|
44
|
-
import { t as
|
|
45
|
-
import { t as
|
|
40
|
+
import { t as getValidationErrorDisplayMessages } from "./validationError-DudGlB6v.js";
|
|
41
|
+
import { t as InputDate } from "./InputDate-DMcomeFj.js";
|
|
42
|
+
import { t as TextArea } from "./TextArea-Doiwq6Fz.js";
|
|
43
|
+
import { t as Dropzone } from "./Dropzone-CTdbCPiL.js";
|
|
46
44
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
47
45
|
import { t as isEmpty } from "./isEmpty-DD8Insy0.js";
|
|
48
46
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
49
|
-
import { n as validateDateNotInTheFuture } from "./validate
|
|
47
|
+
import { n as validateDateNotInTheFuture } from "./validate-DruWE6jY.js";
|
|
50
48
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
51
49
|
import { t as formatAmountWithCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
52
50
|
import { lazy } from "preact/compat";
|
|
@@ -2748,7 +2746,7 @@ var SourceOfFundsPage = ({ onSubmit, handleHomeClick, asAwe }) => {
|
|
|
2748
2746
|
"../tasks/SourceOfFundsDropin/language/el-GR.json": () => import("./el-GR-DaAMIpOR.js"),
|
|
2749
2747
|
"../tasks/SourceOfFundsDropin/language/en-US.json": () => import("./en-US-D0fscfsz.js"),
|
|
2750
2748
|
"../tasks/SourceOfFundsDropin/language/es-ES.json": () => import("./es-ES-tVQDUTJN.js"),
|
|
2751
|
-
"../tasks/SourceOfFundsDropin/language/es-LA.json": () => import("./es-LA-
|
|
2749
|
+
"../tasks/SourceOfFundsDropin/language/es-LA.json": () => import("./es-LA-CG_cu1hM.js"),
|
|
2752
2750
|
"../tasks/SourceOfFundsDropin/language/et-EE.json": () => import("./et-EE-BCWBT8XN.js"),
|
|
2753
2751
|
"../tasks/SourceOfFundsDropin/language/fi-FI.json": () => import("./fi-FI-B-7uBAf5.js"),
|
|
2754
2752
|
"../tasks/SourceOfFundsDropin/language/fr-FR.json": () => import("./fr-FR-CDv300-8.js"),
|
|
@@ -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] = "6005fd58-96c9-4a33-9cb1-89129f6f73b6", e._sentryDebugIdIdentifier = "sentry-dbid-6005fd58-96c9-4a33-9cb1-89129f6f73b6");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
6
|
-
import { t as useTaskStepperContext } from "./useTaskStepperContext-
|
|
7
|
-
import { t as useHideTaskStepper } from "./useHideTaskStepper-
|
|
8
|
-
import { SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
5
|
+
import { t as EndStateLayout } from "./EndStateLayout-CRNRpDeu.js";
|
|
6
|
+
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
7
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-Dlzsx-RK.js";
|
|
8
|
+
import { SourceOfFundsPage } from "./SourceOfFundsPage-Bu9e93PV.js";
|
|
9
9
|
import { jsx } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/Steps/SourceOfFundsWorkflow.tsx
|
|
11
11
|
var SourceOfFundsWorkflow = ({ node }) => {
|
|
@@ -1,13 +1,54 @@
|
|
|
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] = "80ffb662-2efa-4d14-b6da-12ac1fdb0e64", e._sentryDebugIdIdentifier = "sentry-dbid-80ffb662-2efa-4d14-b6da-12ac1fdb0e64");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-
|
|
6
|
+
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-Bp-RuIhz.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
7
8
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
9
|
+
import { n as useInvalidateRootLegalEntity } from "./useId-DqpXTon5.js";
|
|
10
|
+
import { r as Field, t as Select } from "./Select-CrcaoG0i.js";
|
|
11
|
+
import { s as validateNotEmptyOnBlur, w as summaryItem } from "./RadioGroup-e6Ty_ggj.js";
|
|
10
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
+
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
14
|
+
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
15
|
+
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
16
|
+
return httpPost({
|
|
17
|
+
baseUrl,
|
|
18
|
+
path: `legalEntities/${legalEntityId}/create`
|
|
19
|
+
}, data);
|
|
20
|
+
};
|
|
21
|
+
var useCreateLegalEntity = (options) => {
|
|
22
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
23
|
+
return useMutation({
|
|
24
|
+
mutationFn: (payload) => {
|
|
25
|
+
return createLegalEntity(rootLegalEntityId.value, baseUrl.value, payload);
|
|
26
|
+
},
|
|
27
|
+
...options
|
|
28
|
+
});
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/api/legalEntity/useUpdateLegalEntity.ts
|
|
32
|
+
var updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
33
|
+
return httpPost({
|
|
34
|
+
baseUrl,
|
|
35
|
+
path: `legalEntities/${rootLegalEntityId}`
|
|
36
|
+
}, data);
|
|
37
|
+
};
|
|
38
|
+
var useUpdateLegalEntity = (options) => {
|
|
39
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
40
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
41
|
+
const queryClient = useQueryClient();
|
|
42
|
+
return useMutation({
|
|
43
|
+
mutationFn: (payload) => updateLegalEntity(rootLegalEntityId.value, baseUrl.value, payload),
|
|
44
|
+
onSuccess: async (response, payload) => {
|
|
45
|
+
if (response.id === rootLegalEntityId.value) await invalidateRootLegalEntity();
|
|
46
|
+
else queryClient.setQueryData(["legalEntity", payload.id], response);
|
|
47
|
+
},
|
|
48
|
+
...options
|
|
49
|
+
});
|
|
50
|
+
};
|
|
51
|
+
//#endregion
|
|
11
52
|
//#region src/components/Shared/forms/Address/constants.ts
|
|
12
53
|
var addressFields = [
|
|
13
54
|
"street",
|
|
@@ -212,32 +253,7 @@ var mapAddressLabelsNewSummary = (data, datasetUtils) => {
|
|
|
212
253
|
};
|
|
213
254
|
//#endregion
|
|
214
255
|
//#region src/components/Shared/fields/StateField/fieldConfig.ts
|
|
215
|
-
var
|
|
216
|
-
label: "stateOrProvince",
|
|
217
|
-
validators: validateNotEmptyOnBlur
|
|
218
|
-
};
|
|
219
|
-
var defaultFieldConfig = {
|
|
220
|
-
[CountryCodes.Australia]: {
|
|
221
|
-
label: "state",
|
|
222
|
-
validators: validateNotEmptyOnBlur
|
|
223
|
-
},
|
|
224
|
-
[CountryCodes.Brazil]: {
|
|
225
|
-
label: "state",
|
|
226
|
-
validators: validateNotEmptyOnBlur
|
|
227
|
-
},
|
|
228
|
-
[CountryCodes.Canada]: {
|
|
229
|
-
label: "provinceOrTerritory",
|
|
230
|
-
validators: validateNotEmptyOnBlur
|
|
231
|
-
},
|
|
232
|
-
[CountryCodes.NewZealand]: {
|
|
233
|
-
label: "region",
|
|
234
|
-
validators: validateNotEmptyOnBlur
|
|
235
|
-
},
|
|
236
|
-
[CountryCodes.UnitedStates]: ({ isBusiness }) => ({
|
|
237
|
-
label: isBusiness ? "whereIsYourBusinessRegistered" : "state",
|
|
238
|
-
validators: validateNotEmptyOnBlur
|
|
239
|
-
})
|
|
240
|
-
};
|
|
256
|
+
var stateFieldMetadata = { validators: validateNotEmptyOnBlur };
|
|
241
257
|
/**
|
|
242
258
|
* Returns the placeholder text for state field based on country.
|
|
243
259
|
*/
|
|
@@ -253,15 +269,14 @@ var getStatePlaceholderText = (t, { country }) => {
|
|
|
253
269
|
//#endregion
|
|
254
270
|
//#region src/components/Shared/fields/StateField/StateField.tsx
|
|
255
271
|
var STATE_FIELD = ["stateOrProvince"];
|
|
256
|
-
function StateField({ data, valid, errors, readonly, handleChangeFor, selectedCountry, handleBlur,
|
|
272
|
+
function StateField({ data, valid, errors, readonly, handleChangeFor, selectedCountry, handleBlur, labelOverride }) {
|
|
257
273
|
const { t } = useTranslation("common");
|
|
258
274
|
const { dataset: states, loaded } = useDataset(datasetIdentifier.state(selectedCountry), !selectedCountry || !COUNTRIES_WITH_STATES_DATASET.includes(selectedCountry));
|
|
259
|
-
const { label: resolvedLabel } = resolveFieldMetadata(defaultFieldConfig[selectedCountry], { isBusiness: isBusinessSearch }, defaultFieldMetadata);
|
|
260
275
|
const labelKey = getKeyForField("stateOrProvince", selectedCountry);
|
|
261
276
|
if (!loaded || !states.length) return null;
|
|
262
277
|
return /* @__PURE__ */ jsx(Field, {
|
|
263
278
|
name: "stateOrProvince",
|
|
264
|
-
label: t(($) => $[
|
|
279
|
+
label: labelOverride ?? t(($) => $[labelKey]),
|
|
265
280
|
errorMessage: errors.stateOrProvince,
|
|
266
281
|
isValid: valid.stateOrProvince,
|
|
267
282
|
dataTestId: "stateOrProvince",
|
|
@@ -278,4 +293,4 @@ function StateField({ data, valid, errors, readonly, handleChangeFor, selectedCo
|
|
|
278
293
|
});
|
|
279
294
|
}
|
|
280
295
|
//#endregion
|
|
281
|
-
export {
|
|
296
|
+
export { getAddressSchemaLabelsByCountry as a, mapAddressLabelsNewSummary as c, COUNTRIES_WITH_STATES_DATASET as d, addressFields as f, getAddressSchemaForCountry as i, CONDENSED_ADDRESS_FIELDS as l, useCreateLegalEntity as m, StateField as n, getKeyForField as o, useUpdateLegalEntity as p, stateFieldMetadata as r, mapAddressLabels as s, STATE_FIELD as t, COUNTRIES_WITH_HOUSE_NUMBER_FIRST as u };
|