@adyen/kyc-components 3.70.4 → 3.71.1
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-BI-piG2u.js → AcceptTermsOfServiceComponent-p5vyGenb.js} +4 -4
- package/dist/{AccountSetupRejected-Dn8WSlT3.js → AccountSetupRejected-CPzKdZUK.js} +3 -3
- package/dist/{BusinessDetailsDropin-CoRAL_0f.js → BusinessDetailsDropin-Dg7J3G2V.js} +5 -5
- package/dist/{BusinessTypeSelection-C5IzfnzR.js → BusinessTypeSelection-mgdNfOU5.js} +4 -4
- package/dist/{CXEL7IU7-Cc1zZH1V.js → CXEL7IU7-B-PizVWN.js} +2 -2
- package/dist/{CreateIndividualComponent-wlhR96DR.js → CreateIndividualComponent-Dx5hGmEy.js} +1327 -1133
- package/dist/{CustomerSupport-Dm02rX5E.js → CustomerSupport-98CYpA41.js} +3 -3
- package/dist/{DebugModal-BJGcqLa7.js → DebugModal-BoVIAdNv.js} +8 -8
- package/dist/{DecisionMakers-C9VRyN-z.js → DecisionMakers-DFgUeutx.js} +4 -4
- package/dist/{EmbedShell-hJSmRFU-.js → EmbedShell-DSXInTYF.js} +3 -3
- package/dist/{EventEmitter-Cq-82eYj.js → EventEmitter-DtooDxHU.js} +369 -347
- package/dist/{HASRA6WW-D4n872gE.js → HASRA6WW-DxkvByPD.js} +1 -1
- package/dist/{I3HPI4QX-CYgU-Kw-.js → I3HPI4QX-C-5-x7l7.js} +2 -2
- package/dist/{Introduction-CC0_eYC9.js → Introduction-DuSMy0Ne.js} +4 -4
- package/dist/{Review-wnQ1x7NE.js → Review-XSWK61VC.js} +3 -3
- package/dist/{SingpassSelection-BXSPue0v.js → SingpassSelection-DqAFFAwC.js} +2 -2
- package/dist/{SourceOfFunds.module-Cs51Y5p9.js → SourceOfFunds.module-C3sMBsv_.js} +2 -6
- package/dist/{SourceOfFundsDropin-SJgyVC2h.js → SourceOfFundsDropin-UKDYo_95.js} +12 -18
- package/dist/{TaskItemStatus-CuAn_5X4.js → TaskItemStatus-CPeyXQ5r.js} +2 -2
- package/dist/{TaxReportingDropin-B-PMN93r.js → TaxReportingDropin-BScwyVgO.js} +9 -9
- package/dist/{TrustDropin-DWudYQtC.js → TrustOuter-D-4RqJtF.js} +177 -155
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +2 -2
- package/dist/{bg-BG-Ce7O3eFv.js → bg-BG-CzEF3tzV.js} +25 -2
- package/dist/{core-CEOtQFGb.js → core-DQ8jXm-N.js} +7400 -7361
- package/dist/{cs-CZ-CrC0OM0G.js → cs-CZ-TMjslGp_.js} +25 -2
- package/dist/{css-CiEdFdmv.js → css-C15RsIEG.js} +1 -1
- package/dist/{da-DK-qSfql5UY.js → da-DK-DWzvDWZJ.js} +25 -2
- package/dist/{de-DE-3LOqfpiA.js → de-DE-BtIL-7gp.js} +25 -2
- package/dist/digital-wallet-with-local-currencies-POeLD54e.js +46 -0
- package/dist/{el-GR-CTuJ6hn-.js → el-GR-DHSSlqbw.js} +25 -2
- package/dist/{es-ES-DgVFlRYZ.js → es-ES-OwkE9-Cu.js} +25 -2
- package/dist/{et-EE-Bgft_08b.js → et-EE-DvixWnLd.js} +25 -2
- package/dist/{fi-FI-CQW_GIPa.js → fi-FI-DZiXWe_g.js} +25 -2
- package/dist/{fr-FR-dNqcyG5e.js → fr-FR-BBwiWhiT.js} +25 -2
- package/dist/funds-in-D8bj0aoE.js +21 -0
- package/dist/house-B6sNRj-B.js +21 -0
- package/dist/{hr-HR-C8WCFUb9.js → hr-HR-DJYofWKU.js} +25 -2
- package/dist/{hu-HU-OdcVNvSN.js → hu-HU-k9c6wZld.js} +25 -2
- package/dist/individual.js +4 -4
- package/dist/{it-IT-CPBQVRCK.js → it-IT-oOwbWW3K.js} +25 -2
- package/dist/{ja-JP-Bh4irw6C.js → ja-JP-CT3g8Hhn.js} +25 -2
- package/dist/{json-DpUNFPoc.js → json-GYEwMhCl.js} +1 -1
- package/dist/{lt-LT-vglMkJcJ.js → lt-LT-CVHIsEF8.js} +25 -2
- package/dist/{lv-LV-BbjKCqpN.js → lv-LV-BFx0cvZ2.js} +25 -2
- package/dist/{nl-NL-D_O0KNNq.js → nl-NL-rmSZu4Rf.js} +25 -2
- package/dist/{no-NO-qkYiqc6y.js → no-NO-BOnQvimN.js} +25 -2
- package/dist/passport-front-green-BL4HmtsB.js +232 -0
- package/dist/{pl-PL-Dt_cU3CC.js → pl-PL-5j22An4E.js} +25 -2
- package/dist/plaid-logo-CtActXTN.js +14 -0
- package/dist/{plaintext-BgkI_7Jp.js → plaintext-6k9Dv3sw.js} +1 -1
- package/dist/{pt-PT-ikqIUFTg.js → pt-PT-DP8U1qyu.js} +25 -2
- package/dist/reporting-DlRoibD7.js +17 -0
- package/dist/{ro-RO-gzqKZPHh.js → ro-RO-BTdtoC6P.js} +25 -2
- package/dist/{sk-SK-BY3g56qX.js → sk-SK-DYTx4mOB.js} +25 -2
- package/dist/{sl-SI-HorvDYvW.js → sl-SI-D8CiUN69.js} +25 -2
- package/dist/style.css +91 -70
- package/dist/styles-CLV89_hH.js +91 -70
- package/dist/{sv-SE-X6UKX96z.js → sv-SE-Daslxeqr.js} +25 -2
- package/dist/tax-reporting-graph-DjzwRgE6.js +504 -0
- package/dist/terms-of-service.js +4 -4
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/allowedBankCountriesPerCountry.d.ts +0 -1
- package/dist/types/components/EFP/mapping/{highExposureKeyMappings.d.ts → businessFinancingKeyMappings.d.ts} +2 -2
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -0
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingCompany.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingParentCompany.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingUltimateParentCompany.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBasicCompanyInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingBusinessInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingDropin.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingLegalInformation.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingOwnershipStructure.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingRegisteredAddress.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/mandatoryFields.d.ts +3 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +211 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +6 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/BusinessFinancingComponent.d.ts +2 -0
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +9 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/DataConflictsModal.d.ts +3 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +3 -1
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +3 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/types.d.ts +5 -6
- package/dist/types/components/Trust/mapping/mapLegalEntityToTrust.d.ts +2 -2
- package/dist/types/components/Trust/tasks/TrustDropin/TrustDropin.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +10 -0
- package/dist/types/components/UnincorporatedPartnership/mapping/mapLegalEntityToUnincorporatedPartnership.d.ts +2 -2
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/components/ui/atoms/Avatar/Avatar.d.ts +18 -0
- package/dist/types/constants/config.d.ts +1 -0
- package/dist/types/constants/countries.d.ts +2 -0
- package/dist/types/{core/constants.d.ts → constants/keys.d.ts} +0 -1
- package/dist/types/context/StateContext/types.d.ts +2 -2
- package/dist/types/core/models/errors/maintenance-mode-error.d.ts +1 -1
- package/dist/types/core/models/errors/validation-error.d.ts +3 -3
- package/dist/types/core/models/form-rules.d.ts +0 -2
- package/dist/types/hooks/useDataConflicts.d.ts +36 -0
- package/dist/types/utils/addressToString.d.ts +8 -0
- package/dist/types/utils/areArraysDifferent.d.ts +1 -0
- package/dist/types/utils/country.d.ts +2 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/eventHandlers/handleKeys.d.ts +1 -1
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -2
- package/dist/types/utils/regex/patternValidators.d.ts +1 -0
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{utils-BVzbR6pu.js → utils-DwfxOV26.js} +1 -1
- package/dist/{utils-BgAflqaa.js → utils-J0EdzZZY.js} +4 -4
- package/dist/{yaml-CR7EMTmU.js → yaml-CtdhLHq4.js} +1 -1
- package/package.json +5 -1
- package/dist/digital-wallet-with-local-currencies-DCDwmqv4.js +0 -60
- package/dist/funds-in-Cy21kfYZ.js +0 -27
- package/dist/house-C6Cpkswg.js +0 -21
- package/dist/passport-front-green-PzVJOT2q.js +0 -312
- package/dist/plaid-logo-DaBT1N_U.js +0 -17
- package/dist/reporting-DDsW6cxJ.js +0 -17
- package/dist/tax-reporting-graph-C-Vypvps.js +0 -586
- package/dist/types/components/EFP/mapping/mapHighExposureToLegalEntity.d.ts +0 -3
- package/dist/types/components/EFP/mapping/mapLegalEntityToHighExposure.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/AdditionalFieldsForHighExposureCompany.d.ts +0 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/AdditionalFieldsForHighExposureParentCompany.d.ts +0 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +0 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureBasicCompanyInformation.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureBusinessInformation.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureDropin.d.ts +0 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureFinancialInformation.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureLegalInformation.d.ts +0 -2
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureOwnershipStructure.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureRegisteredAddress.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +0 -211
- package/dist/types/components/EFP/tasks/HighExposureDropin/utils.d.ts +0 -15
- package/dist/types/components/EFP/tasks/HighExposureDropin/validate.d.ts +0 -6
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +0 -2
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +0 -9
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureBasicCompanyInformation.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './styles.scss';
|
|
2
|
-
import type { HighExposureBasicCompanyInformationProps } from './types';
|
|
3
|
-
export declare function HighExposureBasicCompanyInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureBasicCompanyInformationProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureBusinessInformation.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './styles.scss';
|
|
2
|
-
import type { HighExposureBusinessInformationProps } from './types';
|
|
3
|
-
export declare function HighExposureBusinessInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, targetPage, sectionHeading, }: HighExposureBusinessInformationProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureFinancialInformation.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './styles.scss';
|
|
2
|
-
import type { HighExposureFinancialInformationProps } from './types';
|
|
3
|
-
export declare function HighExposureFinancialInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, country, sectionHeading, setValidCurrency, }: HighExposureFinancialInformationProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureLegalInformation.d.ts
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import type { HighExposureLegalInformationProps } from './types';
|
|
2
|
-
export declare function HighExposureLegalInformation({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, sectionHeading, }: HighExposureLegalInformationProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureOwnershipStructure.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './styles.scss';
|
|
2
|
-
import { type HighExposureOwnershipStructureProps } from './types';
|
|
3
|
-
export declare function HighExposureOwnershipStructure({ formUtils, data, valid, errors, fieldProblems, handleChangeFor, legalEntity, }: HighExposureOwnershipStructureProps): import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureRegisteredAddress.d.ts
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import './styles.scss';
|
|
2
|
-
import { type HighExposureRegisteredAddressProps } from './types';
|
|
3
|
-
export declare function HighExposureRegisteredAddress({ formUtils, valid, errors, fieldProblems, handleChangeFor, legalEntity, sectionHeading, formId, setValid, shouldValidate, defaultData, }: HighExposureRegisteredAddressProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,211 +0,0 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
|
-
import type { CountryCode } from '../../../../core/models/country-code';
|
|
3
|
-
import type { Currency } from '../../../../core/models/currency';
|
|
4
|
-
import type { FormList, FormModel } from '../../../../core/models/form';
|
|
5
|
-
import type { BaseInnerFormProps, BaseOuterFormProps } from '../../../../hooks/useForm/types';
|
|
6
|
-
import type { Translatable, TranslationKey } from '../../../../../types';
|
|
7
|
-
import type { AddressSchema } from '../../../Shared/forms/Address/types';
|
|
8
|
-
import type { FormUtils } from '../../../../utils/formUtils';
|
|
9
|
-
import type { ValidationRuleResult, ValidatorMode } from '../../../../utils/validation/types';
|
|
10
|
-
export interface HighExposureCompanySchema {
|
|
11
|
-
numberOfEmployees?: number;
|
|
12
|
-
legalForm?: string;
|
|
13
|
-
legalFormLabel?: string;
|
|
14
|
-
naceCode?: string;
|
|
15
|
-
naceCodeLabel?: string;
|
|
16
|
-
doesYourCompanyHaveLEI?: string;
|
|
17
|
-
legalEntityIdentifier?: string;
|
|
18
|
-
isCompanyOwnedByAnotherCompany?: string;
|
|
19
|
-
isParentOwnedByAnotherCompany?: string;
|
|
20
|
-
netAssets?: number;
|
|
21
|
-
currency?: Currency;
|
|
22
|
-
annualTurnover?: number;
|
|
23
|
-
financialReportingDate?: string;
|
|
24
|
-
legalInformationInsolvency?: string;
|
|
25
|
-
legalProceedingsDate?: string;
|
|
26
|
-
isThisAddressTheMainHeadquarters?: string;
|
|
27
|
-
}
|
|
28
|
-
export type HighExposureParentCompanySchema = {
|
|
29
|
-
legalName?: string;
|
|
30
|
-
numberOfEmployees?: number;
|
|
31
|
-
legalForm?: string;
|
|
32
|
-
legalFormLabel?: string;
|
|
33
|
-
naceCode?: string;
|
|
34
|
-
naceCodeLabel?: string;
|
|
35
|
-
doesYourCompanyHaveLEI?: string;
|
|
36
|
-
legalEntityIdentifier?: string;
|
|
37
|
-
doesNotKnowNumberOfEmployees?: boolean;
|
|
38
|
-
isThisAddressTheMainHeadquarters?: string;
|
|
39
|
-
netAssets?: number;
|
|
40
|
-
currency?: Currency;
|
|
41
|
-
annualTurnover?: number;
|
|
42
|
-
financialReportingDate?: string;
|
|
43
|
-
legalInformationInsolvency?: string;
|
|
44
|
-
legalProceedingsDate?: string;
|
|
45
|
-
registrationAddress?: AddressSchema;
|
|
46
|
-
};
|
|
47
|
-
export type HighExposureUltimateParentCompanySchema = {
|
|
48
|
-
legalName?: string;
|
|
49
|
-
numberOfEmployees?: number;
|
|
50
|
-
legalForm?: string;
|
|
51
|
-
legalFormLabel?: string;
|
|
52
|
-
naceCode?: string;
|
|
53
|
-
naceCodeLabel?: string;
|
|
54
|
-
doesYourCompanyHaveLEI?: string;
|
|
55
|
-
legalEntityIdentifier?: string;
|
|
56
|
-
doesNotKnowNumberOfEmployees?: boolean;
|
|
57
|
-
isThisAddressTheMainHeadquarters?: string;
|
|
58
|
-
netAssets?: number;
|
|
59
|
-
currency?: Currency;
|
|
60
|
-
annualTurnover?: number;
|
|
61
|
-
financialReportingDate?: string;
|
|
62
|
-
legalInformationInsolvency?: string;
|
|
63
|
-
legalProceedingsDate?: string;
|
|
64
|
-
registrationAddress?: AddressSchema;
|
|
65
|
-
};
|
|
66
|
-
export interface HighExposureSchema {
|
|
67
|
-
company?: HighExposureCompanySchema;
|
|
68
|
-
parentCompany?: HighExposureParentCompanySchema;
|
|
69
|
-
ultimateParentCompany?: HighExposureUltimateParentCompanySchema;
|
|
70
|
-
}
|
|
71
|
-
export interface HighExposureDropinProps extends BaseOuterFormProps<HighExposureSchema> {
|
|
72
|
-
activeForm?: FormModel;
|
|
73
|
-
forms?: FormModel[];
|
|
74
|
-
country: CountryCode;
|
|
75
|
-
rootLegalEntity: ExistingLegalEntity;
|
|
76
|
-
externalOnSubmit?: (data: HighExposureSchema) => void;
|
|
77
|
-
externalOnSubmitLabel?: string;
|
|
78
|
-
isStandaloneComponent?: boolean;
|
|
79
|
-
handleHomeClick?(): void;
|
|
80
|
-
}
|
|
81
|
-
export interface HighExposureProps {
|
|
82
|
-
legalEntityId: ExistingLegalEntity['id'];
|
|
83
|
-
onSubmitSuccess?: (data: HighExposureSchema) => void;
|
|
84
|
-
}
|
|
85
|
-
export interface HighExposureCompanyDetailsProps extends BaseInnerFormProps<HighExposureCompanySchema> {
|
|
86
|
-
country: CountryCode;
|
|
87
|
-
legalEntity?: ExistingLegalEntity;
|
|
88
|
-
}
|
|
89
|
-
export interface HighExposureParentCompanyDetailsProps extends BaseInnerFormProps<HighExposureParentCompanySchema> {
|
|
90
|
-
country: CountryCode;
|
|
91
|
-
legalEntity?: ExistingLegalEntity;
|
|
92
|
-
}
|
|
93
|
-
export interface HighExposureUltimateParentCompanyDetailsProps extends BaseInnerFormProps<HighExposureUltimateParentCompanySchema> {
|
|
94
|
-
country: CountryCode;
|
|
95
|
-
legalEntity?: ExistingLegalEntity;
|
|
96
|
-
}
|
|
97
|
-
export type HighExposureSchemaCombined = HighExposureCompanySchema & HighExposureParentCompanySchema & HighExposureUltimateParentCompanySchema;
|
|
98
|
-
export declare enum HighExposurePagesEnums {
|
|
99
|
-
COMPANY_PAGE = "company",
|
|
100
|
-
PARENT_COMPANY_PAGE = "parentCompany",
|
|
101
|
-
ULTIMATE_PARENT_COMPANY_PAGE = "ultimateParentCompany"
|
|
102
|
-
}
|
|
103
|
-
export type HighExposureBusinessInformationProps = {
|
|
104
|
-
country: CountryCode;
|
|
105
|
-
data: Partial<HighExposureSchemaCombined>;
|
|
106
|
-
valid: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
107
|
-
errors: Partial<Record<keyof HighExposureSchemaCombined, ValidationRuleResult | null>>;
|
|
108
|
-
fieldProblems: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
109
|
-
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
110
|
-
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
111
|
-
targetPage: HighExposurePagesEnums;
|
|
112
|
-
sectionHeading?: Translatable;
|
|
113
|
-
};
|
|
114
|
-
export type HighExposureCustomLabels = {
|
|
115
|
-
[K in keyof HighExposureSchema]?: Partial<Record<keyof NonNullable<HighExposureSchema[K]>, Translatable>>;
|
|
116
|
-
};
|
|
117
|
-
export interface HighExposureOwnershipStructureProps extends BaseInnerFormProps<HighExposureCompanySchema> {
|
|
118
|
-
data: HighExposureCompanySchema;
|
|
119
|
-
valid: Record<keyof HighExposureCompanySchema, boolean>;
|
|
120
|
-
formUtils: FormUtils<HighExposureCompanySchema>;
|
|
121
|
-
errors: Record<keyof HighExposureCompanySchema, ValidationRuleResult | null>;
|
|
122
|
-
fieldProblems: Record<keyof HighExposureCompanySchema, boolean>;
|
|
123
|
-
handleChangeFor: (key: keyof HighExposureCompanySchema, mode?: ValidatorMode) => (e: any) => void;
|
|
124
|
-
legalEntity?: LegalEntity;
|
|
125
|
-
}
|
|
126
|
-
export type HighExposureFinancialInformationProps = {
|
|
127
|
-
country: CountryCode;
|
|
128
|
-
data: Partial<HighExposureSchemaCombined>;
|
|
129
|
-
valid: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
130
|
-
errors: Partial<Record<keyof HighExposureSchemaCombined, ValidationRuleResult | null>>;
|
|
131
|
-
fieldProblems: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
132
|
-
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
133
|
-
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
134
|
-
targetPage: HighExposurePagesEnums;
|
|
135
|
-
sectionHeading?: Translatable;
|
|
136
|
-
setValidCurrency: (key: 'currency', value: boolean) => void;
|
|
137
|
-
};
|
|
138
|
-
export type HighExposureLegalInformationProps = {
|
|
139
|
-
data: Partial<HighExposureSchemaCombined>;
|
|
140
|
-
valid: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
141
|
-
errors: Partial<Record<keyof HighExposureSchemaCombined, ValidationRuleResult | null>>;
|
|
142
|
-
fieldProblems: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
143
|
-
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
144
|
-
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
145
|
-
targetPage: HighExposurePagesEnums;
|
|
146
|
-
sectionHeading?: Translatable;
|
|
147
|
-
};
|
|
148
|
-
export type HighExposureParentSchemasCombined = HighExposureParentCompanySchema & HighExposureUltimateParentCompanySchema;
|
|
149
|
-
export type HighExposureBasicCompanyInformationProps = {
|
|
150
|
-
data: Partial<HighExposureParentSchemasCombined>;
|
|
151
|
-
valid: Partial<Record<keyof HighExposureParentSchemasCombined, boolean>>;
|
|
152
|
-
errors: Partial<Record<keyof HighExposureParentSchemasCombined, ValidationRuleResult | null>>;
|
|
153
|
-
fieldProblems: Partial<Record<keyof HighExposureParentSchemasCombined, boolean>>;
|
|
154
|
-
handleChangeFor: (key: keyof HighExposureParentSchemasCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
155
|
-
formUtils: FormUtils<HighExposureParentSchemasCombined>;
|
|
156
|
-
sectionHeading?: Translatable;
|
|
157
|
-
};
|
|
158
|
-
declare enum HighExposureRadioIds {
|
|
159
|
-
YES = "Yes",
|
|
160
|
-
NO = "No"
|
|
161
|
-
}
|
|
162
|
-
export declare const highExposureRadioItems: Array<{
|
|
163
|
-
id: HighExposureRadioIds;
|
|
164
|
-
name: TranslationKey;
|
|
165
|
-
}>;
|
|
166
|
-
export declare const highExposureParentRadioItems: Array<{
|
|
167
|
-
id: HighExposureRadioIds;
|
|
168
|
-
name: TranslationKey;
|
|
169
|
-
}>;
|
|
170
|
-
export type HighExposureRegisteredAddressProps = {
|
|
171
|
-
defaultData: Partial<HighExposureParentSchemasCombined>;
|
|
172
|
-
valid: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
173
|
-
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
174
|
-
errors: Partial<Record<keyof HighExposureSchemaCombined, ValidationRuleResult | null>>;
|
|
175
|
-
fieldProblems: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
176
|
-
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
177
|
-
legalEntity?: LegalEntity;
|
|
178
|
-
targetPage: HighExposurePagesEnums;
|
|
179
|
-
sectionHeading?: Translatable;
|
|
180
|
-
formId?: string;
|
|
181
|
-
setValid?: (key: keyof HighExposureParentSchemasCombined, value: boolean) => void;
|
|
182
|
-
shouldValidate?: boolean;
|
|
183
|
-
};
|
|
184
|
-
export declare const companySchemaKeys: (keyof HighExposureCompanySchema)[];
|
|
185
|
-
export declare const parentCompaniesSchemaKeys: (keyof HighExposureParentCompanySchema & HighExposureUltimateParentCompanySchema)[];
|
|
186
|
-
export declare const highExposureForms: FormList;
|
|
187
|
-
export declare enum HighExposureIndex {
|
|
188
|
-
COMPANY = "company",
|
|
189
|
-
PARENT_COMPANY = "parentCompany",
|
|
190
|
-
ULTIMATE_PARENT_COMPANY = "ultimateParentCompany"
|
|
191
|
-
}
|
|
192
|
-
interface HighExposureSummary {
|
|
193
|
-
legalName?: string;
|
|
194
|
-
legalForm?: string;
|
|
195
|
-
legalFormLabel?: string;
|
|
196
|
-
naceCode?: string;
|
|
197
|
-
naceCodeLabel?: string;
|
|
198
|
-
legalInformationInsolvency?: string;
|
|
199
|
-
annualTurnover?: string;
|
|
200
|
-
netAssets?: string;
|
|
201
|
-
currency?: string;
|
|
202
|
-
legalProceedingsDate?: string;
|
|
203
|
-
financialReportingDate?: string;
|
|
204
|
-
country?: string | null;
|
|
205
|
-
}
|
|
206
|
-
export type HighExposureSummaryType = {
|
|
207
|
-
company?: HighExposureSummary;
|
|
208
|
-
parentCompany?: HighExposureSummary;
|
|
209
|
-
ultimateParentCompany?: HighExposureSummary;
|
|
210
|
-
};
|
|
211
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { ExistingLegalEntity, LegalEntity, NewPatchLegalEntity } from '../../../../core/models/api/legal-entity';
|
|
2
|
-
import type { Organization } from '../../../../core/models/api/organization';
|
|
3
|
-
import type { CountryCode, CountryCodes } from '../../../../core/models/country-code';
|
|
4
|
-
import type { HighExposureCompanySchema, HighExposureParentSchemasCombined, HighExposureSchema } from './types';
|
|
5
|
-
import { HighExposureIndex } from './types';
|
|
6
|
-
export declare const getLegalEntityId: (exposureIndex: HighExposureIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
|
|
7
|
-
export declare const USER_LOCALE: string;
|
|
8
|
-
export declare const entityHasParentCompany: (data: HighExposureSchema) => boolean;
|
|
9
|
-
export declare const entityHasUltimateParentCompany: (data: HighExposureSchema) => boolean;
|
|
10
|
-
export declare const prepareExposureSubmitData: (exposureIndex: HighExposureIndex, data: HighExposureSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity;
|
|
11
|
-
export declare const appendHighExposureData: (legalOrganization?: Organization, highExposureData?: HighExposureCompanySchema | HighExposureParentSchemasCombined) => HighExposureCompanySchema | HighExposureParentSchemasCombined | undefined;
|
|
12
|
-
export declare const handleHighExposureFormSubmission: (highExposureType: HighExposureIndex, details: LegalEntity | NewPatchLegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: NewPatchLegalEntity) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity | void>;
|
|
13
|
-
export declare const isEeaCountry: (country?: CountryCodes | string) => boolean;
|
|
14
|
-
export declare const getCompanySchemaKeys: (country: CountryCode, currentData: Partial<HighExposureCompanySchema>, schemaKeys: (keyof HighExposureCompanySchema)[]) => Array<keyof HighExposureCompanySchema>;
|
|
15
|
-
export declare const getParentCompanySchemaKeys: (currentData: Partial<HighExposureParentSchemasCombined>, schemaKeys: (keyof HighExposureParentSchemasCombined)[]) => Array<keyof HighExposureParentSchemasCombined>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { ValidatorRules } from '../../../../utils/validation/types';
|
|
2
|
-
import type { HighExposureCompanySchema, HighExposureParentCompanySchema, HighExposureUltimateParentCompanySchema } from './types';
|
|
3
|
-
export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined) => boolean;
|
|
4
|
-
export declare const validateDateNotInTheFuture: (selectedDate: string | null | undefined) => boolean;
|
|
5
|
-
export declare const highExposureCompanyDetailsValidations: ValidatorRules<HighExposureCompanySchema>;
|
|
6
|
-
export declare const highExposureParentCompaniesDetailsValidations: ValidatorRules<HighExposureParentCompanySchema | HighExposureUltimateParentCompanySchema>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Language } from '../../../language/Language';
|
|
2
|
-
import type { DatasetUtil } from '../../../utils/datasetUtil';
|
|
3
|
-
import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../EFP/tasks/HighExposureDropin/types';
|
|
4
|
-
export declare const customLabels: HighExposureCustomLabels;
|
|
5
|
-
export declare const getTranslatedLegalInsolvency: (i18n: Language, insolvencyData?: string) => string;
|
|
6
|
-
export declare const getValidUserLocale: (locale: string) => string;
|
|
7
|
-
export declare const getFormattedAmount: (value?: string, currency?: string) => string;
|
|
8
|
-
export declare const formatDataForSummary: (data: HighExposureSchema, i18n: Language, datasetUtils: DatasetUtil) => HighExposureSummaryType;
|
|
9
|
-
export declare const canSubmit: (data: HighExposureSchema) => boolean;
|