@@ -278,6 +278,7 @@ const signRequestUuidForProgress = computed(() => {
278278const isAfterSigned = computed (() => history .state ?.isAfterSigned ?? shouldFireAsyncConfetti .value ?? false )
279279
280280const isEnvelope = computed (() => document .value ?.nodeType === ' envelope' )
281+
281282const validationComponent = computed (() => (isEnvelope .value ? EnvelopeValidation : FileValidation ))
282283const validationDocument = computed (() => document .value )
283284const validationEnvelopeDocument = computed <LoadedValidationEnvelopeDocumentState | null >(() => (isLoadedValidationEnvelopeDocument (document .value ) ? document .value : null ))
@@ -362,12 +363,6 @@ function dateFromSqlAnsi(date: string) {
362363 return Moment (Date .parse (date )).format (' LL LTS' )
363364}
364365
365- function toggleDetail(_signer : SignerDetailRecord ) {
366- }
367-
368- function toggleFileDetail(_file : ValidatedChildFileRecord ) {
369- }
370-
371366function getSignerStatus(status : string ) {
372367 const statusMap: Record <string , string > = {
373368 pending: t (' libresign' , ' Pending' ),
@@ -861,6 +856,8 @@ defineExpose({
861856 loading ,
862857 document ,
863858 validationDocument ,
859+ validationEnvelopeDocument ,
860+ validationFileDocument ,
864861 legalInformation ,
865862 clickedValidate ,
866863 getUUID ,
@@ -884,15 +881,11 @@ defineExpose({
884881 helperTextValidation ,
885882 size ,
886883 documentStatus ,
887- validationEnvelopeDocument ,
888- validationFileDocument ,
889884 validityStatusMap ,
890885 crlStatusMap ,
891886 upload ,
892887 uploadFile ,
893888 dateFromSqlAnsi ,
894- toggleDetail ,
895- toggleFileDetail ,
896889 getSignerStatus ,
897890 validate ,
898891 validateByUUID ,
0 commit comments