Cancel button label.
Emitted when the overlay closes (save or cancel).
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.
Force edit mode (default: new → edit, existing → read).
Title actually rendered (Title input, or derived from the record).
Entity name to load. Ignored when Record is supplied.
The live form instance, for power-user wiring.
Protected OptionalhostReference to the hosted form (template must name the host #host).
Re-emitted host load error.
Re-emitted host navigation requests (consumer decides; chrome never routes).
New-record default values: URL-segment string or plain object.
Re-emitted host notifications.
OptionalPrimaryPrimary key of the record to edit. Empty/absent → new record.
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.
Pre-loaded record to bind directly (skips load).
Re-emitted host record-deleted.
OptionalRecordConvenience single-column ('ID') key; used when PrimaryKey is absent.
Re-emitted host save-failed.
Whether the panel is user-resizable.
Save button label.
Emitted after a successful save (carries the saved entity).
True while a save is in flight (disables the Save button).
Render a single registered form section (BaseFormSectionComponent
registered as '<EntityName>.<SectionName>') instead of the full form.
See MjEntityFormHostComponent.SectionName.
Whether to show the Save/Cancel footer. Default: true.
Title shown in the chrome. When empty, derived from the record on load.
Re-emitted host validation-failed.
Initial panel width in px (resizable by the user; persisted per-entity).
StaticɵdirStaticɵfacThe config actually handed to the form host: the surface PresetConfig with any consumer Config overrides merged on top. This is what makes partial configs work — you only specify what differs from the preset.
ProtectedeffectiveResolves the primary key to pass to the host (PrimaryKey beats RecordID).
The live form component instance (for power-user wiring via MJFormRef).
ProtectedPresetForm config. Defaults to the slide-in preset; consumers can override.
Returns either the default Metadata provider or the one specified in the Provider property, if it was specified
Returns either the default RunQuery provider or the one specified in the Provider property, if it was specified
Returns either the default RunReport provider or the one specified in the Provider property, if it was specified
Returns either the default RunView provider or the one specified in the Provider property, if it was specified
Two-way: whether the overlay is shown.
ProtectedcloseHide the overlay and emit Closed exactly once per open. Idempotent.
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.
Host asked to be dismissed (e.g. Discard on a brand-new record).
Save via the hosted form. Closing happens on the resulting Saved event.
Persist the user's resize, scoped per-entity (cross-device via User Settings).
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:
Example: Declarative