@limetech/lime-elements 39.29.1 → 39.29.2

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.
@@ -194,6 +194,28 @@ export declare class Table {
194
194
  private initTableSelection;
195
195
  private setSelection;
196
196
  private updateMaxPage;
197
+ /**
198
+ * In remote mode the visible paginator buttons are rendered from the
199
+ * `last_page` value returned by `ajaxRequestFunc`, not from
200
+ * `setMaxPage`. When `totalRows` or `pageSize` change after init, force
201
+ * Tabulator to re-invoke the ajax callback so the paginator UI picks up
202
+ * the new page count.
203
+ *
204
+ * `replaceData` rather than `setData` because the latter calls
205
+ * `rowManager.resetScroll()` (visible as the table snapping to
206
+ * top-left every refresh). `replaceData` still wipes and rebuilds
207
+ * the row elements as a side-effect of going through the data
208
+ * pipeline (causing a brief flicker), so save and restore the scroll
209
+ * position explicitly: Tabulator's `renderInPosition` path doesn't
210
+ * fully preserve vertical scroll across the row rebuild.
211
+ */
212
+ private refreshRemotePaginator;
213
+ /**
214
+ * Tabulator's scrollable row container, inside `<limel-table>`'s
215
+ * shadow DOM. The user's vertical/horizontal scroll position within
216
+ * the table lives on this element's `scrollTop` / `scrollLeft`.
217
+ */
218
+ private getRowScrollContainer;
197
219
  private getOptions;
198
220
  private getInitialSorting;
199
221
  private getColumnSorter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limetech/lime-elements",
3
- "version": "39.29.1",
3
+ "version": "39.29.2",
4
4
  "description": "Lime Elements",
5
5
  "author": "Lime Technologies",
6
6
  "license": "Apache-2.0",