跳转到内容

ActionFactories

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:117

挂在 d 上的全部 action 工厂, F 由每条 entry 的期望元素类型各自反推

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: <F>(classNameFn) => ConfigAction<F>

F extends AnyField

AsyncCallback<string, F>

ConfigAction<F>

asyncComponent: <F>(classNameFn) => ConfigAction<F>

F extends AnyField

AsyncCallback<string, F>

ConfigAction<F>

asyncTop: <F>(classNameFn) => ConfigAction<F>

F extends AnyField

AsyncCallback<ClassValue, F>

ConfigAction<F>

bottom: <F>(className, merge?) => ConfigAction<F>

F

ClassValue

boolean

ConfigAction<F>

component: <F>(className, merge?) => ConfigAction<F>

F

ClassValue

boolean

ConfigAction<F>

top: <F>(className, merge?) => ConfigAction<F>

F

ClassValue

boolean

ConfigAction<F>


createOptions: object

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:126

patch: <F>(value) => ConfigAction<F>

F

any

ConfigAction<F>

set: <F>(value) => ConfigAction<F>

F

any

ConfigAction<F>


disableWhen: <F>(options) => ConfigAction<F>

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:155

F extends AnyField

DisableWhenOption<F>

ConfigAction<F>


events: EventsGroupFactory

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:124


hideWhen: <F>(options) => ConfigAction<F>

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:154

F extends AnyField

HideWhenOption<F>

ConfigAction<F>


hooks: HooksGroupFactory

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:125


inputs: KeyGroupFactory

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:119


models: KeyGroupFactory

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:120


outputChange: <F>(fn) => ConfigAction<F>

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:162

监听其他字段的 output: 回调里 list/listenFields 与监听项逐位对齐

F extends AnyField

EventChangeFn<F>

ConfigAction<F>


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: object

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:130

change: <T>(providersFn) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

T

(input) => InjectorProvider[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

patch: <T>(providers) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

T

InjectorProvider[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

set: <T>(providers) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

T

InjectorProvider[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>


slots: KeyGroupFactory

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:121


valueChange: <F>(listenFn) => ConfigAction<F>

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:158

F extends AnyField

ValueChangeFn<F>

ConfigAction<F>


wrappers: object

Defined in: projects/view-core/convert/action/typed-field-pipe.ts:153

changeAsync: <T>(indexFn, actions) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle> = changeAsyncWrapper

T

(list) => any

ConfigAction<any>[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

patch: <T>(wrappers) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

T

(string | SetOptional<SetUnWrapper$<CoreWrapperConfig, WrapperChangeKey>, WrapperChangeKey>)[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

patchAsync: <T>(type, actions?, options?) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle> = patchAsyncWrapper

T

any

ConfigAction<any>[]

number

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

remove: <T>(removeList) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle> = removeWrappers

T

string[] | ((list) => Signal<CoreWrapperConfig>[])

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

set: <T>(wrappers) => RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>

T

(string | SetOptional<SetUnWrapper$<CoreWrapperConfig, WrapperChangeKey>, WrapperChangeKey>)[]

RawConfigAction<"viewRawConfig", T, AnyCoreSchemaHandle>