Member Junction
    Preparing search index...

    Opens any MemberJunction entity form inside a floating, non-modal window (draggable + resizable, no backdrop). Good for "keep this open while I work elsewhere" scenarios — comparing records, reference-while-editing, etc.

    Same host + event surface as MjFormDialogComponent; only the chrome differs (mj-window instead of mj-dialog). Defaults to DIALOG_FORM_CONFIG (no in-form toolbar; the window footer owns Save/Cancel).

    Standalone — import it directly:

    import { MjFormWindowComponent } from '@memberjunction/ng-base-forms';
    

    Hierarchy (View Summary)

    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.

    Draggable: boolean = true

    Whether the window can be dragged by its titlebar.

    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.

    Height: string | number | null = 560

    Window height (px or CSS string).

    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 window can be resized.

    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> = ...
    Width: string | number | null = 760

    Window width (px or CSS string).

    "ɵ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