@praxisui/dynamic-form 1.0.0-beta.3 → 1.0.0-beta.30

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.
package/index.d.ts CHANGED
@@ -399,6 +399,10 @@ declare class PraxisDynamicForm implements OnInit, OnChanges, OnDestroy {
399
399
  disabledModeGlobal: boolean | null;
400
400
  presentationModeGlobal: boolean | null;
401
401
  visibleGlobal: boolean | null;
402
+ get effectivePresentation(): boolean;
403
+ get effectiveReadonly(): boolean;
404
+ /** Value propagated to DynamicFieldLoader; null allows per-field metadata */
405
+ get presentationForLoader(): boolean | null;
402
406
  /** Custom endpoints for CRUD operations */
403
407
  private _customEndpoints;
404
408
  get customEndpoints(): EndpointConfig;
@@ -727,6 +731,8 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
727
731
  labelAlign?: 'start' | 'center' | 'end';
728
732
  valueAlign?: 'start' | 'center' | 'end';
729
733
  };
734
+ /** Ensure hints object exists (normalized upstream) */
735
+ private ensureHints;
730
736
  schemaPrefs: {
731
737
  notifyIfOutdated: 'inline' | 'snackbar' | 'both' | 'none';
732
738
  snoozeMs: number;
@@ -742,7 +748,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
742
748
  constructor(storage: ConfigStorage, configService: FormConfigService, injectedData?: any);
743
749
  ngOnInit(): void;
744
750
  reset(): void;
745
- private updateDirtyState;
751
+ updateDirtyState(reason?: string): void;
746
752
  getSettingsValue(): any;
747
753
  onSave(): any;
748
754
  onJsonConfigChange(newConfig: FormConfig): void;
@@ -756,6 +762,7 @@ declare class PraxisDynamicFormConfigEditor implements SettingsValueProvider, On
756
762
  ngOnDestroy(): void;
757
763
  onCascadeApply(patch: Record<string, Partial<FieldDefinition>>): void;
758
764
  private stripLegacy;
765
+ restoreHintsDefaults(): void;
759
766
  static ɵfac: i0.ɵɵFactoryDeclaration<PraxisDynamicFormConfigEditor, [null, null, { optional: true; }]>;
760
767
  static ɵcmp: i0.ɵɵComponentDeclaration<PraxisDynamicFormConfigEditor, "praxis-dynamic-form-config-editor", never, {}, {}, never, never, true, never>;
761
768
  }
@@ -987,6 +994,9 @@ declare class CanvasToolbarComponent {
987
994
  selectPath: EventEmitter<CanvasPathPart>;
988
995
  /** Emite quando o usuário solicita fechar a toolbar (ESC). */
989
996
  requestClose: EventEmitter<void>;
997
+ /** Estado interno para animar o fechamento. */
998
+ closing: boolean;
999
+ private readonly closeAnimMs;
990
1000
  toggleReadonly: EventEmitter<void>;
991
1001
  toggleRequired: EventEmitter<void>;
992
1002
  toggleHidden: EventEmitter<void>;
@@ -1000,8 +1010,10 @@ declare class CanvasToolbarComponent {
1000
1010
  get requiredIcon(): string;
1001
1011
  get visibilityIcon(): string;
1002
1012
  get disabledIcon(): string;
1003
- /** Fecha a toolbar com a tecla ESC quando o componente está visível. */
1013
+ /** Fecha a toolbar com a tecla ESC quando o componente está visível (com animação). */
1004
1014
  onGlobalKeydown(ev: KeyboardEvent): void;
1015
+ /** Inicia animação de saída e emite o evento ao final. */
1016
+ triggerClose(): void;
1005
1017
  static ɵfac: i0.ɵɵFactoryDeclaration<CanvasToolbarComponent, never>;
1006
1018
  static ɵcmp: i0.ɵɵComponentDeclaration<CanvasToolbarComponent, "praxis-canvas-toolbar", never, { "selectedElement": { "alias": "selectedElement"; "required": false; }; }, { "editMetadata": "editMetadata"; "delete": "delete"; "moveUp": "moveUp"; "moveDown": "moveDown"; "selectPath": "selectPath"; "requestClose": "requestClose"; "toggleReadonly": "toggleReadonly"; "toggleRequired": "toggleRequired"; "toggleHidden": "toggleHidden"; "toggleDisabled": "toggleDisabled"; }, never, never, true, never>;
1007
1019
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@praxisui/dynamic-form",
3
- "version": "1.0.0-beta.3",
3
+ "version": "1.0.0-beta.30",
4
4
  "description": "Angular dynamic form engine for Praxis UI: metadata-driven forms, hooks, and services integrating @praxisui/* packages.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
7
7
  "@angular/core": "^20.0.0",
8
8
  "@angular/cdk": "^20.0.0",
9
- "@praxisui/settings-panel": "^1.0.0-beta.3",
10
- "@praxisui/visual-builder": "^1.0.0-beta.3",
11
- "@praxisui/specification-core": "^1.0.0-beta.3",
12
- "@praxisui/specification": "^1.0.0-beta.3",
13
- "@praxisui/core": "^1.0.0-beta.3",
14
- "@praxisui/cron-builder": "^1.0.0-beta.3"
9
+ "@praxisui/settings-panel": "^1.0.0-beta.30",
10
+ "@praxisui/visual-builder": "^1.0.0-beta.30",
11
+ "@praxisui/specification-core": "^1.0.0-beta.30",
12
+ "@praxisui/specification": "^1.0.0-beta.30",
13
+ "@praxisui/core": "^1.0.0-beta.30",
14
+ "@praxisui/cron-builder": "^1.0.0-beta.30"
15
15
  },
16
16
  "dependencies": {
17
17
  "tslib": "^2.3.0",
@@ -23,11 +23,11 @@
23
23
  },
24
24
  "repository": {
25
25
  "type": "git",
26
- "url": "https://github.com/codexrodrigues/praxis"
26
+ "url": "https://github.com/codexrodrigues/praxis-ui-angular"
27
27
  },
28
- "homepage": "https://github.com/codexrodrigues/praxis#readme",
28
+ "homepage": "https://github.com/codexrodrigues/praxis-ui-angular#readme",
29
29
  "bugs": {
30
- "url": "https://github.com/codexrodrigues/praxis/issues"
30
+ "url": "https://github.com/codexrodrigues/praxis-ui-angular/issues"
31
31
  },
32
32
  "keywords": [
33
33
  "angular",