@adyen/kyc-components 4.22.0-beta.0 → 4.22.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-D2mvc_PB.js → AcceptTermsOfServiceWorkflow-BOf_52TF.js} +4 -4
- package/dist/{Accordion-DEivLTcw.js → Accordion-Sjyj7C_t.js} +1 -1
- package/dist/{AccountSetupRejected-pcQcFAhQ.js → AccountSetupRejected-DoYH7MuS.js} +1 -1
- package/dist/{AdaptiveWorkflow-C0EsaW8F.js → AdaptiveWorkflow-ychw-YVL.js} +16 -16
- package/dist/{AdaptiveWorkflowComponent-Nk2CJaU4.js → AdaptiveWorkflowComponent-DFnkomSo.js} +3 -3
- package/dist/{AddressFields-3kqeRdC_.js → AddressFields-CFf-ECTn.js} +10 -10
- package/dist/{Avatar-DHyXCNwV.js → Avatar-Zp1T9qAL.js} +1 -1
- package/dist/{BusinessFinancingDropin-BOECqGNd.js → BusinessFinancingDropin-Dr9GOZI2.js} +31 -31
- package/dist/{BusinessFinancingPage-DSy5an97.js → BusinessFinancingPage-DIHz906_.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-DHccXqsX.js → BusinessRegistrationNumberField-BGZrKxCP.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-2e9GKH-i.js → BusinessRegistrationNumberFieldGroup-D4289xzf.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-BraXRUrg.js → BusinessTypeSelectionPage-D7mTXytS.js} +85 -67
- package/dist/{Button-nDbNtBn3.js → Button-DfRmINzF.js} +1 -1
- package/dist/{Checkbox-BiKnP2fS.js → Checkbox-DTQ5Y6L-.js} +2 -2
- package/dist/{ComponentGroup-Due-N8Yz.js → ComponentGroup-DysWDI71.js} +3 -3
- package/dist/{ConstitutionalDocument-CtRHXMb9.js → ConstitutionalDocument-o1_xv4zy.js} +15 -15
- package/dist/{ContactDetails-Syyy5BfB.js → ContactDetails-BUZAvP2T.js} +5 -5
- package/dist/{ContextGuidance-D8leB0D6.js → ContextGuidance-fy9mkvE5.js} +3 -3
- package/dist/{Currency-CFsMnSP0.js → Currency-CfDw1FVZ.js} +5 -5
- package/dist/{CustomerSupport-DqayB3BM.js → CustomerSupport-BRTzBxJt.js} +25 -15
- package/dist/{DataConflictsModal-Bz2SYyi5.js → DataConflictsModal-s-Ss3HdC.js} +7 -7
- package/dist/{DebugModal-fH0uKl1E.js → DebugModal-CbilZSFv.js} +10 -10
- package/dist/{DecisionMakerDetails-7IPREpy1.js → DecisionMakerDetails-CWZUSV8G.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-Bs9q7sxc.js → DecisionMakerDetailsPage-Rtsv9ICS.js} +7 -7
- package/dist/{DecisionMakers-Dw66GRhZ.js → DecisionMakers-BmUjP2RH.js} +13 -13
- package/dist/{Dropzone-CjLSK2UN.js → Dropzone-dnfMEv2T.js} +7 -7
- package/dist/{EmbeddedStatus-BIVFBjzu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
- package/dist/{EndStateLayout-D2CSEwEn.js → EndStateLayout-BK1Hh02g.js} +2 -2
- package/dist/{EntityAssociation-LF_5ihhI.js → EntityAssociation-CH9G3mlZ.js} +6 -6
- package/dist/{ErrorPanel-tLtZnFnX.js → ErrorPanel-B5suXapM.js} +2 -2
- package/dist/{GlobalEntryModal-CY-t1fGQ.js → GlobalEntryModal-DwhX1CJz.js} +237 -51
- package/dist/{GlobalEntryPage-xX4ruKnx.js → GlobalEntryPage-DPYM9_FS.js} +11 -8
- package/dist/{Icon-BcaP-f1D.js → Icon-C3S5_kkS.js} +1 -1
- package/dist/{IdentityNumber-4ky6SOcb.js → IdentityNumber-BJymypwh.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-BKKmSfLG.js → IdentityNumberFieldGroup-DPfXsI_n.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-D0eNj4nD.js → IdentityScreeningWorkflow-ZVSOyRqF.js} +12 -12
- package/dist/{IndividualDropin-DrQiG_Vy.js → IndividualDropin-B3UfxIu8.js} +269 -45
- package/dist/{IndustryCodeFieldGroup-jm8KFccr.js → IndustryCodeFieldGroup-D5U1t1F-.js} +4 -4
- package/dist/{InputDate-C14J5Af2.js → InputDate-CncTgJYS.js} +3 -3
- package/dist/{InputText-Dr-Wg0uc.js → InputText-Bniyaz3w.js} +3 -3
- package/dist/{Introduction-DXAxkrDG.js → Introduction-BOz_2500.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-CPMIUjiE.js → InvitedDecisionMakerComponent-DgIv6IG9.js} +9 -9
- package/dist/{JpAddressFields-olKUlhpt.js → JpAddressFields-nEKx7nU_.js} +8 -8
- package/dist/{LegalCompanyNameField-BrdI-awc.js → LegalCompanyNameField-BFm2LIw2.js} +5 -5
- package/dist/{LegalName-CWoSqy0V.js → LegalName-DBvf_laS.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-Ca3FLoSd.js → LegalRepresentativeDetailsPage-BVr_AhP6.js} +3 -3
- package/dist/{Link-opuU6bLF.js → Link-c2jAgGgc.js} +1 -1
- package/dist/{ListItem-CbjOa0L_.js → ListItem-C35r8558.js} +3 -3
- package/dist/{Modal-BDNS-0rS.js → Modal-5uXk2vE6.js} +2 -2
- package/dist/{Name-CxlxPgUR.js → Name-CbdY9G9k.js} +4 -4
- package/dist/{NewSummary-mLsovGX8.js → NewSummary-lUp_hg6V.js} +6 -6
- package/dist/{PatriotActDisclosure-kOnDnF8P.js → PatriotActDisclosure-i6txl8sg.js} +9 -9
- package/dist/{PayoutDetailsDropin-CZ77wefd.js → PayoutDetailsDropin-BnDericg.js} +25 -25
- package/dist/{PayoutDetailsPage-Cyy-fDbK.js → PayoutDetailsPage-zLj-XA7a.js} +4 -4
- package/dist/{RadioGroup-C0mNADXE.js → RadioGroup-BcRkK03K.js} +11 -11
- package/dist/{Review-CDtJh9j3.js → Review--lh7xBZJ.js} +6 -6
- package/dist/{RootBusinessDetailsPage-CnVWFx0H.js → RootBusinessDetailsPage-CsOt68pH.js} +3 -3
- package/dist/{RootBusinessLinesPage-Dtx9X-mD.js → RootBusinessLinesPage-CsPTRJHI.js} +20 -20
- package/dist/{RootIndividualDetailsPage-q8PZ0Khk.js → RootIndividualDetailsPage-CROUaWsK.js} +4 -4
- package/dist/{Select-UO37dd_q.js → Select-CAYO1vj-.js} +6 -6
- package/dist/{SignPCIComponent-D21OqVWo.js → SignPCIComponent-iFFWNqDL.js} +13 -13
- package/dist/{SingpassSelection-CRYphIRT.js → SingpassSelection-BKRSs-Xf.js} +4 -4
- package/dist/{SoleProprietorshipPage-BKB0sRiP.js → SoleProprietorshipPage-UvZsbICO.js} +3 -3
- package/dist/{SourceOfFundsPage-C2ZEp0lT.js → SourceOfFundsPage-B5E9w3tI.js} +25 -28
- package/dist/{SourceOfFundsWorkflow-Cy12c7ou.js → SourceOfFundsWorkflow-DgUkjcYh.js} +4 -4
- package/dist/{StateField-CWS8eXex.js → StateField-DB4_kWP5.js} +46 -5
- package/dist/{Step-CYG94mSp.js → Step-CoGy1zas.js} +4 -4
- package/dist/{Task-D6xuGucd.js → Task-DdRNdhJY.js} +7 -7
- package/dist/{TaskGroup-C4ND30dB.js → TaskGroup-yVbg_WHM.js} +3 -3
- package/dist/{TaskListItem-Dc6n6llv.js → TaskListItem-BritELso.js} +10 -10
- package/dist/{TaskStepperContextProvider-CvChF1W5.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
- package/dist/{TaskVerificationStatus-pjPK5vVN.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
- package/dist/{TaxInformationFieldGroup-BACQgHQ7.js → TaxInformationFieldGroup-CYcqRgQt.js} +9 -9
- package/dist/{TaxReportingDropin-DmOclyYQ.js → TaxReportingDropin-Dxt-K1Td.js} +14 -14
- package/dist/{TaxReportingWorkflow-CBEB7oAn.js → TaxReportingWorkflow-xeJVSZxl.js} +4 -4
- package/dist/{TermsOfServiceManagement-No_9QGjv.js → TermsOfServiceManagement-BiqqRcsM.js} +12 -12
- package/dist/{TextArea-BzY5efza.js → TextArea-mN6mmyt0.js} +4 -4
- package/dist/{TrustDetailsPage-BHjbebZX.js → TrustDetailsPage-OuITcLjL.js} +23 -25
- package/dist/{TrustMemberCompanyPage-BSe-Pn1O.js → TrustMemberCompanyPage-BSr2h39m.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DxlZQF6W.js → TrustMemberIndividualPage-D1oTjw8X.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-AtlXyfKk.js → TrustMemberRoleAndTypePage-qnLRC07p.js} +15 -16
- package/dist/{TrustMembersOverview-DpmUv4Vj.js → TrustMembersOverview-BhtPLg82.js} +11 -11
- package/dist/{UboTaskItem-ESC2Ze3o.js → UboTaskItem-dmz_L8pF.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-BVpz27KZ.js → UnincorporatedPartnershipIndividualPage-BGuseNDd.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BBxtLGt0.js → UnincorporatedPartnershipMemberCompanyPage-DfWEeKVA.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BuI7aE3O.js → UnincorporatedPartnershipMemberRoleAndTypePage-CNrub8wj.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-sE8-A2hQ.js → UnincorporatedPartnershipMembersOverview-BISsH8Wm.js} +6 -6
- package/dist/{VerificationErrorAlert-BCEhkhpr.js → VerificationErrorAlert-DAg5VgBd.js} +3 -3
- package/dist/{Workflow-CzSGihyD.js → Workflow-CVwXYQQE.js} +6 -6
- package/dist/{accountHolderUtils-3WiED1-j.js → accountHolderUtils-Dt7JmWab.js} +1 -1
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +43 -34
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +10 -10
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-h8n1IbJ9.js → bafinUtils-B8teCz7U.js} +160 -1053
- package/dist/businessRegistrationNumberPatterns-DwjKFSlu.js +981 -0
- package/dist/{constants-B9iXz9xK.js → constants-CSVEfRuk.js} +4 -4
- package/dist/{country-DkgapJ4w.js → country-zZC2TAQB.js} +1 -1
- package/dist/{decisionMaker-M0Tm92JR.js → decisionMakerRoles-APTR-Ah_.js} +41 -2
- package/dist/{error-CHFF8jLc.js → error-DhPmKdY4.js} +3 -3
- package/dist/{form-rules-CKwx5XtT.js → form-rules-yTwukXew.js} +6 -6
- package/dist/{formatValidationError-DZ1CxHdw.js → formatValidationError-ChBRk626.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-6m6DEmW8.js → getDefaultRegistrationNumberType-DPidx6iz.js} +59 -59
- package/dist/{getTrustedDecisionMakers-qs2frwk2.js → getTrustedDecisionMakers-DX3nImM5.js} +2 -2
- package/dist/{legalArrangementUtils-skU_cq9L.js → legalArrangementUtils-xvCxpgzJ.js} +48 -2
- package/dist/mapAddressLocalizationToJpAddressSchema-DEOqm_oJ.js +26 -0
- package/dist/{mapExistingFile-CDahgHsP.js → mapExistingFile-CwGW1ru4.js} +1 -1
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CX2djRYM.js → mapJpAddressSchemaToAddressLocalizations-BcW9wSjn.js} +3 -4
- package/dist/{mapLegalEntityToIndividualSchema-ChE9qTUB.js → mapLegalEntityToIndividualSchema-Ksy4YlcJ.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-BmSbFaJJ.js → mapTransferInstrumentToPayoutAccount-BoZaPCSn.js} +2 -2
- package/dist/{processValidationErrors-CRWq2tu-.js → processValidationErrors-BJNiG_SS.js} +3 -3
- package/dist/{resolveEnvironment-D2iMH7UD.js → resolveEnvironment-6rOnOa58.js} +11 -11
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/BusinessRegistrationNumberFieldGroup.d.ts +2 -3
- package/dist/types/adaptiveWorkflow/components/Fields/BusinessRegistrationNumber/RegistrationNumberTypeSelectorField.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxIdTypeSelectorField.d.ts +2 -2
- package/dist/types/adaptiveWorkflow/components/Fields/TaxInformation/TaxInformationFieldGroup.d.ts +3 -3
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +1 -1
- package/dist/types/api/legalEntity/legalEntity.types.d.ts +9 -0
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +7 -7
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +2 -2
- package/dist/types/components/Business/forms/RegistrationDocument/types.d.ts +3 -3
- package/dist/types/components/Business/forms/TaxDocument/types.d.ts +3 -3
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/validate.d.ts +2 -2
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +2 -2
- package/dist/types/components/Business/utils/companyTypeMetadata.d.ts +4 -4
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -2
- package/dist/types/components/Business/utils/utils.d.ts +3 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +96 -102
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +5 -6
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -2
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/PrimaryPartnerTypeField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/fields/UnincorporatedOrganizationTypeField/types.d.ts +1 -1
- package/dist/types/components/GlobalEntry/globalEntryKeyMapping.d.ts +15 -0
- package/dist/types/components/GlobalEntry/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryModal.d.ts +6 -2
- package/dist/types/components/GlobalEntry/tasks/GlobalEntryPage.d.ts +5 -1
- package/dist/types/components/GlobalEntry/utils.d.ts +27 -3
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +0 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +1 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/getDefaultRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/RegistrationNumberTypeSelector/inferCompanyRegistrationNumberType.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +2 -2
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/registrationNumberTypes.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +3 -4
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/getDefaultTaxIdNumberType.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/TaxIdNumberTypeSelector/inferTaxIdNumberType.d.ts +3 -4
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +4 -4
- package/dist/types/components/Shared/fields/TaxInformationField/taxIdNumberTypes.d.ts +5 -4
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +9 -4
- package/dist/types/components/Shared/fields/TaxInformationField/utils.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +4 -4
- package/dist/types/components/Shared/fields/VatNumberField/vatNumberTypes.d.ts +2 -3
- package/dist/types/components/Shared/forms/Address/localized/jp/mapAddressLocalizationToJpAddressSchema.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/localized/jp/mapJpAddressSchemaToAddressLocalizations.d.ts +2 -2
- package/dist/types/components/Shared/forms/Address/types.d.ts +3 -7
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/useUpdateLegalEntityAndSelectAccountHolder.d.ts +13 -0
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +3 -3
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapCustomerSupportSchemaToCustomerSupportType.d.ts +2 -2
- package/dist/types/components/Shared/tasks/CustomerSupport/mapping/mapDtoToCustomerSupportSchema.d.ts +3 -0
- package/dist/types/core/models/api/individual.d.ts +5 -6
- package/dist/types/core/models/api/legal-arrangement.d.ts +6 -6
- package/dist/types/core/models/api/legal-entity.d.ts +2 -2
- package/dist/types/core/user-events.d.ts +2 -2
- package/dist/types/datasets/generators/getCompanyTypeExamplesForCountry.d.ts +3 -3
- package/dist/types/hooks/useDataConflicts.d.ts +2 -2
- package/dist/types/router/routeConfig.d.ts +1 -1
- package/dist/types/types/businessEntityType.d.ts +7 -0
- package/dist/types/utils/addressToString.d.ts +2 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -1
- package/dist/types/utils/businessUtils.d.ts +18 -7
- package/dist/types/utils/customerSupportUtils.d.ts +2 -2
- package/dist/types/utils/legalArrangementUtils.d.ts +1 -0
- package/dist/types/utils/mapping/documentGuidanceMap.d.ts +1 -1
- package/dist/{types-Bdfu7HN6.js → types-wRlt8bxb.js} +1 -1
- package/dist/{useBusinessDetailsData-DZQuIMNw.js → useBusinessDetailsData-D5WMRXf8.js} +88 -111
- package/dist/{useCanSeeIntroduction-BGYdkMIE.js → useCanSeeIntroduction-47a29qGT.js} +3 -3
- package/dist/{useForm-BJq32Ve1.js → useForm-C8X8Nh_A.js} +3 -3
- package/dist/{useHideTaskStepper-CcCmW80A.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
- package/dist/{useId-BMocIuPK.js → useId-CcjYxxnm.js} +1 -1
- package/dist/{useNavigate-D4ypqPBN.js → useNavigate-ZoEeUtrK.js} +33 -33
- package/dist/{useSalesChannels-BCzs8Xya.js → useSalesChannels-K1tuVs25.js} +3 -3
- package/dist/{useTaskLandedEvent-Cf1fN_gV.js → useTaskLandedEvent-DcX3urqZ.js} +2 -2
- package/dist/{useTrustMembers-DqpnYNNj.js → useTrustMembers-DoRWdimd.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-w3dG_nyc.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
- package/dist/{StructuredList-CqZM_5X9.js → utils-CXLiV88a.js} +94 -5
- package/dist/{utils-BMhvbUV1.js → utils-Dm0eoyQ6.js} +8 -17
- package/dist/{validate-BqIbVY0E.js → validate-09Jy2SgA.js} +8 -8
- package/dist/{validate-DiEa5w30.js → validate-BcUs5K_M.js} +46 -6
- package/dist/{validate-RLWN-I5L.js → validate-DnnWVNv6.js} +2 -2
- package/dist/{validate-Dfw99Sal.js → validate-tS-cwVuY.js} +3 -3
- package/dist/{validateExtractionResult-DueyX5oY.js → validateExtractionResult-dH4TewHf.js} +2 -2
- package/dist/{validationError-BhICjGiF.js → validationError-D4d622D3.js} +2 -2
- package/package.json +1 -1
- package/dist/Individual.rules-PKwY3D-0.js +0 -293
- package/dist/decisionMakerRoles-DbKnutwk.js +0 -46
- package/dist/isEmpty-DD8Insy0.js +0 -14
- package/dist/mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js +0 -66
- package/dist/types/core/models/api/address.d.ts +0 -14
- package/dist/types/core/models/api/branchAllocation.d.ts +0 -5
- package/dist/types/core/models/api/company-types-value.d.ts +0 -15
- package/dist/types/core/models/api/customerSupport.d.ts +0 -12
- package/dist/types/core/models/api/financialReport.d.ts +0 -15
- package/dist/types/core/models/api/organization.d.ts +0 -60
- package/dist/useCreateLegalEntity-CYZd_62a.js +0 -24
- package/dist/useUpdateLegalEntity-CvACAgDP.js +0 -29
- package/dist/utils-Br7Ah3uy.js +0 -46
- package/dist/utils-DdHbAadK.js +0 -80
|
@@ -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] = "a7b82f47-7738-4838-a812-62d2980b0fba", e._sentryDebugIdIdentifier = "sentry-dbid-a7b82f47-7738-4838-a812-62d2980b0fba");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { B as INDIVIDUAL_VALID_CHAR_REGEX, C as useDataset, D as useCapabilities, E as useAllowedCountries, G as SPECIAL_CHARS, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, U as NO_ALPHABET_UNICODE_REGEX, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useSettingsContext, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, pt as useAccountHolder, 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, Q as hasMaximumTwoRepeatedCharacters, T as datasetUtilities, U as NO_ALPHABET_UNICODE_REGEX, Y as getFormattingRegEx, c as isLegalRepresentativeNeeded, ct as standardKanjiValidator, et as hasText, ft as useSettingsContext, it as isInvalidName, j as useToggleContext, k as Header, lt as standardKatakanaValidator, nt as isEmpty, o as getAgeRangeForLegalRepresentative, pt as useAccountHolder, s as getAgeToday, st as matchesRegex, w as datasetIdentifier, x as Alert, z as EMOJI_REGEX } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
9
9
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-DfRmINzF.js";
|
|
11
11
|
import { n as httpGet, r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
12
12
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
13
13
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
@@ -15,55 +15,49 @@ import { a as objectsDeepEqual, n as doArraysMatch, r as drop, t as cloneObject
|
|
|
15
15
|
import { r as euCountries, t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
16
16
|
import { l as individualDocumentMapping, s as individualApiKeyMapping, u as individualObscuredFields } from "./processCapabilities-BfskhjUw.js";
|
|
17
17
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
18
|
-
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, u as hasNomineesChanged } from "./entityAssociationUtil-CLBR9osP.js";
|
|
18
|
+
import { n as attachNomineeToRole, r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations, t as allowedCountriesForNominee, u as hasNomineesChanged } from "./entityAssociationUtil-CLBR9osP.js";
|
|
19
19
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
20
20
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
21
|
-
import { t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-
|
|
22
|
-
import { i as
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
21
|
+
import { s as getAvailableDecisionMakerRoleTypes, t as getAllowedDecisionMakerRoles } from "./decisionMakerRoles-APTR-Ah_.js";
|
|
22
|
+
import { i as isLowRiskCountry } from "./country-zZC2TAQB.js";
|
|
23
|
+
import { i as useAnalyticsContext, t as Modal } from "./Modal-5uXk2vE6.js";
|
|
24
|
+
import { a as SettingNames, t as InputText } from "./InputText-Bniyaz3w.js";
|
|
25
|
+
import { _ as getPropsFromConfigurations, d as InputEmail, g as composePerScenarioFormConfigurations, m as resolveFieldMetadata, p as convertFullToHalf, t as createFormRules, u as MaskedInput, v as LandingLayout, y as TrustedFieldsProviders } from "./form-rules-yTwukXew.js";
|
|
26
|
+
import { r as useToastContext } from "./useId-CcjYxxnm.js";
|
|
27
|
+
import { f as translateTranslatable, p as LoaderWrapper, r as Field, t as Select } from "./Select-CAYO1vj-.js";
|
|
28
|
+
import { r as formatObject, s as Confirm } from "./utils-CXLiV88a.js";
|
|
29
|
+
import { d as COUNTRIES_WITH_STATES_DATASET, f as addressFields, i as getAddressSchemaForCountry, m as useCreateLegalEntity, p as useUpdateLegalEntity, s as mapAddressLabels } from "./StateField-DB4_kWP5.js";
|
|
30
|
+
import { A as mergeFieldMetadataIntoProps, C as preTranslatedSummaryItem, M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, m as FormFlow, p as getRequiredForms, t as RadioGroup, u as CountryField, v as isTruthyValidator, y as useFormComposer } from "./RadioGroup-BcRkK03K.js";
|
|
30
31
|
import { t as Image } from "./Image-D82terx4.js";
|
|
31
|
-
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-
|
|
32
|
-
import {
|
|
32
|
+
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-B5suXapM.js";
|
|
33
|
+
import { B as taxInformationDefaultFieldConfig, H as toFullWidth, I as mapSchemaFieldsToApiScriptLocalization, P as isEmpty$1, U as isJapanLocalizationEnabled, V as taxInformationDefaultFieldMetadata, _ as taxIdNumberOptions, a as idNowPostSubmit, i as idNowModalChildEntityId, n as isBafinSignatoryFlow, o as shouldShowIdNowModal, s as showIdNowModal, u as TaxInformationField } from "./bafinUtils-B8teCz7U.js";
|
|
33
34
|
import { t as getIndividualLegalEntityName } from "./getName-s7qmFean.js";
|
|
34
35
|
import { t as useScenarios } from "./useScenarios-CGcmXgJv.js";
|
|
35
|
-
import { t as
|
|
36
|
-
import {
|
|
37
|
-
import { t as
|
|
38
|
-
import { n as
|
|
39
|
-
import {
|
|
40
|
-
import { i as
|
|
41
|
-
import { t as
|
|
42
|
-
import {
|
|
43
|
-
import { n as
|
|
44
|
-
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument, u as getIdDocument } from "./validate-DiEa5w30.js";
|
|
45
|
-
import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Br7Ah3uy.js";
|
|
46
|
-
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
47
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-kOnDnF8P.js";
|
|
36
|
+
import { a as individualFormDefaultData, i as GuidanceQuestionValues, n as getOnfidoIdentityTypeToApiIdentityTypeMap, o as shouldNavigateToAdditionalPersonalDetailsForMissingData, r as GuidanceQuestion, s as useCreateInvitation, t as mapLegalEntityToIndividualSchema } from "./mapLegalEntityToIndividualSchema-Ksy4YlcJ.js";
|
|
37
|
+
import { n as ALL_ADDRESS_FIELDS, s as useProviderStatus, t as AddressFields } from "./AddressFields-CFf-ECTn.js";
|
|
38
|
+
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-BUZAvP2T.js";
|
|
39
|
+
import { i as useScenarioConfiguration, n as getPage, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CwGW1ru4.js";
|
|
40
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DcX3urqZ.js";
|
|
41
|
+
import { i as JP_ADDRESS_REQUIRED_FIELDS, n as mapJpAddressSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BcW9wSjn.js";
|
|
42
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-BJNiG_SS.js";
|
|
43
|
+
import { a as createDocumentRequest, d as mergeAttachments, l as getFileExtention, o as documentApiUtils, p as getLocalizedIdDocumentTypeOptions, s as getDocument, u as getIdDocument } from "./validate-BcUs5K_M.js";
|
|
44
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, r as DocumentGuidance, t as PatriotActDisclosure } from "./PatriotActDisclosure-i6txl8sg.js";
|
|
48
45
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
49
|
-
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-
|
|
50
|
-
import { a as isValidationError } from "./validationError-
|
|
51
|
-
import { a as getAsyncIdNumberValidationRule, i as defaultFieldMetadata$1, n as idNumberFields, o as licenseCardNumberDefaultConfig, r as defaultFieldConfig, s as licenseCardNumberDefaultMetadata, t as IdentityNumber } from "./IdentityNumber-
|
|
52
|
-
import { n as formatDateObj, t as InputDate } from "./InputDate-
|
|
53
|
-
import { t as addressValidators } from "./validate-
|
|
46
|
+
import { n as omitObscuredFieldsIfUnchanged, t as AdyenKycSdkError } from "./error-DhPmKdY4.js";
|
|
47
|
+
import { a as isValidationError } from "./validationError-D4d622D3.js";
|
|
48
|
+
import { a as getAsyncIdNumberValidationRule, i as defaultFieldMetadata$1, n as idNumberFields, o as licenseCardNumberDefaultConfig, r as defaultFieldConfig, s as licenseCardNumberDefaultMetadata, t as IdentityNumber } from "./IdentityNumber-BJymypwh.js";
|
|
49
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-CncTgJYS.js";
|
|
50
|
+
import { t as addressValidators } from "./validate-tS-cwVuY.js";
|
|
54
51
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
55
|
-
import { t as TextArea } from "./TextArea-
|
|
56
|
-
import { t as Dropzone } from "./Dropzone-
|
|
52
|
+
import { t as TextArea } from "./TextArea-mN6mmyt0.js";
|
|
53
|
+
import { t as Dropzone } from "./Dropzone-dnfMEv2T.js";
|
|
57
54
|
import { n as getFieldProps, r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
58
|
-
import { t as Link } from "./Link-
|
|
59
|
-
import { t as ContextGuidance } from "./ContextGuidance-
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import { t as
|
|
63
|
-
import {
|
|
64
|
-
import { t as isEmpty$1 } from "./isEmpty-DD8Insy0.js";
|
|
65
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-Bz2SYyi5.js";
|
|
66
|
-
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
55
|
+
import { t as Link } from "./Link-c2jAgGgc.js";
|
|
56
|
+
import { t as ContextGuidance } from "./ContextGuidance-fy9mkvE5.js";
|
|
57
|
+
import { n as nameFields, t as Name } from "./Name-CbdY9G9k.js";
|
|
58
|
+
import { t as formatValidationError } from "./formatValidationError-ChBRk626.js";
|
|
59
|
+
import { a as fromIndividualConflictSchema, c as createAddressConflictRule, d as useExtractDocumentInformation, i as mapExtractionResultToSchema, l as useDataConflicts, n as UploadedDocument, o as toIndividualConflictSchema, r as useIdVerificationToken, s as IdVerificationMethod_module_default, t as validateExtractionResult, u as addressToString } from "./validateExtractionResult-dH4TewHf.js";
|
|
60
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-s-Ss3HdC.js";
|
|
67
61
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
68
62
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
69
63
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -799,6 +793,236 @@ var DriversLicense = ({ country, driversLicense, onIssuerStateChange, onLicenseN
|
|
|
799
793
|
] });
|
|
800
794
|
};
|
|
801
795
|
//#endregion
|
|
796
|
+
//#region src/components/Individual/forms/Individual.rules.ts
|
|
797
|
+
var REQUIRED = "REQUIRED";
|
|
798
|
+
var OPTIONAL = "OPTIONAL";
|
|
799
|
+
var ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
800
|
+
CountryCodes.Canada,
|
|
801
|
+
CountryCodes.PuertoRico,
|
|
802
|
+
CountryCodes.UnitedStates
|
|
803
|
+
];
|
|
804
|
+
var COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES = [
|
|
805
|
+
CountryCodes.HongKong,
|
|
806
|
+
CountryCodes.Australia,
|
|
807
|
+
CountryCodes.NewZealand
|
|
808
|
+
];
|
|
809
|
+
var ID_NUMBER_REQUIRED_FOR_DIRECTOR_COUNTRIES = [CountryCodes.Singapore, CountryCodes.UnitedStates];
|
|
810
|
+
var NATIONALITY_REQUIRED_FOR_COUNTRIES = [CountryCodes.Singapore, CountryCodes.HongKong];
|
|
811
|
+
var JOB_TITLE_REQUIRED_FOR_COUNTRIES = [CountryCodes.NewZealand];
|
|
812
|
+
var ISSUER_REQUIRED_FOR_COUNTRIES = [CountryCodes.Australia];
|
|
813
|
+
var EXPIRY_DATE_REQUIRED_FOR_COUNTRIES = [CountryCodes.NewZealand];
|
|
814
|
+
var LICENSE_CARD_NUMBER_REQUIRED_FOR_COUNTRIES = [CountryCodes.NewZealand, CountryCodes.Australia];
|
|
815
|
+
var TAX_ID_REQUIRED_COUNTRIES = [
|
|
816
|
+
CountryCodes.Austria,
|
|
817
|
+
CountryCodes.Belgium,
|
|
818
|
+
CountryCodes.Croatia,
|
|
819
|
+
CountryCodes.Cyprus,
|
|
820
|
+
CountryCodes.Estonia,
|
|
821
|
+
CountryCodes.Finland,
|
|
822
|
+
CountryCodes.France,
|
|
823
|
+
CountryCodes.Germany,
|
|
824
|
+
CountryCodes.Greece,
|
|
825
|
+
CountryCodes.Ireland,
|
|
826
|
+
CountryCodes.Latvia,
|
|
827
|
+
CountryCodes.Lithuania,
|
|
828
|
+
CountryCodes.Luxembourg,
|
|
829
|
+
CountryCodes.Malta,
|
|
830
|
+
CountryCodes.Netherlands,
|
|
831
|
+
CountryCodes.Portugal,
|
|
832
|
+
CountryCodes.Slovakia,
|
|
833
|
+
CountryCodes.Slovenia,
|
|
834
|
+
CountryCodes.UnitedKingdom
|
|
835
|
+
];
|
|
836
|
+
var DECISION_MAKER_TYPES_WITH_JOBTITLE = [DecisionMakerTypes.SIGNATORY, DecisionMakerTypes.CONTROLLING_PERSON];
|
|
837
|
+
var ID_MISSING_DATA_ERROR_CODE = "2_8071";
|
|
838
|
+
var REMEDIATION_CODES_UPLOAD_ID = [
|
|
839
|
+
"1_301",
|
|
840
|
+
"1_302",
|
|
841
|
+
"1_303"
|
|
842
|
+
];
|
|
843
|
+
var individualRules = ({ matchingScenario, data, country, taskType, isFeatureEnabled = () => false, rootLegalEntity, problems }) => createFormRules({
|
|
844
|
+
countryUsesTaxId: () => {
|
|
845
|
+
if (matchingScenario?.includes(Scenarios.L_TAXINFO) && TAX_ID_REQUIRED_COUNTRIES.includes(country)) return "REQUIRED";
|
|
846
|
+
},
|
|
847
|
+
isDirectorIdNumberRequiredForCountry: () => {
|
|
848
|
+
if (!data.basicDetails?.role) return REQUIRED;
|
|
849
|
+
if (data.basicDetails?.role?.some((role) => role !== DecisionMakerTypes.DIRECTOR)) return REQUIRED;
|
|
850
|
+
if (ID_NUMBER_REQUIRED_FOR_DIRECTOR_COUNTRIES.includes(country) && data.basicDetails?.role?.some((role) => role === DecisionMakerTypes.DIRECTOR)) return REQUIRED;
|
|
851
|
+
},
|
|
852
|
+
idNumberRules: () => {
|
|
853
|
+
if (data.additionalPersonalDetails?.idNumberExempt) return OPTIONAL;
|
|
854
|
+
if (!data.basicDetails?.role) return REQUIRED;
|
|
855
|
+
if (country === CountryCodes.UnitedStates && data.basicDetails?.role?.every((role) => role === DecisionMakerTypes.SIGNATORY)) return;
|
|
856
|
+
if (data.basicDetails?.role?.some((role) => role !== DecisionMakerTypes.DIRECTOR)) return REQUIRED;
|
|
857
|
+
if (ID_NUMBER_REQUIRED_FOR_DIRECTOR_COUNTRIES.includes(country) && data.basicDetails?.role?.some((role) => role === DecisionMakerTypes.DIRECTOR)) return REQUIRED;
|
|
858
|
+
},
|
|
859
|
+
requiredIfDecisionMakerTask: () => {
|
|
860
|
+
if (taskType === TaskTypes.DECISION_MAKER || taskType === TaskTypes.TRUST_MEMBER_COMPANY_OWNER || taskType === TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER) return REQUIRED;
|
|
861
|
+
},
|
|
862
|
+
idNumberExemptIfApplicableCountry: () => {
|
|
863
|
+
if (matchingScenario?.includes(Scenarios.L_TAXINFO)) return;
|
|
864
|
+
if (country === CountryCodes.UnitedStates && data.basicDetails?.role?.every((role) => role === DecisionMakerTypes.SIGNATORY)) return;
|
|
865
|
+
if (ID_NUMBER_EXEMPT_COUNTRIES.includes(country)) return REQUIRED;
|
|
866
|
+
},
|
|
867
|
+
hasChosenIdType: () => {
|
|
868
|
+
return data?.manualIdUpload?.idDocumentType ? REQUIRED : void 0;
|
|
869
|
+
},
|
|
870
|
+
backPageIfRequiredForIdType: () => {
|
|
871
|
+
return getLocalizedIdDocumentTypeOptions(country).find(({ id }) => id === data.manualIdUpload?.idDocumentType)?.hasBackPage ? REQUIRED : void 0;
|
|
872
|
+
},
|
|
873
|
+
isProofOfResidencyRequired: () => {
|
|
874
|
+
if (isBafinSignatoryFlow({
|
|
875
|
+
taskType,
|
|
876
|
+
data,
|
|
877
|
+
scenarios: matchingScenario
|
|
878
|
+
})) return;
|
|
879
|
+
if (data.proofOfResidency?.proofOfResidency?.length) return REQUIRED;
|
|
880
|
+
if (!(data?.idVerificationMethod?.idVerificationMethod === "instantVerification")) return;
|
|
881
|
+
const documentCountry = data?.idVerificationMethod?.idDocument?.documentCountry;
|
|
882
|
+
const residenceCountry = data?.additionalPersonalDetails?.country ?? country;
|
|
883
|
+
if (!documentCountry || !residenceCountry) return;
|
|
884
|
+
const countriesMismatch = documentCountry !== residenceCountry;
|
|
885
|
+
const isEeaLowRiskException = isLowRiskCountry(documentCountry) && isLowRiskCountry(residenceCountry);
|
|
886
|
+
if (countriesMismatch && !isEeaLowRiskException) return REQUIRED;
|
|
887
|
+
},
|
|
888
|
+
isProofOfNationalIdRequired: () => {
|
|
889
|
+
if (isBafinSignatoryFlow({
|
|
890
|
+
taskType,
|
|
891
|
+
data,
|
|
892
|
+
scenarios: matchingScenario
|
|
893
|
+
})) return;
|
|
894
|
+
if (data.proofOfNationalId?.proofOfNationalId?.length) return REQUIRED;
|
|
895
|
+
},
|
|
896
|
+
isIdVerificationMethodRequired: () => {
|
|
897
|
+
if (isBafinSignatoryFlow({
|
|
898
|
+
taskType,
|
|
899
|
+
data,
|
|
900
|
+
scenarios: matchingScenario
|
|
901
|
+
})) return;
|
|
902
|
+
return REQUIRED;
|
|
903
|
+
},
|
|
904
|
+
isVerifyByInviteSelected: () => {
|
|
905
|
+
return taskType === TaskTypes.DECISION_MAKER && isFeatureEnabled("EnableVerifyByInvite") && data?.idVerificationMethod?.idVerificationMethod === "verifyByInvite" ? REQUIRED : void 0;
|
|
906
|
+
},
|
|
907
|
+
contactsIfRequiredForRole: () => {
|
|
908
|
+
if (taskType === TaskTypes.DECISION_MAKER) {
|
|
909
|
+
if (data.basicDetails?.role?.includes(DecisionMakerTypes.SIGNATORY)) return REQUIRED;
|
|
910
|
+
return;
|
|
911
|
+
}
|
|
912
|
+
return REQUIRED;
|
|
913
|
+
},
|
|
914
|
+
requiredIfPhoneScenarioDisabled: () => !isFeatureEnabled("EnablePhoneFieldScenario") ? REQUIRED : void 0,
|
|
915
|
+
jobTitleIfRequiredForRole: () => {
|
|
916
|
+
if (taskType !== TaskTypes.DECISION_MAKER) return;
|
|
917
|
+
if (data.basicDetails?.role?.some((role) => DECISION_MAKER_TYPES_WITH_JOBTITLE.includes(role)) || JOB_TITLE_REQUIRED_FOR_COUNTRIES.includes(country)) return REQUIRED;
|
|
918
|
+
},
|
|
919
|
+
isPlaceOfBirthRequired: () => {
|
|
920
|
+
if (isBafinSignatoryFlow({
|
|
921
|
+
taskType,
|
|
922
|
+
data,
|
|
923
|
+
scenarios: matchingScenario
|
|
924
|
+
})) return REQUIRED;
|
|
925
|
+
},
|
|
926
|
+
nationalityIfRequiredForRole: () => {
|
|
927
|
+
if (isBafinSignatoryFlow({
|
|
928
|
+
taskType,
|
|
929
|
+
data,
|
|
930
|
+
scenarios: matchingScenario
|
|
931
|
+
})) return REQUIRED;
|
|
932
|
+
const enableNationalitySGHK = isFeatureEnabled("EnableNationalitySGHK");
|
|
933
|
+
const rootLegalEntityCountry = rootLegalEntity ? getLegalEntityCountry(rootLegalEntity) : void 0;
|
|
934
|
+
if (enableNationalitySGHK && rootLegalEntityCountry && NATIONALITY_REQUIRED_FOR_COUNTRIES.includes(rootLegalEntityCountry)) return REQUIRED;
|
|
935
|
+
if (NATIONALITY_REQUIRED_FOR_COUNTRIES.includes(country) || data?.additionalPersonalDetails?.nationality) return REQUIRED;
|
|
936
|
+
},
|
|
937
|
+
requiredIfCountryUsesMultipleTypesOfIdentity: () => {
|
|
938
|
+
if (COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES.includes(country)) return REQUIRED;
|
|
939
|
+
},
|
|
940
|
+
licenseCardNumberRules: () => {
|
|
941
|
+
if (data.additionalPersonalDetails?.typeOfIdentity === "driversLicense" && LICENSE_CARD_NUMBER_REQUIRED_FOR_COUNTRIES.includes(country)) return REQUIRED;
|
|
942
|
+
},
|
|
943
|
+
issuerStateRequired: () => {
|
|
944
|
+
if (data.additionalPersonalDetails?.typeOfIdentity === "driversLicense" && ISSUER_REQUIRED_FOR_COUNTRIES.includes(country)) return REQUIRED;
|
|
945
|
+
},
|
|
946
|
+
expiryDateRequired: () => {
|
|
947
|
+
if (data.additionalPersonalDetails?.typeOfIdentity === "passport" && EXPIRY_DATE_REQUIRED_FOR_COUNTRIES.includes(country)) return REQUIRED;
|
|
948
|
+
},
|
|
949
|
+
legalRepresentativeRelationshipRequired: () => taskType === TaskTypes.LEGAL_REPRESENTATIVE_DETAILS ? REQUIRED : void 0,
|
|
950
|
+
isProofOfRelationshipRequired: () => void 0,
|
|
951
|
+
addressIfRequiredForCountry: () => {
|
|
952
|
+
return getAddressSchemaForCountry(data?.additionalPersonalDetails?.country).includes("street") ? "REQUIRED" : void 0;
|
|
953
|
+
},
|
|
954
|
+
otherAddressInfoIfRequiredForCountry: () => {
|
|
955
|
+
if (isJapanLocalizationEnabled(isFeatureEnabled, country)) return "REQUIRED";
|
|
956
|
+
return getAddressSchemaForCountry(data?.additionalPersonalDetails?.country).includes("street2") ? "OPTIONAL" : void 0;
|
|
957
|
+
},
|
|
958
|
+
postalCodeIfRequiredForCountry: () => {
|
|
959
|
+
return getAddressSchemaForCountry(data?.additionalPersonalDetails?.country).includes("postalCode") ? "REQUIRED" : void 0;
|
|
960
|
+
},
|
|
961
|
+
cityIfRequiredForCountry: () => {
|
|
962
|
+
return getAddressSchemaForCountry(data?.additionalPersonalDetails?.country).includes("city") ? "REQUIRED" : void 0;
|
|
963
|
+
},
|
|
964
|
+
stateOrProvinceIfRequiredForCountry: () => {
|
|
965
|
+
return getAddressSchemaForCountry(data?.additionalPersonalDetails?.country).includes("stateOrProvince") && COUNTRIES_WITH_STATES_DATASET.includes(data?.additionalPersonalDetails?.country ?? country) ? "REQUIRED" : void 0;
|
|
966
|
+
},
|
|
967
|
+
nomineeDirectorRequiredForCountry: () => {
|
|
968
|
+
if (allowedCountriesForNominee.includes(data?.additionalPersonalDetails?.country ?? country) && data?.basicDetails?.role?.includes(DecisionMakerTypes.DIRECTOR)) return "REQUIRED";
|
|
969
|
+
},
|
|
970
|
+
nomineeShareHolderRequiredForCountry: () => {
|
|
971
|
+
if (allowedCountriesForNominee.includes(data?.additionalPersonalDetails?.country ?? country) && data?.basicDetails?.role?.includes(DecisionMakerTypes.OWNER)) return "REQUIRED";
|
|
972
|
+
},
|
|
973
|
+
isUsingInstantVerificationOrHasExistingDocument: () => {
|
|
974
|
+
if (isBafinSignatoryFlow({
|
|
975
|
+
taskType,
|
|
976
|
+
data,
|
|
977
|
+
scenarios: matchingScenario
|
|
978
|
+
})) return;
|
|
979
|
+
const isUsingInstantVerification = data?.idVerificationMethod?.idVerificationMethod === "instantVerification";
|
|
980
|
+
const existingDocument = data?.idVerificationMethod?.idDocument;
|
|
981
|
+
return isUsingInstantVerification || existingDocument ? REQUIRED : void 0;
|
|
982
|
+
},
|
|
983
|
+
isManualIdFlow: () => {
|
|
984
|
+
if (isBafinSignatoryFlow({
|
|
985
|
+
taskType,
|
|
986
|
+
data,
|
|
987
|
+
scenarios: matchingScenario
|
|
988
|
+
})) return;
|
|
989
|
+
return data?.idVerificationMethod?.idVerificationMethod === "manualVerification" ? "REQUIRED" : void 0;
|
|
990
|
+
},
|
|
991
|
+
isManualIdFlowAndNotProvidingIdNumber: () => {
|
|
992
|
+
if (isBafinSignatoryFlow({
|
|
993
|
+
taskType,
|
|
994
|
+
data,
|
|
995
|
+
scenarios: matchingScenario
|
|
996
|
+
})) return;
|
|
997
|
+
const hasMissingId = problems?.missingData?.some((error) => error.code === ID_MISSING_DATA_ERROR_CODE);
|
|
998
|
+
const isManualFlow = data?.idVerificationMethod?.idVerificationMethod === "manualVerification";
|
|
999
|
+
const idNumberExempt = data?.additionalPersonalDetails?.idNumberExempt;
|
|
1000
|
+
const hasIdRemediationAction = Object.keys(problems?.remediationActions ?? {}).some((code) => REMEDIATION_CODES_UPLOAD_ID.includes(code));
|
|
1001
|
+
return isManualFlow && (idNumberExempt || hasMissingId || hasIdRemediationAction) ? "REQUIRED" : void 0;
|
|
1002
|
+
},
|
|
1003
|
+
isManualIdFlowAndHasMissingData: () => {
|
|
1004
|
+
if (isBafinSignatoryFlow({
|
|
1005
|
+
taskType,
|
|
1006
|
+
data,
|
|
1007
|
+
scenarios: matchingScenario
|
|
1008
|
+
})) return;
|
|
1009
|
+
const isManualFlow = data?.idVerificationMethod?.idVerificationMethod === "manualVerification";
|
|
1010
|
+
if (matchingScenario?.includes(Scenarios.L1_IDDOC)) return isManualFlow ? "REQUIRED" : void 0;
|
|
1011
|
+
const hasMissingId = problems?.missingData?.some((error) => error.code === ID_MISSING_DATA_ERROR_CODE);
|
|
1012
|
+
const hasIdRemediationAction = Object.keys(problems?.remediationActions ?? {}).some((code) => REMEDIATION_CODES_UPLOAD_ID.includes(code));
|
|
1013
|
+
return isManualFlow && (hasMissingId || hasIdRemediationAction) ? "REQUIRED" : void 0;
|
|
1014
|
+
},
|
|
1015
|
+
idVerificationRequired: () => {
|
|
1016
|
+
return REQUIRED;
|
|
1017
|
+
},
|
|
1018
|
+
isDirectorRequiredForCountry: () => {
|
|
1019
|
+
if (getAvailableDecisionMakerRoleTypes(rootLegalEntity ? getLegalEntityCountry(rootLegalEntity) : country, matchingScenario).some((maker) => maker.roleType === DecisionMakerTypes.DIRECTOR)) return "REQUIRED";
|
|
1020
|
+
},
|
|
1021
|
+
japanSpecificField: () => {
|
|
1022
|
+
if (isJapanLocalizationEnabled(isFeatureEnabled, taskType === TaskTypes.DECISION_MAKER && rootLegalEntity && getLegalEntityCountry(rootLegalEntity) || country)) return "REQUIRED";
|
|
1023
|
+
}
|
|
1024
|
+
});
|
|
1025
|
+
//#endregion
|
|
802
1026
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.tsx
|
|
803
1027
|
var TypeOfIdentity = ({ availableIdentityTypesOptions, selectedIdentityType, setSelectedIdentityType, label, errorMessage, isValid }) => {
|
|
804
1028
|
const { t } = useTranslation(["common", "individual"]);
|
|
@@ -1003,7 +1227,7 @@ var additionalIdentityInfoFields = [
|
|
|
1003
1227
|
];
|
|
1004
1228
|
//#endregion
|
|
1005
1229
|
//#region src/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.tsx
|
|
1006
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
1230
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-nEKx7nU_.js")).JpAddressFields);
|
|
1007
1231
|
var additionalPersonalDetailsFields = [
|
|
1008
1232
|
"birthDate",
|
|
1009
1233
|
...idNumberFields,
|
|
@@ -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] = "4f4452cf-42dd-45af-896f-3f5b2230c06e", e._sentryDebugIdIdentifier = "sentry-dbid-4f4452cf-42dd-45af-896f-3f5b2230c06e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { j as useToggleContext } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
|
-
import { n as IconButton } from "./Button-
|
|
8
|
+
import { n as IconButton } from "./Button-DfRmINzF.js";
|
|
9
9
|
import { t as useBusinessLines } from "./useBusinessLines-BhSN6qCH.js";
|
|
10
|
-
import { r as Field, t as Select } from "./Select-
|
|
10
|
+
import { r as Field, t as Select } from "./Select-CAYO1vj-.js";
|
|
11
11
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
12
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0561ec0d-0301-47e3-b7fc-93e55571db83", e._sentryDebugIdIdentifier = "sentry-dbid-0561ec0d-0301-47e3-b7fc-93e55571db83");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { G as SPECIAL_CHARS, Y as getFormattingRegEx } from "./resolveEnvironment-
|
|
5
|
+
import { G as SPECIAL_CHARS, Y as getFormattingRegEx } from "./resolveEnvironment-6rOnOa58.js";
|
|
6
6
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
7
7
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
8
|
-
import { r as InputBase } from "./InputText-
|
|
8
|
+
import { r as InputBase } from "./InputText-Bniyaz3w.js";
|
|
9
9
|
import { useCallback, useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -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] = "7f2f28b7-7ff5-4b79-b6d4-90ab651cfc48", e._sentryDebugIdIdentifier = "sentry-dbid-7f2f28b7-7ff5-4b79-b6d4-90ab651cfc48");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
6
|
-
import { n as debouncedInputEvent } from "./Checkbox-
|
|
5
|
+
import { i as useAnalyticsContext } from "./Modal-5uXk2vE6.js";
|
|
6
|
+
import { n as debouncedInputEvent } from "./Checkbox-DTQ5Y6L-.js";
|
|
7
7
|
import { forwardRef } from "preact/compat";
|
|
8
8
|
import { useCallback as useCallback$1, useLayoutEffect, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
9
9
|
import cx from "classnames";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e0975bb9-a299-45e2-88a4-0b9ef57a48ed", e._sentryDebugIdIdentifier = "sentry-dbid-e0975bb9-a299-45e2-88a4-0b9ef57a48ed");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
|
-
import { t as Button } from "./Button-
|
|
8
|
+
import { t as Button } from "./Button-DfRmINzF.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
13
|
-
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-
|
|
14
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
12
|
+
import { i as useAnalyticsContext } from "./Modal-5uXk2vE6.js";
|
|
13
|
+
import { n as useLegalEntityType, t as useCanSeeIntroduction } from "./useCanSeeIntroduction-47a29qGT.js";
|
|
14
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DcX3urqZ.js";
|
|
15
15
|
import { useMemo } from "preact/compat";
|
|
16
16
|
import { useEffect as useEffect$1, useState as useState$1 } from "preact/hooks";
|
|
17
17
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{InvitedDecisionMakerComponent-CPMIUjiE.js → InvitedDecisionMakerComponent-DgIv6IG9.js}
RENAMED
|
@@ -1,30 +1,30 @@
|
|
|
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] = "5ba19558-3266-4050-bad8-7b3dfa339045", e._sentryDebugIdIdentifier = "sentry-dbid-5ba19558-3266-4050-bad8-7b3dfa339045");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as __exportAll, n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-DfRmINzF.js";
|
|
10
10
|
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
12
12
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
13
13
|
import { i as noop } from "./genUtils-Ce61IJs8.js";
|
|
14
14
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
15
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
15
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-DPA4ZEPa.js";
|
|
16
16
|
import { i as TaskStatuses, n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
17
17
|
import { C as EntityTypes, n as getCapabilityProblems } from "./processCapabilities-BfskhjUw.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
19
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
20
|
-
import { v as LandingLayout } from "./form-rules-
|
|
21
|
-
import { t as ListItem } from "./ListItem-
|
|
19
|
+
import { i as useAnalyticsContext } from "./Modal-5uXk2vE6.js";
|
|
20
|
+
import { v as LandingLayout } from "./form-rules-yTwukXew.js";
|
|
21
|
+
import { t as ListItem } from "./ListItem-C35r8558.js";
|
|
22
22
|
import { t as Image } from "./Image-D82terx4.js";
|
|
23
23
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
24
24
|
import { t as getIndividualLegalEntityName } from "./getName-s7qmFean.js";
|
|
25
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
25
|
+
import { t as IndividualDropin } from "./IndividualDropin-B3UfxIu8.js";
|
|
26
26
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
27
|
-
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-
|
|
27
|
+
import { n as getDecisionMakerDescription, r as getLandingLayoutProps, t as DecisionMakerDetails } from "./DecisionMakerDetails-CWZUSV8G.js";
|
|
28
28
|
import { lazy } from "preact/compat";
|
|
29
29
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
30
30
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,6 +1,6 @@
|
|
|
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] = "8e51e26e-f310-4a67-b3f5-0528e3c31297", e._sentryDebugIdIdentifier = "sentry-dbid-8e51e26e-f310-4a67-b3f5-0528e3c31297");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -8,14 +8,14 @@ import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-DsJtugN1.js";
|
|
9
9
|
import { i as noop } from "./genUtils-Ce61IJs8.js";
|
|
10
10
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
11
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
12
|
-
import { t as InputText } from "./InputText-
|
|
13
|
-
import { c as numericInputs, o as makeMask, p as convertFullToHalf, s as nonInputs, u as MaskedInput } from "./form-rules-
|
|
14
|
-
import {
|
|
15
|
-
import { r as Field } from "./Select-UO37dd_q.js";
|
|
11
|
+
import { i as useAnalyticsContext } from "./Modal-5uXk2vE6.js";
|
|
12
|
+
import { t as InputText } from "./InputText-Bniyaz3w.js";
|
|
13
|
+
import { c as numericInputs, o as makeMask, p as convertFullToHalf, s as nonInputs, u as MaskedInput } from "./form-rules-yTwukXew.js";
|
|
14
|
+
import { r as Field } from "./Select-CAYO1vj-.js";
|
|
16
15
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
17
|
-
import { r as useDebouncedCallback } from "./Checkbox-
|
|
18
|
-
import {
|
|
16
|
+
import { r as useDebouncedCallback } from "./Checkbox-DTQ5Y6L-.js";
|
|
17
|
+
import { H as toFullWidth } from "./bafinUtils-B8teCz7U.js";
|
|
18
|
+
import { t as formatValidationError } from "./formatValidationError-ChBRk626.js";
|
|
19
19
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
20
20
|
import { useEffect, useState } from "preact/hooks";
|
|
21
21
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58e5812f-a9b3-4926-9612-6e3b1d4bd435", e._sentryDebugIdIdentifier = "sentry-dbid-58e5812f-a9b3-4926-9612-6e3b1d4bd435");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
6
|
-
import { r as KEYBOARD_KEYS } from "./Modal-
|
|
7
|
-
import { t as InputText } from "./InputText-
|
|
8
|
-
import { r as Field } from "./Select-
|
|
9
|
-
import { a as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur, o as validateLegalCompanyName, s as validateNotEmptyOnBlur } from "./RadioGroup-
|
|
6
|
+
import { r as KEYBOARD_KEYS } from "./Modal-5uXk2vE6.js";
|
|
7
|
+
import { t as InputText } from "./InputText-Bniyaz3w.js";
|
|
8
|
+
import { r as Field } from "./Select-CAYO1vj-.js";
|
|
9
|
+
import { a as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur, o as validateLegalCompanyName, s as validateNotEmptyOnBlur } from "./RadioGroup-BcRkK03K.js";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
//#region src/components/Shared/fields/LegalCompanyNameField/fieldConfig.ts
|
|
12
12
|
var defaultFieldMetadata = {
|
|
@@ -1,10 +1,10 @@
|
|
|
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] = "726144e9-720e-4093-8957-c48acfa2ed88", e._sentryDebugIdIdentifier = "sentry-dbid-726144e9-720e-4093-8957-c48acfa2ed88");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as KEYBOARD_KEYS } from "./Modal-
|
|
6
|
-
import { t as InputText } from "./InputText-
|
|
7
|
-
import { r as Field } from "./Select-
|
|
5
|
+
import { r as KEYBOARD_KEYS } from "./Modal-5uXk2vE6.js";
|
|
6
|
+
import { t as InputText } from "./InputText-Bniyaz3w.js";
|
|
7
|
+
import { r as Field } from "./Select-CAYO1vj-.js";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/adaptiveWorkflow/components/Fields/LegalName.tsx
|
|
10
10
|
function LegalName({ name, data, valid, errors, labels, helperText, readonly, handleChangeFor }) {
|
|
@@ -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] = "132f872c-6934-46c1-9216-d3a492d1de93", e._sentryDebugIdIdentifier = "sentry-dbid-132f872c-6934-46c1-9216-d3a492d1de93");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BEpMlKm2.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
@@ -11,7 +11,7 @@ import { i as noop } from "./genUtils-Ce61IJs8.js";
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-BfskhjUw.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-CfzojTAS.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-B3UfxIu8.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
|
|
@@ -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] = "cb60d038-e32f-4d5c-8891-f68fe63a4a6f", e._sentryDebugIdIdentifier = "sentry-dbid-cb60d038-e32f-4d5c-8891-f68fe63a4a6f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { t as Icon } from "./Icon-C3S5_kkS.js";
|
|
6
6
|
import cx from "classnames";
|
|
7
7
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
8
8
|
var Link_module_default = {
|
|
@@ -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] = "00ce48e1-bf18-41e2-bdb4-34d2e34cd26f", e._sentryDebugIdIdentifier = "sentry-dbid-00ce48e1-bf18-41e2-bdb4-34d2e34cd26f");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
6
|
-
import { t as Avatar } from "./Avatar-
|
|
5
|
+
import { t as Icon } from "./Icon-C3S5_kkS.js";
|
|
6
|
+
import { t as Avatar } from "./Avatar-Zp1T9qAL.js";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/utils/getTrustedFields.ts
|
|
@@ -2,8 +2,8 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0788a620-9c81-4d68-9d97-de1b69e8a279", e._sentryDebugIdIdentifier = "sentry-dbid-0788a620-9c81-4d68-9d97-de1b69e8a279");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { dt as AnalyticsContext } from "./resolveEnvironment-
|
|
6
|
-
import { n as IconButton } from "./Button-
|
|
5
|
+
import { dt as AnalyticsContext } from "./resolveEnvironment-6rOnOa58.js";
|
|
6
|
+
import { n as IconButton } from "./Button-DfRmINzF.js";
|
|
7
7
|
import { useContext, useLayoutEffect, useRef } from "preact/hooks";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|