@adyen/kyc-components 3.93.0 → 3.93.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/{AcceptTermsOfServiceComponent-CMudf1Zd.js → AcceptTermsOfServiceComponent-Bl2blUap.js} +15 -15
- package/dist/{Accordion-sjC2ic9o.js → Accordion-BWbxhRXM.js} +1 -1
- package/dist/{AccountSetupRejected-CncpaGTO.js → AccountSetupRejected-BuIn3tBW.js} +3 -3
- package/dist/{ActionBar-DjsFjykP.js → ActionBar-XP3r2wMq.js} +1 -1
- package/dist/{Address-C6DVkZcL.js → Address-B8BYTDF9.js} +9 -9
- package/dist/{Alert-D-FgKxmc.js → Alert-6yk6aSYm.js} +2 -2
- package/dist/{Avatar-BXJlAa_m.js → Avatar-DiGEveus.js} +1 -1
- package/dist/{BusinessFinancingComponent-BIBLD7if.js → BusinessFinancingComponent-CoQn0wE8.js} +4 -4
- package/dist/{BusinessFinancingDropin-DUPVG0ac.js → BusinessFinancingDropin-dqfbr2wH.js} +27 -27
- package/dist/{BusinessFinancingPage-Cnkyi_iv.js → BusinessFinancingPage-BhX1p3-d.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CL2iSuLE.js → BusinessTypeSelectionPage-CaJn31vF.js} +8 -8
- package/dist/{Checkbox-CEjRzpIP.js → Checkbox-1l3EkvoS.js} +1 -1
- package/dist/{Confirm-xO5Yr0Bp.js → Confirm-C1TcN1E9.js} +2 -2
- package/dist/{ConstitutionalDocument-BBKeUmtC.js → ConstitutionalDocument-O76Bt_mC.js} +17 -17
- package/dist/{ContactDetails-BeEGNrjK.js → ContactDetails-C3WkLa3l.js} +7 -7
- package/dist/{ContextGuidance-BkdCvkro.js → ContextGuidance-CLhbcHxL.js} +2 -2
- package/dist/{CountryField-pbj23eqG.js → CountryField-Co9Du8i0.js} +4 -4
- package/dist/{CreateIndividualComponent-BN14wsvP.js → CreateIndividualComponent-w8WRFV7Y.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DKun_1JG.js → CreateTransferInstrumentComponent-Zek6OQuW.js} +3 -3
- package/dist/{Currency-BuKwitqQ.js → Currency-frsLE0Mk.js} +6 -6
- package/dist/{CustomerSupport-BK_OaKRW.js → CustomerSupport-BuvE7Iyw.js} +10 -10
- package/dist/{DebugModal-3ueK1tGl.js → DebugModal-Bj5wKpUi.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-DiHhMxKc.js → DecisionMakerDetailsPage-B-D8xNNQ.js} +6 -6
- package/dist/{DecisionMakers-D8ptIY_S.js → DecisionMakers-YBnxP-Rk.js} +20 -20
- package/dist/{Dropzone-BAI02vwf.js → Dropzone-D9ID9wyz.js} +3 -3
- package/dist/{EmbeddedStatus-mFb9ozhT.js → EmbeddedStatus-B_MiP_cY.js} +2 -2
- package/dist/{EndStateLayout-kC48ysnK.js → EndStateLayout-B4bqInZH.js} +1 -1
- package/dist/{EntityAssociation-BlNKc5SW.js → EntityAssociation-Iuviqe3A.js} +5 -5
- package/dist/{EntityGuidanceStatus-n2W71Gts.js → EntityGuidanceStatus-Bg7bubL9.js} +2 -2
- package/dist/{ErrorPanel-FW37V8f_.js → ErrorPanel-CEBjM0e9.js} +2 -2
- package/dist/{Field-Dy-q5CRB.js → Field-DFKaTQZO.js} +1 -1
- package/dist/{FormNavigation-C2Px6-hH.js → FormNavigation-DRfQ_m4b.js} +2 -2
- package/dist/{FormWrapper-Dc0IK6hk.js → FormWrapper-zlV1oSXl.js} +8 -8
- package/dist/{Header-BjgMqCtO.js → Header-vP7iEB8D.js} +1 -1
- package/dist/{Image-AkeY7yyQ.js → Image-CMNFPcrm.js} +1 -1
- package/dist/{Individual.rules-CIRdj4rM.js → Individual.rules-DmjYSDvi.js} +5 -5
- package/dist/{IndividualDropin-D9A2gQhU.js → IndividualDropin-Cl3HQJO6.js} +66 -60
- package/dist/{InputDate-Di73YeN7.js → InputDate-DpG0gGqp.js} +1 -1
- package/dist/{InputText-BAe550-Y.js → InputText-ZSc64lwj.js} +1 -1
- package/dist/{Introduction-9UAua8ny.js → Introduction-DTSfCf6A.js} +3 -3
- package/dist/{JpAddress-CzX-4x0r.js → JpAddress-B35nyqHT.js} +8 -8
- package/dist/{LandingLayout-DSg_u3kp.js → LandingLayout-DBT8W7Qe.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-CepeGeY3.js → LegalRepresentativeDetailsPage-D__r_ycZ.js} +3 -3
- package/dist/{Link-CfLCIefo.js → Link-PXTVxklG.js} +1 -1
- package/dist/{ListItem-BaKatovL.js → ListItem-C4fi4457.js} +2 -2
- package/dist/{LoaderWrapper-Cts9cXUa.js → LoaderWrapper-BNR1y6DU.js} +1 -1
- package/dist/{ManageIndividualComponent-C_EH5Vig.js → ManageIndividualComponent-3sd4inpE.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-a2WN8S51.js → ManageTermsOfServiceComponent-CW_DociG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Bz0RI5-k.js → ManageTransferInstrumentComponent-sdSJD__5.js} +11 -11
- package/dist/{MaskedInput-TmmXvrVs.js → MaskedInput--ToksMNH.js} +4 -4
- package/dist/{MaybeModal-B4I25cx2.js → MaybeModal-ZJ-9jxUX.js} +2 -2
- package/dist/{Modal-DsEofbSA.js → Modal-7lE7znZN.js} +1 -1
- package/dist/{Name-Gmo-5Bqr.js → Name-Cmzgb3RM.js} +4 -4
- package/dist/{OnboardingDropinComponent-B-PFBlrP.js → OnboardingDropinComponent-BMExGBCT.js} +51 -44
- package/dist/{PayoutDetailsDropin-m1aKlkrm.js → PayoutDetailsDropin-CUUIukUc.js} +40 -40
- package/dist/{RadioGroup-YRhJgLUn.js → RadioGroup-Bkj80U32.js} +1 -1
- package/dist/{RadioGroupCard-CSw-Q3AS.js → RadioGroupCard-DTDtnM3p.js} +1 -1
- package/dist/{Review-Bf_fhmvT.js → Review-xfpm-blv.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B7mYqkzh.js → RootBusinessDetailsPage-jLgmsvxE.js} +4 -4
- package/dist/{RootBusinessLinesPage-CBT76Jex.js → RootBusinessLinesPage-CXUnP-hv.js} +22 -22
- package/dist/{RootIndividualDetailsPage-Bn10ChZj.js → RootIndividualDetailsPage-CGGJ42OP.js} +4 -4
- package/dist/{Select-HYaeyASt.js → Select-C8xW8DMz.js} +3 -3
- package/dist/{SignPCIComponent-Bk-70qiE.js → SignPCIComponent-DJe1p-rq.js} +10 -10
- package/dist/{SingpassSelection-DWFCfKWp.js → SingpassSelection-DqzwMsrL.js} +5 -5
- package/dist/{SoleProprietorshipPage-IjH5yPNi.js → SoleProprietorshipPage-57dzQFMn.js} +3 -3
- package/dist/{SourceOfFundsPage-Co0-_xzX.js → SourceOfFundsPage-9VxkYSiC.js} +30 -30
- package/dist/{StepProgressIndicator-Bbwofr0t.js → StepProgressIndicator-CtIEectd.js} +1 -1
- package/dist/{StoreProvider-YEGUipRq.js → StoreProvider-DFe7h79h.js} +4 -4
- package/dist/{Summary-q5A1DaDu.js → Summary-8AkUqZBd.js} +5 -5
- package/dist/{TaskVerificationStatus-LYc1SphW.js → TaskVerificationStatus-lHW-xiMl.js} +1 -1
- package/dist/{TaxInformationField-BgO9VWpf.js → TaxInformationField-DbZlhoTU.js} +20 -20
- package/dist/{TaxReportingDropin-DP3XpU3B.js → TaxReportingDropin-CiRlcejc.js} +15 -15
- package/dist/{TextArea-D1lViRKu.js → TextArea-BeeKryd-.js} +1 -1
- package/dist/{TileGroup-C_C30bzD.js → TileGroup-EswXDZTl.js} +2 -2
- package/dist/{TrustDetailsPage-BSfMU0YT.js → TrustDetailsPage-Bz17HJla.js} +33 -33
- package/dist/{TrustMemberCompanyPage-DtwGPkqY.js → TrustMemberCompanyPage-DlGBEC2g.js} +4 -4
- package/dist/{TrustMemberIndividualPage-ex2rpkAe.js → TrustMemberIndividualPage-B8-QPgwd.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CWAfynOq.js → TrustMemberRoleAndTypePage-BEmAcxMN.js} +21 -21
- package/dist/{TrustMembersOverview-BbB0IJts.js → TrustMembersOverview-C8ZGvHtf.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DPH1CF-Y.js → UnincorporatedPartnershipIndividualPage-D7lWSR2b.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BEeP9VgA.js → UnincorporatedPartnershipMemberCompanyPage-5SHrMYyu.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C2drIpsK.js → UnincorporatedPartnershipMemberRoleAndTypePage-DnNZTTs-.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-DTlmitVj.js → UnincorporatedPartnershipMembersOverview-DkjGuKd1.js} +8 -8
- package/dist/{VerificationErrorAlert-STnkmqXM.js → VerificationErrorAlert-Cy3e-mt1.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-DFrWb4w0.js → ViewVerificationStatusComponent-Bpwla8Na.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-D5u2Q3sP.js → bafinUtils-DxOCkUft.js} +1 -1
- package/dist/{commonValidators-Xp2_i3fV.js → commonValidators-a61PImkY.js} +1 -1
- package/dist/{dropinUtils-C8JolVCN.js → dropinUtils-rUhAVji4.js} +3 -3
- package/dist/{fieldConfig-DhKu9uvC.js → fieldConfig-CjFtyFp1.js} +5 -5
- package/dist/{formUtils-b6H7bo93.js → formUtils-DLUm6Val.js} +2 -2
- package/dist/{getName-B7GLK85C.js → getName-ua2FqwPS.js} +1 -1
- package/dist/{iframeWidget-D_jSy0Dr.js → iframeWidget-CLdlMqp3.js} +3 -3
- package/dist/{isEmpty-Cihu0R9o.js → isEmpty-CXpPN4rw.js} +1 -1
- package/dist/{japanSupportUtils-BdfAErog.js → japanSupportUtils-TnGn5IWZ.js} +1 -1
- package/dist/{localizeDateString-CgaQjcxh.js → localizeDateString-BQuMEjx7.js} +1 -1
- package/dist/{mapExistingFile-BkYAx_kl.js → mapExistingFile-OV9x_wa5.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B5qq0L3K.js → mapJpAddressSchemaToAddressLocalizations-CrMDKiOm.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-BlVuwE9G.js → mapLegalEntityToIndividualSchema-OHfONOiZ.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CCH5t9Mv.js → mapTransferInstrumentToPayoutAccount-B5_lTJt3.js} +1 -1
- package/dist/{patternValidators-CBAdtbkx.js → patternValidators-BLAozpb5.js} +1 -1
- package/dist/{process-field-configurations-BUh-8mae.js → process-field-configurations-DHXrxhNp.js} +2 -2
- package/dist/{resolveEnvironment-CuY6Nqws.js → resolveEnvironment-CyfVWzYX.js} +3 -3
- package/dist/{roleMetadata-rJyitaSY.js → roleMetadata-23nN7oCe.js} +1 -1
- package/dist/style.css +3 -0
- package/dist/styles-CLV89_hH.js +3 -0
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
- package/dist/{types-DFQuEUfV.js → types-BpvEIxZ0.js} +1 -1
- package/dist/{types-DSigzqfS.js → types-DTQ33mfC.js} +1 -1
- package/dist/{types-Dhqy-Af0.js → types-VptJHKqG.js} +1 -1
- package/dist/{useAssociatedLegalEntity-h5ma5-Vo.js → useAssociatedLegalEntity-CcwRHOXQ.js} +1 -1
- package/dist/{useBusinessDetailsData-iN0xS5Wd.js → useBusinessDetailsData-CfkQGAR-.js} +49 -49
- package/dist/{useCreateLegalEntity-BWaKnWUz.js → useCreateLegalEntity-Ct0BOkGA.js} +1 -1
- package/dist/{useDataset-tV4eDy-F.js → useDataset-CrLF-Hg6.js} +1 -1
- package/dist/{useForm-C1fOe0m2.js → useForm-BdPHRqxE.js} +2 -2
- package/dist/{useFormContext-kmuj5zs-.js → useFormContext-DNrmF9Am.js} +6 -6
- package/dist/{useGlobalData-BYqUQNJg.js → useGlobalData-D_H_V304.js} +1 -1
- package/dist/{useMultiForm-Bl_xtgL5.js → useMultiForm-JbZuO6-M.js} +3 -3
- package/dist/{useOnboardingStatus-NYnHxnQZ.js → useOnboardingStatus-CPmIkoBj.js} +1 -1
- package/dist/{useScenarios-C_o86avG.js → useScenarios-C2y4vwDx.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BC3q9gh2.js → useTermsOfServiceStatus-C7nUzGt3.js} +1 -1
- package/dist/{useToastContext-CpA8031K.js → useToastContext-D2Fq5DtI.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BiM1tViV.js → useUnincorporatedPartnershipMembers-C2KTusSw.js} +3 -3
- package/dist/{useUpdateBusinessLines-Bx3E58F0.js → useUpdateBusinessLines-BEgF4OKo.js} +3 -3
- package/dist/{useUpdateLegalEntity-DhMquhhd.js → useUpdateLegalEntity-3X6c0R4C.js} +2 -2
- package/dist/{utils-B57SzsP3.js → utils-5sdQIYnR.js} +1 -1
- package/dist/{utils-B25Hd8qN.js → utils-BTedo3YJ.js} +1 -1
- package/dist/{utils-DFJh2jVb.js → utils-D7wsdaXr.js} +5 -5
- package/dist/{utils-BxqaMM16.js → utils-DGkmAwc6.js} +1 -1
- package/dist/{utils-Cvq7mmTk.js → utils-DoI9rv3y.js} +2 -2
- package/dist/{validate-DMbFk5A_.js → validate-CRb8sHDv.js} +1 -1
- package/dist/{validate-Bsk5GxX3.js → validate-D7SLhgRR.js} +2 -2
- package/dist/{validationError-DNOYUd_z.js → validationError-DpV9D-MN.js} +1 -1
- package/package.json +1 -1
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { aK as drop, b as useApiContext, k as httpGet, ag as useI18nContext, z as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-B8BYTDF9.js";
|
|
11
|
+
import { aK as drop, b as useApiContext, k as httpGet, ag as useI18nContext, z as createLogger, i as isUndefinedOrNull, u as useTranslation } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
14
|
import { useQuery } from "@tanstack/preact-query";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
18
|
-
import { c as currencyByCountry } from "./types-
|
|
15
|
+
import { F as Field } from "./Field-DFKaTQZO.js";
|
|
16
|
+
import { S as Select } from "./Select-C8xW8DMz.js";
|
|
17
|
+
import { I as InputText, a as InputBase } from "./InputText-ZSc64lwj.js";
|
|
18
|
+
import { c as currencyByCountry } from "./types-VptJHKqG.js";
|
|
19
19
|
const mapFinancialInformationToFinancialReport = ({
|
|
20
20
|
currency,
|
|
21
21
|
financialReportingDate,
|
|
@@ -10,17 +10,17 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, P as useAnalyticsContext, z as createLogger } from "./StoreProvider-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-
|
|
16
|
-
import { H as Header } from "./Header-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
19
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
20
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, M as EntityTypes, u as useTranslation, P as useAnalyticsContext, z as createLogger } from "./StoreProvider-DFe7h79h.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3X6c0R4C.js";
|
|
15
|
+
import { c as contactDetailsValidationRules, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails, d as defaultFieldMetadata } from "./ContactDetails-C3WkLa3l.js";
|
|
16
|
+
import { H as Header } from "./Header-vP7iEB8D.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-D2Fq5DtI.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-JbZuO6-M.js";
|
|
19
|
+
import { E as ErrorPanel } from "./ErrorPanel-CEBjM0e9.js";
|
|
20
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-CMNFPcrm.js";
|
|
21
21
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
22
|
-
import { c as createFormUtils } from "./formUtils-
|
|
23
|
-
import { A as ActionBar } from "./ActionBar-
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-DLUm6Val.js";
|
|
23
|
+
import { A as ActionBar } from "./ActionBar-XP3r2wMq.js";
|
|
24
24
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
25
25
|
return {
|
|
26
26
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,21 +2,21 @@
|
|
|
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] = "c4a7e677-65b0-43ca-9478-22f41869514d", e._sentryDebugIdIdentifier = "sentry-dbid-c4a7e677-65b0-43ca-9478-22f41869514d");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, ai as entriesOf, u as useTranslation, bm as splitTaskIdentifier, W as useExperimentsContext, m as useSettingsContext, ag as useI18nContext, $ as useGlobalStore, aH as listToRecord, bn as valuesOf, U as Icon, z as createLogger } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, ai as entriesOf, u as useTranslation, bm as splitTaskIdentifier, W as useExperimentsContext, m as useSettingsContext, ag as useI18nContext, $ as useGlobalStore, aH as listToRecord, bn as valuesOf, U as Icon, z as createLogger } from "./StoreProvider-DFe7h79h.js";
|
|
13
|
+
import { M as Modal } from "./Modal-7lE7znZN.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-DY4_Oje-.js";
|
|
15
|
-
import { T as TaskVerificationStatus, S as SettingNames } from "./TaskVerificationStatus-
|
|
16
|
-
import { I as InputText } from "./InputText-
|
|
15
|
+
import { T as TaskVerificationStatus, S as SettingNames } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
16
|
+
import { I as InputText } from "./InputText-ZSc64lwj.js";
|
|
17
17
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
18
|
-
import { A as Accordion } from "./Accordion-
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { A as Accordion } from "./Accordion-BWbxhRXM.js";
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-1l3EkvoS.js";
|
|
20
20
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
21
21
|
import MonogonCode from "monogon/preact";
|
|
22
22
|
const tabs = "adyen-kyc-tabs";
|
|
@@ -329,7 +329,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
329
329
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
330
330
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
331
331
|
const metadata = {
|
|
332
|
-
sdkVersion: "3.93.
|
|
332
|
+
sdkVersion: "3.93.2",
|
|
333
333
|
locale: i18n.locale,
|
|
334
334
|
rootLegalEntityId: rootLegalEntity.id
|
|
335
335
|
};
|
|
@@ -7,14 +7,14 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, W as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ab as noop, O as TaskTypes, M as EntityTypes, q as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, b9 as individualOnfidoBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, W as useExperimentsContext, g as getLegalEntityCountry, u as useTranslation, a as addResourceBundles, L as Loader, ab as noop, O as TaskTypes, M as EntityTypes, q as LegalEntityTypes, _ as __variableDynamicImportRuntimeHelper, b9 as individualOnfidoBaseMapping } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
15
|
-
import { m as getTrustedFieldsProvider, n as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-
|
|
16
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
17
|
-
import { I as IndividualOnfidoDropin } from "./IndividualDropin-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-C2y4vwDx.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-CMNFPcrm.js";
|
|
15
|
+
import { m as getTrustedFieldsProvider, n as getTrustedFields, g as getTrustedEntityAssociations } from "./OnboardingDropinComponent-BMExGBCT.js";
|
|
16
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DxOCkUft.js";
|
|
17
|
+
import { I as IndividualOnfidoDropin } from "./IndividualDropin-Cl3HQJO6.js";
|
|
18
18
|
function DecisionMakerDetailsPage({
|
|
19
19
|
decisionMakerId,
|
|
20
20
|
parentCompanyId,
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ad as DecisionMakerTypes, aK as drop, ah as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, x as Typography, P as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, Z as useGetTaskStatus, W as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ao as getOwnDecisionMakers, bd as getAvailableDecisionMakerRoleTypes, O as TaskTypes, aL as getAllowedDecisionMakerRoles, aF as Trans, G as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, q as LegalEntityTypes } from "./StoreProvider-
|
|
10
|
+
import { ad as DecisionMakerTypes, aK as drop, ah as cloneObject, u as useTranslation, c as useLegalEntity, B as Button, L as Loader, x as Typography, P as useAnalyticsContext, R as ROOT_LE, a as addResourceBundles, Z as useGetTaskStatus, W as useExperimentsContext, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, ao as getOwnDecisionMakers, bd as getAvailableDecisionMakerRoleTypes, O as TaskTypes, aL as getAllowedDecisionMakerRoles, aF as Trans, G as TaskStatuses, _ as __variableDynamicImportRuntimeHelper, q as LegalEntityTypes } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-C2y4vwDx.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3X6c0R4C.js";
|
|
15
|
+
import { H as Header } from "./Header-vP7iEB8D.js";
|
|
16
16
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
17
|
-
import { L as ListItem } from "./ListItem-
|
|
18
|
-
import { M as Modal } from "./Modal-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-
|
|
17
|
+
import { L as ListItem } from "./ListItem-C4fi4457.js";
|
|
18
|
+
import { M as Modal } from "./Modal-7lE7znZN.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D2Fq5DtI.js";
|
|
20
|
+
import { g as getTrustedEntityAssociations, e as useDataMissingRemediations } from "./OnboardingDropinComponent-BMExGBCT.js";
|
|
21
21
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
23
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
24
|
-
import { A as ActionBar } from "./ActionBar-
|
|
22
|
+
import { a as Alert } from "./Alert-6yk6aSYm.js";
|
|
23
|
+
import { C as ContextGuidance } from "./ContextGuidance-CLhbcHxL.js";
|
|
24
|
+
import { A as ActionBar } from "./ActionBar-XP3r2wMq.js";
|
|
25
25
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
26
|
-
import { E as EntityAssociation } from "./EntityAssociation-
|
|
27
|
-
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-
|
|
28
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
29
|
-
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { I as Image, u as useCapabilityProblems } from "./Image-
|
|
26
|
+
import { E as EntityAssociation } from "./EntityAssociation-Iuviqe3A.js";
|
|
27
|
+
import { E as EntityGuidanceStatus, i as iconStatus } from "./EntityGuidanceStatus-Bg7bubL9.js";
|
|
28
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, m as mapLegalEntityToIndividualOnfidoSchema, i as individualFormDefaultData } from "./mapLegalEntityToIndividualSchema-OHfONOiZ.js";
|
|
30
|
+
import { I as Image, u as useCapabilityProblems } from "./Image-CMNFPcrm.js";
|
|
31
31
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Confirm } from "./Confirm-
|
|
34
|
-
import { m as mapAddressLabels } from "./utils-
|
|
33
|
+
import { C as Confirm } from "./Confirm-C1TcN1E9.js";
|
|
34
|
+
import { m as mapAddressLabels } from "./utils-5sdQIYnR.js";
|
|
35
35
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
36
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
36
|
+
import { l as localizeDateString } from "./localizeDateString-BQuMEjx7.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
38
|
+
import { L as LandingLayout } from "./LandingLayout-DBT8W7Qe.js";
|
|
39
39
|
const BENEFICIAL_OWNER_ROLES = [
|
|
40
40
|
DecisionMakerTypes.OWNER,
|
|
41
41
|
DecisionMakerTypes.CONTROLLING_PERSON,
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-
|
|
11
|
+
import { f as defaultFileValidationOptions, h as fileValidationRules, S as StateContextSetter, D as DropzoneFile, e as bytesToSize } from "./validate-D7SLhgRR.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, P as useAnalyticsContext, B as Button, x as Typography, U as Icon } from "./StoreProvider-
|
|
15
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { u as useTranslation, P as useAnalyticsContext, B as Button, x as Typography, U as Icon } from "./StoreProvider-DFe7h79h.js";
|
|
15
|
+
import { u as useForm } from "./useForm-BdPHRqxE.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -9,8 +9,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 { G as TaskStatuses, u as useTranslation, w as Skeleton, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-DiGEveus.js";
|
|
13
|
+
import { G as TaskStatuses, u as useTranslation, w as Skeleton, x as Typography } from "./StoreProvider-DFe7h79h.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader, U as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, U as Icon } from "./StoreProvider-DFe7h79h.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, V as IconButton, G as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { B as Button, u as useTranslation, V as IconButton, G as TaskStatuses } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-Cy3e-mt1.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-C1TcN1E9.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
18
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-23nN7oCe.js";
|
|
19
19
|
function useClickAwayListener(ref, onClickAway) {
|
|
20
20
|
const handleClickAway = useCallback(
|
|
21
21
|
(event) => {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import { bp as getDecisionMakerDescriptionMap, O as TaskTypes, bq as TRUST_DEFAULT_DESCRIPTIONS_MAP, U as Icon, u as useTranslation, aF as Trans } from "./StoreProvider-
|
|
12
|
+
import { bp as getDecisionMakerDescriptionMap, O as TaskTypes, bq as TRUST_DEFAULT_DESCRIPTIONS_MAP, U as Icon, u as useTranslation, aF as Trans } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-23nN7oCe.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import { B as Button, u as useTranslation, b6 as remediationHasFileUploadField, aG as keysOf } from "./StoreProvider-
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
12
|
+
import { B as Button, u as useTranslation, b6 as remediationHasFileUploadField, aG as keysOf } from "./StoreProvider-DFe7h79h.js";
|
|
13
|
+
import { a as Alert } from "./Alert-6yk6aSYm.js";
|
|
14
14
|
import { createContext } from "preact";
|
|
15
15
|
const FormRouterContext = createContext(null);
|
|
16
16
|
function useFormRouterContext() {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, P as useAnalyticsContext, U as Icon, y as translateStringOrObject } from "./StoreProvider-
|
|
13
|
+
import { u as useTranslation, P as useAnalyticsContext, U as Icon, y as translateStringOrObject } from "./StoreProvider-DFe7h79h.js";
|
|
14
14
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
15
15
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
16
16
|
const MaybeFieldset = ({
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, U as Icon, P as useAnalyticsContext, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, U as Icon, P as useAnalyticsContext, x as Typography } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-7lE7znZN.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, P as useAnalyticsContext, W as useExperimentsContext, B as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { u as useTranslation, P as useAnalyticsContext, W as useExperimentsContext, B as Button } from "./StoreProvider-DFe7h79h.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BNR1y6DU.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-ZJ-9jxUX.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-7lE7znZN.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-CtIEectd.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-rUhAVji4.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-DRfQ_m4b.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-8AkUqZBd.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -11,7 +11,7 @@ import { jsxs, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
13
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
15
15
|
const header = "adyen-kyc-header";
|
|
16
16
|
const headerMargin = "adyen-kyc-header-margin";
|
|
17
17
|
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, af as getCapabilityProblems, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, af as getCapabilityProblems, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { Suspense } from "preact/compat";
|
|
14
14
|
const useCapabilityProblems = () => {
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, ad as DecisionMakerTypes, O as TaskTypes, g as getLegalEntityCountry, bd as getAvailableDecisionMakerRoleTypes, be as allowedCountriesForNominee, ae as Scenarios, bf as isLowRiskCountry } from "./StoreProvider-
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { C as CountryCodes, ad as DecisionMakerTypes, O as TaskTypes, g as getLegalEntityCountry, bd as getAvailableDecisionMakerRoleTypes, be as allowedCountriesForNominee, ae as Scenarios, bf as isLowRiskCountry } from "./StoreProvider-DFe7h79h.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-5sdQIYnR.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-TnGn5IWZ.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-DxOCkUft.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DGkmAwc6.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
@@ -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] = "219fed6c-20eb-439e-8428-972f2dc1dfbd", e._sentryDebugIdIdentifier = "sentry-dbid-219fed6c-20eb-439e-8428-972f2dc1dfbd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,64 +11,64 @@ 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 { b as useApiContext, j as httpPost, C as CountryCodes, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, av as isInvalidName, aw as INDIVIDUAL_VALID_CHAR_REGEX, an as isEmpty, O as TaskTypes, q as LegalEntityTypes, ax as getAgeToday, ay as euCountries, az as hasText, aA as standardKatakanaValidator, aB as standardKanjiValidator, k as httpGet, u as useTranslation, B as Button, L as Loader, ad as DecisionMakerTypes, ae as Scenarios, x as Typography, ag as useI18nContext, m as useSettingsContext, W as useExperimentsContext, aC as useVersionConfiguration, aD as getAgeRangeForLegalRepresentative, aE as isLegalRepresentativeNeeded, aF as Trans, aG as keysOf, aa as objectsDeepEqual, aH as listToRecord, aI as pick, z as createLogger, V as IconButton, P as useAnalyticsContext, y as translateStringOrObject, aJ as individualOnfidoApiKeyMapping, aK as drop, K as useAccountHolder, g as getLegalEntityCountry, aL as getAllowedDecisionMakerRoles, aM as filterOutUnwantedAssociationsIfRootLE, ah as cloneObject, aN as individualOnfidoDocumentMapping, aO as individualOnfidoObscuredFields, a6 as getOwnEntityAssociations, aP as hasNomineesChanged, aQ as attachNomineeToRole, aR as doArraysMatch } from "./StoreProvider-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
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 useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-C2y4vwDx.js";
|
|
15
|
+
import { b as useApiContext, j as httpPost, C as CountryCodes, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, av as isInvalidName, aw as INDIVIDUAL_VALID_CHAR_REGEX, an as isEmpty, O as TaskTypes, q as LegalEntityTypes, ax as getAgeToday, ay as euCountries, az as hasText, aA as standardKatakanaValidator, aB as standardKanjiValidator, k as httpGet, u as useTranslation, B as Button, L as Loader, ad as DecisionMakerTypes, ae as Scenarios, x as Typography, ag as useI18nContext, m as useSettingsContext, W as useExperimentsContext, aC as useVersionConfiguration, aD as getAgeRangeForLegalRepresentative, aE as isLegalRepresentativeNeeded, aF as Trans, aG as keysOf, aa as objectsDeepEqual, aH as listToRecord, aI as pick, z as createLogger, V as IconButton, P as useAnalyticsContext, y as translateStringOrObject, aJ as individualOnfidoApiKeyMapping, aK as drop, K as useAccountHolder, g as getLegalEntityCountry, aL as getAllowedDecisionMakerRoles, aM as filterOutUnwantedAssociationsIfRootLE, ah as cloneObject, aN as individualOnfidoDocumentMapping, aO as individualOnfidoObscuredFields, a6 as getOwnEntityAssociations, aP as hasNomineesChanged, aQ as attachNomineeToRole, aR as doArraysMatch } from "./StoreProvider-DFe7h79h.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ct0BOkGA.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3X6c0R4C.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-B8BYTDF9.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-C3WkLa3l.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DNrmF9Am.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-D2Fq5DtI.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DHXrxhNp.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-rUhAVji4.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-JbZuO6-M.js";
|
|
25
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-OV9x_wa5.js";
|
|
26
26
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.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, 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-
|
|
27
|
+
import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-CrMDKiOm.js";
|
|
28
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels } from "./utils-5sdQIYnR.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-OHfONOiZ.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DpV9D-MN.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-D7SLhgRR.js";
|
|
32
32
|
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, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
34
|
-
import { i as isCompatibleJapanVersion } 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-
|
|
33
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-DbZlhoTU.js";
|
|
34
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-TnGn5IWZ.js";
|
|
35
|
+
import { l as localizeDateString } from "./localizeDateString-BQuMEjx7.js";
|
|
36
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-CLdlMqp3.js";
|
|
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--ToksMNH.js";
|
|
38
|
+
import { v as validatePatternOnBlur } from "./patternValidators-BLAozpb5.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
40
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DGkmAwc6.js";
|
|
41
41
|
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-
|
|
42
|
+
import { I as Image, T as TrustedFieldsProviders } from "./Image-CMNFPcrm.js";
|
|
43
|
+
import { M as Modal } from "./Modal-7lE7znZN.js";
|
|
44
|
+
import { L as LandingLayout } from "./LandingLayout-DBT8W7Qe.js";
|
|
45
|
+
import { a as Alert } from "./Alert-6yk6aSYm.js";
|
|
46
|
+
import { C as Confirm } from "./Confirm-C1TcN1E9.js";
|
|
47
|
+
import { a as getIndividualLegalEntityName } from "./getName-ua2FqwPS.js";
|
|
48
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DxOCkUft.js";
|
|
49
49
|
import { signal } from "@preact/signals";
|
|
50
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
50
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-CEBjM0e9.js";
|
|
51
51
|
import { g as getFieldProps, a as getFormProps } from "./getProps-CLJfvUMb.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-
|
|
52
|
+
import { F as Field } from "./Field-DFKaTQZO.js";
|
|
53
|
+
import { H as Header } from "./Header-vP7iEB8D.js";
|
|
54
|
+
import { L as Link } from "./Link-PXTVxklG.js";
|
|
55
|
+
import { S as SettingNames } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
56
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-DpG0gGqp.js";
|
|
57
|
+
import { I as InputText } from "./InputText-ZSc64lwj.js";
|
|
58
|
+
import { C as CountryField } from "./CountryField-Co9Du8i0.js";
|
|
59
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-Bkj80U32.js";
|
|
60
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DLUm6Val.js";
|
|
61
|
+
import { C as Checkbox } from "./Checkbox-1l3EkvoS.js";
|
|
62
|
+
import { S as Select } from "./Select-C8xW8DMz.js";
|
|
63
|
+
import { u as useDataset } from "./useDataset-CrLF-Hg6.js";
|
|
64
|
+
import { C as ContextGuidance } from "./ContextGuidance-CLhbcHxL.js";
|
|
65
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-DmjYSDvi.js";
|
|
66
|
+
import { i as isTruthyValidator } from "./commonValidators-a61PImkY.js";
|
|
67
|
+
import { n as nameFields, N as Name } from "./Name-Cmzgb3RM.js";
|
|
68
|
+
import { D as Dropzone } from "./Dropzone-D9ID9wyz.js";
|
|
69
|
+
import { i as isEmpty$1 } from "./isEmpty-CXpPN4rw.js";
|
|
70
70
|
import { Onfido } from "onfido-sdk-ui";
|
|
71
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
71
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BNR1y6DU.js";
|
|
72
72
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
73
73
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
74
74
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -1701,7 +1701,7 @@ const additionalIdentityInfoFields = [
|
|
|
1701
1701
|
"expiryDate"
|
|
1702
1702
|
];
|
|
1703
1703
|
const LazyJpAddress = lazy(
|
|
1704
|
-
async () => (await import("./JpAddress-
|
|
1704
|
+
async () => (await import("./JpAddress-B35nyqHT.js")).JpAddress
|
|
1705
1705
|
);
|
|
1706
1706
|
const additionalPersonalDetailsFields = [
|
|
1707
1707
|
"birthDate",
|
|
@@ -4355,12 +4355,6 @@ const identityOnfidoBase = {
|
|
|
4355
4355
|
proofOfRelationship: {
|
|
4356
4356
|
rule: "isProofOfRelationshipRequired"
|
|
4357
4357
|
},
|
|
4358
|
-
nomineeDirector: {
|
|
4359
|
-
rules: ["nomineeDirectorRequiredForCountry"]
|
|
4360
|
-
},
|
|
4361
|
-
nomineeShareholder: {
|
|
4362
|
-
rules: ["nomineeShareHolderRequiredForCountry"]
|
|
4363
|
-
},
|
|
4364
4358
|
idVerificationMethod: {
|
|
4365
4359
|
rule: "isIdVerificationMethodRequired"
|
|
4366
4360
|
},
|
|
@@ -4514,6 +4508,7 @@ function IndividualOnfidoDropin({
|
|
|
4514
4508
|
isTargetLegalEntityType,
|
|
4515
4509
|
country: parentCountry,
|
|
4516
4510
|
problems: propProblems,
|
|
4511
|
+
trustMember,
|
|
4517
4512
|
onSubmit: externalOnSubmit,
|
|
4518
4513
|
asModal = false,
|
|
4519
4514
|
handleBackClick: externalBackClick,
|
|
@@ -4862,7 +4857,18 @@ function IndividualOnfidoDropin({
|
|
|
4862
4857
|
parentLE,
|
|
4863
4858
|
dataSubmitted
|
|
4864
4859
|
}) => {
|
|
4865
|
-
|
|
4860
|
+
let newRoles = null;
|
|
4861
|
+
switch (taskType) {
|
|
4862
|
+
case TaskTypes.DECISION_MAKER:
|
|
4863
|
+
case TaskTypes.TRUST_MEMBER_COMPANY_OWNER:
|
|
4864
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER:
|
|
4865
|
+
newRoles = dataSubmitted?.basicDetails?.role;
|
|
4866
|
+
break;
|
|
4867
|
+
case TaskTypes.TRUST_MEMBER_INDIVIDUAL:
|
|
4868
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL:
|
|
4869
|
+
newRoles = trustMember?.roles;
|
|
4870
|
+
break;
|
|
4871
|
+
}
|
|
4866
4872
|
const existingEntityAssociations = getOwnEntityAssociations(parentLE);
|
|
4867
4873
|
if (newRoles && (hasRolesChanged(legalEntity?.id, existingEntityAssociations, newRoles) || dataFromResponse.basicDetails?.jobTitle !== dataSubmitted?.basicDetails?.jobTitle || hasNomineesChanged(dataFromResponse.basicDetails, dataSubmitted.basicDetails))) {
|
|
4868
4874
|
const updatedParentLegalEntity = {
|
|
@@ -9,7 +9,7 @@
|
|
|
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-ZSc64lwj.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -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-DFe7h79h.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, q as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, P as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, q as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, P as useAnalyticsContext, B as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DFe7h79h.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-CtIEectd.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-BMExGBCT.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -10,19 +10,19 @@
|
|
|
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, ab as noop, u as useTranslation, ag as useI18nContext, W as useExperimentsContext, P as useAnalyticsContext, C as CountryCodes, x as Typography, z as createLogger } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, k as httpGet, ab as noop, u as useTranslation, ag as useI18nContext, W as useExperimentsContext, P as useAnalyticsContext, C as CountryCodes, x as Typography, z as createLogger } from "./StoreProvider-DFe7h79h.js";
|
|
14
|
+
import { F as Field } from "./Field-DFKaTQZO.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 useForm } from "./useForm-
|
|
17
|
+
import { u as useForm } from "./useForm-BdPHRqxE.js";
|
|
18
18
|
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
|
|
19
|
+
import { I as InputText } from "./InputText-ZSc64lwj.js";
|
|
20
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput--ToksMNH.js";
|
|
21
21
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.js";
|
|
22
|
-
import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-
|
|
22
|
+
import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-B8BYTDF9.js";
|
|
23
23
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
24
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
25
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
24
|
+
import { c as convertFullToHalf } from "./TextArea-BeeKryd-.js";
|
|
25
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-CrMDKiOm.js";
|
|
26
26
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
27
27
|
baseUrl,
|
|
28
28
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|