"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __copyProps = (to, from, except, desc) => {
  if (from && typeof from === "object" || typeof from === "function") {
    for (let key of __getOwnPropNames(from))
      if (!__hasOwnProp.call(to, key) && key !== except)
        __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
  }
  return to;
};
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var editor_query_creator_exports = {};
__export(editor_query_creator_exports, {
  editorQueryCreator: () => editorQueryCreator
});
module.exports = __toCommonJS(editor_query_creator_exports);
var import_editor_query = require("./editor-query.js");
var import_queries = require("./queries/index.js");
const editorQueryCreator = (editor, ricosStyles, converters) => {
  const editorQuery = new import_editor_query.EditorQuery(editor, ricosStyles, converters);
  editorQuery.addQuery(import_queries.activeDecorationsByTypeQuery.NAME, import_queries.activeDecorationsByTypeQuery.query);
  editorQuery.addQuery(import_queries.activeTextStylesQuery.NAME, import_queries.activeTextStylesQuery.query);
  editorQuery.addQuery(import_queries.isSingleRootTextBlock.NAME, import_queries.isSingleRootTextBlock.query);
  editorQuery.addQuery(import_queries.isMultipleSelection.NAME, import_queries.isMultipleSelection.query);
  editorQuery.addQuery(import_queries.isNodeSelected.NAME, import_queries.isNodeSelected.query);
  editorQuery.addQuery(import_queries.isChildSingleTextBlock.NAME, import_queries.isChildSingleTextBlock.query);
  editorQuery.addQuery(import_queries.isEmptyTextBlock.NAME, import_queries.isEmptyTextBlock.query);
  editorQuery.addQuery(import_queries.isListItem.NAME, import_queries.isListItem.query);
  editorQuery.addQuery(import_queries.isChildSingleTextBlockEmpty.NAME, import_queries.isChildSingleTextBlockEmpty.query);
  editorQuery.addQuery(import_queries.isChildOfNode.NAME, import_queries.isChildOfNode.query);
  editorQuery.addQuery(import_queries.isOnlySlashInParagraph.NAME, import_queries.isOnlySlashInParagraph.query);
  editorQuery.query;
  return editorQuery;
};
//# sourceMappingURL=editor-query-creator.js.map
