@adyen/kyc-components 4.0.0 → 4.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -10
- package/dist/{AcceptTermsOfServiceComponent-CmHBNGjM.js → AcceptTermsOfServiceComponent-B150yg9N.js} +15 -15
- package/dist/{Accordion-Cp_VkxR6.js → Accordion-CVxApR1X.js} +1 -1
- package/dist/{AccountSetupRejected-CoxWTlar.js → AccountSetupRejected--dXDa8bC.js} +3 -3
- package/dist/{ActionBar-CxUKVmTE.js → ActionBar-Tv1K68ZK.js} +1 -1
- package/dist/{Address-Db6Q_KUo.js → Address-DrRgozSN.js} +7 -7
- package/dist/{Alert-DEiOX0nw.js → Alert-BVHHWVgg.js} +2 -2
- package/dist/{Avatar-3K6S_tIS.js → Avatar-sN35oNt2.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-CYoIN4Fa.js → BusinessDetailsMultiformDropin-BeJATuiX.js} +34 -34
- package/dist/{BusinessFinancingComponent-DyvM-fsY.js → BusinessFinancingComponent-CGBUx-zj.js} +4 -4
- package/dist/{BusinessFinancingDropin-BOvR4LwU.js → BusinessFinancingDropin-DxKkpM-k.js} +21 -21
- package/dist/{BusinessFinancingPage-8C0ztBfS.js → BusinessFinancingPage-JChGPCHT.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DpZAsa8K.js → BusinessTypeSelectionPage-CH-OiNqT.js} +8 -8
- package/dist/{Card-CdpPhK9y.js → Card-B66f7NuH.js} +2 -2
- package/dist/{ConstitutionalDocument-NLs6ka9K.js → ConstitutionalDocument-DIW7X8rZ.js} +2 -2
- package/dist/{CountryField-9w8wRZMW.js → CountryField-D36v7bff.js} +5 -5
- package/dist/{CreateIndividualComponent-zGcoEyq0.js → CreateIndividualComponent-fmBoSuxQ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Ct_v-IyH.js → CreateTransferInstrumentComponent-CViSbC6e.js} +4 -4
- package/dist/{Currency-53s7DEeh.js → Currency-DlHtZ9aJ.js} +4 -4
- package/dist/{CustomerSupport-BRcUQ4fR.js → CustomerSupport-L3PHpji7.js} +9 -9
- package/dist/{DebugModal-CokbXGK9.js → DebugModal-C1mi00fP.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-B5cLY8iP.js → DecisionMakerDetailsPage-li_HZWuV.js} +5 -5
- package/dist/{DecisionMakers-BQ24LfqB.js → DecisionMakers-C8AjEnUh.js} +19 -19
- package/dist/{EmbeddedStatus-DB9B_u3L.js → EmbeddedStatus-CrKg6woS.js} +2 -2
- package/dist/{EndStateLayout-BWC5aqVS.js → EndStateLayout-CPXu6AzB.js} +1 -1
- package/dist/{EntityAssociation-gzYdcHoL.js → EntityAssociation-SkprG-At.js} +7 -7
- package/dist/{EntityGuidanceStatus-BKeZKnbP.js → EntityGuidanceStatus-D9lctwyX.js} +2 -2
- package/dist/{FormFlow-Cf3Ff2qw.js → FormFlow-BVw3rIvU.js} +7 -7
- package/dist/{FormNavigation-CjgZbv9G.js → FormNavigation-Bag7ETpV.js} +2 -2
- package/dist/{FormWrapper-dbBZegkX.js → FormWrapper-BfsyttAY.js} +9 -9
- package/dist/{IndividualOnfido-Cc7dydKq.js → IndividualOnfido-CmDDWqG_.js} +14 -14
- package/dist/{IndividualOnfidoDropin-BpU2cL4E.js → IndividualOnfidoDropin-VMZXwhd7.js} +26 -26
- package/dist/{InputText-Dsw9kiwL.js → InputText-DHRZ5RNd.js} +2 -2
- package/dist/{Introduction-C8mTk4l_.js → Introduction-Cht7yZI7.js} +3 -3
- package/dist/{JpAddress-R81eO-aY.js → JpAddress-DCky_der.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-DIQX18v2.js → LegalRepresentativeDetailsPage-Bez436Rb.js} +3 -3
- package/dist/{ListItem-D3p6EgP_.js → ListItem-DrwSQslm.js} +2 -2
- package/dist/{ManageIndividualComponent-CmM-vP9E.js → ManageIndividualComponent-lLoElwga.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-C3hXZJx5.js → ManageTermsOfServiceComponent-CH1M-H1Y.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-co6LYrVY.js → ManageTransferInstrumentComponent-NZ8vELQC.js} +11 -11
- package/dist/{MaybeModal-BVQOzETz.js → MaybeModal-D4PWacZ0.js} +2 -2
- package/dist/{Modal-CloeVnNp.js → Modal-lDK70UQc.js} +1 -1
- package/dist/{OnboardingDropinComponent-CDAK4v1o.js → OnboardingDropinComponent-Cljx74I-.js} +51 -51
- package/dist/{PayoutDetailsDropin-DCrlrNki.js → PayoutDetailsDropin-p2t6lj8Z.js} +26 -26
- package/dist/{Review-Dqn49vJM.js → Review-fdhuI2MF.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DSEq3TIn.js → RootBusinessDetailsPage-Bb1mWkAw.js} +4 -4
- package/dist/{RootBusinessLinesPage-CbPhOber.js → RootBusinessLinesPage-Bge83rhi.js} +21 -21
- package/dist/{RootIndividualDetailsPage-Bp_7gSIB.js → RootIndividualDetailsPage-B31dJO7o.js} +5 -5
- package/dist/{SignPCIComponent-B6kYuqT_.js → SignPCIComponent-C0P_OLXa.js} +9 -9
- package/dist/{SingpassSelection-aDrNTYr3.js → SingpassSelection-B2rjBQ6u.js} +3 -3
- package/dist/{SoleProprietorshipPage-HnUsyjKp.js → SoleProprietorshipPage-3S2tDRwx.js} +3 -3
- package/dist/{SourceOfFundsPage-BkMEIV_L.js → SourceOfFundsPage-BpV6fE8P.js} +24 -24
- package/dist/{StepProgressIndicator-BgeMe93n.js → StepProgressIndicator-CBkt5fOY.js} +1 -1
- package/dist/{StoreProvider-BFN15Go9.js → StoreProvider-l6WD5T55.js} +4 -4
- package/dist/{Summary-BkE_c8pU.js → Summary-Ccxu9A6C.js} +3 -3
- package/dist/{TaxReportingDropin-LG9zvOMN.js → TaxReportingDropin-H22DcnSG.js} +15 -15
- package/dist/{TrustDetailsPage-C8w8pEvB.js → TrustDetailsPage-BvIa1mbz.js} +26 -26
- package/dist/{TrustMemberCompanyPage-IDEwpLW3.js → TrustMemberCompanyPage-VNaovE9r.js} +4 -4
- package/dist/{TrustMemberIndividualPage-rKB3iVFk.js → TrustMemberIndividualPage-Dp9kroxy.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CLtX8V0M.js → TrustMemberRoleAndTypePage-BbbTPGJm.js} +13 -13
- package/dist/{TrustMembersOverview-Bs203hm0.js → TrustMembersOverview-Dd7lo_I5.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CBTaUEld.js → UnincorporatedPartnershipIndividualPage-CcLh5gtc.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-ZnLe9Uq3.js → UnincorporatedPartnershipMemberCompanyPage-DA-1RrVz.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BXImA2c_.js → UnincorporatedPartnershipMemberRoleAndTypePage-CgLeyHTs.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-c7k2JzcO.js → UnincorporatedPartnershipMembersOverview-CNONb63l.js} +8 -8
- package/dist/{VerificationErrorAlert-uubpHQGE.js → VerificationErrorAlert-D7gb2Rqo.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-DO9L2hEO.js → ViewVerificationStatusComponent-DpeNbWSm.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +20 -20
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{debouncedInputEvent-Dlbc7VjU.js → debouncedInputEvent-Bifj90NU.js} +1 -1
- package/dist/{documentUtils-CUgKVLK4.js → documentUtils-CunPooif.js} +2 -2
- package/dist/{dropinUtils-D2lBlNWp.js → dropinUtils-DSk8OL7G.js} +3 -3
- package/dist/{fieldConfigurations-C38LzPl3.js → fieldConfigurations-D99U6JIQ.js} +8 -8
- package/dist/{getFieldsWithExistingData-B0l_1eCG.js → getFieldsWithExistingData-BLXGczCN.js} +1 -1
- package/dist/{getName-CIw0MR9e.js → getName-_U3PeNHl.js} +1 -1
- package/dist/{hasDataChanged-B-_hLK5I.js → hasDataChanged-BwDHn0i2.js} +1 -1
- package/dist/{iframeWidget-yBLSAmf8.js → iframeWidget-BEBSgwZP.js} +3 -3
- package/dist/{localizeDateString-C-G2nUor.js → localizeDateString-RwwotuyP.js} +1 -1
- package/dist/{mapExistingFile-BhW5UmN9.js → mapExistingFile-nB9LIvV9.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-Dl-cl9eQ.js → mapFinancialReportsToFinancialInformation-BgizOY0T.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-KFAvfuC1.js → mapJpAddressSchemaToAddressLocalizations-DnDo_BVY.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-D51tRiYd.js → mapLegalEntityToIndividualOnfidoSchema-BpjOTE3z.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-CU5wx0wJ.js → mapTransferInstrumentToPayoutAccount-DMZUSLNm.js} +1 -1
- package/dist/{process-field-configurations-DoOFQqtn.js → process-field-configurations-6LtTXNwK.js} +2 -2
- package/dist/{resolveEnvironment-Dyejukh7.js → resolveEnvironment-BC4yY4gV.js} +3 -3
- package/dist/{rules-DP604XPJ.js → rules-ajv47uCu.js} +3 -3
- package/dist/{types-CLz74bOT.js → types-6CojAGL0.js} +1 -1
- package/dist/{types-C972Lk6s.js → types-DRdQDn19.js} +1 -1
- package/dist/{types-Ctv8hbzY.js → types-DnURYYMD.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DAB1oG6O.js → useAssociatedLegalEntity-DlO3x839.js} +1 -1
- package/dist/{useCreateLegalEntity-BK5YcHA-.js → useCreateLegalEntity-bNnaPjOD.js} +1 -1
- package/dist/{useDataset-BtfHQp4w.js → useDataset-ClAqXJGw.js} +3 -3
- package/dist/{useForm-wQyeWa1b.js → useForm-C8SA0ETz.js} +4 -4
- package/dist/{useGlobalData-B33uuhtd.js → useGlobalData-VlkNij1C.js} +2 -2
- package/dist/{useMultiForm-rZmCYsI4.js → useMultiForm-C3xbz4Qc.js} +3 -3
- package/dist/{useOnboardingStatus-BbIpiZR4.js → useOnboardingStatus-Co_xweKQ.js} +1 -1
- package/dist/{useScenarios-DPOodENA.js → useScenarios-1AMNJb7O.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DKeMR4Xi.js → useTermsOfServiceStatus-DTT-jTFK.js} +1 -1
- package/dist/{useToastContext-BK9oGWtb.js → useToastContext-mFlAEux_.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-Cdts5Hbn.js → useUnincorporatedPartnershipMembers-DeGZrXXu.js} +4 -4
- package/dist/{useUpdateBusinessLines-CWYtpMwr.js → useUpdateBusinessLines-DVnOsDCX.js} +1 -1
- package/dist/{useUpdateLegalEntity-oa8qEzc4.js → useUpdateLegalEntity-Hn7ZLWeu.js} +2 -2
- package/dist/{utils-COz1RbbA.js → utils-BH-_hzMa.js} +5 -5
- package/dist/{utils-AP5TpAhf.js → utils-BvNcGa2w.js} +3 -3
- package/dist/{validate-BYwVLb-X.js → validate-CJSILaC_.js} +1 -1
- package/dist/{validate-CBVdP51L.js → validate-DDHUnwWC.js} +1 -1
- package/dist/{validationError-CvZLhw5H.js → validationError-CfIII-oi.js} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,35 +12,36 @@ npm install @adyen/kyc-components
|
|
|
12
12
|
|
|
13
13
|
## Available Adyen Components
|
|
14
14
|
|
|
15
|
-
- [Transfer Instrument Configuration](
|
|
16
|
-
- [Transfer Instrument Management](
|
|
15
|
+
- [Transfer Instrument Configuration](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-configuration-component) for adding, editing and linking bank accounts.
|
|
16
|
+
- [Transfer Instrument Management](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#transfer-instrument-management-component), a UI for the above.
|
|
17
17
|
|
|
18
18
|
## Usage
|
|
19
19
|
|
|
20
20
|
Import the component you need, and use it as a custom-element.
|
|
21
21
|
|
|
22
|
-
Check [component properties](
|
|
22
|
+
Check [component properties](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#configure-component-properties) for details on what the properties are.
|
|
23
23
|
|
|
24
24
|
```jsx
|
|
25
|
-
import "@adyen/kyc-components/
|
|
25
|
+
import "@adyen/kyc-components/transfer-instrument-configuration";
|
|
26
26
|
|
|
27
27
|
// in your HTML (or JSX, templating, etc.)
|
|
28
28
|
|
|
29
|
-
<adyen-
|
|
29
|
+
<adyen-transfer-instrument-configuration
|
|
30
30
|
locale="en-US"
|
|
31
31
|
environment="test"
|
|
32
|
-
fetchToken={fetchToken}
|
|
33
32
|
rootlegalentityid="myLegalEntityId"
|
|
34
|
-
|
|
33
|
+
transferinstrumentid="testTransferInstrumentId"
|
|
34
|
+
fetchToken="fetchToken"
|
|
35
|
+
></adyen-transfer-instrument-configuration>
|
|
35
36
|
```
|
|
36
37
|
|
|
37
38
|
> [!WARNING]
|
|
38
|
-
> Custom elements need closing tags, which means you need to have the closing `</adyen-
|
|
39
|
+
> Custom elements need closing tags, which means you need to have the closing `</adyen-transfer-instrument-configuration>`
|
|
39
40
|
|
|
40
41
|
## FetchToken and Authentication
|
|
41
42
|
|
|
42
|
-
The [fetchToken](
|
|
43
|
+
The [fetchToken](https://docs.adyen.com/platforms/onboard-users/components?component=Transfer+Instrument&integration=components&version=4.0.x#id732020335) function needs to return a token. You will need to have an endpoint set up in your backend that returns `{ token: 'adyenValidToken' }`. An endpoint is needed on your side in order to not expose your Adyen credentials in the frontend, and to be able to get a token with more granular permissions.
|
|
43
44
|
|
|
44
45
|
## Done
|
|
45
46
|
|
|
46
|
-
This is all you need to get started. After integrating
|
|
47
|
+
This is all you need to get started. After integrating successful with the first Components, integrating others will be much easier, since the instantiation process is the same.
|
package/dist/{AcceptTermsOfServiceComponent-CmHBNGjM.js → AcceptTermsOfServiceComponent-B150yg9N.js}
RENAMED
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useMutation, k as httpPost, j as useQuery, x as skipToken, m as httpGet, U as createLogger, u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, aX as getLanguageCode, B as Button, t as LegalEntityTypes, aa as getOwnSignatories, y as doesLegalEntityRequiresLegalRepresentative, w as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, P as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost, j as useQuery, x as skipToken, m as httpGet, U as createLogger, u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, aX as getLanguageCode, B as Button, t as LegalEntityTypes, aa as getOwnSignatories, y as doesLegalEntityRequiresLegalRepresentative, w as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, P as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-l6WD5T55.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
15
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
16
|
-
import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-
|
|
17
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
18
|
-
import { a as ModalContent, b as ModalFooter } from "./Modal-
|
|
19
|
-
import { S as Spacer, g as getLegalEntityNameBasedOnType } from "./getName-
|
|
20
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
21
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { a as Alert } from "./Alert-
|
|
23
|
-
import { A as ActionBar } from "./ActionBar-
|
|
24
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
13
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-mFlAEux_.js";
|
|
14
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DTT-jTFK.js";
|
|
15
|
+
import { C as Checkbox } from "./debouncedInputEvent-Bifj90NU.js";
|
|
16
|
+
import { u as useForm, L as LoaderWrapper, F as Field, S as Select } from "./useForm-C8SA0ETz.js";
|
|
17
|
+
import { M as MaybeModal } from "./MaybeModal-D4PWacZ0.js";
|
|
18
|
+
import { a as ModalContent, b as ModalFooter } from "./Modal-lDK70UQc.js";
|
|
19
|
+
import { S as Spacer, g as getLegalEntityNameBasedOnType } from "./getName-_U3PeNHl.js";
|
|
20
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-CBkt5fOY.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-CPXu6AzB.js";
|
|
22
|
+
import { a as Alert } from "./Alert-BVHHWVgg.js";
|
|
23
|
+
import { A as ActionBar } from "./ActionBar-Tv1K68ZK.js";
|
|
24
|
+
import { F as FormNavigation } from "./FormNavigation-Bag7ETpV.js";
|
|
25
25
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
26
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
26
|
+
import { l as localizeDateString } from "./localizeDateString-RwwotuyP.js";
|
|
27
27
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
28
28
|
const acceptTermsOfService = async (legalEntityId, baseUrl, termsOfServiceDocumentId, data) => {
|
|
29
29
|
return httpPost(
|
|
@@ -588,7 +588,7 @@ function AcceptTermsOfServiceComponent({
|
|
|
588
588
|
}
|
|
589
589
|
const { i18n } = useTranslation();
|
|
590
590
|
addResourceBundles(i18n, [
|
|
591
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
591
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-l6WD5T55.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-BAg3NqQO.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Bk2IHQWP.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-MiyuQqH8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-DGMVrsJv.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BHt_jklG.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DDsdPI5V.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-DLm11dH5.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-CWe8f7m4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-Cg9c0kae.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-DsxFGThp.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CMw-FwQV.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dhj0Fh__.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DGSYzOx6.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Be5ZycMV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-BR-BI5Jn.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-5I4Q_FyK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BVmoP_EU.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CaJmYb6p.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-D_ZnGxiQ.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
592
592
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) },
|
|
593
593
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) }
|
|
594
594
|
]);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
|
-
import { a3 as Icon, H as Typography, z as Skeleton } from "./StoreProvider-
|
|
13
|
+
import { a3 as Icon, H as Typography, z as Skeleton } from "./StoreProvider-l6WD5T55.js";
|
|
14
14
|
const accordion = "adyen-kyc-accordion";
|
|
15
15
|
const accordionSummary = "adyen-kyc-accordion-summary";
|
|
16
16
|
const accordionBasic = "adyen-kyc-accordion-basic";
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { H as Header } from "./CountryField-
|
|
12
|
-
import { A as AlertIcon } from "./Alert-
|
|
11
|
+
import { H as Header } from "./CountryField-D36v7bff.js";
|
|
12
|
+
import { A as AlertIcon } from "./Alert-BVHHWVgg.js";
|
|
13
13
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
14
|
-
import { u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { u as useTranslation } from "./StoreProvider-l6WD5T55.js";
|
|
15
15
|
function AccountSetupRejected() {
|
|
16
16
|
const { t } = useTranslation("common");
|
|
17
17
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { $ as entriesOf, u as useTranslation, a0 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, G as translateStringOrObject, C as CountryCodes, aN as getFormattingRegEx, aO as SPECIAL_CHARS, aP as trimValWithOneSpace, U as createLogger, aD as matchesRegex, aB as hasText, aC as isValidMinLength, aE as NO_ALPHABET_REGEX, aF as EMOJI_REGEX, aH as isInvalidName, aQ as ADDRESS_VALID_CHAR_REGEX, aG as hasRepeatedCharacters, W as useI18nContext, p as useExperimentsContext, aR as getMaxLengthByFieldAndCountry } from "./StoreProvider-
|
|
10
|
+
import { $ as entriesOf, u as useTranslation, a0 as useAnalyticsContext, a4 as noop, b as useApiContext, j as useQuery, k as httpPost, m as httpGet, a3 as Icon, G as translateStringOrObject, C as CountryCodes, aN as getFormattingRegEx, aO as SPECIAL_CHARS, aP as trimValWithOneSpace, U as createLogger, aD as matchesRegex, aB as hasText, aC as isValidMinLength, aE as NO_ALPHABET_REGEX, aF as EMOJI_REGEX, aH as isInvalidName, aQ as ADDRESS_VALID_CHAR_REGEX, aG as hasRepeatedCharacters, W as useI18nContext, p as useExperimentsContext, aR as getMaxLengthByFieldAndCountry } from "./StoreProvider-l6WD5T55.js";
|
|
11
11
|
import { useContext, useMemo, useCallback, useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { createContext } from "preact";
|
|
13
13
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
|
-
import { b as useId } from "./useToastContext-
|
|
16
|
-
import { R as Radio, s as summaryItem, c as createFormUtils, C as CountryField } from "./CountryField-
|
|
17
|
-
import { a as InputBase, I as InputText } from "./InputText-
|
|
18
|
-
import { F as Field, S as Select, u as useForm } from "./useForm-
|
|
19
|
-
import { u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
20
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
15
|
+
import { b as useId } from "./useToastContext-mFlAEux_.js";
|
|
16
|
+
import { R as Radio, s as summaryItem, c as createFormUtils, C as CountryField } from "./CountryField-D36v7bff.js";
|
|
17
|
+
import { a as InputBase, I as InputText } from "./InputText-DHRZ5RNd.js";
|
|
18
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-C8SA0ETz.js";
|
|
19
|
+
import { u as useDebouncedCallback } from "./debouncedInputEvent-Bifj90NU.js";
|
|
20
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-ClAqXJGw.js";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
const operationalAddressIsSameIds = {
|
|
23
23
|
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
@@ -11,8 +11,8 @@ import { jsxs, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement } from "preact";
|
|
13
13
|
import { useState } from "preact/hooks";
|
|
14
|
-
import { A as Accordion } from "./Accordion-
|
|
15
|
-
import { u as useTranslation, H as Typography, B as Button, a3 as Icon } from "./StoreProvider-
|
|
14
|
+
import { A as Accordion } from "./Accordion-CVxApR1X.js";
|
|
15
|
+
import { u as useTranslation, H as Typography, B as Button, a3 as Icon } from "./StoreProvider-l6WD5T55.js";
|
|
16
16
|
const alert = "adyen-kyc-alert";
|
|
17
17
|
const alertWithoutIcon = "adyen-kyc-alert-without-icon";
|
|
18
18
|
const alertExplanation = "adyen-kyc-alert-explanation";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a3 as Icon } from "./StoreProvider-
|
|
12
|
+
import { a3 as Icon } from "./StoreProvider-l6WD5T55.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -8,44 +8,44 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, B as Button, H as Typography, C as CountryCodes, W as useI18nContext, P as TaskTypes, t as LegalEntityTypes, $ as entriesOf, bB as businessDetailsComponentsKeyMapping, bC as solePropBusinessDetailsKeyMapping, aj as objectsDeepEqual, ap as keysOf, i as isUndefinedOrNull, bD as solePropBusinessDetailsApiKeyMapping, bo as businessDetailsApiKeyMapping, U as createLogger, b7 as filterOutUnwantedAssociationsIfRootLE, X as isEmpty$1, b5 as drop, af as getOwnEntityAssociations, aU as doArraysMatch, M as useAccountHolder, a0 as useAnalyticsContext, p as useExperimentsContext, o as useSettingsContext, b as useApiContext, a2 as useQueryClient, bE as solePropBusinessDetailsDocumentMapping, bF as businessDetailsDocumentMapping, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, B as Button, H as Typography, C as CountryCodes, W as useI18nContext, P as TaskTypes, t as LegalEntityTypes, $ as entriesOf, bB as businessDetailsComponentsKeyMapping, bC as solePropBusinessDetailsKeyMapping, aj as objectsDeepEqual, ap as keysOf, i as isUndefinedOrNull, bD as solePropBusinessDetailsApiKeyMapping, bo as businessDetailsApiKeyMapping, U as createLogger, b7 as filterOutUnwantedAssociationsIfRootLE, X as isEmpty$1, b5 as drop, af as getOwnEntityAssociations, aU as doArraysMatch, M as useAccountHolder, a0 as useAnalyticsContext, p as useExperimentsContext, o as useSettingsContext, b as useApiContext, a2 as useQueryClient, bE as solePropBusinessDetailsDocumentMapping, bF as businessDetailsDocumentMapping, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-l6WD5T55.js";
|
|
12
12
|
import { useState, useEffect, useRef, useCallback, useMemo } from "preact/hooks";
|
|
13
|
-
import { g as getForms, B as BasicInformation, C as CompanyStructure, A as AdditionalInformation, F as FinancialInformation, h as getDefaultRegistrationNumberType, i as getDefaultVatNumberType, j as FIELDS_NEEDED_FOR_COMPANY_SEARCH, k as companyTypeMetadata, l as documentFormsIds, r as registrationNumberDefaultFieldMetadata, m as inferCompanyRegistrationNumberType, o as registrationNumberDefaultFieldConfig, v as verifiedBusiness, s as setIsBankAccountRequestedForOrganization, p as useCompanySearch, q as useCompanySelection, t as useVerifyTin, w as useClearCompanyData, x as useBusinessLines, y as isNormalizedStringMatch, z as setVerifiedBusiness, D as useIndustryCodes, G as useDebouncedState, H as legalFormFieldMetadata, I as stockTickerSymbolFieldMetadata, J as stockISINFieldMetadata, K as stockExchangeMICFieldMetadata, L as dateOfIncorporationFieldMetadata, M as industryCodeFieldMetadata, N as eInvoicingCodeFieldMetadata, P as vatAbsenceReasonMetadata, Q as defaultFieldMetadata, R as defaultFieldConfig, S as doingBusinessAsFieldMetadata, T as doingBusinessAsAbsentFieldMetadata, V as VerifiedBusinessCard, U as LEGAL_FORM_FIELDS, W as DBA_NAME_FIELD, X as DBANameField, Y as BUSINESS_REGISTRATION_NUMBER_FIELD, Z as BusinessRegistrationNumberField, _ as VAT_NUMBER_FIELD, $ as VatNumberField, a0 as EInvoicingCodeField, a1 as EINVOICING_CODE_FIELD, a2 as INDUSTRY_CODE_FIELD, a3 as IndustryCodeField, a4 as DATE_OF_INCORPORATION_FIELD, a5 as DateOfIncorporationField, a6 as STOCK_EXCHANGE_MIC_FIELD, a7 as StockExchangeMICField, a8 as STOCK_ISIN_FIELD, a9 as StockISINField, aa as STOCK_TICKER_SYMBOL_FIELD, ab as StockTickerSymbolField, ac as ADDITIONAL_INFORMATION_FORM_ID, ad as localizedLegalCompanyNameFieldConfig, ae as defaultFieldMetadata$1, af as defaultFieldConfig$1, ag as defaultFieldMetadataV4, ah as defaultFieldMetadata$2, ai as defaultFieldConfigV4, aj as defaultFieldConfig$2, ak as useLegalCompanyNameField, al as COUNTRY_OF_GOVERNING_LAW_FIELD, am as CountryOfGoverningLawField, an as LEGAL_COMPANY_NAME_FIELD, ao as isBankAccountRequestedForOrganization, ap as companyTypeOptions, aq as useCompanyTypeExamples, E as EntityTypeRadioGroupCard, ar as BusinessSelectionMultiform, as as isVerifiedSingleCompanySearchResult, at as exemptFromRegistrationNumberDefaultFieldMetadata, au as CountryOfGoverningLawFieldValidation, av as CountryFieldValidation, aw as financialInfoValidationWithEmployeesRules, ax as CompanyStructureValidation, ay as tinMatched, az as businessMismatchModalOpen, aA as applyVerifiedBusinessData, aB as KOMPANY_SEARCH_FAILURE } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { S as SettingNames, I as InputText } from "./InputText-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { a as useGlobalData, b as useStateContext } from "./useGlobalData-
|
|
20
|
-
import { a as useToastContext } from "./useToastContext-
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-
|
|
24
|
-
import { a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
25
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
26
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./documentUtils-
|
|
28
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
29
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
13
|
+
import { g as getForms, B as BasicInformation, C as CompanyStructure, A as AdditionalInformation, F as FinancialInformation, h as getDefaultRegistrationNumberType, i as getDefaultVatNumberType, j as FIELDS_NEEDED_FOR_COMPANY_SEARCH, k as companyTypeMetadata, l as documentFormsIds, r as registrationNumberDefaultFieldMetadata, m as inferCompanyRegistrationNumberType, o as registrationNumberDefaultFieldConfig, v as verifiedBusiness, s as setIsBankAccountRequestedForOrganization, p as useCompanySearch, q as useCompanySelection, t as useVerifyTin, w as useClearCompanyData, x as useBusinessLines, y as isNormalizedStringMatch, z as setVerifiedBusiness, D as useIndustryCodes, G as useDebouncedState, H as legalFormFieldMetadata, I as stockTickerSymbolFieldMetadata, J as stockISINFieldMetadata, K as stockExchangeMICFieldMetadata, L as dateOfIncorporationFieldMetadata, M as industryCodeFieldMetadata, N as eInvoicingCodeFieldMetadata, P as vatAbsenceReasonMetadata, Q as defaultFieldMetadata, R as defaultFieldConfig, S as doingBusinessAsFieldMetadata, T as doingBusinessAsAbsentFieldMetadata, V as VerifiedBusinessCard, U as LEGAL_FORM_FIELDS, W as DBA_NAME_FIELD, X as DBANameField, Y as BUSINESS_REGISTRATION_NUMBER_FIELD, Z as BusinessRegistrationNumberField, _ as VAT_NUMBER_FIELD, $ as VatNumberField, a0 as EInvoicingCodeField, a1 as EINVOICING_CODE_FIELD, a2 as INDUSTRY_CODE_FIELD, a3 as IndustryCodeField, a4 as DATE_OF_INCORPORATION_FIELD, a5 as DateOfIncorporationField, a6 as STOCK_EXCHANGE_MIC_FIELD, a7 as StockExchangeMICField, a8 as STOCK_ISIN_FIELD, a9 as StockISINField, aa as STOCK_TICKER_SYMBOL_FIELD, ab as StockTickerSymbolField, ac as ADDITIONAL_INFORMATION_FORM_ID, ad as localizedLegalCompanyNameFieldConfig, ae as defaultFieldMetadata$1, af as defaultFieldConfig$1, ag as defaultFieldMetadataV4, ah as defaultFieldMetadata$2, ai as defaultFieldConfigV4, aj as defaultFieldConfig$2, ak as useLegalCompanyNameField, al as COUNTRY_OF_GOVERNING_LAW_FIELD, am as CountryOfGoverningLawField, an as LEGAL_COMPANY_NAME_FIELD, ao as isBankAccountRequestedForOrganization, ap as companyTypeOptions, aq as useCompanyTypeExamples, E as EntityTypeRadioGroupCard, ar as BusinessSelectionMultiform, as as isVerifiedSingleCompanySearchResult, at as exemptFromRegistrationNumberDefaultFieldMetadata, au as CountryOfGoverningLawFieldValidation, av as CountryFieldValidation, aw as financialInfoValidationWithEmployeesRules, ax as CompanyStructureValidation, ay as tinMatched, az as businessMismatchModalOpen, aA as applyVerifiedBusinessData, aB as KOMPANY_SEARCH_FAILURE } from "./OnboardingDropinComponent-Cljx74I-.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-DVnOsDCX.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-bNnaPjOD.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Hn7ZLWeu.js";
|
|
17
|
+
import { S as SettingNames, I as InputText } from "./InputText-DHRZ5RNd.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-BwDHn0i2.js";
|
|
19
|
+
import { a as useGlobalData, b as useStateContext } from "./useGlobalData-VlkNij1C.js";
|
|
20
|
+
import { a as useToastContext } from "./useToastContext-mFlAEux_.js";
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-6LtTXNwK.js";
|
|
22
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DSk8OL7G.js";
|
|
23
|
+
import { m as mapExistingFile, g as getPageName, u as useScenarioConfiguration } from "./mapExistingFile-nB9LIvV9.js";
|
|
24
|
+
import { a as datasetUtilities, C as Confirm } from "./useDataset-ClAqXJGw.js";
|
|
25
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BH-_hzMa.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-BfsyttAY.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./documentUtils-CunPooif.js";
|
|
28
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BLXGczCN.js";
|
|
29
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-BvNcGa2w.js";
|
|
30
30
|
import cx from "classnames";
|
|
31
|
-
import { $ as MemoizedDocumentUpload, C as CompanyTypesValues, n as COUNTRIES_USING_COMPANY_SEARCH, a0 as isRegistrationNumberAbsentStateV4Scenario, E as isEmpty, a1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a2 as countryToTaxInfoTypeMap, i as taxInformationDefaultFieldConfig, a3 as rules, T as TAX_INFORMATION_FIELD, j as TaxInformationField, u as useAllowedCountries, m as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./IndividualOnfido-
|
|
32
|
-
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
33
|
-
import { g as getFormProps, s as summaryItem, m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, a as Link } from "./CountryField-
|
|
34
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
35
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
31
|
+
import { $ as MemoizedDocumentUpload, C as CompanyTypesValues, n as COUNTRIES_USING_COMPANY_SEARCH, a0 as isRegistrationNumberAbsentStateV4Scenario, E as isEmpty, a1 as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, r as requestingBanking, e as requestingIssuing, a as getCompanyRegistrationNumberOptions, t as taxInformationDefaultFieldMetadata, a2 as countryToTaxInfoTypeMap, i as taxInformationDefaultFieldConfig, a3 as rules, T as TAX_INFORMATION_FIELD, j as TaxInformationField, u as useAllowedCountries, m as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./IndividualOnfido-CmDDWqG_.js";
|
|
32
|
+
import { M as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-DIW7X8rZ.js";
|
|
33
|
+
import { g as getFormProps, s as summaryItem, m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, E as ErrorPanel, C as CountryField, b as COUNTRY_FIELD, a as Link } from "./CountryField-D36v7bff.js";
|
|
34
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BVw3rIvU.js";
|
|
35
|
+
import { u as useMultiForm } from "./useMultiForm-C3xbz4Qc.js";
|
|
36
36
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
37
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
38
|
-
import { o as operationalAddressIsSameIds, k as isDateOlderThanAYear, r as mapAddressLabels, s as getKeyForField, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, u as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, A as Address, d as getNestedTrustedFields, e as getAddressSchemaLabelsByCountry, S as STATE_FIELD, h as StateField } from "./Address-
|
|
37
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BgizOY0T.js";
|
|
38
|
+
import { o as operationalAddressIsSameIds, k as isDateOlderThanAYear, r as mapAddressLabels, s as getKeyForField, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, u as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, A as Address, d as getNestedTrustedFields, e as getAddressSchemaLabelsByCountry, S as STATE_FIELD, h as StateField } from "./Address-DrRgozSN.js";
|
|
39
39
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
40
|
-
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
41
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
42
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
40
|
+
import { m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-DnDo_BVY.js";
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CfIII-oi.js";
|
|
42
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-D99U6JIQ.js";
|
|
43
43
|
import { Suspense, lazy } from "preact/compat";
|
|
44
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
45
|
-
import { F as Field } from "./useForm-
|
|
46
|
-
import { L as LegalFormField } from "./Currency-
|
|
47
|
-
import { M as Modal, a as ModalContent } from "./Modal-
|
|
48
|
-
import { s as summaryStep } from "./Summary-
|
|
44
|
+
import { C as Checkbox } from "./debouncedInputEvent-Bifj90NU.js";
|
|
45
|
+
import { F as Field } from "./useForm-C8SA0ETz.js";
|
|
46
|
+
import { L as LegalFormField } from "./Currency-DlHtZ9aJ.js";
|
|
47
|
+
import { M as Modal, a as ModalContent } from "./Modal-lDK70UQc.js";
|
|
48
|
+
import { s as summaryStep } from "./Summary-Ccxu9A6C.js";
|
|
49
49
|
const documentTypes$2 = [
|
|
50
50
|
{ id: "Internal company document", name: "internalCompanyDocument" },
|
|
51
51
|
{ id: "Business registry statement", name: "businessRegistryStatement" }
|
|
@@ -2264,7 +2264,7 @@ function BusinessDetailsDropin({
|
|
|
2264
2264
|
);
|
|
2265
2265
|
}
|
|
2266
2266
|
const LazyJpAddress = lazy(
|
|
2267
|
-
async () => (await import("./JpAddress-
|
|
2267
|
+
async () => (await import("./JpAddress-DCky_der.js")).JpAddress
|
|
2268
2268
|
);
|
|
2269
2269
|
function AdditionalInformationMultiform({
|
|
2270
2270
|
id,
|
package/dist/{BusinessFinancingComponent-DyvM-fsY.js → BusinessFinancingComponent-CGBUx-zj.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, g as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, g as getLegalEntityCountry, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper, L as Loader } from "./StoreProvider-l6WD5T55.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
14
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
13
|
+
import { M as MaybeModal } from "./MaybeModal-D4PWacZ0.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DxKkpM-k.js";
|
|
15
15
|
function BusinessFinancingComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onSubmitSuccess,
|
|
@@ -25,7 +25,7 @@ function BusinessFinancingComponent({
|
|
|
25
25
|
[rootLegalEntity]
|
|
26
26
|
);
|
|
27
27
|
addResourceBundles(i18n, [
|
|
28
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-l6WD5T55.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-BAg3NqQO.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Bk2IHQWP.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-MiyuQqH8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-DGMVrsJv.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BHt_jklG.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DDsdPI5V.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-DLm11dH5.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-CWe8f7m4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-Cg9c0kae.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-DsxFGThp.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CMw-FwQV.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dhj0Fh__.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DGSYzOx6.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Be5ZycMV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-BR-BI5Jn.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-5I4Q_FyK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BVmoP_EU.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CaJmYb6p.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-D_ZnGxiQ.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
30
30
|
{
|
|
31
31
|
ns: "businessFinancing",
|
|
@@ -9,29 +9,29 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState } from "preact/hooks";
|
|
12
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
13
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
15
|
-
import { aZ as reverseMapping, a_ as isEeaCountry, t as LegalEntityTypes, aA as cloneObject, b as useApiContext, j as useQuery, m as httpGet, W as useI18nContext, u as useTranslation, H as Typography, G as translateStringOrObject, a0 as useAnalyticsContext, o as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-
|
|
16
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
17
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
18
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
19
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
22
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
12
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-bNnaPjOD.js";
|
|
13
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-mFlAEux_.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Hn7ZLWeu.js";
|
|
15
|
+
import { aZ as reverseMapping, a_ as isEeaCountry, t as LegalEntityTypes, aA as cloneObject, b as useApiContext, j as useQuery, m as httpGet, W as useI18nContext, u as useTranslation, H as Typography, G as translateStringOrObject, a0 as useAnalyticsContext, o as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-l6WD5T55.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-BVw3rIvU.js";
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-DHRZ5RNd.js";
|
|
18
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DlO3x839.js";
|
|
19
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-DSk8OL7G.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-C3xbz4Qc.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-CPXu6AzB.js";
|
|
22
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CfIII-oi.js";
|
|
23
23
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
24
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
25
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
26
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-
|
|
24
|
+
import { a as datasetUtilities } from "./useDataset-ClAqXJGw.js";
|
|
25
|
+
import { l as localizeDateString } from "./localizeDateString-RwwotuyP.js";
|
|
26
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./mapFinancialReportsToFinancialInformation-BgizOY0T.js";
|
|
27
27
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
28
|
-
import { c as createFormUtils, a as Link, d as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-
|
|
29
|
-
import { R as RadioGroup, I as InputDate, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, A as Address, e as getAddressSchemaLabelsByCountry } from "./Address-
|
|
30
|
-
import { c as currencyByCountry } from "./types-
|
|
31
|
-
import { F as Field, S as Select } from "./useForm-
|
|
32
|
-
import { L as LegalFormField, I as InputNumber, b as Currency, C as CURRENCY_FIELD, a as InputCurrency } from "./Currency-
|
|
33
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
34
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
28
|
+
import { c as createFormUtils, a as Link, d as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-D36v7bff.js";
|
|
29
|
+
import { R as RadioGroup, I as InputDate, i as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, A as Address, e as getAddressSchemaLabelsByCountry } from "./Address-DrRgozSN.js";
|
|
30
|
+
import { c as currencyByCountry } from "./types-6CojAGL0.js";
|
|
31
|
+
import { F as Field, S as Select } from "./useForm-C8SA0ETz.js";
|
|
32
|
+
import { L as LegalFormField, I as InputNumber, b as Currency, C as CURRENCY_FIELD, a as InputCurrency } from "./Currency-DlHtZ9aJ.js";
|
|
33
|
+
import { C as Checkbox } from "./debouncedInputEvent-Bifj90NU.js";
|
|
34
|
+
import { b as businessFinancingMultiformRules } from "./validate-DDHUnwWC.js";
|
|
35
35
|
const businessFinancingBaseMapping = {
|
|
36
36
|
legalProceedingsDate: "organization.dateOfInitiationOfLegalProceeding",
|
|
37
37
|
legalInformationInsolvency: "organization.statusOfLegalProceeding",
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-l6WD5T55.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-DxKkpM-k.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
|
@@ -22,7 +22,7 @@ const BusinessFinancingPage = ({
|
|
|
22
22
|
ns: "businessFinancing",
|
|
23
23
|
importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../tasks/BusinessFinancingDropin/language/bg-BG.json": () => import("./bg-BG-wVquMNtT.js"), "../tasks/BusinessFinancingDropin/language/cs-CZ.json": () => import("./cs-CZ--jOkoHVS.js"), "../tasks/BusinessFinancingDropin/language/da-DK.json": () => import("./da-DK-JHZnsI59.js"), "../tasks/BusinessFinancingDropin/language/de-DE.json": () => import("./de-DE-VGGEkxUT.js"), "../tasks/BusinessFinancingDropin/language/el-GR.json": () => import("./el-GR-gkaKwnln.js"), "../tasks/BusinessFinancingDropin/language/en-US.json": () => import("./en-US-CzEL6t1W.js"), "../tasks/BusinessFinancingDropin/language/es-ES.json": () => import("./es-ES-Bn9_0wK0.js"), "../tasks/BusinessFinancingDropin/language/et-EE.json": () => import("./et-EE-BYSnV6Iq.js"), "../tasks/BusinessFinancingDropin/language/fi-FI.json": () => import("./fi-FI-PVFqd5Ra.js"), "../tasks/BusinessFinancingDropin/language/fr-FR.json": () => import("./fr-FR-mJK4hjwD.js"), "../tasks/BusinessFinancingDropin/language/hr-HR.json": () => import("./hr-HR-qmYyO-nT.js"), "../tasks/BusinessFinancingDropin/language/hu-HU.json": () => import("./hu-HU-CS-7iNS4.js"), "../tasks/BusinessFinancingDropin/language/it-IT.json": () => import("./it-IT-BTWkWSJq.js"), "../tasks/BusinessFinancingDropin/language/ja-JP.json": () => import("./ja-JP-CSz7fEkn.js"), "../tasks/BusinessFinancingDropin/language/lt-LT.json": () => import("./lt-LT-B6XmKUXx.js"), "../tasks/BusinessFinancingDropin/language/lv-LV.json": () => import("./lv-LV-DsSpy50n.js"), "../tasks/BusinessFinancingDropin/language/nl-NL.json": () => import("./nl-NL-CTf7zH4M.js"), "../tasks/BusinessFinancingDropin/language/no-NO.json": () => import("./no-NO-RfTK9KAV.js"), "../tasks/BusinessFinancingDropin/language/pl-PL.json": () => import("./pl-PL-Dy8qWH39.js"), "../tasks/BusinessFinancingDropin/language/pt-BR.json": () => import("./pt-BR-BbFJsIVX.js"), "../tasks/BusinessFinancingDropin/language/pt-PT.json": () => import("./pt-PT-B4F_5NWi.js"), "../tasks/BusinessFinancingDropin/language/ro-RO.json": () => import("./ro-RO-CICjAFys.js"), "../tasks/BusinessFinancingDropin/language/sk-SK.json": () => import("./sk-SK-BRd5TN22.js"), "../tasks/BusinessFinancingDropin/language/sl-SI.json": () => import("./sl-SI-D8dDckrW.js"), "../tasks/BusinessFinancingDropin/language/sv-SE.json": () => import("./sv-SE-DGpvVvWj.js") }), `../tasks/BusinessFinancingDropin/language/${lang}.json`, 5)
|
|
24
24
|
},
|
|
25
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
25
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-mLSjG76Q.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BsV9NiQ2.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D4Ojw97o.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BcuLmcC8.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CofvCav-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-l6WD5T55.js").then((n) => n.bM), "../../../language/locales/es-ES.json": () => import("./es-ES-BAg3NqQO.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Bk2IHQWP.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-MiyuQqH8.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-DGMVrsJv.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BHt_jklG.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DDsdPI5V.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-DLm11dH5.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-CWe8f7m4.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-Cg9c0kae.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-DsxFGThp.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CMw-FwQV.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dhj0Fh__.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DGSYzOx6.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Be5ZycMV.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-BR-BI5Jn.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-5I4Q_FyK.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-BVmoP_EU.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-CaJmYb6p.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-D_ZnGxiQ.js") }), `../../../language/locales/${lang}.json`, 6) }
|
|
26
26
|
]);
|
|
27
27
|
if (!rootLe) {
|
|
28
28
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{BusinessTypeSelectionPage-DpZAsa8K.js → BusinessTypeSelectionPage-CH-OiNqT.js}
RENAMED
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { U as createLogger, u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, M as useAccountHolder, by as getCapabilities, g as getLegalEntityCountry, t as LegalEntityTypes, H as Typography, B as Button, a3 as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { U as createLogger, u as useTranslation, a0 as useAnalyticsContext, p as useExperimentsContext, M as useAccountHolder, by as getCapabilities, g as getLegalEntityCountry, t as LegalEntityTypes, H as Typography, B as Button, a3 as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-l6WD5T55.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { u as useForm, L as LoaderWrapper, F as Field } from "./useForm-
|
|
15
|
-
import { R as RadioGroupCard } from "./fieldConfigurations-
|
|
16
|
-
import { S as Spacer } from "./getName-
|
|
17
|
-
import { a as useToastContext } from "./useToastContext-
|
|
18
|
-
import { E as EntityTypeRadioGroupCard } from "./OnboardingDropinComponent-
|
|
19
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
13
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Hn7ZLWeu.js";
|
|
14
|
+
import { u as useForm, L as LoaderWrapper, F as Field } from "./useForm-C8SA0ETz.js";
|
|
15
|
+
import { R as RadioGroupCard } from "./fieldConfigurations-D99U6JIQ.js";
|
|
16
|
+
import { S as Spacer } from "./getName-_U3PeNHl.js";
|
|
17
|
+
import { a as useToastContext } from "./useToastContext-mFlAEux_.js";
|
|
18
|
+
import { E as EntityTypeRadioGroupCard } from "./OnboardingDropinComponent-Cljx74I-.js";
|
|
19
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-BH-_hzMa.js";
|
|
20
20
|
const businessTypeExamples = /* @__PURE__ */ Object.assign({ "../localized/legalEntityTypeExamples/AT.json": () => import("./AT-EpV7jN58.js"), "../localized/legalEntityTypeExamples/AU.json": () => import("./AU-pBsEvEUy.js"), "../localized/legalEntityTypeExamples/BE.json": () => import("./BE-CU5o9cmc.js"), "../localized/legalEntityTypeExamples/BR.json": () => import("./BR-ORoHRwTk.js"), "../localized/legalEntityTypeExamples/CA.json": () => import("./CA-VXNq-m6m.js"), "../localized/legalEntityTypeExamples/CH.json": () => import("./CH-B_-afpD_.js"), "../localized/legalEntityTypeExamples/CZ.json": () => import("./CZ-CTw_bQIu.js"), "../localized/legalEntityTypeExamples/DE.json": () => import("./DE-D_jIDxOH.js"), "../localized/legalEntityTypeExamples/DK.json": () => import("./DK-dBzrfgpQ.js"), "../localized/legalEntityTypeExamples/ES.json": () => import("./ES-DYbZmFcJ.js"), "../localized/legalEntityTypeExamples/FI.json": () => import("./FI-C9nRvop7.js"), "../localized/legalEntityTypeExamples/FR.json": () => import("./FR-BycGQO4W.js"), "../localized/legalEntityTypeExamples/GB.json": () => import("./GB-DFyzo5sN.js"), "../localized/legalEntityTypeExamples/HK.json": () => import("./HK-WqZ5UBEF.js"), "../localized/legalEntityTypeExamples/HR.json": () => import("./HR-CRa19tH1.js"), "../localized/legalEntityTypeExamples/HU.json": () => import("./HU-D5NCweWf.js"), "../localized/legalEntityTypeExamples/IE.json": () => import("./IE-rhATS57q.js"), "../localized/legalEntityTypeExamples/IT.json": () => import("./IT-wD7dHdYD.js"), "../localized/legalEntityTypeExamples/LT.json": () => import("./LT-0F72uCyI.js"), "../localized/legalEntityTypeExamples/NL.json": () => import("./NL-q2U2l276.js"), "../localized/legalEntityTypeExamples/NO.json": () => import("./NO-CX12Zsf_.js"), "../localized/legalEntityTypeExamples/PL.json": () => import("./PL-CwCXF3Yu.js"), "../localized/legalEntityTypeExamples/PT.json": () => import("./PT-Dei5v1nD.js"), "../localized/legalEntityTypeExamples/RO.json": () => import("./RO-Dxk08mOu.js"), "../localized/legalEntityTypeExamples/SE.json": () => import("./SE-AP3gLiyy.js"), "../localized/legalEntityTypeExamples/SG.json": () => import("./SG-DMcOb17i.js"), "../localized/legalEntityTypeExamples/SI.json": () => import("./SI-BXe-yndm.js"), "../localized/legalEntityTypeExamples/SK.json": () => import("./SK-DwdgoGnD.js"), "../localized/legalEntityTypeExamples/US.json": () => import("./US-DHxLSqeC.js") });
|
|
21
21
|
const logger$1 = createLogger();
|
|
22
22
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { H as Typography } from "./StoreProvider-
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
12
|
+
import { H as Typography } from "./StoreProvider-l6WD5T55.js";
|
|
13
|
+
import { a as Alert } from "./Alert-BVHHWVgg.js";
|
|
14
14
|
function Card({
|
|
15
15
|
className,
|
|
16
16
|
headerClassName,
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { memo } from "preact/compat";
|
|
12
|
-
import { aj as objectsDeepEqual, u as useTranslation, t as LegalEntityTypes } from "./StoreProvider-
|
|
13
|
-
import { $ as MemoizedDocumentUpload } from "./IndividualOnfido-
|
|
12
|
+
import { aj as objectsDeepEqual, u as useTranslation, t as LegalEntityTypes } from "./StoreProvider-l6WD5T55.js";
|
|
13
|
+
import { $ as MemoizedDocumentUpload } from "./IndividualOnfido-CmDDWqG_.js";
|
|
14
14
|
const ConstitutionalDocumentTypes = {
|
|
15
15
|
BUSINESS_NAME_FILING: "doingBusinessAsNameFiling",
|
|
16
16
|
TAX_FILING: "taxFiling",
|
|
@@ -11,12 +11,12 @@ import { jsx, jsxs, Fragment as Fragment$1 } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
13
|
import { toChildArray, Fragment, createContext } from "preact";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./InputText-
|
|
14
|
+
import { T as TaskVerificationStatus } from "./InputText-DHRZ5RNd.js";
|
|
15
15
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
16
|
-
import { a as Alert } from "./Alert-
|
|
17
|
-
import { B as Button, u as useTranslation, ap as keysOf, aS as remediationHasFileUploadField, $ as entriesOf, G as translateStringOrObject, aT as TrustMemberGuidanceLabels, ag as TrustMemberTypes, am as DecisionMakerTypes, X as isEmpty, a3 as Icon } from "./StoreProvider-
|
|
18
|
-
import { g as getDataByFields, F as Field, S as Select } from "./useForm-
|
|
19
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
16
|
+
import { a as Alert } from "./Alert-BVHHWVgg.js";
|
|
17
|
+
import { B as Button, u as useTranslation, ap as keysOf, aS as remediationHasFileUploadField, $ as entriesOf, G as translateStringOrObject, aT as TrustMemberGuidanceLabels, ag as TrustMemberTypes, am as DecisionMakerTypes, X as isEmpty, a3 as Icon } from "./StoreProvider-l6WD5T55.js";
|
|
18
|
+
import { g as getDataByFields, F as Field, S as Select } from "./useForm-C8SA0ETz.js";
|
|
19
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-ClAqXJGw.js";
|
|
20
20
|
const stackLayout = "adyen-kyc-stack-layout";
|
|
21
21
|
const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
|
|
22
22
|
const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
|