@adyen/kyc-components 3.25.1 → 3.26.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.
Files changed (92) hide show
  1. package/dist/es/adyen-kyc-components.es.js +3124 -3029
  2. package/dist/es/onfido-logo-i_oduqdE.js +5 -0
  3. package/dist/es/plaid-logo-4nYeR9iX.js +12 -0
  4. package/dist/es/tink-logo-CXMbO28D.js +5 -0
  5. package/dist/es/trustly-logo-YJslAOYF.js +11 -0
  6. package/dist/style.css +75 -47
  7. package/dist/types/components/BankVerification/types.d.ts +4 -3
  8. package/dist/types/components/BankVerification/verification/widget/component/BankVerificationWidget.d.ts +3 -2
  9. package/dist/types/components/BasicInformation/component/BasicInformationComponent.d.ts +1 -1
  10. package/dist/types/components/BasicInformation/types.d.ts +18 -3
  11. package/dist/types/components/BusinessDetails/forms.d.ts +1 -1
  12. package/dist/types/components/BusinessDetails/types.d.ts +14 -16
  13. package/dist/types/components/BusinessSelection/BusinessInformationCard.d.ts +4 -4
  14. package/dist/types/components/BusinessSelection/component/BusinessSelectionComponent.d.ts +1 -1
  15. package/dist/types/components/BusinessSelection/types.d.ts +13 -21
  16. package/dist/types/components/Company/component/CompanyComponent.d.ts +2 -2
  17. package/dist/types/components/CompanyStructure/component/CompanyStructureComponent.d.ts +1 -1
  18. package/dist/types/components/Dropins/BusinessDetailsDropin/types.d.ts +9 -2
  19. package/dist/types/components/Dropins/DropinLayout/DropinLayout.d.ts +1 -1
  20. package/dist/types/components/Dropins/DropinLayout/types.d.ts +1 -0
  21. package/dist/types/components/Dropins/FormWrapper/FormWrapper.d.ts +1 -1
  22. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureCompany.d.ts +1 -2
  23. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureParentCompany.d.ts +1 -3
  24. package/dist/types/components/Dropins/HighExposureDropin/components/AdditionalFieldsForHighExposureUltimateParentCompany.d.ts +1 -2
  25. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureBasicCompanyInformation.d.ts +1 -1
  26. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureBusinessInformation.d.ts +1 -1
  27. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureFinancialInformation.d.ts +1 -1
  28. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureLegalInformation.d.ts +1 -1
  29. package/dist/types/components/Dropins/HighExposureDropin/components/HighExposureRegisteredAddress.d.ts +1 -1
  30. package/dist/types/components/Dropins/HighExposureDropin/types.d.ts +32 -38
  31. package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +1 -2
  32. package/dist/types/components/PayoutDetails/types.d.ts +1 -1
  33. package/dist/types/components/SoleProp/component/SolePropComponent.d.ts +2 -2
  34. package/dist/types/components/internal/Address/utils.d.ts +1 -1
  35. package/dist/types/components/internal/Button/Button.d.ts +1 -1
  36. package/dist/types/components/internal/Button/types.d.ts +1 -1
  37. package/dist/types/components/internal/Card/Card.d.ts +1 -1
  38. package/dist/types/components/internal/Card/types.d.ts +1 -0
  39. package/dist/types/components/internal/EmbeddedStatus/EmbeddedStatus.d.ts +14 -4
  40. package/dist/types/components/internal/EmbeddedStatus/statusToTag.d.ts +2 -1
  41. package/dist/types/components/internal/Icon/Icon.d.ts +1 -1
  42. package/dist/types/components/internal/Svg/Svg.d.ts +1 -1
  43. package/dist/types/components/internal/Svg/svgs.d.ts +18 -4
  44. package/dist/types/core/hooks/useBankConfigurationHandlers.d.ts +3 -1
  45. package/dist/types/core/hooks/useBusinessData/index.d.ts +1 -0
  46. package/dist/types/core/hooks/useBusinessData/types.d.ts +26 -0
  47. package/dist/types/core/hooks/useBusinessData/useBusinessData.d.ts +2 -0
  48. package/dist/types/utils/mapping/componentApiMapping.d.ts +2 -2
  49. package/package.json +4 -3
  50. package/dist/es/arrow-left-BLTu7dpi.js +0 -5
  51. package/dist/es/arrow-right-BntH-Qlw.js +0 -8
  52. package/dist/es/bin-Bj6qtSTy.js +0 -8
  53. package/dist/es/check-ZYTuehgv.js +0 -5
  54. package/dist/es/checkmark-DxCwXAIK.js +0 -5
  55. package/dist/es/checkmark-small-BsdIbd2G.js +0 -5
  56. package/dist/es/chevron-down-BIOZPblQ.js +0 -8
  57. package/dist/es/chevron-left-B_GtBez_.js +0 -11
  58. package/dist/es/chevron-right-DTyHLnb5.js +0 -8
  59. package/dist/es/chevron-up-0etcs99k.js +0 -8
  60. package/dist/es/company-2-B3NuVpZ7.js +0 -8
  61. package/dist/es/company-CYi9zTX1.js +0 -5
  62. package/dist/es/contract-Ca5T1p29.js +0 -5
  63. package/dist/es/controlling-person-BQledQz3.js +0 -5
  64. package/dist/es/cross-_WDtYXwH.js +0 -8
  65. package/dist/es/decision-maker-IOjBp4Cn.js +0 -5
  66. package/dist/es/document-Daivbade.js +0 -5
  67. package/dist/es/download-6WUrs5fL.js +0 -8
  68. package/dist/es/edit-vu4T5TEr.js +0 -5
  69. package/dist/es/field-error-Dc-vt_Ng.js +0 -5
  70. package/dist/es/image-C5KqhIDJ.js +0 -8
  71. package/dist/es/info-circle-DvvWfz1E.js +0 -9
  72. package/dist/es/light-bulb-B9fSxkAk.js +0 -5
  73. package/dist/es/location-6Th9xn5O.js +0 -5
  74. package/dist/es/more-horiz-BW6d91R8.js +0 -5
  75. package/dist/es/new-document-Cpqmj9Kl.js +0 -5
  76. package/dist/es/onfido-logo-DWX1GbUz.js +0 -9
  77. package/dist/es/payout-W95Oslv1.js +0 -5
  78. package/dist/es/pci-5RzbfIJy.js +0 -5
  79. package/dist/es/plaid-logo-CldAG-6v.js +0 -13
  80. package/dist/es/plus-DUFyqbPe.js +0 -8
  81. package/dist/es/remove-CR7nAYBO.js +0 -5
  82. package/dist/es/save-DsoIf4Q0.js +0 -5
  83. package/dist/es/search-3G14C_IW.js +0 -5
  84. package/dist/es/store-CNHDWfwi.js +0 -5
  85. package/dist/es/tink-logo-CPPNzyT1.js +0 -5
  86. package/dist/es/trust-PKlVgWsv.js +0 -5
  87. package/dist/es/trustly-logo-QZ7eqdLL.js +0 -11
  88. package/dist/es/upload-CA264b-V.js +0 -8
  89. package/dist/es/user-Dt1-0v-v.js +0 -11
  90. package/dist/es/users-3-Dshq7JI-.js +0 -8
  91. package/dist/es/warning-vQPFTjLC.js +0 -5
  92. package/dist/es/wrong-BFDOMiyi.js +0 -5
@@ -12,7 +12,6 @@ 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;
@@ -27,21 +26,21 @@ export interface HighExposureCompanySchema {
27
26
  }
28
27
  export type HighExposureParentCompanySchema = {
29
28
  country?: CountryCode;
30
- parentLegalName?: string;
31
- parentNumberOfEmployees?: number;
32
- parentLegalForm?: string;
33
- parentNaceCode?: string;
34
- doesTheParentCompanyEarnMoreThanHalf?: string;
35
- doesYourParentCompanyHaveLEI?: string;
36
- parentLegalEntityIdentifier?: string;
37
- doesNotKnowParentNumberOfEmployees?: boolean;
38
- isParentCompanyAddressTheMainHeadquarters?: string;
39
- parentCompanyAddress?: string;
40
- parentCompanyOtherAddressInformation?: string;
41
- parentCompanyPostalCode?: string;
42
- parentCompanyCity?: string;
43
- parentCompanyStateOrProvince?: string;
44
- parentCompanyCountry?: string;
29
+ legalName?: string;
30
+ numberOfEmployees?: number;
31
+ legalForm?: string;
32
+ naceCode?: string;
33
+ doesYourCompanyHaveLEI?: string;
34
+ legalEntityIdentifier?: string;
35
+ doesNotKnowNumberOfEmployees?: boolean;
36
+ doesNotKnowLegalEntityIdentifier?: boolean;
37
+ isThisAddressTheMainHeadquarters?: string;
38
+ address?: string;
39
+ otherAddressInformation?: string;
40
+ postalCode?: string;
41
+ city?: string;
42
+ stateOrProvince?: string;
43
+ addressCountry?: string;
45
44
  totalAssetsValue?: number;
46
45
  totalAssetsCurrency?: string;
47
46
  annualTurnoverValue?: number;
@@ -52,21 +51,21 @@ export type HighExposureParentCompanySchema = {
52
51
  };
53
52
  export type HighExposureUltimateParentCompanySchema = {
54
53
  country?: CountryCode;
55
- ultimateParentLegalName?: string;
56
- ultimateParentNumberOfEmployees?: number;
57
- ultimateParentLegalForm?: string;
58
- ultimateParentNaceCode?: string;
59
- doesTheUltimateParentCompanyEarnMoreThanHalf?: string;
60
- doesYourUltimateParentCompanyHaveLEI?: string;
61
- ultimateParentLegalEntityIdentifier?: string;
62
- doesNotKnowUltimateParentNumberOfEmployees?: boolean;
63
- isUltimateParentCompanyAddressTheMainHeadquarters?: string;
64
- ultimateParentCompanyAddress?: string;
65
- ultimateParentCompanyOtherAddressInformation?: string;
66
- ultimateParentCompanyPostalCode?: string;
67
- ultimateParentCompanyCity?: string;
68
- ultimateParentCompanyStateOrProvince?: string;
69
- ultimateParentCompanyCountry?: string;
54
+ legalName?: string;
55
+ numberOfEmployees?: number;
56
+ legalForm?: string;
57
+ naceCode?: string;
58
+ doesYourCompanyHaveLEI?: string;
59
+ legalEntityIdentifier?: string;
60
+ doesNotKnowNumberOfEmployees?: boolean;
61
+ doesNotKnowLegalEntityIdentifier?: boolean;
62
+ isThisAddressTheMainHeadquarters?: string;
63
+ address?: string;
64
+ otherAddressInformation?: string;
65
+ postalCode?: string;
66
+ city?: string;
67
+ stateOrProvince?: string;
68
+ addressCountry?: string;
70
69
  totalAssetsValue?: number;
71
70
  totalAssetsCurrency?: string;
72
71
  annualTurnoverValue?: number;
@@ -121,7 +120,6 @@ export declare enum HighExposurePagesEnums {
121
120
  PARENT_COMPANY_PAGE = "parentCompany",
122
121
  ULTIMATE_PARENT_COMPANY_PAGE = "ultimateParentCompany"
123
122
  }
124
- export type HighExposureSchemaKeys = keyof HighExposureCompanySchema | keyof HighExposureParentCompanySchema | keyof HighExposureUltimateParentCompanySchema;
125
123
  export type HighExposureBusinessInformationProps = {
126
124
  country: CountryCode;
127
125
  data: Partial<HighExposureSchemaCombined>;
@@ -131,10 +129,8 @@ export type HighExposureBusinessInformationProps = {
131
129
  handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
132
130
  formUtils: FormUtils<HighExposureSchemaCombined>;
133
131
  targetPage: HighExposurePagesEnums;
134
- fieldMapping: FieldMapping;
135
132
  sectionHeading?: Translatable;
136
133
  };
137
- export type FieldMapping = Partial<Record<string, HighExposureSchemaKeys>>;
138
134
  export type HighExposureCustomLabels = {
139
135
  [K in keyof HighExposureSchema]?: Partial<Record<keyof NonNullable<HighExposureSchema[K]>, Translatable>>;
140
136
  };
@@ -156,7 +152,6 @@ export type HighExposureFinancialInformationProps = {
156
152
  handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
157
153
  formUtils: FormUtils<HighExposureSchemaCombined>;
158
154
  targetPage: HighExposurePagesEnums;
159
- fieldMapping: FieldMapping;
160
155
  sectionHeading?: Translatable;
161
156
  };
162
157
  export type HighExposureLegalInformationProps = {
@@ -167,7 +162,6 @@ export type HighExposureLegalInformationProps = {
167
162
  handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
168
163
  formUtils: FormUtils<HighExposureSchemaCombined>;
169
164
  targetPage: HighExposurePagesEnums;
170
- fieldMapping: FieldMapping;
171
165
  sectionHeading?: Translatable;
172
166
  };
173
167
  export type HighExposureParentSchemasCombined = HighExposureParentCompanySchema & HighExposureUltimateParentCompanySchema;
@@ -178,7 +172,6 @@ export type HighExposureBasicCompanyInformationProps = {
178
172
  fieldProblems: Partial<Record<keyof HighExposureParentSchemasCombined, boolean>>;
179
173
  handleChangeFor: (key: keyof HighExposureParentSchemasCombined, mode?: ValidatorMode) => (e: any) => void;
180
174
  formUtils: FormUtils<HighExposureParentSchemasCombined>;
181
- fieldMapping: FieldMapping;
182
175
  sectionHeading?: Translatable;
183
176
  };
184
177
  export declare enum HighExposureRadioIds {
@@ -204,9 +197,10 @@ export type HighExposureRegisteredAddressProps = {
204
197
  handleChangeFor: (key: keyof HighExposureSchemaCombined, mode?: ValidatorMode) => (e: any) => void;
205
198
  legalEntity?: LegalEntity;
206
199
  targetPage: HighExposurePagesEnums;
207
- fieldMapping: FieldMapping;
208
200
  sectionHeading?: Translatable;
209
201
  legalEntityId: string;
210
202
  handleAddressSearch: DropinAPIHandlers['handleAddressSearch'];
211
203
  handleFindAddress: DropinAPIHandlers['handleFindAddress'];
212
204
  };
205
+ export declare const companySchemaKeys: (keyof HighExposureCompanySchema)[];
206
+ export declare const parentCompaniesSchemaKeys: (keyof HighExposureParentCompanySchema & HighExposureParentCompanySchema)[];
@@ -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, open, onClose, }: CreateIndividualComponentProps): import("preact").JSX.Element;
15
+ export declare function CreateIndividualComponent({ parentLegalEntityId, legalEntityId, taskType, onSubmitSuccess, handleBackClick, modalView, onClose, }: CreateIndividualComponentProps): import("preact").JSX.Element;
17
16
  export {};
@@ -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: ("legalCompanyName" | "country" | keyof import("../../internal/CountryOfGoverningLawField/types").CountryOfGoverningLawFieldSchema)[];
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/VatNumberField").VatNumberFieldSchema | keyof import("../../internal/BusinessRegistrationNumberField/types").BusinessRegistrationNumberFieldSchema | keyof import("../../internal/TaxInformationField/types").TaxInformationFieldSchema | keyof import("../../internal/TradingNameField/types").TradingNameFieldSchema)[];
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) => ("otherAddressInformation" | "postalCode" | "city" | "address" | "country" | "stateOrProvince")[];
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, status, testId, underline, }: ButtonProps) => JSX.Element;
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
- status?: 'loading' | 'default';
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;
@@ -5,6 +5,7 @@ export interface CardProps {
5
5
  stateful?: boolean;
6
6
  active?: boolean;
7
7
  disabled?: boolean;
8
+ fetching?: boolean;
8
9
  warning?: boolean;
9
10
  warningMessage?: string;
10
11
  title?: string;
@@ -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 the status of an entity
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;
@@ -2,7 +2,7 @@ import './Svg.scss';
2
2
  import { svgs } from './svgs';
3
3
  export type SvgName = keyof typeof svgs;
4
4
  type SvgType = 'image' | 'icon';
5
- interface SvgProps {
5
+ export interface SvgProps {
6
6
  name: SvgName;
7
7
  type: SvgType;
8
8
  alt?: string;
@@ -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;
@@ -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>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adyen/kyc-components",
3
- "version": "3.25.1",
3
+ "version": "3.26.0",
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": "^0.49.3",
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
- };
@@ -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
- };
@@ -1,11 +0,0 @@
1
- import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
- const SvgChevronLeft = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", style: {
3
- display: "block",
4
- transform: "scale(-1,1)"
5
- }, viewBox: "0 0 15 15", role: "img", ...props, children: [
6
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("path", { id: "chevron-left_svg__a", fill: "currentColor", d: "M5 13a1 1 0 0 1-.67-1.74L8.51 7.5 4.33 3.74a1 1 0 0 1 1.34-1.48l5 4.5a1 1 0 0 1 0 1.48l-5 4.5A1 1 0 0 1 5 13" }) }),
7
- /* @__PURE__ */ jsx("use", { xlinkHref: "#chevron-left_svg__a", fillRule: "evenodd" })
8
- ] });
9
- export {
10
- SvgChevronLeft as default
11
- };
@@ -1,8 +0,0 @@
1
- import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
- const SvgChevronRight = (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-right_svg__a", fill: "currentColor", d: "M5 13a1 1 0 0 1-.67-1.74L8.51 7.5 4.33 3.74a1 1 0 0 1 1.34-1.48l5 4.5a1 1 0 0 1 0 1.48l-5 4.5A1 1 0 0 1 5 13" }) }),
4
- /* @__PURE__ */ jsx("use", { xlinkHref: "#chevron-right_svg__a", fillRule: "evenodd" })
5
- ] });
6
- export {
7
- SvgChevronRight as default
8
- };
@@ -1,8 +0,0 @@
1
- import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
- const SvgChevronUp = (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-up_svg__a", d: "M13 10a1 1 0 0 1-1.74.67L7.5 6.5l-3.76 4.17a1 1 0 0 1-1.48-1.34l4.5-5a1 1 0 0 1 1.48 0l4.5 5A1 1 0 0 1 13 10" }) }),
4
- /* @__PURE__ */ jsx("use", { xlinkHref: "#chevron-up_svg__a", fillRule: "evenodd" })
5
- ] });
6
- export {
7
- SvgChevronUp as default
8
- };
@@ -1,8 +0,0 @@
1
- import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
- const SvgCompany2 = (props) => /* @__PURE__ */ jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 41 40", role: "img", ...props, children: [
3
- /* @__PURE__ */ jsx("g", { clipPath: "url(#company-2_svg__a)", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M5.43 0h30v6h-2v32h7v2h-33v-.02h-7v-2h7V6h-2zm26 6h-22v4h22zm-22 6v4h22v-4zm0 6v4h22v-4zm0 10h22v-4h-22zm0 2v8h4v-8zm6 0v8h4v-8zm6 0v8h4v-8zm6 0v8h4v-8zm-20-26h26V2h-26z" }) }),
4
- /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "company-2_svg__a", children: /* @__PURE__ */ jsx("path", { fill: "currentColor", d: "M.43 0h40v40h-40z" }) }) })
5
- ] });
6
- export {
7
- SvgCompany2 as default
8
- };
@@ -1,5 +0,0 @@
1
- import { jsx } from "preact/compat/jsx-runtime";
2
- const SvgCompany = (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", fillRule: "evenodd", d: "M5.25 1.5c0-.41.34-.75.75-.75h6c.41 0 .75.34.75.75v2.25H15c.41 0 .75.34.75.75v11.25h.75a.75.75 0 0 1 0 1.5h-15a.75.75 0 0 1 0-1.5h.75V4.5c0-.41.34-.75.75-.75h2.25zm9 14.25V5.25H3.75v10.5h4.5V12a.75.75 0 0 1 1.5 0v3.75zm-3-13.5v1.5h-4.5v-1.5zM9 6.75c.41 0 .75.34.75.75V9a.75.75 0 0 1-1.5 0V7.5c0-.41.34-.75.75-.75m3 0c.41 0 .75.34.75.75V9a.75.75 0 0 1-1.5 0V7.5c0-.41.34-.75.75-.75m.75 5.25a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0zM6 6.75c.41 0 .75.34.75.75V9a.75.75 0 0 1-1.5 0V7.5c0-.41.34-.75.75-.75M6.75 12a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0z", clipRule: "evenodd" }) });
3
- export {
4
- SvgCompany as default
5
- };
@@ -1,5 +0,0 @@
1
- import { jsx } from "preact/compat/jsx-runtime";
2
- const SvgContract = (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", fillRule: "evenodd", d: "M3.75 15.75c0 .41.34.75.75.75H9V12c0-.41.34-.75.75-.75h4.5v-9a.75.75 0 0 0-.75-.75h-9a.75.75 0 0 0-.75.75zm10.19-3-3.44 3.44v-3.44zM4.5 18c-1.24 0-2.25-1-2.25-2.25V2.25C2.25 1.01 3.25 0 4.5 0h9c1.24 0 2.25 1 2.25 2.25v9.88c0 .6-.24 1.17-.66 1.59l-3.62 3.62c-.42.42-1 .66-1.6.66z", clipRule: "evenodd" }) });
3
- export {
4
- SvgContract as default
5
- };
@@ -1,5 +0,0 @@
1
- import { jsx } from "preact/compat/jsx-runtime";
2
- const SvgControllingPerson = (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: "M15.6 4.8a3.6 3.6 0 1 0-7.2 0 3.6 3.6 0 0 0 7.2 0m1.2 0a4.8 4.8 0 1 1-9.61-.01 4.8 4.8 0 0 1 9.61.01m-5.4 15c0-.33.27-.6.6-.6s.6.27.6.6a.6.6 0 0 1-.6.6.6.6 0 0 1-.6-.6m-3.6 2.4v-4.8c0-.33.27-.6.6-.6h7.2c.33 0 .6.27.6.6v5.4H8.4a.6.6 0 0 1-.6-.6m11.4.6h-1.8v-5.4c0-.99-.81-1.8-1.8-1.8H8.4c-.99 0-1.8.81-1.8 1.8v5.4H4.8a.6.6 0 0 0-.6.6c0 .33.27.6.6.6h14.4a.6.6 0 0 0 .6-.6.6.6 0 0 0-.6-.6m-11.4-12h8.4a6.6 6.6 0 0 1 6.6 6.6v6a.6.6 0 0 1-.6.6.6.6 0 0 1-.6-.6v-6a5.4 5.4 0 0 0-5.4-5.4H7.8a5.4 5.4 0 0 0-5.4 5.4v6a.6.6 0 0 1-.6.6.6.6 0 0 1-.6-.6v-6a6.6 6.6 0 0 1 6.6-6.6", clipRule: "evenodd" }) });
3
- export {
4
- SvgControllingPerson as default
5
- };
@@ -1,8 +0,0 @@
1
- import { jsxs, jsx } from "preact/compat/jsx-runtime";
2
- const SvgCross = (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: "cross_svg__a", fill: "currentColor", d: "m8.9 7.5 3.8-3.8c.4-.4.4-1 0-1.4s-1-.4-1.4 0L7.5 6.1 3.7 2.3c-.4-.4-1-.4-1.4 0s-.4 1 0 1.4l3.8 3.8-3.8 3.8c-.4.4-.4 1 0 1.4.2.2.4.3.7.3s.5-.1.7-.3l3.8-3.8 3.8 3.8c.2.2.5.3.7.3s.5-.1.7-.3c.4-.4.4-1 0-1.4z" }) }),
4
- /* @__PURE__ */ jsx("use", { xlinkHref: "#cross_svg__a" })
5
- ] });
6
- export {
7
- SvgCross as default
8
- };
@@ -1,5 +0,0 @@
1
- import { jsx } from "preact/compat/jsx-runtime";
2
- const SvgDecisionMaker = (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", fillRule: "evenodd", d: "M6.75 5.25a2.25 2.25 0 1 1 4.5 0 2.25 2.25 0 0 1-4.5 0M9 1.5A3.75 3.75 0 1 0 9 9a3.75 3.75 0 0 0 0-7.5m-3.75 9a3.75 3.75 0 0 0-3.75 3.75v1.5a.75.75 0 0 0 1.5 0v-1.5C3 13.01 4 12 5.25 12h7.5c1.24 0 2.25 1 2.25 2.25v1.5a.75.75 0 0 0 1.5 0v-1.5a3.75 3.75 0 0 0-3.75-3.75z", clipRule: "evenodd" }) });
3
- export {
4
- SvgDecisionMaker as default
5
- };
@@ -1,5 +0,0 @@
1
- import { jsx } from "preact/compat/jsx-runtime";
2
- const SvgDocument = (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", fillRule: "evenodd", d: "M3.75 2.25c0-.41.34-.75.75-.75H9V6c0 .41.34.75.75.75h4.5v9c0 .41-.34.75-.75.75h-9a.75.75 0 0 1-.75-.75zm10.19 3L10.5 1.81v3.44zM4.5 0C3.26 0 2.25 1 2.25 2.25v13.5c0 1.24 1 2.25 2.25 2.25h9c1.24 0 2.25-1 2.25-2.25V5.87c0-.6-.24-1.17-.66-1.59L11.47.66c-.42-.42-1-.66-1.6-.66zM6 9.75a.75.75 0 0 0 0 1.5h6a.75.75 0 0 0 0-1.5zm-.75 3.75c0-.41.34-.75.75-.75h6a.75.75 0 0 1 0 1.5H6a.75.75 0 0 1-.75-.75", clipRule: "evenodd" }) });
3
- export {
4
- SvgDocument as default
5
- };