ngx-deebodata-community 0.2.1 → 0.2.3

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,7 +1,7 @@
1
1
  {
2
2
  "name": "ngx-deebodata-community",
3
3
  "description": "Angular data grid that solves data analysis problems with virtual scroll, column resizing, cell editing, tab accessibility, sorting, and filtering.",
4
- "version": "0.2.1",
4
+ "version": "0.2.3",
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^21.2.0",
7
7
  "@angular/core": "^21.2.0",
@@ -1,4 +1,4 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { EventEmitter, ElementRef, SimpleChanges } from '@angular/core';
3
3
  import { Subject } from 'rxjs';
4
4
 
@@ -53,8 +53,8 @@ declare class CommonService {
53
53
  g: number;
54
54
  b: number;
55
55
  } | null;
56
- static ɵfac: i0.ɵɵFactoryDeclaration<CommonService, never>;
57
- static ɵprov: i0.ɵɵInjectableDeclaration<CommonService>;
56
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<CommonService, never>;
57
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<CommonService>;
58
58
  }
59
59
 
60
60
  interface ColumnSymbol {
@@ -76,8 +76,11 @@ declare class DataTableService {
76
76
  currFilData: any[];
77
77
  currMapping: any;
78
78
  mapperWorkerId: number;
79
- dTblHeight: number;
79
+ dTblHeight: _angular_core.WritableSignal<number>;
80
+ listenForScroll: _angular_core.WritableSignal<boolean>;
81
+ lockCellFocus: _angular_core.WritableSignal<boolean>;
80
82
  defltRHgt: string;
83
+ defltRHgtNum: number;
81
84
  isSorting: boolean;
82
85
  isFiltering: boolean;
83
86
  themeColor1: any;
@@ -141,8 +144,8 @@ declare class DataTableService {
141
144
  easyFilter(val: any, dataI: any[], sortOrder: string[]): void;
142
145
  allDataFilter(filterVal: any, data: any[]): any[];
143
146
  arefilSrtTrkPropsDefault(ignoreColFM?: any): boolean;
144
- static ɵfac: i0.ɵɵFactoryDeclaration<DataTableService, never>;
145
- static ɵprov: i0.ɵɵInjectableDeclaration<DataTableService>;
147
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DataTableService, never>;
148
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<DataTableService>;
146
149
  }
147
150
 
148
151
  declare class TableDragService {
@@ -151,7 +154,8 @@ declare class TableDragService {
151
154
  constructor(dataTableService: DataTableService, common: CommonService);
152
155
  currDataRow: any;
153
156
  currColForDataRow: any;
154
- dTblHeight: number;
157
+ handleTblHtTO: any;
158
+ tblHgtDiff: number;
155
159
  currColumnEdit: string;
156
160
  listenForMouseUp: boolean;
157
161
  listenForSelectStart: boolean;
@@ -178,8 +182,8 @@ declare class TableDragService {
178
182
  handleColResMouseUp(e: any): void;
179
183
  handleColMoveMouseUp(e: any): void;
180
184
  stopWindowSelection(e: any): boolean;
181
- static ɵfac: i0.ɵɵFactoryDeclaration<TableDragService, never>;
182
- static ɵprov: i0.ɵɵInjectableDeclaration<TableDragService>;
185
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableDragService, never>;
186
+ static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableDragService>;
183
187
  }
184
188
 
185
189
  interface DataCell {
@@ -225,20 +229,25 @@ declare class NgxDeebodataCommunity {
225
229
  common: CommonService;
226
230
  onWindowClick(e: MouseEvent): void;
227
231
  onWindowMouseUp(e: MouseEvent): void;
232
+ onWindowMouseDown(e: MouseEvent): void;
228
233
  onWindowMouseMove(e: MouseEvent): void;
229
234
  onWindowSelectStart(e: Event): void;
230
235
  onWindowResize(e: Event): void;
231
236
  onWindowScroll(e: Event): void;
232
237
  constructor(dataTableService: DataTableService, tblDragService: TableDragService, common: CommonService);
233
238
  rows: DataRow[];
234
- aboveHgt: i0.WritableSignal<number>;
235
- belowHgt: i0.WritableSignal<number>;
239
+ aboveHgt: _angular_core.WritableSignal<number>;
240
+ belowHgt: _angular_core.WritableSignal<number>;
241
+ rnBTop: _angular_core.WritableSignal<number>;
236
242
  dtChecks: number[];
237
243
  rowNos: RowNumber[];
238
244
  verticalRest: number;
239
245
  horizRest: number;
240
246
  isScrolling: boolean;
241
247
  useRowWid: string;
248
+ dtr: string;
249
+ rowElsPad: number;
250
+ doRowsMod: number;
242
251
  paginatorReady: boolean;
243
252
  handlingSelRows: boolean;
244
253
  columnOfInterest: string;
@@ -252,13 +261,18 @@ declare class NgxDeebodataCommunity {
252
261
  togSelRows: string;
253
262
  maxCols: number;
254
263
  lastElRowIndex: number;
264
+ scrollDir: string;
265
+ transY: _angular_core.WritableSignal<number>;
266
+ mouseIsDown: boolean;
267
+ finishScrollTO: any;
268
+ valEditFocusTo: any;
255
269
  columnHeaders: ColumnHeader[];
256
270
  columnNames: string[];
257
271
  linkCell: any;
258
272
  linkCells: any[];
259
273
  validatedEditType: string;
260
- dataHasBeenSet: i0.WritableSignal<boolean>;
261
- data: i0.InputSignal<any[]>;
274
+ dataHasBeenSet: _angular_core.WritableSignal<boolean>;
275
+ data: _angular_core.InputSignal<any[]>;
262
276
  color1: string;
263
277
  color2: string;
264
278
  primaryKey: string;
@@ -275,7 +289,6 @@ declare class NgxDeebodataCommunity {
275
289
  belowArea: ElementRef<HTMLElement>;
276
290
  validatedEdit: ElementRef<HTMLElement>;
277
291
  rowNumHeader: ElementRef<HTMLElement>;
278
- rowNumBody: ElementRef<HTMLElement>;
279
292
  fCellDragger: ElementRef<HTMLElement>;
280
293
  selFilContainer: ElementRef<HTMLElement>;
281
294
  btnTogSelRows: ElementRef<HTMLButtonElement>;
@@ -288,13 +301,15 @@ declare class NgxDeebodataCommunity {
288
301
  setMaxCols(): 2 | 3 | 5;
289
302
  getAllColWidth(colLen: any): number;
290
303
  removeAllFreezeCols(): void;
291
- setTableHeight(h: number): void;
304
+ setTableHeight(h: number, manual?: boolean): void;
305
+ handleRowsOnHeightIncrease(): void;
292
306
  processColMove(event: any): void;
293
307
  setColHeaderHgt(): void;
294
308
  renameColSpecChars(data: any[]): any[];
295
309
  scoopOutObjsInObjs(data: any[]): any[];
296
310
  convertNeededCols(data: any): any;
297
311
  setRowSelChecksPlacement(): void;
312
+ cleanRowChecks(): void;
298
313
  setRowNumbers(): void;
299
314
  initCheckTop(): number;
300
315
  toggleSelectedRows(forceUnsel?: any): void;
@@ -311,19 +326,21 @@ declare class NgxDeebodataCommunity {
311
326
  blurContEd(): void;
312
327
  setColsOnVisScreen(): void;
313
328
  handleScrlBarDrag(): void;
329
+ setAllRowsDefHgt(): void;
330
+ completeScroll(): void;
314
331
  handleScroll(event: any): void;
315
332
  execHorizScroll(left: number): void;
333
+ fixRowContainer(transY: number): void;
316
334
  execVertScroll(top: number): void;
317
- scrollDir: string;
318
335
  handleScrollEnd(): any;
319
336
  addCell(text: any, prop: string, visible: boolean): DataCell;
337
+ setCellsOnVertScroll(text: string, prop: string, row: DataRow, vis: boolean): void;
320
338
  execHorizBodyScroll(): void;
321
339
  cleanUpPossibles(): void;
322
- execVertScrollDown(cols: string[], colLen: number): void;
323
- execVertScrollUp(cols: string[], colLen: number): void;
324
- clearAboveFoldRows(): void;
325
- clearBelowFoldRows(): void;
326
- valEditFocusTo: number | null;
340
+ applyToDomRows(rows: any[], cols: string[], colLen: number, lastVisInd: number, dir: string, defNum: number, newRows: number): void;
341
+ execVertScrollDown(cols: string[], colLen: number, currTop: number): void;
342
+ execVertScrollUp(cols: string[], colLen: number, currTop: number, force?: boolean): void;
343
+ finishApplyingDomRows(): void;
327
344
  handleValidatedCellEditFocus(cellData: any): void;
328
345
  clearFCellDragger(): void;
329
346
  clearValidatedEdit(e?: any, clearDrag?: boolean): void;
@@ -354,8 +371,8 @@ declare class NgxDeebodataCommunity {
354
371
  clearFilInputs(): void;
355
372
  resetCurrentData(col?: string): void;
356
373
  resetVisCols(): void;
357
- static ɵfac: i0.ɵɵFactoryDeclaration<NgxDeebodataCommunity, never>;
358
- static ɵcmp: i0.ɵɵComponentDeclaration<NgxDeebodataCommunity, "ngx-deebodata-community", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "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; }; "editable": { "alias": "editable"; "required": false; }; "rowNumbers": { "alias": "rowNumbers"; "required": false; }; }, { "cellEdit": "cellEdit"; }, never, never, true, never>;
374
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgxDeebodataCommunity, never>;
375
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgxDeebodataCommunity, "ngx-deebodata-community", never, { "data": { "alias": "data"; "required": false; "isSignal": true; }; "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; }; "editable": { "alias": "editable"; "required": false; }; "rowNumbers": { "alias": "rowNumbers"; "required": false; }; }, { "cellEdit": "cellEdit"; }, never, never, true, never>;
359
376
  }
360
377
 
361
378
  export { NgxDeebodataCommunity };