@elite.framework/ng.core 1.0.45 → 1.0.47
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/index.d.ts
CHANGED
|
@@ -899,6 +899,7 @@ interface GenericSelectorProps extends FormlyFieldProps$1 {
|
|
|
899
899
|
/** Async offline items (observable) */
|
|
900
900
|
offlineItems$?: Observable<any[]>;
|
|
901
901
|
/** Function-based filter for offline items */
|
|
902
|
+
onSelect?: (field: FormlyFieldConfig, event?: any) => void;
|
|
902
903
|
offlineDataFn?: (query?: string) => any[];
|
|
903
904
|
fixedFilters?: Record<string, any>;
|
|
904
905
|
defaultValue?: any;
|
|
@@ -920,6 +921,7 @@ declare class GenericSelectorTypeComponent extends FieldType$1<FieldTypeConfig<G
|
|
|
920
921
|
ngOnInit(): void;
|
|
921
922
|
ngOnDestroy(): void;
|
|
922
923
|
private loadDefaultValue;
|
|
924
|
+
onSelect(val: any): void;
|
|
923
925
|
onSelectionChange(val: any): void;
|
|
924
926
|
private initOfflineSelection;
|
|
925
927
|
private initOnlineSelection;
|