@adyen/kyc-components 4.24.0 → 4.24.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceWorkflow-CyMefc3t.js → AcceptTermsOfServiceWorkflow-CujjlZ6j.js} +4 -4
- package/dist/{Accordion-Dgdxfe-d.js → Accordion-D_DOaWj2.js} +1 -1
- package/dist/{AccountSetupRejected-D63dyojj.js → AccountSetupRejected-Cbq4hQaI.js} +2 -2
- package/dist/{AdaptiveWorkflow-DC4QviLh.js → AdaptiveWorkflow-DNyXJorC.js} +2 -2
- package/dist/{AdaptiveWorkflowComponent-CsNPizq0.js → AdaptiveWorkflowComponent-BFa1nNei.js} +3 -3
- package/dist/{AddressFields-BeeqIqdc.js → AddressFields-By9cx_D1.js} +5 -5
- package/dist/{Alert-Cc7p0N5h.js → Alert-aOxK37M0.js} +3 -3
- package/dist/{Avatar-oTPu6Ejy.js → Avatar-k5lNd5KG.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYJS13vd.js → BusinessFinancingDropin-CEsTuC9z.js} +16 -16
- package/dist/{BusinessFinancingPage-DbTrQ1kt.js → BusinessFinancingPage-iQTAHhH4.js} +2 -2
- package/dist/{BusinessRegistrationNumberField-DKka8aVU.js → BusinessRegistrationNumberField-By_rLI-i.js} +3 -3
- package/dist/{BusinessRegistrationNumberFieldGroup-Df6_sDA0.js → BusinessRegistrationNumberFieldGroup-C1ZXIEUS.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-C0xUipfe.js → BusinessTypeSelectionPage-DJE07ov_.js} +4 -4
- package/dist/{Button-DPJ1k02w.js → Button-PBnEZF18.js} +1 -1
- package/dist/{ComponentGroup-Cw_2w0Rf.js → ComponentGroup-Bio9jdOX.js} +3 -3
- package/dist/{Confirm-DoN9R9Z3.js → Confirm-aZAJ9IIU.js} +2 -2
- package/dist/{ConstitutionalDocument-Bbo7P_gi.js → ConstitutionalDocument-CNgdkJdy.js} +7 -7
- package/dist/{ContactDetails-CUjFd94x.js → ContactDetails-CRLrr3U2.js} +5 -5
- package/dist/{ContextGuidance-BQPwRscq.js → ContextGuidance-CrQVfeGl.js} +1 -1
- package/dist/{CountryField-DT6-Jr_b.js → CountryField-Tnnm6nrT.js} +2 -2
- package/dist/{Currency-C-sSDMn7.js → Currency-Dh9dMO1u.js} +3 -3
- package/dist/{CustomerSupport-C2DrnwDs.js → CustomerSupport-IsVyADfM.js} +5 -5
- package/dist/{DataConflictsModal-CCaMgguu.js → DataConflictsModal-Dt1zX8NE.js} +4 -4
- package/dist/{DebugModal-CvRyl9qY.js → DebugModal-xhxLPcbY.js} +7 -7
- package/dist/{DecisionMakerDetails-Dhi6hsrv.js → DecisionMakerDetails-XMNIheCU.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DLgKrPA3.js → DecisionMakerDetailsPage-CTdh6U_Q.js} +2 -2
- package/dist/{DecisionMakers-B6Qd9fuT.js → DecisionMakers-Bat5ty7H.js} +9 -9
- package/dist/{Dropzone-BhMYy4nr.js → Dropzone-eJJsWrfU.js} +4 -4
- package/dist/{EmbeddedStatus-CYd2p4sP.js → EmbeddedStatus-DVFyksA8.js} +3 -3
- package/dist/{EndStateLayout-zZPm8S5M.js → EndStateLayout-Bf55E0fC.js} +2 -2
- package/dist/{EntityAssociation-C2_Xuvf5.js → EntityAssociation-CHgiZJjH.js} +5 -5
- package/dist/{ErrorPanel-D4JNFkvi.js → ErrorPanel-CsoIs-F1.js} +2 -2
- package/dist/{Field-DwDJQVSS.js → Field-Cikj1a5F.js} +1 -1
- package/dist/{GlobalEntryModal-iZSUeMQf.js → GlobalEntryModal-CujlQHiT.js} +17 -17
- package/dist/{GlobalEntryPage-w4KJOeYb.js → GlobalEntryPage-B2_58fzL.js} +4 -4
- package/dist/{Header-DVLlJ6we.js → Header-DvifUz7-.js} +1 -1
- package/dist/{Icon-4XR6gZzk.js → Icon-DFQgr7dy.js} +1 -1
- package/dist/{IdentityNumber-3V6ZqvHB.js → IdentityNumber-Bt6ZrhXe.js} +2 -2
- package/dist/{IdentityNumberFieldGroup-CAjlgTWn.js → IdentityNumberFieldGroup-BLBfvmgh.js} +2 -2
- package/dist/{IdentityScreeningWorkflow-Bx89cmUF.js → IdentityScreeningWorkflow-CHEZ4zdv.js} +9 -9
- package/dist/{IndividualDropin-BgOmBeoT.js → IndividualDropin-CACTazlG.js} +36 -35
- package/dist/{IndustryCodeFieldGroup-BDtoeaUz.js → IndustryCodeFieldGroup-bJqEKeii.js} +3 -3
- package/dist/{Introduction-D8hMB7Wb.js → Introduction-BRqto8UG.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-DZZe5Ruk.js → InvitedDecisionMakerComponent-DO5Qk0zd.js} +6 -6
- package/dist/{JpAddressFields-BIh4120-.js → JpAddressFields-B0GFgCy3.js} +3 -3
- package/dist/{LegalCompanyNameField-Cosyjk52.js → LegalCompanyNameField-CJJVQcQs.js} +1 -1
- package/dist/{LegalName-CtqIpsfy.js → LegalName-BUKybQYZ.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-Mpm8AjdQ.js → LegalRepresentativeDetailsPage-Bw11rpBJ.js} +2 -2
- package/dist/{Link-CvYhseSD.js → Link-C3dYYTm_.js} +1 -1
- package/dist/{ListItem-CYTpdOMa.js → ListItem-CHGVbHhB.js} +2 -2
- package/dist/{MaybeModal-C4ySaA8A.js → MaybeModal-7H_ZLVQ9.js} +2 -2
- package/dist/{Modal-CHES6970.js → Modal-D0xvSE_j.js} +1 -1
- package/dist/{Name-CdCsijr5.js → Name-DK5JWLOQ.js} +1 -1
- package/dist/{NewSummary-D55f70wB.js → NewSummary-pUzLqcXI.js} +3 -3
- package/dist/{NodeRenderer-smgxe7Ni.js → NodeRenderer-BVKwxBMI.js} +16 -16
- package/dist/{PatriotActDisclosure-DA6nqTmC.js → PatriotActDisclosure-BNpd6PyX.js} +6 -6
- package/dist/{PayoutDetailsDropin-BH1Sj6GM.js → PayoutDetailsDropin-C0qU3Uzc.js} +131 -83
- package/dist/{PayoutDetailsPage-B7mZmc51.js → PayoutDetailsPage-CevgEt1z.js} +3 -3
- package/dist/{Review-9sjGKoQu.js → Review-5Ym8RlS2.js} +3 -3
- package/dist/{RootBusinessDetailsPage-DRN6p6wB.js → RootBusinessDetailsPage-Dm6Wy0h-.js} +2 -2
- package/dist/{RootBusinessLinesPage-uxn9f5K8.js → RootBusinessLinesPage-DZj94e0G.js} +15 -15
- package/dist/{RootIndividualDetailsPage-BDoKkhcN.js → RootIndividualDetailsPage-CuQVex8z.js} +2 -2
- package/dist/{SignPCIComponent-BNlTxxJz.js → SignPCIComponent-D18-Rz63.js} +5 -5
- package/dist/{SingpassSelection-B6_DsZtn.js → SingpassSelection-BkfhTELs.js} +3 -3
- package/dist/{SoleProprietorshipPage-Dx-pfSwo.js → SoleProprietorshipPage-DDQfeRSO.js} +2 -2
- package/dist/{SourceOfFundsPage-ChO-R9o4.js → SourceOfFundsPage-Cwm9u6aw.js} +17 -17
- package/dist/{SourceOfFundsWorkflow-DuU_n82x.js → SourceOfFundsWorkflow-BFdQf6vp.js} +4 -4
- package/dist/{StateField-BpMwetvd.js → StateField-bJHDCFj_.js} +2 -2
- package/dist/{Step-CctAUYbs.js → Step-CRhTm-mx.js} +3 -3
- package/dist/{Summary-DM31WxLr.js → Summary-DeqRzJJU.js} +4 -4
- package/dist/{Task-C12uuPWD.js → Task-CYL4229j.js} +6 -6
- package/dist/{TaskGroup-z3ONGLnB.js → TaskGroup-VWJYRAPq.js} +3 -3
- package/dist/{TaskListItem-Dx3hKOqG.js → TaskListItem-Dt-FFquh.js} +7 -7
- package/dist/{TaskStepperContextProvider-DdcsqXT7.js → TaskStepperContextProvider-I7talGDO.js} +1 -1
- package/dist/{TaskVerificationStatus-DEXk_ndE.js → TaskVerificationStatus-Bd5Eftf2.js} +1 -1
- package/dist/{TaxInformationField-Cc-NDAVo.js → TaxInformationField-Dr_Lax19.js} +3 -3
- package/dist/{TaxInformationFieldGroup-DI2LzuNr.js → TaxInformationFieldGroup-BpFbypoM.js} +4 -4
- package/dist/{TaxReportingDropin-LNgisxBc.js → TaxReportingDropin-D9PzeSKb.js} +8 -8
- package/dist/{TaxReportingWorkflow-9_9ECX6A.js → TaxReportingWorkflow-DStAFbz4.js} +4 -4
- package/dist/{TermsOfServiceManagement-BGrBal0j.js → TermsOfServiceManagement-DyCCwBac.js} +6 -6
- package/dist/{TileGroup-D1-M64Ul.js → TileGroup-DZrAPLgF.js} +1 -1
- package/dist/{ToastContextProvider-DjYKMflX.js → ToastContextProvider-CRCcSc7O.js} +2 -2
- package/dist/{TrustDetailsPage-cx6yEd6Q.js → TrustDetailsPage-VyHjTUKT.js} +18 -18
- package/dist/{TrustMemberCompanyPage-DZh9Wn9-.js → TrustMemberCompanyPage-uXvOFwx2.js} +2 -2
- package/dist/{TrustMemberIndividualPage--tTWII4G.js → TrustMemberIndividualPage-w71AGGrO.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-DEzesajA.js → TrustMemberRoleAndTypePage-DiS-H2ax.js} +10 -10
- package/dist/{TrustMembersOverview-BpJGWVT5.js → TrustMembersOverview-B8zs1cpk.js} +7 -7
- package/dist/{UboTaskItem-DP5LOGom.js → UboTaskItem-D1iGtn9g.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-DelW_XAz.js → UnincorporatedPartnershipIndividualPage-CmAEzOvb.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BdnBsGK9.js → UnincorporatedPartnershipMemberCompanyPage-Doz2y7Re.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DpdTiLc-.js → UnincorporatedPartnershipMemberRoleAndTypePage-vXJttKWb.js} +5 -5
- package/dist/{UnincorporatedPartnershipMembersOverview-BBeans9j.js → UnincorporatedPartnershipMembersOverview-DT9yMH0C.js} +5 -5
- package/dist/{VerificationErrorAlert-CixajVtq.js → VerificationErrorAlert-B-102yda.js} +1 -1
- package/dist/{Workflow-BJbKhY38.js → Workflow-Cjvi3gRk.js} +5 -5
- package/dist/adyen-business-financing.js +4 -4
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +11 -11
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +10 -10
- package/dist/adyen-verification-status.js +4 -4
- package/dist/{businessRegistrationNumberPatterns-A08SLm03.js → businessRegistrationNumberPatterns-D9Pw88RS.js} +1 -1
- package/dist/{constants-C8yo0_RA.js → constants-CLLKc2L5.js} +2 -2
- package/dist/{validate-D-l4YRka.js → documentUtils-CxjFpoJB.js} +9 -180
- package/dist/{dropinUtils-DTBezwYT.js → dropinUtils-BbooB3xI.js} +5 -5
- package/dist/{error-BvgoQFEI.js → error-Dvp6R51r.js} +1 -1
- package/dist/{getDefaultRegistrationNumberType-CIu4WMln.js → getDefaultRegistrationNumberType-CqssX8ay.js} +3 -3
- package/dist/{mapLegalEntityToIndividualSchema-Crz7aXZB.js → mapLegalEntityToIndividualSchema-h5rDMtHV.js} +16 -12
- package/dist/{maskHelpers-C0wnCoJl.js → maskHelpers-C44Fv5qZ.js} +2 -2
- package/dist/{processValidationErrors-CjsNfiRK.js → processValidationErrors-BlVYuJS1.js} +1 -1
- package/dist/{resolveEnvironment-BwfBwdTL.js → resolveEnvironment-DYDEWblg.js} +11 -11
- package/dist/types/components/BankAccount/fields/Iban/fieldConfig.d.ts +2 -0
- package/dist/types/components/BankAccount/utils/clearCountrySpecificAccountFields.d.ts +6 -0
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +3 -0
- package/dist/types/utils/api/documentUtils.d.ts +1 -0
- package/dist/{types-BA3bcGAv.js → types-D6p5FQF-.js} +1 -1
- package/dist/{useBusinessDetailsData-sWGe796Y.js → useBusinessDetailsData--k5zPChY.js} +34 -34
- package/dist/{useDataset-CdLBLq98.js → useDataset-BMitsLFp.js} +1 -1
- package/dist/{useHideTaskStepper-Dk7ZQ3U8.js → useHideTaskStepper-C_w6iUY-.js} +1 -1
- package/dist/{useNavigate-DkfNV3JZ.js → useNavigate-CGgy5L7H.js} +32 -32
- package/dist/{utils-Ck_mZapQ.js → utils-ethjn5kr.js} +3 -3
- package/dist/{validate-BCNnfwPW.js → validate-CrKIJS7Q.js} +1 -1
- package/dist/{validate-DKwCZSlM.js → validate-DBlnMeid.js} +4 -4
- package/dist/validate-bVdYu4zu.js +180 -0
- package/dist/{validateExtractionResult-D3d0xx90.js → validateExtractionResult-B-WqNXTl.js} +2 -2
- package/dist/{validationError-DV6t8Ubb.js → validationError-Oxim8w4y.js} +1 -1
- package/package.json +1 -1
|
@@ -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] = "8f098593-9b61-4f1d-94aa-0afb7dbd1a62", e._sentryDebugIdIdentifier = "sentry-dbid-8f098593-9b61-4f1d-94aa-0afb7dbd1a62");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
8
|
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
|
-
import { t as Button } from "./Button-
|
|
9
|
+
import { t as Button } from "./Button-PBnEZF18.js";
|
|
10
10
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
11
11
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-QQXN6YOm.js";
|
|
12
12
|
import { t as useAccountHolder } from "./useAccountHolder-BpIX1iBG.js";
|
|
@@ -15,13 +15,13 @@ import { a as objectsDeepEqual, n as doArraysMatch, o as entriesOf, s as keysOf
|
|
|
15
15
|
import { S as isUndefinedOrNull, b as isISIN, y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
16
16
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
17
17
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
18
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-Bd5Eftf2.js";
|
|
19
19
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
20
|
-
import { t as Header } from "./Header-
|
|
20
|
+
import { t as Header } from "./Header-DvifUz7-.js";
|
|
21
21
|
import { t as useAllowedCountries } from "./useAllowedCountries-qyvo-c6A.js";
|
|
22
22
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
23
23
|
import { n as datasetUtilities } from "./datasetUtil-BdHPWsxZ.js";
|
|
24
|
-
import { t as Alert } from "./Alert-
|
|
24
|
+
import { t as Alert } from "./Alert-aOxK37M0.js";
|
|
25
25
|
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-CWE5UFt8.js";
|
|
26
26
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
27
27
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-CY0grcyH.js";
|
|
@@ -35,69 +35,69 @@ import { t as useToastContext } from "./useToastContext-B6Mqc2HY.js";
|
|
|
35
35
|
import { t as LandingLayout } from "./LandingLayout-BsIoIFzs.js";
|
|
36
36
|
import { t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-B97dCa-s.js";
|
|
37
37
|
import { t as LoaderWrapper } from "./LoaderWrapper-Dc88hY-P.js";
|
|
38
|
-
import { n as ModalContent, t as Modal } from "./Modal-
|
|
39
|
-
import { t as Confirm } from "./Confirm-
|
|
38
|
+
import { n as ModalContent, t as Modal } from "./Modal-D0xvSE_j.js";
|
|
39
|
+
import { t as Confirm } from "./Confirm-aZAJ9IIU.js";
|
|
40
40
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CYZd_62a.js";
|
|
41
41
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-B7LRg8m0.js";
|
|
42
|
-
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-
|
|
42
|
+
import { a as useFormComposer, i as FormFlow, o as FormContextProvider, r as useFormContext, t as addValidityToForms } from "./dropinUtils-BbooB3xI.js";
|
|
43
43
|
import { i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-B0RwhsVw.js";
|
|
44
44
|
import { t as Image } from "./Image-Bn_Yyuof.js";
|
|
45
45
|
import { t as StructuredList } from "./StructuredList-nPasiuLi.js";
|
|
46
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
47
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
46
|
+
import { t as ErrorPanel } from "./ErrorPanel-CsoIs-F1.js";
|
|
47
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-DeqRzJJU.js";
|
|
48
48
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DVDcdZsP.js";
|
|
49
49
|
import { t as useMultiForm } from "./useMultiForm-BxASst0O.js";
|
|
50
|
-
import { t as Field } from "./Field-
|
|
51
|
-
import { t as TileGroup } from "./TileGroup-
|
|
52
|
-
import { a as useLegalCompanyNameField, i as CountryOfGoverningLawField, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as localizedLegalCompanyNameFieldConfig, r as COUNTRY_OF_GOVERNING_LAW_FIELD, s as useCompanyTypeExamples, t as CountryOfGoverningLawFieldValidation } from "./validate-
|
|
50
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
51
|
+
import { t as TileGroup } from "./TileGroup-DZrAPLgF.js";
|
|
52
|
+
import { a as useLegalCompanyNameField, i as CountryOfGoverningLawField, n as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, o as localizedLegalCompanyNameFieldConfig, r as COUNTRY_OF_GOVERNING_LAW_FIELD, s as useCompanyTypeExamples, t as CountryOfGoverningLawFieldValidation } from "./validate-DBlnMeid.js";
|
|
53
53
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
54
|
-
import { a as exemptFromRegistrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldMetadata, l as getCompanyRegistrationNumberOptions, n as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as getDefaultRegistrationNumberType, u as getValidCompanyTypesForRegistrationNumberType } from "./getDefaultRegistrationNumberType-
|
|
55
|
-
import { A as taxIdNumberOptions, C as isRegistrationNumberAbsentStateV4Scenario, D as getTaxIdNumberOptions, E as mapLocalizationToJapaneseLegalNames, S as isRegistrationExemptionAllowed, T as mapJapaneseLegalNamesToLocalization, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as taxInformationDefaultFieldConfig, d as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, f as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, g as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, h as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, k as getValidCompanyTypesForTaxIdNumberType, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, p as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, s as getTaxInformationPlaceholderText, u as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, v as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, w as isUsingCompanySearch, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-
|
|
54
|
+
import { a as exemptFromRegistrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldMetadata, l as getCompanyRegistrationNumberOptions, n as inferCompanyRegistrationNumberType, s as registrationNumberDefaultFieldConfig, t as getDefaultRegistrationNumberType, u as getValidCompanyTypesForRegistrationNumberType } from "./getDefaultRegistrationNumberType-CqssX8ay.js";
|
|
55
|
+
import { A as taxIdNumberOptions, C as isRegistrationNumberAbsentStateV4Scenario, D as getTaxIdNumberOptions, E as mapLocalizationToJapaneseLegalNames, S as isRegistrationExemptionAllowed, T as mapJapaneseLegalNamesToLocalization, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as taxInformationDefaultFieldConfig, d as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, f as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, g as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, h as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, k as getValidCompanyTypesForTaxIdNumberType, l as taxInformationDefaultFieldMetadata, m as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, p as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, s as getTaxInformationPlaceholderText, u as COUNTRIES_REQUIRING_FINANCIAL_INFORMATION, v as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, w as isUsingCompanySearch, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4 } from "./utils-ethjn5kr.js";
|
|
56
56
|
import { t as isEmpty$1 } from "./isEmpty-Uewyl-r6.js";
|
|
57
57
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
58
58
|
import { t as Checkbox } from "./Checkbox-qfdF12cF.js";
|
|
59
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
59
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-Tnnm6nrT.js";
|
|
60
60
|
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BWumuCvl.js";
|
|
61
61
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
62
|
-
import { n as StateField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-
|
|
63
|
-
import { t as ListItem } from "./ListItem-
|
|
64
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
62
|
+
import { n as StateField, r as stateFieldMetadata, t as STATE_FIELD } from "./StateField-bJHDCFj_.js";
|
|
63
|
+
import { t as ListItem } from "./ListItem-CHGVbHhB.js";
|
|
64
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CJJVQcQs.js";
|
|
65
65
|
import { t as InputText } from "./InputText-CFDEmEtp.js";
|
|
66
66
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
67
|
-
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
68
|
-
import { c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, t as alphaInputs } from "./maskHelpers-
|
|
67
|
+
import { n as TaxInformationField, r as isJapanLocalizationEnabled, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-Dr_Lax19.js";
|
|
68
|
+
import { c as MaskedInput, i as makeMask, n as alphanumericInputs, o as numericInputs, t as alphaInputs } from "./maskHelpers-C44Fv5qZ.js";
|
|
69
69
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
70
70
|
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
71
|
-
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-
|
|
71
|
+
import { n as BusinessRegistrationNumberField, t as BUSINESS_REGISTRATION_NUMBER_FIELD } from "./BusinessRegistrationNumberField-By_rLI-i.js";
|
|
72
72
|
import { n as LEGAL_ARRANGEMENT_COUNTRIES_REQUIRING_DATE_OF_INCORPORATION } from "./legalArrangementUtils-C68JdH6I.js";
|
|
73
73
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
74
74
|
import { t as useScenarios } from "./useScenarios-BfYE0clW.js";
|
|
75
|
-
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-
|
|
75
|
+
import { o as nestAddressSchema, r as flattenAddressSchema } from "./AddressFields-By9cx_D1.js";
|
|
76
76
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-2QXrkhqJ.js";
|
|
77
77
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DwZHcMEQ.js";
|
|
78
78
|
import { i as JP_ADDRESS_REQUIRED_FIELDS, r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-D3VO2nhc.js";
|
|
79
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
80
|
-
import { a as
|
|
81
|
-
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
82
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
79
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-BlVYuJS1.js";
|
|
80
|
+
import { a as getFileExtention, i as getDocuments, l as mergeProofOfOwnershipAttachments, n as documentApiUtils, r as getDocument, t as createDocumentRequest } from "./documentUtils-CxjFpoJB.js";
|
|
81
|
+
import { i as getFieldsWithExistingData, n as MemoizedDocumentUpload, t as PatriotActDisclosure } from "./PatriotActDisclosure-BNpd6PyX.js";
|
|
82
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-Oxim8w4y.js";
|
|
83
83
|
import { i as formatAddressForCleanse, n as formatDateObj, o as useAddressCleanseImperatively, t as InputDate } from "./InputDate-ANdv1rKt.js";
|
|
84
84
|
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
85
85
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
86
|
-
import { t as Link } from "./Link-
|
|
86
|
+
import { t as Link } from "./Link-C3dYYTm_.js";
|
|
87
87
|
import { t as formatValidationError } from "./formatValidationError-q_w9DTrl.js";
|
|
88
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
88
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-Dt1zX8NE.js";
|
|
89
89
|
import { t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-DpOIaxj6.js";
|
|
90
|
-
import { t as currencyByCountry } from "./types-
|
|
90
|
+
import { t as currencyByCountry } from "./types-D6p5FQF-.js";
|
|
91
91
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
92
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
92
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-pUzLqcXI.js";
|
|
93
93
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
94
|
-
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
94
|
+
import { a as LegalFormField, c as isDateOlderThanAYear, i as InputCurrency, l as mapAddressData, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-Dh9dMO1u.js";
|
|
95
95
|
import { t as useTaskStatus } from "./useTaskStatus-CgrhdaE_.js";
|
|
96
96
|
import { t as useIndustryCodes } from "./useIndustryCodes-uAj90IyS.js";
|
|
97
97
|
import { n as formatCurrency } from "./formatCurrency-BetgkQKi.js";
|
|
98
98
|
import { n as useCreateBusinessLine, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-DCKYTzxd.js";
|
|
99
|
-
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-
|
|
100
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
99
|
+
import { _ as dateOfIncorporationFieldMetadata, a as defaultFieldConfig$1, c as REGISTRATION_AND_OPERATIONAL_ADDRESS_FIELDS, d as doingBusinessAsFieldMetadata, f as DBANameField, h as DateOfIncorporationField, i as getDefaultVatNumberType, l as RegistrationAndOperationalAddressFields, m as DATE_OF_INCORPORATION_FIELD, n as VAT_NUMBER_FIELD, o as defaultFieldMetadata$1, p as DBA_NAME_FIELD, r as VatNumberField, s as vatAbsenceReasonMetadata, t as MemoizedConstitutionalDocument, u as doingBusinessAsAbsentFieldMetadata } from "./ConstitutionalDocument-CNgdkJdy.js";
|
|
100
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-CLLKc2L5.js";
|
|
101
101
|
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-CJcGZvj1.js";
|
|
102
102
|
import { lazy } from "preact/compat";
|
|
103
103
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
@@ -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] = "ffea9fa9-6576-4614-a25b-1212831d3280", e._sentryDebugIdIdentifier = "sentry-dbid-ffea9fa9-6576-4614-a25b-1212831d3280");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -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] = "e52d00ec-8eb3-47fd-af67-981d1961a904", e._sentryDebugIdIdentifier = "sentry-dbid-e52d00ec-8eb3-47fd-af67-981d1961a904");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as useTaskStepperContext } from "./useTaskStepperContext-DCNMsKUc.js";
|
|
6
6
|
import { useRef } from "preact/hooks";
|
|
@@ -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] = "fefbdc00-8be2-4fd0-8694-c10b525d601a", e._sentryDebugIdIdentifier = "sentry-dbid-fefbdc00-8be2-4fd0-8694-c10b525d601a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as FeatureNames } from "./types-CZAHRt31.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
@@ -26,37 +26,37 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
};
|
|
27
27
|
//#endregion
|
|
28
28
|
//#region src/router/routeConfig.ts
|
|
29
|
-
var Introduction = lazy(async () => (await import("./Introduction-
|
|
30
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
31
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
32
|
-
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-
|
|
33
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
34
|
-
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-
|
|
35
|
-
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-
|
|
36
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
37
|
-
var Review = lazy(async () => (await import("./Review-
|
|
38
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
39
|
-
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-
|
|
40
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
41
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
42
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
43
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
44
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
45
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
46
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage
|
|
47
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
48
|
-
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-
|
|
49
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
50
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
51
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
52
|
-
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
53
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
54
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
55
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
56
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
57
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
58
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
59
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
29
|
+
var Introduction = lazy(async () => (await import("./Introduction-BRqto8UG.js")).Introduction);
|
|
30
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-DNyXJorC.js")).AdaptiveWorkflow);
|
|
31
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-DJE07ov_.js")).BusinessTypeSelectionPage);
|
|
32
|
+
var GlobalEntryPage = lazy(async () => (await import("./GlobalEntryPage-B2_58fzL.js")).GlobalEntryPage);
|
|
33
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-BkfhTELs.js")).SingpassSelection);
|
|
34
|
+
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-Cbq4hQaI.js")).AccountSetupRejected);
|
|
35
|
+
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-Bat5ty7H.js")).DecisionMakers);
|
|
36
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-IsVyADfM.js")).CustomerSupport);
|
|
37
|
+
var Review = lazy(async () => (await import("./Review-5Ym8RlS2.js")).Review);
|
|
38
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-D18-Rz63.js").then((n) => n.n)).SignPCIComponent);
|
|
39
|
+
var AcceptTermsOfService = lazy(async () => (await import("./TermsOfServiceManagement-DyCCwBac.js").then((n) => n.n)).TermsOfServiceManagement);
|
|
40
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-D9PzeSKb.js")).TaxReportingDropin);
|
|
41
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-CevgEt1z.js")).PayoutDetailsPage);
|
|
42
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-Dm6Wy0h-.js")).RootBusinessDetailsPage);
|
|
43
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-DZj94e0G.js")).RootBusinessLinesPage);
|
|
44
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-DDQfeRSO.js")).SoleProprietorshipPage);
|
|
45
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-uXvOFwx2.js")).TrustMemberCompanyPage);
|
|
46
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-w71AGGrO.js")).TrustMemberIndividualPage);
|
|
47
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-DiS-H2ax.js")).TrustMemberRoleAndTypePage);
|
|
48
|
+
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-B8zs1cpk.js")).TrustMembersOverview);
|
|
49
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-Doz2y7Re.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
50
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-CmAEzOvb.js")).UnincorporatedPartnershipIndividualPage);
|
|
51
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-vXJttKWb.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
52
|
+
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-DT9yMH0C.js")).UnincorporatedPartnershipMembersOverview);
|
|
53
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-iQTAHhH4.js")).BusinessFinancingPage);
|
|
54
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-VyHjTUKT.js")).TrustDetailsPage);
|
|
55
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-Cwm9u6aw.js")).SourceOfFundsPage);
|
|
56
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-CuQVex8z.js")).RootIndividualDetailsPage);
|
|
57
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-Bw11rpBJ.js")).LegalRepresentativeDetailsPage);
|
|
58
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-CTdh6U_Q.js")).DecisionMakerDetailsPage);
|
|
59
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-DO5Qk0zd.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
60
60
|
var ROUTE_CONFIG = {
|
|
61
61
|
[TaskTypes.ADAPTIVE]: {
|
|
62
62
|
path: "/adaptive",
|
|
@@ -5,12 +5,12 @@ try {
|
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
8
|
-
import { t as Field } from "./Field-
|
|
8
|
+
import { t as Field } from "./Field-Cikj1a5F.js";
|
|
9
9
|
import { n as mapSchemaFieldsToApiScriptLocalization, t as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-BCfkZo1y.js";
|
|
10
10
|
import { t as isEmpty } from "./isEmpty-Uewyl-r6.js";
|
|
11
11
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DsrZkuOO.js";
|
|
12
|
-
import { a as nonInputs, i as makeMask, n as alphanumericInputs, o as numericInputs, r as customInputs, s as spacer, t as alphaInputs } from "./maskHelpers-
|
|
13
|
-
import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-
|
|
12
|
+
import { a as nonInputs, i as makeMask, n as alphanumericInputs, o as numericInputs, r as customInputs, s as spacer, t as alphaInputs } from "./maskHelpers-C44Fv5qZ.js";
|
|
13
|
+
import { n as businessRegistrationNumberMasks, t as businessRegistrationNumberPatterns } from "./businessRegistrationNumberPatterns-D9Pw88RS.js";
|
|
14
14
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
15
15
|
import { t as RadioGroup } from "./RadioGroup-Bf3DlQnZ.js";
|
|
16
16
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
@@ -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] = "3ba0d3f5-a2bc-4d60-b1e2-ef9ad664e38e", e._sentryDebugIdIdentifier = "sentry-dbid-3ba0d3f5-a2bc-4d60-b1e2-ef9ad664e38e");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as addressValidators } from "./validate-96E_RrNB.js";
|
|
6
6
|
import { t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
@@ -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] = "11ce2c69-d6aa-460b-b1de-dcce643a3d7d", e._sentryDebugIdIdentifier = "sentry-dbid-11ce2c69-d6aa-460b-b1de-dcce643a3d7d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
@@ -8,12 +8,12 @@ import { y as isEmpty } from "./validatorUtils-D2O6AAZn.js";
|
|
|
8
8
|
import { t as useToggleContext } from "./useToggleContext-B_YexrbT.js";
|
|
9
9
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
10
10
|
import { t as KEYBOARD_KEYS } from "./keys-Ce8YnRP2.js";
|
|
11
|
-
import { n as CountryField } from "./CountryField-
|
|
11
|
+
import { n as CountryField } from "./CountryField-Tnnm6nrT.js";
|
|
12
12
|
import { n as validateJaKanaLegalCompanyName, t as validateJaHaniLegalCompanyName } from "./patternValidators-DsrZkuOO.js";
|
|
13
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
13
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-CJJVQcQs.js";
|
|
14
14
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
15
15
|
import { t as convertFullToHalf } from "./formFieldsUtils-CnDkgahc.js";
|
|
16
|
-
import { r as isJapanLocalizationEnabled } from "./TaxInformationField-
|
|
16
|
+
import { r as isJapanLocalizationEnabled } from "./TaxInformationField-Dr_Lax19.js";
|
|
17
17
|
import { t as toFullWidth } from "./toFullWidth-Dgy4X4i8.js";
|
|
18
18
|
import { useEffect, useState } from "preact/hooks";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -0,0 +1,180 @@
|
|
|
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] = "465e6c99-44a5-49b5-a18f-365af815f710", e._sentryDebugIdIdentifier = "sentry-dbid-465e6c99-44a5-49b5-a18f-365af815f710");
|
|
4
|
+
} catch (e) {}
|
|
5
|
+
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
|
+
import { t as Icon } from "./Icon-DFQgr7dy.js";
|
|
7
|
+
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
+
import { t as Loader } from "./Loader-BVtlpTeo.js";
|
|
9
|
+
import { n as IconButton } from "./Button-PBnEZF18.js";
|
|
10
|
+
import { t as useAnalyticsContext } from "./useAnalyticsContext-gSnRnYgV.js";
|
|
11
|
+
import { d as isNewlyUploadedFile } from "./documentUtils-CxjFpoJB.js";
|
|
12
|
+
import { useEffect } from "preact/hooks";
|
|
13
|
+
import cx from "classnames";
|
|
14
|
+
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
|
+
//#region src/utils/bytesToSize.ts
|
|
16
|
+
function bytesToSize(bytes) {
|
|
17
|
+
const sizes = [
|
|
18
|
+
"Bytes",
|
|
19
|
+
"KB",
|
|
20
|
+
"MB",
|
|
21
|
+
"GB",
|
|
22
|
+
"TB"
|
|
23
|
+
];
|
|
24
|
+
if (bytes === 0) return "n/a";
|
|
25
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
26
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
27
|
+
return `${(bytes / 1024 ** i).toFixed()} ${sizes[i]}`;
|
|
28
|
+
}
|
|
29
|
+
var DropzoneFile_module_default = {
|
|
30
|
+
"dropzone-file": "_dropzone-file_1hbeu_1",
|
|
31
|
+
dropzoneFile: "_dropzone-file_1hbeu_1",
|
|
32
|
+
"dropzone-file-error": "_dropzone-file-error_1hbeu_13",
|
|
33
|
+
dropzoneFileError: "_dropzone-file-error_1hbeu_13",
|
|
34
|
+
"dropzone-file-icon": "_dropzone-file-icon_1hbeu_16",
|
|
35
|
+
dropzoneFileIcon: "_dropzone-file-icon_1hbeu_16",
|
|
36
|
+
"dropzone-file-labels": "_dropzone-file-labels_1hbeu_30",
|
|
37
|
+
dropzoneFileLabels: "_dropzone-file-labels_1hbeu_30",
|
|
38
|
+
"dropzone-file-name": "_dropzone-file-name_1hbeu_36",
|
|
39
|
+
dropzoneFileName: "_dropzone-file-name_1hbeu_36",
|
|
40
|
+
"dropzone-file-size": "_dropzone-file-size_1hbeu_43",
|
|
41
|
+
dropzoneFileSize: "_dropzone-file-size_1hbeu_43",
|
|
42
|
+
"dropzone-file-error-message": "_dropzone-file-error-message_1hbeu_47",
|
|
43
|
+
dropzoneFileErrorMessage: "_dropzone-file-error-message_1hbeu_47"
|
|
44
|
+
};
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/ui/molecules/Dropzone/DropzoneFile.tsx
|
|
47
|
+
function DropzoneFile(props) {
|
|
48
|
+
const { file, errorMessage, onDelete, loading } = props;
|
|
49
|
+
const { t } = useTranslation("common");
|
|
50
|
+
const userEvents = useAnalyticsContext();
|
|
51
|
+
let documentIcon;
|
|
52
|
+
const formatSize = (bytes) => {
|
|
53
|
+
const sizes = [
|
|
54
|
+
"Bytes",
|
|
55
|
+
"KB",
|
|
56
|
+
"MB",
|
|
57
|
+
"GB",
|
|
58
|
+
"TB"
|
|
59
|
+
];
|
|
60
|
+
if (!bytes || bytes === 0) return "n/a";
|
|
61
|
+
const i = parseInt(Math.floor(Math.log(bytes) / Math.log(1024)).toString());
|
|
62
|
+
if (i === 0) return `${bytes} ${sizes[i]}`;
|
|
63
|
+
return `${(bytes / 1024 ** i).toFixed(1)} ${sizes[i]}`;
|
|
64
|
+
};
|
|
65
|
+
switch (file.type?.split("/")[0]) {
|
|
66
|
+
case "image":
|
|
67
|
+
documentIcon = "image";
|
|
68
|
+
break;
|
|
69
|
+
default: documentIcon = "document";
|
|
70
|
+
}
|
|
71
|
+
useEffect(() => {
|
|
72
|
+
if (!errorMessage) return;
|
|
73
|
+
userEvents.addFieldEvent("Encountered error", {
|
|
74
|
+
actionType: "change",
|
|
75
|
+
field: "dropzone file",
|
|
76
|
+
returnType: "validation",
|
|
77
|
+
returnValue: errorMessage
|
|
78
|
+
});
|
|
79
|
+
}, [errorMessage, userEvents]);
|
|
80
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
81
|
+
className: cx(DropzoneFile_module_default.dropzoneFile, { [DropzoneFile_module_default.dropzoneFileError]: errorMessage }),
|
|
82
|
+
children: [/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
|
|
83
|
+
className: DropzoneFile_module_default.dropzoneFileLabels,
|
|
84
|
+
children: [
|
|
85
|
+
errorMessage ? /* @__PURE__ */ jsx(Icon, {
|
|
86
|
+
testId: "document-invalid",
|
|
87
|
+
name: "warning",
|
|
88
|
+
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
89
|
+
}) : /* @__PURE__ */ jsx(Icon, {
|
|
90
|
+
testId: "document-valid",
|
|
91
|
+
name: documentIcon,
|
|
92
|
+
className: DropzoneFile_module_default.dropzoneFileIcon
|
|
93
|
+
}),
|
|
94
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
95
|
+
variant: "body-stronger",
|
|
96
|
+
className: DropzoneFile_module_default.dropzoneFileName,
|
|
97
|
+
children: file.name
|
|
98
|
+
}),
|
|
99
|
+
/* @__PURE__ */ jsx(Typography, {
|
|
100
|
+
className: DropzoneFile_module_default.dropzoneFileSize,
|
|
101
|
+
children: isNewlyUploadedFile(file) && formatSize(file.size)
|
|
102
|
+
})
|
|
103
|
+
]
|
|
104
|
+
}), errorMessage && /* @__PURE__ */ jsx("div", {
|
|
105
|
+
className: DropzoneFile_module_default.dropzoneFileErrorMessage,
|
|
106
|
+
children: t(($) => $[errorMessage])
|
|
107
|
+
})] }), loading ? /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Loader, { size: "medium" }) }) : errorMessage ? /* @__PURE__ */ jsx(IconButton, {
|
|
108
|
+
ariaLabel: t(($) => $["close"]),
|
|
109
|
+
icon: "cross",
|
|
110
|
+
variant: "tertiary",
|
|
111
|
+
onClick: onDelete
|
|
112
|
+
}) : /* @__PURE__ */ jsx(IconButton, {
|
|
113
|
+
ariaLabel: t(($) => $["deleteDocument"]),
|
|
114
|
+
icon: "bin",
|
|
115
|
+
variant: "tertiary",
|
|
116
|
+
onClick: onDelete
|
|
117
|
+
})]
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
//#endregion
|
|
121
|
+
//#region src/utils/hasDuplicates.ts
|
|
122
|
+
var hasDuplicates = (arr) => arr.some((item, currIndex) => arr.indexOf(item) !== currIndex);
|
|
123
|
+
//#endregion
|
|
124
|
+
//#region src/components/ui/molecules/Dropzone/validate.ts
|
|
125
|
+
var defaultFileValidationOptions = {
|
|
126
|
+
allowedFileTypes: [
|
|
127
|
+
"JPG",
|
|
128
|
+
"JPEG",
|
|
129
|
+
"PNG",
|
|
130
|
+
"PDF"
|
|
131
|
+
],
|
|
132
|
+
maxNumberOfFiles: 1,
|
|
133
|
+
maxSize: 4194304,
|
|
134
|
+
isOptional: false
|
|
135
|
+
};
|
|
136
|
+
var filterOnlyNewlyUploadedFiles = (files) => files.filter(isNewlyUploadedFile);
|
|
137
|
+
var fileValidationRules = ({ allowedFileTypes, maxNumberOfFiles, maxSize, isOptional }) => [
|
|
138
|
+
{
|
|
139
|
+
validate: (files) => {
|
|
140
|
+
if (isOptional && (!files || files.length === 0)) return true;
|
|
141
|
+
return Boolean(files && files.length > 0);
|
|
142
|
+
},
|
|
143
|
+
errorMessage: "fieldIsRequired",
|
|
144
|
+
modes: ["blur", "input"]
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
validate: (files) => {
|
|
148
|
+
if (!files) return true;
|
|
149
|
+
return files.length <= maxNumberOfFiles;
|
|
150
|
+
},
|
|
151
|
+
errorMessage: "tooManyFiles",
|
|
152
|
+
modes: ["blur", "input"]
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
validate: (files) => {
|
|
156
|
+
if (!files) return true;
|
|
157
|
+
return !hasDuplicates(files.map((file) => file.name));
|
|
158
|
+
},
|
|
159
|
+
errorMessage: "duplicatedFiles",
|
|
160
|
+
modes: ["blur", "input"]
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
validate: (files) => {
|
|
164
|
+
if (!files) return true;
|
|
165
|
+
return filterOnlyNewlyUploadedFiles(files).every((file) => allowedFileTypes.some((filetype) => file.name.toLowerCase().endsWith(filetype.toLowerCase())));
|
|
166
|
+
},
|
|
167
|
+
errorMessage: "unsupportedFiletype",
|
|
168
|
+
modes: ["blur", "input"]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
validate: (files) => {
|
|
172
|
+
if (!files) return true;
|
|
173
|
+
return filterOnlyNewlyUploadedFiles(files).every((file) => !file.size || file.size < maxSize);
|
|
174
|
+
},
|
|
175
|
+
errorMessage: "maximumFileSizeExceeded",
|
|
176
|
+
modes: ["blur", "input"]
|
|
177
|
+
}
|
|
178
|
+
];
|
|
179
|
+
//#endregion
|
|
180
|
+
export { bytesToSize as i, fileValidationRules as n, DropzoneFile as r, defaultFileValidationOptions as t };
|
|
@@ -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] = "096af428-3ed6-47d8-91bf-67fc6598bbc3", e._sentryDebugIdIdentifier = "sentry-dbid-096af428-3ed6-47d8-91bf-67fc6598bbc3");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-DbATp_35.js";
|
|
6
6
|
import { t as createLogger } from "./logger-Z8AeTE4x.js";
|
|
7
7
|
import { t as Typography } from "./Typography-CAc_f5Iq.js";
|
|
8
|
-
import { n as IconButton, t as Button } from "./Button-
|
|
8
|
+
import { n as IconButton, t as Button } from "./Button-PBnEZF18.js";
|
|
9
9
|
import { r as httpPost, s as useApiContext } from "./http-DsJtugN1.js";
|
|
10
10
|
import { a as objectsDeepEqual, c as valuesOf, s as keysOf } from "./genUtils-nphCwt1A.js";
|
|
11
11
|
import { t as localizeDateString } from "./localizeDateString-Dxlqr4rL.js";
|
|
@@ -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] = "c84a996d-3ada-4177-9be5-d4031a879007", e._sentryDebugIdIdentifier = "sentry-dbid-c84a996d-3ada-4177-9be5-d4031a879007");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
5
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-CsoIs-F1.js";
|
|
6
6
|
//#region src/utils/validationError.ts
|
|
7
7
|
var API_VALIDATION_ERROR_CODE = "30_102";
|
|
8
8
|
var ID_DOCUMENT_UPLOAD_ERROR_CODE = "30_105";
|