@adyen/kyc-components 4.26.0 → 4.27.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-CBSueOOP.js → AcceptTermsOfServiceWorkflow-CLxIT19W.js} +4 -4
- package/dist/{Accordion-BAdwrgCR.js → Accordion-CTQfC17W.js} +1 -1
- package/dist/{AccountSetupRejected-CDm8QalJ.js → AccountSetupRejected-Cuu1cHgb.js} +2 -2
- package/dist/{AdaptiveWorkflow-foHLHsbM.js → AdaptiveWorkflow-Du4hN8Ry.js} +22 -22
- package/dist/{AdaptiveWorkflowComponent-B8rbDAPW.js → AdaptiveWorkflowComponent-CoOpFWm7.js} +5 -5
- package/dist/{AddressFields-Bvp46aUT.js → AddressFields-Dzoa4PU5.js} +33 -72
- package/dist/{Avatar-C2zeqSSB.js → Avatar-yJfk9A6l.js} +1 -1
- package/dist/{BusinessFinancingDropin-BSLyffh0.js → BusinessFinancingDropin-DP6b5D85.js} +123 -55
- package/dist/{BusinessFinancingPage-D6gMziy2.js → BusinessFinancingPage-BIGEXFdp.js} +6 -6
- package/dist/{BusinessRegistrationNumberField-C53lsFml.js → BusinessRegistrationNumberField-B2n9ugLK.js} +6 -6
- package/dist/{BusinessRegistrationNumberFieldGroup-CneaE9tx.js → BusinessRegistrationNumberFieldGroup-BvKp9WMt.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-Dy0711dl.js → BusinessTypeSelectionPage-xRXq2lGM.js} +13 -13
- package/dist/{Button-Dwr6jvJZ.js → Button-BYafPrZH.js} +1 -1
- package/dist/{Checkbox-BQIr-4_9.js → Checkbox-qFA2J_1r.js} +8 -8
- package/dist/{ComponentGroup-4nWlAgLE.js → ComponentGroup-CyykPP2r.js} +3 -3
- package/dist/{ConstitutionalDocument-RK9aBLna.js → ConstitutionalDocument-DzLLKoWV.js} +19 -26
- package/dist/{ContactDetails-DiNSGqCa.js → ContactDetails-CcWafw_y.js} +5 -5
- package/dist/{ContextGuidance-qwuLBa1O.js → ContextGuidance-gAsOnDqD.js} +3 -3
- package/dist/{CountryField-vJCcPR1M.js → CountryField-Dxuy2L9C.js} +4 -4
- package/dist/{Currency-CE-ywuDo.js → Currency-CAEcQwe6.js} +16 -10
- package/dist/{CustomerSupport-CcurAHew.js → CustomerSupport-C1nrEyEr.js} +29 -16
- package/dist/{DateField-O2Vtrn7y.js → DateField-D8GSp5fV.js} +4 -4
- package/dist/{DebugModal-CZ8JW9pA.js → DebugModal-Bwhnd1v5.js} +10 -10
- package/dist/{DecisionMakerDetails-DC2Ej2ns.js → DecisionMakerDetails-DHsxYfa3.js} +79 -174
- package/dist/{DecisionMakerDetailsPage-Dy3bSLxg.js → DecisionMakerDetailsPage-DoisZYll.js} +9 -9
- package/dist/{DecisionMakers-CzV7Whwu.js → DecisionMakers-BD5J47Zs.js} +17 -18
- package/dist/{Dropzone-Dh1tAtrG.js → Dropzone-CTz4GiZE.js} +7 -7
- package/dist/{EmailField-BVVBcDtc.js → EmailField-DoEYalIM.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-Cfw9pWHA.js → EntityAssociation-aB7bppFQ.js} +6 -6
- package/dist/{ErrorPanel-BlLWphde.js → ErrorPanel-CuoQueZk.js} +10 -17
- package/dist/{GlobalEntryModal-DE543xEp.js → GlobalEntryModal-ZuajLl8B.js} +439 -298
- package/dist/{GlobalEntryPage-9U3nCl7d.js → GlobalEntryPage-WrN5mVJe.js} +7 -8
- package/dist/{Icon-_YUEZg1p.js → Icon-jVvV1zXc.js} +1 -1
- package/dist/{IdentityNumber-9bSJ9MaL.js → IdentityNumber-IDvVA7_z.js} +5 -5
- package/dist/{IdentityNumberFieldGroup-CJ-4hw-M.js → IdentityNumberFieldGroup-CW8lJ6_d.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bha_FYLN.js → IdentityScreeningWorkflow-TfHCTDlp.js} +12 -13
- package/dist/{IndividualDropin-QrtK-WO2.js → IndividualDropin-MpaDWh9N.js} +147 -223
- package/dist/{IndustryCodeFieldGroup-uUq6Wlye.js → IndustryCodeFieldGroup-DsJF3GOE.js} +5 -5
- package/dist/{InputDate-DeCynmMZ.js → InputDate-Bmx3_p-j.js} +8 -4
- package/dist/{InputText-CimBq-8I.js → InputText-CGngUMdf.js} +2 -2
- package/dist/{Introduction-CB1vutfx.js → Introduction-Dt8pjcxt.js} +6 -6
- package/dist/{InvitedDecisionMakerComponent-C_692Uhy.js → InvitedDecisionMakerComponent-1oXTODfv.js} +13 -14
- package/dist/{JpAddressFields-CVKfCLia.js → JpAddressFields-DhzFwu0N.js} +9 -10
- package/dist/{LegalCompanyNameField-C6W0bxo-.js → LegalCompanyNameField-BsY3tJfX.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BH_ZofFb.js → LegalRepresentativeDetailsPage-C50GRV2l.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-DyKW1wuk.js → Modal-ChWNV9yG.js} +3 -3
- package/dist/{Name-DMfnyTY6.js → Name-C8hhvQlN.js} +4 -4
- package/dist/{NumberField-BsTw6i4a.js → NumberField-C7vHy7Yz.js} +4 -4
- package/dist/{PatriotActDisclosure-CZgaYJOE.js → PatriotActDisclosure-CAvpE8su.js} +10 -10
- package/dist/{PayoutDetailsDropin-4l6--jF2.js → PayoutDetailsDropin-ILM3oK4r.js} +41 -43
- package/dist/{PayoutDetailsPage-DHLrUoda.js → PayoutDetailsPage-DfZYYplh.js} +5 -5
- package/dist/{Review-DfUNBq2-.js → Review-D_I4FUVw.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DGGRmDJr.js → RootBusinessDetailsPage-CoOUMflT.js} +4 -4
- package/dist/{RootBusinessLinesPage-0X_Pg8ZU.js → RootBusinessLinesPage-DYz9wrU_.js} +22 -23
- package/dist/{RootIndividualDetailsPage-C3g8yQkw.js → RootIndividualDetailsPage-C42YybJq.js} +6 -6
- package/dist/{Select-b8cQ38Yi.js → Select-BMGxcmZy.js} +92 -92
- package/dist/{SignPCIComponent-Cx7hmS8Z.js → SignPCIComponent-B4RkNT1l.js} +14 -14
- package/dist/{SingpassSelection-tt8yuzxX.js → SingpassSelection-Usq1Kdpp.js} +5 -5
- package/dist/{SoleProprietorshipPage-Z9PTJTCi.js → SoleProprietorshipPage-tEf2zwhT.js} +4 -4
- package/dist/{SourceOfFundsPage-DHsqkOJp.js → SourceOfFundsPage-BXG5weCA.js} +24 -24
- package/dist/{SourceOfFundsWorkflow-6rO4Wt3d.js → SourceOfFundsWorkflow-BWWLrVaR.js} +4 -4
- package/dist/StateField-TYw5No81.js +364 -0
- package/dist/{Step-CgpBaVfH.js → Step-D8w1jd5O.js} +5 -5
- package/dist/Summary-BwvaKucT.js +21 -0
- package/dist/{SummarySection-Dtx_G11I.js → SummarySection-5L--khYg.js} +5 -19
- package/dist/{Task-BsE88vzp.js → Task-dSDYu-xr.js} +7 -7
- package/dist/{TaskGroup-C7G7V91U.js → TaskGroup-298zewpP.js} +3 -3
- package/dist/{TaskListItem-CWu40zb6.js → TaskListItem-jRIQ_fJt.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-B_uFZqqw.js → TaxInformationFieldGroup-BkyZwtUe.js} +7 -7
- package/dist/{TaxReportingDropin-CJ3NB9BQ.js → TaxReportingDropin-BVohPujf.js} +13 -15
- package/dist/{TaxReportingWorkflow-B43zKtsp.js → TaxReportingWorkflow-BdVibdaP.js} +4 -4
- package/dist/{TermsOfServiceManagement-B64PXaru.js → TermsOfServiceManagement-Bh0BJ4wb.js} +46 -43
- package/dist/{TextArea-sSSxe4Li.js → TextArea-BaoeEZvH.js} +4 -4
- package/dist/{TextField-Dhohtwdr.js → TextField-BWevK7LS.js} +5 -5
- package/dist/{TrustDetailsPage-BUYCMRkb.js → TrustDetailsPage-B5x1-NPO.js} +61 -54
- package/dist/{TrustMemberCompanyPage-DIBfqWyQ.js → TrustMemberCompanyPage-Ck2UKJma.js} +5 -5
- package/dist/{TrustMemberIndividualPage-v-Yzq_IP.js → TrustMemberIndividualPage-CTUh7yn9.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-VVMP9pyy.js → TrustMemberRoleAndTypePage-D5_AZAMj.js} +43 -36
- package/dist/{TrustMembersOverview-CpYhIhrk.js → TrustMembersOverview-Dbt3KQhv.js} +13 -13
- package/dist/{UboTaskItem-CR4jrdN5.js → UboTaskItem-CV0B4ONJ.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-1hKd_Css.js → UnincorporatedPartnershipIndividualPage-g9PpNHfH.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CQ_jQfvD.js → UnincorporatedPartnershipMemberCompanyPage-Chd2k8jM.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-yyfNjmYl.js → UnincorporatedPartnershipMemberRoleAndTypePage-C7AvOkFK.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BOlWKeWw.js → UnincorporatedPartnershipMembersOverview-m3TgX08K.js} +6 -6
- package/dist/{VerificationErrorAlert-BrR02W5c.js → VerificationErrorAlert-yOZ8yz_8.js} +3 -3
- package/dist/{WebsiteField-BxJd5tYn.js → WebsiteField-Cn_VPhTx.js} +5 -5
- package/dist/{Workflow-lip-FQM9.js → Workflow-BUgUDsPv.js} +6 -6
- package/dist/{accountHolderUtils-DKRzOKWL.js → accountHolderUtils-DhbLva46.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-DvMDkIIg.js → bafinUtils-4C7AJpnd.js} +519 -531
- package/dist/{constants-D0Os_pjB.js → constants-dKwpavyU.js} +6 -6
- package/dist/{dropinUtils-COH_5oC3.js → dropinUtils-D7sD4BX1.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-CljcfMBy.js → error-vhREufv_.js} +2 -2
- package/dist/formatDataForSummary-CNiewg8c.js +498 -0
- package/dist/{formatValidationError-DAnv_psF.js → formatValidationError-BO9k5bVJ.js} +2 -2
- package/dist/{getDefaultRegistrationNumberType-V2vtKe2c.js → getDefaultRegistrationNumberType-BWN86JDR.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-BpqwVNUc.js → getValidationError--VxsluPA.js} +2 -2
- package/dist/{legalArrangementUtils-Crgt_L7h.js → legalArrangementUtils-CHlmmcB8.js} +11 -2
- package/dist/{mapAddressLocalizationToJpAddressSchema-BBdzPvJl.js → mapAddressLocalizationToJpAddressSchema-Di3_rcrj.js} +2 -2
- package/dist/{mapExistingFile-BXfeQxev.js → mapExistingFile-CqbTLZ6i.js} +1 -1
- package/dist/mapJpAddressSchemaToAddressLocalizations-TLZ9foPF.js +19 -0
- package/dist/{mapTransferInstrumentToPayoutAccount-D64cPTBm.js → mapTransferInstrumentToPayoutAccount-BLq2P8NF.js} +2 -2
- package/dist/{processCapabilities-FL4-KAbd.js → processCapabilities-B75YIdXZ.js} +11 -4
- package/dist/{processValidationErrors-DbnkpAs6.js → processValidationErrors-DKn7wWTY.js} +4 -4
- package/dist/{resolveEnvironment-NlZWcle4.js → resolveEnvironment-CrNBwIpQ.js} +53 -16
- package/dist/roleMetadata-CmxqSnzp.js +57 -0
- package/dist/style.css +166 -230
- package/dist/styles-DYaAeu4q.js +166 -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/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-CRMDL7v8.js → unincorporatedPartnership-Dr3lPgDv.js} +38 -4
- package/dist/{useBusinessDetailsData-CcxnigRY.js → useBusinessDetailsData-DrN9ZzIG.js} +100 -90
- package/dist/{useCanSeeIntroduction-COjEJwSQ.js → useCanSeeIntroduction-BDarBkmx.js} +2 -2
- package/dist/useCreateLegalEntity-CgzVD39K.js +24 -0
- package/dist/{useDataMissingRemediations-DKjYzfe2.js → useDataMissingRemediations-BfC7ECSn.js} +1 -1
- package/dist/{useForm-B-WTDdmc.js → useForm-Cibudto5.js} +3 -3
- package/dist/{useHideTaskStepper-BgCN--mG.js → useHideTaskStepper-Betx9MGy.js} +1 -1
- package/dist/{useId-DHoBdW3X.js → useId-e2xn6OME.js} +2 -2
- package/dist/{useNavigate-CQxBS2lg.js → useNavigate-DxEfo192.js} +33 -33
- package/dist/{useSalesChannels-y8Arf4LC.js → useSalesChannels-C09EqYFN.js} +1 -1
- package/dist/{useTaskLandedEvent-B4E45deF.js → useTaskLandedEvent-C-kML6lH.js} +1 -1
- package/dist/{useTrustMembers-BN5zllxF.js → useTrustMembers-CZ28rgNA.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DcfQJdVZ.js → useUnincorporatedPartnershipMembers-e3nDscEc.js} +2 -2
- package/dist/{utils-CHeUbOCF.js → utils-C3-aLHsN.js} +3 -3
- package/dist/{utils-Cfwr1ukp.js → utils-C_z60qSD.js} +4 -5
- package/dist/{utils-BFxg3gPM.js → utils-ChZNfG5_.js} +1 -1
- package/dist/utils-gszwUnoh.js +49 -0
- package/dist/{validate-DTxPR5js.js → validate-BDG97Hw4.js} +4 -4
- package/dist/{validate-DxdZ3j2v.js → validate-C1VibHZH.js} +26 -2
- package/dist/{validate-cWwt79cT.js → validate-Dve-kxSi.js} +11 -5
- package/dist/{validate-BbY2FS3b.js → validate-bah41KLb.js} +20 -9
- 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-fSYeyb3x.js +0 -296
- package/dist/en-US-U0d3NI20.js +0 -7
- package/dist/mapJpAddressSchemaToAddressLocalizations-D5Z5Swb4.js +0 -75
- package/dist/mapLegalEntityToIndividualSchema-DhZ0rxIP.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
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
try {
|
|
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] = "3af506d3-81b5-4610-8370-6653cf56c89b", e._sentryDebugIdIdentifier = "sentry-dbid-3af506d3-81b5-4610-8370-6653cf56c89b");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { E as datasetIdentifier, T as useDataset } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
|
+
import { r as httpPost, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
|
+
import { s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
9
|
+
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
|
+
import { n as useInvalidateRootLegalEntity } from "./useId-e2xn6OME.js";
|
|
11
|
+
import { o as Field, t as Select } from "./Select-BMGxcmZy.js";
|
|
12
|
+
import { O as validateNotEmptyOnBlur } from "./dropinUtils-D7sD4BX1.js";
|
|
13
|
+
import { jsx } from "preact/jsx-runtime";
|
|
14
|
+
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
15
|
+
//#region src/api/legalEntity/useUpdateLegalEntity.ts
|
|
16
|
+
var updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
17
|
+
return httpPost({
|
|
18
|
+
baseUrl,
|
|
19
|
+
path: `legalEntities/${rootLegalEntityId}`
|
|
20
|
+
}, data);
|
|
21
|
+
};
|
|
22
|
+
var useUpdateLegalEntity = (options) => {
|
|
23
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
24
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
25
|
+
const queryClient = useQueryClient();
|
|
26
|
+
return useMutation({
|
|
27
|
+
mutationFn: (payload) => updateLegalEntity(rootLegalEntityId.value, baseUrl.value, payload),
|
|
28
|
+
onSuccess: async (response, payload) => {
|
|
29
|
+
if (response.id === rootLegalEntityId.value) await invalidateRootLegalEntity();
|
|
30
|
+
else queryClient.setQueryData(["legalEntity", payload.id], response);
|
|
31
|
+
},
|
|
32
|
+
...options
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/utils/isEmpty.ts
|
|
37
|
+
var isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
38
|
+
if (obj === null || obj === void 0) return true;
|
|
39
|
+
if (Array.isArray(obj)) return obj.length === 0;
|
|
40
|
+
if (typeof obj !== "object") return false;
|
|
41
|
+
return keysOf(obj).every((key) => !Object.hasOwn(obj, key) || ignoreEmptyProperties && isEmpty(obj[key], true));
|
|
42
|
+
};
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/utils/japanSupportUtils.ts
|
|
45
|
+
var isJapanLocalizationEnabled = (isSettingEnabled = () => false, country) => {
|
|
46
|
+
return country === CountryCodes.Japan && isSettingEnabled("enableJapanLocalization");
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
//#region src/components/Shared/forms/Address/constants.ts
|
|
50
|
+
/** Just a full list of known address field names, useful if you need to iterate over some unknown data obj */
|
|
51
|
+
var addressFields = [
|
|
52
|
+
"street",
|
|
53
|
+
"street2",
|
|
54
|
+
"dependentLocality",
|
|
55
|
+
"postalCode",
|
|
56
|
+
"city",
|
|
57
|
+
"stateOrProvince",
|
|
58
|
+
"country",
|
|
59
|
+
"street2FullWidth",
|
|
60
|
+
"jaHaniStateOrProvince",
|
|
61
|
+
"jaHaniCity",
|
|
62
|
+
"jaHaniStreet",
|
|
63
|
+
"jaKanaStateOrProvince",
|
|
64
|
+
"jaKanaCity"
|
|
65
|
+
];
|
|
66
|
+
var COUNTRIES_WITH_STATES_DATASET = [
|
|
67
|
+
CountryCodes.Australia,
|
|
68
|
+
CountryCodes.Brazil,
|
|
69
|
+
CountryCodes.Canada,
|
|
70
|
+
CountryCodes.NewZealand,
|
|
71
|
+
CountryCodes.UnitedStates,
|
|
72
|
+
CountryCodes.Japan,
|
|
73
|
+
CountryCodes.Mexico
|
|
74
|
+
];
|
|
75
|
+
var COUNTRIES_WITH_HOUSE_NUMBER_FIRST = [
|
|
76
|
+
CountryCodes.Australia,
|
|
77
|
+
CountryCodes.Canada,
|
|
78
|
+
CountryCodes.NewZealand,
|
|
79
|
+
CountryCodes.PuertoRico,
|
|
80
|
+
CountryCodes.UnitedStates,
|
|
81
|
+
CountryCodes.UnitedKingdom,
|
|
82
|
+
CountryCodes.France
|
|
83
|
+
];
|
|
84
|
+
var ADDRESS_SCHEMAS = {
|
|
85
|
+
[CountryCodes.Australia]: [
|
|
86
|
+
"country",
|
|
87
|
+
"street",
|
|
88
|
+
"street2",
|
|
89
|
+
"city",
|
|
90
|
+
"stateOrProvince",
|
|
91
|
+
"postalCode"
|
|
92
|
+
],
|
|
93
|
+
[CountryCodes.Brazil]: [
|
|
94
|
+
"country",
|
|
95
|
+
"street",
|
|
96
|
+
"street2",
|
|
97
|
+
"city",
|
|
98
|
+
"postalCode",
|
|
99
|
+
"stateOrProvince"
|
|
100
|
+
],
|
|
101
|
+
[CountryCodes.Canada]: [
|
|
102
|
+
"country",
|
|
103
|
+
"street",
|
|
104
|
+
"street2",
|
|
105
|
+
"city",
|
|
106
|
+
"postalCode",
|
|
107
|
+
"stateOrProvince"
|
|
108
|
+
],
|
|
109
|
+
[CountryCodes.UnitedKingdom]: [
|
|
110
|
+
"country",
|
|
111
|
+
"street",
|
|
112
|
+
"street2",
|
|
113
|
+
"city",
|
|
114
|
+
"postalCode"
|
|
115
|
+
],
|
|
116
|
+
[CountryCodes.UnitedStates]: [
|
|
117
|
+
"country",
|
|
118
|
+
"street",
|
|
119
|
+
"street2",
|
|
120
|
+
"city",
|
|
121
|
+
"stateOrProvince",
|
|
122
|
+
"postalCode"
|
|
123
|
+
],
|
|
124
|
+
[CountryCodes.PuertoRico]: [
|
|
125
|
+
"country",
|
|
126
|
+
"street",
|
|
127
|
+
"street2",
|
|
128
|
+
"city",
|
|
129
|
+
"postalCode"
|
|
130
|
+
],
|
|
131
|
+
[CountryCodes.HongKong]: [
|
|
132
|
+
"country",
|
|
133
|
+
"street",
|
|
134
|
+
"street2",
|
|
135
|
+
"city"
|
|
136
|
+
],
|
|
137
|
+
[CountryCodes.NewZealand]: [
|
|
138
|
+
"country",
|
|
139
|
+
"street",
|
|
140
|
+
"street2",
|
|
141
|
+
"postalCode",
|
|
142
|
+
"city",
|
|
143
|
+
"stateOrProvince"
|
|
144
|
+
],
|
|
145
|
+
[CountryCodes.UnitedArabEmirates]: [
|
|
146
|
+
"country",
|
|
147
|
+
"street",
|
|
148
|
+
"street2",
|
|
149
|
+
"city"
|
|
150
|
+
],
|
|
151
|
+
[CountryCodes.Japan]: [
|
|
152
|
+
"country",
|
|
153
|
+
"postalCode",
|
|
154
|
+
"street",
|
|
155
|
+
"street2",
|
|
156
|
+
"street2FullWidth",
|
|
157
|
+
"jaHaniStateOrProvince",
|
|
158
|
+
"jaHaniCity",
|
|
159
|
+
"jaHaniStreet",
|
|
160
|
+
"jaKanaStateOrProvince",
|
|
161
|
+
"jaKanaCity",
|
|
162
|
+
"stateOrProvince",
|
|
163
|
+
"city"
|
|
164
|
+
],
|
|
165
|
+
[CountryCodes.Mexico]: [
|
|
166
|
+
"country",
|
|
167
|
+
"street",
|
|
168
|
+
"street2",
|
|
169
|
+
"dependentLocality",
|
|
170
|
+
"postalCode",
|
|
171
|
+
"stateOrProvince",
|
|
172
|
+
"city"
|
|
173
|
+
],
|
|
174
|
+
default: [
|
|
175
|
+
"country",
|
|
176
|
+
"street",
|
|
177
|
+
"street2",
|
|
178
|
+
"postalCode",
|
|
179
|
+
"city"
|
|
180
|
+
]
|
|
181
|
+
};
|
|
182
|
+
var CONDENSED_ADDRESS_FIELDS = {
|
|
183
|
+
[CountryCodes.Netherlands]: ["postalCode", "city"],
|
|
184
|
+
[CountryCodes.UnitedStates]: [
|
|
185
|
+
"city",
|
|
186
|
+
"stateOrProvince",
|
|
187
|
+
"postalCode"
|
|
188
|
+
],
|
|
189
|
+
[CountryCodes.Mexico]: ["city", "stateOrProvince"]
|
|
190
|
+
};
|
|
191
|
+
var COUNTRIES_WITH_FORMATTED_ADDRESSES = Object.keys(CONDENSED_ADDRESS_FIELDS);
|
|
192
|
+
var LABELS = {
|
|
193
|
+
city: {
|
|
194
|
+
default: "city",
|
|
195
|
+
[CountryCodes.UnitedKingdom]: "cityTown",
|
|
196
|
+
[CountryCodes.Mexico]: "cityOrMunicipality"
|
|
197
|
+
},
|
|
198
|
+
country: { default: "country" },
|
|
199
|
+
street2: {
|
|
200
|
+
default: "otherAddressInformation",
|
|
201
|
+
[CountryCodes.Canada]: "apartmentSuiteOther",
|
|
202
|
+
[CountryCodes.PuertoRico]: "apartmentSuiteOther",
|
|
203
|
+
[CountryCodes.UnitedStates]: "apartmentSuiteOther",
|
|
204
|
+
[CountryCodes.Mexico]: "apartmentSuiteOther"
|
|
205
|
+
},
|
|
206
|
+
postalCode: {
|
|
207
|
+
default: "postalCode",
|
|
208
|
+
[CountryCodes.PuertoRico]: "zipCode",
|
|
209
|
+
[CountryCodes.UnitedStates]: "zipCode"
|
|
210
|
+
},
|
|
211
|
+
stateOrProvince: {
|
|
212
|
+
default: "stateOrProvince",
|
|
213
|
+
[CountryCodes.Australia]: "state",
|
|
214
|
+
[CountryCodes.Brazil]: "state",
|
|
215
|
+
[CountryCodes.Canada]: "provinceOrTerritory",
|
|
216
|
+
[CountryCodes.NewZealand]: "region",
|
|
217
|
+
[CountryCodes.UnitedStates]: "state",
|
|
218
|
+
[CountryCodes.Mexico]: "state"
|
|
219
|
+
},
|
|
220
|
+
street: {
|
|
221
|
+
default: "address",
|
|
222
|
+
[CountryCodes.Mexico]: "streetAndHouseNumber"
|
|
223
|
+
},
|
|
224
|
+
dependentLocality: {
|
|
225
|
+
default: "neighborhood",
|
|
226
|
+
[CountryCodes.Mexico]: "colonia"
|
|
227
|
+
}
|
|
228
|
+
};
|
|
229
|
+
//#endregion
|
|
230
|
+
//#region src/components/Shared/forms/Address/localized/jp/mapJpAddressSummary.tsx
|
|
231
|
+
/**
|
|
232
|
+
* Stacks the scripts a field was given in, skipping the ones it was not. Returns nothing when the
|
|
233
|
+
* field is empty in every script, so the caller can leave the row out rather than render a label
|
|
234
|
+
* with nothing beside it.
|
|
235
|
+
*/
|
|
236
|
+
var mapScriptsToDetails = (...values) => {
|
|
237
|
+
const scripts = values.filter((value) => !isEmpty(value));
|
|
238
|
+
if (!scripts.length) return void 0;
|
|
239
|
+
return /* @__PURE__ */ jsx("div", { children: scripts.map((script) => /* @__PURE__ */ jsx("p", { children: script }, script)) });
|
|
240
|
+
};
|
|
241
|
+
var mapJpAddressSummary = (data, datasetUtils) => {
|
|
242
|
+
if (!data) return {};
|
|
243
|
+
return {
|
|
244
|
+
country: datasetUtils.getCountryName("JP") ?? "JP",
|
|
245
|
+
postalCode: data.postalCode,
|
|
246
|
+
prefecture: mapScriptsToDetails(data.jaHaniStateOrProvince, data.jaKanaStateOrProvince, data.stateOrProvince),
|
|
247
|
+
districtTownAreaCityWard: mapScriptsToDetails(data.jaHaniCity, data.jaKanaCity, data.city),
|
|
248
|
+
chomeAndBanchi: data.street2,
|
|
249
|
+
buildingNameFloorRoomNumberEtc: mapScriptsToDetails(data.jaHaniStreet, data.street)
|
|
250
|
+
};
|
|
251
|
+
};
|
|
252
|
+
//#endregion
|
|
253
|
+
//#region src/components/Shared/forms/Address/rules.ts
|
|
254
|
+
/**
|
|
255
|
+
* Handling for fields with version/feature-specific requirements that need to be removed
|
|
256
|
+
* even if in the schema for a particular country.
|
|
257
|
+
*/
|
|
258
|
+
function shouldRemoveField(field, country, isSettingEnabled, version) {
|
|
259
|
+
switch (field) {
|
|
260
|
+
case "dependentLocality":
|
|
261
|
+
if (version && version < 4) return true;
|
|
262
|
+
break;
|
|
263
|
+
case "street2FullWidth":
|
|
264
|
+
case "jaHaniStateOrProvince":
|
|
265
|
+
case "jaHaniCity":
|
|
266
|
+
case "jaHaniStreet":
|
|
267
|
+
case "jaKanaStateOrProvince":
|
|
268
|
+
case "jaKanaCity": if (!isJapanLocalizationEnabled(isSettingEnabled, country)) return true;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
/**
|
|
272
|
+
* Uses the address schema to build a list of required, optional, and unused fields.
|
|
273
|
+
*/
|
|
274
|
+
function addressFieldRule(field, country, isSettingEnabled, version, isOperational = false, operationalAddressIsSame = false) {
|
|
275
|
+
if (isOperational && operationalAddressIsSame) return void 0;
|
|
276
|
+
if (field === "country") return "REQUIRED";
|
|
277
|
+
if (shouldRemoveField(field, country, isSettingEnabled, version)) return void 0;
|
|
278
|
+
if (!getAddressSchemaForCountry(country).includes(field)) return void 0;
|
|
279
|
+
/** Atypical, country-specific overrides */
|
|
280
|
+
switch (country) {
|
|
281
|
+
case CountryCodes.Japan:
|
|
282
|
+
if (!isJapanLocalizationEnabled(isSettingEnabled, country)) break;
|
|
283
|
+
if (field === "street" || field === "jaHaniStreet") return "OPTIONAL";
|
|
284
|
+
if (field === "street2") return "REQUIRED";
|
|
285
|
+
}
|
|
286
|
+
if (field === "street2") return "OPTIONAL";
|
|
287
|
+
return "REQUIRED";
|
|
288
|
+
}
|
|
289
|
+
//#endregion
|
|
290
|
+
//#region src/components/Shared/forms/Address/utils.ts
|
|
291
|
+
/**
|
|
292
|
+
* Returns the key for a field of the passed country or the default key for that field.
|
|
293
|
+
* @param fieldName - The data to pre-fill the address fields
|
|
294
|
+
* @param country - The selected country
|
|
295
|
+
*/
|
|
296
|
+
var getKeyForField = (fieldName, country) => country ? LABELS[fieldName][country] || LABELS[fieldName].default : LABELS[fieldName].default;
|
|
297
|
+
/**
|
|
298
|
+
* Returns the address schema of the selected country or the default address schema.
|
|
299
|
+
* @param country - The selected country
|
|
300
|
+
*/
|
|
301
|
+
var getAddressSchemaForCountry = (country) => country && ADDRESS_SCHEMAS[country] ? ADDRESS_SCHEMAS[country] : ADDRESS_SCHEMAS.default;
|
|
302
|
+
var mapAddressLabels = (data, datasetUtils, isSettingEnabled) => {
|
|
303
|
+
if (!data?.country) return {};
|
|
304
|
+
if (isJapanLocalizationEnabled(isSettingEnabled, data.country)) return mapJpAddressSummary(data, datasetUtils);
|
|
305
|
+
const addressSchema = getAddressSchemaForCountry(data.country).filter((field) => !shouldRemoveField(field, data.country, isSettingEnabled));
|
|
306
|
+
const mappedSummary = {};
|
|
307
|
+
for (const field of addressSchema) {
|
|
308
|
+
const labelKey = getKeyForField(field, data.country);
|
|
309
|
+
const value = data?.[field];
|
|
310
|
+
if (field === "country") {
|
|
311
|
+
mappedSummary[labelKey] = datasetUtils.getCountryName(value) ?? value;
|
|
312
|
+
continue;
|
|
313
|
+
}
|
|
314
|
+
if (field === "stateOrProvince") {
|
|
315
|
+
mappedSummary[labelKey] = datasetUtils.getStateName(value, data.country) ?? value;
|
|
316
|
+
continue;
|
|
317
|
+
}
|
|
318
|
+
mappedSummary[labelKey] = value;
|
|
319
|
+
}
|
|
320
|
+
return mappedSummary;
|
|
321
|
+
};
|
|
322
|
+
//#endregion
|
|
323
|
+
//#region src/components/Shared/fields/StateField/fieldConfig.ts
|
|
324
|
+
var stateFieldMetadata = { validators: validateNotEmptyOnBlur };
|
|
325
|
+
/**
|
|
326
|
+
* Returns the placeholder text for state field based on country.
|
|
327
|
+
*/
|
|
328
|
+
var getStatePlaceholderText = (t, { country }) => {
|
|
329
|
+
switch (country) {
|
|
330
|
+
case CountryCodes.Australia:
|
|
331
|
+
case CountryCodes.Brazil: return t(($) => $["selectState"]);
|
|
332
|
+
case CountryCodes.Canada: return t(($) => $["selectProvinceOrTerritory"]);
|
|
333
|
+
case CountryCodes.UnitedStates: return t(($) => $[`selectAState`]);
|
|
334
|
+
default: return t(($) => $["stateOrProvince__placeHolder"]);
|
|
335
|
+
}
|
|
336
|
+
};
|
|
337
|
+
//#endregion
|
|
338
|
+
//#region src/components/Shared/fields/StateField/StateField.tsx
|
|
339
|
+
var STATE_FIELD = ["stateOrProvince"];
|
|
340
|
+
function StateField({ data, valid, errors, readonly, handleChangeFor, selectedCountry, handleBlur, labelOverride }) {
|
|
341
|
+
const { t } = useTranslation("common");
|
|
342
|
+
const { dataset: states, loaded } = useDataset(datasetIdentifier.state(selectedCountry), !selectedCountry || !COUNTRIES_WITH_STATES_DATASET.includes(selectedCountry));
|
|
343
|
+
const labelKey = getKeyForField("stateOrProvince", selectedCountry);
|
|
344
|
+
if (!loaded || !states.length) return null;
|
|
345
|
+
return /* @__PURE__ */ jsx(Field, {
|
|
346
|
+
name: "stateOrProvince",
|
|
347
|
+
label: labelOverride ?? t(($) => $[labelKey]),
|
|
348
|
+
errorMessage: errors.stateOrProvince,
|
|
349
|
+
isValid: valid.stateOrProvince,
|
|
350
|
+
dataTestId: "stateOrProvince",
|
|
351
|
+
children: (childProps) => /* @__PURE__ */ jsx(Select, {
|
|
352
|
+
...childProps,
|
|
353
|
+
name: "stateOrProvince",
|
|
354
|
+
selected: data.stateOrProvince,
|
|
355
|
+
placeholder: getStatePlaceholderText(t, { country: selectedCountry }),
|
|
356
|
+
items: states,
|
|
357
|
+
readonly: readonly && !!data.stateOrProvince,
|
|
358
|
+
onChange: handleChangeFor("stateOrProvince"),
|
|
359
|
+
onBlur: handleBlur
|
|
360
|
+
})
|
|
361
|
+
});
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
export { getKeyForField as a, CONDENSED_ADDRESS_FIELDS as c, COUNTRIES_WITH_STATES_DATASET as d, addressFields as f, useUpdateLegalEntity as h, getAddressSchemaForCountry as i, COUNTRIES_WITH_FORMATTED_ADDRESSES as l, isEmpty as m, StateField as n, mapAddressLabels as o, isJapanLocalizationEnabled as p, stateFieldMetadata as r, addressFieldRule as s, STATE_FIELD as t, COUNTRIES_WITH_HOUSE_NUMBER_FIRST as u };
|
|
@@ -1,14 +1,14 @@
|
|
|
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] = "47541529-3912-49a4-9f5e-8f3ec9c129ef", e._sentryDebugIdIdentifier = "sentry-dbid-47541529-3912-49a4-9f5e-8f3ec9c129ef");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { j as Header } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { s as useApiContext } from "./http-C8rt2BZk.js";
|
|
8
8
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
9
|
-
import { i as setNestedValue, n as getNestedValue } from "./utils-
|
|
10
|
-
import {
|
|
11
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
9
|
+
import { i as setNestedValue, n as getNestedValue } from "./utils-ChZNfG5_.js";
|
|
10
|
+
import { h as useUpdateLegalEntity } from "./StateField-TYw5No81.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-Du4hN8Ry.js";
|
|
12
12
|
import { t as useAppForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
14
14
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-B-pF2YT-.js";
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
try {
|
|
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] = "201f875b-584f-433c-8e8c-7a5bc9e6e9e6", e._sentryDebugIdIdentifier = "sentry-dbid-201f875b-584f-433c-8e8c-7a5bc9e6e9e6");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
+
import { j as Header } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
|
+
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
8
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
9
|
+
//#region src/components/Shared/Summary/Summary.tsx
|
|
10
|
+
var Summary = ({ children }) => {
|
|
11
|
+
const { t } = useTranslation("common");
|
|
12
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
13
|
+
role: "region",
|
|
14
|
+
children: [/* @__PURE__ */ jsx(Header, {
|
|
15
|
+
title: t(($) => $["summary"]),
|
|
16
|
+
description: t(($) => $["summaryDescription"])
|
|
17
|
+
}), /* @__PURE__ */ jsx(StackLayout, { children })]
|
|
18
|
+
});
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { Summary as t };
|
|
@@ -1,27 +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] = "3b6639bc-916f-45bd-9b47-dafc2fc0cd71", e._sentryDebugIdIdentifier = "sentry-dbid-3b6639bc-916f-45bd-9b47-dafc2fc0cd71");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { k as Header } from "./resolveEnvironment-NlZWcle4.js";
|
|
7
6
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { n as IconButton } from "./Button-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { J as trackNavigation } from "./dropinUtils-COH_5oC3.js";
|
|
12
|
-
import { t as List } from "./List-qvNxW9lm.js";
|
|
7
|
+
import { n as IconButton } from "./Button-BYafPrZH.js";
|
|
8
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
9
|
+
import { H as trackNavigation, c as List } from "./dropinUtils-D7sD4BX1.js";
|
|
13
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
|
-
//#region src/components/Shared/NewSummary/NewSummary.tsx
|
|
15
|
-
var NewSummary = ({ children }) => {
|
|
16
|
-
const { t } = useTranslation("common");
|
|
17
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
18
|
-
role: "region",
|
|
19
|
-
children: [/* @__PURE__ */ jsx(Header, {
|
|
20
|
-
title: t(($) => $["summary"]),
|
|
21
|
-
description: t(($) => $["summaryDescription"])
|
|
22
|
-
}), /* @__PURE__ */ jsx(StackLayout, { children })]
|
|
23
|
-
});
|
|
24
|
-
};
|
|
25
11
|
var SummarySection_module_default = {
|
|
26
12
|
"summary-header": "_summary-header_jps0f_1",
|
|
27
13
|
summaryHeader: "_summary-header_jps0f_1"
|
|
@@ -57,4 +43,4 @@ var SummarySection = ({ children, formId, label, onEdit }) => {
|
|
|
57
43
|
});
|
|
58
44
|
};
|
|
59
45
|
//#endregion
|
|
60
|
-
export {
|
|
46
|
+
export { SummarySection as t };
|
|
@@ -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] = "df424bd9-081f-4663-bf68-1124b1c8071d", e._sentryDebugIdIdentifier = "sentry-dbid-df424bd9-081f-4663-bf68-1124b1c8071d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Button } from "./Button-
|
|
6
|
+
import { t as Button } from "./Button-BYafPrZH.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
|
-
import { t as Modal } from "./Modal-
|
|
9
|
-
import { t as TaskListItem } from "./TaskListItem-
|
|
10
|
-
import {
|
|
11
|
-
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
8
|
+
import { t as Modal } from "./Modal-ChWNV9yG.js";
|
|
9
|
+
import { t as TaskListItem } from "./TaskListItem-jRIQ_fJt.js";
|
|
10
|
+
import { S as FormFlow_module_default } from "./dropinUtils-D7sD4BX1.js";
|
|
11
|
+
import { n as useWorkflowContext, t as NodeRenderer } from "./AdaptiveWorkflow-Du4hN8Ry.js";
|
|
12
12
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
13
|
-
import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-
|
|
13
|
+
import { t as TaskStepperContextProvider } from "./TaskStepperContextProvider-DiMf4UV6.js";
|
|
14
14
|
import { useCallback, useRef, useState } from "preact/hooks";
|
|
15
15
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
16
16
|
import { useComputed } from "@preact/signals";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "aacdefc6-be84-4d50-83fb-3b72bf97d93e", e._sentryDebugIdIdentifier = "sentry-dbid-aacdefc6-be84-4d50-83fb-3b72bf97d93e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { j as Header } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as StackLayout } from "./StackLayout-J1ynSX-P.js";
|
|
8
|
-
import { t as NodeRenderer } from "./AdaptiveWorkflow-
|
|
8
|
+
import { t as NodeRenderer } from "./AdaptiveWorkflow-Du4hN8Ry.js";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
//#region src/adaptiveWorkflow/components/Layout/TaskGroup/contextMap.ts
|
|
11
11
|
var contextMap = {
|
|
@@ -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] = "ca0611c4-aa2d-4fb9-82cb-5b2002ee2f33", e._sentryDebugIdIdentifier = "sentry-dbid-ca0611c4-aa2d-4fb9-82cb-5b2002ee2f33");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
7
|
-
import { t as Icon } from "./Icon-
|
|
8
|
-
import { n as IconButton } from "./Button-
|
|
9
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
6
|
+
import { C as Alert } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
8
|
+
import { n as IconButton } from "./Button-BYafPrZH.js";
|
|
9
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-C1CllzL1.js";
|
|
10
10
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
11
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
11
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
12
12
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
13
|
-
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
14
|
-
import { t as Avatar } from "./Avatar-
|
|
15
|
-
import { p as LoaderWrapper } from "./Select-
|
|
16
|
-
import { s as Confirm } from "./utils-
|
|
13
|
+
import { t as VerificationErrorAlert } from "./VerificationErrorAlert-yOZ8yz_8.js";
|
|
14
|
+
import { t as Avatar } from "./Avatar-yJfk9A6l.js";
|
|
15
|
+
import { p as LoaderWrapper } from "./Select-BMGxcmZy.js";
|
|
16
|
+
import { s as Confirm } from "./utils-C3-aLHsN.js";
|
|
17
17
|
import { useState } from "preact/hooks";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
19
19
|
//#region src/components/Apps/tasks/TaskList/TaskListItem/TaskListItem.tsx
|
package/dist/{TaskStepperContextProvider-9wlnwii7.js → TaskStepperContextProvider-DiMf4UV6.js}
RENAMED
|
@@ -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] = "daa1de45-ca19-45f2-8916-25736e22cbfc", e._sentryDebugIdIdentifier = "sentry-dbid-daa1de45-ca19-45f2-8916-25736e22cbfc");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as TaskStepperContext, r as TaskStepperModel } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -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] = "4fa860e0-6a76-459f-b446-f56585c6a976", e._sentryDebugIdIdentifier = "sentry-dbid-4fa860e0-6a76-459f-b446-f56585c6a976");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { t as Icon } from "./Icon-
|
|
6
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
7
7
|
import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
8
8
|
import cx from "classnames";
|
|
9
9
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
10
10
|
var Status_module_default = {
|
|
11
|
-
status: "
|
|
12
|
-
"status-icon": "_status-
|
|
13
|
-
statusIcon: "_status-
|
|
14
|
-
"status-text": "_status-
|
|
15
|
-
statusText: "_status-
|
|
16
|
-
"status-text-responsive": "_status-text-
|
|
17
|
-
statusTextResponsive: "_status-text-
|
|
18
|
-
"status-neutral": "_status-
|
|
19
|
-
statusNeutral: "_status-
|
|
20
|
-
"status-error": "_status-
|
|
21
|
-
statusError: "_status-
|
|
22
|
-
"status-warning": "_status-
|
|
23
|
-
statusWarning: "_status-
|
|
24
|
-
"status-success": "_status-
|
|
25
|
-
statusSuccess: "_status-
|
|
11
|
+
status: "_status_13op0_1",
|
|
12
|
+
"status-icon": "_status-icon_13op0_9",
|
|
13
|
+
statusIcon: "_status-icon_13op0_9",
|
|
14
|
+
"status-text": "_status-text_13op0_20",
|
|
15
|
+
statusText: "_status-text_13op0_20",
|
|
16
|
+
"status-text-responsive": "_status-text-responsive_13op0_28",
|
|
17
|
+
statusTextResponsive: "_status-text-responsive_13op0_28",
|
|
18
|
+
"status-neutral": "_status-neutral_13op0_34",
|
|
19
|
+
statusNeutral: "_status-neutral_13op0_34",
|
|
20
|
+
"status-error": "_status-error_13op0_44",
|
|
21
|
+
statusError: "_status-error_13op0_44",
|
|
22
|
+
"status-warning": "_status-warning_13op0_50",
|
|
23
|
+
statusWarning: "_status-warning_13op0_50",
|
|
24
|
+
"status-success": "_status-success_13op0_56",
|
|
25
|
+
statusSuccess: "_status-success_13op0_56"
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/components/ui/atoms/Status/Status.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
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] = "b1a655a3-0e97-4f40-872a-fd5ca89a1c5b", e._sentryDebugIdIdentifier = "sentry-dbid-b1a655a3-0e97-4f40-872a-fd5ca89a1c5b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import { i as useToggleContext, t as Checkbox } from "./Checkbox-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { a as MaskedInput } from "./dropinUtils-
|
|
10
|
-
import {
|
|
11
|
-
import { t as formatValidationError } from "./formatValidationError-
|
|
6
|
+
import { i as useToggleContext, t as Checkbox } from "./Checkbox-qFA2J_1r.js";
|
|
7
|
+
import { a as resolveFieldMetadata } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
8
|
+
import { a as translateTranslatable, o as Field } from "./Select-BMGxcmZy.js";
|
|
9
|
+
import { a as MaskedInput } from "./dropinUtils-D7sD4BX1.js";
|
|
10
|
+
import { V as getTaxIdNumberOptions, d as removeTaxInfoForCountry, f as upsertTaxInfoForCountry, j as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, m as findExistingTaxInformation, p as TaxIdNumberTypeSelector, v as taxInformationDefaultFieldConfig, y as taxInformationDefaultFieldMetadata } from "./bafinUtils-4C7AJpnd.js";
|
|
11
|
+
import { t as formatValidationError } from "./formatValidationError-BO9k5bVJ.js";
|
|
12
12
|
import { n as withForm } from "./formHook-Dgi2CgbT.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo, useRef } from "preact/hooks";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -1,31 +1,29 @@
|
|
|
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] = "052938de-b65e-4d52-9d66-b35e14ad1d02", e._sentryDebugIdIdentifier = "sentry-dbid-052938de-b65e-4d52-9d66-b35e14ad1d02");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation, t as Trans } from "./translation-CpH8D2NK.js";
|
|
6
|
-
import {
|
|
6
|
+
import { C as Alert, M as _rolldown_dynamic_import_helper_default, j as Header, ot as isEmpty } from "./resolveEnvironment-CrNBwIpQ.js";
|
|
7
7
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
8
|
-
import { t as Icon } from "./Icon-
|
|
8
|
+
import { t as Icon } from "./Icon-jVvV1zXc.js";
|
|
9
9
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
10
10
|
import { t as Loader } from "./Loader-BDaKGf77.js";
|
|
11
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
11
|
+
import { n as IconButton, t as Button } from "./Button-BYafPrZH.js";
|
|
12
12
|
import { n as httpGet, s as useApiContext } from "./http-C8rt2BZk.js";
|
|
13
13
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CxeMoCm4.js";
|
|
14
14
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
15
15
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
16
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
16
|
+
import { i as useAnalyticsContext } from "./Modal-ChWNV9yG.js";
|
|
17
17
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
18
|
-
import { n as useInvalidateRootLegalEntity } from "./useId-
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import { o as StructuredList } from "./utils-
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { t as
|
|
25
|
-
import { U as isEmpty$1 } from "./bafinUtils-DvMDkIIg.js";
|
|
26
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-B4E45deF.js";
|
|
18
|
+
import { n as useInvalidateRootLegalEntity } from "./useId-e2xn6OME.js";
|
|
19
|
+
import { l as LandingLayout, n as Image } from "./unincorporatedPartnership-Dr3lPgDv.js";
|
|
20
|
+
import { o as Field } from "./Select-BMGxcmZy.js";
|
|
21
|
+
import { o as StructuredList } from "./utils-C3-aLHsN.js";
|
|
22
|
+
import { h as useUpdateLegalEntity, m as isEmpty$1 } from "./StateField-TYw5No81.js";
|
|
23
|
+
import { R as useMultiForm, V as useFormComposer, W as FormContextProvider, b as useFormContext, n as getRequiredForms, r as RadioGroup, t as addValidityToForms, x as FormFlow } from "./dropinUtils-D7sD4BX1.js";
|
|
24
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-C-kML6lH.js";
|
|
27
25
|
import { r as getFormProps } from "./getProps-DVqK7eRw.js";
|
|
28
|
-
import { t as Link } from "./Link-
|
|
26
|
+
import { t as Link } from "./Link-DwPkGikd.js";
|
|
29
27
|
import { t as useTaskStatus } from "./useTaskStatus-4nAPf_uD.js";
|
|
30
28
|
import { lazy } from "preact/compat";
|
|
31
29
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useState as useState$1 } from "preact/hooks";
|