ng-xtend API documentation
    Preparing search index...

    Class AbstractDcWorkflow<T>

    Abstract base class for all dc-workflow implementations. Provides store management, entity fetching, display filtering, and selection logic.

    Concrete implementations (CarouselComponent, ListDetailsComponent) extend this class and add their own UI and interaction patterns.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    componentNameInForm: Signal<string> = ...

    Returns the component form name, which is for now the subName

    config: InputSignal<DcWorkflowModel> = ...

    Required workflow configuration input signal. Controls entity type, workflow behavior, sorting, display, and selection.

    context: InputSignal<XtContext<T>> = ...

    Required input signal providing the XtContext for this component.

    displayValue: Signal<T | null> = ...

    Computed signal exposing the display value from the context.

    entityName: WritableSignal<string> = ...

    Shortcut signal providing the current entity name from config

    formControl: Signal<AbstractControl<any, any, any>> = ...

    Computed signal that retrieves the existing AbstractControl for this component's sub-name.

    formControlName: Signal<string> = ...

    Computed signal returning the form control name for this component.

    formControlNameIfAny: Signal<string | undefined> = ...

    Computed signal returning the form control name, if any.

    formGroup: Signal<FormGroup<any>> = ...

    We need to create a new form group to manage the sub elements.

    formGroupIfAny: Signal<FormGroup<any> | undefined> = ...

    Computes the local form group for this composite, creating one from the parent form group if it does not exist. Overrides the base implementation to manage a dedicated form group for sub-elements.

    getValue: Signal<T | null | undefined> = ...

    Computed signal exposing the raw value from the context.

    inputs: InputSignal<XtBaseInput | undefined> = ...

    Input signal accepting forwarded inputs from parent or xt-render.

    inputsObject: XtBaseInput = ...

    Object holding the base input definitions for this component.

    isInForm: Signal<boolean> = ...

    Computed signal indicating whether this component is inside a reactive form.

    models: InputSignal<XtComponentModel | undefined> = ...

    Input signal accepting model bindings for two-way data flow.

    outputs: OutputEmitterRef<XtComponentOutput> = ...

    Output emitter that publishes the component's output map.

    outputsObject: XtBaseOutput = ...

    Object holding the base output definitions for this component.

    resolverService: XtResolverService = ...

    Injected service for resolving components and type information.

    safelyGetSubName: Signal<string> = ...

    Computed signal that safely returns the sub-name, throwing if it is null.

    updating: WritableSignal<boolean> = ...

    True while the store is performing an async operation (fetching, saving, etc.)

    Methods

    • Manages a form control within the component's form group, optionally creating it if it does not exist. Can be safely called even when no form group is available.

      Type Parameters

      • T

      Parameters

      • ctrlName: string

        The name of the form control

      • create: boolean = true

        Whether to create the control if it does not exist (default true)

      Returns AbstractControl<T, T, any> | undefined

      The AbstractControl, or undefined if no form group is available