import { cI as o } from "./index2.js"; const i = [ { value: "all", label: "全部", suffix: "" }, { value: "outlined", label: "线框", suffix: "Outlined" }, { value: "filled", label: "实底", suffix: "Filled" }, { value: "twoTone", label: "双色", suffix: "TwoTone" } ], t = Object.keys(o).filter( (e) => i.some((l) => l.suffix && e.endsWith(l.suffix)) ), a = i.reduce((e, l) => (e[l.value] = l.suffix ? t.filter((s) => s.endsWith(l.suffix)) : t, e), {}), u = (e) => a[e] || t, r = (e, l) => { const s = u(e), n = String(l || "").trim().toLowerCase(); return n ? s.filter((f) => f.toLowerCase().includes(n)) : s; }, d = () => i.map((e) => ({ value: e.value, label: window.$l ? window.$l(e.label) : e.label })); export { r as f, d as g };