@adyen/kyc-components 3.93.0-beta.2 → 3.93.0
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-B4fXz2Mj.js → AcceptTermsOfServiceComponent-CMudf1Zd.js} +15 -15
- package/dist/{Accordion-B9ASz7oD.js → Accordion-sjC2ic9o.js} +1 -1
- package/dist/{AccountSetupRejected-BsYzF0XW.js → AccountSetupRejected-CncpaGTO.js} +3 -3
- package/dist/{ActionBar-Gbat0LF-.js → ActionBar-DjsFjykP.js} +1 -1
- package/dist/{Address-Bu9zOvAM.js → Address-C6DVkZcL.js} +9 -9
- package/dist/{Alert-0L9Okc_j.js → Alert-D-FgKxmc.js} +2 -2
- package/dist/{Avatar-C2jFofpv.js → Avatar-BXJlAa_m.js} +1 -1
- package/dist/{BusinessFinancingComponent-C12Xnx_y.js → BusinessFinancingComponent-BIBLD7if.js} +4 -4
- package/dist/{BusinessFinancingDropin-BYwivstT.js → BusinessFinancingDropin-DUPVG0ac.js} +27 -27
- package/dist/{BusinessFinancingPage-CUeLDq8J.js → BusinessFinancingPage-Cnkyi_iv.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-BQ1yBBhx.js → BusinessTypeSelectionPage-CL2iSuLE.js} +8 -8
- package/dist/{Checkbox-DBN0bHrR.js → Checkbox-CEjRzpIP.js} +1 -1
- package/dist/{Confirm-DvCDgyAD.js → Confirm-xO5Yr0Bp.js} +2 -2
- package/dist/{ConstitutionalDocument-BXepv2HE.js → ConstitutionalDocument-BBKeUmtC.js} +17 -17
- package/dist/{ContactDetails-D84L456z.js → ContactDetails-BeEGNrjK.js} +7 -7
- package/dist/{ContextGuidance-CyvagjSm.js → ContextGuidance-BkdCvkro.js} +2 -2
- package/dist/{CountryField-DelOJ_90.js → CountryField-pbj23eqG.js} +4 -4
- package/dist/{CreateIndividualComponent-B56tad3f.js → CreateIndividualComponent-BN14wsvP.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DAIYbzea.js → CreateTransferInstrumentComponent-DKun_1JG.js} +3 -3
- package/dist/{Currency-DARtu8dS.js → Currency-BuKwitqQ.js} +6 -6
- package/dist/{CustomerSupport-HpsRjJyl.js → CustomerSupport-BK_OaKRW.js} +10 -10
- package/dist/{DebugModal-DEYa0E-D.js → DebugModal-3ueK1tGl.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CmvZWgoB.js → DecisionMakerDetailsPage-DiHhMxKc.js} +6 -6
- package/dist/{DecisionMakers-eOsvlawr.js → DecisionMakers-D8ptIY_S.js} +20 -20
- package/dist/{Dropzone-BgrGUcIm.js → Dropzone-BAI02vwf.js} +3 -3
- package/dist/{EmbeddedStatus-CGIXkUXu.js → EmbeddedStatus-mFb9ozhT.js} +2 -2
- package/dist/{EndStateLayout-DhaJTPGG.js → EndStateLayout-kC48ysnK.js} +1 -1
- package/dist/{EntityAssociation-oAuDZDjG.js → EntityAssociation-BlNKc5SW.js} +5 -5
- package/dist/{EntityGuidanceStatus-BfJcqJTt.js → EntityGuidanceStatus-n2W71Gts.js} +2 -2
- package/dist/{ErrorPanel-CQ5mK5uz.js → ErrorPanel-FW37V8f_.js} +2 -2
- package/dist/{Field-QQ5BBCkn.js → Field-Dy-q5CRB.js} +1 -1
- package/dist/{FormNavigation-Cl5fnGKp.js → FormNavigation-C2Px6-hH.js} +2 -2
- package/dist/{FormWrapper-BXCADDZ_.js → FormWrapper-Dc0IK6hk.js} +8 -8
- package/dist/{Header-DVxe8YCk.js → Header-BjgMqCtO.js} +1 -1
- package/dist/{Image-D2r8auP6.js → Image-AkeY7yyQ.js} +1 -1
- package/dist/{Individual.rules-nvOffGHU.js → Individual.rules-CIRdj4rM.js} +5 -5
- package/dist/{IndividualDropin-Ou29J7Dx.js → IndividualDropin-D9A2gQhU.js} +52 -52
- package/dist/{InputDate-DplEveci.js → InputDate-Di73YeN7.js} +1 -1
- package/dist/{InputText-V4X24bPM.js → InputText-BAe550-Y.js} +1 -1
- package/dist/{Introduction-kVYYqDhe.js → Introduction-9UAua8ny.js} +3 -3
- package/dist/{JpAddress-BKT0w3jl.js → JpAddress-CzX-4x0r.js} +8 -8
- package/dist/{LandingLayout-DZt1EtCP.js → LandingLayout-DSg_u3kp.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-BuOPrCAO.js → LegalRepresentativeDetailsPage-CepeGeY3.js} +3 -3
- package/dist/{Link-s00fWIPD.js → Link-CfLCIefo.js} +1 -1
- package/dist/{ListItem-BOjfMtNh.js → ListItem-BaKatovL.js} +2 -2
- package/dist/{LoaderWrapper-lbUTZxip.js → LoaderWrapper-Cts9cXUa.js} +1 -1
- package/dist/{ManageIndividualComponent-C80dv903.js → ManageIndividualComponent-C_EH5Vig.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-8sW0ubtp.js → ManageTermsOfServiceComponent-a2WN8S51.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Djr3hDnm.js → ManageTransferInstrumentComponent-Bz0RI5-k.js} +11 -11
- package/dist/{MaskedInput-Dtui0pFL.js → MaskedInput-TmmXvrVs.js} +4 -4
- package/dist/{MaybeModal-DAmEe4LX.js → MaybeModal-B4I25cx2.js} +2 -2
- package/dist/{Modal-DjqZRXyy.js → Modal-DsEofbSA.js} +1 -1
- package/dist/{Name-2lTBQb7g.js → Name-Gmo-5Bqr.js} +4 -4
- package/dist/{OnboardingDropinComponent-Druuv3sE.js → OnboardingDropinComponent-B-PFBlrP.js} +42 -42
- package/dist/{PayoutDetailsDropin-B7LtRa1B.js → PayoutDetailsDropin-m1aKlkrm.js} +41 -42
- package/dist/{RadioGroup-DUYNpTgM.js → RadioGroup-YRhJgLUn.js} +1 -1
- package/dist/{RadioGroupCard-pMlnbEEB.js → RadioGroupCard-CSw-Q3AS.js} +1 -1
- package/dist/{Review-_FUu7r2a.js → Review-Bf_fhmvT.js} +6 -6
- package/dist/{RootBusinessDetailsPage-yrq_AuhE.js → RootBusinessDetailsPage-B7mYqkzh.js} +4 -4
- package/dist/{RootBusinessLinesPage-Cl18f4sM.js → RootBusinessLinesPage-CBT76Jex.js} +22 -22
- package/dist/{RootIndividualDetailsPage-DCBlFXBW.js → RootIndividualDetailsPage-Bn10ChZj.js} +4 -4
- package/dist/{Select-mBoYJnAZ.js → Select-HYaeyASt.js} +3 -3
- package/dist/{SignPCIComponent-Kf3AvaVB.js → SignPCIComponent-Bk-70qiE.js} +10 -10
- package/dist/{SingpassSelection-CfWMbH3h.js → SingpassSelection-DWFCfKWp.js} +5 -5
- package/dist/{SoleProprietorshipPage-5Zy5JrB-.js → SoleProprietorshipPage-IjH5yPNi.js} +3 -3
- package/dist/{SourceOfFundsPage-CzUTeF1S.js → SourceOfFundsPage-Co0-_xzX.js} +30 -30
- package/dist/{StepProgressIndicator-BE9LWSk0.js → StepProgressIndicator-Bbwofr0t.js} +1 -1
- package/dist/{StoreProvider-D5FOVv9p.js → StoreProvider-YEGUipRq.js} +4 -4
- package/dist/{Summary-v4P9Y5kQ.js → Summary-q5A1DaDu.js} +5 -5
- package/dist/{TaskVerificationStatus-5hk86s25.js → TaskVerificationStatus-LYc1SphW.js} +1 -1
- package/dist/{TaxInformationField-AcI4laLZ.js → TaxInformationField-BgO9VWpf.js} +20 -20
- package/dist/{TaxReportingDropin-ZzpWS0S-.js → TaxReportingDropin-DP3XpU3B.js} +15 -15
- package/dist/{TextArea-DeNjm7Gm.js → TextArea-D1lViRKu.js} +1 -1
- package/dist/{TileGroup-CZWfBoyM.js → TileGroup-C_C30bzD.js} +2 -2
- package/dist/{TrustDetailsPage--gTP7acy.js → TrustDetailsPage-BSfMU0YT.js} +33 -33
- package/dist/{TrustMemberCompanyPage-Bmqb5sgh.js → TrustMemberCompanyPage-DtwGPkqY.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BJ7a5vEO.js → TrustMemberIndividualPage-ex2rpkAe.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-eGQ7qNwo.js → TrustMemberRoleAndTypePage-CWAfynOq.js} +49 -27
- package/dist/{TrustMembersOverview-C9VGJyIN.js → TrustMembersOverview-BbB0IJts.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DY8NWGLK.js → UnincorporatedPartnershipIndividualPage-DPH1CF-Y.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CxGb07CR.js → UnincorporatedPartnershipMemberCompanyPage-BEeP9VgA.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-CP88Xvoy.js → UnincorporatedPartnershipMemberRoleAndTypePage-C2drIpsK.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-CtJIWCek.js → UnincorporatedPartnershipMembersOverview-DTlmitVj.js} +8 -8
- package/dist/{VerificationErrorAlert-DAmWLDTw.js → VerificationErrorAlert-STnkmqXM.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-BKvZhB3Q.js → ViewVerificationStatusComponent-DFrWb4w0.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-D-iUsb1z.js → bafinUtils-D5u2Q3sP.js} +1 -1
- package/dist/{commonValidators-CalwJK5h.js → commonValidators-Xp2_i3fV.js} +1 -1
- package/dist/{dropinUtils-D59ldyqp.js → dropinUtils-C8JolVCN.js} +3 -3
- package/dist/{fieldConfig-1wEVw6MW.js → fieldConfig-DhKu9uvC.js} +5 -5
- package/dist/{formUtils-BUyxO4Zy.js → formUtils-b6H7bo93.js} +2 -2
- package/dist/{getName-BCGuaRKD.js → getName-B7GLK85C.js} +1 -1
- package/dist/{iframeWidget-CxqD-Z9-.js → iframeWidget-D_jSy0Dr.js} +3 -3
- package/dist/{isEmpty-BCB0E6W3.js → isEmpty-Cihu0R9o.js} +1 -1
- package/dist/{japanSupportUtils-CNwDfN86.js → japanSupportUtils-BdfAErog.js} +1 -1
- package/dist/{localizeDateString-DnJ6n3p4.js → localizeDateString-CgaQjcxh.js} +1 -1
- package/dist/{mapExistingFile-DF8ylI3D.js → mapExistingFile-BkYAx_kl.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Y24lCOu6.js → mapJpAddressSchemaToAddressLocalizations-B5qq0L3K.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-BfluetfB.js → mapLegalEntityToIndividualSchema-BlVuwE9G.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DGEME7Zv.js → mapTransferInstrumentToPayoutAccount-CCH5t9Mv.js} +1 -1
- package/dist/{patternValidators-DbUGFIUU.js → patternValidators-CBAdtbkx.js} +1 -1
- package/dist/{process-field-configurations-DGERpLQI.js → process-field-configurations-BUh-8mae.js} +2 -2
- package/dist/{resolveEnvironment-S2KpSjit.js → resolveEnvironment-CuY6Nqws.js} +3 -3
- package/dist/{roleMetadata-CKgUDBXU.js → roleMetadata-rJyitaSY.js} +1 -1
- package/dist/style.css +0 -1
- package/dist/styles-CLV89_hH.js +0 -1
- package/dist/{types-DgF4O5ru.js → types-DFQuEUfV.js} +1 -1
- package/dist/{types-CUp2kEQJ.js → types-DSigzqfS.js} +1 -1
- package/dist/{types-vqz1MZ1F.js → types-Dhqy-Af0.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C8wrPYHO.js → useAssociatedLegalEntity-h5ma5-Vo.js} +1 -1
- package/dist/{useBusinessDetailsData-nW3yfjoJ.js → useBusinessDetailsData-iN0xS5Wd.js} +49 -49
- package/dist/{useCreateLegalEntity-DEc1Kwc9.js → useCreateLegalEntity-BWaKnWUz.js} +1 -1
- package/dist/{useDataset-CLceNuVk.js → useDataset-tV4eDy-F.js} +1 -1
- package/dist/{useForm-C6Y--Xun.js → useForm-C1fOe0m2.js} +2 -2
- package/dist/{useFormContext-7UjLuyeC.js → useFormContext-kmuj5zs-.js} +6 -6
- package/dist/{useGlobalData-DS2ZGdGI.js → useGlobalData-BYqUQNJg.js} +1 -1
- package/dist/{useMultiForm-B3D5YMQv.js → useMultiForm-Bl_xtgL5.js} +3 -3
- package/dist/{useOnboardingStatus-pO-8haat.js → useOnboardingStatus-NYnHxnQZ.js} +1 -1
- package/dist/{useScenarios-BeYCbuMy.js → useScenarios-C_o86avG.js} +1 -1
- package/dist/{useTermsOfServiceStatus-a9HTnF2t.js → useTermsOfServiceStatus-BC3q9gh2.js} +1 -1
- package/dist/{useToastContext-CY5gBg6O.js → useToastContext-CpA8031K.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BFoyyohQ.js → useUnincorporatedPartnershipMembers-BiM1tViV.js} +3 -3
- package/dist/{useUpdateBusinessLines-Ca6VPudz.js → useUpdateBusinessLines-Bx3E58F0.js} +3 -3
- package/dist/{useUpdateLegalEntity-CV9zKmhh.js → useUpdateLegalEntity-DhMquhhd.js} +2 -2
- package/dist/{utils-DkD_AO7r.js → utils-B25Hd8qN.js} +1 -1
- package/dist/{utils-kwRyi0uY.js → utils-B57SzsP3.js} +1 -1
- package/dist/{utils-DW7BsBmK.js → utils-BxqaMM16.js} +1 -1
- package/dist/{utils-9A5Vx0Md.js → utils-Cvq7mmTk.js} +2 -2
- package/dist/{utils-DJ11eWHJ.js → utils-DFJh2jVb.js} +5 -5
- package/dist/{validate-CDvp3PSV.js → validate-Bsk5GxX3.js} +2 -2
- package/dist/{validate-BjjltZlf.js → validate-DMbFk5A_.js} +1 -1
- package/dist/{validationError-BSalUIny.js → validationError-DNOYUd_z.js} +1 -1
- package/package.json +1 -1
|
@@ -7,40 +7,40 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes, ai as entriesOf, z as createLogger, u as useTranslation, L as Loader, V as IconButton, x as Typography, aF as Trans, B as Button, b as useApiContext, aj as httpDelete, W as useExperimentsContext, P as useAnalyticsContext, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { C as CountryCodes, ai as entriesOf, z as createLogger, u as useTranslation, L as Loader, V as IconButton, x as Typography, aF as Trans, B as Button, b as useApiContext, aj as httpDelete, W as useExperimentsContext, P as useAnalyticsContext, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useMutation, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { i as useBusinessLines, f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, j as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
+
import { i as useBusinessLines, f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, u as useSalesChannels, j as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
15
|
+
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-Bx3E58F0.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-kmuj5zs-.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-CpA8031K.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-BUh-8mae.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C8JolVCN.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-Bl_xtgL5.js";
|
|
21
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-AkeY7yyQ.js";
|
|
22
22
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
23
|
-
import { s as summaryStep } from "./Summary-
|
|
24
|
-
import { H as Header } from "./Header-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
23
|
+
import { s as summaryStep } from "./Summary-q5A1DaDu.js";
|
|
24
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-b6H7bo93.js";
|
|
26
26
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { C as Checkbox } from "./Checkbox-
|
|
28
|
-
import { F as Field } from "./Field-
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
+
import { C as Checkbox } from "./Checkbox-CEjRzpIP.js";
|
|
28
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-DsEofbSA.js";
|
|
30
|
+
import { I as InputText } from "./InputText-BAe550-Y.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-Bk-70qiE.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-BXJlAa_m.js";
|
|
33
33
|
import cx from "classnames";
|
|
34
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
35
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
36
36
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
37
|
-
import { L as Link } from "./Link-
|
|
37
|
+
import { L as Link } from "./Link-CfLCIefo.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-DSg_u3kp.js";
|
|
40
40
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
41
|
-
import { L as ListItem } from "./ListItem-
|
|
41
|
+
import { L as ListItem } from "./ListItem-BaKatovL.js";
|
|
42
42
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
43
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
+
import { C as Confirm } from "./Confirm-xO5Yr0Bp.js";
|
|
44
44
|
const rules = ({ data, country }) => {
|
|
45
45
|
return createFormRules({
|
|
46
46
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-DCBlFXBW.js → RootIndividualDetailsPage-Bn10ChZj.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, M as EntityTypes, ab as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, b9 as individualOnfidoBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, p as isPartOfTrustFromLegalEntity, M as EntityTypes, ab as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, b9 as individualOnfidoBaseMapping } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-
|
|
14
|
-
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-AkeY7yyQ.js";
|
|
13
|
+
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-D9A2gQhU.js";
|
|
15
15
|
function RootIndividualDetailsPage({
|
|
16
16
|
asModal = false,
|
|
17
17
|
hideSidebar = false,
|
|
@@ -11,11 +11,11 @@ import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState, useRef, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
13
|
import { computed, signal, useSignal, useSignalEffect } from "@preact/signals";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
-
import { P as useAnalyticsContext, L as Loader, ab as noop, x as Typography, z as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DsEofbSA.js";
|
|
15
|
+
import { P as useAnalyticsContext, L as Loader, ab as noop, x as Typography, z as createLogger, u as useTranslation } from "./StoreProvider-YEGUipRq.js";
|
|
16
16
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
|
-
import { C as Checkbox } from "./Checkbox-
|
|
18
|
+
import { C as Checkbox } from "./Checkbox-CEjRzpIP.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, an as isEmpty, u as useTranslation, P as useAnalyticsContext, ao as getOwnDecisionMakers, q as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, an as isEmpty, u as useTranslation, P as useAnalyticsContext, ao as getOwnDecisionMakers, q as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
14
14
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CpA8031K.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-B4I25cx2.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-kC48ysnK.js";
|
|
18
18
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
19
|
-
import { C as Checkbox } from "./Checkbox-
|
|
20
|
-
import { F as Field } from "./Field-
|
|
21
|
-
import { S as Select } from "./Select-
|
|
22
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { C as Checkbox } from "./Checkbox-CEjRzpIP.js";
|
|
20
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
21
|
+
import { S as Select } from "./Select-HYaeyASt.js";
|
|
22
|
+
import { u as useForm } from "./useForm-C1fOe0m2.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -241,7 +241,7 @@ function SignPCIComponent({
|
|
|
241
241
|
const additionalSalesChannels = useSalesChannels();
|
|
242
242
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
243
243
|
addResourceBundles(i18n, [
|
|
244
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BMe54km9.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BwiHrdav.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D3nwkjjZ.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZU2Hsp38.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DbOICeSZ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
244
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BMe54km9.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BwiHrdav.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D3nwkjjZ.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-ZU2Hsp38.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-DbOICeSZ.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-YEGUipRq.js").then((n) => n.bD), "../../../language/locales/es-ES.json": () => import("./es-ES-diRragkx.js"), "../../../language/locales/et-EE.json": () => import("./et-EE--PzlaQkR.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-D0_0MXLR.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CbjzHhqH.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-CDuWrX1x.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CXB62KSV.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BbW5PMj0.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-D8-geaup.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BCusE8Fe.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D_D39wup.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-Z2ifhzHq.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-D09wFbmU.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-uU0uFIWi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-DzLl_fGR.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-Czix42gf.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-BmHGZmbO.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-hx3DmG_3.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-D06jZL__.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-eJgjc6iG.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
245
245
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-CCwKQVVV.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-CVvNUABW.js"), "../../ui/language/da-DK.json": () => import("./da-DK-CoTdzXlA.js"), "../../ui/language/de-DE.json": () => import("./de-DE-z0cPgxGN.js"), "../../ui/language/el-GR.json": () => import("./el-GR-B9TRk3Pi.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-DUn82eVS.js"), "../../ui/language/et-EE.json": () => import("./et-EE-CUXar-DY.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-C3TTCFBv.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BbKadiaZ.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-D2LmWe5I.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CFuBc8VP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-CGhQqmiU.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-CvREJ56h.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CZwu5zZ0.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DVFCj1OR.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-OHlJx2bn.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DEYydng4.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-DMbe5XnW.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-DWAziFjb.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-LP8g5mC9.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-BQSoJrlf.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-CwieqNyR.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-C5vfq7vv.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-BrO9NKWs.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
246
246
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-K7feXvEc.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CYQO0o5V.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-DHNlnOwf.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BQixWUEV.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BynZTNSB.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BtRIDozk.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-2BMif2Bk.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-CHdEDRVO.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-BkGihn5Q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-BfL7qUzo.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C2yBVFht.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-C74EF23u.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CvUzNn9Z.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BsLkPEzn.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
247
247
|
]);
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, x as Typography, B as Button, q as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { I as Image } from "./Image-
|
|
16
|
-
import { R as RadioGroupCard } from "./RadioGroupCard-
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
13
|
+
import { u as useTranslation, x as Typography, B as Button, q as LegalEntityTypes } from "./StoreProvider-YEGUipRq.js";
|
|
14
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
15
|
+
import { I as Image } from "./Image-AkeY7yyQ.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-CSw-Q3AS.js";
|
|
17
|
+
import { u as useForm } from "./useForm-C1fOe0m2.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-AkeY7yyQ.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-iN0xS5Wd.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,46 +7,46 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, x as Typography, B as Button, ag as useI18nContext, L as Loader, U as Icon, V as IconButton, z as createLogger, c as useLegalEntity, R as ROOT_LE, P as useAnalyticsContext, bC as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, x as Typography, B as Button, ag as useI18nContext, L as Loader, U as Icon, V as IconButton, z as createLogger, c as useLegalEntity, R as ROOT_LE, P as useAnalyticsContext, bC as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
12
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-AkeY7yyQ.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS, i as useBusinessLines } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
15
15
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/preact-query";
|
|
16
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
18
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
19
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
21
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
22
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-CpA8031K.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BWaKnWUz.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DhMquhhd.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-kmuj5zs-.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C8JolVCN.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-Bl_xtgL5.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-Bsk5GxX3.js";
|
|
23
23
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
26
|
-
import { c as createFormUtils } from "./formUtils-
|
|
27
|
-
import { F as Field } from "./Field-
|
|
28
|
-
import { S as Select } from "./Select-
|
|
29
|
-
import { T as TextArea } from "./TextArea-
|
|
30
|
-
import { I as InputDate } from "./InputDate-
|
|
25
|
+
import { E as ErrorPanel } from "./ErrorPanel-FW37V8f_.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-b6H7bo93.js";
|
|
27
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
28
|
+
import { S as Select } from "./Select-HYaeyASt.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-D1lViRKu.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-Di73YeN7.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { a as Alert } from "./Alert-
|
|
38
|
-
import { M as Modal } from "./Modal-
|
|
39
|
-
import { C as Confirm } from "./Confirm-
|
|
40
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-BAe550-Y.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-Cvq7mmTk.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-YRhJgLUn.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-pbj23eqG.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-BXJlAa_m.js";
|
|
37
|
+
import { a as Alert } from "./Alert-D-FgKxmc.js";
|
|
38
|
+
import { M as Modal } from "./Modal-DsEofbSA.js";
|
|
39
|
+
import { C as Confirm } from "./Confirm-xO5Yr0Bp.js";
|
|
40
|
+
import { T as TileGroup } from "./TileGroup-C_C30bzD.js";
|
|
41
41
|
import { lazy } from "preact/compat";
|
|
42
|
-
import { H as Header } from "./Header-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
42
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-DSg_u3kp.js";
|
|
44
44
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
45
|
-
import { i as isEmpty } from "./isEmpty-
|
|
45
|
+
import { i as isEmpty } from "./isEmpty-Cihu0R9o.js";
|
|
46
46
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
47
47
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
48
|
-
import { D as Dropzone } from "./Dropzone-
|
|
49
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
48
|
+
import { D as Dropzone } from "./Dropzone-BAI02vwf.js";
|
|
49
|
+
import { v as validateDateNotInTheFuture } from "./validate-DMbFk5A_.js";
|
|
50
50
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
51
51
|
return httpPost(
|
|
52
52
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, x as Typography } from "./StoreProvider-YEGUipRq.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e2 = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n2 = new e2.Error().stack;
|
|
5
|
-
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "
|
|
5
|
+
n2 && (e2._sentryDebugIds = e2._sentryDebugIds || {}, e2._sentryDebugIds[n2] = "2419a607-a603-401a-9e1f-c9a8a1d5be7b", e2._sentryDebugIdIdentifier = "sentry-dbid-2419a607-a603-401a-9e1f-c9a8a1d5be7b");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4049,7 +4049,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4049
4049
|
};
|
|
4050
4050
|
};
|
|
4051
4051
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4052
|
-
const sdkVersion = "3.93.0
|
|
4052
|
+
const sdkVersion = "3.93.0";
|
|
4053
4053
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4054
4054
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4055
4055
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4140,7 +4140,7 @@ const AnalyticsProvider = ({
|
|
|
4140
4140
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4141
4141
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4142
4142
|
const sessionData = {
|
|
4143
|
-
sdkVersion: "3.93.0
|
|
4143
|
+
sdkVersion: "3.93.0",
|
|
4144
4144
|
componentName,
|
|
4145
4145
|
userAgent: navigator.userAgent,
|
|
4146
4146
|
legalEntityId: rootLegalEntityId,
|
|
@@ -4553,7 +4553,7 @@ function StateProvider({
|
|
|
4553
4553
|
);
|
|
4554
4554
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children });
|
|
4555
4555
|
}
|
|
4556
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
4556
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-3ueK1tGl.js")).DebugModal);
|
|
4557
4557
|
const DebugListener = () => {
|
|
4558
4558
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
4559
4559
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { ag as useI18nContext, u as useTranslation, P as useAnalyticsContext, an as isEmpty, V as IconButton, y as translateStringOrObject, bi as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header } from "./Header-
|
|
11
|
+
import { ag as useI18nContext, u as useTranslation, P as useAnalyticsContext, an as isEmpty, V as IconButton, y as translateStringOrObject, bi as Svg } from "./StoreProvider-YEGUipRq.js";
|
|
12
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
14
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
15
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
15
|
+
import { E as ErrorPanel } from "./ErrorPanel-FW37V8f_.js";
|
|
16
16
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
17
|
-
import { c as createFormUtils } from "./formUtils-
|
|
18
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
17
|
+
import { c as createFormUtils } from "./formUtils-b6H7bo93.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-rJyitaSY.js";
|
|
19
19
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
20
20
|
const summary = "adyen-kyc-summary";
|
|
21
21
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { U as Icon, u as useTranslation, G as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { U as Icon, u as useTranslation, G as TaskStatuses } from "./StoreProvider-YEGUipRq.js";
|
|
13
13
|
const SettingNames = {
|
|
14
14
|
AcceptedCountries: "acceptedCountries",
|
|
15
15
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bb as getNestedPropertyKeys, C as CountryCodes, q as LegalEntityTypes, aa as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, O as TaskTypes, aG as keysOf, W as useExperimentsContext, K as useAccountHolder } from "./StoreProvider-
|
|
10
|
+
import { bb as getNestedPropertyKeys, C as CountryCodes, q as LegalEntityTypes, aa as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, O as TaskTypes, aG as keysOf, W as useExperimentsContext, K as useAccountHolder } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
25
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
14
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
15
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
16
|
+
import { S as Select } from "./Select-HYaeyASt.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-D1lViRKu.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-Bsk5GxX3.js";
|
|
19
|
+
import { u as useForm } from "./useForm-C1fOe0m2.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-BkYAx_kl.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-BAI02vwf.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-FW37V8f_.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-b6H7bo93.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-CEjRzpIP.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./bafinUtils-D5u2Q3sP.js";
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-TmmXvrVs.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-LYc1SphW.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-B57SzsP3.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
31
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
32
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
33
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
30
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-BdfAErog.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-C6DVkZcL.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-CBAdtbkx.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-YRhJgLUn.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, x as Typography, u as useTranslation, aF as Trans, U as Icon, B as Button, V as IconButton, an as isEmpty$1, a as addResourceBundles, P as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, L as Loader, z as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, x as Typography, u as useTranslation, aF as Trans, U as Icon, B as Button, V as IconButton, an as isEmpty$1, a as addResourceBundles, P as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, L as Loader, z as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-CpA8031K.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DhMquhhd.js";
|
|
15
15
|
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-kmuj5zs-.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C8JolVCN.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-Bl_xtgL5.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
21
|
-
import { F as Field } from "./Field-
|
|
22
|
-
import { H as Header } from "./Header-
|
|
23
|
-
import { L as Link } from "./Link-
|
|
24
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
25
|
-
import { a as Alert } from "./Alert-
|
|
21
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
22
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
23
|
+
import { L as Link } from "./Link-CfLCIefo.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-YRhJgLUn.js";
|
|
25
|
+
import { a as Alert } from "./Alert-D-FgKxmc.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
|
-
import { f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS } from "./OnboardingDropinComponent-
|
|
27
|
+
import { f as useTaskStatus, T as TASK_STATUS_POLLING_INTERVAL_MS } from "./OnboardingDropinComponent-B-PFBlrP.js";
|
|
28
28
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
29
|
-
import { I as Image } from "./Image-
|
|
29
|
+
import { I as Image } from "./Image-AkeY7yyQ.js";
|
|
30
30
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-DSg_u3kp.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-Cihu0R9o.js";
|
|
33
33
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
34
|
return httpGet({
|
|
35
35
|
baseUrl,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { z as createLogger, u as useTranslation, P as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { z as createLogger, u as useTranslation, P as useAnalyticsContext } from "./StoreProvider-YEGUipRq.js";
|
|
14
14
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
15
|
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
16
|
const logger = createLogger();
|
|
@@ -9,10 +9,10 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { U as Icon, x as Typography, P as useAnalyticsContext, ab as noop } from "./StoreProvider-
|
|
12
|
+
import { U as Icon, x as Typography, P as useAnalyticsContext, ab as noop } from "./StoreProvider-YEGUipRq.js";
|
|
13
13
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
15
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DsEofbSA.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -7,52 +7,52 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ai as entriesOf, aa as objectsDeepEqual, ap as reverseMapping, q as LegalEntityTypes, O as TaskTypes, C as CountryCodes, az as hasText, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, W as useExperimentsContext, x as Typography, by as getCountrySpecificTrustTypeOptions, bz as trustComponentsKeyMapping, bA as trustApiKeyMapping, b as useApiContext, P as useAnalyticsContext, bB as trustDocumentMapping, ah as cloneObject, g as getLegalEntityCountry, an as isEmpty$1, aK as drop, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, aG as keysOf, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ai as entriesOf, aa as objectsDeepEqual, ap as reverseMapping, q as LegalEntityTypes, O as TaskTypes, C as CountryCodes, az as hasText, ar as matchesRegex, as as NO_ALPHABET_REGEX, at as EMOJI_REGEX, au as hasRepeatedCharacters, b2 as isValidMinLength, av as isInvalidName, bj as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, W as useExperimentsContext, x as Typography, by as getCountrySpecificTrustTypeOptions, bz as trustComponentsKeyMapping, bA as trustApiKeyMapping, b as useApiContext, P as useAnalyticsContext, bB as trustDocumentMapping, ah as cloneObject, g as getLegalEntityCountry, an as isEmpty$1, aK as drop, a6 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, aG as keysOf, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-YEGUipRq.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
-
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-AkeY7yyQ.js";
|
|
14
|
+
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-BgO9VWpf.js";
|
|
15
15
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BWaKnWUz.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-DhMquhhd.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-BYqUQNJg.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-CpA8031K.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-BUh-8mae.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C8JolVCN.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BkYAx_kl.js";
|
|
23
|
+
import { o as operationalAddressIsSameIds, D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, f as doingBusinessAsAbsentFieldMetadata, e as doingBusinessAsFieldMetadata, b as registrationNumberDefaultFieldMetadata, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p as operationalAddressIsSameItems } from "./ConstitutionalDocument-BBKeUmtC.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-B57SzsP3.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-Dc0IK6hk.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DNOYUd_z.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-Bsk5GxX3.js";
|
|
28
28
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
29
29
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
31
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
32
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
32
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DSigzqfS.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-CLJfvUMb.js";
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { H as Header } from "./Header-
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { u as useForm } from "./useForm-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { I as InputText } from "./InputText-
|
|
41
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
42
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
44
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
45
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
46
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { F as Field } from "./Field-Dy-q5CRB.js";
|
|
35
|
+
import { H as Header } from "./Header-BjgMqCtO.js";
|
|
36
|
+
import { S as Select } from "./Select-HYaeyASt.js";
|
|
37
|
+
import { u as useForm } from "./useForm-C1fOe0m2.js";
|
|
38
|
+
import { a as Alert } from "./Alert-D-FgKxmc.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-FW37V8f_.js";
|
|
40
|
+
import { I as InputText } from "./InputText-BAe550-Y.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-pbj23eqG.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-b6H7bo93.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-Cihu0R9o.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-CBAdtbkx.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-kmuj5zs-.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-Bl_xtgL5.js";
|
|
47
47
|
import "preact";
|
|
48
48
|
import "classnames";
|
|
49
49
|
import "named-slots";
|
|
50
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
50
|
+
import { R as RadioGroup } from "./RadioGroup-YRhJgLUn.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-C6DVkZcL.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-tV4eDy-F.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-BkdCvkro.js";
|
|
56
56
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
57
57
|
if (typeof value === "object") {
|
|
58
58
|
return !objectsDeepEqual(value, initialData?.[key]);
|