Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

simplemattable

Package Overview
Dependencies
Maintainers
1
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

simplemattable - npm Package Compare versions

Comparing version 18.0.0 to 18.1.0

18

lib/model/table-column.model.d.ts

@@ -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.

2

lib/table-cell/table-cell.component.d.ts

@@ -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>;

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc