@recursyve/nice-data-filter-kit 13.0.5 → 13.0.6

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.
@@ -5,5 +5,6 @@ export interface TableColumnsModel {
5
5
  export declare class TableColumns implements TableColumnsModel {
6
6
  id: string;
7
7
  sortable: boolean;
8
- constructor(id: string, sortable?: boolean);
8
+ nullLast: boolean;
9
+ constructor(id: string, sortable?: boolean, nullLast?: boolean);
9
10
  }
@@ -2,6 +2,7 @@ import { QueryModel } from "./query.model";
2
2
  export interface OrderFilterParameterModel {
3
3
  column?: string;
4
4
  direction?: "asc" | "desc";
5
+ nullLast?: boolean;
5
6
  }
6
7
  export interface FilterParametersModel {
7
8
  start?: number;
@@ -3,6 +3,10 @@ export declare class StringUtils {
3
3
  }
4
4
  declare global {
5
5
  interface String {
6
- toTableColumn(sortable?: boolean): TableColumns;
6
+ toTableColumn(sortable?: boolean, nullLast?: boolean): TableColumns;
7
+ toTableColumn({ sortable, nullLast }: {
8
+ sortable?: boolean;
9
+ nullLast?: boolean;
10
+ }): TableColumns;
7
11
  }
8
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recursyve/nice-data-filter-kit",
3
- "version": "13.0.5",
3
+ "version": "13.0.6",
4
4
  "exports": {
5
5
  ".": {
6
6
  "sass": "./_index.scss",