@piying/view-core 2.6.2 → 2.6.3
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/fesm2022/piying-view-core.mjs +77 -26
- package/fesm2022/piying-view-core.mjs.map +1 -1
- package/index.d.ts +6 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -31,6 +31,8 @@ interface FieldFormConfig<T = any> {
|
|
|
31
31
|
updateOn?: FormHooks;
|
|
32
32
|
/** auto */
|
|
33
33
|
required?: boolean;
|
|
34
|
+
undefinedable?: boolean;
|
|
35
|
+
nullable?: boolean;
|
|
34
36
|
/** array/group/logic group */
|
|
35
37
|
emptyValue?: any;
|
|
36
38
|
/** array */
|
|
@@ -97,6 +99,7 @@ declare const InitPendingValue: {
|
|
|
97
99
|
};
|
|
98
100
|
declare abstract class AbstractControl<TValue = any> {
|
|
99
101
|
#private;
|
|
102
|
+
protected skipValuePath?: boolean;
|
|
100
103
|
pendingStatus: static_injector.WritableSignal<{
|
|
101
104
|
touched: boolean;
|
|
102
105
|
change: boolean;
|
|
@@ -142,6 +145,8 @@ declare abstract class AbstractControl<TValue = any> {
|
|
|
142
145
|
/** parent */
|
|
143
146
|
private _parent?;
|
|
144
147
|
get parent(): AbstractControl | undefined;
|
|
148
|
+
get valuePath(): (string | number)[];
|
|
149
|
+
get formPath(): (string | number)[];
|
|
145
150
|
get value(): TValue;
|
|
146
151
|
required$$: Signal<boolean | undefined>;
|
|
147
152
|
readonly schemaParser: v.SafeParser<SchemaOrPipe, undefined>;
|
|
@@ -252,6 +257,7 @@ declare class FieldArray<TControl extends AbstractControl<any> = any> extends Fi
|
|
|
252
257
|
|
|
253
258
|
declare class FieldLogicGroup extends FieldArray {
|
|
254
259
|
#private;
|
|
260
|
+
protected skipValuePath: boolean;
|
|
255
261
|
activateIndex$: static_injector.WritableSignal<number>;
|
|
256
262
|
type: static_injector.WritableSignal<LogicType>;
|
|
257
263
|
/** 过滤激活控件 */
|