ChatGenerativeUiComponent
Renders a normalized json-render specification with optional registry, state store, and event handlers.
import { ChatGenerativeUiComponent } from '@threadplane/chat';Declaration
export declare class ChatGenerativeUiComponent {
constructor();
readonly events: import("@angular/core").OutputEmitterRef<RenderEvent>;
readonly handlers: import("@angular/core").InputSignal<Record<string, (params: Record<string, unknown>) => unknown | Promise<unknown>> | undefined>;
readonly loading: import("@angular/core").InputSignal<boolean>;
readonly registry: import("@angular/core").InputSignal<AngularRegistry | undefined>;
readonly spec: import("@angular/core").InputSignal<Spec | null>;
readonly store: import("@angular/core").InputSignal<StateStore | undefined>;
}Angular template API
Selector: chat-generative-ui
Inputs
handlersRecord<string, (params: Record<string, unknown>) => unknown> | undefinedloadingbooleanregistryAngularRegistry | undefinedspecSpec | nullstoreStateStore | undefined
Outputs
eventsRenderEvent
Members
Constructor · overload 1
Constructs a new instance of the ChatGenerativeUiComponent class
constructor();events
readonly events: import("@angular/core").OutputEmitterRef<RenderEvent>;handlers
readonly handlers: import("@angular/core").InputSignal<Record<string, (params: Record<string, unknown>) => unknown | Promise<unknown>> | undefined>;loading
readonly loading: import("@angular/core").InputSignal<boolean>;registry
readonly registry: import("@angular/core").InputSignal<AngularRegistry | undefined>;spec
readonly spec: import("@angular/core").InputSignal<Spec | null>;store
readonly store: import("@angular/core").InputSignal<StateStore | undefined>;