@c8y/ngx-components 1018.0.101 → 1018.0.103
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 +1 -1
|
@@ -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;
|
|
@@ -195,7 +195,7 @@ export interface Row {
|
|
|
195
195
|
/** Describes a pagination object. */
|
|
196
196
|
export interface Pagination {
|
|
197
197
|
/** The number of the current page. */
|
|
198
|
-
currentPage
|
|
198
|
+
currentPage?: number;
|
|
199
199
|
/** The number of the next page. */
|
|
200
200
|
nextPage?: number;
|
|
201
201
|
/** The number of items on a single page. */
|