@adyen/kyc-components 4.26.1 → 4.27.0-beta.1
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-DXSq3XzA.js → AcceptTermsOfServiceWorkflow-CO6qEeAD.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-BLEWjmc8.js → AccountSetupRejected-CFvogFuo.js} +2 -2
- package/dist/{AdaptiveWorkflow-DwdMyu1A.js → AdaptiveWorkflow-CTKpyw02.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-DPv1YHos.js → AdaptiveWorkflowComponent-CvTwsWi3.js} +5 -5
- package/dist/{AddressFields-B0QVYM-e.js → AddressFields-vl2AeVHz.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-evYHYnXE.js → BusinessFinancingDropin-tSylhmJS.js} +123 -55
- package/dist/{BusinessFinancingPage-C_agz96E.js → BusinessFinancingPage-9AcfHWyP.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-DeYcZlQS.js → BusinessRegistrationNumberField-B6w6LvSZ.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-D9D0BPdp.js → BusinessRegistrationNumberFieldGroup-CICYxSyn.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-DmgeZsex.js → BusinessTypeSelectionPage-lLt_PL1z.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-BLyyDG9b.js → Checkbox-DXF-eRBj.js} +8 -8
- package/dist/{ComponentGroup-BLvYZoxp.js → ComponentGroup-DNspJrHk.js} +3 -3
- package/dist/{ConstitutionalDocument-B3o3NLMO.js → ConstitutionalDocument-Dg3dmkpH.js} +19 -26
- package/dist/{ContactDetails-7zYbKJtH.js → ContactDetails-5W0oQVYG.js} +5 -5
- package/dist/{ContextGuidance-C2AXK9Ep.js → ContextGuidance-BrbPzdaI.js} +3 -3
- package/dist/{CountryField-Bl8gp3wu.js → CountryField-DlMYQYfd.js} +4 -4
- package/dist/{Currency-Be6zg8XM.js → Currency-BCJuV60i.js} +16 -10
- package/dist/{CustomerSupport-lUVh_sWN.js → CustomerSupport-Bdg11WcM.js} +29 -16
- package/dist/{DateField-CO2CodgD.js → DateField-DfnBDOVl.js} +4 -4
- package/dist/{DebugModal-l52lDfKB.js → DebugModal-D1RMhAfR.js} +228 -10
- package/dist/{DecisionMakerDetails-9y6Fm96G.js → DecisionMakerDetails-Cv_NdD0z.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-9kRW2Zh8.js → DecisionMakerDetailsPage-dTsh8vkz.js} +9 -9
- package/dist/{DecisionMakers-CYjKftby.js → DecisionMakers-DAhjhaMS.js} +17 -18
- package/dist/{Dropzone-QRtCFpVT.js → Dropzone-rk15b_Tb.js} +7 -7
- package/dist/{EmailField-D-Ndm0JS.js → EmailField-BOX8HtRe.js} +4 -4
- package/dist/{EmbeddedStatus-4YjyzkcD.js → EmbeddedStatus-mdQsQfof.js} +2 -2
- package/dist/{EndStateLayout-C5Pqler-.js → EndStateLayout-B-M90Rnh.js} +2 -2
- package/dist/{EntityAssociation-CS8XqKk-.js → EntityAssociation-B5Zq7_F6.js} +6 -6
- package/dist/{ErrorPanel-DaipnVsu.js → ErrorPanel-BLvDkiVa.js} +10 -17
- package/dist/{GlobalEntryModal-COOjZvh7.js → GlobalEntryModal-DZsHeRPL.js} +439 -298
- package/dist/{GlobalEntryPage-C9SGXXJk.js → GlobalEntryPage-RyQIoaWL.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-D_cOLEsP.js → IdentityNumber-C8CMJtgD.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-CoLugvku.js → IdentityNumberFieldGroup-Cj5U1Onz.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-B_nLC0Ru.js → IdentityScreeningWorkflow-BCDn25Or.js} +12 -13
- package/dist/{IndividualDropin-CRKk-szG.js → IndividualDropin-B6dY0iN3.js} +149 -231
- package/dist/{IndustryCodeFieldGroup-0vRXN8GP.js → IndustryCodeFieldGroup-B649faYk.js} +5 -5
- package/dist/{InputDate-Cxk_f6Us.js → InputDate-3rYzWzXX.js} +8 -4
- package/dist/{InputText-CObXfKKh.js → InputText-OCbzlaaN.js} +2 -2
- package/dist/{Introduction-CmhxGGzY.js → Introduction-Duow8A7U.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-BkHurym6.js → InvitedDecisionMakerComponent-BVQ37JLZ.js} +13 -14
- package/dist/{JpAddressFields-CuvfbjX6.js → JpAddressFields-Bh7Bvw__.js} +9 -10
- package/dist/{LegalCompanyNameField-CkINYTFB.js → LegalCompanyNameField-Yj5Fa3-I.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-mlE80SrL.js → LegalRepresentativeDetailsPage-C10ojT9w.js} +4 -4
- package/dist/{Link-D0Yqc2r0.js → Link-DwPkGikd.js} +1 -1
- package/dist/{ListItem-DY-qq1lS.js → ListItem-n927geYb.js} +2 -2
- package/dist/{Modal-DnDjAzqZ.js → Modal-jjSjdW5W.js} +3 -3
- package/dist/{Name-Dhj905G8.js → Name-D-A5XBTb.js} +4 -4
- package/dist/{NumberField-BlDjTB0U.js → NumberField-D291GWYR.js} +4 -4
- package/dist/{PatriotActDisclosure-jNLKR-RM.js → PatriotActDisclosure-DMjKJEKH.js} +10 -10
- package/dist/{PayoutDetailsDropin-DO1CtLRd.js → PayoutDetailsDropin-B5MNHR3S.js} +41 -43
- package/dist/{PayoutDetailsPage-C-W1PCRf.js → PayoutDetailsPage-DMAxzS2V.js} +5 -5
- package/dist/{Review-BLcoVl6O.js → Review-BDontauk.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DNZi9Zgj.js → RootBusinessDetailsPage-INMIQvN4.js} +4 -4
- package/dist/{RootBusinessLinesPage-D2IPigk5.js → RootBusinessLinesPage-BiIb7UVU.js} +22 -23
- package/dist/{RootIndividualDetailsPage-Cfa9R28c.js → RootIndividualDetailsPage-BS5BgowF.js} +6 -6
- package/dist/{Select-C0Pp8Jeb.js → Select-BRK2a2V5.js} +92 -92
- package/dist/{SignPCIComponent-I3asF5GE.js → SignPCIComponent-B5JmN8BT.js} +14 -14
- package/dist/{SingpassSelection-C4Ptdwzb.js → SingpassSelection-B84oJmvG.js} +5 -5
- package/dist/{SoleProprietorshipPage-CiI2VKw_.js → SoleProprietorshipPage-C-jxJkmQ.js} +4 -4
- package/dist/{SourceOfFundsPage-DrJqgPMf.js → SourceOfFundsPage-C27vODL5.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-tE06S4__.js → SourceOfFundsWorkflow-DOqaH_wk.js} +4 -4
- package/dist/StateField-CRLgYS1X.js +364 -0
- package/dist/{Step-CLZTcCEQ.js → Step-BTVKO9gW.js} +5 -5
- package/dist/Summary-C9Nr0dot.js +21 -0
- package/dist/{SummarySection-v-mSwYL0.js → SummarySection-D67yguze.js} +5 -19
- package/dist/{Task-CUr-Zb5N.js → Task-BaQ6wqz5.js} +7 -7
- package/dist/{TaskGroup-BGUboNOL.js → TaskGroup-C7lBWbYp.js} +3 -3
- package/dist/{TaskListItem-DMkmZn3B.js → TaskListItem-Cu3fSvOJ.js} +10 -10
- package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js} +1 -1
- package/dist/{TaskVerificationStatus-zoxTZ2mt.js → TaskVerificationStatus-C1CllzL1.js} +17 -17
- package/dist/{TaxInformationFieldGroup-CraKcKMs.js → TaxInformationFieldGroup-vQoQHydJ.js} +7 -7
- package/dist/{TaxReportingDropin-B-ywMdBt.js → TaxReportingDropin-CTnL6VMm.js} +13 -15
- package/dist/{TaxReportingWorkflow-BmUdyOKl.js → TaxReportingWorkflow-5_eG0AcD.js} +4 -4
- package/dist/{TermsOfServiceManagement-D1Yv4Z5p.js → TermsOfServiceManagement-xL-xisqE.js} +46 -43
- package/dist/{TextArea-CyFcFhHo.js → TextArea-CcaUENX2.js} +4 -4
- package/dist/{TextField-D61xVlV2.js → TextField-fhhAQSKg.js} +5 -5
- package/dist/{TrustDetailsPage-D2FS-As0.js → TrustDetailsPage-DcNS-XWz.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DDcSOUi2.js → TrustMemberCompanyPage-xtxgO6d4.js} +5 -5
- package/dist/{TrustMemberIndividualPage-CJBz1p3R.js → TrustMemberIndividualPage-BMWAg_eS.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-OeN1HW_E.js → TrustMemberRoleAndTypePage-DR3pLJf9.js} +43 -36
- package/dist/{TrustMembersOverview-DkrEZL6_.js → TrustMembersOverview-D-jTaw37.js} +13 -13
- package/dist/{UboTaskItem-Dc6ExVuW.js → UboTaskItem-DsoetWEU.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-D0ZYvh8k.js → UnincorporatedPartnershipIndividualPage-3sSr2dCv.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BtapkuO6.js → UnincorporatedPartnershipMemberCompanyPage-s6NiptRo.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CbdYYTQT.js → UnincorporatedPartnershipMemberRoleAndTypePage-Cr6UEryR.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-Cs1DHVNP.js → UnincorporatedPartnershipMembersOverview-CbwWOxQs.js} +6 -6
- package/dist/{VerificationErrorAlert-D9sBE-Tj.js → VerificationErrorAlert-Bm7-u85-.js} +3 -3
- package/dist/{WebsiteField-BCoO-m_7.js → WebsiteField-DTlbxzaa.js} +5 -5
- package/dist/{Workflow-driWy_eJ.js → Workflow-DT43cTzE.js} +6 -6
- package/dist/{accountHolderUtils-BAbeRIOy.js → accountHolderUtils-D0E9se-W.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +6 -6
- package/dist/adyen-individual-status.js +5 -5
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +30 -30
- 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 +5 -5
- package/dist/adyen-transfer-instrument-management.js +13 -13
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-COyCy9xG.js → bafinUtils-CvQzDDfD.js} +519 -531
- package/dist/{constants-fGRziJEH.js → constants-BOu8Hnt9.js} +6 -6
- package/dist/{dropinUtils-cIGIoJvF.js → dropinUtils-DfyQ8xFE.js} +165 -364
- package/dist/en-US-8KLaHQaT.js +7 -0
- package/dist/{en-US-Cz4JoU20.js → en-US-BMMx67Za.js} +16 -2
- package/dist/{en-US-nYL_eSJ-.js → en-US-BfRvYdHX.js} +8 -2
- package/dist/en-US-DGdFfmUC.js +136 -0
- package/dist/{en-US.instructions-BVNIyLRs.js → en-US.instructions-myDXMUbk.js} +2 -1
- package/dist/{error-B9rHWK9Q.js → error-CUHwmdwD.js} +2 -2
- package/dist/formatDataForSummary-BMFPIUER.js +498 -0
- package/dist/{formatValidationError-BJqU7LCU.js → formatValidationError-B5GNhAeh.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-BcV1GDOs.js → getDefaultRegistrationNumberType-CyaKz1Fj.js} +4 -4
- package/dist/{getProblemsForEntity-mdb3Bfpj.js → getProblemsForEntity-FHk416BA.js} +1 -1
- package/dist/{getTrustedDecisionMakers-D89oYOLp.js → getTrustedDecisionMakers-DByctgob.js} +1 -1
- package/dist/{getValidationError-dcpAlebZ.js → getValidationError-B4YX_EgR.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-B9pzYF3B.js → mapAddressLocalizationToJpAddressSchema-BrQMDBLX.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-BL4eAlDH.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-Ba_L9EEB.js → mapTransferInstrumentToPayoutAccount-DhwdciyT.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-DWdgik5u.js → processValidationErrors-Dtt1FnM2.js} +4 -4
- package/dist/{resolveEnvironment-BnKqnU98.js → resolveEnvironment-CpWP_8og.js} +53 -16
- package/dist/roleMetadata-BW4HRw1l.js +57 -0
- package/dist/style.css +218 -230
- package/dist/styles-DYaAeu4q.js +218 -230
- package/dist/trustMemberType-Ix2sf6e_.js +13 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +2 -0
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -0
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +7 -2
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +3 -1
- package/dist/types/components/Business/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +78 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +2 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +6 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/DbaQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/DbaQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/LlcQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/LlcQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/PaperworkQuestionnaire.d.ts +1 -6
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/fieldConfig.d.ts +11 -0
- package/dist/types/components/GlobalEntry/fields/PaperworkQuestionnaire/types.d.ts +6 -1
- package/dist/types/components/GlobalEntry/fields/Questionnaire/Questionnaire.d.ts +2 -0
- package/dist/types/components/GlobalEntry/fields/Questionnaire/types.d.ts +17 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/TrustQuestionnaire.d.ts +3 -0
- package/dist/types/components/GlobalEntry/fields/TrustQuestionnaire/types.d.ts +5 -0
- package/dist/types/components/GlobalEntry/forms/EntityInformation/EntityInformation.d.ts +1 -3
- package/dist/types/components/GlobalEntry/forms/EntityInformation/types.d.ts +1 -2
- package/dist/types/components/GlobalEntry/forms/RegistrationInformation/types.d.ts +5 -1
- package/dist/types/components/GlobalEntry/mapping/globalEntryKeyMapping.d.ts +0 -3
- package/dist/types/components/GlobalEntry/mapping/mapGlobalEntrySchemaToLegalEntity.d.ts +2 -3
- package/dist/types/components/GlobalEntry/mapping/mapLegalEntityToGlobalEntrySchema.d.ts +1 -6
- package/dist/types/components/GlobalEntry/rules.d.ts +5 -2
- package/dist/types/components/GlobalEntry/utils/getAvailableCompanyStructures.d.ts +2 -1
- package/dist/types/components/GlobalEntry/utils/submitGlobalEntry.d.ts +1 -4
- package/dist/types/components/GlobalEntry/utils/utils.d.ts +7 -4
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +1 -2
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +7 -6
- package/dist/types/components/Individual/helpers/findRelevantTaxInformation.d.ts +8 -2
- package/dist/types/components/Individual/helpers/getSubmittableTaxInformation.d.ts +20 -0
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -3
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +6 -67
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualSummary.d.ts +27 -0
- package/dist/types/components/Individual/utils/formatDataForSummary.d.ts +49 -0
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -5
- package/dist/types/components/Shared/Summary/Summary.d.ts +10 -7
- package/dist/types/components/Shared/Summary/types.d.ts +3 -21
- package/dist/types/components/Shared/SummarySection/SummaryBulletList.d.ts +8 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugTheme.d.ts +2 -0
- package/dist/types/components/Shared/devex/DebugListener/customTheme.d.ts +49 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/types.d.ts +2 -0
- package/dist/types/components/Shared/fields/RegistrationAndOperationalAddressFields/utils.d.ts +2 -4
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/constants.d.ts +2 -0
- package/dist/types/components/Shared/forms/Address/localized/jp/JpAddressFields.d.ts +2 -9
- 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/localized/jp/mapJpAddressSummary.d.ts +2 -4
- package/dist/types/components/Shared/forms/Address/rules.d.ts +13 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +7 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +5 -11
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +3 -1
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +2 -3
- package/dist/types/components/Trust/utils/formatDataForSummary.d.ts +2 -1
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +4 -1
- package/dist/types/core/EmbedShell/useTheme.d.ts +9 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +1 -1
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +8 -0
- package/dist/types/hooks/useStoredStateOrProvince.d.ts +9 -0
- package/dist/types/types/datasets/state-code.d.ts +36 -1
- package/dist/types/types/form-rules.d.ts +2 -2
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +3 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +1 -1
- package/dist/types/utils/legalArrangementUtils.d.ts +2 -0
- package/dist/{types-BymnGWO9.js → types-DVMWWwBT.js} +1 -1
- package/dist/{form-rules-CZbkNMEw.js → unincorporatedPartnership-CiU2fnqv.js} +38 -4
- package/dist/{useBusinessDetailsData-BJau7oMt.js → useBusinessDetailsData-BtEHoBoN.js} +100 -90
- package/dist/{useCanSeeIntroduction-BQuCt-eO.js → useCanSeeIntroduction-kxOGIxnh.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-VDjedfk9.js → useForm-CiHfxEX0.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-Cs-bSalH.js → useId-ChrmzN7R.js} +2 -2
- package/dist/{useNavigate-CKp2oemi.js → useNavigate-xbrKpFCu.js} +33 -33
- package/dist/{useSalesChannels-D0q-Vat7.js → useSalesChannels-C2qQmPGf.js} +1 -1
- package/dist/{useTaskLandedEvent-QBmeEeS6.js → useTaskLandedEvent-Brv74FDb.js} +1 -1
- package/dist/{useTrustMembers-COumqoMC.js → useTrustMembers-BA5fCul_.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-J6rxK5Ie.js} +2 -2
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/{utils-BiPEtEaV.js → utils-ClAXyRqf.js} +4 -5
- package/dist/{utils-B6TRzLRs.js → utils-Do6-kryk.js} +3 -3
- package/dist/utils-VV2acmQG.js +49 -0
- package/dist/{validate-Dt3Xmp_L.js → validate-BHOzYoxU.js} +26 -2
- package/dist/{validate-BN38Qq-w.js → validate-D5990ODb.js} +20 -9
- package/dist/{validate-D3JIeysp.js → validate-Dtiozjlb.js} +4 -4
- package/dist/{validate-_7WKym8c.js → validate-NJNmUaTh.js} +11 -5
- package/dist/{validateExtractionResult-IRRMwcNi.js → validateExtractionResult-D3AuQo5-.js} +3 -3
- package/package.json +6 -5
- package/dist/Image-CxnjHtP1.js +0 -33
- package/dist/List-qvNxW9lm.js +0 -72
- package/dist/StateField-BBGSo1NG.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-kHaGv8kC.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-D6qGKj-2.js +0 -254
- package/dist/trustMemberGuidance-BpeDHAJP.js +0 -27
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +0 -10
- package/dist/types/components/Shared/Summary/summaryItem.d.ts +0 -17
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +0 -17
- package/dist/unincorporatedPartnership-BbNowjM2.js +0 -11
|
@@ -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] = "ec7aaae5-7324-4959-b0ec-0a046535e676", e._sentryDebugIdIdentifier = "sentry-dbid-ec7aaae5-7324-4959-b0ec-0a046535e676");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { M as _rolldown_dynamic_import_helper_default } from "./resolveEnvironment-CpWP_8og.js";
|
|
7
7
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
8
8
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
9
9
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-tSylhmJS.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -22,7 +22,7 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
22
22
|
"../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-CWWLFjfT.js"),
|
|
23
23
|
"../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-LLIuFER0.js"),
|
|
24
24
|
"../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-D9MFsese.js"),
|
|
25
|
-
"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-
|
|
25
|
+
"../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-BfRvYdHX.js"),
|
|
26
26
|
"../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-N-uqwvEU.js"),
|
|
27
27
|
"../tasks/BusinessFinancingDropin/language/es-LA.json": () => import("./es-LA-DcnCNM5a.js"),
|
|
28
28
|
"../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-CkJhiCVw.js"),
|
|
@@ -52,8 +52,8 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
52
52
|
"../../../language/locales/da-DK.json": () => import("./da-DK-B-BJLcqw.js"),
|
|
53
53
|
"../../../language/locales/de-DE.json": () => import("./de-DE-BxTGFyOs.js"),
|
|
54
54
|
"../../../language/locales/el-GR.json": () => import("./el-GR-IQwyd9ws.js"),
|
|
55
|
-
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-
|
|
56
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
55
|
+
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-myDXMUbk.js"),
|
|
56
|
+
"../../../language/locales/en-US.json": () => import("./en-US-8KLaHQaT.js"),
|
|
57
57
|
"../../../language/locales/es-ES.json": () => import("./es-ES-Cg2IadcX.js"),
|
|
58
58
|
"../../../language/locales/es-LA.json": () => import("./es-LA-DvMpG4FP.js"),
|
|
59
59
|
"../../../language/locales/et-EE.json": () => import("./et-EE-eGeytyQh.js"),
|
|
@@ -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] = "50e23110-5b83-483d-b986-2b51d49ba0ff", e._sentryDebugIdIdentifier = "sentry-dbid-50e23110-5b83-483d-b986-2b51d49ba0ff");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as MaskedInput } from "./dropinUtils-
|
|
10
|
-
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-
|
|
6
|
+
import { t as Checkbox } from "./Checkbox-DXF-eRBj.js";
|
|
7
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
8
|
+
import { a as translateTranslatable, o as Field } from "./Select-BRK2a2V5.js";
|
|
9
|
+
import { a as MaskedInput } from "./dropinUtils-DfyQ8xFE.js";
|
|
10
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-CyaKz1Fj.js";
|
|
11
11
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.tsx
|
|
13
13
|
var BUSINESS_REGISTRATION_NUMBER_FIELD = [
|
|
@@ -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] = "06c50e42-ea21-437c-a5ee-2750b1bf2445", e._sentryDebugIdIdentifier = "sentry-dbid-06c50e42-ea21-437c-a5ee-2750b1bf2445");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Checkbox } from "./Checkbox-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as MaskedInput } from "./dropinUtils-
|
|
10
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-
|
|
6
|
+
import { t as Checkbox } from "./Checkbox-DXF-eRBj.js";
|
|
7
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
8
|
+
import { a as translateTranslatable, o as Field } from "./Select-BRK2a2V5.js";
|
|
9
|
+
import { a as MaskedInput } from "./dropinUtils-DfyQ8xFE.js";
|
|
10
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as CompanyRegistrationNumberTypeSelector, t as getDefaultRegistrationNumberType, u as registrationNumberDefaultFieldMetadata } from "./getDefaultRegistrationNumberType-CyaKz1Fj.js";
|
|
11
11
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
12
12
|
import { useCallback } from "preact/hooks";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{BusinessTypeSelectionPage-DmgeZsex.js → BusinessTypeSelectionPage-lLt_PL1z.js}
RENAMED
|
@@ -1,26 +1,26 @@
|
|
|
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] = "54dc8efa-608c-4616-9676-83f14369379a", e._sentryDebugIdIdentifier = "sentry-dbid-54dc8efa-608c-4616-9676-83f14369379a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { gt as useAccountHolder } from "./resolveEnvironment-CpWP_8og.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-BDaKGf77.js";
|
|
10
|
-
import { t as Button } from "./Button-
|
|
10
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
11
11
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
12
12
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BK-HHa65.js";
|
|
13
|
-
import { t as getCapabilities } from "./processCapabilities-
|
|
14
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
15
|
-
import { r as useToastContext } from "./useId-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
20
|
-
import { t as useForm } from "./useForm-
|
|
21
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
13
|
+
import { t as getCapabilities } from "./processCapabilities-B75YIdXZ.js";
|
|
14
|
+
import { i as useAnalyticsContext } from "./Modal-jjSjdW5W.js";
|
|
15
|
+
import { r as useToastContext } from "./useId-ChrmzN7R.js";
|
|
16
|
+
import { o as Field, p as LoaderWrapper } from "./Select-BRK2a2V5.js";
|
|
17
|
+
import { h as useUpdateLegalEntity } from "./StateField-CRLgYS1X.js";
|
|
18
|
+
import { W as TileGroup } from "./bafinUtils-CvQzDDfD.js";
|
|
19
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Brv74FDb.js";
|
|
20
|
+
import { t as useForm } from "./useForm-CiHfxEX0.js";
|
|
21
|
+
import { t as formatValidationError } from "./formatValidationError-B5GNhAeh.js";
|
|
22
22
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
23
|
-
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-
|
|
23
|
+
import { a as getTargetLegalEntityType, c as useSelectionOptions, i as getDefaultLegalArrangementOrSuborganizationType, n as determineOrganizationTypeToUpdate, o as legalArrangementMetadata, r as getBusinessType, t as businessTypeIcons } from "./utils-ClAXyRqf.js";
|
|
24
24
|
import { useCallback, useEffect, useState } from "preact/hooks";
|
|
25
25
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
26
26
|
//#region src/datasets/generators/getBusinessTypeExamplesForCountry.ts
|
|
@@ -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] = "35e0b9a6-470e-4d8e-8fd1-94af68272c67", e._sentryDebugIdIdentifier = "sentry-dbid-35e0b9a6-470e-4d8e-8fd1-94af68272c67");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { t as Icon } from "./Icon-
|
|
5
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
6
6
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
7
7
|
import cx from "classnames";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -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] = "ee096d40-87b8-411f-aa01-4e0d07080ecf", e._sentryDebugIdIdentifier = "sentry-dbid-ee096d40-87b8-411f-aa01-4e0d07080ecf");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { F as ToggleContext } from "./resolveEnvironment-CpWP_8og.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-jjSjdW5W.js";
|
|
7
7
|
import { useCallback, useContext, useEffect, useRef } from "preact/hooks";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -60,11 +60,11 @@ var useDebouncedCallback = (func, wait) => {
|
|
|
60
60
|
//#region src/utils/analytics/debouncedInputEvent.ts
|
|
61
61
|
var debouncedInputEvent = debounce((userEvents, properties) => userEvents.addFieldEvent("Interacted with form field", properties), 500);
|
|
62
62
|
var Checkbox_module_default = {
|
|
63
|
-
input: "
|
|
64
|
-
label: "
|
|
65
|
-
invalid: "
|
|
66
|
-
"helper-text": "_helper-
|
|
67
|
-
helperText: "_helper-
|
|
63
|
+
input: "_input_1i5wk_1",
|
|
64
|
+
label: "_label_1i5wk_6",
|
|
65
|
+
invalid: "_invalid_1i5wk_34",
|
|
66
|
+
"helper-text": "_helper-text_1i5wk_121",
|
|
67
|
+
helperText: "_helper-text_1i5wk_121"
|
|
68
68
|
};
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/components/ui/atoms/Checkbox/Checkbox.tsx
|
|
@@ -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] = "5dc07f99-1982-4775-b489-8ed38bc5ded2", e._sentryDebugIdIdentifier = "sentry-dbid-5dc07f99-1982-4775-b489-8ed38bc5ded2");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Accordion } from "./Accordion-
|
|
7
|
-
import { t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
6
|
+
import { t as Accordion } from "./Accordion-CTQfC17W.js";
|
|
7
|
+
import { t as NodeRenderer } from "./AdaptiveWorkflow-CTKpyw02.js";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
9
|
//#region src/adaptiveWorkflow/components/Layout/ComponentGroup/contextMap.ts
|
|
10
10
|
var contextMap = {};
|
|
@@ -1,28 +1,28 @@
|
|
|
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] = "c73be090-2557-4658-b6cf-6f3f4b54dc23", e._sentryDebugIdIdentifier = "sentry-dbid-c73be090-2557-4658-b6cf-6f3f4b54dc23");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { D as datasetUtilities } from "./resolveEnvironment-CpWP_8og.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
9
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
10
10
|
import { a as objectsDeepEqual } from "./genUtils-nphCwt1A.js";
|
|
11
11
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
12
12
|
import { a as prefixCountryNameWithThe } from "./country-WYlusjTL.js";
|
|
13
|
-
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-
|
|
14
|
-
import { t as InputText } from "./InputText-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { f as addressFields } from "./StateField-
|
|
18
|
-
import { A as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-Cxk_f6Us.js";
|
|
13
|
+
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-DXF-eRBj.js";
|
|
14
|
+
import { t as InputText } from "./InputText-OCbzlaaN.js";
|
|
15
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
16
|
+
import { a as translateTranslatable, o as Field } from "./Select-BRK2a2V5.js";
|
|
17
|
+
import { f as addressFields, p as isJapanLocalizationEnabled } from "./StateField-CRLgYS1X.js";
|
|
18
|
+
import { A as uppercase, F as nonInputs, I as numericInputs, L as spacer, M as alphanumericInputs, O as validateNotEmptyOnBlur, P as makeMask, a as MaskedInput, j as alphaInputs, k as validatePatternOnBlur, r as RadioGroup } from "./dropinUtils-DfyQ8xFE.js";
|
|
19
|
+
import { t as AddressFields } from "./AddressFields-vl2AeVHz.js";
|
|
20
|
+
import { n as MemoizedDocumentUpload } from "./PatriotActDisclosure-DMjKJEKH.js";
|
|
21
|
+
import { i as useAddressCleanse, r as formatAddressForCleanse, t as InputDate } from "./InputDate-3rYzWzXX.js";
|
|
23
22
|
import { i as getPrefixedFieldProps } from "./getProps-DVqK7eRw.js";
|
|
24
23
|
import { r as formatDateObj } from "./InputDate.utils-D4Ov0KIl.js";
|
|
25
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
24
|
+
import { t as formatValidationError } from "./formatValidationError-B5GNhAeh.js";
|
|
25
|
+
import { i as nestAddressSchema, n as getNestedTrustedFields, r as getPrefixedAddressFieldNames } from "./utils-VV2acmQG.js";
|
|
26
26
|
import { Suspense, lazy, memo } from "preact/compat";
|
|
27
27
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|
|
28
28
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -150,7 +150,7 @@ var RegistrationAndOperationalAddressFields_module_default = {
|
|
|
150
150
|
};
|
|
151
151
|
//#endregion
|
|
152
152
|
//#region src/components/Shared/fields/RegistrationAndOperationalAddressFields/RegistrationAndOperationalAddressFields.tsx
|
|
153
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
153
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-Bh7Bvw__.js")).JpAddressFields);
|
|
154
154
|
var REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS = [
|
|
155
155
|
"operationalAddressIsSame",
|
|
156
156
|
...getPrefixedAddressFieldNames("registrationAddress"),
|
|
@@ -203,7 +203,7 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
|
|
|
203
203
|
datasetUtils,
|
|
204
204
|
t
|
|
205
205
|
]);
|
|
206
|
-
const
|
|
206
|
+
const buildProps = (prefix) => getPrefixedFieldProps({
|
|
207
207
|
data,
|
|
208
208
|
valid,
|
|
209
209
|
errors,
|
|
@@ -211,15 +211,8 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
|
|
|
211
211
|
optionalFields,
|
|
212
212
|
fieldValidationErrors,
|
|
213
213
|
handleFieldChange: handleChangeFor
|
|
214
|
-
};
|
|
215
|
-
const
|
|
216
|
-
const buildProps = (prefix) => getPrefixedFieldProps(formProps, prefix, addressFields);
|
|
217
|
-
const addressFieldProps = showJapanLocalization ? {
|
|
218
|
-
showJapanLocalization: true,
|
|
219
|
-
registrationAddress: buildJpProps("registrationAddress"),
|
|
220
|
-
operationalAddress: buildJpProps("operationalAddress")
|
|
221
|
-
} : {
|
|
222
|
-
showJapanLocalization: false,
|
|
214
|
+
}, prefix, addressFields);
|
|
215
|
+
const addressFieldProps = {
|
|
223
216
|
registrationAddress: buildProps("registrationAddress"),
|
|
224
217
|
operationalAddress: buildProps("operationalAddress")
|
|
225
218
|
};
|
|
@@ -236,7 +229,7 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
|
|
|
236
229
|
children: registrationAddressDescription
|
|
237
230
|
})]
|
|
238
231
|
}),
|
|
239
|
-
|
|
232
|
+
showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, {
|
|
240
233
|
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
241
234
|
children: /* @__PURE__ */ jsx(LazyJpAddressFields, {
|
|
242
235
|
...addressFieldProps.registrationAddress,
|
|
@@ -291,7 +284,7 @@ function RegistrationAndOperationalAddressFields({ country, readOnlyAddressField
|
|
|
291
284
|
onChange: handleOperationalAddressIsSameChange
|
|
292
285
|
})
|
|
293
286
|
}),
|
|
294
|
-
!data?.operationalAddressIsSame && (
|
|
287
|
+
!data?.operationalAddressIsSame && (showJapanLocalization ? /* @__PURE__ */ jsx(Suspense, {
|
|
295
288
|
fallback: /* @__PURE__ */ jsx(Loader, {}),
|
|
296
289
|
children: /* @__PURE__ */ jsx(LazyJpAddressFields, {
|
|
297
290
|
...addressFieldProps.operationalAddress,
|
|
@@ -1,15 +1,15 @@
|
|
|
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] = "5fd754a5-8727-4d0f-9a43-c56da1e49c7b", e._sentryDebugIdIdentifier = "sentry-dbid-5fd754a5-8727-4d0f-9a43-c56da1e49c7b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { E as datasetIdentifier, T as useDataset, j as Header, ot as isEmpty } from "./resolveEnvironment-CpWP_8og.js";
|
|
7
7
|
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { o as entriesOf } from "./genUtils-nphCwt1A.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
10
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
11
|
+
import { o as Field, t as Select } from "./Select-BRK2a2V5.js";
|
|
12
|
+
import { F as nonInputs, I as numericInputs, L as spacer, P as makeMask, a as MaskedInput, o as InputEmail, v as createFormUtils, y as mergeFieldMetadataIntoProps } from "./dropinUtils-DfyQ8xFE.js";
|
|
13
13
|
import { n as emailPattern } from "./basePatterns-plHFNzgJ.js";
|
|
14
14
|
import { t as InputGroup } from "./InputGroup-Bv005B22.js";
|
|
15
15
|
import { useCallback, useEffect, useMemo, useState } from "preact/hooks";
|
|
@@ -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] = "072a2780-7a6e-471e-8220-78adf2f33f89", e._sentryDebugIdIdentifier = "sentry-dbid-072a2780-7a6e-471e-8220-78adf2f33f89");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import {
|
|
6
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
5
|
+
import { C as Alert } from "./resolveEnvironment-CpWP_8og.js";
|
|
6
|
+
import { i as useAnalyticsContext } from "./Modal-jjSjdW5W.js";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/molecules/ContextGuidance/ContextGuidance.tsx
|
|
9
9
|
function ContextGuidance({ title, content, titleId, contentId, trackingParams }) {
|
|
@@ -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] = "6277acc0-59f5-4495-a13e-76741048d937", e._sentryDebugIdIdentifier = "sentry-dbid-6277acc0-59f5-4495-a13e-76741048d937");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { E as datasetIdentifier, T as useDataset } from "./resolveEnvironment-CpWP_8og.js";
|
|
7
|
+
import { o as Field, t as Select } from "./Select-BRK2a2V5.js";
|
|
8
8
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
9
|
-
import { t as getValidationError } from "./getValidationError-
|
|
9
|
+
import { t as getValidationError } from "./getValidationError-B4YX_EgR.js";
|
|
10
10
|
import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/adaptiveWorkflow/components/Shared/Fields/CountryField/contextMap.ts
|
|
@@ -1,19 +1,19 @@
|
|
|
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] = "cbdf1359-74d4-4577-a125-ecd94bc21203", e._sentryDebugIdIdentifier = "sentry-dbid-cbdf1359-74d4-4577-a125-ecd94bc21203");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { lt as isUndefinedOrNull } from "./resolveEnvironment-CpWP_8og.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 { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
10
10
|
import { r as drop } from "./genUtils-nphCwt1A.js";
|
|
11
|
-
import { t as Checkbox } from "./Checkbox-
|
|
12
|
-
import { r as InputBase, t as InputText } from "./InputText-
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { t as Link } from "./Link-
|
|
16
|
-
import { t as currencyByCountry } from "./types-
|
|
11
|
+
import { t as Checkbox } from "./Checkbox-DXF-eRBj.js";
|
|
12
|
+
import { r as InputBase, t as InputText } from "./InputText-OCbzlaaN.js";
|
|
13
|
+
import { o as Field, t as Select } from "./Select-BRK2a2V5.js";
|
|
14
|
+
import { A as uppercase, M as alphanumericInputs, P as makeMask, a as MaskedInput } from "./dropinUtils-DfyQ8xFE.js";
|
|
15
|
+
import { t as Link } from "./Link-DwPkGikd.js";
|
|
16
|
+
import { t as currencyByCountry } from "./types-DVMWWwBT.js";
|
|
17
17
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
19
19
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -38,14 +38,17 @@ var isDateOlderThanAYear = (dateString) => {
|
|
|
38
38
|
};
|
|
39
39
|
//#endregion
|
|
40
40
|
//#region src/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.ts
|
|
41
|
-
var mapFinancialInformationToFinancialReport = ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover }, dateOfIncorporation) => {
|
|
41
|
+
var mapFinancialInformationToFinancialReport = ({ currency, financialReportingDate, numberOfEmployees, balanceSheetTotal, annualTurnover, yearlyRevenue, totalDebt, cashPosition }, dateOfIncorporation) => {
|
|
42
42
|
if (dateOfIncorporation && !isDateOlderThanAYear(dateOfIncorporation)) return { employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees };
|
|
43
43
|
return {
|
|
44
44
|
currencyOfFinancialData: currency,
|
|
45
45
|
dateOfFinancialData: financialReportingDate === "" ? null : financialReportingDate,
|
|
46
46
|
employeeCount: typeof numberOfEmployees === "number" ? numberOfEmployees.toFixed(0) : numberOfEmployees,
|
|
47
47
|
balanceSheetTotal: balanceSheetTotal?.toFixed(2) ?? void 0,
|
|
48
|
-
annualTurnover: annualTurnover?.toFixed(2) ?? void 0
|
|
48
|
+
annualTurnover: annualTurnover?.toFixed(2) ?? void 0,
|
|
49
|
+
yearlyRevenue: yearlyRevenue?.toFixed(2) ?? void 0,
|
|
50
|
+
totalDebt: totalDebt?.toFixed(2) ?? void 0,
|
|
51
|
+
cashPosition: cashPosition?.toFixed(2) ?? void 0
|
|
49
52
|
};
|
|
50
53
|
};
|
|
51
54
|
//#endregion
|
|
@@ -69,6 +72,9 @@ var mapFinancialReportsToFinancialInformation = (financialReports, withReportedV
|
|
|
69
72
|
financialInfo.reportedValueOption = "annualTurnover";
|
|
70
73
|
financialInfo.annualTurnover = parseFloat(mostRecentReport.annualTurnover);
|
|
71
74
|
}
|
|
75
|
+
if (mostRecentReport.yearlyRevenue !== void 0) financialInfo.yearlyRevenue = parseFloat(mostRecentReport.yearlyRevenue);
|
|
76
|
+
if (mostRecentReport.totalDebt !== void 0) financialInfo.totalDebt = parseFloat(mostRecentReport.totalDebt);
|
|
77
|
+
if (mostRecentReport.cashPosition !== void 0) financialInfo.cashPosition = parseFloat(mostRecentReport.cashPosition);
|
|
72
78
|
return withReportedValueOption ? financialInfo : drop("reportedValueOption").from(financialInfo);
|
|
73
79
|
};
|
|
74
80
|
var legalEntityIdentifierFieldMetadata = {
|
|
@@ -1,22 +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] = "8fe632c4-f400-4f8f-80ef-23079bb3d4c3", e._sentryDebugIdIdentifier = "sentry-dbid-8fe632c4-f400-4f8f-80ef-23079bb3d4c3");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { j as Header } from "./resolveEnvironment-CpWP_8og.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
10
10
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { r as
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import { t as
|
|
11
|
+
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
12
|
+
import { i as useAnalyticsContext } from "./Modal-jjSjdW5W.js";
|
|
13
|
+
import { r as useToastContext } from "./useId-ChrmzN7R.js";
|
|
14
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-CiU2fnqv.js";
|
|
15
|
+
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-FHk416BA.js";
|
|
16
|
+
import { h as useUpdateLegalEntity } from "./StateField-CRLgYS1X.js";
|
|
17
|
+
import { R as useMultiForm, v as createFormUtils } from "./dropinUtils-DfyQ8xFE.js";
|
|
18
|
+
import { t as useNavigate } from "./useNavigate-xbrKpFCu.js";
|
|
19
|
+
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-5W0oQVYG.js";
|
|
20
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-Brv74FDb.js";
|
|
21
|
+
import { t as ErrorPanel } from "./ErrorPanel-BLvDkiVa.js";
|
|
20
22
|
import { t as Spacer } from "./Spacer-CEHRO4Ml.js";
|
|
21
23
|
import { useCallback, useMemo } from "preact/hooks";
|
|
22
24
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -55,6 +57,7 @@ var CustomerSupport = (props) => {
|
|
|
55
57
|
});
|
|
56
58
|
};
|
|
57
59
|
function CustomerSupportInner({ country, onSubmit, legalEntity }) {
|
|
60
|
+
const navigate = useNavigate();
|
|
58
61
|
const capabilityProblems = useCapabilityProblems();
|
|
59
62
|
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, "LegalEntity", legalEntity.id) : void 0;
|
|
60
63
|
const { t } = useTranslation("common");
|
|
@@ -107,6 +110,9 @@ function CustomerSupportInner({ country, onSubmit, legalEntity }) {
|
|
|
107
110
|
}
|
|
108
111
|
};
|
|
109
112
|
const handleFieldChange = (fieldName, mode) => handleChangeFor("customerSupport", fieldName, mode);
|
|
113
|
+
const handleCancel = () => {
|
|
114
|
+
navigate.to(TaskTypes.TASKS_OVERVIEW);
|
|
115
|
+
};
|
|
110
116
|
return /* @__PURE__ */ jsxs("form", {
|
|
111
117
|
"aria-describedby": "ariaErrorField",
|
|
112
118
|
children: [
|
|
@@ -129,10 +135,17 @@ function CustomerSupportInner({ country, onSubmit, legalEntity }) {
|
|
|
129
135
|
}),
|
|
130
136
|
/* @__PURE__ */ jsxs("div", {
|
|
131
137
|
class: "u-display-flex u-margin-top-48",
|
|
132
|
-
children: [
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
138
|
+
children: [
|
|
139
|
+
/* @__PURE__ */ jsx(Button, {
|
|
140
|
+
onClick: handleCancel,
|
|
141
|
+
children: t(($) => $["cancel"])
|
|
142
|
+
}),
|
|
143
|
+
/* @__PURE__ */ jsx(Spacer, {}),
|
|
144
|
+
/* @__PURE__ */ jsx(Button, {
|
|
145
|
+
onClick: submitForm,
|
|
146
|
+
children: t(($) => $["submit"])
|
|
147
|
+
})
|
|
148
|
+
]
|
|
136
149
|
})
|
|
137
150
|
]
|
|
138
151
|
});
|
|
@@ -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] = "2447961d-6711-42da-a725-62de68dd2d7c", e._sentryDebugIdIdentifier = "sentry-dbid-2447961d-6711-42da-a725-62de68dd2d7c");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { r as InputBase } from "./InputText-
|
|
7
|
-
import {
|
|
6
|
+
import { r as InputBase } from "./InputText-OCbzlaaN.js";
|
|
7
|
+
import { o as Field } from "./Select-BRK2a2V5.js";
|
|
8
8
|
import { t as checkDateInputSupport } from "./InputDate.utils-D4Ov0KIl.js";
|
|
9
9
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
10
|
-
import { t as getValidationError } from "./getValidationError-
|
|
10
|
+
import { t as getValidationError } from "./getValidationError-B4YX_EgR.js";
|
|
11
11
|
import { t as isNotEmpty } from "./sharedValidators-DODW7kuK.js";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|