@adyen/kyc-components 4.3.0-beta.2 → 4.3.0-beta.3
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-9-ImLN22.js → AcceptTermsOfServiceComponent-N02RdMPd.js} +14 -14
- package/dist/{AccountSetupRejected-DfZaOzOb.js → AccountSetupRejected-qppDNaqT.js} +1 -1
- package/dist/{ActionBar-KIujm501.js → ActionBar-DPsZuOH9.js} +1 -1
- package/dist/{Address-DnboezRi.js → Address-Bg1lSSzj.js} +9 -9
- package/dist/{Avatar-Ce_F4HTA.js → Avatar-DwoN96es.js} +1 -1
- package/dist/{BusinessFinancingComponent-v2UbtnW9.js → BusinessFinancingComponent-BCtcIpsh.js} +4 -4
- package/dist/{BusinessFinancingDropin-DzqS7jI1.js → BusinessFinancingDropin-CIBqxqkd.js} +26 -26
- package/dist/{BusinessFinancingPage-CQIcMNg2.js → BusinessFinancingPage-DxGt5Ocj.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-wuMGLHpk.js → BusinessTypeSelectionPage-Be153QpA.js} +8 -8
- package/dist/{Checkbox-1IaWDO-5.js → Checkbox-4pvm19W3.js} +1 -1
- package/dist/{Confirm-DeS8uPpS.js → Confirm-CiO_9zke.js} +2 -2
- package/dist/{ConstitutionalDocument-ja5tc97W.js → ConstitutionalDocument-C33ool-C.js} +16 -16
- package/dist/{ContactDetails-ClpK0rYl.js → ContactDetails-kXtXe8q_.js} +5 -5
- package/dist/{ContextGuidance-CkIfITwc.js → ContextGuidance-kiqztLD-.js} +1 -1
- package/dist/{CountryField-DKRNTCxN.js → CountryField-BUevzQI8.js} +3 -3
- package/dist/{CreateIndividualComponent-BWfkj81a.js → CreateIndividualComponent-BB9Lfbcl.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-CQp4LO1m.js → CreateTransferInstrumentComponent-BSk4_wMu.js} +3 -3
- package/dist/{Currency-DZFQVIBy.js → Currency-Co6wZF-F.js} +6 -6
- package/dist/{CustomerSupport-hlRLU2Em.js → CustomerSupport-9t0qwKkV.js} +9 -9
- package/dist/{DebugModal-DFCfk-kr.js → DebugModal-DsQGEEKQ.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-BrKxYF38.js → DecisionMakerDetailsPage-B69yV7Ke.js} +5 -5
- package/dist/{DecisionMakers-BXUgNEG3.js → DecisionMakers-Dq_xy40z.js} +18 -18
- package/dist/{Dropzone-s6lDKk1S.js → Dropzone-D5uZw2p8.js} +3 -3
- package/dist/{EmbeddedStatus-WXeXOFnJ.js → EmbeddedStatus-CMUq4Ea3.js} +2 -2
- package/dist/{EndStateLayout-Dz4Ghepc.js → EndStateLayout-B-Ov73GU.js} +1 -1
- package/dist/{EntityAssociation-DrGfXJnH.js → EntityAssociation-BxI3D_9n.js} +4 -4
- package/dist/{EntityGuidanceStatus-BoRDdM43.js → EntityGuidanceStatus-CowsWEFV.js} +2 -2
- package/dist/{ErrorPanel-CwMEFe2c.js → ErrorPanel-BkOxqUcW.js} +1 -1
- package/dist/{Field-Z4Z58bN7.js → Field-DVRdcOuQ.js} +1 -1
- package/dist/{FormNavigation-DEt00Gjo.js → FormNavigation-DZrIDzq3.js} +2 -2
- package/dist/{FormWrapper-BsxnLJ4E.js → FormWrapper-Nz7qiETh.js} +8 -8
- package/dist/{Image-BKv85hyU.js → Image-UERY5uEG.js} +1 -1
- package/dist/{Individual.rules-DVBgopnA.js → Individual.rules-BawDo3vY.js} +5 -5
- package/dist/{IndividualDropin-Dzy1BXw7.js → IndividualDropin-PNgIzhaT.js} +48 -48
- package/dist/{InputDate-BGu6eRGX.js → InputDate-CZHWRWHn.js} +1 -1
- package/dist/{InputText-_l5XGZIQ.js → InputText-BDr2xZC-.js} +1 -1
- package/dist/{Introduction-uq5E5BQc.js → Introduction-BQnUHIkn.js} +3 -3
- package/dist/{JpAddress-jNI5Hfvi.js → JpAddress-4C5uACEx.js} +8 -8
- package/dist/{LandingLayout-s0kT1OAL.js → LandingLayout-CdcV6BDB.js} +1 -1
- package/dist/{LegalCompanyNameField-B3CltA0G.js → LegalCompanyNameField-Dq-f0pJE.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-DYpVId65.js → LegalRepresentativeDetailsPage-8nf0eFso.js} +3 -3
- package/dist/{Link-Vdj2ae4D.js → Link-jp6BSst5.js} +1 -1
- package/dist/{ListItem-BPiIUSa-.js → ListItem-BhuxnRwc.js} +2 -2
- package/dist/{LoaderWrapper-Bdt1H5n4.js → LoaderWrapper-C4e9OdpX.js} +1 -1
- package/dist/{ManageIndividualComponent-CMvW9O8I.js → ManageIndividualComponent-Be8gdbmP.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DJ1dDuAQ.js → ManageTermsOfServiceComponent-BxieINs4.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-3TmnC1tc.js → ManageTransferInstrumentComponent-DDgxsXIN.js} +10 -10
- package/dist/{MaskedInput-uTXj3Ng-.js → MaskedInput-K5CsmEdt.js} +4 -4
- package/dist/{MaybeModal-C1KNE-2b.js → MaybeModal-BflNR2-2.js} +2 -2
- package/dist/{Modal-DaRLXdJf.js → Modal-Bylrd08N.js} +1 -1
- package/dist/{Name-ChjGwqJ0.js → Name-AwICGMd0.js} +4 -4
- package/dist/{OnboardingDropinComponent-CAka_-XA.js → OnboardingDropinComponent-DDXpr_5c.js} +50 -50
- package/dist/{PayoutDetailsDropin-BahPkJ5P.js → PayoutDetailsDropin-BMFYjkAi.js} +38 -38
- package/dist/{RadioGroup-BBnZj4W8.js → RadioGroup-bUX5rcZj.js} +1 -1
- package/dist/{RadioGroupCard-1qSGvUGx.js → RadioGroupCard-C8HZZB2J.js} +1 -1
- package/dist/{Review-BPrq-7fK.js → Review-DW-0PrCC.js} +5 -5
- package/dist/{RootBusinessDetailsPage-C5DbGEiQ.js → RootBusinessDetailsPage-iW8nQTPF.js} +3 -3
- package/dist/{RootBusinessLinesPage-DSs0g7Bj.js → RootBusinessLinesPage-BRbwkL2R.js} +25 -25
- package/dist/{RootIndividualDetailsPage-9hYxvj_r.js → RootIndividualDetailsPage-Yut0K0hU.js} +3 -3
- package/dist/{Select-CDQ4iKox.js → Select-CXXz1RK7.js} +3 -3
- package/dist/{SignPCIComponent-D9Wy1_ZI.js → SignPCIComponent-V4kihXYP.js} +10 -10
- package/dist/{SingpassSelection-COcGH4T9.js → SingpassSelection-CqqF6zJF.js} +5 -5
- package/dist/{SoleProprietorshipPage-YHllAMBO.js → SoleProprietorshipPage-CN0pa1YB.js} +3 -3
- package/dist/{SourceOfFundsPage-BhLWJpGV.js → SourceOfFundsPage-DmVuwfLS.js} +30 -30
- package/dist/{StepProgressIndicator-0QbfbM-8.js → StepProgressIndicator-DJn4rZ5t.js} +1 -1
- package/dist/{StoreProvider-DLqUtIHv.js → StoreProvider-fQYx-RPc.js} +4 -4
- package/dist/{Summary-caL0qZjz.js → Summary-hGkJO37D.js} +4 -4
- package/dist/{TaxInformationField-BkGtDFw4.js → TaxInformationField-JdMfAIv8.js} +17 -17
- package/dist/{TaxReportingDropin-DLRV39BU.js → TaxReportingDropin-CZZAp9FV.js} +13 -13
- package/dist/{TextArea-CQrM775_.js → TextArea-BiH1RRYp.js} +1 -1
- package/dist/{TileGroup-Cq7vLRd5.js → TileGroup-CdqFygWv.js} +2 -2
- package/dist/{TrustDetailsPage-C22tgvxL.js → TrustDetailsPage-BMWmYwKG.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CCeNCZ0m.js → TrustMemberCompanyPage-bfyqb3Mk.js} +4 -4
- package/dist/{TrustMemberIndividualPage-C1XM9vYK.js → TrustMemberIndividualPage-BnVTOtwf.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-LRbm4eyB.js → TrustMemberRoleAndTypePage-Co0y4L8A.js} +20 -20
- package/dist/{TrustMembersOverview--G_a6688.js → TrustMembersOverview-IFzxS4GA.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DjJPuQ1t.js → UnincorporatedPartnershipIndividualPage-DMX_NRCF.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BHeF9N9u.js → UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-rc9vBbhg.js → UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-Bc0N7SgX.js → UnincorporatedPartnershipMembersOverview-BtE5NtjF.js} +6 -6
- package/dist/{VerificationErrorAlert-DzBr1ivR.js → VerificationErrorAlert-Dh1YkL3d.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-7fXmJ7oo.js → ViewVerificationStatusComponent-BTpnN2vP.js} +2 -2
- package/dist/{accountHolderUtils-C77s6-rF.js → accountHolderUtils-rpJd6WrL.js} +1 -1
- 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 +6 -6
- package/dist/adyen-kyc-components.js +16 -16
- 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-BA2QmppA.js → bafinUtils-DcLbZWp-.js} +1 -1
- package/dist/{commonValidators-BEAQieRZ.js → commonValidators-c_nO9sQJ.js} +1 -1
- package/dist/{dropinUtils-FSB8Ysfb.js → dropinUtils-BCy_VUQ7.js} +3 -3
- package/dist/{formUtils-Cw07RDxl.js → formUtils-CRcJbbRb.js} +2 -2
- package/dist/{getName-jOaN6bEo.js → getName-qR9fguc7.js} +1 -1
- package/dist/{getProblemsForEntity-Cpp79N5N.js → getProblemsForEntity-BuH9zCjL.js} +1 -1
- package/dist/{iframeWidget-OXIn557m.js → iframeWidget-D3xqr78r.js} +3 -3
- package/dist/{isEmpty-DsEtZpIE.js → isEmpty-CYgAPBO_.js} +1 -1
- package/dist/{japanSupportUtils-D7ahGsil.js → japanSupportUtils-DMYU8nVm.js} +1 -1
- package/dist/{localizeDateString-CGZ798Bl.js → localizeDateString-Cum2LWIN.js} +1 -1
- package/dist/{mapExistingFile-gBKAHdzC.js → mapExistingFile-BMfqEXKo.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-CbEp6AJY.js → mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-CZ1nAjYV.js → mapLegalEntityToIndividualSchema-Cr447xyd.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-Bxn3M4w1.js → mapTransferInstrumentToPayoutAccount-D95_lgpR.js} +1 -1
- package/dist/{patternValidators-CGBvuH8V.js → patternValidators-NunsWcYm.js} +1 -1
- package/dist/{process-field-configurations-BCImS6WV.js → process-field-configurations-Cxprq5Bv.js} +2 -2
- package/dist/{resolveEnvironment-h9ME0MtG.js → resolveEnvironment-CbPqGmgO.js} +3 -3
- package/dist/{roleMetadata-DK9C9DYA.js → roleMetadata-BPMWB7Co.js} +1 -1
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/{types-CjDp1ZJQ.js → types-B0REvjqJ.js} +1 -1
- package/dist/{types-YEcYkhnD.js → types-BU7-Cx4D.js} +1 -1
- package/dist/{types-CF5Fq4zT.js → types-CajVo6N9.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BbzhxlhG.js → useAssociatedLegalEntity-CeJzxLG3.js} +1 -1
- package/dist/{useBusinessDetailsData-Ddh77R12.js → useBusinessDetailsData-Dtkh2qCL.js} +55 -55
- package/dist/{useBusinessLines-BkHffvA1.js → useBusinessLines-CI7V55s9.js} +1 -1
- package/dist/{useCanSeeIntroduction-Cu1V5Sf5.js → useCanSeeIntroduction-C90WBJIj.js} +1 -1
- package/dist/{useCreateLegalEntity-CQYi1Uqw.js → useCreateLegalEntity-Dj5Svx3v.js} +1 -1
- package/dist/{useDataMissingRemediations-CNgRBVr1.js → useDataMissingRemediations-CMoZmPj8.js} +1 -1
- package/dist/{useDeleteTransferInstrument-BU1Ohhqk.js → useDeleteTransferInstrument-DeshUcGV.js} +2 -2
- package/dist/{useForm-ChN_i-0E.js → useForm-B7W5yMWm.js} +2 -2
- package/dist/{useFormContext-CG-xpqzp.js → useFormContext-CC7hF-So.js} +6 -6
- package/dist/{useGlobalData-H3pXVnNa.js → useGlobalData-Bsa1YYFJ.js} +1 -1
- package/dist/{useMultiForm-C2nWUpQl.js → useMultiForm-B8wZN7OS.js} +3 -3
- package/dist/{useNavigate-BnNchOWn.js → useNavigate-CDqshXn_.js} +29 -29
- package/dist/{useOnboardingStatus-DnbuysAl.js → useOnboardingStatus-Bx93aUc5.js} +1 -1
- package/dist/{usePciQuestionnaireList-DuTOG97B.js → usePciQuestionnaireList-ShylU7zj.js} +1 -1
- package/dist/{useSalesChannels-CmmQc-P2.js → useSalesChannels-DaFbHGd2.js} +2 -2
- package/dist/{useScenarios-CDidhm-4.js → useScenarios-SRhCOjKY.js} +1 -1
- package/dist/{useTaskStatus-vrOTWyGh.js → useTaskStatus-Djc4CV1h.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BqIU9xYs.js → useTermsOfServiceStatus-Dka0I_mz.js} +1 -1
- package/dist/{useToastContext-CrIGGdcG.js → useToastContext-D7A5CxP0.js} +1 -1
- package/dist/{useTrustMembers-BHCrcJru.js → useTrustMembers-hMw5YJIq.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-BFFZIKAf.js → useUnincorporatedPartnershipMembers-qkl61jqm.js} +3 -3
- package/dist/{useUpdateBusinessLines-D9X4Hh01.js → useUpdateBusinessLines-BsSqtztQ.js} +3 -3
- package/dist/{useUpdateLegalEntity-Cf0F07Mj.js → useUpdateLegalEntity-CKdDx6G9.js} +2 -2
- package/dist/{utils-D9IdOjnx.js → utils-BHGl7ECx.js} +1 -1
- package/dist/{utils-B5EucYsp.js → utils-BpVD-ywY.js} +1 -1
- package/dist/{utils-BKRbefrM.js → utils-CccTth_m.js} +2 -2
- package/dist/{utils-CLU3ulgW.js → utils-D4GIPqz0.js} +1 -1
- package/dist/{utils--g4xMpbo.js → utils-DgjlljPB.js} +4 -4
- package/dist/{validate-U3OcpE_T.js → validate-Cx7psWcv.js} +1 -1
- package/dist/{validate-Cb8mJeKd.js → validate-D726W3qy.js} +2 -2
- package/dist/{validationError-BprZHghs.js → validationError-Ca_TT6DG.js} +1 -1
- package/package.json +1 -1
|
@@ -7,42 +7,42 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes, ai as entriesOf, a8 as createLogger, u as useTranslation, au as Header, G as Loader, q as IconButton, z as Typography, B as StackLayout, aL as Trans, Z as Button, b as useApiContext, al as httpDelete, v as useExperimentsContext, m as useAnalyticsContext, M as TASK_STATUS_POLLING_INTERVAL_MS, ad as EntityTypes, C as useLegalEntity, a as addResourceBundles, h as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes, ai as entriesOf, a8 as createLogger, u as useTranslation, au as Header, G as Loader, q as IconButton, z as Typography, B as StackLayout, aL as Trans, Z as Button, b as useApiContext, al as httpDelete, v as useExperimentsContext, m as useAnalyticsContext, M as TASK_STATUS_POLLING_INTERVAL_MS, ad as EntityTypes, C as useLegalEntity, a as addResourceBundles, h as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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 { u as useBusinessLines } from "./useBusinessLines-
|
|
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 usePciQuestionnaireList } from "./usePciQuestionnaireList-
|
|
17
|
-
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-
|
|
18
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
19
|
-
import { u as useToastContext } from "./useToastContext-
|
|
20
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
23
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
+
import { u as useBusinessLines } from "./useBusinessLines-CI7V55s9.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-BsSqtztQ.js";
|
|
16
|
+
import { u as usePciQuestionnaireList } from "./usePciQuestionnaireList-ShylU7zj.js";
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-DaFbHGd2.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CC7hF-So.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D7A5CxP0.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Cxprq5Bv.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BCy_VUQ7.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-B8wZN7OS.js";
|
|
23
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BuH9zCjL.js";
|
|
24
24
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
25
|
-
import { s as summaryStep } from "./Summary-
|
|
26
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
25
|
+
import { s as summaryStep } from "./Summary-hGkJO37D.js";
|
|
26
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CRcJbbRb.js";
|
|
27
27
|
import { Show } from "@preact/signals/utils";
|
|
28
|
-
import { C as Checkbox } from "./Checkbox-
|
|
29
|
-
import { F as Field } from "./Field-
|
|
30
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
31
|
-
import { I as InputText } from "./InputText-
|
|
32
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
33
|
-
import { A as Avatar } from "./Avatar-
|
|
28
|
+
import { C as Checkbox } from "./Checkbox-4pvm19W3.js";
|
|
29
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Bylrd08N.js";
|
|
31
|
+
import { I as InputText } from "./InputText-BDr2xZC-.js";
|
|
32
|
+
import { SignPCIComponent } from "./SignPCIComponent-V4kihXYP.js";
|
|
33
|
+
import { A as Avatar } from "./Avatar-DwoN96es.js";
|
|
34
34
|
import cx from "classnames";
|
|
35
35
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.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-jp6BSst5.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { I as Image } from "./Image-
|
|
40
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
41
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
39
|
+
import { I as Image } from "./Image-UERY5uEG.js";
|
|
40
|
+
import { L as LandingLayout } from "./LandingLayout-CdcV6BDB.js";
|
|
41
|
+
import { u as useTaskStatus } from "./useTaskStatus-Djc4CV1h.js";
|
|
42
42
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
43
|
-
import { L as ListItem } from "./ListItem-
|
|
43
|
+
import { L as ListItem } from "./ListItem-BhuxnRwc.js";
|
|
44
44
|
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
45
|
-
import { C as Confirm } from "./Confirm-
|
|
45
|
+
import { C as Confirm } from "./Confirm-CiO_9zke.js";
|
|
46
46
|
const rules = ({ data, country }) => {
|
|
47
47
|
return createFormRules({
|
|
48
48
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-9hYxvj_r.js → RootIndividualDetailsPage-Yut0K0hU.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as useLegalEntity, k as useAccountHolder, u as useTranslation, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, O as isPartOfTrustFromLegalEntity, ad as EntityTypes, ac as noop, h as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bk as individualBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { C as useLegalEntity, k as useAccountHolder, u as useTranslation, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, O as isPartOfTrustFromLegalEntity, ad as EntityTypes, ac as noop, h as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, bk as individualBaseMapping } from "./StoreProvider-fQYx-RPc.js";
|
|
11
11
|
import { 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-BuH9zCjL.js";
|
|
13
13
|
import { f as filterProblemsByTaskForms } from "./filterProblemsByTaskForms-Cz7iQtms.js";
|
|
14
14
|
import { g as getTrustedFieldsProvider, b as getTrustedFields } from "./getTrustedFields-C5-mXl-l.js";
|
|
15
|
-
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-
|
|
15
|
+
import { I as IndividualDropin, i as individualForms } from "./IndividualDropin-PNgIzhaT.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 { m as useAnalyticsContext, G as Loader, ac as noop, z as Typography, a8 as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-Bylrd08N.js";
|
|
15
|
+
import { m as useAnalyticsContext, G as Loader, ac as noop, z as Typography, a8 as createLogger, u as useTranslation } from "./StoreProvider-fQYx-RPc.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-4pvm19W3.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, a3 as httpPost, aq as isEmpty, u as useTranslation, m as useAnalyticsContext, ar as getOwnDecisionMakers, L as LegalEntityTypes, h as TaskTypes, Z as Button, a as addResourceBundles, C as useLegalEntity, G as Loader, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a3 as httpPost, aq as isEmpty, u as useTranslation, m as useAnalyticsContext, ar as getOwnDecisionMakers, L as LegalEntityTypes, h as TaskTypes, Z as Button, a as addResourceBundles, C as useLegalEntity, G as Loader, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-DaFbHGd2.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-D7A5CxP0.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-BflNR2-2.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-B-Ov73GU.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-4pvm19W3.js";
|
|
20
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
21
|
+
import { S as Select } from "./Select-CXXz1RK7.js";
|
|
22
|
+
import { u as useForm } from "./useForm-B7W5yMWm.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) => {
|
|
@@ -242,7 +242,7 @@ function SignPCIComponent({
|
|
|
242
242
|
const additionalSalesChannels = useSalesChannels();
|
|
243
243
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
244
244
|
addResourceBundles(i18n, [
|
|
245
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNRJzjXu.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BMnoWiIi.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D17SWJin.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DC90bn2y.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B2xt_Hn1.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
245
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-BNRJzjXu.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-BMnoWiIi.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-D17SWJin.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-DC90bn2y.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-B2xt_Hn1.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-fQYx-RPc.js").then((n) => n.bT), "../../../language/locales/es-ES.json": () => import("./es-ES-CzG-lilL.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-B7OzU-54.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-DooPgPb1.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-29mQrnro.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-BFu1_Xrc.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-nf030gFT.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-CToDWXlu.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-BkAEknQ-.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DxzEdyVV.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-D-j-4Dao.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-C8CEGqAc.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-DbVtqyON.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-Bxtudsvi.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-CL4JYBNe.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C-OZtnUM.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-Dq1NTg-A.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-CMvUjDgW.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-BslBqaxO.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-Dm_WHV9V.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
246
246
|
{ 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-CjjPhkB5.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) },
|
|
247
247
|
{ 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) }
|
|
248
248
|
]);
|
|
@@ -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, z as Typography, Z as Button, L 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, z as Typography, Z as Button, L as LegalEntityTypes } from "./StoreProvider-fQYx-RPc.js";
|
|
14
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
15
|
+
import { I as Image } from "./Image-UERY5uEG.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-C8HZZB2J.js";
|
|
17
|
+
import { u as useForm } from "./useForm-B7W5yMWm.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, G as Loader, a4 as getLegalEntityCountry, h as TaskTypes, ad as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, C as useLegalEntity, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, h as TaskTypes, ad as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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-BuH9zCjL.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-Dtkh2qCL.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,45 +7,45 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, a3 as httpPost, j as httpGet, u as useTranslation, z as Typography, r as Alert, Z as Button, af as useI18nContext, G as Loader, p as Icon, q as IconButton, M as TASK_STATUS_POLLING_INTERVAL_MS, au as Header, B as StackLayout, a8 as createLogger, C as useLegalEntity, R as ROOT_LE, m as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, ad as EntityTypes, a4 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, a3 as httpPost, j as httpGet, u as useTranslation, z as Typography, r as Alert, Z as Button, af as useI18nContext, G as Loader, p as Icon, q as IconButton, M as TASK_STATUS_POLLING_INTERVAL_MS, au as Header, B as StackLayout, a8 as createLogger, C as useLegalEntity, R as ROOT_LE, m as useAnalyticsContext, bS as useLegalEntities, a as addResourceBundles, ad as EntityTypes, a4 as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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-BuH9zCjL.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { u as useBusinessLines } from "./useBusinessLines-
|
|
14
|
+
import { u as useBusinessLines } from "./useBusinessLines-CI7V55s9.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-D7A5CxP0.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Dj5Svx3v.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKdDx6G9.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CC7hF-So.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BCy_VUQ7.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-B8wZN7OS.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-D726W3qy.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-BkOxqUcW.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-CRcJbbRb.js";
|
|
27
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
28
|
+
import { S as Select } from "./Select-CXXz1RK7.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-BiH1RRYp.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-CZHWRWHn.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, 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 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 { M as Modal } from "./Modal-
|
|
38
|
-
import { C as Confirm } from "./Confirm-
|
|
39
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-BDr2xZC-.js";
|
|
33
|
+
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 getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-CccTth_m.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-bUX5rcZj.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-BUevzQI8.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-DwoN96es.js";
|
|
37
|
+
import { M as Modal } from "./Modal-Bylrd08N.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-CiO_9zke.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-CdqFygWv.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
42
|
-
import { I as Image } from "./Image-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
44
|
-
import { i as isEmpty } from "./isEmpty-
|
|
41
|
+
import { u as useTaskStatus } from "./useTaskStatus-Djc4CV1h.js";
|
|
42
|
+
import { I as Image } from "./Image-UERY5uEG.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-CdcV6BDB.js";
|
|
44
|
+
import { i as isEmpty } from "./isEmpty-CYgAPBO_.js";
|
|
45
45
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
46
46
|
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
47
|
-
import { D as Dropzone } from "./Dropzone-
|
|
48
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
47
|
+
import { D as Dropzone } from "./Dropzone-D5uZw2p8.js";
|
|
48
|
+
import { v as validateDateNotInTheFuture } from "./validate-Cx7psWcv.js";
|
|
49
49
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
50
50
|
return httpPost(
|
|
51
51
|
{
|
|
@@ -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, z as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, z as Typography } from "./StoreProvider-fQYx-RPc.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] = "c6eb5465-3b1a-4f53-9023-553ca630d53c", e2._sentryDebugIdIdentifier = "sentry-dbid-c6eb5465-3b1a-4f53-9023-553ca630d53c");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4764,7 +4764,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4764
4764
|
};
|
|
4765
4765
|
};
|
|
4766
4766
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4767
|
-
const sdkVersion = "4.3.0-beta.
|
|
4767
|
+
const sdkVersion = "4.3.0-beta.3";
|
|
4768
4768
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4769
4769
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4770
4770
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4855,7 +4855,7 @@ const AnalyticsProvider = ({
|
|
|
4855
4855
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4856
4856
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4857
4857
|
const sessionData = {
|
|
4858
|
-
sdkVersion: "4.3.0-beta.
|
|
4858
|
+
sdkVersion: "4.3.0-beta.3",
|
|
4859
4859
|
componentName,
|
|
4860
4860
|
userAgent: navigator.userAgent,
|
|
4861
4861
|
legalEntityId: rootLegalEntityId,
|
|
@@ -5306,7 +5306,7 @@ const AllowedCountryGate = ({ children }) => {
|
|
|
5306
5306
|
);
|
|
5307
5307
|
return /* @__PURE__ */ jsx(Fragment$2, { children });
|
|
5308
5308
|
};
|
|
5309
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
5309
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-DsQGEEKQ.js")).DebugModal);
|
|
5310
5310
|
const DebugListener = () => {
|
|
5311
5311
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
5312
5312
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { m as useAnalyticsContext, af as useI18nContext, u as useTranslation, au as Header, aq as isEmpty, q as IconButton, a7 as translateTranslatable, bu as Svg } from "./StoreProvider-
|
|
11
|
+
import { m as useAnalyticsContext, af as useI18nContext, u as useTranslation, au as Header, aq as isEmpty, q as IconButton, a7 as translateTranslatable, bu as Svg } from "./StoreProvider-fQYx-RPc.js";
|
|
12
12
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
13
13
|
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
14
14
|
import { useEffect } from "preact/hooks";
|
|
15
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
15
|
+
import { E as ErrorPanel } from "./ErrorPanel-BkOxqUcW.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-CRcJbbRb.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-BPMWB7Co.js";
|
|
19
19
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
20
20
|
const usePageLandedEvent = () => {
|
|
21
21
|
const userEvents = useAnalyticsContext();
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bm as getNestedPropertyKeys, a5 as CountryCodes, L as LegalEntityTypes, ab as objectsDeepEqual, u as useTranslation, au as Header, h as TaskTypes, aN as keysOf, v as useExperimentsContext, k as useAccountHolder, a7 as translateTranslatable } from "./StoreProvider-
|
|
10
|
+
import { bm as getNestedPropertyKeys, a5 as CountryCodes, L as LegalEntityTypes, ab as objectsDeepEqual, u as useTranslation, au as Header, h as TaskTypes, aN as keysOf, v as useExperimentsContext, k as useAccountHolder, a7 as translateTranslatable } from "./StoreProvider-fQYx-RPc.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 { 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-
|
|
19
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
20
|
-
import { D as Dropzone } from "./Dropzone-
|
|
21
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
22
|
-
import { c as createFormUtils } from "./formUtils-
|
|
23
|
-
import { C as Checkbox } from "./Checkbox-
|
|
14
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
15
|
+
import { S as Select } from "./Select-CXXz1RK7.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-BiH1RRYp.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-D726W3qy.js";
|
|
18
|
+
import { u as useForm } from "./useForm-B7W5yMWm.js";
|
|
19
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-BMfqEXKo.js";
|
|
20
|
+
import { D as Dropzone } from "./Dropzone-D5uZw2p8.js";
|
|
21
|
+
import { E as ErrorPanel } from "./ErrorPanel-BkOxqUcW.js";
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-CRcJbbRb.js";
|
|
23
|
+
import { C as Checkbox } from "./Checkbox-4pvm19W3.js";
|
|
24
24
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
25
|
-
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-
|
|
25
|
+
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-K5CsmEdt.js";
|
|
26
26
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
27
27
|
import { S as SettingNames } from "./types-CQ2p58-6.js";
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-BHGl7ECx.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isJapanLocalizationEnabled } 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 isJapanLocalizationEnabled } from "./japanSupportUtils-DMYU8nVm.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-Bg1lSSzj.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-NunsWcYm.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-bUX5rcZj.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,27 +7,27 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpGet, z as Typography, u as useTranslation, au as Header, aL as Trans, r as Alert, p as Icon, Z as Button, q as IconButton, M as TASK_STATUS_POLLING_INTERVAL_MS, aq as isEmpty$1, a as addResourceBundles, m as useAnalyticsContext, C as useLegalEntity, G as Loader, R as ROOT_LE, a8 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpGet, z as Typography, u as useTranslation, au as Header, aL as Trans, r as Alert, p as Icon, Z as Button, q as IconButton, M as TASK_STATUS_POLLING_INTERVAL_MS, aq as isEmpty$1, a as addResourceBundles, m as useAnalyticsContext, C as useLegalEntity, G as Loader, R as ROOT_LE, a8 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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-D7A5CxP0.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKdDx6G9.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-CC7hF-So.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BCy_VUQ7.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-B8wZN7OS.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-DVRdcOuQ.js";
|
|
22
|
+
import { L as Link } from "./Link-jp6BSst5.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-bUX5rcZj.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
25
|
+
import { u as useTaskStatus } from "./useTaskStatus-Djc4CV1h.js";
|
|
26
26
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
27
|
-
import { I as Image } from "./Image-
|
|
27
|
+
import { I as Image } from "./Image-UERY5uEG.js";
|
|
28
28
|
import { S as StructuredList } from "./StructuredList-Bh1vlAFE.js";
|
|
29
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
30
|
-
import { i as isEmpty } from "./isEmpty-
|
|
29
|
+
import { L as LandingLayout } from "./LandingLayout-CdcV6BDB.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-CYgAPBO_.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 { a8 as createLogger, u as useTranslation, m as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { a8 as createLogger, u as useTranslation, m as useAnalyticsContext } from "./StoreProvider-fQYx-RPc.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 { p as Icon, z as Typography, m as useAnalyticsContext, ac as noop } from "./StoreProvider-
|
|
12
|
+
import { p as Icon, z as Typography, m as useAnalyticsContext, ac as noop } from "./StoreProvider-fQYx-RPc.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-Bylrd08N.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,49 +7,49 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ai as entriesOf, ab as objectsDeepEqual, as as reverseMapping, L as LegalEntityTypes, h as TaskTypes, a5 as CountryCodes, aD as hasText, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, bc as isValidMinLength, az as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, au as Header, r as Alert, z as Typography, bO as getCountrySpecificTrustTypeOptions, bP as trustComponentsKeyMapping, bQ as trustApiKeyMapping, b as useApiContext, m as useAnalyticsContext, ag as datasetUtilities, bR as trustDocumentMapping, ah as cloneObject, a4 as getLegalEntityCountry, aq as isEmpty$1, aS as drop, am as getOwnEntityAssociations, C as useLegalEntity, a as addResourceBundles, aQ as useCapabilities, ad as EntityTypes, G as Loader, R as ROOT_LE, aN as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ai as entriesOf, ab as objectsDeepEqual, as as reverseMapping, L as LegalEntityTypes, h as TaskTypes, a5 as CountryCodes, aD as hasText, av as matchesRegex, aw as NO_ALPHABET_REGEX, ax as EMOJI_REGEX, ay as hasRepeatedCharacters, bc as isValidMinLength, az as isInvalidName, bv as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, au as Header, r as Alert, z as Typography, bO as getCountrySpecificTrustTypeOptions, bP as trustComponentsKeyMapping, bQ as trustApiKeyMapping, b as useApiContext, m as useAnalyticsContext, ag as datasetUtilities, bR as trustDocumentMapping, ah as cloneObject, a4 as getLegalEntityCountry, aq as isEmpty$1, aS as drop, am as getOwnEntityAssociations, C as useLegalEntity, a as addResourceBundles, aQ as useCapabilities, ad as EntityTypes, G as Loader, R as ROOT_LE, aN as keysOf, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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-CeJzxLG3.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BuH9zCjL.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, k as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, n as exemptFromRegistrationNumberDefaultFieldMetadata, p 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, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-
|
|
24
|
-
import { n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, w as exemptedFromTaxDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap } from "./TaxInformationField-
|
|
25
|
-
import { m as mapAddressLabels } from "./utils-
|
|
26
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
27
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
28
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Dj5Svx3v.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-CKdDx6G9.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-Bsa1YYFJ.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D7A5CxP0.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Cxprq5Bv.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BCy_VUQ7.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BMfqEXKo.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, n as exemptFromRegistrationNumberDefaultFieldMetadata, p 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, q as operationalAddressIsSameItems } from "./ConstitutionalDocument-C33ool-C.js";
|
|
24
|
+
import { n as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, w as exemptedFromTaxDefaultFieldMetadata, x as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap } from "./TaxInformationField-JdMfAIv8.js";
|
|
25
|
+
import { m as mapAddressLabels } from "./utils-BHGl7ECx.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-Nz7qiETh.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-Ca_TT6DG.js";
|
|
28
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-D726W3qy.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-B0REvjqJ.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-Cc3J2-z9.js";
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { S as Select } from "./Select-
|
|
36
|
-
import { u as useForm } from "./useForm-
|
|
37
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
38
|
-
import { I as InputText } from "./InputText-
|
|
39
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
40
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
41
|
-
import { i as isEmpty } from "./isEmpty-
|
|
42
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
43
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
44
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { F as Field } from "./Field-DVRdcOuQ.js";
|
|
35
|
+
import { S as Select } from "./Select-CXXz1RK7.js";
|
|
36
|
+
import { u as useForm } from "./useForm-B7W5yMWm.js";
|
|
37
|
+
import { E as ErrorPanel } from "./ErrorPanel-BkOxqUcW.js";
|
|
38
|
+
import { I as InputText } from "./InputText-BDr2xZC-.js";
|
|
39
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BUevzQI8.js";
|
|
40
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CRcJbbRb.js";
|
|
41
|
+
import { i as isEmpty } from "./isEmpty-CYgAPBO_.js";
|
|
42
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-NunsWcYm.js";
|
|
43
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CC7hF-So.js";
|
|
44
|
+
import { u as useMultiForm } from "./useMultiForm-B8wZN7OS.js";
|
|
45
45
|
import "preact";
|
|
46
46
|
import "classnames";
|
|
47
47
|
import "named-slots";
|
|
48
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
48
|
+
import { R as RadioGroup } from "./RadioGroup-bUX5rcZj.js";
|
|
49
49
|
import "./Radio-BMtxBpnn.js";
|
|
50
|
-
import { A as Address } from "./Address-
|
|
50
|
+
import { A as Address } from "./Address-Bg1lSSzj.js";
|
|
51
51
|
import "@preact/signals";
|
|
52
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
52
|
+
import { C as ContextGuidance } from "./ContextGuidance-kiqztLD-.js";
|
|
53
53
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
54
54
|
if (typeof value === "object") {
|
|
55
55
|
return !objectsDeepEqual(value, initialData?.[key]);
|
|
@@ -7,13 +7,13 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, C as useLegalEntity, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, h as TaskTypes, ad as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, C as useLegalEntity, a as addResourceBundles, G as Loader, a4 as getLegalEntityCountry, h as TaskTypes, ad as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-fQYx-RPc.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 { u as useTrustMembers } from "./useTrustMembers-
|
|
15
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
16
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
14
|
+
import { u as useTrustMembers } from "./useTrustMembers-hMw5YJIq.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-BuH9zCjL.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-Dtkh2qCL.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|