@adyen/kyc-components 4.0.0-beta.7 → 4.0.0-compact.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-BPD80NBV.js → AcceptTermsOfServiceComponent-Ddtg_ZHH.js} +16 -16
- package/dist/{AccountSetupRejected-DMxK6_NZ.js → AccountSetupRejected-CvdEsdWe.js} +5 -5
- package/dist/{Address-BxCJg97r.js → Address-YjoUtTTT.js} +8 -8
- package/dist/{Alert-JxANwoOi.js → Alert-C_-UwoDE.js} +2 -2
- package/dist/{Avatar-BEsogKxf.js → Avatar-CeHhAxxR.js} +2 -2
- package/dist/{BusinessDetailsDropin-3EfuXcxm.js → BusinessDetailsDropin-Be1nkzWx.js} +34 -34
- package/dist/BusinessFinancingComponent-BiFxtiME.js +45 -0
- package/dist/{BusinessFinancingDropin-Cszqojtx.js → BusinessFinancingDropin-B6Vpswcj.js} +23 -23
- package/dist/BusinessFinancingPage-C_3W8tC9.js +40 -0
- package/dist/{BusinessTypeSelectionPage-CkX2PhOw.js → BusinessTypeSelectionPage-CQxhI1B6.js} +7 -7
- package/dist/{Card-DPXJw_ou.js → Card-D0gduObT.js} +4 -4
- package/dist/{Confirm-C6hGSEWi.js → Confirm-DyWhqxmU.js} +3 -3
- package/dist/{CountryField-ziRVRc5r.js → CountryField-50Iboayh.js} +5 -5
- package/dist/CreateIndividualComponent-9-TP2x1D.js +72 -0
- package/dist/CreateTransferInstrumentComponent-U_HRSoZx.js +67 -0
- package/dist/{Currency-DAbA2YTu.js → Currency-D-0ToVpS.js} +6 -6
- package/dist/{CustomerSupport-C2Ugl1ZJ.js → CustomerSupport-DTw357Bq.js} +9 -9
- package/dist/{DebugModal-BiGsN2MR.js → DebugModal-Dc6JIQeF.js} +6 -6
- package/dist/{DecisionMakerDetailsPage-BKqkZ5TL.js → DecisionMakerDetailsPage-vWtfPycT.js} +8 -8
- package/dist/{DecisionMakers-Dfub_FaY.js → DecisionMakers-2aN_F-vt.js} +19 -19
- package/dist/{Dropzone-DwdkWB-s.js → Dropzone-Cp2PTdED.js} +4 -4
- package/dist/{EmbeddedStatus-C2FaB1kG.js → EmbeddedStatus-DQXq53qv.js} +3 -3
- package/dist/{EndStateLayout-BhU2LTbj.js → EndStateLayout-BPsmcrN3.js} +2 -2
- package/dist/{FormFlow-BaU8ND7m.js → FormFlow-C95V54gu.js} +7 -7
- package/dist/{FormNavigation-BAN7IHi5.js → FormNavigation-29vpexO6.js} +2 -2
- package/dist/{IndividualOnfidoDropin-ZdnLLkuv.js → IndividualOnfidoDropin-XYcD-6sb.js} +39 -39
- package/dist/{InputDate-DgqNliIM.js → InputDate-DX90XEmr.js} +2 -2
- package/dist/{InputText-CufyDwPI.js → InputText-CnEQJihB.js} +3 -3
- package/dist/{Introduction-BMLVCUN7.js → Introduction-BkGNoXvo.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-Z1TS1eMK.js → LegalRepresentativeDetailsPage-D3Ld1xg7.js} +6 -6
- package/dist/{Link-D6KEr49t.js → Link-Bn9pt52z.js} +2 -2
- package/dist/ManageIndividualComponent-C5Epqe2I.js +47 -0
- package/dist/ManageTermsOfServiceComponent-zcuZm98f.js +47 -0
- package/dist/{ManageTransferInstrumentComponent-BLOM9_st.js → ManageTransferInstrumentComponent-D8e5YRiK.js} +15 -15
- package/dist/{MaskedInput-CMGa4-AZ.js → MaskedInput-Cr4BEARC.js} +4 -4
- package/dist/{MaybeModal-C32AiZaM.js → MaybeModal-D6lc_yUc.js} +3 -3
- package/dist/{Modal-BvBRzt44.js → Modal-ltKHtBfL.js} +2 -2
- package/dist/{OnboardingDropinComponent-BdhXxmZJ.js → OnboardingDropinComponent-BgFPF-FG.js} +47 -47
- package/dist/{PayoutDetailsDropin-CFOc-3Cg.js → PayoutDetailsDropin-Ba4z1H8Y.js} +27 -27
- package/dist/{RadioGroup-CnXRr_Ap.js → RadioGroup-htJh3Lz5.js} +5 -5
- package/dist/{RegistrationAddress-C48VQay3.js → RegistrationAddress-DiVxWv-x.js} +13 -13
- package/dist/{Review-Dp8VRYjm.js → Review-QGTwsuVG.js} +7 -7
- package/dist/{RootBusinessDetailsPage-C9oZvSeQ.js → RootBusinessDetailsPage-DNGDa-xd.js} +29 -29
- package/dist/{RootIndividualDetailsPage-BHTLpnk6.js → RootIndividualDetailsPage-DyWuruIM.js} +6 -6
- package/dist/{SignPCIComponent-Mtb9Ipxw.js → SignPCIComponent-BvOwbwCX.js} +12 -12
- package/dist/{SingpassSelection-C5WwyGgd.js → SingpassSelection-CfMjudRn.js} +4 -4
- package/dist/SoleProprietorshipPage-CYz0fHew.js +50 -0
- package/dist/{SourceOfFundsPage-PEf5WB77.js → SourceOfFundsPage-BOFtbQbF.js} +28 -28
- package/dist/{StepProgressIndicator-D-k_XSe0.js → StepProgressIndicator-D8I0VtoT.js} +2 -2
- package/dist/{StoreProvider-_YW7glEh.js → StoreProvider-D4cRWOo4.js} +5 -5
- package/dist/{TaskItemStatus-3Xrr8mL4.js → TaskItemStatus-lQuiqU1e.js} +2 -2
- package/dist/{TaskStatusIndicator-B1ZRr1qx.js → TaskStatusIndicator-8ug09mhu.js} +2 -2
- package/dist/{TaxInformationField-Cc4iBLBk.js → TaxInformationField-BfyN5nzh.js} +13 -13
- package/dist/{TaxReportingDropin-yiL_vTaE.js → TaxReportingDropin-CDqErRkl.js} +19 -19
- package/dist/{TileGroup-C0Rfm3yy.js → TileGroup-CTesI0Vt.js} +3 -3
- package/dist/{TrustDetailsPage-D_ZIBi6O.js → TrustDetailsPage-CjG99ca_.js} +23 -23
- package/dist/{TrustMemberCompanyPage-DkzAv8u6.js → TrustMemberCompanyPage-CiA3B0Ro.js} +7 -7
- package/dist/{TrustMemberIndividualPage-DXWrDuq4.js → TrustMemberIndividualPage-J1-6IFlZ.js} +6 -6
- package/dist/{UnincorporatedPartnershipIndividualPage-B6tWGs6K.js → UnincorporatedPartnershipIndividualPage-Dx1qdgZL.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C_awQ-ZH.js → UnincorporatedPartnershipMemberCompanyPage-B89QmXFf.js} +7 -7
- package/dist/{ViewVerificationStatusComponent-DjO4MIbD.js → ViewVerificationStatusComponent-2jYPePEI.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-BY--2-JY.js → analytics-Cg99WKif.js} +2 -2
- package/dist/{bafinUtils-DJvocoVP.js → bafinUtils-Sy6B6Lec.js} +6 -6
- package/dist/{commonValidators-DcQ7Z0J8.js → commonValidators-cnXbus2a.js} +2 -2
- package/dist/{dropinUtils-CMGrblnm.js → dropinUtils-CXnvPFZN.js} +3 -3
- package/dist/{fieldConfigurations-Bct_fXIF.js → fieldConfigurations-kDKvJ6je.js} +7 -7
- package/dist/{getName-BfigaSFZ.js → getName-BsaU8Hqr.js} +2 -2
- package/dist/{hasDataChanged-D5Rq4ntg.js → hasDataChanged-CA7cMLCV.js} +2 -2
- package/dist/{iframeWidget-D2bi8wJe.js → iframeWidget-BPBJSJJt.js} +4 -4
- package/dist/{isEmpty-Ck0I6out.js → isEmpty-C9y5I8Tl.js} +2 -2
- package/dist/{localizeDateString-DmnKzDGI.js → localizeDateString-cCOzCBvl.js} +2 -2
- package/dist/{mapExistingFile-qQ4y79Lm.js → mapExistingFile-B1UL2lZR.js} +4 -4
- package/dist/{mapScriptLocalization-D7RKQgK6.js → mapScriptLocalization-B4Be11Tx.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-BbdTQhjr.js → mapTransferInstrumentToPayoutAccount-BdPUh-FT.js} +2 -2
- package/dist/{resolveEnvironment-D4ONN9a2.js → resolveEnvironment-Il1uuuaq.js} +3 -3
- package/dist/{rules-DD7cnV-t.js → rules-CkD4bHtQ.js} +4 -4
- package/dist/{translation-CpuWYSlU.js → translation-RPPT5Bll.js} +2 -2
- package/dist/{types-Cj8YOGeo.js → types-BZdZSp82.js} +2 -2
- package/dist/{types-DW8AoV0s.js → types-CX7rD7X4.js} +2 -2
- package/dist/{useAssociatedLegalEntity-DpMCDRB2.js → useAssociatedLegalEntity-DD2ldSE1.js} +2 -2
- package/dist/{useDataset-DgGo4v2J.js → useDataset-B8uRm9G9.js} +2 -2
- package/dist/{useForm-C66YXYZG.js → useForm-Bikkn7wR.js} +3 -3
- package/dist/{useGlobalData-CLK6kHPg.js → useGlobalData-TJeJM5fq.js} +10 -10
- package/dist/{useMultiForm-C2Py7qyc.js → useMultiForm-BvLkXMC6.js} +4 -4
- package/dist/{useOnboardingStatus-CAefy-E-.js → useOnboardingStatus-CHvOF6oX.js} +2 -2
- package/dist/{useScenarios-B9C3euGm.js → useScenarios-uUD1GHMT.js} +2 -2
- package/dist/{useTermsOfServiceStatus-BoQcnXHY.js → useTermsOfServiceStatus-_0VSQK9K.js} +2 -2
- package/dist/{useToastContext-DGtAfUak.js → useToastContext-kLS15CCB.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-DWYujkfV.js → useUnincorporatedPartnershipMembers-pxytkrwW.js} +5 -5
- package/dist/{utils-DgGLUM4O.js → utils-B7kcMyYW.js} +2 -2
- package/dist/{utils-DxvZeEUH.js → utils-BI6oHlaw.js} +7 -7
- package/dist/{utils-398Z4KKf.js → utils-DvAaNu7U.js} +2 -2
- package/dist/{validate--KA-U0Fs.js → validate-DGgXfXyg.js} +2 -2
- package/dist/{validate-BrsSh5ej.js → validate-DxfuzxT4.js} +7 -7
- package/dist/{validate-ZwWxhap7.js → validate-Dz7xvgxq.js} +4 -4
- package/dist/{validationError-DeiIFLRV.js → validationError-CpKFQv28.js} +2 -2
- package/package.json +1 -1
- package/dist/BusinessFinancingComponent-C7-oATO_.js +0 -45
- package/dist/BusinessFinancingPage-BcmQhmS2.js +0 -40
- package/dist/CreateIndividualComponent-C87nTEy0.js +0 -72
- package/dist/CreateTransferInstrumentComponent-BH92eRcz.js +0 -67
- package/dist/ManageIndividualComponent-B0P2UcYb.js +0 -47
- package/dist/ManageTermsOfServiceComponent-BVGYJlbf.js +0 -47
- package/dist/SoleProprietorshipPage-Dweeg8jm.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
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6884ee5f-37ce-43a9-94e3-485d179ade38", e._sentryDebugIdIdentifier = "sentry-dbid-6884ee5f-37ce-43a9-94e3-485d179ade38");
|
|
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-RPPT5Bll.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
|
-
import { b as useApiContext, j as useQuery, k as httpPost, aA as useMutation, a9 as isEmpty, a as useTranslation, U as useAnalyticsContext, aR as getOwnDecisionMakers, y as LegalEntityTypes, M as TaskTypes, B as Button, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-
|
|
13
|
-
import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-
|
|
14
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
16
|
-
import { E as EndStateLayout } from "./EndStateLayout-
|
|
12
|
+
import { b as useApiContext, j as useQuery, k as httpPost, aA as useMutation, a9 as isEmpty, a as useTranslation, U as useAnalyticsContext, aR as getOwnDecisionMakers, y as LegalEntityTypes, M as TaskTypes, B as Button, c as useLegalEntity, R as ROOT_LE, L as Loader } from "./StoreProvider-D4cRWOo4.js";
|
|
13
|
+
import { u as useSalesChannelsSettings, a as usePciStatus } from "./OnboardingDropinComponent-BgFPF-FG.js";
|
|
14
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-kLS15CCB.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-D6lc_yUc.js";
|
|
16
|
+
import { E as EndStateLayout } from "./EndStateLayout-BPsmcrN3.js";
|
|
17
17
|
import { useState, useCallback, useEffect } from "preact/hooks";
|
|
18
|
-
import { a as useForm, F as Field, c as Select, C as Checkbox } from "./useForm-
|
|
18
|
+
import { a as useForm, F as Field, c as Select, C as Checkbox } from "./useForm-Bikkn7wR.js";
|
|
19
19
|
import { D as DetailViewLayout } from "./DetailViewLayout-Z9cuUp4X.js";
|
|
20
|
-
import { C as Card } from "./Card-
|
|
20
|
+
import { C as Card } from "./Card-D0gduObT.js";
|
|
21
21
|
import { C as ContractViewer } from "./ContractViewer-Byp71k2e.js";
|
|
22
22
|
const getPciTemplate = async (legalEntityId, baseUrl, data) => {
|
|
23
23
|
return httpPost(
|
|
@@ -231,9 +231,9 @@ function SignPCIComponent({
|
|
|
231
231
|
const additionalSalesChannels = useSalesChannelsSettings();
|
|
232
232
|
const { t, i18n } = useTranslation(["contract", "common"]);
|
|
233
233
|
addResourceBundles(i18n, i18n.language, [
|
|
234
|
-
{ ns: "common", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../../language/locales/
|
|
235
|
-
{ ns: "ui", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../ui/language/
|
|
236
|
-
{ ns: "contract", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/
|
|
234
|
+
{ 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-D4cRWOo4.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) },
|
|
235
|
+
{ 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) },
|
|
236
|
+
{ ns: "contract", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Contract/language/da-DK.json": () => import("./da-DK-BoQic3Gy.js"), "../../Contract/language/de-DE.json": () => import("./de-DE-Dwagawx1.js"), "../../Contract/language/en-US.json": () => import("./en-US-BbAzROHT.js"), "../../Contract/language/es-ES.json": () => import("./es-ES-Bsoco8Fj.js"), "../../Contract/language/fi-FI.json": () => import("./fi-FI-ClnsYt3L.js"), "../../Contract/language/fr-FR.json": () => import("./fr-FR-CJI0bIig.js"), "../../Contract/language/it-IT.json": () => import("./it-IT-BeC2Y1F8.js"), "../../Contract/language/nl-NL.json": () => import("./nl-NL-Cysslsh2.js"), "../../Contract/language/no-NO.json": () => import("./no-NO-zSnPtrDi.js"), "../../Contract/language/pt-PT.json": () => import("./pt-PT-CjsyP_OK.js"), "../../Contract/language/sl-SI.json": () => import("./sl-SI-Br0UEUPL.js"), "../../Contract/language/sv-SE.json": () => import("./sv-SE-BtXmvxx4.js") }), `../../Contract/language/${i18n.language}.json`, 5) }
|
|
237
237
|
]);
|
|
238
238
|
const {
|
|
239
239
|
data: legalEntityData,
|
|
@@ -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] = "430e940b-6ac3-452d-9ac6-4f5df592a2c2", e._sentryDebugIdIdentifier = "sentry-dbid-430e940b-6ac3-452d-9ac6-4f5df592a2c2");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { lazy } from "preact/compat";
|
|
12
12
|
import { useState } from "preact/hooks";
|
|
13
|
-
import { a as useTranslation, x as Typography, B as Button, y as LegalEntityTypes } from "./StoreProvider-
|
|
14
|
-
import { a as useForm, F as Field } from "./useForm-
|
|
15
|
-
import { R as RadioGroupCard, I as Image } from "./fieldConfigurations-
|
|
13
|
+
import { a as useTranslation, x as Typography, B as Button, y as LegalEntityTypes } from "./StoreProvider-D4cRWOo4.js";
|
|
14
|
+
import { a as useForm, F as Field } from "./useForm-Bikkn7wR.js";
|
|
15
|
+
import { R as RadioGroupCard, I as Image } from "./fieldConfigurations-kDKvJ6je.js";
|
|
16
16
|
const setupAccountMethods = ["singpass", "manual"];
|
|
17
17
|
const setupAccountMethodFields = ["setupAccountMethod"];
|
|
18
18
|
const singpassLogo = lazy(() => import("./singpass-logo-BkMSwiGY.js"));
|
|
@@ -0,0 +1,50 @@
|
|
|
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] = "f15b55df-e493-4b77-adf4-5a73e879fa11", e._sentryDebugIdIdentifier = "sentry-dbid-f15b55df-e493-4b77-adf4-5a73e879fa11");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-RPPT5Bll.js";
|
|
11
|
+
import { jsx } from "preact/jsx-runtime";
|
|
12
|
+
import { a as useTranslation, c as useLegalEntity, R as ROOT_LE, q as skipToken, L as Loader, g as getLegalEntityCountry, M as TaskTypes, J as EntityTypes } from "./StoreProvider-D4cRWOo4.js";
|
|
13
|
+
import { b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-kDKvJ6je.js";
|
|
14
|
+
import { _ as BusinessDetailsDropin } from "./BusinessDetailsDropin-Be1nkzWx.js";
|
|
15
|
+
function SoleProprietorshipPage({
|
|
16
|
+
solePropId,
|
|
17
|
+
isTargetLegalEntityType = false,
|
|
18
|
+
onSubmit,
|
|
19
|
+
handleHomeClick
|
|
20
|
+
}) {
|
|
21
|
+
const { i18n } = useTranslation();
|
|
22
|
+
const { data: rootLe } = useLegalEntity(ROOT_LE);
|
|
23
|
+
const { data: solePropLe } = useLegalEntity(solePropId ?? skipToken);
|
|
24
|
+
const capabilityProblems = useCapabilityProblems();
|
|
25
|
+
addResourceBundles(i18n, i18n.language, [
|
|
26
|
+
{ ns: "business", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../Business/language/da-DK.json": () => import("./da-DK-CeNMXUfE.js"), "../../Business/language/de-DE.json": () => import("./de-DE-JI-7mvxy.js"), "../../Business/language/en-US.json": () => import("./en-US-DHq7VYFs.js"), "../../Business/language/es-ES.json": () => import("./es-ES-DOVPTeyf.js"), "../../Business/language/fi-FI.json": () => import("./fi-FI-D522KHGk.js"), "../../Business/language/fr-FR.json": () => import("./fr-FR-DInQKkTd.js"), "../../Business/language/it-IT.json": () => import("./it-IT-CjEYONJg.js"), "../../Business/language/nl-NL.json": () => import("./nl-NL-Zcq0bXd-.js"), "../../Business/language/no-NO.json": () => import("./no-NO-BxReX6oF.js"), "../../Business/language/pt-PT.json": () => import("./pt-PT-N0njcfLO.js"), "../../Business/language/sl-SI.json": () => import("./sl-SI-MZoDApq9.js"), "../../Business/language/sv-SE.json": () => import("./sv-SE-DCFSf4Oj.js") }), `../../Business/language/${i18n.language}.json`, 5) }
|
|
27
|
+
]);
|
|
28
|
+
if (!rootLe || solePropId && !solePropLe) {
|
|
29
|
+
return /* @__PURE__ */ jsx(Loader, {});
|
|
30
|
+
}
|
|
31
|
+
const problems = capabilityProblems && solePropId ? getProblemsForEntity(capabilityProblems, EntityTypes.LEGAL_ENTITY, solePropId) : void 0;
|
|
32
|
+
const country = getLegalEntityCountry(solePropLe ?? rootLe);
|
|
33
|
+
return /* @__PURE__ */ jsx(
|
|
34
|
+
BusinessDetailsDropin,
|
|
35
|
+
{
|
|
36
|
+
taskType: TaskTypes.SOLE_PROPRIETOR_COMPANY,
|
|
37
|
+
taskName: "soleProprietorship",
|
|
38
|
+
legalEntityResponse: rootLe,
|
|
39
|
+
associatedLegalArrangement: solePropLe,
|
|
40
|
+
problems: problems ?? {},
|
|
41
|
+
country,
|
|
42
|
+
isTargetLegalEntityType,
|
|
43
|
+
onSubmit,
|
|
44
|
+
handleHomeClick
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
SoleProprietorshipPage
|
|
50
|
+
};
|
|
@@ -2,47 +2,47 @@
|
|
|
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] = "2a6ce199-2a5c-412c-b60b-19e04d238480", e._sentryDebugIdIdentifier = "sentry-dbid-2a6ce199-2a5c-412c-b60b-19e04d238480");
|
|
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-RPPT5Bll.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
-
import { b as useApiContext, j as useQuery, o as httpGet, aA as useMutation, k as httpPost, y as LegalEntityTypes, x as Typography, u as useI18nContext, B as Button, a9 as isEmpty, a as useTranslation, L as Loader, V as Icon, P as IconButton, N as createLogger, aC as useQueryClient, c as useLegalEntity, R as ROOT_LE, U as useAnalyticsContext, bM as useLegalEntities, J as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-
|
|
13
|
-
import { T as TextArea, I as Image, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
12
|
+
import { b as useApiContext, j as useQuery, o as httpGet, aA as useMutation, k as httpPost, y as LegalEntityTypes, x as Typography, u as useI18nContext, B as Button, a9 as isEmpty, a as useTranslation, L as Loader, V as Icon, P as IconButton, N as createLogger, aC as useQueryClient, c as useLegalEntity, R as ROOT_LE, U as useAnalyticsContext, bM as useLegalEntities, J as EntityTypes, g as getLegalEntityCountry } from "./StoreProvider-D4cRWOo4.js";
|
|
13
|
+
import { T as TextArea, I as Image, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-kDKvJ6je.js";
|
|
14
14
|
import { useState, useMemo, useEffect, useCallback, useRef } from "preact/hooks";
|
|
15
|
-
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-
|
|
16
|
-
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
17
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
18
|
-
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
19
|
-
import { c as createDocumentRequest, b as getPropsFromConfigurations, d as documentApiUtils } from "./validate-
|
|
20
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
15
|
+
import { a as useInvalidateRootLegalEntity, u as useToastContext } from "./useToastContext-kLS15CCB.js";
|
|
16
|
+
import { R as RadioGroup, u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-htJh3Lz5.js";
|
|
17
|
+
import { h as hasDataChanged } from "./hasDataChanged-CA7cMLCV.js";
|
|
18
|
+
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-TJeJM5fq.js";
|
|
19
|
+
import { c as createDocumentRequest, b as getPropsFromConfigurations, d as documentApiUtils } from "./validate-Dz7xvgxq.js";
|
|
20
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CXnvPFZN.js";
|
|
21
21
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
22
22
|
import { signal } from "@preact/signals";
|
|
23
|
-
import { C as CountryField, E as ErrorPanel, c as createFormUtils, f as getFormProps } from "./CountryField-
|
|
24
|
-
import { F as Field, c as Select, a as useForm } from "./useForm-
|
|
25
|
-
import { I as InputDate } from "./InputDate-
|
|
23
|
+
import { C as CountryField, E as ErrorPanel, c as createFormUtils, f as getFormProps } from "./CountryField-50Iboayh.js";
|
|
24
|
+
import { F as Field, c as Select, a as useForm } from "./useForm-Bikkn7wR.js";
|
|
25
|
+
import { I as InputDate } from "./InputDate-DX90XEmr.js";
|
|
26
26
|
import { I as InputGroup } from "./InputGroup-WBfGDV5F.js";
|
|
27
|
-
import { I as InputText } from "./InputText-
|
|
27
|
+
import { I as InputText } from "./InputText-CnEQJihB.js";
|
|
28
28
|
import { C as Currencies } from "./currency-BGwQyxBo.js";
|
|
29
29
|
import { a as formatAmountWithCurrency } from "./formatCurrency-CMOSdJMB.js";
|
|
30
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
30
|
+
import { l as localizeDateString } from "./localizeDateString-cCOzCBvl.js";
|
|
31
31
|
import { t as toCapitalized } from "./toCapitalized-Bq7laD0b.js";
|
|
32
|
-
import { A as Avatar } from "./Avatar-
|
|
33
|
-
import { a as Alert } from "./Alert-
|
|
34
|
-
import { M as Modal } from "./Modal-
|
|
35
|
-
import { C as Confirm } from "./Confirm-
|
|
36
|
-
import { v as validateDateNotInTheFuture } from "./validate
|
|
37
|
-
import { T as TileGroup } from "./TileGroup-
|
|
32
|
+
import { A as Avatar } from "./Avatar-CeHhAxxR.js";
|
|
33
|
+
import { a as Alert } from "./Alert-C_-UwoDE.js";
|
|
34
|
+
import { M as Modal } from "./Modal-ltKHtBfL.js";
|
|
35
|
+
import { C as Confirm } from "./Confirm-DyWhqxmU.js";
|
|
36
|
+
import { v as validateDateNotInTheFuture } from "./validate-DGgXfXyg.js";
|
|
37
|
+
import { T as TileGroup } from "./TileGroup-CTesI0Vt.js";
|
|
38
38
|
import { lazy } from "preact/compat";
|
|
39
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
40
|
-
import { L as LandingLayout } from "./bafinUtils-
|
|
41
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
42
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
39
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-8ug09mhu.js";
|
|
40
|
+
import { L as LandingLayout } from "./bafinUtils-Sy6B6Lec.js";
|
|
41
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BgFPF-FG.js";
|
|
42
|
+
import { i as isEmpty$1 } from "./isEmpty-C9y5I8Tl.js";
|
|
43
43
|
import { S as StructuredList } from "./StructuredList-DaepaiVE.js";
|
|
44
|
-
import { C as Card } from "./Card-
|
|
45
|
-
import { D as Dropzone } from "./Dropzone-
|
|
44
|
+
import { C as Card } from "./Card-D0gduObT.js";
|
|
45
|
+
import { D as Dropzone } from "./Dropzone-Cp2PTdED.js";
|
|
46
46
|
const getBusinessLines = async (legalEntityId, baseUrl) => {
|
|
47
47
|
return httpGet({
|
|
48
48
|
baseUrl,
|
|
@@ -3079,7 +3079,7 @@ const SourceOfFundsPage = ({ onSubmit, handleHomeClick }) => {
|
|
|
3079
3079
|
const capabilityProblems = useCapabilityProblems();
|
|
3080
3080
|
const { i18n } = useTranslation();
|
|
3081
3081
|
addResourceBundles(i18n, i18n.language, [
|
|
3082
|
-
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/
|
|
3082
|
+
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../language/da-DK.json": () => import("./da-DK-B45X2VaJ.js"), "../language/de-DE.json": () => import("./de-DE-CWvgMDqU.js"), "../language/en-US.json": () => import("./en-US-DIdQJky-.js"), "../language/es-ES.json": () => import("./es-ES-DKCCgVF8.js"), "../language/fi-FI.json": () => import("./fi-FI-Hhku9Lmc.js"), "../language/fr-FR.json": () => import("./fr-FR-BYuKsZIb.js"), "../language/it-IT.json": () => import("./it-IT-Nl57jui-.js"), "../language/nl-NL.json": () => import("./nl-NL-BHkRnVrj.js"), "../language/no-NO.json": () => import("./no-NO-kaAdT9B8.js"), "../language/pt-PT.json": () => import("./pt-PT-Xm-pm3mb.js"), "../language/sl-SI.json": () => import("./sl-SI-D_rqR0D7.js"), "../language/sv-SE.json": () => import("./sv-SE-B3zoXMuH.js") }), `../language/${i18n.language}.json`, 3) }
|
|
3083
3083
|
]);
|
|
3084
3084
|
if (!rootLe) {
|
|
3085
3085
|
return /* @__PURE__ */ jsx(Loader, {});
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "54338b68-c718-4d16-bb16-6c652b4ad7cc", e._sentryDebugIdIdentifier = "sentry-dbid-54338b68-c718-4d16-bb16-6c652b4ad7cc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a as useTranslation, x as Typography } from "./StoreProvider-
|
|
12
|
+
import { a as useTranslation, x as Typography } from "./StoreProvider-D4cRWOo4.js";
|
|
13
13
|
const range = (stop, start = 0, step = 1) => Array.from({ length: (stop - start) / step + 1 }, (_, i) => start + i * step);
|
|
14
14
|
const progressBar = "adyen-kyc-progress-bar";
|
|
15
15
|
const progressBarThick = "adyen-kyc-progress-bar-thick";
|
|
@@ -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] = "d0d4dec8-7d70-494c-9886-0d803df7f19c", e._sentryDebugIdIdentifier = "sentry-dbid-d0d4dec8-7d70-494c-9886-0d803df7f19c");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -6430,7 +6430,7 @@ const convertToEmbeddedEvent = (eventQueueItem, sessionData) => {
|
|
|
6430
6430
|
};
|
|
6431
6431
|
};
|
|
6432
6432
|
const useAnalytics = ({ userEvents: userEvents2, sessionId, sessionData }) => {
|
|
6433
|
-
const sdkVersion = "4.0.0-
|
|
6433
|
+
const sdkVersion = "4.0.0-compact.1";
|
|
6434
6434
|
const { data: rootLegalEntity } = useLegalEntity(ROOT_LE);
|
|
6435
6435
|
const { mutateAsync } = usePushAnalyticEvent(sessionId ?? "");
|
|
6436
6436
|
useEffect$1(() => {
|
|
@@ -6470,7 +6470,7 @@ const AnalyticsProvider = ({
|
|
|
6470
6470
|
const userEvents2 = useMemo(() => createUserEvents(), []);
|
|
6471
6471
|
const onboardingVersion = isLoading ? void 0 : isError ? 1 : versionData?.version;
|
|
6472
6472
|
const sessionData = {
|
|
6473
|
-
sdkVersion: "4.0.0-
|
|
6473
|
+
sdkVersion: "4.0.0-compact.1",
|
|
6474
6474
|
componentName,
|
|
6475
6475
|
userAgent: navigator.userAgent,
|
|
6476
6476
|
legalEntityId: rootLegalEntityId,
|
|
@@ -6503,7 +6503,7 @@ function ExperimentsContextProvider({
|
|
|
6503
6503
|
);
|
|
6504
6504
|
return /* @__PURE__ */ jsx$1(ExperimentsContext.Provider, { value: contextValue, children });
|
|
6505
6505
|
}
|
|
6506
|
-
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/
|
|
6506
|
+
const localeImports = /* @__PURE__ */ Object.assign({ "./locales/da-DK.json": () => import("./da-DK-BJ7aTPir.js"), "./locales/de-DE.json": () => import("./de-DE-C78RLE2G.js"), "./locales/en-US.json": () => Promise.resolve().then(() => enUS), "./locales/es-ES.json": () => import("./es-ES-BtUSEzkE.js"), "./locales/fi-FI.json": () => import("./fi-FI-Cvar63RH.js"), "./locales/fr-FR.json": () => import("./fr-FR-B5543Fe-.js"), "./locales/it-IT.json": () => import("./it-IT-Dd6xGSe-.js"), "./locales/nl-NL.json": () => import("./nl-NL-DVENFpd5.js"), "./locales/no-NO.json": () => import("./no-NO-Dn2UkdoI.js"), "./locales/pt-PT.json": () => import("./pt-PT-_o5xgnxS.js"), "./locales/sv-SE.json": () => import("./sv-SE-BUfESAQK.js") });
|
|
6507
6507
|
const loadLocale = async (locale) => {
|
|
6508
6508
|
const importForLocale = localeImports[`./locales/${locale}.json`];
|
|
6509
6509
|
if (!importForLocale) {
|
|
@@ -6872,7 +6872,7 @@ function StateProvider({
|
|
|
6872
6872
|
);
|
|
6873
6873
|
return /* @__PURE__ */ jsx$1(StateContext.Provider, { value: contextValue, children });
|
|
6874
6874
|
}
|
|
6875
|
-
const DebugModal = lazy(async () => (await import("./DebugModal-
|
|
6875
|
+
const DebugModal = lazy(async () => (await import("./DebugModal-Dc6JIQeF.js")).DebugModal);
|
|
6876
6876
|
const DebugListener = () => {
|
|
6877
6877
|
const [debugUiOpen, setDebugUiOpen] = useState$1(false);
|
|
6878
6878
|
const { isSettingEnabled } = useSettingsContext();
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "fd72eb2a-93fc-4143-8489-75164f51ed68", e._sentryDebugIdIdentifier = "sentry-dbid-fd72eb2a-93fc-4143-8489-75164f51ed68");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { L as Loader, V as Icon, a as useTranslation, O as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { L as Loader, V as Icon, a as useTranslation, O as TaskStatuses } from "./StoreProvider-D4cRWOo4.js";
|
|
13
13
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
14
14
|
const Status = ({ text, className, iconStatusClass, icon, size = "small" }) => {
|
|
15
15
|
const containerClasses = cx("adyen-kyc-status", className);
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "4b8d3eb7-7bad-404c-8184-8b4c66d59805", e._sentryDebugIdIdentifier = "sentry-dbid-4b8d3eb7-7bad-404c-8184-8b4c66d59805");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { a as useTranslation, O as TaskStatuses } from "./StoreProvider-
|
|
12
|
+
import { a as useTranslation, O as TaskStatuses } from "./StoreProvider-D4cRWOo4.js";
|
|
13
13
|
const inTaskStatus = "adyen-kyc-in-task-status";
|
|
14
14
|
const inTaskStatusIndicator = "adyen-kyc-in-task-status-indicator";
|
|
15
15
|
const inTaskStatusIndicatorSuccess = "adyen-kyc-in-task-status-indicator-success";
|
|
@@ -2,27 +2,27 @@
|
|
|
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] = "a4c6961e-2100-4870-9ef0-29336a3953e8", e._sentryDebugIdIdentifier = "sentry-dbid-a4c6961e-2100-4870-9ef0-29336a3953e8");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { bx as getNestedPropertyKeys, af as objectsDeepEqual, a as useTranslation, c as useLegalEntity, R as ROOT_LE, a8 as CountryCodes, y as LegalEntityTypes, M as TaskTypes, aD as keysOf, X as useExperimentsContext } from "./StoreProvider-
|
|
10
|
+
import { bx as getNestedPropertyKeys, af as objectsDeepEqual, a as useTranslation, c as useLegalEntity, R as ROOT_LE, a8 as CountryCodes, y as LegalEntityTypes, M as TaskTypes, aD as keysOf, X as useExperimentsContext } from "./StoreProvider-D4cRWOo4.js";
|
|
11
11
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { memo } from "preact/compat";
|
|
13
13
|
import { useState, useRef, useEffect, useCallback, useMemo } from "preact/hooks";
|
|
14
|
-
import { a as useForm, F as Field, c as Select, C as Checkbox } from "./useForm-
|
|
15
|
-
import { c as createFormUtils, F as FormHeader, E as ErrorPanel } from "./CountryField-
|
|
16
|
-
import { T as TextArea, f as validatePatternOnBlur, c as validateNotEmptyOnBlur, a as useAccountHolder } from "./fieldConfigurations-
|
|
17
|
-
import { S as StateContextSetter } from "./validate-
|
|
18
|
-
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-
|
|
19
|
-
import { D as Dropzone } from "./Dropzone-
|
|
20
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
21
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-
|
|
22
|
-
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
14
|
+
import { a as useForm, F as Field, c as Select, C as Checkbox } from "./useForm-Bikkn7wR.js";
|
|
15
|
+
import { c as createFormUtils, F as FormHeader, E as ErrorPanel } from "./CountryField-50Iboayh.js";
|
|
16
|
+
import { T as TextArea, f as validatePatternOnBlur, c as validateNotEmptyOnBlur, a as useAccountHolder } from "./fieldConfigurations-kDKvJ6je.js";
|
|
17
|
+
import { S as StateContextSetter } from "./validate-Dz7xvgxq.js";
|
|
18
|
+
import { D as DocumentGuidance, u as uppercase } from "./mapExistingFile-B1UL2lZR.js";
|
|
19
|
+
import { D as Dropzone } from "./Dropzone-Cp2PTdED.js";
|
|
20
|
+
import { C as CompanyTypesValues } from "./bafinUtils-Sy6B6Lec.js";
|
|
21
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, d as alphanumericInputs, c as customInputs, b as alphaInputs, s as spacer, M as MaskedInput } from "./MaskedInput-Cr4BEARC.js";
|
|
22
|
+
import { C as COUNTRIES_WITH_STATES_DATASET } from "./utils-B7kcMyYW.js";
|
|
23
23
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
24
|
-
import { i as isDateOlderThanAYear } from "./Address-
|
|
25
|
-
import { R as RadioGroup } from "./RadioGroup-
|
|
24
|
+
import { i as isDateOlderThanAYear } from "./Address-YjoUtTTT.js";
|
|
25
|
+
import { R as RadioGroup } from "./RadioGroup-htJh3Lz5.js";
|
|
26
26
|
const getFieldsWithExistingData = (legalEntity, keyMapping, documentMapping, knownProblematicFields = []) => {
|
|
27
27
|
const apiFieldsWithExistingData = getNestedPropertyKeys(legalEntity);
|
|
28
28
|
const nonDocumentFields = apiFieldsWithExistingData.map((field) => keyMapping[field]).filter(Boolean).filter((field) => !knownProblematicFields.includes(field));
|
|
@@ -2,34 +2,34 @@
|
|
|
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] = "bab61a9f-406c-4a44-8524-25e42ec14d6a", e._sentryDebugIdIdentifier = "sentry-dbid-bab61a9f-406c-4a44-8524-25e42ec14d6a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { T as Trans, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-
|
|
10
|
+
import { T as Trans, a as addResourceBundles, _ as __variableDynamicImportRuntimeHelper } from "./translation-RPPT5Bll.js";
|
|
11
11
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
14
|
-
import { b as useApiContext, j as useQuery, o as httpGet, x as Typography, a as useTranslation, u as useI18nContext, V as Icon, B as Button, P as IconButton, a9 as isEmpty$1, U as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, N as createLogger, L as Loader } from "./StoreProvider-
|
|
15
|
-
import { R as RadioGroup, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
16
|
-
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-
|
|
17
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
18
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-kLS15CCB.js";
|
|
14
|
+
import { b as useApiContext, j as useQuery, o as httpGet, x as Typography, a as useTranslation, u as useI18nContext, V as Icon, B as Button, P as IconButton, a9 as isEmpty$1, U as useAnalyticsContext, c as useLegalEntity, R as ROOT_LE, N as createLogger, L as Loader } from "./StoreProvider-D4cRWOo4.js";
|
|
15
|
+
import { R as RadioGroup, a as useUpdateLegalEntity } from "./RadioGroup-htJh3Lz5.js";
|
|
16
|
+
import { F as FormContextProvider, a as FormFlow } from "./FormFlow-C95V54gu.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CXnvPFZN.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-BvLkXMC6.js";
|
|
19
19
|
import { signal } from "@preact/signals";
|
|
20
20
|
import { u as useFormContext } from "./useFormContext-beqGS11A.js";
|
|
21
|
-
import { f as getFormProps } from "./CountryField-
|
|
22
|
-
import { F as Field } from "./useForm-
|
|
23
|
-
import { L as Link } from "./Link-
|
|
24
|
-
import { a as Alert } from "./Alert-
|
|
21
|
+
import { f as getFormProps } from "./CountryField-50Iboayh.js";
|
|
22
|
+
import { F as Field } from "./useForm-Bikkn7wR.js";
|
|
23
|
+
import { L as Link } from "./Link-Bn9pt52z.js";
|
|
24
|
+
import { a as Alert } from "./Alert-C_-UwoDE.js";
|
|
25
25
|
import { lazy } from "preact/compat";
|
|
26
|
-
import { I as Image } from "./fieldConfigurations-
|
|
26
|
+
import { I as Image } from "./fieldConfigurations-kDKvJ6je.js";
|
|
27
27
|
import { S as StructuredList } from "./StructuredList-DaepaiVE.js";
|
|
28
|
-
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-
|
|
29
|
-
import { L as LandingLayout } from "./bafinUtils-
|
|
30
|
-
import { C as Card } from "./Card-
|
|
31
|
-
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-
|
|
32
|
-
import { i as isEmpty } from "./isEmpty-
|
|
28
|
+
import { T as TaskStatusIndicator } from "./TaskStatusIndicator-8ug09mhu.js";
|
|
29
|
+
import { L as LandingLayout } from "./bafinUtils-Sy6B6Lec.js";
|
|
30
|
+
import { C as Card } from "./Card-D0gduObT.js";
|
|
31
|
+
import { n as normalizedTaskStatusStore } from "./OnboardingDropinComponent-BgFPF-FG.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-C9y5I8Tl.js";
|
|
33
33
|
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
34
|
return httpGet({
|
|
35
35
|
baseUrl,
|
|
@@ -354,7 +354,7 @@ function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
|
354
354
|
const { i18n } = useI18nContext();
|
|
355
355
|
const { i18n: i18next } = useTranslation();
|
|
356
356
|
addResourceBundles(i18next, i18next.language, [
|
|
357
|
-
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/
|
|
357
|
+
{ ns: "efp", importFn: () => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "../../language/da-DK.json": () => import("./da-DK-B45X2VaJ.js"), "../../language/de-DE.json": () => import("./de-DE-CWvgMDqU.js"), "../../language/en-US.json": () => import("./en-US-DIdQJky-.js"), "../../language/es-ES.json": () => import("./es-ES-DKCCgVF8.js"), "../../language/fi-FI.json": () => import("./fi-FI-Hhku9Lmc.js"), "../../language/fr-FR.json": () => import("./fr-FR-BYuKsZIb.js"), "../../language/it-IT.json": () => import("./it-IT-Nl57jui-.js"), "../../language/nl-NL.json": () => import("./nl-NL-BHkRnVrj.js"), "../../language/no-NO.json": () => import("./no-NO-kaAdT9B8.js"), "../../language/pt-PT.json": () => import("./pt-PT-Xm-pm3mb.js"), "../../language/sl-SI.json": () => import("./sl-SI-D_rqR0D7.js"), "../../language/sv-SE.json": () => import("./sv-SE-B3zoXMuH.js") }), `../../language/${i18next.language}.json`, 4) }
|
|
358
358
|
]);
|
|
359
359
|
const { data: taxRecommendationData, isLoading: isLoadingTaxRecommendationData } = useTaxClassification();
|
|
360
360
|
const userEvents = useAnalyticsContext();
|
|
@@ -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] = "4eae9ea3-4609-4bac-a7db-0d7c1b670837", e._sentryDebugIdIdentifier = "sentry-dbid-4eae9ea3-4609-4bac-a7db-0d7c1b670837");
|
|
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 { V as Icon, x as Typography, W as noop } from "./StoreProvider-
|
|
13
|
-
import { b as useId } from "./useForm-
|
|
12
|
+
import { V as Icon, x as Typography, W as noop } from "./StoreProvider-D4cRWOo4.js";
|
|
13
|
+
import { b as useId } from "./useForm-Bikkn7wR.js";
|
|
14
14
|
import { useRef } from "preact/hooks";
|
|
15
15
|
import { K as KEYBOARD_KEYS } from "./keys-BpNgnAsD.js";
|
|
16
16
|
const tileContainer = "adyen-kyc-tile-container";
|
|
@@ -2,37 +2,37 @@
|
|
|
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] = "86369c83-e0ea-4da6-9740-6a7a6d3eb707", e._sentryDebugIdIdentifier = "sentry-dbid-86369c83-e0ea-4da6-9740-6a7a6d3eb707");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, Fragment, jsxs } from "preact/jsx-runtime";
|
|
11
|
-
import { aS as reverseMapping, y as LegalEntityTypes, M as TaskTypes, a8 as CountryCodes, an as hasText, ao as isValidMinLength, ap as matchesRegex, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, a as useTranslation, u as useI18nContext, X as useExperimentsContext, x as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, U as useAnalyticsContext, bL as trustDocumentMapping, ay as cloneObject, g as getLegalEntityCountry, a9 as isEmpty$1, b1 as drop, a6 as getOwnEntityAssociations, c as useLegalEntity, q as skipToken, R as ROOT_LE, L as Loader, aD as keysOf, J as EntityTypes } from "./StoreProvider-
|
|
12
|
-
import { c as validateNotEmptyOnBlur, r as resolveFieldMetadata, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-
|
|
13
|
-
import { j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, e as exemptedFromTaxDefaultFieldMetadata, d as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-
|
|
11
|
+
import { aS as reverseMapping, y as LegalEntityTypes, M as TaskTypes, a8 as CountryCodes, an as hasText, ao as isValidMinLength, ap as matchesRegex, aq as NO_ALPHABET_REGEX, ar as EMOJI_REGEX, as as hasRepeatedCharacters, at as isInvalidName, au as OTHER_ENTITIES_VALID_CHAR_REGEX, a as useTranslation, u as useI18nContext, X as useExperimentsContext, x as Typography, bI as getCountrySpecificTrustTypeOptions, bJ as trustComponentsKeyMapping, bK as trustApiKeyMapping, b as useApiContext, U as useAnalyticsContext, bL as trustDocumentMapping, ay as cloneObject, g as getLegalEntityCountry, a9 as isEmpty$1, b1 as drop, a6 as getOwnEntityAssociations, c as useLegalEntity, q as skipToken, R as ROOT_LE, L as Loader, aD as keysOf, J as EntityTypes } from "./StoreProvider-D4cRWOo4.js";
|
|
12
|
+
import { c as validateNotEmptyOnBlur, r as resolveFieldMetadata, b as useCapabilityProblems, g as getProblemsForEntity } from "./fieldConfigurations-kDKvJ6je.js";
|
|
13
|
+
import { j as COUNTRIES_THAT_USE_TAX_ID_INSTEAD_OF_VAT, c as TAX_INFORMATION_FIELD, t as taxInformationDefaultFieldMetadata, b as taxInformationDefaultFieldConfig, e as exemptedFromTaxDefaultFieldMetadata, d as exemptedFromTaxDefaultFieldConfig, T as TaxInformationField, g as getFieldsWithExistingData, k as getCompanyRegistrationNumberOptions, l as countryToTaxInfoTypeMap, u as useCapabilities } from "./TaxInformationField-BfyN5nzh.js";
|
|
14
14
|
import { useMemo, useCallback, useEffect, useState, useRef } from "preact/hooks";
|
|
15
|
-
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-
|
|
16
|
-
import { h as hasDataChanged } from "./hasDataChanged-
|
|
17
|
-
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-
|
|
18
|
-
import { u as useToastContext } from "./useToastContext-
|
|
19
|
-
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-
|
|
20
|
-
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getPropsFromConfigurations, k as augmentWithCountryConfigs, e as composePerScenarioFormConfigurations } from "./validate-
|
|
21
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
22
|
-
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
23
|
-
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, e as doingBusinessAsAbsentFieldMetadata, c as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, b as registrationNumberDefaultFieldConfig, i as exemptFromRegistrationNumberDefaultFieldMetadata, l as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, a as defaultFieldConfig, f as DBANameField, g as BusinessRegistrationNumberField, h as VatNumberField, j as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, k as getDefaultVatNumberType, m as getDefaultRegistrationNumberType, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-
|
|
24
|
-
import { m as mapAddressLabels } from "./utils-
|
|
25
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
26
|
-
import { a as datasetUtilities } from "./useDataset-
|
|
15
|
+
import { u as useCreateLegalEntity, a as useUpdateLegalEntity } from "./RadioGroup-htJh3Lz5.js";
|
|
16
|
+
import { h as hasDataChanged } from "./hasDataChanged-CA7cMLCV.js";
|
|
17
|
+
import { u as useGlobalDataSlice, c as useStateContext, F as FormWrapper } from "./useGlobalData-TJeJM5fq.js";
|
|
18
|
+
import { u as useToastContext } from "./useToastContext-kLS15CCB.js";
|
|
19
|
+
import { g as getAssociatedLeAnalyticsPayload } from "./analytics-Cg99WKif.js";
|
|
20
|
+
import { a as getDocument, c as createDocumentRequest, d as documentApiUtils, b as getPropsFromConfigurations, k as augmentWithCountryConfigs, e as composePerScenarioFormConfigurations } from "./validate-Dz7xvgxq.js";
|
|
21
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-CXnvPFZN.js";
|
|
22
|
+
import { m as mapExistingFile, g as getPageName, b as useScenarioConfiguration } from "./mapExistingFile-B1UL2lZR.js";
|
|
23
|
+
import { D as DBA_NAME_FIELD, B as BUSINESS_REGISTRATION_NUMBER_FIELD, V as VAT_NUMBER_FIELD, e as doingBusinessAsAbsentFieldMetadata, c as doingBusinessAsFieldMetadata, r as registrationNumberDefaultFieldMetadata, b as registrationNumberDefaultFieldConfig, i as exemptFromRegistrationNumberDefaultFieldMetadata, l as exemptFromRegistrationNumberDefaultFieldConfig, d as defaultFieldMetadata, a as defaultFieldConfig, f as DBANameField, g as BusinessRegistrationNumberField, h as VatNumberField, j as registrationAddressFields, R as RegistrationAddress, M as MemoizedConstitutionalDocument, k as getDefaultVatNumberType, m as getDefaultRegistrationNumberType, n as inferCompanyRegistrationNumberType } from "./RegistrationAddress-DiVxWv-x.js";
|
|
24
|
+
import { m as mapAddressLabels } from "./utils-B7kcMyYW.js";
|
|
25
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-CpKFQv28.js";
|
|
26
|
+
import { a as datasetUtilities } from "./useDataset-B8uRm9G9.js";
|
|
27
27
|
import { f as formatObject, g as getProp } from "./utils-DNSfZiio.js";
|
|
28
|
-
import { o as operationalAddressIsSameIds } from "./Address-
|
|
28
|
+
import { o as operationalAddressIsSameIds } from "./Address-YjoUtTTT.js";
|
|
29
29
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
30
|
-
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
31
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, a as COUNTRY_FIELD, f as getFormProps, i as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-
|
|
32
|
-
import { a as useForm, F as Field, c as Select } from "./useForm-
|
|
33
|
-
import { a as Alert } from "./Alert-
|
|
34
|
-
import { I as InputText } from "./InputText-
|
|
35
|
-
import { i as isEmpty } from "./isEmpty-
|
|
30
|
+
import { U as UNINCORPORATED_PARTNERSHIP_COUNTRIES_VAT_NUMBER_OPTIONAL, a as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_REQUIRED, b as UNINCORPORATED_PARTNERSHIP_COUNTRIES_REGISTRATION_NUMBER_OPTIONAL, c as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_REQUIRED, d as UNINCORPORATED_PARTNERSHIP_COUNTRIES_TAX_INFORMATION_OPTIONAL, A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-CX7rD7X4.js";
|
|
31
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils, F as FormHeader, E as ErrorPanel, C as CountryField, a as COUNTRY_FIELD, f as getFormProps, i as getNestedOuterFormPropsFromOuterFormProps } from "./CountryField-50Iboayh.js";
|
|
32
|
+
import { a as useForm, F as Field, c as Select } from "./useForm-Bikkn7wR.js";
|
|
33
|
+
import { a as Alert } from "./Alert-C_-UwoDE.js";
|
|
34
|
+
import { I as InputText } from "./InputText-CnEQJihB.js";
|
|
35
|
+
import { i as isEmpty } from "./isEmpty-C9y5I8Tl.js";
|
|
36
36
|
const mapApiDocumentToTrustDocument = (entityId) => {
|
|
37
37
|
const constitutionalDocument = getDocument(entityId, "constitutionalDocument") || null;
|
|
38
38
|
return {
|