@esfaenza/core 19.2.88 → 19.2.90
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.
|
@@ -74,6 +74,7 @@ export declare class BaseSelectorComponent<TSearch extends AppSearch<TItem>, TIt
|
|
|
74
74
|
private redirectMap;
|
|
75
75
|
private routesMap;
|
|
76
76
|
constructor(injector: Injector);
|
|
77
|
+
_outer: BaseSelectorComponent<any, any>;
|
|
77
78
|
bridge(outer: BaseSelectorComponent<any, any>): void;
|
|
78
79
|
ngOnInit(): Promise<void>;
|
|
79
80
|
ngOnDestroy(): void;
|
|
@@ -1726,6 +1726,7 @@ class BaseSelectorComponent {
|
|
|
1726
1726
|
});
|
|
1727
1727
|
}
|
|
1728
1728
|
bridge(outer) {
|
|
1729
|
+
this._outer = outer;
|
|
1729
1730
|
this.DisplayMode = outer.DisplayMode;
|
|
1730
1731
|
// Bridge degli input da fuori a dentro
|
|
1731
1732
|
this.DisplayMode = outer.DisplayMode;
|
|
@@ -1849,6 +1850,10 @@ class BaseSelectorComponent {
|
|
|
1849
1850
|
}
|
|
1850
1851
|
sendSearch(resetPage = true, selectResults, applyOtherFilters = true) {
|
|
1851
1852
|
if (applyOtherFilters) {
|
|
1853
|
+
for (var prop in this._outer.searchView) {
|
|
1854
|
+
if (prop.startsWith("filter"))
|
|
1855
|
+
this.searchView[prop] = this._outer.searchView[prop];
|
|
1856
|
+
}
|
|
1852
1857
|
this.applyFilters(this.searchView, this.firstApplication);
|
|
1853
1858
|
this.firstApplication = false;
|
|
1854
1859
|
}
|