import { createVNode, render } from 'vue';
import { useGlobalConfig } from '../../../../hooks/base/useGlobalConfig/index.mjs';
import './LoginDialog.vue.mjs';
import _sfc_main from './LoginDialog.vue2.mjs';

const createLoginDialog = (div) => {
  const appendTo = div ?? document.body;
  const container = document.createElement("div");
  const loginDialogOptions = useGlobalConfig("loginDialog") ?? {};
  const props = {
    ...loginDialogOptions.value
  };
  const vnode = createVNode(_sfc_main, props);
  render(vnode, container);
  appendTo.appendChild(container);
};

export { createLoginDialog };
//# sourceMappingURL=method.mjs.map
