@adyen/kyc-components 3.92.0 → 3.92.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-T7eWi57Z.js → AcceptTermsOfServiceComponent-CS63hgSO.js} +15 -15
- package/dist/{Accordion-Boa_Vira.js → Accordion-E50ad6dH.js} +1 -1
- package/dist/{AccountSetupRejected-LAVhMMBt.js → AccountSetupRejected-Darbn312.js} +3 -3
- package/dist/{ActionBar-CK8dwgSJ.js → ActionBar-CjIOjuyx.js} +1 -1
- package/dist/{Address-ki-bCjUJ.js → Address-Blzxvq4Q.js} +9 -9
- package/dist/{Alert-TCEgDc2-.js → Alert-DI0PkMhx.js} +2 -2
- package/dist/{Avatar-AC-D1DKh.js → Avatar-DNLg9mIq.js} +1 -1
- package/dist/{BusinessFinancingComponent-Cf-EEnyR.js → BusinessFinancingComponent-JYqPw0u-.js} +4 -4
- package/dist/{BusinessFinancingDropin-DeLlYaOF.js → BusinessFinancingDropin-Du9IB8Hh.js} +27 -27
- package/dist/{BusinessFinancingPage-DtX8x3Zp.js → BusinessFinancingPage-gwnVOTX5.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-6Ltt53Mu.js → BusinessTypeSelectionPage-CSgQ7Lus.js} +8 -8
- package/dist/{Card-Det7uTiv.js → Card-lp9GsJNK.js} +2 -2
- package/dist/{Checkbox-D8rB6_HN.js → Checkbox-u6lrRKjB.js} +1 -1
- package/dist/{Confirm-Ctfqp-1b.js → Confirm-hBqBc56A.js} +2 -2
- package/dist/{ConstitutionalDocument-TJAc9nDQ.js → ConstitutionalDocument-BdErC1wx.js} +17 -17
- package/dist/{ContextGuidance-CCknw_Y1.js → ContextGuidance-D3rVNhss.js} +2 -2
- package/dist/{CountryField-DzmOWqiE.js → CountryField-CCPn8Qoa.js} +4 -4
- package/dist/{CreateIndividualComponent-_H34wdze.js → CreateIndividualComponent-BXOIUhrF.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CmnVEFaB.js → CreateTransferInstrumentComponent-DUJXzWi-.js} +3 -3
- package/dist/{Currency-C2egEHMF.js → Currency-C0DzBzIJ.js} +6 -6
- package/dist/{CustomerSupport-DLfbNC-J.js → CustomerSupport-Zru7ggQN.js} +10 -10
- package/dist/{DebugModal-C0uG_A8N.js → DebugModal-CIqq-x9x.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BTR-hRwO.js → DecisionMakerDetailsPage-DNY_PTKy.js} +5 -5
- package/dist/{DecisionMakers-B4qQ3M6Y.js → DecisionMakers-CpkcXH3O.js} +21 -21
- package/dist/{Dropzone-CKT3THCY.js → Dropzone-B7nse4jU.js} +3 -3
- package/dist/{EmbeddedStatus-Bst5MPzi.js → EmbeddedStatus-BuXKByNh.js} +2 -2
- package/dist/{EndStateLayout-Ck_Lvgng.js → EndStateLayout-DGFsmx0_.js} +1 -1
- package/dist/{EntityAssociation-bcF_I_DK.js → EntityAssociation-DurGGeeB.js} +7 -7
- package/dist/{EntityGuidanceStatus-D6VoRE_0.js → EntityGuidanceStatus-DtvJGuYZ.js} +2 -2
- package/dist/{ErrorPanel-CFN2G9Vz.js → ErrorPanel-D9XoKJU3.js} +2 -2
- package/dist/{Field-B3Vy1-QZ.js → Field-BPOgQTTz.js} +1 -1
- package/dist/{FormNavigation-Brw-75s0.js → FormNavigation-C6-Uv08T.js} +2 -2
- package/dist/{FormWrapper-BcNyCMkD.js → FormWrapper-RruCrORi.js} +8 -8
- package/dist/{Header-YafgG5Nz.js → Header-BkM9rBcO.js} +1 -1
- package/dist/{Image-Cvb4hnru.js → Image-7ugINTtb.js} +1 -1
- package/dist/{IndividualOnfidoDropin-Dy5obHs1.js → IndividualOnfidoDropin-C8OZCCIZ.js} +53 -53
- package/dist/{InputDate-UCHQ3zOB.js → InputDate-ZLx1dVI9.js} +1 -1
- package/dist/{InputText-DGKAS6ZI.js → InputText-D27PjX-u.js} +1 -1
- package/dist/{Introduction-DOxSVZ6X.js → Introduction-DqU8OK_z.js} +3 -3
- package/dist/{JpAddress-DClXaVjy.js → JpAddress-DepcR5r1.js} +8 -8
- package/dist/{LandingLayout-co7NR2te.js → LandingLayout-CVERQZKS.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-DOP3L2r9.js → LegalRepresentativeDetailsPage-SIzmp4Id.js} +3 -3
- package/dist/{Link-DWTJ55UO.js → Link-B9XIYKdr.js} +1 -1
- package/dist/{ListItem-B8D-kUHN.js → ListItem-D2gLoG_l.js} +2 -2
- package/dist/{LoaderWrapper-CUz5NRFr.js → LoaderWrapper-tC2IqwWT.js} +1 -1
- package/dist/{ManageIndividualComponent-DND7vuna.js → ManageIndividualComponent-OEOX1QOn.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-ylDupO1E.js → ManageTermsOfServiceComponent-B70Vj9yi.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CgUfGP5E.js → ManageTransferInstrumentComponent-C-vtJh0-.js} +12 -12
- package/dist/{MaskedInput-Cn0VAuEp.js → MaskedInput-8vADuAFD.js} +4 -4
- package/dist/{MaybeModal-CWCEHeOg.js → MaybeModal-CN_TecOH.js} +2 -2
- package/dist/{Modal-pyBUluei.js → Modal-CgvvxX_l.js} +1 -1
- package/dist/{OnboardingDropinComponent-DwKImil4.js → OnboardingDropinComponent-DBsDEPL7.js} +43 -43
- package/dist/{PayoutDetailsDropin-lYVb5WCQ.js → PayoutDetailsDropin-BV20Zs5Y.js} +50 -46
- package/dist/{RadioGroup-DPc8nUuk.js → RadioGroup-D7EQKt5c.js} +1 -1
- package/dist/{RadioGroupCard-Pj9qq4uW.js → RadioGroupCard-DFgTIsr8.js} +1 -1
- package/dist/{Review-gkTjl3a8.js → Review-B_71dMlm.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DjwEzuLA.js → RootBusinessDetailsPage-Cqkd7Plk.js} +4 -4
- package/dist/{RootBusinessLinesPage-2-U3mf6i.js → RootBusinessLinesPage-DanqM3Pp.js} +23 -23
- package/dist/{RootIndividualDetailsPage-BFYP63_i.js → RootIndividualDetailsPage-DCdKmBuS.js} +5 -5
- package/dist/{Select-D1rFT3T8.js → Select-C6HTZMJK.js} +3 -3
- package/dist/{SignPCIComponent-DqElmjjG.js → SignPCIComponent-BdLvs7D0.js} +11 -11
- package/dist/{SingpassSelection-eruroIiQ.js → SingpassSelection-q2rmxPtU.js} +5 -5
- package/dist/{SoleProprietorshipPage-7YdzA7iH.js → SoleProprietorshipPage-8gTpQKFT.js} +3 -3
- package/dist/{SourceOfFundsPage-C_wiSoc4.js → SourceOfFundsPage-CJ9_DOKD.js} +34 -34
- package/dist/{StepProgressIndicator-DLoEzGro.js → StepProgressIndicator-B1J1d5_w.js} +1 -1
- package/dist/{StoreProvider-D9IR5HNN.js → StoreProvider-DmX2WHMl.js} +4 -4
- package/dist/{Summary-Bq94iVfc.js → Summary-DdDN0irA.js} +5 -5
- package/dist/{TaskVerificationStatus-BLCkXEn6.js → TaskVerificationStatus-CsHIRSZY.js} +1 -1
- package/dist/{TaxInformationField-c-ZWfhUk.js → TaxInformationField-C3vy80EK.js} +20 -20
- package/dist/{TaxReportingDropin-ajO0q4eZ.js → TaxReportingDropin-KA3LJqqP.js} +16 -16
- package/dist/{TextArea-D9eJloeE.js → TextArea-OP1cpqyM.js} +1 -1
- package/dist/{TileGroup-CaY3i_T7.js → TileGroup-CEiNSLyJ.js} +2 -2
- package/dist/{TrustDetailsPage-BWXZX4-u.js → TrustDetailsPage-DvzQk_xn.js} +34 -34
- package/dist/{TrustMemberCompanyPage-CJj2BpXu.js → TrustMemberCompanyPage-Dg91LHVe.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BXp9RXDw.js → TrustMemberIndividualPage-DOucKo71.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-gYJ5U6RH.js → TrustMemberRoleAndTypePage-RI2tfFDc.js} +20 -20
- package/dist/{TrustMembersOverview-Chmnt5jS.js → TrustMembersOverview-Cn3S-a8d.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DckUiPPY.js → UnincorporatedPartnershipIndividualPage-DVjV5k2A.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Bx0A5Bit.js → UnincorporatedPartnershipMemberCompanyPage-DjIsgDXi.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CEE1hzIn.js → UnincorporatedPartnershipMemberRoleAndTypePage-CAA-2anl.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-wB8K9r6g.js → UnincorporatedPartnershipMembersOverview-CE0Q6k_6.js} +8 -8
- package/dist/{VerificationErrorAlert-DZ5OOTBN.js → VerificationErrorAlert-5YTHRejs.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BVY4YUJf.js → ViewVerificationStatusComponent-Btv1LKSR.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-Wct4TWLH.js → bafinUtils-CwfZa3fV.js} +1 -1
- package/dist/{commonValidators-DcFd5CHs.js → commonValidators-EgcnWBeV.js} +1 -1
- package/dist/{dropinUtils-BpJn607e.js → dropinUtils-D7t-HOjU.js} +3 -3
- package/dist/{fieldConfig-BPwb1GHc.js → fieldConfig-CSTR4E-F.js} +5 -5
- package/dist/{formUtils-BlVlgetw.js → formUtils-BPysJE1I.js} +2 -2
- package/dist/{getName-CzpJ9tV7.js → getName-dim63NkL.js} +1 -1
- package/dist/{hasDataChanged-8e8x8zjz.js → hasDataChanged-BU1ypR-x.js} +1 -1
- package/dist/{iframeWidget-D6BlBF0m.js → iframeWidget-Dfu41nnb.js} +3 -3
- package/dist/{isEmpty-CsYVgjoD.js → isEmpty-_sLIbaSy.js} +1 -1
- package/dist/{japanSupportUtils-iATUjnbf.js → japanSupportUtils-DF9IwjNH.js} +1 -1
- package/dist/{localizeDateString-BHDr1NID.js → localizeDateString-CB4hdnf-.js} +1 -1
- package/dist/{makeSelectItemForRole-Bm2NwBxD.js → makeSelectItemForRole-Dr0pN-KV.js} +7 -7
- package/dist/{mapExistingFile-DNBa6Ekj.js → mapExistingFile-DiVFB3nn.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BNb8d51F.js → mapJpAddressSchemaToAddressLocalizations-B8Fhqz1h.js} +4 -4
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DREgz5Ms.js → mapLegalEntityToIndividualOnfidoSchema-WnMy31Bf.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C5NqOfNW.js → mapTransferInstrumentToPayoutAccount-CwJhFBR1.js} +1 -1
- package/dist/{patternValidators-BXduwLbz.js → patternValidators-B545OlPM.js} +1 -1
- package/dist/{process-field-configurations-B26ehyAw.js → process-field-configurations-Dk4wN3ea.js} +2 -2
- package/dist/{resolveEnvironment-B5Yrsa4J.js → resolveEnvironment-GTWfb8ap.js} +3 -3
- package/dist/{roleMetadata-DmgqzhZJ.js → roleMetadata-X5EFmxxP.js} +1 -1
- package/dist/{rules-B_6RrE9T.js → rules-C2rYalv1.js} +4 -4
- package/dist/style.css +6 -5
- package/dist/styles-CLV89_hH.js +6 -5
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/{types-CpAtsPmJ.js → types-B1a6Q6mX.js} +1 -1
- package/dist/{types-C6ntGMCy.js → types-BzUUSi9s.js} +1 -1
- package/dist/{types-c9nG7Dev.js → types-DCjbQmVw.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ahBb64MW.js → useAssociatedLegalEntity-Dp8jNPI3.js} +1 -1
- package/dist/{useBusinessDetailsData-qQ2HRnKK.js → useBusinessDetailsData-DxSQNl7R.js} +49 -49
- package/dist/{useCreateLegalEntity-Kc8_ZlAe.js → useCreateLegalEntity-DyljCRF0.js} +1 -1
- package/dist/{useDataset-DfKmlbQd.js → useDataset-B6GlLFLY.js} +1 -1
- package/dist/{useForm-9uKM-XKf.js → useForm-BJP2Gz_z.js} +2 -2
- package/dist/{useFormContext-CvQfKDA3.js → useFormContext-BBylkBDh.js} +6 -6
- package/dist/{useGlobalData-BVQ2OrIi.js → useGlobalData-D89mzRnj.js} +1 -1
- package/dist/{useMultiForm-pAiPIh7X.js → useMultiForm-VyGVMWEG.js} +3 -3
- package/dist/{useOnboardingStatus-BhDBSLB6.js → useOnboardingStatus-Dro-qifZ.js} +1 -1
- package/dist/{useScenarios-DFW21Vhf.js → useScenarios-C-3kXK1R.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BnO0rXiL.js → useTermsOfServiceStatus-sTRGDGZv.js} +1 -1
- package/dist/{useToastContext-D6Lbxqj9.js → useToastContext-CWfec4MM.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CIC7xPbD.js → useUnincorporatedPartnershipMembers-BuicB1a5.js} +3 -3
- package/dist/{useUpdateBusinessLines-WlwUOtSU.js → useUpdateBusinessLines-ChIKvWFd.js} +3 -3
- package/dist/{useUpdateLegalEntity-CStkUt4I.js → useUpdateLegalEntity-DlQgluYn.js} +2 -2
- package/dist/{utils-CDAwsXQa.js → utils-BhN4lBTq.js} +2 -2
- package/dist/{utils-CB39nVjj.js → utils-DILWEIm_.js} +5 -5
- package/dist/{utils-7_xBiPO_.js → utils-DIjXZnUF.js} +1 -1
- package/dist/{utils-BmxzrkCX.js → utils-DSWX-pzy.js} +1 -1
- package/dist/{utils-DOiFhaKn.js → utils-DyM5JUkJ.js} +1 -1
- package/dist/{validate-D-l23QLG.js → validate-5XYy4YrX.js} +1 -1
- package/dist/{validate-Bsx2oHT1.js → validate-BbwB2vwY.js} +2 -2
- package/dist/{validate-D4iK6FUk.js → validate-w0dCCGj0.js} +7 -7
- package/dist/{validationError-DYYlX-5X.js → validationError-BMeWxblQ.js} +1 -1
- package/package.json +1 -1
|
@@ -7,39 +7,39 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, al as entriesOf, H as createLogger, u as useTranslation, L as Loader, X as IconButton, G as Typography, aF as Trans, B as Button, b as useApiContext, am as useMutation, an as httpDelete, Z as useExperimentsContext, V as useAnalyticsContext, ao as useQueryClient, O as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes, al as entriesOf, H as createLogger, u as useTranslation, L as Loader, X as IconButton, G as Typography, aF as Trans, B as Button, b as useApiContext, am as useMutation, an as httpDelete, Z as useExperimentsContext, V as useAnalyticsContext, ao as useQueryClient, O as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { g as useBusinessLines, h as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, d as shouldSignNewPci, e as SCTA_FIELD, D as Divider, f as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, g as businessLinesConfigurations, h as businessLinesForms } from "./useUpdateBusinessLines-
|
|
15
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
+
import { g as useBusinessLines, h as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-DBsDEPL7.js";
|
|
14
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, d as shouldSignNewPci, e as SCTA_FIELD, D as Divider, f as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, g as businessLinesConfigurations, h as businessLinesForms } from "./useUpdateBusinessLines-ChIKvWFd.js";
|
|
15
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BBylkBDh.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-CWfec4MM.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Dk4wN3ea.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D7t-HOjU.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-VyGVMWEG.js";
|
|
20
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-7ugINTtb.js";
|
|
21
21
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
22
|
-
import { s as summaryStep } from "./Summary-
|
|
23
|
-
import { H as Header } from "./Header-
|
|
24
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
22
|
+
import { s as summaryStep } from "./Summary-DdDN0irA.js";
|
|
23
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
24
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BPysJE1I.js";
|
|
25
25
|
import { Show } from "@preact/signals/utils";
|
|
26
|
-
import { C as Checkbox } from "./Checkbox-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
29
|
-
import { I as InputText } from "./InputText-
|
|
30
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
31
|
-
import { A as Avatar } from "./Avatar-
|
|
26
|
+
import { C as Checkbox } from "./Checkbox-u6lrRKjB.js";
|
|
27
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
28
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-CgvvxX_l.js";
|
|
29
|
+
import { I as InputText } from "./InputText-D27PjX-u.js";
|
|
30
|
+
import { SignPCIComponent } from "./SignPCIComponent-BdLvs7D0.js";
|
|
31
|
+
import { A as Avatar } from "./Avatar-DNLg9mIq.js";
|
|
32
32
|
import cx from "classnames";
|
|
33
33
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
34
34
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
35
|
-
import { L as Link } from "./Link-
|
|
36
|
-
import { C as Card } from "./Card-
|
|
35
|
+
import { L as Link } from "./Link-B9XIYKdr.js";
|
|
36
|
+
import { C as Card } from "./Card-lp9GsJNK.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
38
|
+
import { L as LandingLayout } from "./LandingLayout-CVERQZKS.js";
|
|
39
39
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
40
|
-
import { L as ListItem } from "./ListItem-
|
|
40
|
+
import { L as ListItem } from "./ListItem-D2gLoG_l.js";
|
|
41
41
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
42
|
-
import { C as Confirm } from "./Confirm-
|
|
42
|
+
import { C as Confirm } from "./Confirm-hBqBc56A.js";
|
|
43
43
|
const rules = ({ data, country }) => {
|
|
44
44
|
return createFormRules({
|
|
45
45
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-BFYP63_i.js → RootIndividualDetailsPage-DCdKmBuS.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, N as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, O as EntityTypes, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bp as individualOnfidoBaseMapping, aN as individualComponentsKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, Z as useExperimentsContext, N as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, O as EntityTypes, ae as isOnfidoAutofillFlowEnabled, Y as noop, U as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bp as individualOnfidoBaseMapping, aN as individualComponentsKeyMapping } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider, a as getTrustedFields } from "./bafinUtils-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin, i as individualOnfidoForms, b as individualForms } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-7ugINTtb.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-DBsDEPL7.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, a as getTrustedFields } from "./bafinUtils-CwfZa3fV.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin, i as individualOnfidoForms, b as individualForms } from "./IndividualOnfidoDropin-C8OZCCIZ.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
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 { V as useAnalyticsContext, L as Loader, Y as noop, G as Typography, H as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CgvvxX_l.js";
|
|
15
|
+
import { V as useAnalyticsContext, L as Loader, Y as noop, G as Typography, H as createLogger, u as useTranslation } from "./StoreProvider-DmX2WHMl.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-u6lrRKjB.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, j as useQuery, k as httpPost, am as useMutation, as as isEmpty, u as useTranslation, V as useAnalyticsContext, at as getOwnDecisionMakers, r as LegalEntityTypes, U as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, am as useMutation, as as isEmpty, u as useTranslation, V as useAnalyticsContext, at as getOwnDecisionMakers, r as LegalEntityTypes, U as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
-
import { F as Field } from "./Field-
|
|
19
|
-
import { S as Select } from "./Select-
|
|
20
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-DBsDEPL7.js";
|
|
14
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CWfec4MM.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CN_TecOH.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-DGFsmx0_.js";
|
|
17
|
+
import { C as Checkbox } from "./Checkbox-u6lrRKjB.js";
|
|
18
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
19
|
+
import { S as Select } from "./Select-C6HTZMJK.js";
|
|
20
|
+
import { u as useForm } from "./useForm-BJP2Gz_z.js";
|
|
21
21
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
22
|
-
import { C as Card } from "./Card-
|
|
22
|
+
import { C as Card } from "./Card-lp9GsJNK.js";
|
|
23
23
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
24
24
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
25
25
|
const filteredData = {
|
|
@@ -240,7 +240,7 @@ function SignPCIComponent({
|
|
|
240
240
|
const additionalSalesChannels = useSalesChannels();
|
|
241
241
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
242
242
|
addResourceBundles(i18n, [
|
|
243
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
243
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-DVjwfSz4.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CLY9qYTs.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-uHPPFvD-.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-SMf6w4NJ.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-wv99Y9Yf.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DmX2WHMl.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BqpvBqmR.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-CAuCY0qn.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DPegZzTc.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BPGwsLDa.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DdqNL1pQ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-C1LJENXO.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-B1eJg9RL.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-PnqAHl14.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BmRnIfWs.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CX9j9Dtv.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-cVVIDG7s.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C_tmZ39d.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DFZFSKZX.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CMiGlY3k.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-DmdQxN_1.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-B0slmyWK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BptPuon4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3nGkfNb.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CXn28ybc.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
244
244
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
245
245
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-K7feXvEc.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CYQO0o5V.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-DHNlnOwf.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BQixWUEV.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BynZTNSB.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BtRIDozk.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-2BMif2Bk.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-CHdEDRVO.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-BkGihn5Q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-BfL7qUzo.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C2yBVFht.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-C74EF23u.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CvUzNn9Z.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BsLkPEzn.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
246
246
|
]);
|
|
@@ -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, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./Image-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-DmX2WHMl.js";
|
|
14
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
15
|
+
import { I as Image } from "./Image-7ugINTtb.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-DFgTIsr8.js";
|
|
17
|
+
import { u as useForm } from "./useForm-BJP2Gz_z.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, U as TaskTypes, O as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, U as TaskTypes, O as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-7ugINTtb.js";
|
|
13
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-DxSQNl7R.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
onSubmit,
|
|
@@ -7,48 +7,48 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, am as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, aj as useI18nContext, as as isEmpty, L as Loader, W as Icon, X as IconButton, H as createLogger, ao as useQueryClient, c as useLegalEntity, R as ROOT_LE, V as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, O as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, am as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, aj as useI18nContext, as as isEmpty, L as Loader, W as Icon, X as IconButton, H as createLogger, ao as useQueryClient, c as useLegalEntity, R as ROOT_LE, V as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, O as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
12
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-7ugINTtb.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { n as normalizedTaskStatusStore, g as useBusinessLines } from "./OnboardingDropinComponent-
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
23
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
14
|
+
import { n as normalizedTaskStatusStore, g as useBusinessLines } from "./OnboardingDropinComponent-DBsDEPL7.js";
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CWfec4MM.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DyljCRF0.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DlQgluYn.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-BU1ypR-x.js";
|
|
19
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-D89mzRnj.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Dk4wN3ea.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D7t-HOjU.js";
|
|
22
|
+
import { F as FormWrapper } from "./FormWrapper-RruCrORi.js";
|
|
23
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-BbwB2vwY.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
26
|
import { a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
27
|
-
import { u as useForm } from "./useForm-
|
|
28
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
29
|
-
import { c as createFormUtils } from "./formUtils-
|
|
30
|
-
import { F as Field } from "./Field-
|
|
31
|
-
import { S as Select } from "./Select-
|
|
32
|
-
import { T as TextArea } from "./TextArea-
|
|
33
|
-
import { I as InputDate } from "./InputDate-
|
|
27
|
+
import { u as useForm } from "./useForm-BJP2Gz_z.js";
|
|
28
|
+
import { E as ErrorPanel } from "./ErrorPanel-D9XoKJU3.js";
|
|
29
|
+
import { c as createFormUtils } from "./formUtils-BPysJE1I.js";
|
|
30
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
31
|
+
import { S as Select } from "./Select-C6HTZMJK.js";
|
|
32
|
+
import { T as TextArea } from "./TextArea-OP1cpqyM.js";
|
|
33
|
+
import { I as InputDate } from "./InputDate-ZLx1dVI9.js";
|
|
34
34
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
35
|
-
import { I as InputText } from "./InputText-
|
|
36
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
37
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
38
|
-
import { C as CountryField } from "./CountryField-
|
|
39
|
-
import { A as Avatar } from "./Avatar-
|
|
40
|
-
import { a as Alert } from "./Alert-
|
|
41
|
-
import { M as Modal } from "./Modal-
|
|
42
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
44
|
-
import { T as TileGroup } from "./TileGroup-
|
|
35
|
+
import { I as InputText } from "./InputText-D27PjX-u.js";
|
|
36
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-BhN4lBTq.js";
|
|
37
|
+
import { R as RadioGroup } from "./RadioGroup-D7EQKt5c.js";
|
|
38
|
+
import { C as CountryField } from "./CountryField-CCPn8Qoa.js";
|
|
39
|
+
import { A as Avatar } from "./Avatar-DNLg9mIq.js";
|
|
40
|
+
import { a as Alert } from "./Alert-DI0PkMhx.js";
|
|
41
|
+
import { M as Modal } from "./Modal-CgvvxX_l.js";
|
|
42
|
+
import { C as Confirm } from "./Confirm-hBqBc56A.js";
|
|
43
|
+
import { v as validateDateNotInTheFuture } from "./validate-5XYy4YrX.js";
|
|
44
|
+
import { T as TileGroup } from "./TileGroup-CEiNSLyJ.js";
|
|
45
45
|
import { lazy } from "preact/compat";
|
|
46
|
-
import { H as Header } from "./Header-
|
|
47
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
48
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
46
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
47
|
+
import { L as LandingLayout } from "./LandingLayout-CVERQZKS.js";
|
|
48
|
+
import { i as isEmpty$1 } from "./isEmpty-_sLIbaSy.js";
|
|
49
49
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
50
|
-
import { C as Card } from "./Card-
|
|
51
|
-
import { D as Dropzone } from "./Dropzone-
|
|
50
|
+
import { C as Card } from "./Card-lp9GsJNK.js";
|
|
51
|
+
import { D as Dropzone } from "./Dropzone-B7nse4jU.js";
|
|
52
52
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
53
53
|
return httpPost(
|
|
54
54
|
{
|
|
@@ -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, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, G as Typography } from "./StoreProvider-DmX2WHMl.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] = "df47083f-c80b-4b8c-858c-4bf0057b8dd1", e2._sentryDebugIdIdentifier = "sentry-dbid-df47083f-c80b-4b8c-858c-4bf0057b8dd1");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -7112,7 +7112,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
7112
7112
|
};
|
|
7113
7113
|
};
|
|
7114
7114
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
7115
|
-
const sdkVersion = "3.92.
|
|
7115
|
+
const sdkVersion = "3.92.2";
|
|
7116
7116
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
7117
7117
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
7118
7118
|
const { accountHolder } = useAccountHolder();
|
|
@@ -7203,7 +7203,7 @@ const AnalyticsProvider = ({
|
|
|
7203
7203
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
7204
7204
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
7205
7205
|
const sessionData = {
|
|
7206
|
-
sdkVersion: "3.92.
|
|
7206
|
+
sdkVersion: "3.92.2",
|
|
7207
7207
|
componentName,
|
|
7208
7208
|
userAgent: navigator.userAgent,
|
|
7209
7209
|
legalEntityId: rootLegalEntityId,
|
|
@@ -7616,7 +7616,7 @@ function StateProvider({
|
|
|
7616
7616
|
);
|
|
7617
7617
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children });
|
|
7618
7618
|
}
|
|
7619
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
7619
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-CIqq-x9x.js")).DebugModal);
|
|
7620
7620
|
const DebugListener = () => {
|
|
7621
7621
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
7622
7622
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { aj as useI18nContext, u as useTranslation, V as useAnalyticsContext, as as isEmpty, X as IconButton, z as translateStringOrObject, bs as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header } from "./Header-
|
|
11
|
+
import { aj as useI18nContext, u as useTranslation, V as useAnalyticsContext, as as isEmpty, X as IconButton, z as translateStringOrObject, bs as Svg } from "./StoreProvider-DmX2WHMl.js";
|
|
12
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
14
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
15
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
15
|
+
import { E as ErrorPanel } from "./ErrorPanel-D9XoKJU3.js";
|
|
16
16
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
17
|
-
import { c as createFormUtils } from "./formUtils-
|
|
18
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
17
|
+
import { c as createFormUtils } from "./formUtils-BPysJE1I.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-X5EFmxxP.js";
|
|
19
19
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
20
20
|
const summary = "adyen-kyc-summary";
|
|
21
21
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { W as Icon, u as useTranslation, J as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { W as Icon, u as useTranslation, J as TaskStatuses } from "./StoreProvider-DmX2WHMl.js";
|
|
13
13
|
const SettingNames = {
|
|
14
14
|
AcceptedCountries: "acceptedCountries",
|
|
15
15
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bn as getNestedPropertyKeys, ad as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, C as CountryCodes, r as LegalEntityTypes, U as TaskTypes, b0 as keysOf, Z as useExperimentsContext, N as useAccountHolder } from "./StoreProvider-
|
|
10
|
+
import { bn as getNestedPropertyKeys, ad as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, C as CountryCodes, r as LegalEntityTypes, U as TaskTypes, b0 as keysOf, Z as useExperimentsContext, N as useAccountHolder } from "./StoreProvider-DmX2WHMl.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 { H as Header } from "./Header-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
25
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
26
|
-
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-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
14
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
15
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
16
|
+
import { S as Select } from "./Select-C6HTZMJK.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-OP1cpqyM.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-BbwB2vwY.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BJP2Gz_z.js";
|
|
20
|
+
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-DiVFB3nn.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-B7nse4jU.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-D9XoKJU3.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-BPysJE1I.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-u6lrRKjB.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./bafinUtils-CwfZa3fV.js";
|
|
26
|
+
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-8vADuAFD.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-CsHIRSZY.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DSWX-pzy.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isCompatibleJapanVersion } 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 isCompatibleJapanVersion } from "./japanSupportUtils-DF9IwjNH.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-Blzxvq4Q.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-B545OlPM.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-D7EQKt5c.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,28 +7,28 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, aF as Trans, W as Icon, B as Button, X as IconButton, as as isEmpty$1, a as addResourceBundles, V as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, H as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet, G as Typography, u as useTranslation, aF as Trans, W as Icon, B as Button, X as IconButton, as as isEmpty$1, a as addResourceBundles, V as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, H as createLogger, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.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-
|
|
15
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
16
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-CWfec4MM.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DlQgluYn.js";
|
|
15
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BBylkBDh.js";
|
|
16
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D7t-HOjU.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-VyGVMWEG.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { H as Header } from "./Header-
|
|
22
|
-
import { L as Link } from "./Link-
|
|
23
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
24
|
-
import { a as Alert } from "./Alert-
|
|
20
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
21
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
22
|
+
import { L as Link } from "./Link-B9XIYKdr.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-D7EQKt5c.js";
|
|
24
|
+
import { a as Alert } from "./Alert-DI0PkMhx.js";
|
|
25
25
|
import { lazy } from "preact/compat";
|
|
26
|
-
import { I as Image } from "./Image-
|
|
26
|
+
import { I as Image } from "./Image-7ugINTtb.js";
|
|
27
27
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
28
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
29
|
-
import { C as Card } from "./Card-
|
|
30
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
31
|
-
import { i as isEmpty } from "./isEmpty-
|
|
28
|
+
import { L as LandingLayout } from "./LandingLayout-CVERQZKS.js";
|
|
29
|
+
import { C as Card } from "./Card-lp9GsJNK.js";
|
|
30
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-DBsDEPL7.js";
|
|
31
|
+
import { i as isEmpty } from "./isEmpty-_sLIbaSy.js";
|
|
32
32
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
33
33
|
return httpGet({
|
|
34
34
|
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 { H as createLogger, u as useTranslation, V as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { H as createLogger, u as useTranslation, V as useAnalyticsContext } from "./StoreProvider-DmX2WHMl.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 { W as Icon, G as Typography, V as useAnalyticsContext, Y as noop } from "./StoreProvider-
|
|
12
|
+
import { W as Icon, G as Typography, V as useAnalyticsContext, Y as noop } from "./StoreProvider-DmX2WHMl.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-CgvvxX_l.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -7,52 +7,52 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { au as reverseMapping, r as LegalEntityTypes, U as TaskTypes, C as CountryCodes, bf as hasText, bg as isValidMinLength, aw as matchesRegex, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, bt as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, Z as useExperimentsContext, G as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, V as useAnalyticsContext, bL as trustDocumentMapping, ak as cloneObject, g as getLegalEntityCountry, as as isEmpty$1, aO as drop, a9 as getOwnEntityAssociations, c as useLegalEntity, w as skipToken, R as ROOT_LE, a as addResourceBundles, L as Loader, b0 as keysOf, O as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { au as reverseMapping, r as LegalEntityTypes, U as TaskTypes, C as CountryCodes, bf as hasText, bg as isValidMinLength, aw as matchesRegex, ay as NO_ALPHABET_REGEX, az as EMOJI_REGEX, aA as hasRepeatedCharacters, aB as isInvalidName, bt as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, Z as useExperimentsContext, G as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, V as useAnalyticsContext, bL as trustDocumentMapping, ak as cloneObject, g as getLegalEntityCountry, as as isEmpty$1, aO as drop, a9 as getOwnEntityAssociations, c as useLegalEntity, w as skipToken, R as ROOT_LE, a as addResourceBundles, L as Loader, b0 as keysOf, O as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DmX2WHMl.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-7ugINTtb.js";
|
|
13
|
+
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-C3vy80EK.js";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DyljCRF0.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DlQgluYn.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-BU1ypR-x.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-D89mzRnj.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-CWfec4MM.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Dk4wN3ea.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-D7t-HOjU.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-DiVFB3nn.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p as operationalAddressIsSameItems } from "./ConstitutionalDocument-BdErC1wx.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-DSWX-pzy.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-RruCrORi.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-BMeWxblQ.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-BbwB2vwY.js";
|
|
28
28
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
29
29
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
31
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
32
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
32
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DCjbQmVw.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-CLJfvUMb.js";
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { H as Header } from "./Header-
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { u as useForm } from "./useForm-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { I as InputText } from "./InputText-
|
|
41
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
42
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
44
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
45
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
46
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { F as Field } from "./Field-BPOgQTTz.js";
|
|
35
|
+
import { H as Header } from "./Header-BkM9rBcO.js";
|
|
36
|
+
import { S as Select } from "./Select-C6HTZMJK.js";
|
|
37
|
+
import { u as useForm } from "./useForm-BJP2Gz_z.js";
|
|
38
|
+
import { a as Alert } from "./Alert-DI0PkMhx.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-D9XoKJU3.js";
|
|
40
|
+
import { I as InputText } from "./InputText-D27PjX-u.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-CCPn8Qoa.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BPysJE1I.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-_sLIbaSy.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-B545OlPM.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BBylkBDh.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-VyGVMWEG.js";
|
|
47
47
|
import "preact";
|
|
48
48
|
import "classnames";
|
|
49
49
|
import "named-slots";
|
|
50
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
50
|
+
import { R as RadioGroup } from "./RadioGroup-D7EQKt5c.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-Blzxvq4Q.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-B6GlLFLY.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-D3rVNhss.js";
|
|
56
56
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
57
57
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
58
58
|
return {
|