ngx-st-tables 17.0.109 → 17.0.111
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/components/material-table/material-table-row-cell/material-table-row-cell.component.mjs +16 -4
- package/esm2022/lib/models/st-material-table-column.model.mjs +1 -1
- package/fesm2022/ngx-st-tables.mjs +14 -2
- package/fesm2022/ngx-st-tables.mjs.map +1 -1
- package/lib/components/material-table/material-table-row-cell/material-table-row-cell.component.d.ts +5 -0
- package/lib/models/st-material-table-column.model.d.ts +1 -1
- package/package.json +1 -1
package/lib/components/material-table/material-table-row-cell/material-table-row-cell.component.d.ts
CHANGED
|
@@ -28,6 +28,10 @@ export declare class MaterialTableRowCellComponent implements OnInit {
|
|
|
28
28
|
actionIconColorDef: {
|
|
29
29
|
[key: string]: 'primary' | 'warn';
|
|
30
30
|
};
|
|
31
|
+
dynamicSelectOptions: import("@angular/core").WritableSignal<{
|
|
32
|
+
value: any;
|
|
33
|
+
label: string;
|
|
34
|
+
}[]>;
|
|
31
35
|
constructor(changeDetectorRef: ChangeDetectorRef);
|
|
32
36
|
ngOnInit(): void;
|
|
33
37
|
saveRow(): void;
|
|
@@ -38,6 +42,7 @@ export declare class MaterialTableRowCellComponent implements OnInit {
|
|
|
38
42
|
checked: boolean;
|
|
39
43
|
}): void;
|
|
40
44
|
private checkWidthSize;
|
|
45
|
+
private getDynamicSelectData;
|
|
41
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTableRowCellComponent, never>;
|
|
42
47
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTableRowCellComponent, "st-material-table-row-cell", never, { "column": { "alias": "column"; "required": true; "isSignal": true; }; "rowData": { "alias": "rowData"; "required": true; "isSignal": true; }; "rowIndex": { "alias": "rowIndex"; "required": true; "isSignal": true; }; "rowDataCopy": { "alias": "rowDataCopy"; "required": false; "isSignal": true; }; "canEditRowValidator": { "alias": "canEditRowValidator"; "required": false; "isSignal": true; }; "canDeleteRowValidator": { "alias": "canDeleteRowValidator"; "required": false; "isSignal": true; }; "selectRowOnlyOne": { "alias": "selectRowOnlyOne"; "required": false; "isSignal": true; }; "rowEditing": { "alias": "rowEditing"; "required": false; }; "rowIsSelected": { "alias": "rowIsSelected"; "required": false; "isSignal": true; }; "rowIsExpanded": { "alias": "rowIsExpanded"; "required": false; "isSignal": true; }; }, { "saveEditRowEmitter": "saveEditRowEmitter"; "cancelEditRowEmitter": "cancelEditRowEmitter"; "editRowEmitter": "editRowEmitter"; "deleteRowEmitter": "deleteRowEmitter"; "selectRowChange": "selectRowChange"; }, never, never, false, never>;
|
|
43
48
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TemplateRef } from '@angular/core';
|
|
2
2
|
export type StMaterialColumnType = 'string' | 'number' | 'boolean' | 'date' | 'custom-template' | 'actions-row-editing' | 'actions' | 'actions-row-selecting' | 'actions-row-extending';
|
|
3
3
|
export type StMaterialColumnFilterType = 'string' | 'number' | 'boolean' | 'date' | 'custom';
|
|
4
|
-
export type StMaterialRowEditType = 'string' | 'number' | 'boolean' | 'date' | 'custom';
|
|
4
|
+
export type StMaterialRowEditType = 'string' | 'number' | 'boolean' | 'date' | 'custom' | 'custom-dynamic-select';
|
|
5
5
|
export interface StMaterialTableColumnModel {
|
|
6
6
|
field: string;
|
|
7
7
|
header: string;
|