@adyen/kyc-components 3.93.1 → 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-CrWhY2QI.js → AcceptTermsOfServiceComponent-Bl2blUap.js} +15 -15
- package/dist/{Accordion-CnXmXY3u.js → Accordion-BWbxhRXM.js} +1 -1
- package/dist/{AccountSetupRejected-jkjHdJYX.js → AccountSetupRejected-BuIn3tBW.js} +3 -3
- package/dist/{ActionBar-B5aGY4gj.js → ActionBar-XP3r2wMq.js} +1 -1
- package/dist/{Address-yhjiQyIP.js → Address-B8BYTDF9.js} +9 -9
- package/dist/{Alert-CxPBVJnQ.js → Alert-6yk6aSYm.js} +2 -2
- package/dist/{Avatar-AcJzW3Gt.js → Avatar-DiGEveus.js} +1 -1
- package/dist/{BusinessFinancingComponent-_NkwO3qT.js → BusinessFinancingComponent-CoQn0wE8.js} +4 -4
- package/dist/{BusinessFinancingDropin-jYYy8Ew1.js → BusinessFinancingDropin-dqfbr2wH.js} +27 -27
- package/dist/{BusinessFinancingPage-DTKBWMMk.js → BusinessFinancingPage-BhX1p3-d.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-B4jPIAaI.js → BusinessTypeSelectionPage-CaJn31vF.js} +8 -8
- package/dist/{Checkbox-ybjGfbAS.js → Checkbox-1l3EkvoS.js} +1 -1
- package/dist/{Confirm-CC2MZ8mp.js → Confirm-C1TcN1E9.js} +2 -2
- package/dist/{ConstitutionalDocument-CwXqSpPZ.js → ConstitutionalDocument-O76Bt_mC.js} +17 -17
- package/dist/{ContactDetails-vEwsmk5F.js → ContactDetails-C3WkLa3l.js} +7 -7
- package/dist/{ContextGuidance-DxYGgmNp.js → ContextGuidance-CLhbcHxL.js} +2 -2
- package/dist/{CountryField-CioC9KSN.js → CountryField-Co9Du8i0.js} +4 -4
- package/dist/{CreateIndividualComponent-DtiDz4OZ.js → CreateIndividualComponent-w8WRFV7Y.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CITw4G0Z.js → CreateTransferInstrumentComponent-Zek6OQuW.js} +3 -3
- package/dist/{Currency-BWcYdjrg.js → Currency-frsLE0Mk.js} +6 -6
- package/dist/{CustomerSupport-vezKslUL.js → CustomerSupport-BuvE7Iyw.js} +10 -10
- package/dist/{DebugModal-ilx20O-z.js → DebugModal-Bj5wKpUi.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-udA1ekHk.js → DecisionMakerDetailsPage-B-D8xNNQ.js} +6 -6
- package/dist/{DecisionMakers-JiawOYAg.js → DecisionMakers-YBnxP-Rk.js} +20 -20
- package/dist/{Dropzone-Dqct2mv1.js → Dropzone-D9ID9wyz.js} +3 -3
- package/dist/{EmbeddedStatus-BQeYdbXG.js → EmbeddedStatus-B_MiP_cY.js} +2 -2
- package/dist/{EndStateLayout-D7ejkFZ1.js → EndStateLayout-B4bqInZH.js} +1 -1
- package/dist/{EntityAssociation-D4vDK9te.js → EntityAssociation-Iuviqe3A.js} +5 -5
- package/dist/{EntityGuidanceStatus-BKB4wGNX.js → EntityGuidanceStatus-Bg7bubL9.js} +2 -2
- package/dist/{ErrorPanel-dxnws9rw.js → ErrorPanel-CEBjM0e9.js} +2 -2
- package/dist/{Field-9UIOn110.js → Field-DFKaTQZO.js} +1 -1
- package/dist/{FormNavigation-B_898wAD.js → FormNavigation-DRfQ_m4b.js} +2 -2
- package/dist/{FormWrapper-E4IP_O0u.js → FormWrapper-zlV1oSXl.js} +8 -8
- package/dist/{Header-BZvfNzAE.js → Header-vP7iEB8D.js} +1 -1
- package/dist/{Image-BXBiYRx1.js → Image-CMNFPcrm.js} +1 -1
- package/dist/{Individual.rules-CRi3iI3r.js → Individual.rules-DmjYSDvi.js} +5 -5
- package/dist/{IndividualDropin-B4O3AFb4.js → IndividualDropin-Cl3HQJO6.js} +52 -52
- package/dist/{InputDate-BPB50tTi.js → InputDate-DpG0gGqp.js} +1 -1
- package/dist/{InputText-CuIpKOft.js → InputText-ZSc64lwj.js} +1 -1
- package/dist/{Introduction-CIvxyWKT.js → Introduction-DTSfCf6A.js} +3 -3
- package/dist/{JpAddress-DUu1vCZn.js → JpAddress-B35nyqHT.js} +8 -8
- package/dist/{LandingLayout-BYQx1wal.js → LandingLayout-DBT8W7Qe.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-D-B4ZkiZ.js → LegalRepresentativeDetailsPage-D__r_ycZ.js} +3 -3
- package/dist/{Link-qlQ-mE4s.js → Link-PXTVxklG.js} +1 -1
- package/dist/{ListItem-CLlQZ8gg.js → ListItem-C4fi4457.js} +2 -2
- package/dist/{LoaderWrapper-Dhf_zvqD.js → LoaderWrapper-BNR1y6DU.js} +1 -1
- package/dist/{ManageIndividualComponent-Dw2ISOYx.js → ManageIndividualComponent-3sd4inpE.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-I-4GpnBC.js → ManageTermsOfServiceComponent-CW_DociG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DymIY-22.js → ManageTransferInstrumentComponent-sdSJD__5.js} +11 -11
- package/dist/{MaskedInput-BTLykEnB.js → MaskedInput--ToksMNH.js} +4 -4
- package/dist/{MaybeModal-gH43_hjD.js → MaybeModal-ZJ-9jxUX.js} +2 -2
- package/dist/{Modal-CM-wM-qw.js → Modal-7lE7znZN.js} +1 -1
- package/dist/{Name-CPHmLQcj.js → Name-Cmzgb3RM.js} +4 -4
- package/dist/{OnboardingDropinComponent-CqyGxCIF.js → OnboardingDropinComponent-BMExGBCT.js} +51 -44
- package/dist/{PayoutDetailsDropin-IIRPHbs2.js → PayoutDetailsDropin-CUUIukUc.js} +40 -40
- package/dist/{RadioGroup-Dc7Q2Rs1.js → RadioGroup-Bkj80U32.js} +1 -1
- package/dist/{RadioGroupCard-fsbh1FMa.js → RadioGroupCard-DTDtnM3p.js} +1 -1
- package/dist/{Review-BTBsu1FW.js → Review-xfpm-blv.js} +6 -6
- package/dist/{RootBusinessDetailsPage-Bk3hovOq.js → RootBusinessDetailsPage-jLgmsvxE.js} +4 -4
- package/dist/{RootBusinessLinesPage-DvJR5QN-.js → RootBusinessLinesPage-CXUnP-hv.js} +22 -22
- package/dist/{RootIndividualDetailsPage-D6ZgP6Yn.js → RootIndividualDetailsPage-CGGJ42OP.js} +4 -4
- package/dist/{Select-g4ZIuqzf.js → Select-C8xW8DMz.js} +3 -3
- package/dist/{SignPCIComponent--ZnppXM-.js → SignPCIComponent-DJe1p-rq.js} +10 -10
- package/dist/{SingpassSelection-B-g9coIW.js → SingpassSelection-DqzwMsrL.js} +5 -5
- package/dist/{SoleProprietorshipPage-CCpvKQ-M.js → SoleProprietorshipPage-57dzQFMn.js} +3 -3
- package/dist/{SourceOfFundsPage-BOId-NEh.js → SourceOfFundsPage-9VxkYSiC.js} +30 -30
- package/dist/{StepProgressIndicator-DuXeY-Ji.js → StepProgressIndicator-CtIEectd.js} +1 -1
- package/dist/{StoreProvider-DXiURGut.js → StoreProvider-DFe7h79h.js} +4 -4
- package/dist/{Summary-BqQuJ_8r.js → Summary-8AkUqZBd.js} +5 -5
- package/dist/{TaskVerificationStatus-BhsC0d83.js → TaskVerificationStatus-lHW-xiMl.js} +1 -1
- package/dist/{TaxInformationField-DxHmThTn.js → TaxInformationField-DbZlhoTU.js} +20 -20
- package/dist/{TaxReportingDropin-BFtHBE0G.js → TaxReportingDropin-CiRlcejc.js} +15 -15
- package/dist/{TextArea-dzk-Hz0s.js → TextArea-BeeKryd-.js} +1 -1
- package/dist/{TileGroup-CWmrWmrc.js → TileGroup-EswXDZTl.js} +2 -2
- package/dist/{TrustDetailsPage-CYXy_oSA.js → TrustDetailsPage-Bz17HJla.js} +33 -33
- package/dist/{TrustMemberCompanyPage-c5FqJgA0.js → TrustMemberCompanyPage-DlGBEC2g.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D95wgUEX.js → TrustMemberIndividualPage-B8-QPgwd.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-vReMFUPl.js → TrustMemberRoleAndTypePage-BEmAcxMN.js} +21 -21
- package/dist/{TrustMembersOverview-C3whuTLb.js → TrustMembersOverview-C8ZGvHtf.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BT0o4nCk.js → UnincorporatedPartnershipIndividualPage-D7lWSR2b.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BL5jNA1v.js → UnincorporatedPartnershipMemberCompanyPage-5SHrMYyu.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Df8Hlnaz.js → UnincorporatedPartnershipMemberRoleAndTypePage-DnNZTTs-.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CMFgCaPP.js → UnincorporatedPartnershipMembersOverview-DkjGuKd1.js} +8 -8
- package/dist/{VerificationErrorAlert-YIaLxE-O.js → VerificationErrorAlert-Cy3e-mt1.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-C2m9uO88.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-3-MXkpOu.js → bafinUtils-DxOCkUft.js} +1 -1
- package/dist/{commonValidators-CvhdLvwJ.js → commonValidators-a61PImkY.js} +1 -1
- package/dist/{dropinUtils-DEfLPCCu.js → dropinUtils-rUhAVji4.js} +3 -3
- package/dist/{fieldConfig-i632Nbmq.js → fieldConfig-CjFtyFp1.js} +5 -5
- package/dist/{formUtils-auKGzYN2.js → formUtils-DLUm6Val.js} +2 -2
- package/dist/{getName-FmqO67Kg.js → getName-ua2FqwPS.js} +1 -1
- package/dist/{iframeWidget-DGTTrpE5.js → iframeWidget-CLdlMqp3.js} +3 -3
- package/dist/{isEmpty-DZgDyPN3.js → isEmpty-CXpPN4rw.js} +1 -1
- package/dist/{japanSupportUtils-KkwObU7v.js → japanSupportUtils-TnGn5IWZ.js} +1 -1
- package/dist/{localizeDateString-ByBuZ1iL.js → localizeDateString-BQuMEjx7.js} +1 -1
- package/dist/{mapExistingFile-CnQazn3n.js → mapExistingFile-OV9x_wa5.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BTL82cuH.js → mapJpAddressSchemaToAddressLocalizations-CrMDKiOm.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-FtQl_-9r.js → mapLegalEntityToIndividualSchema-OHfONOiZ.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CKhFTkpw.js → mapTransferInstrumentToPayoutAccount-B5_lTJt3.js} +1 -1
- package/dist/{patternValidators-BZlgrAQb.js → patternValidators-BLAozpb5.js} +1 -1
- package/dist/{process-field-configurations-CM8b0fRK.js → process-field-configurations-DHXrxhNp.js} +2 -2
- package/dist/{resolveEnvironment-jCN5Resb.js → resolveEnvironment-CyfVWzYX.js} +3 -3
- package/dist/{roleMetadata-BZ26IQnH.js → roleMetadata-23nN7oCe.js} +1 -1
- package/dist/style.css +3 -0
- package/dist/styles-CLV89_hH.js +3 -0
- package/dist/{types-BMst9idn.js → types-BpvEIxZ0.js} +1 -1
- package/dist/{types-BsY2Wg3O.js → types-DTQ33mfC.js} +1 -1
- package/dist/{types-BTLlcDKa.js → types-VptJHKqG.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CJiEkdR8.js → useAssociatedLegalEntity-CcwRHOXQ.js} +1 -1
- package/dist/{useBusinessDetailsData-BieE0SdV.js → useBusinessDetailsData-CfkQGAR-.js} +49 -49
- package/dist/{useCreateLegalEntity-xINFgs6B.js → useCreateLegalEntity-Ct0BOkGA.js} +1 -1
- package/dist/{useDataset-BbOhm-Ne.js → useDataset-CrLF-Hg6.js} +1 -1
- package/dist/{useForm-B6ojiFf9.js → useForm-BdPHRqxE.js} +2 -2
- package/dist/{useFormContext-ByUwzmVh.js → useFormContext-DNrmF9Am.js} +6 -6
- package/dist/{useGlobalData-B8ICoIsw.js → useGlobalData-D_H_V304.js} +1 -1
- package/dist/{useMultiForm-D4jezPMQ.js → useMultiForm-JbZuO6-M.js} +3 -3
- package/dist/{useOnboardingStatus-BpfNV-3z.js → useOnboardingStatus-CPmIkoBj.js} +1 -1
- package/dist/{useScenarios-DvDNRo-m.js → useScenarios-C2y4vwDx.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Why8A7vu.js → useTermsOfServiceStatus-C7nUzGt3.js} +1 -1
- package/dist/{useToastContext-D66_g9cX.js → useToastContext-D2Fq5DtI.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-q3SW3Xfg.js → useUnincorporatedPartnershipMembers-C2KTusSw.js} +3 -3
- package/dist/{useUpdateBusinessLines-NOROTVfm.js → useUpdateBusinessLines-BEgF4OKo.js} +3 -3
- package/dist/{useUpdateLegalEntity-CoYO10DU.js → useUpdateLegalEntity-3X6c0R4C.js} +2 -2
- package/dist/{utils-CfIoQL_C.js → utils-5sdQIYnR.js} +1 -1
- package/dist/{utils-Dl9ukw_A.js → utils-BTedo3YJ.js} +1 -1
- package/dist/{utils-BpRSzICh.js → utils-D7wsdaXr.js} +5 -5
- package/dist/{utils-B55HnbZj.js → utils-DGkmAwc6.js} +1 -1
- package/dist/{utils-DeLZzVKi.js → utils-DoI9rv3y.js} +2 -2
- package/dist/{validate-Bjm1Dj28.js → validate-CRb8sHDv.js} +1 -1
- package/dist/{validate-CwM9EfAI.js → validate-D7SLhgRR.js} +2 -2
- package/dist/{validationError-DIU806KL.js → validationError-DpV9D-MN.js} +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet, C as CountryCodes } from "./StoreProvider-
|
|
14
|
-
import { u as useSetting } from "./bafinUtils-
|
|
15
|
-
import { u as useCapabilities } from "./TaxInformationField-
|
|
16
|
-
import { i as isEmpty } from "./isEmpty-
|
|
13
|
+
import { b as useApiContext, k as httpGet, C as CountryCodes } from "./StoreProvider-DFe7h79h.js";
|
|
14
|
+
import { u as useSetting } from "./bafinUtils-DxOCkUft.js";
|
|
15
|
+
import { u as useCapabilities } from "./TaxInformationField-DbZlhoTU.js";
|
|
16
|
+
import { i as isEmpty } from "./isEmpty-CXpPN4rw.js";
|
|
17
17
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
18
18
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
19
19
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { ag as useI18nContext, P as useAnalyticsContext, x as Typography, B as Button, C as CountryCodes, ap as reverseMapping, b8 as getNomineeFromAssociation, b9 as individualOnfidoBaseMapping, ad as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { ag as useI18nContext, P as useAnalyticsContext, x as Typography, B as Button, C as CountryCodes, ap as reverseMapping, b8 as getNomineeFromAssociation, b9 as individualOnfidoBaseMapping, ad as DecisionMakerTypes } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { a as mapApiScriptLocalizationToSchemaFields, b as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
13
13
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
14
14
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as Field } from "./Field-
|
|
16
|
-
import { T as TileGroup } from "./TileGroup-
|
|
15
|
+
import { F as Field } from "./Field-DFKaTQZO.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-EswXDZTl.js";
|
|
17
17
|
const individualFormDefaultData = signal(null);
|
|
18
18
|
const guidanceQuestion = "adyen-kyc-guidance-question";
|
|
19
19
|
const options = "adyen-kyc-options";
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, bg as crossBorderMapping, bh as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, bg as crossBorderMapping, bh as payoutComponentKeyMapping } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { m as mapWith } from "./utils-DNSfZiio.js";
|
|
13
13
|
const getTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpGet({
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { az as hasText, an as isEmpty, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, bk as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aA as standardKatakanaValidator, aB as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { az as hasText, an as isEmpty, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, bk as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aA as standardKatakanaValidator, aB as standardKanjiValidator } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-CM8b0fRK.js → process-field-configurations-DHXrxhNp.js}
RENAMED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as TrustedFieldsProviders } from "./Image-
|
|
10
|
+
import { T as TrustedFieldsProviders } from "./Image-CMNFPcrm.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { z as createLogger, b5 as businessDetailsApiKeyMapping, aJ as individualOnfidoApiKeyMapping, b6 as remediationHasFileUploadField, b7 as dataMissingRemediationsToFieldsMap, aG as keysOf } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, b5 as businessDetailsApiKeyMapping, aJ as individualOnfidoApiKeyMapping, b6 as remediationHasFileUploadField, b7 as dataMissingRemediationsToFieldsMap, aG as keysOf } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -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] = "09c81a33-c634-4ad2-be9d-c180378c32a1", e._sentryDebugIdIdentifier = "sentry-dbid-09c81a33-c634-4ad2-be9d-c180378c32a1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { h as h$1, hydrate, render, cloneElement, Fragment } from "preact";
|
|
11
11
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { al as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
12
|
+
import { al as refreshSession, B as Button, L as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, d as StoreProvider, e as AnalyticsProvider, I as I18nProvider, D as DebugListener, T as ToastContextProvider, f as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
14
|
function i() {
|
|
15
15
|
return i = Object.assign ? Object.assign.bind() : function(t) {
|
|
@@ -135,7 +135,7 @@ const EmbedShell = ({
|
|
|
135
135
|
experiments,
|
|
136
136
|
refreshExperiments,
|
|
137
137
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
138
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.93.
|
|
138
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.93.2" }),
|
|
139
139
|
/* @__PURE__ */ jsx(
|
|
140
140
|
AnalyticsProvider,
|
|
141
141
|
{
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bl as TrustMemberGuidanceLabels, a7 as TrustMemberTypes, ad as DecisionMakerTypes } from "./StoreProvider-
|
|
10
|
+
import { bl as TrustMemberGuidanceLabels, a7 as TrustMemberTypes, ad as DecisionMakerTypes } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
package/dist/style.css
CHANGED
|
@@ -4740,6 +4740,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4740
4740
|
height: 32px;
|
|
4741
4741
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4742
4742
|
}
|
|
4743
|
+
.adyen-task-item__warning-message {
|
|
4744
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4745
|
+
}
|
|
4743
4746
|
|
|
4744
4747
|
.adyen-kyc-task-status-details-required,
|
|
4745
4748
|
.adyen-kyc-task-status-sign,
|
package/dist/styles-CLV89_hH.js
CHANGED
|
@@ -4749,6 +4749,9 @@ input.adyen-kyc-radio-group-card__radio--floating {
|
|
|
4749
4749
|
height: 32px;
|
|
4750
4750
|
padding: var(--adyen-internal-spacer-000, 0px) var(--adyen-internal-spacer-040, 8px);
|
|
4751
4751
|
}
|
|
4752
|
+
.adyen-task-item__warning-message {
|
|
4753
|
+
margin-top: var(--adyen-internal-spacer-050, 10px);
|
|
4754
|
+
}
|
|
4752
4755
|
|
|
4753
4756
|
.adyen-kyc-task-status-details-required,
|
|
4754
4757
|
.adyen-kyc-task-status-sign,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { q as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { q as LegalEntityTypes, C as CountryCodes } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { z as createLogger, c as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, c as useLegalEntity } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,66 +10,66 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useEffect, useCallback, useState, useMemo } from "preact/hooks";
|
|
13
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
14
|
-
import { u as useTranslation, ag as useI18nContext, an as isEmpty, i as isUndefinedOrNull, C as CountryCodes, br as isISIN, B as Button, W as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aC as useVersionConfiguration, x as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ai as entriesOf, P as useAnalyticsContext, z as createLogger, K as useAccountHolder, O as TaskTypes, q as LegalEntityTypes, bs as businessDetailsComponentsKeyMapping, bt as solePropBusinessDetailsKeyMapping, aa as objectsDeepEqual, aG as keysOf, bu as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, aM as filterOutUnwantedAssociationsIfRootLE, aK as drop, a6 as getOwnEntityAssociations, aR as doArraysMatch, bv as solePropBusinessDetailsDocumentMapping, bw as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
20
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { C as Confirm } from "./Confirm-
|
|
25
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
27
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
29
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
30
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
31
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
32
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
33
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
34
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
13
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-BEgF4OKo.js";
|
|
14
|
+
import { u as useTranslation, ag as useI18nContext, an as isEmpty, i as isUndefinedOrNull, C as CountryCodes, br as isISIN, B as Button, W as useExperimentsContext, c as useLegalEntity, R as ROOT_LE, aC as useVersionConfiguration, x as Typography, L as Loader, m as useSettingsContext, b as useApiContext, j as httpPost, ai as entriesOf, P as useAnalyticsContext, z as createLogger, K as useAccountHolder, O as TaskTypes, q as LegalEntityTypes, bs as businessDetailsComponentsKeyMapping, bt as solePropBusinessDetailsKeyMapping, aa as objectsDeepEqual, aG as keysOf, bu as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, aM as filterOutUnwantedAssociationsIfRootLE, aK as drop, a6 as getOwnEntityAssociations, aR as doArraysMatch, bv as solePropBusinessDetailsDocumentMapping, bw as businessDetailsDocumentMapping } from "./StoreProvider-DFe7h79h.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ct0BOkGA.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3X6c0R4C.js";
|
|
17
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DNrmF9Am.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-D2Fq5DtI.js";
|
|
19
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DxOCkUft.js";
|
|
20
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-DHXrxhNp.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-rUhAVji4.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-JbZuO6-M.js";
|
|
23
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-OV9x_wa5.js";
|
|
24
|
+
import { C as Confirm } from "./Confirm-C1TcN1E9.js";
|
|
25
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-D7SLhgRR.js";
|
|
26
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, e as isUsingCompanySearch, M as MemoizedDocumentUpload, f as isRegistrationNumberAbsentStateV4Scenario, h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-DbZlhoTU.js";
|
|
27
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, a as defaultFieldConfig$1, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, M as MemoizedConstitutionalDocument, j as getDefaultRegistrationNumberType, k as getDefaultVatNumberType, l as inferCompanyRegistrationNumberType, m as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-O76Bt_mC.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-7lE7znZN.js";
|
|
29
|
+
import { S as SettingNames } from "./TaskVerificationStatus-lHW-xiMl.js";
|
|
30
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-CrMDKiOm.js";
|
|
31
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-5sdQIYnR.js";
|
|
32
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-D7wsdaXr.js";
|
|
33
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-DoI9rv3y.js";
|
|
34
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, c as StateField, i as isDateOlderThanAYear } from "./Address-B8BYTDF9.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
|
-
import { s as summaryStep } from "./Summary-
|
|
37
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
36
|
+
import { s as summaryStep } from "./Summary-8AkUqZBd.js";
|
|
37
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DpV9D-MN.js";
|
|
38
38
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
41
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-frsLE0Mk.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-CXpPN4rw.js";
|
|
42
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
43
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
44
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-
|
|
45
|
-
import { i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
-
import { F as Field } from "./Field-
|
|
47
|
-
import { H as Header } from "./Header-
|
|
48
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
49
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
50
|
-
import { u as useForm } from "./useForm-
|
|
51
|
-
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-
|
|
52
|
-
import { c as currencyByCountry } from "./types-
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
44
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./fieldConfig-CjFtyFp1.js";
|
|
45
|
+
import { i as useBusinessLines } from "./OnboardingDropinComponent-BMExGBCT.js";
|
|
46
|
+
import { F as Field } from "./Field-DFKaTQZO.js";
|
|
47
|
+
import { H as Header } from "./Header-vP7iEB8D.js";
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-Bkj80U32.js";
|
|
49
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-D_H_V304.js";
|
|
50
|
+
import { u as useForm } from "./useForm-BdPHRqxE.js";
|
|
51
|
+
import { c as createFormUtils, m as mergeFieldMetadataIntoProps } from "./formUtils-DLUm6Val.js";
|
|
52
|
+
import { c as currencyByCountry } from "./types-VptJHKqG.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-DpG0gGqp.js";
|
|
54
54
|
import { Suspense, lazy } from "preact/compat";
|
|
55
|
-
import { C as Checkbox } from "./Checkbox-
|
|
56
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
57
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
58
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput
|
|
59
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
55
|
+
import { C as Checkbox } from "./Checkbox-1l3EkvoS.js";
|
|
56
|
+
import { E as ErrorPanel } from "./ErrorPanel-CEBjM0e9.js";
|
|
57
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-BLAozpb5.js";
|
|
58
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput--ToksMNH.js";
|
|
59
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-TnGn5IWZ.js";
|
|
60
60
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
61
61
|
import { signal } from "@preact/signals";
|
|
62
62
|
import cx from "classnames";
|
|
63
|
-
import { L as Link } from "./Link-
|
|
63
|
+
import { L as Link } from "./Link-PXTVxklG.js";
|
|
64
64
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
65
|
-
import { I as InputText } from "./InputText-
|
|
66
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
67
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
65
|
+
import { I as InputText } from "./InputText-ZSc64lwj.js";
|
|
66
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-Co9Du8i0.js";
|
|
67
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BNR1y6DU.js";
|
|
68
68
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
69
69
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
70
|
-
import { L as ListItem } from "./ListItem-
|
|
71
|
-
import { a as Alert } from "./Alert-
|
|
72
|
-
import { T as TileGroup } from "./TileGroup-
|
|
70
|
+
import { L as ListItem } from "./ListItem-C4fi4457.js";
|
|
71
|
+
import { a as Alert } from "./Alert-6yk6aSYm.js";
|
|
72
|
+
import { T as TileGroup } from "./TileGroup-EswXDZTl.js";
|
|
73
73
|
const FINANCIAL_REPORTING_DATE_FIELD = [
|
|
74
74
|
"financialReportingDate"
|
|
75
75
|
];
|
|
@@ -781,7 +781,7 @@ function VerifiedBusinessCard({
|
|
|
781
781
|
] });
|
|
782
782
|
}
|
|
783
783
|
const LazyJpAddress = lazy(
|
|
784
|
-
async () => (await import("./JpAddress-
|
|
784
|
+
async () => (await import("./JpAddress-B35nyqHT.js")).JpAddress
|
|
785
785
|
);
|
|
786
786
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
787
787
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { z as createLogger, ag as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { z as createLogger, ag as useI18nContext } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { z as createLogger, an as isEmpty, aR as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { z as createLogger, an as isEmpty, aR as doArraysMatch } from "./StoreProvider-DFe7h79h.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-BTedo3YJ.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { P as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { P as useAnalyticsContext, u as useTranslation, B as Button } from "./StoreProvider-DFe7h79h.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BNR1y6DU.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-ZJ-9jxUX.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-rUhAVji4.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-C1TcN1E9.js";
|
|
19
|
+
import { S as Summary } from "./Summary-8AkUqZBd.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import { ba as StateContext } from "./StoreProvider-
|
|
12
|
+
import { ba as StateContext } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { aa as objectsDeepEqual, z as createLogger, an as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { aa as objectsDeepEqual, z as createLogger, an as isEmpty } from "./StoreProvider-DFe7h79h.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-BTedo3YJ.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-a61PImkY.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ai as entriesOf, ae as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ai as entriesOf, ae as Scenarios, k as httpGet } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
...countryCode && { countryCode },
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { z as createLogger, b as useApiContext, ak as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { z as createLogger, b as useApiContext, ak as ToastContext } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { q as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { q as LegalEntityTypes, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DFe7h79h.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CcwRHOXQ.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-ua2FqwPS.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, an as isEmpty, u as useTranslation, W as useExperimentsContext, V as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, an as isEmpty, u as useTranslation, W as useExperimentsContext, V as IconButton, j as httpPost } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-DFKaTQZO.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-C8xW8DMz.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D2Fq5DtI.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-DFe7h79h.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { C as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { C as CountryCodes } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { g as getLegalEntityCountry, bo as getCapabilities, q as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DxOCkUft.js";
|
|
11
|
+
import { g as getLegalEntityCountry, bo as getCapabilities, q as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-DFe7h79h.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-BMExGBCT.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DmjYSDvi.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DTQ33mfC.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { q as LegalEntityTypes, x as Typography } from "./StoreProvider-
|
|
11
|
+
import { q as LegalEntityTypes, x as Typography } from "./StoreProvider-DFe7h79h.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-BQuMEjx7.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { j as httpPost, aj as httpDelete, k as httpGet, z as createLogger, ba as StateContext, u as useTranslation, P as useAnalyticsContext, U as Icon, x as Typography, L as Loader, V as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, aj as httpDelete, k as httpGet, z as createLogger, ba as StateContext, u as useTranslation, P as useAnalyticsContext, U as Icon, x as Typography, L as Loader, V as IconButton } from "./StoreProvider-DFe7h79h.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-DGkmAwc6.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, aY as remediationPayoutApiKeyMapping, aZ as remediationBusinessDetailsApiKeyMapping, a_ as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, aY as remediationPayoutApiKeyMapping, aZ as remediationBusinessDetailsApiKeyMapping, a_ as remediationIndividualOnfidoApiKeyMapping } from "./StoreProvider-DFe7h79h.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|