ActionFactories
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:117
挂在 d 上的全部 action 工厂, F 由每条 entry 的期望元素类型各自反推
Extended by
Section titled “Extended by”Properties
Section titled “Properties”attributes
Section titled “attributes”attributes:
AttributesGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:122
class:
object
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:139
class 族: 同步形态不涉 field, 异步形态的回调必须拿到路径精确的 field。
这里重新声明而不是 typeof classAction: 底层函数把 field 写死成了松散形态。
asyncBottom
Section titled “asyncBottom”asyncBottom: <
F>(classNameFn) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”classNameFn
Section titled “classNameFn”AsyncCallback<string, F>
Returns
Section titled “Returns”ConfigAction<F>
asyncComponent
Section titled “asyncComponent”asyncComponent: <
F>(classNameFn) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”classNameFn
Section titled “classNameFn”AsyncCallback<string, F>
Returns
Section titled “Returns”ConfigAction<F>
asyncTop
Section titled “asyncTop”asyncTop: <
F>(classNameFn) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”classNameFn
Section titled “classNameFn”AsyncCallback<ClassValue, F>
Returns
Section titled “Returns”ConfigAction<F>
bottom
Section titled “bottom”bottom: <
F>(className,merge?) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”ConfigAction<F>
component
Section titled “component”component: <
F>(className,merge?) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”ConfigAction<F>
top: <
F>(className,merge?) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F
Parameters
Section titled “Parameters”className
Section titled “className”ClassValue
merge?
Section titled “merge?”boolean
Returns
Section titled “Returns”ConfigAction<F>
createOptions
Section titled “createOptions”createOptions:
object
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:126
patch: <
F>(value) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”ConfigAction<F>
set: <
F>(value) =>ConfigAction<F>
Type Parameters
Section titled “Type Parameters”F
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”ConfigAction<F>
disableWhen
Section titled “disableWhen”disableWhen: <
F>(options) =>ConfigAction<F>
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:155
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”ConfigAction<F>
events
Section titled “events”events:
EventsGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:124
hideWhen
Section titled “hideWhen”hideWhen: <
F>(options) =>ConfigAction<F>
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:154
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”ConfigAction<F>
hooks:
HooksGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:125
inputs
Section titled “inputs”inputs:
KeyGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:119
models
Section titled “models”models:
KeyGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:120
outputChange
Section titled “outputChange”outputChange: <
F>(fn) =>ConfigAction<F>
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:162
监听其他字段的 output: 回调里 list/listenFields 与监听项逐位对齐
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”Returns
Section titled “Returns”ConfigAction<F>
outputs
Section titled “outputs”outputs:
OutputsGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:123
props:
KeyGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:118
providers
Section titled “providers”providers:
object
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:130
change
Section titled “change”change: <
T>(providersFn) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle>
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”providersFn
Section titled “providersFn”(input) => InjectorProvider[]
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
patch: <
T>(providers) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle>
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”providers
Section titled “providers”Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
set: <
T>(providers) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle>
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”providers
Section titled “providers”Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
slots:
KeyGroupFactory
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:121
valueChange
Section titled “valueChange”valueChange: <
F>(listenFn) =>ConfigAction<F>
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:158
Type Parameters
Section titled “Type Parameters”F extends AnyField
Parameters
Section titled “Parameters”listenFn
Section titled “listenFn”Returns
Section titled “Returns”ConfigAction<F>
wrappers
Section titled “wrappers”wrappers:
object
Defined in: projects/view-core/convert/action/typed-field-pipe.ts:153
changeAsync
Section titled “changeAsync”changeAsync: <
T>(indexFn,actions) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =changeAsyncWrapper
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”indexFn
Section titled “indexFn”(list) => any
actions
Section titled “actions”ConfigAction<any>[]
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
patch: <
T>(wrappers) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle>
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”wrappers
Section titled “wrappers”(string | SetOptional<SetUnWrapper$<CoreWrapperConfig, WrapperChangeKey>, WrapperChangeKey>)[]
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
patchAsync
Section titled “patchAsync”patchAsync: <
T>(type,actions?,options?) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =patchAsyncWrapper
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”any
actions?
Section titled “actions?”ConfigAction<any>[]
options?
Section titled “options?”insertIndex?
Section titled “insertIndex?”number
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
remove
Section titled “remove”remove: <
T>(removeList) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle> =removeWrappers
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”removeList
Section titled “removeList”string[] | ((list) => Signal<CoreWrapperConfig>[])
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>
set: <
T>(wrappers) =>RawConfigAction<"viewRawConfig",T,AnyCoreSchemaHandle>
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”wrappers
Section titled “wrappers”(string | SetOptional<SetUnWrapper$<CoreWrapperConfig, WrapperChangeKey>, WrapperChangeKey>)[]
Returns
Section titled “Returns”RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>