@adyen/kyc-components 3.85.0-beta.1 → 3.85.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BW8S5c-F.js → AcceptTermsOfServiceComponent-DWt6MA7A.js} +14 -14
- package/dist/{Accordion-CxXXx4Ly.js → Accordion-DQSd9JrF.js} +1 -1
- package/dist/{AccountSetupRejected-B0RVdTUw.js → AccountSetupRejected-Y2jV7DOd.js} +4 -4
- package/dist/{Address-BBHj9Aas.js → Address-CN31gTRW.js} +7 -7
- package/dist/{Alert-Dz_jjJ1E.js → Alert-B2qwr9au.js} +2 -2
- package/dist/{Avatar-CCed5bJE.js → Avatar-CrL6cVDB.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-B7HHvJeq.js → BusinessDetailsMultiformDropin-BB1mTi0Z.js} +76 -75
- package/dist/{BusinessFinancingComponent-D9cn6vVF.js → BusinessFinancingComponent-BevBrUTE.js} +4 -4
- package/dist/{BusinessFinancingDropin-CCci5zHD.js → BusinessFinancingDropin-BgU5hfv0.js} +22 -22
- package/dist/{BusinessFinancingPage-DuRkxp4x.js → BusinessFinancingPage-u2Xu42u-.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CQvrZNZZ.js → BusinessTypeSelectionPage-BNxEzkjO.js} +6 -6
- package/dist/{Card-dFm_Z3TI.js → Card-N9psV2kP.js} +3 -3
- package/dist/{CountryField-DunKeW_n.js → CountryField-CFppUh42.js} +4 -4
- package/dist/{CreateIndividualComponent-wFiOsvgz.js → CreateIndividualComponent-BL3dK960.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-B_fQXq70.js → CreateTransferInstrumentComponent-kxMU_XVD.js} +4 -4
- package/dist/{Currency-2wpP-9m3.js → Currency-Zz8j3LFf.js} +5 -5
- package/dist/{CustomerSupport-DyfNEq22.js → CustomerSupport-CkqG00fn.js} +8 -8
- package/dist/{DebugModal-BMw5O5pH.js → DebugModal-Cxp_Lbjk.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D-8hNnWf.js → DecisionMakerDetailsPage-kpoxsSYP.js} +5 -5
- package/dist/{DecisionMakers-DUjAziKs.js → DecisionMakers-DMboYynJ.js} +18 -18
- package/dist/{Divider-Ckm8Nfyb.js → Divider-DiS12D_i.js} +3 -3
- package/dist/{Dropzone-BtTUNjsc.js → Dropzone-DSyKXnbD.js} +3 -3
- package/dist/{EmbeddedStatus-kQRIlMAC.js → EmbeddedStatus-DdZv9Kwp.js} +2 -2
- package/dist/{EndStateLayout-CePzY6oB.js → EndStateLayout-Cswr0wiZ.js} +1 -1
- package/dist/{FormNavigation-a9y0a0iw.js → FormNavigation-DrejHtXO.js} +2 -2
- package/dist/{Image-TkXLA-UY.js → Image-BhBefhke.js} +1 -1
- package/dist/{IndividualOnfidoDropin-CljBpKM8.js → IndividualOnfidoDropin-CydUe7_6.js} +40 -40
- package/dist/{InputDate-DggMbeJG.js → InputDate-C2j7qA_b.js} +1 -1
- package/dist/{InputText-zem7Kt4i.js → InputText-EX5kyD9L.js} +2 -2
- package/dist/{Introduction-DH4Tivyl.js → Introduction-DncY2r7T.js} +3 -3
- package/dist/{JpAddress-BEKjE0bR.js → JpAddress-BTfvrykR.js} +6 -6
- package/dist/{LandingLayout-BLjTVlVb.js → LandingLayout-Ca68Z9DA.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-Dny2mD-G.js → LegalRepresentativeDetailsPage-DxqaU2W7.js} +3 -3
- package/dist/{Link-BZJgg2rS.js → Link-BS6Zpegg.js} +1 -1
- package/dist/{ListItem-BqBZ36Qn.js → ListItem-pn0XFAz_.js} +2 -2
- package/dist/{ManageIndividualComponent-CHbI_tji.js → ManageIndividualComponent-CKRuUS0t.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-Dwsmig7o.js → ManageTermsOfServiceComponent-DDgriC3w.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-Btz3RWc6.js → ManageTransferInstrumentComponent-BoQn6JaV.js} +10 -10
- package/dist/{MaskedInput-CSKFmTC0.js → MaskedInput-DB6EYmfa.js} +4 -4
- package/dist/{MaybeModal-DraEs2gj.js → MaybeModal-B1X7K4z1.js} +2 -2
- package/dist/{Modal-DvB1odWq.js → Modal-ConNvgj4.js} +1 -1
- package/dist/{OnboardingDropinComponent-KKy3000L.js → OnboardingDropinComponent-IKzrTT3r.js} +44 -44
- package/dist/{PayoutDetailsDropin-BFUH8RvF.js → PayoutDetailsDropin-CHOa81Ot.js} +25 -25
- package/dist/{RadioGroup-Br5v8w0a.js → RadioGroup-DhwjhH0X.js} +4 -4
- package/dist/{RegistrationAddress-CP_kZ9NI.js → RegistrationAddress-BnyrwF-X.js} +13 -13
- package/dist/{Review-4b9BWdsh.js → Review-BAuL4AQ-.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DO5202Yd.js → RootBusinessDetailsPage-BFR4Sxfp.js} +3 -3
- package/dist/{RootBusinessLinesPage-D0tGN2u3.js → RootBusinessLinesPage-D-YRRyIW.js} +21 -21
- package/dist/{RootIndividualDetailsPage-2c_nvpAv.js → RootIndividualDetailsPage-D6lLtamt.js} +3 -3
- package/dist/{SignPCIComponent-4UrP4tNd.js → SignPCIComponent-B6FQiV5E.js} +9 -9
- package/dist/{SingpassSelection-DTOk81Y1.js → SingpassSelection-DxGUYazk.js} +4 -4
- package/dist/{SoleProprietorshipPage-BL3u4nCi.js → SoleProprietorshipPage-BKlAFmwp.js} +3 -3
- package/dist/{SourceOfFundsPage-HgGh-VDQ.js → SourceOfFundsPage-Ce-Mim_H.js} +26 -26
- package/dist/{StepProgressIndicator-sfM13J_b.js → StepProgressIndicator-BymtNCPV.js} +1 -1
- package/dist/{StoreProvider-DadhkEyO.js → StoreProvider-BYjTSjnX.js} +4 -4
- package/dist/{TaskItemStatus-DuJ01Ng6.js → TaskItemStatus-BholBQ7C.js} +2 -2
- package/dist/{TaxInformationField-C4OeLAhU.js → TaxInformationField-DCjcBMwQ.js} +14 -14
- package/dist/{TaxReportingDropin-2VcdfJvr.js → TaxReportingDropin-CSa5vto5.js} +16 -16
- package/dist/{TileGroup-B_9rid7_.js → TileGroup-BkTpSpVX.js} +3 -3
- package/dist/{TrustDetailsPage-COIeKAk2.js → TrustDetailsPage-CYMeuEyr.js} +23 -23
- package/dist/{TrustMemberCompanyPage-CwNG1bni.js → TrustMemberCompanyPage-DICY9KDR.js} +4 -4
- package/dist/{TrustMemberIndividualPage-D57poDUv.js → TrustMemberIndividualPage-DUGmI852.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-oiEGWL8D.js → UnincorporatedPartnershipIndividualPage-DZZc7sEn.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-av-gOgOa.js → UnincorporatedPartnershipMemberCompanyPage-CuvkBZ2N.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-Zk6t-F6h.js → ViewVerificationStatusComponent-zXuO8CY1.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/{analytics-awjVudvY.js → analytics-DkXXx2b6.js} +1 -1
- package/dist/{bafinUtils-CAVAvSFg.js → bafinUtils-DkP3ZoN4.js} +5 -5
- package/dist/{commonValidators-DM04eNpa.js → commonValidators-BLvtzPWZ.js} +1 -1
- package/dist/{dropinUtils-wWEQXoqU.js → dropinUtils-CCEDaAJW.js} +2 -2
- package/dist/{fieldConfigurations-BZuo2e0d.js → fieldConfigurations-BsOQ678Q.js} +5 -5
- package/dist/{getName-DwJ2SEhe.js → getName-Dc03c4n_.js} +1 -1
- package/dist/{hasDataChanged-qmdT2J_a.js → hasDataChanged-CUdKM92N.js} +1 -1
- package/dist/{iframeWidget-Bdf5GkVq.js → iframeWidget-BWwxgbNs.js} +3 -3
- package/dist/{isEmpty-DWL1114W.js → isEmpty-B0GMAw4K.js} +1 -1
- package/dist/{localizeDateString--iXm1oBl.js → localizeDateString-rfEOu5f7.js} +1 -1
- package/dist/{mapExistingFile-Ct5Drm_t.js → mapExistingFile-D_HVWRXe.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Btg-uZPu.js → mapJpAddressSchemaToAddressLocalizations-D7YGYa9S.js} +5 -5
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-DQsaMiqB.js → mapLegalEntityToIndividualOnfidoSchema-DsQrqqP5.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CRhSOuJd.js → mapTransferInstrumentToPayoutAccount-MugvfqfK.js} +1 -1
- package/dist/{process-field-configurations-B1Iwtpx2.js → process-field-configurations-CiECrUSj.js} +2 -2
- package/dist/{resolveEnvironment-DC9P7X3D.js → resolveEnvironment-DTYC79J1.js} +3 -3
- package/dist/{rules-CzXw9tws.js → rules-BfrH23mO.js} +3 -3
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +5 -0
- package/dist/{types-BzOpGekG.js → types-DNH7oNbA.js} +1 -1
- package/dist/{types-28yvE9dj.js → types-SBNit_kK.js} +1 -1
- package/dist/{useAssociatedLegalEntity-Cd77TYXt.js → useAssociatedLegalEntity-CmhNWabq.js} +1 -1
- package/dist/{useDataset-B-72Ufk7.js → useDataset-C0A9qR_N.js} +2 -2
- package/dist/{useForm-Aw38WiTE.js → useForm-CNi1k1NR.js} +3 -3
- package/dist/{useFormContext-Bx1n-f4V.js → useFormContext-DrrsFJH7.js} +6 -6
- package/dist/{useGlobalData-BYJWYYpf.js → useGlobalData-rR_jnTzW.js} +9 -9
- package/dist/{useMultiForm-D-wGVJq1.js → useMultiForm-CU58VvHX.js} +3 -3
- package/dist/{useOnboardingStatus-AbPudgMj.js → useOnboardingStatus-DuIJSnGH.js} +1 -1
- package/dist/{useScenarios-CEHvpucH.js → useScenarios-T0NF0gUi.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BugRyfkQ.js → useTermsOfServiceStatus-1oGd6y18.js} +1 -1
- package/dist/{useToastContext-D58NfzLh.js → useToastContext-DHgUoF6x.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BOfx-rWR.js → useUnincorporatedPartnershipMembers-57G1Bu4k.js} +4 -4
- package/dist/{utils-D-PqLpBS.js → utils-AieP90ex.js} +1 -1
- package/dist/{utils-qNiMqbmo.js → utils-Bd79Y_6k.js} +2 -2
- package/dist/{utils-JAm-rEQS.js → utils-DZz9bCID.js} +6 -6
- package/dist/{validate-BY5vrcXH.js → validate-Bz6-McmI.js} +1 -1
- package/dist/{validate-6QHmaW1O.js → validate-DzaSMOa2.js} +2 -2
- package/dist/{validate-9J9pJpyR.js → validate-WO7yAOk4.js} +6 -6
- package/dist/{validationError-kAn6qx2R.js → validationError-Ci4nlmhZ.js} +1 -1
- package/package.json +1 -1
package/dist/{AcceptTermsOfServiceComponent-BW8S5c-F.js → AcceptTermsOfServiceComponent-DWt6MA7A.js}
RENAMED
|
@@ -7,23 +7,23 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, aD as useMutation, k as httpPost, j as useQuery, q as skipToken, o as httpGet, N as createLogger, u as useTranslation, P as useAnalyticsContext, X as useExperimentsContext, aM as getLanguageCode, B as Button, y as LegalEntityTypes, a2 as getOwnSignatories, r as doesLegalEntityRequiresLegalRepresentative, p as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, M as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, aD as useMutation, k as httpPost, j as useQuery, q as skipToken, o as httpGet, N as createLogger, u as useTranslation, P as useAnalyticsContext, X as useExperimentsContext, aM as getLanguageCode, B as Button, y as LegalEntityTypes, a2 as getOwnSignatories, r as doesLegalEntityRequiresLegalRepresentative, p as getLegalRepresentative, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, M as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-BYjTSjnX.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
15
|
-
import { C as Checkbox } from "./analytics-
|
|
16
|
-
import { a as useForm, L as LoaderWrapper, F as Field, c as Select } from "./useForm-
|
|
17
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
18
|
-
import { a as ModalContent, b as ModalFooter } from "./Modal-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DHgUoF6x.js";
|
|
14
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-1oGd6y18.js";
|
|
15
|
+
import { C as Checkbox } from "./analytics-DkXXx2b6.js";
|
|
16
|
+
import { a as useForm, L as LoaderWrapper, F as Field, c as Select } from "./useForm-CNi1k1NR.js";
|
|
17
|
+
import { M as MaybeModal } from "./MaybeModal-B1X7K4z1.js";
|
|
18
|
+
import { a as ModalContent, b as ModalFooter } from "./Modal-ConNvgj4.js";
|
|
19
19
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
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, F as FormNavigation } from "./FormNavigation-
|
|
20
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-BymtNCPV.js";
|
|
21
|
+
import { E as EndStateLayout } from "./EndStateLayout-Cswr0wiZ.js";
|
|
22
|
+
import { a as Alert } from "./Alert-B2qwr9au.js";
|
|
23
|
+
import { A as ActionBar, F as FormNavigation } from "./FormNavigation-DrejHtXO.js";
|
|
24
24
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
25
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
26
|
-
import { l as localizeDateString } from "./localizeDateString
|
|
25
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-Dc03c4n_.js";
|
|
26
|
+
import { l as localizeDateString } from "./localizeDateString-rfEOu5f7.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, i18n.language, [
|
|
591
|
-
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
591
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BYjTSjnX.js").then((n) => n.bK), "../../../language/locales/es-ES.json": () => import("./es-ES-CnNU6AJv.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BR4OXRfV.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-u5GxMZsq.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CMjrAkKl.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-Bhsop3CT.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-D2j1ISVk.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-C7Sg1k4p.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-GSbqID7o.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DSiutpRl.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-C62XiDE5.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BOJ6zuBr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-CuwTDFSf.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-1-MrLPXu.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Br_cHzGx.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-cjbtYBUX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CGhIjlpU.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Do6CKNU4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-cY-L2ma-.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BtwPrLEA.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
592
592
|
{ ns: "contract", importFn: () => __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/${i18n.language}.json`, 5) },
|
|
593
593
|
{ ns: "ui", importFn: () => import("./en-US-DdeSoN_2.js") }
|
|
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 { U as Icon, x as Typography, v as Skeleton } from "./StoreProvider-
|
|
13
|
+
import { U as Icon, x as Typography, v as Skeleton } from "./StoreProvider-BYjTSjnX.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-
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
14
|
-
import { u as useTranslation } from "./StoreProvider-
|
|
11
|
+
import { H as Header } from "./CountryField-CFppUh42.js";
|
|
12
|
+
import { A as AlertIcon } from "./Alert-B2qwr9au.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-IKzrTT3r.js";
|
|
14
|
+
import { u as useTranslation } from "./StoreProvider-BYjTSjnX.js";
|
|
15
15
|
function AccountSetupRejected() {
|
|
16
16
|
const { t } = useTranslation("common");
|
|
17
17
|
const content = /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aC as entriesOf, b as useApiContext, j as useQuery, k as httpPost, o as httpGet, u as useTranslation, U as Icon, P as useAnalyticsContext, w as translateStringOrObject, a9 as CountryCodes, aS as getFormattingRegEx, aT as SPECIAL_CHARS, aQ as trimValWithOneSpace, N as createLogger, as as matchesRegex, aq as hasText, ar as isValidMinLength, at as NO_ALPHABET_REGEX, au as EMOJI_REGEX, av as hasRepeatedCharacters, aw as isInvalidName, aR as INDIVIDUAL_VALID_CHAR_REGEX, af as useI18nContext, X as useExperimentsContext, bo as getMaxLengthByFieldAndCountry } from "./StoreProvider-
|
|
10
|
+
import { aC as entriesOf, b as useApiContext, j as useQuery, k as httpPost, o as httpGet, u as useTranslation, U as Icon, P as useAnalyticsContext, w as translateStringOrObject, a9 as CountryCodes, aS as getFormattingRegEx, aT as SPECIAL_CHARS, aQ as trimValWithOneSpace, N as createLogger, as as matchesRegex, aq as hasText, ar as isValidMinLength, at as NO_ALPHABET_REGEX, au as EMOJI_REGEX, av as hasRepeatedCharacters, aw as isInvalidName, aR as INDIVIDUAL_VALID_CHAR_REGEX, af as useI18nContext, X as useExperimentsContext, bo as getMaxLengthByFieldAndCountry } from "./StoreProvider-BYjTSjnX.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useState, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { F as Field, c as Select, a as useForm } from "./useForm-
|
|
14
|
-
import { c as createFormUtils, C as CountryField } from "./CountryField-
|
|
15
|
-
import { I as InputText } from "./InputText-
|
|
16
|
-
import { u as useDebouncedCallback } from "./analytics-
|
|
17
|
-
import { u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
18
|
-
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-
|
|
13
|
+
import { F as Field, c as Select, a as useForm } from "./useForm-CNi1k1NR.js";
|
|
14
|
+
import { c as createFormUtils, C as CountryField } from "./CountryField-CFppUh42.js";
|
|
15
|
+
import { I as InputText } from "./InputText-EX5kyD9L.js";
|
|
16
|
+
import { u as useDebouncedCallback } from "./analytics-DkXXx2b6.js";
|
|
17
|
+
import { u as useDataset, d as datasetIdentifier } from "./useDataset-C0A9qR_N.js";
|
|
18
|
+
import { C as COUNTRIES_WITH_STATES_DATASET, c as getKeyForField, d as COUNTRIES_WITH_HOUSE_NUMBER_FIRST, g as getAddressSchemaForCountry, e as CONDENSED_ADDRESS_FIELDS } from "./utils-Bd79Y_6k.js";
|
|
19
19
|
const operationalAddressIsSameIds = {
|
|
20
20
|
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
21
21
|
OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
|
|
@@ -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, x as Typography, B as Button, U as Icon } from "./StoreProvider-
|
|
14
|
+
import { A as Accordion } from "./Accordion-DQSd9JrF.js";
|
|
15
|
+
import { u as useTranslation, x as Typography, B as Button, U as Icon } from "./StoreProvider-BYjTSjnX.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 { U as Icon } from "./StoreProvider-
|
|
12
|
+
import { U as Icon } from "./StoreProvider-BYjTSjnX.js";
|
|
13
13
|
const avatar = "adyen-kyc-avatar";
|
|
14
14
|
const avatarLabel = "adyen-kyc-avatar-label";
|
|
15
15
|
const avatarPrimary = "adyen-kyc-avatar-primary";
|
|
@@ -2,55 +2,55 @@
|
|
|
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] = "a1fc772e-b3dc-49bf-a81c-7f515c8d1f45", e._sentryDebugIdIdentifier = "sentry-dbid-a1fc772e-b3dc-49bf-a81c-7f515c8d1f45");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { b as useApiContext, aD as useMutation, k as httpPost, j as useQuery, q as skipToken, u as useTranslation, af as useI18nContext, aa as isEmpty, i as isUndefinedOrNull, a9 as CountryCodes, bA as isISIN, B as Button, c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, x as Typography, L as Loader, aC as entriesOf, P as useAnalyticsContext, m as useSettingsContext, N as createLogger, aF as useQueryClient, M as TaskTypes, y as LegalEntityTypes, al as businessDetailsComponentsKeyMapping, bB as solePropBusinessDetailsKeyMapping, ai as objectsDeepEqual, aG as keysOf, bC as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, a$ as filterOutUnwantedAssociationsIfRootLE, aZ as drop, a7 as getOwnEntityAssociations, aJ as doArraysMatch, ap as getCapabilityProblems, bD as solePropBusinessDetailsDocumentMapping, bE as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, aD as useMutation, k as httpPost, j as useQuery, q as skipToken, u as useTranslation, af as useI18nContext, aa as isEmpty, i as isUndefinedOrNull, a9 as CountryCodes, bA as isISIN, B as Button, c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, x as Typography, L as Loader, aC as entriesOf, P as useAnalyticsContext, m as useSettingsContext, N as createLogger, aF as useQueryClient, M as TaskTypes, y as LegalEntityTypes, al as businessDetailsComponentsKeyMapping, bB as solePropBusinessDetailsKeyMapping, ai as objectsDeepEqual, aG as keysOf, bC as solePropBusinessDetailsApiKeyMapping, bp as businessDetailsApiKeyMapping, a$ as filterOutUnwantedAssociationsIfRootLE, aZ as drop, a7 as getOwnEntityAssociations, aJ as doArraysMatch, ap as getCapabilityProblems, bD as solePropBusinessDetailsDocumentMapping, bE as businessDetailsDocumentMapping } from "./StoreProvider-BYjTSjnX.js";
|
|
12
12
|
import { useEffect, useCallback, useState, useMemo, useRef } from "preact/hooks";
|
|
13
|
-
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
14
|
-
import { S as SettingNames, I as InputText } from "./InputText-
|
|
15
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
16
|
-
import { u as useGlobalDataSlice, a as useGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { c as validateNotEmptyOnBlur, f as validatePatternOnBlur, r as resolveFieldMetadata, h as validateJaKanaLegalCompanyName, i as validateJaHaniLegalCompanyName, a as useAccountHolder } from "./fieldConfigurations-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
21
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
22
|
-
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
23
|
-
import { E as EntityTypeRadioGroupCard, o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
24
|
-
import { C as Checkbox, u as useDebouncedCallback, g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
25
|
-
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
26
|
-
import { S as StateCodesUS, c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, e as exemptedFromTaxDefaultFieldMetadata, f as exemptedFromTaxDefaultFieldConfig, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, h as COUNTRIES_USING_COMPANY_SEARCH, M as MemoizedDocumentUpload, j as isRegistrationNumberAbsentStateV4Scenario, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as getCompanyRegistrationNumberOptions, m as countryToTaxInfoTypeMap, n as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
13
|
+
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-DhwjhH0X.js";
|
|
14
|
+
import { S as SettingNames, I as InputText } from "./InputText-EX5kyD9L.js";
|
|
15
|
+
import { h as hasDataChanged } from "./hasDataChanged-CUdKM92N.js";
|
|
16
|
+
import { u as useGlobalDataSlice, a as useGlobalData, c as useStateContext, F as FormWrapper } from "./useGlobalData-rR_jnTzW.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-DHgUoF6x.js";
|
|
18
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-CiECrUSj.js";
|
|
19
|
+
import { c as validateNotEmptyOnBlur, f as validatePatternOnBlur, r as resolveFieldMetadata, h as validateJaKanaLegalCompanyName, i as validateJaHaniLegalCompanyName, a as useAccountHolder } from "./fieldConfigurations-BsOQ678Q.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-CCEDaAJW.js";
|
|
21
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-D_HVWRXe.js";
|
|
22
|
+
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-C0A9qR_N.js";
|
|
23
|
+
import { E as EntityTypeRadioGroupCard, o as organizationTypesToSkipCompanyStructureForm } from "./utils-DZz9bCID.js";
|
|
24
|
+
import { C as Checkbox, u as useDebouncedCallback, g as getAssociatedLeAnalyticsPayload } from "./analytics-DkXXx2b6.js";
|
|
25
|
+
import { a as getDocument, c as createDocumentRequest, b as getFileExtention, d as documentApiUtils } from "./validate-DzaSMOa2.js";
|
|
26
|
+
import { S as StateCodesUS, c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, e as exemptedFromTaxDefaultFieldMetadata, f as exemptedFromTaxDefaultFieldConfig, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, h as COUNTRIES_USING_COMPANY_SEARCH, M as MemoizedDocumentUpload, j as isRegistrationNumberAbsentStateV4Scenario, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as getCompanyRegistrationNumberOptions, m as countryToTaxInfoTypeMap, n as rules, g as getFieldsWithExistingData } from "./TaxInformationField-DCjcBMwQ.js";
|
|
27
27
|
import cx from "classnames";
|
|
28
|
-
import { C as CompanyTypesValues, h as handleKeys } from "./bafinUtils-
|
|
29
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, g as getDefaultVatNumberType, a as defaultFieldConfig$1, e as exemptFromRegistrationNumberDefaultFieldMetadata, b as exemptFromRegistrationNumberDefaultFieldConfig, c as registrationNumberDefaultFieldMetadata, f as getDefaultRegistrationNumberType, h as registrationNumberDefaultFieldConfig, i as doingBusinessAsFieldMetadata, j as doingBusinessAsAbsentFieldMetadata, k as DBANameField, l as BusinessRegistrationNumberField, m as VatNumberField, M as MemoizedConstitutionalDocument, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-
|
|
30
|
-
import { c as createFormUtils, H as Header, m as mergeFieldMetadataIntoProps, E as ErrorPanel, C as CountryField, S as StackLayout, a as COUNTRY_FIELD, h as getFormProps, s as summaryItem, d as summaryStep } from "./CountryField-
|
|
31
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
32
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
33
|
-
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, d as applyVerifiedBusinessData, o as operationalAddressIsSameIds, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
34
|
-
import { F as Field, a as useForm, L as LoaderWrapper } from "./useForm-
|
|
35
|
-
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
36
|
-
import { c as currencyByCountry } from "./types-
|
|
37
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
28
|
+
import { C as CompanyTypesValues, h as handleKeys } from "./bafinUtils-DkP3ZoN4.js";
|
|
29
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata$1, g as getDefaultVatNumberType, a as defaultFieldConfig$1, e as exemptFromRegistrationNumberDefaultFieldMetadata, b as exemptFromRegistrationNumberDefaultFieldConfig, c as registrationNumberDefaultFieldMetadata, f as getDefaultRegistrationNumberType, h as registrationNumberDefaultFieldConfig, i as doingBusinessAsFieldMetadata, j as doingBusinessAsAbsentFieldMetadata, k as DBANameField, l as BusinessRegistrationNumberField, m as VatNumberField, M as MemoizedConstitutionalDocument, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-BnyrwF-X.js";
|
|
30
|
+
import { c as createFormUtils, H as Header, m as mergeFieldMetadataIntoProps, E as ErrorPanel, C as CountryField, S as StackLayout, a as COUNTRY_FIELD, h as getFormProps, s as summaryItem, d as summaryStep } from "./CountryField-CFppUh42.js";
|
|
31
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DrrsFJH7.js";
|
|
32
|
+
import { u as useMultiForm } from "./useMultiForm-CU58VvHX.js";
|
|
33
|
+
import { c as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, d as applyVerifiedBusinessData$1, o as operationalAddressIsSameIds, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, e as StateField, i as isDateOlderThanAYear } from "./Address-CN31gTRW.js";
|
|
34
|
+
import { F as Field, a as useForm, L as LoaderWrapper } from "./useForm-CNi1k1NR.js";
|
|
35
|
+
import { I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, L as LegalFormField, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-Zz8j3LFf.js";
|
|
36
|
+
import { c as currencyByCountry } from "./types-SBNit_kK.js";
|
|
37
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-C2j7qA_b.js";
|
|
38
38
|
import { Suspense, lazy } from "preact/compat";
|
|
39
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
40
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, a as IndustryCodeField } from "./Divider-
|
|
41
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
39
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-DB6EYmfa.js";
|
|
40
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, a as IndustryCodeField } from "./Divider-DiS12D_i.js";
|
|
41
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-Bd79Y_6k.js";
|
|
42
42
|
import { signal } from "@preact/signals";
|
|
43
|
-
import { L as Link } from "./Link-
|
|
44
|
-
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
45
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
46
|
-
import { L as LEGAL_COMPANY_NAME_FIELD, g as defaultFieldMetadataV4, h as defaultFieldMetadata$2, j as defaultFieldConfigV4, k as defaultFieldConfig$2 } from "./OnboardingDropinComponent-
|
|
47
|
-
import { a as Alert } from "./Alert-
|
|
48
|
-
import { C as Card } from "./Card-
|
|
43
|
+
import { L as Link } from "./Link-BS6Zpegg.js";
|
|
44
|
+
import { t as toFullWidth, u as useAllowedCountries, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-D7YGYa9S.js";
|
|
45
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-ConNvgj4.js";
|
|
46
|
+
import { L as LEGAL_COMPANY_NAME_FIELD, g as defaultFieldMetadataV4, h as defaultFieldMetadata$2, j as defaultFieldConfigV4, k as defaultFieldConfig$2 } from "./OnboardingDropinComponent-IKzrTT3r.js";
|
|
47
|
+
import { a as Alert } from "./Alert-B2qwr9au.js";
|
|
48
|
+
import { C as Card } from "./Card-N9psV2kP.js";
|
|
49
49
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
50
50
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
51
51
|
import { f as formatCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
52
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
53
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
52
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Ci4nlmhZ.js";
|
|
53
|
+
import { i as isEmpty$1 } from "./isEmpty-B0GMAw4K.js";
|
|
54
54
|
const clearCompanyData = async (legalEntityId, baseUrl) => {
|
|
55
55
|
return httpPost({
|
|
56
56
|
baseUrl,
|
|
@@ -944,7 +944,7 @@ function VerifiedBusinessCard({
|
|
|
944
944
|
] });
|
|
945
945
|
}
|
|
946
946
|
const LazyJpAddress$1 = lazy(
|
|
947
|
-
async () => (await import("./JpAddress-
|
|
947
|
+
async () => (await import("./JpAddress-BTfvrykR.js")).JpAddress
|
|
948
948
|
);
|
|
949
949
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
950
950
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -1247,7 +1247,7 @@ function AdditionalInformation({
|
|
|
1247
1247
|
};
|
|
1248
1248
|
}, [verifiedBusiness$1, basicInformation?.stateOrProvince, country]);
|
|
1249
1249
|
useEffect(() => {
|
|
1250
|
-
applyVerifiedBusinessData(verifiedBusiness$1, handleChangeFor);
|
|
1250
|
+
applyVerifiedBusinessData$1(verifiedBusiness$1, handleChangeFor);
|
|
1251
1251
|
if (basicInformation && verifiedBusiness$1?.name) {
|
|
1252
1252
|
basicInformation.legalCompanyName = verifiedBusiness$1.name;
|
|
1253
1253
|
}
|
|
@@ -3131,6 +3131,40 @@ function TaxDocument({
|
|
|
3131
3131
|
}
|
|
3132
3132
|
);
|
|
3133
3133
|
}
|
|
3134
|
+
const applyVerifiedBusinessData = (form, country, verifiedData) => {
|
|
3135
|
+
if (!verifiedData) return;
|
|
3136
|
+
form.handleChangeFor("legalCompanyName", "basicInformation")(verifiedData.name);
|
|
3137
|
+
form.handleChangeFor(
|
|
3138
|
+
"entityType",
|
|
3139
|
+
"companyStructure"
|
|
3140
|
+
)(mapOrganizationTypeToCompanyType(verifiedData.organizationType));
|
|
3141
|
+
const verifiedAddress = verifiedData.isPrincipalAddress || verifiedData.state && form.data?.basicInformation?.stateOrProvince !== verifiedData.state ? { operationalAddress: { ...mapAddressData(verifiedData), country } } : {
|
|
3142
|
+
registrationAddress: {
|
|
3143
|
+
...mapAddressData(verifiedData),
|
|
3144
|
+
country,
|
|
3145
|
+
stateOrProvince: form.data?.basicInformation?.stateOrProvince
|
|
3146
|
+
}
|
|
3147
|
+
};
|
|
3148
|
+
if (verifiedData.isPrincipalAddress) {
|
|
3149
|
+
form.handleChangeFor(
|
|
3150
|
+
"operationalAddressIsSame",
|
|
3151
|
+
"additionalInformation",
|
|
3152
|
+
"input"
|
|
3153
|
+
)(operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME);
|
|
3154
|
+
}
|
|
3155
|
+
if (verifiedAddress.registrationAddress) {
|
|
3156
|
+
form.handleChangeFor(
|
|
3157
|
+
"registrationAddress",
|
|
3158
|
+
"additionalInformation"
|
|
3159
|
+
)(verifiedAddress.registrationAddress);
|
|
3160
|
+
}
|
|
3161
|
+
if (verifiedAddress.operationalAddress) {
|
|
3162
|
+
form.handleChangeFor(
|
|
3163
|
+
"operationalAddress",
|
|
3164
|
+
"additionalInformation"
|
|
3165
|
+
)(verifiedAddress.operationalAddress);
|
|
3166
|
+
}
|
|
3167
|
+
};
|
|
3134
3168
|
const BUSINESS_SELECTION_FIELDS = [
|
|
3135
3169
|
"hasSelectedBusiness"
|
|
3136
3170
|
];
|
|
@@ -3189,40 +3223,6 @@ function BusinessSelectionMultiform({
|
|
|
3189
3223
|
(fieldName, mode) => form.handleChangeFor(fieldName, "businessSelection", mode),
|
|
3190
3224
|
[form]
|
|
3191
3225
|
);
|
|
3192
|
-
const applyVerifiedBusinessData2 = (verifiedData) => {
|
|
3193
|
-
if (!verifiedData) return;
|
|
3194
|
-
form.handleChangeFor("legalCompanyName", "basicInformation")(verifiedData.name);
|
|
3195
|
-
form.handleChangeFor(
|
|
3196
|
-
"entityType",
|
|
3197
|
-
"companyStructure"
|
|
3198
|
-
)(mapOrganizationTypeToCompanyType(verifiedData.organizationType));
|
|
3199
|
-
const verifiedAddress = verifiedData.isPrincipalAddress || verifiedData.state && form.data?.basicInformation?.stateOrProvince !== verifiedData.state ? { operationalAddress: { ...mapAddressData(verifiedData), country } } : {
|
|
3200
|
-
registrationAddress: {
|
|
3201
|
-
...mapAddressData(verifiedData),
|
|
3202
|
-
country,
|
|
3203
|
-
stateOrProvince: form.data?.basicInformation?.stateOrProvince
|
|
3204
|
-
}
|
|
3205
|
-
};
|
|
3206
|
-
if (verifiedData.isPrincipalAddress) {
|
|
3207
|
-
form.handleChangeFor(
|
|
3208
|
-
"operationalAddressIsSame",
|
|
3209
|
-
"additionalInformation",
|
|
3210
|
-
"input"
|
|
3211
|
-
)(operationalAddressIsSameIds.OPERATIONAL_ADDRESS_IS_NOT_SAME);
|
|
3212
|
-
}
|
|
3213
|
-
if (verifiedAddress.registrationAddress) {
|
|
3214
|
-
form.handleChangeFor(
|
|
3215
|
-
"registrationAddress",
|
|
3216
|
-
"additionalInformation"
|
|
3217
|
-
)(verifiedAddress.registrationAddress);
|
|
3218
|
-
}
|
|
3219
|
-
if (verifiedAddress.operationalAddress) {
|
|
3220
|
-
form.handleChangeFor(
|
|
3221
|
-
"operationalAddress",
|
|
3222
|
-
"additionalInformation"
|
|
3223
|
-
)(verifiedAddress.operationalAddress);
|
|
3224
|
-
}
|
|
3225
|
-
};
|
|
3226
3226
|
const handleSelectBusiness = async (result) => {
|
|
3227
3227
|
if ((!selectedBusinessId || selectedBusinessId !== result.id) && currentTin) {
|
|
3228
3228
|
userEvents.addPageEvent("Clicked button", {
|
|
@@ -3244,7 +3244,7 @@ function BusinessSelectionMultiform({
|
|
|
3244
3244
|
}
|
|
3245
3245
|
};
|
|
3246
3246
|
const handleConfirmSelection = async () => {
|
|
3247
|
-
|
|
3247
|
+
applyVerifiedBusinessData(form, country, verifiedBusiness.value);
|
|
3248
3248
|
handleChange("hasSelectedBusiness", "blur")(true);
|
|
3249
3249
|
handleNextClick();
|
|
3250
3250
|
};
|
|
@@ -5179,7 +5179,7 @@ function BusinessDetailsDropin({
|
|
|
5179
5179
|
);
|
|
5180
5180
|
}
|
|
5181
5181
|
const LazyJpAddress = lazy(
|
|
5182
|
-
async () => (await import("./JpAddress-
|
|
5182
|
+
async () => (await import("./JpAddress-BTfvrykR.js")).JpAddress
|
|
5183
5183
|
);
|
|
5184
5184
|
function AdditionalInformationMultiform({
|
|
5185
5185
|
id,
|
|
@@ -7025,6 +7025,7 @@ function BusinessDetailsMultiformDropin({
|
|
|
7025
7025
|
if (handleTinResponse(!!companySelectionResponse.tinMatched)) {
|
|
7026
7026
|
verifiedBusiness.value = companySelectionResponse;
|
|
7027
7027
|
isVerifiedSingleCompanySearchResult.value = true;
|
|
7028
|
+
applyVerifiedBusinessData(multiForm, country, verifiedBusiness.value);
|
|
7028
7029
|
currentForms = updateForms({ searchResults: searchResponse.results });
|
|
7029
7030
|
} else {
|
|
7030
7031
|
return setLoadingStatus("success");
|
package/dist/{BusinessFinancingComponent-D9cn6vVF.js → BusinessFinancingComponent-BevBrUTE.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-BYjTSjnX.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-B1X7K4z1.js";
|
|
14
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgU5hfv0.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, i18n.language, [
|
|
28
|
-
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
28
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BYjTSjnX.js").then((n) => n.bK), "../../../language/locales/es-ES.json": () => import("./es-ES-CnNU6AJv.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BR4OXRfV.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-u5GxMZsq.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CMjrAkKl.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-Bhsop3CT.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-D2j1ISVk.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-C7Sg1k4p.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-GSbqID7o.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DSiutpRl.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-C62XiDE5.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BOJ6zuBr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-CuwTDFSf.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-1-MrLPXu.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Br_cHzGx.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-cjbtYBUX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CGhIjlpU.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Do6CKNU4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-cY-L2ma-.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BtwPrLEA.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
29
29
|
{ ns: "ui", importFn: () => import("./en-US-DdeSoN_2.js") },
|
|
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, useCallback } from "preact/hooks";
|
|
12
|
-
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
13
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
14
|
-
import { aO as reverseMapping, aP as isEeaCountry, y as LegalEntityTypes, aB as cloneObject, b as useApiContext, j as useQuery, o as httpGet, af as useI18nContext, u as useTranslation, x as Typography, w as translateStringOrObject, P as useAnalyticsContext, m as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-
|
|
15
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
16
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
17
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
18
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
20
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
21
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
22
|
-
import { C as Checkbox, g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
23
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { l as localizeDateString } from "./localizeDateString
|
|
25
|
-
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-
|
|
12
|
+
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-DhwjhH0X.js";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DHgUoF6x.js";
|
|
14
|
+
import { aO as reverseMapping, aP as isEeaCountry, y as LegalEntityTypes, aB as cloneObject, b as useApiContext, j as useQuery, o as httpGet, af as useI18nContext, u as useTranslation, x as Typography, w as translateStringOrObject, P as useAnalyticsContext, m as useSettingsContext, L as Loader, B as Button } from "./StoreProvider-BYjTSjnX.js";
|
|
15
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DrrsFJH7.js";
|
|
16
|
+
import { I as InputText, S as SettingNames } from "./InputText-EX5kyD9L.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-CmhNWabq.js";
|
|
18
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-CCEDaAJW.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm-CU58VvHX.js";
|
|
20
|
+
import { E as EndStateLayout } from "./EndStateLayout-Cswr0wiZ.js";
|
|
21
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Ci4nlmhZ.js";
|
|
22
|
+
import { C as Checkbox, g as getAssociatedLeAnalyticsPayload } from "./analytics-DkXXx2b6.js";
|
|
23
|
+
import { a as datasetUtilities } from "./useDataset-C0A9qR_N.js";
|
|
24
|
+
import { l as localizeDateString } from "./localizeDateString-rfEOu5f7.js";
|
|
25
|
+
import { m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport, L as LegalFormField, I as InputNumber, C as Currency, b as CURRENCY_FIELD, c as InputCurrency } from "./Currency-Zz8j3LFf.js";
|
|
26
26
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
27
|
-
import { c as createFormUtils, g as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-
|
|
28
|
-
import { c as currencyByCountry } from "./types-
|
|
29
|
-
import { F as Field, c as Select } from "./useForm-
|
|
30
|
-
import { L as Link } from "./Link-
|
|
31
|
-
import { I as InputDate } from "./InputDate-
|
|
32
|
-
import { A as Address } from "./Address-
|
|
33
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
34
|
-
import { b as businessFinancingMultiformRules } from "./validate-
|
|
27
|
+
import { c as createFormUtils, g as getFieldProps, H as Header, E as ErrorPanel } from "./CountryField-CFppUh42.js";
|
|
28
|
+
import { c as currencyByCountry } from "./types-SBNit_kK.js";
|
|
29
|
+
import { F as Field, c as Select } from "./useForm-CNi1k1NR.js";
|
|
30
|
+
import { L as Link } from "./Link-BS6Zpegg.js";
|
|
31
|
+
import { I as InputDate } from "./InputDate-C2j7qA_b.js";
|
|
32
|
+
import { A as Address } from "./Address-CN31gTRW.js";
|
|
33
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-Bd79Y_6k.js";
|
|
34
|
+
import { b as businessFinancingMultiformRules } from "./validate-Bz6-McmI.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-BYjTSjnX.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
12
|
+
import { B as BusinessFinancingDropin } from "./BusinessFinancingDropin-BgU5hfv0.js";
|
|
13
13
|
const BusinessFinancingPage = ({
|
|
14
14
|
onSubmit,
|
|
15
15
|
handleHomeClick
|
|
@@ -24,7 +24,7 @@ const BusinessFinancingPage = ({
|
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
ns: "common",
|
|
27
|
-
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
27
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BPsOhDfg.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CHzJM-ii.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-XNMYSp7w.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BI7AAdOv.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DoCIcce-.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BYjTSjnX.js").then((n) => n.bK), "../../../language/locales/es-ES.json": () => import("./es-ES-CnNU6AJv.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-BR4OXRfV.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-u5GxMZsq.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CMjrAkKl.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-Bhsop3CT.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-D2j1ISVk.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-C7Sg1k4p.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-GSbqID7o.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DSiutpRl.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-C62XiDE5.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BOJ6zuBr.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-CuwTDFSf.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-1-MrLPXu.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Br_cHzGx.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-cjbtYBUX.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CGhIjlpU.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Do6CKNU4.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-cY-L2ma-.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BtwPrLEA.js") }), `../../../language/locales/${i18next.language}.json`, 6)
|
|
28
28
|
}
|
|
29
29
|
]);
|
|
30
30
|
if (!rootLe) {
|
package/dist/{BusinessTypeSelectionPage-CQvrZNZZ.js → BusinessTypeSelectionPage-BNxEzkjO.js}
RENAMED
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { N as createLogger, u as useTranslation, P as useAnalyticsContext, X as useExperimentsContext, bz as getCapabilities, g as getLegalEntityCountry, y as LegalEntityTypes, x as Typography, B as Button, U as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
11
|
+
import { N as createLogger, u as useTranslation, P as useAnalyticsContext, X as useExperimentsContext, bz as getCapabilities, g as getLegalEntityCountry, y as LegalEntityTypes, x as Typography, B as Button, U as Icon, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-BYjTSjnX.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./RadioGroup-
|
|
14
|
-
import { a as useForm, L as LoaderWrapper, F as Field } from "./useForm-
|
|
15
|
-
import { a as useAccountHolder, R as RadioGroupCard } from "./fieldConfigurations-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./RadioGroup-DhwjhH0X.js";
|
|
14
|
+
import { a as useForm, L as LoaderWrapper, F as Field } from "./useForm-CNi1k1NR.js";
|
|
15
|
+
import { a as useAccountHolder, R as RadioGroupCard } from "./fieldConfigurations-BsOQ678Q.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, E as EntityTypeRadioGroupCard, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-DHgUoF6x.js";
|
|
18
|
+
import { u as useSelectionOptions, g as getBusinessType, a as getDefaultLegalArrangementOrSuborganizationType, l as legalArrangementMetadata, b as getTargetLegalEntityType, E as EntityTypeRadioGroupCard, c as businessTypeIcons, d as determineOrganizationTypeToUpdate } from "./utils-DZz9bCID.js";
|
|
19
19
|
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") });
|
|
20
20
|
const logger$1 = createLogger();
|
|
21
21
|
const getBusinessTypeExamplesForCountry = async (country) => {
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, aD as useMutation, aE as httpDelete, u as useTranslation, x as Typography } from "./StoreProvider-
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, aD as useMutation, aE as httpDelete, u as useTranslation, x as Typography } from "./StoreProvider-BYjTSjnX.js";
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-DHgUoF6x.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-B2qwr9au.js";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
16
16
|
return httpDelete({
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment as Fragment$1 } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useTranslation, O as TaskStatuses, B as Button, aG as keysOf, aH as remediationHasFileUploadField, aC as entriesOf, w as translateStringOrObject, aI as TrustMemberGuidanceLabels, a8 as TrustMemberTypes, an as DecisionMakerTypes, af as useI18nContext, P as useAnalyticsContext, W as noop, aa as isEmpty, V as IconButton, t as Svg } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, O as TaskStatuses, B as Button, aG as keysOf, aH as remediationHasFileUploadField, aC as entriesOf, w as translateStringOrObject, aI as TrustMemberGuidanceLabels, a8 as TrustMemberTypes, an as DecisionMakerTypes, af as useI18nContext, P as useAnalyticsContext, W as noop, aa as isEmpty, V as IconButton, t as Svg } from "./StoreProvider-BYjTSjnX.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { defineSlots } from "named-slots";
|
|
14
14
|
import { toChildArray, Fragment, createContext } from "preact";
|
|
15
|
-
import { S as StructuredList, u as useDataset, d as datasetIdentifier } from "./useDataset-
|
|
15
|
+
import { S as StructuredList, u as useDataset, d as datasetIdentifier } from "./useDataset-C0A9qR_N.js";
|
|
16
16
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
17
|
-
import { a as Alert } from "./Alert-
|
|
18
|
-
import { g as getDataByFields, F as Field, c as Select } from "./useForm-
|
|
17
|
+
import { a as Alert } from "./Alert-B2qwr9au.js";
|
|
18
|
+
import { g as getDataByFields, F as Field, c as Select } from "./useForm-CNi1k1NR.js";
|
|
19
19
|
const stackLayout = "adyen-kyc-stack-layout";
|
|
20
20
|
const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
|
|
21
21
|
const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
|