@adyen/kyc-components 4.17.0 → 4.17.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/{AcceptTermsOfServiceComponent-DahZIago.js → AcceptTermsOfServiceComponent-Bb-lNxor.js} +18 -18
- package/dist/{Accordion-DmH02rWQ.js → Accordion-IXKjwyLD.js} +1 -1
- package/dist/{AccountSetupRejected-aY_awPqH.js → AccountSetupRejected-CIbXfS4T.js} +2 -2
- package/dist/{AdaptiveWorkflow-C1OnKoz6.js → AdaptiveWorkflow-b83JMsMN.js} +32 -32
- package/dist/{AdaptiveWorkflowComponent-B9NVZwBG.js → AdaptiveWorkflowComponent-BvN88iSP.js} +5 -5
- package/dist/{Address-BDAWsBP6.js → Address-DDvR9pCB.js} +11 -11
- package/dist/{Avatar-Z3MS8_pW.js → Avatar-CdBNstmD.js} +1 -1
- package/dist/{BusinessFinancingDropin-DYZPXmaA.js → BusinessFinancingDropin-BD5Dg_Nu.js} +29 -29
- package/dist/{BusinessFinancingPage-CWAVQIUu.js → BusinessFinancingPage-D6LUADb0.js} +6 -6
- package/dist/{BusinessTypeSelectionPage-mR4yxGIO.js → BusinessTypeSelectionPage-YEtiiB0m.js} +14 -14
- package/dist/{Button-3qGOI53m.js → Button-i8I2dHP8.js} +1 -1
- package/dist/{Checkbox-yzDgU8Go.js → Checkbox-DdEBnXOB.js} +1 -1
- package/dist/{CompanyRegistrationNumberTypeSelector-DuiQt7Rc.js → CompanyRegistrationNumberTypeSelector-DdnSpMrf.js} +8 -8
- package/dist/{Confirm-D3iEEzM7.js → Confirm-DcqMV7rd.js} +3 -3
- package/dist/{ContactDetails-DfGTy-MW.js → ContactDetails-FMjsH68A.js} +6 -6
- package/dist/{ContextGuidance-CBREh6Su.js → ContextGuidance-BuyNY1eL.js} +2 -2
- package/dist/{CountryField-BooICUbM.js → CountryField-DtaUj4gh.js} +4 -4
- package/dist/{Currency-CFuP1Dyd.js → Currency-BSXOgzCq.js} +6 -6
- package/dist/{CustomerSupport-DFyRJizn.js → CustomerSupport-Ccmoh-P6.js} +12 -12
- package/dist/{DataConflictsModal-DQ3mkW9z.js → DataConflictsModal-CZX9ktGb.js} +6 -6
- package/dist/{DebugModal-C-ikCH1j.js → DebugModal-fbGf-MWc.js} +10 -10
- package/dist/{DecisionMakerDetails-BHf3n6d6.js → DecisionMakerDetails-DNo_ca88.js} +14 -14
- package/dist/{DecisionMakerDetailsPage-0mfoRbLJ.js → DecisionMakerDetailsPage-Cldcdq2i.js} +8 -8
- package/dist/{DecisionMakers-DyNHZELs.js → DecisionMakers-59bV3LAL.js} +17 -17
- package/dist/{Dropzone-BMxSdYQ2.js → Dropzone-C-iF9Vi5.js} +6 -6
- package/dist/{EmbeddedStatus-JozflNLq.js → EmbeddedStatus-g37gc_ic.js} +3 -3
- package/dist/{EndStateLayout-ic1EOve9.js → EndStateLayout-CBRHUXyY.js} +2 -2
- package/dist/{EntityAssociation-pJy_kse0.js → EntityAssociation-C8dO76vZ.js} +6 -6
- package/dist/{ErrorPanel-BqfHivX7.js → ErrorPanel-WxNhR0d1.js} +3 -3
- package/dist/{Field-CIqSPDus.js → Field-CPvnOkLo.js} +3 -3
- package/dist/{IndividualDropin-BdIwUDOo.js → IndividualDropin-CGyphiDA.js} +43 -43
- package/dist/{InputDate-DSeCO1wk.js → InputDate-CSOtcXS1.js} +1 -1
- package/dist/{InputText-DtRsfuMv.js → InputText-B7eseCmi.js} +1 -1
- package/dist/{Introduction-DLfzBonb.js → Introduction-CCNqyCrC.js} +8 -8
- package/dist/{InvitedDecisionMakerComponent-CaoxJri-.js → InvitedDecisionMakerComponent-C0QTLh0d.js} +14 -14
- package/dist/{JpAddress-Cqb_UMwB.js → JpAddress-CoupMKM0.js} +10 -10
- package/dist/{LandingLayout-C1yh_ggf.js → LandingLayout-CUAkXrpL.js} +1 -1
- package/dist/{LegalCompanyNameField-DskXNNbo.js → LegalCompanyNameField-BcvsTDKX.js} +4 -4
- package/dist/{LegalRepresentativeDetailsPage-pILfh5cO.js → LegalRepresentativeDetailsPage-DgIHSSTF.js} +7 -7
- package/dist/{Link-C0jrInxa.js → Link-JFzfaUOa.js} +1 -1
- package/dist/{ListItem-DENJV6DO.js → ListItem-BnVTcObB.js} +2 -2
- package/dist/{MaskedInput-C5W0lx70.js → MaskedInput-BiVsiGoh.js} +5 -5
- package/dist/{MaybeModal-DYEqnOf-.js → MaybeModal-CSdyWPpb.js} +2 -2
- package/dist/{Modal-DParMHcv.js → Modal-ByJare7m.js} +1 -1
- package/dist/{Name-kHxte68O.js → Name-BaA99nWp.js} +3 -3
- package/dist/{NewSummary-JEU35ul4.js → NewSummary-CTrWtwIQ.js} +4 -4
- package/dist/{PatriotActDisclosure-BqaWGRcZ.js → PatriotActDisclosure-CCeWR4Oq.js} +14 -14
- package/dist/{PayoutDetailsDropinMultiForm-C-M8c5Xx.js → PayoutDetailsDropinMultiForm-BwuVaAmr.js} +32 -45
- package/dist/{PayoutDetailsPage-IhLlwUKv.js → PayoutDetailsPage-DVgjP63L.js} +8 -8
- package/dist/{RadioGroup-_XpoFWaf.js → RadioGroup-BgK1r1tF.js} +2 -2
- package/dist/{Review-BbJHml8D.js → Review-D1mcQJrf.js} +7 -7
- package/dist/{RootBusinessDetailsPage-CumD-zxI.js → RootBusinessDetailsPage-UtSS2mdy.js} +6 -6
- package/dist/{RootBusinessLinesPage-D7_26OI5.js → RootBusinessLinesPage-Bo9s9RL7.js} +31 -31
- package/dist/{RootIndividualDetailsPage-2N5uuxXl.js → RootIndividualDetailsPage-Coha-RRS.js} +7 -7
- package/dist/{Select-BgdbPMw9.js → Select-CZK4IIZ-.js} +4 -4
- package/dist/{SignPCIComponent-DGv1bkdf.js → SignPCIComponent-Bubz_okk.js} +16 -16
- package/dist/{SingpassSelection-h1jxupMg.js → SingpassSelection-DIcF-cpQ.js} +6 -6
- package/dist/{SoleProprietorshipPage-CLetJc-c.js → SoleProprietorshipPage-BRKwSK5E.js} +7 -7
- package/dist/{SourceOfFundsPage-CsCBYxJP.js → SourceOfFundsPage-CgRxKOnY.js} +35 -35
- package/dist/{Summary-DLL-G-wC.js → Summary-mNbdzw-P.js} +9 -9
- package/dist/{TaskListItem-Bk-gLf9K.js → TaskListItem-BahFqs9L.js} +9 -9
- package/dist/{TaskVerificationStatus-DTHF8B9j.js → TaskVerificationStatus-CKHPTEpH.js} +1 -1
- package/dist/{TaxReportingDropin-TCSYgjMp.js → TaxReportingDropin-P_t-4Xqx.js} +18 -18
- package/dist/{TextArea-DNSnqxGL.js → TextArea-Blkrb-8X.js} +2 -2
- package/dist/{TileGroup-DWtO7N2P.js → TileGroup-g2SzfZR0.js} +2 -2
- package/dist/{TrustDetailsPage-BMnQTWaY.js → TrustDetailsPage-wj1_97mM.js} +30 -30
- package/dist/{TrustMemberCompanyPage-p4Zo8KWk.js → TrustMemberCompanyPage-CvyLRfrq.js} +8 -8
- package/dist/{TrustMemberIndividualPage-C_glkWhn.js → TrustMemberIndividualPage-DwbRy7lS.js} +7 -7
- package/dist/{TrustMemberRoleAndTypePage-CbzyU01D.js → TrustMemberRoleAndTypePage-CRQmqNND.js} +20 -20
- package/dist/{TrustMembersOverview-B17lJDGj.js → TrustMembersOverview-BsjeX9OX.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-BFfog1or.js → UnincorporatedPartnershipIndividualPage-B5yhkJLZ.js} +7 -7
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CXCA43e0.js → UnincorporatedPartnershipMemberCompanyPage-Lz3G9Ts0.js} +8 -8
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Kqj-yQMo.js → UnincorporatedPartnershipMemberRoleAndTypePage-YYLlk6o_.js} +12 -12
- package/dist/{UnincorporatedPartnershipMembersOverview-XfXSoBGc.js → UnincorporatedPartnershipMembersOverview-DD-UIG4X.js} +9 -9
- package/dist/{VerificationErrorAlert-Q-TvD-Mb.js → VerificationErrorAlert-C0kw5v1T.js} +4 -4
- package/dist/{accountHolderUtils-Brjeiw04.js → accountHolderUtils-CRbTtDf8.js} +1 -1
- package/dist/adyen-business-financing.js +7 -7
- package/dist/adyen-individual-configuration.js +7 -7
- package/dist/adyen-individual-status.js +7 -7
- package/dist/adyen-invited-decision-maker.js +3 -3
- package/dist/adyen-onboarding.js +26 -26
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +6 -6
- package/dist/adyen-transfer-instrument-configuration.js +6 -6
- package/dist/adyen-transfer-instrument-management.js +11 -11
- package/dist/adyen-verification-status.js +6 -6
- package/dist/{constants-JBn-5I_D.js → constants-DQuh8ePv.js} +5 -5
- package/dist/getFormSlice-BhE08Y1v.js +18 -0
- package/dist/{getProblemsForEntity-CjAq8_4L.js → getProblemsForEntity-n6j8So3N.js} +1 -1
- package/dist/{http-DeQp0G69.js → http-8qgzqVqk.js} +1 -1
- package/dist/{invalidateRootLegalEntity-CCtOf4ib.js → invalidateRootLegalEntity-BXEeCEPH.js} +3 -3
- package/dist/{localizeDateString-CU7HGR-k.js → localizeDateString-Bmx3yBcR.js} +1 -1
- package/dist/{mapExistingFile-BeuzYADl.js → mapExistingFile-CBm5xZ6Y.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-Dgs8wnkZ.js → mapLegalEntityToIndividualSchema-ffgKdB7f.js} +6 -6
- package/dist/{mapTransferInstrumentToPayoutAccount-BHF5J5eC.js → mapTransferInstrumentToPayoutAccount-CzGprA7W.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-BQSBg_D9.js → omitObscuredFieldsIfUnchanged-DsnQrP7Q.js} +1 -1
- package/dist/{patternValidators-ldthuMTg.js → patternValidators-CF0ehPio.js} +1 -1
- package/dist/{process-field-configurations-DIEIpM00.js → process-field-configurations-hFtQDU3k.js} +1 -1
- package/dist/{resolveEnvironment-DqVK_B7n.js → resolveEnvironment-eLCNmAkD.js} +11 -11
- package/dist/{roleMetadata-BgKauSqU.js → roleMetadata-BWpcmJKX.js} +1 -1
- package/dist/{translation-BR3rLb4m.js → translation-BYvhW5zA.js} +1 -1
- package/dist/types/components/Business/modals/RegistrationNumberMismatchModal.d.ts +6 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +2 -1
- package/dist/types/components/Business/utils/applyVerifiedBusinessData.d.ts +2 -1
- package/dist/{unincorporated-partnership-BstfjTh2.js → unincorporated-partnership-nnTW3FnG.js} +1 -1
- package/dist/{useAssociatedLegalEntity-QRvyeNwU.js → useAssociatedLegalEntity-CkuvFV-D.js} +2 -2
- package/dist/{useBusinessDetailsData-Cdr8zQFV.js → useBusinessDetailsData-D0PJ9tyW.js} +109 -91
- package/dist/{useBusinessLines-B2iCcDej.js → useBusinessLines-BFsRoAAj.js} +1 -1
- package/dist/{useCanSeeIntroduction-BAXdnYUx.js → useCanSeeIntroduction-DaQwrjJ-.js} +1 -1
- package/dist/{useCreateLegalEntity-zPjl13U3.js → useCreateLegalEntity-CoBr-K0N.js} +1 -1
- package/dist/{useDataMissingRemediations-BZwtMi3U.js → useDataMissingRemediations-MNtvN32n.js} +1 -1
- package/dist/{useForm-DhSq8lwH.js → useForm-Cv3aZas7.js} +2 -2
- package/dist/{useFormContext-Dtfe218N.js → useFormContext-CtpjwLuZ.js} +8 -8
- package/dist/{useLegalEntity-BXk2tzGe.js → useLegalEntity-CtlUQv_J.js} +1 -1
- package/dist/{useMultiForm-DGafu7JW.js → useMultiForm-BIa2K3IX.js} +2 -2
- package/dist/{useNavigate-Bu0KYCiB.js → useNavigate-Cah-_jS1.js} +31 -31
- package/dist/{useOnboardingStatus-BgO4uPbW.js → useOnboardingStatus-BlXlrSAS.js} +1 -1
- package/dist/{usePciQuestionnaireList-BEPt97lw.js → usePciQuestionnaireList-CbkNC_Ye.js} +1 -1
- package/dist/{useSalesChannels-D3vQBhRT.js → useSalesChannels-CQjvFAb2.js} +2 -2
- package/dist/{useScenarios-Bh7kKk_q.js → useScenarios-DeLWDtIg.js} +1 -1
- package/dist/{useTaskLandedEvent-DDVHIkiF.js → useTaskLandedEvent-BiIxm8IU.js} +1 -1
- package/dist/{useTaskStatus-BLkHjMgm.js → useTaskStatus-wrAxqtIR.js} +1 -1
- package/dist/{useTermsOfServiceStatus-B1OpYOua.js → useTermsOfServiceStatus-D1_ECrkO.js} +1 -1
- package/dist/{useTrustMembers-Do3hdGIJ.js → useTrustMembers-BJccqTXe.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-BSEcDBC7.js → useUnincorporatedPartnershipMembers-C2eHPtsR.js} +3 -3
- package/dist/{useUpdateBusinessLines-jlXfi57a.js → useUpdateBusinessLines-Cncate8L.js} +1 -1
- package/dist/{useUpdateLegalEntity-CsWHWigd.js → useUpdateLegalEntity-xQVlW3fk.js} +2 -2
- package/dist/{utils-BtyrxTzp.js → utils-C1buyvRw.js} +1 -1
- package/dist/{utils-DT_Qe3DC.js → utils-CCvjBg7M.js} +18 -18
- package/dist/{utils-CGlii18m.js → utils-ChXVrj27.js} +2 -2
- package/dist/{utils-CTt_G6Rx.js → utils-Cx2kRIsq.js} +5 -5
- package/dist/{validate-CeVER2vD.js → validate-DZIWXgfU.js} +1 -1
- package/dist/{validate-C52znTzq.js → validate-Dddd90Q3.js} +4 -4
- package/dist/{validateExtractionResult-CxXkhbrM.js → validateExtractionResult-ClctqC0B.js} +9 -9
- package/package.json +1 -1
|
@@ -1,20 +1,20 @@
|
|
|
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] = "f51802f6-9b9f-4015-8aa6-ac0a9d170d05", e._sentryDebugIdIdentifier = "sentry-dbid-f51802f6-9b9f-4015-8aa6-ac0a9d170d05");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-
|
|
6
|
-
import { n as IconButton, r as Loader, t as Button } from "./Button-
|
|
7
|
-
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-
|
|
8
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { a as Icon, i as Typography, n as addResourceBundles, o as createLogger, r as useTranslation, s as initReactI18next } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { n as IconButton, r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
7
|
+
import { a as setSdkTokenHandler, i as refreshSession, n as httpGet, o as ApiProvider, r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
8
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
9
9
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
10
10
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-BHh7Ux8v.js";
|
|
11
11
|
import { n as SettingsContext, t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { a as noop, c as keysOf, l as valuesOf, n as cloneObject, s as entriesOf, t as AnalyticsContext } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
15
15
|
import { i as TaskStatuses, r as TASK_STATUS_PRIORITY } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
|
-
import { n as Skeleton, t as Accordion } from "./Accordion-
|
|
17
|
+
import { n as Skeleton, t as Accordion } from "./Accordion-IXKjwyLD.js";
|
|
18
18
|
import { C as EntityTypes, n as getCapabilityProblems, t as getCapabilities, w as CUSTOMER_SUPPORT_DATA_MISSING_ERROR_CODES } from "./processCapabilities-BeE0xWUp.js";
|
|
19
19
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
20
20
|
import { a as getLegalRepresentative, i as getDirectEntityAssociations, l as getOwnSoleProprietorshipIdArray } from "./entityAssociationUtil-C-wflW8q.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.17.
|
|
399
|
+
const sdkVersion = "4.17.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.17.
|
|
494
|
+
sdkVersion: "4.17.1",
|
|
495
495
|
componentName,
|
|
496
496
|
userAgent: navigator.userAgent,
|
|
497
497
|
legalEntityId: rootLegalEntityId,
|
|
@@ -1751,7 +1751,7 @@ var AllowedCountryGate = ({ children }) => {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
//#endregion
|
|
1753
1753
|
//#region src/components/Shared/devex/DebugListener/DebugListener.tsx
|
|
1754
|
-
var DebugModal = lazy(async () => (await import("./DebugModal-
|
|
1754
|
+
var DebugModal = lazy(async () => (await import("./DebugModal-fbGf-MWc.js")).DebugModal);
|
|
1755
1755
|
/**
|
|
1756
1756
|
* Adds a listener on the page to open the debug modal when the
|
|
1757
1757
|
* debug modal key combination is pressed to open it
|
|
@@ -2451,7 +2451,7 @@ var EmbedShell = ({ children, rootLegalEntityId, settings, features, refreshExpe
|
|
|
2451
2451
|
children: [/* @__PURE__ */ jsx(LanguageSwitcher, { locale }), /* @__PURE__ */ jsxs(StoreProvider, { children: [/* @__PURE__ */ jsx("span", {
|
|
2452
2452
|
id: "sdk-version",
|
|
2453
2453
|
hidden: true,
|
|
2454
|
-
children: "4.17.
|
|
2454
|
+
children: "4.17.1"
|
|
2455
2455
|
}), /* @__PURE__ */ jsx(AnalyticsProvider, {
|
|
2456
2456
|
componentName,
|
|
2457
2457
|
locale,
|
|
@@ -4,7 +4,7 @@ try {
|
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { t as DecisionMakerTypes } from "./decision-maker-type-NR4GFAeT.js";
|
|
6
6
|
import { n as TrustMemberGuidanceLabels, r as TrustMemberTypes } from "./trustMemberGuidance-CgdU2v0j.js";
|
|
7
|
-
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
7
|
+
import { t as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-nnTW3FnG.js";
|
|
8
8
|
//#region src/utils/roleMetadata.ts
|
|
9
9
|
var roleMetadata = {
|
|
10
10
|
[DecisionMakerTypes.CONTROLLING_PERSON]: {
|
|
@@ -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] = "a82820cb-3f61-4cfe-88fe-5e0bfb838517", e._sentryDebugIdIdentifier = "sentry-dbid-a82820cb-3f61-4cfe-88fe-5e0bfb838517");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { Children, Fragment, Suspense, cloneElement, createContext, createElement, isValidElement, lazy, useCallback, useContext, useEffect, useRef, useState } from "preact/compat";
|
|
6
6
|
import cx from "classnames";
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { Signal } from '@preact/signals';
|
|
2
|
+
import type { CompanyRegistrationNumberType } from '../../Shared/fields/BusinessRegistrationNumberField/types';
|
|
2
3
|
import type { CompanySearchState } from '../tasks/BusinessDetailsDropin/businessDetailsStore';
|
|
4
|
+
export interface RegistrationNumberConflictData {
|
|
5
|
+
registrationNumber?: string;
|
|
6
|
+
registrationNumberType?: CompanyRegistrationNumberType;
|
|
7
|
+
}
|
|
3
8
|
interface RegistrationNumberMismatchModalProps {
|
|
4
9
|
companySearchStateModel: CompanySearchState;
|
|
5
10
|
registrationNumberMismatchModalOpen: Signal<boolean>;
|
|
6
|
-
confirmDataSelection: (resolved:
|
|
7
|
-
registrationNumber?: string | undefined;
|
|
8
|
-
}) => void;
|
|
11
|
+
confirmDataSelection: (resolved: RegistrationNumberConflictData) => void;
|
|
9
12
|
}
|
|
10
13
|
export declare function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection, }: RegistrationNumberMismatchModalProps): import("preact/jsx-runtime").JSX.Element;
|
|
11
14
|
export {};
|
package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts
CHANGED
|
@@ -4,6 +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 { RegistrationNumberConflictData } from '../../modals/RegistrationNumberMismatchModal';
|
|
7
8
|
type DisallowedSelectionReasons = 'LEGAL_ARRANGEMENT';
|
|
8
9
|
export interface CompanySearchState {
|
|
9
10
|
companySearchName: Signal<string | undefined>;
|
|
@@ -15,7 +16,7 @@ export interface CompanySearchState {
|
|
|
15
16
|
disallowSelection: (reason: DisallowedSelectionReasons) => void;
|
|
16
17
|
setVerificationMatched: (value: boolean) => void;
|
|
17
18
|
selectCompany: (data: CompanySelectionResponse, idx: number, country: CountryCode) => void;
|
|
18
|
-
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode) => void;
|
|
19
|
+
confirmCompany: (multiform: Form<BusinessDetailsSchema>, country: CountryCode, registrationNumberType?: RegistrationNumberConflictData) => void;
|
|
19
20
|
}
|
|
20
21
|
export declare const CompanySearchStateModel: import("@preact/signals").ModelConstructor<CompanySearchState, [UserEvents]>;
|
|
21
22
|
export {};
|
|
@@ -2,4 +2,5 @@ import type { CompanySelectionResponse } from '../../../api/companySelection/com
|
|
|
2
2
|
import type { Form } from '../../../hooks/useMultiForm/types';
|
|
3
3
|
import { type CountryCode } from '../../../types/datasets/country-code';
|
|
4
4
|
import type { BusinessDetailsSchema } from '../forms/BusinessDetails/types';
|
|
5
|
-
|
|
5
|
+
import type { RegistrationNumberConflictData } from '../modals/RegistrationNumberMismatchModal';
|
|
6
|
+
export declare const applyVerifiedBusinessData: (form: Form<BusinessDetailsSchema>, country: CountryCode, verifiedData: CompanySelectionResponse | undefined, resolvedData?: RegistrationNumberConflictData) => void;
|
package/dist/{unincorporated-partnership-BstfjTh2.js → unincorporated-partnership-nnTW3FnG.js}
RENAMED
|
@@ -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] = "e68886cc-6a4a-470d-b58c-1e2f2b621086", e._sentryDebugIdIdentifier = "sentry-dbid-e68886cc-6a4a-470d-b58c-1e2f2b621086");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as Loader } from "./Button-
|
|
5
|
+
import { r as Loader } from "./Button-i8I2dHP8.js";
|
|
6
6
|
import { Suspense } from "preact/compat";
|
|
7
7
|
import { jsx } from "preact/jsx-runtime";
|
|
8
8
|
//#region src/components/ui/atoms/Image/Image.tsx
|
|
@@ -2,8 +2,8 @@ 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] = "319937ec-89ed-4685-91c1-d8bd3c585e9d", e._sentryDebugIdIdentifier = "sentry-dbid-319937ec-89ed-4685-91c1-d8bd3c585e9d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { r as useLegalEntity } from "./useLegalEntity-
|
|
5
|
+
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { r as useLegalEntity } from "./useLegalEntity-CtlUQv_J.js";
|
|
7
7
|
import { useMemo } from "preact/hooks";
|
|
8
8
|
import { skipToken } from "@tanstack/preact-query";
|
|
9
9
|
//#region src/hooks/useAssociatedLegalEntity.ts
|
|
@@ -1,91 +1,92 @@
|
|
|
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] = "f553ffc5-d26f-4e65-9725-f69c2c38b72b", e._sentryDebugIdIdentifier = "sentry-dbid-f553ffc5-d26f-4e65-9725-f69c2c38b72b");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-
|
|
7
|
-
import { r as Loader, t as Button } from "./Button-
|
|
8
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
9
|
-
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-
|
|
5
|
+
import { i as Typography, o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { E as useAllowedCountries, T as datasetUtilities, at as isUndefinedOrNull, ft as useAccountHolder, j as useToggleContext, k as Header, nt as isEmpty, rt as isISIN, x as Alert } from "./resolveEnvironment-eLCNmAkD.js";
|
|
7
|
+
import { r as Loader, t as Button } from "./Button-i8I2dHP8.js";
|
|
8
|
+
import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
9
|
+
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-CtlUQv_J.js";
|
|
10
10
|
import { t as LegalEntityTypes } from "./legal-entity-type-0MfCGzUf.js";
|
|
11
11
|
import { t as useSettingsContext } from "./useSettingsContext-Bpf4UqRT.js";
|
|
12
12
|
import { c as keysOf, o as objectsDeepEqual, r as doArraysMatch, s as entriesOf } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
13
13
|
import { t as StackLayout } from "./StackLayout-IUdNMDgW.js";
|
|
14
|
-
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { t as TaskVerificationStatus } from "./TaskVerificationStatus-CKHPTEpH.js";
|
|
15
15
|
import { n as TASK_STATUS_POLLING_INTERVAL_MS } from "./taskStatus-BtekPA8E.js";
|
|
16
16
|
import { t as CountryCodes } from "./country-code-CJk2hdPu.js";
|
|
17
17
|
import { _ as businessDetailsKeyMapping, f as solePropBusinessDetailsApiKeyMapping, g as businessDetailsDocumentMapping, h as businessDetailsApiKeyMapping, m as solePropBusinessDetailsKeyMapping, p as solePropBusinessDetailsDocumentMapping } from "./processCapabilities-BeE0xWUp.js";
|
|
18
18
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
19
19
|
import { r as filterOutUnwantedAssociationsIfRootLE, s as getOwnEntityAssociations } from "./entityAssociationUtil-C-wflW8q.js";
|
|
20
20
|
import { t as Scenarios } from "./get-scenarios-Bb-paHmJ.js";
|
|
21
|
-
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-
|
|
21
|
+
import { i as useAnalyticsContext, n as ModalContent, r as KEYBOARD_KEYS, t as Modal } from "./Modal-ByJare7m.js";
|
|
22
22
|
import { t as HandlerContext } from "./HandlerContext-DeMa68z0.js";
|
|
23
23
|
import { t as SettingNames } from "./types-Cwq1JAWT.js";
|
|
24
|
-
import { t as useBusinessLines } from "./useBusinessLines-
|
|
24
|
+
import { t as useBusinessLines } from "./useBusinessLines-BFsRoAAj.js";
|
|
25
25
|
import { t as Card } from "./Card-BCGLpdw7.js";
|
|
26
|
-
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-
|
|
26
|
+
import { n as useToastContext, t as useInvalidateRootLegalEntity } from "./invalidateRootLegalEntity-BXEeCEPH.js";
|
|
27
27
|
import { c as CompanyTypesValues } from "./bafinUtils-BKq-s1Ka.js";
|
|
28
|
-
import { r as LoaderWrapper } from "./utils-
|
|
29
|
-
import { t as Confirm } from "./Confirm-
|
|
30
|
-
import { t as useScenarios } from "./useScenarios-
|
|
31
|
-
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
32
|
-
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
33
|
-
import { a as defaultFieldMetadata, i as defaultFieldConfig, l as formatAddressForCleanse, n as STATE_FIELD, r as StateField, t as Address, u as useAddressCleanse } from "./Address-
|
|
34
|
-
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-
|
|
35
|
-
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-
|
|
28
|
+
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
29
|
+
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
30
|
+
import { t as useScenarios } from "./useScenarios-DeLWDtIg.js";
|
|
31
|
+
import { t as useCreateLegalEntity } from "./useCreateLegalEntity-CoBr-K0N.js";
|
|
32
|
+
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-xQVlW3fk.js";
|
|
33
|
+
import { a as defaultFieldMetadata, i as defaultFieldConfig, l as formatAddressForCleanse, n as STATE_FIELD, r as StateField, t as Address, u as useAddressCleanse } from "./Address-DDvR9pCB.js";
|
|
34
|
+
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, s as FormContextProvider, t as useFormContext } from "./useFormContext-CtpjwLuZ.js";
|
|
35
|
+
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations } from "./process-field-configurations-hFtQDU3k.js";
|
|
36
36
|
import { t as StructuredList } from "./StructuredList-CUyo9-3i.js";
|
|
37
|
-
import { t as ErrorPanel } from "./ErrorPanel-
|
|
37
|
+
import { t as ErrorPanel } from "./ErrorPanel-WxNhR0d1.js";
|
|
38
38
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C4NqSvj-.js";
|
|
39
|
-
import { n as summaryStep, r as Summary_module_default } from "./Summary-
|
|
40
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
41
|
-
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-
|
|
42
|
-
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-
|
|
43
|
-
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-
|
|
39
|
+
import { n as summaryStep, r as Summary_module_default } from "./Summary-mNbdzw-P.js";
|
|
40
|
+
import { t as useMultiForm } from "./useMultiForm-BIa2K3IX.js";
|
|
41
|
+
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-CBm5xZ6Y.js";
|
|
42
|
+
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BiIxm8IU.js";
|
|
43
|
+
import { a as alphanumericInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput } from "./MaskedInput-BiVsiGoh.js";
|
|
44
44
|
import { i as mapJpAddressSummaryNewSummary, n as toFullWidth, t as mapJpAddressSchemaToAddressLocalizations } from "./mapJpAddressSchemaToAddressLocalizations-DZUd0pQT.js";
|
|
45
45
|
import { a as mapAddressLabelsNewSummary, c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, r as getKeyForField, t as getAddressSchemaForCountry } from "./utils-BIsRIG8_.js";
|
|
46
46
|
import { i as isValidationError, n as isBusinessSelectionLegalArrangementError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-DwNvWaOL.js";
|
|
47
|
-
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-
|
|
47
|
+
import { a as createDocumentRequest, c as getDocuments, f as mergeProofOfOwnershipAttachments, l as getFileExtention, o as documentApiUtils, s as getDocument } from "./validate-Dddd90Q3.js";
|
|
48
48
|
import { r as formatObject } from "./utils-DdHbAadK.js";
|
|
49
|
-
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-
|
|
49
|
+
import { i as MemoizedDocumentUpload, n as TAX_INFORMATION_FIELD, o as getFieldsWithExistingData, r as TaxInformationField, t as PatriotActDisclosure } from "./PatriotActDisclosure-CCeWR4Oq.js";
|
|
50
50
|
import { a as isJapanLocalizationEnabled } from "./Individual.rules-s4Yf5eU4.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-CF0ehPio.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-Cx2kRIsq.js";
|
|
54
54
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-CZCFghnK.js";
|
|
55
|
-
import { t as Field } from "./Field-
|
|
56
|
-
import { t as TileGroup } from "./TileGroup-
|
|
57
|
-
import { t as LandingLayout } from "./LandingLayout-
|
|
55
|
+
import { t as Field } from "./Field-CPvnOkLo.js";
|
|
56
|
+
import { t as TileGroup } from "./TileGroup-g2SzfZR0.js";
|
|
57
|
+
import { t as LandingLayout } from "./LandingLayout-CUAkXrpL.js";
|
|
58
58
|
import { n as useDebouncedCallback } from "./debouncedInputEvent-Fwwp_K_-.js";
|
|
59
|
-
import { t as Checkbox } from "./Checkbox-
|
|
60
|
-
import { n as convertFullToHalf } from "./TextArea-
|
|
61
|
-
import { t as Link } from "./Link-
|
|
62
|
-
import { t as InputText } from "./InputText-
|
|
63
|
-
import { n as formatDateObj, t as InputDate } from "./InputDate-
|
|
64
|
-
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-
|
|
65
|
-
import { t as RadioGroup } from "./RadioGroup-
|
|
59
|
+
import { t as Checkbox } from "./Checkbox-DdEBnXOB.js";
|
|
60
|
+
import { n as convertFullToHalf } from "./TextArea-Blkrb-8X.js";
|
|
61
|
+
import { t as Link } from "./Link-JFzfaUOa.js";
|
|
62
|
+
import { t as InputText } from "./InputText-B7eseCmi.js";
|
|
63
|
+
import { n as formatDateObj, t as InputDate } from "./InputDate-CSOtcXS1.js";
|
|
64
|
+
import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-DtaUj4gh.js";
|
|
65
|
+
import { t as RadioGroup } from "./RadioGroup-BgK1r1tF.js";
|
|
66
66
|
import { t as createFormRules } from "./form-rules-CUUQGacJ.js";
|
|
67
67
|
import { t as isEmpty$1 } from "./isEmpty-MyMko24J.js";
|
|
68
|
-
import { t as DataConflictsModal } from "./DataConflictsModal-
|
|
68
|
+
import { t as DataConflictsModal } from "./DataConflictsModal-CZX9ktGb.js";
|
|
69
69
|
import { n as mapApiScriptLocalizationToSchemaFields, r as mapSchemaFieldsToApiScriptLocalization, t as mapAddressLocalizationToJpAddressSchema } from "./mapAddressLocalizationToJpAddressSchema-CBeBTFmC.js";
|
|
70
70
|
import { t as currencyByCountry } from "./types-KjTYEnAG.js";
|
|
71
|
+
import { t as getFormSlice } from "./getFormSlice-BhE08Y1v.js";
|
|
71
72
|
import { t as Divider } from "./Divider-BENvVRnz.js";
|
|
72
73
|
import { t as DetailViewLayout } from "./DetailViewLayout-DNCGEd7b.js";
|
|
73
|
-
import { a as LegalFormField, c as getNestedTrustedFields, i as InputCurrency, l as isDateOlderThanAYear, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as mapAddressData } from "./Currency-
|
|
74
|
-
import { n as SummarySection, t as NewSummary } from "./NewSummary-
|
|
75
|
-
import { t as useTaskStatus } from "./useTaskStatus-
|
|
76
|
-
import { t as ListItem } from "./ListItem-
|
|
77
|
-
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-
|
|
78
|
-
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
74
|
+
import { a as LegalFormField, c as getNestedTrustedFields, i as InputCurrency, l as isDateOlderThanAYear, n as Currency, o as mapFinancialReportsToFinancialInformation, r as InputNumber, s as mapFinancialInformationToFinancialReport, t as CURRENCY_FIELD, u as mapAddressData } from "./Currency-BSXOgzCq.js";
|
|
75
|
+
import { n as SummarySection, t as NewSummary } from "./NewSummary-CTrWtwIQ.js";
|
|
76
|
+
import { t as useTaskStatus } from "./useTaskStatus-wrAxqtIR.js";
|
|
77
|
+
import { t as ListItem } from "./ListItem-BnVTcObB.js";
|
|
78
|
+
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-DdnSpMrf.js";
|
|
79
|
+
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-Cncate8L.js";
|
|
79
80
|
import { n as formatCurrency } from "./formatCurrency-Cq3WFpdZ.js";
|
|
80
|
-
import { S as DBA_NAME_FIELD, _ as defaultFieldMetadata$1, a as isRegistrationNumberAbsentStateV4Scenario, b as doingBusinessAsFieldMetadata, c as BusinessRegistrationNumberField, g as defaultFieldConfig$1, h as getDefaultVatNumberType, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as VatNumberField, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as VAT_NUMBER_FIELD, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as registrationAddressFields, v as vatAbsenceReasonMetadata, x as DBANameField, y as doingBusinessAsAbsentFieldMetadata } from "./utils-
|
|
81
|
-
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-
|
|
82
|
-
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-
|
|
83
|
-
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-
|
|
81
|
+
import { S as DBA_NAME_FIELD, _ as defaultFieldMetadata$1, a as isRegistrationNumberAbsentStateV4Scenario, b as doingBusinessAsFieldMetadata, c as BusinessRegistrationNumberField, g as defaultFieldConfig$1, h as getDefaultVatNumberType, i as isRegistrationExemptionAllowed, l as MemoizedConstitutionalDocument, m as VatNumberField, n as getCountryOfGoverningLaw, o as isUsingCompanySearch, p as VAT_NUMBER_FIELD, r as isFinancialInformationRequired, s as BUSINESS_REGISTRATION_NUMBER_FIELD, t as countryToTaxInfoTypeMap, u as registrationAddressFields, v as vatAbsenceReasonMetadata, x as DBANameField, y as doingBusinessAsAbsentFieldMetadata } from "./utils-CCvjBg7M.js";
|
|
82
|
+
import { f as industryCodeFieldMetadata, l as IndustryCodeField, t as INDUSTRY_CODE_FIELD } from "./constants-DQuh8ePv.js";
|
|
83
|
+
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-BcvsTDKX.js";
|
|
84
|
+
import { s as organizationTypesToSkipCompanyStructureForm } from "./utils-ChXVrj27.js";
|
|
84
85
|
import { Suspense, lazy } from "preact/compat";
|
|
85
86
|
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";
|
|
86
87
|
import cx from "classnames";
|
|
87
88
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
88
|
-
import { createModel, signal, useModel, useSignal } from "@preact/signals";
|
|
89
|
+
import { createModel, signal, useComputed, useModel, useSignal } from "@preact/signals";
|
|
89
90
|
import { queryOptions, skipToken, useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
90
91
|
import { createContext as createContext$1 } from "preact";
|
|
91
92
|
import { Show } from "@preact/signals/utils";
|
|
@@ -920,7 +921,7 @@ var handleCompanySelection = async (rootLegalEntityId, baseUrl, queryClient, dat
|
|
|
920
921
|
const companyDatasetResult = await handleCompanyDataset(rootLegalEntityId, baseUrl, { id: data.id });
|
|
921
922
|
return {
|
|
922
923
|
...companyDatasetResult,
|
|
923
|
-
registrationNumberMatched: companyDatasetResult.registrationNumber ? data.registrationNumber === companyDatasetResult.registrationNumber : void 0
|
|
924
|
+
registrationNumberMatched: companyDatasetResult.registrationNumber && data.registrationNumber ? data.registrationNumber === companyDatasetResult.registrationNumber : void 0
|
|
924
925
|
};
|
|
925
926
|
}
|
|
926
927
|
}
|
|
@@ -973,7 +974,7 @@ function BusinessInformationCard({ result, isSelected, currentBusinessSelection,
|
|
|
973
974
|
circle: true
|
|
974
975
|
},
|
|
975
976
|
title: result.name,
|
|
976
|
-
description: result.registrationNumber,
|
|
977
|
+
description: result.address?.country !== "DE" && result.registrationNumber ? result.registrationNumber : void 0,
|
|
977
978
|
accessory: fetching && isSelected ? /* @__PURE__ */ jsx(Loader, { size: "medium" }) : null
|
|
978
979
|
}), isSelected && !fetching && !isLegalArrangementError && /* @__PURE__ */ jsx(StackLayout, { children: error ? /* @__PURE__ */ jsx(Alert, {
|
|
979
980
|
variant: "info",
|
|
@@ -3311,28 +3312,64 @@ function LegalArrangementModal({ onCancel }) {
|
|
|
3311
3312
|
});
|
|
3312
3313
|
}
|
|
3313
3314
|
//#endregion
|
|
3315
|
+
//#region src/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.ts
|
|
3316
|
+
/**
|
|
3317
|
+
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
3318
|
+
*
|
|
3319
|
+
* @param organizationType - Organization type value from KYC
|
|
3320
|
+
* @returns CompanyTypesValue
|
|
3321
|
+
*/
|
|
3322
|
+
var mapOrganizationTypeToCompanyType = (organizationType) => {
|
|
3323
|
+
switch (organizationType) {
|
|
3324
|
+
case "BUSINESS": return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3325
|
+
case "NON_PROFIT": return CompanyTypesValues.NON_PROFIT_OR_CHARITABLE;
|
|
3326
|
+
case "PUBLIC_COMPANY":
|
|
3327
|
+
case "LISTED_PUBLIC_COMPANY": return CompanyTypesValues.PUBLIC_COMPANY;
|
|
3328
|
+
case "UNLISTED_PUBLIC_COMPANY": return CompanyTypesValues.UNLISTED_PUBLIC_COMPANY;
|
|
3329
|
+
case "GOVERNMENTAL_ORGANIZATION": return CompanyTypesValues.GOVERNMENTAL_ORGANIZATION;
|
|
3330
|
+
case "SOLE_PROPRIETOR": return CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
3331
|
+
case "PARTNERSHIP_INCORPORATED": return CompanyTypesValues.INCORPORATED_PARTNERSHIP;
|
|
3332
|
+
case "ASSOCIATION_INCORPORATED": return CompanyTypesValues.INCORPORATED_ASSOCIATION;
|
|
3333
|
+
default: return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3334
|
+
}
|
|
3335
|
+
};
|
|
3336
|
+
//#endregion
|
|
3314
3337
|
//#region src/components/Business/modals/RegistrationNumberMismatchModal.tsx
|
|
3315
3338
|
function RegistrationNumberMismatchModal({ companySearchStateModel, registrationNumberMismatchModalOpen, confirmDataSelection }) {
|
|
3316
3339
|
const { t } = useTranslation(["common", "business"]);
|
|
3317
3340
|
const { form } = useFormContext();
|
|
3318
|
-
const
|
|
3319
|
-
const
|
|
3320
|
-
const
|
|
3321
|
-
|
|
3322
|
-
|
|
3341
|
+
const { data } = getFormSlice(form, "basicInformation");
|
|
3342
|
+
const country = data?.country;
|
|
3343
|
+
const providedData = {
|
|
3344
|
+
registrationNumber: data?.registrationNumber,
|
|
3345
|
+
registrationNumberType: data?.registrationNumberType
|
|
3346
|
+
};
|
|
3347
|
+
const detectedData = useComputed(() => {
|
|
3348
|
+
const selectedCompany = companySearchStateModel.selectedCompany.value;
|
|
3349
|
+
const detectedRegistrationNumber = selectedCompany?.registrationNumber;
|
|
3350
|
+
return {
|
|
3351
|
+
registrationNumber: detectedRegistrationNumber,
|
|
3352
|
+
registrationNumberType: detectedRegistrationNumber ? inferCompanyRegistrationNumberType(detectedRegistrationNumber, country, mapOrganizationTypeToCompanyType(selectedCompany?.companyType)) : void 0
|
|
3353
|
+
};
|
|
3354
|
+
});
|
|
3355
|
+
const registrationNumberType = data?.exemptedFromRegistrationNumber ? "exempted" : data?.registrationNumberType;
|
|
3356
|
+
const { label: registrationNumberLabel } = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
3323
3357
|
registrationNumberType: registrationNumberType === "exempted" ? void 0 : registrationNumberType,
|
|
3324
|
-
state:
|
|
3358
|
+
state: data?.stateOrProvince || void 0
|
|
3325
3359
|
}, registrationNumberDefaultFieldMetadata);
|
|
3326
3360
|
return /* @__PURE__ */ jsx(DataConflictsModal, {
|
|
3327
3361
|
providedData,
|
|
3328
|
-
detectedData,
|
|
3362
|
+
detectedData: detectedData.value,
|
|
3329
3363
|
conflictingProperties: ["registrationNumber"],
|
|
3330
3364
|
formatters: {},
|
|
3331
|
-
labels: { registrationNumber: registrationNumberLabel },
|
|
3365
|
+
labels: { registrationNumber: providedData.registrationNumberType === detectedData.value.registrationNumberType ? registrationNumberLabel : "registrationNumber" },
|
|
3332
3366
|
title: t(($) => $["verifyYourBusinesssDetails"], { ns: "business" }),
|
|
3333
3367
|
explanation: t(($) => $["selectTheOptionWithTheMostCorrectDetailsToContinue"], { ns: "business" }),
|
|
3334
3368
|
onCancel: () => registrationNumberMismatchModalOpen.value = false,
|
|
3335
|
-
onContinue: confirmDataSelection
|
|
3369
|
+
onContinue: (resolved) => confirmDataSelection({
|
|
3370
|
+
...resolved,
|
|
3371
|
+
registrationNumberType: resolved.registrationNumber === detectedData.peek().registrationNumber ? detectedData.peek().registrationNumberType : providedData.registrationNumberType
|
|
3372
|
+
}),
|
|
3336
3373
|
listOnly: true
|
|
3337
3374
|
});
|
|
3338
3375
|
}
|
|
@@ -3641,28 +3678,6 @@ var BusinessDetailsGettingStarted = ({ openModal, handleCancelClick, t, data: su
|
|
|
3641
3678
|
});
|
|
3642
3679
|
};
|
|
3643
3680
|
//#endregion
|
|
3644
|
-
//#region src/components/Business/mapping/businessDetails/mapOrganizationTypeToCompanyType.ts
|
|
3645
|
-
/**
|
|
3646
|
-
* This is a mapping from our Adyen internal organization type values in KYC to our SDK and LEM company type values
|
|
3647
|
-
*
|
|
3648
|
-
* @param organizationType - Organization type value from KYC
|
|
3649
|
-
* @returns CompanyTypesValue
|
|
3650
|
-
*/
|
|
3651
|
-
var mapOrganizationTypeToCompanyType = (organizationType) => {
|
|
3652
|
-
switch (organizationType) {
|
|
3653
|
-
case "BUSINESS": return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3654
|
-
case "NON_PROFIT": return CompanyTypesValues.NON_PROFIT_OR_CHARITABLE;
|
|
3655
|
-
case "PUBLIC_COMPANY":
|
|
3656
|
-
case "LISTED_PUBLIC_COMPANY": return CompanyTypesValues.PUBLIC_COMPANY;
|
|
3657
|
-
case "UNLISTED_PUBLIC_COMPANY": return CompanyTypesValues.UNLISTED_PUBLIC_COMPANY;
|
|
3658
|
-
case "GOVERNMENTAL_ORGANIZATION": return CompanyTypesValues.GOVERNMENTAL_ORGANIZATION;
|
|
3659
|
-
case "SOLE_PROPRIETOR": return CompanyTypesValues.SOLE_PROPRIETORSHIP;
|
|
3660
|
-
case "PARTNERSHIP_INCORPORATED": return CompanyTypesValues.INCORPORATED_PARTNERSHIP;
|
|
3661
|
-
case "ASSOCIATION_INCORPORATED": return CompanyTypesValues.INCORPORATED_ASSOCIATION;
|
|
3662
|
-
default: return CompanyTypesValues.PRIVATE_COMPANY;
|
|
3663
|
-
}
|
|
3664
|
-
};
|
|
3665
|
-
//#endregion
|
|
3666
3681
|
//#region src/components/Business/utils/applyVerifiedBusinessData.ts
|
|
3667
3682
|
var applyFinancialInformation = (form, verifiedData) => {
|
|
3668
3683
|
const financialInformation = verifiedData?.financialInformation;
|
|
@@ -3687,10 +3702,13 @@ var applyFinancialInformation = (form, verifiedData) => {
|
|
|
3687
3702
|
}
|
|
3688
3703
|
}
|
|
3689
3704
|
};
|
|
3690
|
-
var applyVerifiedBusinessData = (form, country, verifiedData) => {
|
|
3705
|
+
var applyVerifiedBusinessData = (form, country, verifiedData, resolvedData) => {
|
|
3691
3706
|
if (!verifiedData) return;
|
|
3692
3707
|
form.handleChangeFor("basicInformation", "legalCompanyName")(verifiedData.name);
|
|
3693
|
-
if (country !== CountryCodes.UnitedStates && verifiedData.registrationNumber)
|
|
3708
|
+
if (country !== CountryCodes.UnitedStates && verifiedData.registrationNumber) {
|
|
3709
|
+
form.handleChangeFor("basicInformation", "registrationNumber")(verifiedData.registrationNumber);
|
|
3710
|
+
if (resolvedData?.registrationNumberType) form.handleChangeFor("basicInformation", "registrationNumberType")(resolvedData.registrationNumberType);
|
|
3711
|
+
}
|
|
3694
3712
|
if (form.defaultData?.additionalInformation?.registrationAddress?.street || form.defaultData?.additionalInformation?.operationalAddress?.street) return;
|
|
3695
3713
|
form.handleChangeFor("companyStructure", "entityType")(mapOrganizationTypeToCompanyType(verifiedData.companyType));
|
|
3696
3714
|
const verifiedAddress = {
|
|
@@ -3751,9 +3769,9 @@ var CompanySearchStateModel = createModel((userEvents) => {
|
|
|
3751
3769
|
selectBusinessAnalytics(userEvents, idx);
|
|
3752
3770
|
}
|
|
3753
3771
|
},
|
|
3754
|
-
confirmCompany: (multiform, country) => {
|
|
3772
|
+
confirmCompany: (multiform, country, resolvedData) => {
|
|
3755
3773
|
verifiedBusiness.value = selectedCompany.value;
|
|
3756
|
-
applyVerifiedBusinessData(multiform, country, selectedCompany.value);
|
|
3774
|
+
applyVerifiedBusinessData(multiform, country, selectedCompany.value, resolvedData);
|
|
3757
3775
|
if (selectedCompanyIdx.value > -1) confirmBusinessAnalytics(userEvents, selectedCompanyIdx.value);
|
|
3758
3776
|
}
|
|
3759
3777
|
};
|
|
@@ -4205,8 +4223,8 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
4205
4223
|
for (const form in problems.verificationErrors) for (const verificationError in problems.verificationErrors[form]) allVerificationErrors[verificationError] = problems.verificationErrors[form][verificationError];
|
|
4206
4224
|
const shouldAutoOpenFormForErrors = (Object.keys(allValidationErrors).length > 0 || Object.keys(allVerificationErrors).length > 0) && !hasEnteredFormFlowBefore;
|
|
4207
4225
|
const shouldRenderFormFlow = !isBusinessDetailsModalEnabled || isAddingBusinessDetails || shouldAutoOpenFormForErrors;
|
|
4208
|
-
const confirmDataSelection = (
|
|
4209
|
-
const userProvided =
|
|
4226
|
+
const confirmDataSelection = (resolvedData) => {
|
|
4227
|
+
const userProvided = resolvedData.registrationNumber !== companySearchStateModel.selectedCompany.value?.registrationNumber;
|
|
4210
4228
|
userEvents.addPageEvent("Clicked button", {
|
|
4211
4229
|
actionType: "select",
|
|
4212
4230
|
label: "confirmCompanyConflictResolution",
|
|
@@ -4224,7 +4242,7 @@ function BusinessDetailsDropin({ taskType, country: propCountry, problems: propP
|
|
|
4224
4242
|
clearCompanyData();
|
|
4225
4243
|
handleNextClick(currentForms);
|
|
4226
4244
|
} else {
|
|
4227
|
-
companySearchStateModel.confirmCompany(multiForm, country);
|
|
4245
|
+
companySearchStateModel.confirmCompany(multiForm, country, resolvedData);
|
|
4228
4246
|
registrationNumberMismatchModalOpen.value = false;
|
|
4229
4247
|
handleNextClick(getRequiredForms({
|
|
4230
4248
|
skipCompanyStructure: !!companySearchStateModel.verifiedBusiness.value?.legalForm,
|
|
@@ -4388,7 +4406,7 @@ function VerifiedBusinessCard({ verifiedBusiness, verifiedAddress }) {
|
|
|
4388
4406
|
}
|
|
4389
4407
|
//#endregion
|
|
4390
4408
|
//#region src/components/Business/forms/AdditionalInformation/AdditionalInformation.tsx
|
|
4391
|
-
var LazyJpAddress = lazy(async () => (await import("./JpAddress-
|
|
4409
|
+
var LazyJpAddress = lazy(async () => (await import("./JpAddress-CoupMKM0.js")).JpAddress);
|
|
4392
4410
|
var ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
4393
4411
|
var ADDITIONAL_INFORMATION_FIELDS = [
|
|
4394
4412
|
...DBA_NAME_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] = "fbe6879a-aef0-4eb0-bad9-86510a31cabe", e._sentryDebugIdIdentifier = "sentry-dbid-fbe6879a-aef0-4eb0-bad9-86510a31cabe");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
6
6
|
import { useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/businessLines/useBusinessLines.ts
|
|
8
8
|
var getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
@@ -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] = "5a568aa3-0f85-441f-8a06-165333eac2d5", e._sentryDebugIdIdentifier = "sentry-dbid-5a568aa3-0f85-441f-8a06-165333eac2d5");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-
|
|
5
|
+
import { _ as isPartOfTrustFromLegalEntity } from "./resolveEnvironment-eLCNmAkD.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-C-wflW8q.js";
|
|
@@ -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] = "bb9d5a7a-fb42-4386-9bbc-99fa06127433", e._sentryDebugIdIdentifier = "sentry-dbid-bb9d5a7a-fb42-4386-9bbc-99fa06127433");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as httpPost, s as useApiContext } from "./http-
|
|
5
|
+
import { r as httpPost, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
6
6
|
import { useMutation } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/createLegalEntity/useCreateLegalEntity.ts
|
|
8
8
|
var createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
package/dist/{useDataMissingRemediations-BZwtMi3U.js → useDataMissingRemediations-MNtvN32n.js}
RENAMED
|
@@ -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] = "0e08a2d6-3469-4a22-a5b2-81f030dfcd29", e._sentryDebugIdIdentifier = "sentry-dbid-0e08a2d6-3469-4a22-a5b2-81f030dfcd29");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { r as useTranslation } from "./translation-
|
|
5
|
+
import { r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
6
|
import { C as EntityTypes, T as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING } from "./processCapabilities-BeE0xWUp.js";
|
|
7
7
|
import { t as TaskTypes } from "./taskTypes-NawDTp5n.js";
|
|
8
8
|
import { useMemo } from "preact/hooks";
|
|
@@ -2,8 +2,8 @@ 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] = "4995c2a1-d968-472d-a832-542999fb395d", e._sentryDebugIdIdentifier = "sentry-dbid-4995c2a1-d968-472d-a832-542999fb395d");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-eLCNmAkD.js";
|
|
7
7
|
import { r as doArraysMatch } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer, useState } from "preact/hooks";
|
|
@@ -2,16 +2,16 @@ 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] = "6ecee0a4-fc45-4185-8f1c-39522262cfcd", e._sentryDebugIdIdentifier = "sentry-dbid-6ecee0a4-fc45-4185-8f1c-39522262cfcd");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger, r as useTranslation } from "./translation-
|
|
6
|
-
import { t as Button } from "./Button-
|
|
7
|
-
import { i as useAnalyticsContext } from "./Modal-
|
|
8
|
-
import { r as LoaderWrapper } from "./utils-
|
|
9
|
-
import { t as Confirm } from "./Confirm-
|
|
5
|
+
import { o as createLogger, r as useTranslation } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { t as Button } from "./Button-i8I2dHP8.js";
|
|
7
|
+
import { i as useAnalyticsContext } from "./Modal-ByJare7m.js";
|
|
8
|
+
import { r as LoaderWrapper } from "./utils-C1buyvRw.js";
|
|
9
|
+
import { t as Confirm } from "./Confirm-DcqMV7rd.js";
|
|
10
10
|
import { t as formDebugInfo } from "./debugStore-Dwn1FXrh.js";
|
|
11
|
-
import { r as FormRouterContext } from "./ErrorPanel-
|
|
11
|
+
import { r as FormRouterContext } from "./ErrorPanel-WxNhR0d1.js";
|
|
12
12
|
import { t as trackNavigation } from "./trackNavigation-DR70qR8T.js";
|
|
13
|
-
import { n as summaryStep, t as Summary } from "./Summary-
|
|
14
|
-
import { t as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { n as summaryStep, t as Summary } from "./Summary-mNbdzw-P.js";
|
|
14
|
+
import { t as MaybeModal } from "./MaybeModal-CSdyWPpb.js";
|
|
15
15
|
import { t as ProgressBar } from "./ProgressBar-DWFxLMUA.js";
|
|
16
16
|
import { useCallback, useContext, useMemo, useRef, useState } from "preact/hooks";
|
|
17
17
|
import cx from "classnames";
|
|
@@ -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] = "24352a4c-5035-435a-a2fd-a591890694f8", e._sentryDebugIdIdentifier = "sentry-dbid-24352a4c-5035-435a-a2fd-a591890694f8");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { n as httpGet, s as useApiContext } from "./http-
|
|
5
|
+
import { n as httpGet, s as useApiContext } from "./http-8qgzqVqk.js";
|
|
6
6
|
import { skipToken, useQueries, useQuery } from "@tanstack/preact-query";
|
|
7
7
|
//#region src/api/legalEntity/useLegalEntity.ts
|
|
8
8
|
var ROOT_LE = Symbol("ROOT_LE");
|
|
@@ -2,8 +2,8 @@ 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] = "95b27371-73cf-4c35-b87c-c6513b343957", e._sentryDebugIdIdentifier = "sentry-dbid-95b27371-73cf-4c35-b87c-c6513b343957");
|
|
4
4
|
} catch (e) {}
|
|
5
|
-
import { o as createLogger } from "./translation-
|
|
6
|
-
import { nt as isEmpty } from "./resolveEnvironment-
|
|
5
|
+
import { o as createLogger } from "./translation-BYvhW5zA.js";
|
|
6
|
+
import { nt as isEmpty } from "./resolveEnvironment-eLCNmAkD.js";
|
|
7
7
|
import { o as objectsDeepEqual } from "./AnalyticsContext-BnRQ9H1u.js";
|
|
8
8
|
import { i as omitKeys, n as addKeys, t as ValidationResult } from "./validationResult-Dzvfkukj.js";
|
|
9
9
|
import { useCallback, useEffect, useMemo, useReducer } from "preact/hooks";
|