Optional
smartFilterBar: SmartFilterBarServiceProtected
__id__Readonly
_dataReadonly
analytics$合并相应 Entity Property 后的 Analytics 注解
Readonly
analyticsReadonly
dataReadonly
dataReadonly
destroy$Protected
Readonly
destroyProtected
entityReadonly
entityuse getEntityType
or selectEntityType
method
Readonly
initialise$Protected
isProtected
notReadonly
presentationProtected
refresh$Protected
result$Optional
smartReadonly
state$Protected
Readonly
state过滤器存在优先级覆盖顺序
Optional
queryOptions: QueryOptions<any>Creates an effect.
This effect is subscribed to throughout the lifecycle of the ComponentStore.
A function that takes an origin Observable input and returns an Observable. The Observable that is returned will be subscribed to for the life of the component.
A function that, when called, will trigger the origin Observable.
Protected
getOptional
qualifier: stringOptional
calendar: string使用 async await 方式作为 getXXX method 的异步处理方式; 用 Observable 作为 selectXXX method 的异步处理方式;
Protected
initInitializes state. If it was already initialized then it resets the state.
Protected
isPatches the state with provided partial state.
a partial state or a partial updater function that accepts the state and returns the partial state.
Error if the state is not initialized.
Optional
options: QueryOptions<any>Creates a selector.
A pure projection function that takes the current state and returns some new slice/projection of that state.
Optional
config: SelectConfigSelectConfig that changes the behavior of selector, including the debouncing of the values until the state is settled.
An observable of the projector results.
Rest
...args: [...selectors: Selectors[], projector: Projector<Selectors, Result>]Rest
...args: [...selectors: Selectors[], projector: Projector<Selectors, Result>, config: SelectConfig]如果先改变查询条件和逻辑,可以在子类中重写此方法
Optional
options: QueryOptions<any>QueryOptions
Sets the state specific value.
object of the same type as the state or an updaterFn, returning such object.
Optional
options: { Optional
watchCreates an updater.
Throws an error if updater is called with synchronous values (either imperative value or Observable that is synchronous) before ComponentStore is initialized. If called with async Observable before initialization then state will not be updated and subscription would be closed.
A static updater function that takes 2 parameters (the current state and an argument object) and returns a new instance of the state.
A function that accepts one argument which is forwarded as the
second argument to updaterFn
. Every time this function is called
subscribers will be notified of the state change.
Generated using TypeDoc
Service 初始化过程的通用接口