@stemy/ngx-utils 19.0.5 → 19.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.
@@ -342,6 +342,7 @@ export interface ITableColumn {
342
342
  title?: string;
343
343
  sort?: string;
344
344
  filter?: boolean;
345
+ filterType?: "text" | "checkbox";
345
346
  [key: string]: any;
346
347
  }
347
348
  export interface ITableColumns {
@@ -357,7 +358,7 @@ export interface ITableTemplates {
357
358
  [column: string]: ITableTemplate;
358
359
  }
359
360
  export interface ITableDataQuery {
360
- [column: string]: string;
361
+ [column: string]: string | boolean;
361
362
  }
362
363
  export type TableDataLoader = (page: number, rowsPerPage: number, orderBy: string, orderDescending: boolean, filter: string, query: ITableDataQuery) => Promise<IPaginationData>;
363
364
  export declare class ResourceIfContext {
@@ -48,7 +48,7 @@ export declare class DynamicTableComponent implements AfterContentInit, AfterVie
48
48
  refresh(time?: number): void;
49
49
  setFilter(filter: string): void;
50
50
  setOrder(column: string): void;
51
- updateQuery(col: string, value: string): void;
51
+ updateQuery(col: string, value: string | boolean): void;
52
52
  loadData: (page: number, itemsPerPage: number) => Promise<IPaginationData>;
53
53
  private loadLocalData;
54
54
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicTableComponent, never>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.0.5",
3
+ "version": "19.0.6",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",