@adyen/kyc-components 3.71.3 → 3.73.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-Dsv4mY-k.js → AcceptTermsOfServiceComponent-Ib77t0y9.js} +11 -198
- package/dist/{AccountSetupRejected-Cz2iWdPE.js → AccountSetupRejected-Dcrt_Wjb.js} +3 -3
- package/dist/{BusinessDetailsDropin-CxJ7Ga0q.js → BusinessDetailsDropin-D10LCgSY.js} +199 -98
- package/dist/BusinessFinancingPage-CVRFAPxm.js +35 -0
- package/dist/{BusinessTypeSelection-wbCak0Us.js → BusinessTypeSelectionPage-DK4PY3_p.js} +47 -40
- package/dist/{CXEL7IU7-B9HOZi-H.js → CXEL7IU7-DyO75Uac.js} +3 -3
- package/dist/{CreateIndividualComponent-C3uFsTUT.js → CreateIndividualComponent-BiMYdvQq.js} +265 -1227
- package/dist/CreateTransferInstrumentComponent-CaBD_3yr.js +1082 -0
- package/dist/{CustomerSupport-BuxhbwRm.js → CustomerSupport-BqyayBTP.js} +4 -3
- package/dist/{DebugModal-B_DAGmya.js → DebugModal-CO_clhiW.js} +12 -11
- package/dist/DecisionMakerDetailsPage-C0wmo475.js +80 -0
- package/dist/{DecisionMakers-L6oYW0-J.js → DecisionMakers-B2rmqsfW.js} +6 -5
- package/dist/{EventEmitter-DTdpTyY7.js → EventEmitter-BmWcyurq.js} +1015 -1407
- package/dist/FormNavigation-W4SYacAX.js +205 -0
- package/dist/{HASRA6WW-CBmvzSwj.js → HASRA6WW-Cj_9-H1H.js} +2 -2
- package/dist/{I3HPI4QX-9ko0FQd6.js → I3HPI4QX-CCkDLYPH.js} +3 -3
- package/dist/{Introduction-C16zT64A.js → Introduction-DlsETOX7.js} +14 -6
- package/dist/LegalRepresentativeDetailsPage-Dbp83K05.js +55 -0
- package/dist/ManageIndividualComponent-D-47IZH6.js +190 -0
- package/dist/Modal-6j0jkYFX.js +135 -0
- package/dist/PayoutDetailsPage-CWAOATOb.js +57 -0
- package/dist/{Review-BbsJ9Iv_.js → Review-B0v_A189.js} +4 -3
- package/dist/RootBusinessDetailsPage-D_3xc6YN.js +43 -0
- package/dist/RootIndividualDetailsPage-CT-rsvpD.js +71 -0
- package/dist/{EmbedShell-DpZpuM-4.js → ShadowStylesRoot-DMxqA0py.js} +28 -10
- package/dist/{SingpassSelection-Biuh42TV.js → SingpassSelection-DB5BHBy1.js} +2 -2
- package/dist/SoleProprietorshipPage-CFZ3F57F.js +45 -0
- package/dist/{SourceOfFunds.module-CwVf62zO.js → SourceOfFunds.module-sL22I1gI.js} +2 -2
- package/dist/{SourceOfFundsDropin-Bz8cTP4R.js → SourceOfFundsPage-Tde0WbSG.js} +44 -20
- package/dist/Tag-DdkVScyr.js +41 -0
- package/dist/{TaskItemStatus-DzTphBn7.js → TaskItemStatus-DqNACVFe.js} +4 -32
- package/dist/{TaxReportingDropin-xDar-7mC.js → TaxReportingDropin-CPQZXr1j.js} +6 -5
- package/dist/{TrustOuter-2GEllVo3.js → TrustDetailsPage-BGkbFLaG.js} +20 -29
- package/dist/TrustMemberCompanyPage-CQi1xGDz.js +55 -0
- package/dist/TrustMemberIndividualPage-BI_XyXhS.js +60 -0
- package/dist/UnincorporatedPartnershipIndividualPage-B6gLv55I.js +60 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-jHwnxg3n.js +58 -0
- package/dist/adyen-individual.js +41 -0
- package/dist/adyen-kyc-components.js +3 -6
- package/dist/adyen-manage-individual.js +41 -0
- package/dist/adyen-terms-of-service.js +47 -0
- package/dist/adyen-terms-of-service.vue_vue_type_script_lang-CLUMW5mI.js +34 -0
- package/dist/adyen-transfer-instrument.js +59 -0
- package/dist/adyen-transfer-instrument.vue_vue_type_script_lang-uEpG3KG3.js +45 -0
- package/dist/{bg-BG-CzEF3tzV.js → bg-BG-CZRQZyXO.js} +12 -5
- package/dist/{cs-CZ-TMjslGp_.js → cs-CZ-BbUFgifZ.js} +12 -5
- package/dist/{css-CypmaTn8.js → css-CFY1scQ9.js} +2 -2
- package/dist/{da-DK-DWzvDWZJ.js → da-DK-CP71BFS7.js} +12 -5
- package/dist/{de-DE-BtIL-7gp.js → de-DE-DY56JGZt.js} +12 -5
- package/dist/{el-GR-DHSSlqbw.js → el-GR-CnENEp5c.js} +12 -5
- package/dist/{es-ES-OwkE9-Cu.js → es-ES-dV62vQcV.js} +28 -21
- package/dist/{et-EE-DvixWnLd.js → et-EE-BBgAN3Wc.js} +12 -5
- package/dist/{fi-FI-DZiXWe_g.js → fi-FI-DVmGWIxn.js} +12 -5
- package/dist/{fr-FR-BBwiWhiT.js → fr-FR-VwG8Rg7R.js} +12 -5
- package/dist/{hr-HR-DJYofWKU.js → hr-HR-Bs_lxjxQ.js} +12 -5
- package/dist/{hu-HU-k9c6wZld.js → hu-HU-8dVSiOZM.js} +12 -5
- package/dist/{core-BsRrVyKB.js → index-D6YGuPb5.js} +810 -1908
- package/dist/{it-IT-oOwbWW3K.js → it-IT-DvwWMDl1.js} +12 -5
- package/dist/{ja-JP-CT3g8Hhn.js → ja-JP-BB6zzyEg.js} +12 -5
- package/dist/{json-DDReVYSW.js → json-RoVXbcQq.js} +2 -2
- package/dist/localizeDateString-DtxuKMqB.js +27 -0
- package/dist/{lt-LT-CVHIsEF8.js → lt-LT-BQtNojlb.js} +12 -5
- package/dist/{lv-LV-BFx0cvZ2.js → lv-LV-BpEw5uN5.js} +12 -5
- package/dist/mapExistingFile-CwT8TZ5D.js +870 -0
- package/dist/{nl-NL-rmSZu4Rf.js → nl-NL-vBEBXTP-.js} +12 -5
- package/dist/{no-NO-BOnQvimN.js → no-NO-BFhTqUoD.js} +12 -5
- package/dist/{pl-PL-5j22An4E.js → pl-PL-dsGZvzVf.js} +12 -5
- package/dist/{plaintext-Cjcgjaqv.js → plaintext-DpBLPLCO.js} +2 -2
- package/dist/{terms-of-service-preact.js → preact/adyen-individual.js} +4 -4
- package/dist/{individual-react.js → preact/adyen-manage-individual.js} +4 -4
- package/dist/{terms-of-service-react.js → preact/adyen-terms-of-service.js} +5 -4
- package/dist/preact/adyen-transfer-instrument.js +16 -0
- package/dist/{pt-PT-DP8U1qyu.js → pt-PT-BB38pZbh.js} +12 -5
- package/dist/{ro-RO-BTdtoC6P.js → ro-RO-BgxNxoxJ.js} +12 -5
- package/dist/{sk-SK-DYTx4mOB.js → sk-SK-rtDeCztl.js} +12 -5
- package/dist/{sl-SI-D8CiUN69.js → sl-SI-qoGCwUdU.js} +12 -5
- package/dist/style.css +1942 -1990
- package/dist/styles-CLV89_hH.js +1942 -1990
- package/dist/{sv-SE-Daslxeqr.js → sv-SE-f1T7PBSW.js} +12 -5
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -1
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +2 -0
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +2 -5
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/types.d.ts +1 -11
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +14 -0
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/payoutDetailsFormConfig.d.ts +12 -1
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +14 -0
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +1 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/ProofOfOwnershipDocument.d.ts +2 -0
- package/dist/types/components/Business/forms/ProofOfOwnershipDocument/types.d.ts +8 -0
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/mapping/businessDetails/businessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/mapping/businessDetails/solePropBusinessDetailsKeyMappings.d.ts +1 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +8 -0
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +1 -3
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +7 -0
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +7 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -1
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -2
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +2 -1
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +20 -0
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +12 -0
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +16 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +0 -2
- package/dist/types/components/Shared/Introduction/Introduction.d.ts +4 -2
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/BusinessTypeSelection.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +3 -5
- package/dist/types/components/Shared/forms/DocumentUpload/DocumentUpload.d.ts +1 -1
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +5 -0
- package/dist/types/components/Shared/pages/BusinessTypeSelectionPage.d.ts +2 -0
- package/dist/types/components/Shared/tasks/TaskList/TaskList.d.ts +7 -1
- package/dist/types/components/Shared/tasks/TaskList/types.d.ts +0 -6
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +1 -0
- package/dist/types/components/SoleProprietorship/pages/SoleProprietorshipPage.d.ts +8 -0
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +10 -0
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +16 -0
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +9 -0
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +4 -7
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +0 -2
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +16 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +11 -0
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +8 -0
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/UnincorporatedPartnershipMembersOverview.d.ts +1 -5
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipRoleAndType/UnincorporatedPartnershipRoleAndType.d.ts +1 -1
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +1 -0
- package/dist/types/context/AnalyticsContext/AnalyticsProvider.d.ts +2 -2
- package/dist/types/context/ExperimentContext/ExperimentsContextProvider.d.ts +1 -1
- package/dist/types/context/ExperimentContext/types.d.ts +6 -6
- package/dist/types/core/EmbedShell/EmbedShell.d.ts +3 -4
- package/dist/types/core/environment/resolveEnvironment.d.ts +1 -0
- package/dist/types/core/models/api/document.d.ts +1 -1
- package/dist/types/embeds/ShadowStylesRoot.d.ts +3 -0
- package/dist/types/embeds/baseEmbedProps.d.ts +30 -0
- package/dist/types/embeds/individual/AdyenIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/individual/adyen-individual.types.d.ts +30 -0
- package/dist/types/embeds/manage-individual/AdyenManageIndividualPreact.d.ts +3 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.d.ts +1 -0
- package/dist/types/embeds/manage-individual/adyen-manage-individual.types.d.ts +29 -0
- package/dist/types/embeds/terms-of-service/AdyenTermsOfServicePreact.d.ts +3 -0
- package/dist/types/embeds/terms-of-service/adyen-terms-of-service.types.d.ts +30 -0
- package/dist/types/embeds/transfer-instrument/AdyenTransferInstrumentPreact.d.ts +3 -0
- package/dist/types/embeds/transfer-instrument/adyen-transfer-instrument.types.d.ts +36 -0
- package/dist/types/hooks/useDataConflicts.d.ts +1 -5
- package/dist/types/stores/globalStore/taskTypes.d.ts +0 -1
- package/dist/types/utils/country.d.ts +3 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/getDisplayErrorMessage.d.ts +3 -0
- package/dist/useToastContext-DiQ_PGrE.js +33 -0
- package/dist/{utils-Fkk087z-.js → utils-Bl8l2XY4.js} +4 -4
- package/dist/vue/adyen-individual.js +43 -0
- package/dist/vue/adyen-manage-individual.js +46 -0
- package/dist/vue/adyen-terms-of-service.js +26 -0
- package/dist/vue/adyen-transfer-instrument.js +28 -0
- package/dist/{yaml-GnQQmt7i.js → yaml-DEzkYiMR.js} +2 -2
- package/package.json +28 -61
- package/dist/adyenConfig.js +0 -34
- package/dist/individual-preact.js +0 -15
- package/dist/individual-vue.js +0 -35
- package/dist/individual.js +0 -58
- package/dist/listToRecord-CO3M1Q74.js +0 -19
- package/dist/terms-of-service.js +0 -58
- package/dist/transfer-instrument-preact.js +0 -32
- package/dist/transfer-instrument-react.js +0 -32
- package/dist/transfer-instrument-vue.js +0 -41
- package/dist/transfer-instrument.js +0 -38
- package/dist/types/components/BankAccount/forms/PayoutDetails/utils.d.ts +0 -2
- package/dist/types/components/BankAccount/forms/PayoutVerificationMethod/PreferInstantVerificationMethod/PreferInstantVerificationMethod.d.ts +0 -22
- package/dist/types/components/Individual/forms/Individual/IndividualOuter.d.ts +0 -26
- package/dist/types/components/Trust/tasks/TrustDropin/TrustOuter.d.ts +0 -10
- package/dist/types/components/ui/atoms/List/List.d.ts +0 -9
- package/dist/types/embeds/adyenConfig.d.ts +0 -22
- package/dist/types/embeds/individual/individual.types.d.ts +0 -12
- package/dist/types/embeds/individual/preact/Individual.d.ts +0 -15
- package/dist/types/embeds/individual/react/Individual.d.ts +0 -20
- package/dist/types/embeds/individual/vue/individual.types.d.ts +0 -9
- package/dist/types/embeds/terms-of-service/preact/TermsOfService.d.ts +0 -10
- package/dist/types/embeds/terms-of-service/react/TermsOfService.d.ts +0 -20
- package/dist/types/embeds/terms-of-service/terms-of-service.types.d.ts +0 -8
- package/dist/types/embeds/transfer-instrument/preact/TransferInstrument.d.ts +0 -15
- package/dist/types/embeds/transfer-instrument/react/TransferInstrument.d.ts +0 -20
- package/dist/types/embeds/transfer-instrument/transfer-instrument.types.d.ts +0 -17
- package/dist/types/embeds/transfer-instrument/vue/transfer-instrument.types.d.ts +0 -9
- package/dist/types/embeds/types.d.ts +0 -19
- package/dist/types/embeds/utils.d.ts +0 -7
- package/dist/utils-Du6OO4ZK.js +0 -27
|
@@ -2,16 +2,19 @@
|
|
|
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] = "2f416829-ec7c-4541-a5b2-318d25b9a222", e._sentryDebugIdIdentifier = "sentry-dbid-2f416829-ec7c-4541-a5b2-318d25b9a222");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { r as reverseMapping,
|
|
12
|
-
import {
|
|
11
|
+
import { r as reverseMapping, dv as operationalAddressIsSameIds, L as LegalEntityType, bZ as createFormRules, ah as TaskTypes, dN as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, dO as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, dP as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, aD as CountryCodes, dQ as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, dR as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, dz as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, dS as trustComponentsKeyMapping, dT as trustApiKeyMapping, dU as updateTaxInformation, D as useStateContext, u as useApiContext, b as useI18nContext, x as useAnalyticsContext, B as datasetUtilities, al as useExperimentsContext, J as getAssociatedLeAnalyticsPayload, dV as trustForms, dW as Trust, dX as trustDocumentMapping, c as cloneObject, Q as getLegalEntityCountry, aF as resolveFieldMetadata, dC as defaultFieldMetadata, dD as inferCompanyRegistrationNumberType, dE as getCompanyRegistrationNumberOptions, dF as defaultFieldConfig, bU as defaultFieldMetadata$1, dG as countryToTaxInfoTypeMap, bV as defaultFieldConfig$1, ce as mapAddressLabels, dY as trustConstitutionalDocumentFormId, i as isEmpty, d as drop, aC as getOwnEntityAssociations, P as useLegalEntity, a6 as skipToken, aq as ROOT_LE, cT as useCapabilities, af as EntityType, M as Loader, cI as keysOf } from "./EventEmitter-BmWcyurq.js";
|
|
12
|
+
import { l as getFieldsWithExistingData, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as useCapabilityProblems, k as getProblemsForEntity } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
13
13
|
import { useEffect, useState, useRef, useMemo } from "preact/hooks";
|
|
14
|
-
import {
|
|
14
|
+
import { h as hasDataChanged } from "./index-D6YGuPb5.js";
|
|
15
|
+
import { u as useToastContext } from "./useToastContext-DiQ_PGrE.js";
|
|
16
|
+
import { k as getDocument, m as mapExistingFile, l as getPageName, f as formatObject, o as createDocumentRequest, q as documentApiUtils, u as useScenarioConfiguration, a as getPropsFromConfigurations, b as getRequiredForms, c as addValidityToForms, d as useFormComposer, y as augmentWithCountryConfigs, i as isValidationError, p as processValidationErrors, h as isMaintenanceModeError, g as getProp, e as composePerScenarioFormConfigurations } from "./mapExistingFile-CwT8TZ5D.js";
|
|
17
|
+
import { F as FormWrapper } from "./CreateTransferInstrumentComponent-CaBD_3yr.js";
|
|
15
18
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
16
19
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
17
20
|
return {
|
|
@@ -103,36 +106,19 @@ const mapLegalEntityToUnincorporatedPartnership = (legalEntity, isExperimentEnab
|
|
|
103
106
|
return trustCompData;
|
|
104
107
|
};
|
|
105
108
|
const mapUnincorporatedPartnershipToLegalEntity = (data, isExperimentEnabled) => {
|
|
106
|
-
var _a, _b, _c, _d, _e, _f, _g
|
|
109
|
+
var _a, _b, _c, _d, _e, _f, _g;
|
|
107
110
|
const requestObj = {
|
|
108
111
|
...formatObject(data, unincorporatedPartnershipApiKeyMapping)
|
|
109
112
|
};
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
var _a2;
|
|
113
|
-
return tax.country === ((_a2 = data.trustRegistrationDetails) == null ? void 0 : _a2.country);
|
|
114
|
-
}
|
|
115
|
-
)) == null ? void 0 : _c.number;
|
|
116
|
-
if (taxId || isExperimentEnabled("EnableRegistrationAndTaxAbsentStatesV4")) {
|
|
117
|
-
requestObj.unincorporatedPartnership = updateTaxInformation(
|
|
118
|
-
{
|
|
119
|
-
taxId,
|
|
120
|
-
country: (_d = data.trustRegistrationDetails) == null ? void 0 : _d.country,
|
|
121
|
-
exemptedFromTax: (_e = data.trustRegistrationDetails) == null ? void 0 : _e.exemptedFromTax,
|
|
122
|
-
entity: requestObj.unincorporatedPartnership
|
|
123
|
-
},
|
|
124
|
-
isExperimentEnabled("EnableRegistrationAndTaxAbsentStatesV4")
|
|
125
|
-
);
|
|
126
|
-
}
|
|
127
|
-
if ((_f = data.trustRegistrationDetails) == null ? void 0 : _f.objectOfTrust) {
|
|
128
|
-
requestObj.unincorporatedPartnership.description = data.trustRegistrationDetails.objectOfTrust;
|
|
113
|
+
if (((_c = (_b = (_a = requestObj.unincorporatedPartnership) == null ? void 0 : _a.taxInformation) == null ? void 0 : _b[0]) == null ? void 0 : _c.type) === "GST") {
|
|
114
|
+
requestObj.unincorporatedPartnership.taxInformation[0].type = "UEN";
|
|
129
115
|
}
|
|
130
116
|
if (isExperimentEnabled("EnableDoingBusinessAsNameV4")) {
|
|
131
|
-
if (typeof ((
|
|
132
|
-
requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !((
|
|
117
|
+
if (typeof ((_d = data.trustRegistrationDetails) == null ? void 0 : _d.hasDoingBusinessAs) !== "undefined") {
|
|
118
|
+
requestObj.unincorporatedPartnership.doingBusinessAsAbsent = !((_e = data.trustRegistrationDetails) == null ? void 0 : _e.hasDoingBusinessAs);
|
|
133
119
|
}
|
|
134
120
|
} else {
|
|
135
|
-
requestObj.unincorporatedPartnership.doingBusinessAs = ((
|
|
121
|
+
requestObj.unincorporatedPartnership.doingBusinessAs = ((_f = data.trustRegistrationDetails) == null ? void 0 : _f.doingBusinessAs) || ((_g = data.trustRegistrationDetails) == null ? void 0 : _g.legalName) || "";
|
|
136
122
|
delete requestObj.unincorporatedPartnership.doingBusinessAsAbsent;
|
|
137
123
|
}
|
|
138
124
|
requestObj.type = LegalEntityType.UNINCORPORATED_PARTNERSHIP;
|
|
@@ -698,7 +684,12 @@ function TrustDropin({
|
|
|
698
684
|
}
|
|
699
685
|
);
|
|
700
686
|
}
|
|
701
|
-
const
|
|
687
|
+
const TrustDetailsPage = ({
|
|
688
|
+
taskType,
|
|
689
|
+
trustId,
|
|
690
|
+
handleHomeClick,
|
|
691
|
+
onSubmit
|
|
692
|
+
}) => {
|
|
702
693
|
const { data: trustLe } = useLegalEntity(trustId ?? skipToken);
|
|
703
694
|
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
704
695
|
const capabilities = useCapabilities();
|
|
@@ -724,5 +715,5 @@ const TrustOuter = ({ taskType, trustId, handleHomeClick, onSubmit }) => {
|
|
|
724
715
|
);
|
|
725
716
|
};
|
|
726
717
|
export {
|
|
727
|
-
|
|
718
|
+
TrustDetailsPage
|
|
728
719
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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] = "fa6f5bda-ab23-45c4-a9a3-ac7c773bdf86", e._sentryDebugIdIdentifier = "sentry-dbid-fa6f5bda-ab23-45c4-a9a3-ac7c773bdf86");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { P as useLegalEntity, aq as ROOT_LE, a6 as skipToken, M as Loader, af as EntityType, Q as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BmWcyurq.js";
|
|
12
|
+
import { d as useTrustMembers } from "./index-D6YGuPb5.js";
|
|
13
|
+
import { b as useCapabilityProblems, k as getProblemsForEntity } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
14
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-D10LCgSY.js";
|
|
15
|
+
function TrustMemberCompanyPage({
|
|
16
|
+
trustId,
|
|
17
|
+
trustMemberCompanyId,
|
|
18
|
+
newMember,
|
|
19
|
+
isTargetLegalEntityType = false,
|
|
20
|
+
onSubmit,
|
|
21
|
+
handleHomeClick
|
|
22
|
+
}) {
|
|
23
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
24
|
+
const { data: trustLe } = useLegalEntity(trustId);
|
|
25
|
+
const { data: trustMemberCompanyLe } = useLegalEntity(trustMemberCompanyId ?? skipToken);
|
|
26
|
+
const trustMembers = useTrustMembers();
|
|
27
|
+
const capabilityProblems = useCapabilityProblems();
|
|
28
|
+
if (!rootLe || !trustLe || trustMemberCompanyId && !trustMemberCompanyLe) {
|
|
29
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
30
|
+
}
|
|
31
|
+
const problems = capabilityProblems && trustMemberCompanyId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, trustMemberCompanyId) : void 0;
|
|
32
|
+
const country = getLegalEntityCountry(trustMemberCompanyLe ?? trustLe);
|
|
33
|
+
const trustMember = newMember ?? trustMembers.find(
|
|
34
|
+
(tm) => tm.trustMemberType !== "undefinedBeneficiary" && tm.legalEntityId === trustMemberCompanyId
|
|
35
|
+
);
|
|
36
|
+
return /* @__PURE__ */ jsx(
|
|
37
|
+
BusinessDetailsDropin,
|
|
38
|
+
{
|
|
39
|
+
taskType: TaskTypes.TRUST_MEMBER_COMPANY,
|
|
40
|
+
taskName: "businessTrusteeDetails",
|
|
41
|
+
legalEntityResponse: rootLe,
|
|
42
|
+
associatedLegalArrangement: trustLe,
|
|
43
|
+
nestedLegalEntity: trustMemberCompanyLe,
|
|
44
|
+
nestedLegalEntityDetails: trustMember,
|
|
45
|
+
problems,
|
|
46
|
+
country,
|
|
47
|
+
isTargetLegalEntityType,
|
|
48
|
+
onSubmit,
|
|
49
|
+
handleHomeClick
|
|
50
|
+
}
|
|
51
|
+
);
|
|
52
|
+
}
|
|
53
|
+
export {
|
|
54
|
+
TrustMemberCompanyPage
|
|
55
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
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] = "bd6d4b21-cb1b-4f1c-bc62-521e83650e3d", e._sentryDebugIdIdentifier = "sentry-dbid-bd6d4b21-cb1b-4f1c-bc62-521e83650e3d");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { P as useLegalEntity, a6 as skipToken, al as useExperimentsContext, M as Loader, Q as getLegalEntityCountry, af as EntityType, ah as TaskTypes, ak as noop } from "./EventEmitter-BmWcyurq.js";
|
|
12
|
+
import { b as useCapabilityProblems, k as getProblemsForEntity, m as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, n as IndividualDropin } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
13
|
+
function TrustMemberIndividualPage({
|
|
14
|
+
memberId,
|
|
15
|
+
trustId,
|
|
16
|
+
newMember,
|
|
17
|
+
asModal = false,
|
|
18
|
+
hideSidebar = false,
|
|
19
|
+
isTargetLegalEntityType = false,
|
|
20
|
+
onSubmit,
|
|
21
|
+
/** below from {@link DropinProps} */
|
|
22
|
+
handleBackClick,
|
|
23
|
+
handleCloseClick,
|
|
24
|
+
handleHomeClick = noop
|
|
25
|
+
}) {
|
|
26
|
+
const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
|
|
27
|
+
const { data: trustLe } = useLegalEntity(trustId);
|
|
28
|
+
const capabilityProblems = useCapabilityProblems();
|
|
29
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
30
|
+
if (!trustLe || memberId && !memberLe) {
|
|
31
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
32
|
+
}
|
|
33
|
+
const country = getLegalEntityCountry(memberLe ?? trustLe);
|
|
34
|
+
const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, memberId) : void 0;
|
|
35
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
36
|
+
country,
|
|
37
|
+
TaskTypes.TRUST_MEMBER_INDIVIDUAL,
|
|
38
|
+
isExperimentEnabled
|
|
39
|
+
);
|
|
40
|
+
const props = {
|
|
41
|
+
taskType: TaskTypes.TRUST_MEMBER_INDIVIDUAL,
|
|
42
|
+
taskName: "trustMemberDetails",
|
|
43
|
+
legalEntityResponse: memberLe,
|
|
44
|
+
parentLegalEntity: trustLe,
|
|
45
|
+
trustMember: newMember,
|
|
46
|
+
problems,
|
|
47
|
+
country,
|
|
48
|
+
asModal,
|
|
49
|
+
hideSidebar,
|
|
50
|
+
isTargetLegalEntityType,
|
|
51
|
+
onSubmit,
|
|
52
|
+
handleBackClick,
|
|
53
|
+
handleCloseClick,
|
|
54
|
+
handleHomeClick
|
|
55
|
+
};
|
|
56
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
TrustMemberIndividualPage
|
|
60
|
+
};
|
|
@@ -0,0 +1,60 @@
|
|
|
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] = "60ced3b4-a6dc-4209-9928-5fffc4772a20", e._sentryDebugIdIdentifier = "sentry-dbid-60ced3b4-a6dc-4209-9928-5fffc4772a20");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { P as useLegalEntity, a6 as skipToken, al as useExperimentsContext, M as Loader, Q as getLegalEntityCountry, af as EntityType, ah as TaskTypes, ak as noop } from "./EventEmitter-BmWcyurq.js";
|
|
12
|
+
import { b as useCapabilityProblems, k as getProblemsForEntity, m as isOnfidoAutofillFlowEnabled, I as IndividualOnfidoDropin, n as IndividualDropin } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
13
|
+
function UnincorporatedPartnershipIndividualPage({
|
|
14
|
+
memberId,
|
|
15
|
+
partnershipId,
|
|
16
|
+
newMember,
|
|
17
|
+
asModal = false,
|
|
18
|
+
hideSidebar = false,
|
|
19
|
+
isTargetLegalEntityType = false,
|
|
20
|
+
onSubmit,
|
|
21
|
+
/** below from {@link DropinProps} */
|
|
22
|
+
handleBackClick,
|
|
23
|
+
handleCloseClick,
|
|
24
|
+
handleHomeClick = noop
|
|
25
|
+
}) {
|
|
26
|
+
const { data: memberLe } = useLegalEntity(memberId ?? skipToken);
|
|
27
|
+
const { data: partnershipLe } = useLegalEntity(partnershipId);
|
|
28
|
+
const capabilityProblems = useCapabilityProblems();
|
|
29
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
30
|
+
if (!partnershipLe || memberId && !memberLe) {
|
|
31
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
32
|
+
}
|
|
33
|
+
const country = getLegalEntityCountry(memberLe ?? partnershipLe);
|
|
34
|
+
const problems = capabilityProblems && memberId ? getProblemsForEntity(capabilityProblems, EntityType.LEGAL_ENTITY, memberId) : void 0;
|
|
35
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
36
|
+
country,
|
|
37
|
+
TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL,
|
|
38
|
+
isExperimentEnabled
|
|
39
|
+
);
|
|
40
|
+
const props = {
|
|
41
|
+
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL,
|
|
42
|
+
taskName: "partnershipMemberDetails",
|
|
43
|
+
legalEntityResponse: memberLe,
|
|
44
|
+
parentLegalEntity: partnershipLe,
|
|
45
|
+
trustMember: newMember,
|
|
46
|
+
problems,
|
|
47
|
+
country,
|
|
48
|
+
asModal,
|
|
49
|
+
hideSidebar,
|
|
50
|
+
isTargetLegalEntityType,
|
|
51
|
+
onSubmit,
|
|
52
|
+
handleBackClick,
|
|
53
|
+
handleCloseClick,
|
|
54
|
+
handleHomeClick
|
|
55
|
+
};
|
|
56
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
|
|
57
|
+
}
|
|
58
|
+
export {
|
|
59
|
+
UnincorporatedPartnershipIndividualPage
|
|
60
|
+
};
|
|
@@ -0,0 +1,58 @@
|
|
|
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] = "3693f88a-8761-428d-bcbe-6a07a3d04b64", e._sentryDebugIdIdentifier = "sentry-dbid-3693f88a-8761-428d-bcbe-6a07a3d04b64");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsx } from "preact/jsx-runtime";
|
|
11
|
+
import { P as useLegalEntity, aq as ROOT_LE, a6 as skipToken, b3 as useUnincorporatedPartnershipMembers, M as Loader, af as EntityType, Q as getLegalEntityCountry, ah as TaskTypes } from "./EventEmitter-BmWcyurq.js";
|
|
12
|
+
import { b as useCapabilityProblems, k as getProblemsForEntity } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
13
|
+
import { B as BusinessDetailsDropin } from "./BusinessDetailsDropin-D10LCgSY.js";
|
|
14
|
+
function UnincorporatedPartnershipMemberCompanyPage({
|
|
15
|
+
partnershipId,
|
|
16
|
+
partnershipMemberCompanyId,
|
|
17
|
+
newMember,
|
|
18
|
+
isTargetLegalEntityType = false,
|
|
19
|
+
onSubmit,
|
|
20
|
+
handleHomeClick
|
|
21
|
+
}) {
|
|
22
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
23
|
+
const { data: partnershipLe } = useLegalEntity(partnershipId);
|
|
24
|
+
const { data: partnershipMemberCompanyLe } = useLegalEntity(
|
|
25
|
+
partnershipMemberCompanyId ?? skipToken
|
|
26
|
+
);
|
|
27
|
+
const partnershipMembers = useUnincorporatedPartnershipMembers();
|
|
28
|
+
const capabilityProblems = useCapabilityProblems();
|
|
29
|
+
if (!rootLe || !partnershipLe || partnershipMemberCompanyId && !partnershipMemberCompanyLe) {
|
|
30
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
31
|
+
}
|
|
32
|
+
const problems = capabilityProblems && partnershipMemberCompanyId ? getProblemsForEntity(
|
|
33
|
+
capabilityProblems,
|
|
34
|
+
EntityType.LEGAL_ENTITY,
|
|
35
|
+
partnershipMemberCompanyId
|
|
36
|
+
) : void 0;
|
|
37
|
+
const country = getLegalEntityCountry(partnershipMemberCompanyLe ?? partnershipLe);
|
|
38
|
+
const partnershipMember = newMember ?? partnershipMembers.find((member) => member.legalEntityId === partnershipMemberCompanyId);
|
|
39
|
+
return /* @__PURE__ */ jsx(
|
|
40
|
+
BusinessDetailsDropin,
|
|
41
|
+
{
|
|
42
|
+
taskType: TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY,
|
|
43
|
+
taskName: "businessDetails",
|
|
44
|
+
legalEntityResponse: rootLe,
|
|
45
|
+
associatedLegalArrangement: partnershipLe,
|
|
46
|
+
nestedLegalEntity: partnershipMemberCompanyLe,
|
|
47
|
+
nestedLegalEntityDetails: partnershipMember,
|
|
48
|
+
problems,
|
|
49
|
+
country,
|
|
50
|
+
isTargetLegalEntityType,
|
|
51
|
+
onSubmit,
|
|
52
|
+
handleHomeClick
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}
|
|
56
|
+
export {
|
|
57
|
+
UnincorporatedPartnershipMemberCompanyPage
|
|
58
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
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] = "8cb7ff52-41f3-480b-bcfc-e956329c3051", e._sentryDebugIdIdentifier = "sentry-dbid-8cb7ff52-41f3-480b-bcfc-e956329c3051");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import register from "preact-custom-element";
|
|
12
|
+
import { S as ShadowStylesRoot, i as injectCss, E as EmbedShell, r as resolveEnvironment } from "./ShadowStylesRoot-DMxqA0py.js";
|
|
13
|
+
import { d as CreateIndividualComponent } from "./CreateIndividualComponent-BiMYdvQq.js";
|
|
14
|
+
const AdyenIndividual = ({
|
|
15
|
+
rootlegalentityid,
|
|
16
|
+
options: { fetchToken, environment, locale },
|
|
17
|
+
settings = {},
|
|
18
|
+
experiments = {},
|
|
19
|
+
view
|
|
20
|
+
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21
|
+
/* @__PURE__ */ jsx(ShadowStylesRoot, { injectCss }),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
EmbedShell,
|
|
24
|
+
{
|
|
25
|
+
componentName: "adyen-individual",
|
|
26
|
+
rootLegalEntityId: rootlegalentityid,
|
|
27
|
+
settings,
|
|
28
|
+
experiments,
|
|
29
|
+
getSdkToken: fetchToken,
|
|
30
|
+
locale,
|
|
31
|
+
baseUrl: resolveEnvironment(environment),
|
|
32
|
+
children: /* @__PURE__ */ jsx(CreateIndividualComponent, { legalEntityId: rootlegalentityid, modalView: view === "modal" })
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
] });
|
|
36
|
+
register(
|
|
37
|
+
AdyenIndividual,
|
|
38
|
+
"adyen-individual",
|
|
39
|
+
["rootlegalentityid", "options", "settings", "experiments", "view"],
|
|
40
|
+
{ shadow: true }
|
|
41
|
+
);
|
|
@@ -2,15 +2,12 @@
|
|
|
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] = "ea16d83c-5c68-4ba1-98b7-e528330419e8", e._sentryDebugIdIdentifier = "sentry-dbid-ea16d83c-5c68-4ba1-98b7-e528330419e8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C
|
|
11
|
-
if (CSS.supports("container", "foo / inline-size") === false) {
|
|
12
|
-
import("container-query-polyfill");
|
|
13
|
-
}
|
|
10
|
+
import { C } from "./index-D6YGuPb5.js";
|
|
14
11
|
export {
|
|
15
|
-
|
|
12
|
+
C as default
|
|
16
13
|
};
|
|
@@ -0,0 +1,41 @@
|
|
|
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] = "fb36d2e3-3b45-4b15-9468-d456aea4e368", e._sentryDebugIdIdentifier = "sentry-dbid-fb36d2e3-3b45-4b15-9468-d456aea4e368");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import register from "preact-custom-element";
|
|
12
|
+
import { S as ShadowStylesRoot, i as injectCss, E as EmbedShell, r as resolveEnvironment } from "./ShadowStylesRoot-DMxqA0py.js";
|
|
13
|
+
import { M as ManageIndividualComponent } from "./ManageIndividualComponent-D-47IZH6.js";
|
|
14
|
+
const AdyenManageIndividual = ({
|
|
15
|
+
rootlegalentityid,
|
|
16
|
+
onClick,
|
|
17
|
+
options: { fetchToken, environment, locale },
|
|
18
|
+
settings = {},
|
|
19
|
+
experiments = {}
|
|
20
|
+
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21
|
+
/* @__PURE__ */ jsx(ShadowStylesRoot, { injectCss }),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
EmbedShell,
|
|
24
|
+
{
|
|
25
|
+
componentName: "adyen-manage-individual",
|
|
26
|
+
rootLegalEntityId: rootlegalentityid,
|
|
27
|
+
settings,
|
|
28
|
+
experiments,
|
|
29
|
+
getSdkToken: fetchToken,
|
|
30
|
+
locale,
|
|
31
|
+
baseUrl: resolveEnvironment(environment),
|
|
32
|
+
children: /* @__PURE__ */ jsx(ManageIndividualComponent, { legalEntityId: rootlegalentityid, onClick })
|
|
33
|
+
}
|
|
34
|
+
)
|
|
35
|
+
] });
|
|
36
|
+
register(
|
|
37
|
+
AdyenManageIndividual,
|
|
38
|
+
"adyen-manage-individual",
|
|
39
|
+
["rootlegalentityid", "options", "settings", "experiments", "onClick"],
|
|
40
|
+
{ shadow: true }
|
|
41
|
+
);
|
|
@@ -0,0 +1,47 @@
|
|
|
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] = "df9b54d5-b6b3-4226-97de-03bbb7483454", e._sentryDebugIdIdentifier = "sentry-dbid-df9b54d5-b6b3-4226-97de-03bbb7483454");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import register from "preact-custom-element";
|
|
12
|
+
import { S as ShadowStylesRoot, i as injectCss, E as EmbedShell, r as resolveEnvironment } from "./ShadowStylesRoot-DMxqA0py.js";
|
|
13
|
+
import { A as AcceptTermsOfServiceComponent } from "./AcceptTermsOfServiceComponent-Ib77t0y9.js";
|
|
14
|
+
const AdyenTermsOfService = ({
|
|
15
|
+
rootlegalentityid,
|
|
16
|
+
options: { fetchToken, environment, locale },
|
|
17
|
+
settings = {},
|
|
18
|
+
experiments = {},
|
|
19
|
+
view
|
|
20
|
+
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
21
|
+
/* @__PURE__ */ jsx(ShadowStylesRoot, { injectCss }),
|
|
22
|
+
/* @__PURE__ */ jsx(
|
|
23
|
+
EmbedShell,
|
|
24
|
+
{
|
|
25
|
+
componentName: "adyen-terms-of-service",
|
|
26
|
+
rootLegalEntityId: rootlegalentityid,
|
|
27
|
+
settings,
|
|
28
|
+
experiments,
|
|
29
|
+
getSdkToken: fetchToken,
|
|
30
|
+
locale,
|
|
31
|
+
baseUrl: resolveEnvironment(environment),
|
|
32
|
+
children: /* @__PURE__ */ jsx(
|
|
33
|
+
AcceptTermsOfServiceComponent,
|
|
34
|
+
{
|
|
35
|
+
legalEntityId: rootlegalentityid,
|
|
36
|
+
modalView: view === "modal"
|
|
37
|
+
}
|
|
38
|
+
)
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
] });
|
|
42
|
+
register(
|
|
43
|
+
AdyenTermsOfService,
|
|
44
|
+
"adyen-terms-of-service",
|
|
45
|
+
["rootlegalentityid", "options", "settings", "experiments", "view"],
|
|
46
|
+
{ shadow: true }
|
|
47
|
+
);
|
|
@@ -0,0 +1,34 @@
|
|
|
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] = "50afd8a5-1300-4f6b-81b5-de4435ca0354", e._sentryDebugIdIdentifier = "sentry-dbid-50afd8a5-1300-4f6b-81b5-de4435ca0354");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import "./adyen-terms-of-service.js";
|
|
11
|
+
import { defineComponent } from "vue";
|
|
12
|
+
const _sfc_main = defineComponent({
|
|
13
|
+
props: {
|
|
14
|
+
// BaseEmbedProps
|
|
15
|
+
rootlegalentityid: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true
|
|
18
|
+
},
|
|
19
|
+
options: {
|
|
20
|
+
type: Object,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
settings: { type: Object, required: false },
|
|
24
|
+
experiments: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: false
|
|
27
|
+
},
|
|
28
|
+
// AdyenTermsOfServiceProps specific
|
|
29
|
+
view: { type: String, required: false }
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
export {
|
|
33
|
+
_sfc_main as _
|
|
34
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
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] = "afcfb60a-8a40-4d76-b7d1-d87cb402317d", e._sentryDebugIdIdentifier = "sentry-dbid-afcfb60a-8a40-4d76-b7d1-d87cb402317d");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import register from "preact-custom-element";
|
|
12
|
+
import { S as ShadowStylesRoot, i as injectCss, E as EmbedShell, r as resolveEnvironment } from "./ShadowStylesRoot-DMxqA0py.js";
|
|
13
|
+
import { C as CreateTransferInstrumentComponent } from "./CreateTransferInstrumentComponent-CaBD_3yr.js";
|
|
14
|
+
const AdyenTransferInstrument = ({
|
|
15
|
+
rootlegalentityid,
|
|
16
|
+
options: { fetchToken, environment, locale },
|
|
17
|
+
settings = {},
|
|
18
|
+
experiments = {},
|
|
19
|
+
transferinstrumentid,
|
|
20
|
+
view,
|
|
21
|
+
onSubmitSuccess
|
|
22
|
+
}) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
23
|
+
/* @__PURE__ */ jsx(ShadowStylesRoot, { injectCss }),
|
|
24
|
+
/* @__PURE__ */ jsx(
|
|
25
|
+
EmbedShell,
|
|
26
|
+
{
|
|
27
|
+
componentName: "adyen-transfer-instrument",
|
|
28
|
+
rootLegalEntityId: rootlegalentityid,
|
|
29
|
+
settings,
|
|
30
|
+
experiments,
|
|
31
|
+
getSdkToken: fetchToken,
|
|
32
|
+
locale,
|
|
33
|
+
baseUrl: resolveEnvironment(environment),
|
|
34
|
+
children: /* @__PURE__ */ jsx(
|
|
35
|
+
CreateTransferInstrumentComponent,
|
|
36
|
+
{
|
|
37
|
+
legalEntityId: rootlegalentityid,
|
|
38
|
+
transferInstrumentId: transferinstrumentid,
|
|
39
|
+
modalView: view === "modal",
|
|
40
|
+
onSubmitSuccess
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
)
|
|
45
|
+
] });
|
|
46
|
+
register(
|
|
47
|
+
AdyenTransferInstrument,
|
|
48
|
+
"adyen-transfer-instrument",
|
|
49
|
+
[
|
|
50
|
+
"rootlegalentityid",
|
|
51
|
+
"options",
|
|
52
|
+
"settings",
|
|
53
|
+
"experiments",
|
|
54
|
+
"transferinstrumentid",
|
|
55
|
+
"view",
|
|
56
|
+
"onSubmitSuccess"
|
|
57
|
+
],
|
|
58
|
+
{ shadow: true }
|
|
59
|
+
);
|
|
@@ -0,0 +1,45 @@
|
|
|
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] = "033206e4-7a8f-434c-b312-20f1f57b6310", e._sentryDebugIdIdentifier = "sentry-dbid-033206e4-7a8f-434c-b312-20f1f57b6310");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import "./adyen-transfer-instrument.js";
|
|
11
|
+
import { defineComponent } from "vue";
|
|
12
|
+
const _sfc_main = defineComponent({
|
|
13
|
+
props: {
|
|
14
|
+
// BaseEmbedProps
|
|
15
|
+
rootlegalentityid: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: true
|
|
18
|
+
},
|
|
19
|
+
options: {
|
|
20
|
+
type: Object,
|
|
21
|
+
required: true
|
|
22
|
+
},
|
|
23
|
+
settings: {
|
|
24
|
+
type: Object,
|
|
25
|
+
required: false
|
|
26
|
+
},
|
|
27
|
+
experiments: {
|
|
28
|
+
type: Object,
|
|
29
|
+
required: false
|
|
30
|
+
},
|
|
31
|
+
// AdyenTransferInstrumentProps specific
|
|
32
|
+
transferinstrumentid: {
|
|
33
|
+
type: String,
|
|
34
|
+
required: false
|
|
35
|
+
},
|
|
36
|
+
view: { type: String, required: false },
|
|
37
|
+
onSubmitSuccess: {
|
|
38
|
+
type: Function,
|
|
39
|
+
required: false
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
export {
|
|
44
|
+
_sfc_main as _
|
|
45
|
+
};
|