import { ref } from "vue";
import { rtlPlugin } from "../rtl/index.mjs";
import { registryPlugin } from "../registry/index.mjs";
import { orchestratorPlugin } from "../orchestrator/index.mjs";
import { f as defaultsKey } from "../../../keys-D5Pj1dmf.mjs";
const createBootstrap = (pluginData = {}) => ({
  install(app) {
    if ((pluginData.registries ?? true) === true) {
      app.use(registryPlugin, pluginData);
    }
    if ((pluginData.rtl ?? true) === true || typeof pluginData.rtl === "object") {
      app.use(rtlPlugin, pluginData);
    }
    if ((pluginData.orchestrator ?? true) === true) {
      app.use(orchestratorPlugin);
    }
    const val = pluginData?.components ?? {};
    app.provide(defaultsKey, ref(val));
  }
});
export {
  createBootstrap
};
//# sourceMappingURL=index.mjs.map
