@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.
@@ -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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messaia/cdk",
3
- "version": "18.1.0-rc13",
3
+ "version": "18.1.0-rc15",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.7",
6
6
  "@angular/core": "^18.2.7"