AbstractCancel 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.
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.
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).
ProtectedPresetThe surface's default config preset (TAB/DIALOG/SLIDEIN). Subclasses override this getter; the base returns an empty object (no defaults).
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.
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.
Shared logic for the form overlay shells (MjFormDialogComponent and MjFormSlideInComponent). Both wrap an MjEntityFormHostComponent in chrome that owns the title + Save/Cancel, bubble the host's events upward, and proxy the form inputs downward.
Subclasses provide only the template; all input/output plumbing lives here.