import { createComboboxPlugin as e } from "@udecode/plate-combobox";
import { createMentionPlugin as t } from "@udecode/plate-mention";
import { Plugin as o } from "../Plugin.es.js";
import { MentionInline as r } from "./MentionInline.es.js";
import { MentionMarkupElement as i } from "./MentionMarkupElement/index.es.js";
import { mentionPlugin as m } from "./config.es.js";
import { MENTION_PLUGIN as p } from "./id.es.js";
import { MentionInputMarkupElement as l } from "./MentionInputMarkupElement/MentionInputMarkupElement.es.js";
class c extends o {
  constructor(n) {
    super(p, {
      markupElement: new i().setNodeWithMentionable(n.mentionableItems),
      markupInputElement: new l(),
      ...n
    });
  }
  inline() {
    var n;
    return r(((n = this.props) == null ? void 0 : n.mentionableItems) || []);
  }
  plugins() {
    return [e(), t(m)];
  }
}
export {
  i as MentionMarkupElement,
  c as MentionPlugin
};
//# sourceMappingURL=index.es.js.map
