@adyen/kyc-components 4.6.2 → 4.6.3
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-C2WkLHFZ.js → AcceptTermsOfServiceComponent-XaeVhsGD.js} +15 -15
- package/dist/{AccountSetupRejected-C16roimu.js → AccountSetupRejected-CCTKPh4T.js} +1 -1
- package/dist/{ActionBar--82M98S-.js → ActionBar-DIFvfiMP.js} +1 -1
- package/dist/{Address-DWIT_6YL.js → Address-CVPObm6B.js} +9 -9
- package/dist/{Avatar-BoLDZMzm.js → Avatar-Cf37hJy8.js} +1 -1
- package/dist/{BusinessFinancingComponent-VTHLWJIr.js → BusinessFinancingComponent-MO_80E8a.js} +4 -4
- package/dist/{BusinessFinancingDropin-BUl2B6f8.js → BusinessFinancingDropin-C6g7xB95.js} +28 -28
- package/dist/{BusinessFinancingPage-D26VTiKP.js → BusinessFinancingPage-B5Nk3rx2.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CpTgzgPl.js → BusinessTypeSelectionPage-q-ohll63.js} +9 -9
- package/dist/{Checkbox-jYXrAul6.js → Checkbox-CZ-K3Ygt.js} +1 -1
- package/dist/{Confirm-BaZlxCCm.js → Confirm-Bfhearjt.js} +2 -2
- package/dist/{ConstitutionalDocument-CZ_TklBF.js → ConstitutionalDocument-BZcUcXNX.js} +17 -17
- package/dist/{ContactDetails-ClGSH5yT.js → ContactDetails-CLSUzFP_.js} +5 -5
- package/dist/{ContextGuidance-0uhYPQ1I.js → ContextGuidance-BopbaLr-.js} +1 -1
- package/dist/{CountryField-CbqrNpDo.js → CountryField-BJAayKID.js} +3 -3
- package/dist/{CreateIndividualComponent-BA56j0QH.js → CreateIndividualComponent-D2-0xOiU.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DDrV-5P7.js → CreateTransferInstrumentComponent-CKnK4wTB.js} +3 -3
- package/dist/{Currency-N_ZeTxCp.js → Currency-BsVi8QRc.js} +6 -6
- package/dist/{CustomerSupport-XgJm-2H-.js → CustomerSupport-CJTSCIsJ.js} +10 -10
- package/dist/{DebugModal-B8mpuazE.js → DebugModal-B44T9eDP.js} +6 -6
- package/dist/{DecisionMakerDetails-BCNBF-7s.js → DecisionMakerDetails-DJmL0mgp.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Dz0_2LNG.js → DecisionMakerDetailsPage-BBa--1Xr.js} +6 -6
- package/dist/{DecisionMakers-aaXzrhfz.js → DecisionMakers-B9o4bDnw.js} +18 -18
- package/dist/{Dropzone-DXer0HMz.js → Dropzone-CHADYCWU.js} +3 -3
- package/dist/{EmbeddedStatus-6dwUT0qj.js → EmbeddedStatus-CUGRqHWU.js} +2 -2
- package/dist/{EndStateLayout-B7Bk6joO.js → EndStateLayout-CWFjt8_u.js} +1 -1
- package/dist/{EntityAssociation-BHlBpUJo.js → EntityAssociation-COqNeSzy.js} +4 -4
- package/dist/{EntityGuidanceStatus-DAQi1OXH.js → EntityGuidanceStatus-BOjmARXU.js} +3 -3
- package/dist/{ErrorPanel-DV0UxjXE.js → ErrorPanel-BFnWeBCJ.js} +1 -1
- package/dist/{Field-CnMk9CSG.js → Field-B8NADHt-.js} +1 -1
- package/dist/{FormNavigation-Bd2ZkyC5.js → FormNavigation-CZGO4M_r.js} +2 -2
- package/dist/{Individual.rules-CijYAoh1.js → Individual.rules-CcCj7FCg.js} +5 -5
- package/dist/{IndividualDropin-DkEAiK94.js → IndividualDropin-D4VcAQnB.js} +50 -50
- package/dist/{InputDate-xFgiqFL2.js → InputDate-BvgrweAT.js} +1 -1
- package/dist/{InputText-Dl-dY3j-.js → InputText-D6VoNS-R.js} +1 -1
- package/dist/{Introduction-DYLGoJO2.js → Introduction-DCEmOIU3.js} +4 -4
- package/dist/{InvitedDecisionMakerComponent-D6jCPSfb.js → InvitedDecisionMakerComponent-D-Mxf7Sa.js} +9 -9
- package/dist/{JpAddress-Dytm-CRM.js → JpAddress-aZ8F40cK.js} +8 -8
- package/dist/{LandingLayout-Df75OuDC.js → LandingLayout-Co0T9hoE.js} +1 -1
- package/dist/{LegalCompanyNameField-CCZiP7cW.js → LegalCompanyNameField-EsmoOYWn.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-D357sOuF.js → LegalRepresentativeDetailsPage-ChOjFSdk.js} +3 -3
- package/dist/{Link-CnjMNEkc.js → Link-QFSK0XUO.js} +1 -1
- package/dist/{ListItem-D89Fc8ka.js → ListItem-rRlEZCTu.js} +2 -2
- package/dist/{LoaderWrapper-R6_MCKIE.js → LoaderWrapper-DlhbbEYS.js} +1 -1
- package/dist/{ManageIndividualComponent-CGGLhS2M.js → ManageIndividualComponent-DQ9mC9zr.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CJxu6GIR.js → ManageTermsOfServiceComponent-B4WTTK1V.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-ByOnGvTd.js → ManageTransferInstrumentComponent-C716Mbf2.js} +9 -9
- package/dist/{MaskedInput-DRBOJEf6.js → MaskedInput-Cj3Be_WU.js} +4 -4
- package/dist/{MaybeModal-Df1FFAGA.js → MaybeModal-nSPl0yfm.js} +2 -2
- package/dist/{Modal-DOF5IfVB.js → Modal-D1Yiugk1.js} +1 -1
- package/dist/{Name-C-7hpLoa.js → Name-Pp6IOBxl.js} +4 -4
- package/dist/{NewSummary-EcwZRRy4.js → NewSummary-DKld0bET.js} +1 -1
- package/dist/{OnboardingDropinComponent-Dc-g6FKE.js → OnboardingDropinComponent-DsvTtn8J.js} +72 -72
- package/dist/{PayoutDetailsDropin-D9-5E_Zt.js → PayoutDetailsDropin-DANG1pDw.js} +33 -33
- package/dist/{PayoutDetailsPage-kHdCfo5f.js → PayoutDetailsPage-DCmlsSbE.js} +4 -4
- package/dist/{RadioGroup-BRMU-RTM.js → RadioGroup-DwACEtfi.js} +1 -1
- package/dist/{Review-DhZBBQAX.js → Review-Dsp3Zk67.js} +5 -5
- package/dist/{RootBusinessDetailsPage-BVn1n1lr.js → RootBusinessDetailsPage-mquvEyt7.js} +4 -4
- package/dist/{RootBusinessLinesPage-Z5b-PsIO.js → RootBusinessLinesPage-DCSgZuZD.js} +25 -25
- package/dist/{RootIndividualDetailsPage-JyqRhwMu.js → RootIndividualDetailsPage-BALuMNT2.js} +5 -5
- package/dist/{Select-C7fRhcIh.js → Select-Bp6g62Kp.js} +3 -3
- package/dist/{SignPCIComponent-B-h-k9vT.js → SignPCIComponent-CfWNRHUh.js} +11 -11
- package/dist/{SingpassSelection-BbB-JbTj.js → SingpassSelection-Cpouo3cB.js} +4 -4
- package/dist/{SoleProprietorshipPage-PSGbg4ly.js → SoleProprietorshipPage-KtyWIVNn.js} +3 -3
- package/dist/{SourceOfFundsPage-Bf0U21Nr.js → SourceOfFundsPage-B1lV40GU.js} +32 -32
- package/dist/{StepProgressIndicator-CAGdT_m0.js → StepProgressIndicator-U5DG_o4X.js} +1 -1
- package/dist/{StoreProvider-BWAzl-p7.js → StoreProvider-hNCKWSzB.js} +4 -4
- package/dist/{Summary-DfeXmN3-.js → Summary-NFgvajMx.js} +5 -5
- package/dist/{TaxInformationField-DxI2um5W.js → TaxInformationField-ef1_TQvO.js} +19 -19
- package/dist/{TaxReportingDropin-CO4edpR7.js → TaxReportingDropin-OMrPS7PX.js} +14 -14
- package/dist/{TextArea-DL3n0rXa.js → TextArea-BnlstVGI.js} +1 -1
- package/dist/{TileGroup-CUTQ8er_.js → TileGroup-DTnywnyF.js} +2 -2
- package/dist/{TrustDetailsPage-Cb-0BT8b.js → TrustDetailsPage-D7FoWYJC.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CTJAWg0S.js → TrustMemberCompanyPage-BaBDjZDf.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DBNfb0S1.js → TrustMemberIndividualPage-BLZwEIxg.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-CsYvBEGT.js → TrustMemberRoleAndTypePage-BVMuoGHX.js} +20 -20
- package/dist/{TrustMembersOverview-CALmu7o3.js → TrustMembersOverview-vsUsCHml.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-CE_OeqG0.js → UnincorporatedPartnershipIndividualPage-BBmy3wse.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CjDmlPW9.js → UnincorporatedPartnershipMemberCompanyPage-DqFOtoRR.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dvm1OGpZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-CBF8M7cR.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-BTiVJZbT.js → UnincorporatedPartnershipMembersOverview-JwdguZNL.js} +6 -6
- package/dist/{VerificationErrorAlert-DAkp1o0d.js → VerificationErrorAlert-CpEbIDR3.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-BbwWdSvT.js → ViewVerificationStatusComponent-DgOa7RsZ.js} +2 -2
- 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-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- 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/{bafinUtils-DJX7-LsK.js → bafinUtils-Cf0EyXIO.js} +1 -1
- package/dist/{commonValidators-C8ETg50F.js → commonValidators-Cl95UfG4.js} +1 -1
- package/dist/{dropinUtils-CyBOixUs.js → dropinUtils-BY7YDLvA.js} +3 -3
- package/dist/{formUtils-BTFoT4DI.js → formUtils-os98XaB-.js} +2 -2
- package/dist/{getName-DGmqqf0i.js → getName-t_vGHMzu.js} +1 -1
- package/dist/{getProblemsForEntity-BSzPFj1N.js → getProblemsForEntity-DKjmIXBa.js} +1 -1
- package/dist/{getTrustedFields-CE5acC9P.js → getTrustedFields-BrXqOBCX.js} +1 -1
- package/dist/{isEmpty-CtjrTeQf.js → isEmpty-ze-XxTHy.js} +1 -1
- package/dist/{japanSupportUtils-Bel_UtiI.js → japanSupportUtils-DYEPbhFP.js} +1 -1
- package/dist/{localizeDateString-D95RpcHX.js → localizeDateString-BVk8Wvy3.js} +1 -1
- package/dist/{mapExistingFile-DdZj3ZNR.js → mapExistingFile-BqPAjtnr.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B8No6DR_.js → mapJpAddressSchemaToAddressLocalizations-WxoGOrHr.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-_snV8Ls9.js → mapLegalEntityToIndividualSchema-B0s8GG9o.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BuYUtobH.js → mapTransferInstrumentToPayoutAccount-BsiLVcTY.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-Chwj7J0N.js → omitObscuredFieldsIfUnchanged-DqCASsJA.js} +2 -2
- package/dist/{patternValidators-QFgZQvEQ.js → patternValidators-Dx583C-1.js} +1 -1
- package/dist/{process-field-configurations-Bv0FBNR2.js → process-field-configurations-DIs_LC2a.js} +1 -1
- package/dist/{resolveEnvironment-QvJd3cKP.js → resolveEnvironment-CoyMk9x-.js} +3 -3
- package/dist/{roleMetadata-CMvyXmym.js → roleMetadata-NqHcHFCe.js} +2 -2
- package/dist/{types-DV8mhU_5.js → types-BRLYR2Wx.js} +1 -1
- package/dist/{types-B7LP42Vj.js → types-C4RAJtRF.js} +1 -1
- package/dist/{types-DLLCdCdm.js → types-lbafosQE.js} +1 -1
- package/dist/{unincorporated-partnership-KIun-oCI.js → unincorporated-partnership-KMmroXu1.js} +1 -1
- package/dist/{useAssociatedLegalEntity-DGdBqIWJ.js → useAssociatedLegalEntity-Dlgpas6D.js} +1 -1
- package/dist/{useBusinessDetailsData-BrOwsA1X.js → useBusinessDetailsData-CPww2HAm.js} +109 -101
- package/dist/{useCreateLegalEntity-CBaUr82n.js → useCreateLegalEntity-D3ObXaof.js} +1 -1
- package/dist/{useForm-BX1GY-0M.js → useForm-BSHD2KTa.js} +2 -2
- package/dist/{useFormContext-DVe1IcJN.js → useFormContext-DKaDgcgR.js} +6 -6
- package/dist/{useGlobalData-pbmqOcoq.js → useGlobalData-kQ8hN10Q.js} +8 -8
- package/dist/{useMultiForm-l0uNN24o.js → useMultiForm-BG8MF6DI.js} +3 -3
- package/dist/{useOnboardingStatus-BktXInqR.js → useOnboardingStatus-CZ0x4yyk.js} +1 -1
- package/dist/{useScenarios-Bsy4oXxN.js → useScenarios-Bn3EGOHA.js} +1 -1
- package/dist/{useTaskLandedEvent-CuY6hD_P.js → useTaskLandedEvent-Cee5Mvme.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B7VhvyvR.js → useTermsOfServiceStatus-BscviiB7.js} +1 -1
- package/dist/{useToastContext-CZLQ-qIG.js → useToastContext-Bxju6PLZ.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-B231FgH7.js → useUnincorporatedPartnershipMembers-CmJaMQa-.js} +4 -4
- package/dist/{useUpdateBusinessLines-BypTKSVD.js → useUpdateBusinessLines-97t7rLep.js} +3 -3
- package/dist/{useUpdateLegalEntity-Cx6hTFYF.js → useUpdateLegalEntity-CLWcAVwj.js} +2 -2
- package/dist/{utils-Bc65-dOS.js → utils-8cw25Nur.js} +1 -1
- package/dist/{utils-Bptup5am.js → utils-BN54hZUe.js} +1 -1
- package/dist/{utils-TwGfjh3m.js → utils-C1FWQvf0.js} +2 -2
- package/dist/{utils-CXs4Ciim.js → utils-CKTSKzWR.js} +1 -1
- package/dist/{utils-DWNmwPub.js → utils-DPRgxXmU.js} +5 -5
- package/dist/{validate-3UOCFAVr.js → validate-BnCwLSUb.js} +1 -1
- package/dist/{validate-CdzJprLf.js → validate-BxU9EEi6.js} +2 -2
- package/dist/{validationError-uDS5kbR5.js → validationError-sIV2dUoW.js} +1 -1
- package/package.json +1 -1
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { x as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-hNCKWSzB.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-nSPl0yfm.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BY7YDLvA.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Bfhearjt.js";
|
|
19
|
+
import { S as Summary } from "./Summary-NFgvajMx.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,15 +9,15 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
-
import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { bo as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-hNCKWSzB.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DlhbbEYS.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-nSPl0yfm.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-D1Yiugk1.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-U5DG_o4X.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-BY7YDLvA.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-CZGO4M_r.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-NFgvajMx.js";
|
|
21
21
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
22
22
|
function useStateContext() {
|
|
23
23
|
const context = useContext(StateContext);
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, ae as createLogger, ax as isEmpty } from "./StoreProvider-hNCKWSzB.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-8cw25Nur.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-Cl95UfG4.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, k as httpGet } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useRef } from "preact/hooks";
|
|
11
|
-
import { x as useAnalyticsContext } from "./StoreProvider-
|
|
11
|
+
import { x as useAnalyticsContext } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
function useTaskLandedEvent(taskType) {
|
|
13
13
|
const userEvents = useAnalyticsContext();
|
|
14
14
|
const oldTaskTypeRef = useRef(void 0);
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { L as LegalEntityTypes, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ac as getOwnEntityAssociations, P as useLegalEntity, R as ROOT_LE } from "./StoreProvider-hNCKWSzB.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Dlgpas6D.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-KMmroXu1.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-t_vGHMzu.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ax as isEmpty, u as useTranslation, H as useToggleContext, B as IconButton, j as httpPost } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-B8NADHt-.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-Bp6g62Kp.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-Bxju6PLZ.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-hNCKWSzB.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { a9 as CountryCodes } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-
|
|
11
|
+
import { L as LegalEntityTypes, N as Typography } from "./StoreProvider-hNCKWSzB.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-BVk8Wvy3.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { a8 as getLegalEntityCountry, bA as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Cf0EyXIO.js";
|
|
11
|
+
import { a8 as getLegalEntityCountry, bA as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-hNCKWSzB.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DsvTtn8J.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-CcCj7FCg.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-C4RAJtRF.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger, bo as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { j as httpPost, ar as httpDelete, k as httpGet, ae as createLogger, bo as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-hNCKWSzB.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CKTSKzWR.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { w as TaskTypes, b9 as remediationPayoutApiKeyMapping, ba as remediationBusinessDetailsApiKeyMapping, bb as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { w as TaskTypes, b9 as remediationPayoutApiKeyMapping, ba as remediationBusinessDetailsApiKeyMapping, bb as remediationIndividualApiKeyMapping } from "./StoreProvider-hNCKWSzB.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|