@adyen/kyc-components 3.89.1 → 3.90.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-De5XWtcz.js → AcceptTermsOfServiceComponent-jlzA4hRO.js} +42 -60
- package/dist/{Accordion-CW9GGywE.js → Accordion-48qDUfrn.js} +1 -1
- package/dist/{AccountSetupRejected-_IN29uU8.js → AccountSetupRejected-eL8cEb4U.js} +3 -3
- package/dist/{ActionBar-CkNDXAZ3.js → ActionBar-BO6XSNuM.js} +1 -1
- package/dist/{Address-CIRweyT6.js → Address-BCTZUD2J.js} +25 -56
- package/dist/{Alert-Dr-PTLt5.js → Alert-DlSROjS7.js} +6 -6
- package/dist/{Avatar-DttOKUv4.js → Avatar-1DJaB2Fj.js} +1 -1
- package/dist/{BusinessDetailsMultiformDropin-ByrdkEK1.js → BusinessDetailsDropin-lXErWzqC.js} +1268 -3090
- package/dist/{BusinessFinancingComponent-D5Edu6Jp.js → BusinessFinancingComponent-C6wgWrZx.js} +6 -5
- package/dist/{BusinessFinancingDropin-D2J61fEL.js → BusinessFinancingDropin-Doz0wI42.js} +23 -33
- package/dist/{BusinessFinancingPage-C06ar5yw.js → BusinessFinancingPage-CWkMdnqc.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-CP0UXFG_.js → BusinessTypeSelectionPage-DFJqkG5_.js} +8 -9
- package/dist/{Card-thNJfUJi.js → Card-I1r9oUx8.js} +2 -2
- package/dist/{ConstitutionalDocument-Dzckgb-_.js → ConstitutionalDocument-DdFjrLEq.js} +3 -3
- package/dist/{CountryField-CJeBvrKJ.js → CountryField-BO-n2nAh.js} +6 -6
- package/dist/{CreateIndividualComponent-BDAKxFP2.js → CreateIndividualComponent-D14kgQET.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-vfia76fK.js → CreateTransferInstrumentComponent-DOM7CWHW.js} +4 -4
- package/dist/{Currency-CJF_TGyQ.js → Currency-U_NBiYL_.js} +7 -7
- package/dist/{CustomerSupport-C_fh3_q2.js → CustomerSupport-gUFWyk3X.js} +10 -10
- package/dist/{DebugModal-8s0KmcYQ.js → DebugModal-B-9dnXq3.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-BcaNuUzU.js → DecisionMakerDetailsPage-Y59IaBti.js} +6 -6
- package/dist/{DecisionMakers-BShMorMY.js → DecisionMakers-CXX7UaII.js} +20 -20
- package/dist/{EmbeddedStatus-Bsq1fp5z.js → EmbeddedStatus-DY5iLZFD.js} +2 -2
- package/dist/{EndStateLayout-BzHmhWSo.js → EndStateLayout-CwW4wDY8.js} +1 -1
- package/dist/{EntityAssociation-CzUai3Yh.js → EntityAssociation-CYAh0KGI.js} +8 -8
- package/dist/{EntityGuidanceStatus-B6luxhbo.js → EntityGuidanceStatus-Dkb_9kLQ.js} +2 -2
- package/dist/FormFlow-Dgc0gB-O.js +186 -0
- package/dist/{FormNavigation-trlYkLTT.js → FormNavigation-BE3rLf_S.js} +3 -3
- package/dist/{FormWrapper-CmShqeDn.js → FormWrapper-B7su5eh3.js} +10 -10
- package/dist/{IndividualOnfido-BziAZ51z.js → IndividualOnfido-DH3VYYau.js} +71 -74
- package/dist/{IndividualOnfidoDropin-DQpZ6OI1.js → IndividualOnfidoDropin-SiWSMsi9.js} +30 -33
- package/dist/{InputText-DmMvZip7.js → InputText-DR70nC51.js} +6 -6
- package/dist/{Introduction-Wu-LBXX2.js → Introduction-C2X6DyHw.js} +4 -4
- package/dist/{JpAddress-Bl9Ppmv5.js → JpAddress-CvQyBExq.js} +8 -8
- package/dist/{LegalRepresentativeDetailsPage-Cxy69AD6.js → LegalRepresentativeDetailsPage-Wf7cQkQn.js} +4 -4
- package/dist/{ListItem-DvTbHRWc.js → ListItem-BBHNYCCw.js} +2 -2
- package/dist/{ManageIndividualComponent-DIf-I6d0.js → ManageIndividualComponent-DPh2Jp_T.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BK3ywG-g.js → ManageTermsOfServiceComponent-4-iML1dO.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-DHfft4DJ.js → ManageTransferInstrumentComponent-D8MMBSWg.js} +12 -12
- package/dist/{MaybeModal-Bw31z92e.js → MaybeModal-Us27ek4u.js} +15 -4
- package/dist/{Modal-B-CzUny3.js → Modal-W8cfdxrr.js} +4 -4
- package/dist/{OnboardingDropinComponent-Dc5Z3bna.js → OnboardingDropinComponent-HHq3dL3N.js} +1406 -1731
- package/dist/{PayoutDetailsDropin-DrESJrLF.js → PayoutDetailsDropin-M9FYw20B.js} +62 -42
- package/dist/ProgressBar-B7gTQncy.js +47 -0
- package/dist/{Review-CN0zdu0c.js → Review-CUNKnKSZ.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DsCMT0gE.js → RootBusinessDetailsPage-DC0qALED.js} +7 -22
- package/dist/{RootBusinessLinesPage-D0djzhVg.js → RootBusinessLinesPage-B8gUQ93t.js} +146 -41
- package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-ULrh2_YN.js} +6 -6
- package/dist/{SignPCIComponent-Dm45H-8u.js → SignPCIComponent-MnotetIL.js} +10 -10
- package/dist/{SingpassSelection-DR7s4WiD.js → SingpassSelection-BWdMU1Lv.js} +4 -4
- package/dist/{SoleProprietorshipPage-C2_d7XKS.js → SoleProprietorshipPage-C9mxOyGm.js} +5 -19
- package/dist/{SourceOfFundsPage-SHeYHpGr.js → SourceOfFundsPage-bptpOZNp.js} +25 -25
- package/dist/{fieldConfigurations-Kb-fhpg7.js → Spacer-D-c-0ch_.js} +34 -24
- package/dist/{StepProgressIndicator-yqQhirdb.js → StepProgressIndicator--8FNnauI.js} +1 -1
- package/dist/{StoreProvider-BHckWEYg.js → StoreProvider-D_0Pta7w.js} +130 -98
- package/dist/{Summary-Df0SenAt.js → Summary-D741mrWG.js} +4 -4
- package/dist/{TaxReportingDropin-CKin6_Er.js → TaxReportingDropin-D2gjRJag.js} +16 -16
- package/dist/{TrustDetailsPage-C699_2RX.js → TrustDetailsPage-Dj64OqRJ.js} +27 -27
- package/dist/{TrustMemberCompanyPage-Bgh-8J6_.js → TrustMemberCompanyPage-DlnCvpf5.js} +6 -22
- package/dist/{TrustMemberIndividualPage-2gZsrdqt.js → TrustMemberIndividualPage-D8LSPYGf.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-BB41jjVq.js → TrustMemberRoleAndTypePage-CN7oQduU.js} +15 -15
- package/dist/{TrustMembersOverview-DkpHLa-c.js → TrustMembersOverview-C2VH8NIl.js} +12 -12
- package/dist/{UnincorporatedPartnershipIndividualPage-uZBKkJwX.js → UnincorporatedPartnershipIndividualPage-fN2QrGh4.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-CVa6qF3n.js → UnincorporatedPartnershipMemberCompanyPage-BUEeNfv-.js} +6 -22
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Ctl2MPKX.js → UnincorporatedPartnershipMemberRoleAndTypePage-DeUAOKnx.js} +9 -9
- package/dist/{UnincorporatedPartnershipMembersOverview-DZPLX8gp.js → UnincorporatedPartnershipMembersOverview-EeE4JNAc.js} +9 -9
- package/dist/{VerificationErrorAlert-BVoljWxM.js → VerificationErrorAlert-COgw5uh1.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-B_gl5t76.js → ViewVerificationStatusComponent-CaPz-G-G.js} +4 -4
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- 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/cross-circle-fill-maan7Z5S.js +17 -0
- package/dist/{debouncedInputEvent-C-zXYOuE.js → debouncedInputEvent-ZbuNEN6W.js} +2 -2
- package/dist/{documentUtils-l4Di7U18.js → documentUtils-XUGK4RIp.js} +3 -3
- package/dist/{dropinUtils-Cm6ETaTL.js → dropinUtils-Dggo6PZA.js} +4 -4
- package/dist/en-US-AgtwE4Fl.js +63 -0
- package/dist/{getFieldsWithExistingData-BdYN38hE.js → getFieldsWithExistingData-KwCfBJn2.js} +1 -1
- package/dist/{getName-BUZJBcAE.js → getName-B1UTZRuu.js} +2 -9
- package/dist/{hasDataChanged-D9Qx_JCQ.js → hasDataChanged-CSn4V18R.js} +2 -2
- package/dist/{iframeWidget-CemJJ3EA.js → iframeWidget-BDp1ajgy.js} +4 -4
- package/dist/info-filled-SQotHmT9.js +17 -0
- package/dist/{localizeDateString-DyXarzIl.js → localizeDateString-CZrFwyd0.js} +1 -1
- package/dist/{mapExistingFile-COnTFqXJ.js → mapExistingFile-D5fqNt1l.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-BK4mXy3k.js → mapFinancialReportsToFinancialInformation-eCMwJnwj.js} +3 -3
- package/dist/{mapJpAddressSchemaToAddressLocalizations-BulGG0pe.js → mapJpAddressSchemaToAddressLocalizations-i8O5_wuI.js} +3 -3
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-BMDtouhh.js → mapLegalEntityToIndividualOnfidoSchema-Cyg_384J.js} +3 -3
- package/dist/{mapTransferInstrumentToPayoutAccount-MpVqVhGS.js → mapTransferInstrumentToPayoutAccount-BOYDxAUf.js} +1 -1
- package/dist/{process-field-configurations-kh7VAcBh.js → process-field-configurations-ClLFHxX6.js} +3 -3
- package/dist/{resolveEnvironment-D-9wHJs2.js → resolveEnvironment-D8CEfrp4.js} +3 -3
- package/dist/{rules-DFisB-1M.js → rules-Cr3Ka8oq.js} +5 -5
- package/dist/style.css +268 -233
- package/dist/styles-CLV89_hH.js +268 -233
- package/dist/types/api/companySelection/useCompanySelection.d.ts +2 -18
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +8 -2
- package/dist/types/components/Business/forms/BasicInformation/BasicInformation.d.ts +1 -3
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +5 -18
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +0 -21
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelection.d.ts +13 -2
- package/dist/types/components/Business/forms/BusinessSelection/types.d.ts +0 -11
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +3 -2
- package/dist/types/components/Business/forms/CompanyStructure/types.d.ts +0 -6
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +3 -3
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -4
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +23 -2
- package/dist/types/components/BusinessLines/forms/SctaForm/SctaInfoModal.d.ts +3 -0
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/ServiceAgreementDropin.d.ts +1 -1
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +2 -2
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +0 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/ui/atoms/Link/Link.types.d.ts +1 -1
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +1 -5
- package/dist/types/components/ui/atoms/Modal/MaybeModal.d.ts +1 -1
- package/dist/types/components/ui/atoms/Svg/svgs.d.ts +4 -0
- package/dist/types/context/ExperimentContext/types.d.ts +6 -5
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/{types-DJeg3Tz6.js → types-CR2U3VAD.js} +1 -1
- package/dist/{types-1iAHHNsZ.js → types-DjTezJBU.js} +1 -1
- package/dist/{types-CHr4VLHl.js → types-Dk94b8kx.js} +7 -6
- package/dist/{types-BDHLVBb5.js → types-Gm2SleFm.js} +1 -1
- package/dist/{useAssociatedLegalEntity-qIkD-MFM.js → useAssociatedLegalEntity-Pgb7_79V.js} +1 -1
- package/dist/{useCreateLegalEntity-CDFKMwwk.js → useCreateLegalEntity-Ba2rxRgb.js} +2 -2
- package/dist/{useDataset-D1AsbWmY.js → useDataset-RNFlX1-i.js} +4 -4
- package/dist/{useForm-DzONzNQu.js → useForm-C261ZUdn.js} +10 -9
- package/dist/{useGlobalData-B5sNYBl5.js → useGlobalData-COSDbjgb.js} +5 -5
- package/dist/{useMultiForm-Dd80_VRc.js → useMultiForm--zHGgbxw.js} +3 -3
- package/dist/{useOnboardingStatus-YrIRg4io.js → useOnboardingStatus-DytPj9Ai.js} +1 -1
- package/dist/{useScenarios-BkCy7ImD.js → useScenarios-eYrKID9N.js} +2 -2
- package/dist/{useTermsOfServiceStatus-D2rhp6YQ.js → useTermsOfServiceStatus-BYJqq3Oi.js} +1 -1
- package/dist/{useToastContext-5JlKjAbN.js → useToastContext-CqIJgGTa.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-Dwj2XshB.js → useUnincorporatedPartnershipMembers-HC3erocB.js} +4 -4
- package/dist/{useUpdateBusinessLines-DzLgvolo.js → useUpdateBusinessLines-Dq3B1Jvy.js} +2 -2
- package/dist/{useUpdateLegalEntity-BzuSuul0.js → useUpdateLegalEntity-BPQX_o3v.js} +3 -3
- package/dist/{utils-DjzolTRQ.js → utils-B_eQ3Eny.js} +3 -3
- package/dist/{utils-Da-KDnEH.js → utils-BbmGXGUy.js} +6 -6
- package/dist/{validate-D7GAD2-j.js → validate-ArlZWHo0.js} +1 -1
- package/dist/{validate-B48OR9iz.js → validate-B_v0PjtX.js} +1 -1
- package/dist/{validationError-DzkunflV.js → validationError-BQZWqXfp.js} +1 -1
- package/package.json +2 -2
- package/dist/FormFlow-CEyVMiHY.js +0 -224
- package/dist/en-US-CBsokt1L.js +0 -42
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformationMultiform.d.ts +0 -9
- package/dist/types/components/Business/forms/BasicInformation/BasicInformationMultiform.d.ts +0 -11
- package/dist/types/components/Business/forms/BusinessDetails/BusinessDetails.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessSelection/BusinessSelectionMultiform.d.ts +0 -14
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructureMultiform.d.ts +0 -4
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/BusinessDetailsMultiformDropin.d.ts +0 -5
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/types.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsMultiformDropin/utils.d.ts +0 -23
- /package/dist/types/components/Business/{tasks/BusinessDetailsMultiformDropin → forms/BusinessDetails}/BusinessDetailsMultiform.d.ts +0 -0
- /package/dist/types/components/Business/tasks/{BusinessDetailsMultiformDropin → BusinessDetailsDropin}/validate.d.ts +0 -0
|
@@ -2,39 +2,39 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b0c5ff9e-3cb0-48d7-8e1d-cdd59466e59a", e._sentryDebugIdIdentifier = "sentry-dbid-b0c5ff9e-3cb0-48d7-8e1d-cdd59466e59a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CountryCodes,
|
|
10
|
+
import { C as CountryCodes, a0 as entriesOf, P as createLogger, u as useTranslation, L as Loader, Y as IconButton, G as Typography, an as Trans, B as Button, b as useApiContext, $ as useMutation, aN as httpDelete, X as useExperimentsContext, U as TaskStatuses, M as EntityTypes, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
13
|
-
import {
|
|
14
|
-
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
18
|
-
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
19
|
-
import { u as useMultiForm } from "./useMultiForm
|
|
20
|
-
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header,
|
|
23
|
-
import {
|
|
13
|
+
import { $ as salesChannelsWithWebData, a0 as useIndustryCodes, T as useBusinessLines, z as industryCodeFieldMetadata, a1 as IndustryCodeField, a2 as INDUSTRY_CODE_FIELD, a3 as SALES_CHANNELS_FIELD, a4 as WEB_DATA_FIELD, a5 as shouldSignNewPci, a6 as SCTA_FIELD, a7 as Divider, a8 as selectedBusinessLine, u as useSalesChannels, a9 as usePciQuestionnaireList, a as usePciStatus, aa as businessLinesConfigurations, ab as businessLinesForms } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-Dq3B1Jvy.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-Dgc0gB-O.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-ClLFHxX6.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm--zHGgbxw.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-D741mrWG.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-BO-n2nAh.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-BCTZUD2J.js";
|
|
24
24
|
import { Show } from "@preact/signals/utils";
|
|
25
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
26
|
-
import { F as Field } from "./useForm-
|
|
27
|
-
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-
|
|
28
|
-
import { I as InputText } from "./InputText-
|
|
29
|
-
import { SignPCIComponent } from "./SignPCIComponent-
|
|
30
|
-
import { A as Avatar } from "./Avatar-
|
|
25
|
+
import { C as Checkbox } from "./debouncedInputEvent-ZbuNEN6W.js";
|
|
26
|
+
import { F as Field } from "./useForm-C261ZUdn.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-W8cfdxrr.js";
|
|
28
|
+
import { I as InputText } from "./InputText-DR70nC51.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-MnotetIL.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-1DJaB2Fj.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
|
-
import { lazy } from "preact/compat";
|
|
33
|
-
import { O as LandingLayout } from "./IndividualOnfido-BziAZ51z.js";
|
|
34
|
-
import { L as ListItem } from "./ListItem-DvTbHRWc.js";
|
|
35
|
-
import { S as StructuredList, C as Confirm } from "./useDataset-D1AsbWmY.js";
|
|
36
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
37
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-I1r9oUx8.js";
|
|
34
|
+
import { lazy } from "preact/compat";
|
|
35
|
+
import { M as LandingLayout } from "./IndividualOnfido-DH3VYYau.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-BBHNYCCw.js";
|
|
37
|
+
import { S as StructuredList, C as Confirm } from "./useDataset-RNFlX1-i.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
|
@@ -449,7 +449,15 @@ const Carousel = ({
|
|
|
449
449
|
carouselLabel
|
|
450
450
|
}) => {
|
|
451
451
|
const itemRefs = useRef([]);
|
|
452
|
+
const carouselRef = useRef(null);
|
|
452
453
|
const { t } = useTranslation(["common"]);
|
|
454
|
+
const scrollByOneItem = (direction) => {
|
|
455
|
+
const firstItem = itemRefs.current[0];
|
|
456
|
+
if (!carouselRef.current || !firstItem) return;
|
|
457
|
+
const itemWidth = firstItem.offsetWidth;
|
|
458
|
+
const scrollAmount = direction === "left" ? -itemWidth : itemWidth;
|
|
459
|
+
carouselRef.current.scrollBy({ left: scrollAmount });
|
|
460
|
+
};
|
|
453
461
|
const updateSelected = (selected2, allowMultiple2, { id }) => {
|
|
454
462
|
if (!allowMultiple2) {
|
|
455
463
|
onChange(selected2.includes(id) ? [] : [id]);
|
|
@@ -496,7 +504,7 @@ const Carousel = ({
|
|
|
496
504
|
{
|
|
497
505
|
variant: "surface",
|
|
498
506
|
icon: "chevron-left",
|
|
499
|
-
onClick: () =>
|
|
507
|
+
onClick: () => scrollByOneItem("left"),
|
|
500
508
|
ariaLabel: t(($) => $["carouselForward"], { ns: "common" })
|
|
501
509
|
}
|
|
502
510
|
) }),
|
|
@@ -505,11 +513,11 @@ const Carousel = ({
|
|
|
505
513
|
{
|
|
506
514
|
variant: "surface",
|
|
507
515
|
icon: "chevron-right",
|
|
508
|
-
onClick: () =>
|
|
516
|
+
onClick: () => scrollByOneItem("right"),
|
|
509
517
|
ariaLabel: t(($) => $["carouselBack"], { ns: "common" })
|
|
510
518
|
}
|
|
511
519
|
) }),
|
|
512
|
-
/* @__PURE__ */ jsx("div", { className: styles$4.carouselItems, children: items?.map((item2, index) => {
|
|
520
|
+
/* @__PURE__ */ jsx("div", { className: styles$4.carouselItems, ref: carouselRef, children: items?.map((item2, index) => {
|
|
513
521
|
const isSelected = selected.includes(item2.id);
|
|
514
522
|
const carouselItemClassName = cx(styles$4.item, widthStyles[width], {
|
|
515
523
|
[styles$4.selectedItem]: selected.includes(item2.id)
|
|
@@ -787,6 +795,83 @@ function SctaField({ data, valid, errors, handleChangeFor }) {
|
|
|
787
795
|
) })
|
|
788
796
|
] });
|
|
789
797
|
}
|
|
798
|
+
function SctaInfoModal({ onClose }) {
|
|
799
|
+
const { t } = useTranslation(["businessLines"]);
|
|
800
|
+
return /* @__PURE__ */ jsx(
|
|
801
|
+
Modal,
|
|
802
|
+
{
|
|
803
|
+
size: "medium",
|
|
804
|
+
inset: true,
|
|
805
|
+
onClose,
|
|
806
|
+
ariaLabel: t(($) => $["japaneseCommercialDisclosure"], { ns: "common" }),
|
|
807
|
+
children: /* @__PURE__ */ jsxs(StackLayout, { gap: "medium", children: [
|
|
808
|
+
/* @__PURE__ */ jsx(Typography, { variant: "title-l", children: t(($) => $["japaneseCommercialDisclosureBasedOnTheSpecifiedCommercialTransactionsAct"], {
|
|
809
|
+
ns: "businessLines"
|
|
810
|
+
}) }),
|
|
811
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["whatIsScta"], { ns: "businessLines" }) }),
|
|
812
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["sctaDescription"], ns: "businessLines" }) }),
|
|
813
|
+
/* @__PURE__ */ jsx(Card, { borderless: true, background: "secondary", children: /* @__PURE__ */ jsxs(StackLayout, { children: [
|
|
814
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["toComplyWithSctaYouMust"], { ns: "businessLines" }) }),
|
|
815
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
816
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["appointADesignatedOperationsOfficer"], { ns: "businessLines" }) }) }),
|
|
817
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["publishACompleteCommercialDisclosurePageInJapanese"], {
|
|
818
|
+
ns: "businessLines"
|
|
819
|
+
}) }) }),
|
|
820
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(
|
|
821
|
+
($) => $["ensureThisDisclosurePageIsVisibleAndEasilyAccessibleToAllConsumersInJapan"],
|
|
822
|
+
{
|
|
823
|
+
ns: "businessLines"
|
|
824
|
+
}
|
|
825
|
+
) }) }),
|
|
826
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["submitTheURLOfThisPageDuringYourApplicationReview"], {
|
|
827
|
+
ns: "businessLines"
|
|
828
|
+
}) }) })
|
|
829
|
+
] })
|
|
830
|
+
] }) }),
|
|
831
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["whyAreWeCollectingThisInformation"], { ns: "businessLines" }) }),
|
|
832
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["underSctaBusinessesOperatingInJapanMustClearlyState"], {
|
|
833
|
+
ns: "businessLines"
|
|
834
|
+
}) }),
|
|
835
|
+
/* @__PURE__ */ jsxs("ul", { children: [
|
|
836
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["identityOfTheBusinessRepresentativeResponsibleForTheTransaction"], {
|
|
837
|
+
ns: "businessLines"
|
|
838
|
+
}) }) }),
|
|
839
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["reliableContactInformation"], { ns: "businessLines" }) }) }),
|
|
840
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["productDetailsAndTermsOfSale"], { ns: "businessLines" }) }) })
|
|
841
|
+
] }),
|
|
842
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", children: t(
|
|
843
|
+
($) => $["thisGuaranteesTransparencyEnablingConsumersToMakeInformedPurchasingDecisions"],
|
|
844
|
+
{ ns: "businessLines" }
|
|
845
|
+
) }),
|
|
846
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["whereDoesItApply"], { ns: "businessLines" }) }),
|
|
847
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["specifiedContinuousService"], { ns: "businessLines" }) }),
|
|
848
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: t(($) => $["whatIfIDontComply"], { ns: "businessLines" }) }),
|
|
849
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body", children: t(($) => $["failureToComplyMayResultInAdministrativePenaltiesOrSuspensionOfBusiness"], {
|
|
850
|
+
ns: "businessLines"
|
|
851
|
+
}) }),
|
|
852
|
+
/* @__PURE__ */ jsx(
|
|
853
|
+
Trans,
|
|
854
|
+
{
|
|
855
|
+
t,
|
|
856
|
+
ns: "businessLines",
|
|
857
|
+
i18nKey: ($) => $["readMoreAboutTheSctaInJapaneseOrEnglish"],
|
|
858
|
+
components: {
|
|
859
|
+
japaneseLink: /* @__PURE__ */ jsx(Link, { external: true, inline: true, href: "https://www.no-trouble.caa.go.jp/what/" }),
|
|
860
|
+
englishLink: /* @__PURE__ */ jsx(
|
|
861
|
+
Link,
|
|
862
|
+
{
|
|
863
|
+
external: true,
|
|
864
|
+
inline: true,
|
|
865
|
+
href: "https://www.no-trouble.caa.go.jp/foreignlanguage/english/"
|
|
866
|
+
}
|
|
867
|
+
)
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
)
|
|
871
|
+
] })
|
|
872
|
+
}
|
|
873
|
+
);
|
|
874
|
+
}
|
|
790
875
|
function SctaForm({
|
|
791
876
|
id,
|
|
792
877
|
verificationErrors = {},
|
|
@@ -794,6 +879,7 @@ function SctaForm({
|
|
|
794
879
|
}) {
|
|
795
880
|
const { t } = useTranslation(["common", "businessLines"]);
|
|
796
881
|
const { form } = useFormContext();
|
|
882
|
+
const [openSctaInfoModal, setOpenSctaInfoModal] = useState(false);
|
|
797
883
|
const handleChangeFor = useCallback(
|
|
798
884
|
(fieldName, mode) => form.handleChangeFor(fieldName, "sctaForm", mode),
|
|
799
885
|
[form]
|
|
@@ -819,18 +905,36 @@ function SctaForm({
|
|
|
819
905
|
verificationErrors
|
|
820
906
|
]);
|
|
821
907
|
return /* @__PURE__ */ jsxs("form", { id, children: [
|
|
822
|
-
/* @__PURE__ */
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
908
|
+
/* @__PURE__ */ jsxs(StackLayout, { gap: "xLarge", align: "left", children: [
|
|
909
|
+
/* @__PURE__ */ jsx(
|
|
910
|
+
DetailViewLayout,
|
|
911
|
+
{
|
|
912
|
+
title: t(($) => $["japaneseCommercialDisclosure"], { ns: "common" }),
|
|
913
|
+
description: t(($) => $["japaneseCommercialDisclosureDescription"], {
|
|
914
|
+
ns: "businessLines"
|
|
915
|
+
}),
|
|
916
|
+
align: "left",
|
|
917
|
+
compact: true,
|
|
918
|
+
children: /* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(Button, { variant: "link", onClick: () => setOpenSctaInfoModal(true), children: t(($) => $["learnMore"], { ns: "common" }) }) })
|
|
919
|
+
}
|
|
920
|
+
),
|
|
921
|
+
/* @__PURE__ */ jsx(
|
|
922
|
+
SctaField,
|
|
923
|
+
{
|
|
924
|
+
data: formUtils.getFieldData(form.data.sctaForm, SCTA_FIELD),
|
|
925
|
+
valid: formUtils.getFieldValid(form.valid.sctaForm, SCTA_FIELD),
|
|
926
|
+
errors: formUtils.getFieldErrors(
|
|
927
|
+
form.errors.sctaForm ?? {},
|
|
928
|
+
validationErrors,
|
|
929
|
+
SCTA_FIELD
|
|
930
|
+
),
|
|
931
|
+
labels: formUtils.getFieldLabels(SCTA_FIELD),
|
|
932
|
+
readonly: formUtils.isReadOnly("sctaUrl"),
|
|
933
|
+
handleChangeFor
|
|
934
|
+
}
|
|
935
|
+
)
|
|
936
|
+
] }),
|
|
937
|
+
openSctaInfoModal && /* @__PURE__ */ jsx(SctaInfoModal, { onClose: () => setOpenSctaInfoModal(false) })
|
|
834
938
|
] });
|
|
835
939
|
}
|
|
836
940
|
function BusinessLines({ activeForm, handleNextClick, problems = {} }) {
|
|
@@ -1072,6 +1176,7 @@ const BusinessLinesList = ({
|
|
|
1072
1176
|
const { t, i18n } = useTranslation(["common", "businessLines"]);
|
|
1073
1177
|
const { data: industryCodes } = useIndustryCodes(["acquiring"], i18n.language);
|
|
1074
1178
|
const { data: existingBusinessLines } = useBusinessLines(["paymentProcessing"]);
|
|
1179
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
1075
1180
|
const existingCodes = existingBusinessLines?.map((b) => b.industryCode) || [];
|
|
1076
1181
|
const allCodes = industryCodes?.map((i) => i.code) || [];
|
|
1077
1182
|
const hasSelectableIndustryCodes = allCodes.some((code) => !existingCodes.includes(code));
|
|
@@ -1099,7 +1204,7 @@ const BusinessLinesList = ({
|
|
|
1099
1204
|
index
|
|
1100
1205
|
);
|
|
1101
1206
|
}) }),
|
|
1102
|
-
/* @__PURE__ */ jsx(List, { dividers: false, variant: "grouped-primary", padding: "small", children: /* @__PURE__ */ jsx(
|
|
1207
|
+
!isExperimentEnabled("EnableLimitToSingleBusinessLine") && /* @__PURE__ */ jsx(List, { dividers: false, variant: "grouped-primary", padding: "small", children: /* @__PURE__ */ jsx(
|
|
1103
1208
|
ListItem,
|
|
1104
1209
|
{
|
|
1105
1210
|
title: t(($) => $["addNew"]),
|
|
@@ -1321,7 +1426,7 @@ const RootBusinessLinesPage = ({ handleHomeClick }) => {
|
|
|
1321
1426
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
1322
1427
|
const { i18n } = useTranslation();
|
|
1323
1428
|
addResourceBundles(i18n, [
|
|
1324
|
-
{ ns: "businessLines", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DBsXOteB.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DzChComK.js"), "../language/da-DK.json": () => import("./da-DK-BlU1EczG.js"), "../language/de-DE.json": () => import("./de-DE-s0B-XZyp.js"), "../language/el-GR.json": () => import("./el-GR-CgrzE6er.js"), "../language/en-US.json": () => import("./en-US-
|
|
1429
|
+
{ ns: "businessLines", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/bg-BG.json": () => import("./bg-BG-DBsXOteB.js"), "../language/cs-CZ.json": () => import("./cs-CZ-DzChComK.js"), "../language/da-DK.json": () => import("./da-DK-BlU1EczG.js"), "../language/de-DE.json": () => import("./de-DE-s0B-XZyp.js"), "../language/el-GR.json": () => import("./el-GR-CgrzE6er.js"), "../language/en-US.json": () => import("./en-US-AgtwE4Fl.js"), "../language/es-ES.json": () => import("./es-ES-esfwvKwz.js"), "../language/et-EE.json": () => import("./et-EE-BN1nOAGu.js"), "../language/fi-FI.json": () => import("./fi-FI-CjB6QC01.js"), "../language/fr-FR.json": () => import("./fr-FR-C1XqLftn.js"), "../language/hr-HR.json": () => import("./hr-HR-CPvQ9uT8.js"), "../language/hu-HU.json": () => import("./hu-HU-dKPur6SA.js"), "../language/it-IT.json": () => import("./it-IT-C_YDqVNT.js"), "../language/ja-JP.json": () => import("./ja-JP-DnBu0U51.js"), "../language/lt-LT.json": () => import("./lt-LT-DhhomRPs.js"), "../language/lv-LV.json": () => import("./lv-LV-BWbH-gbT.js"), "../language/nl-NL.json": () => import("./nl-NL-DyeSX0PH.js"), "../language/no-NO.json": () => import("./no-NO-DPRsAb_o.js"), "../language/pl-PL.json": () => import("./pl-PL-B1EJKJvT.js"), "../language/pt-BR.json": () => import("./pt-BR-C-C4ZJ9x.js"), "../language/pt-PT.json": () => import("./pt-PT-LbneTcRx.js"), "../language/ro-RO.json": () => import("./ro-RO-CzTVqkev.js"), "../language/sk-SK.json": () => import("./sk-SK-BMlZjg5s.js"), "../language/sl-SI.json": () => import("./sl-SI-8SzKx7XD.js"), "../language/sv-SE.json": () => import("./sv-SE-B7cpKp1l.js") }), `../language/${lang}.json`, 3) }
|
|
1325
1430
|
]);
|
|
1326
1431
|
if (!rootLe) {
|
|
1327
1432
|
return /* @__PURE__ */ jsx(Loader, {});
|
package/dist/{RootIndividualDetailsPage-C49Q1XPl.js → RootIndividualDetailsPage-ULrh2_YN.js}
RENAMED
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b5df791-7b61-40e5-a632-664f398aeb57", e._sentryDebugIdIdentifier = "sentry-dbid-8b5df791-7b61-40e5-a632-664f398aeb57");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { c as useLegalEntity, R as ROOT_LE,
|
|
10
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, K as useAccountHolder, u as useTranslation, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, q as isPartOfTrustFromLegalEntity, M as EntityTypes, ak as isOnfidoAutofillFlowEnabled, a4 as noop, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper, bt as individualOnfidoBaseMapping, b5 as individualComponentsKeyMapping } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider,
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-DH3VYYau.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-SiWSMsi9.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f51153b0-027f-4fca-8d56-9ef25c17cb7a", e._sentryDebugIdIdentifier = "sentry-dbid-f51153b0-027f-4fca-8d56-9ef25c17cb7a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost,
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, $ as useMutation, W as isEmpty, u as useTranslation, a2 as useAnalyticsContext, aZ as getOwnDecisionMakers, r as LegalEntityTypes, O as TaskTypes, B as Button, a as addResourceBundles, c as useLegalEntity, R as ROOT_LE, L as Loader, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.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-
|
|
14
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
17
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
18
|
-
import { u as useForm, F as Field, S as Select } from "./useForm-
|
|
13
|
+
import { u as useSalesChannels, a as usePciStatus } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
14
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-Us27ek4u.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-CwW4wDY8.js";
|
|
17
|
+
import { C as Checkbox } from "./debouncedInputEvent-ZbuNEN6W.js";
|
|
18
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-C261ZUdn.js";
|
|
19
19
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
20
|
-
import { C as Card } from "./Card-
|
|
20
|
+
import { C as Card } from "./Card-I1r9oUx8.js";
|
|
21
21
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
22
22
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
23
23
|
const filteredData = {
|
|
@@ -238,7 +238,7 @@ function SignPCIComponent({
|
|
|
238
238
|
const additionalSalesChannels = useSalesChannels();
|
|
239
239
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
240
240
|
addResourceBundles(i18n, [
|
|
241
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
241
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/bg-BG.json": () => import("./bg-BG-4gJjMBoz.js"), "../../../language/locales/cs-CZ.json": () => import("./cs-CZ-CxB0DJQ6.js"), "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/el-GR.json": () => import("./el-GR-CjhbnLfE.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-D_0Pta7w.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/et-EE.json": () => import("./et-EE-Be9wlXLD.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/hr-HR.json": () => import("./hr-HR-iodfRS4f.js"), "../../../language/locales/hu-HU.json": () => import("./hu-HU-CEb_Wl4I.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/ja-JP.json": () => import("./ja-JP-US4BD67C.js"), "../../../language/locales/lt-LT.json": () => import("./lt-LT-os-nxAb0.js"), "../../../language/locales/lv-LV.json": () => import("./lv-LV-9NRF8DKM.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pl-PL.json": () => import("./pl-PL-B0BQdtqx.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/ro-RO.json": () => import("./ro-RO-WGnCVll9.js"), "../../../language/locales/sk-SK.json": () => import("./sk-SK-Cq_DSPZu.js"), "../../../language/locales/sl-SI.json": () => import("./sl-SI-C3gfuen3.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
242
242
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/bg-BG.json": () => import("./bg-BG-D9J6LnkI.js"), "../../ui/language/cs-CZ.json": () => import("./cs-CZ-DY_pQqAT.js"), "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/el-GR.json": () => import("./el-GR-Btrk_npt.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/et-EE.json": () => import("./et-EE-TzXANcP2.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/hr-HR.json": () => import("./hr-HR-CZLSQruE.js"), "../../ui/language/hu-HU.json": () => import("./hu-HU-kp8Go5hZ.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/ja-JP.json": () => import("./ja-JP-Dz9IVH4p.js"), "../../ui/language/lt-LT.json": () => import("./lt-LT-l9rzkFg9.js"), "../../ui/language/lv-LV.json": () => import("./lv-LV-DYbb5pkt.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pl-PL.json": () => import("./pl-PL-B0zGy_b4.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.js"), "../../ui/language/ro-RO.json": () => import("./ro-RO-CdSsgoUG.js"), "../../ui/language/sk-SK.json": () => import("./sk-SK-BiBWPJUf.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-DtdGMD6i.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-kR514dO1.js") }), `../../ui/language/${lang}.json`, 5) },
|
|
243
243
|
{ ns: "contract", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/bg-BG.json": () => import("./bg-BG-Dp4LxSP7.js"), "../../Contract/language/cs-CZ.json": () => import("./cs-CZ-CyLqoG1j.js"), "../../Contract/language/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/el-GR.json": () => import("./el-GR-B90M6tcZ.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/et-EE.json": () => import("./et-EE-BMgFCxds.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/hr-HR.json": () => import("./hr-HR-BLpGb4f2.js"), "../../Contract/language/hu-HU.json": () => import("./hu-HU-Ca9Hex26.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/ja-JP.json": () => import("./ja-JP-CHQ64lw1.js"), "../../Contract/language/lt-LT.json": () => import("./lt-LT-0RKZeraM.js"), "../../Contract/language/lv-LV.json": () => import("./lv-LV-Bh-WQp0K.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pl-PL.json": () => import("./pl-PL-LnVPufjb.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.js"), "../../Contract/language/ro-RO.json": () => import("./ro-RO-i7lojG2G.js"), "../../Contract/language/sk-SK.json": () => import("./sk-SK-B5brxU1N.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-CUCrzJQv.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-C6uPh9g5.js") }), `../../Contract/language/${lang}.json`, 5) }
|
|
244
244
|
]);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7e60d32a-ed72-43d5-ab82-3e957db22a82", e._sentryDebugIdIdentifier = "sentry-dbid-7e60d32a-ed72-43d5-ab82-3e957db22a82");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
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, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { u as useForm, F as Field } from "./useForm-
|
|
15
|
-
import { R as RadioGroupCard, I as Image } from "./
|
|
13
|
+
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-D_0Pta7w.js";
|
|
14
|
+
import { u as useForm, F as Field } from "./useForm-C261ZUdn.js";
|
|
15
|
+
import { R as RadioGroupCard, I as Image } from "./Spacer-D-c-0ch_.js";
|
|
16
16
|
const setupAccountMethods = ["singpass", "manual"];
|
|
17
17
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
18
18
|
const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
|
|
@@ -2,22 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "01a7460f-3ae2-4c66-a451-34c8d4dad203", e._sentryDebugIdIdentifier = "sentry-dbid-01a7460f-3ae2-4c66-a451-34c8d4dad203");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation,
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, w as skipToken, a as addResourceBundles, L as Loader, g as getLegalEntityCountry, O as TaskTypes, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
13
|
-
import { B as
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-lXErWzqC.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
18
18
|
}) {
|
|
19
19
|
const { i18n } = useTranslation();
|
|
20
|
-
const { isExperimentEnabled } = useExperimentsContext();
|
|
21
20
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
22
21
|
const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
|
|
23
22
|
const capabilityProblems = useCapabilityProblems();
|
|
@@ -29,23 +28,10 @@ function SoleProprietorshipPage({
|
|
|
29
28
|
}
|
|
30
29
|
const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
|
|
31
30
|
const country = getLegalEntityCountry(solePropLe ?? rootLe);
|
|
32
|
-
return
|
|
33
|
-
BusinessDetailsMultiformDropin,
|
|
34
|
-
{
|
|
35
|
-
taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
|
|
36
|
-
taskName: "soleProprietorship",
|
|
37
|
-
legalEntityResponse: rootLe,
|
|
38
|
-
associatedLegalArrangement: solePropLe,
|
|
39
|
-
problems: problems ?? {},
|
|
40
|
-
country,
|
|
41
|
-
onSubmit,
|
|
42
|
-
handleHomeClick
|
|
43
|
-
}
|
|
44
|
-
) : /* @__PURE__ */ jsx(
|
|
31
|
+
return /* @__PURE__ */ jsx(
|
|
45
32
|
BusinessDetailsDropin,
|
|
46
33
|
{
|
|
47
34
|
taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
|
|
48
|
-
taskName: "soleProprietorship",
|
|
49
35
|
legalEntityResponse: rootLe,
|
|
50
36
|
associatedLegalArrangement: solePropLe,
|
|
51
37
|
problems: problems ?? {},
|
|
@@ -2,40 +2,40 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "727b8f26-ab82-48bf-b4b7-6a10daae7ad8", e._sentryDebugIdIdentifier = "sentry-dbid-727b8f26-ab82-48bf-b4b7-6a10daae7ad8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext,
|
|
10
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, j as useQuery, m as httpGet, u as useTranslation, G as Typography, B as Button, V as useI18nContext, W as isEmpty, L as Loader, a3 as Icon, Y as IconButton, P as createLogger, a1 as useQueryClient, c as useLegalEntity, R as ROOT_LE, a2 as useAnalyticsContext, bM as useLegalEntities, a as addResourceBundles, M as EntityTypes, g as getLegalEntityCountry, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-D_0Pta7w.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./
|
|
12
|
+
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D-c-0ch_.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { n as normalizedTaskStatusStore,
|
|
15
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
19
|
-
import { u as useGlobalDataSlice,
|
|
20
|
-
import { g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
23
|
-
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-
|
|
14
|
+
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-HHq3dL3N.js";
|
|
15
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-CqIJgGTa.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-Ba2rxRgb.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-BPQX_o3v.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-CSn4V18R.js";
|
|
19
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-COSDbjgb.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-ClLFHxX6.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-Dggo6PZA.js";
|
|
22
|
+
import { F as FormWrapper } from "./FormWrapper-B7su5eh3.js";
|
|
23
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-XUGK4RIp.js";
|
|
24
24
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
25
25
|
import { signal } from "@preact/signals";
|
|
26
|
-
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-
|
|
27
|
-
import { F as Field, S as Select, u as useForm } from "./useForm-
|
|
28
|
-
import { I as InputDate, R as RadioGroup } from "./Address-
|
|
29
|
-
import { aa as InputGroup, ab as TileGroup,
|
|
30
|
-
import { I as InputText } from "./InputText-
|
|
31
|
-
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
33
|
-
import { a as Alert } from "./Alert-
|
|
34
|
-
import { M as Modal } from "./Modal-
|
|
35
|
-
import { C as Confirm, S as StructuredList } from "./useDataset-
|
|
36
|
-
import { v as validateDateNotInTheFuture } from "./validate-
|
|
26
|
+
import { C as CountryField, E as ErrorPanel, c as createFormUtils, g as getFormProps, H as Header } from "./CountryField-BO-n2nAh.js";
|
|
27
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-C261ZUdn.js";
|
|
28
|
+
import { I as InputDate, R as RadioGroup } from "./Address-BCTZUD2J.js";
|
|
29
|
+
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-DH3VYYau.js";
|
|
30
|
+
import { I as InputText } from "./InputText-DR70nC51.js";
|
|
31
|
+
import { a as allowedCurrencies, T as TODAY_DATE, S as SOF_CHARACTERS_LIMIT, b as formatDateForInput, g as getInputErrors, c as formatAmountWithCurrency, d as getAdditionalDataSchemaKeys, s as sofCategoryItemMapper, e as getPageHeadings, h as getServiceTranslationSelectTitle, i as sourceOfFundsForms, j as getSofCardDetails, k as getGettingStartedCardDetails, l as getServiceTranslation, p as parseSOFDocumentDescription, m as getRelevantErrors, n as getUniqueRemediationActions, o as SOF_INVALID_INPUT_ERROR_CODES, q as getServiceTranslationKey, r as getDocumentLists, t as getDocumentRequirements, M as MISSING_DATA_SOF_UPLOAD_CODE, u as parseOriginatorDetails, v as getSourceOfFundsRequiredForms, w as sourceOfFundsRequiredFields, x as getSourceOfFundsPayload, y as parseSofOriginatorPayload, A as ALLOWED_SOF_SERVICES } from "./utils-B_eQ3Eny.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-1DJaB2Fj.js";
|
|
33
|
+
import { a as Alert } from "./Alert-DlSROjS7.js";
|
|
34
|
+
import { M as Modal } from "./Modal-W8cfdxrr.js";
|
|
35
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-RNFlX1-i.js";
|
|
36
|
+
import { v as validateDateNotInTheFuture } from "./validate-ArlZWHo0.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { C as Card } from "./Card-
|
|
38
|
+
import { C as Card } from "./Card-I1r9oUx8.js";
|
|
39
39
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
40
40
|
return httpPost(
|
|
41
41
|
{
|