@seniorsistemas/platform-components 5.0.4 → 5.1.0
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/seniorsistemas-platform-components.umd.js +10 -0
- package/bundles/seniorsistemas-platform-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-platform-components.umd.min.js +1 -1
- package/bundles/seniorsistemas-platform-components.umd.min.js.map +1 -1
- package/esm2015/modules/advanced-filter/components/advanced-filter/advanced-filter.component.js +11 -1
- package/esm5/modules/advanced-filter/components/advanced-filter/advanced-filter.component.js +11 -1
- package/fesm2015/seniorsistemas-platform-components.js +10 -0
- package/fesm2015/seniorsistemas-platform-components.js.map +1 -1
- package/fesm5/seniorsistemas-platform-components.js +10 -0
- package/fesm5/seniorsistemas-platform-components.js.map +1 -1
- package/modules/advanced-filter/components/advanced-filter/advanced-filter.component.d.ts +1 -0
- package/package.json +1 -1
- package/seniorsistemas-platform-components.metadata.json +1 -1
|
@@ -1651,6 +1651,7 @@
|
|
|
1651
1651
|
this.hideButtons = false;
|
|
1652
1652
|
this.canOpenFilter = true;
|
|
1653
1653
|
this.showActiveFiltersCountBadge = true;
|
|
1654
|
+
this.filterAndSave = false;
|
|
1654
1655
|
this.subscriptions = [];
|
|
1655
1656
|
this.isMobile = false;
|
|
1656
1657
|
this.tabViewOrientation = 'left';
|
|
@@ -1712,9 +1713,15 @@
|
|
|
1712
1713
|
if (this.modalComponent.hasChanges()) {
|
|
1713
1714
|
this.showDialog = false;
|
|
1714
1715
|
}
|
|
1716
|
+
if (this.filterAndSave) {
|
|
1717
|
+
this.modalComponent.saveFilters();
|
|
1718
|
+
}
|
|
1715
1719
|
this.modalComponent.applyFilters(true);
|
|
1716
1720
|
};
|
|
1717
1721
|
AdvancedFilterComponent.prototype.onApplyFilters = function () {
|
|
1722
|
+
if (this.filterAndSave) {
|
|
1723
|
+
this.modalComponent.saveFilters();
|
|
1724
|
+
}
|
|
1718
1725
|
this.modalComponent.onApplyFilters();
|
|
1719
1726
|
};
|
|
1720
1727
|
AdvancedFilterComponent.prototype.toggleDialog = function () {
|
|
@@ -1742,6 +1749,9 @@
|
|
|
1742
1749
|
__decorate([
|
|
1743
1750
|
core.Input()
|
|
1744
1751
|
], AdvancedFilterComponent.prototype, "showActiveFiltersCountBadge", void 0);
|
|
1752
|
+
__decorate([
|
|
1753
|
+
core.Input()
|
|
1754
|
+
], AdvancedFilterComponent.prototype, "filterAndSave", void 0);
|
|
1745
1755
|
__decorate([
|
|
1746
1756
|
core.ViewChild(FormFilterComponent)
|
|
1747
1757
|
], AdvancedFilterComponent.prototype, "modalComponent", void 0);
|