import '@das-fed/ui/packages/components/step/style.css';
import { withInstall as n } from "@das-fed/utils/with-install/index";
import { setThemeRule as p } from "@das-fed/web/packages/theme/index";
import { defineComponent as d, computed as a, createBlock as u, openBlock as l, unref as m, mergeProps as f, createSlots as v, withCtx as i, renderSlot as c } from "vue";
import { Step as _ } from "ant-design-vue";
import "ant-design-vue/es/steps/style/css";
const h = /* @__PURE__ */ d({
  __name: "stepItem",
  props: {
    status: { default: "wait" },
    description: { default: "" }
  },
  setup(s) {
    const e = s, o = a(() => e.status || ""), r = a(() => e.description || "");
    return (t, B) => (l(), u(m(_), f({
      class: ["das-ui-step", { "vertical-has-no-description": !!r.value }]
    }, t.$attrs, {
      status: o.value,
      description: r.value
    }), v({
      default: i(() => [
        c(t.$slots, "default", {}, void 0, !0)
      ]),
      _: 2
      /* DYNAMIC */
    }, [
      t.$slots.icon ? {
        name: "icon",
        fn: i(() => [
          c(t.$slots, "icon", {}, void 0, !0)
        ]),
        key: "0"
      } : void 0
    ]), 1040, ["class", "status", "description"]));
  }
}), S = (s, e) => {
  const o = s.__vccOpts || s;
  for (const [r, t] of e)
    o[r] = t;
  return o;
}, k = /* @__PURE__ */ S(h, [["__scopeId", "data-v-3e0c6b57"]]), w = {
  "--das-ui-steps-color": "#5582F3",
  "--das-ui-steps-dashed-color": "#979797",
  "--das-ui-steps-wait-color": "#666666",
  "--das-ui-steps-finish-color": "#1BA854",
  "--das-ui-steps-error-color": "#FB2323 ",
  "--das-ui-steps-title-font-size": "12px"
};
p(w);
const F = n(k);
export {
  F as DasStep,
  F as default
};
