Member Junction
    Preparing search index...

    Base class for all Angular components in the MemberJunction system.

    Hierarchy (View Summary)

    Implements

    • OnInit
    • OnChanges
    • OnDestroy
    Index

    Constructors

    Properties

    Accessors

    Methods

    AddNumericLevel addOutput ApplyPipelineTypeChange GetBooleanThreshold GetEnumValueDescription GetEnumValues getEnumValuesCsv GetEnumValuesCsv GetLookupDisplayFieldsCsv GetNumericLevels getNumericMax GetNumericMax getNumericMin GetNumericMin GetTargetProblem IsConstraintTypeOffered IsCurrentPipelineType IsEntityFieldListed IsEntityListed IsSavedEntityDoc IsSavedEscalationTarget IsSavedPrompt IsTargetModeOffered LoadEscalationTargets LoadPreviewLookupRows LookupOf MoveNumericLevel ngOnChanges ngOnDestroy ngOnInit onContextModeChange OnContextModeChange onEntityDocChange OnEntityDocChange OnEscalationFloorChange OnEscalationTargetChange OnEscalationToggle onFieldsCsvChange OnFieldsCsvChange onOutputPropertyChange OnPipelineTypeSelect onPromptChange OnPromptChange onQueryIDChange OnQueryIDChange OnTypeSwitchCancelled OnTypeSwitchConfirmed PreviewEntity PreviewLookupRows RemoveNumericLevel removeOutput RemoveOutput RenderConstraintPreview RenderPreviewWithLookupRows SavedConstraintType syncFromRecord SyncFromRecord UpdateBooleanThreshold updateCacheable UpdateCacheable updateCacheKeyFields UpdateCacheKeyFields updateCacheScope UpdateCacheScope updateCacheTTL UpdateCacheTTL UpdateCaptureReasoning updateChildTargetEntity UpdateChildTargetEntity updateConstraintType UpdateConstraintType UpdateEnumValueDescription updateEnumValues UpdateEnumValues updateFieldTarget UpdateFieldTarget UpdateLookupDisplayFields UpdateLookupEntity UpdateLookupFilter UpdateLookupMatchField UpdateNumericLevel updateNumericMax UpdateNumericMax updateNumericMin UpdateNumericMin updateOutputProp UpdateOutputProp updateSkipUnchanged UpdateSkipUnchanged updateTargetMode UpdateTargetMode updateViolationPolicy UpdateViolationPolicy updateWatermarkStrategy UpdateWatermarkStrategy

    Constructors

    Properties

    AvailableDocs: EntityDocOption[] = []
    AvailableEntities: EntityInfo[] = []
    AvailableEscalationTargets: EscalationTargetCandidate[] = []
    AvailablePipelineTypes: PipelineTypeOption[] = ...
    AvailablePrompts: PromptOption[] = []
    CacheKeyFieldsCsv: string = ''
    ContextMode: "fields" | "document" | "query" = 'fields'
    EntityFields: EntityFieldInfo[] = []
    EntityID: string | null = null
    EscalationTargetsLoaded: boolean = false

    Whether the escalation targets were loaded. False until a load succeeds, and after one fails.

    EscalationTargetsLoadError: string | null = null

    Why the last load of escalation targets failed, or null when it did not.

    FieldsCsv: string = ''
    PendingPipelineType: string | null = null
    Provider: IMetadataProvider | null

    If specified, this provider will be used for communication and for all metadata purposes. By default, if not provided, the Metadata and RunView classes are used for this and the default GraphQLDataProvider is used which is connected to the same back-end MJAPI instance as the Metadata and RunView classes. If you want to have this component connect to a different MJAPI back-end, create an instance of a ProviderBase sub-class like GraphQLDataProvider/etc, and configure it as appropriate to connect to the MJAPI back-end you want to use, and then pass it in here.

    Record: MJRecordProcessEntity | null = null
    RenderedConstraintPreview: string = ''

    The constraint block the model is sent, as the runner renders it (see RenderConstraintPreview).

    SelectedPrompt: PromptOption | null = null
    ShowTypeSwitchConfirm: boolean = false
    spec: DataFeatureSpec = ...
    SpecChange: EventEmitter<DataFeatureSpec> = ...
    TypeSwitchIssues: string[] = []
    ValidationErrors: SpecValidationIssue[] = []
    ValidChange: EventEmitter<boolean> = ...
    "ɵdir": unknown
    "ɵfac": ɵɵFactoryDeclaration<BaseAngularComponent, never>

    Accessors

    • get ProviderToUse(): IMetadataProvider

      Returns either the default Metadata provider or the one specified in the Provider property, if it was specified

      Returns IMetadataProvider

    • get RunQueryToUse(): IRunQueryProvider

      Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified

      Returns IRunQueryProvider

    • get RunViewToUse(): IRunViewProvider

      Returns either the default RunView provider or the one specified in the Provider property, if it was specified

      Returns IRunViewProvider

    Methods

    • The constraint as a lookup, or undefined when it is another type.

      Parameters

      Returns
          | {
              DisplayFields?: string[];
              Entity?: string;
              Filter?: string;
              ItemRef?: string;
              MatchField?: string;
              OnViolation: ViolationPolicy;
              Type: "lookup";
          }
          | undefined