@adyen/kyc-components 4.0.0-compact.3 → 4.0.0-compact.7
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/4-people-BtDi7O9A.js +24 -0
- package/dist/AcceptTermsOfServiceComponent-BFqDontt.js +650 -0
- package/dist/Accordion-B2vSnESS.js +88 -0
- package/dist/AccountSetupRejected-f8rcBzZj.js +26 -0
- package/dist/ActionBar-CijauUSe.js +31 -0
- package/dist/Address-Bj7zJ6yZ.js +1112 -0
- package/dist/Alert-CFmX9yNV.js +169 -0
- package/dist/Avatar-DWU7t_0U.js +60 -0
- package/dist/BusinessFinancingComponent-_DvatBRp.js +55 -0
- package/dist/BusinessFinancingDropin-BuATaIOz.js +2235 -0
- package/dist/BusinessFinancingPage-Bpu78Ynn.js +43 -0
- package/dist/BusinessTypeSelectionPage-gsT7g7u8.js +446 -0
- package/dist/Card-OQuFzmxm.js +90 -0
- package/dist/Checkbox-5Sc5pzsh.js +74 -0
- package/dist/Confirm-C0J_JwMM.js +64 -0
- package/dist/ConstitutionalDocument-Bw5T0g5Q.js +2361 -0
- package/dist/ContactDetails-CXTim9KR.js +396 -0
- package/dist/ContextGuidance-074d6FWy.js +34 -0
- package/dist/ContractViewer-DcQHIGMU.js +935 -0
- package/dist/CountryField-DxZlK1rV.js +66 -0
- package/dist/CreateIndividualComponent-BppUrKMC.js +65 -0
- package/dist/CreateTransferInstrumentComponent-Cl2NOJb6.js +56 -0
- package/dist/Currency-CIgj9KwH.js +238 -0
- package/dist/CustomerSupport-UenL9SqQ.js +156 -0
- package/dist/DebugModal-KXKodU9u.js +416 -0
- package/dist/DecisionMakerDetailsPage-Xwe1qYtH.js +104 -0
- package/dist/DecisionMakers-CJDodZSl.js +858 -0
- package/dist/Dropzone-kpihpy7N.js +224 -0
- package/dist/EmbeddedStatus-BJjPDUeS.js +97 -0
- package/dist/EndStateLayout-Cx1NUGVq.js +71 -0
- package/dist/EntityAssociation-BtQeHZOq.js +178 -0
- package/dist/EntityGuidanceStatus-DyMVy3R4.js +106 -0
- package/dist/ErrorPanel-CAALFKmE.js +194 -0
- package/dist/Field-Bs7wGDqk.js +141 -0
- package/dist/FormNavigation-BtSvWPRY.js +144 -0
- package/dist/FormWrapper-B3N3YosC.js +135 -0
- package/dist/Header-vslG1ugE.js +83 -0
- package/dist/Image-CAucF9wz.js +27 -0
- package/dist/Individual.rules-CP2tzjmO.js +383 -0
- package/dist/IndividualDropin-xfXkDkrM.js +5168 -0
- package/dist/InputDate-CLxqciJA.js +43 -0
- package/dist/InputGroup-WBfGDV5F.js +32 -0
- package/dist/InputText-BdCbTzL9.js +134 -0
- package/dist/Introduction-BRWdnVv5.js +256 -0
- package/dist/JpAddress-BSEenMj0.js +329 -0
- package/dist/LandingLayout-kl7TkBGx.js +60 -0
- package/dist/LegalCompanyNameField-DzAxAnD9.js +138 -0
- package/dist/LegalRepresentativeDetailsPage--yY_D66i.js +55 -0
- package/dist/Link-CXYU8cLY.js +35 -0
- package/dist/List-BAzyC6sw.js +83 -0
- package/dist/ListItem-HD5_HiQ2.js +69 -0
- package/dist/LoaderWrapper-C2PvjjQc.js +42 -0
- package/dist/ManageIndividualComponent-BGaAbJjj.js +46 -0
- package/dist/ManageTermsOfServiceComponent-DFjaajE4.js +52 -0
- package/dist/ManageTransferInstrumentComponent-Dndkwh_d.js +292 -0
- package/dist/MaskedInput-BSW18fxr.js +811 -0
- package/dist/MaybeModal-xIjl3I31.js +36 -0
- package/dist/Modal-CZ-HuGUO.js +147 -0
- package/dist/Name-D6EhveoK.js +81 -0
- package/dist/OnboardingDropinComponent-CHtcVTHh.js +2672 -0
- package/dist/PayoutDetailsDropin-C2pNMAZS.js +4978 -0
- package/dist/Radio-BMtxBpnn.js +39 -0
- package/dist/RadioGroup-CxcIXYzs.js +100 -0
- package/dist/RadioGroupCard-Y214QWmQ.js +152 -0
- package/dist/Review-B2NCN4h_.js +84 -0
- package/dist/RootBusinessDetailsPage-hr5fLCIH.js +50 -0
- package/dist/RootBusinessLinesPage-DSna9haW.js +1553 -0
- package/dist/RootIndividualDetailsPage-BItguz9n.js +62 -0
- package/dist/Select-DaCJsYNl.js +868 -0
- package/dist/SignPCIComponent-C2YjBxQM.js +307 -0
- package/dist/SingpassSelection-B3ozCH9I.js +132 -0
- package/dist/SoleProprietorshipPage-DIzzhgjr.js +50 -0
- package/dist/SourceOfFundsPage-C3kXyE7G.js +2162 -0
- package/dist/Spacer-BK3jDget.js +18 -0
- package/dist/StepProgressIndicator-BSGlNU3K.js +78 -0
- package/dist/StoreProvider-99-ewU62.js +4793 -0
- package/dist/StructuredList-CVMZBzwq.js +61 -0
- package/dist/Summary-D0GcSMNn.js +220 -0
- package/dist/TaskVerificationStatus-DZIw2ztV.js +129 -0
- package/dist/TaxInformationField-BxQvx1zK.js +3741 -0
- package/dist/TaxReportingDropin-BqvAQH2c.js +503 -0
- package/dist/TextArea-BjsWgkR-.js +103 -0
- package/dist/TileGroup-C-5-VREz.js +203 -0
- package/dist/TrustDetailsPage-YROGiuFJ.js +2172 -0
- package/dist/TrustMemberCompanyPage-Z2EuqPEI.js +68 -0
- package/dist/TrustMemberIndividualPage-DmNp3D89.js +64 -0
- package/dist/TrustMemberRoleAndTypePage-BEOtdItr.js +1087 -0
- package/dist/TrustMembersOverview-GybHMIEU.js +439 -0
- package/dist/UnincorporatedPartnershipIndividualPage-BCYxSTlv.js +63 -0
- package/dist/UnincorporatedPartnershipMemberCompanyPage-Buez4OHl.js +71 -0
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-Cfpe0BuU.js +292 -0
- package/dist/UnincorporatedPartnershipMembersOverview-B3Vi088r.js +173 -0
- package/dist/VerificationErrorAlert-C6_ewC7c.js +60 -0
- package/dist/ViewVerificationStatusComponent-DpA4jlct.js +181 -0
- package/dist/accountHolderUtils-Btu9mMnM.js +66 -0
- package/dist/adyen-business-financing.js +8 -4
- package/dist/adyen-individual-configuration.js +8 -4
- package/dist/adyen-individual-status.js +5 -4
- package/dist/adyen-invited-decision-maker.js +87 -0
- package/dist/adyen-kyc-components.js +23 -21
- package/dist/adyen-onboarding.js +8 -4
- package/dist/adyen-terms-of-service-management.js +8 -4
- package/dist/adyen-terms-of-service-status.js +5 -4
- package/dist/adyen-transfer-instrument-configuration.js +8 -4
- package/dist/adyen-transfer-instrument-management.js +5 -4
- package/dist/adyen-verification-status.js +8 -4
- package/dist/arrow-right-BoqwUH_d.js +14 -0
- package/dist/bafinUtils-CIGv_BK8.js +80 -0
- package/dist/bag-BXVWLrwo.js +14 -0
- package/dist/bank-1GvaHPAZ.js +14 -0
- package/dist/bin-Ba-3ll8T.js +18 -0
- package/dist/business-lines-BAqTbnBw.js +135 -0
- package/dist/capital-9TKHySO7.js +17 -0
- package/dist/cash-stack-DwYu4xNy.js +22 -0
- package/dist/certificate-N2YFedpI.js +17 -0
- package/dist/checkmark-D9dGhGpG.js +14 -0
- package/dist/checkmark-circle-CFWClLQ6.js +20 -0
- package/dist/checkmark-circle-fill-DEB-tuGl.js +17 -0
- package/dist/checkmark-small-D3VNx2lo.js +14 -0
- package/dist/chevron-down-C7SUSYfl.js +14 -0
- package/dist/chevron-left-BXmd-S46.js +14 -0
- package/dist/chevron-right-jE6RwM2B.js +14 -0
- package/dist/chevron-up-BdfNcqzq.js +14 -0
- package/dist/circle-BJPTMCWB.js +17 -0
- package/dist/circle-small-filled-BuO8Vg8j.js +14 -0
- package/dist/clock-DAzaBRWk.js +20 -0
- package/dist/coins-DYdzG5e_.js +17 -0
- package/dist/commonValidators-DTt6he7v.js +24 -0
- package/dist/company-types-value-D_mKv5PT.js +23 -0
- package/dist/contract-BfJb1t6M.js +14 -0
- package/dist/cross-CDS_eot4.js +14 -0
- package/dist/cross-circle-fill-C-EJ57Yn.js +17 -0
- package/dist/cross-circle-fill-small-DkPjsuBH.js +14 -0
- package/dist/currency-CrdnaaDu.js +35 -0
- package/dist/da-DK-B3Pg-MWO.js +13 -0
- package/dist/da-DK-CGWvmdkq.js +38 -0
- package/dist/da-DK-Cd5IQPv3.js +75 -0
- package/dist/da-DK-DQ4ZYSea.js +65 -0
- package/dist/da-DK-DzcTI92X.js +13 -0
- package/dist/da-DK-vcVNQJbX.js +63 -0
- package/dist/datasetUtil-BHQp0-xL.js +58 -0
- package/dist/de-DE-C9NH2zMh.js +75 -0
- package/dist/de-DE-CWEW2yqg.js +63 -0
- package/dist/de-DE-CkbOZ6S_.js +65 -0
- package/dist/de-DE-DHDJhahG.js +38 -0
- package/dist/de-DE-S6qDey1L.js +13 -0
- package/dist/de-DE-dPfrbCii.js +13 -0
- package/dist/debouncedInputEvent-Cv2S512Y.js +46 -0
- package/dist/decision-makers-group-DrvpnEqj.js +1944 -0
- package/dist/digital-wallet-Bx5YM1LY.js +46 -0
- package/dist/document-1-qlSTF558.js +14 -0
- package/dist/document-blurred-BiWap0xs.js +37 -0
- package/dist/document-cut-off-aQezqOif.js +32 -0
- package/dist/document-expired-BhBXaWWQ.js +38 -0
- package/dist/document-front-DYuhZGeQ.js +30 -0
- package/dist/document-person-CDbnTOdV.js +20 -0
- package/dist/download-BZQB1WkZ.js +17 -0
- package/dist/dropinUtils--st1YpV6.js +200 -0
- package/dist/edit-1-DAqtnOIx.js +14 -0
- package/dist/en-US-BSQXKu6d.js +54 -0
- package/dist/en-US-CjjPhkB5.js +65 -0
- package/dist/en-US-D1sB335h.js +61 -0
- package/dist/en-US-DLY20x1O.js +13 -0
- package/dist/en-US-DYP6rAvA.js +75 -0
- package/dist/en-US-DoiQhi0j.js +38 -0
- package/dist/en-US-cVpRgdC8.js +13 -0
- package/dist/es-ES--IvNed_Q.js +13 -0
- package/dist/es-ES-BAolMrZ0.js +65 -0
- package/dist/es-ES-BYl5-PFR.js +13 -0
- package/dist/es-ES-CDgjGql5.js +63 -0
- package/dist/es-ES-CxnsKEh4.js +38 -0
- package/dist/es-ES-DK-7qtDf.js +75 -0
- package/dist/external-link-Cg6pJaSJ.js +14 -0
- package/dist/fi-FI-57-xkioo.js +38 -0
- package/dist/fi-FI-BJLU1JHw.js +75 -0
- package/dist/fi-FI-BUixKfXH.js +13 -0
- package/dist/fi-FI-CsZlDJFb.js +63 -0
- package/dist/fi-FI-D8WrLxxq.js +65 -0
- package/dist/fi-FI-DFxljML-.js +13 -0
- package/dist/fieldConfigurations-BUT9DTUH.js +21 -0
- package/dist/filterProblemsByTaskForms-Cz7iQtms.js +30 -0
- package/dist/form-rules-DhbF2mY4.js +13 -0
- package/dist/formUtils-C_sWWLS3.js +107 -0
- package/dist/fr-FR-B2je0smB.js +75 -0
- package/dist/fr-FR-BM-qNLci.js +13 -0
- package/dist/fr-FR-Beljeilc.js +65 -0
- package/dist/fr-FR-BxiX8Zfi.js +38 -0
- package/dist/fr-FR-DPehHVb6.js +13 -0
- package/dist/fr-FR-VoxPkXSc.js +63 -0
- package/dist/funds-in-CInoUdmG.js +21 -0
- package/dist/getName-CnZDw7kV.js +41 -0
- package/dist/getProblemsForEntity-D8qEVVOM.js +24 -0
- package/dist/getProps-Cc3J2-z9.js +148 -0
- package/dist/getTrustedFields-C5-mXl-l.js +64 -0
- package/dist/gift-omNInZeB.js +14 -0
- package/dist/graph-DunG_uu1.js +21 -0
- package/dist/graph-up-BZze4i6m.js +20 -0
- package/dist/headquarter-BhpSibFO.js +21 -0
- package/dist/hotel-Cp7VgGCJ.js +22 -0
- package/dist/house-BhyBQdR3.js +21 -0
- package/dist/id-blurred-B5lHEP8M.js +59 -0
- package/dist/id-cut-off-Ba1FRzKO.js +55 -0
- package/dist/id-front-CpNWN6nG.js +52 -0
- package/dist/id-glare-DgCQON8k.js +49 -0
- package/dist/iframeWidget-DqeucjDU.js +234 -0
- package/dist/image-CmB0ioUM.js +17 -0
- package/dist/info-Bb_-xIEK.js +21 -0
- package/dist/info-filled-CK8LB339.js +17 -0
- package/dist/instant-verification-UrnuHTYn.js +40 -0
- package/dist/isEmpty-CUuXL9Na.js +23 -0
- package/dist/isNewEntity-7Vw_eQBr.js +13 -0
- package/dist/it-IT-5a7NHVFo.js +65 -0
- package/dist/it-IT-D63gRTDc.js +13 -0
- package/dist/it-IT-DOBp2-MP.js +13 -0
- package/dist/it-IT-DZjw9LNC.js +63 -0
- package/dist/it-IT-Dhwa9Ecj.js +75 -0
- package/dist/it-IT-masgjk9F.js +38 -0
- package/dist/ja-JP-B3wVYIJU.js +151 -0
- package/dist/ja-JP-Bc4U0S8-.js +75 -0
- package/dist/ja-JP-BoxeBgOv.js +32 -0
- package/dist/ja-JP-BqluCflj.js +63 -0
- package/dist/ja-JP-Bv3ru9Xq.js +125 -0
- package/dist/ja-JP-CbgaW99b.js +54 -0
- package/dist/ja-JP-CceCDXLB.js +55 -0
- package/dist/ja-JP-CvNJvxkQ.js +218 -0
- package/dist/ja-JP-DL0IjTzn.js +13 -0
- package/dist/ja-JP-DSvZhFNY.js +65 -0
- package/dist/ja-JP-FWHXsXlW.js +24 -0
- package/dist/ja-JP-bz7ekGnF.js +27 -0
- package/dist/ja-JP-g6VOUGXZ.js +136 -0
- package/dist/ja-JP-vv3-YsHU.js +38 -0
- package/dist/japanSupportUtils-CGWcXGP2.js +16 -0
- package/dist/jpAddressSchema-DEOyz9Yo.js +26 -0
- package/dist/localizeDateString-D6tFShQu.js +27 -0
- package/dist/location-itJfxrDQ.js +17 -0
- package/dist/mail-VHTlAusn.js +14 -0
- package/dist/manual-verification-BO8zgAYT.js +41 -0
- package/dist/mapExistingFile-BM9f5AeG.js +230 -0
- package/dist/mapJpAddressSchemaToAddressLocalizations-Cu4hdrYE.js +162 -0
- package/dist/mapLegalEntityToIndividualSchema-DVKTWyvx.js +206 -0
- package/dist/mapTransferInstrumentToPayoutAccount--gtugk3J.js +34 -0
- package/dist/minus-circle-filled-ZhtJ0GD3.js +17 -0
- package/dist/nl-NL-B0fvINJj.js +75 -0
- package/dist/nl-NL-CmURERx_.js +65 -0
- package/dist/nl-NL-D1b5RUJ0.js +38 -0
- package/dist/nl-NL-KQ6bciOb.js +13 -0
- package/dist/nl-NL-SjOGmGk5.js +13 -0
- package/dist/nl-NL-lcNM54vV.js +63 -0
- package/dist/no-NO-BAWVf0GX.js +13 -0
- package/dist/no-NO-CTrVITNu.js +63 -0
- package/dist/no-NO-Dkh4SWbB.js +38 -0
- package/dist/no-NO-Ds3VioxT.js +13 -0
- package/dist/no-NO-Jw7Gae-a.js +75 -0
- package/dist/no-NO-qyqWODMp.js +65 -0
- package/dist/onfido-logo-BSkKPH10.js +14 -0
- package/dist/options-horizontal-GuXvLvV3.js +18 -0
- package/dist/partner-QD27Vy4w.js +18 -0
- package/dist/passport-blurred-CVG493IJ.js +59 -0
- package/dist/passport-cut-off-COzA_TmB.js +56 -0
- package/dist/passport-front-WJleLixT.js +52 -0
- package/dist/passport-front-green-CZVkCa1n.js +232 -0
- package/dist/passport-glare-BP5WnJZj.js +50 -0
- package/dist/patternValidators-vYKnE5-t.js +83 -0
- package/dist/pay-by-link-plane-BpY8Q6-B.js +22 -0
- package/dist/payout-DtB68BcZ.js +20 -0
- package/dist/payout-verification-instant-BzpfOQLD.js +41 -0
- package/dist/payout-verification-manual-gNEoeZkV.js +90 -0
- package/dist/person-IVZG3t3_.js +17 -0
- package/dist/plaid-logo-FsZ7kfL-.js +14 -0
- package/dist/plus-DiALAL8-.js +14 -0
- package/dist/plus-circle-filled-BzHtTqEN.js +17 -0
- package/dist/process-field-configurations-Dl2Isz78.js +324 -0
- package/dist/pt-BR-BRdIEO2O.js +38 -0
- package/dist/pt-BR-BaTE6BB_.js +75 -0
- package/dist/pt-BR-BfDe_8iW.js +13 -0
- package/dist/pt-BR-BxoOF8jB.js +65 -0
- package/dist/pt-BR-Ct4s4jXV.js +13 -0
- package/dist/pt-BR-DA44Wgbt.js +63 -0
- package/dist/recurring-DKNs9K3x.js +17 -0
- package/dist/reporting-D5ABpLO_.js +16 -0
- package/dist/resolveEnvironment-B_JokQ0n.js +84 -0
- package/dist/revenue-accelerate-D7Sp0V4a.js +17 -0
- package/dist/review-D4TUjcWF.js +17 -0
- package/dist/roleMetadata-eM6T7GeQ.js +66 -0
- package/dist/save-BfqO2JBI.js +14 -0
- package/dist/search-Cmzbf5zI.js +17 -0
- package/dist/show-IdbU1C6P.js +17 -0
- package/dist/singpass-logo-wY4xsmTX.js +17 -0
- package/dist/singpass-verification-instant-JCqTr7Mv.js +40 -0
- package/dist/singpass-verification-manual-DQ7XW6R3.js +34 -0
- package/dist/sl-SI-BAIm-qBe.js +13 -0
- package/dist/sl-SI-BZpXMHiG.js +13 -0
- package/dist/sl-SI-CvUzNn9Z.js +38 -0
- package/dist/sl-SI-D8dDckrW.js +55 -0
- package/dist/sl-SI-DEaeEVKB.js +24 -0
- package/dist/sl-SI-DTvJT7fC.js +65 -0
- package/dist/sl-SI-DZHePXbK.js +63 -0
- package/dist/sl-SI-DbfswGh0.js +75 -0
- package/dist/sl-SI-DqUEy_Cm.js +32 -0
- package/dist/sl-SI-hxwQIw_i.js +13 -0
- package/dist/solution-payments-DpyE_sdS.js +14 -0
- package/dist/store-Btc4GcmU.js +14 -0
- package/dist/style.css +2642 -2946
- package/dist/styles-CLV89_hH.js +2642 -2946
- package/dist/summaryItem-CAQCQSkt.js +18 -0
- package/dist/sv-SE-0PQ-U1u6.js +13 -0
- package/dist/sv-SE-BZNey_8S.js +13 -0
- package/dist/sv-SE-BsLkPEzn.js +38 -0
- package/dist/sv-SE-D_Efxy3s.js +75 -0
- package/dist/sv-SE-Dq56vGlB.js +63 -0
- package/dist/sv-SE-N-Hqwcjq.js +65 -0
- package/dist/tax-reporting-graph-hgoilCHZ.js +504 -0
- package/dist/terminal-1-D1pwXCoi.js +18 -0
- package/dist/tink-logo-DDyjz5eJ.js +17 -0
- package/dist/types/api/address/useAddressCleanse.d.ts +1 -1
- package/dist/types/api/address/useRetrieveAddress.d.ts +1 -1
- package/dist/types/api/address/useRetrieveFromPostcodeJp.d.ts +1 -1
- package/dist/types/api/address/useSearchAddress.d.ts +1 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +3 -3
- package/dist/types/api/businessLines/useCreateBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useDeleteBusinessLine.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateBusinessLines.d.ts +2 -2
- package/dist/types/api/businessLines/useUpdateSourceOfFunds.d.ts +2 -2
- package/dist/types/api/check/useCheck.d.ts +1 -2
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +2 -2
- package/dist/types/api/companySearch/useCompanySearch.d.ts +1 -2
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +3 -161
- package/dist/types/api/configurations/useSupportedCountries.d.ts +1 -1
- package/dist/types/api/configurations/useTaskTypes.d.ts +1 -1
- package/dist/types/api/configurations/useVersionConfiguration.d.ts +1 -1
- package/dist/types/api/createLegalEntity/useCreateLegalEntity.d.ts +2 -2
- package/dist/types/api/datasets/useLegalForms.d.ts +1 -1
- package/dist/types/api/datasets/useNaceCodes.d.ts +1 -1
- package/dist/types/api/datasets/useSourceOfFundsTypes.d.ts +1 -1
- package/dist/types/api/documentValidation/useDocumentValidate.d.ts +2 -4
- package/dist/types/api/documents/useCreateDocument.d.ts +2 -2
- package/dist/types/api/documents/useDeleteDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocument.d.ts +2 -2
- package/dist/types/api/documents/useDocuments.d.ts +4 -0
- package/dist/types/api/documents/useUpdateDocument.d.ts +2 -2
- package/dist/types/api/entityVerifications/useVerifyIdNumber.d.ts +2 -2
- package/dist/types/api/idNowProvider/useIdNowProvider.d.ts +3 -4
- package/dist/types/api/idVerificationProviders/idVerificationStartCheck.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useExtractDocumentInformation.d.ts +2 -2
- package/dist/types/api/idVerificationProviders/useIdVerificationToken.d.ts +3 -3
- package/dist/types/api/industryCodes/useIndustryCodes.d.ts +1 -2
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +2 -2
- package/dist/types/api/legalEntity/useLegalEntity.d.ts +8 -389
- package/dist/types/api/legalEntity/useUpdateLegalEntity.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useGenerateOnboardingLink.d.ts +2 -2
- package/dist/types/api/onboardingStatus/useOnboardingStatus.d.ts +1 -1
- package/dist/types/api/openId/useOpenIdAuthorizationLink.d.ts +1 -2
- package/dist/types/api/pci/usePciQuestionnaireList.d.ts +1 -1
- package/dist/types/api/pci/usePciStatus.d.ts +1 -1
- package/dist/types/api/pci/usePciTemplate.d.ts +1 -1
- package/dist/types/api/pci/useSignPci.d.ts +2 -3
- package/dist/types/api/providersConfiguration/useProviderStatus.d.ts +1 -1
- package/dist/types/api/queryKeys.d.ts +4 -2
- package/dist/types/api/taskStatus/useTaskStatus.d.ts +2 -2
- package/dist/types/api/taxClassification/useTaxClassification.d.ts +1 -1
- package/dist/types/api/termsOfService/useAcceptTermsOfService.d.ts +2 -3
- package/dist/types/api/termsOfService/useAcceptedTermsOfService.d.ts +1 -7
- package/dist/types/api/termsOfService/useTermsOfService.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceAcceptanceInfos.d.ts +1 -1
- package/dist/types/api/termsOfService/useTermsOfServiceStatus.d.ts +1 -1
- package/dist/types/api/tinVerification/useVerifyTin.d.ts +1 -1
- package/dist/types/api/transferInstruments/useBankVerificationProviders.d.ts +1 -1
- package/dist/types/api/transferInstruments/useCreateTrustedTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useDeleteTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useHandleBankVerificationError.d.ts +1 -1
- package/dist/types/api/transferInstruments/useTransferInstrument.d.ts +2 -2
- package/dist/types/api/transferInstruments/useTransferInstruments.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTransferInstrument.d.ts +1 -1
- package/dist/types/api/transferInstruments/useUpdateTrustedTransferInstrument.d.ts +15 -0
- package/dist/types/api/types.d.ts +3 -2
- package/dist/types/api/uiAnalytics/useAnalyticsSession.d.ts +2 -2
- package/dist/types/api/uiAnalytics/usePushAnalyticEvent.d.ts +2 -2
- package/dist/types/api/validation/useValidateAccountIdentification.d.ts +2 -3
- package/dist/types/api/validation/useValidatePhoneNumber.d.ts +1 -1
- package/dist/types/components/Apps/tasks/TaskList/utils.d.ts +4 -0
- package/dist/types/components/BankAccount/forms/BankDocument/BankDocumentClassification.d.ts +1 -2
- package/dist/types/components/BankAccount/forms/BankDocument/types.d.ts +0 -1
- package/dist/types/components/BankAccount/forms/BankVerification/types.d.ts +1 -0
- package/dist/types/components/BankAccount/forms/BankVerification/verification/overlay/BankVerificationOverlay.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/rules.d.ts +1 -1
- package/dist/types/components/BankAccount/forms/PayoutDetails/types.d.ts +0 -1
- package/dist/types/components/BankAccount/mapping/payoutKeyMappings.d.ts +439 -439
- package/dist/types/components/BankAccount/pages/PayoutDetailsPage.d.ts +3 -3
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/PayoutDetailsDropin.d.ts +1 -1
- package/dist/types/components/BankAccount/tasks/PayoutDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/BankAccount/utils/payoutAccountUtil.d.ts +1 -1
- package/dist/types/components/Business/forms/AdditionalInformation/AdditionalInformation.d.ts +0 -2
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -3
- package/dist/types/components/Business/forms/BusinessDetails/form-ids.d.ts +2 -0
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +12 -11
- package/dist/types/components/Business/forms/BusinessDetails/types.d.ts +2 -1
- package/dist/types/components/Business/forms/BusinessSelection/BusinessInformationCard/BusinessInformationCard.d.ts +4 -4
- package/dist/types/components/Business/forms/CompanyStructure/CompanyStructure.d.ts +0 -1
- package/dist/types/components/Business/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +4 -0
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +3 -0
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +3 -0
- package/dist/types/components/Business/forms/rules.d.ts +10 -10
- package/dist/types/components/Business/mapping/businessDetails/businessBankAccountTaxIdUtils.d.ts +7 -0
- package/dist/types/components/Business/mapping/businessDetails/mapBusinessDetailsSchemaToLegalEntity.d.ts +4 -2
- package/dist/types/components/Business/mapping/businessDetails/mapLegalEntityToBusinessDetailsSchema.d.ts +8 -1
- package/dist/types/components/Business/pages/RootBusinessDetailsPage.d.ts +1 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/BusinessDetailsDropin.d.ts +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/businessDetailsStore.d.ts +0 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/types.d.ts +7 -2
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +3 -4
- package/dist/types/components/Business/utils/companyUtil.d.ts +0 -10
- package/dist/types/components/Business/utils/useBusinessDetailsData.d.ts +21 -0
- package/dist/types/components/BusinessLines/constants.d.ts +2 -0
- package/dist/types/components/BusinessLines/fields/Carousel/Carousel.d.ts +10 -10
- package/dist/types/components/BusinessLines/fields/SctaField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/fields/WebDataField/types.d.ts +1 -1
- package/dist/types/components/BusinessLines/pages/RootBusinessLinesPage.d.ts +1 -2
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLineModal/BusinessLineModal.d.ts +2 -1
- package/dist/types/components/BusinessLines/tasks/BusinessLines/BusinessLinesDropin.d.ts +1 -1
- package/dist/types/components/BusinessLines/tasks/types.d.ts +2 -0
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +10 -7
- package/dist/types/components/Contract/tasks/ServiceAgreementDropin/types.d.ts +1 -1
- package/dist/types/components/EFP/fields/LegalFormField/LegalFormField.d.ts +1 -1
- package/dist/types/components/EFP/fields/NaceCodeField/NaceCodeField.d.ts +1 -1
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +5771 -541
- package/dist/types/components/EFP/mapping/mapBusinessFinancingToLegalEntity.d.ts +3 -2
- package/dist/types/components/EFP/mapping/mapLegalEntityToBusinessFinancing.d.ts +1 -1
- package/dist/types/components/EFP/pages/BusinessFinancingPage.d.ts +1 -2
- package/dist/types/components/EFP/pages/SourceOfFundsPage.d.ts +1 -2
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/AdditionalFieldsForBusinessFinancingSoleProprietor.d.ts +2 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingSoleProprietorPersonalInformation.d.ts +4 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +28 -0
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +14 -3
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +10 -1
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/types.d.ts +20 -21
- package/dist/types/components/EFP/tasks/SourceOfFundsDropin/utils.d.ts +6 -4
- package/dist/types/components/EFP/tasks/TaxReportingDropin/utils.d.ts +1 -2
- package/dist/types/components/EmbeddedDropins/BusinessFinancingComponent/utils.d.ts +2 -1
- package/dist/types/components/EmbeddedDropins/CreateIndividualComponent/CreateIndividualComponent.d.ts +2 -2
- package/dist/types/components/EmbeddedDropins/InvitedDecisionMakerComponent/InvitedDecisionMakerComponent.d.ts +4 -0
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/DropinComposer.d.ts +1 -1
- package/dist/types/components/EmbeddedDropins/OnboardingDropinComponent/DropinComposer/RouterDropinComposer.d.ts +4 -0
- package/dist/types/components/Individual/fields/DriversLicense/DriversLicense.types.d.ts +1 -1
- package/dist/types/components/Individual/fields/IdentityNumber/fieldConfig.d.ts +4 -3
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +29 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/Identity.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +11 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/Identity/validate.d.ts +4 -0
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/validate.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/BasicDetails.types.d.ts +22 -0
- package/dist/types/components/Individual/forms/BasicDetails/validate.d.ts +8 -0
- package/dist/types/components/Individual/forms/DataConflictsModal/ConflictRow.d.ts +12 -0
- package/dist/types/components/Individual/forms/DataConflictsModal/DataConflictsModal.d.ts +24 -0
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +43 -0
- package/dist/types/components/Individual/forms/IdDocumentUpload/utils.d.ts +3 -0
- package/dist/types/components/Individual/forms/IdNowVerificationModal/isIdNowModalOpen.d.ts +18 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/IdVerificationMethod.types.d.ts +21 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +7 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/UploadedDocument/UploadedDocument.d.ts +7 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +46 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/mapExtractionResultToSchema.d.ts +4 -0
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +12 -0
- package/dist/types/components/Individual/forms/Individual.d.ts +56 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +45 -0
- package/dist/types/components/Individual/forms/Individual.types.d.ts +60 -0
- package/dist/types/components/Individual/forms/ProofOfRelationship/types.d.ts +14 -0
- package/dist/types/components/Individual/forms/ProofOfResidency/types.d.ts +39 -0
- package/dist/types/components/Individual/forms/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +6 -0
- package/dist/types/components/Individual/forms/UboQuestionnaire/UboQuestionnaire.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +7 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +2 -0
- package/dist/types/components/Individual/helpers/bafinUtils.d.ts +3 -2
- package/dist/types/components/Individual/helpers/mandateIdVerificationForMotionCapture.d.ts +2 -3
- package/dist/types/components/Individual/helpers/roleUtils.d.ts +1 -1
- package/dist/types/components/Individual/mapping/adjustOnfidoIdentificationData.d.ts +1 -1
- package/dist/types/components/Individual/mapping/getOnfidoIdentityTypeToApiIdentityTypeMap.d.ts +1 -1
- package/dist/types/components/Individual/mapping/individualKeyMappings.d.ts +6 -12
- package/dist/types/components/Individual/mapping/mapApiDocumentToIndividualDocuments.d.ts +2 -2
- package/dist/types/components/Individual/mapping/mapIndividualDocumentToApiDocument.d.ts +2 -3
- package/dist/types/components/Individual/mapping/mapIndividualSchemaToLegalEntity.d.ts +5 -0
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualSchema.d.ts +3 -0
- package/dist/types/components/Individual/pages/DecisionMakerDetailsPage.d.ts +6 -7
- package/dist/types/components/Individual/pages/LegalRepresentativeDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/pages/RootIndividualDetailsPage.d.ts +2 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/DecisionMakerDetails/utils.d.ts +2 -14
- package/dist/types/components/Individual/tasks/DecisionMakers/RemediationAlerts/remediation.config.d.ts +0 -2
- package/dist/types/components/Individual/tasks/DecisionMakers/types.d.ts +8 -0
- package/dist/types/components/Individual/tasks/DecisionMakers/utils.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +2 -2
- package/dist/types/components/Individual/tasks/IndividualDropin/individualFormConfig.d.ts +3 -3
- package/dist/types/components/Shared/EntityAssociation/EntityAssociation.d.ts +0 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.d.ts +1 -1
- package/dist/types/components/Shared/FormFlow/FormFlow.types.d.ts +2 -0
- package/dist/types/components/Shared/Introduction/copy.d.ts +3 -3
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/BusinessRegistrationNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/fieldConfig.d.ts +10 -0
- package/dist/types/components/Shared/fields/BusinessRegistrationNumberField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/CountryOfGoverningLawField.d.ts +1 -1
- package/dist/types/components/Shared/fields/CountryOfGoverningLawField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/Currency.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/DBANameField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DBANameField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/DateOfIncorporationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/DateOfIncorporationField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/EInvoicingCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/EInvoicingCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +121 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/IndustryCodeField.d.ts +1 -1
- package/dist/types/components/Shared/fields/IndustryCodeField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/LegalCompanyNameField/fieldConfig.d.ts +12 -6
- package/dist/types/components/Shared/fields/LegalCompanyNameField/types.d.ts +3 -1
- package/dist/types/components/Shared/fields/LocalizedNameFields/types.d.ts +9 -0
- package/dist/types/components/Shared/fields/LocalizedNameFields/validate.d.ts +5 -0
- package/dist/types/components/Shared/fields/NumberOfEmployees/NumberOfEmployees.d.ts +1 -1
- package/dist/types/components/Shared/fields/NumberOfEmployees/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/PhoneField.d.ts +1 -1
- package/dist/types/components/Shared/fields/PhoneField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/PhoneField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/StateField/StateField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StateField/fieldConfig.d.ts +8 -0
- package/dist/types/components/Shared/fields/StateField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/StockExchangeMICField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockExchangeMICField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/StockISINField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockISINField/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/StockTickerSymbolField.d.ts +1 -1
- package/dist/types/components/Shared/fields/StockTickerSymbol/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/TaxInformationField.d.ts +1 -1
- package/dist/types/components/Shared/fields/TaxInformationField/fieldConfig.d.ts +6 -0
- package/dist/types/components/Shared/fields/TaxInformationField/types.d.ts +2 -1
- package/dist/types/components/Shared/fields/VatNumberField/VatNumberField.d.ts +1 -1
- package/dist/types/components/Shared/fields/VatNumberField/types.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/Address.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/localized/jp/jpAddressSchema.d.ts +3 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/utils.d.ts +1 -1
- package/dist/types/components/Trust/forms/Trust/rules.d.ts +2 -2
- package/dist/types/components/Trust/hooks/useTrustMemberNavigation.hook.d.ts +1 -1
- package/dist/types/components/Trust/pages/TrustDetailsPage.d.ts +1 -2
- package/dist/types/components/Trust/pages/TrustMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/Trust/pages/TrustMemberIndividualPage.d.ts +5 -5
- package/dist/types/components/Trust/pages/TrustMemberRoleAndTypePage.d.ts +2 -2
- package/dist/types/components/Trust/tasks/RoleAndTypeDropin/formatRoleAndEntityTypeSummary.d.ts +1 -1
- package/dist/types/components/Trust/tasks/TrustDropin/TrustMultiform.d.ts +2 -1
- package/dist/types/components/Trust/tasks/TrustMembers/TrustMembersOverview.d.ts +1 -2
- package/dist/types/components/UnincorporatedPartnership/hooks/useUnincorporatedPartnershipNavigation.d.ts +1 -1
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipIndividualPage.d.ts +5 -5
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberCompanyPage.d.ts +3 -3
- package/dist/types/components/UnincorporatedPartnership/pages/UnincorporatedPartnershipMemberRoleAndTypePage.d.ts +1 -1
- package/dist/types/components/ui/atoms/Card/Card.d.ts +19 -0
- package/dist/types/components/ui/atoms/Loader/Loader.d.ts +11 -1
- package/dist/types/components/ui/atoms/MultiSelectList/MultiSelectList.d.ts +0 -1
- package/dist/types/components/ui/atoms/Svg/Svg.d.ts +0 -1
- package/dist/types/components/ui/atoms/Tile/Tile.d.ts +2 -1
- package/dist/types/components/ui/molecules/EmbeddedStatus/statusToTag.d.ts +2 -2
- package/dist/types/components/ui/molecules/ErrorPanel/ErrorPanel.d.ts +0 -1
- package/dist/types/context/ExperimentContext/types.d.ts +19 -42
- package/dist/types/context/QueryContext/QueryClient.d.ts +1 -1
- package/dist/types/context/StateContext/types.d.ts +2 -3
- package/dist/types/core/models/api/individual.d.ts +3 -0
- package/dist/types/core/models/api/instant-id-verification.d.ts +1 -1
- package/dist/types/core/models/api/legal-arrangement.d.ts +3 -0
- package/dist/types/core/models/api/legal-entity-association.d.ts +1 -1
- package/dist/types/core/process-field-configurations.d.ts +0 -5
- package/dist/types/core/services/types.d.ts +1 -1
- package/dist/types/core/user-events.d.ts +4 -2
- package/dist/types/embeds/baseEmbedProps.d.ts +0 -21
- package/dist/types/embeds/business-financing/adyen-business-financing.d.ts +2 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.d.ts +5 -1
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +2 -2
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +34 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.d.ts +2 -1
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.d.ts +5 -1
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.d.ts +2 -1
- package/dist/types/embeds/verification-status/adyen-verification-status.d.ts +2 -1
- package/dist/types/hooks/useAssociatedLegalEntity.d.ts +1 -1
- package/dist/types/hooks/useForm/types.d.ts +0 -8
- package/dist/types/hooks/useLegalCompanyNameField/useLegalCompanyNameField.d.ts +4 -2
- package/dist/types/hooks/usePageLandedEvent.d.ts +7 -0
- package/dist/types/hooks/useUboQuestionnaire.d.ts +2 -2
- package/dist/types/language/types.d.ts +7 -2
- package/dist/types/language/utils.d.ts +1 -2
- package/dist/types/router/DefaultRouteRedirect.d.ts +8 -0
- package/dist/types/router/MemoryRouterContext.d.ts +9 -0
- package/dist/types/router/OnboardingRouter.d.ts +39 -0
- package/dist/types/router/SuspenseRoute.d.ts +7 -0
- package/dist/types/router/getDefaultTask.d.ts +16 -0
- package/dist/types/router/routeConfig.d.ts +68 -0
- package/dist/types/router/useCurrentTask.d.ts +5 -0
- package/dist/types/router/useNavigate.d.ts +7 -0
- package/dist/types/stores/formState.d.ts +1 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +5 -3
- package/dist/types/types/assert.d.ts +1 -0
- package/dist/types/types/form-rules.d.ts +0 -1
- package/dist/types/utils/addLinkedFields.d.ts +0 -2
- package/dist/types/utils/analytics/debouncedInputEvent.d.ts +1 -0
- package/dist/types/utils/analytics/getPrefilledDetails.d.ts +28 -0
- package/dist/types/utils/api/documentUtils.d.ts +6 -0
- package/dist/types/utils/api/processCapabilitites.d.ts +14 -2
- package/dist/types/utils/birthDateUtils.d.ts +0 -17
- package/dist/types/utils/entityAssociationUtil.d.ts +3 -4
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +0 -2
- package/dist/types/utils/formUtils.d.ts +1 -6
- package/dist/types/utils/getDisplayErrorMessage.d.ts +1 -2
- package/dist/types/utils/getFieldsWithExistingData.d.ts +2 -3
- package/dist/types/utils/getName.d.ts +1 -1
- package/dist/types/utils/japanSupportUtils.d.ts +2 -1
- package/dist/types/utils/logger.d.ts +0 -1
- package/dist/types/utils/makeSelectItemForRole.d.ts +1 -1
- package/dist/types/utils/performance.d.ts +64 -0
- package/dist/types/utils/regex/patternValidators.d.ts +1 -1
- package/dist/types/utils/translation.d.ts +3 -2
- package/dist/types/utils/validatorUtils.d.ts +2 -1
- package/dist/types/utils/verification/helpers/verifyIdNumber.d.ts +3 -2
- package/dist/types-B7GElie6.js +138 -0
- package/dist/types-BQL9Lsg4.js +74 -0
- package/dist/types-C8io4KaH.js +64 -0
- package/dist/types-DwXc_yI8.js +34 -0
- package/dist/unincorporated-partnership-MeN1dp53.js +97 -0
- package/dist/upload-BmUXjsaU.js +17 -0
- package/dist/us-check-C1rTBsCY.js +46 -0
- package/dist/us-check-account-number-9lI1dXNC.js +48 -0
- package/dist/us-check-routing-number-s_KaAGSM.js +49 -0
- package/dist/useAssociatedLegalEntity-ETDoz1H2.js +34 -0
- package/dist/useBusinessDetailsData-FrL0b9Ni.js +5197 -0
- package/dist/useBusinessLines-C5NQ5pE8.js +29 -0
- package/dist/useCanSeeIntroduction-BdZJ7k-_.js +48 -0
- package/dist/useCreateLegalEntity-DrcLoNYT.js +32 -0
- package/dist/useDataMissingRemediations-Zgtpw7uZ.js +41 -0
- package/dist/useDataset-Cap5ZjTr.js +76 -0
- package/dist/useDeleteTransferInstrument-B2wRj-qL.js +32 -0
- package/dist/useForm-DqUW2TbW.js +582 -0
- package/dist/useFormContext-CkuaJPUI.js +201 -0
- package/dist/useGlobalData-5Z6W3or1.js +68 -0
- package/dist/useId-BZ0PA7jP.js +24 -0
- package/dist/useMultiForm-Dm2IEMH9.js +873 -0
- package/dist/useNavigate-CI0N-POy.js +265 -0
- package/dist/useOnboardingStatus-H7Xqe2GC.js +28 -0
- package/dist/usePciQuestionnaireList-BF7TPjbQ.js +29 -0
- package/dist/useSalesChannels-DYGRfKeh.js +65 -0
- package/dist/useScenarios-CibP5LVa.js +48 -0
- package/dist/useSetting-CbBaitp6.js +19 -0
- package/dist/useTaskStatus-1OZ2clnm.js +51 -0
- package/dist/useTermsOfServiceStatus-Dg_nBQgt.js +43 -0
- package/dist/useToastContext-D643iewp.js +49 -0
- package/dist/useTrustMembers-BTCDIu6B.js +163 -0
- package/dist/useUnincorporatedPartnershipMembers-BM9dNg4i.js +99 -0
- package/dist/useUpdateBusinessLines-BuW6Vnof.js +339 -0
- package/dist/useUpdateLegalEntity-tRw1V_Mt.js +40 -0
- package/dist/utils-BasWTkqk.js +159 -0
- package/dist/utils-BnolcW6V.js +237 -0
- package/dist/utils-D9h2Aq2w.js +778 -0
- package/dist/utils-PkTZS9uf.js +58 -0
- package/dist/utils-b_KUV0wb.js +29 -0
- package/dist/validate-CtxacqMv.js +434 -0
- package/dist/validate-K0fmvoFj.js +108 -0
- package/dist/validationError-DdlWONz2.js +86 -0
- package/dist/warning-circle-fill-DBvt921B.js +17 -0
- package/dist/warning-diamond-filled-Lb2od2ry.js +17 -0
- package/dist/webinar-m9nuFZBt.js +22 -0
- package/dist/yapily-logo-BduxhNRA.js +17 -0
- package/package.json +88 -56
- package/dist/4-people-BzyXLUF9.js +0 -24
- package/dist/AcceptTermsOfServiceComponent-DmtE39CC.js +0 -642
- package/dist/Accordion-C-BvE1VA.js +0 -88
- package/dist/AccountSetupRejected-DDoI43lB.js +0 -26
- package/dist/ActionBar-Dzrzolec.js +0 -31
- package/dist/Address-e41CN3CB.js +0 -1317
- package/dist/Alert-Dk-oZlnx.js +0 -159
- package/dist/Avatar-efxn8pKz.js +0 -60
- package/dist/BusinessDetailsDropin-DDh_D2hv.js +0 -2359
- package/dist/BusinessFinancingComponent-C04uRrhE.js +0 -55
- package/dist/BusinessFinancingDropin-_OlSqohS.js +0 -1843
- package/dist/BusinessFinancingPage-DdMugwOa.js +0 -43
- package/dist/BusinessTypeSelectionPage-vkCTEFEJ.js +0 -426
- package/dist/Card-CqXQA0AI.js +0 -82
- package/dist/ConstitutionalDocument-CcwyClZ7.js +0 -143
- package/dist/ContractViewer-Byp71k2e.js +0 -935
- package/dist/CountryField-CzRN1OE8.js +0 -843
- package/dist/CreateIndividualComponent-BNeY6u8q.js +0 -71
- package/dist/CreateTransferInstrumentComponent-B8cNHRdF.js +0 -63
- package/dist/Currency-BBt4yo5i.js +0 -183
- package/dist/CustomerSupport-CObTT8cH.js +0 -153
- package/dist/DebugModal-DJcim6UP.js +0 -413
- package/dist/DecisionMakerDetailsPage-CrQgRW8X.js +0 -106
- package/dist/DecisionMakers-B-3aMddf.js +0 -842
- package/dist/EmbeddedStatus-C_5DguHv.js +0 -99
- package/dist/EndStateLayout-CwdrDEYY.js +0 -71
- package/dist/EntityAssociation-C413vcu6.js +0 -159
- package/dist/EntityGuidanceStatus-C6b8i7os.js +0 -105
- package/dist/FormFlow-PppMJ6OA.js +0 -186
- package/dist/FormNavigation-DL47b_QR.js +0 -144
- package/dist/FormWrapper-BOrTn1C8.js +0 -135
- package/dist/IndividualOnfido-CmmyKC7J.js +0 -9631
- package/dist/IndividualOnfidoDropin-BsCb6dvy.js +0 -2569
- package/dist/InputText-BfL9DgWp.js +0 -249
- package/dist/Introduction-CBMl7v2M.js +0 -300
- package/dist/JpAddress-BCwWQ0Ul.js +0 -271
- package/dist/LegalRepresentativeDetailsPage-CDURNY_v.js +0 -60
- package/dist/ListItem-BhUSZdS5.js +0 -69
- package/dist/ManageIndividualComponent-wYIuZdQ8.js +0 -46
- package/dist/ManageTermsOfServiceComponent-6RBHbbsn.js +0 -52
- package/dist/ManageTransferInstrumentComponent-BDyWbySW.js +0 -287
- package/dist/MaybeModal-CG0BAO68.js +0 -36
- package/dist/Modal-CJ_hgcGb.js +0 -149
- package/dist/OnboardingDropinComponent-D3dYF_4W.js +0 -7617
- package/dist/PayoutDetailsDropin-DxALk48X.js +0 -4840
- package/dist/Review-C_JnI94L.js +0 -83
- package/dist/RootBusinessDetailsPage-BE3Uck1r.js +0 -46
- package/dist/RootBusinessLinesPage-DknXuZgi.js +0 -1484
- package/dist/RootIndividualDetailsPage-BIj988Sh.js +0 -71
- package/dist/SignPCIComponent-BjVEKTlw.js +0 -304
- package/dist/SingpassSelection-Bkbz_bGo.js +0 -130
- package/dist/SoleProprietorshipPage-DSOEsSfJ.js +0 -46
- package/dist/SourceOfFundsPage-cWwthA_A.js +0 -2383
- package/dist/Spacer-D4I0f08n.js +0 -1416
- package/dist/StepProgressIndicator-FNAEisRr.js +0 -78
- package/dist/StoreProvider-jtUYKLRz.js +0 -7707
- package/dist/Summary-COehg8IT.js +0 -204
- package/dist/TaxReportingDropin-BBkhMcPn.js +0 -501
- package/dist/TrustDetailsPage-50i4_lFA.js +0 -2149
- package/dist/TrustMemberCompanyPage-v2Md1srF.js +0 -57
- package/dist/TrustMemberIndividualPage-Bn6TXkhN.js +0 -66
- package/dist/TrustMemberRoleAndTypePage-C_NPNe6_.js +0 -985
- package/dist/TrustMembersOverview-FcSsQZ3Z.js +0 -438
- package/dist/UnincorporatedPartnershipIndividualPage-zsyk9RTz.js +0 -65
- package/dist/UnincorporatedPartnershipMemberCompanyPage-FP75ZgOg.js +0 -60
- package/dist/UnincorporatedPartnershipMemberRoleAndTypePage-n6SndOAj.js +0 -281
- package/dist/UnincorporatedPartnershipMembersOverview-BbW2q9EI.js +0 -172
- package/dist/VerificationErrorAlert-B7jRGdgn.js +0 -79
- package/dist/ViewVerificationStatusComponent-CuUmC319.js +0 -180
- package/dist/arrow-right-KxA3SvQj.js +0 -14
- package/dist/bag-BPumznWh.js +0 -14
- package/dist/bank-D6FiNBhs.js +0 -14
- package/dist/bin-Bz6KOIeE.js +0 -18
- package/dist/business-lines-DboUCbXw.js +0 -135
- package/dist/capital-GVQ3svwN.js +0 -17
- package/dist/cash-stack-D9AoDDwt.js +0 -22
- package/dist/certificate-CdEWgHQf.js +0 -17
- package/dist/checkmark-Q7x6tGhy.js +0 -14
- package/dist/checkmark-circle-fill-CsvN5_PL.js +0 -17
- package/dist/checkmark-circle-x7dzbp3I.js +0 -20
- package/dist/checkmark-small-D35myntq.js +0 -14
- package/dist/chevron-down-C2iDorpW.js +0 -14
- package/dist/chevron-left-ztPO84q-.js +0 -14
- package/dist/chevron-right-C_JN0oDt.js +0 -14
- package/dist/chevron-up-CgG8n25g.js +0 -14
- package/dist/circle-Bt3Nlr3q.js +0 -17
- package/dist/circle-small-filled-YMzP6yQU.js +0 -14
- package/dist/clock-BZHremOA.js +0 -20
- package/dist/coins-fkAk6dCo.js +0 -17
- package/dist/contract-BTa4HltT.js +0 -14
- package/dist/cross-Cn09MtQ_.js +0 -14
- package/dist/cross-circle-fill-maan7Z5S.js +0 -17
- package/dist/cross-circle-fill-small-DCz52AuN.js +0 -14
- package/dist/da-DK-BlU1EczG.js +0 -30
- package/dist/da-DK-DEdQ-QPp.js +0 -13
- package/dist/da-DK-DYpfNZdP.js +0 -37
- package/dist/da-DK-Dc0QYG8m.js +0 -68
- package/dist/da-DK-DqkN5oIu.js +0 -13
- package/dist/da-DK-jK7c9UL0.js +0 -57
- package/dist/de-DE-BXt1K0Tr.js +0 -37
- package/dist/de-DE-COuUdtao.js +0 -13
- package/dist/de-DE-DrSSblam.js +0 -13
- package/dist/de-DE-Dz2OsS1F.js +0 -68
- package/dist/de-DE-s0B-XZyp.js +0 -30
- package/dist/de-DE-wmerDL2e.js +0 -57
- package/dist/debouncedInputEvent-HhImBs4O.js +0 -109
- package/dist/decision-makers-group-CgddXgrx.js +0 -1944
- package/dist/digital-wallet-D_IpxnkN.js +0 -46
- package/dist/document-1-C08ut-Dt.js +0 -14
- package/dist/document-blurred-2Zpodj3_.js +0 -37
- package/dist/document-cut-off-ClS7RiOp.js +0 -32
- package/dist/document-expired-CjksBq-N.js +0 -38
- package/dist/document-front-DiAairT3.js +0 -30
- package/dist/document-person-vxlA6C5f.js +0 -20
- package/dist/documentUtils-DIcRD9lR.js +0 -218
- package/dist/download-Drhk9k1f.js +0 -17
- package/dist/dropinUtils-BK1u6OTG.js +0 -200
- package/dist/edit-1-CFoDTMvQ.js +0 -14
- package/dist/el-GR-CdgLZhuO.js +0 -13
- package/dist/en-US-CzEL6t1W.js +0 -55
- package/dist/en-US-D-B35AoN.js +0 -68
- package/dist/en-US-Dg505Oh3.js +0 -37
- package/dist/en-US-d4WBvUW7.js +0 -118
- package/dist/en-US-fyGPkcqX.js +0 -13
- package/dist/en-US-gsp7CD_E.js +0 -57
- package/dist/es-ES-BI_jdT67.js +0 -68
- package/dist/es-ES-BhNhIf08.js +0 -37
- package/dist/es-ES-DNGEW6V_.js +0 -13
- package/dist/es-ES-Qnc0Q6JH.js +0 -57
- package/dist/es-ES-ShWaSuJd.js +0 -13
- package/dist/es-ES-esfwvKwz.js +0 -30
- package/dist/external-link-DCMYUMfW.js +0 -14
- package/dist/fi-FI-ChApf7lf.js +0 -13
- package/dist/fi-FI-CjB6QC01.js +0 -30
- package/dist/fi-FI-CoI_94Fv.js +0 -13
- package/dist/fi-FI-Dn2MC8uW.js +0 -57
- package/dist/fi-FI-hwzizPnr.js +0 -68
- package/dist/fi-FI-ysUrBilO.js +0 -37
- package/dist/fr-FR-BSvSKazD.js +0 -37
- package/dist/fr-FR-BWX14yb7.js +0 -57
- package/dist/fr-FR-Br7OeDIe.js +0 -13
- package/dist/fr-FR-C1XqLftn.js +0 -30
- package/dist/fr-FR-CYZXbwc9.js +0 -68
- package/dist/fr-FR-Q3urMjbl.js +0 -13
- package/dist/funds-in-D8bj0aoE.js +0 -21
- package/dist/getFieldsWithExistingData-DxCFyXNd.js +0 -22
- package/dist/getName-BS-pHwl0.js +0 -41
- package/dist/gift-CQ_DEma7.js +0 -14
- package/dist/graph-BJmqglH2.js +0 -21
- package/dist/graph-up-Bq6adtlX.js +0 -20
- package/dist/hasDataChanged-CWdnpJrE.js +0 -19
- package/dist/headquarter-DNYyuuFq.js +0 -21
- package/dist/hotel-BuNql78Z.js +0 -22
- package/dist/house-B6sNRj-B.js +0 -21
- package/dist/id-blurred-9dzBOWCE.js +0 -59
- package/dist/id-cut-off-CohJCI2h.js +0 -55
- package/dist/id-front-CSZfvdRg.js +0 -52
- package/dist/id-glare-Q2JWo5ts.js +0 -49
- package/dist/id-verification-instant-BUVBO4R3.js +0 -58
- package/dist/id-verification-manual-B3YZALYU.js +0 -55
- package/dist/iframeWidget-Uz4rHS0r.js +0 -234
- package/dist/image-BSihO8lR.js +0 -17
- package/dist/info-filled-SQotHmT9.js +0 -17
- package/dist/info-vHTZWoJ7.js +0 -21
- package/dist/instant-verification-Dvvkyfmp.js +0 -40
- package/dist/it-IT-B0YGvVgW.js +0 -57
- package/dist/it-IT-BAvsF2TB.js +0 -13
- package/dist/it-IT-C_YDqVNT.js +0 -30
- package/dist/it-IT-Erh1DIlj.js +0 -68
- package/dist/it-IT-Qfzc8jnW.js +0 -37
- package/dist/it-IT-vdMlF0Ha.js +0 -13
- package/dist/localizeDateString-DgSdo3D5.js +0 -27
- package/dist/location-Q4oKvnkl.js +0 -17
- package/dist/mail-BOdyoVqB.js +0 -14
- package/dist/manual-verification-BvZWqA00.js +0 -41
- package/dist/mapExistingFile-CqrlnmFQ.js +0 -156
- package/dist/mapFinancialReportsToFinancialInformation-ZmhVRj3f.js +0 -67
- package/dist/mapJpAddressSchemaToAddressLocalizations-D6HjhjJT.js +0 -63
- package/dist/mapLegalEntityToIndividualOnfidoSchema-COcit7Hx.js +0 -146
- package/dist/mapTransferInstrumentToPayoutAccount-DfJHF9H8.js +0 -33
- package/dist/minus-circle-filled-kC2IUvKz.js +0 -17
- package/dist/nl-NL-BMUYBqlF.js +0 -57
- package/dist/nl-NL-BwKrj-29.js +0 -13
- package/dist/nl-NL-C3YJkSIj.js +0 -13
- package/dist/nl-NL-D7gBNWEY.js +0 -37
- package/dist/nl-NL-DyeSX0PH.js +0 -30
- package/dist/nl-NL-O9GCHMDA.js +0 -68
- package/dist/no-NO-B6OPS2CA.js +0 -13
- package/dist/no-NO-C-gCYc9q.js +0 -37
- package/dist/no-NO-CA1aR6Wh.js +0 -68
- package/dist/no-NO-D4BECLky.js +0 -130
- package/dist/no-NO-DKbWxgF-.js +0 -57
- package/dist/no-NO-DPRsAb_o.js +0 -30
- package/dist/onfido-logo-BWSv__sQ.js +0 -14
- package/dist/options-horizontal-CBmbNv7R.js +0 -18
- package/dist/partner-CPjsrePY.js +0 -18
- package/dist/passport-blurred-B4UDQfmc.js +0 -59
- package/dist/passport-cut-off-C0N2mgLk.js +0 -56
- package/dist/passport-front-BwA7wR91.js +0 -52
- package/dist/passport-front-green-BL4HmtsB.js +0 -232
- package/dist/passport-glare-Mg2ixsYA.js +0 -50
- package/dist/pay-by-link-plane-BVZndh67.js +0 -22
- package/dist/payout-ChUEoLjt.js +0 -20
- package/dist/payout-verification-instant-5u-wvFKv.js +0 -41
- package/dist/payout-verification-manual-BH2mu0UW.js +0 -90
- package/dist/person-DGjUU4S4.js +0 -17
- package/dist/plaid-logo-CtActXTN.js +0 -14
- package/dist/plus-CWXA5wdX.js +0 -14
- package/dist/plus-circle-filled-CbC0u2Y1.js +0 -17
- package/dist/process-field-configurations-N1jHgPa8.js +0 -324
- package/dist/pt-BR--kaJvtE6.js +0 -57
- package/dist/pt-BR-BKQRvAfq.js +0 -13
- package/dist/pt-BR-C-C4ZJ9x.js +0 -30
- package/dist/pt-BR-NtLaWlnZ.js +0 -68
- package/dist/pt-BR-gh27BC86.js +0 -13
- package/dist/pt-BR-ur86nRrK.js +0 -37
- package/dist/pt-PT-B4F_5NWi.js +0 -55
- package/dist/pt-PT-BZ5ZZm6G.js +0 -57
- package/dist/pt-PT-Bf4IV7wp.js +0 -13
- package/dist/pt-PT-CFY1O_K0.js +0 -13
- package/dist/pt-PT-CIo3mlXL.js +0 -24
- package/dist/pt-PT-CVNEcs32.js +0 -37
- package/dist/pt-PT-D2Xe-OdG.js +0 -13
- package/dist/pt-PT-DSxxVA0f.js +0 -68
- package/dist/pt-PT-DVKtHjIY.js +0 -13
- package/dist/pt-PT-DYihdcJx.js +0 -13
- package/dist/pt-PT-Dm5DRDrd.js +0 -32
- package/dist/pt-PT-DpDxAynk.js +0 -13
- package/dist/pt-PT-JVqqgvPs.js +0 -54
- package/dist/pt-PT-LbneTcRx.js +0 -30
- package/dist/pt-PT-TKg5FLat.js +0 -27
- package/dist/recurring-CkL4cCM2.js +0 -17
- package/dist/reporting-DerosUNm.js +0 -16
- package/dist/resolveEnvironment-DZ77JxLV.js +0 -164
- package/dist/revenue-accelerate-Dp4Ns_5c.js +0 -17
- package/dist/review-CxIN9azU.js +0 -17
- package/dist/rules-_v8BprU3.js +0 -317
- package/dist/save-Fgy7EDid.js +0 -14
- package/dist/search-C4GZ-Rc1.js +0 -17
- package/dist/show-yPjPmEf8.js +0 -17
- package/dist/singpass-logo-BkMSwiGY.js +0 -17
- package/dist/singpass-verification-instant-hY4eGFwl.js +0 -40
- package/dist/singpass-verification-manual-DwhRpy5Q.js +0 -34
- package/dist/sl-SI-8SzKx7XD.js +0 -30
- package/dist/sl-SI-CUCrzJQv.js +0 -37
- package/dist/sl-SI-DdjgSySI.js +0 -13
- package/dist/sl-SI-DtdGMD6i.js +0 -57
- package/dist/solution-payments-CNAat9h7.js +0 -14
- package/dist/store-IuAkDRAp.js +0 -14
- package/dist/sv-SE-B7cpKp1l.js +0 -30
- package/dist/sv-SE-BHkYspm-.js +0 -130
- package/dist/sv-SE-C6uPh9g5.js +0 -37
- package/dist/sv-SE-K1QT1cOt.js +0 -68
- package/dist/sv-SE-kR514dO1.js +0 -57
- package/dist/sv-SE-zTiw1bUU.js +0 -13
- package/dist/tax-reporting-graph-DjzwRgE6.js +0 -504
- package/dist/terminal-1-_me9J9h0.js +0 -18
- package/dist/tink-logo-BcIv93ND.js +0 -17
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/mandatoryFields.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/DecisionMakerRole.d.ts +0 -3
- package/dist/types/components/Individual/fields/DecisionMakerRole/NomineeDecisionMakerRole.d.ts +0 -10
- package/dist/types/components/Individual/fields/DecisionMakerRole/types.d.ts +0 -23
- package/dist/types/components/Individual/fields/LocalizedNameFields/types.d.ts +0 -9
- package/dist/types/components/Individual/fields/NameFields/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentAlreadyUpload.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentInstantVerification.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/IdDocumentUpload.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/types.d.ts +0 -53
- package/dist/types/components/Individual/forms/Individual/IdDocumentUpload/utils.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/IdVerificationMethod.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/idVerificationMethodMetadata.d.ts +0 -15
- package/dist/types/components/Individual/forms/Individual/IdVerificationMethod/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/Individual.d.ts +0 -9
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/Identity.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/IdentityAu.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityAu/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/IdentityHK.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityHK/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/IdentityNZ.d.ts +0 -2
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/IdentityNZ/validate.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/identityUS/IdentityUS.d.ts +0 -4
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/Identity/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/PersonalDetails.d.ts +0 -3
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/types.d.ts +0 -41
- package/dist/types/components/Individual/forms/Individual/PersonalDetails/validate.d.ts +0 -21
- package/dist/types/components/Individual/forms/Individual/ProofOfRelationship/types.d.ts +0 -14
- package/dist/types/components/Individual/forms/Individual/ProofOfResidency/types.d.ts +0 -39
- package/dist/types/components/Individual/forms/Individual/rules.d.ts +0 -40
- package/dist/types/components/Individual/forms/Individual/types.d.ts +0 -51
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +0 -29
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/Identity.types.d.ts +0 -13
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/TypeOfIdentity/index.d.ts +0 -11
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/Identity/validate.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/AdditionalPersonalDetails/validate.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/BasicDetails.types.d.ts +0 -22
- package/dist/types/components/Individual/forms/IndividualOnfido/BasicDetails/validate.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/ConflictRow.d.ts +0 -12
- package/dist/types/components/Individual/forms/IndividualOnfido/DataConflictsModal/DataConflictsModal.d.ts +0 -24
- package/dist/types/components/Individual/forms/IndividualOnfido/IdNowVerificationModal/isIdNowModalOpen.d.ts +0 -17
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/IdVerificationMethod.types.d.ts +0 -20
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/OnfidoVerificationModal/OnfidoVerificationModal.d.ts +0 -7
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/UploadedDocument/UploadedDocument.d.ts +0 -7
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/individualOnfidoConflictsSchema.d.ts +0 -46
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/mapExtractionResultToSchema.d.ts +0 -4
- package/dist/types/components/Individual/forms/IndividualOnfido/IdVerificationMethod/validateExtractionResult.d.ts +0 -12
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.d.ts +0 -52
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.rules.d.ts +0 -46
- package/dist/types/components/Individual/forms/IndividualOnfido/IndividualOnfido.types.d.ts +0 -59
- package/dist/types/components/Individual/forms/IndividualOnfido/SignatoryQuestionnaire/SignatoryQuestionnaire.types.d.ts +0 -6
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaire.types.d.ts +0 -13
- package/dist/types/components/Individual/forms/IndividualOnfido/UboQuestionnaire/UboQuestionnaireModalContent.d.ts +0 -7
- package/dist/types/components/Individual/helpers/isOnfidoAutofillFlowEnabled.d.ts +0 -4
- package/dist/types/components/Individual/mapping/adjustIdentificationData.d.ts +0 -3
- package/dist/types/components/Individual/mapping/getIdentityTypeToApiIdentityTypeMap.d.ts +0 -3
- package/dist/types/components/Individual/mapping/individualOnfidoKeyMappings.d.ts +0 -8
- package/dist/types/components/Individual/mapping/mapIndividualOnfidoSchemaToLegalEntity.d.ts +0 -5
- package/dist/types/components/Individual/mapping/mapIndividualToLegalEntity.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividual.d.ts +0 -3
- package/dist/types/components/Individual/mapping/mapLegalEntityToIndividualOnfidoSchema.d.ts +0 -3
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/IndividualOnfidoDropin.d.ts +0 -2
- package/dist/types/components/Individual/tasks/IndividualOnfidoDropin/individualOnfidoFormConfig.d.ts +0 -4
- package/dist/types/components/Shared/forms/BusinessTypeSelection/EntityTypeRadioGroupCard.d.ts +0 -11
- package/dist/types/components/Shared/forms/FinancialInformation/formatFinancialInformationSummary.d.ts +0 -4
- package/dist/types/components/Shared/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +0 -3
- package/dist/types/components/Shared/forms/FinancialInformation/mapping/mapFinancialReportsToFinancialInformation.d.ts +0 -3
- package/dist/types/components/Shared/tasks/TaskList/utils.d.ts +0 -8
- package/dist/types/components/ui/molecules/Card/Card.d.ts +0 -3
- package/dist/types/components/ui/molecules/Card/types.d.ts +0 -26
- package/dist/types/embeds/EmbedBaseElement.d.ts +0 -41
- package/dist/types/embeds/EmbedCore.d.ts +0 -22
- package/dist/types/embeds/business-financing/AdyenBusinessFinancing.d.ts +0 -14
- package/dist/types/embeds/individual-configuration/AdyenIndividual.d.ts +0 -12
- package/dist/types/embeds/individual-status/AdyenManageIndividual.d.ts +0 -12
- package/dist/types/embeds/onboarding/AdyenOnboarding.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-management/AdyenTermsOfService.d.ts +0 -12
- package/dist/types/embeds/terms-of-service-status/AdyenManageTermsOfService.d.ts +0 -12
- package/dist/types/embeds/transfer-instrument-configuration/AdyenTransferInstrument.d.ts +0 -16
- package/dist/types/embeds/transfer-instrument-management/AdyenManageTransferInstrument.d.ts +0 -14
- package/dist/types/embeds/verification-status/AdyenVerificationStatus.d.ts +0 -20
- package/dist/types-BnnF5_7m.js +0 -34
- package/dist/types-D0u3f6aG.js +0 -87
- package/dist/types-Dk94b8kx.js +0 -161
- package/dist/types-sYQKhaSL.js +0 -74
- package/dist/upload-BF65P4KM.js +0 -17
- package/dist/us-check-CYY6Crhr.js +0 -46
- package/dist/us-check-account-number-C7KE5YzX.js +0 -48
- package/dist/us-check-routing-number-DUbhsYAR.js +0 -49
- package/dist/useAssociatedLegalEntity-00JVCmQ7.js +0 -33
- package/dist/useCreateLegalEntity-BvvwB9r0.js +0 -31
- package/dist/useDataset-8WyOJBhU.js +0 -220
- package/dist/useForm-DLxHtZTP.js +0 -1624
- package/dist/useGlobalData-D9dz7GIi.js +0 -68
- package/dist/useMultiForm--sSlt50X.js +0 -864
- package/dist/useOnboardingStatus-91zhqzLd.js +0 -27
- package/dist/useScenarios-CqKpYbe_.js +0 -46
- package/dist/useTermsOfServiceStatus-DLQVpbik.js +0 -42
- package/dist/useToastContext-FI3dwzzs.js +0 -60
- package/dist/useUnincorporatedPartnershipMembers-CdQDPlZq.js +0 -99
- package/dist/useUpdateBusinessLines-BulhyPjH.js +0 -46
- package/dist/useUpdateLegalEntity-Q3Icdeo6.js +0 -39
- package/dist/utils-DQLhii3U.js +0 -774
- package/dist/utils-DV0_GilJ.js +0 -237
- package/dist/validate-BD3wn-YX.js +0 -100
- package/dist/validate-H-iE__-w.js +0 -41
- package/dist/validationError-B5aoMbe_.js +0 -86
- package/dist/warning-circle-fill-CEN1WL7A.js +0 -17
- package/dist/warning-diamond-filled-BfXMlVrG.js +0 -17
- package/dist/webinar-DqjqrNEv.js +0 -22
- package/dist/yapily-logo-CZ4ywjwA.js +0 -17
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/PayoutAccountTaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskList.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListGroup.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/TaskListItem.d.ts +0 -0
- /package/dist/types/components/{Shared → Apps}/tasks/TaskList/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/FinancialInformation.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/ReportedValue.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/types.d.ts +0 -0
- /package/dist/types/components/{Shared → Business}/forms/FinancialInformation/validate.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/AdditionalPersonalDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/AdditionalPersonalDetails → AdditionalPersonalDetails}/Identity/Identity.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/BasicDetails → BasicDetails}/BasicDetails.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/GuidanceQuestion → GuidanceQuestion}/GuidanceQuestion.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdDocumentUpload → IdDocumentUpload}/IdDocumentManualUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdNowVerificationModal → IdNowVerificationModal}/IdNowVerificationModal.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/IdVerification.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/idVerificationProviderId.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/IdVerification → IdVerification}/types.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/IdVerificationMethod → IdVerificationMethod}/IdVerificationMethod.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/ManualIdUpload → ManualIdUpload}/ManualIdUpload.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfRelationship → ProofOfRelationship}/index.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{Individual/ProofOfResidency → ProofOfResidency}/ProofOfResidency.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/SignatoryQuestionnaire → SignatoryQuestionnaire}/SignatoryQuestionnaireModalContent.d.ts +0 -0
- /package/dist/types/components/Individual/forms/{IndividualOnfido/UboQuestionnaire → UboQuestionnaire}/UboQuestionnaire.d.ts +0 -0
- /package/dist/types/components/Individual/tasks/{IndividualOnfidoDropin/IndividualOnfidoStore.d.ts → IndividualDropin/IndividualStore.d.ts} +0 -0
- /package/dist/types/components/{Individual → Shared}/fields/LocalizedNameFields/LocalizedNameFields.d.ts +0 -0
|
@@ -0,0 +1,503 @@
|
|
|
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] = "e08493f6-14e8-4eee-95b7-3fed5b60de5f", e._sentryDebugIdIdentifier = "sentry-dbid-e08493f6-14e8-4eee-95b7-3fed5b60de5f");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { b as useApiContext, k as httpGet, z as Typography, u as useTranslation, aB as Trans, r as Icon, V as Button, t as IconButton, H as TASK_STATUS_POLLING_INTERVAL_MS, ai as isEmpty$1, a as addResourceBundles, p as useAnalyticsContext, c as useLegalEntity, L as Loader, R as ROOT_LE, a3 as createLogger, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-99-ewU62.js";
|
|
11
|
+
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
12
|
+
import { useState, useRef, useEffect, useMemo, useCallback } from "preact/hooks";
|
|
13
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D643iewp.js";
|
|
14
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-tRw1V_Mt.js";
|
|
15
|
+
import { useQuery } from "@tanstack/preact-query";
|
|
16
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-CkuaJPUI.js";
|
|
17
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils--st1YpV6.js";
|
|
18
|
+
import { u as useMultiForm } from "./useMultiForm-Dm2IEMH9.js";
|
|
19
|
+
import { signal } from "@preact/signals";
|
|
20
|
+
import { a as getFormProps } from "./getProps-Cc3J2-z9.js";
|
|
21
|
+
import { F as Field } from "./Field-Bs7wGDqk.js";
|
|
22
|
+
import { H as Header } from "./Header-vslG1ugE.js";
|
|
23
|
+
import { L as Link } from "./Link-CXYU8cLY.js";
|
|
24
|
+
import { R as RadioGroup } from "./RadioGroup-CxcIXYzs.js";
|
|
25
|
+
import { a as Alert } from "./Alert-CFmX9yNV.js";
|
|
26
|
+
import { lazy } from "preact/compat";
|
|
27
|
+
import { u as useTaskStatus } from "./useTaskStatus-1OZ2clnm.js";
|
|
28
|
+
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
29
|
+
import { I as Image } from "./Image-CAucF9wz.js";
|
|
30
|
+
import { S as StructuredList } from "./StructuredList-CVMZBzwq.js";
|
|
31
|
+
import { L as LandingLayout } from "./LandingLayout-kl7TkBGx.js";
|
|
32
|
+
import { i as isEmpty } from "./isEmpty-CUuXL9Na.js";
|
|
33
|
+
const getTaxClassification = async (legalEntityId, baseUrl) => {
|
|
34
|
+
return httpGet({
|
|
35
|
+
baseUrl,
|
|
36
|
+
path: `legalEntities/${legalEntityId}/taxclassification`
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
const useTaxClassification = (options) => {
|
|
40
|
+
const { rootLegalEntityId, baseUrl } = useApiContext();
|
|
41
|
+
return useQuery({
|
|
42
|
+
queryKey: ["taxClassification"],
|
|
43
|
+
queryFn: () => getTaxClassification(rootLegalEntityId.value, baseUrl.value),
|
|
44
|
+
...options
|
|
45
|
+
});
|
|
46
|
+
};
|
|
47
|
+
const taxClassificationErrorMessage = signal(void 0);
|
|
48
|
+
const setTaxClassificationErrorMessage = (message) => {
|
|
49
|
+
taxClassificationErrorMessage.value = message;
|
|
50
|
+
};
|
|
51
|
+
const clearTaxClassificationErrorMessage = () => {
|
|
52
|
+
taxClassificationErrorMessage.value = void 0;
|
|
53
|
+
};
|
|
54
|
+
const taxReportingDropin = "adyen-kyc-tax-reporting-dropin";
|
|
55
|
+
const radioCaption = "adyen-kyc-radio-caption";
|
|
56
|
+
const taxReportingDropinGettingStarted = "adyen-kyc-tax-reporting-dropin-getting-started";
|
|
57
|
+
const taxReportingDropinFormContainer = "adyen-kyc-tax-reporting-dropin-form-container";
|
|
58
|
+
const summary = "adyen-kyc-summary";
|
|
59
|
+
const summaryTaxStatusCardHeader = "adyen-kyc-summary-tax-status-card--header";
|
|
60
|
+
const summaryTaxStatusCardBody = "adyen-kyc-summary-tax-status-card--body";
|
|
61
|
+
const styles = {
|
|
62
|
+
taxReportingDropin,
|
|
63
|
+
radioCaption,
|
|
64
|
+
taxReportingDropinGettingStarted,
|
|
65
|
+
taxReportingDropinFormContainer,
|
|
66
|
+
summary,
|
|
67
|
+
summaryTaxStatusCardHeader,
|
|
68
|
+
summaryTaxStatusCardBody
|
|
69
|
+
};
|
|
70
|
+
const taxReportingForms = {
|
|
71
|
+
taxClassification: {
|
|
72
|
+
formId: "taxClassification",
|
|
73
|
+
formName: "chooseATaxReportingClassificationOption",
|
|
74
|
+
fields: ["type"]
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
const taxReportingRequiredFields = {
|
|
78
|
+
taxClassification: ["type"]
|
|
79
|
+
};
|
|
80
|
+
const taxReportingOptions = {
|
|
81
|
+
nonFinancialActive: "yourBusinessReceivesTheMajorityOfItsIncomeThroughActiveIncome",
|
|
82
|
+
nonFinancialPassive: "yourBusinessGeneratesMoreThanHalfOfItsRevenueAsPassiveIncome",
|
|
83
|
+
nonFinancialNonReportable: "yourBusinessIsAPublicListedEntity",
|
|
84
|
+
financialNonReportable: "yourBusinessIsAFinancialInstitution"
|
|
85
|
+
};
|
|
86
|
+
const getTaxStatusSummary = (t, taxReportingClassification) => {
|
|
87
|
+
const taxStatusDescription = taxReportingClassification?.taxClassification?.type ? taxReportingClassification.taxClassification.type : void 0;
|
|
88
|
+
return taxStatusDescription ? [
|
|
89
|
+
{
|
|
90
|
+
term: t(($) => $["status"]),
|
|
91
|
+
details: t(($) => $[taxStatusDescription])
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
term: t(($) => $["description"]),
|
|
95
|
+
details: t(($) => $[taxReportingOptions[taxStatusDescription]])
|
|
96
|
+
}
|
|
97
|
+
] : [];
|
|
98
|
+
};
|
|
99
|
+
const getTaxOptionsRadioItems = (t, taxRecommendationData, taxReportingClassification) => {
|
|
100
|
+
const businessType = taxRecommendationData?.businessType;
|
|
101
|
+
const allowedTypes = getSupportedTaxClassificationTypes(businessType);
|
|
102
|
+
const allowedTaxReportingOptionKeys = allowedTypes.filter(
|
|
103
|
+
(key) => key in taxReportingOptions
|
|
104
|
+
);
|
|
105
|
+
const taxOptionsWithoutRecommendationKeys = allowedTaxReportingOptionKeys.filter(
|
|
106
|
+
(key) => key !== taxRecommendationData?.type
|
|
107
|
+
);
|
|
108
|
+
const taxReportingOptionKeysToShow = taxRecommendationData?.type && !taxReportingClassification?.type ? taxOptionsWithoutRecommendationKeys : allowedTaxReportingOptionKeys;
|
|
109
|
+
return taxReportingOptionKeysToShow.map((key) => {
|
|
110
|
+
const value = taxReportingOptions[key];
|
|
111
|
+
return {
|
|
112
|
+
id: key,
|
|
113
|
+
name: t(($) => $[key]),
|
|
114
|
+
content: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", className: styles.radioCaption, children: t(($) => $[value]) })
|
|
115
|
+
};
|
|
116
|
+
});
|
|
117
|
+
};
|
|
118
|
+
const getRecommendedTaxOptionsRadioItems = (t, showRecommendation, taxRecommendationData) => {
|
|
119
|
+
const taxRecommendationType = taxRecommendationData?.type ? taxRecommendationData.type : void 0;
|
|
120
|
+
return showRecommendation && taxRecommendationType ? [
|
|
121
|
+
{
|
|
122
|
+
id: taxRecommendationType,
|
|
123
|
+
name: t(($) => $[taxRecommendationType]),
|
|
124
|
+
content: /* @__PURE__ */ jsx(Typography, { variant: "body", color: "secondary", className: styles.radioCaption, children: t(($) => $[taxReportingOptions[taxRecommendationType]]) })
|
|
125
|
+
}
|
|
126
|
+
] : [];
|
|
127
|
+
};
|
|
128
|
+
const getSupportedTaxClassificationTypes = (businessType) => {
|
|
129
|
+
const publicCompanyTypes = [
|
|
130
|
+
"listedPublicCompany",
|
|
131
|
+
"subsidiaryOfListedPublicCompany",
|
|
132
|
+
"governmentalOrganization",
|
|
133
|
+
"internationalOrganization"
|
|
134
|
+
];
|
|
135
|
+
if (!businessType) {
|
|
136
|
+
return [];
|
|
137
|
+
}
|
|
138
|
+
if (publicCompanyTypes.includes(businessType)) {
|
|
139
|
+
return ["nonFinancialNonReportable"];
|
|
140
|
+
}
|
|
141
|
+
if (businessType === "financialInstitution") {
|
|
142
|
+
return ["financialNonReportable"];
|
|
143
|
+
} else if (businessType === "other") {
|
|
144
|
+
return ["nonFinancialActive", "nonFinancialPassive"];
|
|
145
|
+
} else {
|
|
146
|
+
return [];
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
function TaxReportingClassificationForm({
|
|
150
|
+
data,
|
|
151
|
+
taxReportingClassification,
|
|
152
|
+
taxRecommendationData,
|
|
153
|
+
errors
|
|
154
|
+
}) {
|
|
155
|
+
const { t: taxReportingT } = useTranslation("taxReporting");
|
|
156
|
+
const { t: commonT } = useTranslation("common");
|
|
157
|
+
const { form } = useFormContext();
|
|
158
|
+
const { handleChangeFor } = form;
|
|
159
|
+
const showRecommendation = taxRecommendationData?.type && !taxReportingClassification?.type;
|
|
160
|
+
const taxOptionsRadioItems = getTaxOptionsRadioItems(
|
|
161
|
+
taxReportingT,
|
|
162
|
+
taxRecommendationData,
|
|
163
|
+
taxReportingClassification
|
|
164
|
+
);
|
|
165
|
+
const recommendedTaxOptionRadioItems = getRecommendedTaxOptionsRadioItems(
|
|
166
|
+
taxReportingT,
|
|
167
|
+
showRecommendation,
|
|
168
|
+
taxRecommendationData
|
|
169
|
+
);
|
|
170
|
+
const handleFieldChange = (fieldName, mode) => handleChangeFor(fieldName, "taxClassification", mode);
|
|
171
|
+
const typeErrorMessage = errors?.type?.errorMessage;
|
|
172
|
+
return /* @__PURE__ */ jsxs("form", { className: "tax-reporting", children: [
|
|
173
|
+
/* @__PURE__ */ jsx(Header, { title: taxReportingT(($) => $["taxStatusSelfCertification"]), children: /* @__PURE__ */ jsx(
|
|
174
|
+
Trans,
|
|
175
|
+
{
|
|
176
|
+
slot: "description",
|
|
177
|
+
t: commonT,
|
|
178
|
+
i18nKey: ($) => $["chooseTheTaxStatusWhichBestRepresentsYourBusiness"],
|
|
179
|
+
components: {
|
|
180
|
+
el1: /* @__PURE__ */ jsx(
|
|
181
|
+
Link,
|
|
182
|
+
{
|
|
183
|
+
inline: true,
|
|
184
|
+
external: true,
|
|
185
|
+
href: "https://www.irs.gov/businesses/corporations/foreign-account-tax-compliance-act-fatca#:~:text=The%20Foreign%20Account%20Tax%20Compliance,to%20withholding%20on%20withholdable%20payments.",
|
|
186
|
+
children: "text"
|
|
187
|
+
}
|
|
188
|
+
),
|
|
189
|
+
el2: /* @__PURE__ */ jsx(
|
|
190
|
+
Link,
|
|
191
|
+
{
|
|
192
|
+
inline: true,
|
|
193
|
+
external: true,
|
|
194
|
+
href: "https://www.oecd.org/en/publications/standard-for-automatic-exchange-of-financial-account-information-in-tax-matters-second-edition_9789264267992-en.html",
|
|
195
|
+
children: "text"
|
|
196
|
+
}
|
|
197
|
+
)
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
) }),
|
|
201
|
+
typeErrorMessage && /* @__PURE__ */ jsx(
|
|
202
|
+
Alert,
|
|
203
|
+
{
|
|
204
|
+
variant: "error",
|
|
205
|
+
title: commonT(($) => $[typeErrorMessage])
|
|
206
|
+
}
|
|
207
|
+
),
|
|
208
|
+
showRecommendation ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
209
|
+
/* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: taxReportingT(($) => $["recommendedForYourBusiness"]) }),
|
|
210
|
+
/* @__PURE__ */ jsx(Field, { el: "fieldset", name: "type", children: (childProps) => /* @__PURE__ */ jsx(
|
|
211
|
+
RadioGroup,
|
|
212
|
+
{
|
|
213
|
+
...childProps,
|
|
214
|
+
name: "type",
|
|
215
|
+
items: recommendedTaxOptionRadioItems,
|
|
216
|
+
value: data?.type,
|
|
217
|
+
onChange: handleFieldChange("type", "input")
|
|
218
|
+
}
|
|
219
|
+
) }),
|
|
220
|
+
taxOptionsRadioItems.length ? /* @__PURE__ */ jsx(Typography, { variant: "body-stronger", children: commonT(($) => $[taxOptionsRadioItems.length === 1 ? "other" : "otherOptions"]) }) : null
|
|
221
|
+
] }) : null,
|
|
222
|
+
/* @__PURE__ */ jsx(Field, { el: "fieldset", name: "type", children: (childProps) => /* @__PURE__ */ jsx(
|
|
223
|
+
RadioGroup,
|
|
224
|
+
{
|
|
225
|
+
...childProps,
|
|
226
|
+
name: "type",
|
|
227
|
+
items: taxOptionsRadioItems,
|
|
228
|
+
value: data?.type,
|
|
229
|
+
onChange: handleFieldChange("type", "input")
|
|
230
|
+
}
|
|
231
|
+
) })
|
|
232
|
+
] });
|
|
233
|
+
}
|
|
234
|
+
const taxClassificationFormID = taxReportingForms.taxClassification.formId;
|
|
235
|
+
function TaxReporting(props) {
|
|
236
|
+
const { form } = useFormContext();
|
|
237
|
+
const { errors, valid, fieldProblems: fieldValidationErrors } = form;
|
|
238
|
+
const { activeForm: propActiveForm, taxReportingClassification, taxRecommendationData } = props;
|
|
239
|
+
const classificationFormProps = getFormProps(props, taxClassificationFormID);
|
|
240
|
+
const renderActiveForm = (activeForm) => /* @__PURE__ */ jsx(Fragment, { children: activeForm?.formId === taxClassificationFormID && /* @__PURE__ */ jsx("div", { className: styles.taxReportingDropinFormContainer, children: /* @__PURE__ */ jsx(
|
|
241
|
+
TaxReportingClassificationForm,
|
|
242
|
+
{
|
|
243
|
+
...classificationFormProps,
|
|
244
|
+
taxReportingClassification,
|
|
245
|
+
taxRecommendationData,
|
|
246
|
+
errors: errors?.taxClassification,
|
|
247
|
+
valid: valid?.taxClassification,
|
|
248
|
+
fieldValidationErrors: fieldValidationErrors?.taxClassification
|
|
249
|
+
}
|
|
250
|
+
) }) });
|
|
251
|
+
return /* @__PURE__ */ jsxs("div", { className: "tax-reporting", children: [
|
|
252
|
+
taxClassificationErrorMessage.value && /* @__PURE__ */ jsxs(
|
|
253
|
+
Typography,
|
|
254
|
+
{
|
|
255
|
+
variant: "caption",
|
|
256
|
+
color: "critical",
|
|
257
|
+
"aria-live": "polite",
|
|
258
|
+
className: "adyen-kyc-u-justify-content-center adyen-kyc-u-display-flex",
|
|
259
|
+
children: [
|
|
260
|
+
/* @__PURE__ */ jsx(Icon, { name: "field-error" }),
|
|
261
|
+
" ",
|
|
262
|
+
/* @__PURE__ */ jsx("div", { children: taxClassificationErrorMessage.value })
|
|
263
|
+
]
|
|
264
|
+
}
|
|
265
|
+
),
|
|
266
|
+
renderActiveForm(propActiveForm)
|
|
267
|
+
] });
|
|
268
|
+
}
|
|
269
|
+
const usCheckAccount = lazy(() => import("./tax-reporting-graph-hgoilCHZ.js"));
|
|
270
|
+
const TaxReportingGettingStarted = ({
|
|
271
|
+
handleToggleFormVisible,
|
|
272
|
+
handleCancelClick,
|
|
273
|
+
taxReportingClassification
|
|
274
|
+
}) => {
|
|
275
|
+
const { t: taxReportingT } = useTranslation("taxReporting");
|
|
276
|
+
const { t: commonT } = useTranslation("common");
|
|
277
|
+
const { data: normalizedTasks } = useTaskStatus({
|
|
278
|
+
refetchInterval: TASK_STATUS_POLLING_INTERVAL_MS
|
|
279
|
+
});
|
|
280
|
+
const hasTaxReportingClassification = !isEmpty(
|
|
281
|
+
taxReportingClassification?.taxClassification?.type
|
|
282
|
+
);
|
|
283
|
+
const taxStatusSummary = getTaxStatusSummary(taxReportingT, taxReportingClassification);
|
|
284
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.taxReportingDropinGettingStarted, children: [
|
|
285
|
+
!hasTaxReportingClassification && /* @__PURE__ */ jsx(
|
|
286
|
+
LandingLayout,
|
|
287
|
+
{
|
|
288
|
+
media: /* @__PURE__ */ jsx(Image, { lazyLoadedImage: usCheckAccount }),
|
|
289
|
+
title: taxReportingT(($) => $["taxStatusSelfCertification"]),
|
|
290
|
+
description: taxReportingT(($) => $["toUnderstandIfYourBankAccountDetailsAreReportable"]),
|
|
291
|
+
actions: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
292
|
+
/* @__PURE__ */ jsx(Button, { fullWidth: true, onClick: handleToggleFormVisible, children: commonT(($) => $["gettingStarted"]) }),
|
|
293
|
+
handleCancelClick && /* @__PURE__ */ jsx(Button, { variant: "tertiary", onClick: handleCancelClick, fullWidth: true, children: commonT(($) => $["backToTaskList"]) })
|
|
294
|
+
] })
|
|
295
|
+
}
|
|
296
|
+
),
|
|
297
|
+
hasTaxReportingClassification && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
298
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
299
|
+
/* @__PURE__ */ jsx(
|
|
300
|
+
Header,
|
|
301
|
+
{
|
|
302
|
+
title: taxReportingT(($) => $["selfCertifiedTaxStatus"]),
|
|
303
|
+
description: taxReportingT(($) => $["noFurtherActionOrRecertificationIsNeeded"]),
|
|
304
|
+
status: normalizedTasks?.TAX_REPORTING?.status,
|
|
305
|
+
align: "center"
|
|
306
|
+
}
|
|
307
|
+
),
|
|
308
|
+
/* @__PURE__ */ jsx("div", { className: styles.summary, children: /* @__PURE__ */ jsxs(Card, { variant: "secondary", children: [
|
|
309
|
+
/* @__PURE__ */ jsxs("div", { className: styles.summaryTaxStatusCardHeader, children: [
|
|
310
|
+
/* @__PURE__ */ jsx(Typography, { el: "h3", variant: "title", children: taxReportingT(($) => $["taxStatus"]) }),
|
|
311
|
+
/* @__PURE__ */ jsx(
|
|
312
|
+
IconButton,
|
|
313
|
+
{
|
|
314
|
+
ariaLabel: "edit",
|
|
315
|
+
icon: "edit",
|
|
316
|
+
onClick: handleToggleFormVisible,
|
|
317
|
+
variant: "tertiary"
|
|
318
|
+
}
|
|
319
|
+
)
|
|
320
|
+
] }),
|
|
321
|
+
/* @__PURE__ */ jsx("div", { className: styles.summaryTaxStatusCardBody, children: /* @__PURE__ */ jsx(
|
|
322
|
+
StructuredList,
|
|
323
|
+
{
|
|
324
|
+
className: styles.summaryTaxStatusCardDescription,
|
|
325
|
+
items: taxStatusSummary
|
|
326
|
+
}
|
|
327
|
+
) })
|
|
328
|
+
] }) })
|
|
329
|
+
] }),
|
|
330
|
+
handleCancelClick && /* @__PURE__ */ jsx(
|
|
331
|
+
Button,
|
|
332
|
+
{
|
|
333
|
+
variant: "secondary",
|
|
334
|
+
testId: "source-of-funds-getting-return-button",
|
|
335
|
+
onClick: handleCancelClick,
|
|
336
|
+
children: commonT(($) => $["backToTaskList"])
|
|
337
|
+
}
|
|
338
|
+
)
|
|
339
|
+
] })
|
|
340
|
+
] });
|
|
341
|
+
};
|
|
342
|
+
const taxReportingTypeValidations = {
|
|
343
|
+
type: {
|
|
344
|
+
modes: ["blur"],
|
|
345
|
+
validate: (type) => !isEmpty$1(type),
|
|
346
|
+
errorMessage: "chooseATaxStatusOptionToContinue"
|
|
347
|
+
}
|
|
348
|
+
};
|
|
349
|
+
const logger = createLogger();
|
|
350
|
+
function TaxReportingDropin({ problems, handleHomeClick }) {
|
|
351
|
+
const [loadingStatus, setLoadingStatus] = useState("success");
|
|
352
|
+
const [formVisible, setFormVisible] = useState(false);
|
|
353
|
+
useRef(null);
|
|
354
|
+
const invalidateRootLegalEntity = useInvalidateRootLegalEntity();
|
|
355
|
+
const { i18n } = useTranslation();
|
|
356
|
+
const { t: taxReportingT } = useTranslation("taxReporting");
|
|
357
|
+
addResourceBundles(i18n, [
|
|
358
|
+
{ ns: "taxReporting", importFn: (lang) => __variableDynamicImportRuntimeHelper(/* @__PURE__ */ Object.assign({ "./language/da-DK.json": () => import("./da-DK-DCJhV2qS.js"), "./language/de-DE.json": () => import("./de-DE-DwOQKCuU.js"), "./language/en-US.json": () => import("./en-US-BQZhzROc.js"), "./language/es-ES.json": () => import("./es-ES-BOoPqnPI.js"), "./language/fi-FI.json": () => import("./fi-FI-bZzNB1WB.js"), "./language/fr-FR.json": () => import("./fr-FR-cTKcuHqX.js"), "./language/it-IT.json": () => import("./it-IT-DERflsUd.js"), "./language/ja-JP.json": () => import("./ja-JP-BoxeBgOv.js"), "./language/nl-NL.json": () => import("./nl-NL-Cjlmc0Ii.js"), "./language/no-NO.json": () => import("./no-NO-CY_XHrYd.js"), "./language/pt-BR.json": () => import("./pt-BR-CBAe0SnK.js"), "./language/sl-SI.json": () => import("./sl-SI-DqUEy_Cm.js"), "./language/sv-SE.json": () => import("./sv-SE-CRBRuE8Z.js") }), `./language/${lang}.json`, 3) }
|
|
359
|
+
]);
|
|
360
|
+
const { data: taxRecommendationData, isLoading: isLoadingTaxRecommendationData } = useTaxClassification();
|
|
361
|
+
const userEvents = useAnalyticsContext();
|
|
362
|
+
const { data: legalEntityData, isLoading } = useLegalEntity(ROOT_LE);
|
|
363
|
+
const { mutateAsync: updateLegalEntityMutation } = useUpdateLegalEntity();
|
|
364
|
+
useEffect(() => {
|
|
365
|
+
clearTaxClassificationErrorMessage();
|
|
366
|
+
}, []);
|
|
367
|
+
useEffect(() => {
|
|
368
|
+
userEvents.addTaskEvent("Landed on page", {
|
|
369
|
+
actionType: "start"
|
|
370
|
+
});
|
|
371
|
+
}, [userEvents]);
|
|
372
|
+
const taxReportingClassification = useMemo(
|
|
373
|
+
() => ({
|
|
374
|
+
taxClassification: {
|
|
375
|
+
type: legalEntityData?.organization?.taxReportingClassification?.type
|
|
376
|
+
}
|
|
377
|
+
}),
|
|
378
|
+
[legalEntityData?.organization?.taxReportingClassification?.type]
|
|
379
|
+
);
|
|
380
|
+
const defaultData = useMemo(
|
|
381
|
+
() => ({
|
|
382
|
+
...taxReportingClassification
|
|
383
|
+
}),
|
|
384
|
+
[taxReportingClassification]
|
|
385
|
+
);
|
|
386
|
+
const form = useMultiForm({
|
|
387
|
+
requiredFields: taxReportingRequiredFields,
|
|
388
|
+
rules: {
|
|
389
|
+
taxClassification: taxReportingTypeValidations
|
|
390
|
+
},
|
|
391
|
+
defaultData
|
|
392
|
+
});
|
|
393
|
+
const { data = taxReportingClassification, setData, triggerValidation } = form;
|
|
394
|
+
useEffect(() => {
|
|
395
|
+
if (!data?.taxClassification?.type && taxReportingClassification?.taxClassification?.type) {
|
|
396
|
+
setData("type", taxReportingClassification?.taxClassification?.type, "taxClassification");
|
|
397
|
+
(async () => {
|
|
398
|
+
await triggerValidation("taxClassification");
|
|
399
|
+
})().catch(() => console.error("Error triggering validation"));
|
|
400
|
+
}
|
|
401
|
+
}, [
|
|
402
|
+
data?.taxClassification?.type,
|
|
403
|
+
taxReportingClassification?.taxClassification?.type,
|
|
404
|
+
setData,
|
|
405
|
+
triggerValidation
|
|
406
|
+
]);
|
|
407
|
+
const forms = useMemo(() => {
|
|
408
|
+
const requiredForms = getRequiredForms(
|
|
409
|
+
taxReportingForms,
|
|
410
|
+
taxReportingRequiredFields,
|
|
411
|
+
void 0
|
|
412
|
+
);
|
|
413
|
+
const requiredFormsWithoutSummary = requiredForms.filter((form2) => form2.formId !== "summary");
|
|
414
|
+
return addValidityToForms(requiredFormsWithoutSummary, form.isValid, problems);
|
|
415
|
+
}, [form.isValid, problems]);
|
|
416
|
+
const handleSubmit = useCallback(async () => {
|
|
417
|
+
if (!legalEntityData) {
|
|
418
|
+
return;
|
|
419
|
+
}
|
|
420
|
+
setLoadingStatus("loading");
|
|
421
|
+
const taxReportingPayload = {
|
|
422
|
+
businessType: taxRecommendationData?.businessType,
|
|
423
|
+
financialInstitutionNumber: taxRecommendationData?.financialInstitutionNumber,
|
|
424
|
+
mainSourceOfIncome: taxRecommendationData?.mainSourceOfIncome,
|
|
425
|
+
type: data?.taxClassification?.type
|
|
426
|
+
};
|
|
427
|
+
const legalEntityPayload = {
|
|
428
|
+
id: legalEntityData.id,
|
|
429
|
+
...legalEntityData?.organization && {
|
|
430
|
+
organization: {
|
|
431
|
+
...legalEntityData.organization,
|
|
432
|
+
taxReportingClassification: taxReportingPayload
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
try {
|
|
437
|
+
await updateLegalEntityMutation(legalEntityPayload);
|
|
438
|
+
await invalidateRootLegalEntity();
|
|
439
|
+
userEvents.addTaskEvent("Success", {
|
|
440
|
+
actionType: "submit",
|
|
441
|
+
returnValue: data?.taxClassification?.type
|
|
442
|
+
});
|
|
443
|
+
handleHomeClick?.();
|
|
444
|
+
setFormVisible(false);
|
|
445
|
+
gotoFormByFormIndex(0);
|
|
446
|
+
setTaxClassificationErrorMessage("");
|
|
447
|
+
setLoadingStatus("success");
|
|
448
|
+
} catch (e) {
|
|
449
|
+
setTaxClassificationErrorMessage(
|
|
450
|
+
e?.message || taxReportingT(($) => $["errorUpdatingTaxClassification"])
|
|
451
|
+
);
|
|
452
|
+
logger.log("Error updating source of funds", e);
|
|
453
|
+
setLoadingStatus("success");
|
|
454
|
+
}
|
|
455
|
+
}, [data, taxRecommendationData, legalEntityData, updateLegalEntityMutation]);
|
|
456
|
+
const handleToggleFormVisible = () => {
|
|
457
|
+
setFormVisible(!formVisible);
|
|
458
|
+
};
|
|
459
|
+
const { handleNextClick, activeForm, gotoFormByFormIndex, steps } = useFormComposer(
|
|
460
|
+
{
|
|
461
|
+
problems,
|
|
462
|
+
forms,
|
|
463
|
+
onSubmit: handleSubmit
|
|
464
|
+
}
|
|
465
|
+
);
|
|
466
|
+
return /* @__PURE__ */ jsx("div", { className: styles.taxReportingDropin, children: isLoading || isLoadingTaxRecommendationData ? /* @__PURE__ */ jsx(Loader, {}) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
467
|
+
!formVisible && /* @__PURE__ */ jsx(
|
|
468
|
+
TaxReportingGettingStarted,
|
|
469
|
+
{
|
|
470
|
+
handleCancelClick: handleHomeClick,
|
|
471
|
+
handleToggleFormVisible,
|
|
472
|
+
taxReportingClassification,
|
|
473
|
+
problems: legalEntityData?.problems
|
|
474
|
+
}
|
|
475
|
+
),
|
|
476
|
+
formVisible && /* @__PURE__ */ jsx(FormContextProvider, { form, children: /* @__PURE__ */ jsx(
|
|
477
|
+
FormFlow,
|
|
478
|
+
{
|
|
479
|
+
forms,
|
|
480
|
+
activeForm,
|
|
481
|
+
gotoFormByFormIndex,
|
|
482
|
+
handleBackClick: handleToggleFormVisible,
|
|
483
|
+
handleCancelClick: handleHomeClick,
|
|
484
|
+
handleNextClick,
|
|
485
|
+
loadingStatus,
|
|
486
|
+
currentStep: steps.current,
|
|
487
|
+
totalSteps: steps.total,
|
|
488
|
+
children: /* @__PURE__ */ jsx(
|
|
489
|
+
TaxReporting,
|
|
490
|
+
{
|
|
491
|
+
taxReportingClassification: taxReportingClassification?.taxClassification,
|
|
492
|
+
taxRecommendationData,
|
|
493
|
+
activeForm,
|
|
494
|
+
data
|
|
495
|
+
}
|
|
496
|
+
)
|
|
497
|
+
}
|
|
498
|
+
) })
|
|
499
|
+
] }) });
|
|
500
|
+
}
|
|
501
|
+
export {
|
|
502
|
+
TaxReportingDropin
|
|
503
|
+
};
|
|
@@ -0,0 +1,103 @@
|
|
|
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] = "7379e5bc-459f-44a1-ab65-5616c33241ff", e._sentryDebugIdIdentifier = "sentry-dbid-7379e5bc-459f-44a1-ab65-5616c33241ff");
|
|
6
|
+
} catch (e) {
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
;
|
|
10
|
+
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
11
|
+
import cx from "classnames";
|
|
12
|
+
import { useState } from "preact/hooks";
|
|
13
|
+
import { a3 as createLogger, u as useTranslation, p as useAnalyticsContext } from "./StoreProvider-99-ewU62.js";
|
|
14
|
+
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
15
|
+
const convertFullToHalf = (str) => str.replace(/[!-~]/g, (r) => String.fromCharCode(r.charCodeAt(0) - 65248));
|
|
16
|
+
const logger = createLogger();
|
|
17
|
+
function TextArea(props) {
|
|
18
|
+
const {
|
|
19
|
+
autoCorrect,
|
|
20
|
+
isInvalid,
|
|
21
|
+
isValid,
|
|
22
|
+
readonly = null,
|
|
23
|
+
spellCheck,
|
|
24
|
+
disabled,
|
|
25
|
+
maxLength,
|
|
26
|
+
className,
|
|
27
|
+
trimOnBlur,
|
|
28
|
+
enableTracking = false,
|
|
29
|
+
name,
|
|
30
|
+
"aria-describedby": ariaDescribedBy,
|
|
31
|
+
"aria-invalid": ariaInvalid,
|
|
32
|
+
"aria-labelledby": ariaLabelledBy
|
|
33
|
+
} = props;
|
|
34
|
+
const { t } = useTranslation("ui");
|
|
35
|
+
const userEvents = useAnalyticsContext();
|
|
36
|
+
const [value, setValue] = useState("");
|
|
37
|
+
if (Object.prototype.hasOwnProperty.call(props, "onChange")) {
|
|
38
|
+
logger.error("Error: Form fields that rely on InputBase may not have an onChange property");
|
|
39
|
+
}
|
|
40
|
+
const handleInput = (e) => {
|
|
41
|
+
if (enableTracking) {
|
|
42
|
+
debouncedInputEvent(userEvents, {
|
|
43
|
+
actionType: "input",
|
|
44
|
+
field: name
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
e.currentTarget.value = convertFullToHalf(e.currentTarget.value);
|
|
48
|
+
setValue(e.currentTarget.value);
|
|
49
|
+
props?.onInput?.(e);
|
|
50
|
+
};
|
|
51
|
+
const handleBlur = (e) => {
|
|
52
|
+
if (enableTracking) {
|
|
53
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
54
|
+
actionType: "blur",
|
|
55
|
+
field: name
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
props?.onBlurHandler?.(e);
|
|
59
|
+
if (trimOnBlur) {
|
|
60
|
+
e.currentTarget.value = e.currentTarget.value.trim();
|
|
61
|
+
}
|
|
62
|
+
props?.onBlur?.(e);
|
|
63
|
+
};
|
|
64
|
+
const handleFocus = (e) => {
|
|
65
|
+
if (enableTracking) {
|
|
66
|
+
userEvents.addFieldEvent("Interacted with form field", {
|
|
67
|
+
actionType: "focus",
|
|
68
|
+
field: name
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
props?.onFocusHandler?.(e);
|
|
72
|
+
};
|
|
73
|
+
const inputClassNames = cx("adyen-kyc-input", "adyen-kyc-input--textarea", className, {
|
|
74
|
+
"adyen-kyc-input--invalid": isInvalid,
|
|
75
|
+
"adyen-kyc-field--valid": isValid,
|
|
76
|
+
"adyen-kyc-input--disabled": disabled
|
|
77
|
+
});
|
|
78
|
+
const charactersLeft = maxLength - value.length;
|
|
79
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
80
|
+
/* @__PURE__ */ jsx(
|
|
81
|
+
"textarea",
|
|
82
|
+
{
|
|
83
|
+
...props,
|
|
84
|
+
className: inputClassNames,
|
|
85
|
+
readOnly: readonly,
|
|
86
|
+
spellCheck,
|
|
87
|
+
autoCorrect,
|
|
88
|
+
"aria-describedby": ariaDescribedBy,
|
|
89
|
+
"aria-invalid": ariaInvalid,
|
|
90
|
+
"aria-labelledby": ariaLabelledBy,
|
|
91
|
+
...disabled && { "aria-disabled": true },
|
|
92
|
+
onInput: handleInput,
|
|
93
|
+
onBlur: handleBlur,
|
|
94
|
+
onFocus: handleFocus
|
|
95
|
+
}
|
|
96
|
+
),
|
|
97
|
+
!isInvalid && maxLength && charactersLeft >= 0 ? /* @__PURE__ */ jsx("span", { className: "adyen-kyc-input__counter", children: t(($) => $["xCharactersLeft"], { charactersLeft }) }) : null
|
|
98
|
+
] });
|
|
99
|
+
}
|
|
100
|
+
export {
|
|
101
|
+
TextArea as T,
|
|
102
|
+
convertFullToHalf as c
|
|
103
|
+
};
|