@colijnit/corecomponents_v12 12.0.53 → 12.0.56

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.
@@ -22,8 +22,6 @@ export declare class PaginationComponent implements OnInit, OnChanges, OnDestroy
22
22
  goToPreviousPage(): void;
23
23
  goToNextPage(): void;
24
24
  setCurrentPage(page: number): void;
25
- isOnFirstPage(): boolean;
26
- isOnLastPage(): boolean;
27
25
  shouldBeHidden(): boolean;
28
26
  /**
29
27
  * Updates the page links and checks that the current page is valid. Should run whenever the
@@ -32,7 +30,6 @@ export declare class PaginationComponent implements OnInit, OnChanges, OnDestroy
32
30
  */
33
31
  private _updatePageLinks;
34
32
  getCurrentPage(): number;
35
- getLastPage(): number;
36
33
  /**
37
34
  * Checks that the instance.currentPage property is within bounds for the current page range.
38
35
  * If not, return a correct value for currentPage, or the current value if OK.
@@ -11,6 +11,7 @@ export declare class PaginationBarComponent implements OnInit, OnChanges {
11
11
  itemsPerPage: number;
12
12
  totalItems: number;
13
13
  paginationRange: number;
14
+ autoHide: boolean;
14
15
  previousClick: EventEmitter<void>;
15
16
  nextClick: EventEmitter<void>;
16
17
  pageClick: EventEmitter<any>;
@@ -24,6 +25,7 @@ export declare class PaginationBarComponent implements OnInit, OnChanges {
24
25
  onPreviousClick(): void;
25
26
  onNextClick(): void;
26
27
  onPageClick(value: any): void;
28
+ shouldBeHidden(): boolean;
27
29
  private _createPageArray;
28
30
  private _calculatePageNumber;
29
31
  }
@@ -63,5 +63,9 @@
63
63
  opacity: 1;
64
64
  cursor: default;
65
65
  }
66
+
67
+ li.disabled, a.disabled {
68
+ cursor: default;
69
+ }
66
70
  }
67
71
  }
@@ -1,3 +1,4 @@
1
- $cc-co-pagination-bar-border-color: $cc-color-border;
1
+ $cc-co-pagination-bar-background-color: white !default;
2
+ $cc-co-pagination-bar-border-color: $cc-color-border !default;
2
3
  $cc-co-pagination-bar-font-size: $cc-font-size-default !default;
3
4
  $cc-co-pagination-bar-font-size-small: $cc-font-size-small !default;
@@ -4,7 +4,7 @@
4
4
  li {
5
5
  color: #2b60a7;
6
6
  border: 1px solid $cc-co-pagination-bar-border-color;
7
- background-color: transparent;
7
+ background-color: $cc-co-pagination-bar-background-color;
8
8
  }
9
9
 
10
10
  li.pagination-next a:after {
@@ -46,6 +46,8 @@ export declare class SimpleGridComponent extends BaseSimpleGridComponent {
46
46
  private _getNextEditRowIndex;
47
47
  private _getPreviousEditRowIndex;
48
48
  private _saveRow;
49
- pageChange(page: number): void;
49
+ goToPreviousPage(): void;
50
+ goToNextPage(): void;
51
+ setCurrentPage(page: number): void;
50
52
  private _detectChanges;
51
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/corecomponents_v12",
3
- "version": "12.0.53",
3
+ "version": "12.0.56",
4
4
  "description": "Colijn IT core components for Angular 12",
5
5
  "private": false,
6
6
  "peerDependencies": {