import { cG as u, a0 as l, P as r, V as n, fb as t } from "./684d2f28.js";
import { focusWithOptions as s, blurMethod as c, selectMethod as i, setSelectionRangeMethod as m } from "./d6402597.js";
import "react";
import "react-dom";
const f = [...u([s, c, i, m])], D = [{
  label: l("autoComplete.colorIcon"),
  value: "blue"
}, {
  label: l("autoComplete.grewIcon"),
  value: "grew"
}], k = [{
  label: l("autoComplete.selectLable"),
  value: "label"
}, {
  label: l("autoComplete.selectKey"),
  value: "value"
}], M = [{
  label: l("autoComplete.small"),
  value: "small"
}, {
  label: l("autoComplete.large"),
  value: "large"
}], y = [{
  label: l("autoComplete.antDesign"),
  value: "AntDesign"
}, {
  label: l("autoComplete.normal"),
  value: "normal"
}], I = /* @__PURE__ */ r("li", {
  children: [l("autoComplete.Introduction"), ":", /* @__PURE__ */ n("br", {}), "1. label - ", l("autoComplete.helpLabel"), /* @__PURE__ */ n("br", {}), "2. value - ", l("autoComplete.helpValue")]
}), L = [{
  value: "1-BeiJing",
  label: "北京"
}, {
  value: "2-ShangHai",
  label: "上海"
}, {
  value: "3-GuangDong",
  label: "广东"
}, {
  value: "4-ShenZhen",
  label: "深圳"
}];
function S(e) {
  return e === "" ? [] : p(e) ?? [];
}
function p(e, a) {
  return t(e, ["array", "undefined"], a, (o, b) => (t(o.value, ["string"], "value"), t(o.label, ["string"], "label"), o));
}
function x(e) {
  return t(e == null ? void 0 : e.name, ["string"], "name"), t(e == null ? void 0 : e.avatar, ["string", "undefined"], "avatar"), e;
}
function O(e) {
  if (e === "")
    return {};
  for (const a in e)
    t(e[a], ["array"], a, (o) => (t(o, ["string"]), o));
  return e;
}
export {
  L as autoCompleteDate,
  f as autoCompleteRefMethods,
  y as autoCompleteType,
  D as autocompleteIconColor,
  O as checkMentionListData,
  x as checkUserInfoData,
  M as componentSize,
  S as convertAutoCompleteData,
  I as itemsDataTooltip,
  k as valueOrLabelOption
};
