'use strict';

var vue = require('vue');
var index = require('../../../../hooks/base/useGlobalConfig/index.js');
require('./LoginDialog.vue.js');
var LoginDialog_vue_vue_type_script_setup_true_lang = require('./LoginDialog.vue2.js');

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

exports.createLoginDialog = createLoginDialog;
//# sourceMappingURL=method.js.map
