Informational: fires after a routine was deleted.
Informational: fires after a pause/resume Status toggle was saved.
Informational: fires after a routine was queued to run now.
Cancelable: fires before a routine (and its recipients) is deleted.
Cancelable: fires before a pause/resume Status toggle is saved.
Cancelable: fires before a routine is queued to run now.
IDs of routines with an in-flight save/delete (disables that card's action buttons).
The routine's dedicated conversation was requested (chat icon on the card).
Loaded/filtered counts changed (load, filter, refresh).
User asked to create a new routine (empty-state CTA). The host opens the editor.
ReadonlyDescribeHuman-friendly description of a cron expression. Covers the editor presets plus a couple of common step shapes; anything else falls back to the raw expression so the UI never shows a wrong description.
User asked to edit a routine. The host opens the editor.
User asked to view a routine's run history. The host opens the history view.
ReadonlyLastMaps a run outcome status to a chip variant.
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.
ReadonlyRelativeCompact relative-time label ("3m ago", "in 2h", "just now"). Returns an empty
string for null input. now is injectable for tests.
Informational: a routine was selected (history/detail opened).
ReadonlyStatusMaps a routine lifecycle status to a chip variant.
StaticɵdirStaticɵfacReturns 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
Free-text filter over routine name, description, and agent name.
Status facet filter.
The agent's own IconClass, falling back to the standard robot mark.
Display name of a routine's target agent (falls back when the agent no longer exists).
Deletes a routine (after user confirmation), removing its recipients first.
Stable-within-a-pass "Last run" text for a routine.
Stable-within-a-pass "Next run" text for a routine.
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
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.
Raises ConversationOpened for hosts to present the routine's conversation.
Opens a routine's history (raises RoutineSelected + HistoryRequested).
Force-refreshes the engine cache (and this list).
Run-now v1: stamps NextRunAt = now and saves; the dispatcher job claims due routines on its next sweep. Only meaningful for Active routines.
True when the run-now button should be disabled for this routine.
Toggles Active ⇄ Paused (Disabled routines resume to Active as well).
"My Routines" — card list of the CURRENT USER's routines with per-card quick actions (run now / pause-resume / edit / history / delete). Data comes from the shared UserRoutineEngine cache — no ad-hoc RunViews.
Reusable (Generic) component: no Router, no page chrome. Mutating quick actions raise cancelable
Before*events (setCancel = trueto veto) followed by informationalAfter*events, per the standard MJ Before/After event idiom.Run-now v1 semantics: sets
NextRunAt = nowand saves — the User Routine Dispatcher job claims due routines on its next sweep (within a minute).