ngx-dynamic-entity 1.2.0 → 1.4.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 (87) hide show
  1. package/README.md +15 -1
  2. package/fesm2022/ngx-dynamic-entity.mjs +512 -161
  3. package/fesm2022/ngx-dynamic-entity.mjs.map +1 -1
  4. package/package.json +6 -7
  5. package/types/ngx-dynamic-entity.d.ts +1719 -0
  6. package/esm2022/lib/field-types/array-field.component.mjs +0 -168
  7. package/esm2022/lib/field-types/boolean-field.component.mjs +0 -101
  8. package/esm2022/lib/field-types/checkbox-field.component.mjs +0 -82
  9. package/esm2022/lib/field-types/currency-field.component.mjs +0 -102
  10. package/esm2022/lib/field-types/date-field.component.mjs +0 -91
  11. package/esm2022/lib/field-types/dropdown-field.component.mjs +0 -176
  12. package/esm2022/lib/field-types/email-field.component.mjs +0 -102
  13. package/esm2022/lib/field-types/entity-ref-field.component.mjs +0 -195
  14. package/esm2022/lib/field-types/field-component.contract.mjs +0 -2
  15. package/esm2022/lib/field-types/file-field.component.mjs +0 -157
  16. package/esm2022/lib/field-types/group-field.component.mjs +0 -89
  17. package/esm2022/lib/field-types/image-field.component.mjs +0 -169
  18. package/esm2022/lib/field-types/month-year-field.component.mjs +0 -152
  19. package/esm2022/lib/field-types/multi-select-field.component.mjs +0 -146
  20. package/esm2022/lib/field-types/number-field.component.mjs +0 -112
  21. package/esm2022/lib/field-types/password-field.component.mjs +0 -110
  22. package/esm2022/lib/field-types/radio-field.component.mjs +0 -153
  23. package/esm2022/lib/field-types/text-field.component.mjs +0 -121
  24. package/esm2022/lib/field-types/textarea-field.component.mjs +0 -85
  25. package/esm2022/lib/form/dynamic-field/dynamic-field.component.mjs +0 -151
  26. package/esm2022/lib/form/dynamic-form.component.mjs +0 -890
  27. package/esm2022/lib/form/dynamic-record-form.component.mjs +0 -494
  28. package/esm2022/lib/providers/provide-field-types.mjs +0 -72
  29. package/esm2022/lib/providers/provide-ngx-dynamic-entity.mjs +0 -27
  30. package/esm2022/lib/services/cascade-data.service.mjs +0 -129
  31. package/esm2022/lib/services/config-source.service.mjs +0 -67
  32. package/esm2022/lib/services/entity-ref-cache.mjs +0 -20
  33. package/esm2022/lib/services/entity-ref-registry.service.mjs +0 -31
  34. package/esm2022/lib/services/entity-ref-selection.service.mjs +0 -27
  35. package/esm2022/lib/services/entity-reference.service.mjs +0 -168
  36. package/esm2022/lib/services/field-registry.service.mjs +0 -55
  37. package/esm2022/lib/services/file-upload.service.mjs +0 -89
  38. package/esm2022/lib/services/hook-registry.service.mjs +0 -26
  39. package/esm2022/lib/services/lookup-registry.service.mjs +0 -246
  40. package/esm2022/lib/services/rbac.service.mjs +0 -46
  41. package/esm2022/lib/services/rules-evaluation.service.mjs +0 -27
  42. package/esm2022/lib/services/validation-messages.service.mjs +0 -56
  43. package/esm2022/lib/services/validator-registry.service.mjs +0 -99
  44. package/esm2022/lib/tokens/injection-tokens.mjs +0 -126
  45. package/esm2022/ngx-dynamic-entity.mjs +0 -5
  46. package/esm2022/public-api.mjs +0 -56
  47. package/index.d.ts +0 -5
  48. package/lib/field-types/array-field.component.d.ts +0 -28
  49. package/lib/field-types/boolean-field.component.d.ts +0 -18
  50. package/lib/field-types/checkbox-field.component.d.ts +0 -13
  51. package/lib/field-types/currency-field.component.d.ts +0 -17
  52. package/lib/field-types/date-field.component.d.ts +0 -15
  53. package/lib/field-types/dropdown-field.component.d.ts +0 -34
  54. package/lib/field-types/email-field.component.d.ts +0 -15
  55. package/lib/field-types/entity-ref-field.component.d.ts +0 -49
  56. package/lib/field-types/field-component.contract.d.ts +0 -49
  57. package/lib/field-types/file-field.component.d.ts +0 -25
  58. package/lib/field-types/group-field.component.d.ts +0 -17
  59. package/lib/field-types/image-field.component.d.ts +0 -30
  60. package/lib/field-types/month-year-field.component.d.ts +0 -28
  61. package/lib/field-types/multi-select-field.component.d.ts +0 -27
  62. package/lib/field-types/number-field.component.d.ts +0 -16
  63. package/lib/field-types/password-field.component.d.ts +0 -17
  64. package/lib/field-types/radio-field.component.d.ts +0 -33
  65. package/lib/field-types/text-field.component.d.ts +0 -23
  66. package/lib/field-types/textarea-field.component.d.ts +0 -14
  67. package/lib/form/dynamic-field/dynamic-field.component.d.ts +0 -78
  68. package/lib/form/dynamic-form.component.d.ts +0 -291
  69. package/lib/form/dynamic-record-form.component.d.ts +0 -180
  70. package/lib/providers/provide-field-types.d.ts +0 -24
  71. package/lib/providers/provide-ngx-dynamic-entity.d.ts +0 -56
  72. package/lib/services/cascade-data.service.d.ts +0 -45
  73. package/lib/services/config-source.service.d.ts +0 -14
  74. package/lib/services/entity-ref-cache.d.ts +0 -27
  75. package/lib/services/entity-ref-registry.service.d.ts +0 -21
  76. package/lib/services/entity-ref-selection.service.d.ts +0 -24
  77. package/lib/services/entity-reference.service.d.ts +0 -49
  78. package/lib/services/field-registry.service.d.ts +0 -32
  79. package/lib/services/file-upload.service.d.ts +0 -27
  80. package/lib/services/hook-registry.service.d.ts +0 -12
  81. package/lib/services/lookup-registry.service.d.ts +0 -94
  82. package/lib/services/rbac.service.d.ts +0 -27
  83. package/lib/services/rules-evaluation.service.d.ts +0 -17
  84. package/lib/services/validation-messages.service.d.ts +0 -43
  85. package/lib/services/validator-registry.service.d.ts +0 -32
  86. package/lib/tokens/injection-tokens.d.ts +0 -134
  87. package/public-api.d.ts +0 -40
package/README.md CHANGED
@@ -25,7 +25,7 @@ No Angular Material required. This package has no dependency on Material or the
25
25
  - **`DynamicRecordFormComponent`** — record editor with summary drawer (`showOnMinimize`), profile header, and per-section saving.
26
26
  - **Reactive rules** — real-time condition evaluation driving field/tab visibility, validation errors and warnings, and info banners.
27
27
  - **Entity references & cascades** — consumer-registered loaders, parent→child dropdown filtering, and `autoPatch` record copying.
28
- - **19 field types** — each a standalone component, registered explicitly so unused types are never bundled.
28
+ - **20 field types** — each a standalone component, registered explicitly so unused types are never bundled.
29
29
 
30
30
  ---
31
31
 
@@ -124,6 +124,20 @@ This applies in both directions — `initialData` is read with it and `formSubmi
124
124
 
125
125
  ---
126
126
 
127
+ ## Server-side rendering
128
+
129
+ This package is intended to work under Angular SSR. There is no raw `document` or `window`
130
+ access; `jumpToField` schedules with `afterNextRender`, which does not run on the server.
131
+ CI calls `renderApplication` on the published tarball.
132
+
133
+ This package does not use `NgZone`. It is intended to work under
134
+ `provideZonelessChangeDetection()` on Angular 20+. CI `renderApplication`s a form that
135
+ way, with no `zone.js` installed.
136
+
137
+ The visual builder is a separate package and is not an SSR target.
138
+
139
+ ---
140
+
127
141
  ## 🎨 Styling
128
142
 
129
143
  This package ships no CSS. Field components emit `ngx-field`, `ngx-field__label`, `ngx-field__input`, and `ngx-field__error` for you to style. See `packages/demo-angular/src/styles.css` in the repository for a working reference.