@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/{BusinessTypeSelectionPage-DVlhdBOT.js → BusinessTypeSelectionPage-bkRgRUiw.js}
RENAMED
|
@@ -3,22 +3,22 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a1515062-b3c5-4ce1-9045-7bfa169bf1e1", e._sentryDebugIdIdentifier = "sentry-dbid-a1515062-b3c5-4ce1-9045-7bfa169bf1e1");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { ft as useAccountHolder } from "./resolveEnvironment-
|
|
6
|
+
import { ft as useAccountHolder } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
11
|
+
import { t as getCapabilities } from "./processCapabilities-fPuXc9gL.js";
|
|
12
12
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
13
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
13
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
14
14
|
import { r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
15
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
16
16
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
17
17
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
18
18
|
import { t as TileGroup } from "./TileGroup-B8II9Mip.js";
|
|
19
|
-
import { t as useForm } from "./useForm-
|
|
19
|
+
import { t as useForm } from "./useForm-BcvMNl0D.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
|
-
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-
|
|
21
|
+
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-BAgsI56z.js";
|
|
22
22
|
import { useEffect, useState } from "preact/hooks";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
24
24
|
//#region src/datasets/generators/getBusinessTypeExamplesForCountry.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "63225805-9eae-4b92-a9e1-af4cad29e520", e._sentryDebugIdIdentifier = "sentry-dbid-63225805-9eae-4b92-a9e1-af4cad29e520");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
7
|
import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
|
|
8
|
-
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
9
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
10
|
-
import { M as businessRegistrationNumberMasks, N as stateFormatGuidanceText, j as businessRegistrationNumberPatterns } from "./utils-
|
|
8
|
+
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-VtgquqE0.js";
|
|
9
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-Bza9mezL.js";
|
|
10
|
+
import { M as businessRegistrationNumberMasks, N as stateFormatGuidanceText, j as businessRegistrationNumberPatterns } from "./utils-Dizf4Xxc.js";
|
|
11
11
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
12
12
|
import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
@@ -956,15 +956,11 @@ var companyRegistrationNumberOptions = {
|
|
|
956
956
|
* If ignoreApplicableOnlyFor is true, options specific to legal arrangements are excluded
|
|
957
957
|
* for non-legal-arrangement entities.
|
|
958
958
|
*/
|
|
959
|
-
var getCompanyRegistrationNumberOptions = (country, companyType
|
|
959
|
+
var getCompanyRegistrationNumberOptions = (country, companyType) => {
|
|
960
960
|
const optionsForCountry = companyRegistrationNumberOptions[country];
|
|
961
961
|
if (!optionsForCountry) return optionsForCountry;
|
|
962
|
-
if (
|
|
963
|
-
|
|
964
|
-
return optionsForCountry.filter((option) => !isApplicableOnlyForSingleRestrictedType(option));
|
|
965
|
-
}
|
|
966
|
-
if (!companyType) return optionsForCountry;
|
|
967
|
-
return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
|
|
962
|
+
if (isRestrictedCompanyType(companyType)) return optionsForCountry.filter((option) => option.applicableOnlyFor?.includes(companyType) ?? true);
|
|
963
|
+
return optionsForCountry.filter((option) => !isApplicableOnlyForSingleRestrictedType(option));
|
|
968
964
|
};
|
|
969
965
|
/**
|
|
970
966
|
* Returns the valid company types for a given registration number type and country.
|
|
@@ -988,8 +984,8 @@ function getValidCompanyTypesForRegistrationNumberType(country, registrationNumb
|
|
|
988
984
|
* @param country the country of the LE
|
|
989
985
|
* @param companyType the company type, e.g. `nonProfit`
|
|
990
986
|
*/
|
|
991
|
-
var inferCompanyRegistrationNumberType = (registrationNumber, country, companyType
|
|
992
|
-
const optionsForCountry = getCompanyRegistrationNumberOptions(country, companyType
|
|
987
|
+
var inferCompanyRegistrationNumberType = (registrationNumber, country, companyType) => {
|
|
988
|
+
const optionsForCountry = getCompanyRegistrationNumberOptions(country, companyType);
|
|
993
989
|
const metadataFn = registrationNumberDefaultFieldConfig[country];
|
|
994
990
|
if (!optionsForCountry) return void 0;
|
|
995
991
|
if (optionsForCountry.length === 1) return optionsForCountry[0].id;
|
|
@@ -1018,15 +1014,15 @@ var inferCompanyRegistrationNumberType = (registrationNumber, country, companyTy
|
|
|
1018
1014
|
* @param companyType - The company type or entity type (i.e. Trust) of the business
|
|
1019
1015
|
* @returns The determined business registration number type or undefined if none can be determined
|
|
1020
1016
|
*/
|
|
1021
|
-
function getDefaultRegistrationNumberType(registrationNumber, country, companyType
|
|
1022
|
-
return registrationNumber ? inferCompanyRegistrationNumberType(registrationNumber, country, companyType
|
|
1017
|
+
function getDefaultRegistrationNumberType(registrationNumber, country, companyType) {
|
|
1018
|
+
return registrationNumber ? inferCompanyRegistrationNumberType(registrationNumber, country, companyType) : getCompanyRegistrationNumberOptions(country, companyType)?.[0]?.id;
|
|
1023
1019
|
}
|
|
1024
1020
|
//#endregion
|
|
1025
1021
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.tsx
|
|
1026
|
-
function CompanyRegistrationNumberTypeSelector({ country, companyType,
|
|
1022
|
+
function CompanyRegistrationNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOptionLabel }) {
|
|
1027
1023
|
const { t } = useTranslation("common");
|
|
1028
1024
|
const options = useMemo(() => {
|
|
1029
|
-
const availableOptions = getCompanyRegistrationNumberOptions(country, companyType
|
|
1025
|
+
const availableOptions = getCompanyRegistrationNumberOptions(country, companyType) ?? [];
|
|
1030
1026
|
if (availableOptions.length === 0 || !exemptedOptionLabel) return availableOptions;
|
|
1031
1027
|
return [...availableOptions, {
|
|
1032
1028
|
id: "exempted",
|
|
@@ -1035,8 +1031,7 @@ function CompanyRegistrationNumberTypeSelector({ country, companyType, invertCom
|
|
|
1035
1031
|
}, [
|
|
1036
1032
|
companyType,
|
|
1037
1033
|
country,
|
|
1038
|
-
exemptedOptionLabel
|
|
1039
|
-
invertCompanyTypeFilter
|
|
1034
|
+
exemptedOptionLabel
|
|
1040
1035
|
]);
|
|
1041
1036
|
const handleSelect = useCallback((selectedStr) => {
|
|
1042
1037
|
const newSelected = selectedStr;
|
|
@@ -3,16 +3,16 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e924e430-0918-42e1-9700-d1d5ea1da76c", e._sentryDebugIdIdentifier = "sentry-dbid-e924e430-0918-42e1-9700-d1d5ea1da76c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-
|
|
6
|
+
import { C as useDataset, k as Header, nt as isEmpty, w as datasetIdentifier } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { 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";
|
|
10
10
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
11
|
-
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
11
|
+
import { c as nonInputs, l as numericInputs, n as InputEmail, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-VtgquqE0.js";
|
|
12
12
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
13
13
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
14
14
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
15
|
-
import { t as Select } from "./Select-
|
|
15
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
16
16
|
import { t as InputGroup } from "./InputGroup-B4U3QVEp.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
18
18
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66d440c7-95eb-440a-beeb-99e2febafd8d", e._sentryDebugIdIdentifier = "sentry-dbid-66d440c7-95eb-440a-beeb-99e2febafd8d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
5
|
+
import { x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
6
6
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
|
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7f436cd8-46e3-4953-841c-bdf80d4f6089", e._sentryDebugIdIdentifier = "sentry-dbid-7f436cd8-46e3-4953-841c-bdf80d4f6089");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-
|
|
6
|
+
import { C as useDataset, w as datasetIdentifier } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
8
|
-
import { t as Select } from "./Select-
|
|
8
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/Shared/fields/CountryField/CountryField.tsx
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4fb1ca0e-7a5c-42d4-871a-a2f46148441e", e._sentryDebugIdIdentifier = "sentry-dbid-4fb1ca0e-7a5c-42d4-871a-a2f46148441e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { at as isUndefinedOrNull } from "./resolveEnvironment-
|
|
6
|
+
import { at as isUndefinedOrNull } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { i as drop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
10
|
-
import { t as Select } from "./Select-
|
|
10
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
11
11
|
import { r as InputBase, t as InputText } from "./InputText-B-ebylm4.js";
|
|
12
12
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
@@ -1,20 +1,20 @@
|
|
|
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] = "a873dd2c-e230-4241-8b12-a53c86979bec", e._sentryDebugIdIdentifier = "sentry-dbid-a873dd2c-e230-4241-8b12-a53c86979bec");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-
|
|
6
|
+
import { k as Header } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
|
|
10
10
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
11
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
12
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
15
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
11
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
12
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
13
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
14
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-Cqos4P-U.js";
|
|
15
|
+
import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
|
|
16
16
|
import { t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
17
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
17
|
+
import { t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
|
|
18
18
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
@@ -94,7 +94,7 @@ function CustomerSupportInner({ country, onSubmit, legalEntity }) {
|
|
|
94
94
|
});
|
|
95
95
|
}
|
|
96
96
|
};
|
|
97
|
-
const handleFieldChange = (fieldName, mode) => handleChangeFor(
|
|
97
|
+
const handleFieldChange = (fieldName, mode) => handleChangeFor("customerSupport", fieldName, mode);
|
|
98
98
|
return /* @__PURE__ */ jsxs("form", {
|
|
99
99
|
"aria-describedby": "ariaErrorField",
|
|
100
100
|
children: [
|
|
@@ -1,9 +1,9 @@
|
|
|
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] = "be58dc8f-75ab-4acc-b841-cdfea7d94042", e._sentryDebugIdIdentifier = "sentry-dbid-be58dc8f-75ab-4acc-b841-cdfea7d94042");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-
|
|
6
|
+
import { M as ExperimentNames, N as FeatureNames, P as listToRecord, i as useGlobalStore, j as useToggleContext, l as splitTaskIdentifier } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
9
9
|
import { c as entriesOf, u as valuesOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
@@ -346,7 +346,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
346
346
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
347
347
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
348
348
|
const metadata = {
|
|
349
|
-
sdkVersion: "4.
|
|
349
|
+
sdkVersion: "4.16.0-beta.0",
|
|
350
350
|
locale: i18n.language,
|
|
351
351
|
rootLegalEntityId: rootLegalEntity.id
|
|
352
352
|
};
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "187552e0-53eb-4d99-a277-142ee7eb2669", e._sentryDebugIdIdentifier = "sentry-dbid-187552e0-53eb-4d99-a277-142ee7eb2669");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { T as datasetUtilities, j as useToggleContext, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { T as datasetUtilities, 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 } from "./useLegalEntity-BXk2tzGe.js";
|
|
@@ -16,11 +16,11 @@ import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
|
16
16
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
17
17
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
18
18
|
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
19
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
19
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
20
20
|
import { t as getIdNowMissingDataPoints } from "./bafinUtils-BKq-s1Ka.js";
|
|
21
21
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
22
22
|
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
23
|
-
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
23
|
+
import { i as GuidanceQuestionValues, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-CADQNrLO.js";
|
|
24
24
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
25
25
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
26
26
|
import { i as mapAddressLabels } from "./utils-DNIZ6F6L.js";
|
|
@@ -3,19 +3,19 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6b7d3daa-921d-4a84-9a62-ab979362ec60", e._sentryDebugIdIdentifier = "sentry-dbid-6b7d3daa-921d-4a84-9a62-ab979362ec60");
|
|
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 } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
12
|
-
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-
|
|
12
|
+
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-fPuXc9gL.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-BKq-s1Ka.js";
|
|
15
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
15
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
16
16
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-DHDR28cv.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-DUpv5ug2.js";
|
|
20
20
|
import { jsx } from "preact/jsx-runtime";
|
|
21
21
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -3,28 +3,28 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "71e4911e-5f67-43dd-8f94-80a31a1d99b7", e._sentryDebugIdIdentifier = "sentry-dbid-71e4911e-5f67-43dd-8f94-80a31a1d99b7");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header, r as useGetTaskStatus, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
10
10
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
11
11
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
12
|
-
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-
|
|
12
|
+
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-fPuXc9gL.js";
|
|
13
13
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
14
14
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
15
15
|
import { r as getOwnDecisionMakers } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
16
16
|
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
17
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
18
|
-
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-
|
|
19
|
-
import { n as useCapabilityProblems } from "./getProblemsForEntity-
|
|
17
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
18
|
+
import { t as useDataMissingRemediations } from "./useDataMissingRemediations-BtSioM7F.js";
|
|
19
|
+
import { n as useCapabilityProblems } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
20
20
|
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
21
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-
|
|
22
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
21
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues } from "./mapLegalEntityToIndividualSchema-CADQNrLO.js";
|
|
22
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
23
23
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
24
24
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
25
25
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
26
26
|
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
27
|
-
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
27
|
+
import { i as useInvitationStatuses, n as getDecisionMakerDescription, t as DecisionMakerDetails } from "./DecisionMakerDetails-BnlhqSiD.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
|
29
29
|
import { useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
30
30
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -3,11 +3,11 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f78376be-ac94-4ef9-8023-22ee3cda2a54", e._sentryDebugIdIdentifier = "sentry-dbid-f78376be-ac94-4ef9-8023-22ee3cda2a54");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { dt as StateContext } from "./resolveEnvironment-
|
|
6
|
+
import { dt as StateContext } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
9
9
|
import { i as bytesToSize, n as fileValidationRules, r as DropzoneFile, t as defaultFileValidationOptions } from "./validate-B2bZh_uL.js";
|
|
10
|
-
import { t as useForm } from "./useForm-
|
|
10
|
+
import { t as useForm } from "./useForm-BcvMNl0D.js";
|
|
11
11
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -7,7 +7,7 @@ import { n as IconButton, t as Button } from "./Button-3qGOI53m.js";
|
|
|
7
7
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DTHF8B9j.js";
|
|
8
8
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
9
9
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
10
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
10
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-DBHKdlD8.js";
|
|
11
11
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
12
12
|
import { n as getRoleTagVariant, t as getRoleName } from "./roleMetadata-CWdYxbqM.js";
|
|
13
13
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
@@ -3,10 +3,10 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1aa33835-1064-4607-ba2d-16ceaa66ab44", e._sentryDebugIdIdentifier = "sentry-dbid-1aa33835-1064-4607-ba2d-16ceaa66ab44");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { l as keysOf } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
|
-
import { r as remediationHasFileUploadField } from "./processCapabilities-
|
|
9
|
+
import { r as remediationHasFileUploadField } from "./processCapabilities-fPuXc9gL.js";
|
|
10
10
|
import { useCallback, useContext } from "preact/hooks";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { createContext } from "preact";
|
|
@@ -1,9 +1,9 @@
|
|
|
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] = "f0676dd5-2702-43db-8a06-7509219c8840", e._sentryDebugIdIdentifier = "sentry-dbid-f0676dd5-2702-43db-8a06-7509219c8840");
|
|
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 { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useAccountHolder, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, s as getAgeToday, st as matchesRegex, w as datasetIdentifier, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
6
|
+
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, H as NO_ALPHABET_REGEX, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useAccountHolder, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, s as getAgeToday, st as matchesRegex, w as datasetIdentifier, x as Alert, z as EMOJI_REGEX } 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 { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
@@ -11,7 +11,7 @@ import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js"
|
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { i as drop, n as cloneObject, o as objectsDeepEqual, r as doArraysMatch } from "./AnalyticsContext-BFrJmsp0.js";
|
|
13
13
|
import { r as euCountries, t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
14
|
-
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-
|
|
14
|
+
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-fPuXc9gL.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
16
16
|
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, u as hasNomineesChanged } from "./entityAssociationUtil-C-wflW8q.js";
|
|
17
17
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
@@ -19,7 +19,7 @@ import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
|
19
19
|
import { t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-DIG8zo1C.js";
|
|
20
20
|
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
21
21
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
22
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
22
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
23
23
|
import { a as idNowPostSubmit, i as idNowModalChildEntityId, o as shouldShowIdNowModal, s as showIdNowModal } from "./bafinUtils-BKq-s1Ka.js";
|
|
24
24
|
import { n as translateTranslatable, r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
25
25
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
@@ -28,46 +28,46 @@ import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
|
28
28
|
import { t as getIndividualLegalEntityName } from "./getName-D4ECvzcI.js";
|
|
29
29
|
import { t as useScenarios } from "./useScenarios-BRGMIufX.js";
|
|
30
30
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-zPjl13U3.js";
|
|
31
|
-
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-
|
|
32
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
33
|
-
import { c as addressValidators, d as useProviderStatus, t as Address } from "./Address-
|
|
34
|
-
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-
|
|
35
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
36
|
-
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-
|
|
37
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
31
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-CADQNrLO.js";
|
|
32
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-GCDgDdeE.js";
|
|
33
|
+
import { c as addressValidators, d as useProviderStatus, t as Address } from "./Address-BAE2QQ-5.js";
|
|
34
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, i as phonePrefixes_default, l as getPhonePlaceholder, n as contactDetailFields, o as defaultFieldMetadata, r as PhoneField, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-Cqos4P-U.js";
|
|
35
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
|
|
36
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-uFcwmzTd.js";
|
|
37
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
|
|
38
38
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
39
39
|
import { n as preTranslatedSummaryItem } from "./summaryItem-uDWmtYtt.js";
|
|
40
|
-
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-
|
|
40
|
+
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
|
|
41
41
|
import { i as useScenarioConfiguration, n as getPage, r as getPageName, s as AdyenKycSdkError, t as mapExistingFile } from "./mapExistingFile-BmyzNoup.js";
|
|
42
42
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
43
|
-
import { n as InputEmail, t as MaskedInput } from "./MaskedInput-
|
|
43
|
+
import { n as InputEmail, t as MaskedInput } from "./MaskedInput-VtgquqE0.js";
|
|
44
44
|
import { t as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-pVY2Cqvr.js";
|
|
45
45
|
import { n as toFullWidth, r as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js";
|
|
46
46
|
import { i as mapAddressLabels, l as addressFields, n as getAddressSchemaLabelsByCountry } from "./utils-DNIZ6F6L.js";
|
|
47
|
-
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-
|
|
47
|
+
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-COmWiy16.js";
|
|
48
48
|
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-B2bZh_uL.js";
|
|
49
49
|
import { t as getLocalizedIdDocumentTypeOptions } from "./utils-DwujAUJC.js";
|
|
50
50
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
51
|
-
import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-
|
|
51
|
+
import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-BKnequKz.js";
|
|
52
52
|
import { a as isJapanLocalizationEnabled, i as individualRules, n as DECISION_MAKER_TYPES_WITH_JOBTITLE, t as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES } from "./Individual.rules-Cc2Uigav.js";
|
|
53
53
|
import { t as localizeDateString } from "./localizeDateString-CU7HGR-k.js";
|
|
54
|
-
import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
55
|
-
import { _ as getAsyncIdNumberValidationRule, a as fromIndividualConflictSchema, c as DataConflictsModal, d as addressToString, f as useExtractDocumentInformation, g as defaultFieldMetadata$1, h as defaultFieldConfig, i as mapExtractionResultToSchema, l as createAddressConflictRule, m as idNumberFields, n as UploadedDocument, o as toIndividualConflictSchema, p as IdentityNumber, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as useDataConflicts, v as licenseCardNumberDefaultConfig, y as licenseCardNumberDefaultMetadata } from "./validateExtractionResult-
|
|
56
|
-
import { A as taxInformationDefaultFieldMetadata, S as getDefaultTaxIdNumberType, T as taxIdNumberOptions, k as taxInformationDefaultFieldConfig } from "./utils-
|
|
54
|
+
import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Ck2si051.js";
|
|
55
|
+
import { _ as getAsyncIdNumberValidationRule, a as fromIndividualConflictSchema, c as DataConflictsModal, d as addressToString, f as useExtractDocumentInformation, g as defaultFieldMetadata$1, h as defaultFieldConfig, i as mapExtractionResultToSchema, l as createAddressConflictRule, m as idNumberFields, n as UploadedDocument, o as toIndividualConflictSchema, p as IdentityNumber, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as useDataConflicts, v as licenseCardNumberDefaultConfig, y as licenseCardNumberDefaultMetadata } from "./validateExtractionResult-Bk2WRbLs.js";
|
|
56
|
+
import { A as taxInformationDefaultFieldMetadata, S as getDefaultTaxIdNumberType, T as taxIdNumberOptions, k as taxInformationDefaultFieldConfig } from "./utils-Dizf4Xxc.js";
|
|
57
57
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
58
58
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
59
59
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
60
60
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
61
|
-
import { t as Select } from "./Select-
|
|
61
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
62
62
|
import { n as convertFullToHalf, t as TextArea } from "./TextArea-BvphlYOu.js";
|
|
63
|
-
import { t as Dropzone } from "./Dropzone-
|
|
63
|
+
import { t as Dropzone } from "./Dropzone-JmVSKeOB.js";
|
|
64
64
|
import { n as getFormProps, t as getFieldProps } from "./getProps-1L-urpfA.js";
|
|
65
65
|
import { t as Link } from "./Link-C0jrInxa.js";
|
|
66
66
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
67
67
|
import { n as formatDateObj, t as InputDate } from "./InputDate-B_jtgBB5.js";
|
|
68
|
-
import { n as CountryField } from "./CountryField-
|
|
68
|
+
import { n as CountryField } from "./CountryField-DSI1tYm2.js";
|
|
69
69
|
import { t as RadioGroup } from "./RadioGroup-CMiBSXCA.js";
|
|
70
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
70
|
+
import { t as ContextGuidance } from "./ContextGuidance-DLErBW62.js";
|
|
71
71
|
import { n as nameFields, t as Name } from "./Name-BlfQjJkJ.js";
|
|
72
72
|
import { t as isEmpty$1 } from "./isEmpty-BVlBH98t.js";
|
|
73
73
|
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
@@ -1019,7 +1019,7 @@ var additionalIdentityInfoFields = [
|
|
|
1019
1019
|
];
|
|
1020
1020
|
//#endregion
|
|
1021
1021
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1022
|
-
var LazyJpAddress = lazy(async () => (await import("./JpAddress-
|
|
1022
|
+
var LazyJpAddress = lazy(async () => (await import("./JpAddress-BtLxuxr9.js")).JpAddress);
|
|
1023
1023
|
var additionalPersonalDetailsFields = [
|
|
1024
1024
|
"birthDate",
|
|
1025
1025
|
...idNumberFields,
|
|
@@ -1043,7 +1043,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1043
1043
|
const { country: defaultCountry, data, formVerificationErrors, heading, shouldValidate, valid, fieldValidationErrors, errors = {}, taskType, handleFieldChange } = props;
|
|
1044
1044
|
const country = data?.country ?? defaultCountry;
|
|
1045
1045
|
const isIndividual = taskType === TaskTypes.INDIVIDUAL;
|
|
1046
|
-
const taxIdNumberType = getDefaultTaxIdNumberType(form.data?.additionalPersonalDetails?.taxInformation, country, LegalEntityTypes.INDIVIDUAL
|
|
1046
|
+
const taxIdNumberType = getDefaultTaxIdNumberType(form.data?.additionalPersonalDetails?.taxInformation, country, LegalEntityTypes.INDIVIDUAL);
|
|
1047
1047
|
const showField = (fieldKeys) => fieldKeys.some((field) => formUtils.isRequiredField(field) || formUtils.isOptionalField(field));
|
|
1048
1048
|
const formUtils = createFormUtils(mergeFieldMetadataIntoProps("taxInformation", resolveFieldMetadata(taxInformationDefaultFieldConfig[country], {
|
|
1049
1049
|
taxIdNumberType,
|
|
@@ -1643,7 +1643,7 @@ function IdVerificationMethod(props) {
|
|
|
1643
1643
|
const datasetUtils = datasetUtilities(i18n.language);
|
|
1644
1644
|
const existingDocument = data.idVerificationMethod?.idDocument;
|
|
1645
1645
|
const hasExistingDocument = !isEmpty$1(existingDocument);
|
|
1646
|
-
const handleFieldChange = useCallback$1((fieldName, mode = "input") => handleChangeFor(
|
|
1646
|
+
const handleFieldChange = useCallback$1((fieldName, mode = "input") => handleChangeFor("idVerificationMethod", fieldName, mode), [handleChangeFor]);
|
|
1647
1647
|
useDataset(datasetIdentifier.country);
|
|
1648
1648
|
const [status, setStatus] = useState$1("ready");
|
|
1649
1649
|
const [error, setError] = useState$1();
|
|
@@ -1800,7 +1800,7 @@ function IdVerificationMethod(props) {
|
|
|
1800
1800
|
handleFieldChange("idDocument")(void 0);
|
|
1801
1801
|
}
|
|
1802
1802
|
};
|
|
1803
|
-
if (hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod",
|
|
1803
|
+
if (hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) && valid.idVerificationMethod?.idVerificationMethod) setValid("idVerificationMethod", "idVerificationMethod", false);
|
|
1804
1804
|
const doesUserHaveExistingDocument = hasLiveSelfieErrorCode && (data.idVerificationMethod?.idVerificationMethod !== "instantVerification" || !data.idVerificationMethod?.idDocument?.instantIdVerificationData) ? false : hasExistingDocument;
|
|
1805
1805
|
const handleCancelDeleteDocument = () => {
|
|
1806
1806
|
setStatus("ready");
|
|
@@ -1972,11 +1972,11 @@ function InviteDetails(props) {
|
|
|
1972
1972
|
const basicDetails = formData.basicDetails ?? {};
|
|
1973
1973
|
const handleEmailChange = useCallback$1((mode) => (e) => {
|
|
1974
1974
|
handleFieldChange?.("email", mode)(e);
|
|
1975
|
-
handleBasicDetailsChangeFor("
|
|
1975
|
+
handleBasicDetailsChangeFor("basicDetails", "email", mode)(e);
|
|
1976
1976
|
}, [handleFieldChange, handleBasicDetailsChangeFor]);
|
|
1977
1977
|
const handlePhoneChange = useCallback$1((key, mode) => (e) => {
|
|
1978
1978
|
handleFieldChange?.(key, mode)(e);
|
|
1979
|
-
handleBasicDetailsChangeFor(
|
|
1979
|
+
handleBasicDetailsChangeFor("basicDetails", key, mode)(e);
|
|
1980
1980
|
}, [handleFieldChange, handleBasicDetailsChangeFor]);
|
|
1981
1981
|
useEffect$1(() => {
|
|
1982
1982
|
if (!handleFieldChange) return;
|
|
@@ -1987,7 +1987,7 @@ function InviteDetails(props) {
|
|
|
1987
1987
|
phoneCountryCode: country,
|
|
1988
1988
|
type: "mobile"
|
|
1989
1989
|
});
|
|
1990
|
-
handleBasicDetailsChangeFor("
|
|
1990
|
+
handleBasicDetailsChangeFor("basicDetails", "phoneNumber", "input")({
|
|
1991
1991
|
number: "",
|
|
1992
1992
|
phoneCountryCode: country,
|
|
1993
1993
|
type: "mobile"
|
|
@@ -2080,7 +2080,7 @@ var ManualIdUpload = () => {
|
|
|
2080
2080
|
const errors = form.errors.manualIdUpload;
|
|
2081
2081
|
const name = `${form.data.basicDetails?.firstName} ${form.data.basicDetails?.lastName}`;
|
|
2082
2082
|
const country = form.data.additionalPersonalDetails?.country;
|
|
2083
|
-
const handleFieldChange = (fieldName, mode) => handleChangeFor(
|
|
2083
|
+
const handleFieldChange = (fieldName, mode) => handleChangeFor("manualIdUpload", fieldName, mode);
|
|
2084
2084
|
return /* @__PURE__ */ jsx(IdDocumentManualUpload, {
|
|
2085
2085
|
data,
|
|
2086
2086
|
valid,
|
|
@@ -2800,7 +2800,7 @@ function Individual(props) {
|
|
|
2800
2800
|
invitedEntityDetails?.rootCapabilities
|
|
2801
2801
|
]);
|
|
2802
2802
|
const fullName = `${data?.basicDetails?.firstName} ${data?.basicDetails?.lastName}`;
|
|
2803
|
-
const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(
|
|
2803
|
+
const handleFieldChange = (formName) => (fieldName, mode) => handleChangeFor(formName, fieldName, mode);
|
|
2804
2804
|
const renderActiveForm = (activeForm) => {
|
|
2805
2805
|
switch (activeForm.formId) {
|
|
2806
2806
|
case signatoryQuestionnaireFormID: return /* @__PURE__ */ jsx(SignatoryQuestionnaire, {
|
|
@@ -3293,7 +3293,7 @@ function IndividualDropin({ taskType = TaskTypes.INDIVIDUAL, parentLegalEntity,
|
|
|
3293
3293
|
/**
|
|
3294
3294
|
* Analytics
|
|
3295
3295
|
*/
|
|
3296
|
-
useTaskLandedEvent(
|
|
3296
|
+
useTaskLandedEvent(taskType);
|
|
3297
3297
|
const individualFieldValidations = useCallback$1((data) => ({
|
|
3298
3298
|
basicDetails: basicDetailsValidators({
|
|
3299
3299
|
isFeatureEnabled,
|
|
@@ -3,13 +3,13 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "20af2823-da42-4089-929a-dfe4bd93d589", e._sentryDebugIdIdentifier = "sentry-dbid-20af2823-da42-4089-929a-dfe4bd93d589");
|
|
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, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
11
11
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
12
|
-
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
12
|
+
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-87OxZXI3.js";
|
|
13
13
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
15
|
import { useEffect as useEffect$1, useState as useState$1 } from "preact/hooks";
|