var s = Object.defineProperty;
var e = (i, r, o) => r in i ? s(i, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : i[r] = o;
var p = (i, r, o) => e(i, typeof r != "symbol" ? r + "" : r, o);
import { createAlignPlugin as m } from "@udecode/plate-alignment";
import { ELEMENT_LIC as l } from "@udecode/plate-list";
import { ELEMENT_PARAGRAPH as E } from "@udecode/plate-paragraph";
import { Plugin as n } from "../Plugin.es.js";
import { ALIGN_PLUGIN as T } from "./id.es.js";
import { ELEMENT_CHECK_ITEM as u } from "../CheckboxListPlugin/id.es.js";
class d extends n {
  constructor({ validTypes: o = [], ...t } = {}) {
    super(T, {
      ...t
    });
    p(this, "validTypes", []);
    this.validTypes = o;
  }
  plugins() {
    return [
      m({
        inject: {
          props: {
            validTypes: [...this.validTypes, E, l, u]
          }
        }
      })
    ];
  }
}
export {
  d as AlignPlugin
};
//# sourceMappingURL=AlignPlugin.es.js.map
