@adyen/kyc-components 3.25.1 → 3.26.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/es/adyen-kyc-components.es.js +3664 -3417
- package/dist/es/onfido-logo-i_oduqdE.js +5 -0
- package/dist/es/plaid-logo-4nYeR9iX.js +12 -0
- package/dist/es/tink-logo-CXMbO28D.js +5 -0
- package/dist/es/trustly-logo-YJslAOYF.js +11 -0
- package/dist/style.css +75 -47
- package/dist/types/components/BankVerification/types.d.ts +4 -3
- package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +3 -2
- package/dist/types/components/BasicInformation/component/BasicInformationComponent.d.ts +1 -1
- package/dist/types/components/BasicInformation/types.d.ts +18 -3
- package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/BusinessDetails/types.d.ts +14 -16
- package/dist/types/components/BusinessSelection/BusinessInformationCard.d.ts +4 -4
- package/dist/types/components/BusinessSelection/component/BusinessSelectionComponent.d.ts +1 -1
- package/dist/types/components/BusinessSelection/types.d.ts +13 -21
- package/dist/types/components/Company/component/CompanyComponent.d.ts +2 -2
- package/dist/types/components/CompanyStructure/component/CompanyStructureComponent.d.ts +1 -1
- package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +9 -2
- package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +1 -1
- package/dist/types/components/Dropins/DropinLayout/types.d.ts +1 -0
- package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureCompany.d.ts +1 -2
- package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureParentCompany.d.ts +1 -3
- package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +1 -2
- package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureBasicCompanyInformation.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureBusinessInformation.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureFinancialInformation.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureLegalInformation.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureRegisteredAddress.d.ts +1 -1
- package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +39 -38
- package/dist/types/components/Dropins/HighExposureDropin/utils.d.ts +11 -0
- package/dist/types/components/Dropins/HighExposureDropin/validate.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/UpdateLegalEntityForHighExposure.d.ts +1 -1
- package/dist/types/components/PayoutDetails/types.d.ts +1 -1
- package/dist/types/components/SoleProp/component/SolePropComponent.d.ts +2 -2
- package/dist/types/components/internal/Address/utils.d.ts +1 -1
- package/dist/types/components/internal/Button/Button.d.ts +1 -1
- package/dist/types/components/internal/Button/types.d.ts +1 -1
- package/dist/types/components/internal/Card/Card.d.ts +1 -1
- package/dist/types/components/internal/Card/types.d.ts +1 -0
- package/dist/types/components/internal/EmbeddedStatus/EmbeddedStatus.d.ts +14 -4
- package/dist/types/components/internal/EmbeddedStatus/statusToTag.d.ts +2 -1
- package/dist/types/components/internal/Icon/Icon.d.ts +1 -1
- package/dist/types/components/internal/Svg/Svg.d.ts +1 -1
- package/dist/types/components/internal/Svg/svgs.d.ts +18 -4
- package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +3 -1
- package/dist/types/core/hooks/useBusinessData/index.d.ts +1 -0
- package/dist/types/core/hooks/useBusinessData/types.d.ts +26 -0
- package/dist/types/core/hooks/useBusinessData/useBusinessData.d.ts +2 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/models/api/organization.d.ts +13 -0
- package/dist/types/utils/mapping/componentApiMapping.d.ts +19 -5
- package/package.json +4 -3
- package/dist/es/arrow-left-BLTu7dpi.js +0 -5
- package/dist/es/arrow-right-BntH-Qlw.js +0 -8
- package/dist/es/bin-Bj6qtSTy.js +0 -8
- package/dist/es/check-ZYTuehgv.js +0 -5
- package/dist/es/checkmark-DxCwXAIK.js +0 -5
- package/dist/es/checkmark-small-BsdIbd2G.js +0 -5
- package/dist/es/chevron-down-BIOZPblQ.js +0 -8
- package/dist/es/chevron-left-B_GtBez_.js +0 -11
- package/dist/es/chevron-right-DTyHLnb5.js +0 -8
- package/dist/es/chevron-up-0etcs99k.js +0 -8
- package/dist/es/company-2-B3NuVpZ7.js +0 -8
- package/dist/es/company-CYi9zTX1.js +0 -5
- package/dist/es/contract-Ca5T1p29.js +0 -5
- package/dist/es/controlling-person-BQledQz3.js +0 -5
- package/dist/es/cross-_WDtYXwH.js +0 -8
- package/dist/es/decision-maker-IOjBp4Cn.js +0 -5
- package/dist/es/document-Daivbade.js +0 -5
- package/dist/es/download-6WUrs5fL.js +0 -8
- package/dist/es/edit-vu4T5TEr.js +0 -5
- package/dist/es/field-error-Dc-vt_Ng.js +0 -5
- package/dist/es/image-C5KqhIDJ.js +0 -8
- package/dist/es/info-circle-DvvWfz1E.js +0 -9
- package/dist/es/light-bulb-B9fSxkAk.js +0 -5
- package/dist/es/location-6Th9xn5O.js +0 -5
- package/dist/es/more-horiz-BW6d91R8.js +0 -5
- package/dist/es/new-document-Cpqmj9Kl.js +0 -5
- package/dist/es/onfido-logo-DWX1GbUz.js +0 -9
- package/dist/es/payout-W95Oslv1.js +0 -5
- package/dist/es/pci-5RzbfIJy.js +0 -5
- package/dist/es/plaid-logo-CldAG-6v.js +0 -13
- package/dist/es/plus-DUFyqbPe.js +0 -8
- package/dist/es/remove-CR7nAYBO.js +0 -5
- package/dist/es/save-DsoIf4Q0.js +0 -5
- package/dist/es/search-3G14C_IW.js +0 -5
- package/dist/es/store-CNHDWfwi.js +0 -5
- package/dist/es/tink-logo-CPPNzyT1.js +0 -5
- package/dist/es/trust-PKlVgWsv.js +0 -5
- package/dist/es/trustly-logo-QZ7eqdLL.js +0 -11
- package/dist/es/upload-CA264b-V.js +0 -8
- package/dist/es/user-Dt1-0v-v.js +0 -11
- package/dist/es/users-3-Dshq7JI-.js +0 -8
- package/dist/es/warning-vQPFTjLC.js +0 -5
- package/dist/es/wrong-BFDOMiyi.js +0 -5
|
@@ -12,10 +12,10 @@ export interface HighExposureCompanySchema {
|
|
|
12
12
|
numberOfEmployees?: number;
|
|
13
13
|
legalForm?: string;
|
|
14
14
|
naceCode?: string;
|
|
15
|
-
doesTheCompanyEarnMoreThanHalf?: string;
|
|
16
15
|
doesYourCompanyHaveLEI?: string;
|
|
17
16
|
legalEntityIdentifier?: string;
|
|
18
17
|
isCompanyOwnedByAnotherCompany?: string;
|
|
18
|
+
doesNotKnowLegalEntityIdentifier?: boolean;
|
|
19
19
|
isParentOwnedByAnotherCompany?: string;
|
|
20
20
|
totalAssetsValue?: number;
|
|
21
21
|
totalAssetsCurrency?: string;
|
|
@@ -24,24 +24,25 @@ export interface HighExposureCompanySchema {
|
|
|
24
24
|
financialReportingDate?: string;
|
|
25
25
|
legalInformationInsolvency?: string;
|
|
26
26
|
legalProceedingsDate?: string;
|
|
27
|
+
isThisAddressTheMainHeadquarters?: string;
|
|
27
28
|
}
|
|
28
29
|
export type HighExposureParentCompanySchema = {
|
|
29
30
|
country?: CountryCode;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
31
|
+
legalName?: string;
|
|
32
|
+
numberOfEmployees?: number;
|
|
33
|
+
legalForm?: string;
|
|
34
|
+
naceCode?: string;
|
|
35
|
+
doesYourCompanyHaveLEI?: string;
|
|
36
|
+
legalEntityIdentifier?: string;
|
|
37
|
+
doesNotKnowNumberOfEmployees?: boolean;
|
|
38
|
+
doesNotKnowLegalEntityIdentifier?: boolean;
|
|
39
|
+
isThisAddressTheMainHeadquarters?: string;
|
|
40
|
+
address?: string;
|
|
41
|
+
otherAddressInformation?: string;
|
|
42
|
+
postalCode?: string;
|
|
43
|
+
city?: string;
|
|
44
|
+
stateOrProvince?: string;
|
|
45
|
+
companyCountry?: string;
|
|
45
46
|
totalAssetsValue?: number;
|
|
46
47
|
totalAssetsCurrency?: string;
|
|
47
48
|
annualTurnoverValue?: number;
|
|
@@ -52,21 +53,21 @@ export type HighExposureParentCompanySchema = {
|
|
|
52
53
|
};
|
|
53
54
|
export type HighExposureUltimateParentCompanySchema = {
|
|
54
55
|
country?: CountryCode;
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
56
|
+
legalName?: string;
|
|
57
|
+
numberOfEmployees?: number;
|
|
58
|
+
legalForm?: string;
|
|
59
|
+
naceCode?: string;
|
|
60
|
+
doesYourCompanyHaveLEI?: string;
|
|
61
|
+
legalEntityIdentifier?: string;
|
|
62
|
+
doesNotKnowNumberOfEmployees?: boolean;
|
|
63
|
+
doesNotKnowLegalEntityIdentifier?: boolean;
|
|
64
|
+
isThisAddressTheMainHeadquarters?: string;
|
|
65
|
+
address?: string;
|
|
66
|
+
otherAddressInformation?: string;
|
|
67
|
+
postalCode?: string;
|
|
68
|
+
city?: string;
|
|
69
|
+
stateOrProvince?: string;
|
|
70
|
+
companyCountry?: string;
|
|
70
71
|
totalAssetsValue?: number;
|
|
71
72
|
totalAssetsCurrency?: string;
|
|
72
73
|
annualTurnoverValue?: number;
|
|
@@ -121,7 +122,6 @@ export declare enum HighExposurePagesEnums {
|
|
|
121
122
|
PARENT_COMPANY_PAGE = "parentCompany",
|
|
122
123
|
ULTIMATE_PARENT_COMPANY_PAGE = "ultimateParentCompany"
|
|
123
124
|
}
|
|
124
|
-
export type HighExposureSchemaKeys = keyof HighExposureCompanySchema | keyof HighExposureParentCompanySchema | keyof HighExposureUltimateParentCompanySchema;
|
|
125
125
|
export type HighExposureBusinessInformationProps = {
|
|
126
126
|
country: CountryCode;
|
|
127
127
|
data: Partial<HighExposureSchemaCombined>;
|
|
@@ -131,10 +131,8 @@ export type HighExposureBusinessInformationProps = {
|
|
|
131
131
|
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
132
132
|
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
133
133
|
targetPage: HighExposurePagesEnums;
|
|
134
|
-
fieldMapping: FieldMapping;
|
|
135
134
|
sectionHeading?: Translatable;
|
|
136
135
|
};
|
|
137
|
-
export type FieldMapping = Partial<Record<string, HighExposureSchemaKeys>>;
|
|
138
136
|
export type HighExposureCustomLabels = {
|
|
139
137
|
[K in keyof HighExposureSchema]?: Partial<Record<keyof NonNullable<HighExposureSchema[K]>, Translatable>>;
|
|
140
138
|
};
|
|
@@ -156,7 +154,6 @@ export type HighExposureFinancialInformationProps = {
|
|
|
156
154
|
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
157
155
|
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
158
156
|
targetPage: HighExposurePagesEnums;
|
|
159
|
-
fieldMapping: FieldMapping;
|
|
160
157
|
sectionHeading?: Translatable;
|
|
161
158
|
};
|
|
162
159
|
export type HighExposureLegalInformationProps = {
|
|
@@ -167,7 +164,6 @@ export type HighExposureLegalInformationProps = {
|
|
|
167
164
|
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
168
165
|
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
169
166
|
targetPage: HighExposurePagesEnums;
|
|
170
|
-
fieldMapping: FieldMapping;
|
|
171
167
|
sectionHeading?: Translatable;
|
|
172
168
|
};
|
|
173
169
|
export type HighExposureParentSchemasCombined = HighExposureParentCompanySchema & HighExposureUltimateParentCompanySchema;
|
|
@@ -178,7 +174,6 @@ export type HighExposureBasicCompanyInformationProps = {
|
|
|
178
174
|
fieldProblems: Partial<Record<keyof HighExposureParentSchemasCombined, boolean>>;
|
|
179
175
|
handleChangeFor: (key: keyof HighExposureParentSchemasCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
180
176
|
formUtils: FormUtils<HighExposureParentSchemasCombined>;
|
|
181
|
-
fieldMapping: FieldMapping;
|
|
182
177
|
sectionHeading?: Translatable;
|
|
183
178
|
};
|
|
184
179
|
export declare enum HighExposureRadioIds {
|
|
@@ -204,9 +199,15 @@ export type HighExposureRegisteredAddressProps = {
|
|
|
204
199
|
handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
|
|
205
200
|
legalEntity?: LegalEntity;
|
|
206
201
|
targetPage: HighExposurePagesEnums;
|
|
207
|
-
fieldMapping: FieldMapping;
|
|
208
202
|
sectionHeading?: Translatable;
|
|
209
203
|
legalEntityId: string;
|
|
210
204
|
handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
|
|
211
205
|
handleFindAddress: DropinAPIHandlers['handleFindAddress'];
|
|
212
206
|
};
|
|
207
|
+
export declare const companySchemaKeys: (keyof HighExposureCompanySchema)[];
|
|
208
|
+
export declare const parentCompaniesSchemaKeys: (keyof HighExposureParentCompanySchema & HighExposureParentCompanySchema)[];
|
|
209
|
+
export declare enum HighExposureIndex {
|
|
210
|
+
COMPANY = "company",
|
|
211
|
+
PARENT_COMPANY = "parentCompany",
|
|
212
|
+
ULTIMATE_PARENT_COMPANY = "ultimateParentCompany"
|
|
213
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ExistingLegalEntity, LegalEntity } from '../../../core/models/api/legal-entity';
|
|
2
|
+
import type { Organization, OrganizationFinancialReports } from '../../../core/models/api/organization';
|
|
3
|
+
import type { HighExposureCompanySchema, HighExposureParentSchemasCombined, HighExposureSchema } from './types';
|
|
4
|
+
import { HighExposureIndex } from './types';
|
|
5
|
+
export declare const getLegalEntityId: (exposureIndex: HighExposureIndex, rootLegalEntity: ExistingLegalEntity | undefined) => undefined | string;
|
|
6
|
+
export declare const entityHasParentCompany: (data: HighExposureSchema) => boolean;
|
|
7
|
+
export declare const entityHasUltimateParentCompany: (data: HighExposureSchema) => boolean;
|
|
8
|
+
export declare const prepareExposureSubmitData: (exposureIndex: HighExposureIndex, data: HighExposureSchema, rootLegalEntity: ExistingLegalEntity | undefined) => LegalEntity;
|
|
9
|
+
export declare const getHighExposureFinancialReportData: (financialReport?: OrganizationFinancialReports) => Partial<HighExposureCompanySchema | HighExposureParentSchemasCombined>;
|
|
10
|
+
export declare const appendHighExposureData: (legalOrganization?: Organization, highExposureData?: HighExposureCompanySchema | HighExposureParentSchemasCombined) => HighExposureCompanySchema | HighExposureParentSchemasCombined | undefined;
|
|
11
|
+
export declare const handleHighExposureFormSubmission: (highExposureType: HighExposureIndex, details: LegalEntity | null, createFunction: (details: LegalEntity) => Promise<ExistingLegalEntity>, updateFunction: (details: LegalEntity, id: string) => Promise<ExistingLegalEntity>, entityId?: string) => Promise<ExistingLegalEntity | void>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { ValidatorRules } from '../../../utils/validation/types';
|
|
2
2
|
import type { HighExposureCompanySchema, HighExposureParentCompanySchema, HighExposureUltimateParentCompanySchema } from './types';
|
|
3
3
|
export declare const validateLegalEntityIdentifier: (legalEntityIdentifier: string | null | undefined, doesYourCompanyHaveLEI?: string, isDisabled?: boolean) => boolean;
|
|
4
|
+
export declare const validateLegalProceedingsDate: (legalProceedingsDate: string | null | undefined, legalInformationInsolvency?: string) => boolean;
|
|
4
5
|
export declare const highExposureCompanyDetailsValidations: ValidatorRules<HighExposureCompanySchema>;
|
|
5
|
-
export declare const
|
|
6
|
-
export declare const highExposureUltimateParentCompanyDetailsValidations: ValidatorRules<HighExposureUltimateParentCompanySchema>;
|
|
6
|
+
export declare const highExposureParentCompaniesDetailsValidations: ValidatorRules<HighExposureParentCompanySchema | HighExposureUltimateParentCompanySchema>;
|
|
@@ -6,12 +6,11 @@ interface CreateIndividualComponentPropsBase {
|
|
|
6
6
|
onSubmitSuccess?(data: IndividualSchema): void;
|
|
7
7
|
handleBackClick?(): void;
|
|
8
8
|
modalView?: boolean;
|
|
9
|
-
open?: boolean;
|
|
10
9
|
onClose?(): void;
|
|
11
10
|
}
|
|
12
11
|
export type CreateIndividualComponentProps = CreateIndividualComponentPropsBase & RequireAtLeastOne<{
|
|
13
12
|
parentLegalEntityId: string;
|
|
14
13
|
legalEntityId: string;
|
|
15
14
|
}, 'parentLegalEntityId' | 'legalEntityId'>;
|
|
16
|
-
export declare function CreateIndividualComponent({ parentLegalEntityId, legalEntityId, taskType, onSubmitSuccess, handleBackClick, modalView,
|
|
15
|
+
export declare function CreateIndividualComponent({ parentLegalEntityId, legalEntityId, taskType, onSubmitSuccess, handleBackClick, modalView, onClose, }: CreateIndividualComponentProps): import("preact").JSX.Element;
|
|
17
16
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { HighExposureProps } from '../../Dropins/HighExposureDropin/types';
|
|
2
|
-
export declare function UpdateLegalEntityForHighExposure({ parentLegalEntity, capabilities, country, trackingConfig, problems: problemsProp,
|
|
2
|
+
export declare function UpdateLegalEntityForHighExposure({ parentLegalEntity, capabilities, country, trackingConfig, problems: problemsProp, onChange, hideDropinLayout, handleHomeClick, homeButtonLabel, legalEntityId, onSubmit: externalOnSubmit, }: HighExposureProps): import("preact").JSX.Element;
|
|
@@ -35,7 +35,7 @@ export interface PayoutDetailsProps extends BaseOuterFormProps<PayoutDetailsSche
|
|
|
35
35
|
bankVerificationVendors?: CountryBankVerificationVendors;
|
|
36
36
|
instantVerificationEnabled?: boolean;
|
|
37
37
|
refreshLegalEntity?(): Promise<LegalEntity>;
|
|
38
|
-
createTrustedTransferInstrument?: (code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse>;
|
|
38
|
+
createTrustedTransferInstrument?: (code: string, state: string) => Promise<CreateTrustedTransferInstrumentResponse | undefined>;
|
|
39
39
|
handleBankVerificationError?: (errorCode: string, errorMessage: string, state: string, metadata?: Map<string, string>) => Promise<BankVerificationErrorResponse>;
|
|
40
40
|
country: CountryCode;
|
|
41
41
|
}
|
|
@@ -3,12 +3,12 @@ export declare const solePropForms: {
|
|
|
3
3
|
readonly solePropNameAndCountry: {
|
|
4
4
|
readonly formId: "solePropNameAndCountry";
|
|
5
5
|
readonly formName: "basicInformation";
|
|
6
|
-
readonly fields: ("
|
|
6
|
+
readonly fields: ("country" | "legalCompanyName" | keyof import("../../internal/CountryOfGoverningLawField/types").CountryOfGoverningLawFieldSchema)[];
|
|
7
7
|
};
|
|
8
8
|
readonly solePropRegistrationDetails: {
|
|
9
9
|
readonly formId: "solePropRegistrationDetails";
|
|
10
10
|
readonly formName: "registrationDetails";
|
|
11
|
-
readonly fields: ("dateOfIncorporation" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("../../internal/
|
|
11
|
+
readonly fields: ("dateOfIncorporation" | "stockExchangeMIC" | "stockISIN" | "stockTickerSymbol" | keyof import("../../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../../internal/VatNumberField").VatNumberFieldSchema | keyof import("../../internal/TaxInformationField/types").TaxInformationFieldSchema | keyof import("../../internal/TradingNameField/types").TradingNameFieldSchema)[];
|
|
12
12
|
};
|
|
13
13
|
readonly solePropRegistrationAddress: {
|
|
14
14
|
readonly formId: "solePropRegistrationAddress";
|
|
@@ -11,7 +11,7 @@ export declare const getKeyForField: (fieldName: string, country?: CountryCode)
|
|
|
11
11
|
* Returns the address schema of the selected country or the default address schema.
|
|
12
12
|
* @param country - The selected country
|
|
13
13
|
*/
|
|
14
|
-
export declare const getAddressSchemaForCountry: (country: CountryCode) => ("
|
|
14
|
+
export declare const getAddressSchemaForCountry: (country: CountryCode) => ("address" | "city" | "country" | "otherAddressInformation" | "postalCode" | "stateOrProvince")[];
|
|
15
15
|
/**
|
|
16
16
|
* Generates an object to be used as the initial data.
|
|
17
17
|
* @param data - The data to pre-fill the address fields
|
|
@@ -2,5 +2,5 @@ import './_button.component.scss';
|
|
|
2
2
|
import '../Link/_link.component.scss';
|
|
3
3
|
import type { JSX } from 'preact';
|
|
4
4
|
import type { ButtonProps } from './types';
|
|
5
|
-
export declare const Button: ({ showAsLink, secondary, tertiary, className, role, small, block, shaded, label, icon, title, disabled, type, onClick, onKeyDown,
|
|
5
|
+
export declare const Button: ({ showAsLink, secondary, tertiary, className, role, small, block, shaded, label, icon, title, disabled, type, onClick, onKeyDown, loading, testId, underline, }: ButtonProps) => JSX.Element;
|
|
6
6
|
export default Button;
|
|
@@ -18,6 +18,6 @@ export interface ButtonProps {
|
|
|
18
18
|
type?: 'submit' | 'button';
|
|
19
19
|
onClick: (e: JSX.TargetedMouseEvent<HTMLButtonElement>) => void;
|
|
20
20
|
onKeyDown?: (e: JSX.TargetedKeyboardEvent<HTMLButtonElement>) => void;
|
|
21
|
-
|
|
21
|
+
loading?: boolean;
|
|
22
22
|
testId?: string;
|
|
23
23
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import './_card.component.scss';
|
|
2
2
|
import type { JSX } from 'preact';
|
|
3
3
|
import type { CardProps } from './types';
|
|
4
|
-
export declare function Card({ className, children, stateful, active, disabled, warning, warningMessage, title, subTitle, headerButton, onClick, onKeyDown, }: CardProps): JSX.Element;
|
|
4
|
+
export declare function Card({ className, children, stateful, active, disabled, fetching, warning, warningMessage, title, subTitle, headerButton, onClick, onKeyDown, }: CardProps): JSX.Element;
|
|
@@ -1,16 +1,26 @@
|
|
|
1
1
|
import type { OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
2
|
-
import type { Translatable } from '../../../language/types';
|
|
2
|
+
import type { Translatable, TranslationKey } from '../../../language/types';
|
|
3
|
+
import type { TaskStatus } from '../../TaskList/types';
|
|
4
|
+
import type { IconName } from '../Icon/Icon';
|
|
3
5
|
import { type TagVariant } from '../Tag/Tag';
|
|
4
6
|
export interface EmbeddedStatusProps {
|
|
5
7
|
title?: string;
|
|
6
8
|
subtitle?: string;
|
|
7
|
-
status?: OnboardingStatus;
|
|
9
|
+
status?: OnboardingStatus | TaskStatus;
|
|
8
10
|
tagLabel?: Translatable;
|
|
9
11
|
tagVariant?: TagVariant;
|
|
10
12
|
loading?: boolean;
|
|
13
|
+
iconName?: IconName;
|
|
11
14
|
onClick?: () => void;
|
|
15
|
+
light?: boolean;
|
|
16
|
+
className?: string;
|
|
17
|
+
actionButton?: ActionButton;
|
|
18
|
+
}
|
|
19
|
+
export interface ActionButton {
|
|
20
|
+
labelKey: TranslationKey;
|
|
21
|
+
onClick: () => void;
|
|
12
22
|
}
|
|
13
23
|
/**
|
|
14
|
-
* UI-only component used to display
|
|
24
|
+
* UI-only component used to display a tag based on status or an action button
|
|
15
25
|
*/
|
|
16
|
-
export declare const EmbeddedStatus: ({ title, subtitle, status, loading, tagLabel, tagVariant, onClick, }: EmbeddedStatusProps) => import("preact").JSX.Element;
|
|
26
|
+
export declare const EmbeddedStatus: ({ title, subtitle, status, iconName, loading, tagLabel, tagVariant, onClick, light, className, actionButton, }: EmbeddedStatusProps) => import("preact").JSX.Element;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { OnboardingStatus } from '../../../core/models/api/view-verification-status';
|
|
2
2
|
import type { Translatable } from '../../../language/types';
|
|
3
|
+
import { TaskStatus } from '../../TaskList/types';
|
|
3
4
|
import type { TagVariant } from '../Tag/Tag';
|
|
4
5
|
/**
|
|
5
6
|
* Maps a Status to Tag-compatible props
|
|
6
7
|
* Similar to TaskItemStatus (without the css class overrides),
|
|
7
8
|
* and should ideally handle view-verification-status as well
|
|
8
9
|
*/
|
|
9
|
-
export declare const statusToTag: (status: OnboardingStatus) => {
|
|
10
|
+
export declare const statusToTag: (status: OnboardingStatus | TaskStatus) => {
|
|
10
11
|
translationKey?: Translatable;
|
|
11
12
|
variant: TagVariant;
|
|
12
13
|
};
|
|
@@ -5,5 +5,5 @@ interface IconProps {
|
|
|
5
5
|
testId?: string;
|
|
6
6
|
name: IconName;
|
|
7
7
|
}
|
|
8
|
-
export declare const Icon: ({ name, ...props }: IconProps) => import("preact").JSX.Element;
|
|
8
|
+
export declare const Icon: ({ name, className, ...props }: IconProps) => import("preact").JSX.Element;
|
|
9
9
|
export default Icon;
|
|
@@ -1,6 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Icons are fetched from @adyen/ui-assets-icons-16 package
|
|
3
|
+
* @see https://adyen-ui-assets.netlify.app/
|
|
4
|
+
*
|
|
5
|
+
* This is a subset of the available icons in the package, not because
|
|
6
|
+
* of a specific optimization, but vite needs complete paths to icons as
|
|
7
|
+
* shown below for static analysis.
|
|
8
|
+
*
|
|
9
|
+
* How to add a new icon?
|
|
10
|
+
* Search for it in the url/package above, add the entry below changing
|
|
11
|
+
* the object key and the svg filename.
|
|
12
|
+
*/
|
|
1
13
|
export declare const svgs: {
|
|
2
14
|
readonly 'arrow-left': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
3
15
|
readonly 'arrow-right': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
16
|
+
readonly bank: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
4
17
|
readonly bin: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
5
18
|
readonly check: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
6
19
|
readonly checkmark: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
@@ -25,20 +38,17 @@ export declare const svgs: {
|
|
|
25
38
|
readonly location: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
26
39
|
readonly 'more-horiz': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
27
40
|
readonly 'new-document': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
28
|
-
readonly owners: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
29
41
|
readonly payout: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
30
42
|
readonly pci: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
31
43
|
readonly plus: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
44
|
+
readonly 'plus-small': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
32
45
|
readonly remove: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
33
|
-
readonly review: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
34
46
|
readonly save: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
35
47
|
readonly search: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
36
|
-
readonly signatory: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
37
48
|
readonly store: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
38
49
|
readonly trust: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
39
50
|
readonly user: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
40
51
|
readonly upload: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
41
|
-
readonly 'user-business': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
42
52
|
readonly 'users-3': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
43
53
|
readonly warning: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
44
54
|
readonly wrong: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
@@ -60,6 +70,10 @@ export declare const svgs: {
|
|
|
60
70
|
readonly 'payout-verification-manual': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
61
71
|
readonly 'singpass-verification-instant': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
62
72
|
readonly 'singpass-verification-manual': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
73
|
+
readonly owners: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
74
|
+
readonly review: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
75
|
+
readonly signatory: import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
76
|
+
readonly 'user-business': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
63
77
|
readonly 'onfido-logo': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
64
78
|
readonly 'tink-logo': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
65
79
|
readonly 'singpass-logo': import("preact").FunctionComponent<import("preact/compat").JSX.SVGAttributes<SVGSVGElement>>;
|
|
@@ -14,13 +14,15 @@ interface UseBankConfigurationHandlersProps {
|
|
|
14
14
|
legalEntityType: LegalEntityType;
|
|
15
15
|
capabilities?: CapabilityName[];
|
|
16
16
|
setLoadingStatus: (loadingStatus: LoadingStatus) => void;
|
|
17
|
+
useFreshProviderRedirectUrl: boolean;
|
|
18
|
+
setUseFreshProviderRedirectUrl: (UseFreshProviderRedirectUrl: boolean) => void;
|
|
17
19
|
}
|
|
18
20
|
/** **
|
|
19
21
|
* There are some differences in the response provided by bankVerificationVendors
|
|
20
22
|
* when connected to open banking engine in backend and when not. The two flows here are created to
|
|
21
23
|
* reduce the impact of any potential problems by introducing open banking engine.
|
|
22
24
|
*/
|
|
23
|
-
export declare const useBankConfigurationHandlers: ({ isEmbeddedDropin, handleGetBankVerificationVendors, bankAccountCountry, getConfiguration, legalEntityType, capabilities, setLoadingStatus, }: UseBankConfigurationHandlersProps) => {
|
|
25
|
+
export declare const useBankConfigurationHandlers: ({ isEmbeddedDropin, handleGetBankVerificationVendors, bankAccountCountry, getConfiguration, legalEntityType, capabilities, setLoadingStatus, useFreshProviderRedirectUrl, setUseFreshProviderRedirectUrl, }: UseBankConfigurationHandlersProps) => {
|
|
24
26
|
getConfigurationData: () => Promise<GetConfigurationResponse>;
|
|
25
27
|
getBankVerificationVendorsHandler: (country: CountryCode, openBankingPartnerConfigId?: string) => Promise<BankVerificationVendorsResponse>;
|
|
26
28
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './useBusinessData';
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { DropinAPIHandlers } from '../../../components/Dropins/types';
|
|
2
|
+
import type { CompanyDatasetResponse, CompanySearchRequest, CompanySearchResult } from '../../models/api/company-search';
|
|
3
|
+
import type { HookStatus } from '../types';
|
|
4
|
+
export interface UseBusinessDataOptions {
|
|
5
|
+
handleCompanyIndexSearch: DropinAPIHandlers['handleCompanyIndexSearch'];
|
|
6
|
+
handleCompanyDeepSearch: DropinAPIHandlers['handleCompanyDeepSearch'];
|
|
7
|
+
handleGetCompanyDataset: DropinAPIHandlers['handleGetCompanyDataset'];
|
|
8
|
+
handleRefreshCompanyDataset: DropinAPIHandlers['handleRefreshCompanyDataset'];
|
|
9
|
+
handleVerifyTin: DropinAPIHandlers['handleVerifyTin'];
|
|
10
|
+
handleClearCompanyData: DropinAPIHandlers['handleClearCompanyData'];
|
|
11
|
+
}
|
|
12
|
+
export type UseBusinessData = {
|
|
13
|
+
searchForBusiness: (data: CompanySearchRequest) => Promise<CompanySearchResult[] | undefined>;
|
|
14
|
+
fetchBusinessData: (company: CompanySearchResult) => Promise<CompanyDatasetResponse | undefined>;
|
|
15
|
+
verifyBusinessData: (data: CompanyDatasetResponse, tin: string) => Promise<boolean | undefined>;
|
|
16
|
+
clearTrustedBusinessData: () => Promise<void>;
|
|
17
|
+
resetBusinessData: () => void;
|
|
18
|
+
isSearching: HookStatus;
|
|
19
|
+
isFetching: HookStatus;
|
|
20
|
+
isVerifying: HookStatus;
|
|
21
|
+
isClearingTrustedData: HookStatus;
|
|
22
|
+
currentSearchName: string | undefined;
|
|
23
|
+
searchResults: CompanySearchResult[] | undefined;
|
|
24
|
+
verifiedBusiness: CompanyDatasetResponse | undefined;
|
|
25
|
+
invalidTin: boolean;
|
|
26
|
+
};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import type { UseBusinessData, UseBusinessDataOptions } from './types';
|
|
2
|
+
export declare function useBusinessData({ handleCompanyIndexSearch, handleCompanyDeepSearch, handleGetCompanyDataset, handleRefreshCompanyDataset, handleVerifyTin, handleClearCompanyData, }: UseBusinessDataOptions): UseBusinessData;
|
|
@@ -2,7 +2,7 @@ import type { SettlorExemptionReason } from '../../../components/TrustRoleAndEnt
|
|
|
2
2
|
import type { DecisionMakerType } from './decision-maker-type';
|
|
3
3
|
import type { LegalEntityType } from './legal-entity-type';
|
|
4
4
|
import type { TrustMemberType } from './trust-member-type';
|
|
5
|
-
export type LegalEntityAssociationType = DecisionMakerType | TrustMemberType | LegalEntityType.TRUST | LegalEntityType.SOLE_PROPRIETORSHIP | 'legalRepresentative';
|
|
5
|
+
export type LegalEntityAssociationType = DecisionMakerType | TrustMemberType | LegalEntityType.TRUST | LegalEntityType.SOLE_PROPRIETORSHIP | 'legalRepresentative' | 'immediateParentCompany' | 'ultimateParentCompany';
|
|
6
6
|
export type LegalRepresentativeRelationshipType = 'parent' | 'guardian';
|
|
7
7
|
export interface LegalEntityAssociation {
|
|
8
8
|
jobTitle?: string;
|
|
@@ -26,6 +26,12 @@ export interface Organization {
|
|
|
26
26
|
vatNumber?: string;
|
|
27
27
|
vatAbsenceReason?: VatAbsenceReason[];
|
|
28
28
|
type?: CompanyTypesValue | '';
|
|
29
|
+
financialReports?: OrganizationFinancialReports[];
|
|
30
|
+
statusOfLegalProceeding?: string;
|
|
31
|
+
dateOfInitiationOfLegalProceeding?: string;
|
|
32
|
+
economicSector?: string;
|
|
33
|
+
legalForm?: string;
|
|
34
|
+
globalLegalEntityIdentifier?: string;
|
|
29
35
|
}
|
|
30
36
|
export declare enum VatAbsenceReason {
|
|
31
37
|
IndustryExemption = "industryExemption",
|
|
@@ -39,3 +45,10 @@ export type TaxInformation = {
|
|
|
39
45
|
type: TaxInformationType;
|
|
40
46
|
};
|
|
41
47
|
export type TaxInformationType = 'SSN' | 'EIN' | 'ITIN' | 'ABN' | 'UEN' | 'GST' | 'IRD' | 'BRN';
|
|
48
|
+
export type OrganizationFinancialReports = {
|
|
49
|
+
employeeCount?: string;
|
|
50
|
+
annualTurnover?: string;
|
|
51
|
+
netAssets?: string;
|
|
52
|
+
dateOfFinancialData?: string;
|
|
53
|
+
currencyOfFinancialData?: string;
|
|
54
|
+
};
|
|
@@ -648,13 +648,13 @@ export declare const payoutComponentKeyMapping: {
|
|
|
648
648
|
"bankAccount.countryCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
649
649
|
"bankAccount.accountIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
650
650
|
"bankAccount.accountIdentification.iban"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
651
|
-
"bankAccount.accountIdentification.bic"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
652
651
|
"bankAccount.accountIdentification.accountNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
652
|
+
"bankAccount.accountIdentification.bic"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
653
653
|
"bankAccount.accountIdentification.additionalBankIdentification.type"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
654
654
|
"bankAccount.accountIdentification.additionalBankIdentification.code"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
655
655
|
"bankAccount.accountIdentification.bsbCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
656
|
-
"bankAccount.accountIdentification.transitNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
657
656
|
"bankAccount.accountIdentification.institutionNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
657
|
+
"bankAccount.accountIdentification.transitNumber"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
658
658
|
"bankAccount.accountIdentification.accountType"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
659
659
|
"bankAccount.accountIdentification.bankCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
660
660
|
"bankAccount.accountIdentification.clearingCode"?: RecursiveKeyOf<PayoutDetailsSchema>;
|
|
@@ -689,9 +689,23 @@ export declare const trustComponentsKeyMapping: {
|
|
|
689
689
|
};
|
|
690
690
|
export declare const trustApiKeyMapping: {};
|
|
691
691
|
export declare const highExposureComponentsKeyMapping: {
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
692
|
+
numberOfEmployees: string;
|
|
693
|
+
annualTurnoverValue: string;
|
|
694
|
+
totalAssetsValue: string;
|
|
695
|
+
financialReportingDate: string;
|
|
696
|
+
annualTurnoverCurrency: string;
|
|
697
|
+
legalProceedingsDate: string;
|
|
698
|
+
legalInformationInsolvency: string;
|
|
699
|
+
legalEntityIdentifier: string;
|
|
700
|
+
naceCode: string;
|
|
701
|
+
legalForm: string;
|
|
702
|
+
legalName: string;
|
|
703
|
+
address: string;
|
|
704
|
+
otherAddressInformation: string;
|
|
705
|
+
city: string;
|
|
706
|
+
postalCode: string;
|
|
707
|
+
stateOrProvince: string;
|
|
708
|
+
country: string;
|
|
695
709
|
};
|
|
696
710
|
export declare const highExposureApiKeyMapping: {};
|
|
697
711
|
export declare const solePropComponentsKeyMapping: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.26.1",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -82,6 +82,7 @@
|
|
|
82
82
|
"@adyen/adyen-document-viewer": "^1.1.0",
|
|
83
83
|
"@adyen/bento-design-tokens": "^1.13.1",
|
|
84
84
|
"@adyen/openbankingsdk": "^0.1.2",
|
|
85
|
+
"@adyen/ui-assets-icons-16": "^4.3.0",
|
|
85
86
|
"classnames": "^2.3.2",
|
|
86
87
|
"isomorphic-dompurify": "^0.13.0",
|
|
87
88
|
"lodash-es": "^4.17.21",
|
|
@@ -96,8 +97,8 @@
|
|
|
96
97
|
"@playwright/test": "1.41.0",
|
|
97
98
|
"@preact/preset-vite": "^2.8.1",
|
|
98
99
|
"@storybook/addon-actions": "^8.0.4",
|
|
99
|
-
"@storybook/addon-interactions": "^8.0.4",
|
|
100
100
|
"@storybook/addon-essentials": "^8.0.4",
|
|
101
|
+
"@storybook/addon-interactions": "^8.0.4",
|
|
101
102
|
"@storybook/core-server": "^8.0.4",
|
|
102
103
|
"@storybook/preact": "^8.0.4",
|
|
103
104
|
"@storybook/preact-vite": "^8.0.4",
|
|
@@ -131,7 +132,7 @@
|
|
|
131
132
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
132
133
|
"inquirer": "^9.2.10",
|
|
133
134
|
"jsdom": "^20.0.3",
|
|
134
|
-
"msw": "^
|
|
135
|
+
"msw": "^2.3.5",
|
|
135
136
|
"phone": "^3.1.40",
|
|
136
137
|
"postcss": "^8.4.29",
|
|
137
138
|
"prettier": "^2.8.8",
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgArrowLeft = (props) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", role: "img", ...props, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M7.78 5.28a.75.75 0 0 0-1.06-1.06l-4.5 4.5a.75.75 0 0 0 0 1.06l4.5 4.5a.75.75 0 0 0 1.06-1.06L4.56 10h11.69a.75.75 0 0 0 0-1.5H4.56z" }) });
|
|
3
|
-
export {
|
|
4
|
-
SvgArrowLeft as default
|
|
5
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgArrowRight = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 15 15", role: "img", ...props, children: [
|
|
3
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("path", { id: "arrow-right_svg__a", fill: "currentColor", d: "M1 8.5a1 1 0 1 1 0-2h10.83l-1.59-1.85a1 1 0 1 1 1.52-1.3l3 3.5a1 1 0 0 1 0 1.3l-3 3.5a1 1 0 0 1-1.52-1.3l1.59-1.85z" }) }),
|
|
4
|
-
/* @__PURE__ */ jsx("use", { xlinkHref: "#arrow-right_svg__a", fillRule: "evenodd" })
|
|
5
|
-
] });
|
|
6
|
-
export {
|
|
7
|
-
SvgArrowRight as default
|
|
8
|
-
};
|
package/dist/es/bin-Bj6qtSTy.js
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgBin = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", role: "img", ...props, children: [
|
|
3
|
-
/* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M7.5 6.75c.41 0 .75.34.75.75v6a.75.75 0 0 1-1.5 0v-6c0-.41.34-.75.75-.75m3.75.75a.75.75 0 0 0-1.5 0v6a.75.75 0 0 0 1.5 0z" }),
|
|
4
|
-
/* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M4.99 1.7C5.24.7 6.14 0 7.17 0h3.66c1.03 0 1.93.7 2.18 1.7l.33 1.3h2.41a.75.75 0 0 1 0 1.5h-.79l-.63 11.37A2.25 2.25 0 0 1 12.08 18H5.92c-1.2 0-2.18-.93-2.25-2.13L3.04 4.5h-.79a.75.75 0 0 1 0-1.5h2.41zm.24 2.8h8.23l-.63 11.3a.75.75 0 0 1-.75.7H5.92a.75.75 0 0 1-.75-.7L4.54 4.5zM11.8 3H6.2l.23-.93a.75.75 0 0 1 .73-.57h3.66c.34 0 .64.23.73.57z", clipRule: "evenodd" })
|
|
5
|
-
] });
|
|
6
|
-
export {
|
|
7
|
-
SvgBin as default
|
|
8
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgCheck = (props) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 8 8", role: "img", ...props, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M2.98 7.02a.7.7 0 0 1-.56-.28L.62 4.37a.7.7 0 1 1 1.12-.85l1.18 1.56L5.9.31a.7.7 0 0 1 1.19.74L3.57 6.69a.7.7 0 0 1-.56.33z" }) });
|
|
3
|
-
export {
|
|
4
|
-
SvgCheck as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgCheckmark = (props) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 24 24", role: "img", ...props, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M23 12a11 11 0 1 1-22 0 11 11 0 0 1 22 0m-5.3-3.7a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4 0l-3-3a1 1 0 1 1 1.4-1.4l2.3 2.29 5.3-5.3a1 1 0 0 1 1.4 0", clipRule: "evenodd" }) });
|
|
3
|
-
export {
|
|
4
|
-
SvgCheckmark as default
|
|
5
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgCheckmarkSmall = (props) => /* @__PURE__ */ jsx("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 19", role: "img", ...props, children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M14.03 7.03a.75.75 0 0 0-1.06-1.06L7.5 11.44 5.03 8.97a.75.75 0 0 0-1.06 1.06l3 3c.3.3.77.3 1.06 0z" }) });
|
|
3
|
-
export {
|
|
4
|
-
SvgCheckmarkSmall as default
|
|
5
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "preact/compat/jsx-runtime";
|
|
2
|
-
const SvgChevronDown = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 15 15", role: "img", ...props, children: [
|
|
3
|
-
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("path", { id: "chevron-down_svg__a", fill: "currentColor", d: "M2 5a1 1 0 0 1 1.74-.67L7.5 8.51l3.76-4.18a1 1 0 0 1 1.48 1.34l-4.5 5a1 1 0 0 1-1.48 0l-4.5-5A1 1 0 0 1 2 5" }) }),
|
|
4
|
-
/* @__PURE__ */ jsx("use", { xlinkHref: "#chevron-down_svg__a", fillRule: "evenodd" })
|
|
5
|
-
] });
|
|
6
|
-
export {
|
|
7
|
-
SvgChevronDown as default
|
|
8
|
-
};
|