ngx-redi-core 1.0.6 → 1.0.8
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.
|
@@ -9,8 +9,7 @@
|
|
|
9
9
|
<th mat-header-cell *matHeaderCellDef>
|
|
10
10
|
<mat-checkbox (change)="$event ? toggleAllRows() : null"
|
|
11
11
|
[checked]="dataTable.selection.hasValue() && isAllSelected()"
|
|
12
|
-
[indeterminate]="dataTable.selection.hasValue() && !isAllSelected()"
|
|
13
|
-
[aria-label]="checkboxLabel()">
|
|
12
|
+
[indeterminate]="dataTable.selection.hasValue() && !isAllSelected()">
|
|
14
13
|
</mat-checkbox>
|
|
15
14
|
</th>
|
|
16
15
|
<td mat-cell *matCellDef="let row">
|
|
@@ -124,9 +124,8 @@ export class RediTableComponent<T> implements AfterViewInit, OnChanges {
|
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
isSortActive() {
|
|
127
|
-
if (!this.sortData) {
|
|
127
|
+
if (!this.sortData && this.sort) {
|
|
128
128
|
this.sort.direction = '';
|
|
129
|
-
this.sort
|
|
130
129
|
}
|
|
131
130
|
return !this.sortData
|
|
132
131
|
}
|
|
@@ -144,7 +143,7 @@ export class RediTableComponent<T> implements AfterViewInit, OnChanges {
|
|
|
144
143
|
const numRows = this.dataSource.data.length;
|
|
145
144
|
return numSelected === numRows;
|
|
146
145
|
}
|
|
147
|
-
|
|
146
|
+
|
|
148
147
|
checkboxLabel(row?: any): string {
|
|
149
148
|
if (!row) {
|
|
150
149
|
return `${this.isAllSelected() ? 'deselect' : 'select'} all`;
|
package/package.json
CHANGED
|
@@ -1,17 +1,37 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ngx-redi-core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
+
"@angular/cdk": "^15.2.9",
|
|
6
|
+
"@angular/animations": "^15.2.9",
|
|
5
7
|
"@angular/common": "^15.2.9",
|
|
8
|
+
"@angular/compiler": "^15.2.9",
|
|
6
9
|
"@angular/core": "^15.2.9",
|
|
7
|
-
"@angular
|
|
10
|
+
"@angular/forms": "^15.2.9",
|
|
11
|
+
"@angular/material": "^15.2.9",
|
|
12
|
+
"@angular/platform-browser": "^15.2.9",
|
|
13
|
+
"@angular/platform-browser-dynamic": "^15.2.9",
|
|
14
|
+
"@angular/router": "^15.2.9",
|
|
15
|
+
"rxjs": "~7.8.1",
|
|
16
|
+
"zone.js": "~0.13.0"
|
|
8
17
|
},
|
|
9
18
|
"dependencies": {
|
|
10
19
|
"tslib": "^2.5.0"
|
|
11
20
|
},
|
|
12
21
|
"devDependencies": {
|
|
13
|
-
"@angular/cdk": "^15.2.9"
|
|
22
|
+
"@angular/cdk": "^15.2.9",
|
|
23
|
+
"@angular/animations": "^15.2.9",
|
|
24
|
+
"@angular/common": "^15.2.9",
|
|
25
|
+
"@angular/compiler": "^15.2.9",
|
|
26
|
+
"@angular/core": "^15.2.9",
|
|
27
|
+
"@angular/forms": "^15.2.9",
|
|
28
|
+
"@angular/material": "^15.2.9",
|
|
29
|
+
"@angular/platform-browser": "^15.2.9",
|
|
30
|
+
"@angular/platform-browser-dynamic": "^15.2.9",
|
|
31
|
+
"@angular/router": "^15.2.9",
|
|
32
|
+
"rxjs": "~7.8.1",
|
|
33
|
+
"zone.js": "~0.13.0"
|
|
14
34
|
},
|
|
15
35
|
"sideEffects": false,
|
|
16
36
|
"allowedNonPeerDependencies": []
|
|
17
|
-
}
|
|
37
|
+
}
|