@adyen/kyc-components 4.22.0-beta.1 → 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-CLA1JNzc.js → AcceptTermsOfServiceWorkflow-BOf_52TF.js} +4 -4
- package/dist/{Accordion-Cwp-Xc7e.js → Accordion-Sjyj7C_t.js} +1 -1
- package/dist/{AccountSetupRejected-B2h3LRDZ.js → AccountSetupRejected-DoYH7MuS.js} +1 -1
- package/dist/{AdaptiveWorkflow-BHooRzh_.js → AdaptiveWorkflow-ychw-YVL.js} +16 -16
- package/dist/{AdaptiveWorkflowComponent-D1EALddI.js → AdaptiveWorkflowComponent-DFnkomSo.js} +3 -3
- package/dist/{AddressFields-CU23S3JV.js → AddressFields-CFf-ECTn.js} +10 -10
- package/dist/{Avatar-BbOb0bui.js → Avatar-Zp1T9qAL.js} +1 -1
- package/dist/{BusinessFinancingDropin-Cc0oB8ka.js → BusinessFinancingDropin-Dr9GOZI2.js} +31 -29
- package/dist/{BusinessFinancingPage-D0EmBl9D.js → BusinessFinancingPage-DIHz906_.js} +3 -3
- package/dist/{BusinessRegistrationNumberField-c8mvmS4m.js → BusinessRegistrationNumberField-BGZrKxCP.js} +5 -5
- package/dist/{BusinessRegistrationNumberFieldGroup-DNZALTo_.js → BusinessRegistrationNumberFieldGroup-D4289xzf.js} +5 -5
- package/dist/{BusinessTypeSelectionPage-CYjrUqoM.js → BusinessTypeSelectionPage-D7mTXytS.js} +85 -67
- package/dist/{Button-oqvTDztg.js → Button-DfRmINzF.js} +1 -1
- package/dist/{Checkbox-2Rp9bWYN.js → Checkbox-DTQ5Y6L-.js} +2 -2
- package/dist/{ComponentGroup-DbWo8fnI.js → ComponentGroup-DysWDI71.js} +3 -3
- package/dist/{ConstitutionalDocument-64rqHz7d.js → ConstitutionalDocument-o1_xv4zy.js} +15 -15
- package/dist/{ContactDetails-ucx3UuP8.js → ContactDetails-BUZAvP2T.js} +5 -5
- package/dist/{ContextGuidance-CIwiyrm9.js → ContextGuidance-fy9mkvE5.js} +3 -3
- package/dist/{Currency-fvQfdQ2i.js → Currency-CfDw1FVZ.js} +5 -5
- package/dist/{CustomerSupport-CHHRYNTG.js → CustomerSupport-BRTzBxJt.js} +25 -15
- package/dist/{DataConflictsModal-BJHJVW3V.js → DataConflictsModal-s-Ss3HdC.js} +7 -7
- package/dist/{DebugModal-CptS2b87.js → DebugModal-CbilZSFv.js} +10 -10
- package/dist/{DecisionMakerDetails-a_G8S1S9.js → DecisionMakerDetails-CWZUSV8G.js} +12 -12
- package/dist/{DecisionMakerDetailsPage-BsiheWPy.js → DecisionMakerDetailsPage-Rtsv9ICS.js} +7 -7
- package/dist/{DecisionMakers-DC3r2UzN.js → DecisionMakers-BmUjP2RH.js} +13 -13
- package/dist/{Dropzone-CTdbCPiL.js → Dropzone-dnfMEv2T.js} +7 -7
- package/dist/{EmbeddedStatus-DqanSUWu.js → EmbeddedStatus-tbJfdxm8.js} +3 -3
- package/dist/{EndStateLayout-CRNRpDeu.js → EndStateLayout-BK1Hh02g.js} +2 -2
- package/dist/{EntityAssociation-DqTOqixv.js → EntityAssociation-CH9G3mlZ.js} +6 -6
- package/dist/{ErrorPanel-jcVYNW8o.js → ErrorPanel-B5suXapM.js} +2 -2
- package/dist/{GlobalEntryModal-Bwy0lfz2.js → GlobalEntryModal-DwhX1CJz.js} +53 -29
- package/dist/{GlobalEntryPage-DPKND7LX.js → GlobalEntryPage-DPYM9_FS.js} +6 -6
- package/dist/{Icon-BblJeZYj.js → Icon-C3S5_kkS.js} +1 -1
- package/dist/{IdentityNumber-D9t0xamT.js → IdentityNumber-BJymypwh.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-0Ll_77LW.js → IdentityNumberFieldGroup-DPfXsI_n.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-DESXjfuC.js → IdentityScreeningWorkflow-ZVSOyRqF.js} +12 -12
- package/dist/{IndividualDropin-CMejkT3R.js → IndividualDropin-B3UfxIu8.js} +269 -42
- package/dist/{IndustryCodeFieldGroup-xFrcCogG.js → IndustryCodeFieldGroup-D5U1t1F-.js} +4 -4
- package/dist/{InputDate-DMcomeFj.js → InputDate-CncTgJYS.js} +3 -3
- package/dist/{InputText-BqeL5dXt.js → InputText-Bniyaz3w.js} +3 -3
- package/dist/{Introduction-6WPMkIpx.js → Introduction-BOz_2500.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-w0xQxDgC.js → InvitedDecisionMakerComponent-DgIv6IG9.js} +9 -9
- package/dist/{JpAddressFields-Cic1nSNI.js → JpAddressFields-nEKx7nU_.js} +8 -8
- package/dist/{LegalCompanyNameField-Dl60xD84.js → LegalCompanyNameField-BFm2LIw2.js} +5 -5
- package/dist/{LegalName-DDKN6L93.js → LegalName-DBvf_laS.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-B2ubp7Rb.js → LegalRepresentativeDetailsPage-BVr_AhP6.js} +3 -3
- package/dist/{Link-Bb1XDrs1.js → Link-c2jAgGgc.js} +1 -1
- package/dist/{ListItem-CI4fqIkg.js → ListItem-C35r8558.js} +3 -3
- package/dist/{Modal-By_wpf9o.js → Modal-5uXk2vE6.js} +2 -2
- package/dist/{Name-BpKVUmoY.js → Name-CbdY9G9k.js} +4 -4
- package/dist/{NewSummary-Bmi54FYk.js → NewSummary-lUp_hg6V.js} +6 -6
- package/dist/{PatriotActDisclosure-DsZX3cb-.js → PatriotActDisclosure-i6txl8sg.js} +9 -9
- package/dist/{PayoutDetailsDropin-BkzjalFb.js → PayoutDetailsDropin-BnDericg.js} +25 -25
- package/dist/{PayoutDetailsPage-BLbHUm0I.js → PayoutDetailsPage-zLj-XA7a.js} +4 -4
- package/dist/{RadioGroup-e6Ty_ggj.js → RadioGroup-BcRkK03K.js} +9 -9
- package/dist/{Review-BG_iSaAN.js → Review--lh7xBZJ.js} +6 -6
- package/dist/{RootBusinessDetailsPage-D6ZEfFr4.js → RootBusinessDetailsPage-CsOt68pH.js} +3 -3
- package/dist/{RootBusinessLinesPage-B6Swhdyx.js → RootBusinessLinesPage-CsPTRJHI.js} +20 -20
- package/dist/{RootIndividualDetailsPage-2Bu7fbyB.js → RootIndividualDetailsPage-CROUaWsK.js} +4 -4
- package/dist/{Select-CrcaoG0i.js → Select-CAYO1vj-.js} +6 -6
- package/dist/{SignPCIComponent-B4Iz8PXX.js → SignPCIComponent-iFFWNqDL.js} +13 -13
- package/dist/{SingpassSelection-D2NSiGzi.js → SingpassSelection-BKRSs-Xf.js} +4 -4
- package/dist/{SoleProprietorshipPage-bJ6oea6W.js → SoleProprietorshipPage-UvZsbICO.js} +3 -3
- package/dist/{SourceOfFundsPage-Bu9e93PV.js → SourceOfFundsPage-B5E9w3tI.js} +25 -26
- package/dist/{SourceOfFundsWorkflow-CW7McbuG.js → SourceOfFundsWorkflow-DgUkjcYh.js} +4 -4
- package/dist/{StateField-BnyUQjAj.js → StateField-DB4_kWP5.js} +5 -5
- package/dist/{Step-CZq7qzCe.js → Step-CoGy1zas.js} +4 -4
- package/dist/{Task-Jhx4xFyF.js → Task-DdRNdhJY.js} +7 -7
- package/dist/{TaskGroup-CHPDt1lw.js → TaskGroup-yVbg_WHM.js} +3 -3
- package/dist/{TaskListItem-BAHYod3y.js → TaskListItem-BritELso.js} +10 -10
- package/dist/{TaskStepperContextProvider-BtpYUg5S.js → TaskStepperContextProvider-D0tKJplv.js} +1 -1
- package/dist/{TaskVerificationStatus-onOyOzoM.js → TaskVerificationStatus-DPA4ZEPa.js} +1 -1
- package/dist/{TaxInformationFieldGroup-D4bSgrDG.js → TaxInformationFieldGroup-CYcqRgQt.js} +9 -9
- package/dist/{TaxReportingDropin-BD-WaKf5.js → TaxReportingDropin-Dxt-K1Td.js} +14 -14
- package/dist/{TaxReportingWorkflow-UVCd2CGW.js → TaxReportingWorkflow-xeJVSZxl.js} +4 -4
- package/dist/{TermsOfServiceManagement-Czlvu-_X.js → TermsOfServiceManagement-BiqqRcsM.js} +12 -12
- package/dist/{TextArea-Doiwq6Fz.js → TextArea-mN6mmyt0.js} +4 -4
- package/dist/{TrustDetailsPage-Do_Pgp5e.js → TrustDetailsPage-OuITcLjL.js} +23 -23
- package/dist/{TrustMemberCompanyPage-COKJWVwj.js → TrustMemberCompanyPage-BSr2h39m.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BTzYVATe.js → TrustMemberIndividualPage-D1oTjw8X.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CvT2NyPL.js → TrustMemberRoleAndTypePage-qnLRC07p.js} +15 -15
- package/dist/{TrustMembersOverview-Dx2d70H1.js → TrustMembersOverview-BhtPLg82.js} +11 -11
- package/dist/{UboTaskItem-DItfn-Pd.js → UboTaskItem-dmz_L8pF.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-CLBFd1-S.js → UnincorporatedPartnershipIndividualPage-BGuseNDd.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-5RlKVr20.js → UnincorporatedPartnershipMemberCompanyPage-DfWEeKVA.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D3j7kPUH.js → UnincorporatedPartnershipMemberRoleAndTypePage-CNrub8wj.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-BrypfDgd.js → UnincorporatedPartnershipMembersOverview-BISsH8Wm.js} +6 -6
- package/dist/{VerificationErrorAlert-Dg0EN5Gg.js → VerificationErrorAlert-DAg5VgBd.js} +3 -3
- package/dist/{Workflow-BbFLvLAf.js → Workflow-CVwXYQQE.js} +6 -6
- package/dist/{accountHolderUtils-BnH2f3aW.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 +31 -31
- 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-F8i4raV6.js → bafinUtils-B8teCz7U.js} +160 -1053
- package/dist/businessRegistrationNumberPatterns-DwjKFSlu.js +981 -0
- package/dist/{constants-C1GRcz1y.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-3d6yiTPF.js → error-DhPmKdY4.js} +3 -3
- package/dist/{form-rules-BhIs9ilj.js → form-rules-yTwukXew.js} +6 -6
- package/dist/{formatValidationError-DdKr3rgo.js → formatValidationError-ChBRk626.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-CfU1YUaz.js → getDefaultRegistrationNumberType-DPidx6iz.js} +59 -59
- package/dist/{getTrustedDecisionMakers-Brlr-pKL.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-CWb68lJV.js → mapJpAddressSchemaToAddressLocalizations-BcW9wSjn.js} +3 -4
- package/dist/{mapLegalEntityToIndividualSchema-B3XhBnaa.js → mapLegalEntityToIndividualSchema-Ksy4YlcJ.js} +7 -7
- package/dist/{mapTransferInstrumentToPayoutAccount-n4ffPJ2c.js → mapTransferInstrumentToPayoutAccount-BoZaPCSn.js} +2 -2
- package/dist/{processValidationErrors-BfqJR1rP.js → processValidationErrors-BJNiG_SS.js} +3 -3
- package/dist/{resolveEnvironment-Bp-RuIhz.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/rules.d.ts +1 -1
- package/dist/types/components/GlobalEntry/utils.d.ts +5 -2
- 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/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/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-C6GnB9nH.js → types-wRlt8bxb.js} +1 -1
- package/dist/{useBusinessDetailsData-UyUhXzON.js → useBusinessDetailsData-D5WMRXf8.js} +88 -108
- package/dist/{useCanSeeIntroduction-C6qXZZe8.js → useCanSeeIntroduction-47a29qGT.js} +3 -3
- package/dist/{useForm-BhfuVkAR.js → useForm-C8X8Nh_A.js} +3 -3
- package/dist/{useHideTaskStepper-Dlzsx-RK.js → useHideTaskStepper-CbMcV9mk.js} +1 -1
- package/dist/{useId-DqpXTon5.js → useId-CcjYxxnm.js} +1 -1
- package/dist/{useNavigate-Xc0HARgb.js → useNavigate-ZoEeUtrK.js} +33 -33
- package/dist/{useSalesChannels-gzi6QOI7.js → useSalesChannels-K1tuVs25.js} +3 -3
- package/dist/{useTaskLandedEvent-BXv-wuAJ.js → useTaskLandedEvent-DcX3urqZ.js} +2 -2
- package/dist/{useTrustMembers-wjNlRtOm.js → useTrustMembers-DoRWdimd.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-CfpBIS06.js → useUnincorporatedPartnershipMembers-K5jkCKfJ.js} +1 -1
- package/dist/{utils-DyriwmGv.js → utils-CXLiV88a.js} +4 -4
- package/dist/{utils-DebuaWe9.js → utils-Dm0eoyQ6.js} +8 -17
- package/dist/{validate-MsZ6MiUq.js → validate-09Jy2SgA.js} +8 -8
- package/dist/{validate-C2fajdCR.js → validate-BcUs5K_M.js} +46 -6
- package/dist/{validate-DruWE6jY.js → validate-DnnWVNv6.js} +1 -1
- package/dist/{validate-DzNLLQoR.js → validate-tS-cwVuY.js} +2 -2
- package/dist/{validateExtractionResult-BfwUJj1D.js → validateExtractionResult-dH4TewHf.js} +2 -2
- package/dist/{validationError-DudGlB6v.js → validationError-D4d622D3.js} +2 -2
- package/package.json +1 -1
- package/dist/Individual.rules-4BHmKpNa.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/utils-Br7Ah3uy.js +0 -46
|
@@ -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] = "779b8f55-0b82-4ff0-b3f2-e6962d1c0ea5", e._sentryDebugIdIdentifier = "sentry-dbid-779b8f55-0b82-4ff0-b3f2-e6962d1c0ea5");
|
|
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, E as useAllowedCountries, j as useToggleContext, k as Header, pt as useAccountHolder, v as isPartOfUnincorporatedPartnership, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, E as useAllowedCountries, j as useToggleContext, k as Header, pt as useAccountHolder, v as isPartOfUnincorporatedPartnership, x as Alert } 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
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-DfRmINzF.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-CNE5uei8.js";
|
|
12
12
|
import { s as keysOf } from "./genUtils-Ce61IJs8.js";
|
|
@@ -15,22 +15,23 @@ import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
|
15
15
|
import { y as reverseMapping } from "./processCapabilities-BfskhjUw.js";
|
|
16
16
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
17
17
|
import { f as hasSolePropInLegalEntity, s as getOwnEntityAssociations } from "./entityAssociationUtil-CLBR9osP.js";
|
|
18
|
-
import { t as InputText } from "./InputText-
|
|
19
|
-
import { _ as getPropsFromConfigurations, m as resolveFieldMetadata, t as createFormRules } from "./form-rules-
|
|
20
|
-
import { t as ListItem } from "./ListItem-
|
|
18
|
+
import { t as InputText } from "./InputText-Bniyaz3w.js";
|
|
19
|
+
import { _ as getPropsFromConfigurations, m as resolveFieldMetadata, t as createFormRules } from "./form-rules-yTwukXew.js";
|
|
20
|
+
import { t as ListItem } from "./ListItem-C35r8558.js";
|
|
21
21
|
import { n as useAssociatedLegalEntity, t as getFormSlice } from "./getFormSlice-DzRO0UUx.js";
|
|
22
22
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
23
|
-
import { r as useToastContext } from "./useId-
|
|
24
|
-
import {
|
|
25
|
-
import { r as
|
|
26
|
-
import { r as
|
|
27
|
-
import { d as
|
|
28
|
-
import { M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, p as getRequiredForms, u as CountryField, y as useFormComposer } from "./RadioGroup-e6Ty_ggj.js";
|
|
23
|
+
import { r as useToastContext } from "./useId-CcjYxxnm.js";
|
|
24
|
+
import { r as Field } from "./Select-CAYO1vj-.js";
|
|
25
|
+
import { r as formatObject } from "./utils-CXLiV88a.js";
|
|
26
|
+
import { d as COUNTRIES_WITH_STATES_DATASET, m as useCreateLegalEntity, n as StateField, p as useUpdateLegalEntity, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-DB4_kWP5.js";
|
|
27
|
+
import { M as FormContextProvider, d as useFormContext, f as addValidityToForms, g as useMultiForm, k as createFormUtils, l as COUNTRY_FIELD, m as FormFlow, p as getRequiredForms, u as CountryField, y as useFormComposer } from "./RadioGroup-BcRkK03K.js";
|
|
29
28
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
30
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
31
|
-
import { c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation } from "./validate-
|
|
32
|
-
import { l as
|
|
33
|
-
import {
|
|
29
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-BFm2LIw2.js";
|
|
30
|
+
import { c as CountryOfGoverningLawField, i as isRegistrationExemptionAllowed, l as useLegalCompanyNameField, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, s as COUNTRY_OF_GOVERNING_LAW_FIELD, t as CountryOfGoverningLawFieldValidation } from "./validate-09Jy2SgA.js";
|
|
31
|
+
import { A as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, B as taxInformationDefaultFieldConfig, C as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, D as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, E as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, M as mapJapaneseLegalNamesToLocalization, N as mapLocalizationToJapaneseLegalNames, O as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, S as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, T as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, U as isJapanLocalizationEnabled, V as taxInformationDefaultFieldMetadata, b as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, c as TileGroup, j as isUsingCompanySearch, k as REGISTRATION_NUMBER_EXEMPTION_RULES, l as TAX_INFORMATION_FIELD, u as TaxInformationField, w as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, x as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, y as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, z as getTaxInformationPlaceholderText } from "./bafinUtils-B8teCz7U.js";
|
|
32
|
+
import { l as registrationNumberDefaultFieldConfig, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-DPidx6iz.js";
|
|
33
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-BGZrKxCP.js";
|
|
34
|
+
import { r as SOLE_PROP_COUNTRIES, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./legalArrangementUtils-xvCxpgzJ.js";
|
|
34
35
|
import { useCallback, useEffect, useMemo, useState } from "preact/compat";
|
|
35
36
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
36
37
|
import { signal } from "@preact/signals";
|
|
@@ -212,6 +213,11 @@ var PrimaryPartner = ({ id }) => {
|
|
|
212
213
|
//#endregion
|
|
213
214
|
//#region src/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.tsx
|
|
214
215
|
var PAPERWORK_QUESTIONNAIRE_FIELD = ["filedPaperwork"];
|
|
216
|
+
/**
|
|
217
|
+
* The paperwork answer dictates whether the entity is:
|
|
218
|
+
* A) a pure individual or a sole prop, or
|
|
219
|
+
* B) a registered business or an unincorporated partnership.
|
|
220
|
+
*/
|
|
215
221
|
function PaperworkQuestionnaire({ data, valid, handleChangeFor, errors, label }) {
|
|
216
222
|
const { t } = useTranslation(["globalEntry", "common"]);
|
|
217
223
|
return /* @__PURE__ */ jsx(Field, {
|
|
@@ -320,7 +326,7 @@ var getGlobalEntryCompanyType = (legalEntity, data) => {
|
|
|
320
326
|
}
|
|
321
327
|
if (data.entityInformation.entitySetup === "justMe") {
|
|
322
328
|
const hasSoleProprietorshipAssociation = legalEntity && hasSolePropInLegalEntity(legalEntity);
|
|
323
|
-
return data.registrationInformation
|
|
329
|
+
return data.registrationInformation?.filedPaperwork === "yes" || hasSoleProprietorshipAssociation ? "soleProprietorship" : LegalEntityTypes.INDIVIDUAL;
|
|
324
330
|
}
|
|
325
331
|
};
|
|
326
332
|
var determineEntitySetup = (legalEntity) => {
|
|
@@ -346,7 +352,8 @@ var mapLegalEntityToGlobalEntrySchema = (legalEntity, associatedSoleProp) => {
|
|
|
346
352
|
country: getLegalEntityCountry(legalEntity)
|
|
347
353
|
},
|
|
348
354
|
registrationInformation: {
|
|
349
|
-
|
|
355
|
+
...mapLocalizationToJapaneseLegalNames(legalEntity.organization?.localization),
|
|
356
|
+
filedPaperwork: taxInformation ? "yes" : isPartOfUnincorporatedPartnership(legalEntity) ? "no" : void 0,
|
|
350
357
|
unincorporatedOrganizationType: isPartOfUnincorporatedPartnership(legalEntity) ? "unincorporatedPartnership" : void 0,
|
|
351
358
|
legalCompanyName: isSoleProprietorship ? soleProprietorship.name : legalEntity.organization?.legalName,
|
|
352
359
|
registrationNumber: isUen ? currentCountryTaxInformation?.number : registrationNumber,
|
|
@@ -358,8 +365,18 @@ var mapLegalEntityToGlobalEntrySchema = (legalEntity, associatedSoleProp) => {
|
|
|
358
365
|
primaryPartner: { primaryPartnerType: isPartOfUnincorporatedPartnership(legalEntity) ? legalEntity.type === "individual" ? "individual" : "organization" : void 0 }
|
|
359
366
|
};
|
|
360
367
|
};
|
|
361
|
-
var
|
|
362
|
-
|
|
368
|
+
var isPaperworkQuestionAsked = (data) => {
|
|
369
|
+
const { country, entitySetup } = data.entityInformation ?? {};
|
|
370
|
+
if (!country) return false;
|
|
371
|
+
if (entitySetup === "partOfABusiness") return ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES.includes(country);
|
|
372
|
+
return entitySetup === "justMe" && SOLE_PROP_COUNTRIES.includes(country);
|
|
373
|
+
};
|
|
374
|
+
var getFiledPaperwork = (data) => {
|
|
375
|
+
if (isPaperworkQuestionAsked(data)) return data.registrationInformation?.filedPaperwork ?? null;
|
|
376
|
+
return data.entityInformation?.entitySetup === "partOfABusiness" ? "yes" : "no";
|
|
377
|
+
};
|
|
378
|
+
var isSoleProprietorship = (data) => data.entityInformation?.entitySetup === "justMe" && getFiledPaperwork(data) === "yes";
|
|
379
|
+
var isUnincorporatedPartnership = (data) => data.entityInformation?.entitySetup === "partOfABusiness" && getFiledPaperwork(data) === "no" && data.registrationInformation?.unincorporatedOrganizationType === "unincorporatedPartnership";
|
|
363
380
|
/**
|
|
364
381
|
* If switching to a non-SoleProp or a non-UnincorporatedPartnership, the associations
|
|
365
382
|
* should be dropped.
|
|
@@ -380,14 +397,19 @@ var determineEntityAssociations = (data, legalEntity, newSoleProp) => {
|
|
|
380
397
|
return shouldClearEntityAssociations(data, legalEntity) ? [] : void 0;
|
|
381
398
|
};
|
|
382
399
|
var mapGlobalEntrySchemaToLegalEntity = (data, legalEntity, newSoleProp) => {
|
|
383
|
-
const
|
|
400
|
+
const isOrg = determineLegalEntityType(data) === LegalEntityTypes.ORGANIZATION;
|
|
401
|
+
const mapping = isOrg ? globalEntryApiKeyMappingForOrgs : globalEntryApiKeyMappingForIndividuals;
|
|
384
402
|
const entityAssociations = determineEntityAssociations(data, legalEntity, newSoleProp);
|
|
385
|
-
|
|
403
|
+
const entity = {
|
|
386
404
|
...formatObject(data, mapping),
|
|
387
405
|
id: legalEntity.id,
|
|
388
406
|
type: determineLegalEntityType(data),
|
|
389
407
|
...entityAssociations && { entityAssociations }
|
|
390
408
|
};
|
|
409
|
+
/** Only an organization holds these, the api has nowhere to put them on the other entity types */
|
|
410
|
+
const localization = isOrg ? mapJapaneseLegalNamesToLocalization(data.registrationInformation ?? {}) : void 0;
|
|
411
|
+
if (entity.organization && localization?.length) entity.organization.localization = localization;
|
|
412
|
+
return entity;
|
|
391
413
|
};
|
|
392
414
|
var mapGlobalEntrySchemaToSoleProp = (data) => {
|
|
393
415
|
const { soleProprietorship } = formatObject(data, globalEntryApiKeyMappingForSoleProps);
|
|
@@ -408,10 +430,11 @@ var mapGlobalEntrySchemaToSoleProp = (data) => {
|
|
|
408
430
|
*/
|
|
409
431
|
var determineAccountHolder = (data) => {
|
|
410
432
|
const entitySetup = data.entityInformation?.entitySetup;
|
|
411
|
-
|
|
433
|
+
/** Derived, because the question is not put to the user in every country */
|
|
434
|
+
const filedPaperwork = getFiledPaperwork(data);
|
|
412
435
|
if (entitySetup === "justMe") return filedPaperwork === "yes" ? "mySoleProprietorName" : "myName";
|
|
413
436
|
if (entitySetup === "partOfABusiness") {
|
|
414
|
-
if (
|
|
437
|
+
if (isUnincorporatedPartnership(data)) return "anUnincorporatedPartnership";
|
|
415
438
|
if (filedPaperwork === "yes") return "theCompanyIWorkFor";
|
|
416
439
|
}
|
|
417
440
|
};
|
|
@@ -487,7 +510,7 @@ var RegistrationInformation = ({ id, shouldValidate, legalEntity, country }) =>
|
|
|
487
510
|
title: commonT(($) => $["tellUsAboutYourBusiness"]),
|
|
488
511
|
description: globalEntryT(($) => $["toHelpYouGetSetUp"])
|
|
489
512
|
}),
|
|
490
|
-
/* @__PURE__ */ jsx(PaperworkQuestionnaire, {
|
|
513
|
+
showField(PAPERWORK_QUESTIONNAIRE_FIELD) && /* @__PURE__ */ jsx(PaperworkQuestionnaire, {
|
|
491
514
|
data: { filedPaperwork: data.filedPaperwork },
|
|
492
515
|
valid: { filedPaperwork: valid.filedPaperwork },
|
|
493
516
|
errors: { filedPaperwork: formUtils.getErrorMessage("filedPaperwork", errors, fieldProblems) },
|
|
@@ -616,13 +639,14 @@ var globalEntryFieldRuleConfigurations = {
|
|
|
616
639
|
exemptedFromTax: { rule: "countryHasTaxExemptions" }
|
|
617
640
|
};
|
|
618
641
|
var globalEntryCustomRules = ({ accountHolder, data, isFeatureEnabled = () => false, country, taskType, rootLegalEntity }) => {
|
|
619
|
-
const
|
|
620
|
-
const
|
|
642
|
+
const filedPaperwork = getFiledPaperwork(data);
|
|
643
|
+
const hasFiledPaperwork = filedPaperwork === "yes";
|
|
644
|
+
const hasAnsweredPaperworkQuestion = !!filedPaperwork;
|
|
621
645
|
const isPartOfABusiness = data.entityInformation?.entitySetup === "partOfABusiness";
|
|
622
646
|
const isSoleProp = isSoleProprietorship(data);
|
|
623
647
|
const isExemptFromRegistrationNumber = Boolean(data.registrationInformation?.exemptedFromRegistrationNumber);
|
|
624
648
|
const existingRegistrationNumber = rootLegalEntity?.type === "soleProprietorship" ? rootLegalEntity.soleProprietorship?.registrationNumber : rootLegalEntity?.organization?.registrationNumber;
|
|
625
|
-
const isUnincorporatedOrganization = isPartOfABusiness &&
|
|
649
|
+
const isUnincorporatedOrganization = isPartOfABusiness && filedPaperwork === "no";
|
|
626
650
|
return createFormRules({
|
|
627
651
|
entitySetupRequired: () => "REQUIRED",
|
|
628
652
|
countryRequired: () => "REQUIRED",
|
|
@@ -632,7 +656,7 @@ var globalEntryCustomRules = ({ accountHolder, data, isFeatureEnabled = () => fa
|
|
|
632
656
|
countryOfGoverningLawRequired: () => {
|
|
633
657
|
if (isFeatureEnabled("EnableCountryOfGoverningLawForUKCompanies") && COUNTRY_OF_GOVERNING_LAW_POSSIBLE.includes(country) && (isPartOfABusiness || isSoleProp) && hasAnsweredPaperworkQuestion) return "REQUIRED";
|
|
634
658
|
},
|
|
635
|
-
filedPaperworkRequired: () => "REQUIRED",
|
|
659
|
+
filedPaperworkRequired: () => isPaperworkQuestionAsked(data) ? "REQUIRED" : void 0,
|
|
636
660
|
unincorporatedOrganizationTypeRequired: () => isUnincorporatedOrganization ? "REQUIRED" : void 0,
|
|
637
661
|
legalCompanyNameRequired: () => hasFiledPaperwork ? "REQUIRED" : void 0,
|
|
638
662
|
jaHaniLegalCompanyName: () => {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aef1f3cb-54dc-4f85-9ce7-8698a638b0b9", e._sentryDebugIdIdentifier = "sentry-dbid-aef1f3cb-54dc-4f85-9ce7-8698a638b0b9");
|
|
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
|
-
import { v as LandingLayout } from "./form-rules-
|
|
11
|
-
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-
|
|
10
|
+
import { v as LandingLayout } from "./form-rules-yTwukXew.js";
|
|
11
|
+
import { n as showGlobalEntryModal, t as GlobalEntryModal } from "./GlobalEntryModal-DwhX1CJz.js";
|
|
12
12
|
import { t as Image } from "./Image-D82terx4.js";
|
|
13
|
-
import { t as Link } from "./Link-
|
|
13
|
+
import { t as Link } from "./Link-c2jAgGgc.js";
|
|
14
14
|
import { lazy } from "preact/compat";
|
|
15
15
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
16
16
|
import { Show } from "@preact/signals/utils";
|
|
@@ -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] = "89a7bed3-c200-4ad0-95d5-fbd99f7b1e91", e._sentryDebugIdIdentifier = "sentry-dbid-89a7bed3-c200-4ad0-95d5-fbd99f7b1e91");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
6
6
|
import { Suspense, lazy } from "preact/compat";
|
|
@@ -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] = "39966688-715a-4764-8faf-9db17cfdd7b4", e._sentryDebugIdIdentifier = "sentry-dbid-39966688-715a-4764-8faf-9db17cfdd7b4");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BOm4lmPx.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
|
-
import { a as customInputs, c as numericInputs, i as alphanumericInputs, l as spacer, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, s as nonInputs, u as MaskedInput } from "./form-rules-
|
|
8
|
-
import { f as translateTranslatable, r as Field } from "./Select-
|
|
9
|
-
import { A as mergeFieldMetadataIntoProps, c as validatePatternOnBlur, k as createFormUtils } from "./RadioGroup-
|
|
10
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
+
import { a as customInputs, c as numericInputs, i as alphanumericInputs, l as spacer, m as resolveFieldMetadata, n as uppercase, o as makeMask, r as alphaInputs, s as nonInputs, u as MaskedInput } from "./form-rules-yTwukXew.js";
|
|
8
|
+
import { f as translateTranslatable, r as Field } from "./Select-CAYO1vj-.js";
|
|
9
|
+
import { A as mergeFieldMetadataIntoProps, c as validatePatternOnBlur, k as createFormUtils } from "./RadioGroup-BcRkK03K.js";
|
|
10
|
+
import { t as Checkbox } from "./Checkbox-DTQ5Y6L-.js";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/utils/regex/countryIdNumberPatterns.ts
|
|
13
13
|
var CountryIdNumberPatterns = {
|
|
@@ -1,8 +1,8 @@
|
|
|
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] = "e0f81b7a-54a9-48af-b78e-34ed33c79dcc", e._sentryDebugIdIdentifier = "sentry-dbid-e0f81b7a-54a9-48af-b78e-34ed33c79dcc");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as IdentityNumber } from "./IdentityNumber-
|
|
5
|
+
import { t as IdentityNumber } from "./IdentityNumber-BJymypwh.js";
|
|
6
6
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
7
7
|
import { useCallback } from "preact/hooks";
|
|
8
8
|
import { jsx } from "preact/jsx-runtime";
|
package/dist/{IdentityScreeningWorkflow-DESXjfuC.js → IdentityScreeningWorkflow-ZVSOyRqF.js}
RENAMED
|
@@ -1,24 +1,24 @@
|
|
|
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] = "25379d54-3ba6-4e7b-a55d-85a72cf7a818", e._sentryDebugIdIdentifier = "sentry-dbid-25379d54-3ba6-4e7b-a55d-85a72cf7a818");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation, t as Trans } from "./translation-BOm4lmPx.js";
|
|
6
|
-
import { x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { x as Alert } from "./resolveEnvironment-6rOnOa58.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.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 { r as useLegalEntity } from "./useLegalEntity-QQXN6YOm.js";
|
|
11
|
-
import { t as Modal } from "./Modal-
|
|
12
|
-
import { v as LandingLayout } from "./form-rules-
|
|
13
|
-
import { t as EndStateLayout } from "./EndStateLayout-
|
|
14
|
-
import { p as LoaderWrapper } from "./Select-
|
|
15
|
-
import { h as FormFlow_module_default } from "./RadioGroup-
|
|
11
|
+
import { t as Modal } from "./Modal-5uXk2vE6.js";
|
|
12
|
+
import { v as LandingLayout } from "./form-rules-yTwukXew.js";
|
|
13
|
+
import { t as EndStateLayout } from "./EndStateLayout-BK1Hh02g.js";
|
|
14
|
+
import { p as LoaderWrapper } from "./Select-CAYO1vj-.js";
|
|
15
|
+
import { h as FormFlow_module_default } from "./RadioGroup-BcRkK03K.js";
|
|
16
16
|
import { t as Image } from "./Image-D82terx4.js";
|
|
17
|
-
import { t as Link } from "./Link-
|
|
18
|
-
import { a as fromIndividualConflictSchema, 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 } from "./validateExtractionResult-
|
|
19
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
17
|
+
import { t as Link } from "./Link-c2jAgGgc.js";
|
|
18
|
+
import { a as fromIndividualConflictSchema, 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 } from "./validateExtractionResult-dH4TewHf.js";
|
|
19
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-s-Ss3HdC.js";
|
|
20
20
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
21
|
-
import { t as useHideTaskStepper } from "./useHideTaskStepper-
|
|
21
|
+
import { t as useHideTaskStepper } from "./useHideTaskStepper-CbMcV9mk.js";
|
|
22
22
|
import { lazy } from "preact/compat";
|
|
23
23
|
import { useEffect as useEffect$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
24
24
|
import { jsx, jsxs } from "preact/jsx-runtime";
|