@adyen/kyc-components 3.78.1 → 3.79.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CALk_lYs.js → AcceptTermsOfServiceComponent-BYhhk8TQ.js} +14 -12
- package/dist/{AccountSetupRejected-B4it2mAn.js → AccountSetupRejected-BEOktFiG.js} +2 -2
- package/dist/{Avatar-DTNBQIw4.js → Avatar-Bpx1BiR6.js} +2 -2
- package/dist/{BusinessDetailsDropin-BbiQUpTu.js → BusinessDetailsDropin-DQ9HiW45.js} +71 -8
- package/dist/{BusinessFinancingComponent-CoGow_z4.js → BusinessFinancingComponent-Cvo9_fno.js} +2 -2
- package/dist/{BusinessFinancingDropin-BUDDEt2y.js → BusinessFinancingDropin-msfodTyQ.js} +8 -8
- package/dist/{BusinessFinancingPage-Dx_hYx0g.js → BusinessFinancingPage-B5Xw-yH6.js} +2 -2
- package/dist/{BusinessTypeSelectionPage-R-vVja1w.js → BusinessTypeSelectionPage-Bxdhq03c.js} +4 -4
- package/dist/{ContractViewer-BUrLFkjz.js → ContractViewer-C7uRvIMH.js} +2 -2
- package/dist/{CreateIndividualComponent-CheH_tkQ.js → CreateIndividualComponent-DyaVsMAQ.js} +3 -3
- package/dist/{CreateTransferInstrumentComponent-CzT-zIuq.js → CreateTransferInstrumentComponent-BdA8RAKi.js} +2 -2
- package/dist/{CustomerSupport-eBFsBh5z.js → CustomerSupport-BMuEw9QX.js} +5 -5
- package/dist/{DebugModal-DSJ2Bu7L.js → DebugModal-CH_a1xPp.js} +8 -8
- package/dist/{DecisionMakerDetailsPage-D9HX27JP.js → DecisionMakerDetailsPage-_Vcfi13i.js} +3 -3
- package/dist/{DecisionMakers-DtEzrxlu.js → DecisionMakers-CgeGEEUz.js} +4 -4
- package/dist/{EmbeddedStatus-DW2KDeVq.js → EmbeddedStatus-DdJkMzzq.js} +6 -6
- package/dist/{FormEndState-CFsbWpxb.js → FormEndState-B4BOXD6K.js} +2 -2
- package/dist/{FormFlow-DCykB5i5.js → FormFlow-DBUPE96g.js} +2 -2
- package/dist/{IndividualOnfidoDropin-BSlyi20E.js → IndividualOnfidoDropin-yD8J8_wV.js} +17 -23
- package/dist/{Introduction-BZi_bthG.js → Introduction-j3go43kb.js} +3 -3
- package/dist/LandingLayout-CWUiKZ_Y.js +139 -0
- package/dist/{LegalRepresentativeDetailsPage-BIoRbtw2.js → LegalRepresentativeDetailsPage-DnzUpBDG.js} +3 -3
- package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-DTeTqAUr.js} +3 -3
- package/dist/{ManagePCIComponent-DBZfPp3V.js → ManagePCIComponent-Cn4Vuewf.js} +3 -3
- package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-DTXnAMhG.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-BSmYg0hN.js → ManageTransferInstrumentComponent-CBYehx_t.js} +4 -4
- package/dist/{OnboardingDropinComponent-BIYee1P5.js → OnboardingDropinComponent-DWcyxz6X.js} +35 -35
- package/dist/{ProviderButton-68h5aop6.js → ProviderButton-ChnPixpz.js} +9 -9
- package/dist/{Review-B64WSoNY.js → Review-C01An3Wl.js} +3 -3
- package/dist/{RootBusinessDetailsPage-pLFlImAT.js → RootBusinessDetailsPage-C8ZdxDW9.js} +3 -3
- package/dist/{RootIndividualDetailsPage-DNB6X1fo.js → RootIndividualDetailsPage-DDIrbB7-.js} +3 -3
- package/dist/{SignPCIComponent-C1FVDlrB.js → SignPCIComponent-J8gdxoQ0.js} +5 -5
- package/dist/{SingpassSelection-CYGyZdB5.js → SingpassSelection-BHFjqKtb.js} +2 -2
- package/dist/{SoleProprietorshipPage-B7edHXYn.js → SoleProprietorshipPage-B3toOI2F.js} +3 -3
- package/dist/{SourceOfFundsPage-Bl_iGS7M.js → SourceOfFundsPage-CBxjQ8zJ.js} +117 -50
- package/dist/{StoreProvider-C_CN8zyd.js → StoreProvider-DJxvFnRD.js} +5723 -5579
- package/dist/{TaskItemStatus-BSA2z5Iz.js → TaskItemStatus-CK1qrdCf.js} +2 -2
- package/dist/{TaxReportingDropin-CAUNn0j2.js → TaxReportingDropin-O_fR1zLM.js} +23 -54
- package/dist/{TileGroup-WyUkfpOq.js → TileGroup-D-vnIebh.js} +2 -2
- package/dist/{TrustDetailsPage-BL01OsYz.js → TrustDetailsPage-DQltmdcB.js} +5 -5
- package/dist/{TrustMemberCompanyPage-DUahXkBs.js → TrustMemberCompanyPage-C9uS0UYc.js} +4 -4
- package/dist/{TrustMemberIndividualPage-Q_ILxUsL.js → TrustMemberIndividualPage-8rMdNNNf.js} +3 -3
- package/dist/{UnincorporatedPartnershipIndividualPage-ByeOd96j.js → UnincorporatedPartnershipIndividualPage-ByhDF63-.js} +3 -3
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-DfnEI10w.js → UnincorporatedPartnershipMemberCompanyPage-BwjX8pqP.js} +3 -3
- package/dist/{VerificationErrorAlert-BdX_bk-t.js → VerificationErrorAlert-DFjfc2SU.js} +8 -6
- package/dist/{ViewVerificationStatusComponent-DxSqjkK8.js → ViewVerificationStatusComponent-Dp24LJ_o.js} +3 -3
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual.js +2 -2
- package/dist/adyen-kyc-components.js +22 -14
- package/dist/adyen-manage-individual.js +2 -2
- package/dist/adyen-manage-pci.js +2 -2
- package/dist/adyen-manage-terms-of-service.js +2 -2
- package/dist/adyen-manage-transfer-instruments.js +2 -2
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-sign-pci.js +2 -2
- package/dist/adyen-terms-of-service.js +2 -2
- package/dist/adyen-transfer-instrument.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/bg-BG-BvSUDgGF.js +13 -0
- package/dist/bg-BG-HpLj_LOM.js +16 -0
- package/dist/cs-CZ-CQ_M3lEp.js +16 -0
- package/dist/cs-CZ-y4mvq4Lv.js +13 -0
- package/dist/{css-Shm8LIVZ.js → css-BtsHqofY.js} +2 -2
- package/dist/da-DK-k4JW3iVF.js +16 -0
- package/dist/da-DK-qgQOVjDp.js +13 -0
- package/dist/de-DE-C7mjtS5w.js +16 -0
- package/dist/de-DE-pSdsxBpQ.js +13 -0
- package/dist/el-GR-Bvjk5Sw8.js +13 -0
- package/dist/el-GR-CEQrkYHW.js +16 -0
- package/dist/en-US-DDagIr01.js +16 -0
- package/dist/es-ES-DB1c74Kv.js +16 -0
- package/dist/es-ES-Dy1uR2H_.js +13 -0
- package/dist/et-EE-d9V24rcf.js +13 -0
- package/dist/et-EE-xIegUSuv.js +16 -0
- package/dist/fi-FI-B0fnAFV2.js +13 -0
- package/dist/fi-FI-NCxneAqU.js +16 -0
- package/dist/fr-FR-BoKzVp2q.js +13 -0
- package/dist/fr-FR-daiUnUwo.js +16 -0
- package/dist/{getFieldsWithExistingData-FB3OWEkp.js → getFieldsWithExistingData-BtvDAW-l.js} +2 -2
- package/dist/{hasDataChanged-DPdMlQpS.js → hasDataChanged-DcG85sRa.js} +1 -1
- package/dist/hr-HR-BAUywqDj.js +16 -0
- package/dist/hr-HR-CF0AHQzi.js +13 -0
- package/dist/hu-HU-3GQojIHR.js +16 -0
- package/dist/hu-HU-CSPhOvLC.js +13 -0
- package/dist/it-IT-BH-eqIKH.js +13 -0
- package/dist/it-IT-pDWPFHEh.js +16 -0
- package/dist/ja-JP-B3yqM_FM.js +13 -0
- package/dist/ja-JP-scPXJ93L.js +16 -0
- package/dist/{json-BoKnQ33j.js → json-IilfysQm.js} +2 -2
- package/dist/{localizeDateString-Bt8M0P5i.js → localizeDateString-DXUTHzgL.js} +1 -1
- package/dist/lt-LT-BcGNy8Ti.js +16 -0
- package/dist/lt-LT-Lzl_Cbw-.js +13 -0
- package/dist/lv-LV-CBD07r1Y.js +16 -0
- package/dist/lv-LV-y00wN1pj.js +13 -0
- package/dist/{mapFinancialReportsToFinancialInformation-BWJUvu-v.js → mapFinancialReportsToFinancialInformation-Blm5alO_.js} +2 -2
- package/dist/nl-NL-BxJUDHMK.js +16 -0
- package/dist/nl-NL-DmnFXAQC.js +13 -0
- package/dist/no-NO-DbvFfP96.js +13 -0
- package/dist/no-NO-Drup6Jyy.js +16 -0
- package/dist/pl-PL--mmxopYA.js +13 -0
- package/dist/pl-PL-BXv8Mmzb.js +16 -0
- package/dist/{plaintext-D6ArdwCo.js → plaintext-Df_IEi_C.js} +2 -2
- package/dist/pt-PT-BVzXBFp7.js +13 -0
- package/dist/pt-PT-D8nU-UM2.js +16 -0
- package/dist/{resolveEnvironment-Bj2dnNqq.js → resolveEnvironment-DCR05dlR.js} +3 -3
- package/dist/ro-RO-CG33OwqS.js +16 -0
- package/dist/ro-RO-Cdmevo9A.js +13 -0
- package/dist/{rules-f7BBCo7l.js → rules-DRgmFncu.js} +2 -2
- package/dist/sk-SK-DV_xkO69.js +16 -0
- package/dist/sk-SK-nfeuTcY5.js +13 -0
- package/dist/sl-SI-B5yeoadY.js +16 -0
- package/dist/sl-SI-DUTZDqkP.js +13 -0
- package/dist/style.css +126 -74
- package/dist/styles-CLV89_hH.js +126 -74
- package/dist/sv-SE-BTx2XKAp.js +13 -0
- package/dist/sv-SE-CfxyR53r.js +16 -0
- package/dist/types/components/Business/forms/BasicInformation/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +1 -1
- package/dist/types/components/Business/forms/rules.d.ts +1 -0
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +4 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/fieldConfig.d.ts +12 -0
- package/dist/types/components/Shared/fields/LocalizedLegalCompanyNameField/types.d.ts +5 -0
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRadioGroup.d.ts +2 -3
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -2
- package/dist/types/components/ui/atoms/RadioGroupCard/RadioGroupCard.types.d.ts +3 -3
- package/dist/types/components/ui/layout/LandingLayout/LandingLayout.d.ts +10 -0
- package/dist/types/components/ui/layout/StackLayout/StackLayout.d.ts +8 -0
- package/dist/types/components/ui/molecules/DocumentGuidance/DocumentGuidance.types.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +1 -2
- package/dist/types/components/ui/molecules/EmbeddedStatus/EmbeddedStatus.d.ts +2 -2
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/core/models/api/legal-arrangement.d.ts +8 -0
- package/dist/types/core/models/api/organization.d.ts +8 -0
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +28 -0
- package/dist/types/language/Language.d.ts +0 -7
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/masking/masks/businessRegistrationNumberMasks.d.ts +1 -0
- package/dist/types/utils/regex/patternValidators.d.ts +2 -0
- package/dist/{useMultiForm-BrNel_mc.js → useMultiForm-DNEiitFq.js} +2 -2
- package/dist/{useOnboardingStatus-BE1z1eUt.js → useOnboardingStatus-orr6iwF9.js} +1 -1
- package/dist/{useSalesChannelsSettings-nYpTkuYo.js → useSalesChannelsSettings-B8WCV-4A.js} +1 -1
- package/dist/{useTermsOfServiceStatus-YHUiTdhT.js → useTermsOfServiceStatus-BHg3MVR-.js} +1 -1
- package/dist/{useUpdateLegalEntity-Csc_isIR.js → useUpdateLegalEntity-SM0TLT5D.js} +1 -1
- package/dist/{utils-CdkXwLGZ.js → utils-DhHlD6W3.js} +4 -4
- package/dist/{validate-B6FOA4Ta.js → validate-CEDlgqDf.js} +2 -2
- package/dist/{yaml-BsoWkUaV.js → yaml-BSMtY3K-.js} +2 -2
- package/package.json +2 -2
- package/dist/SourceOfFunds.module-C6_DeyyN.js +0 -128
- package/dist/bg-BG-BJEwX54-.js +0 -13
- package/dist/cs-CZ-0aKeukjR.js +0 -13
- package/dist/da-DK-BiQSdU1f.js +0 -13
- package/dist/de-DE-Dx-1f5v5.js +0 -13
- package/dist/el-GR-DNpOiXlS.js +0 -13
- package/dist/es-ES-CtpW_j9H.js +0 -13
- package/dist/et-EE-CMNzVzun.js +0 -13
- package/dist/fi-FI-DVdPICca.js +0 -13
- package/dist/fr-FR-BwbkqjVl.js +0 -13
- package/dist/hr-HR-BZ_Eg80E.js +0 -13
- package/dist/hu-HU-CJg6YVP9.js +0 -13
- package/dist/it-IT-CQKKYAgU.js +0 -13
- package/dist/ja-JP-DVefHilf.js +0 -13
- package/dist/lt-LT-VPxl7F_u.js +0 -13
- package/dist/lv-LV-DAuc68rg.js +0 -13
- package/dist/nl-NL-DwjbYj_Q.js +0 -13
- package/dist/no-NO-CvXFRRN-.js +0 -13
- package/dist/pl-PL-Bdl7Nmzc.js +0 -13
- package/dist/pt-PT-DxxkYoPz.js +0 -13
- package/dist/ro-RO-hnKiFjCy.js +0 -13
- package/dist/sk-SK-DwwhojyK.js +0 -13
- package/dist/sl-SI-YYS0gksL.js +0 -13
- package/dist/sv-SE-Dc4DCQEl.js +0 -13
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/RichText.d.ts +0 -5
- package/dist/types/utils/sanitizeHtml.d.ts +0 -3
|
@@ -2,24 +2,24 @@
|
|
|
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] = "d62b016b-204e-413a-9d75-a01f04ed4cde", e._sentryDebugIdIdentifier = "sentry-dbid-d62b016b-204e-413a-9d75-a01f04ed4cde");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useState, useEffect, useCallback } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost,
|
|
13
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
14
|
-
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-
|
|
15
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
16
|
-
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-
|
|
19
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
20
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
12
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, bW as matchesRegex, bX as trimValWithOneSpace, bY as NO_ALPHABET_REGEX, bZ as EMOJI_REGEX, b_ as hasRepeatedCharacters, b$ as isInvalidName, c0 as INDIVIDUAL_VALID_CHAR_REGEX, c1 as getFormattingRegEx, c2 as SPECIAL_CHARS, c3 as standardKatakanaValidator, c4 as standardKanjiValidator, as as resolveFieldMetadata, ap as CountryCodes, c5 as getSSNType, aq as isEmpty, c6 as defaultFieldMetadata, c7 as defaultFieldConfig, c8 as defaultFieldMetadata$1, c9 as fieldConfig, W as TaskTypes, ca as taxInformationDefaultFieldMetadata, y as LegalEntityType, cb as taxInformationDefaultFieldConfig, cc as getAgeToday, cd as euCountries, ce as getIdDocument, cf as getDocument, cg as mapExistingFile, ch as getPageName, ci as getLocalizedIdDocumentTypeOptions, cj as getPage, ck as createDocumentRequest, bz as formatObject, cl as individualApiKeyMapping, bm as individualComponentsKeyMapping, by as reverseMapping, cm as getNomineeFromAssociation, cn as drop, X as createLogger, P as useAccountHolder, b as useI18nContext, a0 as useAnalyticsContext, a6 as useToastContext, a7 as useExperimentsContext, J as useSettingsContext, co as documentApiUtils, cp as useProviderStatus, g as getLegalEntityCountry, bO as getAssociatedLeAnalyticsPayload, cq as addressValidators, cr as getAsyncIdNumberValidationRule, cs as getAsyncPhoneValidationRules, ct as addressFormatters, cu as useScenarios, cv as setHasMotionCaptureScenario, cw as useScenarioConfiguration, cx as getPropsFromConfigurations, cy as individualForms, cz as showIndividualMotionCapture, bP as getRequiredForms, bQ as addValidityToForms, cA as getAllowedDecisionMakerRoles, b2 as datasetUtilities, bR as useFormComposer, bS as trackNavigation, cB as Individual, cC as composePerScenarioFormConfigurations, cD as omitObscuredFieldsIfUnchanged, cE as filterOutUnwantedAssociationsIfRootLE, bT as isValidationError, bU as processValidationErrors, bV as isMaintenanceModeError, bc as cloneObject, cF as mapAddressLabels, cG as individualDocumentForms, cH as individualDocumentMapping, cI as individualObscuredFields, cJ as mergeAttachments, cK as getFileExtention, al as getOwnEntityAssociations, cL as hasNomineesChanged, cM as attachNomineeToRole, cN as idVerificationProviderId, cO as doArraysMatch, C as Typography, _ as Button, aA as Field, cP as DecisionMakerType, cQ as createFormRules, cR as getAvailableDecisionMakerRoleTypes, cS as allowedCountriesForNominee, bK as getAddressSchemaForCountry, bL as COUNTRIES_WITH_STATES_DATASET, cT as Scenarios, cU as isLowRiskCountry, bt as Select, cV as isTruthyValidator, cW as licenseCardNumberDefaultMetadata, cX as licenseCardNumberDefaultConfig, ar as mergeFieldMetadataIntoProps, az as createFormUtils, bJ as useFormContext, aw as getFieldProps, cY as idNumberFields, cZ as IdentityNumber, c_ as additionallIdNumberOptions, c$ as MaskedInput, bF as InputDate, d0 as formatDateObj, d1 as DriversLicense, d2 as addressFields, u as useAllowedCountries, K as SettingNames, d3 as getDefaultTaxIdNumberType, F as FormHeader, ay as ErrorPanel, aG as CountryField, bM as Address, bN as getAddressSchemaLabelsByCountry, bC as Link, ba as Confirm, d4 as getAgeRangeForLegalRepresentative, d5 as IndividualIdNumberTypeSelector, d6 as TaxInformationField, d7 as PatriotActDisclosure, d8 as isLegalRepresentativeNeeded, ax as nameFields, d9 as decisionMakerRoleFields, da as nomineeFields, db as contactDetailFields, B as Alert, aW as ContextGuidance, b1 as TrustedFieldsProvider, dc as DecisionMakerRole, dd as NomineeDecisionMakerRole, de as LocalizedNameFields, bD as InputText, df as ContactDetails, dg as keysOf, b0 as objectsDeepEqual, dh as isEmpty$1, di as RadioWithLabel, dj as listToRecord, b4 as Modal, bo as Svg, dk as pick, dl as IdVerification, b9 as Spacer, $ as IconButton, c as useDataset, d as datasetIdentifier, L as Loader, dm as isPersonUnderAge, dn as IdDocumentManualUpload, Z as useTranslation, aU as Trans, dp as idDocumentUploadFields, dq as useFormRouterContext, dr as getFormProps, ds as useCapabilities, dt as hasMotionCaptureScenario, du as setShowIndividualMotionCapture, dv as shouldShowMotionCapture, dw as MemoizedProofOfRelationship, dx as MemoizedDocumentUpload, dy as MemoizedProofOfResidencyUpload, dz as individualOnfidoApiKeyMapping, dA as individualOnfidoBaseMapping, bp as useQueryClient, dB as individualOnfidoDocumentMapping, dC as individualOnfidoObscuredFields } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-SM0TLT5D.js";
|
|
14
|
+
import { c as contactDetailsValidationRules, u as useValidatePhoneNumberImperatively } from "./validate-CEDlgqDf.js";
|
|
15
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-DBUPE96g.js";
|
|
16
|
+
import { u as useSingpassMyInfoLogin, P as ProviderButton } from "./ProviderButton-ChnPixpz.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-DNEiitFq.js";
|
|
18
|
+
import { g as getFieldsWithExistingData } from "./getFieldsWithExistingData-BtvDAW-l.js";
|
|
19
|
+
import { l as localizeDateString } from "./localizeDateString-DXUTHzgL.js";
|
|
20
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DRgmFncu.js";
|
|
21
21
|
import { signal, computed } from "@preact/signals";
|
|
22
|
-
import { T as TileGroup } from "./TileGroup-
|
|
22
|
+
import { T as TileGroup } from "./TileGroup-D-vnIebh.js";
|
|
23
23
|
const verifyIdNumber = async (legalEntityId, baseUrl, data) => {
|
|
24
24
|
return await httpPost(
|
|
25
25
|
{
|
|
@@ -3302,14 +3302,8 @@ function SignatoryQuestionnaire(props) {
|
|
|
3302
3302
|
isModalOpen && /* @__PURE__ */ jsx(Modal, { onClose: closeModal, ariaLabel: i18n.get("moreAboutAuthorizedSignatories"), inset: true, children: /* @__PURE__ */ jsx(SignatoryQuestionnaireModalContent, {}) })
|
|
3303
3303
|
] });
|
|
3304
3304
|
}
|
|
3305
|
-
const RichText = ({ content }) => {
|
|
3306
|
-
if (!content) {
|
|
3307
|
-
return null;
|
|
3308
|
-
}
|
|
3309
|
-
const parts = content.split(/<strong>|<\/strong>/);
|
|
3310
|
-
return /* @__PURE__ */ jsx(Fragment, { children: parts.map((part, index) => index % 2 === 1 ? /* @__PURE__ */ jsx("strong", { children: part }, index) : part) });
|
|
3311
|
-
};
|
|
3312
3305
|
const UboQuestionnaireModalContent = ({ modalType }) => {
|
|
3306
|
+
const { t } = useTranslation();
|
|
3313
3307
|
const { i18n } = useI18nContext();
|
|
3314
3308
|
switch (modalType) {
|
|
3315
3309
|
case "isOwner":
|
|
@@ -3341,10 +3335,10 @@ const UboQuestionnaireModalContent = ({ modalType }) => {
|
|
|
3341
3335
|
/* @__PURE__ */ jsx(Typography, { variant: "body-strongest", el: "h4", className: "adyen-kyc-u-margin-bottom-12", children: i18n.get("controllingPersonDescriptionQ1") }),
|
|
3342
3336
|
/* @__PURE__ */ jsx(Typography, { el: "p", className: "adyen-kyc-u-margin-bottom-32", children: i18n.get("controllingPersonDescriptionA1P1") }),
|
|
3343
3337
|
/* @__PURE__ */ jsxs("ul", { children: [
|
|
3344
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3345
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3346
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3347
|
-
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
3338
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L1"] }) }),
|
|
3339
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L2"] }) }),
|
|
3340
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L3"] }) }),
|
|
3341
|
+
/* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(Trans, { t, i18nKey: ($) => $["controllingPersonDescriptionA1L4"] }) })
|
|
3348
3342
|
] }),
|
|
3349
3343
|
/* @__PURE__ */ jsx(
|
|
3350
3344
|
Alert,
|
|
@@ -4025,7 +4019,7 @@ const mapLegalEntityToIndividualOnfidoSchema = (legalEntity, isChangingType, isR
|
|
|
4025
4019
|
return individualOnfido;
|
|
4026
4020
|
};
|
|
4027
4021
|
const mapDocumentDetailToIdDocument = (documents) => {
|
|
4028
|
-
const activeDocument = documents.
|
|
4022
|
+
const activeDocument = documents.find((document) => document.active);
|
|
4029
4023
|
return activeDocument ? {
|
|
4030
4024
|
idDocumentType: activeDocument.type,
|
|
4031
4025
|
modificationDate: activeDocument.modificationDate
|
|
@@ -2,16 +2,16 @@
|
|
|
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] = "b9d34fd8-cf03-4e90-bcc0-caf870edd21a", e._sentryDebugIdIdentifier = "sentry-dbid-b9d34fd8-cf03-4e90-bcc0-caf870edd21a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo as useMemo$1, useState, useEffect } from "preact/hooks";
|
|
12
|
-
import { W as TaskTypes, y as LegalEntityType,
|
|
12
|
+
import { W as TaskTypes, y as LegalEntityType, Z as useTranslation, a as useLegalEntity, R as ROOT_LE, L as Loader, a0 as useAnalyticsContext, bw as StepProgressIndicator, _ as Button } from "./StoreProvider-DJxvFnRD.js";
|
|
13
13
|
import { useMemo } from "preact/compat";
|
|
14
|
-
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
14
|
+
import { u as useCanSeeIntroduction, a as useLegalEntityType } from "./OnboardingDropinComponent-DWcyxz6X.js";
|
|
15
15
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
16
16
|
import IntroductionStrings from "./en-US-Bq2Twy6x.js";
|
|
17
17
|
var IntroductionScreens = ((IntroductionScreens2) => {
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
;
|
|
2
|
+
{
|
|
3
|
+
try {
|
|
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] = "e804b830-b99d-483d-80f1-849b23942ba0", e._sentryDebugIdIdentifier = "sentry-dbid-e804b830-b99d-483d-80f1-849b23942ba0");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
import { Z as useTranslation, Y as TaskStatus, C as Typography } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
|
+
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
|
+
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
16
|
+
const inTaskStatusIndicatorError = "adyen-kyc-in-task-status-indicator-error";
|
|
17
|
+
const inTaskStatusIndicatorWarning = "adyen-kyc-in-task-status-indicator-warning";
|
|
18
|
+
const inTaskStatusLabel = "adyen-kyc-in-task-status-label";
|
|
19
|
+
const styles$2 = {
|
|
20
|
+
inTaskStatus,
|
|
21
|
+
inTaskStatusIndicator,
|
|
22
|
+
inTaskStatusIndicatorSuccess,
|
|
23
|
+
inTaskStatusIndicatorError,
|
|
24
|
+
inTaskStatusIndicatorWarning,
|
|
25
|
+
inTaskStatusLabel
|
|
26
|
+
};
|
|
27
|
+
const getIndicatorLabelAndClassnames = ({
|
|
28
|
+
taskStatus
|
|
29
|
+
}) => {
|
|
30
|
+
if (taskStatus === TaskStatus.FINISHED) {
|
|
31
|
+
return {
|
|
32
|
+
indicatorLabel: "taskComplete",
|
|
33
|
+
indicatorClassname: styles$2.inTaskStatusIndicatorSuccess
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
if (taskStatus === TaskStatus.PROCESSING) {
|
|
37
|
+
return {
|
|
38
|
+
indicatorLabel: "taskInProgress",
|
|
39
|
+
indicatorClassname: styles$2.inTaskStatusIndicatorWarning
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
if (taskStatus === TaskStatus.ERROR) {
|
|
43
|
+
return {
|
|
44
|
+
indicatorLabel: "taskHasErrors",
|
|
45
|
+
indicatorClassname: styles$2.inTaskStatusIndicatorError
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
const TaskStatusIndicator = ({ taskStatus }) => {
|
|
50
|
+
const { t } = useTranslation();
|
|
51
|
+
const indicator = getIndicatorLabelAndClassnames({ taskStatus });
|
|
52
|
+
if (!indicator) {
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
const { indicatorLabel, indicatorClassname } = indicator;
|
|
56
|
+
return /* @__PURE__ */ jsxs("div", { className: styles$2.inTaskStatus, children: [
|
|
57
|
+
/* @__PURE__ */ jsx(
|
|
58
|
+
"div",
|
|
59
|
+
{
|
|
60
|
+
"data-testid": "task-status-indicator",
|
|
61
|
+
className: cx(styles$2.inTaskStatusIndicator, indicatorClassname)
|
|
62
|
+
}
|
|
63
|
+
),
|
|
64
|
+
/* @__PURE__ */ jsx("div", { className: styles$2.inTaskStatusLabel, children: t(($) => $[indicatorLabel]) })
|
|
65
|
+
] });
|
|
66
|
+
};
|
|
67
|
+
const stackLayout = "adyen-kyc-stack-layout";
|
|
68
|
+
const stackLayoutGapXs = "adyen-kyc-stack-layout-gap-xs";
|
|
69
|
+
const stackLayoutGapS = "adyen-kyc-stack-layout-gap-s";
|
|
70
|
+
const stackLayoutGapM = "adyen-kyc-stack-layout-gap-m";
|
|
71
|
+
const stackLayoutGapL = "adyen-kyc-stack-layout-gap-l";
|
|
72
|
+
const stackLayoutGapXl = "adyen-kyc-stack-layout-gap-xl";
|
|
73
|
+
const stackLayoutHorizontal = "adyen-kyc-stack-layout-horizontal";
|
|
74
|
+
const styles$1 = {
|
|
75
|
+
stackLayout,
|
|
76
|
+
stackLayoutGapXs,
|
|
77
|
+
stackLayoutGapS,
|
|
78
|
+
stackLayoutGapM,
|
|
79
|
+
stackLayoutGapL,
|
|
80
|
+
stackLayoutGapXl,
|
|
81
|
+
stackLayoutHorizontal
|
|
82
|
+
};
|
|
83
|
+
const StackLayout = ({ children, gap = "medium", horizontal = false }) => {
|
|
84
|
+
const gapStyles = {
|
|
85
|
+
xSmall: styles$1.stackLayoutGapXs,
|
|
86
|
+
small: styles$1.stackLayoutGapS,
|
|
87
|
+
medium: styles$1.stackLayoutGapM,
|
|
88
|
+
large: styles$1.stackLayoutGapL,
|
|
89
|
+
xLarge: styles$1.stackLayoutGapXl,
|
|
90
|
+
none: null
|
|
91
|
+
};
|
|
92
|
+
const rootClassname = cx(styles$1.stackLayout, gapStyles[gap], {
|
|
93
|
+
[styles$1.stackLayoutHorizontal]: horizontal
|
|
94
|
+
});
|
|
95
|
+
return /* @__PURE__ */ jsx("div", { className: rootClassname, children });
|
|
96
|
+
};
|
|
97
|
+
const landingLayoutImage = "adyen-kyc-landing-layout-image";
|
|
98
|
+
const landingLayoutActions = "adyen-kyc-landing-layout-actions";
|
|
99
|
+
const landingLayoutDisclaimer = "adyen-kyc-landing-layout-disclaimer";
|
|
100
|
+
const landingLayoutCenter = "adyen-kyc-landing-layout-center";
|
|
101
|
+
const styles = {
|
|
102
|
+
landingLayoutImage,
|
|
103
|
+
landingLayoutActions,
|
|
104
|
+
landingLayoutDisclaimer,
|
|
105
|
+
landingLayoutCenter
|
|
106
|
+
};
|
|
107
|
+
const LandingLayout = ({
|
|
108
|
+
actions,
|
|
109
|
+
description,
|
|
110
|
+
disclaimer,
|
|
111
|
+
helpAction,
|
|
112
|
+
media,
|
|
113
|
+
title
|
|
114
|
+
}) => {
|
|
115
|
+
return /* @__PURE__ */ jsxs(StackLayout, { gap: "large", children: [
|
|
116
|
+
media && /* @__PURE__ */ jsx("div", { role: "region", className: styles.landingLayoutImage, children: media }),
|
|
117
|
+
/* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
|
|
118
|
+
/* @__PURE__ */ jsx(Typography, { el: "h2", className: styles.landingLayoutCenter, variant: "title-l", children: title }),
|
|
119
|
+
description && /* @__PURE__ */ jsx(Typography, { className: styles.landingLayoutCenter, variant: "body", color: "primary", children: description }),
|
|
120
|
+
helpAction
|
|
121
|
+
] }),
|
|
122
|
+
/* @__PURE__ */ jsx("div", { className: styles.landingLayoutActions, children: /* @__PURE__ */ jsxs(StackLayout, { gap: "small", children: [
|
|
123
|
+
actions,
|
|
124
|
+
disclaimer && /* @__PURE__ */ jsx(
|
|
125
|
+
Typography,
|
|
126
|
+
{
|
|
127
|
+
variant: "caption",
|
|
128
|
+
color: "tertiary",
|
|
129
|
+
className: styles.landingLayoutDisclaimer,
|
|
130
|
+
children: disclaimer
|
|
131
|
+
}
|
|
132
|
+
)
|
|
133
|
+
] }) })
|
|
134
|
+
] });
|
|
135
|
+
};
|
|
136
|
+
export {
|
|
137
|
+
LandingLayout as L,
|
|
138
|
+
TaskStatusIndicator as T
|
|
139
|
+
};
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "d2ef8850-5b9e-4c59-82f8-38f3ebc0e1c3", e._sentryDebugIdIdentifier = "sentry-dbid-d2ef8850-5b9e-4c59-82f8-38f3ebc0e1c3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useLegalEntity, w as skipToken, R as ROOT_LE,
|
|
12
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
11
|
+
import { a as useLegalEntity, w as skipToken, R as ROOT_LE, ac as useCapabilityProblems, a7 as useExperimentsContext, L as Loader, g as getLegalEntityCountry, bk as getProblemsForEntity, U as EntityType, bl as isOnfidoAutofillFlowEnabled, W as TaskTypes, a5 as noop } from "./StoreProvider-DJxvFnRD.js";
|
|
12
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-yD8J8_wV.js";
|
|
13
13
|
function LegalRepresentativeDetailsPage({
|
|
14
14
|
legalRepresentativeId,
|
|
15
15
|
asModal = false,
|
package/dist/{ManageIndividualComponent-DMjlsbAy.js → ManageIndividualComponent-DTeTqAUr.js}
RENAMED
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useOnboardingStatus } from "./useOnboardingStatus-
|
|
11
|
+
import { p as useApiContext, a as useLegalEntity, R as ROOT_LE } from "./StoreProvider-DJxvFnRD.js";
|
|
12
|
+
import { u as useOnboardingStatus } from "./useOnboardingStatus-orr6iwF9.js";
|
|
13
13
|
import { O as OnboardingStatus } from "./view-verification-status-DTkA8PtO.js";
|
|
14
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
14
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
|
|
15
15
|
function ManageIndividualComponent({
|
|
16
16
|
legalEntityId,
|
|
17
17
|
onClick
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
12
|
-
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-B8WCV-4A.js";
|
|
12
|
+
import { b as useI18nContext, p as useApiContext } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
|
|
14
14
|
function ManagePCIComponent({ legalEntityId, onClick }) {
|
|
15
15
|
const { i18n } = useI18nContext();
|
|
16
16
|
const title = i18n.get("pciDssQuestionnaire");
|
package/dist/{ManageTermsOfServiceComponent-DKETCed8.js → ManageTermsOfServiceComponent-DTXnAMhG.js}
RENAMED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-
|
|
12
|
-
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-
|
|
13
|
-
import { E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { a as useTermsOfServiceAcceptanceInfos, u as useTermsOfServiceStatus } from "./useTermsOfServiceStatus-BHg3MVR-.js";
|
|
12
|
+
import { p as useApiContext, b as useI18nContext } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
import { E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
|
|
14
14
|
function ManageTermsOfServiceComponent({
|
|
15
15
|
legalEntityId,
|
|
16
16
|
onClick
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "7e338362-1414-4747-a7b1-9c4cb9be36ab", e._sentryDebugIdIdentifier = "sentry-dbid-7e338362-1414-4747-a7b1-9c4cb9be36ab");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
12
|
-
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader,
|
|
13
|
-
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-
|
|
11
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DFjfc2SU.js";
|
|
12
|
+
import { p as useApiContext, q as useQuery, r as httpGet, b as useI18nContext, b2 as datasetUtilities, b3 as getCapabilityProblems, b4 as Modal, b5 as ModalHeader, C as Typography, b6 as ModalContent, L as Loader, _ as Button, a1 as Card, b7 as StructuredList, b8 as ModalFooter, b9 as Spacer, $ as IconButton, ba as Confirm, bb as mapTransferInstrumentToPayoutAccount, bc as cloneObject, bd as currencyByCountry, be as entriesOf, Y as TaskStatus, bf as useTransferInstrument, X as createLogger, a6 as useToastContext, c as useDataset, d as datasetIdentifier, B as Alert } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
import { s as statusToTag, E as EmbeddedStatus } from "./EmbeddedStatus-DdJkMzzq.js";
|
|
14
14
|
import { useState } from "preact/hooks";
|
|
15
15
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
16
16
|
const getTransferInstruments = async (legalEntityId, baseUrl) => {
|
package/dist/{OnboardingDropinComponent-BIYee1P5.js → OnboardingDropinComponent-DWcyxz6X.js}
RENAMED
|
@@ -2,25 +2,25 @@
|
|
|
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] = "c0be9ef4-ce76-4164-9c89-165141fbfe32", e._sentryDebugIdIdentifier = "sentry-dbid-c0be9ef4-ce76-4164-9c89-165141fbfe32");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as
|
|
11
|
+
import { p as useApiContext, q as useQuery, r as httpGet, t as useLocalStorage, v as getLegalRepresentative, a as useLegalEntity, w as skipToken, x as doesLegalEntityRequiresLegalRepresentative, y as LegalEntityType, b as useI18nContext, z as Skeleton, B as Alert, C as Typography, G as isPartOfTrustFromLegalEntity, H as hasSolePropInLegalEntity, J as useSettingsContext, K as SettingNames, M as hasOwnEntityAssociationOfType, N as isEmptyEntity, O as CompanyTypesValue, P as useAccountHolder, U as EntityType, V as DATA_MISSING_DECISION_MAKER_ERROR_CODE_MAPPING, W as TaskTypes, X as createLogger, Y as TaskStatus, Z as useTranslation, _ as Button, $ as IconButton, a0 as useAnalyticsContext, a1 as Card, a2 as handleKeys, a3 as LoaderWrapper, a4 as Icon, a5 as noop, a6 as useToastContext, a7 as useExperimentsContext, a8 as isInstantVerifiedAccount, a9 as getObscuredAccountNumber, aa as useGetTaskStatus, ab as CardGroup, R as ROOT_LE, ac as useCapabilityProblems, L as Loader, ad as useGlobalStore, ae as useSetting, af as isPartOfUnincorporatedPartnership, ag as getOwnSignatories, ah as getOwnDecisionMakersLegalEntityIds, ai as getOwnSolePropProblems, aj as getOwnTrustProblems, ak as getOwnUnincorporatedPartnershipProblems, al as getOwnEntityAssociations, am as TrustMemberTypes, an as getLegalEntityNameBasedOnType, ao as useAssociatedLegalEntity, ap as CountryCodes, aq as isEmpty, ar as mergeFieldMetadataIntoProps, as as resolveFieldMetadata, at as defaultFieldMetadata, au as defaultFieldConfig, av as useForm, aw as getFieldProps, ax as nameFields, F as FormHeader, ay as ErrorPanel, az as createFormUtils, aA as Field, aB as MultiSelectList, aC as makeSelectItemForRole, aD as RadioGroupCard, aE as TextArea, aF as Name, aG as CountryField, aH as COUNTRY_FIELD, aI as LegalCompanyNameField, aJ as LEGAL_COMPANY_NAME_FIELD, aK as summaryItem, aL as getRoleName, aM as summaryStep, aN as FormNavigation, aO as Summary, aP as ActionBar, g as getLegalEntityCountry, aQ as UnincorporatedPartnershipMemberTypes, aR as getDecisionMakerDescriptionMap, aS as TRUST_DEFAULT_DESCRIPTIONS_MAP, aT as getRoleTagVariant, aU as Trans, aV as DEFAULT_TRUST_MEMBER_REQUIREMENTS, aW as ContextGuidance, aX as RadioGroup, aY as useUnincorporatedPartnershipMembers, aZ as deleteUnincorporatedPartnershipMember, a_ as hasAllCapabilitiesResolved, a$ as hasRejectedCapabilities, b0 as objectsDeepEqual, b1 as TrustedFieldsProvider } from "./StoreProvider-DJxvFnRD.js";
|
|
12
12
|
import { lazy, Suspense } from "preact/compat";
|
|
13
13
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
14
|
-
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-
|
|
14
|
+
import { P as ProviderButton, u as useSingpassMyInfoLogin } from "./ProviderButton-ChnPixpz.js";
|
|
15
15
|
import cx from "classnames";
|
|
16
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-
|
|
17
|
-
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-
|
|
16
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./useSalesChannelsSettings-B8WCV-4A.js";
|
|
17
|
+
import { u as useTermsOfServiceStatus, a as useTermsOfServiceAcceptanceInfos } from "./useTermsOfServiceStatus-BHg3MVR-.js";
|
|
18
18
|
import { signal } from "@preact/signals";
|
|
19
19
|
import { d as downloadFile } from "./file-CiG1D0zy.js";
|
|
20
|
-
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-
|
|
21
|
-
import { A as Avatar } from "./Avatar-
|
|
22
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
23
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
20
|
+
import { V as VerificationErrorAlert, u as useDeleteTransferInstrument } from "./VerificationErrorAlert-DFjfc2SU.js";
|
|
21
|
+
import { A as Avatar } from "./Avatar-Bpx1BiR6.js";
|
|
22
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-CK1qrdCf.js";
|
|
23
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./useUpdateLegalEntity-SM0TLT5D.js";
|
|
24
24
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
25
25
|
const getTaskTypes = async (id, baseUrl) => {
|
|
26
26
|
return httpGet({
|
|
@@ -374,7 +374,7 @@ const Remove = ({
|
|
|
374
374
|
handleIsRemoveDisabled,
|
|
375
375
|
label
|
|
376
376
|
}) => {
|
|
377
|
-
const {
|
|
377
|
+
const { t } = useTranslation();
|
|
378
378
|
const [undoTimer, setUndoTimer] = useState(5);
|
|
379
379
|
const [isRemoving, setIsRemoving] = useState(false);
|
|
380
380
|
useEffect(() => {
|
|
@@ -412,10 +412,10 @@ const Remove = ({
|
|
|
412
412
|
})();
|
|
413
413
|
}
|
|
414
414
|
}, [undoTimer, isRemoving, onRemoveStatusChange, handleIsRemoveDisabled, onRemove]);
|
|
415
|
-
return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children:
|
|
415
|
+
return isRemoving ? /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: onClickHandler, children: t(($) => $["undoWithTimer"], { secondsLeft: undoTimer }) }) : /* @__PURE__ */ jsx(
|
|
416
416
|
IconButton,
|
|
417
417
|
{
|
|
418
|
-
ariaLabel:
|
|
418
|
+
ariaLabel: label && t(($) => $[label]),
|
|
419
419
|
icon: "bin",
|
|
420
420
|
variant: "tertiary",
|
|
421
421
|
onClick: onClickHandler,
|
|
@@ -3330,71 +3330,71 @@ const hasProgressedBeyondEntitySelection = (legalEntity) => {
|
|
|
3330
3330
|
return hasOwnEntityAssocation || !!hasOrganizationType;
|
|
3331
3331
|
};
|
|
3332
3332
|
const Introduction = lazy(
|
|
3333
|
-
async () => (await import("./Introduction-
|
|
3333
|
+
async () => (await import("./Introduction-j3go43kb.js")).Introduction
|
|
3334
3334
|
);
|
|
3335
3335
|
const BusinessTypeSelectionPage = lazy(
|
|
3336
|
-
async () => (await import("./BusinessTypeSelectionPage-
|
|
3336
|
+
async () => (await import("./BusinessTypeSelectionPage-Bxdhq03c.js")).BusinessTypeSelectionPage
|
|
3337
3337
|
);
|
|
3338
3338
|
const SingpassSelection = lazy(
|
|
3339
|
-
async () => (await import("./SingpassSelection-
|
|
3339
|
+
async () => (await import("./SingpassSelection-BHFjqKtb.js")).SingpassSelection
|
|
3340
3340
|
);
|
|
3341
3341
|
const AccountSetupRejected = lazy(
|
|
3342
|
-
async () => (await import("./AccountSetupRejected-
|
|
3342
|
+
async () => (await import("./AccountSetupRejected-BEOktFiG.js")).AccountSetupRejected
|
|
3343
3343
|
);
|
|
3344
3344
|
const DecisionMakers = lazy(
|
|
3345
|
-
async () => (await import("./DecisionMakers-
|
|
3345
|
+
async () => (await import("./DecisionMakers-CgeGEEUz.js")).DecisionMakers
|
|
3346
3346
|
);
|
|
3347
3347
|
const CustomerSupport = lazy(
|
|
3348
|
-
async () => (await import("./CustomerSupport-
|
|
3348
|
+
async () => (await import("./CustomerSupport-BMuEw9QX.js")).CustomerSupport
|
|
3349
3349
|
);
|
|
3350
|
-
const Review = lazy(async () => (await import("./Review-
|
|
3350
|
+
const Review = lazy(async () => (await import("./Review-C01An3Wl.js")).Review);
|
|
3351
3351
|
const SignPCIComponent = lazy(
|
|
3352
|
-
async () => (await import("./SignPCIComponent-
|
|
3352
|
+
async () => (await import("./SignPCIComponent-J8gdxoQ0.js")).SignPCIComponent
|
|
3353
3353
|
);
|
|
3354
3354
|
const AcceptTermsOfService = lazy(
|
|
3355
|
-
async () => (await import("./AcceptTermsOfServiceComponent-
|
|
3355
|
+
async () => (await import("./AcceptTermsOfServiceComponent-BYhhk8TQ.js")).AcceptTermsOfServiceComponent
|
|
3356
3356
|
);
|
|
3357
3357
|
const TaxReportingDropin = lazy(
|
|
3358
|
-
async () => (await import("./TaxReportingDropin-
|
|
3358
|
+
async () => (await import("./TaxReportingDropin-O_fR1zLM.js")).TaxReportingDropin
|
|
3359
3359
|
);
|
|
3360
3360
|
const PayoutDetailsPage = lazy(
|
|
3361
|
-
async () => (await import("./StoreProvider-
|
|
3361
|
+
async () => (await import("./StoreProvider-DJxvFnRD.js").then((n) => n.eF)).PayoutDetailsPage
|
|
3362
3362
|
);
|
|
3363
3363
|
const RootBusinessDetailsPage = lazy(
|
|
3364
|
-
async () => (await import("./RootBusinessDetailsPage-
|
|
3364
|
+
async () => (await import("./RootBusinessDetailsPage-C8ZdxDW9.js")).RootBusinessDetailsPage
|
|
3365
3365
|
);
|
|
3366
3366
|
const SoleProprietorshipPage = lazy(
|
|
3367
|
-
async () => (await import("./SoleProprietorshipPage-
|
|
3367
|
+
async () => (await import("./SoleProprietorshipPage-B3toOI2F.js")).SoleProprietorshipPage
|
|
3368
3368
|
);
|
|
3369
3369
|
const TrustMemberCompanyPage = lazy(
|
|
3370
|
-
async () => (await import("./TrustMemberCompanyPage-
|
|
3370
|
+
async () => (await import("./TrustMemberCompanyPage-C9uS0UYc.js")).TrustMemberCompanyPage
|
|
3371
3371
|
);
|
|
3372
3372
|
const UnincorporatedPartnershipMemberCompanyPage = lazy(
|
|
3373
|
-
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-
|
|
3373
|
+
async () => (await import("./UnincorporatedPartnershipMemberCompanyPage-BwjX8pqP.js")).UnincorporatedPartnershipMemberCompanyPage
|
|
3374
3374
|
);
|
|
3375
3375
|
const BusinessFinancingPage = lazy(
|
|
3376
|
-
async () => (await import("./BusinessFinancingPage-
|
|
3376
|
+
async () => (await import("./BusinessFinancingPage-B5Xw-yH6.js")).BusinessFinancingPage
|
|
3377
3377
|
);
|
|
3378
3378
|
const TrustDetailsPage = lazy(
|
|
3379
|
-
async () => (await import("./TrustDetailsPage-
|
|
3379
|
+
async () => (await import("./TrustDetailsPage-DQltmdcB.js")).TrustDetailsPage
|
|
3380
3380
|
);
|
|
3381
3381
|
const SourceOfFundsPage = lazy(
|
|
3382
|
-
async () => (await import("./SourceOfFundsPage-
|
|
3382
|
+
async () => (await import("./SourceOfFundsPage-CBxjQ8zJ.js")).SourceOfFundsPage
|
|
3383
3383
|
);
|
|
3384
3384
|
const RootIndividualDetailsPage = lazy(
|
|
3385
|
-
async () => (await import("./RootIndividualDetailsPage-
|
|
3385
|
+
async () => (await import("./RootIndividualDetailsPage-DDIrbB7-.js")).RootIndividualDetailsPage
|
|
3386
3386
|
);
|
|
3387
3387
|
const LegalRepresentativeDetailsPage = lazy(
|
|
3388
|
-
async () => (await import("./LegalRepresentativeDetailsPage-
|
|
3388
|
+
async () => (await import("./LegalRepresentativeDetailsPage-DnzUpBDG.js")).LegalRepresentativeDetailsPage
|
|
3389
3389
|
);
|
|
3390
3390
|
const TrustMemberIndividualPage = lazy(
|
|
3391
|
-
async () => (await import("./TrustMemberIndividualPage-
|
|
3391
|
+
async () => (await import("./TrustMemberIndividualPage-8rMdNNNf.js")).TrustMemberIndividualPage
|
|
3392
3392
|
);
|
|
3393
3393
|
const UnincorporatedPartnershipIndividualPage = lazy(
|
|
3394
|
-
async () => (await import("./UnincorporatedPartnershipIndividualPage-
|
|
3394
|
+
async () => (await import("./UnincorporatedPartnershipIndividualPage-ByhDF63-.js")).UnincorporatedPartnershipIndividualPage
|
|
3395
3395
|
);
|
|
3396
3396
|
const DecisionMakerDetailsPage = lazy(
|
|
3397
|
-
async () => (await import("./DecisionMakerDetailsPage-
|
|
3397
|
+
async () => (await import("./DecisionMakerDetailsPage-_Vcfi13i.js")).DecisionMakerDetailsPage
|
|
3398
3398
|
);
|
|
3399
3399
|
const PAGES_WITH_POLLING = [TaskTypes.DECISION_MAKER_OVERVIEW, TaskTypes.TASKS_OVERVIEW];
|
|
3400
3400
|
const logger = createLogger();
|
|
@@ -2,13 +2,13 @@
|
|
|
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] = "bb49888b-f2d6-449e-9b70-671ec7a026fc", e._sentryDebugIdIdentifier = "sentry-dbid-bb49888b-f2d6-449e-9b70-671ec7a026fc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useReducer, useMemo } from "preact/hooks";
|
|
11
|
-
import { p as useApiContext, q as useQuery, bj as httpPost,
|
|
11
|
+
import { p as useApiContext, q as useQuery, bj as httpPost, a7 as useExperimentsContext, g as getLegalEntityCountry, ap as CountryCodes, G as isPartOfTrustFromLegalEntity, y as LegalEntityType, H as hasSolePropInLegalEntity, b1 as TrustedFieldsProvider, bm as individualComponentsKeyMapping, bn as businessDetailsComponentsKeyMapping, Z as useTranslation, _ as Button, bo as Svg } from "./StoreProvider-DJxvFnRD.js";
|
|
12
12
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
13
13
|
async function convertToSingpassLinkResponse(openIdInitiateResponse) {
|
|
14
14
|
const response = await Promise.resolve(openIdInitiateResponse);
|
|
@@ -195,7 +195,7 @@ const ProviderButton = ({
|
|
|
195
195
|
}) => {
|
|
196
196
|
const isSingpass = provider.includes("singpassMyInfo");
|
|
197
197
|
const buttonVariant = isSingpass ? "secondary" : "primary";
|
|
198
|
-
const {
|
|
198
|
+
const { t } = useTranslation();
|
|
199
199
|
const buttonProps = {
|
|
200
200
|
disabled,
|
|
201
201
|
fullWidth,
|
|
@@ -220,12 +220,12 @@ const ProviderButton = ({
|
|
|
220
220
|
singpassMyInfoBusiness: "Singpass"
|
|
221
221
|
};
|
|
222
222
|
const buttonLabel = {
|
|
223
|
-
tink:
|
|
224
|
-
yapily:
|
|
225
|
-
plaid:
|
|
226
|
-
onfido:
|
|
227
|
-
singpassMyInfo:
|
|
228
|
-
singpassMyInfoBusiness:
|
|
223
|
+
tink: t(($) => $["addAccountWith"]),
|
|
224
|
+
yapily: t(($) => $["addAccountWith"]),
|
|
225
|
+
plaid: t(($) => $["addAccountWith"]),
|
|
226
|
+
onfido: t(($) => $["addDetailsWith"]),
|
|
227
|
+
singpassMyInfo: t(($) => $["retrieveMyinfoWith"]),
|
|
228
|
+
singpassMyInfoBusiness: t(($) => $["retrieveMyinfoBusinessWith"])
|
|
229
229
|
};
|
|
230
230
|
return /* @__PURE__ */ jsx(Button, { ...buttonProps, variant: buttonVariant, children: /* @__PURE__ */ jsxs("div", { className: styles.providerButton, children: [
|
|
231
231
|
buttonLabel[provider],
|
|
@@ -2,15 +2,15 @@
|
|
|
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] = "c52ffcfc-1eba-4017-9db7-e3f7fb29f492", e._sentryDebugIdIdentifier = "sentry-dbid-c52ffcfc-1eba-4017-9db7-e3f7fb29f492");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { p as useApiContext, bh as useMutation, bj as httpPost, b as useI18nContext,
|
|
13
|
-
import { D as DropinLayout } from "./OnboardingDropinComponent-
|
|
12
|
+
import { p as useApiContext, bh as useMutation, bj as httpPost, b as useI18nContext, a6 as useToastContext, a3 as LoaderWrapper, F as FormHeader, bu as Checkbox, aP as ActionBar } from "./StoreProvider-DJxvFnRD.js";
|
|
13
|
+
import { D as DropinLayout } from "./OnboardingDropinComponent-DWcyxz6X.js";
|
|
14
14
|
const confirmReview = async (legalEntityId, baseUrl) => {
|
|
15
15
|
return httpPost({
|
|
16
16
|
baseUrl,
|
|
@@ -2,14 +2,14 @@
|
|
|
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] = "87a58ed6-5cc9-4601-8b56-6e24a9ec3dd3", e._sentryDebugIdIdentifier = "sentry-dbid-87a58ed6-5cc9-4601-8b56-6e24a9ec3dd3");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE,
|
|
12
|
-
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-
|
|
11
|
+
import { P as useAccountHolder, a as useLegalEntity, R as ROOT_LE, ac as useCapabilityProblems, L as Loader, G as isPartOfTrustFromLegalEntity, bk as getProblemsForEntity, U as EntityType, g as getLegalEntityCountry, W as TaskTypes } from "./StoreProvider-DJxvFnRD.js";
|
|
12
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-DQ9HiW45.js";
|
|
13
13
|
const RootBusinessDetailsPage = ({
|
|
14
14
|
isTargetLegalEntityType = false,
|
|
15
15
|
onSubmit,
|