import { defineComponent as l, computed as i, createVNode as p } from "vue";
const f = {
  type: {
    type: String,
    default: "initial"
  }
};
const r = "g";
function o(t, s, n) {
  let a = t;
  return s && (a += `__${s}`), n && (a += `--${n}`), a;
}
function m(t, s = !1) {
  const n = s ? `.${r}-${t}` : `${r}-${t}`;
  return {
    b: () => o(n),
    e: (e) => e ? o(n, e) : "",
    m: (e) => e ? o(n, "", e) : "",
    em: (e, u) => e && u ? o(n, e, u) : ""
  };
}
const $ = "G", c = /* @__PURE__ */ l({
  name: `${$}Status`,
  props: f,
  setup(t, {
    slots: s
  }) {
    const n = m("status"), a = i(() => `${n.b()} ${n.m(t.type)}`);
    return () => p("div", {
      class: a.value
    }, [p("span", null, [s.default && s.default()])]);
  }
});
c.install = function(t, s) {
  t.component(s || c.name, c);
};
const g = {
  title: "Status 状态",
  category: "通用",
  status: "100%",
  install(t) {
    t.component(c.name, c);
  }
};
export {
  c as Status,
  g as default
};
