@adyen/kyc-components 4.19.0 → 4.19.1
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/{AccountSetupRejected-VkyroW_s.js → AccountSetupRejected-BGB8hSYN.js} +1 -1
- package/dist/{AdaptiveWorkflow-DV_JyPw8.js → AdaptiveWorkflow-CE-7w7l8.js} +15 -15
- package/dist/{AdaptiveWorkflowComponent-BhHqJMaU.js → AdaptiveWorkflowComponent-BOncR2kZ.js} +2 -2
- package/dist/{Address-qf5qFwua.js → Address-B_QN7vdN.js} +5 -5
- package/dist/{AddressField-eulmJMt_.js → AddressField-08w6MaYb.js} +5 -5
- package/dist/{BusinessFinancingDropin-xtcAFZEN.js → BusinessFinancingDropin-ndYk8iAQ.js} +14 -14
- package/dist/{BusinessFinancingPage-Dt2Va-qf.js → BusinessFinancingPage-DK_ijiz0.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-CKrWo9e-.js → BusinessTypeSelectionPage-C4CrQQZp.js} +7 -7
- package/dist/{CompanyRegistrationNumberTypeSelector-DDWIMP-t.js → CompanyRegistrationNumberTypeSelector-DYJ2XeCC.js} +6 -6
- package/dist/{ContactDetails-Co7J7Hjc.js → ContactDetails-BBVQtkU_.js} +4 -4
- package/dist/{ContextGuidance-RV1m2efV.js → ContextGuidance-BBQsTVLG.js} +1 -1
- package/dist/{CountryField-BTVLTRup.js → CountryField-uue7DBeg.js} +4 -4
- package/dist/{Currency-DfCp7hwP.js → Currency-Chq-e9bU.js} +3 -3
- package/dist/{CustomerSupport-fg0-Upw5.js → CustomerSupport-DEiWGRjz.js} +6 -6
- package/dist/{DataConflictsModal-CVgcvjm6.js → DataConflictsModal-BrGRGVYC.js} +3 -3
- package/dist/{DebugModal-CaI-iWEa.js → DebugModal-abFf-6Vt.js} +3 -3
- package/dist/{DecisionMakerDetails-JYY15piY.js → DecisionMakerDetails-DcXca6HU.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-UMAQo28h.js → DecisionMakerDetailsPage-DJ51iD7A.js} +3 -3
- package/dist/{DecisionMakers-DeQLYGwW.js → DecisionMakers-k4HO0MWG.js} +5 -5
- package/dist/{Dropzone-Dmtomtl2.js → Dropzone-CvQDmVPr.js} +2 -2
- package/dist/{EntityAssociation-vg8k3YiH.js → EntityAssociation-zFxGuJvi.js} +3 -3
- package/dist/{ErrorPanel-DysmW3Hz.js → ErrorPanel-CCn1oJPR.js} +1 -1
- package/dist/{GlobalEntryModal-BHlZmq4-.js → GlobalEntryModal-D9sRA2Ql.js} +4 -4
- package/dist/{GlobalEntryPage-CrjiJG7v.js → GlobalEntryPage-DEhiUBgp.js} +2 -2
- package/dist/{Individual.rules-Fg_j4_io.js → Individual.rules-CC9Eyoct.js} +2 -2
- package/dist/{IndividualDropin-D5qyhkH7.js → IndividualDropin-bKaThfzK.js} +28 -28
- package/dist/{Introduction-Dd72HuvK.js → Introduction-BONXNscX.js} +2 -2
- package/dist/{InvitedDecisionMakerComponent-BR14VLnP.js → InvitedDecisionMakerComponent-DqD7d-N0.js} +3 -3
- package/dist/{JpAddress-C7eDuCDV.js → JpAddress-Bdm7sjAt.js} +7 -7
- package/dist/{JpAddress.module-DNwEnPzj.js → JpAddress.module-CoDcokRL.js} +1 -1
- package/dist/{JpAddressFields-CB889sWX.js → JpAddressFields-b817uuhw.js} +4 -4
- package/dist/{LegalCompanyNameField-BVyQCVUE.js → LegalCompanyNameField-1zyIWSU7.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BNFIn6Qh.js → LegalRepresentativeDetailsPage-75U_fxIM.js} +2 -2
- package/dist/{MaskedInput-DwP4ZWTk.js → MaskedInput-BpgT8ais.js} +2 -2
- package/dist/{Name-DfZeGh8m.js → Name-B9VfIoGy.js} +2 -2
- package/dist/{NewSummary-DebON3Ge.js → NewSummary-DtUQzQfp.js} +3 -3
- package/dist/{PatriotActDisclosure-V0iYQAp7.js → PatriotActDisclosure-DO1km-aw.js} +9 -9
- package/dist/{PayoutDetailsDropin-DtLitjwp.js → PayoutDetailsDropin-DeSQiWmr.js} +13 -13
- package/dist/{PayoutDetailsPage-Bul0UWe-.js → PayoutDetailsPage-CdAXxyMl.js} +3 -3
- package/dist/{RadioGroup-BcojlKCO.js → RadioGroup-B9MFxAgn.js} +1 -1
- package/dist/{Review-EaL1BttB.js → Review-Ce8kWuwf.js} +3 -3
- package/dist/{RootBusinessDetailsPage-Cwc8cZOY.js → RootBusinessDetailsPage-W2nhUOOs.js} +3 -3
- package/dist/{RootBusinessLinesPage-CLsMhxkV.js → RootBusinessLinesPage-cZsTzIu_.js} +9 -9
- package/dist/{RootIndividualDetailsPage-Nfm0kzJq.js → RootIndividualDetailsPage-NoOigAbF.js} +3 -3
- package/dist/{Select-C5sy6Wux.js → Select-yOtg-61e.js} +2 -2
- package/dist/{SignPCIComponent-CaTaPQHb.js → SignPCIComponent-Djf7vjw5.js} +4 -4
- package/dist/{SingpassSelection-COig4k8W.js → SingpassSelection-Bf7AnQ_l.js} +2 -2
- package/dist/{SoleProprietorshipPage-Ctcz1qNr.js → SoleProprietorshipPage-f3-ZfjvW.js} +2 -2
- package/dist/{SourceOfFundsPage-DEABiUWz.js → SourceOfFundsPage-4dDzWrhf.js} +12 -12
- package/dist/{StructuredList-D54Bpjf4.js → StructuredList-BU29ceSG.js} +1 -1
- package/dist/{TaskListItem-CB0kZVlT.js → TaskListItem-BlcJJS_V.js} +4 -4
- package/dist/{TaxReportingDropin-9lSgx-Sv.js → TaxReportingDropin-Cw35lKwa.js} +7 -7
- package/dist/{TermsOfServiceManagement-CbgkpeNu.js → TermsOfServiceManagement-_xrvP8-7.js} +4 -4
- package/dist/{TrustDetailsPage-pJ_aGyVV.js → TrustDetailsPage-k3accZEy.js} +19 -19
- package/dist/{TrustMemberCompanyPage-vqkIF_0s.js → TrustMemberCompanyPage-CVZuhHHm.js} +3 -3
- package/dist/{TrustMemberIndividualPage-CS_tABNQ.js → TrustMemberIndividualPage-Dn4pDHej.js} +2 -2
- package/dist/{TrustMemberRoleAndTypePage-DjE53lNn.js → TrustMemberRoleAndTypePage-BlAptww5.js} +11 -11
- package/dist/{TrustMembersOverview-z8U7UWHS.js → TrustMembersOverview-B8H3GF08.js} +7 -7
- package/dist/{UnincorporatedPartnershipIndividualPage-9uHIQImj.js → UnincorporatedPartnershipIndividualPage-DdOlDSQU.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DOBh4lR1.js → UnincorporatedPartnershipMemberCompanyPage-CgrnQ800.js} +2 -2
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-9i54lBKZ.js → UnincorporatedPartnershipMemberRoleAndTypePage-BMNXdGp9.js} +6 -6
- package/dist/{UnincorporatedPartnershipMembersOverview-DFeXZDC8.js → UnincorporatedPartnershipMembersOverview-r2Dcn7c2.js} +3 -3
- package/dist/{VerificationErrorAlert-B3dqg4d3.js → VerificationErrorAlert-T9cdpMgB.js} +2 -2
- package/dist/{accountHolderUtils-CV8i1K0q.js → accountHolderUtils-B3AFComV.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +1 -1
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +13 -13
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +1 -1
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +4 -4
- package/dist/adyen-verification-status.js +1 -1
- package/dist/{bafinUtils-qakcO27e.js → bafinUtils-DEVMdolf.js} +1 -1
- package/dist/{constants-L0qE2dbE.js → constants-Bmm0unff.js} +2 -2
- package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js} +11 -11
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D9928vV-.js → mapJpAddressSchemaToAddressLocalizations-CoJiTAbL.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-C6zpRY2L.js → mapLegalEntityToIndividualSchema-C-vFEBSR.js} +2 -2
- package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → omitObscuredFieldsIfUnchanged-DESEEOmD.js} +1 -1
- package/dist/{patternValidators-Crk2JcIC.js → patternValidators-D8HZxfV2.js} +1 -1
- package/dist/{processValidationErrors-N1ZuAvVY.js → processValidationErrors-J6ltKXc4.js} +1 -1
- package/dist/{resolveEnvironment-BHPgG5Ko.js → resolveEnvironment-C1htMD-5.js} +5 -5
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -2
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +6 -2
- package/dist/{useBusinessDetailsData-_7t1A_p2.js → useBusinessDetailsData-DRfmakGt.js} +97 -75
- package/dist/{useCanSeeIntroduction-Jkw8uz5N.js → useCanSeeIntroduction-CL2v20rx.js} +1 -1
- package/dist/{useForm-26r9IKF_.js → useForm-DgKB0Jpl.js} +2 -2
- package/dist/{useId-BwLQ-75v.js → useId-DpmZnb6I.js} +1 -1
- package/dist/{useNavigate-DvOGhK-A.js → useNavigate-xV0IroXe.js} +32 -32
- package/dist/{useTrustMembers-DAFo_ibm.js → useTrustMembers-Cc_VpJkD.js} +1 -1
- package/dist/{useUpdateLegalEntity-B4x3gely.js → useUpdateLegalEntity-CsXfjS5u.js} +1 -1
- package/dist/{utils-DbIq3tru.js → utils-BfxOnNjg.js} +5 -5
- package/dist/{utils-DbQT0YgG.js → utils-CGzF-obv.js} +3 -3
- package/dist/{utils-BFaY6wGW.js → utils-CLsECypA.js} +9 -9
- package/dist/{utils-D8hL_fNA.js → utils-G00RnEDX.js} +1 -1
- package/dist/{validate-N3t8r03y.js → validate-DvGdGx9J.js} +1 -1
- package/dist/{validateExtractionResult-YhFC9maw.js → validateExtractionResult-CXgPruUU.js} +4 -4
- package/dist/{validationError-q9Js1v0m.js → validationError-vnqptK-a.js} +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fca774c5-3402-4117-ab27-8d841001c2fe", e._sentryDebugIdIdentifier = "sentry-dbid-fca774c5-3402-4117-ab27-8d841001c2fe");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { s as useApiContext } from "./http-CFac2y4i.js";
|
|
8
8
|
import { n as useTermsOfServiceAcceptanceInfos, t as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-CGIpBA0U.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -3,12 +3,12 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "dfa6dc98-3bae-4bfc-98be-75a6105e5ac6", e._sentryDebugIdIdentifier = "sentry-dbid-dfa6dc98-3bae-4bfc-98be-75a6105e5ac6");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { r as Loader } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { r as useLegalEntity } from "./useLegalEntity-BqO7Fmt0.js";
|
|
9
9
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
10
10
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
11
|
-
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-
|
|
11
|
+
import { t as PayoutDetailsDropin } from "./PayoutDetailsDropin-DeSQiWmr.js";
|
|
12
12
|
import register from "preact-custom-element";
|
|
13
13
|
import { useRef, useState } from "preact/hooks";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85f725d2-9e3e-42b2-8f2d-292fd0b6a281", e._sentryDebugIdIdentifier = "sentry-dbid-85f725d2-9e3e-42b2-8f2d-292fd0b6a281");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, C as useDataset, T as datasetUtilities, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, w as datasetIdentifier, x as Alert } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { n as httpGet, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
9
|
import { n as cloneObject, s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
@@ -11,9 +11,9 @@ import { i as TaskStatuses } from "./taskStatus-BtekPA8E.js";
|
|
|
11
11
|
import { n as getCapabilityProblems } from "./processCapabilities-zti_0yUx.js";
|
|
12
12
|
import { t as Modal } from "./Modal-BYdlsXkf.js";
|
|
13
13
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
14
|
-
import { r as useToastContext } from "./useId-
|
|
15
|
-
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { n as Confirm, t as StructuredList } from "./StructuredList-
|
|
14
|
+
import { r as useToastContext } from "./useId-DpmZnb6I.js";
|
|
15
|
+
import { n as useDeleteTransferInstrument, t as VerificationErrorAlert } from "./VerificationErrorAlert-T9cdpMgB.js";
|
|
16
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-BU29ceSG.js";
|
|
17
17
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
18
18
|
import { t as Tag } from "./Tag-CNeDHqKp.js";
|
|
19
19
|
import { n as statusToTag, t as EmbeddedStatus } from "./EmbeddedStatus-sHJnhw3K.js";
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a0dcf768-e469-4e84-b06d-57e18253df9a", e._sentryDebugIdIdentifier = "sentry-dbid-a0dcf768-e469-4e84-b06d-57e18253df9a");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as addResourceBundles, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { A as _rolldown_dynamic_import_helper_default, mt as stylesheets, n as EmbedShell, t as resolveEnvironment, x as Alert } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
9
|
import { t as emitAdyenSdkEvent } from "./emitEvent-CcGIaOut.js";
|
|
@@ -8,7 +8,7 @@ import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
|
8
8
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
9
9
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
10
10
|
import { i as useAnalyticsContext, r as KEYBOARD_KEYS } from "./Modal-BYdlsXkf.js";
|
|
11
|
-
import { t as useId } from "./useId-
|
|
11
|
+
import { t as useId } from "./useId-DpmZnb6I.js";
|
|
12
12
|
import { useRef } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b2201d5b-33a5-4339-b11f-18c2c301b6c5", e._sentryDebugIdIdentifier = "sentry-dbid-b2201d5b-33a5-4339-b11f-18c2c301b6c5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { j as useToggleContext, nt as isEmpty } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { n as IconButton } from "./Button-BuhgDsyo.js";
|
|
8
|
-
import { r as Field, t as Select } from "./Select-
|
|
8
|
+
import { r as Field, t as Select } from "./Select-yOtg-61e.js";
|
|
9
9
|
import { t as List } from "./List-ywoRPg-q.js";
|
|
10
10
|
import { useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{filterProblemsByTaskForms-CQby20PN.js → filterProblemsByTaskForms-DaJ3LZ2L.js}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "60065e14-65c1-48cc-8c7e-6f6147c19d43", e._sentryDebugIdIdentifier = "sentry-dbid-60065e14-65c1-48cc-8c7e-6f6147c19d43");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
var filterProblemsByTaskForms = (entityProblems, forms) => {
|
|
6
6
|
if (!entityProblems?.verificationErrors) return entityProblems;
|
|
7
|
-
const filteredEntityProblems =
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
7
|
+
const filteredEntityProblems = {
|
|
8
|
+
verificationErrors: {},
|
|
9
|
+
missingData: entityProblems.missingData,
|
|
10
|
+
remediationActions: entityProblems.remediationActions,
|
|
11
|
+
validationErrors: entityProblems.validationErrors
|
|
12
|
+
};
|
|
13
|
+
for (const formId in entityProblems.verificationErrors) {
|
|
14
|
+
if (!forms.includes(formId)) continue;
|
|
15
|
+
filteredEntityProblems.verificationErrors[formId] = entityProblems.verificationErrors[formId];
|
|
16
|
+
}
|
|
17
17
|
filteredEntityProblems.verificationErrors = Object.keys(filteredEntityProblems.verificationErrors ?? {}).length > 0 ? filteredEntityProblems.verificationErrors : void 0;
|
|
18
18
|
return filteredEntityProblems;
|
|
19
19
|
};
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "1897f69a-b1e0-40cd-9aa3-272dbd61f210", e._sentryDebugIdIdentifier = "sentry-dbid-1897f69a-b1e0-40cd-9aa3-272dbd61f210");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { h as summaryItem } from "./CountryField-
|
|
5
|
+
import { h as summaryItem } from "./CountryField-uue7DBeg.js";
|
|
6
6
|
import { t as isEmpty } from "./isEmpty-MyMko24J.js";
|
|
7
7
|
import { r as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
8
8
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -10,8 +10,8 @@ import { c as individualBaseMapping, y as reverseMapping } from "./processCapabi
|
|
|
10
10
|
import { o as getNomineeFromAssociation } from "./entityAssociationUtil-DLXInibJ.js";
|
|
11
11
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
12
12
|
import { i as useAnalyticsContext } from "./Modal-BYdlsXkf.js";
|
|
13
|
-
import { c as TileGroup } from "./bafinUtils-
|
|
14
|
-
import { r as Field } from "./Select-
|
|
13
|
+
import { c as TileGroup } from "./bafinUtils-DEVMdolf.js";
|
|
14
|
+
import { r as Field } from "./Select-yOtg-61e.js";
|
|
15
15
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
16
16
|
import { n as mapApiScriptLocalizationToSchemaFields, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
17
17
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
package/dist/{omitObscuredFieldsIfUnchanged-BhxAICdT.js → omitObscuredFieldsIfUnchanged-DESEEOmD.js}
RENAMED
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2b73205b-f745-4915-bddd-c2027b1c60ff", e._sentryDebugIdIdentifier = "sentry-dbid-2b73205b-f745-4915-bddd-c2027b1c60ff");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { n as cloneObject } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
6
|
-
import { r as isValueObscured } from "./MaskedInput-
|
|
6
|
+
import { r as isValueObscured } from "./MaskedInput-BpgT8ais.js";
|
|
7
7
|
import { i as getProp, n as deleteProp } from "./utils-DdHbAadK.js";
|
|
8
8
|
//#region src/utils/omitObscuredFieldsIfUnchanged.ts
|
|
9
9
|
var omitObscuredFieldsIfUnchanged = (obscuredFields, dataSubmitted, savedData) => {
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "590c7188-a730-4e1b-9bac-7b2f52ca7e6b", e._sentryDebugIdIdentifier = "sentry-dbid-590c7188-a730-4e1b-9bac-7b2f52ca7e6b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-
|
|
5
|
+
import { $ as hasRepeatedCharacters, H as NO_ALPHABET_REGEX, V as LATIN_SPACE_MARK_PUNCTUATION_NUMBERS_REGEX, W as OTHER_ENTITIES_VALID_CHAR_REGEX, ct as standardKanjiValidator, et as hasText, it as isInvalidName, lt as standardKatakanaValidator, nt as isEmpty, ot as isValidMinLength, st as matchesRegex, z as EMOJI_REGEX } from "./resolveEnvironment-C1htMD-5.js";
|
|
6
6
|
//#region src/utils/regex/patternValidators.ts
|
|
7
7
|
var validateNotEmptyOnBlur = {
|
|
8
8
|
modes: ["blur"],
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { S as remediationPayoutApiKeyMapping, d as remediationIndividualApiKeyMapping, v as remediationBusinessDetailsApiKeyMapping } from "./processCapabilities-zti_0yUx.js";
|
|
6
6
|
import { t as TaskTypes } from "./taskTypes-3vSkMBDm.js";
|
|
7
|
-
import { i as getFieldNameFromPath } from "./ErrorPanel-
|
|
7
|
+
import { i as getFieldNameFromPath } from "./ErrorPanel-CCn1oJPR.js";
|
|
8
8
|
import { t as assignToProp } from "./utils-DdHbAadK.js";
|
|
9
9
|
//#region src/types/errors/maintenance-mode-error.ts
|
|
10
10
|
var isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "89fd503f-57cd-4788-a3ac-186175a95f1d", e._sentryDebugIdIdentifier = "sentry-dbid-89fd503f-57cd-4788-a3ac-186175a95f1d");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-CcKrUksA.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
@@ -396,7 +396,7 @@ var useAccountHolder = () => {
|
|
|
396
396
|
//#endregion
|
|
397
397
|
//#region src/hooks/useAnalytics/useAnalytics.ts
|
|
398
398
|
var useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
399
|
-
const sdkVersion = "4.19.
|
|
399
|
+
const sdkVersion = "4.19.1";
|
|
400
400
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
401
401
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
402
402
|
const { accountHolder } = useAccountHolder();
|
|
@@ -491,7 +491,7 @@ var AnalyticsProvider = ({ componentName, children, rootLegalEntityId, locale })
|
|
|
491
491
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
492
492
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
493
493
|
const sessionData = {
|
|
494
|
-
sdkVersion: "4.19.
|
|
494
|
+
sdkVersion: "4.19.1",
|
|
495
495
|
componentName,
|
|
496
496
|
userAgent: navigator.userAgent,
|
|
497
497
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1764,7 +1764,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1764
1764
|
};
|
|
1765
1765
|
//#endregion
|
|
1766
1766
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1767
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1767
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-abFf-6Vt.js")).DebugModal);
|
|
1768
1768
|
/**
|
|
1769
1769
|
* Adds a listener on the page to open the debug modal when the
|
|
1770
1770
|
* debug modal key combination is pressed to open it
|
|
@@ -2464,7 +2464,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2464
2464
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2465
2465
|
id: "sdk-version",
|
|
2466
2466
|
hidden: true,
|
|
2467
|
-
children: "4.19.
|
|
2467
|
+
children: "4.19.1"
|
|
2468
2468
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2469
2469
|
componentName,
|
|
2470
2470
|
locale,
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import type { UserEvents } from '../../../../core/user-events';
|
|
|
4
4
|
import type { Form } from '../../../../hooks/useMultiForm/types';
|
|
5
5
|
import { type CountryCode } from '../../../../types/datasets/country-code';
|
|
6
6
|
import type { BusinessDetailsSchema } from '../../forms/BusinessDetails/types';
|
|
7
|
-
import type {
|
|
7
|
+
import type { ApplyVerifiedBusinessDataOptions } from '../../utils/applyVerifiedBusinessData';
|
|
8
8
|
type DisallowedSelectionReasons = 'LEGAL_ARRANGEMENT';
|
|
9
9
|
export interface CompanySearchState {
|
|
10
10
|
companySearchName: Signal<string | undefined>;
|
|
@@ -16,7 +16,7 @@ export interface CompanySearchState {
|
|
|
16
16
|
disallowSelection: (reason: DisallowedSelectionReasons) => void;
|
|
17
17
|
setVerificationMatched: (value: boolean) => void;
|
|
18
18
|
selectCompany: (data: CompanySelectionResponse, idx: number, country: CountryCode) => void;
|
|
19
|
-
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode,
|
|
19
|
+
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode, options?: ApplyVerifiedBusinessDataOptions) => void;
|
|
20
20
|
}
|
|
21
21
|
export declare const CompanySearchStateModel: import("@preact/signals").ModelConstructor<CompanySearchState, [UserEvents]>;
|
|
22
22
|
export {};
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
import type { CompanySelectionResponse } from '../../../api/companySelection/companySelection.types';
|
|
2
|
+
import type { CompanyTypesValue } from '../../../core/models/api/company-types-value';
|
|
2
3
|
import type { Form } from '../../../hooks/useMultiForm/types';
|
|
3
4
|
import { type CountryCode } from '../../../types/datasets/country-code';
|
|
4
5
|
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
export interface ApplyVerifiedBusinessDataOptions {
|
|
7
|
+
preserveRegistrationNumber?: boolean;
|
|
8
|
+
companyTypeOverride?: CompanyTypesValue;
|
|
9
|
+
}
|
|
10
|
+
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, options?: ApplyVerifiedBusinessDataOptions) => void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
try {
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
3
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c389d474-f9e9-4d70-a6c1-253c6748c8cf", e._sentryDebugIdIdentifier = "sentry-dbid-c389d474-f9e9-4d70-a6c1-253c6748c8cf");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, X as getMaxLengthByFieldAndCountry, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { r as Loader, t as Button } from "./Button-BuhgDsyo.js";
|
|
8
8
|
import { r as httpPost, s as useApiContext } from "./http-CFac2y4i.js";
|
|
9
9
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-BqO7Fmt0.js";
|
|
@@ -24,62 +24,62 @@ import { n as SettingNames } from "./debugStore-DpSgCNGn.js";
|
|
|
24
24
|
import { a as LandingLayout, i as getPropsFromConfigurations, r as composePerScenarioFormConfigurations, t as createFormRules } from "./form-rules-wh_oE1AN.js";
|
|
25
25
|
import { t as useBusinessLines } from "./useBusinessLines-CfQYLNkw.js";
|
|
26
26
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
27
|
-
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-
|
|
28
|
-
import { c as TileGroup, l as CompanyTypesValues } from "./bafinUtils-
|
|
29
|
-
import { f as LoaderWrapper, r as Field } from "./Select-
|
|
30
|
-
import { n as Confirm, t as StructuredList } from "./StructuredList-
|
|
31
|
-
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, g as Summary_module_default, i as addValidityToForms, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, t as COUNTRY_FIELD, x as mergeFieldMetadataIntoProps } from "./CountryField-
|
|
27
|
+
import { n as useInvalidateRootLegalEntity, r as useToastContext } from "./useId-DpmZnb6I.js";
|
|
28
|
+
import { c as TileGroup, l as CompanyTypesValues } from "./bafinUtils-DEVMdolf.js";
|
|
29
|
+
import { f as LoaderWrapper, r as Field } from "./Select-yOtg-61e.js";
|
|
30
|
+
import { n as Confirm, t as StructuredList } from "./StructuredList-BU29ceSG.js";
|
|
31
|
+
import { C as FormContextProvider, b as createFormUtils, c as useMultiForm, d as useFormComposer, g as Summary_module_default, i as addValidityToForms, n as CountryField, o as FormFlow, p as summaryStep, r as useFormContext, t as COUNTRY_FIELD, x as mergeFieldMetadataIntoProps } from "./CountryField-uue7DBeg.js";
|
|
32
32
|
import { t as Image } from "./Image-Dc5Xg1_Y.js";
|
|
33
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
33
|
+
import { t as ErrorPanel } from "./ErrorPanel-CCn1oJPR.js";
|
|
34
34
|
import { r as useDebouncedCallback, t as Checkbox } from "./Checkbox-CFN5ywvv.js";
|
|
35
35
|
import { t as getFormSlice } from "./getFormSlice-C1ma6Xd4.js";
|
|
36
36
|
import { t as useScenarios } from "./useScenarios-BunWDxgO.js";
|
|
37
37
|
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CVBjJUw_.js";
|
|
38
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
39
|
-
import { a as defaultFieldMetadata, c as addressValidators, d as countrySpecificFormatters, f as formatAddressForCleanse, i as defaultFieldConfig, m as useAddressCleanseImperatively, n as STATE_FIELD, p as useAddressCleanse, r as StateField, t as AddressField } from "./AddressField-
|
|
38
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CsXfjS5u.js";
|
|
39
|
+
import { a as defaultFieldMetadata, c as addressValidators, d as countrySpecificFormatters, f as formatAddressForCleanse, i as defaultFieldConfig, m as useAddressCleanseImperatively, n as STATE_FIELD, p as useAddressCleanse, r as StateField, t as AddressField } from "./AddressField-08w6MaYb.js";
|
|
40
40
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-BOXehUNN.js";
|
|
41
41
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BTVaABDA.js";
|
|
42
|
-
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
43
|
-
import { a as JP_ADDRESS_REQUIRED_FIELDS, i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
44
|
-
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, n as getAddressSchemaLabelsByCountry, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-
|
|
45
|
-
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-
|
|
42
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BpgT8ais.js";
|
|
43
|
+
import { a as JP_ADDRESS_REQUIRED_FIELDS, i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-CoJiTAbL.js";
|
|
44
|
+
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, l as addressFields, n as getAddressSchemaLabelsByCountry, o as CONDENSED_ADDRESS_FIELDS, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-G00RnEDX.js";
|
|
45
|
+
import { n as isMaintenanceModeError, t as processValidationErrors } from "./processValidationErrors-J6ltKXc4.js";
|
|
46
46
|
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-K01plHbc.js";
|
|
47
47
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
48
|
-
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
49
|
-
import { a as isJapanLocalizationEnabled } from "./Individual.rules-
|
|
50
|
-
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-
|
|
48
|
+
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-DO1km-aw.js";
|
|
49
|
+
import { a as isJapanLocalizationEnabled } from "./Individual.rules-CC9Eyoct.js";
|
|
50
|
+
import { a as isValidationError, r as isBusinessSelectionLegalArrangementError } from "./validationError-vnqptK-a.js";
|
|
51
51
|
import { t as uppercase } from "./uppercase-DvjwUM0n.js";
|
|
52
|
-
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-
|
|
53
|
-
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-
|
|
52
|
+
import { a as validateNotEmptyOnBlur, n as validateJaKanaLegalCompanyName, o as validatePatternOnBlur, t as validateJaHaniLegalCompanyName } from "./patternValidators-D8HZxfV2.js";
|
|
53
|
+
import { A as taxInformationDefaultFieldMetadata, C as getTaxIdNumberOptions, O as getTaxInformationPlaceholderText, _ as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_SOLE_PROPS, b as REGISTRATION_NUMBER_EXEMPTION_RULES, c as COUNTRIES_THAT_DO_NOT_USE_TAX_ID_FOR_SOLE_PROP, d as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, g as COUNTRIES_WITH_POSSIBLE_TAX_EXEMPTION_FOR_COMPANIES, h as COUNTRIES_WITH_POSSIBLE_REGISTRATION_EXEMPTIONS_FOR_SOLE_PROPS, i as COUNTRIES_REQUIRING_E_INVOICING_CODE, k as taxInformationDefaultFieldConfig, l as COUNTRIES_THAT_REQUIRE_DATE_OF_INCORPORATION, m as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER_SOLE_PROPS, o as COUNTRIES_THAT_DONT_REQUIRE_COMPANY_REGISTRATION, p as COUNTRIES_WITH_OPTIONAL_REGISTRATION_NUMBER, s as COUNTRIES_THAT_DONT_REQUIRE_SOLE_PROP_REGISTRATION, u as COUNTRIES_THAT_USES_UEN_OR_GST, v as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, w as getValidCompanyTypesForTaxIdNumberType, x as TAX_ID_REQUIRED_COUNTRIES_ORGANIZATION, y as COUNTRY_OF_GOVERNING_LAW_POSSIBLE } from "./utils-BfxOnNjg.js";
|
|
54
54
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
55
55
|
import { n as convertFullToHalf } from "./TextArea-BzCbFjRp.js";
|
|
56
56
|
import { i as getPrefixedFieldProps, t as capitalize } from "./getProps-DVqK7eRw.js";
|
|
57
57
|
import { t as Link } from "./Link-PH3F7iTO.js";
|
|
58
58
|
import { t as InputText } from "./InputText-CRkApOKK.js";
|
|
59
59
|
import { n as formatDateObj, t as InputDate } from "./InputDate-Cp2ga0F5.js";
|
|
60
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
60
|
+
import { t as RadioGroup } from "./RadioGroup-B9MFxAgn.js";
|
|
61
61
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
62
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
62
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-BrGRGVYC.js";
|
|
63
63
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
64
64
|
import { t as currencyByCountry } from "./types-lzI_sUwT.js";
|
|
65
65
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
66
66
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
67
|
-
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-
|
|
68
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
67
|
+
import { a as LegalFormField, c as ALL_ADDRESS_FIELDS, d as getPrefixedAddressFieldNames, f as isDateOlderThanAYear, i as InputCurrency, l as flattenAddressSchema, m as nestAddressSchema, n as Currency, o as mapFinancialReportsToFinancialInformation, p as mapAddressData, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as getNestedTrustedFields } from "./Currency-Chq-e9bU.js";
|
|
68
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-DtUQzQfp.js";
|
|
69
69
|
import { t as useTaskStatus } from "./useTaskStatus-B_-IRF4H.js";
|
|
70
70
|
import { t as ListItem } from "./ListItem-B-gDVdRO.js";
|
|
71
|
-
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
71
|
+
import { a as getValidCompanyTypesForRegistrationNumberType, c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DYJ2XeCC.js";
|
|
72
72
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-C2xW-32U.js";
|
|
73
73
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
74
|
-
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-
|
|
75
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
76
|
-
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-
|
|
77
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
74
|
+
import { _ as doingBusinessAsFieldMetadata, a as isRegistrationNumberAbsentStateV4Scenario, c as BusinessRegistrationNumberField, d as VatNumberField, f as getDefaultVatNumberType, g as doingBusinessAsAbsentFieldMetadata, h as vatAbsenceReasonMetadata, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as defaultFieldMetadata$1, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as defaultFieldConfig$1, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as VAT_NUMBER_FIELD, v as DBANameField, y as DBA_NAME_FIELD } from "./utils-CLsECypA.js";
|
|
75
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-Bmm0unff.js";
|
|
76
|
+
import { a as defaultFieldMetadata$2, i as defaultFieldConfigV4, o as defaultFieldMetadataV4, r as defaultFieldConfig$2, s as getLegalCompanyNameGuidanceText, t as LEGAL_COMPANY_NAME_FIELD } from "./LegalCompanyNameField-1zyIWSU7.js";
|
|
77
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-CGzF-obv.js";
|
|
78
78
|
import { Suspense, lazy } from "preact/compat";
|
|
79
79
|
import { useCallback as useCallback$1, useContext as useContext$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
80
80
|
import cx from "classnames";
|
|
81
81
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
82
|
-
import { createModel, signal,
|
|
82
|
+
import { createModel, signal, useModel, useSignal } from "@preact/signals";
|
|
83
83
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
84
84
|
import { createContext as createContext$1 } from "preact";
|
|
85
85
|
import { Show } from "@preact/signals/utils";
|
|
@@ -2528,6 +2528,11 @@ function useCompanySearchNextClickOverrides({ country, multiForm, companySearchS
|
|
|
2528
2528
|
const { mutateAsync: selectCompany } = useCompanySelection();
|
|
2529
2529
|
const { mutate: clearCompanyData } = useClearCompanyData();
|
|
2530
2530
|
const logger = createLogger();
|
|
2531
|
+
const getInferredRegistrationNumberType = () => {
|
|
2532
|
+
const selectedCompany = companySearchStateModel.selectedCompany.peek();
|
|
2533
|
+
if (country === CountryCodes.UnitedStates || !selectedCompany?.registrationNumber) return;
|
|
2534
|
+
return inferCompanyRegistrationNumberType(selectedCompany.registrationNumber, country, selectedCompany.companyType);
|
|
2535
|
+
};
|
|
2531
2536
|
const isVerificationFailed = () => country === CountryCodes.UnitedStates ? !companySearchStateModel.verificationMatched.value : companySearchStateModel.verificationMatched.value === false;
|
|
2532
2537
|
/**
|
|
2533
2538
|
* Returns `null` for non-navs, such as showing the TIN mismatch model for 0 or 1 results
|
|
@@ -2604,7 +2609,7 @@ function useCompanySearchNextClickOverrides({ country, multiForm, companySearchS
|
|
|
2604
2609
|
skipBusinessSelection.value = true;
|
|
2605
2610
|
return getRequiredForms({
|
|
2606
2611
|
skipBusinessSelection: skipBusinessSelection.peek(),
|
|
2607
|
-
skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm
|
|
2612
|
+
skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm || !!getInferredRegistrationNumberType()
|
|
2608
2613
|
});
|
|
2609
2614
|
}
|
|
2610
2615
|
} catch (e) {
|
|
@@ -2651,7 +2656,7 @@ function useCompanySearchNextClickOverrides({ country, multiForm, companySearchS
|
|
|
2651
2656
|
break;
|
|
2652
2657
|
}
|
|
2653
2658
|
companySearchStateModel.confirmCompany(multiForm, country);
|
|
2654
|
-
return getRequiredForms({ skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm });
|
|
2659
|
+
return getRequiredForms({ skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm || !!getInferredRegistrationNumberType() });
|
|
2655
2660
|
}
|
|
2656
2661
|
};
|
|
2657
2662
|
return {
|
|
@@ -3429,14 +3434,10 @@ function RegistrationNumberMismatchModal({ companySearchStateModel, registration
|
|
|
3429
3434
|
registrationNumber: data?.registrationNumber,
|
|
3430
3435
|
registrationNumberType: data?.registrationNumberType
|
|
3431
3436
|
};
|
|
3432
|
-
const detectedData =
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
registrationNumber: detectedRegistrationNumber,
|
|
3437
|
-
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country, selectedCompany?.companyType) : void 0
|
|
3438
|
-
};
|
|
3439
|
-
});
|
|
3437
|
+
const detectedData = {
|
|
3438
|
+
registrationNumber: companySearchStateModel.selectedCompany.value?.registrationNumber,
|
|
3439
|
+
registrationNumberType: void 0
|
|
3440
|
+
};
|
|
3440
3441
|
const registrationNumberType = data?.exemptedFromRegistrationNumber ? "exempted" : data?.registrationNumberType;
|
|
3441
3442
|
const { label: registrationNumberLabel } = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
3442
3443
|
registrationNumberType: registrationNumberType === "exempted" ? void 0 : registrationNumberType,
|
|
@@ -3444,17 +3445,14 @@ function RegistrationNumberMismatchModal({ companySearchStateModel, registration
|
|
|
3444
3445
|
}, registrationNumberDefaultFieldMetadata);
|
|
3445
3446
|
return /* @__PURE__ */ jsx(DataConflictsModal, {
|
|
3446
3447
|
providedData,
|
|
3447
|
-
detectedData
|
|
3448
|
+
detectedData,
|
|
3448
3449
|
conflictingProperties: ["registrationNumber"],
|
|
3449
3450
|
formatters: {},
|
|
3450
|
-
labels: { registrationNumber: providedData.registrationNumberType === detectedData.
|
|
3451
|
+
labels: { registrationNumber: providedData.registrationNumberType === detectedData.registrationNumberType ? registrationNumberLabel : "registrationNumber" },
|
|
3451
3452
|
title: t(($) => $["verifyYourBusinesssDetails"], { ns: "business" }),
|
|
3452
3453
|
explanation: t(($) => $["selectTheOptionWithTheMostCorrectDetailsToContinue"], { ns: "business" }),
|
|
3453
3454
|
onCancel: () => registrationNumberMismatchModalOpen.value = false,
|
|
3454
|
-
onContinue:
|
|
3455
|
-
...resolved,
|
|
3456
|
-
registrationNumberType: resolved.registrationNumber === detectedData.peek().registrationNumber ? detectedData.peek().registrationNumberType : providedData.registrationNumberType
|
|
3457
|
-
}),
|
|
3455
|
+
onContinue: confirmDataSelection,
|
|
3458
3456
|
listOnly: true
|
|
3459
3457
|
});
|
|
3460
3458
|
}
|
|
@@ -3803,15 +3801,17 @@ var applyFinancialInformation = (form, verifiedData) => {
|
|
|
3803
3801
|
}
|
|
3804
3802
|
}
|
|
3805
3803
|
};
|
|
3806
|
-
var applyVerifiedBusinessData = (form, country, verifiedData,
|
|
3804
|
+
var applyVerifiedBusinessData = (form, country, verifiedData, options) => {
|
|
3807
3805
|
if (!verifiedData) return;
|
|
3808
3806
|
form.handleChangeFor("basicInformation", "legalCompanyName")(verifiedData.name);
|
|
3809
|
-
if (country !== CountryCodes.UnitedStates && verifiedData.registrationNumber) {
|
|
3807
|
+
if (!options?.preserveRegistrationNumber && country !== CountryCodes.UnitedStates && verifiedData.registrationNumber) {
|
|
3810
3808
|
form.handleChangeFor("basicInformation", "registrationNumber")(verifiedData.registrationNumber);
|
|
3811
|
-
|
|
3809
|
+
const inferredRegistrationNumberType = inferCompanyRegistrationNumberType(verifiedData.registrationNumber, country, verifiedData.companyType);
|
|
3810
|
+
form.handleChangeFor("basicInformation", "registrationNumberType")(inferredRegistrationNumberType);
|
|
3812
3811
|
}
|
|
3813
3812
|
if (form.defaultData?.additionalInformation?.registrationAddressStreet || form.defaultData?.additionalInformation?.operationalAddressStreet) return;
|
|
3814
|
-
|
|
3813
|
+
const companyType = options?.companyTypeOverride ?? verifiedData.companyType;
|
|
3814
|
+
form.handleChangeFor("companyStructure", "entityType")(companyType);
|
|
3815
3815
|
if (verifiedData.principalPlaceOfBusinessAddress) form.handleChangeFor("additionalInformation", "operationalAddressIsSame", "input")(false);
|
|
3816
3816
|
const applyVerifiedAddress = (prefix, address) => {
|
|
3817
3817
|
const flatAddress = flattenAddressSchema(prefix, {
|
|
@@ -3870,9 +3870,9 @@ var CompanySearchStateModel = createModel((userEvents) => {
|
|
|
3870
3870
|
selectBusinessAnalytics(userEvents, idx);
|
|
3871
3871
|
}
|
|
3872
3872
|
},
|
|
3873
|
-
confirmCompany: (multiform, country,
|
|
3873
|
+
confirmCompany: (multiform, country, options) => {
|
|
3874
3874
|
verifiedBusiness.value = selectedCompany.value;
|
|
3875
|
-
applyVerifiedBusinessData(multiform, country, selectedCompany.value,
|
|
3875
|
+
applyVerifiedBusinessData(multiform, country, selectedCompany.value, options);
|
|
3876
3876
|
if (selectedCompanyIdx.value > -1) confirmBusinessAnalytics(userEvents, selectedCompanyIdx.value);
|
|
3877
3877
|
}
|
|
3878
3878
|
};
|
|
@@ -4168,6 +4168,27 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
4168
4168
|
multiForm.handleChangeFor("companyStructure", "entityType")(void 0);
|
|
4169
4169
|
}
|
|
4170
4170
|
/**
|
|
4171
|
+
* The company structures that are still valid given the registration number type and tax ID
|
|
4172
|
+
* number type currently in the form.
|
|
4173
|
+
*/
|
|
4174
|
+
const availableCompanyStructures = useMemo$1(() => getAvailableCompanyStructures({
|
|
4175
|
+
country,
|
|
4176
|
+
registrationNumberType: multiForm.data.basicInformation?.registrationNumberType,
|
|
4177
|
+
registrationNumberExempt: multiForm.data.basicInformation?.exemptedFromRegistrationNumber,
|
|
4178
|
+
taxIdNumberType: multiForm.data.basicInformation?.taxInformation?.find((taxInformation) => taxInformation.country === country)?.type,
|
|
4179
|
+
legalEntity: legalEntityResponse,
|
|
4180
|
+
accountHolder,
|
|
4181
|
+
isSettingEnabled
|
|
4182
|
+
}), [
|
|
4183
|
+
accountHolder,
|
|
4184
|
+
country,
|
|
4185
|
+
isSettingEnabled,
|
|
4186
|
+
legalEntityResponse,
|
|
4187
|
+
multiForm.data.basicInformation?.exemptedFromRegistrationNumber,
|
|
4188
|
+
multiForm.data.basicInformation?.registrationNumberType,
|
|
4189
|
+
multiForm.data.basicInformation?.taxInformation
|
|
4190
|
+
]);
|
|
4191
|
+
/**
|
|
4171
4192
|
* Infer the company structure based on the registration number type and tax ID number type
|
|
4172
4193
|
* This is used to automatically select the company structure when the user has already provided
|
|
4173
4194
|
* the necessary information to uniquely identify the company structure
|
|
@@ -4175,27 +4196,9 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
4175
4196
|
const inferredCompanyStructure = useMemo$1(() => {
|
|
4176
4197
|
if (taskType !== "BUSINESS_DETAILS") return void 0;
|
|
4177
4198
|
if (multiForm.data.companyStructure?.entityType && multiForm.data.companyStructure?.entityType === "associationIncorporated" || multiForm.data.companyStructure?.entityType === "partnershipIncorporated") return;
|
|
4178
|
-
const registrationNumberType = multiForm.data.basicInformation?.registrationNumberType;
|
|
4179
|
-
const taxIdNumberType = multiForm.data.basicInformation?.taxInformation?.find((taxInformation) => taxInformation.country === country)?.type;
|
|
4180
|
-
const registrationNumberExempt = multiForm.data.basicInformation?.exemptedFromRegistrationNumber;
|
|
4181
|
-
const availableCompanyStructures = getAvailableCompanyStructures({
|
|
4182
|
-
country,
|
|
4183
|
-
registrationNumberType,
|
|
4184
|
-
registrationNumberExempt,
|
|
4185
|
-
taxIdNumberType,
|
|
4186
|
-
legalEntity: legalEntityResponse,
|
|
4187
|
-
accountHolder,
|
|
4188
|
-
isSettingEnabled
|
|
4189
|
-
});
|
|
4190
4199
|
return availableCompanyStructures.length === 1 ? availableCompanyStructures[0] : void 0;
|
|
4191
4200
|
}, [
|
|
4192
|
-
|
|
4193
|
-
country,
|
|
4194
|
-
isSettingEnabled,
|
|
4195
|
-
legalEntityResponse,
|
|
4196
|
-
multiForm.data.basicInformation?.exemptedFromRegistrationNumber,
|
|
4197
|
-
multiForm.data.basicInformation?.registrationNumberType,
|
|
4198
|
-
multiForm.data.basicInformation?.taxInformation,
|
|
4201
|
+
availableCompanyStructures,
|
|
4199
4202
|
multiForm.data.companyStructure?.entityType,
|
|
4200
4203
|
taskType
|
|
4201
4204
|
]);
|
|
@@ -4378,14 +4381,33 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
4378
4381
|
skipBusinessSelection.value = activeForm.formId !== "businessSelection";
|
|
4379
4382
|
if (userProvided) {
|
|
4380
4383
|
registrationNumberMismatchModalOpen.value = false;
|
|
4381
|
-
|
|
4384
|
+
/**
|
|
4385
|
+
* The user keeps their own registration number, but the rest of the provider's data
|
|
4386
|
+
* (legal name, addresses, financial information) is still worth applying.
|
|
4387
|
+
*
|
|
4388
|
+
* The provider's company type can only be applied if it's compatible with the user's
|
|
4389
|
+
* registration number — a GB charity number, for example, cannot belong to a
|
|
4390
|
+
* `privateCompany`. When it isn't compatible we discard it and fall back to the company
|
|
4391
|
+
* types the registration number allows: exactly one means we can infer it, otherwise the
|
|
4392
|
+
* user picks it on the company structure step.
|
|
4393
|
+
*/
|
|
4394
|
+
const providerCompanyType = companySearchStateModel.selectedCompany.value?.companyType;
|
|
4395
|
+
const resolvedCompanyType = !!providerCompanyType && availableCompanyStructures.includes(providerCompanyType) ? providerCompanyType : inferredCompanyStructure;
|
|
4396
|
+
companySearchStateModel.confirmCompany(multiForm, country, {
|
|
4397
|
+
preserveRegistrationNumber: true,
|
|
4398
|
+
companyTypeOverride: resolvedCompanyType
|
|
4399
|
+
});
|
|
4382
4400
|
clearCompanyData();
|
|
4383
|
-
handleNextClick(
|
|
4401
|
+
handleNextClick(getRequiredForms({
|
|
4402
|
+
skipBusinessSelection: skipBusinessSelection.peek(),
|
|
4403
|
+
skipCompanyStructure: !!resolvedCompanyType
|
|
4404
|
+
}));
|
|
4384
4405
|
} else {
|
|
4385
|
-
companySearchStateModel.confirmCompany(multiForm, country
|
|
4406
|
+
companySearchStateModel.confirmCompany(multiForm, country);
|
|
4386
4407
|
registrationNumberMismatchModalOpen.value = false;
|
|
4408
|
+
const inferredRegistrationNumberType = resolvedData.registrationNumber ? inferCompanyRegistrationNumberType(resolvedData.registrationNumber, country, companySearchStateModel.verifiedBusiness.value?.companyType) : void 0;
|
|
4387
4409
|
handleNextClick(getRequiredForms({
|
|
4388
|
-
skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm,
|
|
4410
|
+
skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm || !!inferredRegistrationNumberType,
|
|
4389
4411
|
skipBusinessSelection: skipBusinessSelection.peek()
|
|
4390
4412
|
}));
|
|
4391
4413
|
}
|
|
@@ -4546,7 +4568,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4546
4568
|
}
|
|
4547
4569
|
//#endregion
|
|
4548
4570
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4549
|
-
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-
|
|
4571
|
+
var LazyJpAddressFields = lazy(async () => (await import("./JpAddressFields-b817uuhw.js")).JpAddressFields);
|
|
4550
4572
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4551
4573
|
...DBA_NAME_FIELD,
|
|
4552
4574
|
...VAT_NUMBER_FIELD,
|
|
@@ -2,7 +2,7 @@ try {
|
|
|
2
2
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "85aedc19-fa25-4a5e-815f-d051e484fd89", e._sentryDebugIdIdentifier = "sentry-dbid-85aedc19-fa25-4a5e-815f-d051e484fd89");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-C1htMD-5.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
7
7
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
8
8
|
import { f as hasSolePropInLegalEntity } from "./entityAssociationUtil-DLXInibJ.js";
|
|
@@ -3,9 +3,9 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "66d54263-55c9-4f6b-ae2c-82afe85e0bcc", e._sentryDebugIdIdentifier = "sentry-dbid-66d54263-55c9-4f6b-ae2c-82afe85e0bcc");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
|
-
import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-
|
|
8
|
+
import { l as omitKeys, o as ValidationResult, s as addKeys } from "./Select-yOtg-61e.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
10
10
|
//#region src/hooks/useAsyncValidator.ts
|
|
11
11
|
var logger = createLogger();
|
|
@@ -3,7 +3,7 @@ try {
|
|
|
3
3
|
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "766bed4f-2ccb-46d8-b524-b11b5b56c729", e._sentryDebugIdIdentifier = "sentry-dbid-766bed4f-2ccb-46d8-b524-b11b5b56c729");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { o as createLogger } from "./translation-CcKrUksA.js";
|
|
6
|
-
import { L as ToastContext } from "./resolveEnvironment-
|
|
6
|
+
import { L as ToastContext } from "./resolveEnvironment-C1htMD-5.js";
|
|
7
7
|
import { s as useApiContext } from "./http-CFac2y4i.js";
|
|
8
8
|
import { useCallback, useContext, useState } from "preact/hooks";
|
|
9
9
|
import { useQueryClient } from "@tanstack/preact-query";
|