AbstractCurrent badge value managed by this action instance.
Current disabled state managed by this action instance.
Optional tooltip explaining why the button is disabled.
Whether the action's associated drawer/panel is currently active/open.
Current loading spinner state managed by this action instance.
Registration metadata populated by the host container when instantiated.
Optional runtime guard beyond static EntityScope matching.
Return false to hide/exclude this action for the current record or mode.
Called when the host form container is destroyed or switches to a different entity.
AbstractOnCalled when the user clicks the toolbar button (either inline on the bar or inside the More menu).
Optionalevent: MouseEventCalled when the form container binds to a record.
Called when the user pins or unpins this action in the toolbar's More (...) menu.
Called during form badge-count pre-warming (RecordReady).
Subclasses can inspect ctx.IsPinned or ctx.IsVisibleOnBar to decide whether to run
network pre-fetch queries or defer them until OnExecute / OnPinStateChanged.
Called after the active record is saved or live-refreshed from the server.
Builds the FormToolbarItemConfig projection consumed by <mj-form-toolbar>.
Abstract base class for pluggable, lifecycle-aware form toolbar buttons.
Subclasses register via
@RegisterFormToolbarAction({ Key: '...', EntityScope: '...', ... })(or@RegisterClassEx(BaseFormToolbarAction, { key: '...', metadata: { ... } })).When
<mj-record-form-container>initializes for an entity, it discovers all matchingBaseFormToolbarActionregistrations for that entity (supporting exact entity names, wildcard patterns like'MJ_BizApps_Orders:*', schema prefixes like'schema:mj_bizapps_accounting', or global'*'), instantiates each winning action, and invokes its lifecycle hooks:ctx.IsPinned/ctx.IsVisibleOnBarto decide whether to run network pre-warming)