@adyen/kyc-components 4.3.0-beta.3 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-N02RdMPd.js → AcceptTermsOfServiceComponent-OMNQzzlt.js} +14 -14
- package/dist/{AccountSetupRejected-qppDNaqT.js → AccountSetupRejected-BmELqasB.js} +1 -1
- package/dist/{ActionBar-DPsZuOH9.js → ActionBar-CYYTQnyt.js} +1 -1
- package/dist/{Address-Bg1lSSzj.js → Address-BuvEwdEz.js} +9 -9
- package/dist/{Avatar-DwoN96es.js → Avatar-6Ijr-U98.js} +1 -1
- package/dist/{BusinessFinancingComponent-BCtcIpsh.js → BusinessFinancingComponent-C_dvZWrV.js} +4 -4
- package/dist/{BusinessFinancingDropin-CIBqxqkd.js → BusinessFinancingDropin-CqBXTRew.js} +26 -26
- package/dist/{BusinessFinancingPage-DxGt5Ocj.js → BusinessFinancingPage-CJXuD19C.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-Be153QpA.js → BusinessTypeSelectionPage-0ykcbLXM.js} +8 -8
- package/dist/{Checkbox-4pvm19W3.js → Checkbox-CEt2JNWg.js} +1 -1
- package/dist/{Confirm-CiO_9zke.js → Confirm-tO8eG5lI.js} +2 -2
- package/dist/{ConstitutionalDocument-C33ool-C.js → ConstitutionalDocument-BNQrCuoP.js} +16 -16
- package/dist/{ContactDetails-kXtXe8q_.js → ContactDetails-wRdhpEXl.js} +5 -5
- package/dist/{ContextGuidance-kiqztLD-.js → ContextGuidance-D-wkN66k.js} +1 -1
- package/dist/{CountryField-BUevzQI8.js → CountryField-BfpNTqr6.js} +3 -3
- package/dist/{CreateIndividualComponent-BB9Lfbcl.js → CreateIndividualComponent-BXI_yAXJ.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-BSk4_wMu.js → CreateTransferInstrumentComponent-C94kteP5.js} +3 -3
- package/dist/{Currency-Co6wZF-F.js → Currency-CIvge00Z.js} +6 -6
- package/dist/{CustomerSupport-9t0qwKkV.js → CustomerSupport-Cn0cURdF.js} +9 -9
- package/dist/{DebugModal-DsQGEEKQ.js → DebugModal-CPJQfotk.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-B69yV7Ke.js → DecisionMakerDetailsPage-HY7FMT3F.js} +5 -5
- package/dist/{DecisionMakers-Dq_xy40z.js → DecisionMakers-C9Y6zR4s.js} +18 -18
- package/dist/{Dropzone-D5uZw2p8.js → Dropzone-B87ivHUX.js} +3 -3
- package/dist/{EmbeddedStatus-CMUq4Ea3.js → EmbeddedStatus-Qp66N9js.js} +2 -2
- package/dist/{EndStateLayout-B-Ov73GU.js → EndStateLayout-BcYjyuoi.js} +1 -1
- package/dist/{EntityAssociation-BxI3D_9n.js → EntityAssociation-NEf45gFy.js} +4 -4
- package/dist/{EntityGuidanceStatus-CowsWEFV.js → EntityGuidanceStatus-BSe0LbpA.js} +2 -2
- package/dist/{ErrorPanel-BkOxqUcW.js → ErrorPanel-0defccwj.js} +1 -1
- package/dist/{Field-DVRdcOuQ.js → Field-CS5lBNi-.js} +1 -1
- package/dist/{FormNavigation-DZrIDzq3.js → FormNavigation-Ds6Zo4kr.js} +2 -2
- package/dist/{FormWrapper-Nz7qiETh.js → FormWrapper-CM27JHcm.js} +8 -8
- package/dist/{Image-UERY5uEG.js → Image-kVLn7Cb2.js} +1 -1
- package/dist/{Individual.rules-BawDo3vY.js → Individual.rules-BKCZ5pw4.js} +5 -5
- package/dist/{IndividualDropin-PNgIzhaT.js → IndividualDropin-BEfS_NNT.js} +48 -48
- package/dist/{InputDate-CZHWRWHn.js → InputDate-DbPcPUic.js} +1 -1
- package/dist/{InputText-BDr2xZC-.js → InputText-CQMxEarX.js} +1 -1
- package/dist/{Introduction-BQnUHIkn.js → Introduction-_K-ioq4w.js} +3 -3
- package/dist/{JpAddress-4C5uACEx.js → JpAddress-8qsY8wnP.js} +8 -8
- package/dist/{LandingLayout-CdcV6BDB.js → LandingLayout-Bx0c6vHb.js} +1 -1
- package/dist/{LegalCompanyNameField-Dq-f0pJE.js → LegalCompanyNameField-BD6Te5c5.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-8nf0eFso.js → LegalRepresentativeDetailsPage-C3QWHa7T.js} +3 -3
- package/dist/{Link-jp6BSst5.js → Link-deXxlSsM.js} +1 -1
- package/dist/{ListItem-BhuxnRwc.js → ListItem-Dtx0lKaK.js} +2 -2
- package/dist/{LoaderWrapper-C4e9OdpX.js → LoaderWrapper-Dg9BXOfN.js} +1 -1
- package/dist/{ManageIndividualComponent-Be8gdbmP.js → ManageIndividualComponent-DvmShxf5.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BxieINs4.js → ManageTermsOfServiceComponent-rpvf07UO.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DDgxsXIN.js → ManageTransferInstrumentComponent-D_10bdI3.js} +10 -10
- package/dist/{MaskedInput-K5CsmEdt.js → MaskedInput-DX9qywO6.js} +4 -4
- package/dist/{MaybeModal-BflNR2-2.js → MaybeModal-B6Y-CUwt.js} +2 -2
- package/dist/{Modal-Bylrd08N.js → Modal-CyGRv-gZ.js} +1 -1
- package/dist/{Name-AwICGMd0.js → Name-DB6DpTUy.js} +4 -4
- package/dist/{OnboardingDropinComponent-DDXpr_5c.js → OnboardingDropinComponent-ByCzepLz.js} +50 -50
- package/dist/{PayoutDetailsDropin-BMFYjkAi.js → PayoutDetailsDropin-CHKMEoSE.js} +38 -38
- package/dist/{RadioGroup-bUX5rcZj.js → RadioGroup-Bmyz_UGC.js} +1 -1
- package/dist/{RadioGroupCard-C8HZZB2J.js → RadioGroupCard-DfDec_J3.js} +1 -1
- package/dist/{Review-DW-0PrCC.js → Review-BfeBbmqL.js} +5 -5
- package/dist/{RootBusinessDetailsPage-iW8nQTPF.js → RootBusinessDetailsPage-CtRd9HPs.js} +3 -3
- package/dist/{RootBusinessLinesPage-BRbwkL2R.js → RootBusinessLinesPage-Btnsj8r_.js} +25 -25
- package/dist/{RootIndividualDetailsPage-Yut0K0hU.js → RootIndividualDetailsPage-8nUlp7YZ.js} +3 -3
- package/dist/{Select-CXXz1RK7.js → Select-w8VBNvQR.js} +3 -3
- package/dist/{SignPCIComponent-V4kihXYP.js → SignPCIComponent-CA5Ao7_u.js} +10 -10
- package/dist/{SingpassSelection-CqqF6zJF.js → SingpassSelection-DOUOHu-z.js} +5 -5
- package/dist/{SoleProprietorshipPage-CN0pa1YB.js → SoleProprietorshipPage-4OFUvq_A.js} +3 -3
- package/dist/{SourceOfFundsPage-DmVuwfLS.js → SourceOfFundsPage-B2L2vYO7.js} +30 -30
- package/dist/{StepProgressIndicator-DJn4rZ5t.js → StepProgressIndicator-BBjfKoHH.js} +1 -1
- package/dist/{StoreProvider-fQYx-RPc.js → StoreProvider-DFR6yFy8.js} +4 -4
- package/dist/{Summary-hGkJO37D.js → Summary-SxfPLeM9.js} +4 -4
- package/dist/{TaxInformationField-JdMfAIv8.js → TaxInformationField-pIOj5IIN.js} +17 -17
- package/dist/{TaxReportingDropin-CZZAp9FV.js → TaxReportingDropin-BzB8nYXE.js} +13 -13
- package/dist/{TextArea-BiH1RRYp.js → TextArea-I88bxkOh.js} +1 -1
- package/dist/{TileGroup-CdqFygWv.js → TileGroup-PHV4JXvH.js} +2 -2
- package/dist/{TrustDetailsPage-BMWmYwKG.js → TrustDetailsPage-Dr6YIRGG.js} +31 -31
- package/dist/{TrustMemberCompanyPage-bfyqb3Mk.js → TrustMemberCompanyPage-CfUxQni4.js} +4 -4
- package/dist/{TrustMemberIndividualPage-BnVTOtwf.js → TrustMemberIndividualPage-DG9KUe02.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-Co0y4L8A.js → TrustMemberRoleAndTypePage-BdBKpEha.js} +20 -20
- package/dist/{TrustMembersOverview-IFzxS4GA.js → TrustMembersOverview-Ynu4zahR.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DMX_NRCF.js → UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CMhTcu6t.js → UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-BmMOPDaG.js → UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BtE5NtjF.js → UnincorporatedPartnershipMembersOverview-BkAc4tTI.js} +6 -6
- package/dist/{VerificationErrorAlert-Dh1YkL3d.js → VerificationErrorAlert-CyE2-4NI.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-BTpnN2vP.js → ViewVerificationStatusComponent-0IyRvr_W.js} +2 -2
- package/dist/{accountHolderUtils-rpJd6WrL.js → accountHolderUtils-yQ8liitv.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-DcLbZWp-.js → bafinUtils-BABg2zgB.js} +1 -1
- package/dist/{commonValidators-c_nO9sQJ.js → commonValidators-BcyFMdFA.js} +1 -1
- package/dist/{dropinUtils-BCy_VUQ7.js → dropinUtils-Ds8fesIK.js} +3 -3
- package/dist/{formUtils-CRcJbbRb.js → formUtils-Ctj-XQBQ.js} +2 -2
- package/dist/{getName-qR9fguc7.js → getName-VMVSrxGw.js} +1 -1
- package/dist/{getProblemsForEntity-BuH9zCjL.js → getProblemsForEntity-B2aPSiz5.js} +1 -1
- package/dist/{iframeWidget-D3xqr78r.js → iframeWidget-CJ4GOEBG.js} +3 -3
- package/dist/{isEmpty-CYgAPBO_.js → isEmpty-BNrK3WJw.js} +1 -1
- package/dist/{japanSupportUtils-DMYU8nVm.js → japanSupportUtils-B1kmKF7K.js} +1 -1
- package/dist/{localizeDateString-Cum2LWIN.js → localizeDateString-DUFhW5fN.js} +1 -1
- package/dist/{mapExistingFile-BMfqEXKo.js → mapExistingFile-BU4Lq435.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-DJ-Mhet1.js → mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-Cr447xyd.js → mapLegalEntityToIndividualSchema-DHieAjhC.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-D95_lgpR.js → mapTransferInstrumentToPayoutAccount-CBruJcGL.js} +1 -1
- package/dist/{patternValidators-NunsWcYm.js → patternValidators-hk7OKIOW.js} +1 -1
- package/dist/{process-field-configurations-Cxprq5Bv.js → process-field-configurations-CSUAI1_s.js} +2 -2
- package/dist/{resolveEnvironment-CbPqGmgO.js → resolveEnvironment-Dz4WVUeH.js} +3 -3
- package/dist/{roleMetadata-BPMWB7Co.js → roleMetadata-CCCowA5b.js} +1 -1
- package/dist/{types-BU7-Cx4D.js → types-BxMBuuEz.js} +1 -1
- package/dist/{types-CajVo6N9.js → types-CYkhUYV6.js} +1 -1
- package/dist/{types-B0REvjqJ.js → types-DU69aeMN.js} +1 -1
- package/dist/{useAssociatedLegalEntity-CeJzxLG3.js → useAssociatedLegalEntity-BORPRBzY.js} +1 -1
- package/dist/{useBusinessDetailsData-Dtkh2qCL.js → useBusinessDetailsData-SFopK4ma.js} +46 -46
- package/dist/{useBusinessLines-CI7V55s9.js → useBusinessLines-ewWROXYV.js} +1 -1
- package/dist/{useCanSeeIntroduction-C90WBJIj.js → useCanSeeIntroduction-BbjNCK9Z.js} +1 -1
- package/dist/{useCreateLegalEntity-Dj5Svx3v.js → useCreateLegalEntity-DC4AmtL1.js} +1 -1
- package/dist/{useDataMissingRemediations-CMoZmPj8.js → useDataMissingRemediations-CjxCe3yc.js} +1 -1
- package/dist/{useDeleteTransferInstrument-DeshUcGV.js → useDeleteTransferInstrument-HN2BLhyP.js} +2 -2
- package/dist/{useForm-B7W5yMWm.js → useForm-B64f0N0r.js} +2 -2
- package/dist/{useFormContext-CC7hF-So.js → useFormContext-B08W9NV0.js} +6 -6
- package/dist/{useGlobalData-Bsa1YYFJ.js → useGlobalData-CAfs9dkH.js} +1 -1
- package/dist/{useMultiForm-B8wZN7OS.js → useMultiForm-BwoKhXUz.js} +3 -3
- package/dist/{useNavigate-CDqshXn_.js → useNavigate-BXyVMJUH.js} +29 -29
- package/dist/{useOnboardingStatus-Bx93aUc5.js → useOnboardingStatus-DgaMwRGt.js} +1 -1
- package/dist/{usePciQuestionnaireList-ShylU7zj.js → usePciQuestionnaireList--rMXF8VL.js} +1 -1
- package/dist/{useSalesChannels-DaFbHGd2.js → useSalesChannels-CGESLvW6.js} +2 -2
- package/dist/{useScenarios-SRhCOjKY.js → useScenarios-DfdvyKrI.js} +1 -1
- package/dist/{useTaskStatus-Djc4CV1h.js → useTaskStatus-CBWvTwlZ.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Dka0I_mz.js → useTermsOfServiceStatus-BlBedFIs.js} +1 -1
- package/dist/{useToastContext-D7A5CxP0.js → useToastContext-D7Wu9TN_.js} +1 -1
- package/dist/{useTrustMembers-hMw5YJIq.js → useTrustMembers-GEABHhkr.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-qkl61jqm.js → useUnincorporatedPartnershipMembers-CRs95EuP.js} +3 -3
- package/dist/{useUpdateBusinessLines-BsSqtztQ.js → useUpdateBusinessLines-B6YZCqOX.js} +3 -3
- package/dist/{useUpdateLegalEntity-CKdDx6G9.js → useUpdateLegalEntity-B1R9qggb.js} +2 -2
- package/dist/{utils-BpVD-ywY.js → utils-BUyOscpp.js} +1 -1
- package/dist/{utils-DgjlljPB.js → utils-CPRZoX7V.js} +4 -4
- package/dist/{utils-D4GIPqz0.js → utils-CnulHkMn.js} +1 -1
- package/dist/{utils-BHGl7ECx.js → utils-DTUxA3nO.js} +1 -1
- package/dist/{utils-CccTth_m.js → utils-Drnia92l.js} +2 -2
- package/dist/{validate-D726W3qy.js → validate-DLxn3LIK.js} +2 -2
- package/dist/{validate-Cx7psWcv.js → validate-DlUk1wzH.js} +1 -1
- package/dist/{validationError-Ca_TT6DG.js → validationError-CcsgWg6J.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-DFR6yFy8.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-ewWROXYV.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-B6YZCqOX.js";
|
|
16
|
+
import { u as usePciQuestionnaireList } from "./usePciQuestionnaireList--rMXF8VL.js";
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-CGESLvW6.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B08W9NV0.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D7Wu9TN_.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-CSUAI1_s.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.js";
|
|
23
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.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-SxfPLeM9.js";
|
|
26
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Ctj-XQBQ.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-CEt2JNWg.js";
|
|
29
|
+
import { F as Field } from "./Field-CS5lBNi-.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-CyGRv-gZ.js";
|
|
31
|
+
import { I as InputText } from "./InputText-CQMxEarX.js";
|
|
32
|
+
import { SignPCIComponent } from "./SignPCIComponent-CA5Ao7_u.js";
|
|
33
|
+
import { A as Avatar } from "./Avatar-6Ijr-U98.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-deXxlSsM.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-kVLn7Cb2.js";
|
|
40
|
+
import { L as LandingLayout } from "./LandingLayout-Bx0c6vHb.js";
|
|
41
|
+
import { u as useTaskStatus } from "./useTaskStatus-CBWvTwlZ.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-Dtx0lKaK.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-tO8eG5lI.js";
|
|
46
46
|
const rules = ({ data, country }) => {
|
|
47
47
|
return createFormRules({
|
|
48
48
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-Yut0K0hU.js → RootIndividualDetailsPage-8nUlp7YZ.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-DFR6yFy8.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-B2aPSiz5.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-BEfS_NNT.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-CyGRv-gZ.js";
|
|
15
|
+
import { m as useAnalyticsContext, G as Loader, ac as noop, z as Typography, a8 as createLogger, u as useTranslation } from "./StoreProvider-DFR6yFy8.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-CEt2JNWg.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-DFR6yFy8.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-CGESLvW6.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-D7Wu9TN_.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-B6Y-CUwt.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-BcYjyuoi.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-CEt2JNWg.js";
|
|
20
|
+
import { F as Field } from "./Field-CS5lBNi-.js";
|
|
21
|
+
import { S as Select } from "./Select-w8VBNvQR.js";
|
|
22
|
+
import { u as useForm } from "./useForm-B64f0N0r.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-DFR6yFy8.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-DFR6yFy8.js";
|
|
14
|
+
import { F as Field } from "./Field-CS5lBNi-.js";
|
|
15
|
+
import { I as Image } from "./Image-kVLn7Cb2.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-DfDec_J3.js";
|
|
17
|
+
import { u as useForm } from "./useForm-B64f0N0r.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-DFR6yFy8.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-B2aPSiz5.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-SFopK4ma.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-DFR6yFy8.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-B2aPSiz5.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-ewWROXYV.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-D7Wu9TN_.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-DC4AmtL1.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B1R9qggb.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B08W9NV0.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-DLxn3LIK.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-0defccwj.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-Ctj-XQBQ.js";
|
|
27
|
+
import { F as Field } from "./Field-CS5lBNi-.js";
|
|
28
|
+
import { S as Select } from "./Select-w8VBNvQR.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-I88bxkOh.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-DbPcPUic.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-CQMxEarX.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-Drnia92l.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-Bmyz_UGC.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-BfpNTqr6.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-6Ijr-U98.js";
|
|
37
|
+
import { M as Modal } from "./Modal-CyGRv-gZ.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-tO8eG5lI.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-PHV4JXvH.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-CBWvTwlZ.js";
|
|
42
|
+
import { I as Image } from "./Image-kVLn7Cb2.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-Bx0c6vHb.js";
|
|
44
|
+
import { i as isEmpty } from "./isEmpty-BNrK3WJw.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-B87ivHUX.js";
|
|
48
|
+
import { v as validateDateNotInTheFuture } from "./validate-DlUk1wzH.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-DFR6yFy8.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] = "d8d09557-016a-4655-bfca-03da06b809e9", e2._sentryDebugIdIdentifier = "sentry-dbid-d8d09557-016a-4655-bfca-03da06b809e9");
|
|
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
|
|
4767
|
+
const sdkVersion = "4.3.0";
|
|
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
|
|
4858
|
+
sdkVersion: "4.3.0",
|
|
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-CPJQfotk.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-DFR6yFy8.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-0defccwj.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-Ctj-XQBQ.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-CCCowA5b.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-DFR6yFy8.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-CS5lBNi-.js";
|
|
15
|
+
import { S as Select } from "./Select-w8VBNvQR.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-I88bxkOh.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-DLxn3LIK.js";
|
|
18
|
+
import { u as useForm } from "./useForm-B64f0N0r.js";
|
|
19
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-BU4Lq435.js";
|
|
20
|
+
import { D as Dropzone } from "./Dropzone-B87ivHUX.js";
|
|
21
|
+
import { E as ErrorPanel } from "./ErrorPanel-0defccwj.js";
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-Ctj-XQBQ.js";
|
|
23
|
+
import { C as Checkbox } from "./Checkbox-CEt2JNWg.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-DX9qywO6.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-DTUxA3nO.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-B1kmKF7K.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-BuvEwdEz.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-hk7OKIOW.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-Bmyz_UGC.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-DFR6yFy8.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-D7Wu9TN_.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B1R9qggb.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-B08W9NV0.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.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-CS5lBNi-.js";
|
|
22
|
+
import { L as Link } from "./Link-deXxlSsM.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-Bmyz_UGC.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
25
|
+
import { u as useTaskStatus } from "./useTaskStatus-CBWvTwlZ.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-kVLn7Cb2.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-Bx0c6vHb.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-BNrK3WJw.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-DFR6yFy8.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-DFR6yFy8.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-CyGRv-gZ.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-DFR6yFy8.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-BORPRBzY.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.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-DC4AmtL1.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B1R9qggb.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-CAfs9dkH.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-D7Wu9TN_.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CSUAI1_s.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Ds8fesIK.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-BU4Lq435.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-BNQrCuoP.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-pIOj5IIN.js";
|
|
25
|
+
import { m as mapAddressLabels } from "./utils-DTUxA3nO.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-CM27JHcm.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CcsgWg6J.js";
|
|
28
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-DLxn3LIK.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-DU69aeMN.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-CS5lBNi-.js";
|
|
35
|
+
import { S as Select } from "./Select-w8VBNvQR.js";
|
|
36
|
+
import { u as useForm } from "./useForm-B64f0N0r.js";
|
|
37
|
+
import { E as ErrorPanel } from "./ErrorPanel-0defccwj.js";
|
|
38
|
+
import { I as InputText } from "./InputText-CQMxEarX.js";
|
|
39
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BfpNTqr6.js";
|
|
40
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Ctj-XQBQ.js";
|
|
41
|
+
import { i as isEmpty } from "./isEmpty-BNrK3WJw.js";
|
|
42
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-hk7OKIOW.js";
|
|
43
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-B08W9NV0.js";
|
|
44
|
+
import { u as useMultiForm } from "./useMultiForm-BwoKhXUz.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-Bmyz_UGC.js";
|
|
49
49
|
import "./Radio-BMtxBpnn.js";
|
|
50
|
-
import { A as Address } from "./Address-
|
|
50
|
+
import { A as Address } from "./Address-BuvEwdEz.js";
|
|
51
51
|
import "@preact/signals";
|
|
52
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
52
|
+
import { C as ContextGuidance } from "./ContextGuidance-D-wkN66k.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-DFR6yFy8.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-GEABHhkr.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B2aPSiz5.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-SFopK4ma.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|