@solcre-org/core-ui 2.20.9 → 2.20.10
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/README.md +1 -0
- package/fesm2022/solcre-org-core-ui.mjs +26 -8
- package/fesm2022/solcre-org-core-ui.mjs.map +1 -1
- package/index.d.ts +7 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1839,6 +1839,7 @@ declare class TableDataService<T extends DataBaseModelInterface & {
|
|
|
1839
1839
|
private currentFilterParams;
|
|
1840
1840
|
private currentPaginationParams;
|
|
1841
1841
|
private currentCustomParams;
|
|
1842
|
+
private currentSortParams;
|
|
1842
1843
|
private isPaginationEnabled;
|
|
1843
1844
|
private currentCustomArrayKey;
|
|
1844
1845
|
private isLoading;
|
|
@@ -1850,7 +1851,12 @@ declare class TableDataService<T extends DataBaseModelInterface & {
|
|
|
1850
1851
|
setEndpoint(endpoint: string, modelFactory: (json: any) => T, loaderId?: string, enablePagination?: boolean, customArrayKey?: string, customParams?: Record<string, any>): void;
|
|
1851
1852
|
private loadData;
|
|
1852
1853
|
updateCustomParams(customParams: Record<string, any> | undefined, loaderId?: string): void;
|
|
1853
|
-
refreshWithFilters(filterParams?: FilterParams, loaderId?: string): void;
|
|
1854
|
+
refreshWithFilters(filterParams?: FilterParams, loaderId?: string, sortParams?: Record<string, any>): void;
|
|
1855
|
+
updateSortParams(sortParams: Record<string, any>): void;
|
|
1856
|
+
updatePaginationParams(paginationParams: {
|
|
1857
|
+
page: number;
|
|
1858
|
+
size: number;
|
|
1859
|
+
}): void;
|
|
1854
1860
|
updateDisplayedData(filteredData: T[], enablePagination: boolean, paginationService: PaginationService, tableId: string, itemsLoaded: number): void;
|
|
1855
1861
|
updatePagination(page: number, size: number, loaderId?: string): void;
|
|
1856
1862
|
createItem(endpoint: string, item: T, modelFactory: (json: any) => T): Observable<T>;
|