import '@das-fed/upf-ui/packages/components/step/style.css';
import { withInstall as i } from "@das-fed/upf-utils/with-install/index";
import { defineComponent as p, computed as r, openBlock as u, createBlock as d, unref as l, mergeProps as f, createSlots as m, withCtx as a, renderSlot as c } from "vue";
import { Step as _ } from "ant-design-vue";
import "ant-design-vue/es/steps/style/css";
const v = /* @__PURE__ */ p({
  __name: "stepItem",
  props: {
    status: { default: "wait" },
    description: { default: "" }
  },
  setup(e) {
    const s = e, o = r(() => s.status || ""), n = r(() => s.description || "");
    return (t, k) => (u(), d(l(_), f({
      class: ["das-ui-step", { "vertical-has-no-description": !!n.value }]
    }, t.$attrs, {
      status: o.value,
      description: n.value
    }), m({
      default: a(() => [
        c(t.$slots, "default", {}, void 0, !0)
      ]),
      _: 2
      /* DYNAMIC */
    }, [
      t.$slots.icon ? {
        name: "icon",
        fn: a(() => [
          c(t.$slots, "icon", {}, void 0, !0)
        ]),
        key: "0"
      } : void 0
    ]), 1040, ["class", "status", "description"]));
  }
}), S = (e, s) => {
  const o = e.__vccOpts || e;
  for (const [n, t] of s)
    o[n] = t;
  return o;
}, h = /* @__PURE__ */ S(v, [["__scopeId", "data-v-f103902f"]]), y = i(h);
export {
  y as DasStep,
  y as default
};
