@messaia/cdk 18.1.0-rc13 → 18.1.0-rc15
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/dynamic-table-config-dialog/dynamic-table-config-dialog.comnponent.mjs +1 -1
- package/esm2022/lib/base/components/generic-list.component.mjs +16 -2
- package/esm2022/lib/chips/components/chips.component.mjs +1 -1
- package/esm2022/lib/common/models/audit-entity.mjs +7 -2
- package/esm2022/lib/common/models/base-entity.mjs +8 -2
- package/esm2022/lib/table/components/dynamic-table/dynamic-table.component.mjs +40 -4
- package/esm2022/lib/table/functions/decorators.mjs +2 -1
- package/esm2022/lib/table/models/table-column.mjs +9 -1
- package/esm2022/lib/table/models/table-definition.mjs +9 -1
- package/fesm2022/messaia-cdk.mjs +86 -8
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/base/components/generic-list.component.d.ts +8 -0
- package/lib/table/components/dynamic-table/dynamic-table.component.d.ts +18 -1
- package/lib/table/models/table-column.d.ts +8 -0
- package/lib/table/models/table-definition.d.ts +8 -0
- package/package.json +1 -1
|
@@ -69,6 +69,14 @@ export declare abstract class GenericListComponent<TEntity extends IEntity | any
|
|
|
69
69
|
* columns: TableColumn[]
|
|
70
70
|
*/
|
|
71
71
|
columns: TableColumn[];
|
|
72
|
+
/**
|
|
73
|
+
* Used to display specific columns in the table.
|
|
74
|
+
* This array defines sets of columns that can be shown
|
|
75
|
+
* based on the active configuration, allowing for dynamic table
|
|
76
|
+
* column customization.
|
|
77
|
+
* @property
|
|
78
|
+
*/
|
|
79
|
+
columnSets?: string[];
|
|
72
80
|
/**
|
|
73
81
|
* A reference to MdSort attribute
|
|
74
82
|
*/
|
|
@@ -128,6 +128,23 @@ export declare class VdDynamicTableComponent implements OnInit, AfterViewChecked
|
|
|
128
128
|
* at the top of the viewport when scrolling.
|
|
129
129
|
*/
|
|
130
130
|
stickyFilter: boolean;
|
|
131
|
+
/**
|
|
132
|
+
* Private backing field for the columnSets input property.
|
|
133
|
+
* This field stores the sets of columns to be displayed in the table,
|
|
134
|
+
* enabling control over how the value is accessed or modified through
|
|
135
|
+
* the public getter and setter.
|
|
136
|
+
* @private
|
|
137
|
+
*/
|
|
138
|
+
private _columnSets?;
|
|
139
|
+
/**
|
|
140
|
+
* Used to display specific columns in the table.
|
|
141
|
+
* This array defines sets of columns that can be shown
|
|
142
|
+
* based on the active configuration, allowing for dynamic table
|
|
143
|
+
* column customization.
|
|
144
|
+
* @property
|
|
145
|
+
*/
|
|
146
|
+
get columnSets(): string[] | undefined;
|
|
147
|
+
set columnSets(value: string[] | undefined);
|
|
131
148
|
/**
|
|
132
149
|
* Event emitter for row click events. It emits the clicked row's data whenever a row is clicked.
|
|
133
150
|
*/
|
|
@@ -358,5 +375,5 @@ export declare class VdDynamicTableComponent implements OnInit, AfterViewChecked
|
|
|
358
375
|
*/
|
|
359
376
|
ngAfterViewChecked(): void;
|
|
360
377
|
static ɵfac: i0.ɵɵFactoryDeclaration<VdDynamicTableComponent, never>;
|
|
361
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableComponent, "vd-dynamic-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "data": { "alias": "data"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "debugValue": { "alias": "debugValue"; "required": false; }; "classType": { "alias": "classType"; "required": false; }; "context": { "alias": "context"; "required": false; }; "dataSourceFilter": { "alias": "dataSourceFilter"; "required": false; }; "static": { "alias": "static"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "useFilterOperator": { "alias": "useFilterOperator"; "required": false; }; "paginable": { "alias": "paginable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "stickyFilter": { "alias": "stickyFilter"; "required": false; }; "rowNgClass": { "alias": "rowNgClass"; "required": false; }; "detailsTemplate": { "alias": "detailsTemplate"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "selectAllFilter": { "alias": "selectAllFilter"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowMenuItems": { "alias": "rowMenuItems"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "excludedColumns": { "alias": "excludedColumns"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "rowClick": "rowClick"; }, ["templateRef"], ["[table-footer]"], false, never>;
|
|
378
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<VdDynamicTableComponent, "vd-dynamic-table", never, { "dataSource": { "alias": "dataSource"; "required": false; }; "data": { "alias": "data"; "required": false; }; "formArray": { "alias": "formArray"; "required": false; }; "debugValue": { "alias": "debugValue"; "required": false; }; "classType": { "alias": "classType"; "required": false; }; "context": { "alias": "context"; "required": false; }; "dataSourceFilter": { "alias": "dataSourceFilter"; "required": false; }; "static": { "alias": "static"; "required": false; }; "filterable": { "alias": "filterable"; "required": false; }; "sticky": { "alias": "sticky"; "required": false; }; "tableWidth": { "alias": "tableWidth"; "required": false; }; "useFilterOperator": { "alias": "useFilterOperator"; "required": false; }; "paginable": { "alias": "paginable"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "sortActive": { "alias": "sortActive"; "required": false; }; "sortDirection": { "alias": "sortDirection"; "required": false; }; "stickyHeader": { "alias": "stickyHeader"; "required": false; }; "stickyFilter": { "alias": "stickyFilter"; "required": false; }; "columnSets": { "alias": "columnSets"; "required": false; }; "rowNgClass": { "alias": "rowNgClass"; "required": false; }; "detailsTemplate": { "alias": "detailsTemplate"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "selectAllFilter": { "alias": "selectAllFilter"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "rowMenuItems": { "alias": "rowMenuItems"; "required": false; }; "rowAction": { "alias": "rowAction"; "required": false; }; "excludedColumns": { "alias": "excludedColumns"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, { "rowClick": "rowClick"; }, ["templateRef"], ["[table-footer]"], false, never>;
|
|
362
379
|
}
|
|
@@ -139,6 +139,14 @@ export declare class TableColumn<TEntity = any> {
|
|
|
139
139
|
* @property
|
|
140
140
|
*/
|
|
141
141
|
index?: number;
|
|
142
|
+
/**
|
|
143
|
+
* Used to display specific columns in the table.
|
|
144
|
+
* This array defines sets of columns that can be shown
|
|
145
|
+
* based on the active configuration, allowing for dynamic table
|
|
146
|
+
* column customization.
|
|
147
|
+
* @property
|
|
148
|
+
*/
|
|
149
|
+
columnSets?: string[];
|
|
142
150
|
/**
|
|
143
151
|
* Function to determine the maximum input value.
|
|
144
152
|
* @property
|
|
@@ -92,6 +92,14 @@ export declare class TableDefinition<T = any> {
|
|
|
92
92
|
* Actions can be context-sensitive based on the row data and table context.
|
|
93
93
|
*/
|
|
94
94
|
actions?: ActionItem<T, IGenericListComponent<T>>[];
|
|
95
|
+
/**
|
|
96
|
+
* Used to display specific columns in the table.
|
|
97
|
+
* This array defines sets of columns that can be shown
|
|
98
|
+
* based on the active configuration, allowing for dynamic table
|
|
99
|
+
* column customization.
|
|
100
|
+
* @property
|
|
101
|
+
*/
|
|
102
|
+
columnSets?: string[];
|
|
95
103
|
/**
|
|
96
104
|
* Constructor for initializing the table definition with optional values.
|
|
97
105
|
* Merges the provided initialization object with default properties.
|