slick-table 1.2.0 → 1.2.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -1,18 +1,18 @@
1
- import {
2
- Handler,
3
- OnActiveCellChangedEventArgs,
4
- SlickEventData,
5
- } from "slickgrid";
6
-
7
- import { ISlickTable } from "shared/model/types";
8
-
9
- export function getOnActiveCellChanged(
10
- table: ISlickTable,
11
- ): Handler<OnActiveCellChangedEventArgs> {
12
- return function onActiveCellChanged({
13
- //@ts-expect-error. Property 'args' is protected and only accessible within class 'SlickEventData<ArgType>' and its subclasses
14
- args,
15
- }: SlickEventData<OnActiveCellChangedEventArgs>): void {
16
- table.lastActiveSell = { cell: args?.cell || 0, row: args?.row || 0 };
17
- };
18
- }
1
+ import {
2
+ Handler,
3
+ OnActiveCellChangedEventArgs,
4
+ SlickEventData,
5
+ } from "slickgrid";
6
+
7
+ import { ISlickTable } from "shared/model/types";
8
+
9
+ export function getOnActiveCellChanged(
10
+ table: ISlickTable,
11
+ ): Handler<OnActiveCellChangedEventArgs> {
12
+ return function onActiveCellChanged({
13
+ //@ts-expect-error. Property 'args' is protected and only accessible within class 'SlickEventData<ArgType>' and its subclasses
14
+ args,
15
+ }: SlickEventData<OnActiveCellChangedEventArgs>): void {
16
+ table.lastActiveSell = { cell: args?.cell || 0, row: args?.row || 0 };
17
+ };
18
+ }