@adyen/kyc-components 3.95.2 → 3.95.4
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-Zcq9Y81M.js → AcceptTermsOfServiceComponent-CyAdYvof.js} +17 -16
- package/dist/{Accordion-BSQ1B_Vg.js → Accordion-CLl9yDbj.js} +2 -2
- package/dist/{AccountSetupRejected-B60QX3vL.js → AccountSetupRejected-CtayA1XN.js} +3 -3
- package/dist/{ActionBar-C2bjHfwa.js → ActionBar-BakrByt7.js} +2 -2
- package/dist/{Address-BVb7bqXs.js → Address-rMQzSgHi.js} +12 -11
- package/dist/{Alert-D7JCT_AK.js → Alert-CGHKVs_Y.js} +3 -3
- package/dist/{Avatar-CJN9Db3A.js → Avatar-Jgq35XfX.js} +1 -1
- package/dist/{BusinessFinancingComponent-CbDdfU4F.js → BusinessFinancingComponent-CLvMJc5T.js} +5 -5
- package/dist/{BusinessFinancingDropin-hSVRZZVH.js → BusinessFinancingDropin-B26q5fyW.js} +29 -29
- package/dist/{BusinessFinancingPage-CSUB6DCm.js → BusinessFinancingPage-hk_il4GU.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-CHzG3n_w.js → BusinessTypeSelectionPage-Cwz5d2GI.js} +9 -9
- package/dist/{Checkbox-BV9HDged.js → Checkbox-Kj319DvI.js} +1 -1
- package/dist/{Confirm-CAXizvpm.js → Confirm-BDx4DARU.js} +3 -3
- package/dist/{ConstitutionalDocument-TKcmtxaX.js → ConstitutionalDocument-nr-eJyAP.js} +20 -20
- package/dist/{ContactDetails-BvAlR51x.js → ContactDetails-CUsLuLLM.js} +8 -8
- package/dist/{ContextGuidance-CIyMKojP.js → ContextGuidance-B2Skz43t.js} +2 -2
- package/dist/{CountryField-DWe2xxyY.js → CountryField-Cu_Zj19n.js} +5 -5
- package/dist/{CreateIndividualComponent-BYutFtya.js → CreateIndividualComponent-B7LkIMF-.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-BfTHk-YK.js → CreateTransferInstrumentComponent-BEEhtXQr.js} +4 -4
- package/dist/{Currency-Df-C-4aK.js → Currency-D0RqSEIr.js} +7 -7
- package/dist/{CustomerSupport-CSUwLn6A.js → CustomerSupport-DU99S5R6.js} +11 -11
- package/dist/{DebugModal-Dx3eQJLZ.js → DebugModal-BUfeDOCg.js} +10 -9
- package/dist/{DecisionMakerDetailsPage-DtP-2rMr.js → DecisionMakerDetailsPage-DoBjkRrB.js} +7 -6
- package/dist/{DecisionMakers-InkdbpYz.js → DecisionMakers-ZtLo8rNX.js} +23 -22
- package/dist/{Dropzone-2eXf29y9.js → Dropzone-DWZpoe_R.js} +4 -4
- package/dist/{EmbeddedStatus-CKQACFuP.js → EmbeddedStatus-BUawbyx6.js} +3 -3
- package/dist/{EndStateLayout-Bmn_O-cI.js → EndStateLayout-DpHvRx4c.js} +2 -2
- package/dist/{EntityAssociation-vnPo41f3.js → EntityAssociation-OCdPRQlJ.js} +6 -6
- package/dist/{EntityGuidanceStatus-DR4Ko1Ub.js → EntityGuidanceStatus-OCKZ47r8.js} +3 -3
- package/dist/{ErrorPanel-BAiuNXz2.js → ErrorPanel-CtR1LtVN.js} +3 -3
- package/dist/{Field-BXaC3VUQ.js → Field-DRmDwrQ-.js} +2 -2
- package/dist/{FormNavigation-MBB6xel9.js → FormNavigation-BKpHD4Jl.js} +3 -3
- package/dist/{FormWrapper-Dko5aLCQ.js → FormWrapper-CCoEBDGE.js} +11 -11
- package/dist/{Header-BJ085a33.js → Header-B3ziBi8Y.js} +2 -2
- package/dist/{Image-C_9I7RC6.js → Image-BVeV-5be.js} +1 -1
- package/dist/{Individual.rules-DB7wzn8Z.js → Individual.rules-BZ2yDf4Q.js} +9 -8
- package/dist/{IndividualDropin-BWzCsoaz.js → IndividualDropin-Bb4FDtZx.js} +62 -58
- package/dist/{InputDate-B6qbs7I4.js → InputDate-CsI6PUQk.js} +2 -2
- package/dist/{InputText-dmUDw-zK.js → InputText-BaCtWHri.js} +2 -2
- package/dist/{Introduction-7BQBl85Q.js → Introduction-Bo_ug8UD.js} +4 -4
- package/dist/{JpAddress-OllTZjMq.js → JpAddress-BJPmBcB1.js} +10 -9
- package/dist/{LandingLayout-Dqe63LaQ.js → LandingLayout-BrNn0d5D.js} +2 -2
- package/dist/{LegalCompanyNameField-DBYgdGBv.js → LegalCompanyNameField-BsQAMM1-.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-D4z9illa.js → LegalRepresentativeDetailsPage-BVqqzAlc.js} +4 -4
- package/dist/{Link-DxDkw-Yo.js → Link-KMdJgWXD.js} +1 -1
- package/dist/{ListItem-bjlZSj8w.js → ListItem-DAZwi9Qp.js} +3 -3
- package/dist/{LoaderWrapper-CjaaUXho.js → LoaderWrapper-DWLzdrbZ.js} +1 -1
- package/dist/{ManageIndividualComponent-CUqNDovV.js → ManageIndividualComponent-Um3nJoWg.js} +5 -5
- package/dist/{ManageTermsOfServiceComponent-DTY0zX7-.js → ManageTermsOfServiceComponent-BK2k1fz0.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CYUpUBt_.js → ManageTransferInstrumentComponent-B1bGgZ-G.js} +13 -13
- package/dist/{MaskedInput-4IBzSBq9.js → MaskedInput-DGVfqypb.js} +5 -5
- package/dist/{MaybeModal-gXtmVUHf.js → MaybeModal-IfMAkFXW.js} +3 -3
- package/dist/{Modal-BGR5BPPw.js → Modal-B9zPqjW9.js} +1 -1
- package/dist/{Name-HdWViTxQ.js → Name-yKM0wIlk.js} +5 -5
- package/dist/{OnboardingDropinComponent-B7GNRo4U.js → OnboardingDropinComponent-BvEn4B71.js} +58 -57
- package/dist/{PayoutDetailsDropin-BNTOxWj2.js → PayoutDetailsDropin-Cm7NcTr1.js} +51 -44
- package/dist/{RadioGroup-DFAArl02.js → RadioGroup-CwTuKGS3.js} +2 -2
- package/dist/{RadioGroupCard-BFBNX8l1.js → RadioGroupCard-cXE3h2iU.js} +2 -2
- package/dist/{Review-D41u3QUC.js → Review-BZepyHMa.js} +7 -7
- package/dist/{RootBusinessDetailsPage-BFGXGfLq.js → RootBusinessDetailsPage-YMseMsV7.js} +4 -4
- package/dist/{RootBusinessLinesPage-D9W4g1fq.js → RootBusinessLinesPage-rg9wOc30.js} +28 -27
- package/dist/{RootIndividualDetailsPage-DMdtgWHb.js → RootIndividualDetailsPage-ZNzDjpzq.js} +4 -4
- package/dist/{Select-CQyMSMip.js → Select-C0tE-vKh.js} +4 -4
- package/dist/{SignPCIComponent-CpqT7dlL.js → SignPCIComponent-C7N8ECb_.js} +11 -11
- package/dist/{SingpassSelection-B1d2Lb1b.js → SingpassSelection-T_wVDESp.js} +6 -6
- package/dist/{SoleProprietorshipPage-F3B_pBR9.js → SoleProprietorshipPage-CgkxGLWO.js} +4 -4
- package/dist/{SourceOfFundsPage-D0wpv9lc.js → SourceOfFundsPage-sqSIh8wO.js} +33 -33
- package/dist/{StepProgressIndicator-Bn2mks-0.js → StepProgressIndicator-D-uWXnBJ.js} +2 -2
- package/dist/{StoreProvider-BxCgVrBJ.js → StoreProvider-nSv6l_V3.js} +92 -92
- package/dist/{Summary-CZhQXS1V.js → Summary-nNOR2Ges.js} +6 -6
- package/dist/{TaskVerificationStatus-DwpfBGx2.js → TaskVerificationStatus-CV4Us-y5.js} +6 -2
- package/dist/{TaxInformationField-kU9yU4pC.js → TaxInformationField-Bv0J_X-v.js} +41 -25
- package/dist/{TaxReportingDropin-l3YdQ0yk.js → TaxReportingDropin-Ceu74YYC.js} +16 -16
- package/dist/{TextArea-CryhwKuL.js → TextArea-CJPxjGxS.js} +2 -2
- package/dist/{TileGroup-ByUVi7r-.js → TileGroup-CMGiqNFf.js} +3 -3
- package/dist/{TrustDetailsPage-D7CLs2T3.js → TrustDetailsPage-0bAEEn20.js} +35 -34
- package/dist/{TrustMemberCompanyPage-K5t6-bXq.js → TrustMemberCompanyPage-DKZ5ztdD.js} +5 -5
- package/dist/{TrustMemberIndividualPage-DGiEXZWM.js → TrustMemberIndividualPage-c3pV4HD0.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-CyMCrqqX.js → TrustMemberRoleAndTypePage-DUoxogbk.js} +23 -22
- package/dist/{TrustMembersOverview-DigwKAsU.js → TrustMembersOverview-F7y8xG2I.js} +13 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-DKyLG889.js → UnincorporatedPartnershipIndividualPage-DQTie9RO.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DMijJILN.js → UnincorporatedPartnershipMemberCompanyPage-BL3Ip8e0.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-ChpzKo-v.js → UnincorporatedPartnershipMemberRoleAndTypePage-BI3Y_nGL.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-CLT7xgn6.js → UnincorporatedPartnershipMembersOverview-DGyLKyif.js} +9 -9
- package/dist/{VerificationErrorAlert-Dxs07ATi.js → VerificationErrorAlert-CuR2Xior.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-D-Dvq_iH.js → ViewVerificationStatusComponent-A-L76FWC.js} +4 -4
- package/dist/{accountHolderUtils-CTCwaErP.js → accountHolderUtils-BLYnlzwl.js} +2 -2
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-invited-decision-maker.js +5 -5
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- 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 +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{bafinUtils-C_6VzgWr.js → bafinUtils-idsgNrjI.js} +2 -2
- package/dist/{commonValidators-BW6M6fz8.js → commonValidators-K63mLUg_.js} +2 -2
- package/dist/{dropinUtils-kWF_9rjY.js → dropinUtils-DgYJxfCT.js} +4 -4
- package/dist/{formUtils-Ce3-DHLD.js → formUtils-aaoL5WGS.js} +3 -3
- package/dist/{getName-Qxzrw_pp.js → getName-BKJQ_4Ug.js} +2 -2
- package/dist/{getProblemsForEntity-C5VBRRlp.js → getProblemsForEntity-CYyIhdjZ.js} +2 -2
- package/dist/{iframeWidget-Duz_UkLi.js → iframeWidget-CY_YXWui.js} +4 -4
- package/dist/{isEmpty-DY514l1f.js → isEmpty-kzK_JwCW.js} +2 -2
- package/dist/japanSupportUtils-CFr8LiUb.js +16 -0
- package/dist/{localizeDateString-OU4Y52Ks.js → localizeDateString-Cr7mMfqI.js} +2 -2
- package/dist/{mapExistingFile-BJ5H97Ar.js → mapExistingFile-YMzW8ggG.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DKgPh9AH.js → mapJpAddressSchemaToAddressLocalizations-V8CE9OJ-.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-B2OxYIVb.js → mapLegalEntityToIndividualSchema-C8IXhurA.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CNeY7WcU.js → mapTransferInstrumentToPayoutAccount-BCYHte9N.js} +2 -2
- package/dist/{patternValidators-Ng1riB_8.js → patternValidators-D5yOXg3W.js} +2 -2
- package/dist/{process-field-configurations-B9h_uqLt.js → process-field-configurations-Debv-3hf.js} +3 -3
- package/dist/{resolveEnvironment-D2PiD7d9.js → resolveEnvironment-CuZHdQFQ.js} +3 -3
- package/dist/{roleMetadata-WPo5YfpN.js → roleMetadata-D23Wn8qL.js} +2 -2
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +2 -2
- package/dist/types/context/ExperimentContext/types.d.ts +0 -16
- package/dist/types/context/SettingsContext/types.d.ts +8 -0
- package/dist/types/utils/japanSupportUtils.d.ts +2 -2
- package/dist/{types-CF_AJXS0.js → types-D8SoMT_H.js} +2 -2
- package/dist/{types-B7GElie6.js → types-D9rw2BhY.js} +1 -17
- package/dist/{types-DgB6Otm4.js → types-DTM4y6ek.js} +2 -2
- package/dist/{types-pN0jlhsp.js → types-DgEZqmiN.js} +2 -2
- package/dist/{useAssociatedLegalEntity-Dogba3zk.js → useAssociatedLegalEntity-CWkN01A8.js} +2 -2
- package/dist/{useBusinessDetailsData-CfHzu2MV.js → useBusinessDetailsData-DvlWcgRa.js} +57 -55
- package/dist/{useBusinessLines-BYe956Dv.js → useBusinessLines-giRRWU2T.js} +1 -1
- package/dist/{useCanSeeIntroduction-zF_4FK_t.js → useCanSeeIntroduction-D2xpgNtm.js} +3 -3
- package/dist/{useCreateLegalEntity-CXEzk-4m.js → useCreateLegalEntity-DZzGw1t9.js} +2 -2
- package/dist/{useDataMissingRemediations-CcHBtLKt.js → useDataMissingRemediations-CWLZ0LBe.js} +2 -2
- package/dist/{useDataset-Dt0zggOt.js → useDataset-BJTO_2kh.js} +2 -2
- package/dist/{useDeleteTransferInstrument-ClnUHERq.js → useDeleteTransferInstrument-COE_jzUP.js} +3 -3
- package/dist/useExperimentsContext-Bw_AwRjC.js +18 -0
- package/dist/{useForm-iHd4zy3A.js → useForm-DZFcRy8I.js} +3 -3
- package/dist/{useFormContext-EuYlOjjp.js → useFormContext-NIRj-zul.js} +7 -7
- package/dist/{useGlobalData-Dzpp1tlM.js → useGlobalData-CYBz0Vbu.js} +2 -2
- package/dist/{useMultiForm-DNRDwT5H.js → useMultiForm-B8KdAZ9X.js} +4 -4
- package/dist/{useNavigate-CHJwEjk4.js → useNavigate-1WwvwULu.js} +29 -29
- package/dist/{useOnboardingStatus-h2wr75gb.js → useOnboardingStatus-BW5Ug2k5.js} +1 -1
- package/dist/{usePciQuestionnaireList-CriSOkRF.js → usePciQuestionnaireList-BceG3cx-.js} +1 -1
- package/dist/{useSalesChannels-Dqpzq9Ks.js → useSalesChannels-By9hPp1k.js} +4 -4
- package/dist/{useScenarios-DUV1Ka4k.js → useScenarios-DN2_zCrK.js} +2 -2
- package/dist/{useSetting-D_bP7upn.js → useSetting-B3HXG7aL.js} +1 -1
- package/dist/{useTaskStatus-DTGl9ECk.js → useTaskStatus-DogrgJjK.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BYaTQqVm.js → useTermsOfServiceStatus-CEBRwqLE.js} +1 -1
- package/dist/{useToastContext-Cucc0O6g.js → useToastContext-BQXJuuNU.js} +2 -2
- package/dist/{useTrustMembers-IKXI0a3D.js → useTrustMembers-CT-8VGd9.js} +5 -4
- package/dist/{useUnincorporatedPartnershipMembers-BHPf3w4g.js → useUnincorporatedPartnershipMembers-DpzZ8ev-.js} +4 -4
- package/dist/{useUpdateBusinessLines-CCEJh0qP.js → useUpdateBusinessLines-BvcHyG2A.js} +5 -4
- package/dist/{useUpdateLegalEntity-Du6C_FIz.js → useUpdateLegalEntity-CKtYqyw9.js} +3 -3
- package/dist/{utils-BZtOHBpu.js → utils-B2jFQ2T-.js} +2 -2
- package/dist/{utils-BnDupID0.js → utils-B9BZfRCL.js} +5 -5
- package/dist/{utils-igQM-7Ox.js → utils-BstpHjmg.js} +2 -2
- package/dist/{utils-rvZBRf0E.js → utils-CEicY76e.js} +3 -3
- package/dist/{utils-B5nuLGDt.js → utils-CdlQyagC.js} +2 -2
- package/dist/{validate-DgV2nMxj.js → validate-CLCfVMgx.js} +3 -3
- package/dist/{validate-Bd9KnhSG.js → validate-kbI4wc2K.js} +2 -2
- package/dist/{validationError-B4BefHKd.js → validationError-rMyDu9kU.js} +2 -2
- package/package.json +1 -1
- package/dist/japanSupportUtils-CyReBnnP.js +0 -16
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { L as Loader } from "./StoreProvider-
|
|
12
|
+
import { L as Loader } from "./StoreProvider-nSv6l_V3.js";
|
|
13
13
|
const TrustedFieldsProviders = {
|
|
14
14
|
SINGPASS: "singpass",
|
|
15
15
|
KOMPANY: "kompany"
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2105f6a5-cab1-4cae-9c50-6805218460f5", e._sentryDebugIdIdentifier = "sentry-dbid-2105f6a5-cab1-4cae-9c50-6805218460f5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { $ as CountryCodes, aw as DecisionMakerTypes, j as TaskTypes, g as getLegalEntityCountry, bc as getAvailableDecisionMakerRoleTypes, bd as allowedCountriesForNominee, ax as Scenarios, be as isLowRiskCountry } from "./StoreProvider-nSv6l_V3.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CdlQyagC.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-CFr8LiUb.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-idsgNrjI.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BstpHjmg.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
@@ -119,6 +119,7 @@ const individualOnfidoRules = ({
|
|
|
119
119
|
country,
|
|
120
120
|
taskType,
|
|
121
121
|
isExperimentEnabled = () => false,
|
|
122
|
+
isSettingEnabled = () => false,
|
|
122
123
|
rootLegalEntity,
|
|
123
124
|
problems
|
|
124
125
|
}) => createFormRules({
|
|
@@ -287,7 +288,7 @@ const individualOnfidoRules = ({
|
|
|
287
288
|
return addressSchema.includes("address") ? "REQUIRED" : void 0;
|
|
288
289
|
},
|
|
289
290
|
otherAddressInfoIfRequiredForCountry: () => {
|
|
290
|
-
if (isJapanLocalizationEnabled(
|
|
291
|
+
if (isJapanLocalizationEnabled(isSettingEnabled, country)) {
|
|
291
292
|
return "REQUIRED";
|
|
292
293
|
}
|
|
293
294
|
const addressSchema = getAddressSchemaForCountry(data?.additionalPersonalDetails?.country);
|
|
@@ -370,7 +371,7 @@ const individualOnfidoRules = ({
|
|
|
370
371
|
},
|
|
371
372
|
japanSpecificField: () => {
|
|
372
373
|
const targetCountry = taskType === TaskTypes.DECISION_MAKER && rootLegalEntity?.organization?.registeredAddress.country || country;
|
|
373
|
-
if (isJapanLocalizationEnabled(
|
|
374
|
+
if (isJapanLocalizationEnabled(isSettingEnabled, targetCountry)) {
|
|
374
375
|
return "REQUIRED";
|
|
375
376
|
}
|
|
376
377
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "58052dd5-684b-497a-8423-ca3a09d7e33a", e._sentryDebugIdIdentifier = "sentry-dbid-58052dd5-684b-497a-8423-ca3a09d7e33a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,64 +11,65 @@ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { Show } from "@preact/signals/utils";
|
|
12
12
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { b as useApiContext,
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-
|
|
19
|
-
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-
|
|
20
|
-
import { u as
|
|
21
|
-
import { u as
|
|
22
|
-
import {
|
|
23
|
-
import { g as
|
|
24
|
-
import { u as
|
|
25
|
-
import { u as
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-DN2_zCrK.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DZzGw1t9.js";
|
|
16
|
+
import { b as useApiContext, Z as httpPost, $ as CountryCodes, al as matchesRegex, am as NO_ALPHABET_REGEX, an as EMOJI_REGEX, ao as hasRepeatedCharacters, ap as isInvalidName, aq as INDIVIDUAL_VALID_CHAR_REGEX, ah as isEmpty, j as TaskTypes, o as LegalEntityTypes, ar as getAgeToday, as as euCountries, at as hasText, au as standardKatakanaValidator, av as standardKanjiValidator, k as httpGet, u as useTranslation, U as Button, L as Loader, aw as DecisionMakerTypes, ax as Scenarios, y as Typography, a9 as useI18nContext, z as useSettingsContext, ay as getAgeRangeForLegalRepresentative, az as isLegalRepresentativeNeeded, aA as Trans, aB as valuesOf, aC as keysOf, a5 as objectsDeepEqual, aD as listToRecord, aE as pick, a2 as createLogger, t as IconButton, p as useAnalyticsContext, a1 as translateStringOrObject, aF as individualOnfidoApiKeyMapping, aG as drop, m as useAccountHolder, g as getLegalEntityCountry, aH as getAllowedDecisionMakerRoles, aI as filterOutUnwantedAssociationsIfRootLE, aa as cloneObject, aJ as individualOnfidoDocumentMapping, aK as individualOnfidoObscuredFields, ad as getOwnEntityAssociations, aL as hasNomineesChanged, aM as attachNomineeToRole, aN as doArraysMatch } from "./StoreProvider-nSv6l_V3.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKtYqyw9.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-rMQzSgHi.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-CUsLuLLM.js";
|
|
20
|
+
import { u as useExperimentsContext } from "./useExperimentsContext-Bw_AwRjC.js";
|
|
21
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-NIRj-zul.js";
|
|
22
|
+
import { u as useToastContext } from "./useToastContext-BQXJuuNU.js";
|
|
23
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Debv-3hf.js";
|
|
24
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DgYJxfCT.js";
|
|
25
|
+
import { u as useMultiForm } from "./useMultiForm-B8KdAZ9X.js";
|
|
26
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-YMzW8ggG.js";
|
|
26
27
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
27
|
-
import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
28
|
-
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-
|
|
29
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
31
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
28
|
+
import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-V8CE9OJ-.js";
|
|
29
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, C as COUNTRIES_WITH_STATES_DATASET, m as mapAddressLabels } from "./utils-CdlQyagC.js";
|
|
30
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-C8IXhurA.js";
|
|
31
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-rMyDu9kU.js";
|
|
32
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-CLCfVMgx.js";
|
|
32
33
|
import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
33
|
-
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
34
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
35
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
36
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
37
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-
|
|
38
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
34
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, c as taxIdNumberOptions, g as getFieldsWithExistingData } from "./TaxInformationField-Bv0J_X-v.js";
|
|
35
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-CFr8LiUb.js";
|
|
36
|
+
import { l as localizeDateString } from "./localizeDateString-Cr7mMfqI.js";
|
|
37
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CY_YXWui.js";
|
|
38
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-DGVfqypb.js";
|
|
39
|
+
import { v as validatePatternOnBlur } from "./patternValidators-D5yOXg3W.js";
|
|
39
40
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
41
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-BstpHjmg.js";
|
|
41
42
|
import { lazy, Suspense, memo } from "preact/compat";
|
|
42
|
-
import { I as Image, T as TrustedFieldsProviders } from "./Image-
|
|
43
|
-
import { M as Modal } from "./Modal-
|
|
44
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
45
|
-
import { a as Alert } from "./Alert-
|
|
46
|
-
import { C as Confirm } from "./Confirm-
|
|
47
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
48
|
-
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
43
|
+
import { I as Image, T as TrustedFieldsProviders } from "./Image-BVeV-5be.js";
|
|
44
|
+
import { M as Modal } from "./Modal-B9zPqjW9.js";
|
|
45
|
+
import { L as LandingLayout } from "./LandingLayout-BrNn0d5D.js";
|
|
46
|
+
import { a as Alert } from "./Alert-CGHKVs_Y.js";
|
|
47
|
+
import { C as Confirm } from "./Confirm-BDx4DARU.js";
|
|
48
|
+
import { a as getIndividualLegalEntityName } from "./getName-BKJQ_4Ug.js";
|
|
49
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-idsgNrjI.js";
|
|
49
50
|
import { signal } from "@preact/signals";
|
|
50
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
51
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-CtR1LtVN.js";
|
|
51
52
|
import { g as getFieldProps, a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
52
|
-
import { F as Field } from "./Field-
|
|
53
|
-
import { H as Header } from "./Header-
|
|
54
|
-
import { L as Link } from "./Link-
|
|
55
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
56
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
57
|
-
import { I as InputText } from "./InputText-
|
|
58
|
-
import { C as CountryField } from "./CountryField-
|
|
59
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
60
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
61
|
-
import { C as Checkbox } from "./Checkbox-
|
|
62
|
-
import { S as Select } from "./Select-
|
|
63
|
-
import { u as useDataset } from "./useDataset-
|
|
64
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
65
|
-
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-
|
|
66
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
67
|
-
import { n as nameFields, N as Name } from "./Name-
|
|
68
|
-
import { D as Dropzone } from "./Dropzone-
|
|
69
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
53
|
+
import { F as Field } from "./Field-DRmDwrQ-.js";
|
|
54
|
+
import { H as Header } from "./Header-B3ziBi8Y.js";
|
|
55
|
+
import { L as Link } from "./Link-KMdJgWXD.js";
|
|
56
|
+
import { S as SettingNames } from "./TaskVerificationStatus-CV4Us-y5.js";
|
|
57
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CsI6PUQk.js";
|
|
58
|
+
import { I as InputText } from "./InputText-BaCtWHri.js";
|
|
59
|
+
import { C as CountryField } from "./CountryField-Cu_Zj19n.js";
|
|
60
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-CwTuKGS3.js";
|
|
61
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-aaoL5WGS.js";
|
|
62
|
+
import { C as Checkbox } from "./Checkbox-Kj319DvI.js";
|
|
63
|
+
import { S as Select } from "./Select-C0tE-vKh.js";
|
|
64
|
+
import { u as useDataset } from "./useDataset-BJTO_2kh.js";
|
|
65
|
+
import { C as ContextGuidance } from "./ContextGuidance-B2Skz43t.js";
|
|
66
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-BZ2yDf4Q.js";
|
|
67
|
+
import { i as isTruthyValidator } from "./commonValidators-K63mLUg_.js";
|
|
68
|
+
import { n as nameFields, N as Name } from "./Name-yKM0wIlk.js";
|
|
69
|
+
import { D as Dropzone } from "./Dropzone-DWZpoe_R.js";
|
|
70
|
+
import { i as isEmpty$1 } from "./isEmpty-kzK_JwCW.js";
|
|
70
71
|
import { Onfido } from "onfido-sdk-ui";
|
|
71
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
72
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DWLzdrbZ.js";
|
|
72
73
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
73
74
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
74
75
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -837,8 +838,8 @@ const additionalPersonalDetailsValidators = ({
|
|
|
837
838
|
i18n
|
|
838
839
|
})
|
|
839
840
|
});
|
|
840
|
-
const localizedNameValidationRulesV4 = (
|
|
841
|
-
if (isJapanLocalizationEnabled(
|
|
841
|
+
const localizedNameValidationRulesV4 = (isSettingEnabled = () => false, country) => {
|
|
842
|
+
if (isJapanLocalizationEnabled(isSettingEnabled, country)) {
|
|
842
843
|
return {
|
|
843
844
|
jaHaniFirstName: [
|
|
844
845
|
{
|
|
@@ -894,11 +895,12 @@ const localizedNameValidationRulesV4 = (isExperimentEnabled = () => false, count
|
|
|
894
895
|
};
|
|
895
896
|
const basicDetailsValidators = ({
|
|
896
897
|
isExperimentEnabled = () => false,
|
|
898
|
+
isSettingEnabled = () => false,
|
|
897
899
|
country
|
|
898
900
|
}) => ({
|
|
899
901
|
...contactDetailsValidationRules,
|
|
900
902
|
...isExperimentEnabled("StrictNameAndAddressValidationV4") ? nameValidationRulesV4 : void 0,
|
|
901
|
-
...localizedNameValidationRulesV4(
|
|
903
|
+
...localizedNameValidationRulesV4(isSettingEnabled, country)
|
|
902
904
|
});
|
|
903
905
|
const onfidoDocumentTypeMapping = [
|
|
904
906
|
{ id: "driversLicense", name: "driversLicense", hasBackPage: true },
|
|
@@ -1686,7 +1688,7 @@ const additionalIdentityInfoFields = [
|
|
|
1686
1688
|
"expiryDate"
|
|
1687
1689
|
];
|
|
1688
1690
|
const LazyJpAddress = lazy(
|
|
1689
|
-
async () => (await import("./JpAddress-
|
|
1691
|
+
async () => (await import("./JpAddress-BJPmBcB1.js")).JpAddress
|
|
1690
1692
|
);
|
|
1691
1693
|
const additionalPersonalDetailsFields = [
|
|
1692
1694
|
"birthDate",
|
|
@@ -1785,7 +1787,7 @@ function AdditionalPersonalDetails(props) {
|
|
|
1785
1787
|
handleChangeFor: handleFieldChange
|
|
1786
1788
|
}
|
|
1787
1789
|
),
|
|
1788
|
-
isJapanLocalizationEnabled(
|
|
1790
|
+
isJapanLocalizationEnabled(isSettingEnabled, country) ? /* @__PURE__ */ jsx(Suspense, { fallback: /* @__PURE__ */ jsx(Loader, {}), children: /* @__PURE__ */ jsx(
|
|
1789
1791
|
LazyJpAddress,
|
|
1790
1792
|
{
|
|
1791
1793
|
...jpAddressProps,
|
|
@@ -4586,6 +4588,7 @@ function IndividualOnfidoDropin({
|
|
|
4586
4588
|
(data2) => ({
|
|
4587
4589
|
basicDetails: basicDetailsValidators({
|
|
4588
4590
|
isExperimentEnabled,
|
|
4591
|
+
isSettingEnabled,
|
|
4589
4592
|
country
|
|
4590
4593
|
}),
|
|
4591
4594
|
additionalPersonalDetails: additionalPersonalDetailsValidators({
|
|
@@ -4682,6 +4685,7 @@ function IndividualOnfidoDropin({
|
|
|
4682
4685
|
country: data?.additionalPersonalDetails?.country ?? country,
|
|
4683
4686
|
taskType,
|
|
4684
4687
|
isExperimentEnabled,
|
|
4688
|
+
isSettingEnabled,
|
|
4685
4689
|
rootLegalEntity: parentLegalEntity,
|
|
4686
4690
|
problems
|
|
4687
4691
|
}),
|
|
@@ -5024,7 +5028,7 @@ function IndividualOnfidoDropin({
|
|
|
5024
5028
|
);
|
|
5025
5029
|
}
|
|
5026
5030
|
if (data.additionalPersonalDetails) {
|
|
5027
|
-
if (isJapanLocalizationEnabled(
|
|
5031
|
+
if (isJapanLocalizationEnabled(isSettingEnabled, country)) {
|
|
5028
5032
|
summaryData.additionalPersonalDetails = {
|
|
5029
5033
|
...drop(...JP_ADDRESS_REQUIRED_FIELDS).from(summaryData.additionalPersonalDetails),
|
|
5030
5034
|
...mapJpAddressSummary(data.additionalPersonalDetails, datasetUtils)
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "21f91a44-d298-42e6-9ded-39912f790ff1", e._sentryDebugIdIdentifier = "sentry-dbid-21f91a44-d298-42e6-9ded-39912f790ff1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as InputBase } from "./InputText-
|
|
12
|
+
import { a as InputBase } from "./InputText-BaCtWHri.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b2fe996-f308-49de-9b0c-d543ee7762da", e._sentryDebugIdIdentifier = "sentry-dbid-8b2fe996-f308-49de-9b0c-d543ee7762da");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { forwardRef } from "preact/compat";
|
|
12
12
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { p as useAnalyticsContext } from "./StoreProvider-
|
|
14
|
+
import { p as useAnalyticsContext } from "./StoreProvider-nSv6l_V3.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5e69eae9-31af-4f53-9121-6a02eb6085c5", e._sentryDebugIdIdentifier = "sentry-dbid-5e69eae9-31af-4f53-9121-6a02eb6085c5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { j as TaskTypes, o as LegalEntityTypes, u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, p as useAnalyticsContext,
|
|
10
|
+
import { j as TaskTypes, o as LegalEntityTypes, u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, p as useAnalyticsContext, U as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-nSv6l_V3.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-D-uWXnBJ.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./useCanSeeIntroduction-
|
|
15
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./useCanSeeIntroduction-D2xpgNtm.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "be133d03-143f-4979-a784-1a25a6ac8616", e._sentryDebugIdIdentifier = "sentry-dbid-be133d03-143f-4979-a784-1a25a6ac8616");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,19 +10,20 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet,
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, k as httpGet, a6 as noop, u as useTranslation, a9 as useI18nContext, p as useAnalyticsContext, $ as CountryCodes, y as Typography, a2 as createLogger } from "./StoreProvider-nSv6l_V3.js";
|
|
14
|
+
import { F as Field } from "./Field-DRmDwrQ-.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as
|
|
17
|
+
import { u as useExperimentsContext } from "./useExperimentsContext-Bw_AwRjC.js";
|
|
18
|
+
import { u as useForm } from "./useForm-DZFcRy8I.js";
|
|
18
19
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
19
|
-
import { I as InputText } from "./InputText-
|
|
20
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
20
|
+
import { I as InputText } from "./InputText-BaCtWHri.js";
|
|
21
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-DGVfqypb.js";
|
|
21
22
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-DEOyz9Yo.js";
|
|
22
|
-
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-
|
|
23
|
+
import { h as addressValidationRulesV4, j as addressValidationRules } from "./Address-rMQzSgHi.js";
|
|
23
24
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
24
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
25
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
25
|
+
import { c as convertFullToHalf } from "./TextArea-CJPxjGxS.js";
|
|
26
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-V8CE9OJ-.js";
|
|
26
27
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
27
28
|
baseUrl,
|
|
28
29
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "48bd1f10-8524-4f1c-8d1e-2283a7ed5ff8", e._sentryDebugIdIdentifier = "sentry-dbid-48bd1f10-8524-4f1c-8d1e-2283a7ed5ff8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import {
|
|
11
|
+
import { y as Typography } from "./StoreProvider-nSv6l_V3.js";
|
|
12
12
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
13
13
|
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
14
14
|
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "512441ab-47b1-4004-a299-ee84f82aa937", e._sentryDebugIdIdentifier = "sentry-dbid-512441ab-47b1-4004-a299-ee84f82aa937");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-
|
|
10
|
+
import { $ as CountryCodes } from "./StoreProvider-nSv6l_V3.js";
|
|
11
|
+
import { d as validateLegalCompanyName, a as validateNotEmptyOnBlur, e as validateLatinSpaceMarkPunctuationNumbersOnlyOnBlur } from "./patternValidators-D5yOXg3W.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
|
-
import { F as Field } from "./Field-
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
13
|
+
import { F as Field } from "./Field-DRmDwrQ-.js";
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-B9zPqjW9.js";
|
|
15
|
+
import { I as InputText } from "./InputText-BaCtWHri.js";
|
|
16
16
|
const defaultFieldMetadata = {
|
|
17
17
|
label: "legalCompanyName",
|
|
18
18
|
validators: validateNotEmptyOnBlur
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0e37ef0b-5ae3-4342-b6ea-7a290b804507", e._sentryDebugIdIdentifier = "sentry-dbid-0e37ef0b-5ae3-4342-b6ea-7a290b804507");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry,
|
|
10
|
+
import { c as useLegalEntity, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, a7 as EntityTypes, a6 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-nSv6l_V3.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { I as IndividualOnfidoDropin } from "./IndividualDropin-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CYyIhdjZ.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin } from "./IndividualDropin-Bb4FDtZx.js";
|
|
15
15
|
function LegalRepresentativeDetailsPage({
|
|
16
16
|
legalRepresentativeId,
|
|
17
17
|
asModal = false,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { r as Icon } from "./StoreProvider-
|
|
12
|
+
import { r as Icon } from "./StoreProvider-nSv6l_V3.js";
|
|
13
13
|
const link = "adyen-kyc-link";
|
|
14
14
|
const linkDefault = "adyen-kyc-link-default";
|
|
15
15
|
const linkInline = "adyen-kyc-link-inline";
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8c32d363-dda5-4716-9044-765d0b78b1c1", e._sentryDebugIdIdentifier = "sentry-dbid-8c32d363-dda5-4716-9044-765d0b78b1c1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { r as Icon } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-Jgq35XfX.js";
|
|
13
|
+
import { r as Icon } from "./StoreProvider-nSv6l_V3.js";
|
|
14
14
|
const listItem = "adyen-kyc-list-item";
|
|
15
15
|
const listItemInteractive = "adyen-kyc-list-item-interactive";
|
|
16
16
|
const listItemText = "adyen-kyc-list-item-text";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { L as Loader } from "./StoreProvider-
|
|
12
|
+
import { L as Loader } from "./StoreProvider-nSv6l_V3.js";
|
|
13
13
|
const loaderWrapperLoader = "adyen-kyc-loader-wrapper-loader";
|
|
14
14
|
const loaderWrapperLoaderActive = "adyen-kyc-loader-wrapper-loader-active";
|
|
15
15
|
const styles = {
|
package/dist/{ManageIndividualComponent-CUqNDovV.js → ManageIndividualComponent-Um3nJoWg.js}
RENAMED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3f311e83-c07c-4cfa-8978-798e558e1fd6", e._sentryDebugIdIdentifier = "sentry-dbid-3f311e83-c07c-4cfa-8978-798e558e1fd6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, b as useApiContext, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-nSv6l_V3.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-BW5Ug2k5.js";
|
|
13
13
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUawbyx6.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -20,7 +20,7 @@ function ManageIndividualComponent({
|
|
|
20
20
|
const { rootLegalEntityId: currentLegalEntityId } = useApiContext();
|
|
21
21
|
currentLegalEntityId.value = legalEntityId;
|
|
22
22
|
addResourceBundles(i18n, [
|
|
23
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-6XzbmxcW.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-C6vEQ8P9.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Dazirlmt.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
23
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-6XzbmxcW.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-C6vEQ8P9.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Dazirlmt.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-nSv6l_V3.js").then((n) => n.bF), "../../../language/locales/es-ES.json": () => import("./es-ES--IvNed_Q.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CsTXSlnY.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BUixKfXH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BM-qNLci.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BF74vdPD.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DYhMVR_c.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-D63gRTDc.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DL0IjTzn.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BX8dOAzK.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-dA8yYdKe.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-KQ6bciOb.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Ds3VioxT.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BgbxWHGE.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Ct4s4jXV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DBEsmXQX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-C00Ig8CL.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BbJWayDh.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-hxwQIw_i.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-0PQ-U1u6.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
24
24
|
]);
|
|
25
25
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
26
26
|
const { isPending, data: onboardingStatusData } = useOnboardingStatus({
|
package/dist/{ManageTermsOfServiceComponent-DTY0zX7-.js → ManageTermsOfServiceComponent-BK2k1fz0.js}
RENAMED
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, u as useTranslation, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-nSv6l_V3.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
12
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CEBRwqLE.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-BUawbyx6.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|