@adyen/kyc-components 3.65.4 → 3.65.7
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/{AccountSetupRejected-BLyveOmE.js → AccountSetupRejected-CZoBHo9e.js} +1 -1
- package/dist/{CXEL7IU7-D82dF_9C.js → CXEL7IU7-dBAlEPe0.js} +2 -2
- package/dist/{CustomerSupport-BFTrAGgZ.js → CustomerSupport-CZ9EkF5F.js} +1 -1
- package/dist/{DebugModal-Bes2RJC0.js → DebugModal-9m7DUx_6.js} +7 -7
- package/dist/{DecisionMakers--Yp2W0Uy.js → DecisionMakers-Doc2pFTM.js} +1 -1
- package/dist/{HASRA6WW-DDR8IGl3.js → HASRA6WW-DCYoL4jX.js} +1 -1
- package/dist/{I3HPI4QX-CtozGfvf.js → I3HPI4QX-vz5V7lkK.js} +2 -2
- package/dist/{Introduction-6qYMckA8.js → Introduction-DxKs3vms.js} +1 -1
- package/dist/{Review-Dxl0fPyZ.js → Review-Cd6GYP01.js} +1 -1
- package/dist/{SingpassSelection-BLWlHlFW.js → SingpassSelection-BA0y4hy5.js} +1 -1
- package/dist/{TaxReportingDropin-B9NbTNkH.js → TaxReportingDropin-Ccb4IUMk.js} +1 -1
- package/dist/adyen-kyc-components.js +1 -1
- package/dist/adyenConfig.js +1 -1
- package/dist/{core-stY6NZuP.js → core-1tncFh11.js} +69 -49
- package/dist/{css-Du0PqsDj.js → css-DKVjaAKd.js} +1 -1
- package/dist/{json-RLB6f6xS.js → json-_vu3wuH_.js} +1 -1
- package/dist/{plaintext-szstCTD3.js → plaintext-DV61HV12.js} +1 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -7
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +2 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +1 -1
- package/dist/types/components/Shared/forms/FinancialInformation/FinancialInformation.d.ts +1 -0
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +2 -1
- package/dist/{yaml-Czet-Fk_.js → yaml-DQ7lrKTk.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-
|
|
11
|
+
import { u as useI18nContext, A as AlertIcon, w as FormHeader, D as DropinLayout } from "./core-1tncFh11.js";
|
|
12
12
|
function AccountSetupRejected() {
|
|
13
13
|
const { i18n } = useI18nContext();
|
|
14
14
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, b as ParentPanel, C as ContentView, Q as QueryDevtoolsContext } from "./HASRA6WW-DCYoL4jX.js";
|
|
11
|
+
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-1tncFh11.js";
|
|
12
12
|
var DevtoolsPanelComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-
|
|
11
|
+
import { x as useLegalEntity, y as Loader, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, $ as useConfigurationApi, J as useUpdateLegalEntity, H as useQueryClient, a0 as resolveFieldMetadata, a1 as contactDetailsValidationRules, a2 as defaultFieldMetadata, a3 as fieldConfig, a4 as getAsyncPhoneValidationRules, a5 as useMultiForm, w as FormHeader, a6 as ContactDetails, _ as ActionBar, g as createLogger } from "./core-1tncFh11.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
13
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
14
14
|
var _a, _b, _c;
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6ee7ca82-8deb-4fa1-9468-1649272ea301", e._sentryDebugIdIdentifier = "sentry-dbid-6ee7ca82-8deb-4fa1-9468-1649272ea301");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames, E as ExperimentNames } from "./core-
|
|
12
|
+
import { B as Button, T as Tag, e as entriesOf, I as InputText, u as useI18nContext, s as splitTaskIdentifier, a as TaskItemStatus, b as useExperimentsContext, c as useSettingsContext, d as useGlobalStore, l as listToRecord, v as valuesOf, f as useTaskStatuses, M as Modal, g as createLogger, h as Icon, S as SettingNames, E as ExperimentNames } from "./core-1tncFh11.js";
|
|
13
13
|
const tabs = "adyen-kyc-tabs";
|
|
14
14
|
const styles$1 = {
|
|
15
15
|
tabs
|
|
@@ -144,10 +144,10 @@ const transformModule = (highlights, codeNode, scope) => {
|
|
|
144
144
|
};
|
|
145
145
|
const supportedModules = ["plaintext", "json", "yaml", "css"];
|
|
146
146
|
const moduleMap = {
|
|
147
|
-
plaintext: () => import("./plaintext-
|
|
148
|
-
json: () => import("./json-
|
|
149
|
-
yaml: () => import("./yaml-
|
|
150
|
-
css: () => import("./css-
|
|
147
|
+
plaintext: () => import("./plaintext-DV61HV12.js"),
|
|
148
|
+
json: () => import("./json-_vu3wuH_.js"),
|
|
149
|
+
yaml: () => import("./yaml-DQ7lrKTk.js"),
|
|
150
|
+
css: () => import("./css-DKVjaAKd.js")
|
|
151
151
|
};
|
|
152
152
|
const getModule = async (name) => {
|
|
153
153
|
if (!supportedModules.includes(name)) {
|
|
@@ -438,7 +438,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
438
438
|
const [tab, setTab] = useState("metadata");
|
|
439
439
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
440
440
|
const metadata = {
|
|
441
|
-
sdkVersion: "3.65.
|
|
441
|
+
sdkVersion: "3.65.7",
|
|
442
442
|
locale: i18n.locale,
|
|
443
443
|
rootLegalEntityId: rootLegalEntity.id
|
|
444
444
|
};
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-
|
|
11
|
+
import { x as useLegalEntity, y as Loader, z as useGetTaskStatus, u as useI18nContext, n as useAnalyticsContext, G as useToastContext, H as useQueryClient, J as useUpdateLegalEntity, K as getOwnDecisionMakers, N as getAvailableDecisionMakerRoleTypes, O as useDataMissingRemediations, i as TaskTypes, P as getAllowedDecisionMakerRoles, D as DropinLayout, w as FormHeader, Q as EntityGuidanceStatus, U as iconStatus, V as ContextGuidance, W as DecisionMakerType, X as Alert, Y as CardGroup, Z as EntityAssociation, B as Button, _ as ActionBar } from "./core-1tncFh11.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const DecisionMakers = (props) => {
|
|
14
14
|
const { data, isLoading } = useLegalEntity();
|
|
@@ -10,7 +10,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
;
|
|
13
|
-
import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-
|
|
13
|
+
import { av as createContext, aw as createSignal, ax as onMount, ay as createEffect, at as createMemo, au as createComponent, az as Portal, aA as Show, aB as template, aC as insert, aD as createRenderEffect, aE as className, aF as clearDelegatedEvents, aG as delegateEvents, aH as useContext, aI as onCleanup, aJ as sortFns, aK as mutationSortFns, aL as on, aM as setAttribute, aN as getSidedProp, aO as use, aP as createUniqueId, aQ as batch, aR as getQueryStatusLabel, aS as getMutationStatusColor, aT as getQueryStatusColor, aU as getQueryStatusColorByLabel, aV as displayValue, aW as For, aX as convertRemToPixels, aY as untrack, aZ as $TRACK, a_ as useTransition, a$ as spread, b0 as mergeProps, b1 as createRoot, b2 as serialize, b3 as Index, b4 as updateNestedDataByPath, b5 as addEventListener, b6 as stringify, b7 as Match, b8 as Switch, b9 as deleteNestedDataByPath, ba as splitProps, bb as Dynamic, bc as createComputed } from "./core-1tncFh11.js";
|
|
14
14
|
var isNonNullable = (i2) => i2 != null;
|
|
15
15
|
var filterNonNullable = (arr) => arr.filter(isNonNullable);
|
|
16
16
|
function chain(callbacks) {
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-
|
|
11
|
-
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-
|
|
10
|
+
import { c as createLocalStorage, T as THEME_PREFERENCE, P as PiPProvider, a as ThemeContext, D as Devtools, Q as QueryDevtoolsContext } from "./HASRA6WW-DCYoL4jX.js";
|
|
11
|
+
import { as as getPreferredColorScheme, at as createMemo, au as createComponent } from "./core-1tncFh11.js";
|
|
12
12
|
var DevtoolsComponent = (props) => {
|
|
13
13
|
const [localStore, setLocalStore] = createLocalStorage({
|
|
14
14
|
prefix: "TanstackQueryDevtools"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-
|
|
12
|
+
import { i as TaskTypes, L as LegalEntityType, j as useCanSeeIntroduction, k as useLegalEntityType, t as toCapitalized, m as getTranslationKeysByPrefix, u as useI18nContext, n as useAnalyticsContext, o as StepProgressIndicator, B as Button } from "./core-1tncFh11.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
14
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
15
15
|
IntroductionScreens2["PROLOGUE"] = "PROLOGUE";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-
|
|
12
|
+
import { a7 as useApiContext, a8 as useMutation, a9 as httpPost, u as useI18nContext, G as useToastContext, aa as LoaderWrapper, w as FormHeader, ab as Checkbox, _ as ActionBar, D as DropinLayout } from "./core-1tncFh11.js";
|
|
13
13
|
const confirmReview = async (legalEntityId, url) => {
|
|
14
14
|
return httpPost({
|
|
15
15
|
loadingContext: url,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-
|
|
12
|
+
import { u as useI18nContext, p as useForm, q as Typography, F as Field, R as RadioGroupCard, B as Button, r as Svg, L as LegalEntityType } from "./core-1tncFh11.js";
|
|
13
13
|
const setupAccountMethods = ["singpass", "manual"];
|
|
14
14
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
15
15
|
const getSingpassSelectionDisabled = (legalEntityType) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-
|
|
11
|
+
import { a7 as useApiContext, ac as useQuery, ad as httpGet, q as Typography, u as useI18nContext, ae as useFormContext, F as Field, af as RadioGroup, ag as getFormProps, h as Icon, ah as isEmpty, r as Svg, ai as sofStyles, B as Button, aj as Card, ak as StructuredList, al as IconButton, H as useQueryClient, n as useAnalyticsContext, x as useLegalEntity, J as useUpdateLegalEntity, a5 as useMultiForm, am as isEmpty$1, an as getRequiredForms, ao as addValidityToForms, g as createLogger, ap as useFormComposer, y as Loader, aq as FormContextProvider, ar as FormWrapper } from "./core-1tncFh11.js";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
13
|
import { signal } from "@preact/signals";
|
|
14
14
|
import cx from "classnames";
|
package/dist/adyenConfig.js
CHANGED
|
@@ -19,7 +19,7 @@ var _focused, _cleanup, _setup, _a, _online, _cleanup2, _setup2, _b, _gcTimeout,
|
|
|
19
19
|
{
|
|
20
20
|
try {
|
|
21
21
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
22
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
22
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f3fe0161-dc06-4bfb-91af-dd22db6b689a", e._sentryDebugIdIdentifier = "sentry-dbid-f3fe0161-dc06-4bfb-91af-dd22db6b689a");
|
|
23
23
|
} catch (e) {
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -17447,7 +17447,8 @@ const companyRegistrationNumberOptions = {
|
|
|
17447
17447
|
CompanyTypesValue.INCORPORATED_PARTNERSHIP,
|
|
17448
17448
|
CompanyTypesValue.NON_PROFIT_OR_CHARITABLE,
|
|
17449
17449
|
CompanyTypesValue.UNINCORPORATED_PARTNERSHIP,
|
|
17450
|
-
CompanyTypesValue.UNLISTED_PUBLIC_COMPANY
|
|
17450
|
+
CompanyTypesValue.UNLISTED_PUBLIC_COMPANY,
|
|
17451
|
+
CompanyTypesValue.PUBLIC_COMPANY
|
|
17451
17452
|
]
|
|
17452
17453
|
}
|
|
17453
17454
|
]
|
|
@@ -18746,12 +18747,12 @@ function Currency({
|
|
|
18746
18747
|
Select,
|
|
18747
18748
|
{
|
|
18748
18749
|
...childProps,
|
|
18749
|
-
onChange: handleChangeFor("currency", "
|
|
18750
|
+
onChange: handleChangeFor("currency", "blur"),
|
|
18750
18751
|
name: "currency",
|
|
18751
18752
|
placeholder: i18n.get("currencyPlaceholder"),
|
|
18752
18753
|
selected: data.currency,
|
|
18753
18754
|
items: countryCurrenciesItems,
|
|
18754
|
-
readonly:
|
|
18755
|
+
readonly: readonly && !!data.currency
|
|
18755
18756
|
}
|
|
18756
18757
|
)
|
|
18757
18758
|
}
|
|
@@ -18989,6 +18990,11 @@ const financialInfoValidationWithEmployeesRules = {
|
|
|
18989
18990
|
}
|
|
18990
18991
|
]
|
|
18991
18992
|
};
|
|
18993
|
+
const financialInformationFieldsForEu = [
|
|
18994
|
+
...FINANCIAL_REPORTING_DATE_FIELD,
|
|
18995
|
+
...CURRENCY_FIELD,
|
|
18996
|
+
"reportedValueOption"
|
|
18997
|
+
];
|
|
18992
18998
|
const financialInformationFields = [
|
|
18993
18999
|
...NUMBER_OF_EMPLOYEES_FIELD,
|
|
18994
19000
|
...FINANCIAL_REPORTING_DATE_FIELD,
|
|
@@ -19031,7 +19037,7 @@ function FinancialInformation(props) {
|
|
|
19031
19037
|
const formUtils = createFormUtils(props, i18n);
|
|
19032
19038
|
return /* @__PURE__ */ jsxs("div", { className: "adyen-kyc-company-financial-information", children: [
|
|
19033
19039
|
/* @__PURE__ */ jsx$1(FormHeader, { heading }),
|
|
19034
|
-
/* @__PURE__ */ jsx$1(
|
|
19040
|
+
country === CountryCodes.UnitedKingdom && /* @__PURE__ */ jsx$1(
|
|
19035
19041
|
NumberOfEmployees,
|
|
19036
19042
|
{
|
|
19037
19043
|
data: formUtils.getFieldData(data, NUMBER_OF_EMPLOYEES_FIELD),
|
|
@@ -25864,6 +25870,9 @@ const getBasicInformationFields = (country) => {
|
|
|
25864
25870
|
}
|
|
25865
25871
|
return fields;
|
|
25866
25872
|
};
|
|
25873
|
+
const getFinancialInformationFields = (country) => {
|
|
25874
|
+
return country === CountryCodes.UnitedKingdom ? financialInformationFields : financialInformationFieldsForEu;
|
|
25875
|
+
};
|
|
25867
25876
|
const staticBusinessDetailsForms = {
|
|
25868
25877
|
companyStructure: {
|
|
25869
25878
|
formId: "companyStructure",
|
|
@@ -25893,13 +25902,6 @@ const staticBusinessDetailsForms = {
|
|
|
25893
25902
|
formDescription: "weNeedAnOfficialDocument",
|
|
25894
25903
|
fields: ["proofOfDirector"]
|
|
25895
25904
|
},
|
|
25896
|
-
companyFinancialInformation: {
|
|
25897
|
-
formId: "companyFinancialInformation",
|
|
25898
|
-
formName: "financialInformation",
|
|
25899
|
-
formHeading: "companyFinancialInformationFormHeading",
|
|
25900
|
-
formDescription: "companyFinancialInformationFormDescription",
|
|
25901
|
-
fields: financialInformationFields
|
|
25902
|
-
},
|
|
25903
25905
|
companyConstitutionalDocument: {
|
|
25904
25906
|
formId: "companyConstitutionalDocument",
|
|
25905
25907
|
formName: "constitutionalDocument",
|
|
@@ -25928,7 +25930,13 @@ const getForms = (country) => ({
|
|
|
25928
25930
|
companyRegistrationDocument: staticBusinessDetailsForms.companyRegistrationDocument,
|
|
25929
25931
|
companyTaxDocument: staticBusinessDetailsForms.companyTaxDocument,
|
|
25930
25932
|
companyProofOfDirectorDocument: staticBusinessDetailsForms.companyProofOfDirectorDocument,
|
|
25931
|
-
companyFinancialInformation:
|
|
25933
|
+
companyFinancialInformation: {
|
|
25934
|
+
formId: "companyFinancialInformation",
|
|
25935
|
+
formName: "financialInformation",
|
|
25936
|
+
formHeading: "companyFinancialInformationFormHeading",
|
|
25937
|
+
formDescription: "companyFinancialInformationFormDescription",
|
|
25938
|
+
fields: getFinancialInformationFields(country)
|
|
25939
|
+
},
|
|
25932
25940
|
companyConstitutionalDocument: staticBusinessDetailsForms.companyConstitutionalDocument
|
|
25933
25941
|
});
|
|
25934
25942
|
const documentFormsIds = [
|
|
@@ -26638,9 +26646,10 @@ const initOnfido = async ({
|
|
|
26638
26646
|
type: "document",
|
|
26639
26647
|
options: {
|
|
26640
26648
|
documentTypes: {
|
|
26641
|
-
|
|
26642
|
-
|
|
26643
|
-
|
|
26649
|
+
passport: true,
|
|
26650
|
+
driving_licence: true,
|
|
26651
|
+
national_identity_card: true,
|
|
26652
|
+
residence_permit: false
|
|
26644
26653
|
}
|
|
26645
26654
|
}
|
|
26646
26655
|
},
|
|
@@ -30226,7 +30235,12 @@ const UNRELATED_DATA_MISSING_ERROR_CODES = [
|
|
|
30226
30235
|
"2_8189",
|
|
30227
30236
|
"2_8190",
|
|
30228
30237
|
"2_8191",
|
|
30229
|
-
"2_8193"
|
|
30238
|
+
"2_8193",
|
|
30239
|
+
"2_8247",
|
|
30240
|
+
"2_8150",
|
|
30241
|
+
"2_8249",
|
|
30242
|
+
"2_8248",
|
|
30243
|
+
"2_8250"
|
|
30230
30244
|
];
|
|
30231
30245
|
const UNRELATED_INVALID_INPUT_ERROR_CODES = ["1_14", "2_901", "2_902"];
|
|
30232
30246
|
const getComponentMappingFromLEFieldPath = (context, entityType) => {
|
|
@@ -38345,13 +38359,15 @@ const formatAmountWithCurrency = (amount, currency) => {
|
|
|
38345
38359
|
}
|
|
38346
38360
|
return `${formattedAmount} ${currency}`;
|
|
38347
38361
|
};
|
|
38348
|
-
const formatFinancialInformationSummary = (data, i18n) => {
|
|
38362
|
+
const formatFinancialInformationSummary = (data, i18n, country) => {
|
|
38349
38363
|
if (!data) return {};
|
|
38350
38364
|
const summary2 = {
|
|
38351
|
-
numberOfEmployees: `${data.numberOfEmployees}`,
|
|
38352
38365
|
currency: data.currency,
|
|
38353
38366
|
financialReportingDate: data.financialReportingDate
|
|
38354
38367
|
};
|
|
38368
|
+
if (country === CountryCodes.UnitedKingdom) {
|
|
38369
|
+
summary2.numberOfEmployees = `${data.numberOfEmployees}`;
|
|
38370
|
+
}
|
|
38355
38371
|
if (data.netAssets) {
|
|
38356
38372
|
summary2.netAssets = summaryItem(
|
|
38357
38373
|
"totalAssets",
|
|
@@ -38416,12 +38432,12 @@ const mapBusinessDetailsDocumentToApiDocument = async (data, entityId) => {
|
|
|
38416
38432
|
]);
|
|
38417
38433
|
return documents.filter(Boolean);
|
|
38418
38434
|
};
|
|
38419
|
-
const mapBusinessDetailsSchemaToLegalEntity = (data, isExperimentEnabled) => {
|
|
38435
|
+
const mapBusinessDetailsSchemaToLegalEntity = (data, accountHolder, isExperimentEnabled) => {
|
|
38420
38436
|
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2, _m2, _n, _o, _p, _q;
|
|
38421
38437
|
const requestObj = {
|
|
38422
38438
|
...formatObject(
|
|
38423
38439
|
data,
|
|
38424
|
-
|
|
38440
|
+
accountHolder === "mySoleProprietorName" ? solePropBusinessDetailsApiKeyMapping : businessDetailsApiKeyMapping
|
|
38425
38441
|
)
|
|
38426
38442
|
};
|
|
38427
38443
|
(_a2 = requestObj.organization) == null ? true : delete _a2.legalFormDescription;
|
|
@@ -38649,12 +38665,12 @@ const formatBasicInformation = (data, labels, datasetUtils, companyType, isCount
|
|
|
38649
38665
|
};
|
|
38650
38666
|
};
|
|
38651
38667
|
const formatAdditionalInformation = (data, labels, country, companyType, i18n) => {
|
|
38652
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
38668
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2;
|
|
38653
38669
|
const registrationNumberLabel = resolveFieldMetadata(
|
|
38654
38670
|
defaultFieldConfig$5[country],
|
|
38655
38671
|
{
|
|
38656
38672
|
companyType,
|
|
38657
|
-
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_a2 = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a2[0].id
|
|
38673
|
+
registrationNumberType: data.registrationNumber ? inferCompanyRegistrationNumberType(data == null ? void 0 : data.registrationNumber, country, companyType) : (_b2 = (_a2 = getCompanyRegistrationNumberOptions(country, companyType)) == null ? void 0 : _a2[0]) == null ? void 0 : _b2.id
|
|
38658
38674
|
},
|
|
38659
38675
|
defaultFieldMetadata$6
|
|
38660
38676
|
).label;
|
|
@@ -38668,22 +38684,22 @@ const formatAdditionalInformation = (data, labels, country, companyType, i18n) =
|
|
|
38668
38684
|
defaultFieldMetadata$5
|
|
38669
38685
|
).label;
|
|
38670
38686
|
return {
|
|
38671
|
-
[((
|
|
38687
|
+
[((_c2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _c2.doingBusinessAs) ?? "doingBusinessAs"]: data.doingBusinessAs,
|
|
38672
38688
|
[registrationNumberLabel]: data.registrationNumber,
|
|
38673
|
-
[taxIdLabel]: data.isUen ? void 0 : (
|
|
38674
|
-
[((
|
|
38675
|
-
[((
|
|
38676
|
-
[((
|
|
38677
|
-
[((
|
|
38678
|
-
[((
|
|
38679
|
-
[((
|
|
38680
|
-
[((
|
|
38689
|
+
[taxIdLabel]: data.isUen ? void 0 : (_e2 = (_d2 = data.taxInformation) == null ? void 0 : _d2.find((taxId) => country === taxId.country)) == null ? void 0 : _e2.number,
|
|
38690
|
+
[((_f2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _f2.vatNumber) ?? "vatNumber"]: data.vatNumber,
|
|
38691
|
+
[((_g2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _g2.vatAbsenceReason) ?? "vatAbsenceReason"]: data.vatAbsenceReason ? i18n.get(data.vatAbsenceReason) : void 0,
|
|
38692
|
+
[((_h2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _h2.dateOfIncorporation) ?? "dateOfIncorporation"]: data.dateOfIncorporation,
|
|
38693
|
+
[((_i2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _i2.stockExchangeMIC) ?? "stockExchangeMIC"]: data.stockExchangeMIC,
|
|
38694
|
+
[((_j2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _j2.stockISIN) ?? "stockISIN"]: data.stockISIN,
|
|
38695
|
+
[((_k2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _k2.stockTickerSymbol) ?? "stockTickerSymbol"]: data.stockTickerSymbol,
|
|
38696
|
+
[((_l2 = labels == null ? void 0 : labels.additionalInformation) == null ? void 0 : _l2.eInvoicingCode) ?? "eInvoicingCode"]: data.eInvoicingCode
|
|
38681
38697
|
};
|
|
38682
38698
|
};
|
|
38683
38699
|
const formatDataForSummary$1 = (data, forms, labels, i18n, isExperimentEnabled) => {
|
|
38684
38700
|
const datasetUtils = datasetUtilities(i18n.locale);
|
|
38685
38701
|
return entriesOf(data).reduce((summaryData, [form]) => {
|
|
38686
|
-
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2;
|
|
38702
|
+
var _a2, _b2, _c2, _d2, _e2, _f2, _g2, _h2, _i2, _j2, _k2, _l2;
|
|
38687
38703
|
if (!form || !data[form]) return summaryData;
|
|
38688
38704
|
const isCountryOfGoverningLawEnabled = isExperimentEnabled(
|
|
38689
38705
|
"EnableCountryOfGoverningLawForUKCompanies"
|
|
@@ -38758,7 +38774,11 @@ const formatDataForSummary$1 = (data, forms, labels, i18n, isExperimentEnabled)
|
|
|
38758
38774
|
case "companyFinancialInformation":
|
|
38759
38775
|
return {
|
|
38760
38776
|
...summaryData,
|
|
38761
|
-
[form]: formatFinancialInformationSummary(
|
|
38777
|
+
[form]: formatFinancialInformationSummary(
|
|
38778
|
+
data[form],
|
|
38779
|
+
i18n,
|
|
38780
|
+
(_l2 = data == null ? void 0 : data.basicInformation) == null ? void 0 : _l2.country
|
|
38781
|
+
)
|
|
38762
38782
|
};
|
|
38763
38783
|
default:
|
|
38764
38784
|
return summaryData;
|
|
@@ -38910,7 +38930,7 @@ async function submit({
|
|
|
38910
38930
|
}
|
|
38911
38931
|
try {
|
|
38912
38932
|
const mappedLegalEntity = {
|
|
38913
|
-
...mapBusinessDetailsSchemaToLegalEntity(filteredData, isExperimentEnabled),
|
|
38933
|
+
...mapBusinessDetailsSchemaToLegalEntity(filteredData, accountHolder, isExperimentEnabled),
|
|
38914
38934
|
entityAssociations: filterOutUnwantedAssociationsIfRootLE(
|
|
38915
38935
|
taskType,
|
|
38916
38936
|
entityToUpdate,
|
|
@@ -39218,7 +39238,7 @@ function BusinessDetailsDropin({
|
|
|
39218
39238
|
nestedLegalEntityDetails,
|
|
39219
39239
|
problems: currentProblems,
|
|
39220
39240
|
taskType: taskType ?? TaskTypes.BUSINESS_DETAILS,
|
|
39221
|
-
accountHolder,
|
|
39241
|
+
accountHolder: accountHolder ?? "theCompanyIWorkFor",
|
|
39222
39242
|
forms,
|
|
39223
39243
|
documentUtils,
|
|
39224
39244
|
i18n,
|
|
@@ -50703,26 +50723,26 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
50703
50723
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
50704
50724
|
};
|
|
50705
50725
|
const Introduction = lazy$1(
|
|
50706
|
-
async () => (await import("./Introduction-
|
|
50726
|
+
async () => (await import("./Introduction-DxKs3vms.js")).Introduction
|
|
50707
50727
|
);
|
|
50708
50728
|
const SingpassSelection = lazy$1(
|
|
50709
|
-
async () => (await import("./SingpassSelection-
|
|
50729
|
+
async () => (await import("./SingpassSelection-BA0y4hy5.js")).SingpassSelection
|
|
50710
50730
|
);
|
|
50711
50731
|
const AccountSetupRejected = lazy$1(
|
|
50712
|
-
async () => (await import("./AccountSetupRejected-
|
|
50732
|
+
async () => (await import("./AccountSetupRejected-CZoBHo9e.js")).AccountSetupRejected
|
|
50713
50733
|
);
|
|
50714
50734
|
const DecisionMakers = lazy$1(
|
|
50715
|
-
async () => (await import("./DecisionMakers
|
|
50735
|
+
async () => (await import("./DecisionMakers-Doc2pFTM.js")).DecisionMakers
|
|
50716
50736
|
);
|
|
50717
50737
|
const CustomerSupport = lazy$1(
|
|
50718
|
-
async () => (await import("./CustomerSupport-
|
|
50738
|
+
async () => (await import("./CustomerSupport-CZ9EkF5F.js")).CustomerSupport
|
|
50719
50739
|
);
|
|
50720
|
-
const Review = lazy$1(async () => (await import("./Review-
|
|
50740
|
+
const Review = lazy$1(async () => (await import("./Review-Cd6GYP01.js")).Review);
|
|
50721
50741
|
const SignPCIComponent$2 = lazy$1(
|
|
50722
50742
|
async () => (await Promise.resolve().then(() => SignPCIComponent$1)).SignPCIComponent
|
|
50723
50743
|
);
|
|
50724
50744
|
const TaxReportingDropin = lazy$1(
|
|
50725
|
-
async () => (await import("./TaxReportingDropin-
|
|
50745
|
+
async () => (await import("./TaxReportingDropin-Ccb4IUMk.js")).TaxReportingDropin
|
|
50726
50746
|
);
|
|
50727
50747
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
50728
50748
|
const logger$6 = createLogger();
|
|
@@ -55145,7 +55165,7 @@ var TanstackQueryDevtools = (_l = class {
|
|
|
55145
55165
|
if (__privateGet(this, _Component)) {
|
|
55146
55166
|
Devtools = __privateGet(this, _Component);
|
|
55147
55167
|
} else {
|
|
55148
|
-
Devtools = lazy(() => import("./I3HPI4QX-
|
|
55168
|
+
Devtools = lazy(() => import("./I3HPI4QX-vz5V7lkK.js"));
|
|
55149
55169
|
__privateSet(this, _Component, Devtools);
|
|
55150
55170
|
}
|
|
55151
55171
|
setupStyleSheet(__privateGet(this, _styleNonce), __privateGet(this, _shadowDOMTarget));
|
|
@@ -55267,7 +55287,7 @@ var TanstackQueryDevtoolsPanel = (_m = class {
|
|
|
55267
55287
|
if (__privateGet(this, _Component2)) {
|
|
55268
55288
|
Devtools = __privateGet(this, _Component2);
|
|
55269
55289
|
} else {
|
|
55270
|
-
Devtools = lazy(() => import("./CXEL7IU7-
|
|
55290
|
+
Devtools = lazy(() => import("./CXEL7IU7-dBAlEPe0.js"));
|
|
55271
55291
|
__privateSet(this, _Component2, Devtools);
|
|
55272
55292
|
}
|
|
55273
55293
|
setupStyleSheet(__privateGet(this, _styleNonce2), __privateGet(this, _shadowDOMTarget2));
|
|
@@ -55486,7 +55506,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
55486
55506
|
};
|
|
55487
55507
|
};
|
|
55488
55508
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
55489
|
-
const sdkVersion = "3.65.
|
|
55509
|
+
const sdkVersion = "3.65.7";
|
|
55490
55510
|
const rootLegalEntity = useGlobalStore((store) => store.rootLegalEntity);
|
|
55491
55511
|
const countryCode = useGlobalStore((store) => store.rootLegalEntityCountry);
|
|
55492
55512
|
const capabilities = Object.keys(rootLegalEntity.capabilities ?? {});
|
|
@@ -55561,7 +55581,7 @@ const AnalyticsProvider = ({
|
|
|
55561
55581
|
const { onboardingVersion } = useVersion();
|
|
55562
55582
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
55563
55583
|
const sessionData = {
|
|
55564
|
-
sdkVersion: "3.65.
|
|
55584
|
+
sdkVersion: "3.65.7",
|
|
55565
55585
|
componentName,
|
|
55566
55586
|
userAgent: navigator.userAgent,
|
|
55567
55587
|
legalEntityId,
|
|
@@ -55695,7 +55715,7 @@ const ConfigurationApiProvider = ({ children: children2 }) => {
|
|
|
55695
55715
|
[baseUrl, rootLegalEntityId]
|
|
55696
55716
|
);
|
|
55697
55717
|
return /* @__PURE__ */ jsxs(ConfigurationApiContext.Provider, { value: contextValue, children: [
|
|
55698
|
-
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.
|
|
55718
|
+
/* @__PURE__ */ jsx$1("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "3.65.7" }),
|
|
55699
55719
|
children2
|
|
55700
55720
|
] });
|
|
55701
55721
|
};
|
|
@@ -56170,7 +56190,7 @@ function StateProvider({
|
|
|
56170
56190
|
);
|
|
56171
56191
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children: children2 });
|
|
56172
56192
|
}
|
|
56173
|
-
const DebugModal = lazy$1(async () => (await import("./DebugModal-
|
|
56193
|
+
const DebugModal = lazy$1(async () => (await import("./DebugModal-9m7DUx_6.js").then((n) => n.D)).DebugModal);
|
|
56174
56194
|
const DebugListener = () => {
|
|
56175
56195
|
const [debugUiOpen, setDebugUiOpen] = useState(false);
|
|
56176
56196
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
property: { regex: /(^|[\r\n])[^:]*:/g, css: cssProps.key },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
number: { regex: /-?\d+(\.\d+)?([eE][+-]?\d+)?/g, css: cssProps.number },
|
|
@@ -2,6 +2,7 @@ import type { CountryCode } from '../../../../core/models/country-code';
|
|
|
2
2
|
import type { AdditionalInformationSchema } from '../AdditionalInformation/types';
|
|
3
3
|
import type { BasicInformationSchema } from '../BasicInformation/types';
|
|
4
4
|
export declare const FIELDS_NEEDED_FOR_COMPANY_SEARCH: Array<keyof BasicInformationSchema | keyof AdditionalInformationSchema>;
|
|
5
|
+
export declare const getFinancialInformationFields: (country: CountryCode) => (keyof import("../../../Shared/forms/FinancialInformation/types").FinancialInformationSchema)[];
|
|
5
6
|
export declare const staticBusinessDetailsForms: {
|
|
6
7
|
readonly companyStructure: {
|
|
7
8
|
readonly formId: "companyStructure";
|
|
@@ -31,13 +32,6 @@ export declare const staticBusinessDetailsForms: {
|
|
|
31
32
|
readonly formDescription: "weNeedAnOfficialDocument";
|
|
32
33
|
readonly fields: readonly ["proofOfDirector"];
|
|
33
34
|
};
|
|
34
|
-
readonly companyFinancialInformation: {
|
|
35
|
-
readonly formId: "companyFinancialInformation";
|
|
36
|
-
readonly formName: "financialInformation";
|
|
37
|
-
readonly formHeading: "companyFinancialInformationFormHeading";
|
|
38
|
-
readonly formDescription: "companyFinancialInformationFormDescription";
|
|
39
|
-
readonly fields: (keyof import("../../../Shared/forms/FinancialInformation/types").FinancialInformationSchema)[];
|
|
40
|
-
};
|
|
41
35
|
readonly companyConstitutionalDocument: {
|
|
42
36
|
readonly formId: "companyConstitutionalDocument";
|
|
43
37
|
readonly formName: "constitutionalDocument";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ExperimentName } from '../../../../context/ExperimentContext/types';
|
|
2
|
+
import type { AccountHolderOption } from '../../../../core/types/AccountHolder.types';
|
|
2
3
|
import type { Document } from '../../../../core/models/api/document';
|
|
3
4
|
import type { LegalEntity } from '../../../../core/models/api/legal-entity';
|
|
4
5
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
5
6
|
export declare const mapBusinessDetailsDocumentToApiDocument: (data: BusinessDetailsSchema, entityId: string) => Promise<Document[]>;
|
|
6
|
-
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
|
|
7
|
+
export declare const mapBusinessDetailsSchemaToLegalEntity: (data: BusinessDetailsSchema, accountHolder: AccountHolderOption, isExperimentEnabled: (key: ExperimentName) => boolean) => LegalEntity;
|
|
@@ -48,7 +48,7 @@ export interface SubmitProps {
|
|
|
48
48
|
nestedLegalEntityDetails?: TrustMember | UnincorporatedPartnershipMember;
|
|
49
49
|
problems: EntityProblems | undefined;
|
|
50
50
|
taskType: TaskTypes;
|
|
51
|
-
accountHolder
|
|
51
|
+
accountHolder: AccountHolderOption;
|
|
52
52
|
forms: FormModelWithValidity[];
|
|
53
53
|
documentUtils: DocumentApiUtils;
|
|
54
54
|
i18n: Language;
|
|
@@ -98,7 +98,7 @@ export declare const companyRegistrationNumberOptions: {
|
|
|
98
98
|
}, {
|
|
99
99
|
readonly id: "companyNumber";
|
|
100
100
|
readonly name: "companyNumber";
|
|
101
|
-
readonly applicableOnlyFor: readonly [CompanyTypesValue.PRIVATE_COMPANY, CompanyTypesValue.GOVERNMENTAL_ORGANIZATION, CompanyTypesValue.INCORPORATED_ASSOCIATION, CompanyTypesValue.INCORPORATED_PARTNERSHIP, CompanyTypesValue.NON_PROFIT_OR_CHARITABLE, CompanyTypesValue.UNINCORPORATED_PARTNERSHIP, CompanyTypesValue.UNLISTED_PUBLIC_COMPANY];
|
|
101
|
+
readonly applicableOnlyFor: readonly [CompanyTypesValue.PRIVATE_COMPANY, CompanyTypesValue.GOVERNMENTAL_ORGANIZATION, CompanyTypesValue.INCORPORATED_ASSOCIATION, CompanyTypesValue.INCORPORATED_PARTNERSHIP, CompanyTypesValue.NON_PROFIT_OR_CHARITABLE, CompanyTypesValue.UNINCORPORATED_PARTNERSHIP, CompanyTypesValue.UNLISTED_PUBLIC_COMPANY, CompanyTypesValue.PUBLIC_COMPANY];
|
|
102
102
|
}];
|
|
103
103
|
};
|
|
104
104
|
export declare const getCompanyRegistrationNumberOptions: (country: CountryCode, companyType: CompanyTypesValue | "trust" | undefined) => readonly CompanyRegistrationNumberOption[] | undefined;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { FinancialInformationProps, FinancialInformationSchema } from './types';
|
|
2
|
+
export declare const financialInformationFieldsForEu: Array<keyof FinancialInformationSchema>;
|
|
2
3
|
export declare const financialInformationFields: Array<keyof FinancialInformationSchema>;
|
|
3
4
|
export declare function FinancialInformation(props: FinancialInformationProps): import("preact/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Language } from '../../../../language/Language';
|
|
2
|
+
import type { CountryCode } from '../../../../core/models/country-code';
|
|
2
3
|
import type { SummaryOf } from '../../Summary/types';
|
|
3
4
|
import type { FinancialInformationSchema } from './types';
|
|
4
|
-
export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language) => SummaryOf<FinancialInformationSchema>;
|
|
5
|
+
export declare const formatFinancialInformationSummary: (data: FinancialInformationSchema | undefined, i18n: Language, country: CountryCode | undefined) => SummaryOf<FinancialInformationSchema>;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as cssProps } from "./DebugModal-
|
|
10
|
+
import { c as cssProps } from "./DebugModal-9m7DUx_6.js";
|
|
11
11
|
const definitions = {
|
|
12
12
|
any: { regex: /.*/g, css: cssProps.text },
|
|
13
13
|
boolean: { regex: /^(\s*)([\w-]+)(:)\s*(.*)$/g, css: cssProps.boolean },
|