@adyen/kyc-components 4.15.0-beta.1 → 4.16.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-D9RkOGLa.js → AcceptTermsOfServiceComponent-sWwPrHpD.js} +56 -56
- package/dist/{AccountSetupRejected-DXrxeaTA.js → AccountSetupRejected-h8i4srXf.js} +1 -1
- package/dist/{AdaptiveWorkflow-DkyHp3I-.js → AdaptiveWorkflow-CVnJ9NZw.js} +17 -19
- package/dist/{AdaptiveWorkflowComponent-C0s3XA9b.js → AdaptiveWorkflowComponent-DlLfVvPW.js} +28 -28
- package/dist/{Address-ByNnIfrX.js → Address-BAE2QQ-5.js} +5 -5
- package/dist/{BusinessFinancingDropin-BI9qbTfa.js → BusinessFinancingDropin-D2MqJxaF.js} +24 -24
- package/dist/{BusinessFinancingPage-rrQUrZBL.js → BusinessFinancingPage-DpyatG4F.js} +28 -28
- package/dist/{BusinessTypeSelectionPage-DVlhdBOT.js → BusinessTypeSelectionPage-bkRgRUiw.js} +6 -6
- package/dist/{CompanyRegistrationNumberTypeSelector-B72MvtCt.js → CompanyRegistrationNumberTypeSelector-CFqyuzoH.js} +14 -19
- package/dist/{ContactDetails-9JGt7Lx0.js → ContactDetails-Cqos4P-U.js} +3 -3
- package/dist/{ContextGuidance-CaskjnLp.js → ContextGuidance-DLErBW62.js} +1 -1
- package/dist/{CountryField-D3T5pszb.js → CountryField-DSI1tYm2.js} +2 -2
- package/dist/{Currency-C9smd9hj.js → Currency-Bfjuo_qU.js} +2 -2
- package/dist/{CustomerSupport-CxnPz_MZ.js → CustomerSupport-ry1TO7UY.js} +10 -10
- package/dist/{DebugModal-CmyRTcuw.js → DebugModal-BCYwesU5.js} +3 -3
- package/dist/{DecisionMakerDetails-Cur05tOk.js → DecisionMakerDetails-BnlhqSiD.js} +3 -3
- package/dist/{DecisionMakerDetailsPage-Dqkcvgs5.js → DecisionMakerDetailsPage-DzXL7rI0.js} +4 -4
- package/dist/{DecisionMakers-oSWUwKsE.js → DecisionMakers-DKaoWAJE.js} +8 -8
- package/dist/{Dropzone-B5f298Ah.js → Dropzone-JmVSKeOB.js} +2 -2
- package/dist/{EntityAssociation-Bfb_h3mX.js → EntityAssociation-DMre5SqE.js} +1 -1
- package/dist/{ErrorPanel-CbTDpmpi.js → ErrorPanel-B5GuGh_o.js} +2 -2
- package/dist/{IndividualDropin-DypupM2F.js → IndividualDropin-DHDR28cv.js} +32 -32
- package/dist/{Introduction-CvXA6-RL.js → Introduction-BiWv1ZBC.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-D5gat3zM.js → InvitedDecisionMakerComponent-CQ8wt0IK.js} +29 -29
- package/dist/{JpAddress-C38zRvZE.js → JpAddress-BtLxuxr9.js} +4 -4
- package/dist/{LegalCompanyNameField-BxLhDFZ4.js → LegalCompanyNameField-B9Cwuyju.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-B-MsZPf-.js → LegalRepresentativeDetailsPage-2iKaMqsA.js} +4 -4
- package/dist/{MaskedInput-CPYBS2wP.js → MaskedInput-VtgquqE0.js} +8 -5
- package/dist/{MaybeModal-95T3hqPt.js → MaybeModal-BVaPzNUU.js} +1 -1
- package/dist/{NewSummary-Cgebw71K.js → NewSummary-CaV_Faij.js} +1 -1
- package/dist/{PayoutDetailsDropinMultiForm-BvJmm0SM.js → PayoutDetailsDropinMultiForm-DTNxQTj8.js} +50 -38
- package/dist/{PayoutDetailsPage-CmUyWu_t.js → PayoutDetailsPage-B_umtanU.js} +6 -6
- package/dist/{Review-B1T5E3pI.js → Review-9LTJVH2e.js} +2 -2
- package/dist/{RootBusinessDetailsPage-CB44DIGg.js → RootBusinessDetailsPage-jLEoZd66.js} +7 -8
- package/dist/{RootBusinessLinesPage-BdxPHbIJ.js → RootBusinessLinesPage-DZ0u4YRf.js} +15 -15
- package/dist/{RootIndividualDetailsPage-BcM3xHZ8.js → RootIndividualDetailsPage-BzC1-cyB.js} +4 -4
- package/dist/{Select-CvIMIYjl.js → Select-CS2E69CJ.js} +4 -2
- package/dist/{SignPCIComponent-o5iWDa9u.js → SignPCIComponent-BAemgvnk.js} +56 -56
- package/dist/{SingpassSelection-CRFf-u1d.js → SingpassSelection-msWdDNgM.js} +1 -1
- package/dist/{SoleProprietorshipPage-DFEn0Ewu.js → SoleProprietorshipPage-DMGE-cEd.js} +6 -6
- package/dist/{SourceOfFundsPage-BCVelN0X.js → SourceOfFundsPage-DyczSaZH.js} +18 -21
- package/dist/{Summary-8V5EZBd4.js → Summary-CunMdpUq.js} +2 -2
- package/dist/{TaskListItem-C3XFLrVq.js → TaskListItem-DDKGB2H5.js} +3 -3
- package/dist/{TaxInformationField-7C6iLtFs.js → TaxInformationField-BKnequKz.js} +11 -13
- package/dist/{TaxReportingDropin-CW0-CVJR.js → TaxReportingDropin-Ca1wEDdY.js} +10 -10
- package/dist/{TrustDetailsPage-Cw2OH_cP.js → TrustDetailsPage-DCTp6-QO.js} +27 -27
- package/dist/{TrustMemberCompanyPage-XaVxyqQT.js → TrustMemberCompanyPage-CHtXG88-.js} +7 -7
- package/dist/{TrustMemberIndividualPage-DQd5nIl2.js → TrustMemberIndividualPage-CgnPbD6F.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BJhaU0Ju.js → TrustMemberRoleAndTypePage-Bey9Tqzz.js} +10 -10
- package/dist/{TrustMembersOverview-CsdYkKZt.js → TrustMembersOverview-DuWWJMGv.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-CeDtx9P7.js → UnincorporatedPartnershipIndividualPage-DFFiL1br.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-B4AUh2uw.js → UnincorporatedPartnershipMemberCompanyPage-BWBVhegh.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CaQgmfeu.js → UnincorporatedPartnershipMemberRoleAndTypePage-C5DV96eC.js} +2 -2
- package/dist/{UnincorporatedPartnershipMembersOverview-zm15XNm0.js → UnincorporatedPartnershipMembersOverview-B5xNG_92.js} +3 -3
- package/dist/{VerificationErrorAlert-D76yRVAZ.js → VerificationErrorAlert-DBHKdlD8.js} +2 -2
- package/dist/{accountHolderUtils-DnEhXSHF.js → accountHolderUtils-DuVrEKUh.js} +1 -1
- package/dist/adyen-business-financing.js +29 -29
- package/dist/adyen-individual-configuration.js +30 -30
- package/dist/adyen-individual-status.js +27 -27
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +67 -66
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +26 -26
- package/dist/adyen-transfer-instrument-configuration.js +29 -29
- package/dist/adyen-transfer-instrument-management.js +32 -32
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{bg-BG-KjJy4fjZ.js → bg-BG-BKPnSg5G.js} +3 -1
- package/dist/bg-BG-BcmC41vE.js +7 -0
- package/dist/{constants-DvK9RVMD.js → constants-BMNUJ3-d.js} +2 -2
- package/dist/{cs-CZ-m-2EDC49.js → cs-CZ-BBnvx4CY.js} +3 -1
- package/dist/cs-CZ-ghdW0Tc6.js +7 -0
- package/dist/da-DK-CBOVFYaa.js +7 -0
- package/dist/{da-DK-C8TyCAru.js → da-DK-CRp6gV0v.js} +3 -1
- package/dist/de-DE-CA81fzkA.js +7 -0
- package/dist/{de-DE-QoAah1C3.js → de-DE-asP1wacy.js} +3 -1
- package/dist/{el-GR-C0N0zQ3U.js → el-GR-B18pS-T4.js} +3 -1
- package/dist/el-GR-BjOmQ_B_.js +7 -0
- package/dist/en-US-B4SH4SJV.js +7 -0
- package/dist/en-US-Dab7moVA.js +7 -0
- package/dist/{en-US-DLsYeEWI.js → en-US-Dokjxy17.js} +2 -2
- package/dist/es-ES-BEYl7Z8S.js +7 -0
- package/dist/{es-ES-D5rPI9Qc.js → es-ES-BN2YT82N.js} +3 -1
- package/dist/es-LA-D741KUNg.js +7 -0
- package/dist/{es-LA-C58S3BbB.js → es-LA-DK1UJyRv.js} +3 -1
- package/dist/{et-EE-IiaprrVp.js → et-EE-6Fsbs-mA.js} +3 -1
- package/dist/et-EE-CfgyGext.js +7 -0
- package/dist/{fi-FI-DdF7vjHQ.js → fi-FI-C4Ta33KJ.js} +3 -1
- package/dist/fi-FI-DFO20YZY.js +7 -0
- package/dist/{fr-FR-jPc-OwlY.js → fr-FR-DKTSJHnY.js} +3 -1
- package/dist/fr-FR-wvWrk_PU.js +7 -0
- package/dist/{getProblemsForEntity-CXzgYL6R.js → getProblemsForEntity-CCpr4UGm.js} +1 -1
- package/dist/{hr-HR-DlIGxvkT.js → hr-HR-CII1fh9u.js} +3 -1
- package/dist/hr-HR-D0zfmZK6.js +7 -0
- package/dist/{hu-HU-DicR116D.js → hu-HU-CAlsW_OP.js} +3 -1
- package/dist/hu-HU-CL021irk.js +7 -0
- package/dist/{invalidateRootLegalEntity-DfF59VHE.js → invalidateRootLegalEntity-DUOCxqZR.js} +1 -1
- package/dist/it-IT-6VoxKX97.js +7 -0
- package/dist/{it-IT-BVAe-EX_.js → it-IT-BUwmmlzT.js} +3 -1
- package/dist/ja-JP-Cja4dur8.js +7 -0
- package/dist/{ja-JP-Fu1XFofD.js → ja-JP-XWbEAz1Y.js} +3 -1
- package/dist/lt-LT-CNFgOeH4.js +7 -0
- package/dist/{lt-LT-DfL5ey_8.js → lt-LT-Vhhg1gZf.js} +3 -1
- package/dist/lv-LV-BdSdhjTP.js +7 -0
- package/dist/{lv-LV-CqZT6L9i.js → lv-LV-x-MIpGh3.js} +3 -1
- package/dist/{mapLegalEntityToIndividualSchema-BUIjjkrb.js → mapLegalEntityToIndividualSchema-CADQNrLO.js} +1 -1
- package/dist/{mapTransferInstrumentToPayoutAccount-DZMqLmU8.js → mapTransferInstrumentToPayoutAccount-CvaJH9VL.js} +1 -1
- package/dist/nl-NL-CclRrN3_.js +7 -0
- package/dist/{nl-NL-CmlQQSLp.js → nl-NL-CvSvFKVp.js} +3 -1
- package/dist/no-NO-CO5xyGPh.js +7 -0
- package/dist/{no-NO-BatbPb3N.js → no-NO-TyUIFxXT.js} +3 -1
- package/dist/{omitObscuredFieldsIfUnchanged-Datp62BM.js → omitObscuredFieldsIfUnchanged-Ck2si051.js} +1 -1
- package/dist/{patternValidators-Dg_UvQs9.js → patternValidators-Bza9mezL.js} +1 -1
- package/dist/{pl-PL-ZyxybmlP.js → pl-PL-BYzL4w2k.js} +3 -1
- package/dist/pl-PL-DUH23AYC.js +7 -0
- package/dist/{process-field-configurations-n3ecaPQ8.js → process-field-configurations-uFcwmzTd.js} +1 -1
- package/dist/{processCapabilities-hLmRus8U.js → processCapabilities-fPuXc9gL.js} +11 -11
- package/dist/{pt-BR-Dq0Sd1h9.js → pt-BR-D5r3Ig2a.js} +3 -1
- package/dist/pt-BR-MAQR_CUu2.js +7 -0
- package/dist/pt-PT-CoKsjpyN.js +7 -0
- package/dist/{pt-PT-BuM6Edx0.js → pt-PT-Dsxz9fKe.js} +3 -1
- package/dist/{resolveEnvironment-BO-j8Bwm.js → resolveEnvironment-l2TGYFxw.js} +34 -38
- package/dist/{ro-RO-DJjle7nF.js → ro-RO-BfVd2Ps9.js} +3 -1
- package/dist/ro-RO-Cpv5pKod.js +7 -0
- package/dist/{sk-SK-CSPSMUYC.js → sk-SK-ID0z1rIS.js} +3 -1
- package/dist/sk-SK-p_p2X_aA.js +7 -0
- package/dist/sl-SI-BpZp1MAq.js +7 -0
- package/dist/{sl-SI-C82Kr3vf.js → sl-SI-hxmAPrRM.js} +3 -1
- package/dist/sv-SE-BoXCPhGb.js +7 -0
- package/dist/{sv-SE-DT9jLSs2.js → sv-SE-BuzHXTQj.js} +3 -1
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +1 -2
- package/dist/types/components/BankAccount/fields/PreferredCurrency/PreferredCurrency.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +7 -4
- package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +23 -7
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/ProofOfAddressDocument/ProofOfAddressDocument.d.ts +2 -0
- package/dist/types/components/Business/forms/ProofOfAddressDocument/types.d.ts +5 -0
- package/dist/types/components/Business/forms/rules.d.ts +2 -0
- package/dist/types/components/Business/hooks/useSubmitBusinessDetails.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +2 -2
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +0 -1
- package/dist/types/components/Shared/fields/LegalEntityIdentifierField/LegalEntityIdentifierField.d.ts +3 -0
- package/dist/types/components/Shared/fields/LegalEntityIdentifierField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/LegalEntityIdentifierField/types.d.ts +8 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +1 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +0 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/molecules/MaskedInput/MaskedInput.d.ts +2 -1
- package/dist/types/context/ToggleContext/types.d.ts +2 -6
- package/dist/types/hooks/useMultiForm/types.d.ts +4 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getFormSlice.d.ts +2 -2
- package/dist/{useBusinessDetailsData-DBmj3nNJ.js → useBusinessDetailsData-C3mDLYw0.js} +273 -210
- package/dist/{useCanSeeIntroduction-Cj5FkQFO.js → useCanSeeIntroduction-87OxZXI3.js} +1 -1
- package/dist/{useDataMissingRemediations-CrKtd_Fd.js → useDataMissingRemediations-BtSioM7F.js} +1 -1
- package/dist/{useForm-CANEmbG2.js → useForm-BcvMNl0D.js} +1 -1
- package/dist/{useFormContext-D9UmS1Tj.js → useFormContext-1h2DlUxb.js} +3 -3
- package/dist/{useMultiForm-Ch5yvl-v.js → useMultiForm-C0Mz4Mm6.js} +12 -12
- package/dist/{useNavigate-D4SB__Ik.js → useNavigate-CVT5ailE.js} +30 -30
- package/dist/{useTrustMembers-BOfT11Kj.js → useTrustMembers-CNy3GIeW.js} +1 -1
- package/dist/{useUpdateLegalEntity-De_ohp9A.js → useUpdateLegalEntity-GCDgDdeE.js} +1 -1
- package/dist/{utils-X8YwekZF.js → utils-BAgsI56z.js} +2 -2
- package/dist/{utils-ztjLNfgn.js → utils-Dizf4Xxc.js} +13 -18
- package/dist/{ConstitutionalDocument-FDgHtu1v.js → utils-uuBaXnz-.js} +135 -137
- package/dist/{validate-7X0zga5Q.js → validate-cXmMxcOs.js} +1 -1
- package/dist/{validateExtractionResult-CwehLDDP.js → validateExtractionResult-Bk2WRbLs.js} +3 -3
- package/dist/{validationError-DqjDv5Q-.js → validationError-COmWiy16.js} +1 -1
- package/package.json +3 -2
- package/dist/bg-BG-FthOeqMs.js +0 -7
- package/dist/cs-CZ-nMdCNolB.js +0 -7
- package/dist/da-DK-BF_wiKbj.js +0 -7
- package/dist/de-DE-z8FJw9Yv.js +0 -7
- package/dist/el-GR-DHiKsTJQ.js +0 -7
- package/dist/en-US-BeIZBdDm.js +0 -7
- package/dist/en-US-BqGRsgfO.js +0 -7
- package/dist/es-ES-C6Rs-ie9.js +0 -7
- package/dist/es-LA-xilYCaSd.js +0 -7
- package/dist/et-EE-DEs2iukD.js +0 -7
- package/dist/fi-FI-8eStbIaM.js +0 -7
- package/dist/fr-FR-B8iVi3nn.js +0 -7
- package/dist/hr-HR-Bt2ZduQN.js +0 -7
- package/dist/hu-HU-DTRbo1IU.js +0 -7
- package/dist/it-IT-DzzajnKQ.js +0 -7
- package/dist/ja-JP-BpNu5KzH.js +0 -7
- package/dist/lt-LT-BJbA6rDr.js +0 -7
- package/dist/lv-LV-BBbE9hg5.js +0 -7
- package/dist/nl-NL-7ddo0NCH.js +0 -7
- package/dist/no-NO-Bf-QR3EY.js +0 -7
- package/dist/pl-PL-Dd9fkdnr.js +0 -7
- package/dist/pt-BR-uhrvEANO2.js +0 -7
- package/dist/pt-PT-Cz4rJgbi.js +0 -7
- package/dist/ro-RO-BnZbYPEH.js +0 -7
- package/dist/sk-SK-DBHPBJm4.js +0 -7
- package/dist/sl-SI-dukW1tgW.js +0 -7
- package/dist/sv-SE-BlGBkLAA.js +0 -7
package/dist/{AcceptTermsOfServiceComponent-D9RkOGLa.js → AcceptTermsOfServiceComponent-sWwPrHpD.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ad997cb6-ca9b-460e-a2f4-31d8a46d7fef", e._sentryDebugIdIdentifier = "sentry-dbid-ad997cb6-ca9b-460e-a2f4-31d8a46d7fef");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { c as __exportAll, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, a as doesLegalEntityRequiresLegalRepresentative, j as useToggleContext, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
@@ -16,19 +16,19 @@ import { a as getOwnSignatories } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
|
16
16
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-B1OpYOua.js";
|
|
17
17
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
18
18
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
19
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
19
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
20
20
|
import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
21
21
|
import { t as downloadFile } from "./file-1IenVoh8.js";
|
|
22
22
|
import { r as LoaderWrapper, t as getLanguageCode } from "./utils-BtyrxTzp.js";
|
|
23
23
|
import { n as getLegalEntityNameBasedOnType } from "./getName-D4ECvzcI.js";
|
|
24
24
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
25
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
25
|
+
import { t as MaybeModal } from "./MaybeModal-BVaPzNUU.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
27
27
|
import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
|
|
28
28
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
29
|
-
import { t as Select } from "./Select-
|
|
29
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
30
30
|
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
31
|
-
import { t as useForm } from "./useForm-
|
|
31
|
+
import { t as useForm } from "./useForm-BcvMNl0D.js";
|
|
32
32
|
import { t as FormNavigation } from "./FormNavigation-LjknVdf5.js";
|
|
33
33
|
import { t as ContractViewer } from "./ContractViewer-JtnAXSDa.js";
|
|
34
34
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
@@ -498,64 +498,64 @@ function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, asEmb
|
|
|
498
498
|
{
|
|
499
499
|
ns: "common",
|
|
500
500
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
501
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
502
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
503
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
504
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
505
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
501
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BcmC41vE.js"),
|
|
502
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-ghdW0Tc6.js"),
|
|
503
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CBOVFYaa.js"),
|
|
504
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CA81fzkA.js"),
|
|
505
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BjOmQ_B_.js"),
|
|
506
506
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
507
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
508
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
509
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
510
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
511
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
512
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
513
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
514
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
515
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
516
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
517
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
518
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
519
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
520
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
521
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
522
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
523
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
524
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
525
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
526
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
527
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
507
|
+
"../../../language/locales/en-US.json": () => import("./en-US-Dab7moVA.js"),
|
|
508
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-BEYl7Z8S.js"),
|
|
509
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-D741KUNg.js"),
|
|
510
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CfgyGext.js"),
|
|
511
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-DFO20YZY.js"),
|
|
512
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-wvWrk_PU.js"),
|
|
513
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-D0zfmZK6.js"),
|
|
514
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-CL021irk.js"),
|
|
515
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-6VoxKX97.js"),
|
|
516
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Cja4dur8.js"),
|
|
517
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CNFgOeH4.js"),
|
|
518
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-BdSdhjTP.js"),
|
|
519
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CclRrN3_.js"),
|
|
520
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-CO5xyGPh.js"),
|
|
521
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-DUH23AYC.js"),
|
|
522
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-MAQR_CUu2.js"),
|
|
523
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CoKsjpyN.js"),
|
|
524
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cpv5pKod.js"),
|
|
525
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-p_p2X_aA.js"),
|
|
526
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-BpZp1MAq.js"),
|
|
527
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-BoXCPhGb.js")
|
|
528
528
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
529
529
|
},
|
|
530
530
|
{
|
|
531
531
|
ns: "contract",
|
|
532
532
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
533
|
-
"../../Contract/language/bg-BG.json": () => import("./bg-BG-
|
|
534
|
-
"../../Contract/language/cs-CZ.json": () => import("./cs-CZ-
|
|
535
|
-
"../../Contract/language/da-DK.json": () => import("./da-DK-
|
|
536
|
-
"../../Contract/language/de-DE.json": () => import("./de-DE-
|
|
537
|
-
"../../Contract/language/el-GR.json": () => import("./el-GR-
|
|
533
|
+
"../../Contract/language/bg-BG.json": () => import("./bg-BG-BKPnSg5G.js"),
|
|
534
|
+
"../../Contract/language/cs-CZ.json": () => import("./cs-CZ-BBnvx4CY.js"),
|
|
535
|
+
"../../Contract/language/da-DK.json": () => import("./da-DK-CRp6gV0v.js"),
|
|
536
|
+
"../../Contract/language/de-DE.json": () => import("./de-DE-asP1wacy.js"),
|
|
537
|
+
"../../Contract/language/el-GR.json": () => import("./el-GR-B18pS-T4.js"),
|
|
538
538
|
"../../Contract/language/en-US.json": () => import("./en-US-CmzloEL3.js"),
|
|
539
|
-
"../../Contract/language/es-ES.json": () => import("./es-ES-
|
|
540
|
-
"../../Contract/language/es-LA.json": () => import("./es-LA-
|
|
541
|
-
"../../Contract/language/et-EE.json": () => import("./et-EE-
|
|
542
|
-
"../../Contract/language/fi-FI.json": () => import("./fi-FI-
|
|
543
|
-
"../../Contract/language/fr-FR.json": () => import("./fr-FR-
|
|
544
|
-
"../../Contract/language/hr-HR.json": () => import("./hr-HR-
|
|
545
|
-
"../../Contract/language/hu-HU.json": () => import("./hu-HU-
|
|
546
|
-
"../../Contract/language/it-IT.json": () => import("./it-IT-
|
|
547
|
-
"../../Contract/language/ja-JP.json": () => import("./ja-JP-
|
|
548
|
-
"../../Contract/language/lt-LT.json": () => import("./lt-LT-
|
|
549
|
-
"../../Contract/language/lv-LV.json": () => import("./lv-LV-
|
|
550
|
-
"../../Contract/language/nl-NL.json": () => import("./nl-NL-
|
|
551
|
-
"../../Contract/language/no-NO.json": () => import("./no-NO-
|
|
552
|
-
"../../Contract/language/pl-PL.json": () => import("./pl-PL-
|
|
553
|
-
"../../Contract/language/pt-BR.json": () => import("./pt-BR-
|
|
554
|
-
"../../Contract/language/pt-PT.json": () => import("./pt-PT-
|
|
555
|
-
"../../Contract/language/ro-RO.json": () => import("./ro-RO-
|
|
556
|
-
"../../Contract/language/sk-SK.json": () => import("./sk-SK-
|
|
557
|
-
"../../Contract/language/sl-SI.json": () => import("./sl-SI-
|
|
558
|
-
"../../Contract/language/sv-SE.json": () => import("./sv-SE-
|
|
539
|
+
"../../Contract/language/es-ES.json": () => import("./es-ES-BN2YT82N.js"),
|
|
540
|
+
"../../Contract/language/es-LA.json": () => import("./es-LA-DK1UJyRv.js"),
|
|
541
|
+
"../../Contract/language/et-EE.json": () => import("./et-EE-6Fsbs-mA.js"),
|
|
542
|
+
"../../Contract/language/fi-FI.json": () => import("./fi-FI-C4Ta33KJ.js"),
|
|
543
|
+
"../../Contract/language/fr-FR.json": () => import("./fr-FR-DKTSJHnY.js"),
|
|
544
|
+
"../../Contract/language/hr-HR.json": () => import("./hr-HR-CII1fh9u.js"),
|
|
545
|
+
"../../Contract/language/hu-HU.json": () => import("./hu-HU-CAlsW_OP.js"),
|
|
546
|
+
"../../Contract/language/it-IT.json": () => import("./it-IT-BUwmmlzT.js"),
|
|
547
|
+
"../../Contract/language/ja-JP.json": () => import("./ja-JP-XWbEAz1Y.js"),
|
|
548
|
+
"../../Contract/language/lt-LT.json": () => import("./lt-LT-Vhhg1gZf.js"),
|
|
549
|
+
"../../Contract/language/lv-LV.json": () => import("./lv-LV-x-MIpGh3.js"),
|
|
550
|
+
"../../Contract/language/nl-NL.json": () => import("./nl-NL-CvSvFKVp.js"),
|
|
551
|
+
"../../Contract/language/no-NO.json": () => import("./no-NO-TyUIFxXT.js"),
|
|
552
|
+
"../../Contract/language/pl-PL.json": () => import("./pl-PL-BYzL4w2k.js"),
|
|
553
|
+
"../../Contract/language/pt-BR.json": () => import("./pt-BR-D5r3Ig2a.js"),
|
|
554
|
+
"../../Contract/language/pt-PT.json": () => import("./pt-PT-Dsxz9fKe.js"),
|
|
555
|
+
"../../Contract/language/ro-RO.json": () => import("./ro-RO-BfVd2Ps9.js"),
|
|
556
|
+
"../../Contract/language/sk-SK.json": () => import("./sk-SK-ID0z1rIS.js"),
|
|
557
|
+
"../../Contract/language/sl-SI.json": () => import("./sl-SI-hxmAPrRM.js"),
|
|
558
|
+
"../../Contract/language/sv-SE.json": () => import("./sv-SE-BuzHXTQj.js")
|
|
559
559
|
}), `../../Contract/language/${lang}.json`, 5)
|
|
560
560
|
},
|
|
561
561
|
{
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "75680866-bf49-4206-bbb9-89f3eb636db8", e._sentryDebugIdIdentifier = "sentry-dbid-75680866-bf49-4206-bbb9-89f3eb636db8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { S as AlertIcon, k as Header } from "./resolveEnvironment-
|
|
6
|
+
import { S as AlertIcon, k as Header } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/Shared/AccountSetupRejected/AccountSetupRejected.tsx
|
|
9
9
|
function AccountSetupRejected() {
|
|
@@ -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] = "626aa4c4-f44f-413f-9fc6-c583c0c1be24", e._sentryDebugIdIdentifier = "sentry-dbid-626aa4c4-f44f-413f-9fc6-c583c0c1be24");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { j as useToggleContext, k as Header, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext, k as Header, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
11
11
|
import { n as Status } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
12
12
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
13
|
-
import { a as setNestedValue, i as resolveComponentProps, r as getNestedValue$4, t as TaskListItem } from "./TaskListItem-
|
|
13
|
+
import { a as setNestedValue, i as resolveComponentProps, r as getNestedValue$4, t as TaskListItem } from "./TaskListItem-DDKGB2H5.js";
|
|
14
14
|
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
15
15
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
16
16
|
import { r as KEYBOARD_KEYS, t as Modal } from "./Modal-C__-5LgI.js";
|
|
@@ -19,27 +19,27 @@ import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
|
19
19
|
import { n as translateTranslatable, r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
20
20
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
21
21
|
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
23
|
-
import { a as FormFlow_module_default } from "./useFormContext-
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
23
|
+
import { a as FormFlow_module_default } from "./useFormContext-1h2DlUxb.js";
|
|
24
24
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
25
|
-
import { t as MaskedInput } from "./MaskedInput-
|
|
25
|
+
import { t as MaskedInput } from "./MaskedInput-VtgquqE0.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
27
|
-
import { a as fromIndividualConflictSchema, c as DataConflictsModal, f as useExtractDocumentInformation, i as mapExtractionResultToSchema, n as UploadedDocument, o as toIndividualConflictSchema, p as IdentityNumber, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as useDataConflicts } from "./validateExtractionResult-
|
|
28
|
-
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-
|
|
27
|
+
import { a as fromIndividualConflictSchema, c as DataConflictsModal, f as useExtractDocumentInformation, i as mapExtractionResultToSchema, n as UploadedDocument, o as toIndividualConflictSchema, p as IdentityNumber, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as useDataConflicts } from "./validateExtractionResult-Bk2WRbLs.js";
|
|
28
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, S as getDefaultTaxIdNumberType, k as taxInformationDefaultFieldConfig, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-Dizf4Xxc.js";
|
|
29
29
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
30
30
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
31
31
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
32
|
-
import { t as Select } from "./Select-
|
|
32
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
33
33
|
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
34
34
|
import { t as Link } from "./Link-C0jrInxa.js";
|
|
35
35
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
36
|
-
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
36
|
+
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-sWwPrHpD.js";
|
|
37
37
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
38
38
|
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
39
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
39
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-CFqyuzoH.js";
|
|
40
40
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-jlXfi57a.js";
|
|
41
|
-
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
42
|
-
import { t as TaxReportingDropin } from "./TaxReportingDropin-
|
|
41
|
+
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-DyczSaZH.js";
|
|
42
|
+
import { t as TaxReportingDropin } from "./TaxReportingDropin-Ca1wEDdY.js";
|
|
43
43
|
import { lazy } from "preact/compat";
|
|
44
44
|
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";
|
|
45
45
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -202,11 +202,10 @@ function RegistrationNumberInputField({ field, fieldMetadata, currentValue, help
|
|
|
202
202
|
}
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.tsx
|
|
205
|
-
function RegistrationNumberTypeSelectorField({ country, companyType,
|
|
205
|
+
function RegistrationNumberTypeSelectorField({ country, companyType, selected, onTypeChange, exemptedOptionLabel }) {
|
|
206
206
|
return /* @__PURE__ */ jsx(CompanyRegistrationNumberTypeSelector, {
|
|
207
207
|
country,
|
|
208
208
|
companyType,
|
|
209
|
-
invertCompanyTypeFilter,
|
|
210
209
|
selected,
|
|
211
210
|
setSelected: onTypeChange,
|
|
212
211
|
exemptedOptionLabel
|
|
@@ -220,14 +219,14 @@ function getNestedValue$3(obj, path) {
|
|
|
220
219
|
var BusinessRegistrationNumberFieldGroup = withForm({
|
|
221
220
|
defaultValues: {},
|
|
222
221
|
props: {},
|
|
223
|
-
render: function BusinessRegistrationNumberFieldGroupRender({ form, basePath: registrationNumberPath, country, canExempt, companyType, state, helperText,
|
|
222
|
+
render: function BusinessRegistrationNumberFieldGroupRender({ form, basePath: registrationNumberPath, country, canExempt, companyType, state, helperText, labels, readonly, optional, shouldValidate }) {
|
|
224
223
|
const registrationNumberTypePath = `organization.registrationNumberType`;
|
|
225
224
|
const exemptedPath = `organization.exemptedFromRegistrationNumber`;
|
|
226
225
|
const registrationNumber = useStore(form.store, (s) => getNestedValue$3(s.values, registrationNumberPath));
|
|
227
226
|
const registrationNumberType = useStore(form.store, (s) => getNestedValue$3(s.values, registrationNumberTypePath));
|
|
228
227
|
const exemptedFromRegistrationNumber = useStore(form.store, (s) => getNestedValue$3(s.values, exemptedPath));
|
|
229
|
-
const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType
|
|
230
|
-
const defaultType = getDefaultRegistrationNumberType(registrationNumber, country, companyType
|
|
228
|
+
const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType);
|
|
229
|
+
const defaultType = getDefaultRegistrationNumberType(registrationNumber, country, companyType);
|
|
231
230
|
const showExemptedOption = canExempt && !!registrationNumberOptions && registrationNumberOptions.length > 1;
|
|
232
231
|
const effectiveRegistrationNumberType = exemptedFromRegistrationNumber ? "exempted" : registrationNumberType ?? defaultType;
|
|
233
232
|
const fieldMetadata = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
@@ -280,7 +279,6 @@ var BusinessRegistrationNumberFieldGroup = withForm({
|
|
|
280
279
|
field,
|
|
281
280
|
country,
|
|
282
281
|
companyType,
|
|
283
|
-
invertCompanyTypeFilter,
|
|
284
282
|
selected: effectiveRegistrationNumberType,
|
|
285
283
|
onTypeChange: handleCompanyRegistrationNumberTypeChange,
|
|
286
284
|
exemptedOptionLabel: showExemptedOption ? labels.exemptedFromRegistrationNumber : void 0
|
package/dist/{AdaptiveWorkflowComponent-C0s3XA9b.js → AdaptiveWorkflowComponent-DlLfVvPW.js}
RENAMED
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c1e1d915-9796-442f-bedb-bfbcd4fc058a", e._sentryDebugIdIdentifier = "sentry-dbid-c1e1d915-9796-442f-bedb-bfbcd4fc058a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader } from "./Button-3qGOI53m.js";
|
|
8
|
-
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-
|
|
8
|
+
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-CVnJ9NZw.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
@@ -60,33 +60,33 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
60
60
|
{
|
|
61
61
|
ns: "common",
|
|
62
62
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
63
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
64
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
65
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
66
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
67
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
63
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BcmC41vE.js"),
|
|
64
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-ghdW0Tc6.js"),
|
|
65
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CBOVFYaa.js"),
|
|
66
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CA81fzkA.js"),
|
|
67
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BjOmQ_B_.js"),
|
|
68
68
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
69
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
70
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
71
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
72
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
73
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
74
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
75
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
76
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
77
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
78
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
79
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
80
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
81
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
82
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
83
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
84
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
85
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
86
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
87
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
88
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
89
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
69
|
+
"../../../language/locales/en-US.json": () => import("./en-US-Dab7moVA.js"),
|
|
70
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-BEYl7Z8S.js"),
|
|
71
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-D741KUNg.js"),
|
|
72
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CfgyGext.js"),
|
|
73
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-DFO20YZY.js"),
|
|
74
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-wvWrk_PU.js"),
|
|
75
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-D0zfmZK6.js"),
|
|
76
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-CL021irk.js"),
|
|
77
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-6VoxKX97.js"),
|
|
78
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Cja4dur8.js"),
|
|
79
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CNFgOeH4.js"),
|
|
80
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-BdSdhjTP.js"),
|
|
81
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CclRrN3_.js"),
|
|
82
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-CO5xyGPh.js"),
|
|
83
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-DUH23AYC.js"),
|
|
84
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-MAQR_CUu2.js"),
|
|
85
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CoKsjpyN.js"),
|
|
86
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cpv5pKod.js"),
|
|
87
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-p_p2X_aA.js"),
|
|
88
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-BpZp1MAq.js"),
|
|
89
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-BoXCPhGb.js")
|
|
90
90
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "943f2245-913a-4cd3-b141-77e037aa579a", e._sentryDebugIdIdentifier = "sentry-dbid-943f2245-913a-4cd3-b141-77e037aa579a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { $ as hasRepeatedCharacters, C as useDataset, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, X as getMaxLengthByFieldAndCountry, Y as getFormattingRegEx, et as hasText, it as isInvalidName, j as useToggleContext, ot as isValidMinLength, st as matchesRegex, ut as trimValWithOneSpace, w as datasetIdentifier, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
6
|
+
import { $ as hasRepeatedCharacters, C as useDataset, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, K as chomeAndBanchiValidator, Q as hasMaximumTwoRepeatedCharacters, R as ADDRESS_VALID_CHAR_REGEX, U as NO_ALPHABET_UNICODE_REGEX, X as getMaxLengthByFieldAndCountry, Y as getFormattingRegEx, et as hasText, it as isInvalidName, j as useToggleContext, ot as isValidMinLength, st as matchesRegex, ut as trimValWithOneSpace, w as datasetIdentifier, z as EMOJI_REGEX } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { c as entriesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
@@ -11,13 +11,13 @@ import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
|
11
11
|
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
12
12
|
import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
13
13
|
import { c as COUNTRIES_WITH_STATES_DATASET, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, s as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, t as getAddressSchemaForCountry } from "./utils-DNIZ6F6L.js";
|
|
14
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
14
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-Bza9mezL.js";
|
|
15
15
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
16
|
-
import { t as Select } from "./Select-
|
|
16
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
17
17
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
18
|
-
import { t as useForm } from "./useForm-
|
|
18
|
+
import { t as useForm } from "./useForm-BcvMNl0D.js";
|
|
19
19
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
20
|
-
import { n as CountryField } from "./CountryField-
|
|
20
|
+
import { n as CountryField } from "./CountryField-DSI1tYm2.js";
|
|
21
21
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
23
23
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -1,48 +1,48 @@
|
|
|
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] = "3283252c-0981-4c39-9fad-560b8822c74c", e._sentryDebugIdIdentifier = "sentry-dbid-3283252c-0981-4c39-9fad-560b8822c74c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { T as datasetUtilities, k as Header } from "./resolveEnvironment-
|
|
6
|
+
import { T as datasetUtilities, k as Header } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
11
11
|
import { n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
12
|
-
import { y as reverseMapping } from "./processCapabilities-
|
|
12
|
+
import { y as reverseMapping } from "./processCapabilities-fPuXc9gL.js";
|
|
13
13
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-C-wflW8q.js";
|
|
14
14
|
import { t as isEeaCountry } from "./country-BxigZW1s.js";
|
|
15
15
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
16
16
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
17
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
17
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
18
18
|
import { t as EndStateLayout } from "./EndStateLayout-ic1EOve9.js";
|
|
19
19
|
import { n as translateTranslatable } from "./utils-BtyrxTzp.js";
|
|
20
20
|
import { t as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-QRvyeNwU.js";
|
|
21
21
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-zPjl13U3.js";
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
23
|
-
import { t as Address } from "./Address-
|
|
24
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
25
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
23
|
+
import { t as Address } from "./Address-BAE2QQ-5.js";
|
|
24
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
|
|
25
|
+
import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
|
|
26
26
|
import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
27
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
27
|
+
import { t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
|
|
28
28
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
29
29
|
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-DNIZ6F6L.js";
|
|
30
|
-
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-
|
|
30
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-COmWiy16.js";
|
|
31
31
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
32
32
|
import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
|
|
33
33
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
34
|
-
import { t as Select } from "./Select-
|
|
34
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
35
35
|
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
36
36
|
import { t as getFieldProps } from "./getProps-1L-urpfA.js";
|
|
37
37
|
import { t as Link } from "./Link-C0jrInxa.js";
|
|
38
38
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
39
39
|
import { t as InputDate } from "./InputDate-B_jtgBB5.js";
|
|
40
|
-
import { n as CountryField } from "./CountryField-
|
|
40
|
+
import { n as CountryField } from "./CountryField-DSI1tYm2.js";
|
|
41
41
|
import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
|
|
42
42
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
43
|
-
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
44
|
-
import { t as NewSummary } from "./NewSummary-
|
|
45
|
-
import { t as businessFinancingMultiformRules } from "./validate-
|
|
43
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-Bfjuo_qU.js";
|
|
44
|
+
import { t as NewSummary } from "./NewSummary-CaV_Faij.js";
|
|
45
|
+
import { t as businessFinancingMultiformRules } from "./validate-cXmMxcOs.js";
|
|
46
46
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
47
47
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
48
48
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -920,12 +920,12 @@ function AdditionalFieldsForBusinessFinancingCompany(props) {
|
|
|
920
920
|
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
921
921
|
const { country, formVerificationErrors, legalEntity, fieldValidationErrors } = props;
|
|
922
922
|
const formUtils = createFormUtils(props, commonT);
|
|
923
|
-
const handleChange = (fieldName, mode) => handleChangeFor(
|
|
923
|
+
const handleChange = (fieldName, mode) => handleChangeFor("company", fieldName, mode);
|
|
924
924
|
const ownershipStructureProps = getFieldProps(props, ownershipStructureFields);
|
|
925
925
|
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
926
926
|
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
927
927
|
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
928
|
-
if ((currencyByCountry[country] ?? [])?.length === 1) setValid("currency", true
|
|
928
|
+
if ((currencyByCountry[country] ?? [])?.length === 1) setValid("company", "currency", true);
|
|
929
929
|
return /* @__PURE__ */ jsxs("form", {
|
|
930
930
|
"data-testid": "businessFinancingCompany",
|
|
931
931
|
children: [
|
|
@@ -1108,15 +1108,15 @@ function AdditionalFieldsForBusinessFinancingParentCompany(props) {
|
|
|
1108
1108
|
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1109
1109
|
const { country, formVerificationErrors, fieldValidationErrors, legalEntity } = props;
|
|
1110
1110
|
const formUtils = createFormUtils(props, commonT);
|
|
1111
|
-
const handleChange = (fieldName, mode) => handleChangeFor(
|
|
1112
|
-
setValid("sameAddressAsRootEntity", true
|
|
1111
|
+
const handleChange = (fieldName, mode) => handleChangeFor("parentCompany", fieldName, mode);
|
|
1112
|
+
setValid("parentCompany", "sameAddressAsRootEntity", true);
|
|
1113
1113
|
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1114
1114
|
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1115
1115
|
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1116
1116
|
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1117
1117
|
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1118
1118
|
const addressCountry = getAddressCountryForParentCompany(data?.parentCompany, legalEntity?.organization?.registeredAddress);
|
|
1119
|
-
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true
|
|
1119
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("parentCompany", "currency", true);
|
|
1120
1120
|
return /* @__PURE__ */ jsxs("form", {
|
|
1121
1121
|
"data-testid": "businessFinancingParentCompany",
|
|
1122
1122
|
children: [
|
|
@@ -1244,7 +1244,7 @@ function AdditionalFieldsForBusinessFinancingSoleProprietor(props) {
|
|
|
1244
1244
|
const { form: { handleChangeFor, data } } = useFormContext();
|
|
1245
1245
|
const { country, formVerificationErrors, fieldValidationErrors } = props;
|
|
1246
1246
|
const formUtils = createFormUtils(props, commonT);
|
|
1247
|
-
const handleChange = (fieldName, mode) => handleChangeFor(
|
|
1247
|
+
const handleChange = (fieldName, mode) => handleChangeFor("soleProprietor", fieldName, mode);
|
|
1248
1248
|
const personalInformationProps = getFieldProps(props, soleProprietorPersonalInformationFields);
|
|
1249
1249
|
const businessInformationProps = getFieldProps(props, ["naceCode", "naceCodeLabel"]);
|
|
1250
1250
|
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
@@ -1299,15 +1299,15 @@ function AdditionalFieldsForBusinessFinancingUltimateParentCompany(props) {
|
|
|
1299
1299
|
const { t: commonT } = useTranslation("common");
|
|
1300
1300
|
const formUtils = createFormUtils(props, commonT);
|
|
1301
1301
|
const { form: { handleChangeFor, data, setValid } } = useFormContext();
|
|
1302
|
-
const handleChange = (fieldName, mode) => handleChangeFor(
|
|
1303
|
-
setValid("sameAddressAsRootEntity", true
|
|
1302
|
+
const handleChange = (fieldName, mode) => handleChangeFor("ultimateParentCompany", fieldName, mode);
|
|
1303
|
+
setValid("ultimateParentCompany", "sameAddressAsRootEntity", true);
|
|
1304
1304
|
const basicCompanyInformationProps = getFieldProps(props, basicInformationFields);
|
|
1305
1305
|
const registeredAddressProps = getFieldProps(props, registeredAddressFields);
|
|
1306
1306
|
const businessInformationProps = getFieldProps(props, businessInformationFields);
|
|
1307
1307
|
const financialInformationProps = getFieldProps(props, financialInformationFields);
|
|
1308
1308
|
const legalInformationProps = getFieldProps(props, legalInformationFields);
|
|
1309
1309
|
const addressCountry = getAddressCountryForParentCompany(data?.ultimateParentCompany, legalEntity?.organization?.registeredAddress);
|
|
1310
|
-
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("currency", true
|
|
1310
|
+
if ((currencyByCountry[addressCountry ?? country] ?? [])?.length === 1) setValid("ultimateParentCompany", "currency", true);
|
|
1311
1311
|
return /* @__PURE__ */ jsxs("form", {
|
|
1312
1312
|
"data-testid": "businessFinancingUltimateParentCompany",
|
|
1313
1313
|
children: [
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0d4a234e-a1d0-4996-8f43-241b24ac2767", e._sentryDebugIdIdentifier = "sentry-dbid-0d4a234e-a1d0-4996-8f43-241b24ac2767");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-D2MqJxaF.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -47,33 +47,33 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
47
47
|
}, {
|
|
48
48
|
ns: "common",
|
|
49
49
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
50
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
51
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
52
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
53
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
54
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
50
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BcmC41vE.js"),
|
|
51
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-ghdW0Tc6.js"),
|
|
52
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CBOVFYaa.js"),
|
|
53
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CA81fzkA.js"),
|
|
54
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BjOmQ_B_.js"),
|
|
55
55
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
56
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
57
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
58
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
59
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
60
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
61
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
62
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
63
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
64
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
65
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
66
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
67
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
68
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
69
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
70
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
71
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
72
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
73
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
74
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
75
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
76
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
56
|
+
"../../../language/locales/en-US.json": () => import("./en-US-Dab7moVA.js"),
|
|
57
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-BEYl7Z8S.js"),
|
|
58
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-D741KUNg.js"),
|
|
59
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CfgyGext.js"),
|
|
60
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-DFO20YZY.js"),
|
|
61
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-wvWrk_PU.js"),
|
|
62
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-D0zfmZK6.js"),
|
|
63
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-CL021irk.js"),
|
|
64
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-6VoxKX97.js"),
|
|
65
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Cja4dur8.js"),
|
|
66
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CNFgOeH4.js"),
|
|
67
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-BdSdhjTP.js"),
|
|
68
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CclRrN3_.js"),
|
|
69
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-CO5xyGPh.js"),
|
|
70
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-DUH23AYC.js"),
|
|
71
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-MAQR_CUu2.js"),
|
|
72
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CoKsjpyN.js"),
|
|
73
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cpv5pKod.js"),
|
|
74
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-p_p2X_aA.js"),
|
|
75
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-BpZp1MAq.js"),
|
|
76
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-BoXCPhGb.js")
|
|
77
77
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
78
78
|
}]);
|
|
79
79
|
if (!rootLe) return /* @__PURE__ */ jsx(Loader, {});
|