@adyen/kyc-components 4.13.0-beta.5 → 4.13.0-beta.6
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-Bdb6OG0V.js → AcceptTermsOfServiceComponent-CV0tEsZ8.js} +1 -1
- package/dist/{AdaptiveWorkflow-D7JhKxhG.js → AdaptiveWorkflow-BRSkDC27.js} +6 -6
- package/dist/{AdaptiveWorkflowComponent-Dy_7JhR9.js → AdaptiveWorkflowComponent-436q2Z3Q.js} +2 -2
- package/dist/{BusinessFinancingDropin-Bxqli70j.js → BusinessFinancingDropin-DrABikQM.js} +1 -1
- package/dist/{BusinessFinancingPage-DlDZmgJ8.js → BusinessFinancingPage-CSwjPgIJ.js} +2 -2
- package/dist/{CompanyRegistrationNumberTypeSelector-BnoX2hCa.js → CompanyRegistrationNumberTypeSelector-DiImGTFe.js} +50 -14
- package/dist/{ConstitutionalDocument-B5MVwJbp.js → ConstitutionalDocument-CdpVRf0I.js} +12 -8
- package/dist/{CustomerSupport-twU8Nkth.js → CustomerSupport-BXin9crY.js} +1 -1
- package/dist/{DebugModal-Ch9kv4ct.js → DebugModal-DjXxE-RN.js} +2 -2
- package/dist/{DecisionMakerDetailsPage-Cs3u-lSX.js → DecisionMakerDetailsPage-BaOxC2U6.js} +1 -1
- package/dist/{IndividualDropin-B_zrYjEk.js → IndividualDropin-BVMDPYDe.js} +4 -4
- package/dist/{InvitedDecisionMakerComponent-Bgk8Zwz2.js → InvitedDecisionMakerComponent-B40Lk4i7.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-BG4hmk6W.js → LegalRepresentativeDetailsPage-Csvg_gjL.js} +1 -1
- package/dist/{PayoutDetailsDropinMultiForm-CFXh9XH3.js → PayoutDetailsDropinMultiForm-CiTh764I.js} +1 -1
- package/dist/{PayoutDetailsPage-OmPUEUus.js → PayoutDetailsPage-CLt8LJCi.js} +2 -2
- package/dist/{RootBusinessDetailsPage-wB4sdeGV.js → RootBusinessDetailsPage-z94WN2fb.js} +1 -1
- package/dist/{RootBusinessLinesPage-B-zkaI6w.js → RootBusinessLinesPage-B1SNv9er.js} +2 -2
- package/dist/{RootIndividualDetailsPage-DMBaBPnM.js → RootIndividualDetailsPage-DE704wL6.js} +1 -1
- package/dist/{SignPCIComponent-CPjxKwUt.js → SignPCIComponent-BPSj_yuH.js} +1 -1
- package/dist/{SoleProprietorshipPage-C_cNHIqc.js → SoleProprietorshipPage-C2gjJZcb.js} +1 -1
- package/dist/{SourceOfFundsPage-_sMwhidd.js → SourceOfFundsPage-DItR3-Hp.js} +1 -1
- package/dist/{TaxInformationField-hjyqzys0.js → TaxInformationField-DlmOFIDl.js} +2 -2
- package/dist/{TaxReportingDropin-Xjf5BXjR.js → TaxReportingDropin-LOUIhV-w.js} +1 -1
- package/dist/{TrustDetailsPage-DDxllsNB.js → TrustDetailsPage-B9sH2X7l.js} +6 -8
- package/dist/{TrustMemberCompanyPage-DlMQRx0x.js → TrustMemberCompanyPage-BnY9tVG7.js} +1 -1
- package/dist/{TrustMemberIndividualPage-CfjzTBeq.js → TrustMemberIndividualPage-B4Iqm4MI.js} +1 -1
- package/dist/{UnincorporatedPartnershipIndividualPage-BSdaNrYj.js → UnincorporatedPartnershipIndividualPage-CUrCUB2E.js} +1 -1
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-UiOIbfiu.js → UnincorporatedPartnershipMemberCompanyPage-Uzsm5Zo2.js} +1 -1
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-onboarding.js +22 -22
- 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 +3 -3
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +1 -1
- package/dist/en-US-BqoUncE4.js +7 -0
- package/dist/{resolveEnvironment-BdN6H_Jf.js → resolveEnvironment-BI384OW7.js} +6 -6
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.constants.d.ts +23 -0
- package/dist/types/components/Business/utils/getAvailableCompanyStructures.d.ts +2 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{useBusinessDetailsData-DPNww87e.js → useBusinessDetailsData-Dw8VtZkI.js} +44 -26
- package/dist/{useMultiForm-BZBzYZ-3.js → useMultiForm-DOQ6_HoL.js} +65 -3
- package/dist/{useNavigate-BPyk1Kmt.js → useNavigate-zhguGWRa.js} +20 -20
- package/dist/{utils-DQEnWBYq.js → utils-Cd8I9QM7.js} +48 -23
- package/package.json +1 -1
- package/dist/en-US-Cq6Cl6Yl.js +0 -7
package/dist/{AcceptTermsOfServiceComponent-Bdb6OG0V.js → AcceptTermsOfServiceComponent-CV0tEsZ8.js}
RENAMED
|
@@ -509,7 +509,7 @@ function AcceptTermsOfServiceComponent({ legalEntityId, modalView = false, asEmb
|
|
|
509
509
|
"../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
|
|
510
510
|
"../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
|
|
511
511
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
|
|
512
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
512
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
|
|
513
513
|
"../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
|
|
514
514
|
"../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
|
|
515
515
|
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
|
|
@@ -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] = "f93820a5-6786-4999-9fa7-8df3a9b3ef88", e._sentryDebugIdIdentifier = "sentry-dbid-f93820a5-6786-4999-9fa7-8df3a9b3ef88");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -24,20 +24,20 @@ import { a as FormFlow_module_default } from "./useFormContext-DGW15-id.js";
|
|
|
24
24
|
import { t as List } from "./List-DLrcpMVd.js";
|
|
25
25
|
import { t as MaskedInput } from "./MaskedInput-WaAdSNPN.js";
|
|
26
26
|
import { t as ProgressBar } from "./ProgressBar-DrvdkkV2.js";
|
|
27
|
-
import {
|
|
27
|
+
import { C as taxInformationDefaultFieldConfig, _ as getTaxIdNumberOptions, a as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, g as getDefaultTaxIdNumberType, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, w as taxInformationDefaultFieldMetadata } from "./utils-Cd8I9QM7.js";
|
|
28
28
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
29
29
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
30
30
|
import { t as Select } from "./Select-CRVpXZ1k.js";
|
|
31
31
|
import { t as Checkbox } from "./Checkbox-BRuXJ18x.js";
|
|
32
32
|
import { t as InputText } from "./InputText-BK_8YUd_.js";
|
|
33
|
-
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-
|
|
33
|
+
import { t as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-CV0tEsZ8.js";
|
|
34
34
|
import { t as Divider } from "./Divider-BndbWx4f.js";
|
|
35
35
|
import { t as ListItem } from "./ListItem-BzSnYlO1.js";
|
|
36
36
|
import { t as DecisionMakers } from "./DecisionMakers-Bm-L-q92.js";
|
|
37
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
37
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
|
|
38
38
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-CaT_-l9v.js";
|
|
39
|
-
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-
|
|
40
|
-
import { t as TaxReportingDropin } from "./TaxReportingDropin-
|
|
39
|
+
import { t as SourceOfFundsPage } from "./SourceOfFundsPage-DItR3-Hp.js";
|
|
40
|
+
import { t as TaxReportingDropin } from "./TaxReportingDropin-LOUIhV-w.js";
|
|
41
41
|
import { useCallback, useContext, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
42
42
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
43
43
|
import { useComputed } from "@preact/signals";
|
package/dist/{AdaptiveWorkflowComponent-Dy_7JhR9.js → AdaptiveWorkflowComponent-436q2Z3Q.js}
RENAMED
|
@@ -5,7 +5,7 @@ try {
|
|
|
5
5
|
import { n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
7
7
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
8
|
-
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-
|
|
8
|
+
import { AdaptiveWorkflow, n as useAdaptiveWorkflow, t as WorkflowContext } from "./AdaptiveWorkflow-BRSkDC27.js";
|
|
9
9
|
import { useMemo } from "preact/hooks";
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
@@ -66,7 +66,7 @@ var AdaptiveWorkflowComponent = ({ onBack }) => {
|
|
|
66
66
|
"../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
|
|
67
67
|
"../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
|
|
68
68
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
|
|
69
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
69
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
|
|
70
70
|
"../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
|
|
71
71
|
"../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
|
|
72
72
|
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
|
|
@@ -26,7 +26,7 @@ import { t as Address } from "./Address-B1WQZxTA.js";
|
|
|
26
26
|
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-DGW15-id.js";
|
|
27
27
|
import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
28
28
|
import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
29
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
29
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
30
30
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
31
31
|
import { c as COUNTRIES_WITH_STATES_DATASET, n as getAddressSchemaLabelsByCountry, t as getAddressSchemaForCountry } from "./utils-C1DzW0Hz.js";
|
|
32
32
|
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-CD5jY1NM.js";
|
|
@@ -7,7 +7,7 @@ import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
|
7
7
|
import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js";
|
|
8
8
|
import { t as getLegalEntityCountry } from "./getLegalEntityCountry-C6bSV6sB.js";
|
|
9
9
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
10
|
-
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-
|
|
10
|
+
import { t as BusinessFinancingDropin } from "./BusinessFinancingDropin-DrABikQM.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
//#region src/components/EFP/pages/BusinessFinancingPage.tsx
|
|
13
13
|
var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -52,7 +52,7 @@ var BusinessFinancingPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
52
52
|
"../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
|
|
53
53
|
"../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
|
|
54
54
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
|
|
55
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
55
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
|
|
56
56
|
"../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
|
|
57
57
|
"../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
|
|
58
58
|
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
|
|
@@ -1,13 +1,13 @@
|
|
|
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] = "15e2ae07-2b51-4a9e-8980-0857c65a0b91", e._sentryDebugIdIdentifier = "sentry-dbid-15e2ae07-2b51-4a9e-8980-0857c65a0b91");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { t as CountryCodes } from "./country-code-BjUoKbAN.js";
|
|
7
7
|
import { t as CompanyTypesValues } from "./company-types-value-BYTAKfjo.js";
|
|
8
8
|
import { l as numericInputs, s as makeMask, u as spacer } from "./MaskedInput-WaAdSNPN.js";
|
|
9
9
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
10
|
-
import {
|
|
10
|
+
import { D as stateFormatGuidanceText, E as businessRegistrationNumberMasks, T as businessRegistrationNumberPatterns } from "./utils-Cd8I9QM7.js";
|
|
11
11
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
12
12
|
import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
|
|
13
13
|
import { useCallback, useEffect, useMemo } from "preact/hooks";
|
|
@@ -737,19 +737,55 @@ var registrationNumberDefaultFieldConfig = {
|
|
|
737
737
|
guidanceText: state ? stateFormatGuidanceText[state] : stateFormatGuidanceText.default
|
|
738
738
|
})
|
|
739
739
|
};
|
|
740
|
-
var exemptFromRegistrationNumberDefaultFieldMetadata = {
|
|
740
|
+
var exemptFromRegistrationNumberDefaultFieldMetadata = {
|
|
741
|
+
label: "iDontHaveARegistrationNumber",
|
|
742
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
743
|
+
};
|
|
741
744
|
var exemptFromRegistrationNumberDefaultFieldConfig = {
|
|
742
|
-
[CountryCodes.Australia]: {
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
[CountryCodes.
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
[CountryCodes.
|
|
751
|
-
|
|
752
|
-
|
|
745
|
+
[CountryCodes.Australia]: {
|
|
746
|
+
label: "thisBusinessIsntRequiredToHaveAnACN",
|
|
747
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
748
|
+
},
|
|
749
|
+
[CountryCodes.Austria]: {
|
|
750
|
+
label: "thisBusinessIsntRequiredToHaveAFirmenbuchnummer",
|
|
751
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
752
|
+
},
|
|
753
|
+
[CountryCodes.Finland]: {
|
|
754
|
+
label: "thisBusinessIsntRequiredToHaveAYTunnus",
|
|
755
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
756
|
+
},
|
|
757
|
+
[CountryCodes.HongKong]: {
|
|
758
|
+
label: "iDoNotHaveCompanyRegistrationNumber",
|
|
759
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
760
|
+
},
|
|
761
|
+
[CountryCodes.Germany]: {
|
|
762
|
+
label: "thisBusinessIsntRequiredToHaveAHandelsregisternummerOrVereinsregisternummer",
|
|
763
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
764
|
+
},
|
|
765
|
+
[CountryCodes.Lithuania]: {
|
|
766
|
+
label: "thisBusinessIsntRequiredToHaveALtRegistrationNumber",
|
|
767
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
768
|
+
},
|
|
769
|
+
[CountryCodes.Luxembourg]: {
|
|
770
|
+
label: "thisBusinessIsntRequiredToHaveALuRegistrationNumber",
|
|
771
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
772
|
+
},
|
|
773
|
+
[CountryCodes.Poland]: {
|
|
774
|
+
label: "thisBusinessIsntRequiredToHaveARegonKrsNumber",
|
|
775
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
776
|
+
},
|
|
777
|
+
[CountryCodes.PuertoRico]: {
|
|
778
|
+
label: "thisBusinessIsntRequiredToHaveAnEIN",
|
|
779
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
780
|
+
},
|
|
781
|
+
[CountryCodes.Sweden]: {
|
|
782
|
+
label: "thisBusinessIsntRequiredToHaveAnOrganisationsnummer",
|
|
783
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
784
|
+
},
|
|
785
|
+
[CountryCodes.Switzerland]: {
|
|
786
|
+
label: "thisBusinessIsntRequiredToHaveAChRegistrationNumber",
|
|
787
|
+
guidanceText: "thisOnlyAppliesToSomeBusinessStructures"
|
|
788
|
+
}
|
|
753
789
|
};
|
|
754
790
|
/**
|
|
755
791
|
* Returns the helper text for the business registration number field.
|
|
@@ -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] = "1ffd3be5-7f4a-4afd-b006-716cb9be23b5", e._sentryDebugIdIdentifier = "sentry-dbid-1ffd3be5-7f4a-4afd-b006-716cb9be23b5");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { t as LegalEntityTypes } from "./legal-entity-type-VIfNYnJP.js";
|
|
@@ -13,7 +13,7 @@ import "./Address-B1WQZxTA.js";
|
|
|
13
13
|
import "./ErrorPanel-CzX5ev6p.js";
|
|
14
14
|
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
|
|
15
15
|
import "./validate-J6U_ulFs.js";
|
|
16
|
-
import { r as MemoizedDocumentUpload } from "./TaxInformationField-
|
|
16
|
+
import { r as MemoizedDocumentUpload } from "./TaxInformationField-DlmOFIDl.js";
|
|
17
17
|
import { t as uppercase } from "./uppercase-DKruhEuk.js";
|
|
18
18
|
import { a as validateNotEmptyOnBlur, o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
@@ -23,7 +23,7 @@ import "./useForm-CbSEaCrl.js";
|
|
|
23
23
|
import { t as InputText } from "./InputText-BK_8YUd_.js";
|
|
24
24
|
import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
|
|
25
25
|
import "./ContextGuidance-BRGAWzeW.js";
|
|
26
|
-
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
26
|
+
import { i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, s as exemptFromRegistrationNumberDefaultFieldMetadata, t as CompanyRegistrationNumberTypeSelector, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
|
|
27
27
|
import { memo } from "preact/compat";
|
|
28
28
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1 } from "preact/hooks";
|
|
29
29
|
import { Fragment as Fragment$1, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -34,16 +34,19 @@ var BUSINESS_REGISTRATION_NUMBER_FIELD = [
|
|
|
34
34
|
"registrationNumberType",
|
|
35
35
|
"exemptedFromRegistrationNumber"
|
|
36
36
|
];
|
|
37
|
-
function BusinessRegistrationNumberField({ data, valid, errors,
|
|
37
|
+
function BusinessRegistrationNumberField({ data, valid, errors, helperText, readonly, shouldValidate, optional, handleChangeFor, country, state, canExempt, companyType, invertCompanyTypeFilter }) {
|
|
38
38
|
const { t } = useTranslation("common");
|
|
39
|
+
const { isFeatureEnabled } = useToggleContext();
|
|
39
40
|
const registrationNumberOptions = getCompanyRegistrationNumberOptions(country, companyType, invertCompanyTypeFilter);
|
|
40
41
|
const defaultType = getDefaultRegistrationNumberType(data.registrationNumber, country, companyType, invertCompanyTypeFilter);
|
|
41
42
|
const showExemptedOption = canExempt && !!registrationNumberOptions && registrationNumberOptions.length > 1;
|
|
43
|
+
const showExemptionGuidance = isFeatureEnabled("EnableUnifiedCompanySearch") && companyType !== "trust" && companyType !== "soleProprietorship" && !!data.exemptedFromRegistrationNumber;
|
|
42
44
|
const registrationNumberType = data.exemptedFromRegistrationNumber ? "exempted" : data.registrationNumberType ? data.registrationNumberType : defaultType;
|
|
43
45
|
const fieldMetadata = resolveFieldMetadata(registrationNumberDefaultFieldConfig[country], {
|
|
44
46
|
registrationNumberType: registrationNumberType === "exempted" ? void 0 : registrationNumberType,
|
|
45
47
|
state
|
|
46
48
|
}, registrationNumberDefaultFieldMetadata);
|
|
49
|
+
const exemptionFieldMetadata = resolveFieldMetadata(exemptFromRegistrationNumberDefaultFieldConfig[country], {}, exemptFromRegistrationNumberDefaultFieldMetadata);
|
|
47
50
|
const handleRegistrationNumberChange = (e, mode) => {
|
|
48
51
|
const value = typeof e === "string" ? e : e.currentTarget.value;
|
|
49
52
|
handleChangeFor("registrationNumber", mode)(value);
|
|
@@ -75,7 +78,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
|
|
|
75
78
|
invertCompanyTypeFilter,
|
|
76
79
|
setSelected: handleCompanyRegistrationNumberTypeChange,
|
|
77
80
|
selected: registrationNumberType,
|
|
78
|
-
exemptedOptionLabel: showExemptedOption ?
|
|
81
|
+
exemptedOptionLabel: showExemptedOption ? translateTranslatable(t, exemptionFieldMetadata.label) : void 0
|
|
79
82
|
}),
|
|
80
83
|
/* @__PURE__ */ jsx(MaskedInput, {
|
|
81
84
|
"aria-required": true,
|
|
@@ -83,7 +86,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
|
|
|
83
86
|
name: "registrationNumber",
|
|
84
87
|
type: "text",
|
|
85
88
|
value: data?.registrationNumber ?? "",
|
|
86
|
-
label:
|
|
89
|
+
label: translateTranslatable(t, fieldMetadata.label) ?? "",
|
|
87
90
|
formatGuidance: translateTranslatable(t, fieldMetadata.guidanceText),
|
|
88
91
|
errorMessage: errors.registrationNumber,
|
|
89
92
|
isValid: Boolean(valid.registrationNumber),
|
|
@@ -94,10 +97,11 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
|
|
|
94
97
|
readonly,
|
|
95
98
|
shouldValidate: !optional && shouldValidate,
|
|
96
99
|
helper: helperText,
|
|
97
|
-
...mask
|
|
100
|
+
...fieldMetadata.mask
|
|
98
101
|
}),
|
|
99
102
|
canExempt && !showExemptedOption && /* @__PURE__ */ jsx(Field, {
|
|
100
103
|
name: "exemptedFromRegistrationNumber",
|
|
104
|
+
formatGuidance: showExemptionGuidance ? translateTranslatable(t, exemptionFieldMetadata.guidanceText) : void 0,
|
|
101
105
|
children: (childProps) => /* @__PURE__ */ jsx(Checkbox, {
|
|
102
106
|
...childProps,
|
|
103
107
|
"aria-required": false,
|
|
@@ -105,7 +109,7 @@ function BusinessRegistrationNumberField({ data, valid, errors, labels, mask, he
|
|
|
105
109
|
name: "exemptedFromRegistrationNumber",
|
|
106
110
|
value: "exemptedFromRegistrationNumber",
|
|
107
111
|
checked: Boolean(data.exemptedFromRegistrationNumber),
|
|
108
|
-
label:
|
|
112
|
+
label: translateTranslatable(t, exemptionFieldMetadata.label),
|
|
109
113
|
readonly,
|
|
110
114
|
onChange: handleExemptedFromRegistrationNumber
|
|
111
115
|
})
|
|
@@ -14,7 +14,7 @@ import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfJs-A1X.js";
|
|
|
14
14
|
import { a as contactDetailsValidationRules, c as getAsyncPhoneValidationRules, o as defaultFieldMetadata, s as fieldConfig, t as ContactDetails, u as useValidatePhoneNumberImperatively } from "./ContactDetails-63BkotMl.js";
|
|
15
15
|
import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
16
16
|
import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
17
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
17
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
18
18
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
20
20
|
import { t as Spacer } from "./Spacer-D1yp_1Io.js";
|
|
@@ -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] = "5e0421d8-7c4e-447b-a97c-ff6f15e5205b", e._sentryDebugIdIdentifier = "sentry-dbid-5e0421d8-7c4e-447b-a97c-ff6f15e5205b");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, o as createLogger, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -349,7 +349,7 @@ var DebugModal = ({ onExit }) => {
|
|
|
349
349
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
350
350
|
const formDebugAvailable = Object.keys(formDebugInfo.value).length > 0;
|
|
351
351
|
const metadata = {
|
|
352
|
-
sdkVersion: "4.13.0-beta.
|
|
352
|
+
sdkVersion: "4.13.0-beta.6",
|
|
353
353
|
locale: i18n.language,
|
|
354
354
|
rootLegalEntityId: rootLegalEntity.id
|
|
355
355
|
};
|
|
@@ -15,7 +15,7 @@ import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProb
|
|
|
15
15
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
|
|
16
16
|
import { n as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-DJ5gJYKz.js";
|
|
17
17
|
import { t as useScenarios } from "./useScenarios-D2TFpeEU.js";
|
|
18
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
19
19
|
import { t as getTrustedDecisionMakers } from "./getTrustedDecisionMakers-D2yayvPr.js";
|
|
20
20
|
import { jsx } from "preact/jsx-runtime";
|
|
21
21
|
import { skipToken } from "@tanstack/preact-query";
|
|
@@ -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] = "084f41fc-dcf5-4b7d-9d4d-34641418b024", e._sentryDebugIdIdentifier = "sentry-dbid-084f41fc-dcf5-4b7d-9d4d-34641418b024");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, o as createLogger, r as useTranslation, t as Trans } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { n as IconButton, r as Loader, t as Button } from "./Button-BxfzWsRl.js";
|
|
@@ -49,7 +49,7 @@ import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurati
|
|
|
49
49
|
import { n as useFormRouterContext, t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
50
50
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
51
51
|
import { n as preTranslatedSummaryItem } from "./summaryItem-Dehjwp8D.js";
|
|
52
|
-
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-
|
|
52
|
+
import { r as isTruthyValidator, t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
53
53
|
import { i as useScenarioConfiguration, n as getPage, r as getPageName, s as AdyenKycSdkError, t as mapExistingFile } from "./mapExistingFile-AUOevYJs.js";
|
|
54
54
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
55
55
|
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, n as InputEmail, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
|
|
@@ -60,13 +60,13 @@ import { i as isValidationError, o as processValidationErrors, s as isMaintenanc
|
|
|
60
60
|
import { c as getDocument, d as getIdDocument, f as mergeAttachments, o as createDocumentRequest, s as documentApiUtils, u as getFileExtention } from "./validate-J6U_ulFs.js";
|
|
61
61
|
import { t as getLocalizedIdDocumentTypeOptions } from "./utils-Bx8jBrij.js";
|
|
62
62
|
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
63
|
-
import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-
|
|
63
|
+
import { a as getFieldsWithExistingData, i as DocumentGuidance, n as TaxInformationField, r as MemoizedDocumentUpload } from "./TaxInformationField-DlmOFIDl.js";
|
|
64
64
|
import { t as isJapanLocalizationEnabled } from "./japanSupportUtils-DqvGrGbm.js";
|
|
65
65
|
import { t as localizeDateString } from "./localizeDateString-Bni_Kn5k.js";
|
|
66
66
|
import { t as omitObscuredFieldsIfUnchanged } from "./omitObscuredFieldsIfUnchanged-Bl-KmvQB.js";
|
|
67
67
|
import { t as uppercase } from "./uppercase-DKruhEuk.js";
|
|
68
68
|
import { o as validatePatternOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
69
|
-
import {
|
|
69
|
+
import { C as taxInformationDefaultFieldConfig, g as getDefaultTaxIdNumberType, w as taxInformationDefaultFieldMetadata, y as taxIdNumberOptions } from "./utils-Cd8I9QM7.js";
|
|
70
70
|
import { r as addressValidators } from "./validate-CaRbtwlX.js";
|
|
71
71
|
import { n as emailPattern } from "./basePatterns-B0FC-Crd.js";
|
|
72
72
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
package/dist/{InvitedDecisionMakerComponent-Bgk8Zwz2.js → InvitedDecisionMakerComponent-B40Lk4i7.js}
RENAMED
|
@@ -16,7 +16,7 @@ import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
|
16
16
|
import { t as useAnalyticsContext } from "./useAnalyticsContext-pNSIB8AZ.js";
|
|
17
17
|
import { t as Image } from "./Image-BBLBIviv.js";
|
|
18
18
|
import { t as getIndividualLegalEntityName } from "./getName-BtgdCWSR.js";
|
|
19
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
19
|
+
import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
20
20
|
import { t as List } from "./List-DLrcpMVd.js";
|
|
21
21
|
import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
|
|
22
22
|
import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
|
|
@@ -277,7 +277,7 @@ function InvitedDecisionMakerComponent({ invitedIndividualId }) {
|
|
|
277
277
|
"../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
|
|
278
278
|
"../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
|
|
279
279
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
|
|
280
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
280
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
|
|
281
281
|
"../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
|
|
282
282
|
"../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
|
|
283
283
|
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
//#region src/components/Individual/pages/LegalRepresentativeDetailsPage.tsx
|
package/dist/{PayoutDetailsDropinMultiForm-CFXh9XH3.js → PayoutDetailsDropinMultiForm-CiTh764I.js}
RENAMED
|
@@ -41,7 +41,7 @@ import { t as trackNavigation } from "./trackNavigation-LvCP5Vyc.js";
|
|
|
41
41
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
42
42
|
import { n as summaryStep } from "./Summary-DESUnetK.js";
|
|
43
43
|
import { r as summaryItem } from "./summaryItem-Dehjwp8D.js";
|
|
44
|
-
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-
|
|
44
|
+
import { n as isNotEmptyValidator, t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
45
45
|
import { a as useUnifyLoadingStatus, i as useScenarioConfiguration, o as payoutAccountFormat, r as getPageName, t as mapExistingFile } from "./mapExistingFile-AUOevYJs.js";
|
|
46
46
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
47
47
|
import { a as alphanumericInputs, c as nonInputs, i as alphaInputs, l as numericInputs, o as customInputs, s as makeMask, t as MaskedInput, u as spacer } from "./MaskedInput-WaAdSNPN.js";
|
|
@@ -8,8 +8,8 @@ import { r as useLegalEntity, t as ROOT_LE } from "./useLegalEntity-k2lxoMzW.js"
|
|
|
8
8
|
import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynamic_import_helper-C4ugHLZT.js";
|
|
9
9
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
10
10
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
11
|
-
import { t as useNavigate } from "./useNavigate-
|
|
12
|
-
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-
|
|
11
|
+
import { t as useNavigate } from "./useNavigate-zhguGWRa.js";
|
|
12
|
+
import { t as PayoutDetailsDropinMultiForm } from "./PayoutDetailsDropinMultiForm-CiTh764I.js";
|
|
13
13
|
import { jsx } from "preact/jsx-runtime";
|
|
14
14
|
import { useParams } from "wouter-preact";
|
|
15
15
|
//#region src/components/BankAccount/pages/PayoutDetailsPage.tsx
|
|
@@ -11,7 +11,7 @@ import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
13
13
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DwS9T-_E.js";
|
|
14
|
-
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
14
|
+
import { n as getForms, r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Dw8VtZkI.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
//#region src/components/Business/pages/RootBusinessDetailsPage.tsx
|
|
17
17
|
var RootBusinessDetailsPage = ({ onSubmit, handleHomeClick }) => {
|
|
@@ -32,7 +32,7 @@ import { t as List } from "./List-DLrcpMVd.js";
|
|
|
32
32
|
import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
|
|
33
33
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
34
34
|
import { n as summaryStep } from "./Summary-DESUnetK.js";
|
|
35
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
35
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
36
36
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
37
37
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
38
38
|
import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
|
|
@@ -47,7 +47,7 @@ import { t as useTaskStatus } from "./useTaskStatus-DPyTD_Ko.js";
|
|
|
47
47
|
import { t as ListItem } from "./ListItem-BzSnYlO1.js";
|
|
48
48
|
import { n as useCreateBusinessLine, r as useIndustryCodes, t as useUpdateBusinessLine } from "./useUpdateBusinessLines-CaT_-l9v.js";
|
|
49
49
|
import { a as businessLineTypes, c as salesChannelsWithWebData, d as shouldSignNewPci, f as industryCodeFieldMetadata, i as WEB_DATA_FIELD, l as IndustryCodeField, n as SALES_CHANNELS_FIELD, o as businessLinesConfigurations, r as SCTA_FIELD, s as businessLinesForms, t as INDUSTRY_CODE_FIELD, u as selectedBusinessLine } from "./constants-Cuqk72uG.js";
|
|
50
|
-
import { t as SignPCIComponent } from "./SignPCIComponent-
|
|
50
|
+
import { t as SignPCIComponent } from "./SignPCIComponent-BPSj_yuH.js";
|
|
51
51
|
import { lazy } from "preact/compat";
|
|
52
52
|
import { useCallback as useCallback$1, useEffect as useEffect$1, useMemo as useMemo$1, useRef as useRef$1, useState as useState$1 } from "preact/hooks";
|
|
53
53
|
import cx from "classnames";
|
package/dist/{RootIndividualDetailsPage-DMBaBPnM.js → RootIndividualDetailsPage-DE704wL6.js}
RENAMED
|
@@ -15,7 +15,7 @@ import { o as isPartOfTrustFromLegalEntity } from "./trustUtil-BBkbuta4.js";
|
|
|
15
15
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
16
16
|
import { t as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-DwS9T-_E.js";
|
|
17
17
|
import { n as getTrustedFields, r as getTrustedFieldsProvider } from "./getTrustedFields-BF_CmfLe.js";
|
|
18
|
-
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-
|
|
18
|
+
import { n as individualForms, t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
19
19
|
import { jsx } from "preact/jsx-runtime";
|
|
20
20
|
//#region src/components/Individual/pages/RootIndividualDetailsPage.tsx
|
|
21
21
|
function RootIndividualDetailsPage({ asModal = false, hideSidebar = false, isTargetLegalEntityType = false, onSubmit, handleBackClick, handleCloseClick, handleHomeClick = noop }) {
|
|
@@ -238,7 +238,7 @@ function SignPCIComponent({ modalView = false, onClose, onSigned, onUnmount, sel
|
|
|
238
238
|
"../../../language/locales/de-DE.json": () => import("./de-DE-uuUOPGHs.js"),
|
|
239
239
|
"../../../language/locales/el-GR.json": () => import("./el-GR-D4Pmng8T.js"),
|
|
240
240
|
"../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CbjjdEDm.js"),
|
|
241
|
-
"../../../language/locales/en-US.json": () => import("./en-US-
|
|
241
|
+
"../../../language/locales/en-US.json": () => import("./en-US-BqoUncE4.js"),
|
|
242
242
|
"../../../language/locales/es-ES.json": () => import("./es-ES-BrTDtXtR.js"),
|
|
243
243
|
"../../../language/locales/et-EE.json": () => import("./et-EE-CweZxZJx.js"),
|
|
244
244
|
"../../../language/locales/fi-FI.json": () => import("./fi-FI-BvjOb0Oi.js"),
|
|
@@ -10,7 +10,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
10
10
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
13
|
-
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
13
|
+
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Dw8VtZkI.js";
|
|
14
14
|
import { jsx } from "preact/jsx-runtime";
|
|
15
15
|
import { skipToken } from "@tanstack/preact-query";
|
|
16
16
|
//#region src/components/SoleProprietorship/pages/SoleProprietorshipPage.tsx
|
|
@@ -33,7 +33,7 @@ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getR
|
|
|
33
33
|
import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
|
|
34
34
|
import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
35
35
|
import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
36
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
36
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
37
37
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
38
38
|
import { o as createDocumentRequest, s as documentApiUtils } from "./validate-J6U_ulFs.js";
|
|
39
39
|
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
@@ -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] = "9fc93567-9197-4099-9fde-37f02488de6f", e._sentryDebugIdIdentifier = "sentry-dbid-9fc93567-9197-4099-9fde-37f02488de6f");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { a as Icon, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { t as useAccountHolder } from "./useAccountHolder-aoHH1XJq.js";
|
|
@@ -15,7 +15,7 @@ import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
|
15
15
|
import { t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
16
16
|
import { t as MaskedInput } from "./MaskedInput-WaAdSNPN.js";
|
|
17
17
|
import { a as StateContextSetter } from "./validate-J6U_ulFs.js";
|
|
18
|
-
import {
|
|
18
|
+
import { C as taxInformationDefaultFieldConfig, _ as getTaxIdNumberOptions, a as COUNTRIES_WITH_POSSIBLE_TRUSTEE_TAXID_ABSENT_V4, g as getDefaultTaxIdNumberType, n as upsertTaxInfoForCountry, r as TaxIdNumberTypeSelector, t as removeTaxInfoForCountry, w as taxInformationDefaultFieldMetadata } from "./utils-Cd8I9QM7.js";
|
|
19
19
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
20
20
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
21
21
|
import { t as Select } from "./Select-CRVpXZ1k.js";
|
|
@@ -19,7 +19,7 @@ import { t as Image } from "./Image-BBLBIviv.js";
|
|
|
19
19
|
import { t as useUpdateLegalEntity } from "./useUpdateLegalEntity-CfJs-A1X.js";
|
|
20
20
|
import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getRequiredForms, s as FormContextProvider, t as useFormContext } from "./useFormContext-DGW15-id.js";
|
|
21
21
|
import { t as StructuredList } from "./StructuredList-S4LIZQiJ.js";
|
|
22
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
22
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
23
23
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
24
24
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
25
25
|
import { t as LandingLayout } from "./LandingLayout-BK3kV0FL.js";
|
|
@@ -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] = "ce46cc2a-bb77-4bce-91de-8939020b99b8", e._sentryDebugIdIdentifier = "sentry-dbid-ce46cc2a-bb77-4bce-91de-8939020b99b8");
|
|
4
4
|
} catch (e) {}
|
|
5
5
|
import { i as Typography, n as addResourceBundles, r as useTranslation } from "./translation-BHUZ_WP7.js";
|
|
6
6
|
import { r as Loader } from "./Button-BxfzWsRl.js";
|
|
@@ -31,16 +31,16 @@ import { i as FormFlow, n as addValidityToForms, o as useFormComposer, r as getR
|
|
|
31
31
|
import { n as composePerScenarioFormConfigurations, r as getPropsFromConfigurations, t as augmentWithCountryConfigs } from "./process-field-configurations-D-i--Py4.js";
|
|
32
32
|
import { t as ErrorPanel } from "./ErrorPanel-CzX5ev6p.js";
|
|
33
33
|
import { n as mergeFieldMetadataIntoProps, t as createFormUtils } from "./formUtils-C7vlzCV-.js";
|
|
34
|
-
import { t as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { t as useMultiForm } from "./useMultiForm-DOQ6_HoL.js";
|
|
35
35
|
import { i as useScenarioConfiguration, r as getPageName, t as mapExistingFile } from "./mapExistingFile-AUOevYJs.js";
|
|
36
36
|
import { t as useTaskLandedEvent } from "./useTaskLandedEvent-BdO8qSBg.js";
|
|
37
37
|
import { i as mapAddressLabels } from "./utils-C1DzW0Hz.js";
|
|
38
38
|
import { i as isValidationError, o as processValidationErrors, s as isMaintenanceModeError } from "./validationError-CD5jY1NM.js";
|
|
39
39
|
import { c as getDocument, o as createDocumentRequest, s as documentApiUtils } from "./validate-J6U_ulFs.js";
|
|
40
40
|
import { r as formatObject } from "./utils--gwzjjeS.js";
|
|
41
|
-
import { a as getFieldsWithExistingData, n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-
|
|
41
|
+
import { a as getFieldsWithExistingData, n as TaxInformationField, t as TAX_INFORMATION_FIELD } from "./TaxInformationField-DlmOFIDl.js";
|
|
42
42
|
import { a as validateNotEmptyOnBlur } from "./patternValidators-DMnU4iGe.js";
|
|
43
|
-
import {
|
|
43
|
+
import { C as taxInformationDefaultFieldConfig, b as exemptedFromTaxDefaultFieldConfig, f as countryToTaxInfoTypeMap, i as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, w as taxInformationDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldMetadata } from "./utils-Cd8I9QM7.js";
|
|
44
44
|
import { t as resolveFieldMetadata } from "./fieldConfigurations-B3oqm4GC.js";
|
|
45
45
|
import { t as Field } from "./Field-Vzlyifk5.js";
|
|
46
46
|
import { t as Select } from "./Select-CRVpXZ1k.js";
|
|
@@ -50,8 +50,8 @@ import { n as CountryField, t as COUNTRY_FIELD } from "./CountryField-DhNTIfGL.j
|
|
|
50
50
|
import { t as RadioGroup } from "./RadioGroup-Bc8reZVM.js";
|
|
51
51
|
import { t as createFormRules } from "./form-rules-CvdV5rPY.js";
|
|
52
52
|
import { t as ContextGuidance } from "./ContextGuidance-BRGAWzeW.js";
|
|
53
|
-
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-
|
|
54
|
-
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, i as operationalAddressIsSameItems, l as defaultFieldMetadata, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-
|
|
53
|
+
import { c as getRegistrationNumberHelperText, i as getCompanyRegistrationNumberOptions, l as registrationNumberDefaultFieldConfig, n as getDefaultRegistrationNumberType, o as exemptFromRegistrationNumberDefaultFieldConfig, r as inferCompanyRegistrationNumberType, s as exemptFromRegistrationNumberDefaultFieldMetadata, u as registrationNumberDefaultFieldMetadata } from "./CompanyRegistrationNumberTypeSelector-DiImGTFe.js";
|
|
54
|
+
import { a as VAT_NUMBER_FIELD, c as defaultFieldConfig, d as doingBusinessAsAbsentFieldMetadata, f as doingBusinessAsFieldMetadata, g as BusinessRegistrationNumberField, h as BUSINESS_REGISTRATION_NUMBER_FIELD, i as operationalAddressIsSameItems, l as defaultFieldMetadata, m as DBA_NAME_FIELD, n as registrationAddressFields, o as VatNumberField, p as DBANameField, r as operationalAddressIsSameIds, s as getDefaultVatNumberType, t as MemoizedConstitutionalDocument } from "./ConstitutionalDocument-CdpVRf0I.js";
|
|
55
55
|
import { a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, i as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, n as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, o as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, r as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, t as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CEJyC_Mj.js";
|
|
56
56
|
import { useCallback, useEffect, useMemo, useRef, useState } from "preact/hooks";
|
|
57
57
|
import { Fragment, jsx, jsxs } from "preact/jsx-runtime";
|
|
@@ -553,8 +553,6 @@ function TrustRegistrationDetails({ fieldValidationErrors = {}, formVerification
|
|
|
553
553
|
data: formUtils.getFieldData(data, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
554
554
|
valid: formUtils.getFieldValid(valid, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
555
555
|
errors: formUtils.getFieldErrors(errors, fieldValidationErrors, BUSINESS_REGISTRATION_NUMBER_FIELD),
|
|
556
|
-
labels: formUtils.getFieldLabels(BUSINESS_REGISTRATION_NUMBER_FIELD, { exemptedFromRegistrationNumber: "iDontHaveARegistrationNumber" }),
|
|
557
|
-
mask: formUtils.getMask("registrationNumber"),
|
|
558
556
|
helperText: getRegistrationNumberHelperText(trustT, {
|
|
559
557
|
country,
|
|
560
558
|
companyType: LegalEntityTypes.TRUST
|
|
@@ -11,7 +11,7 @@ import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
|
11
11
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
12
12
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
13
13
|
import { t as useTrustMembers } from "./useTrustMembers-DYKQfH8R.js";
|
|
14
|
-
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-
|
|
14
|
+
import { r as BusinessDetailsDropin, t as useBusinessDetailsData } from "./useBusinessDetailsData-Dw8VtZkI.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useParams } from "wouter-preact";
|
package/dist/{TrustMemberIndividualPage-CfjzTBeq.js → TrustMemberIndividualPage-B4Iqm4MI.js}
RENAMED
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useParams } from "wouter-preact";
|
|
@@ -11,7 +11,7 @@ import { t as _rolldown_dynamic_import_helper_default } from "./_rolldown_dynami
|
|
|
11
11
|
import { C as EntityTypes } from "./processCapabilities-C3-DrzSD.js";
|
|
12
12
|
import { t as TaskTypes } from "./taskTypes-CDFRB7A4.js";
|
|
13
13
|
import { n as useCapabilityProblems, t as getProblemsForEntity } from "./getProblemsForEntity-B9GOFyRX.js";
|
|
14
|
-
import { t as IndividualDropin } from "./IndividualDropin-
|
|
14
|
+
import { t as IndividualDropin } from "./IndividualDropin-BVMDPYDe.js";
|
|
15
15
|
import { jsx } from "preact/jsx-runtime";
|
|
16
16
|
import { skipToken } from "@tanstack/preact-query";
|
|
17
17
|
import { useParams } from "wouter-preact";
|