@limetech/lime-elements 39.29.1-dev.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.
- package/CHANGELOG.md +9 -2
- package/dist/cjs/limel-color-picker-palette.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +52 -3
- package/dist/collection/components/color-picker/color-picker-palette.css +3 -2
- package/dist/collection/components/table/table.js +52 -3
- package/dist/esm/limel-color-picker-palette.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +52 -3
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/{p-d4a94dce.entry.js → p-129a19c7.entry.js} +1 -1
- package/dist/lime-elements/{p-5017cb3f.entry.js → p-f55e5eba.entry.js} +1 -1
- package/dist/types/components/table/table.d.ts +22 -0
- package/package.json +1 -1
|
@@ -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;
|