@adyen/kyc-components 4.0.0-compact.2 → 4.0.0-compact.3
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-CNbcTHZy.js → AcceptTermsOfServiceComponent-DmtE39CC.js} +12 -12
- package/dist/{Accordion-Bjer1DF8.js → Accordion-C-BvE1VA.js} +1 -1
- package/dist/{AccountSetupRejected-Cn672qPs.js → AccountSetupRejected-DDoI43lB.js} +3 -3
- package/dist/{ActionBar-_ItKVS6X.js → ActionBar-Dzrzolec.js} +1 -1
- package/dist/{Address-brlyMNsL.js → Address-e41CN3CB.js} +7 -7
- package/dist/{Alert-BjepSgqS.js → Alert-Dk-oZlnx.js} +2 -2
- package/dist/{Avatar-YKRRWtuD.js → Avatar-efxn8pKz.js} +1 -1
- package/dist/{BusinessDetailsDropin-Be43Lz8z.js → BusinessDetailsDropin-DDh_D2hv.js} +27 -27
- package/dist/{BusinessFinancingComponent-DaXrEiOK.js → BusinessFinancingComponent-C04uRrhE.js} +4 -4
- package/dist/{BusinessFinancingDropin-CxvdCIOR.js → BusinessFinancingDropin-_OlSqohS.js} +21 -21
- package/dist/{BusinessFinancingPage-DR8f57Zt.js → BusinessFinancingPage-DdMugwOa.js} +3 -3
- package/dist/{BusinessTypeSelectionPage-5VrdC33B.js → BusinessTypeSelectionPage-vkCTEFEJ.js} +7 -7
- package/dist/{Card-DTRTgvkU.js → Card-CqXQA0AI.js} +2 -2
- package/dist/{ConstitutionalDocument-LzfYJniz.js → ConstitutionalDocument-CcwyClZ7.js} +2 -2
- package/dist/{CountryField-BKLmbhSX.js → CountryField-CzRN1OE8.js} +5 -5
- package/dist/{CreateIndividualComponent-BLXGgGyY.js → CreateIndividualComponent-BNeY6u8q.js} +4 -4
- package/dist/{CreateTransferInstrumentComponent-DVckBQQm.js → CreateTransferInstrumentComponent-B8cNHRdF.js} +4 -4
- package/dist/{Currency-MPPfYpO2.js → Currency-BBt4yo5i.js} +4 -4
- package/dist/{CustomerSupport-By2yaM5E.js → CustomerSupport-CObTT8cH.js} +9 -9
- package/dist/{DebugModal-DCHlUTNW.js → DebugModal-DJcim6UP.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-tc-XK5oy.js → DecisionMakerDetailsPage-CrQgRW8X.js} +5 -5
- package/dist/{DecisionMakers-DU88cxZJ.js → DecisionMakers-B-3aMddf.js} +19 -19
- package/dist/{EmbeddedStatus-Dyw4tZGv.js → EmbeddedStatus-C_5DguHv.js} +2 -2
- package/dist/{EndStateLayout-Dyji8Wu9.js → EndStateLayout-CwdrDEYY.js} +1 -1
- package/dist/{EntityAssociation-Dj13mqhr.js → EntityAssociation-C413vcu6.js} +7 -7
- package/dist/{EntityGuidanceStatus-B-VLjG9P.js → EntityGuidanceStatus-C6b8i7os.js} +2 -2
- package/dist/{FormFlow-KgmudcUf.js → FormFlow-PppMJ6OA.js} +7 -7
- package/dist/{FormNavigation-CFIXqopX.js → FormNavigation-DL47b_QR.js} +2 -2
- package/dist/{FormWrapper-CCyMspMC.js → FormWrapper-BOrTn1C8.js} +9 -9
- package/dist/{IndividualOnfido-DGWs87Bu.js → IndividualOnfido-CmmyKC7J.js} +13 -13
- package/dist/{IndividualOnfidoDropin-CUY4R6Np.js → IndividualOnfidoDropin-BsCb6dvy.js} +26 -26
- package/dist/{InputText-DXkZ7fwq.js → InputText-BfL9DgWp.js} +2 -2
- package/dist/{Introduction-CjaMyLeR.js → Introduction-CBMl7v2M.js} +3 -3
- package/dist/{JpAddress-DSZyw5JH.js → JpAddress-BCwWQ0Ul.js} +7 -7
- package/dist/{LegalRepresentativeDetailsPage-L1HAsU01.js → LegalRepresentativeDetailsPage-CDURNY_v.js} +3 -3
- package/dist/{ListItem-COe1T6IG.js → ListItem-BhUSZdS5.js} +2 -2
- package/dist/{ManageIndividualComponent-ySaPJphf.js → ManageIndividualComponent-wYIuZdQ8.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-ClF1MHMK.js → ManageTermsOfServiceComponent-6RBHbbsn.js} +4 -4
- package/dist/{ManageTransferInstrumentComponent-D26m3iJX.js → ManageTransferInstrumentComponent-BDyWbySW.js} +11 -11
- package/dist/{MaybeModal-BPq0SmbE.js → MaybeModal-CG0BAO68.js} +2 -2
- package/dist/{Modal-qvqrnkl9.js → Modal-CJ_hgcGb.js} +1 -1
- package/dist/{OnboardingDropinComponent-CAowzo5z.js → OnboardingDropinComponent-D3dYF_4W.js} +51 -51
- package/dist/{PayoutDetailsDropin-CElcAZkT.js → PayoutDetailsDropin-DxALk48X.js} +26 -26
- package/dist/{Review-BsSmYJ0Z.js → Review-C_JnI94L.js} +6 -6
- package/dist/{RootBusinessDetailsPage-DfaUd-dT.js → RootBusinessDetailsPage-BE3Uck1r.js} +4 -4
- package/dist/{RootBusinessLinesPage-BUU93N7l.js → RootBusinessLinesPage-DknXuZgi.js} +22 -22
- package/dist/{RootIndividualDetailsPage-pNQ9v0Cg.js → RootIndividualDetailsPage-BIj988Sh.js} +5 -5
- package/dist/{SignPCIComponent-DA9HTJcn.js → SignPCIComponent-BjVEKTlw.js} +9 -9
- package/dist/{SingpassSelection-CWJuYh4-.js → SingpassSelection-Bkbz_bGo.js} +3 -3
- package/dist/{SoleProprietorshipPage-p5JwimAo.js → SoleProprietorshipPage-DSOEsSfJ.js} +3 -3
- package/dist/{SourceOfFundsPage-CG0pItrl.js → SourceOfFundsPage-cWwthA_A.js} +24 -24
- package/dist/{Spacer-BcPESwGJ.js → Spacer-D4I0f08n.js} +8 -8
- package/dist/{StepProgressIndicator-BG5uNVKJ.js → StepProgressIndicator-FNAEisRr.js} +1 -1
- package/dist/{StoreProvider-D0o_745u.js → StoreProvider-jtUYKLRz.js} +4 -4
- package/dist/{Summary-DfChUS-N.js → Summary-COehg8IT.js} +3 -3
- package/dist/{TaxReportingDropin-BhFHPYrV.js → TaxReportingDropin-BBkhMcPn.js} +15 -15
- package/dist/{TrustDetailsPage-UI7Qhogx.js → TrustDetailsPage-50i4_lFA.js} +26 -26
- package/dist/{TrustMemberCompanyPage-Cvq23-mG.js → TrustMemberCompanyPage-v2Md1srF.js} +4 -4
- package/dist/{TrustMemberIndividualPage-9eQ_yj88.js → TrustMemberIndividualPage-Bn6TXkhN.js} +3 -3
- package/dist/{TrustMemberRoleAndTypePage-C5X4yQcZ.js → TrustMemberRoleAndTypePage-C_NPNe6_.js} +13 -13
- package/dist/{TrustMembersOverview-DS3F2gW9.js → TrustMembersOverview-FcSsQZ3Z.js} +11 -11
- package/dist/{UnincorporatedPartnershipIndividualPage-B9EMaXkA.js → UnincorporatedPartnershipIndividualPage-zsyk9RTz.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DqpxNM8J.js → UnincorporatedPartnershipMemberCompanyPage-FP75ZgOg.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-DuWERJIv.js → UnincorporatedPartnershipMemberRoleAndTypePage-n6SndOAj.js} +8 -8
- package/dist/{UnincorporatedPartnershipMembersOverview-CXIrEXgp.js → UnincorporatedPartnershipMembersOverview-BbW2q9EI.js} +8 -8
- package/dist/{VerificationErrorAlert-Cwea2nvk.js → VerificationErrorAlert-B7jRGdgn.js} +3 -3
- package/dist/{ViewVerificationStatusComponent-C5rBiaSa.js → ViewVerificationStatusComponent-CuUmC319.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 +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/{debouncedInputEvent-DbzJEMPo.js → debouncedInputEvent-HhImBs4O.js} +1 -1
- package/dist/{documentUtils-Cc83Q1S6.js → documentUtils-DIcRD9lR.js} +2 -2
- package/dist/{dropinUtils-D0iun-Wp.js → dropinUtils-BK1u6OTG.js} +3 -3
- package/dist/{getFieldsWithExistingData-2sKn11MH.js → getFieldsWithExistingData-DxCFyXNd.js} +1 -1
- package/dist/{getName-DhbqyTuj.js → getName-BS-pHwl0.js} +1 -1
- package/dist/{hasDataChanged-ZEmm9mgZ.js → hasDataChanged-CWdnpJrE.js} +1 -1
- package/dist/{iframeWidget-DhidmNAp.js → iframeWidget-Uz4rHS0r.js} +3 -3
- package/dist/{localizeDateString-DYxbMJdq.js → localizeDateString-DgSdo3D5.js} +1 -1
- package/dist/{mapExistingFile-DGRyOBjp.js → mapExistingFile-CqrlnmFQ.js} +2 -2
- package/dist/{mapFinancialReportsToFinancialInformation-DBdQzrBs.js → mapFinancialReportsToFinancialInformation-ZmhVRj3f.js} +2 -2
- package/dist/{mapJpAddressSchemaToAddressLocalizations-uwuFlYx9.js → mapJpAddressSchemaToAddressLocalizations-D6HjhjJT.js} +2 -2
- package/dist/{mapLegalEntityToIndividualOnfidoSchema-C6mqHFxh.js → mapLegalEntityToIndividualOnfidoSchema-COcit7Hx.js} +2 -2
- package/dist/{mapTransferInstrumentToPayoutAccount-CrO59de3.js → mapTransferInstrumentToPayoutAccount-DfJHF9H8.js} +1 -1
- package/dist/{process-field-configurations-IsZZTbcC.js → process-field-configurations-N1jHgPa8.js} +2 -2
- package/dist/{resolveEnvironment-CM4-oCnd.js → resolveEnvironment-DZ77JxLV.js} +3 -3
- package/dist/{rules-BFaDNVc6.js → rules-_v8BprU3.js} +4 -4
- package/dist/style.css +324 -35
- package/dist/styles-CLV89_hH.js +324 -35
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +1 -0
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +2 -0
- package/dist/{types-CoA3qKLi.js → types-BnnF5_7m.js} +1 -1
- package/dist/{types-BXl6V78E.js → types-D0u3f6aG.js} +1 -1
- package/dist/{types-DFkJwAG7.js → types-sYQKhaSL.js} +1 -1
- package/dist/{useAssociatedLegalEntity-BXXTCq2H.js → useAssociatedLegalEntity-00JVCmQ7.js} +1 -1
- package/dist/{useCreateLegalEntity-BNSFNiHp.js → useCreateLegalEntity-BvvwB9r0.js} +1 -1
- package/dist/{useDataset-CLPw5wNd.js → useDataset-8WyOJBhU.js} +3 -3
- package/dist/{useForm-BkgSiM1i.js → useForm-DLxHtZTP.js} +4 -4
- package/dist/{useGlobalData-BeYozqdQ.js → useGlobalData-D9dz7GIi.js} +2 -2
- package/dist/{useMultiForm-2sO8cnmJ.js → useMultiForm--sSlt50X.js} +3 -3
- package/dist/{useOnboardingStatus-DX9R5XKU.js → useOnboardingStatus-91zhqzLd.js} +1 -1
- package/dist/{useScenarios-CVql9dlu.js → useScenarios-CqKpYbe_.js} +1 -1
- package/dist/{useTermsOfServiceStatus-D1yYDEeh.js → useTermsOfServiceStatus-DLQVpbik.js} +1 -1
- package/dist/{useToastContext-CbM0O-ZH.js → useToastContext-FI3dwzzs.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-BpDu4QKJ.js → useUnincorporatedPartnershipMembers-CdQDPlZq.js} +4 -4
- package/dist/{useUpdateBusinessLines-DSH6ZmMJ.js → useUpdateBusinessLines-BulhyPjH.js} +1 -1
- package/dist/{useUpdateLegalEntity-DnbryhbN.js → useUpdateLegalEntity-Q3Icdeo6.js} +2 -2
- package/dist/{utils-BwrYpRdV.js → utils-DQLhii3U.js} +3 -3
- package/dist/{utils-m640rX-u.js → utils-DV0_GilJ.js} +5 -5
- package/dist/{validate-Cf-TAdac.js → validate-BD3wn-YX.js} +1 -1
- package/dist/{validate-B8aB6l_3.js → validate-H-iE__-w.js} +1 -1
- package/dist/{validationError-BVdpr3ww.js → validationError-B5aoMbe_.js} +1 -1
- package/package.json +1 -1
package/dist/{OnboardingDropinComponent-CAowzo5z.js → OnboardingDropinComponent-D3dYF_4W.js}
RENAMED
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, o as useSettingsContext, p as useLocalStorage, g as getLegalEntityCountry, C as CountryCodes, q as isPartOfTrustFromLegalEntity, r as LegalEntityTypes, t as hasSolePropInLegalEntity, v as getLegalRepresentative, c as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, u as useTranslation, B as Button, y as Skeleton, z as translateStringOrObject, G as Typography, H as hasOwnEntityAssociationOfType, J as isEmptyEntity, K as useAccountHolder, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, O as TaskTypes, P as createLogger, U as TaskStatuses, V as useI18nContext, W as isEmpty, i as isUndefinedOrNull, X as useExperimentsContext, Y as IconButton, Z as isISIN, R as ROOT_LE, L as Loader, $ as useMutation, a0 as entriesOf, a1 as useQueryClient, a2 as useAnalyticsContext, a3 as Icon, a4 as noop, a5 as isInstantVerifiedAccount, a6 as getObscuredAccountNumber, a7 as useGetTaskStatus, a8 as useGlobalStore, a9 as isPartOfUnincorporatedPartnership, aa as getOwnSignatories, ab as getOwnDecisionMakersLegalEntityIds, ac as getOwnSolePropProblems, ad as getOwnTrustProblems, ae as getOwnUnincorporatedPartnershipProblems, af as getOwnEntityAssociations, ag as TrustMemberTypes, ah as hasAllCapabilitiesResolved, ai as hasRejectedCapabilities, aj as objectsDeepEqual, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, o as useSettingsContext, p as useLocalStorage, g as getLegalEntityCountry, C as CountryCodes, q as isPartOfTrustFromLegalEntity, r as LegalEntityTypes, t as hasSolePropInLegalEntity, v as getLegalRepresentative, c as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, u as useTranslation, B as Button, y as Skeleton, z as translateStringOrObject, G as Typography, H as hasOwnEntityAssociationOfType, J as isEmptyEntity, K as useAccountHolder, M as EntityTypes, N as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, O as TaskTypes, P as createLogger, U as TaskStatuses, V as useI18nContext, W as isEmpty, i as isUndefinedOrNull, X as useExperimentsContext, Y as IconButton, Z as isISIN, R as ROOT_LE, L as Loader, $ as useMutation, a0 as entriesOf, a1 as useQueryClient, a2 as useAnalyticsContext, a3 as Icon, a4 as noop, a5 as isInstantVerifiedAccount, a6 as getObscuredAccountNumber, a7 as useGetTaskStatus, a8 as useGlobalStore, a9 as isPartOfUnincorporatedPartnership, aa as getOwnSignatories, ab as getOwnDecisionMakersLegalEntityIds, ac as getOwnSolePropProblems, ad as getOwnTrustProblems, ae as getOwnUnincorporatedPartnershipProblems, af as getOwnEntityAssociations, ag as TrustMemberTypes, ah as hasAllCapabilitiesResolved, ai as hasRejectedCapabilities, aj as objectsDeepEqual, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-jtUYKLRz.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useReducer, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { S as SettingNames, I as InputText, T as TaskVerificationStatus } from "./InputText-
|
|
15
|
-
import { T as TrustedFieldsProviders, I as Image, v as validatePatternOnBlur, a as validateNotEmptyOnBlur, m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, d as nonInputs, S as StateContextSetter, C as ContextGuidance, r as resolveFieldMetadata, e as validateLegalCompanyName, f as validateLatinSpaceMarkPunctuationOnlyOnBlur, g as validateJaKanaLegalCompanyName, h as validateJaHaniLegalCompanyName, R as RadioGroupCard, i as useCapabilityProblems } from "./Spacer-
|
|
16
|
-
import { g as getTrustedFieldsProvider, C as CompanyTypesValues, a as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, b as businessRegistrationNumberMasks, c as businessRegistrationNumberPatterns, v as vatNumberOptions, d as getVatNumberOptions, T as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, h as TaxInformationField, i as toFullWidth, u as useAllowedCountries, j as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, k as handleKeys, l as COUNTRIES_USING_COMPANY_SEARCH, m as useSetting, n as individualOnfidoForms, o as individualForms, p as isBafinSignatoryFlow, q as showIdNowModal } from "./IndividualOnfido-
|
|
17
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
14
|
+
import { S as SettingNames, I as InputText, T as TaskVerificationStatus } from "./InputText-BfL9DgWp.js";
|
|
15
|
+
import { T as TrustedFieldsProviders, I as Image, v as validatePatternOnBlur, a as validateNotEmptyOnBlur, m as makeMask, n as numericInputs, s as spacer, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, d as nonInputs, S as StateContextSetter, C as ContextGuidance, r as resolveFieldMetadata, e as validateLegalCompanyName, f as validateLatinSpaceMarkPunctuationOnlyOnBlur, g as validateJaKanaLegalCompanyName, h as validateJaHaniLegalCompanyName, R as RadioGroupCard, i as useCapabilityProblems } from "./Spacer-D4I0f08n.js";
|
|
16
|
+
import { g as getTrustedFieldsProvider, C as CompanyTypesValues, a as getCompanyRegistrationNumberOptions, s as stateFormatGuidanceText, b as businessRegistrationNumberMasks, c as businessRegistrationNumberPatterns, v as vatNumberOptions, d as getVatNumberOptions, T as TAX_INFORMATION_FIELD, r as requestingBanking, e as requestingIssuing, t as taxInformationDefaultFieldMetadata, f as taxInformationDefaultFieldConfig, h as TaxInformationField, i as toFullWidth, u as useAllowedCountries, j as COUNTRY_OF_GOVERNING_LAW_POSSIBLE, S as StateCodesUS, k as handleKeys, l as COUNTRIES_USING_COMPANY_SEARCH, m as useSetting, n as individualOnfidoForms, o as individualForms, p as isBafinSignatoryFlow, q as showIdNowModal } from "./IndividualOnfido-CmmyKC7J.js";
|
|
17
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-00JVCmQ7.js";
|
|
18
18
|
import cx from "classnames";
|
|
19
|
-
import { a as Alert } from "./Alert-
|
|
20
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
21
|
-
import { a as useToastContext } from "./useToastContext-
|
|
22
|
-
import { c as createFormUtils, H as Header, L as List, g as getFormProps, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, C as CountryField, b as COUNTRY_FIELD, S as StackLayout, U as UnincorporatedPartnershipMemberTypes } from "./CountryField-
|
|
23
|
-
import { C as Card } from "./Card-
|
|
19
|
+
import { a as Alert } from "./Alert-Dk-oZlnx.js";
|
|
20
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-DLQVpbik.js";
|
|
21
|
+
import { a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
22
|
+
import { c as createFormUtils, H as Header, L as List, g as getFormProps, E as ErrorPanel, a as Link, m as mergeFieldMetadataIntoProps, C as CountryField, b as COUNTRY_FIELD, S as StackLayout, U as UnincorporatedPartnershipMemberTypes } from "./CountryField-CzRN1OE8.js";
|
|
23
|
+
import { C as Card } from "./Card-CqXQA0AI.js";
|
|
24
24
|
import { signal } from "@preact/signals";
|
|
25
25
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
26
|
-
import { C as Checkbox, u as useDebouncedCallback } from "./debouncedInputEvent-
|
|
27
|
-
import { F as Field, u as useForm, S as Select, L as LoaderWrapper } from "./useForm-
|
|
28
|
-
import { R as RadioGroup, I as InputDate, f as formatDateObj, A as Address, u as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, c as getNestedTrustedFields, d as getAddressSchemaLabelsByCountry, S as STATE_FIELD, e as StateField } from "./Address-
|
|
29
|
-
import { u as useGlobalDataSlice } from "./useGlobalData-
|
|
30
|
-
import { I as InputNumber, a as InputCurrency, C as CURRENCY_FIELD, b as Currency, L as LegalFormField } from "./Currency-
|
|
31
|
-
import { c as currencyByCountry } from "./types-
|
|
26
|
+
import { C as Checkbox, u as useDebouncedCallback } from "./debouncedInputEvent-HhImBs4O.js";
|
|
27
|
+
import { F as Field, u as useForm, S as Select, L as LoaderWrapper } from "./useForm-DLxHtZTP.js";
|
|
28
|
+
import { R as RadioGroup, I as InputDate, f as formatDateObj, A as Address, u as useFormContext, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as useAddressCleanse, b as formatAddressForCleanse, m as mapAddressData, c as getNestedTrustedFields, d as getAddressSchemaLabelsByCountry, S as STATE_FIELD, e as StateField } from "./Address-e41CN3CB.js";
|
|
29
|
+
import { u as useGlobalDataSlice } from "./useGlobalData-D9dz7GIi.js";
|
|
30
|
+
import { I as InputNumber, a as InputCurrency, C as CURRENCY_FIELD, b as Currency, L as LegalFormField } from "./Currency-BBt4yo5i.js";
|
|
31
|
+
import { c as currencyByCountry } from "./types-D0u3f6aG.js";
|
|
32
32
|
import { createElement } from "preact";
|
|
33
|
-
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-
|
|
34
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
35
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
36
|
-
import { A as Avatar } from "./Avatar-
|
|
37
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
33
|
+
import { S as StructuredList, a as datasetUtilities, C as Confirm } from "./useDataset-8WyOJBhU.js";
|
|
34
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CJ_hgcGb.js";
|
|
35
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-B7jRGdgn.js";
|
|
36
|
+
import { A as Avatar } from "./Avatar-efxn8pKz.js";
|
|
37
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-BS-pHwl0.js";
|
|
38
38
|
const operationalAddressIsSameIds = {
|
|
39
39
|
OPERATIONAL_ADDRESS_IS_SAME: "OperationAddressAnswerYes",
|
|
40
40
|
OPERATIONAL_ADDRESS_IS_NOT_SAME: "OperationAddressAnswerNo"
|
|
@@ -3747,7 +3747,7 @@ function VerifiedBusinessCard({
|
|
|
3747
3747
|
] });
|
|
3748
3748
|
}
|
|
3749
3749
|
const LazyJpAddress = lazy(
|
|
3750
|
-
async () => (await import("./JpAddress-
|
|
3750
|
+
async () => (await import("./JpAddress-BCwWQ0Ul.js")).JpAddress
|
|
3751
3751
|
);
|
|
3752
3752
|
const ADDITIONAL_INFORMATION_FORM_ID = "additionalInformation";
|
|
3753
3753
|
const ADDITIONAL_INFORMATION_FIELDS = [
|
|
@@ -6841,86 +6841,86 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
6841
6841
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
6842
6842
|
};
|
|
6843
6843
|
const Introduction = lazy(
|
|
6844
|
-
async () => (await import("./Introduction-
|
|
6844
|
+
async () => (await import("./Introduction-CBMl7v2M.js")).Introduction
|
|
6845
6845
|
);
|
|
6846
6846
|
const BusinessTypeSelectionPage = lazy(
|
|
6847
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
6847
|
+
async () => (await import("./BusinessTypeSelectionPage-vkCTEFEJ.js")).BusinessTypeSelectionPage
|
|
6848
6848
|
);
|
|
6849
6849
|
const SingpassSelection = lazy(
|
|
6850
|
-
async () => (await import("./SingpassSelection-
|
|
6850
|
+
async () => (await import("./SingpassSelection-Bkbz_bGo.js")).SingpassSelection
|
|
6851
6851
|
);
|
|
6852
6852
|
const AccountSetupRejected = lazy(
|
|
6853
|
-
async () => (await import("./AccountSetupRejected-
|
|
6853
|
+
async () => (await import("./AccountSetupRejected-DDoI43lB.js")).AccountSetupRejected
|
|
6854
6854
|
);
|
|
6855
6855
|
const DecisionMakers = lazy(
|
|
6856
|
-
async () => (await import("./DecisionMakers-
|
|
6856
|
+
async () => (await import("./DecisionMakers-B-3aMddf.js")).DecisionMakers
|
|
6857
6857
|
);
|
|
6858
6858
|
const CustomerSupport = lazy(
|
|
6859
|
-
async () => (await import("./CustomerSupport-
|
|
6859
|
+
async () => (await import("./CustomerSupport-CObTT8cH.js")).CustomerSupport
|
|
6860
6860
|
);
|
|
6861
|
-
const Review = lazy(async () => (await import("./Review-
|
|
6861
|
+
const Review = lazy(async () => (await import("./Review-C_JnI94L.js")).Review);
|
|
6862
6862
|
const SignPCIComponent = lazy(
|
|
6863
|
-
async () => (await import("./SignPCIComponent-
|
|
6863
|
+
async () => (await import("./SignPCIComponent-BjVEKTlw.js")).SignPCIComponent
|
|
6864
6864
|
);
|
|
6865
6865
|
const AcceptTermsOfService = lazy(
|
|
6866
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
6866
|
+
async () => (await import("./AcceptTermsOfServiceComponent-DmtE39CC.js")).AcceptTermsOfServiceComponent
|
|
6867
6867
|
);
|
|
6868
6868
|
const TaxReportingDropin = lazy(
|
|
6869
|
-
async () => (await import("./TaxReportingDropin-
|
|
6869
|
+
async () => (await import("./TaxReportingDropin-BBkhMcPn.js")).TaxReportingDropin
|
|
6870
6870
|
);
|
|
6871
6871
|
const PayoutDetailsPage = lazy(
|
|
6872
|
-
async () => (await import("./PayoutDetailsDropin-
|
|
6872
|
+
async () => (await import("./PayoutDetailsDropin-DxALk48X.js").then((n) => n.a)).PayoutDetailsPage
|
|
6873
6873
|
);
|
|
6874
6874
|
const RootBusinessDetailsPage = lazy(
|
|
6875
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
6875
|
+
async () => (await import("./RootBusinessDetailsPage-BE3Uck1r.js")).RootBusinessDetailsPage
|
|
6876
6876
|
);
|
|
6877
6877
|
const RootBusinessLinesPage = lazy(
|
|
6878
|
-
async () => (await import("./RootBusinessLinesPage-
|
|
6878
|
+
async () => (await import("./RootBusinessLinesPage-DknXuZgi.js")).RootBusinessLinesPage
|
|
6879
6879
|
);
|
|
6880
6880
|
const SoleProprietorshipPage = lazy(
|
|
6881
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
6881
|
+
async () => (await import("./SoleProprietorshipPage-DSOEsSfJ.js")).SoleProprietorshipPage
|
|
6882
6882
|
);
|
|
6883
6883
|
const TrustMemberCompanyPage = lazy(
|
|
6884
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
6884
|
+
async () => (await import("./TrustMemberCompanyPage-v2Md1srF.js")).TrustMemberCompanyPage
|
|
6885
6885
|
);
|
|
6886
6886
|
const TrustMemberIndividualPage = lazy(
|
|
6887
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
6887
|
+
async () => (await import("./TrustMemberIndividualPage-Bn6TXkhN.js")).TrustMemberIndividualPage
|
|
6888
6888
|
);
|
|
6889
6889
|
const TrustMemberRoleAndTypePage = lazy(
|
|
6890
|
-
async () => (await import("./TrustMemberRoleAndTypePage-
|
|
6890
|
+
async () => (await import("./TrustMemberRoleAndTypePage-C_NPNe6_.js")).TrustMemberRoleAndTypePage
|
|
6891
6891
|
);
|
|
6892
6892
|
const TrustMembersOverview = lazy(
|
|
6893
|
-
async () => (await import("./TrustMembersOverview-
|
|
6893
|
+
async () => (await import("./TrustMembersOverview-FcSsQZ3Z.js")).TrustMembersOverview
|
|
6894
6894
|
);
|
|
6895
6895
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
6896
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
6896
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-FP75ZgOg.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
6897
6897
|
);
|
|
6898
6898
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
6899
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
6899
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-zsyk9RTz.js")).UnincorporatedPartnershipIndividualPage
|
|
6900
6900
|
);
|
|
6901
6901
|
const UnincorporatedPartnershipMemberRoleAndTypePage = lazy(
|
|
6902
|
-
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-
|
|
6902
|
+
async () => (await import("./UnincorporatedPartnershipMemberRoleAndTypePage-n6SndOAj.js")).UnincorporatedPartnershipMemberRoleAndTypePage
|
|
6903
6903
|
);
|
|
6904
6904
|
const UnincorporatedPartnershipMembersOverview = lazy(
|
|
6905
|
-
async () => (await import("./UnincorporatedPartnershipMembersOverview-
|
|
6905
|
+
async () => (await import("./UnincorporatedPartnershipMembersOverview-BbW2q9EI.js")).UnincorporatedPartnershipMembersOverview
|
|
6906
6906
|
);
|
|
6907
6907
|
const BusinessFinancingPage = lazy(
|
|
6908
|
-
async () => (await import("./BusinessFinancingPage-
|
|
6908
|
+
async () => (await import("./BusinessFinancingPage-DdMugwOa.js")).BusinessFinancingPage
|
|
6909
6909
|
);
|
|
6910
6910
|
const TrustDetailsPage = lazy(
|
|
6911
|
-
async () => (await import("./TrustDetailsPage-
|
|
6911
|
+
async () => (await import("./TrustDetailsPage-50i4_lFA.js")).TrustDetailsPage
|
|
6912
6912
|
);
|
|
6913
6913
|
const SourceOfFundsPage = lazy(
|
|
6914
|
-
async () => (await import("./SourceOfFundsPage-
|
|
6914
|
+
async () => (await import("./SourceOfFundsPage-cWwthA_A.js")).SourceOfFundsPage
|
|
6915
6915
|
);
|
|
6916
6916
|
const RootIndividualDetailsPage = lazy(
|
|
6917
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
6917
|
+
async () => (await import("./RootIndividualDetailsPage-BIj988Sh.js")).RootIndividualDetailsPage
|
|
6918
6918
|
);
|
|
6919
6919
|
const LegalRepresentativeDetailsPage = lazy(
|
|
6920
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
6920
|
+
async () => (await import("./LegalRepresentativeDetailsPage-CDURNY_v.js")).LegalRepresentativeDetailsPage
|
|
6921
6921
|
);
|
|
6922
6922
|
const DecisionMakerDetailsPage = lazy(
|
|
6923
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
6923
|
+
async () => (await import("./DecisionMakerDetailsPage-CrQgRW8X.js")).DecisionMakerDetailsPage
|
|
6924
6924
|
);
|
|
6925
6925
|
function isIn(values, x) {
|
|
6926
6926
|
return values.includes(x);
|
|
@@ -7521,7 +7521,7 @@ function OnboardingDropinComponent({
|
|
|
7521
7521
|
}
|
|
7522
7522
|
const { i18n } = useTranslation();
|
|
7523
7523
|
addResourceBundles(i18n, [
|
|
7524
|
-
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-
|
|
7524
|
+
{ ns: "common", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-jtUYKLRz.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-zTiw1bUU.js") }), `../../../language/locales/${lang}.json`, 6) },
|
|
7525
7525
|
{ ns: "ui", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.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) }
|
|
7526
7526
|
]);
|
|
7527
7527
|
const { data: legalEntityData } = useLegalEntity(ROOT_LE);
|
|
@@ -10,40 +10,40 @@
|
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { signal } from "@preact/signals";
|
|
12
12
|
import { useState, useEffect, useRef, useMemo, useCallback, useContext } from "preact/hooks";
|
|
13
|
-
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-
|
|
14
|
-
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-
|
|
15
|
-
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-
|
|
13
|
+
import { b as useApiContext, j as useQuery, k as httpPost, m as httpGet, $ as useMutation, a1 as useQueryClient, P as createLogger, C as CountryCodes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, r as LegalEntityTypes, a as addResourceBundles, L as Loader, M as EntityTypes, _ as __variableDynamicImportRuntimeHelper, a2 as useAnalyticsContext, a3 as Icon, G as Typography, B as Button, aj as objectsDeepEqual, aV as doArraysMatch, W as isEmpty, X as useExperimentsContext, bg as getSdkToken, H as hasOwnEntityAssociationOfType, K as useAccountHolder, o as useSettingsContext, g as getLegalEntityCountry, an as Trans, bh as EEA_Countries, bi as isAccountIdentifierObscured, bj as hasEmptyFields, bk as extractFieldName, bl as concatenateFieldNames, ap as keysOf, aA as getCapabilityProblems, O as TaskTypes, aB as cloneObject, w as skipToken } from "./StoreProvider-jtUYKLRz.js";
|
|
14
|
+
import { u as useTransferInstrument, m as mapTransferInstrumentToPayoutAccount } from "./mapTransferInstrumentToPayoutAccount-DfJHF9H8.js";
|
|
15
|
+
import { u as useForm, F as Field, S as Select, L as LoaderWrapper } from "./useForm-DLxHtZTP.js";
|
|
16
16
|
import { E as ExperimentNames } from "./types-Dk94b8kx.js";
|
|
17
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
18
|
-
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-
|
|
19
|
-
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-
|
|
20
|
-
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-
|
|
23
|
-
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-
|
|
24
|
-
import { c as currencyByCountry, C as Currencies } from "./types-
|
|
25
|
-
import { F as FormWrapper } from "./FormWrapper-
|
|
26
|
-
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-
|
|
27
|
-
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-
|
|
28
|
-
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-
|
|
29
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
17
|
+
import { I as InputText, S as SettingNames } from "./InputText-BfL9DgWp.js";
|
|
18
|
+
import { u as useGlobalDataSlice, a as useGlobalData, b as useResetGlobalData, c as useStateContext } from "./useGlobalData-D9dz7GIi.js";
|
|
19
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
20
|
+
import { a as augmentWithCountryConfigs, g as getPropsFromConfigurations } from "./process-field-configurations-N1jHgPa8.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BK1u6OTG.js";
|
|
22
|
+
import { A as AdyenKycSdkError, p as payoutAccountFormat, m as mapExistingFile, g as getPageName, u as useScenarioConfiguration, b as useUnifyLoadingStatus } from "./mapExistingFile-CqrlnmFQ.js";
|
|
23
|
+
import { u as useDataset, d as datasetIdentifier, C as Confirm, a as datasetUtilities } from "./useDataset-8WyOJBhU.js";
|
|
24
|
+
import { c as currencyByCountry, C as Currencies } from "./types-D0u3f6aG.js";
|
|
25
|
+
import { F as FormWrapper } from "./FormWrapper-BOrTn1C8.js";
|
|
26
|
+
import { i as isValidationError, p as processValidationErrors, b as isIdDocumentUploadError, c as isBankStatementUploadError, a as isMaintenanceModeError, m as mapCreateOrUpdateTransferInstrumentErrorMessageToTranslatable } from "./validationError-B5aoMbe_.js";
|
|
27
|
+
import { f as fileToBase64, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getFileExtention } from "./documentUtils-DIcRD9lR.js";
|
|
28
|
+
import { g as getLegalEntityNameBasedOnType, b as getPayoutAccountHolderName } from "./getName-BS-pHwl0.js";
|
|
29
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-Uz4rHS0r.js";
|
|
30
30
|
import { Show } from "@preact/signals/utils";
|
|
31
|
-
import { s as summaryStep } from "./Summary-
|
|
32
|
-
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-
|
|
33
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
34
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-
|
|
31
|
+
import { s as summaryStep } from "./Summary-COehg8IT.js";
|
|
32
|
+
import { c as createFormUtils, H as Header, E as ErrorPanel, S as StackLayout, e as isNotEmptyValidator, m as mergeFieldMetadataIntoProps, d as getFieldProps, C as CountryField, a as Link, g as getFormProps, s as summaryItem } from "./CountryField-CzRN1OE8.js";
|
|
33
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-00JVCmQ7.js";
|
|
34
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity, D as DropzoneFile, p as bytesToSize, l as defaultFileValidationOptions, o as fileValidationRules, S as StateContextSetter, q as DocumentGuidance, t as TextArea, m as makeMask, n as numericInputs, d as nonInputs, s as spacer, k as customInputs, v as validatePatternOnBlur, r as resolveFieldMetadata, M as MaskedInput, b as alphanumericInputs, u as uppercase, c as alphaInputs, I as Image, R as RadioGroupCard, C as ContextGuidance, x as createFormRules } from "./Spacer-D4I0f08n.js";
|
|
35
35
|
import cx from "classnames";
|
|
36
36
|
import { memo, useRef as useRef$1, useState as useState$1, useMemo as useMemo$1, useEffect as useEffect$1, lazy } from "preact/compat";
|
|
37
|
-
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-
|
|
37
|
+
import { u as useUnincorporatedPartnershipMembers } from "./useUnincorporatedPartnershipMembers-CdQDPlZq.js";
|
|
38
38
|
import { b as bankStatementDescriptionPattern } from "./basePatterns-BwdnMQxI.js";
|
|
39
|
-
import { M as Modal } from "./Modal-
|
|
40
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
39
|
+
import { M as Modal } from "./Modal-CJ_hgcGb.js";
|
|
40
|
+
import { E as EndStateLayout } from "./EndStateLayout-CwdrDEYY.js";
|
|
41
41
|
import { createContext } from "preact";
|
|
42
|
-
import { a as Alert } from "./Alert-
|
|
43
|
-
import { A as ActionBar } from "./ActionBar-
|
|
42
|
+
import { a as Alert } from "./Alert-Dk-oZlnx.js";
|
|
43
|
+
import { A as ActionBar } from "./ActionBar-Dzrzolec.js";
|
|
44
44
|
import OpenBankingSDK from "@adyen/openbankingsdk";
|
|
45
45
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
46
|
-
import { C as Card } from "./Card-
|
|
46
|
+
import { C as Card } from "./Card-CqXQA0AI.js";
|
|
47
47
|
const getCheck = async (legalEntityId, baseUrl, data) => {
|
|
48
48
|
return httpPost(
|
|
49
49
|
{
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-
|
|
13
|
-
import { C as Checkbox } from "./debouncedInputEvent-
|
|
14
|
-
import { H as Header } from "./CountryField-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { a as useToastContext } from "./useToastContext-
|
|
17
|
-
import { A as ActionBar } from "./ActionBar-
|
|
12
|
+
import { b as useApiContext, $ as useMutation, k as httpPost, u as useTranslation } from "./StoreProvider-jtUYKLRz.js";
|
|
13
|
+
import { C as Checkbox } from "./debouncedInputEvent-HhImBs4O.js";
|
|
14
|
+
import { H as Header } from "./CountryField-CzRN1OE8.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-DLxHtZTP.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
17
|
+
import { A as ActionBar } from "./ActionBar-Dzrzolec.js";
|
|
18
18
|
import { D as DropinLayout } from "./DropinLayout-CBP_cHLC.js";
|
|
19
19
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
20
20
|
return httpPost({
|
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-
|
|
10
|
+
import { u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, M as EntityTypes, g as getLegalEntityCountry, O as TaskTypes, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-jtUYKLRz.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
13
|
+
import { g as getForms, f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-D3dYF_4W.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DDh_D2hv.js";
|
|
15
15
|
const RootBusinessDetailsPage = ({
|
|
16
16
|
onSubmit,
|
|
17
17
|
handleHomeClick
|
|
@@ -7,34 +7,34 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
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-
|
|
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-jtUYKLRz.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useCallback, useMemo, useRef, useState, useEffect } from "preact/hooks";
|
|
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-
|
|
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 "./Spacer-
|
|
21
|
-
import { s as summaryStep } from "./Summary-
|
|
22
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-
|
|
23
|
-
import { u as useFormContext } from "./Address-
|
|
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-D3dYF_4W.js";
|
|
14
|
+
import { u as useCreateBusinessLine, a as useUpdateBusinessLine } from "./useUpdateBusinessLines-BulhyPjH.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-PppMJ6OA.js";
|
|
16
|
+
import { a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
17
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-N1jHgPa8.js";
|
|
18
|
+
import { a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BK1u6OTG.js";
|
|
19
|
+
import { u as useMultiForm } from "./useMultiForm--sSlt50X.js";
|
|
20
|
+
import { x as createFormRules, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
21
|
+
import { s as summaryStep } from "./Summary-COehg8IT.js";
|
|
22
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, H as Header, S as StackLayout, a as Link, L as List } from "./CountryField-CzRN1OE8.js";
|
|
23
|
+
import { u as useFormContext } from "./Address-e41CN3CB.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-HhImBs4O.js";
|
|
26
|
+
import { F as Field } from "./useForm-DLxHtZTP.js";
|
|
27
|
+
import { K as KEYBOARD_KEYS, M as Modal } from "./Modal-CJ_hgcGb.js";
|
|
28
|
+
import { I as InputText } from "./InputText-BfL9DgWp.js";
|
|
29
|
+
import { SignPCIComponent } from "./SignPCIComponent-BjVEKTlw.js";
|
|
30
|
+
import { A as Avatar } from "./Avatar-efxn8pKz.js";
|
|
31
31
|
import cx from "classnames";
|
|
32
32
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
33
|
-
import { C as Card } from "./Card-
|
|
33
|
+
import { C as Card } from "./Card-CqXQA0AI.js";
|
|
34
34
|
import { lazy } from "preact/compat";
|
|
35
|
-
import { M as LandingLayout } from "./IndividualOnfido-
|
|
36
|
-
import { L as ListItem } from "./ListItem-
|
|
37
|
-
import { S as StructuredList, C as Confirm } from "./useDataset-
|
|
35
|
+
import { M as LandingLayout } from "./IndividualOnfido-CmmyKC7J.js";
|
|
36
|
+
import { L as ListItem } from "./ListItem-BhUSZdS5.js";
|
|
37
|
+
import { S as StructuredList, C as Confirm } from "./useDataset-8WyOJBhU.js";
|
|
38
38
|
const rules = ({ data, country }) => {
|
|
39
39
|
return createFormRules({
|
|
40
40
|
webAddressRequired: () => {
|
package/dist/{RootIndividualDetailsPage-pNQ9v0Cg.js → RootIndividualDetailsPage-BIj988Sh.js}
RENAMED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
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-
|
|
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-jtUYKLRz.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-
|
|
14
|
-
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-
|
|
15
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
13
|
+
import { f as filterProblemsByTaskForms } from "./OnboardingDropinComponent-D3dYF_4W.js";
|
|
14
|
+
import { g as getTrustedFieldsProvider, D as getTrustedFields, n as individualOnfidoForms, o as individualForms } from "./IndividualOnfido-CmmyKC7J.js";
|
|
15
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-BsCb6dvy.js";
|
|
16
16
|
function RootIndividualDetailsPage({
|
|
17
17
|
asModal = false,
|
|
18
18
|
hideSidebar = false,
|
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
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-
|
|
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-jtUYKLRz.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-D3dYF_4W.js";
|
|
14
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-CG0BAO68.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-CwdrDEYY.js";
|
|
17
|
+
import { C as Checkbox } from "./debouncedInputEvent-HhImBs4O.js";
|
|
18
|
+
import { u as useForm, F as Field, S as Select } from "./useForm-DLxHtZTP.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-CqXQA0AI.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/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.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/da-DK.json": () => import("./da-DK-DqkN5oIu.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-COuUdtao.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-jtUYKLRz.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-DNGEW6V_.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-CoI_94Fv.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-Br7OeDIe.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-BAvsF2TB.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-BwKrj-29.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-B6OPS2CA.js"), "../../../language/locales/pt-BR.json": () => import("./pt-BR-BKQRvAfq.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-D2Xe-OdG.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/da-DK.json": () => import("./da-DK-jK7c9UL0.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wmerDL2e.js"), "../../ui/language/en-US.json": () => import("./en-US-gsp7CD_E.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Qnc0Q6JH.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-Dn2MC8uW.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-BWX14yb7.js"), "../../ui/language/it-IT.json": () => import("./it-IT-B0YGvVgW.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-BMUYBqlF.js"), "../../ui/language/no-NO.json": () => import("./no-NO-DKbWxgF-.js"), "../../ui/language/pt-BR.json": () => import("./pt-BR--kaJvtE6.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-BZ5ZZm6G.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/da-DK.json": () => import("./da-DK-DYpfNZdP.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-BXt1K0Tr.js"), "../../Contract/language/en-US.json": () => import("./en-US-Dg505Oh3.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-BhNhIf08.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ysUrBilO.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-BSvSKazD.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-Qfzc8jnW.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-D7gBNWEY.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-C-gCYc9q.js"), "../../Contract/language/pt-BR.json": () => import("./pt-BR-ur86nRrK.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CVNEcs32.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
|
]);
|
|
@@ -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 "./Spacer-
|
|
13
|
+
import { u as useTranslation, G as Typography, B as Button, r as LegalEntityTypes } from "./StoreProvider-jtUYKLRz.js";
|
|
14
|
+
import { u as useForm, F as Field } from "./useForm-DLxHtZTP.js";
|
|
15
|
+
import { R as RadioGroupCard, I as Image } from "./Spacer-D4I0f08n.js";
|
|
16
16
|
const setupAccountMethods = ["singpass", "manual"];
|
|
17
17
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
18
18
|
const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
|
|
@@ -7,10 +7,10 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
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-
|
|
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-jtUYKLRz.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-
|
|
13
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
12
|
+
import { i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DDh_D2hv.js";
|
|
14
14
|
function SoleProprietorshipPage({
|
|
15
15
|
solePropId,
|
|
16
16
|
onSubmit,
|
|
@@ -7,35 +7,35 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
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-
|
|
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-jtUYKLRz.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 "./Spacer-
|
|
12
|
+
import { t as TextArea, I as Image, i as useCapabilityProblems, j as getProblemsForEntity } from "./Spacer-D4I0f08n.js";
|
|
13
13
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
14
|
-
import { n as normalizedTaskStatusStore, T as useBusinessLines } from "./OnboardingDropinComponent-
|
|
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, c as useStateContext } from "./useGlobalData-
|
|
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-D3dYF_4W.js";
|
|
15
|
+
import { c as useInvalidateRootLegalEntity, a as useToastContext } from "./useToastContext-FI3dwzzs.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BvvwB9r0.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Q3Icdeo6.js";
|
|
18
|
+
import { h as hasDataChanged } from "./hasDataChanged-CWdnpJrE.js";
|
|
19
|
+
import { u as useGlobalDataSlice, c as useStateContext } from "./useGlobalData-D9dz7GIi.js";
|
|
20
|
+
import { g as getPropsFromConfigurations } from "./process-field-configurations-N1jHgPa8.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-BK1u6OTG.js";
|
|
22
|
+
import { F as FormWrapper } from "./FormWrapper-BOrTn1C8.js";
|
|
23
|
+
import { c as createDocumentRequest, d as documentApiUtils } from "./documentUtils-DIcRD9lR.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, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-
|
|
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-CzRN1OE8.js";
|
|
27
|
+
import { F as Field, S as Select, u as useForm } from "./useForm-DLxHtZTP.js";
|
|
28
|
+
import { I as InputDate, R as RadioGroup } from "./Address-e41CN3CB.js";
|
|
29
|
+
import { aa as InputGroup, ab as TileGroup, B as isEmpty$1, M as LandingLayout, ac as Dropzone } from "./IndividualOnfido-CmmyKC7J.js";
|
|
30
|
+
import { I as InputText } from "./InputText-BfL9DgWp.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-DQLhii3U.js";
|
|
32
|
+
import { A as Avatar } from "./Avatar-efxn8pKz.js";
|
|
33
|
+
import { a as Alert } from "./Alert-Dk-oZlnx.js";
|
|
34
|
+
import { M as Modal } from "./Modal-CJ_hgcGb.js";
|
|
35
|
+
import { C as Confirm, S as StructuredList } from "./useDataset-8WyOJBhU.js";
|
|
36
|
+
import { v as validateDateNotInTheFuture } from "./validate-BD3wn-YX.js";
|
|
37
37
|
import { lazy } from "preact/compat";
|
|
38
|
-
import { C as Card } from "./Card-
|
|
38
|
+
import { C as Card } from "./Card-CqXQA0AI.js";
|
|
39
39
|
const updateSourceOfFunds = async (businessLineId, legalEntityId, baseUrl, data) => {
|
|
40
40
|
return httpPost(
|
|
41
41
|
{
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo, useState, useEffect, useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, X as useExperimentsContext, aA as getCapabilityProblems, g as getLegalEntityCountry, aB as cloneObject, C as CountryCodes, aC as hasText, aD as isValidMinLength, aE as matchesRegex, W as isEmpty, aF as NO_ALPHABET_REGEX, aG as EMOJI_REGEX, aH as hasRepeatedCharacters, aI as isInvalidName, aJ as OTHER_ENTITIES_VALID_CHAR_REGEX, aK as LATIN_SPACE_MARK_PUNCTUATION_REGEX, aL as standardKatakanaValidator, aM as standardKanjiValidator, a2 as useAnalyticsContext, P as createLogger, u as useTranslation, az as StateContext, L as Loader, a3 as Icon, G as Typography, Y as IconButton } from "./StoreProvider-jtUYKLRz.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
13
|
+
import { a as Alert } from "./Alert-Dk-oZlnx.js";
|
|
14
14
|
import cx from "classnames";
|
|
15
|
-
import { a as debouncedInputEvent } from "./debouncedInputEvent-
|
|
15
|
+
import { a as debouncedInputEvent } from "./debouncedInputEvent-HhImBs4O.js";
|
|
16
16
|
import { Suspense, lazy, forwardRef } from "preact/compat";
|
|
17
|
-
import { b as useId } from "./useToastContext-
|
|
18
|
-
import { R as Radio } from "./CountryField-
|
|
19
|
-
import { F as Field } from "./useForm-
|
|
20
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
21
|
-
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-
|
|
17
|
+
import { b as useId } from "./useToastContext-FI3dwzzs.js";
|
|
18
|
+
import { R as Radio } from "./CountryField-CzRN1OE8.js";
|
|
19
|
+
import { F as Field } from "./useForm-DLxHtZTP.js";
|
|
20
|
+
import { K as KEYBOARD_KEYS } from "./Modal-CJ_hgcGb.js";
|
|
21
|
+
import { u as useForwardedRef, a as InputBase, I as InputText } from "./InputText-BfL9DgWp.js";
|
|
22
22
|
const useCapabilityProblems = () => {
|
|
23
23
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
24
24
|
const { isExperimentEnabled } = useExperimentsContext();
|
|
@@ -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, G as Typography } from "./StoreProvider-
|
|
12
|
+
import { u as useTranslation, G as Typography } from "./StoreProvider-jtUYKLRz.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";
|