@adyen/kyc-components 4.7.0-beta.0 → 4.7.2
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-RYwThKmu.js → AcceptTermsOfServiceComponent-BbktO0zC.js} +14 -14
- package/dist/{AccountSetupRejected-DhwwBH0S.js → AccountSetupRejected-B9jCHNz-.js} +1 -1
- package/dist/{ActionBar-u-Qc7Y4w.js → ActionBar-CbFBdfam.js} +1 -1
- package/dist/{Address-TGZeMCUA.js → Address-CAzHDiil.js} +9 -9
- package/dist/{Avatar-LSd9cIJV.js → Avatar-D7DkiYRU.js} +1 -1
- package/dist/{BusinessFinancingComponent-DAeZTKW1.js → BusinessFinancingComponent-B7O8VSuR.js} +4 -4
- package/dist/{BusinessFinancingDropin-BVgSTmUm.js → BusinessFinancingDropin-CZjat6zg.js} +27 -27
- package/dist/{BusinessFinancingPage-vKWY2gWN.js → BusinessFinancingPage-wYYsqc5D.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DhpGpgac.js → BusinessTypeSelectionPage-SVmYYbcY.js} +8 -8
- package/dist/{Checkbox-D5-_dw4-.js → Checkbox-DntVTT7e.js} +1 -1
- package/dist/{Confirm-BoQbVMKQ.js → Confirm-CceRWfkX.js} +2 -2
- package/dist/{ConstitutionalDocument-CjUSPI6f.js → ConstitutionalDocument-M10n8QHQ.js} +16 -16
- package/dist/{ContactDetails-Bj1jL-WF.js → ContactDetails-CJ49drHv.js} +5 -5
- package/dist/{ContextGuidance-CoDkF9Kh.js → ContextGuidance-DeSyT-K4.js} +1 -1
- package/dist/{CountryField-DPtohqO0.js → CountryField-B0KnMSNK.js} +3 -3
- package/dist/{CreateIndividualComponent-DnDxRY8S.js → CreateIndividualComponent-BsABgMiA.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BB1v1vPR.js → CreateTransferInstrumentComponent-CHhSi-Nd.js} +3 -3
- package/dist/{Currency-DjKXc6D1.js → Currency-wZFwkXz6.js} +6 -6
- package/dist/{CustomerSupport-nxoB2aXL.js → CustomerSupport-CZZVSn5p.js} +9 -9
- package/dist/{DebugModal-DK9xbFjU.js → DebugModal-B7AyfRi1.js} +6 -6
- package/dist/{DecisionMakerDetails-D-POvfJr.js → DecisionMakerDetails-CmIkuKMd.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CABFACYm.js → DecisionMakerDetailsPage-C86M_cr7.js} +6 -6
- package/dist/{DecisionMakers-B4gmdJ-s.js → DecisionMakers-BJzPsxVk.js} +17 -17
- package/dist/{Dropzone-IwRNw22i.js → Dropzone-DkOStOI3.js} +3 -3
- package/dist/{EmbeddedStatus-BU2hma9l.js → EmbeddedStatus-BDk-Cdzb.js} +2 -2
- package/dist/{EndStateLayout-DURCt96r.js → EndStateLayout-yZlKFmxQ.js} +1 -1
- package/dist/{EntityAssociation-TBvPBEGa.js → EntityAssociation-BQinpNn-.js} +4 -4
- package/dist/{EntityGuidanceStatus-CFRY8Yia.js → EntityGuidanceStatus-DgrTCy2a.js} +3 -3
- package/dist/{ErrorPanel-ALBlWg3_.js → ErrorPanel-rmGb9PlE.js} +1 -1
- package/dist/{Field--T3FQepj.js → Field-DDqviWD6.js} +1 -1
- package/dist/{FormNavigation-nE2uj2oQ.js → FormNavigation-hnWA-Ehl.js} +2 -2
- package/dist/{Individual.rules-DotRDPTM.js → Individual.rules-DkkHd4AC.js} +5 -5
- package/dist/{IndividualDropin-eiRXQvS_.js → IndividualDropin-HfCpdNoz.js} +49 -49
- package/dist/{InputDate-BAzF-upe.js → InputDate-BB4WZBNP.js} +1 -1
- package/dist/{InputText-CywP4Ojh.js → InputText-BCi31wZB.js} +1 -1
- package/dist/{Introduction-CKoQlTAr.js → Introduction-DShrdSBn.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CV8OExOI.js → InvitedDecisionMakerComponent-B2HU3LgV.js} +9 -9
- package/dist/{JpAddress-BIgqDfQ0.js → JpAddress-DE9yfseS.js} +8 -8
- package/dist/{LandingLayout-DEgZw1-N.js → LandingLayout-D_EQfRqT.js} +1 -1
- package/dist/{LegalCompanyNameField-CblBotGC.js → LegalCompanyNameField-CCPNDYao.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BYgKGZL1.js → LegalRepresentativeDetailsPage-ZsBB2MMq.js} +3 -3
- package/dist/{Link-BVdY7Jkl.js → Link-DWRRNNKW.js} +1 -1
- package/dist/{ListItem-CNuX4D7n.js → ListItem-DlliPqo-.js} +2 -2
- package/dist/{LoaderWrapper-CU0bf3jD.js → LoaderWrapper-DE-3T3QK.js} +1 -1
- package/dist/{ManageIndividualComponent-BYBvuHfj.js → ManageIndividualComponent-CGjYieXl.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CfN53LIT.js → ManageTermsOfServiceComponent-DVal60Sx.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-B7gKGWHz.js → ManageTransferInstrumentComponent-oOQNBPeD.js} +9 -9
- package/dist/{MaskedInput-BNceotwn.js → MaskedInput-Dzp3Td83.js} +4 -4
- package/dist/{MaybeModal-hVrKDPDU.js → MaybeModal-Vk2hdUdf.js} +2 -2
- package/dist/{Modal-C8kGCLbp.js → Modal-Bq5ccK7z.js} +1 -1
- package/dist/{Name-GILpP1SS.js → Name-w6uDAo1S.js} +4 -4
- package/dist/{NewSummary-C5UR_Xj1.js → NewSummary-fp6oz9Ko.js} +1 -1
- package/dist/{OnboardingDropinComponent-CK5KIhNx.js → OnboardingDropinComponent-Cn45HTst.js} +105 -86
- package/dist/{PayoutDetailsDropin-CLdEm9BA.js → PayoutDetailsDropin-Bzs2jydk.js} +32 -32
- package/dist/{PayoutDetailsPage-s-_gJFC2.js → PayoutDetailsPage-BGdufep3.js} +19 -19
- package/dist/{RadioGroup-PEWX2KAj.js → RadioGroup-BOUo26G0.js} +1 -1
- package/dist/{Review-CFnIOiZT.js → Review-Be1zBkVv.js} +5 -5
- package/dist/{RootBusinessDetailsPage-mnrfIy0-.js → RootBusinessDetailsPage-CnX2zYB9.js} +4 -4
- package/dist/{RootBusinessLinesPage-BH3Lns3X.js → RootBusinessLinesPage-G9LnOcFE.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BzgHIe3h.js → RootIndividualDetailsPage-DPim7JYp.js} +5 -5
- package/dist/{Select-C4C8R-Ci.js → Select-D5a5aVFZ.js} +3 -3
- package/dist/{SignPCIComponent-B7rKUpjS.js → SignPCIComponent-BTyUfmK_.js} +10 -10
- package/dist/{SingpassSelection-WxIUEYNK.js → SingpassSelection-DowkF6pT.js} +4 -4
- package/dist/{SoleProprietorshipPage-C_fewFI3.js → SoleProprietorshipPage-C_875t2r.js} +3 -3
- package/dist/{SourceOfFundsPage-UeXmtQEJ.js → SourceOfFundsPage-Cx6ekIue.js} +31 -31
- package/dist/{StepProgressIndicator-DiB-t9hK.js → StepProgressIndicator-CW9yp5Ud.js} +1 -1
- package/dist/{StoreProvider-C4og8Y8I.js → StoreProvider-CApjzEDt.js} +4 -4
- package/dist/{Summary-DkZ_an9u.js → Summary-DlYtNJQD.js} +5 -5
- package/dist/{TaxInformationField-BOZj8YLo.js → TaxInformationField-ByQTgGxY.js} +19 -19
- package/dist/{TaxReportingDropin-9HGGrPyM.js → TaxReportingDropin-D52Nf4f2.js} +13 -13
- package/dist/{TextArea-Bu9ppy0I.js → TextArea-C4OmPCHh.js} +1 -1
- package/dist/{TileGroup-BRzhDdL0.js → TileGroup-Aj0Yql_d.js} +2 -2
- package/dist/{TrustDetailsPage-C3gYEzPT.js → TrustDetailsPage-Cj368KCb.js} +30 -30
- package/dist/{TrustMemberCompanyPage-BK54Of_F.js → TrustMemberCompanyPage-CTXwk8mB.js} +4 -4
- package/dist/{TrustMemberIndividualPage-fVZrXJjA.js → TrustMemberIndividualPage-BusLDMBC.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BVHOuXP3.js → TrustMemberRoleAndTypePage-D6Ir0aGf.js} +20 -20
- package/dist/{TrustMembersOverview-Ab-dwNTz.js → TrustMembersOverview-_eQwa8o8.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-C32LEyHG.js → UnincorporatedPartnershipIndividualPage-tCLAddt7.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js → UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js → UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-RY7m4iC5.js → UnincorporatedPartnershipMembersOverview-C3YF2E_k.js} +6 -6
- package/dist/{VerificationErrorAlert-CCJ0vNsY.js → VerificationErrorAlert-D8Menx5E.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Bg1I1q10.js → ViewVerificationStatusComponent-TBlv6an5.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-DkCSO6ft.js → bafinUtils-DOGd6Xk9.js} +1 -1
- package/dist/{commonValidators-Dd4wegC9.js → commonValidators-D1bdFvRX.js} +1 -1
- package/dist/{dropinUtils-vsDEK6cs.js → dropinUtils-C6SkIQLo.js} +3 -3
- package/dist/{formUtils-DFuc8i5Q.js → formUtils-BVAIyFiB.js} +2 -2
- package/dist/{getName-D3Sba-PI.js → getName-CfQAf_l-.js} +1 -1
- package/dist/{getProblemsForEntity-Db-ejW4z.js → getProblemsForEntity-I5B0dWUU.js} +1 -1
- package/dist/{getTrustedFields-DUXTMWcg.js → getTrustedFields-Cv6R496P.js} +1 -1
- package/dist/{isEmpty-DFqK5kY2.js → isEmpty-BcLvy0xw.js} +1 -1
- package/dist/{japanSupportUtils-DqXOWm97.js → japanSupportUtils-DR5unSI9.js} +1 -1
- package/dist/{localizeDateString-D8JgUqw2.js → localizeDateString-0FoP1ZoN.js} +1 -1
- package/dist/{mapExistingFile-BIYg1E5G.js → mapExistingFile-BOZ-beF3.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js → mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-By5v9v9G.js → mapLegalEntityToIndividualSchema-CQnZl2f1.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BM24JYqT.js → mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-CyJfNYkP.js → omitObscuredFieldsIfUnchanged-DMBgASfn.js} +2 -2
- package/dist/{patternValidators-DRSnA1z7.js → patternValidators-a6VZDG0x.js} +1 -1
- package/dist/{process-field-configurations-Cl2nqpBp.js → process-field-configurations-CMIDJACq.js} +1 -1
- package/dist/{resolveEnvironment-BIF7mwM5.js → resolveEnvironment-BBqc2XYC.js} +3 -3
- package/dist/{roleMetadata-BAURfCmh.js → roleMetadata-D1-6Xl8x.js} +2 -2
- package/dist/{types-DxlKs1U5.js → types--xPA8bq3.js} +1 -1
- package/dist/{types-DsA42AXS.js → types-BDdV-c-7.js} +1 -1
- package/dist/{types-VsWq4EjV.js → types-CMK2Gs1Z.js} +1 -1
- package/dist/{unincorporated-partnership-uA1X2l53.js → unincorporated-partnership-5iQ8augf.js} +1 -1
- package/dist/{useAssociatedLegalEntity-3LNpnrN6.js → useAssociatedLegalEntity-9hHARgoS.js} +1 -1
- package/dist/{useBusinessDetailsData-dZbZQSmY.js → useBusinessDetailsData-eIZWfksO.js} +47 -47
- package/dist/{useCreateLegalEntity-DDkkYr4O.js → useCreateLegalEntity-CtGUDesz.js} +1 -1
- package/dist/{useForm-Y4-kimHb.js → useForm-BgHdSJLD.js} +2 -2
- package/dist/{useFormContext-TKoF8IdB.js → useFormContext-CS1RRaOG.js} +6 -6
- package/dist/{useGlobalData-DZvXyS0l.js → useGlobalData-TnV6PIkt.js} +8 -8
- package/dist/{useMultiForm-ieaYM7hW.js → useMultiForm-D_RXm-EH.js} +3 -3
- package/dist/{useOnboardingStatus-DhxCTR8e.js → useOnboardingStatus-C24Lv41L.js} +1 -1
- package/dist/{useScenarios-CwSfXmoW.js → useScenarios-Dt8fTJaF.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DPGw4QdQ.js → useTermsOfServiceStatus-uLxHxESA.js} +1 -1
- package/dist/{useToastContext-BdsMS3mt.js → useToastContext-DrlXuGmm.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D5ndPAbv.js → useUnincorporatedPartnershipMembers-DCGs6f0a.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dwk23sZB.js → useUpdateBusinessLines-fa9VQXA7.js} +3 -3
- package/dist/{useUpdateLegalEntity-5lOidXXX.js → useUpdateLegalEntity-pCVJvMOY.js} +2 -2
- package/dist/{utils-CdhuiXMy.js → utils-3sCyD_Sz.js} +1 -1
- package/dist/{utils-C5ekxdx1.js → utils-C0z7wmlu.js} +1 -1
- package/dist/{utils-BwwVW2aU.js → utils-CPcpt-fR.js} +5 -5
- package/dist/{utils-C_Fyu6Kr.js → utils-CgfUpZyZ.js} +1 -1
- package/dist/{utils-Dny5dbku.js → utils-CinWv0Kh.js} +2 -2
- package/dist/{validate-CFI052fe.js → validate-B1FpiTip.js} +2 -2
- package/dist/{validate-bZBB2yOu.js → validate-DfJceNKE.js} +1 -1
- package/dist/{validationError-XxBa8ECY.js → validationError-kYn_eC4r.js} +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aL as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aG as hasRepeatedCharacters, bg as isValidMinLength, aH as isInvalidName, bw as OTHER_ENTITIES_VALID_CHAR_REGEX, bx as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aM as standardKatakanaValidator, aN as standardKanjiValidator } from "./StoreProvider-
|
|
10
|
+
import { aL as hasText, ax as isEmpty, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aG as hasRepeatedCharacters, bg as isValidMinLength, aH as isInvalidName, bw as OTHER_ENTITIES_VALID_CHAR_REGEX, bx as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, aM as standardKatakanaValidator, aN as standardKanjiValidator } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
const validateNotEmptyOnBlur = {
|
|
12
12
|
modes: ["blur"],
|
|
13
13
|
validate: (val) => !isEmpty(val),
|
package/dist/{process-field-configurations-Cl2nqpBp.js → process-field-configurations-CMIDJACq.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { T as TrustedFieldsProviders } from "./trusted-fields-provider-BgfIoSNJ.js";
|
|
11
11
|
import { f as formDebugInfo } from "./debugStore-BvbyN1Oi.js";
|
|
12
|
-
import { ae as createLogger, bl as businessDetailsApiKeyMapping, aX as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aT as keysOf } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, bl as businessDetailsApiKeyMapping, aX as individualApiKeyMapping, b9 as remediationHasFileUploadField, bm as dataMissingRemediationsToFieldsMap, aT as keysOf } from "./StoreProvider-CApjzEDt.js";
|
|
13
13
|
const linkedFieldsMap = {
|
|
14
14
|
"additionalInformation.vatNumber": [
|
|
15
15
|
"additionalInformation.exemptedFromVat",
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "794b8974-e906-48ff-84de-ae469ee0a304", e._sentryDebugIdIdentifier = "sentry-dbid-794b8974-e906-48ff-84de-ae469ee0a304");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-
|
|
11
|
+
import { av as refreshSession, V as Button, U as Loader, S as SettingsProvider, Q as QueryClientProvider, A as ApiProvider, T as ToggleContextProvider, c as StoreProvider, d as AnalyticsProvider, I as I18nProvider, e as AllowedCountryGate, D as DebugListener, f as ToastContextProvider, g as StateProvider, h as setSdkTokenHandler, n as normalizeEnvironment } from "./StoreProvider-CApjzEDt.js";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
13
|
const sheet = new CSSStyleSheet();
|
|
14
14
|
const stylesheets = [sheet];
|
|
@@ -51,7 +51,7 @@ const EmbedShell = ({
|
|
|
51
51
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
52
52
|
}
|
|
53
53
|
return /* @__PURE__ */ jsx(SettingsProvider, { settings, children: /* @__PURE__ */ jsx(QueryClientProvider, { children: /* @__PURE__ */ jsx(ApiProvider, { rootLegalEntityId, baseUrl, children: /* @__PURE__ */ jsx(ToggleContextProvider, { features, refreshExperiments, children: /* @__PURE__ */ jsxs(StoreProvider, { children: [
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.7.
|
|
54
|
+
/* @__PURE__ */ jsx("span", { className: "adyen-kyc__sdk-version", hidden: true, children: "4.7.2" }),
|
|
55
55
|
/* @__PURE__ */ jsx(
|
|
56
56
|
AnalyticsProvider,
|
|
57
57
|
{
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { by as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-
|
|
11
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
10
|
+
import { by as TrustMemberGuidanceLabels, ad as TrustMemberTypes, as as DecisionMakerTypes } from "./StoreProvider-CApjzEDt.js";
|
|
11
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-5iQ8augf.js";
|
|
12
12
|
const roleMetadata = {
|
|
13
13
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
14
14
|
name: "controllingPerson",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { L as LegalEntityTypes, a9 as CountryCodes } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
const trustMemberLegalEntityTypes = [
|
|
12
12
|
LegalEntityTypes.INDIVIDUAL,
|
|
13
13
|
LegalEntityTypes.ORGANIZATION
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
12
12
|
const currencyByCountry = {
|
|
13
13
|
[CountryCodes.Australia]: [Currencies.AUD],
|
package/dist/{unincorporated-partnership-uA1X2l53.js → unincorporated-partnership-5iQ8augf.js}
RENAMED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { Suspense } from "preact/compat";
|
|
12
|
-
import { U as Loader } from "./StoreProvider-
|
|
12
|
+
import { U as Loader } from "./StoreProvider-CApjzEDt.js";
|
|
13
13
|
const Image = ({
|
|
14
14
|
lazyLoadedImage,
|
|
15
15
|
className
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { skipToken } from "@tanstack/preact-query";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { ae as createLogger, P as useLegalEntity } from "./StoreProvider-
|
|
12
|
+
import { ae as createLogger, P as useLegalEntity } from "./StoreProvider-CApjzEDt.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
function useAssociatedLegalEntity(parentLegalEntity, associationType) {
|
|
15
15
|
const matchingAssociation = useMemo(() => {
|
|
@@ -11,61 +11,61 @@ import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import { signal, useSignal } from "@preact/signals";
|
|
12
12
|
import { useMutation, queryOptions, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useMemo, useEffect, useRef, useCallback } from "preact/hooks";
|
|
14
|
-
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { u as useScenarios } from "./useScenarios-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useTranslation, bG as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aO as useAllowedCountries, b as useApiContext, j as httpPost, x as useAnalyticsContext, O as StackLayout, C as Alert, ao as entriesOf, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bH as businessDetailsComponentsKeyMapping, bI as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aT as keysOf, bJ as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, a$ as filterOutUnwantedAssociationsIfRootLE, aY as drop, ac as getOwnEntityAssociations, b3 as doArraysMatch, bK as solePropBusinessDetailsDocumentMapping, bL as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
22
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
26
|
-
import { C as Confirm } from "./Confirm-
|
|
27
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
28
|
-
import { N as NewSummary } from "./NewSummary-
|
|
29
|
-
import { s as summaryStep, a as summaryStyles } from "./Summary-
|
|
30
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
31
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
32
|
-
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, e as getTaxInformationPlaceholderText, S as StateCodesUS, i as isUsingCompanySearch, M as MemoizedDocumentUpload, f as countryToTaxInfoTypeMap, h as isRegistrationNumberAbsentStateV4Scenario, j as getTaxIdNumberOptions, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
33
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as getCompanyRegistrationNumberOptions, p as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
34
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
35
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-
|
|
14
|
+
import { D as Divider, I as INDUSTRY_CODE_FIELD, i as industryCodeFieldMetadata, u as useIndustryCodes, a as IndustryCodeField, b as useCreateBusinessLine, c as useUpdateBusinessLine } from "./useUpdateBusinessLines-fa9VQXA7.js";
|
|
15
|
+
import { u as useScenarios } from "./useScenarios-Dt8fTJaF.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CtGUDesz.js";
|
|
17
|
+
import { u as useToastContext, a as useInvalidateRootLegalEntity } from "./useToastContext-DrlXuGmm.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-pCVJvMOY.js";
|
|
19
|
+
import { u as useTranslation, bG as isISIN, V as Button, H as useToggleContext, P as useLegalEntity, R as ROOT_LE, am as datasetUtilities, aB as Header, N as Typography, U as Loader, a9 as CountryCodes, m as useSettingsContext, aO as useAllowedCountries, b as useApiContext, j as httpPost, x as useAnalyticsContext, O as StackLayout, C as Alert, ao as entriesOf, ae as createLogger, t as useAccountHolder, w as TaskTypes, L as LegalEntityTypes, ax as isEmpty, i as isUndefinedOrNull, bH as businessDetailsComponentsKeyMapping, bI as solePropBusinessDetailsKeyMapping, ah as objectsDeepEqual, aT as keysOf, bJ as solePropBusinessDetailsApiKeyMapping, bl as businessDetailsApiKeyMapping, at as Scenarios, a$ as filterOutUnwantedAssociationsIfRootLE, aY as drop, ac as getOwnEntityAssociations, b3 as doArraysMatch, bK as solePropBusinessDetailsDocumentMapping, bL as businessDetailsDocumentMapping } from "./StoreProvider-CApjzEDt.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
|
|
21
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DOGd6Xk9.js";
|
|
22
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-CMIDJACq.js";
|
|
23
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
25
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BOZ-beF3.js";
|
|
26
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
27
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
28
|
+
import { N as NewSummary } from "./NewSummary-fp6oz9Ko.js";
|
|
29
|
+
import { s as summaryStep, a as summaryStyles } from "./Summary-DlYtNJQD.js";
|
|
30
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-B1FpiTip.js";
|
|
31
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
32
|
+
import { c as TAX_INFORMATION_FIELD, r as requestingBanking, d as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, e as getTaxInformationPlaceholderText, S as StateCodesUS, i as isUsingCompanySearch, M as MemoizedDocumentUpload, f as countryToTaxInfoTypeMap, h as isRegistrationNumberAbsentStateV4Scenario, j as getTaxIdNumberOptions, k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, l as rules, g as getFieldsWithExistingData } from "./TaxInformationField-ByQTgGxY.js";
|
|
33
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, r as registrationAddressFields, o as operationalAddressIsSameIds, v as vatAbsenceReasonMetadata, d as defaultFieldMetadata, a as defaultFieldConfig, b as registrationNumberDefaultFieldMetadata, c as registrationNumberDefaultFieldConfig, e as doingBusinessAsFieldMetadata, f as doingBusinessAsAbsentFieldMetadata, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, M as MemoizedConstitutionalDocument, k as getDefaultRegistrationNumberType, l as getDefaultVatNumberType, m as inferCompanyRegistrationNumberType, n as getCompanyRegistrationNumberOptions, p as exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-M10n8QHQ.js";
|
|
34
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-Bq5ccK7z.js";
|
|
35
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, f as mapAddressLabelsNewSummary, c as getKeyForField } from "./utils-C0z7wmlu.js";
|
|
36
36
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
37
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
38
|
-
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-
|
|
37
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-CinWv0Kh.js";
|
|
38
|
+
import { b as useAddressCleanse, f as formatAddressForCleanse, m as mapAddressData, A as Address, g as getNestedTrustedFields, S as STATE_FIELD, d as defaultFieldMetadata$1, c as defaultFieldConfig$1, e as StateField, i as isDateOlderThanAYear } from "./Address-CAzHDiil.js";
|
|
39
39
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
40
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
41
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
42
|
-
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
43
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
40
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-CPcpt-fR.js";
|
|
41
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-kYn_eC4r.js";
|
|
42
|
+
import { t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js";
|
|
43
|
+
import { i as isEmpty$1 } from "./isEmpty-BcLvy0xw.js";
|
|
44
44
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
45
45
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
46
|
-
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-
|
|
47
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
48
|
-
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
49
|
-
import { h as useBusinessLines } from "./OnboardingDropinComponent-
|
|
46
|
+
import { L as LegalFormField, I as InputNumber, c as InputCurrency, b as CURRENCY_FIELD, C as Currency, m as mapFinancialReportsToFinancialInformation, a as mapFinancialInformationToFinancialReport } from "./Currency-wZFwkXz6.js";
|
|
47
|
+
import { L as LandingLayout } from "./LandingLayout-D_EQfRqT.js";
|
|
48
|
+
import { g as getLegalCompanyNameGuidanceText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-CCPNDYao.js";
|
|
49
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
50
50
|
import { Suspense, lazy } from "preact/compat";
|
|
51
|
-
import { C as Checkbox } from "./Checkbox-
|
|
52
|
-
import { F as Field } from "./Field
|
|
53
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
54
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
55
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
56
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
51
|
+
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
52
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
53
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BB4WZBNP.js";
|
|
54
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-a6VZDG0x.js";
|
|
55
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-Dzp3Td83.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DR5unSI9.js";
|
|
57
57
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
58
58
|
import cx from "classnames";
|
|
59
|
-
import { L as Link } from "./Link-
|
|
59
|
+
import { L as Link } from "./Link-DWRRNNKW.js";
|
|
60
60
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
61
|
-
import { I as InputText } from "./InputText-
|
|
62
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
63
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
61
|
+
import { I as InputText } from "./InputText-BCi31wZB.js";
|
|
62
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-B0KnMSNK.js";
|
|
63
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
64
64
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
65
|
-
import { L as ListItem } from "./ListItem-
|
|
66
|
-
import { T as TileGroup } from "./TileGroup-
|
|
67
|
-
import { c as currencyByCountry } from "./types-
|
|
68
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
65
|
+
import { L as ListItem } from "./ListItem-DlliPqo-.js";
|
|
66
|
+
import { T as TileGroup } from "./TileGroup-Aj0Yql_d.js";
|
|
67
|
+
import { c as currencyByCountry } from "./types-BDdV-c-7.js";
|
|
68
|
+
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
69
69
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
70
70
|
"dateOfIncorporation"
|
|
71
71
|
];
|
|
@@ -398,7 +398,7 @@ function VerifiedBusinessCard({
|
|
|
398
398
|
] });
|
|
399
399
|
}
|
|
400
400
|
const LazyJpAddress = lazy(
|
|
401
|
-
async () => (await import("./JpAddress-
|
|
401
|
+
async () => (await import("./JpAddress-DE9yfseS.js")).JpAddress
|
|
402
402
|
);
|
|
403
403
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
404
404
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CApjzEDt.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ae as createLogger, ax as isEmpty, b3 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { ae as createLogger, ax as isEmpty, b3 as doArraysMatch } from "./StoreProvider-CApjzEDt.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-CgfUpZyZ.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -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-CApjzEDt.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-Vk2hdUdf.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-C6SkIQLo.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DlYtNJQD.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 { bp 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 { bp as StateContext, u as useTranslation, x as useAnalyticsContext, H as useToggleContext, V as Button } from "./StoreProvider-CApjzEDt.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DE-3T3QK.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-Vk2hdUdf.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-Bq5ccK7z.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-CW9yp5Ud.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-C6SkIQLo.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-hnWA-Ehl.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-DlYtNJQD.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-CApjzEDt.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-CgfUpZyZ.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-D1bdFvRX.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-CApjzEDt.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-CApjzEDt.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 { 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-CApjzEDt.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-CApjzEDt.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-CApjzEDt.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-9hHARgoS.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-5iQ8augf.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CfQAf_l-.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-CApjzEDt.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-DDqviWD6.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-D5a5aVFZ.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-DrlXuGmm.js";
|
|
12
|
+
import { b as useApiContext, j as httpPost } from "./StoreProvider-CApjzEDt.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-CApjzEDt.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { a8 as getLegalEntityCountry, bB 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-DOGd6Xk9.js";
|
|
11
|
+
import { a8 as getLegalEntityCountry, bB as getCapabilities, L as LegalEntityTypes, q as hasOwnEntityAssociationOfType, a9 as CountryCodes } from "./StoreProvider-CApjzEDt.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DkkHd4AC.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CMK2Gs1Z.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -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-CApjzEDt.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-0FoP1ZoN.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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, bp 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, bp as StateContext, u as useTranslation, x as useAnalyticsContext, z as Icon, N as Typography, U as Loader, B as IconButton } from "./StoreProvider-CApjzEDt.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-3sCyD_Sz.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, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { w as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-CApjzEDt.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 = {
|