@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.
- package/esm2022/lib/base/components/generic-form-base.component.mjs +2 -2
- package/esm2022/lib/forms/components/generic-form/generic-form.component.mjs +3 -3
- package/esm2022/lib/forms/functions/decorators.mjs +3 -5
- package/esm2022/lib/forms/functions/functions.mjs +7 -4
- package/esm2022/lib/forms/models/form-field-group-definition.mjs +5 -2
- package/esm2022/lib/table/components/dynamic-table/dynamic-table.component.mjs +11 -3
- package/esm2022/lib/table/models/table-column-config.mjs +2 -2
- package/esm2022/lib/table/models/table-column.mjs +1 -1
- package/fesm2022/messaia-cdk.mjs +26 -14
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/forms/functions/functions.d.ts +2 -1
- package/lib/forms/models/form-field-group-definition.d.ts +4 -0
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +6 -0
- package/lib/table/models/table-column-config.d.ts +1 -1
- package/lib/table/models/table-column.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
@@ -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
|