@adyen/kyc-components 4.7.0-beta.0 → 4.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-RYwThKmu.js → AcceptTermsOfServiceComponent-BbktO0zC.js} +14 -14
- package/dist/{AccountSetupRejected-DhwwBH0S.js → AccountSetupRejected-B9jCHNz-.js} +1 -1
- package/dist/{ActionBar-u-Qc7Y4w.js → ActionBar-CbFBdfam.js} +1 -1
- package/dist/{Address-TGZeMCUA.js → Address-CAzHDiil.js} +9 -9
- package/dist/{Avatar-LSd9cIJV.js → Avatar-D7DkiYRU.js} +1 -1
- package/dist/{BusinessFinancingComponent-DAeZTKW1.js → BusinessFinancingComponent-B7O8VSuR.js} +4 -4
- package/dist/{BusinessFinancingDropin-BVgSTmUm.js → BusinessFinancingDropin-CZjat6zg.js} +27 -27
- package/dist/{BusinessFinancingPage-vKWY2gWN.js → BusinessFinancingPage-wYYsqc5D.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-DhpGpgac.js → BusinessTypeSelectionPage-SVmYYbcY.js} +8 -8
- package/dist/{Checkbox-D5-_dw4-.js → Checkbox-DntVTT7e.js} +1 -1
- package/dist/{Confirm-BoQbVMKQ.js → Confirm-CceRWfkX.js} +2 -2
- package/dist/{ConstitutionalDocument-CjUSPI6f.js → ConstitutionalDocument-M10n8QHQ.js} +16 -16
- package/dist/{ContactDetails-Bj1jL-WF.js → ContactDetails-CJ49drHv.js} +5 -5
- package/dist/{ContextGuidance-CoDkF9Kh.js → ContextGuidance-DeSyT-K4.js} +1 -1
- package/dist/{CountryField-DPtohqO0.js → CountryField-B0KnMSNK.js} +3 -3
- package/dist/{CreateIndividualComponent-DnDxRY8S.js → CreateIndividualComponent-BsABgMiA.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BB1v1vPR.js → CreateTransferInstrumentComponent-CHhSi-Nd.js} +3 -3
- package/dist/{Currency-DjKXc6D1.js → Currency-wZFwkXz6.js} +6 -6
- package/dist/{CustomerSupport-nxoB2aXL.js → CustomerSupport-CZZVSn5p.js} +9 -9
- package/dist/{DebugModal-DK9xbFjU.js → DebugModal-B7AyfRi1.js} +6 -6
- package/dist/{DecisionMakerDetails-D-POvfJr.js → DecisionMakerDetails-CmIkuKMd.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CABFACYm.js → DecisionMakerDetailsPage-C86M_cr7.js} +6 -6
- package/dist/{DecisionMakers-B4gmdJ-s.js → DecisionMakers-BJzPsxVk.js} +17 -17
- package/dist/{Dropzone-IwRNw22i.js → Dropzone-DkOStOI3.js} +3 -3
- package/dist/{EmbeddedStatus-BU2hma9l.js → EmbeddedStatus-BDk-Cdzb.js} +2 -2
- package/dist/{EndStateLayout-DURCt96r.js → EndStateLayout-yZlKFmxQ.js} +1 -1
- package/dist/{EntityAssociation-TBvPBEGa.js → EntityAssociation-BQinpNn-.js} +4 -4
- package/dist/{EntityGuidanceStatus-CFRY8Yia.js → EntityGuidanceStatus-DgrTCy2a.js} +3 -3
- package/dist/{ErrorPanel-ALBlWg3_.js → ErrorPanel-rmGb9PlE.js} +1 -1
- package/dist/{Field--T3FQepj.js → Field-DDqviWD6.js} +1 -1
- package/dist/{FormNavigation-nE2uj2oQ.js → FormNavigation-hnWA-Ehl.js} +2 -2
- package/dist/{Individual.rules-DotRDPTM.js → Individual.rules-DkkHd4AC.js} +5 -5
- package/dist/{IndividualDropin-eiRXQvS_.js → IndividualDropin-HfCpdNoz.js} +49 -49
- package/dist/{InputDate-BAzF-upe.js → InputDate-BB4WZBNP.js} +1 -1
- package/dist/{InputText-CywP4Ojh.js → InputText-BCi31wZB.js} +1 -1
- package/dist/{Introduction-CKoQlTAr.js → Introduction-DShrdSBn.js} +3 -3
- package/dist/{InvitedDecisionMakerComponent-CV8OExOI.js → InvitedDecisionMakerComponent-B2HU3LgV.js} +9 -9
- package/dist/{JpAddress-BIgqDfQ0.js → JpAddress-DE9yfseS.js} +8 -8
- package/dist/{LandingLayout-DEgZw1-N.js → LandingLayout-D_EQfRqT.js} +1 -1
- package/dist/{LegalCompanyNameField-CblBotGC.js → LegalCompanyNameField-CCPNDYao.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-BYgKGZL1.js → LegalRepresentativeDetailsPage-ZsBB2MMq.js} +3 -3
- package/dist/{Link-BVdY7Jkl.js → Link-DWRRNNKW.js} +1 -1
- package/dist/{ListItem-CNuX4D7n.js → ListItem-DlliPqo-.js} +2 -2
- package/dist/{LoaderWrapper-CU0bf3jD.js → LoaderWrapper-DE-3T3QK.js} +1 -1
- package/dist/{ManageIndividualComponent-BYBvuHfj.js → ManageIndividualComponent-CGjYieXl.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-CfN53LIT.js → ManageTermsOfServiceComponent-DVal60Sx.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-B7gKGWHz.js → ManageTransferInstrumentComponent-oOQNBPeD.js} +9 -9
- package/dist/{MaskedInput-BNceotwn.js → MaskedInput-Dzp3Td83.js} +4 -4
- package/dist/{MaybeModal-hVrKDPDU.js → MaybeModal-Vk2hdUdf.js} +2 -2
- package/dist/{Modal-C8kGCLbp.js → Modal-Bq5ccK7z.js} +1 -1
- package/dist/{Name-GILpP1SS.js → Name-w6uDAo1S.js} +4 -4
- package/dist/{NewSummary-C5UR_Xj1.js → NewSummary-fp6oz9Ko.js} +1 -1
- package/dist/{OnboardingDropinComponent-CK5KIhNx.js → OnboardingDropinComponent-Cn45HTst.js} +105 -86
- package/dist/{PayoutDetailsDropin-CLdEm9BA.js → PayoutDetailsDropin-Bzs2jydk.js} +32 -32
- package/dist/{PayoutDetailsPage-s-_gJFC2.js → PayoutDetailsPage-BGdufep3.js} +19 -19
- package/dist/{RadioGroup-PEWX2KAj.js → RadioGroup-BOUo26G0.js} +1 -1
- package/dist/{Review-CFnIOiZT.js → Review-Be1zBkVv.js} +5 -5
- package/dist/{RootBusinessDetailsPage-mnrfIy0-.js → RootBusinessDetailsPage-CnX2zYB9.js} +4 -4
- package/dist/{RootBusinessLinesPage-BH3Lns3X.js → RootBusinessLinesPage-G9LnOcFE.js} +24 -24
- package/dist/{RootIndividualDetailsPage-BzgHIe3h.js → RootIndividualDetailsPage-DPim7JYp.js} +5 -5
- package/dist/{Select-C4C8R-Ci.js → Select-D5a5aVFZ.js} +3 -3
- package/dist/{SignPCIComponent-B7rKUpjS.js → SignPCIComponent-BTyUfmK_.js} +10 -10
- package/dist/{SingpassSelection-WxIUEYNK.js → SingpassSelection-DowkF6pT.js} +4 -4
- package/dist/{SoleProprietorshipPage-C_fewFI3.js → SoleProprietorshipPage-C_875t2r.js} +3 -3
- package/dist/{SourceOfFundsPage-UeXmtQEJ.js → SourceOfFundsPage-Cx6ekIue.js} +31 -31
- package/dist/{StepProgressIndicator-DiB-t9hK.js → StepProgressIndicator-CW9yp5Ud.js} +1 -1
- package/dist/{StoreProvider-C4og8Y8I.js → StoreProvider-CApjzEDt.js} +4 -4
- package/dist/{Summary-DkZ_an9u.js → Summary-DlYtNJQD.js} +5 -5
- package/dist/{TaxInformationField-BOZj8YLo.js → TaxInformationField-ByQTgGxY.js} +19 -19
- package/dist/{TaxReportingDropin-9HGGrPyM.js → TaxReportingDropin-D52Nf4f2.js} +13 -13
- package/dist/{TextArea-Bu9ppy0I.js → TextArea-C4OmPCHh.js} +1 -1
- package/dist/{TileGroup-BRzhDdL0.js → TileGroup-Aj0Yql_d.js} +2 -2
- package/dist/{TrustDetailsPage-C3gYEzPT.js → TrustDetailsPage-Cj368KCb.js} +30 -30
- package/dist/{TrustMemberCompanyPage-BK54Of_F.js → TrustMemberCompanyPage-CTXwk8mB.js} +4 -4
- package/dist/{TrustMemberIndividualPage-fVZrXJjA.js → TrustMemberIndividualPage-BusLDMBC.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BVHOuXP3.js → TrustMemberRoleAndTypePage-D6Ir0aGf.js} +20 -20
- package/dist/{TrustMembersOverview-Ab-dwNTz.js → TrustMembersOverview-_eQwa8o8.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-C32LEyHG.js → UnincorporatedPartnershipIndividualPage-tCLAddt7.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-22Bl_EUP.js → UnincorporatedPartnershipMemberCompanyPage-A7gQ5wwr.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BjywaZQe.js → UnincorporatedPartnershipMemberRoleAndTypePage-DaFl9wVc.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-RY7m4iC5.js → UnincorporatedPartnershipMembersOverview-C3YF2E_k.js} +6 -6
- package/dist/{VerificationErrorAlert-CCJ0vNsY.js → VerificationErrorAlert-D8Menx5E.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-Bg1I1q10.js → ViewVerificationStatusComponent-TBlv6an5.js} +2 -2
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-invited-decision-maker.js +2 -2
- package/dist/adyen-kyc-components.js +15 -15
- 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-DkCSO6ft.js → bafinUtils-DOGd6Xk9.js} +1 -1
- package/dist/{commonValidators-Dd4wegC9.js → commonValidators-D1bdFvRX.js} +1 -1
- package/dist/{dropinUtils-vsDEK6cs.js → dropinUtils-C6SkIQLo.js} +3 -3
- package/dist/{formUtils-DFuc8i5Q.js → formUtils-BVAIyFiB.js} +2 -2
- package/dist/{getName-D3Sba-PI.js → getName-CfQAf_l-.js} +1 -1
- package/dist/{getProblemsForEntity-Db-ejW4z.js → getProblemsForEntity-I5B0dWUU.js} +1 -1
- package/dist/{getTrustedFields-DUXTMWcg.js → getTrustedFields-Cv6R496P.js} +1 -1
- package/dist/{isEmpty-DFqK5kY2.js → isEmpty-BcLvy0xw.js} +1 -1
- package/dist/{japanSupportUtils-DqXOWm97.js → japanSupportUtils-DR5unSI9.js} +1 -1
- package/dist/{localizeDateString-D8JgUqw2.js → localizeDateString-0FoP1ZoN.js} +1 -1
- package/dist/{mapExistingFile-BIYg1E5G.js → mapExistingFile-BOZ-beF3.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-D5xnQLSI.js → mapJpAddressSchemaToAddressLocalizations-MqYxkfLg.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-By5v9v9G.js → mapLegalEntityToIndividualSchema-CQnZl2f1.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-BM24JYqT.js → mapTransferInstrumentToPayoutAccount-DJ5E9tqe.js} +1 -1
- package/dist/{omitObscuredFieldsIfUnchanged-CyJfNYkP.js → omitObscuredFieldsIfUnchanged-DMBgASfn.js} +2 -2
- package/dist/{patternValidators-DRSnA1z7.js → patternValidators-a6VZDG0x.js} +1 -1
- package/dist/{process-field-configurations-Cl2nqpBp.js → process-field-configurations-CMIDJACq.js} +1 -1
- package/dist/{resolveEnvironment-BIF7mwM5.js → resolveEnvironment-BBqc2XYC.js} +3 -3
- package/dist/{roleMetadata-BAURfCmh.js → roleMetadata-D1-6Xl8x.js} +2 -2
- package/dist/{types-DxlKs1U5.js → types--xPA8bq3.js} +1 -1
- package/dist/{types-DsA42AXS.js → types-BDdV-c-7.js} +1 -1
- package/dist/{types-VsWq4EjV.js → types-CMK2Gs1Z.js} +1 -1
- package/dist/{unincorporated-partnership-uA1X2l53.js → unincorporated-partnership-5iQ8augf.js} +1 -1
- package/dist/{useAssociatedLegalEntity-3LNpnrN6.js → useAssociatedLegalEntity-9hHARgoS.js} +1 -1
- package/dist/{useBusinessDetailsData-dZbZQSmY.js → useBusinessDetailsData-eIZWfksO.js} +47 -47
- package/dist/{useCreateLegalEntity-DDkkYr4O.js → useCreateLegalEntity-CtGUDesz.js} +1 -1
- package/dist/{useForm-Y4-kimHb.js → useForm-BgHdSJLD.js} +2 -2
- package/dist/{useFormContext-TKoF8IdB.js → useFormContext-CS1RRaOG.js} +6 -6
- package/dist/{useGlobalData-DZvXyS0l.js → useGlobalData-TnV6PIkt.js} +8 -8
- package/dist/{useMultiForm-ieaYM7hW.js → useMultiForm-D_RXm-EH.js} +3 -3
- package/dist/{useOnboardingStatus-DhxCTR8e.js → useOnboardingStatus-C24Lv41L.js} +1 -1
- package/dist/{useScenarios-CwSfXmoW.js → useScenarios-Dt8fTJaF.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DPGw4QdQ.js → useTermsOfServiceStatus-uLxHxESA.js} +1 -1
- package/dist/{useToastContext-BdsMS3mt.js → useToastContext-DrlXuGmm.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-D5ndPAbv.js → useUnincorporatedPartnershipMembers-DCGs6f0a.js} +4 -4
- package/dist/{useUpdateBusinessLines-Dwk23sZB.js → useUpdateBusinessLines-fa9VQXA7.js} +3 -3
- package/dist/{useUpdateLegalEntity-5lOidXXX.js → useUpdateLegalEntity-pCVJvMOY.js} +2 -2
- package/dist/{utils-CdhuiXMy.js → utils-3sCyD_Sz.js} +1 -1
- package/dist/{utils-C5ekxdx1.js → utils-C0z7wmlu.js} +1 -1
- package/dist/{utils-BwwVW2aU.js → utils-CPcpt-fR.js} +5 -5
- package/dist/{utils-C_Fyu6Kr.js → utils-CgfUpZyZ.js} +1 -1
- package/dist/{utils-Dny5dbku.js → utils-CinWv0Kh.js} +2 -2
- package/dist/{validate-CFI052fe.js → validate-B1FpiTip.js} +2 -2
- package/dist/{validate-bZBB2yOu.js → validate-DfJceNKE.js} +1 -1
- package/dist/{validationError-XxBa8ECY.js → validationError-kYn_eC4r.js} +1 -1
- package/package.json +1 -1
|
@@ -7,41 +7,41 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a9 as CountryCodes, ae as createLogger, u as useTranslation, aB as Header, U as Loader, B as IconButton, N as Typography, O as StackLayout, aR as Trans, V as Button, b as useApiContext, ar as httpDelete, H as useToggleContext, x as useAnalyticsContext, Y as TASK_STATUS_POLLING_INTERVAL_MS, E as EntityTypes, P as useLegalEntity, a as addResourceBundles, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a9 as CountryCodes, ae as createLogger, u as useTranslation, aB as Header, U as Loader, B as IconButton, N as Typography, O as StackLayout, aR as Trans, V as Button, b as useApiContext, ar as httpDelete, H as useToggleContext, x as useAnalyticsContext, Y as TASK_STATUS_POLLING_INTERVAL_MS, E as EntityTypes, P as useLegalEntity, a as addResourceBundles, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.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 { h as useBusinessLines, u as useSalesChannels, i 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 { N as NewSummary } from "./NewSummary-
|
|
22
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
+
import { h as useBusinessLines, u as useSalesChannels, i as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-Cn45HTst.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-fa9VQXA7.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-CMIDJACq.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
21
|
+
import { N as NewSummary } from "./NewSummary-fp6oz9Ko.js";
|
|
22
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
23
23
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
24
|
-
import { s as summaryStep } from "./Summary-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
24
|
+
import { s as summaryStep } from "./Summary-DlYtNJQD.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
26
26
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
28
|
-
import { A as Avatar } from "./Avatar-
|
|
29
|
-
import { F as Field } from "./Field
|
|
27
|
+
import { SignPCIComponent } from "./SignPCIComponent-BTyUfmK_.js";
|
|
28
|
+
import { A as Avatar } from "./Avatar-D7DkiYRU.js";
|
|
29
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
30
30
|
import cx from "classnames";
|
|
31
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
32
|
-
import { C as Checkbox } from "./Checkbox-
|
|
33
|
-
import { I as InputText } from "./InputText-
|
|
31
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Bq5ccK7z.js";
|
|
32
|
+
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
33
|
+
import { I as InputText } from "./InputText-BCi31wZB.js";
|
|
34
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
35
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
36
|
-
import { L as Link } from "./Link-
|
|
36
|
+
import { L as Link } from "./Link-DWRRNNKW.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
40
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
38
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-D_EQfRqT.js";
|
|
40
|
+
import { u as useTaskStatus } from "./getTrustedFields-Cv6R496P.js";
|
|
41
41
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
42
|
-
import { L as ListItem } from "./ListItem-
|
|
42
|
+
import { L as ListItem } from "./ListItem-DlliPqo-.js";
|
|
43
43
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
44
|
-
import { C as Confirm } from "./Confirm-
|
|
44
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
45
45
|
const rules = ({ data, country }) => {
|
|
46
46
|
return createFormRules({
|
|
47
47
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-BzgHIe3h.js → RootIndividualDetailsPage-DPim7JYp.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { P as useLegalEntity, t as useAccountHolder, u as useTranslation, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, o as isPartOfTrustFromLegalEntity, E as EntityTypes, ai as noop, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { P as useLegalEntity, t as useAccountHolder, u as useTranslation, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, o as isPartOfTrustFromLegalEntity, E as EntityTypes, ai as noop, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bo as individualBaseMapping } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
-
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { a as getTrustedFieldsProvider, c as getTrustedFields } from "./getTrustedFields-
|
|
15
|
-
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
13
|
+
import { g as filterProblemsByTaskForms } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
14
|
+
import { a as getTrustedFieldsProvider, c as getTrustedFields } from "./getTrustedFields-Cv6R496P.js";
|
|
15
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-HfCpdNoz.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
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 { x as useAnalyticsContext, U as Loader, ai as noop, N as Typography, ae as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Bq5ccK7z.js";
|
|
15
|
+
import { x as useAnalyticsContext, U as Loader, ai as noop, N as Typography, ae as createLogger, u as useTranslation } from "./StoreProvider-CApjzEDt.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-DntVTT7e.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, ax as isEmpty, u as useTranslation, x as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, V as Button, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, ax as isEmpty, u as useTranslation, x as useAnalyticsContext, ay as getOwnDecisionMakers, L as LegalEntityTypes, V as Button, a as addResourceBundles, P as useLegalEntity, U as Loader, w as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-Cn45HTst.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-DrlXuGmm.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-Vk2hdUdf.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-yZlKFmxQ.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-DntVTT7e.js";
|
|
20
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
21
|
+
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
22
|
+
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-DcQHIGMU.js";
|
|
25
25
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
@@ -235,7 +235,7 @@ function SignPCIComponent({
|
|
|
235
235
|
const additionalSalesChannels = useSalesChannels();
|
|
236
236
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
237
237
|
addResourceBundles(i18n, [
|
|
238
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
238
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-dmpv4Zom.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-6rOIfRJu.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-C_GqHCay.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-BmWBo3gX.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-Fo7-xCrc.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-CfIM2SRF.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CApjzEDt.js").then((n) => n.bS), "../../../language/locales/es-ES.json": () => import("./es-ES-BkqlH093.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-H8yxvhQj.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BfwJVwi9.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CzjsW73Q.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-ZrpQrsik.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-Ds3go4h4.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dx15tkIe.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-Qu7oEIEy.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-BebOeKIA.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-CYcrO-6d.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-FbJ2sHba.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B5BjEy8n.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-DuM6hbqZ.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKKQIUJP.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-CC7zlk3R.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-CuabgXj1.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DM1yY8DA.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI--pDTatHh.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-CDxyyNV0.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
239
239
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-zZhDshGi.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-Ck22NTT9.js"), "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/el-GR.json": () => import("./el-GR-DudORw4U.js"), "../../ui/language/en-US.json": () => import("./en-US-B-qSAb-7.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/et-EE.json": () => import("./et-EE-BOIrYrz9.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-lIHN6Yl2.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-CWdwNCev.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-CgalYpUh.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-aAd9SEqx.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-q9azN24o.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-pIChDwiI.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-DRsaNX9j.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-7-enbO1N.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DTvJT7fC.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-N-Hqwcjq.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
240
240
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-DbFzLQK7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CBuNZ7UO.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CLdNh9JT.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BT5g7ZXC.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-BvRBuezU.js"), "../../Contract/language/en-US.json": () => import("./en-US-CgakND3H.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-4FS7NoE7.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-CksV5_e1.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-XpnJRPgt.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-TqAhPvzz.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-CKZ_yuXC.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BEV8uVRt.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-D-jYXj6V.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-8yMqZqF2.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-CK0t2AVY.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-JvlzK9X-.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Jhr-ICkK.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-BH6DId3q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-B5c0NNHB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-4Iozxvfr.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-09L8XznW.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-D7-7tmTR.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-D3tsz1Pg.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Y9h1ht45.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-DFSm22oQ.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
241
241
|
]);
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { U as Loader, x as useAnalyticsContext, u as useTranslation, N as Typography, V as Button, L as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { F as Field } from "./Field
|
|
15
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
13
|
+
import { U as Loader, x as useAnalyticsContext, u as useTranslation, N as Typography, V as Button, L as LegalEntityTypes } from "./StoreProvider-CApjzEDt.js";
|
|
14
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
15
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
16
16
|
import cx from "classnames";
|
|
17
17
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
18
18
|
import { R as Radio } from "./Radio-BMtxBpnn.js";
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
19
|
+
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
20
20
|
const RadioCard = ({
|
|
21
21
|
optionId,
|
|
22
22
|
optionName,
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.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 "./getProblemsForEntity-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-eIZWfksO.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, N as Typography, C as Alert, V as Button, ab as translateTranslatable, U as Loader, z as Icon, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, O as StackLayout, ae as createLogger, P as useLegalEntity, R as ROOT_LE, x as useAnalyticsContext, bR as useLegalEntities, ah as objectsDeepEqual, a as addResourceBundles, E as EntityTypes, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, N as Typography, C as Alert, V as Button, ab as translateTranslatable, U as Loader, z as Icon, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, aB as Header, O as StackLayout, ae as createLogger, P as useLegalEntity, R as ROOT_LE, x as useAnalyticsContext, bR as useLegalEntities, ah as objectsDeepEqual, a as addResourceBundles, E as EntityTypes, a8 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { h as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { h as useBusinessLines } from "./OnboardingDropinComponent-Cn45HTst.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-
|
|
23
|
-
import { i as isEmpty } from "./isEmpty-
|
|
16
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-CtGUDesz.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-pCVJvMOY.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-B1FpiTip.js";
|
|
23
|
+
import { i as isEmpty } from "./isEmpty-BcLvy0xw.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
27
|
-
import { c as createFormUtils } from "./formUtils-
|
|
28
|
-
import { F as Field } from "./Field
|
|
29
|
-
import { S as Select } from "./Select-
|
|
30
|
-
import { T as TextArea } from "./TextArea-
|
|
31
|
-
import { I as InputDate } from "./InputDate-
|
|
26
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
27
|
+
import { c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
28
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
29
|
+
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
30
|
+
import { T as TextArea } from "./TextArea-C4OmPCHh.js";
|
|
31
|
+
import { I as InputDate } from "./InputDate-BB4WZBNP.js";
|
|
32
32
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
33
|
-
import { I as InputText } from "./InputText-
|
|
34
|
-
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, 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 getApplicableBusinessLines, w as areSourceOfFundsEqual, x as getSourceOfFundsRequiredForms, y as getSourceOfFundsPayload, z as getAdditionalDataForOriginator, A as ALLOWED_SOF_SERVICES, B as parseSofOriginatorPayload } from "./utils-
|
|
35
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
36
|
-
import { C as CountryField } from "./CountryField-
|
|
37
|
-
import { A as Avatar } from "./Avatar-
|
|
38
|
-
import { M as Modal } from "./Modal-
|
|
39
|
-
import { C as Confirm } from "./Confirm-
|
|
40
|
-
import { C as Checkbox } from "./Checkbox-
|
|
41
|
-
import { T as TileGroup } from "./TileGroup-
|
|
33
|
+
import { I as InputText } from "./InputText-BCi31wZB.js";
|
|
34
|
+
import { a as allowedCurrencies, T as TODAY_DATE, b as formatDateForInput, S as SOF_CHARACTERS_LIMIT, 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 getApplicableBusinessLines, w as areSourceOfFundsEqual, x as getSourceOfFundsRequiredForms, y as getSourceOfFundsPayload, z as getAdditionalDataForOriginator, A as ALLOWED_SOF_SERVICES, B as parseSofOriginatorPayload } from "./utils-CinWv0Kh.js";
|
|
35
|
+
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
36
|
+
import { C as CountryField } from "./CountryField-B0KnMSNK.js";
|
|
37
|
+
import { A as Avatar } from "./Avatar-D7DkiYRU.js";
|
|
38
|
+
import { M as Modal } from "./Modal-Bq5ccK7z.js";
|
|
39
|
+
import { C as Confirm } from "./Confirm-CceRWfkX.js";
|
|
40
|
+
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
41
|
+
import { T as TileGroup } from "./TileGroup-Aj0Yql_d.js";
|
|
42
42
|
import { lazy } from "preact/compat";
|
|
43
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
44
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
45
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
+
import { u as useTaskStatus } from "./getTrustedFields-Cv6R496P.js";
|
|
44
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
45
|
+
import { L as LandingLayout } from "./LandingLayout-D_EQfRqT.js";
|
|
46
46
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
47
47
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
48
|
-
import { D as Dropzone } from "./Dropzone-
|
|
49
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
48
|
+
import { D as Dropzone } from "./Dropzone-DkOStOI3.js";
|
|
49
|
+
import { v as validateDateNotInTheFuture } from "./validate-DfJceNKE.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, N as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, N as Typography } from "./StoreProvider-CApjzEDt.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] = "0a46fa63-72c6-41f2-8b1d-7fe926fe6350", e2._sentryDebugIdIdentifier = "sentry-dbid-0a46fa63-72c6-41f2-8b1d-7fe926fe6350");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4792,7 +4792,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4792
4792
|
};
|
|
4793
4793
|
};
|
|
4794
4794
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4795
|
-
const sdkVersion = "4.7.
|
|
4795
|
+
const sdkVersion = "4.7.2";
|
|
4796
4796
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4797
4797
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4798
4798
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4883,7 +4883,7 @@ const AnalyticsProvider = ({
|
|
|
4883
4883
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4884
4884
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4885
4885
|
const sessionData = {
|
|
4886
|
-
sdkVersion: "4.7.
|
|
4886
|
+
sdkVersion: "4.7.2",
|
|
4887
4887
|
componentName,
|
|
4888
4888
|
userAgent: navigator.userAgent,
|
|
4889
4889
|
legalEntityId: rootLegalEntityId,
|
|
@@ -5355,7 +5355,7 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
5355
5355
|
);
|
|
5356
5356
|
return /* @__PURE__ */ jsx(Fragment$2, { children });
|
|
5357
5357
|
};
|
|
5358
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
5358
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-B7AyfRi1.js")).DebugModal);
|
|
5359
5359
|
const DebugListener = () => {
|
|
5360
5360
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
5361
5361
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -9,14 +9,14 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
|
-
import { u as useTranslation, x as useAnalyticsContext, aB as Header, ax as isEmpty, B as IconButton, ab as translateTranslatable } from "./StoreProvider-
|
|
13
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
12
|
+
import { u as useTranslation, x as useAnalyticsContext, aB as Header, ax as isEmpty, B as IconButton, ab as translateTranslatable } from "./StoreProvider-CApjzEDt.js";
|
|
13
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
14
14
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
15
15
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
16
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
16
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
17
17
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
18
|
-
import { c as createFormUtils } from "./formUtils-
|
|
19
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
18
|
+
import { c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
19
|
+
import { g as getRoleName } from "./roleMetadata-D1-6Xl8x.js";
|
|
20
20
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
21
21
|
const summary = "adyen-kyc-summary";
|
|
22
22
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -7,32 +7,32 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bq as getNestedPropertyKeys, a9 as CountryCodes, L as LegalEntityTypes, u as useTranslation, z as Icon, ah as objectsDeepEqual, aB as Header, w as TaskTypes, aT as keysOf, H as useToggleContext, t as useAccountHolder, ab as translateTranslatable } from "./StoreProvider-
|
|
10
|
+
import { bq as getNestedPropertyKeys, a9 as CountryCodes, L as LegalEntityTypes, u as useTranslation, z as Icon, ah as objectsDeepEqual, aB as Header, w as TaskTypes, aT as keysOf, H as useToggleContext, t as useAccountHolder, ab as translateTranslatable } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { lazy, memo } from "preact/compat";
|
|
13
13
|
import { useMemo, useState, useRef, useEffect, useCallback } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field
|
|
15
|
-
import { S as Select } from "./Select-
|
|
16
|
-
import { T as TextArea } from "./TextArea-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { u as useForm } from "./useForm-
|
|
14
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
15
|
+
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-C4OmPCHh.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-B1FpiTip.js";
|
|
18
|
+
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
19
19
|
import cx from "classnames";
|
|
20
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
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-
|
|
20
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-DkOStOI3.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-DntVTT7e.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./bafinUtils-DOGd6Xk9.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-Dzp3Td83.js";
|
|
27
27
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
28
28
|
import { S as SettingNames } from "./types-Dv0COrvY.js";
|
|
29
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
29
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-C0z7wmlu.js";
|
|
30
30
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
31
|
-
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-
|
|
32
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
33
|
-
import { u as uppercase } from "./mapExistingFile-
|
|
34
|
-
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
35
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
31
|
+
import { i as isJapanLocalizationEnabled } from "./japanSupportUtils-DR5unSI9.js";
|
|
32
|
+
import { i as isDateOlderThanAYear } from "./Address-CAzHDiil.js";
|
|
33
|
+
import { u as uppercase } from "./mapExistingFile-BOZ-beF3.js";
|
|
34
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-a6VZDG0x.js";
|
|
35
|
+
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
36
36
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
37
37
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
38
38
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,27 +7,27 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, N as Typography, u as useTranslation, aB as Header, aR as Trans, C as Alert, z as Icon, V as Button, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, x as useAnalyticsContext, P as useLegalEntity, U as Loader, R as ROOT_LE, ae as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, N as Typography, u as useTranslation, aB as Header, aR as Trans, C as Alert, z as Icon, V as Button, B as IconButton, Y as TASK_STATUS_POLLING_INTERVAL_MS, ax as isEmpty$1, a as addResourceBundles, x as useAnalyticsContext, P as useLegalEntity, U as Loader, R as ROOT_LE, ae as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.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-DrlXuGmm.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-pCVJvMOY.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-CS1RRaOG.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
21
|
-
import { F as Field } from "./Field
|
|
22
|
-
import { L as Link } from "./Link-
|
|
23
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
21
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
22
|
+
import { L as Link } from "./Link-DWRRNNKW.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { u as useTaskStatus } from "./getTrustedFields-
|
|
25
|
+
import { u as useTaskStatus } from "./getTrustedFields-Cv6R496P.js";
|
|
26
26
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
27
|
-
import { I as Image } from "./unincorporated-partnership-
|
|
27
|
+
import { I as Image } from "./unincorporated-partnership-5iQ8augf.js";
|
|
28
28
|
import { S as StructuredList } from "./StructuredList-CNha20ka.js";
|
|
29
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
30
|
-
import { i as isEmpty } from "./isEmpty-
|
|
29
|
+
import { L as LandingLayout } from "./LandingLayout-D_EQfRqT.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-BcLvy0xw.js";
|
|
31
31
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
32
32
|
return httpGet({
|
|
33
33
|
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 { ae as createLogger, u as useTranslation, x as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { ae as createLogger, u as useTranslation, x as useAnalyticsContext } from "./StoreProvider-CApjzEDt.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 { z as Icon, N as Typography, x as useAnalyticsContext, ai as noop } from "./StoreProvider-
|
|
12
|
+
import { z as Icon, N as Typography, x as useAnalyticsContext, ai as noop } from "./StoreProvider-CApjzEDt.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-Bq5ccK7z.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,48 +7,48 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ao as entriesOf, ah as objectsDeepEqual, az as reverseMapping, L as LegalEntityTypes, w as TaskTypes, a9 as CountryCodes, aL as hasText, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aG as hasRepeatedCharacters, bg as isValidMinLength, aH as isInvalidName, bw as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, H as useToggleContext, aB as Header, C as Alert, N as Typography, bN as getCountrySpecificTrustTypeOptions, bO as trustComponentsKeyMapping, bP as trustApiKeyMapping, b as useApiContext, am as datasetUtilities, bQ as trustDocumentMapping, an as cloneObject, a8 as getLegalEntityCountry, ax as isEmpty$1, aY as drop, ac as getOwnEntityAssociations, P as useLegalEntity, a as addResourceBundles, aW as useCapabilities, E as EntityTypes, U as Loader, R as ROOT_LE, aT as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ao as entriesOf, ah as objectsDeepEqual, az as reverseMapping, L as LegalEntityTypes, w as TaskTypes, a9 as CountryCodes, aL as hasText, aC as matchesRegex, aD as NO_ALPHABET_REGEX, aE as EMOJI_REGEX, aG as hasRepeatedCharacters, bg as isValidMinLength, aH as isInvalidName, bw as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, H as useToggleContext, aB as Header, C as Alert, N as Typography, bN as getCountrySpecificTrustTypeOptions, bO as trustComponentsKeyMapping, bP as trustApiKeyMapping, b as useApiContext, am as datasetUtilities, bQ as trustDocumentMapping, an as cloneObject, a8 as getLegalEntityCountry, ax as isEmpty$1, aY as drop, ac as getOwnEntityAssociations, P as useLegalEntity, a as addResourceBundles, aW as useCapabilities, E as EntityTypes, U as Loader, R as ROOT_LE, aT as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
13
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-9hHARgoS.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.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, F as FormWrapper } 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, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, p as exemptFromRegistrationNumberDefaultFieldMetadata, q as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, n as getCompanyRegistrationNumberOptions, s as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, o as exemptedFromTaxDefaultFieldMetadata, p as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, f as countryToTaxInfoTypeMap } from "./TaxInformationField-
|
|
25
|
-
import { m as mapAddressLabels } from "./utils-
|
|
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-CtGUDesz.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-pCVJvMOY.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-TnV6PIkt.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-DrlXuGmm.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CMIDJACq.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-C6SkIQLo.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BOZ-beF3.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, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, p as exemptFromRegistrationNumberDefaultFieldMetadata, q as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, l as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as getRegistrationNumberHelperText, j as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, m as inferCompanyRegistrationNumberType, n as getCompanyRegistrationNumberOptions, s as operationalAddressIsSameItems } from "./ConstitutionalDocument-M10n8QHQ.js";
|
|
24
|
+
import { k as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, o as exemptedFromTaxDefaultFieldMetadata, p as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, f as countryToTaxInfoTypeMap } from "./TaxInformationField-ByQTgGxY.js";
|
|
25
|
+
import { m as mapAddressLabels } from "./utils-C0z7wmlu.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-kYn_eC4r.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-B1FpiTip.js";
|
|
28
28
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
29
29
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
30
30
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
31
|
-
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-
|
|
31
|
+
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-CMK2Gs1Z.js";
|
|
32
32
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-Cc3J2-z9.js";
|
|
33
|
-
import { F as Field } from "./Field
|
|
34
|
-
import { S as Select } from "./Select-
|
|
35
|
-
import { u as useForm } from "./useForm-
|
|
36
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
37
|
-
import { I as InputText } from "./InputText-
|
|
38
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
39
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
40
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
42
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
43
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
33
|
+
import { F as Field } from "./Field-DDqviWD6.js";
|
|
34
|
+
import { S as Select } from "./Select-D5a5aVFZ.js";
|
|
35
|
+
import { u as useForm } from "./useForm-BgHdSJLD.js";
|
|
36
|
+
import { E as ErrorPanel } from "./ErrorPanel-rmGb9PlE.js";
|
|
37
|
+
import { I as InputText } from "./InputText-BCi31wZB.js";
|
|
38
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-B0KnMSNK.js";
|
|
39
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BVAIyFiB.js";
|
|
40
|
+
import { i as isEmpty } from "./isEmpty-BcLvy0xw.js";
|
|
41
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-a6VZDG0x.js";
|
|
42
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CS1RRaOG.js";
|
|
43
|
+
import { u as useMultiForm } from "./useMultiForm-D_RXm-EH.js";
|
|
44
44
|
import "preact";
|
|
45
45
|
import "classnames";
|
|
46
46
|
import "named-slots";
|
|
47
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
47
|
+
import { R as RadioGroup } from "./RadioGroup-BOUo26G0.js";
|
|
48
48
|
import "./Radio-BMtxBpnn.js";
|
|
49
49
|
import "@preact/signals";
|
|
50
|
-
import { A as Address } from "./Address-
|
|
51
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
50
|
+
import { A as Address } from "./Address-CAzHDiil.js";
|
|
51
|
+
import { C as ContextGuidance } from "./ContextGuidance-DeSyT-K4.js";
|
|
52
52
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
53
53
|
if (typeof value === "object") {
|
|
54
54
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, P as useLegalEntity, a as addResourceBundles, U as Loader, a8 as getLegalEntityCountry, w as TaskTypes, E as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CApjzEDt.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
13
|
import { useParams } from "wouter-preact";
|
|
14
|
-
import { j as useTrustMembers } from "./OnboardingDropinComponent-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
14
|
+
import { j as useTrustMembers } from "./OnboardingDropinComponent-Cn45HTst.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-I5B0dWUU.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-eIZWfksO.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|