@decaf-ts/for-angular 0.0.12 → 0.0.13

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 (126) hide show
  1. package/package.json +19 -92
  2. package/LICENSE.md +0 -659
  3. package/dist/for-angular/cli/cli-module.d.ts +0 -22
  4. package/dist/for-angular/cli/cli-module.d.ts.map +0 -1
  5. package/dist/for-angular/cli/cli-module.js +0 -131
  6. package/dist/for-angular/cli/cli-module.js.map +0 -1
  7. package/dist/lib/README.md +0 -92
  8. package/dist/lib/assets/i18n/en.json +0 -140
  9. package/dist/lib/assets/images/angular-logo.svg +0 -45
  10. package/dist/lib/assets/images/decaf-logo-black.svg +0 -22
  11. package/dist/lib/assets/images/decaf-logo-lw.svg +0 -50
  12. package/dist/lib/assets/images/decaf-logo-white.svg +0 -22
  13. package/dist/lib/assets/images/decaf-logo.svg +0 -54
  14. package/dist/lib/components/component-renderer/component-renderer.component.d.ts +0 -277
  15. package/dist/lib/components/component-renderer/component-renderer.component.d.ts.map +0 -1
  16. package/dist/lib/components/crud-field/crud-field.component.d.ts +0 -446
  17. package/dist/lib/components/crud-field/crud-field.component.d.ts.map +0 -1
  18. package/dist/lib/components/crud-form/constants.d.ts +0 -6
  19. package/dist/lib/components/crud-form/constants.d.ts.map +0 -1
  20. package/dist/lib/components/crud-form/crud-form.component.d.ts +0 -103
  21. package/dist/lib/components/crud-form/crud-form.component.d.ts.map +0 -1
  22. package/dist/lib/components/crud-form/types.d.ts +0 -18
  23. package/dist/lib/components/crud-form/types.d.ts.map +0 -1
  24. package/dist/lib/components/empty-state/empty-state.component.d.ts +0 -302
  25. package/dist/lib/components/empty-state/empty-state.component.d.ts.map +0 -1
  26. package/dist/lib/components/fieldset/fieldset.component.d.ts +0 -200
  27. package/dist/lib/components/fieldset/fieldset.component.d.ts.map +0 -1
  28. package/dist/lib/components/filter/filter.component.d.ts +0 -506
  29. package/dist/lib/components/filter/filter.component.d.ts.map +0 -1
  30. package/dist/lib/components/for-angular-components.module.d.ts +0 -21
  31. package/dist/lib/components/for-angular-components.module.d.ts.map +0 -1
  32. package/dist/lib/components/index.d.ts +0 -17
  33. package/dist/lib/components/index.d.ts.map +0 -1
  34. package/dist/lib/components/layout/layout.component.d.ts +0 -134
  35. package/dist/lib/components/layout/layout.component.d.ts.map +0 -1
  36. package/dist/lib/components/list/constants.d.ts +0 -30
  37. package/dist/lib/components/list/constants.d.ts.map +0 -1
  38. package/dist/lib/components/list/list.component.d.ts +0 -850
  39. package/dist/lib/components/list/list.component.d.ts.map +0 -1
  40. package/dist/lib/components/list-item/list-item.component.d.ts +0 -391
  41. package/dist/lib/components/list-item/list-item.component.d.ts.map +0 -1
  42. package/dist/lib/components/model-renderer/model-renderer.component.d.ts +0 -97
  43. package/dist/lib/components/model-renderer/model-renderer.component.d.ts.map +0 -1
  44. package/dist/lib/components/pagination/constants.d.ts +0 -8
  45. package/dist/lib/components/pagination/constants.d.ts.map +0 -1
  46. package/dist/lib/components/pagination/pagination.component.d.ts +0 -265
  47. package/dist/lib/components/pagination/pagination.component.d.ts.map +0 -1
  48. package/dist/lib/components/searchbar/searchbar.component.d.ts +0 -408
  49. package/dist/lib/components/searchbar/searchbar.component.d.ts.map +0 -1
  50. package/dist/lib/decaf-ts-for-angular.d.ts.map +0 -1
  51. package/dist/lib/directives/collapsable.directive.d.ts +0 -9
  52. package/dist/lib/directives/collapsable.directive.d.ts.map +0 -1
  53. package/dist/lib/directives/index.d.ts +0 -2
  54. package/dist/lib/directives/index.d.ts.map +0 -1
  55. package/dist/lib/engine/DynamicModule.d.ts +0 -18
  56. package/dist/lib/engine/DynamicModule.d.ts.map +0 -1
  57. package/dist/lib/engine/NgxBaseComponent.d.ts +0 -542
  58. package/dist/lib/engine/NgxBaseComponent.d.ts.map +0 -1
  59. package/dist/lib/engine/NgxCrudFormField.d.ts +0 -119
  60. package/dist/lib/engine/NgxCrudFormField.d.ts.map +0 -1
  61. package/dist/lib/engine/NgxFormService.d.ts +0 -168
  62. package/dist/lib/engine/NgxFormService.d.ts.map +0 -1
  63. package/dist/lib/engine/NgxRenderingEngine.d.ts +0 -128
  64. package/dist/lib/engine/NgxRenderingEngine.d.ts.map +0 -1
  65. package/dist/lib/engine/NgxRenderingEngine2.d.ts +0 -251
  66. package/dist/lib/engine/NgxRenderingEngine2.d.ts.map +0 -1
  67. package/dist/lib/engine/ValidatorFactory.d.ts +0 -16
  68. package/dist/lib/engine/ValidatorFactory.d.ts.map +0 -1
  69. package/dist/lib/engine/constants.d.ts +0 -152
  70. package/dist/lib/engine/constants.d.ts.map +0 -1
  71. package/dist/lib/engine/decorators.d.ts +0 -26
  72. package/dist/lib/engine/decorators.d.ts.map +0 -1
  73. package/dist/lib/engine/index.d.ts +0 -17
  74. package/dist/lib/engine/index.d.ts.map +0 -1
  75. package/dist/lib/engine/types.d.ts +0 -382
  76. package/dist/lib/engine/types.d.ts.map +0 -1
  77. package/dist/lib/esm2022/components/component-renderer/component-renderer.component.mjs +0 -359
  78. package/dist/lib/esm2022/components/crud-field/crud-field.component.mjs +0 -456
  79. package/dist/lib/esm2022/components/crud-form/constants.mjs +0 -14
  80. package/dist/lib/esm2022/components/crud-form/crud-form.component.mjs +0 -272
  81. package/dist/lib/esm2022/components/crud-form/types.mjs +0 -2
  82. package/dist/lib/esm2022/components/empty-state/empty-state.component.mjs +0 -410
  83. package/dist/lib/esm2022/components/fieldset/fieldset.component.mjs +0 -250
  84. package/dist/lib/esm2022/components/filter/filter.component.mjs +0 -906
  85. package/dist/lib/esm2022/components/for-angular-components.module.mjs +0 -72
  86. package/dist/lib/esm2022/components/index.mjs +0 -20
  87. package/dist/lib/esm2022/components/layout/layout.component.mjs +0 -245
  88. package/dist/lib/esm2022/components/list/constants.mjs +0 -6
  89. package/dist/lib/esm2022/components/list/list.component.mjs +0 -1405
  90. package/dist/lib/esm2022/components/list-item/list-item.component.mjs +0 -612
  91. package/dist/lib/esm2022/components/model-renderer/model-renderer.component.mjs +0 -182
  92. package/dist/lib/esm2022/components/pagination/constants.mjs +0 -2
  93. package/dist/lib/esm2022/components/pagination/pagination.component.mjs +0 -364
  94. package/dist/lib/esm2022/components/searchbar/searchbar.component.mjs +0 -503
  95. package/dist/lib/esm2022/decaf-ts-for-angular.mjs +0 -5
  96. package/dist/lib/esm2022/directives/collapsable.directive.mjs +0 -28
  97. package/dist/lib/esm2022/directives/index.mjs +0 -2
  98. package/dist/lib/esm2022/engine/DynamicModule.mjs +0 -18
  99. package/dist/lib/esm2022/engine/NgxBaseComponent.mjs +0 -546
  100. package/dist/lib/esm2022/engine/NgxCrudFormField.mjs +0 -125
  101. package/dist/lib/esm2022/engine/NgxFormService.mjs +0 -315
  102. package/dist/lib/esm2022/engine/NgxRenderingEngine.mjs +0 -192
  103. package/dist/lib/esm2022/engine/NgxRenderingEngine2.mjs +0 -332
  104. package/dist/lib/esm2022/engine/ValidatorFactory.mjs +0 -102
  105. package/dist/lib/esm2022/engine/constants.mjs +0 -160
  106. package/dist/lib/esm2022/engine/decorators.mjs +0 -38
  107. package/dist/lib/esm2022/engine/index.mjs +0 -17
  108. package/dist/lib/esm2022/engine/types.mjs +0 -4
  109. package/dist/lib/esm2022/for-angular.module.mjs +0 -119
  110. package/dist/lib/esm2022/helpers/index.mjs +0 -13
  111. package/dist/lib/esm2022/helpers/utils.mjs +0 -415
  112. package/dist/lib/esm2022/interfaces.mjs +0 -2
  113. package/dist/lib/esm2022/public-apis.mjs +0 -14
  114. package/dist/lib/fesm2022/decaf-ts-for-angular.mjs +0 -8293
  115. package/dist/lib/fesm2022/decaf-ts-for-angular.mjs.map +0 -1
  116. package/dist/lib/for-angular.module.d.ts +0 -46
  117. package/dist/lib/for-angular.module.d.ts.map +0 -1
  118. package/dist/lib/helpers/index.d.ts +0 -13
  119. package/dist/lib/helpers/index.d.ts.map +0 -1
  120. package/dist/lib/helpers/utils.d.ts +0 -254
  121. package/dist/lib/helpers/utils.d.ts.map +0 -1
  122. package/dist/lib/index.d.ts +0 -6
  123. package/dist/lib/interfaces.d.ts +0 -29
  124. package/dist/lib/interfaces.d.ts.map +0 -1
  125. package/dist/lib/public-apis.d.ts +0 -14
  126. package/dist/lib/public-apis.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,101 +1,11 @@
1
1
  {
2
2
  "name": "@decaf-ts/for-angular",
3
- "version": "0.0.12",
4
- "scripts": {
5
- "ng": "ng",
6
- "decaf": "npx decaf angular generate",
7
- "do-install": "TOKEN=$(cat .token) npm install",
8
- "update-scripts": "npx update-scripts",
9
- "on-first-run": "npx update-scripts --boot",
10
- "set-git-auth": "git config url.\"https://api:$(cat .token)@github.com/\".insteadOf \"https://github.com/\" && git config url.\"https://ssh:$(cat .token)@github.com/\".insteadOf \"ssh://git@github.com/\" && git config url.\"https://git:$(cat .token)@github.com/\".insteadOf \"git@github.com:\"",
11
- "flash-forward": "npx npm-check-updates -u && npm run do-install",
12
- "update-dependencies": "PREFIX=\"decaf-ts\"; npm ls | grep \"$PREFIX\" | awk -F/ '{print $NF}' | sed 's/@.*//' | xargs -I package npm update @\"$PREFIX\"/package && ng cache clean",
13
- "reset": "rm -rf * && git checkout . && git pull && npm run do-install",
14
- "build:prod": "ng build for-angular && ng build for-angular-app",
15
- "build": "ng build for-angular --configuration development && ng build for-angular-app --configuration development && npm run build:cli",
16
- "build:new": "rimraf ./.angular && npm run build",
17
- "build:cli": "tsc --project tsconfig.cli.json --outDir dist/for-angular/cli",
18
- "start": "ng run for-angular-app:serve --host=localhost --port=8110",
19
- "server": "rimraf .angular && npm run lint && npm run start",
20
- "server:pwa": "npm run build && lite-server",
21
- "watch": "ng build for-angular --watch --configuration development",
22
- "test": "npm run test:all",
23
- "test:all": "jest --runInBand --passWithNoTests",
24
- "test:components": "jest --runInBand --passWithNoTests src/lib/components",
25
- "test:services": "jest --runInBand --passWithNoTests src/lib/services",
26
- "lint": "ng lint for-angular",
27
- "lint-fix": "ng lint --fix for-angular",
28
- "coverage": "rimraf ./workdocs/reports/data/*.json && npm run test:all -- --coverage --config=./workdocs/reports/jest.coverage.config.ts",
29
- "prepare-release": "npm run lint-fix && npm run build:prod && npm run coverage && npm run docs",
30
- "release": "./bin/tag-release.sh",
31
- "clean-publish": "npx clean-publish",
32
- "drawings": "for FILE in workdocs/drawings/*.drawio; do echo \"converting $FILE to image...\" && docker run --rm -v $(pwd):/data rlespinasse/drawio-export --format png $FILE; done && cp -rf workdocs/drawings/export/* workdocs/resources/",
33
- "uml": "cd workdocs/uml && for FILE in ./*.puml; do docker run --rm -v $(pwd):/work -w /work miy4/plantuml -DPLANTUML_LIMIT_SIZE=8192 -tpng $FILE; done && cd ../.. && cp -fr workdocs/uml/*.png workdocs/resources/",
34
- "docs": "npx rimraf ./docs && mkdir docs && npx build-scripts --docs",
35
- "publish-docs": "docker run -it --rm --user $(id -u):$(id -g) -v \"$(pwd)/workdocs/confluence:/content\" -e ATLASSIAN_API_TOKEN=$(cat .confluence-token) ghcr.io/markdown-confluence/publish:latest",
36
- "storybook": "ng run for-angular:storybook",
37
- "storybook:build": "ng run for-angular:build-storybook",
38
- "playwright": "npx playwright test --config=./playwright.config.ts",
39
- "playwright-ui": "npx playwright test --config=./playwright.config.ts --ui",
40
- "playwright-setup": "npm init playwright@latest",
41
- "link": "npm run unlink && npm run build:new && cd dist && npm link && npm ls -g --depth=0 --link=true",
42
- "unlink": "npm rm --global @decaf-ts/for-angular && npm ls -g --depth=0 --link=true",
43
- "publish": "NPM_TOKEN=$(cat .npmtoken) npm publish --access public"
44
- },
3
+ "version": "0.0.13",
45
4
  "files": [
46
5
  "dist"
47
6
  ],
48
7
  "author": "Tiago Venceslau",
49
8
  "license": "AGPL-3.0-or-later",
50
- "devDependencies": {
51
- "@angular-devkit/build-angular": "^18.2.12",
52
- "@angular-devkit/core": "^19.2.8",
53
- "@angular-devkit/schematics": "^18.2.18",
54
- "@angular-eslint/schematics": "^20.1.1",
55
- "@angular/cli": "^18.2.12",
56
- "@angular/compiler-cli": "^18.2.13",
57
- "@decaf-ts/utils": "^0.2.6",
58
- "@faker-js/faker": "^9.7.0",
59
- "@ionic/angular-toolkit": "^12.1.1",
60
- "@playwright/test": "^1.54.1",
61
- "@rollup/plugin-commonjs": "^28.0.3",
62
- "@rollup/plugin-json": "^6.1.0",
63
- "@rollup/plugin-node-resolve": "^16.0.1",
64
- "@rollup/plugin-typescript": "^12.1.2",
65
- "@schematics/angular": "^19.2.8",
66
- "@storybook/addon-essentials": "^8.6.14",
67
- "@storybook/addon-interactions": "^8.6.14",
68
- "@storybook/addon-onboarding": "^8.6.14",
69
- "@storybook/angular": "^8.6.14",
70
- "@storybook/blocks": "^8.6.14",
71
- "@storybook/test": "^8.6.14",
72
- "@types/ffmpeg-static": "^3.0.3",
73
- "@types/jest": "^30.0.0",
74
- "@types/node": "^22.15.24",
75
- "angular-eslint": "20.1.1",
76
- "commander": "^13.1.0",
77
- "dpdm": "^3.14.0",
78
- "eslint": "^9.29.0",
79
- "eslint-plugin-storybook": "^0.12.0",
80
- "ffmpeg-static": "^5.2.0",
81
- "jest": "^29.7.0",
82
- "jest-html-reporters": "^3.1.7",
83
- "jest-junit": "^16.0.0",
84
- "jest-preset-angular": "^14.6.0",
85
- "jsdoc": "^4.0.3",
86
- "jsdoc-mermaid": "^1.0.0",
87
- "lite-server": "^2.6.1",
88
- "markdown-include": "^0.4.3",
89
- "ng-packagr": "^18.2.1",
90
- "npm-check-updates": "^17.1.4",
91
- "rimraf": "^6.0.1",
92
- "rollup": "^4.40.0",
93
- "storybook": "^8.6.14",
94
- "ts-node": "^10.9.2",
95
- "tslib": "^2.3.0",
96
- "typescript": "~5.5.2",
97
- "typescript-eslint": "8.34.1"
98
- },
99
9
  "peerDependencies": {
100
10
  "@angular/animations": "^18.2.13",
101
11
  "@angular/common": "^18.2.13",
@@ -127,5 +37,22 @@
127
37
  "extends": [
128
38
  "plugin:storybook/recommended"
129
39
  ]
40
+ },
41
+ "module": "fesm2022/decaf-ts-for-angular.mjs",
42
+ "typings": "index.d.ts",
43
+ "exports": {
44
+ "./package.json": {
45
+ "default": "./package.json"
46
+ },
47
+ ".": {
48
+ "types": "./index.d.ts",
49
+ "esm2022": "./esm2022/decaf-ts-for-angular.mjs",
50
+ "esm": "./esm2022/decaf-ts-for-angular.mjs",
51
+ "default": "./fesm2022/decaf-ts-for-angular.mjs"
52
+ }
53
+ },
54
+ "sideEffects": false,
55
+ "dependencies": {
56
+ "tslib": "^2.3.0"
130
57
  }
131
- }
58
+ }