@piying/view-angular-core 1.5.8 → 1.5.10
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
|
@@ -37,6 +37,9 @@ interface FieldFormConfig<T = any> {
|
|
|
37
37
|
/** group/array */
|
|
38
38
|
groupMode?: 'loose' | 'default' | 'strict' | 'reset';
|
|
39
39
|
groupKeySchema?: BaseSchema<any, any, any>;
|
|
40
|
+
/** logic group */
|
|
41
|
+
/** or在更新值时,会自动切换到第一个匹配的 */
|
|
42
|
+
disableOrUpdateActivate?: boolean;
|
|
40
43
|
}
|
|
41
44
|
type FieldFormConfig$ = WritableSignal<FieldFormConfig>;
|
|
42
45
|
type FieldGroupConfig$ = WritableSignal<Omit<FieldFormConfig, 'defaultValue'>>;
|
|
@@ -208,10 +211,9 @@ declare class FieldArray<TControl extends AbstractControl<any> = any> extends Fi
|
|
|
208
211
|
|
|
209
212
|
declare class FieldLogicGroup extends FieldArray {
|
|
210
213
|
#private;
|
|
211
|
-
/** 待定参数 */
|
|
212
214
|
activateIndex$: _angular_core.WritableSignal<number>;
|
|
213
215
|
type: _angular_core.WritableSignal<LogicType>;
|
|
214
|
-
|
|
216
|
+
activateControls$: _angular_core.WritableSignal<AbstractControl<any>[] | undefined>;
|
|
215
217
|
value$$: _angular_core.Signal<any>;
|
|
216
218
|
getValue(rawData: boolean): any;
|
|
217
219
|
reset(value?: any[]): void;
|