simplemattable
Advanced tools
Comparing version 18.0.0 to 18.1.0
@@ -62,2 +62,4 @@ import { Align } from './align.model'; | ||
filterFn: (searchInput: string, data: T[P], dataParent: T) => boolean; | ||
onMouseEnter: (data: T[P], dataParent: T, dataList: T[], event: MouseEvent) => void; | ||
onMouseLeave: (data: T[P], dataParent: T, dataList: T[], event: MouseEvent) => void; | ||
private colFilterText; | ||
@@ -255,2 +257,18 @@ constructor(name: string, property: P); | ||
/** | ||
* OnMouseEnter enables the mouse listener for the table column. If the user moves the mouse into any cell of this column | ||
* (excluding the header cell), the function onMouseEnter will be executed. | ||
* | ||
* @param onMouseEnterFn | ||
* @returns this | ||
*/ | ||
withOnMouseEnter(onMouseEnterFn: (data: T[P], dataParent: T, dataList: T[], event: MouseEvent) => void): this; | ||
/** | ||
* OnMouseLeave enables the mouse listener for the table column. If the user moves the mouse out of any cell of this column | ||
* (excluding the header cell), the function onMouseLeave will be executed. | ||
* | ||
* @param onMouseLeaveFn | ||
* @returns this | ||
*/ | ||
withOnMouseLeave(onMouseLeaveFn: (data: T[P], dataParent: T, dataList: T[], event: MouseEvent) => void): this; | ||
/** | ||
* OnHeaderClick enables the click listener for the table header cell. | ||
@@ -257,0 +275,0 @@ * Use it in conjunction with the headerButton property. |
@@ -108,2 +108,4 @@ import { EventEmitter, OnDestroy, OnInit } from '@angular/core'; | ||
getCellCssStyle(tcol: TableColumn<T, any>, element: T): Object; | ||
onMouseEnter($event: MouseEvent): void; | ||
onMouseLeave($event: MouseEvent): void; | ||
static ɵfac: i0.ɵɵFactoryDeclaration<TableCellComponent<any>, never>; | ||
@@ -110,0 +112,0 @@ static ɵcmp: i0.ɵɵComponentDeclaration<TableCellComponent<any>, "smc-table-cell", never, { "rowIndex": { "alias": "rowIndex"; "required": false; }; "columnIndex": { "alias": "columnIndex"; "required": false; }; "formControls": { "alias": "formControls"; "required": false; }; "dataList": { "alias": "dataList"; "required": false; }; "stateService": { "alias": "stateService"; "required": false; }; "minHeight": { "alias": "minHeight"; "required": false; }; "tableColumnInput": { "alias": "tableColumnInput"; "required": false; }; "dataParent": { "alias": "dataParent"; "required": false; }; "isAdding": { "alias": "isAdding"; "required": false; }; "isEditing": { "alias": "isEditing"; "required": false; }; "refreshTrigger": { "alias": "refreshTrigger"; "required": false; }; }, { "save": "save"; }, never, never, false, never>; |
{ | ||
"name": "simplemattable", | ||
"version": "18.0.0", | ||
"version": "18.1.0", | ||
"description": "A simplified, declarative table-library using @angular/material's MatTable with form capabilities for adding/editing/deleting data", | ||
@@ -5,0 +5,0 @@ "author": "Henning Wobken", |
@@ -779,2 +779,3 @@ # simplemattable | ||
+ 18.1: Add `onMouseEnter` and `onMouseLeave` to table column | ||
+ 18.0: Upgrade to Angular 18 | ||
@@ -781,0 +782,0 @@ + 17.7: Add rowEditDisabledFn and rowDeleteDisabledFn to disable edit or delete on certain rows |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1232694
9589
900