@decaf-ts/ui-decorators 0.4.6 → 0.5.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 (40) hide show
  1. package/README.md +70 -28
  2. package/dist/ui-decorators.cjs +604 -0
  3. package/dist/ui-decorators.esm.cjs +581 -0
  4. package/lib/esm/index.d.ts +1 -1
  5. package/lib/esm/index.js +2 -3
  6. package/lib/esm/model/Renderable.js +1 -2
  7. package/lib/esm/model/decorators.js +1 -2
  8. package/lib/esm/model/index.js +1 -2
  9. package/lib/esm/model/model.js +1 -2
  10. package/lib/esm/model/overrides.js +1 -2
  11. package/lib/esm/ui/Rendering.js +1 -2
  12. package/lib/esm/ui/constants.js +1 -2
  13. package/lib/esm/ui/decorators.js +1 -2
  14. package/lib/esm/ui/errors.js +1 -2
  15. package/lib/esm/ui/index.js +1 -2
  16. package/lib/esm/ui/interfaces.js +1 -2
  17. package/lib/esm/ui/types.js +1 -2
  18. package/lib/esm/ui/utils.d.ts +1 -1
  19. package/lib/esm/ui/utils.js +2 -3
  20. package/lib/index.cjs +2 -1
  21. package/lib/index.d.ts +1 -1
  22. package/lib/model/Renderable.cjs +1 -0
  23. package/lib/model/decorators.cjs +1 -0
  24. package/lib/model/index.cjs +1 -0
  25. package/lib/model/model.cjs +1 -0
  26. package/lib/model/overrides.cjs +1 -0
  27. package/lib/ui/Rendering.cjs +1 -0
  28. package/lib/ui/constants.cjs +1 -0
  29. package/lib/ui/decorators.cjs +1 -0
  30. package/lib/ui/errors.cjs +1 -0
  31. package/lib/ui/index.cjs +1 -0
  32. package/lib/ui/interfaces.cjs +1 -0
  33. package/lib/ui/types.cjs +1 -0
  34. package/lib/ui/utils.cjs +2 -1
  35. package/lib/ui/utils.d.ts +1 -1
  36. package/package.json +36 -38
  37. package/dist/esm/ui-decorators.bundle.min.esm.js +0 -2
  38. package/dist/esm/ui-decorators.bundle.min.esm.js.LICENSE.txt +0 -14
  39. package/dist/ui-decorators.bundle.min.js +0 -2
  40. package/dist/ui-decorators.bundle.min.js.LICENSE.txt +0 -14
package/README.md CHANGED
@@ -1,53 +1,95 @@
1
- [![Build](https://github.com/TiagoVenceslau/ui-decorators/actions/workflows/nodejs-build.yaml/badge.svg)](https://github.com/TiagoVenceslau/ui-decorators)
2
- [![Tests](https://github.com/TiagoVenceslau/ui-decorators/actions/workflows/jest-test.yaml/badge.svg)](https://github.com/TiagoVenceslau/ui-decorators)
3
- ![Alt text](https://raw.github.com/TiagoVenceslau/ui-decorators/master/workdocs/badges/badge-lines.svg?sanitize=true)
4
- ![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/TiagoVenceslau/ui-decorators?style=plastic)
1
+ ![Banner](./workdocs/assets/Banner.png)
5
2
 
6
- ![Licence](https://img.shields.io/github/license/TiagoVenceslau/ui-decorators.svg)
7
- ![GitHub language count](https://img.shields.io/github/languages/count/TiagoVenceslau/ui-decorators?style=plastic)
8
- ![GitHub top language](https://img.shields.io/github/languages/top/TiagoVenceslau/ui-decorators?style=plastic)
9
- [![CodeQL](https://github.com/starnowski/posmulten/workflows/CodeQL/badge.svg)](https://github.com/TiagoVenceslau/ui-decorators/actions?query=workflow%3ACodeQL)
3
+ ## User Interface Decorators
4
+
5
+ Introduces a declarative way to render UI forms
6
+
7
+
8
+
9
+ ![Licence](https://img.shields.io/github/license/decaf-ts/ui-decorators.svg?style=plastic)
10
+ ![GitHub language count](https://img.shields.io/github/languages/count/decaf-ts/ui-decorators?style=plastic)
11
+ ![GitHub top language](https://img.shields.io/github/languages/top/decaf-ts/ui-decorators?style=plastic)
12
+
13
+ [![Build & Test](https://github.com/decaf-ts/ui-decorators/actions/workflows/nodejs-build-prod.yaml/badge.svg)](https://github.com/decaf-ts/ui-decorators/actions/workflows/nodejs-build-prod.yaml)
14
+ [![CodeQL](https://github.com/decaf-ts/ui-decorators/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/decaf-ts/ui-decorators/actions/workflows/codeql-analysis.yml)[![Snyk Analysis](https://github.com/decaf-ts/ui-decorators/actions/workflows/snyk-analysis.yaml/badge.svg)](https://github.com/decaf-ts/ui-decorators/actions/workflows/snyk-analysis.yaml)
15
+ [![Pages builder](https://github.com/decaf-ts/ui-decorators/actions/workflows/pages.yaml/badge.svg)](https://github.com/decaf-ts/ui-decorators/actions/workflows/pages.yaml)
16
+ [![.github/workflows/release-on-tag.yaml](https://github.com/decaf-ts/ui-decorators/actions/workflows/release-on-tag.yaml/badge.svg?event=release)](https://github.com/decaf-ts/ui-decorators/actions/workflows/release-on-tag.yaml)
17
+
18
+ ![Open Issues](https://img.shields.io/github/issues/decaf-ts/ui-decorators.svg)
19
+ ![Closed Issues](https://img.shields.io/github/issues-closed/decaf-ts/ui-decorators.svg)
20
+ ![Pull Requests](https://img.shields.io/github/issues-pr-closed/decaf-ts/ui-decorators.svg)
21
+ ![Maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
22
+
23
+ ![Forks](https://img.shields.io/github/forks/decaf-ts/ui-decorators.svg)
24
+ ![Stars](https://img.shields.io/github/stars/decaf-ts/ui-decorators.svg)
25
+ ![Watchers](https://img.shields.io/github/watchers/decaf-ts/ui-decorators.svg)
10
26
 
11
27
  ![Node Version](https://img.shields.io/badge/dynamic/json.svg?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbadges%2Fshields%2Fmaster%2Fpackage.json&label=Node&query=$.engines.node&colorB=blue)
12
28
  ![NPM Version](https://img.shields.io/badge/dynamic/json.svg?url=https%3A%2F%2Fraw.githubusercontent.com%2Fbadges%2Fshields%2Fmaster%2Fpackage.json&label=NPM&query=$.engines.npm&colorB=purple)
13
29
 
30
+ Documentation available [here](https://decaf-ts.github.io/ui-decorators/)
14
31
 
15
- ## User Interface Decorators
32
+ ### Description
16
33
 
17
34
  Adds a new Decorator ```uielement``` to add UI metadata to the model, that can be later interpreted by different rendering strategies
18
35
 
19
36
  This package will:
20
- - expose the basic api to enable each Model to be rendered according to a 'Rendering Strategy';
37
+ - expose the basic api to enable each Model to be rendered according to a 'Rendering Strategy';
21
38
 
22
39
  Extending this with the ```ui-decorators-web``` package.
23
- - Use an HTML5 rendering strategy
24
- - perform automatic From-end form validation, using native HTML5 APIs, extensible with custom validators and custom errors messages;
40
+ - Use an HTML5 rendering strategy
41
+ - perform automatic From-end form validation, using native HTML5 APIs, extensible with custom validators and custom errors messages;
25
42
 
26
43
 
27
- ![Forks](https://img.shields.io/github/forks/TiagoVenceslau/ui-decorators.svg)
28
- ![Stars](https://img.shields.io/github/stars/TiagoVenceslau/ui-decorators.svg)
29
- ![Watchers](https://img.shields.io/github/watchers/TiagoVenceslau/ui-decorators.svg)
30
44
 
31
- ![Open Issues](https://img.shields.io/github/issues/TiagoVenceslau/ui-decorators.svg)
32
- ![Closed Issues](https://img.shields.io/github/issues-closed/TiagoVenceslau/ui-decorators.svg)
33
- ![Pull Requests](https://img.shields.io/github/issues-pr-closed/TiagoVenceslau/ui-decorators.svg)
34
- ![Maintained](https://img.shields.io/badge/Maintained%3F-yes-green.svg)
35
45
 
36
- [![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=TiagoVenceslau&repo=ui-decorators)](https://github.com/TiagoVenceslau/ui-decorators)
46
+ ### How to Use
47
+
48
+ - [Initial Setup](../../workdocs/tutorials/For%20Developers.md#_initial-setup_)
49
+ - [Installation](../../workdocs/tutorials/For%20Developers.md#installation)
50
+
51
+
37
52
 
38
- ### Related
39
53
 
40
- [![UI Decorators Web](https://github-readme-stats.vercel.app/api/pin/?username=TiagoVenceslau&repo=ui-decorators-web)](https://github.com/TiagoVenceslau/ui-decorators-web)
54
+ ### Related
41
55
 
56
+ [![decaf-ts](https://github-readme-stats.vercel.app/api/pin/?username=decaf-ts&repo=decaf-ts)](https://github.com/decaf-ts/decaf-ts)
57
+ [![decorator-validation](https://github-readme-stats.vercel.app/api/pin/?username=decaf-ts&repo=decorator-validation)](https://github.com/decaf-ts/decorator-validation)
58
+ [![db-decorators](https://github-readme-stats.vercel.app/api/pin/?username=decaf-ts&repo=db-decorators)](https://github.com/decaf-ts/db-decorators)
42
59
 
43
- [![Decorator Validation](https://github-readme-stats.vercel.app/api/pin/?username=TiagoVenceslau&repo=decorator-validation)](https://github.com/TiagoVenceslau/decorator-validation)
44
- [![Database Decorators](https://github-readme-stats.vercel.app/api/pin/?username=TiagoVenceslau&repo=db-decorators)](https://github.com/TiagoVenceslau/db-decorators)
45
- [![DSU Blueprint](https://github-readme-stats.vercel.app/api/pin/?username=TiagoVenceslau&repo=dsu-blueprint)](https://github.com/TiagoVenceslau/dsu-blueprint)
46
60
 
47
61
  ### Social
48
62
 
49
- [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/tiagovenceslau/)
63
+ [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/decaf-ts/)
64
+
65
+
66
+
67
+
68
+ #### Languages
69
+
70
+ ![TypeScript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
71
+ ![JavaScript](https://img.shields.io/badge/JavaScript-F7DF1E?style=for-the-badge&logo=javascript&logoColor=black)
72
+ ![NodeJS](https://img.shields.io/badge/Node.js-43853D?style=for-the-badge&logo=node.js&logoColor=white)
73
+ ![ShellScript](https://img.shields.io/badge/Shell_Script-121011?style=for-the-badge&logo=gnu-bash&logoColor=white)
74
+
75
+ ## Getting help
76
+
77
+ If you have bug reports, questions or suggestions please [create a new issue](https://github.com/decaf-ts/ts-workspace/issues/new/choose).
78
+
79
+ ## Contributing
80
+
81
+ I am grateful for any contributions made to this project. Please read [this](./workdocs/98-Contributing.md) to get started.
82
+
83
+ ## Supporting
84
+
85
+ The first and easiest way you can support it is by [Contributing](./workdocs/98-Contributing.md). Even just finding a typo in the documentation is important.
86
+
87
+ Financial support is always welcome and helps keep both me and the project alive and healthy.
88
+
89
+ So if you can, if this project in any way. either by learning something or simply by helping you save precious time, please consider donating.
90
+
91
+ ## License
50
92
 
51
- #### Disclaimer:
93
+ This project is released under the [MIT License](./LICENSE.md).
52
94
 
53
- badges found [here](https://dev.to/envoy_/150-badges-for-github-pnk), [here](https://github.com/alexandresanlim/Badges4-README.md-Profile#-social-) and [here](https://github.com/Ileriayo/markdown-badges)
95
+ By developers, for developers...