ngx-deebodata 0.4.7 → 0.4.8

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": "ngx-deebodata",
3
- "version": "0.4.7",
3
+ "version": "0.4.8",
4
4
  "description": "Angular v22 data grid and charts solution that solves big data analysis with virtual scroll, row grouping, column resizing, re-ordering, column hiding, cell editing, tab accessibility, sorting with priority, and advanced filtering.",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^22.0.7",
@@ -88,10 +88,23 @@ interface valueColor {
88
88
  color: string;
89
89
  }
90
90
 
91
+ interface CustomSort {
92
+ asc: any;
93
+ desc: any;
94
+ }
95
+
96
+ declare class CustomSortService {
97
+ customSort: CustomSort;
98
+ setCustomSort(sort: CustomSort): void;
99
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CustomSortService, never>;
100
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CustomSortService>;
101
+ }
102
+
91
103
  declare class DataTableService {
92
104
  private common;
105
+ private customSortService;
93
106
  private http;
94
- constructor(common: CommonService, http: HttpClient);
107
+ constructor(common: CommonService, customSortService: CustomSortService, http: HttpClient);
95
108
  sortOrder: string[];
96
109
  mainData: any[];
97
110
  mainDataLen: number;
@@ -478,5 +491,5 @@ declare class NgxDeebodata {
478
491
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxDeebodata, "ngx-deebodata", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "licenseKey": { "alias": "licenseKey"; "required": false; }; "color1": { "alias": "color1"; "required": false; }; "color2": { "alias": "color2"; "required": false; }; "primaryKey": { "alias": "primaryKey"; "required": false; }; "defRowHgt": { "alias": "defRowHgt"; "required": false; }; "defGridHgt": { "alias": "defGridHgt"; "required": false; }; "altRowColor": { "alias": "altRowColor"; "required": false; }; "myColumnSymbols": { "alias": "myColumnSymbols"; "required": false; }; "myColumnStyles": { "alias": "myColumnStyles"; "required": false; }; "myColumnValueColors": { "alias": "myColumnValueColors"; "required": false; }; "pieGraphColors": { "alias": "pieGraphColors"; "required": false; }; "removePieCovers": { "alias": "removePieCovers"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "rowNumbers": { "alias": "rowNumbers"; "required": false; }; "forceGrouping": { "alias": "forceGrouping"; "required": false; }; }, { "cellEdit": "cellEdit"; }, never, never, true, never>;
479
492
  }
480
493
 
481
- export { NgxDeebodata };
482
- export type { CellEdit, ColumnStyles, ColumnSymbol, ColumnValueColors, ValueCss };
494
+ export { CustomSortService, NgxDeebodata };
495
+ export type { CellEdit, ColumnStyles, ColumnSymbol, ColumnValueColors, CustomSort, ValueCss };