@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,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
12
|
import { useMutation } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, h as httpPost, u as useTranslation, aB as Header, bE as DropinLayout } from "./StoreProvider-
|
|
14
|
-
import { C as Checkbox } from "./Checkbox-
|
|
15
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
13
|
+
import { b as useApiContext, h as httpPost, u as useTranslation, aB as Header, bE as DropinLayout } from "./StoreProvider-o79GZkUo.js";
|
|
14
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-Coambg3s.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-CflZZ_Su.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-Bj1Km-LP.js";
|
|
18
18
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
19
19
|
return httpPost({
|
|
20
20
|
baseUrl,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, a as addResourceBundles, V as Loader, w as EntityTypes, a9 as getLegalEntityCountry, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, a as addResourceBundles, V as Loader, w as EntityTypes, a9 as getLegalEntityCountry, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { i as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CyQdh7Lw.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
14
|
+
import { u as useBusinessDetailsData, g as getForms, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BMzgGX4d.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -7,40 +7,40 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aa as CountryCodes, m as createLogger, u as useTranslation, aB as Header, V as Loader, C as IconButton, O as Typography, P as StackLayout, aQ as Trans, W as Button, b as useApiContext, ar as httpDelete, J as useExperimentsContext, z as useAnalyticsContext, Z as TASK_STATUS_POLLING_INTERVAL_MS, w as EntityTypes, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { aa as CountryCodes, m as createLogger, u as useTranslation, aB as Header, V as Loader, C as IconButton, O as Typography, P as StackLayout, aQ as Trans, W as Button, b as useApiContext, ar as httpDelete, J as useExperimentsContext, z as useAnalyticsContext, Z as TASK_STATUS_POLLING_INTERVAL_MS, w as EntityTypes, R as useLegalEntity, U as ROOT_LE, a as addResourceBundles, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { j as useBusinessLines, f as useTaskStatus, u as useSalesChannels, k as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { N as NewSummary } from "./NewSummary-
|
|
22
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
+
import { j as useBusinessLines, f as useTaskStatus, u as useSalesChannels, k as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-vNF2Y_nP.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DGfVqoR2.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-CflZZ_Su.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Bo_HZH3p.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C78qUFNH.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-Cmp2wrss.js";
|
|
21
|
+
import { N as NewSummary } from "./NewSummary-oIcQyhuq.js";
|
|
22
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CyQdh7Lw.js";
|
|
23
23
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
24
|
-
import { s as summaryStep } from "./Summary-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
24
|
+
import { s as summaryStep } from "./Summary-DbPdEnQi.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-D9HJXrvu.js";
|
|
26
26
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { C as Checkbox } from "./Checkbox-
|
|
28
|
-
import { F as Field } from "./Field-
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
28
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-DJLTbW4Y.js";
|
|
30
|
+
import { I as InputText } from "./InputText-B_Dy6ooB.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-BvAt735T.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-Cl1-jo6c.js";
|
|
33
33
|
import cx from "classnames";
|
|
34
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
35
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
36
|
-
import { L as Link } from "./Link-
|
|
36
|
+
import { L as Link } from "./Link-Bl_GjNYw.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
38
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-CHRI270t.js";
|
|
40
40
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
41
|
-
import { L as ListItem } from "./ListItem-
|
|
41
|
+
import { L as ListItem } from "./ListItem-DvSwwjUU.js";
|
|
42
42
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
43
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
+
import { C as Confirm } from "./Confirm-Bf4Pjkty.js";
|
|
44
44
|
const rules = ({ data, country }) => {
|
|
45
45
|
return createFormRules({
|
|
46
46
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-CogMcCqy.js → RootIndividualDetailsPage-CXKr1vhL.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { R as useLegalEntity, U as ROOT_LE, v as useAccountHolder, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { R as useLegalEntity, U as ROOT_LE, v as useAccountHolder, u as useTranslation, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, w as EntityTypes, ai as noop, y as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-
|
|
14
|
-
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CyQdh7Lw.js";
|
|
13
|
+
import { i as filterProblemsByTaskForms, n as getTrustedFieldsProvider, o as getTrustedFields } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
14
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-CNYG1UJb.js";
|
|
15
15
|
function RootIndividualDetailsPage({
|
|
16
16
|
asModal = false,
|
|
17
17
|
hideSidebar = false,
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DJLTbW4Y.js";
|
|
15
|
+
import { z as useAnalyticsContext, V as Loader, ai as noop, O as Typography, m as createLogger, u as useTranslation } from "./StoreProvider-o79GZkUo.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, ax as isEmpty, u as useTranslation, z as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, y as TaskTypes, W as Button, a as addResourceBundles, R as useLegalEntity, U as ROOT_LE, V as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CflZZ_Su.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-BBBJD1jn.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-D8bTvH_H.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
20
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
21
|
+
import { S as Select } from "./Select-CyK-d8L8.js";
|
|
22
|
+
import { u as useForm } from "./useForm-CdWcC_Oh.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -242,7 +242,7 @@ function SignPCIComponent({
|
|
|
242
242
|
const additionalSalesChannels = useSalesChannels();
|
|
243
243
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
244
244
|
addResourceBundles(i18n, [
|
|
245
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
245
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-C6dSR1jk.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-B6atm9_Q.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-Cv6XUSoW.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BplDsJEb.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-dRK7xHn2.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-o79GZkUo.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-DRsix_Xn.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BXiYapXy.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BftTiz0c.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-C6jxjXAI.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-B_TEU3r4.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CX83V9tu.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CXlaZNIj.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-A6ArIIZ8.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-ww192lYg.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CpHy-ZoF.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwWFlBOs.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-JWsSd7iY.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-CLmmSNgn.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BJOww8U1.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CL9VzmZE.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Cu1T3z6k.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CEjJ-qZG.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BfO3xEJx.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CMLKzwtj.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
246
246
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
247
247
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
248
248
|
]);
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, O as Typography, W as Button, L as LegalEntityTypes } from "./StoreProvider-o79GZkUo.js";
|
|
14
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-nQz2Uhca.js";
|
|
17
|
+
import { u as useForm } from "./useForm-CdWcC_Oh.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, R as useLegalEntity, a as addResourceBundles, V as Loader, a9 as getLegalEntityCountry, y as TaskTypes, w as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CyQdh7Lw.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-BMzgGX4d.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,44 +7,44 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, h as httpPost, j as httpGet, u as useTranslation, O as Typography, G as Alert, W as Button, ac as translateTranslatable, V as Loader, B as Icon, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, P as StackLayout, m as createLogger, R as useLegalEntity, U as ROOT_LE, z as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, w as EntityTypes, a9 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-CyQdh7Lw.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { f as useTaskStatus, j as useBusinessLines } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CflZZ_Su.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-i6pKh0i4.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtdSLVIW.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DGfVqoR2.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C78qUFNH.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-Cmp2wrss.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-BH9M6gvx.js";
|
|
23
23
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
26
|
-
import { c as createFormUtils } from "./formUtils-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { S as Select } from "./Select-
|
|
29
|
-
import { T as TextArea } from "./TextArea-
|
|
30
|
-
import { I as InputDate } from "./InputDate-
|
|
25
|
+
import { E as ErrorPanel } from "./ErrorPanel-DNuuMh-W.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-D9HJXrvu.js";
|
|
27
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
28
|
+
import { S as Select } from "./Select-CyK-d8L8.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-XLgx9WmG.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-UU6golKr.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { M as Modal } from "./Modal-
|
|
38
|
-
import { C as Confirm } from "./Confirm-
|
|
39
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-B_Dy6ooB.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-CXn7BO_7.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-DCmqcl_S.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-BTwq-LdM.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-Cl1-jo6c.js";
|
|
37
|
+
import { M as Modal } from "./Modal-DJLTbW4Y.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-Bf4Pjkty.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-DsYUn_bt.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
42
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-CHRI270t.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-Dxhg5YWQ.js";
|
|
44
44
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
45
45
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
46
|
-
import { D as Dropzone } from "./Dropzone-
|
|
47
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
46
|
+
import { D as Dropzone } from "./Dropzone-1307mgIt.js";
|
|
47
|
+
import { v as validateDateNotInTheFuture } from "./validate-DPhS2sGf.js";
|
|
48
48
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
49
49
|
return httpPost(
|
|
50
50
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, O as Typography } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "127642a9-80f0-4897-9505-de5c690ceeeb", e2._sentryDebugIdIdentifier = "sentry-dbid-127642a9-80f0-4897-9505-de5c690ceeeb");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4782,7 +4782,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4782
4782
|
};
|
|
4783
4783
|
};
|
|
4784
4784
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4785
|
-
const sdkVersion = "4.5.0
|
|
4785
|
+
const sdkVersion = "4.5.0";
|
|
4786
4786
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4787
4787
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4788
4788
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4873,7 +4873,7 @@ const AnalyticsProvider = ({
|
|
|
4873
4873
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4874
4874
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4875
4875
|
const sessionData = {
|
|
4876
|
-
sdkVersion: "4.5.0
|
|
4876
|
+
sdkVersion: "4.5.0",
|
|
4877
4877
|
componentName,
|
|
4878
4878
|
userAgent: navigator.userAgent,
|
|
4879
4879
|
legalEntityId: rootLegalEntityId,
|
|
@@ -5327,7 +5327,7 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
5327
5327
|
);
|
|
5328
5328
|
return /* @__PURE__ */ jsx(Fragment$2, { children });
|
|
5329
5329
|
};
|
|
5330
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
5330
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-BG-xZugG.js")).DebugModal);
|
|
5331
5331
|
const DebugListener = () => {
|
|
5332
5332
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
5333
5333
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { z as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, C as IconButton, ac as translateTranslatable } from "./StoreProvider-
|
|
13
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
12
|
+
import { z as useAnalyticsContext, u as useTranslation, aB as Header, ax as isEmpty, C as IconButton, ac as translateTranslatable } from "./StoreProvider-o79GZkUo.js";
|
|
13
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
14
14
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
15
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
16
16
|
import { useEffect } from "preact/hooks";
|
|
17
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
17
|
+
import { E as ErrorPanel } from "./ErrorPanel-DNuuMh-W.js";
|
|
18
18
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
19
|
-
import { c as createFormUtils } from "./formUtils-
|
|
20
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
19
|
+
import { c as createFormUtils } from "./formUtils-D9HJXrvu.js";
|
|
20
|
+
import { g as getRoleName } from "./roleMetadata-ZbDuZjur.js";
|
|
21
21
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
22
22
|
const usePageLandedEvent = () => {
|
|
23
23
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bq as getNestedPropertyKeys, aa as CountryCodes, L as LegalEntityTypes, ah as objectsDeepEqual, u as useTranslation, aB as Header, y as TaskTypes, aS as keysOf, J as useExperimentsContext, v as useAccountHolder, ac as translateTranslatable } from "./StoreProvider-
|
|
10
|
+
import { bq as getNestedPropertyKeys, aa as CountryCodes, L as LegalEntityTypes, ah as objectsDeepEqual, u as useTranslation, aB as Header, y as TaskTypes, aS as keysOf, J as useExperimentsContext, v as useAccountHolder, ac as translateTranslatable } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
-
import { T as TextArea } from "./TextArea-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { u as useForm } from "./useForm-
|
|
19
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
20
|
-
import { D as Dropzone } from "./Dropzone-
|
|
21
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
22
|
-
import { c as createFormUtils } from "./formUtils-
|
|
23
|
-
import { C as Checkbox } from "./Checkbox-
|
|
24
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
25
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
14
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
15
|
+
import { S as Select } from "./Select-CyK-d8L8.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-XLgx9WmG.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-BH9M6gvx.js";
|
|
18
|
+
import { u as useForm } from "./useForm-CdWcC_Oh.js";
|
|
19
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-J5xtIyOp.js";
|
|
20
|
+
import { D as Dropzone } from "./Dropzone-1307mgIt.js";
|
|
21
|
+
import { E as ErrorPanel } from "./ErrorPanel-DNuuMh-W.js";
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-D9HJXrvu.js";
|
|
23
|
+
import { C as Checkbox } from "./Checkbox-DnP0i74G.js";
|
|
24
|
+
import { C as CompanyTypesValues } from "./bafinUtils-sfpUKqEq.js";
|
|
25
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-CFPRK30D.js";
|
|
26
26
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
27
27
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CF18b8u8.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-C5HeKRQ7.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-C0rbmhQL.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-DmtoCjEe.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-DCmqcl_S.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,27 +7,27 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpGet, O as Typography, u as useTranslation, aB as Header, aQ as Trans, G as Alert, B as Icon, W as Button, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, z as useAnalyticsContext, R as useLegalEntity, U as ROOT_LE, V as Loader, m as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpGet, O as Typography, u as useTranslation, aB as Header, aQ as Trans, G as Alert, B as Icon, W as Button, C as IconButton, Z as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, z as useAnalyticsContext, R as useLegalEntity, U as ROOT_LE, V as Loader, m as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-o79GZkUo.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-CflZZ_Su.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CtdSLVIW.js";
|
|
15
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DGfVqoR2.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C78qUFNH.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-Cmp2wrss.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
21
|
-
import { F as Field } from "./Field-
|
|
22
|
-
import { L as Link } from "./Link-
|
|
23
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
21
|
+
import { F as Field } from "./Field-DhgxtDHi.js";
|
|
22
|
+
import { L as Link } from "./Link-Bl_GjNYw.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-DCmqcl_S.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { f as useTaskStatus } from "./OnboardingDropinComponent-
|
|
25
|
+
import { f as useTaskStatus } from "./OnboardingDropinComponent-DqQmqcO8.js";
|
|
26
26
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
27
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
27
|
+
import { I as Image } from "./unincorporated-partnership-BC2PWEgm.js";
|
|
28
28
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
29
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
30
|
-
import { i as isEmpty } from "./isEmpty-
|
|
29
|
+
import { L as LandingLayout } from "./LandingLayout-CHRI270t.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-Dxhg5YWQ.js";
|
|
31
31
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
32
32
|
return httpGet({
|
|
33
33
|
baseUrl,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { m as createLogger, u as useTranslation, z as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { m as createLogger, u as useTranslation, z as useAnalyticsContext } from "./StoreProvider-o79GZkUo.js";
|
|
14
14
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
15
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
16
|
const logger = createLogger();
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { B as Icon, O as Typography, z as useAnalyticsContext, ai as noop } from "./StoreProvider-
|
|
12
|
+
import { B as Icon, O as Typography, z as useAnalyticsContext, ai as noop } from "./StoreProvider-o79GZkUo.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DJLTbW4Y.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|