@fad-producto-portal/ng-fad-signature-fea 1.0.0-alpha.9 → 1.0.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.
Files changed (33) hide show
  1. package/README.md +51 -13
  2. package/USAGE_GUIDE.md +716 -0
  3. package/assets/images/fad-signature-fea/signature-summary/rejected.svg +19 -19
  4. package/assets/images/fad-signature-fea/signature-summary/send.svg +10 -10
  5. package/esm2022/lib/components/document-approval-list/document-approval-list.component.mjs +13 -13
  6. package/esm2022/lib/components/generic-error-fea/generic-error-fea.component.mjs +8 -4
  7. package/esm2022/lib/components/pdf-viewer-fea/pdf-viewer-fea.component.mjs +8 -5
  8. package/esm2022/lib/components/signature-summary/signature-summary.component.mjs +8 -4
  9. package/esm2022/lib/components/upload-e-signature/upload-e-signature.component.mjs +14 -12
  10. package/esm2022/lib/components/validate-rfc/validate-rfc.component.mjs +14 -19
  11. package/esm2022/lib/components/validate-signature/validate-signature.component.mjs +11 -14
  12. package/esm2022/lib/constants/errors/validate-rfc/validate-rfc-error-code.mjs +2 -1
  13. package/esm2022/lib/constants/errors/validate-rfc/validate-rfc-error-description.mjs +3 -1
  14. package/esm2022/lib/constants/errors/validate-signature/validate-signature-error-code.mjs +2 -1
  15. package/esm2022/lib/constants/errors/validate-signature/validate-signature-error-description.mjs +4 -2
  16. package/esm2022/public-api.mjs +1 -2
  17. package/fesm2022/fad-producto-portal-ng-fad-signature-fea.mjs +144 -193
  18. package/fesm2022/fad-producto-portal-ng-fad-signature-fea.mjs.map +1 -1
  19. package/lib/components/document-approval-list/document-approval-list.component.d.ts +2 -5
  20. package/lib/components/generic-error-fea/generic-error-fea.component.d.ts +1 -1
  21. package/lib/components/pdf-viewer-fea/pdf-viewer-fea.component.d.ts +1 -1
  22. package/lib/components/signature-summary/signature-summary.component.d.ts +1 -1
  23. package/lib/components/upload-e-signature/upload-e-signature.component.d.ts +1 -1
  24. package/lib/components/validate-rfc/validate-rfc.component.d.ts +2 -3
  25. package/lib/components/validate-signature/validate-signature.component.d.ts +2 -3
  26. package/lib/constants/errors/validate-rfc/validate-rfc-error-code.d.ts +2 -1
  27. package/lib/constants/errors/validate-rfc/validate-rfc-error-description.d.ts +1 -1
  28. package/lib/constants/errors/validate-signature/validate-signature-error-code.d.ts +2 -1
  29. package/lib/constants/errors/validate-signature/validate-signature-error-description.d.ts +1 -1
  30. package/package.json +7 -8
  31. package/public-api.d.ts +0 -1
  32. package/esm2022/lib/ng-fad-signature-fea.module.mjs +0 -71
  33. package/lib/ng-fad-signature-fea.module.d.ts +0 -18
package/README.md CHANGED
@@ -1,24 +1,62 @@
1
- # NgFadSignatureFea
1
+ # @fad-producto-portal/ng-fad-signature-fea
2
2
 
3
- This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 16.2.0.
3
+ ## Introduction
4
4
 
5
- ## Code scaffolding
5
+ The `@fad-producto-portal/ng-fad-signature-fea` package provides a set of standalone Angular components designed to handle **digital signing flows** within the FAD Portal.
6
6
 
7
- Run `ng generate component component-name --project ng-fad-signature-fea` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project ng-fad-signature-fea`.
8
- > Note: Don't forget to add `--project ng-fad-signature-fea` or else it will be added to the default project in your `angular.json` file.
7
+ These components are built to work independently or integrated with other FAD modules, offering high customization via configuration inputs and visual flexibility.
8
+ The module includes approval lists, PDF viewers, error handling, signature summaries, RFC validations, and electronic signature uploads.
9
9
 
10
- ## Build
10
+ ## Prerequisites
11
11
 
12
- Run `ng build ng-fad-signature-fea` to build the project. The build artifacts will be stored in the `dist/` directory.
12
+ Before installing this package, make sure you:
13
13
 
14
- ## Publishing
14
+ - Have a valid token to install private FAD modules.
15
+ - Are using Angular 16 or higher configured in your workspace.
16
+ - Have access to the private GitLab repository of FAD libraries.
15
17
 
16
- After building your library with `ng build ng-fad-signature-fea`, go to the dist folder `cd dist/ng-fad-signature-fea` and run `npm publish`.
18
+ ### Install peer-dependencies
17
19
 
18
- ## Running unit tests
20
+ ```bash
21
+ npm install timers@0.1.1 hls.js@1.5.18 @fad-producto-portal/ng-fad-services@^1.0.0
22
+ ```
19
23
 
20
- Run `ng test ng-fad-signature-fea` to execute the unit tests via [Karma](https://karma-runner.github.io).
24
+ |Library |Version|
25
+ |--------------------------------------|-------|
26
+ |timers |0.1.1 |
27
+ |hls.js |1.5.18 |
28
+ |@fad-producto-portal/ng-fad-services |1.x.x |
21
29
 
22
- ## Further help
30
+ ## Installation
23
31
 
24
- To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
32
+ Install the package with the following command:
33
+
34
+ ```bash
35
+ npm install @fad-producto-portal/ng-fad-signature-fea
36
+ ```
37
+
38
+ ## Assets
39
+
40
+ Add the following to your `angular.json` to include the necessary assets:
41
+
42
+ ```json
43
+ {
44
+ "glob": "**/*",
45
+ "input": "node_modules/@fad-producto-portal/ng-fad-signature-fea/assets",
46
+ "output": "./assets/"
47
+ }
48
+ ```
49
+
50
+ ## Additional Documentation
51
+
52
+ To explore the full list of components, configurations, and usage examples:
53
+
54
+ ```bash
55
+ code node_modules/@fad-producto-portal/ng-fad-signature-fea/USAGE_GUIDE.md
56
+ ```
57
+
58
+ Or navigate to:
59
+
60
+ ```
61
+ node_modules/@fad-producto-portal/ng-fad-signature-fea/USAGE_GUIDE.md
62
+ ```