@messaia/cdk 17.0.8 → 17.1.0-rc02

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,3 +1,4 @@
1
+ import { Type } from "@angular/core";
1
2
  import { FormDefinition } from "../models/form-definition";
2
3
  import { FormFieldGroupDefinition } from "../models/form-field-group-definition";
3
4
  /**
@@ -11,4 +12,4 @@ export declare function getFormDefinition(origin?: object): FormDefinition;
11
12
  * @param origin
12
13
  * @returns
13
14
  */
14
- export declare function getFormGroups(origin?: object): FormFieldGroupDefinition[];
15
+ export declare function getFormGroups<T = any>(origin?: object, type?: Type<T>, args?: Partial<FormFieldGroupDefinition<T>>): FormFieldGroupDefinition[];
@@ -37,6 +37,10 @@ export declare class FormFieldGroupDefinition<T = any> {
37
37
  * Instance of an object associated with the form field group.
38
38
  */
39
39
  instance?: object;
40
+ /**
41
+ * Indicates whether the form field group is hidden.
42
+ */
43
+ hidden?: boolean;
40
44
  /**
41
45
  * Constructor for the FormFieldGroupDefinition class.
42
46
  * @param init - Optional partial data to initialize the form field group.
@@ -224,6 +224,12 @@ export declare class VdDynamicTableComponent implements OnInit, AfterViewChecked
224
224
  * @param item
225
225
  */
226
226
  trackBy(index: number, item: any): string;
227
+ /**
228
+ * A function to to compute the identity of items in an iterable.
229
+ * @param index
230
+ * @param item
231
+ */
232
+ columnsTrackBy(index: number, item: any): string;
227
233
  /**
228
234
  * Handles row click event
229
235
  * @param index
@@ -7,7 +7,7 @@ export declare class TableColumnConfig {
7
7
  /**
8
8
  * @property
9
9
  */
10
- header?: string;
10
+ header?: any;
11
11
  /**
12
12
  * @property
13
13
  */
@@ -103,7 +103,7 @@ export declare class TableColumn<TEntity = any> {
103
103
  * The header text for the column.
104
104
  * @property
105
105
  */
106
- header?: string;
106
+ header?: ((ctx?: IGenericListComponent<TEntity>) => string) | string;
107
107
  /**
108
108
  * Indicates whether the column is hidden.
109
109
  * @property
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "17.0.8",
3
+ "version": "17.1.0-rc02",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^17.0.8",
6
6
  "@angular/core": "^17.0.8"