@praxisui/dynamic-fields 9.0.0-beta.54 → 9.0.0-beta.55

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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "schemaVersion": "1.0.0",
3
- "generatedAt": "2026-07-08T21:38:45.010Z",
3
+ "generatedAt": "2026-07-08T22:08:16.337Z",
4
4
  "packageName": "@praxisui/dynamic-fields",
5
- "packageVersion": "9.0.0-beta.54",
5
+ "packageVersion": "9.0.0-beta.55",
6
6
  "sourceRegistry": "praxis-component-registry-ingestion",
7
7
  "sourceRegistryVersion": "1.0.0",
8
8
  "componentCount": 76,
@@ -11914,6 +11914,21 @@ class DynamicFieldLoaderDirective {
11914
11914
  }
11915
11915
  });
11916
11916
  }
11917
+ refreshGlobalStates(states = {}) {
11918
+ if ('readonlyMode' in states) {
11919
+ this.readonlyMode = states.readonlyMode ?? null;
11920
+ }
11921
+ if ('disabledMode' in states) {
11922
+ this.disabledMode = states.disabledMode ?? null;
11923
+ }
11924
+ if ('presentationMode' in states) {
11925
+ this.presentationMode = states.presentationMode ?? null;
11926
+ }
11927
+ if ('visible' in states) {
11928
+ this.visible = states.visible ?? null;
11929
+ }
11930
+ this.applyGlobalStates();
11931
+ }
11917
11932
  applyShellEffectiveStatesToComponent(instance, shell) {
11918
11933
  if (!instance || !shell) {
11919
11934
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-fields",
3
- "version": "9.0.0-beta.54",
3
+ "version": "9.0.0-beta.55",
4
4
  "description": "Angular Material-based dynamic form fields for Praxis UI with lazy loading and metadata-driven rendering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.0.0",
@@ -11,8 +11,8 @@
11
11
  "@angular/platform-browser": "^21.0.0",
12
12
  "@angular/router": "^21.0.0",
13
13
  "rxjs": "^7.8.0",
14
- "@praxisui/core": "^9.0.0-beta.54",
15
- "@praxisui/cron-builder": "^9.0.0-beta.54"
14
+ "@praxisui/core": "^9.0.0-beta.55",
15
+ "@praxisui/cron-builder": "^9.0.0-beta.55"
16
16
  },
17
17
  "dependencies": {
18
18
  "libphonenumber-js": "^1.12.41",
@@ -1712,6 +1712,12 @@ declare class DynamicFieldLoaderDirective implements OnInit, OnDestroy, OnChange
1712
1712
  * Aplica os estados globais aos shells já criados, sem re-render completo.
1713
1713
  */
1714
1714
  private applyGlobalStates;
1715
+ refreshGlobalStates(states?: {
1716
+ readonlyMode?: boolean | null;
1717
+ disabledMode?: boolean | null;
1718
+ presentationMode?: boolean | null;
1719
+ visible?: boolean | null;
1720
+ }): void;
1715
1721
  private applyShellEffectiveStatesToComponent;
1716
1722
  /**
1717
1723
  * Tenta inferir o controlType a partir do próprio field.