@fad-producto-portal/ng-fad-signature-fea 1.0.0-alpha.0 → 1.0.0-alpha.10
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/assets/images/fad-signature-fea/signature-summary/rejected.svg +20 -0
- package/assets/images/fad-signature-fea/signature-summary/send.svg +11 -0
- package/esm2022/lib/components/document-approval-list/document-approval-list.component.mjs +35 -81
- package/esm2022/lib/components/generic-error-fea/generic-error-fea.component.mjs +3 -3
- package/esm2022/lib/components/pdf-viewer-fea/pdf-viewer-fea.component.mjs +79 -0
- package/esm2022/lib/components/signature-summary/signature-summary.component.mjs +95 -0
- package/esm2022/lib/components/upload-e-signature/upload-e-signature.component.mjs +68 -54
- package/esm2022/lib/components/validate-rfc/validate-rfc.component.mjs +30 -18
- package/esm2022/lib/components/validate-signature/validate-signature.component.mjs +7 -13
- package/esm2022/lib/constants/configuration/index.mjs +2 -1
- package/esm2022/lib/constants/configuration/pdf-viewer-fea/index.mjs +2 -0
- package/esm2022/lib/constants/configuration/pdf-viewer-fea/pdf-viewer-fea-configuration.const.mjs +17 -0
- package/esm2022/lib/constants/configuration/signature-summary/signature-summary-configuration.const.mjs +18 -0
- package/esm2022/lib/constants/errors/upload-e-signature/upload-e-signature-error-code.mjs +2 -1
- package/esm2022/lib/constants/errors/upload-e-signature/upload-e-signature-error-description.mjs +3 -1
- package/esm2022/lib/constants/errors/validate-rfc/validate-rfc-error-code.mjs +4 -1
- package/esm2022/lib/constants/errors/validate-rfc/validate-rfc-error-description.mjs +7 -1
- package/esm2022/lib/constants/errors/validate-signature/validate-signature-error-code.mjs +2 -1
- package/esm2022/lib/constants/errors/validate-signature/validate-signature-error-description.mjs +4 -2
- package/esm2022/lib/models/configuration/index.mjs +4 -1
- package/esm2022/lib/models/configuration/pdf-viewer-fea/index.mjs +2 -0
- package/esm2022/lib/models/configuration/pdf-viewer-fea/pdf-viewer-fea.interface.mjs +2 -0
- package/esm2022/lib/models/configuration/signature-summary/index.mjs +2 -0
- package/esm2022/lib/models/configuration/signature-summary/signature-summary.interface.mjs +2 -0
- package/esm2022/lib/models/configuration/upload-e-signature/upload-e-signature-configuration.interface.mjs +1 -1
- package/esm2022/lib/models/customization/legends/index.mjs +4 -1
- package/esm2022/lib/models/customization/legends/pdf-viewer-fea/index.mjs +2 -0
- package/esm2022/lib/models/customization/legends/pdf-viewer-fea/pdf-viewer-fea-legends.interface.mjs +2 -0
- package/esm2022/lib/models/customization/legends/signature-summary/index.mjs +2 -0
- package/esm2022/lib/models/customization/legends/signature-summary/signature-summary-legends.interface.mjs +2 -0
- package/esm2022/lib/models/customization/style/index.mjs +4 -1
- package/esm2022/lib/models/customization/style/pdf-viewer-fea/index.mjs +2 -0
- package/esm2022/lib/models/customization/style/pdf-viewer-fea/pdf-viewer-fea-style.interface.mjs +2 -0
- package/esm2022/lib/models/customization/style/signature-summary/index.mjs +2 -0
- package/esm2022/lib/models/customization/style/signature-summary/signature-summary-style.interface.mjs +2 -0
- package/esm2022/lib/models/path-dependencies/index.mjs +4 -1
- package/esm2022/lib/models/path-dependencies/pdf-viewer-fea/index.mjs +2 -0
- package/esm2022/lib/models/path-dependencies/pdf-viewer-fea/pdf-viewer-fea-dependencies.interface.mjs +2 -0
- package/esm2022/lib/models/path-dependencies/signature-summary/index.mjs +2 -0
- package/esm2022/lib/models/path-dependencies/signature-summary/signature-summary-dependencies.interface.mjs +2 -0
- package/esm2022/lib/ng-fad-signature-fea.module.mjs +15 -5
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/fad-producto-portal-ng-fad-signature-fea.mjs +374 -184
- package/fesm2022/fad-producto-portal-ng-fad-signature-fea.mjs.map +1 -1
- package/lib/components/document-approval-list/document-approval-list.component.d.ts +2 -16
- package/lib/components/pdf-viewer-fea/pdf-viewer-fea.component.d.ts +28 -0
- package/lib/components/signature-summary/signature-summary.component.d.ts +27 -0
- package/lib/components/upload-e-signature/upload-e-signature.component.d.ts +3 -3
- package/lib/components/validate-rfc/validate-rfc.component.d.ts +6 -4
- package/lib/components/validate-signature/validate-signature.component.d.ts +2 -3
- package/lib/constants/configuration/index.d.ts +1 -0
- package/lib/constants/configuration/pdf-viewer-fea/index.d.ts +1 -0
- package/lib/constants/configuration/pdf-viewer-fea/pdf-viewer-fea-configuration.const.d.ts +2 -0
- package/lib/constants/configuration/signature-summary/signature-summary-configuration.const.d.ts +2 -0
- package/lib/constants/errors/upload-e-signature/upload-e-signature-error-code.d.ts +2 -1
- package/lib/constants/errors/upload-e-signature/upload-e-signature-error-description.d.ts +1 -1
- package/lib/constants/errors/validate-rfc/validate-rfc-error-code.d.ts +4 -1
- package/lib/constants/errors/validate-rfc/validate-rfc-error-description.d.ts +1 -1
- package/lib/constants/errors/validate-signature/validate-signature-error-code.d.ts +2 -1
- package/lib/constants/errors/validate-signature/validate-signature-error-description.d.ts +1 -1
- package/lib/models/configuration/index.d.ts +3 -0
- package/lib/models/configuration/pdf-viewer-fea/index.d.ts +1 -0
- package/lib/models/configuration/pdf-viewer-fea/pdf-viewer-fea.interface.d.ts +9 -0
- package/lib/models/configuration/signature-summary/index.d.ts +1 -0
- package/lib/models/configuration/signature-summary/signature-summary.interface.d.ts +6 -0
- package/lib/models/configuration/upload-e-signature/upload-e-signature-configuration.interface.d.ts +2 -0
- package/lib/models/customization/legends/index.d.ts +3 -0
- package/lib/models/customization/legends/pdf-viewer-fea/index.d.ts +1 -0
- package/lib/models/customization/legends/pdf-viewer-fea/pdf-viewer-fea-legends.interface.d.ts +3 -0
- package/lib/models/customization/legends/signature-summary/index.d.ts +1 -0
- package/lib/models/customization/legends/signature-summary/signature-summary-legends.interface.d.ts +8 -0
- package/lib/models/customization/style/index.d.ts +3 -0
- package/lib/models/customization/style/pdf-viewer-fea/index.d.ts +1 -0
- package/lib/models/customization/style/pdf-viewer-fea/pdf-viewer-fea-style.interface.d.ts +2 -0
- package/lib/models/customization/style/signature-summary/index.d.ts +1 -0
- package/lib/models/customization/style/signature-summary/signature-summary-style.interface.d.ts +2 -0
- package/lib/models/path-dependencies/index.d.ts +3 -0
- package/lib/models/path-dependencies/pdf-viewer-fea/index.d.ts +1 -0
- package/lib/models/path-dependencies/pdf-viewer-fea/pdf-viewer-fea-dependencies.interface.d.ts +9 -0
- package/lib/models/path-dependencies/signature-summary/index.d.ts +1 -0
- package/lib/models/path-dependencies/signature-summary/signature-summary-dependencies.interface.d.ts +7 -0
- package/lib/ng-fad-signature-fea.module.d.ts +10 -8
- package/package.json +3 -3
- package/public-api.d.ts +2 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { DocumentApprovalFea, IDocumentApprovalListConfiguration } from '../../models';
|
|
3
3
|
import { FadService, RequisitionFeaData } from '@fad-producto-portal/ng-fad-services';
|
|
4
|
-
import { GeneralPdfViewerComponent as GeneralPdfViewerComponentModule, IPdfMiniViewConfiguration } from '@fad-producto-portal/ng-fad-viewer';
|
|
5
|
-
import { Subscription } from 'rxjs';
|
|
6
4
|
import { NgFadPdfReaderService, ResponseSuccess } from '@fad-producto/ng-fad-pdf-reader';
|
|
7
5
|
import { ResponseError } from '@fad-producto-portal/ng-fad-shared';
|
|
8
6
|
import * as i0 from "@angular/core";
|
|
@@ -30,17 +28,10 @@ export declare class DocumentApprovalListComponent {
|
|
|
30
28
|
approve: string;
|
|
31
29
|
};
|
|
32
30
|
};
|
|
33
|
-
generalPdfViewerComponent: GeneralPdfViewerComponentModule;
|
|
34
|
-
pdfSrc: string;
|
|
35
|
-
pdfError: Subscription;
|
|
36
|
-
pdfLibrary: Subscription;
|
|
37
|
-
pages: ResponseSuccess[];
|
|
38
|
-
page: number;
|
|
39
|
-
height: string;
|
|
40
|
-
miniView: IPdfMiniViewConfiguration;
|
|
41
31
|
constructor(hostContext: ElementRef, fad: FadService, cdr: ChangeDetectorRef, pdfService: NgFadPdfReaderService);
|
|
42
32
|
ngOnInit(): void;
|
|
43
33
|
getRequisitionsRfc(): void;
|
|
34
|
+
loadSingleDocument(singleDocument: DocumentApprovalFea): void;
|
|
44
35
|
toggleApproval(document: DocumentApprovalFea): void;
|
|
45
36
|
toggleRejection(document: DocumentApprovalFea): void;
|
|
46
37
|
updateApproveAllState(): void;
|
|
@@ -50,12 +41,7 @@ export declare class DocumentApprovalListComponent {
|
|
|
50
41
|
emitApprovedDocuments(): void;
|
|
51
42
|
seeDocumentFea(document: DocumentApprovalFea): void;
|
|
52
43
|
downloadDocumentFea(document: DocumentApprovalFea): void;
|
|
53
|
-
|
|
54
|
-
initializePdf(pdf: string, document: DocumentApprovalFea): void;
|
|
55
|
-
getPages(document: DocumentApprovalFea): void;
|
|
56
|
-
onpagechange(page: number): void;
|
|
57
|
-
scrollToPage(page: number): void;
|
|
58
|
-
onloadpage(data: ResponseSuccess): void;
|
|
44
|
+
getDocumentId(id: string): string;
|
|
59
45
|
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
60
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<DocumentApprovalListComponent, never>;
|
|
61
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<DocumentApprovalListComponent, "ng-fad-signature-fea-document-approval-list", never, { "configuration": { "alias": "configuration"; "required": false; }; "rfc": { "alias": "rfc"; "required": false; }; }, { "onloader": "onloader"; "onevent": "onevent"; "onerror": "onerror"; }, never, never, false, never>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
2
|
+
import { NgFadPdfReaderService, ResponseSuccess } from '@fad-producto/ng-fad-pdf-reader';
|
|
3
|
+
import { GeneralPdfViewerComponent as GeneralPdfViewerComponentModule } from '@fad-producto-portal/ng-fad-viewer';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class PdfViewerFeaComponent {
|
|
6
|
+
private pdfService;
|
|
7
|
+
private cdr;
|
|
8
|
+
configuration: string;
|
|
9
|
+
file: string;
|
|
10
|
+
index: number;
|
|
11
|
+
id: string;
|
|
12
|
+
pages: ResponseSuccess[];
|
|
13
|
+
page: number;
|
|
14
|
+
miniViewConfig: {
|
|
15
|
+
scrollIntoView: boolean;
|
|
16
|
+
};
|
|
17
|
+
height: number;
|
|
18
|
+
generalPdfViewerComponent: GeneralPdfViewerComponentModule;
|
|
19
|
+
constructor(pdfService: NgFadPdfReaderService, cdr: ChangeDetectorRef);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
initializePdf(pdfBase64: string): void;
|
|
22
|
+
onPageChange(page: number): void;
|
|
23
|
+
scrollToPage(page: number): void;
|
|
24
|
+
onLoadPage(data: ResponseSuccess): void;
|
|
25
|
+
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerFeaComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerFeaComponent, "ng-fad-signature-fea-pdf-viewer-fea", never, { "configuration": { "alias": "configuration"; "required": false; }; "file": { "alias": "file"; "required": false; }; "index": { "alias": "index"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
|
+
import { DocumentApprovalFea, ISignatureSummaryConfiguration } from '../../models';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SignatureSummaryComponent {
|
|
5
|
+
private hostContext;
|
|
6
|
+
documentRequest: DocumentApprovalFea[];
|
|
7
|
+
configuration: ISignatureSummaryConfiguration;
|
|
8
|
+
oncomplete: EventEmitter<any>;
|
|
9
|
+
images: {
|
|
10
|
+
reject: string;
|
|
11
|
+
send: string;
|
|
12
|
+
};
|
|
13
|
+
signedCount: number;
|
|
14
|
+
rejectedCount: number;
|
|
15
|
+
isAllDocumentsRejected: boolean;
|
|
16
|
+
currentDate: string;
|
|
17
|
+
id: string;
|
|
18
|
+
pdfsName: string;
|
|
19
|
+
constructor(hostContext: ElementRef);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
setCurrentDate(): void;
|
|
22
|
+
updateDocumentCounts(): void;
|
|
23
|
+
getPdfNames(): void;
|
|
24
|
+
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SignatureSummaryComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SignatureSummaryComponent, "ng-fad-signature-fea-signature-summary", never, { "documentRequest": { "alias": "documentRequest"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; }, { "oncomplete": "oncomplete"; }, never, never, false, never>;
|
|
27
|
+
}
|
|
@@ -42,9 +42,9 @@ export declare class UploadESignatureComponent implements OnInit {
|
|
|
42
42
|
changePaswordInputType(): void;
|
|
43
43
|
savePassword(value: Event): void;
|
|
44
44
|
allIsRejected(): boolean;
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
onSignDocuments(): Promise<void>;
|
|
46
|
+
signDocuments(): Promise<null | UploadESignatureComplete>;
|
|
47
|
+
rejectDocuments(): Promise<boolean>;
|
|
48
48
|
getBase64File(file: File): Promise<string | null>;
|
|
49
49
|
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
50
50
|
static ɵfac: i0.ɵɵFactoryDeclaration<UploadESignatureComponent, never>;
|
|
@@ -11,19 +11,21 @@ export declare class ValidateRfcComponent implements OnInit {
|
|
|
11
11
|
private route;
|
|
12
12
|
private fadService;
|
|
13
13
|
configuration: IValidateRfcConfiguration;
|
|
14
|
+
ticket: string;
|
|
14
15
|
onerror: EventEmitter<ResponseError>;
|
|
15
|
-
|
|
16
|
+
oncomplete: EventEmitter<ResponseData<ValidateRFC>>;
|
|
17
|
+
onloader: EventEmitter<boolean>;
|
|
16
18
|
validationForm: FormGroup;
|
|
17
19
|
showComponent: boolean;
|
|
18
|
-
requisitionId: string;
|
|
19
|
-
signerId: string;
|
|
20
20
|
constructor(fb: FormBuilder, hostContext: ElementRef, route: ActivatedRoute, fadService: FadService);
|
|
21
21
|
ngOnInit(): void;
|
|
22
22
|
initializeForm(): void;
|
|
23
23
|
onSubmit(): void;
|
|
24
24
|
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
25
|
+
validateData(): boolean;
|
|
25
26
|
validateRFC(): void;
|
|
27
|
+
onInputChange(event: any): void;
|
|
26
28
|
get codeControl(): import("@angular/forms").AbstractControl<any, any> | null;
|
|
27
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidateRfcComponent, never>;
|
|
28
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidateRfcComponent, "ng-fad-signature-fea-validate-rfc", never, { "configuration": { "alias": "configuration"; "required": false; }; }, { "onerror": "onerror"; "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidateRfcComponent, "ng-fad-signature-fea-validate-rfc", never, { "configuration": { "alias": "configuration"; "required": false; }; "ticket": { "alias": "ticket"; "required": false; }; }, { "onerror": "onerror"; "oncomplete": "oncomplete"; "onloader": "onloader"; }, never, never, false, never>;
|
|
29
31
|
}
|
|
@@ -6,8 +6,7 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
export declare class ValidateSignatureComponent {
|
|
7
7
|
private fad;
|
|
8
8
|
configuration: IValidateSignatureConfiguration;
|
|
9
|
-
|
|
10
|
-
requisitionId: string;
|
|
9
|
+
ticket: string;
|
|
11
10
|
onloader: EventEmitter<boolean>;
|
|
12
11
|
onerror: EventEmitter<ResponseError>;
|
|
13
12
|
oncomplete: EventEmitter<string>;
|
|
@@ -18,5 +17,5 @@ export declare class ValidateSignatureComponent {
|
|
|
18
17
|
getSignerStatusFea(): void;
|
|
19
18
|
setCustomizationStyle(targetElement?: HTMLElement): void;
|
|
20
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ValidateSignatureComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ValidateSignatureComponent, "ng-fad-signature-fea-validate-signature", never, { "configuration": { "alias": "configuration"; "required": false; }; "
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ValidateSignatureComponent, "ng-fad-signature-fea-validate-signature", never, { "configuration": { "alias": "configuration"; "required": false; }; "ticket": { "alias": "ticket"; "required": false; }; }, { "onloader": "onloader"; "onerror": "onerror"; "oncomplete": "oncomplete"; "onsigned": "onsigned"; }, never, never, false, never>;
|
|
22
21
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer-fea-configuration.const';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { UploadESignatureErrorCode } from "./upload-e-signature-error-code";
|
|
2
|
-
export declare const getUploadESignatureErrorDescription: (code: UploadESignatureErrorCode) => "Service error" | "HTTP error" | "Unknown error" | "Los documentos a procesar son requeridos" | "El formato del archivo seleccionado no es .cer" | "El formato del archivo seleccionado no es .key" | "Solo puedes seleccionar un archivo" | "Error al convertir el archivo a base 64" | "El ID del firmante es requerido" | "El RFC del firmante es requerido";
|
|
2
|
+
export declare const getUploadESignatureErrorDescription: (code: UploadESignatureErrorCode) => "Service error" | "HTTP error" | "Unknown error" | "Los documentos a procesar son requeridos" | "El formato del archivo seleccionado no es .cer" | "El formato del archivo seleccionado no es .key" | "Solo puedes seleccionar un archivo" | "Error al convertir el archivo a base 64" | "El ID del firmante es requerido" | "El RFC del firmante es requerido" | "La contraseña es incorrecta";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ValidateRFCErrorCode } from "./validate-rfc-error-code";
|
|
2
|
-
export declare const getValidateRFCErrorDescription: (code: ValidateRFCErrorCode) => "Service error" | "HTTP error" | "Unknown error";
|
|
2
|
+
export declare const getValidateRFCErrorDescription: (code: ValidateRFCErrorCode) => "Service error" | "HTTP error" | "Unknown error" | "There is not requisitionId" | "There is not signerId" | "There is not Ticket";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ValidateSignatureErrorCode } from "./validate-signature-error-code";
|
|
2
|
-
export declare const getValidateSignatureErrorDescription: (code: ValidateSignatureErrorCode) => "Service error" | "HTTP error" | "Unknown error" | "Requisition ID is required" | "Signer ID is required";
|
|
2
|
+
export declare const getValidateSignatureErrorDescription: (code: ValidateSignatureErrorCode) => "Service error" | "HTTP error" | "Unknown error" | "Requisition ID is required" | "Signer ID is required" | "Ticket is required";
|
|
@@ -2,4 +2,7 @@ export * from './document-approval-list/index';
|
|
|
2
2
|
export * from './generic-error-fea/index';
|
|
3
3
|
export * from './upload-e-signature/index';
|
|
4
4
|
export * from './validate-rfc/index';
|
|
5
|
+
export * from './document-approval-list/index';
|
|
6
|
+
export * from './pdf-viewer-fea/index';
|
|
5
7
|
export * from './validate-signature/index';
|
|
8
|
+
export * from './signature-summary/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer-fea.interface';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IConfiguration } from "@fad-producto-portal/fad-common/models/core";
|
|
2
|
+
import { IPdfViewerFeaLegends, IPdfViewerFeaStyle } from "../../customization";
|
|
3
|
+
import { IPdfViewerFeaDependencies } from "../../path-dependencies";
|
|
4
|
+
import { RenderGeneratorComponent } from "@fad-producto-portal/ng-fad-shared";
|
|
5
|
+
import { IGeneralPdfViewerConfiguration, IPdfMiniViewConfiguration } from "@fad-producto-portal/ng-fad-viewer";
|
|
6
|
+
export interface IPdfViewerFeaConfiguration extends IConfiguration<IPdfViewerFeaLegends, IPdfViewerFeaStyle, IPdfViewerFeaDependencies> {
|
|
7
|
+
pdfMini?: Partial<RenderGeneratorComponent<IPdfMiniViewConfiguration>>;
|
|
8
|
+
pdfGeneral?: Partial<RenderGeneratorComponent<IGeneralPdfViewerConfiguration>>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature-summary.interface';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { IConfiguration } from "@fad-producto-portal/fad-common/models/core";
|
|
2
|
+
import { ISignatureSummaryLegends, ISignatureSummaryStyle } from "../../customization";
|
|
3
|
+
import { ISignatureSummaryDependencies } from "../../path-dependencies";
|
|
4
|
+
export interface ISignatureSummaryConfiguration extends IConfiguration<ISignatureSummaryLegends, ISignatureSummaryStyle, ISignatureSummaryDependencies> {
|
|
5
|
+
dateFormat?: string;
|
|
6
|
+
}
|
package/lib/models/configuration/upload-e-signature/upload-e-signature-configuration.interface.d.ts
CHANGED
|
@@ -2,7 +2,9 @@ import { IConfiguration } from "@fad-producto-portal/fad-common/models/core";
|
|
|
2
2
|
import { IUploadESignatureLegends, IUploadESignatureStyle } from "../../customization";
|
|
3
3
|
import { IUploadESignatureDependencies } from "../../path-dependencies";
|
|
4
4
|
import { FadPortalInterceptor } from "@fad-producto-portal/ng-fad-services";
|
|
5
|
+
import { IFormErrorsConfiguration, RenderGeneratorComponent } from "@fad-producto-portal/ng-fad-shared";
|
|
5
6
|
export interface IUploadESignatureConfiguration extends IConfiguration<IUploadESignatureLegends, IUploadESignatureStyle, IUploadESignatureDependencies> {
|
|
7
|
+
formErrors?: Partial<RenderGeneratorComponent<IFormErrorsConfiguration>>;
|
|
6
8
|
services?: {
|
|
7
9
|
sign?: FadPortalInterceptor;
|
|
8
10
|
reject?: FadPortalInterceptor;
|
|
@@ -2,4 +2,7 @@ export * from './document-approval-list/index';
|
|
|
2
2
|
export * from './generic-error-fea/index';
|
|
3
3
|
export * from './upload-e-signature/index';
|
|
4
4
|
export * from './validate-rfc/index';
|
|
5
|
+
export * from './document-approval-list/index';
|
|
6
|
+
export * from './pdf-viewer-fea/index';
|
|
5
7
|
export * from './validate-signature/index';
|
|
8
|
+
export * from './signature-summary/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer-fea-legends.interface';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature-summary-legends.interface';
|
package/lib/models/customization/legends/signature-summary/signature-summary-legends.interface.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { IModuleCustomizationLegends } from "@fad-producto-portal/fad-common/models/core";
|
|
2
|
+
export interface ISignatureSummaryLegends extends IModuleCustomizationLegends {
|
|
3
|
+
title?: string;
|
|
4
|
+
signed?: string;
|
|
5
|
+
rejected?: string;
|
|
6
|
+
legend?: string;
|
|
7
|
+
documentRejected?: string;
|
|
8
|
+
}
|
|
@@ -2,4 +2,7 @@ export * from './document-approval-list/index';
|
|
|
2
2
|
export * from './generic-error-fea/index';
|
|
3
3
|
export * from './upload-e-signature/index';
|
|
4
4
|
export * from './validate-rfc/index';
|
|
5
|
+
export * from './document-approval-list/index';
|
|
6
|
+
export * from './pdf-viewer-fea/index';
|
|
5
7
|
export * from './validate-signature/index';
|
|
8
|
+
export * from './signature-summary/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer-fea-style.interface';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature-summary-style.interface';
|
|
@@ -2,4 +2,7 @@ export * from './document-approval-list/index';
|
|
|
2
2
|
export * from './generic-error-fea';
|
|
3
3
|
export * from './upload-e-signature/index';
|
|
4
4
|
export * from './validate-rfc/index';
|
|
5
|
+
export * from './document-approval-list/index';
|
|
6
|
+
export * from './pdf-viewer-fea/index';
|
|
5
7
|
export * from './validate-signature/index';
|
|
8
|
+
export * from './signature-summary/index';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './pdf-viewer-fea-dependencies.interface';
|
package/lib/models/path-dependencies/pdf-viewer-fea/pdf-viewer-fea-dependencies.interface.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IPathDependencies } from "@fad-producto-portal/fad-common/models/core";
|
|
2
|
+
export interface IPdfViewerFeaDependencies extends IPathDependencies {
|
|
3
|
+
images?: {
|
|
4
|
+
inactiveReject?: string;
|
|
5
|
+
inactiveApprove?: string;
|
|
6
|
+
activeReject?: string;
|
|
7
|
+
activeApprove?: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './signature-summary-dependencies.interface';
|
|
@@ -2,15 +2,17 @@ import * as i0 from "@angular/core";
|
|
|
2
2
|
import * as i1 from "./components/validate-rfc/validate-rfc.component";
|
|
3
3
|
import * as i2 from "./components/document-approval-list/document-approval-list.component";
|
|
4
4
|
import * as i3 from "./components/upload-e-signature/upload-e-signature.component";
|
|
5
|
-
import * as i4 from "./components/
|
|
6
|
-
import * as i5 from "./components/
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@
|
|
10
|
-
import * as i9 from "@
|
|
11
|
-
import * as i10 from "@fad-producto-portal/ng-fad-
|
|
5
|
+
import * as i4 from "./components/pdf-viewer-fea/pdf-viewer-fea.component";
|
|
6
|
+
import * as i5 from "./components/generic-error-fea/generic-error-fea.component";
|
|
7
|
+
import * as i6 from "./components/validate-signature/validate-signature.component";
|
|
8
|
+
import * as i7 from "./components/signature-summary/signature-summary.component";
|
|
9
|
+
import * as i8 from "@angular/common";
|
|
10
|
+
import * as i9 from "@angular/forms";
|
|
11
|
+
import * as i10 from "@fad-producto-portal/ng-fad-shared";
|
|
12
|
+
import * as i11 from "@fad-producto/ng-fad-image-inline";
|
|
13
|
+
import * as i12 from "@fad-producto-portal/ng-fad-viewer";
|
|
12
14
|
export declare class NgFadSignatureFeaModule {
|
|
13
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<NgFadSignatureFeaModule, never>;
|
|
14
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<NgFadSignatureFeaModule, [typeof i1.ValidateRfcComponent, typeof i2.DocumentApprovalListComponent, typeof i3.UploadESignatureComponent, typeof i4.
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NgFadSignatureFeaModule, [typeof i1.ValidateRfcComponent, typeof i2.DocumentApprovalListComponent, typeof i3.UploadESignatureComponent, typeof i4.PdfViewerFeaComponent, typeof i5.GenericErrorFeaComponent, typeof i6.ValidateSignatureComponent, typeof i7.SignatureSummaryComponent], [typeof i8.CommonModule, typeof i9.ReactiveFormsModule, typeof i10.NgFadSharedModule, typeof i11.NgFadImageInlineModule, typeof i12.NgFadViewerModule], [typeof i1.ValidateRfcComponent, typeof i2.DocumentApprovalListComponent, typeof i3.UploadESignatureComponent, typeof i4.PdfViewerFeaComponent, typeof i5.GenericErrorFeaComponent, typeof i6.ValidateSignatureComponent, typeof i7.SignatureSummaryComponent]>;
|
|
15
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<NgFadSignatureFeaModule>;
|
|
16
18
|
}
|
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fad-producto-portal/ng-fad-signature-fea",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.10",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/common": "^16.2.0",
|
|
6
6
|
"@angular/core": "^16.2.0"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"@fad-producto-portal/fad-common": "1.0.0-alpha.1",
|
|
10
|
-
"@fad-producto-portal/ng-fad-services": "1.0.0-alpha.
|
|
10
|
+
"@fad-producto-portal/ng-fad-services": "1.0.0-alpha.4",
|
|
11
11
|
"@fad-producto-portal/ng-fad-shared": "1.0.0-alpha.0",
|
|
12
12
|
"@fad-producto/ng-fad-image-inline": "2.0.1-ng16-1.0.0",
|
|
13
13
|
"@fad-producto/ng-fad-pdf-reader": "4.0.0-ng16.1714523125742",
|
|
14
|
-
"@fad-producto-portal/ng-fad-viewer": "1.0.0-alpha.
|
|
14
|
+
"@fad-producto-portal/ng-fad-viewer": "1.0.0-alpha.2",
|
|
15
15
|
"tslib": "^2.3.0"
|
|
16
16
|
},
|
|
17
17
|
"sideEffects": false,
|
package/public-api.d.ts
CHANGED
|
@@ -4,5 +4,7 @@ export * from './lib/models/index';
|
|
|
4
4
|
export * from './lib/components/validate-rfc/validate-rfc.component';
|
|
5
5
|
export * from './lib/components/document-approval-list/document-approval-list.component';
|
|
6
6
|
export * from './lib/components/upload-e-signature/upload-e-signature.component';
|
|
7
|
+
export * from './lib/components/pdf-viewer-fea/pdf-viewer-fea.component';
|
|
7
8
|
export * from './lib/components/generic-error-fea/generic-error-fea.component';
|
|
8
9
|
export * from './lib/components/validate-signature/validate-signature.component';
|
|
10
|
+
export * from './lib/components/signature-summary/signature-summary.component';
|