@c8y/ngx-components 1017.0.243 → 1017.0.245
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/core/data-grid/data-grid.component.d.ts +2 -2
- package/core/data-grid/data-grid.model.d.ts +1 -1
- package/esm2020/core/data-grid/data-grid.component.mjs +16 -7
- package/esm2020/core/data-grid/data-grid.model.mjs +1 -1
- package/fesm2015/c8y-ngx-components.mjs +13 -7
- package/fesm2015/c8y-ngx-components.mjs.map +1 -1
- package/fesm2020/c8y-ngx-components.mjs +15 -6
- package/fesm2020/c8y-ngx-components.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -56,7 +56,7 @@ export declare class DataGridComponent implements DataGrid, OnChanges, AfterView
|
|
|
56
56
|
readonly possiblePageSizes: number[];
|
|
57
57
|
readonly minPossiblePageSize: number;
|
|
58
58
|
/** Pagination settings, e.g. allows for setting current page or page size. */
|
|
59
|
-
|
|
59
|
+
set _pagination(pagination: Pagination);
|
|
60
60
|
infiniteScroll: LoadMoreMode;
|
|
61
61
|
/** Sets load more mode. */
|
|
62
62
|
set _infiniteScroll(infiniteScroll: LoadMoreMode);
|
|
@@ -204,7 +204,7 @@ export declare class DataGridComponent implements DataGrid, OnChanges, AfterView
|
|
|
204
204
|
ngAfterViewInit(): void;
|
|
205
205
|
ngOnDestroy(): void;
|
|
206
206
|
setColumns(config: GridConfig): void;
|
|
207
|
-
|
|
207
|
+
setPageSize(config: GridConfig): void;
|
|
208
208
|
openCustomColumnModal(): void;
|
|
209
209
|
removeCustomColumn(poConfirm: PopoverConfirmComponent, column: Column, ddConfigureColumns: BsDropdownDirective): Promise<void>;
|
|
210
210
|
trackByName(index: any, item: any): any;
|
|
@@ -194,7 +194,7 @@ export interface Row {
|
|
|
194
194
|
/** Describes a pagination object. */
|
|
195
195
|
export interface Pagination {
|
|
196
196
|
/** The number of the current page. */
|
|
197
|
-
currentPage
|
|
197
|
+
currentPage?: number;
|
|
198
198
|
/** The number of the next page. */
|
|
199
199
|
nextPage?: number;
|
|
200
200
|
/** The number of items on a single page. */
|