@adyen/kyc-components 4.0.0-beta.6 → 4.0.0-compact.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-Bp_pbi8W.js → AcceptTermsOfServiceComponent-BF24NWVw.js} +16 -16
- package/dist/{AccountSetupRejected-DHaw05S_.js → AccountSetupRejected-2t22lJUo.js} +5 -5
- package/dist/{Address-T_L756Fd.js → Address-DSwfzWFu.js} +8 -8
- package/dist/{Alert-BZ-Nbp3n.js → Alert-C24s_Ygs.js} +2 -2
- package/dist/{Avatar-CZRMcyig.js → Avatar-DQjt5Lk2.js} +2 -2
- package/dist/{BusinessDetailsDropin-BCEl6ugY.js → BusinessDetailsDropin-CRFPvWuD.js} +34 -34
- package/dist/BusinessFinancingComponent-y2_kC8bx.js +45 -0
- package/dist/{BusinessFinancingDropin-Bu7y-kHJ.js → BusinessFinancingDropin-C-xm14b8.js} +23 -23
- package/dist/BusinessFinancingPage-BOG7yrw6.js +40 -0
- package/dist/{BusinessTypeSelectionPage-D7LnoZsb.js → BusinessTypeSelectionPage-ujY2jj6B.js} +7 -7
- package/dist/{Card-BEgeVmvV.js → Card-BMuquALf.js} +4 -4
- package/dist/{Confirm-CgkKXlLy.js → Confirm-DwutojkY.js} +3 -3
- package/dist/{CountryField-DrVg4pbc.js → CountryField-D0YZrov9.js} +5 -5
- package/dist/CreateIndividualComponent-VZWLAo0l.js +72 -0
- package/dist/CreateTransferInstrumentComponent-OtReN6Cy.js +67 -0
- package/dist/{Currency-DvQxk7WJ.js → Currency-BECbMsi5.js} +6 -6
- package/dist/{CustomerSupport-BAdzjndM.js → CustomerSupport-B8zC_huY.js} +9 -9
- package/dist/{DebugModal-Dr3FKql6.js → DebugModal-CshTHx0o.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-DPlXbmD6.js → DecisionMakerDetailsPage-BJUwR4R7.js} +8 -8
- package/dist/{DecisionMakers-Doo6HxK4.js → DecisionMakers-BDNa3HcC.js} +19 -19
- package/dist/{Dropzone-E3lXPgPY.js → Dropzone-D6dXhmL4.js} +4 -4
- package/dist/{EmbeddedStatus-C17AoFjV.js → EmbeddedStatus-BHTZcjUN.js} +3 -3
- package/dist/{EndStateLayout-Bc-JoLaP.js → EndStateLayout-CyGtLyvf.js} +2 -2
- package/dist/{FormFlow-Di-9Yq0J.js → FormFlow-CZ9f5X0C.js} +7 -7
- package/dist/{FormNavigation-Ch8lpQQK.js → FormNavigation-ezxkIqdb.js} +2 -2
- package/dist/{IndividualOnfidoDropin-CYTsxyiK.js → IndividualOnfidoDropin-vuHu-O_C.js} +39 -39
- package/dist/{InputDate-D1xYE8M2.js → InputDate-CHygOGiS.js} +2 -2
- package/dist/{InputText-oE96xgGf.js → InputText-BX5sG9WJ.js} +3 -3
- package/dist/{Introduction-DgTGlm3M.js → Introduction-BsKwELuc.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-MdE-WFrw.js → LegalRepresentativeDetailsPage-DtMHe1Nq.js} +6 -6
- package/dist/{Link-FLNV2uQx.js → Link-BFdxU8qh.js} +2 -2
- package/dist/ManageIndividualComponent-By_fCmN1.js +47 -0
- package/dist/ManageTermsOfServiceComponent-D7F44OPD.js +47 -0
- package/dist/{ManageTransferInstrumentComponent-D7fZtGPd.js → ManageTransferInstrumentComponent-DywpP5PK.js} +15 -15
- package/dist/{MaskedInput-CP1lOY03.js → MaskedInput-BZ7t98eu.js} +4 -4
- package/dist/{MaybeModal-DebkHJrB.js → MaybeModal-CE9kYOrU.js} +3 -3
- package/dist/{Modal-DQZ4dMFr.js → Modal-nMRQDTF7.js} +2 -2
- package/dist/{OnboardingDropinComponent-DpN0iLAh.js → OnboardingDropinComponent-B0GrJ_pR.js} +47 -47
- package/dist/{PayoutDetailsDropin-oU6yHXFO.js → PayoutDetailsDropin-BJIqXmPn.js} +27 -27
- package/dist/{RadioGroup-C1kODuZr.js → RadioGroup-CYDXrtrO.js} +5 -5
- package/dist/{RegistrationAddress-bS2rqYF2.js → RegistrationAddress-qtMZa31b.js} +13 -13
- package/dist/{Review-BID_uj8P.js → Review-D7NEYFoT.js} +7 -7
- package/dist/{RootBusinessDetailsPage-DSSqJDxv.js → RootBusinessDetailsPage-rCbGLBEv.js} +29 -29
- package/dist/{RootIndividualDetailsPage-CqGLe5Fd.js → RootIndividualDetailsPage-B3TkB6Xj.js} +6 -6
- package/dist/{SignPCIComponent-WJxyytsK.js → SignPCIComponent-C0iYfSl6.js} +12 -12
- package/dist/{SingpassSelection-BkLexUYc.js → SingpassSelection-ClMlwfoj.js} +4 -4
- package/dist/SoleProprietorshipPage-JKNrAy74.js +50 -0
- package/dist/{SourceOfFundsPage-qO5AsbyN.js → SourceOfFundsPage-D-pN33-9.js} +28 -28
- package/dist/{StepProgressIndicator-B6jW885Y.js → StepProgressIndicator-BWCQmDeV.js} +2 -2
- package/dist/{StoreProvider-DOveEVCE.js → StoreProvider-BlaJzXSZ.js} +5 -5
- package/dist/{TaskItemStatus-gY3QqCXW.js → TaskItemStatus-B38keERo.js} +2 -2
- package/dist/{TaskStatusIndicator-DjKfmLWk.js → TaskStatusIndicator-BIvTrQtf.js} +2 -2
- package/dist/{TaxInformationField-BjN-COCm.js → TaxInformationField-DS0m73if.js} +13 -13
- package/dist/{TaxReportingDropin-XLlkh9dR.js → TaxReportingDropin-CVbVkFhv.js} +19 -19
- package/dist/{TileGroup-Bf_KPczL.js → TileGroup-CztY53P9.js} +3 -3
- package/dist/{TrustDetailsPage-BLeUJoAV.js → TrustDetailsPage-C791Wu5u.js} +23 -23
- package/dist/{TrustMemberCompanyPage-Bsm7gi_e.js → TrustMemberCompanyPage-BOQ5D3y4.js} +7 -7
- package/dist/{TrustMemberIndividualPage-CzHIlZHD.js → TrustMemberIndividualPage-BPIXX2Mh.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-DpJ-j3fn.js → UnincorporatedPartnershipIndividualPage-vzn0R02z.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-2Wgz_aQr.js → UnincorporatedPartnershipMemberCompanyPage-C-kGU5Sh.js} +7 -7
- package/dist/{ViewVerificationStatusComponent-B15vbIws.js → ViewVerificationStatusComponent-BTW-Vw9I.js} +4 -4
- package/dist/adyen-business-financing.js +3 -3
- package/dist/adyen-individual-configuration.js +3 -3
- package/dist/adyen-individual-status.js +3 -3
- package/dist/adyen-kyc-components.js +21 -21
- package/dist/adyen-onboarding.js +3 -3
- package/dist/adyen-terms-of-service-management.js +3 -3
- package/dist/adyen-terms-of-service-status.js +3 -3
- package/dist/adyen-transfer-instrument-configuration.js +3 -3
- package/dist/adyen-transfer-instrument-management.js +3 -3
- package/dist/adyen-verification-status.js +3 -3
- package/dist/{analytics-2hGA-cx1.js → analytics-3-a-Od7Z.js} +2 -2
- package/dist/{bafinUtils-CVA17xYo.js → bafinUtils-Bar3qiJA.js} +6 -6
- package/dist/{commonValidators-DCM5UhH6.js → commonValidators-Bk0SSjsH.js} +2 -2
- package/dist/{dropinUtils-1GeCqEl1.js → dropinUtils-DHp5v5jB.js} +3 -3
- package/dist/{fieldConfigurations-DPY7jB8k.js → fieldConfigurations-B8bDFQ53.js} +7 -7
- package/dist/{getName-CGZCNwuc.js → getName-DJlhsDj_.js} +2 -2
- package/dist/{hasDataChanged-Of2J5c2Y.js → hasDataChanged-BgvxL-Hx.js} +2 -2
- package/dist/{iframeWidget-DQYem3Qa.js → iframeWidget-Bftkd3v_.js} +4 -4
- package/dist/{isEmpty-DBj6NFoa.js → isEmpty-CuQFhMf0.js} +2 -2
- package/dist/{localizeDateString-BxmEwC2K.js → localizeDateString-DHsivjy2.js} +2 -2
- package/dist/{mapExistingFile-gPqgSwUG.js → mapExistingFile-DW5ktJzM.js} +4 -4
- package/dist/{mapScriptLocalization-DFBF9KfC.js → mapScriptLocalization-CI-Ydp2z.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-DNWPt3mW.js → mapTransferInstrumentToPayoutAccount-CAoOlPMA.js} +2 -2
- package/dist/{resolveEnvironment-DJiDAGo-.js → resolveEnvironment-BGYn6Ls_.js} +3 -3
- package/dist/{rules-Bo1d6dAJ.js → rules-DP3jxPzq.js} +4 -4
- package/dist/{translation-IYHo-_Mc.js → translation-DJHWTow9.js} +2 -2
- package/dist/{types-DHWLJwxd.js → types-CP1NRoE8.js} +2 -2
- package/dist/{types-D2sEEWDi.js → types-K58FM7k4.js} +2 -2
- package/dist/{useAssociatedLegalEntity-Bp8XC2L3.js → useAssociatedLegalEntity-G30FPhOX.js} +2 -2
- package/dist/{useDataset-D4mnA6DC.js → useDataset-BgvQQEKd.js} +2 -2
- package/dist/{useForm-B58-dXq6.js → useForm-C1DW3mPC.js} +3 -3
- package/dist/{useGlobalData-BrYDijKl.js → useGlobalData-jb7ua9I6.js} +10 -10
- package/dist/{useMultiForm-PsSG8YB6.js → useMultiForm-BucfLW49.js} +4 -4
- package/dist/{useOnboardingStatus--VMqrDT7.js → useOnboardingStatus-CTgWLZxC.js} +2 -2
- package/dist/{useScenarios-Bf3RLF-w.js → useScenarios-B7IWZ3xW.js} +2 -2
- package/dist/{useTermsOfServiceStatus-3C9pGiD7.js → useTermsOfServiceStatus-B0dIrYTA.js} +2 -2
- package/dist/{useToastContext-DuFRr5GY.js → useToastContext-DGMeMy5R.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-Jv04xMZi.js → useUnincorporatedPartnershipMembers-BCvmGMOX.js} +5 -5
- package/dist/{utils-CPUXDoS0.js → utils-Bwnj33y_.js} +7 -7
- package/dist/{utils-CJuL6b9p.js → utils-CXtNbmpA.js} +2 -2
- package/dist/{utils-Ble2523K.js → utils-CgOzbb9O.js} +2 -2
- package/dist/{validate-BxKz7xY8.js → validate-B5PwC1oL.js} +2 -2
- package/dist/{validate-DN9Kvy9b.js → validate-BRz0LPdo.js} +7 -7
- package/dist/{validate-BtJFnIGb.js → validate-CvtamBXH.js} +4 -4
- package/dist/{validationError-Dr817hGf.js → validationError-DOCbfk7K.js} +2 -2
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-C6_BGjEv.js +0 -45
- package/dist/BusinessFinancingPage-D0NzYc0c.js +0 -40
- package/dist/CreateIndividualComponent-DiIekvBi.js +0 -72
- package/dist/CreateTransferInstrumentComponent-CntLlhRB.js +0 -67
- package/dist/ManageIndividualComponent-Mu9yOtmo.js +0 -47
- package/dist/ManageTermsOfServiceComponent-DrIHTlGb.js +0 -47
- package/dist/SoleProprietorshipPage-CQH-lT79.js +0 -50
- package/dist/bg-BG-9uVrFuHv.js +0 -23
- package/dist/bg-BG-B0-ZcjR0.js +0 -22
- package/dist/bg-BG-BY3Wa361.js +0 -54
- package/dist/bg-BG-BYkC3yKf.js +0 -58
- package/dist/bg-BG-CMomhopf.js +0 -35
- package/dist/bg-BG-CW9c658c.js +0 -13
- package/dist/bg-BG-CZ8v3rdy.js +0 -30
- package/dist/bg-BG-D5192UVe.js +0 -35
- package/dist/bg-BG-QC5irNEG.js +0 -33
- package/dist/bg-BG-hFblesn-.js +0 -15
- package/dist/cs-CZ-B8IPRc47.js +0 -15
- package/dist/cs-CZ-BEFeaKsV.js +0 -54
- package/dist/cs-CZ-DMzortvO.js +0 -35
- package/dist/cs-CZ-DOqH0WeT.js +0 -35
- package/dist/cs-CZ-Dk1ePReM.js +0 -22
- package/dist/cs-CZ-Dx6momCa.js +0 -30
- package/dist/cs-CZ-Wzc382q6.js +0 -23
- package/dist/cs-CZ-dU9fnQ1g.js +0 -13
- package/dist/cs-CZ-t297LwYw.js +0 -33
- package/dist/cs-CZ-zTkICtXj.js +0 -58
- package/dist/el-GR-B5j7VZ3E.js +0 -54
- package/dist/el-GR-B69zcWyB.js +0 -22
- package/dist/el-GR-BZRKurtr.js +0 -13
- package/dist/el-GR-C3rkK_oc.js +0 -35
- package/dist/el-GR-CK2heqPJ.js +0 -30
- package/dist/el-GR-Cu9HwD-f.js +0 -15
- package/dist/el-GR-CxwhV-TX.js +0 -33
- package/dist/el-GR-DGW388LZ.js +0 -35
- package/dist/el-GR-DaO38A1s.js +0 -58
- package/dist/el-GR-DfNOPkLq.js +0 -23
- package/dist/et-EE-BCnK305R.js +0 -13
- package/dist/et-EE-BJIsPOnh.js +0 -23
- package/dist/et-EE-Bc6ioJRG.js +0 -35
- package/dist/et-EE-Co-8akjV.js +0 -30
- package/dist/et-EE-D5lRJbMZ.js +0 -35
- package/dist/et-EE-DF_GqBgK.js +0 -58
- package/dist/et-EE-DUWZ2Vqm.js +0 -54
- package/dist/et-EE-DdGlUpaQ.js +0 -33
- package/dist/et-EE-Dor3enPS.js +0 -15
- package/dist/et-EE-Dw-aPF7J.js +0 -22
- package/dist/hr-HR-C0yWizOX.js +0 -33
- package/dist/hr-HR-CNzbyo9r.js +0 -15
- package/dist/hr-HR-CPO5Yw2B.js +0 -35
- package/dist/hr-HR-CbxEvbrE.js +0 -22
- package/dist/hr-HR-CjA4MWAU.js +0 -58
- package/dist/hr-HR-CnP5sqih.js +0 -54
- package/dist/hr-HR-CzSrqEFA.js +0 -35
- package/dist/hr-HR-DqC8Cgs6.js +0 -30
- package/dist/hr-HR-DzS44Gpv.js +0 -23
- package/dist/hr-HR-ZreFlbK9.js +0 -13
- package/dist/hu-HU-B3BihdGh.js +0 -13
- package/dist/hu-HU-BOanVlKb.js +0 -30
- package/dist/hu-HU-BSOiZA7a.js +0 -15
- package/dist/hu-HU-BTlpbCpc.js +0 -54
- package/dist/hu-HU-D0C6UfXB.js +0 -22
- package/dist/hu-HU-NhwFr6o-.js +0 -58
- package/dist/hu-HU-mo_0ULJG.js +0 -35
- package/dist/hu-HU-wnSie9tz.js +0 -33
- package/dist/hu-HU-xCvNM5TU.js +0 -23
- package/dist/hu-HU-zK6nUqWr.js +0 -35
- package/dist/ja-JP-B2txEVPx.js +0 -22
- package/dist/ja-JP-BJljbFIZ.js +0 -30
- package/dist/ja-JP-BUz3qN-V.js +0 -23
- package/dist/ja-JP-CbgaW99b.js +0 -54
- package/dist/ja-JP-D3oQAH7z.js +0 -35
- package/dist/ja-JP-DXcP0ojZ.js +0 -58
- package/dist/ja-JP-GXkLvnQ4.js +0 -15
- package/dist/ja-JP-YoU7mNrK.js +0 -33
- package/dist/ja-JP-iTbqSPNL.js +0 -13
- package/dist/ja-JP-weDU8GLW.js +0 -35
- package/dist/lt-LT-B6CJ4ULI.js +0 -23
- package/dist/lt-LT-BUYY0LaT.js +0 -35
- package/dist/lt-LT-CVasDmF3.js +0 -35
- package/dist/lt-LT-C_YMgjp9.js +0 -22
- package/dist/lt-LT-DE-4IXNG.js +0 -13
- package/dist/lt-LT-DIe4cKlu.js +0 -33
- package/dist/lt-LT-DNjXmQPv.js +0 -15
- package/dist/lt-LT-DTQGR9M0.js +0 -54
- package/dist/lt-LT-DckQGgoT.js +0 -30
- package/dist/lt-LT-tXTApHm2.js +0 -58
- package/dist/lv-LV-B3sT3_cw.js +0 -22
- package/dist/lv-LV-B9js9VoA.js +0 -35
- package/dist/lv-LV-BQ4F1GrV.js +0 -54
- package/dist/lv-LV-CeivEZms.js +0 -13
- package/dist/lv-LV-ChOoZuhc.js +0 -15
- package/dist/lv-LV-DP9oRTFv.js +0 -30
- package/dist/lv-LV-DSaQNC67.js +0 -58
- package/dist/lv-LV-DTtuyfHS.js +0 -23
- package/dist/lv-LV-DXgW5zWl.js +0 -33
- package/dist/lv-LV-Sbsv8-nD.js +0 -35
- package/dist/pl-PL--qPaNyJD.js +0 -22
- package/dist/pl-PL-1ylK-_FE.js +0 -35
- package/dist/pl-PL-C89s21hn.js +0 -58
- package/dist/pl-PL-CQ6c2Qz_.js +0 -30
- package/dist/pl-PL-D6heiKsH.js +0 -15
- package/dist/pl-PL-DD8JN4Qf.js +0 -35
- package/dist/pl-PL-DFAzuceF.js +0 -13
- package/dist/pl-PL-T6uD5--R.js +0 -23
- package/dist/pl-PL-UB5J5JcB.js +0 -33
- package/dist/pl-PL-kGaeUP-w.js +0 -54
- package/dist/ro-RO-BLuOjrS0.js +0 -22
- package/dist/ro-RO-BrTWk1Ui.js +0 -30
- package/dist/ro-RO-C3m6aJVP.js +0 -35
- package/dist/ro-RO-C83h2zHZ.js +0 -54
- package/dist/ro-RO-C8yYXQc_.js +0 -33
- package/dist/ro-RO-CpGd9emB.js +0 -58
- package/dist/ro-RO-D7c_Rj8V.js +0 -13
- package/dist/ro-RO-DL9V1CMj.js +0 -15
- package/dist/ro-RO-Dfx0g3bU.js +0 -35
- package/dist/ro-RO-Ic1SzBgx.js +0 -23
- package/dist/sk-SK-BBSuh2fA.js +0 -13
- package/dist/sk-SK-BSioQTMW.js +0 -15
- package/dist/sk-SK-BTFtoPmI.js +0 -30
- package/dist/sk-SK-BVc-vNQm.js +0 -35
- package/dist/sk-SK-C1Ky2nl_.js +0 -22
- package/dist/sk-SK-CgLJIuJw.js +0 -54
- package/dist/sk-SK-CiD0FeLN.js +0 -23
- package/dist/sk-SK-DbOE9C6n.js +0 -33
- package/dist/sk-SK-DlX5KvBV.js +0 -58
- package/dist/sk-SK-iO863_t2.js +0 -35
- package/dist/sl-SI-BLTuWNf5.js +0 -13
|
@@ -0,0 +1,72 @@
|
|
|
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] = "a6f998e9-d297-4ab6-80b9-71152ce5f9cb", e._sentryDebugIdIdentifier = "sentry-dbid-a6f998e9-d297-4ab6-80b9-71152ce5f9cb");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DJHWTow9.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { c as useLegalEntity, X as useExperimentsContext, a as useTranslation, L as Loader, g as getLegalEntityCountry, J as EntityTypes, ag as isOnfidoAutofillFlowEnabled, M as TaskTypes } from "./StoreProvider-BlaJzXSZ.js";
|
|
13
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-B8bDFQ53.js";
|
|
14
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-vuHu-O_C.js";
|
|
15
|
+
const CreateIndividualComponent = ({
|
|
16
|
+
legalEntityId,
|
|
17
|
+
onSubmitSuccess,
|
|
18
|
+
modalView = false,
|
|
19
|
+
onClose,
|
|
20
|
+
onUnmount
|
|
21
|
+
}) => {
|
|
22
|
+
if (!legalEntityId) {
|
|
23
|
+
throw new Error("Must provide a legalEntityId");
|
|
24
|
+
}
|
|
25
|
+
const { data: individualLe } = useLegalEntity(legalEntityId);
|
|
26
|
+
const capabilityProblems = useCapabilityProblems();
|
|
27
|
+
const { isExperimentEnabled } = useExperimentsContext();
|
|
28
|
+
const { i18n } = useTranslation();
|
|
29
|
+
addResourceBundles(i18n, i18n.language, [
|
|
30
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BlaJzXSZ.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
31
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-D4H69PX3.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wp5-H-ov.js"), "../../ui/language/en-US.json": () => import("./en-US-CAm3meB1.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Ds3-DtqZ.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-DPNeTsJS.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-ChmNQciP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-eCrTB65E.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-D2QKudfh.js"), "../../ui/language/no-NO.json": () => import("./no-NO-C_snYWBc.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-C-hbNnsB.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-BhVTSmhQ.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-66rqYTxi.js") }), `../../ui/language/${i18n.language}.json`, 5) },
|
|
32
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Individual/language/da-DK.json": () => import("./da-DK-D0N1TVVU.js"), "../../Individual/language/de-DE.json": () => import("./de-DE-Dtuu-nE7.js"), "../../Individual/language/en-US.json": () => import("./en-US-546hB2Wn.js"), "../../Individual/language/es-ES.json": () => import("./es-ES-BsQpwaPN.js"), "../../Individual/language/fi-FI.json": () => import("./fi-FI-BJ9RzrL3.js"), "../../Individual/language/fr-FR.json": () => import("./fr-FR-CNR5-s9g.js"), "../../Individual/language/it-IT.json": () => import("./it-IT-BV9K87FK.js"), "../../Individual/language/nl-NL.json": () => import("./nl-NL-DywVQ9km.js"), "../../Individual/language/no-NO.json": () => import("./no-NO-B8oxqfNI.js"), "../../Individual/language/pt-PT.json": () => import("./pt-PT-BvK00TeI.js"), "../../Individual/language/sl-SI.json": () => import("./sl-SI-NI2OJAvm.js"), "../../Individual/language/sv-SE.json": () => import("./sv-SE-CAZpDX9G.js") }), `../../Individual/language/${i18n.language}.json`, 5) }
|
|
33
|
+
]);
|
|
34
|
+
const handleOnClose = () => {
|
|
35
|
+
if (modalView) {
|
|
36
|
+
onUnmount?.();
|
|
37
|
+
}
|
|
38
|
+
onClose?.();
|
|
39
|
+
};
|
|
40
|
+
const onSubmit = (d) => {
|
|
41
|
+
if (modalView) {
|
|
42
|
+
onUnmount?.();
|
|
43
|
+
}
|
|
44
|
+
onSubmitSuccess?.(d);
|
|
45
|
+
};
|
|
46
|
+
if (!individualLe) {
|
|
47
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
48
|
+
}
|
|
49
|
+
const country = getLegalEntityCountry(individualLe);
|
|
50
|
+
const problems = capabilityProblems ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, individualLe.id) : void 0;
|
|
51
|
+
const isOnfidoAutofillFlow = isOnfidoAutofillFlowEnabled(
|
|
52
|
+
country,
|
|
53
|
+
TaskTypes.INDIVIDUAL,
|
|
54
|
+
isExperimentEnabled
|
|
55
|
+
);
|
|
56
|
+
const props = {
|
|
57
|
+
taskType: TaskTypes.INDIVIDUAL,
|
|
58
|
+
taskName: "individualDetails",
|
|
59
|
+
legalEntityResponse: individualLe,
|
|
60
|
+
problems,
|
|
61
|
+
country,
|
|
62
|
+
asModal: modalView,
|
|
63
|
+
hideSidebar: true,
|
|
64
|
+
onSubmit,
|
|
65
|
+
handleHomeClick: handleOnClose,
|
|
66
|
+
handleCloseClick: handleOnClose
|
|
67
|
+
};
|
|
68
|
+
return isOnfidoAutofillFlow ? /* @__PURE__ */ jsx(IndividualOnfidoDropin, { ...props }) : /* @__PURE__ */ jsx(IndividualDropin, { ...props });
|
|
69
|
+
};
|
|
70
|
+
export {
|
|
71
|
+
CreateIndividualComponent as C
|
|
72
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
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] = "9e057674-335c-41b1-8276-314f93232e79", e._sentryDebugIdIdentifier = "sentry-dbid-9e057674-335c-41b1-8276-314f93232e79");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DJHWTow9.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { useState } from "preact/hooks";
|
|
13
|
+
import { a as useTranslation, c as useLegalEntity, y as LegalEntityTypes, L as Loader, M as TaskTypes } from "./StoreProvider-BlaJzXSZ.js";
|
|
14
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-G30FPhOX.js";
|
|
15
|
+
import { P as PayoutDetailsDropin } from "./PayoutDetailsDropin-BJIqXmPn.js";
|
|
16
|
+
function CreateTransferInstrumentComponent({
|
|
17
|
+
legalEntityId,
|
|
18
|
+
transferInstrumentId,
|
|
19
|
+
openBankingPartnerConfigId,
|
|
20
|
+
modalView = false,
|
|
21
|
+
onClose,
|
|
22
|
+
onUnmount,
|
|
23
|
+
onSubmitSuccess,
|
|
24
|
+
handleBackClick
|
|
25
|
+
}) {
|
|
26
|
+
const [currentTransferInstrumentId, setCurrentTransferInstrumentId] = useState(transferInstrumentId);
|
|
27
|
+
const { i18n } = useTranslation();
|
|
28
|
+
const { data: legalEntity, isLoading: isLegalEntityLoading } = useLegalEntity(legalEntityId);
|
|
29
|
+
const { data: associatedEntity } = useAssociatedLegalEntity(legalEntity, [
|
|
30
|
+
LegalEntityTypes.SOLE_PROPRIETORSHIP,
|
|
31
|
+
LegalEntityTypes.TRUST,
|
|
32
|
+
LegalEntityTypes.UNINCORPORATED_PARTNERSHIP
|
|
33
|
+
]);
|
|
34
|
+
addResourceBundles(i18n, i18n.language, [
|
|
35
|
+
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "../../../language/locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "../../../language/locales/en-US.instructions.json": () => import("./en-US.instructions-Ddr7AO05.js"), "../../../language/locales/en-US.json": () => import("./StoreProvider-BlaJzXSZ.js").then((n) => n.bN), "../../../language/locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "../../../language/locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "../../../language/locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "../../../language/locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "../../../language/locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "../../../language/locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "../../../language/locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "../../../language/locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") }), `../../../language/locales/${i18n.language}.json`, 6) },
|
|
36
|
+
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/da-DK.json": () => import("./da-DK-D4H69PX3.js"), "../../ui/language/de-DE.json": () => import("./de-DE-wp5-H-ov.js"), "../../ui/language/en-US.json": () => import("./en-US-CAm3meB1.js"), "../../ui/language/es-ES.json": () => import("./es-ES-Ds3-DtqZ.js"), "../../ui/language/fi-FI.json": () => import("./fi-FI-DPNeTsJS.js"), "../../ui/language/fr-FR.json": () => import("./fr-FR-ChmNQciP.js"), "../../ui/language/it-IT.json": () => import("./it-IT-eCrTB65E.js"), "../../ui/language/nl-NL.json": () => import("./nl-NL-D2QKudfh.js"), "../../ui/language/no-NO.json": () => import("./no-NO-C_snYWBc.js"), "../../ui/language/pt-PT.json": () => import("./pt-PT-C-hbNnsB.js"), "../../ui/language/sl-SI.json": () => import("./sl-SI-BhVTSmhQ.js"), "../../ui/language/sv-SE.json": () => import("./sv-SE-66rqYTxi.js") }), `../../ui/language/${i18n.language}.json`, 5) },
|
|
37
|
+
{
|
|
38
|
+
ns: "banking",
|
|
39
|
+
importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../BankAccount/language/da-DK.json": () => import("./da-DK-q2b_1elr.js"), "../../BankAccount/language/de-DE.json": () => import("./de-DE-D2ByeIZs.js"), "../../BankAccount/language/en-US.json": () => import("./en-US-BQpgt41j.js"), "../../BankAccount/language/es-ES.json": () => import("./es-ES-WWftn3JX.js"), "../../BankAccount/language/fi-FI.json": () => import("./fi-FI-D9E_KaJi.js"), "../../BankAccount/language/fr-FR.json": () => import("./fr-FR-Cv0k-3Xc.js"), "../../BankAccount/language/it-IT.json": () => import("./it-IT-C_fNHhjE.js"), "../../BankAccount/language/nl-NL.json": () => import("./nl-NL-DLedC3mO.js"), "../../BankAccount/language/no-NO.json": () => import("./no-NO-CpVal4cV.js"), "../../BankAccount/language/pt-PT.json": () => import("./pt-PT-BkvMsoK4.js"), "../../BankAccount/language/sl-SI.json": () => import("./sl-SI-Cth2Qa5T.js"), "../../BankAccount/language/sv-SE.json": () => import("./sv-SE-OPOHtqtP.js") }), `../../BankAccount/language/${i18n.language}.json`, 5)
|
|
40
|
+
}
|
|
41
|
+
]);
|
|
42
|
+
const handleOnClose = () => {
|
|
43
|
+
if (modalView) {
|
|
44
|
+
onUnmount?.();
|
|
45
|
+
}
|
|
46
|
+
onClose?.();
|
|
47
|
+
};
|
|
48
|
+
return isLegalEntityLoading || !legalEntity ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsx(
|
|
49
|
+
PayoutDetailsDropin,
|
|
50
|
+
{
|
|
51
|
+
legalEntityResponse: legalEntity,
|
|
52
|
+
associatedLegalArrangement: associatedEntity,
|
|
53
|
+
openBankingPartnerConfigId,
|
|
54
|
+
handleBackClick,
|
|
55
|
+
handleCloseClick: handleOnClose,
|
|
56
|
+
currentTransferInstrumentId,
|
|
57
|
+
setCurrentTransferInstrumentId,
|
|
58
|
+
onSubmit: onSubmitSuccess,
|
|
59
|
+
taskType: TaskTypes.PAYOUT,
|
|
60
|
+
hideSidebar: true,
|
|
61
|
+
asModal: modalView
|
|
62
|
+
}
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
export {
|
|
66
|
+
CreateTransferInstrumentComponent as C
|
|
67
|
+
};
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "455ba446-ef92-46ac-9e8b-92391ea565fd", e._sentryDebugIdIdentifier = "sentry-dbid-455ba446-ef92-46ac-9e8b-92391ea565fd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
11
|
-
import { b1 as drop, b as useApiContext, j as useQuery, o as httpGet, u as useI18nContext, N as createLogger, i as isUndefinedOrNull, a as useTranslation } from "./StoreProvider-
|
|
10
|
+
import { i as isDateOlderThanAYear } from "./Address-DSwfzWFu.js";
|
|
11
|
+
import { b1 as drop, b as useApiContext, j as useQuery, o as httpGet, u as useI18nContext, N as createLogger, i as isUndefinedOrNull, a as useTranslation } from "./StoreProvider-BlaJzXSZ.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useEffect, useCallback, useMemo, useState } from "preact/hooks";
|
|
14
|
-
import { F as Field, c as Select } from "./useForm-
|
|
15
|
-
import { I as InputText, a as InputBase } from "./InputText-
|
|
16
|
-
import { c as currencyByCountry } from "./types-
|
|
14
|
+
import { F as Field, c as Select } from "./useForm-C1DW3mPC.js";
|
|
15
|
+
import { I as InputText, a as InputBase } from "./InputText-BX5sG9WJ.js";
|
|
16
|
+
import { c as currencyByCountry } from "./types-K58FM7k4.js";
|
|
17
17
|
const mapFinancialInformationToFinancialReport = ({
|
|
18
18
|
currency,
|
|
19
19
|
financialReportingDate,
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "5ce12a77-748b-47d0-9523-a150d47c928f", e._sentryDebugIdIdentifier = "sentry-dbid-5ce12a77-748b-47d0-9523-a150d47c928f");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE, L as Loader, a as useTranslation, U as useAnalyticsContext, aC as useQueryClient, N as createLogger } from "./StoreProvider-
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, L as Loader, a as useTranslation, U as useAnalyticsContext, aC as useQueryClient, N as createLogger } from "./StoreProvider-BlaJzXSZ.js";
|
|
12
12
|
import { useCallback, useMemo, useEffect } from "preact/hooks";
|
|
13
|
-
import { a as useUpdateLegalEntity } from "./RadioGroup-
|
|
14
|
-
import { a as contactDetailsValidationRules, d as defaultFieldMetadata, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails } from "./validate-
|
|
15
|
-
import { F as FormHeader } from "./CountryField-
|
|
16
|
-
import { u as useToastContext } from "./useToastContext-
|
|
17
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
18
|
-
import { r as resolveFieldMetadata } from "./fieldConfigurations-
|
|
19
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
13
|
+
import { a as useUpdateLegalEntity } from "./RadioGroup-CYDXrtrO.js";
|
|
14
|
+
import { a as contactDetailsValidationRules, d as defaultFieldMetadata, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules, C as ContactDetails } from "./validate-BRz0LPdo.js";
|
|
15
|
+
import { F as FormHeader } from "./CountryField-D0YZrov9.js";
|
|
16
|
+
import { u as useToastContext } from "./useToastContext-DGMeMy5R.js";
|
|
17
|
+
import { u as useMultiForm } from "./useMultiForm-BucfLW49.js";
|
|
18
|
+
import { r as resolveFieldMetadata } from "./fieldConfigurations-B8bDFQ53.js";
|
|
19
|
+
import { A as ActionBar } from "./FormNavigation-ezxkIqdb.js";
|
|
20
20
|
const mapCustomerSupportSchemaToCustomerSupportType = (customerSupport) => {
|
|
21
21
|
return {
|
|
22
22
|
email: customerSupport?.customerSupport?.email || "",
|
|
@@ -2,20 +2,20 @@
|
|
|
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] = "a0e18fad-53d7-4828-b466-b77237ee2eb4", e._sentryDebugIdIdentifier = "sentry-dbid-a0e18fad-53d7-4828-b466-b77237ee2eb4");
|
|
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 } from "preact/hooks";
|
|
12
|
-
import { B as Button, az as entriesOf, a as useTranslation, bA as splitTaskIdentifier, X as useExperimentsContext, m as useSettingsContext, u as useI18nContext, $ as useGlobalStore, bd as listToRecord, bB as valuesOf, N as createLogger, V as Icon } from "./StoreProvider-
|
|
13
|
-
import { M as Modal } from "./Modal-
|
|
12
|
+
import { B as Button, az as entriesOf, a as useTranslation, bA as splitTaskIdentifier, X as useExperimentsContext, m as useSettingsContext, u as useI18nContext, $ as useGlobalStore, bd as listToRecord, bB as valuesOf, N as createLogger, V as Icon } from "./StoreProvider-BlaJzXSZ.js";
|
|
13
|
+
import { M as Modal } from "./Modal-nMRQDTF7.js";
|
|
14
14
|
import { E as ExperimentNames } from "./types-CAznNNSI.js";
|
|
15
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
15
|
+
import { I as InputText, S as SettingNames } from "./InputText-BX5sG9WJ.js";
|
|
16
16
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
17
17
|
import MonogonCode from "monogon/preact";
|
|
18
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
18
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-B38keERo.js";
|
|
19
19
|
const tabs = "adyen-kyc-tabs";
|
|
20
20
|
const styles$2 = {
|
|
21
21
|
tabs
|
|
@@ -242,7 +242,7 @@ const DebugModal = ({ onExit }) => {
|
|
|
242
242
|
const [tab, setTab] = useState("metadata");
|
|
243
243
|
const rootLegalEntity = useGlobalStore().rootLegalEntity.value;
|
|
244
244
|
const metadata = {
|
|
245
|
-
sdkVersion: "4.0.0-
|
|
245
|
+
sdkVersion: "4.0.0-compact.0",
|
|
246
246
|
locale: i18n.locale,
|
|
247
247
|
rootLegalEntityId: rootLegalEntity.id
|
|
248
248
|
};
|
|
@@ -2,18 +2,18 @@
|
|
|
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] = "741d299d-3209-458a-8947-f8455cb6f017", e._sentryDebugIdIdentifier = "sentry-dbid-741d299d-3209-458a-8947-f8455cb6f017");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-DJHWTow9.js";
|
|
11
11
|
import { jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, a as useTranslation, L as Loader, ag as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes, y as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
15
|
-
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-
|
|
16
|
-
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-B7IWZ3xW.js";
|
|
13
|
+
import { c as useLegalEntity, q as skipToken, X as useExperimentsContext, g as getLegalEntityCountry, a as useTranslation, L as Loader, ag as isOnfidoAutofillFlowEnabled, W as noop, M as TaskTypes, J as EntityTypes, y as LegalEntityTypes } from "./StoreProvider-BlaJzXSZ.js";
|
|
14
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-B8bDFQ53.js";
|
|
15
|
+
import { i as isBafinSignatoryFlow, r as removeIdVerificationProblemsForBafinSignatory } from "./bafinUtils-Bar3qiJA.js";
|
|
16
|
+
import { I as IndividualOnfidoDropin, a as IndividualDropin } from "./IndividualOnfidoDropin-vuHu-O_C.js";
|
|
17
17
|
function DecisionMakerDetailsPage({
|
|
18
18
|
decisionMakerId,
|
|
19
19
|
parentCompanyId,
|
|
@@ -39,7 +39,7 @@ function DecisionMakerDetailsPage({
|
|
|
39
39
|
);
|
|
40
40
|
const { i18n } = useTranslation();
|
|
41
41
|
addResourceBundles(i18n, i18n.language, [
|
|
42
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/
|
|
42
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-D0N1TVVU.js"), "../language/de-DE.json": () => import("./de-DE-Dtuu-nE7.js"), "../language/en-US.json": () => import("./en-US-546hB2Wn.js"), "../language/es-ES.json": () => import("./es-ES-BsQpwaPN.js"), "../language/fi-FI.json": () => import("./fi-FI-BJ9RzrL3.js"), "../language/fr-FR.json": () => import("./fr-FR-CNR5-s9g.js"), "../language/it-IT.json": () => import("./it-IT-BV9K87FK.js"), "../language/nl-NL.json": () => import("./nl-NL-DywVQ9km.js"), "../language/no-NO.json": () => import("./no-NO-B8oxqfNI.js"), "../language/pt-PT.json": () => import("./pt-PT-BvK00TeI.js"), "../language/sl-SI.json": () => import("./sl-SI-NI2OJAvm.js"), "../language/sv-SE.json": () => import("./sv-SE-CAZpDX9G.js") }), `../language/${i18n.language}.json`, 3) }
|
|
43
43
|
]);
|
|
44
44
|
if (!parentCompanyLe || decisionMakerId && !decisionMakerLe) {
|
|
45
45
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,32 +2,32 @@
|
|
|
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] = "154302f3-0719-4b02-b14d-cca5c85633a0", e._sentryDebugIdIdentifier = "sentry-dbid-154302f3-0719-4b02-b14d-cca5c85633a0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { a as addResourceBundles, T as Trans, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { a as addResourceBundles, T as Trans, _ as __variableDynamicImportRuntimeHelper } from "./translation-DJHWTow9.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useScenarios } from "./useScenarios-
|
|
14
|
-
import { V as Icon, a as useTranslation, c as useLegalEntity, B as Button, L as Loader, u as useI18nContext, x as Typography, U as useAnalyticsContext, R as ROOT_LE, _ as useGetTaskStatus, X as useExperimentsContext, aR as getOwnDecisionMakers, b8 as getAvailableDecisionMakerRoleTypes, M as TaskTypes, O as TaskStatuses, b2 as getAllowedDecisionMakerRoles, ak as DecisionMakerTypes, y as LegalEntityTypes } from "./StoreProvider-
|
|
15
|
-
import { a as useUpdateLegalEntity } from "./RadioGroup-
|
|
16
|
-
import { b as getRoleName, F as FormHeader } from "./CountryField-
|
|
13
|
+
import { u as useScenarios } from "./useScenarios-B7IWZ3xW.js";
|
|
14
|
+
import { V as Icon, a as useTranslation, c as useLegalEntity, B as Button, L as Loader, u as useI18nContext, x as Typography, U as useAnalyticsContext, R as ROOT_LE, _ as useGetTaskStatus, X as useExperimentsContext, aR as getOwnDecisionMakers, b8 as getAvailableDecisionMakerRoleTypes, M as TaskTypes, O as TaskStatuses, b2 as getAllowedDecisionMakerRoles, ak as DecisionMakerTypes, y as LegalEntityTypes } from "./StoreProvider-BlaJzXSZ.js";
|
|
15
|
+
import { a as useUpdateLegalEntity } from "./RadioGroup-CYDXrtrO.js";
|
|
16
|
+
import { b as getRoleName, F as FormHeader } from "./CountryField-D0YZrov9.js";
|
|
17
17
|
import cx from "classnames";
|
|
18
|
-
import { A as Avatar } from "./Avatar-
|
|
19
|
-
import { M as Modal } from "./Modal-
|
|
20
|
-
import { u as useToastContext } from "./useToastContext-
|
|
21
|
-
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, C as CardGroup, f as EntityAssociation } from "./OnboardingDropinComponent-
|
|
22
|
-
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-
|
|
23
|
-
import { a as Alert } from "./Alert-
|
|
24
|
-
import { I as Image, b as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-
|
|
25
|
-
import { A as ActionBar } from "./FormNavigation-
|
|
26
|
-
import { T as TaskItemStatus } from "./TaskItemStatus-
|
|
27
|
-
import { i as isEmpty } from "./isEmpty-
|
|
28
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
18
|
+
import { A as Avatar } from "./Avatar-DQjt5Lk2.js";
|
|
19
|
+
import { M as Modal } from "./Modal-nMRQDTF7.js";
|
|
20
|
+
import { u as useToastContext } from "./useToastContext-DGMeMy5R.js";
|
|
21
|
+
import { e as useDataMissingRemediations, D as DropinLayout, E as EntityGuidanceStatus, i as iconStatus, C as CardGroup, f as EntityAssociation } from "./OnboardingDropinComponent-B0GrJ_pR.js";
|
|
22
|
+
import { S as StackLayout, L as LandingLayout } from "./bafinUtils-Bar3qiJA.js";
|
|
23
|
+
import { a as Alert } from "./Alert-C24s_Ygs.js";
|
|
24
|
+
import { I as Image, b as useCapabilityProblems, C as ContextGuidance } from "./fieldConfigurations-B8bDFQ53.js";
|
|
25
|
+
import { A as ActionBar } from "./FormNavigation-ezxkIqdb.js";
|
|
26
|
+
import { T as TaskItemStatus } from "./TaskItemStatus-B38keERo.js";
|
|
27
|
+
import { i as isEmpty } from "./isEmpty-CuQFhMf0.js";
|
|
28
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-BIvTrQtf.js";
|
|
29
29
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
30
|
-
import { C as Confirm } from "./Confirm-
|
|
30
|
+
import { C as Confirm } from "./Confirm-DwutojkY.js";
|
|
31
31
|
import { lazy } from "preact/compat";
|
|
32
32
|
const listItem = "adyen-kyc-list-item";
|
|
33
33
|
const listItemBordered = "adyen-kyc-list-item-bordered";
|
|
@@ -223,7 +223,7 @@ const DecisionMakers = (props) => {
|
|
|
223
223
|
const { data, isLoading } = useLegalEntity(ROOT_LE);
|
|
224
224
|
const { i18n } = useTranslation();
|
|
225
225
|
addResourceBundles(i18n, i18n.language, [
|
|
226
|
-
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/
|
|
226
|
+
{ ns: "individual", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-D0N1TVVU.js"), "../../language/de-DE.json": () => import("./de-DE-Dtuu-nE7.js"), "../../language/en-US.json": () => import("./en-US-546hB2Wn.js"), "../../language/es-ES.json": () => import("./es-ES-BsQpwaPN.js"), "../../language/fi-FI.json": () => import("./fi-FI-BJ9RzrL3.js"), "../../language/fr-FR.json": () => import("./fr-FR-CNR5-s9g.js"), "../../language/it-IT.json": () => import("./it-IT-BV9K87FK.js"), "../../language/nl-NL.json": () => import("./nl-NL-DywVQ9km.js"), "../../language/no-NO.json": () => import("./no-NO-B8oxqfNI.js"), "../../language/pt-PT.json": () => import("./pt-PT-BvK00TeI.js"), "../../language/sl-SI.json": () => import("./sl-SI-NI2OJAvm.js"), "../../language/sv-SE.json": () => import("./sv-SE-CAZpDX9G.js") }), `../../language/${i18n.language}.json`, 4) }
|
|
227
227
|
]);
|
|
228
228
|
if (isLoading || !data) {
|
|
229
229
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "16776ab3-e348-43f5-890b-122019c8303a", e._sentryDebugIdIdentifier = "sentry-dbid-16776ab3-e348-43f5-890b-122019c8303a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { i as defaultFileValidationOptions, j as fileValidationRules, S as StateContextSetter, D as DropzoneFile, h as bytesToSize } from "./validate-
|
|
11
|
+
import { i as defaultFileValidationOptions, j as fileValidationRules, S as StateContextSetter, D as DropzoneFile, h as bytesToSize } from "./validate-CvtamBXH.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { useRef, useState, useMemo, useEffect } from "preact/hooks";
|
|
14
|
-
import { a as useTranslation, U as useAnalyticsContext, B as Button, x as Typography, V as Icon } from "./StoreProvider-
|
|
15
|
-
import { a as useForm } from "./useForm-
|
|
14
|
+
import { a as useTranslation, U as useAnalyticsContext, B as Button, x as Typography, V as Icon } from "./StoreProvider-BlaJzXSZ.js";
|
|
15
|
+
import { a as useForm } from "./useForm-C1DW3mPC.js";
|
|
16
16
|
function Dropzone(props) {
|
|
17
17
|
const {
|
|
18
18
|
name,
|
|
@@ -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] = "4feb7628-14f6-4cd8-8bb8-a1bec288b304", e._sentryDebugIdIdentifier = "sentry-dbid-4feb7628-14f6-4cd8-8bb8-a1bec288b304");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import { O as TaskStatuses, a as useTranslation, v as Skeleton, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { A as Avatar } from "./Avatar-DQjt5Lk2.js";
|
|
13
|
+
import { O as TaskStatuses, a as useTranslation, v as Skeleton, x as Typography } from "./StoreProvider-BlaJzXSZ.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "f7177f43-7201-403d-a74f-8cdda3047b03", e._sentryDebugIdIdentifier = "sentry-dbid-f7177f43-7201-403d-a74f-8cdda3047b03");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import { B as Button, L as Loader, V as Icon } from "./StoreProvider-
|
|
13
|
+
import { B as Button, L as Loader, V as Icon } from "./StoreProvider-BlaJzXSZ.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c87a572a-6665-4bde-ad01-aa0f4121e713", e._sentryDebugIdIdentifier = "sentry-dbid-c87a572a-6665-4bde-ad01-aa0f4121e713");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,12 +11,12 @@ import { jsx, jsxs } from "preact/jsx-runtime";
|
|
|
11
11
|
import { useMemo, useRef, useState } from "preact/hooks";
|
|
12
12
|
import { F as FormContext } from "./useFormContext-beqGS11A.js";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import { U as useAnalyticsContext, a as useTranslation, B as Button, P as IconButton } from "./StoreProvider-
|
|
15
|
-
import { L as LoaderWrapper } from "./useForm-
|
|
16
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./CountryField-
|
|
14
|
+
import { U as useAnalyticsContext, a as useTranslation, B as Button, P as IconButton } from "./StoreProvider-BlaJzXSZ.js";
|
|
15
|
+
import { L as LoaderWrapper } from "./useForm-C1DW3mPC.js";
|
|
16
|
+
import { M as MaybeModal } from "./MaybeModal-CE9kYOrU.js";
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-DHp5v5jB.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-DwutojkY.js";
|
|
19
|
+
import { S as Summary } from "./CountryField-D0YZrov9.js";
|
|
20
20
|
function FormContextProvider({
|
|
21
21
|
children,
|
|
22
22
|
form
|
|
@@ -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] = "ad7f56b7-c496-4cb3-bf7f-898f56164d36", e._sentryDebugIdIdentifier = "sentry-dbid-ad7f56b7-c496-4cb3-bf7f-898f56164d36");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
|
-
import { B as Button, a as useTranslation, V as Icon, U as useAnalyticsContext, x as Typography, W as noop } from "./StoreProvider-
|
|
11
|
+
import { B as Button, a as useTranslation, V as Icon, U as useAnalyticsContext, x as Typography, W as noop } from "./StoreProvider-BlaJzXSZ.js";
|
|
12
12
|
import cx from "classnames";
|
|
13
13
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
14
14
|
const ActionBar = ({
|
|
@@ -2,56 +2,56 @@
|
|
|
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] = "4ec1a41a-48ff-4d4d-aba5-aed3489c18fb", e._sentryDebugIdIdentifier = "sentry-dbid-4ec1a41a-48ff-4d4d-aba5-aed3489c18fb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useEffect, useMemo, useState, useCallback } from "preact/hooks";
|
|
12
|
-
import { u as useScenarios } from "./useScenarios-
|
|
13
|
-
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as RadioWithLabel } from "./RadioGroup-
|
|
14
|
-
import { u as useProviderStatus, A as Address, a as addressValidators, b as addressFormatters } from "./Address-
|
|
15
|
-
import { c as contactDetailFields, C as ContactDetails, a as contactDetailsValidationRules, d as defaultFieldMetadata$1, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./validate-
|
|
16
|
-
import { b as useApiContext, aA as useMutation, k as httpPost, ap as matchesRegex, aU as trimValWithOneSpace, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, aV as INDIVIDUAL_VALID_CHAR_REGEX, aW as getFormattingRegEx, aX as SPECIAL_CHARS, a8 as CountryCodes, al as Scenarios, ak as DecisionMakerTypes, M as TaskTypes, a as useTranslation, j as useQuery, N as createLogger, u as useI18nContext, x as Typography, V as Icon, m as useSettingsContext, X as useExperimentsContext, y as LegalEntityTypes, aY as getLegalRepresentativeWarningMessage, af as objectsDeepEqual, aw as standardKatakanaValidator, ax as standardKanjiValidator, a9 as isEmpty, aZ as getAgeToday, a_ as euCountries, a$ as individualApiKeyMapping, ah as individualComponentsKeyMapping, aS as reverseMapping, b0 as getNomineeFromAssociation, b1 as drop, U as useAnalyticsContext, g as getLegalEntityCountry, b2 as getAllowedDecisionMakerRoles, b3 as filterOutUnwantedAssociationsIfRootLE, ay as cloneObject, b4 as individualDocumentMapping, b5 as individualObscuredFields, a6 as getOwnEntityAssociations, b6 as hasNomineesChanged, b7 as attachNomineeToRole, aG as doArraysMatch, B as Button, q as skipToken, o as httpGet, aC as useQueryClient, L as Loader, b8 as getAvailableDecisionMakerRoleTypes, b9 as allowedCountriesForNominee, ba as isLowRiskCountry, bb as getAgeRangeForLegalRepresentative, bc as isLegalRepresentativeNeeded, aD as keysOf, bd as listToRecord, be as pick, P as IconButton, w as translateStringOrObject, bf as individualOnfidoApiKeyMapping, bg as individualOnfidoBaseMapping, bh as individualOnfidoDocumentMapping, bi as individualOnfidoObscuredFields } from "./StoreProvider-
|
|
17
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
20
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getPropsFromConfigurations, e as composePerScenarioFormConfigurations, m as mergeAttachments, f as getFileExtention } from "./validate-
|
|
21
|
-
import { M as MultiSelectList, m as makeSelectItemForRole, n as nameFields, N as Name, a as useSingpassMyInfoLogin, b as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal, i as isBafinSignatoryFlow, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
22
|
-
import { f as validatePatternOnBlur, R as RadioGroupCard, C as ContextGuidance, I as Image, r as resolveFieldMetadata, e as TrustedFieldsProviders, a as useAccountHolder } from "./fieldConfigurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
26
|
-
import { b as addressFields, m as mapAddressLabels, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-
|
|
27
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
28
|
-
import { u as useDataset, d as datasetIdentifier, a as datasetUtilities } from "./useDataset-
|
|
29
|
-
import { i as individualIdNumberOptions, a as additionallIdNumberOptions, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
30
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
31
|
-
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-
|
|
32
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
33
|
-
import { F as FormHeader, E as ErrorPanel, c as createFormUtils, m as mergeFieldMetadataIntoProps, g as getFieldProps, C as CountryField, f as getFormProps, u as useFormRouterContext } from "./CountryField-
|
|
12
|
+
import { u as useScenarios } from "./useScenarios-B7IWZ3xW.js";
|
|
13
|
+
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity, b as RadioWithLabel } from "./RadioGroup-CYDXrtrO.js";
|
|
14
|
+
import { u as useProviderStatus, A as Address, a as addressValidators, b as addressFormatters } from "./Address-DSwfzWFu.js";
|
|
15
|
+
import { c as contactDetailFields, C as ContactDetails, a as contactDetailsValidationRules, d as defaultFieldMetadata$1, f as fieldConfig, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./validate-BRz0LPdo.js";
|
|
16
|
+
import { b as useApiContext, aA as useMutation, k as httpPost, ap as matchesRegex, aU as trimValWithOneSpace, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, aV as INDIVIDUAL_VALID_CHAR_REGEX, aW as getFormattingRegEx, aX as SPECIAL_CHARS, a8 as CountryCodes, al as Scenarios, ak as DecisionMakerTypes, M as TaskTypes, a as useTranslation, j as useQuery, N as createLogger, u as useI18nContext, x as Typography, V as Icon, m as useSettingsContext, X as useExperimentsContext, y as LegalEntityTypes, aY as getLegalRepresentativeWarningMessage, af as objectsDeepEqual, aw as standardKatakanaValidator, ax as standardKanjiValidator, a9 as isEmpty, aZ as getAgeToday, a_ as euCountries, a$ as individualApiKeyMapping, ah as individualComponentsKeyMapping, aS as reverseMapping, b0 as getNomineeFromAssociation, b1 as drop, U as useAnalyticsContext, g as getLegalEntityCountry, b2 as getAllowedDecisionMakerRoles, b3 as filterOutUnwantedAssociationsIfRootLE, ay as cloneObject, b4 as individualDocumentMapping, b5 as individualObscuredFields, a6 as getOwnEntityAssociations, b6 as hasNomineesChanged, b7 as attachNomineeToRole, aG as doArraysMatch, B as Button, q as skipToken, o as httpGet, aC as useQueryClient, L as Loader, b8 as getAvailableDecisionMakerRoleTypes, b9 as allowedCountriesForNominee, ba as isLowRiskCountry, bb as getAgeRangeForLegalRepresentative, bc as isLegalRepresentativeNeeded, aD as keysOf, bd as listToRecord, be as pick, P as IconButton, w as translateStringOrObject, bf as individualOnfidoApiKeyMapping, bg as individualOnfidoBaseMapping, bh as individualOnfidoDocumentMapping, bi as individualOnfidoObscuredFields } from "./StoreProvider-BlaJzXSZ.js";
|
|
17
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-CZ9f5X0C.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-DGMeMy5R.js";
|
|
19
|
+
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-3-a-Od7Z.js";
|
|
20
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getPropsFromConfigurations, e as composePerScenarioFormConfigurations, m as mergeAttachments, f as getFileExtention } from "./validate-CvtamBXH.js";
|
|
21
|
+
import { M as MultiSelectList, m as makeSelectItemForRole, n as nameFields, N as Name, a as useSingpassMyInfoLogin, b as idNowModalChildEntityId, L as LandingLayout, s as showIdNowModal, i as isBafinSignatoryFlow, c as shouldShowIdNowModal } from "./bafinUtils-Bar3qiJA.js";
|
|
22
|
+
import { f as validatePatternOnBlur, R as RadioGroupCard, C as ContextGuidance, I as Image, r as resolveFieldMetadata, e as TrustedFieldsProviders, a as useAccountHolder } from "./fieldConfigurations-B8bDFQ53.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer, t as trackNavigation } from "./dropinUtils-DHp5v5jB.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-BucfLW49.js";
|
|
25
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DW5ktJzM.js";
|
|
26
|
+
import { b as addressFields, m as mapAddressLabels, g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET, a as getAddressSchemaLabelsByCountry } from "./utils-CgOzbb9O.js";
|
|
27
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-DOCbfk7K.js";
|
|
28
|
+
import { u as useDataset, d as datasetIdentifier, a as datasetUtilities } from "./useDataset-BgvQQEKd.js";
|
|
29
|
+
import { i as individualIdNumberOptions, a as additionallIdNumberOptions, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-DS0m73if.js";
|
|
30
|
+
import { l as localizeDateString } from "./localizeDateString-DHsivjy2.js";
|
|
31
|
+
import { o as omitObscuredFieldsIfUnchanged, I as IFrameWidget } from "./iframeWidget-Bftkd3v_.js";
|
|
32
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CXtNbmpA.js";
|
|
33
|
+
import { F as FormHeader, E as ErrorPanel, c as createFormUtils, m as mergeFieldMetadataIntoProps, g as getFieldProps, C as CountryField, f as getFormProps, u as useFormRouterContext } from "./CountryField-D0YZrov9.js";
|
|
34
34
|
import { u as useFormContext } from "./useFormContext-beqGS11A.js";
|
|
35
35
|
import { lazy, forwardRef, memo } from "preact/compat";
|
|
36
|
-
import { F as Field, c as Select, L as LoaderWrapper, C as Checkbox } from "./useForm-
|
|
37
|
-
import { L as Link } from "./Link-
|
|
38
|
-
import { T as Trans } from "./translation-
|
|
39
|
-
import { I as InputText, S as SettingNames } from "./InputText-
|
|
40
|
-
import { u as useAllowedCountries, m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-
|
|
41
|
-
import { a as Alert } from "./Alert-
|
|
42
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
43
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-
|
|
44
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
45
|
-
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-
|
|
46
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
36
|
+
import { F as Field, c as Select, L as LoaderWrapper, C as Checkbox } from "./useForm-C1DW3mPC.js";
|
|
37
|
+
import { L as Link } from "./Link-BFdxU8qh.js";
|
|
38
|
+
import { T as Trans } from "./translation-DJHWTow9.js";
|
|
39
|
+
import { I as InputText, S as SettingNames } from "./InputText-BX5sG9WJ.js";
|
|
40
|
+
import { u as useAllowedCountries, m as mapSchemaFieldsToApiScriptLocalization, a as mapApiScriptLocalizationToSchemaFields } from "./mapScriptLocalization-CI-Ydp2z.js";
|
|
41
|
+
import { a as Alert } from "./Alert-C24s_Ygs.js";
|
|
42
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-CHygOGiS.js";
|
|
43
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-BZ7t98eu.js";
|
|
44
|
+
import { i as isTruthyValidator } from "./commonValidators-Bk0SSjsH.js";
|
|
45
|
+
import { r as rules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE$1 } from "./rules-DP3jxPzq.js";
|
|
46
|
+
import { i as isEmpty$1 } from "./isEmpty-CuQFhMf0.js";
|
|
47
47
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
48
48
|
import { signal, computed } from "@preact/signals";
|
|
49
49
|
import { Show } from "@preact/signals/utils";
|
|
50
|
-
import { T as TileGroup } from "./TileGroup-
|
|
51
|
-
import { M as Modal } from "./Modal-
|
|
52
|
-
import { C as Confirm } from "./Confirm-
|
|
53
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
54
|
-
import { D as Dropzone } from "./Dropzone-
|
|
50
|
+
import { T as TileGroup } from "./TileGroup-CztY53P9.js";
|
|
51
|
+
import { M as Modal } from "./Modal-nMRQDTF7.js";
|
|
52
|
+
import { C as Confirm } from "./Confirm-DwutojkY.js";
|
|
53
|
+
import { a as getIndividualLegalEntityName } from "./getName-DJlhsDj_.js";
|
|
54
|
+
import { D as Dropzone } from "./Dropzone-D6dXhmL4.js";
|
|
55
55
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
56
56
|
import { Onfido } from "onfido-sdk-ui";
|
|
57
57
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|