@adyen/kyc-components 4.2.0-beta.1 → 4.2.0-beta.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-DMAt4BdI.js → AcceptTermsOfServiceComponent-3VyqpsNj.js} +15 -15
- package/dist/{Accordion-Bvg0x3Mz.js → Accordion-BUuUrTAt.js} +1 -1
- package/dist/{AccountSetupRejected-DkdcpmK6.js → AccountSetupRejected-BHD18iZv.js} +3 -3
- package/dist/{ActionBar-AKKiAmMe.js → ActionBar-u_WAMjFr.js} +1 -1
- package/dist/{Address-CtHjSBzx.js → Address-DB17miDl.js} +10 -10
- package/dist/{Alert-BfbfHD1i.js → Alert-469Ajk3u.js} +2 -2
- package/dist/{Avatar-Bf4qSH-S.js → Avatar-CnsE2US6.js} +1 -1
- package/dist/{BusinessFinancingComponent-DxwW9KZP.js → BusinessFinancingComponent-BLKn1HXU.js} +4 -4
- package/dist/{BusinessFinancingDropin-N_DSHYRu.js → BusinessFinancingDropin-DgtdesF6.js} +28 -28
- package/dist/{BusinessFinancingPage-unaDjCZH.js → BusinessFinancingPage-CdEzg6hi.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-JTkIjnGQ.js → BusinessTypeSelectionPage-4Qbgu0TC.js} +8 -8
- package/dist/{Checkbox-Bi_0fc1x.js → Checkbox-CplfRLJO.js} +1 -1
- package/dist/{Confirm-CKpYp_5J.js → Confirm-ByoZePlZ.js} +2 -2
- package/dist/{ConstitutionalDocument-BRSGUZEC.js → ConstitutionalDocument-CZrTK09V.js} +17 -17
- package/dist/{ContactDetails-DnWFEseS.js → ContactDetails-CBu1jGoZ.js} +7 -7
- package/dist/{ContextGuidance-CzbsgT6C.js → ContextGuidance-iSAf5JHM.js} +2 -2
- package/dist/{CountryField-B4WQy2ta.js → CountryField-O2a-Hq4-.js} +4 -4
- package/dist/{CreateIndividualComponent-Swzyxw03.js → CreateIndividualComponent-CSGP8ehs.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CeE_Q8JD.js → CreateTransferInstrumentComponent-wVSkaiMl.js} +3 -3
- package/dist/{Currency-DHXU0Gdw.js → Currency-B8hhmsWF.js} +6 -6
- package/dist/{CustomerSupport-DtYQbB1A.js → CustomerSupport-Kc9tSBWe.js} +10 -10
- package/dist/{DebugModal-C39y9ypZ.js → DebugModal-DNDX831k.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-BNayhUQ8.js → DecisionMakerDetailsPage-4qOMULZp.js} +5 -5
- package/dist/{DecisionMakers-BkGj2Qqr.js → DecisionMakers-BklGPQy_.js} +21 -21
- package/dist/{Dropzone-DyEB_7GZ.js → Dropzone-DderrBmH.js} +3 -3
- package/dist/{EmbeddedStatus-BOo-inHj.js → EmbeddedStatus-B2EXgcYj.js} +2 -2
- package/dist/{EndStateLayout-R9pQt832.js → EndStateLayout-D6uH61d8.js} +1 -1
- package/dist/{EntityAssociation-BKKOMQ4q.js → EntityAssociation-2F7Y3Shn.js} +5 -5
- package/dist/{EntityGuidanceStatus-CtuUWykx.js → EntityGuidanceStatus-BQvSSiHk.js} +2 -2
- package/dist/{ErrorPanel-DJ-uFV4L.js → ErrorPanel-5VK5k4oS.js} +2 -2
- package/dist/{Field-CmNnfz5n.js → Field-Dtvsh0q2.js} +1 -1
- package/dist/{FormNavigation-CfFQ7UC8.js → FormNavigation-EYJeIK00.js} +2 -2
- package/dist/{FormWrapper-AefMYcpB.js → FormWrapper-BoqVyqyY.js} +8 -8
- package/dist/{Header-Big_S2UY.js → Header-CGJ1-Xfr.js} +1 -1
- package/dist/{Image-DogJtPYR.js → Image-CYxy0tSB.js} +1 -1
- package/dist/{Individual.rules-Cy2RTzkg.js → Individual.rules-B0YNShBa.js} +5 -5
- package/dist/{IndividualDropin-BVav94ZL.js → IndividualDropin-BcAey7fn.js} +52 -52
- package/dist/{InputDate-C6lCe4Mh.js → InputDate-vVXGPGKP.js} +1 -1
- package/dist/{InputText-D_BqYXYv.js → InputText-BmsiPaTB.js} +1 -1
- package/dist/{Introduction-B3dnyHAw.js → Introduction-LQrK5BQ_.js} +3 -3
- package/dist/{JpAddress-BolhhPjT.js → JpAddress-CAMGHFR5.js} +8 -8
- package/dist/{LandingLayout-4tlusBy1.js → LandingLayout-BFDWwYIO.js} +1 -1
- package/dist/{LegalCompanyNameField-ChE_IQlE.js → LegalCompanyNameField-CwoUpoYt.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C9GKbpMT.js → LegalRepresentativeDetailsPage-BdKGD1qN.js} +3 -3
- package/dist/{Link-CyXf5frR.js → Link-CLRu2tMk.js} +1 -1
- package/dist/{ListItem-Bt_mPem1.js → ListItem-BVmRYKu6.js} +2 -2
- package/dist/{LoaderWrapper-DW2aG4g9.js → LoaderWrapper-BPNpvw6R.js} +1 -1
- package/dist/{ManageIndividualComponent-CogWUNQN.js → ManageIndividualComponent-DfPuT4RW.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-C4h2qwXq.js → ManageTermsOfServiceComponent-DpLnPxMB.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Be9R6VAb.js → ManageTransferInstrumentComponent-BD0JI9UA.js} +12 -12
- package/dist/{MaskedInput-DQGErUrs.js → MaskedInput-B0iHxwad.js} +4 -4
- package/dist/{MaybeModal-Cfq9Y-Oq.js → MaybeModal-CrSzTmL-.js} +2 -2
- package/dist/{Modal-CrmpkeY0.js → Modal-Dsd1Gieq.js} +1 -1
- package/dist/{Name-EUCnwto8.js → Name-Cyf3a-Q_.js} +4 -4
- package/dist/{OnboardingDropinComponent-BYxARRXY.js → OnboardingDropinComponent-CeNqMXmv.js} +53 -53
- package/dist/{PayoutDetailsDropin-BW6P2kkQ.js → PayoutDetailsDropin-B6wze_5n.js} +42 -42
- package/dist/{RadioGroup-44hvyE1V.js → RadioGroup-DPr6zOIQ.js} +1 -1
- package/dist/{RadioGroupCard-DjEhU8SG.js → RadioGroupCard-DJHhYRUB.js} +1 -1
- package/dist/{Review-g-sL7ZDy.js → Review-CFfD01Un.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B-eg9C2m.js → RootBusinessDetailsPage-DLZuFeV8.js} +3 -3
- package/dist/{RootBusinessLinesPage-EboQFqwd.js → RootBusinessLinesPage-CgbnwfKC.js} +26 -26
- package/dist/{RootIndividualDetailsPage-DHS3qMMB.js → RootIndividualDetailsPage-Duml7WQd.js} +3 -3
- package/dist/{Select-DABfPg0f.js → Select-ZhAYYFsm.js} +3 -3
- package/dist/{SignPCIComponent-BqoTovzh.js → SignPCIComponent-DZc57CqO.js} +10 -10
- package/dist/{SingpassSelection-DxiigpyU.js → SingpassSelection-It_TR9Xa.js} +5 -5
- package/dist/{SoleProprietorshipPage-IgsabHu-.js → SoleProprietorshipPage-D0rLVNWs.js} +3 -3
- package/dist/{SourceOfFundsPage-BS1rKVKe.js → SourceOfFundsPage-DAfek9vZ.js} +32 -32
- package/dist/{StepProgressIndicator-BlYqsR2g.js → StepProgressIndicator-Fqsq4EVg.js} +1 -1
- package/dist/{StoreProvider-CISxF69y.js → StoreProvider-DybPdYbI.js} +4 -4
- package/dist/{Summary-hZQMYY8b.js → Summary-JDwLCEn-.js} +5 -5
- package/dist/{TaskVerificationStatus-BkICmo3e.js → TaskVerificationStatus-OAaQVbWL.js} +1 -1
- package/dist/{TaxInformationField-DA1SER9m.js → TaxInformationField-CxXvfotI.js} +19 -19
- package/dist/{TaxReportingDropin-BQy2CrfP.js → TaxReportingDropin-D8DNZ9c_.js} +15 -15
- package/dist/{TextArea-BVmNrRme.js → TextArea-DkpFPyO-.js} +1 -1
- package/dist/{TileGroup-BexJEHjV.js → TileGroup-DLbCGJDi.js} +2 -2
- package/dist/{TrustDetailsPage-4CSRQyws.js → TrustDetailsPage-DX6SLozy.js} +33 -33
- package/dist/{TrustMemberCompanyPage-DoeI_oPE.js → TrustMemberCompanyPage-DFXCrtMZ.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Bd_0eP6B.js → TrustMemberIndividualPage-DcKoYAry.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-5ic4OwLo.js → TrustMemberRoleAndTypePage-B3G0fgRo.js} +21 -21
- package/dist/{TrustMembersOverview-CpMvaz8A.js → TrustMembersOverview-xCtvPhSO.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-CG65q5UX.js → UnincorporatedPartnershipIndividualPage-DgFTenzq.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BHlOu-QG.js → UnincorporatedPartnershipMemberCompanyPage-CB7qkmcx.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-ChWfvQr3.js → UnincorporatedPartnershipMemberRoleAndTypePage-BBHIF--b.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-BSpPPpnB.js → UnincorporatedPartnershipMembersOverview-CcLlSs5J.js} +8 -8
- package/dist/{VerificationErrorAlert-DlCMbbyt.js → VerificationErrorAlert-CFDOZ8VM.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-PYtbeouG.js → ViewVerificationStatusComponent-Bdbsf6P8.js} +3 -3
- package/dist/{accountHolderUtils-C75xtw4E.js → accountHolderUtils-CLzY-xUQ.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-Ba0Emk9W.js} +1 -1
- package/dist/{commonValidators-Bld1N1vF.js → commonValidators-K5Zp-wuZ.js} +1 -1
- package/dist/{dropinUtils-CAiDwa5U.js → dropinUtils-f5fHmmmP.js} +3 -3
- package/dist/{formUtils-BD7sDa8f.js → formUtils-YPmIwjqV.js} +2 -2
- package/dist/{getName-DkzImyZO.js → getName-ClBHhxcX.js} +1 -1
- package/dist/{getProblemsForEntity-BPv4f9Tx.js → getProblemsForEntity-Br7CZki-.js} +1 -1
- package/dist/{iframeWidget-CNWsRmIe.js → iframeWidget-BbBost43.js} +3 -3
- package/dist/{isEmpty-Pobz7lE7.js → isEmpty-CAKkKW_Q.js} +1 -1
- package/dist/{japanSupportUtils-Cgw9dBsr.js → japanSupportUtils-4ptsfvPf.js} +1 -1
- package/dist/{localizeDateString-CAnd4W1y.js → localizeDateString-BFoE1i1o.js} +1 -1
- package/dist/{mapExistingFile-BZXo7HtO.js → mapExistingFile-BN0TlM78.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B2GyvHW2.js → mapJpAddressSchemaToAddressLocalizations-BVq6-qAV.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-oeKNb1EG.js → mapLegalEntityToIndividualSchema-CmVawKVK.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-C4zz9v3R.js → mapTransferInstrumentToPayoutAccount-ChLvGqpp.js} +1 -1
- package/dist/{patternValidators-B_gZ9OEK.js → patternValidators-DxeG1m1v.js} +1 -1
- package/dist/{process-field-configurations-DTeQU5DK.js → process-field-configurations-DSKNFbHb.js} +2 -2
- package/dist/{resolveEnvironment-0tLtiAxj.js → resolveEnvironment-DIKsM5Gw.js} +3 -3
- package/dist/{roleMetadata-CQlMMuGM.js → roleMetadata-4YH2rKYO.js} +1 -1
- package/dist/{types-C_XJxWCe.js → types-C2thpGfH.js} +1 -1
- package/dist/{types-DelojZRn.js → types-CT0I1TAg.js} +1 -1
- package/dist/{types-BHB4nscA.js → types-T4F58fE0.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BGeGBL08.js → useAssociatedLegalEntity-wrH52eze.js} +1 -1
- package/dist/{useBusinessDetailsData-DC-wmNPR.js → useBusinessDetailsData-IxB1O6Af.js} +58 -51
- package/dist/{useBusinessLines-ByGXMKMt.js → useBusinessLines-BNHVcZjT.js} +1 -1
- package/dist/{useCanSeeIntroduction--oO1qdiT.js → useCanSeeIntroduction-DtnIFLdt.js} +2 -2
- package/dist/{useCreateLegalEntity-BhOxB6BR.js → useCreateLegalEntity-t8QwFFbZ.js} +1 -1
- package/dist/{useDataMissingRemediations-DSkyG5Z7.js → useDataMissingRemediations-CsUzyG0c.js} +1 -1
- package/dist/{useDataset-yW_bgdcI.js → useDataset-Cqa6QMg1.js} +1 -1
- package/dist/{useDeleteTransferInstrument-7o0YMB_Y.js → useDeleteTransferInstrument-xGSsLD7E.js} +2 -2
- package/dist/{useForm-BO942FZd.js → useForm-C9tAYAv4.js} +2 -2
- package/dist/{useFormContext-DQrT9O9G.js → useFormContext-n2ydBCKn.js} +6 -6
- package/dist/{useGlobalData-u2zvMtMx.js → useGlobalData-JKSwsNCh.js} +1 -1
- package/dist/{useMultiForm-CT8j56sz.js → useMultiForm-DkeOQ1Dj.js} +3 -3
- package/dist/{useNavigate-uXdvk8zK.js → useNavigate-Bg7oEJsz.js} +29 -29
- package/dist/{useOnboardingStatus-fuu0YjVz.js → useOnboardingStatus-DAQiVzL6.js} +1 -1
- package/dist/{usePciQuestionnaireList-Bx4kLQdp.js → usePciQuestionnaireList-DK3sMkIU.js} +1 -1
- package/dist/{useSalesChannels-DWNaDLQE.js → useSalesChannels-cdLrpoed.js} +3 -3
- package/dist/{useScenarios-h02LgFwh.js → useScenarios-B2MbscYB.js} +1 -1
- package/dist/{useSetting-DE1-_Vco.js → useSetting-aAxB8-o8.js} +1 -1
- package/dist/{useTaskStatus-B5twg5YX.js → useTaskStatus-CPShNuVn.js} +1 -1
- package/dist/{useTermsOfServiceStatus-YEliqzc0.js → useTermsOfServiceStatus-DB-wpJgq.js} +1 -1
- package/dist/{useToastContext-C4DyQocl.js → useToastContext-BHQRKp9z.js} +1 -1
- package/dist/{useTrustMembers-OlL-flWZ.js → useTrustMembers-Da3iNzy-.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-DskiP-FD.js → useUnincorporatedPartnershipMembers-CKAWu05D.js} +3 -3
- package/dist/{useUpdateBusinessLines-BwPww5xr.js → useUpdateBusinessLines-B-f-xGuh.js} +3 -3
- package/dist/{useUpdateLegalEntity-CCe3LXjI.js → useUpdateLegalEntity-D8yNMZ99.js} +2 -2
- package/dist/{utils-g7QCpZSv.js → utils-BlzF8EWD.js} +2 -2
- package/dist/{utils-B4EWNpln.js → utils-BzSLuDOj.js} +1 -1
- package/dist/{utils-DV-jCPYV.js → utils-Dy6VXjl1.js} +1 -1
- package/dist/{utils-CV_cvF6v.js → utils-ZJW9NBCj.js} +1 -1
- package/dist/{utils-DYNMAZ4x.js → utils-d6skou7C.js} +4 -4
- package/dist/{validate-CLiAFCrt.js → validate-CpHFH6Pf.js} +2 -2
- package/dist/{validate-BIn1CJPi.js → validate-DiCPLJc7.js} +1 -1
- package/dist/{validationError-ZbdyGpRj.js → validationError-CuKscS54.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-B-f-xGuh.js";
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-B2MbscYB.js";
|
|
15
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-t8QwFFbZ.js";
|
|
16
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-D8yNMZ99.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-DybPdYbI.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-n2ydBCKn.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BHQRKp9z.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-DSKNFbHb.js";
|
|
22
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-f5fHmmmP.js";
|
|
23
|
+
import { u as useMultiForm } from "./useMultiForm-DkeOQ1Dj.js";
|
|
24
|
+
import { u as uppercase, m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BN0TlM78.js";
|
|
25
|
+
import { C as Confirm } from "./Confirm-ByoZePlZ.js";
|
|
26
|
+
import { a as getDocument, j as getDocuments, c as createDocumentRequest, k as mergeProofOfOwnershipAttachments, b as getFileExtention, d as documentApiUtils } from "./validate-CpHFH6Pf.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-CxXvfotI.js";
|
|
28
|
+
import { u as usePageLandedEvent, s as summaryStep } from "./Summary-JDwLCEn-.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-CZrTK09V.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal, a as ModalContent } from "./Modal-Dsd1Gieq.js";
|
|
31
|
+
import { t as toFullWidth, u as useAllowedCountries, a as mapJpAddressSummary, m as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-BVq6-qAV.js";
|
|
32
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels, c as getKeyForField } from "./utils-ZJW9NBCj.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-BlzF8EWD.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-DB17miDl.js";
|
|
38
|
+
import { S as SettingNames } from "./TaskVerificationStatus-OAaQVbWL.js";
|
|
39
|
+
import { o as organizationTypesToSkipCompanyStructureForm } from "./utils-d6skou7C.js";
|
|
40
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CuKscS54.js";
|
|
41
|
+
import { i as isEmpty$1 } from "./isEmpty-CAKkKW_Q.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-B8hhmsWF.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-CwoUpoYt.js";
|
|
46
|
+
import { u as useBusinessLines } from "./useBusinessLines-BNHVcZjT.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-CplfRLJO.js";
|
|
49
|
+
import { F as Field } from "./Field-Dtvsh0q2.js";
|
|
50
|
+
import { H as Header } from "./Header-CGJ1-Xfr.js";
|
|
51
|
+
import { E as ErrorPanel } from "./ErrorPanel-5VK5k4oS.js";
|
|
52
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-vVXGPGKP.js";
|
|
53
|
+
import { a as validateNotEmptyOnBlur, v as validatePatternOnBlur, b as validateJaKanaLegalCompanyName, c as validateJaHaniLegalCompanyName } from "./patternValidators-DxeG1m1v.js";
|
|
54
|
+
import { M as MaskedInput, m as makeMask, d as alphanumericInputs, b as alphaInputs, n as numericInputs } from "./MaskedInput-B0iHxwad.js";
|
|
55
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-YPmIwjqV.js";
|
|
56
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-4ptsfvPf.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-CLRu2tMk.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-BmsiPaTB.js";
|
|
63
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-O2a-Hq4-.js";
|
|
64
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BPNpvw6R.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-BVmRYKu6.js";
|
|
68
|
+
import { a as Alert } from "./Alert-469Ajk3u.js";
|
|
69
|
+
import { T as TileGroup } from "./TileGroup-DLbCGJDi.js";
|
|
70
|
+
import { R as RadioGroup } from "./RadioGroup-DPr6zOIQ.js";
|
|
71
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-JKSwsNCh.js";
|
|
72
|
+
import { u as useForm } from "./useForm-C9tAYAv4.js";
|
|
73
|
+
import { c as currencyByCountry } from "./types-C2thpGfH.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-CAMGHFR5.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-DybPdYbI.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-OAaQVbWL.js";
|
|
11
|
+
import { J as isPartOfTrustFromLegalEntity, M as hasSolePropInLegalEntity, o as LegalEntityTypes, B as useSettingsContext } from "./StoreProvider-DybPdYbI.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-DybPdYbI.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
package/dist/{useDataMissingRemediations-DSkyG5Z7.js → useDataMissingRemediations-CsUzyG0c.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-DybPdYbI.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-DybPdYbI.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-xGSsLD7E.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-BHQRKp9z.js";
|
|
12
|
+
import { b as useApiContext, ad as httpDelete } from "./StoreProvider-DybPdYbI.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-DybPdYbI.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-BzSLuDOj.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-DybPdYbI.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-BPNpvw6R.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CrSzTmL-.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-f5fHmmmP.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-ByoZePlZ.js";
|
|
19
|
+
import { S as Summary } from "./Summary-JDwLCEn-.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-DybPdYbI.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-DybPdYbI.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-BzSLuDOj.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-K5Zp-wuZ.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-DybPdYbI.js";
|
|
13
13
|
const Introduction = lazy(
|
|
14
|
-
async () => (await import("./Introduction-
|
|
14
|
+
async () => (await import("./Introduction-LQrK5BQ_.js")).Introduction
|
|
15
15
|
);
|
|
16
16
|
const BusinessTypeSelectionPage = lazy(
|
|
17
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
17
|
+
async () => (await import("./BusinessTypeSelectionPage-4Qbgu0TC.js")).BusinessTypeSelectionPage
|
|
18
18
|
);
|
|
19
19
|
const SingpassSelection = lazy(
|
|
20
|
-
async () => (await import("./SingpassSelection-
|
|
20
|
+
async () => (await import("./SingpassSelection-It_TR9Xa.js")).SingpassSelection
|
|
21
21
|
);
|
|
22
22
|
const AccountSetupRejected = lazy(
|
|
23
|
-
async () => (await import("./AccountSetupRejected-
|
|
23
|
+
async () => (await import("./AccountSetupRejected-BHD18iZv.js")).AccountSetupRejected
|
|
24
24
|
);
|
|
25
25
|
const DecisionMakers = lazy(
|
|
26
|
-
async () => (await import("./DecisionMakers-
|
|
26
|
+
async () => (await import("./DecisionMakers-BklGPQy_.js")).DecisionMakers
|
|
27
27
|
);
|
|
28
28
|
const CustomerSupport = lazy(
|
|
29
|
-
async () => (await import("./CustomerSupport-
|
|
29
|
+
async () => (await import("./CustomerSupport-Kc9tSBWe.js")).CustomerSupport
|
|
30
30
|
);
|
|
31
|
-
const Review = lazy(async () => (await import("./Review-
|
|
31
|
+
const Review = lazy(async () => (await import("./Review-CFfD01Un.js")).Review);
|
|
32
32
|
const SignPCIComponent = lazy(
|
|
33
|
-
async () => (await import("./SignPCIComponent-
|
|
33
|
+
async () => (await import("./SignPCIComponent-DZc57CqO.js")).SignPCIComponent
|
|
34
34
|
);
|
|
35
35
|
const AcceptTermsOfService = lazy(
|
|
36
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
36
|
+
async () => (await import("./AcceptTermsOfServiceComponent-3VyqpsNj.js")).AcceptTermsOfServiceComponent
|
|
37
37
|
);
|
|
38
38
|
const TaxReportingDropin = lazy(
|
|
39
|
-
async () => (await import("./TaxReportingDropin-
|
|
39
|
+
async () => (await import("./TaxReportingDropin-D8DNZ9c_.js")).TaxReportingDropin
|
|
40
40
|
);
|
|
41
41
|
const PayoutDetailsPage = lazy(
|
|
42
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
42
|
+
async () => (await import("./PayoutDetailsDropin-B6wze_5n.js").then((n) => n.a)).PayoutDetailsPage
|
|
43
43
|
);
|
|
44
44
|
const RootBusinessDetailsPage = lazy(
|
|
45
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
45
|
+
async () => (await import("./RootBusinessDetailsPage-DLZuFeV8.js")).RootBusinessDetailsPage
|
|
46
46
|
);
|
|
47
47
|
const RootBusinessLinesPage = lazy(
|
|
48
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
48
|
+
async () => (await import("./RootBusinessLinesPage-CgbnwfKC.js")).RootBusinessLinesPage
|
|
49
49
|
);
|
|
50
50
|
const SoleProprietorshipPage = lazy(
|
|
51
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
51
|
+
async () => (await import("./SoleProprietorshipPage-D0rLVNWs.js")).SoleProprietorshipPage
|
|
52
52
|
);
|
|
53
53
|
const TrustMemberCompanyPage = lazy(
|
|
54
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
54
|
+
async () => (await import("./TrustMemberCompanyPage-DFXCrtMZ.js")).TrustMemberCompanyPage
|
|
55
55
|
);
|
|
56
56
|
const TrustMemberIndividualPage = lazy(
|
|
57
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
57
|
+
async () => (await import("./TrustMemberIndividualPage-DcKoYAry.js")).TrustMemberIndividualPage
|
|
58
58
|
);
|
|
59
59
|
const TrustMemberRoleAndTypePage = lazy(
|
|
60
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
60
|
+
async () => (await import("./TrustMemberRoleAndTypePage-B3G0fgRo.js")).TrustMemberRoleAndTypePage
|
|
61
61
|
);
|
|
62
62
|
const TrustMembersOverview = lazy(
|
|
63
|
-
async () => (await import("./TrustMembersOverview-
|
|
63
|
+
async () => (await import("./TrustMembersOverview-xCtvPhSO.js")).TrustMembersOverview
|
|
64
64
|
);
|
|
65
65
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
66
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
66
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-CB7qkmcx.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
67
67
|
);
|
|
68
68
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
69
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
69
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-DgFTenzq.js")).UnincorporatedPartnershipIndividualPage
|
|
70
70
|
);
|
|
71
71
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
72
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
72
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-BBHIF--b.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
73
73
|
);
|
|
74
74
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
75
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
75
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-CcLlSs5J.js")).UnincorporatedPartnershipMembersOverview
|
|
76
76
|
);
|
|
77
77
|
const BusinessFinancingPage = lazy(
|
|
78
|
-
async () => (await import("./BusinessFinancingPage-
|
|
78
|
+
async () => (await import("./BusinessFinancingPage-CdEzg6hi.js")).BusinessFinancingPage
|
|
79
79
|
);
|
|
80
80
|
const TrustDetailsPage = lazy(
|
|
81
|
-
async () => (await import("./TrustDetailsPage-
|
|
81
|
+
async () => (await import("./TrustDetailsPage-DX6SLozy.js")).TrustDetailsPage
|
|
82
82
|
);
|
|
83
83
|
const SourceOfFundsPage = lazy(
|
|
84
|
-
async () => (await import("./SourceOfFundsPage-
|
|
84
|
+
async () => (await import("./SourceOfFundsPage-DAfek9vZ.js")).SourceOfFundsPage
|
|
85
85
|
);
|
|
86
86
|
const RootIndividualDetailsPage = lazy(
|
|
87
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
87
|
+
async () => (await import("./RootIndividualDetailsPage-Duml7WQd.js")).RootIndividualDetailsPage
|
|
88
88
|
);
|
|
89
89
|
const LegalRepresentativeDetailsPage = lazy(
|
|
90
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
90
|
+
async () => (await import("./LegalRepresentativeDetailsPage-BdKGD1qN.js")).LegalRepresentativeDetailsPage
|
|
91
91
|
);
|
|
92
92
|
const DecisionMakerDetailsPage = lazy(
|
|
93
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
93
|
+
async () => (await import("./DecisionMakerDetailsPage-4qOMULZp.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-DybPdYbI.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-DybPdYbI.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-DybPdYbI.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-BNHVcZjT.js";
|
|
14
|
+
import { S as SettingNames } from "./TaskVerificationStatus-OAaQVbWL.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-DybPdYbI.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-DybPdYbI.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-DybPdYbI.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-DybPdYbI.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-DybPdYbI.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-DybPdYbI.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-wrH52eze.js";
|
|
13
13
|
import { skipToken } from "@tanstack/preact-query";
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-ClBHhxcX.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-DybPdYbI.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-wrH52eze.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-ClBHhxcX.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-DybPdYbI.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-Dtvsh0q2.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-ZhAYYFsm.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-BHQRKp9z.js";
|
|
12
|
+
import { b as useApiContext, $ as httpPost } from "./StoreProvider-DybPdYbI.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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-DybPdYbI.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-BFoE1i1o.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { a0 as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { a0 as CountryCodes } from "./StoreProvider-DybPdYbI.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|