@adyen/kyc-components 4.2.0-beta.1 → 4.2.0-beta.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-DMAt4BdI.js → AcceptTermsOfServiceComponent-BcThpdef.js} +15 -15
- package/dist/{Accordion-Bvg0x3Mz.js → Accordion-Cqu7QS2u.js} +1 -1
- package/dist/{AccountSetupRejected-DkdcpmK6.js → AccountSetupRejected-D4ZUKySq.js} +3 -3
- package/dist/{ActionBar-AKKiAmMe.js → ActionBar-_kxaPjuA.js} +1 -1
- package/dist/{Address-CtHjSBzx.js → Address-Bp3gAZwV.js} +10 -10
- package/dist/{Alert-BfbfHD1i.js → Alert-DdvR5JXz.js} +2 -2
- package/dist/{Avatar-Bf4qSH-S.js → Avatar-4kQAjsiY.js} +1 -1
- package/dist/{BusinessFinancingComponent-DxwW9KZP.js → BusinessFinancingComponent-s7ax4ND-.js} +4 -4
- package/dist/{BusinessFinancingDropin-N_DSHYRu.js → BusinessFinancingDropin-ZEaog4sO.js} +36 -37
- package/dist/{BusinessFinancingPage-unaDjCZH.js → BusinessFinancingPage-9bjno-km.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-JTkIjnGQ.js → BusinessTypeSelectionPage-BNRQeYZz.js} +8 -8
- package/dist/{Checkbox-Bi_0fc1x.js → Checkbox-BH0zIKqJ.js} +1 -1
- package/dist/{Confirm-CKpYp_5J.js → Confirm-Dx4QYQUB.js} +2 -2
- package/dist/{ConstitutionalDocument-BRSGUZEC.js → ConstitutionalDocument-CMQlemXU.js} +17 -17
- package/dist/{ContactDetails-DnWFEseS.js → ContactDetails-Dm7hH34-.js} +7 -7
- package/dist/{ContextGuidance-CzbsgT6C.js → ContextGuidance-jojldspk.js} +2 -2
- package/dist/{CountryField-B4WQy2ta.js → CountryField-CRP1LtfT.js} +4 -4
- package/dist/{CreateIndividualComponent-Swzyxw03.js → CreateIndividualComponent-jL7Ta2xx.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CeE_Q8JD.js → CreateTransferInstrumentComponent-BAUyoBDg.js} +3 -3
- package/dist/{Currency-DHXU0Gdw.js → Currency-q_fri27x.js} +6 -6
- package/dist/{CustomerSupport-DtYQbB1A.js → CustomerSupport-g6_dn2eL.js} +10 -10
- package/dist/{DebugModal-C39y9ypZ.js → DebugModal-8M6rDSjI.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BNayhUQ8.js → DecisionMakerDetailsPage-BvJBgflk.js} +5 -5
- package/dist/{DecisionMakers-BkGj2Qqr.js → DecisionMakers-Dgu4mm-t.js} +21 -21
- package/dist/{Dropzone-DyEB_7GZ.js → Dropzone-C0r5MN2c.js} +3 -3
- package/dist/{EmbeddedStatus-BOo-inHj.js → EmbeddedStatus-CAwsc7gn.js} +2 -2
- package/dist/{EndStateLayout-R9pQt832.js → EndStateLayout-DvlbjE6I.js} +1 -1
- package/dist/{EntityAssociation-BKKOMQ4q.js → EntityAssociation-B6BboL-v.js} +5 -5
- package/dist/{EntityGuidanceStatus-CtuUWykx.js → EntityGuidanceStatus-Bz15IrlX.js} +2 -2
- package/dist/{ErrorPanel-DJ-uFV4L.js → ErrorPanel-BkXUK_F0.js} +2 -2
- package/dist/{Field-CmNnfz5n.js → Field-COLdO9jz.js} +1 -1
- package/dist/{FormNavigation-CfFQ7UC8.js → FormNavigation-TCli8Qsa.js} +2 -2
- package/dist/{FormWrapper-AefMYcpB.js → FormWrapper-B3xDHdGU.js} +8 -8
- package/dist/{Header-Big_S2UY.js → Header-BsGesDVP.js} +1 -1
- package/dist/{Image-DogJtPYR.js → Image-BlWYOlMz.js} +1 -1
- package/dist/{Individual.rules-Cy2RTzkg.js → Individual.rules-DRGsKUar.js} +5 -5
- package/dist/{IndividualDropin-BVav94ZL.js → IndividualDropin-BrpwLdZl.js} +52 -52
- package/dist/{InputDate-C6lCe4Mh.js → InputDate-BvK1kvDw.js} +1 -1
- package/dist/{InputText-D_BqYXYv.js → InputText-BjedS9h7.js} +1 -1
- package/dist/{Introduction-B3dnyHAw.js → Introduction-CQ4hrI5j.js} +3 -3
- package/dist/{JpAddress-BolhhPjT.js → JpAddress-g76WbAjI.js} +8 -8
- package/dist/{LandingLayout-4tlusBy1.js → LandingLayout-DRNCyVO_.js} +1 -1
- package/dist/{LegalCompanyNameField-ChE_IQlE.js → LegalCompanyNameField-BapKH1n2.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C9GKbpMT.js → LegalRepresentativeDetailsPage-9fmLU5fh.js} +3 -3
- package/dist/{Link-CyXf5frR.js → Link-wT7wXn7z.js} +1 -1
- package/dist/{ListItem-Bt_mPem1.js → ListItem-DHyZrVrc.js} +2 -2
- package/dist/{LoaderWrapper-DW2aG4g9.js → LoaderWrapper-DAGc3KzI.js} +1 -1
- package/dist/{ManageIndividualComponent-CogWUNQN.js → ManageIndividualComponent-BvEUZxYS.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-C4h2qwXq.js → ManageTermsOfServiceComponent-DqurOA43.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Be9R6VAb.js → ManageTransferInstrumentComponent-DkaY6uos.js} +12 -12
- package/dist/{MaskedInput-DQGErUrs.js → MaskedInput-CLyDZ-xK.js} +4 -4
- package/dist/{MaybeModal-Cfq9Y-Oq.js → MaybeModal-DpRek-Nn.js} +2 -2
- package/dist/{Modal-CrmpkeY0.js → Modal-CZtp1HSI.js} +1 -1
- package/dist/{Name-EUCnwto8.js → Name-Bxi6C5rE.js} +4 -4
- package/dist/{OnboardingDropinComponent-BYxARRXY.js → OnboardingDropinComponent-B5HuMN3c.js} +53 -53
- package/dist/{PayoutDetailsDropin-BW6P2kkQ.js → PayoutDetailsDropin-BW7IR1A1.js} +42 -42
- package/dist/{RadioGroup-44hvyE1V.js → RadioGroup-D4DN0p1B.js} +1 -1
- package/dist/{RadioGroupCard-DjEhU8SG.js → RadioGroupCard-CMUvyZ1d.js} +1 -1
- package/dist/{Review-g-sL7ZDy.js → Review-DLsW7v8W.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B-eg9C2m.js → RootBusinessDetailsPage-C9AxMbHN.js} +3 -3
- package/dist/{RootBusinessLinesPage-EboQFqwd.js → RootBusinessLinesPage-YgSJVVLj.js} +26 -26
- package/dist/{RootIndividualDetailsPage-DHS3qMMB.js → RootIndividualDetailsPage-YpZEbgBw.js} +3 -3
- package/dist/{Select-DABfPg0f.js → Select-DWCeyfPK.js} +3 -3
- package/dist/{SignPCIComponent-BqoTovzh.js → SignPCIComponent-2w7O6g_D.js} +10 -10
- package/dist/{SingpassSelection-DxiigpyU.js → SingpassSelection-CbzkPGfw.js} +5 -5
- package/dist/{SoleProprietorshipPage-IgsabHu-.js → SoleProprietorshipPage-DeoeTy76.js} +3 -3
- package/dist/{SourceOfFundsPage-BS1rKVKe.js → SourceOfFundsPage-CX9gODrt.js} +32 -32
- package/dist/{StepProgressIndicator-BlYqsR2g.js → StepProgressIndicator-DxRiADdo.js} +1 -1
- package/dist/{StoreProvider-CISxF69y.js → StoreProvider-Cs2w6BiW.js} +4 -4
- package/dist/{Summary-hZQMYY8b.js → Summary-DARCKKrx.js} +5 -5
- package/dist/{TaskVerificationStatus-BkICmo3e.js → TaskVerificationStatus-CLNmwFAF.js} +1 -1
- package/dist/{TaxInformationField-DA1SER9m.js → TaxInformationField-D5AraebA.js} +19 -19
- package/dist/{TaxReportingDropin-BQy2CrfP.js → TaxReportingDropin-WHWPBDD8.js} +15 -15
- package/dist/{TextArea-BVmNrRme.js → TextArea-DAdUD93W.js} +1 -1
- package/dist/{TileGroup-BexJEHjV.js → TileGroup-CVt7AK6N.js} +2 -2
- package/dist/{TrustDetailsPage-4CSRQyws.js → TrustDetailsPage-BnO3yn7V.js} +33 -33
- package/dist/{TrustMemberCompanyPage-DoeI_oPE.js → TrustMemberCompanyPage-h559kWH3.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Bd_0eP6B.js → TrustMemberIndividualPage-CqiHdKg7.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-5ic4OwLo.js → TrustMemberRoleAndTypePage-Dwknlfme.js} +21 -21
- package/dist/{TrustMembersOverview-CpMvaz8A.js → TrustMembersOverview-B4YCHAVc.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CG65q5UX.js → UnincorporatedPartnershipIndividualPage-ChYM-5eW.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BHlOu-QG.js → UnincorporatedPartnershipMemberCompanyPage-CxBPHmpw.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-ChWfvQr3.js → UnincorporatedPartnershipMemberRoleAndTypePage-CYSxanrA.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-BSpPPpnB.js → UnincorporatedPartnershipMembersOverview-CwP-v2Mz.js} +8 -8
- package/dist/{VerificationErrorAlert-DlCMbbyt.js → VerificationErrorAlert-eQMPpWDF.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-PYtbeouG.js → ViewVerificationStatusComponent-D6E-l2aA.js} +3 -3
- package/dist/{accountHolderUtils-C75xtw4E.js → accountHolderUtils-DeGjw3VP.js} +1 -1
- 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 +4 -4
- 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/{bafinUtils-DsY8ws1M.js → bafinUtils-KqAv4HF4.js} +1 -1
- package/dist/{commonValidators-Bld1N1vF.js → commonValidators-lK3J4Pp5.js} +1 -1
- package/dist/{dropinUtils-CAiDwa5U.js → dropinUtils-BP49oC-E.js} +3 -3
- package/dist/{formUtils-BD7sDa8f.js → formUtils-DXsZZezg.js} +2 -2
- package/dist/{getName-DkzImyZO.js → getName-CnH-XZ-0.js} +1 -1
- package/dist/{getProblemsForEntity-BPv4f9Tx.js → getProblemsForEntity-By7SKsmj.js} +1 -1
- package/dist/{iframeWidget-CNWsRmIe.js → iframeWidget-DjhbmseH.js} +3 -3
- package/dist/{isEmpty-Pobz7lE7.js → isEmpty-DKYWTFsj.js} +1 -1
- package/dist/{japanSupportUtils-Cgw9dBsr.js → japanSupportUtils-D0DlRSnN.js} +1 -1
- package/dist/{localizeDateString-CAnd4W1y.js → localizeDateString-DFvjNZA-.js} +1 -1
- package/dist/{mapExistingFile-BZXo7HtO.js → mapExistingFile-BCvrQOQa.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B2GyvHW2.js → mapJpAddressSchemaToAddressLocalizations-CH7_92jG.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-oeKNb1EG.js → mapLegalEntityToIndividualSchema-p_QAp6yM.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C4zz9v3R.js → mapTransferInstrumentToPayoutAccount-ZzCG5sdH.js} +1 -1
- package/dist/{patternValidators-B_gZ9OEK.js → patternValidators-D3ilblqn.js} +1 -1
- package/dist/{process-field-configurations-DTeQU5DK.js → process-field-configurations-gWPqA4wV.js} +2 -2
- package/dist/{resolveEnvironment-0tLtiAxj.js → resolveEnvironment--0u8n19D.js} +3 -3
- package/dist/{roleMetadata-CQlMMuGM.js → roleMetadata-DWItqtcL.js} +1 -1
- package/dist/{types-DelojZRn.js → types-Bsq90MtZ.js} +1 -1
- package/dist/{types-BHB4nscA.js → types-DS0jcRWy.js} +1 -1
- package/dist/{types-C_XJxWCe.js → types-zvl4yaK4.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BGeGBL08.js → useAssociatedLegalEntity-D1QAjxfz.js} +1 -1
- package/dist/{useBusinessDetailsData-DC-wmNPR.js → useBusinessDetailsData-DA8ZAoqM.js} +58 -51
- package/dist/{useBusinessLines-ByGXMKMt.js → useBusinessLines-ig6N-3bv.js} +1 -1
- package/dist/{useCanSeeIntroduction--oO1qdiT.js → useCanSeeIntroduction-DIzzcbtH.js} +2 -2
- package/dist/{useCreateLegalEntity-BhOxB6BR.js → useCreateLegalEntity-BlPIg7bR.js} +1 -1
- package/dist/{useDataMissingRemediations-DSkyG5Z7.js → useDataMissingRemediations-awdHHpxL.js} +1 -1
- package/dist/{useDataset-yW_bgdcI.js → useDataset-D9eSt03k.js} +1 -1
- package/dist/{useDeleteTransferInstrument-7o0YMB_Y.js → useDeleteTransferInstrument-BLCncQUW.js} +2 -2
- package/dist/{useForm-BO942FZd.js → useForm-DeH2DfkH.js} +2 -2
- package/dist/{useFormContext-DQrT9O9G.js → useFormContext-BoD6vfPh.js} +6 -6
- package/dist/{useGlobalData-u2zvMtMx.js → useGlobalData-BX6vERjU.js} +1 -1
- package/dist/{useMultiForm-CT8j56sz.js → useMultiForm-BpbxAenV.js} +3 -3
- package/dist/{useNavigate-uXdvk8zK.js → useNavigate-_B6wPlU_.js} +29 -29
- package/dist/{useOnboardingStatus-fuu0YjVz.js → useOnboardingStatus-f-bbvzT0.js} +1 -1
- package/dist/{usePciQuestionnaireList-Bx4kLQdp.js → usePciQuestionnaireList-uOAcvbaD.js} +1 -1
- package/dist/{useSalesChannels-DWNaDLQE.js → useSalesChannels-BaBwQqcP.js} +3 -3
- package/dist/{useScenarios-h02LgFwh.js → useScenarios-BJJvml-j.js} +1 -1
- package/dist/{useSetting-DE1-_Vco.js → useSetting-BWKORbmz.js} +1 -1
- package/dist/{useTaskStatus-B5twg5YX.js → useTaskStatus-1tjqSb4D.js} +1 -1
- package/dist/{useTermsOfServiceStatus-YEliqzc0.js → useTermsOfServiceStatus-B3VyH-O5.js} +1 -1
- package/dist/{useToastContext-C4DyQocl.js → useToastContext-D06xzYOV.js} +1 -1
- package/dist/{useTrustMembers-OlL-flWZ.js → useTrustMembers-BKqlPqX9.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DskiP-FD.js → useUnincorporatedPartnershipMembers-DXBAF3-e.js} +3 -3
- package/dist/{useUpdateBusinessLines-BwPww5xr.js → useUpdateBusinessLines-DKXhqYCR.js} +3 -3
- package/dist/{useUpdateLegalEntity-CCe3LXjI.js → useUpdateLegalEntity-Ci7INf21.js} +2 -2
- package/dist/{utils-DYNMAZ4x.js → utils-BQnTjqYC.js} +4 -4
- package/dist/{utils-B4EWNpln.js → utils-BTirG8oU.js} +1 -1
- package/dist/{utils-g7QCpZSv.js → utils-C6Jnurmx.js} +2 -2
- package/dist/{utils-DV-jCPYV.js → utils-CHfAVbD1.js} +1 -1
- package/dist/{utils-CV_cvF6v.js → utils-qZ76EKjf.js} +1 -1
- package/dist/{validate-CLiAFCrt.js → validate-CGRP-XKK.js} +2 -2
- package/dist/{validate-BIn1CJPi.js → validate-WROT-SMP.js} +1 -1
- package/dist/{validationError-ZbdyGpRj.js → validationError-DGhgpBkU.js} +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
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] = "4554165a-0f6c-45f3-bdf8-8f2347ef7222", e._sentryDebugIdIdentifier = "sentry-dbid-4554165a-0f6c-45f3-bdf8-8f2347ef7222");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,67 +10,67 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
12
12
|
import { useState, useMemo, useEffect, useRef, useCallback } from "preact/hooks";
|
|
13
|
-
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-
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
16
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
17
|
-
import { u as useTranslation, bu as isISIN, v as useExperimentsContext, V as Button, c as useLegalEntity, R as ROOT_LE, z as Typography, L as Loader, a0 as CountryCodes, B as useSettingsContext, b as useApiContext, $ as httpPost, ac as entriesOf, p as useAnalyticsContext, a3 as createLogger, m as useAccountHolder, aa as useI18nContext, ai as isEmpty, i as isUndefinedOrNull, j as TaskTypes, o as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, a6 as objectsDeepEqual, aD as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, ay as Scenarios, aJ as filterOutUnwantedAssociationsIfRootLE, aH as drop, ae as getOwnEntityAssociations, aO as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-
|
|
18
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
13
|
+
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-DKXhqYCR.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-BJJvml-j.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BlPIg7bR.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Ci7INf21.js";
|
|
17
|
+
import { u as useTranslation, bu as isISIN, v as useExperimentsContext, V as Button, c as useLegalEntity, R as ROOT_LE, z as Typography, L as Loader, a0 as CountryCodes, B as useSettingsContext, b as useApiContext, $ as httpPost, ac as entriesOf, p as useAnalyticsContext, a3 as createLogger, m as useAccountHolder, aa as useI18nContext, ai as isEmpty, i as isUndefinedOrNull, j as TaskTypes, o as LegalEntityTypes, bv as businessDetailsComponentsKeyMapping, bw as solePropBusinessDetailsKeyMapping, a6 as objectsDeepEqual, aD as keysOf, bx as solePropBusinessDetailsApiKeyMapping, b5 as businessDetailsApiKeyMapping, ay as Scenarios, aJ as filterOutUnwantedAssociationsIfRootLE, aH as drop, ae as getOwnEntityAssociations, aO as doArraysMatch, by as solePropBusinessDetailsDocumentMapping, bz as businessDetailsDocumentMapping } from "./StoreProvider-Cs2w6BiW.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BoD6vfPh.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D06xzYOV.js";
|
|
20
20
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
21
|
-
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
22
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
23
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
24
|
-
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
25
|
-
import { C as Confirm } from "./Confirm-
|
|
26
|
-
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-
|
|
27
|
-
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
28
|
-
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-
|
|
29
|
-
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 exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-
|
|
31
|
-
import { t as toFullWidth, u as useAllowedCountries, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
32
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-
|
|
21
|
+
import { c as composePerScenarioFormConfigurations, g as getPropsFromConfigurations } from "./process-field-configurations-gWPqA4wV.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BP49oC-E.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-BpbxAenV.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BCvrQOQa.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-Dx4QYQUB.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CGRP-XKK.js";
|
|
27
|
+
import { d as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, T as TaxInformationField, C as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, f as getTaxInformationPlaceholderText, S as StateCodesUS, h as isUsingCompanySearch, M as MemoizedDocumentUpload, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, l as isRegistrationNumberAbsentStateV4Scenario, m as getTaxIdNumberOptions, n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, o as rules, g as getFieldsWithExistingData } from "./TaxInformationField-D5AraebA.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-DARCKKrx.js";
|
|
29
|
+
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 exemptFromRegistrationNumberDefaultFieldMetadata } from "./ConstitutionalDocument-CMQlemXU.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-CZtp1HSI.js";
|
|
31
|
+
import { t as toFullWidth, u as useAllowedCountries, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CH7_92jG.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-qZ76EKjf.js";
|
|
33
33
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
34
34
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
35
35
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
36
|
-
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
37
|
-
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-
|
|
38
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
39
|
-
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
40
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
41
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
36
|
+
import { f as formatCurrency, A as ALLOWED_SOF_SERVICES } from "./utils-C6Jnurmx.js";
|
|
37
|
+
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-Bp3gAZwV.js";
|
|
38
|
+
import { S as SettingNames } from "./TaskVerificationStatus-CLNmwFAF.js";
|
|
39
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-BQnTjqYC.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DGhgpBkU.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-DKYWTFsj.js";
|
|
42
42
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
43
43
|
import { b as mapAddressLocalizationToJpAddressSchema, a as mapApiScriptLocalizationToSchemaFields, m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
44
|
-
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-
|
|
45
|
-
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-
|
|
46
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
44
|
+
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-q_fri27x.js";
|
|
45
|
+
import { g as getLegalCompanyNameHelperText, L as LEGAL_COMPANY_NAME_FIELD, d as defaultFieldMetadataV4, a as defaultFieldMetadata$2, b as defaultFieldConfigV4, c as defaultFieldConfig$2 } from "./LegalCompanyNameField-BapKH1n2.js";
|
|
46
|
+
import { u as useBusinessLines } from "./useBusinessLines-ig6N-3bv.js";
|
|
47
47
|
import { Suspense, lazy } from "preact/compat";
|
|
48
|
-
import { C as Checkbox } from "./Checkbox-
|
|
49
|
-
import { F as Field } from "./Field-
|
|
50
|
-
import { H as Header } from "./Header-
|
|
51
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
52
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
53
|
-
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
54
|
-
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-
|
|
55
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
56
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
48
|
+
import { C as Checkbox } from "./Checkbox-BH0zIKqJ.js";
|
|
49
|
+
import { F as Field } from "./Field-COLdO9jz.js";
|
|
50
|
+
import { H as Header } from "./Header-BsGesDVP.js";
|
|
51
|
+
import { E as ErrorPanel } from "./ErrorPanel-BkXUK_F0.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BvK1kvDw.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-D3ilblqn.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-CLyDZ-xK.js";
|
|
55
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-DXsZZezg.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-D0DlRSnN.js";
|
|
57
57
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
58
58
|
import { signal } from "@preact/signals";
|
|
59
59
|
import cx from "classnames";
|
|
60
|
-
import { L as Link } from "./Link-
|
|
60
|
+
import { L as Link } from "./Link-wT7wXn7z.js";
|
|
61
61
|
import { S as StructuredList } from "./StructuredList-BNLhk_zV.js";
|
|
62
|
-
import { I as InputText } from "./InputText-
|
|
63
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
64
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
62
|
+
import { I as InputText } from "./InputText-BjedS9h7.js";
|
|
63
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-CRP1LtfT.js";
|
|
64
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DAGc3KzI.js";
|
|
65
65
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
66
66
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
67
|
-
import { L as ListItem } from "./ListItem-
|
|
68
|
-
import { a as Alert } from "./Alert-
|
|
69
|
-
import { T as TileGroup } from "./TileGroup-
|
|
70
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
71
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
72
|
-
import { u as useForm } from "./useForm-
|
|
73
|
-
import { c as currencyByCountry } from "./types-
|
|
67
|
+
import { L as ListItem } from "./ListItem-DHyZrVrc.js";
|
|
68
|
+
import { a as Alert } from "./Alert-DdvR5JXz.js";
|
|
69
|
+
import { T as TileGroup } from "./TileGroup-CVt7AK6N.js";
|
|
70
|
+
import { R as RadioGroup } from "./RadioGroup-D4DN0p1B.js";
|
|
71
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-BX6vERjU.js";
|
|
72
|
+
import { u as useForm } from "./useForm-DeH2DfkH.js";
|
|
73
|
+
import { c as currencyByCountry } from "./types-zvl4yaK4.js";
|
|
74
74
|
const DATE_OF_INCORPORATION_FIELD = [
|
|
75
75
|
"dateOfIncorporation"
|
|
76
76
|
];
|
|
@@ -433,7 +433,7 @@ function VerifiedBusinessCard({
|
|
|
433
433
|
] });
|
|
434
434
|
}
|
|
435
435
|
const LazyJpAddress = lazy(
|
|
436
|
-
async () => (await import("./JpAddress-
|
|
436
|
+
async () => (await import("./JpAddress-g76WbAjI.js")).JpAddress
|
|
437
437
|
);
|
|
438
438
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
439
439
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -1653,12 +1653,19 @@ const useCompanySearch = (data, useAgnosticEndpoint, options) => {
|
|
|
1653
1653
|
};
|
|
1654
1654
|
const handleCompanySearch = async (rootLegalEntityId, baseUrl, data, useAgnosticEndpoint) => {
|
|
1655
1655
|
if (useAgnosticEndpoint) {
|
|
1656
|
+
const _data2 = {
|
|
1657
|
+
name: data.name,
|
|
1658
|
+
country: data.country,
|
|
1659
|
+
stateOrProvince: data.state,
|
|
1660
|
+
...data.registrationNumber ? { registrationNumber: data.registrationNumber } : {},
|
|
1661
|
+
resultSizeLimit: data.resultSizeLimit ?? 15
|
|
1662
|
+
};
|
|
1656
1663
|
return httpPost(
|
|
1657
1664
|
{
|
|
1658
1665
|
baseUrl,
|
|
1659
1666
|
path: `legalEntities/${rootLegalEntityId}/companySearch/search`
|
|
1660
1667
|
},
|
|
1661
|
-
|
|
1668
|
+
_data2
|
|
1662
1669
|
);
|
|
1663
1670
|
}
|
|
1664
1671
|
const _data = data;
|
|
@@ -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-Cs2w6BiW.js";
|
|
12
12
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
11
|
-
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-
|
|
10
|
+
import { S as SettingNames } from "./TaskVerificationStatus-CLNmwFAF.js";
|
|
11
|
+
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
const useLegalEntityType = ({
|
|
13
13
|
legalEntity
|
|
14
14
|
}) => {
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, $ as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-DSkyG5Z7.js → useDataMissingRemediations-awdHHpxL.js}
RENAMED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { u as useTranslation, a8 as EntityTypes, bn as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, j as TaskTypes } from "./StoreProvider-
|
|
11
|
+
import { u as useTranslation, a8 as EntityTypes, bn as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, j as TaskTypes } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
function useDataMissingRemediations({
|
|
13
13
|
legalEntityId,
|
|
14
14
|
problems
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useEffect } from "preact/hooks";
|
|
11
|
-
import { a3 as createLogger, aa as useI18nContext } from "./StoreProvider-
|
|
11
|
+
import { a3 as createLogger, aa as useI18nContext } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
import { a as datasetUtilities, d as datasetIdentifier } from "./datasetUtil-BHQp0-xL.js";
|
|
13
13
|
const logger$1 = createLogger();
|
|
14
14
|
const countriesImports = /* @__PURE__ */ Object.assign({ "../countries/de-DE.json": () => import("./de-DE-B3nctkG8.js"), "../countries/el-GR.json": () => import("./el-GR-CdgLZhuO.js"), "../countries/en-US.json": () => import("./en-US-DSoLr6rp.js"), "../countries/es-ES.json": () => import("./es-ES-BRfK6tX7.js"), "../countries/fr-FR.json": () => import("./fr-FR-Dk6Lw2On.js"), "../countries/it-IT.json": () => import("./it-IT-D7G4BaP7.js"), "../countries/ja-JP.json": () => import("./ja-JP-DTW_hY1L.js"), "../countries/nl-NL.json": () => import("./nl-NL-CFzm75Jw.js"), "../countries/pt-PT.json": () => import("./pt-PT-DpDxAynk.js"), "../countries/sv-SE.json": () => import("./sv-SE-rckxD-43.js") });
|
package/dist/{useDeleteTransferInstrument-7o0YMB_Y.js → useDeleteTransferInstrument-BLCncQUW.js}
RENAMED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, ad as httpDelete } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D06xzYOV.js";
|
|
12
|
+
import { b as useApiContext, ad as httpDelete } from "./StoreProvider-Cs2w6BiW.js";
|
|
13
13
|
const deleteTransferInstrument = async (legalEntityId, baseUrl, transferInstrumentId) => {
|
|
14
14
|
return httpDelete({
|
|
15
15
|
baseUrl,
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { a3 as createLogger, ai as isEmpty, aO as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { a3 as createLogger, ai as isEmpty, aO as doArraysMatch } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-BTirG8oU.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 { p 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 { p as useAnalyticsContext, u as useTranslation, V as Button } from "./StoreProvider-Cs2w6BiW.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DAGc3KzI.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-DpRek-Nn.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-BP49oC-E.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-Dx4QYQUB.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DARCKKrx.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useContext, useCallback, useMemo } from "preact/hooks";
|
|
11
11
|
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
12
|
-
import { ba as StateContext } from "./StoreProvider-
|
|
12
|
+
import { ba as StateContext } from "./StoreProvider-Cs2w6BiW.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 { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { a6 as objectsDeepEqual, a3 as createLogger, ai as isEmpty } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-BTirG8oU.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-lK3J4Pp5.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;
|
|
@@ -9,88 +9,88 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { matchRoute, useLocation } from "wouter-preact";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { j as TaskTypes } from "./StoreProvider-
|
|
12
|
+
import { j as TaskTypes } from "./StoreProvider-Cs2w6BiW.js";
|
|
13
13
|
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-
|
|
14
|
+
async () => (await import("./Introduction-CQ4hrI5j.js")).Introduction
|
|
15
15
|
);
|
|
16
16
|
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
17
|
+
async () => (await import("./BusinessTypeSelectionPage-BNRQeYZz.js")).BusinessTypeSelectionPage
|
|
18
18
|
);
|
|
19
19
|
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-
|
|
20
|
+
async () => (await import("./SingpassSelection-CbzkPGfw.js")).SingpassSelection
|
|
21
21
|
);
|
|
22
22
|
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-
|
|
23
|
+
async () => (await import("./AccountSetupRejected-D4ZUKySq.js")).AccountSetupRejected
|
|
24
24
|
);
|
|
25
25
|
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-
|
|
26
|
+
async () => (await import("./DecisionMakers-Dgu4mm-t.js")).DecisionMakers
|
|
27
27
|
);
|
|
28
28
|
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-
|
|
29
|
+
async () => (await import("./CustomerSupport-g6_dn2eL.js")).CustomerSupport
|
|
30
30
|
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-
|
|
31
|
+
const Review = lazy(async () => (await import("./Review-DLsW7v8W.js")).Review);
|
|
32
32
|
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-
|
|
33
|
+
async () => (await import("./SignPCIComponent-2w7O6g_D.js")).SignPCIComponent
|
|
34
34
|
);
|
|
35
35
|
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
36
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BcThpdef.js")).AcceptTermsOfServiceComponent
|
|
37
37
|
);
|
|
38
38
|
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-
|
|
39
|
+
async () => (await import("./TaxReportingDropin-WHWPBDD8.js")).TaxReportingDropin
|
|
40
40
|
);
|
|
41
41
|
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
42
|
+
async () => (await import("./PayoutDetailsDropin-BW7IR1A1.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
43
|
);
|
|
44
44
|
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
45
|
+
async () => (await import("./RootBusinessDetailsPage-C9AxMbHN.js")).RootBusinessDetailsPage
|
|
46
46
|
);
|
|
47
47
|
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
48
|
+
async () => (await import("./RootBusinessLinesPage-YgSJVVLj.js")).RootBusinessLinesPage
|
|
49
49
|
);
|
|
50
50
|
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
51
|
+
async () => (await import("./SoleProprietorshipPage-DeoeTy76.js")).SoleProprietorshipPage
|
|
52
52
|
);
|
|
53
53
|
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
54
|
+
async () => (await import("./TrustMemberCompanyPage-h559kWH3.js")).TrustMemberCompanyPage
|
|
55
55
|
);
|
|
56
56
|
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
57
|
+
async () => (await import("./TrustMemberIndividualPage-CqiHdKg7.js")).TrustMemberIndividualPage
|
|
58
58
|
);
|
|
59
59
|
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
60
|
+
async () => (await import("./TrustMemberRoleAndTypePage-Dwknlfme.js")).TrustMemberRoleAndTypePage
|
|
61
61
|
);
|
|
62
62
|
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview-
|
|
63
|
+
async () => (await import("./TrustMembersOverview-B4YCHAVc.js")).TrustMembersOverview
|
|
64
64
|
);
|
|
65
65
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
66
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CxBPHmpw.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
67
|
);
|
|
68
68
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
69
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-ChYM-5eW.js")).UnincorporatedPartnershipIndividualPage
|
|
70
70
|
);
|
|
71
71
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
72
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-CYSxanrA.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
73
|
);
|
|
74
74
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
75
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-CwP-v2Mz.js")).UnincorporatedPartnershipMembersOverview
|
|
76
76
|
);
|
|
77
77
|
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-
|
|
78
|
+
async () => (await import("./BusinessFinancingPage-9bjno-km.js")).BusinessFinancingPage
|
|
79
79
|
);
|
|
80
80
|
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-
|
|
81
|
+
async () => (await import("./TrustDetailsPage-BnO3yn7V.js")).TrustDetailsPage
|
|
82
82
|
);
|
|
83
83
|
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-
|
|
84
|
+
async () => (await import("./SourceOfFundsPage-CX9gODrt.js")).SourceOfFundsPage
|
|
85
85
|
);
|
|
86
86
|
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
87
|
+
async () => (await import("./RootIndividualDetailsPage-YpZEbgBw.js")).RootIndividualDetailsPage
|
|
88
88
|
);
|
|
89
89
|
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
90
|
+
async () => (await import("./LegalRepresentativeDetailsPage-9fmLU5fh.js")).LegalRepresentativeDetailsPage
|
|
91
91
|
);
|
|
92
92
|
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
93
|
+
async () => (await import("./DecisionMakerDetailsPage-BvJBgflk.js")).DecisionMakerDetailsPage
|
|
94
94
|
);
|
|
95
95
|
const ROUTE_CONFIG = {
|
|
96
96
|
[TaskTypes.TASKS_OVERVIEW]: { path: "/tasks" },
|
|
@@ -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-Cs2w6BiW.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 } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
const getPciQuestionnaireList = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, $ as httpPost, B as useSettingsContext } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, $ as httpPost, B as useSettingsContext } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
import { useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
14
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
13
|
+
import { u as useBusinessLines } from "./useBusinessLines-ig6N-3bv.js";
|
|
14
|
+
import { S as SettingNames } from "./TaskVerificationStatus-CLNmwFAF.js";
|
|
15
15
|
const getPciStatus = async (legalEntityId, baseUrl, data) => {
|
|
16
16
|
const filteredData = {
|
|
17
17
|
...data,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ac as entriesOf, ay as Scenarios, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ac as entriesOf, ay as Scenarios, k as httpGet } from "./StoreProvider-Cs2w6BiW.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 { useContext } from "preact/hooks";
|
|
11
|
-
import { bj as SettingsContext } from "./StoreProvider-
|
|
11
|
+
import { bj as SettingsContext } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
const useSetting = (settingName) => {
|
|
13
13
|
const context = useContext(SettingsContext);
|
|
14
14
|
const { getSetting } = context;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { q as TaskStatuses, a3 as createLogger, b as useApiContext, k as httpGet } from "./StoreProvider-
|
|
11
|
+
import { q as TaskStatuses, a3 as createLogger, b as useApiContext, k as httpGet } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
12
|
const logger = createLogger();
|
|
13
13
|
const normalizeTaskStatuses = (taskStatuses) => {
|
|
14
14
|
return taskStatuses?.statuses?.reduce((acc, currentTask) => {
|
|
@@ -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-Cs2w6BiW.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 { a3 as createLogger, b as useApiContext, af as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { a3 as createLogger, b as useApiContext, af as ToastContext } from "./StoreProvider-Cs2w6BiW.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 { ae as getOwnEntityAssociations, bo as TrustMemberTypes, c as useLegalEntity, o as LegalEntityTypes, R as ROOT_LE, v as useExperimentsContext } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { ae as getOwnEntityAssociations, bo as TrustMemberTypes, c as useLegalEntity, o as LegalEntityTypes, R as ROOT_LE, v as useExperimentsContext } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D1QAjxfz.js";
|
|
13
13
|
import { skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CnH-XZ-0.js";
|
|
15
15
|
const useExemptSettlor = ({
|
|
16
16
|
trust
|
|
17
17
|
}) => {
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { o as LegalEntityTypes, ae as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
11
|
+
import { o as LegalEntityTypes, ae as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-D1QAjxfz.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-CnH-XZ-0.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, ai as isEmpty, u as useTranslation, v as useExperimentsContext, t as IconButton, $ as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, k as httpGet, ai as isEmpty, u as useTranslation, v as useExperimentsContext, t as IconButton, $ as httpPost } from "./StoreProvider-Cs2w6BiW.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-COLdO9jz.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-DWCeyfPK.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, $ as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D06xzYOV.js";
|
|
12
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-Cs2w6BiW.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
11
|
-
import { g as getLegalEntityCountry, br as getCapabilities, o as LegalEntityTypes, aQ as hasOwnEntityAssociationOfType, a0 as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
11
|
+
import { g as getLegalEntityCountry, br as getCapabilities, o as LegalEntityTypes, aQ as hasOwnEntityAssociationOfType, a0 as CountryCodes } from "./StoreProvider-Cs2w6BiW.js";
|
|
12
|
+
import { a as allowIndividualWithoutSoleProp } from "./accountHolderUtils-DeGjw3VP.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-DRGsKUar.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DS0jcRWy.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 { o as LegalEntityTypes, z as Typography } from "./StoreProvider-
|
|
11
|
+
import { o as LegalEntityTypes, z as Typography } from "./StoreProvider-Cs2w6BiW.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-DFvjNZA-.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|