"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 plugin_creators_exports = {};
__export(plugin_creators_exports, {
  setupNodeCreators: () => setupNodeCreators
});
module.exports = __toCommonJS(plugin_creators_exports);
var import_v1 = require("./../../ricos-schema/legacy/wix/rich_content/v1/index.js");
var import_generate_random_id = require("../converters/generate-random-id.js");
var import_abstract_content_builder = require("../RicosContentAPI/abstract-content-builder.js");
var import_collapsible_list_builder_api = require("../RicosContentAPI/collapsible-list-builder-api.js");
var import_node_builder_methods = require("../RicosContentAPI/node-builder-methods.js");
var import_table_builder_api = require("../RicosContentAPI/table-builder-api.js");
var import_add_image = require("./nativeElements/add-image.js");
const setupNodeCreators = (0, import_abstract_content_builder.setupAbstractContentBuilder)(
  import_generate_random_id.generateId,
  import_node_builder_methods.makeTextNode,
  import_node_builder_methods.makeListNode,
  import_node_builder_methods.makeNode,
  import_table_builder_api.makeTable,
  import_collapsible_list_builder_api.makeCollapsibleList
);
setupNodeCreators.image = ({ data }) => (0, import_node_builder_methods.makeNode)(import_generate_random_id.generateId)({ data: (0, import_add_image.createImageData)(data), type: import_v1.Node_Type.IMAGE });
//# sourceMappingURL=plugin-creators.js.map
