ng-form-foundry 0.5.2 → 0.5.3

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
@@ -439,6 +439,13 @@ declare class DynamicRecursiveFormComponent implements OnInit {
439
439
  readonly showAbsentOptionals: _angular_core.InputSignal<boolean>;
440
440
  /** Invoked with {@link index} to append a new sibling form to a parent list. */
441
441
  readonly addButtonCallback: _angular_core.InputSignal<((index: number) => void) | null>;
442
+ /**
443
+ * Label for the add-sibling button — the parent list names the appended
444
+ * entry ("Add Cell #3"), which this form cannot derive itself (it knows
445
+ * neither the list's label nor its length). Falls back to
446
+ * "Add new <own label>".
447
+ */
448
+ readonly addButtonLabel: _angular_core.InputSignal<string | null>;
442
449
  /**
443
450
  * Key of a presence leaf whose field should grab focus when it renders — lets
444
451
  * a host that added the control itself (e.g. the tree editor's optionals
@@ -569,7 +576,7 @@ declare class DynamicRecursiveFormComponent implements OnInit {
569
576
  protected readonly asFormArray: typeof asFormArray;
570
577
  protected readonly asFormControl: typeof asFormControl;
571
578
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<DynamicRecursiveFormComponent, never>;
572
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicRecursiveFormComponent, "nff-dynamic-recursive-form", never, { "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "initialValue": { "alias": "initialValue"; "required": false; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showAbsentOptionals": { "alias": "showAbsentOptionals"; "required": false; "isSignal": true; }; "addButtonCallback": { "alias": "addButtonCallback"; "required": false; "isSignal": true; }; "focusLeaf": { "alias": "focusLeaf"; "required": false; "isSignal": true; }; "inheritedAppearance": { "alias": "inheritedAppearance"; "required": false; "isSignal": true; }; }, { "remove": "remove"; "editable": "editableChange"; }, never, never, true, never>;
579
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DynamicRecursiveFormComponent, "nff-dynamic-recursive-form", never, { "schema": { "alias": "schema"; "required": true; "isSignal": true; }; "initialValue": { "alias": "initialValue"; "required": false; "isSignal": true; }; "formGroup": { "alias": "formGroup"; "required": false; "isSignal": true; }; "index": { "alias": "index"; "required": false; "isSignal": true; }; "removable": { "alias": "removable"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "editable": { "alias": "editable"; "required": false; "isSignal": true; }; "showAbsentOptionals": { "alias": "showAbsentOptionals"; "required": false; "isSignal": true; }; "addButtonCallback": { "alias": "addButtonCallback"; "required": false; "isSignal": true; }; "addButtonLabel": { "alias": "addButtonLabel"; "required": false; "isSignal": true; }; "focusLeaf": { "alias": "focusLeaf"; "required": false; "isSignal": true; }; "inheritedAppearance": { "alias": "inheritedAppearance"; "required": false; "isSignal": true; }; }, { "remove": "remove"; "editable": "editableChange"; }, never, never, true, never>;
573
580
  }
574
581
 
575
582
  /** Metadata on a list-container node that lets the tree add items to its FormArray. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ng-form-foundry",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "Build fully-typed Angular Reactive Forms and Angular Material UI from a declarative, recursive form-description schema.",
5
5
  "keywords": [
6
6
  "angular",