@adyen/kyc-components 3.93.0 → 3.94.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AcceptTermsOfServiceComponent-CMudf1Zd.js → AcceptTermsOfServiceComponent-BNEMFBq0.js} +17 -17
- package/dist/{Accordion-sjC2ic9o.js → Accordion-Cax_J3Gf.js} +2 -2
- package/dist/{AccountSetupRejected-CncpaGTO.js → AccountSetupRejected-Dw1JmaLa.js} +3 -3
- package/dist/{ActionBar-DjsFjykP.js → ActionBar-DIloxhqg.js} +2 -2
- package/dist/{Address-C6DVkZcL.js → Address-Dts3DYj0.js} +36 -11
- package/dist/{Alert-D-FgKxmc.js → Alert-DC8mEKEP.js} +3 -3
- package/dist/{Avatar-BXJlAa_m.js → Avatar-Bbe-eBCS.js} +2 -2
- package/dist/{BusinessFinancingComponent-BIBLD7if.js → BusinessFinancingComponent-BiSUGgX3.js} +6 -6
- package/dist/{BusinessFinancingDropin-DUPVG0ac.js → BusinessFinancingDropin-BmkqIua-.js} +28 -28
- package/dist/{BusinessFinancingPage-Cnkyi_iv.js → BusinessFinancingPage-DwBfN6qr.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-CL2iSuLE.js → BusinessTypeSelectionPage-1Buco8zw.js} +10 -15
- package/dist/{Checkbox-CEjRzpIP.js → Checkbox-CE_M5n7n.js} +2 -2
- package/dist/{Confirm-xO5Yr0Bp.js → Confirm-4erRYnyk.js} +3 -3
- package/dist/{ConstitutionalDocument-BBKeUmtC.js → ConstitutionalDocument-BHFNYRzM.js} +32 -32
- package/dist/{ContactDetails-BeEGNrjK.js → ContactDetails-np9EyPXf.js} +8 -8
- package/dist/{ContextGuidance-BkdCvkro.js → ContextGuidance-BHoxIzER.js} +3 -3
- package/dist/{CountryField-pbj23eqG.js → CountryField-BZaRhZqo.js} +4 -4
- package/dist/{CreateIndividualComponent-BN14wsvP.js → CreateIndividualComponent-BVrZI8vP.js} +7 -7
- package/dist/{CreateTransferInstrumentComponent-DKun_1JG.js → CreateTransferInstrumentComponent-Dv1-pVcx.js} +6 -6
- package/dist/{Currency-BuKwitqQ.js → Currency-BS3HwMyK.js} +7 -7
- package/dist/{CustomerSupport-BK_OaKRW.js → CustomerSupport-m1MtY5to.js} +11 -11
- package/dist/{DebugModal-3ueK1tGl.js → DebugModal-1U6Vcfva.js} +9 -9
- package/dist/{DecisionMakerDetailsPage-DiHhMxKc.js → DecisionMakerDetailsPage-90FD9zit.js} +8 -8
- package/dist/{DecisionMakers-D8ptIY_S.js → DecisionMakers-BSRsaNHN.js} +22 -22
- package/dist/{Dropzone-BAI02vwf.js → Dropzone-Dst8zrJ5.js} +4 -4
- package/dist/{EmbeddedStatus-mFb9ozhT.js → EmbeddedStatus-Bait23vL.js} +3 -3
- package/dist/{EndStateLayout-kC48ysnK.js → EndStateLayout-v1G8vJNv.js} +2 -2
- package/dist/{EntityAssociation-BlNKc5SW.js → EntityAssociation-D-Hu6nbx.js} +6 -6
- package/dist/{EntityGuidanceStatus-n2W71Gts.js → EntityGuidanceStatus-Cgf5U69e.js} +3 -3
- package/dist/{ErrorPanel-FW37V8f_.js → ErrorPanel-CBcipAyR.js} +8 -4
- package/dist/{Field-Dy-q5CRB.js → Field-BVJQCZ4k.js} +2 -2
- package/dist/{FormNavigation-C2Px6-hH.js → FormNavigation-V321wMS9.js} +3 -3
- package/dist/{FormWrapper-Dc0IK6hk.js → FormWrapper-DikNrlhx.js} +9 -9
- package/dist/{Header-BjgMqCtO.js → Header-DGLSSdVe.js} +2 -2
- package/dist/{Image-AkeY7yyQ.js → Image-PEzI5V8F.js} +2 -2
- package/dist/{Individual.rules-CIRdj4rM.js → Individual.rules-Dtutjobs.js} +9 -6
- package/dist/{IndividualDropin-D9A2gQhU.js → IndividualDropin-Bj-hf2Kf.js} +66 -60
- package/dist/{InputDate-Di73YeN7.js → InputDate-BXwWXVWw.js} +1 -1
- package/dist/{InputText-BAe550-Y.js → InputText-HZSqDIB8.js} +2 -2
- package/dist/{Introduction-9UAua8ny.js → Introduction-BQlQc5c7.js} +4 -4
- package/dist/{JpAddress-CzX-4x0r.js → JpAddress-BaQUlDsw.js} +39 -23
- package/dist/{LandingLayout-DSg_u3kp.js → LandingLayout-DbwioiQp.js} +2 -2
- package/dist/{LegalRepresentativeDetailsPage-CepeGeY3.js → LegalRepresentativeDetailsPage-BlwoKFAG.js} +5 -5
- package/dist/{Link-CfLCIefo.js → Link-DrAsV5CE.js} +2 -2
- package/dist/{ListItem-BaKatovL.js → ListItem-C5mM57vH.js} +3 -3
- package/dist/{LoaderWrapper-Cts9cXUa.js → LoaderWrapper-EJyrMlRe.js} +1 -1
- package/dist/ManageIndividualComponent-BEW6MiAh.js +46 -0
- package/dist/{ManageTermsOfServiceComponent-a2WN8S51.js → ManageTermsOfServiceComponent-cxkbu9GB.js} +5 -5
- package/dist/{ManageTransferInstrumentComponent-Bz0RI5-k.js → ManageTransferInstrumentComponent-vQaHwwGe.js} +14 -14
- package/dist/{MaskedInput-TmmXvrVs.js → MaskedInput-DETPfraM.js} +5 -5
- package/dist/{MaybeModal-B4I25cx2.js → MaybeModal-CkPgfjYm.js} +2 -2
- package/dist/{Modal-DsEofbSA.js → Modal-DFeQpiAs.js} +2 -2
- package/dist/{Name-Gmo-5Bqr.js → Name-CprkUDfC.js} +4 -4
- package/dist/{OnboardingDropinComponent-B-PFBlrP.js → OnboardingDropinComponent-DSAf1tUs.js} +431 -434
- package/dist/{PayoutDetailsDropin-m1aKlkrm.js → PayoutDetailsDropin-BfGD6ufv.js} +43 -43
- package/dist/{RadioGroup-YRhJgLUn.js → RadioGroup-B5XmO71J.js} +2 -2
- package/dist/{RadioGroupCard-CSw-Q3AS.js → RadioGroupCard-BX-iOHES.js} +2 -2
- package/dist/{Review-Bf_fhmvT.js → Review-DUQ7OE7u.js} +7 -7
- package/dist/{RootBusinessDetailsPage-B7mYqkzh.js → RootBusinessDetailsPage-D1nyQdET.js} +6 -6
- package/dist/{RootBusinessLinesPage-CBT76Jex.js → RootBusinessLinesPage-DNXNQgRM.js} +23 -23
- package/dist/{RootIndividualDetailsPage-Bn10ChZj.js → RootIndividualDetailsPage-ry80z-pK.js} +6 -6
- package/dist/{Select-HYaeyASt.js → Select-SROdnYi2.js} +4 -4
- package/dist/{SignPCIComponent-Bk-70qiE.js → SignPCIComponent-B4OXK4xP.js} +12 -12
- package/dist/{SingpassSelection-DWFCfKWp.js → SingpassSelection-IIjUQ41x.js} +6 -6
- package/dist/{SoleProprietorshipPage-IjH5yPNi.js → SoleProprietorshipPage-ClFH2EBV.js} +5 -5
- package/dist/{SourceOfFundsPage-Co0-_xzX.js → SourceOfFundsPage-mjYtq4eU.js} +31 -31
- package/dist/{StepProgressIndicator-Bbwofr0t.js → StepProgressIndicator-B8qcehGD.js} +2 -2
- package/dist/{StoreProvider-YEGUipRq.js → StoreProvider-pL-BkCK-.js} +172 -147
- package/dist/{Summary-q5A1DaDu.js → Summary-f-39M2QO.js} +6 -6
- package/dist/{TaskVerificationStatus-LYc1SphW.js → TaskVerificationStatus-dbOSdzvA.js} +2 -2
- package/dist/{TaxInformationField-BgO9VWpf.js → TaxInformationField-D-XvuOUS.js} +30 -25
- package/dist/{TaxReportingDropin-DP3XpU3B.js → TaxReportingDropin-BsH0kVTP.js} +16 -16
- package/dist/{TextArea-D1lViRKu.js → TextArea-nHJNn1c6.js} +2 -2
- package/dist/{TileGroup-C_C30bzD.js → TileGroup-CxNF4bco.js} +3 -3
- package/dist/{TrustDetailsPage-BSfMU0YT.js → TrustDetailsPage-D1DwEhXk.js} +39 -38
- package/dist/{TrustMemberCompanyPage-DtwGPkqY.js → TrustMemberCompanyPage-7lDkP6RS.js} +7 -7
- package/dist/{TrustMemberIndividualPage-ex2rpkAe.js → TrustMemberIndividualPage-D7x6Ohbq.js} +6 -6
- package/dist/{TrustMemberRoleAndTypePage-CWAfynOq.js → TrustMemberRoleAndTypePage-DedLQEbR.js} +34 -26
- package/dist/{TrustMembersOverview-BbB0IJts.js → TrustMembersOverview-Biu1qx3Y.js} +13 -13
- package/dist/{UnincorporatedPartnershipIndividualPage-DPH1CF-Y.js → UnincorporatedPartnershipIndividualPage-BWpULV18.js} +5 -5
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-BEeP9VgA.js → UnincorporatedPartnershipMemberCompanyPage-B5OhlwZs.js} +6 -6
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-C2drIpsK.js → UnincorporatedPartnershipMemberRoleAndTypePage-Dtaas7EX.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-DTlmitVj.js → UnincorporatedPartnershipMembersOverview-CGwyHjL5.js} +9 -9
- package/dist/{VerificationErrorAlert-STnkmqXM.js → VerificationErrorAlert-Cj3Ov9Wd.js} +4 -4
- package/dist/{ViewVerificationStatusComponent-DFrWb4w0.js → ViewVerificationStatusComponent-YZLiwfQ8.js} +4 -4
- package/dist/adyen-business-financing.js +2 -2
- package/dist/adyen-individual-configuration.js +2 -2
- package/dist/adyen-individual-status.js +2 -2
- package/dist/adyen-kyc-components.js +19 -19
- package/dist/adyen-onboarding.js +2 -2
- package/dist/adyen-terms-of-service-management.js +2 -2
- package/dist/adyen-terms-of-service-status.js +2 -2
- package/dist/adyen-transfer-instrument-configuration.js +2 -2
- package/dist/adyen-transfer-instrument-management.js +2 -2
- package/dist/adyen-verification-status.js +2 -2
- package/dist/{bafinUtils-D5u2Q3sP.js → bafinUtils-DWHHDetG.js} +2 -2
- package/dist/bg-BG-C1maG7_G.js +13 -0
- package/dist/{bg-BG-CCwKQVVV.js → bg-BG-zZhDshGi.js} +2 -2
- package/dist/{commonValidators-Xp2_i3fV.js → commonValidators-BiXk5bnP.js} +2 -2
- package/dist/{cs-CZ-CVvNUABW.js → cs-CZ-Ck22NTT9.js} +2 -2
- package/dist/cs-CZ-Dq3xx45p.js +13 -0
- package/dist/da-DK-CoqZjIMT.js +13 -0
- package/dist/{da-DK-CoTdzXlA.js → da-DK-DQ4ZYSea.js} +2 -2
- package/dist/de-DE-CLMlbqGz.js +13 -0
- package/dist/{de-DE-z0cPgxGN.js → de-DE-CkbOZ6S_.js} +2 -2
- package/dist/{dropinUtils-C8JolVCN.js → dropinUtils-p0poGh9q.js} +4 -4
- package/dist/el-GR-BEOd56RY.js +13 -0
- package/dist/{el-GR-B9TRk3Pi.js → el-GR-DudORw4U.js} +2 -2
- package/dist/{es-ES-DUn82eVS.js → es-ES-BAolMrZ0.js} +2 -2
- package/dist/es-ES-BnPWZP0s.js +13 -0
- package/dist/{et-EE-CUXar-DY.js → et-EE-BOIrYrz9.js} +2 -2
- package/dist/et-EE-rYc8-Bm2.js +13 -0
- package/dist/fi-FI-CYEjY7DQ.js +13 -0
- package/dist/{fi-FI-C3TTCFBv.js → fi-FI-D8WrLxxq.js} +2 -2
- package/dist/{fieldConfig-DhKu9uvC.js → fieldConfig-CIVK5vEg.js} +6 -6
- package/dist/{formUtils-b6H7bo93.js → formUtils-BMDzfKoI.js} +3 -3
- package/dist/{fr-FR-BbKadiaZ.js → fr-FR-Beljeilc.js} +2 -2
- package/dist/fr-FR-CsJuDM2B.js +13 -0
- package/dist/{getName-B7GLK85C.js → getName-B-5z5pPo.js} +2 -2
- package/dist/hr-HR-DMSNClBZ.js +13 -0
- package/dist/{hr-HR-D2LmWe5I.js → hr-HR-lIHN6Yl2.js} +2 -2
- package/dist/{hu-HU-CFuBc8VP.js → hu-HU-CWdwNCev.js} +2 -2
- package/dist/hu-HU-DQlYtR9y.js +13 -0
- package/dist/{iframeWidget-D_jSy0Dr.js → iframeWidget-DMwszdzn.js} +4 -4
- package/dist/{isEmpty-Cihu0R9o.js → isEmpty-CEp5kEn8.js} +2 -2
- package/dist/{it-IT-CGhQqmiU.js → it-IT-5a7NHVFo.js} +2 -2
- package/dist/it-IT-C9cOsMxY.js +13 -0
- package/dist/{ja-JP-DGNXrNMK.js → ja-JP-4Q9zp35q.js} +8 -8
- package/dist/{ja-JP-ThzG9vIo.js → ja-JP-CWJzqrtj.js} +2 -2
- package/dist/{ja-JP-CvREJ56h.js → ja-JP-DBoYLzeA.js} +2 -2
- package/dist/{ja-JP-D1vtig2x.js → ja-JP-DfE1PYyN.js} +37 -37
- package/dist/ja-JP-NuKpFRZl.js +13 -0
- package/dist/{ja-JP-C6Go-kaC.js → ja-JP-g6VOUGXZ.js} +4 -4
- package/dist/{japanSupportUtils-BdfAErog.js → japanSupportUtils-CXvOWpfs.js} +2 -2
- package/dist/{localizeDateString-CgaQjcxh.js → localizeDateString-D1Rxv146.js} +2 -2
- package/dist/{lt-LT-CZwu5zZ0.js → lt-LT-CgalYpUh.js} +2 -2
- package/dist/lt-LT-DPU2ZqVt.js +13 -0
- package/dist/lv-LV-BD8xCiCe.js +13 -0
- package/dist/{lv-LV-DVFCj1OR.js → lv-LV-aAd9SEqx.js} +2 -2
- package/dist/{mapExistingFile-BkYAx_kl.js → mapExistingFile-DhXLjrL3.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-B5qq0L3K.js → mapJpAddressSchemaToAddressLocalizations-Gtft-aMS.js} +5 -5
- package/dist/{mapLegalEntityToIndividualSchema-BlVuwE9G.js → mapLegalEntityToIndividualSchema-C4em1xNr.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-CCH5t9Mv.js → mapTransferInstrumentToPayoutAccount-B93xxL8-.js} +2 -2
- package/dist/nl-NL-CBnYVFv_.js +13 -0
- package/dist/{nl-NL-OHlJx2bn.js → nl-NL-CmURERx_.js} +2 -2
- package/dist/no-NO-C690hkyd.js +13 -0
- package/dist/{no-NO-DEYydng4.js → no-NO-qyqWODMp.js} +2 -2
- package/dist/{patternValidators-CBAdtbkx.js → patternValidators-BZ5HZjL4.js} +2 -2
- package/dist/pl-PL-BDclj9dt.js +13 -0
- package/dist/{pl-PL-DMbe5XnW.js → pl-PL-q9azN24o.js} +2 -2
- package/dist/{process-field-configurations-BUh-8mae.js → process-field-configurations-DyGLcuVp.js} +3 -3
- package/dist/pt-BR-B4wCnZ06.js +13 -0
- package/dist/{pt-BR-DWAziFjb.js → pt-BR-BxoOF8jB.js} +2 -2
- package/dist/pt-PT-C6teRGuD.js +13 -0
- package/dist/{pt-PT-LP8g5mC9.js → pt-PT-pIChDwiI.js} +2 -2
- package/dist/{resolveEnvironment-CuY6Nqws.js → resolveEnvironment-kTY1wF0t.js} +3 -3
- package/dist/{ro-RO-BQSoJrlf.js → ro-RO-DRsaNX9j.js} +2 -2
- package/dist/ro-RO-PA9lKU0J.js +13 -0
- package/dist/{roleMetadata-rJyitaSY.js → roleMetadata-CqOzDtbc.js} +2 -2
- package/dist/{sk-SK-CwieqNyR.js → sk-SK-7-enbO1N.js} +2 -2
- package/dist/sk-SK-DmqCF6I9.js +13 -0
- package/dist/{sl-SI-C5vfq7vv.js → sl-SI-DTvJT7fC.js} +2 -2
- package/dist/sl-SI-DnT4vnh4.js +13 -0
- package/dist/style.css +159 -137
- package/dist/styles-CLV89_hH.js +159 -137
- package/dist/sv-SE-DopUU1N2.js +13 -0
- package/dist/{sv-SE-BrO9NKWs.js → sv-SE-N-Hqwcjq.js} +2 -2
- package/dist/types/api/businessLines/useBusinessLines.d.ts +1 -1
- package/dist/types/api/companyDataSet/useClearCompanyData.d.ts +1 -1
- package/dist/types/api/configurations/useScenarios.d.ts +1 -1
- package/dist/types/api/legalEntity/useConfirmReview.d.ts +1 -1
- package/dist/types/components/{Shared → Apps}/tasks/TaskList/utils.d.ts +1 -3
- package/dist/types/components/Business/forms/AdditionalInformation/utils.d.ts +0 -3
- package/dist/types/components/Business/forms/rules.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 +1 -1
- package/dist/types/components/Business/tasks/BusinessDetailsDropin/utils.d.ts +1 -1
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -1
- package/dist/types/components/Individual/tasks/IndividualDropin/IndividualDropin.d.ts +1 -1
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -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/molecules/ErrorPanel/ErrorPanel.d.ts +0 -1
- package/dist/types/context/ExperimentContext/types.d.ts +0 -4
- package/dist/types/core/services/types.d.ts +1 -1
- package/dist/types/stores/globalStore/taskStatus.d.ts +2 -0
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/validatorUtils.d.ts +1 -0
- package/dist/{types-DY4_Oje-.js → types-B7eWQV7z.js} +1 -5
- package/dist/{types-DFQuEUfV.js → types-Cly9MlRV.js} +2 -2
- package/dist/{types-DSigzqfS.js → types-D0oAURZj.js} +2 -2
- package/dist/{types-Dhqy-Af0.js → types-hKa8V4m6.js} +2 -2
- package/dist/{useAssociatedLegalEntity-h5ma5-Vo.js → useAssociatedLegalEntity-BdcJAGui.js} +2 -2
- package/dist/{useBusinessDetailsData-iN0xS5Wd.js → useBusinessDetailsData-BkPfxf01.js} +54 -71
- package/dist/{useCreateLegalEntity-BWaKnWUz.js → useCreateLegalEntity-BMxctrrP.js} +1 -1
- package/dist/{useDataset-tV4eDy-F.js → useDataset-BKPlak8s.js} +2 -2
- package/dist/{useForm-C1fOe0m2.js → useForm-DhtZQUrq.js} +3 -3
- package/dist/{useFormContext-kmuj5zs-.js → useFormContext-DWDQbfuT.js} +7 -7
- package/dist/{useGlobalData-BYqUQNJg.js → useGlobalData-DN7ETXLF.js} +2 -2
- package/dist/{useMultiForm-Bl_xtgL5.js → useMultiForm-BQe3juXK.js} +4 -4
- package/dist/{useOnboardingStatus-NYnHxnQZ.js → useOnboardingStatus-FRsxI_Yy.js} +1 -1
- package/dist/{useScenarios-C_o86avG.js → useScenarios-B6bjpKeS.js} +4 -4
- package/dist/{useTermsOfServiceStatus-BC3q9gh2.js → useTermsOfServiceStatus-Bf59UHb2.js} +1 -1
- package/dist/{useToastContext-CpA8031K.js → useToastContext-CoRh-Ds6.js} +2 -2
- package/dist/{useUnincorporatedPartnershipMembers-BiM1tViV.js → useUnincorporatedPartnershipMembers-DI9dqVl3.js} +4 -4
- package/dist/{useUpdateBusinessLines-Bx3E58F0.js → useUpdateBusinessLines-CK3dNSC2.js} +4 -4
- package/dist/{useUpdateLegalEntity-DhMquhhd.js → useUpdateLegalEntity-Ci2JFHtw.js} +3 -3
- package/dist/{utils-Cvq7mmTk.js → utils-CqmVP7f-.js} +3 -3
- package/dist/{utils-B57SzsP3.js → utils-CsGVlrNp.js} +2 -2
- package/dist/{utils-BxqaMM16.js → utils-OW2KMtsK.js} +2 -2
- package/dist/{utils-B25Hd8qN.js → utils-pbBGc1Wn.js} +2 -2
- package/dist/{utils-DFJh2jVb.js → utils-vxERe8Wa.js} +6 -6
- package/dist/{validate-DMbFk5A_.js → validate-7vn7mbf5.js} +2 -2
- package/dist/{validate-Bsk5GxX3.js → validate-DEZwHywd.js} +3 -3
- package/dist/{validationError-DNOYUd_z.js → validationError-C4wv4P-j.js} +2 -2
- package/package.json +1 -1
- package/dist/ManageIndividualComponent-C_EH5Vig.js +0 -46
- package/dist/bg-BG-BMe54km9.js +0 -13
- package/dist/cs-CZ-BwiHrdav.js +0 -13
- package/dist/da-DK-D3nwkjjZ.js +0 -13
- package/dist/de-DE-ZU2Hsp38.js +0 -13
- package/dist/el-GR-DbOICeSZ.js +0 -13
- package/dist/es-ES-diRragkx.js +0 -13
- package/dist/et-EE--PzlaQkR.js +0 -13
- package/dist/fi-FI-D0_0MXLR.js +0 -13
- package/dist/fr-FR-CbjzHhqH.js +0 -13
- package/dist/hr-HR-CDuWrX1x.js +0 -13
- package/dist/hu-HU-CXB62KSV.js +0 -13
- package/dist/it-IT-BbW5PMj0.js +0 -13
- package/dist/ja-JP-D8-geaup.js +0 -13
- package/dist/lt-LT-BCusE8Fe.js +0 -13
- package/dist/lv-LV-D_D39wup.js +0 -13
- package/dist/nl-NL-Z2ifhzHq.js +0 -13
- package/dist/no-NO-D09wFbmU.js +0 -13
- package/dist/pl-PL-uU0uFIWi.js +0 -13
- package/dist/pt-BR-DzLl_fGR.js +0 -13
- package/dist/pt-PT-Czix42gf.js +0 -13
- package/dist/ro-RO-BmHGZmbO.js +0 -13
- package/dist/sk-SK-hx3DmG_3.js +0 -13
- package/dist/sl-SI-D06jZL__.js +0 -13
- package/dist/sv-SE-eJgjc6iG.js +0 -13
- /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
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "eb8e4090-ff90-40f5-8b6d-85e2abdd2bcc", e._sentryDebugIdIdentifier = "sentry-dbid-eb8e4090-ff90-40f5-8b6d-85e2abdd2bcc");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { A as Avatar } from "./Avatar-
|
|
13
|
-
import {
|
|
12
|
+
import { A as Avatar } from "./Avatar-Bbe-eBCS.js";
|
|
13
|
+
import { p as TaskStatuses, u as useTranslation, a6 as Skeleton, O as Typography } from "./StoreProvider-pL-BkCK-.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
15
|
import { O as OnboardingStatuses } from "./view-verification-status-VFcBydkR.js";
|
|
16
16
|
const embeddedStatus = "adyen-kyc-embedded-status";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "6243caba-4e5f-4866-bcef-186c87e7d62b", e._sentryDebugIdIdentifier = "sentry-dbid-6243caba-4e5f-4866-bcef-186c87e7d62b");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { isValidElement, cloneElement } from "preact";
|
|
13
|
-
import {
|
|
13
|
+
import { a0 as Button, L as Loader, G as Icon } from "./StoreProvider-pL-BkCK-.js";
|
|
14
14
|
const endStateLayout = "adyen-kyc-end-state-layout";
|
|
15
15
|
const endStateLayoutHeader = "adyen-kyc-end-state-layout-header";
|
|
16
16
|
const endStateLayoutIcon = "adyen-kyc-end-state-layout-icon";
|
|
@@ -2,20 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a8307170-1240-4ad8-8103-29337c8a5a74", e._sentryDebugIdIdentifier = "sentry-dbid-a8307170-1240-4ad8-8103-29337c8a5a74");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useRef, useCallback, useEffect, useState } from "preact/hooks";
|
|
12
|
-
import {
|
|
12
|
+
import { a0 as Button, u as useTranslation, H as IconButton, p as TaskStatuses } from "./StoreProvider-pL-BkCK-.js";
|
|
13
13
|
import { C as Card } from "./Card-OQuFzmxm.js";
|
|
14
14
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
15
|
-
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-
|
|
16
|
-
import { C as Confirm } from "./Confirm-
|
|
17
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
18
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
15
|
+
import { V as VerificationErrorAlert } from "./VerificationErrorAlert-Cj3Ov9Wd.js";
|
|
16
|
+
import { C as Confirm } from "./Confirm-4erRYnyk.js";
|
|
17
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-dbOSdzvA.js";
|
|
18
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-CqOzDtbc.js";
|
|
19
19
|
function useClickAwayListener(ref, onClickAway) {
|
|
20
20
|
const handleClickAway = useCallback(
|
|
21
21
|
(event) => {
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "2e7fd22a-05b5-4a8f-982b-a0d73d4c75bd", e._sentryDebugIdIdentifier = "sentry-dbid-2e7fd22a-05b5-4a8f-982b-a0d73d4c75bd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { T as Tag } from "./Tag-DdkVScyr.js";
|
|
12
|
-
import {
|
|
12
|
+
import { bs as getDecisionMakerDescriptionMap, B as TaskTypes, bt as TRUST_DEFAULT_DESCRIPTIONS_MAP, G as Icon, u as useTranslation, aH as Trans } from "./StoreProvider-pL-BkCK-.js";
|
|
13
13
|
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-
|
|
14
|
+
import { g as getRoleName, a as getRoleTagVariant } from "./roleMetadata-CqOzDtbc.js";
|
|
15
15
|
const UNINCORPORATED_PARTNERSHIP__DEFAULT_DESCRIPTIONS_MAP = {
|
|
16
16
|
[UnincorporatedPartnershipMemberTypes.SECONDARY_PARTNER]: "provideAtLeastOneSecondaryPartner",
|
|
17
17
|
[UnincorporatedPartnershipMemberTypes.OWNER]: "provideAllOwners",
|
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "694b822a-b8d0-4ada-a3e4-c54bc7dc02fd", e._sentryDebugIdIdentifier = "sentry-dbid-694b822a-b8d0-4ada-a3e4-c54bc7dc02fd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import { useContext, useCallback } from "preact/hooks";
|
|
12
|
-
import {
|
|
13
|
-
import { a as Alert } from "./Alert-
|
|
12
|
+
import { a0 as Button, u as useTranslation, b9 as remediationHasFileUploadField, aI as keysOf } from "./StoreProvider-pL-BkCK-.js";
|
|
13
|
+
import { a as Alert } from "./Alert-DC8mEKEP.js";
|
|
14
14
|
import { createContext } from "preact";
|
|
15
|
+
const errorPanel = "adyen-kyc-error-panel";
|
|
16
|
+
const styles = {
|
|
17
|
+
errorPanel
|
|
18
|
+
};
|
|
15
19
|
const FormRouterContext = createContext(null);
|
|
16
20
|
function useFormRouterContext() {
|
|
17
21
|
const context = useContext(FormRouterContext);
|
|
@@ -178,7 +182,7 @@ function ErrorPanel({
|
|
|
178
182
|
if (!isVerificationError && !isValidationError) {
|
|
179
183
|
return null;
|
|
180
184
|
}
|
|
181
|
-
return /* @__PURE__ */ jsxs("div", { className:
|
|
185
|
+
return /* @__PURE__ */ jsxs("div", { className: styles.errorPanel, id, "aria-live": "polite", children: [
|
|
182
186
|
isVerificationError && !isValidationError && /* @__PURE__ */ jsx(VerificationErrors, { formUtils, verificationErrors }),
|
|
183
187
|
isValidationError && /* @__PURE__ */ jsx(ServerValidationErrors, { formUtils, validationErrors })
|
|
184
188
|
] });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0b3a9423-b297-4c06-859a-f94617a077a6", e._sentryDebugIdIdentifier = "sentry-dbid-0b3a9423-b297-4c06-859a-f94617a077a6");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { useEffect } from "preact/hooks";
|
|
13
|
-
import { u as useTranslation,
|
|
13
|
+
import { u as useTranslation, C as useAnalyticsContext, G as Icon, a7 as translateStringOrObject } from "./StoreProvider-pL-BkCK-.js";
|
|
14
14
|
import { a as useId } from "./useId-BZ0PA7jP.js";
|
|
15
15
|
const ARIA_ERROR_SUFFIX = "-ariaError";
|
|
16
16
|
const MaybeFieldset = ({
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e96630c9-499f-4a54-b138-ca71cc5e1e3a", e._sentryDebugIdIdentifier = "sentry-dbid-e96630c9-499f-4a54-b138-ca71cc5e1e3a");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
11
11
|
import cx from "classnames";
|
|
12
|
-
import { u as useTranslation,
|
|
12
|
+
import { u as useTranslation, G as Icon, C as useAnalyticsContext, O as Typography } from "./StoreProvider-pL-BkCK-.js";
|
|
13
13
|
import { t as trackNavigation } from "./trackNavigation-db_h46BT.js";
|
|
14
|
-
import { K as KEYBOARD_KEYS } from "./Modal-
|
|
14
|
+
import { K as KEYBOARD_KEYS } from "./Modal-DFeQpiAs.js";
|
|
15
15
|
const FormNavigationItem = ({
|
|
16
16
|
form,
|
|
17
17
|
isActive,
|
|
@@ -2,22 +2,22 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d603bdb9-6009-4336-a2c8-a5da8cb5ea53", e._sentryDebugIdIdentifier = "sentry-dbid-d603bdb9-6009-4336-a2c8-a5da8cb5ea53");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation,
|
|
13
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
14
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
15
|
-
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-
|
|
12
|
+
import { u as useTranslation, C as useAnalyticsContext, J as useExperimentsContext, a0 as Button } from "./StoreProvider-pL-BkCK-.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-EJyrMlRe.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-CkPgfjYm.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-DFeQpiAs.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
18
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
19
|
-
import { F as FormNavigation } from "./FormNavigation-
|
|
20
|
-
import { s as summaryStep, S as Summary } from "./Summary-
|
|
17
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-B8qcehGD.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-p0poGh9q.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-V321wMS9.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-f-39M2QO.js";
|
|
21
21
|
const FormWrapper = ({
|
|
22
22
|
asModal = false,
|
|
23
23
|
summary,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "3f641b8e-2bd1-436e-8431-ce7951ac15ce", e._sentryDebugIdIdentifier = "sentry-dbid-3f641b8e-2bd1-436e-8431-ce7951ac15ce");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,7 +11,7 @@ import { jsxs, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import cx from "classnames";
|
|
12
12
|
import { defineSlots } from "named-slots";
|
|
13
13
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
14
|
-
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-
|
|
14
|
+
import { T as TaskVerificationStatus } from "./TaskVerificationStatus-dbOSdzvA.js";
|
|
15
15
|
const header = "adyen-kyc-header";
|
|
16
16
|
const headerMargin = "adyen-kyc-header-margin";
|
|
17
17
|
const headerMarginSecondary = "adyen-kyc-header-margin-secondary";
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "d9a2911e-a340-43a1-807f-a0ae86a84265", e._sentryDebugIdIdentifier = "sentry-dbid-d9a2911e-a340-43a1-807f-a0ae86a84265");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { c as useLegalEntity, R as ROOT_LE,
|
|
11
|
+
import { c as useLegalEntity, R as ROOT_LE, ah as getCapabilityProblems, g as getLegalEntityCountry, L as Loader } from "./StoreProvider-pL-BkCK-.js";
|
|
12
12
|
import { jsx } from "preact/jsx-runtime";
|
|
13
13
|
import { Suspense } from "preact/compat";
|
|
14
14
|
const useCapabilityProblems = () => {
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "b5702ed5-a873-4f43-9e96-17acb71840f0", e._sentryDebugIdIdentifier = "sentry-dbid-b5702ed5-a873-4f43-9e96-17acb71840f0");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
11
|
-
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-
|
|
10
|
+
import { a5 as CountryCodes, af as DecisionMakerTypes, B as TaskTypes, g as getLegalEntityCountry, bg as getAvailableDecisionMakerRoleTypes, bh as allowedCountriesForNominee, ag as Scenarios, bi as isLowRiskCountry } from "./StoreProvider-pL-BkCK-.js";
|
|
11
|
+
import { g as getAddressSchemaForCountry, C as COUNTRIES_WITH_STATES_DATASET } from "./utils-CsGVlrNp.js";
|
|
12
12
|
import { c as createFormRules } from "./form-rules-DhbF2mY4.js";
|
|
13
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
14
|
-
import { i as isBafinSignatoryFlow } from "./bafinUtils-
|
|
15
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
13
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-CXvOWpfs.js";
|
|
14
|
+
import { i as isBafinSignatoryFlow } from "./bafinUtils-DWHHDetG.js";
|
|
15
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-OW2KMtsK.js";
|
|
16
16
|
const REQUIRED = "REQUIRED";
|
|
17
17
|
const OPTIONAL = "OPTIONAL";
|
|
18
18
|
const ID_NUMBER_EXEMPT_COUNTRIES = [
|
|
@@ -273,6 +273,9 @@ const individualOnfidoRules = ({
|
|
|
273
273
|
return addressSchema.includes("address") ? "REQUIRED" : void 0;
|
|
274
274
|
},
|
|
275
275
|
otherAddressInfoIfRequiredForCountry: () => {
|
|
276
|
+
if (isCompatibleJapanVersion(country, version)) {
|
|
277
|
+
return "REQUIRED";
|
|
278
|
+
}
|
|
276
279
|
const addressSchema = getAddressSchemaForCountry(data?.additionalPersonalDetails?.country);
|
|
277
280
|
return addressSchema.includes("otherAddressInformation") ? "OPTIONAL" : void 0;
|
|
278
281
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "ec739707-684c-49bc-9f28-19134ed844e7", e._sentryDebugIdIdentifier = "sentry-dbid-ec739707-684c-49bc-9f28-19134ed844e7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,64 +11,64 @@ import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { Show } from "@preact/signals/utils";
|
|
12
12
|
import { useMutation, useQuery, skipToken, useQueryClient } from "@tanstack/preact-query";
|
|
13
13
|
import { useState, useRef, useCallback, useEffect, useMemo } from "preact/hooks";
|
|
14
|
-
import { u as useScenarios } from "./useScenarios-
|
|
15
|
-
import { b as useApiContext, j as httpPost,
|
|
16
|
-
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-
|
|
17
|
-
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-
|
|
18
|
-
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-
|
|
19
|
-
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-
|
|
20
|
-
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-
|
|
21
|
-
import { u as useToastContext } from "./useToastContext-
|
|
22
|
-
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-
|
|
23
|
-
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-
|
|
24
|
-
import { u as useMultiForm } from "./useMultiForm-
|
|
25
|
-
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-
|
|
14
|
+
import { u as useScenarios } from "./useScenarios-B6bjpKeS.js";
|
|
15
|
+
import { b as useApiContext, j as httpPost, a5 as CountryCodes, at as matchesRegex, au as NO_ALPHABET_REGEX, av as EMOJI_REGEX, aw as hasRepeatedCharacters, ax as isInvalidName, ay as INDIVIDUAL_VALID_CHAR_REGEX, ap as isEmpty, B as TaskTypes, t as LegalEntityTypes, az as getAgeToday, aA as euCountries, aB as hasText, aC as standardKatakanaValidator, aD as standardKanjiValidator, k as httpGet, u as useTranslation, a0 as Button, L as Loader, af as DecisionMakerTypes, ag as Scenarios, O as Typography, ai as useI18nContext, m as useSettingsContext, J as useExperimentsContext, aE as useVersionConfiguration, aF as getAgeRangeForLegalRepresentative, aG as isLegalRepresentativeNeeded, aH as Trans, aI as keysOf, ac as objectsDeepEqual, aJ as listToRecord, aK as pick, o as createLogger, H as IconButton, C as useAnalyticsContext, a7 as translateStringOrObject, aL as individualOnfidoApiKeyMapping, aM as drop, x as useAccountHolder, g as getLegalEntityCountry, aN as getAllowedDecisionMakerRoles, aO as filterOutUnwantedAssociationsIfRootLE, aj as cloneObject, aP as individualOnfidoDocumentMapping, aQ as individualOnfidoObscuredFields, a8 as getOwnEntityAssociations, aR as hasNomineesChanged, aS as attachNomineeToRole, aT as doArraysMatch } from "./StoreProvider-pL-BkCK-.js";
|
|
16
|
+
import { u as useCreateLegalEntity } from "./useCreateLegalEntity-BMxctrrP.js";
|
|
17
|
+
import { u as useUpdateLegalEntity } from "./useUpdateLegalEntity-Ci2JFHtw.js";
|
|
18
|
+
import { a as addressValidators, A as Address, u as useProviderStatus } from "./Address-Dts3DYj0.js";
|
|
19
|
+
import { c as contactDetailsValidationRules, a as contactDetailFields, C as ContactDetails, u as useValidatePhoneNumberImperatively, g as getAsyncPhoneValidationRules } from "./ContactDetails-np9EyPXf.js";
|
|
20
|
+
import { u as useFormContext, F as FormContextProvider, a as FormFlow } from "./useFormContext-DWDQbfuT.js";
|
|
21
|
+
import { u as useToastContext } from "./useToastContext-CoRh-Ds6.js";
|
|
22
|
+
import { g as getPropsFromConfigurations, c as composePerScenarioFormConfigurations } from "./process-field-configurations-DyGLcuVp.js";
|
|
23
|
+
import { g as getRequiredForms, a as addValidityToForms, u as useFormComposer } from "./dropinUtils-p0poGh9q.js";
|
|
24
|
+
import { u as useMultiForm } from "./useMultiForm-BQe3juXK.js";
|
|
25
|
+
import { u as uppercase, D as DocumentGuidance, m as mapExistingFile, g as getPageName, a as getPage, b as useScenarioConfiguration } from "./mapExistingFile-DhXLjrL3.js";
|
|
26
26
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.js";
|
|
27
|
-
import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
28
|
-
import { b as addressFields, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels } from "./utils-
|
|
29
|
-
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-
|
|
30
|
-
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-
|
|
31
|
-
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-
|
|
27
|
+
import { u as useAllowedCountries, t as toFullWidth, m as mapJpAddressSchemaToAddressLocalizations, a as mapJpAddressSummary } from "./mapJpAddressSchemaToAddressLocalizations-Gtft-aMS.js";
|
|
28
|
+
import { b as addressFields, a as getAddressSchemaLabelsByCountry, m as mapAddressLabels } from "./utils-CsGVlrNp.js";
|
|
29
|
+
import { G as GuidanceQuestionValues, a as GuidanceQuestion, g as getOnfidoIdentityTypeToApiIdentityTypeMap, i as individualFormDefaultData, m as mapLegalEntityToIndividualOnfidoSchema } from "./mapLegalEntityToIndividualSchema-C4em1xNr.js";
|
|
30
|
+
import { i as isValidationError, p as processValidationErrors, a as isMaintenanceModeError } from "./validationError-C4wv4P-j.js";
|
|
31
|
+
import { g as getIdDocument, a as getDocument, c as createDocumentRequest, d as documentApiUtils, m as mergeAttachments, b as getFileExtention } from "./validate-DEZwHywd.js";
|
|
32
32
|
import { d as datasetIdentifier, a as datasetUtilities } from "./datasetUtil-BHQp0-xL.js";
|
|
33
|
-
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-
|
|
34
|
-
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-
|
|
35
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
36
|
-
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-
|
|
37
|
-
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-
|
|
38
|
-
import { v as validatePatternOnBlur } from "./patternValidators-
|
|
33
|
+
import { t as taxInformationDefaultFieldMetadata, a as taxInformationDefaultFieldConfig, i as individualIdNumberOptions, b as additionallIdNumberOptions, T as TaxInformationField, M as MemoizedDocumentUpload, u as useCapabilities, g as getFieldsWithExistingData } from "./TaxInformationField-D-XvuOUS.js";
|
|
34
|
+
import { i as isCompatibleJapanVersion } from "./japanSupportUtils-CXvOWpfs.js";
|
|
35
|
+
import { l as localizeDateString } from "./localizeDateString-D1Rxv146.js";
|
|
36
|
+
import { I as IFrameWidget, o as omitObscuredFieldsIfUnchanged } from "./iframeWidget-DMwszdzn.js";
|
|
37
|
+
import { m as makeMask, n as numericInputs, a as nonInputs, b as alphaInputs, c as customInputs, s as spacer, d as alphanumericInputs, M as MaskedInput } from "./MaskedInput-DETPfraM.js";
|
|
38
|
+
import { v as validatePatternOnBlur } from "./patternValidators-BZ5HZjL4.js";
|
|
39
39
|
import { r as resolveFieldMetadata } from "./fieldConfigurations-BUT9DTUH.js";
|
|
40
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
40
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-OW2KMtsK.js";
|
|
41
41
|
import { lazy, Suspense, memo } from "preact/compat";
|
|
42
|
-
import { I as Image, T as TrustedFieldsProviders } from "./Image-
|
|
43
|
-
import { M as Modal } from "./Modal-
|
|
44
|
-
import { L as LandingLayout } from "./LandingLayout-
|
|
45
|
-
import { a as Alert } from "./Alert-
|
|
46
|
-
import { C as Confirm } from "./Confirm-
|
|
47
|
-
import { a as getIndividualLegalEntityName } from "./getName-
|
|
48
|
-
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-
|
|
42
|
+
import { I as Image, T as TrustedFieldsProviders } from "./Image-PEzI5V8F.js";
|
|
43
|
+
import { M as Modal } from "./Modal-DFeQpiAs.js";
|
|
44
|
+
import { L as LandingLayout } from "./LandingLayout-DbwioiQp.js";
|
|
45
|
+
import { a as Alert } from "./Alert-DC8mEKEP.js";
|
|
46
|
+
import { C as Confirm } from "./Confirm-4erRYnyk.js";
|
|
47
|
+
import { a as getIndividualLegalEntityName } from "./getName-B-5z5pPo.js";
|
|
48
|
+
import { b as idNowModalChildEntityId, a as idNowPostSubmit, s as showIdNowModal, c as shouldShowIdNowModal } from "./bafinUtils-DWHHDetG.js";
|
|
49
49
|
import { signal } from "@preact/signals";
|
|
50
|
-
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-
|
|
50
|
+
import { E as ErrorPanel, u as useFormRouterContext } from "./ErrorPanel-CBcipAyR.js";
|
|
51
51
|
import { g as getFieldProps, a as getFormProps } from "./getProps-CLJfvUMb.js";
|
|
52
|
-
import { F as Field } from "./Field-
|
|
53
|
-
import { H as Header } from "./Header-
|
|
54
|
-
import { L as Link } from "./Link-
|
|
55
|
-
import { S as SettingNames } from "./TaskVerificationStatus-
|
|
56
|
-
import { I as InputDate, f as formatDateObj } from "./InputDate-
|
|
57
|
-
import { I as InputText } from "./InputText-
|
|
58
|
-
import { C as CountryField } from "./CountryField-
|
|
59
|
-
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-
|
|
60
|
-
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-
|
|
61
|
-
import { C as Checkbox } from "./Checkbox-
|
|
62
|
-
import { S as Select } from "./Select-
|
|
63
|
-
import { u as useDataset } from "./useDataset-
|
|
64
|
-
import { C as ContextGuidance } from "./ContextGuidance-
|
|
65
|
-
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-
|
|
66
|
-
import { i as isTruthyValidator } from "./commonValidators-
|
|
67
|
-
import { n as nameFields, N as Name } from "./Name-
|
|
68
|
-
import { D as Dropzone } from "./Dropzone-
|
|
69
|
-
import { i as isEmpty$1 } from "./isEmpty-
|
|
52
|
+
import { F as Field } from "./Field-BVJQCZ4k.js";
|
|
53
|
+
import { H as Header } from "./Header-DGLSSdVe.js";
|
|
54
|
+
import { L as Link } from "./Link-DrAsV5CE.js";
|
|
55
|
+
import { S as SettingNames } from "./TaskVerificationStatus-dbOSdzvA.js";
|
|
56
|
+
import { I as InputDate, f as formatDateObj } from "./InputDate-BXwWXVWw.js";
|
|
57
|
+
import { I as InputText } from "./InputText-HZSqDIB8.js";
|
|
58
|
+
import { C as CountryField } from "./CountryField-BZaRhZqo.js";
|
|
59
|
+
import { R as RadioGroup, a as RadioWithLabel } from "./RadioGroup-B5XmO71J.js";
|
|
60
|
+
import { m as mergeFieldMetadataIntoProps, c as createFormUtils } from "./formUtils-BMDzfKoI.js";
|
|
61
|
+
import { C as Checkbox } from "./Checkbox-CE_M5n7n.js";
|
|
62
|
+
import { S as Select } from "./Select-SROdnYi2.js";
|
|
63
|
+
import { u as useDataset } from "./useDataset-BKPlak8s.js";
|
|
64
|
+
import { C as ContextGuidance } from "./ContextGuidance-BHoxIzER.js";
|
|
65
|
+
import { C as COUNTRIES_WHICH_USE_MULTIPLE_IDENTITY_TYPES, i as individualOnfidoRules, D as DECISION_MAKER_TYPES_WITH_JOBTITLE } from "./Individual.rules-Dtutjobs.js";
|
|
66
|
+
import { i as isTruthyValidator } from "./commonValidators-BiXk5bnP.js";
|
|
67
|
+
import { n as nameFields, N as Name } from "./Name-CprkUDfC.js";
|
|
68
|
+
import { D as Dropzone } from "./Dropzone-Dst8zrJ5.js";
|
|
69
|
+
import { i as isEmpty$1 } from "./isEmpty-CEp5kEn8.js";
|
|
70
70
|
import { Onfido } from "onfido-sdk-ui";
|
|
71
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
71
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-EJyrMlRe.js";
|
|
72
72
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
73
73
|
import { f as formatObject } from "./utils-DNSfZiio.js";
|
|
74
74
|
import { m as mapSchemaFieldsToApiScriptLocalization } from "./mapAddressLocalizationToJpAddressSchema-vJWbpAyq.js";
|
|
@@ -1701,7 +1701,7 @@ const additionalIdentityInfoFields = [
|
|
|
1701
1701
|
"expiryDate"
|
|
1702
1702
|
];
|
|
1703
1703
|
const LazyJpAddress = lazy(
|
|
1704
|
-
async () => (await import("./JpAddress-
|
|
1704
|
+
async () => (await import("./JpAddress-BaQUlDsw.js")).JpAddress
|
|
1705
1705
|
);
|
|
1706
1706
|
const additionalPersonalDetailsFields = [
|
|
1707
1707
|
"birthDate",
|
|
@@ -4355,12 +4355,6 @@ const identityOnfidoBase = {
|
|
|
4355
4355
|
proofOfRelationship: {
|
|
4356
4356
|
rule: "isProofOfRelationshipRequired"
|
|
4357
4357
|
},
|
|
4358
|
-
nomineeDirector: {
|
|
4359
|
-
rules: ["nomineeDirectorRequiredForCountry"]
|
|
4360
|
-
},
|
|
4361
|
-
nomineeShareholder: {
|
|
4362
|
-
rules: ["nomineeShareHolderRequiredForCountry"]
|
|
4363
|
-
},
|
|
4364
4358
|
idVerificationMethod: {
|
|
4365
4359
|
rule: "isIdVerificationMethodRequired"
|
|
4366
4360
|
},
|
|
@@ -4514,6 +4508,7 @@ function IndividualOnfidoDropin({
|
|
|
4514
4508
|
isTargetLegalEntityType,
|
|
4515
4509
|
country: parentCountry,
|
|
4516
4510
|
problems: propProblems,
|
|
4511
|
+
trustMember,
|
|
4517
4512
|
onSubmit: externalOnSubmit,
|
|
4518
4513
|
asModal = false,
|
|
4519
4514
|
handleBackClick: externalBackClick,
|
|
@@ -4862,7 +4857,18 @@ function IndividualOnfidoDropin({
|
|
|
4862
4857
|
parentLE,
|
|
4863
4858
|
dataSubmitted
|
|
4864
4859
|
}) => {
|
|
4865
|
-
|
|
4860
|
+
let newRoles = null;
|
|
4861
|
+
switch (taskType) {
|
|
4862
|
+
case TaskTypes.DECISION_MAKER:
|
|
4863
|
+
case TaskTypes.TRUST_MEMBER_COMPANY_OWNER:
|
|
4864
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_COMPANY_OWNER:
|
|
4865
|
+
newRoles = dataSubmitted?.basicDetails?.role;
|
|
4866
|
+
break;
|
|
4867
|
+
case TaskTypes.TRUST_MEMBER_INDIVIDUAL:
|
|
4868
|
+
case TaskTypes.UNINCORPORATED_PARTNERSHIP_MEMBER_INDIVIDUAL:
|
|
4869
|
+
newRoles = trustMember?.roles;
|
|
4870
|
+
break;
|
|
4871
|
+
}
|
|
4866
4872
|
const existingEntityAssociations = getOwnEntityAssociations(parentLE);
|
|
4867
4873
|
if (newRoles && (hasRolesChanged(legalEntity?.id, existingEntityAssociations, newRoles) || dataFromResponse.basicDetails?.jobTitle !== dataSubmitted?.basicDetails?.jobTitle || hasNomineesChanged(dataFromResponse.basicDetails, dataSubmitted.basicDetails))) {
|
|
4868
4874
|
const updatedParentLegalEntity = {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo } from "preact/hooks";
|
|
12
|
-
import { a as InputBase } from "./InputText-
|
|
12
|
+
import { a as InputBase } from "./InputText-HZSqDIB8.js";
|
|
13
13
|
const checkDateInputSupport = () => {
|
|
14
14
|
const input = document.createElement("input");
|
|
15
15
|
input.setAttribute("type", "date");
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8b677e4b-da0c-4401-adf9-ae8ddd3da75e", e._sentryDebugIdIdentifier = "sentry-dbid-8b677e4b-da0c-4401-adf9-ae8ddd3da75e");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,7 +11,7 @@ import { jsx } from "preact/jsx-runtime";
|
|
|
11
11
|
import { forwardRef } from "preact/compat";
|
|
12
12
|
import { useRef, useState, useCallback, useLayoutEffect } from "preact/hooks";
|
|
13
13
|
import cx from "classnames";
|
|
14
|
-
import {
|
|
14
|
+
import { C as useAnalyticsContext } from "./StoreProvider-pL-BkCK-.js";
|
|
15
15
|
import { d as debouncedInputEvent } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
16
16
|
const InputBase = forwardRef((props, ref) => {
|
|
17
17
|
const userEvents = useAnalyticsContext();
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "e8eb8410-dfcd-4518-bd54-eb1029e972ee", e._sentryDebugIdIdentifier = "sentry-dbid-e8eb8410-dfcd-4518-bd54-eb1029e972ee");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import {
|
|
10
|
+
import { B as TaskTypes, t as LegalEntityTypes, u as useTranslation, c as useLegalEntity, R as ROOT_LE, a as addResourceBundles, L as Loader, C as useAnalyticsContext, a0 as Button, _ as __variableDynamicImportRuntimeHelper } from "./StoreProvider-pL-BkCK-.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "preact/jsx-runtime";
|
|
12
12
|
import { useState, useEffect } from "preact/hooks";
|
|
13
|
-
import { S as StepProgressIndicator } from "./StepProgressIndicator-
|
|
13
|
+
import { S as StepProgressIndicator } from "./StepProgressIndicator-B8qcehGD.js";
|
|
14
14
|
import { useMemo } from "preact/compat";
|
|
15
|
-
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-
|
|
15
|
+
import { b as useCanSeeIntroduction, c as useLegalEntityType } from "./OnboardingDropinComponent-DSAf1tUs.js";
|
|
16
16
|
const IntroductionScreens = {
|
|
17
17
|
PROLOGUE: "PROLOGUE",
|
|
18
18
|
INDIVIDUAL: TaskTypes.INDIVIDUAL,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8fa3fc4d-24e6-4af4-9986-c6946acb44bb", e._sentryDebugIdIdentifier = "sentry-dbid-8fa3fc4d-24e6-4af4-9986-c6946acb44bb");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,19 +10,19 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useState, useEffect } from "preact/hooks";
|
|
12
12
|
import { useQuery } from "@tanstack/preact-query";
|
|
13
|
-
import { b as useApiContext, k as httpGet,
|
|
14
|
-
import { F as Field } from "./Field-
|
|
13
|
+
import { b as useApiContext, k as httpGet, ad as noop, u as useTranslation, ai as useI18nContext, J as useExperimentsContext, C as useAnalyticsContext, a5 as CountryCodes, O as Typography, o as createLogger } from "./StoreProvider-pL-BkCK-.js";
|
|
14
|
+
import { F as Field } from "./Field-BVJQCZ4k.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
16
|
import { S as Spacer } from "./Spacer-BK3jDget.js";
|
|
17
|
-
import { u as useForm } from "./useForm-
|
|
17
|
+
import { u as useForm } from "./useForm-DhtZQUrq.js";
|
|
18
18
|
import { S as StackLayout } from "./unincorporated-partnership-MeN1dp53.js";
|
|
19
|
-
import { I as InputText } from "./InputText-
|
|
20
|
-
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-
|
|
19
|
+
import { I as InputText } from "./InputText-HZSqDIB8.js";
|
|
20
|
+
import { M as MaskedInput, m as makeMask, n as numericInputs, a as nonInputs } from "./MaskedInput-DETPfraM.js";
|
|
21
21
|
import { J as JP_ADDRESS_REQUIRED_FIELDS } from "./jpAddressSchema-De6ix57p.js";
|
|
22
|
-
import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-
|
|
22
|
+
import { d as addressValidationRulesV4, e as addressValidationRules } from "./Address-Dts3DYj0.js";
|
|
23
23
|
import { u as useDebouncedCallback } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
24
|
-
import { c as convertFullToHalf } from "./TextArea-
|
|
25
|
-
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-
|
|
24
|
+
import { c as convertFullToHalf } from "./TextArea-nHJNn1c6.js";
|
|
25
|
+
import { t as toFullWidth } from "./mapJpAddressSchemaToAddressLocalizations-Gtft-aMS.js";
|
|
26
26
|
const retrieveFromPostcodeJp = async (legalEntityId, baseUrl, postalCode) => httpGet({
|
|
27
27
|
baseUrl,
|
|
28
28
|
path: `legalEntities/${legalEntityId}/addresses/jp/${postalCode}`
|
|
@@ -130,6 +130,34 @@ const JpAddress = ({
|
|
|
130
130
|
isValid: formIsValid
|
|
131
131
|
});
|
|
132
132
|
}, [formData, formErrors, formFieldProblems, formIsValid, formValid]);
|
|
133
|
+
const handleOtherAddressInformationFullWidth = {
|
|
134
|
+
input: (e) => {
|
|
135
|
+
handleChangeFor("otherAddressInformationFullWidth", "input")(e);
|
|
136
|
+
handleChangeFor(
|
|
137
|
+
"otherAddressInformation",
|
|
138
|
+
"input"
|
|
139
|
+
)({
|
|
140
|
+
...e,
|
|
141
|
+
target: {
|
|
142
|
+
...e.target,
|
|
143
|
+
value: convertFullToHalf(e.target.value)
|
|
144
|
+
}
|
|
145
|
+
});
|
|
146
|
+
},
|
|
147
|
+
blur: (e) => {
|
|
148
|
+
handleChangeFor("otherAddressInformationFullWidth", "blur")(e);
|
|
149
|
+
handleChangeFor(
|
|
150
|
+
"otherAddressInformation",
|
|
151
|
+
"blur"
|
|
152
|
+
)({
|
|
153
|
+
...e,
|
|
154
|
+
target: {
|
|
155
|
+
...e.target,
|
|
156
|
+
value: convertFullToHalf(e.target.value)
|
|
157
|
+
}
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
};
|
|
133
161
|
return /* @__PURE__ */ jsxs("fieldset", { children: [
|
|
134
162
|
/* @__PURE__ */ jsx(Typography, { el: "legend", variant: "title", children: t(($) => $[addressType]) }),
|
|
135
163
|
/* @__PURE__ */ jsx(
|
|
@@ -188,20 +216,8 @@ const JpAddress = ({
|
|
|
188
216
|
{
|
|
189
217
|
...childProps,
|
|
190
218
|
value: formData.otherAddressInformationFullWidth ?? toFullWidth(formData.otherAddressInformation ?? ""),
|
|
191
|
-
onInput:
|
|
192
|
-
|
|
193
|
-
handleChangeFor(
|
|
194
|
-
"otherAddressInformation",
|
|
195
|
-
"input"
|
|
196
|
-
)({
|
|
197
|
-
...e,
|
|
198
|
-
target: {
|
|
199
|
-
...e.target,
|
|
200
|
-
value: convertFullToHalf(e.target.value)
|
|
201
|
-
}
|
|
202
|
-
});
|
|
203
|
-
},
|
|
204
|
-
onBlur: handleChangeFor("otherAddressInformationFullWidth", "blur"),
|
|
219
|
+
onInput: handleOtherAddressInformationFullWidth.input,
|
|
220
|
+
onBlur: handleOtherAddressInformationFullWidth.blur,
|
|
205
221
|
transformInput: (value) => toFullWidth(value)
|
|
206
222
|
}
|
|
207
223
|
)
|