@ngx-formly/core 6.1.3 → 6.1.5
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/esm2020/lib/components/formly.field.mjs +2 -2
- package/esm2020/lib/extensions/field-expression/field-expression.mjs +25 -18
- package/esm2020/lib/extensions/field-form/field-form.mjs +5 -2
- package/esm2020/lib/utils.mjs +2 -2
- package/esm2020/select/select-options.pipe.mjs +1 -1
- package/fesm2015/ngx-formly-core-select.mjs.map +1 -1
- package/fesm2015/ngx-formly-core.mjs +30 -20
- package/fesm2015/ngx-formly-core.mjs.map +1 -1
- package/fesm2020/ngx-formly-core-select.mjs.map +1 -1
- package/fesm2020/ngx-formly-core.mjs +30 -20
- package/fesm2020/ngx-formly-core.mjs.map +1 -1
- package/lib/utils.d.ts +1 -1
- package/package.json +1 -1
- package/select/select-options.pipe.d.ts +3 -3
package/lib/utils.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ interface IObserveTarget<T> {
|
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
38
|
}
|
|
39
|
-
export declare function observeDeep(source:
|
|
39
|
+
export declare function observeDeep<T = any>(source: IObserveTarget<T>, paths: string[], setFn: () => void): () => void;
|
|
40
40
|
export declare function observe<T = any>(o: IObserveTarget<T>, paths: string[], setFn: IObserveFn<T>): IObserver<T>;
|
|
41
41
|
export declare function getField(f: FormlyFieldConfig, key: FormlyFieldConfig['key']): FormlyFieldConfig;
|
|
42
42
|
export declare function markFieldForCheck(field: FormlyFieldConfigCache): void;
|
package/package.json
CHANGED
|
@@ -10,9 +10,9 @@ export interface FormlySelectOption {
|
|
|
10
10
|
}
|
|
11
11
|
export interface FormlyFieldSelectProps extends FormlyFieldProps {
|
|
12
12
|
groupProp?: string | ((option: any) => string);
|
|
13
|
-
labelProp?: string | ((option: any) =>
|
|
14
|
-
valueProp?: string | ((option: any) =>
|
|
15
|
-
disabledProp?: string | ((option: any) =>
|
|
13
|
+
labelProp?: string | ((option: any) => string);
|
|
14
|
+
valueProp?: string | ((option: any) => any);
|
|
15
|
+
disabledProp?: string | ((option: any) => boolean);
|
|
16
16
|
}
|
|
17
17
|
export declare class FormlySelectOptionsPipe implements PipeTransform, OnDestroy {
|
|
18
18
|
private _subscription;
|