@adyen/kyc-components 4.3.0 → 4.3.1
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-OMNQzzlt.js → AcceptTermsOfServiceComponent-CxiQwvJk.js} +14 -14
- package/dist/{AccountSetupRejected-BmELqasB.js → AccountSetupRejected-CFFqpbf5.js} +1 -1
- package/dist/{ActionBar-CYYTQnyt.js → ActionBar-Ctn54Y2A.js} +1 -1
- package/dist/{Address-BuvEwdEz.js → Address-DYcjUVJR.js} +9 -9
- package/dist/{Avatar-6Ijr-U98.js → Avatar-DetG5lKT.js} +1 -1
- package/dist/{BusinessFinancingComponent-C_dvZWrV.js → BusinessFinancingComponent-CLjrTCZX.js} +4 -4
- package/dist/{BusinessFinancingDropin-CqBXTRew.js → BusinessFinancingDropin-BfClJSkQ.js} +26 -26
- package/dist/{BusinessFinancingPage-CJXuD19C.js → BusinessFinancingPage-D2mvDwJ9.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-0ykcbLXM.js → BusinessTypeSelectionPage-BXLFDSNj.js} +8 -8
- package/dist/{Checkbox-CEt2JNWg.js → Checkbox-Czl07sQR.js} +1 -1
- package/dist/{Confirm-tO8eG5lI.js → Confirm-Dj404jbd.js} +2 -2
- package/dist/{ConstitutionalDocument-BNQrCuoP.js → ConstitutionalDocument-BmmKeBpa.js} +16 -16
- package/dist/{ContactDetails-wRdhpEXl.js → ContactDetails-Cufj6PAe.js} +5 -5
- package/dist/{ContextGuidance-D-wkN66k.js → ContextGuidance-DtgBZK4G.js} +1 -1
- package/dist/{CountryField-BfpNTqr6.js → CountryField-CXtWJ2cJ.js} +3 -3
- package/dist/{CreateIndividualComponent-BXI_yAXJ.js → CreateIndividualComponent-IeQLzzep.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-C94kteP5.js → CreateTransferInstrumentComponent-CuCprof3.js} +3 -3
- package/dist/{Currency-CIvge00Z.js → Currency-C3BBSuI_.js} +6 -6
- package/dist/{CustomerSupport-Cn0cURdF.js → CustomerSupport-D7ylyPKY.js} +9 -9
- package/dist/{DebugModal-CPJQfotk.js → DebugModal-B7hCqbYi.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-HY7FMT3F.js → DecisionMakerDetailsPage-DvX5K2F4.js} +5 -5
- package/dist/{DecisionMakers-C9Y6zR4s.js → DecisionMakers-CRWZS3lI.js} +18 -18
- package/dist/{Dropzone-B87ivHUX.js → Dropzone-DL2w1NGh.js} +3 -3
- package/dist/{EmbeddedStatus-Qp66N9js.js → EmbeddedStatus-D1b16Y6z.js} +2 -2
- package/dist/{EndStateLayout-BcYjyuoi.js → EndStateLayout-B6hLSI0I.js} +1 -1
- package/dist/{EntityAssociation-NEf45gFy.js → EntityAssociation-jjYJZhw_.js} +4 -4
- package/dist/{EntityGuidanceStatus-BSe0LbpA.js → EntityGuidanceStatus-BCrHVQnw.js} +2 -2
- package/dist/{ErrorPanel-0defccwj.js → ErrorPanel-CmkNrtcM.js} +1 -1
- package/dist/{Field-CS5lBNi-.js → Field-CwFxUG4S.js} +1 -1
- package/dist/{FormNavigation-Ds6Zo4kr.js → FormNavigation-Bzd8GI_y.js} +2 -2
- package/dist/{FormWrapper-CM27JHcm.js → FormWrapper-C5cjNgOF.js} +8 -8
- package/dist/{Image-kVLn7Cb2.js → Image-dsUitZt9.js} +1 -1
- package/dist/{Individual.rules-BKCZ5pw4.js → Individual.rules-B1kJEwIy.js} +5 -5
- package/dist/{IndividualDropin-BEfS_NNT.js → IndividualDropin-Drcvb_K1.js} +48 -48
- package/dist/{InputDate-DbPcPUic.js → InputDate-xJYFktYU.js} +1 -1
- package/dist/{InputText-CQMxEarX.js → InputText-Bld610xH.js} +1 -1
- package/dist/{Introduction-_K-ioq4w.js → Introduction-Y4kn2wIR.js} +3 -3
- package/dist/{JpAddress-8qsY8wnP.js → JpAddress-M8LO5qWN.js} +8 -8
- package/dist/{LandingLayout-Bx0c6vHb.js → LandingLayout-tMw_lv0y.js} +1 -1
- package/dist/{LegalCompanyNameField-BD6Te5c5.js → LegalCompanyNameField-D8GAh_KT.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage-C3QWHa7T.js → LegalRepresentativeDetailsPage-CJqPzB3s.js} +3 -3
- package/dist/{Link-deXxlSsM.js → Link-Rx1tLf8b.js} +1 -1
- package/dist/{ListItem-Dtx0lKaK.js → ListItem-DyhLxJBS.js} +2 -2
- package/dist/{LoaderWrapper-Dg9BXOfN.js → LoaderWrapper-CBknZ9Da.js} +1 -1
- package/dist/{ManageIndividualComponent-DvmShxf5.js → ManageIndividualComponent-BJgpHEnw.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-rpvf07UO.js → ManageTermsOfServiceComponent-BIU-c5CG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-D_10bdI3.js → ManageTransferInstrumentComponent-BoDGtQwJ.js} +10 -10
- package/dist/{MaskedInput-DX9qywO6.js → MaskedInput-Dl_2fV_0.js} +4 -4
- package/dist/{MaybeModal-B6Y-CUwt.js → MaybeModal-DPO3iz_q.js} +2 -2
- package/dist/{Modal-CyGRv-gZ.js → Modal-Clg5zjtw.js} +1 -1
- package/dist/{Name-DB6DpTUy.js → Name-CG_KFcsI.js} +4 -4
- package/dist/{OnboardingDropinComponent-ByCzepLz.js → OnboardingDropinComponent-B6Lx1nPd.js} +50 -50
- package/dist/{PayoutDetailsDropin-CHKMEoSE.js → PayoutDetailsDropin-33AnK03h.js} +38 -38
- package/dist/{RadioGroup-Bmyz_UGC.js → RadioGroup-f1fWKiU5.js} +1 -1
- package/dist/{RadioGroupCard-DfDec_J3.js → RadioGroupCard-BQ753Ka9.js} +1 -1
- package/dist/{Review-BfeBbmqL.js → Review-BpsNOp4F.js} +5 -5
- package/dist/{RootBusinessDetailsPage-CtRd9HPs.js → RootBusinessDetailsPage-B8Bs6uRc.js} +3 -3
- package/dist/{RootBusinessLinesPage-Btnsj8r_.js → RootBusinessLinesPage-ClxhYLqV.js} +25 -25
- package/dist/{RootIndividualDetailsPage-8nUlp7YZ.js → RootIndividualDetailsPage-CsyGYHTx.js} +3 -3
- package/dist/{Select-w8VBNvQR.js → Select-D1F5NGjs.js} +3 -3
- package/dist/{SignPCIComponent-CA5Ao7_u.js → SignPCIComponent-Y3johwRJ.js} +10 -10
- package/dist/{SingpassSelection-DOUOHu-z.js → SingpassSelection-BfSI1-ML.js} +5 -5
- package/dist/{SoleProprietorshipPage-4OFUvq_A.js → SoleProprietorshipPage-aVHLdSAU.js} +3 -3
- package/dist/{SourceOfFundsPage-B2L2vYO7.js → SourceOfFundsPage-L42Ggk31.js} +30 -30
- package/dist/{StepProgressIndicator-BBjfKoHH.js → StepProgressIndicator-CzNK-GNc.js} +1 -1
- package/dist/{StoreProvider-DFR6yFy8.js → StoreProvider-BWH3E9ba.js} +4 -4
- package/dist/{Summary-SxfPLeM9.js → Summary-CvCyV2hU.js} +4 -4
- package/dist/{TaxInformationField-pIOj5IIN.js → TaxInformationField-Cunwl2sG.js} +17 -17
- package/dist/{TaxReportingDropin-BzB8nYXE.js → TaxReportingDropin-Bj1chorw.js} +13 -13
- package/dist/{TextArea-I88bxkOh.js → TextArea-BoZthCA1.js} +1 -1
- package/dist/{TileGroup-PHV4JXvH.js → TileGroup-BoDB8Oqb.js} +2 -2
- package/dist/{TrustDetailsPage-Dr6YIRGG.js → TrustDetailsPage-DnzPm-4e.js} +31 -31
- package/dist/{TrustMemberCompanyPage-CfUxQni4.js → TrustMemberCompanyPage-BW40Ezkp.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DG9KUe02.js → TrustMemberIndividualPage-BwlIf4n1.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BdBKpEha.js → TrustMemberRoleAndTypePage-DrR1LXsH.js} +20 -20
- package/dist/{TrustMembersOverview-Ynu4zahR.js → TrustMembersOverview-BKg8hNgu.js} +9 -9
- package/dist/{UnincorporatedPartnershipIndividualPage-DKMj8Dwh.js → UnincorporatedPartnershipIndividualPage-SqRyyZ1H.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BFZ7GGpo.js → UnincorporatedPartnershipMemberCompanyPage-DVqwHqG5.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-6C67QTtR.js → UnincorporatedPartnershipMemberRoleAndTypePage-BfBCJGUL.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-BkAc4tTI.js → UnincorporatedPartnershipMembersOverview-T5V5sIWL.js} +6 -6
- package/dist/{VerificationErrorAlert-CyE2-4NI.js → VerificationErrorAlert-fNKHPIFN.js} +1 -1
- package/dist/{ViewVerificationStatusComponent-0IyRvr_W.js → ViewVerificationStatusComponent-6yMx8KGW.js} +2 -2
- package/dist/{accountHolderUtils-yQ8liitv.js → accountHolderUtils-CRgkTizd.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-BABg2zgB.js → bafinUtils-ocpQBVHv.js} +1 -1
- package/dist/{commonValidators-BcyFMdFA.js → commonValidators-C7utqwzn.js} +1 -1
- package/dist/{dropinUtils-Ds8fesIK.js → dropinUtils-BR6FQlKT.js} +5 -7
- package/dist/{formUtils-Ctj-XQBQ.js → formUtils-BwYBoQsx.js} +2 -2
- package/dist/{getName-VMVSrxGw.js → getName-P8LWHe4X.js} +1 -1
- package/dist/{getProblemsForEntity-B2aPSiz5.js → getProblemsForEntity-B6TquhHO.js} +1 -1
- package/dist/{iframeWidget-CJ4GOEBG.js → iframeWidget-rupjAtH8.js} +3 -3
- package/dist/{isEmpty-BNrK3WJw.js → isEmpty-DAZtgvI3.js} +1 -1
- package/dist/{japanSupportUtils-B1kmKF7K.js → japanSupportUtils-fpWnynCx.js} +1 -1
- package/dist/{localizeDateString-DUFhW5fN.js → localizeDateString-CyW6k1R8.js} +1 -1
- package/dist/{mapExistingFile-BU4Lq435.js → mapExistingFile-C5Qv3u3V.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BLzSTlhK.js → mapJpAddressSchemaToAddressLocalizations-CgLvj2x1.js} +1 -1
- package/dist/{mapLegalEntityToIndividualSchema-DHieAjhC.js → mapLegalEntityToIndividualSchema-CpbODYlF.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-CBruJcGL.js → mapTransferInstrumentToPayoutAccount-Z1djH2ML.js} +1 -1
- package/dist/{patternValidators-hk7OKIOW.js → patternValidators-BnIR4gA-.js} +1 -1
- package/dist/{process-field-configurations-CSUAI1_s.js → process-field-configurations-CdcmRpYA.js} +2 -2
- package/dist/{resolveEnvironment-Dz4WVUeH.js → resolveEnvironment-QZpVTNGD.js} +3 -3
- package/dist/{roleMetadata-CCCowA5b.js → roleMetadata-C0L5wL9H.js} +1 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/{types-CYkhUYV6.js → types-BGjwGjdJ.js} +1 -1
- package/dist/{types-BxMBuuEz.js → types-BmIsIHxa.js} +1 -1
- package/dist/{types-DU69aeMN.js → types-kZEVKWh5.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BORPRBzY.js → useAssociatedLegalEntity-BL7W3NB4.js} +1 -1
- package/dist/{useBusinessDetailsData-SFopK4ma.js → useBusinessDetailsData-T-2hN3u_.js} +48 -52
- package/dist/{useBusinessLines-ewWROXYV.js → useBusinessLines-CrOTGwfX.js} +1 -1
- package/dist/{useCanSeeIntroduction-BbjNCK9Z.js → useCanSeeIntroduction-V5qM-BFd.js} +1 -1
- package/dist/{useCreateLegalEntity-DC4AmtL1.js → useCreateLegalEntity-D5s-lZwZ.js} +1 -1
- package/dist/{useDataMissingRemediations-CjxCe3yc.js → useDataMissingRemediations-9UhYDXLS.js} +1 -1
- package/dist/{useDeleteTransferInstrument-HN2BLhyP.js → useDeleteTransferInstrument-CPLggK7o.js} +2 -2
- package/dist/{useForm-B64f0N0r.js → useForm-B3J1SQIH.js} +2 -2
- package/dist/{useFormContext-B08W9NV0.js → useFormContext-BqP4U54l.js} +6 -6
- package/dist/{useGlobalData-CAfs9dkH.js → useGlobalData-Brqm6mMI.js} +1 -1
- package/dist/{useMultiForm-BwoKhXUz.js → useMultiForm-qc4_58sn.js} +3 -3
- package/dist/{useNavigate-BXyVMJUH.js → useNavigate-CkxGAEou.js} +29 -29
- package/dist/{useOnboardingStatus-DgaMwRGt.js → useOnboardingStatus-BAFwB8A4.js} +1 -1
- package/dist/{usePciQuestionnaireList--rMXF8VL.js → usePciQuestionnaireList-TLpAO3GD.js} +1 -1
- package/dist/{useSalesChannels-CGESLvW6.js → useSalesChannels-BO4GysVh.js} +2 -2
- package/dist/{useScenarios-DfdvyKrI.js → useScenarios-DSpc898-.js} +1 -1
- package/dist/{useTaskStatus-CBWvTwlZ.js → useTaskStatus-Csrso18D.js} +1 -1
- package/dist/{useTermsOfServiceStatus-BlBedFIs.js → useTermsOfServiceStatus-DdYlsALm.js} +1 -1
- package/dist/{useToastContext-D7Wu9TN_.js → useToastContext-BtLAxaNl.js} +1 -1
- package/dist/{useTrustMembers-GEABHhkr.js → useTrustMembers-rqlnbKZ1.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-CRs95EuP.js → useUnincorporatedPartnershipMembers-FQdnqW4h.js} +3 -3
- package/dist/{useUpdateBusinessLines-B6YZCqOX.js → useUpdateBusinessLines-TXNjWpIG.js} +3 -3
- package/dist/{useUpdateLegalEntity-B1R9qggb.js → useUpdateLegalEntity-BNsvQpIe.js} +2 -2
- package/dist/{utils-BUyOscpp.js → utils-DHCSrG2W.js} +1 -1
- package/dist/{utils-DTUxA3nO.js → utils-J2EeeAsL.js} +1 -1
- package/dist/{utils-Drnia92l.js → utils-TdGg-Brl.js} +2 -2
- package/dist/{utils-CPRZoX7V.js → utils-XiEWYRYH.js} +4 -4
- package/dist/{utils-CnulHkMn.js → utils-_Ga2UTWr.js} +1 -1
- package/dist/{validate-DlUk1wzH.js → validate-1pvDa1M7.js} +1 -1
- package/dist/{validate-DLxn3LIK.js → validate-F0Rs0x5e.js} +2 -2
- package/dist/{validationError-CcsgWg6J.js → validationError-C_lTZTYg.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-BWH3E9ba.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-CrOTGwfX.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-TXNjWpIG.js";
|
|
16
|
+
import { u as usePciQuestionnaireList } from "./usePciQuestionnaireList-TLpAO3GD.js";
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-BO4GysVh.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BqP4U54l.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BtLAxaNl.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-CdcmRpYA.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BR6FQlKT.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-qc4_58sn.js";
|
|
23
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B6TquhHO.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-CvCyV2hU.js";
|
|
26
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BwYBoQsx.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-Czl07sQR.js";
|
|
29
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
30
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-Clg5zjtw.js";
|
|
31
|
+
import { I as InputText } from "./InputText-Bld610xH.js";
|
|
32
|
+
import { SignPCIComponent } from "./SignPCIComponent-Y3johwRJ.js";
|
|
33
|
+
import { A as Avatar } from "./Avatar-DetG5lKT.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-Rx1tLf8b.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-dsUitZt9.js";
|
|
40
|
+
import { L as LandingLayout } from "./LandingLayout-tMw_lv0y.js";
|
|
41
|
+
import { u as useTaskStatus } from "./useTaskStatus-Csrso18D.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-DyhLxJBS.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-Dj404jbd.js";
|
|
46
46
|
const rules = ({ data, country }) => {
|
|
47
47
|
return createFormRules({
|
|
48
48
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-8nUlp7YZ.js → RootIndividualDetailsPage-CsyGYHTx.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-BWH3E9ba.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-B6TquhHO.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-Drcvb_K1.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-Clg5zjtw.js";
|
|
15
|
+
import { m as useAnalyticsContext, G as Loader, ac as noop, z as Typography, a8 as createLogger, u as useTranslation } from "./StoreProvider-BWH3E9ba.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-Czl07sQR.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-BWH3E9ba.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-BO4GysVh.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-BtLAxaNl.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-DPO3iz_q.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-B6hLSI0I.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-Czl07sQR.js";
|
|
20
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
21
|
+
import { S as Select } from "./Select-D1F5NGjs.js";
|
|
22
|
+
import { u as useForm } from "./useForm-B3J1SQIH.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-BWH3E9ba.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-BWH3E9ba.js";
|
|
14
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
15
|
+
import { I as Image } from "./Image-dsUitZt9.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-BQ753Ka9.js";
|
|
17
|
+
import { u as useForm } from "./useForm-B3J1SQIH.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-BWH3E9ba.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-B6TquhHO.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-T-2hN3u_.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-BWH3E9ba.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-B6TquhHO.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-CrOTGwfX.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-BtLAxaNl.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-D5s-lZwZ.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BNsvQpIe.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BqP4U54l.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BR6FQlKT.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-qc4_58sn.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-F0Rs0x5e.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-CmkNrtcM.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-BwYBoQsx.js";
|
|
27
|
+
import { F as Field } from "./Field-CwFxUG4S.js";
|
|
28
|
+
import { S as Select } from "./Select-D1F5NGjs.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-BoZthCA1.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-xJYFktYU.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-Bld610xH.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-TdGg-Brl.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-f1fWKiU5.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-CXtWJ2cJ.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-DetG5lKT.js";
|
|
37
|
+
import { M as Modal } from "./Modal-Clg5zjtw.js";
|
|
38
|
+
import { C as Confirm } from "./Confirm-Dj404jbd.js";
|
|
39
|
+
import { T as TileGroup } from "./TileGroup-BoDB8Oqb.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-Csrso18D.js";
|
|
42
|
+
import { I as Image } from "./Image-dsUitZt9.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-tMw_lv0y.js";
|
|
44
|
+
import { i as isEmpty } from "./isEmpty-DAZtgvI3.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-DL2w1NGh.js";
|
|
48
|
+
import { v as validateDateNotInTheFuture } from "./validate-1pvDa1M7.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-BWH3E9ba.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] = "bf060843-aeac-4332-8f16-39dce1409289", e2._sentryDebugIdIdentifier = "sentry-dbid-bf060843-aeac-4332-8f16-39dce1409289");
|
|
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.
|
|
4767
|
+
const sdkVersion = "4.3.1";
|
|
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.
|
|
4858
|
+
sdkVersion: "4.3.1",
|
|
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-B7hCqbYi.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-BWH3E9ba.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-CmkNrtcM.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-BwYBoQsx.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-C0L5wL9H.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-BWH3E9ba.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-CwFxUG4S.js";
|
|
15
|
+
import { S as Select } from "./Select-D1F5NGjs.js";
|
|
16
|
+
import { T as TextArea } from "./TextArea-BoZthCA1.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-F0Rs0x5e.js";
|
|
18
|
+
import { u as useForm } from "./useForm-B3J1SQIH.js";
|
|
19
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-C5Qv3u3V.js";
|
|
20
|
+
import { D as Dropzone } from "./Dropzone-DL2w1NGh.js";
|
|
21
|
+
import { E as ErrorPanel } from "./ErrorPanel-CmkNrtcM.js";
|
|
22
|
+
import { c as createFormUtils } from "./formUtils-BwYBoQsx.js";
|
|
23
|
+
import { C as Checkbox } from "./Checkbox-Czl07sQR.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-Dl_2fV_0.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-J2EeeAsL.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-fpWnynCx.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-DYcjUVJR.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-BnIR4gA-.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-f1fWKiU5.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-BWH3E9ba.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-BtLAxaNl.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BNsvQpIe.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-BqP4U54l.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BR6FQlKT.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-qc4_58sn.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-CwFxUG4S.js";
|
|
22
|
+
import { L as Link } from "./Link-Rx1tLf8b.js";
|
|
23
|
+
import { R as RadioGroup } from "./RadioGroup-f1fWKiU5.js";
|
|
24
24
|
import { lazy } from "preact/compat";
|
|
25
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
25
|
+
import { u as useTaskStatus } from "./useTaskStatus-Csrso18D.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-dsUitZt9.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-tMw_lv0y.js";
|
|
30
|
+
import { i as isEmpty } from "./isEmpty-DAZtgvI3.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-BWH3E9ba.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-BWH3E9ba.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-Clg5zjtw.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-BWH3E9ba.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-BL7W3NB4.js";
|
|
14
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B6TquhHO.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-D5s-lZwZ.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BNsvQpIe.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-Brqm6mMI.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-BtLAxaNl.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CdcmRpYA.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BR6FQlKT.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-C5Qv3u3V.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-BmmKeBpa.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-Cunwl2sG.js";
|
|
25
|
+
import { m as mapAddressLabels } from "./utils-J2EeeAsL.js";
|
|
26
|
+
import { F as FormWrapper } from "./FormWrapper-C5cjNgOF.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-C_lTZTYg.js";
|
|
28
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-F0Rs0x5e.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-kZEVKWh5.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-CwFxUG4S.js";
|
|
35
|
+
import { S as Select } from "./Select-D1F5NGjs.js";
|
|
36
|
+
import { u as useForm } from "./useForm-B3J1SQIH.js";
|
|
37
|
+
import { E as ErrorPanel } from "./ErrorPanel-CmkNrtcM.js";
|
|
38
|
+
import { I as InputText } from "./InputText-Bld610xH.js";
|
|
39
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-CXtWJ2cJ.js";
|
|
40
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BwYBoQsx.js";
|
|
41
|
+
import { i as isEmpty } from "./isEmpty-DAZtgvI3.js";
|
|
42
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-BnIR4gA-.js";
|
|
43
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BqP4U54l.js";
|
|
44
|
+
import { u as useMultiForm } from "./useMultiForm-qc4_58sn.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-f1fWKiU5.js";
|
|
49
49
|
import "./Radio-BMtxBpnn.js";
|
|
50
|
-
import { A as Address } from "./Address-
|
|
50
|
+
import { A as Address } from "./Address-DYcjUVJR.js";
|
|
51
51
|
import "@preact/signals";
|
|
52
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
52
|
+
import { C as ContextGuidance } from "./ContextGuidance-DtgBZK4G.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-BWH3E9ba.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-rqlnbKZ1.js";
|
|
15
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-B6TquhHO.js";
|
|
16
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-T-2hN3u_.js";
|
|
17
17
|
function TrustMemberCompanyPage({
|
|
18
18
|
trustId,
|
|
19
19
|
trustMemberCompanyId: trustMemberCompanyIdProp,
|