Menu JSON including name, type, optional value, and input-specific configs.
Returns the current input value (the user's last answer).
Overrides the stored input value.
New value string.
Returns the global sidebar choices rendered alongside the prompt.
Replaces the global sidebar choices.
Array of Choice or Separator items.
Returns the configs object for this input menu.
Sets the configs from an instance or a plain JSON object.
MenuInputConfigs instance or compatible JSON.
Sets the configs from an instance or a plain JSON object.
MenuInputConfigs instance or compatible JSON.
Returns the input-specific labels (extends MenuLabels with placeholder).
Returns the translated placeholder string, or undefined if not set.
Optionallanguage: stringOptional language override.
Returns the validation function, or undefined if not configured.
Returns the submission callback, or undefined if not configured.
Serialises this input menu to a plain JSON-compatible object.
Renders and runs the interactive input prompt.
Optionallanguage: stringOptional language override for label translation.
Returns the menu's unique name.
Returns the menu type: "choice", "input", "field", or "editor".
Returns the plugin namespace this menu belongs to, or undefined for the default plugin.
Sets the plugin namespace for this menu.
Plugin name string.
Returns the display order index, or undefined if not set.
Sets the display order index.
Numeric sort position.
Returns all registered parent names as a flat array.
Returns the parent entry matching the given name, or undefined.
Parent name to look up.
Registers a parent menu name.
Parent name to add.
Returns true when this menu is accessible from every context.
Returns true when this menu is the anchor point of a wizard/flow.
Global actions that target this menu will be hidden in this menu
and in all its descendants, resolved through the regular parents chain.
Returns the styles container for this menu.
Sets the styles for this menu from an instance or a plain JSON object.
MenuStyles instance or compatible JSON.
Sets the styles for this menu from an instance or a plain JSON object.
MenuStyles instance or compatible JSON.
Sets the labels for this menu from an instance or a plain JSON object.
MenuLabels instance or compatible JSON.
Sets the labels for this menu from an instance or a plain JSON object.
MenuLabels instance or compatible JSON.
ProtectedtypeProtectedlabelsProtectedvalueProtectedconfigsProtectedglobalProtectednameProtected OptionalpluginProtectedparentsProtectedindexProtectedglobalProtectedanchorProtectedstyles
Creates a new input menu with optional pre-configured value and callbacks.