ngx-aur-mat-table 12.2.26 → 12.2.27
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/bundles/ngx-aur-mat-table.umd.js +14 -4
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/filters/NgxAurFilters.js +7 -1
- package/esm2015/lib/ngx-aur-mat-table.component.js +9 -5
- package/fesm2015/ngx-aur-mat-table.js +14 -4
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/filters/NgxAurFilters.d.ts +16 -0
- package/package.json +1 -1
|
@@ -1220,12 +1220,16 @@
|
|
|
1220
1220
|
this.emitFilteredValues();
|
|
1221
1221
|
};
|
|
1222
1222
|
NgxAurMatTableComponent.prototype.removeFilter = function (filterName) {
|
|
1223
|
-
this.filterStorage.
|
|
1224
|
-
|
|
1223
|
+
if (this.filterStorage.get(filterName)) {
|
|
1224
|
+
this.filterStorage.delete(filterName);
|
|
1225
|
+
this.applyFiltersInternal();
|
|
1226
|
+
}
|
|
1225
1227
|
};
|
|
1226
1228
|
NgxAurMatTableComponent.prototype.applyFilter = function (filterName, filter) {
|
|
1227
|
-
this.filterStorage.
|
|
1228
|
-
|
|
1229
|
+
if (!this.filterStorage.get(filterName) || (!this.filterStorage.get(filterName).equals(filter))) {
|
|
1230
|
+
this.filterStorage.set(filterName, filter);
|
|
1231
|
+
this.applyFiltersInternal();
|
|
1232
|
+
}
|
|
1229
1233
|
};
|
|
1230
1234
|
NgxAurMatTableComponent.prototype.clearFilters = function () {
|
|
1231
1235
|
this.filterStorage.clear();
|
|
@@ -1537,6 +1541,9 @@
|
|
|
1537
1541
|
_this.value = value;
|
|
1538
1542
|
return _this;
|
|
1539
1543
|
}
|
|
1544
|
+
ValueSingle.prototype.equals = function (other) {
|
|
1545
|
+
return this.value === other.value;
|
|
1546
|
+
};
|
|
1540
1547
|
return ValueSingle;
|
|
1541
1548
|
}(ExtractableProperty));
|
|
1542
1549
|
NgxAurFilters.ValueSingle = ValueSingle;
|
|
@@ -1597,6 +1604,9 @@
|
|
|
1597
1604
|
enumerable: false,
|
|
1598
1605
|
configurable: true
|
|
1599
1606
|
});
|
|
1607
|
+
ValueMinMax.prototype.equals = function (other) {
|
|
1608
|
+
return this._min === other._min && this._max === other._max;
|
|
1609
|
+
};
|
|
1600
1610
|
return ValueMinMax;
|
|
1601
1611
|
}(ExtractableProperty));
|
|
1602
1612
|
NgxAurFilters.ValueMinMax = ValueMinMax;
|