This commit is contained in:
counterweight 2026-05-14 10:56:04 +02:00
parent bc92231240
commit b8225c639e
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
11904 changed files with 1472749 additions and 133 deletions

16
node_modules/mj-context-menu/js/item_command.d.ts generated vendored Normal file
View file

@ -0,0 +1,16 @@
import { AbstractItem } from './abstract_item.js';
import { Menu } from './menu.js';
import { ParserFactory } from './parser_factory.js';
export declare class Command extends AbstractItem {
private command;
static fromJson(_factory: ParserFactory, { content: content, action: action, id: id }: {
content: string;
action: Function;
id: string;
}, menu: Menu): Command;
constructor(menu: Menu, content: string, command: Function, id?: string);
executeAction(): void;
toJson(): {
type: string;
};
}