@esfaenza/core 19.2.92 → 19.2.93
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.
|
@@ -77,7 +77,7 @@ export declare class BaseSelectorComponent<TSearch extends AppSearch<TItem>, TIt
|
|
|
77
77
|
_outer: BaseSelectorComponent<any, any>;
|
|
78
78
|
bridge(outer: BaseSelectorComponent<any, any>): void;
|
|
79
79
|
ngOnInit(): Promise<void>;
|
|
80
|
-
ngOnDestroy(): void
|
|
80
|
+
ngOnDestroy(): Promise<void>;
|
|
81
81
|
ngOnChanges(changes: SimpleChanges): Promise<void>;
|
|
82
82
|
resetSearch(applyFilters?: boolean): boolean;
|
|
83
83
|
initStartValue(valueId: string): void;
|
|
@@ -1789,9 +1789,10 @@ class BaseSelectorComponent {
|
|
|
1789
1789
|
await this.loadSearchDictionaries();
|
|
1790
1790
|
this.resetSearch();
|
|
1791
1791
|
}
|
|
1792
|
-
ngOnDestroy() {
|
|
1792
|
+
async ngOnDestroy() {
|
|
1793
1793
|
this.destroyed$.next();
|
|
1794
1794
|
this.destroyed$.complete();
|
|
1795
|
+
await firstValueFrom(this.Initialized);
|
|
1795
1796
|
// Su distruzione se il form è detatched, ripulisco
|
|
1796
1797
|
if (this.Form)
|
|
1797
1798
|
this.Form.removeControl(this.ngControl);
|