@adyen/kyc-components 4.4.1 → 4.5.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-Bl1LwgDS.js → AcceptTermsOfServiceComponent-CecGGc1X.js} +14 -14
- package/dist/{AccountSetupRejected-vPCnaWwb.js → AccountSetupRejected-SKRfXM45.js} +1 -1
- package/dist/{ActionBar-CmKflAap.js → ActionBar-NfqEa4Lj.js} +1 -1
- package/dist/{Address-B2Ce4Di_.js → Address-DmC7K_9S.js} +10 -10
- package/dist/{Avatar-C9nv-6c-.js → Avatar-DkqYMxqu.js} +1 -1
- package/dist/{BusinessFinancingComponent-BIe4b_PU.js → BusinessFinancingComponent-cYBfPHpF.js} +5 -5
- package/dist/{BusinessFinancingDropin-C4pCGsLc.js → BusinessFinancingDropin-jEPDLEm2.js} +106 -143
- package/dist/{BusinessFinancingPage-BktVxu1R.js → BusinessFinancingPage-D_bJLl-t.js} +4 -4
- package/dist/{BusinessTypeSelectionPage-Ds0ZBrm4.js → BusinessTypeSelectionPage-CZeSwYus.js} +9 -9
- package/dist/{Checkbox-DKLas909.js → Checkbox-DEpPoJN_.js} +1 -1
- package/dist/{Confirm-BtKpS_Su.js → Confirm-CYgHkICM.js} +2 -2
- package/dist/{ConstitutionalDocument-Cd5em_aQ.js → ConstitutionalDocument-DgivwkYj.js} +18 -18
- package/dist/{ContactDetails-Sd8KsA2V.js → ContactDetails-opl6-mP9.js} +7 -6
- package/dist/{ContextGuidance-qV9z-4df.js → ContextGuidance-gC4RuGIB.js} +1 -1
- package/dist/{CountryField-DOF4SekD.js → CountryField-BNisulC2.js} +3 -3
- package/dist/{CreateIndividualComponent-81aRSgiZ.js → CreateIndividualComponent-BaXw9qdQ.js} +5 -5
- package/dist/{CreateTransferInstrumentComponent-ZsZNPuyJ.js → CreateTransferInstrumentComponent-Dj0ENBoI.js} +4 -4
- package/dist/{Currency-Cj6YKv5r.js → Currency-C1POIMJZ.js} +9 -15
- package/dist/{CustomerSupport-DCO0Pbb8.js → CustomerSupport-BZYjtYIh.js} +10 -10
- package/dist/{DebugModal-B9zrfSu5.js → DebugModal-BfObi6jq.js} +7 -7
- package/dist/{DecisionMakerDetailsPage-CPB2zidn.js → DecisionMakerDetailsPage-B9TlNZ0D.js} +8 -8
- package/dist/{DecisionMakers-mrFSIvIM.js → DecisionMakers-DH44nnKN.js} +20 -20
- package/dist/{Dropzone-CBPMlstg.js → Dropzone-BbFC9YFN.js} +4 -4
- package/dist/{EmbeddedStatus-CYIyKmlG.js → EmbeddedStatus-C80N4YnY.js} +2 -2
- package/dist/{EndStateLayout-ByYy8V2P.js → EndStateLayout-LuO-W__f.js} +1 -1
- package/dist/{EntityAssociation-K-jjCOGT.js → EntityAssociation-CqyEchYv.js} +4 -4
- package/dist/{EntityGuidanceStatus-GaYXpHXr.js → EntityGuidanceStatus-kD9uByJU.js} +3 -3
- package/dist/{ErrorPanel-Dyn3lGkc.js → ErrorPanel-Wws7gA5m.js} +1 -1
- package/dist/{Field-DhEMQ19K.js → Field-BnYaQCpL.js} +1 -1
- package/dist/{FormNavigation-CKhhXUBk.js → FormNavigation-DdP2rb2I.js} +3 -3
- package/dist/{Individual.rules-BBxVtNhu.js → Individual.rules-BOr9HYuB.js} +10 -6
- package/dist/{IndividualDropin-DanfVG9v.js → IndividualDropin-DQrqvsVq.js} +377 -64
- package/dist/{InputDate-CBV8pgtD.js → InputDate-D7tf-vyK.js} +1 -1
- package/dist/{InputText-C6ZQ-hNy.js → InputText-DJmeZHiM.js} +2 -2
- package/dist/{Introduction-BKc-NjQw.js → Introduction-C5ZzdtBf.js} +4 -4
- package/dist/{JpAddress-BB9LN-8Q.js → JpAddress-BLSFMUBF.js} +9 -9
- package/dist/{LandingLayout-DKoIVzl9.js → LandingLayout-DCtOMPr1.js} +1 -1
- package/dist/{LegalCompanyNameField-B4zAvQR1.js → LegalCompanyNameField-C4QSM1kF.js} +6 -6
- package/dist/{LegalRepresentativeDetailsPage-B9SFa3jL.js → LegalRepresentativeDetailsPage-BNnoUySl.js} +4 -4
- package/dist/{Link-B2yGtZDE.js → Link-DHZbclel.js} +1 -1
- package/dist/{ListItem-Dhqhy01R.js → ListItem-DRdYYUwm.js} +2 -2
- package/dist/{LoaderWrapper-CMmocBvF.js → LoaderWrapper-DbnjDZaG.js} +1 -1
- package/dist/{ManageIndividualComponent-C0rnIl3D.js → ManageIndividualComponent-B8NRYoKJ.js} +4 -4
- package/dist/{ManageTermsOfServiceComponent-BXdeBtdc.js → ManageTermsOfServiceComponent-BhqRq0Vj.js} +3 -3
- package/dist/{ManageTransferInstrumentComponent-DUw-zWYd.js → ManageTransferInstrumentComponent-Cn_V6mz7.js} +14 -12
- package/dist/{MaskedInput-84013BtF.js → MaskedInput-Bmnp6vfE.js} +4 -4
- package/dist/{MaybeModal-B3bzXe2d.js → MaybeModal-JqIe8Hi4.js} +2 -2
- package/dist/{Modal-CqgVbCkp.js → Modal-C4g499L3.js} +15 -25
- package/dist/{Name-BZGqCl21.js → Name-BAP43zgz.js} +4 -4
- package/dist/NewSummary-D04coEyZ.js +60 -0
- package/dist/{OnboardingDropinComponent-DZmgsC-y.js → OnboardingDropinComponent-CYZHcP1A.js} +73 -72
- package/dist/{PayoutDetailsDropin-XbW-J3Is.js → PayoutDetailsDropin-CDOhcFNG.js} +37 -38
- package/dist/{PayoutDetailsPage-BuOL1hNz.js → PayoutDetailsPage-B6ObdKoo.js} +5 -5
- package/dist/{RadioGroup-Dv77MxKh.js → RadioGroup-Brbd7IGZ.js} +1 -1
- package/dist/{RadioGroupCard-BLcz-Pwr.js → RadioGroupCard-CLjm3HWF.js} +1 -1
- package/dist/{Review-C25xpvls.js → Review-CUs3fAkl.js} +6 -6
- package/dist/{RootBusinessDetailsPage-B1sWmRI0.js → RootBusinessDetailsPage-DbQaq7S-.js} +4 -4
- package/dist/{RootBusinessLinesPage-DBXqjxer.js → RootBusinessLinesPage-ClrIGBCx.js} +73 -74
- package/dist/{RootIndividualDetailsPage-BBELvyVu.js → RootIndividualDetailsPage-C7NXtN3M.js} +5 -5
- package/dist/{Select-BXKtUkAf.js → Select-DeoKjJst.js} +4 -4
- package/dist/{SignPCIComponent-DzbJgLYx.js → SignPCIComponent-CBm2s71f.js} +10 -10
- package/dist/{SingpassSelection-BZ_pf37b.js → SingpassSelection-D3GBr1C7.js} +6 -6
- package/dist/{SoleProprietorshipPage-BOaR_ZZ9.js → SoleProprietorshipPage-3kI9hRjQ.js} +3 -3
- package/dist/{SourceOfFundsPage-BJPeRXEv.js → SourceOfFundsPage-BaN1Heuy.js} +37 -32
- package/dist/{StepProgressIndicator-D079-QZi.js → StepProgressIndicator-DTMH_ysU.js} +1 -1
- package/dist/{StoreProvider-Bd8v9ymn.js → StoreProvider-CDvuKNZP.js} +18 -20
- package/dist/{Summary-BVTN9m4J.js → Summary-DrjyVpAf.js} +9 -7
- package/dist/{TaxInformationField-FqmKNe1f.js → TaxInformationField-P4kd2RBf.js} +19 -24
- package/dist/{TaxReportingDropin-BJZhFZNY.js → TaxReportingDropin-DoLfjPDT.js} +14 -14
- package/dist/{TextArea-CijCoq-Y.js → TextArea-8HzHbl8a.js} +2 -2
- package/dist/{TileGroup-CJ8S8Tvw.js → TileGroup-C7pJdtfG.js} +2 -2
- package/dist/{TrustDetailsPage-4BtAP45U.js → TrustDetailsPage-CZxWlMFk.js} +31 -32
- package/dist/{TrustMemberCompanyPage-BWWleoXo.js → TrustMemberCompanyPage-ChlEiIX1.js} +4 -4
- package/dist/{TrustMemberIndividualPage-DKdSC4pj.js → TrustMemberIndividualPage-D0ErvJ2Q.js} +4 -4
- package/dist/{TrustMemberRoleAndTypePage-DcJU-Rgv.js → TrustMemberRoleAndTypePage--2DWDQYD.js} +21 -21
- package/dist/{TrustMembersOverview-BpLWTf93.js → TrustMembersOverview-1pruZb7Q.js} +10 -10
- package/dist/{UnincorporatedPartnershipIndividualPage-DW0242pX.js → UnincorporatedPartnershipIndividualPage-DY5POsz3.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberCompanyPage-C2M7U64N.js → UnincorporatedPartnershipMemberCompanyPage-CVS8HujV.js} +4 -4
- package/dist/{UnincorporatedPartnershipMemberRoleAndTypePage-Dn1u4sIQ.js → UnincorporatedPartnershipMemberRoleAndTypePage-BiWrP7jm.js} +11 -11
- package/dist/{UnincorporatedPartnershipMembersOverview-0F0keHpP.js → UnincorporatedPartnershipMembersOverview-CwihTjBJ.js} +7 -7
- package/dist/{VerificationErrorAlert-FDKoXtjj.js → VerificationErrorAlert-C5fltP_W.js} +2 -2
- package/dist/{ViewVerificationStatusComponent-1271jgnS.js → ViewVerificationStatusComponent-THjhd99f.js} +2 -2
- 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-invited-decision-maker.js +7 -7
- package/dist/adyen-kyc-components.js +15 -15
- 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-Bbu_uDNY.js → bafinUtils-BPLSJ1MR.js} +1 -1
- package/dist/{bg-BG-DyX-yYYI.js → bg-BG-BnwkqGm9.js} +2 -2
- package/dist/{bg-BG-DqRXdvRT.js → bg-BG-C6dSR1jk.js} +2 -2
- package/dist/bg-BG-DKld3x63.js +13 -0
- package/dist/{commonValidators-Bzh6HljH.js → commonValidators-MPgcG-b2.js} +1 -1
- package/dist/{cs-CZ-CmPmY5GZ.js → cs-CZ-B6atm9_Q.js} +2 -2
- package/dist/cs-CZ-BBLagJI6.js +13 -0
- package/dist/{cs-CZ-BD5bYeuJ.js → cs-CZ-BeMYkFfD.js} +2 -2
- package/dist/{da-DK-DaINWU5x.js → da-DK-Cv6XUSoW.js} +2 -2
- package/dist/da-DK-D9FgPh5e.js +13 -0
- package/dist/{da-DK-h8DYQ_Iq.js → da-DK-mUuPR2YO.js} +2 -2
- package/dist/{de-DE-KqZs1FFF.js → de-DE-BplDsJEb.js} +2 -2
- package/dist/de-DE-Cg_RNIr-.js +13 -0
- package/dist/{de-DE-LQE_LFFL.js → de-DE-CwT6O212.js} +2 -2
- package/dist/{dropinUtils-W92bBPsr.js → dropinUtils-CH5elK0n.js} +15 -14
- package/dist/{el-GR-DGbzdIL0.js → el-GR-BuAfpG6u.js} +2 -2
- package/dist/el-GR-ZRGBgvMu.js +13 -0
- package/dist/{el-GR-Bn45KMp-.js → el-GR-dRK7xHn2.js} +2 -2
- package/dist/{en-US-BtFr9JRa.js → en-US-DIlZD5Wh.js} +7 -1
- package/dist/{en-US-CEnwRsyr.js → en-US-UidrdpJ0.js} +2 -2
- package/dist/es-ES-BZiC4JWr.js +13 -0
- package/dist/{es-ES-DdGmXdxO.js → es-ES-Bh8k9Zx8.js} +2 -2
- package/dist/{es-ES-DzGJ9DrB.js → es-ES-DRsix_Xn.js} +2 -2
- package/dist/{et-EE-D5SNtVsM.js → et-EE-BBnYC5q8.js} +2 -2
- package/dist/{et-EE-JKt5dMOQ.js → et-EE-BXiYapXy.js} +2 -2
- package/dist/et-EE-D_NmrrzQ.js +13 -0
- package/dist/{fi-FI-n9XAQuIy.js → fi-FI-BftTiz0c.js} +2 -2
- package/dist/fi-FI-CEH4BfU3.js +13 -0
- package/dist/{fi-FI-CIYa9SyS.js → fi-FI-DhUeTfn1.js} +2 -2
- package/dist/{formUtils-BjHuso5S.js → formUtils-Bl8SBmWK.js} +3 -3
- package/dist/{fr-FR-iD1onxpA.js → fr-FR-C6jxjXAI.js} +2 -2
- package/dist/{fr-FR-l5z31r7i.js → fr-FR-CocDMzBc.js} +2 -2
- package/dist/fr-FR-NxOktkWc.js +13 -0
- package/dist/{getName-BL5TV1CY.js → getName-C_u_P9U0.js} +1 -1
- package/dist/{getProblemsForEntity-CRllBdyg.js → getProblemsForEntity-BZRck7Nu.js} +1 -1
- package/dist/{hr-HR-CAqaI1xJ.js → hr-HR-B_TEU3r4.js} +2 -2
- package/dist/{hr-HR-BtowKWUi.js → hr-HR-D9OGeEuB.js} +2 -2
- package/dist/hr-HR-D_MUIhtx.js +13 -0
- package/dist/{hu-HU-CRpdELm_.js → hu-HU-CX83V9tu.js} +2 -2
- package/dist/{hu-HU-MHIPehPS.js → hu-HU-DjaoFDqm.js} +2 -2
- package/dist/hu-HU-LxStrFGU.js +13 -0
- package/dist/{iframeWidget-krcJrioH.js → iframeWidget-DRlrwi6o.js} +4 -4
- package/dist/{isEmpty-DK9awCnt.js → isEmpty-JkZqLeJ_.js} +1 -1
- package/dist/{it-IT-BAvmkEF8.js → it-IT-B4bk2Xev.js} +2 -2
- package/dist/{it-IT-DkiyBNl6.js → it-IT-CXlaZNIj.js} +2 -2
- package/dist/it-IT-OppZz3gW.js +13 -0
- package/dist/{ja-JP-B0Ox3Ixh.js → ja-JP-A6ArIIZ8.js} +2 -2
- package/dist/ja-JP-CethQRoG.js +13 -0
- package/dist/{ja-JP-g6VOUGXZ.js → ja-JP-DK55NCZY.js} +1 -2
- package/dist/{japanSupportUtils-CQfmJLNY.js → japanSupportUtils-B6aNrTga.js} +1 -1
- package/dist/{localizeDateString-DWN00kQs.js → localizeDateString-DJzFcyYr.js} +1 -1
- package/dist/lt-LT-CBTFJxth.js +13 -0
- package/dist/{lt-LT-DDs3ngzd.js → lt-LT-CfQUS8PP.js} +2 -2
- package/dist/{lt-LT-DWs-lYAv.js → lt-LT-ww192lYg.js} +2 -2
- package/dist/{lv-LV-CdCU8ZaR.js → lv-LV-CpHy-ZoF.js} +2 -2
- package/dist/lv-LV-DTaBIHLh.js +13 -0
- package/dist/{lv-LV-CmB2-IO5.js → lv-LV-DoKxsoVR.js} +2 -2
- package/dist/{mapExistingFile-BVZYgI0I.js → mapExistingFile-ebhAtDpQ.js} +4 -4
- package/dist/{mapJpAddressSchemaToAddressLocalizations-M9JDtoZu.js → mapJpAddressSchemaToAddressLocalizations-6-TZehkD.js} +2 -2
- package/dist/{mapLegalEntityToIndividualSchema-vDezQ_7r.js → mapLegalEntityToIndividualSchema-DV9h15hI.js} +4 -4
- package/dist/{mapTransferInstrumentToPayoutAccount-Dqbk-Puh.js → mapTransferInstrumentToPayoutAccount-DtwUb1q5.js} +1 -1
- package/dist/{nl-NL-D7k3hkBl.js → nl-NL-BwWFlBOs.js} +2 -2
- package/dist/nl-NL-CYFznuWn.js +13 -0
- package/dist/{nl-NL-DV4NqPVW.js → nl-NL-J7XpCpQm.js} +2 -2
- package/dist/no-NO-BsEie1We.js +13 -0
- package/dist/{no-NO-B9618F4_.js → no-NO-CtDyNTm6.js} +2 -2
- package/dist/{no-NO-DOOgOJr1.js → no-NO-JWsSd7iY.js} +2 -2
- package/dist/{patternValidators-7Z6iDnS9.js → patternValidators-ORRO5SAA.js} +1 -1
- package/dist/pl-PL-BH_LPZJa.js +13 -0
- package/dist/{pl-PL-DqzUSnFK.js → pl-PL-CCX1rSGF.js} +2 -2
- package/dist/{pl-PL-Bvnak7w3.js → pl-PL-CLmmSNgn.js} +2 -2
- package/dist/{process-field-configurations-pnB2vQcT.js → process-field-configurations-Cb30tRmq.js} +3 -3
- package/dist/{pt-BR-BZkPZ0kK.js → pt-BR-BJOww8U1.js} +2 -2
- package/dist/pt-BR-C-YbDjn-.js +13 -0
- package/dist/{pt-BR-zuqB_CBf.js → pt-BR-D4BTdo_w.js} +2 -2
- package/dist/pt-PT-BTbVsews.js +13 -0
- package/dist/{pt-PT-DkfqmPrD.js → pt-PT-CL9VzmZE.js} +2 -2
- package/dist/{pt-PT-CFY1O_K0.js → pt-PT-DBZj2dDI.js} +2 -2
- package/dist/{resolveEnvironment-BdwWTKt-.js → resolveEnvironment-Btgj9fGu.js} +3 -3
- package/dist/ro-RO-C5PJhlmM.js +13 -0
- package/dist/{ro-RO-BEVRugNx.js → ro-RO-Cu1T3z6k.js} +2 -2
- package/dist/{ro-RO-7CJ4F5iB.js → ro-RO-DaU2--fX.js} +2 -2
- package/dist/{roleMetadata-Zzr0nNzK.js → roleMetadata-YdrYEXdt.js} +2 -2
- package/dist/{sk-SK-DubwJifw.js → sk-SK-B-1yRol7.js} +2 -2
- package/dist/{sk-SK-Bh7WfMNd.js → sk-SK-CEjJ-qZG.js} +2 -2
- package/dist/sk-SK-DO-AqRjE.js +13 -0
- package/dist/{sl-SI-CxGdSydw.js → sl-SI-BfO3xEJx.js} +2 -2
- package/dist/sl-SI-CJH14wbj.js +13 -0
- package/dist/{sl-SI-59OQIZ3f.js → sl-SI-C_4ajjU4.js} +2 -2
- package/dist/style.css +11 -9
- package/dist/styles-CLV89_hH.js +11 -9
- package/dist/{sv-SE-CgB54Aa4.js → sv-SE-CMLKzwtj.js} +2 -2
- package/dist/{sv-SE-CQWBP7n1.js → sv-SE-DKnUr7xo.js} +2 -2
- package/dist/sv-SE-ZsucW_Uj.js +13 -0
- package/dist/types/api/companySelection/useCompanySelection.d.ts +1 -1
- package/dist/types/api/invitations/invitations.types.d.ts +14 -0
- package/dist/types/api/invitations/useCreateInvitation.d.ts +14 -0
- package/dist/types/components/Apps/tasks/TaskList/types.d.ts +2 -2
- package/dist/types/components/Business/forms/BusinessDetails/forms.d.ts +2 -2
- package/dist/types/components/Business/forms/FinancialInformation/FinancialInformation.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/mapping/mapFinancialInformationToFinancialReport.d.ts +1 -1
- package/dist/types/components/Business/forms/FinancialInformation/types.d.ts +7 -17
- package/dist/types/components/Business/forms/rules.d.ts +0 -1
- package/dist/types/components/Business/utils/useCompanySearchExperiments.d.ts +0 -1
- package/dist/types/components/BusinessLines/tasks/utils.d.ts +4 -4
- package/dist/types/components/EFP/mapping/businessFinancingKeyMappings.d.ts +2607 -2607
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/BusinessFinancingFinancialInformation.d.ts +1 -1
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/types.d.ts +4 -4
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/utils.d.ts +4 -5
- package/dist/types/components/EFP/tasks/BusinessFinancingDropin/validate.d.ts +1 -1
- package/dist/types/components/Individual/forms/AdditionalPersonalDetails/AdditionalPersonalDetails.types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdDocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Individual/forms/IdVerificationMethod/validateExtractionResult.d.ts +2 -2
- package/dist/types/components/Individual/forms/Individual.d.ts +5 -0
- package/dist/types/components/Individual/forms/Individual.rules.d.ts +1 -0
- package/dist/types/components/Individual/forms/Individual.types.d.ts +2 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.d.ts +4 -0
- package/dist/types/components/Individual/forms/InviteDetails/InviteDetails.types.d.ts +13 -0
- package/dist/types/components/Individual/forms/InviteDetails/validate.d.ts +3 -0
- package/dist/types/components/Individual/forms/form-ids.d.ts +1 -1
- package/dist/types/components/Shared/FormNavigation/types.d.ts +2 -2
- package/dist/types/components/Shared/FormWrapper/FormWrapper.d.ts +2 -2
- package/dist/types/components/Shared/NewSummary/NewSummary.d.ts +1 -1
- package/dist/types/components/Shared/fields/Currency/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/Currency/types.d.ts +1 -1
- package/dist/types/components/Shared/fields/FinancialReportingDate/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/CompanyRegistrationNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/VatNumberTypeSelector.d.ts +2 -2
- package/dist/types/components/Shared/fields/IdFieldTypeSelector/countryIdNumberTypes.d.ts +5 -5
- package/dist/types/components/Shared/fields/NumberOfEmployees/fieldConfig.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/ReportedValueOptionField.d.ts +3 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/fieldConfig.d.ts +5 -0
- package/dist/types/components/Shared/fields/ReportedValueOptionField/types.d.ts +10 -0
- package/dist/types/components/Shared/forms/Address/types.d.ts +3 -3
- package/dist/types/components/Shared/forms/Address/utils.d.ts +1 -1
- package/dist/types/components/Shared/forms/BusinessTypeSelection/types.d.ts +6 -6
- package/dist/types/components/Shared/forms/DocumentUpload/types.d.ts +2 -2
- package/dist/types/components/Shared/forms/RegistrationAddress/types.d.ts +2 -2
- package/dist/types/components/Trust/utils/trustMemberGuidance.d.ts +2 -2
- package/dist/types/components/UnincorporatedPartnership/tasks/UnincorporatedPartnershipMembers/types.d.ts +2 -2
- package/dist/types/components/ui/atoms/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/FilePicker.d.ts +2 -2
- package/dist/types/components/ui/molecules/Dropzone/types.d.ts +2 -2
- package/dist/types/context/ExperimentContext/types.d.ts +0 -4
- package/dist/types/core/models/api/financialReport.d.ts +7 -1
- package/dist/types/core/user-events.d.ts +1 -1
- package/dist/types/embeds/business-financing/adyen-business-financing.types.d.ts +5 -0
- package/dist/types/embeds/individual-configuration/adyen-individual-configuration.types.d.ts +5 -0
- package/dist/types/embeds/individual-status/adyen-individual-status.types.d.ts +5 -0
- package/dist/types/embeds/invited-decision-maker/adyen-invited-decision-maker.types.d.ts +5 -0
- package/dist/types/embeds/onboarding/adyen-onboarding.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-management/adyen-terms-of-service-management.types.d.ts +5 -0
- package/dist/types/embeds/terms-of-service-status/adyen-terms-of-service-status.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-configuration/adyen-transfer-instrument-configuration.types.d.ts +5 -0
- package/dist/types/embeds/transfer-instrument-management/adyen-transfer-instrument-management.types.d.ts +5 -0
- package/dist/types/embeds/verification-status/adyen-verification-status.types.d.ts +5 -0
- package/dist/types/hooks/useForm/types.d.ts +3 -3
- package/dist/types/language/types.d.ts +3 -8
- package/dist/types/language/utils.d.ts +2 -2
- package/dist/types/types/errors/error-message.d.ts +2 -2
- package/dist/types/types/errors/remediation.d.ts +2 -2
- package/dist/types/types/form-configuration.d.ts +2 -2
- package/dist/types/types/form.d.ts +2 -2
- package/dist/types/utils/decisionMaker.d.ts +2 -2
- package/dist/types/utils/entityStatusUtil.d.ts +1 -1
- package/dist/types/utils/fieldConfigurations.d.ts +2 -2
- package/dist/types/utils/formUtils.d.ts +4 -3
- package/dist/types/utils/roleMetadata.d.ts +4 -4
- package/dist/{types-B9EOUKVu.js → types-DItwm0zf.js} +2 -2
- package/dist/{types-Dtarzusy.js → types-DV-k9m0i.js} +1 -1
- package/dist/{types-BgzibKda.js → types-DhC6v0PF.js} +1 -1
- package/dist/{types-DP1DvIeR.js → types-_ugkpUNx.js} +2 -6
- package/dist/{unincorporated-partnership-Dqnnu9xK.js → unincorporated-partnership-CIe8e4wR.js} +1 -1
- package/dist/{useAssociatedLegalEntity-C4AIT84p.js → useAssociatedLegalEntity-Cn5H9wTJ.js} +1 -1
- package/dist/{useBusinessDetailsData-CKe9mCKo.js → useBusinessDetailsData-FR_NRvw9.js} +338 -312
- package/dist/{useCreateLegalEntity-B16sUD09.js → useCreateLegalEntity-p2CrQlAX.js} +1 -1
- package/dist/{useForm-tzX14noT.js → useForm-C8AWA3sh.js} +3 -3
- package/dist/{useFormContext-C8U6tZ6w.js → useFormContext-C1SR24Ki.js} +7 -7
- package/dist/{FormWrapper-Du6lqE7g.js → useGlobalData-CLlOpZnu.js} +66 -11
- package/dist/{useMultiForm-Dv6aeBzd.js → useMultiForm-DPExov8c.js} +12 -6
- package/dist/{useOnboardingStatus-D2IJejYc.js → useOnboardingStatus-BD-8KaSZ.js} +1 -1
- package/dist/{useScenarios-kkxotRrd.js → useScenarios-DJzsH2gd.js} +1 -1
- package/dist/{useTermsOfServiceStatus-CehmZhbl.js → useTermsOfServiceStatus-CbE9Ro0N.js} +1 -1
- package/dist/{useToastContext-B6bVTtlk.js → useToastContext-D9-q58mO.js} +1 -1
- package/dist/{useUnincorporatedPartnershipMembers-CFNOVri5.js → useUnincorporatedPartnershipMembers-DB6EK6uW.js} +4 -4
- package/dist/{useUpdateBusinessLines-Slv02Dto.js → useUpdateBusinessLines-1pywGJxr.js} +4 -4
- package/dist/{useUpdateLegalEntity-Bx5p8oMR.js → useUpdateLegalEntity-BswSgPWT.js} +2 -2
- package/dist/{utils-SCRgU7La.js → utils-B-6ygFSY.js} +3 -3
- package/dist/{utils-DmlO6ZEu.js → utils-BQ0Na9UT.js} +2 -2
- package/dist/{utils-Dc2gNGsw.js → utils-CFBp4SLl.js} +1 -1
- package/dist/{utils-DFPTtgzx.js → utils-D4c7_3F2.js} +6 -6
- package/dist/{utils-CWnE_Cxa.js → utils-DgFq9CIB.js} +1 -1
- package/dist/{validate-Dc9plnDh.js → validate-CdMI5st2.js} +5 -5
- package/dist/{validate-CZQaWwSn.js → validate-D__xHxXc.js} +24 -12
- package/dist/{validationError-BQGuWR5B.js → validationError-NidfTgvm.js} +1 -1
- package/package.json +7 -17
- package/dist/bg-BG-CRbKoTLs.js +0 -13
- package/dist/cs-CZ-DR5Pfj3g.js +0 -13
- package/dist/da-DK-CG2NcTvu.js +0 -13
- package/dist/de-DE-NMS4xBab.js +0 -13
- package/dist/el-GR-DWM1mhuZ.js +0 -13
- package/dist/es-ES-BWe46jej.js +0 -13
- package/dist/et-EE-CylmXBkF.js +0 -13
- package/dist/fi-FI-larJ5zXy.js +0 -13
- package/dist/fr-FR-DVqpakkq.js +0 -13
- package/dist/hr-HR-C-Hn5lAD.js +0 -13
- package/dist/hu-HU-DynB7VhD.js +0 -13
- package/dist/it-IT-M7AqGzBo.js +0 -13
- package/dist/ja-JP-BcGZdMJa.js +0 -13
- package/dist/lt-LT-SQmafLDX.js +0 -13
- package/dist/lv-LV-B5Os0zqy.js +0 -13
- package/dist/nl-NL-BVRcJEzp.js +0 -13
- package/dist/no-NO-DlnsfTwn.js +0 -13
- package/dist/pl-PL-B-V8iF6C.js +0 -13
- package/dist/pt-BR-Bq41lr7C.js +0 -13
- package/dist/pt-PT-D-EPzKV-.js +0 -13
- package/dist/ro-RO-Dt2gs44k.js +0 -13
- package/dist/sk-SK-B6LcEArz.js +0 -13
- package/dist/sl-SI-DNbu8KiE.js +0 -13
- package/dist/sv-SE-DgMcRRS8.js +0 -13
- package/dist/types/api/utils/getLookupBaseUrl.d.ts +0 -9
- package/dist/useGlobalData-DqYpj2Z7.js +0 -68
- /package/dist/types/components/{Business/forms/FinancialInformation → Shared/fields/ReportedValueOptionField}/ReportedValue.d.ts +0 -0
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
const createLegalEntity = async (legalEntityId, baseUrl, data) => {
|
|
13
13
|
return httpPost(
|
|
14
14
|
{
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "a7807e02-90ba-4e55-b8c1-85f2d68905e1", e._sentryDebugIdIdentifier = "sentry-dbid-a7807e02-90ba-4e55-b8c1-85f2d68905e1");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useState, useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-
|
|
11
|
+
import { m as createLogger, ax as isEmpty, b2 as doArraysMatch } from "./StoreProvider-CDvuKNZP.js";
|
|
12
|
+
import { V as ValidationResult, o as omitKeys, a as addKeys } from "./utils-DgFq9CIB.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const useAsyncValidator = (asyncRules) => {
|
|
15
15
|
const [asyncValidationResults, setAsyncValidationResults] = useState({});
|
|
@@ -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] = "4032a977-480b-4586-ab47-3f6322507054", e._sentryDebugIdIdentifier = "sentry-dbid-4032a977-480b-4586-ab47-3f6322507054");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
11
11
|
import { useMemo, useRef, useState, useContext } from "preact/hooks";
|
|
12
12
|
import cx from "classnames";
|
|
13
|
-
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-
|
|
14
|
-
import { L as LoaderWrapper } from "./LoaderWrapper-
|
|
15
|
-
import { M as MaybeModal } from "./MaybeModal-
|
|
13
|
+
import { z as useAnalyticsContext, u as useTranslation, W as Button } from "./StoreProvider-CDvuKNZP.js";
|
|
14
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DbnjDZaG.js";
|
|
15
|
+
import { M as MaybeModal } from "./MaybeModal-JqIe8Hi4.js";
|
|
16
16
|
import { P as ProgressBar } from "./ProgressBar-B7gTQncy.js";
|
|
17
|
-
import { F as FormRouterContextProvider } from "./dropinUtils-
|
|
18
|
-
import { C as Confirm } from "./Confirm-
|
|
19
|
-
import { S as Summary } from "./Summary-
|
|
17
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-CH5elK0n.js";
|
|
18
|
+
import { C as Confirm } from "./Confirm-CYgHkICM.js";
|
|
19
|
+
import { S as Summary } from "./Summary-DrjyVpAf.js";
|
|
20
20
|
import { createContext } from "preact";
|
|
21
21
|
const FormContext = createContext(null);
|
|
22
22
|
function FormContextProvider({
|
|
@@ -2,22 +2,27 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "0acf0cdc-8aaf-4592-be6f-91e136550bff", e._sentryDebugIdIdentifier = "sentry-dbid-0acf0cdc-8aaf-4592-be6f-91e136550bff");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsxs, jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { useState } from "preact/hooks";
|
|
12
|
-
import { u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-
|
|
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-
|
|
11
|
+
import { useContext, useState, useCallback, useMemo } from "preact/hooks";
|
|
12
|
+
import { bp as StateContext, u as useTranslation, z as useAnalyticsContext, J as useExperimentsContext, W as Button } from "./StoreProvider-CDvuKNZP.js";
|
|
13
|
+
import { L as LoaderWrapper } from "./LoaderWrapper-DbnjDZaG.js";
|
|
14
|
+
import { M as MaybeModal } from "./MaybeModal-JqIe8Hi4.js";
|
|
15
|
+
import { a as ModalContent, b as ModalHeader, c as ModalFooter } from "./Modal-C4g499L3.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-DTMH_ysU.js";
|
|
18
|
+
import { F as FormRouterContextProvider } from "./dropinUtils-CH5elK0n.js";
|
|
19
|
+
import { F as FormNavigation } from "./FormNavigation-DdP2rb2I.js";
|
|
20
|
+
import { s as summaryStep, S as Summary } from "./Summary-DrjyVpAf.js";
|
|
21
|
+
import { a as debounce } from "./debouncedInputEvent-Cv2S512Y.js";
|
|
22
|
+
function useStateContext() {
|
|
23
|
+
const context = useContext(StateContext);
|
|
24
|
+
return context;
|
|
25
|
+
}
|
|
21
26
|
const FormWrapper = ({
|
|
22
27
|
asModal = false,
|
|
23
28
|
summary,
|
|
@@ -130,6 +135,56 @@ const FormWrapper = ({
|
|
|
130
135
|
] })
|
|
131
136
|
] });
|
|
132
137
|
};
|
|
138
|
+
const ON_CHANGE_DEBOUNCE_DURATION = 200;
|
|
139
|
+
function useGlobalData() {
|
|
140
|
+
const { getData } = useStateContext();
|
|
141
|
+
return getData();
|
|
142
|
+
}
|
|
143
|
+
function useGlobalDataSlice(sliceId) {
|
|
144
|
+
const { dispatch, getData } = useStateContext();
|
|
145
|
+
const sliceData = getData()[sliceId];
|
|
146
|
+
const updateState = useCallback(
|
|
147
|
+
(updatedSlice) => dispatch({
|
|
148
|
+
type: "addToState",
|
|
149
|
+
value: {
|
|
150
|
+
...updatedSlice,
|
|
151
|
+
dataStoreId: sliceId
|
|
152
|
+
}
|
|
153
|
+
// TODO merge SFValue and StateSlice types
|
|
154
|
+
}),
|
|
155
|
+
[sliceId]
|
|
156
|
+
);
|
|
157
|
+
const clearState = useCallback(
|
|
158
|
+
() => dispatch({
|
|
159
|
+
type: "removeFromState",
|
|
160
|
+
value: { dataStoreId: sliceId }
|
|
161
|
+
}),
|
|
162
|
+
[sliceId]
|
|
163
|
+
);
|
|
164
|
+
const updateStateSlice = useMemo(
|
|
165
|
+
// can this debounce be useDebounce?
|
|
166
|
+
() => debounce(updateState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
167
|
+
[updateState]
|
|
168
|
+
);
|
|
169
|
+
const clearStateSlice = useMemo(
|
|
170
|
+
() => debounce(clearState, ON_CHANGE_DEBOUNCE_DURATION),
|
|
171
|
+
[clearState]
|
|
172
|
+
);
|
|
173
|
+
return { sliceData, updateStateSlice, clearStateSlice };
|
|
174
|
+
}
|
|
175
|
+
function useResetGlobalData() {
|
|
176
|
+
const { dispatch } = useStateContext();
|
|
177
|
+
return useCallback(
|
|
178
|
+
() => dispatch({
|
|
179
|
+
type: "resetState"
|
|
180
|
+
}),
|
|
181
|
+
[dispatch]
|
|
182
|
+
);
|
|
183
|
+
}
|
|
133
184
|
export {
|
|
134
|
-
FormWrapper as F
|
|
185
|
+
FormWrapper as F,
|
|
186
|
+
useGlobalData as a,
|
|
187
|
+
useResetGlobalData as b,
|
|
188
|
+
useStateContext as c,
|
|
189
|
+
useGlobalDataSlice as u
|
|
135
190
|
};
|
|
@@ -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] = "937fccad-3781-4467-a269-eec433a68fa5", e._sentryDebugIdIdentifier = "sentry-dbid-937fccad-3781-4467-a269-eec433a68fa5");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useCallback, useMemo, useReducer, useEffect } from "preact/hooks";
|
|
11
|
-
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-
|
|
12
|
-
import { V as ValidationResult } from "./utils-
|
|
13
|
-
import { a as isNotEmptyValidator } from "./commonValidators-
|
|
11
|
+
import { ah as objectsDeepEqual, m as createLogger, ax as isEmpty } from "./StoreProvider-CDvuKNZP.js";
|
|
12
|
+
import { V as ValidationResult } from "./utils-DgFq9CIB.js";
|
|
13
|
+
import { a as isNotEmptyValidator } from "./commonValidators-MPgcG-b2.js";
|
|
14
14
|
const omitKeys = (obj, omit) => Object.keys(obj).filter((k) => !omit.includes(k)).reduce((a, c) => {
|
|
15
15
|
a[c] = obj[c];
|
|
16
16
|
return a;
|
|
@@ -493,7 +493,7 @@ function reducer({
|
|
|
493
493
|
...clonedState.fieldProblems,
|
|
494
494
|
[formName]: {
|
|
495
495
|
...clonedState.fieldProblems[formName],
|
|
496
|
-
...!clearFieldProblems && clonedState.fieldProblems[formName][key] ? { [key]: true } : {}
|
|
496
|
+
...!clearFieldProblems && clonedState.fieldProblems?.[formName]?.[key] ? { [key]: true } : {}
|
|
497
497
|
}
|
|
498
498
|
}
|
|
499
499
|
};
|
|
@@ -609,7 +609,13 @@ const useMultiFormAsyncValidator = (asyncRules) => {
|
|
|
609
609
|
[asyncRules]
|
|
610
610
|
);
|
|
611
611
|
const triggerAsyncFormValidation = async (formName, state, selectedSchema) => {
|
|
612
|
-
const
|
|
612
|
+
const fields = selectedSchema ?? state.requiredFields?.[formName];
|
|
613
|
+
if (!fields?.length) {
|
|
614
|
+
return {
|
|
615
|
+
isValid: true
|
|
616
|
+
};
|
|
617
|
+
}
|
|
618
|
+
const asyncValidationResults = await fields.reduce(async (accPromise, fieldName) => {
|
|
613
619
|
const acc = await accPromise;
|
|
614
620
|
const asyncValidationResult = await triggerAsyncValidation(
|
|
615
621
|
fieldName,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
const getOnboardingStatus = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, skipToken } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, ao as entriesOf, at as Scenarios, j as httpGet } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
const getScenarios = async (legalEntityId, baseUrl, legalEntityType, countryCode) => {
|
|
13
13
|
const scenarioParams = new URLSearchParams({
|
|
14
14
|
countryCode,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
const getTermsOfServiceAcceptanceInfos = async (legalEntityId, baseUrl) => {
|
|
13
13
|
return httpGet({
|
|
14
14
|
baseUrl,
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient } from "@tanstack/preact-query";
|
|
11
11
|
import { useCallback, useContext } from "preact/hooks";
|
|
12
|
-
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-
|
|
12
|
+
import { m as createLogger, b as useApiContext, au as ToastContext } from "./StoreProvider-CDvuKNZP.js";
|
|
13
13
|
const logger = createLogger();
|
|
14
14
|
const QUERIES_TO_INVALIDATE_WHEN_ROOT_LE_IS_INVALIDATED = [
|
|
15
15
|
"businessLines",
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useMemo } from "preact/hooks";
|
|
11
|
-
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-
|
|
12
|
-
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-
|
|
13
|
-
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-
|
|
14
|
-
import { g as getLegalEntityNameBasedOnType } from "./getName-
|
|
11
|
+
import { L as LegalEntityTypes, ad as getOwnEntityAssociations, R as useLegalEntity, U as ROOT_LE } from "./StoreProvider-CDvuKNZP.js";
|
|
12
|
+
import { u as useAssociatedLegalEntity } from "./useAssociatedLegalEntity-Cn5H9wTJ.js";
|
|
13
|
+
import { U as UnincorporatedPartnershipMemberTypes } from "./unincorporated-partnership-CIe8e4wR.js";
|
|
14
|
+
import { g as getLegalEntityNameBasedOnType } from "./getName-C_u_P9U0.js";
|
|
15
15
|
const getMemberOwnerId = (memberId, entityAssociations) => entityAssociations.find((association) => association.associatorId === memberId)?.legalEntityId;
|
|
16
16
|
const convertEntityAssociationIntoUnincorporatedPartnershipMember = (association) => {
|
|
17
17
|
if (association.entityType === LegalEntityTypes.INDIVIDUAL || association.entityType === LegalEntityTypes.ORGANIZATION)
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c39df30c-329b-49c6-a355-e0d34d01b1ee", e._sentryDebugIdIdentifier = "sentry-dbid-c39df30c-329b-49c6-a355-e0d34d01b1ee");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQuery, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { b as useApiContext, j as httpGet, ax as isEmpty, u as useTranslation, J as useExperimentsContext, C as IconButton, h as httpPost } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "preact/jsx-runtime";
|
|
13
13
|
import { useRef, useMemo, useState, useEffect } from "preact/hooks";
|
|
14
|
-
import { F as Field } from "./Field-
|
|
14
|
+
import { F as Field } from "./Field-BnYaQCpL.js";
|
|
15
15
|
import { L as List } from "./List-BAzyC6sw.js";
|
|
16
|
-
import { S as Select } from "./Select-
|
|
16
|
+
import { S as Select } from "./Select-DeoKjJst.js";
|
|
17
17
|
import { signal } from "@preact/signals";
|
|
18
18
|
const fetchIndustryCodes = async (legalEntityId, baseUrl, businessLineTypes2, locale) => {
|
|
19
19
|
const results = await Promise.all(
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { useQueryClient, useMutation } from "@tanstack/preact-query";
|
|
11
|
-
import { a as useInvalidateRootLegalEntity } from "./useToastContext-
|
|
12
|
-
import { b as useApiContext, h as httpPost } from "./StoreProvider-
|
|
11
|
+
import { a as useInvalidateRootLegalEntity } from "./useToastContext-D9-q58mO.js";
|
|
12
|
+
import { b as useApiContext, h as httpPost } from "./StoreProvider-CDvuKNZP.js";
|
|
13
13
|
const updateLegalEntity = async (rootLegalEntityId, baseUrl, data) => {
|
|
14
14
|
return httpPost(
|
|
15
15
|
{
|
|
@@ -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] = "63f6d0fd-3eab-429d-a823-24e60e20ddbd", e._sentryDebugIdIdentifier = "sentry-dbid-63f6d0fd-3eab-429d-a823-24e60e20ddbd");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { jsx } from "preact/jsx-runtime";
|
|
11
|
-
import { L as LegalEntityTypes, O as Typography } from "./StoreProvider-
|
|
11
|
+
import { L as LegalEntityTypes, O as Typography } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
import { C as Currencies } from "./currency-CrdnaaDu.js";
|
|
13
|
-
import { l as localizeDateString } from "./localizeDateString-
|
|
13
|
+
import { l as localizeDateString } from "./localizeDateString-DJzFcyYr.js";
|
|
14
14
|
const formatCurrency = (amount, currency, locale) => {
|
|
15
15
|
const { format } = new Intl.NumberFormat(
|
|
16
16
|
locale,
|
|
@@ -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] = "87054414-5cbc-4a95-ab95-7d201b6965c7", e._sentryDebugIdIdentifier = "sentry-dbid-87054414-5cbc-4a95-ab95-7d201b6965c7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import { s as summaryItem } from "./summaryItem-CAQCQSkt.js";
|
|
11
|
-
import { aa as CountryCodes } from "./StoreProvider-
|
|
11
|
+
import { aa as CountryCodes } from "./StoreProvider-CDvuKNZP.js";
|
|
12
12
|
const addressFields = [
|
|
13
13
|
"address",
|
|
14
14
|
"otherAddressInformation",
|
|
@@ -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] = "8097fc50-ef75-41a7-9e6b-c5359f96df41", e._sentryDebugIdIdentifier = "sentry-dbid-8097fc50-ef75-41a7-9e6b-c5359f96df41");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { C as CompanyTypesValues } from "./bafinUtils-
|
|
11
|
-
import { a9 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, r as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-
|
|
12
|
-
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-
|
|
13
|
-
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-
|
|
14
|
-
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-
|
|
10
|
+
import { C as CompanyTypesValues } from "./bafinUtils-BPLSJ1MR.js";
|
|
11
|
+
import { a9 as getLegalEntityCountry, bC as getCapabilities, L as LegalEntityTypes, r as hasOwnEntityAssociationOfType, aa as CountryCodes } from "./StoreProvider-CDvuKNZP.js";
|
|
12
|
+
import { d as allowIndividualWithoutSoleProp } from "./OnboardingDropinComponent-CYZHcP1A.js";
|
|
13
|
+
import { S as SOLE_PROP_COUNTRIES } from "./Individual.rules-BOr9HYuB.js";
|
|
14
|
+
import { A as ALLOWED_UNINCORPORATED_PARTNERSHIP_COUNTRIES } from "./types-DhC6v0PF.js";
|
|
15
15
|
const TRUST_COUNTRIES = [CountryCodes.Australia, CountryCodes.NewZealand];
|
|
16
16
|
const BUSINESS_BANK_ACCOUNT_COUNTRIES = [
|
|
17
17
|
CountryCodes.UnitedStates,
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "8c23fdab-3ab0-4e07-9417-b6fd411ae821", e._sentryDebugIdIdentifier = "sentry-dbid-8c23fdab-3ab0-4e07-9417-b6fd411ae821");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
10
|
import "@tanstack/preact-query";
|
|
11
|
-
import { h as httpPost, ar as httpDelete, j as httpGet, m as createLogger, bp as StateContext, u as useTranslation, z as useAnalyticsContext, B as Icon, O as Typography, V as Loader, C as IconButton } from "./StoreProvider-
|
|
12
|
-
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-
|
|
11
|
+
import { h as httpPost, ar as httpDelete, j as httpGet, m as createLogger, bp as StateContext, u as useTranslation, z as useAnalyticsContext, B as Icon, O as Typography, V as Loader, C as IconButton } from "./StoreProvider-CDvuKNZP.js";
|
|
12
|
+
import { g as getLocalizedIdDocumentTypeOptions } from "./utils-CFBp4SLl.js";
|
|
13
13
|
import { jsx, jsxs } from "preact/jsx-runtime";
|
|
14
14
|
import cx from "classnames";
|
|
15
15
|
import { useEffect } from "preact/hooks";
|
|
@@ -201,7 +201,7 @@ const createDocumentRequest = async ({
|
|
|
201
201
|
type: entityType
|
|
202
202
|
},
|
|
203
203
|
type: documentType,
|
|
204
|
-
description
|
|
204
|
+
description
|
|
205
205
|
};
|
|
206
206
|
}
|
|
207
207
|
return;
|
|
@@ -212,7 +212,7 @@ const createDocumentRequest = async ({
|
|
|
212
212
|
type: entityType
|
|
213
213
|
},
|
|
214
214
|
type: documentType,
|
|
215
|
-
description
|
|
215
|
+
description,
|
|
216
216
|
attachments: page1ToUpload && page2ToUpload && encodedPage1 && encodedPage2 ? [
|
|
217
217
|
createAttachment(encodedPage1, page1ToUpload.name, "front"),
|
|
218
218
|
createAttachment(encodedPage2, page2ToUpload.name, "back")
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
{
|
|
3
3
|
try {
|
|
4
4
|
let e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {}, n = new e.Error().stack;
|
|
5
|
-
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "
|
|
5
|
+
n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "7bf17450-cdb4-4422-b9e3-ac07f7089ae7", e._sentryDebugIdIdentifier = "sentry-dbid-7bf17450-cdb4-4422-b9e3-ac07f7089ae7");
|
|
6
6
|
} catch (e) {
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { aK as hasText } from "./StoreProvider-
|
|
10
|
+
import { aK as hasText } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
const validateLegalEntityIdentifier = (legalEntityIdentifier) => {
|
|
12
12
|
if (!legalEntityIdentifier) {
|
|
13
13
|
return true;
|
|
@@ -26,15 +26,21 @@ const businessFinancingCompanyDetailsValidations = {
|
|
|
26
26
|
validate: (numberOfEmployees) => Number.isInteger(Number(numberOfEmployees)) && Number(numberOfEmployees) > 0,
|
|
27
27
|
errorMessage: "atLeastOneEmployeeIsRequired"
|
|
28
28
|
},
|
|
29
|
-
|
|
29
|
+
balanceSheetTotal: {
|
|
30
30
|
modes: ["blur"],
|
|
31
|
-
validate: (value) =>
|
|
32
|
-
|
|
31
|
+
validate: (value) => {
|
|
32
|
+
const numValue = Number(value);
|
|
33
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
34
|
+
},
|
|
35
|
+
errorMessage: "fieldIsRequired"
|
|
33
36
|
},
|
|
34
37
|
annualTurnover: {
|
|
35
38
|
modes: ["blur"],
|
|
36
|
-
validate: (value) =>
|
|
37
|
-
|
|
39
|
+
validate: (value) => {
|
|
40
|
+
const numValue = Number(value);
|
|
41
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
42
|
+
},
|
|
43
|
+
errorMessage: "fieldIsRequired"
|
|
38
44
|
},
|
|
39
45
|
financialReportingDate: {
|
|
40
46
|
modes: ["blur"],
|
|
@@ -63,15 +69,21 @@ const businessFinancingParentCompanyDetailsValidations = {
|
|
|
63
69
|
validate: (legalEntityIdentifier) => validateLegalEntityIdentifier(legalEntityIdentifier),
|
|
64
70
|
errorMessage: "invalidFormat"
|
|
65
71
|
},
|
|
66
|
-
|
|
72
|
+
balanceSheetTotal: {
|
|
67
73
|
modes: ["blur"],
|
|
68
|
-
validate: (value) =>
|
|
69
|
-
|
|
74
|
+
validate: (value) => {
|
|
75
|
+
const numValue = Number(value);
|
|
76
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
77
|
+
},
|
|
78
|
+
errorMessage: "fieldIsRequired"
|
|
70
79
|
},
|
|
71
80
|
annualTurnover: {
|
|
72
81
|
modes: ["blur"],
|
|
73
|
-
validate: (value) =>
|
|
74
|
-
|
|
82
|
+
validate: (value) => {
|
|
83
|
+
const numValue = Number(value);
|
|
84
|
+
return !Number.isNaN(numValue) && numValue > 0;
|
|
85
|
+
},
|
|
86
|
+
errorMessage: "fieldIsRequired"
|
|
75
87
|
},
|
|
76
88
|
financialReportingDate: {
|
|
77
89
|
modes: ["blur"],
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
;
|
|
10
|
-
import { y as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-
|
|
10
|
+
import { y as TaskTypes, ba as remediationPayoutApiKeyMapping, bb as remediationBusinessDetailsApiKeyMapping, bc as remediationIndividualApiKeyMapping } from "./StoreProvider-CDvuKNZP.js";
|
|
11
11
|
import { a as assignToProp } from "./utils-DNSfZiio.js";
|
|
12
12
|
const isMaintenanceModeError = (error) => error && typeof error === "object" && "messageCode" in error && error.messageCode === "maintenanceMode";
|
|
13
13
|
const overrideKeyMapping = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/kyc-components",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.5.0-beta.0",
|
|
4
4
|
"keywords": [
|
|
5
5
|
"adyen",
|
|
6
6
|
"adyen-kyc",
|
|
@@ -100,22 +100,20 @@
|
|
|
100
100
|
"wouter-preact": "^3.9.0"
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
|
-
"@adyen/bento-design-tokens": "^1.
|
|
103
|
+
"@adyen/bento-design-tokens": "^1.91.0",
|
|
104
104
|
"@commitlint/cli": "^19.8.1",
|
|
105
105
|
"@commitlint/config-conventional": "^19.8.1",
|
|
106
106
|
"@commitlint/prompt-cli": "^19.8.1",
|
|
107
|
-
"@eslint/compat": "^1.4.1",
|
|
108
107
|
"@eslint/js": "^9.39.4",
|
|
109
108
|
"@playwright/test": "^1.58.2",
|
|
110
109
|
"@preact/eslint-plugin-signals": "^0.2.0",
|
|
111
110
|
"@preact/preset-vite": "^2.10.3",
|
|
112
111
|
"@sentry/bundler-plugin-core": "3.5.0",
|
|
113
112
|
"@sentry/cli": "2.42.2",
|
|
114
|
-
"@slack/types": "^2.
|
|
113
|
+
"@slack/types": "^2.20.1",
|
|
115
114
|
"@storybook/addon-a11y": "10.1.10",
|
|
116
115
|
"@storybook/addon-docs": "10.1.10",
|
|
117
116
|
"@storybook/addon-vitest": "10.1.10",
|
|
118
|
-
"@storybook/cli": "10.1.10",
|
|
119
117
|
"@storybook/preact-vite": "10.1.10",
|
|
120
118
|
"@tanstack/eslint-plugin-query": "^5.91.4",
|
|
121
119
|
"@tanstack/preact-query-devtools": "^5.92.0",
|
|
@@ -128,11 +126,8 @@
|
|
|
128
126
|
"@vitest/browser-playwright": "4.0.10",
|
|
129
127
|
"@vitest/coverage-v8": "4.0.10",
|
|
130
128
|
"@vitest/ui": "4.0.10",
|
|
131
|
-
"chalk": "^5.6.2",
|
|
132
129
|
"concurrently": "^9.2.1",
|
|
133
|
-
"cross-env": "^7.0.3",
|
|
134
130
|
"ctrf-cli": "^0.0.5",
|
|
135
|
-
"dotenv": "^17.3.1",
|
|
136
131
|
"eslint": "^9.39.4",
|
|
137
132
|
"eslint-config-prettier": "^10.1.8",
|
|
138
133
|
"eslint-import-resolver-typescript": "^4.4.4",
|
|
@@ -148,12 +143,11 @@
|
|
|
148
143
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
149
144
|
"eslint-plugin-testing-library": "^7.16.0",
|
|
150
145
|
"eslint-plugin-unicorn": "^63.0.0",
|
|
151
|
-
"happy-dom": "^20.8.
|
|
146
|
+
"happy-dom": "^20.8.9",
|
|
152
147
|
"inquirer": "^12.11.1",
|
|
153
148
|
"jsonc-eslint-parser": "^2.4.2",
|
|
154
149
|
"msw": "2.7.3",
|
|
155
150
|
"msw-storybook-addon": "^2.0.6",
|
|
156
|
-
"openapi-typescript": "^7.13.0",
|
|
157
151
|
"phone": "^3.1.71",
|
|
158
152
|
"playwright-ctrf-json-reporter": "^0.0.27",
|
|
159
153
|
"postcss": "^8.5.8",
|
|
@@ -172,7 +166,6 @@
|
|
|
172
166
|
"stylelint-config-recommended-scss": "^14.1.0",
|
|
173
167
|
"stylelint-config-sass-guidelines": "^12.1.0",
|
|
174
168
|
"stylelint-scss": "^6.14.0",
|
|
175
|
-
"svgo": "^4.0.1",
|
|
176
169
|
"tsc-alias": "^1.8.16",
|
|
177
170
|
"type-fest": "^4.41.0",
|
|
178
171
|
"typescript": "^5.9.3",
|
|
@@ -198,7 +191,7 @@
|
|
|
198
191
|
"analyze:bundle:cdn": "rollup-plugin-visualizer bundle-stats/report-cdn.json --filename bundle-stats/report-cdn.html --template sunburst --open",
|
|
199
192
|
"build:npm": "rm -rf dist && pnpm types:build && vite build --mode production && vite-node ./scripts/ensureNoReactImportsInDist.ts",
|
|
200
193
|
"build:demo": "rm -rf .demo && vite build --mode demo",
|
|
201
|
-
"build:e2e": "rm -rf .e2e &&
|
|
194
|
+
"build:e2e": "rm -rf .e2e && VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite build --mode e2e",
|
|
202
195
|
"build:cdn": "rm -rf dist-cdn && vite build --mode production-cdn && ./scripts/move-sourcemaps.sh && node ./scripts/ensureUniqueOutputNames.js",
|
|
203
196
|
"build:watch": "vite build --mode production --watch",
|
|
204
197
|
"check:all": "concurrently \"pnpm types:check\" \"pnpm lint:quiet\" \"pnpm lint:styles\" \"pnpm prettier\" -n tsc,eslint,stylelint,prettier -c cyan,magenta,yellow,blue",
|
|
@@ -210,8 +203,8 @@
|
|
|
210
203
|
"demo": "pnpm build:demo && pnpm demo:serve",
|
|
211
204
|
"demo:serve": "vite preview --mode demo",
|
|
212
205
|
"dev": "concurrently \"vite dev\" \"pnpm types:watch\" -n vite,tsc -c green,cyan -k",
|
|
213
|
-
"dev:e2e": "
|
|
214
|
-
"preview:e2e": "
|
|
206
|
+
"dev:e2e": "VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite dev --mode e2e",
|
|
207
|
+
"preview:e2e": "VITE_PLAYGROUND_BARE_UI=true VITE_PLAYGROUND_NEW=true vite preview --mode e2e",
|
|
215
208
|
"fix:all": "pnpm lint:fix && pnpm prettier:fix",
|
|
216
209
|
"fix:lint": "pnpm lint:fix",
|
|
217
210
|
"fix:prettier": "pnpm prettier:fix",
|
|
@@ -229,9 +222,6 @@
|
|
|
229
222
|
"start": "pnpm dev",
|
|
230
223
|
"storybook": "storybook dev -p 6006 --no-version-updates",
|
|
231
224
|
"storybook:build": "storybook build",
|
|
232
|
-
"svgo:all": "pnpm svgo:icons && pnpm svgo:images",
|
|
233
|
-
"svgo:icons": "svgo --config=./assets/icons.svgo.conf.js --folder=./assets/icons",
|
|
234
|
-
"svgo:images": "svgo --config=./assets/images.svgo.conf.js --folder=./assets/images -r",
|
|
235
225
|
"test": "vitest",
|
|
236
226
|
"test:run": "vitest --run",
|
|
237
227
|
"test:coverage": "vitest --coverage",
|