@adyen/kyc-components 4.0.0-compact.7 → 4.0.0-compact.8
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-BFqDontt.js → AcceptTermsOfServiceComponent-kRAMcIqz.js} +15 -15
- package/dist/{Accordion-B2vSnESS.js → Accordion-s3uIJ_O9.js} +1 -1
- package/dist/{AccountSetupRejected-f8rcBzZj.js → AccountSetupRejected-WvT8wynP.js} +3 -3
- package/dist/{ActionBar-CijauUSe.js → ActionBar-BOto3kIR.js} +1 -1
- package/dist/{Address-Bj7zJ6yZ.js → Address-DfQEZqfV.js} +10 -10
- package/dist/{Alert-CFmX9yNV.js → Alert-_9nVl6uE.js} +2 -2
- package/dist/{Avatar-DWU7t_0U.js → Avatar-B1FMn4jz.js} +1 -1
- package/dist/{BusinessFinancingComponent-_DvatBRp.js → BusinessFinancingComponent-DgeP0WtS.js} +4 -4
- package/dist/{BusinessFinancingDropin-BuATaIOz.js → BusinessFinancingDropin-BpaTs3Tb.js} +28 -28
- package/dist/{BusinessFinancingPage-Bpu78Ynn.js → BusinessFinancingPage-qodSYGAB.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-gsT7g7u8.js → BusinessTypeSelectionPage-CsvC5c2P.js} +8 -8
- package/dist/{Checkbox-5Sc5pzsh.js → Checkbox-CQQWg0dg.js} +1 -1
- package/dist/{Confirm-C0J_JwMM.js → Confirm-DqMkw97y.js} +2 -2
- package/dist/{ConstitutionalDocument-Bw5T0g5Q.js → ConstitutionalDocument-B1vSvDTu.js} +17 -17
- package/dist/{ContactDetails-CXTim9KR.js → ContactDetails-171etkPM.js} +7 -7
- package/dist/{ContextGuidance-074d6FWy.js → ContextGuidance-PEl3_E1Y.js} +2 -2
- package/dist/{CountryField-DxZlK1rV.js → CountryField-61GLcHq3.js} +4 -4
- package/dist/{CreateIndividualComponent-BppUrKMC.js → CreateIndividualComponent-U4BUiWzp.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-Cl2NOJb6.js → CreateTransferInstrumentComponent-CHPjKshD.js} +3 -3
- package/dist/{Currency-CIgj9KwH.js → Currency-8vOxnPYI.js} +6 -6
- package/dist/{CustomerSupport-UenL9SqQ.js → CustomerSupport-DcnFyc9J.js} +10 -10
- package/dist/{DebugModal-KXKodU9u.js → DebugModal-yKPZa0En.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-Xwe1qYtH.js → DecisionMakerDetailsPage-bIZxlptv.js} +5 -5
- package/dist/{DecisionMakers-CJDodZSl.js → DecisionMakers-rudvJ8LE.js} +21 -21
- package/dist/{Dropzone-kpihpy7N.js → Dropzone-Brt8j_On.js} +3 -3
- package/dist/{EmbeddedStatus-BJjPDUeS.js → EmbeddedStatus-C6KmRWYa.js} +2 -2
- package/dist/{EndStateLayout-Cx1NUGVq.js → EndStateLayout-CNBH6HSv.js} +1 -1
- package/dist/{EntityAssociation-BtQeHZOq.js → EntityAssociation-CvfmwTx0.js} +5 -5
- package/dist/{EntityGuidanceStatus-DyMVy3R4.js → EntityGuidanceStatus-DfqozWFu.js} +2 -2
- package/dist/{ErrorPanel-CAALFKmE.js → ErrorPanel-8g7vzs2J.js} +2 -2
- package/dist/{Field-Bs7wGDqk.js → Field-GFhXhBL7.js} +1 -1
- package/dist/{FormNavigation-BtSvWPRY.js → FormNavigation-CuO_QOlJ.js} +2 -2
- package/dist/{FormWrapper-B3N3YosC.js → FormWrapper-MyJZP-4s.js} +8 -8
- package/dist/{Header-vslG1ugE.js → Header-B9Tv_mvA.js} +1 -1
- package/dist/{Image-CAucF9wz.js → Image-8l9eOMtL.js} +1 -1
- package/dist/{Individual.rules-CP2tzjmO.js → Individual.rules-NmFmV4le.js} +5 -5
- package/dist/{IndividualDropin-xfXkDkrM.js → IndividualDropin-D_UTW3Pt.js} +52 -52
- package/dist/{InputDate-CLxqciJA.js → InputDate-D741B4uo.js} +1 -1
- package/dist/{InputText-BdCbTzL9.js → InputText-BstgOD1h.js} +1 -1
- package/dist/{Introduction-BRWdnVv5.js → Introduction-586MDoqe.js} +3 -3
- package/dist/{JpAddress-BSEenMj0.js → JpAddress-D5DwOic-.js} +8 -8
- package/dist/{LandingLayout-kl7TkBGx.js → LandingLayout-DfrTphbg.js} +1 -1
- package/dist/{LegalCompanyNameField-DzAxAnD9.js → LegalCompanyNameField-Z2dNj0Qq.js} +5 -5
- package/dist/{LegalRepresentativeDetailsPage--yY_D66i.js → LegalRepresentativeDetailsPage-Dkufg--B.js} +3 -3
- package/dist/{Link-CXYU8cLY.js → Link-hYPpX6dq.js} +1 -1
- package/dist/{ListItem-HD5_HiQ2.js → ListItem-DCNK7Kw1.js} +2 -2
- package/dist/{LoaderWrapper-C2PvjjQc.js → LoaderWrapper-Brwtj1ws.js} +1 -1
- package/dist/{ManageIndividualComponent-BGaAbJjj.js → ManageIndividualComponent-HmFUwG8J.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-DFjaajE4.js → ManageTermsOfServiceComponent-CEXRN-aQ.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-Dndkwh_d.js → ManageTransferInstrumentComponent-BZMoocXD.js} +12 -12
- package/dist/{MaskedInput-BSW18fxr.js → MaskedInput-D1fbApUW.js} +4 -4
- package/dist/{MaybeModal-xIjl3I31.js → MaybeModal-D1Kv1uXL.js} +2 -2
- package/dist/{Modal-CZ-HuGUO.js → Modal-BRPW5V15.js} +1 -1
- package/dist/{Name-D6EhveoK.js → Name-DNcNeuyc.js} +4 -4
- package/dist/{OnboardingDropinComponent-CHtcVTHh.js → OnboardingDropinComponent-Jp7jobVe.js} +53 -53
- package/dist/{PayoutDetailsDropin-C2pNMAZS.js → PayoutDetailsDropin-CQ8jWnhg.js} +42 -42
- package/dist/{RadioGroup-CxcIXYzs.js → RadioGroup-BLGCNZj6.js} +1 -1
- package/dist/{RadioGroupCard-Y214QWmQ.js → RadioGroupCard-Dp6kxT2Z.js} +1 -1
- package/dist/{Review-B2NCN4h_.js → Review-DsexJYqW.js} +6 -6
- package/dist/{RootBusinessDetailsPage-hr5fLCIH.js → RootBusinessDetailsPage-W6I6u26i.js} +3 -3
- package/dist/{RootBusinessLinesPage-DSna9haW.js → RootBusinessLinesPage-BfW_VGr0.js} +26 -26
- package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-CU0ERRgH.js} +3 -3
- package/dist/{Select-DaCJsYNl.js → Select-_jyQwO_g.js} +3 -3
- package/dist/{SignPCIComponent-C2YjBxQM.js → SignPCIComponent-DqNgUb0y.js} +10 -10
- package/dist/{SingpassSelection-B3ozCH9I.js → SingpassSelection-CInOhNfV.js} +5 -5
- package/dist/{SoleProprietorshipPage-DIzzhgjr.js → SoleProprietorshipPage-Bgg5nHmh.js} +3 -3
- package/dist/{SourceOfFundsPage-C3kXyE7G.js → SourceOfFundsPage-DWz_BoML.js} +32 -32
- package/dist/{StepProgressIndicator-BSGlNU3K.js → StepProgressIndicator-DsULqiFr.js} +1 -1
- package/dist/{StoreProvider-99-ewU62.js → StoreProvider-DwuHWsNs.js} +4 -4
- package/dist/{Summary-D0GcSMNn.js → Summary-BtqxXkko.js} +5 -5
- package/dist/{TaskVerificationStatus-DZIw2ztV.js → TaskVerificationStatus-DQVG3_xF.js} +1 -1
- package/dist/{TaxInformationField-BxQvx1zK.js → TaxInformationField-QyHTiEoc.js} +19 -19
- package/dist/{TaxReportingDropin-BqvAQH2c.js → TaxReportingDropin-Cs21XUR6.js} +15 -15
- package/dist/{TextArea-BjsWgkR-.js → TextArea-DFDjCEZ2.js} +1 -1
- package/dist/{TileGroup-C-5-VREz.js → TileGroup-6wc032O1.js} +2 -2
- package/dist/{TrustDetailsPage-YROGiuFJ.js → TrustDetailsPage-BpITz9Vt.js} +33 -33
- package/dist/{TrustMemberCompanyPage-Z2EuqPEI.js → TrustMemberCompanyPage-Web2yU9Z.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DmNp3D89.js → TrustMemberIndividualPage-tBGM6dM8.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-BEOtdItr.js → TrustMemberRoleAndTypePage-CJEVcHdE.js} +21 -21
- package/dist/{TrustMembersOverview-GybHMIEU.js → TrustMembersOverview-DefELe9P.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-BCYxSTlv.js → UnincorporatedPartnershipIndividualPage-BXQiQmMN.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js → UnincorporatedPartnershipMemberCompanyPage-DhzsjYbl.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js → UnincorporatedPartnershipMemberRoleAndTypePage-OdKCGjaA.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-B3Vi088r.js → UnincorporatedPartnershipMembersOverview-DSeUBGiY.js} +8 -8
- package/dist/{VerificationErrorAlert-C6_ewC7c.js → VerificationErrorAlert-I8hQrG1X.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-DpA4jlct.js → ViewVerificationStatusComponent-CneXbSXW.js} +3 -3
- package/dist/{accountHolderUtils-Btu9mMnM.js → accountHolderUtils-CPiTlzkl.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 +4 -4
- package/dist/adyen-kyc-components.js +20 -20
- 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-CIGv_BK8.js → bafinUtils-u4rPfeF0.js} +1 -1
- package/dist/{commonValidators-DTt6he7v.js → commonValidators-BWyE1hKM.js} +1 -1
- package/dist/{dropinUtils--st1YpV6.js → dropinUtils-NHYW3kj5.js} +3 -3
- package/dist/{formUtils-C_sWWLS3.js → formUtils-Dg7QeiCj.js} +2 -2
- package/dist/{getName-CnZDw7kV.js → getName-DAC824XH.js} +1 -1
- package/dist/{getProblemsForEntity-D8qEVVOM.js → getProblemsForEntity-Cx2uHyD0.js} +1 -1
- package/dist/{iframeWidget-DqeucjDU.js → iframeWidget-DbWZPZHG.js} +3 -3
- package/dist/{isEmpty-CUuXL9Na.js → isEmpty-CzqpRnGb.js} +1 -1
- package/dist/{japanSupportUtils-CGWcXGP2.js → japanSupportUtils-Bn6j_2Iu.js} +1 -1
- package/dist/{localizeDateString-D6tFShQu.js → localizeDateString-rX5kfMAS.js} +1 -1
- package/dist/{mapExistingFile-BM9f5AeG.js → mapExistingFile-euVcQ8wC.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js → mapJpAddressSchemaToAddressLocalizations-A0yOTAyr.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-DVKTWyvx.js → mapLegalEntityToIndividualSchema-BeggFrAo.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount--gtugk3J.js → mapTransferInstrumentToPayoutAccount-DZ5tvBdP.js} +1 -1
- package/dist/{patternValidators-vYKnE5-t.js → patternValidators-EfBVKdNn.js} +1 -1
- package/dist/{process-field-configurations-Dl2Isz78.js → process-field-configurations-CAtKO6CG.js} +2 -2
- package/dist/{resolveEnvironment-B_JokQ0n.js → resolveEnvironment-D3grZ1cC.js} +3 -3
- package/dist/{roleMetadata-eM6T7GeQ.js → roleMetadata-CkOicLV_.js} +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -0
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/{types-DwXc_yI8.js → types-BveVR11j.js} +1 -1
- package/dist/{types-C8io4KaH.js → types-COOK2jmb.js} +1 -1
- package/dist/{types-BQL9Lsg4.js → types-DlIEfVQ_.js} +1 -1
- package/dist/{useAssociatedLegalEntity-ETDoz1H2.js → useAssociatedLegalEntity-BMeOu2ox.js} +1 -1
- package/dist/{useBusinessDetailsData-FrL0b9Ni.js → useBusinessDetailsData-CAiFFs88.js} +49 -49
- package/dist/{useBusinessLines-C5NQ5pE8.js → useBusinessLines-DG-LapFA.js} +1 -1
- package/dist/{useCanSeeIntroduction-BdZJ7k-_.js → useCanSeeIntroduction-DJUYy5a5.js} +2 -2
- package/dist/{useCreateLegalEntity-DrcLoNYT.js → useCreateLegalEntity-BzRbiLpn.js} +1 -1
- package/dist/{useDataMissingRemediations-Zgtpw7uZ.js → useDataMissingRemediations-x7yza9Ka.js} +1 -1
- package/dist/{useDataset-Cap5ZjTr.js → useDataset-CDtTEXqi.js} +1 -1
- package/dist/{useDeleteTransferInstrument-B2wRj-qL.js → useDeleteTransferInstrument-S3FmBm7Z.js} +2 -2
- package/dist/{useForm-DqUW2TbW.js → useForm-De1DLL-w.js} +2 -2
- package/dist/{useFormContext-CkuaJPUI.js → useFormContext-BPBBPKhK.js} +6 -6
- package/dist/{useGlobalData-5Z6W3or1.js → useGlobalData-DemxVumJ.js} +1 -1
- package/dist/{useMultiForm-Dm2IEMH9.js → useMultiForm-Cs0-iUXR.js} +3 -3
- package/dist/{useNavigate-CI0N-POy.js → useNavigate-DdA-YVRy.js} +29 -29
- package/dist/{useOnboardingStatus-H7Xqe2GC.js → useOnboardingStatus-DeOWI7wU.js} +1 -1
- package/dist/{usePciQuestionnaireList-BF7TPjbQ.js → usePciQuestionnaireList-rxdFFrP5.js} +1 -1
- package/dist/{useSalesChannels-DYGRfKeh.js → useSalesChannels-CI133F-6.js} +3 -3
- package/dist/{useScenarios-CibP5LVa.js → useScenarios-BE647UZ3.js} +1 -1
- package/dist/{useSetting-CbBaitp6.js → useSetting-BkKRHr6e.js} +1 -1
- package/dist/{useTaskStatus-1OZ2clnm.js → useTaskStatus-DdTyBvAb.js} +1 -1
- package/dist/{useTermsOfServiceStatus-Dg_nBQgt.js → useTermsOfServiceStatus-uSdmiCT3.js} +1 -1
- package/dist/{useToastContext-D643iewp.js → useToastContext-B1vl-x5N.js} +1 -1
- package/dist/{useTrustMembers-BTCDIu6B.js → useTrustMembers-BOp5wFXa.js} +3 -3
- package/dist/{useUnincorporatedPartnershipMembers-BM9dNg4i.js → useUnincorporatedPartnershipMembers-D7WsY1Dm.js} +3 -3
- package/dist/{useUpdateBusinessLines-BuW6Vnof.js → useUpdateBusinessLines-CdYUvjtv.js} +3 -3
- package/dist/{useUpdateLegalEntity-tRw1V_Mt.js → useUpdateLegalEntity-3og4ank0.js} +2 -2
- package/dist/{utils-BasWTkqk.js → utils-CHdXRuoO.js} +1 -1
- package/dist/{utils-b_KUV0wb.js → utils-CK72-tJC.js} +1 -1
- package/dist/{utils-BnolcW6V.js → utils-CXUBcmhg.js} +4 -4
- package/dist/{utils-PkTZS9uf.js → utils-CYscdqdR.js} +1 -1
- package/dist/{utils-D9h2Aq2w.js → utils-Ds83U_vM.js} +2 -2
- package/dist/{validate-CtxacqMv.js → validate-CoZiS4Ny.js} +2 -2
- package/dist/{validate-K0fmvoFj.js → validate-TM7n49em.js} +1 -1
- package/dist/{validationError-DdlWONz2.js → validationError-DozI7J9X.js} +1 -1
- package/package.json +1 -1
|
@@ -7,44 +7,44 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a0 as CountryCodes, ac as entriesOf, a3 as createLogger, u as useTranslation, L as Loader, t as IconButton, z as Typography, aB as Trans, V as Button, b as useApiContext, ad as httpDelete, v as useExperimentsContext, p as useAnalyticsContext, H as TASK_STATUS_POLLING_INTERVAL_MS, a8 as EntityTypes, c as useLegalEntity, a as addResourceBundles, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a0 as CountryCodes, ac as entriesOf, a3 as createLogger, u as useTranslation, L as Loader, t as IconButton, z as Typography, aB as Trans, V as Button, b as useApiContext, ad as httpDelete, v as useExperimentsContext, p as useAnalyticsContext, H as TASK_STATUS_POLLING_INTERVAL_MS, a8 as EntityTypes, c as useLegalEntity, a as addResourceBundles, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.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-DG-LapFA.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-CdYUvjtv.js";
|
|
16
|
+
import { u as usePciQuestionnaireList } from "./usePciQuestionnaireList-rxdFFrP5.js";
|
|
17
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-CI133F-6.js";
|
|
18
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BPBBPKhK.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-B1vl-x5N.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-CAtKO6CG.js";
|
|
21
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-NHYW3kj5.js";
|
|
22
|
+
import { u as useMultiForm } from "./useMultiForm-Cs0-iUXR.js";
|
|
23
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cx2uHyD0.js";
|
|
24
24
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
25
|
-
import { s as summaryStep } from "./Summary-
|
|
26
|
-
import { H as Header } from "./Header-
|
|
27
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
25
|
+
import { s as summaryStep } from "./Summary-BtqxXkko.js";
|
|
26
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
27
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
|
|
28
28
|
import { Show } from "@preact/signals/utils";
|
|
29
|
-
import { C as Checkbox } from "./Checkbox-
|
|
30
|
-
import { F as Field } from "./Field-
|
|
31
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
34
|
-
import { A as Avatar } from "./Avatar-
|
|
29
|
+
import { C as Checkbox } from "./Checkbox-CQQWg0dg.js";
|
|
30
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
31
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-BRPW5V15.js";
|
|
32
|
+
import { I as InputText } from "./InputText-BstgOD1h.js";
|
|
33
|
+
import { SignPCIComponent } from "./SignPCIComponent-DqNgUb0y.js";
|
|
34
|
+
import { A as Avatar } from "./Avatar-B1FMn4jz.js";
|
|
35
35
|
import cx from "classnames";
|
|
36
36
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
37
37
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
38
38
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
39
|
-
import { L as Link } from "./Link-
|
|
39
|
+
import { L as Link } from "./Link-hYPpX6dq.js";
|
|
40
40
|
import { lazy } from "preact/compat";
|
|
41
|
-
import { I as Image } from "./Image-
|
|
42
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
43
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
41
|
+
import { I as Image } from "./Image-8l9eOMtL.js";
|
|
42
|
+
import { L as LandingLayout } from "./LandingLayout-DfrTphbg.js";
|
|
43
|
+
import { u as useTaskStatus } from "./useTaskStatus-DdTyBvAb.js";
|
|
44
44
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
45
|
-
import { L as ListItem } from "./ListItem-
|
|
45
|
+
import { L as ListItem } from "./ListItem-DCNK7Kw1.js";
|
|
46
46
|
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
47
|
-
import { C as Confirm } from "./Confirm-
|
|
47
|
+
import { C as Confirm } from "./Confirm-DqMkw97y.js";
|
|
48
48
|
const rules = ({ data, country }) => {
|
|
49
49
|
return createFormRules({
|
|
50
50
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-BItguz9n.js → RootIndividualDetailsPage-CU0ERRgH.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, m as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, J as isPartOfTrustFromLegalEntity, a8 as EntityTypes, a7 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, b8 as individualOnfidoBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, m as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, J as isPartOfTrustFromLegalEntity, a8 as EntityTypes, a7 as noop, j as TaskTypes, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper, b8 as individualOnfidoBaseMapping } from "./StoreProvider-DwuHWsNs.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-Cx2uHyD0.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 IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-
|
|
15
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-D_UTW3Pt.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 { p as useAnalyticsContext, L as Loader, a7 as noop, z as Typography, a3 as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BRPW5V15.js";
|
|
15
|
+
import { p as useAnalyticsContext, L as Loader, a7 as noop, z as Typography, a3 as createLogger, u as useTranslation } from "./StoreProvider-DwuHWsNs.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-CQQWg0dg.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, $ as httpPost, ai as isEmpty, u as useTranslation, p as useAnalyticsContext, aj as getOwnDecisionMakers, o as LegalEntityTypes, j as TaskTypes, V as Button, a as addResourceBundles, c as useLegalEntity, L as Loader, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as httpPost, ai as isEmpty, u as useTranslation, p as useAnalyticsContext, aj as getOwnDecisionMakers, o as LegalEntityTypes, j as TaskTypes, V as Button, a as addResourceBundles, c as useLegalEntity, L as Loader, R as ROOT_LE, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
13
|
-
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./useSalesChannels-CI133F-6.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-B1vl-x5N.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-D1Kv1uXL.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-CNBH6HSv.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-CQQWg0dg.js";
|
|
20
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
21
|
+
import { S as Select } from "./Select-_jyQwO_g.js";
|
|
22
|
+
import { u as useForm } from "./useForm-De1DLL-w.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) => {
|
|
@@ -241,7 +241,7 @@ function SignPCIComponent({
|
|
|
241
241
|
const additionalSalesChannels = useSalesChannels();
|
|
242
242
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
243
243
|
addResourceBundles(i18n, [
|
|
244
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
244
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DzcTI92X.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-dPfrbCii.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-DwuHWsNs.js").then((n) => n.bF), "../../../language/locales/es-ES.json": () => import("./es-ES--IvNed_Q.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-BUixKfXH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-BM-qNLci.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-D63gRTDc.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-DL0IjTzn.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-KQ6bciOb.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Ds3VioxT.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-Ct4s4jXV.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-hxwQIw_i.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-0PQ-U1u6.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
245
245
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-DQ4ZYSea.js"), "../../ui/language/de-DE.json": () => import("./de-DE-CkbOZ6S_.js"), "../../ui/language/en-US.json": () => import("./en-US-CjjPhkB5.js"), "../../ui/language/es-ES.json": () => import("./es-ES-BAolMrZ0.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-D8WrLxxq.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-Beljeilc.js"), "../../ui/language/it-IT.json": () => import("./it-IT-5a7NHVFo.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-DSvZhFNY.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-CmURERx_.js"), "../../ui/language/no-NO.json": () => import("./no-NO-qyqWODMp.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR-BxoOF8jB.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) },
|
|
246
246
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CvUzNn9Z.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BsLkPEzn.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
247
247
|
]);
|
|
@@ -10,11 +10,11 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation, z as Typography, V as Button, o 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, V as Button, o as LegalEntityTypes } from "./StoreProvider-DwuHWsNs.js";
|
|
14
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
15
|
+
import { I as Image } from "./Image-8l9eOMtL.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-Dp6kxT2Z.js";
|
|
17
|
+
import { u as useForm } from "./useForm-De1DLL-w.js";
|
|
18
18
|
const setupAccountMethods = ["singpass", "manual"];
|
|
19
19
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
20
20
|
const singpassLogo = lazy(() => import("./singpass-logo-wY4xsmTX.js"));
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, j as TaskTypes, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.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-Cx2uHyD0.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-CAiFFs88.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,48 +7,48 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, $ as httpPost, k as httpGet, u as useTranslation, z as Typography, V as Button, aa as useI18nContext, L as Loader, r as Icon, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, a3 as createLogger, c as useLegalEntity, R as ROOT_LE, p as useAnalyticsContext, bE as useLegalEntities, a as addResourceBundles, a8 as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, $ as httpPost, k as httpGet, u as useTranslation, z as Typography, V as Button, aa as useI18nContext, L as Loader, r as Icon, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, a3 as createLogger, c as useLegalEntity, R as ROOT_LE, p as useAnalyticsContext, bE as useLegalEntities, a as addResourceBundles, a8 as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.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-Cx2uHyD0.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-DG-LapFA.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-B1vl-x5N.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BzRbiLpn.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3og4ank0.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BPBBPKhK.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-NHYW3kj5.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-Cs0-iUXR.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-CoZiS4Ny.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-8g7vzs2J.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
|
|
27
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
28
|
+
import { S as Select } from "./Select-_jyQwO_g.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-DFDjCEZ2.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-D741B4uo.js";
|
|
31
31
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
32
|
-
import { I as InputText } from "./InputText-
|
|
33
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-
|
|
34
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
35
|
-
import { C as CountryField } from "./CountryField-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { a as Alert } from "./Alert-
|
|
38
|
-
import { M as Modal } from "./Modal-
|
|
39
|
-
import { C as Confirm } from "./Confirm-
|
|
40
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { I as InputText } from "./InputText-BstgOD1h.js";
|
|
33
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, s as sofCategoryItemMapper, d as getPageHeadings, e as getServiceTranslationSelectTitle, h as getSofCardDetails, i as getGettingStartedCardDetails, j as getAdditionalDataSchemaKeys, k as getServiceTranslation, p as parseSOFDocumentDescription, l as getRelevantErrors, m as getUniqueRemediationActions, n as SOF_INVALID_INPUT_ERROR_CODES, o as getServiceTranslationKey, q as getDocumentRequirements, r as getDocumentLists, t as getSourceOfFundsRequiredFields, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as getSourceOfFundsPayload, A as ALLOWED_SOF_SERVICES, x as parseSofOriginatorPayload } from "./utils-Ds83U_vM.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-BLGCNZj6.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-61GLcHq3.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-B1FMn4jz.js";
|
|
37
|
+
import { a as Alert } from "./Alert-_9nVl6uE.js";
|
|
38
|
+
import { M as Modal } from "./Modal-BRPW5V15.js";
|
|
39
|
+
import { C as Confirm } from "./Confirm-DqMkw97y.js";
|
|
40
|
+
import { T as TileGroup } from "./TileGroup-6wc032O1.js";
|
|
41
41
|
import { lazy } from "preact/compat";
|
|
42
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
43
|
-
import { H as Header } from "./Header-
|
|
44
|
-
import { I as Image } from "./Image-
|
|
45
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
42
|
+
import { u as useTaskStatus } from "./useTaskStatus-DdTyBvAb.js";
|
|
43
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
44
|
+
import { I as Image } from "./Image-8l9eOMtL.js";
|
|
45
|
+
import { L as LandingLayout } from "./LandingLayout-DfrTphbg.js";
|
|
46
46
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
47
|
-
import { i as isEmpty } from "./isEmpty-
|
|
47
|
+
import { i as isEmpty } from "./isEmpty-CzqpRnGb.js";
|
|
48
48
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
49
49
|
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
50
|
-
import { D as Dropzone } from "./Dropzone-
|
|
51
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
50
|
+
import { D as Dropzone } from "./Dropzone-Brt8j_On.js";
|
|
51
|
+
import { v as validateDateNotInTheFuture } from "./validate-TM7n49em.js";
|
|
52
52
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
53
53
|
return httpPost(
|
|
54
54
|
{
|
|
@@ -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-DwuHWsNs.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] = "4361abc9-87a2-4e8f-b2cb-06fed552dafb", e2._sentryDebugIdIdentifier = "sentry-dbid-4361abc9-87a2-4e8f-b2cb-06fed552dafb");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4095,7 +4095,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4095
4095
|
};
|
|
4096
4096
|
};
|
|
4097
4097
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4098
|
-
const sdkVersion = "4.0.0-compact.
|
|
4098
|
+
const sdkVersion = "4.0.0-compact.8";
|
|
4099
4099
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4100
4100
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4101
4101
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4186,7 +4186,7 @@ const AnalyticsProvider = ({
|
|
|
4186
4186
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4187
4187
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4188
4188
|
const sessionData = {
|
|
4189
|
-
sdkVersion: "4.0.0-compact.
|
|
4189
|
+
sdkVersion: "4.0.0-compact.8",
|
|
4190
4190
|
componentName,
|
|
4191
4191
|
userAgent: navigator.userAgent,
|
|
4192
4192
|
legalEntityId: rootLegalEntityId,
|
|
@@ -4601,7 +4601,7 @@ function StateProvider({
|
|
|
4601
4601
|
);
|
|
4602
4602
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children });
|
|
4603
4603
|
}
|
|
4604
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
4604
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-yKPZa0En.js")).DebugModal);
|
|
4605
4605
|
const DebugListener = () => {
|
|
4606
4606
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
4607
4607
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useAnalyticsContext, aa as useI18nContext, u as useTranslation, ai as isEmpty, t as IconButton, a2 as translateStringOrObject, bj as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header } from "./Header-
|
|
11
|
+
import { p as useAnalyticsContext, aa as useI18nContext, u as useTranslation, ai as isEmpty, t as IconButton, a2 as translateStringOrObject, bj as Svg } from "./StoreProvider-DwuHWsNs.js";
|
|
12
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
14
|
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
16
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
16
|
+
import { E as ErrorPanel } from "./ErrorPanel-8g7vzs2J.js";
|
|
17
17
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
18
|
-
import { c as createFormUtils } from "./formUtils-
|
|
19
|
-
import { g as getRoleName } from "./roleMetadata-
|
|
18
|
+
import { c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
|
|
19
|
+
import { g as getRoleName } from "./roleMetadata-CkOicLV_.js";
|
|
20
20
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
21
21
|
const usePageLandedEvent = () => {
|
|
22
22
|
const userEvents = useAnalyticsContext();
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { r as Icon, u as useTranslation, q as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { r as Icon, u as useTranslation, q as TaskStatuses } from "./StoreProvider-DwuHWsNs.js";
|
|
13
13
|
const SettingNames = {
|
|
14
14
|
AcceptedCountries: "acceptedCountries",
|
|
15
15
|
AllowBankAccountFormatSelection: "allowBankAccountFormatSelection",
|
|
@@ -7,30 +7,30 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ba as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aD as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-
|
|
10
|
+
import { ba as getNestedPropertyKeys, a0 as CountryCodes, o as LegalEntityTypes, a6 as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, j as TaskTypes, aD as keysOf, v as useExperimentsContext, m as useAccountHolder } from "./StoreProvider-DwuHWsNs.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
15
|
-
import { H as Header } from "./Header-
|
|
16
|
-
import { S as Select } from "./Select-
|
|
17
|
-
import { T as TextArea } from "./TextArea-
|
|
18
|
-
import { S as StateContextSetter } from "./validate-
|
|
19
|
-
import { u as useForm } from "./useForm-
|
|
20
|
-
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-
|
|
21
|
-
import { D as Dropzone } from "./Dropzone-
|
|
22
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
23
|
-
import { c as createFormUtils } from "./formUtils-
|
|
24
|
-
import { C as Checkbox } from "./Checkbox-
|
|
14
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
15
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
16
|
+
import { S as Select } from "./Select-_jyQwO_g.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-DFDjCEZ2.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-CoZiS4Ny.js";
|
|
19
|
+
import { u as useForm } from "./useForm-De1DLL-w.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-euVcQ8wC.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-Brt8j_On.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-8g7vzs2J.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-CQQWg0dg.js";
|
|
25
25
|
import { C as CompanyTypesValues } from "./company-types-value-D_mKv5PT.js";
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
26
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-D1fbApUW.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-DQVG3_xF.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CHdXRuoO.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-Bn6j_2Iu.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-DfQEZqfV.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-EfBVKdNn.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-BLGCNZj6.js";
|
|
34
34
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
35
35
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
36
36
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -7,29 +7,29 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation, aB as Trans, r as Icon, V as Button, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, ai as isEmpty$1, a as addResourceBundles, p as useAnalyticsContext, c as useLegalEntity, L as Loader, R as ROOT_LE, a3 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation, aB as Trans, r as Icon, V as Button, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, ai as isEmpty$1, a as addResourceBundles, p as useAnalyticsContext, c as useLegalEntity, L as Loader, R as ROOT_LE, a3 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.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-B1vl-x5N.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3og4ank0.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-BPBBPKhK.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-NHYW3kj5.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-Cs0-iUXR.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 { H as Header } from "./Header-
|
|
23
|
-
import { L as Link } from "./Link-
|
|
24
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
25
|
-
import { a as Alert } from "./Alert-
|
|
21
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
22
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
23
|
+
import { L as Link } from "./Link-hYPpX6dq.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-BLGCNZj6.js";
|
|
25
|
+
import { a as Alert } from "./Alert-_9nVl6uE.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
|
-
import { u as useTaskStatus } from "./useTaskStatus-
|
|
27
|
+
import { u as useTaskStatus } from "./useTaskStatus-DdTyBvAb.js";
|
|
28
28
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
29
|
-
import { I as Image } from "./Image-
|
|
29
|
+
import { I as Image } from "./Image-8l9eOMtL.js";
|
|
30
30
|
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-DfrTphbg.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-CzqpRnGb.js";
|
|
33
33
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
34
|
return httpGet({
|
|
35
35
|
baseUrl,
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-DwuHWsNs.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 { r as Icon, z as Typography, p as useAnalyticsContext, a7 as noop } from "./StoreProvider-
|
|
12
|
+
import { r as Icon, z as Typography, p as useAnalyticsContext, a7 as noop } from "./StoreProvider-DwuHWsNs.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-BRPW5V15.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
17
17
|
const tile = "adyen-kyc-tile";
|
|
18
18
|
const tileIcon = "adyen-kyc-tile-icon";
|
|
@@ -7,52 +7,52 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { ac as entriesOf, a6 as objectsDeepEqual, ak as reverseMapping, o as LegalEntityTypes, j as TaskTypes, a0 as CountryCodes, au as hasText, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, b0 as isValidMinLength, aq as isInvalidName, bk as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, z as Typography, bA as getCountrySpecificTrustTypeOptions, bB as trustComponentsKeyMapping, bC as trustApiKeyMapping, b as useApiContext, p as useAnalyticsContext, bD as trustDocumentMapping, ab as cloneObject, g as getLegalEntityCountry, ai as isEmpty$1, aH as drop, ae as getOwnEntityAssociations, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, aD as keysOf, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ac as entriesOf, a6 as objectsDeepEqual, ak as reverseMapping, o as LegalEntityTypes, j as TaskTypes, a0 as CountryCodes, au as hasText, am as matchesRegex, an as NO_ALPHABET_REGEX, ao as EMOJI_REGEX, ap as hasRepeatedCharacters, b0 as isValidMinLength, aq as isInvalidName, bk as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, v as useExperimentsContext, z as Typography, bA as getCountrySpecificTrustTypeOptions, bB as trustComponentsKeyMapping, bC as trustApiKeyMapping, b as useApiContext, p as useAnalyticsContext, bD as trustDocumentMapping, ab as cloneObject, g as getLegalEntityCountry, ai as isEmpty$1, aH as drop, ae as getOwnEntityAssociations, c as useLegalEntity, a as addResourceBundles, L as Loader, R as ROOT_LE, aD as keysOf, a8 as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-DwuHWsNs.js";
|
|
11
11
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
12
12
|
import { skipToken } from "@tanstack/preact-query";
|
|
13
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-
|
|
14
|
-
import { l as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, x as exemptedFromTaxDefaultFieldMetadata, y as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, m as getCompanyRegistrationNumberOptions, n as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./getProblemsForEntity-Cx2uHyD0.js";
|
|
14
|
+
import { l as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, d as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, x as exemptedFromTaxDefaultFieldMetadata, y as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, m as getCompanyRegistrationNumberOptions, n as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-QyHTiEoc.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 { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
27
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BzRbiLpn.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-3og4ank0.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-DemxVumJ.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-B1vl-x5N.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-CAtKO6CG.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-NHYW3kj5.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-euVcQ8wC.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-B1vSvDTu.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-CHdXRuoO.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-MyJZP-4s.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DozI7J9X.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-CoZiS4Ny.js";
|
|
28
28
|
import { a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
29
29
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
30
30
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
31
31
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
32
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
32
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DlIEfVQ_.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-Cc3J2-z9.js";
|
|
34
|
-
import { F as Field } from "./Field-
|
|
35
|
-
import { H as Header } from "./Header-
|
|
36
|
-
import { S as Select } from "./Select-
|
|
37
|
-
import { u as useForm } from "./useForm-
|
|
38
|
-
import { a as Alert } from "./Alert-
|
|
39
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
40
|
-
import { I as InputText } from "./InputText-
|
|
41
|
-
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-
|
|
42
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
43
|
-
import { i as isEmpty } from "./isEmpty-
|
|
44
|
-
import { a as validateNotEmptyOnBlur } from "./patternValidators-
|
|
45
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
46
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
34
|
+
import { F as Field } from "./Field-GFhXhBL7.js";
|
|
35
|
+
import { H as Header } from "./Header-B9Tv_mvA.js";
|
|
36
|
+
import { S as Select } from "./Select-_jyQwO_g.js";
|
|
37
|
+
import { u as useForm } from "./useForm-De1DLL-w.js";
|
|
38
|
+
import { a as Alert } from "./Alert-_9nVl6uE.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-8g7vzs2J.js";
|
|
40
|
+
import { I as InputText } from "./InputText-BstgOD1h.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-61GLcHq3.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-Dg7QeiCj.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-CzqpRnGb.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-EfBVKdNn.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-BPBBPKhK.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-Cs0-iUXR.js";
|
|
47
47
|
import "preact";
|
|
48
48
|
import "classnames";
|
|
49
49
|
import "named-slots";
|
|
50
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
50
|
+
import { R as RadioGroup } from "./RadioGroup-BLGCNZj6.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-DfQEZqfV.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-CDtTEXqi.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-PEl3_E1Y.js";
|
|
56
56
|
const hasDataChanged = (initialData, currentData) => entriesOf(currentData ?? {}).some(([key, value]) => {
|
|
57
57
|
if (typeof value === "object") {
|
|
58
58
|
return !objectsDeepEqual(value, initialData?.[key]);
|