@adyen/kyc-components 3.58.2 → 3.59.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/{B4MFY5CR-CBLtiOPl.js → B4MFY5CR-DT1IN3Fl.js} +1 -1
- package/dist/es/DebugModal-C7PUDNlI.js +523 -0
- package/dist/es/{HO4MOOFI-CeXIExuC.js → HO4MOOFI-BYUilyom.js} +2 -2
- package/dist/es/{HUY7CZI3-luXydDA7.js → HUY7CZI3-BCSiY9T5.js} +2 -2
- package/dist/es/{Introduction-BVIDiOeK.js → Introduction-DIW5vd8c.js} +1 -1
- package/dist/es/adyen-kyc-components.es.js +2 -2
- package/dist/es/{css-BUQ-lDKy.js → css-B3bcTE7b.js} +1 -1
- package/dist/es/{index-Bx0rbc0C.js → index-CP8YzGVf.js} +958 -1178
- package/dist/es/{json-DpHF7B2M.js → json-BgrcnsOO.js} +1 -1
- package/dist/es/{plaintext-DgDFLkbp.js → plaintext-Kl2vsbEO.js} +1 -1
- package/dist/es/{yaml-B66s-9sv.js → yaml-C0rXP05J.js} +1 -1
- package/dist/style.css +60 -57
- package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureRegisteredAddress.d.ts +1 -1
- package/dist/types/components/EFP/tasks/HighExposureDropin/types.d.ts +0 -1
- package/dist/types/components/EmbeddedDropins/UpdateLegalEntityForHighExposure/utils.d.ts +1 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +3 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +5 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/IndividualOnfido/ManualIdUpload/ManualIdUpload.d.ts +1 -0
- package/dist/types/components/Shared/devex/DebugListener/DebugListener.d.ts +1 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts +2 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +4 -0
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +6 -0
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/constants.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/core/models/identityOnfido.d.ts +33 -0
- package/dist/types/core/process-field-configurations.d.ts +1 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/Shared/devex/DebugWrapper/DebugWrapper.d.ts +0 -5
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/DebugExperimentsAndSettings.d.ts +0 -0
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/DebugLegalEntityData.d.ts +0 -0
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/DebugMetadata.d.ts +0 -0
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/DebugModal.d.ts +0 -0
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/DebugTaskStatuses.d.ts +0 -0
- /package/dist/types/components/Shared/devex/{DebugWrapper → DebugListener}/debugInfo.d.ts +0 -0
package/dist/style.css
CHANGED
|
@@ -112,7 +112,8 @@
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
.adyen-kyc-loader {
|
|
115
|
-
|
|
115
|
+
opacity: 0;
|
|
116
|
+
animation: adyen-kyc-rotateLoader 1.5s cubic-bezier(0.785, 0.135, 0.15, 0.86) 0.4s infinite;
|
|
116
117
|
border-radius: 50%;
|
|
117
118
|
border: var(--adyen-sdk-border-width-l, 3px) solid var(--adyen-sdk-color-outline-primary, #dbdee2);
|
|
118
119
|
border-top-color: var(--adyen-sdk-color-outline-inverse-primary, #2f3e56);
|
|
@@ -151,6 +152,7 @@
|
|
|
151
152
|
|
|
152
153
|
@keyframes adyen-kyc-rotateLoader {
|
|
153
154
|
0% {
|
|
155
|
+
opacity: 1;
|
|
154
156
|
transform: rotate(0deg);
|
|
155
157
|
}
|
|
156
158
|
100% {
|
|
@@ -509,7 +511,8 @@
|
|
|
509
511
|
height: 100%;
|
|
510
512
|
background-color: var(--adyen-sdk-color-outline-secondary, #c9cdd3);
|
|
511
513
|
border-radius: var(--adyen-sdk-border-radius-m, 8px);
|
|
512
|
-
|
|
514
|
+
opacity: 0;
|
|
515
|
+
animation: 2s ease-in-out 0.4s infinite normal none running adyen-kyc-skeleton;
|
|
513
516
|
}
|
|
514
517
|
|
|
515
518
|
.adyen-kyc-skeleton-circle {
|
|
@@ -5272,6 +5275,61 @@ fieldset {
|
|
|
5272
5275
|
*/
|
|
5273
5276
|
.adyen-kyc-ui-element-container:has(.adyen-kyc-externalComponent) {
|
|
5274
5277
|
padding: 0;
|
|
5278
|
+
}.adyen-kyc-introduction {
|
|
5279
|
+
display: flex;
|
|
5280
|
+
flex-direction: column;
|
|
5281
|
+
font-family: var(--adyen-sdk-text-body-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5282
|
+
gap: var(--adyen-sdk-spacer-020, 4px);
|
|
5283
|
+
max-width: 660px;
|
|
5284
|
+
margin: var(--adyen-sdk-spacer-000, 0px) auto;
|
|
5285
|
+
padding: var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-080, 20px);
|
|
5286
|
+
}
|
|
5287
|
+
.adyen-kyc-introduction__skip {
|
|
5288
|
+
text-align: right;
|
|
5289
|
+
}
|
|
5290
|
+
.adyen-kyc-introduction__number {
|
|
5291
|
+
color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
|
|
5292
|
+
font-size: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5293
|
+
font-weight: var(--adyen-sdk-text-title-font-weight, 600);
|
|
5294
|
+
font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5295
|
+
height: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5296
|
+
line-height: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5297
|
+
margin-bottom: var(--adyen-sdk-spacer-080, 20px);
|
|
5298
|
+
position: relative;
|
|
5299
|
+
top: var(--adyen-sdk-spacer-080, 20px);
|
|
5300
|
+
}
|
|
5301
|
+
.adyen-kyc-introduction__title {
|
|
5302
|
+
font-size: var(--adyen-sdk-text-title-font-size, 16px);
|
|
5303
|
+
font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5304
|
+
font-weight: var(--adyen-sdk-text-title-font-weight, 600);
|
|
5305
|
+
line-height: var(--adyen-sdk-text-title-line-height, 26px);
|
|
5306
|
+
}
|
|
5307
|
+
.adyen-kyc-introduction__description {
|
|
5308
|
+
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
5309
|
+
font-family: var(--adyen-sdk-text-body-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5310
|
+
font-weight: var(--adyen-sdk-text-body-font-weight, 400);
|
|
5311
|
+
line-height: var(--adyen-sdk-text-body-line-height, 20px);
|
|
5312
|
+
}
|
|
5313
|
+
.adyen-kyc-introduction__description p {
|
|
5314
|
+
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
5315
|
+
}
|
|
5316
|
+
.adyen-kyc-introduction__description p:not(:last-child) {
|
|
5317
|
+
margin-bottom: var(--adyen-sdk-spacer-080, 20px);
|
|
5318
|
+
}
|
|
5319
|
+
.adyen-kyc-introduction__description p:has(+ ul) {
|
|
5320
|
+
font-weight: var(--adyen-sdk-text-body-font-weight, 400);
|
|
5321
|
+
}
|
|
5322
|
+
.adyen-kyc-introduction__description p + ul {
|
|
5323
|
+
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
5324
|
+
margin-top: calc(var(--adyen-sdk-spacer-080, 20px) * -1);
|
|
5325
|
+
}
|
|
5326
|
+
.adyen-kyc-introduction__nav {
|
|
5327
|
+
display: flex;
|
|
5328
|
+
gap: var(--adyen-sdk-spacer-080, 20px);
|
|
5329
|
+
margin-top: var(--adyen-sdk-spacer-110, 40px);
|
|
5330
|
+
}
|
|
5331
|
+
.adyen-kyc-introduction__nav button {
|
|
5332
|
+
flex-grow: 1;
|
|
5275
5333
|
}/* #region Borders */
|
|
5276
5334
|
/* #endregion */
|
|
5277
5335
|
/* for container queries */
|
|
@@ -5356,59 +5414,4 @@ fieldset {
|
|
|
5356
5414
|
}
|
|
5357
5415
|
.adyen-kyc-table tbody tr:nth-child(even) {
|
|
5358
5416
|
background-color: var(--adyen-sdk-color-background-primary, #ffffff);
|
|
5359
|
-
}.adyen-kyc-introduction {
|
|
5360
|
-
display: flex;
|
|
5361
|
-
flex-direction: column;
|
|
5362
|
-
font-family: var(--adyen-sdk-text-body-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5363
|
-
gap: var(--adyen-sdk-spacer-020, 4px);
|
|
5364
|
-
max-width: 660px;
|
|
5365
|
-
margin: var(--adyen-sdk-spacer-000, 0px) auto;
|
|
5366
|
-
padding: var(--adyen-sdk-spacer-000, 0px) var(--adyen-sdk-spacer-080, 20px);
|
|
5367
|
-
}
|
|
5368
|
-
.adyen-kyc-introduction__skip {
|
|
5369
|
-
text-align: right;
|
|
5370
|
-
}
|
|
5371
|
-
.adyen-kyc-introduction__number {
|
|
5372
|
-
color: var(--adyen-sdk-color-label-tertiary, #8d95a3);
|
|
5373
|
-
font-size: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5374
|
-
font-weight: var(--adyen-sdk-text-title-font-weight, 600);
|
|
5375
|
-
font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5376
|
-
height: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5377
|
-
line-height: calc(var(--adyen-sdk-text-title-font-size, 16px) * 10);
|
|
5378
|
-
margin-bottom: var(--adyen-sdk-spacer-080, 20px);
|
|
5379
|
-
position: relative;
|
|
5380
|
-
top: var(--adyen-sdk-spacer-080, 20px);
|
|
5381
|
-
}
|
|
5382
|
-
.adyen-kyc-introduction__title {
|
|
5383
|
-
font-size: var(--adyen-sdk-text-title-font-size, 16px);
|
|
5384
|
-
font-family: var(--adyen-sdk-text-title-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5385
|
-
font-weight: var(--adyen-sdk-text-title-font-weight, 600);
|
|
5386
|
-
line-height: var(--adyen-sdk-text-title-line-height, 26px);
|
|
5387
|
-
}
|
|
5388
|
-
.adyen-kyc-introduction__description {
|
|
5389
|
-
font-size: var(--adyen-sdk-text-body-font-size, 14px);
|
|
5390
|
-
font-family: var(--adyen-sdk-text-body-font-family, 'Adyen Variable', Roboto, Oxygen, 'Open Sans', 'Helvetica Neue', Arial, sans-serif);
|
|
5391
|
-
font-weight: var(--adyen-sdk-text-body-font-weight, 400);
|
|
5392
|
-
line-height: var(--adyen-sdk-text-body-line-height, 20px);
|
|
5393
|
-
}
|
|
5394
|
-
.adyen-kyc-introduction__description p {
|
|
5395
|
-
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
5396
|
-
}
|
|
5397
|
-
.adyen-kyc-introduction__description p:not(:last-child) {
|
|
5398
|
-
margin-bottom: var(--adyen-sdk-spacer-080, 20px);
|
|
5399
|
-
}
|
|
5400
|
-
.adyen-kyc-introduction__description p:has(+ ul) {
|
|
5401
|
-
font-weight: var(--adyen-sdk-text-body-font-weight, 400);
|
|
5402
|
-
}
|
|
5403
|
-
.adyen-kyc-introduction__description p + ul {
|
|
5404
|
-
margin: var(--adyen-sdk-spacer-000, 0px);
|
|
5405
|
-
margin-top: calc(var(--adyen-sdk-spacer-080, 20px) * -1);
|
|
5406
|
-
}
|
|
5407
|
-
.adyen-kyc-introduction__nav {
|
|
5408
|
-
display: flex;
|
|
5409
|
-
gap: var(--adyen-sdk-spacer-080, 20px);
|
|
5410
|
-
margin-top: var(--adyen-sdk-spacer-110, 40px);
|
|
5411
|
-
}
|
|
5412
|
-
.adyen-kyc-introduction__nav button {
|
|
5413
|
-
flex-grow: 1;
|
|
5414
5417
|
}
|
package/dist/types/components/EFP/tasks/HighExposureDropin/HighExposureRegisteredAddress.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './styles.scss';
|
|
2
2
|
import { type HighExposureRegisteredAddressProps } from './types';
|
|
3
|
-
export declare function HighExposureRegisteredAddress({ formUtils, valid, errors, fieldProblems, handleChangeFor, legalEntity, sectionHeading,
|
|
3
|
+
export declare function HighExposureRegisteredAddress({ formUtils, valid, errors, fieldProblems, handleChangeFor, legalEntity, sectionHeading, handleAddressSearch, handleFindAddress, formId, setValid, shouldValidate, defaultData, }: HighExposureRegisteredAddressProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -185,7 +185,6 @@ export declare const highExposureParentRadioItems: Array<{
|
|
|
185
185
|
name: TranslationKey;
|
|
186
186
|
}>;
|
|
187
187
|
export type HighExposureRegisteredAddressProps = {
|
|
188
|
-
country?: CountryCode;
|
|
189
188
|
defaultData: Partial<HighExposureParentSchemasCombined>;
|
|
190
189
|
valid: Partial<Record<keyof HighExposureSchemaCombined, boolean>>;
|
|
191
190
|
formUtils: FormUtils<HighExposureSchemaCombined>;
|
|
@@ -3,6 +3,7 @@ import type { DatasetUtil } from '#utils/datasetUtil';
|
|
|
3
3
|
import type { HighExposureCustomLabels, HighExposureSchema, HighExposureSummaryType } from '../../EFP/tasks/HighExposureDropin/types';
|
|
4
4
|
export declare const customLabels: HighExposureCustomLabels;
|
|
5
5
|
export declare const getTranslatedLegalInsolvency: (i18n: Language, insolvencyData?: string) => string;
|
|
6
|
+
export declare const getValidUserLocale: (locale: string) => string;
|
|
6
7
|
export declare const getFormattedAmount: (value?: string, currency?: string) => string;
|
|
7
8
|
export declare const formatDataForSummary: (data: HighExposureSchema, i18n: Language, datasetUtils: DatasetUtil) => HighExposureSummaryType;
|
|
8
9
|
export declare const canSubmit: (data: HighExposureSchema) => boolean;
|
|
@@ -2,11 +2,12 @@ import type { ExperimentName } from '#context/ExperimentContext/types';
|
|
|
2
2
|
import type { BooleanSettingName } from '#context/SettingsContext/types';
|
|
3
3
|
import type { CountryCode } from '#core/models/country-code';
|
|
4
4
|
import type { FormVerificationErrors } from '#core/models/errors/form-verification-errors';
|
|
5
|
+
import type { Language } from '#language/Language';
|
|
5
6
|
import type { IndividualIdNumberType } from '#shared/fields/IdFieldTypeSelector/countryIdNumberTypes';
|
|
6
7
|
import { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
7
8
|
import type { ValidatorRules } from '#utils/validation/types';
|
|
8
9
|
import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails.types';
|
|
9
|
-
export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, }: {
|
|
10
|
+
export declare const additionalPersonalDetailsValidators: ({ country, isExperimentEnabled, isSettingEnabled, taskType, idNumberType, idNumberExempt, idNumber, existingIdNumber, formVerificationErrors, i18n, }: {
|
|
10
11
|
country: CountryCode;
|
|
11
12
|
isExperimentEnabled?: (experiment: ExperimentName) => boolean;
|
|
12
13
|
isSettingEnabled?: (setting: BooleanSettingName) => boolean;
|
|
@@ -16,4 +17,5 @@ export declare const additionalPersonalDetailsValidators: ({ country, isExperime
|
|
|
16
17
|
idNumber: string | undefined;
|
|
17
18
|
existingIdNumber: string | undefined;
|
|
18
19
|
formVerificationErrors: FormVerificationErrors | undefined;
|
|
20
|
+
i18n: Language;
|
|
19
21
|
}) => ValidatorRules<AdditionalPersonalDetailsSchema>;
|
|
@@ -17,5 +17,10 @@ export declare const individualOnfidoForms: {
|
|
|
17
17
|
readonly formName: "additionalPersonalDetails";
|
|
18
18
|
readonly fields: (keyof AdditionalPersonalDetailsSchema)[];
|
|
19
19
|
};
|
|
20
|
+
readonly manualIdUpload: {
|
|
21
|
+
readonly formId: "manualIdUpload";
|
|
22
|
+
readonly formName: "idDocument";
|
|
23
|
+
readonly fields: (keyof import("../Individual/IdDocumentUpload/types").IdDocumentUploadSchema)[];
|
|
24
|
+
};
|
|
20
25
|
};
|
|
21
26
|
export declare function IndividualOnfido(props: Readonly<IndividualOnfidoProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -12,6 +12,7 @@ import type { TaskTypes } from '#stores/globalStore/taskTypes';
|
|
|
12
12
|
import type { DropinAPIHandlers, DropinProps } from '../../../EmbeddedDropins/OnboardingDropinComponent/DropinComposer/types';
|
|
13
13
|
import type { TrustMember } from '../../../Trust/tasks/TrustMembers/types';
|
|
14
14
|
import type { NomineeDecisionMakerRoleSchema } from '../../fields/DecisionMakerRole/types';
|
|
15
|
+
import type { IdDocumentUploadSchema } from '../Individual/IdDocumentUpload/types';
|
|
15
16
|
import type { AdditionalPersonalDetailsSchema } from './AdditionalPersonalDetails/AdditionalPersonalDetails.types';
|
|
16
17
|
import type { BasicDetailsSchema } from './BasicDetails/BasicDetails.types';
|
|
17
18
|
import type { IdVerificationMethodSchema } from './IdVerificationMethod/IdVerificationMethod.types';
|
|
@@ -19,6 +20,7 @@ export interface IndividualOnfidoSchema {
|
|
|
19
20
|
basicDetails?: BasicDetailsSchema;
|
|
20
21
|
idVerificationMethod?: IdVerificationMethodSchema;
|
|
21
22
|
additionalPersonalDetails?: AdditionalPersonalDetailsSchema;
|
|
23
|
+
manualIdUpload?: IdDocumentUploadSchema;
|
|
22
24
|
proofOfResidency?: DocumentUploadSchema;
|
|
23
25
|
proofOfNationalId?: DocumentUploadSchema;
|
|
24
26
|
proofOfRelationship?: DocumentUploadSchema;
|
package/dist/types/components/Individual/forms/IndividualOnfido/ManualIdUpload/ManualIdUpload.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const ManualIdUpload: () => import("preact/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DebugListener: () => import("preact/jsx-runtime").JSX.Element;
|
package/dist/types/components/Shared/fields/IdFieldTypeSelector/TaxIdNumberTypeSelector.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ interface PropsWithTaxIdExemption {
|
|
|
16
16
|
type TaxIdNumberTypeSelectorProps = {
|
|
17
17
|
country: CountryCode;
|
|
18
18
|
companyType?: CompanyTypesValue | LegalEntityType.TRUST;
|
|
19
|
+
isUsSoleProp?: boolean;
|
|
19
20
|
} & (PropsWithNoExemption | PropsWithTaxIdExemption);
|
|
20
|
-
export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element;
|
|
21
|
+
export declare function TaxIdNumberTypeSelector({ country, companyType, selected, setSelected, exemptedOption, isUsSoleProp, }: TaxIdNumberTypeSelectorProps): import("preact/jsx-runtime").JSX.Element;
|
|
21
22
|
export {};
|
|
@@ -116,6 +116,10 @@ export declare const taxIdNumberOptions: {
|
|
|
116
116
|
readonly id: "CNPJ";
|
|
117
117
|
readonly name: "CNPJ";
|
|
118
118
|
}];
|
|
119
|
+
readonly CA: readonly [{
|
|
120
|
+
readonly id: "BUSINESS_NUMMER";
|
|
121
|
+
readonly name: "businessNumber";
|
|
122
|
+
}];
|
|
119
123
|
readonly DE: readonly [{
|
|
120
124
|
readonly id: "STEUERNUMMER";
|
|
121
125
|
readonly name: "taxInformationNumber";
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import type { JSX } from 'preact';
|
|
2
2
|
import type { TaxInformationFieldProps, TaxInformationFieldSchema } from './types';
|
|
3
3
|
export declare const TAX_INFORMATION_FIELD: Array<keyof TaxInformationFieldSchema>;
|
|
4
|
+
/**
|
|
5
|
+
* Renders a dynamic form field for tax identification information, adapting its display
|
|
6
|
+
* and behavior based on country and company type. It supports various tax ID input
|
|
7
|
+
* scenarios, including two specialized handling for US Sole Proprietorships (where SSN option acts as exemption selection)
|
|
8
|
+
* and Singapore Companies (where registration number (UEN) can be used for tax ID).
|
|
9
|
+
*/
|
|
4
10
|
export declare function TaxInformationField({ data, valid, errors, labels, mask, guidanceText, placeholders, readonly, optional, shouldValidate, handleChangeFor, country, canExempt, registrationNumber, companyType, taxIdNumberType, setTaxIdNumberType, defaultData, }: TaxInformationFieldProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import './Address.scss';
|
|
2
2
|
import type { AddressProps } from './types';
|
|
3
|
-
export declare function Address({ data: dataProp, labels, placeholders, helperText, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields, readOnlyFields, obscuredFields, trustedFields, shouldValidate, handleAddressSearch, handleFindAddress, onChange, legalEntityId, verifiedAddress, condensed, handleFieldChange, errors: errorProp, valid: validProp, addressType, }: AddressProps): import("preact/jsx-runtime").JSX.Element;
|
|
3
|
+
export declare function Address({ data: dataProp, labels, placeholders, helperText, readOnly, hideCountry, fieldValidationErrors: propFieldValidationErrors, allFields, requiredFields, optionalFields, readOnlyFields, obscuredFields, trustedFields, shouldValidate, handleAddressSearch, handleFindAddress, onChange, legalEntityId, verifiedAddress, condensed, handleFieldChange, errors: errorProp, valid: validProp, addressType, }: Readonly<AddressProps>): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CountryCode } from '#core/models/country-code';
|
|
2
2
|
import type { AddressLabels, AddressSchema, AddressSchemas } from './types';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const addressFields: Array<keyof AddressSchema>;
|
|
4
4
|
export declare const COUNTRIES_WITH_STATES_DATASET: CountryCode[];
|
|
5
5
|
export declare const COUNTRIES_WITH_HOUSE_NUMBER_FIRST: CountryCode[];
|
|
6
6
|
export declare const ADDRESS_SCHEMAS: AddressSchemas;
|