FieldLogicGroup
Defined in: projects/view-core/field/field-logic-group.ts:9
Extends
Section titled “Extends”FieldArray<TValue>
Type Parameters
Section titled “Type Parameters”TValue
Section titled “TValue”TValue = any
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FieldLogicGroup<
TValue>(rawSchema,injector):FieldLogicGroup<TValue>
Defined in: projects/view-core/field/abstract_model.ts:378
Parameters
Section titled “Parameters”rawSchema
Section titled “rawSchema”SchemaOrPipe
injector
Section titled “injector”Injector
Returns
Section titled “Returns”FieldLogicGroup<TValue>
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”activatedChildren
Section titled “activatedChildren”activatedChildren:
Signal<[number,AbstractControl<any>][]>
Defined in: projects/view-core/field/field-logic-group.ts:31
Overrides
Section titled “Overrides”activateIndex$
Section titled “activateIndex$”activateIndex$:
WritableSignal<number>
Defined in: projects/view-core/field/field-logic-group.ts:11
asyncError$$
Section titled “asyncError$$”asyncError$$:
Signal<"PENDING"| (ValidationValibotError2|ValidationErrorError2|ValidationDescendantError2|ValidationCommonError2)[] |undefined>
Defined in: projects/view-core/field/abstract_model.ts:288
Inherited from
Section titled “Inherited from”asyncErrorRes$$
Section titled “asyncErrorRes$$”asyncErrorRes$$:
Signal<Signal<typeofValidatorPending| (ValidationValibotError2|ValidationErrorError2|ValidationDescendantError2|ValidationCommonError2)[] |undefined> |undefined>
Defined in: projects/view-core/field/abstract_model.ts:242
Inherited from
Section titled “Inherited from”children$$
Section titled “children$$”children$$:
Signal<AbstractControl<any>[]>
Defined in: projects/view-core/field/field-array.ts:22
通用的子级,用于查询之类
Inherited from
Section titled “Inherited from”config$
Section titled “config$”config$:
FieldFormConfig$
Defined in: projects/view-core/field/abstract_model.ts:476
Inherited from
Section titled “Inherited from”context
Section titled “context”context:
any
Defined in: projects/view-core/field/abstract_model.ts:377
Inherited from
Section titled “Inherited from”dirty$$
Section titled “dirty$$”
readonlydirty$$:Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:159
Inherited from
Section titled “Inherited from”disabled$$
Section titled “disabled$$”
readonlydisabled$$:Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:124
self || parent
Inherited from
Section titled “Inherited from”enabled$$
Section titled “enabled$$”
readonlyenabled$$:Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:127
Inherited from
Section titled “Inherited from”filterActivateControl$
Section titled “filterActivateControl$”filterActivateControl$:
WritableSignal<((item,index,list) =>boolean) |undefined>
Defined in: projects/view-core/field/field-logic-group.ts:14
过滤激活控件
fixedControls$
Section titled “fixedControls$”fixedControls$:
WritableSignal<AbstractControl<any>[]>
Defined in: projects/view-core/field/field-array.ts:27
Inherited from
Section titled “Inherited from”FieldLogicGroup.fixedControls$
injector
Section titled “injector”
readonlyinjector:Injector
Defined in: projects/view-core/field/abstract_model.ts:106
Inherited from
Section titled “Inherited from”isOptionalEmpty
Section titled “isOptionalEmpty”isOptionalEmpty:
Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:177
Inherited from
Section titled “Inherited from”originValue$$
Section titled “originValue$$”originValue$$:
Signal<any>
Defined in: projects/view-core/field/field-logic-group.ts:23
Overrides
Section titled “Overrides”pendingStatus
Section titled “pendingStatus”pendingStatus:
WritableSignal<{change:boolean;touched:boolean;value:undefined; }>
Defined in: projects/view-core/field/abstract_model.ts:91
Inherited from
Section titled “Inherited from”rawError$$
Section titled “rawError$$”rawError$$:
Signal<"PENDING"|ValidationErrors2[] |undefined>
Defined in: projects/view-core/field/abstract_model.ts:304
Inherited from
Section titled “Inherited from”required$$
Section titled “required$$”required$$:
Signal<boolean|undefined>
Defined in: projects/view-core/field/abstract_model.ts:375
Inherited from
Section titled “Inherited from”resetControls$
Section titled “resetControls$”resetControls$:
WritableSignal<AbstractControl<any>[]>
Defined in: projects/view-core/field/field-array.ts:28
Inherited from
Section titled “Inherited from”FieldLogicGroup.resetControls$
resetValue$
Section titled “resetValue$”resetValue$:
WritableSignal<any>
Defined in: projects/view-core/field/field-group-base.ts:13
Inherited from
Section titled “Inherited from”schemaParser
Section titled “schemaParser”
readonlyschemaParser:SafeParser<SchemaOrPipe,undefined>
Defined in: projects/view-core/field/abstract_model.ts:376
Inherited from
Section titled “Inherited from”selfDisabled$$
Section titled “selfDisabled$$”
readonlyselfDisabled$$:Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:122
disabled
Inherited from
Section titled “Inherited from”selfTouched$
Section titled “selfTouched$”
readonlyselfTouched$:WritableSignal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:141
touched
Inherited from
Section titled “Inherited from”shouldEmitValue$$
Section titled “shouldEmitValue$$”shouldEmitValue$$:
Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:96
Inherited from
Section titled “Inherited from”shouldInclude$$
Section titled “shouldInclude$$”shouldInclude$$:
Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:102
父级取值时,当前子级是否包含在内
Inherited from
Section titled “Inherited from”status$$
Section titled “status$$”status$$:
Signal<VALID_STATUS>
Defined in: projects/view-core/field/abstract_model.ts:535
Inherited from
Section titled “Inherited from”syncError$
Section titled “syncError$”syncError$:
WritableSignal<ValidationErrors2[] |undefined>
Defined in: projects/view-core/field/abstract_model.ts:187
Inherited from
Section titled “Inherited from”touched$$
Section titled “touched$$”
readonlytouched$$:Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:143
Inherited from
Section titled “Inherited from”type:
WritableSignal<LogicType>
Defined in: projects/view-core/field/field-logic-group.ts:12
updateOn$$
Section titled “updateOn$$”updateOn$$:
Signal<FormHooks>
Defined in: projects/view-core/field/abstract_model.ts:406
Inherited from
Section titled “Inherited from”value$$
Section titled “value$$”value$$:
Signal<TValue>
Defined in: projects/view-core/field/abstract_model.ts:109
model的value
Inherited from
Section titled “Inherited from”valueNoError$$
Section titled “valueNoError$$”valueNoError$$:
Signal<boolean>
Defined in: projects/view-core/field/abstract_model.ts:319
Inherited from
Section titled “Inherited from”Accessors
Section titled “Accessors”controls
Section titled “controls”Get Signature
Section titled “Get Signature”get controls():
AbstractControl<any>[]
Defined in: projects/view-core/field/field-array.ts:29
Returns
Section titled “Returns”AbstractControl<any>[]
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get dirty():
boolean
Defined in: projects/view-core/field/abstract_model.ts:166
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”disabled
Section titled “disabled”Get Signature
Section titled “Get Signature”get disabled():
boolean
Defined in: projects/view-core/field/abstract_model.ts:128
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”enabled
Section titled “enabled”Get Signature
Section titled “Get Signature”get enabled():
boolean
Defined in: projects/view-core/field/abstract_model.ts:131
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”errors
Section titled “errors”Get Signature
Section titled “Get Signature”get errors():
ValidationErrors2[] |undefined
Defined in: projects/view-core/field/abstract_model.ts:320
Returns
Section titled “Returns”ValidationErrors2[] | undefined
Inherited from
Section titled “Inherited from”fieldPath
Section titled “fieldPath”Get Signature
Section titled “Get Signature”get fieldPath(): (
string|number)[]
Defined in: projects/view-core/field/abstract_model.ts:366
Returns
Section titled “Returns”(string | number)[]
Inherited from
Section titled “Inherited from”invalid
Section titled “invalid”Get Signature
Section titled “Get Signature”get invalid():
boolean
Defined in: projects/view-core/field/abstract_model.ts:397
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”length
Section titled “length”Get Signature
Section titled “Get Signature”get length():
number
Defined in: projects/view-core/field/field-array.ts:72
Returns
Section titled “Returns”number
Inherited from
Section titled “Inherited from”parent
Section titled “parent”Get Signature
Section titled “Get Signature”get parent():
AbstractControl<any> |undefined
Defined in: projects/view-core/field/abstract_model.ts:326
Returns
Section titled “Returns”AbstractControl<any> | undefined
Inherited from
Section titled “Inherited from”pending
Section titled “pending”Get Signature
Section titled “Get Signature”get pending():
boolean
Defined in: projects/view-core/field/abstract_model.ts:401
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”pristine
Section titled “pristine”Get Signature
Section titled “Get Signature”get pristine():
boolean
Defined in: projects/view-core/field/abstract_model.ts:169
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get root():
AbstractControl
Defined in: projects/view-core/field/abstract_model.ts:463
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”statusChanges
Section titled “statusChanges”Get Signature
Section titled “Get Signature”get statusChanges():
Observable<VALID_STATUS>
Defined in: projects/view-core/field/abstract_model.ts:563
Returns
Section titled “Returns”Observable<VALID_STATUS>
Inherited from
Section titled “Inherited from”touched
Section titled “touched”Get Signature
Section titled “Get Signature”get touched():
boolean
Defined in: projects/view-core/field/abstract_model.ts:150
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”untouched
Section titled “untouched”Get Signature
Section titled “Get Signature”get untouched():
boolean
Defined in: projects/view-core/field/abstract_model.ts:153
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get valid():
boolean
Defined in: projects/view-core/field/abstract_model.ts:393
Returns
Section titled “Returns”boolean
Inherited from
Section titled “Inherited from”Get Signature
Section titled “Get Signature”get value():
TValue
Defined in: projects/view-core/field/abstract_model.ts:372
Returns
Section titled “Returns”TValue
Inherited from
Section titled “Inherited from”valueChanges
Section titled “valueChanges”Get Signature
Section titled “Get Signature”get valueChanges():
Observable<any>
Defined in: projects/view-core/field/abstract_model.ts:520
Returns
Section titled “Returns”Observable<any>
Inherited from
Section titled “Inherited from”valueEvent$$
Section titled “valueEvent$$”Get Signature
Section titled “Get Signature”get valueEvent$$():
Observable<ValueEvent>
Defined in: projects/view-core/field/field-logic-group.ts:53
Returns
Section titled “Returns”Observable<ValueEvent>
Overrides
Section titled “Overrides”valuePath
Section titled “valuePath”Get Signature
Section titled “Get Signature”get valuePath(): (
string|number)[]
Defined in: projects/view-core/field/abstract_model.ts:360
Returns
Section titled “Returns”(string | number)[]
Inherited from
Section titled “Inherited from”Methods
Section titled “Methods”clear()
Section titled “clear()”clear():
void
Defined in: projects/view-core/field/field-array.ts:128
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”disable()
Section titled “disable()”disable():
void
Defined in: projects/view-core/field/abstract_model.ts:137
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”emitSubmit()
Section titled “emitSubmit()”emitSubmit():
void
Defined in: projects/view-core/field/field-group-base.ts:82
仅触发 updateOn: submit 时使用
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”enable()
Section titled “enable()”enable():
void
Defined in: projects/view-core/field/abstract_model.ts:134
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”find()
Section titled “find()”find(
key):AbstractControl
Defined in: projects/view-core/field/field-array.ts:142
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Inherited from
Section titled “Inherited from”get<
P>(path):AbstractControl<any> |null
Defined in: projects/view-core/field/abstract_model.ts:452
Type Parameters
Section titled “Type Parameters”P extends string | (string | number)[]
Parameters
Section titled “Parameters”P
Returns
Section titled “Returns”AbstractControl<any> | null
Inherited from
Section titled “Inherited from”getRawValue()
Section titled “getRawValue()”getRawValue(
mode?):any
Defined in: projects/view-core/field/field-logic-group.ts:112
Parameters
Section titled “Parameters”ValueType = ValueType.allPartialValid
Returns
Section titled “Returns”any
Overrides
Section titled “Overrides”getValueByType()
Section titled “getValueByType()”getValueByType(
mode):any
Defined in: projects/view-core/field/field-logic-group.ts:104
Parameters
Section titled “Parameters”Returns
Section titled “Returns”any
Overrides
Section titled “Overrides”markAllAsDirty()
Section titled “markAllAsDirty()”markAllAsDirty():
void
Defined in: projects/view-core/field/abstract_model.ts:414
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAllAsPristine()
Section titled “markAllAsPristine()”markAllAsPristine():
void
Defined in: projects/view-core/field/abstract_model.ts:419
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAllAsTouched()
Section titled “markAllAsTouched()”markAllAsTouched():
void
Defined in: projects/view-core/field/abstract_model.ts:424
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAllAsUntouched()
Section titled “markAllAsUntouched()”markAllAsUntouched():
void
Defined in: projects/view-core/field/abstract_model.ts:428
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAsDirty()
Section titled “markAsDirty()”markAsDirty():
void
Defined in: projects/view-core/field/abstract_model.ts:436
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAsPristine()
Section titled “markAsPristine()”markAsPristine():
void
Defined in: projects/view-core/field/abstract_model.ts:440
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAsTouched()
Section titled “markAsTouched()”markAsTouched():
void
Defined in: projects/view-core/field/abstract_model.ts:410
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”markAsUntouched()
Section titled “markAsUntouched()”markAsUntouched():
void
Defined in: projects/view-core/field/abstract_model.ts:432
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”removeRestControl()
Section titled “removeRestControl()”removeRestControl(
key):void
Defined in: projects/view-core/field/field-array.ts:50
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”reset()
Section titled “reset()”reset(
value?):void
Defined in: projects/view-core/field/field-logic-group.ts:108
Parameters
Section titled “Parameters”value?
Section titled “value?”any[]
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”setControl()
Section titled “setControl()”setControl(
key,control):void
Defined in: projects/view-core/field/field-array.ts:61
Parameters
Section titled “Parameters”number
control
Section titled “control”any
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”setParent()
Section titled “setParent()”setParent(
parent):void
Defined in: projects/view-core/field/abstract_model.ts:390
Parameters
Section titled “Parameters”parent
Section titled “parent”AbstractControl<any> | undefined
Returns
Section titled “Returns”void
Inherited from
Section titled “Inherited from”updateValue()
Section titled “updateValue()”updateValue(
value):void
Defined in: projects/view-core/field/field-logic-group.ts:117
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”void