ngx-aur-mat-table 12.2.10 → 12.2.12
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 +26 -25
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/filters/NgxAurFilters.js +23 -23
- package/esm2015/lib/ngx-aur-mat-table-filterable.js +1 -1
- package/esm2015/lib/ngx-aur-mat-table.component.js +5 -4
- package/fesm2015/ngx-aur-mat-table.js +27 -26
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/filters/NgxAurFilters.d.ts +1 -1
- package/lib/ngx-aur-mat-table-filterable.d.ts +2 -2
- package/lib/ngx-aur-mat-table.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1059,16 +1059,17 @@
|
|
|
1059
1059
|
};
|
|
1060
1060
|
NgxAurMatTableComponent.prototype.removeFilter = function (filterName) {
|
|
1061
1061
|
this.filterStorage.delete(filterName);
|
|
1062
|
+
this.applyFiltersInternal();
|
|
1062
1063
|
};
|
|
1063
1064
|
NgxAurMatTableComponent.prototype.applyFilter = function (filterName, filter) {
|
|
1064
1065
|
this.filterStorage.set(filterName, filter);
|
|
1065
|
-
this.
|
|
1066
|
+
this.applyFiltersInternal();
|
|
1066
1067
|
};
|
|
1067
1068
|
NgxAurMatTableComponent.prototype.clearFilters = function () {
|
|
1068
1069
|
this.filterStorage.clear();
|
|
1069
|
-
this.
|
|
1070
|
+
this.applyFiltersInternal();
|
|
1070
1071
|
};
|
|
1071
|
-
NgxAurMatTableComponent.prototype.
|
|
1072
|
+
NgxAurMatTableComponent.prototype.applyFiltersInternal = function () {
|
|
1072
1073
|
var filterActions = __spreadArray([], __read(this.filterStorage.values()));
|
|
1073
1074
|
this.tableDataSource.filterPredicate = function (data) {
|
|
1074
1075
|
return filterActions.every(function (filterAction) { return filterAction.filterFn()(data); });
|
|
@@ -1339,8 +1340,8 @@
|
|
|
1339
1340
|
})(FontWeight = StyleBuilder.FontWeight || (StyleBuilder.FontWeight = {}));
|
|
1340
1341
|
})(exports.StyleBuilder || (exports.StyleBuilder = {}));
|
|
1341
1342
|
|
|
1342
|
-
exports.
|
|
1343
|
-
(function (
|
|
1343
|
+
exports.NgxAurFilters = void 0;
|
|
1344
|
+
(function (NgxAurFilters) {
|
|
1344
1345
|
/**
|
|
1345
1346
|
* Base abstract class for filter.
|
|
1346
1347
|
* Defines a common interface for all filters.
|
|
@@ -1351,7 +1352,7 @@
|
|
|
1351
1352
|
}
|
|
1352
1353
|
return Base;
|
|
1353
1354
|
}());
|
|
1354
|
-
|
|
1355
|
+
NgxAurFilters.Base = Base;
|
|
1355
1356
|
var ExtractableProperty = /** @class */ (function (_super) {
|
|
1356
1357
|
__extends(ExtractableProperty, _super);
|
|
1357
1358
|
function ExtractableProperty() {
|
|
@@ -1359,7 +1360,7 @@
|
|
|
1359
1360
|
}
|
|
1360
1361
|
return ExtractableProperty;
|
|
1361
1362
|
}(Base));
|
|
1362
|
-
|
|
1363
|
+
NgxAurFilters.ExtractableProperty = ExtractableProperty;
|
|
1363
1364
|
/**
|
|
1364
1365
|
* Class for filtering data based on a single value.
|
|
1365
1366
|
* @template T The type of data to be filtered.
|
|
@@ -1374,7 +1375,7 @@
|
|
|
1374
1375
|
}
|
|
1375
1376
|
return ValueSingle;
|
|
1376
1377
|
}(ExtractableProperty));
|
|
1377
|
-
|
|
1378
|
+
NgxAurFilters.ValueSingle = ValueSingle;
|
|
1378
1379
|
/**
|
|
1379
1380
|
* Class for filtering data based on an array of values.
|
|
1380
1381
|
* @template T The type of data to be filtered.
|
|
@@ -1389,7 +1390,7 @@
|
|
|
1389
1390
|
}
|
|
1390
1391
|
return ValueArray;
|
|
1391
1392
|
}(ExtractableProperty));
|
|
1392
|
-
|
|
1393
|
+
NgxAurFilters.ValueArray = ValueArray;
|
|
1393
1394
|
/**
|
|
1394
1395
|
* Class for filtering data based on a set of values.
|
|
1395
1396
|
* @template T The type of data to be filtered.
|
|
@@ -1404,7 +1405,7 @@
|
|
|
1404
1405
|
}
|
|
1405
1406
|
return ValueSet;
|
|
1406
1407
|
}(ExtractableProperty));
|
|
1407
|
-
|
|
1408
|
+
NgxAurFilters.ValueSet = ValueSet;
|
|
1408
1409
|
/**
|
|
1409
1410
|
* Class for filtering data within a min-max range.
|
|
1410
1411
|
* @template T The type of data to be filtered.
|
|
@@ -1420,7 +1421,7 @@
|
|
|
1420
1421
|
}
|
|
1421
1422
|
return ValueMinMax;
|
|
1422
1423
|
}(ExtractableProperty));
|
|
1423
|
-
|
|
1424
|
+
NgxAurFilters.ValueMinMax = ValueMinMax;
|
|
1424
1425
|
/**
|
|
1425
1426
|
* Abstract class for filtering data based on whether a specific property
|
|
1426
1427
|
* of the data, when trimmed and converted to lower case, contains a specified
|
|
@@ -1441,7 +1442,7 @@
|
|
|
1441
1442
|
};
|
|
1442
1443
|
return ContainsStringIgnoreCase;
|
|
1443
1444
|
}(ValueSingle));
|
|
1444
|
-
|
|
1445
|
+
NgxAurFilters.ContainsStringIgnoreCase = ContainsStringIgnoreCase;
|
|
1445
1446
|
var EqualString = /** @class */ (function (_super) {
|
|
1446
1447
|
__extends(EqualString, _super);
|
|
1447
1448
|
function EqualString() {
|
|
@@ -1456,7 +1457,7 @@
|
|
|
1456
1457
|
};
|
|
1457
1458
|
return EqualString;
|
|
1458
1459
|
}(ValueSingle));
|
|
1459
|
-
|
|
1460
|
+
NgxAurFilters.EqualString = EqualString;
|
|
1460
1461
|
var EqualNumber = /** @class */ (function (_super) {
|
|
1461
1462
|
__extends(EqualNumber, _super);
|
|
1462
1463
|
function EqualNumber() {
|
|
@@ -1471,7 +1472,7 @@
|
|
|
1471
1472
|
};
|
|
1472
1473
|
return EqualNumber;
|
|
1473
1474
|
}(ValueSingle));
|
|
1474
|
-
|
|
1475
|
+
NgxAurFilters.EqualNumber = EqualNumber;
|
|
1475
1476
|
var LessNumber = /** @class */ (function (_super) {
|
|
1476
1477
|
__extends(LessNumber, _super);
|
|
1477
1478
|
function LessNumber() {
|
|
@@ -1486,7 +1487,7 @@
|
|
|
1486
1487
|
};
|
|
1487
1488
|
return LessNumber;
|
|
1488
1489
|
}(ValueSingle));
|
|
1489
|
-
|
|
1490
|
+
NgxAurFilters.LessNumber = LessNumber;
|
|
1490
1491
|
var LessOrEqualNumber = /** @class */ (function (_super) {
|
|
1491
1492
|
__extends(LessOrEqualNumber, _super);
|
|
1492
1493
|
function LessOrEqualNumber() {
|
|
@@ -1501,7 +1502,7 @@
|
|
|
1501
1502
|
};
|
|
1502
1503
|
return LessOrEqualNumber;
|
|
1503
1504
|
}(ValueSingle));
|
|
1504
|
-
|
|
1505
|
+
NgxAurFilters.LessOrEqualNumber = LessOrEqualNumber;
|
|
1505
1506
|
var MoreNumber = /** @class */ (function (_super) {
|
|
1506
1507
|
__extends(MoreNumber, _super);
|
|
1507
1508
|
function MoreNumber() {
|
|
@@ -1516,7 +1517,7 @@
|
|
|
1516
1517
|
};
|
|
1517
1518
|
return MoreNumber;
|
|
1518
1519
|
}(ValueSingle));
|
|
1519
|
-
|
|
1520
|
+
NgxAurFilters.MoreNumber = MoreNumber;
|
|
1520
1521
|
var MoreOrEqualNumber = /** @class */ (function (_super) {
|
|
1521
1522
|
__extends(MoreOrEqualNumber, _super);
|
|
1522
1523
|
function MoreOrEqualNumber() {
|
|
@@ -1531,7 +1532,7 @@
|
|
|
1531
1532
|
};
|
|
1532
1533
|
return MoreOrEqualNumber;
|
|
1533
1534
|
}(ValueSingle));
|
|
1534
|
-
|
|
1535
|
+
NgxAurFilters.MoreOrEqualNumber = MoreOrEqualNumber;
|
|
1535
1536
|
var NumberRangeInclMinExclMax = /** @class */ (function (_super) {
|
|
1536
1537
|
__extends(NumberRangeInclMinExclMax, _super);
|
|
1537
1538
|
function NumberRangeInclMinExclMax() {
|
|
@@ -1546,7 +1547,7 @@
|
|
|
1546
1547
|
};
|
|
1547
1548
|
return NumberRangeInclMinExclMax;
|
|
1548
1549
|
}(ValueMinMax));
|
|
1549
|
-
|
|
1550
|
+
NgxAurFilters.NumberRangeInclMinExclMax = NumberRangeInclMinExclMax;
|
|
1550
1551
|
var NumberRangeExclMinInclMax = /** @class */ (function (_super) {
|
|
1551
1552
|
__extends(NumberRangeExclMinInclMax, _super);
|
|
1552
1553
|
function NumberRangeExclMinInclMax() {
|
|
@@ -1561,7 +1562,7 @@
|
|
|
1561
1562
|
};
|
|
1562
1563
|
return NumberRangeExclMinInclMax;
|
|
1563
1564
|
}(ValueMinMax));
|
|
1564
|
-
|
|
1565
|
+
NgxAurFilters.NumberRangeExclMinInclMax = NumberRangeExclMinInclMax;
|
|
1565
1566
|
var NumberRangeInclMinInclMax = /** @class */ (function (_super) {
|
|
1566
1567
|
__extends(NumberRangeInclMinInclMax, _super);
|
|
1567
1568
|
function NumberRangeInclMinInclMax() {
|
|
@@ -1576,7 +1577,7 @@
|
|
|
1576
1577
|
};
|
|
1577
1578
|
return NumberRangeInclMinInclMax;
|
|
1578
1579
|
}(ValueMinMax));
|
|
1579
|
-
|
|
1580
|
+
NgxAurFilters.NumberRangeInclMinInclMax = NumberRangeInclMinInclMax;
|
|
1580
1581
|
var NumberRangeExclMinExclMax = /** @class */ (function (_super) {
|
|
1581
1582
|
__extends(NumberRangeExclMinExclMax, _super);
|
|
1582
1583
|
function NumberRangeExclMinExclMax() {
|
|
@@ -1591,7 +1592,7 @@
|
|
|
1591
1592
|
};
|
|
1592
1593
|
return NumberRangeExclMinExclMax;
|
|
1593
1594
|
}(ValueMinMax));
|
|
1594
|
-
|
|
1595
|
+
NgxAurFilters.NumberRangeExclMinExclMax = NumberRangeExclMinExclMax;
|
|
1595
1596
|
var hasInSet = /** @class */ (function (_super) {
|
|
1596
1597
|
__extends(hasInSet, _super);
|
|
1597
1598
|
function hasInSet() {
|
|
@@ -1606,7 +1607,7 @@
|
|
|
1606
1607
|
};
|
|
1607
1608
|
return hasInSet;
|
|
1608
1609
|
}(ValueSet));
|
|
1609
|
-
|
|
1610
|
+
NgxAurFilters.hasInSet = hasInSet;
|
|
1610
1611
|
var notHasInSet = /** @class */ (function (_super) {
|
|
1611
1612
|
__extends(notHasInSet, _super);
|
|
1612
1613
|
function notHasInSet() {
|
|
@@ -1621,8 +1622,8 @@
|
|
|
1621
1622
|
};
|
|
1622
1623
|
return notHasInSet;
|
|
1623
1624
|
}(ValueSet));
|
|
1624
|
-
|
|
1625
|
-
})(exports.
|
|
1625
|
+
NgxAurFilters.notHasInSet = notHasInSet;
|
|
1626
|
+
})(exports.NgxAurFilters || (exports.NgxAurFilters = {}));
|
|
1626
1627
|
|
|
1627
1628
|
/*
|
|
1628
1629
|
* Public API Surface of ngx-aur-mat-table
|