@adyen/kyc-components 4.5.0-beta.2 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BXyM_UD_.js → AcceptTermsOfServiceComponent-Bo8nB0Eb.js} +14 -14
- package/dist/{AccountSetupRejected-C0yJZGnr.js → AccountSetupRejected-DQcFbIXL.js} +1 -1
- package/dist/{ActionBar-BV4k-dhc.js → ActionBar-Bj1Km-LP.js} +1 -1
- package/dist/{Address-VvcSEiTE.js → Address-C0rbmhQL.js} +9 -9
- package/dist/{Avatar-Carj3nfQ.js → Avatar-Cl1-jo6c.js} +1 -1
- package/dist/{BusinessFinancingComponent-CtJqqwuU.js → BusinessFinancingComponent-Bk0PbC9m.js} +4 -4
- package/dist/{BusinessFinancingDropin-FrBnYrTB.js → BusinessFinancingDropin-BAYyFYt9.js} +27 -27
- package/dist/{BusinessFinancingPage-BWteelOc.js → BusinessFinancingPage-Cc--qt48.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BS1D5JQX.js → BusinessTypeSelectionPage-C63ujxOo.js} +8 -8
- package/dist/{Checkbox-DnWiEg_u.js → Checkbox-DnP0i74G.js} +1 -1
- package/dist/{Confirm-BJg0m_d-.js → Confirm-Bf4Pjkty.js} +2 -2
- package/dist/{ConstitutionalDocument-C8vWbwmM.js → ConstitutionalDocument-CddO3OSY.js} +17 -17
- package/dist/{ContactDetails-CyIJ5Ky2.js → ContactDetails-BZ7dqNuH.js} +5 -5
- package/dist/{ContextGuidance-C98m5n_m.js → ContextGuidance-0XKaQ9Ba.js} +1 -1
- package/dist/{CountryField-D9-bXI4a.js → CountryField-BTwq-LdM.js} +3 -3
- package/dist/{CreateIndividualComponent-Cunw7KLs.js → CreateIndividualComponent-B0RfIm2Q.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BZj4nI2b.js → CreateTransferInstrumentComponent-XiVVyTGX.js} +3 -3
- package/dist/{Currency-D3j0A_bm.js → Currency-COs4cPiC.js} +6 -6
- package/dist/{CustomerSupport-B-vg6XE1.js → CustomerSupport-WsGepkci.js} +9 -9
- package/dist/{DebugModal-DUrWpKmH.js → DebugModal-BG-xZugG.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-Dts37GYg.js → DecisionMakerDetailsPage-BNDJ4G9u.js} +6 -6
- package/dist/{DecisionMakers-CUzS8xEV.js → DecisionMakers-BkgGDV_d.js} +18 -18
- package/dist/{Dropzone-DUVyfgqv.js → Dropzone-1307mgIt.js} +3 -3
- package/dist/{EmbeddedStatus-C199S4YI.js → EmbeddedStatus-C9Scvouz.js} +2 -2
- package/dist/{EndStateLayout-Cje2JmKE.js → EndStateLayout-D8bTvH_H.js} +1 -1
- package/dist/{EntityAssociation-DftI9bIe.js → EntityAssociation-CFtBLGS6.js} +4 -4
- package/dist/{EntityGuidanceStatus-Drsl6I5U.js → EntityGuidanceStatus-5wNdPvGh.js} +3 -3
- package/dist/{ErrorPanel-CXR5_PU5.js → ErrorPanel-DNuuMh-W.js} +1 -1
- package/dist/{Field-DvyeNUpx.js → Field-DhgxtDHi.js} +1 -1
- package/dist/{FormNavigation-7Ro7W85X.js → FormNavigation-CNUCAuSA.js} +2 -2
- package/dist/{Individual.rules-BOTbJmzq.js → Individual.rules-BMayKVCw.js} +5 -5
- package/dist/{IndividualDropin-CJ_mQfQH.js → IndividualDropin-CNYG1UJb.js} +49 -49
- package/dist/{InputDate-B_SqcQiB.js → InputDate-UU6golKr.js} +1 -1
- package/dist/{InputText-CUwGMcdr.js → InputText-B_Dy6ooB.js} +1 -1
- package/dist/{Introduction-Ba9cqJgc.js → Introduction-Dal7p5Mk.js} +3 -3
- package/dist/{JpAddress-DH5l5uZU.js → JpAddress-DEzR_98l.js} +8 -8
- package/dist/{LandingLayout-Ek4HVR6e.js → LandingLayout-CHRI270t.js} +1 -1
- package/dist/{LegalCompanyNameField-SrPs0ey2.js → LegalCompanyNameField-BtcoTH2A.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BRRHdhTF.js → LegalRepresentativeDetailsPage-DkeUe4ta.js} +3 -3
- package/dist/{Link-BtddS049.js → Link-Bl_GjNYw.js} +1 -1
- package/dist/{ListItem-C5y7CUNU.js → ListItem-DvSwwjUU.js} +2 -2
- package/dist/{LoaderWrapper-3M-aGlgv.js → LoaderWrapper-Coambg3s.js} +1 -1
- package/dist/{ManageIndividualComponent-CmIN-9NW.js → ManageIndividualComponent-Cg7imjd5.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BPEbeFnv.js → ManageTermsOfServiceComponent-DIblbnOJ.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BODBnatc.js → ManageTransferInstrumentComponent-COucevgP.js} +9 -9
- package/dist/{MaskedInput-C6fmDUWY.js → MaskedInput-CFPRK30D.js} +4 -4
- package/dist/{MaybeModal-BjPlvKWN.js → MaybeModal-BBBJD1jn.js} +2 -2
- package/dist/{Modal-DtbNibA7.js → Modal-DJLTbW4Y.js} +1 -1
- package/dist/{Name-BEtR6QAR.js → Name-Bu38kdOA.js} +4 -4
- package/dist/{NewSummary-L9vDgRZo.js → NewSummary-oIcQyhuq.js} +1 -1
- package/dist/{OnboardingDropinComponent-m0goHrcf.js → OnboardingDropinComponent-DqQmqcO8.js} +70 -70
- package/dist/{PayoutDetailsDropin-Du1kInvN.js → PayoutDetailsDropin-D7AR5BSQ.js} +35 -35
- package/dist/{PayoutDetailsPage-DJ0S-VFw.js → PayoutDetailsPage-BCBGGB28.js} +4 -4
- package/dist/{RadioGroup-BArQYFSH.js → RadioGroup-DCmqcl_S.js} +1 -1
- package/dist/{RadioGroupCard-BhsLedMl.js → RadioGroupCard-nQz2Uhca.js} +1 -1
- package/dist/{Review-BFtHM-_l.js → Review-DQA1vIzH.js} +5 -5
- package/dist/{RootBusinessDetailsPage-CP1Qlxn_.js → RootBusinessDetailsPage--bsR-yKt.js} +4 -4
- package/dist/{RootBusinessLinesPage-BX5u3Hmv.js → RootBusinessLinesPage-DIYKqsLt.js} +23 -23
- package/dist/{RootIndividualDetailsPage-CogMcCqy.js → RootIndividualDetailsPage-CXKr1vhL.js} +4 -4
- package/dist/{Select-F9XF19j-.js → Select-CyK-d8L8.js} +3 -3
- package/dist/{SignPCIComponent-CcKZHhKO.js → SignPCIComponent-BvAt735T.js} +10 -10
- package/dist/{SingpassSelection-DNd8yLq5.js → SingpassSelection-Cidszm4a.js} +5 -5
- package/dist/{SoleProprietorshipPage-CgLzzGgA.js → SoleProprietorshipPage-CgAHjrJh.js} +3 -3
- package/dist/{SourceOfFundsPage-C3sCf2D-.js → SourceOfFundsPage-Rh40Ip6D.js} +29 -29
- package/dist/{StepProgressIndicator-DCJaXcyU.js → StepProgressIndicator-C38x_hKs.js} +1 -1
- package/dist/{StoreProvider-CtRQBY2O.js → StoreProvider-o79GZkUo.js} +4 -4
- package/dist/{Summary-CkB8Ce4Y.js → Summary-DbPdEnQi.js} +5 -5
- package/dist/{TaxInformationField-CIW8ZkXT.js → TaxInformationField-C6DdzDTL.js} +18 -18
- package/dist/{TaxReportingDropin-CKo23oFC.js → TaxReportingDropin-Dc75TUYl.js} +13 -13
- package/dist/{TextArea-CqSkVOwP.js → TextArea-XLgx9WmG.js} +1 -1
- package/dist/{TileGroup-B7P02lrA.js → TileGroup-DsYUn_bt.js} +2 -2
- package/dist/{TrustDetailsPage-GDcDOm-m.js → TrustDetailsPage-B_QUEYM5.js} +35 -42
- package/dist/{TrustMemberCompanyPage-BHZIj-0f.js → TrustMemberCompanyPage-aBW14Thb.js} +4 -4
- package/dist/{TrustMemberIndividualPage-6V_pMESO.js → TrustMemberIndividualPage-DNgZI75l.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-DrI1RLeA.js → TrustMemberRoleAndTypePage-CbOyf3oB.js} +20 -20
- package/dist/{TrustMembersOverview-DXOQXI1Y.js → TrustMembersOverview-7waB6Dud.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-2KjNXWyn.js → UnincorporatedPartnershipIndividualPage-DFvESJUR.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-aLY_7abb.js → UnincorporatedPartnershipMemberCompanyPage-j2xmgM94.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BrKVVNaX.js → UnincorporatedPartnershipMemberRoleAndTypePage-BlJsglW1.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CkDyHEwU.js → UnincorporatedPartnershipMembersOverview-1-yK01Ox.js} +6 -6
- package/dist/{VerificationErrorAlert-B-D_i0kq.js → VerificationErrorAlert-BsJqccUV.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BX95t08i.js → ViewVerificationStatusComponent-Bx3tJek7.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +6 -6
- package/dist/adyen-kyc-components.js +15 -15
- 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-I1HEt8XI.js → bafinUtils-sfpUKqEq.js} +1 -1
- package/dist/{commonValidators-Cl1GZ493.js → commonValidators-h59h4U6_.js} +1 -1
- package/dist/{dropinUtils-DqjLOzes.js → dropinUtils-C78qUFNH.js} +3 -3
- package/dist/{formUtils-DUWRC8eU.js → formUtils-D9HJXrvu.js} +2 -2
- package/dist/{getName-BoZBBtwY.js → getName-C1Pp12yX.js} +1 -1
- package/dist/{getProblemsForEntity-D0yVnw4F.js → getProblemsForEntity-CyQdh7Lw.js} +1 -1
- package/dist/{iframeWidget-CLyAXPUv.js → iframeWidget-D-vHGFmR.js} +3 -3
- package/dist/{isEmpty-Br_hVWxS.js → isEmpty-Dxhg5YWQ.js} +1 -1
- package/dist/{japanSupportUtils-dRgsA3KL.js → japanSupportUtils-C5HeKRQ7.js} +1 -1
- package/dist/{localizeDateString-Djdr7FjP.js → localizeDateString-ltj3KR-p.js} +1 -1
- package/dist/{mapExistingFile-Dx1XZcDi.js → mapExistingFile-J5xtIyOp.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-QZbaLboo.js → mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DixoLFcF.js → mapLegalEntityToIndividualSchema-fUEX0pyE.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-B2LC8AhG.js → mapTransferInstrumentToPayoutAccount-BxS7kMUd.js} +1 -1
- package/dist/{patternValidators-Bmlm3yXY.js → patternValidators-DmtoCjEe.js} +1 -1
- package/dist/{process-field-configurations-Wt51XtVf.js → process-field-configurations-Bo_HZH3p.js} +1 -1
- package/dist/{resolveEnvironment-C2eiXOWu.js → resolveEnvironment-9pYwfLRr.js} +3 -3
- package/dist/{roleMetadata-At7etSLn.js → roleMetadata-ZbDuZjur.js} +2 -2
- package/dist/{types-D8JaZ85M.js → types-Bbb9XYx7.js} +1 -1
- package/dist/{types-DhT9qDj4.js → types-C4ieOutZ.js} +1 -1
- package/dist/{types-NTd5VzhV.js → types-Dz6L62GR.js} +1 -1
- package/dist/{unincorporated-partnership-Cr2ITyyK.js → unincorporated-partnership-BC2PWEgm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Brdn35Qd.js → useAssociatedLegalEntity-BSvkLl8Y.js} +1 -1
- package/dist/{useBusinessDetailsData-JsjuBZ9t.js → useBusinessDetailsData-BMzgGX4d.js} +45 -45
- package/dist/{useCreateLegalEntity-g5kQOZ9m.js → useCreateLegalEntity-i6pKh0i4.js} +1 -1
- package/dist/{useForm-HbnDuvKE.js → useForm-CdWcC_Oh.js} +2 -2
- package/dist/{useFormContext-BDIK0MuQ.js → useFormContext-DGfVqoR2.js} +6 -6
- package/dist/{useGlobalData-k3L8u15M.js → useGlobalData-B6jCg1Ek.js} +8 -8
- package/dist/{useMultiForm-jpDXpq32.js → useMultiForm-Cmp2wrss.js} +3 -3
- package/dist/{useOnboardingStatus-Ceyw-8UY.js → useOnboardingStatus-Dm_xuWC2.js} +1 -1
- package/dist/{useScenarios-CDOZ5wDL.js → useScenarios-ho-q4vGs.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DQGKeH23.js → useTermsOfServiceStatus-Dof1-HII.js} +1 -1
- package/dist/{useToastContext-ueXW9kLE.js → useToastContext-CflZZ_Su.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-9TydMMGg.js → useUnincorporatedPartnershipMembers-rfHqZZWF.js} +4 -4
- package/dist/{useUpdateBusinessLines-DsJu89ZQ.js → useUpdateBusinessLines-vNF2Y_nP.js} +3 -3
- package/dist/{useUpdateLegalEntity-efvM5sQR.js → useUpdateLegalEntity-CtdSLVIW.js} +2 -2
- package/dist/{utils-DkzKcUg0.js → utils-CF18b8u8.js} +1 -1
- package/dist/{utils-BfJMeYST.js → utils-CPWcV5kL.js} +1 -1
- package/dist/{utils-Bv46v1Xz.js → utils-CXn7BO_7.js} +2 -2
- package/dist/{utils-Dem3HCU2.js → utils-DHB6YxqA.js} +5 -5
- package/dist/{utils-1lu1Q89t.js → utils-DXCw1aJK.js} +1 -1
- package/dist/{validate-Bl2LVQvh.js → validate-BH9M6gvx.js} +2 -2
- package/dist/{validate-BlNbroHx.js → validate-DPhS2sGf.js} +1 -1
- package/dist/{validationError-BZR2ZNhw.js → validationError-BDDYiyYy.js} +1 -1
- package/package.json +1 -1
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-9pYwfLRr.js";
|
|
14
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-XiVVyTGX.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenTransferInstrument = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-9pYwfLRr.js";
|
|
14
|
+
import { M as ManageTransferInstrumentComponent } from "./ManageTransferInstrumentComponent-COucevgP.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenManageTransferInstruments = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef } from "preact/hooks";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
|
-
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-
|
|
14
|
-
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-
|
|
13
|
+
import { s as stylesheets, E as EmbedShell, r as resolveEnvironment } from "./resolveEnvironment-9pYwfLRr.js";
|
|
14
|
+
import { V as ViewVerificationStatusComponent } from "./ViewVerificationStatusComponent-Bx3tJek7.js";
|
|
15
15
|
import { e as emitAdyenSdkEvent } from "./emitEvent-CzZf80Am.js";
|
|
16
16
|
const AdyenVerificationStatus = ({
|
|
17
17
|
rootlegalentityid,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-
|
|
10
|
+
import { as as DecisionMakerTypes, y as TaskTypes, at as Scenarios } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { signal, computed } from "@preact/signals";
|
|
12
12
|
const CompanyTypesValues = {
|
|
13
13
|
PRIVATE_COMPANY: "privateCompany",
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-
|
|
12
|
-
import { s as summaryStep } from "./Summary-
|
|
11
|
+
import { z as useAnalyticsContext, m as createLogger } from "./StoreProvider-o79GZkUo.js";
|
|
12
|
+
import { s as summaryStep } from "./Summary-DbPdEnQi.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
|
-
import { F as FormRouterContext } from "./ErrorPanel-
|
|
15
|
+
import { F as FormRouterContext } from "./ErrorPanel-DNuuMh-W.js";
|
|
16
16
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
17
17
|
const getOpeningStep = (forms, remediationActions) => {
|
|
18
18
|
if (remediationActions && Object.keys(remediationActions).length > 0) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { g as getDataByFields } from "./utils-
|
|
11
|
-
import { ao as entriesOf } from "./StoreProvider-
|
|
10
|
+
import { g as getDataByFields } from "./utils-DXCw1aJK.js";
|
|
11
|
+
import { ao as entriesOf } from "./StoreProvider-o79GZkUo.js";
|
|
12
12
|
const createFormUtils = (props, t) => ({
|
|
13
13
|
getLabel: (field, fallbackLabelKey) => {
|
|
14
14
|
let translationKey = props.labels?.[field] ?? fallbackLabelKey ?? field;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
const getIndividualLegalEntityName = (legalEntityResponse) => {
|
|
12
12
|
if (!legalEntityResponse || !legalEntityResponse?.individual) return "";
|
|
13
13
|
return `${legalEntityResponse.individual?.name?.firstName ?? ""} ${legalEntityResponse.individual?.name?.lastName ?? ""}`;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-
|
|
11
|
+
import { R as useLegalEntity, U as ROOT_LE, ak as getCapabilityProblems, a9 as getLegalEntityCountry } from "./StoreProvider-o79GZkUo.js";
|
|
12
12
|
const useCapabilityProblems = () => {
|
|
13
13
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
14
14
|
const problems = useMemo(
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-
|
|
11
|
-
import { i as isValueObscured } from "./MaskedInput-
|
|
10
|
+
import { an as cloneObject, m as createLogger, br as isString, h as httpPost } from "./StoreProvider-o79GZkUo.js";
|
|
11
|
+
import { i as isValueObscured } from "./MaskedInput-CFPRK30D.js";
|
|
12
12
|
import { g as getProp, d as deleteProp } from "./utils-DNSfZiio.js";
|
|
13
|
-
import { A as AdyenKycSdkError } from "./mapExistingFile-
|
|
13
|
+
import { A as AdyenKycSdkError } from "./mapExistingFile-J5xtIyOp.js";
|
|
14
14
|
const omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
15
15
|
if (!dataSubmitted) {
|
|
16
16
|
return;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aS as keysOf } from "./StoreProvider-
|
|
10
|
+
import { aS as keysOf } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
const isEmpty = (obj, ignoreEmptyProperties = true) => {
|
|
12
12
|
if (obj === null || obj === void 0) return true;
|
|
13
13
|
if (Array.isArray(obj)) return obj.length === 0;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
const isJapanLocalizationEnabled = (isExperimentEnabled = () => false, country) => {
|
|
12
12
|
return country === CountryCodes.Japan && isExperimentEnabled("EnableJapanLocalization");
|
|
13
13
|
};
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { m as createLogger } from "./StoreProvider-
|
|
10
|
+
import { m as createLogger } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
const localizeDateString = (dateString, locale, options) => {
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const formatOptions = {
|
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useEffect, useState, useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useScenarios } from "./useScenarios-
|
|
12
|
-
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-
|
|
11
|
+
import { u as useScenarios } from "./useScenarios-ho-q4vGs.js";
|
|
12
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, B as Icon } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
15
15
|
import cx from "classnames";
|
|
16
16
|
import { lazy } from "preact/compat";
|
|
17
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
17
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
18
18
|
class AdyenKycSdkError extends Error {
|
|
19
19
|
sourceError;
|
|
20
20
|
constructor(message, sourceError) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
12
|
-
import { i as isEmpty } from "./isEmpty-
|
|
12
|
+
import { i as isEmpty } from "./isEmpty-Dxhg5YWQ.js";
|
|
13
13
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
14
14
|
const mapJpAddressSummary = (data, datasetUtils) => {
|
|
15
15
|
if (!data) return {};
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { signal } from "@preact/signals";
|
|
11
|
-
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, z as useAnalyticsContext, O as Typography, W as Button, aa as CountryCodes, az as reverseMapping, bn as getNomineeFromAssociation, bo as individualBaseMapping, as as DecisionMakerTypes } from "./StoreProvider-o79GZkUo.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-DhgxtDHi.js";
|
|
16
|
+
import { T as TileGroup } from "./TileGroup-DsYUn_bt.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, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, bv as crossBorderMapping, bw as payoutComponentKeyMapping } from "./StoreProvider-o79GZkUo.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 { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aK as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aF as hasRepeatedCharacters, bg as isValidMinLength, aG as isInvalidName, bx as OTHER_ENTITIES_VALID_CHAR_REGEX, by as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-Wt51XtVf.js → process-field-configurations-Bo_HZH3p.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, bl as businessDetailsApiKeyMapping, aW as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aS as keysOf } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e3de7732-a771-4d14-ace7-51abe248323e", e._sentryDebugIdIdentifier = "sentry-dbid-e3de7732-a771-4d14-ace7-51abe248323e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, W as Button, V as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, E as ExperimentsContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, T as ToastContextProvider, f as StateProvider, g as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-o79GZkUo.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -56,7 +56,7 @@ const EmbedShell = ({
|
|
|
56
56
|
experiments,
|
|
57
57
|
refreshExperiments,
|
|
58
58
|
children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
59
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.5.0
|
|
59
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.5.0" }),
|
|
60
60
|
/* @__PURE__ */ jsx(
|
|
61
61
|
AnalyticsProvider,
|
|
62
62
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { bz as TrustMemberGuidanceLabels, ae as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-o79GZkUo.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, aa as CountryCodes } from "./StoreProvider-o79GZkUo.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 { aa as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
package/dist/{unincorporated-partnership-Cr2ITyyK.js → unincorporated-partnership-BC2PWEgm.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { V as Loader } from "./StoreProvider-
|
|
12
|
+
import { V as Loader } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
const Image = ({
|
|
14
14
|
lazyLoadedImage,
|
|
15
15
|
className
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, R as useLegalEntity } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -10,61 +10,61 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useRef, useCallback } 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 useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, y as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import { C as Confirm } from "./Confirm-
|
|
26
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
27
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
29
|
-
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, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
31
|
-
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
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-vNF2Y_nP.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-ho-q4vGs.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-i6pKh0i4.js";
|
|
16
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-CflZZ_Su.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtdSLVIW.js";
|
|
18
|
+
import { u as useTranslation, bH as isISIN, W as Button, J as useExperimentsContext, R as useLegalEntity, U as ROOT_LE, am as datasetUtilities, aB as Header, O as Typography, V as Loader, aa as CountryCodes, k as useSettingsContext, aN as useAllowedCountries, b as useApiContext, h as httpPost, P as StackLayout, G as Alert, ao as entriesOf, z as useAnalyticsContext, m as createLogger, v as useAccountHolder, y as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bI as businessDetailsComponentsKeyMapping, bJ as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aS as keysOf, bK as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, aZ as filterOutUnwantedAssociationsIfRootLE, aX as drop, ad as getOwnEntityAssociations, b2 as doArraysMatch, bL as solePropBusinessDetailsDocumentMapping, bM as businessDetailsDocumentMapping } from "./StoreProvider-o79GZkUo.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DGfVqoR2.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-sfpUKqEq.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-Bo_HZH3p.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C78qUFNH.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-Cmp2wrss.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-J5xtIyOp.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-Bf4Pjkty.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-BH9M6gvx.js";
|
|
27
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-C6DdzDTL.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-DbPdEnQi.js";
|
|
29
|
+
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, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-CddO3OSY.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-DJLTbW4Y.js";
|
|
31
|
+
import { t as toFullWidth, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BCTFanCP.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-CF18b8u8.js";
|
|
33
33
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
34
34
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
35
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
36
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
35
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-CXn7BO_7.js";
|
|
36
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-C0rbmhQL.js";
|
|
37
37
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
38
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
39
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
40
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
38
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-DHB6YxqA.js";
|
|
39
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BDDYiyYy.js";
|
|
40
|
+
import { i as isEmpty$1 } from "./isEmpty-Dxhg5YWQ.js";
|
|
41
41
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
42
42
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
43
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
44
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
45
|
-
import { j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
43
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-COs4cPiC.js";
|
|
44
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-BtcoTH2A.js";
|
|
45
|
+
import { j as useBusinessLines } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
46
46
|
import { Suspense, lazy } from "preact/compat";
|
|
47
|
-
import { C as Checkbox } from "./Checkbox-
|
|
48
|
-
import { F as Field } from "./Field-
|
|
49
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
50
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
51
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
52
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
53
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
54
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
47
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
48
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
49
|
+
import { E as ErrorPanel } from "./ErrorPanel-DNuuMh-W.js";
|
|
50
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-UU6golKr.js";
|
|
51
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-DmtoCjEe.js";
|
|
52
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-CFPRK30D.js";
|
|
53
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-D9HJXrvu.js";
|
|
54
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-C5HeKRQ7.js";
|
|
55
55
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
56
56
|
import { signal } from "@preact/signals";
|
|
57
57
|
import cx from "classnames";
|
|
58
|
-
import { L as Link } from "./Link-
|
|
58
|
+
import { L as Link } from "./Link-Bl_GjNYw.js";
|
|
59
59
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
60
|
-
import { I as InputText } from "./InputText-
|
|
61
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
62
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
60
|
+
import { I as InputText } from "./InputText-B_Dy6ooB.js";
|
|
61
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BTwq-LdM.js";
|
|
62
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
|
|
63
63
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
64
|
-
import { L as ListItem } from "./ListItem-
|
|
65
|
-
import { T as TileGroup } from "./TileGroup-
|
|
66
|
-
import { c as currencyByCountry } from "./types-
|
|
67
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
64
|
+
import { L as ListItem } from "./ListItem-DvSwwjUU.js";
|
|
65
|
+
import { T as TileGroup } from "./TileGroup-DsYUn_bt.js";
|
|
66
|
+
import { c as currencyByCountry } from "./types-Dz6L62GR.js";
|
|
67
|
+
import { R as RadioGroup } from "./RadioGroup-DCmqcl_S.js";
|
|
68
68
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
69
69
|
"dateOfIncorporation"
|
|
70
70
|
];
|
|
@@ -405,7 +405,7 @@ function VerifiedBusinessCard({
|
|
|
405
405
|
] });
|
|
406
406
|
}
|
|
407
407
|
const LazyJpAddress = lazy(
|
|
408
|
-
async () => (await import("./JpAddress-
|
|
408
|
+
async () => (await import("./JpAddress-DEzR_98l.js")).JpAddress
|
|
409
409
|
);
|
|
410
410
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
411
411
|
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, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-o79GZkUo.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-o79GZkUo.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-DXCw1aJK.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 { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-o79GZkUo.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-BBBJD1jn.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-C78qUFNH.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Bf4Pjkty.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DbPdEnQi.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bp as StateContext, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W 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 { bp as StateContext, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-o79GZkUo.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-BBBJD1jn.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-DJLTbW4Y.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-C38x_hKs.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-C78qUFNH.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CNUCAuSA.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-DbPdEnQi.js";
|
|
21
21
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-o79GZkUo.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-DXCw1aJK.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-h59h4U6_.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, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-o79GZkUo.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, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-o79GZkUo.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-o79GZkUo.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 { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-o79GZkUo.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 { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-o79GZkUo.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-BSvkLl8Y.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-C1Pp12yX.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)
|