@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/{InvitedDecisionMakerComponent-D5gat3zM.js → InvitedDecisionMakerComponent-CQ8wt0IK.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ac644730-9da5-49da-8803-ec6760d001be", e._sentryDebugIdIdentifier = "sentry-dbid-ac644730-9da5-49da-8803-ec6760d001be");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { c as __exportAll, i as Typography, 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 { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
9
|
import { r as useLegalEntity } from "./useLegalEntity-BXk2tzGe.js";
|
|
@@ -16,12 +16,12 @@ import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
|
16
16
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
17
17
|
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
18
18
|
import { t as getIndividualLegalEntityName } from "./getName-D4ECvzcI.js";
|
|
19
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { t as IndividualDropin } from "./IndividualDropin-DHDR28cv.js";
|
|
20
20
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
21
21
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
22
22
|
import { t as useTaskStatus } from "./useTaskStatus-BLkHjMgm.js";
|
|
23
23
|
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
24
|
-
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
24
|
+
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-BnlhqSiD.js";
|
|
25
25
|
import { lazy } from "preact/compat";
|
|
26
26
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
27
27
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -267,33 +267,33 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
|
|
|
267
267
|
{
|
|
268
268
|
ns: "common",
|
|
269
269
|
importFn: (lang) => _rolldown_dynamic_import_helper_default(/* @__PURE__ */ Object.assign({
|
|
270
|
-
"../../../language/locales/bg-BG.json": () => import("./bg-BG-
|
|
271
|
-
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-
|
|
272
|
-
"../../../language/locales/da-DK.json": () => import("./da-DK-
|
|
273
|
-
"../../../language/locales/de-DE.json": () => import("./de-DE-
|
|
274
|
-
"../../../language/locales/el-GR.json": () => import("./el-GR-
|
|
270
|
+
"../../../language/locales/bg-BG.json": () => import("./bg-BG-BcmC41vE.js"),
|
|
271
|
+
"../../../language/locales/cs-CZ.json": () => import("./cs-CZ-ghdW0Tc6.js"),
|
|
272
|
+
"../../../language/locales/da-DK.json": () => import("./da-DK-CBOVFYaa.js"),
|
|
273
|
+
"../../../language/locales/de-DE.json": () => import("./de-DE-CA81fzkA.js"),
|
|
274
|
+
"../../../language/locales/el-GR.json": () => import("./el-GR-BjOmQ_B_.js"),
|
|
275
275
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-FOYUYA3c.js"),
|
|
276
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
277
|
-
"../../../language/locales/es-ES.json": () => import("./es-ES-
|
|
278
|
-
"../../../language/locales/es-LA.json": () => import("./es-LA-
|
|
279
|
-
"../../../language/locales/et-EE.json": () => import("./et-EE-
|
|
280
|
-
"../../../language/locales/fi-FI.json": () => import("./fi-FI-
|
|
281
|
-
"../../../language/locales/fr-FR.json": () => import("./fr-FR-
|
|
282
|
-
"../../../language/locales/hr-HR.json": () => import("./hr-HR-
|
|
283
|
-
"../../../language/locales/hu-HU.json": () => import("./hu-HU-
|
|
284
|
-
"../../../language/locales/it-IT.json": () => import("./it-IT-
|
|
285
|
-
"../../../language/locales/ja-JP.json": () => import("./ja-JP-
|
|
286
|
-
"../../../language/locales/lt-LT.json": () => import("./lt-LT-
|
|
287
|
-
"../../../language/locales/lv-LV.json": () => import("./lv-LV-
|
|
288
|
-
"../../../language/locales/nl-NL.json": () => import("./nl-NL-
|
|
289
|
-
"../../../language/locales/no-NO.json": () => import("./no-NO-
|
|
290
|
-
"../../../language/locales/pl-PL.json": () => import("./pl-PL-
|
|
291
|
-
"../../../language/locales/pt-BR.json": () => import("./pt-BR-
|
|
292
|
-
"../../../language/locales/pt-PT.json": () => import("./pt-PT-
|
|
293
|
-
"../../../language/locales/ro-RO.json": () => import("./ro-RO-
|
|
294
|
-
"../../../language/locales/sk-SK.json": () => import("./sk-SK-
|
|
295
|
-
"../../../language/locales/sl-SI.json": () => import("./sl-SI-
|
|
296
|
-
"../../../language/locales/sv-SE.json": () => import("./sv-SE-
|
|
276
|
+
"../../../language/locales/en-US.json": () => import("./en-US-Dab7moVA.js"),
|
|
277
|
+
"../../../language/locales/es-ES.json": () => import("./es-ES-BEYl7Z8S.js"),
|
|
278
|
+
"../../../language/locales/es-LA.json": () => import("./es-LA-D741KUNg.js"),
|
|
279
|
+
"../../../language/locales/et-EE.json": () => import("./et-EE-CfgyGext.js"),
|
|
280
|
+
"../../../language/locales/fi-FI.json": () => import("./fi-FI-DFO20YZY.js"),
|
|
281
|
+
"../../../language/locales/fr-FR.json": () => import("./fr-FR-wvWrk_PU.js"),
|
|
282
|
+
"../../../language/locales/hr-HR.json": () => import("./hr-HR-D0zfmZK6.js"),
|
|
283
|
+
"../../../language/locales/hu-HU.json": () => import("./hu-HU-CL021irk.js"),
|
|
284
|
+
"../../../language/locales/it-IT.json": () => import("./it-IT-6VoxKX97.js"),
|
|
285
|
+
"../../../language/locales/ja-JP.json": () => import("./ja-JP-Cja4dur8.js"),
|
|
286
|
+
"../../../language/locales/lt-LT.json": () => import("./lt-LT-CNFgOeH4.js"),
|
|
287
|
+
"../../../language/locales/lv-LV.json": () => import("./lv-LV-BdSdhjTP.js"),
|
|
288
|
+
"../../../language/locales/nl-NL.json": () => import("./nl-NL-CclRrN3_.js"),
|
|
289
|
+
"../../../language/locales/no-NO.json": () => import("./no-NO-CO5xyGPh.js"),
|
|
290
|
+
"../../../language/locales/pl-PL.json": () => import("./pl-PL-DUH23AYC.js"),
|
|
291
|
+
"../../../language/locales/pt-BR.json": () => import("./pt-BR-MAQR_CUu2.js"),
|
|
292
|
+
"../../../language/locales/pt-PT.json": () => import("./pt-PT-CoKsjpyN.js"),
|
|
293
|
+
"../../../language/locales/ro-RO.json": () => import("./ro-RO-Cpv5pKod.js"),
|
|
294
|
+
"../../../language/locales/sk-SK.json": () => import("./sk-SK-p_p2X_aA.js"),
|
|
295
|
+
"../../../language/locales/sl-SI.json": () => import("./sl-SI-BpZp1MAq.js"),
|
|
296
|
+
"../../../language/locales/sv-SE.json": () => import("./sv-SE-BoXCPhGb.js")
|
|
297
297
|
}), `../../../language/locales/${lang}.json`, 6)
|
|
298
298
|
},
|
|
299
299
|
{
|
|
@@ -3,21 +3,21 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "9a66a018-9295-4241-9a56-b5da83aecbda", e._sentryDebugIdIdentifier = "sentry-dbid-9a66a018-9295-4241-9a56-b5da83aecbda");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as httpGet, s as useApiContext } from "./http-DeQp0G69.js";
|
|
8
8
|
import { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
9
9
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
10
10
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
11
11
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
|
12
|
-
import { o as addressValidationRules, s as addressValidationRulesV4 } from "./Address-
|
|
12
|
+
import { o as addressValidationRules, s as addressValidationRulesV4 } from "./Address-BAE2QQ-5.js";
|
|
13
13
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
14
|
-
import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
14
|
+
import { c as nonInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-VtgquqE0.js";
|
|
15
15
|
import { t as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-pVY2Cqvr.js";
|
|
16
16
|
import { n as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-BGLDkUt1.js";
|
|
17
17
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
18
18
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
19
19
|
import { n as convertFullToHalf } from "./TextArea-BvphlYOu.js";
|
|
20
|
-
import { t as useForm } from "./useForm-
|
|
20
|
+
import { t as useForm } from "./useForm-BcvMNl0D.js";
|
|
21
21
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
22
22
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
23
23
|
import { useEffect, useState } from "preact/hooks";
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
6
|
import { r as KEYBOARD_KEYS } from "./Modal-C__-5LgI.js";
|
|
7
|
-
import { a as validateNotEmptyOnBlur, i as validateLegalCompanyName, r as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
7
|
+
import { a as validateNotEmptyOnBlur, i as validateLegalCompanyName, r as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-Bza9mezL.js";
|
|
8
8
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
9
9
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -3,15 +3,15 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "062bdad4-d79a-4beb-b24e-88d52b07f5a9", e._sentryDebugIdIdentifier = "sentry-dbid-062bdad4-d79a-4beb-b24e-88d52b07f5a9");
|
|
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
10
|
import { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
11
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
11
|
+
import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
13
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
13
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-DHDR28cv.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
//#region src/components/Individual/pages/LegalRepresentativeDetailsPage.tsx
|
|
@@ -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] = "afdd4259-a0a0-46c5-b130-8aa43cd8e639", e._sentryDebugIdIdentifier = "sentry-dbid-afdd4259-a0a0-46c5-b130-8aa43cd8e639");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, r as useTranslation } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as cloneObject } from "./AnalyticsContext-BFrJmsp0.js";
|
|
8
8
|
import { r as KEYBOARD_KEYS } from "./Modal-C__-5LgI.js";
|
|
9
9
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
@@ -472,7 +472,7 @@ var Inner = ({ name, inputState, optional, disabled, readonly, placeholder, disp
|
|
|
472
472
|
});
|
|
473
473
|
}
|
|
474
474
|
};
|
|
475
|
-
var MaskedInput = ({ value, onInput, onBlur, onFocus, onMismatch: onMismatchExternal, isValid: validationIsValid, errorMessage, shouldValidate, mask, name, label, placeholder, transformOnType, type = "text", readonly = false, disabled = false, optional = false, formatGuidance = "", acceptObscuredValue = false, helper, helperPosition = "below", useFieldComponent = true, stripNonAllowedInputs = false }) => {
|
|
475
|
+
var MaskedInput = ({ value, onInput, onBlur, onFocus, onMismatch: onMismatchExternal, isValid: validationIsValid, errorMessage, shouldValidate, mask, name, label, placeholder, transformOnType, type = "text", readonly = false, disabled = false, optional = false, formatGuidance = "", acceptObscuredValue = false, helper, helperPosition = "below", persistHelper = false, useFieldComponent = true, stripNonAllowedInputs = false }) => {
|
|
476
476
|
const hasExistingData = !isEmpty(value);
|
|
477
477
|
const [preservingMismatchedValue, setPreservingMismatchedValue] = useState$1(false);
|
|
478
478
|
const [isFocused, setIsFocused] = useState$1(false);
|
|
@@ -652,8 +652,11 @@ var MaskedInput = ({ value, onInput, onBlur, onFocus, onMismatch: onMismatchExte
|
|
|
652
652
|
value
|
|
653
653
|
]);
|
|
654
654
|
const getHelper = () => {
|
|
655
|
-
if (inputState.isError) return inputState.text;
|
|
656
|
-
if (helper) return /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("div", { children: helper }), /* @__PURE__ */ jsx("div", {
|
|
655
|
+
if (inputState.isError && !persistHelper) return inputState.text;
|
|
656
|
+
if (helper) return /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("div", { children: helper }), /* @__PURE__ */ jsx("div", {
|
|
657
|
+
style: { display: persistHelper ? "flex" : "unset" },
|
|
658
|
+
children: inputState.text
|
|
659
|
+
})] });
|
|
657
660
|
return inputState.text;
|
|
658
661
|
};
|
|
659
662
|
return useFieldComponent ? /* @__PURE__ */ jsx(Field, {
|
|
@@ -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] = "e15fee41-7910-4983-aacc-6a5d19ead0f3", e._sentryDebugIdIdentifier = "sentry-dbid-e15fee41-7910-4983-aacc-6a5d19ead0f3");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { I as ToastContextProvider } from "./resolveEnvironment-
|
|
5
|
+
import { I as ToastContextProvider } from "./resolveEnvironment-l2TGYFxw.js";
|
|
6
6
|
import { t as Modal } from "./Modal-C__-5LgI.js";
|
|
7
7
|
import { Fragment, jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/atoms/Modal/MaybeModal.tsx
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7ce8f842-e809-4f3e-9dca-0a49b045ec40", e._sentryDebugIdIdentifier = "sentry-dbid-7ce8f842-e809-4f3e-9dca-0a49b045ec40");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, 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 { n as IconButton } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
9
9
|
import { i as useAnalyticsContext } from "./Modal-C__-5LgI.js";
|
package/dist/{PayoutDetailsDropinMultiForm-BvJmm0SM.js → PayoutDetailsDropinMultiForm-DTNxQTj8.js}
RENAMED
|
@@ -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] = "cca4f145-50cf-408d-9a6b-d429f7c873d4", e._sentryDebugIdIdentifier = "sentry-dbid-cca4f145-50cf-408d-9a6b-d429f7c873d4");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { C as useDataset, J as extractFieldName, M as ExperimentNames, N as FeatureNames, T as datasetUtilities, Z as hasEmptyFields, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, q as concatenateFieldNames, tt as isAccountIdentifierObscured, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { C as useDataset, J as extractFieldName, M as ExperimentNames, N as FeatureNames, T as datasetUtilities, Z as hasEmptyFields, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, q as concatenateFieldNames, tt as isAccountIdentifierObscured, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { 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";
|
|
@@ -18,40 +18,40 @@ import { t as EEA_Countries } from "./countries-CPj8hkLs.js";
|
|
|
18
18
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
19
19
|
import { i as useAnalyticsContext, t as Modal } from "./Modal-C__-5LgI.js";
|
|
20
20
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
21
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
21
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
22
22
|
import { n as translateTranslatable, r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
23
23
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
24
24
|
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
25
25
|
import { n as getLegalEntityNameBasedOnType, r as getPayoutAccountHolderName } from "./getName-D4ECvzcI.js";
|
|
26
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
27
|
-
import { r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-
|
|
28
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
26
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
|
|
27
|
+
import { r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-uFcwmzTd.js";
|
|
28
|
+
import { t as ErrorPanel } from "./ErrorPanel-B5GuGh_o.js";
|
|
29
29
|
import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
|
|
30
30
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
31
|
-
import { n as summaryStep } from "./Summary-
|
|
31
|
+
import { n as summaryStep } from "./Summary-CunMdpUq.js";
|
|
32
32
|
import { r as summaryItem } from "./summaryItem-uDWmtYtt.js";
|
|
33
|
-
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-
|
|
33
|
+
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
|
|
34
34
|
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, o as payoutAccountFormat, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BmyzNoup.js";
|
|
35
35
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
36
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-
|
|
37
|
-
import { a as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, i as isValidationError, o as processValidationErrors, r as isIdDocumentUploadError, s as isMaintenanceModeError, t as isBankStatementUploadError } from "./validationError-
|
|
36
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-VtgquqE0.js";
|
|
37
|
+
import { a as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable, i as isValidationError, o as processValidationErrors, r as isIdDocumentUploadError, s as isMaintenanceModeError, t as isBankStatementUploadError } from "./validationError-COmWiy16.js";
|
|
38
38
|
import { a as createDocumentRequest, i as bytesToSize, l as getFileExtention, n as fileValidationRules, o as documentApiUtils, r as DropzoneFile, s as getDocument, t as defaultFileValidationOptions } from "./validate-B2bZh_uL.js";
|
|
39
|
-
import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-
|
|
39
|
+
import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Ck2si051.js";
|
|
40
40
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
41
|
-
import { o as validatePatternOnBlur } from "./patternValidators-
|
|
41
|
+
import { o as validatePatternOnBlur } from "./patternValidators-Bza9mezL.js";
|
|
42
42
|
import { t as bankStatementDescriptionPattern } from "./basePatterns-plHFNzgJ.js";
|
|
43
43
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
44
44
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
45
45
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
46
|
-
import { t as Select } from "./Select-
|
|
46
|
+
import { t as Select } from "./Select-CS2E69CJ.js";
|
|
47
47
|
import { t as TextArea } from "./TextArea-BvphlYOu.js";
|
|
48
48
|
import { t as Link } from "./Link-C0jrInxa.js";
|
|
49
49
|
import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
50
|
-
import { n as CountryField } from "./CountryField-
|
|
51
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
50
|
+
import { n as CountryField } from "./CountryField-DSI1tYm2.js";
|
|
51
|
+
import { t as ContextGuidance } from "./ContextGuidance-DLErBW62.js";
|
|
52
52
|
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
53
53
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
54
|
-
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
54
|
+
import { n as useTransferInstrument, t as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-CvaJH9VL.js";
|
|
55
55
|
import { t as Currencies } from "./currency-DQwXq9Mc.js";
|
|
56
56
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
57
57
|
import { t as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-DK_yrIU4.js";
|
|
@@ -471,16 +471,16 @@ function FilePicker({ files, setFiles, isValid, errorMessage, multiple = false,
|
|
|
471
471
|
}
|
|
472
472
|
//#endregion
|
|
473
473
|
//#region src/utils/getFormSlice.ts
|
|
474
|
-
function getFormSlice(form,
|
|
474
|
+
function getFormSlice(form, formName) {
|
|
475
475
|
return {
|
|
476
|
-
data: form.data[
|
|
477
|
-
valid: form.valid[
|
|
478
|
-
errors: form.errors[
|
|
479
|
-
requiredFields: form.requiredFields?.[
|
|
480
|
-
optionalFields: form.optionalFields?.[
|
|
481
|
-
obscuredFields: form.obscuredFields?.[
|
|
482
|
-
trustedFields: form.trustedFields?.[
|
|
483
|
-
handleChange: (
|
|
476
|
+
data: form.data[formName],
|
|
477
|
+
valid: form.valid[formName],
|
|
478
|
+
errors: form.errors[formName],
|
|
479
|
+
requiredFields: form.requiredFields?.[formName],
|
|
480
|
+
optionalFields: form.optionalFields?.[formName],
|
|
481
|
+
obscuredFields: form.obscuredFields?.[formName],
|
|
482
|
+
trustedFields: form.trustedFields?.[formName],
|
|
483
|
+
handleChange: (key, mode) => form.handleChangeFor(formName, key, mode)
|
|
484
484
|
};
|
|
485
485
|
}
|
|
486
486
|
//#endregion
|
|
@@ -1036,6 +1036,8 @@ var validDocumentTypes = [
|
|
|
1036
1036
|
"screenshotOnlineBanking",
|
|
1037
1037
|
"RIB"
|
|
1038
1038
|
];
|
|
1039
|
+
var paymentCardDocumentTypes = ["card"];
|
|
1040
|
+
var idDocumentTypes = ["idDocument"];
|
|
1039
1041
|
function BankDocumentClassification(props) {
|
|
1040
1042
|
const { legalEntity, id, fieldValidationErrors: fieldProblems, formVerificationErrors, country, handleNextClick } = props;
|
|
1041
1043
|
const { t } = useTranslation("banking");
|
|
@@ -1044,7 +1046,7 @@ function BankDocumentClassification(props) {
|
|
|
1044
1046
|
const inputRef = useRef(null);
|
|
1045
1047
|
const logger = createLogger();
|
|
1046
1048
|
const userEvents = useAnalyticsContext();
|
|
1047
|
-
const [
|
|
1049
|
+
const [documentTypeErrorMessage, setDocumentTypeErrorMessage] = useState(null);
|
|
1048
1050
|
const { form } = useFormContext();
|
|
1049
1051
|
const { data: bankDocumentData, valid, errors, handleChange, requiredFields, optionalFields, trustedFields } = getFormSlice(form, "payoutAccountDocuments");
|
|
1050
1052
|
const data = bankDocumentData;
|
|
@@ -1059,22 +1061,32 @@ function BankDocumentClassification(props) {
|
|
|
1059
1061
|
const isShadowMode = isFeatureEnabled(FeatureNames.EnableBankDocumentClassificationShadowMode);
|
|
1060
1062
|
const validateDocumentMutation = useValidateDocumentMultipart({
|
|
1061
1063
|
onSuccess: (response) => {
|
|
1064
|
+
const documentType = response?.documentType || "";
|
|
1065
|
+
let rejectedMessage = null;
|
|
1066
|
+
if (paymentCardDocumentTypes.includes(documentType)) rejectedMessage = "imagesOfDebitOrCreditCardsAreNotAccepted";
|
|
1067
|
+
else if (idDocumentTypes.includes(documentType)) rejectedMessage = "idDocumentsAreNotAccepted";
|
|
1068
|
+
if (!isShadowMode && rejectedMessage) {
|
|
1069
|
+
userEvents.addEvent("Encountered error", {
|
|
1070
|
+
actionType: "reject",
|
|
1071
|
+
actionLevel: "journey",
|
|
1072
|
+
label: "bankDocumentClassificationAutoReject",
|
|
1073
|
+
additionalData: { documentType }
|
|
1074
|
+
});
|
|
1075
|
+
handleChange("bankStatementDocument")([]);
|
|
1076
|
+
setDocumentTypeErrorMessage(rejectedMessage);
|
|
1077
|
+
return;
|
|
1078
|
+
}
|
|
1062
1079
|
userEvents.addEvent("Success", {
|
|
1063
1080
|
actionType: "upload",
|
|
1064
1081
|
actionLevel: "journey",
|
|
1065
1082
|
label: isShadowMode ? "bankDocumentClassificationShadowMode" : "bankDocumentClassification",
|
|
1066
1083
|
additionalData: {
|
|
1067
|
-
documentType
|
|
1084
|
+
documentType,
|
|
1068
1085
|
subDocumentType: response?.subDocumentType,
|
|
1069
1086
|
blurryOrLowQuality: response?.blurryOrLowQuality
|
|
1070
1087
|
}
|
|
1071
1088
|
});
|
|
1072
1089
|
if (isShadowMode) return;
|
|
1073
|
-
if (response?.documentType === "card") {
|
|
1074
|
-
handleChange("bankStatementDocument")([]);
|
|
1075
|
-
setCreditCardError(true);
|
|
1076
|
-
return;
|
|
1077
|
-
}
|
|
1078
1090
|
if (response?.blurryOrLowQuality || !validDocumentTypes.includes(response?.documentType || "")) {
|
|
1079
1091
|
userEvents.addEvent("Opened modal", {
|
|
1080
1092
|
actionType: "open",
|
|
@@ -1099,7 +1111,7 @@ function BankDocumentClassification(props) {
|
|
|
1099
1111
|
}
|
|
1100
1112
|
});
|
|
1101
1113
|
const handleDocumentUpload = async (files) => {
|
|
1102
|
-
|
|
1114
|
+
setDocumentTypeErrorMessage(null);
|
|
1103
1115
|
handleChange("bankStatementDocument")(files);
|
|
1104
1116
|
if (!(enableBankDocumentClassification && [
|
|
1105
1117
|
"US",
|
|
@@ -1195,13 +1207,13 @@ function BankDocumentClassification(props) {
|
|
|
1195
1207
|
formUtils,
|
|
1196
1208
|
id: "ariaErrorField"
|
|
1197
1209
|
}),
|
|
1198
|
-
|
|
1210
|
+
documentTypeErrorMessage && /* @__PURE__ */ jsx(Alert, {
|
|
1199
1211
|
variant: "error",
|
|
1200
|
-
className: "u-margin-bottom-
|
|
1212
|
+
className: "u-margin-bottom-32",
|
|
1201
1213
|
title: /* @__PURE__ */ jsx(Typography, {
|
|
1202
1214
|
el: "span",
|
|
1203
1215
|
variant: "body",
|
|
1204
|
-
children: t(($) => $[
|
|
1216
|
+
children: t(($) => $[documentTypeErrorMessage])
|
|
1205
1217
|
})
|
|
1206
1218
|
}),
|
|
1207
1219
|
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx(Typography, {
|
|
@@ -3383,8 +3395,8 @@ function PayoutDetailsDropinMultiForm({ legalEntityResponse, problems: propProbl
|
|
|
3383
3395
|
if (transferInstrument.id) documentUtils.fetchDocuments(transferInstrument.documentDetails, transferInstrument.id).then(() => {
|
|
3384
3396
|
const documents = mapApiDocumentToPayoutDocuments(transferInstrument.id);
|
|
3385
3397
|
setDocuments(documents);
|
|
3386
|
-
multiForm.handleChangeFor("
|
|
3387
|
-
multiForm.handleChangeFor("
|
|
3398
|
+
multiForm.handleChangeFor("payoutAccountDocuments", "bankStatementDocument")(documents.bankStatementDocument);
|
|
3399
|
+
multiForm.handleChangeFor("payoutAccountDocuments", "description")(documents.description);
|
|
3388
3400
|
}).catch(() => {
|
|
3389
3401
|
showToast({
|
|
3390
3402
|
label: commonT(($) => $["failedToFetchRelevantDocuments"]),
|
|
@@ -3,13 +3,13 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66365f7c-3f31-4eda-93e2-b99b35cf21f2", e._sentryDebugIdIdentifier = "sentry-dbid-66365f7c-3f31-4eda-93e2-b99b35cf21f2");
|
|
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
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
10
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
11
|
-
import { t as useNavigate } from "./useNavigate-
|
|
12
|
-
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
|
|
10
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
11
|
+
import { t as useNavigate } from "./useNavigate-CVT5ailE.js";
|
|
12
|
+
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-DTNxQTj8.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useParams } from "wouter-preact";
|
|
15
15
|
//#region src/components/BankAccount/pages/PayoutDetailsPage.tsx
|
|
@@ -29,7 +29,7 @@ function PayoutDetailsPage({ transferInstrumentId: transferInstrumentIdProp, set
|
|
|
29
29
|
"../language/da-DK.json": () => import("./da-DK-DDQUbqDb.js"),
|
|
30
30
|
"../language/de-DE.json": () => import("./de-DE-DdOrCrMa.js"),
|
|
31
31
|
"../language/el-GR.json": () => import("./el-GR-Bm9lqjyB.js"),
|
|
32
|
-
"../language/en-US.json": () => import("./en-US-
|
|
32
|
+
"../language/en-US.json": () => import("./en-US-Dokjxy17.js"),
|
|
33
33
|
"../language/es-ES.json": () => import("./es-ES-_w6Ygc8E.js"),
|
|
34
34
|
"../language/es-LA.json": () => import("./es-LA-Cxk68z4n.js"),
|
|
35
35
|
"../language/et-EE.json": () => import("./et-EE-CG66kNTM.js"),
|
|
@@ -3,10 +3,10 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5fe247e9-4404-4e7a-aec2-925459eec103", e._sentryDebugIdIdentifier = "sentry-dbid-5fe247e9-4404-4e7a-aec2-925459eec103");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { 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 { t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-DeQp0G69.js";
|
|
9
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
9
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
10
10
|
import { r as LoaderWrapper } from "./utils-BtyrxTzp.js";
|
|
11
11
|
import { t as Checkbox } from "./Checkbox-DPFQmSgp.js";
|
|
12
12
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
@@ -1,22 +1,21 @@
|
|
|
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] = "f06d30fc-5b34-4f45-bea3-599a1928848a", e._sentryDebugIdIdentifier = "sentry-dbid-f06d30fc-5b34-4f45-bea3-599a1928848a");
|
|
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
|
|
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 { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
9
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
9
|
+
import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
|
|
10
10
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
11
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
11
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
12
12
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-CQby20PN.js";
|
|
13
|
-
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
13
|
+
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-C3mDLYw0.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
//#region src/components/Business/pages/RootBusinessDetailsPage.tsx
|
|
16
16
|
var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
17
17
|
const { i18n } = useTranslation();
|
|
18
18
|
const capabilityProblems = useCapabilityProblems();
|
|
19
|
-
const { isFeatureEnabled } = useToggleContext();
|
|
20
19
|
const taskType = TaskTypes.BUSINESS_DETAILS;
|
|
21
20
|
const { data, isLoading } = useBusinessDetailsData(taskType);
|
|
22
21
|
addResourceBundles(i18n, [{
|
|
@@ -27,7 +26,7 @@ var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
27
26
|
"../language/da-DK.json": () => import("./da-DK-C4wRpqMC.js"),
|
|
28
27
|
"../language/de-DE.json": () => import("./de-DE-BOH-YgTt.js"),
|
|
29
28
|
"../language/el-GR.json": () => import("./el-GR-C5NDkWDr.js"),
|
|
30
|
-
"../language/en-US.json": () => import("./en-US-
|
|
29
|
+
"../language/en-US.json": () => import("./en-US-B4SH4SJV.js"),
|
|
31
30
|
"../language/es-ES.json": () => import("./es-ES-CDFWEg9c.js"),
|
|
32
31
|
"../language/es-LA.json": () => import("./es-LA-C7IleXTc.js"),
|
|
33
32
|
"../language/et-EE.json": () => import("./et-EE-P4s_U3BI.js"),
|
|
@@ -59,7 +58,7 @@ var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
59
58
|
legalEntityResponse: rootLe,
|
|
60
59
|
efpBusinessLines,
|
|
61
60
|
documents,
|
|
62
|
-
problems: filterProblemsByTaskForms(entityProblems, Object.keys(getForms(country
|
|
61
|
+
problems: filterProblemsByTaskForms(entityProblems, Object.keys(getForms(country))),
|
|
63
62
|
country,
|
|
64
63
|
onSubmit,
|
|
65
64
|
handleHomeClick
|
|
@@ -1,34 +1,34 @@
|
|
|
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] = "c978fcc4-16de-4bef-97c4-283132c47e3a", e._sentryDebugIdIdentifier = "sentry-dbid-c978fcc4-16de-4bef-97c4-283132c47e3a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, t as Trans } from "./translation-BR3rLb4m.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, j as useToggleContext, k as Header } from "./resolveEnvironment-l2TGYFxw.js";
|
|
7
7
|
import { n as IconButton, r as Loader, t as Button } from "./Button-3qGOI53m.js";
|
|
8
8
|
import { s as useApiContext, t as httpDelete } from "./http-DeQp0G69.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BXk2tzGe.js";
|
|
10
10
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
11
11
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
12
12
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
13
|
-
import { C as EntityTypes } from "./processCapabilities-
|
|
13
|
+
import { C as EntityTypes } from "./processCapabilities-fPuXc9gL.js";
|
|
14
14
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
15
15
|
import { t as useBusinessLines } from "./useBusinessLines-B2iCcDej.js";
|
|
16
16
|
import { n as usePciQuestionnaireList } from "./usePciQuestionnaireList-BEPt97lw.js";
|
|
17
17
|
import { n as usePciStatus, t as useSalesChannels } from "./useSalesChannels-CxxzJGtX.js";
|
|
18
18
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
19
19
|
import { i as useAnalyticsContext, r as KEYBOARD_KEYS, t as Modal } from "./Modal-C__-5LgI.js";
|
|
20
|
-
import { n as useToastContext } from "./invalidateRootLegalEntity-
|
|
21
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
20
|
+
import { n as useToastContext } from "./invalidateRootLegalEntity-DUOCxqZR.js";
|
|
21
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
22
22
|
import { t as Avatar } from "./Avatar-Z3MS8_pW.js";
|
|
23
23
|
import { t as Confirm } from "./Confirm-6QfuYcA7.js";
|
|
24
24
|
import { n as Image } from "./unincorporated-partnership-BstfjTh2.js";
|
|
25
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
26
|
-
import { r as getPropsFromConfigurations } from "./process-field-configurations-
|
|
25
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-1h2DlUxb.js";
|
|
26
|
+
import { r as getPropsFromConfigurations } from "./process-field-configurations-uFcwmzTd.js";
|
|
27
27
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
28
28
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
29
29
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVc3a6gf.js";
|
|
30
|
-
import { n as summaryStep } from "./Summary-
|
|
31
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
30
|
+
import { n as summaryStep } from "./Summary-CunMdpUq.js";
|
|
31
|
+
import { t as useMultiForm } from "./useMultiForm-C0Mz4Mm6.js";
|
|
32
32
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Doq80YT8.js";
|
|
33
33
|
import { t as Field } from "./Field-DAUlw0M5.js";
|
|
34
34
|
import { t as LandingLayout } from "./LandingLayout-C1yh_ggf.js";
|
|
@@ -38,12 +38,12 @@ import { t as InputText } from "./InputText-B-ebylm4.js";
|
|
|
38
38
|
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
39
39
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
40
40
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
41
|
-
import { t as NewSummary } from "./NewSummary-
|
|
41
|
+
import { t as NewSummary } from "./NewSummary-CaV_Faij.js";
|
|
42
42
|
import { t as useTaskStatus } from "./useTaskStatus-BLkHjMgm.js";
|
|
43
43
|
import { t as ListItem } from "./ListItem-C_g-4xPP.js";
|
|
44
44
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-jlXfi57a.js";
|
|
45
|
-
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-
|
|
46
|
-
import { t as SignPCIComponent } from "./SignPCIComponent-
|
|
45
|
+
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-BMNUJ3-d.js";
|
|
46
|
+
import { t as SignPCIComponent } from "./SignPCIComponent-BAemgvnk.js";
|
|
47
47
|
import { lazy } from "preact/compat";
|
|
48
48
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
49
49
|
import cx from "classnames";
|
|
@@ -251,7 +251,7 @@ function IndustryCodesForm({ id, formVerificationErrors = {}, fieldValidationErr
|
|
|
251
251
|
const { data: industryCodes, isLoading: industryCodesLoading } = useIndustryCodes(businessLineTypes, i18n.language);
|
|
252
252
|
const { data: existingBusinessLines, isLoading: existingBusinessLinesLoading } = useBusinessLines(["paymentProcessing"]);
|
|
253
253
|
const showLoader = industryCodesLoading || existingBusinessLinesLoading;
|
|
254
|
-
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor(
|
|
254
|
+
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor("industryCodesForm", fieldName, mode), [form]);
|
|
255
255
|
const formUtils = useMemo$1(() => {
|
|
256
256
|
const initialProps = {
|
|
257
257
|
data: form.data?.industryCodesForm ?? {},
|
|
@@ -633,7 +633,7 @@ function WebDataField({ data, valid, errors, labels, handleChangeFor }) {
|
|
|
633
633
|
function SalesChannelsForm({ id, formVerificationErrors = {}, fieldValidationErrors = {}, handleNextClick }) {
|
|
634
634
|
const { t } = useTranslation(["common", "businessLines"]);
|
|
635
635
|
const { form } = useFormContext();
|
|
636
|
-
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor(
|
|
636
|
+
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor("salesChannelsForm", fieldName, mode), [form]);
|
|
637
637
|
const formUtils = useMemo$1(() => {
|
|
638
638
|
return createFormUtils({
|
|
639
639
|
data: form.data?.salesChannelsForm ?? {},
|
|
@@ -858,7 +858,7 @@ function SctaForm({ id, formVerificationErrors = {}, fieldValidationErrors = {}
|
|
|
858
858
|
const { t } = useTranslation(["common", "businessLines"]);
|
|
859
859
|
const { form } = useFormContext();
|
|
860
860
|
const [openSctaInfoModal, setOpenSctaInfoModal] = useState$1(false);
|
|
861
|
-
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor(
|
|
861
|
+
const handleChangeFor = useCallback$1((fieldName, mode) => form.handleChangeFor("sctaForm", fieldName, mode), [form]);
|
|
862
862
|
const formUtils = useMemo$1(() => {
|
|
863
863
|
return createFormUtils({
|
|
864
864
|
data: form.data?.sctaForm ?? {},
|
package/dist/{RootIndividualDetailsPage-BcM3xHZ8.js → RootIndividualDetailsPage-BzC1-cyB.js}
RENAMED
|
@@ -3,17 +3,17 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "af48e7fd-eed4-4339-95b1-78bfa60be585", e._sentryDebugIdIdentifier = "sentry-dbid-af48e7fd-eed4-4339-95b1-78bfa60be585");
|
|
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, _ as isPartOfTrustFromLegalEntity, ft as useAccountHolder } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, _ as isPartOfTrustFromLegalEntity, ft as useAccountHolder } 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
10
|
import { a as noop } from "./AnalyticsContext-BFrJmsp0.js";
|
|
11
|
-
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-
|
|
11
|
+
import { C as EntityTypes, c as individualBaseMapping } from "./processCapabilities-fPuXc9gL.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
13
|
-
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CCpr4UGm.js";
|
|
14
14
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-CQby20PN.js";
|
|
15
15
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BJ88GlM-.js";
|
|
16
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
16
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-DHDR28cv.js";
|
|
17
17
|
import { jsx } from "preact/jsx-runtime";
|
|
18
18
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
19
19
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|