@aquera/ngx-smart-table 0.0.7-alpha → 0.0.9-alpha
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/esm2020/lib/renderer/components/st-header/st-header.component.mjs +2 -2
- package/esm2020/lib/renderer/components/st-row-actions-dropdown/st-row-actions-dropdown.component.mjs +2 -2
- package/esm2020/lib/renderer/components/st-table/st-table.component.mjs +102 -9
- package/esm2020/lib/renderer/components/st-workbook/st-workbook.component.mjs +26 -7
- package/fesm2015/aquera-ngx-smart-table.mjs +133 -20
- package/fesm2015/aquera-ngx-smart-table.mjs.map +1 -1
- package/fesm2020/aquera-ngx-smart-table.mjs +130 -18
- package/fesm2020/aquera-ngx-smart-table.mjs.map +1 -1
- package/lib/renderer/components/st-table/st-table.component.d.ts +14 -1
- package/lib/renderer/components/st-workbook/st-workbook.component.d.ts +5 -0
- package/package.json +1 -1
|
@@ -300,9 +300,22 @@ export declare class StTableComponent implements OnInit, OnChanges, OnDestroy, A
|
|
|
300
300
|
*/
|
|
301
301
|
private updateCellFocusStates;
|
|
302
302
|
/**
|
|
303
|
-
* Focus the TD element in the DOM
|
|
303
|
+
* Focus the TD element in the DOM and scroll it into view,
|
|
304
|
+
* accounting for sticky columns on left and right
|
|
304
305
|
*/
|
|
305
306
|
private focusTdElement;
|
|
307
|
+
/**
|
|
308
|
+
* Scroll a cell into view, accounting for sticky columns
|
|
309
|
+
*/
|
|
310
|
+
private scrollCellIntoView;
|
|
311
|
+
/**
|
|
312
|
+
* Get the scroll container element
|
|
313
|
+
*/
|
|
314
|
+
private getScrollContainerElement;
|
|
315
|
+
/**
|
|
316
|
+
* Calculate total width of sticky columns on left and right
|
|
317
|
+
*/
|
|
318
|
+
private calculateStickyWidths;
|
|
306
319
|
/**
|
|
307
320
|
* Handle cell click
|
|
308
321
|
*/
|
|
@@ -133,6 +133,7 @@ export declare class StWorkbookComponent implements OnInit, OnChanges, OnDestroy
|
|
|
133
133
|
ngOnChanges(changes: SimpleChanges): void;
|
|
134
134
|
/**
|
|
135
135
|
* Initialize component state
|
|
136
|
+
* @param isFirstInit Whether this is the first initialization (true) or a config update (false)
|
|
136
137
|
*/
|
|
137
138
|
private initializeComponent;
|
|
138
139
|
/**
|
|
@@ -151,6 +152,10 @@ export declare class StWorkbookComponent implements OnInit, OnChanges, OnDestroy
|
|
|
151
152
|
* Add new sheet
|
|
152
153
|
*/
|
|
153
154
|
onAddSheet(): void;
|
|
155
|
+
/**
|
|
156
|
+
* TrackBy function to force component recreation when key changes
|
|
157
|
+
*/
|
|
158
|
+
trackByKey(index: number, key: string): string;
|
|
154
159
|
/**
|
|
155
160
|
* Check if can add more sheets
|
|
156
161
|
*/
|