@adyen/kyc-components 4.12.0-beta.2 → 4.12.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/{AcceptTermsOfServiceComponent-BmXKwBJ2.js → AcceptTermsOfServiceComponent-BIYgOoqa.js} +1 -1
- package/dist/{AdaptiveWorkflow-DOXgDU37.js → AdaptiveWorkflow-D3WOUCtY.js} +7 -7
- package/dist/{AdaptiveWorkflowComponent-B9wnGZIS.js → AdaptiveWorkflowComponent-Bpm3fL_H.js} +1 -1
- package/dist/{Address-BIkbA4oz.js → Address-CHpJLi-Q.js} +4 -4
- package/dist/{BusinessFinancingDropin-CmhnkYM7.js → BusinessFinancingDropin-VodFOFP9.js} +5 -5
- package/dist/{BusinessFinancingPage-D1T4r5Pr.js → BusinessFinancingPage-CRPspsfV.js} +1 -1
- package/dist/{BusinessTypeSelectionPage-Dy-T06MZ.js → BusinessTypeSelectionPage-D-Mbk28l.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DcFA3T_C.js → CompanyRegistrationNumberTypeSelector-CeRtLSxc.js} +3 -3
- package/dist/{ConstitutionalDocument-BU-JqNh8.js → ConstitutionalDocument-Jqgyahcj.js} +6 -6
- package/dist/{ContactDetails-IyepRqya.js → ContactDetails-C3MS4diz.js} +2 -2
- package/dist/{Currency-CXE0er4o.js → Currency-BbWaBY8A.js} +1 -1
- package/dist/{CustomerSupport-DeOs_mYl.js → CustomerSupport-Cq2yBN4K.js} +2 -2
- package/dist/{DebugModal-CmSDLbhX.js → DebugModal-CuioSqKQ.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-BSMWJjYw.js → DecisionMakerDetailsPage-BsKqMepM.js} +1 -1
- package/dist/{Dropzone-C_RxspA0.js → Dropzone-D8gz-OLM.js} +1 -1
- package/dist/{IndividualDropin-DT7IWnGY.js → IndividualDropin-Cx16d1Oo.js} +14 -14
- package/dist/{InvitedDecisionMakerComponent-CuNbKLFg.js → InvitedDecisionMakerComponent-CfWqrjQk.js} +1 -1
- package/dist/{JpAddress-aB1psW_4.js → JpAddress-CL6tkvUL.js} +4 -4
- package/dist/{LegalCompanyNameField-D13mugGD.js → LegalCompanyNameField-Dgn4iOVN.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-_P6eMHwI.js → LegalRepresentativeDetailsPage-DhEKvu-y.js} +1 -1
- package/dist/{MaskedInput-yF8Va2s-.js → MaskedInput-uN8G9HRq.js} +1 -1
- package/dist/{PayoutDetailsDropinMultiForm-mslWvzPG.js → PayoutDetailsDropinMultiForm-Bm-PbnDN.js} +8 -8
- package/dist/{PayoutDetailsPage-BkToeDcw.js → PayoutDetailsPage-t9H1HAV3.js} +2 -2
- package/dist/{RootBusinessDetailsPage-Dgmwg9wz.js → RootBusinessDetailsPage-CLAEGMGe.js} +1 -1
- package/dist/{RootBusinessLinesPage-C68iu5E_.js → RootBusinessLinesPage-vX2RdR1q.js} +5 -5
- package/dist/{RootIndividualDetailsPage-BJReW5o6.js → RootIndividualDetailsPage-Cs-601aX.js} +1 -1
- package/dist/{SignPCIComponent-CZYZdB13.js → SignPCIComponent-C91NFrWs.js} +2 -2
- package/dist/{SingpassSelection-BlhAPO0J.js → SingpassSelection-Bksn6t52.js} +1 -1
- package/dist/{SoleProprietorshipPage-DMu_gDrM.js → SoleProprietorshipPage-itbv_RaA.js} +1 -1
- package/dist/{SourceOfFundsPage-KlXCJuAm.js → SourceOfFundsPage-GTMmyUv0.js} +4 -4
- package/dist/{Summary-_8R9bNbC.js → Summary-DZq5UKMv.js} +1 -1
- package/dist/{TaxInformationField-CpAnwaT5.js → TaxInformationField-CJyqFS0F.js} +4 -4
- package/dist/{TaxReportingDropin-Cb8Yie_s.js → TaxReportingDropin-BMYbiHlX.js} +3 -3
- package/dist/{TrustDetailsPage-DqXx70Jt.js → TrustDetailsPage-ByWKgzze.js} +9 -9
- package/dist/{TrustMemberCompanyPage-eo3-blVn.js → TrustMemberCompanyPage-Dsy0hA-v.js} +1 -1
- package/dist/{TrustMemberIndividualPage-DQYfrXE3.js → TrustMemberIndividualPage-BiwagdFl.js} +1 -1
- package/dist/{TrustMemberRoleAndTypePage-tO8aZBsn.js → TrustMemberRoleAndTypePage-B6CAPw_I.js} +4 -4
- package/dist/{UnincorporatedPartnershipIndividualPage-CjeoxC6C.js → UnincorporatedPartnershipIndividualPage-BNrgepSe.js} +1 -1
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BZlTmaDf.js → UnincorporatedPartnershipMemberCompanyPage-DDUZRNLG.js} +1 -1
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DOgq2QPn.js → UnincorporatedPartnershipMemberRoleAndTypePage-DvhPYL9l.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +25 -25
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +1 -1
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{constants-BP_AS8q8.js → constants-BK5Bx2Pg.js} +1 -1
- package/dist/{jpAddressSchema-DKog89sS.js → jpAddressSchema-wrMPYgVe.js} +2 -4
- package/dist/{omitObscuredFieldsIfUnchanged-DHj0MQUt.js → omitObscuredFieldsIfUnchanged-BW0ZhOk7.js} +1 -1
- package/dist/{patternValidators-qLt-ffGc.js → patternValidators-DMnU4iGe.js} +1 -1
- package/dist/{resolveEnvironment-BRGmVfCi.js → resolveEnvironment-BmgzZ_BL.js} +6 -6
- package/dist/{useBusinessDetailsData-rHN8vB4P.js → useBusinessDetailsData-B6r90q4T.js} +16 -16
- package/dist/{useForm-D3oGxnhN.js → useForm-DzG9tJAE.js} +1 -1
- package/dist/{useFormContext-Bt0K_c_v.js → useFormContext-Cu4dKSCy.js} +1 -1
- package/dist/{useMultiForm-BBawkDjy.js → useMultiForm-tpVMuqHM.js} +1 -1
- package/dist/{useNavigate-CJe85F94.js → useNavigate-GmEmf-To.js} +24 -24
- package/dist/{utils-B_QDWpRc.js → utils-CkQJVYhR.js} +2 -2
- package/dist/{validate-DTetUuT7.js → validate-BQEVyhkI.js} +1 -1
- package/dist/{validate-BC1f_rgO.js → validate-_5wbUbU9.js} +1 -1
- package/dist/{validatorUtils-D5MKiGfL.js → validatorUtils-Dz6AklT-.js} +2 -2
- package/package.json +1 -1
|
@@ -10,7 +10,7 @@ import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
|
10
10
|
import { t as useAccountHolder } from "./useAccountHolder-BUQwFdWW.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-DzwVt0W0.js";
|
|
12
12
|
import { c as entriesOf, i as drop, l as keysOf, o as objectsDeepEqual, r as doArraysMatch } from "./AnalyticsContext-C0HNdPss.js";
|
|
13
|
-
import { S as isUndefinedOrNull, b as isISIN, y as isEmpty } from "./validatorUtils-
|
|
13
|
+
import { S as isUndefinedOrNull, b as isISIN, y as isEmpty } from "./validatorUtils-Dz6AklT-.js";
|
|
14
14
|
import { t as useToggleContext } from "./useToggleContext-CLfowItk.js";
|
|
15
15
|
import { t as StackLayout } from "./StackLayout-BMQXXBDb.js";
|
|
16
16
|
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-jBBIJN_A.js";
|
|
@@ -39,28 +39,28 @@ import { t as HandlerContext } from "./HandlerContext-J3b0CZCH.js";
|
|
|
39
39
|
import { t as useScenarios } from "./useScenarios-Bb-EhIep.js";
|
|
40
40
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-C149Z7Xu.js";
|
|
41
41
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CUs6TYPF.js";
|
|
42
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfig, n as STATE_FIELD, r as StateField, t as Address } from "./Address-
|
|
43
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
42
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfig, n as STATE_FIELD, r as StateField, t as Address } from "./Address-CHpJLi-Q.js";
|
|
43
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-Cu4dKSCy.js";
|
|
44
44
|
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-B8wJu-eM.js";
|
|
45
45
|
import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
|
|
46
46
|
import { t as ErrorPanel } from "./ErrorPanel-5g1eTEVD.js";
|
|
47
47
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-DERTAXyh.js";
|
|
48
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
49
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
48
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-DZq5UKMv.js";
|
|
49
|
+
import { t as useMultiForm } from "./useMultiForm-tpVMuqHM.js";
|
|
50
50
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BeFexL6Z.js";
|
|
51
51
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-DCdJo64z.js";
|
|
52
|
-
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
52
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-uN8G9HRq.js";
|
|
53
53
|
import { r as mapJpAddressSummaryNewSummary, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CTGQ1JHC.js";
|
|
54
54
|
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-DLDyhf2J.js";
|
|
55
55
|
import { i as isValidationError, n as isBusinessSelectionLegalArrangementError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-Dr0g0lGN.js";
|
|
56
56
|
import { c as getDocument, l as getDocuments, o as createDocumentRequest, p as mergeProofOfOwnershipAttachments, s as documentApiUtils, u as getFileExtention } from "./validate-DlG5LXuM.js";
|
|
57
57
|
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
58
|
-
import { a as getFieldsWithExistingData, n as TaxInformationField, r as MemoizedDocumentUpload, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
58
|
+
import { a as getFieldsWithExistingData, n as TaxInformationField, r as MemoizedDocumentUpload, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-CJyqFS0F.js";
|
|
59
59
|
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-BjabsTWv.js";
|
|
60
60
|
import { t as uppercase } from "./uppercase-DKruhEuk.js";
|
|
61
|
-
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
62
|
-
import { S as taxInformationDefaultFieldMetadata, b as getTaxInformationPlaceholderText, c as isUsingCompanySearch, d as getCountryOfGoverningLaw, f as requestingBanking, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, p as requestingIssuing, s as isRegistrationNumberAbsentStateV4Scenario, u as countryToTaxInfoTypeMap, x as taxInformationDefaultFieldConfig } from "./utils-
|
|
63
|
-
import { c as useAddressCleanse, s as formatAddressForCleanse } from "./validate-
|
|
61
|
+
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-DMnU4iGe.js";
|
|
62
|
+
import { S as taxInformationDefaultFieldMetadata, b as getTaxInformationPlaceholderText, c as isUsingCompanySearch, d as getCountryOfGoverningLaw, f as requestingBanking, g as getValidCompanyTypesForTaxIdNumberType, h as getTaxIdNumberOptions, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, o as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, p as requestingIssuing, s as isRegistrationNumberAbsentStateV4Scenario, u as countryToTaxInfoTypeMap, x as taxInformationDefaultFieldConfig } from "./utils-CkQJVYhR.js";
|
|
63
|
+
import { c as useAddressCleanse, s as formatAddressForCleanse } from "./validate-BQEVyhkI.js";
|
|
64
64
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
65
65
|
import { t as Field } from "./Field-BEqknhTe.js";
|
|
66
66
|
import { t as TileGroup } from "./TileGroup-COge4hw4.js";
|
|
@@ -80,16 +80,16 @@ import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiS
|
|
|
80
80
|
import { t as currencyByCountry } from "./types-DjplYXLf.js";
|
|
81
81
|
import { t as Divider } from "./Divider-DHTBXv3p.js";
|
|
82
82
|
import { t as DetailViewLayout } from "./DetailViewLayout-H4b1E5Ih.js";
|
|
83
|
-
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-
|
|
83
|
+
import { a as LegalFormField, i as InputCurrency, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD } from "./Currency-BbWaBY8A.js";
|
|
84
84
|
import { n as SummarySection, t as NewSummary } from "./NewSummary-BQHtEgHV.js";
|
|
85
85
|
import { t as useTaskStatus } from "./useTaskStatus-DzJWcN_l.js";
|
|
86
86
|
import { t as ListItem } from "./ListItem-ByYbZdGG.js";
|
|
87
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
87
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-CeRtLSxc.js";
|
|
88
88
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-BUFe2lBW.js";
|
|
89
89
|
import { A as formatCurrency, t as ALLOWED_SOF_SERVICES } from "./utils-eDM77TZ4.js";
|
|
90
|
-
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig$1, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, l as defaultFieldMetadata$1, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument, u as vatAbsenceReasonMetadata } from "./ConstitutionalDocument-
|
|
91
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
92
|
-
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
90
|
+
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig$1, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, l as defaultFieldMetadata$1, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument, u as vatAbsenceReasonMetadata } from "./ConstitutionalDocument-Jqgyahcj.js";
|
|
91
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-BK5Bx2Pg.js";
|
|
92
|
+
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-Dgn4iOVN.js";
|
|
93
93
|
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-Cj9-IRaT.js";
|
|
94
94
|
import { Suspense, lazy } from "preact/compat";
|
|
95
95
|
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";
|
|
@@ -4024,7 +4024,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4024
4024
|
}
|
|
4025
4025
|
//#endregion
|
|
4026
4026
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4027
|
-
var LazyJpAddress = lazy(async () => (await import("./JpAddress-
|
|
4027
|
+
var LazyJpAddress = lazy(async () => (await import("./JpAddress-CL6tkvUL.js")).JpAddress);
|
|
4028
4028
|
var ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
4029
4029
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4030
4030
|
...DBA_NAME_FIELD,
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-Br5wIPO-.js";
|
|
6
6
|
import { r as doArraysMatch } from "./AnalyticsContext-C0HNdPss.js";
|
|
7
|
-
import { y as isEmpty } from "./validatorUtils-
|
|
7
|
+
import { y as isEmpty } from "./validatorUtils-Dz6AklT-.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-BC9WLYOC.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
@@ -10,7 +10,7 @@ import { t as Confirm } from "./Confirm-BqhBxIWm.js";
|
|
|
10
10
|
import { t as formDebugInfo } from "./debugStore-BVjLDPIU.js";
|
|
11
11
|
import { r as FormRouterContext } from "./ErrorPanel-5g1eTEVD.js";
|
|
12
12
|
import { t as trackNavigation } from "./trackNavigation-LvCP5Vyc.js";
|
|
13
|
-
import { n as summaryStep, t as Summary } from "./Summary-
|
|
13
|
+
import { n as summaryStep, t as Summary } from "./Summary-DZq5UKMv.js";
|
|
14
14
|
import { t as MaybeModal } from "./MaybeModal-DkRlF_Mg.js";
|
|
15
15
|
import { t as ProgressBar } from "./ProgressBar-DrvdkkV2.js";
|
|
16
16
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-Br5wIPO-.js";
|
|
6
6
|
import { o as objectsDeepEqual } from "./AnalyticsContext-C0HNdPss.js";
|
|
7
|
-
import { y as isEmpty } from "./validatorUtils-
|
|
7
|
+
import { y as isEmpty } from "./validatorUtils-Dz6AklT-.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-BC9WLYOC.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useMultiForm/reducer.ts
|
|
@@ -26,35 +26,35 @@ var hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/router/routeConfig.ts
|
|
28
28
|
var Introduction = lazy(async () => (await import("./Introduction-DtL0bA4R.js")).Introduction);
|
|
29
|
-
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-
|
|
30
|
-
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-
|
|
31
|
-
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-
|
|
29
|
+
var Adaptive = lazy(async () => (await import("./AdaptiveWorkflow-D3WOUCtY.js")).AdaptiveWorkflow);
|
|
30
|
+
var BusinessTypeSelectionPage = lazy(async () => (await import("./BusinessTypeSelectionPage-D-Mbk28l.js")).BusinessTypeSelectionPage);
|
|
31
|
+
var SingpassSelection = lazy(async () => (await import("./SingpassSelection-Bksn6t52.js")).SingpassSelection);
|
|
32
32
|
var AccountSetupRejected = lazy(async () => (await import("./AccountSetupRejected-_VNh1Xj4.js")).AccountSetupRejected);
|
|
33
33
|
var DecisionMakers = lazy(async () => (await import("./DecisionMakers-c0L12DVq.js").then((n) => n.n)).DecisionMakers);
|
|
34
|
-
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-
|
|
34
|
+
var CustomerSupport = lazy(async () => (await import("./CustomerSupport-Cq2yBN4K.js")).CustomerSupport);
|
|
35
35
|
var Review = lazy(async () => (await import("./Review-BjMmCI8_.js")).Review);
|
|
36
|
-
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-
|
|
37
|
-
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-
|
|
38
|
-
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-
|
|
39
|
-
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-
|
|
40
|
-
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-
|
|
41
|
-
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-
|
|
42
|
-
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-
|
|
43
|
-
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-
|
|
44
|
-
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-
|
|
45
|
-
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-
|
|
36
|
+
var SignPCIComponent = lazy(async () => (await import("./SignPCIComponent-C91NFrWs.js").then((n) => n.n)).SignPCIComponent);
|
|
37
|
+
var AcceptTermsOfService = lazy(async () => (await import("./AcceptTermsOfServiceComponent-BIYgOoqa.js").then((n) => n.n)).AcceptTermsOfServiceComponent);
|
|
38
|
+
var TaxReportingDropin = lazy(async () => (await import("./TaxReportingDropin-BMYbiHlX.js").then((n) => n.n)).TaxReportingDropin);
|
|
39
|
+
var PayoutDetailsPage = lazy(async () => (await import("./PayoutDetailsPage-t9H1HAV3.js")).PayoutDetailsPage);
|
|
40
|
+
var RootBusinessDetailsPage = lazy(async () => (await import("./RootBusinessDetailsPage-CLAEGMGe.js")).RootBusinessDetailsPage);
|
|
41
|
+
var RootBusinessLinesPage = lazy(async () => (await import("./RootBusinessLinesPage-vX2RdR1q.js")).RootBusinessLinesPage);
|
|
42
|
+
var SoleProprietorshipPage = lazy(async () => (await import("./SoleProprietorshipPage-itbv_RaA.js")).SoleProprietorshipPage);
|
|
43
|
+
var TrustMemberCompanyPage = lazy(async () => (await import("./TrustMemberCompanyPage-Dsy0hA-v.js")).TrustMemberCompanyPage);
|
|
44
|
+
var TrustMemberIndividualPage = lazy(async () => (await import("./TrustMemberIndividualPage-BiwagdFl.js")).TrustMemberIndividualPage);
|
|
45
|
+
var TrustMemberRoleAndTypePage = lazy(async () => (await import("./TrustMemberRoleAndTypePage-B6CAPw_I.js")).TrustMemberRoleAndTypePage);
|
|
46
46
|
var TrustMembersOverview = lazy(async () => (await import("./TrustMembersOverview-sPSvGI74.js")).TrustMembersOverview);
|
|
47
|
-
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
48
|
-
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
49
|
-
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
47
|
+
var UnincorporatedPartnershipMemberCompanyPage = lazy(async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-DDUZRNLG.js")).UnincorporatedPartnershipMemberCompanyPage);
|
|
48
|
+
var UnincorporatedPartnershipIndividualPage = lazy(async () => (await import("./UnincorporatedPartnershipIndividualPage-BNrgepSe.js")).UnincorporatedPartnershipIndividualPage);
|
|
49
|
+
var UnincorporatedPartnershipMemberRoleAndTypePage = lazy(async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-DvhPYL9l.js")).UnincorporatedPartnershipMemberRoleAndTypePage);
|
|
50
50
|
var UnincorporatedPartnershipMembersOverview = lazy(async () => (await import("./UnincorporatedPartnershipMembersOverview-MeqDhQz7.js")).UnincorporatedPartnershipMembersOverview);
|
|
51
|
-
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-
|
|
52
|
-
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-
|
|
53
|
-
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-
|
|
54
|
-
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-
|
|
55
|
-
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-
|
|
56
|
-
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-
|
|
57
|
-
lazy(async () => (await import("./InvitedDecisionMakerComponent-
|
|
51
|
+
var BusinessFinancingPage = lazy(async () => (await import("./BusinessFinancingPage-CRPspsfV.js")).BusinessFinancingPage);
|
|
52
|
+
var TrustDetailsPage = lazy(async () => (await import("./TrustDetailsPage-ByWKgzze.js")).TrustDetailsPage);
|
|
53
|
+
var SourceOfFundsPage = lazy(async () => (await import("./SourceOfFundsPage-GTMmyUv0.js").then((n) => n.n)).SourceOfFundsPage);
|
|
54
|
+
var RootIndividualDetailsPage = lazy(async () => (await import("./RootIndividualDetailsPage-Cs-601aX.js")).RootIndividualDetailsPage);
|
|
55
|
+
var LegalRepresentativeDetailsPage = lazy(async () => (await import("./LegalRepresentativeDetailsPage-DhEKvu-y.js")).LegalRepresentativeDetailsPage);
|
|
56
|
+
var DecisionMakerDetailsPage = lazy(async () => (await import("./DecisionMakerDetailsPage-BsKqMepM.js")).DecisionMakerDetailsPage);
|
|
57
|
+
lazy(async () => (await import("./InvitedDecisionMakerComponent-CfWqrjQk.js").then((n) => n.n)).InvitedDecisionMakerComponent);
|
|
58
58
|
var ROUTE_CONFIG = {
|
|
59
59
|
[TaskTypes.ADAPTIVE]: {
|
|
60
60
|
path: "/adaptive",
|
|
@@ -9,11 +9,11 @@ import { t as CountryCodes } from "./country-code-D3oCpE4i.js";
|
|
|
9
9
|
import { t as TaskTypes } from "./taskTypes-DWaxzvnQ.js";
|
|
10
10
|
import { t as SettingNames } from "./types-BklAlvuU.js";
|
|
11
11
|
import { t as CompanyTypesValues } from "./company-types-value-B-nraMaa.js";
|
|
12
|
-
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-
|
|
12
|
+
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, u as spacer } from "./MaskedInput-uN8G9HRq.js";
|
|
13
13
|
import { c as COUNTRIES_WITH_STATES_DATASET } from "./utils-DLDyhf2J.js";
|
|
14
14
|
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-BjabsTWv.js";
|
|
15
15
|
import { t as uppercase } from "./uppercase-DKruhEuk.js";
|
|
16
|
-
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-
|
|
16
|
+
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
17
17
|
import { t as Field } from "./Field-BEqknhTe.js";
|
|
18
18
|
import { t as RadioGroup } from "./RadioGroup-XuCtbRrH.js";
|
|
19
19
|
import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-Br5wIPO-.js";
|
|
6
6
|
import { r as httpPost, s as useApiContext } from "./http-CHTzpXCd.js";
|
|
7
|
-
import { C as isValidMinLength, D as trimValWithOneSpace, _ as hasText, a as NO_ALPHABET_REGEX, c as SPECIAL_CHARS, f as getFormattingRegEx, g as hasRepeatedCharacters, h as hasMaximumTwoRepeatedCharacters, l as chomeAndBanchiValidator, n as EMOJI_REGEX, o as NO_ALPHABET_UNICODE_REGEX, t as ADDRESS_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName } from "./validatorUtils-
|
|
7
|
+
import { C as isValidMinLength, D as trimValWithOneSpace, _ as hasText, a as NO_ALPHABET_REGEX, c as SPECIAL_CHARS, f as getFormattingRegEx, g as hasRepeatedCharacters, h as hasMaximumTwoRepeatedCharacters, l as chomeAndBanchiValidator, n as EMOJI_REGEX, o as NO_ALPHABET_UNICODE_REGEX, t as ADDRESS_VALID_CHAR_REGEX, w as matchesRegex, x as isInvalidName } from "./validatorUtils-Dz6AklT-.js";
|
|
8
8
|
import { t as CountryCodes } from "./country-code-D3oCpE4i.js";
|
|
9
9
|
import { useCallback } from "preact/hooks";
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
@@ -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] = "916e57da-ab6a-4df0-a6bd-27baeccc4684", e._sentryDebugIdIdentifier = "sentry-dbid-916e57da-ab6a-4df0-a6bd-27baeccc4684");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as hasText } from "./validatorUtils-
|
|
5
|
+
import { _ as hasText } from "./validatorUtils-Dz6AklT-.js";
|
|
6
6
|
//#region src/components/EFP/tasks/BusinessFinancingDropin/validate.ts
|
|
7
7
|
var validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
8
8
|
if (!legalEntityIdentifier) return true;
|
|
@@ -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] = "bb0b4db1-0d11-44fd-aa89-f91c697e8ace", e._sentryDebugIdIdentifier = "sentry-dbid-bb0b4db1-0d11-44fd-aa89-f91c697e8ace");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var MAX_LENGTH = 30;
|
|
6
6
|
var getMaxLengthByFieldAndCountry = (formattingRules, field, country, ignoreIfFormatterExists) => {
|
|
@@ -65,7 +65,7 @@ var standardKatakanaValidator = (input) => {
|
|
|
65
65
|
return !isEmpty(input) && regex.test(input);
|
|
66
66
|
};
|
|
67
67
|
var chomeAndBanchiValidator = (input) => {
|
|
68
|
-
const regex = /* @__PURE__ */ new RegExp("^([0-9]{1,
|
|
68
|
+
const regex = /* @__PURE__ */ new RegExp("^([0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}|[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4}-[0-9]{1,4})$");
|
|
69
69
|
return !isEmpty(input) && regex.test(input);
|
|
70
70
|
};
|
|
71
71
|
function assertString(input) {
|