import { h } from './chunks/d4789960.js';
import './chunks/456564be.js';
import './chunks/c26036df.js';
import { u as useEvent } from './chunks/d4058887.js';
import './chunks/4ccc6eeb.js';
import './chunks/34f18ef7.js';
import { g as getComponentOrDefine } from './chunks/071ed725.js';
import './chunks/23e44913.js';
import './chunks/a02c5734.js';
import './horse-download-box.js';
import './chunks/d76d6172.js';
import './kun-icon.js';
import './chunks/cd857e99.js';
import './chunks/e5702756.js';
import './kun-image.js';
import './chunks/1c3fc91c.js';
import './chunks/cf049716.js';
import './chunks/ba37e29a.js';
import './chunks/31c885ba.js';
import './kun-upload-file.js';
import { loginBoxstyle } from './login-component.js';

const KunLoginBox = () => {
  const eventInit = {
    bubbles: true,
    composed: true
  };
  const dispatchMyEvent = useEvent("LoginEvent", eventInit);
  const dispatchLoginWeibo = useEvent("LoginWeibo", eventInit);

  const handlerLoginWeibo = () => {
    dispatchLoginWeibo({
      // eslint-disable-next-line @typescript-eslint/camelcase
      user_name: "guofucheng",
      password: "wozhiaini"
    });
  };

  return h("host", null, h("style", null, loginBoxstyle), h("div", {
    className: "login-box-flat"
  }, h("span", null, "\u8BF7\u6253\u5F00\u624B\u673A\u5FAE\u4FE1\u626B\u63CF\u4E8C\u7EF4\u7801\u786E\u8BA4\u767B\u5F55"), h("div", null, h("img", {
    className: "wechat-img",
    src: "https://file.wintercoming.xyz/wechat-upload.png",
    alt: "wechat-upload"
  })), h("div", {
    className: "needle-items"
  }, h("div", {
    role: "presentation"
  }, h("span", {
    className: "needle-item",
    onclick: handlerLoginWeibo
  }, h("kun-icon", {
    iconType: "weibo",
    width: 16,
    height: 16
  }))))));
};

KunLoginBox.props = {
  message: {
    type: String,
    value: "kun-login-box",
    reflect: true,
    event: {
      type: "changeMessage"
    }
  }
};
var kunLoginBox = getComponentOrDefine("kun-login-box", KunLoginBox);

export default kunLoginBox;
//# sourceMappingURL=kun-login-box.js.map
