@adyen/kyc-components 3.94.0 → 3.94.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-UXDlHmf_.js → AcceptTermsOfServiceComponent-sH4rxSc9.js} +15 -15
- package/dist/{Accordion-DM9qeMoR.js → Accordion-CkNvJ4kT.js} +1 -1
- package/dist/{AccountSetupRejected-DfmKQEp-.js → AccountSetupRejected-Dq_8O0cj.js} +3 -3
- package/dist/{ActionBar-DCKuV5BO.js → ActionBar-DAYW611i.js} +1 -1
- package/dist/{Address-BEUcWe_H.js → Address-BHQeY0gZ.js} +9 -9
- package/dist/{Alert-D9HbhU88.js → Alert-GJQ5T45c.js} +2 -2
- package/dist/{Avatar-C_tjYaBz.js → Avatar-CE3Vdw-a.js} +1 -1
- package/dist/{BusinessFinancingComponent-B5gLGmkK.js → BusinessFinancingComponent-BghSUOhK.js} +4 -4
- package/dist/{BusinessFinancingDropin-BpZKzB71.js → BusinessFinancingDropin-TaNeXvD7.js} +27 -27
- package/dist/{BusinessFinancingPage-CKdy77OK.js → BusinessFinancingPage-DWBB4A7i.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-ClkY9cbT.js → BusinessTypeSelectionPage-Boqvqj4o.js} +8 -8
- package/dist/{Checkbox-BU4IYlt6.js → Checkbox-UmOe8uZC.js} +1 -1
- package/dist/{Confirm-BM1PTsnm.js → Confirm-Cq9502dt.js} +2 -2
- package/dist/{ConstitutionalDocument-D9sPfw_B.js → ConstitutionalDocument-CVfC6g_r.js} +17 -17
- package/dist/{ContactDetails-BRnbG7BX.js → ContactDetails-CSwaBiDA.js} +7 -7
- package/dist/{ContextGuidance-CZGa7C-r.js → ContextGuidance-CYFHnvHY.js} +2 -2
- package/dist/{CountryField-DShqP-Yi.js → CountryField-BmCcBDnB.js} +4 -4
- package/dist/{CreateIndividualComponent-BZ6dd8Bd.js → CreateIndividualComponent-LzwpwYcO.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-1pjVr_3y.js → CreateTransferInstrumentComponent-DHTBgxQl.js} +3 -3
- package/dist/{Currency-CEtDxV-F.js → Currency-BcqhmK8t.js} +6 -6
- package/dist/{CustomerSupport-gmN79qSl.js → CustomerSupport-BpMbjauY.js} +10 -10
- package/dist/{DebugModal-C3horl0P.js → DebugModal-DAJcN3hx.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-CN1t2Ok6.js → DecisionMakerDetailsPage-B94wh9yj.js} +6 -6
- package/dist/{DecisionMakers-83kflZpA.js → DecisionMakers-Dt-p6zwO.js} +20 -20
- package/dist/{Dropzone-DYIUInYF.js → Dropzone-CNn_hPhi.js} +3 -3
- package/dist/{EmbeddedStatus-BID4yaOx.js → EmbeddedStatus-C2UaHa70.js} +2 -2
- package/dist/{EndStateLayout-Cqmi0QYW.js → EndStateLayout-CZwGX54V.js} +1 -1
- package/dist/{EntityAssociation-jMAjopdW.js → EntityAssociation-CLCJA57v.js} +5 -5
- package/dist/{EntityGuidanceStatus-ek-5IvZb.js → EntityGuidanceStatus-DlZfC9pT.js} +2 -2
- package/dist/{ErrorPanel-ByEaxCQu.js → ErrorPanel-CHLFYAGU.js} +2 -2
- package/dist/{Field-Cp_UOAnA.js → Field-CL2SyUK_.js} +1 -1
- package/dist/{FormNavigation-CttAyMuX.js → FormNavigation-D9AYk5oO.js} +2 -2
- package/dist/{FormWrapper-C8UDjnjQ.js → FormWrapper-Ss3EecNg.js} +8 -8
- package/dist/{Header-CIxJSQWR.js → Header-B8qkYn4f.js} +1 -1
- package/dist/{Image-T-D-HDf5.js → Image-UqgzvUPD.js} +1 -1
- package/dist/{Individual.rules-DEhHxeiv.js → Individual.rules-BY65pZ_4.js} +5 -5
- package/dist/{IndividualDropin-Dz2ooI0s.js → IndividualDropin-C7a9m3jT.js} +52 -52
- package/dist/{InputDate-z9OpUslu.js → InputDate-CasqUcbo.js} +1 -1
- package/dist/{InputText-CBhD5jca.js → InputText-A91_xfE6.js} +1 -1
- package/dist/{Introduction-Bm3kybSH.js → Introduction-B_G2_Ak6.js} +3 -3
- package/dist/{JpAddress-owiNWOqn.js → JpAddress-CzTMoLQZ.js} +8 -8
- package/dist/{LandingLayout-BuBU3Pyb.js → LandingLayout-ChgKjsos.js} +1 -1
- package/dist/{LegalRepresentativeDetailsPage-vS7jAxuO.js → LegalRepresentativeDetailsPage-Bin7luSJ.js} +3 -3
- package/dist/{Link-CIBefZJS.js → Link-CHB5rlk5.js} +1 -1
- package/dist/{ListItem-CnzgA-sH.js → ListItem-90fVUJ3T.js} +2 -2
- package/dist/{LoaderWrapper-CwhIpGKR.js → LoaderWrapper-KayOKxCD.js} +1 -1
- package/dist/{ManageIndividualComponent-CJEqOUgN.js → ManageIndividualComponent-6wZDjWT7.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BdiC5Nbd.js → ManageTermsOfServiceComponent-CxT_QZVX.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-CObC5Uof.js → ManageTransferInstrumentComponent-DUB6tlrd.js} +11 -11
- package/dist/{MaskedInput-BfI4FGAA.js → MaskedInput-Dolhh7yX.js} +4 -4
- package/dist/{MaybeModal-DHcu32Dh.js → MaybeModal-CAurh129.js} +2 -2
- package/dist/{Modal-BKWXTEoU.js → Modal-BMQ9RmbO.js} +1 -1
- package/dist/{Name-BCar2_dk.js → Name-BsvdKyt8.js} +4 -4
- package/dist/{OnboardingDropinComponent-DstStqYS.js → OnboardingDropinComponent-Dv-WP3-3.js} +42 -42
- package/dist/{PayoutDetailsDropin-DSdlqAe2.js → PayoutDetailsDropin-BfJFJiaL.js} +40 -40
- package/dist/{RadioGroup-COsozc9g.js → RadioGroup-B_XR2iwa.js} +1 -1
- package/dist/{RadioGroupCard-xqC3IACY.js → RadioGroupCard-CNjYzk2n.js} +1 -1
- package/dist/{Review-CZwc-DMp.js → Review-BSi6u6dv.js} +6 -6
- package/dist/{RootBusinessDetailsPage-BsAtLAyF.js → RootBusinessDetailsPage-Cz_-Gfr3.js} +4 -4
- package/dist/{RootBusinessLinesPage-BRgtyHFs.js → RootBusinessLinesPage-HOinWNPJ.js} +22 -22
- package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-CFUZJhpo.js} +4 -4
- package/dist/{Select-DeTBytOH.js → Select-IlZLfi3_.js} +3 -3
- package/dist/{SignPCIComponent-CCGyrXvI.js → SignPCIComponent-gPEfrD4-.js} +10 -10
- package/dist/{SingpassSelection-BumqRwXI.js → SingpassSelection-DOL9BZkp.js} +5 -5
- package/dist/{SoleProprietorshipPage-zgU4q95D.js → SoleProprietorshipPage-CoLrpilH.js} +3 -3
- package/dist/{SourceOfFundsPage-DkjYls-E.js → SourceOfFundsPage-C2PgvSOC.js} +30 -30
- package/dist/{StepProgressIndicator-D8PfKJKf.js → StepProgressIndicator-CtqHOctz.js} +1 -1
- package/dist/{StoreProvider-CsZ-qrGt.js → StoreProvider-CmW2tb7E.js} +4 -4
- package/dist/{Summary-DPm9r7Az.js → Summary-CcBpezVs.js} +5 -5
- package/dist/{TaskVerificationStatus-DrOQToMh.js → TaskVerificationStatus-nanzio9G.js} +1 -1
- package/dist/{TaxInformationField-NI7Hbgov.js → TaxInformationField-B1uanesg.js} +20 -20
- package/dist/{TaxReportingDropin-BBUAxx92.js → TaxReportingDropin-Bc7t_n1I.js} +15 -15
- package/dist/{TextArea-CCjCNpAP.js → TextArea-DVLoRxlf.js} +1 -1
- package/dist/{TileGroup-BhKhvfLz.js → TileGroup-1H0NMYGX.js} +2 -2
- package/dist/{TrustDetailsPage-yOmFcEyO.js → TrustDetailsPage-BUFDsVT-.js} +33 -33
- package/dist/{TrustMemberCompanyPage-DfXulzKv.js → TrustMemberCompanyPage-Bd9nqqyC.js} +4 -4
- package/dist/{TrustMemberIndividualPage-B8tb56n2.js → TrustMemberIndividualPage-BXvYsgC5.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-WHu1tc4O.js → TrustMemberRoleAndTypePage-BOhZJ3r5.js} +21 -21
- package/dist/{TrustMembersOverview-BWbGUK3k.js → TrustMembersOverview-CXC3cabX.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-DD2dn41k.js → UnincorporatedPartnershipIndividualPage-8caLaWNu.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DsUSSYnI.js → UnincorporatedPartnershipMemberCompanyPage-D6iHHZFJ.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctb0Lz_0.js → UnincorporatedPartnershipMemberRoleAndTypePage-DLQ4tFt5.js} +10 -10
- package/dist/{UnincorporatedPartnershipMembersOverview-B_GJIeZC.js → UnincorporatedPartnershipMembersOverview-B3NSCrqI.js} +8 -8
- package/dist/{VerificationErrorAlert-CCiMqGl8.js → VerificationErrorAlert-DERyL-Ve.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-CICJ6cy4.js → ViewVerificationStatusComponent-BnSQ67x5.js} +3 -3
- 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-kyc-components.js +19 -19
- 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-Ch6rVpGi.js → bafinUtils-4fqP157_.js} +1 -1
- package/dist/{commonValidators-B8wfpMjX.js → commonValidators-B-7epFA5.js} +1 -1
- package/dist/{dropinUtils-B4Vv7_zJ.js → dropinUtils-CIat9gS7.js} +3 -3
- package/dist/{fieldConfig-CMdKt41r.js → fieldConfig-CpHkwYmW.js} +5 -5
- package/dist/{formUtils-q44BTi2U.js → formUtils-CQIwcS8V.js} +2 -2
- package/dist/{getName-BxKx8lLd.js → getName-SMiWFGIc.js} +1 -1
- package/dist/{iframeWidget-iDH8bVr4.js → iframeWidget-Bm64pKZa.js} +3 -3
- package/dist/{isEmpty-BNacTlfR.js → isEmpty-Co3c-R6n.js} +1 -1
- package/dist/{japanSupportUtils-C7aPdWXD.js → japanSupportUtils-DUlZ-afy.js} +1 -1
- package/dist/{localizeDateString-DuTq6aHe.js → localizeDateString-C1oPVqub.js} +1 -1
- package/dist/{mapExistingFile-CGg2sd-T.js → mapExistingFile-6U-l-M8P.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BwHU4ZwL.js → mapJpAddressSchemaToAddressLocalizations-BjqUfeDn.js} +4 -4
- package/dist/{mapLegalEntityToIndividualSchema-DzCEngXr.js → mapLegalEntityToIndividualSchema-CEZ_SwAB.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-DLHvwig1.js → mapTransferInstrumentToPayoutAccount-BlUZjYuF.js} +1 -1
- package/dist/{patternValidators-CZ5mQeGD.js → patternValidators-BwTbcBai.js} +1 -1
- package/dist/{process-field-configurations-BQY03q4v.js → process-field-configurations-Djws978Q.js} +2 -2
- package/dist/{resolveEnvironment-BEU3VKd8.js → resolveEnvironment-CVu1Sp-Z.js} +3 -3
- package/dist/{roleMetadata-BeJKyoeE.js → roleMetadata-Bet27ep3.js} +1 -1
- package/dist/style.css +5 -5
- package/dist/styles-CLV89_hH.js +5 -5
- package/dist/{types-pKG9olDB.js → types-BByxDB-r.js} +1 -1
- package/dist/{types-BuMuCpsa.js → types-D5soxm6D.js} +1 -1
- package/dist/{types-BY62XJTq.js → types-DodxtkyD.js} +1 -1
- package/dist/{useAssociatedLegalEntity-V0OP9ejx.js → useAssociatedLegalEntity-BiUeJrfT.js} +1 -1
- package/dist/{useBusinessDetailsData-BsXXL7fg.js → useBusinessDetailsData-C_8-0d7Z.js} +49 -49
- package/dist/{useCreateLegalEntity-otpCRCfZ.js → useCreateLegalEntity-BLnPzlKG.js} +1 -1
- package/dist/{useDataset-CvATx7EN.js → useDataset-BZDB4-94.js} +1 -1
- package/dist/{useForm-9nSw9LZY.js → useForm-BVECSHTo.js} +2 -2
- package/dist/{useFormContext-BnlNKQZ7.js → useFormContext-ByLkto9e.js} +6 -6
- package/dist/{useGlobalData-Dy2O7YGk.js → useGlobalData-Ct4ardnB.js} +1 -1
- package/dist/{useMultiForm-CBefohos.js → useMultiForm-CucoFPTP.js} +3 -3
- package/dist/{useOnboardingStatus-CJrlnkvv.js → useOnboardingStatus-DhWqfv4y.js} +1 -1
- package/dist/{useScenarios-CkgrmOF-.js → useScenarios-hJelzilY.js} +1 -1
- package/dist/{useTermsOfServiceStatus-DFLF3xas.js → useTermsOfServiceStatus-B4mDxap_.js} +1 -1
- package/dist/{useToastContext-uSKjdph9.js → useToastContext-DYJr2Yhx.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BmLKVfkf.js → useUnincorporatedPartnershipMembers-DuucUfhV.js} +3 -3
- package/dist/{useUpdateBusinessLines-BBNXF45E.js → useUpdateBusinessLines-ZSZ-grb3.js} +3 -3
- package/dist/{useUpdateLegalEntity-DHxCVgNk.js → useUpdateLegalEntity-B9jFutW6.js} +2 -2
- package/dist/{utils-ClKogQZa.js → utils-Ag8KeYzT.js} +2 -2
- package/dist/{utils-CIHH_aYF.js → utils-CRq_aSxq.js} +1 -1
- package/dist/{utils-CLLUBF1a.js → utils-DVWo9odT.js} +1 -1
- package/dist/{utils-CIIs2bXi.js → utils-DkuYidIK.js} +1 -1
- package/dist/{utils-5yZQq_bx.js → utils-DkwzPpL2.js} +5 -5
- package/dist/{validate-CLYo0JdH.js → validate-CnZQywR5.js} +2 -2
- package/dist/{validate-BntX2W3B.js → validate-CtBguJTj.js} +1 -1
- package/dist/{validationError-DJ6zTIzv.js → validationError-B7cbiM5j.js} +1 -1
- package/package.json +1 -1
|
@@ -7,40 +7,40 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a5 as CountryCodes, ak as entriesOf, o as createLogger, u as useTranslation, L as Loader, H as IconButton, O as Typography, aH as Trans, a0 as Button, b as useApiContext, al as httpDelete, J as useExperimentsContext, C as useAnalyticsContext, V as TASK_STATUS_POLLING_INTERVAL_MS, y as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, B as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { a5 as CountryCodes, ak as entriesOf, o as createLogger, u as useTranslation, L as Loader, H as IconButton, O as Typography, aH as Trans, a0 as Button, b as useApiContext, al as httpDelete, J as useExperimentsContext, C as useAnalyticsContext, V as TASK_STATUS_POLLING_INTERVAL_MS, y as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, B as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.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 { i as useBusinessLines, f as useTaskStatus, u as useSalesChannels, j as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
15
|
-
import { s as salesChannelsWithWebData, u as useIndustryCodes, d as businessLineTypes, i as industryCodeFieldMetadata, a as IndustryCodeField, I as INDUSTRY_CODE_FIELD, S as SALES_CHANNELS_FIELD, W as WEB_DATA_FIELD, e as shouldSignNewPci, f as SCTA_FIELD, D as Divider, g as selectedBusinessLine, b as useCreateBusinessLine, c as useUpdateBusinessLine, h as businessLinesConfigurations, j as businessLinesForms } from "./useUpdateBusinessLines-
|
|
16
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
17
|
-
import { u as useToastContext } from "./useToastContext-
|
|
18
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
19
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
20
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
21
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
14
|
+
import { i as useBusinessLines, f as useTaskStatus, u as useSalesChannels, j as usePciQuestionnaireList, a as usePciStatus } from "./OnboardingDropinComponent-Dv-WP3-3.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-ZSZ-grb3.js";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-ByLkto9e.js";
|
|
17
|
+
import { u as useToastContext } from "./useToastContext-DYJr2Yhx.js";
|
|
18
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-Djws978Q.js";
|
|
19
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CIat9gS7.js";
|
|
20
|
+
import { u as useMultiForm } from "./useMultiForm-CucoFPTP.js";
|
|
21
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-UqgzvUPD.js";
|
|
22
22
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
23
|
-
import { s as summaryStep } from "./Summary-
|
|
24
|
-
import { H as Header } from "./Header-
|
|
25
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
23
|
+
import { s as summaryStep } from "./Summary-CcBpezVs.js";
|
|
24
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
25
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CQIwcS8V.js";
|
|
26
26
|
import { Show } from "@preact/signals/utils";
|
|
27
|
-
import { C as Checkbox } from "./Checkbox-
|
|
28
|
-
import { F as Field } from "./Field-
|
|
29
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
27
|
+
import { C as Checkbox } from "./Checkbox-UmOe8uZC.js";
|
|
28
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
29
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-BMQ9RmbO.js";
|
|
30
|
+
import { I as InputText } from "./InputText-A91_xfE6.js";
|
|
31
|
+
import { SignPCIComponent } from "./SignPCIComponent-gPEfrD4-.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-CE3Vdw-a.js";
|
|
33
33
|
import cx from "classnames";
|
|
34
34
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
35
35
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.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-CHB5rlk5.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
39
|
+
import { L as LandingLayout } from "./LandingLayout-ChgKjsos.js";
|
|
40
40
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
41
|
-
import { L as ListItem } from "./ListItem-
|
|
41
|
+
import { L as ListItem } from "./ListItem-90fVUJ3T.js";
|
|
42
42
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
43
|
-
import { C as Confirm } from "./Confirm-
|
|
43
|
+
import { C as Confirm } from "./Confirm-Cq9502dt.js";
|
|
44
44
|
const rules = ({ data, country }) => {
|
|
45
45
|
return createFormRules({
|
|
46
46
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-C3wTzTp1.js → RootIndividualDetailsPage-CFUZJhpo.js}
RENAMED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE, x as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, y as EntityTypes, ad as noop, B as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bc as individualOnfidoBaseMapping } from "./StoreProvider-
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, x as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, y as EntityTypes, ad as noop, B as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bc as individualOnfidoBaseMapping } from "./StoreProvider-CmW2tb7E.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
13
|
-
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-
|
|
14
|
-
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-
|
|
12
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-UqgzvUPD.js";
|
|
13
|
+
import { h as filterProblemsByTaskForms, m as getTrustedFieldsProvider, n as getTrustedFields } from "./OnboardingDropinComponent-Dv-WP3-3.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, i as individualOnfidoForms } from "./IndividualDropin-C7a9m3jT.js";
|
|
15
15
|
function RootIndividualDetailsPage({
|
|
16
16
|
asModal = false,
|
|
17
17
|
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 { C as useAnalyticsContext, L as Loader, ad as noop, O as Typography, o as createLogger, u as useTranslation } from "./StoreProvider-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-BMQ9RmbO.js";
|
|
15
|
+
import { C as useAnalyticsContext, L as Loader, ad as noop, O as Typography, o as createLogger, u as useTranslation } from "./StoreProvider-CmW2tb7E.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-UmOe8uZC.js";
|
|
19
19
|
const createSelectFocus = ({
|
|
20
20
|
activeItems,
|
|
21
21
|
filteredItems: items
|
|
@@ -7,19 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, ap as isEmpty, u as useTranslation, C as useAnalyticsContext, aq as getOwnDecisionMakers, t as LegalEntityTypes, B as TaskTypes, a0 as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, ap as isEmpty, u as useTranslation, C as useAnalyticsContext, aq as getOwnDecisionMakers, t as LegalEntityTypes, B as TaskTypes, a0 as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.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 "./OnboardingDropinComponent-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-Dv-WP3-3.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-DYJr2Yhx.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-CAurh129.js";
|
|
17
|
+
import { E as EndStateLayout } from "./EndStateLayout-CZwGX54V.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-UmOe8uZC.js";
|
|
20
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
21
|
+
import { S as Select } from "./Select-IlZLfi3_.js";
|
|
22
|
+
import { u as useForm } from "./useForm-BVECSHTo.js";
|
|
23
23
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
24
24
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.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/bg-BG.json": () => import("./bg-BG-C1maG7_G.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Dq3xx45p.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-CoqZjIMT.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-CLMlbqGz.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BEOd56RY.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/bg-BG.json": () => import("./bg-BG-C1maG7_G.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-Dq3xx45p.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-CoqZjIMT.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-CLMlbqGz.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-BEOd56RY.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-CmW2tb7E.js").then((n) => n.bG), "../../../language/locales/es-ES.json": () => import("./es-ES-BnPWZP0s.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-rYc8-Bm2.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CYEjY7DQ.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-CsJuDM2B.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-DMSNClBZ.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-DQlYtR9y.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-C9cOsMxY.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-NuKpFRZl.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-DPU2ZqVt.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-BD8xCiCe.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-CBnYVFv_.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-C690hkyd.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-BDclj9dt.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-B4wCnZ06.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-C6teRGuD.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-PA9lKU0J.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-DmqCF6I9.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-DnT4vnh4.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-DopUU1N2.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
245
245
|
{ 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-DBoYLzeA.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) },
|
|
246
246
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-K7feXvEc.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CYQO0o5V.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-CGWvmdkq.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-DHDJhahG.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-DHNlnOwf.js"), "../../Contract/language/en-US.json": () => import("./en-US-DoiQhi0j.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-CxnsKEh4.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BQixWUEV.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-57-xkioo.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BxiX8Zfi.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BynZTNSB.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-BtRIDozk.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-masgjk9F.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-vv3-YsHU.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-2BMif2Bk.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-CHdEDRVO.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D1b5RUJ0.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-Dkh4SWbB.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-BkGihn5Q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-BRdIEO2O.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-BfL7qUzo.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-C2yBVFht.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-C74EF23u.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, O as Typography, a0 as Button, t 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, O as Typography, a0 as Button, t as LegalEntityTypes } from "./StoreProvider-CmW2tb7E.js";
|
|
14
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
15
|
+
import { I as Image } from "./Image-UqgzvUPD.js";
|
|
16
|
+
import { R as RadioGroupCard } from "./RadioGroupCard-CNjYzk2n.js";
|
|
17
|
+
import { u as useForm } from "./useForm-BVECSHTo.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, B as TaskTypes, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, B as TaskTypes, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.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 "./Image-
|
|
14
|
-
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-UqgzvUPD.js";
|
|
14
|
+
import { u as useBusinessDetailsData, B as BusinessDetailsDropin } from "./useBusinessDetailsData-C_8-0d7Z.js";
|
|
15
15
|
function SoleProprietorshipPage({
|
|
16
16
|
solePropId,
|
|
17
17
|
onSubmit,
|
|
@@ -7,46 +7,46 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, O as Typography, a0 as Button, ai as useI18nContext, L as Loader, G as Icon, H as IconButton, V as TASK_STATUS_POLLING_INTERVAL_MS, o as createLogger, c as useLegalEntity, R as ROOT_LE, C as useAnalyticsContext, bF as useLegalEntities, a as addResourceBundles, y as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as httpPost, k as httpGet, u as useTranslation, O as Typography, a0 as Button, ai as useI18nContext, L as Loader, G as Icon, H as IconButton, V as TASK_STATUS_POLLING_INTERVAL_MS, o as createLogger, c as useLegalEntity, R as ROOT_LE, C as useAnalyticsContext, bF as useLegalEntities, a as addResourceBundles, y as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-
|
|
12
|
+
import { I as Image, u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-UqgzvUPD.js";
|
|
13
13
|
import { useState, useMemo, useCallback, useEffect } from "preact/hooks";
|
|
14
|
-
import { f as useTaskStatus, i as useBusinessLines } from "./OnboardingDropinComponent-
|
|
14
|
+
import { f as useTaskStatus, i as useBusinessLines } from "./OnboardingDropinComponent-Dv-WP3-3.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-DYJr2Yhx.js";
|
|
17
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BLnPzlKG.js";
|
|
18
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B9jFutW6.js";
|
|
19
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-ByLkto9e.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CIat9gS7.js";
|
|
21
|
+
import { u as useMultiForm } from "./useMultiForm-CucoFPTP.js";
|
|
22
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./validate-CnZQywR5.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-CHLFYAGU.js";
|
|
26
|
+
import { c as createFormUtils } from "./formUtils-CQIwcS8V.js";
|
|
27
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
28
|
+
import { S as Select } from "./Select-IlZLfi3_.js";
|
|
29
|
+
import { T as TextArea } from "./TextArea-DVLoRxlf.js";
|
|
30
|
+
import { I as InputDate } from "./InputDate-CasqUcbo.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-A91_xfE6.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-Ag8KeYzT.js";
|
|
34
|
+
import { R as RadioGroup } from "./RadioGroup-B_XR2iwa.js";
|
|
35
|
+
import { C as CountryField } from "./CountryField-BmCcBDnB.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-CE3Vdw-a.js";
|
|
37
|
+
import { a as Alert } from "./Alert-GJQ5T45c.js";
|
|
38
|
+
import { M as Modal } from "./Modal-BMQ9RmbO.js";
|
|
39
|
+
import { C as Confirm } from "./Confirm-Cq9502dt.js";
|
|
40
|
+
import { T as TileGroup } from "./TileGroup-1H0NMYGX.js";
|
|
41
41
|
import { lazy } from "preact/compat";
|
|
42
|
-
import { H as Header } from "./Header-
|
|
43
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
42
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
43
|
+
import { L as LandingLayout } from "./LandingLayout-ChgKjsos.js";
|
|
44
44
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
45
|
-
import { i as isEmpty } from "./isEmpty-
|
|
45
|
+
import { i as isEmpty } from "./isEmpty-Co3c-R6n.js";
|
|
46
46
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
47
47
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
48
|
-
import { D as Dropzone } from "./Dropzone-
|
|
49
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
48
|
+
import { D as Dropzone } from "./Dropzone-CNn_hPhi.js";
|
|
49
|
+
import { v as validateDateNotInTheFuture } from "./validate-CtBguJTj.js";
|
|
50
50
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
51
51
|
return httpPost(
|
|
52
52
|
{
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation, O as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, O as Typography } from "./StoreProvider-CmW2tb7E.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] = "83d3fe0e-0223-4441-b436-a1c9c22fa155", e2._sentryDebugIdIdentifier = "sentry-dbid-83d3fe0e-0223-4441-b436-a1c9c22fa155");
|
|
6
6
|
} catch (e2) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -4071,7 +4071,7 @@ const getAnalyticsAssociatedEntityDetails = (rootLegalEntity, accountHolderType)
|
|
|
4071
4071
|
};
|
|
4072
4072
|
};
|
|
4073
4073
|
const useAnalytics = ({ userEvents, sessionId, sessionData }) => {
|
|
4074
|
-
const sdkVersion = "3.94.
|
|
4074
|
+
const sdkVersion = "3.94.1";
|
|
4075
4075
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
4076
4076
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
4077
4077
|
const { accountHolder } = useAccountHolder();
|
|
@@ -4162,7 +4162,7 @@ const AnalyticsProvider = ({
|
|
|
4162
4162
|
const capabilities = rootLegalEntity?.capabilities && Object.keys(rootLegalEntity.capabilities);
|
|
4163
4163
|
const shouldTrackPrefilledDetails = capabilities?.includes("receivePayments") && onboardingVersion && onboardingVersion > 1;
|
|
4164
4164
|
const sessionData = {
|
|
4165
|
-
sdkVersion: "3.94.
|
|
4165
|
+
sdkVersion: "3.94.1",
|
|
4166
4166
|
componentName,
|
|
4167
4167
|
userAgent: navigator.userAgent,
|
|
4168
4168
|
legalEntityId: rootLegalEntityId,
|
|
@@ -4575,7 +4575,7 @@ function StateProvider({
|
|
|
4575
4575
|
);
|
|
4576
4576
|
return /* @__PURE__ */ jsx(StateContext.Provider, { value: contextValue, children });
|
|
4577
4577
|
}
|
|
4578
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
4578
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-DAJcN3hx.js")).DebugModal);
|
|
4579
4579
|
const DebugListener = () => {
|
|
4580
4580
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
4581
4581
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { ai as useI18nContext, u as useTranslation, C as useAnalyticsContext, ap as isEmpty, H as IconButton, a7 as translateStringOrObject, bl as Svg } from "./StoreProvider-
|
|
12
|
-
import { H as Header } from "./Header-
|
|
11
|
+
import { ai as useI18nContext, u as useTranslation, C as useAnalyticsContext, ap as isEmpty, H as IconButton, a7 as translateStringOrObject, bl as Svg } from "./StoreProvider-CmW2tb7E.js";
|
|
12
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
13
13
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
14
14
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
15
|
-
import { E as ErrorPanel } from "./ErrorPanel-
|
|
15
|
+
import { E as ErrorPanel } from "./ErrorPanel-CHLFYAGU.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-CQIwcS8V.js";
|
|
18
|
+
import { g as getRoleName } from "./roleMetadata-Bet27ep3.js";
|
|
19
19
|
import { i as isSummaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
20
20
|
const summary = "adyen-kyc-summary";
|
|
21
21
|
const summaryContent = "adyen-kyc-summary-content";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { G as Icon, u as useTranslation, p as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { G as Icon, u as useTranslation, p as TaskStatuses } from "./StoreProvider-CmW2tb7E.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 { be as getNestedPropertyKeys, a5 as CountryCodes, t as LegalEntityTypes, ac as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, B as TaskTypes, aI as keysOf, J as useExperimentsContext, x as useAccountHolder } from "./StoreProvider-
|
|
10
|
+
import { be as getNestedPropertyKeys, a5 as CountryCodes, t as LegalEntityTypes, ac as objectsDeepEqual, u as useTranslation, c as useLegalEntity, R as ROOT_LE, B as TaskTypes, aI as keysOf, J as useExperimentsContext, x as useAccountHolder } from "./StoreProvider-CmW2tb7E.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-
|
|
25
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
26
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
27
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
28
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
14
|
+
import { F as Field } from "./Field-CL2SyUK_.js";
|
|
15
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
16
|
+
import { S as Select } from "./Select-IlZLfi3_.js";
|
|
17
|
+
import { T as TextArea } from "./TextArea-DVLoRxlf.js";
|
|
18
|
+
import { S as StateContextSetter } from "./validate-CnZQywR5.js";
|
|
19
|
+
import { u as useForm } from "./useForm-BVECSHTo.js";
|
|
20
|
+
import { u as uppercase, D as DocumentGuidance } from "./mapExistingFile-6U-l-M8P.js";
|
|
21
|
+
import { D as Dropzone } from "./Dropzone-CNn_hPhi.js";
|
|
22
|
+
import { E as ErrorPanel } from "./ErrorPanel-CHLFYAGU.js";
|
|
23
|
+
import { c as createFormUtils } from "./formUtils-CQIwcS8V.js";
|
|
24
|
+
import { C as Checkbox } from "./Checkbox-UmOe8uZC.js";
|
|
25
|
+
import { C as CompanyTypesValues } from "./bafinUtils-4fqP157_.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-Dolhh7yX.js";
|
|
27
|
+
import { S as SettingNames } from "./TaskVerificationStatus-nanzio9G.js";
|
|
28
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-DkuYidIK.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { i as isCompatibleJapanVersion } 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 isCompatibleJapanVersion } from "./japanSupportUtils-DUlZ-afy.js";
|
|
31
|
+
import { i as isDateOlderThanAYear } from "./Address-BHQeY0gZ.js";
|
|
32
|
+
import { v as validatePatternOnBlur, a as validateNotEmptyOnBlur } from "./patternValidators-BwTbcBai.js";
|
|
33
|
+
import { R as RadioGroup } from "./RadioGroup-B_XR2iwa.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, O as Typography, u as useTranslation, aH as Trans, G as Icon, a0 as Button, H as IconButton, V as TASK_STATUS_POLLING_INTERVAL_MS, ap as isEmpty$1, a as addResourceBundles, C as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, L as Loader, o as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, k as httpGet, O as Typography, u as useTranslation, aH as Trans, G as Icon, a0 as Button, H as IconButton, V as TASK_STATUS_POLLING_INTERVAL_MS, ap as isEmpty$1, a as addResourceBundles, C as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, L as Loader, o as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.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-DYJr2Yhx.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B9jFutW6.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-ByLkto9e.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CIat9gS7.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-CucoFPTP.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { a as getFormProps } from "./getProps-CLJfvUMb.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-CL2SyUK_.js";
|
|
22
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
23
|
+
import { L as Link } from "./Link-CHB5rlk5.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-B_XR2iwa.js";
|
|
25
|
+
import { a as Alert } from "./Alert-GJQ5T45c.js";
|
|
26
26
|
import { lazy } from "preact/compat";
|
|
27
|
-
import { f as useTaskStatus } from "./OnboardingDropinComponent-
|
|
27
|
+
import { f as useTaskStatus } from "./OnboardingDropinComponent-Dv-WP3-3.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-UqgzvUPD.js";
|
|
30
30
|
import { S as StructuredList } from "./StructuredList-9dnJRdx_.js";
|
|
31
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-ChgKjsos.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-Co3c-R6n.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 { o as createLogger, u as useTranslation, C as useAnalyticsContext } from "./StoreProvider-
|
|
13
|
+
import { o as createLogger, u as useTranslation, C as useAnalyticsContext } from "./StoreProvider-CmW2tb7E.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 { G as Icon, O as Typography, C as useAnalyticsContext, ad as noop } from "./StoreProvider-
|
|
12
|
+
import { G as Icon, O as Typography, C as useAnalyticsContext, ad as noop } from "./StoreProvider-CmW2tb7E.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-BMQ9RmbO.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 { ak as entriesOf, ac as objectsDeepEqual, ar as reverseMapping, t as LegalEntityTypes, B as TaskTypes, a5 as CountryCodes, aB as hasText, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, J as useExperimentsContext, O as Typography, bB as getCountrySpecificTrustTypeOptions, bC as trustComponentsKeyMapping, bD as trustApiKeyMapping, b as useApiContext, C as useAnalyticsContext, bE as trustDocumentMapping, aj as cloneObject, g as getLegalEntityCountry, ap as isEmpty$1, aM as drop, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, aI as keysOf, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { ak as entriesOf, ac as objectsDeepEqual, ar as reverseMapping, t as LegalEntityTypes, B as TaskTypes, a5 as CountryCodes, aB as hasText, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, b4 as isValidMinLength, ax as isInvalidName, bm as OTHER_ENTITIES_VALID_CHAR_REGEX, u as useTranslation, J as useExperimentsContext, O as Typography, bB as getCountrySpecificTrustTypeOptions, bC as trustComponentsKeyMapping, bD as trustApiKeyMapping, b as useApiContext, C as useAnalyticsContext, bE as trustDocumentMapping, aj as cloneObject, g as getLegalEntityCountry, ap as isEmpty$1, aM as drop, a8 as getOwnEntityAssociations, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, aI as keysOf, y as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-CmW2tb7E.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 "./Image-
|
|
14
|
-
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
13
|
+
import { u as useCapabilityProblems, g as getProblemsForEntity } from "./Image-UqgzvUPD.js";
|
|
14
|
+
import { h as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, p as exemptedFromTaxDefaultFieldMetadata, q as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, j as getCompanyRegistrationNumberOptions, k as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-B1uanesg.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, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p 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-BLnPzlKG.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-B9jFutW6.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-Ct4ardnB.js";
|
|
19
|
+
import { u as useToastContext } from "./useToastContext-DYJr2Yhx.js";
|
|
20
|
+
import { g as getPropsFromConfigurations, a as augmentWithCountryConfigs, c as composePerScenarioFormConfigurations } from "./process-field-configurations-Djws978Q.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CIat9gS7.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-6U-l-M8P.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, j as getDefaultRegistrationNumberType, c as registrationNumberDefaultFieldConfig, m as exemptFromRegistrationNumberDefaultFieldMetadata, n as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, k as getDefaultVatNumberType, a as defaultFieldConfig, g as DBANameField, h as BusinessRegistrationNumberField, i as VatNumberField, r as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, l as inferCompanyRegistrationNumberType, p as operationalAddressIsSameItems } from "./ConstitutionalDocument-CVfC6g_r.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-DkuYidIK.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-Ss3EecNg.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-B7cbiM5j.js";
|
|
27
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils } from "./validate-CnZQywR5.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-BByxDB-r.js";
|
|
33
33
|
import { a as getFormProps, b as getNestedOuterFormPropsFromOuterFormProps } from "./getProps-CLJfvUMb.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-CL2SyUK_.js";
|
|
35
|
+
import { H as Header } from "./Header-B8qkYn4f.js";
|
|
36
|
+
import { S as Select } from "./Select-IlZLfi3_.js";
|
|
37
|
+
import { u as useForm } from "./useForm-BVECSHTo.js";
|
|
38
|
+
import { a as Alert } from "./Alert-GJQ5T45c.js";
|
|
39
|
+
import { E as ErrorPanel } from "./ErrorPanel-CHLFYAGU.js";
|
|
40
|
+
import { I as InputText } from "./InputText-A91_xfE6.js";
|
|
41
|
+
import { C as CountryField, a as COUNTRY_FIELD } from "./CountryField-BmCcBDnB.js";
|
|
42
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-CQIwcS8V.js";
|
|
43
|
+
import { i as isEmpty } from "./isEmpty-Co3c-R6n.js";
|
|
44
|
+
import { a as validateNotEmptyOnBlur } from "./patternValidators-BwTbcBai.js";
|
|
45
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-ByLkto9e.js";
|
|
46
|
+
import { u as useMultiForm } from "./useMultiForm-CucoFPTP.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-B_XR2iwa.js";
|
|
51
51
|
import "./Radio-BMtxBpnn.js";
|
|
52
|
-
import { A as Address } from "./Address-
|
|
52
|
+
import { A as Address } from "./Address-BHQeY0gZ.js";
|
|
53
53
|
import "@preact/signals";
|
|
54
|
-
import "./useDataset-
|
|
55
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
54
|
+
import "./useDataset-BZDB4-94.js";
|
|
55
|
+
import { C as ContextGuidance } from "./ContextGuidance-CYFHnvHY.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]);
|