@guiexpert/table 1.1.78 → 1.1.79

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.
@@ -20,6 +20,13 @@ import { ColAndRowspanModel } from './data/tablemodel/areamodel/col-and-rowspan-
20
20
  import { AreaObjectMapType } from './data/common/area-map.type';
21
21
  import { TableCellUpdateEventIf } from './data/common/event/input/table-cell-update-event.if';
22
22
  export declare class RenderScope extends EleScope {
23
+ firstVisibleRowIndex: number;
24
+ lastVisibleRowIndex: number;
25
+ firstFullVisibleRowIndex: number;
26
+ lastFullVisibleRowIndex: number;
27
+ displayedRowCount: number;
28
+ pixelLimitForFullVisible: number;
29
+ loggingActive: boolean;
23
30
  protected dragging: boolean;
24
31
  protected editing: boolean;
25
32
  protected storedColumnWidths: number[];
@@ -37,7 +44,6 @@ export declare class RenderScope extends EleScope {
37
44
  };
38
45
  protected tree: boolean;
39
46
  protected colAndRowspanModels: AreaObjectMapType<ColAndRowspanModel>;
40
- protected firstVisibleRowIndex: number;
41
47
  protected draggingTargetColumnIndex: number;
42
48
  protected mouseEvent?: GeMouseEvent;
43
49
  private debounceTimeout?;
@@ -123,6 +129,11 @@ export declare class RenderScope extends EleScope {
123
129
  * @param {string[]} cssClasses - An array of CSS classes to be applied to the cell.
124
130
  */
125
131
  rerenderCellContent({ area, rowIndex, columnIndex, value, cssClasses }: TableCellUpdateEventIf): void;
132
+ getFirstVisibleRowIndex(): number;
133
+ getLastVisibleRowIndex(): number;
134
+ getFirstFullVisibleRowIndex(): number;
135
+ getLastFullVisibleRowIndex(): number;
136
+ getDisplayedRowCount(): number;
126
137
  /**
127
138
  * Stores the widths of all columns in the table.
128
139
  *
@@ -167,7 +178,6 @@ export declare class RenderScope extends EleScope {
167
178
  * @protected
168
179
  */
169
180
  protected getStringByAttr(srcElement: HTMLElement, key: string): string;
170
- displayedRowCount: number;
171
181
  /**
172
182
  * Adjusts the layout and positioning of the specified area in the table.
173
183
  * This method is used internally and should not be called directly.
@@ -578,4 +578,9 @@ export declare class TableApi {
578
578
  * ```
579
579
  */
580
580
  getFirstVisibleRowIndex(): number;
581
+ getFirstFullVisibleRowIndex(): number;
582
+ getLastVisibleRowIndex(): number;
583
+ getLastFullVisibleRowIndex(): number;
584
+ setLoggingActive(active: boolean): void;
585
+ isLoggingActive(): boolean;
581
586
  }
@@ -298,7 +298,6 @@ export declare class TableScope extends RenderScope implements OnActionTriggered
298
298
  recalcWrappers(): void;
299
299
  reSort(): void;
300
300
  sort(compareFn: (a: any, b: any) => number): void;
301
- getDisplayedRowCount(): number;
302
301
  /**
303
302
  * Ensures that a specific row is visible in the viewport by scrolling if necessary.
304
303
  * This method checks if the target row is within the currently visible range and
@@ -351,5 +350,4 @@ export declare class TableScope extends RenderScope implements OnActionTriggered
351
350
  * @see {@link getDisplayedRowCount} - Related method for getting visible row count
352
351
  */
353
352
  ensureRowIsVisible(rowIndex: number): boolean;
354
- getFirstVisibleRowIndex(): number;
355
353
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guiexpert/table",
3
- "version": "1.1.78",
3
+ "version": "1.1.79",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./index.js",