ngx-aur-mat-table 12.2.24 → 12.2.25
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 +50 -7
- package/bundles/ngx-aur-mat-table.umd.js.map +1 -1
- package/esm2015/lib/filters/NgxAurFilters.js +33 -8
- package/fesm2015/ngx-aur-mat-table.js +32 -7
- package/fesm2015/ngx-aur-mat-table.js.map +1 -1
- package/lib/filters/NgxAurFilters.d.ts +19 -7
- package/package.json +1 -1
|
@@ -1577,15 +1577,58 @@
|
|
|
1577
1577
|
*/
|
|
1578
1578
|
var ValueMinMax = /** @class */ (function (_super) {
|
|
1579
1579
|
__extends(ValueMinMax, _super);
|
|
1580
|
-
function ValueMinMax(
|
|
1580
|
+
function ValueMinMax(_min, _max) {
|
|
1581
1581
|
var _this = _super.call(this) || this;
|
|
1582
|
-
_this.
|
|
1583
|
-
_this.
|
|
1582
|
+
_this._min = _min;
|
|
1583
|
+
_this._max = _max;
|
|
1584
1584
|
return _this;
|
|
1585
1585
|
}
|
|
1586
|
+
Object.defineProperty(ValueMinMax.prototype, "min", {
|
|
1587
|
+
get: function () {
|
|
1588
|
+
return this._min;
|
|
1589
|
+
},
|
|
1590
|
+
enumerable: false,
|
|
1591
|
+
configurable: true
|
|
1592
|
+
});
|
|
1593
|
+
Object.defineProperty(ValueMinMax.prototype, "max", {
|
|
1594
|
+
get: function () {
|
|
1595
|
+
return this._max;
|
|
1596
|
+
},
|
|
1597
|
+
enumerable: false,
|
|
1598
|
+
configurable: true
|
|
1599
|
+
});
|
|
1586
1600
|
return ValueMinMax;
|
|
1587
1601
|
}(ExtractableProperty));
|
|
1588
1602
|
NgxAurFilters.ValueMinMax = ValueMinMax;
|
|
1603
|
+
/**
|
|
1604
|
+
* Class for filtering data within a min-max range.
|
|
1605
|
+
* @template T The type of data to be filtered.
|
|
1606
|
+
* @template V The type of the values defining the range.
|
|
1607
|
+
*/
|
|
1608
|
+
var ValueMinMaxNumber = /** @class */ (function (_super) {
|
|
1609
|
+
__extends(ValueMinMaxNumber, _super);
|
|
1610
|
+
function ValueMinMaxNumber(min, max) {
|
|
1611
|
+
return _super.call(this, min, max) || this;
|
|
1612
|
+
}
|
|
1613
|
+
Object.defineProperty(ValueMinMaxNumber.prototype, "min", {
|
|
1614
|
+
get: function () {
|
|
1615
|
+
var _a;
|
|
1616
|
+
return (_a = this._min) !== null && _a !== void 0 ? _a : Number.MIN_VALUE;
|
|
1617
|
+
},
|
|
1618
|
+
enumerable: false,
|
|
1619
|
+
configurable: true
|
|
1620
|
+
});
|
|
1621
|
+
Object.defineProperty(ValueMinMaxNumber.prototype, "max", {
|
|
1622
|
+
get: function () {
|
|
1623
|
+
var _a;
|
|
1624
|
+
return (_a = this._max) !== null && _a !== void 0 ? _a : Number.MAX_VALUE;
|
|
1625
|
+
},
|
|
1626
|
+
enumerable: false,
|
|
1627
|
+
configurable: true
|
|
1628
|
+
});
|
|
1629
|
+
return ValueMinMaxNumber;
|
|
1630
|
+
}(ValueMinMax));
|
|
1631
|
+
NgxAurFilters.ValueMinMaxNumber = ValueMinMaxNumber;
|
|
1589
1632
|
/**
|
|
1590
1633
|
* Abstract class for filtering data based on whether a specific property
|
|
1591
1634
|
* of the data, when trimmed and converted to lower case, contains a specified
|
|
@@ -1710,7 +1753,7 @@
|
|
|
1710
1753
|
};
|
|
1711
1754
|
};
|
|
1712
1755
|
return NumberRangeInclMinExclMax;
|
|
1713
|
-
}(
|
|
1756
|
+
}(ValueMinMaxNumber));
|
|
1714
1757
|
NgxAurFilters.NumberRangeInclMinExclMax = NumberRangeInclMinExclMax;
|
|
1715
1758
|
var NumberRangeExclMinInclMax = /** @class */ (function (_super) {
|
|
1716
1759
|
__extends(NumberRangeExclMinInclMax, _super);
|
|
@@ -1725,7 +1768,7 @@
|
|
|
1725
1768
|
};
|
|
1726
1769
|
};
|
|
1727
1770
|
return NumberRangeExclMinInclMax;
|
|
1728
|
-
}(
|
|
1771
|
+
}(ValueMinMaxNumber));
|
|
1729
1772
|
NgxAurFilters.NumberRangeExclMinInclMax = NumberRangeExclMinInclMax;
|
|
1730
1773
|
var NumberRangeInclMinInclMax = /** @class */ (function (_super) {
|
|
1731
1774
|
__extends(NumberRangeInclMinInclMax, _super);
|
|
@@ -1740,7 +1783,7 @@
|
|
|
1740
1783
|
};
|
|
1741
1784
|
};
|
|
1742
1785
|
return NumberRangeInclMinInclMax;
|
|
1743
|
-
}(
|
|
1786
|
+
}(ValueMinMaxNumber));
|
|
1744
1787
|
NgxAurFilters.NumberRangeInclMinInclMax = NumberRangeInclMinInclMax;
|
|
1745
1788
|
var NumberRangeExclMinExclMax = /** @class */ (function (_super) {
|
|
1746
1789
|
__extends(NumberRangeExclMinExclMax, _super);
|
|
@@ -1755,7 +1798,7 @@
|
|
|
1755
1798
|
};
|
|
1756
1799
|
};
|
|
1757
1800
|
return NumberRangeExclMinExclMax;
|
|
1758
|
-
}(
|
|
1801
|
+
}(ValueMinMaxNumber));
|
|
1759
1802
|
NgxAurFilters.NumberRangeExclMinExclMax = NumberRangeExclMinExclMax;
|
|
1760
1803
|
var hasInSet = /** @class */ (function (_super) {
|
|
1761
1804
|
__extends(hasInSet, _super);
|