@adyen/kyc-components 3.88.1 → 3.88.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-CgUIRMK7.js → AcceptTermsOfServiceComponent-C4leZnSF.js} +15 -15
- package/dist/{Accordion-BWqWSLHm.js → Accordion-DUUSVxkw.js} +1 -1
- package/dist/{AccountSetupRejected-B4XfKozw.js → AccountSetupRejected-BRX1HPFG.js} +3 -3
- package/dist/{ActionBar-C4LOaw-y.js → ActionBar-ypa754Bo.js} +1 -1
- package/dist/{Address-fVdgInoU.js → Address-B-Haor9X.js} +7 -7
- package/dist/{Alert-DuTG1FU2.js → Alert-Dip6cD6_.js} +2 -2
- package/dist/{Avatar-Cw1GXcPk.js → Avatar-BWDxPXzE.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-dmQ8nbWe.js → BusinessDetailsMultiformDropin-C5mm90VF.js} +38 -36
- package/dist/{BusinessFinancingComponent-B_-mWhnz.js → BusinessFinancingComponent-ClJ_d7uf.js} +4 -4
- package/dist/{BusinessFinancingDropin-BKx2Cdwi.js → BusinessFinancingDropin-Bf7o6pZB.js} +21 -21
- package/dist/{BusinessFinancingPage-D-lap7wj.js → BusinessFinancingPage-5fKFkSYY.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CkoWDEyV.js → BusinessTypeSelectionPage-BaWyG52n.js} +8 -8
- package/dist/{Card-DZQZyZUm.js → Card-DGTo53bC.js} +2 -2
- package/dist/{ConstitutionalDocument-datUlW5a.js → ConstitutionalDocument-MQAVac06.js} +2 -2
- package/dist/{CountryField-CX-rDX8j.js → CountryField-BnVZWFHc.js} +5 -5
- package/dist/{CreateIndividualComponent-CLPNRwhn.js → CreateIndividualComponent-CYtjcPbj.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-VmzAzjEB.js → CreateTransferInstrumentComponent-BDd4nrO8.js} +4 -4
- package/dist/{Currency-CoIMzHxD.js → Currency-CI0bEuvP.js} +4 -4
- package/dist/{CustomerSupport-C1M-ia4H.js → CustomerSupport-BRwFBEfQ.js} +9 -9
- package/dist/{DebugModal-BfXlyyh6.js → DebugModal-kw1scr1y.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-BbECRAz5.js → DecisionMakerDetailsPage-DkF--RZo.js} +5 -5
- package/dist/{DecisionMakers-CXigYkj6.js → DecisionMakers-BGikhBS0.js} +19 -19
- package/dist/{EmbeddedStatus-CLCADE37.js → EmbeddedStatus-D-UY15TU.js} +2 -2
- package/dist/{EndStateLayout-DvrVt0SE.js → EndStateLayout-B-Yg0bgi.js} +1 -1
- package/dist/{EntityAssociation-Cw9AhfzI.js → EntityAssociation-DzOcs1KC.js} +7 -7
- package/dist/{EntityGuidanceStatus-CgAdQly8.js → EntityGuidanceStatus-DcRAWTL2.js} +2 -2
- package/dist/{FormFlow-B43ulNCy.js → FormFlow-C7OiLdGD.js} +7 -7
- package/dist/{FormNavigation-h0G2TRVL.js → FormNavigation-DX2r4jpC.js} +2 -2
- package/dist/{FormWrapper-CVz3_Kqd.js → FormWrapper-Drs6LBuB.js} +9 -9
- package/dist/{IndividualOnfido-B7UXeSC2.js → IndividualOnfido-BXaOmRuc.js} +14 -14
- package/dist/{IndividualOnfidoDropin-LM_WHt8j.js → IndividualOnfidoDropin-DiSfmEDk.js} +26 -26
- package/dist/{InputText-ehVFzWvu.js → InputText-GZ3HTx9H.js} +2 -2
- package/dist/{Introduction-CVfee_dF.js → Introduction-CVtivEYL.js} +3 -3
- package/dist/{JpAddress-D0WDBUd-.js → JpAddress-BARMkGyR.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-voOfUG7G.js → LegalRepresentativeDetailsPage-Cu-I-EmT.js} +3 -3
- package/dist/{ListItem-Ck0_jWTY.js → ListItem-CfZ8urYo.js} +2 -2
- package/dist/{ManageIndividualComponent-DubtWQ_T.js → ManageIndividualComponent-DPwzdSKb.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DuyfvzDF.js → ManageTermsOfServiceComponent-CxvDbZRm.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-M7vwtNK2.js → ManageTransferInstrumentComponent-DbeGN2q2.js} +11 -11
- package/dist/{MaybeModal-ZKH8YY1i.js → MaybeModal-1goeAvm3.js} +2 -2
- package/dist/{Modal-Bt7RGQKT.js → Modal-kAH_7yTH.js} +1 -1
- package/dist/{OnboardingDropinComponent-BJGGvOgX.js → OnboardingDropinComponent-DwCSMM9J.js} +80 -78
- package/dist/{PayoutDetailsDropin-Ca0KY0k4.js → PayoutDetailsDropin-DSgzEUXk.js} +26 -26
- package/dist/{Review-BcwjhNhM.js → Review-BBj9UMRL.js} +6 -6
- package/dist/{RootBusinessDetailsPage-COfntG51.js → RootBusinessDetailsPage-197h0LNw.js} +4 -4
- package/dist/{RootBusinessLinesPage-B4rgc6HP.js → RootBusinessLinesPage-HWymdGVF.js} +22 -22
- package/dist/{RootIndividualDetailsPage-D6J8L1fh.js → RootIndividualDetailsPage-D7FcgGh2.js} +5 -5
- package/dist/{SignPCIComponent-Deh7cJ-y.js → SignPCIComponent-D0cCB1NY.js} +9 -9
- package/dist/{SingpassSelection-C04e7c12.js → SingpassSelection-DaBhgDwl.js} +3 -3
- package/dist/{SoleProprietorshipPage-B8hqEqUR.js → SoleProprietorshipPage-K1KkL_U7.js} +3 -3
- package/dist/{SourceOfFundsPage-BMJwJZpc.js → SourceOfFundsPage-B44-Ue-H.js} +24 -24
- package/dist/{StepProgressIndicator-BVF9JA_T.js → StepProgressIndicator-B8ow-Vd2.js} +1 -1
- package/dist/{StoreProvider-Bzx0jn8v.js → StoreProvider-B3vEYybK.js} +4 -4
- package/dist/{Summary-8KBQG14L.js → Summary-xeJ6Uh2B.js} +3 -3
- package/dist/{TaxReportingDropin-B49V_SkC.js → TaxReportingDropin-DaS76WDp.js} +29 -30
- package/dist/{TrustDetailsPage-BOvdd_y6.js → TrustDetailsPage-KzXIXK7U.js} +27 -27
- package/dist/{TrustMemberCompanyPage-DOcu6HOX.js → TrustMemberCompanyPage-DDG2pshT.js} +4 -4
- package/dist/{TrustMemberIndividualPage-L4GwK1xC.js → TrustMemberIndividualPage-DE2yENgg.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Chral8eQ.js → TrustMemberRoleAndTypePage-FWRx9JaL.js} +13 -13
- package/dist/{TrustMembersOverview-BP0tRuL6.js → TrustMembersOverview-CyGnH0Im.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CU-weLsJ.js → UnincorporatedPartnershipIndividualPage-NpIaUaK_.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DtWjjYl1.js → UnincorporatedPartnershipMemberCompanyPage-clnULf4j.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-D6ix1soI.js → UnincorporatedPartnershipMemberRoleAndTypePage-BBqV92zW.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-m278Z3--.js → UnincorporatedPartnershipMembersOverview-BcFjgFya.js} +8 -8
- package/dist/{VerificationErrorAlert-Bq7UPfzd.js → VerificationErrorAlert-B0Y4C5I8.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-8snxC_yL.js → ViewVerificationStatusComponent-CxvzD3Yh.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-C2pkMthB.js → debouncedInputEvent-hDU3oskH.js} +1 -1
- package/dist/{documentUtils-HD7R9hyB.js → documentUtils-nzTRBdC1.js} +2 -2
- package/dist/{dropinUtils-BvD5RXfH.js → dropinUtils-DdwDN7Bc.js} +3 -3
- package/dist/{fieldConfigurations-CnMGLWcT.js → fieldConfigurations-N4_zg7Ml.js} +8 -8
- package/dist/{getFieldsWithExistingData-DtS3Ko6F.js → getFieldsWithExistingData-B7SI929p.js} +1 -1
- package/dist/{getName-Dni5YMDd.js → getName-DX2eXGn6.js} +1 -1
- package/dist/{hasDataChanged-B3TGdSHQ.js → hasDataChanged-CvwV_1m7.js} +1 -1
- package/dist/{iframeWidget-CJVBA0MW.js → iframeWidget-Dp12U8Do.js} +3 -3
- package/dist/{localizeDateString-DjWZWkpv.js → localizeDateString-DvzfRftu.js} +1 -1
- package/dist/{mapExistingFile-A_4SvsTA.js → mapExistingFile-Dft8c_GU.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-CmJPL-ey.js → mapFinancialReportsToFinancialInformation-DUg6qLUd.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-m5V_aU_1.js → mapJpAddressSchemaToAddressLocalizations-CBIqHrcd.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-NcTh6yXz.js → mapLegalEntityToIndividualOnfidoSchema-DXcTpcXc.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-CoV8Q8ti.js → mapTransferInstrumentToPayoutAccount-DvdznOim.js} +1 -1
- package/dist/{process-field-configurations-CVc_Yb6P.js → process-field-configurations-Bxy5QZtu.js} +2 -2
- package/dist/{resolveEnvironment-BFsQ7fnq.js → resolveEnvironment-COtv9JGU.js} +3 -3
- package/dist/{rules-DgQq8kQy.js → rules-DP5YNbCP.js} +3 -3
- package/dist/{types-Ca7guHQ7.js → types-CzYr9iSY.js} +1 -1
- package/dist/{types-Dkf1g7QF.js → types-DYgIK0lP.js} +1 -1
- package/dist/{types-0Aqm3SAz.js → types-Dcb_wyW_.js} +1 -1
- package/dist/{useAssociatedLegalEntity-OCE1yCRT.js → useAssociatedLegalEntity-DaKngTNK.js} +1 -1
- package/dist/{useCreateLegalEntity-DJJcT96a.js → useCreateLegalEntity-Bevp-vJn.js} +1 -1
- package/dist/{useDataset-CpCvhkRU.js → useDataset-ectSMSmL.js} +3 -3
- package/dist/{useForm-DbnPVnBe.js → useForm-C9uWOMRY.js} +4 -4
- package/dist/{useGlobalData-B9oDUZVQ.js → useGlobalData-3AC-ioGP.js} +2 -2
- package/dist/{useMultiForm-BZ0bp4cP.js → useMultiForm-D2m8F9eU.js} +3 -3
- package/dist/{useOnboardingStatus-DWaaclRv.js → useOnboardingStatus-CsBGQyX5.js} +1 -1
- package/dist/{useScenarios-Bd6VZg-1.js → useScenarios-CEDUoOsv.js} +1 -1
- package/dist/{useTermsOfServiceStatus-3b03wZWv.js → useTermsOfServiceStatus-BFCRZDG0.js} +1 -1
- package/dist/{useToastContext-D7i-s9yT.js → useToastContext-xQ-C6F5J.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-C1b7l52S.js → useUnincorporatedPartnershipMembers-CyaU0Vhb.js} +4 -4
- package/dist/{useUpdateBusinessLines-CDeMCTSt.js → useUpdateBusinessLines-ecf8_6Sc.js} +1 -1
- package/dist/{useUpdateLegalEntity-DqjXk7Tp.js → useUpdateLegalEntity-B4YDiHOM.js} +2 -2
- package/dist/{utils-CT0Rfar9.js → utils-BMohBIMw.js} +3 -3
- package/dist/{utils-D-UnrvQU.js → utils-BS41csO6.js} +5 -5
- package/dist/{validate-3iszoOyE.js → validate-C-doRegs.js} +1 -1
- package/dist/{validate-BcSUHk9Y.js → validate-Dg_t_vTH.js} +1 -1
- package/dist/{validationError-Bm1mrWrs.js → validationError-BduJVyTU.js} +1 -1
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-
|
|
11
|
+
import { P as createLogger, c as useLegalEntity, w as skipToken } from "./StoreProvider-B3vEYybK.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
14
14
|
const matchingAssociation = useMemo(() => {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { b as useId } from "./useToastContext-
|
|
12
|
+
import { b as useId } from "./useToastContext-xQ-C6F5J.js";
|
|
13
13
|
import { useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useTranslation, a0 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-
|
|
15
|
-
import { M as Modal } from "./Modal-
|
|
14
|
+
import { u as useTranslation, a0 as useAnalyticsContext, G as Typography, B as Button, P as createLogger, V as useI18nContext } from "./StoreProvider-B3vEYybK.js";
|
|
15
|
+
import { M as Modal } from "./Modal-kAH_7yTH.js";
|
|
16
16
|
const structuredList = "adyen-kyc-structured-list";
|
|
17
17
|
const structuredListSectionField = "adyen-kyc-structured-list-section-field";
|
|
18
18
|
const structuredListSectionLabel = "adyen-kyc-structured-list-section-label";
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect, useState, useRef, useMemo, useCallback, useReducer } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, a0 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, $ as entriesOf, aU as doArraysMatch } from "./StoreProvider-
|
|
14
|
-
import { b as useId } from "./useToastContext-
|
|
13
|
+
import { u as useTranslation, a0 as useAnalyticsContext, a3 as Icon, z as translateStringOrObject, L as Loader, a4 as noop, G as Typography, P as createLogger, W as isEmpty, $ as entriesOf, aU as doArraysMatch } from "./StoreProvider-B3vEYybK.js";
|
|
14
|
+
import { b as useId } from "./useToastContext-xQ-C6F5J.js";
|
|
15
15
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
16
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
17
|
-
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
16
|
+
import { K as KEYBOARD_KEYS } from "./Modal-kAH_7yTH.js";
|
|
17
|
+
import { C as Checkbox, a as debouncedInputEvent } from "./debouncedInputEvent-hDU3oskH.js";
|
|
18
18
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
19
19
|
const MaybeFieldset = ({
|
|
20
20
|
children,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
|
-
import { d as debounce } from "./debouncedInputEvent-
|
|
12
|
-
import { ay as StateContext } from "./StoreProvider-
|
|
11
|
+
import { d as debounce } from "./debouncedInputEvent-hDU3oskH.js";
|
|
12
|
+
import { ay as StateContext } from "./StoreProvider-B3vEYybK.js";
|
|
13
13
|
function useStateContext() {
|
|
14
14
|
const context = useContext(StateContext);
|
|
15
15
|
return context;
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./useForm-
|
|
13
|
-
import { e as isNotEmptyValidator } from "./CountryField-
|
|
11
|
+
import { aj as objectsDeepEqual, P as createLogger, W as isEmpty } from "./StoreProvider-B3vEYybK.js";
|
|
12
|
+
import { V as ValidationResult } from "./useForm-C9uWOMRY.js";
|
|
13
|
+
import { e as isNotEmptyValidator } from "./CountryField-BnVZWFHc.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;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, $ as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, $ as entriesOf, w as skipToken, al as Scenarios, m as httpGet } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
12
12
|
const scenarioParams = new URLSearchParams({
|
|
13
13
|
...countryCode && { countryCode },
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, m as httpGet } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
12
12
|
return httpGet({
|
|
13
13
|
baseUrl,
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aV as ToastContext } from "./StoreProvider-
|
|
10
|
+
import { P as createLogger, a2 as useQueryClient, b as useApiContext, aV as ToastContext } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
import { useCallback, useState, useContext } from "preact/hooks";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { r as LegalEntityTypes, af as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-B3vEYybK.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-DaKngTNK.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./CountryField-BnVZWFHc.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-DX2eXGn6.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)
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a1 as useMutation, k as httpPost } from "./StoreProvider-B3vEYybK.js";
|
|
11
11
|
const createBusinessLine = async (legalEntityId, baseUrl, data) => {
|
|
12
12
|
return httpPost(
|
|
13
13
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a2 as useQueryClient, a1 as useMutation, k as httpPost } from "./StoreProvider-
|
|
11
|
-
import { c as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
10
|
+
import { b as useApiContext, a2 as useQueryClient, a1 as useMutation, k as httpPost } from "./StoreProvider-B3vEYybK.js";
|
|
11
|
+
import { c as useInvalidateRootLegalEntity } from "./useToastContext-xQ-C6F5J.js";
|
|
12
12
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-
|
|
12
|
-
import { C as Currencies } from "./types-
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
11
|
+
import { r as LegalEntityTypes, G as Typography } from "./StoreProvider-B3vEYybK.js";
|
|
12
|
+
import { C as Currencies } from "./types-DYgIK0lP.js";
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DvzfRftu.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 "./IndividualOnfido-
|
|
11
|
-
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./IndividualOnfido-BXaOmRuc.js";
|
|
11
|
+
import { g as getLegalEntityCountry, by as getCapabilities, r as LegalEntityTypes, H as hasOwnEntityAssociationOfType, C as CountryCodes } from "./StoreProvider-B3vEYybK.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-DwCSMM9J.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./rules-DP5YNbCP.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-Dcb_wyW_.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback } from "preact/hooks";
|
|
11
|
-
import { b as useApiContext, k as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpPost } from "./StoreProvider-B3vEYybK.js";
|
|
12
12
|
import { e as emailPattern } from "./basePatterns-BwdnMQxI.js";
|
|
13
13
|
const validatePhoneNumber = (baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { O as TaskTypes, bl as remediationPayoutApiKeyMapping, bm as remediationBusinessDetailsApiKeyMapping, bn as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { O as TaskTypes, bl as remediationPayoutApiKeyMapping, bm as remediationBusinessDetailsApiKeyMapping, bn as remediationIndividualApiKeyMapping } from "./StoreProvider-B3vEYybK.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 = {
|