Member Junction
    Preparing search index...

    Opens any MemberJunction entity form inside a right-edge slide-in panel.

    Wraps MjEntityFormHostComponent in <mj-slide-panel> (resizable) with a sticky Save/Cancel footer. Defaults to SLIDEIN_FORM_CONFIG (no in-form toolbar, related grids hidden, full-width body, in-form links inert).

    Standalone — import it directly:

    import { MjFormSlideInComponent } from '@memberjunction/ng-base-forms';
    
    <mj-form-slide-in [EntityName]="'MJ: Credentials'" [Record]="cred"
    [(Visible)]="open" (Saved)="refresh()"></mj-form-slide-in>

    Hierarchy (View Summary)

    Implements

    • OnInit
    Index

    Constructors

    Properties

    CancelButtonText: string = 'Cancel'

    Cancel button label.

    Closed: EventEmitter<FormOverlayCloseReason> = ...

    Emitted when the overlay closes (save or cancel).

    Config: EntityFormConfig | null = null

    Per-instance config OVERRIDE. Treated as a partial set of overrides that is merged over the surface's PresetConfig — so passing { StartInEditMode: true } keeps the preset's Toolbar: null etc. instead of replacing the whole preset. Bind the merged result via EffectiveConfig.

    EditMode: boolean | null = null

    Force edit mode (default: new → edit, existing → read).

    effectiveTitle: string = ''

    Title actually rendered (Title input, or derived from the record).

    EntityName: string | null = null

    Entity name to load. Ignored when Record is supplied.

    FormCreated: EventEmitter<BaseFormComponent> = ...

    The live form instance, for power-user wiring.

    Reference to the hosted form (template must name the host #host).

    LoadError: EventEmitter<{ detail: string; title: string }> = ...

    Re-emitted host load error.

    Navigate: EventEmitter<FormNavigationEvent> = ...

    Re-emitted host navigation requests (consumer decides; chrome never routes).

    NewRecordValues: string | Record<string, unknown> | null = null

    New-record default values: URL-segment string or plain object.

    Notification: EventEmitter<FormNotificationEvent> = ...

    Re-emitted host notifications.

    PrimaryKey?: CompositeKey

    Primary key of the record to edit. Empty/absent → new record.

    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: BaseEntity<unknown> | null = null

    Pre-loaded record to bind directly (skips load).

    RecordDeleted: EventEmitter<RecordDeletedEvent> = ...

    Re-emitted host record-deleted.

    RecordID?: string

    Convenience single-column ('ID') key; used when PrimaryKey is absent.

    RecordSaveFailed: EventEmitter<RecordSaveFailedEvent> = ...

    Re-emitted host save-failed.

    Resizable: boolean = true

    Whether the panel is user-resizable.

    SaveButtonText: string = 'Save'

    Save button label.

    Saved: EventEmitter<BaseEntity<unknown>> = ...

    Emitted after a successful save (carries the saved entity).

    saving: boolean = false

    True while a save is in flight (disables the Save button).

    SectionName: string | null = null

    Render a single registered form section (BaseFormSectionComponent registered as '<EntityName>.<SectionName>') instead of the full form. See MjEntityFormHostComponent.SectionName.

    ShowFooter: boolean = true

    Whether to show the Save/Cancel footer. Default: true.

    Title: string = ''

    Title shown in the chrome. When empty, derived from the record on load.

    ValidationFailed: EventEmitter<ValidationFailedEvent> = ...

    Re-emitted host validation-failed.

    VisibleChange: EventEmitter<boolean> = ...
    WidthPx: number = 720

    Initial panel width in px (resizable by the user; persisted per-entity).

    "ɵdir": unknown
    "ɵfac": unknown

    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 RunReportToUse(): IRunReportProvider

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

      Returns IRunReportProvider

    • get RunViewToUse(): IRunViewProvider

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

      Returns IRunViewProvider

    Methods

    • A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.

      Returns void