@decaf-ts/for-angular 0.0.26 → 0.0.27
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
|
@@ -1684,7 +1684,6 @@ declare class NgxFormService {
|
|
|
1684
1684
|
* @memberOf NgxFormService
|
|
1685
1685
|
*/
|
|
1686
1686
|
private static formRegistry;
|
|
1687
|
-
private static pageMapper;
|
|
1688
1687
|
/**
|
|
1689
1688
|
* @description Creates a new form group or form array with the specified identifier.
|
|
1690
1689
|
* @summary Generates a FormGroup or FormArray based on the provided properties. If pages are specified
|
|
@@ -6868,6 +6867,20 @@ declare class SteppedFormComponent implements OnInit, OnDestroy {
|
|
|
6868
6867
|
* @memberOf SteppedFormComponent
|
|
6869
6868
|
*/
|
|
6870
6869
|
pages: number;
|
|
6870
|
+
/**
|
|
6871
|
+
* List of titles and descriptions for each page of the stepped form.
|
|
6872
|
+
* Each object in the array represents a page, containing a title and a description.
|
|
6873
|
+
*
|
|
6874
|
+
* @example
|
|
6875
|
+
* pageTitles = [
|
|
6876
|
+
* { title: 'Personal Information', description: 'Fill in your personal details.' },
|
|
6877
|
+
* { title: 'Address', description: 'Provide your residential address.' }
|
|
6878
|
+
* ];
|
|
6879
|
+
*/
|
|
6880
|
+
pageTitles: {
|
|
6881
|
+
title: string;
|
|
6882
|
+
description: string;
|
|
6883
|
+
}[];
|
|
6871
6884
|
/**
|
|
6872
6885
|
* @description The CRUD operation type for this form.
|
|
6873
6886
|
* @summary Defines the type of operation being performed (CREATE, READ, UPDATE, DELETE).
|
|
@@ -6994,7 +7007,6 @@ declare class SteppedFormComponent implements OnInit, OnDestroy {
|
|
|
6994
7007
|
*
|
|
6995
7008
|
* A->>S: ngOnInit()
|
|
6996
7009
|
* S->>S: Set activePage = startPage
|
|
6997
|
-
* S->>S: Process children into pagesArray
|
|
6998
7010
|
* S->>S: Calculate total pages
|
|
6999
7011
|
* S->>S: Assign page props to children
|
|
7000
7012
|
* S->>S: getCurrentFormGroup(activePage)
|
|
@@ -7091,7 +7103,7 @@ declare class SteppedFormComponent implements OnInit, OnDestroy {
|
|
|
7091
7103
|
*/
|
|
7092
7104
|
private getCurrentFormGroup;
|
|
7093
7105
|
static ɵfac: i0.ɵɵFactoryDeclaration<SteppedFormComponent, never>;
|
|
7094
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SteppedFormComponent, "ngx-decaf-stepped-form", never, { "locale": { "alias": "locale"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "operation": { "alias": "operation"; "required": false; }; "startPage": { "alias": "startPage"; "required": false; }; "children": { "alias": "children"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
7106
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SteppedFormComponent, "ngx-decaf-stepped-form", never, { "locale": { "alias": "locale"; "required": false; }; "pages": { "alias": "pages"; "required": false; }; "pageTitles": { "alias": "pageTitles"; "required": false; }; "operation": { "alias": "operation"; "required": false; }; "startPage": { "alias": "startPage"; "required": false; }; "children": { "alias": "children"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; }, { "submitEvent": "submitEvent"; }, never, never, true, never>;
|
|
7095
7107
|
}
|
|
7096
7108
|
|
|
7097
7109
|
declare class CollapsableDirective implements OnInit {
|
package/package.json
CHANGED